Jeffrey Walton
|
8293570bd4
|
Added self-assignment guards or comment indicating why the check is not needed
|
2015-07-30 13:24:37 -04:00 |
Jeffrey Walton
|
77206baf56
|
Whitespace checkin
|
2015-07-30 13:07:33 -04:00 |
Jeffrey Walton
|
7ad12ab5b0
|
Cleared auto_ptr deprecation warning with C++11 under Debian 8/i686
|
2015-07-30 12:07:26 -04:00 |
Jeffrey Walton
|
a8ca289b00
|
Cleared "signed/unsigned" warning on Debian 8/i686. ROUNDS was already unsigned; suspect this was a compiler or port issue
|
2015-07-30 12:00:25 -04:00 |
Jeffrey Walton
|
4d8ac2db7c
|
Cleared "reference to 'auto_ptr' is ambiguous" error under LLVM's libc++ and C++11
|
2015-07-30 11:25:24 -04:00 |
Jeffrey Walton
|
8c63032865
|
Cleared "name defined in alias declaration must be an identifier" error under LLVM's libc++ and C++11
|
2015-07-30 11:24:41 -04:00 |
Jeffrey Walton
|
60291122ae
|
Cleared "no member named 'unique_ptr' in namespace 'std'" error under C++11 on OS X
|
2015-07-30 11:15:51 -04:00 |
Jeffrey Walton
|
e5171450e2
|
Fixed validation failure due to collision of type sizes between int and long
|
2015-07-30 10:57:25 -04:00 |
Jeffrey Walton
|
5a35640912
|
Added validat0.cpp and moved bit tests into it. Provided tests for SafeConvert. Removed "using namespace std" from test sources (auto_ptr causes a collision becuase std:: provides it in C++03, but CryptoPP:: provides it in C++11
|
2015-07-30 10:36:49 -04:00 |
Jeffrey Walton
|
264018e8ec
|
Suppressed "sign comparison" warning under GCC and Clang
|
2015-07-30 09:14:43 -04:00 |
Jeffrey Walton
|
33e6a62c5e
|
Reverted to previous SafeConvert code. Its not as efficient as it could be, but it is darn sure correct. Self-tests for the verification to follow
|
2015-07-30 08:38:28 -04:00 |
Jeffrey Walton
|
e507a4136e
|
Fixed "signed/unsigned" conversion warning when "-DDEBUG" defined
|
2015-07-30 03:51:17 -04:00 |
Jeffrey Walton
|
f61577af9d
|
Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files
|
2015-07-30 03:30:27 -04:00 |
Jeffrey Walton
|
3ad53d9b68
|
Added stdcpp.h header
|
2015-07-30 02:39:26 -04:00 |
Jeffrey Walton
|
9d579ad208
|
Added CRYPTOPP_ASSERT to SafeConvert result because FileSink::Put2 does not throw. Maybe Put2 should work with std::streamsize::max() size blocks
|
2015-07-30 02:37:59 -04:00 |
Jeffrey Walton
|
978b7149f2
|
Removed USING_NAMESPACE(std). Switch cout and friends to use std::cout
|
2015-07-29 23:12:44 -04:00 |
Jeffrey Walton
|
414b673706
|
Added test for T1 is signed
|
2015-07-29 22:37:36 -04:00 |
Jeffrey Walton
|
d41009f1dc
|
Added script to clean Visual Studio artifacts
|
2015-07-29 13:45:54 -04:00 |
Jeffrey Walton
|
ae0984b4b1
|
Cleaned up tests for OS X, TR1 names spaces and ancient versus modern libstdc++ and libc++. Thanks to Jonathan Wakely for devising the clever test
|
2015-07-29 13:37:52 -04:00 |
Jeffrey Walton
|
becea0ef8d
|
Cleared "'register' storage class specifier is deprecated" warning under C++11
|
2015-07-29 11:22:33 -04:00 |
Jeffrey Walton
|
2936447d05
|
Updated IntToString and SafeConvert to squash the "signed/unsigned" warnings once and for all. Removed the specializations that caused more trouble than they were worth. (If all platforms offered size_t and ssizeT the same way, specializations would have been the preferred solution
|
2015-07-29 06:33:41 -04:00 |
Jeffrey Walton
|
ffc5c11555
|
Improved comment on xorbuff and GCC's selection of vmovdqa
|
2015-07-28 20:36:22 -04:00 |
Jeffrey Walton
|
0b8ef06e08
|
Updated intstall.txt to use'egrep "(error|FAILED)\'
|
2015-07-28 19:07:23 -04:00 |
Jeffrey Walton
|
48187e4fe6
|
Updated intstall.txt to include a Build section and Install section
|
2015-07-28 18:48:47 -04:00 |
Jeffrey Walton
|
e79ae73295
|
Finished alloca cleanup under the BSDs
|
2015-07-28 18:18:56 -04:00 |
Jeffrey Walton
|
697ccb452b
|
Issue 19 and comments on the 05076dbd
|
2015-07-28 18:00:19 -04:00 |
Jeffrey Walton
|
cffba26fa1
|
Fixed compiler error under OpenBSD for missing "alloca"
|
2015-07-27 19:43:43 -04:00 |
Jeffrey Walton
|
185a2c8e83
|
Used pragmas to disable the deprecated warnings under Visual Studio rather than _WINSOCK_DEPRECATED_NO_WARNINGS. Using _WINSOCK_DEPRECATED_NO_WARNINGS could cross-pollintae out of the library and into user code
|
2015-07-27 19:05:53 -04:00 |
Jeffrey Walton
|
383d9636a8
|
Defined out the stuff that cross-polinated during testing
|
2015-07-27 19:03:14 -04:00 |
Jeffrey Walton
|
05076dbdea
|
_WINSOCK_DEPRECATED_NO_WARNINGS was defined before including Winsock gear to avoid the warnings and the rewrite. Being tracked at GitHub, Issue 19, https://github.com/weidai11/cryptopp/issues/19
|
2015-07-27 18:05:08 -04:00 |
Jeffrey Walton
|
d76a974625
|
Added guard based on std::uncaught_exception so the class does not throw in an exception handler
|
2015-07-27 17:26:45 -04:00 |
Jeffrey Walton
|
836cf237cf
|
Fixed compile error due to MS using _MSC_VER rather than __cplusplus
|
2015-07-27 16:46:25 -04:00 |
Jeffrey Walton
|
25cc4c2db1
|
Fixed compile error on MinGW due to including <alloca.h>
|
2015-07-27 16:36:05 -04:00 |
Jeffrey Walton
|
ab33799f5a
|
Added missing <limits> for MinGW compile
|
2015-07-27 16:18:43 -04:00 |
Jeffrey Walton
|
69afee37b0
|
Fixed compiler error due to reversing ifdef and ifdef for CRYPTOPP_UNIX_AVAILABLE
|
2015-07-27 16:15:46 -04:00 |
Jeffrey Walton
|
6cf9b6e081
|
Updated comment on reason for the gyrations when including <memory>
|
2015-07-27 16:10:20 -04:00 |
Jeffrey Walton
|
03f36f8655
|
Placed guards on <alloca.> include
|
2015-07-27 16:07:46 -04:00 |
Jeffrey Walton
|
ef318d5423
|
Fixed compiler errors on Apple due to cross product of {C++03,C++11} x {libc++, libstdc++}. It included bringing in the correct <memory> in <stdcpp.h>, and then only including <stdcpp.h> when <memory> was needed.
|
2015-07-27 16:01:55 -04:00 |
Jeffrey Walton
|
418dd2a870
|
Fixed #error left in header that was used for testing
|
2015-07-27 14:44:55 -04:00 |
Jeffrey Walton
|
8dd3a77e11
|
Fixed compiler error " error: missing binary operator before token 'defined'"
|
2015-07-27 14:43:18 -04:00 |
Jeffrey Walton
|
23d28aa123
|
Fixed complier error "error: missing ')' after 'defined'"
|
2015-07-27 14:41:13 -04:00 |
Jeffrey Walton
|
c42947e19b
|
Rearranged includes for consistency after testing
|
2015-07-27 13:03:18 -04:00 |
Jeffrey Walton
|
efcc05e615
|
Fixed compiler error "exception specification in declaration does not match previous declaration" under Clang
|
2015-07-27 12:45:22 -04:00 |
Jeffrey Walton
|
5eff653a54
|
Added guard and specialization for APple with and without "-std=c++11"
|
2015-07-27 12:40:06 -04:00 |
Jeffrey Walton
|
e40ff65269
|
Fixed spelling error: __cpluplus → __cplusplus
|
2015-07-27 09:40:36 -04:00 |
Jeffrey Walton
|
6b2129afb3
|
Added "include <alloca.h>" due to compile failure on Cygwin
|
2015-07-27 02:06:11 -04:00 |
Jeffrey Walton
|
69098d8cf2
|
Added "include <cryptlib.h>" due to Cygwin not picking up the CRYPTOPP_CXX11 define
|
2015-07-27 01:35:45 -04:00 |
Jeffrey Walton
|
66ff5e14f1
|
Improved GCC test by adding "__GNUC__ >= 5"
|
2015-07-27 01:32:10 -04:00 |
Jeffrey Walton
|
f8fc7562f1
|
Added TODO message on the throw dtors
|
2015-07-27 01:22:41 -04:00 |
Jeffrey Walton
|
9533f52714
|
Added CRYPTOPP_THROW to ThreadLocalStorage dtor
|
2015-07-27 01:19:27 -04:00 |