Commit Graph

40376 Commits

Author SHA1 Message Date
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