Commit Graph

94 Commits

Author SHA1 Message Date
Alden Torres 1fe763483e minor lint oriented refactor, moved a couple of functions to aux 2019-03-11 14:38:26 +01:00
arvidn 7f2a78d0c9 make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
arvidn c75dc073e1 update CI branches 2019-01-13 14:49:08 +01:00
Calum Lind c76e9cc5e1 Change Jamfile default openssl path on Windows
The widely used Windows OpenSSL package[1] uses C:\OpenSSL-Win[32|64] as
the install location so set this as default in Jamfile for Windows. It
also means that the appveyor builds can be simplified by using their
installed OpenSSL.

Mingw is set to the same location so remove seperate specification.

[1]: https://slproweb.com/products/Win32OpenSSL.html
2018-12-05 14:02:17 +01:00
Calum Lind 5d711f4929 prettier format appveyor.yml 2018-12-05 14:02:17 +01:00
arvidn eab1055938 more warnings on appveyor 2018-11-18 11:49:45 +01:00
Eugene Shalygin ef6db120a3 Decrease MSBuild verbosity level for AppVeyour cmake builds 2018-11-16 16:22:49 +01:00
arvidn 00987475f4 run the simulator tests by themselves, on appveyor 2018-11-14 08:58:26 +01:00
arvidn a7f345aa0d split out cmake build on appveyor 2018-11-10 15:17:57 +01:00
Arvid Norberg 9758d2f08f general cleanups of build files. Specifically to fix the propagation properties of _WIN32_WINNT, include missing CMake files in the tarball, and fix some risky ABI altering properties in CMake files 2018-10-12 10:06:59 +02:00
arvidn 3d0e5fdec9 add python test for add_torrent_params and run the tests less verbose on travis and appveyor 2018-08-14 07:24:19 +02:00
Eugene Shalygin 63229dbda6 Properly select release build with CMake for AppVeyor 2018-04-29 19:48:26 +02:00
Eugene Shalygin 049e918295 build python bindings with cmake 2018-04-29 19:48:26 +02:00
Alden Torres 1baf5eabdf added minimal support for cmake build in appveyor CI 2018-02-04 10:02:23 +01:00
arvidn a50579c651 merged RC_1_1 into master 2018-01-27 09:41:54 +01:00
arvidn 5b83085406 fix openssl download links in appveyor script 2018-01-27 09:15:20 +01:00
arvidn 3a9861e237 complete the error handling test and make it part of the default simulation test suite. It will run a file transfer between two clients repeatedly, each time cause another memory allocation fail, until every single memory allocation has failed once. Any invariant check failure, assertion or signal will cause the test to fail 2018-01-08 04:44:52 -05:00
arvidn 98419aee12 disable debug iterators in simulations on windows, since exception safety is compromised 2018-01-05 10:55:12 -05:00
arvidn f80cd8ad1b update libsimulator and set default build to be static for sims 2018-01-04 07:28:53 -05:00
arvidn 3167b68e98 shorter test timeouts 2017-12-11 08:40:35 -05:00
arvidn 163e490d8a add timeouts to tests 2017-12-02 12:20:36 +01:00
Arvid Norberg 45aff7f6a6 fix appveyor 2017-10-08 22:06:43 +02:00
arvidn 1d15e6bfb4 merge RC_1_1 into master 2017-10-08 18:21:25 +02:00
arvidn 8ba5845643 don't hard-code the paths to find openssl on mac (but default to picking up brew). Add two new jam features, openssl-lib and openssl-include that can be used to specify which openssl to link against 2017-10-08 03:00:02 +02:00
arvidn 49b3adfd76 remove redundant bjam features in build call on appveyor 2017-09-24 23:24:12 -07:00
arvidn b03b7417dd build boost from scratch on linux (to get a newer version). upgrade travis to trusty and newer xcode. python binding fixes 2017-08-14 12:22:06 +02:00
arvidn e19736f925 fix simulation tests to make them not use deprecated functions 2017-07-26 18:00:03 -07:00
arvidn be3836b67d fix mingw build wiht openssl on appveyor 2017-07-21 16:47:04 -07:00
arvidn a9b3982f7c restore ssl/crypto build feature in Jamfile to stay compatible with 1.1 2017-07-14 16:31:22 -07:00
arvidn bff09a70fe merged RC_1_1 into master 2017-07-13 22:51:05 -07:00
arvidn ec65e12ee6 add boost-build feature to link against libcrypto and libssl on windows #1931 2017-07-13 22:20:35 -07:00
arvidn 3ffa3f2a08 merged RC_1_1 into master 2017-02-17 00:35:49 -05:00
arvidn 194bbb0bac use boost-1.63 on appveyor 2017-02-12 08:33:39 -05:00
arvidn d2248b1021 retry failed tests on appveyor (not sims) 2017-01-07 17:46:02 -05:00
Arvid Norberg 62146f43d0 fix appveyor (#1132) 2016-09-21 22:58:54 -07:00
Arvid Norberg bfe9934d57 try previous build image (#1019) 2016-08-21 09:37:39 -04:00
Alden Torres 253ae93df1 using appveyor-retry 2016-08-16 00:18:39 -04:00
Alden Torres 9af2072bc9 minor changes, typos and gcc tests in windows (#947)
minor changes, typos and gcc tests in windows
2016-07-25 17:58:00 -04:00
Arvid Norberg ec30daeaa5 lower timeout for tests on travis and appveyor (#938) 2016-07-24 00:46:49 -07:00
Alden Torres 7446a88425 version to 1.2 (#924)
update version to 1.2
2016-07-20 11:29:24 -07:00
Arvid Norberg 52b934530e cleanup appveyor and .travis scripts (#890)
Cleanup appveyor and .travis scripts
2016-07-06 13:52:15 -04:00
arvidn 98af1cd54e merged RC_1_1 into master 2016-07-05 18:03:06 -04:00
Arvid Norberg eeb91cb803 Reduce appveyor builds 1.1 (#883)
reduce the number of times libtorrent is built on appveyor and travis
2016-07-05 11:25:31 -04:00
Arvid Norberg 3ec48ec5b4 support CryptoAPI on windows, for SHA-1 hashing (#882)
support CryptoAPI on windows, for SHA-1 hashing. don't always use openssl in test build configurations
2016-07-05 08:40:09 -04:00
Arvid Norberg d9c091f888 run through auto-tools initialization on travis (#886)
run through auto-tools initialization on travis
2016-07-04 17:08:16 -04:00
Arvid Norberg 66416963eb fix python binding linking on msvc (#878) 2016-07-03 23:30:52 -04:00
Arvid Norberg 21c1540ace clean up natpmp and upnp logging (#842)
clean up natpmp and upnp logging. remove custom logging macro and use regular logging via alerts. honor TORRENT_DISABLE_LOGGING
2016-06-23 01:23:59 -04:00
Arvid Norberg 717ed8bd3b Msvc warnings (#822)
fix msvc warnings in python bindings and simulations
2016-06-18 19:24:27 -04:00
Arvid Norberg 558c3af360 build tools in CI (#771)
build tools in CI
2016-05-31 17:48:41 -04:00
Arvid Norberg 96999ad67f replace uses of boost::bind with std::bind and lambdas (#745) 2016-05-25 00:31:52 -04:00