Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added more iterator methods to call_scope_t | John Wiegley | 2010-05-08 | 1 | -0/+11 |
| | |||||
* | Added any() and all() value expression macros | John Wiegley | 2010-05-08 | 6 | -6/+131 |
| | | | | | | | | | | | | | | | | | | | | 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'. | ||||
* | Added O_EXPAND operator, to handle macros | John Wiegley | 2010-05-08 | 2 | -3/+50 |
| | |||||
* | interactive_t now takes an "X" for expressions | John Wiegley | 2010-05-08 | 2 | -0/+17 |
| | |||||
* | Added a simple print() value expression function | John Wiegley | 2010-05-08 | 2 | -0/+17 |
| | | | | This is really for debugging more than anything else. | ||||
* | Allow expr_t& to be passed in a value_t | John Wiegley | 2010-05-08 | 2 | -3/+57 |
| | |||||
* | print command correctly prints amount expressions | John Wiegley | 2010-05-07 | 2 | -5/+22 |
| | |||||
* | The --invert option now works with "convert" | John Wiegley | 2010-05-07 | 1 | -1/+6 |
| | |||||
* | Make sure ldg-new.el loads correctly | John Wiegley | 2010-05-07 | 3 | -3/+8 |
| | |||||
* | Added some missing autoloads for the new ledger-mode | John Wiegley | 2010-05-02 | 5 | -80/+90 |
| | |||||
* | Some more refactoring of the new Lisp code | John Wiegley | 2010-04-12 | 3 | -62/+84 |
| | |||||
* | Broke up the old ledger.el into several submodules | John Wiegley | 2010-04-12 | 9 | -0/+1195 |
| | |||||
* | Cleanup the ldg-post code a little bit | John Wiegley | 2010-04-12 | 1 | -28/+75 |
| | |||||
* | lisp/ledger.el is now deprecated (until release) | John Wiegley | 2010-04-12 | 1 | -1/+1 |
| | | | | | The new code, still under development, starts in ldg-new.el. When it is ready to replace the old code, it will be renamed to ledger.el. | ||||
* | Fixes to ledger-mode regexps | John Wiegley | 2010-04-12 | 1 | -18/+19 |
| | |||||
* | Rewrote ldg-regex with a macro (for simplicity) | John Wiegley | 2010-04-12 | 2 | -168/+250 |
| | |||||
* | Merge branch 'next' | John Wiegley | 2010-03-17 | 137 | -347/+2254 |
|\ | |||||
| * | The include directive now supports file globbing | John Wiegley | 2010-03-17 | 3 | -5/+68 |
| | | | | | | | | | | This only happens at the base filename, not for any of the directory names for now. | ||||
| * | Added new --meta and --meta-width options | John Wiegley | 2010-03-17 | 2 | -9/+52 |
| | | | | | | | | | | | | | | | | The usages are: --meta=<TAG> prepend value of TAG before every line --meta-width=<NUM> force the meta column to be NUM wide --meta=<TAG>:<NUM> shortcut that also applies --meta-width | ||||
| * | Tags were not being set properly on postings | John Wiegley | 2010-03-17 | 3 | -23/+32 |
| | | |||||
| * | The --pivot=X option now only matches the tag "X" | John Wiegley | 2010-03-17 | 1 | -1/+1 |
| | | |||||
| * | Added code to ldg-texi (for now) to update tests | John Wiegley | 2010-03-17 | 1 | -57/+85 |
| | | |||||
| * | Improved the new implementation of "print" | John Wiegley | 2010-03-17 | 1 | -4/+4 |
| | | |||||
| * | Do not implicitly sort register output | John Wiegley | 2010-03-17 | 7 | -55/+57 |
| | | | | | | | | The switches the default back to the same as 2.x, which is --unsorted. | ||||
| * | Short-circuit --head handler when count is reached | John Wiegley | 2010-03-16 | 2 | -4/+11 |
| | | |||||
| * | Updated current version of ledger.el to 1.3 | John Wiegley | 2010-03-15 | 1 | -1/+1 |
| | | |||||
| * | ldg-texi.el now auto-generates regression tests | John Wiegley | 2010-03-15 | 2 | -18/+64 |
| | | |||||
| * | Renamed ldg-account.el to ldg-post.el | John Wiegley | 2010-03-15 | 1 | -29/+29 |
| | | |||||
| * | Created lisp/ldg-account.el | John Wiegley | 2010-03-11 | 3 | -14/+136 |
| | | |||||
| * | Extended regexp syntax for "payee" and "capture" | John Wiegley | 2010-03-10 | 1 | -4/+32 |
| | | |||||
| * | Commented out the date limiter in the lookup code | John Wiegley | 2010-03-10 | 1 | -0/+2 |
| | | |||||
| * | When deriving, don't carry over the code or not | John Wiegley | 2010-03-10 | 1 | -6/+6 |
| | | |||||
| * | Began writing lisp/ldg-regex.el | John Wiegley | 2010-03-10 | 1 | -0/+167 |
| | | |||||
| * | Cleaned up the intelligent lookup algorithm a bit | John Wiegley | 2010-03-10 | 1 | -87/+72 |
| | | |||||
| * | Corrected a debug string | John Wiegley | 2010-03-10 | 1 | -1/+1 |
| | | |||||
| * | Added experimental account lookup logic | John Wiegley | 2010-03-08 | 5 | -24/+406 |
| | | | | | | | | | | This is used by the "xact" command, and the CSV importer. It is very slow O(xacts*records). | ||||
| * | The CSV reader now auto-correlates fields by regex | John Wiegley | 2010-03-08 | 2 | -52/+210 |
| | | |||||
| * | Tabified tools/Makefile.am | John Wiegley | 2010-03-08 | 1 | -9/+9 |
| | | |||||
| * | Added find() and operator[] to unistring | John Wiegley | 2010-03-08 | 1 | -0/+19 |
| | | |||||
| * | Rewrite the "print" command as a custom function | John Wiegley | 2010-03-08 | 16 | -102/+362 |
| | | | | | | | | | | There ended up being too many corner cases for the generalized formatter to handle. | ||||
| * | Corrected a case for value < value | John Wiegley | 2010-03-06 | 1 | -1/+3 |
| | | |||||
| * | Abstracted an sha1sum() function | John Wiegley | 2010-03-06 | 2 | -6/+11 |
| | | |||||
| * | Fixed a problem with the "quoted" valexpr function | John Wiegley | 2010-03-05 | 1 | -2/+2 |
| | | |||||
| * | Added some preliminary code for convert CSV to Ledger | John Wiegley | 2010-03-05 | 7 | -2/+449 |
| | | |||||
| * | Added new "payee" and "capture" directives | John Wiegley | 2010-03-05 | 3 | -1/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The payee directive allows for transformation of payee names during the parsing of a Ledger file. This means you can record the payee name in one form, but always have it reported in another form. The syntax is (and will be): payee PAYEE_NAME REGEXP or payee PAYEE_NAME REGEXP1 REGEXP2 ... The account directive sets the account automatically based on the payee iff the base account name is Unknown. For example, if you have a bunch of transaction in Expenses:Unknown, you can assign accounts for several automatically using: account ACCOUNT_NAME PAYEE_REGEXP or account ACCOUNT_NAME PAYEE_REGEXP1 PAYEE_REGEXP2 ... | ||||
| * | Make the manual encoding be utf-8 | John Wiegley | 2010-03-05 | 1 | -1/+1 |
| | | |||||
| * | Change an exception test to a plain if | John Wiegley | 2010-03-05 | 1 | -4/+2 |
| | | |||||
| * | Improved Makefile rule for generating system.hh.gch | John Wiegley | 2010-03-05 | 1 | -0/+1 |
| | | |||||
| * | Updated copyrights to 2003-2010 | John Wiegley | 2010-03-05 | 116 | -117/+117 |
| | | |||||
| * | Started on some macros for writing the manual | John Wiegley | 2010-03-05 | 2 | -0/+72 |
|/ |