Commit Graph

14572 Commits

Author SHA1 Message Date
Simon Michael
a50d02ca04 ;fix:close:doc:customisation: edit [#2492] 2025-11-01 10:19:50 -10:00
Simon Michael
e4430ea7bc ;fix:close:doc:customisation: clarify [#2492] 2025-11-01 10:17:58 -10:00
Simon Michael
9bfa3862c6 ;doc:ghrelnotes, RELEASING: plan for immutable github releases 2025-10-31 09:29:53 -10:00
Simon Michael
2b15846636 ;doc:depth: rewrite, note combining issue 2025-10-28 14:11:50 -10:00
Simon Michael
db368edb42 ;doc:REGRESSIONS: manage expectations 2025-10-27 12:52:58 -10:00
Simon Michael
45bcc210f9 ;tools:gitignore: don't ignore website source files under site/
allowing them to be easily opened in vscode.
2025-10-26 10:56:12 -10:00
Simon Michael
d66c9d3d74 ;doc:bin/README: link new simplefin doc 2025-10-26 10:55:26 -10:00
Simon Michael
d97fa51b65 ;doc:CHANGES, relnotes:hledger 1.33: fix typo 2025-10-24 11:00:35 -10:00
Simon Michael
54652fa509 ;doc: Setting LEDGER_FILE: rewrite, new windows procedures 2025-10-24 10:30:46 -10:00
Simon Michael
b67555bdb7 ;doc: demote COMMON TASKS subheadings 2025-10-24 10:30:46 -10:00
ooker
e3736fddde ;docs:manual: add info about the -c command line option in the commodity directy section 2025-10-20 03:28:42 -10:00
Simon Michael
8f2b84a783 ;doc:ROADMAP 2025-10-15 13:31:43 -10:00
Simon Michael
7b52df8436 ;doc:ROADMAP 2025-10-15 13:28:44 -10:00
Simon Michael
31b571ae8f ;doc:ROADMAP 2025-10-15 13:28:04 -10:00
Simon Michael
1cfac4318a ;doc:ROADMAP for 2025 2025-10-15 13:25:42 -10:00
Simon Michael
3d79ba5fad ;doc: ACHIEVEMENTS updates 2025-10-15 13:07:00 -10:00
Simon Michael
ddc229b510 ;doc:dev: homebrew install stats 2025-10-15 12:20:15 -10:00
Simon Michael
b9c435fdd6 ;doc: ACHIEVEMENTS: fix rendering with server's older mdbook 2025-10-15 12:16:53 -10:00
Simon Michael
93b184ccca ;tools: just site-restart 2025-10-15 11:58:48 -10:00
Simon Michael
e052ab64d9 ;doc: move github stars info to ACHIEVEMENTS 2025-10-15 11:36:26 -10:00
Simon Michael
b28f028ac7 ;doc:ACHIEVEMENTS 2025-10-15 08:27:02 -10:00
Simon Michael
d798498db6 ;doc:ACHIEVEMENTS: made the top 20 2025-10-15 08:15:21 -10:00
Simon Michael
c17b15e454 ;imp:setup: accounts of all types wording 2025-10-13 11:46:07 -10:00
Simon Michael
71b4a1a281 ;doc:changelogs 2025-10-13 11:35:15 -10:00
Simon Michael
7e885134b3 ;doc: update embedded manuals 2025-10-13 11:28:41 -10:00
Simon Michael
d066c62dd0 ;doc: update command docs 2025-10-13 11:28:36 -10:00
Simon Michael
9af95105b4 imp:print: rename --location to --locations for consistency
with `accounts`. --location still works, as a hidden flag.
2025-10-13 10:14:38 -10:00
Simon Michael
64023478b7 imp:accounts: rename --positions to --locations for consistency
with `print`. --positions still works, as a hidden flag.
2025-10-13 10:11:18 -10:00
Simon Michael
8b125a2ee6 ;doc:aregister: clarify 2025-10-13 09:55:54 -10:00
Simon Michael
25f04dd367 feat:commodities,payees,tags: add --find mode, like accounts command
This improves consistency (in error messages too) and seems useful.

Also sync the order of account's options/option docs.
2025-10-13 09:55:22 -10:00
Simon Michael
102c972130 ;tools:gitignore: don't ignore bin/* 2025-10-12 12:55:09 -10:00
Simon Michael
0a7699d0a8 ;doc:print: note another parseability breaker 2025-10-12 12:54:56 -10:00
Simon Michael
61b0190cf4 ;doc:print: clarify amount styling 2025-10-11 18:02:23 -10:00
Simon Michael
13d1642e5c ;doc:changelogs 2025-10-11 15:03:26 -10:00
Simon Michael
7c04f67c08 ;doc:REGRESSIONS 2025-10-11 11:28:40 -10:00
Simon Michael
bd0a45d448 fix:PeriodData: simplify, use Day keys [#2479]
This is clearer and slightly better-performing than using Integer.
2025-10-11 11:27:58 -10:00
Simon Michael
438c4a0469 fix:PeriodData: use Integer keys to avoid date wraparound bugs [#2479]
PeriodData's use of Int keys caused wrong results with periodic
reports involving dates outside the machine-specific limits of Int.
Those were:

64 bits: -25252734927764696-04-22..25252734927768413-06-12
32 bits: -5877752-05-08..5881469-05-27
16 bits:  1769-02-28..1948-08-04
 8 bits:  1858-07-12..1859-03-24

32 bits is supported by MicroHS; 16 and 8 bits aren't supported by
any known haskell version, but that could change in future.

For example, on 64 bit machines we got:

25252734927768413-06-12 PeriodData's max date
   (expenses)   1

25252734927768414-01-01 next year past PeriodData's max date
   (expenses)   2

$ hledger reg -O csv --yearly
"txnidx","date","code","description","account","amount","total"
"0","-25252734927764696-11-10","","","expenses","1","1"

Now it uses Integer (like the time package), fixing the bug.
And benchmarking shows memory and time usage slightly improved
(surprisingly; tested with up to 500 subperiods, eg
hledger -f examples/10ktxns-1kaccts.journal reg -1 cur:A -D >/dev/null)
2025-10-11 11:27:58 -10:00
Simon Michael
70e9e7b060 ;dev: lookupDayPartition -> dayPartitionFind 2025-10-11 11:02:18 -10:00
Simon Michael
2e78a53931 ;dev: dayPartitionSpans -> dayPartitionStartEnd 2025-10-11 11:02:18 -10:00
Simon Michael
8779f2481a ;dev: PeriodData, DayPartition: haddock updates
Clarify some things. Also note an example of PeriodData wrapping around.
2025-10-11 11:02:18 -10:00
Simon Michael
cef35b97bd ;doc: move the project changelog to doc/, for easy consistent paths
Leave a top-level CHANGES placeholder for discoverability.
2025-10-11 10:11:10 -10:00
Simon Michael
d6ddacbec4 ;doc:AUTHORS.md: move to doc/ 2025-10-11 10:09:06 -10:00
Simon Michael
8e589835b7 ;pkg:hls config for cabal & haskell-debugger 2025-10-10 20:25:40 -10:00
Simon Michael
fc70e0d300 ;pkg:stack config for ghc 9.14 2025-10-10 20:20:03 -10:00
Simon Michael
f4c8508271 ;pkg:cabal config for ghc 9.14 2025-10-10 19:15:49 -10:00
Simon Michael
d798be69c5 ;doc:REGRESSIONS 2025-10-10 18:13:42 -10:00
Simon Michael
653cf189e0 ;doc:1.50.2: use correct real name 2025-10-09 15:31:58 -10:00
Stephen Morgan
4e9fa1615c dev!: lib: Refactor splitSpan to return Maybe DayPartition.
This eliminates all error calls from the chain calculating report
periods.
2025-10-09 15:31:28 -10:00
Stephen Morgan
b9caa4d948 dev!: balance: Use DayPartition for multibalance reports.
This allows us to guarantee that the report periods are well-formed and
don't contain errors (e.g. empty spans, spans not contiguous, spans not
a partition).

Note the underlying representation is now for disjoint spans, whereas
previously the end date of a span was equal to the start date of the
next span, and then was adjusted backwards one day when needed.
2025-10-09 15:31:28 -10:00
Simon Michael
288ced572c ;doc:Special characters: edits [#2468] 2025-10-09 13:58:34 -10:00