swftools.git
15 years agoregenerated from source
kramm [Tue, 30 Dec 2008 23:07:04 +0000 (23:07 +0000)]
regenerated from source

15 years agoreworked strings
kramm [Tue, 30 Dec 2008 23:06:34 +0000 (23:06 +0000)]
reworked strings

15 years agoadded ptr_type
kramm [Tue, 30 Dec 2008 23:06:25 +0000 (23:06 +0000)]
added ptr_type

15 years agonew keyword super
kramm [Tue, 30 Dec 2008 23:06:14 +0000 (23:06 +0000)]
new keyword super

15 years agoadded void,typeof,undefined keywords
kramm [Tue, 30 Dec 2008 23:06:06 +0000 (23:06 +0000)]
added void,typeof,undefined keywords

15 years agoremoved Boolean, Number, uint, int from keywords
kramm [Tue, 30 Dec 2008 23:05:58 +0000 (23:05 +0000)]
removed Boolean, Number, uint, int from keywords

15 years agoonly allow sign in front of a number if it's safe
kramm [Tue, 30 Dec 2008 23:05:50 +0000 (23:05 +0000)]
only allow sign in front of a number if it's safe

15 years agoallow .123 format numbers
kramm [Tue, 30 Dec 2008 23:05:42 +0000 (23:05 +0000)]
allow .123 format numbers

15 years agoadded string unescaping
kramm [Tue, 30 Dec 2008 23:05:24 +0000 (23:05 +0000)]
added string unescaping

15 years agoadded '*=' token
kramm [Tue, 30 Dec 2008 23:05:06 +0000 (23:05 +0000)]
added '*=' token

15 years agofixed multiline comments
kramm [Tue, 30 Dec 2008 23:04:58 +0000 (23:04 +0000)]
fixed multiline comments

15 years agoadded T_DOTDOTDOT
kramm [Tue, 30 Dec 2008 23:04:50 +0000 (23:04 +0000)]
added T_DOTDOTDOT

15 years agoremoved token_t type
kramm [Tue, 30 Dec 2008 23:04:38 +0000 (23:04 +0000)]
removed token_t type

15 years agoparams now have a value, too
kramm [Tue, 30 Dec 2008 23:04:30 +0000 (23:04 +0000)]
params now have a value, too

15 years agonew struct 'params'
kramm [Tue, 30 Dec 2008 23:04:22 +0000 (23:04 +0000)]
new struct 'params'

15 years agorun error reporting tests, too
kramm [Tue, 30 Dec 2008 23:04:12 +0000 (23:04 +0000)]
run error reporting tests, too

15 years agoadded slot field to classinfo_t
kramm [Tue, 30 Dec 2008 23:03:37 +0000 (23:03 +0000)]
added slot field to classinfo_t

15 years agoadded flags to memberinfo
kramm [Tue, 30 Dec 2008 23:03:29 +0000 (23:03 +0000)]
added flags to memberinfo

15 years agoadded more member types
kramm [Tue, 30 Dec 2008 23:03:21 +0000 (23:03 +0000)]
added more member types

15 years agorenamed registry_getfunctionclass to memberinfo_getclass
kramm [Tue, 30 Dec 2008 23:02:52 +0000 (23:02 +0000)]
renamed registry_getfunctionclass to memberinfo_getclass

15 years agoclassinfo_t now has a union member for storing subclasses/submembers
kramm [Tue, 30 Dec 2008 23:02:44 +0000 (23:02 +0000)]
classinfo_t now has a union member for storing subclasses/submembers

15 years agoadded class type
kramm [Tue, 30 Dec 2008 23:02:36 +0000 (23:02 +0000)]
added class type

15 years agoclassinfo_register now allocates space for the interface list
kramm [Tue, 30 Dec 2008 23:02:28 +0000 (23:02 +0000)]
classinfo_register now allocates space for the interface list

15 years agorenamed '__funcptr__' to 'call'
kramm [Tue, 30 Dec 2008 23:02:17 +0000 (23:02 +0000)]
renamed '__funcptr__' to 'call'

15 years agonew functions getfunctionclass() isfunctionclass()
kramm [Tue, 30 Dec 2008 23:02:09 +0000 (23:02 +0000)]
new functions getfunctionclass() isfunctionclass()

15 years agoadded ACCESS_PUBLIC as synonym to ACCESS_PACKAGE
kramm [Tue, 30 Dec 2008 23:01:50 +0000 (23:01 +0000)]
added ACCESS_PUBLIC as synonym to ACCESS_PACKAGE

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