Commit Graph

2144 Commits

Author SHA1 Message Date
Simon Michael
fcebdfe0cc ;update manuals 2021-06-26 00:06:14 -10:00
Simon Michael
6a1bfe47ba ;doc: csv: rewrite, eliminate fifth-level headings (#1584)
The hledger manuals shall now use at most four levels of headings,
avoiding loss of structure when viewed in Info format.

CSV fields list, field assignemt, and field names section have
been expanded.

The individual field headings have been renamed ("X field") to avoid
clashing with "Transactions"'s subheadings. They can now be opened
directly in info mode, eg: hledger help 'amount field'
2021-06-26 00:06:05 -10:00
Simon Michael
fc364cd8cf ;doc: csv: note a limitation with datetimes in other zones 2021-06-25 14:22:44 -10:00
Simon Michael
424b883541 ;doc: declaring market prices: clarify based on chat feedback 2021-06-23 12:47:02 -10:00
Simon Michael
ba94582945 ;update manuals 2021-06-16 10:11:03 -10:00
Simon Michael
2cba15a97d doc: journal: fix account types regexps table rendering (#1573) 2021-06-16 10:09:15 -10:00
Simon Michael
a4db52aa05 ;update manuals 2021-06-15 06:24:25 -10:00
Simon Michael
1e13588153 ;update CLI usage texts 2021-06-15 06:23:44 -10:00
Stephen Morgan
0df3a4714f lib: When performing a summary posting report without depth limiting,
report exclusive balances rather than inclusive balances (#1568).
2021-06-11 16:53:39 -10:00
Simon Michael
b114571d26 ;csv: amount-setting doc tweaks 2021-06-11 16:47:58 -10:00
Simon Michael
b81f8f768d ;csv: amount-setting notes, doc improvements from reddit discussion
https://www.reddit.com/r/plaintextaccounting/comments/nxu1ss/hledger_parsing_csv_with_negative_amount_in_debit/
2021-06-11 16:30:43 -10:00
Simon Michael
665fec83cd
Merge pull request #1560 from Xitian9/rationalisevaluation
Clean up valuation functions, and make clear which to use where.
2021-06-07 19:02:44 -10:00
Stephen Morgan
0f1837816d lib,cli,ui,web: Add check balancednoautoconversion command, which checks that
transactions are balanced possibly using explicit prices, but without
inferring any prices. This is included in --strict mode.

Renames check autobalanced to check balancedwithautoconversion.
2021-06-07 18:58:58 -10:00
Stephen Morgan
0a019e2167 lib,cli,web,bin: Replace journalSelectingAmountFromOpts with journalApplyValuationFromOpts.
This also has the effect of allowing valuation in more reports, for
example the transactionReport.
2021-06-08 14:55:05 +10:00
Stephen Morgan
68e975adf1 lib,cli,ui,web: Remove unused LANGUAGE pragmas. 2021-06-07 17:33:54 -10:00
Stephen Morgan
55308e1ca8 lib,cli,ui,web: Remove unnecessary CPP when dropping support for GHC 8.2. 2021-06-07 17:33:54 -10:00
Simon Michael
f156375ee7 Revert "balcmds: note that csv output forces list mode (#1566)"
This reverts commit 3f6d7ba580.
CSV output doesn't force list mode, it forces full account names.
2021-06-06 18:35:01 -10:00
Simon Michael
9d2d8ac24f ;balcmds: clarify tests a little for #1566 2021-06-06 18:34:58 -10:00
Simon Michael
3f6d7ba580 balcmds: note that csv output forces list mode (#1566) 2021-06-06 17:57:16 -10:00
Stephen Morgan
5a322c1908 cli: Make sure full account name is used (possibly including dropping)
for csv output. (#1566)
2021-06-06 17:56:34 -10:00
Stephen Morgan
bf22c3efdd lib,cli: Replace concat(Top|Bottom)Padded with textConcat(Top|Bottom)Padded. 2021-06-03 23:23:54 -10:00
Stephen Morgan
0e59fee251 lib,cli: Export Text.Tabular from Text.Tabular.AsciiWide, clean up import lists. 2021-06-03 23:23:54 -10:00
Simon Michael
b681cde62d ;update cabal files 2021-06-03 14:08:47 -10:00
Simon Michael
58b481ca5b stack: updated tested-with to 8.6+ 2021-06-03 14:07:39 -10:00
Stephen Morgan
bf063e4538 cli,ui,web: Display full git description in --version report if able.
Remove unused prognameanddetailedversion code branches.
2021-06-02 19:46:18 -10:00
Simon Michael
1e2ff1315b Don't infer a txn price with same-sign amounts (#1551) 2021-06-02 15:22:57 -10:00
Simon Michael
566190df56 ;doc: account aliases: emphasise scope 2021-05-19 17:02:32 -10:00
Simon Michael
6a3019c5a8 ;update manuals 2021-05-18 10:51:03 -10:00
Simon Michael
031219e792 ;doc: clarify report intervals' effect on begin/end dates (#1561) 2021-05-18 10:50:52 -10:00
Simon Michael
0727736bff ;update CLI usage texts 2021-05-18 10:35:55 -10:00
Simon Michael
0b15d5771a ;update manuals 2021-05-18 10:35:43 -10:00
Simon Michael
701768765a ;doc: report intervals: expand this doc (#1561) 2021-05-18 10:34:40 -10:00
Stephen Morgan
efaa199a82 doc: Mention expansion of report start and end dates in report intervals. 2021-05-18 10:02:10 -10:00
Simon Michael
d3b20675d0 tools: really regenerate the cabal files with stack's hpack
hpack has dropped the hash at last, this should help a lot to reduce
edit conflicts and commit noise.
2021-05-14 16:14:06 -10:00
Simon Michael
239558dd75 ;doc: cli: quick links 2021-05-14 08:46:15 -10:00
Simon Michael
762080058e ;doc: cli: simplify shortcut links: the [] is not needed, hopefully 2021-05-14 08:39:33 -10:00
Simon Michael
c90d89e4fb ;doc: cli: simplify internal links 2021-05-14 08:38:57 -10:00
Simon Michael
d6c12d5379 ;doc: cli: organise common markdown links 2021-05-14 08:34:54 -10:00
Simon Michael
7acfb63e9b ;doc: check: cleanup 2021-05-14 08:30:56 -10:00
Simon Michael
41c8e1f6ef ;regen cabal files with latest stack's hpack (0.34.4) 2021-05-14 08:17:56 -10:00
Simon Michael
1e44371e81 ;doc: cli: more regular expressions linkage 2021-05-14 07:37:13 -10:00
Simon Michael
07128cbb05 ;doc: check: ordereddates: clarify within in each file 2021-05-14 07:36:35 -10:00
Stephen Morgan
dc16451de0 lib: Remove unused (amount|mixedAmount|posting|transaction)ApplyCostValuation functions. 2021-05-07 22:25:19 +10:00
Simon Michael
a722ab4338 ;doc: strict mode: fix check link 2021-05-06 14:51:25 -10:00
Simon Michael
4b3358f6df ;doc: strict mode: link to check command 2021-05-06 14:31:46 -10:00
Stephen Morgan
d1467d4766 lib: When inferring total prices, use the precision of toamount, rather than NaturalPrecision. 2021-05-02 21:14:36 +10:00
Stephen Morgan
686a0871a9 lib: Make sure fromamount and toamount have opposite signs when inferring prices.
Also change priceInferrerFor so that it would give the correct
(negative) prices when fromamount and toamount have the same sign.
2021-05-02 21:14:36 +10:00
Stephen Morgan
0078f1a520 lib: Infer prices correctly even when there are only balance assignments. 2021-05-01 09:45:29 -10:00
Stephen Morgan
7cb621b82f lib,cli,ui,bin: Remove unnecessary normalisedMixedAmount, replace
normaliseMixedAmountSquashPricesForDisplay with mixedAmountStripPrices.
2021-05-01 09:45:29 -10:00
Stephen Morgan
4780a02e5a lib,cli: Remove showAmounts*B functions, replacing them entirely with showMixedAmount*B functions. 2021-05-01 09:45:29 -10:00