summaryrefslogtreecommitdiff
path: root/src/main.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add build support readlineAlexis Hildebrandt2023-06-071-4/+7
|
* Use #cmakedefine01 for system capability checksAlexis Hildebrandt2023-04-151-3/+3
| | | | and reply #ifdev HAVE_ with #if HAVE_
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Use Boost library to read argv as UTF-8 in WindowsDaniel Coonce2021-02-021-0/+8
| | | | | | | Windows uses UTF-16 for command line arguments, so use boost::nowide to convert to UTF-8. Fixes #1986
* Drop conditionals for Boost earlier than 1.49Tim Landscheidt2019-01-171-3/+0
| | | | | | | Ledger requires Boost 1.49 or later and enforces this in CMakeLists.txt. This means BOOST_VERSION will always be 104900 or higher. Also, since Boost 1.46, BOOST_FILESYSTEM_VERSION is 3.
* Use HAVE_EDIT only in main.ccTim Landscheidt2019-01-121-8/+8
|
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* Fix build under Cygwin.Ivan Vanyushkin2016-09-291-1/+1
|
* Fix build under msys32; add Appveyor continuous buildEvan Mallory2016-09-171-1/+1
| | | | | | | | | | | | * Appveyor is a continuous integration platform for Windows that is free for open source projects. See latest test build here: https://ci.appveyor.com/project/Evan/ledger/build/artifacts * Changed WIN32 to _WIN32 because this article http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system claims that it is defined by the greatest number of compilers. * Modified HAVE_ISATTY and other system defines so that system.hh compiles when cmake fails to find the relevant function. * Add missing include in test/unit/t_value.cc Almost all tests fail when you run them on msys32. I will address that in a future PR.
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* 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
|