swftools.git
15 years agoadded as3 compiler objects
kramm [Tue, 6 Jan 2009 21:38:31 +0000 (21:38 +0000)]
added as3 compiler objects

15 years agoadded move to front optimization
kramm [Tue, 6 Jan 2009 21:38:09 +0000 (21:38 +0000)]
added move to front optimization

15 years agonew function list_concat
kramm [Tue, 6 Jan 2009 21:38:00 +0000 (21:38 +0000)]
new function list_concat

15 years agoadded finally keyword
kramm [Tue, 6 Jan 2009 21:37:47 +0000 (21:37 +0000)]
added finally keyword

15 years agoimplemented hex floats, added softwarning log level
kramm [Tue, 6 Jan 2009 21:37:39 +0000 (21:37 +0000)]
implemented hex floats, added softwarning log level

15 years agoadded \' escape handling
kramm [Tue, 6 Jan 2009 21:37:29 +0000 (21:37 +0000)]
added \' escape handling

15 years agosmall optimizations, improved regexp handling
kramm [Tue, 6 Jan 2009 21:37:20 +0000 (21:37 +0000)]
small optimizations, improved regexp handling

15 years agoswitched more integer overflows from error reporting to float casting
kramm [Tue, 6 Jan 2009 21:37:11 +0000 (21:37 +0000)]
switched more integer overflows from error reporting to float casting

15 years agoconvert integers to float if they're too large
kramm [Tue, 6 Jan 2009 21:37:02 +0000 (21:37 +0000)]
convert integers to float if they're too large

15 years agoexport flex definitions
kramm [Tue, 6 Jan 2009 21:36:50 +0000 (21:36 +0000)]
export flex definitions

15 years agorenamed syntaxerror to as3_error, added as3_softwarning
kramm [Tue, 6 Jan 2009 21:36:42 +0000 (21:36 +0000)]
renamed syntaxerror to as3_error, added as3_softwarning

15 years agoadded regexp helper struct
kramm [Tue, 6 Jan 2009 21:36:34 +0000 (21:36 +0000)]
added regexp helper struct

15 years agooptimizations and bugfixes for finally
kramm [Tue, 6 Jan 2009 21:36:23 +0000 (21:36 +0000)]
optimizations and bugfixes for finally

15 years agoimplemented finally
kramm [Tue, 6 Jan 2009 21:36:12 +0000 (21:36 +0000)]
implemented finally

15 years agoadded stub for inner functions
kramm [Tue, 6 Jan 2009 21:36:01 +0000 (21:36 +0000)]
added stub for inner functions

15 years agomulti file support, switched a few warnings to softwarnings
kramm [Tue, 6 Jan 2009 21:35:50 +0000 (21:35 +0000)]
multi file support, switched a few warnings to softwarnings

15 years agofixed globalvarassign test case
kramm [Tue, 6 Jan 2009 21:35:39 +0000 (21:35 +0000)]
fixed globalvarassign test case

15 years agomore reconcile fixes, optimized ++
kramm [Tue, 6 Jan 2009 21:35:28 +0000 (21:35 +0000)]
more reconcile fixes, optimized ++

15 years agofixed reconcile bug, moved local var initialization to the top of code blocks
kramm [Tue, 6 Jan 2009 21:35:17 +0000 (21:35 +0000)]
fixed reconcile bug, moved local var initialization to the top of code blocks

15 years agochanged flags2access calls to flags2namespace
kramm [Tue, 6 Jan 2009 21:35:06 +0000 (21:35 +0000)]
changed flags2access calls to flags2namespace

15 years agomade ^ left-associative
kramm [Tue, 6 Jan 2009 21:34:55 +0000 (21:34 +0000)]
made ^ left-associative

15 years agoadded '|=' implementation
kramm [Tue, 6 Jan 2009 21:34:44 +0000 (21:34 +0000)]
added '|=' implementation

15 years agoslight interface changes
kramm [Tue, 6 Jan 2009 21:34:27 +0000 (21:34 +0000)]
slight interface changes

15 years agouses compiler.h now instead of doing everything itself
kramm [Tue, 6 Jan 2009 21:33:53 +0000 (21:33 +0000)]
uses compiler.h now instead of doing everything itself

