Alexandre Julliard
b459952144
Avoid some non-portable makefile constructs, and get rid of the
...
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Francois Gouget
bf72af30d0
Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
...
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Mike McCormack
06b8046f20
Added a test for stat'ing a memory based storage file.
2004-08-11 00:17:52 +00:00
Mike McCormack
f0baf82b36
stat on memory storage should return a NULL name, not "".
2004-08-10 23:41:58 +00:00
Robert Shearman
5c7c5fafb6
- Add static to non-exported marshal functions.
...
- Remove unused marshal functions.
- Rename several RPC functions.
2004-08-02 18:47:31 +00:00
Mike Hearn
819942339f
Disconnect proxies at COM shutdown to release the corresponding
...
stubs.
2004-08-02 18:28:29 +00:00
Mike Hearn
ce335adddd
Don't marshal IClassFactory into the local server pipe until we have
...
connected, otherwise we might end up with stubs that are never used.
2004-07-30 18:44:09 +00:00
Alexandre Julliard
6cd1a7d9a9
Authors: Robert Shearman <rob@codeweavers.com>, Mike Hearn <mh@codeweavers.com>
...
Fix infinite loops by checking the return value of _invoke_onereq and
bailing appropriately.
2004-07-30 18:43:07 +00:00
Jeroen Janssen
cead7c0e81
Updated some MSDN links in the code.
2004-07-30 00:03:02 +00:00
Robert Shearman
11fc5874df
Emit fixme for known local wrong behaviour.
2004-07-30 00:02:17 +00:00
Mike Hearn
5169f3c5d2
Implement disconnect for proxies so that stubs are properly
...
destroyed.
2004-07-29 23:58:12 +00:00
Robert Shearman
37cc006083
Document wrong behaviour for IRunningObjectTable.
2004-07-29 02:44:09 +00:00
Mike Hearn
e59aa5d6a4
Fix ref counting in StdMarshalImpl_MarshalInterface for case where the
...
stub already exists.
2004-07-29 02:43:59 +00:00
Robert Shearman
0cac6c83a7
Fix some inaccuracies in a comment and reformat.
2004-07-29 02:43:48 +00:00
Alexandre Julliard
26541a00c9
Authors: Mike Hearn <mh@codeweavers.com>, Robert Shearman <rob@codeweavers.com>
...
Add a comment on the SendReceive behaviour. Improve two others.
2004-07-29 02:43:36 +00:00
Francois Gouget
f8e01efb3d
Assorted spelling fixes.
2004-07-23 23:02:09 +00:00
Robert Shearman
f5ed953c10
Set RPC data representation.
2004-07-23 22:58:13 +00:00
Mike Hearn
1cc05ff148
Pass -Embedding switch to EXE servers, more tracing.
2004-07-23 19:10:13 +00:00
Robert Shearman
2e93adc5c7
- Remove unneeded STUBMGR_Start call.
...
- Cleanup compobj_private.h.
2004-07-22 23:44:54 +00:00
Alexandre Julliard
bffe98c7dd
Authors: Mike Hearn <mh@codeweavers.com>, Rob Shearman <rob@codeweavers.com>
...
Implement StdMarshal::ReleaseMarshalData.
2004-07-22 20:34:14 +00:00
Mike Hearn
602cce0ebf
Unref stub after invoking on it.
2004-07-22 19:43:27 +00:00
Mike Hearn
c019b89d5f
Fix misleading warning ole CoGetClassObject.
2004-07-21 19:37:07 +00:00
Mike McCormack
e42d8aef24
Fix a few serious race conditions in the OLE object pipe server.
2004-07-15 22:07:44 +00:00
Marcus Meissner
ada760f0a6
IID_IObjectWithSite is already in libuuid, no need to declare here.
2004-07-12 19:50:14 +00:00
Marcus Meissner
0c02ab3106
IMalloc vtables are static.
2004-07-12 19:50:03 +00:00
Francois Gouget
ca942f1625
Assorted spelling fixes.
2004-07-08 20:16:23 +00:00
Mike Hearn
17ad9fdd43
Add some explanations to compobj.c, implement flushing message queue
...
on shutdown.
2004-07-06 21:27:48 +00:00
Aric Stewart
665c4880f7
Return an error in CoMarshalInterface if the IUnknown pointer is NULL
...
and don't crash.
2004-06-30 18:14:00 +00:00
Ivan Leo Puoti
5729abea73
Removed the winedefault.reg message.
2004-06-17 19:55:24 +00:00
Robert Shearman
bc06d4ba8e
- Fix ref count on standard proxy creation.
...
- Release channel buffer in StdMarshal_UnmarshalInterface, since we no
longer use it and the proxy should have taken a reference on it.
- Add a few comments.
2004-06-14 17:58:03 +00:00
Robert Shearman
3270bb1ee1
Fixed CoMarshalInterThreadInterfaceInStream and
...
CoGetInterfaceAndReleaseStream.
2004-05-29 00:22:55 +00:00
Marcus Meissner
e3a37c8a26
Revert broken strict aliasing fix.
2004-05-21 20:52:57 +00:00
Patrik Stridvall
070db4e5de
Fixed some issues found by winapi_check.
2004-05-17 21:08:31 +00:00
Francois Gouget
cfc3943c5f
Make our ascii strings static const.
...
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Marcus Meissner
ff39b877a4
Fixed strict aliasing issues in dlls/ole32.
2004-05-04 03:10:50 +00:00
Marcus Meissner
aff2e2e5e6
Implemented CoReleaseMarshalData.
2004-05-02 04:20:37 +00:00
Marcus Meissner
aedfc471a2
Fixed lvalue casts.
2004-04-30 18:32:36 +00:00
Francois Gouget
7a58c6ec53
Add a stub for StgCreateStorageEx(). Returns
...
STG_E_UNIMPLEMENTEDFUNCTION as per MSDN. Fixes an error saving files
in Word XP.
2004-04-30 18:32:20 +00:00
Francois Gouget
8fc374d8b4
Make Unicode strings 'static const'.
2004-04-20 02:14:00 +00:00
Francois Gouget
52c0832161
Make Unicode strings static const.
2004-04-20 01:12:17 +00:00
Filip Navara
f379a1dccf
Get rid of E_UNSPEC non-standard error value.
2004-04-12 22:02:37 +00:00
Jon Griffiths
49b3982255
RegisterDragDrop: fail on NULL drop target.
2004-03-30 05:13:58 +00:00
Warren Turkal
e910efbcbe
Fixed the implementation of CoTreatAsClass.
2004-03-29 21:41:33 +00:00
Alexandre Julliard
9e4ed6460c
.spec.c files are no longer used for 32-bit dlls.
2004-03-24 03:36:44 +00:00
Francois Gouget
b948778660
Assorted spelling fixes.
2004-03-23 23:20:16 +00:00
Alexandre Julliard
0d203bd7ee
Sync some of the dll registrations with the contents of
...
winedefault.reg.
2004-02-27 06:08:32 +00:00
Patrik Stridvall
ede82e3055
Fixed some issues found by winapi_check.
2004-02-20 20:19:23 +00:00
Mike Hearn
ca8901640e
To reduce debugging noise, make IMalloc32/IMallocSpy implementations
...
output to the new olemalloc debug channel.
2004-02-19 01:26:45 +00:00
Robert Shearman
2eee76703d
- CoSetState info should be thread local.
...
- SetErrorInfo should allocate an apartment when no apartment present.
2004-02-10 01:36:20 +00:00
Troy Rollo
0a4050d33f
Added documentation for DocFiles, based on the CorVu implementation of
...
DocFiles.
2004-02-07 01:27:51 +00:00
Ge van Geldorp
e393195e8c
Don't depend on user32-internal implementation of accelerator tables.
2004-01-28 20:06:35 +00:00
Alexandre Julliard
20b4585e3c
Only link against libdxguid where necessary.
2004-01-27 00:11:16 +00:00
Alexandre Julliard
d07c1004e3
Moved a few remaining 16-bit definitions out of the standard headers.
2004-01-23 22:51:41 +00:00
Ge van Geldorp
100e11309b
Fix various function prototypes to conform to PSDK.
2004-01-23 20:57:26 +00:00
Ge van Geldorp
399901e054
Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
...
with PSDK.
2004-01-23 01:51:33 +00:00
Ge van Geldorp
1d0598b0aa
Swap arguments of LocalAlloc and only update Malloc32 block on
...
successful allocation.
2004-01-19 23:42:34 +00:00
Mike McCormack
2cee7ac6d9
Don't use CreateFileMapping on a zero length file.
2004-01-19 21:44:02 +00:00
Francois Gouget
17112eaa4d
Assorted spelling fixes.
2004-01-16 21:26:08 +00:00
Huw Davies
49906feb23
Trace the high part of the Seek offset.
2004-01-16 21:22:41 +00:00
Francois Gouget
640cc3f3e1
Assorted spelling fixes.
2004-01-06 22:08:33 +00:00
Robert Shearman
8aef340cbd
- Fix IMemAlloc_Free when IMemAlloc_Alloc hasn't yet been called and
...
debugging is on.
- Fix OleMetafilePictFromIconAndLabel (fixes attachments in Outlook2k).
- Implement OleTranslateAccelerator.
- Move OleCreate and a load of PropVariant functions out of stubs file.
- Change OleCreate to a semi-stub.
2003-12-08 22:46:08 +00:00
Dimitrie O. Paun
3e54350dc2
{Global,Local}ReAlloc() does not allocate memory.
2003-11-26 05:04:15 +00:00
Dimitrie O. Paun
a1cee57ce9
Fix mem leak when GlobalReAlloc() fails.
2003-11-26 03:36:18 +00:00
Dimitrie O. Paun
d8aa853596
Fix the IMalloc::ReAlloc() to follow the documented behavior.
2003-11-26 03:34:51 +00:00
Alexandre Julliard
d004059538
Moved the 16-bit storage interfaces out of the exported headers.
2003-10-14 20:23:01 +00:00
Oleg Prokhorov
de12a97041
Another portion of HeapReAlloc fixes.
2003-10-14 05:24:20 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Alexandre Julliard
593dec5d66
Authors: Warren Baird <warren.baird@cimmetry.com>, Dave Belanger <dave.belanger@cimmetry.com>
...
Moved code out of assert statements so you can safely compile with
-DNDEBUG.
2003-10-08 19:08:23 +00:00
Daniel Marmier
0348649853
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-06 21:03:32 +00:00
Dimitrie O. Paun
54e6b0d938
Extract binary resources to files, to fit the standard.
2003-10-03 05:01:33 +00:00
Michael Stefaniuc
082e0bfe93
Fix missing mem freeing on error path.
2003-10-01 03:14:29 +00:00
Michael Stefaniuc
ab64e3f095
Fixes for memory leaks on error path.
...
One fix for use of previous released pointer.
2003-09-30 00:24:08 +00:00
Dimitrie O. Paun
8b255842ec
Remove the obsolete pascal16 (replaced by pascal -ret16).
2003-09-26 04:32:19 +00:00
Mike McCormack
ac57fc20b6
Change erroneous malloc to HeapAlloc.
2003-09-22 19:46:13 +00:00
Dave Miller
47fb938d54
Removed ordinals from comments.
2003-09-11 03:06:25 +00:00
Dave Miller
13e05147bc
Remove all the ordinals and use @ instead.
2003-09-11 03:05:00 +00:00
Alexandre Julliard
20c169e0a4
Fixed a few more headers dependency issues.
2003-09-09 19:39:31 +00:00
Francois Gouget
ae50013017
Fix the case of product and company names.
2003-09-08 19:38:45 +00:00
Alexandre Julliard
d6bffb2c45
Regenerated with the latest widl.
2003-09-06 02:25:53 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
802ebc1168
Converted oleidl.h to IDL.
2003-09-03 20:17:39 +00:00
Rolf Kalbermatter
919bd7855f
Make sure the passed in object pointer is only addrefed on success.
2003-08-29 22:10:01 +00:00
Alexandre Julliard
7df1b9e03a
Start using the exported TEB structure from winternl.h where
...
possible.
2003-08-28 19:57:35 +00:00
Alexandre Julliard
02f2813968
Renamed a few TEB fields to use the "official" names.
2003-08-27 23:14:29 +00:00
Mike Hearn
266e19ebc0
In the global interface table:
...
- Print warnings when things go wrong.
- Alter the way we do refcounting.
- Don't release the stream on retrieval, just rewind it instead.
- Implement thread safety.
2003-08-23 00:45:49 +00:00
Jon Griffiths
ad86c25a8a
Remove redundant wine specific #include.
2003-08-18 19:48:38 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Patrik Stridvall
ba78aac406
Fixed some issues found by winapi_check.
2003-08-08 21:07:23 +00:00
Alexandre Julliard
20698b22df
Make the DllRegisterServer, DllRegisterServerEx, DllUnregisterServer,
...
DllGetClassObject and DllCanUnloadNow functions private (suggested by
Jon Griffiths).
2003-07-30 03:48:55 +00:00
Mike Hearn
6a8ac17c64
- GIT should not dereference ppv when unmarshalling interface.
...
- Correctly eliminate refcounting in the GIT.
- Add warning when given riid does not match.
2003-07-22 01:01:25 +00:00
Mike Hearn
cb7db104dd
IMallocSpy cannot cause an allocation failure when cb == 0.
2003-07-22 01:01:06 +00:00
Mike McCormack
97ac282fa7
Created stub for CreateClassMoniker.
2003-07-18 22:59:58 +00:00
Jon Griffiths
839131f600
Remove FIXMEs and prototypes for now-implemented functions.
2003-07-18 22:54:01 +00:00
Steven Edwards
32d27dc77b
- Create new file ole2_16.c for ole2 16bit only functions.
...
- Move CLSIDFromProgID16 so it can be used internally.
- Compile out more Win16 sources.
2003-07-09 19:49:12 +00:00
Francois Gouget
56aaea2f43
Spelling fixes.
2003-07-09 02:52:57 +00:00
Francois Gouget
14a5d168e9
Fixed some common spelling errors.
2003-07-02 04:37:26 +00:00
Dmitry Timoshkov
4e1ef0c114
For all DLLs with defined DllMain and which do not require
...
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Troy Rollo
72659c998f
Implemented OleDraw.
2003-06-27 04:03:40 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Francois Gouget
c5f775a9c7
Typos/spelling fixes.
2003-06-18 03:30:39 +00:00