Commit Graph

13089 Commits

Author SHA1 Message Date
Simon Michael
ffe86d3541 doc: REGRESSIONS: update 2024-10-09 08:52:58 -10:00
Henning Thielemann
6b5a158935 cli: CompoundBalanceCommand: row_total_ -> multiBalanceHasTotalsColumn (bugfix)
This way, total column header is not shown in balancesheet.
This is consistent with table data and with compoundBalanceReportAsText.
2024-10-09 08:52:28 -10:00
Simon Michael
c969e66049 doc: REGRESSIONS: update 2024-10-08 23:21:33 -10:00
Simon Michael
4285efc013 ;doc: beancount output: edits 2024-10-08 23:11:57 -10:00
Simon Michael
21a84fb336 fix: calculate value correctly when P amounts have few decimal digits [#2254]
Valuation in another commoditay could sometimes be inaccurate if the P
price amounts did not have enough decimal places.
2024-10-08 23:11:57 -10:00
Simon Michael
4e6f6611a6 dev: fix DisplayName's off-by-one indent value, noted in #2246
Now displayIndent (and prrIndent) 0 means no indent, 1 means one
indent step, etc.
2024-10-08 23:11:57 -10:00
Simon Michael
05fd8e1d69 dev: refactor 2024-10-08 23:11:57 -10:00
Simon Michael
6ce5e85e99 dev: clarify: rename displayDepth/prrDepth to displayIndent/prrIndent
These are about indentation for rendering, not account depth;
these are not always directly related, eg when boring parents are elided.
2024-10-08 23:11:57 -10:00
Henning Thielemann
75ad734edf test: balance: adapt to newly implemented tree mode 2024-10-08 23:07:07 -10:00
Henning Thielemann
ccc605a6a0 cli: Cli.Commands.Balance.renderBalanceAcct: respect that depth is zero-based here (bugfix)
The depth in BalanceReportItem is zero-based,
whereas prrDepth in PeriodicReportRow DisplayName is one-based.
2024-10-08 23:07:07 -10:00
Henning Thielemann
6b0cca4fa8 cli: Cli.Commands.Balance.budgetReportAsSpreadsheet: support for tree mode
use renderPeriodicAcct
2024-10-08 23:07:07 -10:00
Henning Thielemann
e21a8e6d76 cli: Cli.Commands.Balance: use normal space for indentation in text output format 2024-10-08 23:07:07 -10:00
Henning Thielemann
3e2685fe95 cli: Cli.Commands.Balance: support tree mode for HTML, CSV and FODS output
indentation using non-breakable space character
2024-10-08 23:07:07 -10:00
Bas van Dijk
f8daba5e98 dev: remove the dead link: hledger/embeddedfiles/hledger-journal.md 2024-10-05 15:08:02 -10:00
Simon Michael
27c7b7489d ;doc: beancount output: discuss commodity names 2024-10-04 12:46:47 -10:00
Simon Michael
a248cc5bc8 ;doc: beancount output doc/conf file updates 2024-10-03 23:35:36 -10:00
Simon Michael
8c71d071d7 imp:print:beancount:convert account names more robustly; better errors 2024-10-03 23:19:32 -10:00
Simon Michael
cd101882f5 ;examples: hledger2beancount.conf 2024-10-03 23:19:32 -10:00
Simon Michael
79bc5852eb ;doc: output formats: expand, document beancount export and FODS 2024-10-03 22:57:59 -10:00
Simon Michael
b9426616f7 ;doc: bal: improve --layout doc 2024-10-03 22:57:59 -10:00
Simon Michael
e2e1afd8e6 ;examples: hledger.conf.sample: mention --infer-equity and account checking 2024-10-03 05:51:13 -10:00
Simon Michael
c50de03fd0 ;doc: note --infer-equity requires account declarations for check accounts
As reported on mail list.
2024-10-03 05:39:14 -10:00
Simon Michael
f54805a034 ;doc: update changelogs 2024-10-03 04:47:50 -10:00
Henning Thielemann
eeb070195c cli: Cli.Commands.Balance.multiBalanceReportAsHtml: now uses multiBalanceReportAsSpreadsheet
instead of multiBalanceReportHtmlRows.

This way, HTML output automatically supports transposition.
2024-10-02 17:32:57 -10:00
Henning Thielemann
afc320f1ba cli: Cli.Commands.Balance.multiBalanceReportAsSpreadsheetHelper -> multiBalanceReportAsSpreadsheetParts 2024-10-02 17:32:57 -10:00
Henning Thielemann
bb5e64c75f cli: Cli.Commands.Balance.budgetReportAsSpreadsheet: vertically merge duplicate account name cells
This is consistent with simple balance and multi-period balance reports.
2024-10-02 17:30:39 -10:00
Henning Thielemann
41397d0ca4 cli: compoundBalanceReportAsHtml - add class=account to Net row header 2024-10-02 17:29:05 -10:00
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