Commit Graph

  • f8fc7562f1 Added TODO message on the throw dtors Jeffrey Walton 2015-07-27 01:22:41 -0400
  • 9533f52714 Added CRYPTOPP_THROW to ThreadLocalStorage dtor Jeffrey Walton 2015-07-27 01:19:27 -0400
  • bd3a67034d Cleared "auto_ptr is deprecated" warning. Switch to unique_ptr when C++11 is in effect Jeffrey Walton 2015-07-27 01:07:55 -0400
  • 9de95b4400 Cleared "auto_ptr is deprecated" warning. Switch to unique_ptr when C++11 is in effect Jeffrey Walton 2015-07-27 00:37:22 -0400
  • f017391174 Cleared "auto_ptr is deprecated" warning. Switch to unique_ptr when C++11 is in effect Jeffrey Walton 2015-07-27 00:28:05 -0400
  • 23f59f6b28 Added tests for Intel compilers. Tightened tests on GCC since the others claim to be GCC, but fail to compile programs that GCC can compile Jeffrey Walton 2015-07-27 00:17:41 -0400
  • cebf5906a9 Added "-Wcast-align" when CRYPTOPP_NO_UNALIGNED_DATA_ACCESS is in effect. Commented out at the moment because its very noisy Jeffrey Walton 2015-07-26 23:47:46 -0400
  • 8e868bf2e5 Tuned preprocessor tests. Added CRYPTOPP_THROW to AlgorithmParametersBase Jeffrey Walton 2015-07-26 21:57:10 -0400
  • 46edae68a5 Added C++11 R-value and noexcept feature detection Jeffrey Walton 2015-07-26 20:36:24 -0400
  • 8ea014437c Added additional information Jeffrey Walton 2015-07-26 17:33:07 -0400
  • 378461b525 Cleared compiler error when compiling with "-DDEBUG" Jeffrey Walton 2015-07-26 16:28:04 -0400
  • b7de164d62 Cut-in CRYPTOPP_ASSERT in all remaining header and source files Jeffrey Walton 2015-07-26 16:03:14 -0400
  • 7b64ca489a Added "trap.h" include for header and source files that assert Jeffrey Walton 2015-07-26 15:51:16 -0400
  • f4a584da6e Added comment about test.cpp and DebugTrapHandler for example code Jeffrey Walton 2015-07-26 15:26:47 -0400
  • 30b706316b Cleared "signed/unsigned" warning introduced by 1997c21b37 under GCC. The ultimate fix is to guard the std::streamsize specialization to ensure Microsoft compilers don't see it Jeffrey Walton 2015-07-26 13:56:45 -0400
  • fedd08f15c Cleared compiler error due to use of "LARGE_INTEGER freq = { .QuadPart = 0 };". 32-bit and 64-bit compilers accept "{ {0,0} }". Note the original code was OK, and we were probably woking around a GCC issue Jeffrey Walton 2015-07-26 13:50:16 -0400
  • 5db65c051b Cleared "conversion from 'const int' to 'CryptoPP::word16'" under MSVC Jeffrey Walton 2015-07-26 12:52:13 -0400
  • 5eefa99e68 Cleared truncation warning under MSVC Jeffrey Walton 2015-07-26 12:01:57 -0400
  • 1997c21b37 Cleared "explicit specialization has already been defined" under MSVC and Visual Studio 2015 Jeffrey Walton 2015-07-26 11:27:36 -0400
  • 5ab200bb68 Added Install.txt to 'make dist' recipe Jeffrey Walton 2015-07-26 02:33:46 -0400
  • 10ef75bc69 Added info on licensing information Jeffrey Walton 2015-07-26 02:31:00 -0400
  • be5f44abb8 Added "algorithms and schemes" Jeffrey Walton 2015-07-26 02:29:24 -0400
  • 7f9af128cc Added info on CRYPTOPP_NO_UNALIGNED_DATA_ACCESS in config.h Jeffrey Walton 2015-07-26 02:28:48 -0400
  • 805df006b1 Added info on where to report problems Jeffrey Walton 2015-07-26 02:18:22 -0400
  • 534aa3c665 Added Install.txt Jeffrey Walton 2015-07-26 02:16:34 -0400
  • e6e1ce66f8 Cleared "signed/unsigned" warning under GCC 4.8 Jeffrey Walton 2015-07-26 01:40:57 -0400
  • 6f4e331cf0 Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned) Jeffrey Walton 2015-07-26 01:23:52 -0400
  • c109e8dd28 Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned) Jeffrey Walton 2015-07-26 01:17:36 -0400
  • 4d5be2d690 Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned) Jeffrey Walton 2015-07-26 01:14:59 -0400
  • 0be4110fe5 Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned) Jeffrey Walton 2015-07-26 01:09:51 -0400
  • f36dc3d643 Added rules to supress CRYPTOPP_NO_UNALIGNED_DATA_ACCESS warning Jeffrey Walton 2015-07-26 00:39:29 -0400
  • c23c02171d Cleared "signed/unsigned" warning under GCC 4.8 Jeffrey Walton 2015-07-26 00:18:25 -0400
  • fe9948e39a Moved IS_MINGW block back under x86 Jeffrey Walton 2015-07-25 09:27:59 -0400
  • 6ac2555052 Removed -Oz from symbolize. Moved MinGW libraries down before recipes Jeffrey Walton 2015-07-25 09:17:26 -0400
  • d215898465 Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW Jeffrey Walton 2015-07-25 07:23:22 -0400
  • 2c988356a9 Revert "Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW". Jeffrey Walton 2015-07-25 07:19:41 -0400
  • 576749b4bb Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW Jeffrey Walton 2015-07-25 07:16:45 -0400
  • ff8974f1fd Fixed variable expansion issue on Cygwin (other shells on on OSes were fine, like Bash and C shell) Jeffrey Walton 2015-07-25 06:56:38 -0400
  • e75cb8dd8b Backed out commit 1dc875a44a. MinGW complained "error: 'p0' was not declared in this scope". Thanks to Ilya Bizyaev for reporting Jeffrey Walton 2015-07-25 06:15:53 -0400
  • 427b45b4e7 Added some sane defaults for -g and -O if they are missing from CXXFLAGS Jeffrey Walton 2015-07-25 05:03:13 -0400
  • 6bdcaefccd Added test for CRYPTOPP_NO_UNALIGNED_DATA_ACCESS, added warning if its not defined Jeffrey Walton 2015-07-25 04:23:27 -0400
  • 2e37c25acb Removed VC 6.0 dummy function parameter that was also used as a template parametr. Cleared 8 "unused paramter" warnings Jeffrey Walton 2015-07-25 02:21:03 -0400
  • d3b2c03e4e Added missing specialization for i386. Added comment on why we were specializing Jeffrey Walton 2015-07-25 02:06:52 -0400
  • 1dc875a44a Cleared "unused variable" warning under GCC 5.1 Jeffrey Walton 2015-07-25 02:05:38 -0400
  • ac74f8e4df Added default flag detection for ARFLAGS. Added MACHINE,SYSTEM,RELEASE variables for overrides. Added *.dylib and *.dll to clean rule. Added *.s and *.ii to clean rule Jeffrey Walton 2015-07-25 02:04:53 -0400
  • 53eb0f11aa Added check to guard against self-assignment Jeffrey Walton 2015-07-25 02:02:41 -0400
  • ed7566fb8d Fixed mis-detected Fedora 22/i686 Jeffrey Walton 2015-07-25 01:31:37 -0400
  • 65ee664ae5 Cleared "unused variable" warning under GCC 5.1 Jeffrey Walton 2015-07-25 01:15:54 -0400
  • 3f328922ac Cleared "Base class ‘class ByteQueue’ should be explicitly initialized in the copy constructor" warning under GCC 5.1 with -Wextra Jeffrey Walton 2015-07-25 01:13:04 -0400
  • ed0300b143 Cleared "signed/unsigned mismatch" warning under GCC 5.1. The pointer math meant we got a ptrdiff_t back from the expression. Its not clear if we should throw, so an assert was added Jeffrey Walton 2015-07-25 00:38:34 -0400
  • 81af925716 Cleared "Base class ‘class ByteQueue’ should be explicitly initialized in the copy constructor" warning under GCC 5.1 with -Wextra Jeffrey Walton 2015-07-25 00:03:43 -0400
  • d3e441267b Cleared "unused parameter" warning under GCC 5.1 Jeffrey Walton 2015-07-24 23:30:32 -0400
  • d6f5ed03bf Cleaned up and re-organized the makefile. There are now sections, with some comments calling out what various sections do and the work arounds that are in effect Jeffrey Walton 2015-07-24 23:08:18 -0400
  • f4b44dfea8 Added trap.h to Visual Studio projects Jeffrey Walton 2015-07-24 22:46:38 -0400
  • 1160f4163a Cleared "unused parameter" warning with GCC 5.1 and -Wextra Jeffrey Walton 2015-07-23 20:21:17 -0400
  • 6541c7ac72 Cleared compile error due to missing include Jeffrey Walton 2015-07-23 20:15:51 -0400
  • 20e652abbb Cleared "unused parameter" warning with GCC 5.1 and -Wextra Jeffrey Walton 2015-07-23 20:14:15 -0400
  • db40142116 Added -Wno-type-limits for GCC 4.3 and above. Its the GCC equivalent to Clang's -Wno-tautological-compare Jeffrey Walton 2015-07-23 20:04:30 -0400
  • 35b213c085 Cleared "unused parameter" warning with GCC 5.1 and -Wextra Jeffrey Walton 2015-07-23 19:30:14 -0400
  • e87857f67d Cleared "missing initialization in copy constructor" warning with GCC 5.1 and -Wextra Jeffrey Walton 2015-07-23 19:17:07 -0400
  • 5bb0e6fd38 Cleared "unused variable" warning under GCC 5.1 with -Wall Jeffrey Walton 2015-07-23 18:44:51 -0400
  • 504ba0ea87 Cleared "comparison between signed and unsigned integer" warning in SafeConvert by providing template specializations Jeffrey Walton 2015-07-23 18:15:29 -0400
  • 3fd7a239f0 Backed out Clang integrated assembler changes. LLVM Bug 24232 pushed us over the edge. There is some skeleton code remaining for testing. To activate it, perform "make FORCE_ASM=1" Jeffrey Walton 2015-07-23 16:47:03 -0400
  • 07e8319478 Cleared "unused function" warning when using GCC with -Wall Jeffrey Walton 2015-07-23 14:21:06 -0400
  • b2d9be1b80 Cleared "unused variable" warning when using CRYPTOPP_STATIC_ASSERT under GCC. The "__attribute__ ((unused)" was present in GCC 2.95, so it will be available for the GCC's we support. Non-GCC's will get the non-decorated assert Jeffrey Walton 2015-07-23 12:30:13 -0400
  • 929967a042 Added CRYTPOPP_ASSERT to cryptest program. The mods also show how to install a debug trap handler such that if CRYPTOPP_ASSERT fires, the program continues Jeffrey Walton 2015-07-23 10:48:43 -0400
  • 809a3cbb74 Cleared unknown pragma warning under MinGW Jeffrey Walton 2015-07-23 09:09:50 -0400
  • bdb7ea3bf0 Cleared unknown pragma warning under MinGW Jeffrey Walton 2015-07-23 08:52:08 -0400
  • 5af5c553e3 Added default for strip program. Added additional fodder to distclean recipe Jeffrey Walton 2015-07-23 08:39:31 -0400
  • 123ca9b76d Added standard makefile targets, including distclean, dist, install-strip. Removed no-lib recipe because there's a proper dependency rule Jeffrey Walton 2015-07-23 07:50:55 -0400
  • 7b629dcfa6 Cleared UB in cast.cpp due to use of rotVariable. On PowerPC, the specialization that uses inline assembler will activate. The inline assembly uses __rlwnm which takes a mask and does not suffer C/C++ UB Jeffrey Walton 2015-07-23 05:10:12 -0400
  • ac0f94c23a Removed branch from rotlVariable. The mask ensures it stays well defined Jeffrey Walton 2015-07-23 04:06:10 -0400
  • 1303f4bdcc Cutover to CRYPTOPP_ASSERT in misc.h. Posix's behavior of "let's crash the program by raising SIGABRT" in Debug builds has got to be one of the most questionable decisions in the history of computing. The new behavior: if there's a SIGTRAP handler somewhere, then the handler will be invoked. Some platforms, like Apple and Microsoft, provide a default SIGTRAP handler. If there's no SIGTRAP handler, then the program will crash just like it raised a SIGABRT. In this case, there's no effective change in behavior Jeffrey Walton 2015-07-23 03:39:13 -0400
  • 5daa168a93 Cleaned up CRYPTOPP_CLANG_INTEGRATED_ASSEMBLER and WORKAROUND_LLVM_BUG_18916 defines Jeffrey Walton 2015-07-23 03:29:21 -0400
  • cd33142f6c Improved flow of setting variables in makefile Jeffrey Walton 2015-07-23 03:17:18 -0400
  • b3924a7b86 Additional changes to support Clang's integrated assembler. They have not been activated though. Uri and other testers will be able to uncomment the TODO line and everything will work as expected Jeffrey Walton 2015-07-23 02:18:57 -0400
  • e6300f52e2 Removed template specializations for Clang using preprocessor for rotFixed due to LLVM Bug 24226. Removed asserts from __rlwinm because the mask ensures the operation is well defined (see the comments in ppc_intrinsics.h) Jeffrey Walton 2015-07-23 01:53:45 -0400
  • fcd5f6df72 Cleared "invalid operand size" under Clang's integrated assembler. After more testing, this might be applied to other assemblers because Clang is probably correct in this instance Jeffrey Walton 2015-07-22 06:14:37 -0400
  • 29c4310aab Cleared remaining issues related to Clang's integarted assembler parsing of the syntax string Jeffrey Walton 2015-07-22 03:59:21 -0400
  • 6d0dd41eb0 Specialized defines to work with/around Clang integrated assembler. The two defines are WORKAROUND_LLVM_BUG_18916 and CRYPTOPP_USING_CLANG_INTEGRATED_ASSEMBLER. Once the 18916 bug is fixed, the other issues around the integrated assembler will remain Jeffrey Walton 2015-07-22 03:48:10 -0400
  • 931ec17224 Added CRYPTOPP_ASSERT (but its not cut-in yet). It required another file because misc.h needed it. (The other options were to force it into misc.h early or drop it in config.h) Jeffrey Walton 2015-07-22 02:11:52 -0400
  • 2441817708 Improved comment for GCC_DIAGNOSTIC_AWARE Jeffrey Walton 2015-07-21 19:02:11 -0400
  • 3c56063c3f Added CRYPTOPP_CLANG_NO_INTEGRATED_AS as a guard in config.h (disabled by default since integrated-as is default behavior and the bug is active). GNU_ATT_SYNTAX → GNU_AS_ATT_SYNTAX and GNUINTEL_SYNTAX → GNU_AS_INTEL_SYNTAX Jeffrey Walton 2015-07-21 18:05:48 -0400
  • 444d1f1a3b Cut-in to utilize GNU_ATT_SYNTAX and GNU_INTEL_SYNTAX macros. Also see LLVM Bug 18916 (https://llvm.org/bugs/show_bug.cgi?id=18916) Jeffrey Walton 2015-07-21 14:37:55 -0400
  • 5e8b114e58 Added macro to abstract differences in sytax string parsing between GAS and Clang integrated assembler. Also see LLVM Bug 18916 (https://llvm.org/bugs/show_bug.cgi?id=18916) Jeffrey Walton 2015-07-21 13:48:48 -0400
  • 945c358785 Added GNU/GCC a.out artifact Jeffrey Walton 2015-07-21 13:42:48 -0400
  • 818828f127 Cleared warnings under Clang 3.4 with -Wall Jeffrey Walton 2015-07-21 09:43:33 -0400
  • 1e215722bc Removed unneeded additional ODBC libraries from VC8 project files Jeffrey Walton 2015-07-20 13:14:52 -0400
  • f13511947d Whitespace checkin Jeffrey Walton 2015-07-20 12:19:18 -0400
  • d40eee99c0 Ported relevant GNUmakefile changes to GNUmakefile-cross Jeffrey Walton 2015-07-20 06:55:42 -0400
  • d5a6f4c628 Updated comment on why -Wall is only enabled for Clang Jeffrey Walton 2015-07-20 04:16:40 -0400
  • 77556fca7b Backed-off -Wall for GCC due to issues when managing induced warnings when using -Wall. Jeffrey Walton 2015-07-20 03:30:43 -0400
  • 821d467b9e Cleared signed/unsigned warnings under Visual Studio Jeffrey Walton 2015-07-20 01:16:02 -0400
  • 417994ca6a Cleared signed/unsigned warnings under Visual Studio. Jeffrey Walton 2015-07-20 01:15:35 -0400
  • 8e51ab9623 Tightened assert conditions when -DDEBUG is in effect. Jeffrey Walton 2015-07-20 01:15:06 -0400
  • 81aa87df02 Cleared -Wunused-but-set-variable from GCC 4.8 and GCC 5.1. The way to handle separators is via locales and facets Jeffrey Walton 2015-07-20 00:18:54 -0400
  • cf43ed07e3 Revert "Cleared -Wreorder from GCC 4.8 on MinGW" Jeffrey Walton 2015-07-20 00:13:56 -0400
  • a9082aeee0 Cleared -Wreorder from GCC 4.8 on MinGW Jeffrey Walton 2015-07-19 22:34:20 -0400
  • 4b4156e6ba Fixed compile for MinGW Jeffrey Walton 2015-07-19 22:09:35 -0400
  • 94db43de97 Cleared -Wunknown-pragmas under GCC 5.1/Cygwin on Windows Jeffrey Walton 2015-07-19 15:09:04 -0400