Commit Graph

41000 Commits

Author SHA1 Message Date
Paul Bryan Roberts a552587de1 ntdll: Avoid potential infinite loop. 2009-02-12 17:53:35 +01:00
Alexandre Julliard 9a4e519aeb dbghelp: Avoid size_t in a trace. 2009-02-12 17:53:35 +01:00
Francois Gouget 83d18602d8 wined3d: Add a trailing '\n' to shader_addline() calls. 2009-02-12 17:53:35 +01:00
Francois Gouget ede6196467 ntdll/tests: Remove WINAPI on static functions where not needed. 2009-02-12 17:53:35 +01:00
Francois Gouget 16644b6929 mssign32: The mssign32 debug channel is unused so remove it. 2009-02-12 17:53:35 +01:00
Francois Gouget 043cf21f23 d3dx8: The d3dx debug channel is unused so remove it. 2009-02-12 17:53:35 +01:00
Francois Gouget 3eab2ee52f shell32: Make SHILCreateFromPathA() static and remove WINAPI. 2009-02-12 17:53:34 +01:00
Huw Davies d9811e6927 gdi32/tests: Use the ANSI text metrics so the tests work on win9x. 2009-02-12 17:53:34 +01:00
Huw Davies aaefb75f8d gdi32: Add missing serif types. 2009-02-12 17:53:34 +01:00
Michael Stefaniuc 17ca7aa5a6 atl: Remove superfluous pointer casts. 2009-02-12 17:53:34 +01:00
Alistair Leslie-Hughes cfcc38a4b9 mshtml: Implement IHTMLStyle_get_paddingLeft. 2009-02-12 17:53:34 +01:00
Juan Lang 74ac0d30bd wintrust: Fix a couple tests on a variety of systems. 2009-02-12 13:00:46 +01:00
Juan Lang 22ea6bd611 wintrust: Remove a couple tests that fail on a variety of systems. 2009-02-12 13:00:42 +01:00
Juan Lang 9e07f0de08 wintrust: Don't fail if a registry value doesn't exist. 2009-02-12 13:00:37 +01:00
Juan Lang 2d2e718b2b crypt32: Fix a couple test failures on some Windows 98 systems. 2009-02-12 11:59:55 +01:00
Juan Lang b972a5d355 crypt32: Support an alternate OID in order to fix a test on some Windows 98 systems. 2009-02-12 11:59:49 +01:00
Juan Lang 1137d630a6 crypt32: Fix test failures on some Windows 98 systems. 2009-02-12 11:59:40 +01:00
Juan Lang 44ab73e289 crypt32: Fix a couple tests on some Windows 98 systems. 2009-02-12 11:59:34 +01:00
Juan Lang ab586ae903 crypt32: Remove a test that fails on some Windows 98 systems, and document it. 2009-02-12 11:59:26 +01:00
Juan Lang c82722b3dc kernel32: Add more tests for getting/setting a named pipe's state. 2009-02-12 11:59:15 +01:00
Michael Stefaniuc e1d59b94fb dsound: Arguments 3,4,5 of a CALLBACK are of type DWORD_PTR.
(LPWAVEHDR)->dwUser is also a DWORD_PTR.
2009-02-12 11:53:42 +01:00
Andrew Talbot 044e76df92 winedos: Replace malloc/calloc with HeapAlloc(). 2009-02-12 11:53:36 +01:00
Juan Lang b5d1bfe5ba crypt32: Set the info status on the last element of a chain even if its issuer can't be found. 2009-02-12 11:53:22 +01:00
Juan Lang 913affe4ef crypt32: Don't assume intermediate certificates are allowed to be CAs. 2009-02-12 11:53:18 +01:00
Juan Lang ad2ea9d9cf crypt32: Change some traces to the chain channel. 2009-02-12 11:53:10 +01:00
Juan Lang e7dd46b807 crypt32: Add chain debugging channel for debugging certificate chaining errors. 2009-02-12 11:53:01 +01:00
Juan Lang de2c6b8640 crypt32: Include more info about skipped checks in skip message. 2009-02-12 11:52:55 +01:00
Aric Stewart 101991255b wininet: Print better stubs for the internet options IE7 uses. 2009-02-12 11:52:47 +01:00
Michael Stefaniuc 7d2b787783 imm32: Make space for a 64bit pointer in the IMM window. 2009-02-12 11:52:31 +01:00
Artem Reznikov 30f9296409 wininet: Ukranian translation. 2009-02-12 11:52:24 +01:00
Huw Davies 8ab829a68a gdi32: Correct the font family values returned in the text metrics. 2009-02-11 16:14:46 +01:00
Alexandre Julliard 3c68ba1bad winmm/tests: Don't test upper bound on sound duration, it's not guaranteed.
Also avoid infinite waits.
2009-02-11 15:56:03 +01:00
Alexandre Julliard b03175e126 user32/tests: Try to fix some more failures in the message test. 2009-02-11 15:56:03 +01:00
Francois Gouget f250f4fa04 Assorted spelling fixes. 2009-02-11 15:56:02 +01:00
Francois Gouget ec6285a125 twain_32/tests: Add a trailing '\n' to an ok() call. 2009-02-11 15:56:02 +01:00
Alistair Leslie-Hughes 87ce5275bb mshtml: Do a case-insensitive compare of type. 2009-02-11 15:56:02 +01:00
Stefano Guidoni 7fb434838c msadp32: ADPCM_FormatSuggest compare source format tag with destination format tag. 2009-02-11 15:56:02 +01:00
Stefano Guidoni d6ae9f8800 msadp32: MSDN suggests "wfx.nBlockAlign * 2 / wfx.nChannels - 12" as the formula for calculating wSamplesPerBlock. 2009-02-11 15:56:02 +01:00
Stefano Guidoni 279e797cb2 msadp32: Block align size is proportional to the number of channels. 2009-02-11 15:56:02 +01:00
Stefano Guidoni c262d5b649 msadp32: ADPCM allows other sample rates other than 8000, 11025, 22050 and 44100. 2009-02-11 15:56:02 +01:00
David Adam ca469499bb d3dx9_36: Implement D3DXGetFVFVertexSize. 2009-02-11 15:56:02 +01:00
David Adam e5425fc17b d3dx9_36: Implement D3DXComputeBoundingSphere. 2009-02-11 15:56:02 +01:00
David Adam 00d14355db d3dx9_36: Implement D3DXComputeBoundingBox. 2009-02-11 15:56:02 +01:00
Alistair Leslie-Hughes 5768cbd668 mshtml: Implement IDispatch for IHTMLLocation. 2009-02-11 15:56:02 +01:00
Paul Vriens 283e7842a2 fusion/tests: Fix some typos. 2009-02-11 12:30:08 +01:00
Paul Vriens 39e3bb8dbc fusion/tests: Mark test as skipped when we don't have enough rights. 2009-02-11 12:30:05 +01:00
Michael Stefaniuc 0449701c31 ole32: Remove superfluous pointer casts. 2009-02-11 12:29:56 +01:00
Michael Stefaniuc bcd00b4362 wineesd.drv: dwParam1 and dwParam2 have the type DWORD_PTR. 2009-02-11 12:29:50 +01:00
Andrew Talbot 193b9b8914 itss: Replace malloc() with HeapAlloc(). 2009-02-11 12:29:44 +01:00
Eric Pouech c83039bd6e dbghelp: Fix bad call to free() instead of pdb_free(). 2009-02-11 12:29:37 +01:00
Juan Lang 7124467ef4 crypt32: Fix a typo. 2009-02-11 12:29:27 +01:00
Juan Lang 38c8261135 crypt32: Fix a test failure on Windows 98. 2009-02-11 12:29:22 +01:00
Juan Lang d00a85f4ad crypt32: Fix a compiler warning. 2009-02-11 12:29:18 +01:00
Juan Lang 4899509434 crypt32: Relax a test whose results are ignored on Windows anyway. 2009-02-11 12:29:12 +01:00
Stefan Dösinger e51f2a0e6e d3d9: Test table fog and exp fog in the shader fog test. 2009-02-11 12:22:00 +01:00
Stefan Dösinger 66778ed9ec wined3d: Implement EXP and EXP2 fog in GLSL. 2009-02-11 12:21:51 +01:00
Stefan Dösinger 693d9ded47 wined3d: Properly set the fog frag coord according to the FOGTABLEMODE.
This also fixes the test that an earlier patch broke, so the todo_wine can be
removed again.
2009-02-11 12:21:44 +01:00
Stefan Dösinger 8dcd51286d WineD3D: Put vertex shader duplication infrastructure in place. 2009-02-11 12:21:25 +01:00
Rob Shearman ad880ba057 ole32: Fix a test failure in the moniker tests on Win9x.
Also fix a crash in running the tests on Win95.
2009-02-11 11:42:21 +01:00
Rob Shearman 1e8ae571f5 ole32: Fix some test failures in the free threaded marshaller tests on Win9x & NT4.
These platforms only write 8 bytes into the stream so cope appropriately.
2009-02-11 11:42:17 +01:00
Jacek Caban 08e4846fca wininet: Don't send INTERNET_STATUS_REQUEST_COMPLETE notification from FTP_Connect. 2009-02-11 11:42:13 +01:00
Jacek Caban 19b01f2fca wininet: Make sure that we have some data buffered before sending INTERNET_STATUS_REQUEST_COMPLETE notification. 2009-02-11 11:42:08 +01:00
Jacek Caban f8e6fbffc5 wininet: Added QueryDataAvailable implementation for FTP files. 2009-02-11 11:42:00 +01:00
Jacek Caban 9b65e5744f wininet: Fixed handling empty string password. 2009-02-11 11:41:32 +01:00
Jacek Caban a83a817ad0 wininet: Move FtpOpenFile[AW] implementation to avoid forward declaration. 2009-02-11 11:41:28 +01:00
Christian Costa 3e6d9558b8 d3dxof: Add support for DXFILELOAD_FROMRESOURCE source. 2009-02-10 14:41:57 +01:00
Christian Costa 279e49030a d3dxof: Cleanup IDirectXFileImpl_CreateEnumObject a bit. 2009-02-10 14:41:48 +01:00
Christian Costa db30aa149e d3dxof: Make is_keyword handle end of file correctly. 2009-02-10 14:41:40 +01:00
Dylan Smith ecb6c2169c richedit: Store paragraph in cursors.
This prevents some needless searching for the start of the paragraph
from a run stored in a cursor.  Usually a pointer to the paragraph is
already available when the cursor is set anyway.
2009-02-10 12:59:09 +01:00
Jeremy White 2033312b43 sane.ds: Add a log message to flag unsupported operations. 2009-02-10 12:56:41 +01:00
Jeremy White c00d81ab14 sane.ds: Remove a duplicate assignment. 2009-02-10 12:56:35 +01:00
Jeremy White 3f0645c79d sane.ds: Indicate that we used a modal dialog. 2009-02-10 12:56:29 +01:00
Jeremy White 0cab16c647 sane.ds: Revise the logic around processing events to reflect the need for us to generate and post a message to drive Sane events. 2009-02-10 12:56:22 +01:00
Jeremy White b0ec8880e2 sane.ds: Add stub support for ICAP_COMPRESSION. 2009-02-10 12:55:56 +01:00
Jeremy White e02528e629 twain_32: Prevent an incorrect test warning message on get checks. 2009-02-10 12:55:16 +01:00
Jeremy White 2fdd05cffc twain_32: Change get requirements such that we require only a minimum level of support. 2009-02-10 12:55:05 +01:00
Jeremy White 6320266e58 sane.ds: Add support for CAP_UICONTROLLABLE. 2009-02-10 12:53:47 +01:00
Jeremy White 272c1881dd sane.ds: Add partial stub support for ICAP_PIXELTYPE, with tests. Fixes a first crash in Adobe Acrobat scanning support. 2009-02-10 12:53:34 +01:00
Jeremy White 22bab0aa3d sane.ds: Return a 0 for MSG_QUERYSUPPORT even for capabilities we don't support. 2009-02-10 12:53:14 +01:00
Jeremy White 8dee7519c6 sane.ds: Eliminate incorrect TWRC_FAILURE return. 2009-02-10 12:53:00 +01:00
Jeremy White 333ef6a098 sane.ds: More correctly stub CAP_XFERCOUNT, and tests. 2009-02-10 12:52:53 +01:00
Jeremy White 25d5953cd8 sane.ds: Rearrange function position to avoid the need for forward function declarations. 2009-02-10 12:52:25 +01:00
Jeremy White c739edf6aa sane.ds: Simplify SANE_SaneCapability. 2009-02-10 12:52:02 +01:00
Michael Stefaniuc 2486357f34 wineesd.drv: Remove superfluous pointer casts. 2009-02-10 12:34:53 +01:00
Michael Stefaniuc caa604b563 msvfw32: Remove some Win64 compiler warnings.
- Use HandleToLong to get to the user handle.
- Use GetWindowLongPtr to retrieve a pointer.
2009-02-10 12:34:08 +01:00
Michael Stefaniuc a90828aa60 ole32: Use GetWindowLongPtr/SetWindowLongPtr for pointers. 2009-02-10 12:33:00 +01:00
Michael Stefaniuc d360588a82 winenas.drv: dwParam1 and dwParam2 cwhave the type DWORD_PTR. 2009-02-10 12:32:40 +01:00
Paul Vriens 2524523ea4 fusion/tests: Mark some tests as broken() on .NET 1.0. 2009-02-10 12:31:57 +01:00
Vincent Pelletier f879176b99 ddraw: Use ddraw_from_d3d7 to make a (IDirectDrawImpl *) from a (IDirect3D7 *). 2009-02-10 12:31:50 +01:00
Juan Lang 95b8f49dfd crypt32: Fix some tests on Windows 98. 2009-02-10 12:31:41 +01:00
Juan Lang 7cc615e631 crypt32: Fix a few more test failures on older versions of Windows. 2009-02-10 12:31:35 +01:00
Nikolay Sivov 8cb170126a gdiplus: Handle zero width/height in GdipAddPathPie. 2009-02-10 12:31:29 +01:00
Jacek Caban 2e29c7d516 activscp.idl: Added IActiveScriptParseProcedure*64 interfaces and use it on Win64. 2009-02-10 12:31:25 +01:00
Nikolay Sivov 8496db4976 gdiplus: Some tests for LinearGradientBrush. 2009-02-09 17:17:09 +01:00
Alistair Leslie-Hughes 17db41c349 msxml3: Use our parent doc if we don't have one. 2009-02-09 17:17:09 +01:00
Vincent Pelletier e0aee93dc6 msadp32.acm: Make destination aligned on destination block size (copy/paste error). 2009-02-09 17:17:09 +01:00
Andrew Talbot 7754f2e78b gphoto2.ds: Replace malloc() with HeapAlloc(). 2009-02-09 17:17:09 +01:00
Ricardo Filipe d904d1359a include: Fix commdlg hook procedures return type. 2009-02-09 17:17:09 +01:00
Detlef Riekenberg c861e03866 spoolss: Implement EnumMonitors. 2009-02-09 14:49:15 +01:00
Detlef Riekenberg 857e942992 winspool: Move EnumPortsW to the backend. 2009-02-09 14:49:00 +01:00
Detlef Riekenberg 51f078bd4a localspl: Move provider functions to a seperate file. 2009-02-09 14:48:53 +01:00
Paul Vriens f803e9d316 fusion/tests: Skip tests on .NET 1.1. 2009-02-09 14:37:23 +01:00
Francois Gouget 54b2984de2 shell32: Make ILGetDisplayNameExA() static, remove WINAPI and fix its documentation. 2009-02-09 14:37:23 +01:00
Michael Stefaniuc a3f8fd71e1 oleaut32: Remove superfluous pointer casts. 2009-02-09 14:37:23 +01:00
Florian Tobias Schandinat 15d07b5c9a winedos: Adjust get_timer_val calls to prevent buffer overflow. 2009-02-09 14:37:23 +01:00
Alexandre Julliard a5162b62e7 user32/tests: Fix some window test failures on various Windows platforms. 2009-02-09 14:37:23 +01:00
Alexandre Julliard 0f3445d6db dbghelp: Fix handling of empty file regexp (Coverity). 2009-02-09 14:37:22 +01:00
Marcus Meissner 398b5cfef6 advapi32: LookupAccountNameW removed redundant NULL check (Coverity). 2009-02-09 14:37:22 +01:00
Rob Shearman b859d2052b ole32: Allow some optional methods to be called in the OleCreate tests.
Fixes failures in these tests on NT4.
2009-02-09 14:03:09 +01:00
Rob Shearman d26250fd08 ole32: Add framework in the ole2 tests for having optionally called methods. 2009-02-09 14:03:03 +01:00
Rob Shearman db851a1d2a ole32: Output the size that we didn't expect in the HGLOBAL marshalling tests. 2009-02-09 14:02:29 +01:00
Rob Shearman f2b17029aa ole32: Fix some test failures in the HGLOBAL marshalling tests on 64-bit Windows. 2009-02-09 13:58:07 +01:00
Rob Shearman 2eca96af67 ole32: Fix CLIPFORMAT marshalling on 64-bit platforms by not using the wireCLIPFORMAT type.
The wireCLIPFORMAT represents the memory equivalent format of the wire
format and not the wire format itself.

