Commit Graph

10602 Commits

Author SHA1 Message Date
Simon Michael
929f13ec03 fix: warning (#1799) 2022-01-26 09:00:40 -10:00
Simon Michael
27b6e1d111 imp: nicer invalid balance assignment errors (tweak) 2022-01-26 08:59:19 -10:00
Stephen Morgan
bcaa6ac3c8 test: Run all tests with --fast compilation, not just functests. 2022-01-26 08:10:59 -10:00
Stephen Morgan
1d9be4c2de cln: print, close: Check the show_costs_ option instead of directly
checking the --show-costs flag.
2022-01-26 08:07:11 -10:00
Stephen Morgan
ba0eec9132 ref: Return the interval split in reportSpan, to reduce the number
of different places we call splitSpan and ease refactoring.
2022-01-26 08:05:37 -10:00
Stephen Morgan
e33de3585b ref: Clean up splitSpan, to make the logic clearer and more extensible.
Previously the helper functions splitspan and splitspan' would calculate
each span from the start point of the previous span. This meant we had
to be very careful not to lose any relevant information (e.g. what day
of the week it was) about the original start date. We now calculate each
span from the original start date, so there's no risk of losing
information. This simplifies many of the calculations.
2022-01-26 08:05:37 -10:00
Stephen Morgan
ea51a87bd0 cln: Remove under-used maybePeriod, which is only used as a stand-in for
Just . parsePeriodExpr' in tests.
2022-01-26 08:05:37 -10:00
Stephen Morgan
43b7e849c7 cln: Remove some explicit Text packing. 2022-01-26 08:05:37 -10:00
Stephen Morgan
2a51b6e9a4 fix: layout: Commodity symbols should be omitted in --layout=bare when
all amounts are zero. (#1789)
2022-01-26 07:58:14 -10:00
Stephen Morgan
55a022a941 fix: strict: Make sure forecast transactions and auto postings are
checked with --strict. (#1810)
2022-01-26 07:57:13 -10:00
Patrik Keller
2cf4c221de Manual: clarify reference from --strict to check 2022-01-26 07:45:13 -10:00
Simon Michael
e16fa51dd5 imp: nicer invalid balance assignment errors (fix tests) 2022-01-21 17:45:23 -10:00
Simon Michael
30080a9aa1 imp: nicer invalid balance assignment errors 2022-01-21 17:33:19 -10:00
Simon Michael
3135753e94 tools: make: clean up stack command defs 2022-01-21 17:33:19 -10:00
Simon Michael
5ca5f2f875 stack: bump to ghc 9.0.2, with mac m1 workaround 2022-01-21 17:33:19 -10:00
Stephen Morgan
8cd9e81c34 fix: budget: Make sure boring parents of unbudgeted accounts are not
elided if they have a budget. (#1800)

This only affects calls with --budget and -E, but not with --no-elide.
2022-01-21 09:11:04 -10:00
Simon Michael
d9b0184720 ;doc: changeslogs: edit 2022-01-21 08:38:59 -10:00
Simon Michael
41b68714ff ;doc: update manuals 2022-01-21 08:32:29 -10:00
Simon Michael
fbf826a813 ;doc: update CLI usage texts 2022-01-21 08:32:29 -10:00
Simon Michael
8daef36c29 ;doc: update changelogs 2022-01-21 08:32:29 -10:00
Simon Michael
1716a3e55c ;doc: roi: dear lord fix links again 2022-01-21 08:20:05 -10:00
Simon Michael
209a726e26 ;doc: roi: make links useful in plain text docs
And update how-to url.
2022-01-21 08:17:55 -10:00
Simon Michael
beeb7b157c ;doc: roi: fix link 2022-01-21 08:13:26 -10:00
Simon Michael
bf2ac4f18b ;doc: roi: formatting 2022-01-21 08:13:26 -10:00
Simon Michael
f36ab179c4 ;doc: add interim note re ConversionOp (#1808) 2022-01-16 18:43:40 -10:00
Stephen Morgan
57d055b643 fix: cost: Add inferred equity postings during journal finalisation, so
they can be matched by queries.
2022-01-16 18:37:18 -10:00
Simon Michael
f7a3f510be ;doc: describe no-symbol commodity checking (#1772) 2022-01-16 08:24:30 -10:00
Stephen Morgan
5006e26995 imp: check: Do not check commodities for zero amounts with empty
commodity. (#1767)
2022-01-16 08:11:02 -10:00
Simon Michael
dbcd235f9e ;doc: update manuals 2022-01-15 08:56:45 -10:00
Simon Michael
6e12be15df ;doc: update CLI usage texts 2022-01-15 08:56:45 -10:00
Simon Michael
9444e20c3d ;doc: update changelogs 2022-01-15 08:56:45 -10:00
Simon Michael
fb834777a6 ;fix: doc: update help/help-feedback links (#1807) 2022-01-15 08:53:48 -10:00
Simon Michael
f511aaf3b3 stack: note 9.0.2 blocker 2022-01-14 09:32:37 -10:00
Stephen Morgan
f13ac2812f imp: smartdates: Simplify and generalise the SmartDate constructor and
parsers to allow for arbitrary numbers of periods in relative dates.

We now accept smart dates like “in 5 days, 5 weeks ahead, in -6 months, 2 quarters ago”.
2022-01-11 13:31:29 -10:00
Simon Michael
5c9436a3ed ;doc: RELEASING: updates 2022-01-06 09:48:15 -10:00
Simon Michael
3192013a56 ;doc: RELEASING: updates 2022-01-06 08:23:59 -10:00
Simon Michael
1faef08c30 ;ci: linux: drop unused release steps 2022-01-06 08:23:59 -10:00
Simon Michael
ab098fae99 ci: win: fix shell mismatch 2022-01-06 08:23:57 -10:00
Simon Michael
c0ac770bd7 ci: win: fix skipping of all steps, part 2 2022-01-06 08:23:57 -10:00
Simon Michael
29fb63384e ci: win, mac: fix skipping of all steps 2022-01-06 08:23:57 -10:00
Simon Michael
20ab8abd8d ;tools: release: push current HEAD, not master 2022-01-06 08:23:57 -10:00
Simon Michael
8d31f21502 ;tools: make stack fixes 2022-01-06 08:23:57 -10:00
Simon Michael
0e5ae2baac ;doc: update changelogs 2022-01-06 06:42:34 -10:00
Simon Michael
56e015c409 ci: push, pull: clarify, robustify? commitlint step 2022-01-06 06:33:29 -10:00
Simon Michael
0a8835ada2 ci: win, mac: don't commitlint, let push/pull cover that 2022-01-06 06:33:25 -10:00
Simon Michael
8c6b6700bc ;doc: RELEASING: latest procedures 2022-01-06 06:32:55 -10:00
Simon Michael
d82210cea9 ;doc: update changelogs 2022-01-05 18:09:23 -10:00
Simon Michael
07e84fde42 ci: doc improvements 2022-01-05 09:11:01 -10:00
Simon Michael
9888bf043c ci: mac, windows: don't short circuit, update docs 2022-01-05 08:56:17 -10:00
Simon Michael
8a8503064b ;doc: RELEASING 2022-01-05 08:41:38 -10:00