Commit Graph
482 Commits
Author SHA1 Message Date
Jindra Petřík 1d9329e9be Fixed code style 2024-08-05 11:17:25 +02:00
Jindra Petřík ffda86028d Fixed #2202 AS2 return in constructor does not take a value 2024-08-05 11:17:25 +02:00
Jindra Petřík 163a0e00d2 Fixed #2202 AS2 detection of uninitialized class fields colliding with setters/getters 2024-08-05 11:17:25 +02:00
Jindra Petřík f51fee7064 Fixed #2190 AS1/2 - for..in inside switch before break 2024-08-05 11:17:25 +02:00
Jindra Petřík e9dcd5ad34 Fixed #2183 AS1/2 Direct editation - case sensitive identifiers since SWF version 7 2024-08-05 11:17:25 +02:00
Jindra Petřík 2404151922 Fixed #2143 FLA Export / Sound playback - taking MP3 initial latency into account 2023-12-30 18:06:08 +01:00
Jindra Petřík 76c94f1c5e Fixed #2148 AS2 Do not return undefined for setters 2023-12-30 18:06:08 +01:00
Jindra Petřík 3e8c166c4a Fixed #2148 AS1/2 callmethod by register value 2023-12-30 18:06:08 +01:00
Jindra Petřík b55c9d3b51 Fixed #2148 AS2 Uninitialized class fields detector 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 44e083b9a6 Fixed #2127 Wrong parameter order in AS1/2 P-code Action GetURL2 documentation
Changed #2127 AS1/2 P-code Action GetURL2 switched parameters back - correct order is (loadVariablesFlag, loadTargetFlag, sendVarsMethod),
 code from 19.1.x to 20.0.0 is still accepted
2023-12-30 18:06:08 +01:00
Jindra Petřík 12c3064492 Added AS1/2 P-code hilight currently selected action argument in action documentation 2023-10-16 09:36:06 +02:00
Jindra Petřík 26954babe3 Added AS1/2 P-code actions inline documentation
Changed AS1/2 P-code Action GetURL2 as swithed parameters - sendVarsMethod is first, older code is still accepted
2023-10-16 09:36:06 +02:00
Jindra Petřík cca0161766 Changed AS1/2 P-code action parameters are now separated by commas, code without commas is still accepted 2023-10-16 09:36:06 +02: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 52db7454dc Fixed AS2 getters and setters decoding 2023-10-16 09:36:06 +02:00
Jindra Petřík 0a271f259e Fixed AS1/2 new keyword on empty method name 2023-10-16 09:36:06 +02:00
Jindra Petřík 1a778b0b6f Fixed tests 2023-10-16 09:36:06 +02:00
Jindra Petřík 5141263960 Fixed #223 AS2 Detecting uninitialized class fields 2023-10-16 09:36:06 +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
Kornelius Rohrschneider c821502833 Changed GetURL2 default sendVarsMethod value to 0
LoadVariables, LoadMovie, LoadVariablesNum and LoadMovieNum all previously used 1 as the default sendVarsMethod value for their GetURL2 call.
However, the default value (if no "GET" or "POST" is given) should be 0.
This has been fixed.
2023-06-25 20:41:04 +02:00
Jindra Petřík 6ef01643c1 Fixed FLA Export - AS2 - Sprite linkage to class 2023-03-19 22:43:41 +01:00
Jindra Petřík fe41355dd4 Fixed AS2 Class detection - TemporaryRegisterMark handling 2023-03-19 22:43:41 +01:00
Jindra Petřík 045d475647 Added AS3 P-code editing class trait 2023-03-19 22:43:41 +01:00
Jindra Petřík 487d1f8b14 Update license year 2023-03-19 22:43:41 +01:00
Jindra Petřík 4dd2818f0e Fixed #1986 AS2 Class detection - NullPointerException on certain classes 2023-03-19 22:43:41 +01:00
Jindra Petřík 8116df7a7b Changed AS1/2/3 P-code - format Number values with EcmaScript toString function 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 45f807940a Fixed #1963 AS2 properly decompile/direct edit long classes 2023-02-25 19:39:02 +01:00
Jindra Petřík 851dc7e922 Fixed #1970 AS2 Renaming invalid identifiers for direct strings (no constant indices)
Fixed #1970 AS2 Renaming invalid identifiers IndexOutOfBounds on invalid constant index (obfuscated code, etc.)
2023-02-25 19:39:02 +01:00
Jindra Petřík b73832f51e Fixed #1842 AS1/2 use parenthesis when initObject has nonstring keys 2023-01-22 22:15:04 +01:00
Jindra Petřík b37771c9a6 enumeration last in makeAllCommands 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 7a4bec0d98 Fixed #1772 AS1/2 decompilation - StackOverflow during getVariables function 2022-12-31 23:58:51 +01:00
Jindra Petřík 7bb8061e20 Fixed #1904 AS1/2 Throw is an ExitItem to properly handle continues vs ifs 2022-12-23 17:02:50 +01:00
Jindra Petřík 2bd1208f86 Fixed #1904 NullPointerException on decompiler pool
Fixed #1904 AS1/2 Simplify expressions breaks registers, functions
2022-12-23 17:02:50 +01:00
Jindra Petřík ce4f3e2920 Fixed #1904 NullpointerException when renaming invalid identifiers in AS1/2 files caused by missing charset 2022-12-23 17:02:50 +01:00
Jindra Petřík cc1032b819 Changed AS1/2 deobfuscation - removing obfuscated declarations is now optional (default: off) 2022-12-18 23:10:24 +01:00
Jindra Petřík 54b6153b82 AS1/2 deobfuscation - do not remove unused obfuscated variables - we are unable to properly determine if the variable is unused. 2022-12-18 23:10:24 +01:00
Jindra Petřík 067ebb6f5d Fixed #1828 AS1/2 deobfuscation removing variable declarations 2022-12-18 23:10:24 +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 a41926a662 Fixed #1894 Switches vs loops decompilation (now with two passes) 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 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 0c84d5c6bd Fixed #1785 AS1/2 try..catch block in for..in 2022-11-06 21:44:39 +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