Commit Graph

2980 Commits

Author SHA1 Message Date
Simon Michael
15646ab999 ;dev: convert ledger compat tests to individual shell tests
Also comment ledger's tests more robustly,
and log as an org outline.
2022-12-18 11:50:15 -10:00
Simon Michael
7195cebbb0 ;dev: cli: ledger-compat: ignore tests expecting failure 2022-12-18 08:32:27 -10:00
Simon Michael
b20c3e1036 ;doc: cli: add a BC anchor for #transaction-prices 2022-12-18 07:54:08 -10:00
Simon Michael
ccb553197f ;dev: cli: ledger tests: replace runner with shelltest 2022-12-18 01:33:38 -10:00
Simon Michael
688c56aa90 ;dev: cli: ledger tests: runner improvements 2022-12-18 01:33:10 -10:00
Simon Michael
470e906e97 ;dev: cli: ledger tests: summary, failures 2022-12-18 01:33:10 -10:00
Simon Michael
1b56687708 ;dev: cli: ledger tests: move test runner up, start collected tests 2022-12-18 01:33:10 -10:00
Simon Michael
370948a357 ;dev: cli: ledger tests: add a test runner 2022-12-18 01:33:10 -10:00
Simon Michael
5cc0080776 ;dev: cli: ledger tests: snapshot of ledger regress tests' data 2022-12-18 01:33:10 -10:00
Simon Michael
caffb22320 ;dev: cli: a snapshot of ledger's baseline functional tests' data
;dev: cli: ledger tests: comment out all but the sample data
2022-12-18 01:33:04 -10:00
Simon Michael
faa5f00f1a ;doc: cli: more guidance on comments 2022-12-17 07:53:58 -10:00
Simon Michael
40df381cb2 ;doc: cli: better directives quick link 2022-12-17 07:23:38 -10:00
Simon Michael
331b419c97 ;doc: cli: improve Directives summaries 2022-12-16 12:48:42 -10:00
Simon Michael
f6c865bbab ;doc: cli: introduction improvements 2022-12-14 12:23:44 -10:00
Simon Michael
43023d3d86 ;doc: some changes to hledger and input files description macros 2022-12-14 12:23:10 -10:00
Simon Michael
5a8e63d24d ;fix: bal: add missing --layout=tidy to help 2022-12-14 12:21:35 -10:00
Simon Michael
e819e02372 ;doc: bal: more balance doc cleanups 2022-12-14 09:03:55 -10:00
Simon Michael
36a20b7dfd ;doc: update manuals 2022-12-14 07:53:09 -10:00
Simon Michael
cf607adfcf ;doc: update CLI usage texts 2022-12-14 07:53:03 -10:00
Simon Michael
2ba91b1195 ;doc: bal: clean up/reorder balance command doc 2022-12-14 07:52:53 -10:00
Simon Michael
2902769616 ;doc: cli, bal: cleanups 2022-12-14 06:36:28 -10:00
Simon Michael
919c6c1a57 ;doc: cli: fix duplicate market prices heading breaking info navigation 2022-12-14 06:36:04 -10:00
Simon Michael
7d4cdb4333 ;doc: cli: why are we shouting ? we don't need to shout so much 2022-12-14 06:08:06 -10:00
Simon Michael
64d29a3e68 doc: cli: document --infer-market-prices with signed costs (#1870) 2022-12-13 21:09:00 -10:00
Simon Michael
ea85faf0f0 dev: tests demonstrating signed costs and market price inference (#1870) 2022-12-13 20:56:51 -10:00
Simon Michael
e9064ac4d2 ;doc: cli: move file formats up for better sequencing
CONCEPTS -> REPORTING CONCEPTS
COST -> COST REPORTING
2022-12-13 06:34:17 -10:00
Simon Michael
96bbe4b24e ;doc: cli: cost tweaks 2022-12-13 05:46:30 -10:00
Simon Michael
260cfe4637 ;doc: cli: more mention of posting order effect on inferring cost (#1959) 2022-12-13 05:37:44 -10:00
Simon Michael
824aa77d49 ;doc: cli: reassurance 2022-12-11 15:49:35 -10:00
Simon Michael
600e263a9a ;doc: cli, ui, web: consistent boilerplate 2022-12-11 15:44:09 -10:00
Simon Michael
abab1a23e3 ;doc: cli, ui, web: fix some links 2022-12-11 15:22:46 -10:00
Simon Michael
de26e6b855 ;doc: cli: fix commands quick linke 2022-12-11 13:31:59 -10:00
Simon Michael
56d7b5f808 ;doc: cli: cleanup 2022-12-11 13:23:56 -10:00
Simon Michael
87e372e38d ;doc: cli: update market price inference docs per sol 2022-12-11 09:52:17 -10:00
Simon Michael
c5b6b74a53 ;doc: cli: csv cleanups 2022-12-11 03:04:25 -10:00
Simon Michael
89d5f973f4 ;doc: cli: csv cleanups 2022-12-11 02:46:32 -10:00
Simon Michael
38f792677d ;doc: cli: move sections 2022-12-11 02:31:15 -10:00
Simon Michael
cb67c6b990 ;doc: cli: move budgeting, forecasting to CONCEPTS 2022-12-11 02:29:03 -10:00
Simon Michael
434d3b6ec4 ;doc: cli: flatten, clean up CSV sections 2022-12-11 02:15:03 -10:00
Simon Michael
985c15f039 ;doc: cli: clean up/rename directives sections 2022-12-11 01:59:26 -10:00
Simon Michael
fc5d1414f9 ;doc: cli: fix comment links, drop old doc 2022-12-11 01:24:10 -10:00
Simon Michael
a06b6219d5 ;doc: cli: fix link 2022-12-10 22:05:15 -10:00
Simon Michael
d2f154d966 ;doc: cli: other cost notation updates 2022-12-10 22:00:45 -10:00
Simon Michael
42659146af ;doc: cli: Beancount cost notation docs, improvements 2022-12-10 21:44:06 -10:00
Simon Michael
f0d2ec793c ;doc: cli: move stuff, split up journal comment docs 2022-12-10 20:20:22 -10:00
Simon Michael
52bb52712f ;doc: cli: new Ledger cost notation docs 2022-12-10 19:53:49 -10:00
Simon Michael
ace185f7d2 ;doc: update old manual links 2022-12-10 18:56:47 -10:00
Simon Michael
474ad22b94 ;doc: officially rename "transaction prices" to "costs" in docs
(though not in code)
2022-12-10 18:50:45 -10:00
Simon Michael
6310df590d ;doc: cli: fix typo 2022-12-10 15:42:58 -10:00
Simon Michael
20b17a9108 ;doc: cli: move a few more things around 2022-12-10 15:29:30 -10:00
Simon Michael
dabcee45f1 ;doc: cli: intro/input/output cleanup 2022-12-10 14:23:59 -10:00
Simon Michael
cd0eb0fe91 ;doc: cli: more standard man page start, more useful first info page
And NAME and SYNOPSIS are now included in the web manuals, that's ok.
2022-12-10 12:17:22 -10:00
Simon Michael
83e6cb615f ;doc: chunk hledger manual into parts, discuss formats before commands 2022-12-10 11:31:53 -10:00
Simon Michael
3698f8cf90 fix: balcmds: the table layout in HTML output with --layout=bare 2022-12-10 10:22:26 -10:00
Simon Michael
016b7759f4 ;doc: virtual postings: improve wording
per Robert Nielsen
2022-12-09 09:14:05 -10:00
Simon Michael
c4165c9a73 ;doc: cost: fix transaction prices link 2022-12-09 08:06:11 -10:00
Simon Michael
2eadd2497b ;doc: codes: improve example
suggested by Rob Nielsen
2022-12-09 07:57:10 -10:00
Simon Michael
7bfdc2d67f ;doc: cli: move PIVOTING up, update 2022-12-08 20:42:27 -10:00
Simon Michael
b50d60cfea ;doc: csv, timeclock, timedot: clarify comment lines (#1953) 2022-12-06 10:38:50 -10:00
Simon Michael
b81e358163 ;doc: comments, tags: move down, improve sequencing 2022-12-06 10:10:49 -10:00
Simon Michael
b14f68d4d8 ;doc: tags: mention querying 2022-12-06 09:28:13 -10:00
Simon Michael
020f1d446c ;doc: tags: more updates, fixes 2022-12-06 09:07:27 -10:00
Simon Michael
e72350ae75 ;doc: tags: discuss multi-values/overriding (#1950) 2022-12-06 08:15:06 -10:00
Simon Michael
99e8eb9a53 ;doc: tags: fix/clarify 2022-12-06 07:10:23 -10:00
Simon Michael
f3b0a1f513 ;doc: update manuals 2022-12-01 12:24:23 -08:00
Simon Michael
a5b4d80e24 ;doc: update CLI usage texts 2022-12-01 12:24:12 -08:00
Simon Michael
8da21f1195 ;cabal: update cabal files 2022-12-01 12:23:10 -08:00
Simon Michael
740ea50e4c ;pkg: bump version to 1.28.99 2022-12-01 12:23:10 -08:00
Simon Michael
cbbfb82474 doc: 1.28 changelog headings 2022-12-01 12:21:09 -08:00
Simon Michael
fa8f6ae302 lib: Debug: breakpoint doesn't support windows yet, drop for now 2022-12-01 12:20:29 -08:00
Simon Michael
dedb331845 imp: --version strings no longer show + for dirty repos as it's buggy 2022-12-01 12:20:23 -08:00
Simon Michael
a929f8ec8a dev: Cli: cleanup 2022-12-01 12:20:19 -08:00
Simon Michael
d76e47b586 ;doc: update changelogs 2022-11-30 17:13:09 -05:00
Felix Yan
66b51472f2 Allow megaparsec 9.3
Builds fine and all tests pass.
2022-11-30 05:12:04 -05:00
Simon Michael
5283c280bf ;cabal: update cabal files 2022-11-26 00:13:02 -05:00
Simon Michael
3a6955d3e2 dev: add stack9.4.yaml for building with latest nightly/ghc 9.4.3 2022-11-25 23:45:17 -05:00
Simon Michael
d5682aa644 imp: print: --match now respects -o and -O 2022-11-24 19:50:47 -05:00
root
1591939074 ;doc: queries: fix formatting 2022-11-09 09:10:50 -10:00
Simon Michael
b67cb97fff ;doc: print: mention "fuzzy" for discoverability 2022-11-09 09:06:38 -10:00
Simon Michael
7997007dcf imp: print: a failed --match now returns a non-zero exit code 2022-11-09 08:56:48 -10:00
Simon Michael
e8302b0964 ;doc: cli: note the tricks for boolean queries 2022-11-09 08:27:17 -10:00
Simon Michael
892eb06396 ;dev: ui: replace "curses interface" with TUI 2022-11-07 16:48:54 -10:00
Simon Michael
06bc09a36f dev: comments 2022-11-06 07:59:45 -10:00
Simon Michael
80eb461063 ;doc: update manuals 2022-11-03 16:07:55 -10:00
Simon Michael
14c31cc23d ;cabal: update cabal files 2022-11-03 16:07:55 -10:00
Simon Michael
c25c5cef44 fix: make no-argument --debug flag work with ui & web also 2022-11-03 08:13:58 -10:00
Simon Michael
0bb83b5620 doc: cli: new "Debug output" section 2022-11-03 08:13:13 -10:00
Simon Michael
55dadce479 doc: cli: rename DATA FILES to INPUT, move OUTPUT below it 2022-11-03 08:13:13 -10:00
Simon Michael
a996078253 doc: cli: expand --debug help 2022-11-03 08:13:13 -10:00
Simon Michael
25003d36e1 dev: bump minimum githash version to 0.1.6.2 2022-11-03 08:10:45 -10:00
Simon Michael
3d26fc30eb ;doc: update changelogs 2022-10-31 13:18:36 -10:00
Simon Michael
603fae70c0 dev: lib: clean up/simplify debug helpers 2022-10-31 11:26:11 -10:00
Simon Michael
d5fa141176 ;doc: update CLI usage texts 2022-10-08 13:18:29 -10:00
Simon Michael
ca5847fc08 imp: accounts: clarify flag help; prioritise flags in order of help 2022-10-08 13:18:29 -10:00
Simon Michael
4ecc57461a imp: accounts: -u, -d 2022-10-08 08:22:10 -10:00
Simon Michael
b16a02b2e6 imp: accounts: --unused 2022-10-08 08:16:07 -10:00
Simon Michael
8f06cefab4 bin: hledger-move, helps make subaccount/cost-preserving transfers 2022-10-07 14:28:04 -10:00
Simon Michael
de7d0a38a2 ;doc: csv: clarify newest-first 2022-10-06 23:16:44 -10:00
Simon Michael
01387548e7 feat: csv: intra-day-reversed compensates when days' txns are reversed
As in eg vanguard CSV.
2022-10-06 22:21:55 -10:00
Simon Michael
360ef833ae ;doc: update CLI usage texts 2022-10-05 08:42:09 -10:00
Simon Michael
3e42851958 feat: accounts: add --undeclared and --find flags 2022-10-05 08:41:37 -10:00
Simon Michael
c0c14e53f1 ;doc: csv: fix timezone example 2022-10-01 17:09:52 -10:00
Simon Michael
928cc6d615 ;doc: update manuals 2022-10-01 16:09:26 -10:00
Simon Michael
ae8d297396 ;doc: update CLI usage texts 2022-10-01 16:09:16 -10:00
Simon Michael
3b24d9465b imp: csv: new timezone rule; convert zoned date-times to local dates (#1936)
Previously, CSV date-times with a different time zone from yours
(with or without explicit timezones in the CSV) could give off-by-one
dates, because the CSV timezone was ignored.

Now,

1. you can use the `timezone` rule to indicate which other
   timezone a CSV is implicitly using

2. CSV date-times with a timezone - whether declared by rule or
   parsed with %Z - are localised to the system time zone
   (or another set with the TZ environment variable).
2022-10-01 14:50:35 -10:00
Simon Michael
7d1b1cadce fix: add: doc: update tutorial link 2022-09-27 13:40:40 -10:00
Simon Michael
130604a2e0 ;cabal: update cabal files; migrate to hpack 0.35/stack 2.9 2022-09-19 18:23:26 -10:00
Simon Michael
a3c2e2c1ba doc: changelogs 2022-09-18 10:02:25 -10:00
Simon Michael
a2be9a0bce ;doc: update changelogs 2022-09-18 08:28:03 -10:00
Simon Michael
65019f72b4 dev: cli: tests: fix fragile abbreviation 2022-09-14 17:27:55 -10:00
Simon Michael
d4a1718690 fix: balcmds: fix empty html columns fix (#1933) 2022-09-14 17:25:18 -10:00
Simon Michael
b9d2aa7b54 fix: balcmds: handle an empty totals column in html output (#1933) 2022-09-14 16:56:28 -10:00
Simon Michael
13f3c3ed64 dev: cli: update balance.test to v3 format 2022-09-14 16:36:10 -10:00
Simon Michael
93ce75d756 imp: dev builds with uncommitted changes now show + in --version 2022-09-08 12:23:59 -10:00
Simon Michael
2ef6055516 doc: cli: changelog: fixes 2022-09-01 18:50:04 -07:00
Simon Michael
427005037e cabal: update cabal files 2022-09-01 18:37:57 -07:00
Simon Michael
e5bb4f0b66 ;pkg: bump version to 1.27.99 2022-09-01 18:37:40 -07:00
Simon Michael
38ce19847b doc: update changelogs 2022-09-01 18:36:39 -07:00
Simon Michael
7631d0efa0 ;doc: update manuals 2022-09-01 18:36:34 -07:00
Simon Michael
651d584bb0 ;doc: update changelogs 2022-09-01 15:48:46 -07:00
Simon Michael
7b383237d5 imp: doc: cli: rewrite/consolidate cost and conversion docs 2022-09-01 15:30:36 -07:00
Simon Michael
5deda67658 imp: add: update/improve invalid date message 2022-09-01 15:30:36 -07:00
Simon Michael
b46cb8a7f7 cabal: update cabal files 2022-08-23 12:16:25 +01:00
Simon Michael
c80c72d7cd dev: lib, cli, bin: enable/fix name shadowing warnings
And a few other cleanups.
2022-08-23 12:16:15 +01:00
Simon Michael
96db4fe9cc dev: ui: enable/fix name shadowing warnings 2022-08-23 02:57:59 +01:00
Simon Michael
a0e31091fc doc: update manuals 2022-08-23 02:02:47 +01:00
Simon Michael
8f65f8a096 ;doc: update CLI usage texts 2022-08-23 02:02:19 +01:00
Simon Michael
cbedfa86c7 doc: cli: account types: clarify 2022-08-23 02:02:19 +01:00
Simon Michael
e5578e5c4e ;cabal: update cabal files 2022-08-23 02:02:19 +01:00
Simon Michael
9584ebb439 imp: lib: Hledger.Utils.Debug: re-export Debug.Breakpoint
And add breakpoint as a dependency and enable its GHC plugin in all
the hledger packages, so that breakpoint's helpers can be used easily.
2022-08-23 02:02:19 +01:00
Simon Michael
6a4680d561 imp: pkg: drop support for GHC 8.6 and 8.8
Slightly motivated by a desire to depend on the new breakpoint
library, which requires GHC 8.10+. With GHC 9.0 in Debian,
it seems time to drop these.
2022-08-23 02:02:19 +01:00
Simon Michael
efa1879a11 ;doc: cli: help: more updates 2022-08-22 08:26:32 +01:00
Simon Michael
3f2fdf36b6 ;doc: update manuals 2022-08-22 08:21:39 +01:00
Simon Michael
61d2c047e1 ;doc: update CLI usage texts 2022-08-22 08:21:24 +01:00
Simon Michael
9d2c9bd85f ;doc: cli: help: more updates 2022-08-22 08:21:01 +01:00
Simon Michael
423f3bd155 ;doc: update manuals 2022-08-22 07:59:02 +01:00
Simon Michael
2d9b6b91b5 ;doc: update CLI usage texts 2022-08-22 07:58:41 +01:00
Simon Michael
8eb1e0883a ;doc: cli: help, common tasks: update 2022-08-22 07:45:23 +01:00
Stephen Morgan
c966a0f413 fix!: cbr: Remove old account type query code. (#1921)
This replaces the old journal*AccountQuery with the new Type query. This
enables uniform treatment of account type, and fixes a subtle bug
(#1921).

Note that cbcsubreportquery no longer takes Journal as an argument.
2022-08-21 08:27:51 +01:00
Simon Michael
5fd5cd5b85 imp: acc: --declarations -> --positions; add --directives
And tweak the layout of flags in --help.
2022-08-18 05:08:10 +01:00
Simon Michael
92e7d9200c ;doc: hledger: csv: fix link more (#1918) 2022-08-17 22:50:23 +01:00
Simon Michael
7fbec5d4b7 ;doc: hledger: csv: fix link (#1918) 2022-08-17 22:14:01 +01:00
Simon Michael
8ec31b079c imp: accounts: --declarations shows that info, not --debug (#1909) 2022-08-16 09:13:30 +01:00
Simon Michael
4be4525b90 dev: tests for multi-file account display order (#1909) 2022-08-16 09:13:30 +01:00
Simon Michael
035f2ac4bb imp: accounts: at --debug 2, show account declaration positions (#1909) 2022-08-16 09:13:30 +01:00
Simon Michael
3b34987bdd dev: accounts: clarifications 2022-08-04 19:01:11 +01:00
Simon Michael
4652400f17 ;doc: document account tags; account directive cleanups 2022-08-04 04:20:05 +01:00
Charlotte Van Petegem
75fc6767a9 fix: roi: make sure empty cashflows are skipped when determining first cashflow
Empty cashflows are added when the begin date of the report is before the first
transaction.
2022-08-03 18:16:42 +01:00
Simon Michael
7063eba13c fix: bal: budget goal amounts now respect -c styles (fixes #1907) 2022-08-03 17:43:04 +01:00
Simon Michael
0a43b4c624 dev: errors: make: don't pause when regenerating 2022-08-03 09:54:45 +01:00
Simon Michael
910b37abf8 fix: check: recentassertions: drop the cleared requirement (#1899)
It was causing trouble and complicating things too much.
I wanted it as another signal of being "caught up", but YAGNI.
2022-08-03 09:53:55 +01:00
Simon Michael
fa31612b55 ;cabal: update cabal files 2022-08-03 07:23:05 +01:00
Simon Michael
c025d228a1 doc: check: add more details about recentassertions 2022-08-01 06:53:04 +01:00
Simon Michael
2fc74b6eab dev: add recentassertions test, update assertions test 2022-08-01 06:53:04 +01:00
Simon Michael
1ed8c20978 feat: check recentassertions disallows assertion lag > 7 days
hledger check recentassertions (or flycheck-hledger if you enable this
check) will complain if any balance-asserted account does not have a
balance assertion within 7 days before its latest posting.  This aims
to prevent the situation where you are regularly updating your
journal, but forgetting to check your balances against the real world,
eventually requiring you to dig back through months of data to find
the error.
2022-08-01 06:53:04 +01:00
Simon Michael
5f11d3c52c pkg: cli: also update bounds in package.yaml (#1887) 2022-07-31 11:08:03 +01:00
ˌbodʲɪˈɡrʲim
c1f8b684ea hledger: bump lower bounds for Diff and githash
For earlier versions `cabal build -w ghc-9.2` fails with 
```
Hledger/Cli/Commands/Rewrite.hs:144:12: error:
    Not in scope: type constructor or class ‘D.Diff’
    Module ‘Data.Algorithm.Diff’ does not export ‘Diff’.
    |
144 | mapDiff :: D.Diff a -> DiffLine a
    |            ^^^^^^
```
and
```
Hledger/Cli.hs:49:37: error:
    • Couldn't match expected type: template-haskell-2.18.0.0:Language.Haskell.TH.Syntax.Code
                                      template-haskell-2.18.0.0:Language.Haskell.TH.Syntax.Q
                                      (Either String GitHash.GitInfo)
                  with actual type: template-haskell-2.18.0.0:Language.Haskell.TH.Syntax.Q
                                      (template-haskell-2.18.0.0:Language.Haskell.TH.Syntax.TExp
                                         (Either String GitHash.GitInfo))
    • In the expression: tGitInfoCwdTry
      In the Template Haskell splice $$tGitInfoCwdTry
      In the first argument of ‘versionStringWith’, namely
        ‘$$tGitInfoCwdTry’
   |
49 | versionString = versionStringWith $$tGitInfoCwdTry
   |
```
2022-07-31 10:57:28 +01:00
Simon Michael
85a0016e0a ;doc: manuals: hledger: journal format: fix differences link 2022-07-28 19:04:56 +01:00
Simon Michael
06c14ff034 ;doc: update manuals 2022-07-28 17:32:58 +01:00
Simon Michael
959bf0d989 ;doc: hledger manual: limitations: fix differences link 2022-07-28 17:25:09 +01:00
Simon Michael
439c1ac260 ;doc: manuals: add link for setting windows env vars 2022-07-26 09:44:07 +01:00
Simon Michael
a39cda6e02 ;doc: update manuals 2022-07-25 23:11:23 +01:00
Simon Michael
7b32b33dfb ;doc: workflows, hledger manual: fix support link (#1895) 2022-07-25 23:07:43 +01:00
Simon Michael
c21e8ebf21 ;doc: hledger: fix hledger-install link 2022-07-25 03:38:23 +01:00
Simon Michael
1c4f02cf03 ;doc: update manuals 2022-07-25 03:32:30 +01:00
Simon Michael
da2b8f5f34 ;doc: move add-ons list to manual > COMMANDS; cleanups 2022-07-25 03:31:05 +01:00
Simon Michael
54e1a8450e doc: clean up errors README, now published as hledger.org/ERRORS.html 2022-07-24 07:21:54 +01:00
Simon Michael
ed72763987 dev: errors: update functional tests 2022-07-23 02:40:29 +01:00
Simon Michael
147856e3bb imp: errors: timeclock, csv error improvements 2022-07-23 02:35:52 +01:00
Stephen Morgan
c54fb4d514 imp: cost: Allow matching equity conversion equity postings to
transaction prices.

When given --infer-costs, hledger will now separately infer transaction
prices for different prices. Given a pair of adjacent conversion
postings, hledger will check if there is a single posting with a
transaction price which matches both the amounts. If so, it associates
those conversion postings to that priced post.

If it can't find any transaction price postings which match, it will
find the first non-transaction price post which matches one of the two
amounts, and will add a transaction price to that, and associate them.
2022-07-15 12:32:38 +01:00
Stephen Morgan
07d1b01287 imp: cost: Allow inferring cost from conversion equity postings with --infer-costs.
When given --infer-equity, hledger will change transaction prices to balancing equity postings. This introduces the inverse operation, --infer-costs, which will match balancing equity postings and transform them into a transaction price, allowing --cost to work properly with them. This is only a partial inverse as it needs to use some heuristics to match the postings which will not work in complicated cases.

Specifically, when hledger finds exactly two conversion postings in a transaction (by default, subaccounts of equity:conversion or equity:trad(e|ing)), it will find the first posting in the transaction whose amount is negative one of the conversion posting amounts, and inserts the corresponding transaction price.
2022-07-15 12:32:38 +01:00
Simon Michael
41cd8c3e06 dev: errors: small csv error test fixes 2022-07-15 11:16:29 +01:00
Simon Michael
da2c544555 dev: errors: readme: reorder, link 2022-07-15 10:27:48 +01:00
Simon Michael
82c52c1318 dev: errors: readme: update hledger/flycheck versions 2022-07-15 10:13:11 +01:00
Simon Michael
62f8ac5e60 dev: errors: update readme with CSV errors 2022-07-15 10:03:25 +01:00
Simon Michael
8d9356583c dev: errors: stable test listing order 2022-07-15 10:03:02 +01:00
Simon Michael
f1e5d7aa30 dev: errors: examples and tests of current CSV errors 2022-07-15 10:02:40 +01:00
Simon Michael
d0a7154b4a dev: errors: test generation improvements 2022-07-15 10:02:24 +01:00
Simon Michael
90c41529ef dev: errors: update func tests 2022-07-15 07:45:56 +01:00
Simon Michael
78d5939c19 dev: errors: improve timeclock errors 2022-07-14 19:24:46 +01:00
Simon Michael
aeae7232ca dev: errors: update readme 2022-07-14 19:13:09 +01:00
Simon Michael
5ac8f11853 dev: errors: update tests & readme, now including timeclock test 2022-07-14 19:00:49 +01:00
Simon Michael
fc1621e647 dev: errors: improve error test generation 2022-07-14 18:59:58 +01:00
Simon Michael
32c7f6300b imp: errors: improve, test timeclock errors 2022-07-14 11:57:32 +01:00
Simon Michael
27142896b3 doc: errors: note limitations 2022-07-14 11:57:32 +01:00
Simon Michael
a7d84b5fec dev: errors: update readme 2022-07-13 18:59:53 +01:00
Simon Michael
a828c7b2b8 dev: errors: update examples in readme 2022-07-13 17:59:20 +01:00
Simon Michael
96cbc4697c dev: errors: update tests 2022-07-13 17:58:55 +01:00
Simon Michael
c22e9f6cc8 dev: HLEDGER selects the hledger version when running error tests 2022-07-13 17:43:21 +01:00
Simon Michael
ebec23f614 dev: generate more robust error message tests 2022-07-13 17:43:11 +01:00
Simon Michael
1c67d0860e imp: errors: more error prettification 2022-07-13 03:59:44 +01:00
Simon Michael
84f951e020 imp: errors: assertions, balanced: more consistent format
Move the unique text out of the first line and down to the
explanation.

Also, begin some general punctuation, capitalisation and wording
improvements.
2022-07-12 16:53:08 +01:00
Simon Michael
6fbcbf7c6b doc: update manuals 2022-07-12 16:01:33 +01:00
Simon Michael
9a34145569 ;doc: update CLI usage texts 2022-07-12 16:01:33 +01:00
Simon Michael
7068517f2c fix: bal: budget goals were ignoring rule-specified start date 2022-07-12 10:46:29 +01:00
Simon Michael
d7f30d4fdf ;cabal: update cabal files 2022-07-11 11:18:24 +01:00
Simon Michael
d9c6406d2d doc: changelogs: updates 2022-07-11 11:02:18 +01:00
Simon Michael
7be94cf500 doc: changelogs: sync from release branch 2022-07-11 11:00:16 +01:00
Simon Michael
797cac4fc6 pkg: require safe 0.3.19+ to avoid deprecation warning 2022-07-11 06:03:14 +01:00
Simon Michael
6b42514dbc fix: errors: doc 2022-07-10 13:39:33 +01:00