summaryrefslogtreecommitdiff
path: root/src/report.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Guard against divide by zero error in -A reg reportJohn Wiegley2010-01-211-1/+1
|
* Added a trim() value expression functionJohn Wiegley2009-11-251-0/+1
|
* Added options: --unrealized-gains and --unrealized-lossesAristid Breitkreuz2009-11-241-0/+5
| | | | | | | | | | | These options allow the user to specify what accounts names should be used for these two types of accounts. They are optional, and default to: --unrealized-gains "Equity:Unrealized Gains" --unrealized-losses "Equity:Unrealized Losses" These are intended to be set in one's ~/.ledgerrc file.
* Added an --unrealized option, for use with bal -VJohn Wiegley2009-11-191-0/+3
| | | | | | When this option is on, then in balance report which show market values, any gains or losses in value will be balanced into a pair of accounts called Equity:Unrealized Gains and Equity:Unrealized Losses.
* The new period parser is passing all testsJohn Wiegley2009-11-181-13/+18
|
* Don't bold the payee for virtual or temporary xactsJohn Wiegley2009-11-131-1/+1
|
* Reorganized a bit of the reporting codeJohn Wiegley2009-11-121-0/+30
|
* Moved report normalization into report.ccJohn Wiegley2009-11-121-0/+2
|
* Renamed the pricesdb command to pricedbJohn Wiegley2009-11-121-3/+3
|
* Added new value expressions for value conversionJohn Wiegley2009-11-111-0/+9
| | | | | | | | | | | | | | They are: to_boolean to_int to_datetime to_date to_amount to_balance to_string to_mask to_sequence
* Added --date, similar to --account and --payeeJohn Wiegley2009-11-111-0/+2
| | | | | | | This lets you do things like store a date as the value of a tag, then run: ledger --date='has_tag("Foo") ? to_date(tag("Foo")) : date' reg
* Added floor() value expression functionJohn Wiegley2009-11-111-0/+1
|
* Added a --prepend-format optionJohn Wiegley2009-11-111-0/+9
| | | | | | | | This lets you, for example, debug registers that cull data from many different sources, without having to change the basic formatting string. You can locate each posting's location with this: ledger reg --prepend-format='%-25(filename + ":" + beg_line)'
* Fixes to Python importing; removed "hello" precommandJohn Wiegley2009-11-101-2/+0
|
* account_amount() is now account().amountJohn Wiegley2009-11-101-1/+0
|
* Removed a bunch of empty commentsJohn Wiegley2009-11-081-9/+0
|
* 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'