Commit Graph

54715 Commits

Author SHA1 Message Date
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 746948551a services: Add stub implementation for SERVICE_CONFIG_FAILURE_ACTIONS in ChangeServiceConfig2W. 2009-01-27 11:27:45 +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
Austin English 53d3c46bf9 configure: Fix <netinet/tcp_var.h> detection on OpenBSD. 2009-01-27 11:20:02 +01:00
Austin English bb3f25848f configure: Fix <netinet/in_pcb.h> detection on OpenBSD. 2009-01-27 11:19:07 +01:00
Austin English f49a8a6242 tools/wine.inf: Add a placeholder for stdole2.tlb. 2009-01-27 11:18:38 +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 072b606588 include: Add missing type to union. 2009-01-27 11:04:14 +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