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
Simon Michael
f70eac2591
imp:close: add --assertion-type option
2024-02-20 20:55:47 -10:00
Simon Michael
60a1adc5ba
lib: refactor, extract parseBalanceAssertionType
2024-02-20 20:55:27 -10:00
Simon Michael
9f53e36904
;imp: close: --assert: make default description "assert balances"
2024-02-20 20:55:27 -10:00
Simon Michael
5519065a94
;pkg:stack:9.8: can now build all packages
2024-02-19 11:25:05 -10:00
Simon Michael
9a6df91537
;doc:journal:description/payee/note: edits
2024-02-18 15:03:25 -10:00
Simon Michael
85836eaa21
;doc: update manuals
2024-02-18 14:59:10 -10:00
Simon Michael
862758d6a3
;cabal: update cabal files
2024-02-18 14:58:38 -10:00
Simon Michael
17817650da
;fix:pkg:web: set upper bound to exclude base64 1.0 [ #2166 ]
2024-02-18 14:57:46 -10:00
Simon Michael
3f6c400ddb
;doc:journal:description/payee/note: clarify
2024-02-18 14:57:41 -10:00
Vekhir
de3209a2fb
fix: Hide ambiguous instance for (!?)
...
base 4.19.0.0 introduces Data.List.!? which clashes with Data.Vector.!?, the latter of which is needed for vector operations.
2024-02-18 14:55:31 -10:00
Jonathan Dowland
32328e33de
feat: ui: Add a dark theme
...
I wanted a theme with roughly the same degree of colour as the
default but which was easier on my eyes late at night.
Signed-off-by: Jonathan Dowland <jon@dow.land>
2024-02-18 14:54:31 -10:00
Colin Dean
4c15cfb275
fix: correct to inherit_errexit in hledger-bar
...
I misread something and apparently whatever test I used didn't fail because what's there now is not valid at all.
2024-02-17 20:54:30 -10:00
Simon Michael
f706bd2765
;doc:Special tags: edits
2024-02-17 13:52:22 -10:00
Simon Michael
d65114f57a
;doc:Special tags: edits
2024-02-17 13:30:25 -10:00
Simon Michael
6103d74b4b
doc:Tags: improve the Special tags list, and the tags doc generally
2024-02-17 13:06:10 -10:00
Simon Michael
baca5f8b54
fix:check:tags: add date and date2 to the implicitly-declared special tags
...
And add tests/comments.
2024-02-17 13:06:10 -10:00