Commit Graph

564 Commits

Author SHA1 Message Date
Frank Denis
b1cd4d8cf0 MSVC: run the test suite as a post-build event 2013-10-21 20:10:39 -07:00
Frank Denis
21f5f9790f If wintest.bat is run from srcdir, cd test/default 2013-10-21 20:07:05 -07:00
Frank Denis
4008deed8b Remove $(SolutionDir)src\libsodium\quirks\windows inclusion 2013-10-21 17:52:41 -07:00
Frank Denis
f9aff06dc0 Remove all use of booleans. Because MSVC < 2013. Sigh. 2013-10-21 17:49:48 -07:00
Frank Denis
390f9acc1d Ignore the Build directory 2013-10-21 16:44:36 -07:00
Frank Denis
f5e81693ee Fix wintest.bat usage 2013-10-21 16:31:19 -07:00
Frank Denis
d996d14f1f Import wintest.bat 2013-10-19 21:06:55 -07:00
Frank Denis
e2cbbd325f I guess we are supporting Visual Studio 2010 now. 2013-10-14 17:27:46 -07:00
Frank Denis
c33014cabe Include quirks/windows 2013-10-14 17:21:58 -07:00
Frank Denis
afa49d340c Add stdbool.h for old MSVC. 2013-10-14 17:15:50 -07:00
Frank Denis
81321c8809 Define _SODIUM_C99 as empty on retarded compilers, not only when using C++ 2013-10-14 16:45:02 -07:00
Frank Denis
5bf0027644 Add version number to the libsodium.sln file 2013-10-14 16:36:29 -07:00
Frank Denis
dd9c2ba4b2 Downgrade requirements to MSVC 2010 2013-10-14 16:31:29 -07:00
Frank Denis
fcf4b21149 sha256 IV should be unsigned chars. 2013-10-14 13:43:12 -07:00
Frank Denis
8fa91a91ab Cast CryptGenRandom pointer to (BYTE *) to make MSVC happy when compiling as a C++ project 2013-10-14 13:40:54 -07:00
Frank Denis
6df6be8911 Remove some unneeded includes 2013-10-14 13:38:36 -07:00
Samuel Neves
ad4763a817 Remove extraneous macro 2013-10-14 13:33:20 -07:00
Frank Denis
64729711c4 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Fixed sodium.h install
2013-10-13 12:50:00 -07:00
Frank Denis
bd8cbd3175 Make curve25519-donna-c64 handle non-canonical points like the ref implementation. 2013-10-13 12:49:15 -07:00
Frank Denis
1a52326f09 Merge pull request #88 from xantares/master
Fixed sodium.h install
2013-10-12 15:37:48 -07:00
xantares
c6cd95f716 Fixed sodium.h install 2013-10-12 23:46:37 +02:00
Frank Denis
3863f5bb8d Merge pull request #87 from xantares/master
Fixed headers install
2013-10-10 15:27:46 -07:00
xantares
5f5c82aa2f Fixed headers install 2013-10-10 23:03:07 +02:00
Frank Denis
f9be0ee733 Merge pull request #86 from xantares/mingw
Fix mingw build
2013-10-09 12:14:06 -07:00
xantares
8d0942d5b1 Do not include configured headers 2013-10-09 20:57:32 +02:00
xantares
e2a30a859d Fixed libsodium.def dependency 2013-10-09 19:22:23 +02:00
Frank Denis
9599289ae0 Use HAVE_TI_MODE in portable-jane.h to use (or not) int128_t 2013-10-08 13:10:16 -07:00
Frank Denis
5ae6712192 More C89 compat 2013-10-07 19:58:06 -07:00
Frank Denis
1e4157ad19 blake2b: use only pre-C99 style declarations. 2013-10-07 19:46:32 -07:00
Frank Denis
82c7b125af Define an empty SODIUM_EXPORT if SODIUM_STATIC is defined. 2013-10-07 19:32:58 -07:00
Frank Denis
2c7aba48f3 Use arc4random() in tests if available. 2013-10-06 15:51:45 -07:00
Frank Denis
875f4210ef Check for arc4random() 2013-10-06 15:40:03 -07:00
Frank Denis
008808742b Bump library minor 2013-10-05 14:14:18 -07:00
Frank Denis
8fbbb98847 Be consistent, keep macros and related functions next to each other. 2013-10-05 14:11:57 -07:00
Frank Denis
5e4e3c9ecf Add an empty line. Yeah, that's a fantastic commit. 2013-10-05 14:08:03 -07:00
Frank Denis
8effa1ea88 Export scalarmult_curve25519 constants 2013-10-05 14:06:09 -07:00
Frank Denis
d83a4bdb6c Move back to Xcode.app 2013-10-04 18:36:34 -07:00
Frank Denis
71489f447a Make MSVC parser not panic when it parses a long literal.
Just use the scientific notation instead.
Found by @sneves, thanks!
2013-10-04 14:48:33 -07:00
Frank Denis
da11ba99cc ship sodium.props 2013-10-04 13:27:26 -07:00
Frank Denis
ce22c80116 Merge pull request #79 from sneves/master
Refactor MSVC project files
2013-10-04 13:26:26 -07:00
Samuel Neves
39b992f28a Refactor MSVC project files 2013-10-04 04:47:24 +01:00
Frank Denis
dd89067a94 +libsodium-net 2013-09-30 13:52:30 -07:00
Frank Denis
9c23042cc6 Visual Studio 2013 is supported. 2013-09-30 13:45:43 -07:00
Frank Denis
b9b293c0ab Add msvc scripts to the tarballs 2013-09-30 13:36:31 -07:00
Frank Denis
3890eb1f33 Generate files from .in files before compilation 2013-09-30 13:31:37 -07:00
Frank Denis
e1e6e0cf7e Enable full optimization on MSVC 2013-09-30 12:47:34 -07:00
Frank Denis
64be43d487 MSVC: define inline and NATIVE_LITTLE_ENDIAN for all targets 2013-09-24 14:44:05 -07:00
Frank Denis
cec400d5ad Add Visual Studio project files 2013-09-24 14:33:19 -07:00
Frank Denis
32a8591985 Fix randombytes_salsa20_random.c for MSVC 2013-09-24 14:20:52 -07:00
Frank Denis
26d108d468 MSVC fixes for randombytes_sysrandom.c 2013-09-24 14:09:26 -07:00