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
c87290e5f5
ui: Remove unnecessary CPP when dropping support for GHC 8.4.
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
c827cbcc3e
lib: Refactor to eliminate use of printf.
2021-06-03 23:23:54 -10:00
Stephen Morgan
e80bb37b1c
lib: Remove unused String utility functions.
2021-06-03 23:23:54 -10:00
Stephen Morgan
0b419adba2
lib: Remove unused Text utility functions.
2021-06-03 23:23:54 -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
56e87f934c
ui: Use Text instead of String in RegisterScreen.
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
fc7df75f43
;ci: no need for extra tags fetching ( #1543 )
...
fetch-depth: 0 also fetches tags.
2021-06-03 22:53:01 -10:00
Simon Michael
77be26514f
;ci: fix syntax ( #1543 )
2021-06-03 22:51:17 -10:00
Simon Michael
73de79d3d6
;ci: fix syntax ( #1543 )
2021-06-03 22:49:39 -10:00
Simon Michael
d16cd267f9
;ci: get all history to fix git describe/--version ( #1543 )
2021-06-03 22:47:56 -10:00
Simon Michael
eeb23c2e76
;stack: drop 8.4 too
2021-06-03 14:11:28 -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
Simon Michael
d089f1b0d1
tools: ghc 8.6 is now the oldest, drop older stack configs
2021-06-03 14:05:02 -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
3dc813add0
doc: contributing: change irc links to libera; list fewer chans
2021-05-23 08:53:11 -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
Stephen Morgan
6c2ab5c940
lib: When matching an account query against a posting, don't try to
...
match against the same posting twice, in cases when poriginal is
Nothing.
2021-05-16 12:43:13 -10:00
Simon Michael
7abf8eedd5
;tools: Shake cabalfiles: fix with stack 1.7 (now does a full build)
2021-05-14 16:19:28 -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
17b241eb64
ui: don't write debug.log when toggling V ( #1556 )
2021-05-14 11:38:14 -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
940b2c6ab9
lib: Create mixedAmountApplyValuationAfterSumFromOptsWith for doing any valuation needed after summing amounts.
2021-05-13 22:18:52 +10:00
Stephen Morgan
6fb3dfdbb2
lib: Create journalApplyValuationFromOpts.
...
This does costing and valuation on a journal, and is meant to replace
most direct calls of costing and valuation. The exception is for reports
which require amounts to be summed before valuation is applied, for
example a historical balance report with --value=end.
2021-05-13 19:52:32 +10:00
Stephen Morgan
dc16451de0
lib: Remove unused (amount|mixedAmount|posting|transaction)ApplyCostValuation functions.
2021-05-07 22:25:19 +10:00
Stephen Morgan
53611be6e9
lib,ui: Do all cost conversion and price stripping in journalSelectingAmountFromOpts.
2021-05-07 21:51:15 +10:00
Simon Michael
b6044aa6c8
;doc: contributing: cleanups, layout fixes for mdbook/commonmark/GFM
...
CONTRIBUTING now looks better on hledger.org.
mdBook uses the pulldown_cmark lib which implements CommonMark
plus Github Flavoured Markdown extensions such as tables, footnotes,
strikethrough and something else.
2021-05-06 16:02:16 -10:00