Simon Michael
8c18bada0c
lib, cli, ui, web: update cabal files
2018-09-22 21:01:23 -10:00
Simon Michael
45858abc9c
cli, ui, web: drop HUnit dependency
2018-09-07 13:01:50 -07:00
Simon Michael
362705a981
update cabal files
2018-09-07 12:44:52 -07:00
Simon Michael
72acb86299
cabal: bump tested-with declarations
2018-08-02 08:25:49 +01:00
Simon Michael
d62f082bce
bump version to 1.10.99 (dev)
2018-07-04 13:32:42 +01:00
Simon Michael
6242b1d784
bump version to 1.10
2018-06-30 22:08:02 +01:00
Simon Michael
f4c743eca4
web: disable test suite, broken and not testing anything useful
2018-06-30 14:48:18 +01:00
Jakub Zárybnický
70c1bb1ef0
web: Re-add warnings conditional on GHC version
2018-06-25 12:12:17 +02:00
Jakub Zárybnický
466558968b
web: Fix compilation errors for all 'stack.yaml's
2018-06-25 12:00:18 +02:00
Jakub Zárybnický
e8668e2a5c
web: Conform layout to the rest of hledger-* packages
2018-06-24 14:18:06 +02:00
Jakub Zárybnický
af98eecdf8
web: Add capabilities type, CLI options, and reading them from headers
2018-06-24 14:18:02 +02:00
Jakub Zárybnický
c952ab881b
web: Add /manage page, implement /edit, /upload, and /download
2018-06-24 14:13:04 +02:00
Jakub Zárybnický
cc1241fa20
web: Add yesod-form-generated AddForm, add GET & POST /add
2018-06-24 14:13:04 +02:00
Jakub Zárybnický
4c8d7de602
web: Fix error messages
2018-06-24 14:13:04 +02:00
Jakub Zárybnický
9beec88727
web: Move sources to src/ subdirectory
2018-06-24 14:13:04 +02:00
Jakub Zárybnický
4faf0d8b4a
web: Resurrect ImportForm and EditForm
2018-06-24 14:13:04 +02:00
Jakub Zárybnický
89ff5612ec
web: Separate the add form from Foundation & JournalR/RegisterR
2018-06-24 14:13:03 +02:00
Jakub Zárybnický
7404813239
web: Remove dead code
2018-06-24 14:13:03 +02:00
Jakub Zárybnický
50e97e05fd
web: Clean up imports
2018-06-24 14:13:03 +02:00
Simon Michael
0ce9c5728a
switch to base-compat-batteries to fix ghc 7.10 support ( #794 )
...
base-compat-batteries provides the same API across more ghc versions
than base-compat does, at the cost of more dependencies. Eg it exports
Prelude.Compat ((<>)) with ghc 7.10/base 4.8, which we expect.
My belief is that several of our deps already require it so the added
cost is not too great. We should probably go back to base-compat when
possible though, eg when we stop supporting ghc 7.10.
2018-06-04 17:32:42 -07:00
Simon Michael
328b2dabfe
require latest base-compat, might as well ( #794 )
2018-06-04 17:32:32 -07:00
Peter Simons
8c0c168cd6
Fix the build of hledger-lib with ghc 8.0.x and base-compat 0.10.x.
...
We don't need to import Data.Monoid because Prelude.Compat exports "<>"
already. In fact, importing that module causes build failures:
Hledger/Read/Common.hs:725:62: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Sem.<>’,
imported from ‘Prelude.Compat’ at Hledger/Read/Common.hs:97:1-39
(and originally defined in ‘Data.Semigroup’)
or ‘Data.Monoid.<>’,
imported from ‘Data.Monoid’ at Hledger/Read/Common.hs:110:1-18
Fixes https://github.com/simonmichael/hledger/issues/794 .
2018-06-04 20:58:58 +02:00
Alex Chen
c4ba7542d7
lib: use megaparsec 6 for all supported ghc versions
2018-05-22 12:16:46 -07:00
Simon Michael
41665d07b0
regenerate cabal files, fix tabular compilation error
2018-04-23 18:52:28 -07:00
Simon Michael
d53557b09d
regen cabal files with stack 1.7's hpack (0.28.2)
2018-04-20 06:47:52 -07:00
Simon Michael
30186e35ea
cabal: update tested-with
2018-04-20 05:24:09 -07:00
Simon Michael
4ea02bf1cb
bump version to 1.9.99
2018-04-04 17:53:38 +01:00
Simon Michael
6ebb1fb061
update cabal files
2018-03-31 19:15:24 +01:00
Simon Michael
0979dbc01f
regenerate cabal files with stack 1.6.3 to silence hpack warnings
...
[ci skip]
2018-03-31 03:24:01 +01:00
Simon Michael
21db75f1a6
update cabal files
2018-03-24 16:06:20 +00:00
Simon Michael
e85e3a96c9
web: update cabal file
...
[ci skip]
2018-03-12 04:20:56 +00:00
Simon Michael
92d48ed0a2
lib/ui/web/api: move manuals to extra-source-files in these pkgs too
...
[ci skip]
2018-01-26 11:49:26 -08:00
Simon Michael
bc3f5c476c
bump version to 1.5.99
2018-01-04 10:15:03 -08:00
Simon Michael
956dee9682
update cabal files
2017-12-31 10:24:15 -08:00
Simon Michael
0d8ac2cd6f
update cabal files
2017-12-31 10:03:50 -08:00
Simon Michael
d3363d09d8
allow megaparsec 6.4.0
2017-12-31 08:47:59 -08:00
Eli Flanagan
d12d7e2228
use bootstrap-datepicker
...
This also validates transaction date and description upon form submission. As noted in
the issue, this removes hledger-web's "smart date" functionality. This
functionality can be restored giving the demand but should be tracked in
another issue.
Previous iterations used input[type=date], but it isn't easily
crossbrowser and the polyfill I found had some quirks.
2017-12-29 13:01:26 -08:00
Simon Michael
0621a27833
update cabal files
2017-12-22 10:13:37 -08:00
Simon Michael
761fc31eb8
lib,cli,ui,web: allow megaparsec 6.3.0
2017-12-15 12:32:11 -08:00
Simon Michael
9013694d89
cabal: regenerate with stack 1.6/hpack 0.20
2017-12-07 11:46:33 -08:00
Simon Michael
c18a75ecfe
fix data-files paths in yaml/cabal files
2017-12-06 18:45:01 -08:00
Simon Michael
302723b1be
lib,cli,ui,web: allow megaparsec 6.2
...
Forgot to commit this last time.
[ci skip]
2017-10-01 09:49:51 -10:00
Simon Michael
bfb4a38afb
update cabal files
2017-09-30 11:45:33 -10:00
Simon Michael
b324d3de95
lib, cli, ui, web: drop oldtime flag, require time 1.5+
...
Should be safe to do now, I hope.
2017-08-25 16:56:41 -07:00
Simon Michael
2036260bb8
cli, web: simplify shakespeare bounds
2017-08-25 16:46:35 -07:00
Simon Michael
230dfea207
update tested-with GHC versions
2017-08-25 16:40:29 -07:00
Simon Michael
6448053448
lib, cli, web: remove ghc < 7.6 support
2017-08-25 16:36:17 -07:00
Simon Michael
c3ba45cd48
ui, web, api: package.yaml: similar cleanups
2017-08-25 16:31:54 -07:00
Simon Michael
e24a1a2dc0
cli, web: remove unnecessary bound to satisfy hackage server
2017-08-25 09:21:50 -07:00
Hans-Peter Deifel
37d7c248e2
Allow megaparsec-6.1
2017-08-24 15:56:49 -07:00
Simon Michael
21951aa273
bump version harder: fix some yaml/cabal bounds I had missed
2017-08-01 10:11:42 -07:00
Simon Michael
1efbbbc7ac
regenerate cabal files
2017-07-31 15:01:23 -07:00
Simon Michael
87e281a45d
restore upper bounds on hledger packages
...
I dropped these last month, perhaps without meaning to.
They probably should stay. hledger-ui (eg) will still build
with minor updates of hledger-lib or hledger, but will require
either a release or a hackage revision to build with a major
update.
2017-07-30 11:42:52 -07:00
Simon Michael
d7d5f8a064
add support for megaparsec 6 ( fixes #594 )
...
Older megaparsec is still supported.
Also cleans up our custom parser types,
and some text (un)packing is done in different places
(possible performance impact).
2017-07-27 19:20:46 -07:00
Simon Michael
af952532c9
bump package versions to 1.3
2017-06-30 20:57:47 +01:00
Simon Michael
af11cd6243
bump package versions to 1.2.98 (1.3 alpha)
2017-06-06 09:21:51 -07:00
Simon Michael
2de0109953
allow megaparsec 5.3
2017-04-29 17:16:27 -07:00
Simon Michael
1850fb732f
bump version to 1.2
2017-03-31 17:58:11 -07:00
Peter Simons
e2c8a6ae42
Use more accurate license tag in Cabal file.
2017-03-15 23:07:57 +00:00
Simon Michael
3c13da3ca2
update cabal files to hpack 0.17.0/stack 1.4 format #512
2017-03-15 23:04:35 +00:00
Simon Michael
a30583f6a1
allow megaparsec 5.2 #503
2017-02-01 16:24:37 -08:00
Simon Michael
5345e2641a
regenerate cabal files with hpack
...
A few packages which included the Paths_* module no longer do,
and this seems ok with stack and cabal as far as I can tell.
That should be the only change, aside from a bunch of reorderings.
2017-01-16 14:23:47 -08:00
Simon Michael
631a95ba9c
bump version to 1.1.98 (1.2 alpha)
2017-01-05 10:43:06 -08:00
Simon Michael
14c8e4d8f7
bump version to 1.1
2016-12-31 07:54:47 -08:00
Simon Michael
6a36efb7ca
set base lower bound to 4.8 to enforce GHC 7.10+
...
hledger-lib had a valid install plan with GHC 7.8, but requires GHC 7.10 to compile (currently).
Require base 4.8+ everywhere so that stack/cabal will enforce a supported GHC version early.
Also, bump hledger-ui's "stability" to "stable".
2016-11-16 13:14:02 -08:00
Simon Michael
45684f2f79
tighten up dep bounds among the hledger packages
2016-10-27 14:37:14 -07:00
Simon Michael
6d0716b0a5
bump packages (excluding hledger-api and docs) to 1.0.1
2016-10-27 08:14:35 -07:00
Simon Michael
8bc0538778
allow megaparsec 5.0 or 5.1 for stackage compatibility
2016-10-27 07:19:26 -07:00
Simon Michael
315db5621a
doc: bump version to 1.0, update manuals & cabal files
2016-10-26 13:34:27 -07:00
Simon Michael
ee2ced7f65
set an upper bound on megaparsec
2016-10-26 13:34:27 -07:00
Simon Michael
5aa4c91332
stack/cabal cleanups; drop GHC 7.6, 7.8 support
...
A (disabled) stack build plan for GHC 7.8 is included; supporting it
would need small code changes and a maintainer.
2016-10-21 14:47:22 -07:00
Simon Michael
15ebae5c5f
lib, cli, web: try to fix building with GHC 7.4
2016-08-09 12:22:38 -07:00
Simon Michael
cf8ebd4ae2
pkg: rename, clean up oldtime flag
2016-08-09 12:03:23 -07:00
Simon Michael
1b65582908
pkg: clean up deps slightly
2016-08-09 12:02:57 -07:00
Simon Michael
570de3a0a5
format package descriptions more nicely
2016-08-09 11:29:17 -07:00
Simon Michael
0302be1b15
tools: fix tested-with in package.yamls
2016-08-09 07:57:30 -07:00
Simon Michael
d165600155
lib, cli, web, api: use hpack (package.yaml) for all packages at last #371
...
Generated package.yaml files from the old cabal files with hpack-convert,
removed some problematic blank lines manually,
regenerated the cabal files from the package.yaml files with hpack.
Tests pass, looks like all the info is still there.
This means that from now on, we don't edit cabal files directly.
We edit the less verbose package.yaml files. stack will update
the cabal files automatically (or non-stack users can use hpack).
The changes to both are committed, as we still want to provide
the cabal files to downloaders.
2016-08-09 07:24:57 -07:00
Moritz Kiefer
4141067428
Replace Parsec with Megaparsec (see #289 ) ( #366 )
...
* Replace Parsec with Megaparsec (see #289 )
This builds upon PR #289 by @rasendubi
* Revert renaming of parseWithState to parseWithCtx
* Fix doctests
* Update for Megaparsec 5
* Specialize parser to improve performance
* Pretty print errors
* Swap StateT and ParsecT
This is necessary to get the correct backtracking behavior, i.e. discard
state changes if the parsing fails.
2016-07-29 08:57:10 -07:00
Simon Michael
b540b4336e
web: looser dependency on hledger/hledger-lib #353
2016-07-24 18:16:29 -07:00
Simon Michael
a961988a88
bump cabal versions to 0.28
2016-05-29 00:00:59 -07:00
Simon Michael
2538d14ea7
lib: textification begins! account names
...
The first of several conversions from String to (strict) Text, hopefully
reducing space and time usage.
This one shows a small improvement, with GHC 7.10.3 and text-1.2.2.1:
hledger -f data/100x100x10.journal stats
string: <<ghc: 39471064 bytes, 77 GCs, 198421/275048 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.001 elapsed), 0.015 MUT (0.020 elapsed), 0.010 GC (0.014 elapsed) :ghc>>
text: <<ghc: 39268024 bytes, 77 GCs, 197018/270840 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.002 elapsed), 0.016 MUT (0.022 elapsed), 0.009 GC (0.011 elapsed) :ghc>>
hledger -f data/1000x100x10.journal stats
string: <<ghc: 318555920 bytes, 617 GCs, 2178997/7134472 avg/max bytes residency (7 samples), 16M in use, 0.000 INIT (0.001 elapsed), 0.129 MUT (0.136 elapsed), 0.067 GC (0.077 elapsed) :ghc>>
text: <<ghc: 314248496 bytes, 612 GCs, 2074045/6617960 avg/max bytes residency (7 samples), 16M in use, 0.000 INIT (0.003 elapsed), 0.137 MUT (0.145 elapsed), 0.067 GC (0.079 elapsed) :ghc>>
hledger -f data/10000x100x10.journal stats
string: <<ghc: 3114763608 bytes, 6026 GCs, 18858950/75552024 avg/max bytes residency (11 samples), 201M in use, 0.000 INIT (0.000 elapsed), 1.331 MUT (1.372 elapsed), 0.699 GC (0.812 elapsed) :ghc>>
text: <<ghc: 3071468920 bytes, 5968 GCs, 14120344/62951360 avg/max bytes residency (9 samples), 124M in use, 0.000 INIT (0.003 elapsed), 1.272 MUT (1.349 elapsed), 0.513 GC (0.578 elapsed) :ghc>>
hledger -f data/100000x100x10.journal stats
string: <<ghc: 31186579432 bytes, 60278 GCs, 135332581/740228992 avg/max bytes residency (13 samples), 1697M in use, 0.000 INIT (0.008 elapsed), 14.677 MUT (15.508 elapsed), 7.081 GC (8.074 elapsed) :ghc>>
text: <<ghc: 30753427672 bytes, 59763 GCs, 117595958/666457240 avg/max bytes residency (14 samples), 1588M in use, 0.000 INIT (0.008 elapsed), 13.713 MUT (13.966 elapsed), 6.220 GC (7.108 elapsed) :ghc>>
2016-05-24 19:00:49 -07:00
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
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
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
Thomas R. Koll
f9c1902cbb
web: delete a few unused files from Yesod default app
...
the normalize file is called but not delivered(?), anyways there is a newer version in bootstrap.css
2015-12-18 22:51:42 +01: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
74512814ec
cli/ui/web: rename X.Options modules to X.XOptions
...
Make these modules' names more like the heavily-used types they
define (CliOpts, UIOpts, WebOpts). This is consistent with
RawOptions and ReportOptions, and helps with code navigation.
2015-08-28 12:43:51 -07:00
Simon Michael
6fd1e965ed
fix cabal file regression breaking GHC<7.10 ( #280 )
2015-08-21 12:19:43 -07:00
Simon Michael
e485962a70
cli, web: obey the threaded flag again
...
[ci skip]
2015-08-13 11:55:58 -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
3d3c374cc6
update tested-with
2015-07-12 17:36:19 -07:00
Simon Michael
e5c0d75117
bump version to 0.26
2015-07-12 15:29:10 -07:00
Simon Michael
08b7b609cb
web: drop deprecated network-conduit dependency
2015-07-12 14:59:39 -07:00
Simon Michael
f64d3c7944
web: re-add unminified jquery source ( #161 )
2015-06-23 06:09:15 -07:00