Commit Graph

271 Commits

Author SHA1 Message Date
Alex Henrie e04a1c4210 vbscript/tests: Fix first-day-of-week test on mixed locales.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-03 23:26:21 +01:00
Piotr Caban c8a94b5d7a vbscript: Add for each tests on array.
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:59 +01:00
Piotr Caban e95492bc83 vbscript: Add UBound 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-11-07 18:13:12 +01:00
Dmitry Kislyuk 31ef99245a vbscript: Improve parsing of separators in functions and classes.
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-11-02 19:33:06 +01:00
Alex Henrie 4438b2706b vbscript/tests: Fix test for WeekDayName(foo, bar, 0).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 19:12:07 +01:00
Alex Henrie 8d8ebc9641 vbscript/tests: Try calling GetObject again if it fails the first time.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-24 19:09:17 +02:00
Dmitry Kislyuk 5193b6fa69 vbscript: Improve parsing of separators after Option Explicit.
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-11 14:23:27 +02:00
Piotr Caban 0b5473c166 vbscript: Reimplement array_access function.
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:25 +02:00
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
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
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
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
Shuai Meng 0becff8244 shell32: Also return Attributes in GetFolderDefinition. 2015-03-03 11:46:22 +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
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