Commit Graph

1420 Commits

Author SHA1 Message Date
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
Daniel Lehman 22b4599b8a urlmon: Fix buffer overflow in parse_canonicalize.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:21:59 -06:00
Jacek Caban 8e40577a1a urlmon/tests: Removed invalid test.
It's a race.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-07 16:59:47 +01:00
André Hentschel b19e99397f urlmon/tests: Mark data53 test as broken on Win10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-21 21:17:17 +09:00
Michael Stefaniuc 1bf7c738d9 urlmon: Avoid a cast from a COM object to an iface.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-09 20:20:29 +09:00
Nikolay Sivov 392e0c9c7a urlmon: Added proxy/stubs for IBindHost.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 23:23:37 +09:00
Michael Stefaniuc 0b49495b8e urlmon/tests: Make use of todo_wine_if().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-04 16:50:54 -05:00
Michael Stefaniuc 7218d48864 urlmon: Remove a redundant NULL check before CoTaskMemFree().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:14:00 +09:00
Andrew Eikum a4a8693e89 urlmon: Allow NULL IBindStatusCallback in UrlOpenStream.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 22:09:52 +09:00
Andrew Eikum 4ac74d1083 urlmon: Allow NULL IBindStatusCallback in URLOpenBlockingStream.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 22:09:50 +09:00
Andrey Gusev 805092f8f6 urlmon/tests: Fix a typo in ok() message.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 12:31:14 +09:00
Andrey Gusev 4777f6790b urlmon: Fix a typo in comment.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 16:22:06 +09:00
Jacek Caban 414ff43b12 urlmon: Unescape path in place in MkProtocol::StartEx.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-19 11:58:05 +09:00
Francois Gouget 9cd5784104 urlmon/tests: Fix a spelling error in a uri comment.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:34 +09:00
André Hentschel 8b064d69e1 urlmon/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:09 +09:00
Jacek Caban 43a64e38f7 urlmon/tests: Use todo_wine_if in uri.c tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 23:50:12 +09:00
Andrey Gusev 8bfc9bd2ee Assorted typos fixes.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-27 15:38:30 +09:00
Hugh McMaster 11669fa5e2 Assorted spelling and grammar fixes.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Jacek Caban eb5f7531ac urlmon: Include 'x64' token in user agent string on win64.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:10:06 +09:00
Jacek Caban aab72aa943 urlmon: Don't include 'Win32' token in user agent string.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:10:06 +09:00
Alexandre Julliard 27ea7102dc urlmon/tests: Use the same file as wininet for FTP testing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 14:41:41 +09:00
Bruno Jesus 49bdb815bf urlmon: Ignore unsupported flags for CoInternetSetFeatureEnabled.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 23:34:57 +09:00
Nikolay Sivov c0308873b9 urlmon/tests: Fixed a couple of test failure on Win10. 2015-09-25 21:00:44 +02:00
Jacek Caban ab3744d275 urlmon/tests: Skip https tests on platforms that don't support them.
Based on patch by Huw Davies.
2015-06-22 19:16:49 +09:00
Nikolay Sivov 6e94edd36f urlmon: Remove unreachable code (Coverity). 2015-06-02 20:53:43 +09:00
Jacek Caban 16274e78b6 urlmon: Correctly handle hash part in file protocol handler. 2015-05-20 17:26:52 +09:00
Francois Gouget 847a391349 urlmon/tests: Silence some protocol traces that generate too many lines. 2015-05-11 15:19:04 +09:00
Gerald Pfeifer 2cfdaaef55 urlmon: Simplify a (redundant) expression in parse_canonicalize. 2015-04-27 15:10:04 +09:00
Francois Gouget 16960a425f urlmon: Remove unneeded NONAMELESSXXX directives.
Also put them in the files that need them.
2015-03-27 00:12:23 +09:00
Francois Gouget f505e6fb4a Assorted spelling fixes. 2015-03-19 21:54:14 +09:00
Jacek Caban 168e915c91 urlmon: Added IInternetBindInfo implementation to BindStatusCallback object. 2015-02-26 20:09:03 +09:00
Jacek Caban 0029290e3e urlmon: Use find_mime_from_ext directly in file protocol handler. 2014-12-23 15:29:13 +01:00
Jacek Caban 9351e225bb urlmon: Skip query and hash part in find_mime_from_url. 2014-12-23 15:29:11 +01:00
Jacek Caban 299a48075d urlmon: Store URLs as const char* in mime_tests. 2014-12-22 19:18:33 +01:00
André Hentschel c2ffe6e139 urlmon/tests: Remove unused strings (Clang). 2014-12-04 14:03:28 +01:00
André Hentschel 388ff35a18 urlmon/tests: Clarify ok() condition (PVS-Studio). 2014-11-11 14:21:20 +09:00
Jacek Caban e385df0b8e urlmon: Update existing session if user agent changes. 2014-11-05 21:02:02 +09:00
Michael Stefaniuc 0ef0477f9e urlmon/tests: Visually separate two if statements (PVS-Studio). 2014-11-03 16:31:36 +09:00
André Hentschel 2bb59197ac urlmon/tests: Clarify ok() condition. 2014-10-27 14:38:22 +09:00
Nikolay Sivov 8735cfc086 urlmon: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:37 +02:00
Nikolay Sivov f7322187fe urlmon: Remove duplicated check (PVS-Studio). 2014-08-18 12:45:52 +02:00
Jacek Caban 1de7771a7c urlmon: Don't threat '#' as path delimiter in file URIs. 2014-07-24 15:18:04 +02:00
Piotr Caban df8a1ce609 urlmon: Recognize <body> tag in FindMimeFromData function. 2014-07-11 16:59:58 +02:00
Vincent Povirk dd1423d97b urlmon: Add tests for implicit file uri's with percent encodings. 2014-07-04 10:24:24 +02:00
Jacek Caban e656914fbf urlmon: Don't decode percent-encoded characters in file URLs with implicit scheme. 2014-07-02 19:57:21 +02:00
Frédéric Delanoy 95ae71f3ab Assorted spelling/grammar fixes. 2014-07-01 13:09:13 +02:00
Jacek Caban 1687c5cd3a urlmon: Fixed some occasionally failing tests. 2014-05-20 21:26:59 +02:00
Jacek Caban 54bf34f1e7 urlmon: Avoid ProtocolHandler being destroyed in Terminate call. 2014-05-15 19:05:44 +02:00
Nikolay Sivov 96cf9a2898 urlmon/tests: Fix use after free of IPersistStream interface. 2014-04-16 10:53:26 +02:00
Frédéric Delanoy ed9607876c urlmon/tests: Use BOOL type where appropriate. 2014-03-20 10:44:15 +01:00
Jacek Caban d7a4f0eb1f urlmon: Fixed sec_mgr.c tests failing on some recent Windows. 2014-03-18 16:10:35 +01:00
Jacek Caban 630e8d9257 urlmon/tests: Use asynchronous binding for invalid cert tests. 2014-03-07 17:38:41 +01:00
Jacek Caban f88b51731f urlmon: Fixed url.c tests on IE11. 2014-02-27 09:52:20 -06:00
Jacek Caban b61c63af56 urlmon: Query bind info object for BINDSTRING_ROOTDOC_URL. 2014-02-26 09:08:26 -06:00
Jacek Caban 9c642455f0 urlmon: Fixed protocol tests on IE11. 2014-02-26 09:08:19 -06:00
Jacek Caban 2b04a5e3ff urlmon: Fixed some tests on IE11. 2014-02-24 09:13:48 -06:00
Jacek Caban 9ca4f9b65a urlmon: Unregister window class on DLL unload. 2014-02-13 19:10:32 +01:00
Jacek Caban 8f07fbcd53 urlmon: Added IsInternetESCEnabledLocal implementation. 2014-02-13 17:52:14 +01:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Jacek Caban 8f289c821e urlmon/tests: Use test.winehq.org for https protocol tests. 2014-02-06 17:25:48 +01:00
Alexandre Julliard deda14785a urlmon/tests: Fix handling of FINDINGRESOURCE now that all the tests are against the same server. 2014-02-04 10:49:22 +01:00
Alexandre Julliard 357f0f4656 urlmon/tests: Run tests against the winehq server. 2014-01-29 21:57:23 +01:00
Frédéric Delanoy 781a0a009a urlmon/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-29 14:50:54 +01:00
Alexandre Julliard 0d533cf0bd makefiles: Allow define arguments to be specific to a single file. 2014-01-07 12:20:25 +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 1adaad4c89 makefiles: Remove no longer needed dlldata.o and testlist.o extra objects. 2013-12-31 19:05:12 +01:00