Commit Graph

560 Commits

Author SHA1 Message Date
Alden Torres 12fb68e8e3 Refactor of utp stream logging functions.
Renamed utp-stats option to utp-log.
2015-08-13 18:43:58 -04:00
Alden Torres 02afc8b640 Added utp-stats bjam option to enable utp stream log (utp.log file). 2015-08-13 18:43:58 -04:00
arvidn 4b04aceccd fix boost-link semantics. If it's not specified, it's the default: whatever link is set to 2015-08-08 19:30:01 -04:00
arvidn a854fed12b simplify Jamfile by determining whether to use boost from source or from system installed version based on the BOOST_ROOT environment variable. This removes the build feature boost=source/boost=system 2015-08-08 19:18:05 -04:00
arvidn 3594da7839 on travis, use libc++ together with clang. Update libsimulator to fix gcc build 2015-08-08 13:08:41 -04:00
arvidn 46803b75f8 support building libtorrent in simulation mode (using libsimulator, which is a git submodule) 2015-08-07 21:31:59 -04:00
Alden Torres eef9f16b3b Removed unused flag bandwidth-limit-logging and related code. 2015-08-04 01:47:15 -04:00
arvidn 990aabe36f fix warnings and no-deprecated functions build 2015-08-01 19:55:36 -04:00
Alden Torres 57f14808d8 Restore the option to compile with target Windows XP. 2015-07-29 14:56:31 -04:00
arvidn 7f695f05d5 use boost.asio as headers only library again (simplify builds and hopefully fix shared linking of python module on gcc linux) 2015-07-27 23:09:24 -07:00
Steven Siloti 9bf1d6c5e9 peer_connection_handle 2015-07-12 14:40:03 -07:00
Steven Siloti b072b0ca5f create session_handle
The session_handle class exposes the same public interface to session_impl as
the session class. The difference being that session_handle does not own the
underlying session_impl so multiple session_handle instances can be created
and copied about as needed.

The intent is to chenge the plugin API to pass an instance of session_handle
instead of a pointer to session_impl. This change will be made in a separate
patch.

