Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Of course they are public member variables, not functions ... | Jack Lloyd | 2018-02-13 | 1 | -3/+3 |
| | |||||
* | Add BOTAN_DEPRECATED_PUBLIC_MEMBER_FUNCTIONS | Jack Lloyd | 2018-02-13 | 1 | -0/+10 |
| | | | | | | Makes such things easier to find in the future. Also adds BOTAN_NO_DEPRECATED which causes them to be private instead. | ||||
* | Detect compiler architecture at configure time | Jack Lloyd | 2018-02-05 | 1 | -0/+50 |
| | | | | Avoids build confusions like #1442 | ||||
* | Use -m32 for x86-32 builds with GCC | Jack Lloyd | 2018-02-02 | 1 | -0/+1 |
| | | | | | This used to not work but is fine with GCC 4.8 which is the minimum version we support. Fixes #1438 | ||||
* | Avoid using CMAKE_CURRENT_LIST_DIR | Jack Lloyd | 2018-01-19 | 1 | -4/+4 |
| | | | | Blind attempt at fixing GH #1424 | ||||
* | Move Sonar config from build-data to configs | Jack Lloyd | 2018-01-18 | 1 | -16/+0 |
| | | | | Since it is not a template file, nor is it read by configure.py | ||||
* | ABI for Aarch64 crypto | Jack Lloyd | 2018-01-12 | 3 | -0/+5 |
| | |||||
* | Add support for --library-suffix option | Jack Lloyd | 2018-01-12 | 4 | -10/+10 |
| | | | | Fixes GH #1404 | ||||
* | Recognize armv7-a [ci skip] | Jack Lloyd | 2018-01-09 | 1 | -0/+1 |
| | |||||
* | Merge GH #1378 Use OS feature flags instead of OS name for enabling system ↵ | Jack Lloyd | 2018-01-09 | 20 | -83/+84 |
|\ | | | | | | | specific code | ||||
| * | Test OS features by the feature vs the OS name | Jack Lloyd | 2017-12-30 | 20 | -83/+84 |
| | | |||||
* | | Remove CPU specific optimization flags | Jack Lloyd | 2018-01-08 | 26 | -410/+19 |
| | | | | | | | | | | | | | | These are best left to the user to set via CXXFLAGS or --cc-abi-flags Add override if arch ends in in {eb, el, be, le} to set the endian. Avoids an extra file for ppc64le. | ||||
* | | Update configuration information for Intel C++ | Jack Lloyd | 2018-01-04 | 1 | -5/+15 |
| | | | | | | | | This is completely untested and just based on the documentation. | ||||
* | | use range-based for loop instead of std::for_each | Patrik Fiedler | 2018-01-03 | 1 | -0/+1 |
| | | |||||
* | | Add version detection for XLC [ci skip] | Jack Lloyd | 2017-12-31 | 1 | -0/+4 |
|/ | | | | | We don't need it right now but may later and it avoids a scary warning when configuring the build. | ||||
* | Remove BOTAN_FORCE_SEMICOLON macro | Jack Lloyd | 2017-12-30 | 1 | -4/+0 |
| | | | | | | Only needed in two headers (cli.h and test.h) not in the main library. Just change those two uses to not use anonymous namespaces. | ||||
* | Support regexes for OS aliases | Jack Lloyd | 2017-12-30 | 1 | -1/+1 |
| | | | | | Needed for mingw which has unames like mingw32_nt-6.3 and thus varies based on the underlying version. Might be useful elsewhere. | ||||
* | Hack for building on Cygwin (newlib) | Jack Lloyd | 2017-12-28 | 1 | -0/+1 |
| | | | | | | | Newlib hides system functions if __STRICT_ANSI__ is defined, as happens with -std=c++11. To get access to POSIX APIs you must use a -std=gnu variant. However doing that in the build is kind of painful, it's easier to selectively undefine the macro. | ||||
* | Add exceptions to mach_abi_linking groups | Jack Lloyd | 2017-12-23 | 2 | -2/+2 |
| | | | | | Allows avoiding -pthread on Haiku which doesn't support that flag. (Even though it has pthreads, go figure...) | ||||
* | Build improvements | Jack Lloyd | 2017-12-23 | 8 | -6/+4 |
| | | | | | | | | | | Derive the fact that shared libs are not supported from the lack of information about shared object names. If soname_suffix and co are not set -> shared libs are disabled. Disable stack protector by default on OSes where it has proven a problem namely AIX and Haiku. Add --with-stack-protector option to force turning it on. | ||||
* | Enable additional Haiku features | Jack Lloyd | 2017-12-23 | 1 | -1/+3 |
| | |||||
* | Enable shared libs on Haiku | Jack Lloyd | 2017-12-23 | 1 | -1/+2 |
| | | | | Works fine, think this was a problem with their old gcc2 toolchain. | ||||
* | Avoid defining LIB_LINK_CMD if we are not creating a shared object. | Jack Lloyd | 2017-12-23 | 1 | -3/+2 |
| | | | | Makes the output look buggy on non-shared builds | ||||
* | Fix build issue on Haiku | Jack Lloyd | 2017-12-23 | 1 | -0/+2 |
| | | | | Undeprecate it since it seems easy enough to support. | ||||
* | Enable signing X509 structures with rsa-pss | Fabian Weissberg | 2017-12-22 | 1 | -1/+5 |
| | |||||
* | Fix various x509 path validation bugs + path building with ambiguous DNs | Fabian Weissberg | 2017-12-20 | 1 | -16/+18 |
| | | | | Signed-off-by: Fabian Weissberg <[email protected]> | ||||
* | Enable processor specific code in module policies [ci skip] | Jack Lloyd | 2017-12-19 | 3 | -0/+15 |
| | | | | These were added more recently and weren't enabled in the policy files. | ||||
* | Update comment [ci skip] | Jack Lloyd | 2017-12-15 | 1 | -6/+8 |
| | |||||
* | Fix clang macros | Jack Lloyd | 2017-12-14 | 1 | -3/+3 |
| | |||||
* | Address review comments: indent code and fix clang regex | Jack Lloyd | 2017-12-14 | 1 | -38/+36 |
| | |||||
* | Detect the compiler version using the preprocessor instead of command line | Jack Lloyd | 2017-12-14 | 3 | -8/+58 |
| | | | | Fixes #1314 | ||||
* | Remove some unused OS feature flags | Jack Lloyd | 2017-12-13 | 17 | -20/+1 |
| | | | | | We are unlikely to ever use gettimeofday or memset_s going forward. Also MinGW had the wrong flag for VirtualLock | ||||
* | Drop IRIX support | Jack Lloyd | 2017-12-13 | 1 | -9/+0 |
| | | | | | | It turns out that GCC dropped support for IRIX in 4.8, so likely there was never even a C++11 compiler that could have been used to compile 2.x in any case. | ||||
* | Simplify how make flags are set | Jack Lloyd | 2017-12-12 | 1 | -6/+5 |
| | |||||
* | Rename SSE4.x names to avoid underscores | Jack Lloyd | 2017-12-11 | 6 | -12/+12 |
| | | | | | | This breaks how we determine the ISA flags for amalgamation files. The code for doing that is kind of a hack but I don't want to mess with it right now, easier to just rename the ISA internally. | ||||
* | Finish with the CPU feature macros | Jack Lloyd | 2017-12-11 | 1 | -2/+2 |
| | |||||
* | Rename the SSE4 ISA extensions | Jack Lloyd | 2017-12-11 | 6 | -12/+12 |
| | | | | Simplifies macro generation | ||||
* | Further cleanup of macro generation in build.h | Jack Lloyd | 2017-12-11 | 1 | -5/+28 |
| | |||||
* | More simplifications | Jack Lloyd | 2017-12-11 | 1 | -3/+3 |
| | |||||
* | Clean up macro generation | Jack Lloyd | 2017-12-11 | 1 | -7/+23 |
| | |||||
* | Add compiler language flags in build.h header [ci skip] | Jack Lloyd | 2017-12-11 | 1 | -1/+1 |
| | | | | Fixes #1353 | ||||
* | Avoid a warning under AIX make | Jack Lloyd | 2017-12-11 | 1 | -4/+2 |
| | | | | It doesn't like variables that don't expand to anything. | ||||
* | Merge GH #1346 Add for loops to templates, add cmake+bakefile templates | Jack Lloyd | 2017-12-11 | 3 | -10/+148 |
|\ | |||||
| * | Tweak the bakefile output a bit | Jack Lloyd | 2017-12-10 | 1 | -8/+19 |
| | | | | | | | | Multiple files can be listed in the sources {} block, so do that. | ||||
| * | Fix bakefile arch setting for x86-32 | Jack Lloyd | 2017-12-10 | 1 | -1/+1 |
| | | | | | | | | Restrict bakefile to x86 since thats all that is supported. | ||||
| * | Escape the shared build flags for CMake | Jack Lloyd | 2017-12-10 | 1 | -1/+1 |
| | | | | | | | | It needs this for Windows with its declspec syntax | ||||
| * | Use for loops in cmake and bakefile builds | Jack Lloyd | 2017-12-10 | 2 | -13/+36 |
| | | |||||
| * | Use template file to generate bakefile | Jack Lloyd | 2017-12-10 | 1 | -0/+28 |
| | | |||||
| * | Generate the CMake using a template file | Jack Lloyd | 2017-12-10 | 1 | -0/+62 |
| | | | | | | | | Less code in configure.py == betters | ||||
| * | Add basic iteration constructs to template files | Jack Lloyd | 2017-12-10 | 1 | -10/+24 |
| | | | | | | | | Eliminates the last bits of makefile-specific syntax from configure.py |