Commit Graph

10947 Commits

Author SHA1 Message Date
Simon Michael
6a4680d561 imp: pkg: drop support for GHC 8.6 and 8.8
Slightly motivated by a desire to depend on the new breakpoint
library, which requires GHC 8.10+. With GHC 9.0 in Debian,
it seems time to drop these.
2022-08-23 02:02:19 +01:00
Simon Michael
6b4f145c46 dev: ui: test suite fixes 2022-08-23 02:02:19 +01:00
Simon Michael
f5efb2e08e fix: ui: cleanups, fix more state & logging bugs (#1889) 2022-08-23 01:55:25 +01:00
Simon Michael
b6353804b8 fix: ui: fix state bugs from brick 1 migration (#1889) 2022-08-23 00:50:51 +01:00
Simon Michael
67cd6be424 imp: ui: at --debug=2, do lots of logging to debug.log 2022-08-23 00:50:51 +01:00
Simon Michael
b7b09f991a imp: lib: Hledger.Utils.Debug: fix debug logging to file
dlog has been replaced by more reliable functions for debug-logging
to a file, useful for debugging TUI apps like hledger-ui:
dlogTrace
dlogTraceAt
dlogAt
dlog0
dlog1
dlog2
dlog3
dlog4
dlog5
dlog6
dlog7
dlog8
dlog9

Monochrome pprint' and pshow' have been added.

New dependency: deepseq
2022-08-23 00:50:51 +01:00
Simon Michael
efa1879a11 ;doc: cli: help: more updates 2022-08-22 08:26:32 +01:00
Simon Michael
3f2fdf36b6 ;doc: update manuals 2022-08-22 08:21:39 +01:00
Simon Michael
61d2c047e1 ;doc: update CLI usage texts 2022-08-22 08:21:24 +01:00
Simon Michael
9d2c9bd85f ;doc: cli: help: more updates 2022-08-22 08:21:01 +01:00
Simon Michael
423f3bd155 ;doc: update manuals 2022-08-22 07:59:02 +01:00
Simon Michael
2d9b6b91b5 ;doc: update CLI usage texts 2022-08-22 07:58:41 +01:00
Simon Michael
8eb1e0883a ;doc: cli: help, common tasks: update 2022-08-22 07:45:23 +01:00
Stephen Morgan
c966a0f413 fix!: cbr: Remove old account type query code. (#1921)
This replaces the old journal*AccountQuery with the new Type query. This
enables uniform treatment of account type, and fixes a subtle bug
(#1921).

Note that cbcsubreportquery no longer takes Journal as an argument.
2022-08-21 08:27:51 +01:00
Simon Michael
b32b130045 dev: lib: fix a failing doctest 2022-08-18 05:08:10 +01:00
Simon Michael
5fd5cd5b85 imp: acc: --declarations -> --positions; add --directives
And tweak the layout of flags in --help.
2022-08-18 05:08:10 +01:00
Simon Michael
d4f7137c4a dev: ci: binaries-mac-x64: bust stack-work caches 2022-08-18 05:08:10 +01:00
Simon Michael
b76de76343 dev: ci: binaries-mac-x64: bust stack-programs cache 2022-08-18 05:08:10 +01:00
Simon Michael
83ff8e3ab3 dev: ci: binaries-mac-x64: revert to stack's ghc 2022-08-18 05:08:10 +01:00
Simon Michael
81ef3b38b4 dev: ci: binaries-mac-x64: try ghc from haskell.org 2022-08-18 05:08:10 +01:00
Simon Michael
4c041b73b7 dev: ci: binaries-mac-x64: bust stack-global cache, try to fix error 2022-08-18 05:07:46 +01:00
Simon Michael
99f3a6852d dev: ci: binaries-linux-x64-static: simplify ghcup command 2022-08-18 05:05:51 +01:00
Simon Michael
b917b8a310 dev: ci: binaries-*: name branches like workflows 2022-08-18 05:05:41 +01:00
Simon Michael
92e7d9200c ;doc: hledger: csv: fix link more (#1918) 2022-08-17 22:50:23 +01:00
Simon Michael
7fbec5d4b7 ;doc: hledger: csv: fix link (#1918) 2022-08-17 22:14:01 +01:00
Simon Michael
4e105f0cb7 ;dev: ui: note relevant discussion 2022-08-17 16:19:34 +01:00
Simon Michael
fcdc07b55e stack: use brick 1.0 with older GHCs also 2022-08-17 15:57:27 +01:00
Simon Michael
4bd9f4a6f7 dev: ui: avoid MonadFail entirely, simplifying ghc version compat (#1889) 2022-08-17 15:57:27 +01:00
Simon Michael
2a594b7fb7 pkg: ui: use/require brick 1.0+ (#1889) 2022-08-17 15:57:27 +01:00
Simon Michael
b636eb78a9 dev: make ghci[d]-ui: fix/update 2022-08-17 15:57:27 +01:00
Simon Michael
07cb4ca58c dev: ci: show stack build plans for deps 2022-08-17 11:50:10 +01:00
Simon Michael
3637a247d5 ;doc: RELEASING: clarify 2022-08-17 11:49:10 +01:00
Simon Michael
011b3074e9 ;doc: CONTRIBUTING: github links, projects.hledger.org 2022-08-17 11:49:10 +01:00
Simon Michael
e5eac1a618 pkg: ui: add upper bound avoiding brick 1.0 2022-08-17 11:49:10 +01:00
Simon Michael
101e2f7426 imp: add a missing space after colon in some debug output 2022-08-16 09:13:30 +01:00
Simon Michael
3003a18c94 dev: lib: hlint improvements 2022-08-16 09:13:30 +01:00
Simon Michael
a3096d0549 dev: journalFilePath, include: show (unknown) instead of nothing
Probably not user-visible, but might improve debug logging slightly.
2022-08-16 09:13:30 +01:00
Simon Michael
8ec31b079c imp: accounts: --declarations shows that info, not --debug (#1909) 2022-08-16 09:13:30 +01:00
Simon Michael
1f08a8a94e fix: fix multi-file account display order; improve file read logging (#1909) 2022-08-16 09:13:30 +01:00
Simon Michael
4be4525b90 dev: tests for multi-file account display order (#1909) 2022-08-16 09:13:30 +01:00
Simon Michael
035f2ac4bb imp: accounts: at --debug 2, show account declaration positions (#1909) 2022-08-16 09:13:30 +01:00
Simon Michael
07e3dca735 imp: at --debug 5, log account declarations info while parsing (#1909) 2022-08-16 09:13:30 +01:00
Simon Michael
3d6e363461 lib: save account directive positions, for troubleshooting (#1909) 2022-08-16 09:13:30 +01:00
David D Lowe
f5680529cd Fix broken link in bin/README.md 2022-08-15 03:34:40 +01:00
Simon Michael
950c85cad7 dev: bump to latest stackage, ghc 9.2.4 2022-08-07 19:11:17 +01:00
Simon Michael
b46aa1330f fix: don't reverse account display order with include files (#1909) 2022-08-05 13:44:56 +01:00
Simon Michael
09d66c5fc1 fix: account display order is now tracked across all files (fix #1909) 2022-08-04 19:05:52 +01:00
Simon Michael
3b34987bdd dev: accounts: clarifications 2022-08-04 19:01:11 +01:00
Simon Michael
4652400f17 ;doc: document account tags; account directive cleanups 2022-08-04 04:20:05 +01:00
Charlotte Van Petegem
75fc6767a9 fix: roi: make sure empty cashflows are skipped when determining first cashflow
Empty cashflows are added when the begin date of the report is before the first
transaction.
2022-08-03 18:16:42 +01:00