Commit Graph

29376 Commits

Author SHA1 Message Date
Rob Shearman 67a213fc1e oleaut32: Try to re-use existing memory when unmarshalling variants with byref types. 2007-12-07 16:34:28 +01:00
Rob Shearman baccba317e oleaut32: Don't call SafeArrayAllocData in LPSAFEARRAY_UserUnmarshal if we called SafeArrayCreateEx instead of SafeArrayAllocDescriptor.
Otherwise, we'll leak memory.
2007-12-07 16:34:23 +01:00
Rob Shearman 2ebee18198 rpcrt4: Improve PointerFree to not free buffer memory. 2007-12-07 16:34:17 +01:00
Stefan Dösinger f700cbe74b wined3d: Add an alpha blending test. 2007-12-07 16:26:43 +01:00
Stefan Dösinger f29d947f6a ddraw: Set X8R8G8B8 for 32 bpp. 2007-12-07 16:26:31 +01:00
Stefan Dösinger 0e8c13e630 wined3d: A more detailed occlusion query test and fixes. 2007-12-07 15:27:11 +01:00
Stefan Dösinger 54fa712981 wined3d: Initialize output texcoord .w to 1.0 if needed.
The GL_ARB_vertex_program extension does not define a standard value for
output texture coordinates. This makes problems when using vertex
shaders with fixed function fragment processing because fffp divides the
texture coords by its .w component. This means that gl shaders have to
write to the .w component of texture coords. Direct3D shaders however
do not.
2007-12-07 14:54:22 +01:00
Francois Gouget 6cdbb96b27 wininet/tests: Remove trailing spaces in ok() calls. 2007-12-07 14:53:25 +01:00
Francois Gouget b8ee557386 inetcomm/tests: Fix compilation on systems that don't support nameless unions. 2007-12-07 14:53:03 +01:00
Francois Gouget 842450e96b inetcomm: Fix compilation on systems that don't support nameless unions. 2007-12-07 14:53:00 +01:00
Francois Gouget 90834020da ddraw: Modify DDRAW_dump_(DWORD|PTR|DDCOLORKEY|DDSCAPS2|pixelformat)() to print a trailing '\n'. 2007-12-07 14:52:56 +01:00
Francois Gouget 6a8f961e08 ddraw: Rename DDRAW_dump_flags_() to DDRAW_dump_flags_nolf() to clarify its difference from DDRAW_dump_flags(). 2007-12-07 14:52:51 +01:00
Michael Stefaniuc 64b7359265 user32/tests: Pass HEAP_ZERO_MEMORY to HeapAlloc() instead of clearing the memory with a separate memset() call. 2007-12-07 14:52:45 +01:00
Alexandre Julliard 0861141725 ntdll: Support delayed loading of modules referenced by forwarded entry points. 2007-12-06 21:43:54 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Jacek Caban d371b8b5f0 hlink: Added IHttpNegotiate interface to ExtensionService. 2007-12-06 14:52:51 +01:00
Jacek Caban e35e27de4c mshtml: Added HTMLTxtRange::Exec(IDM_INDENT) test. 2007-12-06 14:52:38 +01:00
Jacek Caban f5a8a450b2 mshtml: Added HTMLTxtRange::Exec(IDM_INDENT) implementation. 2007-12-06 14:52:33 +01:00
Jacek Caban 8d08592018 mshtml: Fixed ref counting. 2007-12-06 14:52:23 +01:00
Jacek Caban 23393756dd mshtml: Added IHTMLStyleSheetRulesCollection::get_length implementation. 2007-12-06 14:52:13 +01:00
Jacek Caban 4ac1ba130a mshtml: Added IHTMLStyleSheet::get_rules implementation. 2007-12-06 14:52:08 +01:00
Jacek Caban da39170029 mshtml: Added more DOM tests. 2007-12-06 14:50:06 +01:00
Roy Shea b655da6412 qmgr: Renamed bits_main.c to qmgr_main.c and updated comments. 2007-12-06 14:45:24 +01:00
Stefan Dösinger 1cc7530332 wined3d: Ignore unused attributes when generating the swizzle array. 2007-12-06 13:48:59 +01:00
Stefan Dösinger f4d2449244 wined3d: Test clearing regarding the scissor test and colorwrite. 2007-12-06 13:48:43 +01:00
Peter Oberndorfer 429d0d3eb3 comctl32: EnumMRUListA/W fix getting list size by negative item pos. 2007-12-06 13:43:53 +01:00
Peter Oberndorfer dac63ff680 comctl32: Add EnumMRUList tests. 2007-12-06 13:43:49 +01:00
Alexandre Julliard a76d60c5ab shell32: Fix some wrc warnings. 2007-12-06 12:43:05 +01:00
Luis C. Busquets Pérez be3e29738c browseui: Add Spanish resource. 2007-12-06 12:13:20 +01:00
Luis C. Busquets Pérez cba3c81f6e shell32: Update Spanish resource. 2007-12-06 12:13:12 +01:00
Luis C. Busquets Pérez 6208d4153e mshtml: Update Spanish resource. 2007-12-06 12:13:08 +01:00
Alexander Nicolaysen Sørnes 84e945f180 shell32: Handle backspace key in shellview. 2007-12-06 12:13:02 +01:00
Alexander Nicolaysen Sørnes b259c4ae80 shell32: Localize 'new folder' string. 2007-12-06 12:12:57 +01:00
Rob Shearman 1b79da8be0 rpcrt4: Fix a memory leak caused by NdrFullPointerXlatFree not freeing the entries in the full pointer translation table. 2007-12-06 12:08:10 +01:00
Rob Shearman 867cc3c05f rpcrt4: Fix a memory leak when freeing an association by deleting the critical section. 2007-12-06 12:08:05 +01:00
Rob Shearman 5fb5fccac0 rpcrt4: Fix a memory leak in RpcAssoc_BindConnection. 2007-12-06 12:08:00 +01:00
Andrew Talbot 1f73a97a5a ddraw: Remove unneeded casts. 2007-12-06 12:07:41 +01:00
Andrew Talbot f2df3d7582 cabinet: Remove unneeded casts. 2007-12-06 12:07:36 +01:00
Michael Stefaniuc a084d1db62 mshtml: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-12-06 12:07:30 +01:00
Michael Stefaniuc d457af740d kernel32: Pass HEAP_ZERO_MEMORY to HeapAlloc() instead of clearing the memory with a separate memset() call. 2007-12-06 12:07:17 +01:00
Michael Stefaniuc d117938f7a secur32: Remove the SECUR32_ALLOC() macro around HeapAlloc(). 2007-12-06 12:07:12 +01:00
Rob Shearman 1c28273686 mshtml: Use the correct deallocator in the htmldoc tests for the memory returned by IMoniker_GetDisplayName and fix a use-after-free error. 2007-12-06 12:07:02 +01:00
Rob Shearman 3328ad6eb9 ole32: Initialise object variable in RunningObjectTableImpl_GetObject.
As per the rules for memory in RPC, the memory pointer to by object will 
be used during unmarshalling and previously it was uninitialised.
(Thanks to Dan Kegel and his Valgrind runs for reporting this.)
2007-12-06 12:06:56 +01:00
Alexander Nicolaysen Sørnes 68953bc5b3 credui: Update Norwegian resources. 2007-12-06 12:06:09 +01:00
Alexander Nicolaysen Sørnes b25bc9220b mshtml: Update Norwegian resources. 2007-12-06 12:06:05 +01:00
Alexander Nicolaysen Sørnes 8a00cb7be5 browseui: Add Norwegian resources. 2007-12-06 12:05:58 +01:00
Paul Vriens 5e30e5a0f2 kernel32/tests: Test for functions should be or-ed. 2007-12-06 12:05:37 +01:00
Gerald Pfeifer 25301a76e6 icmp: Correctly handle underflow in IcmpSendEcho(). 2007-12-06 12:05:29 +01:00
Alexandre Julliard a5e38b332d server: Partial implementation of NtQueryDirectoryObject. 2007-12-05 16:57:41 +01:00
Alexandre Julliard d30b5742ed server: Implemented EnumWindowStations and EnumDesktops. 2007-12-05 16:45:32 +01:00
Rob Shearman 13e47d762a rpcrt4: Set the memory pointer in NdrBaseTypeUnmarshall to the buffer if we're unmarshalling on a server without memory being passed in. 2007-12-05 13:49:08 +01:00
Rob Shearman 17132f7e1f rpcrt4: Set fMustAlloc to TRUE when unmarshalling an object pointer. 2007-12-05 13:48:59 +01:00
Paul Vriens 0ada917873 kernel32: Make tests run on Win98 again. 2007-12-05 13:48:57 +01:00
Luis C. Busquets Pérez 07cb7c6626 d3dx8: Implementation of D3DXAssembleShaderFromFileA. 2007-12-05 13:48:05 +01:00
Alexandre Julliard dfc0564993 winmm/tests: Don't mess with the mixer controls in non-interactive mode. 2007-12-05 13:47:30 +01:00
Gerald Pfeifer f4ec0a209b wined3d: Fix error handling in fixed_get_input(). 2007-12-05 13:47:10 +01:00
Tim Schwartz 65d2f8a68d advapi32: service_control_dispatcher(): Fixed invalid pipe test to display GetLastError() before it gets overwritten. 2007-12-05 13:47:00 +01:00
Aric Stewart 9649ca2aa2 commdlg: File name and extension offsets are not guaranteed to be the same in W->A conversions. 2007-12-05 13:46:48 +01:00
Alexandru Balut 90d8741d23 oleaut32: Implement VarWeekdayName + tests. 2007-12-05 13:46:42 +01:00
Vitaly Lipatov 914e78aeb5 winspool.drv: Fix buffer sizes. 2007-12-05 13:32:24 +01:00
Vitaly Lipatov 2dcb7b5d5c shell32: Use sizeof instead of constant for buffer size. 2007-12-05 13:32:15 +01:00
Vitaly Lipatov 768c5000f3 midimap: Fix buffer sizes. 2007-12-05 13:31:58 +01:00
Vitaly Lipatov 23db2636fc avifil32: Fix buffer sizes. 2007-12-05 13:31:53 +01:00
Vitaly Lipatov 1dc28c904c oledlg: Add Russian translation. 2007-12-05 13:31:46 +01:00
Vitaly Lipatov e3b4ebebf4 oledlg: Use wide strings, fix buffers size. 2007-12-05 13:31:35 +01:00
Alexandre Julliard 0f6e826fe0 kernel32: Remove the no-exec fault workaround, it shouldn't be needed anymore. 2007-12-05 12:35:47 +01:00
Andrew Riedi 63f4b6f024 ddraw: DPRINTF -> TRACE. 2007-12-05 12:34:33 +01:00
Andrew Riedi 6de3bbc557 comdlg32: DPRINTF -> TRACE. 2007-12-05 12:34:23 +01:00
Jonathan Ernst 5147ad24b6 mshtml: Updated French translation. 2007-12-05 12:21:50 +01:00
Dmitry Timoshkov a7dba33cf3 winex11.drv: Use registry settings as a default display mode. 2007-12-05 12:21:32 +01:00
Dmitry Timoshkov e388a49308 winex11.drv: Don't forget to initialize dmFields. 2007-12-05 12:21:10 +01:00
James Hawkins 383a8a5b92 msi: Reimplement MsiGetComponentPath. 2007-12-05 12:08:04 +01:00
James Hawkins ced84f5b53 msi: Add tests for MsiGetComponentPath. 2007-12-05 12:07:35 +01:00
Jacek Caban 5f3dd23f10 shlwapi: Uncomment IUnknown_EnableModeless code. 2007-12-05 12:07:05 +01:00
Jacek Caban 92223c19f9 mshtml: Improve debug traces. 2007-12-05 12:07:00 +01:00
Jacek Caban 87e2bb3e63 mshtml: Return NULL instead of empty string in IHTMLBodyElement::get_background. 2007-12-05 12:06:51 +01:00
Roy Shea 91d07f6995 wininet: Added check of dwStructSize required by Windows in calls to InternetCrackUrlA. 2007-12-05 12:05:37 +01:00
Roy Shea 7903d7f3f4 wininet: Removed inline from copy_compsA and zero_compsA to allow Windows testing. 2007-12-05 12:05:10 +01:00
Louis Lenders 8946d462aa msvcrt40: Add DllMain. 2007-12-05 12:05:04 +01:00
Andrew Talbot f2223dbe79 dbghelp: Remove unneeded casts. 2007-12-05 12:04:48 +01:00
Andrew Talbot 77c8a1594d d3d9: Remove unneeded casts. 2007-12-05 12:04:44 +01:00
Andrew Talbot cd2964483a d3d8: Remove unneeded casts. 2007-12-05 12:04:39 +01:00
Gerald Pfeifer 42677e25f7 comctl32: Simplify condition based on WPARAM always being >= 0. 2007-12-04 18:42:24 +01:00
Gerald Pfeifer 81f32c7a38 wined3d: Fix error handling in transform_texture(). 2007-12-04 18:41:45 +01:00
Gerald Pfeifer a030777f74 msvcrt: Fix error handling in _aligned_offset_realloc(). 2007-12-04 18:41:36 +01:00
Guido Barzini 00a961c5d4 iphlpapi: Restore lost initialisation of ptr->AddressLength in GetAdaptersInfo. 2007-12-04 18:41:18 +01:00
Dmitry Timoshkov 718e71300c user32: Make sure the desktop window is created before mode enumeration. 2007-12-04 18:40:54 +01:00
Rob Shearman c866b06806 rpcrt4: Add tests for a pointer to a conformant strings. 2007-12-04 18:18:03 +01:00
Rob Shearman 2a9fae7565 rpcrt4: Set the destination pointer in PointerUnmarshall before calling the referenced type's unmarshalling routine.
When a pointer that is dereferenced is encountered then this can result 
in a stale pointer (i.e. the one that is marshalled into the buffer for 
the embedded pointer unmarshalling case) being used instead of the one 
that was intended.
2007-12-04 18:18:01 +01:00
Jacek Caban b12ebbdaca mshtml: Added DIID_HTMLTableEvents connection point. 2007-12-04 18:17:29 +01:00
Jacek Caban cd68aacbbc mshtml: Move HTMLTextContainerEvents connection point to HTMLTextContainer object. 2007-12-04 18:17:21 +01:00
Jacek Caban 2bcd1f0e9e mshtml: Added IConnectionPointContainer iface to all HTMLElement objects. 2007-12-04 18:17:17 +01:00
Jacek Caban a9e77575b3 mshtml: Initialize HTMLElement in the beginning of constructors. 2007-12-04 18:17:13 +01:00
Jacek Caban a1bdef2d62 mshtml: Make IConnectionPointContainer more flexible. 2007-12-04 18:17:08 +01:00
James Hawkins 440af17322 msi: Test the CompLocator subset of the AppSearch action. 2007-12-04 18:17:01 +01:00
Stefan Dösinger 1ac109e5a0 wined3d: Use the proper drawable size when clearing. 2007-12-04 14:32:39 +01:00
Stefan Dösinger fce9abd095 wined3d: Clear honors the viewport. 2007-12-04 14:32:39 +01:00
Stefan Dösinger bd10d5261f wined3d: Fixes for drawable handling in Clear. 2007-12-04 14:32:39 +01:00
Stefan Dösinger a4461e03f7 wined3d: Disable the scissor test when blitting. 2007-12-04 14:32:39 +01:00
Stefan Dösinger fcb49934d0 wined3d: Retrieve the height properly when setting the viewport. 2007-12-04 14:32:39 +01:00
Stefan Dösinger 8689fe32c6 wined3d: Use the proper drawable size when setting the scissor rect. 2007-12-04 14:32:39 +01:00
Stefan Dösinger 9bc6200ece wined3d: Add a method for querying the gl drawable size of rendertarget. 2007-12-04 14:32:39 +01:00
Andrew Talbot a06caa0e66 crypt32: Remove unnecessary casts. 2007-12-04 14:32:39 +01:00
Andrew Talbot 750a56016d comdlg32: Remove unnecessary casts. 2007-12-04 14:32:39 +01:00
Jonathan Ernst 4723cf938b browseui: Updated French translation. 2007-12-04 13:38:48 +01:00
Jonathan Ernst b019200a1e shell32: Updated French translation. 2007-12-04 13:38:40 +01:00
Rob Shearman a016d7b335 rpcrt4: Handle all non-continuable exceptions in CStdStubBuffer_Invoke. 2007-12-04 13:33:10 +01:00
Rob Shearman b711d35d40 ole32: Fix the test of the size returned from WdtpInterfacePointer_UserSize.
It varies on different versions of Windows, so we shouldn't test it for 
an exact value.
2007-12-04 13:32:45 +01:00
Rob Shearman 6dcc3fe62e rpcrt4: Put the delegating stub thunks in an executable memory page, rather than on the heap. 2007-12-04 13:32:41 +01:00
Rob Shearman 341208bf1b rpcrt4: Call IRpcChannelBuffer_GetDestCtx in NdrStubInitialize, just like we do in NdrProxyInitialize. 2007-12-04 13:32:29 +01:00
Rob Shearman f191f59ee4 rpcrt4: Flesh out more of the IRpcChannelBuffer vtable to make the test_delegating_Invoke test succeed on Windows. 2007-12-04 13:31:59 +01:00
Hans Leidekker 8f3afb4120 kernel32: Implement and test {G, S}etConsoleInputExeName{A, W}. 2007-12-03 16:03:23 +01:00
Hans Leidekker 8487c2dd2a gdi32: Implement GetTextExtentExPointI. 2007-12-03 15:54:05 +01:00
Alexandre Julliard 7a4e3a1011 shell32: Get rid of the internal _InsertMenuItem function. 2007-12-03 15:49:51 +01:00
Alexander Nicolaysen Sørnes cf8c1d60a1 shell32: Localize file context menu. 2007-12-03 14:56:30 +01:00
Zac Brown 6ad1ef7a28 wininet: Add test for FtpGetCurrentDirectoryA in wininet/tests/ftp.c. 2007-12-03 14:50:52 +01:00
Zac Brown b9b900f4b8 wininet: Fix FtpGetCurrentDirectoryW to handle bad input. 2007-12-03 14:50:47 +01:00
Detlef Riekenberg b94ebc4ebf schannel: Add version resource. 2007-12-03 14:44:18 +01:00
Detlef Riekenberg 6c0f85c8a6 rsabase: Add version resource. 2007-12-03 14:44:07 +01:00
James Hawkins c77d200f27 msi: Add a stub implementation of MsiEnumComponentCostsW. 2007-12-03 14:03:11 +01:00
James Hawkins b57a2f93a9 msi: Implement the Version property of the Installer object. 2007-12-03 14:03:06 +01:00
James Hawkins 6a30e1b0b4 msi: Test the CCPSearch action. 2007-12-03 14:03:00 +01:00
Alexandre Julliard 3ae370dc71 ntdll: Added a sleep in NtGet/SetContextThread, a yield is not enough on some kernels. 2007-12-03 13:55:25 +01:00
James Hawkins 80bbf58378 msi: Use a hash table for reordering rows in a WHERE query to conserve space. 2007-12-03 13:44:46 +01:00
Stefan Dösinger 79e13d17be wined3d: Add parentheses to a flag check. 2007-12-03 13:44:41 +01:00
Stefan Dösinger 7ba04e6132 wined3d: Detect the Intel GPU in macbooks. 2007-12-03 13:44:31 +01:00
Stefan Dösinger 8804a972d9 wined3d: Unify bpp to format conversion. 2007-12-03 13:44:18 +01:00
Stefan Dösinger 3cc253c557 wined3d: Enabling too many lights is silently ignored.
I'm resending this patch because my reply to Henri's concern came too late. 
Henri noted that I am enabling lights that do not exist. Existing tests show 
that if no light is assigned to the index, LightEnable creates a light with a 
set of default parameters, so the tests should be fine.

