Commit Graph

8744 Commits

Author SHA1 Message Date
arvidn b8fec119da add test to make sure the file_storage object is iterable in the python bindings 2016-04-07 00:09:02 -04:00
arvidn f299d1578c restore libsimulator submodule 2016-04-06 22:59:29 -04:00
Arvid Norberg 6767cf96f1 Merge pull request #546 from arvidn/move-into-self-1.1
fail correctly when move_storage is called to move into itself 1.1
2016-04-06 17:49:05 -04:00
Arvid Norberg ff1280ca10 Merge pull request #594 from aldenml/minor-doc-fix
Minor documentation fix
2016-04-06 17:48:14 -04:00
Alden Torres 6d16811bae Minor documentation fix 2016-04-06 16:54:19 -04:00
arvidn 387498e54f clean up in piece picker 2016-04-06 00:45:21 -04:00
Arvid Norberg f5c3c6addc Merge pull request #581 from ssiloti/sockopt-levels-1.1
apply {get,set}_option to the appropriate socket based on the option'…
2016-04-04 23:10:21 -04:00
Arvid Norberg e17409f996 Merge pull request #585 from arvidn/python-cleanup-1.1
cleanup python binding for torrent_handle::prioritize_pieces
2016-04-04 17:30:44 -04:00
Arvid Norberg d0edcaf632 Merge pull request #584 from arvidn/python-sharedptr-1.1
fix python GIL issue
2016-04-04 17:29:45 -04:00
Steven Siloti 4949721389 apply {get,set}_option to the appropriate socket based on the option's level
This avoids spurious errors being returned when trying to apply IPv4 options to
the IPv6 socket and vice-versa.
2016-04-04 13:45:06 -07:00
Arvid Norberg 67ac74fa1d Merge pull request #586 from arvidn/python-settings-1.1
fix backwards compatibility of python binding for set_settings
2016-04-04 08:33:27 -04:00
Arvid Norberg 65dda0ea7c Merge pull request #583 from aldenml/utp-log-and-typos
Revert utp log file to disable by default
2016-04-04 00:55:50 -04:00
arvidn f409a5abf3 fix backwards compatibility of python binding for set_settings 2016-04-04 00:52:21 -04:00
arvidn a410363f11 cleanup python binding for torrent_handle::prioritize_pieces. github.com/arvidn/libtorrent/issues/573 2016-04-04 00:22:01 -04:00
arvidn 90efec5d19 fix python GIL issue when passing in a torrent_info object that later gets destroyed from within libtorrent 2016-04-03 23:50:06 -04:00
Alden Torres bb8d1d0e56 Revert utp log file to disable by default
Documentation typos
2016-04-03 22:32:06 -04:00
Arvid Norberg cf5c39a050 Merge pull request #578 from arvidn/partfile-export-1.1
fix concurrency issue in part_file::export_file
2016-04-02 21:29:42 -04:00
arvidn dff0e7b0cd fix concurrency issue in part_file::export_file 2016-04-02 21:29:20 -04:00
Arvid Norberg 0020900a58 Merge pull request #579 from arvidn/fix-warnings-1.1
fix some clang build warnings
2016-04-02 17:07:52 -04:00
arvidn 398014778e add test for second overload of prioritize_pieces to python test 2016-04-02 15:52:37 -04:00
arvidn 31805ecec0 fix some clang build warnings 2016-04-02 12:27:42 -04:00
arvidn 6bc5de5903 fail correctly when move_storage is called to move into its own directory 2016-04-02 10:03:31 -04:00
Arvid Norberg 55c35332ba Merge pull request #576 from arvidn/python3-readpiece-1.1
fix python3 binding for read_piece::buffer
2016-04-02 08:46:58 -04:00
arvidn 0076baee81 apply lawnmowerwcd's python binding fix for converting python list to std::vector 2016-04-02 02:29:24 -04:00
arvidn 296c6c24c4 fix python3 binding for read_piece::buffer 2016-04-01 17:55:15 -04:00
Arvid Norberg e3db774828 Merge pull request #571 from arvidn/fix-python3-1.1
fix python3 issue in binding
2016-03-31 08:29:33 -04:00
arvidn f1c3ecd067 fix metadata() and hash_for_piece() in python3 binding 2016-03-31 00:19:23 -04:00
arvidn 7f232dd195 fix python3 issue in binding 2016-03-30 23:35:47 -04:00
Arvid Norberg c8450ef6bc Merge pull request #569 from arvidn/example-fix-1.1
fix typo in travis to actually build bt-get and bt-get2 examples
2016-03-30 17:08:32 -04:00
arvidn 238e7515ea fix typo in travis to actually build bt-get and bt-get2 examples. fix bt-get2 build 2016-03-30 02:32:53 -04:00
Arvid Norberg e9cd4f21c9 Merge pull request #566 from arvidn/choker-fix-1.1
test_optimistic_unchoking sim fix, cleanup and some refactor
2016-03-27 19:51:01 -04:00
arvidn 7649610807 fix test_optimistic_unchoking sim 2016-03-27 18:40:53 -04:00
arvidn 2b00eb1b38 refactor and clean up some sim tests 2016-03-27 18:40:49 -04:00
Arvid Norberg 710442ed91 Merge pull request #564 from arvidn/dead-code-1.1
remove dead code in peer_connection
2016-03-21 21:01:57 -04:00
arvidn 3e7a6b03e5 remove dead code in peer_connection 2016-03-21 18:47:17 -04:00
Arvid Norberg a5af3b0dc5 Merge pull request #563 from arvidn/no-compact-1.1
remove remaining references to storage_mode_compact
2016-03-20 23:20:19 -04:00
Arvid Norberg ee2d7a039d Merge pull request #562 from arvidn/coalesce-reads-1.1
make coalesce reads and coalesce writes actually work
2016-03-20 20:25:51 -04:00
arvidn e8693465a5 remove more references to compact storage allocation 2016-03-20 19:14:46 -04:00
arvidn f5c112eefc remove remaining references to storage_mode_compact (since it's been deprecated for quite a while now, and no longer implemented) 2016-03-20 18:25:24 -04:00
arvidn 2dd28c1708 just use malloc/free in test_storage (instead of page_aligned_allocator). file no longer requires alignment 2016-03-20 17:00:49 -04:00
arvidn 0095aa084f make coalesce reads and coalesce writes actually work 2016-03-20 16:34:19 -04:00
arvidn a9d12766d4 fix typo in hard_link() 2016-03-20 16:14:29 -04:00
Arvid Norberg db214cc92d Merge pull request #559 from arvidn/direct-io-1.1
remove unused O_DIRECT mode
2016-03-20 14:42:58 -04:00
Arvid Norberg d9bc8b7109 Merge pull request #557 from arvidn/aligned-holder-1.1
remove unused aligned_holder class
2016-03-20 01:53:57 -04:00
arvidn 139fb29647 remove unused O_DIRECT mode, and relax/simplify alignment requirements for coalesce_buffers 2016-03-20 00:55:31 -04:00
arvidn 85cf5ac195 remove unused aligned_holder class. fix logging issue of out-of-bound piece requests 2016-03-19 23:32:50 -04:00
Arvid Norberg e9b334ce63 Merge pull request #494 from arvidn/udp-bind-failure-1.1
attempt to fix issue with binding udp sockets on windows
2016-03-19 13:20:51 -04:00
Arvid Norberg 63747fed22 Merge pull request #556 from arvidn/deprecate-explicit-cache-1.1
deprecate more parts of explicit cache
2016-03-19 11:50:57 -04:00
arvidn 53b5e964d2 fix merge issue and properly close ssl udp socket when disabled, prevents the extra listen_succeeded alert for the ssl udp socket 2016-03-19 10:25:35 -04:00
arvidn e9a5985609 if a udp socket is already bound to the IP and port we want to bind it to, don't reopen it 2016-03-19 10:25:30 -04:00