Commit Graph

98 Commits

Author SHA1 Message Date
Nikolay Sivov 892d2e8c29 mshtml: Fix some IUri leaks (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:07 -06:00
Nikolay Sivov 8fbaeb3058 mshtml: Formatting change to get rid of warning on GCC 6.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:09:28 +09:00
Jacek Caban b1f4bf1d7d mshtml: Load dynamically created script elements asynchronously.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:12 +09:00
Jacek Caban 8ccc38cb55 mshtml: Set interactive script ready state change in the right places.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:10 +09:00
Jacek Caban 3a85711a98 mshtml: Set loaded script ready state if binding failed.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:08 +09:00
Jacek Caban 5b1affa446 mshtml: Moved script execution logic from HTMLScriptElement::put_src to script BSC.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:06 +09:00
Jacek Caban eeb075dd0e mshtml: Merge parse_extern_script and bind_script.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:04 +09:00
Jacek Caban f73f884884 mshtml: Store external script text in HTMLScriptElement object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:01 +09:00
Jacek Caban 718a415aa1 mshtml: Moved parsing external script to OnStopBinding callback.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:02:59 +09:00
Jacek Caban 2dd15b59d1 mshtml: Moved getting text from ScriptBSC to separated function.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:02:57 +09:00
Nikolay Sivov 3ea8a700f7 mshtml: Fix a typo in a trace message.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 22:10:31 +09:00
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