Commit Graph

5968 Commits

Author SHA1 Message Date
Simon Michael
4822b53f69 scientific notation test notes (#704, #706) 2018-03-31 02:42:37 +01:00
Simon Michael
571ea1540b document scientific notation (#704, #706) 2018-03-31 02:41:31 +01:00
Simon Michael
c95982381b remove test unrelated to scientific notation (#704, #706) 2018-03-31 01:50:06 +01:00
Mykola Orliuk
b377bff90a lib: support scientific number notation (#704, #706)
closes simonmichael/hledger#704
2018-03-31 01:49:46 +01:00
Simon Michael
a8dc474a27 doc: fix budgeting wiki link
[ci skip]
2018-03-30 03:42:06 +01:00
Simon Michael
2a87ea56ff budget: refactor; show budget goals even with no or zero actual
This makes budget reports more intuitive. It is a temporary hack which
can misorder columns in some cases (if actual and budget activity
occur in a different range of columns). We should redo this in a more
principled way.
2018-03-30 03:26:32 +01:00
Simon Michael
2b34ff1184 lib: reportSpan debug output 2018-03-30 02:41:03 +01:00
Simon Michael
939d6833ea budget: refactor date handling, add debug output 2018-03-30 01:01:50 +01:00
Simon Michael
c306193667 doc: also update -E/--empty command line help
[ci skip]
2018-03-30 00:49:28 +01:00
Simon Michael
ebaac2866b lib: fix reportStartEndDates, rename to reportSpan 2018-03-30 00:16:35 +01:00
Simon Michael
17ce3d8329 doc: update manuals with --budget note 2018-03-29 22:37:37 +01:00
Simon Michael
178e3a234b ui/web: -E toggles zeroes at startup, with opposite default to cli 2018-03-29 22:35:06 +01:00
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