Commit Graph

40441 Commits

Author SHA1 Message Date
Florian Köberle 4cfb1e6952 user32/tests: Improved an error message. 2009-01-27 15:18:28 +01:00
Florian Köberle a50deff4be user32: Fix thick child minTrack and size. 2009-01-27 15:18:10 +01:00
Florian Köberle ce119daf3e user32: Fix maxPosition of thick child windows. 2009-01-27 15:18:00 +01:00
Florian Köberle dc1a7113b5 user32/tests: Use AdjustWindowRectEx to calculate minTrack and maxPosition. 2009-01-27 15:17:51 +01:00
Nikolay Sivov 5ea119a3d0 quartz: Fix NULL pointer dereference (Coverity). 2009-01-27 14:57:41 +01:00
Alexandre Julliard a79868e09d kernel32/tests: Don't hardcode C drive for SetCurrentDirectory tests.
Also handle the case where TMP and TEMP are not defined.
2009-01-27 14:55:30 +01:00
Alexandre Julliard e55a691ded user32/tests: Accept DISP_CHANGE_RESTART also for tests expected to fail. 2009-01-27 14:38:23 +01:00
Hans Leidekker 120120e37e msvcrt: Add a test for _vsnwprintf. 2009-01-27 14:27:03 +01:00
Hans Leidekker 8fec17b5ad msi: Add stub implementations of MsiSourceListClearSourceA/W. 2009-01-27 14:27:00 +01:00
Hans Leidekker 7bfa0d2c7f schannel: Add stub implementations of SslEmptyCacheA/W. 2009-01-27 14:26:58 +01:00
Michael Stefaniuc 56f5769364 localspl: Remove superfluous pointer casts. 2009-01-27 14:26:55 +01:00
Michael Stefaniuc 2c5da7de49 gphoto.ds: Remove superfluous pointer casts. 2009-01-27 14:26:53 +01:00
Michael Stefaniuc 5435320059 dmsynth: Remove superfluous pointer casts. 2009-01-27 14:26:50 +01:00
Michael Stefaniuc 921b81c772 ntprint: Remove superfluous pointer casts. 2009-01-27 14:26:48 +01:00
Michael Stefaniuc b4d65f595e hlink: Remove superfluous pointer casts. 2009-01-27 14:26:46 +01:00
Michael Stefaniuc 905ff8fdaa avifil32: Remove superfluous pointer casts. 2009-01-27 14:26:43 +01:00
Jeremy White 499603c360 twain_32: Add an initial test framework for twain_32.dll. 2009-01-27 12:04:07 +01:00
Paul Vriens b4d246ba8f quartz/tests: Fix test failures on Win95 by using A-functions. 2009-01-27 11:30:09 +01:00
Ge van Geldorp ae79b02ca6 d3d8/tests: Make tests pass on a W2K8 VM. 2009-01-27 11:30:03 +01:00
Alexandre Julliard 5e7f7db923 ntdll: Ignore spurious write faults for a write watch that has been reset already. 2009-01-27 11:22:06 +01:00
Dylan Smith 8ec60e9775 riched32: Test EM_FINDTEXT searching for end of line characters.
EM_FINDTEXT should be able to find end of line characters, but currently
it doesn't.
2009-01-27 11:21:38 +01:00
Dylan Smith 61308257f2 richedit: Removed redundant ME_FindItemAtOffset using ME_RunOfsFromCharOfs.
The two functions ME_FindItemAtOffset and ME_RunOfsFromCharOfs were almost
identically used, since ME_FindItemAtOffset was always used to find a run.
The only difference was how they returned the offset within the run for an
end of paragraph run.

