Commit Graph

1354 Commits

Author SHA1 Message Date
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