summaryrefslogtreecommitdiff
path: root/src/global.h
Commit message (Collapse)AuthorAgeFilesLines
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-3/+3
| | | | | | | | | | | | | | | | These strings are now collected automagically in the file po/ledger.pot. If you'd like to produce a translation, just run this command after building Ledger: msginit -l LOCALE -o LANG.po -i po/ledger.pot Where LOCALE is a string like de or en_GB, and LANG is a short descriptive word for your language. Then send me this .po file so I can commit it to the Ledger sources (alternatively, you could maintain the file in a fork on GitHub), and setup the build script to format and install your new message catalog during a "make install".
* The --help (-h, -H) options now visit the man pageJohn Wiegley2009-02-211-5/+7
|
* Added --args-only flags, to ignore init and envJohn Wiegley2009-02-161-0/+1
|
* Added a "reload" command, for use at the REPLJohn Wiegley2009-02-131-1/+0
| | | | | | | 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.
* pyinterp.cc shares global session; accept full paths passed to --import.John Wiegley2009-02-081-1/+1
|
* Allow value expressions to gain access to option settings.John Wiegley2009-02-071-0/+2
| | | | | | | | | | 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.
* Added some stub options, for --help and friends.John Wiegley2009-02-061-2/+9
|
* Restored all the option handlers from 2.6.2, but not the options themselves.John Wiegley2009-02-061-9/+35
|
* Greatly simplified the way option and command handlers are defined.John Wiegley2009-02-051-12/+7
|
* Moved work.cc and global_scope_t into a new global.cc file.John Wiegley2009-02-051-0/+119