Commit Graph

13801 Commits

Author SHA1 Message Date
Simon Michael
1d150549b2 ;dev: tests: be more robust when testing a "hledger-VER" executable 2025-05-13 10:48:16 -10:00
Simon Michael
87c7f61670 ;doc: Queries: discuss transaction vs posting queries; cleanups 2025-05-12 12:18:15 -10:00
Simon Michael
ee87ba7f5f ;doc: Commands: mention a few command names 2025-05-12 12:17:12 -10:00
Pranesh Prakash
00442a6440 Update nps.csv.sh 2025-05-11 05:31:22 -10:00
Simon Michael
59ff2a9542 ;doc: fix broken "Commodity display style" links [hledger_site/#132]
Followup to jbrains' fix in https://github.com/simonmichael/hledger_site/pull/132.
2025-05-10 10:43:28 -10:00
Simon Michael
9365084b06 ;dev: setup: notes 2025-05-09 15:39:06 -10:00
Simon Michael
39b04ba1cc ;doc: relnotes: fix hackage changelog links 2025-05-08 12:39:20 -10:00
Simon Michael
51fb6a97b7 ;dev: hie-stack.yaml: more HLS notes 2025-05-07 08:09:51 -10:00
Simon Michael
101cc126d3 ;bin: more consistent/memorable aliases 2025-05-05 17:51:41 -10:00
Simon Michael
ad14930116 ;dev: gitignore 2025-05-05 17:51:41 -10:00
Stephen Morgan
eda4c8dd62 dev: lib: Add NFData instances for Journal and subcomponents. 2025-05-02 08:30:38 -10:00
Stephen Morgan
468a3da1b7 dev: lib: Use strict data in Hledger.Data.Types.
This reduces memory usage and results in speedups in some commands.
2025-05-02 08:30:17 -10:00
Simon Michael
c24355e31f ;dev: assertions tests cleanup 2025-04-27 09:09:58 -10:00
Simon Michael
274751f48a ;doc: balance assertions and multiple files: clarify again, add tests 2025-04-27 09:05:25 -10:00
Simon Michael
330f3fccaa ;dev: rename assertions.test 2025-04-27 08:30:18 -10:00
Simon Michael
2371f677e5 imp:journal: include directive now allows a same-line comment 2025-04-27 08:30:18 -10:00
Simon Michael
dbf54facc2 ;examples: quickstart journal 2025-04-26 21:21:26 -10:00
samahri
4f9473240f cli: "balanced" check is enabled only with "check" command 2025-04-26 20:05:00 -10:00
Simon Michael
2e6bc32820 ;doc: account types: edits 2025-04-26 10:10:04 -10:00
Simon Michael
c46c448ff7 ;doc: Config files -> Config file 2025-04-26 09:49:24 -10:00
Simon Michael
b7466ed282 ;doc: account types: rewrite 2025-04-26 09:26:06 -10:00
Simon Michael
9a8c0b30b3 ;doc: clarify 2025-04-26 02:22:43 -10:00
Simon Michael
dca05e2542 ;doc: assertions and multiple files: edits 2025-04-25 18:25:12 -10:00
Simon Michael
3b4ab7d659 ;doc: balance assertions and multiple files: clarify 2025-04-25 18:20:40 -10:00
Simon Michael
9c6a0c0492 ;doc: ghnightly: use the --pre-release flag 2025-04-25 16:14:09 -10:00
Simon Michael
0298918be2 ;doc: setup 2025-04-25 16:14:03 -10:00
Simon Michael
bca4b39c58 lib: defaultJournalSafely: don't strip newline 2025-04-25 15:42:47 -10:00
Simon Michael
144489a418 imp: setup: improve output 2025-04-25 15:21:59 -10:00
Simon Michael
f0f048326e lib: defaultJournalSafely wasn't very safe; now catches error calls 2025-04-25 15:21:11 -10:00
Simon Michael
bf40d28c8b imp: config files (and maybe timedot files) no longer require a final newline 2025-04-25 13:59:18 -10:00
Simon Michael
8f46eca6ec imp:setup: improve output and logic; show strictness config 2025-04-25 13:58:36 -10:00
Simon Michael
45e449e97a imp:setup: show more green for ideal setups 2025-04-25 12:04:06 -10:00
Simon Michael
4a5b0d46b5 imp: setup v2, simpler implementation and shorter output
This one tests only with the currently running hledger, and requires being installed in PATH to show full info.
2025-04-25 11:53:57 -10:00
Simon Michael
78baaee6c5 lib: more version helpers, rename to HledgerBinaryInfo, silence warnings 2025-04-25 09:36:38 -10:00
Simon Michael
b0959cb23d lib:Hledger.Utils.IO: document some file reading utilities 2025-04-25 09:21:11 -10:00
Simon Michael
45d5fd7963 imp: show a clearer error message on unicode en/decoding failures [#73]
A very long-awaited improvement: for unicode exceptions, and I/O
exceptions which look like they were caused by a unicode error
(usually text decoding failure), our error message now includes
an explanation and advice on what to do.

Currently this uses the GHC.IO.Encoding API, which is not ideal:
"The API of this module is unstable and not meant to be consumed by
the general public. If you absolutely must depend on it, make sure to
use a tight upper bound, e.g., base < 4.X rather than base < 5,
because the interface can change rapidly without much warning."

Also it relies on scanning for patterns in GHC's various
unicode-related error messages, which may not be complete and could
change in future. To do: try the encoding package's IO helpers,
perhaps they give more specific exceptions.
2025-04-25 08:57:07 -10:00
Simon Michael
06cd0f9472 lib: exitOnExceptions -> exitOnError 2025-04-25 08:32:47 -10:00
Simon Michael
d1e4d00b8d lib: Cli,UI,WebOptions: export binaryinfo 2025-04-25 08:26:14 -10:00
Simon Michael
d3af9f0217 ;doc:check: edits 2025-04-24 11:27:28 -10:00
Simon Michael
d37000726d ;doc:check: edits 2025-04-24 11:13:29 -10:00
Simon Michael
650901901f ;doc:check: edits 2025-04-24 10:53:44 -10:00
Simon Michael
fea127fcb5 ;doc: note check-related bug in rawOptsToInputOpts [#2377] 2025-04-24 10:44:34 -10:00
Simon Michael
0d6023b812 ;doc:balance: edits 2025-04-24 09:59:27 -10:00
Simon Michael
78dfe72a92 ;tools: just nightlybin: force push 2025-04-23 22:50:34 -10:00
Simon Michael
8705b935de imp:setup: output tweaks 2025-04-23 22:50:19 -10:00
Simon Michael
b295cce796 ;doc: cleanup 2025-04-23 21:43:45 -10:00
Simon Michael
eec803f19b imp:setup: more setup tests; improve logic, output 2025-04-23 21:43:30 -10:00
Simon Michael
03589e294b lib: make getConf total; add getConf' 2025-04-23 21:43:30 -10:00
Simon Michael
036be45c50 lib: make parseYN(A) total; export findPager 2025-04-23 21:43:30 -10:00
Simon Michael
4788bd9e41 lib: journalCommoditiesUsed 2025-04-23 21:43:30 -10:00