Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved format_accounts::should_display out of line | John Wiegley | 2009-02-16 | 2 | -7/+10 |
| | |||||
* | Added a "commodity" valexpr variable for xacts | John Wiegley | 2009-02-16 | 1 | -0/+6 |
| | |||||
* | Added new --set-acount and --set-payee options | John Wiegley | 2009-02-16 | 5 | -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 options | John Wiegley | 2009-02-16 | 5 | -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 Wiegley | 2009-02-16 | 1 | -1/+1 |
| | |||||
* | Report better errors if options are missing args | John Wiegley | 2009-02-16 | 2 | -9/+19 |
| | |||||
* | Accept --first/--last as synonyms for --head/--tail | John Wiegley | 2009-02-16 | 2 | -0/+6 |
| | |||||
* | Fixed the --head and --tail options | John Wiegley | 2009-02-16 | 1 | -3/+6 |
| | |||||
* | Compilation verification code only with debugging | John Wiegley | 2009-02-16 | 3 | -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 env | John Wiegley | 2009-02-16 | 2 | -4/+10 |
| | |||||
* | Fixed several unused value and param warnings | John Wiegley | 2009-02-16 | 16 | -40/+29 |
| | |||||
* | Simplified the stats command | John Wiegley | 2009-02-16 | 2 | -10/+4 |
| | |||||
* | Made "stat" a synonym for the "stats" command | John Wiegley | 2009-02-16 | 1 | -1/+1 |
| | |||||
* | Fleshed out the "stats" command | John Wiegley | 2009-02-16 | 2 | -17/+98 |
| | |||||
* | Abort journal parsing if Control-C is caught | John Wiegley | 2009-02-16 | 1 | -0/+3 |
| | |||||
* | Moved around some functions for clarity | John Wiegley | 2009-02-16 | 6 | -30/+86 |
| | |||||
* | Changed some value_t method names | John Wiegley | 2009-02-16 | 1 | -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 Wiegley | 2009-02-16 | 1 | -1/+4 |
| | |||||
* | The -n option for bal command is working again | John Wiegley | 2009-02-16 | 2 | -4/+4 |
| | | | | | The fix was that when appending new predicates, enclosed both sides of the AND with parentheses. | ||||
* | Fixed how subtotal date ranges are computed | John Wiegley | 2009-02-16 | 2 | -75/+67 |
| | |||||
* | Revert "Propagate xact effective date in two places" | John Wiegley | 2009-02-16 | 1 | -4/+2 |
| | | | | This reverts commit 17a0ab84075c8f323dc70e82717ae6c10ae5eb56. | ||||
* | Propagate xact effective date in two places | John Wiegley | 2009-02-16 | 1 | -2/+4 |
| | |||||
* | Report collapsed xacts using earliest date | John Wiegley | 2009-02-16 | 1 | -9/+16 |
| | |||||
* | Print <POINTER> if value_t::is_pointer() | John Wiegley | 2009-02-16 | 1 | -0/+4 |
| | |||||
* | Made several of the filters more context aware | John Wiegley | 2009-02-15 | 5 | -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 reports | John Wiegley | 2009-02-15 | 3 | -35/+43 |
| | | | | This creates its own problems; instead, only most are used. | ||||
* | Provide a "depth" variable for xacts | John Wiegley | 2009-02-15 | 1 | -0/+9 |
| | |||||
* | If an account's "total" is empty, return 0 | John Wiegley | 2009-02-15 | 1 | -1/+4 |
| | |||||
* | Added account(_base) accessors to account_t | John Wiegley | 2009-02-15 | 1 | -0/+12 |
| | |||||
* | Print stripped amounts in the print report | John Wiegley | 2009-02-15 | 1 | -2/+2 |
| | |||||
* | Normalized handling of several report options | John Wiegley | 2009-02-15 | 4 | -75/+69 |
| | |||||
* | Re-enabled the --format (-F) option | John Wiegley | 2009-02-15 | 2 | -10/+22 |
| | |||||
* | The "xact" variable now returns null for accounts | John Wiegley | 2009-02-15 | 3 | -1/+11 |
| | |||||
* | Improved handling of --empty option | John Wiegley | 2009-02-15 | 3 | -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_t | John Wiegley | 2009-02-15 | 8 | -38/+35 |
| | | | | This means item_predicate is no longer a template. | ||||
* | chain_xact_handlers now always operators the same | John Wiegley | 2009-02-15 | 3 | -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). | ||||
* | The format code %C is now equal to %(fmt_C) | John Wiegley | 2009-02-15 | 2 | -7/+9 |
| | |||||
* | Removed an unused function | John Wiegley | 2009-02-15 | 1 | -6/+0 |
| | |||||
* | Fixed a call to value_t::cast to use in_place_cast | John Wiegley | 2009-02-15 | 1 | -3/+3 |
| | |||||
* | Whitespace fixes | John Wiegley | 2009-02-15 | 1 | -3/+3 |
| | |||||
* | Split up session_t::reread_journal_files() | John Wiegley | 2009-02-15 | 3 | -5/+4 |
| | | | | | You now call session_t::close_journal_files() followed by session_t::read_journal_files(). | ||||
* | If a boolean value is to an amount, use 1 or 0 | John Wiegley | 2009-02-15 | 1 | -0/+3 |
| | |||||
* | Added 'count' and 'subcount' props for accounts | John Wiegley | 2009-02-15 | 1 | -1/+21 |
| | |||||
* | Strip annotations from the "parse" result | John Wiegley | 2009-02-15 | 1 | -1/+1 |
| | | | | This way the value shown follows the current reporting options. | ||||
* | Change a few calls to on() to use set_expr() | John Wiegley | 2009-02-15 | 1 | -6/+5 |
| | |||||
* | Removed the %! formatting code, as it does nothing | John Wiegley | 2009-02-15 | 3 | -13/+8 |
| | |||||
* | Parse '/' in an operator context as "div" | John Wiegley | 2009-02-15 | 6 | -24/+22 |
| | |||||
* | Removed "total_cost" valexpr, and value_t::cost | John Wiegley | 2009-02-15 | 4 | -38/+4 |
| | | | | | Since cost reports are now calculated by setting the amount_ expression, there is no need to track a separate "total cost" entity. | ||||
* | Restored the --average (-A) report option | John Wiegley | 2009-02-15 | 1 | -1/+5 |
| | |||||
* | Added a helper method for setting expr options | John Wiegley | 2009-02-15 | 1 | -14/+26 |
| | | | | | | | | | | | Now one does: parent->HANDLER(display_total_).set_expr("total"); Rather than what was required previously: parent->HANDLER(display_total_).on("total"); parent->HANDLER(display_total_).expr = "total"; |