Commit Graph

219 Commits

Author SHA1 Message Date
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
roman_rybalko f9f7b689a3 automake build system fix: make dist always creates same dist regardless of configure parameters, test/Makefile.am made more clear 2008-09-02 11:14:10 +00:00
Arvid Norberg 5486e17b15 fixed bug in bitfield and updated test 2008-08-29 12:19:21 +00:00
Arvid Norberg e9045cc1df fixes bug where priorities where lost when force-rechecking. 2008-08-25 22:32:50 +00:00
Arvid Norberg 66ac9fe718 fixed http_connection test 2008-08-25 22:26:29 +00:00
Arvid Norberg de907e17ff enables alerts earlier in test_swarm 2008-08-25 21:23:21 +00:00
Arvid Norberg add12da945 added test that exposes bug where priorities are cleared when a torrent is force-rechecked 2008-08-24 08:30:00 +00:00
Arvid Norberg b72badd1b1 added test for checking files when some files are missing 2008-08-20 08:07:31 +00:00
Arvid Norberg 37389e4fe4 added test to measure peak download rate and introduced performance warning alert when disk buffer limit and request limit are reached 2008-08-19 15:04:14 +00:00
Arvid Norberg 893e9f2af6 fix bug in piece picker where set_piece_priority would return false even though the piece filter changed and updated test_transfer to catch it 2008-08-19 07:11:17 +00:00
Arvid Norberg 9266afe5f5 fixed bug where a torrent would not get into the 'finished' state right after file checking. It would either go to downloading or seeding. Also added test_transfer 2008-08-18 20:02:50 +00:00
Arvid Norberg e8d691eed9 extended the test_torrent to torrents with 0 bytes 2008-08-17 11:42:57 +00:00
Arvid Norberg aed9a00e44 tests are run with full invariant checks 2008-07-30 06:40:06 +00:00
Arvid Norberg 186561e5ff fixed test_swarm 2008-07-20 21:32:20 +00:00
Arvid Norberg 81a88a774f test_swarm fixes 2008-07-20 17:39:28 +00:00
Arvid Norberg f754a18ecf improved test_storage to report error conditions better 2008-07-17 15:08:29 +00:00
Arvid Norberg a7ed5578b6 made the tests build again 2008-07-08 00:00:49 +00:00
Arvid Norberg af0ebb519c added copyright notices in files missing them 2008-07-01 18:59:13 +00:00
Arvid Norberg 9c84908bb9 switched resume data parsing over to use lazy_bdecode. Improves memory allocation performance, especially noticable when heap allocations are expensive. Makes it more practical to run with malloc debug. Changed resume data interface to take a vector as opposed to a parsed structure 2008-06-30 23:14:31 +00:00
Arvid Norberg 4271bb91d0 updated pe_crypto test to build 2008-06-29 18:55:23 +00:00
roman_rybalko 914dcac3d2 trunk:
moved to asio-1-0-0 from asio-head (get_asio & makefile fix)
tests moved to "check" target
2008-06-28 10:38:12 +00:00
roman_rybalko f5e567f3c5 Ticket #357 fix 2008-06-28 10:11:20 +00:00
cg25 71c4f6f9b6 * improved --with-asio configure option behaviour;
* using -version-info flag instead of -revision one for the sake of correct
  interface versioning;
* renaming library to libtorrent-rasterbar.so to avoind conflicting with other
  libraries.
2008-06-23 00:09:12 +00:00
Arvid Norberg 9c94f54868 fixes for torrents with smaller pieces than 16kB 2008-06-18 12:34:39 +00:00
Arvid Norberg 3e000a3984 fixed save path updates when moving torrents. Fixes #310 2008-06-15 20:52:46 +00:00
roman_rybalko 5314b639e2 boost detection fixes: now able to launch with boost1.34 and boost1.35 2008-06-13 12:20:55 +00:00
Arvid Norberg a4dfd63ca3 fixed piece picker bug related to sequential download, added unit test to expose it 2008-06-11 08:30:06 +00:00
Arvid Norberg 9d1e77dc88 optimized away torrent::m_have_pieces (#62) and added some documentation on bitfield. The piece picker is now constructed with the torrent, but still freed when turned into a seed 2008-06-07 02:58:28 +00:00
Arvid Norberg b4c160e723 fixed bug in web_peer_connection where an incorrect number of bytes would be reported as downloaded 2008-06-03 15:17:09 +00:00
Arvid Norberg a0b7f080cd boost 1.35 fix in test_buffer 2008-05-28 16:00:03 +00:00
Arvid Norberg 3910fe78de separated file_storage from torrent_info and create_torrent 2008-05-28 08:44:40 +00:00
Arvid Norberg 68c31e48dc replaced vector<bool> with a custom bitfield type 2008-05-28 02:35:02 +00:00
Arvid Norberg 523c48e069 boost-1.34 fix 2008-05-27 16:55:14 +00:00
Arvid Norberg 4338140c85 added test and fixed total_wanted issue for files > 2 GB 2008-05-27 08:07:59 +00:00
Arvid Norberg 8b03e338d6 lazy_bdecode fix. #336 2008-05-24 04:36:59 +00:00
Arvid Norberg c5d61667b3 http_connection now supports connecting to all IPs a hostname resolves to, as fallbacks 2008-05-18 22:14:55 +00:00
Arvid Norberg b952d85734 fixed error handling and added support for relative http redirects (which aren't allowed by the standard) 2008-05-18 04:48:06 +00:00
Arvid Norberg 7f639e57de improved error handling with regards to parse_url_components. For trunk, moved that function to its own file 2008-05-17 14:19:34 +00:00
Arvid Norberg 5ec7da07e6 fixes #332 2008-05-17 00:27:26 +00:00
Arvid Norberg 8ed949c4d5 factored out torrent creation functionality from torrent_info into create_torrent. Modified torrent_info to use lazy_bdecoder for increased performance 2008-05-14 05:29:42 +00:00
Arvid Norberg 7bde9ef4a9 improved debug logging in regression tests 2008-05-12 07:01:25 +00:00
Arvid Norberg e51c8bea37 added makefile support for boost.system (#322) 2008-05-11 22:43:44 +00:00
Arvid Norberg c7e6c04705 switched over to asio from boost-1.35 2008-05-03 16:05:42 +00:00