summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | When Python support is present, use a session_t object which is derived fromJohn Wiegley2009-01-234-29/+95
| | | | | | | | | | | | | | | | | | | | | | | | python_interpreter_t, so that Python can provide value expression definitions.
* | | | | | Added more debug code.John Wiegley2009-01-231-1/+12
| | | | | |
* | | | | | Removed extraneous parentheses.John Wiegley2009-01-231-2/+1
| | | | | |
* | | | | | Added some debug code.John Wiegley2009-01-231-7/+9
| | | | | |
* | | | | | ptr_op_t::copy(), in the TERMINALS case, wasn't copying enough.John Wiegley2009-01-231-1/+4
| | | | | |
* | | | | | Added a pair of missing calls to in.peek().John Wiegley2009-01-231-0/+2
| | | | | |
* | | | | | Removed some extraneous code.John Wiegley2009-01-221-6/+4
| | | | | |
* | | | | | Moved the occurance of "Error:" when reporting context.John Wiegley2009-01-222-4/+4
| | | | | |
* | | | | | Made the output from parse/compile commands more consistent.John Wiegley2009-01-221-4/+2
| | | | | |
* | | | | | Correctly report the line context when there is a valexpr parsing error.John Wiegley2009-01-224-40/+78
| | | | | |
* | | | | | When parsing commodities, if there is no symbol or annotations, reset theJohn Wiegley2009-01-221-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | stream pointer in order to give more accurate error reporting.
* | | | | | Errors while calculating value expressions now display meaningful errorJohn Wiegley2009-01-223-61/+131
| | | | | | | | | | | | | | | | | | | | | | | | context.
* | | | | | Allow function calls without arguments in the parser.John Wiegley2009-01-221-14/+3
| | | | | |
* | | | | | Corrected a parse-time optimization of "! CONSTANT".John Wiegley2009-01-223-1/+31
| | | | | |
* | | | | | Whitespace changes.John Wiegley2009-01-221-3/+5
| | | | | |
* | | | | | Added output insertion operator for mask_t objects.John Wiegley2009-01-221-0/+5
| | | | | |
* | | | | | Changed some debug strings when parsing/compiling valexprs.John Wiegley2009-01-221-14/+12
| | | | | |
* | | | | | Whitespace changes.John Wiegley2009-01-221-7/+3
| | | | | |
* | | | | | Accept &&/and for &, ||/or for |, and not for !. Also improved errorJohn Wiegley2009-01-222-45/+116
| | | | | | | | | | | | | | | | | | | | | | | | reporting in the tokenizer.
* | | | | | Redid the way command-line arguments are processed. Before, Ledger used - andJohn Wiegley2009-01-226-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 Wiegley2009-01-224-13/+9
| | | | | |
* | | | | | Removed an extra call to session.read_init().John Wiegley2009-01-221-2/+0
| | | | | |
* | | | | | Changed the order in which options are processed, to provide for the correctJohn Wiegley2009-01-213-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 Wiegley2009-01-213-1/+17
| | | | | |
* | | | | | Added a note about --anon to the NEWS file.John Wiegley2009-01-201-0/+6
| | | | | |
* | | | | | Added missing zeroes in the sha1 to text generation.John Wiegley2009-01-201-2/+4
| | | | | |
* | | | | | xact_t pointer list when copy constructing an entry, which leads to crashesJohn Wiegley2009-01-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | during deconstruction (due to double-free'ing transactions).
* | | | | | Added support for "anonymizing" any report with --anon.John Wiegley2009-01-208-3/+789
| | | | | |
* | | | | | Increased copyright range to include 2009.John Wiegley2009-01-20101-103/+103
| | | | | |
* | | | | | In the Ledger sample data, mark $ as NOMARKET.John Wiegley2009-01-191-0/+2
| | | | | |
* | | | | | Added a function for account_t to get the account's total cost.John Wiegley2009-01-191-0/+7
| | | | | |
* | | | | | Fixed the market valuation function for balances.John Wiegley2009-01-192-8/+11
| | | | | |
* | | | | | Don't calculate a reflexive price if a commodity has been marked as NOMARKET.John Wiegley2009-01-191-4/+3
| | | | | |
* | | | | | Got changed_value_xacts working again.John Wiegley2009-01-192-20/+9
| | | | | |
* | | | | | Make report_t a friend of format_t, so it can set the ANSI options.John Wiegley2009-01-191-0/+4
| | | | | |
* | | | | | Generate a better error if a function operand is invalid.John Wiegley2009-01-191-2/+1
| | | | | |
* | | | | | Allow var_t<datetime_t>.John Wiegley2009-01-191-0/+9
| | | | | |
* | | | | | When setting a scope's argument, convert the list to a sequence if it's notJohn Wiegley2009-01-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | already.
* | | | | | Added back several cost reporting options.John Wiegley2009-01-192-18/+53
| | | | | |
* | | | | | Pass in the total_expr directly to changed_value_xacts.John Wiegley2009-01-191-1/+2
| | | | | |
* | | | | | Added back the -V (market value) option.John Wiegley2009-01-192-0/+34
| | | | | |
* | | | | | Added the concept of a "display_total", used for showing the values in theJohn Wiegley2009-01-193-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, useJohn Wiegley2009-01-191-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | commodity_t::exchange.
* | | | | | Changed COMMODITY_STYLE_NOMARKET TO COMMODITY_NOMARKET.John Wiegley2009-01-196-10/+13
| | | | | |
* | | | | | Added methods for getting the cost of an xact.John Wiegley2009-01-191-2/+38
| | | | | |
* | | | | | Don't look for an xact's state in its entry if there isn't one.John Wiegley2009-01-191-4/+6
| | | | | |
* | | | | | Can now determine the market value of balance pairs, even if stored withinJohn Wiegley2009-01-195-9/+73
| | | | | | | | | | | | | | | | | | | | | | | | value_t objects.
* | | | | | Further extended commodities unit test.John Wiegley2009-01-191-1/+8
| | | | | |
* | | | | | Lookup commodity prices recursively, searching for the newest data.John Wiegley2009-01-192-28/+42
| | | | | |
* | | | | | Extended commodities unit test.John Wiegley2009-01-191-24/+29
| | | | | |