Commit Graph

10316 Commits

Author SHA1 Message Date
Simon Michael
6319d6148f feat: bal: with --declared, include declared leaf accounts (#1765)
Together with -E, this shows a balance for both used and declared
accounts (excluding empty parent accounts, which are usually not
wanted in list-mode reports).

This is somewhat consistent with --declared in the accounts and payees
commands, except for the leaf account restriction.

The idea of this is to be able to see a useful "complete" balance
report, even when you don't have transactions in all of your declared
accounts yet. I mainly want this for hledger-ui, but there's no harm
in exposing it in the balance CLI as well.
2021-11-23 09:47:04 -10:00
Simon Michael
5af1ac29c5 pkg: bump to latest nightly snapshot to avoid buggy happy 1.21.0 2021-11-22 18:01:20 -10:00
Simon Michael
5f55758ca4 fix: ci: when we can't figure out recent commits, don't check 2021-11-22 16:37:32 -10:00
Simon Michael
e5678ce230 Revert "imp: ui: accounts: also show declared accounts, even if unused"
This reverts commit 29efacf02c.
(It breaks filtering by account, also the parent accounts aren't really desirable to see.)
2021-11-22 12:06:23 -10:00
Simon Michael
94d92b9760 Revert "feat: bal: with --declared, include all declared accounts (#1765)"
This reverts commit a5e19b7391.
(It breaks filtering by account.)
2021-11-22 12:06:23 -10:00
Pranesh Prakash
b7e79ef3b2
Update description of hledger-check-tagfiles.hs
Made it clear that it's a `/` and not "containing / exist" (i.e., containing or exist).
2021-11-23 03:10:05 +05:30
Simon Michael
29efacf02c imp: ui: accounts: also show declared accounts, even if unused
This will be more user-friendly when getting started.
2021-11-22 11:13:47 -10:00
Simon Michael
a5e19b7391
feat: bal: with --declared, include all declared accounts (#1765)
Together with -E, this allows showing a balance for all accounts, both
used and declared. I mainly want this for hledger-ui, but there's no
harm in exposing it in the balance command as well. This is somewhat
consistent with the accounts and payees commands.
2021-11-22 11:08:33 -10:00
Simon Michael
512e1fe015 ;doc: note extra release step 2021-11-22 10:30:25 -10:00
Simon Michael
45da9bb594 bal: fix bcexample test 2021-11-22 10:14:37 -10:00
Simon Michael
6e3695c317 ;dev: commodities: note todo 2021-11-22 09:59:49 -10:00
Simon Michael
f80598e73c ;imp: examples: set account display order in bcexamples 2021-11-22 08:51:31 -10:00
Simon Michael
af4d269215 ;imp: doc: account types: prioritise short names, hide old syntax 2021-11-22 08:25:53 -10:00
Simon Michael
3763b50ff2 imp: doc: directives: tweak 2021-11-21 23:53:44 -10:00
Simon Michael
df472b6cc5 ;doc: update manuals 2021-11-21 23:52:17 -10:00
Simon Michael
508b180b63 imp: doc: directives: tweak 2021-11-21 23:52:05 -10:00
Simon Michael
1d0fa5a96b ;doc: update manuals 2021-11-21 23:44:35 -10:00
Simon Michael
f6b10df50b imp: doc: directives: tweak 2021-11-21 23:44:19 -10:00
Simon Michael
14aa047e08 ;doc: update manuals 2021-11-21 23:33:44 -10:00
Simon Michael
30076e8ecc ;imp: doc: ui: -w flag 2021-11-21 23:33:16 -10:00
Simon Michael
1c388f0350 imp: doc: directives: tweak 2021-11-21 23:32:08 -10:00
Simon Michael
73d3cafbae ;doc: update manuals 2021-11-21 23:24:43 -10:00
Simon Michael
321a9195aa imp: doc: directives: tweak 2021-11-21 23:24:36 -10:00
Simon Michael
7b59821378 ;doc: update manuals 2021-11-21 23:06:55 -10:00
Simon Michael
6225db6b36 imp: doc: directives ends-at-file-end column 2021-11-21 23:06:45 -10:00
Simon Michael
c7cc1caca0 ;doc: update manuals 2021-11-21 22:41:52 -10:00
Simon Michael
d8205306dc imp: doc: more compact/accurate directives overview 2021-11-21 22:41:02 -10:00
Simon Michael
7e4b2af361 imp: ui: -w short flag for --watch 2021-11-21 19:34:40 -10:00
Simon Michael
1fee70b51f cln: hlint cleanups 2021-11-21 19:33:21 -10:00
Simon Michael
f469785c97 ;imp: tools: make throughput 2021-11-20 22:55:16 -10:00
Stephen Morgan
59b4968929 imp: ui: Display an error message on invalid regexp, rather than
silently ignoring. (#1394)
2021-11-20 22:23:52 -10:00
Simon Michael
e0dc028374 ;doc: update manuals 2021-11-20 22:07:45 -10:00
Simon Michael
066a67ad09 ;doc: update CLI usage texts 2021-11-20 22:07:40 -10:00
Simon Michael
91bfbbb437 ;imp: perf: Ledger-friendly bench-ledger.sh, for comparative benchmarking 2021-11-20 22:05:19 -10:00
Simon Michael
c709a22c64 imp: stats: also show run time and throughput
CliOpts has a new field, progstarttime_.

Currently the new stats are always printed on stdout, ignoring --output-file/--output-format.
2021-11-20 20:51:21 -10:00
Stephen Morgan
186995fc8b fix: balance: Balance reports with --depth=0 should report on true
values, not zero everywhere. (#1761)
2021-11-20 15:47:57 -10:00
Simon Michael
c11d19a893 fix: ui: scroll selection to middle on first entry, also
The viewport doesn't exist until after first render, and scrollSelectionToMiddle didn't need it; viewportScroll queues up events for it.
https://github.com/jtdaugherty/brick/issues/349
2021-11-20 15:33:28 -10:00
Simon Michael
3c889cb565 imp: lib: dlog 2021-11-20 07:49:41 -10:00
Simon Michael
d0c937a41b imp: ui: can click bottom blank area to go back 2021-11-19 11:32:33 -10:00
Simon Michael
956ee06591 imp: ui: transaction: refactor 2021-11-19 11:32:09 -10:00
Simon Michael
f5cfcf827d imp: ui: don't use top margin as a click target yet 2021-11-18 23:01:52 -10:00
Simon Michael
b4254f41c6 ;doc: update manuals 2021-11-18 22:57:53 -10:00
Simon Michael
6aa212dd4a ;doc: ui: consistent capitalisation, drop wrong ENTER references 2021-11-18 22:57:34 -10:00
Simon Michael
1d3afad881 ;doc: ui: tweak 2021-11-18 22:49:29 -10:00
Simon Michael
568b39734b ;doc: update manuals 2021-11-18 22:48:14 -10:00
Simon Michael
35b16346a9 ;doc: ui: document mouse support 2021-11-18 22:43:27 -10:00
Simon Michael
20d8f9f7e2 ;doc: bal: fix list formatting 2021-11-18 22:30:03 -10:00
Simon Michael
678d3b0a06 ;doc: bal: fix link 2021-11-18 22:28:42 -10:00
Simon Michael
cf15dbd7c9 ;doc: update manuals 2021-11-18 22:26:10 -10:00
Simon Michael
be5e6e4167 ;doc: update CLI usage texts 2021-11-18 22:24:59 -10:00