71 Commits

Author SHA1 Message Date
Jindra Petřík
cd352e12f7 Fixed: #2536 AS3 regexp highlighting / compilation 2025-09-30 19:59:21 +02:00
Jindra Petřík
cf68684798 Fixed: #2515 AS1/2 Most of built-in global functions must be case in-sensitive
Fixed: AS1/2 ActionStringExtract incorrectly decompiled as String.substr instead of substring global function
2025-08-20 08:18:48 +02:00
Jindra Petřík
8f11f043ca Fixed: SymbolClass export/import did not support obfuscated names 2025-07-27 14:35:26 +02:00
Jindra Petřík
55f43b5390 Prefer quotes syntax over §. (text variables, placeobject names) 2025-07-26 10:39:40 +02:00
Jindra Petřík
e44e2eaa2b Compile AS3 @identifier asdoc tag as identifier replacement 2025-07-25 19:30:14 +02:00
Jindra Petřík
07984d5154 Try to direct edit texts - unsuccessful. 2025-07-06 14:20:34 +02:00
Jindra Petřík
dba9fd702d Changed: AS1/2 P-code double Push values have suffix ".0" to properly distinguish them
Changed: AS1/2 P-code float Push values have suffix "f" to properly distinguish them
2025-07-05 11:49:32 +02:00
Jindra Petřík
603a7dce49 Added: Allow obfuscated DefineEditText variable identifiers 2025-07-02 22:59:16 +02:00
Jindra Petřík
905ad28304 Fixed: AS3 incorrect parsing of divide operator vs regexp 2025-05-31 20:50:51 +02:00
Jindra Petřík
236c3b9e6a Fixed: AS3 direct editation - NaN can be used as identifier 2025-05-31 13:17:23 +02:00
Jindra Petřík
90d975d69c AS3 highlighter.
Refactoring of highligter.
2025-05-29 09:14:15 +02:00
Jindra Petřík
479b61a7f1 Added: AS1/2 - underline errors in the code (also in edit mode) 2025-05-28 17:51:05 +02:00
Jindra Petřík
75c8639d77 Added: AS1/2 - highlight variable definition and all its instances on cursor place
Fixed: AS1/2 - Incorrect DefineFunction2 parameter names when parameter name is empty
2025-05-26 22:33:14 +02:00
Jindra Petřík
19ab08d3c3 Added: AS3 direct editation - verbatim strings @" 2024-11-20 17:05:37 +01:00
Jindra Petřík
4aa84b3631 Nullish operators WIP 2024-11-20 17:05:37 +01:00
Jindra Petřík
d678e01a15 AMF lexer refactored to separate directory 2024-11-10 19:50:55 +01:00
Josh Soref
385741235f spelling: paren
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-10-29 16:55:43 +01:00
Jindra Petřík
69a15649bc Added: Texts spacing is now separated where possible - does not use [space xx],
but new `spacing "x" NN` and `spacingpair "x" "y" NN` prefix so now
texts are more readable and searchable
2024-10-13 20:43:18 +02:00
Jindra Petřík
eeb1242992 Fixed: #2331 AS1/2 lite - support for fscommand2, #strict directive 2024-10-13 20:43:18 +02:00
Jindra Petřík
ce2ac52ba1 Fixed: #2325 AS3 direct editation - allow single quoted attributes in XML 2024-10-13 20:43:18 +02:00
Jindra Petřík
e685022fd7 Better float support.
Removed methodinfo parser.
2024-08-12 19:51:40 +02:00
Jindra Petřík
d4e0a1f6db Using NumberContext parameter in operations.
Compiling use clause with usage, rounding, precision
2024-08-12 19:51:40 +02:00
Jindra Petřík
d25627460c P-code parsing of NumberContext 2024-08-12 19:51:40 +02:00
Jindra Petřík
4e36416729 ActionScript 3 parser and generator uses decimal.
Instructions with numbecontext parameters have translate method - use standard GraphTarget items.
2024-08-12 19:51:40 +02:00
Jindra Petřík
08c3c5a469 Decimal assembler support. 2024-08-12 19:51:40 +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
7e336b98fb Hilight currently selected argument in docs for AS3 2023-10-16 09:36:06 +02: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
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
859049b2d4 Fixed AS3 p-code - IGNORE_REST method flag incorrectly shown as EXPLICIT
Changed AS3 p-code - EXPLICIT method flag renamed to NATIVE
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
9e6fa2e75b Added AS3 support for logical AND/OR compound operator 2023-03-19 22:43:41 +01:00
Jindra Petřík
9967bc0937 Fixed AS3 XML embedded variables display and direct edit 2023-03-19 22:43:41 +01:00
Jindra Petřík
07e94aea45 Fixed AS3 - line numbering on pushback string on regexp 2023-01-22 22:15:04 +01:00
Jindra Petřík
c4799bc92e Added AS3 P-code keyword "Unknown(N)", where N is index. For constants out of bounds. (mostly in dead code)
Fixed AS3 Deobfuscation causing invalid jump offsets for files with constant indices out of bounds
2022-12-18 23:10:24 +01:00
Jindra Petřík
4f4c22006d Added Translator tool for easier localization 2022-11-30 22:58:35 +01: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
0ef76b8860 Fixed AS - direct editation - long integer values 2021-11-29 17:15:56 +01:00
Jindra Petřík
34579690d4 Fixed AS1/2 - Infinity, NaN can be used as identifiers, are normal variables 2021-11-29 17:15:56 +01:00
Jindra Petřík
dcc066262c Fixed AS1/2 - use slash syntax in get/setvariable only in eval/set 2021-11-29 17:15:56 +01:00
Jindra Petřík
bbb3ed8c72 Added #1496 repeat escape sequence \{xx}C to avoid long same char strings/names 2021-11-19 13:03:23 +01:00
Jindra Petřík
68ae269515 Fixed: "protected", "const", "namespace", "package" are not reserved keywords in AS1/2
Fixed: Not counting newlines in comments
2021-03-25 18:44:05 +01:00
Jindra Petřík
65a8af4822 Fixed: AS3 hilight and edit XML based on CData or comment only 2021-03-13 21:08:23 +01:00
Jindra Petřík
4832ca7bc8 #1585 SVG import - support for style tag (CSS) 2021-03-12 22:12:39 +01:00
Jindra Petřík
19c836764f Fixed: #1260 AS1/2 direct editation - is/as/:: are not reserved operators 2021-03-05 21:22:55 +01:00
Jindra Petřík
ee5e817b34 Fixed: #1494 AS1/2 Direct editation - GetURL not properly saved caused by case
Fixed: AS1/2 Direct editation - functions case sensitivity
2021-02-26 22:46:28 +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
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