Commit Graph

1039 Commits

Author SHA1 Message Date
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
Thomas Mullaly 1e5040eca1 urlmon: Implemented IUriBuilder_{Get/Set}Host. 2010-09-06 17:07:25 +02:00
Thomas Mullaly 6aa90a2dce urlmon: Implemented IUriBuilder_{Get/Set}Fragment. 2010-09-06 17:07:19 +02:00
Gerald Pfeifer 9387fe19a0 urlmon/tests: Simplify test_IUriBuilder_GetPorttest_IUriBuilder_GetPort a bit. 2010-09-06 16:13:22 +02:00
Jacek Caban 2e7fc004e3 mshtml: Added file protocol's IInternetProtocolEx tests. 2010-09-02 11:54:39 +02:00
Jacek Caban 6db2cf1bf5 urlmon: Use StartEx in file protocol handler's Start implementation. 2010-09-02 11:54:33 +02:00
Jacek Caban d8bfb7f8db urlmon: Return E_INVALIDARG for empty pwzURI in CreateUri. 2010-09-02 11:54:27 +02:00
Jacek Caban 77a046e863 urlmon: Added IInternetProtocolEx implementation for file protocol. 2010-09-02 11:54:21 +02:00
Jacek Caban c320a06e15 urlmon: Store file size in FileProtocol object. 2010-09-02 11:53:56 +02:00
Jacek Caban d442442e3e urlmon: Use INVALID_HANDLE_VALUE instead of NULL for uninitialized file handle in file protocol handler. 2010-09-02 11:53:51 +02:00
Juan Lang 3fec8d9e05 urlmon: Return failures from progress callback. 2010-08-27 12:02:37 +02:00
Thomas Mullaly 144ddea3f9 urlmon: Improved support for opaque file URL paths. 2010-08-27 12:00:48 +02:00
Thomas Mullaly fe89d8ac5b urlmon: Finished adding basic support for Uri_CREATE_FILE_USE_DOS_PATH. 2010-08-27 12:00:38 +02:00
Thomas Mullaly 948009872d urlmon: Improved support for determining if a URI is hierarchical or not. 2010-08-27 12:00:35 +02:00
Thomas Mullaly 6a8b2d88af urlmon: Beginning to add support for Uri_CREATE_FILE_USE_DOS_PATH in CreateUri. 2010-08-27 12:00:32 +02:00
Thomas Mullaly d88796f6ce urlmon: Some opaque URIs get their port set. 2010-08-27 12:00:20 +02:00
Thomas Mullaly 506dc3724f urlmon: Some IUri's don't always have an absolute URI property. 2010-08-27 12:00:14 +02:00
Francois Gouget 88cae5d4c7 Assorted spelling fixes. 2010-08-24 15:22:35 +02:00
Thomas Mullaly 84f6bb3e3f urlmon/tests: Added tests for IUriBuilder_RemoveProperties. 2010-08-24 15:22:34 +02:00
Thomas Mullaly 3b383e2175 urlmon/tests: Added tests for IUriBuilder's IUri property. 2010-08-24 15:22:34 +02:00
Thomas Mullaly 47e93adc74 urlmon/tests: Added tests for IUriBuilder_HasBeenModified. 2010-08-24 15:22:34 +02:00
Thomas Mullaly dc18401f85 urlmon/tests: Added tests for IUriBuilder_GetUserName. 2010-08-23 11:12:07 +02:00
Thomas Mullaly a9433c1402 urlmon/tests: Added tests for IUriBuilder_GetSchemeName. 2010-08-23 11:12:01 +02:00
Thomas Mullaly 8f7428e1ef urlmon/tests: Added tests for IUriBuilder_GetQuery. 2010-08-23 11:11:55 +02:00
Thomas Mullaly d36d4aa712 urlmon/tests: Added tests for IUriBuilder_GetPort. 2010-08-23 11:11:50 +02:00
Thomas Mullaly f25b83fa35 urlmon/tests: Added tests for IUriBuilder_GetPath. 2010-08-23 11:11:43 +02:00
Thomas Mullaly 6a3d61bcf8 urlmon/tests: Added tests for IUriBuilder_GetPassword. 2010-08-23 11:11:37 +02:00
Thomas Mullaly b5950a4a10 urlmon/tests: Added tests for IUriBuilder_GetHost. 2010-08-23 11:11:30 +02:00
Thomas Mullaly 3775219a31 urlmon/tests: Fixed bug where tests might succeed before the function is implemented. 2010-08-23 11:11:24 +02:00
Thomas Mullaly 9816ec856f urlmon/tests: Added tests for IUriBuilder_GetFragment. 2010-08-19 11:24:48 +02:00
Thomas Mullaly a88421ccd1 urlmon/tests: Added tests for IUriBuilder_CreateUriWithFlags. 2010-08-19 11:24:43 +02:00
Thomas Mullaly 2776e2b9af urlmon/tests: Added tests for IUriBuilder_CreateUriSimple. 2010-08-19 11:24:38 +02:00
Thomas Mullaly 4eff8ce517 urlmon/tests: Added tests for IUriBuilder_CreateUri. 2010-08-19 11:24:32 +02:00
Thomas Mullaly 516aac903a urlmon/tests: Added a few tests for CreateIUriBuilder. 2010-08-19 11:24:24 +02:00
Thomas Mullaly 068450363e urlmon: Added documentation for CreateUri and CreateUriWithFragment. 2010-08-18 09:44:16 +02:00
Thomas Mullaly 6e4ead77a7 urlmon: Implemented CreateUriWithFragment. 2010-08-18 09:43:43 +02:00
Thomas Mullaly 39001c30d3 urlmon/tests: Added testing suite for CreateUriWithFragment. 2010-08-18 09:43:37 +02:00
Thomas Mullaly c88048f08f urlmon: Added stub for CreateUriWithFragment. 2010-08-18 09:43:29 +02:00
Thomas Mullaly 364b804d9e urlmon: Implemented IUri_IsEqual. 2010-08-17 12:41:33 +02:00
Thomas Mullaly d0d7663c10 urlmon: Print fixme for unsupported flags to CreateUri. 2010-08-17 12:41:28 +02:00
Thomas Mullaly 0daa39fa97 urlmon: Added support for invalid flag combinations to CreateUri. 2010-08-17 12:41:24 +02:00
Thomas Mullaly b3ad7469d0 urlmon: Added support for pre-processing URI strings. 2010-08-17 12:41:20 +02:00
Thomas Mullaly ebc0de1e02 urlmon: Implemented IUri_GetProperties and IUri_HasProperty. 2010-08-16 15:54:22 +02:00
Thomas Mullaly e403053d5e urlmon: Implemented IUri_GetDisplayUri. 2010-08-16 15:54:22 +02:00
Thomas Mullaly 16dd03ba3e urlmon: Implemented IUri_GetAbsoluteUri. 2010-08-16 15:54:22 +02:00
Thomas Mullaly dcd2b994db urlmon: Implemented IUri_GetFragment. 2010-08-16 15:54:22 +02:00
Thomas Mullaly 004e1be678 urlmon: Implemented canonicalization for URI fragments. 2010-08-16 15:54:22 +02:00
Thomas Mullaly 27ec56ea6b urlmon: Implemented a fragment parser. 2010-08-16 15:54:22 +02:00