hledger/hledger-ui/Hledger/UI
Simon Michael 1ef8f329c6 lib: simpler more robust version strings, with date/without patchlevel
We no longer rely on git tags and git describe output, since it's
hard to reliably select the correct tag eg for minor releases.
We might use them again in future for dev builds, but it requires
adding git describe --match support to githash. For now,

* Program name, OS and architecture are always shown.
* The package version is always shown.
* If there is git info at build time, the latest commit hash and commit date are shown.

Example outputs:
A homebrew binary, not built in git repo: hledger-ui 1.24, mac-aarch64
A CI release build, built in git repo:    hledger 1.24.1-g455b35293-20211210, mac-x86_64

API changes:

* new type synonyms ProgramName, PackageVersion, VersionString
* versionStringForProgname -> versionString with extra argument
* versionStringFor -> versionStringWith with extra argument
2021-12-10 12:42:40 -10:00
..
AccountsScreen.hs cln: ui: drop unused pragma 2021-12-09 12:23:55 -10:00
Editor.hs Improve editor support 2021-06-16 14:11:36 -10:00
ErrorScreen.hs test: ui: web: Use report date from _rsDay for hledger-ui and 2021-09-09 14:40:39 -10:00
Main.hs ui: enable mouse support at startup 2021-11-18 22:21:37 -10:00
RegisterScreen.hs imp: ui: Z -> z for easier zero toggling 2021-11-25 11:58:41 -10:00
Theme.hs lib,cli,ui,web: Remove unnecessary CPP when dropping support for GHC 8.2. 2021-06-07 17:33:54 -10:00
TransactionScreen.hs imp: ui: can click bottom blank area to go back 2021-11-19 11:32:33 -10:00
UIOptions.hs lib: simpler more robust version strings, with date/without patchlevel 2021-12-10 12:42:40 -10:00
UIState.hs imp: ui: Display an error message on invalid regexp, rather than 2021-11-20 22:23:52 -10:00
UITypes.hs imp: ui: Display an error message on invalid regexp, rather than 2021-11-20 22:23:52 -10:00
UIUtils.hs imp: ui: Z -> z for easier zero toggling 2021-11-25 11:58:41 -10:00