Commit Graph

5289 Commits

Author SHA1 Message Date
Simon Michael
9eb1520b6f help: add --info/--man/--pager/--cat flags, & choose best one by default (#579)
You can select a docs format/viewer with one of the `--info`, `--man`, `--pager`, `--cat` flags.
Otherwise, it will use info if available, otherwise man if available,
otherwise $PAGER if defined, otherwise less if available, otherwise it
prints on stdout (and always prints on stdout when piped).

Preferring info over man might not suit everyone.
2017-07-07 15:42:22 +01:00
Simon Michael
daa9550929 cli: fix -h/--help debug output (#579) 2017-07-07 15:42:16 +01:00
Simon Michael
6e00247df3 rewrite: make test use compiled version like the others
That's the current most robust way. Otherwise, it can fail due to
stack's progress output as it reinstalls hledger libs, and that
reinstallation also forces all the addons to be relinked.
2017-07-07 02:14:29 +01:00
Simon Michael
ee735514fe doc: update builtin manuals 2017-07-07 02:08:38 +01:00
Simon Michael
7e896572a7 make --help and -h the same, drop --man and --info for now (#579) 2017-07-07 02:08:34 +01:00
Simon Michael
23c77a3ae8 doc: mockups: new help notes (#579)
[ci skip]
2017-07-07 02:08:14 +01:00
Simon Michael
190bab5c33 ui: help: tweak key order 2017-07-06 14:11:23 +01:00
Simon Michael
38752565a9 csv: test stderr output more accurately 2017-07-06 14:10:54 +01:00
Simon Michael
b3b33336b4 csv: show the "creating/using rules file" message only with --debug 2017-07-06 14:07:46 +01:00
Simon Michael
817292a1dd bin: mention make addons in readme 2017-07-05 18:27:44 +01:00
Simon Michael
0b6b063fcc check-dupes: requires the hledger package too (#580) 2017-07-05 18:27:13 +01:00
Simon Michael
e94f04311d csv: fix multiple includes in one rules file 2017-07-05 16:08:13 +01:00
Simon Michael
6614aab5d7 csv: add newest-first directive for more robust same-day ordering 2017-07-05 15:24:17 +01:00
Simon Michael
28e8c76a8e csv: rename csv-read.test for easy file finding 2017-07-05 14:49:48 +01:00
Simon Michael
d4268b4c2e tools: make draft-changelog-start, draft-changelog-update
[ci skip]
2017-07-05 08:17:01 +01:00
Simon Michael
d4457931ef cli: document journalApplyValue 2017-07-05 08:08:20 +01:00
Simon Michael
9a5903a505 site: relnote tweaks
[ci skip]
2017-07-01 19:13:37 +01:00
Simon Michael
5ce66fb0de doc, site: final 1.3 changelogs, release notes, announcement
[ci skip]
2017-07-01 18:56:57 +01:00
Simon Michael
f40c19165d tools: make showreleaseauthors 2017-07-01 18:39:18 +01:00
Simon Michael
112668f10c examples: onelinecsv 2017-07-01 17:29:09 +01:00
Simon Michael
17c7600d4c site: download: bump version to 1.3 2017-06-30 23:06:50 +01:00
Simon Michael
c54aef03e7 cli: changelog typo 2017-06-30 23:02:31 +01:00
Simon Michael
8439e1585e doc: 1.3 release notes WIP
[ci skip]
2017-06-30 22:57:28 +01:00
Simon Michael
a05a800668 tools: stack: no need to force brick 0.19 (#578) 2017-06-30 22:48:04 +01:00
Felix Yan
ffe8b47529 Update brick to 0.19 2017-06-30 22:45:34 +01:00
Simon Michael
28c420109d doc: changelogs for 1.3 2017-06-30 22:26:36 +01:00
Simon Michael
6c38f3dc1f tools: make: refactor 2017-06-30 21:14:21 +01:00
Simon Michael
af952532c9 bump package versions to 1.3 2017-06-30 20:57:47 +01:00
Simon Michael
705251ca24 site: add 1.3 manuals snapshot 2017-06-30 20:49:05 +01:00
Simon Michael
c4248072db doc: bump version to 1.3, update builtin manuals 2017-06-30 20:45:50 +01:00
Simon Michael
50efcfe359 ui: accounts: reduce "warping", select alphabetically preceding account
..when selected account disappears, eg when toggling zero accounts.
2017-06-30 19:45:21 +01:00
Simon Michael
1d5f3a44d5 lib: debug: add a log0 that writes to debug.log in the current directory
Seems to work somewhat, might have some laziness issues.
2017-06-30 19:14:57 +01:00
Simon Michael
f666d5fc25 ui: register: reduce "warping", keep selection at nearest txn
When the transaction list changes, eg due to toggling a query filter,
and the previously selected item has disappeared, instead of moving
the selection to the end, we now select the nearest transaction by
date (and if several have the same date, by journal order).
2017-06-30 19:08:51 +01:00
Simon Michael
eab17c8edb ui: transaction: don't show blanks 2017-06-30 19:07:48 +01:00
Simon Michael
8619942388 ui: toggles cleanup 2017-06-30 19:07:26 +01:00
Simon Michael
c642be7570 ui: fix right arrow key 2017-06-30 17:18:54 +01:00
Simon Michael
215b35f7bb ui: doc: update manual 2017-06-30 16:38:06 +01:00
Simon Michael
97964eb2fc ui: consistently support vi & emacs movement keys
hjkl and CTRL-bfnp should now work wherever unmodified arrow keys work.
(You must still use arrow keys with SHIFT for adjusting report period).
2017-06-30 16:37:10 +01:00
Simon Michael
ef5e152fde ui: better scrolling/positioning
In the accounts and register screens:, you can now scroll down further
so that the last item need not always be shown at the bottom of the screen.
Also we now try to center the selected item in the following situations:

- after moving to the end with Page down/End
- after toggling filters (status, real, historical..)
- on pressing the control-l key (should force a screen redraw, also)
- on entering the register screen from the accounts screen (there's a
  known problem with this: it doesn't work the first time).

Items near the top of the list can't be centered, as we don't scroll
higher than the top of the list.
2017-06-30 15:54:30 +01:00
Simon Michael
41d62d669b doc: journal: note that transaction code must be parenthesised 2017-06-30 14:49:19 +01:00
Simon Michael
0ccb8c0779 ui: refactor: consistent order 2017-06-28 12:54:14 +01:00
Simon Michael
ce0d6574e6 ui: show transaction status mark in register screen 2017-06-28 11:47:06 +01:00
Simon Michael
c89901221d site: devguide: note new changelog/relnotes process 2017-06-22 10:12:47 -07:00
Simon Michael
8a847c982b tools: make changelog-draft: show the commits since last tag as org nodes 2017-06-22 09:56:59 -07:00
Simon Michael
2b4e7cdbf7 tools: make tag: add a .ctags file, more detailed tagging of non-haskell files 2017-06-22 07:28:00 -07:00
Simon Michael
0854827310 ui: allow brick 0.18 (#575) 2017-06-20 08:47:25 -07:00
David Reaver
a9959b30c2 Fix date of 1.2 release in CHANGES 2017-06-20 08:45:35 -07:00
Simon Michael
59af88b796 ui: add temporary --status-toggles for testing toggle styles (#564) 2017-06-18 16:20:30 -07:00
Simon Michael
4a61f94d9e site: devguide: add link for issues not categorised as bug or wish 2017-06-16 12:02:35 -07:00
Mykola Orliuk
15c86e1f79 prices: add inverted-costs support and sort output 2017-06-16 11:28:15 -07:00