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 fa10f869..a734759b 100644 --- a/flexdock-core/pom.xml +++ b/flexdock-core/pom.xml @@ -4,10 +4,9 @@ org.flexdock flexdock - 1.3 + 1.4 flexdock-core - 1.3 jar ${project.artifactId} 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 100404f3..dab093d4 100644 --- a/flexdock-demo/pom.xml +++ b/flexdock-demo/pom.xml @@ -4,10 +4,9 @@ org.flexdock flexdock - 1.3 + 1.4 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..17b48962 100644 --- a/flexdock-drag/pom.xml +++ b/flexdock-drag/pom.xml @@ -4,10 +4,9 @@ org.flexdock flexdock - 1.3 + 1.4 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..373c1c5f 100644 --- a/flexdock-perspective/pom.xml +++ b/flexdock-perspective/pom.xml @@ -4,10 +4,9 @@ org.flexdock flexdock - 1.3 + 1.4 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..efb66263 100644 --- a/flexdock-view/pom.xml +++ b/flexdock-view/pom.xml @@ -4,10 +4,9 @@ org.flexdock flexdock - 1.3 + 1.4 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 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 ==