Commit Graph

3017 Commits

Author SHA1 Message Date
Simon Michael
ed8e93d1dd tools: disable some failing release test scripts 2014-01-08 15:23:10 -08:00
Simon Michael
ff30fc5aa2 tools: I think we're using simple git tags now 2014-01-08 15:22:43 -08:00
Simon Michael
4d8ef7eaa3 docs: release notes 2014-01-08 15:02:33 -08:00
Simon Michael
2ec6231a51 bump version to 0.22.1 2014-01-08 15:01:45 -08:00
Simon Michael
62b0461c0e require latest pretty-show to allow install with standard happy and fix hackage docs 2014-01-08 15:00:41 -08:00
Simon Michael
4c1b2c0f86 remove obsolete regex-compat-tdfa dependency from hledger 2014-01-08 14:48:28 -08:00
Clint Adams
cf365524cb Use regex-tdfa instead of regex-compat-tdfa 2014-01-08 14:37:30 -08:00
Simon Michael
1d91d76d64 docs: update release announcement 2013-12-13 19:49:04 -08:00
Simon Michael
58342c2caa docs: release note formatting 2013-12-13 19:36:47 -08:00
Simon Michael
5bb4cc2978 docs: really clean all old doc versions 2013-12-13 19:36:21 -08:00
Simon Michael
4d8058fc9a docs: set the manual version before tagging 2013-12-13 19:28:25 -08:00
Simon Michael
db45611de9 docs: really build/clean 0.22 docs 2013-12-13 19:24:46 -08:00
Simon Michael
dfb4e56a1c docs: really link 0.22 docs version 2013-12-13 19:21:42 -08:00
Simon Michael
0d9adc8cf2 docs: link 0.22 docs version 2013-12-13 19:20:08 -08:00
Simon Michael
8bf47f65ea docs: fix 0.22 docs building 2013-12-13 19:19:17 -08:00
Simon Michael
ff90fdc50b disable a failing add-on option-parsing test 2013-12-13 19:13:59 -08:00
Simon Michael
415cd19a7e update example scripts for api, clarify -f support 2013-12-13 19:10:54 -08:00
Simon Michael
a95bc44345 docs: release notes 2013-12-13 18:29:04 -08:00
Simon Michael
8befcb8354 bump version to 0.22, update tested-with & doc building 2013-12-13 18:28:45 -08:00
Simon Michael
060c9c73d0 hledger: allow text 1.0 2013-12-13 17:43:52 -08:00
Simon Michael
95c59cc25b docs: update manual note re #149 2013-12-13 17:24:47 -08:00
Simon Michael
641dc5aa84 web: also build with http-conduit 2.x
http-client is now also required. Later we perhaps should switch to it
entirely and drop the http-conduit dependency.
2013-12-09 10:06:53 -08:00
Simon Michael
d8c987a1cd web: allow latest warp & wai-handler-launch 2013-12-09 07:32:40 -08:00
Simon Michael
02fea186a3 web: fix debug option breakage in Main 2013-12-08 19:48:51 -08:00
Simon Michael
044ba78693 help fix, -V is not equivalent to --version (#145) 2013-12-07 15:35:58 -08:00
Simon Michael
926080310a web: avoid warp 2 for now to stay installable 2013-12-07 14:41:37 -08:00
Simon Michael
5c43795a5e tools: set LANG in makefile, still needed by something 2013-12-07 14:32:44 -08:00
Simon Michael
fc70b84b83 docs: formatting fixes 2013-12-07 06:51:59 -08:00
Simon Michael
cb3504d72e tools: run functional tests less verbosely 2013-12-07 06:28:07 -08:00
Simon Michael
0b363bde2f docs: warn about flag/value spacing bug 2013-12-07 06:27:03 -08:00
Simon Michael
7dda89616d docs: document multicolumn balance reports 2013-12-07 06:26:04 -08:00
Simon Michael
6ce1b79c85 docs: release notes 2013-12-07 06:22:47 -08:00
Simon Michael
5bdc55ab77 note that getCliOpts, debugArgs api fns are unused 2013-12-07 06:10:45 -08:00
Simon Michael
8261ac0f56 three fixes to handle --debug=N like --debug 2013-12-07 06:09:39 -08:00
Simon Michael
8bbd22d7ed fix handling of --debug before command 2013-12-07 05:51:17 -08:00
Simon Michael
c53732a4af balance: new multi-column reports & documentation
Two new multi-column balance report modes show ending balance per
period: `--cumulative`, starting from 0, and `--historical`, starting
from the historical starting balance.

The balance command's specification has been clarified and consolidated
in the Balance.hs haddock. Reports.hs has also had haddock updates. The
old AccountsReport type is now BalanceReport, still used by
single-column balance report. The new MultiBalanceReport type is used by
the multi-column reports.
2013-12-07 05:43:31 -08:00
Simon Michael
b2c6a8e7d2 require data-pprint 0.2.3, works with ghc < 7.2 2013-12-06 13:58:06 -08:00
Simon Michael
13641eab66 debug level sets amount/journal show verbosity
Amounts and journal values are often rendered too verbosely in debug
output, obscuring what's important. Here we try adjusting the level
of detail in the Show instance based on the global debug level.
Needs more work.
2013-12-06 13:51:19 -08:00
Simon Michael
3cf53661f3 new debug helpers; --debug=N sets debugLevel
The debug level set by `--debug[=N]` is now available to pure and
startup code as debugLevel, using unsafePerformIO.

`dbg LABEL ...` is now the go-to helper for tracing values on the
console; it produces output when the debug level is non-zero. `dbgExit`
is similar but exits immediately, avoiding further output. The
`dbgshow`, `dbgppshow` and `dbgpprint` variants allow control over the
pretty-printing method and required debug level, allowing more control
over what is displayed when.

Other cleanups: lstrace -> ltrace, pdbgAt -> pdbg, tracewith -> traceWith.
2013-12-06 13:35:50 -08:00
Simon Michael
c99f37241c allow an optional level argument with --debug 2013-12-06 13:30:36 -08:00
Simon Michael
6e7610c1b7 drop some experimental pprint logging 2013-12-06 13:26:08 -08:00
Simon Michael
3eac48871c require data-pprint 0.2.3, works with ghc < 7.2 2013-12-06 13:22:28 -08:00
Simon Michael
22a8020296 make most types instances of Data (and Typeable)
This allows them to be pretty-printed with pprint (from data-pprint)
when debugging, and shouldn't have much impact otherwise.
2013-12-06 13:19:43 -08:00
Simon Michael
8857366854 docs: link bradley kuhn's non-profit tutorial 2013-11-23 21:50:20 -08:00
Simon Michael
db5f3c317a docs: mention PATH ordering with multiple hledger copies installed 2013-11-13 17:46:07 -08:00
Simon Michael
9b164806fc docs: more cabal install instructions updates 2013-11-13 12:17:07 -08:00
Simon Michael
8111a71246 docs: mention C libs in the cabal install instructions 2013-11-13 12:13:39 -08:00
Simon Michael
7fc1ceb8f9 docs: expand date-format docs 2013-11-06 17:27:59 -08:00
Simon Michael
1431ce501b docs: literal block formatting fix 2013-11-06 13:57:53 -08:00
Simon Michael
669219d570 docs: link some external docs, reorganise docs page 2013-11-06 13:51:05 -08:00