Commit Graph

86 Commits

Author SHA1 Message Date
Jacek Caban 300c64603f mshtml: Return element as ndIDOMElement from create_nselem.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 11:02:41 +01:00
Jacek Caban 339a5156f7 mshtml: Use nsIDOMElement instead of nsIDOMHTMLElement in get_font_size.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 11:02:36 +01:00
Jacek Caban 3cac8d223b mshtml: Pass element as nsIDOMElement to get_elem_attr_value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 11:02:31 +01:00
Jacek Caban 52a5acaefb mshtml: Store task_magic in HTMLDocumentObj instead of HTMLDocument.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-23 21:17:21 +01:00
Jacek Caban 3dd152dc59 mshtml: Pass document as HTMLDocumentObj to update_doc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-22 18:29:37 +01:00
Michael Stefaniuc 85916a10ad mshtml: Use SetRectEmpty() instead of memset().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-01 09:44:58 -05:00
Jacek Caban 3a16c8bbca mshtml: Wine Gecko 2.47 release.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 13:43:54 +09:00
Jacek Caban 17c91f607c mshtml: Share OLECMDID_SELECTALL implementation with IDM_SELECTALL. 2015-02-23 21:45:58 +09:00
Jacek Caban 07751840ac mshtml: Use proper type for text node in exec_hyperlink. 2014-09-30 17:37:00 +02:00
Jacek Caban 3efaaacf3c mshtml: Use get_elem_attr_value helper in get_font_size. 2014-06-11 13:04:11 +02:00
Jacek Caban cf6288e2ab mshtml: Moved exec_editmode implementation to a helper function in editor.c. 2013-04-23 15:35:02 +02:00
Hans Leidekker e15a923a0a mshtml: Don't append slashes to opaque protocol identifiers. 2013-03-28 12:17:49 +01:00
Jacek Caban 07e72de9a4 mshtml: Get rid of PRUint32 outside XPCOM C API. 2013-01-23 20:47:25 +01:00
Jacek Caban cef2907da7 mshtml: Get rid of PRUint16 type. 2013-01-23 20:47:23 +01:00
Jacek Caban cf2a24df07 mshtml: Get rid of remaining PRInt32 usage. 2013-01-18 14:46:42 +01:00
Jacek Caban 6d2902f680 mshtml: Use inline wrappers and fixed found warnings. 2012-07-26 13:40:40 +02:00
Jacek Caban 21f5ef2808 mshtml: Improved more VARIANT debug traces. 2012-03-28 14:56:39 +02:00
Jacek Caban 4983a663a5 mshtml: Get rid of remaining PRBool usages. 2012-03-15 19:54:56 +01:00
Jacek Caban 2e5f73e4d7 mshtml: Wine Gecko 1.4 release. 2011-11-09 19:31:13 +01:00
Jacek Caban 7891fc45d3 mshtml: Removed duplicated includes. 2011-08-03 14:15:49 +02:00
Jacek Caban 3d3f223a71 mshtml: Use QueryCommandState to get align state. 2010-08-18 15:32:03 +02:00
Jacek Caban 7cdad62b97 mshtml: Improved focus handling. 2010-04-13 21:12:08 +02:00
Jacek Caban 456e53bcf9 mshtml: Optimize more nsAString handling. 2010-01-29 13:30:08 +01:00
Jacek Caban deef140186 mshtml: Moved readystate to HTMLWindow. 2009-11-03 21:25:20 +01:00
Jacek Caban f9eff68891 mshtml: Moved nsdoc to HTMLDocumentNode object. 2009-10-22 10:41:22 +02:00
Jacek Caban fa1388355f mshtml: Use create_nselem in exec_hyperlink. 2009-10-20 14:15:56 +02:00
Jacek Caban 6f48c43581 mshtml: Use create_nselem in set_font_size. 2009-10-20 14:15:52 +02:00
Jacek Caban 05d199474b mshtml: Move readystate to HTMLDocumentObj. 2009-09-17 09:42:02 -05:00
Jacek Caban 56b69dff4a mshtml: Moved usermode to HTMLDocumentObj. 2009-09-17 09:41:56 -05:00
Jacek Caban b827996515 mshtml: Moved NSContainer to HTMLDocumentObj. 2009-09-17 09:40:35 -05:00
Marcus Meissner 635ec22e4b mshtml: Fixed second buffer argument to MultiByteToWideChar. 2009-02-05 13:12:44 +01:00
Jacek Caban 7af33293a4 mshtml: Pass window to GetCommandState and DoCommand. 2008-12-22 10:29:19 +01:00
Marcus Meissner 521eafdec0 mshtml: Fixed reversed NULl check. 2008-10-31 13:06:47 +01:00
Jacek Caban 7c7b7f0ae7 mshtml: Use stored nsdoc in exec_hyperlink. 2008-10-09 12:27:36 +02:00
Jacek Caban 23937c4704 mshtml: Use stored nsdoc in set_font_size. 2008-10-09 12:27:27 +02:00
Jacek Caban d02c37aa4e mshtml: Remove unneeded includes. 2008-04-07 13:36:17 +02:00
Austin English f4c4488df8 Spelling fixes. 2008-04-07 13:36:17 +02:00
Jacek Caban c94e646fc1 mshtml: Fixed invalid use of -1 length in WideCharToMultiByte calls. 2008-03-26 23:38:36 +01:00
Jacek Caban 45b862d5ca mshtml: Don't mix nsresult with HRESULT. 2008-02-18 12:57:10 +01:00
Rob Shearman 5209ed0c5e mshtml: Fix inserting a hyperlink when text is already selected.
There is no need to use cmd_insertLinkNoUI when we have the code to do 
most of the action anyway. Make use of the handy 
InsertLinkAroundSelection to insert the "a" element when not inserting 
at the caret and don't create a text node in this case because it is 
redundant.
2008-02-11 19:55:18 +01:00
Jacek Caban c58ca1312c mshtml: Handle fClearDirty flag in IPersistStreamInit::Save. 2008-01-10 13:20:23 +01:00
Jacek Caban 559649c443 mshtml: Remove not used argument in nsAString_GetData. 2007-12-17 11:49:19 +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 2702dfffbf mshtml: Always initialize output in exec_fontname. 2007-11-20 13:20:57 +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 a1e554739e mshtml: Added IDM_SETDIRTY implementation. 2007-11-09 12:54:14 +01:00
Jacek Caban 99e6592c9d mshtml: Move most code from handle_editor_load to exec_editmode. 2007-10-09 12:34:35 +02:00
Gerald Pfeifer 47032fd07c mshtml: Removed unused function get_child_text_node(). 2007-10-02 12:28:09 +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