Commit Graph

4822 Commits

Author SHA1 Message Date
Simon Michael
1539b258b9 lib: more Hledger.Read cleanup 2016-11-19 08:57:03 -08:00
Simon Michael
9311077205 ui: allow brick 0.14, vty 5.12, text-zipper 0.9 2016-11-19 08:53:07 -08:00
Simon Michael
a8ca9e83d9 fix "oldtime" dep typo more (fixes #431) 2016-11-19 08:52:27 -08:00
Simon Michael
2eb7db202f fix "oldtime" dep typo in hledger package (fixes #431) 2016-11-19 07:31:16 -08:00
Simon Michael
c8fefef7e8 doc: document file reading, and some options cleanups 2016-11-18 13:26:15 -08:00
Simon Michael
b6ff170688 lib: simplify format detection, avoid ledger reader by default
When we don't know a file's format, instead of choosing a subset of
readers based on content sniffing, now we just try them all.
Also, LedgerReader is now used only as a last resort,
as it's not yet competitive with JournalReader.
2016-11-18 13:24:57 -08:00
Simon Michael
59ce4c987b ledger: handle errors better in the ledger reader 2016-11-18 13:18:58 -08:00
Simon Michael
12151e05c0 lib: some Hledger.Read cleanup 2016-11-17 20:20:07 -08:00
Simon Michael
3ddc9d7432 lib: clarify file format detectors 2016-11-16 13:25:33 -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
48b0d8a395 lib: ledger reader debug logging, cleanup 2016-11-13 08:29:04 -08:00
Simon Michael
27dd1ca593 lib: add a basic ledger journal reader using ledger4's ledger-parse
This reader is used by default for files with suffix .ledger or .l,
and tried along with the other readers for files of unknown type.

Currently only the bare minimum of the raw parsed data is used:
transaction dates/descriptions and posting accounts/amounts,
with the rest being ignored.

Amounts are parsed the same way as in the hledger journal format.
Malformed amounts might be ignored instead of error-reported.
2016-11-12 14:22:27 -08:00
Simon Michael
4eb7a617db lib: fix doctests 2016-11-12 14:14:04 -08:00
Simon Michael
6db6f9aa2c lib: fix hunit tests 2016-11-12 14:13:55 -08:00
Simon Michael
2996ec971b lib: also recognise *.hledger as hledger journal format 2016-11-12 13:55:37 -08:00
Simon Michael
c8650e0d10 comment 2016-11-12 13:54:48 -08:00
Simon Michael
2b310029bf file list fixes 2016-11-12 13:53:55 -08:00
Simon Michael
f5ee020b88 lib: add a copy of the ledger4 parser
This adds some or all of these as new dependencies for hledger-lib:
parsers, parsec, attoparsec, trifecta
2016-11-12 10:50:57 -08:00
Simon Michael
a64dea651e site: misc updates 2016-11-12 09:40:04 -08:00
Simon Michael
e00b825d42 ui: bump to 1.0.4, changelog 2016-11-02 07:08:15 -07:00
Simon Michael
8ca03f0a49 fix ghc7 stack config, update ghc8 stack config 2016-11-02 07:06:34 -07:00
Simon Michael
3a37390ef1 ui: allow brick 0.13 2016-11-02 07:06:01 -07:00
Simon Michael
de376e7f75 site: download: add the hledger-web Sandstorm app 2016-10-31 10:48:20 -07:00
Simon Michael
c6e2784eeb ui: use brick 0.12, bump version to 1.0.3 2016-10-31 08:06:29 -07:00
Simon Michael
56a4d84b59 doc, site: final announcement text, announcement link
[ci skip]
2016-10-30 10:29:50 -07:00
Simon Michael
6258dc0db3 site: download page updates
[ci skip]
2016-10-30 07:10:35 -07:00
Simon Michael
b2b45d827b site: download page updates
[ci skip]
2016-10-30 06:51:57 -07:00
Simon Michael
27f9b0b000 doc, site: announcement, download page updates
The latest install instructions, 2016/10 edition.

[ci skip]
2016-10-30 06:38:33 -07:00
Simon Michael
f548abf71c lib, doc: remove incorrect speedup claim 2016-10-29 12:13:20 -07:00
Simon Michael
407a76102c doc: delete release notes org outline
Too many copies, better to use this temporarily as-needed.
2016-10-29 12:11:45 -07:00
Simon Michael
b1f90e6efa site: relnotes: 1.0 summary and contributors
[skip ci]
2016-10-29 11:18:43 -07:00
Simon Michael
a3ed61587a site: relnotes: more links 2016-10-29 11:01:16 -07:00
Simon Michael
096f4ebe0d site: relnotes: tighten up TOC item spacing 2016-10-29 10:58:03 -07:00
Simon Michael
08244f0747 shake: workaround for a weird error running hakyll-std 2016-10-29 10:51:43 -07:00
Simon Michael
140db2011e site: relnotes: issue links 2016-10-29 10:23:28 -07:00
Simon Michael
b0691108be site: relnotes: sub table of contents for 1.0 2016-10-29 10:23:28 -07:00
Simon Michael
fe1ce15dbe site: gingerly remove h4/5/6 clear style to fix relnotes
Release notes and manual look fine. It may break layout somewhere else.
2016-10-29 10:23:28 -07:00
Simon Michael
91686b400b shake: comments 2016-10-29 10:23:28 -07:00
Simon Michael
79dfa308fc shake: compile now installs required libs 2016-10-29 09:42:48 -07:00
Simon Michael
d4844b621e shake: don't Clean generated man files
It caused hpack to omit them from cabal files.
2016-10-29 09:41:50 -07:00
Simon Michael
0aad803583 doc: simplify problematic old manual patch
These two hunks attempting to fix doc version links on the 0.27 manual
make OSX patch (2.5.x) fail with a confusing error, and anyway
they were fragile and changing the wrong place.
2016-10-29 09:38:26 -07:00
Simon Michael
00aedabdc5 site: fixes for 1.0/0.27 doc links 2016-10-28 11:56:58 -07:00
Simon Michael
8b538e8095 site: fix 0.27 manual links
[skip ci]
2016-10-28 11:34:45 -07:00
Simon Michael
16d454c2f1 tools: ignore Shake 2016-10-28 11:33:05 -07:00
Simon Michael
7d4a1f2399 tools: make/shake cleanups 2016-10-28 11:15:10 -07:00
Simon Michael
1482f79d2e doc: 1.0 announcement 2016-10-27 18:01:34 -07:00
Simon Michael
fbad390bfb doc: HCAR report 2016-10-27 16:50:03 -07:00
Simon Michael
45684f2f79 tighten up dep bounds among the hledger packages 2016-10-27 14:37:14 -07:00
Simon Michael
ccf44bd48d doc: hledger-ui-1.0.2 change notes 2016-10-27 14:34:04 -07:00
Simon Michael
bf6504e899 ui: bump version to 1.0.2 2016-10-27 14:27:42 -07:00