Commit Graph

389 Commits

Author SHA1 Message Date
Jacek Caban 20b2d057d2 vbscript: Fixed parsing if statements with empty body. 2012-09-18 14:48:28 +02:00
Jacek Caban 32d1bb2bbf vbscript: Skip tests on too old vbscript. 2012-09-12 12:45:54 +02:00
Jacek Caban 81766a740e vbscript: Added support for VT_NULL in stack_pop_bool. 2012-09-10 12:15:40 +02:00
Jacek Caban 167174d88b vbscript: Added support for comparing to null. 2012-09-10 12:15:38 +02:00
Jacek Caban 24f4c09bb6 vbscript: Added support for DISPATCH_PROPERTYGET in invoke_variant_prop. 2012-09-10 11:47:29 +02:00
Jacek Caban c2dbc6bfaa vbscript: Added ScriptDisp tests. 2012-09-07 16:44:42 +02:00
Jacek Caban 11d2dfaea9 vbscript: Added ScriptDisp::InvokeEx implementation. 2012-09-07 16:44:35 +02:00
Jacek Caban 40001df45d vbscript: Added ScriptDisp::GetDispID implementation. 2012-09-07 16:44:29 +02:00
Jacek Caban 8121f73273 vbscript: Use separated IDispatchEx implementation for script dispatch. 2012-09-07 16:44:21 +02:00
Jacek Caban bac5fdc85f vbscript: Fixed class_desc_t leak. 2012-09-07 16:44:10 +02:00
Jacek Caban 76b1a7e016 vbscript: Added IActiveScriptParseProcedure2::ParseProcedureText tests. 2012-09-06 18:23:39 +02:00
Jacek Caban cf0faf1d3c vbscript: Added IActiveScriptParseProcedure2::ParseProcedureText implementation. 2012-09-06 18:23:39 +02:00
Jacek Caban 9e3f75cfb1 vbscript: Renamed vbscode_t's variables to not suggest that they are global code-only. 2012-09-06 18:23:39 +02:00
Jacek Caban 080169f1d2 vbscript: Fixed uninitialized opcode param in forto statement bytecode. 2012-09-06 18:23:39 +02:00
Jacek Caban 7931c23fef vbscript: Added shell registry for VBSFile. 2012-08-14 17:42:06 +02:00
Jacek Caban 552db7aade vbscript: Added IActiveScriptParseProcedure2 stub implementation. 2012-08-13 11:53:19 +02:00
Jacek Caban fe7533df49 vbscript: Ignore fdexNameCaseSensitive flag. 2012-08-13 11:52:36 +02:00
Jacek Caban aa68bf130e vbscript/tests: Use proper helpers for iface calls. 2012-07-31 17:59:11 +02:00
Jacek Caban 74f67ba82e vbscript: Added select case statement tests. 2012-07-20 21:30:05 +02:00
Jacek Caban 374280aa04 vbscript: Added interp_case implementation. 2012-07-20 21:30:04 +02:00
Jacek Caban f17aaf8da7 vbscript: Added compiler support for select case statement. 2012-07-20 21:30:04 +02:00
Jacek Caban 119c985cda vbscript: Added parser support for select case statement. 2012-07-20 21:30:03 +02:00
Jacek Caban 6bef4da592 vbscript: Use current locale in to_string. 2012-07-18 17:12:33 +02:00
Jacek Caban 2be12eacaf vbscript: Fixed locale-related test failures. 2012-07-18 17:12:33 +02:00
Jacek Caban a1428c78b0 vbscript: Added LCase implementation. 2012-07-11 10:01:01 -05:00
Jacek Caban 0708b77b9b vbscript: Added UCase implementation. 2012-07-11 10:00:58 -05:00
Jacek Caban edab5d85c7 vbscript: Ignore version flags in GetDispID. 2012-07-10 10:40:31 -05:00
Jacek Caban 00dfcb08b8 vbscript: Added support for exit for statement in 'for in' loops. 2012-07-09 09:59:25 -04:00
Jacek Caban f8deed7c2f vbscript: Fixed function return crossing for loop. 2012-07-09 09:58:51 -04:00
Jacek Caban 8de35a4514 vbscript: Fixed 'exit do' statements crossing for in loops. 2012-07-09 09:58:49 -04:00
Jacek Caban b675164be4 vbscript: Better representation of statement context. 2012-07-09 09:58:35 -04:00
Jacek Caban 7cdd5354a2 vbscript: Added for each loop tests. 2012-07-03 17:12:02 +02:00
Jacek Caban 44266442ed vbscript: Added interpreter and compiler support for for each loops. 2012-07-03 17:11:57 +02:00
Jacek Caban 4ca8447769 vbscript: Skip the first (null) instruction in dump_code. 2012-07-03 17:11:52 +02:00
Jacek Caban ef6a6b08d4 vbscript: Added more parameterized assignment tests. 2012-07-03 17:11:47 +02:00
Jacek Caban e56a5907a3 vbscript: Added a hack for parameterized assignments with one argument. 2012-07-03 17:11:42 +02:00
Francois Gouget d090c39470 vbscript: Add support for integer values in conditional jumps. 2012-05-23 18:25:10 +02:00
Jacek Caban d856d7cd11 vbscript: 'property' may be both keyword and identifier. 2012-04-25 12:17:14 +02:00
Frédéric Delanoy c5bcfbc5c5 vbscript: Fix a typo. 2012-04-18 13:59:31 +02:00
Jacek Caban cb1a8a3c58 vbscript: Short if statement may have optional 'end if'. 2012-04-13 17:44:40 +02:00
Jacek Caban 81fe4bd8a5 vbscript: Use to_int in InStr implementation. 2012-03-29 20:49:17 +02:00
Jacek Caban 4b00511c64 vbscript: Added Mid function implementation. 2012-03-29 20:49:17 +02:00
Jacek Caban d0be36213a vbscript: Added parameterized member assignment statement implementation. 2012-03-26 18:15:18 +02:00
Jacek Caban 1bc8db6005 vbscript: Added parameterized assign member statement tests. 2012-03-26 18:15:17 +02:00
Jacek Caban 732abbbcc3 vbscript: Added parameterized assign identifier statement support. 2012-03-26 18:15:16 +02:00
Jacek Caban 1e5c2134f1 vbscript: Evaluate object expression before value expression in member assignment. 2012-03-26 18:15:16 +02:00
Jacek Caban 434700bf6b vbscript: Init destination before passing it to VariantCopy in add_dynamic_var. 2012-03-26 18:15:16 +02:00
Jacek Caban e4bfd4e057 vbscript: Lookup visible items before global members in lookup_identifier. 2012-03-26 18:15:15 +02:00
Jacek Caban 613c276ca3 vbscript: Get rid of unused SET_CALLED macro. 2012-01-27 18:05:52 +01:00
Jacek Caban 1791cdaea8 vbscript: Fixed stack reallocation. 2012-01-16 16:49:16 +01:00
Jacek Caban c53529b48d vbscript: Use 0 as an invalid label value. 2012-01-16 16:49:10 +01:00
Jacek Caban ff96e75996 vbscript: Use 0 as invalid instruction offset. 2012-01-16 16:49:04 +01:00
Jacek Caban 8c1b9a01bf vbscript: Added for each loop parser implementation. 2012-01-04 18:59:18 +01:00
Jacek Caban ea185259fb vbscript: Added InStr tests. 2012-01-03 12:37:22 +01:00
Jacek Caban d23ecdfc64 vbscript: Added InStr implementation. 2012-01-03 12:37:21 +01:00
Jacek Caban fc8756ac7c vbscript: Added support for VARIANTREF arguments in multiple argument functions. 2012-01-03 12:37:21 +01:00
Jacek Caban edd5ca71b2 vbscript: Added compiler support for parametrized assignment statements. 2011-12-27 17:07:31 +01:00
Jacek Caban 0325ec71e9 scrrun: Moved script extensions registration to scrrun.dll. 2011-12-07 17:50:02 +01:00
Hans Leidekker 3b9df46e03 vbscript: Add a version resource. 2011-11-01 12:14:13 +01:00
Jacek Caban 851856af67 vbscript: Fixed local variable count calculation. 2011-10-24 19:54:14 +02:00
Jacek Caban d0740365ff vbscript: Added remaining week day constants implementations. 2011-10-21 12:47:40 +02:00
Jacek Caban 89c7671403 vbscript: Added vbSunday constant implementation. 2011-10-21 12:47:27 +02:00
Jacek Caban a37ea54183 vbscript: Added Global_isNull implementation. 2011-10-20 13:21:00 +02:00
Jacek Caban 7fa15c5f4d vbscript: Added Global_IsEmpty implementation. 2011-10-19 19:45:51 +02:00
Jacek Caban 8a17193d8d vbscript: Get rid of no longer needed VB_VARIANT|VT_BYREF in Global_IsObject. 2011-10-19 19:45:42 +02:00
Jacek Caban 76eeca2255 vbscript: Added support for hex literals not ending with '&'. 2011-10-18 15:16:04 +02:00
Jacek Caban 64fd6fa787 vbscript: Added lexer support for '_'. 2011-10-17 17:45:07 +02:00
Jacek Caban 01c4fed7b4 vbscript: Added more releasing tests. 2011-10-14 20:26:44 +02:00
Jacek Caban 6f0e215fb5 vbscript: Properly release global variables. 2011-10-14 20:26:43 +02:00
Jacek Caban 84d5a39659 vbscript: Added more script state tests. 2011-10-14 20:26:43 +02:00
Jacek Caban b1c7f544ed vbscript: Keep script context alive after Close call, but make it reusable. 2011-10-14 20:26:43 +02:00
Jacek Caban c90c39304f vbscript: Make sure to remove an object from object list in collect_objects. 2011-10-14 15:44:28 +02:00
Jacek Caban 2b1c639fee vbscript: Added Hex function tests. 2011-10-11 15:43:49 +02:00
Jacek Caban 39e4ef4e1e vbscript: Added Hex function implementation. 2011-10-11 15:43:46 +02:00
Jacek Caban 1c936039ed vbscript: Pass arguments to 1-arg functions directly if they are VT_VARIANT|VT_BYREF. 2011-10-11 15:43:28 +02:00
Marcus Meissner b77770d589 vbscript: Mark some symbols as hidden. 2011-10-03 15:51:10 -05:00
Jacek Caban 00de502b36 vbscript: Better stub for interp_errmode. 2011-09-22 17:24:42 +02:00
Jacek Caban f48658c106 vbscript: Added CreateObject tests (based on jscript ActiveXObject tests). 2011-09-22 17:24:42 +02:00
Jacek Caban d339a0b443 vbscript: Added support for IObjectWithSite in create_object. 2011-09-22 17:24:42 +02:00
Jacek Caban 0d039cc6eb vbscript: Added CreateObject implementation. 2011-09-22 17:24:37 +02:00
Jacek Caban abb2d28721 vbscript: Lookup global object before host-provided objects. 2011-09-22 16:33:42 +02:00
Jacek Caban f61bd1c5bf vbscript: Added support for DISPATCH_METHOD flags in invoke_builtin. 2011-09-22 16:33:37 +02:00
Jacek Caban ed53c40eda vbscript: Added exit for statement support. 2011-09-22 16:33:33 +02:00
Jacek Caban cbb735e2ce vbscript: Added for..in statement tests. 2011-09-22 16:33:27 +02:00
Jacek Caban a765b1ecc3 vbscript: Added interp_incc implementation. 2011-09-22 16:33:21 +02:00
Jacek Caban d55aa556ad vbscript: Added interp_step implementation. 2011-09-22 16:33:17 +02:00
Jacek Caban aad758921c vbscript: Added interp_val implementation. 2011-09-22 16:33:12 +02:00
Jacek Caban 8244e4c0c7 vbscript: Added for..to statement compiler implementation. 2011-09-22 16:33:08 +02:00
Jacek Caban d935c21ccf vbscript: Added for..to statement parser implementation. 2011-09-22 16:33:01 +02:00
Jacek Caban e9ad716a34 vbscript: Added const statement tests. 2011-09-21 14:47:35 +02:00
Jacek Caban 6cbf3e3b3c vbscript: Added interp_const implementation. 2011-09-21 14:47:34 +02:00
Jacek Caban 020d0695bb vbscript: Moved creating new dynamic variable to separated function. 2011-09-21 14:47:32 +02:00
Jacek Caban a968166224 vbscript: Added const statement compiler implementation. 2011-09-21 14:47:30 +02:00
Jacek Caban eb5e97a67f vbscript: Added const statement parser implementation. 2011-09-21 14:47:28 +02:00
Jacek Caban 4c23c99901 vbscript: Added support for undeclared variables in non-explicit mode. 2011-09-20 16:21:43 +02:00
Jacek Caban 77620c648e vbscript: Added more tests. 2011-09-20 16:21:42 +02:00
Jacek Caban 7146387dc6 vbscript: Added support for short if statements. 2011-09-20 16:21:42 +02:00
Jacek Caban 645d459618 vbscript: Added support for rem statement-like comments. 2011-09-20 16:21:41 +02:00
Jacek Caban d0ae4c47a9 vbscript: Added support for ':' as statement separator. 2011-09-20 16:21:41 +02:00
Octavian Voicu 8b903e43e7 vbscript: Always initialize prev_label to prevent compiler warning. 2011-09-19 19:56:11 +02:00
Jacek Caban 6afc32c97d vbscript: Added On Error statement parser implementation. 2011-09-19 18:32:50 +02:00
Jacek Caban afffa2c58c vbscript: Added interp_me implementation. 2011-09-19 18:32:50 +02:00
Jacek Caban eef966faf7 vbscript: Added ME expression parser implementation. 2011-09-19 18:32:50 +02:00
Jacek Caban 95d040e99e vbscript: Added support for SCRIPTITEM_ISVISIBLE named items. 2011-09-19 18:32:50 +02:00
Jacek Caban 347cf1d39d vbscript: Added error object functions stubs. 2011-09-19 18:32:50 +02:00
Jacek Caban 13d8e7b853 vbscript: Added error object stub implementation. 2011-09-19 18:32:50 +02:00
Jacek Caban 32a7a81257 vbscript: Added more global object stubs. 2011-09-19 18:32:50 +02:00
Jacek Caban 1b854ba0c4 vbscript: Added isObject tests. 2011-09-19 18:32:50 +02:00
Jacek Caban 8bcd9876d3 vbscript: Added isObject implementation. 2011-09-19 18:32:50 +02:00
Jacek Caban 4e9d29907c vbscript: Added global object's isObject function stub implementation. 2011-09-19 18:32:35 +02:00
Jacek Caban 79a2650de7 vbscript: Store reference to collected object in collect_objects. 2011-09-19 18:00:05 +02:00
Jacek Caban 2de6982f46 vbscript: Added is expression implementation. 2011-09-19 18:00:01 +02:00
Jacek Caban 33a81218ad vbscript: Added interp_lteq implementation. 2011-09-19 17:59:56 +02:00
Jacek Caban ac5db68d02 vbscript: Added interp_lt implementation. 2011-09-19 17:59:52 +02:00
Jacek Caban 4df350bb22 vbscript: Added interp_gt implementation. 2011-09-19 17:59:49 +02:00
Jacek Caban bce6d6ac8a vbscript: Added interp_gteq implementation. 2011-09-19 17:59:45 +02:00
Jacek Caban beef095654 vbscript: Added more equality expressions parser/compiler implementation. 2011-09-19 17:59:41 +02:00
Octavian Voicu 0a4bedde43 vbscript: Add explicit cast to int for pointer difference type. 2011-09-19 13:19:34 +02:00
Alexandre Julliard 9fe25eae4a vbscript: Fix a memory allocation size to avoid overflows. 2011-09-16 19:36:52 +02:00
Jacek Caban 19a85797ab vbscript: Added VBScript_Global typelib. 2011-09-16 17:24:10 +02:00
Jacek Caban 004210f1fb vbscript: Added do..while and do..until statements implementation. 2011-09-16 17:23:16 +02:00
Jacek Caban 223a407a7f vbscript: Added do until..loop statement implementation. 2011-09-16 17:23:16 +02:00
Jacek Caban 9701bdb563 vbscript: Added support for exit do statement. 2011-09-16 17:23:16 +02:00
Jacek Caban 1f5c56d1a8 vbscript: Added do while..loop statement implementation. 2011-09-16 17:23:16 +02:00
Jacek Caban 3d34925802 vbscript: Added while..wend statement implementation. 2011-09-16 17:23:16 +02:00
Jacek Caban a99dc8cb3d vbscript: Added GC implementation. 2011-09-16 17:23:16 +02:00
Jacek Caban 8b6b334c89 vbscript: Added class_terminate support. 2011-09-16 17:23:16 +02:00
Jacek Caban 28bddf8dd1 vbscript: Added class_initializer support. 2011-09-16 17:23:15 +02:00
Jacek Caban 888ce00531 vbscript: Added more IDispatchEx tests. 2011-09-16 17:23:15 +02:00
Jacek Caban 603d053512 vbscript: Use default object value for objets in stack_pop_val. 2011-09-16 17:23:14 +02:00
Jacek Caban a8de7904f5 vbscript: Added support for default getters. 2011-09-16 17:23:14 +02:00
Jacek Caban a03ad6b2cd vbscript: Added interp_set_member implementation. 2011-09-16 17:23:14 +02:00
Jacek Caban 6c8c617df9 vbscript: Added support for exit property statement. 2011-09-16 17:23:14 +02:00
Jacek Caban 097a75f674 vbscript: Added compiler/runtime support for property getters/letters. 2011-09-16 17:23:14 +02:00
Jacek Caban 32f336bd9d vbscript: Added getters/setters parser implementation. 2011-09-16 17:23:13 +02:00
Jacek Caban e843608748 vbscript: Added property invoke implementation. 2011-09-16 17:23:13 +02:00
Jacek Caban 4bb10ad385 vbscript: Added GetDispID support for properties. 2011-09-16 17:23:13 +02:00
Jacek Caban ae57aa14b3 vbscript: Added class properties compiler implementation. 2011-09-16 17:23:13 +02:00
Jacek Caban 117fd7c0e1 vbscript: Added class property parser implementation. 2011-09-16 17:23:13 +02:00
Francois Gouget b6da3052ed vbscript/tests: Some tests require that the user interface be in English. 2011-09-16 17:23:12 +02:00
Jacek Caban 8de5db6030 vbscript: Added stop statement semi-stub implementation. 2011-09-15 19:13:15 +02:00
Jacek Caban 1e01a176a3 vbscript: Added this object to identifier lookup chanin. 2011-09-15 19:13:15 +02:00
Jacek Caban 308b2641d9 vbscript: Added interp_mcall implementation. 2011-09-15 19:13:15 +02:00
Jacek Caban 6ee2e3ac91 vbscript: Added beginning InvokeEx implementation. 2011-09-15 19:13:15 +02:00
Jacek Caban 8b4c560d75 vbscript: Added beginning GetDispID implementation. 2011-09-15 19:13:15 +02:00
Jacek Caban 8fb2b985dc vbscript: Added class function compiler implementation. 2011-09-15 19:13:15 +02:00
Jacek Caban ee67bc7a37 vbscript: Added class functions parser implementation. 2011-09-15 19:13:10 +02:00
Jacek Caban 3862cdab4f vbscript: Added function storage specifiers support. 2011-09-15 15:45:00 +02:00
Jacek Caban dfc74ac04a vbscript: Added obj member call test. 2011-09-15 15:44:56 +02:00
Jacek Caban a6ee830fd2 vbscript: Added object member call implementation. 2011-09-15 15:44:52 +02:00