Commit Graph

8162 Commits

Author SHA1 Message Date
Andrew Resch e8efc8fd00 Add a test for sha1_hash 2015-10-09 18:21:04 -07:00
Arvid Norberg a5010fd7af Merge pull request #215 from aresch/patch-2
Change sha1_hash __init__ to use a std::string
2015-10-09 18:56:43 -04:00
Andrew Resch 159fa854ca Update ChangeLog 2015-10-08 23:10:04 -07:00
Andrew Resch 95be0137d5 Change sha1_hash __init__ to use a std::string
This fixes compatibility with Python 3's bytes object.
2015-10-08 23:08:12 -07:00
Arvid Norberg c6cc71688a Merge pull request #212 from aldenml/minor-refactor
Minor refactor in direct_traversal and some typos in bdecode header
2015-10-08 21:37:04 -04:00
Alden Torres cf4c8d0058 Minor refactor in direct_traversal and some typos in bdecode header. 2015-10-08 09:15:16 -04:00
Arvid Norberg 161f3d8c65 Merge pull request #210 from ssiloti/no-version-usage-req
remove version tag from usage requirements
2015-10-07 22:38:49 -04:00
Steven Siloti 2adfee19f2 remove version tag from usage requirements
Dependent projects probably have their own version they'd like to use, so don't
impose libtorrent's version on them.
2015-10-07 18:43:26 -07:00
arvidn 41b8429cd1 clean up documentation makefile and documentation generation script 2015-10-07 00:48:43 -04:00
arvidn 6a7b9d1c4c typo 2015-10-07 00:46:28 -04:00
arvidn 16661fb67c fix documentation bug 2015-10-07 00:41:31 -04:00
Arvid Norberg ea86785d45 Merge pull request #202 from arvidn/stop-when-ready
Stop when ready
2015-10-04 16:18:59 -04:00
arvidn 8eded0a2a0 forward port set_allow_peers bugfix 2015-10-04 14:41:58 -04:00
arvidn 51c6079c42 add stop-when-ready feature, to support checking torrents without starting the download afterwards 2015-10-04 13:08:23 -04:00
arvidn 5c96a35a66 scanf fix in client_test 2015-10-04 10:57:12 -04:00
arvidn e59d03f684 fix strict aliasing violation 2015-10-03 15:13:45 -04:00
Arvid Norberg 82c9efe8fc Merge pull request #201 from arvidn/proxy-peer-connections
forward port fix to proxy_peer_connections to master
2015-10-03 14:01:16 -04:00
arvidn 2b9cd9bfde fix build 2015-10-03 12:27:01 -04:00
arvidn 3d54c02450 fix build 2015-10-03 11:42:21 -04:00
arvidn c798e388a9 forward port fix to proxy_peer_connections to master 2015-10-03 11:20:10 -04:00
Arvid Norberg b785e789b6 Merge pull request #199 from arvidn/parse-magnet-fix
fix bug in parse_magnet_uri and improve unit test
2015-10-03 02:09:34 -04:00
Arvid Norberg 81e085b276 Merge pull request #189 from aldenml/dht-storage-api
Add set_dht_storage to session API
2015-10-02 23:32:06 -04:00
Arvid Norberg fe928abce1 Merge pull request #200 from cas--/Issue/Fix_missing_move_flags
[Bindings/Py] Add missing move_flags_t to torrent_handle
2015-10-02 23:30:09 -04:00
arvidn 84b82999d0 fix bug in parse_magnet_uri and improve unit test 2015-10-02 23:24:43 -04:00
arvidn c1955ecb18 fix bug in parse_magnet_uri and improve unit test 2015-10-02 23:24:17 -04:00
Alden Torres 62b24d8b67 Add set_dht_storage to session API. 2015-10-02 09:00:07 -04:00
Calum Lind 11a4be737d [Bindings/Py] Add missing move_flags_t to torrent_handle 2015-10-01 10:35:42 +01:00
Arvid Norberg c56e878ff4 Merge pull request #194 from arvidn/merge_http
forward port merge web seed patch
2015-10-01 01:46:18 -04:00
Arvid Norberg d7cdcf9369 Merge pull request #183 from thomas-yuan/ta_init
start 'find' from near nodes instead of all of nodes in routing table.
2015-09-30 00:43:14 -04:00
arvidn 424e51b737 fix build 2015-09-30 00:41:41 -04:00
arvidn a00e5aa6c7 forward port patch to have resume data web seeds override .torrent file web seeds, and a flag to merge them 2015-09-30 00:41:41 -04:00
Arvid Norberg a16c24dc0b Merge pull request #167 from arvidn/auto-manage-fix
simplify the queuing logic for checking torrents
2015-09-30 00:40:44 -04:00
arvidn cae4e3dfe2 fix documentation 2015-09-29 21:05:18 -04:00
arvidn 5da511f140 now that force-started torrents aren't affected by the auto-manager, they need to be explicitly kicked when entering checking state (it would be nice if all this could be done through set_state()) 2015-09-29 20:49:38 -04:00
arvidn dab0f8b8d0 simplify the queuing logic for checking torrents. make all non-auto-managed torrents always be exempt from any queuing mechanism (including checking). Extend documentation on how it works 2015-09-29 20:49:37 -04:00
Arvid Norberg 77221ccbd2 Merge pull request #190 from ssiloti/named-msg-args
test_dht: use named parameter pattern for passing message arguments
2015-09-27 23:31:03 -04:00
Steven Siloti aa94f26b26 test_dht: use named parameter pattern for passing message arguments
The number of optional parameters for send_dht_request was already beyond
ridiculous and the addition of the 'want' argument pushed me over the top.
2015-09-27 19:16:24 -07:00
Arvid Norberg 95e55d2ea9 Merge pull request #187 from arvidn/queueing-slow-torrents
fix for bug where dont_count_slow_torrents could not be disabled
2015-09-25 20:18:01 -07:00
arvidn 8b30e78d69 forward port fix for bug where dont_count_slow_torrents could not be disabled, into master 2015-09-25 14:22:38 -07:00
Arvid Norberg 597be5c1c1 Merge pull request #177 from thomas-yuan/tools_dht_put
add dump-key to tools/dht_put.cpp.
2015-09-25 09:58:36 -07:00
Arvid Norberg fb19a672bc Merge pull request #175 from aldenml/dht-storage-peers-counter
Fix of dht_storage_counters::peers counter
2015-09-25 08:25:15 -07:00
Thomas Yuan 3a59d0995f add dump-key to tools/dht_put.cpp. 2015-09-24 11:02:26 -04:00
Alden Torres 197a443465 Fix of dht_storage_counters::peers counter. 2015-09-24 10:50:04 -04:00
Arvid Norberg b8ed9eff48 Merge pull request #182 from arvidn/python-fix
revert py_libtorrent renaming for python binding
2015-09-24 05:20:24 -07:00
arvidn a9821216bf revert py_libtorrent renaming for python binding 2015-09-24 05:19:29 -07:00
Thomas Yuan 0d2644802d start 'find' from near nodes instead of all of nodes in routing table. 2015-09-23 17:04:33 -04:00
Arvid Norberg 89e46be4ed Merge pull request #155 from thomas-yuan/ping
Use ping instead of get_peers if current bucket is full.
2015-09-23 11:36:04 -07:00
Thomas Yuan f9fa8ffdec Use ping instead of get_peers if current bucket is full. 2015-09-22 10:35:10 -04:00
Arvid Norberg 50ccce6eed Merge pull request #174 from arvidn/fallocate-hack
remove fallocate hack (in master)
2015-09-22 07:18:07 -07:00
arvidn 5bdb583162 remove fallocate hack (in master) 2015-09-21 20:22:19 -07:00