Commit Graph

2801 Commits

Author SHA1 Message Date
Arvid Norberg 5f6351146a removed assert that could cause dead-lock in debug mode 2008-10-05 19:47:55 +00:00
Arvid Norberg 3144767632 fixed buffer overrun when calling get_download_queue 2008-10-05 07:23:46 +00:00
Arvid Norberg 7f0bfa37b9 fix for loading 0-size torrent files. Fixes #383 2008-10-05 04:52:01 +00:00
Arvid Norberg d4c5d5835a another state fix where mutliple torrent_finished_alerts could be generated 2008-10-05 04:44:29 +00:00
Arvid Norberg 8f665e949f fixed rare bug where a torrent could be put back into downloading state when finishing checking files if it already finished by then 2008-10-05 01:44:57 +00:00
Arvid Norberg c65919f43d setup.py works on mac with boost 1.35 now. Still needs work to be portable 2008-10-04 20:57:48 +00:00
Andrew Resch 983148834f Fix ip_filter::access in the python bindings 2008-10-04 20:02:47 +00:00
Arvid Norberg 54b699c22e removed dependency on boost.date-time and boost.iostreams from pkg-config file 2008-10-04 16:54:14 +00:00
Arvid Norberg b8ce56f3ee added first version of setup.py for the python bindings 2008-10-04 08:26:21 +00:00
Arvid Norberg 528a009f7f removed date-time and iostream from makefiles 2008-10-04 07:46:56 +00:00
Arvid Norberg 7157516eba fixed boost-compatibility 2008-10-04 06:56:51 +00:00
Arvid Norberg d4c206841b added support for bitcomet padding files. simplified storage read/write code. 2008-10-03 05:49:41 +00:00
Andrew Resch ff41246c42 update client.py 2008-10-02 06:49:52 +00:00
Andrew Resch 5ca35b8ef3 update simple_client.py 2008-10-02 06:37:54 +00:00
Andrew Resch f8862302cc Add magnet_uri.cpp to the jamfile 2008-10-02 05:00:40 +00:00
Arvid Norberg dd40d24708 more stats assert fixes 2008-10-01 15:19:31 +00:00
Arvid Norberg 1092c558e4 counts newly started torrents as active up to 2 minutes, to give them a chance to start downloading. Active torrents are not considered slow in the auto manager. 2008-10-01 05:25:18 +00:00
Andrew Resch acdcb262af update session constructor in python bindings to support 'flags' 2008-10-01 02:07:55 +00:00
Arvid Norberg ba28449765 rename_file now creates missing directories before renaming 2008-09-30 23:55:45 +00:00
Arvid Norberg ef42e8f77c fixed rename_file to work when the file hasn't been created yet. Fixed error reporting when rename_file fails. Updates the file in the torrent_handle when filename is updated 2008-09-30 23:37:42 +00:00
Arvid Norberg dd256547a8 added test for mapped files 2008-09-30 19:59:45 +00:00
Arvid Norberg 6267a97843 removed iostream dependency, since mapped_storage is discontinued 2008-09-30 19:12:30 +00:00
Arvid Norberg dc3c5d0bd7 more fixes to not trigger the stat asserts 2008-09-30 18:52:53 +00:00
Andrew Resch ea11e415dc add torrent_info::metadata and metadata_size to python bindings 2008-09-30 18:41:43 +00:00
Andrew Resch 0670ed9d0e update python bindings 2008-09-30 16:05:08 +00:00
Arvid Norberg 0f6ec06e12 fixed race condition in invariant check in disk io thread (only affected debug builds) 2008-09-30 01:16:19 +00:00
Arvid Norberg 195521db65 prevent new connections when shutting down 2008-09-30 01:14:27 +00:00
Andrew Resch 892a953a21 add tracker_error_alert::msg to bindings 2008-09-29 23:12:11 +00:00
Arvid Norberg 48949c6518 changed names of CMake file options 2008-09-28 23:10:17 +00:00
Arvid Norberg d2bbe2cc4a fixed bug in error alert from http_tracker_connection 2008-09-28 07:26:05 +00:00
Arvid Norberg 9a2a10b2eb added example targets to CMakeLists 2008-09-28 00:26:49 +00:00
Arvid Norberg c80745ad13 experimental CMakeList file 2008-09-28 00:18:03 +00:00
Arvid Norberg 317d97b316 config fix for unicode builds on windows 2008-09-27 19:49:31 +00:00
Arvid Norberg 8989699e1e fixed invariant check when pausing a torrent 2008-09-27 04:58:40 +00:00
Arvid Norberg dabaff9980 fixed bug in recent udp_socket fix 2008-09-26 17:42:39 +00:00
Arvid Norberg 47c476dc0a include TCP handshake overhead 2008-09-26 06:10:21 +00:00
Arvid Norberg a93ae86d85 fixed bug in client_test when loading paused torrents 2008-09-26 00:26:35 +00:00
Arvid Norberg d4e0ea6c1e added assert to make sure #365 doesn't happen 2008-09-25 22:08:18 +00:00
Andrew Resch 4189e0b697 add peer_info::progress 2008-09-25 20:39:06 +00:00
Arvid Norberg a3751cfcbe fixed bug in peer_connection::incoming_piece() in case blocks were skipped. Fixed warnings. 2008-09-25 20:12:53 +00:00
Arvid Norberg 00415608f6 added assert in policy 2008-09-25 18:35:28 +00:00
Arvid Norberg bb674134e3 fixed bind_port for outgoing peer connections 2008-09-25 07:40:55 +00:00
Arvid Norberg 92bac424eb fixed typecast typo in file.cpp 2008-09-25 00:16:41 +00:00
Arvid Norberg 19b6525932 added documentation for new create_torrent constructor 2008-09-24 21:55:31 +00:00
Arvid Norberg 61af2370f3 fixed release build of udp_socket 2008-09-24 17:25:45 +00:00
Arvid Norberg 6d97d562f9 added another constructor to create_torrent that copies a torrent_info. 2008-09-24 17:05:12 +00:00
Arvid Norberg 0ae891118b fixed stats reporting in bt_peer_connection 2008-09-24 02:38:20 +00:00
Arvid Norberg 1f1b3b560e fixed typo in torrent_info.hpp 2008-09-24 02:37:04 +00:00
Arvid Norberg 519fdfdb36 portability fix for udp_socket 2008-09-24 02:35:03 +00:00
Arvid Norberg 80e9e8d1cf changed torrent::set_metadata() to reduce code duplication in metadata extensions. Exposed torrent_handle::set_metadata() to the public interface 2008-09-24 02:32:33 +00:00