summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Removed an unnecessary friend declarationJohn Wiegley2009-02-191-4/+0
|
* Moved amount_t::right_justify to simply ::justifyJohn Wiegley2009-02-196-25/+42
|
* Always perform tilde expansion on input pathnamesJohn Wiegley2009-02-181-7/+9
|
* Parse 2004/01 as YYYY/mmJohn Wiegley2009-02-181-0/+3
|
* Fixed use of the -p flag without an intervalJohn Wiegley2009-02-172-4/+5
| | | | | That is, -p 2004/01 is equivalent to "-b 2004/01/01 -e 2004/01/31" again.
* Added --flat option, to flatten the balance reportJohn Wiegley2009-02-177-18/+42
|
* Only display a final balance total if necessaryJohn Wiegley2009-02-173-31/+38
| | | | | In the case where only one top-level account is being reported, there is no reason to duplicate the total balance shown.
* Removed the %*| special char, for %*(" ")John Wiegley2009-02-172-7/+2
|
* The option --cost is now an alias for --basisJohn Wiegley2009-02-172-3/+1
|
* Improved the --collapse filterJohn Wiegley2009-02-173-21/+37
| | | | | | | | | | It now takes the --display and --only predicates into account, so that it never appears to be collapsing single transactions. There are cases where there are multiple transactions, but the display or only predicate filters them out, so that if collapse didn't consider this, the user would wonder why a single transaction was being collapsed -- since they'd never see that collapse saw more than two.
* Changed a debug category to be more accurateJohn Wiegley2009-02-171-4/+4
|
* Rewrote how the balance command displays accountsJohn Wiegley2009-02-175-120/+133
| | | | | | | | The previous method bent over backwards to try and avoid multiple passes through the account tree, but the result was a horribly complicated mess that never ceased to dredge up obscure bugs. The new scheme is a very, very simple two-pass algorithm, with multiple subpasses during the second pass for refining the output based on the report options.
* Fixed a typo.John Wiegley2009-02-161-2/+2
|
* Removed an unused extended account xdata flagJohn Wiegley2009-02-162-14/+11
|
* Moved format_accounts::should_display out of lineJohn Wiegley2009-02-162-7/+10
|
* Added a "commodity" valexpr variable for xactsJohn Wiegley2009-02-161-0/+6
|
* Added new --set-acount and --set-payee optionsJohn Wiegley2009-02-165-143/+61
| | | | | | 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-165-55/+143
| | | | | | | | | | | | | | | 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 a possible problem with xact_t::date()John Wiegley2009-02-161-1/+1
|
* Report better errors if options are missing argsJohn Wiegley2009-02-162-9/+19
|
* Accept --first/--last as synonyms for --head/--tailJohn Wiegley2009-02-162-0/+6
|
* Fixed the --head and --tail optionsJohn Wiegley2009-02-161-3/+6
|
* Compilation verification code only with debuggingJohn Wiegley2009-02-163-1/+6
| | | | | | Previously, --verify would work even if the sources were built with default options. However, in the interests of performance, --verify is now only available if --enable-debug was passed to configure.
* Added --args-only flags, to ignore init and envJohn Wiegley2009-02-162-4/+10
|
* Fixed several unused value and param warningsJohn Wiegley2009-02-1616-40/+29
|
* Simplified the stats commandJohn Wiegley2009-02-162-10/+4
|
* Made "stat" a synonym for the "stats" commandJohn Wiegley2009-02-161-1/+1
|
* Fleshed out the "stats" commandJohn Wiegley2009-02-162-17/+98
|
* Abort journal parsing if Control-C is caughtJohn Wiegley2009-02-161-0/+3
|
* Moved around some functions for clarityJohn Wiegley2009-02-166-30/+86
|
* Changed some value_t method namesJohn Wiegley2009-02-161-2/+2
| | | | | | | - simplify -> simplified - cast -> casted This is to differentiate them from in_place_cast and in_place_simplify.
* Always print zero amounts as "0"John Wiegley2009-02-161-1/+4
|
* The -n option for bal command is working againJohn Wiegley2009-02-162-4/+4
| | | | | The fix was that when appending new predicates, enclosed both sides of the AND with parentheses.
* Fixed how subtotal date ranges are computedJohn Wiegley2009-02-162-75/+67
|
* Revert "Propagate xact effective date in two places"John Wiegley2009-02-161-4/+2
| | | | This reverts commit 17a0ab84075c8f323dc70e82717ae6c10ae5eb56.
* Propagate xact effective date in two placesJohn Wiegley2009-02-161-2/+4
|
* Report collapsed xacts using earliest dateJohn Wiegley2009-02-161-9/+16
|
* Print <POINTER> if value_t::is_pointer()John Wiegley2009-02-161-0/+4
|
* Made several of the filters more context awareJohn Wiegley2009-02-155-39/+65
| | | | | 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-153-35/+43
| | | | This creates its own problems; instead, only most are used.
* Provide a "depth" variable for xactsJohn Wiegley2009-02-151-0/+9
|
* If an account's "total" is empty, return 0John Wiegley2009-02-151-1/+4
|
* Added account(_base) accessors to account_tJohn Wiegley2009-02-151-0/+12
|
* Print stripped amounts in the print reportJohn Wiegley2009-02-151-2/+2
|
* Normalized handling of several report optionsJohn Wiegley2009-02-154-75/+69
|
* Re-enabled the --format (-F) optionJohn Wiegley2009-02-152-10/+22
|
* The "xact" variable now returns null for accountsJohn Wiegley2009-02-153-1/+11
|
* Improved handling of --empty optionJohn Wiegley2009-02-153-31/+36
| | | | | | 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-158-38/+35
| | | | This means item_predicate is no longer a template.
* chain_xact_handlers now always operators the sameJohn Wiegley2009-02-153-88/+81
| | | | | | 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).