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

16 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

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

16 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

16 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

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

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

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

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

16 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

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

16 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

16 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*

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

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

16 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

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

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

16 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

16 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

16 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

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

16 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

16 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

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

16 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

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

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

16 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

16 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

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

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

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

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

16 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 ==

16 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

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

16 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

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

16 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

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

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

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

16 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'

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

16 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

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

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

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

16 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

16 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

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

16 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

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

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

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

16 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

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

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

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

16 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'

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

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

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

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

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

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

16 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

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

16 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

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

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

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

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

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

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

16 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

16 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

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

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

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

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

16 years agorenamed class_signature to classinfo
kramm [Tue, 23 Dec 2008 18:47:28 +0000 (18:47 +0000)]
renamed class_signature to classinfo

16 years agozero class_signature when allocing
kramm [Tue, 23 Dec 2008 18:47:20 +0000 (18:47 +0000)]
zero class_signature when allocing

16 years agoclass_signature now contains flags
kramm [Tue, 23 Dec 2008 18:47:12 +0000 (18:47 +0000)]
class_signature now contains flags

16 years agofree multiname more thoroughly
kramm [Tue, 23 Dec 2008 18:47:02 +0000 (18:47 +0000)]
free multiname more thoroughly

16 years agoreworked left-hand expressions
kramm [Tue, 23 Dec 2008 18:46:49 +0000 (18:46 +0000)]
reworked left-hand expressions

16 years agoadded class members, expression lefthands
kramm [Tue, 23 Dec 2008 18:46:39 +0000 (18:46 +0000)]
added class members, expression lefthands

16 years agosmall cleanup
kramm [Tue, 23 Dec 2008 18:46:30 +0000 (18:46 +0000)]
small cleanup

16 years agoadded member lookup
kramm [Tue, 23 Dec 2008 18:46:21 +0000 (18:46 +0000)]
added member lookup

16 years agofixed top scope element for interface instantiation
kramm [Tue, 23 Dec 2008 18:46:12 +0000 (18:46 +0000)]
fixed top scope element for interface instantiation

16 years agotidied up grammar section
kramm [Tue, 23 Dec 2008 18:46:03 +0000 (18:46 +0000)]
tidied up grammar section

16 years agomade boolvalues.as work
kramm [Tue, 23 Dec 2008 18:45:54 +0000 (18:45 +0000)]
made boolvalues.as work

16 years agoimplemented new()
kramm [Tue, 23 Dec 2008 18:45:45 +0000 (18:45 +0000)]
implemented new()

16 years agoimplemented wildcard imports
kramm [Tue, 23 Dec 2008 18:45:36 +0000 (18:45 +0000)]
implemented wildcard imports

16 years agoregenerated
kramm [Tue, 23 Dec 2008 18:44:59 +0000 (18:44 +0000)]
regenerated

16 years agoregenerated
kramm [Tue, 23 Dec 2008 18:44:50 +0000 (18:44 +0000)]
regenerated

16 years agoadded class flags
kramm [Tue, 23 Dec 2008 18:44:30 +0000 (18:44 +0000)]
added class flags

16 years agomethodbody and method were exchanged: fixed
kramm [Tue, 23 Dec 2008 18:44:19 +0000 (18:44 +0000)]
methodbody and method were exchanged: fixed

16 years agoadded dup stubs
kramm [Tue, 23 Dec 2008 18:43:50 +0000 (18:43 +0000)]
added dup stubs