Commit Graph

37 Commits

Author SHA1 Message Date
Simon Michael
d1f63334ee handle pending status correctly, add --pending (#250)
A transaction/posting status of ! (pending) was effectively equivalent
to * (cleared). Now it's a separate state, not matched by --cleared.
The new Ledger-compatible --pending flag matches it, and so does
--uncleared. The equivalent search queries are now status:*, status:!
and status: (the old status:1 and status:0 spellings are deprecated).

Since we interpret --uncleared and status: as "any state except cleared",
it's not currently possible to match things which are neither cleared
nor pending.
2015-05-16 11:51:35 -07:00
Simon Michael
077e3c6a02 journal: re-add non-regex aliases, as default (#252)
The regex account aliases added in 0.24 trip up people switching between
hledger and Ledger. (Also they are currently slow).

This change makes the old non-regex aliases the default; they are
unsurprising, useful, and pretty close in functionality to Ledger's.

The new regex aliases are also available; they must be enclosed in
forward slashes. Ledger effectively ignores these, which is ok.

Also clarify docs, refactor, and use the same parser for alias
directives and alias options
2015-05-14 13:01:50 -07:00
Simon Michael
5102eca9c3 timelog: support the description field (fix #247) 2015-04-28 13:54:36 -07:00
Simon Michael
4d4a6b1660 manual: give default year directive its own section 2015-04-28 13:49:27 -07:00
Simon Michael
dac8a784f4 bump version to 0.26 alpha 2015-04-28 13:48:23 -07:00
Simon Michael
1bc9b71f28 bump version to 0.25 2015-04-28 13:42:41 -07:00
Simon Michael
498a52c7ea doc: more precise version 2015-04-07 17:13:16 -07:00
Simon Michael
97888b1be4 doc: note effect of tag comment position 2015-04-07 17:12:57 -07:00
Simon Michael
8b51f986b6 doc: remove mention of hledger-web's edit form
(cherry picked from commit 77f4d9e4f6a4f66511aa9cbb28be9602f938fd4f)
2015-03-15 13:36:48 -07:00
Simon Michael
592ae9a28e timelog: show hours with 2 decimal places, not 1 2015-02-27 08:37:16 -08:00
Simon Michael
293c9b2efa doc: manual: Assertions and subaccounts 2015-01-26 09:54:22 -08:00
Simon Michael
a388d0e21d doc: small fixes 2015-01-26 09:54:18 -08:00
Simon Michael
1a4b30b8c1 doc: bring account alias docs up to date 2015-01-19 17:50:33 -08:00
Simon Michael
cbc0183160 doc: update register output docs 2015-01-19 15:28:04 -08:00
Simon Michael
76db377468 document --output-format and --output-file (fix #233) 2015-01-16 16:52:59 -08:00
Simon Michael
cf1345ba2e doc: manual: missing line break 2015-01-02 14:21:29 -08:00
Simon Michael
6da4942633 balance: tweak flags a bit; we now use -N and -T
-N doesn't seem to be used by Ledger currently; we'll
use it as shortcut for --no-total.

-T is used by Ledger to set a custom value expression for the final
total. I'm going to take it as a shortcut for --row-total instead.
2014-12-27 15:34:23 -08:00
Simon Michael
ba0623165f balance: row totals/averages in multicolumn mode 2014-12-27 15:24:45 -08:00
Simon Michael
9c68944c79 journal, csv: comment lines can also start with *
As in Ledger. This means you can embed emacs org/outline-mode nodes in
your journal file and manipulate it like an outline.
2014-12-27 14:41:28 -08:00
Simon Michael
e77225038f bump version to 0.24 2014-12-25 11:42:39 -08:00
Simon Michael
62bad65e5b tighten up status: docs and behaviour a bit (fix #227)
A status: query term no longer accepts * as a synonym for 1,
which was a bit confusing since 1 matches both * and !.
For now, it takes a value of 1 (true) or anything else (false).
2014-12-24 23:48:23 -08:00
Simon Michael
0142482834 doc: wording tweak 2014-12-24 14:54:56 -08:00
Simon Michael
03b8d2425c doc: describe hledger-web's change detection & limitation 2014-12-22 08:30:09 -08:00
Simon Michael
3050152cb3 doc: manual: more flat/depth rewrites 2014-12-05 13:17:06 -08:00
Simon Michael
a38caeb37a doc: manual: clean up flat/tree docs slightly 2014-12-05 12:58:51 -08:00
Simon Michael
d352bbedd2 cli: with a repeated flag, the last takes precedence
This is helpful eg for customising your reporting command aliases on the fly.
2014-12-04 12:41:47 -08:00
Simon Michael
76b7e16d93 doc: simplify csv ordering doc 2014-12-02 12:07:35 -08:00
Simon Michael
d5b329a8ad doc: note csv improvements 2014-12-02 11:54:41 -08:00
Simon Michael
7124b1c4d4 doc: remove commented doc 2014-12-02 11:54:19 -08:00
Simon Michael
34ed4d474e doc: price doc cleanups 2014-12-02 11:54:02 -08:00
Simon Michael
87fd99b220 doc: fix typo in prices example 2014-12-01 07:58:45 -08:00
Simon Michael
e5ae0a8f51 doc: more manual updates, alphabetise commands 2014-11-12 18:10:11 -08:00
Simon Michael
45f5507ff6 doc: rewrite CSV section 2014-11-12 18:05:39 -08:00
Simon Michael
9bf2d352a1 site: adjust some manual section names 2014-11-11 17:12:32 -08:00
Simon Michael
7ca806c5b0 site: content updates for the hakyll/pandoc site 2014-11-10 13:38:05 -08:00
Simon Michael
b045d6b530 doc: sync latest manual/dev guide from wiki 2014-11-04 20:33:26 -08:00
Simon Michael
6b2dfb3d79 doc: align manual, developer guide filenames with wiki 2014-11-04 20:30:02 -08:00