Commit Graph

309 Commits

Author SHA1 Message Date
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
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