Commit Graph

203 Commits

Author SHA1 Message Date
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
9726aa3f5f ;pkg: stack: bump to latest nightly 2024-05-01 20:46:06 -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
23d13c9a9f imp: web: support base64 >=1.0 2024-04-25 06:51:34 -10:00
Simon Michael
ee3d2c0e38 ;pkg: stack: bump to latest nightly, drop vty-windows extra-dep 2024-04-22 22:03:54 -10:00
Simon Michael
ae69800fdb pkg: require vty-windows-0.2.0.2+ to fix recent MS Terminal
And add to current stack.yaml too, since it's not yet in stackage.
2024-04-18 13:19:51 -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
8e0adec126 pkg:stack: bump dev build to latest/ghc 9.8.2 2024-04-07 23:47:27 -10:00
Simon Michael
98a93d979a ;pkg:stack: bump to latest nightly & ghc 9.8.2 2024-03-17 10:54:02 -10:00
Simon Michael
8f1ae401f4 dev: fix some partial head/tails, silence ghc 9.8's new warnings
Note the headErr/tailErr calls will print stack traces if they fail
(small ones: five lines, one of which is the useful location info),
which may or may not be best UX.
2024-02-28 15:58:21 -10:00
Simon Michael
4cec8aa0d7 pkg:stack:9.8: make default 2024-02-28 13:35:15 -10:00
Simon Michael
bf40a1ae25 pkg:stack:9.6: make non-default 2024-02-28 13:34:32 -10:00
Simon Michael
41e14634ff pkg:stack:9.6: updates 2024-02-28 13:34:07 -10:00
Simon Michael
fb1c223567 ;stack: bump to lts 22.7/ghc 9.6.4 2024-01-27 11:28:11 -10:00
Simon Michael
19461010f8 ;pkg:stack: use lts 22.4 2024-01-04 08:39:29 -10:00
ShrykeWindgrace
ce02f20d29 feat: support hledger-ui on windows
Introduced or bumped dependencies:

- brick-2.1.1
- vty-6.1
- vty-crossplatform-0.4.0.0
- vty-windows-0.2.0.1 conditionally on windows (current version of
  vty-crossplatform has 0.2.0.0 as a lower bound, need to put a newer version explcitly;
  once we get a newer vty-crossplatform, we will be able to drop this conditional)
- vty-unix (indirectly via vty-crossplatform)
2023-12-19 08:20:16 -10:00
Simon Michael
f7262ae4e8 dev:stack: bump default GHC to 9.6.3 2023-10-15 13:56:47 +01:00
Simon Michael
936e1b9d0a pkg:stack: build with nightly/ghc 9.6 by default 2023-09-12 07:26:36 +01:00
Simon Michael
6e0523d7b8 pkg: stack: bump default build to lts-21.9, ghc 9.4.6 2023-09-03 08:23:43 +01:00
Simon Michael
e3bf66755a ;pkg:stack: bump stackage snapshots 2023-07-01 08:14:23 -10:00
Simon Michael
4804e1be6d ;dev: bump to latest stackage nightly 2023-06-20 19:37:41 -10:00
Simon Michael
438891b2c5 ;dev: stack: bump to nightly-2023-05-31 2023-05-31 18:57:30 -10:00
Simon Michael
5fa5e3f0f0 ;dev: stack: bump to ghc 9.4.5 2023-05-03 19:18:35 -10:00
Simon Michael
1f42501278 pkg: stack cleanups 2023-04-07 14:15:31 -10:00
Simon Michael
c2e7cc5700 pkg: update stackage resolvers, extra deps 2023-03-10 18:58:22 -10:00
Simon Michael
0f5857d94f ;pkg: stack: drop allow-newer, should be no longer needed 2023-01-28 23:03:11 -10:00
Simon Michael
f63ca1d49e ;dev: stack: bump stackage snapshot, re-enable hledger-web 2023-01-11 21:51:02 -10:00
Simon Michael
704b47bb92 dev: make ghc 9.4 and current stackage nightly the default
excluding hledger-web temporarily
2023-01-10 19:04:31 -10:00
Simon Michael
8c6218805e dev: make stack9.2.yaml not the default 2023-01-10 19:03:07 -10:00
Simon Michael
d0eaa8cf5a dev: force megaparsec 9.3 in stack build plans where supported
For the useful dbg tool.
2022-12-22 20:31:47 -10:00
Simon Michael
e9e8f350f2 dev: require megaparsec 9.3+ in dev build, for its useful dbg tool
The 9.3 version works with our parsers.
2022-12-22 19:25:57 -10:00
Simon Michael
fa8f6ae302 lib: Debug: breakpoint doesn't support windows yet, drop for now 2022-12-01 12:20:29 -08:00
Simon Michael
7bba7e79af dev: ui: support/require brick 1.5, as in latest stackage nightly 2022-11-26 00:12:28 -05:00
Simon Michael
ba773e3fe9 dev: bump to stackage lts-20.1 2022-11-25 23:44:46 -05:00
Simon Michael
45ee5d125d imp: ui: support/require fsnotify 0.4.x 2022-09-19 18:18:50 -10:00
Simon Michael
3cda526c5a stack: bump to 2022-09-01 resolver 2022-09-01 15:30:33 -07: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
2a594b7fb7 pkg: ui: use/require brick 1.0+ (#1889) 2022-08-17 15:57:27 +01:00
Simon Michael
950c85cad7 dev: bump to latest stackage, ghc 9.2.4 2022-08-07 19:11:17 +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
3070ba9b36 dev: stack: bump to latest nightly 2022-07-10 22:05:14 +01:00
Simon Michael
9acbbed4fe pkg: stack, shake, install: bump to ghc 9.2.3 2022-06-09 11:34:47 +01:00
Simon Michael
79d3ecfc90 ;pkg: stack: bump to latest nightly snapshot 2022-06-06 12:20:31 +01:00
Simon Michael
53332ee6a5 stack: re-enable hledger-web with ghc 9.2 2022-04-15 15:07:17 -10:00
Simon Michael
07629c803a stack: bump stack & shake to latest nightly 2022-04-15 15:07:17 -10:00
Simon Michael
4a75acedf0 tools: stack: make stackage nightly/ghc 9.2 the default 2022-04-15 15:07:17 -10:00
Simon Michael
75523cae6f tools: stack: rename the 9.0 config 2022-04-15 15:07:17 -10:00
Simon Michael
e91fb8e0db tools: stack: use stackage lts 2022-03-26 09:38:10 -10:00
Simon Michael
7a781b04e5 fix: ci: restore stack.yaml as a regular file to fix CI
Github actions `hashFiles()` may not like symlinks, see comment in
push.yml.
2022-03-25 20:59:28 -10:00
Simon Michael
6914333526 fix: reverse d60e1464's accidental setting of GHC 9.2 as default
There was some reason it wasn't a symlink before, but let's keep that
and see.
2022-03-25 19:46:02 -10:00