Commit Graph

6137 Commits

Author SHA1 Message Date
Simon Michael
41a8122ae1 tools: appveyor: ..and 64-bit stack/ghc
[ci skip]
2018-04-27 09:57:04 -07:00
Simon Michael
35329720bc tools: appveyor: try 64-bit windows
[ci skip]
2018-04-27 09:56:06 -07:00
Simon Michael
549a4d30f5 appveyor: try workaround for pretty-show failure, 2nd attempt
[ci skip]
2018-04-26 12:18:52 -07:00
Simon Michael
af50767743 appveyor: try workaround for pretty-show failure
[ci skip]
2018-04-26 12:11:03 -07:00
Simon Michael
605a36acf5 tools: appveyor: use build_script
[ci skip]
2018-04-26 10:36:01 -07:00
Simon Michael
163dee7cbd tools: appveyor: try reverting this bit 2018-04-26 10:16:49 -07:00
Simon Michael
f6e64a887f tools: appveyor: update and re-enable
[skip travis]
2018-04-26 10:12:13 -07:00
Simon Michael
de56ee0b93 tools: use default resolver for Shake and hakyll-std again 2018-04-25 19:01:38 -07:00
Simon Michael
bd21219dda make ghcid-shake: drop pandoc dep 2018-04-25 17:52:35 -07:00
Simon Michael
039a1fa778 make: drop old manual rules 2018-04-25 17:45:22 -07:00
Simon Michael
d7f6ff0e18 doc: regenerate embedded manuals 2018-04-25 17:43:34 -07:00
Simon Michael
541e517221 tools: fix build hang in Shake
[ci skip]
2018-04-25 17:41:28 -07:00
Everett Hildenbrandt
563d78df66 tools/pandoc-*.hs, doc/.gitignore: remove haskell pandoc filters and references to them 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
39b20ffb3f Shake.hs: remove targets/comments about old pandoc filters 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
ddaea7cffc Shake.hs, tools/pandoc-drop-toc: switch to lua script filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
95c9af5664 Shake.hs, tools/pandoc-drop-notes: remove unused filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
fbc9c63c62 Shake.hs, tools/pandoc-drop-notes: switch to lua script filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
364d3dc756 Shake.hs, tools/pandoc-drop-links: switch to lua script filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
79e46bb0fb Shake.hs, tools/pandoc-drop-html-inlines: switch to lua script filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
b83240ab6d Shake.hs, tools/pandoc-drop-html-blocks: switch to lua script filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
33e08a7d86 Shake.hs, tools/pandoc-demote-headers: switch to lua script filter 2018-04-25 17:25:09 -07:00
Simon Michael
a4d30512bd doc: update balance docs
[ci skip]
2018-04-25 16:14:44 -07:00
Simon Michael
c4d18d1fe5 doc: update balance docs
[ci skip]
2018-04-25 16:08:41 -07:00
Simon Michael
9e2e5adfaa drop old stack file
[ci skip]
2018-04-25 15:48:42 -07:00
Simon Michael
21b3a56489 doc: budget report: update 2018-04-25 08:57:33 -07:00
Simon Michael
8650b7042d stack: bump default snapshot to latest nightly/ghc-8.4.2 2018-04-25 08:52:24 -07:00
Simon Michael
934efd5db6 tools: hakyll-std: pandoc 2 reads with no extensions by default
[ci skip]
2018-04-25 08:51:23 -07:00
Simon Michael
9151f5004e budget: show a budget report even with no interval (for whole journal period) 2018-04-24 23:12:42 -07:00
Simon Michael
568a442307 budget: tweak hiding/grouping of unbudgeted accounts
It now works slightly differently. Eg:

- <unbudgeted>'s subaccounts are hidden by default
- --show-unbudgeted shows all unbudgeted accounts, including subaccounts of budgeted parents
- --show-unbudgeted doesn't affect the grouping under <unbudgeted>

IMHO it's a nice simplification and increase in consistency, while still meeting the original intent.
2018-04-24 13:42:12 -07:00
Simon Michael
8b650d8e4f budget: fix inconsistent hiding of unbudgeted accounts
Accounts which have no budget goals within the report period are now
grouped under <unbudgeted> - not just accounts with no budget goals ever.

Haddocks have been clarified, especially for budgetRollup. In some
ways things are much clearer without this feature, but it remains
enabled by default for now.
2018-04-23 18:52:28 -07:00
Simon Michael
8759f12b63 budget: more consistent display of percentage 2018-04-23 18:52:28 -07:00
Simon Michael
41665d07b0 regenerate cabal files, fix tabular compilation error 2018-04-23 18:52:28 -07:00
Simon Michael
0c140d7238 budget: allow multi-interval budgets again
Budgets were restricted to a single interval in 1.9, but this was
a mistake. This restores the 1.5 behaviour, where a budget can be built
up from multiple periodic transactions with different intervals.
2018-04-23 18:52:28 -07:00
Simon Michael
e2c55aafa9 budget: --drop preserves the <unbudgeted> top-level account 2018-04-23 18:52:28 -07:00
Simon Michael
43287a3e26 budget: use a new first-class BudgetReport for --budget 2018-04-23 18:52:28 -07:00
Simon Michael
4b3c6afe75 lib: new generic PeriodicReport, and some report-related type aliases 2018-04-23 18:52:28 -07:00
Simon Michael
d2f5d7101e site: hakyll: fix a build hang on my system
[ci skip]
2018-04-21 15:01:01 -07:00
Everett Hildenbrandt
aedca6dab1 hakyll-std/TableOfContents: pandoc is monadified, must use runPure and fix error messages/imports 2018-04-21 10:53:47 -07:00
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