Commit Graph

119 Commits

Author SHA1 Message Date
Zebediah Figura 3dde8287c6 vbscript: Add stub IActiveScriptDebug interface.
Visual Pinball 9.9.5 expects this interface to be present, and crashes
on teardown trying to Release() it.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 21:58:02 +02:00
Jacek Caban 7e10941083 vbscript: Added support for script context in ParseScriptText.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 12:35:11 +01:00
Jacek Caban aa5b68ac40 vbscript: Split named item lookup into a helper function.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 12:35:11 +01:00
Michael Stefaniuc 6ab10f2eb0 vbscript: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-29 20:28:59 +01:00
Piotr Caban a85d12af44 vbscript: Add support for "for each" on arrays.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-08 20:21:52 +01:00
Francois Gouget 8ab8a92d75 vbscript: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
And standardize their parameter names.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 13:15:46 +01:00
Jacek Caban 0de7b95c37 vbscript: Added a helper for getting default IDispatch value. 2015-03-06 00:02:08 +09:00
Jacek Caban 571b09ce42 vbscript: Pass DISPATCH_PROPERTYPUTREF flag to InvokeEx when apropriate. 2015-03-03 23:16:48 +09:00
Jacek Caban 3873c93891 vbscript: Allow omitting optional function parameters in call expressions. 2015-01-28 21:30:10 +01:00
Shuai Meng 7a768ff1a9 vbscript: Implemented ScriptEngineMinorVersion. 2014-08-08 19:15:57 +02:00
Shuai Meng 9c92e96cf0 vbscript: Implemented ScriptEngineMajorVersion. 2014-08-08 19:15:55 +02:00
Shuai Meng f3f0972ddb vbscript: Inplemented ScriptEngineBuildVersion. 2014-08-08 19:15:53 +02:00
Jacek Caban d2886a05f9 wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations. 2014-07-24 17:05:55 +02:00
Shuai Meng 0b13d721c2 vbscript: Implemented Sgn. 2014-07-11 12:19:20 +02:00
Jacek Caban ccf1567555 vbscript: Map some known error codes to vbscript errors.
Special thanks to Eric Lippert for the list of such errors.
2014-03-27 14:53:04 +01:00
Jacek Caban fc0ef22a44 vbscript: Added support for exception unwinding. 2014-03-21 16:51:23 +01:00
Jacek Caban f123556f07 vbscript: Allow creating RegExp object by new expression. 2014-03-18 16:10:38 +01:00
Jacek Caban 70628f80c0 vbscript: Directly access 'this' object properties in interpreter. 2014-03-07 14:34:47 +01:00
Jacek Caban 82cace0f0e vbscipt: Added beginning support for arrays as class members. 2014-03-07 14:34:40 +01:00
Jacek Caban 79c55e1255 vbscript: Added support for getting array elements. 2013-11-13 18:31:04 +01:00
Jacek Caban fc713bfc12 vbscript: Added bytecode support for arrays. 2013-11-13 18:30:55 +01:00
Jacek Caban 5f3c38ed61 vbscipt: Added string constants. 2013-02-27 19:23:17 +01:00
Piotr Caban 4b0f475344 vbscript: Added RegExp2::Test implementation. 2013-02-19 19:50:51 +01:00
Piotr Caban fb29bf7d2f vbscript: Rename vbsheap to heap_pool. 2013-02-15 16:26:30 +01:00
Piotr Caban 08a16a2876 vbscript: Added partial implementation of IDispatch methods in IRegExp2. 2013-02-15 16:26:25 +01:00
Piotr Caban 63d27b5420 vbscript: Added IRegExp2 stub. 2013-02-15 16:26:10 +01:00
Jacek Caban 290f563199 vbscript: Added support for HTML comments. 2012-10-18 19:21:24 +02:00
Jacek Caban 1fc2896c7c vbscript: Added VT_R8 support to to_int. 2012-09-26 14:42:15 +02:00
Jacek Caban 40001df45d vbscript: Added ScriptDisp::GetDispID implementation. 2012-09-07 16:44:29 +02:00
Jacek Caban 8121f73273 vbscript: Use separated IDispatchEx implementation for script dispatch. 2012-09-07 16:44:21 +02:00
Jacek Caban cf0faf1d3c vbscript: Added IActiveScriptParseProcedure2::ParseProcedureText implementation. 2012-09-06 18:23:39 +02:00
Jacek Caban 9e3f75cfb1 vbscript: Renamed vbscode_t's variables to not suggest that they are global code-only. 2012-09-06 18:23:39 +02:00
Jacek Caban f17aaf8da7 vbscript: Added compiler support for select case statement. 2012-07-20 21:30:04 +02:00
Jacek Caban 44266442ed vbscript: Added interpreter and compiler support for for each loops. 2012-07-03 17:11:57 +02:00
Jacek Caban 732abbbcc3 vbscript: Added parameterized assign identifier statement support. 2012-03-26 18:15:16 +02:00
Jacek Caban edd5ca71b2 vbscript: Added compiler support for parametrized assignment statements. 2011-12-27 17:07:31 +01:00
Jacek Caban 6f0e215fb5 vbscript: Properly release global variables. 2011-10-14 20:26:43 +02:00
Marcus Meissner b77770d589 vbscript: Mark some symbols as hidden. 2011-10-03 15:51:10 -05:00
Jacek Caban d339a0b443 vbscript: Added support for IObjectWithSite in create_object. 2011-09-22 17:24:42 +02:00
Jacek Caban 0d039cc6eb vbscript: Added CreateObject implementation. 2011-09-22 17:24:37 +02:00
Jacek Caban 8244e4c0c7 vbscript: Added for..to statement compiler implementation. 2011-09-22 16:33:08 +02:00
Jacek Caban 6cbf3e3b3c vbscript: Added interp_const implementation. 2011-09-21 14:47:34 +02:00
Jacek Caban a968166224 vbscript: Added const statement compiler implementation. 2011-09-21 14:47:30 +02:00
Jacek Caban 4c23c99901 vbscript: Added support for undeclared variables in non-explicit mode. 2011-09-20 16:21:43 +02:00
Jacek Caban 6afc32c97d vbscript: Added On Error statement parser implementation. 2011-09-19 18:32:50 +02:00
Jacek Caban eef966faf7 vbscript: Added ME expression parser implementation. 2011-09-19 18:32:50 +02:00
Jacek Caban 13d8e7b853 vbscript: Added error object stub implementation. 2011-09-19 18:32:50 +02:00
Jacek Caban 4e9d29907c vbscript: Added global object's isObject function stub implementation. 2011-09-19 18:32:35 +02:00
Jacek Caban 2de6982f46 vbscript: Added is expression implementation. 2011-09-19 18:00:01 +02:00
Jacek Caban beef095654 vbscript: Added more equality expressions parser/compiler implementation. 2011-09-19 17:59:41 +02:00