Simon Michael
daf8301ade
;pkg:stack: drop obsolete systemencoding flag [ #2319 ]
2025-02-16 07:19:09 -10:00
Joschua Kesper
5114962b2a
feat:csv: add an encoding rule, allowing non-UTF8 CSV to be read [ #2319 ]
...
Previously, hledger could read CSV files containing non-ascii
characters only if they are UTF8-encoded. Now there is a new CSV
rule, encoding ENCODING, which allows reading CSV files with other
encodings.
This adds a dependency on the encoding library, which supports fewer
encodings than text-icu but does not require a third-party C library.
To avoid build issues on various platforms, we require version 0.10+.
This adds some use of the ImplicitParams language extension, required
by encoding's API, but only in a small code region.
This also changes the type of Reader's rReadFn; it now takes
a `Handle` rather than a `Text`, allowing more flexibility.
2025-02-15 14:48:30 -10:00
Simon Michael
de9095792e
;stack: 9.0-9.8: add base-compat-0.14, needed since 1c45496 2024-09-30
...
I think base-compat-batteries is unnecessary.
I have not tested all these build plans.
2024-10-24 10:44:28 -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
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
3798a3baef
pkg: require safe >=0.3.20, for ghc 9.8 head/tail helpers
2024-02-28 14:39:53 -10:00
Simon Michael
e182dc3a46
pkg:stack:9.0: updates (untested)
2024-02-28 13:25:42 -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
dc35fd173b
pkg: stack: another extra dep needed
2023-01-26 22:25:24 -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
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
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
45ee5d125d
imp: ui: support/require fsnotify 0.4.x
2022-09-19 18:18:50 -10: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
fcdc07b55e
stack: use brick 1.0 with older GHCs also
2022-08-17 15:57:27 +01:00
Simon Michael
75523cae6f
tools: stack: rename the 9.0 config
2022-04-15 15:07:17 -10:00
Simon Michael
14e1efc843
stack: 9.0: rename yaml file, making 9.0 the default
2021-07-20 20:38:39 -10:00
Simon Michael
09a31115d3
stack: 9.0: use stackage nightly for GHC 9.0 build ( #1503 )
2021-07-20 20:38:39 -10:00
Simon Michael
55772cbd9b
stack config for testing with GHC 9.0, WIP ( #1503 )
2021-04-06 07:59:11 -10:00