Simon Michael
158e0850fd
;doc:journal:directives: fix formatting
2024-02-29 16:56:22 -10:00
Simon Michael
b39948a3dd
;doc:journal: move complex discussion of commodity styles later
2024-02-29 16:53:20 -10:00
Simon Michael
256294101d
;doc:journal:Digit group marks: simplify, don't encourage mad unicode spaces
2024-02-29 16:35:45 -10:00
Simon Michael
ed3dc344fc
;doc:journal: split Decimal marks, Digit group marks
2024-02-29 16:31:26 -10:00
Simon Michael
81f9b51967
;doc:journal: edits
2024-02-29 16:16:23 -10:00
Simon Michael
d0c0a3f72c
;doc:journal:transaction balancing: edits
2024-02-29 16:12:32 -10:00
Simon Michael
8225b3dcef
;doc:journal:commodity directive: clarify & fix scope of effects ( #2135 )
2024-02-29 16:06:46 -10:00
Simon Michael
90c824adaa
;doc:journal:transactions: typo
2024-02-29 15:34:48 -10:00
Simon Michael
86ba7cc3a3
;doc:journal:amounts/commodities/numbers: cleanup
2024-02-29 15:31:44 -10:00
Simon Michael
62151d679e
;doc:journal: move intro before cheatsheet
2024-02-29 15:05:41 -10:00
Simon Michael
2ccbb16f07
;doc:journal:transactions: explain transaction balancing ( #2135 )
2024-02-29 14:52:52 -10:00
Simon Michael
a6db6762ac
;doc:journal:transactions: edits; mention debits and credits and sign
2024-02-29 14:52:19 -10:00
Simon Michael
1ee0e80719
imp:errors:unbalanced transaction: show more precise amounts ( #2135 )
...
Like we used to in 1.30, but better (show all available decimal digits,
unless they're infinite in which case show 8, show trailing zeros,
show commodity symbol with zero).
2024-02-29 12:34:17 -10:00
Simon Michael
3ec432bd53
dev: rename/improve amountSetFullPrecisionUpTo, add mixedAmountSetFullPrecisionUpTo
2024-02-29 12:31:07 -10:00
Simon Michael
ce0990d1e2
;cabal: update cabal files
2024-02-29 01:08:37 -10:00
Simon Michael
d755699c9b
imp:stats: also show RTS memory usage stats
2024-02-29 01:07:04 -10:00
Simon Michael
8f1ae401f4
dev: fix some partial head/tails, silence ghc 9.8's new warnings
...
Note the headErr/tailErr calls will print stack traces if they fail
(small ones: five lines, one of which is the useful location info),
which may or may not be best UX.
2024-02-28 15:58:21 -10:00
Simon Michael
697e5a5671
;cabal: update cabal files
2024-02-28 15:34:11 -10:00
Simon Michael
3798a3baef
pkg: require safe >=0.3.20, for ghc 9.8 head/tail helpers
2024-02-28 14:39:53 -10:00
Simon Michael
4cec8aa0d7
pkg:stack:9.8: make default
2024-02-28 13:35:15 -10:00
Simon Michael
bf40a1ae25
pkg:stack:9.6: make non-default
2024-02-28 13:34:32 -10:00
Simon Michael
cf192de502
pkg:stack:9.8: updates
2024-02-28 13:34:07 -10:00
Simon Michael
41e14634ff
pkg:stack:9.6: updates
2024-02-28 13:34:07 -10:00
Simon Michael
56d5a84cfe
pkg:stack:9.4: updates
2024-02-28 13:25:42 -10:00
Simon Michael
9bc3a092ee
pkg:stack:9.2: updates
2024-02-28 13:25:42 -10:00
Simon Michael
e182dc3a46
pkg:stack:9.0: updates (untested)
2024-02-28 13:25:42 -10:00
Simon Michael
9dbb0f6f2a
pkg:stack:8.10: updates (untested)
2024-02-28 13:25:42 -10:00
Simon Michael
fac3ee89af
feat:allow other kinds of unicode space as digit group separators
...
Based on feedback in chat, I added support for several more kinds of
Unicode space character for separating digit groups, both when reading
and when displaying numbers. These are the spaces currently supported,
which are just my best guess at the ones that might show up in CSV files
now and then:
space,
no-break space,
en space,
em space,
punctuation space,
thin space,
narrow no-break space,
medium mathematical space
2024-02-28 09:12:17 -10:00
Simon Michael
eb0f736899
dev: update failing test
2024-02-28 09:11:49 -10:00
Simon Michael
f1de5737d7
;doc:REGRESSIONS: better bounty requests link
2024-02-26 15:05:50 -10:00
Simon Michael
9827860f17
;dev:pkg:stack: bump nightly
2024-02-26 14:52:00 -10:00
Simon Michael
6f7b8f8b55
;doc:queries:combining multiple queries: edits
2024-02-26 11:05:05 -10:00
Simon Michael
2cfd051989
;doc:csv:balance field: fix old "Tips" link
2024-02-26 11:04:32 -10:00
Simon Michael
37881b76fc
;doc:csv: drop outdated note about auto-creation of rules files
2024-02-26 10:25:50 -10:00
Simon Michael
c7dd1fcc2f
;imp:cli:errors: make file-not-found error more format agnostic
2024-02-26 10:25:22 -10:00
Simon Michael
a4c2776a18
feat:close: support --round, like print
2024-02-25 17:37:59 -10:00
Simon Michael
d3ad743b36
imp: print, close: disambiguate balance assertion/assignment amount also ( #2176 )
...
Add a trailing decimal mark when necessary to disambiguate a single
digit group mark in the balance assertion/assignment amount, also.
2024-02-25 16:47:58 -10:00
Simon Michael
4c3deeb2ae
;doc:REGRESSIONS:#2071
2024-02-25 02:00:38 -10:00
Simon Michael
a871f274c4
fix:bal:budget: don't omit necessary parent accounts in tree mode ( #2071 )
...
Parent accounts with no actual or goal amounts would ideally be shown
elided on the same line, but the budget report in tree mode was
omitting them completely. Now --budget always shows them.
The effect is much like forcing --no-elide on, except it might not
show goal amounts that --no-elide does show.
It's not a wonderful fix, but the budget report code is twisty and I
can't afford to spend more time on this.
2024-02-25 01:23:39 -10:00
Simon Michael
c701e3a663
dev:budget: big refactor, clarify
...
Big functions like budgetReportAsTable are grouped as much as possible
into more modular sub-scopes.
2024-02-25 01:23:39 -10:00
Simon Michael
3cad760851
dev:budget: simplify some confusing fmaps
2024-02-25 01:23:31 -10:00
Simon Michael
ffdde364de
imp:bal:budget:csv,tsv output: show 0 not empty when there's no amount
2024-02-24 18:21:42 -10:00
Simon Michael
37f9d6b239
dev:budget report: clarify code, add debug output
2024-02-24 18:21:42 -10:00
Simon Michael
f82016cf63
dev:budget report:tests: fix numbering
2024-02-24 18:21:42 -10:00
Simon Michael
12f79f4fca
;doc:csv: combining matchers: clarify
2024-02-23 02:56:07 -10:00
Simon Michael
e53f25bf13
;doc: add Text encoding section
2024-02-22 16:48:07 -10:00
Simon Michael
5a36362b33
imp:journal: use a symlink's target's directory for relative include paths
...
When reading a symbolically-linked journal file,
relative paths in include directives are now evaluated
relative to the directory of the real linked file,
not the directory of the symlink.
This also seems to fix an obscure case where stats did not report
absolute included file paths in certain circumstances (stdin, maybe no
terminal..)
2024-02-22 08:48:31 -10:00
Simon Michael
f6a50923c2
imp: interpret glob patterns in $LEDGER_FILE
...
For example, LEDGER_FILE=2???.journal now works.
2024-02-22 07:32:37 -10:00
Simon Michael
e6b3fa0f54
dev:IO: comments
2024-02-22 07:32:10 -10:00
Simon Michael
9523cb8e21
;doc:Special tags: note type: as another one to avoid
2024-02-21 00:26:49 -10:00