Simon Michael
cff831c3c0
feat:setup: command skeleton
2025-04-20 10:49:16 -10:00
Simon Michael
ee3b6c29ce
;pkg: allow ghc 9.12
2025-04-09 10:58:52 -10:00
Simon Michael
ed6cef5c00
;pkg: clean up package.yaml files
...
Consistent layout.
Group metadata at the top in similar order to `cabal format`.
2025-03-31 17:25:41 -10:00
Simon Michael
775507c2d4
;pkg:cabal: specify GPLv3+ exactly; require cabal 2.2+ [ #2359 ]
...
Previously our cabal files used cabal-version 1.12, and were in theory
buildable with any ancient version of cabal. Now at least cabal 2.2
(or a version of stack built with with similar Cabal version) is
required to build hledger.
2025-03-31 16:55:36 -10:00
Simon Michael
cb6a9b2f97
;pkg:cabal: update tested-with in all package.yamls
2025-03-31 16:27:40 -10:00
Thomas Miedema
bf3d1b6b49
;dev: extra >= 1.7.11 is required
...
Commit ff28aa32 introduced usage of Data.List.Extra.groupOnKey, which
first came with extra-1.7.11.
Fixes stack8.10.yaml build hopefully.
2025-03-31 16:18:09 -10:00
Simon Michael
10c523c057
;pkg: set version to 1.42.99
2025-03-07 18:49:07 -10:00
Simon Michael
41e5a538b1
;pkg: clean up other cabal files, separating unrelated ghc options
2025-03-07 07:54:57 -10:00
Dmitry Astapov
4aa79cdc53
;run: added Repl.txt to package.yaml
2025-03-06 11:54:00 -10:00
Simon Michael
34ba84ff9c
feat: commands, an explicit command to show the commands list; refactor
2025-03-05 11:10:42 -10:00
Simon Michael
d346e56b79
dev: fix warnings, update yaml file, edit [ #2340 ]
2025-02-27 13:41:48 -10:00
Dmitry Astapov
d84050ec05
feat:run: run multiple commands efficiently, as a script or at a REPL (Dmitry Astapov, #2323 )
2025-02-13 16:13:07 -10:00
Simon Michael
20f1f51a9d
;pkg: set version to 1.41.99
2024-12-09 17:58:24 -10:00
Simon Michael
fd9c64a4ad
pkg: allow megaparsec 9.7 [stackage#7585]
2024-12-03 08:46:29 -10:00
Simon Michael
50bf401ea6
dev: split debug/ghcdebug flags, comment out the latter for now
...
Compilation with ghc-debug is failing, and it has not yet been used
for anything. Separate the flag and leave it in place but commented for now.
2024-10-24 10:44:28 -10:00
Simon Michael
7325b75d5b
imp: rename ghcdebug build flag to debug, and enable stack traces with it
...
Builds made with ghc 9.10+ and the 'debug' build flag, will show
(some kind of, partial) stack traces when the program ends with an
error. (And also will have ghc-debug support enabled.)
The stack traces will probably improve in due course.
2024-10-19 18:47:03 -10:00
Henning Thielemann
86c3d7d656
cli: Commands.Register: support hyperlinks to hledger-web in HTML and FODS output
...
new option --base-url as in `balance` et.al.
Cli.Anchor: new module initialized with functions from Commands.Balance
2024-10-18 00:07:11 -10:00
Simon Michael
6225ac8a22
imp!: support ghc 9.10 / base 4.20
...
When built with ghc 9.10.1, hledger error messages are displayed
with an extra newline following them.
https://gitlab.haskell.org/ghc/ghc/-/issues/25116
2024-09-30 17:15:59 -10:00
Henning Thielemann
9cdd21bf6d
cli: Commands.Balance.registerQueryUrl: correctly escape URL using modern-uri package
2024-09-28 22:12:51 -10:00
Simon Michael
c079725836
;pkg: bump version to 1.40.99
2024-09-09 14:06:06 -07:00
Simon Michael
204df22739
feat: cli: basic config file support for hledger
...
And some refactoring of command line parsing code.
General options only, in ./hledger.conf, for now.
2024-06-25 18:37:54 +01:00
Simon Michael
aec28842c7
;pkg: bump version to 1.34.99
2024-06-01 13:30:20 -10:00
Simon Michael
e7b60be4b0
;dev: drop old extra-source-file
2024-05-31 19:52:40 -10:00
Simon Michael
c5f8444627
feat: hledger's tldr pages are now built in, accessible via --tldr
...
And a few cleanups/fixes related to flag processing.
The help flags are now listed in order of precedence.
2024-05-29 15:32:19 -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
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
f5c4d99291
;pkg: bump version to 1.33.99
2024-04-18 13:33:42 -10:00
Simon Michael
69e4a88ccf
pkg: require process 1.6.19.0+ for HSEC-2024-0003
...
This is to avoid potential vulnerabilities on Windows due to the process issue disclosed today:
https://haskell.github.io/security-advisories/advisory/HSEC-2024-0003.html
2024-04-10 08:07:08 -10:00
Simon Michael
d755699c9b
imp:stats: also show RTS memory usage stats
2024-02-29 01:07:04 -10:00
Simon Michael
3798a3baef
pkg: require safe >=0.3.20, for ghc 9.8 head/tail helpers
2024-02-28 14:39:53 -10:00
Simon Michael
2a99b3d456
imp: stack: build with ghc 9.8, latest stackage nightly
2024-01-04 08:24:50 -10:00
Simon Michael
a3290bfaeb
pkg: allow megaparsec 9.6*
2023-12-14 08:57:42 -10:00
Simon Michael
80d1da2db9
;pkg: bump version to 1.32.99
2023-12-02 09:09:07 -10:00
Simon Michael
e2cc2d7e24
feat:print: add a basic beancount output format
...
This prints journal output more likely (but not guaranteed) to
be readable by Beancount.
All packages now require text 1.2.4.1 or greater.
2023-11-22 22:57:36 -10:00
Simon Michael
40037afaf1
lib!: export less from cli and web packages, and more from ui
2023-10-04 10:03:35 +01:00
Simon Michael
0e98f73e30
dev:cli: merge Hledger.Cli.Main with Hledger.Cli
2023-10-04 10:03:35 +01:00
Simon Michael
6f7c331ace
;pkg: bump version to 1.31.99
2023-09-11 09:56:34 +01:00
Simon Michael
9c4235bf88
pkg: allow megaparsec 9.5
2023-09-03 08:23:43 +01:00
Simon Michael
1a0b745c28
pkg: add support for aeson 2.2, add upper bound
2023-07-01 08:14:23 -10:00
Simon Michael
1bd1c55bd6
;pkg: update tested-with
2023-07-01 07:34:46 -10:00
Simon Michael
110861ee83
;pkg: allow megaparsec 9.4
2023-06-16 12:11:08 -10:00
Simon Michael
9f5e85ef60
fix:cli: add missing files to Hackage release
2023-06-02 07:49:37 -10:00
Simon Michael
9ae87a73fa
;pkg: bump version to 1.30.99
2023-06-01 16:34:52 -10:00
Simon Michael
38fd51b97c
feat: embed some asciinema demos, and a demo command to play them
2023-03-16 21:58:38 -10:00
Simon Michael
44805f96ef
;dev: ui, web: fixes for ghc 9.6; cleanup ( #2011 )
2023-03-15 20:43:51 -10:00
Simon Michael
a0ca339c46
;pkg: bump version to 1.29.99
2023-03-11 13:27:25 -10:00
Simon Michael
3f3401f8ad
imp: cli: Hledger.Cli.Script convenience import for scripts
...
Hledger.Cli.Script is a convenient prelude for use in scripts,
reducing import boilerplate. It currently re-exports:
Control.Monad
Data.Either
Data.List
Data.Maybe
Data.Ord
Data.Time
Text.Printf hiding (formatString)
Data.Text (Text, pack, unpack)
Safe hiding (at)
System.Directory
System.Environment
System.Exit
System.FilePath
System.Process
Hledger
Hledger.Cli
Hledger.Cli.Main (argsToCliOpts)
but not (much of) Data.Text or Data.Text.IO, as those
need to be imported qualified.
2023-01-29 16:29:18 -10:00
Simon Michael
4387e6ffb5
pkg: stack: bump to latest snapshots, depend on text-ansi, add extra deps
2023-01-25 19:15:45 -10:00
Simon Michael
fbbae55101
imp: cli: merge register-match with register command
...
register-match is now the --match mode of the register command.
It was used by ledger-autosync at one point, hopefully the new flag
works similarly.
2023-01-25 10:44:12 -10:00
Simon Michael
1899b43073
imp: cli: drop the print-unique command
...
It disorders same-day transactions, doesn't support print's options,
and isn't useful enough to be always shown in the builtin commands
list. I don't know of any users, or a use for it, and it could easily
be recreated as an addon script, so I'm inclined to not bother
supporting it as a hidden command.
2023-01-25 10:44:12 -10:00