swftools.git
15 years agofixed a bad alloc
kramm [Tue, 30 Dec 2008 23:01:39 +0000 (23:01 +0000)]
fixed a bad alloc

15 years agothe string pool now stores string_t* entries
kramm [Tue, 30 Dec 2008 23:01:30 +0000 (23:01 +0000)]
the string pool now stores string_t* entries

15 years agosmall print refinement
kramm [Tue, 30 Dec 2008 23:01:21 +0000 (23:01 +0000)]
small print refinement

15 years agosmall bugfixes
kramm [Tue, 30 Dec 2008 23:01:08 +0000 (23:01 +0000)]
small bugfixes

15 years agoadded super() implementation, state is now split up into class, method and import...
kramm [Tue, 30 Dec 2008 23:00:57 +0000 (23:00 +0000)]
added super() implementation, state is now split up into class, method and import state

15 years agoadded typeof, void expressions
kramm [Tue, 30 Dec 2008 23:00:46 +0000 (23:00 +0000)]
added typeof, void expressions

15 years agoimplemented missing arithmetric operations
kramm [Tue, 30 Dec 2008 23:00:36 +0000 (23:00 +0000)]
implemented missing arithmetric operations

15 years agodo precedence by the book
kramm [Tue, 30 Dec 2008 23:00:24 +0000 (23:00 +0000)]
do precedence by the book

15 years agofixed bug in creation of dynamic classes
kramm [Tue, 30 Dec 2008 23:00:07 +0000 (23:00 +0000)]
fixed bug in creation of dynamic classes

15 years agofixed segfault during late binding
kramm [Tue, 30 Dec 2008 22:59:57 +0000 (22:59 +0000)]
fixed segfault during late binding

15 years agodon't reference instance variables with getslot
kramm [Tue, 30 Dec 2008 22:59:47 +0000 (22:59 +0000)]
don't reference instance variables with getslot

15 years agonew function find_class(), used by NEW and class lookup
kramm [Tue, 30 Dec 2008 22:59:37 +0000 (22:59 +0000)]
new function find_class(), used by NEW and class lookup

15 years agosimplified new() for local classes
kramm [Tue, 30 Dec 2008 22:59:27 +0000 (22:59 +0000)]
simplified new() for local classes

15 years agoadded support for "Class.member" syntax
kramm [Tue, 30 Dec 2008 22:59:16 +0000 (22:59 +0000)]
added support for "Class.member" syntax

15 years agoallow a static function to access static slots directly
kramm [Tue, 30 Dec 2008 22:59:06 +0000 (22:59 +0000)]
allow a static function to access static slots directly

15 years agoadded access level modifiers support, modified property lookup to cope with it
kramm [Tue, 30 Dec 2008 22:58:56 +0000 (22:58 +0000)]
added access level modifiers support, modified property lookup to cope with it

15 years agomake sure that we don't do a rogue getproperty anywhere, to not confuse getter functions
kramm [Tue, 30 Dec 2008 22:58:46 +0000 (22:58 +0000)]
make sure that we don't do a rogue getproperty anywhere, to not confuse getter functions

15 years agofixed getter/setter handling, refined casting
kramm [Tue, 30 Dec 2008 22:58:36 +0000 (22:58 +0000)]
fixed getter/setter handling, refined casting

15 years agoimplemented interfaces
kramm [Tue, 30 Dec 2008 22:58:26 +0000 (22:58 +0000)]
implemented interfaces

15 years agostrings are now encoded as string_t
kramm [Tue, 30 Dec 2008 22:58:16 +0000 (22:58 +0000)]
strings are now encoded as string_t

15 years agoadded 'a op= b' implementation
kramm [Tue, 30 Dec 2008 22:58:06 +0000 (22:58 +0000)]
added 'a op= b' implementation

15 years agofixed variable killing on scope end
kramm [Tue, 30 Dec 2008 22:57:56 +0000 (22:57 +0000)]
fixed variable killing on scope end

15 years agosimplified local variable reassignment, added default param values
kramm [Tue, 30 Dec 2008 22:57:46 +0000 (22:57 +0000)]
simplified local variable reassignment, added default param values

