Commit Graph

242 Commits

Author SHA1 Message Date
Jacek Caban c8bb048b1a mshtml: Abstract BSCallback implementation. 2008-03-24 11:37:01 +01:00
Jacek Caban a7caae9540 mshtml: Move BSCallback declaration to navigate.c. 2008-03-24 11:36:34 +01:00
Jacek Caban 5a04f526ad mshtml: Added new nsChannelBSC type. 2008-03-24 11:36:28 +01:00
Jacek Caban 979b42d749 mshtml: Don't access BSCallback directly in nsembed.c. 2008-03-24 11:36:20 +01:00
Jacek Caban f792ada40f mshtml: Don't access BSCallback directly in nsio.c. 2008-03-24 11:36:14 +01:00
Jacek Caban b84626bdf0 mshtml: Added IHTMLDocument2::write implementation. 2008-03-10 11:22:11 +01:00
Jacek Caban df294844a4 mshtml: Added IHTMLScriptElement stub implementation. 2008-03-03 12:27:50 +01:00
Jacek Caban 814e07d8e8 mshtml: Update wine_url in nsIURI::SetPath. 2008-02-04 13:17:48 +01:00
Jacek Caban c58ca1312c mshtml: Handle fClearDirty flag in IPersistStreamInit::Save. 2008-01-10 13:20:23 +01:00
Jacek Caban 7514283d73 mshtml: Added PutProperty implementation. 2008-01-02 11:46:08 +01:00
Jacek Caban 82a199bcee mshtml: Use IBindCtx passed to Load in BindToStorage call. 2007-12-24 16:34:28 +01:00
Jacek Caban 559649c443 mshtml: Remove not used argument in nsAString_GetData. 2007-12-17 11:49:19 +01:00
Jacek Caban 72d0971034 mshtml: Remove not used argument of nsACString_GetData. 2007-12-17 11:49:12 +01: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 cd68aacbbc mshtml: Move HTMLTextContainerEvents connection point to HTMLTextContainer object. 2007-12-04 18:17:21 +01:00
Jacek Caban 2bcd1f0e9e mshtml: Added IConnectionPointContainer iface to all HTMLElement objects. 2007-12-04 18:17:17 +01:00
Jacek Caban a9e77575b3 mshtml: Initialize HTMLElement in the beginning of constructors. 2007-12-04 18:17:13 +01:00
Jacek Caban a1bdef2d62 mshtml: Make IConnectionPointContainer more flexible. 2007-12-04 18:17:08 +01:00
Jacek Caban 77ee756c91 mshtml: Added IHTMLTable interface stub implementation. 2007-11-30 14:21:13 +01:00
Jacek Caban 4b302f9c89 mshtml: Store nsIDOMCSSStyleSheet in HTMLStyleSheet object if available. 2007-11-26 12:35:33 +01:00
Jacek Caban 3f444cae92 mshtml: Move IOleInPlaceFrame::SetActiveObject call to separated function. 2007-11-20 13:20:52 +01:00
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