summaryrefslogtreecommitdiff
path: root/src/post.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Added actual_date() methods for itemsJohn Wiegley2010-02-051-0/+1
|
* Removed post_t::xdata_t::ptr, which is not usedJohn Wiegley2009-11-141-4/+1
|
* Made ~post_t virtualJohn Wiegley2009-11-121-1/+1
|
* Automated postings defer amount expression calculationJohn Wiegley2009-11-111-0/+2
| | | | | | | | | | | | | | | | | This allows for value expressions to be used which reference the incoming posting, for example: = Income:Clients: (Liabilities:Taxes:VAT1) (floor(amount) * 1) (Liabilities:Taxes:VAT2) 0.19 2009/07/27 * Invoice Assets:Bank:Checking $1,190.45 Income:Clients:ACME_Inc The automated posting for VAT1 will use the floored amount multiplied by a factor, while the posting for VAT2 multiples the whole amount as before.
* XML reporting now works via the "xml" commandJohn Wiegley2009-11-091-0/+2
|
* Removed a bunch of empty commentsJohn Wiegley2009-11-081-9/+0
|
* Segregated symbols into 5 separate namespacesJohn Wiegley2009-11-041-1/+2
| | | | | | | | | | | | | | | | | | | | | The different namespaces are: Function Value expression functions, which receive a "context" Option Command-line options Precommand Commands which are invoked before reading the journal Command Commands which are invoked after reading the journal Directive Directives that occur at column 0 in a data file This greatly eases the ability for Python uses to add intercept hooks to change how the basic Ledger module functions. An example of what should be possible soon: import ledger def my_foo_handler(value): print "--foo received:", value ledger.add_handler(ledger.Option, "foo=", my_foo_handler)
* Whitespace fixJohn Wiegley2009-11-041-1/+1
|
* Added "reported posts" into account xdataJohn Wiegley2009-11-021-0/+2
| | | | | | | | | This is necessary because sometimes, a post from one account will get reported as though it were in another account (this happens with --budget, to show child account postings within their parent account). In that case, the account needs to remember which postings have been reported as being within it, so that it can add these amounts to its own total in the balance report.
* Added serialization methods for most typeJohn Wiegley2009-10-301-0/+17
| | | | | This allows journal_t objects to be completed serialized to disk and deserialized.
* Restored pricesdb command and --pricesdb-format optionJohn Wiegley2009-06-181-0/+1
|
* Renamed some flags and members in post_tJohn Wiegley2009-03-051-18/+23
|
* Changed "priced" to "cost_calculated" for clarityJohn Wiegley2009-02-271-4/+4
|
* Fixed the way item state is parsed and managedJohn Wiegley2009-02-271-2/+0
|
* The -B, -G, -V reports now show rounding amountsJohn Wiegley2009-02-261-1/+1
| | | | | | | | | This way, if the running total is off by a penny or two due to rounding of one or more commodities in the account, the user will see it. This commit also reorganizes the testing code a bit, which I did after adding the ninth test series (ConfirmTests), to validate the new rounding code.
* Improved the way that entries are balancedJohn Wiegley2009-02-241-0/+1
|
* Switched from using POST_AUTO to ITEM_GENERATEDJohn Wiegley2009-02-241-3/+2
|
* The Great Renaming, Part IIJohn Wiegley2009-02-231-0/+208
The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.