summaryrefslogtreecommitdiff
path: root/src/global.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fixes to the way annotated prices are displayedJohn Wiegley2009-02-241-1/+2
|
* The Great Renaming, Part IIJohn Wiegley2009-02-231-7/+7
| | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
* Fixed bug: -- was not stopping option processingJohn Wiegley2009-02-221-3/+5
|
* The --help (-h, -H) options now visit the man pageJohn Wiegley2009-02-211-0/+28
|
* Added --start-of-week option, used with --weeklyJohn Wiegley2009-02-211-0/+2
| | | | | For example, --start-of-week=monday can be used to report weeks that begin on Mondays.
* Don't use auto-widths for widths explicitly givenJohn Wiegley2009-02-201-21/+40
|
* Rewrote the equity command, which is working againJohn Wiegley2009-02-201-6/+7
| | | | | | The old implementation used an account formatter, and was very specialized. The new is done as a transaction filter, and works along with everything else, eliminating bugs special to the equity report.
* Auto-size register report based on COLUMNSJohn Wiegley2009-02-191-0/+36
|
* The sequence -M -p 2004 now equals -p 2004 -MJohn Wiegley2009-02-191-9/+9
|
* Added --args-only flags, to ignore init and envJohn Wiegley2009-02-161-4/+9
|
* Normalized handling of several report optionsJohn Wiegley2009-02-151-16/+3
|
* Added a "reload" command, for use at the REPLJohn Wiegley2009-02-131-19/+1
| | | | | | | 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.
* Re-enabled some code, and removed a bunch of deadwood.John Wiegley2009-02-121-4/+0
|
* Fixed the use of --effective and --date-format (-y).John Wiegley2009-02-091-0/+8
|
* pyinterp.cc shares global session; accept full paths passed to --import.John Wiegley2009-02-081-1/+12
|
* If a ledger file is specified in .ledgerrc, ignore the environment.John Wiegley2009-02-081-2/+3
|
* If LEDGER_FILE was seen, ignore LEDGER.John Wiegley2009-02-081-6/+12
|
* Inverted the default display mode for balance reports. Use -n to collapseJohn Wiegley2009-02-081-2/+0
| | | | them, as this fits better with what -n does for register reports.
* Threw away the "multiple parser" infrastructure.John Wiegley2009-02-071-5/+4
|
* Allow value expressions to gain access to option settings.John Wiegley2009-02-071-19/+27
| | | | | | | | | | 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 Wiegley2009-02-071-5/+7
|
* When in the REPL, consider each new command a new "command-line".John Wiegley2009-02-061-1/+3
|
* Don't push and pop reports unless at a REPL.John Wiegley2009-02-061-3/+3
|
* Restored all the option handlers from 2.6.2, but not the options themselves.John Wiegley2009-02-061-82/+110
|
* Moved --pager handler back into report_t.John Wiegley2009-02-051-2/+5
|
* Greatly simplified the way option and command handlers are defined.John Wiegley2009-02-051-45/+38
|
* Moved work.cc and global_scope_t into a new global.cc file.John Wiegley2009-02-051-0/+410