summaryrefslogtreecommitdiff
path: root/src/global.cc
Commit message (Collapse)AuthorAgeFilesLines
* 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