Releases: triplea-game/triplea
Releases · triplea-game/triplea
2024-August-28 - 2.7.14870
Bump mockitoVersion from 5.11.0 to 5.13.0 (#12871) Bumps `mockitoVersion` from 5.11.0 to 5.13.0. Updates `org.mockito:mockito-core` from 5.11.0 to 5.13.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.11.0...v5.13.0) Updates `org.mockito:mockito-junit-jupiter` from 5.11.0 to 5.13.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.11.0...v5.13.0) Updates `org.mockito:mockito-subclass` from 5.11.0 to 5.13.0 - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.11.0...v5.13.0) --- updated-dependencies: - dependency-name: org.mockito:mockito-core dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.mockito:mockito-junit-jupiter dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.mockito:mockito-subclass dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-August-26 - 2.7.14868
Bump com.google.guava:guava from 33.2.1-jre to 33.3.0-jre (#12842) Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.2.1-jre to 33.3.0-jre. - [Release notes](https://github.com/google/guava/releases) - [Commits](https://github.com/google/guava/commits) --- updated-dependencies: - dependency-name: com.google.guava:guava dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-August-26 - 2.7.14867
Bump com.install4j.gradle from 10.0.8 to 10.0.9 (#12850) Bumps com.install4j.gradle from 10.0.8 to 10.0.9. --- updated-dependencies: - dependency-name: com.install4j.gradle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-August-25 - 2.7.14866
start game file directly via parameter (#12862) * start game file directly via parameter Examples arguments (for gradle run use pattern "run --args='<arguments>'": 'triplea.start=lobby' to start lobby login window 'triplea.game=<save file>' to start saved game as local game 'triplea.game=<game file>' to start new game as local game (only full path supported) 'triplea.game=<save file> triplea.start=pbem' to start saved game as PBEM game HeadedGameRunner.java - handling of main-arguments reworked, especially new one 'triplea.start' via parsing in new method setPropertiesFromArgs and handling in method showMainFrame MainFrame.java - new method startGameDirectly() - rename field mainFrame to mainJFrame to call method MainPanelBuilder.getMainPanelLaunchAction() with MainPanel CliProperties.java - add constants for TRIPLEA_START (triplea.start) Constants.java - adding @NonNls to some constants HeadedServerSetupModel.java - typos MainPanelBuilder.java - extract new public static method getMainPanelLaunchAction to allow call from MainFrame ServerModel.java - typos * fix checkstyleMain due to star imports '.*' --------- Co-authored-by: RogerCooper <RogerCoop@aol.com>
2024-August-24 - 2.7.14863
Fix 12855 Failed to start game (#12856) * Fix issue 12826 (UnitSeparator#categorize:213 - java.util.ConcurrentModificationException) PlacePanel.java - new method updateUnitsInUnitsToPlacePanel that ensures copying the unit collection (existed already in method updateStep, but not in gameDataChanged or updateUnits) - Cleanup: extract new methods from declaration of variable placeMapSelectionListener which are getUnitsToPlace, getScrollPaneFromChooser, getPreferredHeight and getPreferredWidth * PlayerUnitsPanel ToDo done via redraw Replace invalidate(); validate(); revalidate();getParent().invalidate(); with SwingComponents.redraw(this); * tab Players - tooltips for technologies Smaller fixes: - SwingConstants instead of JLable - method setStatColumns with List.toArray - rename gameData to gameDataSync - introduce synchronized method TechTableModel.getDataAndInitRowMap() * Fix 12855 Failed to start game Example map: World War II v3 1941 UnsupportedOperationException caused by Arrays.asList (=fixed size list) followed with method call add()
2024-August-23 - 2.7.14862
tab Players - tooltips for technologies (#12853) * Fix issue 12826 (UnitSeparator#categorize:213 - java.util.ConcurrentModificationException) PlacePanel.java - new method updateUnitsInUnitsToPlacePanel that ensures copying the unit collection (existed already in method updateStep, but not in gameDataChanged or updateUnits) - Cleanup: extract new methods from declaration of variable placeMapSelectionListener which are getUnitsToPlace, getScrollPaneFromChooser, getPreferredHeight and getPreferredWidth * PlayerUnitsPanel ToDo done via redraw Replace invalidate(); validate(); revalidate();getParent().invalidate(); with SwingComponents.redraw(this); * tab Players - tooltips for technologies Smaller fixes: - SwingConstants instead of JLable - method setStatColumns with List.toArray - rename gameData to gameDataSync - introduce synchronized method TechTableModel.getDataAndInitRowMap()
2024-August-18 - 2.7.14861
I18n v2.2 (Scope: strategy.engine.framework.startup.ui) (#12841) * i18n_v2 #1 annotate I18n classes with @NonNls * i18n_v2 #2 annotate @NonNls with .-pattern (.*String .+ *= "\w+\.[A-Za-z]+[A-Za-z\.]*) * i18n_v2 #3 fix via @NonNls imports * i18n_v2 #4 add @NonNls to Strings based on review with pattern (.*String .* = .*\+.*") * i18n_v2 #5 add @NonNls import to AbstractConditionsAttachment.java AbstractImageFactory.java AutoPlacementFinder.java ClipPlayer.java CliProperties.java CommentPanel.java DownloadFile.java FileNameUtils.java FlagIconImageFactory.java GameParser.java GameRunner.java InGameLobbyWatcher.java MapData.java NodeBbForumPoster.java NotificationMessages.java ObjectiveProperties.java PoliticsText.java ProductionRepairPanel.java ProductionTabsProperties.java TooltipProperties.java UnitIconProperties.java UnitImageFactory.java * i18n_v2.1 #6 add @NonNls to Strings based on review with static-String-pattern (.*static final String .* = ") * i18n_v2.1 #7 add @NonNls and Locals to getUpperCase() calls (toUpperCase\()\) * i18n_v2.1 #7 add @NonNls and Locals to toLowerCase() or toUpperCase() calls (?<!NonNls) (p.* static final String) * i18n_v2.1 #8 fix checkstyle error and spotlessJavaApply * LanchesterDebugAction System.out -> log.info * i18n v2.2 Scope: strategy.engine.framework.startup.ui 1. Invoke the Code | Analyse Code | Run Inspection by Name... action. 2. Select the Hardcoded strings inspection. New class HtmlBuilder.java to introduce simple builder pattern for HTML
2024-August-17 - 2.7.14860
I18n v2 (@NonNls + Locals for toLowerCase/toUpperCase) (#12840) * i18n_v2 #1 annotate I18n classes with @NonNls * i18n_v2 #2 annotate @NonNls with .-pattern (.*String .+ *= "\w+\.[A-Za-z]+[A-Za-z\.]*) * i18n_v2 #3 fix via @NonNls imports * i18n_v2 #4 add @NonNls to Strings based on review with pattern (.*String .* = .*\+.*") * i18n_v2 #5 add @NonNls import to AbstractConditionsAttachment.java AbstractImageFactory.java AutoPlacementFinder.java ClipPlayer.java CliProperties.java CommentPanel.java DownloadFile.java FileNameUtils.java FlagIconImageFactory.java GameParser.java GameRunner.java InGameLobbyWatcher.java MapData.java NodeBbForumPoster.java NotificationMessages.java ObjectiveProperties.java PoliticsText.java ProductionRepairPanel.java ProductionTabsProperties.java TooltipProperties.java UnitIconProperties.java UnitImageFactory.java * i18n_v2.1 #6 add @NonNls to Strings based on review with static-String-pattern (.*static final String .* = ") * i18n_v2.1 #7 add @NonNls and Locals to getUpperCase() calls (toUpperCase\()\) * i18n_v2.1 #7 add @NonNls and Locals to toLowerCase() or toUpperCase() calls (?<!NonNls) (p.* static final String) * i18n_v2.1 #8 fix checkstyle error and spotlessJavaApply
2024-August-16 - 2.7.14859
Bump org.junit.platform:junit-platform-launcher from 1.10.3 to 1.11.0…
2024-August-16 - 2.7.14858
Bump junitJupiterVersion from 5.10.3 to 5.11.0 (#12836) Bumps `junitJupiterVersion` from 5.10.3 to 5.11.0. Updates `org.junit.jupiter:junit-jupiter-api` from 5.10.3 to 5.11.0 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.3...r5.11.0) Updates `org.junit.jupiter:junit-jupiter-params` from 5.10.3 to 5.11.0 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.3...r5.11.0) Updates `org.junit.jupiter:junit-jupiter-engine` from 5.10.3 to 5.11.0 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.3...r5.11.0) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter-api dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.junit.jupiter:junit-jupiter-params dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.junit.jupiter:junit-jupiter-engine dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>