summaryrefslogtreecommitdiff
path: root/src/report.cc
Commit message (Collapse)AuthorAgeFilesLines
* Restored --price option, added baseline testJohn Wiegley2009-06-261-3/+13
| | | | | | | This option reports only in terms of the annotated price of the commodities involved, otherwise it reports the amounts themselves. It can be used in conjunction with other reports, as it applies to the displayed amounts, not the actual amounts being calculated.
* The --download option is now fully restoredJohn Wiegley2009-06-261-5/+5
|
* More refactoring for --downloadJohn Wiegley2009-06-241-1/+0
|
* Restored --download, although not done yetJohn Wiegley2009-06-241-5/+0
| | | | | | The problem at this point is that it's recording prices in the price database multiple times; it should only need to download a price for each commodity once per day.
* Added a --no-color option, to disable --colorJohn Wiegley2009-06-221-0/+1
|
* Restored option --period-sortJohn Wiegley2009-06-211-1/+1
| | | | This option is just an alias for --sort-xacts.
* Restored --percent option, added baseline testJohn Wiegley2009-06-211-2/+11
|
* Fixes to the 'xact' command (used to be 'entry')John Wiegley2009-06-191-1/+6
|
* Commented out an internal-only optionJohn Wiegley2009-06-181-0/+4
|
* The -X option now accepts price settingsJohn Wiegley2009-06-181-27/+14
| | | | | | | For example, if you had 100 AU (onces of gold) and wanted to report it in dollars, but at a price of $997 per ounce, you could now easily say: ledger bal -X '$,AU=$997'
* When --end is used, set a "terminus" dateJohn Wiegley2009-06-161-0/+8
| | | | | | | This means that final balance valuations (with -V or -X) will be done in terms of the date given to --end, rather than based on the current day. Fixes 647D5DB9-DBBB-47C8-80CE-F3F70E3B0253
* Move amount colorization deeper into the coreJohn Wiegley2009-06-161-3/+4
| | | | | | | | This is necessary in order to redden negative amounts correctly under all circumstances, such as component amounts of a multi-commodity balance. Fixes 727B2DF8-A2A1-4716-9C15-547F20D5F933
* Added new debug option --optionsJohn Wiegley2009-06-021-14/+19
| | | | | This reports which options are in place before invoking a command, and where exactly each option value came from.
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|
* Revised the ways statistics are computedJohn Wiegley2009-03-061-2/+4
| | | | | | | 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.
* Implemented --unround using value expressionsJohn Wiegley2009-03-061-0/+7
|
* Removed the --totals optionJohn Wiegley2009-03-051-1/+0
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-5/+18
|
* Normalized how account totals are calculatedJohn Wiegley2009-03-031-18/+4
|
* Allow special %{} formatting sequenceJohn Wiegley2009-03-031-2/+2
| | | | | | | | | | | | | | | Although %(amount) inserts an item's amount, it only does exactly that. There is no special consideration like stripping of lot details, or reduction to the base commodity, etc. For those things, and to make sure it was display in red if negative, the canonical form would be: %(ansify_if(justify(scrub(amount), 12, -1, true), red if amount < 0)) You can now use the special %{} form as an alternate to this: %12{amount, red if amount < 0} The two expand to the same underlying expression.
* Made all the ANSI color names into valexpr namesJohn Wiegley2009-03-031-0/+67
|
* Moved fn_false to be a non-member functionJohn Wiegley2009-03-031-1/+4
|
* Added a "null" value for value expressionsJohn Wiegley2009-03-031-0/+9
|
* Added a "show" report query termJohn Wiegley2009-03-021-3/+20
| | | | | Everything beyond the show modifies the --display predicate, and everything before modifies the --limit predicate.
* Changed how comments are output to be more logicalJohn Wiegley2009-03-011-0/+2
|
* The generate report now implies --actualJohn Wiegley2009-02-271-0/+1
|
* Allow --head to limit the entries generate createsJohn Wiegley2009-02-271-1/+3
|
* Added --lots-actual, to not print calc'd detailsJohn Wiegley2009-02-271-1/+1
|
* Added generate command, --seed, and GenerateTestsJohn Wiegley2009-02-271-0/+16
|
* Fixed bugs relating to sign and rounding of costsJohn Wiegley2009-02-271-0/+8
|
* Added an --unround option, to show full precisionJohn Wiegley2009-02-271-0/+1
|
* Changed the "truncate" valexpr func to "truncated"John Wiegley2009-02-271-3/+3
|
* Changed --exchange's short option from -x to -XJohn Wiegley2009-02-251-3/+3
|
* Added a new --depth optionJohn Wiegley2009-02-251-0/+1
|
* Added a new level of Python integrationJohn Wiegley2009-02-241-0/+17
|
* Removed the largely useless --performance optionJohn Wiegley2009-02-241-3/+1
|
* The Great Renaming, Part IIJohn Wiegley2009-02-231-36/+33
| | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
* rounded() and quantity() act on the first valueJohn Wiegley2009-02-231-3/+4
|
* Added get_at and is_seq valexpr functionsJohn Wiegley2009-02-231-2/+36
| | | | These are for dealing with sequences.
* Many fixes to both --market and --exchangeJohn Wiegley2009-02-231-3/+7
|
* Many fixes to --market and --exchangeJohn Wiegley2009-02-221-7/+3
| | | | Also, --exchange now accepted multiple, comma-separated commodities.
* --exchange option now accepts multiple commoditiesJohn Wiegley2009-02-221-16/+28
| | | | They must be separated by a comma, and all whitespace is ignored.
* Added --exchange (-x) optionJohn Wiegley2009-02-221-16/+18
| | | | | | | This is like -V, except it lets you specify the goal commodity to report in terms of, for example: reg -x CAD
* Fixed the way values are justified for printingJohn Wiegley2009-02-221-9/+10
|
* Changed --colors to --color, to match GitJohn Wiegley2009-02-221-2/+2
|
* Removed unused --totals optionJohn Wiegley2009-02-221-1/+0
| | | | This option was for outputting <total> elements in 2.x's XML output.
* Added a new --colors option, for terminal funJohn Wiegley2009-02-211-2/+30
| | | | | | | | | 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
* Added a new --raw option, for use with printJohn Wiegley2009-02-211-2/+2
|
* Removed an unused class: format_entriesJohn Wiegley2009-02-211-1/+2
|
* Use more general scrub valexpr function in formatsJohn Wiegley2009-02-211-1/+8
|