Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | Reworked how the REPL is handled. | John Wiegley | 2009-02-05 | 1 | -6/+7 | |
| | ||||||
* | Moved the --pager option to the session object, rather than the report object. | John Wiegley | 2009-02-04 | 1 | -2/+0 | |
| | ||||||
* | Largely removed all of Ledger's use of global variables, for the REPL's sake. | John Wiegley | 2009-02-04 | 1 | -17/+63 | |
| | ||||||
* | Removed the global references to session->report. | John Wiegley | 2009-02-03 | 1 | -1/+1 | |
| | ||||||
* | Added support for metadata and tagging, and made regexs a first-class type. | John Wiegley | 2009-02-01 | 1 | -0/+2 | |
| | ||||||
* | Moved the pre-commands to their own file, and created new "args" command. | John Wiegley | 2009-02-01 | 1 | -110/+6 | |
| | ||||||
* | Moved the args_to_predicate function to predicate.cc. | John Wiegley | 2009-02-01 | 1 | -122/+2 | |
| | ||||||
* | Moved chain_xact_handlers into its own file, chain.h and chain.cc. | John Wiegley | 2009-02-01 | 1 | -189/+6 | |
| | ||||||
* | When outputting a calculated value expression with "parse", show XML too. | John Wiegley | 2009-02-01 | 1 | -1/+5 | |
| | ||||||
* | Restored the --pager option. | John Wiegley | 2009-02-01 | 1 | -0/+2 | |
| | ||||||
* | Inspired by Omari Norman, I've rewritten main.cc so it's easy to approach. | John Wiegley | 2009-01-31 | 1 | -36/+0 | |
| | ||||||
* | Added some missing break statements. | John Wiegley | 2009-01-31 | 1 | -0/+2 | |
| | ||||||
* | Pre-commands (like "parse") now correctly recognized. | John Wiegley | 2009-01-31 | 1 | -27/+27 | |
| | ||||||
* | Created a new stream.h file for dealing with output streaming. | John Wiegley | 2009-01-30 | 1 | -10/+173 | |
| | ||||||
* | Added support for Unicode text in Ledger files, thanks to 'utfcpp', which can | John Wiegley | 2009-01-23 | 1 | -0/+2 | |
| | | | | be located at http://utfcpp.sourceforge.net. | |||||
* | Correctly handle "bare parentheses" in the command regexps. | John Wiegley | 2009-01-23 | 1 | -6/+13 | |
| | ||||||
* | Redid the way command-line arguments are processed. Before, Ledger used - and | John Wiegley | 2009-01-22 | 1 | -77/+92 | |
| | | | | | | | | | | | | | | | -- to mean special things after the command verb was seen. But now, what used to be specified as this: ledger -n reg cash -payable -- shell Is now specified as this: ledger reg -n cash not payable @shell It could also be specified as: ledger -n reg \(cash and not payable\) and @shell | |||||
* | Added support for "anonymizing" any report with --anon. | John Wiegley | 2009-01-20 | 1 | -0/+8 | |
| | ||||||
* | Increased copyright range to include 2009. | John Wiegley | 2009-01-20 | 1 | -1/+1 | |
| | ||||||
* | Added back several cost reporting options. | John Wiegley | 2009-01-19 | 1 | -0/+29 | |
| | ||||||
* | Pass in the total_expr directly to changed_value_xacts. | John Wiegley | 2009-01-19 | 1 | -1/+2 | |
| | ||||||
* | Added back the -V (market value) option. | John Wiegley | 2009-01-19 | 1 | -0/+32 | |
| | ||||||
* | Added the concept of a "display_total", used for showing the values in the | John Wiegley | 2009-01-19 | 1 | -0/+10 | |
| | | | | | totals column of both the register and balance reports. This is different from the internal calculated total, which is still "total_expr". | |||||
* | Changed a plain equality into a strcmp. | John Wiegley | 2008-09-18 | 1 | -1/+6 | |
| | ||||||
* | Move handling of all commands to the value expression subsystem, rather than | John Wiegley | 2008-09-18 | 1 | -6/+178 | |
| | | | | handling them explicitly in main.cc. | |||||
* | Restored --cleared, --pending, --uncleared, -X and -Y. | John Wiegley | 2008-09-16 | 1 | -8/+27 | |
| | ||||||
* | Restored --format, --date-format (-y), and --input-date-format options. | John Wiegley | 2008-09-14 | 1 | -4/+17 | |
| | ||||||
* | Added back a lot of hacktastic logic from 2.6.1 that made the "bal" command | John Wiegley | 2008-08-14 | 1 | -91/+2 | |
| | | | | | somewhat smart about how it interpreted certain options. Beware, code, for your days are not long-lived. | |||||
* | Re-enabled many more options, among them -n. | John Wiegley | 2008-08-14 | 1 | -1/+42 | |
| | ||||||
* | Restored the -p, -b and -e reporting options. | John Wiegley | 2008-08-14 | 1 | -5/+84 | |
| | ||||||
* | Enabled the --tail and --head options. | John Wiegley | 2008-08-13 | 1 | -7/+12 | |
| |