Commit Graph

43375 Commits

Author SHA1 Message Date
Marcus Meissner 11b25a65ac msi: Fixed error reporting of add_streams_to_table. 2008-02-16 15:15:26 +01:00
Marcus Meissner f1a688a946 dinput: Removed superflous < 0 check. 2008-02-16 15:11:12 +01:00
Marcus Meissner da77b8a0f3 dinput: Add debug output for IDirectInput8A::EnumDevicesBySemantics. 2008-02-16 15:11:00 +01:00
Marcus Meissner 9ce27fc7c1 dinput: Add a dumper for LPDIACTIONFORMAT.
Also make the DINPUT_instance static.
2008-02-16 15:10:47 +01:00
Steven Edwards 973c29716b quartz: Bump the amount of time in the referenceclock test slightly. 2008-02-16 15:10:31 +01:00
Rob Shearman f59570db68 include: Fix the C_ASSERT macro to not generate an unused variable warning when compiling with gcc.
Provide a fallback case for other compilers to avoid C_ASSERT being 
undefined and causing an error.
2008-02-16 14:58:28 +01:00
Rob Shearman 8608e895eb Add a new convenience macro for an exception handler that handles all exceptions.
When using native compiler exceptions, the previous method of doing 
this, __EXCEPT(NULL), would expand to __except( 
(NULL)(GetExceptionInformation())) which doesn't compile as NULL isn't a 
function.

So add a new macro, __EXCEPT_ALL, which works correctly both when using 
native compiler exceptions and without and which makes the meaning of 
code in which it is used clearer.
2008-02-16 14:58:24 +01:00
Rob Shearman 386427e739 user32: Fix MonitorFromRect to cope with the absence of the MONITOR_DEFAULTTONEAREST flag.
Previously, the code would return any monitor found, regardless of 
whether it intersected the given rect or was the nearest monitor. This 
is fixed by adding a new flag that causes monitor_enum to only find the 
nearest monitor if MONITOR_DEFAULTTONEAREST is specified.

Also add a trace for MonitorFromWindow, since it is called in many 
places within user32 and so can't be traced using a relay trace.
2008-02-16 14:58:14 +01:00
Rob Shearman a82f4dd9b7 Don't use GetExceptionCode and GetExceptionInformation in exception filter functions.
When using native compiler exceptions, it isn't valid to use 
GetExceptionCode and GetExceptionInformation anywhere other than in the 
filter or handler blocks since it would be very hard for the compiler to 
work out where to retrieve the exception information from on the stack.

