Commit Graph

52482 Commits

Author SHA1 Message Date
Michael Stefaniuc 4eec1ad444 iphlpapi/tests: Replace malloc with HeapAlloc. 2008-12-01 12:57:06 +01:00
Michael Stefaniuc e6bd2881d8 wininet: Remove some superfluous casts. 2008-12-01 12:57:03 +01:00
Michael Stefaniuc 82a3c433b3 winex11.drv: Remove some superfluous casts. 2008-12-01 12:57:00 +01:00
Rob Shearman cc51c30a63 widl: Fix optimisation for writing out ref pointers to simple structs and base types.
The optimisation in write_remoting_arg for sizing, marshalling,
unmarshalling and freeing ref pointers to base types directly was
broken in d458a599eb and caused
unnecessary calls to pointer marshalling functions.

The same was true for a similar optimisation for simple structures
where their size can be pre-calculated, freeing omitted and the
NdrSimpleStructMarshall/Unmarshall functions called directly instead
of calling NdrPointerMarshall/Unmarshall first.

Fix this by looking at the type of the referrent instead of the type
of the pointer, making sure to not classify user types as simple
structures.

Additionally remove some dead code that would never be executed
because the code is in an RPC_FC_RP case, inside a !is_ptr if block
(and RPC_FC_RP is a pointer type).
2008-12-01 12:46:46 +01:00
Rob Shearman 41152b7929 widl: Output the correct buffer size required for parameters whose sizes are known at type-generation time.
Replace code to calculate the size of RPC_FC_STRUCT types with
fields_memsize since the memory size of these types will always be
equal to the buffer size.

