Commit Graph

48833 Commits

Author SHA1 Message Date
Jacek Caban 5b76702e84 wininet: Set lpszUrlPath in InternetCrackUrlW if its length is 0. 2009-12-10 11:55:58 +01:00
Jacek Caban d153344eaa wininet: Make InternetCrackUrlA tests more generic and add more tests. 2009-12-10 11:55:52 +01:00
Jacek Caban 5e8e358a71 wininet: lpszUrlPath should be NULL for URLs in file:///... format. 2009-12-10 11:55:33 +01:00
Henri Verbeet f282db2408 dxgi: Implement IDXGIOutput::GetDisplayModeList(). 2009-12-10 11:55:00 +01:00
Henri Verbeet b85a070598 wined3d: Support more formats for display mode enumeration.
ddraw/d3d8/d3d9 only support a limited number of formats, but those already
limit the supported formats themselves.
2009-12-10 11:54:55 +01:00
Henri Verbeet b3defd4c80 wined3d: Rename "wineD3DDevice" to "device". 2009-12-10 11:54:47 +01:00
Henri Verbeet bd9828a039 wined3d: Don't restore the draw buffer in color_fill_fbo().
This should be done by the context management these days.
2009-12-10 11:54:29 +01:00
Henri Verbeet ddddc60eb9 ddraw: Avoid enumerating display modes for formats that arent't supported anyway.
Some of these formats can't even be translated by ddraw.
2009-12-10 11:54:22 +01:00
Jeremy White 7e0c4fa404 usrmarshal: Add a test for marshalling a SAFEARRAY of VT_BSTR. 2009-12-10 11:54:08 +01:00
Eric Pouech 185e5daed6 dbghelp: For mingw32 (stabs debug info), parse the FileHeader's symbol table to offset properly the global variables. 2009-12-10 11:53:57 +01:00
Vincent Povirk 8b3ff9d179 ole32: Remove the ancestorStorage attribute. 2009-12-10 11:51:39 +01:00
Vincent Povirk 5d39c31bff ole32: Make IEnumSTATSTGImpl reference the parent storage. 2009-12-10 11:51:29 +01:00
Vincent Povirk 43184aaf52 ole32: Make findElement take a StorageBaseImpl. 2009-12-10 11:51:21 +01:00
Vincent Povirk 55b3a6e59f ole32: Don't use ancestorStorage to decide if a storage is transacted. 2009-12-10 11:51:10 +01:00
Vincent Povirk 1a12141d86 ole32: Add a test for modifying read-only substorage objects. 2009-12-10 11:51:01 +01:00
Alexandre Julliard 6509044087 ntdll: Search the whole filesystem under the starting directory when opening files by id. 2009-12-09 23:34:45 +01:00
Huw Davies 09db528847 ole32: Release the error info strings.
Found by Valgrind.
2009-12-09 16:50:36 +01:00
Kirill K. Smirnov dc45e2c513 comctl32/treeview: Avoid a NULL pointer dereference. 2009-12-09 14:54:01 +01:00
Huw Davies 318c7b24ee msxml3: Correctly test the variant returned by get_nodeValue.
Found by Valgrind.
2009-12-09 14:53:31 +01:00
Nikolay Sivov daf99d4bdd shell32: Fix some trace typos. 2009-12-09 14:25:25 +01:00
Nikolay Sivov c2a7535e9d comctl32/listview: Update item width every time new item is inserted.
This prevents retaining previously stored width and unexpected item
displaying collapsing with ending ellipsis.
2009-12-09 14:25:21 +01:00
Henri Verbeet bfe6695d30 wined3d: Only disable blending for offscreen targets. 2009-12-09 13:51:08 +01:00
Henri Verbeet b6ef17f23d wined3d: Remove unused GetDevice() implementations. 2009-12-09 13:51:04 +01:00
Henri Verbeet c2cf193563 d3d9: Forward the volume's GetDevice() to the texture instead of the wined3d volume. 2009-12-09 13:50:56 +01:00
Henri Verbeet 789fed5095 d3d8: Forward the volume's GetDevice() to the texture instead of the wined3d volume. 2009-12-09 13:50:52 +01:00
Henri Verbeet d2ad2df637 wined3d: Remove a few redundant assignments. 2009-12-09 13:50:48 +01:00
Hans Leidekker 84bfbf2aa8 ntdll/tests: Free Unicode string before reuse. 2009-12-09 13:50:42 +01:00
Nikolay Sivov 29357ec024 gdiplus/tests: Fix a matrix leak in test. 2009-12-09 13:50:35 +01:00
Piotr Caban 6894d841cd urlmon: Added InternetSecurityManager marshalling test. 2009-12-09 13:49:34 +01:00
Piotr Caban dc78e8d315 urlmon: Added ProxyStub implementation. 2009-12-09 13:49:26 +01:00
Jacek Caban 2d1c4e6928 wininet: Correctly handle dwContentRead for gzip encoded requests. 2009-12-09 13:13:53 +01:00
Juan Lang b0f5b96efe winhttp/tests: Only free a certificate context if retrieving it succeeded. 2009-12-09 13:13:49 +01:00
Juan Lang 71880e4818 rsaenh: Free a verify context's keys when it's destroyed. 2009-12-09 13:13:42 +01:00
Juan Lang ac4ac88a51 rsaenh: Use helper function to release and install a key into a crypt provider. 2009-12-09 13:13:36 +01:00
Alexandre Julliard e099b80a6f winex11: Fix a compiler warning. 2009-12-09 13:13:29 +01:00
Alexandre Julliard 70c20027a9 ntdll/tests: Avoid size_t in traces. 2009-12-09 12:19:48 +01:00
Alexandre Julliard 321292a26c shlwapi/tests: Avoid size_t in traces. 2009-12-09 12:19:43 +01:00
Alexandre Julliard 4f83f9a120 crypt32/tests: Avoid size_t in traces. 2009-12-09 12:19:38 +01:00
Juan Lang 960a1a9ab7 inetmib1: Copy an IP net row's physical address using a type-specific helper function, rather than using a generic helper function which made an invalid alignment assumption. 2009-12-09 12:19:09 +01:00
Juan Lang 950202a59b inetmib1: Return SNMP_ERRORSTATUS_NOSUCHNAME for an interface's description if it has none. 2009-12-09 12:19:02 +01:00
Alexandre Julliard da9bc130c6 msvcrt/tests: Fix the signal handler calling convention. 2009-12-09 12:04:41 +01:00
Alexandre Julliard 506a62776c d3d9/tests: Fix some pointer cast warnings on 64-bit. 2009-12-09 12:04:27 +01:00
Alexandre Julliard 6062679b08 d3d8/tests: Fix some pointer cast warnings on 64-bit. 2009-12-09 12:04:22 +01:00
Alexandre Julliard de3e06a745 uxtheme: Fix some pointer cast warnings on 64-bit. 2009-12-09 12:04:08 +01:00
Alexandre Julliard 44a9bae9f8 ole32: Fix some pointer cast warnings on 64-bit. 2009-12-09 12:04:01 +01:00
Marcus Meissner 30c1df4a08 dbghelp: Add a missing NULL check (Coverity). 2009-12-09 12:03:47 +01:00
Vincent Povirk df0ef756b3 ole32: Add an attribute to StorageBaseImpl to track its reverted status. 2009-12-09 12:03:40 +01:00
Vincent Povirk 5b79c5a5e4 ole32: Store the parent of internal storage objects. 2009-12-09 12:03:30 +01:00
Vincent Povirk 8518323e07 ole32: Don't track the stream size in storage stream objects.
We can't do this safely when there are multiple objects for a single stream.
2009-12-09 12:03:18 +01:00
Vincent Povirk 6d06c43e53 ole32: Use the storage vtable to resize streams. 2009-12-09 12:03:10 +01:00
Vincent Povirk 1d4c698ef3 ole32: Use the storage vtable to write to streams. 2009-12-09 12:02:59 +01:00
Juan Lang 71b4ac9c71 rsaenh/tests: Fix memory leak. 2009-12-09 12:02:47 +01:00
Juan Lang 4df042b54b crypt32: Compare CRL's authority key identifier against the certificate's subject key identifier property, which also decodes the certificate's extension if necessary. 2009-12-09 12:02:43 +01:00
Juan Lang 1becda464d winhttp: Fix test error when run as non-administrator. 2009-12-09 12:02:39 +01:00
Juan Lang 66b4ad208d wininet: Fix an apparent typo. 2009-12-09 12:02:30 +01:00
Juan Lang 3cd54553f3 wininet: Trace more parameters to HTTP_GetCustomHeaderIndex. 2009-12-09 12:02:26 +01:00
Andrew Eikum 578881f600 mshtml: Implement IHTMLFrameBase::get_name. 2009-12-08 17:54:14 +01:00
Andrew Eikum c10cd6c137 mshtml: Implement IHTMLWindow2::{get,put}_onresize. 2009-12-08 17:54:08 +01:00
Andrew Eikum 2710d14c40 mshtml: Implement IHTMLFrameBase::{get,put}_scrolling. 2009-12-08 17:54:01 +01:00
Andrew Eikum 6e3e7c9f4c mshtml: Store ns[i]frame reference in HTMLFrameBase. 2009-12-08 17:53:53 +01:00
Roderick Colenbrander 662653c8ff winex11: Move X11 display failure MESSAGE to winediag. 2009-12-08 17:52:20 +01:00
Paul Vriens 5fa94d18c5 shell32/tests: Remove a useless string. 2009-12-08 17:44:30 +01:00
Paul Vriens ba5142f342 shell32/tests: Remove a now unused define. 2009-12-08 17:44:23 +01:00
Paul Vriens ea95977825 shell32/tests: Removed an unused define. 2009-12-08 17:44:16 +01:00
Paul Vriens 495d353c63 shell32/tests: Decide whether to use CSIDL_PROGRAMS or CSIDL_COMMON_PROGRAMS by checking admin rights. 2009-12-08 17:44:08 +01:00
Paul Vriens b965a5f0e0 shell32/tests: Cope with non-English Vista+ and short names in the title bar of explorer windows. 2009-12-08 17:44:01 +01:00
Roderick Colenbrander 715a398899 iphlpapi: Use winediag for icmp failure. 2009-12-08 17:43:52 +01:00
Roderick Colenbrander 6a8aae0bec ws2_32: Use winediag for socket failures. 2009-12-08 17:43:45 +01:00
Francois Gouget d1e592ad20 crypt32/tests: Fix compilation on systems that don't support nameless unions. 2009-12-08 17:42:25 +01:00
Juan Lang b7f753a826 snmpapi: Add stub for SnmpSvcGetUptime. 2009-12-08 12:59:54 +01:00
Paul Vriens 5719881ed5 winspool.drv/tests: Fix test failures on XP+ with long printer names. 2009-12-08 12:53:13 +01:00
Paul Vriens 72c54e5d3b adapi32/tests: Fix test failures when the computername is fully qualified on W2K3 and earlier. 2009-12-08 12:53:09 +01:00
Huw Davies af0bb4a141 ntdll: Only free the string if the test succeeded. 2009-12-08 12:37:24 +01:00
Hans Leidekker bf58fdd197 wininet/tests: Mark behavior of IE5 as broken for some ftp tests. 2009-12-08 12:37:20 +01:00
Hans Leidekker fe8f5c2232 ntdll/tests: Fix a memory leak.
Found by Valgrind.
2009-12-08 12:37:17 +01:00
Hans Leidekker 3bf156a8c5 setupapi/tests: Fix a memory leak.
Found by Valgrind.
2009-12-08 12:37:14 +01:00
Marcus Meissner 298051ab37 winhttp: Check for endCert being NULL (Coverity). 2009-12-08 12:37:10 +01:00
Stefan Leichter 6f8fb2f4e7 setupapi32/tests: More tests for SetupGetInfFileListW. 2009-12-08 12:37:01 +01:00
James Hawkins d90aca35c4 msi: Add a NULL terminator to file->dest after reallocation. 2009-12-08 12:36:51 +01:00
James Hawkins b13803ea40 msi: Free the column info data when updating the table column info. 2009-12-08 12:36:36 +01:00
James Hawkins c20902314b msi: Make sure to free the extra row data when deleting a row. 2009-12-08 12:36:28 +01:00
Jacek Caban 70592b59e7 mshtml: Added IHTMLDocument2::onreadystatechange property implementation. 2009-12-08 12:36:09 +01:00
Jacek Caban 1045bffcc0 jscript: Fixed String.split for missing regexp separator. 2009-12-08 12:36:05 +01:00
Jacek Caban c665b86cd0 jscript: Moved set_last_index call to do_regexp_match_next. 2009-12-08 12:36:01 +01:00
Juan Lang 91d62162da inetmib1: Return SNMP_ERRORSTATUS_NOSUCHNAME for an interface's physical address if it has none. 2009-12-08 12:35:55 +01:00
Juan Lang 632b759ffe inetmib1: Return error value from MIB copy functions. 2009-12-08 12:35:45 +01:00
Juan Lang 7060f8961a inetmib1: Don't claim a value is dynamic when it isn't. 2009-12-08 12:35:38 +01:00
Vincent Povirk 62e54bacba ole32: Use the storage vtable to read streams. 2009-12-08 12:35:33 +01:00
Vincent Povirk ee39a21d2b ole32: Add DestroyDirEntry to the storage vtable. 2009-12-08 12:35:17 +01:00
Vincent Povirk f43e013f73 ole32: Take a StorageBaseImpl in removeFromTree. 2009-12-08 12:35:08 +01:00
Vincent Povirk 0425ed1d38 ole32: Take a StorageBaseImpl in insertIntoTree. 2009-12-08 12:35:00 +01:00
Vincent Povirk 9300a92ccc ole32: Change the base IStorage filename to a pointer type.
The maximum size of the name returned by Stat() on a top-level storage has
nothing to do with DIRENTRY_NAME_BUFFER_LEN. Windows can return longer names
and probably has a limit of MAX_PATH. Also, Stat always returns an absolute
pathname, so we don't need a special case in StgOpenStorage.
2009-12-08 12:34:47 +01:00
Henri Verbeet efbd38ae84 dxgi: The "unknown0" parameter to DXGID3D10CreateDevice() is a pointer.
Fixes stack corruption in the 64-bit tests. Thanks to Paul Vriens for debugging this.
2009-12-08 12:33:43 +01:00
Henri Verbeet 54f3dec8e6 wined3d: Rename the "wineD3D" device field to "wined3d". 2009-12-08 12:33:29 +01:00
Henri Verbeet a02f93defb wined3d: Remove the redundant "adapterNo" field from the device. 2009-12-08 12:33:23 +01:00
Henri Verbeet aed85222b5 wined3d: Rename the wined3d_adapter "num" field to "ordinal".
This makes it consistent with dxgi_adapter.
2009-12-08 12:33:17 +01:00
Henri Verbeet 8a833a2d75 wined3d: Pass the correct vertex count in DrawIndexedPrimitiveStrided().
This fixes a regression introduced by 2b2fc827ce.
2009-12-08 12:33:08 +01:00
Aric Stewart 3b93ff71c7 mpr: Initialize handle to NULL on ERROR_NO_NETWORK case in WNetOpenEnum. 2009-12-08 12:33:03 +01:00
Gerald Pfeifer 43d0720335 ntdll: Guard debugging code by #ifdef instead of plain #if. 2009-12-08 12:32:58 +01:00
Alexandre Julliard 538c8bc5e8 ntdll/tests: Add tests for open directories with NtCreateFile and strange options. 2009-12-08 12:19:05 +01:00
Alexandre Julliard 019e404938 ntdll: Get rid of a line break in a trace. 2009-12-07 21:25:20 +01:00
Paul Vriens 8da7a00e67 mshtml/tests: Skip some tests on older IE. 2009-12-07 16:51:36 +01:00
Piotr Caban 2efb829845 mshtml: Added more OleDocumentView_UIActivate tests. 2009-12-07 15:41:34 +01:00
Piotr Caban 8c06ed96ae mshtml: Improved OleDocumentView_UIActivate implementation. 2009-12-07 15:41:18 +01:00
Piotr Caban 24601ed1db mshtml: Added Advise handling to OleObject_Close. 2009-12-07 15:41:13 +01:00
Piotr Caban 91dd9bbb71 mshtml: Added OleObject_Advise tests. 2009-12-07 15:41:07 +01:00
Piotr Caban 7372a6dd12 mshtml: Added OleObject_EnumAdvise implementation. 2009-12-07 15:41:01 +01:00
Piotr Caban 0aca61c5c3 mshtml: Added OleObject_Unadvise implementation. 2009-12-07 15:40:57 +01:00
Piotr Caban bbfa604dc0 mshtml: Added OleObject_Advise implementation. 2009-12-07 15:40:53 +01:00
Piotr Caban 45e0dd9d1f mshtml: Added PersistStreamInit_InitNew implementation. 2009-12-07 15:40:47 +01:00
Nathan Gallaher de239d86fd ole32: Fix invalid memory access in storage32. 2009-12-07 14:53:31 +01:00
Paul Chitescu 7fea0e332f advapi32: Reduce registry access to MAXIMUM_ALLOWED wherever possible. 2009-12-07 14:50:20 +01:00
Maarten Lankhorst 7326586517 dsound: Move buffer property sets to buffer.c. 2009-12-07 14:46:03 +01:00
Huw Davies 7c1deca74c xinput1_3: Don't print the contents of [out] parameters.
Found by Valgrind.
2009-12-07 14:45:54 +01:00
Nikolay Sivov fc7d6b39be windowscodecs/tests: Release decoder after use. 2009-12-07 14:45:49 +01:00
Henri Verbeet bf1255e2cd dxgi: Implement IDXGISurface::GetParent(). 2009-12-07 14:34:23 +01:00
Henri Verbeet a6b9a637e2 dxgi: Implement IDXGISurface::GetDevice(). 2009-12-07 14:34:19 +01:00
Henri Verbeet 4e29ade658 dxgi: Add a separate function for surface initialization. 2009-12-07 14:34:15 +01:00
Henri Verbeet 89c96ca31e d3d9: Fix GetDevice() for surfaces that are part of a texture.
If the surface is part of a texture it doesn't keep its own reference to the
device, but instead relies on the reference the texture has. This fixes a
regression introduced by ff92e6eb6a.
2009-12-07 14:34:08 +01:00
Henri Verbeet 179cee08b0 d3d8: Fix GetDevice() for surfaces that are part of a texture.
If the surface is part of a texture it doesn't keep its own reference to the
device, but instead relies on the reference the texture has. This fixes a
regression introduced by 3cedef2ffe.
2009-12-07 14:34:04 +01:00
Stefan Dösinger 740e2d403e Render to fbo when the size mismatches at creation time.
This is needed because the window(and thus the GL drawable) might be
smaller than the D3D backbuffer. If we waited for the FBO switch until
Present is called we'd lose data in the first frame.
2009-12-07 14:33:56 +01:00
Stefan Dösinger 548b0bcda5 wined3d: Render to a FBO if the window size is changed. 2009-12-07 14:33:32 +01:00
Stefan Dösinger 817714912b wined3d: Infrastructure to render swapchains to a FBO. 2009-12-07 14:33:24 +01:00
Stefan Dösinger 2b0271b185 wined3d: Use GL_COLOR_ATTACHMENT0 as offscreen buffer with FBOs.
This is used by the offscreen render target->texture blit code if
FBOs are enabled, but FBO_blit is not supported
2009-12-07 14:33:04 +01:00
Stefan Dösinger 64291c60cb wined3d: A function for checking if a surface is offscreen. 2009-12-07 14:32:54 +01:00
Stefan Dösinger 54f0d3f785 wined3d: Add a function for initializing surface sysmem. 2009-12-07 14:32:29 +01:00
Hans Leidekker 72e7e399d5 ntdll/tests: Fix a memory leak.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker d81f9006de netapi32/tests: Fix a memory leak.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker 67963a76b4 fusion: Fix some memory leaks.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker 952cd1d36a userenv/tests: Fix some memory leaks.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker 7d3f37fcbd usp10: Fix a memory leak.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker 3840de5b1e msi/tests: Loosen check on kernel32 language version. 2009-12-07 14:18:29 +01:00
Hans Leidekker 4a22c88b37 wininet: Cleanup any existing cache file before creating a new one.
Otherwise we leak the file name and handle when a request is sent again.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Alexandre Julliard 13608c8b18 gdi32: Avoid use of some 16-bit types. 2009-12-07 14:18:29 +01:00
Alexandre Julliard 1ac23b9b0f gdi32: Don't include wingdi16.h by default. 2009-12-07 14:18:29 +01:00
Alexandre Julliard 4edcf1caa5 gdi32: Make gdi.exe into a stand-alone 16-bit module. 2009-12-07 14:18:29 +01:00
Alexandre Julliard fc55cdcd59 gdi32: Stop exporting the 16-bit print job functions. 2009-12-07 14:18:28 +01:00
Alexandre Julliard cc2d6f330f wineps.drv: Don't include 16-bit headers in psdrv.h. 2009-12-07 14:18:28 +01:00
Alexandre Julliard 9a05f3143f wineps.drv: Duplicate the print job support from 16-bit GDI. 2009-12-07 14:18:28 +01:00
Alexandre Julliard 7f6b6eb344 wineps.drv: Add a wrapper function for WriteSpool16. 2009-12-07 14:18:28 +01:00
Vincent Povirk 8b154a590e gdiplus: Fix cleanup after errors in GdipCloneImage. 2009-12-07 14:18:28 +01:00
Vincent Povirk bf04d3fa69 gdiplus: Implement GdipCloneBitmapArea. 2009-12-07 14:18:28 +01:00
Marcus Meissner 4c36f79964 rpcrt4: Fixed array_compute_and_size_conformance on strings (Coverity). 2009-12-07 14:18:28 +01:00
Jacek Caban 8d44d63849 jscript: Don't pass EXPR_NEWREF flag to evaluate member expression in array_expression_eval. 2009-12-07 14:18:28 +01:00
Jacek Caban f1a543d546 mshtml: Added test for setting VT_EMPTY event handler. 2009-12-07 14:18:28 +01:00
Jacek Caban f3d805862a mshtml: Don't pass fdexNameEnsure flag to script engines in find_global_prop. 2009-12-07 14:18:28 +01:00
Paul Vriens 19f4c42f99 advapi32/tests: Fix some test failures when the computername is fully qualified. 2009-12-07 14:18:27 +01:00
Huw Davies 63231be804 setupapi: Fix memory leak.
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Nikolay Sivov e5e17ca438 msvcrt/tests: Free temporary file name after test. 2009-12-07 14:18:27 +01:00
Huw Davies 1cc0dd5c57 ntdll: Fix a few memory leaks in tests.
Found by Valgrind.
2009-12-07 14:18:27 +01:00