Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | If an entry is being parsed but yields all null-amount transactions, | John Wiegley | 2008-09-14 | 1 | -4/+10 |
| | | | | | | completely ignore the entry. This is useful for supporting "safety" entries whose only purpose is to assert the balance of account(s) at a certain point in time. | ||||
* | Added value expression parsing flag EXPR_PARSE_SINGLE, which means to read | John Wiegley | 2008-09-14 | 3 | -9/+11 |
| | | | | | | only a single expression and then quit immediately. Useful for parsing expressions that begin with a left parenthesis and are known to end at the right parenthesis. | ||||
* | Restored --format, --date-format (-y), and --input-date-format options. | John Wiegley | 2008-09-14 | 4 | -12/+31 |
| | |||||
* | format_t now handles escaped characters in input strings. | John Wiegley | 2008-09-14 | 1 | -0/+2 |
| | |||||
* | The ledger::string type now uses size_type for a length parameter instead of | John Wiegley | 2008-09-14 | 2 | -3/+3 |
| | | | | "const int", which is not portable. | ||||
* | Added 'code' value expression function for xacts and entries. | John Wiegley | 2008-09-14 | 2 | -0/+21 |
| | |||||
* | Transactional assignments (i.e., confirmed balances) are working now. | John Wiegley | 2008-09-14 | 4 | -51/+67 |
| | |||||
* | Added in_place_round method to all Ledger numerical types. | John Wiegley | 2008-09-14 | 5 | -19/+64 |
| | |||||
* | Output balances when converting to strings, as this is needed by debugging | John Wiegley | 2008-08-29 | 1 | -1/+1 |
| | | | | code sometimes. | ||||
* | Removed todo comments and dead code. | John Wiegley | 2008-08-17 | 2 | -61/+0 |
| | |||||
* | Re-enabled the disabled expand_path routine. | John Wiegley | 2008-08-17 | 1 | -11/+6 |
| | |||||
* | Removed more dead code. | John Wiegley | 2008-08-17 | 1 | -44/+0 |
| | |||||
* | Fixed an assertion. | John Wiegley | 2008-08-17 | 1 | -5/+5 |
| | |||||
* | Removed more dead code and todo comments, and made it possible to stream | John Wiegley | 2008-08-17 | 5 | -20/+21 |
| | | | | compiled value expressions. | ||||
* | Removed more "pending" type comments. | John Wiegley | 2008-08-17 | 4 | -13/+5 |
| | |||||
* | Removed dead code. | John Wiegley | 2008-08-17 | 1 | -9/+0 |
| | |||||
* | Removed all pending todos from the amount_t code. | John Wiegley | 2008-08-17 | 3 | -59/+52 |
| | |||||
* | Removed some dead code and updated the binary streaming code for op_t and | John Wiegley | 2008-08-17 | 6 | -689/+84 |
| | | | | value_t. | ||||
* | Added a session_t::clean_all method, for clearing all xdata within a session. | John Wiegley | 2008-08-16 | 1 | -0/+5 |
| | |||||
* | Added a forward declaration for session_t. | John Wiegley | 2008-08-15 | 1 | -0/+1 |
| | |||||
* | If a comparison between amounts fails, fall back and try to compare | John Wiegley | 2008-08-14 | 1 | -1/+6 |
| | | | | commodities instead. | ||||
* | Added back a lot of hacktastic logic from 2.6.1 that made the "bal" command | John Wiegley | 2008-08-14 | 4 | -110/+90 |
| | | | | | somewhat smart about how it interpreted certain options. Beware, code, for your days are not long-lived. | ||||
* | Changed interval_t::start to interval_t::set_start, to be more clear about how | John Wiegley | 2008-08-14 | 2 | -5/+6 |
| | | | | it differs from interval_t::first. | ||||
* | Added the "depth" value expression function for accounts. | John Wiegley | 2008-08-14 | 1 | -0/+9 |
| | |||||
* | Re-enabled many more options, among them -n. | John Wiegley | 2008-08-14 | 2 | -18/+70 |
| | |||||
* | Restored the -p, -b and -e reporting options. | John Wiegley | 2008-08-14 | 2 | -75/+162 |
| | |||||
* | Changed output_date_format to match 08-Aug-14 format. | John Wiegley | 2008-08-14 | 1 | -1/+1 |
| | |||||
* | get_amount should return the xdata value if the EXT_COMPOUND flag is on. | John Wiegley | 2008-08-14 | 1 | -1/+6 |
| | |||||
* | If a transaction's entry has no journal pointer (and this can happen with | John Wiegley | 2008-08-14 | 1 | -1/+7 |
| | | | | | temporaries), reference session_t::current to get at the current report pointer. | ||||
* | Allow value_t::reduce() on any data type. | John Wiegley | 2008-08-14 | 1 | -4/+2 |
| |