Commit Graph

1049 Commits

Author SHA1 Message Date
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Nikolay Sivov dd50af9464 urlmon: Add CoInternetIsFeatureEnabled stub. 2010-03-18 11:16:55 +01:00
Nikolay Sivov 1ad867467e urlmon: Add stub IUriBuilder interface. 2010-03-18 11:16:50 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Andrew Eikum e60b2ec907 shlwapi: Improve error handling in UrlGetPart. 2010-03-15 15:08:26 +01:00
Austin English cdb8e18715 urlmon: Add a stub for AsyncInstallDistributionUnit. 2010-03-02 11:14:52 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard 08e53fc048 urlmon/tests: Avoid size_t in a trace. 2010-02-16 15:50:36 +01:00
Jacek Caban 141e61468e urlmon: Added CreateUri stub implementation. 2010-02-12 11:54:06 +01:00
Alexandre Julliard fab57fe018 urlmon: Don't create empty default key values where not necessary. 2010-02-10 14:30:24 +01:00
Piotr Caban c0bfc2fb95 urlmon/tests: Added more url parsing tests. 2010-02-09 11:35:18 +01:00
Piotr Caban 1db3e47511 urlmon: Fixed CoInternetGetSecurityUrl implementation. 2010-02-09 11:35:13 +01:00
Piotr Caban 7d3693549f urlmon: Fix map_url_to_zone implementation. 2010-02-09 11:35:09 +01:00
Alexandre Julliard 1e2b0ad484 urlmon/tests: Comment out a test that crashes on Win2k. 2010-02-05 11:50:36 +01:00
Jacek Caban 04cfe6acf7 urlmon: Fixed accept_mimes leak in tests. 2010-01-07 19:41:33 +01:00
Jacek Caban 367cca6a9f urlmon: Fixed accept_mimes freeing. 2010-01-05 12:19:05 +01:00
Jacek Caban abf7022c78 urlmon: Report BINDSTATUS_CONNECTING to download callback. 2009-12-22 13:48:25 +01:00
Piotr Caban c72a7d471a urlmon: Remove some CoInternetParseUrl tests.
Some tests with PARSE_DOMAIN flag fails on older urlmon.
2009-12-18 13:14:02 +01:00
Jacek Caban 4b461bc05c urlmon: Fixed race in tests. 2009-12-17 12:43:28 +01:00
Piotr Caban 5cc277c677 urlmon: Added tests for CoInternetGetSecurityUrl. 2009-12-17 12:42:27 +01:00
Piotr Caban 73c3160674 urlmon: Added CoInternetGetSecurityUrl implementation. 2009-12-16 13:04:35 +01:00
Piotr Caban 18069b2d0d urlmon: Added PARSE_ROOTDOCUMENT to CoInternetParseUrl. 2009-12-16 13:04:35 +01:00
Piotr Caban 3adfe170bf urlmon: Added PARSE_DOMAIN to CoInternetParseUrl. 2009-12-16 13:04:35 +01:00
Jacek Caban c069489a67 urlmon: Report redirected URL to object created by BindToObject. 2009-12-16 12:23:42 +01:00
Jacek Caban ce53f34458 urlmon: Added HTTP redirecting test. 2009-12-16 12:23:36 +01:00
Jacek Caban 840c52acb9 urlmon: Correctly handle INTERNET_STATUS_REDIRECT. 2009-12-16 12:23:30 +01:00
Jacek Caban 613ebdc8b4 urlmon: Correctly handle accept ranges in HttpProtocol_open_request. 2009-12-16 12:23:10 +01:00
Jacek Caban efd869e00a urlmon: Added support for BINDSTATUS_REDIRECTING. 2009-12-16 12:23:04 +01:00
Jacek Caban 6de5669d29 urlmon: Pass flags to test_BindToStorage. 2009-12-16 12:22:58 +01:00
Jacek Caban 90b1bcc1ae urlmon: Include extra info in object name passed to HttpOpenRequest. 2009-12-10 11:56:04 +01:00
Piotr Caban 6894d841cd urlmon: Added InternetSecurityManager marshalling test. 2009-12-09 13:49:34 +01:00
Piotr Caban dc78e8d315 urlmon: Added ProxyStub implementation. 2009-12-09 13:49:26 +01:00
Jacek Caban 9adbd8ab21 urlmon: Get rid of gecko_installer_workaround in tests. 2009-11-20 11:16:35 +01:00
Jacek Caban a70e5b556c urlmon: Don't post notif message if we're in task processing loop. 2009-11-17 12:05:56 +01:00
Vincent Povirk 8643bae364 urlmon: Add CoInternetGetSecurityUrl stub. 2009-10-15 12:06:17 +02:00
Jacek Caban 8eada56b50 urlmon: Fixed tests for systems with stored cookie for winehq.org. 2009-10-07 12:28:26 +02:00
Jacek Caban 3b92a3f3a3 urlmon: Added support for URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY. 2009-10-01 11:34:29 +02:00
Jacek Caban e41d6eb94d urlmon: Improve QueryCustomPolicy stub. 2009-10-01 11:34:22 +02:00
Jacek Caban 7f11de8682 urlmon: Correctly handle pPolicy and pContext arguments in ProcessUrlAction. 2009-10-01 11:33:51 +02:00
Detlef Riekenberg 575ee0bb4e urlmon/tests: Fix sec_mgr tests on win98 (IE 4). 2009-09-26 16:06:20 +02:00
Ge van Geldorp 73b3d35d05 mshtml/tests: Fix htmldoc test on Windows Server and Win7. 2009-09-23 14:35:52 +02:00
Ge van Geldorp ec09345523 urlmon/tests: Fix tests for IE8. 2009-09-11 13:09:54 +02:00
Vladimir Pankratov 1327ae0c74 urlmon: Handle NULL parameter. 2009-09-02 15:47:57 +02:00
Jacek Caban 80f02b82d6 mshtml: Use URL moniker to load http documents. 2009-08-24 15:17:31 +02:00
Jacek Caban 8cee331b75 urlmon: Call OnStopBinding before Terminate. 2009-08-24 15:17:31 +02:00
Jacek Caban bf5c2e858f urlmon: Fixed tests on IE older than 8. 2009-08-24 12:02:45 +02:00
Jacek Caban 601c881705 urlmon: Added more protocol tests. 2009-08-21 11:09:52 +02:00
Jacek Caban 64b5adc0b6 urlmon: Check FLAG_ALL_DATA_READ first in protocol_read. 2009-08-21 11:09:44 +02:00
Jacek Caban 094c0104f0 urlmon: Fixed bscf for ReportData after mime verification call. 2009-08-21 11:09:39 +02:00
Jacek Caban 3d03ccf253 urlmon: Fixed report_data for recursive calls. 2009-08-21 11:09:31 +02:00
Jacek Caban 6927eecd6d urlmon: Added IWinInetHttpInfo stub implementation to BindProtocol object. 2009-08-21 11:09:24 +02:00
Alexandre Julliard 203bf6c8e0 urlmon/tests: Use the global wine_dbgstr_w instead of a local variant. 2009-08-19 13:37:04 +02:00
Francois Gouget e74efb5487 Assorted spelling fixes. 2009-08-11 12:35:38 +02:00
Jacek Caban 09436d69f1 urlmon: Use one wininet internet handle for all connections. 2009-08-03 15:00:02 +02:00
Detlef Riekenberg b32e6f0fd2 urlmon/tests: Windows headers need _WIN32_IE for IInternetZoneManagerEx2. 2009-07-10 12:12:11 +02:00
Francois Gouget a4f4fd2a77 urlmon/tests: Fix two ok() trailing '\n's. 2009-07-09 11:37:13 +02:00
Detlef Riekenberg 099f031051 urlmon/tests: Add tests for CoInternetCreateZoneManager. 2009-07-08 20:34:25 +02:00
Detlef Riekenberg 1c6efb4241 urlmon: Partial InternetZoneManagerEx2 implementation. 2009-07-08 20:34:16 +02:00
Jacek Caban e349165214 urlmon: Moved more initialization code to init_test. 2009-07-08 20:12:48 +02:00
Jacek Caban a21c1f3c31 urlmon: Ignore QueryInterface call for an undocumented interface. 2009-07-08 20:12:45 +02:00
Detlef Riekenberg 694bf576d0 urlmon/tests: Add tests for the ZoneEnumerator. 2009-07-03 14:27:21 +02:00
Detlef Riekenberg 9a7f221b13 urlmon: Implement the ZoneEnumerator. 2009-07-03 14:26:55 +02:00
Michael Stefaniuc 25764235f9 urlmon: Import the version.rc into the main rc file.
There is no need for a separate file.
2009-07-03 13:10:16 +02:00
Jacek Caban df826fe82f urlmon: Added IBindStatusCallbackEx implementation. 2009-07-03 11:28:20 +02:00
Jacek Caban b6259956c1 urlmon: Use GetBinfInfoEx in GetBindInfo implementation if possible. 2009-07-03 11:28:15 +02:00
Jacek Caban 288eefc7f1 urlmon: Added IBindStatusCallbackEx tests (also fixes some IE8 failures). 2009-07-03 11:28:11 +02:00
Paul Vriens 024725515e urlmon/tests: Don't check for out of memory (Coverity). 2009-07-02 11:30:41 +02:00
Jacek Caban cef7e04f18 urlmon: Added ObtainUserAgentString implementation. 2009-06-29 12:25:27 +02:00
Jacek Caban 3700d27960 urlmon: Added user agent tests. 2009-06-29 12:25:21 +02:00
Jacek Caban e237c127c1 urlmon: Added UrlMkSetSessionOption(URLMON_OPTION_USERAGENT) implementation. 2009-06-29 12:25:15 +02:00
Jacek Caban 1880de044c urlmon: Added UrlMkSetSessionOption(URLMON_OPTION_USERAGENT) implementation. 2009-06-29 12:25:08 +02:00
Jacek Caban 9fed06b057 urlmon: Set user agent registry. 2009-06-29 12:24:50 +02:00
Jacek Caban 1e9c996711 urlmon: Don't depend on QueryService returning NULL on failure. 2009-06-29 12:24:38 +02:00
Jacek Caban 150f79b587 urlmon: Query for IHtmlNegotiate[2] interfaces when needed. 2009-06-23 15:53:01 +02:00
Jacek Caban c32925aecd urlmon: Fixed tests on IE8. 2009-06-23 15:53:01 +02:00
Detlef Riekenberg 3657c0af83 urlmon/tests: Add tests for ZoneManager_GetZoneAttributes. 2009-06-22 13:25:23 +02:00
Detlef Riekenberg 7e13723874 urlmon: Implement ZoneManager_GetZoneAttributes. 2009-06-22 13:09:12 +02:00
Paul Vriens cb2d43100c urlmon/tests: Fix a test failure on Win95 by using more A-functions. 2009-06-22 11:23:10 +02:00
Alexandre Julliard 35bc0c798a urlmon/tests: Avoid comparing uninitialized structure data. 2009-06-19 15:10:17 +02:00
Detlef Riekenberg 0baa711b0b urlmon/tests: Fix a typo in an ok message. 2009-06-16 13:30:01 +02:00
Detlef Riekenberg 387f24f467 urlmon/tests: Move SecurityManager and ZoneManager tests to a separate file. 2009-06-15 13:42:30 +02:00
Jacek Caban 35798002f8 urlmon: Fixed test on IE8. 2009-06-12 17:33:15 +02:00
Jacek Caban 80dd9b9c9e urlmon: Use a copy of PROTOCOLDATA in Switch/Continue implementation. 2009-06-05 14:43:24 +02:00
Jacek Caban de36782c48 urlmon: Set INTERNET_OPTION_HTTP_DECODING option in http protocol handler. 2009-06-05 14:43:24 +02:00
Jacek Caban 08d8a5ea25 urlmon: Use TLS_OUT_OF_INDEXES as invalid TLS value. 2009-05-25 11:24:08 +02:00
Jacek Caban d86143b3e4 urlmon: Fixed tests on Windows. 2009-05-22 15:16:29 +02:00
Jacek Caban 061b6a839a urlmon: Fixed buffer size calculation. 2009-05-21 16:17:50 +02:00
Paul Vriens 8a3d9ccb44 urlmon/tests: Fix some test failures on IE8. 2009-05-20 10:51:09 +02:00
Michael Stefaniuc 441bc63538 urlmon: Move 'inline' right after the storage specifier. 2009-05-19 12:00:20 +02:00
Jacek Caban 69365793b1 urlmon: Added MIME filter handling in BindProtocol tests. 2009-05-19 11:58:53 +02:00
Jacek Caban 9edd40fdc2 urlmon: Added support for MIME filters. 2009-05-19 11:58:52 +02:00
Jacek Caban e16af65971 urlmon: Use common name for IInternetProtocol and IInternetProtocolSink vtbls. 2009-05-19 11:58:52 +02:00
Jacek Caban 638c7ac802 urlmon: Use protocol_handler in Switch implementation. 2009-05-19 11:58:52 +02:00
Jacek Caban 8ffd262d75 urlmon: Move MIME availability handling to separated function. 2009-05-19 11:58:52 +02:00
Jacek Caban 23c6cd4241 urlmon: Fixed buffer size argument in Read call. 2009-05-19 11:58:52 +02:00
Jacek Caban e5f8427abf urlmon: Use internal IInternetProtocol protocol for communication with pluggable protocol in BindProtocol. 2009-05-19 11:58:52 +02:00
Jacek Caban 1912f0f4fd urlmon: Added BINDSTATUS_LOADINGMIMEHANDLER and BINDSTATUS_LOADINGMIMEHANDLER support to Binding object. 2009-05-18 12:34:33 +02:00
Jacek Caban 5b72526052 urlmon: Added GetBindString(BINDSTRING_URL) implementation. 2009-05-18 12:34:28 +02:00
Marcus Meissner bbac7d9fb4 urlmon: Separate NULL ptr check (Coverity 924). 2009-05-15 10:28:03 +02:00
Jacek Caban 81a9f4a357 urlmon: Use PI_MIMEVERIFICATION in Binding object. 2009-05-14 11:14:11 +02:00
Jacek Caban b23ccb1303 urlmon: Added PI_MIMEVERIFICATION tests. 2009-05-14 11:14:06 +02:00
Jacek Caban 299ce6c18e urlmon: Added PI_MIMEVERIFICATION support. 2009-05-14 11:14:00 +02:00
Jacek Caban 372a0f24a2 urlmon: Moved notif window handling to bindprot.c. 2009-05-12 11:20:33 +02:00
Jacek Caban 89ab83db5d urlmon: Get rid of no longer needed values in Binding object. 2009-05-12 11:20:27 +02:00
Jacek Caban cd30018dbe urlmon: Get rid of no longer needed thread checking in Binding::ReportProgress. 2009-05-12 11:20:20 +02:00
Jacek Caban 8ea07306e1 urlmon: Get rid of no longer needed thread checking in Binding object's ReportData and ReportResult implementation. 2009-05-12 11:20:14 +02:00
Jacek Caban 00376b5b72 urlmon: Return E_FAIL in Binding::Switch implementation. 2009-05-12 11:20:05 +02:00
Jacek Caban 2e75a84e17 urlmon: Use PI_APARTMENTTHREADED in Binding object. 2009-05-12 11:19:53 +02:00
Jacek Caban 7de802eb0f urlmon: Added PI_APARTMENTTHREADED support to BindProtocol::ReportResult. 2009-05-12 11:19:47 +02:00
Jacek Caban 8ca4a4a3a4 urlmon: Added PI_APARTMENTTHREADED support to BindProtocol::ReportProgress. 2009-05-12 11:19:42 +02:00
Jacek Caban 2dee8bb79d urlmon: Added support for PI_APARTMENTTHREADED to BindProtocol::ReportProgress. 2009-05-12 11:19:35 +02:00
Jacek Caban e487196dc2 urlmon: Added support for PI_APARTMENTTHREADED to BindProtocol::Switch. 2009-05-12 11:19:28 +02:00
Jacek Caban bee36fe831 urlmon: Cache the binding notif window. 2009-05-11 15:56:42 +02:00
Detlef Riekenberg b5eb3be433 urlmon/tests: Handle BSCF_SKIPDRAINDATAFORFILEURLS to fix failures on IE8. 2009-05-04 12:52:16 +02:00
Paul Vriens 6ba4b314f3 urlmon/tests: Fix a test failure on Win9x, WinME and NT4. 2009-04-28 11:58:31 +02:00
Detlef Riekenberg 081576e157 urlmon/tests: Allow BINDSTATUS_COOKIE_SENT in a test. 2009-04-09 11:19:18 +02:00
Ge van Geldorp f4795d5997 urlmon/tests: Handle certificate verification error. 2009-04-07 14:53:58 +02:00
Jacek Caban 9988cbce0c urlmon: Remove unneeded includes. 2009-04-07 11:21:31 +02:00
Jacek Caban c41bcd89f3 urlmon: Added IInternetProtocolSink interface stub implementation to MimeFilter object. 2009-04-07 11:21:26 +02:00
Jacek Caban 11a6f3539f urlmon: Added DeCompMimeFilter stub implementation. 2009-04-07 11:21:18 +02:00
Paul Vriens 7c8d07bc10 urlmon/tests: Fix a test by using a better default registry key. 2009-04-06 15:30:27 +02:00
Jacek Caban eb32e9ec1a urlmon: Register CLSID_DeCompMimeFilter. 2009-04-02 15:09:55 +02:00
Jacek Caban 19067f1256 urlmon.idl: Use HANDLE_PTR in IInternetProtocolRoot::Start declaration. 2009-04-01 14:23:32 +02:00
Ge van Geldorp 6d238a6f51 urlmon/tests: Fix ftp protocol test on WinXP and higher. 2009-03-30 15:10:44 +02:00
Jacek Caban 74e0072dfd urlmon: Get rid of ICOM_THIS_MULTI macro. 2009-03-30 15:09:53 +02:00
Jacek Caban 67d2fdc34a urlmon: Added IWinInetHttpInfo support to Binding object. 2009-03-30 15:09:39 +02:00
Jacek Caban c31e6537fb urlmon: Added IWinInetHttpInfo stub implementation to FtpProtocol object. 2009-03-30 15:09:30 +02:00
Jacek Caban b83fd688a2 urlmon: Added IInternetPriority handling tests. 2009-03-30 15:09:24 +02:00
Jacek Caban 3fa595e2a8 urlmon: Added IWinInetHttpInfo stub implementation to HttpProtocol object. 2009-03-30 15:09:17 +02:00
Jacek Caban 781faa1b9d urlmon: Fixed handling NULL URLName in GetDisplatName implementation. 2009-03-24 10:28:20 +01:00
Jacek Caban a5b2075ef1 urlmon: Added StdURLMoniker implementation. 2009-03-24 10:28:15 +01:00
Jacek Caban 53b1a310fe urlmon: Return IAsyncMoniker from QueryInterface. 2009-03-24 10:28:09 +01:00
Jacek Caban 050c349678 urlmon: Code clean up. 2009-03-24 10:28:05 +01:00
Paul Vriens ad5e68e8a1 urlmon/tests: Fix a test failure on Vista and higher. 2009-03-23 13:24:03 +01:00
Paul Vriens 907adb834c urlmon/tests: Use an action that is available on all IE versions. 2009-03-05 12:45:14 +01:00
Jacek Caban 96a34b586f urlmon: Get rid of URLMonikerImpl_BindToStorage_hack. 2009-03-05 12:39:19 +01:00
Jacek Caban 0da20926c3 urlmon: Added gopher pluggable protocol implementation. 2009-03-05 12:39:09 +01:00
Jacek Caban 44149b8a8c urlmon: Added IInternetPriority implementation for gopher protocol. 2009-03-05 12:39:03 +01:00
Jacek Caban cfb9c099b5 urlmon: Added gopher protocol handler stub implementation. 2009-03-05 12:38:57 +01:00
Jacek Caban d9960c34fa urlmon: Added ftp binding tests. 2009-03-05 12:38:44 +01:00
Jacek Caban aa1d032271 urlmon: Added ftp protocol tests. 2009-03-05 12:38:35 +01:00
Jacek Caban e18e6ba3d8 urlmon: Use pluggable protocol for ftp binding. 2009-03-03 12:35:45 +01:00
Jacek Caban ad4a21bc99 urlmon: Added ftp pluggable protocol implementation. 2009-03-03 12:35:42 +01:00
Jacek Caban 4063a32f80 urlmon: Added IInternetPriority interface stup implementation to FtpProtocol. 2009-03-02 12:04:48 +01:00
Jacek Caban a7ef2f4ef0 urlmon: Move HttpProtocolVtbl to its implementation (code clean up). 2009-03-02 12:04:39 +01:00
Jacek Caban a4ba18a50d urlmon: Move HttpProtocol::Start implementation to generic Protocol object. 2009-03-02 12:04:33 +01:00
Jacek Caban c2ffe97779 urlmon: Move HttpProtocol::Continue implementation to generic Protocol object. 2009-03-02 12:04:16 +01:00
Jacek Caban 4c129514b5 urlmon: Move HttpProtocol::Read implementation to generic Protocol object. 2009-03-02 12:04:09 +01:00
Jacek Caban a30ffca108 urlmon: Move close_connection implementation to common Protocol object. 2009-03-02 12:04:02 +01:00
Jacek Caban 7c77c57ab8 urlmon: Moved HttpProtocol::[Lock|Unlock]Request implementation to generic Protocol object. 2009-03-02 12:03:56 +01:00
Jacek Caban 4ae60c6f00 urlmon: Move strndupW implementation to header file. 2009-03-02 12:03:42 +01:00
Jacek Caban b0a9ddae67 urlmon: Move some HttpProtocol variables to generic Protocol object. 2009-03-02 12:03:35 +01:00
Jacek Caban b105b084a2 urlmon: Ignore report_data call if binding is stopped. 2009-03-02 12:03:27 +01:00
Jacek Caban 6e5c2f961d urlmon: Make HttpProtocol implementation vtbl offset independent. 2009-02-26 12:11:51 +01:00
Alistair Leslie-Hughes ef2f455cdf urlmon: Fix PutProperty_CLASSIDPROP check under win98 to w2k. 2009-02-17 12:47:42 +01:00
Alistair Leslie-Hughes cc0a46ad64 urlmon: Correctly test to see if PutProperty_CLASSIDPROP is called. 2009-02-16 11:51:27 +01:00
Francois Gouget 4617d7753d urlmon: Make create_http_protocol() static. 2009-02-09 13:14:16 +01:00
Marcus Meissner 8b812b413d urlmon: Fixed target buffer length to MultiByteToWideChar. 2009-02-05 13:13:28 +01:00
Alasdair Sinclair ac1ef319ac urlmon/tests: Fix missing void in empty parameter list. 2009-01-29 12:19:47 +01:00
Nikolay Sivov 0b8faac9e6 urlmon: Added a stub for HlinkSimpleNavigateToMoniker. 2009-01-21 13:27:45 +01:00
Ge van Geldorp f0f6225906 urlmon/tests: Fix protocol tests when proxy is configured. 2009-01-20 14:02:33 +01:00
Jacek Caban 66a7da71ee urlmon: Added https binding tests. 2009-01-13 15:29:14 +01:00
Jacek Caban 1876f46bcf urlmon: Use pluggable protocol handler for https binding. 2009-01-13 15:29:07 +01:00
Jacek Caban d4ce90e688 urlmon: Ignore ReportProgress(BINDSTATUS_ACCEPTRANGES) calls. 2009-01-13 15:29:01 +01:00
Jacek Caban 3b84a40cf1 urlmon: Added HttpSProtocol object tests. 2009-01-13 15:28:56 +01:00
Jacek Caban 998b4653c9 urlmon: Call ReportProgress(BINDSTATUS_ACCEPTRANGES) in https handler. 2009-01-13 15:28:47 +01:00
Jacek Caban 954e55b55b urlmon: Added https pluggable protocol handler. 2009-01-12 13:11:21 +01:00
Ge van Geldorp 7f22f1c68d urlmon/tests: Skip a couple of tests when IE is running in Enhanced Security Configuration. 2009-01-10 17:43:11 +01:00
Alexandre Julliard e2e4da9732 urlmon: Fix pointer cast warnings on 64-bit. 2009-01-08 17:27:58 +01:00
Francois Gouget 581e390115 winapi_test: The tests don't support WIN64 yet so disable them there. 2009-01-08 12:47:22 +01:00
Francois Gouget 411f5d22c0 winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong. 2009-01-08 12:46:39 +01:00
Francois Gouget 9f62c9b7a8 winapi_test: Fix TEST_FIELD() so it correctly tests the field size. 2009-01-08 12:44:49 +01:00
Francois Gouget 43c18c1321 winapi_test: FIELD_ALIGNMENT() is redundant so remove it. 2009-01-08 12:43:15 +01:00
Francois Gouget 2e668d2572 winapi_test: Updated so the generated tests work. 2009-01-08 12:42:12 +01:00
Jacek Caban 4ac8322db4 urlmon: Skip more tests on old IE and ignore BINDSTATUS_PROXYDETECTING notification. 2009-01-07 12:21:29 +01:00
Alexandre Julliard 4deb0ada75 urlmon/tests: Fix an uninitialized variable check for Win64. 2009-01-05 15:20:15 +01:00
Jacek Caban b316ce3c05 urlmon: Remove broken IBindCtx ref count test. 2008-12-18 13:16:22 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Alexandre Julliard 075d24526f urlmon/tests: Don't expect IHttpNegotiate2 queries if the interface is not supported. 2008-11-20 23:06:27 +01:00
Alexandre Julliard d4226445d0 urlmon/tests: Accept IInternetProtocolEx interface id. 2008-11-14 12:08:31 +01:00
Andrew Talbot c7284efa13 urlmon: Sign-compare warnings fix. 2008-11-14 11:02:15 +01:00
Paul Vriens 0a11bd813a urlmon/tests: Fix failures on Win9x and WinMe. 2008-11-11 11:41:13 +01:00
Paul Vriens 7a723944b8 urlmon/tests: Skip some tests on Win9x and WinMe. 2008-11-11 11:41:03 +01:00
Jacek Caban 2ef724113a urlmon: Added IsLoggingEnabled[AW] stub implementation. 2008-10-24 14:24:59 +02:00
Michael Stefaniuc 10ebc51fa4 urlmon/tests: Use FAILED instead of !SUCCEEDED. 2008-10-08 13:42:15 +02:00
Rob Shearman ee2281d370 urlmon: Compare HRESULT value explicitly against S_OK instead of using an implicit != 0 comparison. 2008-10-01 11:43:25 -05:00
Jacek Caban ec34ad38ef urlmon: Fixed potential null dereference. 2008-09-30 10:56:22 -05:00
Jacek Caban 9b81945aeb urlmon: Fixed file protocol tests on win9x. 2008-09-29 17:26:11 -05:00
Rob Shearman 601b3b2732 urlmon: Fix race in protocol tests.
The value of *called is set asynchronously and so the callback
function could be called after IInternetProtocol_Read returns
E_PENDING. The value of *called is only predictable after the
WaitForSingleObject call returns. Therefore, remove the checks on
*called before this call.
2008-09-29 17:23:11 -05:00
Rob Shearman d5614bfff4 urlmon: Add explicit "!= S_OK" to expressions that use HRESULTs as booleans. 2008-09-12 16:50:03 +02:00
James Hawkins 7518781904 urlmon: Fix several failing tests with IE7. 2008-09-09 11:46:17 +02:00
James Hawkins 1c010e77cf urlmon: Fix a failing test with IE7. 2008-09-09 11:46:17 +02:00
Paul Vriens bdde87f04a urlmon/tests: Fix timeouts for win9x tests. 2008-09-08 12:49:12 +02:00
Paul Vriens f0bed78455 urlmon/tests: Fix test on win98. 2008-09-05 13:46:12 +02:00
Rob Shearman 5dd6d798a4 urlmon: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
James Hawkins 9ac630e058 urlmon: Fix a few test failures. 2008-07-01 11:06:43 +02:00
Jacek Caban c42d937402 urlmon: Make file protocol invalid URL handling behave like IE7. 2008-06-26 12:49:08 +02:00
James Hawkins 75a10719ac urlmon: Fix a few test failures in IE7. 2008-06-25 10:42:53 +02:00
Alistair Leslie-Hughes 031e1ae441 urlmon: Check pointer before use. 2008-06-20 12:39:38 +02:00
Jacek Caban 1aac23d89e urlmon: Make mk protocol behave like IE7. 2008-06-20 12:14:29 +02:00
Jacek Caban 5fb656f958 urlmon/tests: Always clear expect_* variables. 2008-06-09 12:38:48 +02:00
James Hawkins 6fc9d7e59d urlmon: Fix a few failing tests in win2k3. 2008-06-02 12:32:57 +02:00
Jacek Caban 02bf65a752 urlmon: Better error handling in file protocol. 2008-05-12 13:59:13 +02:00
Jacek Caban 3efe4e6837 urlmon: Correctly handle file URLs with '|' instead of ':' after drive letter. 2008-05-12 13:59:13 +02:00
Alexandre Julliard a8007f0db1 urlmon: Avoid sizeof in traces. 2008-05-02 13:59:14 +02:00
Paul Vriens 3a3246527a urlmon/tests: Fix timeout for tests on win9x. 2008-05-01 18:11:26 +02:00
James Hawkins edacd984ef urlmon: Fix a test that fails in win2k3. 2008-05-01 12:35:30 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Jacek Caban 8dddd89500 urlmon: Ignore query and hash part in file protocol URL. 2008-04-24 11:58:54 +02:00
Louis Lenders dd66542011 urlmon: Add stub for CoInternetSetFeatureEnabled. 2008-04-17 12:25:17 +02:00
Jacek Caban d43de316c3 urlmon: Don't use -1 length in WideCharToMultiByte call. 2008-03-26 23:38:36 +01:00
Andrew Talbot dbe7718e2b urlmon: Assign to structs instead of using memcpy. 2008-03-19 11:21:46 +01:00
Jacek Caban 8ef6713acb urlmon: Added special URLACTION_SCRIPT_OVERRIDE_SAFETY handling. 2008-03-14 13:52:04 +01:00
Jacek Caban 3a736c6677 urlmon: Added more policy tests. 2008-03-14 13:52:01 +01:00
Jacek Caban 15feb50d42 urlmon: Added ProcessUrlAction implementation. 2008-03-14 13:51:57 +01:00
Jacek Caban dfb1089a45 urlmon: Fixed URLZONEREG_DEFAULT handling in GetZoneActionPolicy. 2008-03-14 13:41:26 +01:00
Jacek Caban de1816f9e3 urlmon: Remove tests that fail on IE7 and make Wine behave like IE7. 2008-03-14 13:41:15 +01:00
Jacek Caban cc159d832d urlmon: Move InternetParseUrl(PARSE_SECURITY_URL) call to map_url_to_zone and fix buffer size. 2008-03-14 13:29:50 +01:00
Rob Shearman 503b1bc107 urlmon: Initialise the cache_file field of DownloadBSC on creation. 2008-03-10 20:38:40 +01:00
Jacek Caban bbfae3deff urlmon: Fixed MapUrlToZone test on IE7. 2008-03-10 11:23:52 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Jacek Caban a78727d73b urlmon: Don't call ReportProgress(BINDSTATUS_DIRECTBIND) in MkProtocol::Start (current IE doesn't call it). 2008-02-29 20:07:13 +01:00
Rob Shearman 4e5c1bf6fd urlmon: Don't use typeof as it's not portable. 2008-02-27 14:52:24 +01:00
Jacek Caban be1e2080b3 urlmon: 0x800c0008 is INET_E_DOWNLOAD_FAILURE. 2008-02-22 12:09:37 +01:00
Jacek Caban f7371871df urlmon: Correctly handle creating object failure. 2008-02-22 12:09:31 +01:00
Jacek Caban a821cc34f6 urlmon: Make session object thread safe. 2008-02-21 13:52:18 +01:00
Jacek Caban a23a36077c urlmon: Optimize get_protocol_info for urlmon protocols. 2008-02-21 13:52:15 +01:00
Jacek Caban 2b90a7d6d5 urlmon: Optimize registering urlmon protocols. 2008-02-21 13:52:13 +01:00
Jacek Caban 9de210a037 urlmon: Fixed crash on old IE. 2008-02-21 12:53:00 +01:00
Jacek Caban 746ffa651a urlmon: Use BindToStorage hack only for binding to IStream. 2008-02-18 12:57:06 +01:00
Jacek Caban 5321c7154a urlmon: Added audio/basic MIME filter. 2008-02-18 12:57:00 +01:00
Jacek Caban 374007985a urlmon: E_PENGING returned by Start is not an error. 2008-02-18 12:56:53 +01:00
Jacek Caban 1b79f4dbee urlmon: Added URLDownloadToFile tests. 2008-02-18 12:56:47 +01:00
Jacek Caban 74b0897cf0 urlmon: Added TYMED_FILE support to CopyStgMedium. 2008-02-18 12:56:36 +01:00
Jacek Caban d2243989ca urlmon: URLDownloadToFileA code clean up. 2008-02-18 12:56:28 +01:00
Jacek Caban 5ca20089c4 urlmon: Reimplement URLDownloadToFileW on top of URL moniker. 2008-02-18 12:56:02 +01:00
Rob Shearman 229e024a53 urlmon: Check the return value of ReadFile and return INET_E_DOWNLOAD_FAILURE is it fails.
Initialise *pcbRead to zero, if the parameter is not NULL.
2008-02-16 13:54:36 +01:00
Rob Shearman eb0a8692f2 urlmon: Fix the character count passed into MultiByteToWideChar in HttpProtocol_Start. 2008-02-16 13:54:11 +01:00
Francois Gouget 4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
Jacek Caban ac61b90f87 urlmon: Fixed ref count leak. 2008-02-06 22:12:31 +01:00
Jacek Caban 5bad12c6bc urlmon: Added gecko_installer_workaround to url.c tests. 2008-02-06 22:12:28 +01:00
Jacek Caban 684307f43f urlmon: Added more tests. 2008-02-04 13:17:26 +01:00
Jacek Caban 210854edf2 urlmon: Added more protocol tests. 2008-02-04 13:17:12 +01:00
Jacek Caban f2aef4cbb9 urlmon: Correctly handle BINDF_NEEDFILE flag in http protocol. 2008-02-04 13:17:06 +01:00
Jacek Caban 2b3c115ad1 urlmon: Added support for binding to IID_IUnknown storage (cache file). 2008-02-04 13:17:00 +01:00
Jacek Caban 458d27fa46 urlmon: Added BINDSTATUS_CACHEFILENAMEAVAILABLE support. 2008-02-04 13:16:54 +01:00
Jacek Caban e9189df9a6 urlmon: Don't create stgmed_obj for binding to object. 2008-02-04 13:16:49 +01:00
Jacek Caban 4985ca0e1c urlmon: Abstract ProtocolStream object. 2008-02-04 13:16:43 +01:00
Jacek Caban 6b854ff480 urlmon: Separate buffer from stream object. 2008-02-04 13:16:35 +01:00
Jacek Caban bf5487bfc1 urlmon: Return better error results. 2008-02-04 13:15:42 +01:00
Jacek Caban 21dbe9d6ad urlmon: Fixed tests. 2008-02-04 13:15:36 +01:00
Jacek Caban fd0d1d0765 urlmon: Added CopyStgMedium implementation. 2008-02-04 13:15:28 +01:00
Jacek Caban 10563d5c8e urlmon: Added comments about missing MIME filters. 2008-02-04 11:29:57 +01:00
Jacek Caban 2c15913180 urlmon: Added MkParseDisplayNameEx tests. 2008-02-04 11:28:14 +01:00
Jacek Caban 60b0539c87 urlmon: Added HlinkParseDisplayNameEx implementation. 2008-02-04 11:28:02 +01:00
Andrew Talbot 41ed910604 urlmon: Remove unneeded cast. 2008-01-22 11:27:38 +01:00
Marcus Meissner 61b4b0c362 urlmon: Skip pstgmed related tests if NULL. 2008-01-17 13:42:14 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Dan Kegel 95fbd7f46b urlmon: Fix unlikely free of uninitialized pointer. 2008-01-14 13:11:10 +01:00
Jacek Caban bc35dda746 urlmon: Added more tests. 2007-12-31 16:49:38 +01:00
Jacek Caban 85f472b37d urlmon: Added BindToObject implementation. 2007-12-31 16:49:32 +01:00
Jacek Caban a16ae2e8f2 urlmon: Call AddRef in EnumFORMATETC::QueryInterface. 2007-12-31 16:49:16 +01:00
Jacek Caban 91087d6229 urlmon: Added "CBinding Context" bind option support. 2007-12-31 16:49:11 +01:00
Jacek Caban e3c47c88fd urlmon: Binding_Create clean up. 2007-12-31 16:49:06 +01:00
Jacek Caban 91938977e9 urlmon: Better error handling. 2007-12-31 16:49:00 +01:00
Jacek Caban 2f34d0093c urlmon: Better implementation of bind stopping. 2007-12-31 16:48:56 +01:00
Jacek Caban ed1c7f8135 urlmon: Make start_binding more generic. 2007-12-31 16:48:48 +01:00
Jacek Caban 785e98173f urlmon: Added ibind argument handling in CreateAsyncBindCtx. 2007-12-31 16:48:45 +01:00
Jacek Caban 1ca205525c urlmon: Use BindProtocol in Binding object. 2007-12-31 16:48:31 +01:00
Jacek Caban 48017908ad urlmon: Added more binding tests. 2007-12-31 16:21:24 +01:00
Jacek Caban da6dbedbe9 urlmon: Release protocol sink in Terminate. 2007-12-31 16:21:15 +01:00
Jacek Caban 2afdc8f591 urlmon: More ReportProgress implementation. 2007-12-31 16:21:11 +01:00
Jacek Caban 2e62330c67 urlmon: Move setting protocol_sink to separated function. 2007-12-31 16:21:08 +01:00
Jacek Caban 3c985a442a urlmon: Rename BindProtocol's IInternetProtocolSink methods.
Binding's implementation uses the same names, what makes reading logs
harder.
2007-12-28 11:29:57 +01:00
Jacek Caban 8f09522357 urlmon: Use heap_alloc_zero to allocate BindProtocol. 2007-12-28 11:29:48 +01:00
Jacek Caban f4ded1c2a5 urlmon: Added mime filters tests. 2007-12-28 11:29:44 +01:00
Jacek Caban 8a669c9a19 urlmon: Added [Un]RegisterMimeFilter implementation. 2007-12-28 11:29:39 +01:00
Jacek Caban 96be709c2e urlmon: RegisterNameSpace clean up. 2007-12-28 11:29:33 +01:00
Jacek Caban 6b6eb8c436 urlmon: Added CoInternetQueryInfo tests. 2007-12-28 11:29:27 +01:00
Jacek Caban 7d223172c5 urlmon: Added CoInternetQueryInfo implementation. 2007-12-28 11:29:22 +01:00
Jacek Caban d067fabd38 urlmon: Fixed BindToObject tests. 2007-12-24 16:34:23 +01:00
Jacek Caban 1148d4f13f urlmon: Added more binding tests. 2007-12-24 16:34:17 +01:00
Jacek Caban 19bca90710 urlmon: Added more BindProtocol::ReportProgress implementation. 2007-12-24 16:27:56 +01:00
Jacek Caban 4883c8aba6 urlmon: Added BindProtocol::[Un]LockRequest. 2007-12-24 16:27:52 +01:00
Jacek Caban f189e7a060 urlmon: Added BindProtocol::Continue implementation. 2007-12-24 16:27:47 +01:00
Jacek Caban a6eb0780be urlmon: Added BindProtocol::Switch implementation. 2007-12-24 16:27:43 +01:00
Jacek Caban a9765337f8 urlmon: Added IServiceProvider implementation to BindProtocol object. 2007-12-24 16:27:38 +01:00
Jacek Caban 7cd13e17ad urlmon: Added BindProtocol::GetBindString implementation. 2007-12-24 16:27:33 +01:00
Jacek Caban 0d869d539f urlmon: Fixed protocol tests. 2007-12-24 16:27:27 +01:00
Jacek Caban 7d093afc66 urlmon: Use flag to store protocol lock state. 2007-12-17 11:49:25 +01:00
Jacek Caban 7a2a6f4e0d urlmon: Includes clean up. 2007-12-14 12:24:51 +01:00
Jacek Caban 353bcf923f urlmon: Fixed handling MIME type in Binding object. 2007-12-14 12:24:43 +01:00
Alistair Leslie-Hughes 7f033ea065 urlmon: Fix memory leaks. 2007-12-10 12:35:55 +01:00
Michael Stefaniuc 2ad6cc19b7 urlmon: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-11-30 12:43:42 +01:00
Alistair Leslie-Hughes 9c6fca1ff7 urlmon: The callback parameter can be null, check pointer before using. 2007-11-28 13:40:29 +01:00
Jacek Caban 03218d6d2c urlmon: Wrap heap functions. 2007-11-26 12:35:28 +01:00
Rob Shearman 862aaaba58 urlmon: Fix a reference count leak in RegisterBindStatusCallback. 2007-11-20 12:28:59 +01:00
Misha Koshelev 57f36261fa urlmon: Fix PROTOCOLDATA message passing in IInternetProtocolSink interface of Binding. 2007-11-12 12:53:45 +01:00
Misha Koshelev 0a158e7aa3 urlmon: Release IInternetProtocolSink and BindInfo on request handle closure, not on first handle closure. 2007-11-12 12:53:37 +01:00
Andrew Talbot 509760922a urlmon: Constify some variables. 2007-11-08 12:18:30 +01:00
Jacek Caban 48d393bdfe urlmon: Added https protocol class factory stub implementation. 2007-11-05 14:19:59 +01:00
Rob Shearman cfb349c4f2 urlmon: Add tests for BindToObject for URL monikers based on the existing tests for BindToStorage. 2007-10-29 12:02:40 +01:00
Jacek Caban fe04ba0aab urlmon: Use QueryInterface in get_callback. 2007-10-26 14:04:08 +02:00
Jacek Caban c98ca177a8 urlmon: Fixed tests on IE7. 2007-10-26 14:03:46 +02:00
Jacek Caban f4f0c8fbcd urlmon: Added emulated http tests. 2007-10-26 14:03:46 +02:00
Jacek Caban f9545ad94f urlmon: Added application/postscript MIME filter. 2007-10-23 18:18:28 +02:00
Jacek Caban 58e8b19d0b urlmon: Added audio/wav MIME filter. 2007-10-23 18:18:28 +02:00
Jacek Caban ec565fbfd9 urlmon: Added text/richtext MIME filter. 2007-10-23 18:18:28 +02:00
Rob Shearman a3ad394f9c urlmon: Add a stub for GetClassFileOrMime. 2007-10-22 14:54:39 +02:00
Rob Shearman cfeaa3e682 urlmon: Fix the MIME type reported by the HTTP protocol when the Content-Type headers contains charset data too. 2007-10-22 13:52:38 +02:00
Misha Koshelev 5a96cc146c urlmon: Increment/decrement reference count when internet handles are created/destroyed. 2007-10-12 11:07:29 +02:00
Andrew Talbot dbf995a8b4 urlmon: Fix some memory leaks. 2007-10-10 11:56:51 +02:00
Jacek Caban 5c57c838b2 urlmon: Fixed test on IE7. 2007-10-09 17:52:46 +02:00
Jacek Caban 8f6f252ee8 urlmon: Get rid of no longer needed IHttpNegotiate wrapper. 2007-10-02 11:42:39 +02:00
Jacek Caban b090ec13f3 urlmon: Added more RegiterBindStatusCallback tests. 2007-10-02 11:42:34 +02:00
Jacek Caban ef01bdb18a urlmon: Added more strict QueryInterface tests. 2007-10-02 11:42:27 +02:00
Jacek Caban b285d562b3 urlmon: Wrap callback in RegisterBindStatusCallback. 2007-10-02 11:42:22 +02:00
Jacek Caban c89551a1c5 urlmon: Added FIXME about unsupported pmkToLeft to BindToStorage. 2007-09-10 16:15:28 +02:00
Stefan Leichter ba026b1634 urlmon: Remove 'recursive registry key delete' function. 2007-08-20 11:56:18 +02:00
Misha Koshelev 5a11a1201f urlmon: Call IInternetProtocolSink_Release and ReleaseStgMedium in HttpProtocol where native does. 2007-08-16 11:52:56 +02:00
Misha Koshelev c8ab2a947c urlmon: Call IInternetProtocolSink_AddRef in HttpProtocol where native does (but just once). 2007-08-16 11:52:34 +02:00
Misha Koshelev 4f405b228d urlmon: Fix timing issue with FLAG_REQUEST_COMPLETE and InternetQueryDataAvailable in HttpProtocol_Continue. 2007-08-14 12:25:26 +02:00
Jacek Caban 83a83880cd urlmon: Wrap IBindCtx in CreateAsyncBindCtxEx. 2007-08-13 11:37:45 +02:00
Misha Koshelev 369273e991 urlmon/tests: Call CHECK_CALLED(OnProgress_SENDINGREQUEST) for FILE_TEST since we SET_EXPECT it. 2007-08-09 13:53:32 +02:00
Misha Koshelev 42dea36e5a urlmon: Do not use BindToStorage_hack for INTERNET_SCHEME_HTTP. 2007-08-09 13:53:25 +02:00
Misha Koshelev a893bb32d6 urlmon/tests: Fix clipformat test. 2007-08-09 13:53:16 +02:00
Rob Shearman 086a91facf urlmon: Check some of the input parameters to URLOpenStreamA/W & URLOpenBlockingStreamA/W for NULL.
Add tests for these.
2007-08-08 15:32:04 +02:00
Rob Shearman a5da813f5a urlmon: Add tests for URLOpenStreamW and URLOpenBlockingStreamW. 2007-08-08 15:32:04 +02:00
Rob Shearman 9debcb8f49 urlmon: Implement URLOpenBlockingStreamA/W and URLOpenStreamA/W. 2007-08-08 15:32:04 +02:00
Rob Shearman 25b2bff9bf urlmon: The pcbRead parameter for IInternetProtocol::Read is optional, so fix the protocol implementation to check for this. 2007-08-08 15:32:04 +02:00
Rob Shearman 9105b64a77 urlmon: Implement stubs for URLOpenBlockingStreamA/W and URLOpenStreamA/W. 2007-08-08 15:32:04 +02:00
Francois Gouget 988be5dd8f urlmon: Fix compilation on systems that don't support nameless unions. 2007-08-08 15:32:03 +02:00
Misha Koshelev 59b2365c7d urlmon/tests: Add test for binding to a URL from which a very short response is received. 2007-08-08 15:32:00 +02:00
Misha Koshelev 84cf17c3e9 urlmon/tests: Keep track of download state in tests. 2007-08-07 12:42:00 +02:00
Misha Koshelev ed2cf42b51 urlmon/tests: Add tests for synchronous vs asynchronous binding. 2007-08-07 12:41:54 +02:00
Misha Koshelev 97e999565d urlmon: Add support for synchronous binding. 2007-08-07 12:41:44 +02:00
Misha Koshelev e54a48f96c urlmon/tests: Declare the bind flags as a global variable in url tests. 2007-08-07 12:41:25 +02:00
Misha Koshelev ea37fa998c urlmon/tests: Fix todo_wine's to show the IServiceProvider interface is not queried on wine from CreateAsyncBindCtx. 2007-08-06 14:02:56 +02:00
Misha Koshelev b2beeea5b2 urlmon: Send BINDSTATUS_DOWNLOADINGDATA if we do not send BEGINDOWNLOADDATA or ENDDOWNLOADDATA. 2007-08-03 13:35:53 +02:00
Misha Koshelev b2558480c2 urlmon: Call IBindStatusCallback_OnStopBinding only if this actually is the last ReportData. 2007-08-03 13:35:46 +02:00
Misha Koshelev 99989f8241 Revert "urlmon: Use BSCF_ values passed to report_data to keep track of download state."
This reverts commit 978f6b98c9.
2007-08-03 13:35:35 +02:00
Misha Koshelev aa12574d09 Revert "urlmon: Report BINDSTATUS_DOWNLOADINGDATA on BSCF_INTERMEDIATEDATANOTIFICATION."
This reverts commit b3a660a69c.
2007-08-03 13:35:19 +02:00
Misha Koshelev cb8a0dd70d urlmon: Do not fill stream buffer on every report_data, native doesn't. 2007-08-02 12:44:21 +02:00
Misha Koshelev 55409b2e04 urlmon: Report total data read in this bind operation to OnDataAvailable, not the size of the available buffer. 2007-08-02 12:44:15 +02:00
Misha Koshelev b3a660a69c urlmon: Report BINDSTATUS_DOWNLOADINGDATA on BSCF_INTERMEDIATEDATANOTIFICATION. 2007-08-02 12:44:10 +02:00
Misha Koshelev 978f6b98c9 urlmon: Use BSCF_ values passed to report_data to keep track of download state. 2007-08-02 12:44:03 +02:00
Misha Koshelev a63419bc2c urlmon: Set the queue tail to the new task when pushing a task onto the tail of the queue. 2007-08-02 12:43:21 +02:00
Misha Koshelev 0a9dfa0d27 urlmon/tests: Make http protocol tests refractory to timing issues. 2007-07-27 12:25:05 +02:00
Misha Koshelev 9f31fb2fd4 urlmon/tests: Rename received_data event to more general name event_complete. 2007-07-27 12:24:50 +02:00
Misha Koshelev c4f1adb7cc urlmon/tests: Don't proceed with POST operation (that will fail) if we run out of memory. 2007-07-26 12:34:07 +02:00
Misha Koshelev d5fedcdab0 urlmon/tests: Fix http protocol tests with absence of BINDF_FROMURLMON to properly expect ReportData. 2007-07-26 12:33:58 +02:00
Misha Koshelev a8aa3fb546 urlmon: Don't free structures that are used by asynchronous HttpSendRequest until we are sure they won't be used. 2007-07-26 12:33:49 +02:00
Jacek Caban 262db80776 urlmon: Change some gotos to return. 2007-07-26 11:51:11 +02:00
Misha Koshelev 0c0285118e urlmon/tests: Release two objects that should be released but are not. 2007-07-24 12:32:57 +02:00
Misha Koshelev 752334c561 urlmon: Release IInternetProtocolInfo returned from get_protocol_info when finished with it. 2007-07-24 12:32:52 +02:00
Misha Koshelev f5ed5a7f48 urlmon: LockModule in create_binding_protocol as we ReleaseModule when the object is released. 2007-07-24 12:32:47 +02:00
Misha Koshelev 414ddfa671 urlmon: If we are using an internal protocol ClassFactory, call its AddRef as the caller must Release the object. 2007-07-24 12:32:42 +02:00
Misha Koshelev 7cc8b279fb urlmon: Wrap IHttpNegotiate2 interface exposed by IBindStatusCallback as done by native. 2007-07-24 12:19:19 +02:00
Misha Koshelev 8f78c71cb6 urlmon/tests: Add tests for calls to IHttpNegotiate interfaces as exposed by IBindStatusCallback.
Add more tests for specific arguments passed to IHttpNegotiate and IHttpNegotiate2. Note that
for OnResponse pszAdditionalHeaders is NULL when called directly from IInternetProtocol (for
example as seen in our protocol tests) but non-NULL when these interfaces are exposed by
IBindStatusCallback as seen here. Tests conform on Win98 and Winxp.
2007-07-24 12:19:08 +02:00
Misha Koshelev 89bda10960 urlmon/tests: Add tests for calls to IBindStatusCallback_QueryInterface. 2007-07-24 12:18:52 +02:00
Misha Koshelev 2b4c52014e urlmon: Add a reference to the IUnknown for Release of STGMEDIUM to account for extra call to ReleaseBindInfo. 2007-07-24 12:18:30 +02:00
Misha Koshelev 40b94b733b urlmon: ReleaseBindInfo in FileProtocol. 2007-07-24 12:18:24 +02:00
Misha Koshelev 03ac3b5e95 urlmon: Don't ignore bytes read from IInternetProtocol_Read if hres is not S_OK (e.g., E_PENDING).
Bytes can still be read with E_PENDING returned if the whole request could not be satisfied, don't
ignore those.
2007-07-24 12:18:15 +02:00
Misha Koshelev 9bcb9c16ec urlmon: Fix timing issue with FLAG_REQUEST_COMPLETE and InternetQueryDataAvailable in HttpProtocol. 2007-07-24 12:17:58 +02:00
Misha Koshelev a58da4c49a urlmon: Add support for non-GET requests (e.g., POST) in HttpProtocol. 2007-07-23 11:57:56 +02:00
Misha Koshelev 609d91fb0c urlmon: Actually send the additional headers returned by IHttpNegotiate::BeginningTransaction. 2007-07-23 11:57:50 +02:00
Misha Koshelev 2a4e41878d urlmon: Call HttpOpenRequest with INTERNET_FLAG_KEEP_CONNECTION, INTERNET_FLAG_NO_CACHE_WRITE if appropriate. 2007-07-23 11:57:35 +02:00
Misha Koshelev e9312fbc92 urlmon/tests: Add test for BINDVERB_POST in http_protocol. 2007-07-23 11:57:23 +02:00
Misha Koshelev 4e205947e7 urlmon/tests: Add tests for HttpProtocol behavior when it is called without the BINDF_FROMURLMON flag. 2007-07-19 11:59:27 +02:00
Misha Koshelev b6aea93891 urlmon: Implement HttpProtocol::Terminate. 2007-07-19 11:59:15 +02:00
Misha Koshelev 043f71b576 urlmon: Fix HttpProtocol behavior when it is called without the BINDF_FROMURLMON flag. 2007-07-19 11:59:04 +02:00
Misha Koshelev 0878627071 urlmon/tests: Fix http_protocol tests to succeed when called more than once. 2007-07-19 11:58:57 +02:00
Misha Koshelev e2726effe2 urlmon/tests: Fix http_protocol tests to succeed on Win98. 2007-07-19 11:58:39 +02:00
Misha Koshelev c2534d0cd6 urlmon: Use InternetCloseHandle instead of CloseHandle. 2007-07-19 11:58:30 +02:00
Misha Koshelev 442ec6acdd urlmon: Remove FLAG_CALLED_SWITCH, which is now redundant. 2007-07-19 11:58:24 +02:00
Misha Koshelev fc48d6da73 urlmon: Fix HttpProtocol behavior when InternetQueryDataAvailable returns ERROR_IO_PENDING. 2007-07-16 14:59:11 +02:00
Misha Koshelev 11ccc0f79e urlmon: Make HttpProtocol conform with native wininet on wine. 2007-07-12 13:00:24 +02:00
Misha Koshelev 213bfd2777 urlmon: Fix HttpProtocol_Start and strndupW to work properly with native wininet. 2007-07-12 12:59:44 +02:00
Misha Koshelev dab80a8d9f urlmon: Implement HttpProtocol. 2007-07-11 12:42:14 +02:00
Misha Koshelev 82569d9d0a urlmon/tests: Add tests for ObtainUserAgentString. 2007-07-10 13:37:13 +02:00
Misha Koshelev e4282a59dd urlmon: Improve ObtainUserAgentString conformance to native. 2007-07-10 13:37:09 +02:00
Misha Koshelev 64054b005c urlmon/tests: Make http protocol mime type test pass on native. 2007-07-09 12:16:23 +02:00
Jacek Caban daca693f30 urlmon: Don't pass query part of URL to CreateUrlCacheEntryW. 2007-06-06 13:40:05 +02:00
Jacek Caban 172a35c442 urlmon: There is no need to make slash conversion in BindToStorage as URL is already canonized in the constructor. 2007-05-29 14:13:13 +02:00
Francois Gouget c85b74d63e In the PSDK HRESULT_FROM_WIN32() is now an inline function, and it is __HRESULT_FROM_WIN32() which is a macro. 2007-05-29 13:17:46 +02:00
Rob Shearman d82c456e5f urlmon: The persisted version of URL monikers should be size of URL
including nul-terminating character (4-bytes), followed by the URL
string including nul-terminating character.
2007-05-24 11:35:08 +02:00
Rob Shearman d76a15a36d urlmon: Fix a typo in URLMonikerImpl_Save.
The data in This->URLName should be written out, not the pointer 
followed by garbage.
2007-05-24 11:34:56 +02:00
Hans Leidekker 691b0a3d68 urlmon: Add an implementation for CreateURLMonikerEx based on existing code for CreateURLMoniker. 2007-04-23 14:06:13 +02:00
Rob Shearman fd8868bac4 urlmon: Fix a reference count leak that would keep the module alive when it shouldn't. 2007-04-02 11:34:32 +02:00
Jan Zerebecki cfd121072c urlmon: Add DebugInfo to critical sections. 2007-03-12 13:40:06 +01:00
Jacek Caban 74d49757c7 urlmon: Fix FindMimeFromData tests on IE7. 2007-03-02 11:39:36 +01:00
Jacek Caban d31969b5e6 urlmon: Check if protocol object implements IInternetProtocolInfo interface. 2007-02-23 11:24:01 +01:00
Jacek Caban 102ae714c7 urlmon: Added mk protocol handling test. 2007-02-12 14:14:01 +01:00
Jacek Caban c5280fcc00 urlmon: Added test of handlong its protocol. 2007-02-12 14:13:54 +01:00
Jacek Caban c374936472 urlmon: Depend on Read result in report_data. 2007-02-12 14:13:48 +01:00
Jacek Caban f66b99db83 urlmon: Store download state in Binding object. 2007-02-12 14:13:43 +01:00
Jacek Caban 6299859ee7 urlmon: Fix continue_call handling. 2007-02-08 11:56:59 +01:00
Jacek Caban 88f76cc29e urlmon: Call OnProgress directly in report_data. 2007-02-08 11:56:51 +01:00
Jacek Caban 4613567d32 urlmon: Added ReportProgress(BINDSTATUS_DIRECTBIND) implementation. 2007-02-08 11:56:46 +01:00