Commit Graph

49110 Commits

Author SHA1 Message Date
Alexandre Julliard 0cbf191add user32: Pre-allocate the window procedure for the dialog class. 2009-12-17 13:09:50 +01:00
Alexandre Julliard 80a09a7899 user32: Pre-allocate the window procedure for the static class. 2009-12-17 13:09:50 +01:00
Alexandre Julliard 1e43d19753 user32: Pre-allocate the window procedure for the scrollbar class. 2009-12-17 13:09:50 +01:00
Alexandre Julliard c0f3f5a1d2 user32: Pre-allocate the window procedure for the listbox class. 2009-12-17 13:09:50 +01:00
Alexandre Julliard 87ede8949a user32: Get rid of the EDIT_winproc_handle variable. 2009-12-17 13:09:50 +01:00
Alexandre Julliard 6400dabf40 user32: Pre-allocate the window procedure for the edit class. 2009-12-17 13:09:50 +01:00
Alexandre Julliard 05cf0ff29f user32: Pre-allocate the window procedure for the combobox class. 2009-12-17 13:09:50 +01:00
Alexandre Julliard 87f83f8618 user32: Pre-allocate the window procedure for the button class. 2009-12-17 13:09:49 +01:00
Huw Davies b71173f7ac shell32: Fix a memory leak.
Found by Valgrind.
2009-12-17 13:09:49 +01:00
Lei Zhang c89211336b secur32: Fix memory leak in SECUR32_addPackages. 2009-12-17 13:09:49 +01:00
James Hawkins 26d541b2a9 msi: Initialize type. If the value did not exist, type was uninitialized and passed to RegSetValueExW. 2009-12-17 13:09:46 +01:00
James Hawkins 9b2af10f02 kernel32: Free the resource data if a matching resource exists and we choose not to overwrite the existing resource. 2009-12-17 12:53:39 +01:00
James Hawkins 6b403d1a31 msi: Move MSITRANSFORM and MSISTREAM and associated methods to the dabatase implementation file as they are database objects/methods. 2009-12-17 12:53:34 +01:00
James Hawkins a2f5d0e270 msi: Free the cached streams when closing the database. 2009-12-17 12:53:27 +01:00
Jacek Caban 78b2cedaa6 wininet: Make sure to not read over chunk end in read_gzip_data. 2009-12-17 12:53:23 +01:00
Roderick Colenbrander 6d8c4572ef wined3d: Fix a bug in BtlFast which was uncovered by the 32-bit dibsection support. 2009-12-17 12:53:19 +01:00
Juan Lang 60ddb1365d cryptnet: If the caller specifies the location of a CRL, check a cert's revocation status against it. 2009-12-17 12:53:03 +01:00
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