Commit Graph

457 Commits

Author SHA1 Message Date
Jacek Caban bdd1fcd89e vbscript/tests: Added more error tests. 2014-03-27 14:53:32 +01:00
Jacek Caban 4effb57f88 vbscript: Return only code part of HRESULT for vbscript errors as Err.number. 2014-03-27 14:53:16 +01:00
Jacek Caban ccf1567555 vbscript: Map some known error codes to vbscript errors.
Special thanks to Eric Lippert for the list of such errors.
2014-03-27 14:53:04 +01:00
Jacek Caban f6d6238e93 vbscript: Store required stack offset before doing jump. 2014-03-25 19:01:34 +01:00
Jacek Caban 7aaf597db1 vbscript: Fixed a leak. 2014-03-24 13:58:09 +01:00
Jacek Caban bda96fde35 vbscript: Added error handling tests. 2014-03-21 16:51:46 +01:00
Jacek Caban 171ddf5c57 vbscript: Added Err.Clear implementation. 2014-03-21 16:51:33 +01:00
Jacek Caban 7baaea0321 vbscript: Added Err.Number implementation. 2014-03-21 16:51:30 +01:00
Jacek Caban fc0ef22a44 vbscript: Added support for exception unwinding. 2014-03-21 16:51:23 +01:00
Jacek Caban ce75124a74 vbscript: Moved Error object implementation to global.c. 2014-03-21 16:51:13 +01:00
Jacek Caban f123556f07 vbscript: Allow creating RegExp object by new expression. 2014-03-18 16:10:38 +01:00
Jacek Caban 69bee9f004 vbscript: Allow empty brackets in argument declarations. 2014-03-13 20:22:21 +01:00
Jacek Caban 86ee4e959a vbscript: Added support for VARIANT references to interp_newenum. 2014-03-10 10:41:52 +01:00
Jacek Caban aa045d51b3 vbscipt: Allow ':' to be a separator in select case statement. 2014-03-10 10:41:49 +01:00
Jacek Caban 6f45902252 vbscript: Use VariantCopyInd in invoke_variant_prop. 2014-03-10 10:41:46 +01:00
Jacek Caban 6ad651bf77 vbscipt: Use VariantCopyInd in exec_script. 2014-03-10 10:41:42 +01:00
Jacek Caban 70628f80c0 vbscript: Directly access 'this' object properties in interpreter. 2014-03-07 14:34:47 +01:00
Jacek Caban 82cace0f0e vbscipt: Added beginning support for arrays as class members. 2014-03-07 14:34:40 +01:00
Jacek Caban 48111d1c15 vbscript: Skip tests if we can't register ActiveX object. 2014-02-18 11:45:53 +01:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Nikolay Sivov 9b037d559e vbscript: Support VT_BYREF|VT_DISPATCH as a DISPID_NEWENUM source. 2014-02-05 13:49:27 +01:00
Frédéric Delanoy e04c7359ed vbscript/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-30 12:42:55 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Alexandre Julliard ca41acc1f9 makefiles: Automatically update the IDL_H_SRCS variable. 2013-12-15 10:23:06 +01:00
Jacek Caban 1c1a261122 vbscript: Don't allow OP_dim on already initialized arrays. 2013-11-25 15:15:52 +01:00
Jacek Caban d222521989 vbscript: Added support for VT_BYREF|VT_VARIANT to to_int. 2013-11-25 15:15:52 +01:00
Francois Gouget 73bf5f1ae6 vbscript: Fix a trailing FIXME() '\n'. 2013-11-14 10:37:26 +01:00
Jacek Caban ff3d22ba42 vbscript: Added some array tests. 2013-11-13 18:31:11 +01:00
Jacek Caban 7917b67a18 vbscript: Added support for setting array elements. 2013-11-13 18:31:07 +01:00
Jacek Caban 79c55e1255 vbscript: Added support for getting array elements. 2013-11-13 18:31:04 +01:00
Jacek Caban 853c6c4eea vbscript: Added interp_dim implementation. 2013-11-13 18:30:58 +01:00
Jacek Caban fc713bfc12 vbscript: Added bytecode support for arrays. 2013-11-13 18:30:55 +01:00
Jacek Caban f3e1f7002d vbscript: Store variables in declaration order. 2013-11-13 18:30:49 +01:00
Jacek Caban cf51435541 vbscript: Added parser support for arrays. 2013-11-13 18:30:45 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +01:00
Nikolay Sivov d234bcdb25 vbscript/tests: Use a defined name for error code. 2013-11-04 11:02:28 +01:00
Jacek Caban b1cf39d081 vbscript: Compile tests with -D__WINESRC__. 2013-10-14 17:26:15 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Alexandre Julliard f86c46f640 vbscript: Use bison directives instead of defines to specify extra lexer parameters. 2013-08-01 12:00:23 +02:00
Frédéric Delanoy 4bd3981204 vbscript: Fix typo. 2013-05-22 11:20:28 +02:00
Zhan Jianyu 75be5eee63 vbscript: Implemented builtin function CBool. 2013-05-21 17:01:04 +02:00
Zhan Jianyu c6ce31ce83 vbscript: Implemented builtin function CInt. 2013-05-21 17:00:58 +02:00
Jacek Caban 48a8623062 vbscript: Round half to even in to_int.
Spotted by Zhan Jianyu.
2013-05-16 12:04:56 +02:00
Alexandre Julliard 6ac9aa0a52 vbscript: Don't bother to free memory at process exit. 2013-05-15 10:30:04 +02:00
Zhan Jianyu a8e70fa883 vbscript: Fix a typo: jscript -> vbscript. 2013-04-18 12:23:26 +02:00
Piotr Caban 79632a2212 vbscript: Added IMatch interface to Match2 object. 2013-03-25 14:09:55 +01:00
Piotr Caban fbf01da470 vbscript: Added IMatchCollection interface to MatchCollection2 object. 2013-03-25 14:09:50 +01:00
Jacek Caban 9eed654e05 vbscript: Use DEFAULT_UNREACHABLE macro where appropriate. 2013-03-13 16:27:49 +01:00
Alexandre Julliard 72226ea8df vbscript: Return after assert(0) to silence warnings. 2013-03-06 14:09:58 +01:00
Frédéric Delanoy d0d269ab7f vbscript: Specify correct variable in memory allocation check (coverity). 2013-03-04 11:19:56 +01:00
Alexandre Julliard 1e7d7d0985 vbscript: Tweak enum macros to avoid confusing winapi_extract. 2013-03-04 11:19:50 +01:00
Jacek Caban 5f3c38ed61 vbscipt: Added string constants. 2013-02-27 19:23:17 +01:00
Jacek Caban b58dadf03b vbscript: Fixed chr(0) implementation. 2013-02-27 19:23:16 +01:00
Jacek Caban 34bf93fc51 vbscript: Added color constants. 2013-02-27 19:23:16 +01:00
Jacek Caban 6a6c323306 vbscript: Make constant type explicit. 2013-02-27 19:23:15 +01:00
Jacek Caban 9858145990 vbscript: Added support for a few more constants. 2013-02-22 17:36:21 +01:00
Piotr Caban add71cb91d vbscript: Added IMatchCollection2::__NewEnum test. 2013-02-19 19:50:53 +01:00
Piotr Caban 6b8a34a396 vbscript: Added tests for invalid parameters in regular expression functions. 2013-02-19 19:50:52 +01:00
Piotr Caban 56b2a7b1bd vbscript: Added IMatchCollection2::_NewEnum implementation. 2013-02-19 19:50:52 +01:00
Piotr Caban d4ccce8ddb vbscript: Added RegExp.Execute tests. 2013-02-19 19:50:52 +01:00
Piotr Caban e618241c27 vbscript: Silence IDispatchEx queries on RegExp objects. 2013-02-19 19:50:51 +01:00
Piotr Caban f26bdf92cc vbscript: Added RegExp2::Execute implementation. 2013-02-19 19:50:51 +01:00
Piotr Caban 2270f14e1b vbscript: Added RegExp2 flags getters and setters implementation. 2013-02-19 19:50:51 +01:00
Piotr Caban 4b0f475344 vbscript: Added RegExp2::Test implementation. 2013-02-19 19:50:51 +01:00
Piotr Caban fb29bf7d2f vbscript: Rename vbsheap to heap_pool. 2013-02-15 16:26:30 +01:00
Piotr Caban 7246f7f3aa vbscript: Added IRegExp2::Pattern implementation. 2013-02-15 16:26:27 +01:00
Piotr Caban 08a16a2876 vbscript: Added partial implementation of IDispatch methods in IRegExp2. 2013-02-15 16:26:25 +01:00
Piotr Caban b0ef29595a vbscript: Added IRegExp2_QueryInterface tests. 2013-02-15 16:26:21 +01:00
Piotr Caban 63d27b5420 vbscript: Added IRegExp2 stub. 2013-02-15 16:26:10 +01:00
Jacek Caban 97f2912965 vbscript: Added support for a few more constants. 2013-02-15 11:52:51 +01:00
Jacek Caban c751389df4 vbscript: Added GetObject tests. 2013-01-24 14:33:20 +01:00
Jacek Caban 3a87b4c1c5 vbscript: Added GetObject implementation. 2013-01-24 14:33:15 +01:00
Piotr Caban 2cb3df606f vbscript: Fixed typo in vbsregexp55.idl. 2013-01-22 14:05:26 +01:00
Piotr Caban d8f4070b98 vbscript: Added VBScript.RegExp version 1.0 typelib. 2013-01-18 14:46:36 +01:00
Piotr Caban 8de70b313b vbscript: Added VBScript.RegExp version 5.5 typelib. 2013-01-18 14:46:29 +01:00
Jacek Caban a71443a884 vbscript: Added support for more constants. 2013-01-15 12:08:40 +01:00
Jacek Caban 724ef956b3 vbscript: Added support for a few more constants. 2013-01-09 17:39:34 +01:00
Jacek Caban d10d989fed vbscript: Use simplified constant implementation for more constants. 2012-12-07 14:40:40 +01:00
Huw Davies 908c2d44e1 vbscript: The first day of the week should default to Sunday, not the system default. 2012-10-31 18:08:14 +01:00
André Hentschel 1aa6236428 vbscript: Avoid memory leak in compile_select_statement (coverity). 2012-10-31 16:12:27 +01:00
Jacek Caban 7f50df4e43 vbscript: Added support for more builtin constants. 2012-10-30 18:09:00 +01:00
Jacek Caban 0e56e99698 vbscript: Print more informative FIXME when parser fails. 2012-10-30 10:48:18 +01:00
Jacek Caban a41ba1c3e8 vbscript: Added support for negative constants. 2012-10-29 14:40:04 +01:00
Jacek Caban 214fab8568 vbscript: Added HTML comments tests. 2012-10-18 19:21:31 +02:00
Jacek Caban 290f563199 vbscript: Added support for HTML comments. 2012-10-18 19:21:24 +02:00
Jacek Caban 1d8763bbf9 vbscript: Use simplified builtin constants for more constants. 2012-10-17 11:46:00 +02:00
Jacek Caban 789f295efb vbscript: Allow specifying simple builtin constants without proper getter. 2012-10-17 11:45:53 +02:00
Jacek Caban d6d187c2b3 vbscript: Pass arguments to builtin functions in natural order. 2012-10-17 11:45:45 +02:00
Jacek Caban 02f6ea925e vbscript: Added Chr implementation. 2012-10-15 15:24:40 +02:00
Jacek Caban 2e1da7ec8b vbscript: Fixed tests on some non-English configs (without '.' as decimal point). 2012-10-10 20:34:11 +02:00
Andrew Eikum 39d3453209 vbscript: Undefined variables resolve as EMPTY without Option Explicit. 2012-10-10 20:34:10 +02:00
Jacek Caban 470137b6d3 vbscript: Added CStr implementation. 2012-10-08 17:40:41 +02:00
Nikolay Sivov 0c0e6f5371 vbscript: Support vb* constants for message box return value. 2012-10-03 13:14:43 +02:00
Nikolay Sivov 6666284fe6 vbscript: Support vb* constants for message box buttons. 2012-10-03 13:14:38 +02:00
Jacek Caban ed3d0e00ae vbscript: Added RTrim implementation. 2012-10-02 14:08:36 +02:00
Jacek Caban 71a4a1d43a vbscript: Added LTrim() implementation. 2012-10-02 14:08:36 +02:00