Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added back several cost reporting options. | John Wiegley | 2009-01-19 | 2 | -18/+53 | |
| | ||||||
* | Pass in the total_expr directly to changed_value_xacts. | John Wiegley | 2009-01-19 | 1 | -1/+2 | |
| | ||||||
* | Added back the -V (market value) option. | John Wiegley | 2009-01-19 | 2 | -0/+34 | |
| | ||||||
* | Added the concept of a "display_total", used for showing the values in the | John Wiegley | 2009-01-19 | 3 | -3/+16 | |
| | | | | | totals column of both the register and balance reports. This is different from the internal calculated total, which is still "total_expr". | |||||
* | Instead of doing price annotations in the textual parser, use | John Wiegley | 2009-01-19 | 1 | -3/+2 | |
| | | | | commodity_t::exchange. | |||||
* | Changed COMMODITY_STYLE_NOMARKET TO COMMODITY_NOMARKET. | John Wiegley | 2009-01-19 | 5 | -9/+12 | |
| | ||||||
* | Added methods for getting the cost of an xact. | John Wiegley | 2009-01-19 | 1 | -2/+38 | |
| | ||||||
* | Don't look for an xact's state in its entry if there isn't one. | John Wiegley | 2009-01-19 | 1 | -4/+6 | |
| | ||||||
* | Can now determine the market value of balance pairs, even if stored within | John Wiegley | 2009-01-19 | 4 | -9/+72 | |
| | | | | value_t objects. | |||||
* | Lookup commodity prices recursively, searching for the newest data. | John Wiegley | 2009-01-19 | 2 | -28/+42 | |
| | ||||||
* | Changed COMMODITY_STYLE_BUILTIN to COMMODITY_BUILTIN, and added new flag | John Wiegley | 2009-01-19 | 2 | -8/+9 | |
| | | | | COMMODITY_WALKED, for avoiding infinite recursions during price lookups. | |||||
* | Added a recursive, date-based commodity price searching capability. This | John Wiegley | 2009-01-19 | 2 | -109/+254 | |
| | | | | | | 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 argument to amount_t::value() for request a market value in terms of a | John Wiegley | 2009-01-19 | 2 | -8/+11 | |
| | | | | specific commodity. | |||||
* | Create an unrounded global amount variable 'one' for creating inverse price | John Wiegley | 2009-01-19 | 2 | -3/+11 | |
| | | | | mappings. | |||||
* | Allow the environment variable LEDGER_DEBUG to enable debugging. | John Wiegley | 2009-01-19 | 1 | -0/+10 | |
| | ||||||
* | Output newlines between entries using format strings, not hard-coded. | John Wiegley | 2009-01-14 | 2 | -3/+1 | |
| | ||||||
* | Whitespace fix. | John Wiegley | 2009-01-14 | 1 | -4/+4 | |
| | ||||||
* | The cleared or pending flag of a transaction overrides the flag for the entire | John Wiegley | 2009-01-14 | 2 | -2/+7 | |
| | | | | entry only if it is "more" cleared. | |||||
* | Added a missing call to _dup() in amount_t::in_place_round. Thanks to unit | John Wiegley | 2008-11-23 | 1 | -0/+1 | |
| | | | | testing! | |||||
* | Change default precision extension back to 6, rather than rewriting all of the | John Wiegley | 2008-11-23 | 1 | -1/+1 | |
| | | | | unit tests. 6 was good enough. | |||||
* | Needed to port skanthak's last commit to the master branch's code base. | John Wiegley | 2008-11-23 | 1 | -2/+7 | |
| | ||||||
* | Abstracted precision extension constant, and added a note that precision must | John Wiegley | 2008-11-23 | 2 | -8/+23 | |
| | | | | | be handled differently, since paying attention to places after the decimal is not enough. | |||||
* | Fix --reconcile by terminating transaction list correctly | Sebastian Kanthak | 2008-11-23 | 1 | -2/+4 | |
| | | | | when a match is found. | |||||
* | Corrected the way that scopes are found so that xact_t can also be found as an | John Wiegley | 2008-10-29 | 1 | -32/+16 | |
| | | | | item_t (which it also is). | |||||
* | Added code to recursively search for a price in a given commodity. | John Wiegley | 2008-09-25 | 2 | -27/+111 | |
| | ||||||
* | Did more restructing of commodity price histories, although the completed | John Wiegley | 2008-09-21 | 3 | -86/+153 | |
| | | | | find_price does not work yet. | |||||
* | Created several alternate 'value' methods to support the upcoming commodity | John Wiegley | 2008-09-21 | 3 | -51/+90 | |
| | | | | valuation changes. | |||||
* | Began initial work to support specifying a series of commodities to -V. | John Wiegley | 2008-09-20 | 3 | -57/+107 | |
| | ||||||
* | Commented out some dead code. | John Wiegley | 2008-09-20 | 1 | -0/+2 | |
| | ||||||
* | Cleaned up the way that commodity pricing is handled. | John Wiegley | 2008-09-20 | 5 | -153/+64 | |
| | ||||||
* | Changed some of the transaction flags, since all must fit in 8 bits. | John Wiegley | 2008-09-19 | 2 | -14/+8 | |
| | ||||||
* | Renamed a variable to be more consistent. | John Wiegley | 2008-09-19 | 1 | -19/+19 | |
| | ||||||
* | Changed debug class ledger.textual.parse to just textual.parse. | John Wiegley | 2008-09-19 | 1 | -21/+21 | |
| | ||||||
* | Removed unneeded NULL argument. | John Wiegley | 2008-09-19 | 1 | -1/+1 | |
| | ||||||
* | Renamed XACT_BALANCE flag to XACT_MUST_BALANCE. | John Wiegley | 2008-09-19 | 3 | -8/+8 | |
| | ||||||
* | Modified a debug class code. | John Wiegley | 2008-09-19 | 1 | -9/+10 | |
| | ||||||
* | When automatically associating lot details with a commodity, use only the | John Wiegley | 2008-09-19 | 3 | -13/+7 | |
| | | | | | | price (based on the cost of the transactions), don't automatically use the date and the entry code -- since most people aren't going to be that specific at the time of sale, it's causes confusion in certain cases. | |||||
* | Factored common parts of entry_t and xact_t into new item_t | John Wiegley | 2008-09-19 | 23 | -418/+442 | |
| | ||||||
* | Corrected a harmless warning. | John Wiegley | 2008-09-19 | 1 | -0/+2 | |
| | ||||||
* | Changed a plain equality into a strcmp. | John Wiegley | 2008-09-18 | 1 | -1/+6 | |
| | ||||||
* | Don't try to parse a display predicate if none has been set. | John Wiegley | 2008-09-18 | 1 | -1/+1 | |
| | ||||||
* | Move handling of all commands to the value expression subsystem, rather than | John Wiegley | 2008-09-18 | 2 | -195/+189 | |
| | | | | handling them explicitly in main.cc. | |||||
* | If a value expression lookup on an account object fails, defer to the current | John Wiegley | 2008-09-18 | 1 | -1/+3 | |
| | | | | session object. Transactions and entries already do this. | |||||
* | Don't use single code format characters anymore. Access to object details | John Wiegley | 2008-09-18 | 4 | -28/+11 | |
| | | | | will now always be done with "%(identifier)". | |||||
* | Restored the 'print' command. | John Wiegley | 2008-09-17 | 4 | -3/+17 | |
| | ||||||
* | Added the 'note' value expression identifier. | John Wiegley | 2008-09-17 | 1 | -1/+6 | |
| | ||||||
* | Restored --cleared, --pending, --uncleared, -X and -Y. | John Wiegley | 2008-09-16 | 5 | -22/+112 | |
| | ||||||
* | Corrected several assertions which could occur when using unary operators and | John Wiegley | 2008-09-16 | 1 | -10/+12 | |
| | | | | unresolved identifiers. | |||||
* | Fixes to the way that EXPR_PARSE_SINGLE behaves. | John Wiegley | 2008-09-15 | 2 | -22/+28 | |
| | ||||||
* | Fixed the way that nested caught exceptions are rethrown, and how value | John Wiegley | 2008-09-15 | 8 | -19/+25 | |
| | | | | expressions are displayed when errors are found in them. |