Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-06-04 | Remove most comment warnings | Adrien Hopkins | |
In some cases I've used @SuppressWarnings, which Gradle doesn't seem to respect, but I've solved all the other ones. | |||
2025-05-17 | Setup automated javadoc | Adrien Hopkins | |
./gradlew javadoc | |||
2025-04-30 | Add more UnitDatabase tests | Adrien Hopkins | |
2024-08-22 | Show unit/dim file errors as popup | Adrien Hopkins | |
Previously, any error in the unit or dimension file(s) crashes the program. Instead, 7Units now ignores any invalid lines, still parsing the correct ones, and shows a popup in case any errors happen. | |||
2024-08-22 | Allow fractional exponents | Adrien Hopkins | |
2024-08-22 | Validate unit set non-emptiness & dimension | Adrien Hopkins | |
2024-08-22 | Add named unit sets to unit converter | Adrien Hopkins | |
2024-03-24 | Format source code & set explicit UTF-8 | Adrien Hopkins | |
2024-03-23 | Add fractions using | to expressions | Adrien Hopkins | |
| is like /, but with higher precedence. This feature is a part of GNU Units, and was included in 7Units for compatibility. | |||
2024-03-23 | Complete exponentiation of dimensions | Adrien Hopkins | |
Previously, you could only exponentiate individual dimensions in expressions. For example, `Length^3` was valid, but `(Length / Time)^2` was not. This is now fixed. | |||
2024-03-03 | Add + and - to prefixes | Adrien Hopkins | |
This was added to be consistent with the data file spec, which was changed for consistency with unit expressions. It may not be a common expression, but it's a bit weird that you can use +/- in units but not prefixes, even though they're in the same file! | |||
2022-04-19 | Implemented prefix settings, saving & loading of settings | Adrien Hopkins | |
Also fixed some bugs: - Presenter now has default values for its settings in case they don't load properly - UnitDatabase ensures its units, prefixes and dimensions have all of the names you give it | |||
2022-04-18 | Implemented one-way conversion, duplicate prefixes can now be hidden | Adrien Hopkins | |
2022-04-18 | Implemented rounding and duplicate-removal settings into the new GUI | Adrien Hopkins | |
2022-04-16 | Implemented the unit & prefix viewers | Adrien Hopkins | |
2022-04-16 | Removed NamedObjectProduct in favour of the regular ObjectProduct | Adrien Hopkins | |
2022-02-26 | Implemented expression conversion, tests now pass | Adrien Hopkins | |
2022-02-26 | Implemented unit conversion, with a few problems | Adrien Hopkins | |
TabbedView now displays its units, but with their toString method which shows their definition in addition to their name | |||
2021-11-02 | Added a test for UnitDatabase.isRemovableDuplicate | Adrien Hopkins | |
2021-10-07 | Added tests for getUnit and the prefixed unit map | Adrien Hopkins | |
Also fixed a bug where a prefixed unit map with units but no prefixes would appear empty | |||
2021-10-04 | Added tests for valid & invalid dimension files | Adrien Hopkins | |
2021-09-27 | Added some tests for invalid unitfiles | Adrien Hopkins | |
2021-08-26 | Added units and dimensions to the design document | Adrien Hopkins | |
2021-08-07 | Renamed sevenUnits.math to sevenUnits.utils | Adrien Hopkins | |
2021-06-28 | Renamed project to 7Units | Adrien Hopkins | |