Commit Graph

23345 Commits

Author SHA1 Message Date
Alexandre Julliard 35d728ef50 msvcrt: Improved _local_unwind2 implementation.
Thanks to Dmitry Timoshkov for a test case.
2007-03-13 15:53:09 +01:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Stefan Huehner 20223d3d2e comctl32: rebar: Test the rebar style for RBBS_VARIABLEHEIGHT, not the passed in structure. 2007-03-13 13:22:47 +01:00
Shanren Zhou df578b8469 comctl32: Added header message sequence test cases. 2007-03-13 13:22:03 +01:00
Shanren Zhou 92f230c2fb comctl32: Header message sequence test cases.
Added separate parent and child header controls for each test case and
fixed a typo ('Data Modified' should be 'Date Modified').
2007-03-13 13:21:38 +01:00
Dmitry Timoshkov e8bba26c80 ntdll: Catch the exceptions in the TLS callback like Windows does. 2007-03-13 12:47:38 +01:00
Juan Lang 2f7b91d7be crypt32: Set ppSignerSig to NULL in case caller doesn't check return value. 2007-03-13 12:08:38 +01:00
Juan Lang 8d31aebc5c user32: Fix a comment. 2007-03-13 12:08:30 +01:00
András Kovács dac10f0da8 wined3d: Set WINED3DCAPS2_DYNAMICTEXTURES flag. 2007-03-13 12:08:23 +01:00
H. Verbeet 62fff2eab8 wined3d: Remove some redundant code in IWineD3DVertexBufferImpl_FindDecl(). 2007-03-13 11:56:18 +01:00
H. Verbeet 6998d0d472 wined3d: Remove a redundant check in handleStreams(). 2007-03-13 11:56:10 +01:00
H. Verbeet 05d461aee9 wined3d: Remove some redundant checks in the vertexdeclaration() state handler. 2007-03-13 11:56:02 +01:00
H. Verbeet 30ee071eb9 wined3d: Disable vertex shaders when transformed vertices are used. 2007-03-13 11:55:55 +01:00
H. Verbeet ee09e8bfd6 wined3d: Remove FVF related fields from IWineD3DVertexDeclaration. 2007-03-13 11:54:24 +01:00
H. Verbeet b22ca33a85 wined3d: 11 space indent is ugly. 2007-03-13 11:54:08 +01:00
H. Verbeet 23cd4475f6 wined3d: Correct various texture limits checks. 2007-03-13 11:53:28 +01:00
Dan Kegel 60cb73b573 advapi32: RegGetKeySecurity needs to pass length of struct to caller. 2007-03-13 11:52:47 +01:00
Huw Davies a8c72b76cf ole32: Only retrieve posted and paint messages in an STA message loop. 2007-03-13 11:52:41 +01:00
Huw Davies 6fcff278b3 rpcrt4: Tests that show that the allocation rules for unmarshaling a conformant array are the same as those for a simple structure. 2007-03-13 11:52:37 +01:00
Andrew Talbot 982a6a5a60 advpack: Constify some variables. 2007-03-13 11:52:28 +01:00
Andrew Talbot dea58c017d advapi32: Explicitly initialize nested array element. 2007-03-13 11:52:22 +01:00
Fabian Bieler 8dae597f24 wined3d: Implemented signed texture formats via NV_TEXTURE_SHADER. 2007-03-13 11:51:56 +01:00
Fabian Bieler 89843f2c27 wined3d: Set wrapmode for cubemags to clamp regardless of the sampler state. 2007-03-13 11:51:35 +01:00
Alexandre Julliard 0d16a7bbe4 Fixed some compilation issues on Mac OS X Leopard. 2007-03-12 16:14:18 +01:00
Fabian Bieler a2808903b1 wined3d: Height of rectangle is bottom - top, not vice versa. 2007-03-12 13:49:58 +01:00
Jan Zerebecki 0f7a3811b4 ole32: Add DebugInfo to critical sections.
Also add missing DeleteCriticalSection.
2007-03-12 13:49:44 +01:00
Jan Zerebecki 826321bc60 winenas.drv: Add DebugInfo to critical sections. 2007-03-12 13:48:01 +01:00
Jan Zerebecki 70f6afdc9c dmloader: Add DebugInfo to critical sections. 2007-03-12 13:41:16 +01:00
Jan Zerebecki ca350ad2b1 winmm: Add DebugInfo to critical sections. 2007-03-12 13:40:57 +01:00
Jan Zerebecki a771bce36a winearts.drv: Add DebugInfo to critical sections. 2007-03-12 13:40:52 +01:00
Jan Zerebecki bab5279d38 wineoss.drv: Add DebugInfo to critical sections. 2007-03-12 13:40:48 +01:00
Jan Zerebecki 8629c53d3f wineaudioio.drv: Add DebugInfo to critical sections.
Also add missing DeleteCriticalSection.
2007-03-12 13:40:44 +01:00
Jan Zerebecki 6c9acb67bc wineesd.drv: Add DebugInfo to critical sections. 2007-03-12 13:40:33 +01:00
Jan Zerebecki 2db1e421f1 winex11.drv: Add DebugInfo to critical sections. 2007-03-12 13:40:28 +01:00
Jan Zerebecki 4c4821e305 dsound: Conform critical section DebugInfo names. 2007-03-12 13:40:22 +01:00
Jan Zerebecki ea363dc6a7 winealsa.drv: Conform critical section DebugInfo names. 2007-03-12 13:40:15 +01:00
Jan Zerebecki 021b004cf5 rsaenh: Add DebugInfo to critical sections. 2007-03-12 13:40:10 +01:00
Jan Zerebecki cfd121072c urlmon: Add DebugInfo to critical sections. 2007-03-12 13:40:06 +01:00
Jan Zerebecki 1e0901179a wintab32: Add DebugInfo to critical sections. 2007-03-12 13:40:02 +01:00
Jan Zerebecki e293d630ff secur32: Add DebugInfo to critical sections. 2007-03-12 13:39:54 +01:00
Jan Zerebecki b5619e8628 quartz: Add DebugInfo to critical sections.
Also add missing DeleteCriticalSection.
2007-03-12 13:39:49 +01:00
Jan Zerebecki 614ee8314d qcap: Add DebugInfo to critical sections. 2007-03-12 13:39:21 +01:00
Jan Zerebecki 58f37a1251 riched20: Add DebugInfo to critical sections. 2007-03-12 13:39:14 +01:00
Jan Zerebecki 1e176b4739 oleaut32: Add DebugInfo to critical sections. 2007-03-12 13:39:07 +01:00
Jan Zerebecki a8ed754e8c mciavi32: Add DebugInfo to critical sections. 2007-03-12 13:38:59 +01:00
Jan Zerebecki 4a5f61bb63 netapi32: Add DebugInfo to critical sections. 2007-03-12 13:38:50 +01:00
Jan Zerebecki aaf9a151c1 ntdll: Add DebugInfo to critical sections. 2007-03-12 13:38:35 +01:00
Jan Zerebecki 3b32ae2a54 msvcrt: Add DebugInfo to critical sections. 2007-03-12 13:38:22 +01:00
Jan Zerebecki b06c08530f mapi32: Add DebugInfo to critical sections. 2007-03-12 13:38:07 +01:00
Jan Zerebecki e8956eb48b crypt32: Add DebugInfo to critical sections. 2007-03-12 13:37:57 +01:00
Jan Zerebecki 373fcd0066 itss: Add DebugInfo to critical sections. 2007-03-12 13:37:38 +01:00
Jan Zerebecki f7c4b25723 kernel32: Add DebugInfo to critical sections. 2007-03-12 13:37:27 +01:00
Hagop Hagopian 89c7907025 comctl32: Adding getter-setter tests for tab control. 2007-03-12 13:19:00 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Paul Vriens 6544831184 advapi32/tests: Prepare for more tests and use skip. 2007-03-12 12:23:51 +01:00
Paul Vriens 281ebbb5d6 kernel32/tests: Use skip. 2007-03-12 12:21:57 +01:00
Paul Vriens e343652338 d3d9/tests: Use skip as is done in the other tests. 2007-03-12 12:21:53 +01:00
Paul Vriens c912f791ee d3d8/tests: Use skip as is done in the other tests. 2007-03-12 12:21:49 +01:00
Paul Vriens 034765e100 dnsapi/tests: Load dnsapi dynamically and use skip. 2007-03-12 12:08:42 +01:00
Dmitry Timoshkov 4b2ba3e113 ntdll: Make the error test pass under XP. 2007-03-12 12:08:37 +01:00
Chris Robinson 868dd534e8 quartz: Stop DSound buffer playback when the filter is paused or stopped, not the next time it's processed. 2007-03-12 12:08:25 +01:00
Felix Nawothnig 79d4dfb601 comctl32: Implement LVS_EX_DOUBLEBUFFER. 2007-03-12 12:08:19 +01:00
Felix Nawothnig 5cdcfbfaa0 comctl32: Fix a typo. 2007-03-12 12:03:32 +01:00
Felix Nawothnig 7b99592975 comctl32: Fix my last patch.
My last patch was wrong and caused some nasty regressions. Mapping 
CLR_DEFAULT to the global defaults seem to be what native does.
2007-03-12 12:03:25 +01:00
Stefan Dösinger eba060463d wined3d: Account for offscreen rendering when setting up the clearing scissor rectangle. 2007-03-12 12:02:20 +01:00
Stefan Dösinger 603e7933ea wined3d: Blit the offscreen texture into the drawable if needed.
When using pbuffer or back buffer offscreen rendering the content of
the drawable will have been overwritten. Thus the texture has to be
written into the drawable. An exception is the (pretty common) case
that the whole render target is cleared before rendering to it.
2007-03-12 12:02:05 +01:00
Stefan Dösinger 850bd7b414 wined3d: Restore the index buffer when switching from UP to buffer drawing.
The state handler binds index buffer 0 when a user pointer is used. Likewise the real index
buffer has to be restored when switching back to drawing from index buffers.
2007-03-12 12:01:45 +01:00
Andrew Talbot 39fb7839a7 advapi32: Constify some variables. 2007-03-12 12:01:24 +01:00
Andrew Talbot 3b695ae33a advapi32: Constify some variables. 2007-03-12 12:01:17 +01:00
Andrew Talbot 1a71294ad3 advapi32: Constify some variables. 2007-03-12 12:01:10 +01:00
Andrew Talbot 4b515b6adf winex11.drv: Replace const pointer parameters with correct non-const pointers. 2007-03-12 12:00:59 +01:00
Chris Peterson ee2804fda5 comctl32: treeview: Message sequencing tests. 2007-03-12 12:00:51 +01:00
Alexandre Julliard f2181a533e ntdll: Fixed a compiler warning for size_t/unsigned int mismatch. 2007-03-09 22:17:55 +01:00
Alexandre Julliard 9aecf6ef14 shdocvw: Avoid a printf format warning. 2007-03-09 22:03:29 +01:00
Chris Robinson e44a0d6d4d quartz: Check allocation failure and clear memory in DSound Renderer. 2007-03-09 21:20:22 +01:00
Felix Nawothnig 08670ee725 comctl32: Remove clrTextBkDefault member from LISTVIEW_INFO and fix (clrTextBk == CLR_DEFAULT) handling for custom drawing. 2007-03-09 21:18:10 +01:00
Felix Nawothnig 8677069c26 comctl32: Add a failing custom draw related test. 2007-03-09 21:17:55 +01:00
Rob Shearman f0189b8789 ole32: Implement CoAddRefServerProcess and CoReleaseServerProcess. 2007-03-09 21:17:47 +01:00
Rob Shearman 789f344c2b ole32: Make RegisteredClass list into a standard Wine list. 2007-03-09 21:17:42 +01:00
Rob Shearman 15a0b7fad5 ole32: Don't keep the local server named pipe open for a single-use object. 2007-03-09 21:16:44 +01:00
Rob Shearman 7ba4b81675 ole32: Add some tests for the flags input to CoRegisterClassObject. 2007-03-09 21:16:41 +01:00
Rob Shearman 880542a9f8 ole32: Close the named pipe after revoking local server objects. 2007-03-09 21:16:37 +01:00
Rob Shearman 2a021b50d4 ole32: Enable local server test and make it work with Win9x COM implementation. 2007-03-09 21:16:34 +01:00
Rob Shearman c826515e55 ole32: REGCLS_MULTIPLEUSE implies CLSCTX_INPROC_SERVER in CoRegisterClassObject. 2007-03-09 21:16:31 +01:00
Jacek Caban 5fd727fa2a mshtml: Use get_client_disp_property in SetClientSite to get silent property. 2007-03-09 21:13:16 +01:00
Jacek Caban 1790fdeeff shdocvw: Added Navigate2 test. 2007-03-09 21:13:06 +01:00
Jacek Caban a01a20c090 shdocvw: Call EnableModeless and SetStatusText in navigate. 2007-03-09 21:09:12 +01:00
Jacek Caban dc15020cf5 shdocvw: Move frame variable to DocHost. 2007-03-09 21:09:03 +01:00
Jacek Caban 3febaa2d13 shdocvw: Release callback and bindctx in bind_url_to_object. 2007-03-09 21:08:55 +01:00
Jacek Caban 72bf4a641e shdocvw: Added mode dispids implementation in DocHost::Invoke. 2007-03-09 21:08:26 +01:00
Jacek Caban 0b48542f1f shdocvw: Always set hostui to NULL in SetClientsite. 2007-03-09 21:08:15 +01:00
Jacek Caban 355b3c190b shdocvw: Added DISPID_AMBIENT_OFFLINEIFNOTCONNECTED and DISPID_AMBIENT_SILENT implementation in DocHost::Invoke. 2007-03-09 21:08:01 +01:00
Jacek Caban 1f92fba5cc shdocvw: Move offline and silent variables to DocHost. 2007-03-09 21:07:55 +01:00
Anatoly Lyutin 63669cc780 comctl32: Update Russian and Ukrainian resourses. 2007-03-09 13:55:51 +01:00
Alasdair Sinclair 81c922398e kernel32: Fix GetComputerNameA to not count trailing NULL, with test. 2007-03-09 13:55:43 +01:00
Peter Beutner 4a831ec716 ntdll: Handle SIMD exceptions. 2007-03-09 11:53:26 +01:00
Peter Beutner f09f9ef5e1 ntdll: Testcase for handling SIMD exceptions. 2007-03-09 11:53:16 +01:00
Rob Shearman c4727fde17 ole32: Fix return codes returned by IBindCtx::RegisterObjectBound and IBindCtx::RevokeObjectBound when used on NULL objects. 2007-03-09 11:46:42 +01:00
Rob Shearman ba3ceaa4b8 ole32: Fix cbStruct handling in IBindCtx:GetBindOptions. 2007-03-09 11:46:38 +01:00
Rob Shearman e14e464df6 ole32: Add more tests of IBindCtx functions.
Add tests for IBindCtx::GetObjectParam, IBindCtx::RevokeObjectParam and 
IBindCtx::RevokeObjectBound.
2007-03-09 11:46:33 +01:00
Farshad Agah d0f75b5993 comctl32: monthcal: Reject out of range dates in MCM_SETCURSEL. 2007-03-09 11:36:53 +01:00
Michael Stefaniuc 9a5c5178c2 winedos: Check a file handle against INVALID_HANDLE_VALUE, not 0. 2007-03-09 11:36:43 +01:00
Andrew Talbot 9890cb7884 serialui: Replace const pointer type with correct pointer to const. 2007-03-09 11:36:39 +01:00
Alexandre Julliard 82274f8b16 kernel32: Implemented GetSystemInfo() for Solaris. 2007-03-08 23:01:03 +01:00
Jan Zerebecki a950a47200 dplayx: Add DebugInfo to critical sections. 2007-03-08 22:21:49 +01:00
Jan Zerebecki 93a4c27336 dmime: Add DebugInfo to critical sections. 2007-03-08 22:21:46 +01:00
Jan Zerebecki 52a630a3a8 dinput: Add DebugInfo to critical sections. 2007-03-08 22:21:43 +01:00
Huw Davies 6316429c80 wineps.drv: Remove paper sizes that lack either a PageSize or a PaperDimension entry in the PPD. 2007-03-08 22:17:15 +01:00
Huw Davies 277f474451 wineps.drv: Convert the page size list to a standard Wine list. 2007-03-08 22:17:10 +01:00
Francois Gouget 66c37f5184 ws2_32: Fix an int/long mismatch in a trace. 2007-03-08 22:16:57 +01:00
Francois Gouget 7d5883d44b ws2_32: Replace a few -1 literals with SOCKET_ERROR.
Do a small tweak in WS2_send() so it looks more like WS2_recv().
2007-03-08 22:16:53 +01:00
Francois Gouget fa41be3fdb wininet: Fix a couple of reversed checks that could result in leaked socket handles. 2007-03-08 22:16:41 +01:00
Francois Gouget 53e76f8370 wininet: Check file handles against INVALID_HANDLE_VALUE, not NULL.
Simplify the file handle handling in FTP_FtpPutFileW().
2007-03-08 22:16:36 +01:00
Francois Gouget d3245723ae rpcrt4: Fix a file handle leak in RPCRT4_RPCSSOnDemandCall().
Also, RPCRT4_RpcssNPConnect() returns a file handle so treat it as
such by checking it against INVALID_HANDLE_VALUE and not NULL.
2007-03-08 21:31:07 +01:00
Francois Gouget 7b89fb5e35 dbghelp: Check file handles against INVALID_HANDLE_VALUE, not NULL. 2007-03-08 21:31:00 +01:00
Tomas Carnecky 9b4f99782e dsound: Update prototypes for IDirectSoundBuffer::Lock/Unlock. 2007-03-08 21:30:54 +01:00
Alexandre Julliard 849ee1c2bb kernel32: Fixed DosDateTimeToFileTime behavior when timegm() is missing.
The tm_isdst field needs to be initialized for mktime to do the right thing.
2007-03-08 21:06:41 +01:00
Alexandre Julliard 7e2228f15a advapi32: Fixed registry test that failed because of a buffer overflow. 2007-03-08 21:06:31 +01:00
Jacek Caban bf6d0f2272 mshtml: Release IOleCommandTarget in IPersistMoniker::Load. 2007-03-08 13:54:10 +01:00
Kai Blin df3a7a7b43 secur32: Check for actual return value on invalid QuerySecurityPackageInfo call. 2007-03-08 13:54:06 +01:00
Chris Robinson 045270605c quartz: Use proper alloc/free functions for COM objects. 2007-03-08 13:53:54 +01:00
Rob Shearman 5edc7fd5ef oleaut32: TKIND_COCLASS parameters to Invoke'd functions should be converted into VT_DISPATCH instead of VT_UNKNOWN.
Add a test for this.
2007-03-08 13:50:45 +01:00
Rob Shearman 3d6070aebd ole32: Set output param to NULL in BindCtxImpl_EnumObjectParam. 2007-03-08 13:50:33 +01:00
Rob Shearman bdefb46d29 ole32: Fix BindCtxImpl_GetBindOptions to return the correct locale and to not fail if the input size is too large. 2007-03-08 13:50:27 +01:00
Rob Shearman bf4b5188e0 ole32: CreateBindCtx should fail if reserved parameter is not zero. 2007-03-08 13:50:23 +01:00
Alexandre Julliard 544a32f0e1 kernel32: Add missing limits.h include. 2007-03-08 13:12:59 +01:00
H. Verbeet 6bed8536be d3d8: Add tests for GetVertexShaderDeclaration, GetVertexShaderFunction and GetPixelShaderFunction. 2007-03-08 11:58:57 +01:00
H. Verbeet fc5f36f037 wined3d: Fix IWineD3DPixelShader_GetFunction / IWineD3DVertexShader_GetFunction. 2007-03-08 11:58:50 +01:00
H. Verbeet b68c72faef d3d8: Implement IDirect3DDevice8_GetVertexShaderDeclaration. 2007-03-08 11:58:41 +01:00
H. Verbeet 138826b8cc d3d8: Save the d3d8 vertex declaration. 2007-03-08 11:58:23 +01:00
Michael Stefaniuc 719a02856d janitorial: Remove two redundant checks for NULL. 2007-03-08 11:58:09 +01:00
Michael Stefaniuc 22ecd7aa67 comctl32: Remove redundant NULL checks before Free() (found by Smatch). 2007-03-08 11:58:04 +01:00
Andrew Talbot bb9dea6b29 winmm: Replace const pointer parameters with correct pointers to const. 2007-03-07 21:56:54 +01:00
Andrew Talbot c3e8298a3d mpr: Replace const pointer parameters with correct pointers to const. 2007-03-07 21:56:51 +01:00
Konstantin Kondratyuk aefbef00f9 kernel32: Allow to execute .cmd files. 2007-03-07 21:34:03 +01:00
Alexandre Julliard 9dd1f1e341 Added version information for a number of dlls. 2007-03-07 21:25:16 +01:00
Dmitry Timoshkov 68fbebf713 comdlg32: Use unicode Win32 APIs when possible. 2007-03-07 20:10:32 +01:00
Dmitry Timoshkov afd6f64a02 comdlg32: Use unicode Win32 APIs when possible. 2007-03-07 20:10:32 +01:00
Rob Shearman dcc642356b Maketest.rules.in: Make CROSSOBJS consistent with the equivalent OBJS rule in the toplevel Make.rules.in. 2007-03-07 20:10:31 +01:00
Rob Shearman 1fa2a2b649 kernel32: Add tests for ImpersonateNamedPipeClient. 2007-03-07 20:10:31 +01:00
Alexandre Julliard 6782d2b490 netapi32: Added support for more info levels in NetWkstaGetInfo. 2007-03-07 18:05:57 +01:00
Luis Carlos Busquets Pérez 8caf078754 dpnaddr: Added dll that just forwards to dpnet. 2007-03-07 13:45:11 +01:00
Juan Lang c2cb296277 ntdll: Implement NtAllocateLocallyUniqueId with server call. 2007-03-07 13:45:11 +01:00
Stefan Dösinger c54a0fc2cf wined3d: Rework surface dirtification.
Previously the surfaces stored a flag if the system memory copy was
ahead of the gl copy(SFLAG_DIRTY) or the gl copy is
ahead(SFLAG_GLDIRTY). The pbuffer copy was 'managed' differently using
SFLAG_INPBUFFER and SFLAG_INTEXTURE.

