Commit Graph

13062 Commits

Author SHA1 Message Date
Simon Michael
5591be7724 dev: stack: silence wizards bounds warning, hopefully 2024-09-30 17:21:26 -10:00
Simon Michael
167303deb6 ;ci: windows, mac, linux-x64-stack: list dep versions before building hledger
For troubleshooting. stack doesn't do this itself, unlike cabal.
2024-09-30 17:21:26 -10:00
Simon Michael
f4bc6308ae ;ci: add trigger summaries as well 2024-09-30 17:21:26 -10:00
Simon Michael
4dc4dbc917 ;ci: windows, linux-x64-stack: add unit testing to these 2024-09-30 17:21:26 -10:00
Simon Michael
d8d236385d ;ci: linux: expect linux builds to be warning free like the rest 2024-09-30 17:21:23 -10:00
Simon Michael
bba77abcf6 ;ci: add consistent greppable summaries for all workflows 2024-09-30 17:21:02 -10:00
Simon Michael
1b643eb3e9 ;ci: mac: cleanup 2024-09-30 17:21:02 -10:00
Simon Michael
fd930ff567 dev: make func tests compatible with ghc 9.10
Work around ghc 9.10's extra newline in error output.
https://gitlab.haskell.org/ghc/ghc/-/issues/25116
2024-09-30 17:20:53 -10:00
Simon Michael
1c45496f1c dev: web: fix build with ghc <9.2 2024-09-30 17:20:13 -10:00
Simon Michael
10465ffbe5 ;ci: update all stack/cabal versions installed by ghcup to latest 2024-09-30 17:20:13 -10:00
Simon Michael
e157bb4a6b dev: Hledger.Write.Ods: fix build with ghc <9.6 2024-09-30 17:20:13 -10:00
Simon Michael
6773e92361 dev: Hledger.Write.Ods: follow global-then-local-imports convention 2024-09-30 17:20:13 -10:00
Simon Michael
daa3010c3e ;ci: binaries-linux-x64: fix addition of manuals to bindist 2024-09-30 17:20:13 -10:00
Simon Michael
bb551bf0dc ;doc: update changelogs 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
c92b601028 dev: fix warnings with ghc 9.10 / base 4.20
Older ghc versions should also still build cleanly (tested with 9.8 so far).

I don't like enabling CPP in so many modules but it's easier that
figuring out how to do it with base-compat; hopefully no noticeable
compilation impact.
2024-09-30 17:20:13 -10:00
Simon Michael
1b60ebb61f ;cabal: update cabal files 2024-09-30 17:20:13 -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
Simon Michael
12481804cd ;doc: bal: tree mode html limitation, edit [#1846] 2024-09-29 22:20:33 -10:00
Simon Michael
944e27b342 ;doc: update manuals 2024-09-29 22:13:31 -10:00
Simon Michael
b17f6730d8 imp: areg: html output uses a hledger.css file if any, like balcmds 2024-09-29 22:12:57 -10:00
Simon Michael
4ef1db3725 ;doc: bal: note that tree mode doesn't work in html output [#1846] 2024-09-29 22:00:28 -10:00
Simon Michael
2d55a0e6aa ;doc: bal: also mention hledger.css and text encoding in balance doc 2024-09-29 21:47:13 -10:00
Simon Michael
c2800afeeb ;doc: html: note safari text encoding issue, 2 2024-09-29 21:30:52 -10:00
Simon Michael
e905a8de9e ;doc: html: note safari text encoding issue 2024-09-29 21:27:26 -10:00
Simon Michael
cc7ba473ec imp: bal: html output will use a hledger.css file, like bs/cf/is 2024-09-29 21:22:38 -10:00
Henning Thielemann
5565f11c73 cli: Commands.Balance.multiBalanceReportAsSpreadsheetHelper: vertically merge cells showing account names and Total
lib: Write.Spreadsheet: add support for cell spans
2024-09-29 19:25:05 -10:00
Simon Michael
d12ec3b015 ;dev: stack: drop no longer needed brick override 2024-09-29 13:28:46 -10:00
Simon Michael
2cbea889f5 dev: lib: fix package.yaml, regen .cabal [#2244] 2024-09-29 13:27:51 -10:00
Henning Thielemann
2f9a8031b0 lib: Write.Html -> Write.Html.Lucid
Write.Html: keep common definitions for both HTML backends
2024-09-29 13:27:51 -10:00
Henning Thielemann
cc7e034d64 lib: Write.Html.Blaze: alternative to Lucid based export
for compatibility with hledger-web/yesod
2024-09-29 13:27:51 -10:00
Henning Thielemann
d8fc30f7c5 lib: Write.Html.Attribute.tableStyle: style definitions taken from Commands.Balance.multiBalanceReportAsHtml
avoid duplicate with Write.Html.printHtml

Write.Html.Attribute: remove dependency on Lucid
2024-09-29 13:27:51 -10:00
Simon Michael
a494e15d55 ;doc: update manuals 2024-09-29 12:13:50 -10:00
Simon Michael
d88e30ff43 ;doc: update help 2024-09-29 12:13:30 -10:00
Simon Michael
52402cd084 imp: bal: tweak --related, --transpose help 2024-09-29 12:12:15 -10:00
Simon Michael
e9a3f99553 imp: balcmds: support --count on all of them, why not 2024-09-29 12:12:15 -10:00
Simon Michael
40b8d2b517 imp: balcmds: tweak --base-url help [#2226] 2024-09-29 12:12:15 -10:00
Simon Michael
c8710958a6 imp: cli: more consistent options order between bal cmds 2024-09-29 11:39:23 -10:00
Simon Michael
5a4e5dc099 ;doc: bal: simplify hyperlinks doc a little [#2226]
I think this will be enough.
2024-09-29 11:31:04 -10:00
Henning Thielemann
e116b6af41 cli: Commands.Balance.composeAnchor: construct an anchor from Maybe base-url and query
Optionally add a missing trailing slash to the base URL.
2024-09-29 11:12:17 -10:00
Simon Michael
2a25bfdebc dev: fix typo in bal --base-url help [#2226] 2024-09-28 22:21:58 -10:00
Henning Thielemann
9cdd21bf6d cli: Commands.Balance.registerQueryUrl: correctly escape URL using modern-uri package 2024-09-28 22:12:51 -10:00
Henning Thielemann
3cd6e95746 doc: Commands/Balance.md: document hyperlinks and --base-url 2024-09-28 22:12:51 -10:00
Henning Thielemann
6e7324a36e cli: Command.Balance: pass command-line query to HTML and FODS hyperlinks 2024-09-28 22:12:51 -10:00
Henning Thielemann
cc86cd1f0e cli: Commands.Balance.multiBalanceReportAsSpreadsheet: add date query anchors to period headers 2024-09-28 22:12:51 -10:00
Henning Thielemann
499c626e48 lib: Write.Spreadsheet: support for anchors in HTML and FODS export
cli: Commands.Balance: new option --base-url
It adds hledger-web-compatible hyperlinks to account names.
2024-09-28 22:12:51 -10:00
Henning Thielemann
8744a0687c cli: CompoundBalanceCommand: use Html.Attribute.alignleft 2024-09-28 22:07:39 -10:00
Simon Michael
823be7c565 fix: csv: tags on following lines, and posting dates, also work now [#2241]
Follow-on work from #2214.
2024-09-28 18:54:43 -10:00