Jacek Caban
|
107bba1563
|
vbscript: Always treat keywords after dot as identifiers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-12 21:39:40 +01:00 |
Gabriel Ivăncescu
|
e109351261
|
vbscript/tests: Add tests for pending and executed code persistence.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-11 22:58:00 +01:00 |
Gabriel Ivăncescu
|
2d45f49fe8
|
vbscript/tests: Use integers instead of booleans for counting call expectations.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-11 22:58:00 +01:00 |
Jacek Caban
|
3c366be353
|
vbscript: Lookup this object in lookup_identifier only if it's an actual VBScript object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-05 16:17:39 +01:00 |
Jacek Caban
|
509044296d
|
vbscript: Fix parsing call expressions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41119
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-05 16:17:27 +01:00 |
Jacek Caban
|
9e2700b2fc
|
vbscript: Support changing script state to SCRIPTSTATE_INITIALIZED.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-05 16:17:22 +01:00 |
Jacek Caban
|
706898dcbb
|
vbscript: Don't allow changing script state when script site is not set.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-05 16:17:18 +01: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
|
52bbac0a36
|
vbscript: Replace existing function for duplicated 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
|
8f1e633874
|
vbscript: Support assigning to object default value.
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
|
ef737598e6
|
vbscript: Support using function return value in expressions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-01 20:30:14 +01:00 |
Jacek Caban
|
39e79c76c9
|
vbscript/tests: Add redim statement tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-01 20:30:11 +01:00 |
Jacek Caban
|
37e2729607
|
vbscript: Allow 'with' as an identifier.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-01 20:30:02 +01:00 |
Jacek Caban
|
aad0340c8f
|
vbscript: Add support for parameterized set statements.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-01 20:29:54 +01:00 |
Jacek Caban
|
fa0c84ae0b
|
vbscript: Support DISP_E_EXCEPTION Invoke[Ex] return value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-31 19:25:38 +01:00 |
Jacek Caban
|
9115c37b46
|
vbscript/tests: Introduce get_dispid helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-31 19:25:35 +01:00 |
Jacek Caban
|
18117ccbab
|
vbscript: Support VT_EMPTY in stack_pop_bool.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-31 19:25:31 +01:00 |
Jacek Caban
|
666f7501d0
|
vbscript/tests: Add with statement tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-29 23:30:47 +01:00 |
Jacek Caban
|
2d419b7d7b
|
vbscript: Always pass arguments inside parentheses by value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-28 20:12:38 +01:00 |
Jacek Caban
|
216f7146ef
|
vbscript: Ignore parentheses in call expression.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-28 19:19:34 +01:00 |
Jacek Caban
|
273a3a5869
|
vbscript/tests: Add more call tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-28 19:19:34 +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
|
9e3c806e53
|
vbscript: Fix array reference handling in do_icall.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-23 18:53:33 +02:00 |
Nikolay Sivov
|
a4a2e735ec
|
vbscript/tests: Fix tests failures on Win10.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-23 18:53:17 +02:00 |
Dmitry Timoshkov
|
1333ea8482
|
vbscript/tests: Add some tests for IRegExp2::Replace().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-23 18:53:06 +02:00 |
Jacek Caban
|
7639a850c9
|
vbscript: Implement RegExp.Replace.
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
|
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
|
f449c361ce
|
vbscript/tests: Add more named items tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-18 18:05:32 +02:00 |
Jacek Caban
|
79f39c2a8c
|
vbscript: Fix NULL IDispatch handling in get_disp_value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-18 18:05:32 +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
|
be253c1dc9
|
vbscript: Don't use IDispatchEx for internal calls.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-17 22:47:56 +02:00 |
Jacek Caban
|
cded9c4565
|
vbscript/tests: Add more tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-04 22:11:20 +02:00 |
Jacek Caban
|
34674eff5b
|
vbscript: Call OnScriptError for compile errors.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-04 22:11:20 +02:00 |
Jacek Caban
|
681cee4ed6
|
vbscript: Call OnScriptError for runtime errors.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-04 22:11:20 +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 |
Gabriel Ivăncescu
|
7c9139dffb
|
vbscript: Handle NULL code text in ParseScriptText and ParseProcedureText.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-09-23 19:44:18 +02:00 |
Gabriel Ivăncescu
|
f05dd8cba5
|
vbscript/tests: Add test for ParseProcedureText with the SCRIPTPROC_ISEXPRESSION flag.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-09-17 18:49:57 +02:00 |
Gabriel Ivăncescu
|
9dda8ca67a
|
vbscript/tests: Add tests for ParseScriptText with the SCRIPTTEXT_ISEXPRESSION flag.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-09-17 18:49:53 +02:00 |
Gabriel Ivăncescu
|
848c6e4f93
|
vbscript/tests: Test lack of newline parsing before End statements.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-09-09 16:25:55 +02:00 |
Jacek Caban
|
0131a9c47b
|
vbscript: Suport + sign in exponential literals.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-08-26 19:21:33 +02:00 |
Jacek Caban
|
17c5a25091
|
vbscript: Support unary + expressions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-08-22 21:56:17 +02:00 |