Francois Gouget
6b6ed724ae
Add missing '\n's to debug traces.
2004-01-27 00:01:43 +00:00
Francois Gouget
e18aa3f614
Add trailing '\n's to ok() calls.
2004-01-26 20:23:25 +00:00
Gregory M. Turner
7a513d2795
Wine also supports the ncacn_np protocol sequence.
2004-01-26 20:13:18 +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
Mike Hearn
eca464b679
Implemented RpcIsProtSeqValid.
2004-01-20 23:36:50 +00:00
Alexandre Julliard
e8283089cb
Get rid of no longer needed WINE_PACKED define.
2004-01-09 22:18:49 +00:00
Ove Kaaven
00d0406c0d
Avoid freeing request packet too early if an exception occurs.
2004-01-09 00:35:04 +00:00
Ove Kaaven
cb6c83dfc3
Properly handle destroying the first connection in the connection
...
cache.
2004-01-09 00:34:53 +00:00
Alexandre Julliard
402b79a1e8
Porting fixes.
2003-11-27 00:59:36 +00:00
Gregory M. Turner
add18f77e9
Implemented RpcObjectSetType.
2003-11-21 22:14:42 +00:00
Dimitrie O. Paun
f5a23da2b2
Bail when we're out of memory.
2003-11-20 23:42:38 +00:00
Gregory M. Turner
9e85bf3f87
- Trace the argument to RPCRT4_server_thread.
...
- ^null implies two indirections, we have one.
- Ove's intent doesn't matter, the current implementation is right.
2003-11-20 23:39:18 +00:00
Gregory M. Turner
ad24c5599e
- Remove an erroneous check in NdrSendReceive.
...
- Change fixmes.
2003-10-21 23:49:57 +00:00
Dmitry Timoshkov
2581db8f6a
Fixed some problems found while compiling and linking Wine under
...
Cygwin.
2003-10-14 05:27:43 +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
Daniel Marmier
7e0ddbc60f
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-07 22:54:17 +00:00
Mike Hearn
a7b9936008
Move packet linked list tail forward correctly on push.
2003-09-15 19:57:11 +00:00
Gregory M. Turner
ee069f7cad
Updated the "TODO" comments.
2003-09-11 01:05:19 +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
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
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
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
Gregory M. Turner
7120b6ea4b
RPCRT4_NdrClientCall2 is ATM hardly "semi-stub".
2003-07-16 23:30:18 +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
Ove Kaaven
c707e23675
Initial support for RPC call failures, by catching RPC server
...
exceptions and returning simple failure packets, and throwing
exceptions on the client side when unmarshalling the failure packet.
2003-05-22 03:36:00 +00:00
Ove Kaaven
2d56c3d62d
For RPC servers, don't deallocate the RPC request packet before the
...
RPC reply packet is sent, in case marshalling the reply needs any of
the request data.
2003-05-21 18:23:06 +00:00
Ove Kaaven
40c9882b6c
Added semi-stub for NdrProxyErrorHandler.
...
Fixed a case of potential stack trashing.
2003-05-21 18:22:49 +00:00
Ove Kaaven
6e67d46355
Fixed NdrDllRegisterProxy so it registers the key names that ole32
...
expects. Better debug traces (include name of interface).
2003-05-20 04:13:44 +00:00
Ove Kaaven
a3f6bb8294
Implemented "dereference" pointer flag.
...
Added NdrClearOutParameters stub.
2003-05-20 02:17:49 +00:00
Ove Kaaven
571bc879c5
Portability fix. Better debug messages (display IID of interface to
...
marshal).
2003-05-20 02:17:15 +00:00
Francois Gouget
f803e2a92d
Fix miscellaneous spelling errors and typos.
2003-05-13 00:41:57 +00:00
Alexandre Julliard
056e4197f9
Added a few stubs needed by the generated oaidl_p.c.
2003-04-26 02:12:14 +00:00
Ove Kaaven
8e38233736
Implemented simple caching of client connections.
2003-04-19 20:06:42 +00:00
Ove Kaaven
097c8edc39
Fixed a race condition on RPC worker thread creation, and a typo.
2003-04-19 02:49:35 +00:00
Ove Kaaven
daffdb622a
Added missing AddRef.
2003-04-19 02:49:15 +00:00
Alexandre Julliard
5537dbbf40
Replaced WINE_CHECK_STRUCT_MEMBER autoconf macro by the standard
...
AC_CHECK_MEMBERS. Added check for si_fd in siginfo_t.
2003-03-28 00:36:12 +00:00
Alexandre Julliard
114a31a2a8
Take advantage of new winebuild syntax to remove redundant function
...
names in spec files.
2003-03-20 03:53:12 +00:00
Ove Kaaven
def211c4c9
For better concurrency, separate the connections from the bindings.
2003-02-19 03:44:35 +00:00
Ove Kaaven
cf2dea09af
NDR marshalling fixes.
2003-02-17 01:48:24 +00:00
Ove Kaaven
1a0112a47d
Make NdrDllRegisterProxy use the interface stub header instead of the
...
interface proxy header to avoid stubless proxy ambiguities.
2003-02-17 01:47:54 +00:00
Marcus Meissner
e1c7202716
Fixed undefined operation compiler warning.
2003-02-11 22:20:24 +00:00
Ove Kaaven
0e85f48f9d
Implemented marshalling of pointers, simple and complex structures,
...
conformant and complex arrays, and user-marshalled types.
Improved marshalling of conformant strings and interface pointers a
bit.
2003-02-01 00:44:51 +00:00
Ove Kaaven
9dc2584b32
ReuseBuffer should be FALSE for RPC clients.
...
Some cleanups and elimination of some duplicate code.
2003-01-31 03:22:53 +00:00
Ove Kaaven
c3e724d047
Fixed a bug in CompleteBindingA/W.
2003-01-31 03:22:38 +00:00
Ove Kaaven
5d121fbe05
Implemented RpcRaiseException.
2003-01-31 03:22:27 +00:00
Francois Gouget
9b0b1e078a
Remove (POINTER)NULL casts.
2003-01-14 23:43:41 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Dimitrie O. Paun
cef5961d2b
Eliminate lots of __WINE__ conditionals from the headers.
2003-01-03 19:12:55 +00:00
Dimitrie O. Paun
48be9c6e87
Fix definitions for Uuid{To,From}String, RpcStringFree.
2002-12-24 00:26:55 +00:00
Alexandre Julliard
dbf8b78acd
Added .spec.def files.
2002-12-12 22:04:04 +00:00
Ove Kaaven
1f5315c80f
Make sure that no files except unknwn.h include wine/obj_base.h
...
directly.
2002-12-05 20:33:07 +00:00
Francois Gouget
938ed57cb8
Skip Unicode tests if there's no Unicode support.
2002-12-05 19:01:51 +00:00
Alexandre Julliard
d77294a8ec
Authors: Greg Turner <gmturner007@ameritech.net>, Ove Kaaven <ovek@transgaming.com>
...
- preliminary implementation of endpoint-mapping via a new on-demand
server-ish process
- more header fixups
- (re)implement RpcEpRegisterA, RpcEpUnregister, and
RpcEpResolveBinding using the new rpcss functionality
- update the todo list in rpcrt4_main.c a bit
- many beautifications and touch-ups
- command-line configurable timeout
- micro-client imbedded in np_server.c
2002-12-02 21:17:04 +00:00
Alberto Massari
d9159093a5
Avoid crashing when releasing an NdrCStdStubBuffer that had been
...
previously disconnected.
2002-11-08 18:52:34 +00:00
Greg Turner
b9ae9eca13
- Remove stupid indentations from trace msgs.
...
- Update the rpc TODO list a bit.
- Add some constants for winapi_check.
- Nil pointer support for some UUID functions (spotted by Olivier
Evalet).
2002-11-06 21:58:21 +00:00
Alexandre Julliard
1e1313d54c
Made the dll entry point default to DllMain and removed most of the
...
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Greg Turner
2339b83ef4
Fix some problems found by winapi_check.
2002-11-01 01:47:43 +00:00
Greg Turner
d4730de333
Fix stupid clone of broken macro, found by Marcus.
2002-11-01 01:47:04 +00:00
Greg Turner
eaa53a05b0
Remove #ifdef WINNT conditionals; just use the NT definitions.
2002-10-31 23:36:07 +00:00
Greg Turner
f71a83a1e9
- Use appropriate per-platform NDR_LOCAL Data Representation.
...
- Minor housekeeping changes.
2002-10-31 23:35:46 +00:00
Greg Turner
3eafbfcd56
- Fix offset bug in the conformant string unmarshall routine.
...
- Fix discrepancy between headers and implementation of
I_RpcBindingSetAsync when compiling under WINNT.
- Eliminate race conditions in the relationship between "listen_count"
and "std_listen" in rpc_server.h.
- Code-stubs for RpcServerUnregisterIf, RpcServerUnregisterIfEx.
- Attempt to implement RpcMgmtStopServerListening (definitely not
happy just yet).
- RpcServerUnregisterIfEx wasn't xp-sepcific after all; this leads me to
suspect there are more such mistakes in the spec-file comments, but I
haven't looked into it or fixed them yet (coming soon).
- Cleanups, trace-enhancements, etc.
2002-10-31 22:45:12 +00:00
Greg Turner
dc3e6c571b
Rename the *_32_READ macros to *_UINT32_READ for clarity.
2002-10-31 22:04:08 +00:00
Marcus Meissner
f99c03b972
Fixed LITTLE_ENDIAN_32_READ macro to at least compile.
2002-10-30 20:26:51 +00:00
Greg Turner
70bb478134
- more comments and comment-cleanup
...
- attempt to implement NdrConformantStringMemorySize
- fix NdrConformantStringUnMarshall
- w00t!
2002-10-29 23:07:33 +00:00
Patrik Stridvall
c72255c715
Fixed some issues found by winapi_check.
2002-10-29 21:31:26 +00:00
Greg Turner
7ac58a4dc9
- Pull the buffer from the rpc message into the midl stub message
...
during RpcServerInitializeNew.
- Attempt to implement NdrConformantStringUnmarshall.
- More assertions.
- Comments and cleanups.
2002-10-28 23:53:23 +00:00
Greg Turner
cbd5afd843
Add a bunch of stubs, all of which I presume to be WXP additions.
2002-10-28 23:52:42 +00:00
Greg Turner
a215f6b21a
- Clean up and add some comments.
...
- Add NDR Data representation constants.
- Propagate DataRepresentation into and out of packet headers.
- Implement NdrServerInitializeNew
2002-10-28 21:14:16 +00:00
Greg Turner
6abd817d8e
- Distinguish between actual paranoia and meaningful buffer space.
...
- No need to #undef BUFFER_PARANOIA here.
2002-10-28 20:40:59 +00:00
Greg Turner
fc55077e52
- Clean up and enhance some traces.
...
- Stubs for NdrConvert, NdrConvert2, and NdrServerInitializeNew.
2002-10-28 20:07:01 +00:00
Greg Turner
c36d63f436
Fix endianness dependency in the (there is only one :) ) marshall
...
function.
2002-10-28 18:47:41 +00:00
Greg Turner
461708c142
- Use memset instead of ZeroMemory, just to be consistent with Ove's
...
code.
- Add some assertions where assumptions are made (need way more).
- Plug the binding handle into the RPC_MESSAGE during NdrGetBuffer.
- Implement NdrSendReceive.
- Attempt to support client and server bindings in I_RpcSend[Receive].
2002-10-25 21:02:02 +00:00
Greg Turner
4a37d84a9d
- Make explicit some missing include dependencies.
...
- Implement NdrGetBuffer, NdrFreeBuffer, NdrConformantStringBufferSize
and NdrConformantStringMarshall.
- Define the RPC_FC_C_CSTRING constant.
- Perhaps I don't want those MIDL_*_FORMAT_STRING structs, after
all. Removed.
- Add RPC todo list.
- MIDL_STUB_MESSAGE.uFlags aren't.
- Comment out the NdrClientCall2 mock-up since that stuff is in the
process of being implemented and might cause problems.
2002-10-25 19:03:43 +00:00
Greg Turner
e033578a58
Implemented NdrClientInitializeNew.
2002-10-23 23:36:53 +00:00
Greg Turner
c029f8c006
Whitespace cleanup.
2002-10-23 23:36:24 +00:00
Greg Turner
641f7fa3de
Fixed a tiny trace bug.
2002-10-23 23:36:05 +00:00
Greg Turner
0e2bec0e70
- Use Ove-style macros for NdrConformantStringMarshall definition.
...
- Move NdrConformantStringMarshall to new ndr_marshall.c.
- Stubs for NdrConformantStringBufferSize,
NdrConformantStringMemorySize, and NdrConformantStringUnmarshall.
2002-10-22 00:41:17 +00:00
Greg Turner
36fa7d50a7
- ClientCall2 still deserves a FIXME.
...
- Complete bindings with NULL endpoints.
- Implement RpcServerUseProtseqA, RpcServerUseProtseqW.
2002-10-22 00:40:01 +00:00
Greg Turner
c14e9ebc07
Fix return types of NdrConformantStringMarshall, NdrGetBuffer, and
...
NdrSendReceive.
2002-10-21 23:42:01 +00:00
Greg Turner
b71535ebfd
Stubs for RpcServerUseProtseqA, RpcServerUseProtseqW.
2002-10-21 23:41:35 +00:00
Greg Turner
1ecb22867f
Super-crude implementation for NdrClientCall2.
...
Specs and headers for NdrClientInitializeNew,
NdrConformantStringMarshall, NdrGetBuffer, NdrFreeBuffer, and
NdrSendReceive.
2002-10-19 19:17:19 +00:00
Greg Turner
fc4e2fe74f
Fix up RpcMgmtWaitServerListen to be less incorrect.
2002-10-19 19:14:45 +00:00
Greg Turner
f6673f3a95
Some MIDL constants and structures (should eventually move to rpcndr.h
...
I think).
Stubs for NdrClientInitializeNew, NdrConformantStringMarshall,
NdrGetBuffer, NdrFreeBuffer, and NdrSendReceive (not in specfile yet).
2002-10-19 19:14:25 +00:00
Alexandre Julliard
b34fb35b31
Fixed warnings caused by conversion to -DSTRICT.
2002-10-18 23:48:57 +00:00
Greg Turner
034e4df6e7
- (try to) implement RpcMgmtWaitServerListen
...
- remove duplicate RpcServerListen declaration in rpcdce.h
- some TRACEs
2002-10-18 03:56:56 +00:00
Alexandre Julliard
54ba29acf0
Fixed compilation for non-i386.
2002-10-17 16:45:24 +00:00
Greg Turner
686b845593
Use the msvc way to return a struct, fixing wierd problems.
2002-10-16 18:51:11 +00:00
Ove Kaaven
a2813f4a5e
Added NdrOleAllocate, NdrOleFree, NdrInterfacePointerBufferSize,
...
NdrInterfacePointerFree, NdrInterfacePointerMarshall,
NdrInterfacePointerMemorySize, NdrInterfacePointerUnmarshall.
2002-10-11 18:45:02 +00:00
Ove Kaaven
1cc2cee66f
Reimplement several RpcServer.* methods in rpc_server.c.
...
Implement RpcServerInqBindings, I_RpcServerStartListening,
I_RpcServerStopListening, and I_RpcWindowProc.
2002-10-11 17:52:37 +00:00
Ove Kaaven
66840f7d11
Added NdrDllCanUnloadNow, NdrDllGetClassObject, NdrDllRegisterProxy,
...
NdrDllUnregisterProxy, CStdPSFactory methods.
2002-10-10 23:36:52 +00:00
Ove Kaaven
528d2c4f7f
Added NdrProxyFreeBuffer, NdrProxyGetBuffer, NdrProxyInitialize,
...
NdrProxySendReceive, NdrStubGetBuffer, NdrStubInitialize.
2002-10-10 23:26:53 +00:00
Ove Kaaven
1d5d2bd081
Implement the CStdStubBuffer methods.
2002-10-10 22:46:08 +00:00
Ove Kaaven
b41d4feda1
IUnknown_[QAR]_Proxy implementations, VTbl construction, the dreaded
...
ObjectStubless, and other proxy-related goodies.
2002-10-10 21:18:29 +00:00
Ove Kaaven
c3a78d4fbe
Stubby NdrClientCall2 & some header changes.
2002-10-10 19:23:33 +00:00
Ove Kaaven
0a17edf3a5
Implemented I_RpcFreeBuffer, I_RpcGetBuffer, I_RpcReceive, I_RpcSend,
...
I_RpcSendReceive; administrivia.
2002-10-10 18:55:24 +00:00
Greg Turner
ac89cc28dd
Added skeleton for rpcrt4 unit test with some UUID tests.
2002-10-07 21:54:07 +00:00
Greg Turner
13b0f9f5ad
Implemented UuidCompare.
2002-10-07 21:52:55 +00:00
Ove Kaaven
9b239925a9
Implemented RpcBindingInqObject, RpcBindingSetObject,
...
RpcBindingVectorFree, RpcBindingToStringBindingA/W,
RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W,
I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree,
RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk.
2002-10-07 21:49:49 +00:00