Commit Graph

2455 Commits

Author SHA1 Message Date
Simon Michael
c23808a163 ;doc: queries: fix "rewriting accounts" links 2021-12-15 11:14:01 -10:00
Simon Michael
45db32b84f ;doc: update changelogs 2021-12-10 12:50:21 -10:00
Simon Michael
a98e6125f1 ;doc: changelogs: 1.24.1 2021-12-10 12:47:43 -10:00
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
Simon Michael
1a646cd092 ;doc: changelogs: 1.24.1 2021-12-09 14:52:23 -10:00
Simon Michael
f111274f25 ;doc: update changelogs 2021-12-09 14:25:42 -10:00
Simon Michael
e532b7be49 ;doc: update manuals 2021-12-09 14:03:58 -10:00
Simon Michael
d1a0d37bd1 fix: bal: --declared now respects not:ACCT (fix #1783) 2021-12-09 12:58:22 -10:00
Simon Michael
08b72ae9f7 dev: bal: note yet another --declared issue 2021-12-08 18:21:32 -10:00
Simon Michael
2e79e53f12 ;dev: bal: note possible --declared issue 2021-12-08 18:14:23 -10:00
Simon Michael
e76cb1ae8c ;doc: csv: note hyphenated field names, fix formatting 2021-12-08 09:55:06 -10:00
Simon Michael
9c1c7aca83 ;doc: csv: mention disabling of digit group marks in csv output (#1771) 2021-12-06 15:23:35 -10:00
Stephen Morgan
c4004fca28 imp: csv: Do not display thousands separators when outputting csv. 2021-12-06 15:17:46 -10:00
Simon Michael
76b5c5f2ac ;doc: update manuals 2021-12-06 15:04:17 -10:00
Simon Michael
763d171108 ;doc: update CLI usage texts 2021-12-06 15:04:07 -10:00
Simon Michael
4d6f1ed0bf ;doc: bal: update tidy description, example 2021-12-06 15:03:40 -10:00
Simon Michael
ca44e092fd ;doc: update manuals 2021-12-06 14:50:49 -10:00
Simon Michael
5c597750fb ;doc: update CLI usage texts 2021-12-06 14:50:43 -10:00
Simon Michael
872bce55ef ;doc: bal: mention tidy's disabling of totals/averages (#1773, #1775) 2021-12-06 14:49:59 -10:00
Stephen Morgan
29ee0c331f imp: csv: Ignore --row-totals with tidy csv output. 2021-12-06 14:43:43 -10:00
Stephen Morgan
fb0472e0e9 imp: csv: Handle --layout=tidy with the legacy balance report.
Note that this gives output compatible with the multi balance report,
which means it is different from the csv with the legacy balance report.
This means tools only need to be able to handle one tidy csv format.
2021-12-06 13:49:01 -10:00
Stephen Morgan
71646f993c imp: csv: Include the start and end dates of intervals, as well as
string representation of the period, in tidy csv output, and never
include row totals or averages.
2021-12-06 13:49:01 -10:00
Simon Michael
35c1c9b6a2 pkg: progress towards supporting GHC 9.2 and newer libs (#1774)
hledger-lib builds, hledger's deps don't (shakespeare).
2021-12-06 12:32:50 -10:00
Simon Michael
642102e291 ;doc: update manuals 2021-12-05 16:34:01 -10:00
Simon Michael
ca0d9e2a0e ;doc: update CLI usage texts 2021-12-05 16:34:01 -10:00
Simon Michael
c250be1bb9 ;doc: bal: document tidy; commodity -> data layout (#1768) 2021-12-05 16:33:56 -10:00
Stephen Morgan
e42120da26 ;test: Rename commodity-column.test to layout.test, and replace
--commodity-column with --layout=bare in tests.
2021-12-05 16:06:44 -10:00
Stephen Morgan
7ccf7430d0 imp: csv: Allow for generating tidy csv with --layout=tidy.
This puts every date in a separate row, which is more suitable for
many graphing programs.
2021-12-05 16:06:44 -10:00
Stephen Morgan
3884f90cc6 lib!: Rename CommodityLayout to Layout and rename constructors.
Their scope is more than just commodities.
2021-12-05 16:06:44 -10:00
Simon Michael
6ce70351fd ;doc: cli, bal: improve table layout in non-html docs 2021-12-05 12:27:20 -10:00
Simon Michael
e5b924c390 ;doc: update manuals 2021-12-05 12:25:49 -10:00
Simon Michael
ee9894f59e ;doc: update CLI usage texts 2021-12-05 12:25:44 -10:00
Simon Michael
08f95d051e ;doc: update manuals 2021-12-05 11:23:18 -10:00
Simon Michael
7b9cad6cdc ;doc: update CLI usage texts 2021-12-05 11:23:11 -10:00
Simon Michael
76f8ed1514 ;doc: cli, bal: clarify output formats, layouts more 2021-12-05 11:23:00 -10:00
Simon Michael
2a58331024 ;doc: update manuals 2021-12-05 10:56:41 -10:00
Simon Michael
fdc373f45c ;doc: update CLI usage texts 2021-12-05 10:56:38 -10:00
Simon Michael
371539e085 ;doc: bal: clarify --layout a little 2021-12-05 10:56:17 -10:00
Simon Michael
1ba25f9714 ;doc: cli: document which commands support which output formats 2021-12-05 10:24:24 -10:00
Simon Michael
ce3ec28e3d ;cabal: update cabal files 2021-12-01 22:16:37 -10:00
Simon Michael
66619803b7 ;pkg: bump version to 1.24.99 2021-12-01 22:16:37 -10:00
Simon Michael
5648db0fd5 doc: update manuals 2021-12-01 20:59:33 -10:00
Simon Michael
2382fe5db8 ;doc: finalise changelogs 2021-12-01 18:23:16 -10:00
Simon Michael
0c4b820111 ;cabal: update cabal files 2021-12-01 17:16:28 -10:00
Simon Michael
387325b59e ;pkg: bump version to 1.24 2021-12-01 17:16:28 -10:00
Simon Michael
1d3f7a2aad ;doc: update manuals 2021-12-01 17:16:04 -10:00
Simon Michael
55f5aa9238 ;doc: changelog edits 2021-11-26 21:06:52 -10:00
Simon Michael
4933b9fc45 ;doc: draft changelogs 2021-11-26 12:02:36 -10:00
Simon Michael
cda693a94f imp: stats: run time and throughput on one line 2021-11-26 07:13:20 -10:00
Simon Michael
791f4655df ;doc: update manuals 2021-11-26 05:58:55 -10:00