Stephen Morgan
4a80551406
fix: price: Make sure inferred market prices have the correct sign with
...
total prices. (#1813 )
Also reduce duplication for inferring market prices (previously it was
done separately in both Hledger.Data.Journal and
Hledger.Cli.Commands.Prices), and remove *TotalPriceToUnitPrice
functions, since unit prices cannot represent all total prices.
Add a helper function numDigitsInt to get the number of digits in an
integer, which has a surprising number of ways to get it wrong.
2022-03-10 17:34:49 -10:00
Stephen Morgan
45408183fe
dev: reg: areg: Strip prices early on in PostingsReport and AccountTransactionsReport, when possible.
...
This results in big speedups in cases when we have many transaction prices, like in examples/10000x1000x10.journal. This can be disabled with the show_costs_ option in ReportOpts.
2022-03-10 17:21:40 -10:00
Simon Michael
25e3cca2e1
doc: regex aliases update ( #1832 )
2022-03-10 17:13:34 -10:00
Stephen Morgan
a65e64115a
fix: alias: Allow escaped characters in regular expression aliases. ( #982 )
2022-03-10 17:00:03 -10:00
Stephen Morgan
852ba7b100
fix: bin: Get hledger-print-location working.
2022-03-10 16:56:46 -10:00
Stephen Morgan
19ed6d3f00
cln!: sourcepos: Use megaparsec-supplied sourcePosPretty.
...
Change showSourcePos to sourcePosPretty, and showSourcePosPair to
sourcePosPairPretty.
2022-03-10 16:56:28 -10:00
Simon Michael
f0e00b3a43
;doc: update changelogs
2022-03-10 16:55:46 -10:00
Simon Michael
c7afe77cd9
doc: credits: keep names on one line
2022-03-10 16:25:32 -10:00
Simon Michael
965266a5b7
doc: releasing: cleanups
2022-03-08 15:25:10 -10:00
Simon Michael
54f5e983c1
doc: releasing: tweaks
2022-03-08 14:59:29 -10:00
Simon Michael
12de1cf753
doc: releasing: tweaks
2022-03-08 14:58:39 -10:00
Simon Michael
508799f6e4
doc: releasing: table cleanup
2022-03-08 14:54:31 -10:00
Simon Michael
f2534c1908
doc: readme tweaks
2022-03-08 14:27:29 -10:00
Simon Michael
b0c4d923a7
doc: readme tweaks
2022-03-08 14:19:01 -10:00
Simon Michael
d3ef6df75a
doc: README cleanup
...
Updates inspired by some feedback from README reviewer Lars Wirzenius.
("I like that the README starts with an explanation of what the project
is all about. I like that the README is short and to the point. I like
that the license is stated explicitly.
I feel that the README doesn't really present the whole plain text
accounting concept very well, though. I realize that linked home page
goes into that much more, but it might be worth add a short example of
a ledger input file, and a sample output, to the README.")
2022-03-08 14:12:31 -10:00
Simon Michael
237587c162
doc: RELEASING cleanup
2022-03-07 18:10:37 -10:00
Simon Michael
460a1fc209
;doc: update manuals
2022-03-07 09:33:11 -10:00
Simon Michael
2b978869dd
doc: journal: clarify == assertions
2022-03-07 08:49:03 -10:00
Simon Michael
b1c882ccdf
tools: release: prep: more verbose progress output
2022-03-05 13:36:13 -10:00
Simon Michael
af7a5f98e3
;cabal: update cabal files
2022-03-05 13:24:48 -10:00
Simon Michael
5aab2cbf40
;pkg: bump version to 1.25.99
2022-03-05 13:24:48 -10:00
Simon Michael
347adbed34
tools: release relfiles
2022-03-05 13:21:10 -10:00
Simon Michael
5707abbd69
doc: changelog tweaks
2022-03-04 20:25:42 -10:00
Simon Michael
5af6226958
install: 1.25
2022-03-04 20:08:09 -10:00
Simon Michael
156729e4b8
doc: announce 1.25
2022-03-04 20:08:09 -10:00
Simon Michael
e4ca7187fe
doc: finalise changelogs for 1.25
2022-03-04 17:51:59 -10:00
Simon Michael
2ee914bdc7
;doc: update changelogs
2022-03-04 17:04:50 -10:00
Simon Michael
b5bb3b4d03
pkg: bump to stackage nightly-2022-03-03
2022-03-04 15:38:57 -10:00
Simon Michael
7a999d0afb
pkg: install: also install hledger-stockquotes
2022-02-25 16:38:20 -10:00
Simon Michael
e9c19e12ef
;cln: redundant pragma
2022-02-11 09:22:26 -10:00
Simon Michael
44211c1c57
ref: move Posting account name fns to AccountName
...
accountNamePostingType accountNameWithoutPostingType accountNameWithPostingType
joinAccountNames
concatAccountNames
accountNameApplyAliases accountNameApplyAliasesMemo
2022-02-11 09:18:35 -10:00
Simon Michael
5a0d61998a
bin: check-fancyassertions: add docs to --help output
2022-02-10 08:20:54 -10:00
Simon Michael
c301a08195
doc: releasing: tweak
2022-02-08 08:36:11 -10:00
Simon Michael
9c3ee3ada4
doc: commits: tweak
2022-02-07 12:02:30 -10:00
Simon Michael
bf9e019bcb
tools: commitlint: update/simplify
2022-02-07 11:58:29 -10:00
Simon Michael
223c60222e
doc: commits: update/rewrite
2022-02-07 11:58:29 -10:00
Simon Michael
cddc719bd1
tools: commitlint: allow a git "fixup! " prefix
...
(Allows git commit --fixup and magit c F to work)
2022-02-07 11:58:29 -10:00
Simon Michael
41d7c7f6b3
doc: lib: changelog fix
2022-02-07 11:58:29 -10:00
Simon Michael
cead9c4700
doc: releasing: tweak
2022-02-07 11:58:29 -10:00
Stephen Morgan
2f47ae05c6
fix: csv: Allow unicode in field references for csv. ( #1809 )
2022-02-06 14:16:17 -10:00
Simon Michael
6760379d64
doc: releasing: tweaks
2022-02-06 13:05:01 -10:00
Simon Michael
c4790d64f5
doc: releasing, changelogs updates
2022-02-06 12:04:29 -10:00
Simon Michael
71f9c7985f
doc: changelog updates from release branch
2022-02-05 22:09:20 -10:00
Simon Michael
ef4da90538
;doc: update changelogs
2022-02-05 14:57:53 -10:00
Simon Michael
443e49214d
tools: shake: sync with stack.yaml
2022-02-05 07:28:59 -10:00
Simon Michael
5076389161
;doc: account types
2022-02-03 16:38:22 -10:00
Simon Michael
987e2751d9
tools: commitlint: update doc url
2022-02-03 16:27:32 -10:00
Simon Michael
dea13e08ab
;doc: account account types tweak ( #1822 )
2022-02-03 16:27:19 -10:00
Simon Michael
8ef82f5cd8
;doc: account type updates ( #1822 )
2022-02-03 15:41:12 -10:00
Simon Michael
4ec441925a
;doc: account type updates ( #1822 )
2022-02-03 15:37:23 -10:00