Commit Graph

11932 Commits

Author SHA1 Message Date
Simon Michael
94ab8b1ed7 dev: journalApplyCommodityStyles -> journalStyleAmounts 2023-10-18 13:56:24 +01:00
Simon Michael
f8027abb44 dev:print: refactor, add AmountStyle "rounding strategy"
Changes to enable more control of "rounding" behaviour
(ie, choosing display precisions for amounts).

This reverts 1.31's change of asprecision, making it a non-Maybe
again, and adds a new asrounding field providing more control over how
a target display precision is applied to existing amounts (two options
for now, more later). Functionality is in an interim state (reports do
no rounding).
2023-10-18 13:56:24 +01:00
Simon Michael
a0136a0b28 ;doc:REGRESSIONS: update 2023-10-18 02:36:40 +01:00
Simon Michael
ba8adf91fb ;doc:REGRESSIONS: update 2023-10-18 02:28:01 +01:00
Simon Michael
9ead8a64e1 fix:timedot: parse unitful quantities more accurately (fix #2096)
A quantity with a unit like "15m" was being parsed internally as
0.249999999... rather than 0.25 (and since hledger 1.21, printed that
way also). Now we round such quantities to two places during parsing,
to get exact quarter-hour amounts.
2023-10-17 12:05:10 +01:00
Simon Michael
ffc535ad64 lib: add Show to Table render functions for debugging 2023-10-17 11:46:00 +01:00
Simon Michael
72ef9186ba ;doc:journal: rewrite Commodity display style 2023-10-17 11:46:00 +01:00
Simon Michael
eda60f1e06 ;dev:stack: ghc 9.4 fix 2023-10-16 18:53:17 +01:00
Simon Michael
614b17cfa8 ;doc:LINKS: updates 2023-10-15 19:23:30 +01:00
Simon Michael
2135d388df ;doc:REGRESSIONS: add 2034 2023-10-15 18:16:17 +01:00
Simon Michael
929c5d6362 ;doc:REGRESSIONS: cleanup 2023-10-15 18:10:59 +01:00
Simon Michael
9dbfdffa06 ;doc:REGRESSIONS: cleanup 2023-10-15 18:03:01 +01:00
Simon Michael
9bfe56510d ;doc:REGRESSIONS: update 2023-10-15 17:57:00 +01:00
Simon Michael
2de0901d71 ;dev:stack: stack9.8.yaml 2023-10-15 13:56:47 +01:00
Simon Michael
81f155d039 ;dev:stack: drop stack9.6.yaml 2023-10-15 13:56:47 +01:00
Simon Michael
f7262ae4e8 dev:stack: bump default GHC to 9.6.3 2023-10-15 13:56:47 +01:00
Simon Michael
e771424fed ;doc:REGRESSIONS: update 2023-10-15 13:41:38 +01:00
Simon Michael
3a8d57ba53 ;doc:REGRESSIONS: update 2023-10-15 13:38:55 +01:00
Simon Michael
420f1f876a ;doc:REGRESSIONS: update 2023-10-15 13:23:43 +01:00
Simon Michael
75c553d6be ;doc:REGRESSIONS: cleanup, update 2023-10-15 12:53:12 +01:00
Simon Michael
7b8a69f756 ;doc:regressions: fix link 2023-10-15 09:52:06 +01:00
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