Simon Michael
d8c52c97d2
;tools: fix make tag after tests rename
2019-12-01 08:14:28 -08:00
Simon Michael
5b6dbe86b3
close: don't strip decimal zeros, causing misparsing ( fix #1137 )
2019-11-30 16:58:54 -08:00
Simon Michael
279e9624ed
;lib: clarify docs for setFullPrecision, setNaturalPrecision
2019-11-30 16:56:45 -08:00
Simon Michael
a081404bd7
;doc: journal: rewrite commodity directive doc
...
[ci skip]
2019-11-30 08:34:13 -08:00
Simon Michael
359a118900
;doc: draft changelog updates
...
[ci skip]
2019-11-29 07:57:54 -08:00
Simon Michael
3c226f869a
;stack: use base-compat < 0.11 and latest lts for Shake/regex ( #1090 )
...
[ci skip]
2019-11-29 07:48:03 -08:00
Simon Michael
ac5652b7cc
;web: fix redundant import warnings with ghc 8.8
2019-11-29 07:02:52 -08:00
Simon Michael
caf8cdf0ca
;test: consistent singular naming for test suites and files
2019-11-29 06:35:29 -08:00
Simon Michael
c7574b8005
;lib, cli: test suite cleanups, don't run hledger-lib tests twice
2019-11-29 06:11:25 -08:00
Simon Michael
2b2a0b3cf8
;tests: use "test" alias for testCase everywhere
...
Easier to type and read, and a little clearer to my eyes;
"testCase" implies a single case, but it can contain many assertions.
2019-11-28 15:33:33 -08:00
Simon Michael
030b633cd6
;fix build issues with old GHC versions
2019-11-28 15:22:12 -08:00
Simon Michael
5ea39d9987
;stack: update extra deps in old stack yamls
2019-11-28 15:07:09 -08:00
Simon Michael
57a534a42f
;cli: drop obsolete test-framework dep
2019-11-28 15:06:52 -08:00
Simon Michael
ebedae01cf
;cabal: remove special cases for unsupported GHC 7
2019-11-28 14:59:18 -08:00
Simon Michael
08951ac3e8
;cabal: add ghc 8.8 to tested-with
...
[ci skip]
2019-11-28 14:59:10 -08:00
Simon Michael
f767df40e0
;tools: drop easytest from old stack yamls
...
[ci skip]
2019-11-28 14:53:17 -08:00
Simon Michael
1f315a2aa3
;doc: contributing: update unit test docs
...
[ci skip]
2019-11-28 14:52:44 -08:00
Simon Michael
ca4fade4af
;tests: re-add hledger-lib's tests to the cabal file, as unittests
2019-11-28 14:45:10 -08:00
Simon Michael
daab432a29
;doc: roadmap: belated goals update for upcoming release
...
[ci skip]
2019-11-28 14:37:51 -08:00
Simon Michael
843d394077
cli, ui, web: support GHC 8.8, add stack-ghc8.8.yaml ( #1090 )
...
hledger-web needs an unreleased version of json.
2019-11-28 14:31:48 -08:00
Simon Michael
5dac8af2ef
;ui: fix build error due to tests rewrite
2019-11-27 21:54:31 -08:00
Simon Michael
4ab5896902
close: add --close-to, --open-from to choose account names
2019-11-27 14:19:44 -08:00
Simon Michael
4faefcfab2
;doc: regen manuals
...
[ci skip]
2019-11-27 13:18:08 -08:00
Simon Michael
177e24c078
;tools: update make ghcid-test[-PAT]
...
[ci skip]
2019-11-27 13:17:34 -08:00
Simon Michael
91a3b03359
;test: update command line help
2019-11-27 13:17:34 -08:00
Simon Michael
b36f6df110
tests: port all unit tests to tasty, second pass ( #1090 )
...
Hledger.Util.Tests helpers have been cleaned up, and test names are
now shown.
Tests have been cleaned up a bit. Some groups of unnamed tests have
been collapsed into a single named test containing a sequence of
assertions. The test command counts named tests, not assertions, so
the reported unit test count has dropped from 199 to 188.
2019-11-27 13:17:34 -08:00
Simon Michael
13a3542464
tests: port all unit tests to tasty, first cut ( #1090 )
...
easytest is not actively maintained and requires an old version of
hedgehog which does not support base-compat 0.11 & ghc 8.8.
This is still using the old easytest helpers, and not displaying test
names properly.
2019-11-27 12:43:43 -08:00
Simon Michael
8952dc9a93
;stack: build with base-compat 0.11, for testing
2019-11-26 14:17:55 -08:00
Amitai Burstein
e15adddeb8
Add exit status code to check-dates
2019-11-23 13:43:47 -08:00
Simon Michael
3f0892556d
;lib: clarify choiceopt doc
2019-11-23 13:03:26 -08:00
Simon Michael
8b4ae4cd43
;csv: another commented test for auto-generation of balancing posting
...
and remove some junk.
[ci skip]
2019-11-23 12:54:34 -08:00
Simon Michael
0beca72275
;csv: doc: one-posting txns can now be generated (#1111/#1133)
...
[ci skip]
2019-11-23 12:28:41 -08:00
Simon Michael
464983f99a
;csv: add some commented tests for #1111/#1133
...
[ci skip]
2019-11-23 12:26:22 -08:00
Simon Michael
e893c9c107
;doc: regen manuals
...
[ci skip]
2019-11-23 11:33:55 -08:00
Simon Michael
1432914081
;ui: doc tweaks
...
[ci skip]
2019-11-23 11:33:55 -08:00
Dmitry Astapov
aa051a05cf
lib: support generation of (un)balanced virtual postings in csv reader
2019-11-23 10:28:10 -08:00
Simon Michael
d8bf72ae73
;doc: regen manuals
...
[ci skip]
2019-11-21 17:33:04 -08:00
Simon Michael
332624f9fa
ui: B and V keys toggle display of cost, value
2019-11-21 17:33:04 -08:00
Brian Wignall
f8269e21ab
Fix some simple typos
2019-11-20 13:33:33 -08:00
Mykola Orliuk
2a36ac0d62
;lib: fix doctest for RawOptions
2019-11-19 20:43:19 +01:00
Simon Michael
a0d012a50c
;cli: use the test suites recompilation workaround here too ( #1125 )
...
Applying the same workaround used in the hledger-lib test suites, to
hledger's test & benchmark suites. It seems only a single other-module
was being added here (Paths_hledger.hs), but this may add a little speed
and prevent greater slowdowns in future.
2019-11-19 04:17:23 -08:00
Simon Michael
f0b2eed6c2
;lib: clarify test suites recompilation workaround ( #1125 )
...
[ci skip]
2019-11-19 04:10:46 -08:00
Mykola Orliuk
f82ed83153
;lib: re-enable easytests
2019-11-19 03:58:56 -08:00
Mykola Orliuk
097486a247
;lib: re-enable doctests
2019-11-19 03:58:56 -08:00
Mykola Orliuk
6dbe925eed
cli: anonymize transaction code also
2019-11-18 17:42:22 -08:00
Mykola Orliuk
0a273561f7
cli: anonymize declared accounts also
...
Fixes simonmichael/hledger#901
2019-11-18 17:42:22 -08:00
Mykola Orliuk
5287fe671b
;all: hide RawOpts internals
...
This way we can ensure we always use only functions from RawOptions.
2019-11-18 17:38:39 -08:00
Mykola Orliuk
8991419c68
;all: drop dummy decodeRawOpts
2019-11-18 17:38:39 -08:00
Mykola Orliuk
31ae3d3aaf
;lib: drop SystemString left from GHC pre 7.2
...
We are relying on base-4.9 or newer. Thus we don't compile anymore with
GHC version lower than 8.0.1.
2019-11-18 17:38:39 -08:00
Simon Michael
68b1cacf0f
lib: refactor, prepare to drop showTransactionUnelided functionality
...
It seems we don't use it at all, and ony says it's not robust with
prices either.
Merge remote-tracking branch 'ony/chores/drop-elide-in-showTransaction'
2019-11-18 17:27:30 -08:00