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
Simon Michael
d2db669cbb
docs: increase table of contents depth to 5
...
Might look more cluttered, but it's getting too hard to find things in the manual.
2013-11-06 12:26:20 -08:00
Simon Michael
2b24db783b
docs: fix link to ledger's fixed lot prices
2013-11-06 11:27:37 -08:00
Simon Michael
de473b99b2
Merge pull request #143 from markokocic/alias-fix
...
Fix timelog alias examples
2013-11-05 06:51:20 -08:00
Marko Kocic
79e5c15ff1
Fix timelog alias examples
...
Sample aliases should have date expanded at execution time, and not at definition time.
2013-11-05 09:00:45 +00:00
Simon Michael
e5d7e35d62
docs: fix tabs in indentation
2013-11-03 12:00:40 -08:00
Simon Michael
bdc707f0e3
docs: fix indentation in hledger add example
2013-11-03 11:57:07 -08:00
Simon Michael
29fff97005
docs: link to readline docs
2013-11-03 11:53:35 -08:00
Simon Michael
a7c7fc1a43
web: fix too-loose yesod dependency, we require 1.2.*
2013-11-02 11:55:04 -07:00
Simon Michael
4123d458c8
site: copy instead of symlinking source files so hakyll preview works
2013-10-20 12:36:46 -07:00
Simon Michael
50dc810013
site: add rss autodiscovery link pointing to my blog's hledger tag feed
2013-10-20 12:35:54 -07:00
Simon Michael
d56b4cb2f7
docs: fix a ledger repo link
2013-10-01 14:54:31 -07:00
Simon Michael
6d220acc09
docs: on docs page, list release notes first
2013-09-30 10:07:23 -07:00
Simon Michael
3e1dd65048
docs: front page cleanup
2013-09-30 10:06:24 -07:00
Simon Michael
7ac1f74821
docs: note sign sensitivity of amt:y
2013-09-29 17:13:36 -07:00
Simon Michael
2de58e2ec0
fix haddock errors in Reports.hs
2013-09-28 10:14:43 -07:00
Simon Michael
66ae7b7b84
docs: update release notes more
2013-09-26 15:24:29 -07:00
Simon Michael
e40ce0b0d3
docs: update release notes
2013-09-26 15:23:03 -07:00
Simon Michael
1fb4c5956f
fix test comment
2013-09-26 15:07:09 -07:00
Simon Michael
7e06a6a24c
balance: basic multi-column balance (change) reports
2013-09-26 15:06:48 -07:00
Simon Michael
d6c841d93b
show search queries more accurately in --debug output
2013-09-23 11:50:20 -07:00
Simon Michael
eb5e2f95e9
cashflow: don't ignore the report start date ( fixed #135 )
...
Odd, there may have been s reason to do this but I can't remember it.
2013-09-23 11:08:55 -07:00
Simon Michael
7bfd3268f7
docs: update penny link on docs page
2013-09-23 11:08:55 -07:00
Simon Michael
30a55e8074
docs: add ledger-autosync to dev guide -> related projects
2013-09-23 11:08:54 -07:00
Simon Michael
b44efdcb4e
don't depend on an unreleased version of data-pprint ( fixes #140 )
2013-09-23 10:46:52 -07:00
Simon Michael
eb04e44311
docs: add latest add-ons to manual
2013-09-23 00:11:52 -07:00
Simon Michael
e840cd35c2
docs: release notes
2013-09-23 00:11:02 -07:00
Simon Michael
009c7e3f90
bump version to 0.22 alpha
2013-09-22 22:38:27 -07:00
Simon Michael
1324fe3a41
new hledger-balance-csv and hledger-register-csv examples in extra, generating CSV output
2013-09-22 22:32:28 -07:00
Simon Michael
a66a715eeb
command line options API updates, possibly fixing hledger-web build
2013-09-22 22:31:06 -07:00