From 6eac393fd44f62b7e9f44c13ef7e2367a9531489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Tue, 5 Sep 2023 21:51:01 +0200 Subject: [PATCH] Added #2070 forceWriteAsLong Tag internal attribute is now visible and editable (including XML export), allows decide whether to write length in tag header as long --- CHANGELOG.md | 11 +++++++---- .../src/com/jpexs/decompiler/flash/tags/Tag.java | 1 - 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a0f893a2..c929cb0cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,15 +4,18 @@ All notable changes to this project will be documented in this file. ## [Unreleased] ### Added - [#1449] Updated Turkish translation -- [#2070] - SWF to XML format has new meta fields describing XML export major/minor version +- [#2070] SWF to XML format has new meta fields describing XML export major/minor version (major = uncompatible change) +- [#2070] forceWriteAsLong Tag internal attribute is now visible and editable + (including XML export), allows decide whether to write length in tag header as long ### Fixed -- [#2070] - Handling newlines and tabs in string values inside SWF to XML export +- [#2070] Handling newlines and tabs in string values inside SWF to XML export ### Changed -- [#2070] - String values inside SWF to XML export are backslash escaped to properly handle newlines and tabs. -Older versions of FFDec can read this new format wrong and corrupt SWFs. +- [#2070] String values inside SWF to XML export are backslash escaped +to properly handle newlines and tabs. Older versions of FFDec can read this +new format wrong and corrupt SWFs. Major version of SWF to XML export changed to 2. ### Fixed diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java index 44ef81e49..c3f8997c0 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java @@ -77,7 +77,6 @@ public abstract class Tag implements NeedsCharacters, Exportable, Serializable { * If true, then Tag is written to the stream as longer than 0x3f even if it * is not */ - @Internal public boolean forceWriteAsLong = false; protected String tagName;