summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-02-23Load locales from text filesAdrien Hopkins
2025-02-23Add internationalization API to GUIAdrien Hopkins
This commit intentionally fails one test, since that is for functionality I intend to add later.
2024-08-28Bump version number to 1.0.0a1v1.0.0a1Adrien Hopkins
2024-08-22Add loading counts to About tabAdrien Hopkins
2024-08-22Update changelogAdrien Hopkins
2024-08-22Show unit/dim file errors as popupAdrien 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-22Add 1e-12 to unit sum parts before flooringAdrien Hopkins
This ensures that small errors from floor arithmetic will not, for example, cause 2 feet to be converted to 1 foot + 12 in.
2024-08-22Allow fractional exponentsAdrien Hopkins
2024-08-22Add more information to load-success messageAdrien Hopkins
2024-08-22Print nonfinal unit set coefficients as integersAdrien Hopkins
These values are guaranteed to be integers, so printing them without a decimal point looks nicer and saves space.
2024-08-22Validate unit set non-emptiness & dimensionAdrien Hopkins
2024-08-22Allow named unit-sets to be used as to expressionAdrien Hopkins
2024-08-22Add named unit sets to unit converterAdrien Hopkins
2024-08-22Add ability to convert expression to sum of unitsAdrien Hopkins
2024-08-15Correct encoding of ±Adrien Hopkins
2024-03-24Bump version number to 0.5.0v0.5.0Adrien Hopkins
2024-03-24Format source code & set explicit UTF-8Adrien Hopkins
2024-03-23Add fractions using | to expressionsAdrien Hopkins
| is like /, but with higher precedence. This feature is a part of GNU Units, and was included in 7Units for compatibility.
2024-03-23Add more info to about.txtAdrien Hopkins
2024-03-23Update documentation and version# (0.5.0a2)v0.5.0a2Adrien Hopkins
2024-03-23Complete exponentiation of dimensionsAdrien 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-03Add + and - to prefixesAdrien 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!
2024-03-03Add comments to metric exception filesAdrien Hopkins
2024-03-03Add specification for data filesAdrien Hopkins
I will have to change a few things to fit this specification; all the better that I made it instead of leaving behaviour unspecified!
2023-09-24Bump version to v0.5.0a1v0.5.0a1Adrien Hopkins
2023-09-16fix typo in prev commitAdrien Hopkins
2023-09-16Update changelogAdrien Hopkins
2023-09-16Add config file info to user manualAdrien Hopkins
2023-09-16Refactor Presenter.loadSettingsAdrien Hopkins
These changes should reduce nesting and increase readability.
2023-09-16Improve setting value usabilityAdrien Hopkins
Some settings used to use long, sentence-like values in the config file. Now, they use simpler values that are easier to remember and specify in the manual.
2023-09-16Only create config directory when savingAdrien Hopkins
Previously, if the user had no settings dir, starting the program would create it, but nothing would be read. If the user did not change their settings, it would just leave an empty directory!
2023-09-16Allow config file to load custom data filesAdrien Hopkins
The parameters "custom_unit_file", "custom_dimension_file" and "custom_exception_file" can now be used to load custom unit, dimension and exception files. Specify them more than once to load multiple files. I haven't yet added this to the GUI, and I probably won't, because you already need to be able to edit text files to create this, so having a GUI won't make it any more intuitive.
2023-09-16Move config file to standard locationAdrien Hopkins
The user's config directory is taken as ~\AppData\Local\ on Windows and is XDG-compliant elsewhere. The config file's location is <config dir>/SevenUnits/config.txt. The SevenUnits directory is created if nonexistent. The previous location inside the git directory would not work for someone actually installing and using 7Units, so this change was made.
2023-07-02Create roadmap for v1.0.0Adrien Hopkins
2023-04-15Merge branch 'hotfix-0.4.1' into developAdrien Hopkins
2023-04-15Bumped version number to 0.4.1v0.4.1Adrien Hopkins
2023-04-15Upgraded Gradle version to 8.1Adrien Hopkins
(it seems like 7Units no longer works with the old Gradle version)
2022-07-17Merge branch 'release-0.4.0' into developAdrien Hopkins
2022-07-17Bumped version number to 0.4.0v0.4.0Adrien Hopkins
2022-07-17All dimension names are now in title caseAdrien Hopkins
2022-07-17Updated changelogAdrien Hopkins
2022-07-17Misc test documentation tweaksv0.4.0rc1Adrien Hopkins
2022-07-17Added a test for prefix repetition rulesAdrien Hopkins
2022-07-17Added a GUI test simulating expression conversionAdrien Hopkins
2022-07-17Added a GUI test simulating unit conversionAdrien Hopkins
2022-07-17Added another rounding rule testAdrien Hopkins
2022-07-17Added more PrefixSearchRule testsAdrien Hopkins
2022-07-17misc eclipse updatesAdrien Hopkins
2022-07-17Added a test for StandardDisplayRules.getStandardRuleAdrien Hopkins
2022-07-17remove and gitignore test-settings.txtAdrien Hopkins