Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Minor optimization | John Wiegley | 2010-05-31 | 1 | -1/+2 | |
| | ||||||
* | -G option now takes price history into account | John Wiegley | 2010-05-30 | 1 | -4/+52 | |
| | ||||||
* | -V/-X options now take price history into account | John Wiegley | 2010-05-30 | 2 | -2/+80 | |
| | ||||||
* | Made several debug categories more consistent | John Wiegley | 2010-05-30 | 1 | -11/+11 | |
| | ||||||
* | Allow null values to be cast to int and string | John Wiegley | 2010-05-30 | 1 | -0/+19 | |
| | ||||||
* | Empty notes and tags now return null values | John Wiegley | 2010-05-30 | 4 | -49/+58 | |
| | ||||||
* | New: --group-by=EXPR and --group-title-format=FMT | John Wiegley | 2010-05-30 | 8 | -103/+298 | |
| | | | | | | | | | | | | | | | | | | | | | The --group-by option allows for most reports to be split up into sections based on the varying value of EXPR. For example, to see register subtotals by payee, use: ledger reg --group-by=payee -s This works for separated balances too: ledger bal --group-by=payee Another interesting possibility is seeing a register of all the accounts affected by a related account: ledger reg -r --group-by=payee The option --group-title-format can be used to add a separator bar to the group titles. The option --no-titles can be used to drop titles altogether. | |||||
* | Option --rounding inverted to --no-rounding | John Wiegley | 2010-05-30 | 3 | -4/+4 | |
| | ||||||
* | Added new post_splitter posting handler | John Wiegley | 2010-05-30 | 2 | -1/+92 | |
| | ||||||
* | Added new option: --no-titles | John Wiegley | 2010-05-30 | 2 | -0/+3 | |
| | ||||||
* | Added optional item_handler::title() method | John Wiegley | 2010-05-30 | 1 | -3/+8 | |
| | ||||||
* | Added value_scope_t, for wrapping a value in a scope | John Wiegley | 2010-05-30 | 1 | -0/+24 | |
| | | | | | The value expression "value" may be used to extract the wrapped value. This is currently only used by the upcoming --group-title-format option. | |||||
* | Added new required item_handler_t::clear() method | John Wiegley | 2010-05-30 | 6 | -34/+227 | |
| | ||||||
* | Comparison of boolean values is now allowed | John Wiegley | 2010-05-30 | 1 | -0/+33 | |
| | | | | true > false | |||||
* | Corrected error message text to be consistent | John Wiegley | 2010-05-30 | 1 | -1/+1 | |
| | ||||||
* | Updated to Boost 1.43 | John Wiegley | 2010-05-27 | 4 | -19/+23 | |
| | ||||||
* | Optimized amount_t::in_place_truncate | John Wiegley | 2010-05-26 | 2 | -3/+39 | |
| | ||||||
* | Added --rounding option, which is off by default | John Wiegley | 2010-05-23 | 5 | -7/+16 | |
| | | | | | | | | The purpose of this option is to add special "<Rounding>" postings, to ensure that a regiter's running total is *always* the sum of its postings. Within --rounding, these adjustment postings are missing, which was the behavior in Ledger 2.x. It can be orders of magnitude slower to turn it on for large reports with many commodities. | |||||
* | Optimized several "in_place" function in balance_t | John Wiegley | 2010-05-23 | 1 | -16/+8 | |
| | ||||||
* | Fix to an interaction between --period and --sort | John Wiegley | 2010-05-23 | 1 | -3/+2 | |
| | | | | Fixes 3AAB00ED-9904-4380-8988-16506B0AFE08 | |||||
* | Do not generate names with double underscores | John Wiegley | 2010-05-23 | 1 | -12/+12 | |
| | | | | Fixes 6A4AFDC2-DE87-48A5-A17D-B04120EE1F62 | |||||
* | For Boost 1.35 and earlier, use is_regular | John Wiegley | 2010-05-23 | 1 | -1/+6 | |
| | | | | Fixes 0F17CB7F-A000-4F99-8471-739948AD575F | |||||
* | print honors --columns, --account,amount-width | John Wiegley | 2010-05-22 | 1 | -22/+59 | |
| | ||||||
* | The print command now honors use of --date-format | John Wiegley | 2010-05-22 | 1 | -3/+10 | |
| | ||||||
* | If FMT_CUSTOM is given, and no format, use FMT_PRINTED | John Wiegley | 2010-05-22 | 1 | -2/+2 | |
| | ||||||
* | Corrected handling of context stack in the parser | John Wiegley | 2010-05-22 | 1 | -23/+8 | |
| | | | | Fixes F4A477E6-C4F6-43B1-ABCC-4DC325C2869A | |||||
* | Created new valexpr variable display_account | John Wiegley | 2010-05-22 | 2 | -13/+29 | |
| | | | | | | | | | Where display_account might be '(Expenses:Food)', account will always be 'Expenses:Food'. account is now used by all matching and query operations, while display_account is used in the various report outputs (besides balance, which never distinguished virtual accounts). Fixes F2832452-4521-49A3-B854-F4E12CC4D82E | |||||
* | A minor fix to transaction auto-balancing | John Wiegley | 2010-05-22 | 1 | -45/+40 | |
| | | | | | | | | | | It allows transactions like the following to auto-balance: 1999/08/16 Sell AAPL Assets:Broker $585 Expense:Broker:Commissions $15 Assets:Broker -10 AAPL {$30} @ $60 Income:Capital Gains | |||||
* | Added new option --prepend-width | John Wiegley | 2010-05-22 | 4 | -28/+56 | |
| | | | | | | | | This is useful for making sure that the column containing the results of --prepend-format is a consistent width throughout the report (including those lines where it is not applied). Fixes 64F9D913-75E1-4830-A3D9-29B72442E68B | |||||
* | Made a peculiar error slightly more verbose | John Wiegley | 2010-05-22 | 1 | -1/+2 | |
| | ||||||
* | Ommitting args to the entry command print nothing | John Wiegley | 2010-05-22 | 1 | -1/+5 | |
| | ||||||
* | Improved error reporting in the expression parser | John Wiegley | 2010-05-22 | 4 | -23/+45 | |
| | | | | Fixes 15A80F68-F233-49D9-AF0C-9908BB6903BA | |||||
* | Report an error for incorrect dates like 2010/04/32 | John Wiegley | 2010-05-22 | 1 | -20/+34 | |
| | | | | Fixes EF57C685-2C18-49A1-9A8C-FB3BE6F99C41 | |||||
* | Made the output from --options better looking | John Wiegley | 2010-05-22 | 1 | -4/+7 | |
| | ||||||
* | Changed the report generated by the csv command | John Wiegley | 2010-05-22 | 2 | -4/+15 | |
| | | | | | | | | | | | Fields are now: Date,Code,Payee,Account,Commodity,Total,State,Note Instead of outputting amounts potentially as $1,000.00 (which was an error anyway), the output is now: $,1000.00. This makes the commodity available in a separate field, and removes display of thousands markers. Also, european formatting is always off. | |||||
* | Option --count sums payees, account, commodities | John Wiegley | 2010-05-22 | 4 | -18/+39 | |
| | ||||||
* | Added new commands: acounts, payees, commodities | John Wiegley | 2010-05-22 | 3 | -1/+144 | |
| | | | | | | | | | | | | | These three reports simply dump an unordered list (with the exception of payees) shows all accounts, payees, and commodities represented in a given report. This can be used to easily generate per-entity report, for example: ledger payees | \ while read payee; do \ echo ; echo $payee ; \ ledger reg payee "$payee" ; \ done | |||||
* | Interpolate uses of $account in automated postings | John Wiegley | 2010-05-22 | 1 | -2/+8 | |
| | | | | Fixes 5CB52887-408E-48F0-8798-3C640D0295B3 | |||||
* | Guard against NULL value passed to "end" directive | John Wiegley | 2010-05-22 | 1 | -1/+1 | |
| | | | | Fixes 89233B6D-CB21-4162-98E3-BE38B9336070 | |||||
* | emacs command was referencing uninitialized values | John Wiegley | 2010-05-22 | 1 | -6/+13 | |
| | | | | Fixes 7B54CF80-45A4-4D50-A8D3-63272D60FA1B | |||||
* | Temporary accounts were referenced after deletion | John Wiegley | 2010-05-22 | 2 | -4/+20 | |
| | | | | Fixes D53C98E5-506D-4CE5-91A3-7666FD33B65B | |||||
* | Added account_id and xact_id valexpr vars for posts | John Wiegley | 2010-05-18 | 2 | -0/+39 | |
| | | | | | account_id is the "whicheth" number for that posting within its account. The xact_id is within its transaction. | |||||
* | A string was not terminated with a NUL. | John Wiegley | 2010-05-12 | 1 | -1/+6 | |
| | ||||||
* | Added more iterator methods to call_scope_t | John Wiegley | 2010-05-08 | 1 | -0/+11 | |
| | ||||||
* | Added any() and all() value expression macros | John Wiegley | 2010-05-08 | 6 | -6/+131 | |
| | | | | | | | | | | | | | | | | | | | | any() matches an expression against every post in a transaction or account, and returns true if any of them are true. all() tests if all are true. For example: ledger -l 'account =~ /Expense/ & any(account =~ /MasterCard/)' reg This reports every posting affecting an Expense account (regex match), but only if some other posting in the same transaction affects the MasterCard account. Both functions also take a second boolean argument. If it is false, the "source" posting is not considered. For example: ledger -l 'any(/x/, false)' This matches any posting where a *different* posting in the same transaction contains the letter 'x'. | |||||
* | Added O_EXPAND operator, to handle macros | John Wiegley | 2010-05-08 | 2 | -3/+50 | |
| | ||||||
* | interactive_t now takes an "X" for expressions | John Wiegley | 2010-05-08 | 2 | -0/+17 | |
| | ||||||
* | Added a simple print() value expression function | John Wiegley | 2010-05-08 | 2 | -0/+17 | |
| | | | | This is really for debugging more than anything else. | |||||
* | Allow expr_t& to be passed in a value_t | John Wiegley | 2010-05-08 | 2 | -3/+57 | |
| | ||||||
* | print command correctly prints amount expressions | John Wiegley | 2010-05-07 | 2 | -5/+22 | |
| |