Commit Graph

49065 Commits

Author SHA1 Message Date
Huw Davies 33a193439d qedit: Fix a memory leak.
Found by Valgrind.
2009-12-15 16:25:06 +01:00
Huw Davies 08760936e4 oleaut32: Fix a leak in the tests.
Found by Valgrind.
2009-12-15 16:25:03 +01:00
Huw Davies 0535a2d39c oleaut32: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-15 16:09:13 +01:00
Alexandre Julliard 6af1df86ce user32: Add 16-bit translation for parameters of the WM_H/VSCROLL edit messages. 2009-12-15 16:09:13 +01:00
Alexandre Julliard 8649f73056 user32: Turn the static winproc into a Wow handler. 2009-12-15 16:09:13 +01:00
Alexandre Julliard 3dc6317fc6 user32: Turn the scrollbar winproc into a Wow handler. 2009-12-15 16:09:13 +01:00
Alexandre Julliard 57e5c8f67a user32: Turn the edit winproc into a Wow handler. 2009-12-15 16:09:13 +01:00
Alexandre Julliard 9f12c730e1 user32: Turn the listbox winproc into a Wow handler. 2009-12-15 16:09:13 +01:00
Alexandre Julliard 57d439f4f1 user32: Turn the combobox winproc into a Wow handler. 2009-12-15 16:09:13 +01:00
Alexandre Julliard 02e74fa8a6 user32: Implement UserRegisterWowHandlers function and add a handler for the button winproc. 2009-12-15 16:09:13 +01:00
Alistair Leslie-Hughes 020c75b0fe mshtml: Implement IHTMLImgElement get_Name. 2009-12-15 16:09:13 +01:00
Stefan Dösinger cde3217268 wined3d: Properly release client storage memory. 2009-12-15 16:09:12 +01:00
Erich Hoover 896af79093 ws2_32: Fix allocating a hostent with no h_aliases list. 2009-12-15 16:09:12 +01:00
Huw Davies d4383b4498 riched20: Initialise the style flags.
Found by Valgrind.
2009-12-15 16:09:12 +01:00
Huw Davies 39dd4d25a4 gdiplus: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-15 16:09:12 +01:00
Huw Davies 70742d5e5a gdiplus: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-15 16:09:12 +01:00
Huw Davies b18cc9f680 gdiplus: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-15 16:09:12 +01:00
Marcus Meissner 122ca034db rpcrt4: Exit on unknown confirmance type (Coverity). 2009-12-15 16:09:11 +01:00
Marcus Meissner afd4aed5fc ntdll: Check for NULL attr in NtOpenKey (Coverity). 2009-12-15 16:09:11 +01:00
Marcus Meissner 6feb525bc7 dbghelp: Check for NULL return from process_find_by_handle (Coverity). 2009-12-15 16:09:11 +01:00
Andrew Eikum 9bf516a813 mshtml: Search content_window's properties in HTML[I]FrameBase::get_dispid. 2009-12-15 16:09:11 +01:00
Alexandre Julliard d6dfcf94b0 user32/tests: Add a number of tests for WaitForInputIdle.
With help from Dmitry Timoshkov.
2009-12-15 16:08:40 +01:00
Alexandre Julliard 6c253bb143 user32: Return failure in WaitForInputIdle if we can't open the idle event. 2009-12-15 13:10:10 +01:00
Stefan Dösinger 2ee6bb1cbb wined3d: Frontbuffers are onscreen. 2009-12-15 11:58:53 +01:00
Eric Pouech 9500df82f1 dbghelp: Move the core of some line related functions to 64bit interface. 2009-12-15 11:58:39 +01:00
Eric Pouech 776e75e43c dbghelp: Fix symt_find_nearest so that it searches for 64bit addresses on 64bit platforms. 2009-12-15 11:58:24 +01:00
Eric Pouech 7b83b70b06 dbghelp: Rewrite the symt* <=> index wrappers to that they work on 64bit platforms. 2009-12-15 11:57:33 +01:00
Eric Pouech 92b9b0940d dbghelp: Wrap the symt* <=> index transformations. 2009-12-15 11:56:45 +01:00
Eric Pouech 07c1a1ca51 dbghelp: Fix module on which GetTypeFromName is done. 2009-12-15 11:56:18 +01:00
David Adam 3ff4d07c40 d3dx9/tests: Check a relative error instead of an absolute error. 2009-12-15 11:45:09 +01:00
Hans Leidekker 6df6332198 msi: Reject greater than and less than string comparisons in WHERE clauses. 2009-12-15 11:45:04 +01:00
Hans Leidekker d95e58ba4d rpcrt4: Avoid test failures on win9x. 2009-12-15 11:45:00 +01:00
Paul Vriens fb1fada93a comctl32/tests: Fix some test failures on older comctl32. 2009-12-15 11:44:56 +01:00
Michael Stefaniuc 32d0ef3911 winex11: Fix missing unlock & free on an error path (Smatch). 2009-12-15 11:44:49 +01:00
Juan Lang 888d1a2323 winhttp: Set error and fail if a secure connections certificate couldn't be verified. 2009-12-15 11:44:39 +01:00
Juan Lang 1308c4287f winhttp: Return error directly from netconn_verify_cert. 2009-12-15 11:44:28 +01:00
Henri Verbeet 2f56ef09e6 wined3d: Use surface_is_offscreen() in context_apply_draw_buffer(). 2009-12-15 11:44:20 +01:00
Henri Verbeet b796573d68 d3d8: Add a test to show D3D replaces the window proc. 2009-12-15 11:44:14 +01:00
Henri Verbeet bd46ccc38e d3d9: Add a test to show D3D replaces the window proc. 2009-12-15 11:44:09 +01:00
Henri Verbeet c24e48d937 wined3d: Filter window messages generated by switching to fullscreen and back. 2009-12-15 11:43:56 +01:00
Henri Verbeet 0e270bbd22 wined3d: Send window messages through the swapchain before sending them to the application. 2009-12-15 11:43:41 +01:00
Aric Stewart 0a59c65e74 shlwapi: Implement SHPropertyBag_ReadLONG. 2009-12-15 11:43:36 +01:00
Paul Vriens 763694a646 kernel32/tests: Only set the size ourselves if we are on W2K. 2009-12-15 11:43:30 +01:00
Rob Shearman 052873350d ntdll: Ignore the hole in the FILE_PIPE_WAIT_FOR_BUFFER structure passed into NtFsControlFile before writing the structure to the server. 2009-12-14 16:14:39 +01:00
Rob Shearman eae5b071c2 cabinet: Fix memory leaks on failure in FDICopy. 2009-12-14 16:14:39 +01:00
Rob Shearman c20868e0a2 msvcrt: Free memory allocated in TLS slot on module unload as well as thread exit. 2009-12-14 16:14:39 +01:00
Rob Shearman eb81fa283b gdi32: Fix memory leaks on EMF_Create_HENHMETAFILE failure. 2009-12-14 16:14:38 +01:00
Alexandre Julliard d18ad16331 winex11: Make GetKeyboardLayoutName() use the same default layout as GetKeyboardLayout(). 2009-12-14 16:14:38 +01:00
Alexandre Julliard 8d8544fa15 gdiplus/tests: Fix parentheses in the expect() macro. 2009-12-14 16:14:37 +01:00
Paul Vriens 4d6b74758f kernel32: Add a define for UNICODE_STRING_MAX_CHARS. 2009-12-14 16:14:37 +01:00
Stefan Leichter 9db754fe10 setupapi: Implement SetupGetInfFileListW. 2009-12-14 16:14:37 +01:00
Hans Leidekker fddabccaa1 rpcrt4: Add tests for RPC calls with authentication. 2009-12-14 16:14:37 +01:00
Maarten Lankhorst 0c8fbb288f mmdevapi: Add more tests. 2009-12-14 12:55:57 +01:00
Maarten Lankhorst c38de04e45 mmdevapi: Add some initial tests. 2009-12-14 12:55:39 +01:00
Eric Pouech b4da46ebe8 dbghelp: A couple of fixes for dwarf2 support on a 64bit platform. 2009-12-14 12:29:14 +01:00
Eric Pouech c6eb8104dd dbghelp: Enforce using 64bit integers for module's address and size. 2009-12-14 12:28:54 +01:00
Eric Pouech 9ff52fb82c dbghelp: Don't return error when validating a 64bit wide address on a 64bit platform. 2009-12-14 12:28:37 +01:00
Eric Pouech 02a70615f9 dbghelp: Add ELF support but for the current 32 vs 64 bit architecture. 2009-12-14 12:28:25 +01:00
Eric Pouech 114bb38cd8 dbghelp: Rewrote the SymRegisterCallback function so that they work on a 64bit platform. 2009-12-14 12:28:00 +01:00
Eric Pouech b037912c9d dbghelp: Fix a couple of casts on 64bit platforms. 2009-12-14 12:27:32 +01:00
Eric Pouech c300f215b1 dbghelp: Make the module enumeration process compatible with 64bit platforms. 2009-12-14 12:26:51 +01:00
James Hawkins 8fe8a100c8 msi: Free the enumeration data returned by IEnumSTATSTG_Next. 2009-12-14 12:20:48 +01:00
James Hawkins 7abb42a994 msi: Free each table object when deleting the join view. 2009-12-14 12:20:43 +01:00
James Hawkins ee2cf9a597 msi: Free the Streams and Storages view object in their respective delete methods. 2009-12-14 12:20:39 +01:00
James Hawkins f45db6eee7 msi: Implement DROP_delete that deletes the drop view. We were leaking the view before. 2009-12-14 12:20:33 +01:00
James Hawkins 37a058208d msi: Fix a record handle leak. 2009-12-14 12:20:25 +01:00
James Hawkins d2fe01aa32 msi: Free each storage name when deleting the storages view. 2009-12-14 12:20:20 +01:00
James Hawkins 3188792a30 msi: Store the number of types we queried. We were leaking these types because we didn't have the correct count.
This change also fixes weird 8-space indenting in free_merge_tables.
2009-12-14 12:20:14 +01:00
James Hawkins 12134243c3 msi: Free each stream name when deleting the streams view. 2009-12-14 12:20:03 +01:00
James Hawkins a7fe36b327 msi: Don't free str until the last instance of its use. 2009-12-14 12:19:58 +01:00
James Hawkins f4829063bc msi: Make sure we don't access pcchValueBuf when szBuffer is NULL, as pcchValueBuf is not required to be initialized in this case. 2009-12-14 12:19:52 +01:00
Rob Shearman f823f2181e rpcrt4: Override inquire_auth_client for ncalrpc transport to always indicate that the connection is authenticated. 2009-12-14 12:19:37 +01:00
Rob Shearman 3dbf356f8f rpcrt4: Allow the authentication details of the client to be transport-specific. 2009-12-14 12:19:33 +01:00
Rob Shearman d918587f1d rpcrt4: Implement client impersonation. 2009-12-14 12:19:27 +01:00
Rob Shearman 95026f9d6b rpcrt4: Override authentication functions for ncalrpc protocol to do nothing.
The protocol is local only and therefore encryption/decryption isn't
necessary to keep the data private, and methods are built into the
protocol for impersonating the user of the calling thread.
2009-12-14 12:19:21 +01:00
Rob Shearman deae193ac8 rpcrt4: Allow the connection to override the authentication mechanism for a connection type. 2009-12-14 12:19:16 +01:00
Rob Shearman a65f7b637a rpcrt4: Process control packets in the server synchronously to avoid races when using 3-factor authentication.
The client has nothing to wait for after sending the AUTH3 packet
before sending the first request packet. Therefore, we must ensure
that the AUTH3 packet has finished being processed before we start
processing any request packets.
2009-12-14 12:19:09 +01:00
Rob Shearman e27e61db71 rpcrt4: Add support for server-side authentication. 2009-12-14 12:19:02 +01:00
Rob Shearman ceb7fda374 rpcrt4: Fix rpcrt4_conn_tcp_read and rpcrt4_conn_tcp_write for reading/writing zero-sized data. 2009-12-14 12:18:47 +01:00
Rob Shearman 6ad4d5922b rpcrt4: Implement RpcServerRegisterAuthInfoA/W. 2009-12-14 12:18:41 +01:00
Vincent Povirk 25dcd43e52 gdiplus: Support reading image data from device-dependent bitmaps. 2009-12-14 12:18:18 +01:00
Vincent Povirk 3424dac386 gdiplus: Explicitly copy the bits from dib sections to new bitmaps.
On Windows, GdipCreateBitmapFromHBITMAP creates a copy of the bitmap, not
a reference. Currently, we match this behavior, but this is only because
we cannot yet create bitmap objects that reference existing memory. If
GdipCreateBitmapFromScan0 were fixed to do this, FromHBITMAP would break.

