summaryrefslogtreecommitdiff
path: root/src/xact.cc
Commit message (Collapse)AuthorAgeFilesLines
* If a transaction's total is null, return 0 insteadJohn Wiegley2009-02-191-1/+1
|
* Added a "commodity" valexpr variable for xactsJohn Wiegley2009-02-161-0/+6
|
* Fixed a possible problem with xact_t::date()John Wiegley2009-02-161-1/+1
|
* Provide a "depth" variable for xactsJohn Wiegley2009-02-151-0/+9
|
* Removed "total_cost" valexpr, and value_t::costJohn Wiegley2009-02-151-13/+4
| | | | | Since cost reports are now calculated by setting the amount_ expression, there is no need to track a separate "total cost" entity.
* Corrected double problem in period reportsJohn Wiegley2009-02-151-6/+2
| | | | | xact_t::add_to_value, in cases where the xact had a "compound" total, was adding transaction values to the running total twice.
* Added xact_t::count memberJohn Wiegley2009-02-151-0/+7
| | | | | | This allows reports to access the "whicheth" index of the reported transaction. It's used mainly by the --average report, which divides the running total by this count to get the arithmetic mean.
* xact metadata searches get passed up to the entryJohn Wiegley2009-02-141-0/+38
| | | | | | That is, if a metadata tag cannot be found in a transaction, look in the parent entry to see if it was set there. Transactions "inherit" notational details from their entries.
* Restored the --actual and --real optionsJohn Wiegley2009-02-141-0/+24
|
* Don't print an xact's amount if it was calculatedJohn Wiegley2009-02-131-0/+6
| | | | | That is, if the user didn't enter an amount for that transaction in their ledger journal, don't print one out either.
* Re-enabled some code, and removed a bunch of deadwood.John Wiegley2009-02-121-15/+0
|
* Rewrote the "entry" command. It's ALIVE!John Wiegley2009-02-111-1/+1
|
* Fix to handling of effective dates in xact_t::date().John Wiegley2009-02-091-3/+9
|
* Use the report's amount_expr everywhere that computes an xact's amount.John Wiegley2009-02-091-6/+6
|
* Several fixes to get the state flags to appear right in "print".John Wiegley2009-02-071-0/+9
|
* Added two comments, to remind myself to check something.John Wiegley2009-02-061-0/+1
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-6/+7
|
* Simplified error context handling.John Wiegley2009-02-021-15/+0
|
* Added support for metadata and tagging, and made regexs a first-class type.John Wiegley2009-02-011-7/+9
|
* Stopped using the generic "unsigned int" in favor of more specific types.John Wiegley2009-01-291-1/+1
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* 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
|
* Factored common parts of entry_t and xact_t into new item_tJohn Wiegley2008-09-191-127/+26
|
* Added the 'note' value expression identifier.John Wiegley2008-09-171-1/+6
|
* Restored --cleared, --pending, --uncleared, -X and -Y.John Wiegley2008-09-161-2/+33
|
* Added 'code' value expression function for xacts and entries.John Wiegley2008-09-141-0/+9
|
* get_amount should return the xdata value if the EXT_COMPOUND flag is on.John Wiegley2008-08-141-1/+6
|
* Basic balance reports are working again!John Wiegley2008-08-101-1/+1
|
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+278
is in doc/, etc.