Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed a use of balance_error to amount_error | John Wiegley | 2009-11-14 | 1 | -1/+1 |
| | |||||
* | Added another catch handler for Python exceptions | John Wiegley | 2009-11-14 | 1 | -0/+4 |
| | |||||
* | Fixed an internal reference issue with Python | John Wiegley | 2009-11-14 | 2 | -13/+29 |
| | |||||
* | Removed post_t::xdata_t::ptr, which is not used | John Wiegley | 2009-11-14 | 1 | -4/+1 |
| | |||||
* | Memoize results from the fast predicate matcher | John Wiegley | 2009-11-14 | 2 | -1/+18 |
| | | | | | 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 | 2 | -5/+70 |
| | | | | | | 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. | ||||
* | Removed the virtual marker on several filter methods | John Wiegley | 2009-11-14 | 1 | -4/+4 |
| | |||||
* | Move .dmg files after uploading in tools/push | John Wiegley | 2009-11-14 | 1 | -0/+1 |
| | |||||
* | Added historical support for single-letter valexprs | John Wiegley | 2009-11-14 | 4 | -3/+90 |
| | |||||
* | Optimization in the formatting of string values | John Wiegley | 2009-11-14 | 2 | -3/+9 |
| | |||||
* | Break up multiple commodities in equity report | John Wiegley | 2009-11-14 | 2 | -11/+18 |
| | |||||
* | Added baseline test for reg -n | John Wiegley | 2009-11-14 | 1 | -0/+46 |
| | |||||
* | Don't bold the payee for virtual or temporary xacts | John Wiegley | 2009-11-13 | 1 | -1/+1 |
| | |||||
* | Moved a usage of Ar in the man page | John Wiegley | 2009-11-13 | 1 | -2/+3 |
| | |||||
* | Merge branch 'next' | John Wiegley | 2009-11-13 | 11 | -53/+71 |
|\ | |||||
| * | Stylistic change: assert(0) -> assert(false) | John Wiegley | 2009-11-13 | 6 | -11/+11 |
| | | |||||
| * | Fixed some debug output | John Wiegley | 2009-11-13 | 1 | -0/+5 |
| | | |||||
| * | Python support is now off by default | John Wiegley | 2009-11-13 | 2 | -35/+54 |
| | | |||||
| * | --data shouldn't modify the underlying item | John Wiegley | 2009-11-12 | 2 | -7/+1 |
|/ | |||||
* | Move a typedef in utils.h | John Wiegley | 2009-11-12 | 1 | -4/+4 |
| | |||||
* | Merge branch 'next' | John Wiegley | 2009-11-12 | 33 | -552/+914 |
|\ | |||||
| * | Added a Journal.collect method to Python | John Wiegley | 2009-11-12 | 1 | -0/+106 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets you run standard report queries against a Ledger journal and get back a collection of postings, for example: import ledger journal = ledger.Journal("sample.dat") posts = journal.collect("-M assets") for post in posts: print post.account However, this code is not really working yet for a large variety of reasons, having to do with object life-time, shallow copying, and lack of reference counting where it should be. For instance, calling ledger.Journal().collect() fails because the temporary journal object is destroyed and the collection now has a host of bad pointers. Using "for post in journal.collect()" fails too with other bad pointers. And the whole lot of it crashes on exit at the moment. | ||||
| * | Removed unnecessary code | John Wiegley | 2009-11-12 | 1 | -1/+1 |
| | | |||||
| * | Set call policies for accessing post.xdata.account | John Wiegley | 2009-11-12 | 1 | -2/+4 |
| | | |||||
| * | Added a collect_posts handler | John Wiegley | 2009-11-12 | 1 | -0/+29 |
| | | |||||
| * | Reordered the export_ calls in pyinterp.cc | John Wiegley | 2009-11-12 | 1 | -6/+6 |
| | | |||||
| * | Reorganized a bit of the reporting code | John Wiegley | 2009-11-12 | 2 | -48/+55 |
| | | |||||
| * | Added has_xdata() methods for journal_t and xact_t | John Wiegley | 2009-11-12 | 8 | -2/+45 |
| | | |||||
| * | Made ~post_t virtual | John Wiegley | 2009-11-12 | 1 | -1/+1 |
| | | |||||
| * | session_t now holds a std::auto_prt<journal_t> | John Wiegley | 2009-11-12 | 4 | -19/+19 |
| | | |||||
| * | Moved report normalization into report.cc | John Wiegley | 2009-11-12 | 4 | -174/+174 |
| | | |||||
| * | All commands are now documented in the man page | John Wiegley | 2009-11-12 | 1 | -37/+261 |
| | | |||||
| * | Removed unused code | John Wiegley | 2009-11-12 | 1 | -2/+0 |
| | | |||||
| * | Renamed the pricesdb command to pricedb | John Wiegley | 2009-11-12 | 3 | -8/+8 |
| | | |||||
| * | Added new value expressions for value conversion | John Wiegley | 2009-11-11 | 2 | -0/+90 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | They are: to_boolean to_int to_datetime to_date to_amount to_balance to_string to_mask to_sequence | ||||
| * | Transactions now verified after applying auto xacts | John Wiegley | 2009-11-11 | 2 | -1/+59 |
| | | | | | | | | | | This way you cannot violate the balancing rules, not even by adding a stray posting via an automated transaction. | ||||
| * | Added --date, similar to --account and --payee | John Wiegley | 2009-11-11 | 7 | -5/+31 |
| | | | | | | | | | | | | | | This lets you do things like store a date as the value of a tag, then run: ledger --date='has_tag("Foo") ? to_date(tag("Foo")) : date' reg | ||||
| * | Did away with the "finalizer" abstraction | John Wiegley | 2009-11-11 | 8 | -246/+11 |
| | | | | | | | | | | This was from an earlier time, when it was intended to be used by Python. But it's not needed anymore. | ||||
| * | Use ledger::string only if VERIFY_ON or BOOST_PYTHON | John Wiegley | 2009-11-11 | 2 | -0/+12 |
| | | |||||
| * | Restore the Doxygen documentation build | John Wiegley | 2009-11-11 | 3 | -6/+8 |
|/ | |||||
* | Merge branch 'next' | John Wiegley | 2009-11-11 | 41 | -434/+849 |
|\ | |||||
| * | Value.to_sequence returns a valid Python sequence | John Wiegley | 2009-11-11 | 2 | -0/+5 |
| | | |||||
| * | Added some missing calls to add_post | John Wiegley | 2009-11-11 | 2 | -0/+3 |
| | | |||||
| * | Added floor() value expression function | John Wiegley | 2009-11-11 | 2 | -0/+9 |
| | | |||||
| * | Automated postings defer amount expression calculation | John Wiegley | 2009-11-11 | 9 | -73/+99 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Added floored() and in_place_floor() methods | John Wiegley | 2009-11-11 | 8 | -93/+169 |
| | | |||||
| * | Value.basetype in Python returns a Value's base type | John Wiegley | 2009-11-11 | 1 | -0/+18 |
| | | |||||
| * | Timeclock events now record their file position | John Wiegley | 2009-11-11 | 3 | -56/+64 |
| | | |||||
| * | Added a --prepend-format option | John Wiegley | 2009-11-11 | 4 | -14/+57 |
| | | | | | | | | | | | | | | | | This lets you, for example, debug registers that cull data from many different sources, without having to change the basic formatting string. You can locate each posting's location with this: ledger reg --prepend-format='%-25(filename + ":" + beg_line)' | ||||
| * | Timeclock entries can now have notes | John Wiegley | 2009-11-11 | 3 | -18/+47 |
| | | | | | | | | | | | | | | | | | | | | Example of a tagged entry: i 2009/11/01 12:00:00 Account Payee ; :Foo: o 2009/11/01 13:00:00 Two spaces or a tab must separate account from payee, and payee from note. |