summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Untabified all source filesJohn Wiegley2010-06-11110-5397/+5397
|
* Scrub account totals before applying --percentJohn Wiegley2010-06-111-1/+2
|
* Several corrections to transaction finalizationJohn Wiegley2010-06-101-5/+13
|
* Use ptr_deque for value_t::sequence_tJohn Wiegley2010-06-104-7/+12
| | | | | | | | | This is to work around undefined behavior according to the Standard, [lib.res.on.functions]/2: "In particular, the effects are undefined in the following cases: [..] - if an incomplete type (3.9) is used as a template argument when instantiating a template component."
* gain/loss posting based on a virtual should also beJohn Wiegley2010-06-101-1/+6
|
* Fixed the "generate" commandJohn Wiegley2010-06-104-17/+11
|
* Allow fixated costs, as well as pricesJohn Wiegley2010-06-103-6/+24
| | | | | | | | | You can now establish a fixated price automatically by way of a fixated cost. The syntax for this is: 2009/11/01 Sample Assets 1 apple @ =$0.10 Equity
* Increase item_t's flags to 16-bitJohn Wiegley2010-06-101-4/+4
|
* Corrected behavior of "draft" argument parserJohn Wiegley2010-06-101-37/+36
|
* Corrected some math used by the budget commandJohn Wiegley2010-06-101-5/+5
|
* Fix to budgeting when fixed dates are involvedJohn Wiegley2010-06-101-2/+1
|
* Errors involving value objects provide more contextJohn Wiegley2010-06-102-9/+45
|
* Corrections to the way error strings are generatedJohn Wiegley2010-06-106-6/+13
|
* The --anon option now anonymizes commoditiesJohn Wiegley2010-06-093-11/+69
| | | | Fixes #227 / 1C90D8AF-830E-43C2-A5B7-D382F68EBDE3
* New display flag AMOUNT_PRINT_ELIDE_COMMODITY_QUOTESJohn Wiegley2010-06-095-7/+16
| | | | | | | | This is used by reports like register and balance so that separated commodities without spaces in them needed be surrounded by quotes. It will still occur in most other places. Fixes #200 / F82CF11F-BFD9-4512-A562-202B04B68051
* In value_t::print, pass along display flagsJohn Wiegley2010-06-091-1/+1
|
* Fixed minor rounding issue with priced commoditiesJohn Wiegley2010-06-091-4/+6
|
* Insert <Rounding> posts within the affected xactJohn Wiegley2010-06-091-11/+7
|
* 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.