Commit Graph

41911 Commits

Author SHA1 Message Date
Rob Shearman 25bf0a409a rpcrt4: Update TODO list.
Out-of-memory check is performed by NdrAllocate and so isn't required to 
be done in the unmarshalling functions.
2007-12-14 12:24:34 +01:00
Rob Shearman 4a028589eb rpcrt4: Document NdrAllocate. 2007-12-14 12:24:24 +01:00
Rob Shearman c7261b732b rpcrt4: Partially revert commit 18faf3184b2ea263d77c2a7ad92eef27bc4ba08f.
Tests show that NdrPointerFree (and hence NdrFree) don't check whether 
the memory was allocated with NdrAllocate before freeing it. This makes 
sense as servers don't need to use NdrAllocate to allocate memory being 
returned and so this commit caused that memory to be leaked.

NdrAllocate hasn't been changed as the tests show it is correct and it 
appears that the memory list is used to implement the RpcSs memory model.
2007-12-14 12:24:21 +01:00
Rob Shearman ce220e2b5f rpcrt4: Free the base pointer in PointerFree when freeing a pointer with RPC_FC_P_DEREF. 2007-12-14 12:24:03 +01:00
Rob Shearman d5ff3467bc rpcrt4: Fix the check in NdrPointerFree.
Add comments to justify why this is the only check that is needed.
2007-12-14 12:23:55 +01:00
Rob Shearman 9d8ebc1a24 rpcrt4: NdrStubGetBuffer shouldn't set BufferStart and BufferEnd.
These are supposed to point to the original buffer when the types were 
unmarshalled.
2007-12-14 12:23:46 +01:00
Rob Shearman ded4b86625 Revert "rpcrt4: Try to free every non-stack pointer in PointerFree now that NdrFree does the sanity checking for us.".
This reverts commit 6db648302ce43f625a073426a35a6f40b7869d8b.

