Commit Graph

315 Commits

Author SHA1 Message Date
Jacek Caban bbaa307fdf mshtml: Use per-inner window task_magic for binding. 2012-07-12 11:47:14 -05:00
Jacek Caban 25c5082f90 mshtml: Create inner window early in binding process and use it to store current binding callback. 2012-07-12 11:47:09 -05:00
Jacek Caban 2c1fe7f0c8 mshtml: Moved detaching inner window to separated function. 2012-07-11 10:00:34 -05:00
Jacek Caban 94f0f884fd mshtml: Moved binding list to HTMLInnerWindow. 2012-07-11 10:00:26 -05:00
Jacek Caban d31176ec03 mshtml: Moved history property to HTMLInnerWindow. 2012-06-26 17:06:11 +02:00
Jacek Caban 4647fe0f23 mshtml: Moved screen property to HTMLInnerWindow. 2012-06-26 17:06:11 +02:00
Jacek Caban b85631bab6 mshtml: Moved image_factory to HTMLInnerWindow. 2012-06-26 17:06:11 +02:00
Jacek Caban c73b135686 mshtml: Store event object in HTMLInnerWindow instead of HTMLOuterWindow. 2012-06-25 17:45:21 +02:00
Jacek Caban bb02767f15 mshtml: Moved script_hosts from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:21 +02:00
Jacek Caban c77b8bfdd9 mshtml: Moved option_factory from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:21 +02:00
Jacek Caban 2698fe0b3f mshtml: Moved global_props from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:20 +02:00
Jacek Caban c13bb135ca mshtml: Moved DispatchEx instance from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:20 +02:00
Jacek Caban 79356c65c1 mshtml: Moved document node from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:19 +02:00
Jacek Caban 08964ede45 mshtml: Added separated types for outer and inner HTML windows. 2012-06-25 17:45:19 +02:00
Jacek Caban e120ca06c3 mshtml: Release script hosts in window_set_docnode. 2012-06-13 19:40:04 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Jacek Caban d2e8d44811 mshtml: Added IHTMLWindow2::get_history implementation. 2012-05-02 12:00:43 +02:00
Jacek Caban c5c94f101f mshtml: Added IHTMLWindow3::detachEvent implementation. 2012-04-17 12:43:19 +02:00
Jacek Caban d987690212 Added support for shadowing of element pseudo-variables. 2012-04-17 12:43:17 +02:00
Jacek Caban 16a5a5c91b mshtml: Use return_nsstr helper in more functions. 2012-04-13 16:09:43 +02:00
Jacek Caban 325f8c8172 mshtml: Return self as a parent of global top window. 2012-04-11 18:16:11 +02:00
Jacek Caban 8e71096fd1 mshtml: Added better IHTMLWindow2::get_opener stub. 2012-04-10 16:21:30 +02:00
Jacek Caban e370f4bf3a mshtml: Added IHTMLWindow2::onerror semi-stub implementation. 2012-04-04 19:01:57 +02:00
Jacek Caban f11ed78b2e mshtml: Added support for anchors with target '_top'. 2012-03-29 20:49:18 +02:00
Jacek Caban 42bb6cab78 mshtml: Improved VARIANT debug traces in htmlwindow.c. 2012-03-28 14:55:57 +02:00
Jacek Caban c5257dc126 mshtml: Moved creating URIs relative to window to a new function. 2012-01-27 18:05:58 +01:00
Jacek Caban 58776e9f9a mshtml: Added IHTMLWindow5 stub implementation. 2012-01-23 17:44:12 +01:00
Jacek Caban 50a86f5f25 mshtml: Better stub for ITravelLogClient::FindWindowByIndex. 2012-01-20 16:02:35 +01:00
Jacek Caban e174d1d31b mshtml: Added ITravelLogClient stub implementation. 2012-01-20 16:02:27 +01:00
Jacek Caban d870b8c3e3 mshtml: Added IHTMLWindow::open implementation. 2012-01-09 20:12:24 +01:00
Jacek Caban ea0ebbfeb2 mshtml: Properly remove event listeners. 2011-11-24 20:57:01 +01:00
Jacek Caban 8ba6514962 mshtml: Split IHTMLPrivateWindow::SuperNavigate implementation. 2011-11-15 19:37:31 +01:00
Jacek Caban dc604f4a27 mshtml: Get rid of an unused parameter in prepare_for_binding. 2011-11-14 15:25:19 +01:00
Jacek Caban 52826af93c mshtml: Fixed HTMLPrivateWindow_GetAddressBarUrl function name. 2011-11-14 15:25:19 +01:00
Jacek Caban 2e5f73e4d7 mshtml: Wine Gecko 1.4 release. 2011-11-09 19:31:13 +01:00
Jacek Caban adafcda41c mshtml: HTMLWindow_item code clean up. 2011-11-03 17:41:37 +01:00
Jacek Caban 764d3d6a69 mshtml: Added IHTMLWindow6 stub implementation. 2011-10-19 17:48:34 +02:00
Jacek Caban 05d3b9cd1a mshtml: Get rid of no longer useful get_nsdoc_window helper. 2011-08-24 19:34:11 +02:00
Jacek Caban bf4b869152 mshtml: Wine Gecko 1.3 release. 2011-08-23 18:16:44 +02:00
Piotr Caban 0a03ae75b0 mshtml: Populate dynamic properties table in get_dynamic_data. 2011-08-23 16:53:54 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Jacek Caban 3be3074fa1 mshtml: Use task destructor for navigate_javascript task. 2011-08-03 14:15:49 +02:00
Jacek Caban 832d4eb2e2 mshtml: Use task destructor for navigate 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 b25d49c6c1 mshtml: Added semi-stub implementation of IHTMLWindow2::status property. 2011-08-01 11:18:34 +02:00
Jacek Caban 5751441f39 mshtml: Added support for javascript: URLs. 2011-07-24 12:33:03 +02:00
Jacek Caban 730299bae6 mshtml: Call set_moniker asynchronously in SuperNavigate. 2011-07-24 12:32:59 +02:00
Jacek Caban b14fc2c9d1 mshtml: Split set_moniker implementation. 2011-07-24 12:32:52 +02:00
Jacek Caban e325be79dc mshtml: Use CreateURLMonikerEx2 in SuperNavigate. 2011-07-24 12:32:33 +02:00
Jacek Caban 1e60c2f300 mshtml: Moved binding-related declarations to separate file. 2011-07-24 12:32:30 +02:00
Jacek Caban 739ff1208e mshtml: Store security manager in HTMLWindow instead of HTMLDocumentNode. 2011-03-29 13:05:53 +02:00
Austin English c199a46857 mshtml: Avoid shadowing a parameter. 2011-03-29 12:20:23 +02:00
Jacek Caban b411ba3fb0 mshtml: Fixed type in get_nsdoc_window. 2011-03-14 12:17:35 +01:00
Piotr Caban 12b85befc0 mshtml: Added IHTMLPrivateWindow_GetAddressBarUrl implementation. 2011-03-11 11:50:14 +01:00
Jacek Caban 1913ff3a42 mshtml: Don't assume that HTMLWindow_Create sets ret val before succeeding. 2011-03-09 12:28:49 +01:00
Thomas Mullaly a46e0c617b mshtml: Correctly forward IHTMLWindow's IHTMLDocument's ConnectionPointContainer. 2011-03-08 12:27:23 +01:00
Jacek Caban ca835d0a36 mshtml: Added IHTMLWindow2::focus implementation. 2011-02-07 10:15:27 -06:00
Michael Stefaniuc ed9c65b1ba mshtml: COM cleanup for the IHTMLLocation iface. 2011-01-03 12:14:27 +01:00
Michael Stefaniuc 726312c535 mshtml: COM cleanup for the IHTMLImageElementFactory iface. 2011-01-03 12:14:27 +01:00
Michael Stefaniuc 118379d642 mshtml: COM cleanup for the IHTMLOptionElement* ifaces. 2011-01-03 12:14:26 +01:00
Michael Stefaniuc 6b793e94ad mshtml: Use ifaces instead of vtbl pointers in HTMLFrameBase. 2011-01-03 12:14:26 +01:00
Michael Stefaniuc 0b66169a05 mshtml: COM cleanup for the IDispatchEx iface in DispatchEx. 2010-12-31 11:47:31 +01:00
Michael Stefaniuc 2e2f88af90 mshtml: COM cleanup for the IDispatchEx iface in HTMLWindow. 2010-12-31 11:47:19 +01:00
Michael Stefaniuc d4248e95f5 mshtml: COM cleanup for the IHTMLElement iface. 2010-12-30 12:21:53 +01:00
Jacek Caban 76c028b7c2 mshtml: Pass DispatchEx pointer instead of outer IUnknown to DispatchEx's vtbl functions. 2010-12-28 16:35:36 +01:00
Michael Stefaniuc 6b90fc236e mshtml: COM cleanup for the rest of the *Window* ifaces in HTMLWindow. 2010-12-27 15:39:41 +01:00
Michael Stefaniuc 2e24de635d mshtml: COM cleanup for the IHTMLWindow2 iface. 2010-12-27 15:39:40 +01:00
Michael Stefaniuc 389a7f547e mshtml: COM cleanup for all the IServiceProvider ifaces. 2010-12-27 11:51:18 +01:00
Michael Stefaniuc c66e1af842 mshtml: COM cleanup for the IHTMLDocument3 iface. 2010-12-22 12:49:17 +01:00
Jacek Caban c63a5fa8fd mshtml: IHTMLDocument2 iface handling clean up. 2010-12-17 13:26:01 +01:00
Jacek Caban c7e37fd675 mshtml: Added HTMLWindow's IServiceProvider implementation. 2010-11-12 14:38:55 +01:00
Jacek Caban e560a2246f mshtml: Added IHTMLWindow2::execScript implementation. 2010-11-09 14:21:25 +01:00
Marcus Meissner 4169d4dfb8 mshtml: Add check for doc_obj being NULL (Coverity). 2010-06-07 13:52:27 +02:00
Jacek Caban 1997a3a20a mshtml: Limit message length to 2000 in IHTMLWindow2::alert. 2010-04-21 15:32:14 +02:00
Jacek Caban 80f0f35c50 mshtml: Use DOM designMode to switch to editor mode. 2010-04-13 21:12:12 +02:00
Jacek Caban df0a35e3d3 mshtml: Added support for load event on all nodes. 2010-03-18 11:18:01 +01:00
Jacek Caban 9fbc3b6061 mshtml: Added IHTMLPrivateWindow::SuperNavigate implementation. 2010-03-03 15:29:25 +01:00
Jacek Caban 6938378be3 mshtml: Added IHTMLPrivateWindow stub implementation. 2010-03-03 15:28:31 +01:00
Jacek Caban 4b5dcc9e6b mshtml: Optimize more nsAString handling. 2010-01-29 14:59:02 +01:00
Jacek Caban e54062d6c7 mshtml: Improved IHTMLWindow::GetIDsOfNames implementation. 2010-01-25 12:59:20 +01:00
Jacek Caban e4a936a2d2 mshtml: Store body event target in HTMLDocumentNode. 2010-01-04 11:41:30 +01:00
Andrew Eikum 9bf516a813 mshtml: Search content_window's properties in HTML[I]FrameBase::get_dispid. 2009-12-15 16:09:11 +01:00
Andrew Eikum c10cd6c137 mshtml: Implement IHTMLWindow2::{get,put}_onresize. 2009-12-08 17:54:08 +01:00
Jacek Caban bd715dc8e4 mshtml: Detach window from frame element on window destruction. 2009-12-03 10:22:13 +01:00
Jacek Caban 2c6c00a84f mshtml: Forward setting window.location to window.location.href. 2009-12-01 11:34:16 +01:00
Jacek Caban 06884fb181 mshtml: Added IHTMLWindow2::get_screen implementation. 2009-12-01 11:30:37 +01:00
Andrew Eikum 3f63a2968d mshtml: Implement IHTMLWindow2::get_top. 2009-11-17 15:14:56 +01:00
Andrew Eikum 75b58fb537 mshtml: Implement IHTMLWindow2::get_parent. 2009-11-16 11:54:10 +01:00
Andrew Eikum 733dfb6429 mshtml: Implement IHTMLWindow2::item. 2009-11-16 11:54:05 +01:00
Andrew Eikum ac226b20f0 mshtml: Implement IHTMLWindow2::get_frames and add tests. 2009-11-16 11:53:59 +01:00
Andrew Eikum 0eaae2745c mshtml: Implement IHTMLWindow4::get_frameElement. 2009-11-16 11:53:53 +01:00
Andrew Eikum 334f2ce074 mshtml: Add stub implementation of IHTMLWindow4. 2009-11-16 11:53:45 +01:00
Jacek Caban deef140186 mshtml: Moved readystate to HTMLWindow. 2009-11-03 21:25:20 +01:00
Jacek Caban 82c8e7c684 mshtml: Added support for accessing elements id by global properties. 2009-11-03 21:24:54 +01:00
Jacek Caban 9195e1b756 mshtml: Moved global property allocation to separated function. 2009-11-03 21:24:49 +01:00
Michael Stefaniuc cc94a1db01 mshtml: Free the right variable (Smatch). 2009-11-03 21:22:53 +01:00
Jacek Caban d76720cc56 mshtml: Inherit scriptmode from parent window. 2009-10-29 13:08:26 +01:00
Jacek Caban 361f9a30ba mshtml: Moved event_vector to HTMLDocumentNode. 2009-10-28 11:11:31 +01:00
Andrew Eikum 9d62f47533 mshtml: Fix typo in TRACE. 2009-10-27 10:52:41 +01:00
Jacek Caban 745f601d23 mshtml: Moved binding list to HTMLDocumentNode. 2009-10-27 10:52:37 +01:00
Jacek Caban fd47fa4647 mshtml: Moved url and mon to HTMLWindow. 2009-10-27 10:52:17 +01:00
Jacek Caban 207fe98e2a mshtml: Moved bscallback to HTMLWindow. 2009-10-27 10:52:08 +01:00
Jacek Caban 45ce37fe64 mshtml: Store window reference in nsURI. 2009-10-27 10:51:35 +01:00
Jacek Caban 3263ace686 mshtml: Initialize iframe windows when added to document. 2009-10-22 10:42:03 +02:00
Jacek Caban 23891357a3 mshtml: Moved HTMLDocumentNode creating to HTMLWindow_Create. 2009-10-22 10:41:55 +02:00
Andrew Eikum 9579d64c69 mshtml: Add stub implementation for HTMLImageElementFactory. 2009-10-21 16:05:58 +02:00
Jacek Caban 3e0fa120a8 mshtml: Added IHTMLWindow2::get_length implementation. 2009-10-13 11:27:12 +02:00
Jacek Caban 2d4236bfda mshtml: Added IHTMLWindow2::name property implementation. 2009-10-13 11:27:07 +02:00
Jacek Caban fffc8c66fd mshtml: Moved hwnd and tooltip_hwnd to HTMLDocumentObj. 2009-09-17 09:41:09 -05:00
Jacek Caban 0d15ad8be4 mshtml: Move client site ifaces to HTMLDocumentObj. 2009-09-17 09:40:53 -05:00
Jacek Caban 9626f92332 mshtml: Store reference to document node in window object. 2009-09-17 09:40:16 -05:00
Jacek Caban 62ccef389f mshtml: Store document node in window. 2009-09-17 09:40:09 -05:00
Jacek Caban 5cedf9ca70 mshtml: Don't create window in create_doc_from_nsdoc. 2009-09-17 09:39:49 -05:00
Jacek Caban 4956e3edb5 mshtml: Moved event_vector to HTMLWindow. 2009-09-17 09:39:43 -05:00
Jacek Caban 74f28d4a20 mshtml: Moved HTMLLocation object to HTMLWindow. 2009-09-17 09:39:15 -05:00
Jacek Caban c9f6aaa2f7 mshtml: Moved option_factory to HTMLWindow object. 2009-09-17 09:39:02 -05:00
Jacek Caban a50c4edb93 mshtml: Added support for quering global variables from window object. 2009-09-10 11:06:45 +02:00
Jacek Caban 705fb0f239 mshtml: Moved script host objects to HTMLWindow. 2009-09-10 11:06:36 +02:00
Jacek Caban dfc27cd720 mshtml: Added IHTMLWindow3::attachEvent implementation. 2009-09-09 12:08:53 +02:00
Jacek Caban eb5660284a mshtml: Added IHTMLWindow2::onload property. 2009-09-09 12:08:47 +02:00
Jacek Caban c7496aee8f mshtml: Added IHTMLWindow2::onbeforeunload property implementation. 2009-09-09 12:08:42 +02:00
Jacek Caban b481b09248 mshtml: Store body event target in window object. 2009-09-09 12:08:32 +02:00
Jacek Caban b42243e8e7 mshtml: Properly release DispatchEx data. 2009-09-01 12:43:13 +02:00
Jacek Caban 9cf9d20197 mshtml: Added IHTMLWindow2::toString implementation. 2009-09-01 12:42:28 +02:00
Piotr Caban 3bc7bdab88 mshtml: Added IHTMLWindow2_confirm implementation. 2009-03-13 14:12:49 +01:00
Piotr Caban 147cf1da55 mshtml: Added HTMLWindow2_prompt implementation. 2009-03-13 14:12:35 +01:00
Michael Stefaniuc 165f691ca8 mshtml: Change long to LONG in mshtml.idl (htmlwindow.c part). 2009-03-12 13:09:54 +01:00
Jacek Caban 159cc19b03 mshtml: Added IHTMLWindow2::get_location implementation. 2009-01-04 13:32:47 +01:00
Jacek Caban 676d4af4f6 mshtml: Move GetContentDOMWindow call from HTMLWindow_Create. 2008-10-13 11:16:33 +02:00
Jacek Caban 28d918f581 mshtml: Added IHTMLWindow2::get_event implementation. 2008-10-13 11:15:37 +02:00
Jacek Caban 27eb80cc3a mshtml: Get rid of setup_nswindow.
It's no longer needed.
2008-10-10 12:55:30 +02:00
Jacek Caban 984bff499e mshtml: Use heap_alloc_zero for HTMLWindow allocation.
It's needed by DispatchEx implementation.
2008-08-19 12:15:56 +02:00
Jacek Caban 047e5aaad5 mshtml: Don't mix nsresult with HRESULT. 2008-07-04 19:35:26 +02:00
Sinitsin Ivan 2b4dcb2577 mshtml: Add HTMLWindow_scrollBy implementation. 2008-07-03 13:08:18 +02:00
Sinitsin Ivan e731a42b90 mshtml: Add HTMLWindow_scrollTo implementation. 2008-07-03 13:08:18 +02:00
Jacek Caban 9157c6d68a mshtml: Return NULL in window object's GetNameSpaceParent. 2008-07-01 12:23:26 +02:00
Jacek Caban fe863e0326 mshtml: Silence common invalid QueryInterface FIXME. 2008-07-01 12:23:08 +02:00
Jacek Caban f58b963f4b mshtml: Added IHTMLWindow2::get_self implementation. 2008-07-01 12:22:52 +02:00
Jacek Caban ebb4a9b197 mshtml: Added IHTMLWindow::get_window implementation. 2008-07-01 12:22:45 +02:00
Jacek Caban 876153976b mshtml: Added IHTMLWindow2::clearInterval implementation. 2008-06-30 12:12:09 +02:00
Jacek Caban 8d3aa6799c mshtml: Added IHTMLWindow2::clearTimeout implementation. 2008-06-30 12:12:04 +02:00
Jacek Caban 74f29f1087 mshtml: Added IHTMLWindow3::setInterval implementation. 2008-06-30 12:11:58 +02:00
Jacek Caban 0d56f1058f mshtml: Forward IHTMLWindow2::setInterval to IHTMLWindow3. 2008-06-30 12:11:52 +02:00
Jacek Caban 44223acceb mshtml: Added VT_BSTR support to IHTMLWindow3::setTimeout.
Resend without test depending on JScript.
2008-06-30 12:11:46 +02:00
Kirill K. Smirnov 73bd6da208 mshtml: Fix copy/paste error. 2008-05-26 19:45:49 +02:00
Francois Gouget 53f2cb83dc mshtml: gcc 2.95 does not allow an array of undefined dimension in a struct. So fix dispex_static_data_t accordingly. 2008-05-06 16:10:13 +02:00
Jacek Caban ef4200fcf7 mshtml: Added support for custom DISPIDs. 2008-04-29 12:38:25 +02:00
Jacek Caban 788432af49 mshtml: Added setTimeout implementation. 2008-04-21 18:32:18 +02:00
Jacek Caban 8640955188 mshtml: Forward IHTMLWindow2::setTimeout to IHTMLWindow3::setTimeout. 2008-04-21 18:32:15 +02:00
Jacek Caban aeb1095b47 mshtml: Added IHTMLWindow2::get_document implementation. 2008-04-21 18:32:10 +02:00
Jacek Caban 951084abcf mshtml: Forward window IDispatch methods. 2008-04-21 11:56:16 +02:00
Jacek Caban a5843056c5 mshtml: Added window IDispatchEx implementation. 2008-04-21 11:56:13 +02:00
Jacek Caban 12f312dacc mshtml: Added load event support. 2008-04-21 11:55:35 +02:00
Jacek Caban a009157331 mshtml: Added IHTMLWindow3 stub implementation. 2008-04-18 13:57:14 +02:00
Jacek Caban d02c37aa4e mshtml: Remove unneeded includes. 2008-04-07 13:36:17 +02:00
Jacek Caban 9c352a11cc mshtml: Added IHTMLWindow2::get_navigator implementation. 2008-04-07 13:36:17 +02: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 954d4477b5 mshtml: Added IHTMLWindow2::get_option implementation. 2007-10-15 13:44:36 +02:00
Jacek Caban 80a1a2f135 mshtml: Make window.external visible for JavaScript code. 2007-08-15 10:40:32 +02:00
Jacek Caban a84520169f mshtml: Added IHTMLWindow::get_external implementation. 2007-08-01 11:28:49 +02:00
Jacek Caban 4005cf72d6 mshtml: Added HTMLWindow's IDispatch methods implementation. 2007-07-31 11:31:44 +02:00
Andrew Talbot 0608054a6d mshtml: Constify some variables. 2007-05-31 13:27:28 +02:00
Jacek Caban 13f7784634 mshtml: Use HTMLWindow::alert in nsPromptService::Alert. 2006-12-12 20:11:56 +01:00
Jacek Caban 62f1ef9d85 mshtml: Added alert implementation. 2006-12-12 20:11:31 +01:00
Jacek Caban fb4980d6a9 mshtml: Added get_parentWindow implementation. 2006-12-07 11:29:55 +01:00