Commit Graph

289 Commits

Author SHA1 Message Date
Jindra Petřík
19c771bf44 Update license year 2024-08-05 11:17:25 +02:00
Jindra Petřík
1d9329e9be Fixed code style 2024-08-05 11:17:25 +02:00
Jindra Petřík
55a7112f10 Fixed #2207 AS - Index -2 out of bounds for some of the switches 2024-08-05 11:17:25 +02:00
Jindra Petřík
79349992a1 checkstyle fix, removing unneccessary code 2023-12-30 18:06:08 +01:00
Jindra Petřík
939d909633 Fixed #2162 AS3 try inside foreach 2023-12-30 18:06:08 +01:00
Jindra Petřík
a4c2680053 Fixed AS3 - extra newlines on methods which use activation
Fixed #2162 AS3 switch inside foreach
2023-12-30 18:06:08 +01:00
Jindra Petřík
bd6c953218 Fixed Incorrect debugger line numbers when "Open loaded while playing" is enabled
Fixed AS3 debugger - Slow injecting debug info - now faster
Fixed AS3 debugger - obfuscated classes debugging
Fixed Delayed open loaded SWFs while playing
Fixed AS3 Direct editation - script initializer for main document class

Changed Wrong unicode escape `{invalid_utf8:xxx}` changed to `{invalid_utf8=xxx}` for compatibility with file names
2023-12-30 18:06:08 +01:00
Jindra Petřík
dc5e50813f Added Checkstyle to build process and fixing checkstyle to all com.src.jpexs classes 2023-10-16 09:36:06 +02:00
Jindra Petřík
98b7ac100e Fixed #116 §§push at the end of switch branches 2023-10-16 09:36:06 +02:00
Jindra Petřík
ca0dc86cf3 Fixed AS3 Simplify expressions - Do not convert this to {} when coerced 2023-10-16 09:36:06 +02:00
Jindra Petřík
a30bc9136f Display compound scripts in separate folders,
display script initializer separately.
Show imported classes.
2023-10-01 18:21:38 +02:00
Jindra Petřík
b08856d3a5 Fixed #2077 AS3 try..catch parts outside block
Fixed AS3 try..catch inside loop unneccessary continue
2023-10-01 18:21:38 +02:00
Jindra Petřík
a157338f4d Fixed Switch detection problems producing §§goto - multiple heads (try..catch) 2023-10-01 18:21:38 +02:00
Jindra Petřík
49c8251e4d Fixed #2077 Switch detection problems producing §§goto 2023-10-01 18:21:38 +02:00
Jindra Petřík
05d5fee409 Fixed #2052 Detection of switches based on notequal operator
update license in header
2023-10-01 18:21:38 +02:00
Jindra Petřík
3f6223fe0f Fixed #2029 Simplify expressions stripping getlex and also ignoring some types of expressions 2023-10-01 18:21:38 +02:00
Jindra Petřík
487d1f8b14 Update license year 2023-03-19 22:43:41 +01:00
Jindra Petřík
9e6fa2e75b Added AS3 support for logical AND/OR compound operator 2023-03-19 22:43:41 +01:00
Jindra Petřík
ae1a300fb3 Fixed DottedChain.PathPart NoSerializable exception 2023-01-30 22:33:36 +01:00
Jindra Petřík
40ea1e4aa3 A little optimization, dottedchain uses ArrayLists 2023-01-22 22:15:04 +01:00
Jindra Petřík
e69d492953 Fixed #1938 AS3 - shortening + 1 to increment
Fixed #1938 AS3 - implicit coercion of operations
Fixed #1938 AS3 - initproperty compound operators, increment/decrement
2023-01-22 22:15:04 +01:00
Jindra Petřík
16a5edc841 Fixed #1938 AS3 - coercion call type 2023-01-22 22:15:04 +01:00
Jindra Petřík
125e8d29cd Fixed #1842 AS - Do not display §§dup when the value has no sideeffect 2023-01-22 22:15:04 +01:00
Jindra Petřík
8b6a3e0c54 getLoopsWalk optimization to not use recursion when not needed 2023-01-22 22:15:04 +01:00
Jindra Petřík
051087e9ad Fixed #1842 AS1/2 Better handling obfuscated code, for..in 2023-01-22 22:15:04 +01:00
Jindra Petřík
29e2dc7ce3 Fixed #1894 Switch inside loop 2023-01-22 22:15:04 +01:00
Jindra Petřík
3771e02ba2 Fixed #1006 AS3 - Warning - Function value used where type Boolean was expected
as3_new testdata compilers do not ignore warnings
as3_new testdata without warnings
2022-12-18 23:10:24 +01:00
Jindra Petřík
74cf717e9a Fixed Parsing obfuscated namespaces with hash character "#" 2022-12-18 23:10:24 +01:00
Jindra Petřík
b9736b3590 Fixed #1895 Handling of unstructured switch 2022-12-02 08:56:02 +01:00
Jindra Petřík
263b401efc Fixed #1888 Casts for missing types, cast handling for script local classes 2022-12-02 08:56:02 +01:00
Jindra Petřík
e588cbda3a Fixed #1894 AS3 - XML filters in some corner cases 2022-11-30 22:58:35 +01:00
Jindra Petřík
a41926a662 Fixed #1894 Switches vs loops decompilation (now with two passes) 2022-11-30 22:58:35 +01:00
Jindra Petřík
ad97886306 Fixed Switch decompilation in some corner cases 2022-11-30 22:58:35 +01:00
Jindra Petřík
6f7a89b78f Fixed #1888 resolving types on nested function variables 2022-11-30 22:58:35 +01:00
Jindra Petřík
c26030620f Fixed Avoid Error Implicit coercion of a value of type XXX to an unrelated type YYY 2022-11-30 22:58:35 +01:00
Jindra Petřík
9e8d00edba Fixed #1888 Casts in binary operations, not casting any type 2022-11-30 22:58:35 +01:00
Jindra Petřík
60100196c5 Fixed #1810 AS3 Direct editation - XML attribute handling 2022-11-30 22:58:35 +01:00
Jindra Petřík
9cd93c2388 Fixed #1888 Missing casts in ternar 2022-11-30 22:58:35 +01:00
Jindra Petřík
25aa987cdf Propagate ABCIndex everywhere 2022-11-30 22:58:35 +01:00
Jindra Petřík
e22669d377 Show convert instruction when needed - int(xx), String(xx), etc.... 2022-11-30 22:58:35 +01:00
Jindra Petřík
792df04427 Fixed #1840 Proper if..continue..break handling 2022-11-20 22:12:19 +01:00
Jindra Petřík
0227293bd0 Fixed #1692 Properly distinguish obfuscated names vs namespace suffixes and attributes 2022-11-20 22:12:19 +01:00
Jindra Petřík
b06c8313b1 Organize imports inspection 2022-11-14 10:04:55 +01:00
Jindra Petřík
1c9f81fceb Added #1701 Setting charset for SWF files with version 5 or lower 2022-11-14 10:04:55 +01:00
Jindra Petřík
1d82af4855 Update license header year 2022-11-06 21:44:39 +01:00
Jindra Petřík
10b0875358 organize imports inspection 2022-10-23 16:54:49 +02:00
Jindra Petřík
d3477d910c Fixed: #1838 AS3 - Properly handling of long unsigned values, hex values, default uint values etc.
Changed: AS3 integer values are internally (e.g. in the lib) handled as java int type instead of long.
2022-10-22 15:27:44 +02:00
Jindra Petřík
4f8cac556d Fixed AS1/2 actioncontainers (like try) inside ifs 2021-12-06 08:23:13 +01:00
Jindra Petřík
9e6548ceb0 Fixed #1762 AS - switch detection (mostcommon pathpart) 2021-12-02 18:59:32 +01:00
Jindra Petřík
5916c00bbd iframeloaded special case when it hits next graphpart (will this happen?) 2021-11-29 17:15:56 +01:00