Commit Graph

52528 Commits

Author SHA1 Message Date
Alexandre Julliard 0ad28a8592 widl: Make the generated global variables and functions hidden. 2008-12-01 14:39:39 +01:00
Kai Blin a30724304c kernel32/tests: logfile can be NULL, avoid dereferencing it (Coverity). 2008-12-01 14:26:02 +01:00
Andrew Talbot 6fd73ce645 wineps.drv: Declare some variables static const. 2008-12-01 14:25:56 +01:00
Andrew Talbot 89509eb628 wined3d: Sign-compare warnings fix. 2008-12-01 14:25:52 +01:00
Michael Karcher afb17f29e1 msxml3: attach_xmldoc may fail.
The upcoming new implementation of attach_xmldoc needs HeapAlloc. Prepare
for the failure case.
2008-12-01 14:22:12 +01:00
Michael Karcher 8b293040a3 msxml3: Remove attach_xmldoc(This, NULL) calls.
This->node should never be zero. Each IXMLDOMNode (and derived interfaces)
always represents a present libxml data object. There is no no-data
IXMLDOMNode, although there might be documents without a root element.
2008-12-01 14:22:12 +01:00
Michael Karcher 1c49bc83ae msxml3: Specialize attach_xmlnode to XML documents.
attach_xmlnode is only used to attach XML document nodes, and a cast
is needed on each call. Rename it to attach_xmldoc, change the
parameter type to move the cast at one point into the function.
2008-12-01 14:22:12 +01:00
Michael Karcher b282572ee3 msxml3: Move attach_xmlnode.c to domdoc.c. 2008-12-01 14:22:12 +01:00
Michael Karcher a6594da463 msxml3: Quiet noisy fixmes.
The FIXME messages for unknown interfaces should not be emitted for
interfaces that should not get implemented. Origin 8 spams you with
these messsages.
2008-12-01 14:22:12 +01:00
Michael Karcher aefe3456fb msxml3/tests: Fix BSTR leak. 2008-12-01 14:22:12 +01:00
Michael Karcher e55da04e77 msxml3: Avoid duplicate encoding.
The libxml documentation suggests to either use
xmlEncodedEntitiesReentrant or xmlEncodeSpecialChars, but if you apply
both, you end up producing "&".
2008-12-01 14:22:12 +01:00
Jeff Zaroyko 6c597bac2e ntdll: Avoid NULL deref in RtlDeleteTimer. 2008-12-01 14:22:12 +01:00
Andrew Riedi 63908f039b user32: The frames of .ani cursors are .ico's, not .cur's. 2008-12-01 14:14:45 +01:00
Andrew Riedi 506f77b8d6 user32: Cursors can have more than one color. 2008-12-01 14:14:41 +01:00
Vitaliy Margolen de94cfd7e1 ntdll: Stub NtMakeTemporaryObject. 2008-12-01 14:06:02 +01:00
Reece Dunn 7926eba0d5 winealsa.drv: Correct the period_time value for pulseaudio. 2008-12-01 14:05:57 +01:00
Christian Costa 14485c365b quartz: Avoid leaking penummt and mt on error. 2008-12-01 14:05:49 +01:00
Christian Costa b5158497a6 d3dxof: Handle comments when going to next template or object. 2008-12-01 14:05:44 +01:00
Christian Costa 3310c72d29 d3dxof: Increase some buffer and array sizes. 2008-12-01 14:05:40 +01:00
Christian Costa d535205864 d3dxof: Make parsing more permissive about semicolon and comma in objects. 2008-12-01 14:05:35 +01:00
Maarten Lankhorst e32bd2896b include: Add NtCurrentTeb assembly for win64. 2008-12-01 14:05:27 +01:00
Maarten Lankhorst 0a393d7eb4 loader: Implement setting %gs for amd64. 2008-12-01 14:05:16 +01:00
Michael Karcher 023c227399 msvcrt: Out strings should be ptr instead of wstr in .spec file. 2008-12-01 14:04:28 +01:00
Alistair Leslie-Hughes 1049c3a123 msxml3: Implement IXMLDOMAttribute get/put value. 2008-12-01 14:01:33 +01:00
Alistair Leslie-Hughes 43ea81bf55 mshtml: Implement IDispatch for IHTMLCommentElement. 2008-12-01 14:01:26 +01:00
Marcus Meissner f1271f846b wined3d: Output the rectangles in the debug message. 2008-12-01 14:01:21 +01:00
Hans Leidekker 8656f6db50 gdiplus: Better implementation of GdipGetFontHeightGivenDPI. 2008-12-01 14:01:14 +01:00
Vitaly Lipatov aa5358fdae kernel32: gethostname returns string in CP_UNIXCP encoding. 2008-12-01 14:01:10 +01:00
Alexandre Julliard d2bd90f997 dswave: Remove some unused functions. 2008-12-01 13:26:14 +01:00
Alexandre Julliard de5a266aa0 dplayx: Remove some unused functions. 2008-12-01 13:26:05 +01:00
Alexandre Julliard c437e3d901 dmusic: Remove some unused functions. 2008-12-01 13:25:52 +01:00
Alexandre Julliard 8882dab0f2 dmsynth: Remove some unused functions. 2008-12-01 13:25:39 +01:00
Alexandre Julliard 3dfc4572ed dmstyle: Remove some unused functions. 2008-12-01 13:25:29 +01:00
Alexandre Julliard a806d65862 dmscript: Remove some unused functions. 2008-12-01 13:25:18 +01:00
Alexandre Julliard 6c02a2a8d9 dmime: Remove some unused functions. 2008-12-01 13:24:50 +01:00
Alexandre Julliard aaf646cfeb dmcompos: Remove some unused functions. 2008-12-01 13:24:33 +01:00
Alexandre Julliard c85503f0b0 dmband: Remove some unused functions. 2008-12-01 13:24:21 +01:00
Alexandre Julliard 0e65bbad1e include: Fix an enum definition that was actually defining a variable. 2008-12-01 13:21:35 +01:00
Alexandre Julliard efaa23e19a mswsock: Export the WSARecvEx function. 2008-12-01 13:21:11 +01:00
Alexandre Julliard 4ec92507bf gdiplus: Export the GdipGetAllPropertyItems function. 2008-12-01 13:20:54 +01:00
Alexandre Julliard 4cdeeb9d43 cryptdlg: Include objbase.h for function prototypes. 2008-12-01 13:20:30 +01:00
Francois Gouget d6abd3835f server: Remove an unneeded cast. 2008-12-01 13:01:40 +01:00
Francois Gouget dfb823bb6f regedit: Deal with races in 'regedit /E' by resizing the buffers and retrying. 2008-12-01 12:57:39 +01:00
Francois Gouget 9eb62d3f9d ntdll: Remove an unneeded cast. 2008-12-01 12:57:32 +01:00
Francois Gouget 792e672822 ws2_32: Fix the checks for AQ_WIN16. 2008-12-01 12:57:29 +01:00
Paul Vriens e5779901c3 shell32/tests: Fix a test failure on Win9x. 2008-12-01 12:57:21 +01:00
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