Therefore, remove the WINE_EXCEPTION_FILTER and WINE_FINALLY_FUNC macros 
which enabled GetExceptionCode, GetExceptionInformation and 
AbnormalTermination to be used inside of the functions they declared and 
fix up all callers to access the information directly.
2008-02-16 14:57:44 +01:00
Alexandre Julliard 1d0bcb3b37 browseui: Remove WINAPI from functions that don't need it. 2008-02-16 14:05:32 +01:00
Maarten Lankhorst a33ab3484e browseui: Add undocumented Component Category Cache Daemon stub. 2008-02-16 13:58:36 +01:00
Maarten Lankhorst e07112ba5b include: Add IRunnableTask interface. 2008-02-16 13:57:46 +01:00
Austin English 3f4c41b955 README: Update some outdated information. 2008-02-16 13:55:49 +01:00
Frans Kool a23e5c5935 msvfw32: Created Dutch translations. 2008-02-16 13:55:17 +01:00
Frans Kool d810ce1991 net: Created Dutch translations. 2008-02-16 13:55:14 +01:00
Frans Kool eeb84b9a52 credui: Created Dutch translations. 2008-02-16 13:55:10 +01:00
Frans Kool 5372867e12 browseui: Created Dutch translations. 2008-02-16 13:55:07 +01:00
Frans Kool 44958d7e8f xcopy: Created Dutch translations. 2008-02-16 13:55:02 +01:00
Frans Kool 5bb43bbdf8 localui: Created Dutch translations. 2008-02-16 13:54:58 +01:00
Frans Kool 2645d89d19 winhelp: Added missing Dutch translations. 2008-02-16 13:54:54 +01:00
Frans Kool 350b8bd851 wineconsole: Added missing Dutch translations. 2008-02-16 13:54:51 +01:00
Frans Kool 5a939bc511 progman: Added missing LGPL-license in Dutch translations. 2008-02-16 13:54:47 +01:00
Frans Kool 33348f59ff mshtml: Added missing Dutch translations. 2008-02-16 13:54:43 +01:00
Rob Shearman 229e024a53 urlmon: Check the return value of ReadFile and return INET_E_DOWNLOAD_FAILURE is it fails.
Initialise *pcbRead to zero, if the parameter is not NULL.
2008-02-16 13:54:36 +01:00
Rob Shearman 2e99817a40 wininet: Fix the return value check of SHGetSpecialFolderPathW in URLCacheContainers_CreateDefaults.
It returns a BOOL, not an HRESULT.
2008-02-16 13:54:28 +01:00
Rob Shearman f8f9dbbbe7 wininet: Fix an off-by-one error in the boundary checks in HTTP_DecodeBase64. 2008-02-16 13:54:17 +01:00
Rob Shearman eb0a8692f2 urlmon: Fix the character count passed into MultiByteToWideChar in HttpProtocol_Start. 2008-02-16 13:54:11 +01:00
Rob Shearman d92fe2cbfc shell32: Fix character count passed into lstrcpnA in SHGetDataFromIDListA. 2008-02-16 13:54:05 +01:00
Rob Shearman 8aa361740e shell32: Fix the character count passed into LoadStringW in ISFHelper_fnAddFolder. 2008-02-16 13:53:22 +01:00
Rob Shearman 783b5b49a2 comctl32: Remove some more useless asserts. 2008-02-16 13:52:33 +01:00
Rob Shearman 82c41bb596 comctl32: Fix the character count passed to GetWindowTextW in TREEVIEW_Command. 2008-02-16 13:52:28 +01:00
Rob Shearman affe20164e comctl32: Remove a useless assert from TREEVIEW_GetItemIndex. 2008-02-16 13:52:24 +01:00
Rob Shearman fd291ed3d8 comctl32: Fix the character count passed into LoadStringW from propsheet functions. 2008-02-16 13:52:21 +01:00
Juan Lang b04c4aa6ff crypt32: Vista doesn't actually add duplicate usage identifiers; fix tests and change Wine to match. 2008-02-16 13:52:15 +01:00
Juan Lang b579eac22f crypt32: Allow some last errors set by Vista. 2008-02-16 13:52:04 +01:00
Juan Lang 348261e6ab crypt32: Fix a test failure on Vista, and make Wine match the newer (and saner) behavior. 2008-02-16 13:51:59 +01:00
Juan Lang 79c39e379f crypt32: Add to error message to track down NT4 failures. 2008-02-16 13:51:50 +01:00
Juan Lang 5618fdb3df crypt32: Fix test failures on NT4. 2008-02-16 13:51:44 +01:00
Juan Lang 3138f87e73 advapi32: Fix CryptVerifySignatureW test failures on Win98SE and NT4. 2008-02-16 13:51:37 +01:00
Francois Gouget 4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
Rico Schüller 59a43c4cc9 wined3d: Fix memcpy with wrong size parameter to simple assignment in GetScissorRect. 2008-02-15 12:08:54 +01:00
Alexandre Julliard 58913b439b kernel32: On Mac OS, recompose the Unicode strings we get from the OS. 2008-02-15 12:07:56 +01:00
Alexandre Julliard 86ff825f41 libwine: Add option for Unicode composition in utf-8 -> wchar conversion. 2008-02-15 12:06:58 +01:00
Alexandre Julliard dbefd038ac libwine: Abstract part of the utf8 char decoding to a separate function. 2008-02-15 12:06:42 +01:00
Andrew Talbot 70c4b66781 crypt32: Assign to structs instead of using memcpy. 2008-02-15 12:05:47 +01:00
Andrew Talbot 649d8b5298 comdlg32: Rename some identifiers to reflect their width. 2008-02-15 12:05:44 +01:00
Francois Gouget 79333bd1c0 advapi32/tests: Check that a credential type is supported before testing it. Test CRED_TYPE_DOMAIN_VISIBLE_PASSWORD credentials. Factorize the CredentialBlob checks. 2008-02-15 12:05:39 +01:00
Francois Gouget 6552f86ff9 advapi32/tests: Factorize the password constants. 2008-02-15 12:05:30 +01:00
Francois Gouget ddab29b7d1 advapi32: Add a rudimentary implementation of CredGetSessionTypes(). 2008-02-15 12:05:20 +01:00
Francois Gouget 8edfee18cc advapi32: Add some missing CRED_TYPE_XXX constants. 2008-02-15 12:05:09 +01:00