summaryrefslogtreecommitdiff
path: root/src/report.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Restored the --average (-A) report optionJohn Wiegley2009-02-151-1/+5
|
* Added a helper method for setting expr optionsJohn Wiegley2009-02-151-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.ccJohn Wiegley2009-02-141-3/+26
|
* Restored the --actual and --real optionsJohn Wiegley2009-02-141-2/+9
|
* Re-enabled periodic reporting options (-M, etc)John Wiegley2009-02-141-5/+32
|
* Enabled --cleared, --uncleared and --pendingJohn Wiegley2009-02-131-3/+14
| | | | | Note that the --uncleared flag includes --pending, since it specifically means "not yet cleared".
* Re-activated the budgeting flagsJohn Wiegley2009-02-131-3/+12
| | | | However, the budget reports themselves still need to be tested.
* Added a "reload" command, for use at the REPLJohn Wiegley2009-02-131-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_dateJohn Wiegley2009-02-131-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 Wiegley2009-02-121-3/+1
|
* Turned on the "emacs" command and budgeting, though neither are tested yet.John Wiegley2009-02-121-0/+7
|
* Rewrote the "entry" command. It's ALIVE!John Wiegley2009-02-111-0/+1
|
* Wired up the "entry" command from 2.x, though it still needs to be ported.John Wiegley2009-02-101-0/+10
|
* Removed an unneeded method declaration.John Wiegley2009-02-101-1/+0
|
* When -V is used, show the market value for the amount as well as the total.John Wiegley2009-02-091-0/+1
|
* Added a new --collapse-if-zero option.John Wiegley2009-02-091-0/+4
|
* Had to step back from a change that was breaking regular reports.John Wiegley2009-02-091-1/+4
|
* Pass amount expression to calc_xacts, to be used for computing the total.John Wiegley2009-02-081-0/+1
|
* Correctly compile the expressions passed to -t and -T.John Wiegley2009-02-081-0/+12
|
* Inverted the default display mode for balance reports. Use -n to collapseJohn Wiegley2009-02-081-1/+6
| | | | them, as this fits better with what -n does for register reports.
* Added support for value expression definitions.John Wiegley2009-02-081-0/+4
| | | | | | | | Example: ] expr f(x) := x + 100 ] expr f(100) 200
* Added stub for --pending report flag.John Wiegley2009-02-081-0/+1
|
* Reimplemented -B, -V, -I and -O.John Wiegley2009-02-071-4/+26
|
* Fixed some #include ordering issues.John Wiegley2009-02-071-1/+1
|
* Renamed escape to quoted, and fixed up the csv report.John Wiegley2009-02-071-1/+1
|
* Allow value expressions to gain access to option settings.John Wiegley2009-02-071-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 Wiegley2009-02-071-3/+21
|
* More revision to the way options are handled; reworked CSV command.John Wiegley2009-02-071-1/+9
|
* Removed --reconcile and --reconcile-date.John Wiegley2009-02-071-2/+0
|
* Moved the --abbrev-len option to report_t.John Wiegley2009-02-061-0/+1
|
* Removed the nearly unknown --descend and --descend-if options.John Wiegley2009-02-061-2/+0
|
* Restored all the option handlers from 2.6.2, but not the options themselves.John Wiegley2009-02-061-670/+144
|
* Moved --pager handler back into report_t.John Wiegley2009-02-051-0/+2
|
* Greatly simplified the way option and command handlers are defined.John Wiegley2009-02-051-215/+188
|
* Support using Ledger as a script interpretor.John Wiegley2009-02-051-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 Wiegley2009-02-051-5/+58
|
* Removed all references to the old binary cache.John Wiegley2009-02-041-8/+0
|
* Moved the --pager option to the session object, rather than the report object.John Wiegley2009-02-041-6/+0
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-37/+48
|
* Removed the global references to session->report.John Wiegley2009-02-031-4/+1
|
* Updated some internal documentation.John Wiegley2009-02-021-6/+6
|
* Simplified error context handling.John Wiegley2009-02-021-1/+4
|
* Changed many uses of "unsigned long" to std::size_t.John Wiegley2009-02-011-1/+1
|
* Moved chain_xact_handlers into its own file, chain.h and chain.cc.John Wiegley2009-02-011-4/+0
|
* Restored the --pager option.John Wiegley2009-02-011-1/+1
|
* Inspired by Omari Norman, I've rewritten main.cc so it's easy to approach.John Wiegley2009-01-311-0/+2
|
* Added documentation stubs for all include files and classes.John Wiegley2009-01-311-0/+19
|
* Created a new stream.h file for dealing with output streaming.John Wiegley2009-01-301-53/+54
|
* Changed the order in which options are processed, to provide for the correctJohn Wiegley2009-01-211-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 Wiegley2009-01-201-0/+7
|