Simon Michael
dc4def835c
lib: refactor runPeriodicTransaction, add a test
2018-03-29 18:11:34 +01:00
Simon Michael
d060398484
lib: splitSpan: return no spans for an empty datespan
...
Fixes an issue where a bounded budget could wrongly appear in a
disjoint report period.
2018-03-29 18:10:51 +01:00
Simon Michael
4d562ef068
lib: don't count periodic/modifier txns in Journal debug output
2018-03-29 16:45:34 +01:00
Simon Michael
fc3a71bc46
budget: more tests
2018-03-29 16:36:31 +01:00
Simon Michael
38289686b7
budget: convert tests to format 3
2018-03-29 15:56:09 +01:00
Simon Michael
083d9190fd
budget: only periodic txns with the selected interval are used
2018-03-29 15:51:52 +01:00
Simon Michael
6f8714cdbd
update budget func. tests
2018-03-29 15:49:31 +01:00
Simon Michael
c64d598919
bal: a little more width for budget columns
2018-03-29 15:12:44 +01:00
Simon Michael
6970a4c6e8
budget: more regular layout, simple fixed-width columns
...
old:
Balance changes in 2018/03/19w12:
|| 2018/03/19w12
===================++=================
<unbudgeted>:aaa || 0
bbb || 1.33 [0]
bbb:bbbbbbbbbbbbb || 1.25 [42% of 3]
ccc || 0 [0% of 0]
ddd || 0 [0% of 0]
eee || 0.75 [75% of 1]
fff || 3.50 [50% of 7]
ggg || 1.25 [0]
hhh || 0 [0% of 6]
iii || 0 [0% of 0]
-------------------++-----------------
|| 8.08
new:
|| 2018/03/19w12
===================++========================
<unbudgeted>:aaa || 0
bbb || 1.33 [ 0]
bbb:bbbbbbbbbbbbb || 1.25 [ 42% of 3]
ccc || 0 [ 0% of 0]
ddd || 0 [ 0% of 0]
eee || 0.75 [ 75% of 1]
fff || 3.50 [ 50% of 7]
ggg || 1.25 [ 0]
hhh || 0 [ 0% of 6]
iii || 0 [ 0% of 0]
-------------------++------------------------
|| 8.08
2018-03-29 15:03:27 +01:00
Simon Michael
550425810f
budget refactoring, type synonyms
...
Using "actual" and "budget" terminology. "real" is already used in the
context of real/virtual postings. "actual" should be familiar from
unit testing (expected & actual)..
2018-03-29 15:03:27 +01:00
Simon Michael
a56c547bc2
cleanups
2018-03-29 15:03:27 +01:00
Simon Michael
d4eb3caf70
bal: comment fixes
...
[ci skip]
2018-03-29 15:03:27 +01:00
Simon Michael
10a4392b24
update functional tests for new monthly headings
2018-03-29 14:54:36 +01:00
Simon Michael
64e06750eb
doc: draft changelogs & release notes
2018-03-28 18:25:01 +01:00
Simon Michael
1347885cd8
bal/bs/bse/cf/is: show short monthnames in monthly reports (like html)
2018-03-28 18:17:20 +01:00
Simon Michael
d403b003c1
lib: disable doctests when building with ghc 8.4 on mac
...
[ci skip]
2018-03-26 18:23:46 +01:00
Simon Michael
265bc21b24
bal: mention --budget's newness in manual
...
[ci skip]
2018-03-26 15:18:44 +01:00
Simon Michael
28a8b55f4e
move non-portable file warning to package
2018-03-26 01:04:58 +01:00
Simon Michael
4e0959dc60
travis: cache per-package stack-work dirs ? try it
2018-03-25 23:20:58 +01:00
Simon Michael
ee3a06e569
stack: updates, fix tests, silence non-portable file warning
2018-03-25 23:20:58 +01:00
Moritz Kiefer
d7b68fbd7d
Use skipMany/skipSome for parsing spacenonewline
...
This avoids allocating the list of space characters only to then
discard it.
2018-03-25 22:59:05 +01:00
Simon Michael
addd9b5385
tools: make build-check-warnings, notes
2018-03-25 13:17:00 +01:00
Simon Michael
28f4b1a0ec
tools: hakyll-std updates, use pandoc 2
2018-03-25 13:17:00 +01:00
Simon Michael
1fe3d7e824
web: fix HandlerT warnings
2018-03-25 13:16:12 +01:00
Simon Michael
b74c805b69
site: add missing js files
2018-03-25 13:16:12 +01:00
Simon Michael
dd1253c792
tools: hakyll-std: update stack.yaml reference
...
[ci skip]
2018-03-24 18:41:22 -07:00
Simon Michael
c79cee3d1f
travis: build hledger-web, hledger-api
2018-03-25 02:37:18 +01:00
Simon Michael
1d0f94145d
stack: hledger-ui won't build on linux, disable for now
2018-03-25 02:20:53 +01:00
Simon Michael
9ce4f8b112
travis: don't build hledger-ui
2018-03-25 02:19:45 +01:00
Simon Michael
3b4313c883
stack: add hinotify for hledger-ui on linux
2018-03-25 02:04:44 +01:00
Simon Michael
727bf4dd38
travis: build hledger, hledger-ui
2018-03-25 00:45:37 +00:00
Simon Michael
f98ba9a338
travis: just build hledger-lib
2018-03-25 00:34:18 +00:00
Simon Michael
689434b1f6
stack: re-enable hledger-api
2018-03-24 22:53:51 +00:00
Simon Michael
84579bb1b4
silence redundant import warnings with ghc 8.4
2018-03-24 22:51:56 +00:00
Simon Michael
47615c8af8
stack: use newer brick just in case
2018-03-24 17:58:49 +00:00
Simon Michael
e6583a2925
stack: re-enable hledger-web
2018-03-24 17:23:15 +00:00
Simon Michael
21db75f1a6
update cabal files
2018-03-24 16:06:20 +00:00
Simon Michael
a42764610c
stack: cleanups
2018-03-24 16:06:20 +00:00
Simon Michael
02055fcad5
stack: make latest nightly/ghc 8.4 the default
2018-03-24 16:06:20 +00:00
Simon Michael
60ea1151ad
rename stack.yaml files
2018-03-24 15:47:06 +00:00
Simon Michael
d1a55e5f76
tighten base upper bound, avoid breakage with next major GHC
2018-03-22 16:43:40 +00:00
Simon Michael
1e738e6ee5
lib: regenerate cabal file with older hpack to silence warning
2018-03-22 16:42:02 +00:00
Peter Simons
b3e4abe46d
hledger-lib: re-generate the hledger-lib.cabal file
2018-03-22 16:08:17 +00:00
Peter Simons
a1ddecd8f5
hledger-lib: remove redundant dependency declaration on semigroups
...
This dependency is already expressed conditionally for GHC versions older than
8.0.x, which is the proper way to do it since newer versions have that code in
base already.
2018-03-22 16:08:17 +00:00
Simon Michael
fb5c0dba22
bin: delete hledger-budget func. tests
2018-03-21 12:36:26 +00:00
Simon Michael
4b5ac4616b
stack: bump to latest nightly
...
[ci skip]
2018-03-21 12:36:26 +00:00
Simon Michael
9de4cc9405
stack: stack8.4.yaml for testing
...
[ci skip]
2018-03-14 16:55:11 +00:00
Simon Michael
7635f56a5c
lib: add conditional dep to package.yaml and rest of cabal file
2018-03-12 23:27:23 +00:00
Peter Simons
4c5a58ec1e
hledger-lib: add missing Semigroup instance for Journal
...
GHC 8.4.1 makes Semigroup a superclass of Monoid. See
https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid
for details.
2018-03-12 23:17:14 +00:00
Simon Michael
61f7563fa2
budget: drop obsolete hledger-budget addon ( close #620 )
...
[ci skip]
2018-03-12 23:14:00 +00:00