Commit Graph

685 Commits

Author SHA1 Message Date
Piotr Caban 8f0d12e261 vbscript/tests: Add more function call tests with array arguments.
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-10-11 14:23:22 +02:00
Piotr Caban c4d7243833 vbscript/tests: Expose todo_wine_ok function to scripts.
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-10-10 20:00:08 +02:00
Piotr Caban 775671c3d8 vbscript: Be more verbose on unexpected error in a script.
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-10-10 20:00:05 +02:00
Piotr Caban 0a15f2e02f vbscript: Add Array implementation.
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-10-10 20:00:03 +02:00
Dmitry Kislyuk 56b31ba2e1 vbscript: Improve parsing of separators in loops and switches.
Signed-off-by: Dmitry Kislyuk <dimaki@rocketmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-09 19:45:37 +02:00
Dmitry Kislyuk 4ecc00f6ff vbscript: Allow colons at the end of first line of loops.
Signed-off-by: Dmitry Kislyuk <dimaki@rocketmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-03 17:15:05 +02: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
Alistair Leslie-Hughes 73924a45d6 vbscript: Coerce datatype in StrComp.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-10 10:11:48 +01:00
Jacek Caban c46dbfb131 vbscript: Call GetItemInfo() with original item name.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-07 16:59:55 +01:00
Nikolay Sivov 5c6aa8d6c3 vbscript: Implement StrComp().
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-04 14:56:03 +01:00
Sebastian Lackner 39dfd38d82 vbscript/tests: Fix operator priority in ok() condition.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 00:49:11 +09:00
Alexandre Julliard d8cc1dccba makefiles: Add makedep pragmas in all IDL source files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Alistair Leslie-Hughes ae119b4205 vbscript/tests: Show IActiveScriptSite OnScriptError is called on error.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:09 +09:00
Jacek Caban 392736c5e8 vbscript: Treat empty regexp pattern the same way as NULL pattern. 2015-06-29 21:14:35 +09:00
Thomas Faller 06dfe8fcd6 vbscript: Fix for unchecked memory access. 2015-05-26 20:00:42 +09:00
Shuai Meng 287d419e5e vbscript: Fixed Hex. 2015-04-03 11:56:21 +09:00
Shuai Meng 56ab12ccef vbscript: Implemented Oct. 2015-04-01 22:34:20 +09:00
Nikolay Sivov 4b15e6fd09 vbscript: Use CP_ACP instead of its numeric value. 2015-03-09 22:06:21 +09:00
Jacek Caban 0de7b95c37 vbscript: Added a helper for getting default IDispatch value. 2015-03-06 00:02:08 +09:00
Alexandre Julliard 39f6d04aa0 Revert "shell32: Also return Attributes in GetFolderDefinition."
This reverts commit 0becff8244.
The wrong patch was committed.
2015-03-04 11:34:15 +09:00
Jacek Caban 33c5a7d14c vbscript: Added DISPATCH_PROPERTYPUTREF tests. 2015-03-03 23:16:53 +09:00
Jacek Caban bd42594da9 vbscript: Leave converting object to trivial values up to calee. 2015-03-03 23:16:52 +09:00
Jacek Caban 62bc8aeb0f vbscript: Leave assigning value up to add_dynamic_var callers. 2015-03-03 23:16:51 +09:00
Jacek Caban 86283b31db vbscript: Fail to set non-object values with DISPATCH_PROPERTYPUTREF flag. 2015-03-03 23:16:50 +09:00
Jacek Caban 4bca1665c4 vbscript: Convert VT_DISPATCH propput value to trivial value if DISPATCH_PROPERTYPUTREF is not set. 2015-03-03 23:16:49 +09:00
Jacek Caban 571b09ce42 vbscript: Pass DISPATCH_PROPERTYPUTREF flag to InvokeEx when apropriate. 2015-03-03 23:16:48 +09:00
Jacek Caban 128f79ee77 vbscript: Added support for DISPATCH_PROPERTYPUTREF flag. 2015-03-03 23:16:47 +09:00
Shuai Meng 0becff8244 shell32: Also return Attributes in GetFolderDefinition. 2015-03-03 11:46:22 +09:00
Nikolay Sivov dba0fe3614 vbscript: Fix potential crash if script site creation failed. 2015-02-16 19:18:46 +09:00
Gerald Pfeifer 69a6138350 vbscript: Avoid use of uninitialized variable in Global_InStrRev(). 2015-02-16 19:18:42 +09:00
Jacek Caban 9b0ebaeb78 vbscript: Added InStrRev implementation. 2015-02-11 22:21:49 +09:00
Jacek Caban 3873c93891 vbscript: Allow omitting optional function parameters in call expressions. 2015-01-28 21:30:10 +01:00
Nikolay Sivov e584edd379 vbscript: Support 'End If' for single line If statements. 2015-01-16 17:33:00 +01:00
Shuai Meng 7a48601047 vbscript: Implemented Timer. 2014-10-14 21:04:58 +09:00
Shuai Meng 0480bbfb34 vbscript: Implemented RGB. 2014-10-01 14:48:38 +02:00
Jacek Caban 85b989927f vbscript: Don't try to convert int to short in return_int. 2014-09-22 19:07:51 +02:00
Shuai Meng fdf4b1e792 vbscript: Implemented Time. 2014-08-28 20:52:28 +02:00
Shuai Meng 88d7f611a4 vbscript: Implemented Date. 2014-08-28 20:52:25 +02:00
Shuai Meng 5528d728e1 vbscript: Implemented Log. 2014-08-19 17:07:19 +02:00
Shuai Meng b193c84485 vbscript: Implemented Exp. 2014-08-19 17:07:15 +02:00
Shuai Meng d7f4fa43eb vbscript: Implemented Atn. 2014-08-19 17:07:11 +02:00
Shuai Meng 11755f76fd vbscript: Implemented Tan. 2014-08-19 17:07:03 +02:00
Shuai Meng 77fe488a86 vbscript: Implemented Sin. 2014-08-19 17:06:58 +02:00
Shuai Meng f97491cfed vbscript: Implemented Cos. 2014-08-19 17:06:52 +02:00
Shuai Meng 85dfafa3e7 vbscript: Implemented Sqr. 2014-08-19 17:06:45 +02:00
Shuai Meng 622191f7bc vbscript: Implemented Int. 2014-08-15 18:19:52 +02:00
Shuai Meng a3fe7269e2 vbscript: Implemented Fix. 2014-08-15 18:19:47 +02: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
Shuai Meng 4da0bcc227 vbscript: Implemented ScriptEngine. 2014-08-08 19:15:52 +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
Jacek Caban 2c78d5815b vbscript: Added support for title and type arguments of MsgBox. 2014-07-23 21:24:27 +02:00
Shuai Meng 13fe9147b3 vbscript: Implemented IsNumeric. 2014-07-22 12:07:03 +02:00
Jacek Caban e73bd253ea wscript: Added support for calling object by DISPID_VALUE in do_icall. 2014-07-21 18:44:22 +02:00
Jacek Caban 15dfae71a1 vbscript: Use VariantChangeType in to_int. 2014-07-21 18:44:19 +02:00
Shuai Meng 95db4ce751 vbscript/tests: Added tests for the subtype of TypeName. 2014-07-16 12:52:47 +02:00
Shuai Meng 997820f735 vbscript: Implemented Abs. 2014-07-16 12:52:44 +02:00
Shuai Meng 0b13d721c2 vbscript: Implemented Sgn. 2014-07-11 12:19:20 +02:00
Shuai Meng 393f4bc547 vbscript: Implemented VarType. 2014-07-11 12:18:28 +02:00
Shuai Meng 61d49a8a97 vbscript: Implemented TypeName. 2014-06-25 11:45:11 +02:00
Shuai Meng d8135b8243 vbscript: Implemented CSng. 2014-06-16 13:57:08 +02:00
Jacek Caban be583662d4 vbscript: Reset error number on error mode change. 2014-06-16 09:28:16 +02:00
Shuai Meng 89dd8401b3 vbscript: Fixed CInt. 2014-06-12 18:05:14 +02:00
Shuai Meng ded01d657e vbscript: Implemented CLng. 2014-06-12 18:05:13 +02:00
Shuai Meng cde73e3a5e vbscript: Implemented CDbl. 2014-06-12 18:05:13 +02:00
Jacek Caban 2de2e10d47 vbscript: Always initialize is_array value (valgrind). 2014-06-11 19:15:27 +02:00
Jacek Caban f0e85ee2f3 vbscript: Added support for exponential form of numeric literals. 2014-06-11 16:16:02 +02:00
Shuai Meng 14f68a988b vbscript: Implemented CCur. 2014-05-20 21:26:57 +02:00
Piotr Caban 193de805a1 vbscript: Support multibyte characters in Global_Chr. 2014-05-19 18:23:45 +02:00
Alexandre Julliard 534394dfa2 vbscript: Avoid using bool keyword. 2014-05-19 11:38:33 +02:00
Piotr Caban 7c7ccc0ef5 vbscript: Parse doubles with bigger precision in parse_numeric_literal. 2014-05-19 09:47:22 +02:00
Shuai Meng db42703d5f vbscript: Implemented CByte. 2014-05-14 19:13:51 +02:00
Shuai Meng b8aecb92b9 vbscript: Fixed CBool handling. 2014-05-08 10:46:11 +02:00
Jacek Caban b4d30e92c9 vbscript: Added InvokeEx(DISPATCH_PROPERTYGET) implementation. 2014-04-30 15:15:31 +02:00
Jacek Caban 0f50cb323e vbscript: Allow property getters to take arguments. 2014-04-30 15:15:31 +02:00
Jacek Caban d297cecc07 vbscript: Forward Invoke call to InvokeEx. 2014-04-29 16:07:43 +02:00
Jacek Caban 5d31c1e824 vbscript: Return proper error on invalid argument in Chr. 2014-04-23 20:23:54 +02:00
Jacek Caban bdd1fcd89e vbscript/tests: Added more error tests. 2014-03-27 14:53:32 +01:00
Jacek Caban 4effb57f88 vbscript: Return only code part of HRESULT for vbscript errors as Err.number. 2014-03-27 14:53:16 +01: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 f6d6238e93 vbscript: Store required stack offset before doing jump. 2014-03-25 19:01:34 +01:00
Jacek Caban 7aaf597db1 vbscript: Fixed a leak. 2014-03-24 13:58:09 +01:00
Jacek Caban bda96fde35 vbscript: Added error handling tests. 2014-03-21 16:51:46 +01:00
Jacek Caban 171ddf5c57 vbscript: Added Err.Clear implementation. 2014-03-21 16:51:33 +01:00
Jacek Caban 7baaea0321 vbscript: Added Err.Number implementation. 2014-03-21 16:51:30 +01:00
Jacek Caban fc0ef22a44 vbscript: Added support for exception unwinding. 2014-03-21 16:51:23 +01:00
Jacek Caban ce75124a74 vbscript: Moved Error object implementation to global.c. 2014-03-21 16:51:13 +01:00
Jacek Caban f123556f07 vbscript: Allow creating RegExp object by new expression. 2014-03-18 16:10:38 +01:00
Jacek Caban 69bee9f004 vbscript: Allow empty brackets in argument declarations. 2014-03-13 20:22:21 +01:00
Jacek Caban 86ee4e959a vbscript: Added support for VARIANT references to interp_newenum. 2014-03-10 10:41:52 +01:00
Jacek Caban aa045d51b3 vbscipt: Allow ':' to be a separator in select case statement. 2014-03-10 10:41:49 +01:00
Jacek Caban 6f45902252 vbscript: Use VariantCopyInd in invoke_variant_prop. 2014-03-10 10:41:46 +01:00
Jacek Caban 6ad651bf77 vbscipt: Use VariantCopyInd in exec_script. 2014-03-10 10:41:42 +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 48111d1c15 vbscript: Skip tests if we can't register ActiveX object. 2014-02-18 11:45:53 +01:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Nikolay Sivov 9b037d559e vbscript: Support VT_BYREF|VT_DISPATCH as a DISPID_NEWENUM source. 2014-02-05 13:49:27 +01:00
Frédéric Delanoy e04c7359ed vbscript/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-30 12:42:55 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Alexandre Julliard ca41acc1f9 makefiles: Automatically update the IDL_H_SRCS variable. 2013-12-15 10:23:06 +01:00
Jacek Caban 1c1a261122 vbscript: Don't allow OP_dim on already initialized arrays. 2013-11-25 15:15:52 +01:00
Jacek Caban d222521989 vbscript: Added support for VT_BYREF|VT_VARIANT to to_int. 2013-11-25 15:15:52 +01:00
Francois Gouget 73bf5f1ae6 vbscript: Fix a trailing FIXME() '\n'. 2013-11-14 10:37:26 +01:00
Jacek Caban ff3d22ba42 vbscript: Added some array tests. 2013-11-13 18:31:11 +01:00
Jacek Caban 7917b67a18 vbscript: Added support for setting array elements. 2013-11-13 18:31:07 +01:00
Jacek Caban 79c55e1255 vbscript: Added support for getting array elements. 2013-11-13 18:31:04 +01:00
Jacek Caban 853c6c4eea vbscript: Added interp_dim implementation. 2013-11-13 18:30:58 +01:00
Jacek Caban fc713bfc12 vbscript: Added bytecode support for arrays. 2013-11-13 18:30:55 +01:00
Jacek Caban f3e1f7002d vbscript: Store variables in declaration order. 2013-11-13 18:30:49 +01:00
Jacek Caban cf51435541 vbscript: Added parser support for arrays. 2013-11-13 18:30:45 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +01:00
Nikolay Sivov d234bcdb25 vbscript/tests: Use a defined name for error code. 2013-11-04 11:02:28 +01:00
Jacek Caban b1cf39d081 vbscript: Compile tests with -D__WINESRC__. 2013-10-14 17:26:15 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Alexandre Julliard f86c46f640 vbscript: Use bison directives instead of defines to specify extra lexer parameters. 2013-08-01 12:00:23 +02:00
Frédéric Delanoy 4bd3981204 vbscript: Fix typo. 2013-05-22 11:20:28 +02:00
Zhan Jianyu 75be5eee63 vbscript: Implemented builtin function CBool. 2013-05-21 17:01:04 +02:00
Zhan Jianyu c6ce31ce83 vbscript: Implemented builtin function CInt. 2013-05-21 17:00:58 +02:00
Jacek Caban 48a8623062 vbscript: Round half to even in to_int.
Spotted by Zhan Jianyu.
2013-05-16 12:04:56 +02:00
Alexandre Julliard 6ac9aa0a52 vbscript: Don't bother to free memory at process exit. 2013-05-15 10:30:04 +02:00
Zhan Jianyu a8e70fa883 vbscript: Fix a typo: jscript -> vbscript. 2013-04-18 12:23:26 +02:00
Piotr Caban 79632a2212 vbscript: Added IMatch interface to Match2 object. 2013-03-25 14:09:55 +01:00
Piotr Caban fbf01da470 vbscript: Added IMatchCollection interface to MatchCollection2 object. 2013-03-25 14:09:50 +01:00
Jacek Caban 9eed654e05 vbscript: Use DEFAULT_UNREACHABLE macro where appropriate. 2013-03-13 16:27:49 +01:00
Alexandre Julliard 72226ea8df vbscript: Return after assert(0) to silence warnings. 2013-03-06 14:09:58 +01:00
Frédéric Delanoy d0d269ab7f vbscript: Specify correct variable in memory allocation check (coverity). 2013-03-04 11:19:56 +01:00
Alexandre Julliard 1e7d7d0985 vbscript: Tweak enum macros to avoid confusing winapi_extract. 2013-03-04 11:19:50 +01:00
Jacek Caban 5f3c38ed61 vbscipt: Added string constants. 2013-02-27 19:23:17 +01:00
Jacek Caban b58dadf03b vbscript: Fixed chr(0) implementation. 2013-02-27 19:23:16 +01:00
Jacek Caban 34bf93fc51 vbscript: Added color constants. 2013-02-27 19:23:16 +01:00
Jacek Caban 6a6c323306 vbscript: Make constant type explicit. 2013-02-27 19:23:15 +01:00
Jacek Caban 9858145990 vbscript: Added support for a few more constants. 2013-02-22 17:36:21 +01:00
Piotr Caban add71cb91d vbscript: Added IMatchCollection2::__NewEnum test. 2013-02-19 19:50:53 +01:00
Piotr Caban 6b8a34a396 vbscript: Added tests for invalid parameters in regular expression functions. 2013-02-19 19:50:52 +01:00
Piotr Caban 56b2a7b1bd vbscript: Added IMatchCollection2::_NewEnum implementation. 2013-02-19 19:50:52 +01:00
Piotr Caban d4ccce8ddb vbscript: Added RegExp.Execute tests. 2013-02-19 19:50:52 +01:00
Piotr Caban e618241c27 vbscript: Silence IDispatchEx queries on RegExp objects. 2013-02-19 19:50:51 +01:00
Piotr Caban f26bdf92cc vbscript: Added RegExp2::Execute implementation. 2013-02-19 19:50:51 +01:00
Piotr Caban 2270f14e1b vbscript: Added RegExp2 flags getters and setters implementation. 2013-02-19 19:50:51 +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 7246f7f3aa vbscript: Added IRegExp2::Pattern implementation. 2013-02-15 16:26:27 +01:00
Piotr Caban 08a16a2876 vbscript: Added partial implementation of IDispatch methods in IRegExp2. 2013-02-15 16:26:25 +01:00
Piotr Caban b0ef29595a vbscript: Added IRegExp2_QueryInterface tests. 2013-02-15 16:26:21 +01:00
Piotr Caban 63d27b5420 vbscript: Added IRegExp2 stub. 2013-02-15 16:26:10 +01:00
Jacek Caban 97f2912965 vbscript: Added support for a few more constants. 2013-02-15 11:52:51 +01:00
Jacek Caban c751389df4 vbscript: Added GetObject tests. 2013-01-24 14:33:20 +01:00
Jacek Caban 3a87b4c1c5 vbscript: Added GetObject implementation. 2013-01-24 14:33:15 +01:00
Piotr Caban 2cb3df606f vbscript: Fixed typo in vbsregexp55.idl. 2013-01-22 14:05:26 +01:00
Piotr Caban d8f4070b98 vbscript: Added VBScript.RegExp version 1.0 typelib. 2013-01-18 14:46:36 +01:00
Piotr Caban 8de70b313b vbscript: Added VBScript.RegExp version 5.5 typelib. 2013-01-18 14:46:29 +01:00
Jacek Caban a71443a884 vbscript: Added support for more constants. 2013-01-15 12:08:40 +01:00
Jacek Caban 724ef956b3 vbscript: Added support for a few more constants. 2013-01-09 17:39:34 +01:00
Jacek Caban d10d989fed vbscript: Use simplified constant implementation for more constants. 2012-12-07 14:40:40 +01:00
Huw Davies 908c2d44e1 vbscript: The first day of the week should default to Sunday, not the system default. 2012-10-31 18:08:14 +01:00
André Hentschel 1aa6236428 vbscript: Avoid memory leak in compile_select_statement (coverity). 2012-10-31 16:12:27 +01:00
Jacek Caban 7f50df4e43 vbscript: Added support for more builtin constants. 2012-10-30 18:09:00 +01:00
Jacek Caban 0e56e99698 vbscript: Print more informative FIXME when parser fails. 2012-10-30 10:48:18 +01:00
Jacek Caban a41ba1c3e8 vbscript: Added support for negative constants. 2012-10-29 14:40:04 +01:00
Jacek Caban 214fab8568 vbscript: Added HTML comments tests. 2012-10-18 19:21:31 +02:00
Jacek Caban 290f563199 vbscript: Added support for HTML comments. 2012-10-18 19:21:24 +02:00
Jacek Caban 1d8763bbf9 vbscript: Use simplified builtin constants for more constants. 2012-10-17 11:46:00 +02:00
Jacek Caban 789f295efb vbscript: Allow specifying simple builtin constants without proper getter. 2012-10-17 11:45:53 +02:00
Jacek Caban d6d187c2b3 vbscript: Pass arguments to builtin functions in natural order. 2012-10-17 11:45:45 +02:00
Jacek Caban 02f6ea925e vbscript: Added Chr implementation. 2012-10-15 15:24:40 +02:00
Jacek Caban 2e1da7ec8b vbscript: Fixed tests on some non-English configs (without '.' as decimal point). 2012-10-10 20:34:11 +02:00
Andrew Eikum 39d3453209 vbscript: Undefined variables resolve as EMPTY without Option Explicit. 2012-10-10 20:34:10 +02:00
Jacek Caban 470137b6d3 vbscript: Added CStr implementation. 2012-10-08 17:40:41 +02:00
Nikolay Sivov 0c0e6f5371 vbscript: Support vb* constants for message box return value. 2012-10-03 13:14:43 +02:00
Nikolay Sivov 6666284fe6 vbscript: Support vb* constants for message box buttons. 2012-10-03 13:14:38 +02:00
Jacek Caban ed3d0e00ae vbscript: Added RTrim implementation. 2012-10-02 14:08:36 +02:00
Jacek Caban 71a4a1d43a vbscript: Added LTrim() implementation. 2012-10-02 14:08:36 +02:00
Jacek Caban 3ea9a170c0 vbscript: Added Trim() implementation. 2012-10-02 14:08:36 +02:00
Jacek Caban 50985fa2d3 vbscript: Added Right() implementation. 2012-10-01 14:24:01 +02:00
Jacek Caban 3e45fbcb6b vbscript: Added Left() implementation. 2012-10-01 14:23:57 +02:00
Jacek Caban c36045dbcc vbscript: Fixed copy&paste typo in invoke_builtin. 2012-09-28 17:14:56 +02:00
Jacek Caban 46fbe49069 vbscript: Added StrReverse implementation. 2012-09-28 17:14:51 +02:00
Jacek Caban 9554e44e47 vbscript: Added Now() implementation. 2012-09-28 17:14:45 +02:00
Jacek Caban 564d551a89 vbscript: Added MonthName implementation. 2012-09-27 16:49:38 +02:00
Jacek Caban a42f3cb45e vbscript: Added WeekDayName implementation. 2012-09-27 16:49:34 +02:00
Jacek Caban 44fb260566 vbscript: Added MsgBox tests. 2012-09-26 14:43:15 +02:00
Jacek Caban 39da3b2ad7 vbscript: Added MsgBox implementation. 2012-09-26 14:43:06 +02:00
Jacek Caban 1fc2896c7c vbscript: Added VT_R8 support to to_int. 2012-09-26 14:42:15 +02:00
Jacek Caban 5c211059a0 vbscript: Added Round implementation. 2012-09-26 14:42:06 +02:00
Jacek Caban 7308be6c0a vbscript: Added Space() implementation. 2012-09-25 21:13:07 +02:00
Jacek Caban b6515030c8 vbscript: Return error for unsupported flags in ScriptDisp::InvokeEx. 2012-09-18 14:49:01 +02:00
Jacek Caban 91b41eb494 vbscript: Added ScriptDisp_Invoke implementation. 2012-09-18 14:48:57 +02:00
Jacek Caban ba611c0d3a vbscript: Added ScriptDisp::GetIDsOfNames implementation. 2012-09-18 14:48:47 +02:00
Jacek Caban 5a2b3e0de6 vbscript: Added support for do..loop statement without an expression. 2012-09-18 14:48:39 +02:00
Jacek Caban 3fa7860145 vbscript: Added Len implementation. 2012-09-18 14:48:33 +02:00
Jacek Caban 20b2d057d2 vbscript: Fixed parsing if statements with empty body. 2012-09-18 14:48:28 +02:00
Jacek Caban 32d1bb2bbf vbscript: Skip tests on too old vbscript. 2012-09-12 12:45:54 +02:00
Jacek Caban 81766a740e vbscript: Added support for VT_NULL in stack_pop_bool. 2012-09-10 12:15:40 +02:00
Jacek Caban 167174d88b vbscript: Added support for comparing to null. 2012-09-10 12:15:38 +02:00
Jacek Caban 24f4c09bb6 vbscript: Added support for DISPATCH_PROPERTYGET in invoke_variant_prop. 2012-09-10 11:47:29 +02:00
Jacek Caban c2dbc6bfaa vbscript: Added ScriptDisp tests. 2012-09-07 16:44:42 +02:00
Jacek Caban 11d2dfaea9 vbscript: Added ScriptDisp::InvokeEx implementation. 2012-09-07 16:44:35 +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 bac5fdc85f vbscript: Fixed class_desc_t leak. 2012-09-07 16:44:10 +02:00
Jacek Caban 76b1a7e016 vbscript: Added IActiveScriptParseProcedure2::ParseProcedureText tests. 2012-09-06 18:23:39 +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 080169f1d2 vbscript: Fixed uninitialized opcode param in forto statement bytecode. 2012-09-06 18:23:39 +02:00
Jacek Caban 7931c23fef vbscript: Added shell registry for VBSFile. 2012-08-14 17:42:06 +02:00
Jacek Caban 552db7aade vbscript: Added IActiveScriptParseProcedure2 stub implementation. 2012-08-13 11:53:19 +02:00
Jacek Caban fe7533df49 vbscript: Ignore fdexNameCaseSensitive flag. 2012-08-13 11:52:36 +02:00
Jacek Caban aa68bf130e vbscript/tests: Use proper helpers for iface calls. 2012-07-31 17:59:11 +02:00
Jacek Caban 74f67ba82e vbscript: Added select case statement tests. 2012-07-20 21:30:05 +02:00
Jacek Caban 374280aa04 vbscript: Added interp_case implementation. 2012-07-20 21:30:04 +02:00
Jacek Caban f17aaf8da7 vbscript: Added compiler support for select case statement. 2012-07-20 21:30:04 +02:00
Jacek Caban 119c985cda vbscript: Added parser support for select case statement. 2012-07-20 21:30:03 +02:00
Jacek Caban 6bef4da592 vbscript: Use current locale in to_string. 2012-07-18 17:12:33 +02:00
Jacek Caban 2be12eacaf vbscript: Fixed locale-related test failures. 2012-07-18 17:12:33 +02:00
Jacek Caban a1428c78b0 vbscript: Added LCase implementation. 2012-07-11 10:01:01 -05:00
Jacek Caban 0708b77b9b vbscript: Added UCase implementation. 2012-07-11 10:00:58 -05:00
Jacek Caban edab5d85c7 vbscript: Ignore version flags in GetDispID. 2012-07-10 10:40:31 -05:00
Jacek Caban 00dfcb08b8 vbscript: Added support for exit for statement in 'for in' loops. 2012-07-09 09:59:25 -04:00
Jacek Caban f8deed7c2f vbscript: Fixed function return crossing for loop. 2012-07-09 09:58:51 -04:00
Jacek Caban 8de35a4514 vbscript: Fixed 'exit do' statements crossing for in loops. 2012-07-09 09:58:49 -04:00
Jacek Caban b675164be4 vbscript: Better representation of statement context. 2012-07-09 09:58:35 -04:00
Jacek Caban 7cdd5354a2 vbscript: Added for each loop tests. 2012-07-03 17:12:02 +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 4ca8447769 vbscript: Skip the first (null) instruction in dump_code. 2012-07-03 17:11:52 +02:00
Jacek Caban ef6a6b08d4 vbscript: Added more parameterized assignment tests. 2012-07-03 17:11:47 +02:00
Jacek Caban e56a5907a3 vbscript: Added a hack for parameterized assignments with one argument. 2012-07-03 17:11:42 +02:00
Francois Gouget d090c39470 vbscript: Add support for integer values in conditional jumps. 2012-05-23 18:25:10 +02:00
Jacek Caban d856d7cd11 vbscript: 'property' may be both keyword and identifier. 2012-04-25 12:17:14 +02:00
Frédéric Delanoy c5bcfbc5c5 vbscript: Fix a typo. 2012-04-18 13:59:31 +02:00
Jacek Caban cb1a8a3c58 vbscript: Short if statement may have optional 'end if'. 2012-04-13 17:44:40 +02:00
Jacek Caban 81fe4bd8a5 vbscript: Use to_int in InStr implementation. 2012-03-29 20:49:17 +02:00
Jacek Caban 4b00511c64 vbscript: Added Mid function implementation. 2012-03-29 20:49:17 +02:00
Jacek Caban d0be36213a vbscript: Added parameterized member assignment statement implementation. 2012-03-26 18:15:18 +02:00
Jacek Caban 1bc8db6005 vbscript: Added parameterized assign member statement tests. 2012-03-26 18:15:17 +02:00
Jacek Caban 732abbbcc3 vbscript: Added parameterized assign identifier statement support. 2012-03-26 18:15:16 +02:00
Jacek Caban 1e5c2134f1 vbscript: Evaluate object expression before value expression in member assignment. 2012-03-26 18:15:16 +02:00
Jacek Caban 434700bf6b vbscript: Init destination before passing it to VariantCopy in add_dynamic_var. 2012-03-26 18:15:16 +02:00
Jacek Caban e4bfd4e057 vbscript: Lookup visible items before global members in lookup_identifier. 2012-03-26 18:15:15 +02:00
Jacek Caban 613c276ca3 vbscript: Get rid of unused SET_CALLED macro. 2012-01-27 18:05:52 +01:00
Jacek Caban 1791cdaea8 vbscript: Fixed stack reallocation. 2012-01-16 16:49:16 +01:00
Jacek Caban c53529b48d vbscript: Use 0 as an invalid label value. 2012-01-16 16:49:10 +01:00
Jacek Caban ff96e75996 vbscript: Use 0 as invalid instruction offset. 2012-01-16 16:49:04 +01:00
Jacek Caban 8c1b9a01bf vbscript: Added for each loop parser implementation. 2012-01-04 18:59:18 +01:00
Jacek Caban ea185259fb vbscript: Added InStr tests. 2012-01-03 12:37:22 +01:00