Commit Graph

1369 Commits

Author SHA1 Message Date
Eric Kohl 23981241c1 rpcrt4: Fix buffer size calculation for arrays with embedded pointers. 2014-09-18 18:40:21 +02:00
Thomas Faber 6a30cde7b0 rpcrt4: Correctly check for in-buffer memory in PointerFree. 2014-08-11 23:55:23 +02:00
Marcus Meissner 906c341781 rpcrt4: Fixed memory leak on error exit (Coverity). 2014-07-15 15:30:44 +02:00
Austin English b4e006720a rpcrt4: Add a stub for RpcSsDontSerializeContext. 2014-07-08 10:25:45 +02:00
Thomas Faber 8fe759dfae rpcrt4: Do not omit mandatory argument to VirtualProtect. 2014-06-23 10:08:13 +02:00
Bruno Jesus d4278ce0ed rpcrt4: Take care of EINTR on send/recv. 2014-06-12 18:05:03 +02:00
Dmitry Timoshkov 05aab53f38 rpcrt4/tests: Add a couple of tests for marshalling an array of strings. 2014-04-02 15:46:51 +02:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Frédéric Delanoy b553f54323 rpcrt4/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-30 12:42:55 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Frédéric Delanoy 44c1ba9f9e rpcrt4: Constify a character string. 2013-12-18 11:39:29 +01:00
Frédéric Delanoy 47ed171aac rpcrt4: Use BOOL type where appropriate. 2013-12-03 12:40:19 +01:00
Jacek Caban 06246aff90 rpcrt4: Compile tests with -D__WINESRC__. 2013-11-08 16:29:43 +01:00
Alexandre Julliard c3a48aab20 makefiles: Add makedep pragmas for client and server idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard 55e44092bd makefiles: Remove useless definitions of COM_NO_WINDOWS_H. 2013-10-14 16:05:31 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Frédéric Delanoy c91f39055e rpcrt4: Use BOOL type where appropriate. 2013-10-01 10:50:46 +02:00
Hans Leidekker 057c98323e rpcrt4: Don't try to decode the authorization value in the first leg. 2013-09-11 16:10:05 +02:00
Hans Leidekker 6f2c4bac58 rpcrt4: Don't remove the authorization header if the scheme is Basic. 2013-09-11 16:10:01 +02:00
Hans Leidekker 9ea95f4105 rpcrt4: Add support for NTLM and Negotiate. 2013-09-05 13:26:15 +02:00
Marcus Meissner d138a1e43d rpcrt4: Free url in error paths (Coverity). 2013-09-02 18:03:49 +02:00
Hans Leidekker 0b900f2fd4 rpcrt4: Only accept status code HTTP_STATUS_OK. 2013-08-28 16:14:36 +02:00
Hans Leidekker 35468903cd rpcrt4: Don't follow HTTP redirects. 2013-08-28 16:14:36 +02:00
Hans Leidekker 9d213312f1 rpcrt4: Remove an unneeded parameter from RPCRT4_BuildHttpConnectHeader. 2013-08-28 16:14:36 +02:00
Hans Leidekker a2f6e92acd rpcrt4: Add support for session cookies. 2013-08-28 16:14:36 +02:00
Hans Leidekker d5b2c8e943 rpcrt4: Try to authorize with the first HTTP request instead of waiting for a challenge. 2013-08-20 13:01:28 +02:00
Hans Leidekker 1cef6a2322 rpcrt4: Trace the first authentication scheme in RpcBindingSetAuthInfoExA/W. 2013-08-20 13:01:11 +02:00
Hans Leidekker 1e3186c6c7 rpcrt4: Include authentication schemes in the quality of service match. 2013-08-20 13:01:07 +02:00
Hans Leidekker 4557e50575 rpcrt4: Accept NULL server principal name in RpcBindingSetAuthInfoExA. 2013-08-20 13:01:04 +02:00
Hans Leidekker 30c00ea16d rpcrt4: Specify INTERNET_FLAG_NO_CACHE_WRITE for the HTTP transport pipes. 2013-05-31 16:39:31 +02:00
Hans Leidekker 9967aed09d rpcrt4: Use the right port for https connections. 2013-03-25 16:27:17 +01:00
Andrew Talbot 49992c3a5e rpcrt4: Avoid signed-unsigned integer comparisons. 2013-02-26 11:26:58 +01:00
Hans Leidekker 164ddbca8c rpcrt4: Accept HTTP idle packets while waiting for the second prepare header. 2013-02-21 18:02:40 +01:00
Alexandre Julliard 38e8f6d83f rpcrt4/tests: Define the required Windows version before including anything. 2013-02-18 14:51:05 +01:00
Francois Gouget 138f119705 rpcrt4/tests: Trace the GUID when it is wrong. 2013-02-11 17:52:47 +01:00
Alexandre Julliard af734f9623 rpcrt4: Fix wrap-around bug in tick count comparison. 2013-01-24 15:15:16 +01:00
Eric Pouech d1ccbceb4d Various background processes must be launched detached from current console (if any). 2013-01-16 14:02:55 +01:00
Hans Leidekker a5750a1fdf rpcrt4: Implement RpcMgmtIsServerListening. 2012-11-12 13:17:00 +01:00
Frédéric Delanoy 9c63a30c25 rpcrt4: Fix resources leaks. 2012-10-31 16:12:27 +01:00
André Hentschel 81c0e1eaa1 rpcrt4: Reorder code to make sure RpcBindingFromStringBinding[AW] cleans up (coverity). 2012-10-29 10:37:35 +01:00
André Hentschel c60a0b857d rpcrt4: Fix copy-paste error (coverity). 2012-10-24 19:39:01 +02:00
Thomas Faber 25b76525f3 rpcrt4: Match MSVC version of call_server_func with GCC. 2012-09-24 22:27:26 +02:00
Jacek Caban ee40973b2b rpcrt4: Moved sending echo request to separated function. 2012-08-15 12:18:31 +02:00
Jacek Caban 07cb28c641 rpcrt4: Fixed memory leak. 2012-08-15 12:18:24 +02:00
Jacek Caban cbdb58476a rpcrt4: Added cancelling support for all HTTP requests. 2012-08-15 12:18:20 +02:00
Jacek Caban 1de4129b0a rpcrt4: Properly handle async HTTP failures. 2012-08-14 17:42:07 +02:00
Jacek Caban 9eeedc2723 rpcrt4: Optimize buffer allocation in rpcrt4_ncacn_http_read. 2012-08-14 17:42:07 +02:00
Jacek Caban 5e6aca7955 rpcrt4: Use helper for handling async call wait. 2012-08-14 17:42:06 +02:00
Jacek Caban cba1cfc645 rpcrt4: Added prepare_async_request helper. 2012-08-14 17:42:06 +02:00
Jacek Caban 567e49f21a rpcrt4: Use proper helper for IRpcStubBuffer call. 2012-08-14 17:42:06 +02:00
Jacek Caban 028f3be092 rpcrt4: Added RpcError* stubs. 2012-08-14 11:59:53 +02:00
Hans Leidekker 4d6ff85433 rpcrt4: Add a stub implementation of RpcServerInqDefaultPrincNameA/W. 2012-05-09 17:49:29 +02:00
Thomas Faber c38ba3a411 rpcrt4/tests: Fix build with PSDK headers. 2012-05-07 11:38:03 +02:00
André Hentschel fc2c0160fb rpcrt4: Avoid shadowing pProcHeader. 2012-04-30 20:03:28 +02:00
Vincent Povirk bf5c3019a3 rpcrt4: Do nothing when DllMain is called because the process is exiting. 2012-03-29 20:49:23 +02:00
Alexandre Julliard d2ca9f4b02 rpcrt4: Add ref counting to RPC connections, and grab a reference while processing an RPC packet. 2012-02-14 17:59:27 +01:00
Frédéric Delanoy ca75c4a84b rpcrt4: Make some switch fallthroughs explicit (Coverity). 2012-01-20 13:32:47 +01:00
André Hentschel 030c75a8ae rpcrt4: Implement RpcEpRegisterNoReplaceW. 2011-11-30 17:05:09 +01:00
André Hentschel d2f3463a01 rpcrt4: Implement RpcEpRegisterNoReplaceA. 2011-11-30 17:05:02 +01:00
Francois Gouget 92ff5f3548 rpcrt4: Delete the static critical sections when unloading the dll. 2011-11-17 11:38:22 +01:00
Francois Gouget e9e0507d2b rpcrt4: An interface pointer just has the size of a regular pointer. 2011-11-16 17:01:49 +01:00
Francois Gouget 97ba7aa521 rpcrt4: The offset to the complex pointer's description is signed. 2011-11-16 09:47:16 +01:00
Francois Gouget 86d8217aea rpcrt4: Give a name to the critical sections. 2011-11-14 20:15:26 +01:00
Henri Verbeet f687728c43 rpcrt4: Properly size complex reference pointers. 2011-09-23 12:35:17 +02:00
Bernhard Loos c2feafb96c rpcrt4: Switch to non-overlapped named pipe operations and use a thread for the async listen operation. 2011-09-19 17:59:35 +02:00
Alexandre Julliard cb5beede16 rpcrt4/tests: Add more tests for integer ranges to show that ranges are independent.
Reported by Jérôme Gardou.
2011-09-19 13:17:41 +02:00
Bernhard Loos a57312d873 rpcrt4: The named pipe can be used for multiple operations at the same time, so use overlapped operations for ReadFile and WriteFile. 2011-09-14 17:28:38 +02:00
Jérôme Gardou 67f7a02fed rpcrt4: Properly unmarshall EMUM16 discriminant. 2011-08-30 12:39:40 +02:00
André Hentschel 328acc81fc rpcrt4/tests: Fix NULL string handling in an ok() check. 2011-08-30 11:52:59 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
André Hentschel f98369f21c rpcrt4/tests: Only free string when function succeeded. 2011-08-01 11:06:35 +02:00
Alexandre Julliard 976cd5c9fe rpcrt4: Support sizing of a few more argument types. 2011-07-29 12:08:52 +02:00
Alexandre Julliard 2bdff69733 rpcrt4: Add a phase in proxies for zeroing output parameters on startup. 2011-07-28 23:10:20 +02:00
Alexandre Julliard a37ec01bd1 rpcrt4: Add a phase in proxies for clearing output parameters on error. 2011-07-28 23:09:53 +02:00
Alexandre Julliard 78e8fccbd6 rpcrt4: Use the same phase values for clients and stubs. 2011-07-28 23:07:21 +02:00
Alexandre Julliard f3734fd687 rpcrt4: Pass the full argument format to the size/marshall/unmarshall wrappers to greatly simplify the argument processing. 2011-07-28 22:13:49 +02:00
Alexandre Julliard ad7cb0cf6c rpcrt4: Convert old-style arguments for stub calls. 2011-07-28 17:48:19 +02:00
Alexandre Julliard 348f00e116 rpcrt4: Convert old-style arguments for NdrMesProcEncodeDecode. 2011-07-28 17:30:40 +02:00
Alexandre Julliard e8e3a2da83 rpcrt4: Convert old-style argument formats to new style so that the client call implementation can be shared. 2011-07-28 16:54:01 +02:00
Alexandre Julliard cf930f1fc9 rpcrt4: Simplify tracing of function parameters and flags. 2011-07-28 13:01:30 +02:00
Alexandre Julliard 064a81782c rpcrt4: Fetch the arguments address from the StubMsg structure. 2011-07-28 12:48:39 +02:00
Alexandre Julliard 4447f221db rpcrt4: Use a single structure for all parameter types in new format descriptors. 2011-07-28 12:43:27 +02:00
Alexandre Julliard 9d9f6da7da rpcrt4/tests: Fix a test failure on 64-bit platforms. 2011-07-28 11:25:08 +02:00
Alexandre Julliard 9d4e79e382 rpcrt4/tests: Add a test about unmarshalling of an out-only structure. 2011-07-27 11:51:24 +02:00
Bernhard Loos d599813b74 rpcrt4: Create pipes with FLAG_OVERLAPPED. 2011-07-15 16:25:18 +02:00
Damjan Jovanovic ec2f513690 rpcrt4: Implement RpcNetworkInqProtseqs. 2011-06-28 16:45:56 -05:00
Alexandre Julliard 781ff545cf rpcrt4: Make sure we don't try to free a pointer twice. 2011-06-20 19:32:04 +02:00
Damjan Jovanovic acc112bad7 rpcrt4: Implement RpcProtseqVectorFree. 2011-06-20 19:32:02 +02:00
Damjan Jovanovic 57b7044cd6 rpcrt4: Add stubs for RpcNetworkInqProtseqs. 2011-06-17 19:30:46 +02:00
Alexandre Julliard 4f247d3130 rpcrt4: Add support for 64-bit conformance values. 2011-06-17 14:11:45 +02:00
Alexandre Julliard a75402af96 rpcrt4: Add a wrapper for NdrAsyncClientCall too. 2011-06-16 14:30:34 +02:00
Alexandre Julliard ffb8f4bedf rpcrt4: Add support for float parameters in client calls on x86_64. 2011-06-16 14:30:28 +02:00
Alexandre Julliard b02457a108 rpcrt4: Implement stubless proxy entry thunks for x86_64. 2011-06-15 20:04:39 +02:00
Alexandre Julliard 915a0769e5 rpcrt4: Reimplement the stubless proxy entry point entirely in assembly. 2011-06-15 20:04:38 +02:00
Alexandre Julliard 779a8fcddb rpcrt4: Make more of the stubless proxy setup code platform-independent. 2011-06-15 20:04:38 +02:00
Alexandre Julliard 0ce27385fd rpcrt4: Implement calling server functions on x86_64. 2011-06-14 16:12:04 +02:00