15 years agoadded cleanup code
kramm [Tue, 6 Jan 2009 21:33:45 +0000 (21:33 +0000)]
added cleanup code

15 years agodon't clean up after the last file, so that exceptoins during closing have a proper...
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

15 years agorenamed syntaxerror to as3_error, added a warning
kramm [Tue, 6 Jan 2009 21:33:26 +0000 (21:33 +0000)]
renamed syntaxerror to as3_error, added a warning

15 years agomoved flex exports to tokenizer.h
kramm [Tue, 6 Jan 2009 21:32:54 +0000 (21:32 +0000)]
moved flex exports to tokenizer.h

15 years agoadded simple interface to the parser
kramm [Tue, 6 Jan 2009 21:32:47 +0000 (21:32 +0000)]
added simple interface to the parser

15 years agoadded assert() in cut_last_push
kramm [Tue, 6 Jan 2009 21:32:06 +0000 (21:32 +0000)]
added assert() in cut_last_push

15 years agomerged code_find_start and code_start
kramm [Tue, 6 Jan 2009 21:31:57 +0000 (21:31 +0000)]
merged code_find_start and code_start

15 years agoexported abc_initscript_addClassTrait
kramm [Tue, 6 Jan 2009 21:31:45 +0000 (21:31 +0000)]
exported abc_initscript_addClassTrait

15 years agonew function abc_initscript()
kramm [Tue, 6 Jan 2009 21:31:37 +0000 (21:31 +0000)]
new function abc_initscript()

15 years agorenamed code_dump() to code_dump2(), code_dump() only takes one argument
kramm [Tue, 6 Jan 2009 21:31:26 +0000 (21:31 +0000)]
renamed code_dump() to code_dump2(), code_dump() only takes one argument

15 years agoremoved return type parameter from abc_initscript(), added function swf_AddAS3FontDef...
kramm [Tue, 6 Jan 2009 21:31:16 +0000 (21:31 +0000)]
removed return type parameter from abc_initscript(), added function swf_AddAS3FontDefine()

15 years agofixed dependencies
kramm [Tue, 6 Jan 2009 21:31:03 +0000 (21:31 +0000)]
fixed dependencies

15 years agothe tokenizer/parser/compiler files are now compiled by ../Makefile
kramm [Tue, 6 Jan 2009 21:30:55 +0000 (21:30 +0000)]
the tokenizer/parser/compiler files are now compiled by ../Makefile

15 years agoreshuffled flags
kramm [Tue, 6 Jan 2009 21:30:44 +0000 (21:30 +0000)]
reshuffled flags

15 years agoadded flags2namespace function
kramm [Tue, 6 Jan 2009 21:30:33 +0000 (21:30 +0000)]
added flags2namespace function

15 years agorenamed access08 to namespace
kramm [Tue, 6 Jan 2009 21:30:21 +0000 (21:30 +0000)]
renamed access08 to namespace

15 years agoadded namespace handling
kramm [Tue, 6 Jan 2009 21:30:09 +0000 (21:30 +0000)]
added namespace handling

15 years agoregenerated
kramm [Tue, 6 Jan 2009 21:29:57 +0000 (21:29 +0000)]
regenerated

15 years agotest hex floats, too
kramm [Tue, 6 Jan 2009 21:29:27 +0000 (21:29 +0000)]
test hex floats, too

15 years agotest case for finally, with more complicated finally blocks
kramm [Tue, 6 Jan 2009 21:29:17 +0000 (21:29 +0000)]
test case for finally, with more complicated finally blocks

15 years agosimplified one test case so that insert_finally_simple() is used
kramm [Tue, 6 Jan 2009 21:28:57 +0000 (21:28 +0000)]
simplified one test case so that insert_finally_simple() is used

15 years agotest unexpected (non-local) exceptions, too
kramm [Tue, 6 Jan 2009 21:28:49 +0000 (21:28 +0000)]
test unexpected (non-local) exceptions, too

15 years agoadded more tests
kramm [Tue, 6 Jan 2009 21:28:38 +0000 (21:28 +0000)]
added more tests

15 years agoadded test for ?: statement
kramm [Tue, 6 Jan 2009 21:28:30 +0000 (21:28 +0000)]
added test for ?: statement

15 years agonew test case for reconcile problems
kramm [Tue, 6 Jan 2009 21:28:22 +0000 (21:28 +0000)]
new test case for reconcile problems

