summaryrefslogtreecommitdiff
path: root/src/output.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed sorting in bal reports when --flat is usedJohn Wiegley2009-10-261-1/+1
| | | | | | | Note that sorting on the "total" is not the same thing as sorting on the "display_total" when multiple commodities are in use and the -X flag is selected! One should always sort on display_total, since that's the value which is shown in the report. 'T' is a synonym for display_total.
* If 2+ child accounts are shown, show the parentJohn Wiegley2009-03-151-2/+2
| | | | | Also, also show a final balance if there are multiple accounts displayed, even if that final balance is zero.
* Rewrote the balance report again, to fix --depthJohn Wiegley2009-03-081-1/+4
|
* Revised the ways statistics are computedJohn Wiegley2009-03-061-46/+0
| | | | | | | It is no longer done in calc_posts, but recursively on each account. This allows value expressions to ask statistical questions, like "earliest cleared posting?" (TBD) from any specific account, computed lazily.
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-4/+8
|
* Separator in "balance" now part of format stringJohn Wiegley2009-02-271-14/+5
|
* The Great Renaming, Part IIJohn Wiegley2009-02-231-17/+17
| | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
* Added a new --raw option, for use with printJohn Wiegley2009-02-211-1/+3
|
* Removed an unused class: format_entriesJohn Wiegley2009-02-211-28/+0
|
* Added --no-total optionJohn Wiegley2009-02-201-5/+2
| | | | This simply omits the final total in the balance report, nothing more.
* Rewrote the equity command, which is working againJohn Wiegley2009-02-201-23/+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-4/+6
| | | | | | 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-3/+6
|
* Only display a final balance total if necessaryJohn Wiegley2009-02-171-9/+6
| | | | | 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-6/+9
| | | | | | | | 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.
* Moved format_accounts::should_display out of lineJohn Wiegley2009-02-161-7/+1
|
* Simplified the stats commandJohn Wiegley2009-02-161-1/+0
|
* Fleshed out the "stats" commandJohn Wiegley2009-02-161-6/+18
|
* The "xact" variable now returns null for accountsJohn Wiegley2009-02-151-1/+3
|
* item_predicate now operates on scope_tJohn Wiegley2009-02-151-4/+4
| | | | This means item_predicate is no longer a template.
* Re-enabled some code, and removed a bunch of deadwood.John Wiegley2009-02-121-5/+0
|
* Wrote the beginnings of a new "stats" command.John Wiegley2009-02-101-0/+35
|
* Restored all the option handlers from 2.6.2, but not the options themselves.John Wiegley2009-02-061-2/+2
|
* Greatly simplified the way option and command handlers are defined.John Wiegley2009-02-051-1/+0
|
* Added documentation stubs for all include files and classes.John Wiegley2009-01-311-0/+34
|
* Created a new stream.h file for dealing with output streaming.John Wiegley2009-01-301-1/+1
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Don't try to parse a display predicate if none has been set.John Wiegley2008-09-181-1/+1
|
* Restored the 'print' command.John Wiegley2008-09-171-0/+1
|
* Added back a lot of hacktastic logic from 2.6.1 that made the "bal" commandJohn Wiegley2008-08-141-8/+10
| | | | | 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/+10
|
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+140
is in doc/, etc.