Stephen Morgan
d1ae0c10d6
pkg: Bump stack lts and nightlies.
2021-11-11 18:29:50 -10:00
Stephen Morgan
f345fd0b78
imp: balance: Allow --related flag for balance reports. ( #1469 )
2021-11-08 14:03:50 -10:00
Stephen Morgan
38e311211d
lib!: Semigroup instance of PeriodicReportRow and PeriodicReport now
...
preserves first prrName, rather than the second.
Previously the second name would be taken, ignoring the first.
2021-11-07 07:56:08 -10:00
Stephen Morgan
1116846881
lib: Add Bifunctor instances for PeriodicReport and PeriodicReportRow.
2021-11-07 07:56:08 -10:00
Stephen Morgan
7597e525a3
fix: balance: Balance reports should consider date: queries when calculating
...
report span with --date2. (#1745 )
2021-11-06 08:51:53 -10:00
Simon Michael
41bde20095
timedot: a D default commodity (and style) is applied to timedot aounts
...
This means they can be priced and converted.
2021-11-05 23:34:46 -10:00
Simon Michael
f00e5c25ec
cln: fix warning
2021-11-05 23:32:47 -10:00
Stephen Morgan
9d5397deb6
fix: print: auto: The print command should always display inferred
...
amounts for --auto generated postings. (#1276 )
2021-10-31 09:42:58 -10:00
Joaquin "Florius" Azcarate
4006ab6d2d
; Fix the link to the developer workdflows
2021-10-31 09:09:55 -10:00
Stephen Morgan
1bc04685b7
pkg: Drop base-compat-batteries dependency.
...
Our supported stackage versions are now new enough that we don't need
any of the compatibility features anymore.
2021-10-31 07:56:07 -10:00
Stephen Morgan
c90e7dbc8d
cln: Move posting rendering functions into Hledger.Data.Posting.
...
Replace showPosting with a wrapper around postingAsLines.
The functions textConcat(Top|Bottom)Padded are no longer used anywhere
in the code base, and can be removed if desired.
This produces slightly different output for showPosting, in particular
it no longer displays the transaction date. However, this has been
marked as ‘for debugging only’ for a while, and is only used in
hledger-check-fancy assertions. The output there is still acceptable.
2021-10-31 07:50:50 -10:00
ShrykeWindgrace
72e94f4d80
; imp: use megaparsec's prettyprinter for assertion parse errors
2021-10-31 07:40:37 -10:00
Dmitry Astapov
4b1919de02
fix: roi: use posting dates when available, honor --date2
...
This will not change the results computed for the typical use-case,
just makes "roi" more thorough/consistent by supporting posting dates
when they are provided.
2021-10-11 11:22:46 -10:00
Simon Michael
1f2c11d1bc
ui: fix breakage from "areg: begin respecting --date2" ( #1731 )
2021-10-10 11:07:15 -10:00
Simon Michael
e4263e69e1
areg: begin respecting --date2: show txns' date2 ( #1731 )
2021-10-10 10:34:45 -10:00
Simon Michael
b4c1188c26
ref!: postingDateOrDate2, transactionDateOrDate2, whichDateFromOpts -> whichDate ( #1731 )
2021-10-10 10:34:35 -10:00
toonn
9ff5ac1288
; PR-template: Change comment syntax
...
The # syntax for comments results in all the lines being rendered as
separate headers because it's markdown syntax for titles. I believe the
markdown custom is to use `<!-- HTML comments -->`.
[ci skip]
2021-10-08 09:11:10 -10:00
toonn
1e4b5203a3
; PR-template: Update dev docs URL
...
The URL in the PR template redirects to a general contributing guide,
which is useful, but it's hard to see the trees for the forest when just
looking for PR and commit guidelines.
[ci skip]
2021-10-08 09:11:10 -10:00
toonn
ec40f5bd78
; cabal.project: Drop compatibility comment
...
The offending syntax is no longer used so the comment can be removed
too. Ideally `allow-newer` isn't used in the project's setup. The
problem should rather be fixed by adjusting constraints, though these
adjustments may need to be made in dependencies upstream.
Fixes #1365
[ci skip]
2021-10-08 08:31:43 -10:00
Simon Michael
7af2e79465
;cabal: update cabal files
2021-10-03 22:56:02 -10:00
Simon Michael
69905dbc25
;pkg: allow megaparsec 9.2
2021-10-03 22:55:10 -10:00
Simon Michael
fc8e482de5
;make: install-as-FOO: build executables and save as bin/hledger*-FOO
2021-10-03 22:55:10 -10:00
Stephen Morgan
94d9c28a63
cln: Replace all uses of deprecated !include with include.
...
Also include a test which makes sure !include is still parsed.
2021-09-27 15:04:35 -10:00
Simon Michael
d45311826b
;doc: BACKLOG: convert to headings
...
Use headings for items again, as far as possible, since they generate link targets.
2021-09-27 12:31:06 -10:00
Simon Michael
b63d1b84de
;make: site: revert
2021-09-27 12:17:11 -10:00
Simon Michael
6658c223d2
;doc: BACKLOG: preserve line breaks
2021-09-27 12:15:46 -10:00
Simon Michael
3027d36ebb
;doc: orgfiles: disable smart dashes in another way
...
Use an org export setting in BACKLOG.org and ROADMAP.org to disable
-- being converted to dashes. Leave the markdown+smart workaround
in Shake.hs also, it's doing no harm and seems useful as backup.
':nil would disable smart quotes as well, but that seems to be org's
default.
2021-09-27 12:15:09 -10:00
Simon Michael
030b1f5d00
;doc: BACKLOG, ROADMAP: improve page TOC
2021-09-27 11:49:52 -10:00
Stephen Morgan
e53e95540e
ci: Recognise any commit starting with ‘Merge’ as a merge commit, which
...
is ignored by commitlint.
2021-09-27 09:40:24 -10:00
Simon Michael
4c0b9bfa24
;doc: RELEASING: cleanup
2021-09-27 02:47:25 -10:00
Simon Michael
fc889fab10
;install: hledger-interest 1.6.3
2021-09-27 02:22:50 -10:00
Simon Michael
3c65efd90b
;doc: merge doc/README with dev docs
2021-09-27 02:20:44 -10:00
Simon Michael
b9c247e958
;doc: CONTRIBUTING
2021-09-27 02:00:30 -10:00
Simon Michael
2393f98251
;doc: add page TOCs to more dev docs
2021-09-27 01:56:13 -10:00
Simon Michael
d62d302fdc
;doc: move more content out of CONTRIBUTING
2021-09-27 01:44:14 -10:00
Simon Michael
0fc4181456
;doc: move more content out of CONTRIBUTING
2021-09-27 01:24:59 -10:00
Simon Michael
fd052d308b
;doc: separate CHANGELOGS, COMMITS docs
2021-09-27 01:01:04 -10:00
Simon Michael
479b0d26b8
;doc: ACHIEVEMENTS: format, update
2021-09-27 00:26:07 -10:00
Simon Michael
049855de4c
;shake: orgfiles: fix unwanted smart typography (BACKLOG, ROADMAP)
...
And document pandoc issues.
2021-09-26 09:57:35 -10:00
Stephen Morgan
5aadcdea4d
ref: Add new helper functions journalValueAndFilterPostings(With)?.
...
Combining valuation with filtration is subtle and error-prone (see e.g. #1625 ).
We have to do in in both MultiBalanceReport and PostingsReport, where it
is done in slightly different ways. This refactors this functionality
into separate functions which are called in both reports, for uniform
behaviour.
2021-09-26 08:13:12 -10:00
Simon Michael
a6d70024d2
Merge pull request #1715
...
;doc: Document restriction on amountless auto postings.
2021-09-26 08:10:18 -10:00
Simon Michael
c89289260f
;shake: try -smart to fix em-dashes in org files, probably no use
...
And some notes.
2021-09-25 13:13:00 -10:00
Simon Michael
ced6ba26a0
;doc: BACKLOG: cleanup
2021-09-25 13:02:06 -10:00
Simon Michael
5b437ea20d
;tools: make site(-watch): add orgfiles
2021-09-25 12:57:38 -10:00
Simon Michael
dff61ccbd9
;doc: BACKLOG: updates; all cli items added
2021-09-25 12:57:38 -10:00
Simon Michael
342ccdfae1
;doc: RELEASING: updates
2021-09-25 12:17:27 -10:00
Simon Michael
277cb4f500
;doc: CONTRIBUTING: updates, components -> topics
2021-09-25 12:16:59 -10:00
Simon Michael
b857307f64
;cabal: update cabal files
2021-09-24 12:22:15 -10:00
Simon Michael
8934c115bd
;pkg: bump version to 1.23.99
2021-09-24 12:22:15 -10:00
Stephen Morgan
ce4fcfae84
imp!: value: For register reports with no reporting interval and
...
--value=end, historical reports should be valued at journal/report end
date.
2021-09-24 11:32:41 -10:00