Commit Graph

692 Commits

Author SHA1 Message Date
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
Jacek Caban c135e0d882 mshtml: Call update_doc in init_editor. 2007-06-11 15:16:35 +02:00
Jacek Caban 86cb9f3d70 mshtml: Call update_doc in editor commands. 2007-06-11 15:16:31 +02:00
Jacek Caban 88178a7553 mshtml: Added more command tests. 2007-06-11 15:16:22 +02:00
Jacek Caban 3543cd3df4 mshtml: Added Exec(IDM_FONTNAME) tests. 2007-06-11 15:16:14 +02:00
Jacek Caban 52accda0fa mshtml: Set default fontname to 'Times New Roman'. 2007-06-11 15:16:08 +02:00
Jacek Caban 80b65d3e35 mshtml: Don't check out variant type in exec_fontname. 2007-06-11 15:16:01 +02:00
Jacek Caban 85923633bb mshtml: Set FALSE useCapture for editor's keypress event listener. 2007-06-11 15:15:52 +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 5c08a14cdd mshtml: Improve IDM_JUSTIFYLEFT query status. 2007-06-11 15:14:12 +02:00
Jacek Caban ef93de1671 mshtml: Pump messages of all windows in test_download.
We have to pump Gecko windows' messages to correctly support loading documents.
2007-06-11 15:13:56 +02:00
Jacek Caban 1e2ec94325 mshtml: Added test of callbacks called from document timer. 2007-06-11 15:13:50 +02:00
Jacek Caban 86e224c12d mshtml: Call update_doc in exec_editmode. 2007-06-11 15:13:47 +02:00
Jacek Caban 20d77432a2 mshtml: Move Exec(OLECMDID_SETTITLE) call to separated function and use it in on_timer. 2007-06-11 15:13:43 +02:00
Jacek Caban d8e518eb68 mshtml: Call UpdateUI and Exec(OLECMDID_UPDATECOMMANDS) from timer callback. 2007-06-11 15:11:56 +02:00
Jacek Caban 0334291828 mshtml: Use IOleCommandTarget::Exec to implement context menu. 2007-06-11 15:06:32 +02:00
Jacek Caban 239b86fe8f mshtml: Don't do anything in exec_editmode if edit mode is already set. 2007-06-11 15:06:24 +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 bf7a479042 mshtml: Forward all IsDirty implementations to one function. 2007-06-11 15:06:09 +02:00
Jacek Caban 791b868ce7 mshtml: Move setup_ns_editing to nsembed.c. 2007-06-11 15:06:02 +02:00
Jacek Caban bd71f19ef1 mshtml: Make [get|set]_font_size static. 2007-06-11 15:05:52 +02:00
Jacek Caban 78509882e7 mshtml: Move remaining status queries to command tables. 2007-06-11 15:05:42 +02:00
Jacek Caban 2e12e7e4de mshtml: Move edit command queries to the command table. 2007-06-11 15:05:32 +02:00
Jacek Caban ca82a1eb0e mshtml: Move justify queries to command table. 2007-06-11 15:05:18 +02:00
Jacek Caban 7d336240d4 mshtml: Use command table for IDM_COPY, IDM_CUT and IDM_PASTE query. 2007-06-11 15:04:53 +02:00
Jacek Caban eb8b3417e0 mshtml: Move remaining commands to tables. 2007-06-11 15:04:44 +02:00
Jacek Caban d42c252883 mshtml: Move more commands to editor command table. 2007-06-11 15:04:35 +02:00
Jacek Caban 34f1f61acf mshtml: Move more commands to command table. 2007-06-11 15:04:24 +02:00
Jacek Caban 7a0e06b9e2 mshtml: Move IDM_FONTSIZE, IDM_FONTNAME and IDM_FORECOLOR to edit state command table.
This patch temporary adds code duplication.
2007-06-11 15:04:17 +02:00
Jacek Caban 510481b70c mshtml: Added command table for CGID_MSHTML commands. 2007-06-11 15:03:59 +02:00
Jacek Caban a43f4e7a42 mshtml: Fix debug trace. 2007-06-08 11:57:26 +02:00