summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Changed some of the transaction flags, since all must fit in 8 bits.John Wiegley2008-09-192-14/+8
|
* Renamed a variable to be more consistent.John Wiegley2008-09-191-19/+19
|
* Changed debug class ledger.textual.parse to just textual.parse.John Wiegley2008-09-191-21/+21
|
* Removed unneeded NULL argument.John Wiegley2008-09-191-1/+1
|
* Renamed XACT_BALANCE flag to XACT_MUST_BALANCE.John Wiegley2008-09-193-8/+8
|
* Modified a debug class code.John Wiegley2008-09-191-9/+10
|
* When automatically associating lot details with a commodity, use only theJohn Wiegley2008-09-193-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_tJohn Wiegley2008-09-1923-418/+442
|
* Corrected a harmless warning.John Wiegley2008-09-191-0/+2
|
* Changed a plain equality into a strcmp.John Wiegley2008-09-181-1/+6
|
* Don't try to parse a display predicate if none has been set.John Wiegley2008-09-181-1/+1
|
* Move handling of all commands to the value expression subsystem, rather thanJohn Wiegley2008-09-182-195/+189
| | | | handling them explicitly in main.cc.
* If a value expression lookup on an account object fails, defer to the currentJohn Wiegley2008-09-181-1/+3
| | | | session object. Transactions and entries already do this.
* Don't use single code format characters anymore. Access to object detailsJohn Wiegley2008-09-184-28/+11
| | | | will now always be done with "%(identifier)".
* Restored the 'print' command.John Wiegley2008-09-174-3/+17
|
* Added the 'note' value expression identifier.John Wiegley2008-09-171-1/+6
|
* Restored --cleared, --pending, --uncleared, -X and -Y.John Wiegley2008-09-165-22/+112
|
* Corrected several assertions which could occur when using unary operators andJohn Wiegley2008-09-161-10/+12
| | | | unresolved identifiers.
* Fixes to the way that EXPR_PARSE_SINGLE behaves.John Wiegley2008-09-152-22/+28
|
* Fixed the way that nested caught exceptions are rethrown, and how valueJohn Wiegley2008-09-158-19/+25
| | | | expressions are displayed when errors are found in them.
* If an entry is being parsed but yields all null-amount transactions,John Wiegley2008-09-141-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 readJohn Wiegley2008-09-143-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 Wiegley2008-09-144-12/+31
|
* format_t now handles escaped characters in input strings.John Wiegley2008-09-141-0/+2
|
* The ledger::string type now uses size_type for a length parameter instead ofJohn Wiegley2008-09-142-3/+3
| | | | "const int", which is not portable.
* Added 'code' value expression function for xacts and entries.John Wiegley2008-09-142-0/+21
|
* Transactional assignments (i.e., confirmed balances) are working now.John Wiegley2008-09-144-51/+67
|
* Added in_place_round method to all Ledger numerical types.John Wiegley2008-09-145-19/+64
|
* Output balances when converting to strings, as this is needed by debuggingJohn Wiegley2008-08-291-1/+1
| | | | code sometimes.
* Removed todo comments and dead code.John Wiegley2008-08-172-61/+0
|
* Re-enabled the disabled expand_path routine.John Wiegley2008-08-171-11/+6
|
* Removed more dead code.John Wiegley2008-08-171-44/+0
|
* Fixed an assertion.John Wiegley2008-08-171-5/+5
|
* Removed more dead code and todo comments, and made it possible to streamJohn Wiegley2008-08-175-20/+21
| | | | compiled value expressions.
* Removed more "pending" type comments.John Wiegley2008-08-174-13/+5
|
* Removed dead code.John Wiegley2008-08-171-9/+0
|
* Removed all pending todos from the amount_t code.John Wiegley2008-08-173-59/+52
|
* Removed some dead code and updated the binary streaming code for op_t andJohn Wiegley2008-08-176-689/+84
| | | | value_t.
* Added a session_t::clean_all method, for clearing all xdata within a session.John Wiegley2008-08-161-0/+5
|
* Added a forward declaration for session_t.John Wiegley2008-08-151-0/+1
|
* If a comparison between amounts fails, fall back and try to compareJohn Wiegley2008-08-141-1/+6
| | | | commodities instead.
* Added back a lot of hacktastic logic from 2.6.1 that made the "bal" commandJohn Wiegley2008-08-144-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 howJohn Wiegley2008-08-142-5/+6
| | | | it differs from interval_t::first.
* Added the "depth" value expression function for accounts.John Wiegley2008-08-141-0/+9
|
* Re-enabled many more options, among them -n.John Wiegley2008-08-142-18/+70
|
* Restored the -p, -b and -e reporting options.John Wiegley2008-08-142-75/+162
|
* Changed output_date_format to match 08-Aug-14 format.John Wiegley2008-08-141-1/+1
|
* get_amount should return the xdata value if the EXT_COMPOUND flag is on.John Wiegley2008-08-141-1/+6
|
* If a transaction's entry has no journal pointer (and this can happen withJohn Wiegley2008-08-141-1/+7
| | | | | temporaries), reference session_t::current to get at the current report pointer.
* Allow value_t::reduce() on any data type.John Wiegley2008-08-141-4/+2
|