From 9ee4c61805b50886f79e87d744b52f27b7b00b4e Mon Sep 17 00:00:00 2001
From: Stefan Doesinger <stefan@codeweavers.com>
Date: Thu, 29 Nov 2007 13:22:47 +0100
Subject: [PATCH] WineD3D: Enabling too many lights is silently ignored

This patch adds tests for all d3d versions that show that Windows
pretends that enabling more lights than supported succeeds. D3D_OK is
returned, and the light is reported as enabled.

What is not tested in this patch is the rendering output of this
situation, thus the FIXME is still written.
2007-12-03 13:44:07 +01:00
Stefan Dösinger 0f39b29da0 wined3d: mov to a0.x does a floor(), not a round to nearest. 2007-12-03 13:43:54 +01:00
Andrew Riedi 3d08d32a42 user32: Add a FIXME for animated cursors. 2007-12-03 13:18:50 +01:00
Andrew Riedi 0e568af828 winealsa.drv: Fix a comment. 2007-12-03 13:18:44 +01:00
Gerald Pfeifer 04cb111efc wined3d: Fix handling of a special case in IWineD3DImpl_FillGLCaps() and adjust type of loop variable. 2007-12-03 13:17:54 +01:00
Gerald Pfeifer a20f4a6bbf comctl32: Remove extraneous check (unsigned < 0). 2007-12-03 13:17:42 +01:00
Andrew Talbot 1bf787d521 comctl32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Andrew Talbot 263cb72e13 advapi32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Andrew Talbot b3e56e9d0b cabinet: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Rob Shearman a4450f0af9 d3dx8: Initialise temp in D3DXQuaternionInverse to avoid a uninitialised variable warning with some versions of gcc. 2007-12-03 13:10:21 +01:00
Rob Shearman 620fca405d rpcrt4: Test that the string retrieved from get_name was actually unmarshalled correctly. 2007-12-03 13:10:21 +01:00
Rob Shearman d8e467b0fd rpcrt4: Reverse the conditions for which *pPointer is assigned base_ptr_val in PointerUnmarshall.
In one condition (fMustAlloc == TRUE), base_ptr_val may be uninitialised
and so cause a valgrind warning. Reversing the check is harmless and
doesn't result in a performance decrease.
2007-12-03 13:10:21 +01:00
Rob Shearman eef207e3f1 rpcrt4: Initialise the memory in test_simple_struct_marshal before passing it to NdrSimpleStructUnmarshall.
Otherwise, the unmarshalling code will read from unintialised memory
when trying to reuse the embedded pointers in the memory block.

