Commit Graph

99 Commits

Author SHA1 Message Date
Michael Stefaniuc 4618a0a38a mshtml: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-25 21:39:18 +01:00
Michael Stefaniuc 33de9b1475 mshtml: Use wide-char string literals for PRUnichar strings.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-24 16:53:52 +01:00
Jacek Caban 4873dd49aa mshtml: Fix checks for digit characters.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 23:04:35 +01:00
Alexandre Julliard 5182813ae0 mshtml: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 14:34:51 +02:00
Jacek Caban 3f79f129ff mshtml: Move init_editor to HTMLDocumentNode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:15 +01:00
Jacek Caban 496abd052e mshtml: Get rid of handle_edit_load.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:12 +01:00
Jacek Caban 34c84fd1a0 mshtml: Move cmdtable_t to HTMLDocumentNode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:09 +01:00
Jacek Caban b384f5b3a4 mshtml: Move do_ns_command to HTMLDocumentNode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:05 +01:00
Jacek Caban 1ea4924e46 mshtml: Move IsDirty implementation to GeckoBrowser.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:02 +01:00
Jacek Caban 53e095c2e8 mshtml: Pass document node to handle_edit_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:58 +01:00
Jacek Caban aa4d9190a0 mshtml: Move user mode to GeckoBrowser.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:53 +01:00
Jacek Caban eca21a38c1 mshtml: Rename NSContainer to GeckoBrowser.
Long term plan is to move parts of HTMLDocumentObj to GeckoBrowser and
split them in a way allowing them to run in different threads. This is
needed to move Gecko-related tasks into a separated thread to workaround
Gecko main thread limitation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:40 +01:00
Michael Stefaniuc cfe8651c91 mshtml: Remove useless casts to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 18:42:42 +01:00
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