Commit Graph

310 Commits

Author SHA1 Message Date
Jindra Petřík
a4a9ba4c6b Added: AS2 - Information about need of decompiling all scripts to detect uninitialized class fields
Fixed: #2338 AS decompiling threads got stuck after cancelling / timeout
CancellableWorker refactoring
2024-10-13 20:43:18 +02:00
Jindra Petřík
531cb00e1d Organize imports 2024-10-13 20:43:18 +02:00
Jindra Petřík
4e8041c6f0 Fixed: #2322 More AS3 Assigment position when using dup 2024-10-13 20:43:18 +02:00
Jindra Petřík
e35a92fcf1 Fixed: #2296 AS decompilation - goto problems 2024-09-23 21:52:25 +02:00
Jindra Petřík
236126dc84 Fixed: #2291 AS1/2 Incorrect var keyword placement causing registers to compile wrong 2024-09-23 21:52:25 +02:00
Jindra Petřík
e5e870f8b9 Empty lines fix. 2024-08-27 09:43:40 +02:00
Jindra Petřík
c8a8ce8b6d Fixed: Direct editation.
Fixed: Imports in script initializer
2024-08-27 09:43:40 +02:00
Jindra Petřík
4e528c181c Fixed: Script/Class initializers order of assignment
Changed: Compound script has slot/const traits inside main script initializer
2024-08-27 09:43:40 +02:00
Jindra Petřík
16ff10a890 Fixed: #2270 AS3 decompilation - unnnecessary local registers assignments as part of expressions when using optimization like dup, setlocal N instead of setlocal N, getlocal N 2024-08-12 19:51:40 +02:00
Jindra Petřík
534ac03314 Better decimal support (For ABCs with minor version 17) 2024-08-12 19:51:40 +02:00
Jindra Petřík
acc5f94889 Fix missing javadoc parameters, throw tags,... 2024-08-12 19:51:40 +02:00
Jindra Petřík
50c8e3a8e3 Fixed: #2267 Script decompilation - Loop detection causing §§goto instructions in some cases 2024-08-08 19:27:14 +02:00
Jindra Petřík
f219b49372 More documentation. 2024-08-08 19:27:14 +02:00
Jindra Petřík
5c1811582a More documentation. 2024-08-08 19:27:14 +02:00
Jindra Petřík
38bcab878b Remove "static operation". 2024-08-08 19:27:14 +02:00
Jindra Petřík
f3da12e032 Reformating to fix checkstyle. 2024-08-08 19:27:14 +02:00
Jindra Petřík
a5d3ce4f9b Organize imports 2024-08-08 19:27:14 +02:00
Jindra Petřík
151609a8f5 More documentation. 2024-08-08 19:27:14 +02:00
Jindra Petřík
b57e38e387 More documentation. 2024-08-08 19:27:14 +02:00
Jindra Petřík
31099c64e8 Fixed: #2226 Incorrect decompilation of continue statements in some cases 2024-08-05 11:17:25 +02:00
Jindra Petřík
9683dc6a6f Changed: #2228 AS1/2/3 bitwise operations use hexadecimal operands 2024-08-05 11:17:25 +02:00
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