Tests show the assumptions in a commit that this commit depends on are 
not valid.
2007-12-14 12:23:38 +01:00
Rob Shearman 9896938fab widl: Don't write redundant FC_RP type format out for conformant strings, unless it is a top level variable. 2007-12-14 12:23:33 +01:00
Lei Zhang 932cc2d7f9 quartz: Make video renderer aggregatable. 2007-12-13 14:36:15 +01:00
Lei Zhang f5075f7356 quartz: Set *ppvObject to NULL if QueryInterface fails. 2007-12-13 14:34:07 +01:00
Lei Zhang 29cc256b9a quartz: Add referenceclock QueryInterface test. 2007-12-13 14:33:59 +01:00
Lei Zhang 766046d4ab quartz: Add videorenderer aggregation test. 2007-12-13 14:33:50 +01:00
Lei Zhang 4f6f1bcb6e quartz: Add videorenderer QueryInterface test. 2007-12-13 14:33:40 +01:00
Alexandre Julliard e533e50d59 user32: Print the RegisterHotKey fixme only once. 2007-12-13 14:33:35 +01:00
Alexandre Julliard 7293f00d9d hhctrl.ocx: Store a copy of the string pointers to enable freeing them without casting away const. 2007-12-13 14:30:40 +01:00
Rob Shearman 9642714d06 rpcrt4: Add tests for freeing non-NdrAllocate allocated memory blocks. 2007-12-13 14:30:40 +01:00
Rob Shearman 00db711c6f widl: Swap the version packing order back to what typelibs expect. 2007-12-13 14:30:40 +01:00
Aric Stewart 3c9e7aba75 gdi32: Cache font enum info.
Cache the enum info so that repeated calls to EnumFontFamiles and such
does not have to repeatedly load the font file.
2007-12-13 14:30:40 +01:00
Anatoly Lyutin 67271dcf3b start: Convert to Unicode. 2007-12-13 14:30:40 +01:00
Vitaly Lipatov b3caf36858 winecfg: Updated Russian translation. 2007-12-13 14:30:40 +01:00
Lionel Debroux 14bed07c99 winhelp: Fix memory leaks (found by Smatch). 2007-12-13 14:30:40 +01:00
Lionel Debroux fe444f0217 msi: Fix memory leaks (found by Smatch). 2007-12-13 14:30:40 +01:00
Lionel Debroux 1bed47a3b3 msi: Fix missing alloc check. 2007-12-13 14:30:40 +01:00
Maarten Lankhorst affd447db0 winealsa: Don't require a cswitch control for capture. 2007-12-13 14:30:40 +01:00
Maarten Lankhorst f75600dd1d winealsa: Add control 'Digital' as alias for microphone. 2007-12-13 14:30:40 +01:00
Maarten Lankhorst 6e87f3741b winealsa: Remove fixed fixme. 2007-12-13 14:30:40 +01:00
Stefan Dösinger f2547427c0 gdi32: Test the bit depth of compatible bitmaps explicitly. 2007-12-13 13:09:55 +01:00
Stefan Dösinger 211f429579 winex11: Remove an unused variable. 2007-12-13 13:09:46 +01:00
Kirill K. Smirnov d72cfb7342 winhelp: Display keywords index dialog box. 2007-12-13 13:09:37 +01:00
Kirill K. Smirnov 6a2ad1b479 winhelp: Read keywords. 2007-12-13 13:09:31 +01:00
Kirill K. Smirnov af21361dbf winhelp: Export enum and search B+ tree functions. 2007-12-13 13:09:25 +01:00
Hans Leidekker 25e836e83c usp10: Do glyph translation for truetype fonts only. 2007-12-13 13:09:14 +01:00
Alexandre Julliard c7278c21bd wordpad: Fix invalid pointer usage. 2007-12-12 22:32:38 +01:00
Rob Shearman 9741751962 widl: Remove some confusion in how version numbers are packed into an attribute by defining some macros for this purpose.
Remove unneeded includes.
2007-12-12 16:03:35 +01:00
Rob Shearman e12b487e26 rpcrt4: Try to free every non-stack pointer in PointerFree now that NdrFree does the sanity checking for us. 2007-12-12 16:02:53 +01:00
Rob Shearman 9c8c74f388 rpcrt4: Store allocated memory in a singly-linked list to keep track of what we should and shouldn't free in NdrFree. 2007-12-12 16:02:43 +01:00
Rob Shearman 33c4c25dad rpcrt4: Make the NdrAllocate tests pass on XP SP2 and greater. 2007-12-12 16:01:33 +01:00
Aric Stewart f3e59a3d70 netapi32: Improve stub for NetLocalGroupGetMembers a bit to return current user. 2007-12-12 16:01:23 +01:00
Aric Stewart 1e3d65dbb8 imagehlp: Improve last error handling in ImageGetCertificateData. 2007-12-12 16:00:08 +01:00
Marcel Partap 7c3a7d8af1 configure: Add i586-mingw32 prefix for crosscompiling. 2007-12-12 14:47:01 +01:00
Marcel Partap c966301548 winspool.drv/tests: Add dumping of FORM_INFO_1/2 in test_EnumForms. 2007-12-12 14:46:55 +01:00
Marcel Partap 3252ddc0bd include/winspool.h: Add FORM_INFO_2. 2007-12-12 14:46:48 +01:00
Alexandre Julliard 1716f03fae Make.rules: Process man pages in the C locale. 2007-12-12 14:39:54 +01:00
Alexandre Julliard b601206129 winecrt0: DriverEntry is a WINAPI function. 2007-12-12 14:39:08 +01:00
Marco Schuster fab0aee388 loader: Added de_DE.UTF-8 translated Wine man page. 2007-12-12 14:32:47 +01:00
Marco Schuster 0bd72d0a58 wine.man: Added small clarification for AppDB. 2007-12-12 14:29:45 +01:00
Hans Leidekker d5e76042c5 usp10: Add some tests for ScriptShape/Place and make them pass. 2007-12-12 13:49:19 +01:00
Alexander Nicolaysen Sørnes 7f03c2f5bd wordpad: Move registry functions to a separate file. 2007-12-12 13:49:07 +01:00
Andrew Riedi 68a6ddf623 dsound: DPRINTF -> TRACE. 2007-12-12 13:49:01 +01:00
Andrew Riedi e0740a7a60 dinput: DPRINTF -> TRACE. 2007-12-12 13:48:57 +01:00