summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Hopkins <adrien.p.hopkins@gmail.com>2023-04-15 10:42:57 -0500
committerAdrien Hopkins <adrien.p.hopkins@gmail.com>2023-04-15 10:42:57 -0500
commit7782359a4b16bf71c0017e8dc5360f202dcff693 (patch)
tree808961c254011b6b8cc369fa1fdd17ce033aa8d9
parent00ab3602ed9df9d6c207f68d178fc417d05b4c5a (diff)
Bumped version number to 0.4.1v0.4.1
-rw-r--r--CHANGELOG.org100
-rw-r--r--README.org2
-rw-r--r--src/main/java/sevenUnits/ProgramInfo.java6
-rw-r--r--src/main/resources/about.txt2
4 files changed, 57 insertions, 53 deletions
diff --git a/CHANGELOG.org b/CHANGELOG.org
index 90f6cfa..18951c1 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -1,66 +1,70 @@
* Changelog
- All notable changes in this project will be shown in this file.
+All notable changes in this project will be shown in this file.
+** v0.4.1 - [2023-04-15]
+*** Fixed
+- Upgrade Gradle from 6.3 to 8.1 to support users of new Java versions
+ (though 7Units still uses Java 11, the old Gradle distribution would fail if compiled with a newer version of Java)
** v0.4.0 - [2022-07-17 Sun]
*** Added
- - *Added tests for the GUI*
- - *Added search rules that determine which prefixes are shown in the unit conversion view.*
- - Added an object for the version numbers (SemanticVersionNumber)
- - Added some toString methods to NameSymbol and Nameable
+- *Added tests for the GUI*
+- *Added search rules that determine which prefixes are shown in the unit conversion view.*
+- Added an object for the version numbers (SemanticVersionNumber)
+- Added some toString methods to NameSymbol and Nameable
*** Changed
- - *Rewrote the GUI code internally using an MVP model to make it easier to maintain and improve*
- - BaseDimension is now Nameable. As a consequence, its name and symbol return Optional<String> instead of String, even though they will always succeed.
- - The UnitDatabase's units, prefixes and dimensions are now always named
- - The toString method of the common unit classes is now simpler. Alternate toString functions that describe the full unit are provided.
- - UncertainDouble and LinearUnitValue accept a RoundingMode in their complicated toString functions.
- - Rounding rules are now in their own classes
- - The "Show Duplicates" setting now affects the prefix viewer in addition to units
- - Tweaked the look of the unit and expression conversion sections of the view
- - Default dimension names are in title case, not uppercase.
+- *Rewrote the GUI code internally using an MVP model to make it easier to maintain and improve*
+- BaseDimension is now Nameable. As a consequence, its name and symbol return Optional<String> instead of String, even though they will always succeed.
+- The UnitDatabase's units, prefixes and dimensions are now always named
+- The toString method of the common unit classes is now simpler. Alternate toString functions that describe the full unit are provided.
+- UncertainDouble and LinearUnitValue accept a RoundingMode in their complicated toString functions.
+- Rounding rules are now in their own classes
+- The "Show Duplicates" setting now affects the prefix viewer in addition to units
+- Tweaked the look of the unit and expression conversion sections of the view
+- Default dimension names are in title case, not uppercase.
** v0.3.2 - [2021-12-02 Thu]
*** Added
- - Added lots more tests for the backend and utilities
+- Added lots more tests for the backend and utilities
*** Fixed
- - The UnitDatabase's unit map acted as if it were empty if it had units but no prefixes
- - Non-exact LinearUnitValue instances had their value printed as "(", meaning "(5.0 ± 0.1) m" would be printed as "( m"
+- The UnitDatabase's unit map acted as if it were empty if it had units but no prefixes
+- Non-exact LinearUnitValue instances had their value printed as "(", meaning "(5.0 ± 0.1) m" would be printed as "( m"
** v0.3.1 - [2021-08-26 Thu]
*** Added
- - Created a user manual
- - Create a design document (a document detailing the program's design for programmer use)
+- Created a user manual
+- Create a design document (a document detailing the program's design for programmer use)
*** Changed
- - Changed the name of the project from "Unit Converter" to "7Units"
- - Changed the main package from ~unitConverter~ to ~sevenUnits~
- - Tweaked the README, removing content that belongs in the new user manual
- - Renamed ~SI~ to ~Metric~
+- Changed the name of the project from "Unit Converter" to "7Units"
+ - Changed the main package from ~unitConverter~ to ~sevenUnits~
+- Tweaked the README, removing content that belongs in the new user manual
+- Renamed ~SI~ to ~Metric~
** v0.3.0 - [2021-06-12 Sat]
*** Added
- - Added a simple unit conversion method to the Unit interface
- - Added a static factory to create nonlinear units to the Unit interface
- - Added a settings menu with many settings to change the system's behaviour. Allows you to control the precision settings, prefix repetition, and more.
+- Added a simple unit conversion method to the Unit interface
+- Added a static factory to create nonlinear units to the Unit interface
+- Added a settings menu with many settings to change the system's behaviour. Allows you to control the precision settings, prefix repetition, and more.
*** Changed
- - Changed the unit system again!
- - You can now use tabs or spaces to separate unit names and their definitions in unit files.
- - Unit Converter uses Gradle instead of Maven.
+- Changed the unit system again!
+- You can now use tabs or spaces to separate unit names and their definitions in unit files.
+- Unit Converter uses Gradle instead of Maven.
** v0.2.0 - [2019-04-14]
*** Added
- - A selection-based unit converter which allows you to select two units, input a value, and convert.
- - The UnitDatabase now stores dimensions.
- - A system to parse mathematical expressions, used to parse unit expressions.
- - You can now add and subtract in unit expressions!
- - Instructions for obtaining unit instances are provided in the relevant classes
- - The UnitPrefix interface now provides default times, dividedBy and toExponent methods.
+- A selection-based unit converter which allows you to select two units, input a value, and convert.
+- The UnitDatabase now stores dimensions.
+- A system to parse mathematical expressions, used to parse unit expressions.
+- You can now add and subtract in unit expressions!
+- Instructions for obtaining unit instances are provided in the relevant classes
+- The UnitPrefix interface now provides default times, dividedBy and toExponent methods.
*** Changed
- - When searching for units, units with no prefixes are searched for before prefixed units
- - Smaller prefixes are searched for before larger prefixes
- - Moved project to Maven
- - Downgraded JUnit to 4.11
- - BaseUnit is now a subclass of LinearUnit
- - In unit files, Comments can now start in the middle of lines
- - UnitsDatabase.addAllFromFile() has been renamed to loadUnitsFile()
+- When searching for units, units with no prefixes are searched for before prefixed units
+- Smaller prefixes are searched for before larger prefixes
+- Moved project to Maven
+- Downgraded JUnit to 4.11
+- BaseUnit is now a subclass of LinearUnit
+- In unit files, Comments can now start in the middle of lines
+- UnitsDatabase.addAllFromFile() has been renamed to loadUnitsFile()
** v0.1.0 - [2019-02-01]
- NOTE: At this stage, the API is subject to significant change.
+NOTE: At this stage, the API is subject to significant change.
*** Added
- - Unit interface, implemented and supporting classes
- - UnitPrefix interface, implemented and supporting classes
- - UnitDimension and supporting classes
- - UnitDatabase to store and parse units
- - A GUI for unit conversion
+- Unit interface, implemented and supporting classes
+- UnitPrefix interface, implemented and supporting classes
+- UnitDimension and supporting classes
+- UnitDatabase to store and parse units
+- A GUI for unit conversion
diff --git a/README.org b/README.org
index bce9006..d48ccb4 100644
--- a/README.org
+++ b/README.org
@@ -1,4 +1,4 @@
-* 7Units Version 0.4.0
+* 7Units Version 0.4.1
(this project uses Semantic Versioning)
** What is it?
This is a unit converter, which allows you to convert between different units, and includes a GUI which can read unit data from a file (using some unit math) and convert between units that you type in, and has a unit and prefix viewer to check the units that have been loaded in.
diff --git a/src/main/java/sevenUnits/ProgramInfo.java b/src/main/java/sevenUnits/ProgramInfo.java
index 3fc0ef9..da66b4c 100644
--- a/src/main/java/sevenUnits/ProgramInfo.java
+++ b/src/main/java/sevenUnits/ProgramInfo.java
@@ -1,5 +1,5 @@
/**
- * Copyright (C) 2021 Adrien Hopkins
+ * Copyright (C) 2021-2023 Adrien Hopkins
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
@@ -26,9 +26,9 @@ import sevenUnits.utils.SemanticVersionNumber;
*/
public final class ProgramInfo {
- /** The version number (0.4.0) */
+ /** The version number (0.4.1) */
public static final SemanticVersionNumber VERSION = SemanticVersionNumber
- .stableVersion(0, 4, 0);
+ .stableVersion(0, 4, 1);
private ProgramInfo() {
// this class is only for static variables, you shouldn't be able to
diff --git a/src/main/resources/about.txt b/src/main/resources/about.txt
index 2fd1368..5cdcf67 100644
--- a/src/main/resources/about.txt
+++ b/src/main/resources/about.txt
@@ -2,7 +2,7 @@ About 7Units Version [VERSION]
Copyright Notice:
-Unit Converter Copyright (C) 2018-2022 Adrien Hopkins
+Unit Converter Copyright (C) 2018-2023 Adrien Hopkins
This program comes with ABSOLUTELY NO WARRANTY;
for details read the LICENSE file, section 15