For ME_FindItemAtOffset it would return the next run if it was in between \r
and \n. ME_RunOfsFromCharOfs would instead return an nOffset of 0 for end
paragraph runs.  This subtle difference introduced bugs, so I decided to
avoid having special case in this function when creating this patch, and
instead let the caller handle this case.
2009-01-27 11:21:33 +01:00
Dylan Smith 61f189cec8 richedit: Handle starting in EOL sequence in EM_GETTEXTRANGE.
EM_GETTEXTRANGE allows the start character offset and end characters
offset to be used to specify the range of text to retrieve.  If the
start offset is in the middle of an end of paragraph run (i.e. \r\n),
then it should only retrieve the characters after the specified
character offset.
2009-01-27 11:21:16 +01:00
Dylan Smith 5bf9e73dd0 riched32: Test for EM_GETTEXTRANGE from middle of end of paragraph run.
EM_GETTEXTRANGE should be able to get part of the end of paragraph run,
for instance just the line feed in a carraige return line feed pair.
2009-01-27 11:21:07 +01:00
Dylan Smith c94e78a572 richedit: Handle case for EM_LINELENGTH when offset is between \r\n.
I found that ME_FindItemAtOffset and ME_CursorFromCharOfs are used
almost identically, except for how they handle a character offset that
is between a carriage return and line feed.  In this case
ME_CursorFromCharOfs sets the cursor's run offset to 0, but
ME_FindItemAtOffset instead returns the next run which is what was
causing ME_LINELENGTH to incorrectly return the length of the next
line.
2009-01-27 11:20:59 +01:00
Dylan Smith 83ff6a5c5d riched32: Test EM_LINELENGTH between carriage return & line feed.
Previously this wasn't properly tested for, since all the lines had
text of the same length, so it wasn't properly testing to see which
line length it was getting.
2009-01-27 11:20:49 +01:00
Dylan Smith 0832737427 richedit: End of line sequence limited to 2 carriage returns.
riched32.dll does preserve the carriage returns and line feeds unlike
later versions of the richedit control, however the tests previously
missed the fact that a sequence of carriage returns followed by a line
feed (e.g. \r\r\r\n) can actually cause multiple paragraph breaks.
2009-01-27 11:20:37 +01:00
Dylan Smith 29ddbce288 riched32: Modified tests to show paragraph break inconsistency.
Several carriage returns followed by a line break were being handled as
a single paragraph break, when actually native richedit controls may
count this as several line breaks.
2009-01-27 11:20:15 +01:00
Rico Schüller c97d3d7162 d3dx9_40: Implement d3dx9_40 and forward the functions to d3dx9_36. 2009-01-27 11:10:29 +01:00
Rico Schüller d5366eed92 d3dx9_39: Fix version information. 2009-01-27 11:09:47 +01:00
Rico Schüller bb7d245137 d3dx9_38: Fix version information. 2009-01-27 11:09:41 +01:00
Marcus Meissner e1d9a793be kernel32: Initialize events correctly. 2009-01-27 11:09:24 +01:00
Marcus Meissner ea4c70a1bd shell32: Added missing fclose (Coverity). 2009-01-27 11:09:13 +01:00
Marcus Meissner 294382269d ddrawex: Use stack ctx instead of uninitialized variable. 2009-01-27 11:09:08 +01:00
Austin English 507f6710ba iphlpapi: Fix includes for NetBSD. 2009-01-27 11:08:58 +01:00
Ricardo Filipe 4efd105fb3 setupapi: Add stub for SetupDiGetClassImageList. 2009-01-27 11:08:37 +01:00
Ricardo Filipe 63a5cec8cd ntdll: Add stub for RtlCompressBuffer. 2009-01-27 11:08:33 +01:00
Juan Lang 4de59850d5 crypt32: Fix typo. 2009-01-27 11:08:16 +01:00
Juan Lang 157709d7a2 cryptui: Export all selected certificates when requested from the certificate manager, not just the first one. 2009-01-27 11:08:11 +01:00
Juan Lang 56b38801b1 cryptui: Set default export file name based on input in CryptUIWizExport. 2009-01-27 11:08:03 +01:00
Juan Lang b2fefc0ffd cryptui: Move code for enabling the PFX export format to the correct dialog proc. 2009-01-27 11:07:45 +01:00
Juan Lang 214045988f cryptui: Select export format based on input in CryptUIWizExport. 2009-01-27 11:07:38 +01:00
Juan Lang 15a8ea6a51 cryptui: Implement CryptUIWizExport for CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY. 2009-01-27 11:07:12 +01:00
Juan Lang befce84f4c crypt32: Close file when appropriate in CertSaveStore. 2009-01-27 11:06:58 +01:00
Juan Lang 6917fdd3a8 crypt32: Set save function in switch statement rather than with trinary conditional operator. 2009-01-27 11:06:44 +01:00
Juan Lang a7096f9636 cryptui: Add support for exporting a serialized store from CryptUIWizExport. 2009-01-27 11:04:30 +01:00
Juan Lang 4ae62fba22 cryptui: Add error checking to CryptUIWizExport. 2009-01-27 11:03:51 +01:00
Juan Lang 1165146188 cryptui: Default to exporting in DER format. 2009-01-27 11:03:45 +01:00
Juan Lang 53955c57fe cryptui: Always initialize export wizard's export options. 2009-01-27 11:03:39 +01:00
David Adam 5775edd805 d3dx9_39: Implement this dll and forward the functions to d3dx9_36. 2009-01-26 16:35:08 +01:00
David Adam 1c5b536d8a d3dx9_38: Implement the dll and forward the functions to d3dx9_36. 2009-01-26 16:34:41 +01:00
Aric Stewart f55151a33a rasdlg: Initial stub dll. 2009-01-26 16:27:01 +01:00
Ge van Geldorp ee3a743e6c kernel32/tests: "none" debugger test needs user interaction. 2009-01-26 16:08:30 +01:00
Marcus Meissner 76b08f3aa7 msi: Initialize row (Coverity). 2009-01-26 16:08:25 +01:00
James Hawkins 99e7287ed7 advpack: Don't test properties of a file if it can't be created. 2009-01-26 16:08:02 +01:00
James Hawkins a072f85b9f advapi32: Skip tests if the default provider cannot be removed. 2009-01-26 16:07:56 +01:00
James Hawkins 8322bd78e8 advpack: Skip tests for broken functions. 2009-01-26 16:07:48 +01:00
Ge van Geldorp 115805f12e setupapi/tests: Make tests pass on Vista and W2K8. 2009-01-26 16:07:44 +01:00
Ge van Geldorp b7ac6cb01d uxtheme/tests: Adjust error test for W2K8. 2009-01-26 16:07:40 +01:00
Ge van Geldorp f7a34db378 ole32/tests: Some Windows versions need the class to be registered. 2009-01-26 16:06:02 +01:00
Andrey Turkin b1df9d11b1 dwmapi: Add DwmEnableMMCSS stub. 2009-01-26 16:05:53 +01:00
Andrew Talbot e2fa299029 winedos: Declare some functions static. 2009-01-26 16:05:46 +01:00
Andrew Talbot 2705a96add winealsa.drv: Declare a function static. 2009-01-26 16:05:42 +01:00
Nikolay Sivov f4f5ee152d mshtml/tests: Fix interface release (Coverity). 2009-01-26 15:49:06 +01:00
Nikolay Sivov 2fbe8d23eb msi: Fix potential NULL pointer dereference in ILockBytes_Release (Coverity). 2009-01-26 15:49:01 +01:00
Nikolay Sivov 9598a50916 msi: Fix NULL dereference in MsiQueryComponentStateW (Coverity). 2009-01-26 15:48:57 +01:00
Andrew Talbot f34e733c2c setupapi: Declare a function static. 2009-01-26 15:48:51 +01:00
Andrew Talbot 247b7c5a83 secur32: Declare a function static. 2009-01-26 15:48:48 +01:00
Paul Vriens cdabde7a04 inetcomm: Wrap a few traces in debugstr_a() (Coverity). 2009-01-26 15:13:37 +01:00
Huw Davies 0806d811ed comdlg32: Set the correct error code if there is no default printer. 2009-01-26 15:13:32 +01:00
Francois Gouget 1f601015cd d3d8: Make some device_parent_*() functions static. 2009-01-26 15:13:29 +01:00
Francois Gouget 96e81f0698 ddraw: Make some device_parent_*() functions static. 2009-01-26 15:13:26 +01:00
Francois Gouget 191eeef0e4 d3d10core: Make some device_parent_*() functions static. 2009-01-26 15:13:24 +01:00
Francois Gouget 8be5798e3f quartz: Make the IMemInputPin functions static. 2009-01-26 15:13:09 +01:00
Alexandre Julliard 95cf00f30b winex11: Flush the display after releasing the capture to make sure it happens right away. 2009-01-26 15:12:55 +01:00
Alexandre Julliard 9876c5433f rpcrt4: Don't align the buffer pointer in ComplexStructMemorySize for alignment formats. 2009-01-26 15:12:07 +01:00
Alexandre Julliard 3939cb5c82 gdi32: Avoid some pointer casts. 2009-01-26 15:09:18 +01:00
Alexandre Julliard 7d657ed8f4 user32: Make sure the submenu is valid in MENU_HideSubPopups. 2009-01-26 15:09:07 +01:00
Alexandre Julliard f12c5bfca3 user32: Use a finally handler to make sure capture is always released when exiting the menu loop. 2009-01-26 15:08:49 +01:00
Alasdair Sinclair 4475045fe1 comctl32: Fix missing void in empty parameter list. 2009-01-26 15:07:30 +01:00
Alasdair Sinclair 4f0e6885d0 comctl32/tests: Fix missing void in empty parameter list. 2009-01-26 15:07:26 +01:00
Alasdair Sinclair d2915c0f99 advapi32/tests: Fix missing void in empty parameter list. 2009-01-26 15:07:22 +01:00
Andrew Nguyen cb6ddfc75b winmm: Make the return behavior of waveOutPrepareHeader consistent for 16-bit and 32-bit. 2009-01-26 15:07:07 +01:00
Henri Verbeet 7742fe283a d3d10core: Add a small test for CreateRenderTargetView(). 2009-01-26 14:57:22 +01:00
Henri Verbeet 2953d81463 d3d10core: Handle a NULL view desc in CreateRenderTargetView(). 2009-01-26 14:57:18 +01:00
Henri Verbeet 9c1abc908a d3d10core: Implement ID3D10Buffer::GetType(). 2009-01-26 14:57:13 +01:00
Henri Verbeet 04e4abf677 d3d10core: Implement ID3D10Texture2D::GetType(). 2009-01-26 14:57:08 +01:00
Henri Verbeet 1fa7fea8a0 d3d10core: Implement ID3D10Texture2D::GetDesc(). 2009-01-26 14:57:02 +01:00
Vincent Pelletier e5abaf9f97 dinput: Clamp lMagnitude to -10000..10000 range. 2009-01-26 14:52:28 +01:00
Vincent Pelletier 15a33ab209 dinput: Fix gain-related bugs. 2009-01-26 14:52:01 +01:00
Michael Stefaniuc 667a1ed5be gdi32: Remove superfluous pointer casts. 2009-01-26 14:31:13 +01:00
Michael Stefaniuc 07a7c1f822 itss: Remove some superfluous pointer casts. 2009-01-26 14:31:10 +01:00
Michael Stefaniuc 4eaaa913f8 crypt32: Remove some more superfluous pointer casts. 2009-01-26 14:31:08 +01:00
Michael Stefaniuc 6a5dda7143 msxml3: Remove superfluous pointer casts. 2009-01-26 14:31:05 +01:00
Hans Leidekker bd9c265cc2 setupapi: Implement SetupInstallFileExA/W. 2009-01-26 14:31:01 +01:00
Rob Shearman 2ec1e4a393 rpcrt4: Fix buffer overflow in UUID tests. 2009-01-26 14:30:47 +01:00
Reece Dunn 7fcc9629f8 comctl32: Don't generate a fixme message for the TBSTYLE_EX_DOUBLEBUFFER extended style. 2009-01-26 14:30:41 +01:00
Nikolay Sivov c3e2cb00d5 msi: Remove redundant pointer check (Coverity). 2009-01-26 14:30:34 +01:00
David Adam 62b8b9a8fd ddraw/tests: Add a few tests for ComputeShereVisibility. 2009-01-26 14:30:17 +01:00
Andrew Talbot 8838dcb4ce shell32: Declare some functions static. 2009-01-26 14:29:59 +01:00
Ricardo Filipe f4eb36531f ntdll: Add stub for RtlGetCompressionWorkSpaceSize. 2009-01-26 14:29:51 +01:00
Jeff Latimer c743f9d0bd user32: DdeCreateStringHandle checks for an invalid instance Id and sets lastError for instances on that thread. 2009-01-26 14:29:44 +01:00
Jeff Latimer 77e0e9cccc user32/tests: Add tests for invalid instance passed to DdeCreateStringHandle.
Similar the DdeCreateDataHandle, DdeCreateStringHandle behaves the same 
way.  If an invalid instance Id is passed then lastError is set for all 
instances of that thread.
2009-01-26 14:29:39 +01:00
Vincent Povirk 3184dc9125 gdiplus: Do not call delete_element(NULL). 2009-01-26 14:29:22 +01:00
Juan Lang 01c24c641c cryptui: Call CryptUIWizExport when asked to. 2009-01-26 14:28:20 +01:00
Juan Lang 8e5f9d57fc cryptui: Fix a typo. 2009-01-26 14:28:16 +01:00
Juan Lang 56215060dc cryptui: Implement CryptUIWizExport for the no UI case. 2009-01-26 14:28:10 +01:00
Juan Lang 40905e42ac cryptui: Use a public type rather than a private one for export options in the export wizard. 2009-01-26 14:28:04 +01:00
Juan Lang 71e944e37a cryptui: Implement saving from the export wizard. 2009-01-26 14:27:55 +01:00
Juan Lang 5d92e2d20f cryptui: Show details of export on finish page of export wizard. 2009-01-26 14:27:47 +01:00
Juan Lang 4e9cbb2807 cryptui: Implement browsing for a filename in the export wizard. 2009-01-26 14:27:38 +01:00
Juan Lang 298f7c53f8 cryptui: Validate filename in export wizard. 2009-01-26 14:27:25 +01:00
Juan Lang 8b2792d1c1 cryptui: Enable/disable checkboxes in the format page of the export wizard depending on selection. 2009-01-26 14:27:14 +01:00
Juan Lang 7f9c8fa92f cryptui: Disable the PFX export format in the export wizard unless the source has a private key. 2009-01-26 14:27:03 +01:00
Juan Lang 245e22fb94 cryptui: Remember format and format options when leaving the format page of the export wizard. 2009-01-26 14:26:27 +01:00
Juan Lang c417c9b9c2 cryptui: Skip the format page of the export wizard if the format is implied. 2009-01-26 14:26:13 +01:00
Juan Lang 0cac6977e6 cryptui: Add a do-nothing export wizard. 2009-01-26 14:26:03 +01:00
Juan Lang 787b4bcd52 cryptui: Add stub for CryptUIWizExport. 2009-01-26 14:25:10 +01:00
Paul Vriens fd3c7be0e0 user32: Allocate buffer on heap. 2009-01-26 14:24:29 +01:00
Alexandre Julliard a8a2ca72bd ws2_32/tests: Fix a test failure on WinME. 2009-01-25 17:54:49 +01:00
Alexandre Julliard 950ad4efdb userenv/tests: Don't check for TEMP and TMP variables on NT4. 2009-01-25 17:30:01 +01:00
Alexandre Julliard 7cbe285416 user32/tests: Make the traces less verbose in the window test. 2009-01-25 17:29:32 +01:00
Alexandre Julliard 4909fe493b user32/tests: Ignore some more messages. 2009-01-25 17:29:05 +01:00
Alexandre Julliard 4bec383d9f user32/tests: Fix various failures in the monitor test. 2009-01-25 17:28:39 +01:00
Alexandre Julliard cbe6e71775 gdi32/tests: Fix the mapping test to handle the more precise LOMETRIC settings on Vista. 2009-01-25 17:08:55 +01:00
Alexandre Julliard 6996a9c83f comcat/tests: Skip tests if we can't create a test category. 2009-01-25 17:08:20 +01:00
Huw Davies f63d950df7 comdlg32: Move the unicode version to the common implementation. 2009-01-23 16:48:17 +01:00
Huw Davies 8d09315b52 comdlg32: Add a placeholder for the unicode dialog struct. Update helper functions to work in the unicode case. 2009-01-23 16:48:14 +01:00
Huw Davies 69959801d6 comdlg32: Move the initialization code into a common function. 2009-01-23 16:48:11 +01:00
Rob Shearman bcca81f4f4 rpcrt4: Remove the NDR version check from NdrClientCall2 and NdrStubCall2.
It does more harm than good, since we can't get any information about
what new features are being used by the caller, if any, by bailing at
this early point.
2009-01-23 16:14:00 +01:00
Rob Shearman 05063ece28 rpcrt4: Don't declare functions that aren't exported by rpcrt4.dll in include/rpcndr.h.
NdrRangeMarshall, NdrRangeBufferSize, NdrRangeFree and
NdrByteCountPointerMemorySize should be declared static in
ndr_marshall.c instead.
2009-01-23 16:13:53 +01:00
Florian Köberle 4487f85e58 user32: Removed code without effect. 2009-01-23 15:39:44 +01:00
Florian Köberle 8784702d1f user32: Fixed max size of child with exStyle WS_EX_DGLMODALFRAME. 2009-01-23 15:39:39 +01:00
Florian Köberle aaddefff53 user32: Refactor of WINPOS_GetMinMaxInfo.
Moved and duplicated the code below the "if child" statement into the
if and else block.
2009-01-23 15:38:52 +01:00
Juan Lang 3d7118bcd1 ntdll: Implement the ThreadAffinityMask query. 2009-01-23 13:47:14 +01:00
Vincent Pelletier 5a24b42b30 dinput: Implement auto-center set & get. 2009-01-23 13:44:33 +01:00
Detlef Riekenberg 29bdfed9f8 comdlg32: Fix return type of COMDLG32_StrRetToStrNW. 2009-01-23 13:43:53 +01:00
Alistair Leslie-Hughes 0a9a1bc99c shdocvw: Add test to show IServiceProvider is supported. 2009-01-23 13:40:45 +01:00
Hans Leidekker d019c01088 mscat32: Forward CryptCATCDFEnumMembersByCDFTag to wintrust. 2009-01-23 13:40:39 +01:00
Hans Leidekker 7df0a4ecb2 rpcrt4: Move NdrGetUserMarshalInfo stub near user marshal functions. Add documentation header. 2009-01-23 13:40:36 +01:00
Hans Leidekker 0dd925b001 loadperf: Add stub implementations for InstallPerfDllA/W. 2009-01-23 13:40:32 +01:00
Huw Davies 2409e33f08 comdlg32: Add a helper to return the dialog struct. 2009-01-23 13:27:17 +01:00
Huw Davies 5084327088 comdlg32: Add a function to access the hooks. 2009-01-23 13:27:12 +01:00
Huw Davies 6ce6194f6c comdlg32: Remove ugly macro. 2009-01-23 13:27:07 +01:00
Huw Davies e2f81f1b33 comdlg32: Simplify the DEVNAMES access functions are unify the release. 2009-01-23 13:27:02 +01:00
Huw Davies 2e2a0774b4 comdlg32: Fix incorrect scaling. 2009-01-23 13:26:56 +01:00
Huw Davies 2bd53e2786 comdlg32: Add a helper to access the margin rect. 2009-01-23 13:26:43 +01:00
Huw Davies 30aa997b69 comdlg32: Add a helper function to access the PAGESETUPDLG's ptPaperSize element. 2009-01-23 13:26:36 +01:00
Huw Davies de7be5885c comdlg32: Use a helper function to retrieve pagesetup flags. 2009-01-23 13:26:30 +01:00
Michael Stefaniuc dfd821d6a9 msdmo: Remove superfluous pointer casts. 2009-01-23 13:14:18 +01:00