Commit Graph

82 Commits

Author SHA1 Message Date
Jacek Caban 69af9a4c9d mshtml: Get rid of no longer needed document argument in get_node.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +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 fd2f645d16 mshtml: Moved dispex_data_t pointer to the end of dispex_static_data_t struct.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:45 +09:00
Jacek Caban 386042fbdf mshtml: Return NULL instead of empty string in get_node_text.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:09:56 +09:00
Nikolay Sivov f8e3c1f712 mshtml: Use VARIANT_TRUE instead of TRUE when appropriate (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-19 20:58:24 +09:00
Jacek Caban 00d36ac945 mshtml: Use new range point representation in all cases. 2014-12-29 22:20:29 +01:00
Jacek Caban 4ef4ebaac7 mshtml: Use new end point representation in IHTMLTxtRange::expand("word") implementation. 2014-12-29 22:20:29 +01:00
Jacek Caban 26dd5f5672 mshtml: Reimplemented IHTMLTxtRange::moveStart using new range point representation. 2014-12-29 22:20:29 +01:00
Jacek Caban 3944fada4b mshtml: Introduced new representation of range point and use that in range_to_string instead of trying to iterate by nodes. 2014-12-29 22:20:29 +01:00
Jacek Caban 20b3aa6244 mshtml: Added IHTMLTxtRange::setEndPoint implementation. 2014-11-25 19:49:28 +01:00
Jacek Caban e567f309bf mshtml: Added IHTMLTxtRange::pasteHTML implementation. 2014-11-13 16:28:58 +09:00
Jacek Caban 41e3de93c3 mshtml: Added IHTMLTxtRange::moveToElementText implementation. 2014-11-13 16:27:50 +09:00
Jacek Caban dcfa250cd2 mshtml: Added IDispatchEx support to HTMLTxtRange object. 2014-11-11 19:38:58 +09: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 f071d9b3c1 mshtml: Get rid of PRInt16 type. 2013-01-18 14:46:43 +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 7ebcb1820e mshtml: Keep reference in node returned from get_node. 2012-06-25 17:45:18 +02:00
Jacek Caban 4983a663a5 mshtml: Get rid of remaining PRBool usages. 2012-03-15 19:54:56 +01:00
Jacek Caban 7891fc45d3 mshtml: Removed duplicated includes. 2011-08-03 14:15:49 +02:00
Michael Stefaniuc f653f4a22e mshtml: COM cleanup for the IHTMLDOMNode iface. 2010-12-30 12:21:53 +01:00
Michael Stefaniuc 4b37d5c72b mshtml: COM cleanup for the IHTMLTxtRange iface. 2010-12-29 11:59:35 +01:00
Michael Stefaniuc 541a49edc2 mshtml: COM cleanup for all the IOleCommandTarget ifaces. 2010-12-27 11:51:25 +01:00
Jacek Caban 6a1f4eb724 mshtml: Improved error handling in get_node calls. 2010-12-01 16:29:38 +01:00
Jacek Caban 4b5dcc9e6b mshtml: Optimize more nsAString handling. 2010-01-29 14:59:02 +01:00
Marcus Meissner 5013c4d96e mshtml: Check for NULL return from allocations. 2009-12-02 13:16:45 +01:00
Jacek Caban f9eff68891 mshtml: Moved nsdoc to HTMLDocumentNode object. 2009-10-22 10:41:22 +02:00
Jacek Caban f1bb67222e mshtml: Use create_nsdoc in exec_indent. 2009-10-20 14:16:01 +02:00
Jacek Caban 64d4efe967 mshtml: Move node list to HTMLDocumentNode. 2009-09-17 09:47:53 -05:00
Jacek Caban d460c67305 mshtml: Moved range_list to HTMLDocumentNode object. 2009-09-17 09:41:43 -05:00
Jacek Caban d3e6bf64ec mshtml: Use stored nswindow in IHTMLTxtRange::select. 2009-09-17 09:40:22 -05:00
Michael Stefaniuc 2d83c1d7e3 mshtml: Replace long with LONG.
This are internal helper functions; the API functions that use them
already use LONG.
2009-06-03 11:35:10 +02:00
Michael Stefaniuc cb133a12d0 mshtml: Change long to LONG in mshtml.idl (remaining stuff). 2009-03-12 13:09:54 +01:00
Jacek Caban 3fc0c73159 mshtml: Fixed increasing buffer size logic in text range implementation. 2008-10-14 11:24:32 +02:00
Jacek Caban d05e328db2 mshtml: Added IHTMLElement::get_innerText implementation. 2008-10-14 11:24:25 +02:00
Jacek Caban 8423450ccf mshtml: Use stored nsdoc in exec_indent. 2008-10-10 12:54:58 +02:00
Jacek Caban 08efe6de3e mshtml: Use stored nsdoc in IHTMLTxtRange::expand. 2008-10-10 12:54:53 +02:00
Jacek Caban e5604b7ba3 mshtml: Use stored nsdoc in IHTMLTxtRange::put_text. 2008-10-09 12:28:52 +02:00
Jacek Caban 16f2965eb9 mshtml: Use stored nsdoc in prev_node. 2008-10-09 12:28:48 +02:00
Zac Brown 332733a43b mshtml: Initialize variables in a couple structs. 2008-06-25 10:39:07 +02:00
Andrew Talbot 3d42a0ee65 mshtml: Remove unused function. 2008-05-20 15:43:54 +02:00
Jacek Caban 625ed3d0aa mshtml: Added possibility to get node object from nsIDOMNode only if available. 2008-04-18 13:57:14 +02:00
Jacek Caban d02c37aa4e mshtml: Remove unneeded includes. 2008-04-07 13:36:17 +02:00
Jacek Caban d992735dcc mshtml: Fixed bound_pos handling in move_prev_chars. 2008-02-11 19:57:39 +01:00
Jacek Caban 9f877fec9d mshtml: hr element is not a space element for moving functions. 2008-02-11 19:57:34 +01:00
Jacek Caban 0bc9f9a7d5 mshtml: Fixed hr element handling in range object. 2008-01-11 12:26:22 +01:00
Jacek Caban 62b8439484 mshtml: Don't assume that end_pos.node is text node in range_to_string. 2008-01-04 12:01:06 +01:00
Jacek Caban 559649c443 mshtml: Remove not used argument in nsAString_GetData. 2007-12-17 11:49:19 +01:00
Jacek Caban f5a8a450b2 mshtml: Added HTMLTxtRange::Exec(IDM_INDENT) implementation. 2007-12-06 14:52:33 +01:00