summaryrefslogtreecommitdiff
path: root/src/report.h
Commit message (Collapse)AuthorAgeFilesLines
* Column widths are always calculated nowJohn Wiegley2009-11-071-30/+6
|
* Renamed --set-reported-account to just --accountJohn Wiegley2009-11-061-18/+2
| | | | | | | This fits better with the --amount and --total options, which both change the amount and total used for calculation. Same with --account: it happens after filtering, but before calculation so that balance reports look as you'd expect.
* Added new account_total value expressionJohn Wiegley2009-11-051-0/+1
| | | | | This is used for accessing an account's current total within one's Ledger file.
* Segregated symbols into 5 separate namespacesJohn Wiegley2009-11-041-2/+4
| | | | | | | | | | | | | | | | | | | | | The different namespaces are: Function Value expression functions, which receive a "context" Option Command-line options Precommand Commands which are invoked before reading the journal Command Commands which are invoked after reading the journal Directive Directives that occur at column 0 in a data file This greatly eases the ability for Python uses to add intercept hooks to change how the basic Ledger module functions. An example of what should be possible soon: import ledger def my_foo_handler(value): print "--foo received:", value ledger.add_handler(ledger.Option, "foo=", my_foo_handler)
* Set default LESS options to -FRSXJohn Wiegley2009-11-021-1/+1
|
* New: --set-reported-account, --set-reported-payeeJohn Wiegley2009-11-011-0/+4
|
* Add valexpr functions for lot dates, prices and tagsJohn Wiegley2009-10-311-0/+3
|
* Added a --forecast-years optionJohn Wiegley2009-10-311-0/+2
| | | | | This sets how many years of forecasting Ledger will do before it terminates the attempt.
* Setting --date-format in ~/.ledgerrc works againJohn Wiegley2009-10-291-0/+4
|
* If isatty is available, no colors/pager for non-ttysJohn Wiegley2009-10-291-1/+16
|
* Fixed a gcc warningJohn Wiegley2009-10-281-2/+0
|
* Make "less" the default pager, similar to GitJohn Wiegley2009-10-281-1/+28
|
* No more trailing spaces in the print reportJohn Wiegley2009-10-281-3/+3
|
* -D now means --daily, not --deviationJohn Wiegley2009-10-281-2/+2
| | | | | | | | | | | | Because --daily is more commonly desired, and fits the pattern of the other periodic switches: -D --daily -W --weekly -M --monthly -Y --yearly Only --quarterly doesn't have its own short option.
* Sort by default unless --unsorted is selectedJohn Wiegley2009-10-281-0/+3
|
* Added --actual-dates, for overriding --effectiveJohn Wiegley2009-10-271-0/+3
| | | | | This is so that if someone has --effective in their .ledgerrc, they can force the use of actual dates.
* Support a --now option, for testing purposesJohn Wiegley2009-10-271-0/+10
| | | | | | This sets Ledger's notion of the "current time" to the given date. This makes it possible to have stable output from budgeting and forecasting reports, for the sake of baseline tests.
* Fixed a display issue with the balance reportJohn Wiegley2009-10-271-35/+9
|
* In budget report, color large percentages magentaJohn Wiegley2009-10-271-4/+20
|
* Added a new "cleared" reportJohn Wiegley2009-10-271-0/+14
| | | | | | This is a balance report with three columns: Current balance | Cleared balance | Last cleared date
* Added a new "budget" reportJohn Wiegley2009-10-271-6/+24
| | | | | | This is a balance report with four columns: Amount spent | Budgeted Amount | Difference | Percentage
* Added an "echo" command, for REPL testingJohn Wiegley2009-10-261-0/+1
|
* Rewrote the way date and time I/O is managedJohn Wiegley2009-10-251-7/+7
|
* Restored --price option, added baseline testJohn Wiegley2009-06-261-2/+5
| | | | | | | 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-7/+5
|
* Split commodity.h/cc into three filesJohn Wiegley2009-06-241-0/+1
| | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management
* Restored --download, although not done yetJohn Wiegley2009-06-241-3/+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/+4
|
* Restored option --period-sortJohn Wiegley2009-06-211-3/+0
| | | | This option is just an alias for --sort-xacts.
* Restored the --truncate option, added baseline testJohn Wiegley2009-06-211-8/+9
|
* Restored --unround, added baseline testJohn Wiegley2009-06-211-2/+4
|
* Whitespace reformattingJohn Wiegley2009-06-211-4/+4
|
* Restored --percent option, added baseline testJohn Wiegley2009-06-211-2/+7
|
* The -X option now accepts price settingsJohn Wiegley2009-06-181-2/+0
| | | | | | | 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'
* Added baseline tests for --related, --related-allJohn Wiegley2009-06-181-1/+5
|
* Restored --plot-amount-format, --plot-total-formatJohn Wiegley2009-06-181-9/+2
|
* Restored --prices-format optionsJohn Wiegley2009-06-181-1/+2
|
* Restored pricesdb command and --pricesdb-format optionJohn Wiegley2009-06-181-1/+1
|
* When --end is used, set a "terminus" dateJohn Wiegley2009-06-161-4/+14
| | | | | | | 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-14/+12
| | | | | | | | 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-101/+245
| | | | | This reports which options are in place before invoking a command, and where exactly each option value came from.
* First iteration of the new date_interval_t rewriteJohn Wiegley2009-03-151-6/+6
|
* Rewrote the balance report again, to fix --depthJohn Wiegley2009-03-081-1/+1
|
* Implemented --unround using value expressionsJohn Wiegley2009-03-061-1/+4
|
* Removed the --totals optionJohn Wiegley2009-03-051-2/+0
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-9/+10
|
* Normalized how account totals are calculatedJohn Wiegley2009-03-031-17/+2
|
* Allow special %{} formatting sequenceJohn Wiegley2009-03-031-13/+13
| | | | | | | | | | | | | | | 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.
* Moved fn_false to be a non-member functionJohn Wiegley2009-03-031-3/+0
|
* Changed how comments are output to be more logicalJohn Wiegley2009-03-011-6/+5
|