Commit Graph

430 Commits

Author SHA1 Message Date
Arvid Norberg 897e615a86 optimized storage test 2010-08-08 07:53:47 +00:00
Arvid Norberg fd5f1bf80b improved SOCKS5 support 2010-08-03 09:08:37 +00:00
Arvid Norberg 97afe3fca8 added option to set file priorities when adding torrents 2010-07-15 01:14:36 +00:00
Arvid Norberg 4e576f93fd removed the session mutex for improved performance 2010-07-14 04:16:38 +00:00
Arvid Norberg 5bda58d230 fixed web seed unit test and cleaned up the RC_0_15 fix 2010-06-23 03:19:48 +00:00
Arvid Norberg 06190d8920 fixed bug in web_peer_connection which could cause a hang when downloading from web servers 2010-06-22 18:09:04 +00:00
Arvid Norberg 93bdc61410 fixed bug in bdecoder 2010-06-15 17:00:23 +00:00
Arvid Norberg 9fd624ecb6 solaris build fixes 2010-05-02 22:26:43 +00:00
Arvid Norberg 7ac4668948 more vs10 build fixes 2010-05-02 05:53:41 +00:00
Arvid Norberg fb28835452 slight performance fix in disk elevator algorithm 2010-04-24 21:53:45 +00:00
Arvid Norberg 54c451e513 improvements to test_transfer 2010-04-24 19:36:16 +00:00
Arvid Norberg a14a8b6e5f fixed an debug iterator assert in test 2010-04-02 20:48:09 +00:00
Arvid Norberg eceabd7d2f fixed escape string tests 2010-03-30 18:29:17 +00:00
Arvid Norberg 8fa2f26217 fixed bug in is_complete for windows 2010-03-21 17:40:15 +00:00
Arvid Norberg 786172455b added save resume action to client_test. potential small optimization in resume data save function 2010-03-20 22:00:13 +00:00
Arvid Norberg cb26c80103 fixed typos 2010-03-05 06:39:57 +00:00
Arvid Norberg 53acf4349e made some tests rely less on deprecated functions 2010-03-05 06:27:23 +00:00
Arvid Norberg 77c0fa5872 support multiple trackers in magnet links 2010-03-01 06:46:57 +00:00
Arvid Norberg 7b480efe68 fix piece picker test 2010-02-25 19:56:30 +00:00
Arvid Norberg 09a1023eb3 fixed issue with UDP over SOCKS5. Added a udp tracker to the unit test to make sure it works. Added tracker tests for all proxies 2010-02-18 04:37:02 +00:00
Arvid Norberg fb47469834 experimental support for the BitTyrant choking algorithm 2010-02-09 03:04:41 +00:00
Arvid Norberg 51c544c6bb fixed trunk build with DHT disabled 2010-02-05 08:40:08 +00:00
Arvid Norberg 64d52b26ca fixed windows upnp test. added test for is_space 2010-01-24 17:31:06 +00:00
Arvid Norberg 1700b05d9e fix storage unit test to work with new disk IO job sorting code 2010-01-24 03:33:01 +00:00
Arvid Norberg a47c40d7fa fixed web server tests to not require a fixed port. Should be much more likely to pass now 2010-01-23 23:57:11 +00:00
Arvid Norberg a046850130 support disk I/O priority setting 2010-01-23 03:02:32 +00:00
Arvid Norberg a641f66258 use alert_cast instead of dynamic_cast in unit tests 2010-01-18 07:02:56 +00:00
Arvid Norberg 11cd7af4e7 optimized DHT routing table memory usage 2010-01-03 11:08:39 +00:00
Arvid Norberg 0350e86867 fixed web seed unit test 2009-12-29 17:49:24 +00:00
Arvid Norberg 8154ca3c7c more http test fixes 2009-12-25 22:18:14 +00:00
Arvid Norberg ef6c143e74 fixed web seed unit test 2009-12-25 16:00:15 +00:00
Arvid Norberg 310a4b8012 fix shutdown issue in web server unit test 2009-12-17 08:50:35 +00:00
Arvid Norberg 6298322b1d service disk-read requests that hit the cache immediately and circumvent the elevator ordering 2009-12-16 10:49:15 +00:00
Arvid Norberg 2055426c52 fix trunk build and tests build without exceptions 2009-12-16 10:42:34 +00:00
Arvid Norberg 96cedc9b5f more beos fixes 2009-12-15 13:11:07 +00:00
Arvid Norberg cee7f2a809 dropped dependency on lighttpd for the tests 2009-12-05 23:41:33 +00:00
Arvid Norberg c32b40c739 fixed test_swarm build 2009-12-05 23:08:16 +00:00
Arvid Norberg df928764e2 reorganized error codes 2009-12-05 23:03:48 +00:00
Arvid Norberg 1d04c4dcd0 added session saving and loading functions 2009-12-03 05:11:57 +00:00
Arvid Norberg bd881ac154 fixed more link issues on windows. examples build with shared linking on windows 2009-12-02 17:46:25 +00:00
Arvid Norberg 2d627c1f9d optimized local peer discovery unittest 2009-12-02 02:51:26 +00:00
Arvid Norberg 3fb05a13b1 fixed DLL link issues 2009-11-30 07:03:34 +00:00
Arvid Norberg 1f5859d31f error_code fix. added is_error_code_enum template specialization and using the abbreviated syntax to build error_codes 2009-11-29 07:06:38 +00:00
Arvid Norberg d78af0d171 make tests build without IPv6 support 2009-11-27 21:41:24 +00:00
Arvid Norberg 8dd244581d header optimizations 2009-11-26 05:45:43 +00:00
Arvid Norberg 6343fe6a6d optimized header dependencies to lower build time 2009-11-23 08:38:50 +00:00
Arvid Norberg 233071cfe0 added test to make sure trackers are saved and restored from resume files 2009-11-20 17:23:09 +00:00
Arvid Norberg 5fa73ed7ce fix for metadata extension test 2009-11-14 20:47:03 +00:00
Arvid Norberg 8fdeeb0497 don't replace invalid path characters in non-path strings 2009-11-13 02:50:07 +00:00
Arvid Norberg 693fc96e5b made test use internal file class instead of ofstream 2009-11-09 16:48:16 +00:00
Arvid Norberg e9320371b8 fixed filename function 2009-11-02 04:08:37 +00:00
Arvid Norberg 1c28444f94 fixed residual references to boost/thread. Removed memdebug (it doesn't work and tcmalloc is better) 2009-11-02 02:00:41 +00:00
Arvid Norberg 45ce870189 fix tracker test 2009-10-26 02:24:55 +00:00
Arvid Norberg c418165e07 replaced boost.filesystem with custom functions (improves efficiency and drops unnecessary dependencies and improves libtorrent portability) 2009-10-26 01:29:39 +00:00
Arvid Norberg 4412e2f1f6 fixed test_trackers_extension 2009-10-25 21:48:32 +00:00
Arvid Norberg 8a5b7d5d36 got rid of the last recursive mutexes. abstracted the threading primitives (and switched over to use asio's internal ones). 2009-10-20 02:49:56 +00:00
Arvid Norberg 138fb8c679 extended DHT unit test to include error reporting 2009-09-27 17:41:51 +00:00
Arvid Norberg f36688a364 initial support for torrent tag store in DHT 2009-09-27 03:38:41 +00:00
Arvid Norberg 1017a716ef fix unit test 2009-09-27 01:33:36 +00:00
Arvid Norberg aafc0bab4e fixed test_natpmp build 2009-09-19 00:09:34 +00:00
Arvid Norberg 4fde3de683 remove dependency on lexical_cast in bandwidth limiter test (since it kept failing on snow leopard) 2009-09-18 07:00:40 +00:00
Arvid Norberg 0f62beebb3 improved compile time by moving rate limiter implementation to a cpp file and making it a non-template 2009-09-16 04:41:35 +00:00
Arvid Norberg 6c67da08d6 split socket.hpp up in multiple headers to lower build time somewhat 2009-09-16 03:46:36 +00:00
cristiangreco 2fd925a4ae Rewrite autotools build system (new configure.ac, changes for various
Makefile.am and fixed m4 scripts). Could still need some fixes.
2009-09-10 02:22:13 +00:00
Arvid Norberg 31d63ee5be replaces invalid filename characters with . and fixed the http_parser unit test in 0.14 2009-09-09 17:56:25 +00:00
Arvid Norberg 6d01cb475c msvc build fixes 2009-09-06 00:57:01 +00:00
Arvid Norberg bec481acdf improved disk read performance and fixed bug in storage_interface's backwards compatibility functions 2009-09-05 07:21:10 +00:00
Arvid Norberg c7b1d7e7d6 escape string fixes 2009-09-05 01:08:56 +00:00
Arvid Norberg 8c4cf8bffa fixed unit test for http_parser 2009-08-25 18:12:43 +00:00
cg25 f283065cfc completely drop BOOST_MULTI_INDEX_DISABLE_SERIALIZATION define from all build
systems as multi_index is no more used in src/file_pool.cpp.
2009-08-21 20:19:55 +00:00
Arvid Norberg 5b604e2a3a timer fixes for http_connection 2009-07-26 02:17:21 +00:00
Arvid Norberg 193bccd84b fixed missing include 2009-07-23 07:30:44 +00:00
Arvid Norberg 7445874028 fixed piece_picker test 2009-07-23 04:37:51 +00:00
Arvid Norberg 310b9d0e51 windows build fixes (and one msvc warning fix) 2009-07-20 01:54:51 +00:00
Arvid Norberg 7dd86daec8 run the upnp test by default 2009-07-18 20:54:47 +00:00
Arvid Norberg 51992dda6a added new alert when individual files complete 2009-07-04 04:58:24 +00:00
Arvid Norberg 690467d4ee turned test_upnp into a proper unit-test with a simple program acting as a UPnP router 2009-06-29 08:09:32 +00:00
Arvid Norberg e9bd8f6e1f turned fast-resume errors into error_codes. fixed typo in documentation 2009-06-28 00:36:41 +00:00
Arvid Norberg 10eb3fa00f handle torrents with duplicate filenames 2009-06-26 16:20:57 +00:00
Arvid Norberg fffda3c738 fixed tracker error race condition 2009-06-23 01:52:44 +00:00
Georg Rudoy 7bf5302e03 Fixed test_bandwidth_limiter test. 2009-06-22 16:24:47 +00:00
Arvid Norberg cc3e6621ed fixed rename_file() bug where the new name would not be saved in the resume data in some cases 2009-06-22 00:52:57 +00:00
Arvid Norberg 93e1c70263 allow 0 upload slots. added test for allow fast support for sending pieces to choked peers 2009-06-20 23:23:41 +00:00
Arvid Norberg 5ce7aed078 encodes urls in torrent files that needs to be encoded 2009-06-19 18:18:49 +00:00
Arvid Norberg 8c93ba1175 boost 1.35 fixes 2009-06-19 17:39:49 +00:00
Arvid Norberg f09774607f added upload mode 2009-06-18 22:32:55 +00:00
Arvid Norberg 3df15ad39e fixed memory leak in disk io thread when not using the cache 2009-06-14 22:48:07 +00:00
Arvid Norberg 07bcb3545a converted a whole lot of error strings into error_codes. Documented some previously undocumented alerts as well as all the error codes 2009-06-12 16:40:38 +00:00
Arvid Norberg 5e87420b6f set all piece priorities to 0 when a write fails 2009-06-10 09:20:55 +00:00
Arvid Norberg f0134c1b11 improved disk error handling and expanded use of error_code in error reporting 2009-06-10 08:30:55 +00:00
Arvid Norberg 3fa0f7636b made test_fast_extension more verbose 2009-06-10 06:31:31 +00:00
Arvid Norberg f06fa3fbe8 fixed test_swarm with the new timer 2009-06-10 06:30:06 +00:00
Arvid Norberg 92a541035e fixed inconsistent build requirement around entry::print() 2009-06-09 05:56:18 +00:00
Arvid Norberg 3e7bd46706 fixed handling of unaligned block requests 2009-05-31 19:33:54 +00:00
Arvid Norberg 9effe8a54a fixed deadlock in http_connection. added two error codes for that class. Added more documentation on error_code 2009-05-30 18:50:38 +00:00
Arvid Norberg eb2203abf5 fixed torrent file path vulnerability 2009-05-28 07:25:09 +00:00
Arvid Norberg 5dd72d21b6 added some output to test_storage 2009-05-25 17:25:55 +00:00
Arvid Norberg 79158abaca fix piece_picker test 2009-05-25 04:38:31 +00:00
Arvid Norberg e3c07c0934 converted some recursive mutexes to regular ones 2009-05-23 21:36:09 +00:00
Arvid Norberg 9507052797 don't build test_natpmp and test_upnp by default 2009-05-21 19:20:24 +00:00