Commit Graph

231 Commits

Author SHA1 Message Date
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
Rob Shearman f6daa34857 mshtml: Notify the Gecko stream listener that we stopped binding, if an error occurs in start_binding. 2007-06-25 13:24:57 +02:00
Rob Shearman 24b1b2bc69 mshtml: Use the implementation of IHlink in hlink.dll instead of duplicating it. 2007-06-13 12:58:31 +02:00
Rob Shearman 2211b6e5d0 mshtml: Add some error handling to hlink_frame_navigate. 2007-06-12 13:18:44 +02:00
Jacek Caban d09692d187 mshtml: Push TASK_PARSECOMPLETE in load event if Gecko is available. 2007-06-11 15:15:29 +02:00
Jacek Caban 95e96fd547 mshtml: Don't crash in load_stream if Gecko is not available. 2007-06-11 15:06:19 +02:00
Jacek Caban 920f628c6e mshtml: Added IPersistStreamInit::Load implementation. 2007-05-11 13:25:02 +02:00
Jacek Caban 2dd9fad610 mshtml: Move AddRequest call to the separated function. 2007-05-11 13:24:37 +02:00
Jacek Caban 94a264d0be mshtml: Don't crash in OnStopBinding if This->binding is null. 2007-05-11 13:24:31 +02:00
Jacek Caban 98da8e2823 mshtml: Split code from OnDataAvailable. 2007-05-11 13:24:25 +02:00
Jacek Caban c747ece6c7 mshtml: Fix offset in OnDataAvailable call. 2007-04-30 12:19:46 +02:00
Jacek Caban 58a261b7d1 mshtml: Correctly handle utf-16 encoded pages. 2007-04-13 11:38:17 +02:00
Jacek Caban 7437cc1e96 mshtml: Improve ReadSegments implementation. 2007-03-07 12:08:49 +01:00
Jacek Caban ff3b2780ec mshtml: Always read data in OnDataAvailable. 2007-03-02 11:39:47 +01:00
Jacek Caban 48b445b80d mshtml: Move AddRequest call to OnStartBinding. 2007-02-12 13:42:03 +01:00
Jacek Caban 0c74c0a95b mshtml: Win64 printf format warning fixes. 2006-10-06 12:54:45 +02:00
Francois Gouget dc0cfe7729 urlmon: Fix the case of the BINDINFO.cbstgmedData field. Fixes the htmldoc test compilation on Windows. 2006-09-29 17:53:23 +02:00
Jacek Caban e15b5c7010 mshtml: Set dwOptions in GetBindInfo to 0x80000 to make test pass. 2006-09-25 21:13:25 +02:00
Jacek Caban ac2aeb6e17 mshtml: Added PARSECOMPLETE task implementation. 2006-09-25 21:08:23 +02:00
Jacek Caban ccd3399947 mshtml: Store BSCallback in HTMDocument. 2006-09-25 21:08:16 +02:00
Jacek Caban 7f107fb8da mshtml: Store IBinding interface in BSCallback. 2006-09-25 21:08:08 +02:00
Jacek Caban 9ee2f5e0ad mshtml: Correctly handle nsILoadGroup. 2006-08-16 12:40:03 +02:00
Jacek Caban aa760c8b1e mshtml: Store IMoniker in BSCallback. 2006-08-09 17:14:28 +02:00
Jacek Caban 9def0ca2a6 mshtml: Fix handling offset in BSCallback. 2006-08-04 11:58:52 +02:00
Jacek Caban 0fbb175d64 mshtml: Added nsInputStream::Read implementation. 2006-08-03 22:23:34 +02:00
Jacek Caban 21ba0bf3e8 mshtml: Wrap remaining Heap* functions by inline functions. 2006-07-20 12:11:39 +02:00
Jacek Caban 78c287f12a mshtml: Call OnStopRequest in OnStopBinding. 2006-06-26 13:49:30 +02:00
Jacek Caban 6c1e595c21 mshtml: Break reading if IStream::Read returns 0 bytes. 2006-06-26 13:49:30 +02:00
Alexandre Julliard 12286afc24 mshtml: Changed C syntax that winapi_check doesn't like. 2006-06-09 11:52:41 +02:00
Jacek Caban 56bb028611 mshtml: Use mime type reported by moniker if possible. 2006-06-03 11:54:07 +02:00
Jacek Caban 42f96fce67 mshtml: Return S_OK in OnStartBinding and OnStopBinding. 2006-06-03 11:53:53 +02:00
Jacek Caban 93fe34ee68 mshtml: Added beginning OnDataAvailable implementation. 2006-06-03 11:53:43 +02:00
Jacek Caban ee8c855f77 mshtml: Added begining binding code in IPersistMoniker::Load. 2006-06-03 11:50:59 +02:00
Jacek Caban f1d2e37655 mshtml: Set binding channel, listener and context in AsyncOpen. 2006-06-03 11:50:45 +02:00
Jacek Caban 813e82f253 mshtml: Add create_nscallback function to allow using BSCallback out of navigate.c. 2006-06-03 11:48:40 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Jacek Caban d656f996f1 mshtml: Beginning support for links opened in a new frame. 2006-03-02 11:42:06 +01:00
Jacek Caban 71b881e4ba mshtml: Don't add null byte to post data. 2006-02-27 12:11:43 +01:00
Jacek Caban d2389dc0cf mshtml: Fix post data parsing. 2006-02-17 11:37:11 +01:00
Jacek Caban cb880d7cc7 mshtml: Handle IHlinkFrame service. 2006-02-13 13:26:00 +01:00