Commit Graph

9338 Commits

Author SHA1 Message Date
Simon Michael
ab305b3244 roi: add adept's IRC discussion to doc 2020-11-19 09:17:28 -08:00
Simon Michael
9730b69a05 ;ui: register: fix one-line amount formatting (#1358) 2020-11-18 17:20:05 -08:00
Simon Michael
a92aa3cd26 ;bal: fix a warning 2020-11-18 16:31:32 -08:00
Simon Michael
6b152fe6c8 ;update manuals 2020-11-18 16:30:52 -08:00
Simon Michael
4e529372a4 ;update CLI usage texts 2020-11-18 16:30:40 -08:00
Simon Michael
18f8f91520 ;more budget-related cleanup 2020-11-18 16:29:04 -08:00
Simon Michael
5bb9006b6c bal: support CSV output for --budget reports (#1155) 2020-11-18 16:29:04 -08:00
Simon Michael
211ae7742c ;examples: rename some budgeting examples 2020-11-18 15:29:40 -08:00
Simon Michael
f898fbf911 examples: clean up & add more budgeting examples 2020-11-18 13:16:56 -08:00
Simon Michael
5d4a6cd47e ;csv: tweak CsvRules Show for consistency with others 2020-11-18 07:14:28 -08:00
Dmitry Astapov
0346b4cdd9 typo/build fix 2020-11-18 01:08:58 +00:00
Dmitry Astapov
98a46fcaeb cli: improve error for roi IRR rootfinding problems (closes #1398) 2020-11-18 01:03:20 +00:00
Dmitry Astapov
4ff469ace5 cli: improve error for roi IRR rootfinding problems (closes #1398) 2020-11-17 16:59:27 -08:00
Simon Michael
9a820a6dec ;doc: fixes 2020-11-17 13:16:17 -08:00
Simon Michael
6cc1312ca8 ;ci: ignore example files; drop redundant hledger/tests/ entry 2020-11-17 12:55:13 -08:00
Simon Michael
2f2cca9bc0 ;ui: add a test for multicommodity register (#1358) 2020-11-17 12:43:18 -08:00
Simon Michael
3ea453658e ;ui: test tweaks 2020-11-17 11:09:35 -08:00
Simon Michael
19eb014ced ;ci: also ignore *.m4 (extra doc source files) 2020-11-17 10:57:42 -08:00
Simon Michael
5f9635c784 ;update changelogs 2020-11-17 10:51:57 -08:00
Simon Michael
3662977c84 ;update manuals 2020-11-17 07:29:57 -08:00
Simon Michael
541aa3ee5b ;update CLI usage texts 2020-11-17 07:29:38 -08:00
Simon Michael
a3dc78f3ff web: --test: don't require ./config/settings.yml 2020-11-16 15:36:17 -08:00
Simon Michael
59f1817bbf ;web: --test: show correct program name 2020-11-16 15:13:43 -08:00
Simon Michael
f39938d7ef stack: ghc-options notes 2020-11-16 14:41:52 -08:00
Simon Michael
267f23dabb ;ui: test tweaks 2020-11-16 14:41:18 -08:00
Simon Michael
ee73a6aabf web: --test [-- HSPECARGS] runs the test suite 2020-11-16 14:02:16 -08:00
Simon Michael
9428df4526 ;ci: push: fix func tests 2020-11-16 14:02:16 -08:00
Simon Michael
01be455e82 ;ui: rename to uitest.org 2020-11-16 09:00:55 -08:00
Simon Michael
56b61c71da ;ui: add manual tests for #1387 2020-11-16 08:59:35 -08:00
Simon Michael
ec2a774b18 cli, lib: move functional tests into hledger/test/ 2020-11-16 08:47:41 -08:00
Simon Michael
1c9d704e2f ;ui: add symlink for manual tests (#1387) 2020-11-15 12:46:23 -08:00
Simon Michael
3930e06e72 ui: start gathering manual tests (#1387) 2020-11-15 12:43:29 -08:00
Simon Michael
34cae907e0 ;ui: move WIP tests into hledger-ui package 2020-11-15 12:17:00 -08:00
Simon Michael
cc2654b17b ;ui: notes (#1387) 2020-11-15 11:32:43 -08:00
Simon Michael
2448d07148 ;roi: doc: link example file 2020-11-15 11:20:52 -08:00
Simon Michael
4aecb9182e ;ui: notes (#1387) 2020-11-15 11:20:40 -08:00
Simon Michael
9337a66fb5 ui: quick fix for date: and --change breakage (#1387) 2020-11-15 10:30:58 -08:00
Simon Michael
5aedfa6b23 ;ci: windows: try using ghc 8.8.4 (& default stack.yaml)
It's better to use a stack.yaml file than just a resolver, since the
former declares extra deps we may need from time to time.
Try with ghc 8.8.4, hopefully it's good enough on windows.
2020-11-15 09:38:35 -08:00
Simon Michael
0ce9c352ec add: don't let number style disturb the default (Fixes #1378) 2020-11-14 11:08:01 -08:00
Simon Michael
e8672c4cd5 ;lib: don't catch in maybeFileModificationTime (#1390)
It's overkill.. it's understood that any IO action can
throw an exception, and it's best to handle them at top level,
eg as Yesod does.
2020-11-13 16:50:17 -08:00
Simon Michael
3651a5f5f4 ;web: tests: refactor, add a test for --forecast (#1390) 2020-11-13 16:40:33 -08:00
Simon Michael
1f94aa1628 ;lib: make file modification/reloading helpers more robust (#1390)
Work on hledger-web tests showed some bad behaviour, in particular
journalReloadIfNewer would always reload a journal read from a string
or stdout. This is now fixed, and an ugly read.show conversion has
been cleaned up.

Hledger.Cli.Utils API changes:

removed:
- journalSpecifiedFileIsNewer
- fileModificationTime

added:
- utcTimeToClockTime

changed:
- journalFileIsNewer now requires a file argument
2020-11-13 16:28:35 -08:00
Simon Michael
d4152c52f0 ;make ghci-web-test, for debugging hledger-web test suite 2020-11-13 15:03:07 -08:00
Simon Michael
5d42f1f198 ;ci: exclude underscore-disabled tests 2020-11-13 10:23:47 -08:00
Simon Michael
c7e267e314 ;web: begin work on a forecasting test (#1390) 2020-11-13 09:42:06 -08:00
Simon Michael
290428f9d4 web: re-enable the test suite; add a test for /journal (#1390) 2020-11-13 09:37:56 -08:00
Simon Michael
b76a88aa81 web: fix --forecast breakage since 1.18 (fix #1390)
Replaces the partial HashMap.! with List.elemIndex.
(Although the HashMap is more algorithmically efficient,
its API changed recently, possibly complicating building,
and efficiency is just not going to be an issue here.)
2020-11-12 17:03:39 -08:00
Simon Michael
03daf46be0 ;ui: tests readme tweak 2020-11-11 16:23:10 -08:00
Simon Michael
79430a18eb ;ui: commit old WIP hledger-ui tests 2020-11-11 16:03:52 -08:00
Simon Michael
7e667238db add missing dep for other stack snapshots; also bump GHC 8.10 to .2 2020-11-11 12:52:44 -08:00