Commit Graph

218 Commits

Author SHA1 Message Date
Simon Michael
784a95de29 ;ci: mac, windows: fix time dep 2024-12-02 20:41:25 -10:00
Simon Michael
84254ca2b8 ;ci: windows: explicit time dep required 2024-12-02 17:40:29 -10:00
Simon Michael
645da4a74f ;pkg: bump to latest stackage snapshot 2024-12-02 17:13:28 -10:00
Simon Michael
31469ba6cc ;stack: base-compat-batteries seems not needed 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
Simon Michael
5591be7724 dev: stack: silence wizards bounds warning, hopefully 2024-09-30 17:21:26 -10:00
Simon Michael
1c45496f1c dev: web: fix build with ghc <9.2 2024-09-30 17:20:13 -10:00
Simon Michael
8fdbcdda5d ;dev: stack: additional extra deps required on windows 2024-09-30 17:20:13 -10:00
Simon Michael
1a0b1034b6 dev: make ghc 9.10 the default for dev builds and some github actions 2024-09-30 17:20:13 -10:00
Simon Michael
ebd8a87177 dev: rename stack.yaml to 9.8 2024-09-30 17:20:13 -10:00
Simon Michael
d12ec3b015 ;dev: stack: drop no longer needed brick override 2024-09-29 13:28:46 -10:00
Simon Michael
45b862f84f ;dev: bump to latest stackage nightly 2024-09-28 08:39:06 -10:00
Simon Michael
55d47ceacd fix:pkg:ui: avoid brick 2.3.2 which doesn't build on windows
That version depends on unix as well as unix-compat.
2024-09-09 14:03:41 -07:00
Simon Michael
08a356a7cb ;dev: pkg: bump to latest nightly stackage snapshot 2024-09-09 14:03:35 -07:00
Simon Michael
0d878415e9 ;pkg: stack: bump to latest nightly; bump various script snapshots 2024-07-12 12:45:00 +01: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
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