summaryrefslogtreecommitdiff
path: root/src/utils.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for --hashes=sha512_256 as another algorithmJohn Wiegley2024-08-051-0/+6
|
* Fix compilation errors with NO_ASSERTAlexis Hildebrandt2023-04-251-1/+2
|
* Move DEBUG_MODE related defines to system.hh.inAlexis Hildebrandt2023-04-151-25/+0
|
* Use #pragma onceAlexis Hildebrandt2023-04-101-4/+1
|
* Bump required Boost version to 1.72Alexis Hildebrandt2023-03-241-4/+0
|
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Change header guard names to use `INCLUDED_` prefixPhil Newton2022-04-061-3/+3
| | | | Fixes #2049
* Use correct int return type for stream input operationskanreki2021-12-081-12/+12
| | | | | | | | This makes it safe to compare results to -1 to indicate EOF, regardless of whether char is considered signed or unsigned; and so eliminates compiler warnings on platforms such as ARM. Fixes bug #2058.
* Remove unused macros HAVE_ACCESS and HAVE_REALPATHTim Landscheidt2019-01-121-5/+1
|
* Unbreak with boost 1.68Jan Beich2018-07-091-0/+4
| | | | | | | | | | | | | In file included from src/main.cc:34: In file included from src/global.h:41: In file included from src/option.h:45: In file included from src/scope.h:45: In file included from src/op.h:45: In file included from src/expr.h:45: In file included from src/exprbase.h:57: src/utils.h:47:10: fatal error: 'boost/uuid/sha1.hpp' file not found #include <boost/uuid/sha1.hpp> ^
* [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 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}/"
* Fix crash when using --trace 10 or aboveAlexis Hildebrandt2014-12-231-1/+1
| | | | | uint8_t is typedef'd to char, thus boost::lexical_cast treats it as such instead of a number.
* Require the use of C++11John Wiegley2014-04-171-4/+0
|
* Replace sha1.cc with boost::uuid::details::sha1David Bremner2014-04-171-4/+7
| | | | | | | | sha1.cc is not redistributable by Debian because the license doesn't permit redistribution of modified versions. This isn't ideal since the ::details namespace is subject to change, but it avoids adding a dependency to ledger.
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Fixed a reference to HAVE_EDITJohn Wiegley2012-05-201-6/+5
|
* Guard against an incorrect use of assert()John Wiegley2012-05-201-1/+1
|
* Changed all ASSERTS_ON -> !NO_ASSERTSJohn Wiegley2012-05-201-6/+3
|
* A few more CMake-related fixesJohn Wiegley2012-05-201-4/+1
|
* Work around collision between Format's put & GraphJohn Wiegley2012-05-201-94/+0
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-25/+32
|
* Switched to Boost.PropertyTree for XML generationJohn Wiegley2012-05-181-45/+0
|
* Added support for building with Clang and libc++ in C++11John Wiegley2012-04-281-4/+4
|
* Added 'lowered' helper functionJohn Wiegley2012-04-041-0/+6
|
* Added to_string(std::size_t)John Wiegley2012-03-131-0/+6
|
* DO_VERIFY() was always true in optimized buildsJohn Wiegley2012-03-111-1/+1
|
* Added to_string() and operator+(const char *, string)John Wiegley2012-03-091-0/+10
|
* Call boost::regex, not boost::make_regexJohn Wiegley2012-03-071-2/+2
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Made the --debug option's argument a regexJohn Wiegley2012-02-281-2/+24
|
* Another fix for Boost.Filesystem v3John Wiegley2011-03-251-1/+3
|
* Support Boost 1.46 and Boost.Filesystem v3John Wiegley2011-02-281-0/+6
|
* Fixed a bug preventing g++ 4.6 from workingJohn Wiegley2011-02-041-1/+1
|
* Fixes for compilation as C++0x codeJohn Wiegley2011-02-041-0/+6
|
* Fixed compiler warnings when building with ClangJohn Wiegley2011-02-041-4/+4
|
* Changes for building with Visual Studio 2008John Wiegley2010-06-151-2/+2
|
* Untabified all source filesJohn Wiegley2010-06-111-83/+83
|
* Enabled timers and logging in NDEBUG buildsJohn Wiegley2010-06-051-3/+3
|
* Allow opt -NDEBUG build to complete without warningsJohn Wiegley2010-06-041-4/+4
|
* Abstracted an sha1sum() functionJohn Wiegley2010-03-061-0/+10
|
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Added ledger::string(Iter, Iter) constructorJohn Wiegley2009-11-171-0/+5
|
* Move a typedef in utils.hJohn Wiegley2009-11-121-4/+4
|
* Use ledger::string only if VERIFY_ON or BOOST_PYTHONJohn Wiegley2009-11-111-0/+8
|