Also update the tests to do the same.
2009-02-09 13:58:04 +01:00
Vitaliy Margolen c80fdb881a comctl32: Use style to distinguish between embedded and standalone propsheets.
Some programs alter propsheet style in the callback during creation to make
"embedded" propsheets. PSH_MODELESS controls modal/modeless operation only.
2009-02-09 13:21:34 +01:00
Andrew Talbot edca49f6aa riched20: Remove unused functions. 2009-02-09 13:21:21 +01:00
Francois Gouget 53f9b31afd user32: LookupIconIdFromDirectory16() is unused so remove it. 2009-02-09 13:16:19 +01:00
Francois Gouget 55dccf2859 uxtheme: UXINI_ResetINI() is unused so remove it. 2009-02-09 13:16:10 +01:00
Francois Gouget eda0ec3fd2 d3dx9_36: The d3dx debug channel is unused so remove it. 2009-02-09 13:16:06 +01:00
Francois Gouget 0ecc22be61 shell32: HCR_GetDefaultIconFromGUIDW() is unused so remove it. 2009-02-09 13:15:11 +01:00
Francois Gouget fc93ff351e shell32: Get rid of TRASH_ELEMENT and TRASH_DisposeElement().
The latter was unused while the former did not seem very useful.
2009-02-09 13:15:04 +01:00
Francois Gouget 59c00d5568 shell32: Remove some unused functions in clipboard.c. 2009-02-09 13:14:41 +01:00
Francois Gouget a8187db2fb winealsa.drv: ALSA_PeekRingMessage() is not used anymore so remove it. 2009-02-09 13:14:34 +01:00
Francois Gouget 4617d7753d urlmon: Make create_http_protocol() static. 2009-02-09 13:14:16 +01:00
Francois Gouget 07b7da77d4 user32: Make EditWndProcW() static, fix its documentation. 2009-02-09 13:14:03 +01:00
Francois Gouget 9e7b55675d user32: Reorder some functions to avoid forward declarations in edit.c. 2009-02-09 13:13:55 +01:00
Francois Gouget 0e9695d9c8 user32: Remove unneeded forward declarations in edit.c. 2009-02-09 13:13:42 +01:00
Dylan Smith c8b4455565 richedit: Removed ME_StrRelPos, ME_StrRelPos2, & ME_PosToVPos functions.
These functions were just being used for addition, so it was simpler to
remove the functions and modify the places it was used.

