Commit Graph

8809 Commits

Author SHA1 Message Date
Simon Michael
3822c27bfe ;lib: regex: rename & export RegexError, export toRegex_, docs (#1312) 2020-08-06 15:25:58 -07:00
Simon Michael
4957008890 ;lib: regex utilities: cleanup (#1312) 2020-08-06 11:35:04 -07:00
Simon Michael
a112085092 lib: add alternate regex utilities that don't call error (#1312) 2020-08-06 11:18:08 -07:00
Simon Michael
ede4bfd5b4 ;mark more partial functions (#1312) 2020-08-05 17:29:43 -07:00
Simon Michael
3f55c23603 ;review, tag all error calls with an easier to find PARTIAL: comment (#1312) 2020-08-05 16:08:33 -07:00
Simon Michael
c60ad79727 web: update for new parseQuery (#1312)
Query parsing is slightly more robust ("date:" no longer gives an
internal server error, but other things still do).
2020-08-05 14:25:08 -07:00
Simon Michael
5b5eab1afe ui: update for new parseQuery (#1312) 2020-08-05 14:18:50 -07:00
Simon Michael
242c05fc9a lib, journal: parseQuery, modifyTransactions are now total (#1312)
modifyTransactions now also requires a reference date, for parsing queries.
Relative dates are now permitted in auto posting rules.
2020-08-05 13:44:04 -07:00
Simon Michael
7751d6947c lib: parseAmountQueryTerm: allow whitespace around arg parts (#1312)
Whitespace around the operator, sign, or number is now tolerated.
2020-08-05 13:44:04 -07:00
Simon Michael
38a4704641 lib: make parseAmountQueryTerm total, improve docs/tests (#1312) 2020-08-05 13:44:04 -07:00
Stephen Morgan
08ad220448 lib: In quarterdatespanp, use yearp and allow uppercase Q. 2020-08-04 09:10:53 -07:00
Simon Michael
22091dfd31 Revert ";ci: bump actions/cache from 2 to 2.1"
I guess that was not necessary or advisable.

This reverts commit 703c698b16.
2020-08-01 12:59:28 -07:00
Simon Michael
703c698b16 ;ci: bump actions/cache from 2 to 2.1 2020-08-01 12:49:53 -07:00
Simon Michael
f62797bdb7 ;ui: cabal: simplify dep list to help packdeps reverse deps
(cf snoyberg/packdeps#51)
2020-08-01 12:43:40 -07:00
Simon Michael
5d40b54043 ;doc: regen manuals 2020-08-01 12:41:54 -07:00
Simon Michael
1eca6b8b5c ;queries: document quarter query term (#1247) 2020-07-31 18:15:18 -07:00
Simon Michael
7df9a40750 ;web: ensure sidebar accounts are in tree mode, fixing a regression 2020-07-31 18:02:38 -07:00
Simon Michael
2ba7bb0428 ;web: fix inaccurate description of query term combining (#1246) 2020-07-31 17:56:37 -07:00
Henning Thielemann
9c9701fe7d lib: quarterdatespanp (fixes #1247) 2020-07-31 17:37:41 -07:00
Henning Thielemann
ccac09fb1b lib: doubledatespanp: fix and re-enable doctest 2020-07-31 17:37:41 -07:00
Stephen Morgan
dc41cee2b0 lib: datep now requires years to be at least four digits. 2020-07-31 17:22:27 -07:00
Stephen Morgan
ffb5cf0773 lib: Ensure parsed years have at least 4 digits. 2020-07-31 17:22:27 -07:00
Stephen Morgan
7b9f9ae49c lib: Refactor reportingintervalp to be more compact and do less backtracking. 2020-07-31 17:22:27 -07:00
Stephen Morgan
696d9c73b0 lib: Remove unnecessary try in parsers, replace unnecessary string' with string, rewrite some parsers in applicative style. 2020-07-31 17:22:27 -07:00
Dmitry Astapov
a82c383370 lib: disallow tabs in simplecommoditysymbolp (fixes #1301) 2020-07-28 15:33:47 -07:00
Martin Michlmayr
76b04ceb4f doc: fix regex in example for regex aliases 2020-07-27 17:20:40 -07:00
Martin Michlmayr
76cb45def6 doc: clarify virtual prices 2020-07-25 06:32:31 -07:00
Stephen Morgan
081ee390ab lib: Change skipMany spacenonewline to takeWhileP Nothing isNonNewlineSpace. 2020-07-22 14:58:53 -07:00
Simon Michael
1c4e0c3cff ;reg,areg: interlink their docs 2020-07-22 07:57:53 -07:00
Simon Michael
640d2f2972 ;bs/bse/cf/is: update help to mention account types 2020-07-19 11:15:50 -07:00
Simon Michael
d738ca8c60 ;lib: cleanups 2020-07-19 06:13:38 -07:00
Simon Michael
eeb178f86a stack, ci: the real fix for failing ghc 8.2 & CI 2020-07-19 06:12:43 -07:00
Simon Michael
53759dccc1 ui: help tweaks 2020-07-19 06:12:29 -07:00
Simon Michael
21b91f17cb ;regen manuals 2020-07-18 12:37:06 -07:00
Simon Michael
58695f9c29 ui: help tweaks 2020-07-18 12:30:37 -07:00
Simon Michael
7868da2a48 ui: ESC now restores exactly to initial app state (#1286)
Also resetFilter (DEL/BS key) no longer changes tree/list mode.
2020-07-18 12:24:37 -07:00
Simon Michael
bac3028704 ui: q exits help; improve help layout (#1286) 2020-07-18 08:59:21 -07:00
Simon Michael
ae830a1ace ui: restore vi keys by popular demand; t toggles tree mode (#1286) 2020-07-18 08:39:23 -07:00
Simon Michael
386a967a66 ci: linux: try to avoid bad cached package db for ghc 8.2
Two versions of ansi-terminal are breaking CI somehow.
2020-07-17 15:55:19 -07:00
Simon Michael
ef8a5140b3 ;ui: escape key, forgot this 2020-07-17 15:51:58 -07:00
Simon Michael
bc62fcada4 ui: escape key also clears report period limits 2020-07-17 15:48:15 -07:00
Simon Michael
847fc23236 ui: use t/l keys for tree/list, T for "today", drop vi keys?! retune help (#1286) 2020-07-17 15:42:05 -07:00
Simon Michael
a3ae4d88f8 ui: use -t/-l short flags for --tree/--flat, like cli (#1286) 2020-07-17 15:36:07 -07:00
Simon Michael
3636875a5d cli: add -t/-l short flags for --tree/--flat; improve help (#1286) 2020-07-17 15:36:07 -07:00
Simon Michael
ba49699728 cli: improve --color/--colour help & help layout 2020-07-17 15:36:07 -07:00
Simon Michael
cb599111a6 ;journal: account types: fix broken tests 2020-07-17 10:04:06 -07:00
Simon Michael
e057857c04 ;lib: CBCSubreportSpec note 2020-07-17 10:02:14 -07:00
Simon Michael
e4f8b80d3b ;journal: account types: fix detection of Cash as an Asset, add tests 2020-07-17 10:02:14 -07:00
Simon Michael
6a772fb94e ;journal: account types: doc fix 2020-07-17 08:22:01 -07:00
Simon Michael
fd9171df07 journal: account types: add Cash, tweak fallback regexp, rewrite docs 2020-07-17 08:02:12 -07:00