This patch replaces them with 3 flags, INSYSMEM, INPBUFFER and
INTEXTURE which specify which copy contains the most up to date
copy. It is perfectly valid to have more than one of those flags
set. One must be set at least (except at init, when no content is in
the surface yet). When one copy is modified, the flags for the others
are removed.
2007-03-07 12:18:14 +01:00
Stefan Dösinger ebe274feed wined3d: Remove IWineD3DSurface::SetPBufferState.
The method is removed because it does not really help with
anything. It should not be exported from wined3d, there is no need for
the other libs to call it. It does not help abstraction and code
simplification in any way because it is very specific and the code
calling it has to know what is happening in the surface to use this
method.
2007-03-07 12:17:33 +01:00
Aric Stewart 33eefa24dc gdi32: Search SystemLinked fonts when looking for a valid replacement. 2007-03-07 12:16:17 +01:00
Aric Stewart e499a84416 user32: Don't delete hrgnClip until we are done using it.
Thanks to Peter Oberndorfer for noticing this.
2007-03-07 12:09:23 +01:00
Detlef Riekenberg 8db7b9c7c7 localspl/tests: Add tests for XcvDataPort_DeletePort. 2007-03-07 12:09:06 +01:00
Detlef Riekenberg 9827e5d24e localspl: Implement DeletePort for XcvDataPort. 2007-03-07 12:08:58 +01:00
Jacek Caban 4bd9f22f1d mshtml: Remove false FIXME. 2007-03-07 12:08:52 +01:00