15 years agobugfixes, closure support
kramm [Tue, 30 Dec 2008 22:57:36 +0000 (22:57 +0000)]
bugfixes, closure support

15 years agooptimized assignment code, added varargs
kramm [Tue, 30 Dec 2008 22:57:26 +0000 (22:57 +0000)]
optimized assignment code, added varargs

15 years agomade temporary variable non-colliding
kramm [Tue, 30 Dec 2008 22:57:16 +0000 (22:57 +0000)]
made temporary variable non-colliding

15 years agoadded slots to class
kramm [Tue, 30 Dec 2008 22:56:39 +0000 (22:56 +0000)]
added slots to class

15 years agoadded access codes to member flags
kramm [Tue, 30 Dec 2008 22:56:31 +0000 (22:56 +0000)]
added access codes to member flags

15 years agotoken2string now takes 2 parameters
kramm [Tue, 30 Dec 2008 22:56:01 +0000 (22:56 +0000)]
token2string now takes 2 parameters

15 years agofixed code_cutlast if there's only one opcode
kramm [Tue, 30 Dec 2008 22:55:30 +0000 (22:55 +0000)]
fixed code_cutlast if there's only one opcode

15 years agostrings are now stored as string_t*
kramm [Tue, 30 Dec 2008 22:55:14 +0000 (22:55 +0000)]
strings are now stored as string_t*

15 years agoreactivated code_dup
kramm [Tue, 30 Dec 2008 22:55:03 +0000 (22:55 +0000)]
reactivated code_dup

15 years agoadded function cut_last_push()
kramm [Tue, 30 Dec 2008 22:54:54 +0000 (22:54 +0000)]
added function cut_last_push()

15 years agoaddeds slot field to classinfo_t
kramm [Tue, 30 Dec 2008 22:54:42 +0000 (22:54 +0000)]
addeds slot field to classinfo_t

15 years agoadded access levels to flags
kramm [Tue, 30 Dec 2008 22:54:18 +0000 (22:54 +0000)]
added access levels to flags

15 years agoadded flags
kramm [Tue, 30 Dec 2008 22:53:54 +0000 (22:53 +0000)]
added flags

15 years agoremoved varargs syntax from method constructors
kramm [Tue, 30 Dec 2008 22:53:08 +0000 (22:53 +0000)]
removed varargs syntax from method constructors

15 years agomade method construction functions return abc_method instead of abc_method_body
kramm [Tue, 30 Dec 2008 22:52:58 +0000 (22:52 +0000)]
made method construction functions return abc_method instead of abc_method_body

15 years agodump out optional param number, too
kramm [Tue, 30 Dec 2008 22:52:48 +0000 (22:52 +0000)]
dump out optional param number, too

15 years agoremoved old TODO comment
kramm [Tue, 30 Dec 2008 22:52:38 +0000 (22:52 +0000)]
removed old TODO comment

15 years agomind NEED_REST when calculating local variable usage
kramm [Tue, 30 Dec 2008 22:52:28 +0000 (22:52 +0000)]
mind NEED_REST when calculating local variable usage

15 years agoadded ../librfxswf.a to clean target
kramm [Tue, 30 Dec 2008 22:52:14 +0000 (22:52 +0000)]
added ../librfxswf.a to clean target

15 years agotest for typeof()
kramm [Tue, 30 Dec 2008 22:51:23 +0000 (22:51 +0000)]
test for typeof()

15 years agotest string switch, switch w/o default
kramm [Tue, 30 Dec 2008 22:50:03 +0000 (22:50 +0000)]
test string switch, switch w/o default

15 years agoremoved shortcut
kramm [Tue, 30 Dec 2008 22:49:52 +0000 (22:49 +0000)]
removed shortcut

15 years agoadded tests for \x00, \xff
kramm [Tue, 30 Dec 2008 22:49:24 +0000 (22:49 +0000)]
added tests for \x00, \xff

15 years agoadded test for static var lookup during dynamic member init
kramm [Tue, 30 Dec 2008 22:49:13 +0000 (22:49 +0000)]
added test for static var lookup during dynamic member init

15 years agotest builtin static types within imported packages
kramm [Tue, 30 Dec 2008 22:49:05 +0000 (22:49 +0000)]
test builtin static types within imported packages

