Commit graph

73 commits

Author SHA1 Message Date
John Wiegley
7e43b93782 Changed --exchange's short option from -x to -X 2009-02-25 13:52:17 -04:00
John Wiegley
cdaba43fa7 Fixed the --gain option for balance reports 2009-02-25 02:07:57 -04:00
John Wiegley
ac8e27a4b8 Added a new --depth option 2009-02-25 01:15:53 -04:00
John Wiegley
68d41d7dc0 Added some new valexpr functions to the man page 2009-02-24 12:43:19 -04:00
John Wiegley
d84638045a Added note to docs about "primary" commodities
Whenever a commodity is exchanged for another in a posting, one of the
two is considered "primary", and the other secondary.  Primariness of a
commodity is remembered, since the --market option only renders balances
into secondary commodities, never primaries.  To render primaries, use
the --exchange=COMMODITY option.

In all of the following examples, the P commodity is considered primary
and the S is secondary (the P at the beginning of the line indicates a
price-setting directive):

    2009/01/01 Sample 1a
        Assets:Brokerage:Stocks                100 S
        Assets:Brokerage:Cash                 -100 P

    P 2009/01/15 00:00:00 S 2 P

    2009/02/01 Sample 2a
        Assets:Brokerage:Stocks                100 S @ 1 P
        Assets:Brokerage:Cash

    P 2009/02/01 00:00:00 S 4 P

    2009/03/01 Sample 3a
        Assets:Brokerage:Stocks                100 S @@ 100 P
        Assets:Brokerage:Cash

    P 2009/03/01 00:00:00 S 8 P

    2009/04/01 Sample 4a
        Assets:Brokerage:Cash                  100 P
        Assets:Brokerage:Stocks               -100 S {1 P}

    P 2009/04/01 00:00:00 S 16 P
2009-02-24 03:56:27 -04:00
John Wiegley
ecf03b96a7 Removed the largely useless --performance option 2009-02-24 03:47:23 -04:00
John Wiegley
944c63e6f2 The Great Renaming, Part II
The last commit did not contain the majority of changes because of a
slight mishap.  This contains the real changeset.
2009-02-23 19:07:30 -04:00
John Wiegley
a576842865 Added --revalued-total option, used by --gain
This option sets the total by which revalued transactions are
determined.  Only needed if the display total is not appropriate.
2009-02-23 15:37:39 -04:00
John Wiegley
6777a8f33b Updated manpage about the new --exchange changes 2009-02-22 18:34:00 -04:00
John Wiegley
e124811d8a Added --exchange (-x) option
This is like -V, except it lets you specify the goal commodity to report
in terms of, for example:

    reg -x CAD
2009-02-22 04:51:11 -04:00
John Wiegley
3e543d187c Changed --colors to --color, to match Git 2009-02-22 04:51:11 -04:00
John Wiegley
348aae7478 Removed unused --totals option
This option was for outputting <total> elements in 2.x's XML output.
2009-02-22 01:29:34 -04:00
John Wiegley
eb4aa87843 Added a new --colors option, for terminal fun
The following colors are applied in the balance and register reports:

    GREEN   To a date, if it occurs in the future
    BOLD    If a payee name relates to an uncleared entry
    BLUE    For account names
    RED     For negative values
