Commit Graph

30756 Commits

Author SHA1 Message Date
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
Frans Kool a23e5c5935 msvfw32: Created Dutch translations. 2008-02-16 13:55:17 +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 5bb43bbdf8 localui: Created Dutch translations. 2008-02-16 13:54:58 +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
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
Mikołaj Zalewski cd7e1417b1 browseui: Implement PROGDLG_NOMINIMIZE. 2008-02-15 12:04:56 +01:00
Mikołaj Zalewski a17e222d02 browseui: aclmulti: Follow the Windows Vista behavious in Expand. 2008-02-15 12:04:50 +01:00
Mikołaj Zalewski c9492a5bf4 browseui/tests: make the ACLMulti test pass under Windows Vista. 2008-02-15 12:04:43 +01:00
Royal Chan c86f2c29ff gdiplus: draw_polyline never sets status from GenericError to Ok on successful calls. 2008-02-15 11:39:35 +01:00
Reece H. Dunn d9c2a91f8b user32: Improve the combo tests to check when the CBN_SELCHANGE notification is sent. 2008-02-15 11:35:09 +01:00
Andrew Talbot 43ed6eae5a d3d9: Assign to struct instead of using memcpy. 2008-02-15 11:09:37 +01:00
Andrew Talbot 6733c6bad0 dbghelp: Assign to struct instead of using memcpy. 2008-02-15 11:09:34 +01:00
Frans Kool cef389c106 shdoclc: Added missing Dutch translations. 2008-02-15 11:09:29 +01:00
Frans Kool 52435e1c0d oledlg: Added missing Dutch translations. 2008-02-15 11:09:25 +01:00
Frans Kool 50991ed1c3 mpr: Added Dutch translations. 2008-02-15 11:08:38 +01:00
Paul Vriens 4c105b2f5c msi/tests: Services are not available on win9x. 2008-02-15 11:07:19 +01:00
Rob Shearman d9891887c7 crypt32: Fix function declaration - WINAPI should come after the return type. 2008-02-15 11:06:15 +01:00
Rob Shearman 4510346b4f shell32: Memory allocated by CommandLineToArgvW should be that got from LocalAlloc/LocalReAlloc, not from GlobalAlloc.
Use LMEM_FIXED instead of 0 in calls to LocalAlloc to emphasise that 
we're getting a direct pointer, not a handle to memory.

