Commit Graph

136 Commits

Author SHA1 Message Date
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 229a583c54 vbscript: Move create_script_disp call to SetScriptSite.
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 087adea7dc vbscript: Use global object property to expose Err object.
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 1a1292833e vbscript: Get rid of no longer needed ITypeInfo in BuiltinDisp.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 22:48:38 +02:00
Jacek Caban 4a30e699e8 vbscript: Don't use ITypeInfo for builtin function dispids.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 22:48:33 +02:00
Jacek Caban d061ba0e35 vbscript: Use separated IDispatch implementation for objects exposing builtin functions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 22:48:26 +02:00
Jacek Caban 4c3e2f2b4f vbscript: Introduce get_builtin_id.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 22:48:19 +02:00
Jacek Caban 43dbf3a60e vbscript: Factor out detach_global_objects.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 22:48:15 +02:00
Jacek Caban ace3279a26 vbscript: Introduce new type for object with builtin functions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 22:48:10 +02:00
Jacek Caban f41c2db014 vbscript: Add err.raise function 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 c65a809f48 vbscript: Add err.helpfile and err.helpcontext 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 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 8277c24806 vbscript: Store entire EXCEPINFO in script context.
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 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
Alexandre Julliard 3911e6696a vbscript: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 08:46:31 +02: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
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
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
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
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
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
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