Simon Michael
956ee06591
imp: ui: transaction: refactor
2021-11-19 11:32:09 -10:00
Simon Michael
f5cfcf827d
imp: ui: don't use top margin as a click target yet
2021-11-18 23:01:52 -10:00
Simon Michael
b4254f41c6
;doc: update manuals
2021-11-18 22:57:53 -10:00
Simon Michael
6aa212dd4a
;doc: ui: consistent capitalisation, drop wrong ENTER references
2021-11-18 22:57:34 -10:00
Simon Michael
1d3afad881
;doc: ui: tweak
2021-11-18 22:49:29 -10:00
Simon Michael
568b39734b
;doc: update manuals
2021-11-18 22:48:14 -10:00
Simon Michael
35b16346a9
;doc: ui: document mouse support
2021-11-18 22:43:27 -10:00
Simon Michael
20d8f9f7e2
;doc: bal: fix list formatting
2021-11-18 22:30:03 -10:00
Simon Michael
678d3b0a06
;doc: bal: fix link
2021-11-18 22:28:42 -10:00
Simon Michael
cf15dbd7c9
;doc: update manuals
2021-11-18 22:26:10 -10:00
Simon Michael
be5e6e4167
;doc: update CLI usage texts
2021-11-18 22:24:59 -10:00
Simon Michael
710c054589
ui: listScrollPushingSelection: do scroll if there's no selection
2021-11-18 22:21:37 -10:00
Simon Michael
7bbff6a359
fix: ui: accounts: don't let j or C-n move past bottom
2021-11-18 22:21:37 -10:00
Simon Michael
9f6595f122
ui: refactor, generalise listScrollPushingSelection
2021-11-18 22:21:37 -10:00
Simon Michael
731a416b8c
ui: register: scrolling pushes selection, like accounts screen
2021-11-18 22:21:37 -10:00
Simon Michael
3a57814402
ui: debounced clicking; click top/left margin to exit
2021-11-18 22:21:37 -10:00
Simon Michael
6d69ea9c29
ui: mouse scrolls accounts, register screens
2021-11-18 22:21:37 -10:00
Simon Michael
96a80fca70
ui: register: left click enters transaction screen
2021-11-18 22:21:37 -10:00
Simon Michael
35402fb472
ui: accounts: left click enters register
2021-11-18 22:21:37 -10:00
Simon Michael
2076d5a98b
ui: enable mouse support at startup
2021-11-18 22:21:37 -10:00
Simon Michael
8f37d8a611
;ref: ui: clarify vty construction
2021-11-18 22:21:37 -10:00
Simon Michael
7ba9a4d06b
feat: docs for decimal-mark ( #1670 , #1726 )
2021-11-18 22:17:07 -10:00
Lawrence
fb817ffa55
imp: journal: support decimal-mark directive in journal files
...
To match csv-rule and override amount-style as described in
https://github.com/simonmichael/hledger/issues/1670
2021-11-18 22:17:07 -10:00
Simon Michael
66b969a74c
;imp: bal --layout: streamline help more ( #1751 )
2021-11-18 21:27:47 -10:00
Stephen Morgan
4b6fe2c0bd
;doc: balance: Update docs to mention --layout.
2021-11-18 21:26:02 -10:00
Stephen Morgan
d82416b7b9
imp: balance: Add single-line display with elision back in, this time
...
with a separate option --layout=wide,WIDTH.
2021-11-18 21:26:02 -10:00
Stephen Morgan
8f1ae08f0a
test: balance: Add tests for --layout options.
2021-11-18 21:26:02 -10:00
Stephen Morgan
de2776c996
imp!: balance: Stop eliding long amounts. ( #1739 )
...
This feature has caused a lot of confusion, and we now have better ways
of making sure columns don't get too wide.
2021-11-18 21:26:02 -10:00
Stephen Morgan
7e21f05a83
imp: balance: Implement multi-line display for multicommodity balance reports.
...
This allows more control over how multicommodity amounts are displayed.
In addition to the default single-line display, and the recent commodity
column display, we now have multi-line display. This is controlled by
the --layout option, which has possible values "wide", "tall", and
"bare". The --commodity-column option has been hidden, but is equivalent
to --layout=bare.
squash
2021-11-18 21:26:02 -10:00
Stephen Morgan
3dce61ea09
fix: prices: Do not try to generate prices when there would be a zero
...
denominator.
Also correctly generate reverse prices for zero amounts.
2021-11-18 20:59:52 -10:00
Stephen Morgan
1c90c7f97a
fix: prices: Do not include zero amounts when calculating amounts for balance assignments. ( #1736 )
...
This is not usually a problem, but can get in the way of auto-inferring prices.
2021-11-18 20:59:52 -10:00
Stephen Morgan
e35d0b7865
fix: csv: Successfully parse empty csv file. ( #1183 )
2021-11-18 20:50:02 -10:00
Stephen Morgan
87a7a586d4
fix: csv: Handle multiple zero amounts in postings in csv files. ( #1733 )
2021-11-18 20:48:55 -10:00
Stephen Morgan
c6beb581a1
pkg: Use maximumBound instead of maximumDef to avoid deprecation
...
warnings in safe-0.3.18.
2021-11-14 21:49:58 -10:00
Simon Michael
ee276afc56
ci: fall back on checking last 5 commit messages, instead of 20
...
This will allow CI status to recover faster when a bad commit message
is accidentally merged. In some cases (eg force pushes of PRs with
more than 5 commits) not all commit messages will be checked at all
times.
2021-11-14 15:49:04 -10:00
Simon Michael
ff76927ee8
;backlog: build-tools
2021-11-13 09:34:38 -10:00
Stephen Morgan
8d161ebe32
cln: Silence build warning due to redundant import.
2021-11-11 19:42:06 -10:00
Stephen Morgan
ff0132df28
dev: Use realLength from doclayout instead of strWidth and textWidth. ( #895 )
...
This gives us more accurate string length calculations. In particular,
it handles emoji and other scripts properly.
2021-11-11 18:29:50 -10:00
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