15 years agotest "Class.staticmember" syntax
kramm [Tue, 30 Dec 2008 22:48:57 +0000 (22:48 +0000)]
test "Class.staticmember" syntax

15 years agoadded more tests
kramm [Tue, 30 Dec 2008 22:48:49 +0000 (22:48 +0000)]
added more tests

15 years agotest for static functions/members
kramm [Tue, 30 Dec 2008 22:48:41 +0000 (22:48 +0000)]
test for static functions/members

15 years agotest slotid assignment
kramm [Tue, 30 Dec 2008 22:48:21 +0000 (22:48 +0000)]
test slotid assignment

15 years agocheck precedence of as,in against ==
kramm [Tue, 30 Dec 2008 22:47:22 +0000 (22:47 +0000)]
check precedence of as,in against ==

15 years agomoved typeof tests to typeof.as, added more void tests
kramm [Tue, 30 Dec 2008 22:46:53 +0000 (22:46 +0000)]
moved typeof tests to typeof.as, added more void tests

15 years agotested creation of dynamic classes
kramm [Tue, 30 Dec 2008 22:46:06 +0000 (22:46 +0000)]
tested creation of dynamic classes

15 years agoadded test for self-allocation within the constructor
kramm [Tue, 30 Dec 2008 22:45:57 +0000 (22:45 +0000)]
added test for self-allocation within the constructor

15 years agoadded an implementing class
kramm [Tue, 30 Dec 2008 22:45:26 +0000 (22:45 +0000)]
added an implementing class

15 years agotest importing a builtin type, too
kramm [Tue, 30 Dec 2008 22:44:42 +0000 (22:44 +0000)]
test importing a builtin type, too

15 years agotest 'else if' syntax
kramm [Tue, 30 Dec 2008 22:44:31 +0000 (22:44 +0000)]
test 'else if' syntax

15 years agoadded test for pure setter
kramm [Tue, 30 Dec 2008 22:44:00 +0000 (22:44 +0000)]
added test for pure setter

15 years agotest function member assignment
kramm [Tue, 30 Dec 2008 22:43:49 +0000 (22:43 +0000)]
test function member assignment

15 years agosmall extra test for 'var x,y:type'
kramm [Tue, 30 Dec 2008 22:43:29 +0000 (22:43 +0000)]
small extra test for 'var x,y:type'

15 years agoadded a comment
kramm [Tue, 30 Dec 2008 22:42:38 +0000 (22:42 +0000)]
added a comment

15 years agocheck first (non-optional) param value, too
kramm [Tue, 30 Dec 2008 22:42:30 +0000 (22:42 +0000)]
check first (non-optional) param value, too

15 years agotest all constant types
kramm [Tue, 30 Dec 2008 22:40:39 +0000 (22:40 +0000)]
test all constant types

15 years agoadded test for const slots
kramm [Tue, 30 Dec 2008 22:39:37 +0000 (22:39 +0000)]
added test for const slots

15 years agotest for class init code
kramm [Tue, 30 Dec 2008 22:39:17 +0000 (22:39 +0000)]
test for class init code

15 years agotest calling methods on other classes, too
kramm [Tue, 30 Dec 2008 22:38:36 +0000 (22:38 +0000)]
test calling methods on other classes, too

15 years agoadded tests for left/right associativity
kramm [Tue, 30 Dec 2008 22:38:25 +0000 (22:38 +0000)]
added tests for left/right associativity

15 years agotest right associativity, too
kramm [Tue, 30 Dec 2008 22:38:14 +0000 (22:38 +0000)]
test right associativity, too

15 years agotest [1,2,3] syntax, too
kramm [Tue, 30 Dec 2008 22:38:04 +0000 (22:38 +0000)]
test [1,2,3] syntax, too

15 years agosmall array test
kramm [Tue, 30 Dec 2008 22:37:55 +0000 (22:37 +0000)]
small array test

15 years agoadded additional tests
kramm [Tue, 30 Dec 2008 22:33:46 +0000 (22:33 +0000)]
added additional tests

15 years agodump out global methods
kramm [Tue, 30 Dec 2008 22:33:04 +0000 (22:33 +0000)]
dump out global methods

