Commit Graph

1086 Commits

Author SHA1 Message Date
Michael Stefaniuc 5d6b2f13de urlmon: Use ifaces instead of vtbl pointers in ProtocolProxy. 2011-01-14 18:26:18 +01:00
Michael Stefaniuc 1515b36aaa urlmon: COM cleanup for the rest of the iface in BindProtocol. 2011-01-12 11:32:17 +01:00
Michael Stefaniuc c41cf7d6a5 urlmon: COM cleanup for the IInternetProtocolEx iface. 2011-01-12 11:32:17 +01:00
David Hedberg 5205d03800 urlmon: Add some error handling to the http protocol. 2011-01-11 16:05:46 +01:00
Michael Stefaniuc 8c0a69430c urlmon: COM cleanup for the IMoniker iface. 2011-01-11 16:05:45 +01:00
Michael Stefaniuc 346e766d53 urlmon: Use an iface instead of a vtbl pointer in AsyncBindCtx. 2011-01-11 16:05:45 +01:00
Michael Stefaniuc 2f7da964ac urlmon: Use ifaces instead of vtbl pointers in BindStatusCallback. 2011-01-11 16:05:45 +01:00
Michael Stefaniuc 482740d020 urlmon: Use an iface instead of a vtbl pointer in stgmed_buf_t. 2011-01-11 16:05:45 +01:00
Jacek Caban 682dc4d6f8 urlmon: Store object instead of interface pointer to BindProtocol in Binding object. 2011-01-11 11:23:01 +01:00
Michael Stefaniuc 0abef30926 urlmon: Use an iface instead of a vtbl pointer in MkProtocol. 2011-01-10 10:41:04 +01:00
Michael Stefaniuc d4f8ce0a54 urlmon: Use ifaces instead of vtbl pointers in MimeFilter. 2011-01-10 10:40:57 +01:00
Michael Stefaniuc 3d05c172f0 urlmon: Use ifaces instead of vtbl pointers in GopherProtocol. 2011-01-10 10:40:51 +01:00
Michael Stefaniuc 2796677f8c urlmon: Use an iface instead of a vtbl pointer in ProxyBindStatusCallback. 2011-01-07 10:22:10 +01:00
Michael Stefaniuc 5db4caee8e urlmon: Don't use DEFINE_THIS2 for the Protocol vtbl functions. 2011-01-04 11:58:34 +01:00
Jacek Caban d34bbb2b52 urlmon: Fixed IUriBuilderFactory declaration. 2011-01-04 11:11:49 +01:00
David Hedberg 4121ac1224 urlmon: Add new on_error function to protocol vtbl. 2011-01-03 12:14:28 +01:00
David Hedberg 2b5c18c35b urlmon: Move protocol flags for wininet based protocols into a common header. 2011-01-03 12:14:28 +01:00
André Hentschel 4ed08b9d24 urlmon/tests: Don't test function directly when reporting GetLastError(). 2010-12-30 15:00:52 +01:00
Michael Stefaniuc 81f44f501f urlmon: Use an iface instead of a vtbl pointer in ClassFactory. 2010-12-30 12:21:53 +01:00
Eric Pouech 495e55c07d urlmon: Fixed traces on 64bit systems. 2010-12-27 11:48:49 +01:00
Jacek Caban 87f0ba49e0 urlmon: Fixed a race in tests causing unexpected Switch call failures. 2010-12-27 11:46:17 +01:00
Jacek Caban 467844765b urlmon: Make protocol tests more verbose. 2010-12-23 17:07:40 +01:00
Jacek Caban fcc4c46476 urlmon: Converted more registration process to IRegistrar mechanism. 2010-12-23 12:52:07 +01:00
Jacek Caban 67f7e2695e urlmon: Added more IInternetProtocolEx tests. 2010-12-22 17:32:31 +01:00
David Hedberg 3e10d4e90d urlmon: Fix return value from QueryService. 2010-12-22 14:22:34 +01:00
David Hedberg 5be7064d90 urlmon: Split the code for sending an http request into its own function. 2010-12-22 14:17:23 +01:00
Jacek Caban b6db01177c urlmon: Added IUriContainer stub implementation of URLMoniker object. 2010-12-21 00:20:47 +01:00
David Hedberg 7af43bb1b2 urlmon: Set BINDF_NEEDFILE if BINDF_PULLDATA is not specified. 2010-12-20 12:47:38 +01:00
Austin English 967657de35 urlmon: Add stubs for ordinals 410 and 423. 2010-12-15 12:25:57 +01:00
Alexandre Julliard 889ac56f50 urlmon: Convert the coclasses registration to the IRegistrar mechanism. 2010-12-13 20:33:36 +01:00
Thomas Mullaly 4e1ff0b8cd urlmon: Added pluggable protocol support to CoInternetParseIUri. 2010-12-09 12:17:01 +01:00
Michael Stefaniuc 5d60989b3b urlmon: Use ifaces instead of vtbl pointers in FileProtocol. 2010-12-07 11:43:19 +01:00
Michael Stefaniuc 4252552399 urlmon: Use ifaces instead of vtbl pointers in HttpProtocol. 2010-12-07 11:43:04 +01:00
Michael Stefaniuc 4d3c6278b4 urlmon: Use ifaces instead of vtbl pointers in FtpProtocol. 2010-12-07 11:42:53 +01:00
Michael Stefaniuc b74af4aa0f urlmon: Use ifaces instead of vtbl pointers in DownloadBSC. 2010-12-07 11:42:38 +01:00
Michael Stefaniuc d98e210351 urlmon: Standardize the COM usage in sec_mgr.c. 2010-12-07 11:42:27 +01:00
Michael Stefaniuc c5935e152e urlmon: Use an iface instead of a vtbl pointer in EnumFORMATETC. 2010-12-07 11:42:14 +01:00
Thomas Mullaly 875f1e939c urlmon: Implemented IUriBuilderFactory interface. 2010-12-07 11:39:16 +01:00
Thomas Mullaly 5ca3215204 urlmon: Implemented PARSE_ANCHOR and PARSE_LOCATION for CoInternetParseIUri. 2010-12-05 12:28:36 +01:00
Thomas Mullaly 08b957062d urlmon: Standardize IUriBuilder COM interface. 2010-12-05 12:28:29 +01:00
Thomas Mullaly d6f9a193a3 urlmon: Standardize COM implementation of IUri. 2010-12-05 12:28:12 +01:00
Thomas Mullaly 4a9d2d43fe urlmon: Implemented PARSE_DOMAIN for CoInternetParseIUri. 2010-12-03 11:08:30 +01:00
Thomas Mullaly 500e4fae7c urlmon: Implemented PARSE_SITE for CoInternetParseIUri. 2010-12-03 11:08:26 +01:00
Thomas Mullaly a77f159019 urlmon: Implemented PARSE_SCHEMA for CoInternetParseIUri. 2010-12-03 11:08:21 +01:00
Thomas Mullaly 1788099321 urlmon: Implemented PARSE_URL_FROM_PATH for CoInternetParseIUri. 2010-12-03 11:08:16 +01:00
Thomas Mullaly 221331e72b urlmon: Implemented PARSE_PATH_FROM_URL for CoInternetParseIUri. 2010-12-03 11:08:07 +01:00
Jacek Caban 4bdf39ea51 urlmon: Clean up default protocol handler pseudo-interface implementation. 2010-11-30 13:53:27 +01:00
Jacek Caban 883871174a urlmon: Moved buffer-based MIME finding to a separated function. 2010-11-30 13:53:27 +01:00
Thomas Mullaly 6a459d1117 urlmon: Implemented PARSE_DOCUMENT for CoInternetParseIUri. 2010-11-29 11:26:29 +01:00
Thomas Mullaly 81c274a5f0 urlmon: Added implementation for PARSE_ROOTDOCUMENT for CoInternetParseIUri. 2010-11-29 11:26:23 +01:00
Thomas Mullaly 6d996f32a5 urlmon: Implementation for PARSE_FRIENDLY in CoInternetParseIUri. 2010-11-29 11:26:17 +01:00
Thomas Mullaly 8cf81d912f urlmon: Added implementation for PARSE_CANONICALIZE in CoInternetParseIUri. 2010-11-29 11:26:10 +01:00
Thomas Mullaly bc71921f36 urlmon: Added stub for CoInternetParseIUri. 2010-11-29 11:25:00 +01:00
Alexandre Julliard bbf0af4543 urlmon/tests: Avoid sizeof in traces. 2010-11-17 15:08:08 +01:00
Jacek Caban 29692adf40 urlmon: Make Binding object IUri-based. 2010-11-15 15:03:33 +01:00
Jacek Caban fcc1dd01f7 urlmon: Make get_protocol_handler IUri-based. 2010-11-15 15:03:28 +01:00
Jacek Caban b54ac3c628 urlmon: Store BindProtocol as IInternetProtocolEx. 2010-11-15 15:03:22 +01:00
Jacek Caban 5c61a34a7a urlmon: BindProocol's protocol handler doesn't need IInternetProtocolEx iface. 2010-11-15 15:03:16 +01:00
Jacek Caban 0d4287b2e8 urlmon: Don't forward StartEx call to protocol handler in BindProtocol. 2010-11-15 15:03:09 +01:00
Jacek Caban 8c634443d0 urlmon: Don't forward Start call to protocol handler in BindProtocol. 2010-11-15 15:03:05 +01:00
Thomas Mullaly 41c58b5a2a urlmon: Added pluggable protocol support to CoInternetCombineUrlEx. 2010-11-15 14:55:50 +01:00
Thomas Mullaly 90738c3464 urlmon: Implemented CoInternetCombineUrlEx. 2010-11-15 14:55:47 +01:00
Thomas Mullaly 4d9d4b10e0 urlmon: Added stub for CoInternetCombineUrlEx. 2010-11-15 14:55:44 +01:00
Jacek Caban 6c1f2e4f3f urlmon: Added IInternetProtocolEx support to BindProtocol. 2010-11-10 16:19:13 +01:00
Michael Stefaniuc 0f21814bbe urlmon/tests: Escape '\' in C strings (sparse). 2010-11-10 12:18:29 +01:00
Thomas Mullaly 1d11185d44 urlmon: Simplified path canonicalization functions. 2010-11-10 12:17:22 +01:00
Thomas Mullaly dffc9d312e urlmon: Improve IUri support of res URIs. 2010-11-09 11:45:54 +01:00
Thomas Mullaly c067353c18 urlmon: Make IUri implementation call functions through IUri_ macros instead of calling directly. 2010-11-09 11:45:50 +01:00
Thomas Mullaly 5213135e18 urlmon: CoInternetCombineIUri uses pluggable protocols. 2010-11-09 11:45:41 +01:00
Thomas Mullaly 89670f9c01 urlmon/tests: Fixed some IUri tests that used hard coded values to use Uri_HOST. 2010-11-08 11:56:12 +01:00
Gerald Pfeifer 5fb37aa454 urlmon: Avoid accessing an uninitialized variable in a TRACE in validate_path. 2010-11-05 11:27:49 +01:00
Jacek Caban 68272bac31 urlmon: Compute expected Uri_HAS_* flags from property arrays. 2010-11-04 13:10:29 +01:00
Thomas Mullaly 290aca1b19 urlmon: Implemented case when relative URI has a path that doesn't start with '/'. 2010-11-03 14:44:50 +01:00
Thomas Mullaly 5d76d6b466 urlmon: Implemented case when relative path begins with '/' in CoInternetCombineIUri. 2010-11-03 14:44:49 +01:00
Thomas Mullaly 4561a03ea8 urlmon: Some IUri's don't display the default port in the authority. 2010-11-03 14:44:49 +01:00
Thomas Mullaly 87bdf4edbc urlmon: Implemented case when the relative URI doesn't have a path component in CoInternetCombineIUri. 2010-11-03 14:44:49 +01:00
Thomas Mullaly 7c6bb2fbfc urlmon/tests: Added more CoInternetCombineIUri tests. 2010-11-03 14:44:48 +01:00
Thomas Mullaly d6e624c7ee urlmon: Improved IUri support for file URIs. 2010-11-03 14:44:48 +01:00
Thomas Mullaly 03efc237b6 urlmon: Fixed memory free of an uninitialized variable.
Thanks to Gerald for spotting this.
2010-11-03 14:44:48 +01:00
Francois Gouget b990617a95 Assorted spelling fixes. 2010-11-02 13:16:57 +01:00
Thomas Mullaly bced2e21db urlmon: Implemented base case for CoInternetCombineIUri. 2010-11-02 12:03:02 +01:00
Thomas Mullaly 2d61633e4d urlmon/tests: Added actual CoInternetCombineIUri tests. 2010-11-02 12:03:02 +01:00
Thomas Mullaly 18c7070b7f urlmon/tests: Added basic tests for CoInternetCombineIUri. 2010-11-02 12:03:02 +01:00
Thomas Mullaly 2aed8ce2fd urlmon: Added stub for CoInternetCombineIUri. 2010-11-02 12:03:02 +01:00
Gerald Pfeifer 1c11396175 urlmon: Fix typo in trace in validate_path. 2010-11-01 11:44:25 +01:00
Piotr Caban 8a6210d28f urlmon: Improved url canonicalize when Uri_CREATE_FILE_USE_DOS_PATH is specified. 2010-10-27 11:47:12 +02:00
Jacek Caban e0ef2d1774 mshtml: Fixed the first ReportData invocation when binding from objects created by BindToObject. 2010-10-14 10:03:13 +02:00
Piotr Caban 8e48cd1ad7 urlmon: Added ProtocolStream_Stat implementation. 2010-10-11 12:54:17 +02:00
Jacek Caban 61cd0648f2 urlmon: Skip more tests on too old IEs. 2010-10-08 18:08:24 +02:00
Jacek Caban 9f2ede8d62 urlmon: Added IInternetProtocolEx support to ftp protocol handler. 2010-10-07 12:00:27 +02:00
Jacek Caban 72c8b283e5 urlmon: Added IInternetProtocolEx support to http protocol handler. 2010-10-07 12:00:27 +02:00
Jacek Caban 8205f627c1 urlmon: Added post data stream tests. 2010-10-07 12:00:27 +02:00
Jacek Caban 237264dc61 urlmon: Added support for sending post data from stream. 2010-10-07 12:00:27 +02:00
Jacek Caban d563d5b35c urlmon: Added IBinding::Abort and binding without callback tests. 2010-10-07 12:00:27 +02:00
Jacek Caban a3aa115ac3 urlmon: Use default binding callback if no callback is provided. 2010-10-07 12:00:26 +02:00
Jacek Caban 428c1bbac6 urlmon: Use existing callback holder in RegisterBindStatusCallback if already exists. 2010-10-07 12:00:26 +02:00
Jacek Caban 1db24bedfc urlmon: Added IBinding::Abort implementation. 2010-10-07 12:00:26 +02:00
Jacek Caban 87242c5fb6 urlmon: Report error on synchronous bindings that don't have a cache file and are not read in callback. 2010-10-06 15:00:30 +02:00
Jacek Caban a7852b5128 urlmon: Return correct error in get_protocol_handler for unknown protocol types. 2010-10-06 14:43:17 +02:00
Jacek Caban 0d27b740b3 urlmon: Added Abort support to BindProtocol. 2010-10-04 15:01:50 +02:00
Jacek Caban 2e59b5ac1a urlmon: Added Abort tests. 2010-10-04 15:01:46 +02:00
Jacek Caban 159c23e137 urlmon: Added Abort implementation to wininet-based protocols. 2010-10-04 15:01:42 +02:00
Thomas Mullaly dfaabee3e8 urlmon: Fixed memory leak in error path of CreateUri. 2010-10-04 15:00:05 +02:00
Thomas Mullaly d2a0da17c7 urlmon: Implemented canonicalization of IUriBuilder components. 2010-10-04 15:00:05 +02:00
Thomas Mullaly bc3f8bb0c7 urlmon: canonicalize_path_hierarchical should prepend a '/' if needed. 2010-10-04 15:00:05 +02:00
Thomas Mullaly e1280919b8 urlmon: Restructured how the path component is validated in a IUriBuilder. 2010-10-04 15:00:05 +02:00
Thomas Mullaly d8263344ef urlmon: Restructured how ports are canonicalized. 2010-10-04 15:00:05 +02:00
Thomas Mullaly a057153c2e urlmon: Implemented functionality for generating raw URI string of a IUriBuilder. 2010-10-04 15:00:04 +02:00
Thomas Mullaly 1674bdd932 urlmon: validate_fragment works better if it actually calls parse_fragment instead of parse_query. 2010-10-04 15:00:04 +02:00
Jacek Caban 39f2c63055 urlmon: Replace also bind_info in set_binding_sink. 2010-10-01 17:48:10 +02:00
Jacek Caban 651fc5a289 urlmon: Skip tests on IEs older than 6 by checking for CompareSecurityIds. 2010-09-30 17:51:17 +02:00
Thomas Mullaly da1ceb1154 urlmon: Improve IUri support for mk: URIs. 2010-09-29 10:05:38 +02:00
Thomas Mullaly 70843e4f34 urlmon: Finished validation for the remaining components of a IUriBuilder. 2010-09-28 12:50:48 +02:00
Thomas Mullaly 7e292893bd urlmon: Can't set the host of a IUriBuilder to NULL. 2010-09-28 12:50:39 +02:00
Thomas Mullaly cbea4e2a85 urlmon: Implemented support for determining what port value to use in IUriBuilder. 2010-09-28 12:50:31 +02:00
Thomas Mullaly bf82564b5a urlmon: Fixed TRACE's which sometimes output garbage. 2010-09-28 12:50:23 +02:00
Thomas Mullaly 63723845c4 urlmon: Implemented validation of the host name component of a IUriBuilder. 2010-09-28 12:50:13 +02:00
Jacek Caban 9334c202c4 urlmon: Added about:blank IUri test. 2010-09-21 14:17:29 +02:00
Jacek Caban ef9283328c urlmon: Make protocol_start IUri-based. 2010-09-21 14:17:25 +02:00
Jacek Caban 493a3172f4 urlmon: Skip tests on very old IEs as soon as possible. 2010-09-20 13:48:12 +02:00
Thomas Mullaly e48b81036a urlmon: Implemented validation for the userinfo component when create an IUri with IUriBuilder. 2010-09-20 13:01:07 +02:00
Thomas Mullaly fcc9d609b0 urlmon: Restructured how the userinfo component is parsed and canonicalized. 2010-09-20 13:00:51 +02:00
Thomas Mullaly e767cc813d urlmon: File URIs can't have a userinfo component when creating an IUri using IUriBuilder. 2010-09-20 13:00:36 +02:00
Thomas Mullaly f2a1737e35 urlmon: Implemented validation of scheme component of a IUriBuilder. 2010-09-20 13:00:32 +02:00
Thomas Mullaly 947e4ec567 urlmon: IUriBuilder_CreateUri* functions return base IUri if there were no changes. 2010-09-20 13:00:27 +02:00
Thomas Mullaly 2e1f854860 urlmon/tests: Added more tests for IUriBuilder's CreateUri functions. 2010-09-20 13:00:21 +02:00
Paul Vriens 6704cd804f urlmon/tests: Fix test failures on Win9x/WinMe by using more A-functions. 2010-09-20 13:00:09 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Thomas Mullaly b5939f68ef urlmon/tests: Fixed bug in tests where the wrong value is checked. 2010-09-18 13:05:22 +02:00
Thomas Mullaly 3395c5623a urlmon/tests: IUriBuilder_CreateUri functions will return the base IUri if no changes have been made. 2010-09-18 13:05:22 +02:00
Thomas Mullaly 0da2e4c39f urlmon: Can't set the scheme name of a IUriBuilder to NULL or an empty string. 2010-09-18 13:05:22 +02:00
Thomas Mullaly bef85fbc98 urlmon: Implemented IUriBuilder_RemoveProperties. 2010-09-09 13:20:33 +02:00
Thomas Mullaly 9d41c3d51a urlmon: Implemented IUriBuilder_HasBeenModified. 2010-09-09 13:20:33 +02:00
Thomas Mullaly d95d6b5d1b urlmon: Implemented IUriBuilder_{Get/Set}IUri. 2010-09-09 13:20:33 +02:00
Thomas Mullaly d56e62a1cf urlmon/tests: IUriBuilder's can create IUri's even if they don't have a base IUri. 2010-09-09 13:20:32 +02:00
Thomas Mullaly dd0ea1cc29 urlmon/tests: Restructured IUriBuilder tests so they can accept IUriBuilders which don't have a base IUri.
Turns out an IUriBuilder doesn't need a valid IUri set as its IUri
property for the CreateUri* functions to succeed.
2010-09-09 13:20:32 +02:00
Thomas Mullaly 84987e05b5 urlmon/tests: Removed no longer needed todo_wine's. 2010-09-09 13:20:32 +02:00
Thomas Mullaly dfa7c7e8e6 urlmon: Fixed bug in IUriBuilder_GetUserName. 2010-09-09 12:47:29 +02:00
Jacek Caban ed2b72248f urlmon: Correctly handle INET_E_USE_DEFAULT_SETTING returned from GetBindString(BINDIND_ACCEPT_MIMES). 2010-09-08 19:49:30 +02:00
Michael Stefaniuc de9f0b98d4 urlmon: Remove superfluous NULL check before heap_free (Smatch). 2010-09-08 13:25:46 +02:00
Thomas Mullaly 380fd731e2 urlmon: Implemented IUriBuilder_{Get/Set}UserName. 2010-09-07 11:35:17 +02:00
Thomas Mullaly ef8200ebd2 urlmon: Some IUri's don't include the userinfo component in the absolute URI string. 2010-09-07 11:35:13 +02:00
Thomas Mullaly 7f6faca6f6 urlmon: Implemented IUriBuilder_{Get/Set}SchemeName. 2010-09-07 11:35:00 +02:00
Thomas Mullaly b27e9297b6 urlmon: Implemented IUriBuilder_{Get/Set}Query. 2010-09-07 11:34:55 +02:00
Thomas Mullaly a4eee68818 urlmon: Implemented IUriBuilder_{Get/Set}Port. 2010-09-07 11:34:50 +02:00
Thomas Mullaly 23e312e324 urlmon: set_builder_component now handles setting the modified property flag. 2010-09-07 11:34:44 +02:00
Thomas Mullaly d9b463af27 urlmon: Removed some unneeded URI_THIS casts. 2010-09-07 11:18:13 +02:00
Thomas Mullaly 4a352bd78d urlmon: Implemented IUriBuilder_{Get/Set}Path. 2010-09-06 17:07:43 +02:00
Thomas Mullaly 0a4e854182 urlmon: Implemented IUriBuilder_{Get/Set}Password. 2010-09-06 17:07:39 +02:00
Thomas Mullaly cf1d55c24b urlmon/tests: Restructured IUriBuilder's test data.
Instead of just comparing the absolute URI property of the generated IUri,
compare on a property by property basis. Since not all IUri's have an
absolute URI property.
2010-09-06 17:07:33 +02:00