Zebediah Figura
1bd7dbfbc4
vbscript: Handle carriage return in more places.
...
This fixes a regression introduced by 5800c9ed23
.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46772
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>
2019-03-05 09:22:42 +01:00
Alistair Leslie-Hughes
b75627ec10
vbscript: Move variable declaration outside of for.
...
This stops a compile error under gcc 4.8.4.
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>
2019-03-01 17:48:14 +01:00
Brendan McGrath
dac7441b4e
vbscript: Add todo test for 'rem' as 'dot' identifier.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46318
Signed-off-by: Brendan McGrath <brendan@redmandi.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-28 21:37:30 +01:00
Brendan McGrath
78078b65b2
vbscript: Allow most keywords to be used as 'dot' identifiers.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46318
Signed-off-by: Brendan McGrath <brendan@redmandi.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-28 21:37:30 +01:00
Brendan McGrath
d2937bfff2
vbscript: Allow more keywords to be used as identifiers.
...
Signed-off-by: Brendan McGrath <brendan@redmandi.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-15 15:07:06 +01:00
Alex Henrie
36f25a4b8a
vbscript: Make constant 'html_delimiterW' static.
...
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-12-03 22:27:05 +01:00
Michael Stefaniuc
b4a24c6575
vbscript: Use the ARRAY_SIZE() macro.
...
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-07-20 18:36:55 +02:00
Zebediah Figura
5800c9ed23
vbscript: Treat \r as a newline separator.
...
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-06-19 20:47:03 +02:00
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
a4824803da
vbscript/tests: Added named item ref count tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 23:20:08 +01: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
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
f595523413
vbscript: Don't leak IEnumVARIANT in interp_enumnext.
...
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:22:09 +01:00
Piotr Caban
a2438ce810
vbscript: Don't return error on VBScript_SetScriptState(SCRIPTSTATE_DISCONNECTED) call.
...
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:22:03 +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
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
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
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