Commit Graph

261 Commits

Author SHA1 Message Date
Arvid Norberg 90ce06bb47 web seed fix 2009-04-11 20:45:14 +00:00
Arvid Norberg 408f181481 fixed test_pex 2009-04-10 21:25:37 +00:00
Arvid Norberg bc9e58962b optimized unit tests 2009-04-10 08:40:13 +00:00
Arvid Norberg 2b671bc820 more iostream fixes 2009-04-04 21:44:04 +00:00
Arvid Norberg c6017f9366 reverted bug introduced a few check-ins ago. Fixed case when recursive_copy fails (don't remove the original files). Cleaned up callback dispatching in disk_io_thread in trunk. Improved unit tests for move_storage 2009-03-31 08:05:46 +00:00
Arvid Norberg 36eb9c4f51 move storage fix 2009-03-30 04:55:23 +00:00
Arvid Norberg 31054ef069 first implementation of set_piece_deadline 2009-03-17 09:34:44 +00:00
Arvid Norberg 1cdfe26630 Fixed bug when moving storage with files renamed to end up outside of the rood directory. Fixes Deluge bug http://dev.deluge-torrent.org/ticket/839 2009-03-17 09:31:30 +00:00
Arvid Norberg 13ca386838 improved support for sparse files on windows 2009-02-17 00:11:38 +00:00
Arvid Norberg 48a509d25c added license to test_torrent.cpp 2009-02-11 01:50:17 +00:00
Arvid Norberg 2c68654994 fixed bug where mapped files were not restored properly from the resume data. Fixes #483 2009-02-09 06:19:31 +00:00
Arvid Norberg 1ac8f806fa added seed mode support (lazy hash checking) 2009-02-03 07:46:24 +00:00
Arvid Norberg 8030454c96 fixes problem whith lexical_cast being locale dependent 2009-01-27 06:17:55 +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 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 d506bcd5de prevent torrent optimization in unit test 2009-01-19 08:46:45 +00:00
Arvid Norberg 090502390f updates to test_storage 2009-01-02 09:42:51 +00:00
Arvid Norberg 07a399d60d test_piece_picker define fix 2008-12-28 20:09:16 +00:00
Arvid Norberg 6f80fdf9f7 fix bug when renaming files and using the web_peer_connection. Deprecated non-const file_storage access in torrent_info 2008-12-24 20:07:34 +00:00
Arvid Norberg 16bfde875d tests don't need the default session features turned on 2008-12-20 23:06:06 +00:00
Arvid Norberg f1d981254a added session::set_alert_dispatch() for system specific message loop integration 2008-12-15 07:12:08 +00:00
Arvid Norberg b47f965c85 added torrent_handle::read_piece(). #441 2008-12-14 19:47:02 +00:00
Arvid Norberg 5fb854d724 improved super seeding with strict option 2008-12-09 07:56:37 +00:00
Arvid Norberg b41cdd6469 initial super seeding support 2008-12-08 06:36:22 +00:00
Arvid Norberg 14c142d997 added add_piece() to inject data from external sources 2008-12-07 21:04:19 +00:00
Arvid Norberg 490ad37c43 fixes to unit tests 2008-11-30 06:10:37 +00:00
Arvid Norberg acbdbfc1ef added tracker exchange (tex) extension 2008-11-27 20:51:59 +00:00
Arvid Norberg 357d548bb5 fixed boost.filesystem usage to not rely on deprecated functions 2008-11-21 23:38:07 +00:00
Arvid Norberg 9406a8e08b dht test fixes 2008-11-17 07:37:53 +00:00
Arvid Norberg 5e5643f7a7 test_http_connection fix 2008-11-14 07:59:54 +00:00
Arvid Norberg 3c1d73ef72 another test Jamfile fix to use the same configuration of libtorrent 2008-11-06 09:00:01 +00:00
Arvid Norberg b47daff270 don't build with upnp logging for upnp and natpmp test, use the same configuration of libtorrent as the other tests by default 2008-11-06 08:37:33 +00:00
Arvid Norberg 359500da58 remove upnp-test from Makefile 2008-11-05 05:36:42 +00:00
Arvid Norberg c6b793021d make tests not depend on exceptions 2008-11-05 03:17:41 +00:00
Arvid Norberg 19660306e0 more exception defines 2008-11-03 04:23:16 +00:00
Arvid Norberg bb02c7f985 fixed bug in upnp xml service parser introduced in last update 2008-11-02 21:11:00 +00:00
Arvid Norberg 0d8f74cf78 fixed tests on windows and when built with iterator debugging 2008-11-02 09:03:04 +00:00
Arvid Norberg b663ab81a6 fix to test_web_seed 2008-11-02 00:26:13 +00:00
Arvid Norberg ef8e2c6d50 fixed setup transfer for the test 2008-10-30 05:31:26 +00:00
Arvid Norberg ce9d9c760c updated upnp test 2008-10-28 22:00:34 +00:00
Arvid Norberg 0b47f69afd upnp fix with unit test 2008-10-28 09:49:26 +00:00
Arvid Norberg fd64702f31 add some slack to make tests more likely to pass 2008-10-21 08:16:14 +00:00
Arvid Norberg 85bde58902 fixed compile problem in test_bencoding.cpp related to std namespace 2008-10-18 07:37:15 +00:00
Arvid Norberg 528a009f7f removed date-time and iostream from makefiles 2008-10-04 07:46:56 +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 6b2ee1ba28 when using safe iterators, test_pe_crypto would fail because it would be too slow 2008-09-16 23:33:34 +00:00
Arvid Norberg 5c5a836398 enabled debug iterators for test 2008-09-15 15:09:20 +00:00
Arvid Norberg 41808f8742 big change to improve piece picker. Better end-game mode. More options on which pieces to pick. 2008-09-06 21:04:57 +00:00