Simon Michael
7ec3ebb66b
update tested-with
...
Note we seem to have lost GHC 7.4 compatibility. It should be fixable if
anyone cares.
2016-04-28 17:32:17 -07:00
Simon Michael
259e7bfbe3
lib: add a doctest suite
2016-04-28 13:34:57 -07:00
Simon Michael
50aeb90596
lib, ui: GHC 8 compatibility
2016-04-28 12:55:19 -07:00
Simon Michael
91847fc6fd
data-files does not support wildcards after all
2016-04-20 13:23:05 -07:00
Simon Michael
33b5c5dc94
declare generated docs as data-files, sync hpack yamls
2016-04-20 12:47:17 -07:00
Simon Michael
b73bcda52a
include txt man pages in cabal tarballs
2016-04-13 22:38:53 -07:00
Simon Michael
588f36d662
rename timelog format to timeclock
2016-04-12 21:13:19 -07:00
Simon Michael
b4d491791c
doc: include nroff man pages in cabal tarballs
2016-04-12 11:25:46 -07:00
Simon Michael
5e71d749c4
doc: ensure all five main packages have a README
2016-04-12 11:13:01 -07:00
Simon Michael
1cf223a2db
lib: finish move of reading utils, useful for 320
...
It seems this already began in today's timedot commit.
2016-02-19 21:37:12 -08:00
Simon Michael
06b54bf05e
lib: timedot format, convenient for time logging
...
Timedot is a plain text format for logging dated, categorised
quantities (eg time), supported by hledger. It is convenient for
approximate and retroactive time logging, eg when the real-time
clock-in/out required with a timeclock file is too precise or too
interruptive. It can be formatted like a bar chart, making clear at a
glance where time was spent.
2016-02-19 17:55:57 -08:00
Simon Michael
a5fd56223c
bump version to 0.27
2015-10-30 13:21:51 -07:00
Simon Michael
36d97a2e50
update cabal docs and other fields
2015-10-30 13:08:03 -07:00
Simon Michael
f8f2d457b9
lib: memoize toRegex[CI] ( #244 )
...
The regex helpers were converting strings to regex-tdfa regular
expressions on the fly every time, but this appears to be quite
expensive. The simplest memoisation lib seems to solve it nicely.
2015-09-26 15:39:21 -10:00
Simon Michael
6fd1e965ed
fix cabal file regression breaking GHC<7.10 ( #280 )
2015-08-21 12:19:43 -07:00
Simon Michael
7aecbac851
lib: split up Utils more
2015-08-19 20:53:50 -07:00
Simon Michael
36dd64cf02
balance, lib: clarify --format implementation
...
The --format option's OutputFormat type was named confusingly like the
--output-format option. It has been renamed StringFormat to distinguish
it from StorageFormat (aka the data file format, referenced by
--output-format). Related code and types have been consolidated.
Also the (single-column) balance report's item rendering has had
some cleanup.
2015-08-19 20:53:49 -07:00
Simon Michael
2b339667e2
Merge branch 'perf-polyparse' (early part)
2015-08-13 13:10:10 -07:00
Simon Michael
632a000f08
derive NFData in a way compatible with GHC < 7.10
...
The DeriveAnyClass extension requires GHC 7.10, so instead do this in a
more verbose backwards-compatible way. Adds a dependency on deepseq.
2015-08-13 12:58:44 -07:00
Simon Michael
48e31d4f8c
bump version to 0.26.98
2015-08-12 22:49:04 -07:00
Simon Michael
a9b2e5409c
switch to hpack-generated cabal files
...
The hledger-lib, hledger and hledger-web cabal files are now generated
from the package.yaml files with hpack, plus some manual fixups.
2015-08-12 22:45:08 -07:00
Simon Michael
087f3a49bc
note older tested-with versions based on hackage builder
2015-07-13 20:23:59 -07:00
Simon Michael
e5c0d75117
bump version to 0.26
2015-07-12 15:29:10 -07:00
Simon Michael
9e2111106b
drop regexpr dependency
2015-05-17 08:32:45 -07:00
Simon Michael
61423bdad4
consistently require latest base-compat for sanity
2015-04-29 07:16:08 -07:00
Simon Michael
dac8a784f4
bump version to 0.26 alpha
2015-04-28 13:48:23 -07:00
Simon Michael
1bc9b71f28
bump version to 0.25
2015-04-28 13:42:41 -07:00
Simon Hengel
964a410b24
hledger-lib: Update for base-compat-0.8.0 (see #245 )
2015-04-23 15:41:59 +08:00
Simon Michael
f75849cdd6
fix ghc 7.10 Applicative import warnings ( #239 )
...
Still needed CPP, despite using base-compat.
2015-03-29 16:09:41 -07:00
Simon Michael
8e50395b7c
ErrorT -> ExceptT, handle mtl <2.2.1 && >=2.2.1 ( #239 )
2015-03-29 14:16:42 -07:00
Simon Michael
216ebb8333
hledger-lib: mark the double flag as manual only
...
This would only be used for developer testing, cabal should never toggle
it automatically.
2015-03-27 15:46:57 -07:00
Simon Michael
b8b730226f
hledger/hledger-lib: update tested-with
...
Add 7.10 and drop 7.2-7.6 which haven't been tested recently (but should
still work)
2015-03-27 15:44:39 -07:00
Simon Michael
e60eb71467
adapt to GHC-7.10's time-1.5 ( #239 )
2015-03-27 15:42:32 -07:00
Simon Michael
c47463332a
allow utf8-string-1 (fix fpco/stackage/#426)
2015-03-15 11:06:53 -07:00
Simon Michael
a719cb8f6e
bump version to 0.25-unreleased
2014-12-26 11:08:20 -08:00
Simon Michael
e77225038f
bump version to 0.24
2014-12-25 11:42:39 -08:00
Julien Moutinho
cf28985cf2
lib: move from Text.ParserCombinators.Parsec to Text.Parsec
...
NOTE: required to use liftIO in includedirective
SEE: http://www.vex.net/~trebla/haskell/parsec-generally.xhtml#IO
2014-11-20 10:08:30 +01:00
Simon Michael
9fa22e0398
account aliases (and regexReplace) now support backreferences
2014-10-29 07:46:49 -07:00
Simon Michael
69636f70fb
extract debug helpers into a module
2014-10-28 18:40:22 -07:00
Simon Michael
0620ec9840
fix redundant compilation in the hledger packages, at last
...
This seems to work well now with my haddock and GHC 7.8.
Not tested with GHC 7.6 though.
2014-10-19 09:37:18 -07:00
Simon Michael
3b70362525
switch to Decimal for representing quantities ( closes #118 )
...
hledger has represented quantities with floating point (Double) until
now. While this has been working fine in practice, the time has come to
upgrade our number representation to something more principled: Decimal,
for now. As a bonus, this brings a ~30% speed boost to most reports.
We'll keep the old representation(s) around for a while, selectable via
hledger-lib cabal flag, for research/testing/benchmarking purposes. To
build with the old Double representation: cabal install -fdouble
hledger-lib hledger hledger-web
2014-10-18 12:33:31 -07:00
Simon Michael
84a90374b4
make build warnings consistent
2014-10-18 10:16:22 -07:00
Simon Michael
04f6162e19
extract regular expression utils module
2014-07-06 10:11:02 -07:00
Simon Michael
6393293414
allow transformers 0.4*
2014-06-21 20:13:16 -07:00
Simon Michael
41add3ffeb
oh fine still cant do that, bump to 0.23.98
2014-05-03 17:18:12 -07:00
Simon Michael
87f1e83d78
bump version to 0.24dev
2014-05-03 15:51:57 -07:00
Simon Michael
07a82724ed
lib, cli, web: change from "beta" to "stable"
...
Also add the hackage Console category to the first two.
2014-05-01 08:20:05 -07:00
Simon Michael
1eeedfe551
bump versions to 0.23
2014-05-01 08:17:17 -07:00
Simon Michael
d46b290287
update tested-withs
2014-04-19 12:16:14 -07:00
Simon Michael
f94d784f48
changelog updates from release branch
...
give hledger-lib a changelog, update changelogs
(cherry picked from commit a67cee4e5f9e3dc09be86e7bc0e8fd77168a5070)
Conflicts:
hledger/CHANGES
update changelogs
(cherry picked from commit ef053a42523ff2d57921837896b9ccc0a260cc27)
web: changelog
(cherry picked from commit 105c1d01429680a4e8a11a8c4be06f4ceca4329e)
web: changelog
(cherry picked from commit 3d42c123be7dd51be6586549f1f057052cc6fff9)
2014-04-17 12:36:00 -07:00