Commit Graph

801 Commits

Author SHA1 Message Date
Jakub Zárybnický
0e7b713a80 web: Simplify hledgerLayout into defaultLayout 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ý
c24c8f1c99 web: Simplify postAddR 2018-06-24 14:13:03 +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ý
d760904982 web: Replace RecordWildCards with NamedFieldPuns, remove unused parameters 2018-06-24 14:13:03 +02:00
Jakub Zárybnický
1d2b3521f6 web: Split long functions, remove unused parameters 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ý
ee97e476c8 web: Switch to Data.Text, instead of unpacking to String 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
6a96683691 web: make --auto and multiple -f options work again
I think we lost one or both of these at the time of ecf49b1e.
2018-06-20 00:26:37 -07:00
Simon Michael
061aad0431 remove some CPP that's obsolete since we require base 4.8+ 2018-06-04 17:33:21 -07: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
b245ec7b3d lib: remove the megaparsec compatability module 2018-05-22 12:16:46 -07:00
Alex Chen
c4ba7542d7 lib: use megaparsec 6 for all supported ghc versions 2018-05-22 12:16:46 -07:00
Simon Michael
0aef51d725 changelogs 2018-04-29 12:45:07 -07:00
Simon Michael
41665d07b0 regenerate cabal files, fix tabular compilation error 2018-04-23 18:52:28 -07:00
Simon Michael
3a3829ac0f doc: regen embedded manuals 2018-04-20 06:48:26 -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
Dmitry Astapov
d82370d10b lib, app, web: remove differences between command line and journal file aliases 2018-04-17 16:09:11 -07:00
Dmitry Astapov
f6ec26e321 lib, app, web, ui: rename readJournalFile[s]WithOpts to readJournalFile, same for tryReader[s]WithOpts 2018-04-17 15:25:02 -07:00
Dmitry Astapov
37607beaea lib, app, web: use readJournalFileWithOpts instead of readJournalFile whenever possible 2018-04-17 14:33:32 -07:00
Dmitry Astapov
ecf49b1e4b lib: auto postings generated before amount inference and balance checks (#729) 2018-04-17 14:33:32 -07:00
Simon Michael
4ea02bf1cb bump version to 1.9.99 2018-04-04 17:53:38 +01:00
Simon Michael
98647ee6f2 web: fix breakage with yesod < 1.6
[ci skip]
2018-04-02 16:32:38 +01:00
Simon Michael
027abcabe6 update embedded manuals 2018-03-31 19:15:24 +01:00
Simon Michael
6ebb1fb061 update cabal files 2018-03-31 19:15:24 +01:00
Simon Michael
2db2010e40 bump version to 1.9, bump manual date 2018-03-31 19:15:24 +01:00
Simon Michael
0a1e46e018 doc: update changelogs, release notes
[ci skip]
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
178e3a234b ui/web: -E toggles zeroes at startup, with opposite default to cli 2018-03-29 22:35:06 +01:00
Simon Michael
64e06750eb doc: draft changelogs & release notes 2018-03-28 18:25:01 +01:00
Simon Michael
1fe3d7e824 web: fix HandlerT warnings 2018-03-25 13:16:12 +01:00
Simon Michael
84579bb1b4 silence redundant import warnings with ghc 8.4 2018-03-24 22:51:56 +00:00
Simon Michael
21db75f1a6 update cabal files 2018-03-24 16:06:20 +00:00
Simon Michael
d1a55e5f76 tighten base upper bound, avoid breakage with next major GHC 2018-03-22 16:43:40 +00:00
Simon Michael
e85e3a96c9 web: update cabal file
[ci skip]
2018-03-12 04:20:56 +00:00
Simon Michael
d610da2567 web: fix unused import warning (#717)
[ci skip]
2018-03-12 04:20:45 +00:00
Simon Michael
e368c99900 web: fix outdated api usage to support yesod 1.6 (#717) 2018-03-12 03:41:31 +00:00
Simon Michael
97c814c8ba web: restore bounds for main yesod packages to avoid breakage (#717) 2018-03-12 03:41:31 +00:00
Simon Michael
8c384e3192 tweak -E help again, hledger-web also shows zeroes by default
[ci skip]
2018-02-18 08:05:55 -08:00
Simon Michael
a8933e8c5c ui: tweak -E help, hledger-ui shows zeroes by default
[ci skip]
2018-02-18 07:16:59 -08: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
Eli Flanagan
b5e788dadc doc: remove raw markup macro
saw the `:::` macro in hledger-web, hledger-ui so removed. Not sure if
that had special behavior in somewhere in the build chain.
2018-01-24 18:21:40 -08:00
Simon Michael
a0d765edb5 update embedded manuals 2018-01-04 10:19:27 -08:00
Simon Michael
bc3f5c476c bump version to 1.5.99 2018-01-04 10:15:03 -08:00
Simon Michael
82283d75d7 doc: changelog updates 2017-12-31 10:30:28 -08:00