Commit Graph

292 Commits

Author SHA1 Message Date
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
Lei Zhang f023be8aa7 mshtml: Remove unneeded variable. 2008-06-26 21:07:37 +02:00
Jacek Caban 732682b08c mshtml: Correctly handle NULL req in get_nscontainer_from_load_group. 2008-04-10 11:16:32 +02:00
Jacek Caban e2645dec1c mshtml: Added nsIChannel::SetContentType implementation. 2008-03-26 23:38:36 +01:00
Jacek Caban 8abf7a8cc9 mshtml: Rename nsChannel::content to content_type and clean up its handling. 2008-03-26 23:38:36 +01:00
Jacek Caban 5a04f526ad mshtml: Added new nsChannelBSC type. 2008-03-24 11:36:28 +01:00
Jacek Caban f792ada40f mshtml: Don't access BSCallback directly in nsio.c. 2008-03-24 11:36:14 +01:00
Jacek Caban 75fe97dc0b mshtml: Use load group to find NSContainer in AsyncOpen if URI has no associated container. 2008-03-10 11:23:45 +01:00
Jacek Caban 54e6aa91af mshtml: Added nsIURI::Equals implementation on URIs without necko interface associated. 2008-02-28 12:57:10 +01:00
Jacek Caban 6a3984c397 mshtml: Added nsIURI::Clone implementation on URIs without necko interface associated. 2008-02-28 12:57:07 +01:00
Jacek Caban 2f046e9623 mshtml: Report true scheme for about:blank URL. 2008-02-21 12:53:00 +01:00
Jacek Caban 7ea9c7d3e1 mshtml: Added nsINetUtil interface to nsIOService. 2008-02-21 12:53:00 +01:00
Jacek Caban 814e07d8e8 mshtml: Update wine_url in nsIURI::SetPath. 2008-02-04 13:17:48 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Jacek Caban cbe9f974d6 mshtml: Move nsChannel's content type initialization to async_open_doc_uri. 2008-01-11 12:26:11 +01:00
Jacek Caban 7de847c6ee mshtml: Don't crash in before_async_open if there is no client site. 2008-01-10 13:20:20 +01:00
Jacek Caban 72d0971034 mshtml: Remove not used argument of nsACString_GetData. 2007-12-17 11:49:12 +01:00
Michael Stefaniuc a084d1db62 mshtml: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-12-06 12:07:30 +01:00
Jacek Caban c02b46d987 mshtml: Fixed handling channels without container and necko channel. 2007-11-20 12:28:59 +01:00
Jacek Caban 6b21304248 mshtml: AsyncOpen code clean up. 2007-11-05 12:12:47 +01:00
Jacek Caban 41c35a1ce2 mshtml: Use wine scheme mechanism in do_load_from_moniker_hack. 2007-10-15 13:44:42 +02:00
Jacek Caban 47c91d4d18 mshtml: Use GetWineURL in before_async_open. 2007-10-01 12:34:03 +02:00
Jacek Caban 718b771f2a mshtml: Return wine: URI for protocols handled by MSHTML. 2007-08-15 10:39:53 +02:00
Jacek Caban 000c3d4295 mshtml: Check use_wine_url in nsIURI::GetAsciiSpec. 2007-08-15 10:38:49 +02:00
Jacek Caban dde59f8f3e mshtml: Reduce debug traces. 2007-08-15 10:38:44 +02:00
Jacek Caban 464121bc00 mshtml: Don't mess with gecko specific protocols. 2007-08-13 11:37:55 +02:00
Jacek Caban 54d2a44794 mshtml: Store current moniker in HTMLDocument. 2007-06-11 20:21:09 +02:00
Jacek Caban c221a36d53 mshtml: Move createing URL moniker to separated function. 2007-06-11 20:20:53 +02:00
Jacek Caban a43f4e7a42 mshtml: Fix debug trace. 2007-06-08 11:57:26 +02:00
Huw Davies 1667af3a20 mshtml: Don't release the factory if we failed to get it. 2007-06-05 10:57:31 +02:00
Jacek Caban de2e9e13ce mshtml: Fixed AsyncOpen implementation for channels without associated document. 2007-05-25 19:30:28 +02:00
Francois Gouget 51b81a60a0 mshtml: Fix '\n' typo. 2007-05-15 18:09:04 +02:00
Jacek Caban 836c672dcf mshtml: Wrap nsIExternalProtocolHandler. 2007-05-14 15:41:05 +02:00
Jacek Caban 58a261b7d1 mshtml: Correctly handle utf-16 encoded pages. 2007-04-13 11:38:17 +02:00
Jacek Caban 4bd9f22f1d mshtml: Remove false FIXME. 2007-03-07 12:08:52 +01:00
Jacek Caban facf47537c mshtml: Use wine_url in GetSpec if possible. 2007-02-14 11:56:42 +01:00
Jacek Caban 82adfaaef9 mshtml: Forward GetAsciiSpec to GetSpec. 2007-02-14 11:56:39 +01:00
Jacek Caban 693e62c858 mshtml: Added SchemeIs implementation. 2007-02-14 11:56:31 +01:00
Jacek Caban 2a0d583e72 mshtml: Return "wine" as scheme of nsIURI if wine_url is set. 2007-02-14 11:56:17 +01:00
Jacek Caban 31bbe886f0 mshtml: Handle resource protocol like chrome protocol. 2007-02-12 13:46:31 +01:00
Jacek Caban 9750893eff mshtml: Call SetWineURL in Clone. 2007-02-12 13:43:29 +01:00
Jacek Caban 124cb44903 mshtml: Start binding asynchronously. 2007-02-12 13:43:20 +01:00
Jacek Caban 48b445b80d mshtml: Move AddRequest call to OnStartBinding. 2007-02-12 13:42:03 +01:00
Jacek Caban 2e53ac9d8e mshtml: Remove no longer used [Get|Set]Moniker functions. 2007-02-12 13:41:51 +01:00
Jacek Caban 0da187dda8 mshtml: Don't store moniker in nsURI. 2007-02-12 13:41:22 +01:00
Jacek Caban 5ea16d7856 mshtml: Added [Set|Get]WineURL functions to nsIWineURI. 2007-02-12 13:39:07 +01:00
Jacek Caban 8beb142b94 mshtml: Store URL in unicode in nsURI. 2007-02-12 13:38:58 +01:00
Jacek Caban f35c66c693 mshtml: Improve loading document detection in AsyncOpen. 2006-12-22 10:20:56 +01:00