summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improved error reporting in the expression parserJohn Wiegley2010-05-224-23/+45
| | | | Fixes 15A80F68-F233-49D9-AF0C-9908BB6903BA
* Report an error for incorrect dates like 2010/04/32John Wiegley2010-05-221-20/+34
| | | | Fixes EF57C685-2C18-49A1-9A8C-FB3BE6F99C41
* The regular tests are not be dependent on PythonJohn Wiegley2010-05-221-5/+1
|
* Made the output from --options better lookingJohn Wiegley2010-05-221-4/+7
|
* Changed the report generated by the csv commandJohn Wiegley2010-05-222-4/+15
| | | | | | | | | | | Fields are now: Date,Code,Payee,Account,Commodity,Total,State,Note Instead of outputting amounts potentially as $1,000.00 (which was an error anyway), the output is now: $,1000.00. This makes the commodity available in a separate field, and removes display of thousands markers. Also, european formatting is always off.
* Minor change to setup_for_johnw in acprepJohn Wiegley2010-05-221-3/+0
|
* Option --count sums payees, account, commoditiesJohn Wiegley2010-05-224-18/+39
|
* Added new commands: acounts, payees, commoditiesJohn Wiegley2010-05-223-1/+144
| | | | | | | | | | | | | These three reports simply dump an unordered list (with the exception of payees) shows all accounts, payees, and commodities represented in a given report. This can be used to easily generate per-entity report, for example: ledger payees | \ while read payee; do \ echo ; echo $payee ; \ ledger reg payee "$payee" ; \ done
* Updated NEWS file that there will be less newsJohn Wiegley2010-05-221-29/+8
|
* Interpolate uses of $account in automated postingsJohn Wiegley2010-05-221-2/+8
| | | | Fixes 5CB52887-408E-48F0-8798-3C640D0295B3
* Guard against NULL value passed to "end" directiveJohn Wiegley2010-05-221-1/+1
| | | | Fixes 89233B6D-CB21-4162-98E3-BE38B9336070
* emacs command was referencing uninitialized valuesJohn Wiegley2010-05-221-6/+13
| | | | Fixes 7B54CF80-45A4-4D50-A8D3-63272D60FA1B
* Temporary accounts were referenced after deletionJohn Wiegley2010-05-222-4/+20
| | | | Fixes D53C98E5-506D-4CE5-91A3-7666FD33B65B
* phase_patch in acprep is no longer neededJohn Wiegley2010-05-221-39/+0
| | | | This is because AM_SILENT_RULES is now used in configure.ac.
* Added account_id and xact_id valexpr vars for postsJohn Wiegley2010-05-182-0/+39
| | | | | account_id is the "whicheth" number for that posting within its account. The xact_id is within its transaction.
* Merge branch 'next'John Wiegley2010-05-161-0/+3
|\
| * Enable silent build rulesPriit Laes2010-05-131-0/+3
|/
* Revert "Support entries with effective dates in ledger-iterate-entries"John Wiegley2010-05-131-35/+20
| | | | This reverts commit a8333c3bd2b70adbd70b33cdda86cf6ee3b1ae23.
* Merge branch 'next'John Wiegley2010-05-1230-195/+1855
|\
| * A string was not terminated with a NUL.John Wiegley2010-05-121-1/+6
| |
| * Added more iterator methods to call_scope_tJohn Wiegley2010-05-081-0/+11
| |
| * Added any() and all() value expression macrosJohn Wiegley2010-05-086-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 macrosJohn Wiegley2010-05-082-3/+50
| |
| * interactive_t now takes an "X" for expressionsJohn Wiegley2010-05-082-0/+17
| |
| * Added a simple print() value expression functionJohn Wiegley2010-05-082-0/+17
| | | | | | | | This is really for debugging more than anything else.
| * Allow expr_t& to be passed in a value_tJohn Wiegley2010-05-082-3/+57
| |
| * print command correctly prints amount expressionsJohn Wiegley2010-05-072-5/+22
| |
| * The --invert option now works with "convert"John Wiegley2010-05-071-1/+6
| |
| * Make sure ldg-new.el loads correctlyJohn Wiegley2010-05-073-3/+8
| |
| * Added some missing autoloads for the new ledger-modeJohn Wiegley2010-05-025-80/+90
| |
| * Some more refactoring of the new Lisp codeJohn Wiegley2010-04-123-62/+84
| |
| * Broke up the old ledger.el into several submodulesJohn Wiegley2010-04-129-0/+1195
| |
| * Cleanup the ldg-post code a little bitJohn Wiegley2010-04-121-28/+75
| |
| * lisp/ledger.el is now deprecated (until release)John Wiegley2010-04-121-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 regexpsJohn Wiegley2010-04-121-18/+19
| |
| * Rewrote ldg-regex with a macro (for simplicity)John Wiegley2010-04-122-168/+250
|/
* Merge branch 'next'John Wiegley2010-03-17137-347/+2254
|\
| * The include directive now supports file globbingJohn Wiegley2010-03-173-5/+68
| | | | | | | | | | This only happens at the base filename, not for any of the directory names for now.
| * Added new --meta and --meta-width optionsJohn Wiegley2010-03-172-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 postingsJohn Wiegley2010-03-173-23/+32
| |
| * The --pivot=X option now only matches the tag "X"John Wiegley2010-03-171-1/+1
| |
| * Added code to ldg-texi (for now) to update testsJohn Wiegley2010-03-171-57/+85
| |
| * Improved the new implementation of "print"John Wiegley2010-03-171-4/+4
| |
| * Do not implicitly sort register outputJohn Wiegley2010-03-177-55/+57
| | | | | | | | The switches the default back to the same as 2.x, which is --unsorted.
| * Short-circuit --head handler when count is reachedJohn Wiegley2010-03-162-4/+11
| |
| * Updated current version of ledger.el to 1.3John Wiegley2010-03-151-1/+1
| |
| * ldg-texi.el now auto-generates regression testsJohn Wiegley2010-03-152-18/+64
| |
| * Renamed ldg-account.el to ldg-post.elJohn Wiegley2010-03-151-29/+29
| |
| * Created lisp/ldg-account.elJohn Wiegley2010-03-113-14/+136
| |
| * Extended regexp syntax for "payee" and "capture"John Wiegley2010-03-101-4/+32
| |