Commit Graph

49143 Commits

Author SHA1 Message Date
Juan Lang 44e4ac2128 cryptnet: Use helper function to check a cert against a CRL. 2009-12-17 12:52:52 +01:00
Juan Lang 165d380852 cryptnet: Change guard variable to simplify loop. 2009-12-17 12:52:47 +01:00
Juan Lang 4729cdd1e9 cryptnet: Use helper function to verify a certificate's revocation. 2009-12-17 12:52:43 +01:00
Jacek Caban 4b461bc05c urlmon: Fixed race in tests. 2009-12-17 12:43:28 +01:00
Henri Verbeet 2102dbe854 msi: Remove an unused field from the string table. 2009-12-17 12:43:25 +01:00
Henri Verbeet bd1ec9eb02 wined3d: Cleanup IWineD3DDeviceImpl_GetBackBuffer(). 2009-12-17 12:43:20 +01:00
Henri Verbeet 35d5e7669e wined3d: Change an ERR to a WARN in IWineD3DVolumeImpl_UnlockBox().
Trying to unlock a volume that isn't locked is questionable behaviour on the
side of the application, but not an internal error.
2009-12-17 12:43:16 +01:00
Henri Verbeet d5a8637ecc wined3d: Change an ERR to a TRACE in IWineD3DEventQueryImpl_GetData().
This is allowed behaviour.
2009-12-17 12:43:11 +01:00
Henri Verbeet e79a6b20d2 ddraw/tests: Add tests for ddraw window proc handling. 2009-12-17 12:43:05 +01:00
Amine Khaldi 978e22a85e inetcomm: Remove an unneeded variable. 2009-12-17 12:42:55 +01:00
Amine Khaldi 4ec6979825 cryptdlg: Remove an unused variable. 2009-12-17 12:42:48 +01:00
Amine Khaldi e402260db4 crypt32: Remove an unneeded assignment. 2009-12-17 12:42:39 +01:00
Piotr Caban 5cc277c677 urlmon: Added tests for CoInternetGetSecurityUrl. 2009-12-17 12:42:27 +01:00
Paul Vriens fa2ec0f06c ntdll/tests: Fix a memory leak (Valgrind). 2009-12-17 12:42:22 +01:00
Alexandre Julliard 7265e89226 server: Set the idle event when retrieving a timer message. 2009-12-16 18:18:07 +01:00
Alexandre Julliard 92e704edc5 server: Don't set the idle event when waiting for a message reply. 2009-12-16 18:06:38 +01:00
Alexandre Julliard 7d4e28480d server: Any thread can set the idle event, don't treat the first one differently. 2009-12-16 18:06:32 +01:00
Alexandre Julliard b57cc5561b server: Don't reset the idle event when the client stops waiting. 2009-12-16 18:06:14 +01:00
Alexandre Julliard d1dc48d8dc server: Don't set the idle event when a queue is destroyed, instead return success in WaitForInputIdle on process exit. 2009-12-16 18:00:34 +01:00
Alexandre Julliard ea4babc511 user32/tests: Always reset events when starting a WaitForInputIdle test. 2009-12-16 18:00:12 +01:00
Paul Vriens 8199784eaf ntdll/tests: Fix a test failure on NT4/W2K. 2009-12-16 16:05:46 +01:00
Paul Vriens 19e63d11ce cryptnet/tests: Fix some test failures on W2K with just SP3 or SP4. 2009-12-16 16:05:41 +01:00
André Hentschel f27ba37bb8 msvcrtd: Remove unnecessary trace output. 2009-12-16 16:05:36 +01:00
Andrew Nguyen 0cc09adf7e clusapi: Don't trace the contents of output pointers.
The issue was detected with Valgrind.
2009-12-16 13:57:02 +01:00
Alexandre Julliard 314d2c3e1c user32: Add a Wow handler for the mdi client class. 2009-12-16 13:22:08 +01:00
Hans Leidekker 2c526b7fe7 msi: Replace the string table hash with a sorted index. 2009-12-16 13:04:35 +01:00
Hans Leidekker ef522c5ef0 msi: Clone the open stream instead of trying to open a stream again. 2009-12-16 13:04:35 +01:00
Piotr Caban 73c3160674 urlmon: Added CoInternetGetSecurityUrl implementation. 2009-12-16 13:04:35 +01:00
Piotr Caban 18069b2d0d urlmon: Added PARSE_ROOTDOCUMENT to CoInternetParseUrl. 2009-12-16 13:04:35 +01:00
Piotr Caban 3adfe170bf urlmon: Added PARSE_DOMAIN to CoInternetParseUrl. 2009-12-16 13:04:35 +01:00
Piotr Caban 8de69a174a shlwapi: Added special case for URL_PART_HOSTNAME in UrlGetPart. 2009-12-16 13:04:34 +01:00
Piotr Caban 1e0827f645 shlwapi: Allow ' ' in hostname and password in UrlGetPart. 2009-12-16 13:04:34 +01:00
Piotr Caban 7e3fd4e3c6 oleaut32: Fix SysReAllocStringLen implementation. 2009-12-16 13:04:34 +01:00
Piotr Caban 17bec80f71 mshtml: Added IObjectWithSite stubs. 2009-12-16 13:04:34 +01:00
Piotr Caban bffa74a1c3 mshtml: Added ViewObjectEx stub implementation. 2009-12-16 13:04:34 +01:00
Stefan Dösinger 8eeb513b1a wined3d: Fix VBO buffer usage. 2009-12-16 13:04:19 +01:00
Stefan Dösinger 718e55b9a6 wined3d: Don't render single buffered swapchains to a FBO. 2009-12-16 12:42:40 +01:00
Vladimir Pankratov 6f2ec37b60 setupapi: Add stub for CM_Get_Device_ID_ExW. 2009-12-16 12:42:40 +01:00
Maarten Lankhorst 1b94450f78 dsound: Remove refcounting in classfactory. 2009-12-16 12:42:40 +01:00
Maarten Lankhorst b80fe3618b mmdevapi: Add class factory. 2009-12-16 12:42:40 +01:00
Alexandre Julliard b51311d60c user32/tests: Fix a number of message test failures on various Windows boxes. 2009-12-16 12:42:40 +01:00
Huw Davies 8808fccd57 riched20: Initialise window size.
Found by Valgrind.
2009-12-16 12:42:40 +01:00
Huw Davies 7078cfa76b shell32: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-16 12:42:40 +01:00
Huw Davies d83cf1af0f oleaut32: Fix a memory leak.
Found by Valgrind.
2009-12-16 12:42:40 +01:00
Huw Davies 487dc6b639 oleaut32: Fix memory leaks in the tests.
Found by Valgrind.
2009-12-16 12:42:40 +01:00
Paul Vriens ffbc346565 gdiplus/tests: Fix some test failures on older gdiplus. 2009-12-16 12:42:40 +01:00
Paul Vriens 876c3c352b rpcrt4/tests: Skip more tests on Win9x/WinMe. 2009-12-16 12:42:40 +01:00
Paul Vriens 4d1fa5833e rpcrt4/tests: Don't crash on NT4. 2009-12-16 12:42:39 +01:00
Jeremy White e4897a827b winspool: Add tests for paths returned in GetPrinterDriver. 2009-12-16 12:42:39 +01:00
James Hawkins 8ed06175a0 msi: Free the temp buffer if we haven't assigned it to *appValue. 2009-12-16 12:42:39 +01:00
James Hawkins b530f38baa msi: Refactor freeing the import sql strings. 2009-12-16 12:42:33 +01:00
James Hawkins 1b7238a969 msi: Simplify ITERATE_WriteEnvironmentString.
Now we only allocate enough memory to exactly match the size of the
constructed string. Before, we were leaving some memory uninitialized
and overwriting the allocated memory in certain circum.
2009-12-16 12:27:11 +01:00
James Hawkins be1b1605f9 msi: Free the columns view if check_column_exists fails. 2009-12-16 12:26:59 +01:00
James Hawkins 1a4a112d76 msi: Fix a leaking record handle. 2009-12-16 12:26:51 +01:00
James Hawkins b93c2c3544 msi: Free the join view if we fail to create the table view. 2009-12-16 12:26:45 +01:00
James Hawkins 1692e1fe67 msi: Keep track of the current view in the sql parser.
This allows us to free said view in the case of a syntax error. This
also allows us to get rid of a few places where we tried to clean up
the view ourselves in the parsing code.
2009-12-16 12:26:38 +01:00
Vincent Povirk 393c5af205 ole32: Add a cache for block chain streams in StorageImpl. 2009-12-16 12:24:27 +01:00
Huw Davies c6d4df8b1c ole32: Fix several memory leaks in the tests.
Found by Valgrind.
2009-12-16 12:24:19 +01:00
Jacek Caban f7be3645f5 mshtml: Added support for redirected binding. 2009-12-16 12:23:48 +01:00
Jacek Caban c069489a67 urlmon: Report redirected URL to object created by BindToObject. 2009-12-16 12:23:42 +01:00
Jacek Caban ce53f34458 urlmon: Added HTTP redirecting test. 2009-12-16 12:23:36 +01:00
Jacek Caban 840c52acb9 urlmon: Correctly handle INTERNET_STATUS_REDIRECT. 2009-12-16 12:23:30 +01:00
Jacek Caban 613ebdc8b4 urlmon: Correctly handle accept ranges in HttpProtocol_open_request. 2009-12-16 12:23:10 +01:00
Jacek Caban efd869e00a urlmon: Added support for BINDSTATUS_REDIRECTING. 2009-12-16 12:23:04 +01:00
Jacek Caban 6de5669d29 urlmon: Pass flags to test_BindToStorage. 2009-12-16 12:22:58 +01:00
Henri Verbeet cd623036fc wined3d: Mark the draw buffer as dirty in context_create().
Currently callers of this function are responsible for setting the draw buffer
correctly, but they don't do a very good job:
  - swapchain_init() sets the draw buffer to GL_BACK if there's a back buffer,
    even though the context's target is always the front buffer.
  - swapchain_create_context_for_thread() depends on (eventually) being called
    by FindContext().
  - create_primary_opengl_context() and
    IWineD3DSwapChainImpl_SetDestWindowOverride() don't bother setting a draw
    buffer at all.
