summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed interaction with -V/X and grouped postingsJohn Wiegley2010-06-096-56/+103
| | | | | | | | | | With -s, -M/Y/D, -n, and a few other flags, postings get "grouped" into meta-transactions that contain more postings than before. In all these cases, -V use the date of the *earliest* posting in that group, which makes little sense and caused breakages with -J. It now uses the latest date. Fixes #197 / 68EAF363-D0FE-4127-866E-A5AEBACB65D6
* Revert "Compute a posting's cost from an annotated price"John Wiegley2010-06-081-10/+0
| | | | This reverts commit ae8ab8106218167036ef386159450b56c328f1b9.
* A further simplification of -V and -XJohn Wiegley2010-06-0712-57/+53
| | | | | | | | With -X COMM, all values are computed in terms of COMM, regardless. With -V, only secondary commodities will ever be computed, never primaries. Further, if a secondary commodities has an associated price, the valuation is done in terms of that price's commodity.
* Compute a posting's cost from an annotated priceJohn Wiegley2010-06-071-0/+10
|
* Fixed the way prices and costs are print'dJohn Wiegley2010-06-075-28/+28
|
* amount_t::print and value_t::print now use flagsJohn Wiegley2010-06-078-44/+52
|
* Minor optimization of how non --empty is handledJohn Wiegley2010-06-076-39/+65
|
* Reworked the way that <Rounding> entries are shownJohn Wiegley2010-06-066-129/+202
| | | | Fixes #188 / 53BCED29-F3B9-4E02-9A35-6C739ABB9662
* Corrected implementation of --percentJohn Wiegley2010-06-061-1/+1
|
* Made lookup of an account's "cost" a calc errorJohn Wiegley2010-06-061-0/+6
|
* Simplified some debug codeJohn Wiegley2010-06-061-4/+2
|
* Corrected a typename visibility issueJohn Wiegley2010-06-061-0/+2
|
* Enabled timers and logging in NDEBUG buildsJohn Wiegley2010-06-051-3/+3
|
* Made "expr" command a synonym for "parse"John Wiegley2010-06-051-0/+2
|
* Value expression sequences are now comparableJohn Wiegley2010-06-053-10/+32
| | | | Fixes #228 / ED9388D7-E523-40EB-841B-9AE9BAA70329
* Make --anon work with the print commandJohn Wiegley2010-06-053-5/+8
| | | | Fixes #226 / C1C1E731-D991-40ED-BE43-8ED55585386C
* Corrected a verification testJohn Wiegley2010-06-051-1/+3
|
* Allow opt -NDEBUG build to complete without warningsJohn Wiegley2010-06-0411-4/+40
|
* commodity_t::find_price now uses memoizationJohn Wiegley2010-06-042-29/+123
| | | | | This reduces the slowdown of using -V and -X from 36x in some cases down to around 4-5x (for a debug build).
* any and all do not need to be reserved tokensJohn Wiegley2010-06-041-3/+1
|
* More debug code cleanupJohn Wiegley2010-06-041-25/+25
|
* Made the behavior of -V a bit more rationalJohn Wiegley2010-06-042-1/+6
| | | | It now only values non-primary commodities in terms of primary ones.
* Reorganized some debug codeJohn Wiegley2010-06-041-17/+20
|
* Added new command: "pricemap [DATE]"John Wiegley2010-06-044-0/+94
| | | | | | | | | | | | This outputs the pricing relationship of commodities in your data file, as of DATE (optional), using the DOT language. If you have graphviz installed, it can be viewed quite simply using: ledger pricemap | dotty - Each relationship in the graph shows the conversion factor to exchange one commodity for another, and the date at which this factor was determined.
* 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
|