Commit Graph

3608 Commits

Author SHA1 Message Date
Simon Michael
13c5827ad7 fix: add: don't show ANSI escape codes when they're not supported 2024-04-18 23:19:21 -10:00
Simon Michael
4ae62a1833 ;doc: update manuals 2024-04-18 13:35:28 -10:00
Simon Michael
0edf99350a ;doc: update command help 2024-04-18 13:35:09 -10:00
Simon Michael
f59cb5ff3c ;cabal: update cabal files 2024-04-18 13:33:43 -10:00
Simon Michael
f5c4d99291 ;pkg: bump version to 1.33.99 2024-04-18 13:33:42 -10:00
Simon Michael
9651082fde ;doc: bump release date to 4/18 2024-04-18 13:20:12 -10:00
Simon Michael
997653e3b9 ;doc: changelogs: 1.33 2024-04-18 13:19:34 -10:00
Simon Michael
41fd42e8b3 ;doc: Assertions and subaccounts: edits 2024-04-11 19:39:48 -10:00
Simon Michael
ce528c5680 ;doc: Assertions and commodities / subaccounts: rewrite 2024-04-11 18:46:38 -10:00
Simon Michael
350a2c0918 ;doc: Assertions and ordering: cleanups 2024-04-11 17:50:26 -10:00
Simon Michael
1829af239c ;doc: Assertions and ordering: edits 2024-04-11 17:40:28 -10:00
Simon Michael
96e9bdb2e2 ;doc: Assertions and ordering: rewrite; update Ledger info 2024-04-11 17:28:28 -10:00
Simon Michael
28abe5e9ff ;doc:bse: links 2024-04-11 11:55:37 -10:00
Simon Michael
d9b5ed7bb2 ;doc:bse: note requirements for checking the AE 2024-04-11 11:51:44 -10:00
Simon Michael
91aef62c29 ;doc: virtual postings: edit 2024-04-11 11:36:46 -10:00
Simon Michael
ff3af71c4e ;doc: update command help 2024-04-11 11:15:44 -10:00
Simon Michael
e2cc2a70ac ;doc:bs,bse,cf,is: update sample output 2024-04-11 11:13:18 -10:00
Simon Michael
7231683613 cabal: update cabal files 2024-04-10 08:07:17 -10:00
Simon Michael
69e4a88ccf pkg: require process 1.6.19.0+ for HSEC-2024-0003
This is to avoid potential vulnerabilities on Windows due to the process issue disclosed today:
https://haskell.github.io/security-advisories/advisory/HSEC-2024-0003.html
2024-04-10 08:07:08 -10:00
Simon Michael
5be3ee9e20 imp: disallow date: in expr: OR expressions, avoiding unclear semantics [#2177][#2178] 2024-04-07 23:37:28 -10:00
Simon Michael
9102acf152 ;doc:D: clarify scope [#2191] 2024-04-03 15:00:53 -10:00
Dmitry Astapov
08a5f1ee78 ;fix: roi correctly interacts with --value (fixes #2190) 2024-04-01 08:37:31 -10:00
Simon Michael
89d6f4a451 ;doc: text encoding: mention BOM support [#2189] 2024-03-29 14:56:57 -10:00
Simon Michael
3f184a848a ;doc: import: deduplication: edits 2024-03-27 09:23:28 -10:00
Simon Michael
080184d2e5 ;doc: import: deduplication: edits 2024-03-27 09:14:30 -10:00
Simon Michael
57ad739227 ;doc: import: deduplication: updates 2024-03-27 09:12:03 -10:00
Simon Michael
4ab55b3757 ;dev: update error message tests 2024-03-26 10:12:46 -10:00
Simon Michael
fae6e49407 imp: simpler, clearer date parse error messages
When the error message repeated the invalid date at the end,
it was possible to misinterpret that as a suggested fix (reported in chat).

Instead, date errors (most of them) now rely on the highlighted data
excerpt above. This is also preferable since it shows the original
date as written, not a reconstruction with a possibly different format.

Should this be the policy for all error messages going forward ?
It would be easier.
Can we assume the data excerpt is always visible along with the error message ?
It isn't shown by flycheck-hledger in emacs, eg.
2024-03-26 10:05:57 -10:00
Simon Michael
5519f4ac2e ;doc: import: edits 2024-03-24 15:13:56 -10:00
Simon Michael
8642db786a ;doc: update manuals 2024-03-24 14:51:30 -10:00
Simon Michael
2889bb6efb ;doc: update command help 2024-03-24 14:51:25 -10:00
Simon Michael
eb6b94ad5a ;doc:import: deduplication -> skipping 2024-03-24 14:51:16 -10:00
Simon Michael
76f98f28fd ;doc: update manuals 2024-03-24 14:22:54 -10:00
Simon Michael
70b75e4921 ;doc: update command help 2024-03-24 14:22:37 -10:00
Simon Michael
be24d6505f ;doc:import: rewrite deduplication section 2024-03-24 14:21:44 -10:00
Simon Michael
85c345d9b8 ;doc: small fixes 2024-03-17 10:54:02 -10:00
aragaer
09e158d31e fix: Fill totals with correct amount of zeroes for empty reports 2024-03-17 10:52:53 -10:00
Dmitry Astapov
f1bd46fd57 ;doc: explain comments in "if tables" and order of application 2024-03-08 08:20:29 -10:00
Dmitry Astapov
b0b9e69e4f ;dev:lib allow comment lines in the "if" table body 2024-03-08 07:42:58 -10:00
Simon Michael
5def834346 ;doc: journal cheatsheet cleanups 2024-03-03 01:09:01 -10:00
Simon Michael
169198ff55
Merge branch 'master' into fix-matchgroups 2024-03-02 12:15:52 -10:00
Simon Michael
861a57ebf3 ;doc:code blocks: language types 2024-03-02 12:10:27 -10:00
Simon Michael
f20457e2af ;doc:manuals: code block language type 2024-03-02 11:53:51 -10:00
Simon Michael
b605b5bfd5 ;doc:manuals: fix some code block language types 2024-03-02 11:50:10 -10:00
Simon Michael
3ca208a3b6 fix:queries: fix OR-ing open-ended dates, spanUnion; add spanExtend [#2177] 2024-03-01 18:10:24 -10:00
Simon Michael
b7d7dda463 dev: rename query-expr.test 2024-03-01 18:09:34 -10:00
Simon Michael
afd009db9e ;doc: update command help 2024-03-01 18:09:34 -10:00
Simon Michael
7db8e01200 imp:stats: with multiple reports, add a blank line before runtime stats 2024-03-01 18:09:34 -10:00
Simon Michael
c24054455f imp:stats: be more private by default; update doc
The old details (file paths, commodity names) can be shown
with -v/--verbose.
2024-03-01 09:03:57 -10:00
Simon Michael
0c44eddd4c imp:stats: more compact sub-80-width output 2024-03-01 08:09:51 -10:00
Simon Michael
7e28e38bbc ;doc:balance: cleanups 2024-02-29 23:13:23 -10:00
Simon Michael
d8f86a9b7d ;doc:balance: updates, cleanups 2024-02-29 22:56:23 -10:00
Simon Michael
67f027de33 ;doc:journal:transaction balancing, commodity directive: simplify 2024-02-29 19:23:31 -10:00
Simon Michael
babaf70932 ;doc:journal:transaction balancing, commodity directive: highlight #2135 2024-02-29 19:09:39 -10:00
Simon Michael
3e93b69c25 ;doc:balance: consolidated --related/-r doc 2024-02-29 18:14:52 -10:00
Simon Michael
39a0a4d08a ;doc:journal:valuation: cleanups 2024-02-29 18:00:10 -10:00
Simon Michael
24571f99e0 ;doc:journal: drop redundant/wrong Querying with cost or value section 2024-02-29 17:48:22 -10:00
Simon Michael
1a7523d16e ;doc:journal: move complex discussion of other lot notations later 2024-02-29 17:09:09 -10:00
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
3ec432bd53 dev: rename/improve amountSetFullPrecisionUpTo, add mixedAmountSetFullPrecisionUpTo 2024-02-29 12:31:07 -10:00
Jonathan Dowland
8b14022d97 ;test:import: update matchgroup functest for #2158
Also re-format the comments. Some of the comments within the conditional
blocks were actually being parsed as case-insensitive regexes to match
against each record. Luckily this didn't impact the results.

Signed-off-by: Jonathan Dowland <jon@dow.land>
2024-02-29 21:44:38 +00: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
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
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
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
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
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
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
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
9f53e36904 ;imp: close: --assert: make default description "assert balances" 2024-02-20 20:55:27 -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
3f6c400ddb ;doc:journal:description/payee/note: clarify 2024-02-18 14:57:41 -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
Simon Michael
876bbf10a0 ;doc:journal:account directive: edits 2024-02-14 15:53:15 -10:00
Simon Michael
de8df9f861 ;doc: journal: account directive: edits 2024-02-14 15:45:16 -10:00
Simon Michael
a7cbef0f51 ;doc: journal: account display order: clarify 2024-02-14 15:03:28 -10:00
Simon Michael
d78a37eeda ;doc: journal: account display order: clarify 2024-02-14 14:19:38 -10:00
Simon Michael
f4a8823cf3 ;doc: journal: account display order: clarify 2024-02-14 14:11:44 -10:00
Simon Michael
2de3e6e2dc ;doc:Data formats: clarify a little [#2164] 2024-02-08 07:01:14 -10:00
Simon Michael
e9dd01a7db imp:close:--assert/--retain: no tag value; rename --assert's tag to assert: 2024-02-08 06:47:46 -10:00
Michael Rees
d4ecdb3fea imp: Support tsv and ssv prefixes (#2164) 2024-02-08 06:44:44 -10:00
Simon Michael
aa69eb188a ;doc: update changelogs 2024-01-28 02:34:54 -10:00
Simon Michael
13baabb880 ;doc: update command help 2024-01-26 22:49:21 -10:00
Simon Michael
32ef1e3dd9 ;doc: update manuals 2024-01-26 22:49:07 -10:00
Simon Michael
54c60b4de9 imp: balance assertions error: clarify wording 2024-01-23 22:18:34 -10:00
Simon Michael
e694e7869d fix: check mixed-cost balances correctly again; cleanup (#2150)
The code is a bit clearer, and it no longer discards amounts other
than the first when the running balance contains multiple costs.
(This bug was exposed by the fix for #2039).
2024-01-23 21:35:07 -10:00
Simon Michael
df79aa5e35 dev: distinguish oneLineFmt and oneLineNoCostFmt; add fullZeroFmt 2024-01-23 21:35:06 -10:00
Simon Michael
0cb382cf0e dev: rename AmountDisplayOpts -> AmountFormat, and related constants
noColour          -> defaultFmt
noCost            -> noCostFmt
oneLine           -> oneLineFmt
csvDisplay        -> machineFmt
2024-01-23 21:35:06 -10:00
Simon Michael
ca55c2f0f8 dev: rename other Price helpers to Cost
showAmountWithoutPrice             -> showAmountWithoutCost
mixedAmountStripPrices             -> mixedAmountStripCosts
showMixedAmountWithoutPrice        -> showMixedAmountWithoutCost
showMixedAmountOneLineWithoutPrice -> showMixedAmountOneLineWithoutCost
2024-01-23 21:35:06 -10:00
Simon Michael
323f87b3e9 dev: Amount: aprice -> acost
Acked-by: Simon Michael <simon@joyful.com>
2024-01-23 21:35:06 -10:00
Simon Michael
8102bd9c2b dev: AmountPrice,UnitPrice,TotalPrice -> AmountCost,UnitCost,TotalCost; related renames 2024-01-23 21:35:06 -10:00
Simon Michael
e201775e93 dev: amountStripPrices -> amountStripCost 2024-01-23 21:35:06 -10:00
Simon Michael
ac47ea4a0e imp:balance assertion error message: make it clearer, show diff again 2024-01-21 15:02:51 -10:00
Simon Michael
6091f583dc fix: import: --catchup works again [#2156] 2024-01-21 12:33:15 -10:00
Simon Michael
41711d8ab5 fix:--anon: now hidden, gives an error, still usable as --obfuscate [#2133] 2024-01-21 11:59:11 -10:00
Simon Michael
0cdc012fd9 dev:journalTransform: cleanup 2024-01-21 10:25:55 -10:00
Simon Michael
f3073990cc imp:close: infer a default tag value by incrementing current file name [#2151] 2024-01-21 02:30:33 -10:00
Simon Michael
c2ce1c2037 imp:close: add tags, with optional custom value, for easier matching/exclusion [#2151]
They are `balances:` for assertion transactions,
`retain:` for retained earnings transactions,
and `start` for opening/closing transactions.

And some --help cleanups.
2024-01-21 01:44:14 -10:00
Simon Michael
29ac554765 ;doc:tags: discuss tag names, list reserved ones 2024-01-21 01:25:54 -10:00
Simon Michael
f53f3a0194 dev:close: refactor 2024-01-20 21:53:46 -10:00
Simon Michael
15b4f9e8d2 ;doc:close: layout 2024-01-20 16:18:25 -10:00
Simon Michael
4b1410c4b5 ;doc:close: fix link 2024-01-20 16:14:35 -10:00
Simon Michael
5d073e16e3 ;doc:close: edits 2024-01-20 16:07:00 -10:00
Simon Michael
6b5b467cce doc:close: edits 2024-01-20 15:43:46 -10:00
Simon Michael
e61c9bad10 ;examples:multi-year: how to show year-end balances in closed files [#2151] 2024-01-20 15:42:38 -10:00
Simon Michael
785206ee94 ;doc:close: rewrite again; and give a better excluding technique [#2151] 2024-01-20 15:42:38 -10:00
Simon Michael
cd72c62858 imp:close: exclude E by default; and always exclude the balancing account [#2151]
The first of some changes discussed on the issue. A more useful default ?
2024-01-20 15:42:38 -10:00
hamzashezad
6afff58fb8 ;doc: add version annotations for features in 1.32
- match groups and match negations
- beancount output format
- tsv output format
- consistently add annotation
- `--round` for print
2024-01-17 00:12:57 -10:00
Simon Michael
6461839e33 ;doc:journal:tags: edit 2024-01-15 10:54:26 -10:00
Simon Michael
eb6d038090 ;doc:journal:tags: clarify multiple tags 2024-01-15 10:47:17 -10:00
Simon Michael
0a54f6313c ;doc: more links to Amount formatting, parseability [#2152] 2024-01-15 06:37:39 -10:00
Simon Michael
c92a0852f8 ;doc: update manuals 2024-01-12 13:56:01 -10:00
Simon Michael
d064b12898 ;doc: update command help 2024-01-12 13:55:49 -10:00
Simon Michael
584ab748d5 ;doc:manuals: remove all "experimental" annotations for now, 2 2024-01-12 13:55:39 -10:00
Simon Michael
352b0bc1b5 ;doc: update manuals 2024-01-12 13:52:11 -10:00
Simon Michael
ebda894b23 ;doc: update command help 2024-01-12 13:52:00 -10:00
Simon Michael
ea99aa9dfb ;doc:manuals: remove all "experimental" annotations for now 2024-01-12 13:47:30 -10:00
Simon Michael
76209d5765 ;doc:forecasting: drop unnecessary reference to budgeting 2024-01-09 09:36:27 -10:00
Simon Michael
80e4428e77 ;doc:close: improvements 2024-01-06 18:42:46 -10:00
Simon Michael
50441dae04 ;doc:close: improvements 2024-01-06 18:26:53 -10:00
Simon Michael
59999e4ada enh:close: add --assert and --assign modes, generating assertions or assignments 2024-01-06 10:26:33 -10:00
Simon Michael
529d930b5a fix:add: rethink adding default commodity symbol; fix doc instead (part 2) [#815] 2024-01-04 21:13:40 -10:00
Simon Michael
62e3ec9b34 ;doc:journal:balance assignments: price -> cost 2024-01-04 20:51:48 -10:00
Simon Michael
9ccc1d3fa5 fix:add,import,web: really avoid filenames ending with . on Windows [#1056]
On MS Windows, trying to add or import or web add to a file whose name
ends with a dot could cause data loss, so in 2019 I made this raise an
error instead (in Hledger.Read.ensureJournalFileExists).

But, the logic was backward, so it did not do the check on Windows.
Now it does.

Also I have removed mention of this from add's doc; currently it's
not documented anywhere. It's obscure, but maybe this is not ideal.
2024-01-04 17:35:22 -10:00
Simon Michael
d462611d6a fix:add: rethink adding default commodity symbol; fix doc instead [#815] 2024-01-04 17:33:05 -10:00
Simon Michael
034d37c3be fix👿stack: build with ghc 9.8, latest stackage nightly (part 2)
Fix the build with GHC < 9.8.

This reapplies commit 87600e5dd, this time with the correct description.
2024-01-04 17:33:02 -10:00
Simon Michael
d4a5361081 dev: Revert "fix:add: apply the D default commodity to bare numbers, per docs, 2 [#815]"
This reverts commit 87600e5dd, which had a wrong description.
2024-01-04 16:57:38 -10:00
Simon Michael
87600e5dd3 fix:add: apply the D default commodity to bare numbers, per docs, 2 [#815]
Avoid breaking GHC < 9.8.
2024-01-04 13:50:37 -10:00
Simon Michael
202aff6549 dev:add.test: convert to modern shelltest format 2024-01-04 13:37:13 -10:00
Simon Michael
1fcc8f1c89 fix:add: apply the D default commodity to bare numbers, per docs [#815] 2024-01-04 13:24:57 -10:00
Simon Michael
9f5f235198 ;doc:journal:auto postings: edit 2024-01-04 13:05:56 -10:00
Simon Michael
1f1cc58efc ;doc:journal:auto postings: clarify 2024-01-04 12:54:39 -10:00
Simon Michael
a0922a3866 ;cabal: update cabal files 2024-01-04 08:25:13 -10:00
Simon Michael
2a99b3d456 imp: stack: build with ghc 9.8, latest stackage nightly 2024-01-04 08:24:50 -10:00
Simon Michael
6d455e765c ;doc:changelogs: cleanup 2024-01-03 20:43:39 -10:00
Simon Michael
5b1281fc69 ;doc: update changelogs 2024-01-03 20:42:28 -10:00
Simon Michael
ea34562b4b ;doc: changelogs 2024-01-03 20:42:04 -10:00
Simon Michael
0a838bdd6c ;doc:changelogs: cleanup for easier merge 2024-01-03 20:41:36 -10:00
Simon Michael
1128927632 ;doc:changelogs: whitespace 2023-12-30 20:29:49 -10:00
Simon Michael
c825605721 ;doc:cli: html version: drop quick reference links 2023-12-29 19:52:12 -10:00
Simon Michael
a7b2c74d3b ;doc:journal:queries: edits 2023-12-27 14:39:17 -10:00
Simon Michael
bcf7ad9bf2 ;doc:journal: periodic txns, auto postings: edits 2023-12-27 08:41:55 -10:00
Simon Michael
1ac5237d54 ;doc:queries: edits 2023-12-24 10:56:20 -10:00
Simon Michael
d11158f53b ;doc:queries: edits 2023-12-24 10:03:43 -10:00
Simon Michael
0d7daffad8 ;doc:queries: edits 2023-12-24 10:00:42 -10:00
Simon Michael
8b45d4ba8c fix:csv: fix %FIELD interpolation in assignments using \n [#2134]
In field assignment values we now parse %FIELD references, \MATCHGROUP references
and "\n" newline markers more carefully, so all can coexist.
Parsing these values might be slower than before, but hopefully not noticeably so.
2023-12-23 19:25:34 -10:00
Simon Michael
6a2e30897f ;doc: clarify how auto postings work 2023-12-21 15:19:36 -10:00
Simon Michael
fccaf0d35a ;doc: update command help 2023-12-15 13:59:12 -10:00
Simon Michael
ac50d8c5a6 ;doc: update manuals 2023-12-15 13:59:02 -10:00
Simon Michael
fbd2fdef40 ;cabal: update cabal files 2023-12-14 08:58:02 -10:00
Simon Michael
a3290bfaeb pkg: allow megaparsec 9.6* 2023-12-14 08:57:42 -10:00
Simon Michael
122cd22bc6 ;doc:journal: balance assertions and *costs* 2023-12-12 18:09:28 -10:00
Simon Michael
aaf4a38161 fix:timedot: accept numbers beginning with a decimal point again [#2130] 2023-12-08 15:08:35 -10:00
Simon Michael
51224f6e27 fix: bal --budget --layout=tall was hiding commodity symbols
When reports want to render amounts without commmodity symbols,
they must now use AmountDisplayOpts' new displayCommodity flag.
(Previously it was a side effect of setting displayCommodityOrder.)
2023-12-08 05:52:29 -10:00
Simon Michael
0bc86c95e4 lib: Hledger.Data.Amount: noPrice -> noCost 2023-12-07 23:35:50 -10:00
Simon Michael
862b7e5712 dev: clarify AmountDisplayOpts, add a new flag for symbol display 2023-12-07 23:35:50 -10:00
Simon Michael
aa8c0e8279 ;doc:balance:budget report: tighten up 2023-12-07 23:35:50 -10:00
Simon Michael
c9764e82c9 ;doc:balance:budget report: trim some content
Moved "Budgets and subaccounts" to the cookbook's Budgeting page,
I think it's not needed in the reference manual.
2023-12-07 19:03:52 -10:00
Simon Michael
0526c834dd ;doc:balance:budget report: update/clean up 2023-12-07 18:48:26 -10:00
Simon Michael
9bad34c341 ;doc: changelogs 2023-12-07 11:36:39 -10:00
Simon Michael
1bd7e1bf48 ;doc: update manuals 2023-12-07 11:33:14 -10:00
Simon Michael
7ace5ee560 ;doc: changelogs for 1.32.1 2023-12-07 11:32:20 -10:00
Simon Michael
74cbbd152f ;doc: note that payee and tag can't have tags, unlike account 2023-12-07 09:04:48 -10:00
Simon Michael
6ae64c8f3e imp: allow declaring the empty payee name with "" (#2119) 2023-12-07 08:30:55 -10:00
Simon Michael
6a41ed9e64 imp: drop the "a difference of ..." line from balance assertion errors
Rationale:
To satisfy the recentassertions check I'm often filling in a bunch of
placeholder balance assertions, copy/pasting the correct amount from
the balance assertion failure messages. In this situation the
difference just repeats the amount in the line above, with opposite
sign, which makes it harder for me to interpret the message and to
copy-paste the right amount. And more generally I think showing the
difference isn't really necessary.
2023-12-07 07:58:52 -10:00
Simon Michael
1d29540a53 ;doc:csv:matchers: clarify, mention !/& limitation (#2088) 2023-12-07 07:58:52 -10:00
Simon Michael
22ac8d056d fix:print: pad/round amounts with inferred costs like the others (#2123) 2023-12-07 03:41:31 -10:00
Simon Michael
c6a580ff3b fix:import: save each file's latest dates, separately (#2125) 2023-12-07 03:41:31 -10:00
Simon Michael
d1635a55f8 lib: move readFileStrictly to Hledger.Utils.IO 2023-12-07 03:41:31 -10:00
Simon Michael
d831f48cb0 ;doc: update manuals 2023-12-02 09:09:53 -10:00
Simon Michael
ab313c49c7 ;cabal: update cabal files 2023-12-02 09:09:07 -10:00
Simon Michael
80d1da2db9 ;pkg: bump version to 1.32.99 2023-12-02 09:09:07 -10:00
Simon Michael
26f56e0a13 ;doc: changelogs: merge edits from release branch 2023-12-02 09:06:53 -10:00