summaryrefslogtreecommitdiff
path: root/src/pool.cc
Commit message (Collapse)AuthorAgeFilesLines
* Avoid ctype abuse.Taylor R Campbell2024-08-061-2/+4
| | | | | fix https://github.com/ledger/ledger/issues/2338 fix https://github.com/ledger/ledger/issues/2340
* Change a use of is_realzero to just is_zeroJohn Wiegley2023-03-231-1/+1
| | | | This is needed to avoid a possible divide by zero.
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* Strip annotation before adding exchange valueIsmaƫl Bouya2017-10-301-0/+3
|
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
* Use the POST_COST_VIRTUAL flag when exchange commoditiesJohn Wiegley2014-05-081-1/+2
| | | | Fixes #999
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Fixed parsing of the "fixed" directiveJohn Wiegley2013-05-191-3/+4
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-5/+5
|
* Always call TRACE_CTOR at the end of constructorsJohn Wiegley2012-03-201-1/+1
|
* Fix problem with -H and lack of pricing infoJohn Wiegley2012-03-181-22/+15
| | | | Fixes #691
* 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