Commit Graph

29494 Commits

Author SHA1 Message Date
Alex Villacís Lasso 99f0dc4ff4 riched20: WM_GETTEXT should return 0 on overflow but fill buffer anyway. 2007-12-07 17:06:53 +01:00
Alex Villacís Lasso 4545f1944e riched20: EM_GETTEXTEX with GT_USECRLF should not leave a single CR when running out of space. 2007-12-07 17:06:45 +01:00
Rob Shearman 7092590c90 rpcrt4: Use an alertable wait in rpcrt4_protseq_np_wait_for_new_connection to fix a small memory leak flagged by Valgrind.
This is called only by the RPCRT4_server_thread so we don't have to 
worry about application user APCs being run at improper times.
2007-12-07 17:06:33 +01:00
Rob Shearman 83a02c545c oleaut32: Fix a leak of the typelib in the tmarshal tests. 2007-12-07 17:06:20 +01:00
Rob Shearman d7682104e6 oleaut32: Fix two memory leaks in the test for DispCallFunc. 2007-12-07 17:06:15 +01:00
Rob Shearman bc9b5c22fe oleaut32: Fix a reference count leak of the TMarshalDispatchChannel. 2007-12-07 17:06:13 +01:00
Rob Shearman 5d88c0cbad rsaenh: Fix some leaks of the provider handle in the rsaenh tests. 2007-12-07 17:06:08 +01:00
Rob Shearman ba6aec70ca rpcrt4: Implement NdrConformantStructFree. 2007-12-07 17:06:05 +01:00
Lei Zhang 2d1a6016c9 quartz: Validate input for IFilterGraph_FindFilterByName. 2007-12-07 17:04:34 +01:00
Lei Zhang 31aab42934 quartz: Fix return value in IFilterGraph_FindFilterByName. 2007-12-07 17:04:26 +01:00
Lei Zhang 646eefaa47 quartz: Add some IGraphBuilder related tests. 2007-12-07 17:04:15 +01:00
Lei Zhang 4ab6fd3de0 quartz: Add a test for IFilterGraph2. 2007-12-07 17:03:39 +01:00
Lei Zhang f84f4cab70 quartz: Move current tests into their own test case. 2007-12-07 17:03:27 +01:00
Francois Gouget 5f7a9cea38 Assorted spelling fixes. 2007-12-07 16:35:32 +01:00
Jonathan Ernst 1c7787e69d Updated French translation. 2007-12-07 16:34:57 +01:00
Rob Shearman 34ab21d11e ole32: Register the window used in the marshal tests only once.
Destroy the windows that have been created when they are no longer needed.
2007-12-07 16:34:48 +01:00
Rob Shearman cf48f090f1 mshtml: Fix a memory leak in the htmldoc tests. 2007-12-07 16:34:40 +01:00
Rob Shearman 2a9168e586 oleaut32: Set the number of locks held on the safe arrays in the safe array tests to zero before destroying them, otherwise the operation will fail and leak memory. 2007-12-07 16:34:36 +01:00
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
Stefan Leichter db24d3af9a kernel32: Added stub for FindVolumeClose. 2007-11-30 12:43:59 +01:00
Michael Stefaniuc 2ad6cc19b7 urlmon: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-11-30 12:43:42 +01:00
Sven Paschukat a080af035e ctapi32: Added null terminator to library name. 2007-11-30 12:43:37 +01:00
Rob Shearman c735a14788 rpcrt4: Fix NdrSimpleStructUnmarshall to cope with [in, out] embedded pointers. 2007-11-30 11:56:30 +01:00
Rob Shearman b676309db3 rpcrt4: Improve PointerUnmarshall to cope with keeping the non-NULL source pointer of a client unmarshall.
This will enable various types with embedded pointers to handle [in,out] 
parameters correctly by keeping the existing memory.
2007-11-30 11:56:21 +01:00
Rob Shearman 4e8f69ac2d rpcrt4: Move forcing of fMustAlloc to NULL to the callers of EmbeddedPointerUnmarshall.
This will enable them to be individually fixed up to use memory if it 
was provided by the caller.
2007-11-30 11:56:11 +01:00
Rob Shearman 43e0c67fe2 rpcrt4: EmbeddedPointerUnmarshall doesn't need to change the address of the allocated memory, so reduce the level of indirection of the memory parameter by one. 2007-11-30 11:56:04 +01:00
Rob Shearman 34522de870 rpcrt4: Errors in sending or receiving packets should result in RPC_S_CALL_FAILED being returned, not RPC_S_PROTOCOL_ERROR. 2007-11-30 11:55:50 +01:00
Louis Lenders defbdf76e5 advapi32: Add stub for CreateProcessWithLogonW. 2007-11-29 15:46:50 +01:00
Gerald Pfeifer 24186d42da gdi32: Fix the type of two loop variables. 2007-11-29 15:36:49 +01:00
Gerald Pfeifer 2ff2d88510 user32: Reduce scope of variable in ICO_ExtractIconExW() and initialize it. 2007-11-29 15:35:09 +01:00
Gerald Pfeifer 3ce295a1ef kernel32: Handle default case in Local32_FromHandle(). 2007-11-29 15:33:15 +01:00
Aric Stewart b314f13219 coreaudio: Verify valid lineId in MIXER_GETLINECONTROLSF_ONEBYTYPE. 2007-11-29 15:32:09 +01:00
Aric Stewart 35ecb1b6ee winmm: Correct check for MIXER_GETLINECONTROLSF_ONEBYTYPE in mixerGetLineControlsA. 2007-11-29 15:32:03 +01:00
Marco Schuster 15e1c57141 wined3d: Added a card ID for a 8600 Mobile GT. 2007-11-29 15:31:54 +01:00
Andrew Talbot fd03f4ae86 advapi32: Fix a typo. 2007-11-29 13:39:16 +01:00
James Hawkins 33a4fe19de msi: Don't check for the media or cabinet if the cabinet is internal. 2007-11-29 13:37:13 +01:00
James Hawkins 32d3ffc5c5 msi: Make sure attr is valid before checking for the directory bit. 2007-11-29 13:37:07 +01:00
Stefan Dösinger d09cbcec91 wined3d: Activate GL_ARB_texture_rectangle. 2007-11-29 13:36:55 +01:00
Stefan Dösinger 8964336b37 wined3d: Refuse to create a mipmapped conditional np2 texture. 2007-11-29 13:36:47 +01:00
Stefan Dösinger 3fd0916654 wined3d: Make the code aware of GL_ARB_texture_rectangle. 2007-11-29 13:36:37 +01:00
Stefan Dösinger 0cfa7f99e6 wined3d: Add GL_ARB_texture_rectangles to our opengl extensions. 2007-11-29 13:36:16 +01:00
Stefan Dösinger 7925ef35cd wined3d: Avoid hardcoding GL_TEXTURE_2D. 2007-11-29 13:36:05 +01:00
Stefan Dösinger 4dbee07ff5 wined3d: Disable GL_TEXTURE_2D in the standard blit setup. 2007-11-29 13:35:53 +01:00
Rob Shearman 5c53b52c5a ole32: Fix a test in the WdtpInterfacePointer tests. 2007-11-29 13:35:14 +01:00
Rob Shearman 95b6167244 ole32: Fix description of what is being test in ok calls in the WdtpInterfacePointer tests. 2007-11-29 13:35:10 +01:00
Juan Lang 83f74fef2c crypt32: Support setting the salt value through KP_SALT_EX. 2007-11-29 13:34:56 +01:00
Juan Lang c9e0fa442a crypt32: Support getting and setting the KP_PADDING key param. 2007-11-29 13:34:50 +01:00
Rob Shearman 8668369b4f rpcrt4: Fix an integer overflow in NdrConformantStructMarshall and NdrConformantStructUnmarshall. 2007-11-29 13:31:05 +01:00
Rob Shearman 074898ba2b rpcrt4: Fix some more potential buffer overflows. 2007-11-29 13:30:58 +01:00
Rob Shearman 5a3c34eb89 rpcrt4: Check there is enough space in the buffer and that the size doesn't cause an overflow when copying data to it. 2007-11-29 13:30:21 +01:00
Rob Shearman d0223ecc0e rpcrt4: Check for integer overflows when increasing the buffer length.
Rename safe_buffer_copy to safe_copy_from_buffer.
2007-11-29 13:30:04 +01:00
Lionel Debroux 51d6a08d57 msvcrt: Test more offsets for _aligned_offset_realloc (especially offset > alignment). 2007-11-28 13:52:22 +01:00
Lionel Debroux 3e9fbd89d2 msvcrt: Fix _Aligned_offset_realloc (move correct block of memory); add a comment to explain why. 2007-11-28 13:52:07 +01:00
Divan Burger 1aff3528cf user32, wine.inf: Enable title bar gradients and match colours with win2k. 2007-11-28 13:41:06 +01:00
Alistair Leslie-Hughes 9c6fca1ff7 urlmon: The callback parameter can be null, check pointer before using. 2007-11-28 13:40:29 +01:00
Aric Stewart fd812bdc1a winecoreaudio: Implement WIDM_GETPOS. 2007-11-28 13:40:29 +01:00
Alexandre Julliard 57d1548b51 wined3d: Add printf format checking to the shader_addline function and fix resulting warnings. 2007-11-28 13:40:29 +01:00
Stefan Dösinger 218de935d1 wined3d: Fix a sign mistake in the code creating the sorted attrib. 2007-11-28 13:40:29 +01:00
Stefan Dösinger a0127f2e1f wined3d: Allow using a different internal format for fbos.
OpenGL drivers do not support some low precision internal formats
like GL_RGB5 for fbo color targets. Direct3D application depend on them,
so provide a fallback format for render targets if the requested format
itself is not supported.
2007-11-28 13:40:29 +01:00
Stefan Dösinger 28170c1440 wined3d: Report some more geforce 7 cards as geforce 7. 2007-11-28 13:40:29 +01:00
Stefan Dösinger 3f32847494 wined3d: Do not try to disable unsupported texture units. 2007-11-28 13:40:28 +01:00
Stefan Dösinger 0353d031bc wined3d: Add some missing checkGLcall calls. 2007-11-28 13:40:28 +01:00
Stefan Dösinger c66a3be49b wined3d: Work around nvidia beta driver bug. 2007-11-28 13:40:28 +01:00
Stefan Dösinger b91c19af87 wined3d: Inform the texture about filtering changes.
The surface_blt_to_drawable function changes the filtering settings of
the texture object, but without informing the container about this
change. This patch makes sure that the basetexture knows about this and
reapplies the changed states to the settings chosen by the app.
2007-11-28 13:40:28 +01:00
Rob Shearman f96ff7d46e advapi32: Make the credential registry key stay around if a persist value longer than session is specified. 2007-11-28 11:23:56 +01:00
Rob Shearman c251100685 advapi32: Use the open_for_write parameter to open_cred_mgr_key and fix get_cred_mgr_encryption_key to not need KEY_WRITE access to the key passed in. 2007-11-28 11:23:54 +01:00
Juan Lang 749a7adaf4 rsaenh: Empty container names are allowed for CRYPT_VERIFYCONTEXT contexts. 2007-11-28 11:20:20 +01:00
Juan Lang fa6b64d6fc crypt32: Add CERT_STORE_ADD_NEWER support to CertAddCertificateContextToStore. 2007-11-28 11:20:11 +01:00
Juan Lang ab55435ef1 crypt32: Implement finding an existing certificate in a store. 2007-11-28 11:20:06 +01:00
Michael Stefaniuc b3ff6803c0 dnsapi: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-11-28 11:19:58 +01:00
Michael Stefaniuc ac527f1e6c shdocvw: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-11-28 11:19:46 +01:00
Rob Shearman 241b25b5bd oleaut32: Handle integer overflow of len in SysReAllocStringLen and SysAllocStringByteLen. 2007-11-28 11:19:10 +01:00
Lionel Debroux ec80b544e1 ntdll: Trace arena magics (may help debugging some heap corruptions). 2007-11-28 11:17:56 +01:00
Stefan Leichter d12793a2b5 d3dx8: Add WINAPI to the prototypes of D3DXMatrixTransformation. 2007-11-28 11:16:25 +01:00
Anatoly Lyutin 704c399237 msi: Fix invalid SQL query. 2007-11-28 11:14:42 +01:00
Rob Shearman e68371040f oleaut32: Introduce a new helper function, TLB_FreeCustData, for freeing custom data.
Fix memory leaks caused by the variable and interface custom data not 
being freed properly.
2007-11-28 11:14:13 +01:00
Rob Shearman aaa6c4007f oleaut32: Free the correct custom data inside ITypeInfo_fnRelease.
Since the code is inside the loop for function data, it should be 
freeing the function's custom data, not the interface's.
2007-11-28 11:14:07 +01:00
Rob Shearman 01826e0c98 wininet: Don't clear the auth data for Basic authentication in HTTP_InsertAuthorizationForHeader.
It isn't tracked per connection, unlike NTLM authentication, and so the 
server will return a 401 error and try to get us to authenticate again. 
However, this doesn't work as the authentication information is assumed 
by the code to be valid for the whole connection.
2007-11-27 16:42:26 +01:00
Rob Shearman 4171309731 rpcrt4: Fix the tests for up_enum16.
It is different to the other base types as it has a different size on 
the wire to in memory, so it can't just be set to the buffer when 
unmarshalling.
2007-11-27 16:42:17 +01:00
Rob Shearman 0f9e568933 credui: Fix a test failure on Windows XP. 2007-11-27 16:42:13 +01:00
Stefan Dösinger f2c19fbc0b wined3d: Correctly handle the y offset with offscreen rendering.
This fixes a regression introduced with the MAD patch.
2007-11-27 16:02:34 +01:00
Stefan Dösinger 46647e58fa wined3d: Downgrade an ERR to a WARN. 2007-11-27 16:02:28 +01:00
Stefan Dösinger ba5c61ba20 wined3d: Fog is applied after sRGB correction. 2007-11-27 16:01:44 +01:00
Stefan Dösinger d2ac521cd3 wined3d: Make SRGB write correction working with 1.x shaders in arb. 2007-11-27 15:18:36 +01:00
Stefan Dösinger 02ebbd1fe5 d3d9: Add a test for vertex shader input matching. 2007-11-27 15:18:28 +01:00
Lauris Kaplinski 49ea085f11 wined3d: Fixed potential reference of freed backBuffer array in IWineD3DDeviceImpl_SetFrontBackBuffers. 2007-11-27 15:18:16 +01:00
Andrew Talbot 03bba1e6d4 gdi32: Fix a typo. 2007-11-27 12:29:57 +01:00
Andrew Talbot 1067f56ca5 dinput: Use bitwise NOT not logical NOT. 2007-11-27 12:29:52 +01:00
Michael Stefaniuc 61ed0c99e6 rpcrt4: socket() returns -1 on error so check the return value against that. 2007-11-27 12:29:45 +01:00
Michael Stefaniuc 6d8c2d744b wininet/tests: Do not compare the return value of socket() with 0. Use INVALID_SOCKET instead. 2007-11-27 12:29:42 +01:00
Rob Shearman 312a1db3ec advapi32: Add support for using the Mac Keychain services as a backend for the credential functions instead of the registry. 2007-11-27 12:29:34 +01:00
Rob Shearman c111c2d685 ole32: Add tests for WdtpInterfacePointer_* functions.
Add stubs for these so that the tests link.
2007-11-27 11:40:19 +01:00
Rob Shearman ddf59f50f7 ole32: Clean up properly in ClientRpcChannelBuffer_SendReceive in the case where PostMessageW fails. 2007-11-27 11:40:12 +01:00
Rob Shearman 6262230a4b ole32: Store the dispatch parameters in the message state structure to allow them to be initialised earlier in the sequence of IRpcChannelBuffer calls. 2007-11-27 11:40:07 +01:00
Rob Shearman 50532d8b4d advapi32: Fix a typo in CredEnumerateW. 2007-11-27 11:38:28 +01:00
Rob Shearman ca83f61d2e advapi32: Move credential registry reading code to separate functions. 2007-11-27 11:38:22 +01:00
Huw Davies ef59756ace inetcomm: Implement IMimeBody:SetData. 2007-11-27 11:37:16 +01:00
Huw Davies dd66f04c21 inetcomm: Implement IMimeBody:[G|S]etCurrentEncoding. 2007-11-27 11:37:01 +01:00
Huw Davies 19cb4bcd36 inetcomm: Implement IMimeBody:IsContentType. 2007-11-27 11:36:55 +01:00
Huw Davies 0bcd30773e inetcomm: Store a header's parameters as a list. 2007-11-27 11:36:37 +01:00
Huw Davies 03ca389550 inetcomm: Unfold headers. 2007-11-27 11:36:19 +01:00