Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Moved work.cc and global_scope_t into a new global.cc file. | John Wiegley | 2009-02-05 | 1 | -273/+1 | |
| | ||||||
* | Moved much of the main.cc code into a new global_scope_t class. | John Wiegley | 2009-02-05 | 1 | -150/+161 | |
| | ||||||
* | Support using Ledger as a script interpretor. | John Wiegley | 2009-02-05 | 1 | -78/+216 | |
| | | | | | The file must begin with '#!/usr/bin/env ledger --script'. You can add a -f option to the options, but it must come before --script. | |||||
* | Reworked how the REPL is handled. | John Wiegley | 2009-02-05 | 1 | -146/+175 | |
| | ||||||
* | Added proper handling of SIGINT (C-c) and SIGPIPE (pager quits). | John Wiegley | 2009-02-04 | 1 | -10/+10 | |
| | ||||||
* | Added code to quit more gracefully. Ctrl-C still needs work. | John Wiegley | 2009-02-04 | 1 | -5/+23 | |
| | ||||||
* | Minor fixes to the REPL when using libedit. | John Wiegley | 2009-02-04 | 1 | -1/+1 | |
| | ||||||
* | Added structural support in main() for using a REPL. | John Wiegley | 2009-02-04 | 1 | -74/+187 | |
| | ||||||
* | Removed the global references to session->report. | John Wiegley | 2009-02-03 | 1 | -14/+17 | |
| | ||||||
* | Removed the binary caching code, and the XML, QIF and Gnucash parsers. | John Wiegley | 2009-02-03 | 1 | -1/+0 | |
| | ||||||
* | Added a comment. | John Wiegley | 2009-02-03 | 1 | -0/+1 | |
| | ||||||
* | Corrected a display error when showing error context. | John Wiegley | 2009-02-03 | 1 | -2/+6 | |
| | ||||||
* | Updated some internal documentation. | John Wiegley | 2009-02-02 | 1 | -52/+55 | |
| | ||||||
* | Removed report_error() function and reordered context for parsing errors. | John Wiegley | 2009-02-02 | 1 | -1/+2 | |
| | ||||||
* | Simplified error context handling. | John Wiegley | 2009-02-02 | 1 | -1/+1 | |
| | ||||||
* | Fixed the way the pager process was being handled. | John Wiegley | 2009-02-01 | 1 | -0/+3 | |
| | ||||||
* | Inspired by Omari Norman, I've rewritten main.cc so it's easy to approach. | John Wiegley | 2009-01-31 | 1 | -306/+100 | |
| | ||||||
* | Removed unnecessary #ifdef block. pyinterp.h now guards itself. | John Wiegley | 2009-01-31 | 1 | -2/+0 | |
| | ||||||
* | Created a new stream.h file for dealing with output streaming. | John Wiegley | 2009-01-30 | 1 | -168/+32 | |
| | ||||||
* | Switched over to using irrxml for parsing XML, rather than expat. | John Wiegley | 2009-01-24 | 1 | -4/+0 | |
| | ||||||
* | Changed grammatical tense in two tracing statements. | John Wiegley | 2009-01-23 | 1 | -1/+1 | |
| | ||||||
* | When Python support is present, use a session_t object which is derived from | John Wiegley | 2009-01-23 | 1 | -0/+7 | |
| | | | | python_interpreter_t, so that Python can provide value expression definitions. | |||||
* | Moved the occurance of "Error:" when reporting context. | John Wiegley | 2009-01-22 | 1 | -2/+2 | |
| | ||||||
* | Made the output from parse/compile commands more consistent. | John Wiegley | 2009-01-22 | 1 | -4/+2 | |
| | ||||||
* | Changed some debug strings when parsing/compiling valexprs. | John Wiegley | 2009-01-22 | 1 | -14/+12 | |
| | ||||||
* | Redid the way command-line arguments are processed. Before, Ledger used - and | John Wiegley | 2009-01-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | -- to mean special things after the command verb was seen. But now, what used to be specified as this: ledger -n reg cash -payable -- shell Is now specified as this: ledger reg -n cash not payable @shell It could also be specified as: ledger -n reg \(cash and not payable\) and @shell | |||||
* | Removed an extra call to session.read_init(). | John Wiegley | 2009-01-22 | 1 | -2/+0 | |
| | ||||||
* | Changed the order in which options are processed, to provide for the correct | John Wiegley | 2009-01-21 | 1 | -18/+43 | |
| | | | | | | | | | | | 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. | |||||
* | Increased copyright range to include 2009. | John Wiegley | 2009-01-20 | 1 | -1/+1 | |
| | ||||||
* | Move handling of all commands to the value expression subsystem, rather than | John Wiegley | 2008-09-18 | 1 | -189/+11 | |
| | | | | handling them explicitly in main.cc. | |||||
* | Restored the 'print' command. | John Wiegley | 2008-09-17 | 1 | -1/+4 | |
| | ||||||
* | Restored --format, --date-format (-y), and --input-date-format options. | John Wiegley | 2008-09-14 | 1 | -1/+4 | |
| | ||||||
* | Removed more dead code and todo comments, and made it possible to stream | John Wiegley | 2008-08-17 | 1 | -2/+2 | |
| | | | | compiled value expressions. | |||||
* | Added back a lot of hacktastic logic from 2.6.1 that made the "bal" command | John Wiegley | 2008-08-14 | 1 | -4/+73 | |
| | | | | | somewhat smart about how it interpreted certain options. Beware, code, for your days are not long-lived. | |||||
* | The balance output now includes the final total. | John Wiegley | 2008-08-13 | 1 | -16/+14 | |
| | ||||||
* | The -f flag now works again. | John Wiegley | 2008-08-13 | 1 | -1/+1 | |
| | ||||||
* | Regular expressions supplied after 'reg' or 'bal' are working again. | John Wiegley | 2008-08-10 | 1 | -10/+6 | |
| | ||||||
* | Fixed a memory leak that would show up if --verify --verbose was running and | John Wiegley | 2008-08-10 | 1 | -3/+2 | |
| | | | | an error or exception occurred. | |||||
* | Moved around most of the files so that source code is in src/, documentation | John Wiegley | 2008-08-05 | 1 | -0/+593 | |
is in doc/, etc. |