Michael Stefaniuc
a2201e8add
urlmon: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:06 +02:00
Nikolay Sivov
8665a60680
urlmon: Use ARRAY_SIZE() macro.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-09 22:20:59 +02:00
Michael Stefaniuc
1281a687c8
urlmon/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 20:53:06 +02:00
Jacek Caban
d3a9af15d2
urlmon/tests: Added more ref counting and aggregation tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:24:32 +02:00
Jacek Caban
52aefc0611
urlmon: Ensure that inner protocol handler reference is released after other references.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:24:29 +02:00
Jacek Caban
749dbd81b1
urlmon/tests: Use the same thread for both connections in redirect tests.
...
Fixes a race spotted by Zebediah Figura.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:24:26 +02:00
Jacek Caban
df976fd57a
urlmon/tests: Handle ERROR_INTERNET_INVALID_CA security problem in https tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:24:17 +02:00
Jacek Caban
040d41df29
urlmon: Query for IWinInet[Http]Info on BindProtocol instead of protocol handler directly.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban
f8f7efd548
urlmon: Use COM aggregation for IWinInetInfo and IWinInetHttpInfo interfaces in BindProtocol.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban
849fef0b82
urlmon: Support querying interfaces from aggregated handlers in BindProtocol.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban
fd2fb4a7a5
urlmon/tests: Added more protocol COM aggregation tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban
097811f251
urlmon: Use COM aggregation for urlmon protocols in BindProtocol::StartEx.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban
5082e4df25
urlmon: Use protocol handler's IUnknown to query other interfaces in BindProtocol.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban
17574518d6
urlmon: Added support for COM aggregation to mk protocol handler.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban
44a9940256
urlmon: Added support for COM aggregation to ftp protocol handler.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban
8eeac66052
urlmon: Added support for COM aggregation to http protocol handler.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban
74989b6e41
urlmon: Added support for COM aggregation of file protocol handler.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban
114b070543
urlmon: Release protocol handler in BindProtocol::Terminate.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban
03183590bf
urlmon: Don't store IWinInetInfo reference in BindProtocol.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban
73fd4b09ae
urlmon: Don't store IWinInetHttpInfo reference in BindProtocol.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban
357da1e8a6
urlmon: Store aggregated protocol handler IUnknown in BindProtocol.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Alexandre Julliard
674f1337e4
urlmon/tests: Update the IP address for the WineHQ server.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 21:32:39 +02:00
Jacek Caban
216ad43f18
urlmon: Use HttpQueryInfoA in IWinInetHttpInfo::QueryInfo implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 20:18:31 +01:00
Zhiyi Zhang
ac066d3eee
urlmon: Do not canonicalize Unicode characters.
...
Signed-off-by: Zhiyi Zhang <yi.gd.cn@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 16:25:10 +01:00
Zebediah Figura
8d773e2c83
urlmon/tests: Fix a couple of allocations.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 19:38:30 +01:00
Michael Stefaniuc
6ec880993b
urlmon/tests: Use the global HeapAlloc() wrappers.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 15:13:51 +01:00
Michael Stefaniuc
3c1356888a
urlmon: Use the global HeapAlloc() wrappers.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 15:13:51 +01:00
Nikolay Sivov
45afe83256
urlmon/tests: Add some more PARSE_PATH_FROM_URL tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-18 18:44:01 +01:00
Joel Holdsworth
185bcc4523
urlmon: Support [Add.Code] sections in ActiveX INF files.
...
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-14 18:16:55 +01:00
Jacek Caban
05826d5a68
urlmon/tests: Added IBindStatusCallback marshaling tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-14 09:24:18 +01:00
Jacek Caban
907224188a
urlmon: Added user marshaling implementation for GetBindInfo[Ex].
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-14 09:24:15 +01:00
Jacek Caban
185b235d2f
urlmon: Added user marshaling implementation for OnDataAvailable.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-14 09:24:10 +01:00
Michael Stefaniuc
5660a9be74
urlmon: Remove a redundant NULL check before SysFreeString().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-07 19:48:32 +02:00
Jacek Caban
86f7c4c8f8
urlmon/tests: Added BindProtocol redirection handling tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 16:36:21 +02:00
Jacek Caban
acb1f030c4
urlmon: Support BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS in BindProtocol object.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 21:23:41 +02:00
Jacek Caban
ccc5ba29ca
urlmon: Added a helper function for releasing protocol handler.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 21:23:12 +02:00
Jacek Caban
cded0779e4
urlmon: Release previously set URI in BindProtocol::StartEx.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 21:22:58 +02:00
Jacek Caban
09b78c21e5
urlmon/tests: Added test of hanling BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS by http protocol provider.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 21:22:34 +02:00
Jacek Caban
9e92254d63
urlmon: Added support for BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS in http protocol handler.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 19:47:00 +02:00
Jacek Caban
2e05a814ff
urlmon/tests: Get rid of debug leftovers.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-01 15:46:59 +02:00
André Hentschel
700010f0e6
urlmon: Fix some spec file entries.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 13:15:46 +01:00
Francois Gouget
c1ae3db312
urlmon: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
...
And standardize their parameter names.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 13:15:46 +01:00
Francois Gouget
9c4ac7fd9c
urlmon: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().
...
And standardize its parameter name.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-21 13:57:35 +01:00
Nikolay Sivov
1b04cf1e37
urlmon: Remove 'stub' from implemented functions trace message.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-06 13:44:39 +01:00
André Hentschel
8f23a89683
urlmon: Fix FindMimeFromData spec file entry.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 16:31:43 +01:00
Huw Davies
7453c835e9
urlmon/tests: Allow QueryInterface to accept IUnknown and IInternetProtocolSink.
...
Fixes a crash on modern versions of Windows 10.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 16:57:29 +01:00
Jacek Caban
32671b1d2f
urlmon: Added Seek implementations for streams using cache file.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 15:51:30 +01:00
Huw Davies
df6143325a
urlmon/tests: Windows 10 has changed the behaviour of domain detection.
...
The changes seem to be for the better, so the new values are not marked as broken.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 11:27:38 +01:00
Jacek Caban
aa2ed73387
urlmon: Correctly handle INTERNET_STATUS_REQUEST_COMPLETE notification with no data available.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-19 12:59:31 +01:00
Hans Leidekker
3a8801b1cc
urlmon/tests: Skip domain tests if the user doesn't have admin rights.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-19 14:11:29 +01:00