To maintain ABI compatibilty, the type signature of session was not changed.
The relevent functions have been modified to forward to session_handle and
all enums have been left in session.
2015-07-11 11:17:28 -07:00
Arvid Norberg b472299524 Merge pull request #21 from john-peterson/build2
hike required windows version to vista
2015-07-07 22:39:08 -04:00
arvidn 0bf1274b26 attempt to make travis not kill GCC 2015-07-06 17:33:17 -04:00
John Sebastian Peterson 12b30074e5 hike required windows version to vista
because xp has faded into the sunset
2015-07-06 06:53:48 +02:00
arvidn e2784df13c factor out file progress tracking from the torrent class 2015-06-28 22:47:11 -04:00
arvidn 3755a77a64 attempt to trouble shoot missing backtraces on linux 2015-06-20 16:36:23 -04:00
arvidn 2e0a5263ac attempt to fix some isue with python binding jamfile 2015-06-07 08:31:09 +03:00
arvidn f11b054bae another travis attempt 2015-06-05 00:15:22 -04:00
arvidn 393f98f9ee fix gcc build of test_dos_blocker. update README and travis.yml 2015-06-04 21:58:02 -04:00
Arvid Norberg 71ee44ae5e fix build issue, some warnings 2015-05-17 23:32:13 +00:00
Arvid Norberg 99de70604a remove dht-verbose logging build configuration. tie it to the main logging configuration (which now is on by default) and make it less costly when dht logging alerts are disabled 2015-05-16 19:29:49 +00:00
Arvid Norberg 12c9d3de26 fix more warnings 2015-05-16 18:35:47 +00:00
Arvid Norberg 5e07ff857e remove residual geoip cruft 2015-05-11 00:49:34 +00:00
Arvid Norberg 0029ac62a8 add unit test for extract_peer_info 2015-05-10 18:24:38 +00:00
Arvid Norberg a83dcbaaf0 removed access-log build option and log parser. added incoming_request_alert. This feature can now be implemented by clients 2015-05-09 03:04:08 +00:00
Arvid Norberg 4f216dece3 factor out strings of peer logs to be enums instead, in peer_log_alert 2015-05-03 02:53:54 +00:00
Arvid Norberg c6da211585 disable one more version of signed/unsigned mismatch warning in msvc 2015-04-27 03:19:10 +00:00
Arvid Norberg 2fff222235 silence some warnings on msvc 2015-04-27 02:21:12 +00:00
Arvid Norberg d128d36faa fix cpuid use (apparently it's not appropriate to use in an inlined function) 2015-04-26 18:46:45 +00:00
Arvid Norberg f0336017d1 fix gcc warnings and missing header files in makefiles 2015-04-26 00:51:44 +00:00
Arvid Norberg 821e34c795 fix examples build. fix print formatting bugs. fix some gcc warnings 2015-04-25 04:22:51 +00:00
Arvid Norberg 3bf9fa8fca move out merkle functions into their own file and test 2015-04-24 06:06:41 +00:00
Arvid Norberg f5629eb403 cleanup and fixing of more warnings 2015-04-21 00:23:00 +00:00
Arvid Norberg 4d15f1410f fix warnings, some clean-up and todo comments 2015-04-20 04:52:49 +00:00
Arvid Norberg 21751347bc more warnings fixes and cleanup 2015-04-19 06:28:21 +00:00
Arvid Norberg d764e74f33 enable warnings on gcc too 2015-04-18 14:33:55 +00:00
Arvid Norberg 408232cfc8 raise warning level. fix a few of them. filter out warnings from boost 2015-04-18 02:33:39 +00:00
Arvid Norberg 8ac5a32548 improve deprecation macros. increase default warning level. fix deprecation warnings while building libtorrent itself (gcc and clang) 2015-04-17 01:49:49 +00:00
Arvid Norberg 1faf2e201f inversed TORRENT_LOGGING build config to enable logging by default. It's now disabled by TORRENT_DISABLE_LOGGING 2015-04-17 01:15:33 +00:00
Arvid Norberg d019f3d4c3 fix linux python build and test_ssl build 2015-04-04 18:03:55 +00:00
Arvid Norberg ccc7e45406 landed mutable torrents branch in trunk 2015-03-21 00:12:40 +00:00
Arvid Norberg 4f7115750b add address sanitizer to Jamfile 2015-03-16 05:49:26 +00:00
Arvid Norberg 1b07ec491d fix build issue out of recent changes of exported functions 2015-03-16 04:38:28 +00:00
Arvid Norberg 6c1df7eb55 landed the bdecode branch in master. lazy_bdecode/lazy_entry is now being replaced by bdecode/bdecode_node 2015-03-12 05:20:12 +00:00
Arvid Norberg 0c8aee014c implemented utp extension header to indicate the reason to close the connection 2015-02-28 19:51:15 +00:00
Arvid Norberg 51f1a61d2d more piece_picker unit tests and some fixes 2015-02-13 02:58:21 +00:00
Arvid Norberg d2546cc592 test coverage fix in Jamfile 2015-02-10 04:00:44 +00:00
Arvid Norberg f4ee43a1f9 fix linux build 2015-01-20 17:05:45 +00:00
Arvid Norberg 0f37e3403c transition from intrusive_ptr to shared_ptr. don't export initialize_default_settings 2015-01-06 08:08:49 +00:00
Arvid Norberg 1218e328cd SSL fixes (especially over uTP) 2015-01-04 01:04:56 +00:00
Arvid Norberg c2a05228fd fix dynamic linking (Jamfile and dependencies on internals) 2015-01-01 18:03:56 +00:00
Arvid Norberg e9414894e2 separate the configuration of crypto library and whether protocol encryption is enabled or not. make protocol encryption always use the built-in rc4 and tommath code. SHA-1 hashing is done by the crypto library 2014-12-29 16:50:22 +00:00
Arvid Norberg a67c478336 fix sanitizer options in jamfile 2014-12-17 02:45:32 +00:00
Arvid Norberg 09bc1550e9 simplify the debug logging mechanism. There's now only one build option, logging=on or logging=off. When logging is enabled, the log level is controlled by the alert mask. All log events are delivered as alerts and it's up to the client to write them to disk in whatever way seems appropriate. removed the pointless logger plugin 2014-12-09 09:08:26 +00:00
Arvid Norberg 4376d26399 merged changes from RC_1_0 2014-12-01 10:43:34 +00:00
Arvid Norberg fd313fe6bf merged changes from RC_1_0 2014-11-30 20:08:23 +00:00
Arvid Norberg 362b54421d merged changes from RC_1_0 2014-11-30 10:07:19 +00:00
Arvid Norberg 658e2ceefd merged Steven Siloti's peer crypto patch into trunk 2014-11-23 06:14:47 +00:00
Arvid Norberg e526355d24 merged changes from RC_1_0 2014-11-09 11:17:13 +00:00
Arvid Norberg 85cc72835e finally rename policy to peer_list 2014-10-26 07:34:31 +00:00
Arvid Norberg 02a9ea18b7 deprecated auto_expand_choker. started factoring out choker logic into its own translation unit (preparing for making it unit testable) 2014-10-22 22:06:56 +00:00
Arvid Norberg 3db32f67b5 remove option TORRENT_DISABLE_FULL_STATS 2014-10-21 21:45:35 +00:00
Arvid Norberg cea5585993 remove stats logging functionality from libtorrent. This has been moved to a helper class part of libtorrent-webui, utility library 2014-10-21 19:58:12 +00:00
Arvid Norberg 939411488e split time_critical and super_seeding tests out of test_swarm 2014-10-12 08:39:14 +00:00
Arvid Norberg ceccc2a483 land branch to remove half-open connection limit / connection queue 2014-10-03 20:56:57 +00:00
Arvid Norberg 27b7705cf2 remove built-in GeoIP support 2014-09-21 21:01:48 +00:00
Arvid Norberg 45d8e36da4 merged Steve Siloti's refactoring patch of inter-thread calls into session_impl 2014-08-26 04:51:09 +00:00
Arvid Norberg 166528747d fix typo in Jamfil 2014-08-18 21:37:58 +00:00
Arvid Norberg 524384045c transition to use boost.random instead of rand() and custom pseudo random generator 2014-08-16 20:26:00 +00:00
Arvid Norberg 30713a4a79 remove buffer stats debugging feature 2014-07-19 08:20:20 +00:00
Arvid Norberg 24b9101075 merged changes from RC_1_0 2014-07-12 06:20:16 +00:00
Arvid Norberg 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +00:00
Arvid Norberg 6c6fe4dfe2 merged fixes of warnings from RC_1_0 2014-07-04 23:40:31 +00:00
Arvid Norberg e5a9a6b36f make xml_parse not be a template 2014-05-03 21:10:44 +00:00
Arvid Norberg 4c7e24e9c6 fix asio build issue by building for XP instead of win2k 2014-04-19 01:55:10 +00:00
Arvid Norberg 114d417ef3 fix sanitize=rtc option in Jamfile 2014-02-03 03:34:16 +00:00
Arvid Norberg 0ed79849c1 support msvc /RTC option and make run_regression_tests support passing on arbitrary boost-build options (to allow different testers enable rtc and sanitizers) 2014-02-03 03:23:17 +00:00
Arvid Norberg 0228a2a644 add support for -fsanitize= options to jamfile 2014-02-01 21:46:31 +00:00
Arvid Norberg 702b68ecc4 clean up assert related defines and debuf-only fields less error-prone. fix missing initialization in file_pool caused by mistake in defines under which the debug field was initialized 2014-01-19 19:45:50 +00:00
Arvid Norberg d7be4659c8 rate limiter overflow fix (for very high limits) 2014-01-13 06:49:47 +00:00
Arvid Norberg 6dbc7091d3 fix link issue in build. caused corruption and crash in test_storage 2014-01-06 03:50:25 +00:00
Arvid Norberg d6b1aa4c36 DHT refactoring and support for storing arbitrary data with put 2013-12-27 04:28:25 +00:00
Arvid Norberg d58066b32d fix Jamfile typo for extensions=on as well as mistakes in ifdefs for encryption fields/code 2013-12-20 06:38:51 +00:00
Arvid Norberg adb3a5523c some defensive programming. cleanup unused boost include. tighten up boost includes 2013-12-17 23:26:44 +00:00
Arvid Norberg f382876832 fix debug buffer build. add new Jamfile feature for it. attempt to make it build on windows 2013-11-29 09:41:53 +00:00
Arvid Norberg 64b563fd06 attempt to trigger valgrind errors earlier 2013-10-02 21:51:30 +00:00
Arvid Norberg 8bb2c46f42 fix darwin link error for release builds 2013-09-04 01:16:13 +00:00
Arvid Norberg 12fd5be372 fix bug in ed25519 DHT signature verification. removed RSA code as it's no longer used. add CAS feature (compare and swap) to DHT put command. update dht_store documentation 2013-09-03 00:45:48 +00:00
Arvid Norberg 1c3229caa9 fix test_pe_crypto build 2013-09-01 17:39:40 +00:00
Arvid Norberg 1e9d7e9f89 need to link against advapi32 when using ed25519, since it needs entropy 2013-08-24 21:35:49 +00:00
Arvid Norberg 6bd07fd65f pull in an ed25519 implementation and replace use of RSA in the DHT with ECC. fix up makefiles 2013-08-18 16:01:20 +00:00
Arvid Norberg a401aa0337 cleaned up public interface by removing some symbols from the exported set 2013-07-19 19:06:27 +00:00
Arvid Norberg 578254d4ad fix Jamfile for release with production asserts build config 2013-06-17 16:11:52 +00:00
Arvid Norberg 7f194b4542 move hasher implementation out of header file 2013-05-08 07:57:16 +00:00
Arvid Norberg 39e4361fff merged fix from RC_0_16 2013-05-02 05:36:08 +00:00
Arvid Norberg 7632393325 merged jamfile fixes from RC_0_16 2013-04-27 19:35:41 +00:00
Arvid Norberg 520b8bfcd1 move out alert_manager to its own compilation unit. remove TORRENT_DISABLE_EXTENSIONS from affecting the public API 2013-04-09 02:38:11 +00:00
Arvid Norberg df4fcaaeed remove disable-dht build configuration from the public API (simplify linking) 2013-04-09 01:04:43 +00:00
Arvid Norberg 2332b7047b merged boost.asio fix from RC_0_16 2013-02-06 09:35:22 +00:00
Arvid Norberg aab59d04c7 improve the external IP discovery to work with multiple external IPs (specifically IPv4 and IPv6) 2013-01-01 23:12:16 +00:00
Arvid Norberg 0a07f75ee0 merged visibility fix from RC_0_16 2012-12-15 05:09:11 +00:00
Arvid Norberg 77a1090104 bump version 2012-11-18 04:32:22 +00:00
Arvid Norberg 6612d1f88a merged change from RC_0_16 2012-11-16 03:50:30 +00:00
Arvid Norberg 33943f7184 merged set_version fix 2012-09-29 21:30:40 +00:00
Arvid Norberg d09495d218 merged boost.date_time linking from RC_0_16 2012-09-28 03:50:34 +00:00
Arvid Norberg fdc25967c2 merged string function cleanup from RC_0_16 2012-08-26 15:26:17 +00:00
Arvid Norberg 9bdcadb7ad merged build fix from RC_0_16 2012-08-16 03:03:29 +00:00
Arvid Norberg ee3b006c85 fix build with i2p disabled 2012-07-31 16:53:37 +00:00
Arvid Norberg 8ded061c9e fixed windows ssl shared library build 2012-07-23 16:10:34 +00:00
Arvid Norberg bcb22239bf polish windows build 2012-07-23 13:59:17 +00:00
Arvid Norberg 9a8b2a75ba fix Jamfile install target 2012-06-14 05:49:39 +00:00
Arvid Norberg ca7d1c343b merged Jamfile fix from RC_0_16 2012-06-12 16:38:15 +00:00
Arvid Norberg 1db4fae595 merged patch from RC_0_16 2012-06-10 16:20:00 +00:00
Arvid Norberg b022772b4d merged fix from RC_0_16 2012-06-03 05:13:08 +00:00
Arvid Norberg 2d0464fde7 fix freebsd build 2012-05-13 04:40:21 +00:00
Arvid Norberg a699ab3768 fix release asserts issue 2012-04-20 17:03:00 +00:00
Arvid Norberg b03e99ab40 fix DLL export issue on windows 2012-04-15 04:00:58 +00:00
Arvid Norberg 5ff529d4b1 fix debug builds of libtorrent.so 2012-03-21 16:34:41 +00:00
Arvid Norberg cafbf2ca1d more work on minimizing shared object export symbol table 2012-03-20 03:53:07 +00:00
Arvid Norberg a2521bd23c fix a bunch of issues to properly support dynamic linking of libtorrent with visibility=hidden. Still requires a small patch to boost 2012-03-18 23:31:04 +00:00
Arvid Norberg 2ec6a53c71 fix openssl build 2012-03-16 07:45:27 +00:00
Arvid Norberg 750801d25b some more shared linking fixes 2012-03-15 17:17:10 +00:00
Arvid Norberg 64b599598c minor fixes 2012-03-15 07:16:30 +00:00
Arvid Norberg 7b1a441aeb attempt to make shared library builds to work with visibility=hidden 2012-03-15 06:08:08 +00:00
Arvid Norberg 7f2d6325df rely on boost configs symbol export macro, make sure boost thinks it is built as a shared library when linked into a shared library 2012-03-13 15:35:35 +00:00
Arvid Norberg b5bf19c07b fix openssl build with boost-1.46 2012-02-25 08:31:25 +00:00
Arvid Norberg b2ede2665b attempt to hide non-exported symbols from dynamic library builds 2012-02-16 08:47:53 +00:00
Arvid Norberg 238622c3d1 build with visibility=hidden by default on gcc and llvm 2012-02-16 06:14:19 +00:00
Arvid Norberg f13a91d8a8 support backtraces on windows 2012-01-26 10:33:39 +00:00
Arvid Norberg 39aa23b7b6 fix ssl linking on mingw 2012-01-19 08:12:13 +00:00
Arvid Norberg 4a40e68a82 landed ssl branch back into trunk 2012-01-14 16:04:25 +00:00
Arvid Norberg 152cee19f1 add compile-time feature to enable logging of all peer requests 2011-12-29 12:15:29 +00:00
Arvid Norberg df0d714713 assert on integer overflow in debug builds with GCC 2011-12-11 09:43:08 +00:00
Arvid Norberg bc1e47a486 solaris fixes 2011-09-04 23:29:47 +00:00
Arvid Norberg 524e116277 fix production asserts build 2011-08-14 23:30:40 +00:00
Arvid Norberg 1b470e0961 move the code of chained buffer out to its own cpp file 2011-08-13 23:01:38 +00:00
Arvid Norberg bc2f0c8c5e move disk_buffer_pool out to its own file 2011-07-31 02:24:36 +00:00
Arvid Norberg 1adc9dde8e add missing module include in Jamfile 2011-07-23 19:46:27 +00:00
Arvid Norberg 1b353ce5af fix beos build 2011-07-20 05:14:25 +00:00
Arvid Norberg 2974a47f3c fix release asserts build 2011-07-05 15:53:57 +00:00
Arvid Norberg 5bbbf0cd41 add rsa sign and verification functions for future DHT extensions 2011-05-23 23:42:52 +00:00
Arvid Norberg a329a11b57 add build option to always enable asserts (i.e. allow asserts in release builds) 2011-05-07 19:58:38 +00:00
Arvid Norberg 3435da235d make is_upload_only() be accurate and deal with super seeding special case only where necessary. Fix pointless assert in invariant check 2011-04-09 23:57:56 +00:00
Arvid Norberg 2f63718eb7 disable offsetof warning on clang 2011-03-09 03:14:40 +00:00
Arvid Norberg ab3b82b8ee replaced std::rand() with custom random generator 2011-02-26 07:55:51 +00:00
Arvid Norberg 20d763c8c7 added option to not use custom assert macro 2011-02-24 18:15:15 +00:00
Arvid Norberg 7508038337 cross compiling fixes 2011-02-14 04:12:26 +00:00
Arvid Norberg e959acae42 add iconv build option 2011-02-09 09:54:45 +00:00
Arvid Norberg c223291fb4 added support for RSS feeds 2011-01-18 03:41:54 +00:00
Arvid Norberg b078cd5416 some jamfile fixes for static linking 2010-12-25 07:24:00 +00:00
Arvid Norberg 451c583023 more robust mechanism to determine external IP 2010-12-24 01:31:41 +00:00
Arvid Norberg 94ef3eaf4b windows build fixes 2010-12-01 05:47:18 +00:00
Arvid Norberg e5f980d80d merged uTP branch into trunk (yay) 2010-11-29 01:33:05 +00:00
Arvid Norberg 2e871382d7 add debug configuration to debug shutdown-stall bugs / outstanding async operations 2010-11-28 01:47:30 +00:00
Arvid Norberg af6ac4aca9 some solaris build fixes 2010-11-28 00:26:33 +00:00
Arvid Norberg 72322dbc10 allow extending web seeds with extra headers and custom authorization schemese 2010-10-10 18:43:58 +00:00
Arvid Norberg 3b550ece98 don't save settings that are set to the default value 2010-10-10 02:22:57 +00:00
Arvid Norberg 02668e8f75 fix message posting to work from multiple threads 2010-08-26 17:00:24 +00:00
Arvid Norberg 08d145a6e9 added production assert mode 2010-05-06 02:18:08 +00:00
Arvid Norberg 81d0bed02a update Jamfile for linux builds 2010-04-17 20:54:24 +00:00
Arvid Norberg 4fec667ea1 added Jamfile feature to enable FIEMAP support 2010-04-11 00:55:15 +00:00
Arvid Norberg 2910a4a10c dropped dependency on zlib 2010-03-16 06:14:22 +00:00
Arvid Norberg b09a282a9e added piece-allocator feature to Jamfile 2010-03-07 01:10:08 +00:00
Arvid Norberg d15fd0c6d3 bump version number 2010-02-25 22:30:07 +00:00
Arvid Norberg 1a97405189 added an option to save a little bit of RAM by not collecting full detailed stats 2010-02-08 05:43:54 +00:00
Arvid Norberg f612a07b06 more header dependency fixes and some configure header cleanup 2009-12-09 09:55:19 +00:00
Arvid Norberg 4e861e923d fix macports include path 2009-12-06 02:24:34 +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 39dae9e6dc some GCC 2.95 support fixes and some BeOS support 2009-11-28 22:41:21 +00:00
Arvid Norberg ddceb1487d fixed building with no IPv6 support 2009-11-27 18:46:29 +00:00
Arvid Norberg 8dd244581d header optimizations 2009-11-26 05:45:43 +00:00
Arvid Norberg a5586d154d more header dependency optimizations 2009-11-25 06:55:34 +00:00
Arvid Norberg 6343fe6a6d optimized header dependencies to lower build time 2009-11-23 08:38:50 +00:00
Arvid Norberg 3b9b8b144c added support for using libtommath instead of libgcrypt or libcrypto for bittorrent encryption 2009-11-09 07:26:40 +00:00
Arvid Norberg e9e32235b4 added support for libgcrypt 2009-11-08 03:09:19 +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 5ddb988461 link dynamically to external libraries by default 2009-11-02 01:10:05 +00:00
Arvid Norberg 51ef057498 more unicode and wstring fixes 2009-10-29 18:12:43 +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 9d1989904b some compatibility fixes. 2009-10-20 16:44:11 +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 54cce9da60 simplified and optimized the DHT implementation 2009-09-20 00:23:36 +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
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
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 45fd696bc6 added I2P support 2009-08-20 03:19:12 +00:00
Arvid Norberg 8b1e55d28a workaround bug in asio in boost-1.39 2009-06-27 19:30:15 +00:00
Arvid Norberg a956265be4 merged socks4 and socks5 code and improved SOCKS error messages 2009-04-08 04:18:45 +00:00
Arvid Norberg 9140358a3f Jamfile fix 2009-04-04 07:31:24 +00:00
Arvid Norberg 96afdf8b22 first stab at installer rule in jamfile (headers are still copied to the wrong directory) 2009-04-02 23:21:44 +00:00
Arvid Norberg a4fca76eff python binding build fixes (BBv2) 2009-03-02 05:43:56 +00:00
Arvid Norberg 3cdf9c87a8 fixed build errors on Solaris 2009-01-27 08:24:48 +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 20a0593fa3 removed mapped_storage 2009-01-10 07:14:02 +00:00
Arvid Norberg 42f428f776 define BOOST_MULTI_INDEX_DISABLE_SERIALIZATION in CMakeLists.txt and configure.in. Also define BOOST_EXCEPTION_DISABLE to disable boost.exception 2009-01-07 01:58:43 +00:00
Arvid Norberg e5d3755afb added support for http seeds (BEP 17) 2008-12-30 03:54:07 +00:00
Arvid Norberg e21e05e493 make -fvisibility=hidden optional, since I can't figure out how to change the flags depending on toolset 2008-12-28 19:15:24 +00:00
Arvid Norberg 362befc579 fixed typo in visibility argument in Jamfile 2008-12-21 20:33:26 +00:00
Arvid Norberg 8a0fa577b1 fPIC related improvements to Jamfile 2008-12-21 02:38:37 +00:00
Arvid Norberg 24668058fc added -fPIC and -fvisibility=hidden as features for cleaner Jamfile (and to make the propagation work for boost_system) 2008-12-20 23:30:53 +00:00
Arvid Norberg 3d34d30afb use -fvisibility=hidden for darwin and gcc toolkits 2008-12-20 21:12:39 +00:00
Arvid Norberg 09b3a865ef fixed compiler flags in pkg-config file and made header files not depend on the NDEBUG define 2008-11-29 21:33:21 +00:00
Arvid Norberg acbdbfc1ef added tracker exchange (tex) extension 2008-11-27 20:51:59 +00:00
Arvid Norberg f8b6d1c483 fixed geoip shared linking in Jamfile 2008-11-23 20:40:08 +00:00
Arvid Norberg 03398e94b0 replaced utf8 conversion with code from unicode.org 2008-11-13 06:39:08 +00:00
Arvid Norberg 6267a97843 removed iostream dependency, since mapped_storage is discontinued 2008-09-30 19:12:30 +00:00
Arvid Norberg c152a88512 fixed linux build when linking against openssl (adds libdl.so) 2008-09-03 00:55:49 +00:00
Arvid Norberg cbf8e6f3b1 introduced TORRENT_NO_DEPRECATE, to disable deprecated functions. Made example not use deprecated functions. Documented magnet uri related functions. 2008-08-03 15:14:08 +00:00
Arvid Norberg 3500fe3be4 when building with test-coverage on, gcov is now linked in and asserts are disabled 2008-07-30 06:43:01 +00:00
Arvid Norberg d16629f7c8 default to use UNICODE on windows 2008-07-20 11:53:21 +00:00
Arvid Norberg 417855848f merged file_win.cpp and file.cpp (removed the need for file_win.cpp). The file is no longer a pimpl 2008-07-20 11:14:54 +00:00
Arvid Norberg 2ab80ddc3a moved the error_category to error_code.cpp and added the new files (error_code.{hpp|.cpp}) to the Jamfile and makefiles 2008-07-18 10:22:16 +00:00
Arvid Norberg 84406e2064 excluded mapped_storage from build 2008-07-18 00:21:51 +00:00
Arvid Norberg 1ed583011c made the invariant checks cheaper and more useful. The full invariant checks are still available as an option 2008-07-12 17:51:59 +00:00
Arvid Norberg 13766dc855 Jamfile updates to add the option to link statically or dynamically against the boost libraries 2008-06-28 08:59:25 +00:00
Arvid Norberg eb9a24261f no need to change the Jamfiles 2008-06-23 13:17:15 +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 59767f324b boost=system fixes to Jamfile 2008-06-07 17:36:33 +00:00
Arvid Norberg 3910fe78de separated file_storage from torrent_info and create_torrent 2008-05-28 08:44:40 +00:00
Arvid Norberg 31ab7f9773 boost 1.35 related fixes 2008-05-20 09:45:55 +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 5703d607af links against boost-system 2008-05-15 16:58:32 +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 262bb9f6e7 if boost=system, -I/opt/local/include/boost-1_35 -I/usr/include/python2.5 and -L/opt/local/lib are now passed on to the build command line 2008-05-14 00:21:57 +00:00
Arvid Norberg 35f5ace67a fixed typo in Jamfile making it fail when linking against librt 2008-05-09 17:07:08 +00:00
Arvid Norberg 64cb8696cd Jamfile fixes for the python bindings to work with system installed boost libraries 2008-05-08 01:53:05 +00:00
Arvid Norberg c7e6c04705 switched over to asio from boost-1.35 2008-05-03 16:05:42 +00:00
Arvid Norberg 2b55d7ebe5 added support to build with tcmalloc to Jamfile 2008-04-13 21:11:37 +00:00
Arvid Norberg b300c7f835 added high performance bdecoder code 2008-04-11 03:41:09 +00:00
Arvid Norberg 093d912e9a receive buffer optimization. added receive_buffer_size and used_receive_buffer to peer_info. changed plugin api to make use of new disk_buffer_holder type 2008-04-10 10:03:23 +00:00
Arvid Norberg ec1199fdae jamfile fix 2008-04-09 05:36:37 +00:00
Arvid Norberg 75ef4ec1f1 added option to not use pool allocators (useful when using memory debugging tools) 2008-04-09 05:19:11 +00:00
Arvid Norberg da5d5a5d4e added option to include librt (for 64 bit linux systems) 2008-04-05 05:36:18 +00:00
Arvid Norberg 57d75e120a initial support for GeoIP (only AS mappings for now) 2008-04-05 04:53:22 +00:00
Arvid Norberg 77ac39c8c6 Jamfile fix 2008-02-17 21:37:20 +00:00
Arvid Norberg a53473a65d added new logging mode to log peer errors 2008-02-07 07:09:52 +00:00
Arvid Norberg 6caca17883 refactored gzip code and added gzip support to http_connection 2008-01-30 18:32:13 +00:00
Arvid Norberg 61bbc6e58f initial https support for trackers and http_connection. Added support for proxies to http_connection 2008-01-27 22:39:50 +00:00
Arvid Norberg 795bee4b2c added option to disable invariant checks and added more build documentation 2008-01-13 06:17:56 +00:00
Arvid Norberg 7cea96ea88 added TORRENT_VERBOSE_BANDWIDTH_LIMIT build option to generate a bandwidth manager log 2008-01-12 18:47:26 +00:00
Arvid Norberg 7f56486cf0 separated http_parser to its own file 2008-01-12 09:36:03 +00:00
Arvid Norberg 62670cc2f3 fix to include assert.cpp in release mode as well 2007-12-30 23:30:14 +00:00
Arvid Norberg e1b1123c48 made memdebug work. include script to generate graph 2007-12-27 06:37:18 +00:00
Arvid Norberg 5e089f01d6 memdebug fixes 2007-12-26 05:02:55 +00:00
Arvid Norberg 5b4e23712d first draft for memory debugging instrumentation 2007-12-26 04:44:25 +00:00
Arvid Norberg 9aa2ddec80 added a plugin 'smart_ban' that can ban peers sending bad data with higher accuracy 2007-12-18 06:04:54 +00:00
Arvid Norberg eec07349e9 fixes build issue with openssl on mingw 2007-12-15 23:38:54 +00:00
Arvid Norberg 8c3f9571de socks5 support for udp messages 2007-12-09 04:15:24 +00:00