Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Restored the --average (-A) report option | John Wiegley | 2009-02-15 | 1 | -1/+5 | |
| | ||||||
* | Added a helper method for setting expr options | John Wiegley | 2009-02-15 | 1 | -14/+26 | |
| | | | | | | | | | | | Now one does: parent->HANDLER(display_total_).set_expr("total"); Rather than what was required previously: parent->HANDLER(display_total_).on("total"); parent->HANDLER(display_total_).expr = "total"; | |||||
* | Added #if 0'd stub code from 2.x's option.cc | John Wiegley | 2009-02-14 | 1 | -3/+26 | |
| | ||||||
* | Restored the --actual and --real options | John Wiegley | 2009-02-14 | 1 | -2/+9 | |
| | ||||||
* | Re-enabled periodic reporting options (-M, etc) | John Wiegley | 2009-02-14 | 1 | -5/+32 | |
| | ||||||
* | Enabled --cleared, --uncleared and --pending | John Wiegley | 2009-02-13 | 1 | -3/+14 | |
| | | | | | Note that the --uncleared flag includes --pending, since it specifically means "not yet cleared". | |||||
* | Re-activated the budgeting flags | John Wiegley | 2009-02-13 | 1 | -3/+12 | |
| | | | | However, the budget reports themselves still need to be tested. | |||||
* | Added a "reload" command, for use at the REPL | John Wiegley | 2009-02-13 | 1 | -0/+5 | |
| | | | | | | | 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. | |||||
* | Added a new valexpr function: format_date | John Wiegley | 2009-02-13 | 1 | -0/+1 | |
| | | | | | | | | | 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 | -3/+1 | |
| | ||||||
* | Turned on the "emacs" command and budgeting, though neither are tested yet. | John Wiegley | 2009-02-12 | 1 | -0/+7 | |
| | ||||||
* | Rewrote the "entry" command. It's ALIVE! | John Wiegley | 2009-02-11 | 1 | -0/+1 | |
| | ||||||
* | Wired up the "entry" command from 2.x, though it still needs to be ported. | John Wiegley | 2009-02-10 | 1 | -0/+10 | |
| | ||||||
* | Removed an unneeded method declaration. | John Wiegley | 2009-02-10 | 1 | -1/+0 | |
| | ||||||
* | When -V is used, show the market value for the amount as well as the total. | John Wiegley | 2009-02-09 | 1 | -0/+1 | |
| | ||||||
* | Added a new --collapse-if-zero option. | John Wiegley | 2009-02-09 | 1 | -0/+4 | |
| | ||||||
* | Had to step back from a change that was breaking regular reports. | John Wiegley | 2009-02-09 | 1 | -1/+4 | |
| | ||||||
* | Pass amount expression to calc_xacts, to be used for computing the total. | John Wiegley | 2009-02-08 | 1 | -0/+1 | |
| | ||||||
* | Correctly compile the expressions passed to -t and -T. | John Wiegley | 2009-02-08 | 1 | -0/+12 | |
| | ||||||
* | Inverted the default display mode for balance reports. Use -n to collapse | John Wiegley | 2009-02-08 | 1 | -1/+6 | |
| | | | | them, as this fits better with what -n does for register reports. | |||||
* | Added support for value expression definitions. | John Wiegley | 2009-02-08 | 1 | -0/+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 | |
| | ||||||
* | Reimplemented -B, -V, -I and -O. | John Wiegley | 2009-02-07 | 1 | -4/+26 | |
| | ||||||
* | Fixed some #include ordering issues. | John Wiegley | 2009-02-07 | 1 | -1/+1 | |
| | ||||||
* | Renamed escape to quoted, and fixed up the csv report. | John Wiegley | 2009-02-07 | 1 | -1/+1 | |
| | ||||||
* | Allow value expressions to gain access to option settings. | John Wiegley | 2009-02-07 | 1 | -0/+6 | |
| | | | | | | | | | | 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. | |||||
* | Fixed the way that --limit, --only and --display are handled. | John Wiegley | 2009-02-07 | 1 | -3/+21 | |
| | ||||||
* | More revision to the way options are handled; reworked CSV command. | John Wiegley | 2009-02-07 | 1 | -1/+9 | |
| | ||||||
* | Removed --reconcile and --reconcile-date. | John Wiegley | 2009-02-07 | 1 | -2/+0 | |
| | ||||||
* | Moved the --abbrev-len option to report_t. | John Wiegley | 2009-02-06 | 1 | -0/+1 | |
| | ||||||
* | Removed the nearly unknown --descend and --descend-if options. | John Wiegley | 2009-02-06 | 1 | -2/+0 | |
| | ||||||
* | Restored all the option handlers from 2.6.2, but not the options themselves. | John Wiegley | 2009-02-06 | 1 | -670/+144 | |
| | ||||||
* | Moved --pager handler back into report_t. | John Wiegley | 2009-02-05 | 1 | -0/+2 | |
| | ||||||
* | Greatly simplified the way option and command handlers are defined. | John Wiegley | 2009-02-05 | 1 | -215/+188 | |
| | ||||||
* | Support using Ledger as a script interpretor. | John Wiegley | 2009-02-05 | 1 | -2/+2 | |
| | | | | | 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 | -5/+58 | |
| | ||||||
* | Removed all references to the old binary cache. | John Wiegley | 2009-02-04 | 1 | -8/+0 | |
| | ||||||
* | Moved the --pager option to the session object, rather than the report object. | John Wiegley | 2009-02-04 | 1 | -6/+0 | |
| | ||||||
* | Largely removed all of Ledger's use of global variables, for the REPL's sake. | John Wiegley | 2009-02-04 | 1 | -37/+48 | |
| | ||||||
* | Removed the global references to session->report. | John Wiegley | 2009-02-03 | 1 | -4/+1 | |
| | ||||||
* | Updated some internal documentation. | John Wiegley | 2009-02-02 | 1 | -6/+6 | |
| | ||||||
* | Simplified error context handling. | John Wiegley | 2009-02-02 | 1 | -1/+4 | |
| | ||||||
* | Changed many uses of "unsigned long" to std::size_t. | John Wiegley | 2009-02-01 | 1 | -1/+1 | |
| | ||||||
* | Moved chain_xact_handlers into its own file, chain.h and chain.cc. | John Wiegley | 2009-02-01 | 1 | -4/+0 | |
| | ||||||
* | Restored the --pager option. | John Wiegley | 2009-02-01 | 1 | -1/+1 | |
| | ||||||
* | Inspired by Omari Norman, I've rewritten main.cc so it's easy to approach. | John Wiegley | 2009-01-31 | 1 | -0/+2 | |
| | ||||||
* | Added documentation stubs for all include files and classes. | John Wiegley | 2009-01-31 | 1 | -0/+19 | |
| | ||||||
* | Created a new stream.h file for dealing with output streaming. | John Wiegley | 2009-01-30 | 1 | -53/+54 | |
| | ||||||
* | Changed the order in which options are processed, to provide for the correct | John Wiegley | 2009-01-21 | 1 | -6/+9 | |
| | | | | | | | | | | | overrides. 1. Global defaults 2. Environment variable settings 3. Initialization file 4. Command-line arguments Whatever is later in the list overrides what is earlier. | |||||
* | Added support for "anonymizing" any report with --anon. | John Wiegley | 2009-01-20 | 1 | -0/+7 | |
| |