Commit Graph

87 Commits

Author SHA1 Message Date
Jacek Caban 1dc502c5b4 mshtml: Pass node as an object to fire_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:44 +09:00
Jacek Caban 80ea5a01ef mshtml: Use script versioning 2 if we're not in quirks mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 23:41:00 +09:00
Jacek Caban f26597753a mshtml: Pass EventTarget to set_event_handler. 2015-05-15 18:05:46 +09:00
Jacek Caban 2f4e85abb8 mshtml: Make HTMLInnerWindow inherit from EventTarget. 2015-05-15 18:05:37 +09:00
Jacek Caban f908f03cd9 mshtml: Added new EventTarget struct representing event targets. 2015-05-15 18:05:27 +09:00
Jacek Caban 7c85ed6aab mshtml: Fixed binding event scripts to window objects. 2015-04-20 14:37:33 +09:00
Jacek Caban 81c13caf37 mshtml: Increment ref count in QI(IID_HTMLPluginContainer) call. 2015-04-13 20:27:31 +09:00
Jacek Caban 127aa62a70 mshtml: Use document encoding for scripts. 2014-12-30 15:57:43 +01:00
Jacek Caban f4b6852278 mshtml: Delay onreadystateevent notification if script elemenet is not added by parser. 2014-12-24 14:31:13 +01:00
Jacek Caban f5e3281a80 mshtml: Wine Gecko 2.34 release. 2014-11-03 20:52:52 +09:00
Jacek Caban d11abc0992 mshtml: Added support for onreadystatechange event for script elements. 2014-10-09 17:37:12 +02:00
Jacek Caban 8a9d4cf147 mshtml: Use IUri for script binding. 2014-10-09 17:37:10 +02:00
Jacek Caban 87efdc3047 mshtml: Moved script binding callback to script.c. 2014-10-09 17:37:06 +02:00
Jacek Caban 013b403c58 mshtml: Don't assume that nsIDOMHTMLScriptElement inherits from nsIDOMHTMLElement in get_script_guid. 2014-10-02 16:58:58 +02:00
Qian Hong d62f0f5e63 mshtml: Don't pass NULL string pointer to jscript engine. 2014-09-23 13:02:22 +02:00
Jacek Caban 39e24713e9 mshtml: Added new helper for getting element attribute value and use it in script.c. 2014-06-11 13:04:04 +02:00
Vijay Kiran Kamuju 66c1a099aa mshtml: Add text/jscript as valid mime type for javascript files. 2014-03-25 19:01:28 +01:00
Jacek Caban 5cdb4a273e mshtml: Added support for 'document' and 'window' script for attribute values. 2013-10-01 19:07:18 +02:00
Jacek Caban 07e72de9a4 mshtml: Get rid of PRUint32 outside XPCOM C API. 2013-01-23 20:47:25 +01:00
Jacek Caban ba521ffcb7 mshtml: Don't check if script element was already parsed in doc_insert_script. 2013-01-15 14:38:50 +01:00
Jacek Caban 36a47dd0f2 mshtml: Added SID_SContainerDispatch support. 2012-12-06 20:31:29 +01:00
Jacek Caban 4638fbf167 mshtml: Properly handle OOM errors in script.c (coverity). 2012-10-19 12:20:01 +02:00
Jacek Caban ccbee09f7e mshtml: Added support for IHTMLScriptElement::put_src calls during parser callback. 2012-10-16 20:40:58 +02:00
Jacek Caban 51b701c3ad mshtml: Moved HTMLScriptElement declaration to separated header. 2012-10-16 20:40:28 +02:00
Jacek Caban 0ae458cc94 mshtml: Wine Gecko 1.8 release. 2012-10-09 18:32:24 +02:00
Jacek Caban 94f3eaacf2 mshtml: Use proper type for parse_proc. 2012-10-04 16:29:30 +02:00
Jacek Caban eda756dbb5 mshtml: Added support for binding ActiveX events with script event attribute. 2012-10-03 18:16:52 +02:00
Jacek Caban d40b1ae8dc mshtml: Added support for script 'for' and 'event' attributes. 2012-10-02 16:01:43 +02:00
Jacek Caban 4503edd614 mshtml: Store information if script was already parsed in script element object. 2012-10-02 16:01:35 +02:00
Jacek Caban 60c9069f80 mshtml: Defer event script evaluation. 2012-10-02 16:01:22 +02:00
Jacek Caban d531c9ec2f mshtml: Added IActiveScriptSiteUIControl implementation. 2012-09-26 14:43:23 +02:00
Jacek Caban c9e6a96318 mshtml: Added better IActiveScriptSiteWindow implementation. 2012-09-26 14:43:19 +02:00
Jacek Caban 156e94429d mshtml: Use first script host's GUID as default script guid. 2012-09-10 11:51:52 +02:00
Jacek Caban 1b2525d1bf mshtml: Default to previous script type if not given. 2012-08-13 11:52:32 +02:00
Jacek Caban 73984d4da8 mshtml: Moved conversion to unicode of buffers from binding to navigate.c. 2012-07-27 17:05:24 +02:00
Jacek Caban 6d2902f680 mshtml: Use inline wrappers and fixed found warnings. 2012-07-26 13:40:40 +02:00
Jacek Caban 8bb4a6b3ea mshtml: Simplify ASServiceProvider_QueryService. 2012-07-11 10:00:29 -05:00
Jacek Caban 94f0f884fd mshtml: Moved binding list to HTMLInnerWindow. 2012-07-11 10:00:26 -05:00
Jacek Caban d9efd6a44d mshtml: Use inner window as script global object. 2012-06-26 17:06:11 +02:00
Jacek Caban bb02767f15 mshtml: Moved script_hosts from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:21 +02:00
Jacek Caban 79356c65c1 mshtml: Moved document node from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:19 +02:00
Jacek Caban 08964ede45 mshtml: Added separated types for outer and inner HTML windows. 2012-06-25 17:45:19 +02:00
Jacek Caban 3a268796b8 mshtml: Added support for text/vbscript script type. 2011-09-02 14:42:57 +02:00
Jacek Caban 7891fc45d3 mshtml: Removed duplicated includes. 2011-08-03 14:15:49 +02:00
Jacek Caban ddf46bbe9f mshtml: Moved script mode out of get_script_host to allow exec_script calls in Gecko script mode. 2011-07-24 12:32:41 +02:00
Michael Stefaniuc f341ed11e2 mshtml: COM cleanup for the IActiveScriptSite* ifaces. 2011-01-04 11:13:23 +01:00
Michael Stefaniuc e5214b24bb mshtml: Use ifaces instead of vtbl pointers in HTMLDocumentNode. 2011-01-03 12:14:26 +01:00
Michael Stefaniuc 2e24de635d mshtml: COM cleanup for the IHTMLWindow2 iface. 2010-12-27 15:39:40 +01:00
Michael Stefaniuc 389a7f547e mshtml: COM cleanup for all the IServiceProvider ifaces. 2010-12-27 11:51:18 +01:00
Jacek Caban e560a2246f mshtml: Added IHTMLWindow2::execScript implementation. 2010-11-09 14:21:25 +01:00