Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-02-23 | Add internationalization API to GUI | Adrien Hopkins | |
This commit intentionally fails one test, since that is for functionality I intend to add later. | |||
2024-08-28 | Bump version number to 1.0.0a1v1.0.0a1 | Adrien Hopkins | |
2024-08-22 | Add loading counts to About tab | 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 | Add 1e-12 to unit sum parts before flooring | Adrien 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-22 | Allow fractional exponents | Adrien Hopkins | |
2024-08-22 | Add more information to load-success message | Adrien Hopkins | |
2024-08-22 | Print nonfinal unit set coefficients as integers | Adrien Hopkins | |
These values are guaranteed to be integers, so printing them without a decimal point looks nicer and saves space. | |||
2024-08-22 | Validate unit set non-emptiness & dimension | Adrien Hopkins | |
2024-08-22 | Allow named unit-sets to be used as to expression | Adrien Hopkins | |
2024-08-22 | Add named unit sets to unit converter | Adrien Hopkins | |
2024-08-22 | Add ability to convert expression to sum of units | Adrien Hopkins | |
2024-08-15 | Correct encoding of ± | Adrien Hopkins | |
2024-03-24 | Bump version number to 0.5.0v0.5.0 | 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 | Update documentation and version# (0.5.0a2)v0.5.0a2 | Adrien Hopkins | |
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! | |||
2024-03-03 | Add comments to metric exception files | Adrien Hopkins | |
2023-09-24 | Bump version to v0.5.0a1v0.5.0a1 | Adrien Hopkins | |
2023-09-16 | Refactor Presenter.loadSettings | Adrien Hopkins | |
These changes should reduce nesting and increase readability. | |||
2023-09-16 | Improve setting value usability | Adrien 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-16 | Only create config directory when saving | Adrien 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-16 | Allow config file to load custom data files | Adrien 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-16 | Move config file to standard location | Adrien 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-04-15 | Bumped version number to 0.4.1v0.4.1 | Adrien Hopkins | |
2022-07-17 | Bumped version number to 0.4.0v0.4.0 | Adrien Hopkins | |
2022-07-17 | All dimension names are now in title case | Adrien Hopkins | |
2022-07-17 | Misc test documentation tweaksv0.4.0rc1 | Adrien Hopkins | |
2022-07-17 | Added a GUI test simulating expression conversion | Adrien Hopkins | |
2022-07-17 | Added a GUI test simulating unit conversion | Adrien Hopkins | |
2022-07-17 | Added more PrefixSearchRule tests | Adrien Hopkins | |
2022-07-09 | Fixed some issues in the PrefixSearchRule: | Adrien Hopkins | |
- output map was mutable, should be immutable - renamed allowUnit to prefixableUnitRule so that the name is actually understandable | |||
2022-07-08 | Bumped version number to 0.4.0b1 & added @sincev0.4.0b1 | Adrien Hopkins | |
2022-07-08 | Search rules can be changed by GUI, saved and loaded | Adrien Hopkins | |
2022-07-06 | Added some standard prefix search rules | Adrien Hopkins | |
2022-07-06 | Added the ability to make search rules | Adrien Hopkins | |
2022-05-18 | Added front-end code information to the design document | Adrien Hopkins | |
2022-04-19 | Finalized version 0.4.0-alpha.1 | Adrien Hopkins | |
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 | Added a full suite of frontend tests | Adrien Hopkins | |
(Added tests for the settings and unit/prefix viewer parts of the GUI, which are not yet implemented) | |||
2022-04-16 | Removed NamedObjectProduct in favour of the regular ObjectProduct | Adrien Hopkins | |
2022-04-10 | Created API for settings and unit/prefix viewing | Adrien Hopkins | |
2022-04-09 | View now sends and recieves Strings instead of data | Adrien Hopkins | |
2022-03-10 | Named the metric dimensions & fixed NameSymbol.toString | Adrien Hopkins | |
2022-03-10 | Simplified toString of common unit classes | Adrien Hopkins | |