2009-02-21 22:04:01 -04:00
John Wiegley
a577e8c48e Added a new --raw option, for use with print 2009-02-21 19:45:13 -04:00
John Wiegley
45e41b023a Added all current value expressions to man page 2009-02-21 16:51:35 -04:00
John Wiegley
dcb53e67dc Began creation of an Nroff-formatted man page 2009-02-21 14:30:19 -04:00
John Wiegley
1d85e992ca A key fix to the ways accounts were sorted
Comparing integer < amount was doing the reverse comparison.
2009-02-19 17:20:36 -04:00
John Wiegley
3dd0e74bbf Some reformatting of the NEWS file 2009-02-19 15:03:21 -04:00
John Wiegley
6f2e3b8864 Properly handle UTF-8 characters in commodity strings. 2009-02-12 02:34:39 -04:00
John Wiegley
557c8af9fe Changed encoding for the Ledger manual to UTF-8. 2009-02-10 16:22:37 -04:00
John Wiegley
6ca01af594 Fixed the use of --effective and --date-format (-y). 2009-02-09 17:27:54 -04:00
John Wiegley
59aefb5a3b Inverted the default display mode for balance reports. Use -n to collapse
them, as this fits better with what -n does for register reports.
2009-02-08 05:18:46 -04:00
John Wiegley
e8d2409430 Removed --reconcile and --reconcile-date. 2009-02-07 00:03:58 -04:00
John Wiegley
cdcd52dbaf Removed the nearly unknown --descend and --descend-if options. 2009-02-06 23:36:32 -04:00
John Wiegley
03dcc07089 Fixed two improper uses of @example{} (should have been @code{}). 2009-02-06 22:39:21 -04:00
John Wiegley
8f883b463d Change "@begin enumerate" to "@enumerate". 2009-02-06 22:33:35 -04:00
John Wiegley
7c77a1af31 Added skeletons for new chapters to the Ledger documentation.
They still need finishing, and some of them may eventually replace some
existing chapters.
2009-02-06 14:32:29 -04:00
John Wiegley
c2306e60fb An error in sample.dat was mistaken checked in; now fixed. 2009-02-02 21:48:17 -04:00
John Wiegley
9540406af1 Simplified error context handling. 2009-02-02 00:24:26 -04:00
John Wiegley
1336ac42ab Updated sample.dat with a metadata example. 2009-02-01 22:09:08 -04:00
John Wiegley
4872a6db50 Changed the doxygen generation options to be a lot cleaner looking. 2009-01-31 15:43:30 -04:00
Matt Palmer
701e45c172 Update the link to the mailing list in the README 2009-01-31 01:08:29 -04:00
John Wiegley
4d70052d23 Added a BNF grammar file describing the Ledger data format. 2009-01-30 00:41:55 -04:00
John Wiegley
5b388af626 Fixed the way that the Doxygen documentation is built. 2009-01-29 02:21:49 -04:00
John Wiegley
a69649fb7f Switched over to using irrxml for parsing XML, rather than expat. 2009-01-24 04:49:58 -04:00
John Wiegley
784ec4b787 Renamed license file for sha1. 2009-01-23 19:50:08 -04:00
John Wiegley
900a92e115 Added support for Unicode text in Ledger files, thanks to 'utfcpp', which can
be located at http://utfcpp.sourceforge.net.
2009-01-23 19:50:00 -04:00
John Wiegley
e6c44a586f Added a note about --anon to the NEWS file. 2009-01-20 20:13:12 -04:00
John Wiegley
3682ea6f8c Added support for "anonymizing" any report with --anon. 2009-01-20 20:05:41 -04:00
John Wiegley
887828a40c Increased copyright range to include 2009. 2009-01-20 01:53:31 -04:00
John Wiegley
efb36d36c4 In the Ledger sample data, mark $ as NOMARKET. 2009-01-19 22:32:14 -04:00
John Wiegley
dc9782e0de Renamed the output file back to ledger.info. 2008-11-25 19:28:19 -04:00
Simon Michael
9f95e6e821 manual reorg proposal: rename Using Ledger to Quick Reference 2008-11-25 17:55:35 -04:00
Simon Michael
894ea85312 more manual reorganisation. 2008-11-25 17:55:35 -04:00
Simon Michael
465a37622f reorganise the manual roughly into intro, reference, and detailed examples 2008-11-25 17:55:35 -04:00
Simon Michael
0f161054fb more manual cleanup 2008-11-25 17:55:18 -04:00
John Wiegley
db4ee1ec72 Planning data has been moved to an orthogonal 'planning' branch. 2008-10-27 20:00:50 -06:00
John Wiegley
6c86fa3ca3 Added several TODO entries. 2008-10-27 19:37:12 -06:00
John Wiegley
447d6b8f8d Added two new tasks. 2008-10-15 16:54:35 -06:00
John Wiegley
31475d816d Added a new bug: -V flag producing a discrepancy when includes are used. 2008-10-05 21:00:54 -04:00