15 years agonew test, for package paths
kramm [Tue, 6 Jan 2009 21:28:02 +0000 (21:28 +0000)]
new test, for package paths

15 years agotest variables of type class, too
kramm [Tue, 6 Jan 2009 21:27:42 +0000 (21:27 +0000)]
test variables of type class, too

15 years agotest for namespaces
kramm [Tue, 6 Jan 2009 21:27:31 +0000 (21:27 +0000)]
test for namespaces

15 years agotest for 'use namespace'
kramm [Tue, 6 Jan 2009 21:27:23 +0000 (21:27 +0000)]
test for 'use namespace'

15 years agoadded a few local vars, to check for reconcile problems
kramm [Tue, 6 Jan 2009 21:27:03 +0000 (21:27 +0000)]
added a few local vars, to check for reconcile problems

15 years agotest for regular expressions
kramm [Tue, 6 Jan 2009 21:26:52 +0000 (21:26 +0000)]
test for regular expressions

15 years agotest x|y|z
kramm [Tue, 6 Jan 2009 21:26:32 +0000 (21:26 +0000)]
test x|y|z

15 years agoadded check for |=
kramm [Tue, 6 Jan 2009 21:26:21 +0000 (21:26 +0000)]
added check for |=

15 years agofixed vertical alignment bug
kramm [Tue, 6 Jan 2009 21:26:10 +0000 (21:26 +0000)]
fixed vertical alignment bug

15 years agoupgraded exportfont to flash version 9
kramm [Tue, 6 Jan 2009 21:25:54 +0000 (21:25 +0000)]
upgraded exportfont to flash version 9

15 years agoSWF are local-with-network by default, now
kramm [Tue, 6 Jan 2009 21:25:42 +0000 (21:25 +0000)]
SWF are local-with-network by default, now

15 years agonew keyword 'with'
kramm [Fri, 2 Jan 2009 21:22:03 +0000 (21:22 +0000)]
new keyword 'with'

15 years agoimplemented 'with'
kramm [Fri, 2 Jan 2009 21:21:51 +0000 (21:21 +0000)]
implemented 'with'

15 years agotest for global var assignment
kramm [Fri, 2 Jan 2009 21:21:37 +0000 (21:21 +0000)]
test for global var assignment

15 years agonew keyword throw
kramm [Fri, 2 Jan 2009 21:05:35 +0000 (21:05 +0000)]
new keyword throw

15 years agoimplemented throw and try/catch
kramm [Fri, 2 Jan 2009 21:05:23 +0000 (21:05 +0000)]
implemented throw and try/catch

15 years agonew function code_start()
kramm [Fri, 2 Jan 2009 21:04:55 +0000 (21:04 +0000)]
new function code_start()

15 years agonew function dict_contains
kramm [Fri, 2 Jan 2009 19:56:39 +0000 (19:56 +0000)]
new function dict_contains

15 years agomoved test programs to optional targer
kramm [Fri, 2 Jan 2009 19:56:27 +0000 (19:56 +0000)]
moved test programs to optional targer

15 years agonew keywords in,each
kramm [Fri, 2 Jan 2009 19:56:16 +0000 (19:56 +0000)]
new keywords in,each

15 years agofixed bug in for/do/while/switch
kramm [Fri, 2 Jan 2009 19:56:07 +0000 (19:56 +0000)]
fixed bug in for/do/while/switch

15 years agonew keywords try,case,catch,default,switch
kramm [Fri, 2 Jan 2009 19:55:57 +0000 (19:55 +0000)]
new keywords try,case,catch,default,switch

15 years agoadded special tokens for for/do/while
kramm [Fri, 2 Jan 2009 19:55:48 +0000 (19:55 +0000)]
added special tokens for for/do/while

15 years agonew keywords do, continue
kramm [Fri, 2 Jan 2009 19:55:39 +0000 (19:55 +0000)]
new keywords do, continue

15 years agoadded instanceof keyword
kramm [Fri, 2 Jan 2009 19:55:30 +0000 (19:55 +0000)]
added instanceof keyword

15 years agofixed bug in hex parsing
kramm [Fri, 2 Jan 2009 19:55:19 +0000 (19:55 +0000)]
fixed bug in hex parsing

