Simon Michael
a3096d0549
dev: journalFilePath, include: show (unknown) instead of nothing
...
Probably not user-visible, but might improve debug logging slightly.
2022-08-16 09:13:30 +01:00
Simon Michael
8ec31b079c
imp: accounts: --declarations shows that info, not --debug ( #1909 )
2022-08-16 09:13:30 +01:00
Simon Michael
1f08a8a94e
fix: fix multi-file account display order; improve file read logging ( #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
07e3dca735
imp: at --debug 5, log account declarations info while parsing ( #1909 )
2022-08-16 09:13:30 +01:00
Simon Michael
3d6e363461
lib: save account directive positions, for troubleshooting ( #1909 )
2022-08-16 09:13:30 +01:00
David D Lowe
f5680529cd
Fix broken link in bin/README.md
2022-08-15 03:34:40 +01:00
Simon Michael
950c85cad7
dev: bump to latest stackage, ghc 9.2.4
2022-08-07 19:11:17 +01:00
Simon Michael
b46aa1330f
fix: don't reverse account display order with include files ( #1909 )
2022-08-05 13:44:56 +01:00
Simon Michael
09d66c5fc1
fix: account display order is now tracked across all files ( fix #1909 )
2022-08-04 19:05:52 +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
229fe6ac58
fix: areg, ui: show transactions normally with a type: query ( #1905 )
...
accountTransactionsReport was not account types-aware.
There might be more of these lurking.
2022-08-03 10:38:42 +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
8b121bcf74
;feat: bin: hledger-check-postable
2022-08-02 16:22:05 +01:00
Alex Hirzel
497ad6e469
;doc: update achievements listing
2022-08-01 22:54:24 +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
f82d3e27b8
;doc: github-release-doc: edit
2022-07-31 23:35:42 +01:00
Simon Michael
0e63bd1d6f
ci: binaries-linux-x64-static: roll back to ghc 9.0 to avoid segfault
...
Probably https://gitlab.haskell.org/ghc/ghc/-/issues/20266
2022-07-31 23:03:25 +01:00
Simon Michael
a00c93fd07
ci: binaries-linux-x64-static: abort the job when a build fails
2022-07-31 23:03:25 +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
Alex Hirzel
c06a3563ac
;doc: fix tables of contents in developer documentation
2022-07-31 10:57:09 +01:00
Simon Michael
217cfbd389
imp: errors: assertions: improve sample hledger command
2022-07-31 08:26:30 +01:00
Simon Michael
442ef9361c
feat: api: quoteForCommandLine: some very shady CLI escaping
2022-07-31 08:26:30 +01:00
Simon Michael
d2f0077254
;doc: github-release-doc: rename, tweaks
2022-07-31 07:19:47 +01:00
Simon Michael
acedc8997d
dev: stack: roll back to ghc 9.2.2 to keep hls working
2022-07-29 14:52:46 +01:00
Simon Michael
d860d6d2fc
api: Hledger.Data.Errors: export makeBalanceAssertionErrorExcerpt
2022-07-29 09:01:34 +01:00
Simon Michael
a6edbe4336
;doc: update manuals
2022-07-28 19:08:26 +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
f135001b87
;dev: improve followingcommentp' doc
2022-07-28 09:14:13 +01:00
Simon Michael
830acdd444
doc: github-release-template: tweaks
2022-07-27 00:34:03 +01:00
Simon Michael
72f73278bd
doc: github-release-template: windows script improvements
...
(Lazar Lazarov)
2022-07-26 23:52:58 +01:00
Simon Michael
827d3f79f4
ci: avoid double zip; use tar instead to preserve x on linux/mac
2022-07-26 23:52:51 +01:00
Simon Michael
863983f0ff
ci: update all to preserve executable permission when zipping
2022-07-26 22:49:47 +01:00
Simon Michael
7a8f2c1c8a
ci: bump all upload-artifact users to v3
2022-07-26 22:37:44 +01:00
Simon Michael
af8e9501e9
ci: test-linux-x64, binaries-mac-x64: fix binaries upload
2022-07-26 22:24:49 +01:00
Simon Michael
01ec0949b4
doc: github-release-template: add modern windows instructions
...
(Lazar Lazarov, Simon Michael)
2022-07-26 18:02:02 +01:00
Simon Michael
ef2990627a
;doc: keep a github release template, add detailed steps for binaries
2022-07-26 12:44:04 +01:00
Simon Michael
c0e7cf86fc
ci: binaries-mac-x64: preserve executable perms on zipped binaries
2022-07-26 11:02:01 +01:00
Simon Michael
b5eb3f494b
ci: test-linux-x64: preserve executable perms on zipped binaries
2022-07-26 11:00:02 +01:00