hledger/hledger-web/Hledger/Web
Stephen Morgan 80cf1d1995 !dev: lib: Allow Account to store date-indexed balances.
This upgrades Account to enable it to store a multiperiod balance, with
a separate balance for each date period. This enables it do the hard
work in MultiBalanceReport.

Some new types are created to enable convenient operation of accounts.
- `BalanceData` is a type which stores an exclusive balance, inclusive
  balance, and number of postings. This was previously directly stored
  in Account, but is now factored into a separate data type.
- `PeriodData` is a container which stores date-indexed data, as well as
  pre-period data. In post cases, this represents the report spans,
  along with the historical data.
- Account becomes polymorphic, allowing customisation of the type of
  data it stores. This will usually be `BalanceData`, but in
  `BudgetReport` it can use `These BalanceData BalanceData` to store
  both actuals and budgets in the same structure. The data structure
  changes to contain a `PeriodData`, allowing multiperiod accounts.

Some minor changes are made to behaviour for consistency:
- --declared treats parent accounts consistently.
- --flat --empty ensures that implied accounts with no postings are not displayed, but
  accounts with zero balance and actual postings are.
2025-06-04 23:10:00 -10:00
..
Handler ;dev:web: fix compilation warning in MiscR.hs 2025-06-03 18:43:31 -10:00
Settings imp:web: more accurate startup messages, eg with --socket [#2127] 2023-12-14 17:58:25 -10:00
Widget !dev: lib: Allow Account to store date-indexed balances. 2025-06-04 23:10:00 -10:00
App.hs imp:web: add an explicit --serve-browse flag, for consistency 2025-03-08 12:41:03 -10:00
Application.hs imp:web: add an explicit --serve-browse flag, for consistency 2025-03-08 12:41:03 -10:00
Import.hs dev:web: rename Hledger.Web.Foundation to Hledger.Web.App 2023-12-15 13:58:25 -10:00
Main.hs fix: make a few more error messages consistent, hiding call stack [#2367] 2025-06-03 10:10:04 -10:00
Settings.hs dev:web:docs 2023-12-15 13:58:25 -10:00
Test.hs fix: make a few more error messages consistent, hiding call stack [#2367] 2025-06-03 10:10:04 -10:00
WebOptions.hs lib: more version helpers, rename to HledgerBinaryInfo, silence warnings 2025-04-25 09:36:38 -10:00