Commit Graph

2972 Commits

Author SHA1 Message Date
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
Arvid Norberg 630601aedf use & instead of % 2009-01-15 04:25:07 +00:00
Arvid Norberg 3f94cc8857 made the sequential download mode slightly more sequential (by letting more categories of peers request early pieces). Disabled speed affinity and prefer_whole_pieces when in sequential download mode 2009-01-14 09:07:27 +00:00
Arvid Norberg bd1757fbd2 added libtorrent version and svn revision to assert output 2009-01-14 08:41:14 +00:00
Arvid Norberg 66ccc9d23f improved support for padding files by not counting them in total_wanted_done and total_wanted or progress 2009-01-14 07:41:25 +00:00
Arvid Norberg 692c3cd6f8 another map_block fix 2009-01-14 07:39:02 +00:00
Arvid Norberg 63add6c725 map_file fix 2009-01-14 06:55:28 +00:00
Arvid Norberg b9d7538ba8 fixed storage to generate a proper error when the read operation 2009-01-14 03:05:35 +00:00
Arvid Norberg d0546e702f optimized file_storage::map_block to use lower_bound instead of linear search 2009-01-14 01:12:36 +00:00
Arvid Norberg 9497fe827d regenerated html 2009-01-13 21:49:03 +00:00
Arvid Norberg e22b66e36a added Bubba to projects page, and fixed typo in manual 2009-01-13 21:39:31 +00:00
Arvid Norberg 6fdbe76532 file fixes 2009-01-13 19:40:14 +00:00
Arvid Norberg 708b42ad27 added option to show padding files in file list 2009-01-13 17:49:14 +00:00
Arvid Norberg d4148055b9 remove unnecessary semicolon 2009-01-13 09:31:35 +00:00
Arvid Norberg 0bb330225c another storage fix 2009-01-13 08:58:35 +00:00
Arvid Norberg 3f0fa60164 fixed typo preventing pool-allocators=off build 2009-01-13 06:49:40 +00:00
Arvid Norberg 2a19a52465 fix incorrect buffer handling with pad files 2009-01-12 18:08:18 +00:00
Arvid Norberg b3999c8ac0 minor bytes_done fix 2009-01-12 02:22:11 +00:00
Arvid Norberg 43e69cd316 added extension for file attributes. Fixes problem when sharing Application bundles on OSX or hidden files on windows 2009-01-11 22:27:43 +00:00
Arvid Norberg de9286a760 replace std::isdigit() to avoid asserts on windows 2009-01-11 20:40:43 +00:00
Arvid Norberg ab09424d8a don't show padding files 2009-01-11 20:28:34 +00:00
Arvid Norberg 97e3d9f709 fixed missing file flag on windows 2009-01-11 19:54:20 +00:00