The ME_StrRelPos2 and ME_PosToVPos were just simple wrappers around
ME_StrRelPos, and ME_PosToVPos wasn't being used.
2009-02-09 13:05:13 +01:00
Dylan Smith 1eb0f73ab0 richedit: Got rid of ME_GetCharFwd and ME_GetCharBack.
These two functions were being used for simple operations, to get the
first or last character when pre-computing flags for splitting runs.

The call to ME_GetCharBack wasn't even giving the correct result, it
would always return -1 since it is being called with nPos of 0.

This patch simplifies the code by removing the functions and getting the
characters directly from the string.
2009-02-09 13:05:13 +01:00
Dylan Smith 5f15de0690 richedit: Removed ME_StrLen and ME_StrVLen field access functions.
These functions were probably previously needed because of some wierd
special handling of backspace characters, but currently there is no
reason why the nLen field can't be accessed directly.

Having to functions that just access the string length field just causes
slightly more effort for someone to look at the code, because they need
to enter the function to find out what it actually is doing.
2009-02-09 13:05:13 +01:00
Dylan Smith f148d82093 richedit: Got rid of useless function ME_VPosToPos.
The function was just returning the second parameter.  It had some
commented out code that indicated that previously backslashes weren't
included in the length.  Native wordpad doesn't handle backspaces in a
special way, so this must have been an internal representation that
complicated finding the position of characters.
2009-02-09 13:05:12 +01:00
Dylan Smith d306b6b5e9 richedit: Removed some conditions that are always taken.
ME_GetCursorCoordinates had two conditions that were always taken.  The
first condition was if(pCursor->pRun->type == diRun) was following an
assertion making the exact same check.  The next one, if(row), should
always be taken, otherwise the richedit controls are in a corrupt state,
therefore an assertion is more appropriate.
2009-02-09 13:05:12 +01:00
Dylan Smith 4b7e8f185b richedit: Avoid duplication in make string functions using ME_MakeStringB.
I found that ME_MakeStringB was previously unused, and that the other
ME_MakeString functions repeated code that was already in ME_MakeStringB.
Making ME_MakeStringB static and using it to avoid duplicate code seemed
like a better idea than removing the function.
2009-02-09 13:05:12 +01:00
Dylan Smith f53f40bcb3 richedit: Prevent string trunction due to NULL characters. 2009-02-09 13:05:12 +01:00
Dylan Smith 1ceb903f9d richedit: Simplified ME_UpdateSelectionLinkAttribute. 2009-02-09 13:05:12 +01:00
Dylan Smith 71d797c55c richedit: Directly get start and end of text on Ctrl-Home or Ctrl-End.
Previously it found the start or end by traversing the linked lists of
run, rows, paragraphs, and cells from the current position of the
cursors.  Clearly it is better to get the start or end directly to make
it a constant time operation.
2009-02-09 13:05:12 +01:00
Dylan Smith c2c2c1117e richedit: Wrap even when message says not to repaint.
Wrapping is needed to be done even when repainting isn't done since
later messages expect line breaks to reflect the current text.  Some
message can specify not to paint the sceen, but this should prevent
wrapping from being done.
2009-02-09 13:05:12 +01:00
Alexandre Julliard 6ae7b1f3e0 include: Moved VWIN32 ioctl definitions out of winioctl.h. 2009-02-09 13:05:12 +01:00
Alexandre Julliard 72fdb74326 setupapi: Don't use 'interface' as variable name, since it can be defined to a keyword. 2009-02-09 13:04:55 +01:00
Alexandre Julliard 0a81b7887f jscript: Rename the GetObjectW variable to avoid conflict with the function of the same name. 2009-02-09 13:03:59 +01:00
Alexandre Julliard 7682bc6f88 rsaenh: Rename the HANDLETABLE structure to avoid conflicts with wingdi.h. 2009-02-09 13:03:35 +01:00
Alexandre Julliard 8bb21b710e include: Undefine a few Unicode macros that conflict with interface functions. 2009-02-09 13:03:09 +01:00
Andrew Talbot e3c5225353 qcap: Remove an unused function. 2009-02-09 12:22:52 +01:00
Andrew Talbot 9a079a64e6 cabinet: Declare a function static. 2009-02-09 12:22:49 +01:00
Juan Lang 76f4b9b053 rpcrt4: Don't abort reading from a pipe if a single read is short. 2009-02-09 12:09:01 +01:00
Juan Lang c7d65aa7e1 cryptui: Delete the private keys if requested when they're successfully exported. 2009-02-09 12:08:39 +01:00
Juan Lang ccc2be7470 cryptui: Save private key in temporary store when exporting it. 2009-02-09 12:08:34 +01:00
Juan Lang af87814ac6 cryptui: Ensure a certificate's private key is exportable before allowing it to be selected for export. 2009-02-09 12:08:27 +01:00
Juan Lang fd3cd61b5d cryptui: Correct return value of the user cancels the export wizard. 2009-02-09 12:08:20 +01:00
Juan Lang 0d961d9ce3 cryptui: Implement exporting to a PFX file. 2009-02-09 12:08:15 +01:00
Juan Lang 8cb9702265 cryptui: Skip password page when moving backward through the export wizard if it wasn't shown in the first place. 2009-02-09 12:08:09 +01:00