summaryrefslogtreecommitdiff
path: root/src/system.hh.in
Commit message (Collapse)AuthorAgeFilesLines
* Fix build with Boost 1.85.0Michael Cho2024-04-251-1/+0
| | | | Signed-off-by: Michael Cho <michael@michaelcho.dev>
* Add build support readlineAlexis Hildebrandt2023-06-071-0/+1
|
* boost: Fix compilation warningsAlexis Hildebrandt2023-04-251-1/+1
| | | | Closes #2227
* Reorder system.hh includesAlexis Hildebrandt2023-04-191-15/+12
|
* Move app defines into ledger.hh.inAlexis Hildebrandt2023-04-191-3/+0
|
* Introduce ledger.hhAlexis Hildebrandt2023-04-161-32/+0
|
* Move DEBUG_MODE related defines to system.hh.inAlexis Hildebrandt2023-04-151-0/+23
|
* Use #cmakedefine01 for system capability checksAlexis Hildebrandt2023-04-151-15/+15
| | | | and reply #ifdev HAVE_ with #if HAVE_
* Modernize system.hh.inAlexis Hildebrandt2023-04-151-5/+1
|
* Bump required Boost version to 1.72Alexis Hildebrandt2023-03-241-12/+0
|
* Enforce use of non-deprecated boost::filesystem APIAlexis Hildebrandt2023-02-201-0/+1
| | | | For details see https://www.boost.org/doc/libs/1_81_0/libs/filesystem/doc/deprecated.html
* 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 Boost library to read argv as UTF-8 in WindowsDaniel Coonce2021-02-021-0/+1
| | | | | | | Windows uses UTF-16 for command line arguments, so use boost::nowide to convert to UTF-8. Fixes #1986
* Implement cryptographic access to files using GPGMEMichael Raitza2020-10-301-0/+1
|
* Port to python3Dimitri John Ledkov2019-12-051-1/+0
|
* Switch amounts_map to std::unordered_mapJohn Wiegley2019-03-151-0/+1
|
* Drop support for gcc 2 and earlierTim Landscheidt2019-01-251-27/+0
|
* Remove workaround for isspace() on FreeBSD 4 and earlierTim Landscheidt2019-01-251-5/+0
| | | | | | | FreeBSD 4 was declared end-of-life in 2006 (https://lists.freebsd.org/pipermail/freebsd-security/2006-October/004111.html). Currently, only FreeBSD 11 and 12 are supported (https://www.freebsd.org/security/security.html#sup).
* Remove unused development code related to USE_BOOST_FACETSTim Landscheidt2019-01-171-1/+0
| | | | | The code can be accessed by Git history and reused in a branch if necessary.
* Merge branch 'next' into move-have-editJohn Wiegley2019-01-141-4/+0
|\
| * Merge pull request #1707 from scfc/remove-sys-stat-hJohn Wiegley2019-01-141-1/+0
| |\ | | | | | | Remove unnecessary include for sys/stat.h
| | * Remove unnecessary include for sys/stat.hTim Landscheidt2019-01-121-2/+1
| | |
| * | Merge pull request #1713 from scfc/remove-unicodeobject-hJohn Wiegley2019-01-141-1/+0
| |\ \ | | | | | | | | Remove unnecessary include for unicodeobject.h
| | * | Remove unnecessary include for unicodeobject.hTim Landscheidt2019-01-131-1/+0
| | |/
| * / Remove unused macros HAVE_ACCESS and HAVE_REALPATHTim Landscheidt2019-01-121-3/+1
| |/
* / Use HAVE_EDIT only in main.ccTim Landscheidt2019-01-121-6/+2
|/
* [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-9/+9
| | | | | | | | | | | | * 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]
* Add workaround for Boost.Python compile errorsAlexis Hildebrandt2015-09-151-0/+12
| | | when using version 1.59.0
* [ledger] Remove --cache optionAlexis Hildebrandt2015-02-181-79/+0
| | | | and all boost serialisation related code.
* Add pre-release info to --version outputAlexis Hildebrandt2015-01-201-0/+1
| | | | Bump version to 3.1.1-alpha.1
* 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}/"
* make --columns default to terminal width, as returned by ioctl()Stefano Zacchiroli2014-10-131-0/+5
| | | | | | | | | | | If set, the COLUMNS environment variable will take precedence over terminal width. However, please note that COLUMNS is usually *not* exported by shells to child processes, so in most cases COLUMNS will be undefined for ledger---hence the motivation for this change. Terminal width is queried using ioctl() on stdin. For the sake of portability the querying is done only on platform where ioctl() is detected as supported at compile-time.
* Library GMP is not yet ready for GCC 4.9, as described at bottom of pagethdox2014-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | http://gcc.gnu.org/gcc-4.9/porting_to.html See extract below: The <cstddef> header was updated for C++11 support and this breaks some libraries which misuse macros meant for internal use by GCC only. For instance with GMP versions up to 5.1.3, you may see: /usr/include/c++/4.9.0/cstddef:51:11: error: ‘::max_align_t’ has not been declared using ::max_align_t; ^ Another possible error is: someheader.h:99:13: error: ‘ptrdiff_t’ does not name a type A workaround until libraries get updated is to include <cstddef> or <stddef.h> before any headers from that library.
* Require the use of C++11John Wiegley2014-04-171-2/+0
|
* Replace sha1.cc with boost::uuid::details::sha1David Bremner2014-04-171-1/+0
| | | | | | | | 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
|
* fix ledger xml output, remove ledger json commandJohann Klähn2013-03-081-1/+0
| | | | | | | | | | | | As the format used by property trees to represent valid JSON and that for valid XML is too different and given that there are more requests for valid XML output I decided to pursue a quick fix and remove the json command in favor of a working xml command. See bug #782, #909, recent discussion on mailing list. JSON support is postponed until I or someone else finds time to work on this or the python bindings are more stable.
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Removed an unnecessary #defineJohn Wiegley2012-05-201-1/+0
|
* A few more CMake-related fixesJohn Wiegley2012-05-201-1/+1
|
* Work around inclusion ordering bug with XpressiveJohn Wiegley2012-05-201-0/+3
|
* Work around collision between Format's put & GraphJohn Wiegley2012-05-201-11/+2
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-10/+53
|
* Switched to Boost.PropertyTree for XML generationJohn Wiegley2012-05-181-0/+4
|