Commit Graph

722 Commits

Author SHA1 Message Date
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
Jacek Caban cf0c911305 mshtml: Use IOleInPlaceSiteEx if available. 2007-06-15 12:40:39 +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 b95197ac19 mshtml: Added get_URL implementation. 2007-06-11 20:23:53 +02:00
Jacek Caban 068ce61523 mshtml: Don't crash in set_font_size if range_cnt is 0. 2007-06-11 20:23:46 +02:00
Jacek Caban 56eedcb6fb mshtml: Added GetCurMoniker implementation. 2007-06-11 20:23:38 +02:00
Jacek Caban 54d2a44794 mshtml: Store current moniker in HTMLDocument. 2007-06-11 20:21:09 +02:00
Jacek Caban 8d4c839ab8 mshtml: Move Exec(CGID_ShellDocView, 37) call to match native. 2007-06-11 20:21:01 +02:00
Jacek Caban c221a36d53 mshtml: Move createing URL moniker to separated function. 2007-06-11 20:20:53 +02:00
Jacek Caban 5766b55e40 mshtml: Call Exec(CGID_ShellDocView, 37) in exec_editmode. 2007-06-11 20:20:46 +02:00
Jacek Caban 371b0edb8e mshtml: Added edit mode IDM_CUT implementation. 2007-06-11 15:22:35 +02:00
Jacek Caban 775425b24b mshtml: Added edit mode IDM_PASTE implementation. 2007-06-11 15:22:31 +02:00
Jacek Caban 4231c9e2ee mshtml: Added edit mode IDM_COPY implementation. 2007-06-11 15:22:27 +02:00
Jacek Caban 431cf8038e mshtml: Added IsDirty tests. 2007-06-11 15:22:20 +02:00
Jacek Caban a8db342430 mshtml: Added semi stub IsDirty implementation. 2007-06-11 15:22:14 +02:00
Jacek Caban b0fc3115c9 mshtml: Added IDM_COMPOSESETTINGS implementation. 2007-06-11 15:22:08 +02:00
Jacek Caban 1d428f4837 mshtml: Added IHTMLStyle::get_fontFamily implementation. 2007-06-11 15:22:01 +02:00
Jacek Caban 9e3021746c mshtml: Added COMMENT_NODE implementation in nsnode_to_nsstring_rec. 2007-06-11 15:21:56 +02:00
Jacek Caban 21d61dae88 mshtml: Silence invalid FIXME for ELEMENT_DOCUMENT_FRAGMENT_NODE in nsnode_to_nsstring_rec. 2007-06-11 15:19:31 +02:00
Jacek Caban 2aa419e809 mshtml: Added IDM_RESPECTVISIBILITY_INDESIGN command stub implementation. 2007-06-11 15:19:25 +02:00
Jacek Caban bd5d6f753c mshtml: Set default scrollbar preferences. 2007-06-11 15:19:11 +02:00
Jacek Caban 77be7f7b1c mshtml: Reimplement editor mode left key using command controller. 2007-06-11 15:18:55 +02:00
Jacek Caban a7a2c2e63a mshtml: Reimplement editor mode right key using command controller. 2007-06-11 15:18:51 +02:00
Jacek Caban b542374574 mshtml: Added editor mode down key implementation. 2007-06-11 15:16:59 +02:00
Jacek Caban ec24f20bb1 mshtml: Added editor mode up key implementation. 2007-06-11 15:16:55 +02:00
Jacek Caban b2f995a8d2 mshtml: Store editor controller in NSContainer. 2007-06-11 15:16:47 +02:00