-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1127 from fesch/bugfix
Version 3.32-16 candidate
- Loading branch information
Showing
19 changed files
with
1,405 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | ||
:: | ||
:: Author: Kay Gürtzig | ||
:: | ||
:: Description: Structorizer Translator start script for Windows | ||
:: | ||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | ||
:: | ||
:: Revision List | ||
:: | ||
:: Author Date Description | ||
:: ------ ---- ----------- | ||
:: Kay Gürtzig 2024-01-26 First Issue (derived from Arranger.bat) | ||
:: | ||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | ||
|
||
:: Check for the correct Java version | ||
@echo off | ||
setlocal | ||
set REQVERSION=11 | ||
for /f "delims=" %%a in (' java -version ^2^>^&^1 ^| find "version" ') do set JAVAVER=%%a | ||
set JAVAVER=%JAVAVER:"=_% | ||
for /f "tokens=2 delims=_" %%a in ("%JAVAVER%") do set JAVAVER=%%a | ||
for /f "tokens=1,2 delims=." %%a in ("%JAVAVER%") do ( | ||
set VERSION=%%a | ||
if %%VERSION%% equ 1 set VERSION=%%b | ||
) | ||
if %VERSION% lss %REQVERSION% ( | ||
echo on | ||
echo "Your Java version is %VERSION%, but version %REQVERSION% is required. Please update." | ||
@goto :exit | ||
) | ||
:: Actual start (Java version is fine) | ||
echo on | ||
java -cp "%~d0%~p0Structorizer.app\Contents\Java\Structorizer.jar" lu.fisch.structorizer.locales.Translator -test | ||
:exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,6 +134,7 @@ | |
* Kay Gürtzig 2022-08-20 Enh. #1066: New static method retrieveComponentNames() | ||
* Kay Gürtzig 2022-08-22 Bugfix #1068: Type inference failure for array initialisers mended | ||
* Kay Gürtzig 2023-12-14 Issue #1119: To set an empty string as text now leads to an empty StringList | ||
* Kay Gürtzig 2024-01-22 Bugfix #1125: Equality check must consider disabled state | ||
* | ||
****************************************************************************************************** | ||
* | ||
|
@@ -305,7 +306,7 @@ public String toString() | |
public static final long E_HELP_FILE_SIZE = 12300000; | ||
public static final String E_DOWNLOAD_PAGE = "https://www.fisch.lu/Php/download.php"; | ||
// END KGU#791 2020-01-20 | ||
public static final String E_VERSION = "3.32-15"; | ||
public static final String E_VERSION = "3.32-16"; | ||
public static final String E_THANKS = | ||
"Developed and maintained by\n"+ | ||
" - Robert Fisch <[email protected]>\n"+ | ||
|
@@ -1021,6 +1022,9 @@ public boolean equals(Element _another) | |
// START KGU#156 2016-03-12: Colour had to be disabled due to races | ||
//if (isEqual) isEqual = this.getColor().equals(_another.getColor()); | ||
// END KGU#156 2016-03-12 | ||
// START KGU#1113 2024-01-22: Enh. #270, Bugfix #1125 disabled state is a difference | ||
if (isEqual) isEqual = this.disabled == _another.disabled; | ||
// END KGU#1113 2024-01-22 | ||
return isEqual; | ||
} | ||
// END KGU#119 2016-01-02 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.