Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added the notion of "virtual costs" | John Wiegley | 2012-03-09 | 1 | -1/+1 |
| | |||||
* | Added some missing DEBUG #if's | John Wiegley | 2012-03-07 | 1 | -0/+2 |
| | |||||
* | Deferred notes were being processed too late | John Wiegley | 2012-03-07 | 1 | -8/+8 |
| | |||||
* | Added parsing support for the many value directives | John Wiegley | 2012-03-07 | 1 | -0/+2 |
| | |||||
* | Call register_account for posts created by auto xacts | John Wiegley | 2012-03-07 | 1 | -2/+3 |
| | |||||
* | Corrected several compile and link problems | John Wiegley | 2012-03-06 | 1 | -0/+2 |
| | |||||
* | Added (disabled) code to stop sorting generated balancing postings | John Wiegley | 2012-03-05 | 1 | -3/+25 |
| | |||||
* | Added some DEBUG statements | John Wiegley | 2012-03-05 | 1 | -0/+2 |
| | |||||
* | When deleting a post from an xact, remove it from its account | John Wiegley | 2012-03-05 | 1 | -0/+2 |
| | |||||
* | Refactored the notion of "the current parsing context" | John Wiegley | 2012-03-01 | 1 | -2/+4 |
| | |||||
* | Increased file copyrights to 2012 | John Wiegley | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | Renamed actual/effective dates to primary/auxiliary | John Wiegley | 2012-02-28 | 1 | -3/+3 |
| | |||||
* | Added a TODO comment | John Wiegley | 2012-02-27 | 1 | -0/+2 |
| | |||||
* | Optimizations | John Wiegley | 2012-02-27 | 1 | -3/+4 |
| | |||||
* | Implement the "tag" metadata directive | John Wiegley | 2012-02-27 | 1 | -3/+3 |
| | |||||
* | Fixed the scoping of auto xact predicates | John Wiegley | 2012-02-27 | 1 | -4/+6 |
| | |||||
* | Whitespace fix | John Wiegley | 2012-02-27 | 1 | -3/+2 |
| | |||||
* | The "id" of an item now maps to its UUID | John Wiegley | 2012-02-27 | 1 | -27/+0 |
| | |||||
* | Removed unneeded break statements | John Wiegley | 2012-02-17 | 1 | -1/+0 |
| | |||||
* | Cleanup whitespace | John Wiegley | 2011-08-18 | 1 | -3/+3 |
| | |||||
* | Corrected a transient display order flaw | John Wiegley | 2011-03-28 | 1 | -1/+10 |
| | | | | This was harmless, but affected the testability of results. | ||||
* | Price annotation no longer inject an implied cost | John Wiegley | 2010-06-22 | 1 | -21/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | Consider the following transaction: 2010-06-22 Sample Assets:Brokerage 10 AAPL {$30} Assets:Brokerage Previously, this would have been equivalent to: 2010-06-22 Sample Assets:Brokerage 10 AAPL @ $30 Assets:Brokerage However, this is not always what the user expects to happen. When @ is not being used, the transaction should reflect a mere transfer of commodities. This is now how it works, and thus the above transaction is now equivalent to the following instead: 2010-06-22 Sample Assets:Brokerage 10 AAPL {$30} Assets:Brokerage -10 AAPL {$30} | ||||
* | Don't do cost finalization for auto/period xacts | John Wiegley | 2010-06-22 | 1 | -48/+50 |
| | |||||
* | Corrected a major flaw in the transaction finalizer | John Wiegley | 2010-06-21 | 1 | -2/+3 |
| | | | | | | When a transaction has two commodities, but also a null posting, no attempt should be made to resolve the costs in terms of the primary commodity. | ||||
* | If a posting's price has an annotation tag, save it | John Wiegley | 2010-06-20 | 1 | -25/+33 |
| | |||||
* | Changes for building with Visual Studio 2008 | John Wiegley | 2010-06-15 | 1 | -1/+1 |
| | |||||
* | Revised how Ledger handles the "current year" | John Wiegley | 2010-06-14 | 1 | -10/+5 |
| | | | | | Now when the Y directive sets the current year for a region, it affects everything, as if the clock really were set back to that year. | ||||
* | Fixed several misplaced parentheses | John Wiegley | 2010-06-13 | 1 | -2/+2 |
| | |||||
* | Report error context in expressions more precisely | John Wiegley | 2010-06-13 | 1 | -2/+2 |
| | |||||
* | Completely reworked argument passing in expressions | John Wiegley | 2010-06-13 | 1 | -15/+10 |
| | |||||
* | Added support for assert, check and expr directives | John Wiegley | 2010-06-13 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These can occur in many places: ; Within an automated transaction, the assert is evaluated every time ; a posting is matched, with the expression context set to the ; matching posting. = /Food/ assert account("Expenses:Food").total >= $100 2010-06-12 Sample Expenses:Food $100 Assets:Checking ; At file scope, the expression is evaluated with "global" scope. assert account("Expenses:Food").total == $100 ; At the top of a transction, the assertion's scope is the ; transaction. After a posting, the scope is that posting. Note ; however that account totals are only adjusted after successful ; parsing of a transaction, which means that all the assertions below ; are true, even though it appears as though the middle posting should ; affect the total immediately (which is not the case). 2010-06-12 Sample 2 assert account("Expenses:Food").total == $100 Expenses:Food $50 assert account("Expenses:Food").total == $100 Assets:Checking assert account("Expenses:Food").total == $100 | ||||
* | Removed an unused function | John Wiegley | 2010-06-13 | 1 | -7/+0 |
| | |||||
* | Automated xacts may now contain "deferred tags" | John Wiegley | 2010-06-13 | 1 | -2/+24 |
| | | | | | | | | | | | | | | | | For example, consider the following automated transaction: = /Food/ ; Next Date:: date + 10 (Expenses:Tax) 1.00 ; Next Date:: date + 20 This will add a metadata field named 'Next Date' to the _matching posting_, with a value that is 10 days later than that posting. It will also generate a new posting for that transaction, whose amount is the same as the matching posting. Further, it will add a 'Next Date' metadata tag to the _generated posting_ whose value is 20 days later than the date of the matching posting. | ||||
* | Store metadata values as value_t instead of string | John Wiegley | 2010-06-12 | 1 | -1/+1 |
| | |||||
* | Untabified all source files | John Wiegley | 2010-06-11 | 1 | -234/+234 |
| | |||||
* | Several corrections to transaction finalization | John Wiegley | 2010-06-10 | 1 | -5/+13 |
| | |||||
* | gain/loss posting based on a virtual should also be | John Wiegley | 2010-06-10 | 1 | -1/+6 |
| | |||||
* | Allow fixated costs, as well as prices | John Wiegley | 2010-06-10 | 1 | -0/+6 |
| | | | | | | | | | You can now establish a fixated price automatically by way of a fixated cost. The syntax for this is: 2009/11/01 Sample Assets 1 apple @ =$0.10 Equity | ||||
* | Fixed minor rounding issue with priced commodities | John Wiegley | 2010-06-09 | 1 | -4/+6 |
| | |||||
* | Simplified some debug code | John Wiegley | 2010-06-06 | 1 | -4/+2 |
| | |||||
* | Allow opt -NDEBUG build to complete without warnings | John Wiegley | 2010-06-04 | 1 | -0/+2 |
| | |||||
* | Empty notes and tags now return null values | John Wiegley | 2010-05-30 | 1 | -1/+1 |
| | |||||
* | A minor fix to transaction auto-balancing | John Wiegley | 2010-05-22 | 1 | -45/+40 |
| | | | | | | | | | | It allows transactions like the following to auto-balance: 1999/08/16 Sell AAPL Assets:Broker $585 Expense:Broker:Commissions $15 Assets:Broker -10 AAPL {$30} @ $60 Income:Capital Gains | ||||
* | Interpolate uses of $account in automated postings | John Wiegley | 2010-05-22 | 1 | -2/+8 |
| | | | | Fixes 5CB52887-408E-48F0-8798-3C640D0295B3 | ||||
* | Added any() and all() value expression macros | John Wiegley | 2010-05-08 | 1 | -0/+38 |
| | | | | | | | | | | | | | | | | | | | | any() matches an expression against every post in a transaction or account, and returns true if any of them are true. all() tests if all are true. For example: ledger -l 'account =~ /Expense/ & any(account =~ /MasterCard/)' reg This reports every posting affecting an Expense account (regex match), but only if some other posting in the same transaction affects the MasterCard account. Both functions also take a second boolean argument. If it is false, the "source" posting is not considered. For example: ledger -l 'any(/x/, false)' This matches any posting where a *different* posting in the same transaction contains the letter 'x'. | ||||
* | Rewrite the "print" command as a custom function | John Wiegley | 2010-03-08 | 1 | -2/+2 |
| | | | | | There ended up being too many corner cases for the generalized formatter to handle. | ||||
* | Abstracted an sha1sum() function | John Wiegley | 2010-03-06 | 1 | -6/+1 |
| | |||||
* | Updated copyrights to 2003-2010 | John Wiegley | 2010-03-05 | 1 | -1/+1 |
| | |||||
* | Many improvements to Ledger's Python bindings | John Wiegley | 2009-11-19 | 1 | -6/+7 |
| | |||||
* | Changed a use of balance_error to amount_error | John Wiegley | 2009-11-14 | 1 | -1/+1 |
| |