Commit Graph

2720 Commits

Author SHA1 Message Date
Simon Michael
d4a1718690 fix: balcmds: fix empty html columns fix (#1933) 2022-09-14 17:25:18 -10:00
Simon Michael
b9d2aa7b54 fix: balcmds: handle an empty totals column in html output (#1933) 2022-09-14 16:56:28 -10:00
Simon Michael
13f3c3ed64 dev: cli: update balance.test to v3 format 2022-09-14 16:36:10 -10:00
Simon Michael
93ce75d756 imp: dev builds with uncommitted changes now show + in --version 2022-09-08 12:23:59 -10:00
Simon Michael
2ef6055516 doc: cli: changelog: fixes 2022-09-01 18:50:04 -07:00
Simon Michael
427005037e cabal: update cabal files 2022-09-01 18:37:57 -07:00
Simon Michael
e5bb4f0b66 ;pkg: bump version to 1.27.99 2022-09-01 18:37:40 -07:00
Simon Michael
38ce19847b doc: update changelogs 2022-09-01 18:36:39 -07:00
Simon Michael
7631d0efa0 ;doc: update manuals 2022-09-01 18:36:34 -07:00
Simon Michael
651d584bb0 ;doc: update changelogs 2022-09-01 15:48:46 -07:00
Simon Michael
7b383237d5 imp: doc: cli: rewrite/consolidate cost and conversion docs 2022-09-01 15:30:36 -07:00
Simon Michael
5deda67658 imp: add: update/improve invalid date message 2022-09-01 15:30:36 -07:00
Simon Michael
b46cb8a7f7 cabal: update cabal files 2022-08-23 12:16:25 +01:00
Simon Michael
c80c72d7cd dev: lib, cli, bin: enable/fix name shadowing warnings
And a few other cleanups.
2022-08-23 12:16:15 +01:00
Simon Michael
96db4fe9cc dev: ui: enable/fix name shadowing warnings 2022-08-23 02:57:59 +01:00
Simon Michael
a0e31091fc doc: update manuals 2022-08-23 02:02:47 +01:00
Simon Michael
8f65f8a096 ;doc: update CLI usage texts 2022-08-23 02:02:19 +01:00
Simon Michael
cbedfa86c7 doc: cli: account types: clarify 2022-08-23 02:02:19 +01:00
Simon Michael
e5578e5c4e ;cabal: update cabal files 2022-08-23 02:02:19 +01:00
Simon Michael
9584ebb439 imp: lib: Hledger.Utils.Debug: re-export Debug.Breakpoint
And add breakpoint as a dependency and enable its GHC plugin in all
the hledger packages, so that breakpoint's helpers can be used easily.
2022-08-23 02:02:19 +01:00
Simon Michael
6a4680d561 imp: pkg: drop support for GHC 8.6 and 8.8
Slightly motivated by a desire to depend on the new breakpoint
library, which requires GHC 8.10+. With GHC 9.0 in Debian,
it seems time to drop these.
2022-08-23 02:02:19 +01:00
Simon Michael
efa1879a11 ;doc: cli: help: more updates 2022-08-22 08:26:32 +01:00
Simon Michael
3f2fdf36b6 ;doc: update manuals 2022-08-22 08:21:39 +01:00
Simon Michael
61d2c047e1 ;doc: update CLI usage texts 2022-08-22 08:21:24 +01:00
Simon Michael
9d2c9bd85f ;doc: cli: help: more updates 2022-08-22 08:21:01 +01:00
Simon Michael
423f3bd155 ;doc: update manuals 2022-08-22 07:59:02 +01:00
Simon Michael
2d9b6b91b5 ;doc: update CLI usage texts 2022-08-22 07:58:41 +01:00
Simon Michael
8eb1e0883a ;doc: cli: help, common tasks: update 2022-08-22 07:45:23 +01:00
Stephen Morgan
c966a0f413 fix!: cbr: Remove old account type query code. (#1921)
This replaces the old journal*AccountQuery with the new Type query. This
enables uniform treatment of account type, and fixes a subtle bug
(#1921).

Note that cbcsubreportquery no longer takes Journal as an argument.
2022-08-21 08:27:51 +01:00
Simon Michael
5fd5cd5b85 imp: acc: --declarations -> --positions; add --directives
And tweak the layout of flags in --help.
2022-08-18 05:08:10 +01:00
Simon Michael
92e7d9200c ;doc: hledger: csv: fix link more (#1918) 2022-08-17 22:50:23 +01:00
Simon Michael
7fbec5d4b7 ;doc: hledger: csv: fix link (#1918) 2022-08-17 22:14:01 +01:00
Simon Michael
8ec31b079c imp: accounts: --declarations shows that info, not --debug (#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
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
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
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
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
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