Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Allow function calls without arguments in the parser. | John Wiegley | 2009-01-22 | 1 | -14/+3 | |
| | ||||||
* | Corrected a parse-time optimization of "! CONSTANT". | John Wiegley | 2009-01-22 | 3 | -1/+31 | |
| | ||||||
* | Whitespace changes. | John Wiegley | 2009-01-22 | 1 | -3/+5 | |
| | ||||||
* | Added output insertion operator for mask_t objects. | John Wiegley | 2009-01-22 | 1 | -0/+5 | |
| | ||||||
* | Changed some debug strings when parsing/compiling valexprs. | John Wiegley | 2009-01-22 | 1 | -14/+12 | |
| | ||||||
* | Whitespace changes. | John Wiegley | 2009-01-22 | 1 | -7/+3 | |
| | ||||||
* | Accept &&/and for &, ||/or for |, and not for !. Also improved error | John Wiegley | 2009-01-22 | 2 | -45/+116 | |
| | | | | reporting in the tokenizer. | |||||
* | Redid the way command-line arguments are processed. Before, Ledger used - and | John Wiegley | 2009-01-22 | 6 | -115/+136 | |
| | | | | | | | | | | | | | | | -- to mean special things after the command verb was seen. But now, what used to be specified as this: ledger -n reg cash -payable -- shell Is now specified as this: ledger reg -n cash not payable @shell It could also be specified as: ledger -n reg \(cash and not payable\) and @shell | |||||
* | Parse != as !(==) and !~ as !(=~), for simplicity's sake. | John Wiegley | 2009-01-22 | 4 | -13/+9 | |
| | ||||||
* | Removed an extra call to session.read_init(). | John Wiegley | 2009-01-22 | 1 | -2/+0 | |
| | ||||||
* | Changed the order in which options are processed, to provide for the correct | John Wiegley | 2009-01-21 | 3 | -26/+52 | |
| | | | | | | | | | | | overrides. 1. Global defaults 2. Environment variable settings 3. Initialization file 4. Command-line arguments Whatever is later in the list overrides what is earlier. | |||||
* | Resolve outstanding stdin parsing issues by buffering the data. | John Wiegley | 2009-01-21 | 1 | -1/+17 | |
| | ||||||
* | Added missing zeroes in the sha1 to text generation. | John Wiegley | 2009-01-20 | 1 | -2/+4 | |
| | ||||||
* | xact_t pointer list when copy constructing an entry, which leads to crashes | John Wiegley | 2009-01-20 | 1 | -1/+4 | |
| | | | | during deconstruction (due to double-free'ing transactions). | |||||
* | Added support for "anonymizing" any report with --anon. | John Wiegley | 2009-01-20 | 4 | -2/+94 | |
| | ||||||
* | Increased copyright range to include 2009. | John Wiegley | 2009-01-20 | 87 | -89/+89 | |
| | ||||||
* | Added a function for account_t to get the account's total cost. | John Wiegley | 2009-01-19 | 1 | -0/+7 | |
| | ||||||
* | Fixed the market valuation function for balances. | John Wiegley | 2009-01-19 | 2 | -8/+11 | |
| | ||||||
* | Don't calculate a reflexive price if a commodity has been marked as NOMARKET. | John Wiegley | 2009-01-19 | 1 | -4/+3 | |
| | ||||||
* | Got changed_value_xacts working again. | John Wiegley | 2009-01-19 | 2 | -20/+9 | |
| | ||||||
* | Make report_t a friend of format_t, so it can set the ANSI options. | John Wiegley | 2009-01-19 | 1 | -0/+4 | |
| | ||||||
* | Generate a better error if a function operand is invalid. | John Wiegley | 2009-01-19 | 1 | -2/+1 | |
| | ||||||
* | Allow var_t<datetime_t>. | John Wiegley | 2009-01-19 | 1 | -0/+9 | |
| | ||||||
* | When setting a scope's argument, convert the list to a sequence if it's not | John Wiegley | 2009-01-19 | 1 | -2/+4 | |
| | | | | already. | |||||
* | 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. |