summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* A little bit of code cleanupJohn Wiegley2010-06-044-13/+22
|
* Simplified some debug codeJohn Wiegley2010-06-031-33/+16
|
* Removed a redundant checkJohn Wiegley2010-06-031-2/+1
|
* Short-circuit annotated commodity valuationJohn Wiegley2010-06-031-1/+3
|
* Corrected a debug statementJohn Wiegley2010-06-031-2/+5
|
* Avoid unnecessary object copying when using foreachJohn Wiegley2010-06-034-7/+7
|
* Minor optimization of amount_t::operator*John Wiegley2010-06-032-11/+22
|
* Added new "addr" value expression functionJohn Wiegley2010-06-032-0/+12
| | | | | It returns the address of the given object as an integer. This can be used to uniquely compare entities.
* A simple, yet significiant, optimizationJohn Wiegley2010-06-031-1/+1
| | | | | | | | Every annotated commodity is based on a "referent", or the unannotated version of that commodity. When stripping all annotations away, however, rather than simply returning the referent we were actually searching for it by name. There was no reason to do this, not to mention it was taking up to 7% of the total runtime of some reports.
* Removed some debug codeJohn Wiegley2010-06-031-4/+0
|
* Correct display of amounts with keep_precisionJohn Wiegley2010-06-021-13/+39
| | | | Fixes #167 / 1D275740-D1A6-42B7-BDE4-F2F85E30CE8E
* Don't gen posting with same cost, amount commodityJohn Wiegley2010-06-022-10/+14
|
* Don't use --pager or --color with --outputJohn Wiegley2010-06-021-0/+7
|
* Throw an exception if mpfr_asprintf failsJohn Wiegley2010-06-021-1/+4
|
* Wrap a default account name with _()John Wiegley2010-06-021-1/+1
|
* Inlined the print_xacts constructorJohn Wiegley2010-06-022-8/+4
|
* Moved a misplaced parenthesisJohn Wiegley2010-06-021-1/+1
|
* Two members of journal_t weren't being serializedJohn Wiegley2010-06-021-1/+3
|
* Changed two uses of delete to checked_delete()John Wiegley2010-06-021-2/+2
|
* Fixed two memory reference errorsJohn Wiegley2010-06-022-15/+9
|
* Further improved parsing of query expressionsJohn Wiegley2010-06-013-30/+41
| | | | Fixes #210 / D4C2DD6F-8967-4FFC-BBBC-A941F9C53475
* Changed --european option to --decimal-commaJohn Wiegley2010-06-016-56/+55
| | | | Fixes #211 / 1736ACA5-5DE6-4826-AEB4-DB5B2A2217AC
* Minor optimizationJohn Wiegley2010-06-011-7/+4
|
* Improve parsing of 'expr' query termsJohn Wiegley2010-06-011-6/+9
| | | | Fixes #157 / 9DF85DF2-4BF5-4931-A30C-2592A10BB5C0
* Changed a commentJohn Wiegley2010-06-011-1/+1
|
* Minor optimizationJohn Wiegley2010-05-311-1/+2
|
* -G option now takes price history into accountJohn Wiegley2010-05-301-4/+52
|
* -V/-X options now take price history into accountJohn Wiegley2010-05-302-2/+80
|
* Made several debug categories more consistentJohn Wiegley2010-05-301-11/+11
|
* Allow null values to be cast to int and stringJohn Wiegley2010-05-301-0/+19
|
* Empty notes and tags now return null valuesJohn Wiegley2010-05-304-49/+58
|
* New: --group-by=EXPR and --group-title-format=FMTJohn Wiegley2010-05-308-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-roundingJohn Wiegley2010-05-303-4/+4
|
* Added new post_splitter posting handlerJohn Wiegley2010-05-302-1/+92
|
* Added new option: --no-titlesJohn Wiegley2010-05-302-0/+3
|
* Added optional item_handler::title() methodJohn Wiegley2010-05-301-3/+8
|
* Added value_scope_t, for wrapping a value in a scopeJohn Wiegley2010-05-301-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() methodJohn Wiegley2010-05-306-34/+227
|
* Comparison of boolean values is now allowedJohn Wiegley2010-05-301-0/+33
| | | | true > false
* Corrected error message text to be consistentJohn Wiegley2010-05-301-1/+1
|
* Updated to Boost 1.43John Wiegley2010-05-274-19/+23
|
* Optimized amount_t::in_place_truncateJohn Wiegley2010-05-262-3/+39
|
* Added --rounding option, which is off by defaultJohn Wiegley2010-05-235-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_tJohn Wiegley2010-05-231-16/+8
|
* Fix to an interaction between --period and --sortJohn Wiegley2010-05-231-3/+2
| | | | Fixes 3AAB00ED-9904-4380-8988-16506B0AFE08
* Do not generate names with double underscoresJohn Wiegley2010-05-231-12/+12
| | | | Fixes 6A4AFDC2-DE87-48A5-A17D-B04120EE1F62
* For Boost 1.35 and earlier, use is_regularJohn Wiegley2010-05-231-1/+6
| | | | Fixes 0F17CB7F-A000-4F99-8471-739948AD575F
* print honors --columns, --account,amount-widthJohn Wiegley2010-05-221-22/+59
|
* The print command now honors use of --date-formatJohn Wiegley2010-05-221-3/+10
|
* If FMT_CUSTOM is given, and no format, use FMT_PRINTEDJohn Wiegley2010-05-221-2/+2
|