Commit Graph

7791 Commits

Author SHA1 Message Date
arvidn 7080b8bac8 fixed build 2015-08-02 02:16:21 -04:00
arvidn 655a3ae019 fix some warnings 2015-08-01 23:57:11 -04:00
arvidn 990aabe36f fix warnings and no-deprecated functions build 2015-08-01 19:55:36 -04:00
Arvid Norberg 4b1d3485ab Merge pull request #61 from ssiloti/master
add default NULL ctor to session_handle
2015-08-01 19:41:03 -04:00
Steven Siloti 30e43a6595 add default NULL ctor to session_handle 2015-08-01 15:48:32 -07:00
arvidn 8a1d668914 merge github link fix from RC_1_0 2015-08-01 11:12:43 -04:00
arvidn f86283ac30 allow clearing the notify function in alert manager 2015-07-30 21:34:55 -04:00
arvidn 52b4aed466 merge bdecode patch from RC_1_0. an empty string now produces an error rather than an empty bdecoded struct 2015-07-30 21:29:22 -04:00
arvidn 3dda8f97d6 merge include fix from RC_1_0 2015-07-30 20:23:35 -04:00
arvidn 27499e38ae regenerated html 2015-07-30 01:20:51 -04:00
arvidn b4d6b97878 merge index.rst update from RC_1_0 2015-07-30 01:01:10 -04:00
arvidn 4d89c7da97 fixed uTP vulnerability 2015-07-29 22:25:59 -04:00
Arvid Norberg 2fee484edd Merge pull request #53 from aldenml/restore-xp-target
Restore the option to compile with target Windows XP.
2015-07-29 17:20:50 -04:00
Alden Torres 57f14808d8 Restore the option to compile with target Windows XP. 2015-07-29 14:56:31 -04:00
arvidn 5657772114 limit how often the DHT can wake up 2015-07-28 23:04:15 -04:00
arvidn 53360a5d4d add some slack to test_recheck 2015-07-28 19:18:15 -04:00
arvidn 580519fc19 disable irrelevant features in test_checking 2015-07-28 08:04:51 -04:00
arvidn 7780cb2699 add comment to test.py 2015-07-27 23:11:56 -07:00
arvidn 75dc8b7997 fix python binding build with no deprecated functions 2015-07-27 23:09:24 -07:00
arvidn 7f695f05d5 use boost.asio as headers only library again (simplify builds and hopefully fix shared linking of python module on gcc linux) 2015-07-27 23:09:24 -07:00
arvidn edf5e5eefc use LD_LIBRARY_PATH to try to make the python test find libtorrent.so 2015-07-27 23:09:24 -07:00
arvidn 29c618c3e5 merge bittorrent-slow start fix from RC_1_0 2015-07-27 16:53:25 -07:00
arvidn f34f09ca58 merge more lenient utf8 conversion from RC_1_0 2015-07-27 08:59:38 -07:00
arvidn dfd4e13450 revert unintentional travis.yml changes 2015-07-27 00:22:50 -07:00
arvidn 167577aec4 another attempt to fix python unit test 2015-07-27 00:21:02 -07:00
arvidn 105c105867 merge seed mode test and fixes from RC_1_0 2015-07-27 00:01:19 -07:00
arvidn bfe18dd0c9 another attempt at fixing the python unit test 2015-07-26 17:22:03 -07:00
arvidn 26a5735336 another attempt at fixing python unit test on travis 2015-07-26 16:00:53 -07:00
arvidn 08f3aa0bf5 attempt to fix the python unit test by first installing libtorrent 2015-07-26 09:37:01 -07:00
arvidn 8e1ec2ce69 fix c++98 mode build 2015-07-25 20:19:34 -07:00
arvidn 1a4c017ec5 merged torrent_info constructor fix (python bindings) from RC_1_0 2015-07-25 16:40:07 -07:00
Arvid Norberg 742548b69c Merge pull request #49 from ssiloti/plugin-exported-api
Only use exported types in the plugin api
2015-07-25 15:53:22 -07:00
Steven Siloti e6b3df3696 pass torrent_handle by const ref in the plugin api 2015-07-25 09:57:55 -07:00
Steven Siloti 72dcc20073 pass peer_connection_handle by const ref in the plugin api 2015-07-25 09:15:24 -07:00
Steven Siloti 423a18ecb1 add missing include 2015-07-25 08:58:32 -07:00
arvidn 40c7596da9 merge loading of piece priorities from resume data fix from RC_1_0 2015-07-24 22:34:53 -07:00
Steven Siloti e0e06bc87a switch to peer_connection_handle for optimistic unchoking
This is necessary to enable external plugins since the vector is passed to
plugins via on_optimistic_unchoke.
2015-07-23 20:48:35 -07:00
Steven Siloti 2c1f24c036 switch to session_handle in plugin api 2015-07-23 20:13:32 -07:00
Steven Siloti fbc67b4e21 switch to torrent_handle in plugin api 2015-07-23 19:52:23 -07:00
arvidn bb705e9a52 improved seed-mode handling (seed-mode will now automatically be left when performing operations implying it's not a seed). fixed issue with file priorities and override resume data 2015-07-21 10:12:37 -07:00
Arvid Norberg a1b73317ce Merge pull request #37 from jpetso/master
Progress towards a workable CMake build
2015-07-20 09:49:37 -07:00
arvidn f98d38e973 merge Changelog 2015-07-20 08:33:54 -07:00
arvidn 6c5aec3476 fix request queue size performance issue 2015-07-20 08:20:17 -07:00
arvidn 9231476ac6 employ variadic templates and perfect forwarding for peer connection asio handler allocator 2015-07-20 06:44:58 -07:00
arvidn 6c7c0cd878 fix up some old logging defines and improve the log output for send buffer watermark and request queue length 2015-07-17 23:54:25 -04:00
arvidn 2439ec55c1 clean up in utp_stream.hpp 2015-07-17 22:01:45 -04:00
arvidn 7b379b1740 improve documentation for protocol encryption 2015-07-17 21:59:10 -04:00
Jakob Petsovits 991f0c2a45 Rename test_bdecode_performance to bdecode_benchmark, fix CMake issues.
It's not a test as such, since it's got its own main() that takes
arguments, doesn't return a result that can be directly compared
against expected results, and doesn't make use of the test_common
infrastructure.

The CMake build attempts to build all files named test_*.cpp with
test_common, whose main() and load_file() symbols clash with those
that the benchmark provides. Instead of making an exception, let's
rename it to something that doesn't start with "test_". Its usage
message even claims it's called bdecode_benchmark, so we use that.

Also, complete the file listing for test_common in CMake and use
an OBJECT pseudo-library there instead of STATIC. It's just as good
and jives better with having symbols provided by the executable.
(Follow-up patch in the works to provide Asio symbols that way.)

test_natpmp is a proper test but doesn't currently build,
so exclude it from the build for now.
2015-07-17 20:59:39 -04:00
Jakob Petsovits a699cfae7e CMake build: Require Boost.Random from FindLibtorrentRasterbar.
Also remove outdated requirements for Boost.Thread and
Boost.DateTime linking.
2015-07-17 20:59:19 -04:00
arvidn d83be0f2ca include unit test output in .gitignore 2015-07-17 20:42:30 -04:00