Stephen Morgan
ef5c220690
fix: balance: Clip account names in generateMultiBalanceAccount, not before ( #2434 )
...
Previously accounts were clipped in getPostings, however compound
balance reports re-use the output of getPostings for the different
subreports. This caused a problem when clipping erased the information
needed to determine the account type, as would be used by e.g.
incomestatement.
Add some extra tests for --count.
2025-08-28 05:26:42 +01:00
Simon Michael
b5cb1d08d0
fix: add, commodities, diff: support the --conf and -n/--no-conf flags [ #2446 ]
2025-08-26 14:01:48 +01:00
Simon Michael
a28c933677
;doc: REGRESSIONS
2025-08-25 19:29:50 +01:00
Simon Michael
8951e11584
fix:import: don't erase .latest files when there are no new txns [ #2444 ]
...
Fixes a regression caused by the #2125 fix.
2025-08-25 19:25:52 +01:00
Simon Michael
e2bb24e902
dev: make LatestDatesForFile showable
2025-08-25 19:24:38 +01:00
Simon Michael
a2a1124680
;doc: update command docs
2025-08-24 09:02:49 +01:00
Simon Michael
4f4426dc24
;doc: update embedded manuals
2025-08-24 09:01:04 +01:00
Simon Michael
4c1c44ce36
imp:cli: clearer help for -f, and the add and import commands
...
From euouae's irc feedback
2025-08-24 08:59:50 +01:00
Simon Michael
03262f3fff
fix 📟 don't use --mouse in default less options
...
Avoid an error on systems where less does not have mouse support.
2025-08-22 07:56:13 +01:00
Simon Michael
a4960649ad
;bin: readme: edits
2025-08-20 19:56:49 +01:00
Simon Michael
709471f164
;bin: update readme
2025-08-20 19:54:45 +01:00
Simon Michael
54e711936f
;bin: helpers for downloading from simplefin.org, a bank aggregator
2025-08-20 19:48:06 +01:00
Simon Michael
bdf5e7d06e
;doc:import: use windows-compatible quotes in watchexec example
2025-08-15 04:13:15 +01:00
Simon Michael
cb1d6a71a6
dev:import:archive: fix bugs in new code
...
Too hard to rebase
2025-08-14 19:22:52 +01:00
Simon Michael
7dfe2d84e7
dev:import: fix debug message
2025-08-14 17:52:54 +01:00
Simon Michael
afdeaccd75
;doc:csv: source, archive updates
2025-08-14 14:23:53 +01:00
Simon Michael
88b451d6eb
imp: when source rule finds no files, read the latest archived
2025-08-14 14:23:53 +01:00
Simon Michael
3dec0a8944
dev: indentation
2025-08-14 14:23:53 +01:00
Simon Michael
9766f65ac7
imp:import: show info output on stderr, not stdout
2025-08-14 14:23:53 +01:00
Simon Michael
76dc6d089a
feat:import:archive: archive data files, and process oldest first
2025-08-14 12:54:40 +01:00
Simon Michael
db7783b16d
dev: cleanups
2025-08-14 12:54:40 +01:00
Simon Michael
bfbef4bcbb
dev: refactor PrefixedFilePath
2025-08-14 12:37:11 +01:00
Simon Michael
a8eb2ff92d
Merge pull request #2440 from lfos/fix-dockerfile
...
dev: fix Dockerfile
2025-08-14 12:33:42 +01:00
Lukas Fleischer
68f13a9dcb
dev: fix Dockerfile
...
Sync Docker GHC version with Stack configuration, update dependencies,
and replace deprecated Dockerfile syntax.
2025-08-13 15:40:02 -04:00
Simon Michael
61f28b8843
;doc: Valuation examples: typo
2025-08-10 07:17:49 +01:00
Simon Michael
a713175e96
;doc:RELEASING
2025-08-10 07:17:41 +01:00
Simon Michael
e8a641e72a
;doc: Valuation examples: fix example [ #139 ]
2025-08-10 06:40:10 +01:00
Simon Michael
9865091130
;tools issue templates: updates
2025-08-04 10:26:36 +01:00
Simon Michael
02baf36ce6
;tools issue templates: updates
2025-08-04 10:23:55 +01:00
Simon Michael
174139abca
;tools issue templates: updates
2025-08-04 10:20:13 +01:00
Simon Michael
0443dcd0c2
;tools issue templates: cleanup
2025-08-04 10:13:35 +01:00
Simon Michael
3bf0b85084
;tools update issue templates
2025-08-04 09:53:00 +01:00
Simon Michael
ef89b67d7a
dev: accounts: more tag: tests
2025-08-03 07:55:53 +01:00
Simon Michael
cc3923d6d4
imp: the all: query now requires at least one posting
2025-08-03 06:34:00 +01:00
Simon Michael
f604b7a416
fix: accounts: a tag: query only matches account tags, not posting tags
...
Eg, `hledger accounts tag:t` lists only account a from this journal:
account a ; t:
2025-01-01
a 1
b -1 ; t:
2025-08-03 05:38:33 +01:00
Simon Michael
aabc892277
dev: Accounts: import cleanup
2025-08-03 05:37:56 +01:00
Simon Michael
cace7eb491
;doc:areg: clarification
2025-07-30 18:17:58 +01:00
Simon Michael
65463456ed
;pkg:stack912: bump to nightly snapshot
2025-07-28 17:03:35 +01:00
Simon Michael
424e072268
;pkg: bump default build, tools to lts 24.2 / ghc 9.10.2
2025-07-28 17:03:32 +01:00
Simon Michael
e69c72a6c7
dev: include: revert wrong error position fix; refactor
...
Errors in the main file are being reported a few lines too high,
due to the setOffset in includedirectivep.
It seems reverting this should have restored the original bug with
wrong line number in certain include error messages, but I can't find
that right now.
2025-07-28 11:57:46 +01:00
Simon Michael
6521b8dfdb
imp:setup: improve output
2025-07-25 19:08:26 +01:00
Simon Michael
55f12d89e0
;doc:completions: readme edits
2025-07-24 20:09:41 +01:00
Simon Michael
90d4224d5b
;doc:completions: readme edits
2025-07-24 20:02:18 +01:00
Simon Michael
9c3c6a3a5a
;doc:completions: update README
2025-07-24 20:01:03 +01:00
Simon Michael
79fbfb9f5f
dev: Hledger.Utils.Parse: cleanups
2025-07-18 07:31:05 -07:00
Simon Michael
c48c41bcd2
dev:timeclock: cleanups
2025-07-18 07:17:45 -07:00
Simon Michael
94f6f6a9a2
;tools: just test: also run doctests
2025-07-17 14:13:09 -07:00
Simon Michael
4a11474fff
imp: include: better glob patterns, errors, debug output, docs [ #2428 ]
...
The `include` directive has had a number of fixes and improvements. It now has
- more detailed documentation
- more thorough error checking, with clearer and more consistent messages, showing the correct problem line
- more debug output, at levels 6 and 7
- more robust and convenient glob patterns:
- glob patterns always ignore the current file
- `**` can now be used without a following slash, to also match the filename. So if previously you wrote `**/*.j`, now you can just write `**.j`.
- glob patterns now always ignore [dot directories](https://en.wikipedia.org/wiki/Hidden_file_and_hidden_directory )
(such as `.git` directories in a source tree).
The last item is a breaking change.
Previously, a pattern like `**/c.j` would find `a/.b/c.j`, even though it shouldn't.
Fixing this required a trade-off: now no glob pattern can find that file, not even a valid one like `*/.b/c.j`.
Only a literal file path with no wildcards (`a/.b/c.j`) will find it.
We assume excluding dot directories is the more common use case.
If this change breaks your existing files, please report it, and either update them or use the `--old-glob` flag for now.
2025-07-17 12:20:09 -07:00
Simon Michael
d5ff7fe454
;doc: include: mention glob pattern's dot limitation and the --old-glob flag
2025-07-17 08:10:34 -07:00
Simon Michael
b7e35f84a2
imp: include: add hidden --old-glob flag to restore old dot behaviour
...
This disables the workaround for Glob#49, allowing glob patterns to
find dot files and traverse dot directories again (sometimes too much).
2025-07-17 08:00:08 -07:00