Commit Graph

2618 Commits

Author SHA1 Message Date
Simon Michael
d8cce23b3f ;doc: changelogs: link 1.26 issues 2022-06-05 00:03:22 +01:00
Simon Michael
122620c335 ;doc: changelogs 2022-06-05 00:03:12 +01:00
Simon Michael
729a8b81e0 ;doc: update changelogs 2022-06-05 00:03:10 +01:00
Simon Michael
9833482c06 ;doc: update manuals 2022-06-05 00:02:59 +01:00
Simon Michael
d27a581e0f ;doc: update changelogs 2022-06-04 11:28:59 +01:00
Stephen Morgan
9155d679fe fix!: Revert "fix!: utf-8: Use with-utf8 to ensure all files are read and written with utf8 encoding. (#1619)"
This reverts commit e233f001c5.

This would break at least some people's workflow. A lighter touch is
probably sufficient.
2022-06-01 09:35:18 +10:00
Simon Michael
1085a2a777 ;doc: update changelogs 2022-05-29 08:05:33 -10:00
Simon Michael
2bce910904 ;doc: update manuals 2022-05-25 11:35:47 -10:00
Simon Michael
6b174ae8a5 ;doc: csv: update link 2022-05-25 11:35:33 -10:00
Simon Michael
2d581d7d4d ;doc: update CLI usage texts 2022-05-23 05:42:27 -10:00
Simon Michael
52210cd114 ;doc: clarify 1.25 changelog about cash account detection 2022-05-23 05:40:01 -10:00
Simon Michael
43c0ca06c5 doc: cf: update cash account inference description for 1.25 2022-05-23 05:28:27 -10:00
Simon Michael
307f723b0a lib: simpler, more consistent names for check functions
API changes:
journalCheckAccountsDeclared
journalCheckCommoditiesDeclared
journalCheckPayeesDeclared
->
journalCheckAccounts
journalCheckCommodities
journalCheckPayees
2022-05-21 18:29:13 -10:00
Simon Michael
65e913b7c5
Merge pull request #1834 from Xitian9/utf8
Use with-utf8 and don't use Data.Text.IO.
2022-05-21 17:50:59 -10:00
Stephen Morgan
e233f001c5 fix!: utf-8: Use with-utf8 to ensure all files are read and written with utf8 encoding. (#1619)
May also fix #1154, #1033, #708, #536, #73: testing is needed.

This aims to solve all problems where misconfigured locales lead to
parsers failing on utf8-encoded data. This should hopefully avoid
encoding issues, but since it fundamentally alters how encoding is dealt
with it may lead to unexpected outcomes. Widespread testing on a number
of different platforms would be useful.
2022-05-22 13:12:19 +10:00
Stephen Morgan
15a5d5d38b
Merge pull request #1814 from Xitian9/csverror
imp: csv: Give an error if unable to substitute csv templates. (#1803)
2022-05-22 11:35:39 +10:00
Simon Michael
db26456e1c imp: consolidate ordereddates check under Hledger.Read.Checks too
And remove the last vestiges of older more complex behaviour.
ordereddates now always checks all transactions in each file,
unaffected by a query. (But still affected by --date2).
2022-05-09 00:05:39 -10:00
Simon Michael
810a868c88 ref: consolidate most checks under Hledger.Read.Checks
and error message helpers in Hledger.Read.Error.
2022-05-09 00:04:33 -10:00
Simon Michael
74da8b80b8 ;doc: hledger manual: fix help example 2022-05-05 22:59:44 -10:00
Simon Michael
ab62e44c5d ;doc: hledger manual: fix save frequently used options link 2022-05-05 22:42:16 -10:00
Simon Michael
d9d8a298ed ;dev: tests: errors: readme 2022-05-01 10:14:55 -10:00
Simon Michael
6f4a5830b2 dev: tests: errors: add missing test journal (#1436) 2022-04-25 02:56:59 -10:00
Simon Michael
a1c9aa4114 dev: tests: errors: update tests/readme (#1436) 2022-04-25 02:56:59 -10:00
Simon Michael
45981832a6 dev: tests: errors: generate more robust tests more robustly (#1436) 2022-04-25 02:56:59 -10:00
Simon Michael
1a08baccc4 doc: update errors status (#1436) 2022-04-25 02:56:59 -10:00
Simon Michael
a00dc04e0d imp: check: uniqueleafnames: use the standard error format (#1436)
Hledger.Read.Common:
export makePostingErrorExcerpt
2022-04-25 02:56:59 -10:00
Simon Michael
7e45ab338f imp: check: show column ranges properly (#1436) 2022-04-25 02:56:59 -10:00
Simon Michael
66d0beea5e imp: check: ordereddates: use the standard error format (#1436)
Hledger.Read.Common:
export makeTransactionErrorExcerpt
2022-04-25 02:56:59 -10:00
Simon Michael
1ff0f76524 cli: generate/update tests and readme from error test journals 2022-04-25 02:56:59 -10:00
Simon Michael
1130ad1abd doc: errors: update status (#1436) 2022-04-25 02:56:59 -10:00
Simon Michael
6ec0e05c42 imp: check: commodities: use the standard error format (#1436) 2022-04-25 02:56:59 -10:00
Simon Michael
cec1e8e3f1 doc: errors status update (#1436) 2022-04-25 02:56:59 -10:00
Simon Michael
f47d423a67 lib: error' now adds an Error: prefix 2022-04-25 02:56:59 -10:00
Simon Michael
0d232ed673 imp: check: exit with error' for consistent output 2022-04-25 02:56:59 -10:00
Jakob Schöttl
ae21ee5e00 Update bash completions 2022-04-17 14:48:09 -10:00
Simon Michael
183d8e6ef6 test: comment out failing test as intended
Fixes failing tests in master, which I had managed to merge because
of a ;-prefixed commit message.
2022-04-17 07:46:33 -10:00
Simon Michael
8801ee0085 ;doc: errors: update 2022-04-15 16:03:22 -10:00
Simon Michael
6b7bc064d7 ;doc: errors: update 2022-04-15 15:53:55 -10:00
Simon Michael
33d15df879 ;doc: errors: update 2022-04-15 15:49:03 -10:00
Simon Michael
3123fe873a ;bs: disabled test for an account type detection bug (#1858) 2022-04-15 15:30:24 -10:00
Simon Michael
5ee1e1d62f ;doc: fixups suggested by afm 2022-04-15 15:07:17 -10:00
Simon Michael
133c54434a ;doc: changelogs 2022-04-14 13:59:03 -10:00
Simon Michael
8de85be658 ;doc: update manuals 2022-04-14 12:39:18 -10:00
Simon Michael
9f8381426c ;doc: update CLI usage texts 2022-04-14 12:39:09 -10:00
Simon Michael
318ec0a701 doc: tags: move most docs after the flags, like some other commands 2022-04-14 12:37:13 -10:00
Simon Michael
5af224d534 fix: tags: also match accounts declared but not used (#1857)
By default, all account declarations and all transactions are searched;
but when there's a query involving transaction fields,
account declarations unrelated to the matched transactions are not searched.

added:
queryIsCode
queryIsTransactionRelated
2022-04-14 12:28:43 -10:00
Simon Michael
b82021e0b6 imp: accounts: demote --debug 1 output to a more appropriate 4 2022-04-14 10:58:31 -10:00
Simon Michael
7b4ab1e37a ref: tags test 2022-04-14 10:58:31 -10:00
Stephen Morgan
8cc59df513 fix: Ensure date2 is used for journal valuation if requested. (#1851) 2022-04-14 07:27:17 -10:00
Simon Michael
f48ef6db83 doc: wording 2022-04-10 11:02:29 -10:00