From c5c089b04baec66dd4e1a45c56c4df552fa7ef47 Mon Sep 17 00:00:00 2001 From: Danil Sokolov Date: Tue, 24 Nov 2026 17:42:07 +0000 Subject: [PATCH 1/2] Inherit module versions from parent POM A version bump touched 19 version tags across the POMs. The modules now inherit their version from the parent and refer to each other by ${project.version}, so only the root POM and the parent block of each module carry the version. --- flexdock-core/pom.xml | 1 - flexdock-demo/pom.xml | 9 ++++----- flexdock-drag/pom.xml | 3 +-- flexdock-perspective/pom.xml | 3 +-- flexdock-view/pom.xml | 5 ++--- 5 files changed, 8 insertions(+), 13 deletions(-) diff --git a/flexdock-core/pom.xml b/flexdock-core/pom.xml index fa10f869..121ce640 100644 --- a/flexdock-core/pom.xml +++ b/flexdock-core/pom.xml @@ -7,7 +7,6 @@ 1.3 flexdock-core - 1.3 jar ${project.artifactId} diff --git a/flexdock-demo/pom.xml b/flexdock-demo/pom.xml index 100404f3..928cbeb2 100644 --- a/flexdock-demo/pom.xml +++ b/flexdock-demo/pom.xml @@ -7,7 +7,6 @@ 1.3 flexdock-demo - 1.3 jar ${project.artifactId} @@ -22,7 +21,7 @@ org.flexdock flexdock-core - 1.3 + ${project.version} jar @@ -34,19 +33,19 @@ org.flexdock flexdock-view - 1.3 + ${project.version} jar org.flexdock flexdock-perspective - 1.3 + ${project.version} jar org.flexdock flexdock-drag - 1.3 + ${project.version} jar diff --git a/flexdock-drag/pom.xml b/flexdock-drag/pom.xml index b8be17e3..8157e4f6 100644 --- a/flexdock-drag/pom.xml +++ b/flexdock-drag/pom.xml @@ -7,7 +7,6 @@ 1.3 flexdock-drag - 1.3 jar ${project.artifactId} @@ -17,7 +16,7 @@ org.flexdock flexdock-core - 1.3 + ${project.version} jar diff --git a/flexdock-perspective/pom.xml b/flexdock-perspective/pom.xml index c0f0dfe0..a03d1737 100644 --- a/flexdock-perspective/pom.xml +++ b/flexdock-perspective/pom.xml @@ -7,7 +7,6 @@ 1.3 flexdock-perspective - 1.3 jar ${project.artifactId} @@ -17,7 +16,7 @@ org.flexdock flexdock-core - 1.3 + ${project.version} jar diff --git a/flexdock-view/pom.xml b/flexdock-view/pom.xml index 00b4d631..808f039d 100644 --- a/flexdock-view/pom.xml +++ b/flexdock-view/pom.xml @@ -7,7 +7,6 @@ 1.3 flexdock-view - 1.3 jar ${project.artifactId} @@ -17,13 +16,13 @@ org.flexdock flexdock-core - 1.3 + ${project.version} jar org.flexdock flexdock-perspective - 1.3 + ${project.version} jar From d24078705d313be82414980d4aea66deaded1921 Mon Sep 17 00:00:00 2001 From: Danil Sokolov Date: Tue, 24 Nov 2026 17:52:24 +0000 Subject: [PATCH 2/2] Release 1.4 Bump the version to 1.4, including Utilities.VERSION, and turn the unreleased section into the 1.4 release notes. Group the fixes by class, list the missing null pointer fixes in sibling lookup, restore and titlebar and the licence fix, and drop the finalize() removal, which has no visible effect. --- README-BUILD.md | 10 ++--- flexdock-core/pom.xml | 2 +- .../java/org/flexdock/util/Utilities.java | 2 +- flexdock-demo/pom.xml | 2 +- flexdock-drag/pom.xml | 2 +- flexdock-perspective/pom.xml | 2 +- flexdock-view/pom.xml | 2 +- pom.xml | 2 +- release-notes.txt | 40 +++++++++---------- 9 files changed, 30 insertions(+), 34 deletions(-) diff --git a/README-BUILD.md b/README-BUILD.md index 7de4d7cb..3817898d 100644 --- a/README-BUILD.md +++ b/README-BUILD.md @@ -15,7 +15,7 @@ a `maven` project add org.flexdock flexdock-core - 1.3 + 1.4 jar @@ -27,19 +27,19 @@ a `maven` project add org.flexdock flexdock-view - 1.3 + 1.4 jar org.flexdock flexdock-perspective - 1.3 + 1.4 jar org.flexdock flexdock-drag - 1.3 + 1.4 jar @@ -50,6 +50,6 @@ Simply run cd flexdock-demo mvn package - java -jar flexdock-demo/target/flexdock-demo-1.3.jar + java -jar flexdock-demo/target/flexdock-demo-1.4.jar which will run a launcher for all available demos. diff --git a/flexdock-core/pom.xml b/flexdock-core/pom.xml index 121ce640..a734759b 100644 --- a/flexdock-core/pom.xml +++ b/flexdock-core/pom.xml @@ -4,7 +4,7 @@ org.flexdock flexdock - 1.3 + 1.4 flexdock-core jar diff --git a/flexdock-core/src/main/java/org/flexdock/util/Utilities.java b/flexdock-core/src/main/java/org/flexdock/util/Utilities.java index 384b6630..975da6ae 100644 --- a/flexdock-core/src/main/java/org/flexdock/util/Utilities.java +++ b/flexdock-core/src/main/java/org/flexdock/util/Utilities.java @@ -43,7 +43,7 @@ public class Utilities { /** * A String representing the flexdock version. This constant is a string. */ - public static final String VERSION = "1.3"; + public static final String VERSION = "1.4"; private Utilities() { // does nothing diff --git a/flexdock-demo/pom.xml b/flexdock-demo/pom.xml index 928cbeb2..dab093d4 100644 --- a/flexdock-demo/pom.xml +++ b/flexdock-demo/pom.xml @@ -4,7 +4,7 @@ org.flexdock flexdock - 1.3 + 1.4 flexdock-demo jar diff --git a/flexdock-drag/pom.xml b/flexdock-drag/pom.xml index 8157e4f6..17b48962 100644 --- a/flexdock-drag/pom.xml +++ b/flexdock-drag/pom.xml @@ -4,7 +4,7 @@ org.flexdock flexdock - 1.3 + 1.4 flexdock-drag jar diff --git a/flexdock-perspective/pom.xml b/flexdock-perspective/pom.xml index a03d1737..373c1c5f 100644 --- a/flexdock-perspective/pom.xml +++ b/flexdock-perspective/pom.xml @@ -4,7 +4,7 @@ org.flexdock flexdock - 1.3 + 1.4 flexdock-perspective jar diff --git a/flexdock-view/pom.xml b/flexdock-view/pom.xml index 808f039d..efb66263 100644 --- a/flexdock-view/pom.xml +++ b/flexdock-view/pom.xml @@ -4,7 +4,7 @@ org.flexdock flexdock - 1.3 + 1.4 flexdock-view jar diff --git a/pom.xml b/pom.xml index 8db37b96..3b0b78a2 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.flexdock flexdock - 1.3 + 1.4 pom diff --git a/release-notes.txt b/release-notes.txt index cfeef65b..e2437490 100644 --- a/release-notes.txt +++ b/release-notes.txt @@ -1,35 +1,31 @@ -== Changes since last release (to become flexdock x.x RELEASE NOTES) == +== flexdock 1.4 RELEASE NOTES == Updates: +* Persist the selected tab of tabbed groups; if none is stored, restore the + last tab, or the first after DockingManager.setSelectFirstTabByDefault(true) * Require Java 8 to run and JDK 21+, Maven 3.6.3+ to build * Remove Applet/JApplet handling (removed in Java 26) * Remove unused public API: OsInfo, ResourceManager.loadLibrary(), LIBRARY_EXTENSION and isWindowsPlatform() -* Remove unused native rubberband leftovers (RubberBand.dll, libRubberBand.so, - OS entries in drag-effects.xml, rubberband.debug, dev-props.properties) -* Persist the selected tab of each tabbed docking group in the layout; - if none is stored, restore the last tab (as before), or the first tab - after DockingManager.setSelectFirstTabByDefault(true) -* DockingSplitPane: remove finalize(), which freed nothing (deprecated for - removal since Java 18) +* Remove native rubberband leftovers, rubberband.debug and dev-props.properties +* Declare the MIT licence in pom.xml, as in LICENSE.txt Fixes: -* DockingPathSerializer: read all split nodes of a stored docking path -* FilePersistenceHandler: keep the previous layout file if saving fails -* PerspectiveManager: ignore detached docking ports when finding the main one +* DockingManager: use stub managers if flexdock-view or flexdock-perspective + is missing; getSibling() returns null for an undocked dockable +* DockingSplitPane: keep the divider percentage from the first drag and from + imported layouts, also when set before the split pane has a size * DefaultDockingPort: clear() also clears the nested docking ports * DockingStateListener: validate pending layout before capturing docking state -* PlafManager: keep the preferred theme after a look and feel change -* DockingSplitPane: track the divider percentage from the first drag and - apply it consistently in setDividerLocation() -* DockingSplitPane: apply a percentage set before the size is known once it is, - also without constant percent, so imported layouts keep their proportions -* DockingManager: use stub managers when flexdock-view or flexdock-perspective - is missing, instead of overflowing the stack -* UIFactory: create a custom theme under a look and feel without a theme mapping -* FloatingGroup: save and clone a floating group whose bounds were never set -* XMLPersister: write layout XML as UTF-8, as its header declares -* FilePersistenceHandler: save to a relative layout file without a directory +* Titlebar: setActions() with a non-null array no longer breaks addAction() +* PlafManager, UIFactory: keep the preferred theme after a look and feel + change; create a custom theme under a look and feel without a theme mapping +* FilePersistenceHandler, XMLPersister: keep the old layout file if saving + fails; save to a relative file without a directory; write XML as UTF-8 +* DockingPathSerializer, FloatingGroup: read all split nodes of a docking + path; save and clone a floating group whose bounds were never set +* PerspectiveManager, DockPathHandler, PointHandler: ignore detached ports + for the main port; skip dockables without docking state on restore == flexdock 1.3 RELEASE NOTES ==