summaryrefslogtreecommitdiff
path: root/src/output.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed the way that account balances are computedJohn Wiegley2009-03-061-11/+5
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-0/+10
|
* Gather account details in a details_t structureJohn Wiegley2009-03-031-2/+4
|
* Normalized how account totals are calculatedJohn Wiegley2009-03-031-10/+10
|
* Separator in "balance" now part of format stringJohn Wiegley2009-02-271-3/+32
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-13/+16
| | | | | | | | | | | | | | | | These strings are now collected automagically in the file po/ledger.pot. If you'd like to produce a translation, just run this command after building Ledger: msginit -l LOCALE -o LANG.po -i po/ledger.pot Where LOCALE is a string like de or en_GB, and LANG is a short descriptive word for your language. Then send me this .po file so I can commit it to the Ledger sources (alternatively, you could maintain the file in a fork on GitHub), and setup the build script to format and install your new message catalog during a "make install".
* The Great Renaming, Part IIJohn Wiegley2009-02-231-60/+60
| | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
* Many fixes to both --market and --exchangeJohn Wiegley2009-02-231-5/+5
|
* Added a new --raw option, for use with printJohn Wiegley2009-02-211-9/+26
|
* Removed an unused class: format_entriesJohn Wiegley2009-02-211-31/+0
|
* Added --no-total optionJohn Wiegley2009-02-201-5/+5
| | | | This simply omits the final total in the balance report, nothing more.
* Rewrote the equity command, which is working againJohn Wiegley2009-02-201-78/+0
| | | | | | The old implementation used an account formatter, and was very specialized. The new is done as a transaction filter, and works along with everything else, eliminating bugs special to the equity report.
* Allow for sorting of the balance reportJohn Wiegley2009-02-191-46/+46
| | | | | | Sorting is repeated at each level of the hierarchy, unless --flat was specified in which case it applies to the entire applicable accounts list.
* Added --flat option, to flatten the balance reportJohn Wiegley2009-02-171-2/+4
|
* Only display a final balance total if necessaryJohn Wiegley2009-02-171-16/+26
| | | | | In the case where only one top-level account is being reported, there is no reason to duplicate the total balance shown.
* Rewrote how the balance command displays accountsJohn Wiegley2009-02-171-92/+73
| | | | | | | | The previous method bent over backwards to try and avoid multiple passes through the account tree, but the result was a horribly complicated mess that never ceased to dredge up obscure bugs. The new scheme is a very, very simple two-pass algorithm, with multiple subpasses during the second pass for refining the output based on the report options.
* Removed an unused extended account xdata flagJohn Wiegley2009-02-161-9/+7
|
* Moved format_accounts::should_display out of lineJohn Wiegley2009-02-161-0/+9
|
* Simplified the stats commandJohn Wiegley2009-02-161-9/+4
|
* Fleshed out the "stats" commandJohn Wiegley2009-02-161-11/+80
|
* Re-enabled some code, and removed a bunch of deadwood.John Wiegley2009-02-121-34/+0
|
* Wrote the beginnings of a new "stats" command.John Wiegley2009-02-101-0/+31
|
* Removed the balance_pair_t type, since it's now an unneeded abstraction.John Wiegley2009-02-091-4/+0
| | | | | This type was a holdback from the days before the amount_expr was used everywhere to determine a transaction's value.
* Greatly simplified the way option and command handlers are defined.John Wiegley2009-02-051-3/+3
|
* Create bound scopes for locating the total expr.John Wiegley2009-02-051-2/+4
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-15/+29
|
* Created a new stream.h file for dealing with output streaming.John Wiegley2009-01-301-7/+7
|
* Stopped using the generic "unsigned int" in favor of more specific types.John Wiegley2009-01-291-6/+6
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Output newlines between entries using format strings, not hard-coded.John Wiegley2009-01-141-2/+0
|
* Factored common parts of entry_t and xact_t into new item_tJohn Wiegley2008-09-191-1/+1
|
* Restored the 'print' command.John Wiegley2008-09-171-1/+11
|
* Added back a lot of hacktastic logic from 2.6.1 that made the "bal" commandJohn Wiegley2008-08-141-7/+5
| | | | | somewhat smart about how it interpreted certain options. Beware, code, for your days are not long-lived.
* The balance output now includes the final total.John Wiegley2008-08-131-8/+4
|
* Basic balance reports are working again!John Wiegley2008-08-101-1/+1
|
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+310
is in doc/, etc.