summaryrefslogtreecommitdiff
path: root/src/session.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't add price_db to sources if it doesn't existJohn Wiegley2009-10-311-3/+5
|
* Create a --cache option, for using a binary cacheJohn Wiegley2009-10-311-29/+69
|
* Moved ownership of master account into journal_tJohn Wiegley2009-10-301-49/+7
| | | | The journal_t now completely represents the data part of a session.
* Added serialization methods for most typeJohn Wiegley2009-10-301-0/+20
| | | | | This allows journal_t objects to be completed serialized to disk and deserialized.
* Setting --date-format in ~/.ledgerrc works againJohn Wiegley2009-10-291-5/+7
|
* The default ledger file is now ~/.ledgerJohn Wiegley2009-10-281-2/+10
|
* Rewrote the way date and time I/O is managedJohn Wiegley2009-10-251-0/+2
|
* Split commodity.h/cc into three filesJohn Wiegley2009-06-241-0/+1
| | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management
* Restored --download, although not done yetJohn Wiegley2009-06-241-4/+8
| | | | | | The problem at this point is that it's recording prices in the price database multiple times; it should only need to download a price for each commodity once per day.
* Restored --percent option, added baseline testJohn Wiegley2009-06-211-0/+6
|
* When --end is used, set a "terminus" dateJohn Wiegley2009-06-161-15/+0
| | | | | | | This means that final balance valuations (with -V or -X) will be done in terms of the date given to --end, rather than based on the current day. Fixes 647D5DB9-DBBB-47C8-80CE-F3F70E3B0253
* Added new debug option --optionsJohn Wiegley2009-06-021-2/+2
| | | | | This reports which options are in place before invoking a command, and where exactly each option value came from.
* 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
|