Commit Graph

44220 Commits

Author SHA1 Message Date
Rob Shearman fee165ae47 wininet: The URL in CommitUrlCacheEntryInternal shouldn't be restricted to MAX_PATH chars in length.
Dynamically allocate it and consolidate cleanup at the end of the function.
2008-03-12 17:58:31 +01:00
Rob Shearman cdd135c2f3 wininet: Fix URLCache_LocalFileNameToPathA to return a full path, rather than just the container path.
This was caused by path_len including the nul-terminator and so the rest 
of the string was being added after the nul-terminator, which is 
incorrect. This is fixed by making path_len not include the nul-terminator.

Also fix a few other issues with the function, like not passing a 
correct length into the second call to WideCharToMultiByte, nRequired 
being calculated incorrectly and the string not always being nul-terminated.

Add a test for this function by testing the lpszLocalFileName field 
obtained from RetrieveUrlCacheEntryFileA.
2008-03-12 17:58:20 +01:00
Rob Shearman c46279ced7 wininet: Make some pointers const in URL cache functions. 2008-03-12 17:58:10 +01:00
Rob Shearman f1af593988 wininet: Use LIST_FOR_EACH_ENTRY in URLCacheContainers_FindContainerW instead of LIST_FOR_EACH and LIST_ENTRY. 2008-03-12 17:58:03 +01:00
Rob Shearman 4041c2015b wininet: Add tests for Find{First,Next}UrlCacheEntryA functions. 2008-03-12 17:57:56 +01:00
Rob Shearman 160bc04343 wininet: Move URL cache hash entry validation to a separate function. 2008-03-12 17:57:30 +01:00
Rob Shearman 7fde7aef78 wininet: Implement FindFirstUrlCacheEntry{A, W}, FindNextUrlCacheEntryA and FindCloseUrlCache. 2008-03-12 17:57:25 +01:00
Rob Shearman 99e7f7ab6e wininet: Add tests for some URL cache functions. 2008-03-12 17:55:41 +01:00
Rob Shearman ebaa4d987d wininet: Only clear authentication header if the connection has authentication information. 2008-03-12 17:55:21 +01:00
Rob Shearman b8ad4dee86 wininet: Fix proxy authentication by using the data in lpwhr->pProxyAuthInfo in HTTP_InsertAuthorization instead of lpwhr->pAuthInfo when inserting the Proxy-Authentication header. 2008-03-12 17:55:12 +01:00
Alexandre Julliard cf76c7d65c winex11: Check if _NET_WM_MOVERESIZE is supported before using it. 2008-03-12 17:31:04 +01:00
Alexandre Julliard dc26f27835 winex11: Moved support for window moving/resizing back to user32. 2008-03-12 15:01:24 +01:00
Alexandre Julliard b9dee8efa7 user32: Add a SetCapture function to the driver interface. 2008-03-12 14:55:28 +01:00
Alexandre Julliard 4e129f88d0 user32: Add a helper function to set the capture window. 2008-03-12 14:54:03 +01:00
Huw Davies f6603d9fcb comctl32: Always send WM_CTLCOLORSTATIC during WM_ERASEBKGND. 2008-03-12 12:43:10 +01:00
Alistair Leslie-Hughes 6167c6122a msxml3: Allow IXMLDOMDocument to save as another IXMLDOMDocument. 2008-03-12 12:25:19 +01:00
Alistair Leslie-Hughes a1cce9288b msxml3: Register msxml3 typelib. 2008-03-12 12:24:51 +01:00
Louis Lenders 99e1e90f0f oleacc: Add GetOleaccVersionInfo. 2008-03-12 12:20:55 +01:00
Lei Zhang b8cbd8bd87 shell32: Use xdg well known directories for desktop folder symbolic link. 2008-03-12 12:20:01 +01:00
Lei Zhang 78f5db2b51 shell32: Use xdg well known directories for my_xxx folder symbolic links. 2008-03-12 12:19:21 +01:00
Lei Zhang f5ba1c21be shell32: Add xdg-user-dirs lookup code. 2008-03-12 12:18:31 +01:00
Paul Vriens 371afffd35 kernel32/tests: Add a few skips instead of just returning. 2008-03-12 12:02:04 +01:00
Paul Vriens a558bfad99 kernel32/tests: DATE_YEARMONTH is only present on W2K and later. 2008-03-12 12:02:00 +01:00
Paul Vriens b0f7dcdf88 kernel32/tests: Skip some tests on win95. 2008-03-12 12:01:48 +01:00
Ken Thomases c885d05378 coreaudio: Signal driver load failure if any component fails to initialize. 2008-03-12 12:01:40 +01:00
Ken Thomases fa2d39e45f coreaudio: Standardize on DRV_SUCCESS/FAILURE status codes for setup functions. 2008-03-12 12:01:31 +01:00
Ken Thomases 2de653552c dsound: Adjust for partial block before prepare-header and add-buffer steps.
Otherwise, the wave-in driver(s) may copy incorrect data to internal structures.
2008-03-12 12:01:14 +01:00
Ken Thomases 0bb1eb72b8 avifil32: Fix copy/paste error. 2008-03-12 12:00:35 +01:00
James Hawkins de4cab20a8 msi: Deformat the service name and display name when installing the service. 2008-03-12 12:00:23 +01:00
Lei Zhang 7f5c97693e comctl32: Fix TB_GETSTRING return values. 2008-03-12 12:00:14 +01:00
Lei Zhang 375f60b07a comctl32: Add tests for TB_GETSTRING, fix NULL pointer access. 2008-03-12 12:00:08 +01:00
Jacek Caban 7e63f95326 wininet: Move InternetQueryOption(INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT) to vtbl. 2008-03-12 12:00:00 +01:00
Jacek Caban ce6a2289c6 wininet: Move InternetQueryOption(INTERNET_OPTION_DATAFILE_NAME). 2008-03-12 11:59:54 +01:00
Jacek Caban 0e010d83a1 wininet: Move InternetQueryOption(INTERNET_OPTION_URL) to vtbl. 2008-03-12 11:59:47 +01:00
Jacek Caban e2933c20d6 wininet: Move INTERNET_OPTION_HANDLE_TYPE to vtbl. 2008-03-12 11:59:41 +01:00
Jacek Caban d4cff191b2 mshtml: Improve header parsing. 2008-03-12 11:59:32 +01:00
Andrew Talbot 9d16a42210 oleaut32: Assign to structs instead of using memcpy. 2008-03-12 11:59:27 +01:00
Michael Stefaniuc 3ca73da928 comctl32/tests: Fix a variable type in monthcal.c. Removes 19 -Wsign-compare warnings. 2008-03-12 11:59:19 +01:00
Michael Stefaniuc 0745ccb926 gdiplus/tests: Remove redundant NULL check before GdipFree(). 2008-03-12 11:59:15 +01:00
Michael Stefaniuc 5c9d1223db widl: Remove local variable shadowing in add_func_desc(). 2008-03-12 11:59:12 +01:00
Mikołaj Zalewski cf39c2a92b mshtml: Add Polish translation. 2008-03-12 11:59:04 +01:00
Mikołaj Zalewski b859c13907 regedit: Remove windows class names (they shouldn't be localized) and unused IDC_REGEDIT menu from resources. 2008-03-12 11:58:58 +01:00
Alexandre Julliard e874fded99 winex11: Discard ConfigureNotify events even if the intervening events are for other windows. 2008-03-11 19:50:27 +01:00
Alexandre Julliard df0f42fe78 advapi32: Implemented RegOverridePredefKey. 2008-03-11 19:48:57 +01:00
Huw Davies 9ab07d5b37 comctl32: Revert to waiting on just the thread object, since the thread no longer sends messages. 2008-03-11 16:17:25 +01:00
Huw Davies 13d0803501 comctl32: Animation notifications should be posted not sent. 2008-03-11 16:17:22 +01:00
Huw Davies 84a1a88c5a comctl32: Get the background brush in ACM_OPEN where native does. 2008-03-11 16:17:19 +01:00
Alexandre Julliard a6d7b6fc60 msvcrt: Implemented __CppXcptFilter. 2008-03-11 16:14:44 +01:00
Paul Vriens 863240b77b winecfg: Fix setting version to Vista. 2008-03-11 15:38:25 +01:00
Alexandre Julliard acc1dd11cb uuid: Avoid some guids that shouldn't be defined in libuuid. 2008-03-11 15:38:21 +01:00