Commit Graph

1175 Commits

Author SHA1 Message Date
Arvid Norberg
1ed9e6d2f8 more C bindings and added getters for max_uploads on session and torrent 2009-04-07 15:55:05 +00:00
Arvid Norberg
981ae208d1 exception fixes 2009-04-07 15:06:07 +00:00
Arvid Norberg
970ab50e57 snprintf fix 2009-04-07 01:14:12 +00:00
Arvid Norberg
426e653213 defines for snprintf and strtoll for windows 2009-04-06 17:15:19 +00:00
Arvid Norberg
2bb1772299 time_duration fix (works with boost.date-time again) 2009-04-06 17:12:14 +00:00
Arvid Norberg
40c6db3c52 debug define fix in piece_picker 2009-04-04 21:50:36 +00:00
Arvid Norberg
2b671bc820 more iostream fixes 2009-04-04 21:44:04 +00:00
Arvid Norberg
b5bb51c6af cut out more IPv6 code if not supported 2009-04-04 16:59:53 +00:00
Arvid Norberg
aba5b2e9d0 dropped some iostream dependencies 2009-04-04 09:52:25 +00:00
Arvid Norberg
3cd26dec64 compile time options to use readv/writev or not 2009-04-04 08:23:53 +00:00
Arvid Norberg
db8487be46 auto unchoke improvement 2009-04-04 07:55:34 +00:00
Arvid Norberg
e3eb59f477 fixed leaking exception from bdecode on malformed input. Fixes #492 2009-04-01 03:37:54 +00:00
Arvid Norberg
91ba36a396 added compile time option for mlock support 2009-03-31 08:15:21 +00:00
Arvid Norberg
982cf7f7f7 improved support for platforms with no wchar_t and std::wstring 2009-03-31 08:12:35 +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
0070232f7c attempt to fix #493 by keeping io_service running while there are still peer connections 2009-03-31 08:02:25 +00:00
Arvid Norberg
1a6d2f86b9 add compile time option to disable IPv6 support 2009-03-31 07:45:54 +00:00
Arvid Norberg
9c4c49c443 logging build fix and indentation fix 2009-03-27 17:14:15 +00:00
Arvid Norberg
1ed7e222f8 added documentation to explain how paused and auto_managed are overridden by resume_data. Added a mechanism to trunk to ignore the resume data for those two settings. Updated documentation in trunk to include more fields in the resume data. Fixed broken links in the trunk docs 2009-03-21 04:33:53 +00:00
Arvid Norberg
907532be8e bumped version number to 0.14.3 and updated set_version.py 2009-03-20 07:38:47 +00:00
Arvid Norberg
cc432a8cd8 added error handling for set_piece_hashes 2009-03-19 17:32:40 +00:00
Arvid Norberg
31054ef069 first implementation of set_piece_deadline 2009-03-17 09:34:44 +00:00
Arvid Norberg
233258502c fixed bug in time_duration operator* 2009-03-16 03:36:20 +00:00
Arvid Norberg
e2ac32e7cf remove unused members and fix warning 2009-03-14 09:25:26 +00:00
Arvid Norberg
84a513bffb initial support for merkle hash tree torrents 2009-03-13 06:09:39 +00:00
Arvid Norberg
0de21dc815 fixed bug related to ignoring upload slots and made the piece rejection code more robust to handle similar bugs better 2009-03-12 17:06:41 +00:00
Arvid Norberg
de233c23a2 fix MinGW build issue on windows (IPV6_PROTECTION_LEVEL) 2009-03-08 02:16:35 +00:00
Arvid Norberg
6353b3c3e6 fixed boost-1.34.1 build 2009-03-06 08:57:00 +00:00
Arvid Norberg
93eda7c7fa fix ignore unchoke slot invariant check 2009-03-01 07:20:08 +00:00
Arvid Norberg
b809028bda uses iconv by default on linux to convert filenames from utf-8 to the current locale 2009-03-01 00:02:33 +00:00
Arvid Norberg
b84e87edf4 build fix 2009-02-27 07:03:00 +00:00
Arvid Norberg
7aacfca292 made the examples build without exception support. added overloads of add_torrent() and add_magnet_uri() that don't throw 2009-02-26 07:09:56 +00:00
Arvid Norberg
f8e72650bd fixed #488 2009-02-25 05:53:24 +00:00
Arvid Norberg
b25a8db2a6 added more error codes. consolidated exception classes into one. moved over more places to use error_code instead of strings. fixed proper error handling for torrent_info 2009-02-23 01:21:19 +00:00
Arvid Norberg
9edf2db4c3 memcpy/memset build issue in bitfield.hpp 2009-02-22 21:01:51 +00:00
Arvid Norberg
b573b17725 windows boost-1.38 build fix 2009-02-21 10:23:25 +00:00
Arvid Norberg
95829383a8 alert improvements 2009-02-21 10:21:28 +00:00
Arvid Norberg
afd04635e9 replaced std::isdigit with is_digit, to avoid asserts on windows and locale dependency. Fixes #484 2009-02-18 06:01:24 +00:00
Arvid Norberg
7fff6ace1b added download queue time estimate 2009-02-17 02:33:45 +00:00
Arvid Norberg
13ca386838 improved support for sparse files on windows 2009-02-17 00:11:38 +00:00
Arvid Norberg
9905f700ae prepare to take sparse regions into account when checking files 2009-02-14 04:31:08 +00:00
Arvid Norberg
dc4d50b117 don't make files sparse when allocation mode is set on the storage (windows only) 2009-02-14 03:56:07 +00:00
Arvid Norberg
3187bd9905 moved some errors over to use error_code 2009-02-13 19:01:02 +00:00
Arvid Norberg
2a9605f9db the reserved bits are only 8 bytes 2009-02-13 07:17:20 +00:00
Arvid Norberg
0b1a0c5132 replaced dependency on locale dependent isspace 2009-02-10 07:21:28 +00:00
Arvid Norberg
41ff39605b removed unused member variable 2009-02-08 20:26:25 +00:00
Arvid Norberg
ba0f894c7c avoid adding a torrent to the checking queue twice 2009-02-08 01:29:09 +00:00
Arvid Norberg
7744718b44 added error message to invalid_torrent_file exception (will be replaced by error_code at some point) 2009-02-07 19:18:48 +00:00
Arvid Norberg
5c12db28d2 added option to lock disk cache in physical memory 2009-02-06 09:46:13 +00:00
Arvid Norberg
7607286f50 fixing bug where the trailing bits in bitfields were not set to 0. Fixes #482 2009-02-06 08:51:25 +00:00