summaryrefslogtreecommitdiff
path: root/src/chain.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Added new --set-acount and --set-payee optionsJohn Wiegley2009-02-161-6/+26
| | | | | | These fully generalize the previous --payee-as-account and such options, which, for example, is now implemented to be the same as saying, "--set-account payee".
* Added several new reporting optionsJohn Wiegley2009-02-161-0/+6
| | | | | | | | | | | | | | | To help with gathering specific reports: - --payee-as-account copies the entry's payee field to the account, allowing the subtotal report to show unique payees for each period. - --comm-as-account copies the transaction's amount's commodity to the account. - --code-as-account copies the entry's code to the account Also created aliases for some of these options, for conistency's sake: - --commodity-as-payee is now an alias for --comm-as-payee - --commodity-as-account is now an alias for --comm-as-account
* Fixed the --head and --tail optionsJohn Wiegley2009-02-161-3/+6
|
* Made several of the filters more context awareJohn Wiegley2009-02-151-6/+12
| | | | | This resolves certain issues where value expressions were not being looked up within their full context.
* Don't apply all filters for account-wise reportsJohn Wiegley2009-02-151-32/+38
| | | | This creates its own problems; instead, only most are used.
* Improved handling of --empty optionJohn Wiegley2009-02-151-1/+2
| | | | | | For example, in period reports null transactions are only generated for empty periods if --empty is used. Otherwise, the presence of such transactions can get confusing.
* item_predicate now operates on scope_tJohn Wiegley2009-02-151-12/+12
| | | | This means item_predicate is no longer a template.
* chain_xact_handlers now always operators the sameJohn Wiegley2009-02-151-80/+76
| | | | | | Previously, account-wise reports used a subset of the total number of transaction filters, but this could cause confusing results, and made some reports immpossible (such as account-wise monthly averages).
* Have interval_xacts construct temps on a listJohn Wiegley2009-02-141-1/+2
|
* Re-enabled some code, and removed a bunch of deadwood.John Wiegley2009-02-121-11/+15
|
* Sort period transactions by "date", not by "d".John Wiegley2009-02-101-1/+1
|
* Added a new --collapse-if-zero option.John Wiegley2009-02-091-1/+2
|
* Use the report's amount_expr everywhere that computes an xact's amount.John Wiegley2009-02-091-5/+6
|
* Had to step back from a change that was breaking regular reports.John Wiegley2009-02-091-1/+3
|
* Pass amount expression to calc_xacts, to be used for computing the total.John Wiegley2009-02-081-1/+2
|
* Removed --reconcile and --reconcile-date.John Wiegley2009-02-071-14/+0
|
* Removed the nearly unknown --descend and --descend-if options.John Wiegley2009-02-061-32/+4
|
* Restored all the option handlers from 2.6.2, but not the options themselves.John Wiegley2009-02-061-15/+16
|
* Greatly simplified the way option and command handlers are defined.John Wiegley2009-02-051-79/+71
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-5/+13
|
* Moved chain_xact_handlers into its own file, chain.h and chain.cc.John Wiegley2009-02-011-0/+225