Commit Graph

11911 Commits

Author SHA1 Message Date
Simon Michael
b67cc64c08 ;doc: REGRESSIONS, moved from issue tracker; renamed FINANCE section 2023-10-15 09:24:02 +01:00
Simon Michael
e8da1f9f25 fix: balance-assigned amounts affect styles again (fix #2091) 2023-10-14 08:38:20 +01:00
Simon Michael
dadb904b04 ;doc:examples/bin: add gsheet-csv.hs 2023-10-14 06:09:34 +01:00
Simon Michael
ae8f9dd232 ;doc:justfile: update import, time report scripts 2023-10-14 05:59:20 +01:00
S. Zeid
ac547142ae imp: web: include adeclarationinfo in accounts JSON 2023-10-13 09:33:36 +01:00
S. Zeid
91d6f8c841 imp: lib: include adeclarationinfo, if present, in accounts JSON
Note that this does not add the declaration info if it is not already
present.
2023-10-13 09:33:36 +01:00
Simon Michael
0bfd7f66b0 ;doc:troubleshooting: nix locale config (#2089) 2023-10-10 12:14:06 +01:00
Simon Michael
1e3dd21baa ;doc:examples: fidelity csv rules 2023-10-10 09:49:11 +01:00
Simon Michael
efa8f1dc84 ci:test-linux: temporary workaround for haddock failure 2023-10-09 21:58:38 +01:00
Simon Michael
17889ccb61 ci:test-linux: temporary workaround for bad commit message 2023-10-09 21:07:20 +01:00
Simon Michael
c577fa809b ;doc: csv: negative matchers (#2088) 2023-10-09 20:54:55 +01:00
Stephen Morgan
20132e892b feat: balance: Add summary-only flag (#1012)
Add a flag --summary-only for multi-column balance reports, which does
not display the main date columns for a report, but only displays the
summary columns (--row-total, --average). This is useful when there are
many columns (a weekly summary over many years) where you're only
interested in the average (or some other summary).
2023-10-06 05:25:26 +01:00
bobobo1618
9fb5740045 Add support for negating a Matcher
https://github.com/simonmichael/hledger/issues/2054
2023-10-05 10:22:01 +01:00
Simon Michael
bdf292b377 ;cabal: update cabal files 2023-10-04 10:03:35 +01:00
Simon Michael
fffae7f578 ;doc: main module haddock cleanups 2023-10-04 10:03:35 +01:00
Simon Michael
2e06c8dc27 ;doc: package description cleanups 2023-10-04 10:03:35 +01:00
Simon Michael
40037afaf1 lib!: export less from cli and web packages, and more from ui 2023-10-04 10:03:35 +01:00
Simon Michael
0e98f73e30 dev:cli: merge Hledger.Cli.Main with Hledger.Cli 2023-10-04 10:03:35 +01:00
Simon Michael
37bb9a03be make: fix haddock[-watch|-open] 2023-10-04 10:03:35 +01:00
Simon Michael
efc154a1cb dev:ci: cleanup 2023-09-16 09:05:04 +01:00
Simon Michael
0860bff057 dev:ci: update notes 2023-09-12 08:52:17 +01:00
Simon Michael
7582460e50 fix:ui: V key preserves startup valuation, if any (fix #2084)
Also: hledger-ui cost/value doc improvement and a useful cost/value test file.
2023-09-12 08:36:33 +01:00
Simon Michael
936e1b9d0a pkg:stack: build with nightly/ghc 9.6 by default 2023-09-12 07:26:36 +01:00
Simon Michael
168af19f3f ;doc:RELEASING: updates 2023-09-11 10:57:17 +01:00
Simon Michael
1ef48fd7a5 fix: failing balance assertions with cost show correct highlight #2083 2023-09-11 10:11:24 +01:00
Simon Michael
4a2da0ba1b ;doc:journal: clarify valuation date, note bug #2084 2023-09-11 10:10:49 +01:00
Simon Michael
b6325e067e ;bin: tt,ft comment 2023-09-11 10:07:52 +01:00
Simon Michael
e0d1f69575 ;doc:RELEASING: updates 2023-09-11 09:58:21 +01:00
Simon Michael
549823a783 ;doc: update manuals 2023-09-11 09:57:30 +01:00
Simon Michael
8666cc5391 ;doc: update command help 2023-09-11 09:57:02 +01:00
Simon Michael
ce41252998 ;cabal: update cabal files 2023-09-11 09:56:35 +01:00
Simon Michael
6f7c331ace ;pkg: bump version to 1.31.99 2023-09-11 09:56:34 +01:00
Simon Michael
50d4555860 ;doc: merge 1.31 changelogs 2023-09-11 09:55:38 +01:00
Simon Michael
8d2b0b439b ;doc: announce 2023-09-11 09:51:41 +01:00
Simon Michael
974b831dd9 install: bump to latest versions 2023-09-11 09:51:37 +01:00
Simon Michael
2fcc578305 install: replace hledger-stockquotes with pricehist 2023-09-11 09:51:33 +01:00
Simon Michael
6533ccea6a pkg: stack: ghc9.6: bump resolver, enable hledger-web (close #2011) 2023-09-03 08:23:43 +01:00
Simon Michael
6e0523d7b8 pkg: stack: bump default build to lts-21.9, ghc 9.4.6 2023-09-03 08:23:43 +01:00
Simon Michael
9c4235bf88 pkg: allow megaparsec 9.5 2023-09-03 08:23:43 +01:00
Simon Michael
aa7b329e3a ;errors: balance assertion: wording 2023-09-03 08:23:43 +01:00
Simon Michael
29ff5468bf dev:journalBalanceTransactions: styling comment 2023-09-02 06:46:14 +01:00
Simon Michael
d8a3c9fa3e dev: no need to style amounts when converting to cost 2023-09-02 06:46:14 +01:00
Simon Michael
c215f920aa dev: update tests 2023-09-02 06:46:14 +01:00
Simon Michael
644635b918 imp: print: show a disambiguating decimal mark when needed
Eg "1,000" (with , as a thousands separator and no decimal digits) is
now displayed with a decimal mark: "1,000.".

"1 000" (where space is a thousands separator) is less ambiguous,
but we do the same thing (eg "1 000.") for consistency, and also to
help disambiguate when forgetting to quote a numeric commodity symbol
(eg "1234 0" where 1234 is a symbol that should have been in double quotes).
2023-09-02 06:46:14 +01:00
Simon Michael
f620a3e0ea dev: showAmountB: clarify 2023-09-02 06:46:14 +01:00
Simon Michael
4bd0dd7ab0 fix: print: don't round in implicit conversions (fix #2079) 2023-09-02 06:46:14 +01:00
Simon Michael
fd97c40266 lib: amount styling: add a final styling pass to all reports 2023-09-02 06:46:14 +01:00
Simon Michael
77aeb18bbd fix:print:style balance assertion costs; more styling api; HasAmounts class 2023-09-02 06:46:14 +01:00
Simon Michael
97be1646f1 dev: AmountStyle: make setting the precision optional
This simplifies the code for styling amounts with or without precision.
But it complicates the semantics (Nothing is useful only when setting style).
Not sure if it's the best way.
2023-09-02 06:46:14 +01:00
Simon Michael
85845e51b2 dev: AmountStyle: rename, reorder fields more mnemonically
Since this type is about to change anyway.
2023-09-02 06:46:14 +01:00