summaryrefslogtreecommitdiff
path: root/src/report.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Make --lot-notes a synonym for --lot-tagsJohn Wiegley2012-03-101-1/+1
|
* Allow --budget-format to be usedJohn Wiegley2012-03-091-0/+1
|
* Fixed the behavior of fn_nail_downJohn Wiegley2012-03-091-3/+11
|
* Reworked the way that options are handledJohn Wiegley2012-03-091-122/+118
|
* fn_market can now accept a commodity name for arg 0John Wiegley2012-03-081-3/+13
|
* Added --historical optionJohn Wiegley2012-03-081-2/+1
|
* Added nail_down() for pinning market value exprsJohn Wiegley2012-03-081-0/+20
|
* Removed value_t::price and balance_t::priceJohn Wiegley2012-03-071-7/+0
|
* Use unique_ptr instead of std::auto_ptrJohn Wiegley2012-03-051-1/+1
|
* Prettified some code in report.ccJohn Wiegley2012-03-051-84/+55
|
* Guard against double-freeing of report objectsJohn Wiegley2012-03-051-33/+58
|
* Implemented first cut at price conversion logicJohn Wiegley2012-03-051-5/+2
|
* Switched to using Boost.Graph for commodity pricingJohn Wiegley2012-03-051-2/+8
|
* Make --value a synonym for marketJohn Wiegley2012-03-051-1/+1
|
* Make --change a synonym for --gainJohn Wiegley2012-03-051-1/+1
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Renamed actual/effective dates to primary/auxiliaryJohn Wiegley2012-02-281-5/+4
|
* Added --rich-data for 'convert', and SHA1 checksum checkingJohn Wiegley2012-02-261-0/+1
|
* Added --auto-match option, for use with 'convert'John Wiegley2012-02-261-0/+1
|
* Corrected handling of nested definitionsJohn Wiegley2012-02-211-0/+4
|
* Fixed many Clang type conversion warnings with static_castJohn Wiegley2012-02-171-4/+5
|
* Use value_t::to_long()John Wiegley2012-02-171-7/+7
|
* Added round() and unround() valexpr functionsJohn Wiegley2011-10-241-0/+14
|
* Cleanup whitespaceJohn Wiegley2011-08-181-1/+1
|
* Removed unused variablesJohn Wiegley2011-08-181-2/+4
|
* Use Boost iterator_facade to create new iteratorsJohn Wiegley2011-07-191-20/+29
|
* Whitespace correctionsJohn Wiegley2011-02-101-3/+3
|
* Fixes for compilation as C++0x codeJohn Wiegley2011-02-041-1/+1
|
* New command: org, for displaying Org-mode tablesJohn Wiegley2010-12-221-0/+10
|
* Added "top_amount" value expr functionJohn Wiegley2010-12-221-0/+24
|
* Minor simplifications to valexpr parserJohn Wiegley2010-09-051-0/+1
| | | | | The most significant change is the way CONS sequences are parsed, and that now instead of =/:=, the operators are ==/=.
* The "print" valexpr function no longer adds spacesJohn Wiegley2010-06-261-9/+2
|
* Added "format" value expression functionJohn Wiegley2010-06-241-0/+10
| | | | | | | | | This function evaluates formatting strings, returning a string. For example: format("%(amount)") This is equivalent to "to_string(amount)".
* Added "source" command, for executing valexpr filesJohn Wiegley2010-06-241-0/+2
|
* "only" now a report query modifier for --onlyJohn Wiegley2010-06-241-0/+5
| | | | This fits with "show" and "bold", etc.
* Added report query modifiers: for, since, untilJohn Wiegley2010-06-221-31/+39
| | | | | | | | | Now instead of ledger reg expense -p "this month", you can say: ledger reg expense for this month And as a shorthand for "for until this month", you can just say "until this month" or "since this month".
* Added new "bold" modifier to query expressionsJohn Wiegley2010-06-221-11/+13
| | | | | | | | | | | | | | For example: ledger bal assets bold checking Or you can use expressions: ledger bal assets bold '=total > 1000' This last is identical to saying: ledger bal -l 'account =~ /assets/' --bold-if='total > 1000'
* Added new --bold-if optionJohn Wiegley2010-06-221-0/+11
|
* bal was sometimes reporting empty accountsJohn Wiegley2010-06-211-5/+10
|
* Added new option --inject=KEY[,KEY...]John Wiegley2010-06-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you have a typed metadata key which contains an amount, you can use --inject=KEY to inject a posting with that amount wherever a match occurs. There are two main forms of usage: 2010-06-18 Sample ; Key:: $100 Expenses:Food $100.00 Assets:Checking The command would be: ledger reg --inject=Key In the above, transactional form, a posting under the account "Key" will be injected before the first posting reported for this transaction. It's amount will be $100. This only happens once for the whole transaction. It is also possible to associate the key with a posting: 2010-06-18 Sample Expenses:Food $100.00 ; Key:: $100 Assets:Checking Now the injected posting is generated whenever that particular post is reported.
* Removed unused --unsorted optionJohn Wiegley2010-06-151-1/+0
|
* Revised how Ledger handles the "current year"John Wiegley2010-06-141-2/+2
| | | | | Now when the Y directive sets the current year for a region, it affects everything, as if the clock really were set back to that year.
* Removed unneeded debug codeJohn Wiegley2010-06-131-5/+0
|
* Completely reworked argument passing in expressionsJohn Wiegley2010-06-131-129/+89
|
* Improved value expression function 'commodity'John Wiegley2010-06-121-0/+8
| | | | | | Without arguments -- and in a posting -- it is equivalent to "commodity(amount)". Otherwise, it returns the commodity symbol of its argument.
* Untabified all source filesJohn Wiegley2010-06-111-228/+228
|
* Fixed the "generate" commandJohn Wiegley2010-06-101-8/+2
|
* New display flag AMOUNT_PRINT_ELIDE_COMMODITY_QUOTESJohn Wiegley2010-06-091-1/+1
| | | | | | | | This is used by reports like register and balance so that separated commodities without spaces in them needed be surrounded by quotes. It will still occur in most other places. Fixes #200 / F82CF11F-BFD9-4512-A562-202B04B68051
* Fixed interaction with -V/X and grouped postingsJohn Wiegley2010-06-091-0/+5
| | | | | | | | | | With -s, -M/Y/D, -n, and a few other flags, postings get "grouped" into meta-transactions that contain more postings than before. In all these cases, -V use the date of the *earliest* posting in that group, which makes little sense and caused breakages with -J. It now uses the latest date. Fixes #197 / 68EAF363-D0FE-4127-866E-A5AEBACB65D6
* A further simplification of -V and -XJohn Wiegley2010-06-071-1/+1
| | | | | | | | With -X COMM, all values are computed in terms of COMM, regardless. With -V, only secondary commodities will ever be computed, never primaries. Further, if a secondary commodities has an associated price, the valuation is done in terms of that price's commodity.