Commit Graph

1427 Commits

Author SHA1 Message Date
Nikolay Sivov 2b40f9b01e rpcrt4: Implement RPC_FC_CALLBACK_HANDLE handle type for NdrClientCall2(). 2015-03-06 12:57:03 +09:00
Nikolay Sivov 36bc8563cf rpcrt4: Implement MesEncodeDynBufferHandleCreate(). 2015-03-04 21:50:38 +09:00
Nikolay Sivov d240fdff18 rpcrt4: Implement MesBufferHandleReset(). 2015-03-04 21:50:37 +09:00
Nikolay Sivov 37dd441587 rpcrt4: Fix argument check in MesEncodeFixedBufferHandleCreate(). 2015-03-03 23:16:42 +09:00
Nikolay Sivov 0810db96fa rpcrt4: Use RPC_* error code names. 2015-03-03 20:32:06 +09:00
Austin English ecdaf568b5 rpcrt4: Add a stub for I_RpcBindingInqLocalClientPID. 2015-02-10 16:41:37 +09:00
Hans Leidekker 49a2fb660b rpcrt4: Make sure the Content-Length header is set correctly when preparing the out pipe. 2014-12-19 22:36:17 +01:00
Amine Khaldi 19254eb438 rpcrt4/tests: Remove unused if3_table and if4_table (Clang). 2014-10-24 19:58:05 +09:00
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
Alexandre Julliard b6599bd7df rpcrt4: Add an assembly wrapper to implement the NdrClientCall2 calling convention on x86_64. 2011-06-14 16:12:04 +02:00
Alexandre Julliard 379479a973 rpcrt4: Add a wrapper for NdrClientCall2 to isolate calling convention differences. 2011-06-14 16:12:04 +02:00
Alexandre Julliard fa847909f2 rpcrt4: Preserve the previous MaxCount value when computing variance through a callback. 2011-06-14 16:12:04 +02:00
Alexandre Julliard 717bd66440 widl: Default to the cdecl calling convention in client/server functions. 2011-06-13 11:53:28 +02:00
Alexandre Julliard e8567110b3 rpcrt4: Also check base types for null ref pointers. 2011-06-13 11:49:14 +02:00
Alexandre Julliard b0f8586078 rpcrt4: Fix handling of complex types of return values on the client side. 2011-06-13 11:48:49 +02:00
Alexandre Julliard 1c632ffe8e rpcrt4: Fix handling of complex types of return values on the server side. 2011-06-13 11:48:24 +02:00
Alexandre Julliard cdf457774d rpcrt4: Don't try to bind to a null handle. 2011-06-10 11:42:19 +02:00
Alexandre Julliard c8d787dba8 rpcrt4: Add support for the argument size of varying arrays. 2011-06-10 11:41:58 +02:00
Alexandre Julliard 87cf6ec75d rpcrt4: Fix parameter stack size computation in the old-style stubless marshaller. 2011-06-10 11:41:38 +02:00
Alexandre Julliard 5d7e4da81a rpcrt4: Fix handling of arguments passed by value in the old-style stubless marshaller. 2011-06-10 11:35:53 +02:00
Alexandre Julliard 0941644db7 rpcrt4: Don't marshall out-only parameters in the old-style stubless marshaller. 2011-06-10 11:35:24 +02:00
Alexandre Julliard 3c5688a80d rpcrt4/tests: Add a few more marshalling tests. 2011-06-09 13:19:08 +02:00
Alexandre Julliard 69bc4da51a rpcrt4: Add entry points for the old-style stubless Ndr calls. 2011-06-02 17:26:59 +02:00
Alexandre Julliard f061917296 include: Make CLIENT_CALL_RETURN definition platform-specific to handle the return type incompatibility in NdrClientCall. 2011-06-02 16:22:43 +02:00
Alexandre Julliard 968c8688c4 widl: Array dimensions have to be constants. 2011-05-28 13:39:18 +02:00
Huw Davies e0a60312d1 rpcrt4: Handle non-conformant bogus structures. 2011-04-27 11:55:01 +02:00
Marcus Meissner 58040f9508 rpcrt4: Mark internal symbols with hidden visibility. 2011-04-26 15:31:27 +02:00
Michael Stefaniuc 64d18bc1f0 rpcrt4/tests: COM cleanup in cstub.c. 2011-03-15 17:14:07 +01:00
Austin English 01ca32ac91 rpcrt4/tests: Remove win9x hacks. 2011-02-28 13:13:58 +01:00
Austin English 5b25b11b05 rpcrt4/tests: Make sure return values are used (LLVM/Clang). 2011-02-09 09:26:05 -06:00
Joris Huizer 3312d63119 rpcrt4: Reduce scope of variable (Clang). 2011-02-04 15:25:33 +01:00
Huw Davies 5102d4df8c rpcrt4/tests: Add a test for marshalling a pointer to a user type, where the user type is itself a pointer. 2011-02-04 15:25:33 +01:00
Michael Stefaniuc 18a3b3f2f7 rpcrt4: COM cleanup for StdProxyImpl. 2010-12-30 12:21:54 +01:00
Hans Leidekker 215b69e36b rpcrt4: Add a stub implementation of RpcMgmtSetAuthorizationFn. 2010-12-15 12:02:09 +01:00
Michael Stefaniuc c38d6fed39 rpcrt4: Use an iface instead of a vtbl pointer in RpcStreamImpl. 2010-12-09 12:24:15 +01:00
Alexandre Julliard dc9b648fcb rpcrt4: Get rid of the ICOM_THIS_MULTI macro. 2010-11-11 20:21:57 +01:00
Alexandre Julliard 749f22948c rpcrt4: Implement waiting in RpcMgmtWaitServerListen. 2010-11-10 10:00:35 +01:00
Louis Lenders 92f41c56f7 rpcrt4: Add stub for NdrMesTypeEncode2. 2010-10-27 11:46:54 +02:00
Alexandre Julliard 7bfa513bc9 rpcrt4/tests: Fix a test failure on XP SP3. 2010-10-08 11:56:45 +02:00
Alexandre Julliard 7afdf5d920 Make some variable declarations extern. 2010-10-01 13:42:22 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 95ea352738 rpcrt4: Remove a couple of unused local variables. 2010-09-01 14:01:04 +02:00
Alexandre Julliard 0abc475365 rpcrt4: Retrieve the stack argument pointer in a more portable way in NdrMesProcEncodeDecode. 2010-09-01 14:01:04 +02:00
Francois Gouget 99c5ca7e40 rpcrt4: Make RPCRT4_Receive() static. 2010-08-31 14:23:47 +02:00
Alexandre Julliard 9de9cbb324 rpcrt4: Retrieve the stack argument pointer in a more portable way in NdrClientCall. 2010-08-26 17:21:09 +02:00
Alexandre Julliard e095467b3c rpcrt4: Fix cfi annotations for the stubless proxy entry point. 2010-08-26 17:21:09 +02:00
Huw Davies 300536d88e rpcrt4: Add a missing STUBLESS_INITOUT case. 2010-08-02 17:40:34 +02:00
Alexandre Julliard ee5cada235 rpcrt4: Don't align the buffer after reading the conformance, we need to read the variance first. 2010-07-21 20:31:53 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Austin English eb7c206114 rpcrt4/tests: Improve failure messages. 2010-07-20 14:40:32 +02:00