Therefore, we always pass NULL to FromScan0 so that it allocates new memory
for the bitmap.
2009-12-14 12:18:10 +01:00
Jacek Caban 9823c23927 wininet: Directly return error status from HTTP_HttpQueryInfoW. 2009-12-14 12:07:52 +01:00
Vincent Povirk b02ba85fbc windowscodecs: Fix a memory leak in a test. 2009-12-14 12:07:43 +01:00
Vincent Povirk 02a01f9585 shell32: Fix a memory leak in a test. 2009-12-14 12:07:30 +01:00
Vincent Povirk a8c2d4b5bc shell32: Fix an uninitialized memory access in SHGetFileInfoW.
If we are passed SHGFI_PIDL, szFullPath is not initialized. If we're passed
the flags PIDL, USEFILEATTRIBUTES, and an icon flag, we will try to use the
uninitialized filename to get the icon. Since the test claims that the
function should return an icon in this case, and we cannot always convert
a pidl to a path, we should just use the pidl.
2009-12-14 12:07:25 +01:00
Vincent Povirk 3ac34f7416 ole32: Properly free temporary objects when StorageBaseImpl_CopyTo fails. 2009-12-14 12:06:35 +01:00
Vincent Povirk 6afe24c38d ole32: Remove an unnecessary special case in StorageBaseImpl_CopyTo.
Opening a storage when it has already been opened now fails with
STG_E_ACCESSDENIED. If we attempt to copy a storage to its own child, this
will happen during the copy.
2009-12-14 12:06:25 +01:00
Vincent Povirk 0ad48797f8 ole32: Fix a memory leak in StorageBaseImpl_CopyTo.
Spotted by valgrind.
2009-12-14 12:06:17 +01:00
Juan Lang 03fe473ad7 wininet: Check the certificate in an https connection using the crypto api. 2009-12-14 12:06:04 +01:00
Juan Lang 6217326a09 wininet: Set callback to verify hostname with peer's certificate. 2009-12-14 12:05:52 +01:00
Juan Lang 880133d248 wininet: Store hostname for secure connection in its SSL context. 2009-12-14 12:05:45 +01:00
Juan Lang 1350e9d1c0 wininet: Free OpenSSL error strings at unload. 2009-12-14 12:05:37 +01:00
Juan Lang 33e68268a4 wininet: Don't unnecessarily convert hostname to ANSI to check it. 2009-12-14 12:05:31 +01:00
Gregor Schneider 3fa550b532 mlang: Change EnumRfc1766_create return values to error codes. 2009-12-14 12:04:06 +01:00
Nicolas Le Cam bf64bbd1fb ddraw/tests: Get rid of a carriage return in a trace. 2009-12-14 12:04:06 +01:00
Jacek Caban ba394d68be mshtml: Added IHTMLStyle2::right implementation. 2009-12-14 12:04:06 +01:00
Jacek Caban 0f940bccd4 mshtml: Added IHTMLStyle::marginTop implementation. 2009-12-14 12:04:06 +01:00
Alexander Nicolaysen Sørnes 9178a94868 oleacc: Add Norwegian Bokmål translation. 2009-12-14 12:04:06 +01:00
Alexander Nicolaysen Sørnes e71f69a65d appwiz.cpl: Update Norwegian Bokmål translation. 2009-12-14 12:04:06 +01:00
Nikolay Sivov e81f2642f1 comctl32/treeview: Implement NM_SETCURSOR notification. 2009-12-14 12:04:05 +01:00
Nikolay Sivov 49dabfe31d comctl32/treeview: Draw +/- signs with text color, not the lines' one.
+/- aren't affected by customdraw settings, only per control
set colors used.
2009-12-14 12:04:05 +01:00
Nikolay Sivov b65a7a0052 comctl32/treeview: Fix default colors set on creation. 2009-12-14 12:04:05 +01:00
Nikolay Sivov 28d5410596 comctl32/treeview: Fix mouse tracking request code.
After query current tracking state passed parameters could be overwritten,
similar fix for Listview was recently committed.
2009-12-14 12:04:05 +01:00
Henri Verbeet 6bf79b885f wined3d: Let the context handle the draw buffer in swapchain_blit(). 2009-12-14 12:04:05 +01:00
Henri Verbeet 82556b613e wined3d: Let the context handle the draw buffer in fb_copy_to_texture_hwstretch(). 2009-12-14 12:04:05 +01:00
Henri Verbeet 59db3ecaa0 wined3d: Let the context handle the draw buffer in flush_to_framebuffer_drawpixels(). 2009-12-14 12:04:05 +01:00
Henri Verbeet 30f5883ef5 wined3d: Let the context handle the draw buffer in stretch_rect_fbo(). 2009-12-14 12:04:05 +01:00
Henri Verbeet e4e1c27987 d3d10core: Add a stub ID3D10Query implementation. 2009-12-14 12:04:05 +01:00
Rob Shearman d412bcc3ae rpcrt4: Handle [out]-only non-conformant strings in stubless servers. 2009-12-14 12:04:05 +01:00
Rob Shearman b24aa1c153 rpcrt4: Add support for context handles in stubless servers. 2009-12-14 12:04:05 +01:00
Rob Shearman 15cd36d21d rpcrt4: Fix some memory leaks in the cstub tests. 2009-12-14 12:04:05 +01:00
Rob Shearman 3cd88cfab3 secur32: Fix memory leak in NTLM's FreeCredentialsHandle. 2009-12-14 12:04:05 +01:00
Huw Davies d88c47fccb riched20: Fix a memory leak.
Found by Valgrind.
2009-12-14 12:04:05 +01:00
Francois Gouget 9164fc24a6 oleaut32/tests: Make test_DispGetParam() static. 2009-12-14 12:04:05 +01:00
Francois Gouget b8cbde5c19 mshtml/tests: Make test_UIActivate() static. 2009-12-14 12:04:04 +01:00
Francois Gouget 5a2d9e8e5f shlwapi/tests: Make test_IConnectionPoint() static. 2009-12-14 12:04:04 +01:00
André Hentschel fb56000c13 gdi32/tests: Also test non-style suffix. 2009-12-14 12:04:04 +01:00
Huw Davies 68bacfb8d5 gdiplus: Fix a memory leak.
Found by Valgrind.
2009-12-14 12:04:04 +01:00
Huw Davies f75981c712 browseui: Fix several memory leaks in the tests.
Found by Valgrind.
2009-12-14 12:04:04 +01:00
Huw Davies 663e11b256 oleaut32: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-14 12:04:04 +01:00
Huw Davies 53ee807a3b shdocvw: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-14 12:04:04 +01:00
Huw Davies 998d9d9a8f fusion: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-14 12:04:04 +01:00
Vincent Povirk 01c26d1416 gdiplus: Add test for image palette functions. 2009-12-14 12:04:04 +01:00
Vincent Povirk 6c040271c1 gdiplus: Initialize the palettes of new indexed bitmaps. 2009-12-14 12:04:04 +01:00
Vincent Povirk 9615dd8fdb gdiplus: Implement GdipGetImagePalette. 2009-12-14 12:04:03 +01:00
Vincent Povirk 59f45f2cbb gdiplus: Implement GdipGetImagePaletteSize. 2009-12-14 12:04:03 +01:00
Vincent Povirk 39dc81cc80 gdiplus: Implement GdipSetImagePalette. 2009-12-14 12:04:03 +01:00
Juan Lang c02ee18869 winhttp/tests: Skip secure connection tests if the request fails. 2009-12-14 12:04:03 +01:00
Juan Lang 72025026db winhttp: Don't call a function whose result is never used. 2009-12-14 12:04:03 +01:00
Aric Stewart 0cdd4722fa shlwapi: Beginning implementation of IUnknown_QueryServiceForWebBrowserApp. 2009-12-14 12:04:03 +01:00
Vincent Povirk 6f9533feb1 winex11.drv: Use the old method to delete the desktop window. 2009-12-14 12:04:02 +01:00
Alexandre Julliard 9727750c79 user32: Move Get/SetWindowLong16 implementation to wnd16.c. 2009-12-14 12:04:02 +01:00
Alexandre Julliard 2f0bfbac36 user32: Remove the no longer used WINPROC_CallDlgProc16 function. 2009-12-14 12:04:02 +01:00
Alexandre Julliard 57e9244ab6 user32: Move SystemParametersInfo16 to user16.c. 2009-12-14 12:03:55 +01:00
Alexandre Julliard fb20226475 user32: Split the handling of the 16-bit messages out of the static winproc. 2009-12-13 12:13:19 +01:00
Alexandre Julliard 11ed5da3fd user32: Split the handling of the 16-bit messages out of the scrollbar winproc. 2009-12-13 12:13:14 +01:00
Alexandre Julliard 8b226ac4d6 user32: Split the handling of the 16-bit messages out of the listbox winproc. 2009-12-13 12:13:06 +01:00
Alexandre Julliard 51770cdbbc user32: Split the handling of the 16-bit messages out of the combo winproc. 2009-12-13 12:12:56 +01:00
Alexandre Julliard 68775d9134 user32: Split the handling of the 16-bit messages out of the button winproc. 2009-12-13 12:12:47 +01:00
Alexandre Julliard 68656c0c3f user32: Split the handling of the 16-bit messages out of the edit winproc. 2009-12-13 12:12:21 +01:00
Alexandre Julliard 810e701a3f user32: Store the 16-bit edit handle directly in the window extra bytes. 2009-12-11 20:22:49 +01:00
Alexandre Julliard 7e9721f8f2 user32: Split the code that deals with the 16-bit edit buffer handle to separate functions. 2009-12-11 20:21:52 +01:00
Alexandre Julliard dcec342b50 user32: Add a thunking mechanism for 16-bit edit word break procedures. 2009-12-11 20:20:54 +01:00
Alexandre Julliard 8b50188f57 msi/tests: Fix a handle leak. 2009-12-11 20:20:30 +01:00
Juan Lang 9352509eb2 winhttp: Free OpenSSL error strings at unload. 2009-12-11 17:47:30 +01:00
Juan Lang 01a7cbf843 crypt32: Accept end certificates with no extended key usage extension if a particular key usage is requested. 2009-12-11 17:47:30 +01:00
Chris Schafer 350cdd2fe5 msi/tests: Remove some barriers to running msi tests in parallel. 2009-12-11 17:47:30 +01:00
Juan Lang dec7dda411 advapi32/tests: Fix memory leaks in tests. 2009-12-11 17:47:30 +01:00
Jeremy White 04a2102428 oleaut32: Use wire sizes for marshaled safe arrays of bstrs and variants; fixes a test failure on win64. 2009-12-11 17:47:30 +01:00