summaryrefslogtreecommitdiff
path: root/src/pool.cc
Commit message (Collapse)AuthorAgeFilesLines
* Don't add price exchanges for a commodity itselfJohn Wiegley2012-03-161-1/+3
| | | | Fixes #703
* Don't map_prices if price commodity matches sourceJohn Wiegley2012-03-151-0/+3
| | | | Fixes #680
* Simplified some code in commodity_pool_tJohn Wiegley2012-03-091-4/+2
|
* Added the notion of "virtual costs"John Wiegley2012-03-091-0/+1
|
* Added some missing DEBUG #if'sJohn Wiegley2012-03-071-0/+4
|
* Corrected several compile and link problemsJohn Wiegley2012-03-061-7/+11
|
* Rewrote the way annotated commodities are managedJohn Wiegley2012-03-051-82/+79
| | | | | The new scheme should be much more efficient, and allows for future growth of what annotations may appear on a commodity.
* Changes to get all the code to compileJohn Wiegley2012-03-051-9/+0
|
* Switched to using Boost.Graph for commodity pricingJohn Wiegley2012-03-051-75/+13
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Cleanup whitespaceJohn Wiegley2011-08-181-1/+1
|
* Fixes for compilation as C++0x codeJohn Wiegley2011-02-041-1/+1
|
* If fixated price commodities are mixed, show themJohn Wiegley2010-06-201-0/+12
| | | | | | | | | | | For example, if a Ledger file contains transactions with the use of both EUR and EUR {=PRICE}, then regular reports will always show the {=PRICE}, disabling the by-name commodity merging that takes place. In brief, fixated and non-fixated commodities are now non-mergable. If a file contains all of one, or all of the other, they will still be merged, since these separate usages do not conflict the way that fixated and non-fixated together do.
* Do not record market values for fixated exchangesJohn Wiegley2010-06-201-1/+7
| | | | | | Do not record commodity exchanges where amount's commodity has a fixated price, since this does not establish a market value for the base commodity.
* Untabified all source filesJohn Wiegley2010-06-111-72/+72
|
* The --anon option now anonymizes commoditiesJohn Wiegley2010-06-091-8/+8
| | | | Fixes #227 / 1C90D8AF-830E-43C2-A5B7-D382F68EBDE3
* Added new command: "pricemap [DATE]"John Wiegley2010-06-041-0/+72
| | | | | | | | | | | | 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.
* Corrected a debug statementJohn Wiegley2010-06-031-2/+5
|
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Cost of a post with neg. amount should be negativeJohn Wiegley2009-12-071-2/+2
|
* Added support for a "fixed" directiveJohn Wiegley2009-11-251-6/+10
| | | | | | | | | | | | | | | | | | | It lets you specify a fixed cost for a duration of a ledger file, for example: fixed ecu $2 2008/01/01 income assets:bank:checking 1 ecu income:salary end fixed This is equivalent to: 2008/01/01 income assets:bank:checking 1 ecu {=$2} income:salary
* Don't migrate commodity details from pricing entriesJohn Wiegley2009-11-241-1/+1
|
* Many improvements to Ledger's Python bindingsJohn Wiegley2009-11-191-2/+3
|
* Added Python interface for commodity_tJohn Wiegley2009-11-021-1/+1
|
* Moved make_qualified_name into commodity_pool_tJohn Wiegley2009-11-021-15/+13
|
* Date and time are optional for pricing directivesJohn Wiegley2009-06-281-2/+8
|
* The --download option is now fully restoredJohn Wiegley2009-06-261-1/+6
|
* More refactoring for --downloadJohn Wiegley2009-06-241-1/+1
|
* Moved a functionJohn Wiegley2009-06-241-96/+37
|
* Split commodity.h/cc into three filesJohn Wiegley2009-06-241-0/+409
commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management