Commit Graph

279 Commits

Author SHA1 Message Date
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
Jacek Caban 9848d6be2e vbscript: Added interp_nothing implementation and tests. 2011-09-15 15:44:48 +02:00
Jacek Caban 8864c8dbae vbscript: Added nothing literal parser/compiler implementation. 2011-09-15 15:44:44 +02:00
Jacek Caban efc59d1b19 vbscript: Store class_desc_t in vbdisp_t. 2011-09-15 15:44:41 +02:00
Jacek Caban fb57bc21b8 vbscript: Added interp_new implementation. 2011-09-15 15:44:37 +02:00
Jacek Caban 408a1bf682 vbscript: Added new expression parser/compiler implemetation. 2011-09-15 15:44:33 +02:00
Jacek Caban f683832ac1 vbscript: Added interp_set_ident implementation. 2011-09-15 15:44:28 +02:00
Jacek Caban b3a6217ed3 vbscript: Added set statement parser/compiler implementation. 2011-09-15 15:44:25 +02:00
Jacek Caban e8797c29b5 vbscript: Added class compiler implementation. 2011-09-15 15:44:20 +02:00
Jacek Caban 80ad3a23fa vbscript: Added class parser implementation. 2011-09-15 15:44:16 +02:00
Jacek Caban 429bac4c86 vbscript: Added interp_imp implementation. 2011-09-14 17:00:19 +02:00
Jacek Caban 89c9a737f4 vbscript: Added interp_eqv implementation. 2011-09-14 17:00:19 +02:00
Jacek Caban f17b35fdeb vbscript: Added interp_xor implementation. 2011-09-14 17:00:19 +02:00
Jacek Caban 43d10693ca vbscript: Added xor, imp and eqv expressions parser/compiler implementation. 2011-09-14 17:00:19 +02:00
Jacek Caban 4916c1b26c vbscript: Added interp_or implementation. 2011-09-14 17:00:19 +02:00
Jacek Caban fae7352f93 vbscript: Added 'or' expression parser/compiler implementation. 2011-09-14 17:00:19 +02:00
Jacek Caban 091f243051 vbscript: Added interp_and implementation. 2011-09-14 17:00:19 +02:00
Jacek Caban 69de07981a vbscript: Added 'and' expression parser/compiler implementation. 2011-09-14 17:00:18 +02:00
Jacek Caban f9edb683d2 vbscript: Added support for returning value from function. 2011-09-14 17:00:18 +02:00
Jacek Caban 1cefcdb6b7 vbscript: Added Exit Function statement implementation. 2011-09-14 17:00:18 +02:00
Jacek Caban 78957118fb vbscript: Added function parser implementation. 2011-09-14 17:00:08 +02:00
Jacek Caban 0b9b021aa3 vbscript: Added support for sub local variables. 2011-09-14 14:56:36 +02:00
Jacek Caban d04ba41aa9 vbscript: Added exit sub statement implementation. 2011-09-14 14:56:32 +02:00
Jacek Caban 1936dd7ee7 vbscript: Added sub argument tests. 2011-09-14 14:56:27 +02:00
Jacek Caban c846a5925b vbscript: Added interpreter support for sub arguments. 2011-09-14 14:56:21 +02:00
Jacek Caban 0c0b252c24 vbscript: Added function arguments compiler implementation. 2011-09-14 14:56:17 +02:00
Jacek Caban 48d04b220b vbscript: Added function invocation supprot to do_icall. 2011-09-14 14:56:11 +02:00
Jacek Caban f00a8ec04d vbscript: Added functions lookup implementation. 2011-09-14 14:56:06 +02:00
Jacek Caban 190ea00010 vbscript: Store global functions in script_ctx_t. 2011-09-14 14:56:02 +02:00
Jacek Caban 413bc99044 vbscript: Added function compiler implementation. 2011-09-14 14:55:51 +02:00
Jacek Caban d220dd291e vbscript: Added sub statement parser implementation. 2011-09-14 14:55:49 +02:00
Gerald Pfeifer d685a07f22 vbscript: Add missing error handling in interp_jmp_false. 2011-09-14 11:08:00 +02:00
Jacek Caban 143a488508 vbscript: Added interp_exp implementation. 2011-09-13 17:17:00 +02:00
Jacek Caban b5d8554f1e vbscript: Added exp expression parser/compiler implementation. 2011-09-13 17:17:00 +02:00
Jacek Caban 9db2d7c352 vbscript: Added interp_div implementation. 2011-09-13 17:17:00 +02:00
Jacek Caban 8a526743a1 vbscript: Added interp_mul implementation. 2011-09-13 17:17:00 +02:00
Jacek Caban 2f3c235a44 vbscript: Added multiplicative expression parser/compiler implementation. 2011-09-13 17:17:00 +02:00
Jacek Caban 80eff04037 vbscript: Added interp_idiv implementation. 2011-09-13 17:17:00 +02:00
Jacek Caban 3c47b1d2f0 vbscript: Added '\' expression parser/compiler implementation. 2011-09-13 17:17:00 +02:00
Jacek Caban bb62059cc9 vbscript: Added interp_mod implementation. 2011-09-13 17:17:00 +02:00
Jacek Caban 1c2ec6d44f vbscript: Added mod expression parser/compiler implementation. 2011-09-13 17:17:00 +02:00
Jacek Caban d44940cc6a vbscript: Added bytecode decompiler implementation. 2011-09-13 17:16:59 +02:00
Jacek Caban d028453f58 vbscript: Added if statement tests. 2011-09-13 17:16:59 +02:00
Jacek Caban 0722695cc0 vbscript: Added interp_jmp_false implementation. 2011-09-13 17:16:59 +02:00
Jacek Caban 8689884c19 vbscript: Added interp_jmp implementation. 2011-09-13 17:16:59 +02:00
Jacek Caban 58bd62e76d vbscript: Added if statement compiler implementation. 2011-09-13 17:16:59 +02:00
Jacek Caban df3adde186 vbscript: Added if statement parser implementation. 2011-09-13 17:16:59 +02:00
Jacek Caban 79c88ea6c0 vbscript: Added support for variable assignment statements. 2011-09-13 17:16:59 +02:00
Jacek Caban 07b542cc08 vbscript: Added variable value expression support. 2011-09-13 17:16:59 +02:00
Jacek Caban d1c152756c vbscript: Added dim statement compiler implementation. 2011-09-13 17:16:59 +02:00
Jacek Caban 924da4056b vbscript: Added dim statement parser implementation. 2011-09-13 17:16:59 +02:00
Jacek Caban 29ccac7966 vbscript: Added object member assignment tests. 2011-09-13 17:16:59 +02:00
Jacek Caban 151056bde2 vbscript: Added interp_assign_member implementation. 2011-09-13 17:16:59 +02:00
Jacek Caban a822569db2 vbscipt: Added object member assign parser/compiler implementation. 2011-09-13 17:16:59 +02:00
Jacek Caban d9659a6502 vbscript: Added assign statement tests. 2011-09-12 16:49:56 +02:00
Jacek Caban 2083935c64 vbscript: Added interp_assign_ident implementation. 2011-09-12 16:49:56 +02:00
Jacek Caban 3c85122e05 vbscript: Added assign statement compiler implementation. 2011-09-12 16:49:56 +02:00
Jacek Caban e63c447228 vbscript: Added assign statement parser implementation. 2011-09-12 16:49:56 +02:00
Jacek Caban 43f6a6842a vbscript: Added '<>' expression implementation. 2011-09-12 16:49:56 +02:00
Jacek Caban 324aadd2a9 vbscript: Added interp_sub implementation. 2011-09-12 16:49:55 +02:00
Jacek Caban 03c8284843 vbscript: Added interp_add implementation. 2011-09-12 16:49:55 +02:00
Jacek Caban 0ec9339533 vbscript: Added additive expressions parser/compiler implementation. 2011-09-12 16:49:55 +02:00
Jacek Caban 8e1ccb8be6 vbscript: Added interp_neg implementation. 2011-09-12 16:49:55 +02:00
Jacek Caban fb5509ec06 vbscript: Added negation expression parser/compiler implementation. 2011-09-12 16:49:55 +02:00
Jacek Caban a5fe24c61d vbscript: Added concatenation tests. 2011-09-12 16:49:55 +02:00
Jacek Caban fad15f782a vbscript: Added interp_concat implementation. 2011-09-12 16:49:55 +02:00
Jacek Caban e06017b2a3 vbscript: Added concatenation expression parser/compiler support. 2011-09-12 16:49:55 +02:00
Jacek Caban e5d25a170a vbscript: Added hex literal implementation. 2011-09-12 16:49:55 +02:00
Jacek Caban 66d3dd4b7e vbscript: Added interpreter support for numeric literals. 2011-09-12 16:49:42 +02:00
Jacek Caban 880d706636 vbscript: Added compiler support for numeric literals. 2011-09-12 14:03:30 +02:00
Jacek Caban 7f835c969e vbscript: Added parser support for numeric literals. 2011-09-12 14:03:28 +02:00
Jacek Caban 1e224b4e09 vbscript: Added lexer support for numeric literals. 2011-09-12 14:03:25 +02:00
Jacek Caban bb80eaa492 vbscript: Don't leak memory in parser. 2011-09-12 14:03:23 +02:00
Jacek Caban 5b8cde66f1 vbscript: Make vbscode_t own the memory it uses. 2011-09-12 14:03:21 +02:00
Jacek Caban e5eaf4d222 vbscript: Added lexer support for remaining equality expressions. 2011-09-12 14:03:19 +02:00
Jacek Caban 4520815c02 vbscript: Added null literal support. 2011-09-09 15:04:14 +02:00
Jacek Caban 6d8f84e533 vbscript: Added empty literal support. 2011-09-09 15:04:10 +02:00
Jacek Caban ddc47d6974 vbscript: Added more tests. 2011-09-09 15:04:01 +02:00
Jacek Caban 62a2154572 vbscript: Added interp_icall implementation. 2011-09-09 15:03:56 +02:00
Jacek Caban 114ffc8720 vbscript: Added compiler/parser support for call expressions. 2011-09-09 15:03:54 +02:00
Jacek Caban 6d7ec9cf71 vbscript: Added interp_equal implementation. 2011-09-09 15:03:49 +02:00
Jacek Caban eb88228b62 vbscript: Added compiler support for equality expression. 2011-09-09 15:03:46 +02:00
Jacek Caban 82b7651841 vbscript: Added parser support for equality expression. 2011-09-09 15:03:43 +02:00
Jacek Caban 6ca3cb623e vbscript: Added interp_not implementation. 2011-09-09 15:03:39 +02:00
Jacek Caban 7f9464ce27 vbscript: Added compiler support for |not| expression. 2011-09-09 15:03:27 +02:00
Jacek Caban 39dd08ad7d vbscript: Added parser support for |not| expression. 2011-09-09 15:03:18 +02:00
Jacek Caban a17f9aa07a vbscript: Added support for parentheses in expressions. 2011-09-09 15:03:16 +02:00
Jacek Caban 8108b4040c vbscript: Added parser/compiler support for |option explicit|. 2011-09-09 15:03:14 +02:00
Jacek Caban a921bd2ea4 vbscript: Added support for |f a, b, c| call statement. 2011-09-09 15:03:12 +02:00
Jacek Caban 1c1da3e596 vbscript: Added more tests. 2011-09-08 20:08:09 +02:00
Jacek Caban e7f582e89c vbscript: Added support for arguments in interp_icallv. 2011-09-08 20:08:09 +02:00
Jacek Caban 2cbbf57179 vbscript: Added interp_string implementation. 2011-09-08 20:08:09 +02:00
Jacek Caban 01e2bea114 vbscript: Added interp_bool implementation. 2011-09-08 20:08:09 +02:00
Jacek Caban ded37832fb vbscript: Added compiler support for string literals. 2011-09-08 20:08:08 +02:00
Jacek Caban 23c1fea07e vbscript: Added compiler support for boolean literals. 2011-09-08 20:08:08 +02:00
Jacek Caban dc73a7c4bb vbscript: Added parser support for string literals. 2011-09-08 20:08:08 +02:00
Jacek Caban 0e415e0c0f vbscript: Added lexer support for string literals. 2011-09-08 20:08:08 +02:00
Jacek Caban d145d0c037 vbscript: Added bool literals parsing support. 2011-09-08 20:08:08 +02:00
Jacek Caban 7cbc5235bd vbscript: Added more keywords to lexer. 2011-09-08 20:08:08 +02:00
Jacek Caban 23fc7678de vbscript: Added Call statement implementation. 2011-09-08 20:08:08 +02:00
Jacek Caban b6e9a83d78 vbscript: Added support for call keyword in lexer. 2011-09-08 20:08:08 +02:00
Jacek Caban 69dcc641df vbscript: Better function call parsing. 2011-09-08 20:08:08 +02:00
Jacek Caban 1ac1ffba11 vbscript: Added support for a few more characters in lexer. 2011-09-08 20:08:08 +02:00
Jacek Caban 6e749ba5dc vbscript: Added simple call test. 2011-09-08 20:08:08 +02:00
Jacek Caban 9d7552205c vbscript: Added interp_icallv implementation. 2011-09-08 20:08:08 +02:00
Jacek Caban 060255d084 vbscript: Store call identifier as BSTR. 2011-09-08 20:08:07 +02:00
Jacek Caban 5ecf436449 vbscript: Added call statement compilation implementation. 2011-09-07 18:13:29 +02:00
Jacek Caban 6c5570297e vbscript: Added function call statement parsing beginning implementation. 2011-09-07 18:13:29 +02:00
Jacek Caban 91cc7bd719 vbscript: Added identifiers support to lexer. 2011-09-07 18:13:29 +02:00
Jacek Caban 9f8492692c vbscript: Added lexer support for newlines and comments. 2011-09-07 18:13:29 +02:00
Jacek Caban c03cecab39 vbscript: Added beginning script running tests. 2011-09-07 18:13:29 +02:00