15 years agomoved flag definitions to registry.h
kramm [Fri, 2 Jan 2009 19:55:06 +0000 (19:55 +0000)]
moved flag definitions to registry.h

15 years agonew helper structs codeandnumber, for_start
kramm [Fri, 2 Jan 2009 19:54:58 +0000 (19:54 +0000)]
new helper structs codeandnumber, for_start

15 years agoreshuffled flags
kramm [Fri, 2 Jan 2009 19:54:50 +0000 (19:54 +0000)]
reshuffled flags

15 years agouse ptroff as type for slot in union
kramm [Fri, 2 Jan 2009 19:54:15 +0000 (19:54 +0000)]
use ptroff as type for slot in union

15 years agonew function memberinfo_register_global
kramm [Fri, 2 Jan 2009 19:54:04 +0000 (19:54 +0000)]
new function memberinfo_register_global

15 years agofixed a mem leak
kramm [Fri, 2 Jan 2009 19:53:56 +0000 (19:53 +0000)]
fixed a mem leak

15 years agofindmember now recursively scans superclasses, memberinfo now has a parent
kramm [Fri, 2 Jan 2009 19:53:48 +0000 (19:53 +0000)]
findmember now recursively scans superclasses, memberinfo now has a parent

15 years agoadded getarrayclass()
kramm [Fri, 2 Jan 2009 19:53:40 +0000 (19:53 +0000)]
added getarrayclass()

15 years agoadded support for global slots
kramm [Fri, 2 Jan 2009 19:53:29 +0000 (19:53 +0000)]
added support for global slots

15 years agoimplemented class init code
kramm [Fri, 2 Jan 2009 19:53:18 +0000 (19:53 +0000)]
implemented class init code

15 years agofixed bug in variable allocation
kramm [Fri, 2 Jan 2009 19:53:07 +0000 (19:53 +0000)]
fixed bug in variable allocation

15 years agoimplemented global methods
kramm [Fri, 2 Jan 2009 19:52:56 +0000 (19:52 +0000)]
implemented global methods

15 years agokill temporary variable of 'dup2' workaround
kramm [Fri, 2 Jan 2009 19:52:45 +0000 (19:52 +0000)]
kill temporary variable of 'dup2' workaround

15 years agofixed reconcile bug in assignment
kramm [Fri, 2 Jan 2009 19:52:34 +0000 (19:52 +0000)]
fixed reconcile bug in assignment

15 years agoimplemented in
kramm [Fri, 2 Jan 2009 19:52:23 +0000 (19:52 +0000)]
implemented in

15 years agoimplemented for(in), for each(in)
kramm [Fri, 2 Jan 2009 19:52:12 +0000 (19:52 +0000)]
implemented for(in), for each(in)

15 years agoimplemented overriding
kramm [Fri, 2 Jan 2009 19:52:01 +0000 (19:52 +0000)]
implemented overriding

15 years agorefined switch fallthrough handling
kramm [Fri, 2 Jan 2009 19:51:50 +0000 (19:51 +0000)]
refined switch fallthrough handling

15 years agoimplemented switch
kramm [Fri, 2 Jan 2009 19:51:39 +0000 (19:51 +0000)]
implemented switch

15 years agoadded implementation for dict-style objects
kramm [Fri, 2 Jan 2009 19:51:28 +0000 (19:51 +0000)]
added implementation for dict-style objects

15 years agosmall fix in dynamic handling
kramm [Fri, 2 Jan 2009 19:51:17 +0000 (19:51 +0000)]
small fix in dynamic handling

15 years agofixed bug in while(){continue};
kramm [Fri, 2 Jan 2009 19:51:06 +0000 (19:51 +0000)]
fixed bug in while(){continue};

15 years agofixed segfault in ok/interface.as
kramm [Fri, 2 Jan 2009 19:50:55 +0000 (19:50 +0000)]
fixed segfault in ok/interface.as

15 years agofixed bug in break/continue w/ label
kramm [Fri, 2 Jan 2009 19:50:44 +0000 (19:50 +0000)]
fixed bug in break/continue w/ label

15 years agoadded do-while, break label, continue (label)
kramm [Fri, 2 Jan 2009 19:50:33 +0000 (19:50 +0000)]
added do-while, break label, continue (label)