Commit Graph

8814 Commits

Author SHA1 Message Date
Simon Michael
e8e27821d9 ;finalise changelogs 2020-06-07 11:51:40 -07:00
Simon Michael
3a3453ff67 ;stack8.0: sort, attempt to update build plan for hledger-web 2020-06-07 11:29:52 -07:00
Simon Michael
09b6d44562 ;manuals 2020-06-06 17:21:18 -07:00
Simon Michael
a54376e204 ;regen cabal files 2020-06-06 17:20:13 -07:00
Simon Michael
19020939c9 ;bump versions to 1.18 2020-06-06 17:18:15 -07:00
Simon Michael
fa077415d4 ;edit changelogs 2020-06-06 16:53:41 -07:00
Simon Michael
1c4d7aa804 ;ci: name tweak 2020-06-06 15:52:25 -07:00
Simon Michael
00cd14867a ;ci: really disable quick push.yml ? 2020-06-06 15:50:13 -07:00
Simon Michael
d263d7291e ;ci: really disable quick push.yml ? 2020-06-06 15:42:03 -07:00
Simon Michael
c59565ca5b ;fix Json.hs with old GHCs 2020-06-06 15:33:04 -07:00
Simon Michael
a86a5c4f53 ;make stack-clean-all 2020-06-06 15:23:15 -07:00
Simon Michael
2ef11a1b7c ;make: update buildtest rules 2020-06-06 15:23:15 -07:00
Simon Michael
de2f99c731 ;ci: run the heavy all-ghcs CI for all pushes, for now 2020-06-06 13:59:48 -07:00
Simon Michael
4c611f101c ;ci: add timestamp preservation to linux/mac/windows workflows too 2020-06-06 13:55:09 -07:00
Simon Michael
2029a7d07d ;ci: cleanup 2020-06-06 13:53:14 -07:00
Simon Michael
204b747664 ;stack: drop old probably wrong note 2020-06-06 13:31:05 -07:00
Simon Michael
97f22c40f6 ;lib: fix build plan with ghc 8.0 2020-06-06 13:30:10 -07:00
Simon Michael
a91cb9036d ;web: update json api examples 2020-06-06 12:54:58 -07:00
Simon Michael
b50c3a694c ;lib: note issue with Journal's JSON 2020-06-06 12:54:58 -07:00
Simon Michael
b86ced5ee9 lib: replace jsonPrettyText with toJsonText in Hledger.Data.Json 2020-06-06 12:54:58 -07:00
Simon Michael
5198d7b066 csv: examples: wave 2020-06-06 11:06:33 -07:00
Simon Michael
d68650b2c1 ;csv: doc: link to balance-type 2020-06-05 18:02:06 -07:00
Simon Michael
5757c386d8 ;draft changelogs 2020-06-05 15:18:23 -07:00
Simon Michael
e5a0bddbe6 ;regen manuals 2020-06-05 14:44:37 -07:00
Simon Michael
88051b93ab ;cli: doc: regular expressions: fix special characters link 2020-06-05 07:24:33 -07:00
Stephen Morgan
be25fe360e lib: Parser now accepts .. as a synonym for to in date ranges. 2020-06-04 19:30:42 -07:00
Stephen Morgan
935abd1842 lib: Use .. in place of ,, for date ranges in compound balance reports. 2020-06-04 19:30:42 -07:00
Stephen Morgan
2f71da8838 lib: More consistent period formatting. 2020-06-04 19:30:42 -07:00
Simon Michael
057b79558c ;journal: edit the forecasting section (#1250) 2020-06-04 19:22:04 -07:00
Simon Michael
d1f62f0f2e print, reg, balcmds: show json output pretty-printed 2020-06-04 15:13:28 -07:00
Simon Michael
d963944c99 lib: add jsonPrettyText helper, depend on aeson-pretty 2020-06-04 15:12:57 -07:00
Simon Michael
00e9e844ac journal: the include directive now accepts a file format prefix
This works with glob patterns too, applying the prefix to each path.
This can be useful when included files don't have the standard file
extension, eg:

include timedot:2020*.md
2020-06-04 13:59:26 -07:00
Simon Michael
9bc8c5d668 ;cli: doc: json output seems not pretty printed right now 2020-06-04 13:59:26 -07:00
Dmitry Astapov
b7413edf22 lib: --forecast=PERIODICEXPR. Fixes #835, #1236 2020-06-03 15:53:00 -07:00
Dmitry Astapov
cbf4029b8b lib: test for issue with sign checking code + fix 2020-06-01 15:17:15 -07:00
Simon Michael
8b0618ce4d ;cli: doc: not basically 2020-06-01 04:48:30 -07:00
Simon Michael
97f2235bca ;lib: refactor amount cost functions
Rename costOfAmount -> amountCost, costOfMixedAmount -> mixedAmountCost,
drop amountToCost, mixedAmountToCost.
2020-05-31 15:48:08 -07:00
Simon Michael
90b18080b2 ;git: ignore lsp/ 2020-05-29 19:13:00 -07:00
Simon Michael
95b8e268ce ;lib: a few more zero-checking function references 2020-05-29 19:04:52 -07:00
Simon Michael
24c33f3105 ;make tag: include hledger-web hamlet templates 2020-05-29 19:04:27 -07:00
Simon Michael
945ee14bec ;git: don't ignore scripts in bin/ 2020-05-29 18:59:32 -07:00
Simon Michael
660ba7e1d9 lib: clarify zero-checking function names
isZeroAmount                -> amountLooksZero
isReallyZeroAmount          -> amountIsZero
isZeroMixedAmount           -> mixedAmountLooksZero
isReallyZeroMixedAmount     -> mixedAmountIsZero
isReallyZeroMixedAmountCost dropped
2020-05-29 18:57:22 -07:00
Simon Michael
74fae2e1de ;ci: use github cache v2
This may also clear the recent CI error with hledger-web,
where we appear to be somehow restoring a non-latest version
of Query.hs.
2020-05-29 18:04:52 -07:00
Simon Michael
1087e790cf ;lib: refactor transactionCheckBalanced 2020-05-29 17:57:10 -07:00
Simon Michael
7bcc205622 lib: drop transactionPostingBalances 2020-05-29 17:33:53 -07:00
Simon Michael
0a5fa33f9d split more long transaction balancing errors into lines; refactor 2020-05-29 16:31:15 -07:00
Simon Michael
924ec1c98d journal: clearer transaction balancing errors; refactor
As mentioned by netvor on IRC, the unbalanced transaction error was
not too clear when postings all have the same sign.

Some other wording has been clarified, and the main error message is
now shown on multiple lines for readability (at the cost of
predictability/grepability..)

There's also a probably unnoticeable change: selecting which parts of
the error to show is now based on display precisions (reusing the
balanced check logic), rather than original precisions.
2020-05-29 16:07:58 -07:00
Simon Michael
61264cfdc0 lib: isNegativeMixedAmount handles all-negative multi-comm. amounts 2020-05-29 13:07:02 -07:00
Simon Michael
e6f9f09b41 ;lib: refactor, consolidate, add transactionCheckBalanced 2020-05-29 11:57:48 -07:00
Henning Thielemann
ebe021b0c8 ;web: maintain queries in all other links, too 2020-05-27 04:59:55 -07:00