15 years agoexported dict_get_slot, dict_clone
kramm [Tue, 23 Dec 2008 19:04:14 +0000 (19:04 +0000)]
exported dict_get_slot, dict_clone

15 years agofixed dict_dump()
kramm [Tue, 23 Dec 2008 19:04:03 +0000 (19:04 +0000)]
fixed dict_dump()

15 years agofixed bugs in dict_clone
kramm [Tue, 23 Dec 2008 19:03:54 +0000 (19:03 +0000)]
fixed bugs in dict_clone

15 years agonew function dict_clone
kramm [Tue, 23 Dec 2008 19:03:45 +0000 (19:03 +0000)]
new function dict_clone

15 years agomoved late evaluation test to ok/late.as, added space after 'ok'
kramm [Tue, 23 Dec 2008 19:02:55 +0000 (19:02 +0000)]
moved late evaluation test to ok/late.as, added space after 'ok'

15 years agoadded space after 'ok'
kramm [Tue, 23 Dec 2008 19:01:29 +0000 (19:01 +0000)]
added space after 'ok'

15 years agomade flex compatible
kramm [Tue, 23 Dec 2008 19:00:21 +0000 (19:00 +0000)]
made flex compatible

15 years agofixed bugs in test
kramm [Tue, 23 Dec 2008 18:59:43 +0000 (18:59 +0000)]
fixed bugs in test

15 years agolate binding test
kramm [Tue, 23 Dec 2008 18:59:16 +0000 (18:59 +0000)]
late binding test

15 years agoadded missing 'ok' output
kramm [Tue, 23 Dec 2008 18:58:56 +0000 (18:58 +0000)]
added missing 'ok' output

15 years agofixed two bugs in test
kramm [Tue, 23 Dec 2008 18:58:28 +0000 (18:58 +0000)]
fixed two bugs in test

15 years agonew test, for checking ',' in var decl and for loops
kramm [Tue, 23 Dec 2008 18:57:20 +0000 (18:57 +0000)]
new test, for checking ',' in var decl and for loops

15 years agoadded tests for increment_i
kramm [Tue, 23 Dec 2008 18:57:00 +0000 (18:57 +0000)]
added tests for increment_i

15 years agoassume that variables declared inside a for loop are invisible outside of it
kramm [Tue, 23 Dec 2008 18:56:52 +0000 (18:56 +0000)]
assume that variables declared inside a for loop are invisible outside of it

15 years agofixed the test
kramm [Tue, 23 Dec 2008 18:55:46 +0000 (18:55 +0000)]
fixed the test

15 years agoassignment expression nesting tests
kramm [Tue, 23 Dec 2008 18:53:27 +0000 (18:53 +0000)]
assignment expression nesting tests

15 years agounittest file
kramm [Tue, 23 Dec 2008 18:49:55 +0000 (18:49 +0000)]
unittest file

15 years agoadded missing count calls
kramm [Tue, 23 Dec 2008 18:49:25 +0000 (18:49 +0000)]
added missing count calls

15 years agoadded return
kramm [Tue, 23 Dec 2008 18:49:17 +0000 (18:49 +0000)]
added return

15 years agoadded && and ||
kramm [Tue, 23 Dec 2008 18:49:09 +0000 (18:49 +0000)]
added && and ||

15 years agoadded warning(), missing two/three char symbols
kramm [Tue, 23 Dec 2008 18:48:57 +0000 (18:48 +0000)]
added warning(), missing two/three char symbols

15 years agouse default list implementation for typedcode
kramm [Tue, 23 Dec 2008 18:48:41 +0000 (18:48 +0000)]
use default list implementation for typedcode

15 years agodisplay detail in long view
kramm [Tue, 23 Dec 2008 18:48:30 +0000 (18:48 +0000)]
display detail in long view

15 years agocleaned up runcmd function
kramm [Tue, 23 Dec 2008 18:48:22 +0000 (18:48 +0000)]
cleaned up runcmd function

15 years agofixed return value checking
kramm [Tue, 23 Dec 2008 18:48:14 +0000 (18:48 +0000)]
fixed return value checking

15 years agoadded slot number to memberinfo
kramm [Tue, 23 Dec 2008 18:47:36 +0000 (18:47 +0000)]
added slot number to memberinfo