Commit Graph

748 Commits (746ffa651a381f5821649076f6f8f66b5606bc1b)

Author SHA1 Message Date
Jacek Caban b1fca21f5e mshtml: Added IHTMLOptionElement::get_value implementation. 2007-10-15 13:45:02 +02:00
Jacek Caban b14ba8aac6 mshtml: Added IHTMLStyle display and visibility properties implementation. 2007-10-15 13:44:56 +02:00
Jacek Caban 141dfab1a1 mshtml: Added IHTMLDocument4 stub implementation. 2007-10-15 13:44:51 +02: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 954d4477b5 mshtml: Added IHTMLWindow2::get_option implementation. 2007-10-15 13:44:36 +02:00
Jacek Caban 697d65305b mshtml: Fixed ref count leak. 2007-10-15 13:44:20 +02:00
Jacek Caban 512d09245d mshtml: Fix range pos after put_text call. 2007-10-15 13:44:15 +02:00
Jacek Caban f4e1ff6e1f mshtml: Added support for installing Gecko from the local file. 2007-10-11 16:24:29 +02:00
Robert Shearman 836cdb88ce mshtml: Set the SETUP_IS_CHROME_WRAPPER to FALSE as the embedded Gecko is always used to display content and not chrome. 2007-10-10 19:46:51 +02:00
Jacek Caban d9d11b3e7c mshtml: Fixed test crash on Windows. 2007-10-10 12:16:13 +02: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 0ea0754771 mshtml: Fixed tests on IE7. 2007-10-09 17:52:46 +02:00
Jacek Caban df4bdad94d mshtml: Skip tests if we can't get body object - it means that there is no Gecko available. 2007-10-09 12:34:35 +02:00
Jacek Caban 99e6592c9d mshtml: Move most code from handle_editor_load to exec_editmode. 2007-10-09 12:34:35 +02:00
Jacek Caban d8ea6c1fd7 mshtml: Added IHTMLInputTextElement interface implementation. 2007-10-04 11:40:28 +02:00
Jacek Caban 8916d64177 mshtml: Added IHTMLSelectElement::get_length implementation. 2007-10-04 11:40:13 +02:00
Jacek Caban dfa0b91fb4 mshtml: IHTMLElementContainer::item rewrite. 2007-10-04 11:40:03 +02:00
Jacek Caban ae64937f95 mshtml: Added IHTMLOptionElement interface stub implementation. 2007-10-04 11:39:56 +02:00
Jacek Caban 6437becb5b mshtml: Include document element in collection returned by IHTMLDocument2::get_all. 2007-10-04 11:39:40 +02:00
Jacek Caban e9cb14646c mshtml: Return IHTMLElementCollection instead of IDispatch from HTMLElementCollection_Create. 2007-10-04 11:39:35 +02:00
Jacek Caban e581609082 mshtml: Move common code to separated function. 2007-10-04 11:39:30 +02:00
Jacek Caban f56c1a607b mshtml: Move nodes' QueryInterface implementation to vtbl. 2007-10-04 11:39:23 +02:00
Jacek Caban f9036c8926 mshtml: Use vtbl for node destructors. 2007-10-04 11:39:09 +02:00
Jacek Caban e04cdbb82c mshtml: Pass HTMLDOMNode pointer to HTMLElement's destructor. 2007-10-04 11:39:01 +02:00
Jacek Caban 6270a46ded mshtml: Pass HTMLDOMNode pointer to its destructor. 2007-10-04 11:38:55 +02:00
Jacek Caban f5ef66a369 mshtml: Pass the IDispatch interface of the element right-clicked on to IDocHostUIHandler_ShowContextMenu if applicable instead of always the document's one.
Found by Rob Shearman.
2007-10-03 11:00:52 +02:00
Jacek Caban 42349000c4 mshtml: Added get_tagName implementation. 2007-10-03 11:00:46 +02:00
Gerald Pfeifer 47032fd07c mshtml: Removed unused function get_child_text_node(). 2007-10-02 12:28:09 +02:00
Alexandre Julliard 868b5397d3 mshtml: The HTMLDocument URL is a standard WCHAR string, not a BSTR. 2007-10-01 18:07:30 +02:00
Jacek Caban 47c91d4d18 mshtml: Use GetWineURL in before_async_open. 2007-10-01 12:34:03 +02:00
Jacek Caban 2826a0f08b mshtml: Remove no longer used defines. 2007-10-01 12:33:57 +02:00
Jacek Caban e65e53488e mshtml: Use get_nsinterface in set_ns_editmode and get_editor_controller. 2007-09-27 11:11:24 +02:00
Jacek Caban cf403fa484 mshtml: Use get_nsinterface in exec_print and do_ns_command. 2007-09-27 11:11:21 +02:00
Jacek Caban fa58e6ce5d mshtml: Added generic get_nsinterface function and use it in get_ns_command_state. 2007-09-27 11:11:16 +02:00
Jacek Caban 124f0290e4 mshtml: Added IDM_COPY in browse mode implementation. 2007-09-27 11:11:10 +02:00
Jacek Caban 8966cfe42a mshtml: Ignore app's User-Agent header and Content-Type if there is no data to post. 2007-09-27 11:11:04 +02:00
Jacek Caban e27f185440 mshtml: Forward IHTMLTextContainer::put_scrollTop and put_scrollLeft calls to IHTMLElement2 interface. 2007-09-27 11:09:04 +02:00
Jacek Caban 0a0d72ac5d mshtml: Added IHTMLElement2::put_scrollTop and put_scrollLeft implementation. 2007-09-27 11:08:59 +02:00
Jacek Caban cb776f7d5b mshtml: Added get_compatMode implementation. 2007-09-27 11:08:54 +02:00
Jacek Caban 9ba65105d5 mshtml: Added IHTMLDocument5 interface stub implementation. 2007-09-27 11:08:48 +02:00
Jacek Caban 23465f2183 mshtml: Don't crash in UIActivate if Gecko is not available. 2007-09-24 13:44:42 +02:00
Vitaliy Margolen 2755c92fc3 mshtml: Fix another typo and add trace. 2007-09-24 13:29:23 +02:00
Vitaliy Margolen 201e03b87a mshtml: Fix typo. 2007-09-24 13:29:17 +02:00
Jacek Caban 21214ed3d4 mshtml: Added Exec(IDM_FONT) stub implementation. 2007-09-19 14:56:41 +02:00
Jacek Caban 48d6c1f5ac mshtml: Added more tests. 2007-09-19 14:56:36 +02:00
Jacek Caban acae71ddf5 mshtml: Fixed IHTMLTxtRange::get_text implementation with no nsrange associated. 2007-09-19 14:56:29 +02:00
Jacek Caban 271049ca09 mshtml: Added IHTMLStyleSheetsCollection::get_length implementation. 2007-09-19 13:57:38 +02:00
Jacek Caban ebd918eb48 mshtml: Added get_styleSheets implementation. 2007-09-19 13:57:33 +02:00
Jacek Caban 5071f124ab mshtml: Added HTMLStyle::get_textDecoration* implementation. 2007-09-19 13:57:20 +02:00
Jacek Caban b5dadf955e mshtml: Added more IHTMLStyle getters implementation. 2007-09-19 13:57:14 +02:00
Jacek Caban 13bb3dd8ee mshtml: Return NULL for empty results in get_style_attr. 2007-09-19 13:57:09 +02:00
Jacek Caban a95bfede8a mshtml: Forward node ref calls to IHTMLDOMNode interface. 2007-09-19 13:57:02 +02:00
Jacek Caban 4b2b441e5b mshtml: Get rid of node_type variable in HTMLNode object. 2007-09-19 13:56:55 +02:00
Jacek Caban 6aa3834ffd mshtml: Don't use node_type from HTMLNode object. 2007-09-19 13:56:52 +02:00
Jacek Caban ea52235f8f mshtml: Make HTMLBodyElement child object of HTMLTextContainer. 2007-09-17 12:10:12 +02:00
Jacek Caban 99d061a041 mshtml: Store HTMLElement struct instead of pointer in HTMLTextAreaElement. 2007-09-17 12:10:05 +02:00
Jacek Caban 835b814e9f mshtml: Store HTMLElement struct instead of pointer in HTMLSelectElement. 2007-09-17 12:09:59 +02:00
Jacek Caban 8a8af7b483 mshtml: Store HTMLElement struct instead of pointer in HTMLInputElement. 2007-09-17 12:09:54 +02:00
Jacek Caban d17a1afe8b mshtml: Added get_body test. 2007-09-17 12:09:48 +02:00
Jacek Caban fac2121e6d mshtml: Store HTMLElement struct instead of pointer in HTMLBodyElement. 2007-09-17 12:09:44 +02:00
Jacek Caban f68e24a6dc mshtml: Store HTMLElement struct instead of pointer in HTMLAnchorElement. 2007-09-17 12:09:31 +02:00
Hwang YunSong(황윤성) deaa3d646e mshtml: Updated Korean resource. 2007-09-17 12:09:15 +02:00
Michael Stefaniuc 5d96659b3a mshtml: Move 'inline' to the beginning of the declaration directly after the storage specifier. 2007-09-17 12:09:05 +02:00
Hwang YunSong(황윤성) adc09ad52a mshtml: Updated Korean resource. 2007-09-13 13:40:14 +02:00
Jacek Caban b733e95859 mshtml: Store HTMLDOMNode struct instead of pointer in HTMLElement object. 2007-09-13 13:26:47 +02:00
Jacek Caban bb90785a68 mshtml: Added IHTMLAnchorElement stub implementation. 2007-09-13 13:26:01 +02:00
Jacek Caban 29be901376 mshtml: Added IHTMLTxtRange::put_text tests. 2007-09-13 11:36:33 +02:00
Jacek Caban 964479afa9 mshtml: Added IHTMLTxtRange::move("word") implementation. 2007-09-13 11:36:16 +02:00
Jacek Caban d6c14fba3e mshtml: Added IHTMLTxtRange::moveEnd implementation. 2007-09-13 11:35:58 +02:00
Jacek Caban 11591e7720 mshtml: Added IHTMLTxtRange::move("character") implementation. 2007-09-13 11:35:36 +02:00
Jacek Caban c1057b43a2 mshtml: Fixed ref count in parentElement. 2007-09-13 11:34:57 +02:00
Jacek Caban efe3232087 mshtml: Added IHTMLTxtRange::expand implementation. 2007-09-13 11:34:52 +02:00
Jacek Caban 6859de16f6 mshtml: Added IHTMLTxtRange tests. 2007-09-13 11:34:07 +02:00
Jacek Caban 1a7d41b739 mshtml: Reimplement IHTMLTxtRange::get_text. 2007-09-13 11:34:04 +02:00
Rob Shearman 1fbedd92d4 mshtml: Implement IDM_HYPERLINK. 2007-09-12 14:06:54 +02:00
Rob Shearman 41a3b734f9 mshtml: Implement PersistStreamInit_IsDirty when in edit mode. 2007-09-12 14:06:01 +02:00
Rob Shearman 006d9f940d mshtml: Store the nsIEditor interface in the NSContainer object for use in implementing editor commands. 2007-09-12 14:05:17 +02:00
Jacek Caban 410abcfb25 mshtml: Added IHTMLTxtRange::isEqual implementation. 2007-09-10 16:15:12 +02:00
Jacek Caban 4930b51bb8 mshtml: Added IHTMLTxtRange::inRange implementation. 2007-09-10 16:15:08 +02:00
Jacek Caban 6e905fd62d mshtml: Added IHTMLTxtRange::parentElement implementation. 2007-09-10 16:15:06 +02:00
Jacek Caban fbdab04962 mshtml: Added IOleUndoManager stub implementation. 2007-09-10 16:15:03 +02:00
Jacek Caban c66843693f mshtml: Call Exec in show_context_menu only if user selected menu item. 2007-09-10 16:14:47 +02:00
Mikolaj Zalewski b21cd5885f mshtml: Make the Install button the default on the Gecko installation dialog. 2007-09-10 16:14:23 +02:00
Mikolaj Zalewski a0de33b487 mshtml: Hide the progress bar while asking the user if Gecko should be installed. 2007-09-10 16:14:18 +02:00
Paul Vriens c8c69304b7 mshtml/htmltextcont: Initialize value (Coverity). 2007-08-20 12:54:45 +02:00
Jacek Caban d6e29316e6 mshtml: Added IHTMLTxtRange::compareEndPoints implementation. 2007-08-17 12:20:57 +02:00
Jacek Caban cbfef31895 mshtml: Added IHTMLTxtRange::select implementation. 2007-08-17 12:20:51 +02:00
Jacek Caban dab6474b66 mshtml: Added get_scrollWidth and get_scrollHeight implementation. 2007-08-17 12:20:47 +02:00
Jacek Caban 6ee709039f mshtml: Don't create element object for document node. 2007-08-17 12:20:40 +02:00
Jacek Caban 77e8a6800d mshtml: Added IHTMLTxtRange::put_text implementation. 2007-08-17 12:20:35 +02:00
Jacek Caban cfaf00fa51 mshtml: Store HTMLDocument reference in HTMLTxtRange object. 2007-08-17 12:20:30 +02:00
Jacek Caban 931714e7b7 mshtml: Store HTMLDocument reference in HTMLSelectionObject. 2007-08-16 12:01:57 +02:00
Jacek Caban 865d92a6e4 mshtml: Call setup_nswindow on load event. 2007-08-16 11:08:05 +02:00
Jacek Caban 80a1a2f135 mshtml: Make window.external visible for JavaScript code. 2007-08-15 10:40:32 +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 0358507065 mshtml: Added ICustomDoc stub implementation. 2007-08-13 11:38:43 +02:00
Jacek Caban b4bbffc64a mshtml: Added IHTMLTxtRange::collapse implementation. 2007-08-13 11:38:34 +02:00
Jacek Caban 8068a72d3c mshtml: Added IHTMLTxtRange::duplicate implementation. 2007-08-13 11:38:28 +02:00
Jacek Caban 37e3862799 mshtml: Make get_typeinfo thread safe. 2007-08-13 11:38:24 +02:00
Jacek Caban c1dc0e4192 mshtml: Use GetIsCollapsed in IHTMLSelectionObject::get_type. 2007-08-13 11:38:06 +02:00
Jacek Caban 50868fe751 mshtml: Added IDM_SELECTALL implementation. 2007-08-13 11:38:00 +02:00
Jacek Caban 464121bc00 mshtml: Don't mess with gecko specific protocols. 2007-08-13 11:37:55 +02:00
Michael Stefaniuc ad020e145e mshtml: Remove const in front of REFIID as that is a macro that already starts with const. 2007-08-06 12:18:08 +02:00
Jacek Caban a39dec21e2 mshtml: Release typelib in PROCESS_DETACH. 2007-08-02 12:18:41 +02:00
Jacek Caban a84520169f mshtml: Added IHTMLWindow::get_external implementation. 2007-08-01 11:28:49 +02:00
Jacek Caban a1970df550 mshtml: Fixed QueryInterface failures on IE7. 2007-08-01 11:28:42 +02:00
Dmitry Timoshkov e4fb0fe9e9 mshtml: Constify some data. 2007-07-31 12:35:07 +02:00
Jacek Caban 4005cf72d6 mshtml: Added HTMLWindow's IDispatch methods implementation. 2007-07-31 11:31:44 +02:00
Jacek Caban 7d1c59edce mshtml: Added mshtml.tlb registration. 2007-07-31 11:31:34 +02:00
Jacek Caban c43875ceda mshtml: Fixed a typo. 2007-07-27 12:24:44 +02:00
Rob Shearman 4dfdec2ef5 mshtml: Handle Ctrl-Home and Ctrl-End in edit mode. 2007-07-26 11:51:56 +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 fbdc76aaf7 mshtml: Set focus to the Gecko window in OleInPlaceActiveObject_OnFrameWindowActivate. 2007-07-25 13:03:26 +02:00
Rob Shearman bbb03cf16b mshtml: Call IDocHostUIHandler_HideUI and IDocHostUIHandler_ShowUI when changing an UI active window to be in edit mode.
Add tests for the behaviour of changing edit mode when a UI window is active.
2007-07-25 13:03:21 +02:00
Rob Shearman 9a67e1ffe5 mshtml: Pass the correct DOCHOSTUITYPE value to IDocHostUIHandler_ShowUI.
Don't reset window_active in OleDocumentView_UIActivate.
2007-07-25 13:03:10 +02:00
Rob Shearman 92b3cab791 mshtml: OleDocumentView_UIActivate should call IOleInPlaceUIWindow_SetActiveObject and IOleInPlaceFrame_SetBorderSpace.
Add a test to show this behaviour.
Don't call nsIWebBrowserFocus_Activate when just activating the window. 
Instead call it when UI-activating the window.
2007-07-25 13:03:05 +02:00
Rob Shearman 46df2fa9da mshtml: Implement HTMLElement_insertAdjacentHTML and HTMLElement_insertAdjacentText. 2007-07-13 12:27:23 +02:00
Jacek Caban 21836d21cf mshtml: Add IID_IPropertyNotifySink and DIID_HTMLTextContainerEvents connection points to HTMLBodyElement. 2007-06-29 13:28:43 +02:00
Jacek Caban 982dce485a mshtml: Added IConnectionPointContainer implementation to HTMLBodyElement. 2007-06-29 13:28:37 +02:00
Jacek Caban 88f4fb1f4f mshtml: Make connection points container independent. 2007-06-29 13:28:31 +02:00
Jacek Caban f09a6f7283 mshtml: Move IConnectionPointContainer to the separated struct. 2007-06-29 13:28:24 +02:00
Jacek Caban fc4fd71e01 mshtml: Store connection point as a list. 2007-06-29 13:28:16 +02:00
Jacek Caban fb16633d6f mshtml: Don't use dynamic allocation for connection points. 2007-06-29 13:28:10 +02:00
Jacek Caban cd9fbc52ad mshtml: Added Exec(IDM_DELETE) implementation. 2007-06-27 11:44:26 +02:00
Jacek Caban 67f87c5529 mshtml: Added IDM_DELETE support in QueryStatus. 2007-06-27 11:44:21 +02:00
Jacek Caban a8de2abbc2 mshtml: Correctly handle delete key in editor mode. 2007-06-27 11:44:13 +02:00
Rob Shearman a03ca3863f mshtml: Implement HTMLElement_get_children. 2007-06-25 23:21:51 +02:00
Jacek Caban d7e75747aa mshtml: Added more QueryInterface tests. 2007-06-25 13:25:29 +02:00
Jacek Caban 1534267ba5 mshtml: Added beginning DOM tests. 2007-06-25 13:25:23 +02:00
Jacek Caban 40cfcf513c mshtml: Added IHTMLDOMNode::get_nodeName implementation. 2007-06-25 13:25:04 +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 860d30eef2 mshtml: Fix HTMLDocument3_get_documentElement to get the right nsIDOMNode. 2007-06-25 13:24:19 +02:00
Rob Shearman a9ebca282b mshtml: Implement HTMLElement_setAttribute. 2007-06-25 13:24:11 +02:00
Rob Shearman 6c6e4515fc mshtml: The SRC value returned from HTMLElement_getAttribute should be an absolute, not relative URL. 2007-06-25 13:24:05 +02:00
Jacek Caban b09f5c319e mshtml: Added IOleInPlaceUIWindow tests. 2007-06-25 12:09:52 +02:00
Jacek Caban e429e039b0 mshtml: Better test of QueryInterface. 2007-06-25 12:09:48 +02:00
Jacek Caban 0cf10bb156 mshtml: Added IOleControlSite tests. 2007-06-25 12:09:39 +02:00
Jacek Caban dc2260468c mshtml: Set focus to FALSE in InPlaceDeactivate. 2007-06-25 12:09:33 +02:00
Jacek Caban 5baf587c43 mshtml: Notify IOleControlSite about focus changes. 2007-06-25 12:09:29 +02:00
Jacek Caban 946acd062d mshtml: Activate nsWebBrowser after creating document window. 2007-06-25 12:09:23 +02:00
Jacek Caban 9f8b92c337 mshtml: Added nsIEmbeddingSiteWindow:[Get|Set]Visibility implementation. 2007-06-25 12:09:15 +02:00
Jacek Caban 7430f1ad84 mshtml: Added nsIEmbeddingSiteWindow::SetFocus implementation. 2007-06-25 12:09:12 +02:00
Jacek Caban 3d3048db30 mshtml: Get rid of no longer used nsIDOMEventListener interface in NSContainer. 2007-06-25 12:09:07 +02:00
Jacek Caban 7dd4f5e2ba mshtml: Move load event listener to separated object. 2007-06-25 12:09:02 +02:00
Jacek Caban 8b3086a512 mshtml: Move keypress event listener to separated object. 2007-06-25 12:08:54 +02:00
Jacek Caban 893eec9ff7 mshtml: Don't check out VT in exec_fontsize. 2007-06-22 12:19:37 +02:00
Jacek Caban 077e9c22b8 mshtml: Added IOleInPlaceSiteEx tests. 2007-06-15 12:40:46 +02:00