Commit Graph

2909 Commits

Author SHA1 Message Date
Arvid Norberg 3d3a8cca6b fixed std::max usage in storage (fixes msvc build) 2008-10-07 05:53:38 +00:00
Arvid Norberg b355541a7d applied patch from Sergei Vorobyov to allow changing the limit on outstanding alerts 2008-10-07 05:46:42 +00:00
Arvid Norberg 468ec140ac fixed invalid invariant check 2008-10-07 03:57:18 +00:00
Arvid Norberg d06fea3d6c fix to handle 0-size piece response without asserting 2008-10-06 03:23:47 +00:00
Arvid Norberg ccd75006d4 fixed failing invariant check caused by a life-time issue in debug mode 2008-10-05 23:36:50 +00:00
Arvid Norberg f6a1e467a8 marked expensive invariant check to only be included in full checks in piece-picker 2008-10-05 23:28:57 +00:00
Arvid Norberg 894d623729 fixed typo in docs 2008-10-05 23:03:33 +00:00
Arvid Norberg 7733f74d7a fixed invariant check in peer_connection 2008-10-05 22:09:33 +00:00
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