kramm [Tue, 6 Jan 2009 21:35:06 +0000 (21:35 +0000)]
changed flags2access calls to flags2namespace
kramm [Tue, 6 Jan 2009 21:34:55 +0000 (21:34 +0000)]
made ^ left-associative
kramm [Tue, 6 Jan 2009 21:34:44 +0000 (21:34 +0000)]
added '|=' implementation
kramm [Tue, 6 Jan 2009 21:34:27 +0000 (21:34 +0000)]
slight interface changes
kramm [Tue, 6 Jan 2009 21:33:53 +0000 (21:33 +0000)]
uses compiler.h now instead of doing everything itself
kramm [Tue, 6 Jan 2009 21:33:45 +0000 (21:33 +0000)]
added cleanup code
kramm [Tue, 6 Jan 2009 21:33:34 +0000 (21:33 +0000)]
don't clean up after the last file, so that exceptoins during closing have a proper filename and line number
kramm [Tue, 6 Jan 2009 21:33:26 +0000 (21:33 +0000)]
renamed syntaxerror to as3_error, added a warning
kramm [Tue, 6 Jan 2009 21:32:54 +0000 (21:32 +0000)]
moved flex exports to tokenizer.h
kramm [Tue, 6 Jan 2009 21:32:47 +0000 (21:32 +0000)]
added simple interface to the parser
kramm [Tue, 6 Jan 2009 21:32:06 +0000 (21:32 +0000)]
added assert() in cut_last_push
kramm [Tue, 6 Jan 2009 21:31:57 +0000 (21:31 +0000)]
merged code_find_start and code_start
kramm [Tue, 6 Jan 2009 21:31:45 +0000 (21:31 +0000)]
exported abc_initscript_addClassTrait
kramm [Tue, 6 Jan 2009 21:31:37 +0000 (21:31 +0000)]
new function abc_initscript()
kramm [Tue, 6 Jan 2009 21:31:26 +0000 (21:31 +0000)]
renamed code_dump() to code_dump2(), code_dump() only takes one argument
kramm [Tue, 6 Jan 2009 21:31:16 +0000 (21:31 +0000)]
removed return type parameter from abc_initscript(), added function swf_AddAS3FontDefine()
kramm [Tue, 6 Jan 2009 21:31:03 +0000 (21:31 +0000)]
fixed dependencies
kramm [Tue, 6 Jan 2009 21:30:55 +0000 (21:30 +0000)]
the tokenizer/parser/compiler files are now compiled by ../Makefile
kramm [Tue, 6 Jan 2009 21:30:44 +0000 (21:30 +0000)]
reshuffled flags
kramm [Tue, 6 Jan 2009 21:30:33 +0000 (21:30 +0000)]
added flags2namespace function
kramm [Tue, 6 Jan 2009 21:30:21 +0000 (21:30 +0000)]
renamed access08 to namespace
kramm [Tue, 6 Jan 2009 21:30:09 +0000 (21:30 +0000)]
added namespace handling
kramm [Tue, 6 Jan 2009 21:29:57 +0000 (21:29 +0000)]
regenerated
kramm [Tue, 6 Jan 2009 21:29:27 +0000 (21:29 +0000)]
test hex floats, too
kramm [Tue, 6 Jan 2009 21:29:17 +0000 (21:29 +0000)]
test case for finally, with more complicated finally blocks
kramm [Tue, 6 Jan 2009 21:28:57 +0000 (21:28 +0000)]
simplified one test case so that insert_finally_simple() is used
kramm [Tue, 6 Jan 2009 21:28:49 +0000 (21:28 +0000)]
test unexpected (non-local) exceptions, too
kramm [Tue, 6 Jan 2009 21:28:38 +0000 (21:28 +0000)]
added more tests
kramm [Tue, 6 Jan 2009 21:28:30 +0000 (21:28 +0000)]
added test for ?: statement
kramm [Tue, 6 Jan 2009 21:28:22 +0000 (21:28 +0000)]
new test case for reconcile problems
kramm [Tue, 6 Jan 2009 21:28:02 +0000 (21:28 +0000)]
new test, for package paths
kramm [Tue, 6 Jan 2009 21:27:42 +0000 (21:27 +0000)]
test variables of type class, too
kramm [Tue, 6 Jan 2009 21:27:31 +0000 (21:27 +0000)]
test for namespaces
kramm [Tue, 6 Jan 2009 21:27:23 +0000 (21:27 +0000)]
test for 'use namespace'
kramm [Tue, 6 Jan 2009 21:27:03 +0000 (21:27 +0000)]
added a few local vars, to check for reconcile problems
kramm [Tue, 6 Jan 2009 21:26:52 +0000 (21:26 +0000)]
test for regular expressions
kramm [Tue, 6 Jan 2009 21:26:32 +0000 (21:26 +0000)]
test x|y|z
kramm [Tue, 6 Jan 2009 21:26:21 +0000 (21:26 +0000)]
added check for |=
kramm [Tue, 6 Jan 2009 21:26:10 +0000 (21:26 +0000)]
fixed vertical alignment bug
kramm [Tue, 6 Jan 2009 21:25:54 +0000 (21:25 +0000)]
upgraded exportfont to flash version 9
kramm [Tue, 6 Jan 2009 21:25:42 +0000 (21:25 +0000)]
SWF are local-with-network by default, now
kramm [Fri, 2 Jan 2009 21:22:03 +0000 (21:22 +0000)]
new keyword 'with'
kramm [Fri, 2 Jan 2009 21:21:51 +0000 (21:21 +0000)]
implemented 'with'
kramm [Fri, 2 Jan 2009 21:21:37 +0000 (21:21 +0000)]
test for global var assignment
kramm [Fri, 2 Jan 2009 21:05:35 +0000 (21:05 +0000)]
new keyword throw
kramm [Fri, 2 Jan 2009 21:05:23 +0000 (21:05 +0000)]
implemented throw and try/catch
kramm [Fri, 2 Jan 2009 21:04:55 +0000 (21:04 +0000)]
new function code_start()
kramm [Fri, 2 Jan 2009 19:56:39 +0000 (19:56 +0000)]
new function dict_contains
kramm [Fri, 2 Jan 2009 19:56:27 +0000 (19:56 +0000)]
moved test programs to optional targer
kramm [Fri, 2 Jan 2009 19:56:16 +0000 (19:56 +0000)]
new keywords in,each
kramm [Fri, 2 Jan 2009 19:56:07 +0000 (19:56 +0000)]
fixed bug in for/do/while/switch
kramm [Fri, 2 Jan 2009 19:55:57 +0000 (19:55 +0000)]
new keywords try,case,catch,default,switch
kramm [Fri, 2 Jan 2009 19:55:48 +0000 (19:55 +0000)]
added special tokens for for/do/while
kramm [Fri, 2 Jan 2009 19:55:39 +0000 (19:55 +0000)]
new keywords do, continue
kramm [Fri, 2 Jan 2009 19:55:30 +0000 (19:55 +0000)]
added instanceof keyword
kramm [Fri, 2 Jan 2009 19:55:19 +0000 (19:55 +0000)]
fixed bug in hex parsing
kramm [Fri, 2 Jan 2009 19:55:06 +0000 (19:55 +0000)]
moved flag definitions to registry.h
kramm [Fri, 2 Jan 2009 19:54:58 +0000 (19:54 +0000)]
new helper structs codeandnumber, for_start
kramm [Fri, 2 Jan 2009 19:54:50 +0000 (19:54 +0000)]
reshuffled flags
kramm [Fri, 2 Jan 2009 19:54:15 +0000 (19:54 +0000)]
use ptroff as type for slot in union
kramm [Fri, 2 Jan 2009 19:54:04 +0000 (19:54 +0000)]
new function memberinfo_register_global
kramm [Fri, 2 Jan 2009 19:53:56 +0000 (19:53 +0000)]
fixed a mem leak
kramm [Fri, 2 Jan 2009 19:53:48 +0000 (19:53 +0000)]
findmember now recursively scans superclasses, memberinfo now has a parent
kramm [Fri, 2 Jan 2009 19:53:40 +0000 (19:53 +0000)]
added getarrayclass()
kramm [Fri, 2 Jan 2009 19:53:29 +0000 (19:53 +0000)]
added support for global slots
kramm [Fri, 2 Jan 2009 19:53:18 +0000 (19:53 +0000)]
implemented class init code
kramm [Fri, 2 Jan 2009 19:53:07 +0000 (19:53 +0000)]
fixed bug in variable allocation
kramm [Fri, 2 Jan 2009 19:52:56 +0000 (19:52 +0000)]
implemented global methods
kramm [Fri, 2 Jan 2009 19:52:45 +0000 (19:52 +0000)]
kill temporary variable of 'dup2' workaround
kramm [Fri, 2 Jan 2009 19:52:34 +0000 (19:52 +0000)]
fixed reconcile bug in assignment
kramm [Fri, 2 Jan 2009 19:52:23 +0000 (19:52 +0000)]
implemented in
kramm [Fri, 2 Jan 2009 19:52:12 +0000 (19:52 +0000)]
implemented for(in), for each(in)
kramm [Fri, 2 Jan 2009 19:52:01 +0000 (19:52 +0000)]
implemented overriding
kramm [Fri, 2 Jan 2009 19:51:50 +0000 (19:51 +0000)]
refined switch fallthrough handling
kramm [Fri, 2 Jan 2009 19:51:39 +0000 (19:51 +0000)]
implemented switch
kramm [Fri, 2 Jan 2009 19:51:28 +0000 (19:51 +0000)]
added implementation for dict-style objects
kramm [Fri, 2 Jan 2009 19:51:17 +0000 (19:51 +0000)]
small fix in dynamic handling
kramm [Fri, 2 Jan 2009 19:51:06 +0000 (19:51 +0000)]
fixed bug in while(){continue};
kramm [Fri, 2 Jan 2009 19:50:55 +0000 (19:50 +0000)]
fixed segfault in ok/interface.as
kramm [Fri, 2 Jan 2009 19:50:44 +0000 (19:50 +0000)]
fixed bug in break/continue w/ label
kramm [Fri, 2 Jan 2009 19:50:33 +0000 (19:50 +0000)]
added do-while, break label, continue (label)
kramm [Fri, 2 Jan 2009 19:50:19 +0000 (19:50 +0000)]
implemented arrays
kramm [Fri, 2 Jan 2009 19:50:08 +0000 (19:50 +0000)]
added call support for global functions
kramm [Fri, 2 Jan 2009 19:49:57 +0000 (19:49 +0000)]
construct superclass in default constructor
kramm [Fri, 2 Jan 2009 19:49:46 +0000 (19:49 +0000)]
simplified default constructor generation
kramm [Fri, 2 Jan 2009 19:49:35 +0000 (19:49 +0000)]
use labels for backward jumps, nop for forward jumps
kramm [Fri, 2 Jan 2009 19:49:24 +0000 (19:49 +0000)]
use label more sparingly, it might confuse the verifier
kramm [Fri, 2 Jan 2009 19:49:13 +0000 (19:49 +0000)]
added instanceof operator
kramm [Fri, 2 Jan 2009 19:49:02 +0000 (19:49 +0000)]
fixed bug in MEMBER_MULTINAME
kramm [Fri, 2 Jan 2009 19:48:51 +0000 (19:48 +0000)]
fixed Number default value
kramm [Fri, 2 Jan 2009 19:48:40 +0000 (19:48 +0000)]
removed a few initcode relicts
kramm [Fri, 2 Jan 2009 19:47:43 +0000 (19:47 +0000)]
dump out parent
kramm [Fri, 2 Jan 2009 19:47:35 +0000 (19:47 +0000)]
store global functions as classes, too
kramm [Fri, 2 Jan 2009 19:47:24 +0000 (19:47 +0000)]
fixed mem leaks
kramm [Fri, 2 Jan 2009 19:47:16 +0000 (19:47 +0000)]
radically reduced default size. makes running tests faster.
kramm [Fri, 2 Jan 2009 19:47:05 +0000 (19:47 +0000)]
refined cut_last_push
kramm [Fri, 2 Jan 2009 19:46:56 +0000 (19:46 +0000)]
added missing \n in fprintf(stderr)
kramm [Fri, 2 Jan 2009 19:46:47 +0000 (19:46 +0000)]
added fallthrough opcode
kramm [Fri, 2 Jan 2009 19:46:37 +0000 (19:46 +0000)]
dump out a method id for opcodes with a method index
kramm [Fri, 2 Jan 2009 19:46:28 +0000 (19:46 +0000)]
cutlastpush now handles newobject, newarray, too