Commit Graph

1406 Commits

Author SHA1 Message Date
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
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 e4c76bb3ca urlmon/tests: Constify some character strings. 2013-12-31 12:24:37 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Nikolay Sivov d1cda1d4be urlmon/tests: Accept another failure error code. 2013-11-25 16:22:46 +01:00
Jacek Caban 9c7057c226 urlmon: Fixed tests on IE10. 2013-11-22 16:08:24 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Jacek Caban 3a9666f19a urlmon: Fixed url tests on IE10. 2013-11-15 19:23:24 +01:00
Jacek Caban 1e83ca4dcd urlmon: Fixed protocol tests on IE10. 2013-11-15 19:23:24 +01:00
Jacek Caban c356d450fb urlmon: Simplify get_feature_from_process. 2013-11-15 19:23:24 +01:00
Jacek Caban 72edda27a1 urlmon: Fixed internet features tests on IE10. 2013-11-15 19:23:24 +01:00
Qian Hong f96fde3831 urlmon: Accept uppercase extension name in AsyncInstallDistributionUnit. 2013-11-13 11:23:49 +01:00
Jacek Caban a808f23cba urlmon: Compile tests with -D__WINESRC__. 2013-11-08 16:29:43 +01:00
Frédéric Delanoy da6c728195 Assorted spelling fixes. 2013-11-07 19:01:20 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard 074f30b9e3 makefiles: Add makedep pragmas for proxy idl files. 2013-11-05 20:38:18 +01:00
Nikolay Sivov e50dc73b86 urlmon/tests: Preparation for -D__WINESRC__. 2013-11-04 11:06:15 +01:00
Frédéric Delanoy 4473ce4db9 Assorted spelling fixes. 2013-10-30 09:46:27 +01:00
Frédéric Delanoy 742c2563e5 urlmon/tests: Use BOOL type where appropriate. 2013-10-10 10:44:18 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Jacek Caban 7226c49098 urlmon: Include values from 'Post Platform' registry key in user agent string. 2013-10-01 17:32:17 +02:00
Jacek Caban 1c66fdd03b urlmon: Added support for ROT in BindToObject. 2013-08-15 16:24:26 +02:00
Jacek Caban e61c50f000 urlmon: Added more BindToObject tests. 2013-08-15 16:24:22 +02:00
Jacek Caban f8236c5ac3 urlmon: Improved BindToObject failure when MIME handler is not available. 2013-08-15 16:24:17 +02:00
Marcus Meissner e89c801b50 urlmon: Fixed a chars vs bytes mismatch. 2013-08-01 12:12:10 +02:00
Jacek Caban 7fbcd4cb81 urlmon/tests: Added more FindMimeFromData tests. 2013-07-27 11:48:28 -05:00
Jacek Caban e5d09bea24 urlmon: Fallback to URL-based MIME search in FindMimeFromData if found MIME is not concrete. 2013-07-27 11:48:17 -05:00
Jacek Caban dbfe0572bd urlmon: Moved FindMimeFromData to mimefilter.c. 2013-07-27 11:48:05 -05:00
Jacek Caban e7ca2655e8 urlmon/tests: Make array-based MIME tests more generic. 2013-07-27 11:47:52 -05:00
Jacek Caban 6b73e8fb9f urlmon/tests: MIME tests clean up. 2013-07-27 11:46:59 -05:00
Alexandre Julliard 152ae158ce urlmon: Don't bother to free memory at process exit. 2013-05-15 10:29:17 +02:00
Jacek Caban 506b369c73 urlmon: Delay processing notifications from Read during MIME verification. 2013-03-28 12:17:52 +01:00
Hans Leidekker 9eb140db70 urlmon: Fix handling of mailto URIs in CoInternetCombineUrlEx. 2013-03-28 12:17:46 +01:00
Jacek Caban 79b7c1108e urlmon: Fixed handling URIs with implicit file scheme in CoInternetCombineUrlEx. 2013-03-26 12:16:15 +01:00
Marcus Meissner 542fe17a05 urlmon: Pass up error on error condition (Coverity). 2013-03-25 14:07:29 +01:00
Jacek Caban 8b0b99103c urlmon: Fixed some test failures on IE10. 2013-03-08 18:11:05 +01:00
Jacek Caban 4d92d604e0 urlmon: Added HTTP cache reading tests. 2013-03-07 17:02:35 +01:00
Jacek Caban 7483f975de urlmon: Fixed handling binding reading immediately from cache. 2013-03-07 17:02:35 +01:00
Andrew Talbot bc1a457b1c urlmon: Avoid signed-unsigned integer comparisons. 2013-02-27 11:30:21 +01:00
Jacek Caban b6a7cc9112 urlmon: Use separated variable for InternetQueryDataAvailable to avoid races. 2013-02-22 17:36:21 +01:00
Jacek Caban fa5075f7de urlmon: Added a few more forward to propsys. 2013-02-20 16:27:58 +01:00
Jacek Caban 3098e3c355 wininet: Address string should never be converted to UNICODE in status notifications. 2013-02-18 17:02:14 +01:00
Jacek Caban 2544999ed2 urlmon: Skip https tests on IE6. 2013-02-18 17:01:03 +01:00
Jacek Caban 5f14eb564e urlmon: Allow available_bytes to be set before protocol_continue call. 2013-02-14 20:05:01 +01:00
Jacek Caban abf8d62888 urlmon: Fixed tests on IEs that report BINDSTATUS_DECODING.
This seems to happen on some IE versions that decode gzip streams in
urlmon (as opposed to wininet).
2013-02-12 19:56:42 +01:00
Jacek Caban c1a15b75aa urlmon: Skip reported_url tests when binding to object.
This limits the scope of
259cd79336
to fix random test failures. This makes the original test questionable,
so if we ever see it failing again, we should simply revert it.
2013-02-12 19:56:42 +01:00
Jacek Caban 76997f1a38 urlmon: Fixed QueryInfo tests during BINDSTATUS_PROXYDETECTING notification. 2013-02-12 19:56:41 +01:00
Jacek Caban c8a4ce89d0 urlmon: Clean up handling tested URLs. 2013-02-12 19:56:41 +01:00
Alexandre Julliard 9d8e5651eb urlmon/tests: Avoid infinite timeouts in tests. 2013-01-29 18:45:36 +01:00
Francois Gouget 968ccaa60f urlmon: Fix the message warning about installing ActiveX components. 2013-01-07 13:38:18 +01:00
Jacek Caban 6f4c5f1dd8 urlmon: Added support for 'Run' setup hook. 2013-01-04 17:43:54 +01:00
Jacek Caban 5487d2c35a urlmon: Fixed some tests on IE10. 2012-12-28 20:32:40 +01:00
Chae Jong Bin fee3d67030 urlmon: Add stub for FlushUrlmonZonesCache. 2012-12-27 17:15:40 +01:00
Jacek Caban cc75a52c6a urlmon: Added IWinInetInfo and IWinInetHttpInfo proxy/stub implementation. 2012-12-17 20:31:19 +01:00
Andrew Talbot c1c970e090 urlmon: Remove unneeded address-of operator from array name. 2012-12-07 10:35:16 +01:00
Andrew Eikum 533df157f8 urlmon: Out string parameter should be ptr, not wstr. 2012-12-06 20:31:32 +01:00
André Hentschel 78b08cdabd urlmon: Fix possible NULL pointer access in heap_strdup*. 2012-11-19 16:37:05 +01:00
Piotr Caban c29c639cce urlmon: Update reference counter in bsc_from_bctx. 2012-11-15 21:22:04 +01:00
Francois Gouget d55bb4497f Assorted spelling fixes. 2012-11-05 11:30:30 +01:00
André Hentschel 93936c4f99 urlmon: Fix copy and paste error (coverity). 2012-11-05 11:12:10 +01:00
Alexandre Julliard c9e951dfd3 urlmon: Add po file support for resource translation. 2012-11-02 19:47:23 +01:00
Jacek Caban 59055c4d45 urlmon: Added AsyncInstallDistributionUnit implementation. 2012-11-02 19:47:22 +01:00
Jacek Caban 8012d4ae71 urlmon: Moved extracting callback from IBindCtx to separated function. 2012-11-02 19:47:20 +01:00
Jacek Caban 413f60bf69 urlmon.idl: Moved CopyBindInfo declaration to public header. 2012-10-29 10:57:30 +01:00
André Hentschel 99a0c55a8f urlmon: Avoid memory leaks (coverity). 2012-10-29 10:38:31 +01:00
Charles Davis 7c83bd84fd urlmon: Fix potential use of uninitialized variable (Clang). 2012-09-18 10:21:49 +02:00
Michael Stefaniuc ab381658e0 urlmon: Don't generate unreachable break after return (Smatch). 2012-09-17 12:05:54 +02:00
Jacek Caban 3cd189c0c0 urlmon: Added more tests. 2012-09-03 16:10:27 +02:00
Jacek Caban 719ab21d75 urlmon: Avoid direct notifications from callbacks from Read call. 2012-09-03 16:10:23 +02:00
Jacek Caban 8bf9d8e90d urlmon: Process pending tasks before exiting Start function. 2012-09-03 16:10:20 +02:00
Jacek Caban 3636a25279 urlmon: Added better debug traces for BINDSTATUS values. 2012-09-03 16:10:16 +02:00
Jacek Caban fcca6af646 urlmon/tests: Use proper helpers for iface calls. 2012-07-30 14:58:18 +02:00
Jacek Caban 4ffcf3359d urlmon: SecManagerImpl_QueryInterface clean up. 2012-07-30 14:58:09 +02:00
Jacek Caban d2fe8b7061 urlmon: Use proper helpers for iface calls. 2012-07-27 17:05:26 +02:00
Jacek Caban 5c654b4839 urlmon: Avoid useless InternetQueryOptionW call. 2012-06-12 11:11:38 +02:00
Jacek Caban 9af95b3243 urlmon: Use error dialog for ERROR_INTERNET_SEC_CERT_REV_FAILED error if IHttpSecurity returns S_FALSE. 2012-06-11 21:03:46 +02:00
Jacek Caban 31907e0c96 urlmon: Improved ERROR_INTERNET_SEC_CERT_REV_FAILED error handling. 2012-06-07 19:48:04 +02:00
Jacek Caban 0d82c9a9c8 urlmon: Added support for more error codes in handle_http_error. 2012-06-01 17:41:52 +02:00
Jacek Caban 45a6619e44 urlmon: Correctly handle BINDF_NO_UI in handle_http_error. 2012-05-30 19:28:22 +02:00
Jacek Caban 586e8b0c61 urlmon: Set INTERNET_ERROR_MASK_COMBINED_SEC_CERT flag for HTTP requests. 2012-05-30 19:28:17 +02:00
Michael Stefaniuc 8d73c16345 urlmon/tests: Fix typo in an ok() message. 2012-05-25 13:44:57 +02:00
Michael Stefaniuc afe73325f5 urlmon/tests: Remove stray ok() call. 2012-05-24 20:08:46 +02:00
Nikolay Sivov 6c4bdf3bdf urlmon: Implement TYMED_HGLOBAL case for CopyStgMedium. 2012-05-21 11:34:39 +02:00
Francois Gouget a188587aee urlmon: Fix the spelling of the destroy_uri_obj() function. 2012-05-14 12:06:15 +02:00
Alexandre Julliard 0789ec1144 urlmon/tests: Allow some more optional progress notifications. 2012-05-08 09:23:34 +02:00
Alexandre Julliard 7f1b26a0a9 urlmon/tests: Allow more COOKIE_SENT notifications. 2012-05-03 23:44:35 +02:00
Alexandre Julliard b3e5d2c1e5 urlmon/tests: Allow multiple COOKIE_SENT notifications, and trace received progress messages. 2012-05-03 11:12:34 +02:00
Alexandre Julliard 2ded2fe7ad urlmon/tests: Fix a test failure on COOKIE_SENT status. 2012-05-03 10:23:19 +02:00
Jacek Caban 6f9e330838 urlmon: Build more appropriate user agent string.
The registry value we used previously seems to be ignored by recent IEs.
2012-04-06 20:14:52 +02:00
Michael Stefaniuc cbcf08a7df urlmon: Print the debug string and not the pointer to it. 2012-03-26 18:15:25 +02:00
Piotr Caban ea407686bb urlmon/tests: Test PI_MIMEVERIFICATION when MIME filter is in use. 2012-03-16 15:38:36 +01:00
Piotr Caban 38d578af5e urlmon: Add mime handler layer before data is processed. 2012-03-16 15:38:32 +01:00
Piotr Caban 59c9b1070c urlmon: Make name spaces comparison case insensitive. 2012-03-15 19:55:24 +01:00
Piotr Caban 6dfa25d0cd urlmon: Stop binding when OnDataAvailable fails. 2012-03-15 19:55:20 +01:00
Piotr Caban 5ca254f703 urlmon/tests: Added GetBindResult tests. 2012-03-15 19:55:11 +01:00
Piotr Caban f0aad940b5 urlmon: Added GetBindResult implementation. 2012-03-15 19:55:06 +01:00
Piotr Caban be4192510d urlmon: Search for MIME filters defined in registry in get_mime_filter. 2012-03-13 17:44:34 +01:00
Piotr Caban b36cb0b94d urlmon: Clean session related data in free_session function. 2012-03-13 17:44:33 +01:00
Piotr Caban e804d0915a urlmon: Use wine lists to store namespaces and MIME filters. 2012-03-13 17:44:33 +01:00
Piotr Caban c9bd71f32f urlmon: Added missing memcpy in CopyBindInfo. 2012-03-13 10:25:58 +01:00
Piotr Caban e85210f3c5 urlmon/tests: Show that text/plain and application/octet-stream mimes suggestions are ignorred. 2012-03-09 17:25:17 +01:00
Piotr Caban 04847ada41 urlmon/tests: Mark results returned by older urlmon broken in FindMimeFromData tests. 2012-03-09 17:25:13 +01:00
Piotr Caban e69001ed67 urlmon/tests: Added text/xml mime filer tests. 2012-03-09 17:25:07 +01:00
Piotr Caban 3573c13eaa urlmon: Reorganize FindMimeFromData implementation. 2012-03-09 17:24:58 +01:00
Piotr Caban f0e5fa4622 urlmon: Added text/xml filter. 2012-03-09 17:24:54 +01:00
Piotr Caban bb06ec7789 urlmon: Use CopyBindInfo in InternetBindInfo_GetBindInfo. 2012-03-08 18:54:57 +01:00
Piotr Caban 058b9dfbe2 urlmon/tests: Added CopyBindInfo tests. 2012-03-08 18:54:54 +01:00
Piotr Caban 7f0b7c5ce3 urlmon: Added CopyBindInfo implementation. 2012-03-08 18:54:51 +01:00
Piotr Caban 13e3d32f76 urlmon/tests: Fixed protocol tests on IE9. 2012-02-21 19:35:30 +01:00
Jacek Caban 096eeb1a1e urlmon: Added empty hash URIs comparing tests. 2012-02-11 14:49:15 +01:00
Jacek Caban 2ce15be5fa urlmon: Added more mk: combining tests. 2012-02-09 09:39:41 -06:00
Jacek Caban 9cbcbe8da6 urlmon: Properly handle combining relative mk: URIs containing full internal path. 2012-02-09 09:39:34 -06:00
Piotr Caban 804a9d80d8 urlmon: Handle implicit file scheme in MapUrlToZone and GetSecurityId functions. 2012-01-31 15:38:01 +01:00