Commit Graph

339 Commits

Author SHA1 Message Date
Jacek Caban 1ca84cb729 mshtml: Make nsIURL::GetParam a stub. 2011-11-08 18:19:17 +01:00
Jacek Caban d1e49da2f5 mshtml: Reimplement nsIURL::GetFileExtension on top of IUri API. 2011-10-27 14:21:02 +02:00
Jacek Caban bf4b869152 mshtml: Wine Gecko 1.3 release. 2011-08-23 18:16:44 +02:00
Jacek Caban 7891fc45d3 mshtml: Removed duplicated includes. 2011-08-03 14:15:49 +02:00
Jacek Caban 9f77da607f mshtml: Use task destructor for start_binding task. 2011-08-03 14:15:49 +02:00
Jacek Caban 7247eaa181 mshtml: Allow async tasks to have custom destructors. 2011-08-03 14:15:49 +02:00
Jacek Caban d125640499 mshtml: Added IURi-based nsIURL::GetDirectory implementation. 2011-08-03 14:15:48 +02:00
Francois Gouget ed3c9a1eca Assorted spelling fixes. 2011-08-03 14:15:48 +02:00
Jacek Caban bccd8997d1 mshtml: Downgrade GetAsciiHost FIXME to WARN. 2011-07-24 12:32:47 +02:00
Jacek Caban 1e60c2f300 mshtml: Moved binding-related declarations to separate file. 2011-07-24 12:32:30 +02:00
Jacek Caban 69f9006889 mshtml: Return NS_BINDING_ABORTED for canceled binding in AsyncOpen. 2011-07-22 15:44:42 +02:00
Jacek Caban 0289530f07 mshtml: Implement nsIURI::SetUserPass on top of IUri. 2011-07-19 18:26:21 +02:00
Jacek Caban 8f3c3ca35c mshtml: Added IUri-based nsIURI::SetPort implementation. 2011-06-27 13:09:47 -05:00
Jacek Caban 25a40601fa mshtml: Get rid of wine_url in nsWineURI object. 2011-06-27 13:09:47 -05:00
Jacek Caban 69f4a1bf76 mshtml: Make sure we always create nsWineURI with valid IUri. 2011-06-27 13:09:47 -05:00
Jacek Caban 7a0363cd94 mshtml: Use IUri instead of wine_url in before_async_open. 2011-06-24 08:51:08 -05:00
Jacek Caban f7b8eccd5f mshtml: Use CreateURLMonikerEx2 for creating URL moniker. 2011-06-24 08:51:01 -05:00
Jacek Caban 42ce560e38 mshtml: Don't use Gecko nsIURI::GetHostPort implementation. 2011-05-04 17:26:46 +02:00
Jacek Caban 0613a82671 mshtml: Better support for HTTP redirection. 2011-04-18 11:46:14 +02:00
Jacek Caban f24be9fa54 mshtml: Moved nsChannel initialization to separated function. 2011-04-18 11:46:05 +02:00
Jacek Caban 593d3f4492 mshtml: Reimplement nsIURI::SetHost on top of IUriBuilder. 2011-04-08 14:08:52 +02:00
Jacek Caban 589c213890 mshtml: Properly handle upload streams containing headers. 2011-04-05 16:07:26 +02:00
Jacek Caban 699e41cdd8 mshtml: Wine Gecko 1.2.0 release. 2011-03-15 17:14:08 +01:00
Jacek Caban cdb7bc451b mshtml: Reimplement nsIURI::SetScheme on top of IUri. 2011-03-14 19:31:28 +01:00
Jacek Caban 779ad051d5 mshtml: Make nsIURI::[Get|Set]Username implementation IUri-based. 2011-02-10 10:28:01 -06:00
Jacek Caban a1205c6adc mshtml: Added nsIURI::SetSpec implementation. 2011-02-04 15:25:32 +01:00
Jacek Caban 604350be8d mshtml: Don't try forwarding calls to Gecko that are not implemented there anyways. 2011-02-03 16:19:44 +01:00
Jacek Caban ba229eed59 mshtml: Forward nsIURL::[Get|Set]FilePath to nsIURI::[Get|Set]Path. 2011-01-20 14:03:24 +01:00
Jacek Caban 60d8c48132 mshtml: Fixed leaks (valgrind). 2011-01-20 12:47:52 +01:00
Jacek Caban e72e7de0e5 mshtml: Added IUri-based implementation of nsIURL::[Get|Set]Ref. 2011-01-18 13:29:59 +01:00
Michael Stefaniuc 1d7e50079a mshtml: COM cleanup for the nsIURL iface. 2011-01-05 17:53:06 +01:00
Jacek Caban 2d0ec71962 mshtml: Make nsIURI::Resolve implementation IUri-based. 2011-01-04 11:11:54 +01:00
Jacek Caban 64c1b7922e mshtml: Don't prefer to forward a few more calls in nsIURL implementation. 2011-01-03 16:46:09 +01:00
Jacek Caban 0aefffe9b4 mshtml: Use IUri for nsURL::[Get|Set]Password implementation. 2011-01-03 16:46:05 +01:00
Jacek Caban 1fa5ddfad9 mshtml: Make nsIIOService::NewURI IUri-based. 2010-12-31 11:44:59 +01:00
Jacek Caban b7e78af4de mshtml: Added moz-safe-about to the list of Gecko internal protocols. 2010-12-31 11:44:55 +01:00
Michael Stefaniuc f5df0b3ed7 mshtml: COM cleanup for the remaining ifaces in nsChannel. 2010-12-30 12:21:53 +01:00
Michael Stefaniuc a29101b026 mshtml: COM cleanup for the nsIHttpChannel iface. 2010-12-30 12:21:53 +01:00
Michael Stefaniuc 3388353679 mshtml: Use an iface instead of a vtbl pointer in nsProtocolHandler. 2010-12-29 11:59:35 +01:00
Michael Stefaniuc 29944c7caf mshtml: COM cleanup for the nsIWebBrowserChrome iface. 2010-12-28 16:35:39 +01:00
Michael Stefaniuc 2e24de635d mshtml: COM cleanup for the IHTMLWindow2 iface. 2010-12-27 15:39:40 +01:00
Jacek Caban a03da22965 mshtml: Make translate_url IUri-based. 2010-12-05 12:24:28 +01:00
Jacek Caban 5030554ccd mshtml: Don't use wine_url in nsIURI::SchemeIs implementation. 2010-11-25 16:55:12 +01:00
Jacek Caban 286249031c mshtml: Don't use wine_uri in nsIIOService::NewChannelFromURI implementation. 2010-11-25 16:55:05 +01:00
Jacek Caban 74aabe94b1 mshtml: Don't use wine_url in nsURI::Clone implementation. 2010-11-25 16:55:00 +01:00
Jacek Caban 6a37caaecb mshtml: Use IUri for nsIURI::GetSpec implementation. 2010-11-15 13:20:06 +01:00
Jacek Caban 3f383bac3b mshtml: Use IUriBuilder for nsIURI::SetPath implementation. 2010-11-15 13:20:06 +01:00
Jacek Caban 98f5bc384b mshtml: Use IUriBuilder for IURI::SetQuery implementation. 2010-11-12 14:39:28 +01:00
Piotr Caban 872ba8af29 mshtml: Impoved implementation of nsURI_GetAsciiHost. 2010-11-08 13:30:22 +01:00
Jacek Caban 8d11858e37 mshtml: Get rid of no longer needed parse_post_data. 2010-10-28 11:40:01 +02:00
Jacek Caban c4ae314330 mshtml: Use IUri in nsIURI::Equals implementation. 2010-10-21 16:18:11 +02:00
Jacek Caban 91acf625fb mshtml: Added nsIHttpChannel::VisitResponseHeaders implementation. 2010-10-13 15:55:00 +02:00
Jacek Caban c6e1a0c81e mshtml: Added nsIURI::GetPath implementation. 2010-09-29 16:15:03 +02:00
Jacek Caban 11d33cb167 mshtml: Use IUri for nsIURL::GetQuery implementation. 2010-09-29 16:14:59 +02:00
Jacek Caban d98bb11f49 mshtml: Get rid of use_wine_url. 2010-09-29 16:14:49 +02:00
Jacek Caban e58f9df642 mshtml: Use IUri for nsIURI::GetScheme implementation. 2010-09-29 16:14:46 +02:00
Jacek Caban 008c0597c8 mshtml: Added nsIURI::GetUserPass implementation. 2010-09-28 17:33:19 +02:00
Jacek Caban 9bb0ecceb5 mshtml: Added nsIURI::GetHostPort implementation. 2010-09-28 17:33:19 +02:00
Jacek Caban cb85bad7a9 mshtml: Added nsIURI::GetPort implementation. 2010-09-28 17:33:19 +02:00
Jacek Caban 3a00f739b1 mshtml: Added nsIURI::GetHost implementation based on IUri API. 2010-09-28 17:33:18 +02:00
Jacek Caban 725aab4fa9 mshtml: Renamed uri to nsuri. 2010-09-28 17:33:18 +02:00
Jacek Caban 9557f1c526 mshtml: Fixed hash part stripping in GetQuery.
Spotted by Joris Huizer.
2010-09-19 14:59:11 +02:00
Jacek Caban ffe9cc87c0 mshtml: Added nsIURL::GetQuery implementation. 2010-09-18 13:08:32 +02:00
Jacek Caban e081b65aee mshtml: Try getting window from notification callback if load group is not available in AsyncOpen. 2010-09-18 13:08:28 +02:00
Jacek Caban d4071b56a1 mshtml: Added nsIHttpChannel::VisitResponseHeaders implementation. 2010-09-18 13:08:25 +02:00
Jacek Caban f39d945246 mshtml: Use stored nsWineURI object to create moniker in async_open. 2010-09-18 13:03:57 +02:00
Jacek Caban e9e35e2b09 mshtml: Wine Gecko 1.1.0 release. 2010-08-25 17:37:14 +02:00
Jacek Caban 3c421a813a mshtml: Skip mutation notifications on documents that are being replaced. 2010-08-18 15:32:57 +02:00
Jacek Caban a14d142555 mshtml: Call nsILoadGroup::AddRequest from AsyncOpen. 2010-08-18 15:32:48 +02:00
Jacek Caban a9dec383d5 mshtml: Added nsIChannel::GetName implementation. 2010-08-18 15:32:41 +02:00
Jacek Caban e83402122d mshtml: Return true spec in nsIURI::GetSpec. 2010-08-18 15:32:36 +02:00
Jacek Caban 793b021fd0 mshtml: Use fake scheme only for about protocol in nsIURI::GetScheme. 2010-08-18 15:32:32 +02:00
Jacek Caban ceab381750 mshtml: Added nsIURL::Resolve implementation. 2010-08-18 15:32:21 +02:00
Jacek Caban 5068249cbe mshtml: Treat file URLs pointing to Gecko installation directory as special URIs. 2010-08-18 15:32:16 +02:00
Jacek Caban eec86f64c4 mshtml: Added nsIHttpChannel::referrer implementation. 2010-08-18 15:32:08 +02:00
Jacek Caban 22679a2419 mshtml: Added support for custom post data type. 2010-08-04 12:25:22 +02:00
Jacek Caban ac65368835 mshtml: Added nsIChannel::GetRequestMethod implementation. 2010-08-04 12:25:16 +02:00
Jacek Caban 0085383fc7 mshtml: Store request method in nsChannel. 2010-08-04 12:25:12 +02:00
Jacek Caban dc825296fd mshtml: Added nsIChannel::SetRequestHeader implementation. 2010-08-04 12:25:07 +02:00
Jacek Caban 753ecebe9b mshtml: Added nsIChannel::GetRequestHeader implementation. 2010-08-04 12:24:53 +02:00
Jacek Caban 76eed7d313 mshtml: Store request headers in nsChannel if possible. 2010-08-04 12:24:49 +02:00
Jacek Caban 6ae84b0b91 mshtml: Moved setting HTTP header to separated function. 2010-08-04 12:24:35 +02:00
Jacek Caban b1c6f41da9 mshtml: Moved getting HTTP header to separated function. 2010-08-04 12:24:30 +02:00
Jacek Caban dd0894c7ab mshtml: Moved HTTP headers list freeing to separated function. 2010-08-04 12:24:25 +02:00
Jacek Caban 5a30f4143b mshtml: Improved tracing of nsACString arguments. 2010-08-03 18:00:25 +02:00
Jacek Caban 9ca80347e3 mshtml: Get rid of useless nsQIResult type. 2010-08-02 14:08:57 +02:00
Jacek Caban a0af1dc4cf mshtml: Pass processed URI to NewURI. 2010-07-30 16:34:05 +02:00
Jacek Caban 95d98bdb53 mshtml: Don't crash in on_start_uri_open on nscontainer without associated document. 2010-06-14 14:14:16 +02:00
Jacek Caban 66e4ba9f9f mshtml: Simplify translate_url call. 2010-05-25 13:27:49 +02:00
Jacek Caban 5075f00f25 mshtml: Don't access url in translate_url after freeing it. 2010-04-25 07:31:43 -05:00
Jacek Caban 64271d5207 mshtml: Use URI with stripped "wine:" part in NewURI call. 2010-04-22 18:11:42 +02:00
Jacek Caban 7d80003205 mshtml: Fixed nsIHttpChannel::GetRequestSucceeded implementation. 2010-04-06 11:48:27 +02:00
Andrew Eikum 3901185e94 mshtml: Always load URLs without a base URL through Wine. 2010-04-05 11:39:39 +02:00
Andrew Eikum cf2a3af6f0 mshtml: Implement HTTPChannel::GetResponseHeader. 2010-04-05 11:39:33 +02:00
Andrew Eikum f40682eba9 mshtml: Implement HTTPChannel::GetRequestSucceeded. 2010-04-05 11:39:30 +02:00
Andrew Eikum b688fd0de3 mshtml: Return success in HTTPChannel::SetRequestMethod.
Request method is determined by Wine on bind, so return success in this
function to make Gecko happy.
2010-04-05 11:39:24 +02:00
Andrew Eikum 341ba18d75 mshtml: Fix typo determining if channel is HTTP. 2010-03-22 10:42:35 +01:00
Andrew Eikum 5f8776c8d0 mshtml: Fix return value interpretation when navigating. 2010-03-18 10:23:36 +01:00
Jacek Caban 34944c89dd mshtml: Properly handle IHlinkFrame::Navigate result. 2010-03-03 15:28:58 +01:00
Jacek Caban 9d9553f9bb mshtml: nsio.c code clean up. 2010-03-03 15:28:48 +01:00
Jacek Caban 01b2388c22 mshtml: Allow post data and headers to be passed to create_channelbsc. 2010-03-03 15:28:43 +01:00
Jacek Caban 0bccfa873d mshtml: Moved asynchronous document binding to separated function. 2010-03-03 15:28:37 +01:00
Jacek Caban 6b46c9e5ad mshtml: Get rid of nsIWineURI interface. 2010-02-22 12:01:07 +01:00
Jacek Caban 0f6f96ea63 mshtml: Get rid of nsIWineURI::[GS]etNSContainer. 2010-02-22 12:00:58 +01:00
Jacek Caban a42bc25d55 mshtml: Get rid of nsIWineURI::[GS]etWindow. 2010-02-22 12:00:53 +01:00
Jacek Caban 043af028b9 mshtml: Get rid of most nsIWineURI methods. 2010-02-22 12:00:46 +01:00
Jacek Caban ba1db4c199 mshtml: Use nsWineURL structure directly in load_nsuri. 2010-02-22 12:00:40 +01:00
Jacek Caban 61121cefcb mshtml: Moved OnStartURIOpen implementation to nsio.c. 2010-02-22 12:00:25 +01:00
Jacek Caban d95a54aa57 mshtml: Store nsWineURI object instead of interface in nsChannel. 2010-02-22 11:59:53 +01:00
Jacek Caban 4ab63f3ad8 mshtml: Rename nsURI to nsWineURI. 2010-02-22 11:59:39 +01:00
Jacek Caban 56f26c1e19 mshtml: Silence invalid FIXME. 2010-01-14 10:22:44 -06:00
Jacek Caban 2e6353d4bc mshtml: Use nsIDocShell to load a page in set_moniker. 2010-01-04 11:41:29 +01:00
Jacek Caban d60ebb308f mshtml: Don't try to wrap necko channel in nsChannel implementation. 2010-01-04 11:41:29 +01:00
Jacek Caban ecbe545e90 mshtml: Don't use necko nsIHttpChannel in nsChannel implementation. 2009-12-21 15:01:25 +01:00
Jacek Caban 74c4a73ffb mshtml: Don't use necko nsIHttpChannelInternal implementation in nsChannel object. 2009-12-18 11:41:19 +01:00
Jacek Caban 28677ea87d mshtml: Don't depend on necko channel in nsChannel::QueryInterface implementation. 2009-12-02 12:19:38 +01:00
Jacek Caban dc3818e707 mshtml: Don't wrap URIs related to Gecko special URIs. 2009-12-02 12:19:30 +01:00
Jacek Caban bb60430de4 mshtml: Always return fake scheme in nsIURI::GetScheme if use_wine_url is set. 2009-12-01 11:39:31 +01:00
Jacek Caban 050a1372b0 mshtml: Added support for frames in navigate_url. 2009-12-01 11:39:26 +01:00
Jacek Caban 7cb41811b1 mshtml: Use special handling only for main documents in AsyncOpen. 2009-12-01 11:39:07 +01:00
Jacek Caban fc2306d58c mshtml: Don't fail in NewChannelFromURI if necko failed to create a channel. 2009-12-01 11:39:02 +01:00
Jacek Caban d0dbf57c36 mshtml: Always set use_wine_url if there is no necko nsIURI available. 2009-12-01 11:38:55 +01:00
Jacek Caban 007b398215 mshtml: Return NS_OK for empty aRef in nsIURL::SetRef. 2009-11-03 21:23:58 +01:00
Jacek Caban faf0b6bb2a mshtml: Avoid crash in nsIURI:Equals if other_url is NULL. 2009-10-28 11:11:36 +01:00
Jacek Caban 745f601d23 mshtml: Moved binding list to HTMLDocumentNode. 2009-10-27 10:52:37 +01:00
Jacek Caban 12bddc55ed mshtml: Allow task queue to be used for different targets. 2009-10-27 10:52:28 +01:00
Jacek Caban fd47fa4647 mshtml: Moved url and mon to HTMLWindow. 2009-10-27 10:52:17 +01:00
Jacek Caban 50588739e3 mshtml: Use HTMLWindow in AsyncOpen implementation. 2009-10-27 10:51:45 +01:00
Jacek Caban 45ce37fe64 mshtml: Store window reference in nsURI. 2009-10-27 10:51:35 +01:00
Jacek Caban 1d134f74ab mshtml: Return failure in GetContentType if content type is not available. 2009-10-14 11:22:38 +02:00
Jacek Caban 4aa48041fa mshtml: Moved QueryService call to hlink_frame_navigate. 2009-10-12 12:14:56 +02:00
Andrew Eikum be4178928b mshtml: Fix typo in WARN. 2009-10-12 12:13:32 +02:00
Jacek Caban 23e7fe481b mshtml: Move mime to HTMLDocumentObj. 2009-09-17 09:47:43 -05:00
Jacek Caban 0d15ad8be4 mshtml: Move client site ifaces to HTMLDocumentObj. 2009-09-17 09:40:53 -05:00
Jacek Caban b827996515 mshtml: Moved NSContainer to HTMLDocumentObj. 2009-09-17 09:40:35 -05:00
Jacek Caban 508aa85c6b mshtml: Added IHTMLInputElement::src property implementation. 2009-09-15 16:41:26 -05:00
Jacek Caban 46ca3c433f mshtml: Update wine_url in nsIURL::SetQuery. 2009-08-27 11:45:36 +02:00
Jacek Caban d6215843d7 mshtml: Wrap nsIURL interface. 2009-08-27 11:45:16 +02:00
Jacek Caban 80f02b82d6 mshtml: Use URL moniker to load http documents. 2009-08-24 15:17:31 +02:00
Jacek Caban 55014297f8 mshtml: Don't return Gecko interfaces implementation from nsChannel::QueryInterface. 2009-08-24 12:08:53 +02:00
Jacek Caban e4c203a2bc mshtml: Treat wyciwyg protocol as Gecko special protocol. 2009-08-24 12:08:46 +02:00
Jacek Caban 487443a2d1 mshtml: Wrap nsIHttpChannelInternal interface. 2009-08-24 12:08:35 +02:00
Jacek Caban 3768ae7336 mshtml: Added IBindStatusCallback::OnResponse implementation. 2009-08-12 12:49:18 +02:00
Jacek Caban 8d28f09d8a mshtml: Wine Gecko 0.9.0 release. 2008-12-30 12:43:34 +01:00
Jacek Caban a47292a3ab mshtml: Release owner in nsChannel destructor. 2008-12-22 10:29:23 +01:00
Jacek Caban bbd4a63491 mshtml: Added nsIChannel::[Get|Set]Owner implementation. 2008-12-18 14:52:08 +01:00
Jacek Caban d356d15225 mshtml: Use stored nsINetUtil interface. 2008-12-18 14:52:04 +01:00
Jacek Caban 3dbeb15eac mshtml: Call necko's SetUploadStream from wrapper's SetUploadStream. 2008-11-24 13:43:38 +01:00
Andrew Talbot 75d4faabd3 mshtml: Sign-compare warnings fix. 2008-10-20 11:33:24 +02:00
Jacek Caban aae2c59dfd mshtml: Added IHTMImgElement::get_src implementation. 2008-10-14 11:25:02 +02:00