Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed interaction with -V/X and grouped postings | John Wiegley | 2010-06-09 | 6 | -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 Wiegley | 2010-06-08 | 1 | -10/+0 | |
| | | | | This reverts commit ae8ab8106218167036ef386159450b56c328f1b9. | |||||
* | A further simplification of -V and -X | John Wiegley | 2010-06-07 | 12 | -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 price | John Wiegley | 2010-06-07 | 1 | -0/+10 | |
| | ||||||
* | Fixed the way prices and costs are print'd | John Wiegley | 2010-06-07 | 5 | -28/+28 | |
| | ||||||
* | amount_t::print and value_t::print now use flags | John Wiegley | 2010-06-07 | 8 | -44/+52 | |
| | ||||||
* | Minor optimization of how non --empty is handled | John Wiegley | 2010-06-07 | 6 | -39/+65 | |
| | ||||||
* | Reworked the way that <Rounding> entries are shown | John Wiegley | 2010-06-06 | 6 | -129/+202 | |
| | | | | Fixes #188 / 53BCED29-F3B9-4E02-9A35-6C739ABB9662 | |||||
* | Corrected implementation of --percent | John Wiegley | 2010-06-06 | 1 | -1/+1 | |
| | ||||||
* | Made lookup of an account's "cost" a calc error | John Wiegley | 2010-06-06 | 1 | -0/+6 | |
| | ||||||
* | Simplified some debug code | John Wiegley | 2010-06-06 | 1 | -4/+2 | |
| | ||||||
* | Corrected a typename visibility issue | John Wiegley | 2010-06-06 | 1 | -0/+2 | |
| | ||||||
* | Enabled timers and logging in NDEBUG builds | John Wiegley | 2010-06-05 | 1 | -3/+3 | |
| | ||||||
* | Made "expr" command a synonym for "parse" | John Wiegley | 2010-06-05 | 1 | -0/+2 | |
| | ||||||
* | Value expression sequences are now comparable | John Wiegley | 2010-06-05 | 3 | -10/+32 | |
| | | | | Fixes #228 / ED9388D7-E523-40EB-841B-9AE9BAA70329 | |||||
* | Make --anon work with the print command | John Wiegley | 2010-06-05 | 3 | -5/+8 | |
| | | | | Fixes #226 / C1C1E731-D991-40ED-BE43-8ED55585386C | |||||
* | Corrected a verification test | John Wiegley | 2010-06-05 | 1 | -1/+3 | |
| | ||||||
* | Allow opt -NDEBUG build to complete without warnings | John Wiegley | 2010-06-04 | 11 | -4/+40 | |
| | ||||||
* | commodity_t::find_price now uses memoization | John Wiegley | 2010-06-04 | 2 | -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 tokens | John Wiegley | 2010-06-04 | 1 | -3/+1 | |
| | ||||||
* | More debug code cleanup | John Wiegley | 2010-06-04 | 1 | -25/+25 | |
| | ||||||
* | Made the behavior of -V a bit more rational | John Wiegley | 2010-06-04 | 2 | -1/+6 | |
| | | | | It now only values non-primary commodities in terms of primary ones. | |||||
* | Reorganized some debug code | John Wiegley | 2010-06-04 | 1 | -17/+20 | |
| | ||||||
* | Added new command: "pricemap [DATE]" | John Wiegley | 2010-06-04 | 4 | -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 cleanup | John Wiegley | 2010-06-04 | 4 | -13/+22 | |
| | ||||||
* | Simplified some debug code | John Wiegley | 2010-06-03 | 1 | -33/+16 | |
| | ||||||
* | Removed a redundant check | John Wiegley | 2010-06-03 | 1 | -2/+1 | |
| | ||||||
* | Short-circuit annotated commodity valuation | John Wiegley | 2010-06-03 | 1 | -1/+3 | |
| | ||||||
* | Corrected a debug statement | John Wiegley | 2010-06-03 | 1 | -2/+5 | |
| | ||||||
* | Avoid unnecessary object copying when using foreach | John Wiegley | 2010-06-03 | 4 | -7/+7 | |
| | ||||||
* | Minor optimization of amount_t::operator* | John Wiegley | 2010-06-03 | 2 | -11/+22 | |
| | ||||||
* | Added new "addr" value expression function | John Wiegley | 2010-06-03 | 2 | -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, optimization | John Wiegley | 2010-06-03 | 1 | -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 code | John Wiegley | 2010-06-03 | 1 | -4/+0 | |
| | ||||||
* | Correct display of amounts with keep_precision | John Wiegley | 2010-06-02 | 1 | -13/+39 | |
| | | | | Fixes #167 / 1D275740-D1A6-42B7-BDE4-F2F85E30CE8E | |||||
* | Don't gen posting with same cost, amount commodity | John Wiegley | 2010-06-02 | 2 | -10/+14 | |
| | ||||||
* | Don't use --pager or --color with --output | John Wiegley | 2010-06-02 | 1 | -0/+7 | |
| | ||||||
* | Throw an exception if mpfr_asprintf fails | John Wiegley | 2010-06-02 | 1 | -1/+4 | |
| | ||||||
* | Wrap a default account name with _() | John Wiegley | 2010-06-02 | 1 | -1/+1 | |
| | ||||||
* | Inlined the print_xacts constructor | John Wiegley | 2010-06-02 | 2 | -8/+4 | |
| | ||||||
* | Moved a misplaced parenthesis | John Wiegley | 2010-06-02 | 1 | -1/+1 | |
| | ||||||
* | Two members of journal_t weren't being serialized | John Wiegley | 2010-06-02 | 1 | -1/+3 | |
| | ||||||
* | Changed two uses of delete to checked_delete() | John Wiegley | 2010-06-02 | 1 | -2/+2 | |
| | ||||||
* | Fixed two memory reference errors | John Wiegley | 2010-06-02 | 2 | -15/+9 | |
| | ||||||
* | Further improved parsing of query expressions | John Wiegley | 2010-06-01 | 3 | -30/+41 | |
| | | | | Fixes #210 / D4C2DD6F-8967-4FFC-BBBC-A941F9C53475 | |||||
* | Changed --european option to --decimal-comma | John Wiegley | 2010-06-01 | 6 | -56/+55 | |
| | | | | Fixes #211 / 1736ACA5-5DE6-4826-AEB4-DB5B2A2217AC | |||||
* | Minor optimization | John Wiegley | 2010-06-01 | 1 | -7/+4 | |
| | ||||||
* | Improve parsing of 'expr' query terms | John Wiegley | 2010-06-01 | 1 | -6/+9 | |
| | | | | Fixes #157 / 9DF85DF2-4BF5-4931-A30C-2592A10BB5C0 | |||||
* | Changed a comment | John Wiegley | 2010-06-01 | 1 | -1/+1 | |
| | ||||||
* | Minor optimization | John Wiegley | 2010-05-31 | 1 | -1/+2 | |
| |