Just marking the draw buffer dirty lets the context management sort it all
out, and is much simpler.
2009-12-16 12:22:29 +01:00
Henri Verbeet a215d326a5 wined3d: Get rid of the "swapchain" parameter to surface_get_gl_buffer().
Casting the container to "IWineD3DSwapChainImpl *" is always safe when
SFLAG_SWAPCHAIN is set on the surface. Most callers don't have a real
need for the swapchain, and end up calling GetContainer() just to pass
it to surface_get_gl_buffer().
2009-12-16 12:22:18 +01:00
Henri Verbeet 97f04248fc wined3d: Use surface_is_offscreen() in flush_to_framebuffer_drawpixels(). 2009-12-16 12:22:03 +01:00
Henri Verbeet bf113bd284 wined3d: Use surface_is_offscreen() in read_from_framebuffer_texture(). 2009-12-16 12:21:58 +01:00
Henri Verbeet 51438eec46 wined3d: Use surface_is_offscreen() in fb_copy_to_texture_hwstretch(). 2009-12-16 12:21:50 +01:00
Amine Khaldi 483d241559 crypt32: Remove unneeded assignments. 2009-12-16 12:21:12 +01:00
Huw Davies 34a961d3af dbghelp: Fix compilation on OSX. 2009-12-16 12:20:31 +01:00
Juan Lang 09246aa1a7 wininet: Set error and fail if a secure connection's certificate couldn't be verified. 2009-12-16 12:20:26 +01:00
Juan Lang bd5c5953f3 wininet: Return error directly from netconn_verify_cert. 2009-12-16 12:20:21 +01:00
Alexandre Julliard fb97908119 user32: Move the 16-bit message mapping functions to msg16.c. 2009-12-15 20:18:47 +01:00
Alexandre Julliard 552fc29b26 user32: Move 16-bit winproc functions to msg16.c. 2009-12-15 20:15:02 +01:00
Alexandre Julliard fc0244cb32 user32: Store the 16-bit winproc in a different array from the 32-bit A/W ones. 2009-12-15 20:14:25 +01:00
Alexandre Julliard 73c93466a2 user32: Move more 16-bit winproc functions inside the i386 ifdef. 2009-12-15 20:13:11 +01:00
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