Simon Michael
67635106d2
fix help
2019-12-14 18:06:24 -08:00
Simon Michael
4cd2c35ad4
;ui: E key: support positioning with nano editor
2019-12-14 17:57:24 -08:00
Simon Michael
1bf271a8c4
;ui: clarify editorOpenPositionCommand
2019-12-14 17:54:29 -08:00
Simon Michael
a09513c3fb
;ui: refactor: consolidate EditorType definition and related code
2019-12-14 17:43:52 -08:00
Simon Michael
47567cd770
;fix some warnings with GHC 8.10 alpha
...
hledger is GHC 8.10 ready!
2019-12-14 17:30:19 -08:00
Simon Michael
5a2bcecf26
;doc: finalise changelogs
2019-12-03 08:41:44 -08:00
Simon Michael
ac360893f5
ui: bump to 1.16.1 also, requiring hledger 1.16.1
2019-12-03 08:41:44 -08:00
Simon Michael
6ae837f820
;doc: changelogs
2019-12-03 08:41:44 -08:00
Simon Michael
d922b6e798
;doc: regen manuals
2019-12-01 10:12:29 -08:00
Simon Michael
6daebf60ea
;regen cabal files
2019-12-01 10:05:37 -08:00
Simon Michael
87d0491103
;bump version to 1.16
2019-12-01 10:03:58 -08:00
Simon Michael
c90c0867c4
;doc: changelogs
...
[ci skip]
2019-12-01 09:59:01 -08:00
Simon Michael
359a118900
;doc: draft changelog updates
...
[ci skip]
2019-11-29 07:57:54 -08:00
Simon Michael
ebedae01cf
;cabal: remove special cases for unsupported GHC 7
2019-11-28 14:59:18 -08:00
Simon Michael
08951ac3e8
;cabal: add ghc 8.8 to tested-with
...
[ci skip]
2019-11-28 14:59:10 -08:00
Simon Michael
843d394077
cli, ui, web: support GHC 8.8, add stack-ghc8.8.yaml ( #1090 )
...
hledger-web needs an unreleased version of json.
2019-11-28 14:31:48 -08:00
Simon Michael
5dac8af2ef
;ui: fix build error due to tests rewrite
2019-11-27 21:54:31 -08:00
Simon Michael
e893c9c107
;doc: regen manuals
...
[ci skip]
2019-11-23 11:33:55 -08:00
Simon Michael
1432914081
;ui: doc tweaks
...
[ci skip]
2019-11-23 11:33:55 -08:00
Simon Michael
d8bf72ae73
;doc: regen manuals
...
[ci skip]
2019-11-21 17:33:04 -08:00
Simon Michael
332624f9fa
ui: B and V keys toggle display of cost, value
2019-11-21 17:33:04 -08:00
Mykola Orliuk
5287fe671b
;all: hide RawOpts internals
...
This way we can ensure we always use only functions from RawOptions.
2019-11-18 17:38:39 -08:00
Mykola Orliuk
8991419c68
;all: drop dummy decodeRawOpts
2019-11-18 17:38:39 -08:00
Mykola Orliuk
ab9c150759
;lib: clean out showTransactionUnelided
...
Keep aliases until next major release.
2019-11-16 12:53:07 +01:00
Simon Michael
3f530f5b54
;doc: update changelogs, including #1095
...
[ci skip]
2019-11-07 16:37:03 -08:00
Simon Michael
e83cbacbf6
;ui: help: pmi -> p/m/i
2019-10-19 18:47:39 -07:00
Mykola Orliuk
78146978f4
;lib: store raw opts unquoted
...
It looks like we only need quote when we build query and in some
messages.
Fixes simonmichael/hledger#1079
2019-10-19 14:44:08 -07:00
Simon Michael
24ce2686f4
drop GHC 7.10/base 4.8 support, finally, due to MonadFail hassles
...
in JournalReader.hs. If you still need this, feel free to work on
those errors. But hopefully not, because dropping base 4.8 should
permit some code cleanups.
2019-09-14 03:45:37 -07:00
Simon Michael
a0deb88796
;doc: regen manuals
...
[ci skip]
2019-09-13 11:00:03 -07:00
Simon Michael
f65fc47185
;bump version to 1.15.99
...
[ci skip]
2019-09-13 08:43:33 -07:00
Simon Michael
e851bdf834
;doc: changelogs
...
[ci skip]
2019-09-13 08:43:33 -07:00
Simon Michael
af21ae6eb6
;doc: regen manuals
...
Wrapping and hyphenation has changed again, which I thought would
be more stable now with same tool versions on laptop and server.
Who knows.
2019-09-13 08:43:33 -07:00
Simon Michael
acd7010e5a
;doc: "curses-style interface" -> "terminal interface"
...
[ci skip]
2019-09-10 18:14:16 -07:00
Simon Michael
85d48a6b0e
;doc: regen manuals (on server)
...
Usually done on my laptop, but the toolchain on both machines should
produce the same result these days..
[ci skip]
2019-09-09 08:04:26 -07:00
Simon Michael
3b35e0afca
;site: manuals: fix many links that went to a prerelease manual
...
[ci skip]
2019-09-09 06:24:08 -07:00
Simon Michael
499e20c0b2
lib, cli, ui: start using Control.Monad.Fail, allow base-compat 0.11
...
fail is moving out of Monad and into it's own MonadFail class.
This will be enforced in GHC 8.8 (I think).
base-compat/base-compat-batteries 0.11.0 have adapted to this,
and are approaching stackage nightly
(https://github.com/commercialhaskell/stackage/issues/4802 ).
hledger is now ready to build with base-compat-batteries 0.11.0, once
all of our deps do (eg aeson). We are still compatible with the older
0.10.x and GHC 7.10.3 as well.
For now we are using both fails:
- new fail (from Control.Monad.Fail), used in our parsers, imported
via base-compat-batteries Control.Monad.Fail.Compat to work with
older GHC versions.
- old fail (from GHC.Base, exported by Prelude, Control.Monad,
Control.Monad.State.Strict, Prelude.Compat, ...), used in easytest's
Test, since I couldn't find their existing fail implementation to update.
To reduce (my) confusion, these are imported carefully, consistently,
and qualified everywhere as Fail.fail and Prelude.fail, with clashing
re-exports suppressed, like so:
import Prelude hiding (fail)
import qualified Prelude (fail)
import Control.Monad.State.Strict hiding (fail)
import "base-compat-batteries" Prelude.Compat hiding (fail)
import qualified "base-compat-batteries" Control.Monad.Fail.Compat as Fail
2019-09-08 17:13:47 -07:00
Simon Michael
16a3c96da0
;doc: regen manuals
...
[ci skip]
2019-09-02 11:11:56 -07:00
Simon Michael
ede6a51f08
;doc: finalise changelogs
...
[ci skip]
2019-09-01 08:53:06 -07:00
Simon Michael
00f3ad8d3f
;doc: changelogs
...
[ci skip]
2019-09-01 08:53:06 -07:00
Simon Michael
b1859769ac
;doc: regen man pages
...
[ci skip]
2019-09-01 08:53:06 -07:00
Simon Michael
29f7654c3a
bump versions to 1.15
2019-09-01 08:53:06 -07:00
Simon Michael
c2736be4aa
;doc: changelogs
...
[ci skip]
2019-08-30 21:26:23 -07:00
Simon Michael
81c58f34b9
;doc: fix images in ui, web manuals
...
[ci skip]
2019-08-26 09:37:03 -07:00
Simon Michael
da6718806a
;doc: don't add page TOCs any more, sphinx has it covered
...
[ci skip]
2019-08-26 09:37:03 -07:00
Simon Michael
8a7905ac73
;doc: changelogs
...
[ci skip]
2019-08-19 12:03:54 +01:00
Simon Michael
c7f9356fd1
;doc: edit changelogs
...
[ci skip]
2019-07-25 12:33:58 +01:00
Simon Michael
030a409dd3
;doc: update changelogs
...
[ci skip]
2019-07-25 08:48:01 +01:00
Caleb Maclennan
11d9e5eb6a
code: Strip extraneous trailing whitespace from Haskell sources
2019-07-15 16:40:49 +01:00
Simon Michael
7d5f33441e
;doc: draft changelogs
...
[ci skip]
2019-07-12 23:24:10 +01:00
Simon Michael
a6e9b11a54
;cabal: bump tested-with, regen cabal files
...
[ci skip]
2019-07-12 23:24:10 +01:00
Simon Michael
692620180e
;lib: refactor: change AmountPrice to a Maybe
...
I've wanted to do this for a long time; now that prices are in flux,
seems a good time.
2019-06-13 15:50:01 -07:00
Simon Michael
233f72b7bf
; ui, web: mention out-of-step server clock issue for file reloading
...
[ci skip]
2019-06-11 10:20:57 -07:00
Simon Michael
faf85d91e3
cli: restore --aux-date and --effective as --date2 aliases ( #1034 )
...
These Ledger-ish spellings were dropped over the years, to improve
--help's layout. Now they work again, but are considered hidden flags
so --help doesn't show them automatically (but I decided to mention
them manually in --date2's description).
2019-06-02 08:48:41 -07:00
Simon Michael
5e54920160
;regen embedded manuals
2019-05-23 22:26:43 -07:00
Simon Michael
cca0b7aec6
;update changelogs
2019-05-04 12:21:54 -07:00
Simon Michael
1ac6c04005
; ui: changelog from 1.14.2
2019-03-20 17:49:22 -07:00
Simon Michael
a0462533d9
; ui: regen cabal file
2019-03-20 17:41:50 -07:00
Simon Michael
b2e7cc7827
ui: support brick 0.47+ as well
...
I should have supported latest brick, to get into stackage nightly.
Now it does.
No upper bound, once again; responding lazily to brick API changes
seems less disruptive overall.
2019-03-20 17:38:44 -07:00
Simon Michael
c9e16b83ef
; propagate dev version bump
2019-03-20 17:13:59 -07:00
Simon Michael
124aaffd34
; merge latest changelogs
2019-03-20 16:18:04 -07:00
Simon Michael
3d206ad6bd
; changelogs from 1.14 branch
2019-03-20 16:18:04 -07:00
Simon Michael
fee0e39320
; lib, cli, ui, web, api: bump to dev version
2019-03-20 16:18:04 -07:00
Simon Michael
8ef4caa46f
ui: upper bound on brick to fix build ( #995 )
2019-03-20 16:18:04 -07:00
Simon Michael
928ddfeb13
bump hledger version to 1.14.1, and other pkgs' lower bounds
2019-03-01 18:39:25 -08:00
Simon Michael
172dbc7a90
doc: changelogs
...
[ci skip]
2019-03-01 17:46:37 -08:00
Simon Michael
0cd5545e26
regen cabal files/manuals
...
[ci skip]
2019-03-01 16:17:25 -08:00
Simon Michael
68e5c41d52
bump version, manual dates
...
[ci skip]
2019-03-01 16:11:15 -08:00
Simon Michael
9fab3257e8
regen cabal files
2019-03-01 15:44:40 -08:00
Simon Michael
9bb6f75bc8
update tested-with, add ghc 8.6
...
[ci skip]
2019-03-01 15:10:42 -08:00
Jakub Zárybnický
6becbc78f3
cli, web, ui: Replace withJournalDo* variants
2019-03-01 05:42:30 -08:00
Simon Michael
3b47b58aec
lib: clarify transaction balancing & balance assertion checking
2019-02-20 09:14:30 -08:00
Simon Michael
21fac53954
doc: regen manuals
...
[ci skip]
2019-02-11 14:15:44 -08:00
Jakob Schöttl
98d7c073c7
Reduce simple lambda
2019-02-09 12:47:24 -08:00
Simon Michael
94753f1cea
bump to dev version
2019-02-08 11:33:44 -08:00
Simon Michael
a18e4e9773
hpack: drop quotes from version: field, apparently not required
...
[ci skip]
2019-02-05 06:35:40 -08:00
Simon Michael
78ee11d795
ui: set .version to correct value
...
[ci skip]
2019-02-04 18:58:57 -08:00
Simon Michael
18ffa65168
tools: move setversion to shake, use PKG/.version, set upper bounds
...
./Shake setversion will now propagate the version number in each
package's .version file, to all the places in that package where it's
needed (ie the defs.m4 file and multiple places in the package.yaml
file. Also it now updates upper bounds on other hledger packages
to the next major version. (The new lower/upper bounds may not always
be what's desired, manual review required.)
[ci skip]
2019-02-04 18:47:27 -08:00
Simon Michael
bde46f7bd0
doc: move version, release date entirely into per-package macros
...
[ci skip]
2019-02-04 15:28:23 -08:00
Simon Michael
bf6acf52ef
doc: allow per-package m4 defs, to override things like version
...
[ci skip]
2019-02-04 15:18:51 -08:00
Simon Michael
a73f1152df
ui: changelog, bump version to 1.13.1
...
[ci skip]
2019-02-02 09:20:17 -08:00
Simon Michael
98e3358046
ui: more defensive brick list imports to fix recent breakage
2019-02-02 08:22:23 -08:00
Simon Michael
fda41373f7
ui: fix build issues with older brick/snapshots, require brick 0.23+
2019-02-01 21:05:56 -08:00
Simon Michael
f9b85a1d4c
update embedded docs
2019-02-01 17:23:12 -08:00
Simon Michael
40d1572359
bump version to 1.13
2019-02-01 17:19:19 -08:00
Simon Michael
ca0d0b0d81
doc: changelogs
2019-02-01 17:13:16 -08:00
Simon Michael
9955f53b9b
doc: changelogs cleanup
...
[ci skip]
2019-01-31 15:43:08 -08:00
Simon Michael
9fe3212940
changelogs
...
[ci skip]
2019-01-28 10:45:25 -08:00
Simon Michael
2df8a6c4de
doc: regen manuals
2019-01-26 15:56:43 -08:00
Simon Michael
17cd5b2254
doc: update changelogs
...
[ci skip]
2019-01-26 11:35:08 -08:00
Simon Michael
0a31ef848f
doc: update changelogs
...
[ci skip]
2019-01-26 11:31:39 -08:00
Simon Michael
1e5e30ae87
regen cabal files
...
[ci skip]
2019-01-25 18:33:39 -08:00
Simon Michael
d517aef702
doc: changelogs: drop unnecessary backslashes before #*_<>$
...
sed commands:
s/\\#/#/g;
s/\\\*/*/g;
s/\\_/_/g;
s/\\</</g;
s/\\>/>/g;
s/\\\$/$/g;
[ci skip]
2019-01-25 18:30:09 -08:00
Simon Michael
7b67876a80
doc: changelogs: convert to clean pandoc markdown
...
pandoc options:
-f markdown-auto_identifiers
-t markdown-header_attributes-fenced_code_attributes --atx-headers --wrap=preserve
[ci skip]
2019-01-25 18:23:36 -08:00
Simon Michael
01c6f3e665
doc: changelogs: rename to CHANGES.md
...
These have been an adhoc mixture of plain text, markdown and org, and
used in each mode at different times. They will now have a definite
format, which for now is markdown. Org was another contender.
[ci skip]
2019-01-25 18:12:33 -08:00
Simon Michael
1525f3b706
doc: ui: typo!
...
[ci skip]
2019-01-25 17:25:59 -08:00
Simon Michael
1969a42a72
doc: ui: fix bullet list
...
[ci skip]
2019-01-24 15:42:23 -08:00
Simon Michael
67dde9d4ae
doc: regenerate manuals, removing some smart typography
...
[ci skip]
2019-01-24 15:37:40 -08:00
Simon Michael
ad424e0381
ui: C-z suspend now restores the terminal cleanly
2019-01-23 17:26:27 -08:00
Simon Michael
cc0764eac2
ui: on posix, support ctrl-z to suspend the program
2019-01-18 16:33:06 -08:00
Simon Michael
c02647d05e
ui: support ctrl-l everywhere
2019-01-18 16:32:57 -08:00
Simon Michael
bb5d6c47c6
ui: probably more effective redraw when pressing Ctrl-l
...
Now uses vtyRefresh.
2019-01-18 16:32:52 -08:00
Simon Michael
c5ae8e6891
comments
2019-01-16 13:58:04 -08:00
Simon Michael
389eaa4c5d
ui: whitespace
2019-01-15 06:18:35 -08:00
Simon Michael
e6392b3d46
ui: streamline top status info
2019-01-05 18:42:03 +00:00
Simon Michael
3cf21190c0
update embedded manuals
2019-01-05 07:35:54 +00:00
Simon Michael
0ed3ec08fa
bump version to 1.12.99
2019-01-05 07:35:54 +00:00
Simon Michael
b7f3b69899
ui: changelog, bump to 1.12.1
2018-12-10 10:59:43 +00:00
Simon Michael
a94e632524
ui: avoid brick reverse clash ( #935 )
2018-12-10 10:48:40 +00:00
Simon Michael
40713ee7aa
update embedded manuals
2018-12-02 17:26:18 -08:00
Simon Michael
67d7c82e9f
bump version to 1.12
2018-12-02 17:20:34 -08:00
Simon Michael
2d51cef88e
doc: changelogs
2018-12-02 13:29:00 -08:00
Simon Michael
b2b25d2523
doc: changelogs: tweak descriptions
2018-11-25 21:06:33 -08:00
Simon Michael
12d3ba6fc0
ui: refactor, try to clarify toggles' help
...
Consistent ordering with most-used toggles first, more intuitive wording
2018-11-04 13:54:20 -08:00
Mykola Orliuk
99bfebd1a1
ui: support all results of showGenericSourcePos
...
Resolves simonmichael/hledger#904
2018-10-26 16:32:16 -07:00
Simon Michael
d1a20553e3
ui: fix Any build error with GHC < 8.4
2018-10-24 12:20:52 -07:00
Peter Simons
4e8f2c11d3
Allow building with base-4.12.
...
The build succeeds just fine and all test suites pass, too.
2018-10-24 10:35:11 -07:00
Simon Michael
119e1e3a49
ui: register: positive amounts: green -> black
...
The green/red scheme helped distinguish the changes column from the
black/red balance column, but the default green is hard to read on
the pale background in some terminals. Less is more. Also the changes
column is non-bold now.
2018-10-23 07:40:06 -07:00
Simon Michael
7ebf3a276b
ui: style tweaks; cyan/blue -> white/yellow
2018-10-23 07:15:11 -07:00
Simon Michael
3dd2bfd01d
ui: style tweaks, white instead of cyan
2018-10-23 06:47:30 -07:00
Simon Michael
42a4a4a7e4
ui: use "border" instead of borderAttr everywhere
...
Assume it won't change, it's clearer and more consistent.
2018-10-23 06:43:21 -07:00
Simon Michael
5bc82e9536
ui: themes cleanup, style tweaks
2018-10-23 06:33:21 -07:00
Simon Michael
f66bb8d5c0
ui: style help headings & keys; style cleanups
2018-10-23 06:07:35 -07:00
Simon Michael
16faa7dd9c
ui: capitalise cursor keys in quick help, like help dialog
2018-10-23 05:43:57 -07:00
Simon Michael
3ef8d9fc82
ui: color help dialog like the borders, make it pop
2018-10-23 05:43:42 -07:00
Simon Michael
f10f9b6a17
ui: ensure more consistent quiet style in horizontal borders ( #838 )
2018-10-23 05:41:42 -07:00
Simon Michael
cf9eb78ad2
ui: UIUtils export list, cleanup
2018-10-23 05:21:08 -07:00
Simon Michael
80dc2ef03f
update cabal files with hpack 0.31
...
As in latest stack release. Hopefully this won't unleash horrors.
2018-10-18 14:44:16 -07:00
Simon Michael
b1582b29b1
ui: doc: update manuals
2018-10-18 14:43:00 -07:00
Simon Michael
74611a7be1
ui: accounts: fix balances when there's only periodic txns
...
And clarify multiBalanceReport.
2018-10-18 14:43:00 -07:00
Simon Michael
89a0c7a308
ui: comment
2018-10-18 14:43:00 -07:00
Simon Michael
2edb1f2705
ui: always enable periodic transactions and transaction modifiers
...
Rule-based transactions and postings are always generated
(--forecast and --auto are always on).
Experimental.
2018-10-18 14:43:00 -07:00
Simon Michael
b85bbbb095
ui: drop the --status-toggles flag
2018-10-18 14:43:00 -07:00
Simon Michael
a924ad047e
ui: drop the --present flag
2018-10-18 14:43:00 -07:00
Simon Michael
2a44d7eb26
ui: reorganise help dialog, fit content into 80x25 again
2018-10-18 14:43:00 -07:00
Simon Michael
cf6f4ed28c
ui: escape key resets to flat mode
...
Flat mode is the default at startup. Probably it should reset to tree
mode if --tree was used at startup.
2018-10-18 14:43:00 -07:00
Simon Michael
1b42d34a78
ui: small help tweak
...
[ci skip]
2018-10-18 14:43:00 -07:00
Simon Michael
52ee10bd87
ui: reg: ensure T always has a visible effect
2018-10-18 14:43:00 -07:00
Simon Michael
1c3233cc0f
ui: replace odd-looking pattern
2018-10-18 14:43:00 -07:00
Simon Michael
1db9b018f1
ui: add --present/--future, hide future txns by default, toggle with F
...
You may have transactions dated later than today, perhaps piped from
print --forecast or recorded in the journal, which you don't want to
see except when forecasting.
By default, we now hide future transactions, showing "today's balance".
This can be toggled with the F key, which is easier than setting a
date query. --present and --future flags have been added to set the
initial mode.
(Experimental. Interactions with date queries have not been explored.)
2018-10-18 14:43:00 -07:00
Simon Michael
e52430bd62
ui: default theme: reduce highlighting noise in bottom border help
2018-10-18 14:43:00 -07:00
Simon Michael
89712fe81d
ui: make flat the default, toggle with T, add --tree/-T/-F flags
2018-10-18 14:43:00 -07:00
Alex Chen
2cbc41e088
Merge branch 'master' into ExceptTLayer
2018-10-09 11:19:45 -06:00
Alex Chen
e45070aab5
Update dependency bounds for megaparsec
2018-10-09 11:15:33 -06:00
Simon Michael
862fb873b4
update embedded manuals
2018-10-06 09:42:27 -10:00
Simon Michael
ff2a546319
bump version to 1.11.99
2018-10-06 09:42:12 -10:00
Simon Michael
e687ef1a79
doc: changelogs, relnotes
2018-10-06 09:40:06 -10:00
Simon Michael
2c9c4ebf79
Merge branch 'master' into ExceptTLayer
2018-10-04 21:04:02 -10:00
Simon Michael
7bc500ccd2
update embedded manuals
2018-09-30 20:08:15 -10:00
Simon Michael
b798c48040
bump version to 1.11
2018-09-30 20:07:45 -10:00
Simon Michael
92c8a6fffb
changelogs
2018-09-30 20:05:26 -10:00