Commit Graph

7028 Commits

Author SHA1 Message Date
Mykola Orliuk
99bfebd1a1 ui: support all results of showGenericSourcePos
Resolves simonmichael/hledger#904
2018-10-26 16:32:16 -07:00
Simon Michael
61e36173b4 appveyor: try ghc 8.6
[ci skip]
2018-10-24 12:55:35 -07:00
Simon Michael
0bb0d8967d appveyor: show stack version
[ci skip]
2018-10-24 12:53:58 -07:00
Simon Michael
8f50e824ed appveyor: use easytest 0.2.1 avoiding unicode output (may help #832) 2018-10-24 12:42:13 -07:00
Simon Michael
162e42db3b stack: use latest easytest 0.2.1 with all GHCs 2018-10-24 12:41:08 -07:00
Simon Michael
5a45666f1e appveyor: use latest stack release 2018-10-24 12:39:05 -07:00
Simon Michael
67f5b1071e travis: fetch stack only if needed again 2018-10-24 12:37:19 -07:00
Simon Michael
62ced48ce7 use easytest 0.2.1 (#883) 2018-10-24 12:30:30 -07:00
Simon Michael
d1a20553e3 ui: fix Any build error with GHC < 8.4 2018-10-24 12:20:52 -07:00
Simon Michael
86b4a9c93d travis: unconditionally fetch latest stack (1.9.1) 2018-10-24 11:12:47 -07:00
Simon Michael
a1dd7ba871 travis: stop doing something with old "travis" branch 2018-10-24 11:12:47 -07:00
Peter Simons
94b4fa64fe disregard over-specified version constraints in brick and config-ini
These packages work fine with the latest version of their dependencies.
They just don't say so on Hackage.
2018-10-24 10:37:28 -07:00
Simon Michael
7750bbaa36 stack: build with ghc 8.6 & latest nightly by default 2018-10-24 10:35:12 -07:00
Simon Michael
fbf984e2de stack: update/rename ghc 8.4 config 2018-10-24 10:35:12 -07:00
Simon Michael
05cf6bf4a2 stack: update ghc 8.6 config 2018-10-24 10:35:12 -07:00
Simon Michael
8e92cbfa4e stack: the ghc 7.10 stack file no longer builds hledger-ui
Something I can't figure out has gone wrong with the install plan,
relating to config-ini.
2018-10-24 10:35:12 -07:00
Simon Michael
5945c3c44f tools: make: reorder build test rules 2018-10-24 10:35:12 -07:00
Peter Simons
027d084878 Drop undecidable Ord instance for ParseError.
That code fails to compile with ghc-8.6.1 because the instance is undecidable.
I suppose we could enable the appropriate compiler extension to support it, but
I've found that simply removing the instance causes no problems whatsoever: the
entire repository still compiles fine and it passes all test suites, too.
2018-10-24 10:35:11 -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
Mykola Orliuk
1aac38d3d3 lib: include source info in txn balance errors
Partially address simonmichael/hledger#904
2018-10-23 15:54:38 -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
3f6922b51f lib: showTransaction: comment
[ci skip]
2018-10-22 14:28:18 -07:00
Simon Michael
f58330169a tests: show auto postings' current commodity action (#913) 2018-10-22 11:35:28 -07:00
Simon Michael
bcd15137c6 tests: upgrade, document print --auto tests 2018-10-22 11:09:53 -07:00
Simon Michael
080e475eb9 cli: update cabal file 2018-10-22 10:54:22 -07:00
Simon Michael
643de787b1 tests: move auto.test under print/ 2018-10-22 10:53:59 -07:00
Samuel May
0ea49f5c5a docs: journal: Add paragraph about exact assignments 2018-10-22 09:55:14 -07:00
Samuel May
f54adf3d10 docs: journal: Document exact assertions 2018-10-22 09:55:14 -07:00
Samuel May
e57ef9e9a9 lib: journal: Add support for exact assertions 2018-10-22 09:55:14 -07:00
Samuel May
6c31393dd3 lib: Groundwork allowing multi-commodity assertions 2018-10-22 09:55:14 -07:00
Samuel May
cde91fc5f4 lib: Make BalanceAssertion a full datatype
Note: simplifies/moves whitespace parsing out of the balance assertion
parser.
2018-10-22 09:55:14 -07:00
Samuel May
22645881c1 Add upper bound on 'statistics'; broaden .gitignore
.gitignore: products of manual cabal builds, and vim temp files
hledger.cabal: *.RootFinding removed from statistics >=0.15 in favor
  of that in math-functions >=0.2
2018-10-22 09:51:02 -07:00
Simon Michael
0d531bb24f lib: showTransaction: fix a case showing multiple missing amounts
Noticed by peti: showTransaction could sometimes hide the last posting's
amount even if one of the other posting amounts was already implcit,
producing invalid transaction output.
2018-10-22 07:23:40 -07:00
Simon Michael
b5a90432ff lib: document and test showTransaction*, posting*AsLines 2018-10-22 06:46:31 -07:00
Simon Michael
20f006f7f6 lib: transaction: drop commented code 2018-10-22 04:03:29 -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
6d11164444 web: fix duplicate package.yaml keys warned about by hpack 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
b5df5fb5f0 lib: comment 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