Remove hargv as it is confusing and unnecessary.
2008-02-15 11:04:47 +01:00
Rob Shearman 3d55b590b5 user32: Fix incorrect character count passed to GetWindowTextW in ICONTITLE_Paint. 2008-02-15 11:04:28 +01:00
Rob Shearman 151cc8bd05 shlwapi: IID_IInternetSecurityMgrSite is now defined so remove the local definition from IUnknown_GetWindow. 2008-02-15 11:04:18 +01:00
Rob Shearman 96fafe1661 ole32: Fix the character count passed to GetClipboardFormatNameW in WriteFmtUserTypeStg. 2008-02-15 11:04:09 +01:00
Rob Shearman cedf6308aa hhctrl.ocx: Fix the character count passed to GetFullPathNameW in OpenCHM and NavigateToChm. 2008-02-15 11:04:04 +01:00
Rob Shearman 9ca4680fce msrle32: Fix the character count passed into LoadStringW in About. 2008-02-15 11:03:56 +01:00
Rob Shearman 806dc4249c dxdiagn: Fix the character count passed to snprintfW in DXDiag_AddFileDescContainer and DXDiag_InitDXDiagDisplayContainer. 2008-02-15 11:03:52 +01:00
Rob Shearman f48941a2a8 dbghelp: Fix a typo in SymLoadModuleExW that caused the wrong number of characters to be passed to lstrcpynW. 2008-02-15 11:03:42 +01:00
Rob Shearman 7579145ae1 advapi32: The lpcbSecurityDescriptor parameter to RegGetKeySecurity isn't optional, so don't complicate the code by treating as though it is. 2008-02-15 11:03:31 +01:00
Huw Davies cc0a458f92 inetcomm: Add IStream_CopyTo to the sub-stream implementation. 2008-02-15 11:03:22 +01:00
Huw Davies 5f8c766528 inetcomm: Improve some TRACEs. 2008-02-15 11:03:20 +01:00
Paul Vriens dd8fe5a973 netapi32/tests: Adding a user with a too long name succeeds on NT4. 2008-02-15 11:03:17 +01:00
Alexandre Julliard ab820ef24c shell32: Add support for the NoDrives registry key. 2008-02-15 10:58:14 +01:00
Dmitry Timoshkov 3d421a4783 user32: Use custom window procs instead of DefWindowProcA/W in the IsWindowUnicode test. 2008-02-15 10:13:27 +01:00
Vitaliy Margolen 971c4e19d6 dinput: Don't use event times, report current tick count instead. 2008-02-15 10:12:51 +01:00
Vitaliy Margolen eca356829c Revert "dinput: Skip old mouse movement events.".
This reverts commit 3187669512.
2008-02-15 10:12:45 +01:00
Jacek Caban f979134270 wininet: Code clean up. 2008-02-15 10:00:12 +01:00
Jacek Caban e49e792849 wininet: Added cache test. 2008-02-15 10:00:10 +01:00
Jacek Caban 6ce88e0aab wininet: Added correct InternetQueryOption(INTERNET_OPTION_DATAFILE_NAME) implementation. 2008-02-15 10:00:06 +01:00
Jacek Caban d7a49e8147 wininet: Added beginning support for HTTP cache files. 2008-02-15 10:00:03 +01:00
Rob Shearman e35bd05082 msi: Add stub implementation of MsiIsProductElevatedA/W. 2008-02-15 09:59:59 +01:00
Rob Shearman 0d9e09d8bf ntdll: Add an exception handler around calls to module entry points.
Change the return value from BOOL to NTSTATUS so that we can return the 
exception code to the caller.
2008-02-15 09:59:55 +01:00
Francois Gouget 148061814c kernel32/tests: Fix the time tests when 'Automatically adjust clock for daylight saving changes' has been unset. 2008-02-15 09:56:12 +01:00
Francois Gouget c68745c51b UTF-8 resource files must explicitly say so with a pragma. 2008-02-15 09:55:58 +01:00
Mikołaj Zalewski 1cc8fc5ede browseui: Add Polish translation. 2008-02-15 09:55:21 +01:00
Mikołaj Zalewski 7c2a3cb9dc credui: Update Polish translation. 2008-02-15 09:55:17 +01:00
Paul Vriens e2de4b18e5 advapi32/tests: CryptVerifySignatureW is not implemented on win98. 2008-02-15 09:54:23 +01:00
Paul Vriens ad711256a4 shell32/tests: GetLongPathNameA is not implemented on win95. 2008-02-15 09:53:29 +01:00
Rob Shearman 1ce8ca4d8d mshtml: Fix a typo in nsiface.idl. 2008-02-15 09:53:23 +01:00
Rob Shearman 610c213f6d rpcrt4: Add some traces to async_notifier_proc.
Make the test of the return value of wait_for_incoming_data less strict.
2008-02-15 09:53:16 +01:00
Rob Shearman 89a2eab3f4 avifil32: Pass the number of characters to LoadStringW, not the number of bytes. 2008-02-15 09:53:07 +01:00
Rob Shearman 94fe669387 mshtml: Add a dummy member to nsMargin as empty structs aren't valid in C89. 2008-02-15 09:52:57 +01:00
Rob Shearman 9b11494db7 mshtml: All interfaces in nsiface.idl are local.
Since there is no in or out, or other information necessary for
remoting, all of the interfaces can only used locally, so declare them
all as local.
2008-02-15 09:52:48 +01:00
Rob Shearman 4539f4f25b mshtml: Remove extra semi-colons after cpp_quote in nsiface.idl. 2008-02-15 09:52:43 +01:00
Stefan Dösinger 9950cb4bf5 wined3d: Switch the visual tests back to D3DDEVTYPE_HAL. 2008-02-15 09:40:12 +01:00
Stefan Dösinger 81de2fa10a wined3d: Add a test for the vFace register. 2008-02-15 09:40:03 +01:00
Aric Stewart 1a328d9126 version: Check for 16-bit file format before returning ERROR_RESOURCE_DATA_NOT_FOUND. 2008-02-13 17:25:46 +01:00
Rob Shearman 461ce6e4a2 ole32: Fix potential NULL dereference of qiresults in ClientIdentity_QueryMultipleInterfaces.
This could happen if proxy_manager_get_remunknown returns S_FALSE, so 
fix the check of the return code to match that below.
2008-02-13 16:42:42 +01:00
Rob Shearman bfa6ddaeb7 ole32: Fix a potentially confusing combination of conditional and bitwise or operators by adding extra brackets. 2008-02-13 16:42:36 +01:00
Rob Shearman a10cf16449 ole32: Remove an assert that is useless and triggers warnings elsewhere in static analysis tools. 2008-02-13 16:42:30 +01:00
Rob Shearman e0d25c6394 ole32: Fix local-variable shadowing in apartment_hostobject_thread. 2008-02-13 16:42:23 +01:00
Rob Shearman 14f7a59270 ole32: Fix reference count leak in BindMoniker. 2008-02-13 16:42:18 +01:00
Paul Vriens fc82d8c221 kernel32/tests: ReplaceFile[AW] doesn't exist on win9x. 2008-02-13 16:41:54 +01:00
Andrew Talbot 8fb1f0d089 comdlg32: Assign to structs instead of using memcpy. 2008-02-13 16:41:37 +01:00
James Hawkins 050fa6a40c msi: Add tests for source folder resolution. 2008-02-13 16:41:14 +01:00
Michael Stefaniuc 3db6eeeda9 gdi32: Move two 16bit function stubs to gdi16.c. 2008-02-13 16:41:03 +01:00
Huw Davies e03f478aee inetcomm: Implement IMimeMessage_GetMessageSource. 2008-02-13 16:40:34 +01:00
Huw Davies b21b9c7372 inetcomm: Stub for MimeOleGetCharsetInfo. 2008-02-13 16:40:27 +01:00
Huw Davies 43958866a3 inetcomm: Stub IMime{Message, Body}_GetCharset to return a NULL charset. 2008-02-13 16:40:17 +01:00
Huw Davies 3f92c5b734 inetcomm: Implement IMimeBody_GetProp for the primary context type. 2008-02-13 16:40:07 +01:00
Huw Davies 02ceeef288 inetcomm: Implement IMimeMessage_GetAttachments. 2008-02-13 16:37:57 +01:00
Huw Davies 869b10b430 inetcomm: Implement IMimeMessage_GetTextBody. 2008-02-13 16:37:47 +01:00
Huw Davies a9287e3595 inetcomm: Forward a few IMimeMessage functions to the appropriate IMimeBody functions. 2008-02-13 16:37:32 +01:00
Huw Davies d56033eedf inetcomm: Implement IMimeMessage_Find{First,Next}. 2008-02-13 16:37:22 +01:00
Huw Davies 8be6df3434 inetcomm: Implement IMimeMessage_CountBodies. 2008-02-13 16:37:08 +01:00
Huw Davies e15ff2ef86 inetcomm: Implement IMimeMessage_GetBody. 2008-02-13 16:36:57 +01:00