Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Memoize results from the fast predicate matcher | John Wiegley | 2009-11-14 | 1 | -0/+2 |
| | | | | | This gains another 15% for the parser, again with a very simple change that has no impact if the fast predicate matcher fails to work. | ||||
* | Spot optimization for simple automated xact exprs | John Wiegley | 2009-11-14 | 1 | -3/+5 |
| | | | | | | This reduces parsing time in the optimized build by 25%, and was a safe, easy patch. If the "quick predicate evaluator" fails, we disable it from that point on go back to what the standard code does. | ||||
* | Added has_xdata() methods for journal_t and xact_t | John Wiegley | 2009-11-12 | 1 | -0/+1 |
| | |||||
* | Transactions now verified after applying auto xacts | John Wiegley | 2009-11-11 | 1 | -1/+2 |
| | | | | | This way you cannot violate the balancing rules, not even by adding a stray posting via an automated transaction. | ||||
* | Did away with the "finalizer" abstraction | John Wiegley | 2009-11-11 | 1 | -70/+0 |
| | | | | | This was from an earlier time, when it was intended to be used by Python. But it's not needed anymore. | ||||
* | Automated postings defer amount expression calculation | John Wiegley | 2009-11-11 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | 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" command | John Wiegley | 2009-11-09 | 1 | -0/+2 |
| | |||||
* | Redesigned the expr_t, predicate_t, query_t classes | John Wiegley | 2009-11-09 | 1 | -3/+3 |
| | |||||
* | Removed a bunch of empty comments | John Wiegley | 2009-11-08 | 1 | -39/+0 |
| | |||||
* | Report sought magnitude when balancing errors occur | John Wiegley | 2009-11-05 | 1 | -1/+2 |
| | |||||
* | Moved xdata clearing code into each type proper | John Wiegley | 2009-11-05 | 1 | -0/+3 |
| | |||||
* | Transactions, etc., are now accessed by iterators | John Wiegley | 2009-11-05 | 1 | -0/+7 |
| | |||||
* | Segregated symbols into 5 separate namespaces | John Wiegley | 2009-11-04 | 1 | -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 fix | John Wiegley | 2009-11-04 | 1 | -5/+5 |
| | |||||
* | Whitespace fixes | John Wiegley | 2009-11-01 | 1 | -1/+0 |
| | |||||
* | Fix to xact_t::valid() | John Wiegley | 2009-11-01 | 1 | -12/+3 |
| | |||||
* | Removed most #if 0 blocks and callout comments | John Wiegley | 2009-10-31 | 1 | -2/+0 |
| | |||||
* | Added serialization methods for most type | John Wiegley | 2009-10-30 | 1 | -0/+67 |
| | | | | | This allows journal_t objects to be completed serialized to disk and deserialized. | ||||
* | Removed erroneous throw specifier from period_xact_t | John Wiegley | 2009-10-30 | 1 | -1/+1 |
| | |||||
* | Made the id function available in post contexts | John Wiegley | 2009-10-27 | 1 | -0/+4 |
| | |||||
* | Temporarily stubbed out an inaccurate assert | John Wiegley | 2009-06-15 | 1 | -1/+7 |
| | |||||
* | First iteration of the new date_interval_t rewrite | John Wiegley | 2009-03-15 | 1 | -3/+3 |
| | |||||
* | Reduced the #include dependency tree to a minimum | John Wiegley | 2009-03-04 | 1 | -2/+5 |
| | |||||
* | Fixed the way item state is parsed and managed | John Wiegley | 2009-02-27 | 1 | -2/+0 |
| | |||||
* | The Great Renaming, Part II | John Wiegley | 2009-02-23 | 1 | -131/+178 |
| | | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset. | ||||
* | Many fixes to both --market and --exchange | John Wiegley | 2009-02-23 | 1 | -6/+0 |
| | |||||
* | Added xact_t::count member | John Wiegley | 2009-02-15 | 1 | -1/+4 |
| | | | | | | 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 entry | John Wiegley | 2009-02-14 | 1 | -0/+8 |
| | | | | | | 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. | ||||
* | Sorting expr now uses "-" to indicate descending | John Wiegley | 2009-02-12 | 1 | -3/+4 |
| | | | | | For example: -S payee,-date sorts 1) ascending by payee, then 2) descending by date. | ||||
* | Re-enabled some code, and removed a bunch of deadwood. | John Wiegley | 2009-02-12 | 1 | -1/+1 |
| | |||||
* | Was failing to copy over the xact's assigned_amount when copy constructing. | John Wiegley | 2009-02-09 | 1 | -0/+1 |
| | |||||
* | Use the report's amount_expr everywhere that computes an xact's amount. | John Wiegley | 2009-02-09 | 1 | -1/+1 |
| | |||||
* | Removed the nearly unknown --descend and --descend-if options. | John Wiegley | 2009-02-06 | 1 | -24/+0 |
| | |||||
* | Largely removed all of Ledger's use of global variables, for the REPL's sake. | John Wiegley | 2009-02-04 | 1 | -2/+2 |
| | |||||
* | Simplified the textual parser, and improved metadata support. | John Wiegley | 2009-02-04 | 1 | -9/+0 |
| | |||||
* | Removed unneeded member variables. | John Wiegley | 2009-02-04 | 1 | -3/+1 |
| | |||||
* | Don't store the amount expression object in transactions. | John Wiegley | 2009-02-03 | 1 | -0/+6 |
| | | | | This is unnecessary since binary caching is no longer being used. | ||||
* | Added documentation stubs for all include files and classes. | John Wiegley | 2009-01-31 | 1 | -0/+19 |
| | |||||
* | Stopped using the generic "unsigned int" in favor of more specific types. | John Wiegley | 2009-01-29 | 1 | -7/+7 |
| | |||||
* | Increased copyright range to include 2009. | John Wiegley | 2009-01-20 | 1 | -1/+1 |
| | |||||
* | Changed some of the transaction flags, since all must fit in 8 bits. | John Wiegley | 2008-09-19 | 1 | -4/+4 |
| | |||||
* | Renamed XACT_BALANCE flag to XACT_MUST_BALANCE. | John Wiegley | 2008-09-19 | 1 | -5/+5 |
| | |||||
* | Factored common parts of entry_t and xact_t into new item_t | John Wiegley | 2008-09-19 | 1 | -60/+29 |
| | |||||
* | Restored --cleared, --pending, --uncleared, -X and -Y. | John Wiegley | 2008-09-16 | 1 | -1/+1 |
| | |||||
* | Transactional assignments (i.e., confirmed balances) are working now. | John Wiegley | 2008-09-14 | 1 | -1/+3 |
| | |||||
* | Fixed a memory leak that would show up if --verify --verbose was running and | John Wiegley | 2008-08-10 | 1 | -2/+14 |
| | | | | an error or exception occurred. | ||||
* | Moved around most of the files so that source code is in src/, documentation | John Wiegley | 2008-08-05 | 1 | -0/+228 |
is in doc/, etc. |