Robert Wilhelm
7d48c52816
vbscript: Fix handling zero and negative number arguments in err.raise.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49172
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-25 16:50:19 +02:00
Akihiro Sagawa
35376075ac
vbscript: Support non-Latin 1 characters in Asc.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49309
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-16 22:07:39 +02:00
Dmitry Kislyuk
3be18bb757
vbscript: Implement case-insensitive search in Replace function.
...
Signed-off-by: Dmitry Kislyuk <dimaki@rocketmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-26 21:25:38 +02:00
Robert Wilhelm
769dd6aed4
vbscript: Support arrays in TypeName.
...
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-24 22:14:44 +02:00
Robert Wilhelm
b72d8118da
vbscript: Implement IsArray.
...
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-24 22:14:44 +02:00
Robert Wilhelm
d50f5f67c7
vbscript: Implement Split.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47570
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-24 22:14:44 +02:00
Dmitry Kislyuk
b900567f04
vbscript: Implement case insensitive search in InStrRev function.
...
Signed-off-by: Dmitry Kislyuk <dimaki@rocketmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-10 21:25:17 +02:00
Dmitry Kislyuk
120b220979
vbscript: Return correct error for null start in InStr and more tests.
...
Signed-off-by: Dmitry Kislyuk <dimaki@rocketmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-06 19:34:24 +02:00
Dmitry Kislyuk
626a38b570
vbscript: Support conversion to string in InStr.
...
Signed-off-by: Dmitry Kislyuk <dimaki@rocketmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-04 22:07:52 +02:00
Dmitry Kislyuk
00b64430e8
vbscript: Implement case insensitive comparison.
...
Signed-off-by: Dmitry Kislyuk <dimaki@rocketmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-30 16:33:28 +02:00
Jacek Caban
e343fcaf76
vbscript: Add Replace function implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-05 16:17:14 +01:00
Jacek Caban
2dceea6f35
vbscript: Allow arbitrary number of arguments in builtin functions.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-04 22:43:01 +01:00
Jacek Caban
872d33f29c
vbscript: Add LBound function implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-23 18:53:35 +02:00
Jacek Caban
ea5dbc1329
vbscript: Implement String function.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-22 23:04:27 +02:00
Jacek Caban
0fe003435e
vbscript/tests: Added Err object IDispatch tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 22:48:42 +02:00
Jacek Caban
ea130e12c3
vbscript/tests: Add err.raise tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 22:58:07 +02:00
Jacek Caban
707f7eb2a1
vbscript: Add err.source implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 22:58:07 +02:00
Jacek Caban
0d9f024d6a
vbscript: Add err.description implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 22:58:07 +02:00
Jacek Caban
96c4a1b9f3
vbscript: Add Second function implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 22:24:28 +02:00
Jacek Caban
d359793173
vbscript: Add Minute function implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 22:24:28 +02:00
Jacek Caban
cb16190ec1
vbscript: Add Hour function implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 22:24:28 +02:00
Jacek Caban
296ff41d9a
vbscript: Add Year function implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 22:24:28 +02:00
Jacek Caban
d87dc355eb
vbscript: Add Month function implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 22:24:28 +02:00
Jacek Caban
fcc9b7171a
vbscript: Add Day function implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 22:24:27 +02:00
Jacek Caban
a390b7e870
vbscript: Support arrays in VarType.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-22 21:56:10 +02:00
Jacek Caban
139b0ef3fd
vbscript/tests: Fix tests on some Vista versions.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-22 21:56:07 +02:00
Jacek Caban
fb5b0c6463
vbscript: Fix handling null argument in CStr.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 20:40:08 +02:00
Jacek Caban
c9a606faf6
vbscript: Add Asc implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 20:40:06 +02:00
Jacek Caban
6cc7b0e8d5
vbscript: Return correct error when builtin call argument count is invalid.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 20:40:04 +02: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
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
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
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
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
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
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
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