Simon Michael
aba46874f2
;dev: is: code notes
2021-11-25 11:55:58 -10:00
Simon Michael
4504c173fb
;cln: clarify #1698 test
2021-11-25 11:55:58 -10:00
Simon Michael
7f320ebfa9
imp: balcmds: support --declared on bs/cf/is also ( #1765 )
2021-11-25 11:55:58 -10:00
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
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
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
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
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
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
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
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
568b39734b
;doc: update manuals
2021-11-18 22:48:14 -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
Simon Michael
7ba9a4d06b
feat: docs for decimal-mark ( #1670 , #1726 )
2021-11-18 22:17:07 -10:00
Lawrence
fb817ffa55
imp: journal: support decimal-mark directive in journal files
...
To match csv-rule and override amount-style as described in
https://github.com/simonmichael/hledger/issues/1670
2021-11-18 22:17:07 -10:00
Simon Michael
66b969a74c
;imp: bal --layout: streamline help more ( #1751 )
2021-11-18 21:27:47 -10:00
Stephen Morgan
4b6fe2c0bd
;doc: balance: Update docs to mention --layout.
2021-11-18 21:26:02 -10:00
Stephen Morgan
d82416b7b9
imp: balance: Add single-line display with elision back in, this time
...
with a separate option --layout=wide,WIDTH.
2021-11-18 21:26:02 -10:00
Stephen Morgan
8f1ae08f0a
test: balance: Add tests for --layout options.
2021-11-18 21:26:02 -10:00
Stephen Morgan
de2776c996
imp!: balance: Stop eliding long amounts. ( #1739 )
...
This feature has caused a lot of confusion, and we now have better ways
of making sure columns don't get too wide.
2021-11-18 21:26:02 -10:00
Stephen Morgan
7e21f05a83
imp: balance: Implement multi-line display for multicommodity balance reports.
...
This allows more control over how multicommodity amounts are displayed.
In addition to the default single-line display, and the recent commodity
column display, we now have multi-line display. This is controlled by
the --layout option, which has possible values "wide", "tall", and
"bare". The --commodity-column option has been hidden, but is equivalent
to --layout=bare.
squash
2021-11-18 21:26:02 -10:00
Stephen Morgan
3dce61ea09
fix: prices: Do not try to generate prices when there would be a zero
...
denominator.
Also correctly generate reverse prices for zero amounts.
2021-11-18 20:59:52 -10:00
Stephen Morgan
87a7a586d4
fix: csv: Handle multiple zero amounts in postings in csv files. ( #1733 )
2021-11-18 20:48:55 -10:00
Stephen Morgan
f345fd0b78
imp: balance: Allow --related flag for balance reports. ( #1469 )
2021-11-08 14:03:50 -10:00
Stephen Morgan
7597e525a3
fix: balance: Balance reports should consider date: queries when calculating
...
report span with --date2. (#1745 )
2021-11-06 08:51:53 -10:00
Stephen Morgan
9d5397deb6
fix: print: auto: The print command should always display inferred
...
amounts for --auto generated postings. (#1276 )
2021-10-31 09:42:58 -10:00
Stephen Morgan
1bc04685b7
pkg: Drop base-compat-batteries dependency.
...
Our supported stackage versions are now new enough that we don't need
any of the compatibility features anymore.
2021-10-31 07:56:07 -10:00
Dmitry Astapov
4b1919de02
fix: roi: use posting dates when available, honor --date2
...
This will not change the results computed for the typical use-case,
just makes "roi" more thorough/consistent by supporting posting dates
when they are provided.
2021-10-11 11:22:46 -10:00
Simon Michael
e4263e69e1
areg: begin respecting --date2: show txns' date2 ( #1731 )
2021-10-10 10:34:45 -10:00
Simon Michael
7af2e79465
;cabal: update cabal files
2021-10-03 22:56:02 -10:00
Simon Michael
69905dbc25
;pkg: allow megaparsec 9.2
2021-10-03 22:55:10 -10:00
Stephen Morgan
94d9c28a63
cln: Replace all uses of deprecated !include with include.
...
Also include a test which makes sure !include is still parsed.
2021-09-27 15:04:35 -10:00