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
Simon Michael
917e5bb8d5
;doc:Special characters: edits [ #2468 ]
2025-10-09 13:44:25 -10:00
Simon Michael
1ad6f30bf0
;doc:Special characters: rewrite [ #2468 ]
2025-10-09 13:20:41 -10:00
Simon Michael
cca39bc371
;tools: just nightlyrel-notes: fix
2025-10-09 11:53:00 -10:00
Simon Michael
d8df3a3ec3
;tools:just: nightlyrel-bin-copy -> nightlyrel-bin
2025-10-09 11:53:00 -10:00
Caleb Maclennan
e76a2b04b0
docs: Correct documentation about shell escapes
2025-10-09 11:52:37 -10:00
Caleb Maclennan
3c731ae2f7
fix: Only escape special characters by single quoting, not escaping *and* quoting
2025-10-09 11:52:37 -10:00
Caleb Maclennan
8cbe4c6003
fix: Escape special symbols when passing arguments to addons
2025-10-09 11:52:37 -10:00
Simon Michael
abc559f39a
;doc:ui: edit [ #2451 ]
2025-10-09 10:45:01 -10:00
Simon Michael
e42e137b18
;doc:ui: mention how --pivot makes I reload like g [ #2451 ]
2025-10-09 10:36:01 -10:00
Simon Michael
4aa7d7e20d
fix:ui: re-check balance assertions properly when --pivot is used [ #2451 ]
...
When hledger-ui is started with --pivot, re-enabling balance
assertions with the I key now does a full journal reload, to check
balance assertions accurately. It means that in pivot mode, the I key
can also show other data changes (as if you pressed the g key).
2025-10-09 10:29:39 -10:00
Simon Michael
1c86e02d99
;dev: journalTransform: doc
2025-10-09 08:34:59 -10:00
Simon Michael
5206b10d8e
;examples:csv: monefy
2025-10-08 06:44:50 -10:00
Caleb Maclennan
a982f385c7
;doc:ui: remove caveat about unsupported editors
2025-10-07 12:28:45 -10:00
Caleb Maclennan
a7c447a393
;fix:ui: fix file watcher to catch file overwrites
2025-10-07 12:28:45 -10:00
Simon Michael
85a88327b3
;doc: REGRESSIONS
2025-10-07 11:51:01 -10:00
Simon Michael
f52cc6aced
;github:workflows:binaries-linux-x64: fix for brick workaround
2025-10-02 11:06:15 -10:00
Simon Michael
74e2cb274c
;tools:just nightlybin tweak
2025-10-02 10:40:10 -10:00
Simon Michael
0848189e76
;github:workflows:binaries-linux-x64: work around brick bounds issue
...
https://github.com/jtdaugherty/brick/issues/539
2025-10-02 10:34:15 -10:00
Simon Michael
3121deda2f
;pkg:ui: allow brick 2.10, vty 6.5
2025-10-02 10:33:49 -10:00
Simon Michael
91ba75d12d
;github:workflows: rename ghc caching id for clarity
2025-10-02 10:20:02 -10:00
Simon Michael
f7a9190d5b
;github:workflows: update some ghc caching ids
2025-10-02 10:20:02 -10:00