Commit Graph

2993 Commits

Author SHA1 Message Date
Arvid Norberg a0333f82db added script to update all files with a libtorrent version number in them 2009-01-29 00:35:57 +00:00
Arvid Norberg 26910eff1d update_settings fixes for disk_io_thread 2009-01-28 07:09:10 +00:00
Arvid Norberg 2623037482 local peers are excempt from unchoke slots. #469 2009-01-28 06:14:21 +00:00
Arvid Norberg c3a1d5b245 fixed build error introduced in lexical_cast fix (logging builds would fail) 2009-01-28 05:49:21 +00:00
Arvid Norberg 8bcdb333e0 fix typo in comment 2009-01-28 05:19:19 +00:00
Arvid Norberg b245d45570 fixed encryption bug 2009-01-28 04:20:05 +00:00
Arvid Norberg e2431d8cd3 added missing include 2009-01-27 19:11:39 +00:00
Arvid Norberg 0ba2e2cdbd fixed issue where torrents that failed checking would not resume checking when the error was cleared. One side effect of this fix is that it should now be possible to pause checking torrents with the 0.14 branch 2009-01-27 09:18:51 +00:00
Arvid Norberg 3cdf9c87a8 fixed build errors on Solaris 2009-01-27 08:24:48 +00:00
Arvid Norberg 37c48117b0 fix potential bug (and warning on sunpro) in the send_buffer signature 2009-01-27 06:57:55 +00:00
Arvid Norberg 8030454c96 fixes problem whith lexical_cast being locale dependent 2009-01-27 06:17:55 +00:00
Arvid Norberg 6c6af0c0a0 added missing license header 2009-01-26 18:15:20 +00:00
Arvid Norberg c951ab3507 fixed potential problem if there are not enough references to a peer_connection when its disconnected 2009-01-25 02:45:31 +00:00
Arvid Norberg 9888ab62d6 allow torrents sharing files as long as they're both opened in read-only mode 2009-01-25 01:58:49 +00:00
Arvid Norberg fd8a07ac15 fixed dht race condition (confirmed to work on windows too) 2009-01-24 18:29:33 +00:00
Arvid Norberg fe94f17835 fixed assert in torrent::bytes_done() 2009-01-24 18:11:06 +00:00
Andrew Resch 11c21f2abe Add a std::pair to tuple converter
Add 'outgoing_ports' to session_settings
2009-01-24 05:29:23 +00:00
Arvid Norberg 76cea23b4c cleanup of previous check-in. fixing boost-1.34 compatibility and syntax error 2009-01-23 17:06:23 +00:00
Arvid Norberg 9b5aa967b0 fixed race condition when saving DHT state 2009-01-23 16:40:00 +00:00
Arvid Norberg 2b4a49ea19 small dht status cleanup 2009-01-23 10:36:07 +00:00
Arvid Norberg b3a17b1787 added disk buffer instrumentation and log parser 2009-01-23 09:13:31 +00:00
Arvid Norberg daf759f92f improved documentation related to pausing torrents that are auto managed 2009-01-22 03:02:16 +00:00
Arvid Norberg 2454919be3 fixed typo in python binding 2009-01-21 23:41:26 +00:00
Arvid Norberg 00808473e7 factor out disk_buffer_pool from disk_io_thread. refactored the file open modes to be platform independent. gave the disk_io_thread its own copy of session_settings that it shares with storage. added an unaligned_read implementation to storage. Added options to session_settings on when to open files in unbuffered mode. Added unit tests for unaligned reads 2009-01-21 07:31:49 +00:00
Arvid Norberg 9a9f08f70f enables teredo support on windows 2009-01-21 01:39:13 +00:00
Arvid Norberg 8d6c1527ae fixed bug in http_connection when binding to a particular IP 2009-01-19 22:17:48 +00:00
Arvid Norberg f722731799 fixed division by zero when loading an empty torrent 2009-01-19 10:05:48 +00:00
Arvid Norberg cc86f78aa5 fixed assert 2009-01-19 09:52:08 +00:00
Arvid Norberg 0703054079 fix test_piece_picker to work with recently added speed_affinity flag 2009-01-19 09:47:18 +00:00
Arvid Norberg 6b379c7137 catch exceptions from TEST_CHECK 2009-01-19 09:30:38 +00:00
Arvid Norberg 52f7bbc185 assert that we always have an error code when a file fails to open 2009-01-19 09:26:11 +00:00
Arvid Norberg cedea0980f separate alignment requirements for file offset and buffer address 2009-01-19 09:21:21 +00:00
Arvid Norberg d506bcd5de prevent torrent optimization in unit test 2009-01-19 08:46:45 +00:00
Arvid Norberg 8aa43b682b listen port cleanup 2009-01-19 08:31:31 +00:00
Arvid Norberg dceb879f50 added missing include directive 2009-01-17 19:45:14 +00:00
Arvid Norberg 8a500f4b58 added missing include statement 2009-01-17 19:32:03 +00:00
Arvid Norberg c8a784a513 added invariant check in on_piece_checked to narrow down #472 2009-01-17 19:00:09 +00:00
Arvid Norberg 13ceee7a55 fixed boost-1.34 compatibility 2009-01-17 18:47:35 +00:00
Arvid Norberg 7529225870 file windows fix 2009-01-17 18:25:27 +00:00
Arvid Norberg ae1fa3c1b5 linux file fixes 2009-01-17 09:37:40 +00:00
Arvid Norberg 5b551c1761 merged storage::readv() and storage::writev() 2009-01-17 08:35:48 +00:00
Arvid Norberg ce6c09e070 added missing export directives 2009-01-17 01:42:33 +00:00
Arvid Norberg d2b66b8bae added include guards to allocator.hpp 2009-01-17 01:40:06 +00:00
Arvid Norberg 78d3654263 fix file.cpp build on linux 2009-01-17 00:09:44 +00:00
Arvid Norberg e670f3807b file EOF fix for windows 2009-01-16 19:10:53 +00:00
Arvid Norberg a35d516b68 file EOF fix for windows 2009-01-16 18:51:54 +00:00
Arvid Norberg 97d8685066 pad file support fix 2009-01-15 18:52:41 +00:00
Arvid Norberg 0e8325bd3b fixed infinite recursion in allocator 2009-01-15 18:25:27 +00:00
Arvid Norberg 113d1f3557 moved page_aligned_allocator to its own file and uses it in set_piece_hashes to not pass in unaligned buffers to storage read 2009-01-15 17:09:36 +00:00
Arvid Norberg 9edfd93603 fixed missing new line in assert message 2009-01-15 04:45:28 +00:00