From 740c5a4c13e98bd04b385eee9b881e53eb88d3b8 Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Mon, 26 Aug 2019 16:52:11 -0400 Subject: The unit file parser now uses regular expressions. --- CHANGELOG.org | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'CHANGELOG.org') diff --git a/CHANGELOG.org b/CHANGELOG.org index 77e7593..1a49709 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -1,7 +1,20 @@ * Changelog All notable changes in this project will be shown in this file. +** Unreleased +*** Added + - Added a simple unit conversion method to the Unit interface + - Added a static factory to create nonlinear units to the Unit interface +*** Changed + - You can now use tabs or spaces to separate unit names and their definitions in unit files. ** 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. *** Changed - When searching for units, units with no prefixes are searched for before prefixed units - Smaller prefixes are searched for before larger prefixes @@ -10,13 +23,6 @@ All notable changes in this project will be shown in this file. - 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() -*** 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. ** v0.1.0 - [2019-02-01] NOTE: At this stage, the API is subject to significant change. *** Added -- cgit v1.2.3 From 511fe144da142082a02b5a5b07e67bb76df1331e Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Tue, 15 Oct 2019 20:13:04 -0400 Subject: Finalized the removal of Maven from Unit Converter --- .classpath | 5 +++-- .gitlab-ci.yml | 14 -------------- CHANGELOG.org | 1 + 3 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 .gitlab-ci.yml (limited to 'CHANGELOG.org') diff --git a/.classpath b/.classpath index 8fc330a..12fc059 100644 --- a/.classpath +++ b/.classpath @@ -6,11 +6,12 @@ - + + - + diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 7c2efb0..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,14 +0,0 @@ -# attempt at ci - -image: maven:3-jdk-8 - - -build: - stage: build - script: "mvn clean -B" - script: "mvn compile -B" - - -test: - stage: test - script: "mvn verify" diff --git a/CHANGELOG.org b/CHANGELOG.org index 1a49709..6c78f27 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -7,6 +7,7 @@ All notable changes in this project will be shown in this file. - Added a static factory to create nonlinear units to the Unit interface *** Changed - You can now use tabs or spaces to separate unit names and their definitions in unit files. + - Unit Converter no longer uses 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. -- cgit v1.2.3 From 41b0eda07403db9b09184b79060bcc323dcdc753 Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Sat, 12 Jun 2021 07:36:15 -0500 Subject: Release 0.3.0 --- CHANGELOG.org | 6 ++++-- README.org | 8 ++++---- src/main/java/org/unitConverter/package-info.java | 4 ++-- src/main/resources/about.txt | 4 ++-- 4 files changed, 12 insertions(+), 10 deletions(-) (limited to 'CHANGELOG.org') diff --git a/CHANGELOG.org b/CHANGELOG.org index 6c78f27..883861d 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -1,13 +1,15 @@ * Changelog All notable changes in this project will be shown in this file. -** Unreleased +** 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. *** 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 no longer uses Maven. + - 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. diff --git a/README.org b/README.org index 2a6fa95..2625fea 100644 --- a/README.org +++ b/README.org @@ -1,10 +1,10 @@ -* Unit Converter v0.2.0 +* Unit Converter v0.3.0 (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. ** Features - Convert between units and expressions of units - - linear or base unit can use unit prefixes (including non-metric units!) + - linear or base units can use unit prefixes (including non-metric units!) - and prefixes are defined in an editable data file, in a simple and intuitive format. - Viewer and Prefix Viewer which allow you to search through all of the available units and prefixes and learn details about them. - All of SI included in default text file @@ -65,11 +65,11 @@ Nonlinear units cannot: - use prefixes - be defined by unit files -To define a nonlinear unit, make an anonymous inner type (or any other subclass) of AbstractUnit, and define the conversion methods. +To define a nonlinear unit, make an anonymous inner type (or any other subclass) of Unit, and define the conversion methods. You can do this easily using Unit's static methods. ** Unit and Prefix Viewers The unit and prefix viewers can be used to see the available units (without prefixes) and prefixes. Upon opening them, you will see a list of units or prefixes on your left. Using the text box above, the list can be filtered. When a unit is clicked on, details about will be displayed on the right. ** Copyright and Licences -The Unit Converter program is Copyright (C) 2018, 2019 Adrien Hopkins. It is released under the terms of the Aferro GNU General Public License, version 3.0 or any later version published by the Free Software Foundation. A copy of this license should be provided with this program, and a human-readable summary of the very similar GNU General Public License can be found at the following link: https://www.gnu.org/licenses/quick-guide-gplv3.html, although this summary is NOT a replacement for the actual license. +The Unit Converter program is Copyright (C) 2018-2021 Adrien Hopkins. It is released under the terms of the Aferro GNU General Public License, version 3.0 or any later version published by the Free Software Foundation. A copy of this license should be provided with this program, and a human-readable summary of the very similar GNU General Public License can be found at the following link: https://www.gnu.org/licenses/quick-guide-gplv3.html, although this summary is NOT a replacement for the actual license. This document is Copyright (C) 2019 Adrien Hopkins. This document is dual-licensed under the terms of the GNU Free Documentation License and the Creative Commons Attribution-ShareAlike License. More details are in the next paragraphs: diff --git a/src/main/java/org/unitConverter/package-info.java b/src/main/java/org/unitConverter/package-info.java index 23dd165..68a258f 100644 --- a/src/main/java/org/unitConverter/package-info.java +++ b/src/main/java/org/unitConverter/package-info.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2019 Adrien Hopkins + * Copyright (C) 2019-2021 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 @@ -18,7 +18,7 @@ * A program that converts units. * * @author Adrien Hopkins - * @version v0.2.0 + * @version v0.3.0 * @since 2019-01-25 */ package org.unitConverter; \ No newline at end of file diff --git a/src/main/resources/about.txt b/src/main/resources/about.txt index 1bad9e8..da0ab11 100644 --- a/src/main/resources/about.txt +++ b/src/main/resources/about.txt @@ -1,4 +1,4 @@ -About Unit Converter v0.2.0 +About Unit Converter v0.3.0 Copyright Notice: @@ -9,4 +9,4 @@ for details read the LICENSE file, section 15 This is free software, and you are welcome to redistribute it under certain conditions; for details go to -or read the LICENSE file. \ No newline at end of file +or read the LICENSE file. -- cgit v1.2.3