Commit Graph

271 Commits

Author SHA1 Message Date
Jacek Caban c49e894e9f mshtml: Reset focus after loading the page in edit mode. 2007-11-12 12:06:48 +01:00
Jacek Caban f309cdf733 mshtml: Store HTMLDocument pointer in BSCallback object. 2007-11-06 13:01:49 +01:00
Jacek Caban 62894b488d mshtml: Import dimm.idl and fix compilation. 2007-10-18 12:05:49 +02:00
Jacek Caban d6ccaa43a6 mshtml: Added ref counting to node object. 2007-10-15 13:46:51 +02:00
Jacek Caban 71894ead1f mshtml: Try installing Gecko from local file in DllRegisterServer. 2007-10-15 13:46:42 +02:00
Jacek Caban 141dfab1a1 mshtml: Added IHTMLDocument4 stub implementation. 2007-10-15 13:44:51 +02:00
Jacek Caban 954d4477b5 mshtml: Added IHTMLWindow2::get_option implementation. 2007-10-15 13:44:36 +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 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
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 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 9ba65105d5 mshtml: Added IHTMLDocument5 interface stub implementation. 2007-09-27 11:08:48 +02:00
Jacek Caban ebd918eb48 mshtml: Added get_styleSheets implementation. 2007-09-19 13:57:33 +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 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 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
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
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 fbdab04962 mshtml: Added IOleUndoManager stub implementation. 2007-09-10 16:15:03 +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 80a1a2f135 mshtml: Make window.external visible for JavaScript code. 2007-08-15 10:40:32 +02:00
Jacek Caban 0358507065 mshtml: Added ICustomDoc stub implementation. 2007-08-13 11:38:43 +02:00
Jacek Caban 4005cf72d6 mshtml: Added HTMLWindow's IDispatch methods implementation. 2007-07-31 11:31:44 +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 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
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 5baf587c43 mshtml: Notify IOleControlSite about focus changes. 2007-06-25 12:09:29 +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
Rob Shearman 24b1b2bc69 mshtml: Use the implementation of IHlink in hlink.dll instead of duplicating it. 2007-06-13 12:58:31 +02:00
Jacek Caban b95197ac19 mshtml: Added get_URL implementation. 2007-06-11 20:23:53 +02:00
Jacek Caban 54d2a44794 mshtml: Store current moniker in HTMLDocument. 2007-06-11 20:21:09 +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 b2f995a8d2 mshtml: Store editor controller in NSContainer. 2007-06-11 15:16:47 +02:00
Jacek Caban 52accda0fa mshtml: Set default fontname to 'Times New Roman'. 2007-06-11 15:16:08 +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 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 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
Andrew Talbot 0608054a6d mshtml: Constify some variables. 2007-05-31 13:27:28 +02:00
Jacek Caban 920f628c6e mshtml: Added IPersistStreamInit::Load implementation. 2007-05-11 13:25:02 +02:00
Jacek Caban 573d612de4 mshtml: Reimplement IHTMTxtRange on top of nsIDOMRange. 2007-05-10 12:14:21 +02:00
Jacek Caban 58a261b7d1 mshtml: Correctly handle utf-16 encoded pages. 2007-04-13 11:38:17 +02:00
Jacek Caban bdf2bf93a8 mshtml: Make load_gecko thread safe. 2007-02-14 14:42:34 +01:00
Jacek Caban 124cb44903 mshtml: Start binding asynchronously. 2007-02-12 13:43:20 +01:00
Jacek Caban f609a768e7 mshtml: Added nsACString_SetData function and use it instead of nsACString_Init when we return string value. 2006-12-14 12:51:16 +01:00
Jacek Caban 13f7784634 mshtml: Use HTMLWindow::alert in nsPromptService::Alert. 2006-12-12 20:11:56 +01:00
Jacek Caban fb4980d6a9 mshtml: Added get_parentWindow implementation. 2006-12-07 11:29:55 +01:00
Jacek Caban bc71685676 mshtml: Added handling of right and left arrow keys in editing mode. 2006-12-01 12:26:43 +01:00
Jacek Caban 958596b70a mshtml: Added Exec(IDM_FONTSIZE) implementation. 2006-11-24 11:50:58 +01:00
Jacek Caban 2f853fadb1 mshtml: Added semi-stub createStyleSheet implementation. 2006-11-17 15:50:32 +01:00
Jacek Caban 5a9980e1b7 mshtml: Store nsIDOMCSSStyleDeclaration in HTMLStyle. 2006-11-17 15:49:36 +01:00
Jacek Caban 5b1af5b7d1 mshtml: Added get_style implementation. 2006-11-17 15:49:30 +01:00
Jacek Caban 396b0ad126 mshtml: Added border implementation. 2006-11-13 12:52:05 +01:00
Jacek Caban 8ea593267c mshtml: Use popup menu from shdoclc.dll. 2006-11-10 11:34:35 +01:00
Jacek Caban d6108c6c24 mshtml: Added beginning of set_progress task implementation. 2006-11-02 21:03:01 +01:00
Jacek Caban 1a4c366f11 mshtml: Added begining implementation of IPersistStreamInit::Save. 2006-10-02 21:38:35 +02:00
Jacek Caban 8b125182c1 mshtml: Added get_readyState implementation. 2006-09-28 11:55: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 38b6665ae6 mshtml: Add SETDOWNLOADSTATE task implementation and use it in IPersistMoniker::Load. 2006-09-25 21:08:02 +02:00
Jacek Caban a14e2aaf97 mshtml: Create one "Internet Explorer_Hidden" window per thread. 2006-09-25 20:07:18 +02:00
Jacek Caban 5f9078040a mshtml: Added IDM_FONTNAME implementation. 2006-08-28 11:40:27 +02:00
Jacek Caban 593e897655 mshtml: Use IPropertyNotifySink connection point. 2006-08-23 11:58:45 +02:00
Jacek Caban 40f3ad06e9 mshtml: Rename get_property to get_client_disp_property and make it available for other files. 2006-08-17 11:20:48 +02:00
Jacek Caban 90c5baf069 mshtml: Added [Get|Set]ParentContentListener implementation. 2006-08-16 17:08:59 +02:00
Jacek Caban 1088164af3 mshtml: Remove no longer used get_nsIURI. 2006-08-14 11:44:16 +02:00
Jacek Caban aa760c8b1e mshtml: Store IMoniker in BSCallback. 2006-08-09 17:14:28 +02:00
Jacek Caban cba2e19409 mshtml: Create "Internet Explorer_Hidden" window. 2006-08-09 17:12:50 +02:00
Jacek Caban 3f05182335 mshtml: Load the page from moniker if we don't have nsIChannel. 2006-08-09 17:12:29 +02:00
Jacek Caban 9def0ca2a6 mshtml: Fix handling offset in BSCallback. 2006-08-04 11:58:52 +02:00
Dan Hipschman 99056d7e2a widl: Write forward declarations for coclass definitions. 2006-08-03 22:29:58 +02:00
Jacek Caban 82676b999d mshtml: Store HTMLElement pointer in HTMLTextContainer. 2006-08-01 18:34:39 +02:00
Jacek Caban 22cf1c9e4d mshtml: Wrap Heap* functions by inline functions. 2006-07-17 15:05:38 +02:00
Jacek Caban 6e8e19569a mshtml: Added createRange implementation. 2006-07-06 12:48:22 +02:00
Jacek Caban 489b0f50d5 mshtml: Added get_selection implementation. 2006-07-06 12:45:39 +02:00
Jacek Caban 346d5bc7d0 mshtml: Added beginning IDM_BROWSEMODE implementation. 2006-07-03 11:54:25 +02:00
Jacek Caban 7f617230a5 mshtml: Destroy connection points. 2006-06-26 13:49:31 +02:00
Jacek Caban 881653ccdc mshtml: Added stub implementation of HTMLLoadOptions. 2006-06-23 11:22:37 +02:00
Jacek Caban a2f715e536 mshtml: Move IOleCommandTarget implementation to separate file. 2006-06-20 20:38:31 +02:00
Jacek Caban f052845013 mshtml: Added IPropertyNotifySink connection point. 2006-06-20 20:37:25 +02:00
Jacek Caban c562d4926e mshtml: Added Wine Gecko installer. 2006-06-16 16:03:57 +02:00
Jacek Caban 56bb028611 mshtml: Use mime type reported by moniker if possible. 2006-06-03 11:54:07 +02:00
Jacek Caban 93fe34ee68 mshtml: Added beginning OnDataAvailable implementation. 2006-06-03 11:53:43 +02:00
Jacek Caban f1d2e37655 mshtml: Set binding channel, listener and context in AsyncOpen. 2006-06-03 11:50:45 +02:00
Jacek Caban e0157ba201 mshtml: Store BSCallback in NSContainer and use it instead of load_call. 2006-06-03 11:48:59 +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
Jacek Caban 08ae32e43a mshtml: Get rid of (currently disabled anyway) nsIWebBrowserStream.
We have to handle it in another way.
2006-06-03 11:46:35 +02:00
Jacek Caban 5f3d7f0d94 mshtml: The secret interface is CMarkup. Improve FIXMEs. 2006-05-25 10:37:46 +02:00
Jacek Caban 78b7286eba mshtml: Added stub implementation of IPersistStreamInit. 2006-05-24 10:03:21 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Jacek Caban 1cfcbb3010 mshtml: Added stub implementation of connection points. 2006-05-05 17:27:32 +02:00
Jacek Caban 570a1c4eea mshtml: Added IConnectionPointContainer stub implementation. 2006-05-05 17:22:44 +02:00
Jacek Caban d7f881f715 mshtml: Added IHTMLTextContainer stub implementation. 2006-05-05 17:18:40 +02:00
Jacek Caban 5f009f2540 mshtml: Added tooltip implementation. 2006-03-27 21:41:52 +02:00
Jacek Caban ed10e5046c mshtml: Added IHTMLElement2 implementation. 2006-03-24 12:14:04 +01:00
Jacek Caban dbd582cf84 mshtml: Optimize nsACString handling. 2006-03-20 12:05:50 +01:00
Jacek Caban 3d9d384486 mshtml: Better QueryInterface implementation. 2006-03-20 12:05:01 +01:00
Jacek Caban 26b9c5e022 mshtml: Added IHTMLBodyElement implementation. 2006-03-09 12:49:19 +01:00
Jacek Caban 8f897239c4 mshtml: Added IHTMLTextAreaElement implementation. 2006-03-07 10:51:12 +01:00
Jacek Caban 54cce2e7ce mshtml: Added IHTMLSelectElement implementation. 2006-03-07 10:49:12 +01:00
Jacek Caban 8b3eab6e35 mshtml: Added IHTMLInputElement implementation. 2006-03-07 10:45:48 +01:00
Jacek Caban 3d68599355 mshtml: Added IHTMLElementCollection::tags implementation. 2006-03-07 10:40:27 +01:00
Jacek Caban 874fd57841 mshtml: Added IHTMLElement implementation. 2006-03-06 11:33:43 +01:00
Jacek Caban 54036bf6ef mshtml: Added IHTMLDOMNode implementation. 2006-03-06 11:12:29 +01:00
Jacek Caban d656f996f1 mshtml: Beginning support for links opened in a new frame. 2006-03-02 11:42:06 +01:00
Jacek Caban 91369e20e7 mshtml: Added nsIInterfaceRequestor implementation. 2006-02-28 12:00:12 +01:00
Jacek Caban 7466169034 mshtml: Create nsIChannel for protocols not handled by Gecko. 2006-02-20 11:13:37 +01:00
Jacek Caban 4b511edf8d mshtml: Added hack to allow pass post data to IPersistMoniker::Load. 2006-02-15 11:52:33 +01:00
Jacek Caban 4acea60922 mshtml: Added ref counting to NSContainer.
- Added ref counting to NSContainer.
- Better destroying of NSContainer.
2006-02-15 11:51:44 +01:00
Jacek Caban cb880d7cc7 mshtml: Handle IHlinkFrame service. 2006-02-13 13:26:00 +01:00
Jacek Caban 990e20c992 mshtml: Get rid of HTMLDocument_OnLoad and move its job to AsyncOpen. 2006-02-09 12:19:33 +01:00
Jacek Caban 1b31475fdb mshtml: Added wrapper of nsIURI interface. 2006-02-09 12:18:18 +01:00
Jacek Caban 7080c8d98e mshtml: Better ns*String handling. 2006-02-09 12:17:38 +01:00
Jacek Caban 8aeb049341 mshtml: Added wrapper of nsIOService. 2006-02-09 12:17:08 +01:00
Jacek Caban 7f7e94d331 mshtml: Added IHTMLDocument3 stub implementation. 2005-12-12 11:51:43 +01:00
Jacek Caban 3fab5312d8 mshtml: Added PromptService implementation. 2005-12-09 11:51:02 +01:00
Jacek Caban 37b1a456d7 mshtml: Added nsIEmbeddingSiteWindow implementation. 2005-12-09 11:23:58 +01:00
Jacek Caban c75127c5b9 Beginning implementation of onload routine. 2005-09-02 12:19:42 +00:00
Jacek Caban 48c80f3b77 Added IHlinkTarget interface. 2005-08-27 09:25:56 +00:00
Jacek Caban eb52044ee8 Beginning implementation of Gecko focus handling. 2005-08-26 10:05:52 +00:00
Jacek Caban 5cb0fcf1e1 - Beginning implementation of context menu.
- Set nsIWebBrowserChrome of nsIWebBrowser.
2005-08-25 19:24:58 +00:00
Jacek Caban 306bd05f99 - Call LockContainer only if it's not already locked/unlocked.
- Only return S_OK in SetClientSite if IOleClientSite is not changed.
2005-08-22 14:07:49 +00:00
Jacek Caban 76cc9f2207 Activate window in IOleDocumwnrView::Show. 2005-08-15 09:41:30 +00:00
Jacek Caban cdf02acdca Use nsIWebBrowserStream to load html. 2005-08-11 18:36:48 +00:00
Jacek Caban d8bf6e8aa4 Move includes of interfaces to mshtml_private.h. 2005-08-11 10:30:30 +00:00