Commit Graph

189 Commits

Author SHA1 Message Date
Marcus Meissner da2089fed4 mshtml: Switch two checks (Coverity). 2011-11-24 17:17:14 +01:00
Jacek Caban 42d98d2a3e mshtml: Use codepage reported by http headers. 2011-11-23 17:34:56 +01:00
Jacek Caban 2bffcedc82 mshtml: Update window URI when its binding is redirected. 2011-11-16 17:00:04 +01:00
Jacek Caban fbdfec74b0 mshtml: Properly handle fragment-only navigation. 2011-11-15 19:37:32 +01:00
Jacek Caban f86abedb40 mshtml: Properly handle navigation in containers supporting IWebBrowserApp. 2011-11-15 19:37:31 +01:00
Jacek Caban 8ba6514962 mshtml: Split IHTMLPrivateWindow::SuperNavigate implementation. 2011-11-15 19:37:31 +01:00
Jacek Caban 535e2b23a3 mshtml: Store window URL as BSTR. 2011-11-14 13:10:20 +01:00
Jacek Caban 7891fc45d3 mshtml: Removed duplicated includes. 2011-08-03 14:15:49 +02:00
Jacek Caban 6830a3b312 mshtml: Use task destructor for async_doc_binding task. 2011-08-03 14:15:49 +02:00
Jacek Caban d65758db28 mshtml: Use task destructor for start_request 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 1e60c2f300 mshtml: Moved binding-related declarations to separate file. 2011-07-24 12:32:30 +02:00
Jacek Caban 17e6d75ed4 mshtml: Call on_start_nsrequest synchronously in async_stop_request is no data was read before. 2011-06-16 21:04:47 +02:00
Jacek Caban b9bfc10199 mshtml: Pass E_ABORT as binding results of bindings without IBinding in abort_document_bindings. 2011-05-16 16:35:27 +02:00
Jacek Caban af08c97bf9 mshtml: Handle aborts synchronously in nsChannelBSC_stop_binding. 2011-05-16 16:35:27 +02:00
Jacek Caban d7a2da5730 mshtml: Move document binding to the new document binding list in on_start_nsrequest. 2011-05-16 16:35:27 +02:00
Francois Gouget 5920de5ffb Assorted spelling and case fixes. 2011-05-09 12:09:27 +02:00
Nicolas Le Cam d4e7dacfc1 mshtml: Fix uninitialized variable warning. 2011-04-26 10:49:49 +02:00
Francois Gouget d69dd163ba mshtml: get_channelbsc_mon() is unused so remove it. 2011-04-18 12:39:56 +02:00
Jacek Caban 1054b95588 mshtml: Don't include null-byte in post data. 2011-04-18 11:46:17 +02:00
Jacek Caban 0613a82671 mshtml: Better support for HTTP redirection. 2011-04-18 11:46:14 +02:00
Jacek Caban 589c213890 mshtml: Properly handle upload streams containing headers. 2011-04-05 16:07:26 +02:00
Piotr Caban c3a677d007 mshtml: Report an error when navigation fails. 2011-03-29 12:35:53 +02:00
Piotr Caban 5541b7d13b mshtml: Abort more request in abort_document_bindings. 2011-02-01 12:04:00 +01:00
Jacek Caban 0a9738775c mshtml: Use inline function instead of macro for BSCallback vtbl implementations. 2011-01-07 15:01:26 +01:00
Michael Stefaniuc 1ae51aa74a mshtml: COM cleanup for the nsIInputStream iface. 2011-01-05 17:53:13 +01:00
Michael Stefaniuc fb92f979dd mshtml: Use ifaces instead of vtbl pointers in BSCallback. 2011-01-03 12:14:27 +01:00
Michael Stefaniuc a29101b026 mshtml: COM cleanup for the nsIHttpChannel iface. 2010-12-30 12:21:53 +01:00
Michael Stefaniuc 389a7f547e mshtml: COM cleanup for all the IServiceProvider ifaces. 2010-12-27 11:51:18 +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 6fff7e7c05 mshtml: Report better status in on_stop_nsrequest. 2010-10-07 12:00:26 +02:00
Jacek Caban d607976a74 mshtml: Call on_stop_nsrequest asynchronously. 2010-08-18 15:33:02 +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 43302910e4 mshtml: Moved update_window_doc to on_start_nsrequest and update callback's document if needed. 2010-08-18 15:32:52 +02:00
Jacek Caban a14d142555 mshtml: Call nsILoadGroup::AddRequest from AsyncOpen. 2010-08-18 15:32:48 +02:00
Jacek Caban 22679a2419 mshtml: Added support for custom post data type. 2010-08-04 12:25:22 +02:00
Jacek Caban 76eed7d313 mshtml: Store request headers in nsChannel if possible. 2010-08-04 12:24:49 +02:00
Jacek Caban 508aec93c1 mshtml: Allow customization of BeginningTransaction. 2010-08-04 12:24:44 +02:00
Jacek Caban 8ca78fa171 mshtml: Moved headers parsing to separated function. 2010-08-04 12:24:39 +02:00
Jacek Caban 6ae84b0b91 mshtml: Moved setting HTTP header to separated function. 2010-08-04 12:24:35 +02:00
Jacek Caban 9ca80347e3 mshtml: Get rid of useless nsQIResult type. 2010-08-02 14:08:57 +02:00
Andrew Eikum cf2a3af6f0 mshtml: Implement HTTPChannel::GetResponseHeader. 2010-04-05 11:39:33 +02:00
Jacek Caban 2b94ad5287 mshtml: Make sure that readState is READYSTATE_LOADING in read_stream_data. 2010-03-18 11:17:45 +01:00
Joris Huizer b6f2919b90 mshtml: create_channelbsc: Handle OOM case correctly. 2010-03-04 17:31:18 +01:00
Jacek Caban 34944c89dd mshtml: Properly handle IHlinkFrame::Navigate result. 2010-03-03 15:28:58 +01:00
Jacek Caban 15fb147a8e mshtml: Set current moniker in start_binding. 2010-03-03 15:28:53 +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 ba1db4c199 mshtml: Use nsWineURL structure directly in load_nsuri. 2010-02-22 12:00:40 +01:00
Jacek Caban d95a54aa57 mshtml: Store nsWineURI object instead of interface in nsChannel. 2010-02-22 11:59:53 +01:00
Jacek Caban 2e6353d4bc mshtml: Use nsIDocShell to load a page in set_moniker. 2010-01-04 11:41:29 +01:00
Jacek Caban c9e3c27f0d mshtml: Use FindMimeFromData to find MIME if moniker doesn't report it. 2009-12-29 11:07:20 +01:00
Jacek Caban f7be3645f5 mshtml: Added support for redirected binding. 2009-12-16 12:23:48 +01:00
Jacek Caban 050a1372b0 mshtml: Added support for frames in navigate_url. 2009-12-01 11:39:26 +01:00
Jacek Caban 679591ff87 mshtml: Added support for relative URLs in navigate_url. 2009-12-01 11:39:12 +01:00
Jacek Caban 2c6c00a84f mshtml: Forward setting window.location to window.location.href. 2009-12-01 11:34:16 +01:00
Jacek Caban aa714ca169 mshtml: Correctly handle NULL nschannel in channelbsc_load_stream (Coverity). 2009-11-12 15:20:07 +01:00
Jacek Caban d52f41ba41 mshtml: Moved nsIDOMEventListener implementations to HTMLDocumentNode. 2009-10-28 11:11:24 +01:00
Jacek Caban 745f601d23 mshtml: Moved binding list to HTMLDocumentNode. 2009-10-27 10:52:37 +01:00
Jacek Caban 207fe98e2a mshtml: Moved bscallback to HTMLWindow. 2009-10-27 10:52:08 +01:00
Jacek Caban 23891357a3 mshtml: Moved HTMLDocumentNode creating to HTMLWindow_Create. 2009-10-22 10:41:55 +02:00
Andrew Eikum a4b5ccfc29 hlink: Use HLINKSETF flags in Hlink::fnSetMonikerReference. 2009-10-21 16:05:56 +02:00
Jacek Caban 47c27742d0 mshtml: Added IHTMLLocation::put_href implementation. 2009-10-12 12:15:26 +02:00
Jacek Caban 4aa48041fa mshtml: Moved QueryService call to hlink_frame_navigate. 2009-10-12 12:14:56 +02:00
Jacek Caban e52e57cf2b mshtml: Moved binding variables to HTMLDocumentObj. 2009-09-17 09:41:51 -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 1d2020795a mshtml: Create HTMLDocumentNode for each HTMLDocumentObj. 2009-09-17 09:39:57 -05:00
Jacek Caban 3130898e39 mshtml: Report download failure to necko. 2009-09-15 16:41:26 -05:00
Jacek Caban 9e30813595 mshtml: Always call OnStartRequest before OnStopRequest. 2009-08-31 12:17:05 +02:00
Jacek Caban 742de5aeb5 mshtml: Moved parse_post_data to GetBindInfo. 2009-08-20 15:26:24 +02:00
Jacek Caban 7151a3965b mshtml: Parse post data in channelbsc_set_channel. 2009-08-14 11:27:11 +02:00
Jacek Caban 3768ae7336 mshtml: Added IBindStatusCallback::OnResponse implementation. 2009-08-12 12:49:18 +02:00
Jacek Caban 902829ea70 mshtml: Added support for partial reads in read_stream_data. 2009-08-12 12:49:02 +02:00
Jacek Caban dbe0de7337 mshtml: Moved TASK_PARSECOMPLETE to nsIMutationObserver::EndLoad. 2009-08-12 12:48:53 +02:00
Jacek Caban 780aff0bea mshtml: Call stop_binding before releasing binding object. 2009-08-11 12:30:39 +02:00
Jacek Caban db0bd528e7 mshtml: Handle aCount < buf_size case correctly in nsIInputStream::Read implementation. 2009-05-12 11:21:05 +02:00
Marcus Meissner 635ec22e4b mshtml: Fixed second buffer argument to MultiByteToWideChar. 2009-02-05 13:12:44 +01:00
Jacek Caban d464e7b546 mshtml: Write aCount bytes in nsIInputStream::ReadSegments. 2008-12-18 14:52:12 +01:00
Jacek Caban 98789edc3e mshtml: Store nsIDOMHTMLDocument in HTMLDocument. 2008-10-09 12:24:21 +02:00
Jacek Caban ef221478f0 mshtml: Fixed tests on IE7. 2008-09-17 10:54:38 +02:00
Jacek Caban b2c80e6b18 mshtml: Make sure to null terminate buffer in parse_extern_script. 2008-04-17 11:43:11 +02:00
Jacek Caban cb7b58c528 mshtml: Added parsing external scripts support. 2008-03-31 12:16:20 +02: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 c8bb048b1a mshtml: Abstract BSCallback implementation. 2008-03-24 11:37:01 +01:00
Jacek Caban 6738db5af2 mshtml: Move hlink_frame_navigate function. 2008-03-24 11:36:42 +01:00
Jacek Caban a7caae9540 mshtml: Move BSCallback declaration to navigate.c. 2008-03-24 11:36:34 +01:00
Jacek Caban 5a04f526ad mshtml: Added new nsChannelBSC type. 2008-03-24 11:36:28 +01:00
Jacek Caban 979b42d749 mshtml: Don't access BSCallback directly in nsembed.c. 2008-03-24 11:36:20 +01:00
Jacek Caban f792ada40f mshtml: Don't access BSCallback directly in nsio.c. 2008-03-24 11:36:14 +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 7514283d73 mshtml: Added PutProperty implementation. 2008-01-02 11:46:08 +01:00
Jacek Caban 82a199bcee mshtml: Use IBindCtx passed to Load in BindToStorage call. 2007-12-24 16:34:28 +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 b61bc4b92e mshtml: Change FIXME that is usually invalid to TRACE. 2007-11-20 13:21:06 +01:00
Jacek Caban 57b876dd0d mshtml: Call Exec(CGID_ShellDocView, 84) in start_binding. 2007-11-06 13:02:15 +01:00
Jacek Caban f309cdf733 mshtml: Store HTMLDocument pointer in BSCallback object. 2007-11-06 13:01:49 +01:00
Jacek Caban 9a9de4d65b mshtml: Move init_nsevents call from start_binding to read_stream_data to avoid race. 2007-10-09 17:52:46 +02:00
Jacek Caban cb9527ac06 mshtml: Make sure we have associated listener before calling OnStopRequest. 2007-07-26 11:51:13 +02:00
Rob Shearman addc9957af mshtml: Events are reset when a new document URI is loaded, so re-initialise them in start_binding. 2007-07-25 13:03:32 +02:00