summaryrefslogtreecommitdiff
path: root/src/session.cc
Commit message (Collapse)AuthorAgeFilesLines
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|
* Changed the way that account balances are computedJohn Wiegley2009-03-061-1/+6
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-1/+4
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-5/+5
| | | | | | | | | | | | | | | | 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".
* Allow value expressions access to session optionsJohn Wiegley2009-02-241-0/+4
|
* Added "date" valexpr to session, for bal -VJohn Wiegley2009-02-241-0/+5
|
* The Great Renaming, Part IIJohn Wiegley2009-02-231-13/+13
| | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
* Added --exchange (-x) optionJohn Wiegley2009-02-221-0/+5
| | | | | | | This is like -V, except it lets you specify the goal commodity to report in terms of, for example: reg -x CAD
* Enabled --current optionJohn Wiegley2009-02-201-0/+5
|
* Added a --strict session optionJohn Wiegley2009-02-191-1/+5
| | | | | | | When enabled, if any accounts or commodities are seen in an uncleared transaction, which were not seen previously in a cleared or pending transaction or a textual directive dealing with accounts or commodities, a warning is generated about the unknown item.
* Always perform tilde expansion on input pathnamesJohn Wiegley2009-02-181-7/+9
|
* Split up session_t::reread_journal_files()John Wiegley2009-02-151-3/+1
| | | | | You now call session_t::close_journal_files() followed by session_t::read_journal_files().
* Added a "reload" command, for use at the REPLJohn Wiegley2009-02-131-33/+63
| | | | | | | 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.
* Break libledger_data's dependency on session_t.John Wiegley2009-02-091-1/+3
|
* Removed reference to session_t from the iterators module.John Wiegley2009-02-091-1/+1
|
* Added support for value expression definitions.John Wiegley2009-02-081-1/+2
| | | | | | | | Example: ] expr f(x) := x + 100 ] expr f(100) 200
* Added --leeway option (for quote downloading) into session_t.John Wiegley2009-02-071-0/+3
|
* Threw away the "multiple parser" infrastructure.John Wiegley2009-02-071-103/+15
|
* Allow value expressions to gain access to option settings.John Wiegley2009-02-071-20/+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-1/+1
|
* Moved the --abbrev-len option to report_t.John Wiegley2009-02-061-2/+1
|
* Restored all the option handlers from 2.6.2, but not the options themselves.John Wiegley2009-02-061-142/+55
|
* Moved --pager handler back into report_t.John Wiegley2009-02-051-5/+0
|
* Greatly simplified the way option and command handlers are defined.John Wiegley2009-02-051-1/+0
|
* Moved much of the main.cc code into a new global_scope_t class.John Wiegley2009-02-051-4/+0
|
* Don't give an error if the init file cannot be found.John Wiegley2009-02-051-14/+10
|
* Removed all references to the old binary cache.John Wiegley2009-02-041-24/+2
|
* Clear the master account totals after a report is done.John Wiegley2009-02-041-2/+2
|
* Moved the --pager option to the session object, rather than the report object.John Wiegley2009-02-041-0/+5
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-64/+31
|
* Simplified the textual parser, and improved metadata support.John Wiegley2009-02-041-0/+2
|
* Removed the binary caching code, and the XML, QIF and Gnucash parsers.John Wiegley2009-02-031-0/+3
|
* Updated some internal documentation.John Wiegley2009-02-021-4/+4
|
* Added support for metadata and tagging, and made regexs a first-class type.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-27/+50
|
* Fixed some tracing labels.John Wiegley2009-01-301-2/+2
|
* Added support for Unicode text in Ledger files, thanks to 'utfcpp', which canJohn Wiegley2009-01-231-2/+2
| | | | be located at http://utfcpp.sourceforge.net.
* Changed grammatical tense in two tracing statements.John Wiegley2009-01-231-1/+1
|
* Changed the order in which options are processed, to provide for the correctJohn Wiegley2009-01-211-2/+0
| | | | | | | | | | | 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.
* Resolve outstanding stdin parsing issues by buffering the data.John Wiegley2009-01-211-1/+17
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Added the concept of a "display_total", used for showing the values in theJohn Wiegley2009-01-191-3/+3
| | | | | totals column of both the register and balance reports. This is different from the internal calculated total, which is still "total_expr".
* Output newlines between entries using format strings, not hard-coded.John Wiegley2009-01-141-1/+1
|
* Factored common parts of entry_t and xact_t into new item_tJohn Wiegley2008-09-191-2/+2
|
* Don't use single code format characters anymore. Access to object detailsJohn Wiegley2008-09-181-5/+5
| | | | will now always be done with "%(identifier)".
* Restored the 'print' command.John Wiegley2008-09-171-1/+1
|
* Corrected the formatting of second-lines in the register report.John Wiegley2008-08-141-1/+1
|
* The -f flag now works again.John Wiegley2008-08-131-1/+1
|
* Changed the default output date format in register reports from 2008-08-13 toJohn Wiegley2008-08-131-3/+10
| | | | | | 08-Aug-13. This allows for the account name to be one character wider, while the century was never significant in people's minds, whereas the change in months between two transactions sometimes is.
* The register report is now mostly displaying multi-line balances correctly.John Wiegley2008-08-101-2/+4
| | | | It still shows lots even when --lots isn't specified, though.