summaryrefslogtreecommitdiff
path: root/src/commodity.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Many improvements to Ledger's Python bindingsJohn Wiegley2009-11-191-1/+1
|
* XML reporting now works via the "xml" commandJohn Wiegley2009-11-091-1/+7
|
* Added basic foundation for XML reportingJohn Wiegley2009-11-091-0/+2
|
* Removed a bunch of empty commentsJohn Wiegley2009-11-081-15/+0
|
* Whitespace fixJohn Wiegley2009-11-041-5/+5
|
* Fixed a compiler warningJohn Wiegley2009-11-031-3/+4
|
* Added Python interface for commodity_tJohn Wiegley2009-11-021-8/+8
|
* Added Python interface for commodity_pool_tJohn Wiegley2009-11-021-2/+2
|
* Changed protection level of many parts of commodity_tJohn Wiegley2009-11-021-85/+82
|
* Added a --european flag, to use commas for decimalsJohn Wiegley2009-11-021-1/+5
| | | | | | Ledger can often figure this out for itself, but this flag just makes it the default behavior. It is meant to be added to one's ~/.ledgerrc file.
* Added missing TRACE_CTOR callsJohn Wiegley2009-11-011-3/+7
|
* Added serialization methods for most typeJohn Wiegley2009-10-301-1/+82
| | | | | This allows journal_t objects to be completed serialized to disk and deserialized.
* More refactoring for --downloadJohn Wiegley2009-06-241-0/+5
|
* Split commodity.h/cc into three filesJohn Wiegley2009-06-241-239/+0
| | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management
* Restored --download, although not done yetJohn Wiegley2009-06-241-1/+9
| | | | | | The problem at this point is that it's recording prices in the price database multiple times; it should only need to download a price for each commodity once per day.
* The -X option now accepts price settingsJohn Wiegley2009-06-181-1/+3
| | | | | | | For example, if you had 100 AU (onces of gold) and wanted to report it in dollars, but at a price of $997 per ounce, you could now easily say: ledger bal -X '$,AU=$997'
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-2/+0
|
* Added "fixated commodity pricing"John Wiegley2009-03-021-2/+3
| | | | | | | | | | | | | If you put '=' before an annotated commodity's price, it will cause any future market valuation of that commodity to use that price, and ignore whatever changes may have happened since in the market price. This can be useful if you are tracking gas expenses based on a standard rate which, although it changes over time, should not adjust the historical valuation of how much the gas cost at the time it was purchased: 2009/01/01 Payee Expenses:Gas 100 GAL {=$2} Liabilities:MasterCard $-200
* Added --lots-actual, to not print calc'd detailsJohn Wiegley2009-02-271-14/+23
|
* Fixes to the way annotated prices are displayedJohn Wiegley2009-02-241-12/+5
|
* Removed unused member keep_details_t::keep_baseJohn Wiegley2009-02-231-7/+4
|
* --exchange option now accepts multiple commoditiesJohn Wiegley2009-02-221-29/+0
| | | | They must be separated by a comma, and all whitespace is ignored.
* Added --exchange (-x) optionJohn Wiegley2009-02-221-17/+18
| | | | | | | This is like -V, except it lets you specify the goal commodity to report in terms of, for example: reg -x CAD
* Added a --strict session optionJohn Wiegley2009-02-191-0/+1
| | | | | | | When enabled, if any accounts or commodities are seen in an uncleared transaction, which were not seen previously in a cleared or pending transaction or a textual directive dealing with accounts or commodities, a warning is generated about the unknown item.
* Fixed several unused value and param warningsJohn Wiegley2009-02-161-5/+3
|
* Restored the "prices" command.John Wiegley2009-02-121-1/+0
|
* Fixed a mistakenly const parameter.John Wiegley2009-02-071-1/+1
|
* Moved parse_commodity_price into commodity_pool_t.John Wiegley2009-02-071-0/+2
|
* Fixed some #include ordering issues.John Wiegley2009-02-071-0/+2
|
* Removed commodity_pool_t's use of boost::multi_index_container, and also itsJohn Wiegley2009-02-071-52/+12
| | | | used of the ident membe, which was only ever used by the binary cache code.
* Whitespace fix.John Wiegley2009-02-061-3/+3
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-6/+60
|
* Removed the binary caching code, and the XML, QIF and Gnucash parsers.John Wiegley2009-02-031-7/+0
|
* Added documentation stubs for all include files and classes.John Wiegley2009-01-311-0/+30
|
* Update Doxygen documentation. Still much more work to be done.John Wiegley2009-01-291-4/+3
|
* amount_t and commodity_t objects can now stream themselves to XML.John Wiegley2009-01-281-0/+3
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Changed COMMODITY_STYLE_NOMARKET TO COMMODITY_NOMARKET.John Wiegley2009-01-191-1/+1
|
* Lookup commodity prices recursively, searching for the newest data.John Wiegley2009-01-191-14/+23
|
* Changed COMMODITY_STYLE_BUILTIN to COMMODITY_BUILTIN, and added new flagJohn Wiegley2009-01-191-7/+8
| | | | COMMODITY_WALKED, for avoiding infinite recursions during price lookups.
* Added a recursive, date-based commodity price searching capability. ThisJohn Wiegley2009-01-191-27/+67
| | | | | | makes it possible to find all possible prices for a commodity by walking the map of pricing relationships to all other commodities, even if the relation is distant.
* Added code to recursively search for a price in a given commodity.John Wiegley2008-09-251-16/+16
|
* Did more restructing of commodity price histories, although the completedJohn Wiegley2008-09-211-19/+66
| | | | find_price does not work yet.
* Created several alternate 'value' methods to support the upcoming commodityJohn Wiegley2008-09-211-10/+23
| | | | valuation changes.
* Began initial work to support specifying a series of commodities to -V.John Wiegley2008-09-201-20/+40
|
* Cleaned up the way that commodity pricing is handled.John Wiegley2008-09-201-9/+17
|
* Updated the Doxygen docs so that all the core numerics files are in the sameJohn Wiegley2008-08-051-0/+6
| | | | module group.
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+420
is in doc/, etc.