Commit Graph

1575 Commits

Author SHA1 Message Date
Jindra Petřík
455d30bb2d Switch variant generator 2018-01-28 11:54:47 +01:00
Jindra Petřík
2e31ef23a0 AS1/2 switch detection fix - causing two default labels 2018-01-28 10:04:38 +01:00
Jindra Petřík
7380c3c604 AS1/2 switch detection fix - default clause also used when detecting break 2018-01-28 10:03:39 +01:00
Jindra Petřík
654fd8ba6d AS1/2 switch detection refactoring to make it more readable 2018-01-28 07:32:20 +01:00
Jindra Petřík
faac405da2 fix nullpointer on ActionCloneSprite
ActionScriptObject - return Undefined for missing getMember
2018-01-27 21:19:44 +01:00
Jindra Petřík
08b02ae83c ActionRandomNumber fixed for nonpositive numbers 2018-01-27 20:43:42 +01:00
Jindra Petřík
e862df59c1 AS1/2: Displaying script path on invalid jump error log 2018-01-27 20:25:07 +01:00
Jindra Petřík
eb30c18fba AS1/2 break statement decompilation in for..in loops fixed 2018-01-27 17:59:03 +01:00
Jindra Petřík
08751b9524 AS2 classes tests reorganised 2018-01-27 13:38:52 +01:00
Jindra Petřík
c0e6e728d9 AS2 class detector - checking classes only in DoInitAction tags 2018-01-27 11:34:51 +01:00
Jindra Petřík
a904fdb3a3 AS2 class detector - checking other class variant 2018-01-27 09:45:01 +01:00
Jindra Petřík
205b9cda14 AS2 class detector - ignoring onFalse section, which can lead to invalid location 2018-01-25 21:20:45 +01:00
Jindra Petřík
7baaa1f1ff AS2 class detector - check if else clause is empty, allow some code without push 2018-01-23 07:03:10 +01:00
Jindra Petřík
da586b105f - New AS2 class detector
- Reference helper class moved to helper package.
2018-01-22 22:06:40 +01:00
Jindra Petřík
def79bd7a7 AS2 class detection - Fix seeing class where isn't 2018-01-21 18:35:37 +01:00
Jindra Petřík
c9e7992081 MyEntry Serializable 2018-01-21 18:23:30 +01:00
Jindra Petřík
2f6d0e66ac AS1/2 direct editation - reordering of large (>256 items) constantpools 2018-01-21 13:03:20 +01:00
Jindra Petřík
9e2497f2b8 Fix wrong constant indices when ConstantIndex copy 2018-01-21 12:23:25 +01:00
Jindra Petřík
091a2e1226 - Sorting constantpool based on ActionPush position
- ActionPush constant for maximum index of constant of type 8 push.
2018-01-21 10:59:19 +01:00
Jindra Petřík
e436dccb07 Direct editation of AS2 classes - minor changes to make it closer to original compiler 2018-01-21 10:07:05 +01:00
Jindra Petřík
d8fca459cb Direct editation of AS2 classes - methods do not require ActionDefineFunction2 2018-01-21 09:28:48 +01:00
Jindra Petřík
6c3b497798 Direct editation of AS2 classes - save methods before variables, as in Flash CS6 2018-01-21 09:21:35 +01:00
Jindra Petřík
b11fc959d1 Introducing AS2 classes Test class
AS2 classes - Test for maintaining vars/methods order
2018-01-21 09:07:20 +01:00
Jindra Petřík
2df9318036 fix test 2018-01-21 08:37:43 +01:00
Jindra Petřík
3dd9cd10e5 renameAS2Identifiers compilation fix 2018-01-21 08:24:20 +01:00
Jindra Petřík
8009d9e7f6 AS2 classes
- maintain order of variables, maintain order of methods,
variables before methods
- stub for getters/setters detection
2018-01-21 08:20:39 +01:00
Jindra Petřík
16f6fa329c AS2 test data:
- added class for getter/setter testing
- added class for vars/methods testing
2018-01-21 08:16:09 +01:00
Jindra Petřík
4a64670494 AS2 Class detection - Switch instance reg and class reg 2018-01-20 21:46:57 +01:00
Jindra Petřík
1e16fbb6e0 ActionScript 2 - better class detection 2018-01-20 21:17:06 +01:00
Jindra Petřík
fc19983ae9 loading list of fonts on demand - X11 load bug on Java9 2018-01-20 21:09:27 +01:00
Jindra Petřík
f7f79afbcd new version release fix 2018-01-17 22:06:47 +01:00
Jindra Petřík
2bf7597cea update license headers 2018-01-16 20:24:33 +01:00
Jindra Petřík
527c64af26 Checking new versions on Github 2018-01-16 19:26:42 +01:00
Jindra Petřík
eded349823 removeNullPushes .. optimize call getImportantOffsets - only when instruction removed 2018-01-14 14:18:23 +01:00
Jindra Petřík
91a18f1dea diamond operator 2018-01-14 14:14:58 +01:00
Jindra Petřík
ab836b0d19 Removed check for PushIntegerTypeIns as it is just interface to group pushshort,pushbyte,pushint,etc... 2018-01-14 14:14:32 +01:00
Jindra Petřík
2ce278f575 reformat 2018-01-14 14:12:39 +01:00
Jindra Petřík
dbf38cc63e Merge pull request #48 from MultiplyByZer01/dev
Deobfuscate no-op push instructions
2018-01-14 14:06:44 +01:00
Jindra Petřík
cbabbe6c44 Merge branch 'master' into dev
# Conflicts:
#	CHANGELOG.md
#	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/IggyFile.java
#	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/IggySwf.java
#	libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/conversion/IggySwfBundle.java
#	src/com/jpexs/decompiler/flash/gui/MainFrameMenu.java
2018-01-13 22:41:04 +01:00
Jindra Petřík
de1440b7a7 ActionDeobfuscator - isFakeName changed to call isValidName because
it failed in some cases.
2018-01-07 18:53:30 +01:00
Jindra Petřík
a8c21cb3b4 Fixed removeIncludedActions - do..while changed to while(true)
as it was not working when firstItem was excluded and thus removed.
Statement "continue" in do..while checks condition immediately
and then terminating loop, because firstItem is now the second
of the list. Other excluded items then won't be removed.
2018-01-07 18:47:49 +01:00
Jindra Petřík
0cb15e9c76 Saving files before refreshing line endings 2018-01-07 17:18:39 +01:00
honfika@gmail.com
cdf72b6798 - [#1402] SVG export: certain font characters not exported properly fixed 2 2017-06-22 14:44:51 +02:00
honfika@gmail.com
25b54993d4 - [#1402] SVG export: certain font characters not exported properly fixed 2017-06-22 14:04:14 +02:00
honfika@gmail.com
b7ec1ac830 #1401 SVG export: duplicate pattern IDs fixed 2017-06-22 13:15:43 +02:00
Zoltán Kurucz
7f0ba33355 Prevent impossible pushshort pcode generation edit actionscript 2017-05-06 01:43:25 +02:00
Gauthier Billot
f49ee84fc9 Normalize line endings 2017-05-05 15:35:09 +02:00
honfika@gmail.com
6033c90630 Wrtie log message when can't initialize flash panel 2017-05-01 12:28:28 +02:00
honfika@gmail.com
64293e3813 [#1365] Allow to configure all types of configuration settings from command line 2017-04-08 10:19:02 +02:00
honfika@gmail.com
27a192570b SVG import bound fix 2 2017-04-01 21:13:17 +02:00