Simon Michael
4b3abfd470
;imp: check: recentassertions: improve message readability
2024-07-16 22:12:41 +01:00
Simon Michael
40620666f8
imp: cli: rename --rules-file to --rules; tweak options help
...
For brevity, and consistency with --conf.
--rules-file remains supported, as a hidden option.
hledger's main mode now supports the hidden legacy flags,
as the command modes do.
2024-06-25 18:37:55 +01:00
Simon Michael
969b5a89d1
dev: comment parsing tests/refactoring, fix indented timedot comments
2024-06-25 18:37:54 +01:00
Simon Michael
713c3f4067
imp: TimedotReader: trace parsing at debug level 9
2024-06-25 18:37:54 +01:00
Simon Michael
6b24c09a58
feat: config file: ignore unsupported general options; refactor
2024-06-25 18:37:54 +01:00
Simon Michael
e1991be46f
feat: config file: add a real parser, support command-specific options
2024-06-25 18:37:54 +01:00
Simon Michael
4175dc50ac
;cabal: update cabal files
2024-06-25 18:37:54 +01:00
Simon Michael
f5c2ec681c
dev: refactor: merge Text.Megaparsec.Custom into Hledger.Utils.Parse
2024-06-25 18:37:54 +01:00
Simon Michael
07a4b21620
dev: refactor: move emptyorcommentlinep'; hlint
2024-06-25 18:37:54 +01:00
Simon Michael
6c47fa034a
;dev: update doctests for weekly headings change [ #2204 ]
2024-06-25 18:36:43 +01:00
Simon Michael
49c4ccd0b7
dev: Hledger.Utils.IO: fix hlint warnings
2024-06-25 07:45:27 +01:00
Victor Mihalache
60efd035f5
imp: abbreviate week naming for weekly reports
2024-06-14 09:37:32 +01:00
Simon Michael
1a242c1264
dev: refactor table rendering code
...
- Consolidate some table rendering helpers in Balance.hs
- Rename, document for clarity
- Extract parameters for controlling table borders
- hlint suggestions
2024-06-12 05:01:48 +01:00
Simon Michael
5b83e5c2f0
;dev: cleanup [ #2202 ]
2024-06-10 08:46:19 +01:00
Simon Michael
e89bea8563
fix: handle account type declarations in multiple files correctly [ #2202 ]
...
Tags and types declared in account directives in sibling files or
included files are now combined more carefully.
In particular, when merging two Journals into one,
- jdeclaredaccounttags and jdeclaredaccounttypes no longer lose information;
any duplicated/conflicting tag/type values are preserved.
- jaccounttypes now prefers the last type declared in case of
conflict, not the first.
2024-06-10 08:32:54 +01:00
Simon Michael
8d1ad8a3fe
lib: add journalDbg, for inspecting Journal fields
2024-06-10 08:26:58 +01:00
Simon Michael
0ccfc78844
;dev: cleanup
2024-06-07 06:32:52 -07:00
Simon Michael
4f0e07d024
;doc: changelogs: bump to latest commit
2024-06-01 14:14:24 -10:00
Simon Michael
8f24fad909
;doc: merge 1.34 release docs
2024-06-01 14:13:57 -10:00
Simon Michael
3f3672e999
;doc: update manuals
2024-06-01 13:30:47 -10:00
Simon Michael
d18c00e1ec
;cabal: update cabal files
2024-06-01 13:30:21 -10:00
Simon Michael
aec28842c7
;pkg: bump version to 1.34.99
2024-06-01 13:30:20 -10:00
Simon Michael
152b20413c
doc: update manuals
2024-05-29 15:32:19 -10:00
Simon Michael
1fe7e7af8c
imp: cli: --color now also accepts y or n, like --pretty
2024-05-29 09:37:20 -10:00
Simon Michael
605f8446e5
fix:pkg: fix a doctest failure with ghc 8.10
2024-05-17 15:08:26 -10:00
Simon Michael
e0f017f544
;dev: journalFinalise: doc update
2024-05-08 12:40:06 -10:00
Simon Michael
d817254290
;doc: update changelogs
2024-05-07 16:45:21 -10:00
Simon Michael
b7e5c05da2
imp: -I can now be overridden by -s or the check command
...
This enables a "relaxed" workflow where you delay balance assertions
checking until strict mode is turned on: always run hledger -I, and
add -s when you're ready.
2024-05-07 15:44:06 -10:00
Simon Michael
243a96b656
dev: clarify how readJournalFiles defers checks, and use a dedicated flag
2024-05-02 21:36:32 -10:00
Simon Michael
ea58a7ccd7
imp: check: check ordereddates before balance assertions, when both are enabled
2024-05-02 21:11:04 -10:00
Simon Michael
490a46fcd2
fix: journal: parse include directives with trailing whitespace
...
[https://github.com/adept/full-fledged-hledger/issues/29 ]
2024-05-02 07:26:12 -10:00
Simon Michael
2a659e18db
;doc: changelogs: 1.33.1
2024-05-02 00:46:15 -10:00
Simon Michael
02e242c9b1
;doc: update changelogs
2024-05-01 23:23:37 -10:00
Simon Michael
7525014c7d
;cabal: update cabal files
2024-05-01 23:04:18 -10:00
Simon Michael
8d62af8ae0
imp: Revert problematic process-1.6.19.0 bound, it seems not strictly needed [ #2149 ]
2024-05-01 23:04:08 -10:00
Simon Michael
929f050c43
;cabal: update cabal files
2024-05-01 16:21:13 -10:00
Simon Michael
96caa8f352
fix: detect ghc-debug support more accurately, checking hledger-lib also
2024-05-01 15:27:42 -10:00
Simon Michael
6796decb72
fix: show trailing decimal mark on cost amounts too, when needed
2024-05-01 14:17:46 -10:00
Simon Michael
d17b32c7eb
imp: cli,ui,web: support ghc-debug for analysing memory/profile info
...
When built with the ghcdebug flag and started with --debug=-1 (or -2
to pause at startup, or -3 to pause before exit), hledger can be
controlled by ghc-debug clients like ghc-debug-brick or a custom
ghc-debug query script.
Also, refactor version string code.
2024-05-01 13:43:04 -10:00
Simon Michael
55401282a0
imp: run checks in a well-defined order; and tweak that order
...
Now commodities are checked before accounts, and tags before recentassertions.
Also some check doc cleanups.
2024-04-26 18:59:45 -10:00
Simon Michael
4cbf72ab1f
imp!: check ordereddates: drop --date2 support; check primary dates only
...
date2 is a deprecated feature and was getting in the way, so has been dropped
from the ordereddates check, simplifying it.
2024-04-26 18:59:45 -10:00
Simon Michael
afe9e2c6f4
dev: move journalCheckBalanceAssertions to JournalChecks
2024-04-26 18:59:45 -10:00
Simon Michael
1c5fd0c6a3
;doc: update changelogs
2024-04-26 17:09:17 -10:00
Simon Michael
27d5f14553
;doc: changelogs: 1.33: fix issue links (using md-issue-refs.el)
2024-04-22 15:58:05 -10:00
Simon Michael
4ae62a1833
;doc: update manuals
2024-04-18 13:35:28 -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
dc8eedc16b
;cabal: update cabal files
2024-04-11 11:15:41 -10:00