Commit Graph

9046 Commits

Author SHA1 Message Date
github-actions[bot]
792d2c2fc8 chore: change version to 26.2.1
[ci skip]
version26.2.1
2026-05-24 17:01:45 +00:00
Jindra Petřík
891a265134 fix: fix nullpointer on program start - ui scale (#2720) 2026-05-24 18:48:21 +02:00
github-actions[bot]
aab027e0d2 chore: change version to 26.2.0
[ci skip]
version26.2.0
2026-05-24 08:55:56 +00:00
Jindra Petřík
61a842b82d ci: nexus mods fix 2026-05-24 10:41:31 +02:00
Jindra Petřík
8912af4152 chore: merge dev 2026-05-24 10:33:20 +02:00
github-actions[bot]
8db291043b chore: change version to 26.1.0
[ci skip]
version26.1.0
2026-05-24 08:04:49 +00:00
takattowo
3e7b25a96f feat(ui): redetect scale factor on each launch when not set in config (PR260)
* re-detect DPI scale each launch instead of using stale saved value

* make uiScale config default null

---------

Co-authored-by: Jindra Petřík <jindra.petrik@gmail.com>
2026-05-24 09:51:19 +02:00
Symere
01bf4af552 fix(as2): correct Decrement cast and guard empty output in ActionSetMember (PR261)
handleSetMember crashed while decompiling AS2 code that applies `--` to a
virtual (`__get__`/`__set__`) property, e.g. `this.prop--` where `prop` is
defined via addProperty. The decrement-setter branch built a
PreDecrementActionItem but cast the value to IncrementActionItem instead of
DecrementActionItem, throwing ClassCastException.

That exception was then masked: it propagated into the finally block before
addToOutput ran, so `output` was empty and `output.remove(output.size() - 1)`
threw IndexOutOfBoundsException, replacing the real cause. The reported error
was therefore always a misleading "Index -1 out of bounds for length 0",
which also aborts loading entirely when "automatically rename identifiers" is
enabled (deobfuscateIdentifiers decompiles every script on load).

Fixes:
- Cast value to DecrementActionItem in the PreDecrement setter branch.
- Guard the finally against an empty output (mirrors cleanupTemp) so a future
  exception in the try block is no longer masked.

Affected code now decompiles correctly to `++prop` / `--prop`.
2026-05-24 09:07:34 +02:00
Jindra Petřík
3ed2bdd5a6 fix(as3 direct edit): correct protected property access on toplevel (#2713)
Fixes #2713
2026-05-23 17:04:51 +02:00
Jindra Petřík
602a70b74f fix(as3): correct named anonymous functions (#2714)
Anonymous functions with names that are part of for example
function call.
f(5, function myName() {
});
The problem with this was introduced with adding temporary registers
for swap operation.

Fixes #2714
2026-05-23 16:13:24 +02:00
Jindra Petřík
d811d8b4db test: fix tests 2026-05-23 11:52:19 +02:00
Jindra Petřík
e0b7f56815 chore: merge 2026-05-23 11:34:14 +02:00
Jindra Petřík
391aed99c6 fix(as3 direct edit): correct using convert_s instead of coerce_s (#2717)
Fixes #2717
2026-05-23 11:33:15 +02:00
Liushui
5da6967c00 docs: Chinese version to README.md (#259)
Update translator's name
2026-05-14 19:22:19 +02:00
Jindra Petřík
eb616fd8f8 feat(as3): allow display of duplicate classes, warn (#2710, #2254)
ScriptPacks that are duplicate - multiple packs with the same name
exist - are displayed and can be edited / deleted / ...

Previously, there was SEVERE error logged when such state was
detected, now only WARNING is issued.
2026-05-10 21:27:12 +02:00
Jindra Petřík
5bb8a2c23d feat(xml export): allow external as1/2 scripts, images and defineSounds (#2707) 2026-05-10 16:09:46 +02:00
Jindra Petřík
f8652d236a style: fix spelling
[ci skip]
2026-05-09 18:07:49 +02:00
Jindra Petřík
f4114cb062 style: missing override annotation 2026-05-09 09:53:00 +02:00
Jindra Petřík
3d46722d8f fix(msaa renderer): fix closing strokes 2026-05-09 09:52:38 +02:00
Jindra Petřík
ae9fdf1f93 chore: remove unwanted import 2026-05-08 14:04:23 +02:00
Jindra Petřík
c89c542f7a fix: allow only safe classes on deserialization 2026-05-08 13:58:33 +02:00
Jindra Petřík
66391cbb75 fix(text tag convertor): fix text position (#2383)
Fixes #2383
2026-05-08 12:46:17 +02:00
Jindra Petřík
75a2ca32c1 fix: fix text position calculation in DefineEditText 2026-05-08 12:45:10 +02:00
Jindra Petřík
28a357ef1b feat(text tag convertor): set text height 2026-05-08 08:09:58 +02:00
Jindra Petřík
1d5fe3551c chore: merge 2026-05-08 01:22:50 +02:00
Jindra Petřík
3ec7823a94 docs: remove -resamplewav option from cli help 2026-05-07 23:27:34 +02:00
Jindra Petřík
37456fd06e docs: update cli help for f1-f4 fla export 2026-05-07 23:20:51 +02:00
colin-i
5a15cf6760 feat(translator): add autosave on exit checkbox (PR257)
Closes PR257
2026-05-07 20:57:32 +02:00
colin-i
3adca07a35 feat: add config for loading spinner (PR258)
Closes PR258
2026-05-07 20:37:16 +02:00
Jindra Petřík
506ae97c91 fix(jsyntaxpane): wrap in backwards direction in the quick find (#2694)
Fixes #2694
2026-05-03 17:44:23 +02:00
Jindra Petřík
37ed3920c9 feat(xml export): export only fields that meet conditions (#2702)
Closes #2702
2026-05-03 16:32:51 +02:00
Jindra Petřík
653edc10a2 style: fix checkstyle 2026-05-03 14:03:56 +02:00
Jindra Petřík
772bd9f0bc chore: merge 2026-05-03 13:28:17 +02:00
Jindra Petřík
e610dc71be fix: fix setSelectedIndex out of bounds on export dialog (#2579)
Fixes #2579
2026-05-03 12:54:33 +02:00
Jindra Petřík
1f4da67a0f chore: update turkish translation 2026-05-03 12:41:15 +02:00
Jindra Petřík
f60adad8a1 fix: ignore deleted traits on indexing (PR256)
Fixes PR256
2026-05-02 08:05:53 +02:00
Jindra Petřík
c75122b752 chore: update slovenian translation 2026-04-28 19:02:37 +02:00
dependabot[bot]
395a09fac5 chore(deps): bump org.bouncycastle:bcprov-jdk18on in /altsigner
Bumps [org.bouncycastle:bcprov-jdk18on](https://github.com/bcgit/bc-java) from 1.83 to 1.84.
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcprov-jdk18on
  dependency-version: '1.84'
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-27 19:52:21 +02:00
dependabot[bot]
c6cf11efed chore(deps): bump org.bouncycastle:bcpkix-jdk18on in /altsigner
Bumps [org.bouncycastle:bcpkix-jdk18on](https://github.com/bcgit/bc-java) from 1.83 to 1.84.
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcpkix-jdk18on
  dependency-version: '1.84'
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-27 19:52:21 +02:00
Jindra Petřík
b35138189b fix(AS2 direct edit): fix register count in empty functions (#2705)
Fixes #2705
2026-04-27 19:49:31 +02:00
Jindra Petřík
48fad13268 feat(fla export): add support for flash1 to flash4, fla export dialog 2026-04-26 17:30:11 +02:00
Jindra Petřík
628e0e416f style: fix checkstyle 2026-04-26 16:56:17 +02:00
Jindra Petřík
b1554d3bf6 chore: update turkish translation 2026-04-26 16:49:18 +02:00
Jindra Petřík
2cade7d8dd fix: fix tellTarget handling on old AS version 2026-04-18 19:14:05 +02:00
dependabot[bot]
66042ec82f chore(deps): bump org.bouncycastle:bcpkix-jdk18on in /altsigner
Bumps [org.bouncycastle:bcpkix-jdk18on](https://github.com/bcgit/bc-java) from 1.83 to 1.84.
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcpkix-jdk18on
  dependency-version: '1.84'
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-17 18:48:30 +02:00
Jindra Petřík
e5142a45e5 fix(actionscript): fix loop after switch (#2698)
Fixes #2698
2026-04-13 16:17:36 +02:00
Jindra Petřík
574474ca10 fix: correct stroke size on zoomed shapes msaa export (#2696)
Fixes #2696
2026-04-12 18:39:32 +02:00
Jindra Petřík
aa923dd201 fix: fix nightly update checking showing current version 2026-04-12 18:00:25 +02:00
Jindra Petřík
8a2b420201 chore: handle multiple bin versions in lossless image bin reader 2026-04-12 17:58:39 +02:00
Jindra Petřík
84adc994a1 feat(text tag convertor): set default color, fontId, hasLayout (#2383) 2026-04-07 09:54:57 +02:00