Commit Graph

1824 Commits

Author SHA1 Message Date
Jindra Petřík
44a48b6c48 Fixed: Only last DoInitAction tag displayed 2021-02-24 19:55:59 +01:00
Jindra Petřík
b2ce046d0b AS2 add class 2021-02-24 19:55:59 +01:00
Jindra Petřík
5ac93a7d03 DoInitAction to string without spriteid when exportedname exists 2021-02-24 19:55:59 +01:00
Jindra Petřík
287038e2a6 DoInitAction to string has spriteId (#initclip) 2021-02-24 19:55:59 +01:00
Jindra Petřík
8af5d07059 Adding new scripts to buttons, sprites and instances 2021-02-24 19:55:59 +01:00
Jindra Petřík
03f033035f #1260, #1438 AS1/2 direct editing on(xxx), onClipEvent(xxx) handlers 2021-02-24 19:55:59 +01:00
Jindra Petřík
a954d2f902 Fixed #1490, #1493 AS1/2 direct editation of cast op, cast op decompilation 2021-02-24 19:55:59 +01:00
Jindra Petřík
0e0b05947e AS1/2 direct editation - double negation does not get lost 2021-02-24 19:55:59 +01:00
Jindra Petřík
3dbbd7778e Fixed #1489 AS1/2 direct editation - for in loop 2021-02-24 19:55:59 +01:00
Jindra Petřík
95e7490de8 Fixed #1489 AS1/2 direct editation - reversed conditions in if 2021-02-24 19:55:59 +01:00
Jindra Petřík
9f2ab6729c Fixed: #1467 AS1/2 direct editation - allow new Number call 2021-02-24 19:55:59 +01:00
Jindra Petřík
eec91777e6 Fixed: #1339 AS1/2 direct editation - targetPath as an expression 2021-02-24 19:55:59 +01:00
Jindra Petřík
d35b07ee42 Fixed AS1/2 Set property increment/decrement 2021-02-24 19:55:59 +01:00
Jindra Petřík
89e04db617 Fixed #1298 AS1/2 properly decompiled setProperty/getProperty 2021-02-24 19:55:59 +01:00
Jindra Petřík
3d40224cda #1202 Check for modifications outside FFDec and ask user to reload 2021-02-24 19:55:59 +01:00
Jindra Petřík
1bacb111fe Fixed: Cannot properly cancel script searching 2021-02-12 11:08:07 +01:00
Jindra Petřík
ab34d92351 Fixed #1596 Infinite loop when sorting traits according to dependencies 2021-02-12 10:44:42 +01:00
Jindra Petřík
b9660cdfec #1597 Option to use old style lookupswitch in AS3 P-code 2021-02-12 06:13:38 +01:00
Jindra Petřík
b82c83c2ad Fixed #1360 Precedence of increment/decrement operations 2021-02-11 19:10:09 +01:00
Jindra Petřík
ac89162be0 #1594 Option to use old style of getlocalx, setlocalx with underscore 2021-02-11 12:51:00 +01:00
Jindra Petřík
ac15728b9d #1594 Option to disable AS3 P-code indentation, label on separate line 2021-02-11 12:34:46 +01:00
Jindra Petřík
66b0d0bb13 Fixed #1227 AS3 avoid recursion (stackoverflow) caused by newfunction instruction 2021-02-11 11:10:56 +01:00
Jindra Petřík
df482b5343 newclass instruction has §§ prefix 2021-02-11 10:35:41 +01:00
Jindra Petřík
21dfcfc15c Fixed: #1159 Regexp syntax hilight when not a regexp (only division) 2021-02-11 08:11:18 +01:00
Jindra Petřík
5659a78a12 Fixed: #1188 AS3 reorder traits if one slot/const references another 2021-02-10 22:27:43 +01:00
Jindra Petřík
665d3c1fad use {} static initializer only when referenced later trait 2021-02-10 21:34:05 +01:00
Jindra Petřík
58eb1f38da const can reference other property 2021-02-10 21:02:46 +01:00
Jindra Petřík
c573e57976 Fixed: #1188 AS3 Static initializer - init slot/const only when not referencing other property 2021-02-10 20:47:23 +01:00
Jindra Petřík
cd1e28db42 fix tests 2021-02-10 19:55:15 +01:00
Jindra Petřík
9e9e52e845 Fixed: #1186 Missing import when item is fully qualified 2021-02-10 19:42:57 +01:00
Jindra Petřík
add1c7ef1e cls.newInstance() causing warnings replaced with cls.getDeclaredConstructor().newInstance() 2021-02-10 18:36:39 +01:00
Jindra Petřík
bd2db44682 BigObject removed as it causes only warnings during compilation and is not used. 2021-02-10 18:23:39 +01:00
Jindra Petřík
b2fd1c0dc5 Fixed #1185 AS3 Incorrect imports in obfuscated files 2021-02-10 18:22:05 +01:00
Jindra Petřík
273173771f Fixed AS3 getslot/setslot in certain situations 2021-02-10 15:24:43 +01:00
Jindra Petřík
253b53dde1 fix tests 2021-02-10 10:18:40 +01:00
Jindra Petřík
f9fc9998f3 Fixed: #1088 ECMA Number to string conversion 2021-02-10 10:08:43 +01:00
Jindra Petřík
1c142ff42d Fixed: AS1/2 script export to single file maintains script order 2021-02-10 07:48:15 +01:00
Jindra Petřík
c327c99198 AS3 pcode - Use Undefined as default keyword for value kind 2021-02-10 07:01:42 +01:00
Jindra Petřík
fcd39050b7 Fixed: AS3 getslot/setslot, getglobalscope instruction 2021-02-09 22:15:12 +01:00
Jindra Petřík
485dabc2d2 Fixed: AS3 p-code traits of bodys of inner methods 2021-02-09 19:25:43 +01:00
Jindra Petřík
b7ee8d73ca Fixed: AS3 inner functions scope (setslot/getslot) 2021-02-09 18:52:25 +01:00
Jindra Petřík
a97f57c40f Fixed: AS3 break loop in catch clause 2021-02-09 18:33:26 +01:00
Jindra Petřík
1b505080de assembly generator uses \r\n 2021-02-09 18:01:52 +01:00
Jindra Petřík
0f53d86459 removed accidentally left debug info 2021-02-09 13:20:39 +01:00
Jindra Petřík
c61f31b692 Fixed: AS3 p-code parser adding ;trait comment to last instruction 2021-02-08 20:15:19 +01:00
Jindra Petřík
acc2d9a26f AS3 p-code more RAbcDasm like: Void keyword instead of Undefined for optional parameters and slot/const values 2021-02-08 20:15:19 +01:00
Jindra Petřík
2392a5227c AS3 P-code: do not show Undefined() in slot/const value 2021-02-08 20:15:19 +01:00
Jindra Petřík
b8982238c6 AS3 P-code: allow not using parenthesis on True(),False(),Null(),Undefined() 2021-02-08 20:15:19 +01:00
Jindra Petřík
03fbce1d0f AS3 P-code: allow not using commas (old syntax),
allow oldstyle lookupswitch syntax
2021-02-08 20:15:19 +01:00
Jindra Petřík
ab3bb3b15e AS3 P-code: try has (optional) end keyword, and is located at the bottom after code.
setlocalx/getlocalx have aliases setlocal_x/getlocal_x
2021-02-08 20:15:19 +01:00