Remove dead code in get_required_buffer_size.
2008-12-01 12:46:19 +01:00
Jacek Caban 378ea704be activdbg.idl: Added IDebugApplication64 and IActiveScriptSiteDebug64 declarations. 2008-12-01 12:46:03 +01:00
Michael Stefaniuc 85dba69917 iphlpapi: Remove a comment that dared to ponder to use malloc. 2008-12-01 12:45:54 +01:00
Michael Stefaniuc d26b02960c kernel32: Remove some superfluous casts of void pointers. 2008-12-01 12:45:51 +01:00
Paul Vriens dd56259453 advapi32/tests: Fix some crashes on NT4. 2008-12-01 12:45:46 +01:00
Paul Vriens 4b643733fc lz32/tests: Fix a test failure on Win9x. 2008-12-01 12:45:39 +01:00
Vitaliy Margolen 095ba950d6 dinput: Use correct GetObjectInfo for joystick. 2008-12-01 12:45:34 +01:00
Henri Verbeet 6f98f19703 wined3d: Const correctness fixes for drawprim.c. 2008-12-01 12:45:29 +01:00
Henri Verbeet 21b8535902 wined3d: Make the lpData member of WineDirect3DStridedData const. 2008-12-01 12:45:23 +01:00
Henri Verbeet 657a016ac5 wined3d: Fix the glWeightPointerARB prototype. 2008-12-01 12:45:18 +01:00
Henri Verbeet 50ebf26894 wined3d: Const correctness fixes for directx.c. 2008-12-01 12:45:10 +01:00
Henri Verbeet 942f82100a wined3d: Remove some superfluous casts. 2008-12-01 12:45:01 +01:00
Francois Gouget 45992843ea dsound: Remove WINAPI on static functions where not needed. 2008-12-01 12:44:54 +01:00
Francois Gouget b4912bc13d dplayx: Remove WINAPI on static functions where not needed. 2008-12-01 12:44:51 +01:00
Francois Gouget 80b6c2efd6 dplay: Remove WINAPI on static functions where not needed. 2008-12-01 12:44:49 +01:00
Francois Gouget b362db0327 dmloader: Remove WINAPI on static functions where not needed. 2008-12-01 12:44:46 +01:00
Alexandre Julliard 584d2c9118 widl: Do not make the stub vtbl const for delegating interfaces since it needs to be patched up at run-time. 2008-12-01 11:30:05 +01:00
Alexandre Julliard 797ee403c1 rpcrt4: Create the NumMethods key too when registering an interface. 2008-11-29 13:05:11 +01:00
Alexandre Julliard ad54700b94 rpcrt4: Use RegDeleteTree to properly unregister interfaces. 2008-11-29 13:02:08 +01:00
Alexandre Julliard 77b3864fed rpcrt4: Convert the dll registration routines to Unicode. 2008-11-29 13:01:29 +01:00
Vladimir Pankratov bbaa72de5f shdocvw: Implement go_home function. 2008-11-28 13:51:34 +01:00
David Adam 42dc7fb1c4 d3dx8: Add a few tests for MatrixStack. 2008-11-28 13:49:50 +01:00
Jérôme Gardou f90881cd36 d3dx8: Implement D3DXMatrixStack_TranslateLocal. 2008-11-28 13:49:44 +01:00
Jérôme Gardou 809147f825 d3dx8: Implement D3DXMatrixStack_Translate. 2008-11-28 13:49:36 +01:00
Jérôme Gardou 230f3e6366 d3dx8: Implement D3DXMatrixStack_ScaleLocal. 2008-11-28 13:49:26 +01:00
Jérôme Gardou 75cb8a7ad3 d3dx8: Implement D3DXMatrixStack_Scale. 2008-11-28 13:48:56 +01:00
Jérôme Gardou 6d27cdc17a d3dx8: Implement D3DXMatrixStack_RotateYawPitchRollLocal. 2008-11-28 13:48:41 +01:00
Jérôme Gardou 39e0dc79ef d3dx8: Implement D3DXMatrixStack_RotateYawPitchRoll. 2008-11-28 13:48:33 +01:00
Jérôme Gardou c2f00b3170 d3dx8: Implement D3DXMatrixStack_RotateAxisLocal. 2008-11-28 13:48:24 +01:00
Jérôme Gardou 896e30761a d3dx8: Implement D3DXMatrixStack_RotateAxis. 2008-11-28 13:48:14 +01:00
Jérôme Gardou d25fd01bfd d3dx8: Implement D3DXMatrixStack_MultMatrixLocal. 2008-11-28 13:47:58 +01:00
Hans Leidekker 19764fcf4c setupapi: Implement SetupInstallFile{A, W}. 2008-11-28 13:47:12 +01:00
Vitaly Perov d2a9bcd199 mlang/tests: Add tests for fnIMLangFontLink_GetCharCodePages. 2008-11-28 13:47:08 +01:00
Vitaly Perov 4398c51f1e mlang: Add implementation of fnIMLangFontLink_GetCharCodePages. 2008-11-28 13:47:03 +01:00
Alistair Leslie-Hughes c685548056 mshtml: Add a test case. 2008-11-28 13:46:58 +01:00
Stefan Dösinger a1c460f8ae d3d9: Document a Microsoft header bug. 2008-11-28 13:41:05 +01:00
Lei Zhang 4153fc1904 msi: Set DllVersion registry key for CLSID_IMsiServerMessage. 2008-11-28 13:41:00 +01:00
Paul Vriens 78a90f1f31 shell32/tests: Skip some tests on Win9x and WinMe. 2008-11-28 13:38:21 +01:00
Paul Vriens cfdfbeaf1b shell32/tests: Fix a few test failures on Win9x and NT4. 2008-11-28 13:38:16 +01:00
Christian Costa 12f5a30833 dmime: Make stub returns a error to avoid crashing. 2008-11-28 13:38:08 +01:00
Christian Costa 0409ff6269 d3dxof: Keywords are case insensitive. 2008-11-28 13:38:04 +01:00
Andrew Talbot f40afa87c6 wined3d: Sign-compare warnings fix. 2008-11-28 12:57:25 +01:00
Andrew Talbot 88b84820ab gdiplus: Void function should not return a value. 2008-11-28 12:57:10 +01:00
Maarten Lankhorst 08c78e07a9 ole32: Fix releasing spy. 2008-11-28 12:56:47 +01:00
Paul Vriens d211ddbfad rsaenh/tests: Fix a test failure on Win98. 2008-11-28 12:56:43 +01:00
Paul Vriens 26d565ac1b rsaenh/tests: Fix a test failure on NT4 and below. 2008-11-28 12:56:38 +01:00