471 Commits

Author SHA1 Message Date
Jindra Petřík
db6f49fbf8 fix: actionscript and/or operators with simple value operands (#2680)
Fixes #2680
2026-04-06 21:06:19 +02:00
Jindra Petřík
76d1db9517 test: add longer timeout for long tests 2026-04-06 21:06:19 +02:00
Jindra Petřík
122835fd1f style: unused imports 2026-04-06 21:06:19 +02:00
Jindra Petřík
2bc1c4e012 perf: optimize recursion, avoid stackoverflow on larger scripts (#2672) 2026-04-06 21:06:19 +02:00
Jindra Petřík
0942d7d96d fix: push commands in as2 left in code (#2654)
If the code does not contain any §§pop() instructions,
then all §§push instructions are converted to their
values with comment "unpopped".

Fixes #2654
2026-04-06 21:06:19 +02:00
Jindra Petřík
6d605dc4a0 test: as1/2 maintain push order 2026-04-06 21:06:19 +02:00
Jindra Petřík
65a47bbda3 test: add as2 direct edit test (+ expected folder for it) 2026-04-06 21:06:19 +02:00
Jindra Petřík
d487ef7064 Fixed: #2651 Loop breaks detection 2026-03-04 20:18:02 +01:00
Jindra Petřík
0ccacf3865 Added: AS3 ambiguous namespace detection (back again)
Fixed: #2514 AS3 direct editation - problems with namespaces
2026-03-04 20:18:02 +01:00
Jindra Petřík
5f077bd505 Fixed: AS3 direct editation - proper use conver/coerce instruction
Fixed: AS3 direct editation - use coerce_f for float values
2026-03-04 20:18:02 +01:00
Jindra Petřík
1489bf5c88 Added test for direct editing 2026-03-04 20:18:02 +01:00
Jindra Petřík
ba7c762537 Fixed: AS3 slow decompilation caused by ambiguios namespace detection 2026-02-23 09:21:44 +01:00
Jindra Petřík
417ffda416 Fixed: Using public/private/protected/internal keywords on ambiguous namespace references
and compiling such keywords with `::` suffix.
2026-02-19 20:54:52 +01:00
Jindra Petřík
056113c454 test fix 2026-02-18 23:58:23 +01:00
Jindra Petřík
0a4e53f455 Fixed: #2636 ActionScript 3 - type coercion / convert, local registers type propagation 2026-02-18 22:37:55 +01:00
Jindra Petřík
7bc96f67f3 Fixed: AS3 property resolving for KIND_NAMESPACE (like builtin for Strings, etc.) 2026-02-18 09:50:26 +01:00
Jindra Petřík
e7ec368ea6 Tests fix 2026-02-17 21:58:23 +01:00
Jindra Petřík
114f774672 Added: #2636 AS3 QName properties with nonvalid identifiers handled as square brackets 2026-02-17 20:50:57 +01:00
Jindra Petřík
fe28187a97 Fixed: #2636 ActionScript - Incorrect always-break detection causing insertion of while(true)
Fixed: ActionScript - newline after do..while
2026-02-17 18:12:02 +01:00
Jindra Petřík
7e78b8094c Spelling fix 2026-02-09 19:14:12 +01:00
Jindra Petřík
bfc9ab13d4 More AS1/2 increment,decrement,compound using PushDuplicate 2026-02-09 17:21:48 +01:00
Jindra Petřík
a2d10314a0 Fixed: #2618 AS1/2 increment/decrement using PushDuplicate 2026-02-09 16:17:29 +01:00
Jindra Petřík
281b35f3bf Fixed: #2473, #2530 Always-break loops containing breaks (forward gotos) 2026-01-25 12:49:05 +01:00
Jindra Petřík
e577257532 Update year in license header. 2026-01-16 21:33:23 +01:00
Jindra Petřík
b9e00fd673 Fixed: #2586 AS3 direct editation + decompilation - XML escape sequences and other XML problems 2026-01-03 23:58:04 +01:00
Jindra Petřík
d7071c940f Fixed: #2573 AS3 - Incorrect uint/int/Number coercion
Fixed: AS3 local registers type propagation
2025-11-30 12:35:54 +01:00
Jindra Petřík
714dd8761c Removed resampling from CLI and all source code
Frames with streamed sound are not taken as same.
2025-11-16 22:37:09 +01:00
Jindra Petřík
8dc3efc528 Fixed: #2561 Cannot set filter strength to 128 or above 2025-11-16 10:40:46 +01:00
Jindra Petřík
0c109bc0eb Fixed: #2546 AS3 findProperty vs temporary registers 2025-10-25 17:19:12 +02:00
Jindra Petřík
5db66ae32b Fixed tests. 2025-09-30 21:39:32 +02:00
Jindra Petřík
3b82db57ba Spelling fixes 2025-09-06 02:21:46 +02:00
Jindra Petřík
6b559cab3d New Assembled TestSetGetLocalOnStack 2025-09-01 19:58:31 +02:00
Jindra Petřík
189d58ab67 Assembled TestDoubleDup fix 2025-09-01 18:03:02 +02:00
Jindra Petřík
d51e75d0e7 Simple values are not duplicated with DuplicateItem/SetTemporary. 2025-09-01 17:01:29 +02:00
Jindra Petřík
46b05de1b3 updated tests 2025-09-01 17:01:29 +02:00
Jindra Petřík
c8a8ff2fea Get property fix, preincrement air test fix 2025-09-01 17:01:28 +02:00
Jindra Petřík
6a892b1796 Modified testcases 2025-09-01 17:01:28 +02:00
Jindra Petřík
7c2c87c8e4 Fix tests 2025-09-01 17:01:26 +02:00
Jindra Petřík
a804987067 swap item 2025-09-01 17:01:25 +02:00
Jindra Petřík
b449db946f §§dupsrc introduced 2025-09-01 17:01:25 +02:00
Jindra Petřík
922cd45084 Fixed tests. 2025-09-01 17:01:25 +02:00
Jindra Petřík
b3a693e4e3 2497 Swap instruction handling. WIP 2025-09-01 17:01:22 +02:00
Jindra Petřík
4b48b8408a Fixed: #2519 AS1/2 avoid multi-level loops in cases where possible 2025-08-22 19:29:04 +02:00
Jindra Petřík
c6889134d9 Fixed: #2517 Loop break detection problems in some cases 2025-08-21 18:21:04 +02:00
Jindra Petřík
967a6d8bf2 Separated increment/decrement tests. 2025-08-03 10:10:17 +02:00
Jindra Petřík
be5ead4087 Do not parse imports from names with namespace suffix 2025-08-01 19:29:45 +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
e65a19fd15 Organize imports 2025-07-27 13:32:20 +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
90a82a538a Print SafeStr list at the bottom (AS3) 2025-07-25 19:30:13 +02:00