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
Simon Michael
b28468e651
dev: clarify some confusing comment parsers a bit [ #2241 ]
2024-09-28 18:53:46 -10:00
Simon Michael
45b862f84f
;dev: bump to latest stackage nightly
2024-09-28 08:39:06 -10:00
Simon Michael
a637e08cdd
;doc: RELEASING: link to past releases
2024-09-27 10:28:52 -10:00
Simon Michael
eb9e4aa9b6
;doc: demo: link asciinema
2024-09-27 01:30:53 -10:00
Simon Michael
c641cddbdc
;doc: dev: moved from 36 to 35
2024-09-27 01:27:59 -10:00
Simon Michael
15e3733d55
;doc: commands: tweak wording
2024-09-27 01:27:48 -10:00
Simon Michael
03d7e46db3
;doc: REGRESSIONS: updates
2024-09-26 06:22:53 -10:00
Simon Michael
bf6440095f
;doc: REGRESSIONS: updates, cleanups
2024-09-25 17:05:53 -10:00
Simon Michael
c1a269da6a
;doc: REGRESSIONS: more hyphens indicating heading rows
2024-09-24 23:51:48 -10:00
Simon Michael
19391a82a3
;doc: REGRESSIONS: layout
2024-09-24 23:46:24 -10:00
Simon Michael
5232a1a19d
;doc: REGRESSIONS: heading tweak
2024-09-24 23:42:23 -10:00
Henning Thielemann
6ce6c72fd4
lib: Write.Html.Attributes: extracted HTML output helpers from Cli.Commands.Balance
2024-09-24 22:51:30 -10:00
Simon Michael
4960d5f533
;doc: REGRESSIONS: more updates, and fix details for #2115
2024-09-24 22:36:17 -10:00
Simon Michael
c73744938e
;doc: timedot: mention the common journal+timedot file setup [ #2238 ]
2024-09-24 21:32:26 -10:00
Simon Michael
e6f988406f
;doc: REGRESSIONS
2024-09-24 20:54:30 -10:00
Henning Thielemann
441f46fc06
lib: Tabular.AsciiWide.renderRs: simplify using flattenHeader
2024-09-24 20:50:54 -10:00
Henning Thielemann
b74815287d
web: RegisterR.getRegisterR.addCommas: do not drop last account
...
Bug was introduced in commit 2a99b3d456
in an effort to get rid of partial List.tail,
because GHC-9.8 started to warn about it.
Problem is that the rewritten code with tailDef always removes the last account,
whereas the original intention was to replace all accounts by a comma except the last one.
addCommas should prepare a comma separated list like List.intercalate.
2024-09-24 20:42:32 -10:00