Simon Michael
4b9a76068f
lib: spanStartYear, spanEndYear, spanYears DateSpan helpers
2020-07-09 12:52:40 -07:00
Simon Michael
a89a4e1b42
bal --budget: show end-date column headings when appropriate
...
bal --budget was always showing the period as column heading,
as if for a change report. With --cumulative or --historical
it should show the end date, like other balance reports. Cf
https://hledger.org/hledger.html#multicolumn-balance-report .
2020-07-09 11:49:19 -07:00
Simon Michael
0a9b05f3fd
;refactor balance report column headings
2020-07-09 11:49:16 -07:00
Simon Michael
09b1736d5a
bal, bs, cf, is: update flat/tree help; order options a bit better
2020-07-07 19:00:10 -07:00
Stephen Morgan
f5e1fb2625
lib: Refactor BudgetReport to re-use MultiBalanceReport code.
2020-07-07 18:46:34 -07:00
Stephen Morgan
bfda10ff20
lib: Refactor MultiBalanceReport row sorting, make sure totals are calculated after pruning.
2020-07-07 18:46:34 -07:00
Stephen Morgan
bde4d7e2e4
lib: Use last column of historical balance as total. Use totals for balanceReport.
2020-07-07 17:56:38 -07:00
Stephen Morgan
5ffe1d7656
cli: Allow --drop in account command in tree mode.
2020-07-07 16:05:05 -07:00
Stephen Morgan
1425301a8c
lib, cli: Use --flat as the default mode for all reports.
2020-07-07 15:49:08 -07:00
Stephen Morgan
df84a417d7
doc: Remove references to old limitations of boring parent ellision.
2020-07-07 15:49:08 -07:00
Simon Michael
7833586d14
codes: functional tests
2020-07-07 14:00:02 -07:00
Simon Michael
644be1e1cf
codes: add missing files to stack/cabal config
2020-07-07 13:56:45 -07:00
Simon Michael
ae4fce8077
;regen manuals
2020-07-07 13:42:11 -07:00
Simon Michael
3ad313d8fa
codes: new command for listing transaction codes
2020-07-07 13:38:49 -07:00
Simon Michael
a7a01c0f9f
descriptions, notes, payees: fix/improve help and comments
2020-07-07 13:38:49 -07:00
Michael Sanders
278032bc8d
;doc: Revise doc for & operator
2020-07-07 12:51:01 -07:00
Michael Sanders
868c6fdbac
csv: Add docs and integration test for & operator
2020-07-07 12:51:01 -07:00
Michael Sanders
5ec0a518da
csv: Add support for & operators in conditional blocks
2020-07-07 12:51:01 -07:00
Simon Michael
95ee601548
;regen manuals
2020-07-07 10:19:56 -07:00
Simon Michael
eee9402ba8
add: fix help - arguments are inputs, not a query
2020-07-07 10:10:13 -07:00
Simon Michael
81d3ac7d66
;csv: doc: fix some if-related links
2020-07-06 15:03:06 -07:00
Simon Michael
0bbd88fe7f
;doc: changelogs
2020-07-05 09:24:16 -07:00
Simon Michael
25c15d4bab
bal --budget: elide multicommodity amounts
2020-07-05 06:59:16 -07:00
Simon Michael
3b6a8b0956
ui: register: elide multicommodity amounts
2020-07-05 06:59:16 -07:00
Simon Michael
44c3eb1904
add a color argument to most amount show helpers, drop cshow variants
...
This is an API change, but it seems better than having additional
colour-supporting variants and trying to avoid duplicated code.
I stopped short of changing showAmount, so cshowAmount still exists.
2020-07-05 06:59:16 -07:00
Simon Michael
2739a70a38
balcmds: elide amounts with 3 or more commodities, unless --no-elide
...
Multicolumn balance reports showing many commodities tend to become
unreadably wide, especially in tree mode. Now by default we show at
most two commodities, and a count of the rest if there are more than
two. This should help keep reports somewhat readable by default.
2020-07-05 06:59:16 -07:00
Simon Michael
1a321c9ae0
;fix balance sorting test ( #1279 )
2020-07-05 06:58:33 -07:00
Simon Michael
7881edfce1
stack: bump default stack file to lts 16
2020-07-05 06:54:38 -07:00
Simon Michael
3575cd5958
stack: simplify 8.10 stack file, use stackage nightly
2020-07-05 06:52:16 -07:00
Simon Michael
3d57d4793d
;doc: regen manuals
2020-07-04 16:17:13 -07:00
Simon Michael
aea0dac235
bal: warn about #1279 in manual
2020-07-04 16:13:35 -07:00
Simon Michael
04d26e1f2f
bal: a needed test for sorting by amount ( #1279 )
2020-07-04 16:07:30 -07:00
Stephen Morgan
c811ea4c7b
lib, cli, ui, web: intopt and friends now make sure their arguments fit
...
inside bounds.
2020-07-03 12:35:51 -07:00
Stephen Morgan
c96947284e
lib: Minor refactor.
2020-07-03 12:35:51 -07:00
Simon Michael
765fb732c9
debug: move command parsing debug output down to level 8
2020-07-03 11:37:01 -07:00
Simon Michael
6cc896a8fe
debug: show aliasing and auto postings with other reading (level 7)
2020-07-03 11:30:52 -07:00
Simon Michael
e2bccf8645
;bin: better script install instructions
2020-06-28 10:00:36 -07:00
Simon Michael
caa004889b
;bin: update stack url
2020-06-28 09:55:24 -07:00
Simon Michael
88b03e73cd
;bin: better script install instructions
2020-06-28 09:53:34 -07:00
Simon Michael
ecbc9aa0cf
;bin: better script install instructions
2020-06-28 09:52:51 -07:00
Simon Michael
fea7a1faf4
bin: hledger-check: use stack script command
2020-06-28 09:35:05 -07:00
Stephen Morgan
4fc72328d2
lib, cli: Introduce convienience function compoundBalanceReport.
2020-06-28 07:29:49 -07:00
Stephen Morgan
604868cea5
lib, cli: Move CompoundBalanceReport into ReportTypes, compoundReportWith into MultiBalanceReport, share postings amongst subreports.
2020-06-28 07:29:49 -07:00
Stephen Morgan
d09a90b38b
lib: Refactor multiBalanceReportWith into getPostingsbyColumn and generateMultiBalanceReport.
2020-06-28 07:29:49 -07:00
Simon Michael
1f707ab0d8
;ci: linux: disable unreliable artifact upload causing CI failures
...
Also we don't need artifacts for every GHC version and every PR.
2020-06-25 18:07:02 -07:00
Stephen Morgan
e089358758
lib: Using --drop in tree mode with boring parent ellision no longer considers all parents boring. Add tests to check this fact.
2020-06-25 18:05:50 -07:00
Stephen Morgan
015492553e
lib: Move unifyMixedAmount to Hledger.Data.Amount, make it return Maybe Amount, export it.
2020-06-24 10:24:11 -07:00
Simon Michael
e090e0f949
add lower bound needed for aeson, to help cabal ( #1268 )
2020-06-23 14:55:42 -07:00
Simon Michael
d4dd20c989
;roadmap: correctness features
2020-06-23 11:58:43 -07:00
Simon Michael
55a1a0e60e
;roadmap updates
2020-06-23 08:18:01 -07:00