Huw Davies
9f2c668c99
rpcrt4/tests: Fix some tests on Win 8.
2015-04-24 14:29:28 +09:00
Michael Stefaniuc
0a8427dc15
rpcrt4: Don't open code CONTAINING_RECORD().
2015-04-21 17:45:14 +09:00
Huw Davies
b24ce98af3
rpcrt4/tests: Avoid a double-free.
...
Commit 4cf70b1418
was causing the tests to
crash. The reason is due to a Wine bug in NdrPointerUnmarshall().
Windows returns the same pointer (which is later released in a call to
NdrPointerFree()), while Wine makes a copy which Valgrind correctly
spots is leaked.
2015-04-20 21:22:36 +09:00
Nikolay Sivov
4cf70b1418
rpcrt4/tests: Fix a minor leak (Valgrind).
2015-04-13 15:05:07 +09:00
Nikolay Sivov
73a68b065b
rpcrt4: Fix RpcMgmtStopServerListening() return value when we're not listening.
2015-03-26 14:21:49 +09:00
Nikolay Sivov
fd25d9aadb
rpcrt4/tests: Use status definitions instead of numeric values.
2015-03-26 14:21:46 +09:00
Francois Gouget
13ad265b23
rpcrt4: Remove an unneeded NONAMELESSSTRUCT directive.
2015-03-19 14:05:59 +09:00
Nikolay Sivov
e1d1057232
rpcrt4: Use a helper to skip conformance.
2015-03-10 15:09:53 +09:00
Nikolay Sivov
66c05a4597
rpcrt4: Export I_UuidCreate().
2015-03-10 15:09:33 +09:00
Nikolay Sivov
15d7436a0d
rpcrt4: Add all stubs to OLE marshalling stream.
2015-03-09 17:32:19 +09:00
Nikolay Sivov
71d663f1de
rpcrt4: Return buffer size directly to avoid accessing implementation fields.
2015-03-09 17:32:14 +09:00
Nikolay Sivov
e7a608a4e3
rpcrt4: Handle memory allocation error when creating OLE stream instance.
2015-03-09 17:32:09 +09:00
Nikolay Sivov
ecda8fd501
rpcrt4: Added inline helper to test for Oicf stub descriptions.
2015-03-06 20:40:44 +09:00
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