Commit Graph

6199 Commits

Author SHA1 Message Date
Everett Hildenbrandt
5fc59811a0 hakyll-std/TableOfContents: write5HtmlString => writeHtml5String 2018-04-21 10:53:47 -07:00
Everett Hildenbrandt
3997d55c7d hakyll-std/hakyll-std: pandoc no longer supports writerHighlight option 2018-04-21 10:53:47 -07:00
Everett Hildenbrandt
178c3af10c hakyll-std/hakyll-std: pandoc implied by hakyll 2018-04-21 10:53:47 -07:00
Simon Michael
0b380971f7 journal: require a decimal point in commodity/format/D directives
A commodity directive that doesn't specify the decimal point character
increases ambiguity and the chance of misparsing numbers, especially
as it overrides all style information inferred from the journal amounts.
In some cases it caused amounts with a decimal point to be parsed as if
with a digit group separator so 1.234 became 1234.

We could augment it with extra info from the journal amounts, when available,
but it would still be possible to be ambiguous, and that won't be obvious.

A commodity directive is what we recommend to nail down the style.
It seems the simple and really only way to do this reliably is to require
an explicit decimal point character. Most folks probably do this already.

Unfortunately, it makes another potential incompatiblity with ledger and
beancount journals. But the error message will be clear and easy to
work around.
2018-04-20 21:56:06 -07:00
Simon Michael
3f2827424c refactor: number parsing docs 2018-04-20 21:39:06 -07:00
Simon Michael
3d4f5600ae journal: infer and balance amounts with standard amount styles (fix #737)
Inferred amounts now have the appropriate standard amount style applied.
And when checking for balanced transactions, amount styles declared with
commodity directives are also used (previously only inferred amount styles were).
2018-04-20 13:40:05 -07:00
Simon Michael
45973eca7e site: download: mention hpack warnings, bump stack version
[ci skip]
2018-04-20 06:55:12 -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
b1cd20c94c doc: typos
[ci skip]
2018-04-20 05:40:54 -07:00
Simon Michael
1a9a1796d1 doc: note -V limitation in multicolumn balance reports
[ci skip]
2018-04-20 05:38:36 -07:00
Simon Michael
be7702b187 doc: market value: update examples
[ci skip]
2018-04-20 05:24:09 -07:00
Simon Michael
30186e35ea cabal: update tested-with 2018-04-20 05:24:09 -07:00
Simon Michael
91e3ddd4fb lib: refactor 2018-04-20 05:24:09 -07:00
Dmitry Astapov
0c835acd18 lib, app: better descriptions for forecast transactions 2018-04-18 16:05:08 -07:00
Simon Michael
f2d3b3e1d4 csv: handle the other double negation cases: -(N), ((N)) (fix #736) 2018-04-18 07:39:33 -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
Simon Michael
2bed041135 doc: queries: clarify
[ci skip]
2018-04-17 14:34:50 -07:00
Simon Michael
ae8046d47b lib: restore/update haddocks on readJournalFile[s]WithOpts
[ci skip]
2018-04-17 14:34:43 -07:00
Dmitry Astapov
5579af9a04 lib: remove readJournalFile(s) - supeceded by readJournalFile(s)WithOpts 2018-04-17 14:33:32 -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
c7d86f3572 doc: mention that auto postings affect balances/amount inference (#729) 2018-04-17 14:33:32 -07:00
Dmitry Astapov
93814652f8 lib: auto postings are generated right after posting that triggered them (#729) 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
8633ab2e42 Revert "travis: build hledger-ui again, should work now" - nope
This reverts commit 705513c

Waiting on https://github.com/haskell-fswatch/hfsnotify/pull/77
2018-04-16 17:54:10 -07:00
Simon Michael
705513c398 travis: build hledger-ui again, should work now 2018-04-16 16:57:09 -07:00
Simon Michael
bb904718fa site: download: bump recommended hledger-web version
[ci skip]
2018-04-16 16:38:39 -07:00
Everett Hildenbrandt
c69fbff6d9 CsvReader: print more information about amount-in/out errors 2018-04-15 16:52:52 -07:00
Pavlo Kerestey
63d4c51dc4 Use quoteIfNeeded in quoteIfSpaced. Fix escapeDoubleQuotes to escape 2018-04-12 12:04:20 -07:00
Pavlo Kerestey
980210070a Explicit exports of Hledger.Utils.Text 2018-04-12 12:04:20 -07:00
Simon Michael
ce3a1b64d0 make: drop obsolete easytest rules
[ci skip]
2018-04-12 11:03:13 -07:00
Simon Michael
554edb165f make: comment out localism, don't require a special hpack
[ci skip]
2018-04-12 07:14:57 -07:00
Simon Michael
8a0c64d8c1 site: move contributing page to wiki 2018-04-10 14:33:41 -07:00
Simon Michael
4d214b28c3 site: wiki subdirectory isn't needed in links
[ci skip]
2018-04-10 07:18:16 -07:00
Simon Michael
48c8e153c1 site: update wiki sidebar mirroring
[ci skip]
2018-04-10 07:14:24 -07:00
Simon Michael
f46e2f5de3 site: update wiki sidebar mirroring
[ci skip]
2018-04-10 06:35:00 -07:00
Simon Michael
70b6655044 site: download: tweak stackage links
[ci skip]
2018-04-09 05:47:06 -07:00
Simon Michael
aafdfae8d2 site: download: windows builds are not nightly
[ci skip]
2018-04-08 20:59:30 -07:00
Simon Michael
a5d70debbb cli: disable failing test (#727) 2018-04-08 18:38:54 -07:00
Simon Michael
7e8f9cde79 stack: bump to latest nightly 2018-04-08 17:54:11 -07:00
Simon Michael
5468a26345 ui: can build with stackage ghc 8.4 nightlies again 2018-04-08 17:53:23 -07:00
Simon Michael
fd2258ef5c site: download: consistency 2018-04-08 08:08:51 -07:00
Simon Michael
464ab0e267 site: download: update stack snapshot recommendations 2018-04-08 08:06:23 -07:00
Simon Michael
bb01234f03 doc: contributing: stackage package & packaging status links 2018-04-08 08:06:23 -07:00
Wad
3a7f50b5c5 Update hledger_journal.m4.md
Update the location of the vim ledger support.
2018-04-07 00:24:04 +01:00
Simon Michael
cc1db7be98 bal: failing test for account code sorting (#727)
[ci skip]
2018-04-06 05:42:00 -07:00
Simon Michael
7129577f34 update cabal files 2018-04-04 17:56:22 +01:00
Simon Michael
4c4f53c3ad make gencabal: use ghc 8.2 to include hledger-ui 2018-04-04 17:55:26 +01:00
Simon Michael
4ea02bf1cb bump version to 1.9.99 2018-04-04 17:53:38 +01:00