Also fix a couple of memory leaks.
2007-12-03 13:10:21 +01:00
Rob Shearman 31b2d81ea0 ole32: Ignore the threading model of the PSFactoryBuffer object created during standard marshaling.
This is so that we don't try to host it.
2007-12-03 11:55:00 +01:00
Rob Shearman f65e04770d ole32: Always create a window for the main apartment. 2007-12-03 11:54:16 +01:00
Rob Shearman 9f8d379fb3 include: Move Wine-specific EH_* defines from winnt.h to include/wine/exception.h. 2007-12-03 11:54:10 +01:00
Rob Shearman 656618310b oleaut32: Implement OLEPictureImpl_GetIDsOfNames. 2007-12-03 11:52:13 +01:00
Paul Vriens b3a85a3fc4 kernel32: Add some simple tests for GetVersionExA. 2007-12-03 11:52:01 +01:00
Jacek Caban 29d66b48ef mshtml: Added IHTMLElement2::get_dir implementation. 2007-12-03 11:51:56 +01:00
Jacek Caban 77ee756c91 mshtml: Added IHTMLTable interface stub implementation. 2007-11-30 14:21:13 +01:00
Francois Gouget c186233892 d3dx8/tests: Fix compilation on systems that don't support nameless unions. 2007-11-30 14:20:39 +01:00
Stefan Dösinger abf5240310 user32: Destroying the current cursor results in an error. 2007-11-30 14:01:34 +01:00
Stefan Dösinger 94cd8c276a wined3d: Remove the X channel fixup in render target unlocking. 2007-11-30 14:01:34 +01:00