Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added --flat option, to flatten the balance report | John Wiegley | 2009-02-17 | 1 | -4/+6 | |
| | ||||||
* | Removed the %*| special char, for %*(" ") | John Wiegley | 2009-02-17 | 1 | -2/+2 | |
| | ||||||
* | The option --cost is now an alias for --basis | John Wiegley | 2009-02-17 | 1 | -2/+1 | |
| | ||||||
* | Added new --set-acount and --set-payee options | John Wiegley | 2009-02-16 | 1 | -1/+3 | |
| | | | | | | These fully generalize the previous --payee-as-account and such options, which, for example, is now implemented to be the same as saying, "--set-account payee". | |||||
* | Added several new reporting options | John Wiegley | 2009-02-16 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | To help with gathering specific reports: - --payee-as-account copies the entry's payee field to the account, allowing the subtotal report to show unique payees for each period. - --comm-as-account copies the transaction's amount's commodity to the account. - --code-as-account copies the entry's code to the account Also created aliases for some of these options, for conistency's sake: - --commodity-as-payee is now an alias for --comm-as-payee - --commodity-as-account is now an alias for --comm-as-account | |||||
* | Accept --first/--last as synonyms for --head/--tail | John Wiegley | 2009-02-16 | 1 | -0/+2 | |
| | ||||||
* | Made "stat" a synonym for the "stats" command | John Wiegley | 2009-02-16 | 1 | -1/+1 | |
| | ||||||
* | Moved around some functions for clarity | John Wiegley | 2009-02-16 | 1 | -18/+2 | |
| | ||||||
* | The -n option for bal command is working again | John Wiegley | 2009-02-16 | 1 | -1/+1 | |
| | | | | | The fix was that when appending new predicates, enclosed both sides of the AND with parentheses. | |||||
* | Made several of the filters more context aware | John Wiegley | 2009-02-15 | 1 | -14/+19 | |
| | | | | | This resolves certain issues where value expressions were not being looked up within their full context. | |||||
* | Don't apply all filters for account-wise reports | John Wiegley | 2009-02-15 | 1 | -1/+1 | |
| | | | | This creates its own problems; instead, only most are used. | |||||
* | Print stripped amounts in the print report | John Wiegley | 2009-02-15 | 1 | -2/+2 | |
| | ||||||
* | Normalized handling of several report options | John Wiegley | 2009-02-15 | 1 | -1/+1 | |
| | ||||||
* | Re-enabled the --format (-F) option | John Wiegley | 2009-02-15 | 1 | -10/+16 | |
| | ||||||
* | The "xact" variable now returns null for accounts | John Wiegley | 2009-02-15 | 1 | -0/+5 | |
| | ||||||
* | item_predicate now operates on scope_t | John Wiegley | 2009-02-15 | 1 | -2/+2 | |
| | | | | This means item_predicate is no longer a template. | |||||
* | chain_xact_handlers now always operators the same | John Wiegley | 2009-02-15 | 1 | -3/+3 | |
| | | | | | | Previously, account-wise reports used a subset of the total number of transaction filters, but this could cause confusing results, and made some reports immpossible (such as account-wise monthly averages). | |||||
* | Removed the %! formatting code, as it does nothing | John Wiegley | 2009-02-15 | 1 | -6/+6 | |
| | ||||||
* | Changed the semantics of the "prices" report | John Wiegley | 2009-02-13 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | The prices report now uses the following scheme: PAYEE -> name of commodity of price ACCOUNT -> name of commodity of item AMOUNT -> price DATE -> date of pricing However, the report does not show the payee. The only reason the payee is set is to enable clever querying. For example: ledger prices gold # show all known prices for GOLD ledger prices @gold # show all known prices *in* GOLD | |||||
* | The formatting code no longer justifies values | John Wiegley | 2009-02-13 | 1 | -2/+2 | |
| | | | | | This is done in the value code, which knows -- based on the value's type -- how best to apply the justification. | |||||
* | Don't print an xact's amount if it was calculated | John Wiegley | 2009-02-13 | 1 | -4/+4 | |
| | | | | | That is, if the user didn't enter an amount for that transaction in their ledger journal, don't print one out either. | |||||
* | Added a "reload" command, for use at the REPL | John Wiegley | 2009-02-13 | 1 | -0/+2 | |
| | | | | | | | Created a new function, session_t::reread_journal_files, which throws away all previous state data and reads in the same files again. This is needed to allow Emacs to communicate with Ledger via the REPL, so that it tell Ledger when it has made changes to the user's data file. | |||||
* | Changed print report to use format_date | John Wiegley | 2009-02-13 | 1 | -1/+2 | |
| | | | | Otherwise, Ledger was unable to parse what it had printed. | |||||
* | Added a new valexpr function: format_date | John Wiegley | 2009-02-13 | 1 | -0/+10 | |
| | | | | | | | | | This can be used to format dates with a specific pattern, such as: format_date(entry.date, "%Y/%m/%d") This is used by the print command to ensure that Ledger is able to parse back what it prints. | |||||
* | Restored the "prices" command. | John Wiegley | 2009-02-12 | 1 | -9/+13 | |
| | ||||||
* | Turned on the "emacs" command and budgeting, though neither are tested yet. | John Wiegley | 2009-02-12 | 1 | -2/+5 | |
| | ||||||
* | Properly handle UTF-8 characters in commodity strings. | John Wiegley | 2009-02-12 | 1 | -2/+3 | |
| | ||||||
* | Rewrote the "entry" command. It's ALIVE! | John Wiegley | 2009-02-11 | 1 | -6/+10 | |
| | ||||||
* | Wired up the "entry" command from 2.x, though it still needs to be ported. | John Wiegley | 2009-02-10 | 1 | -1/+18 | |
| | ||||||
* | Wrote the beginnings of a new "stats" command. | John Wiegley | 2009-02-10 | 1 | -0/+5 | |
| | ||||||
* | Removed reference to session_t from the iterators module. | John Wiegley | 2009-02-09 | 1 | -2/+2 | |
| | ||||||
* | Fixed the use of --effective and --date-format (-y). | John Wiegley | 2009-02-09 | 1 | -27/+3 | |
| | ||||||
* | Added a new --collapse-if-zero option. | 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 | -2/+2 | |
| | ||||||
* | Recompile the amount_expr before summing account totals. | John Wiegley | 2009-02-09 | 1 | -1/+5 | |
| | ||||||
* | Added support for value expression definitions. | John Wiegley | 2009-02-08 | 1 | -1/+4 | |
| | | | | | | | | Example: ] expr f(x) := x + 100 ] expr f(100) 200 | |||||
* | Added stub for --pending report flag. | John Wiegley | 2009-02-08 | 1 | -0/+1 | |
| | ||||||
* | Several fixes to get the state flags to appear right in "print". | John Wiegley | 2009-02-07 | 1 | -4/+6 | |
| | ||||||
* | Whitespace fix to the print report. | John Wiegley | 2009-02-07 | 1 | -3/+3 | |
| | ||||||
* | Don't show a running total in the CSV output. The user will have to manage | John Wiegley | 2009-02-07 | 1 | -1/+0 | |
| | | | | that themselves in Excel or something. | |||||
* | Renamed escape to quoted, and fixed up the csv report. | John Wiegley | 2009-02-07 | 1 | -14/+14 | |
| | ||||||
* | Allow value expressions to gain access to option settings. | John Wiegley | 2009-02-07 | 1 | -212/+226 | |
| | | | | | | | | | | For example, "ledger eval options.limit" prints 0 (for false), but: "ledger -l hello eval options.limit" print "hello"s, since the value of options.limit, once set to a value, is that string. For flag options, such as -Y, eval prints 0 if unset, and 1 if set. This feature allows value expressions to be conditionalized based on the presence of user options. | |||||
* | More revision to the way options are handled; reworked CSV command. | John Wiegley | 2009-02-07 | 1 | -196/+302 | |
| | ||||||
* | Moved the --abbrev-len option to report_t. | John Wiegley | 2009-02-06 | 1 | -0/+1 | |
| | ||||||
* | Added two comments, to remind myself to check something. | John Wiegley | 2009-02-06 | 1 | -0/+2 | |
| | ||||||
* | Fixed the use of --effective when an entry has no especial effective date. | John Wiegley | 2009-02-06 | 1 | -0/+2 | |
| | ||||||
* | Restored all the option handlers from 2.6.2, but not the options themselves. | John Wiegley | 2009-02-06 | 1 | -25/+69 | |
| | ||||||
* | Moved --pager handler back into report_t. | John Wiegley | 2009-02-05 | 1 | -0/+1 | |
| | ||||||
* | Greatly simplified the way option and command handlers are defined. | John Wiegley | 2009-02-05 | 1 | -235/+146 | |
| | ||||||
* | Support using Ledger as a script interpretor. | John Wiegley | 2009-02-05 | 1 | -13/+0 | |
| | | | | | The file must begin with '#!/usr/bin/env ledger --script'. You can add a -f option to the options, but it must come before --script. |