Commit Graph

13308 Commits

Author SHA1 Message Date
Simon Michael
43dd0cfc5d ;dev: cleanups 2024-12-07 08:50:34 -10:00
Simon Michael
917f03b828 ;doc: changelogs 2024-12-06 18:05:28 -10:00
Simon Michael
972a2a066b ;doc:beancount output: edits 2024-12-06 08:11:30 -10:00
Simon Michael
32182a05fc ;doc:beancount output: edits 2024-12-06 07:54:45 -10:00
Simon Michael
82fde8d2dc ;doc:query types: edits 2024-12-06 07:14:29 -10:00
Simon Michael
f148eec5fb ;doc:query types: edits 2024-12-06 07:13:03 -10:00
Simon Michael
85428d5cac ;doc:query types: updates, add headings, mention tag:'s infix matching 2024-12-06 07:04:05 -10:00
Simon Michael
1af6e9c51c ;tools: just: work around watchexec bug on mac 2024-12-06 07:03:45 -10:00
Simon Michael
f648903b37 imp:print:beancount: don't add account tags to postings
When print is generating beancount output, turn off the usual
inheritance of account tags by postings; it would generate excessive
metadata in the journal. Beancount can do or not do that kind of
inheritance itself.
2024-12-06 05:55:42 -10:00
Simon Michael
ff28aa329a imp:print:beancount: convert tags to BC metadata
Transaction and posting tags (and posting tags inherited from accounts)
are now converted safely to Beancount-compatible transaction and posting
metadata lines.
2024-12-06 05:55:42 -10:00
Simon Michael
17332c75f9 imp:print:beancount: generate operating_currency directives from cost currencies 2024-12-06 05:55:42 -10:00
Simon Michael
f5e97e2f92 ;doc:output:beancount: updates 2024-12-06 05:55:42 -10:00
Simon Michael
b4f4374dfa imp:print:beancount: remove redundant conversion postings automatically 2024-12-06 05:55:42 -10:00
Simon Michael
d925c8a042 imp:print:beancount: add a second account name part if needed
Beancount requires account names to have at least two parts.
2024-12-06 05:55:42 -10:00
Simon Michael
6e3dfd6703 imp:print:beancount: remove virtual postings automatically 2024-12-06 05:55:42 -10:00
Simon Michael
b68ebc221b ;tools: just branches/v 2024-12-06 05:55:42 -10:00
Simon Michael
1048791810 imp:csv: ignore whitespace, show error position when reading .latest files 2024-12-05 16:35:18 -10:00
Simon Michael
d3ce054789 ;tools: just branches: show recent branches/commits with jj 2024-12-05 09:04:09 -10:00
Simon Michael
29349458b3 imp:csv:if: go back to accepting unknown csv field names [#2289]
It makes life easier when reusing common rules with different CSVs.
2024-12-04 17:45:28 -10:00
Simon Michael
99fc4cd61f imp:csv:if: show the problematic field name when warning 2024-12-04 16:47:01 -10:00
Simon Michael
9696677c5d ;doc: depth: note version 2024-12-04 10:33:23 -10:00
Simon Michael
8c72d5e14e ;doc:RELEASING: fix link 2024-12-04 07:49:27 -10:00
Simon Michael
595243ea18 ;doc: LEDGER_FILE on Windows: copy improvements from hledger_site#119 2024-12-04 07:47:06 -10:00
Simon Michael
00beef6052 imp:csv:if: edits 2024-12-03 17:32:39 -10:00
Simon Michael
054a204aa0 imp:csv:if: support & ! (AND NOT) 2024-12-03 17:25:43 -10:00
Simon Michael
f73888d3b6 ;doc:csv:if: edits 2024-12-03 16:41:54 -10:00
Simon Michael
4708065fb4 pkg:stack: prefer ghc-9.10.1's lib versions, minimise build issues 2024-12-03 16:07:57 -10:00
Simon Michael
3d55f260b3 imp:csv:if: warn on invalid csv field names; improve doc [#2289] 2024-12-03 16:07:57 -10:00
Simon Michael
05ae105b42 dev: Hledger.Utils.IO: warn 2024-12-03 16:07:54 -10:00
Simon Michael
a47dce073d dev:csv: refactor/document isBlockActive, matcherMatches 2024-12-03 13:51:32 -10:00
Simon Michael
1010e3dee6 imp:csv: improve debug=7 output from isBlockActive 2024-12-03 10:45:16 -10:00
Simon Michael
786f5dd72a ;pkg:ui: allow brick 2.5, 2.6 2024-12-03 09:29:15 -10:00
Simon Michael
81d20ecaf8 ;tools: revert to ghc 9.8.2 for now
running these with ghc 9.10 is awkward
2024-12-03 09:13:14 -10:00
Simon Michael
2b07301a4f tools: just help: improvements 2024-12-03 09:00:27 -10:00
Simon Michael
fd9c64a4ad pkg: allow megaparsec 9.7 [stackage#7585] 2024-12-03 08:46:29 -10:00
Simon Michael
e44a2207d8 ;pkg:stack: note unix issue 2024-12-03 08:33:44 -10:00
Stephen Morgan
73fd60b2b0 ;imp: doc: Document new regular expression limited depth. 2024-12-03 08:33:21 -10:00
Stephen Morgan
7168f7efc4 imp: ui: Use new DepthSpec in hledger-ui.
The regular expression depths are ignored, and only the flat depths are
used.
2024-12-03 08:33:21 -10:00
Stephen Morgan
74f0f37fb3 imp: queries: Allow regular expression depth queries
Previously depth-limiting was universal across all accounts, e.g. all
accounts are clipped to depth 2. However, sometimes you want certain
accounts clipped to a different depth than others, e.g. all expenses to
depth 3, while all assets to depth 2. This commit enables depth-limiting
to optionally include a regular expression, which limits the accounts it
applies to.

More than one depth limit can be passed, and they are applied to each
account name by the following rules:
- If one or more regular-expression depth limit applies, use the
  most specific one
- If no regular-expression depth limits apply, and a flat depth limit is
  supplied, use that
- Otherwise, do not do any depth limiting

For example, this will clip all accounts matching "assets" to depth 3,
all accounts matching "expenses" to depth 2, and all other accounts to
depth 1.
--depth assets=3 --depth expenses=2 --depth 1
2024-12-03 08:33:21 -10:00
Simon Michael
436b2ab3fb pkg:stack: try to avoid a doctest>unix link failure
("multiple definition of __hsunix_get_environ")
2024-12-02 23:40:34 -10:00
Simon Michael
735beb96a7 imp:valuation: more compact and informative --debug=2 output [#2287]
Market prices are now shown using one line each,
the known prices are listed (forward / forward+reverse),
and the status of --infer-market-prices is shown.
2024-12-02 23:00:00 -10:00
Simon Michael
e80debe4c9 ;ci:linux: work around yesod-core/wai-extra bound issue
https://github.com/commercialhaskell/stackage/issues/7570
2024-12-02 21:07:34 -10:00
Simon Michael
784a95de29 ;ci: mac, windows: fix time dep 2024-12-02 20:41:25 -10:00
Simon Michael
84254ca2b8 ;ci: windows: explicit time dep required 2024-12-02 17:40:29 -10:00
Simon Michael
f17ed111b6 ;ci: linux, mac: ghc 9.8.2 -> 9.8.4 2024-12-02 17:18:58 -10:00
Simon Michael
645da4a74f ;pkg: bump to latest stackage snapshot 2024-12-02 17:13:28 -10:00
Simon Michael
b9100f3471 ;tools: just relbin: assume "origin" remote name 2024-12-02 16:45:26 -10:00
Simon Michael
909a903137 ;doc:ui: mention that period navigation uses standard periods [#2293] 2024-12-01 15:08:45 -10:00
Simon Michael
f345c6c8d9 ;doc:import: more edits 2024-12-01 11:22:10 -10:00
Simon Michael
d16efeb26a ;doc:import: edit 2024-11-30 09:25:02 -08:00