summaryrefslogtreecommitdiff
path: root/src/main.cc
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Guard against global_scope being NULLJohn Wiegley2012-10-311-1/+2
|
* Fixes Bug 695, ledger ignores --init-fileCraig Earls2012-10-251-0/+1
| | | | | | Handle --init-file as a special command option like the debug options. That wway we can have the argument captured before teh global scope is created.
* Fixed a reference to HAVE_EDITJohn Wiegley2012-05-201-1/+1
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-10/+10
|
* Switch to using Boost.FormatJohn Wiegley2012-05-141-1/+1
|
* Added --verify-memory and missing TRACE_[CD]TOR callsJohn Wiegley2012-03-181-0/+1
|
* Always close the last report output streamJohn Wiegley2012-03-161-0/+1
| | | | Should fix #701
* Guarded against unreachable code warningsJohn Wiegley2012-03-111-1/+4
|
* Make sure not to free global_scope unless --verifyJohn Wiegley2012-03-111-7/+6
|
* Don't clean up at end if not neededJohn Wiegley2012-03-111-0/+1
|
* Use unique_ptr instead of std::auto_ptrJohn Wiegley2012-03-051-1/+1
|
* Started writing Python unit testsJohn Wiegley2012-03-011-3/+4
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Whitespace fixesJohn Wiegley2012-02-211-4/+2
|
* Support Boost 1.46 and Boost.Filesystem v3John Wiegley2011-02-281-0/+2
|
* Changes for building with Visual Studio 2008John Wiegley2010-06-151-0/+2
|
* Untabified all source filesJohn Wiegley2010-06-111-43/+43
|
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Construct global_scope object within the exception handlerJohn Wiegley2009-10-311-4/+10
|
* Improved argument parsing logic used by the REPLJohn Wiegley2009-10-261-15/+0
| | | | | It now handles quoted strings, although it doesn't understand escape sequences yet.
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|
* Fixed a few minor cases of uninitialized variablesJohn Wiegley2009-03-081-1/+1
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-3/+3
|
* Corrected a build error if Python support missingJohn Wiegley2009-03-031-0/+4
|
* Added a "python" command, which invokes Py_MainJohn Wiegley2009-03-031-0/+6
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-1/+1
| | | | | | | | | | | | | | | | 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".
* Always free memory at the end of a runJohn Wiegley2009-02-231-3/+0
| | | | | It turns out this is needed in order to properly close the pager subprocess.
* Fix for systems that don't build with gettextJohn Wiegley2009-02-221-0/+2
|
* Added support for using GNU gettextJohn Wiegley2009-02-211-0/+2
|
* Compilation verification code only with debuggingJohn Wiegley2009-02-161-0/+4
| | | | | | Previously, --verify would work even if the sources were built with default options. However, in the interests of performance, --verify is now only available if --enable-debug was passed to configure.
* Fixed several unused value and param warningsJohn Wiegley2009-02-161-2/+0
|
* Added a "reload" command, for use at the REPLJohn Wiegley2009-02-131-2/+2
| | | | | | | 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.
* If a ledger file is specified in .ledgerrc, ignore the environment.John Wiegley2009-02-081-1/+1
|
* Restored all the option handlers from 2.6.2, but not the options themselves.John Wiegley2009-02-061-2/+2
|
* Greatly simplified the way option and command handlers are defined.John Wiegley2009-02-051-3/+2
|
* Moved work.cc and global_scope_t into a new global.cc file.John Wiegley2009-02-051-273/+1
|
* Moved much of the main.cc code into a new global_scope_t class.John Wiegley2009-02-051-150/+161
|
* Support using Ledger as a script interpretor.John Wiegley2009-02-051-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 Wiegley2009-02-051-146/+175
|
* Added proper handling of SIGINT (C-c) and SIGPIPE (pager quits).John Wiegley2009-02-041-10/+10
|
* Added code to quit more gracefully. Ctrl-C still needs work.John Wiegley2009-02-041-5/+23
|
* Minor fixes to the REPL when using libedit.John Wiegley2009-02-041-1/+1
|
* Added structural support in main() for using a REPL.John Wiegley2009-02-041-74/+187
|
* Removed the global references to session->report.John Wiegley2009-02-031-14/+17
|
* Removed the binary caching code, and the XML, QIF and Gnucash parsers.John Wiegley2009-02-031-1/+0
|
* Added a comment.John Wiegley2009-02-031-0/+1
|
* Corrected a display error when showing error context.John Wiegley2009-02-031-2/+6
|