Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A key fix to the ways accounts were sorted | John Wiegley | 2009-02-19 | 1 | -9/+16 |
| | | | | Comparing integer < amount was doing the reverse comparison. | ||||
* | Allow for sorting of the balance report | John Wiegley | 2009-02-19 | 6 | -68/+97 |
| | | | | | | Sorting is repeated at each level of the hierarchy, unless --flat was specified in which case it applies to the entire applicable accounts list. | ||||
* | Added valexpr vars for accessing item position | John Wiegley | 2009-02-19 | 1 | -0/+23 |
| | | | | | | | | - filename - beg_line - beg_pos - end_line - end_pos | ||||
* | If a transaction's total is null, return 0 instead | John Wiegley | 2009-02-19 | 1 | -1/+1 |
| | |||||
* | Re-enabled parsing of timelog data | John Wiegley | 2009-02-19 | 2 | -11/+17 |
| | |||||
* | If a sorting value can't be found, report an error | John Wiegley | 2009-02-19 | 1 | -0/+3 |
| | |||||
* | Don't sort or subtotal xacts for account reports | John Wiegley | 2009-02-19 | 1 | -20/+20 |
| | |||||
* | If an account's aggregate amount is null, return 0 | John Wiegley | 2009-02-19 | 1 | -1/+4 |
| | |||||
* | Removed an unnecessary assert | John Wiegley | 2009-02-19 | 1 | -1/+0 |
| | | | | It prevented the amount string "$1.00 " from being parsed. | ||||
* | Use the 'market' function, not 'market_value' | John Wiegley | 2009-02-19 | 1 | -2/+2 |
| | |||||
* | Auto-size register report based on COLUMNS | John Wiegley | 2009-02-19 | 1 | -0/+36 |
| | |||||
* | Added a new --columns= option | John Wiegley | 2009-02-19 | 2 | -0/+3 |
| | |||||
* | The sequence -M -p 2004 now equals -p 2004 -M | John Wiegley | 2009-02-19 | 4 | -77/+69 |
| | |||||
* | Renamed a debug category to be consistent | John Wiegley | 2009-02-19 | 1 | -1/+1 |
| | |||||
* | Restored the -j and -J options | John Wiegley | 2009-02-19 | 2 | -10/+14 |
| | |||||
* | Moved init of options to the options themselves | John Wiegley | 2009-02-19 | 2 | -61/+69 |
| | |||||
* | Moved an exception, so the report is more general | John Wiegley | 2009-02-19 | 1 | -19/+20 |
| | |||||
* | Accept --long-option=value | John Wiegley | 2009-02-19 | 1 | -1/+1 |
| | |||||
* | Efficiency fix for the formatting code | John Wiegley | 2009-02-19 | 1 | -9/+12 |
| | |||||
* | Exchanged inclusion of report.h for account.h | John Wiegley | 2009-02-19 | 1 | -1/+1 |
| | | | | The data sub-library should never depend on the reporting code. | ||||
* | Improved how register reports are formatted | John Wiegley | 2009-02-19 | 2 | -37/+60 |
| | | | | | | | | | | | | As a result, --wide is working again, and --wide-register-format has been removed. Also, the following new options are recognized, for controlling per-column formatting: --date-width NUM --payee-width NUM --account-width NUM --amount-width NUM --total-width NUM | ||||
* | If an option has been handled, return its value | John Wiegley | 2009-02-19 | 1 | -1/+1 |
| | |||||
* | Removed an unnecessary friend declaration | John Wiegley | 2009-02-19 | 1 | -4/+0 |
| | |||||
* | Moved amount_t::right_justify to simply ::justify | John Wiegley | 2009-02-19 | 6 | -25/+42 |
| | |||||
* | Always perform tilde expansion on input pathnames | John Wiegley | 2009-02-18 | 1 | -7/+9 |
| | |||||
* | Parse 2004/01 as YYYY/mm | John Wiegley | 2009-02-18 | 1 | -0/+3 |
| | |||||
* | Fixed use of the -p flag without an interval | John Wiegley | 2009-02-17 | 2 | -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 report | John Wiegley | 2009-02-17 | 7 | -18/+42 |
| | |||||
* | Only display a final balance total if necessary | John Wiegley | 2009-02-17 | 3 | -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 Wiegley | 2009-02-17 | 2 | -7/+2 |
| | |||||
* | The option --cost is now an alias for --basis | John Wiegley | 2009-02-17 | 2 | -3/+1 |
| | |||||
* | Improved the --collapse filter | John Wiegley | 2009-02-17 | 3 | -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 accurate | John Wiegley | 2009-02-17 | 1 | -4/+4 |
| | |||||
* | Rewrote how the balance command displays accounts | John Wiegley | 2009-02-17 | 5 | -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 Wiegley | 2009-02-16 | 1 | -2/+2 |
| | |||||
* | Removed an unused extended account xdata flag | John Wiegley | 2009-02-16 | 2 | -14/+11 |
| | |||||
* | 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 |
| |