Commit Graph

80 Commits

Author SHA1 Message Date
Arvid Norberg 1075ae3b8d remove session pool allocator and use the buffer class instead (#2274)
simplify append_buffer by using size() to determine size of the buffer. make the move explicit in chained_buffer::init_buffer_entry
2017-08-28 11:37:53 +02:00
arvidn 819a9b0943 remove configure.ac hack where supposed arguments are spliced out of CXX into CXXFLAGS 2017-08-08 08:50:13 +02:00
Steven Siloti 9519fd4441 default to a template depth limit of 512 2017-04-23 19:49:49 -04:00
Calum Lind 58f9742ff9 Fix g++ appended to CXXFLAGS when C++11 is default enabled 2017-01-23 18:23:27 -05:00
Calum Lind 748c6e0da0 Fix debug flags and add option to python build
* The '-g' flag are being passed in by CXXFLAGS and CFLAGS so ensure
   that debugging builds are actually off by adding '-g0' to DEBUG_FLAGS.
 * Add DEBUG_FLAGS to Python compiler options.
2017-01-16 13:41:37 -05:00
Calum Lind fc3eae8e9b [#1561] Silence deprecated warnings in Python bindings 2017-01-16 13:41:37 -05:00
arvidn 934c58a816 merged RC_1_1 into master 2017-01-15 00:45:17 -05:00
Calum Lind 9b30d09099 [#1543] Fix missing C++11 flag for building python bindings
* Extract the flags from CXX and put into CXXFLAGS which is
   passed into setup.py extra_compile_args.
 * Remove now redundant os.environ test in setup.py
2017-01-14 19:30:25 -05:00
Calum Lind 2e7f43ba21 Fix ar 'modifier ignored' build warning
* This only applies to AR_FLAGS and not ARFLAGS.
 * afaik ARFLAGS is the new convetion and this warning is fixed
   upstream in libtool but may be a while before OSes catchup.
2017-01-14 18:50:47 -05:00
arvidn 219846fc3d back-ported AM_MAINTAINER_MODE patch to RC_1_1 2017-01-13 00:54:52 -05:00
Calum Lind 3a19f33097 [#1520] Add AM_MAINTAINER_MODE macro to configure.ac
* '--disable-maintainer-mode' option is now available for configure.
 * This fixes the warning 'unrecognized options: --disable-maintainer-mode' from debian pkg builds.
 * Setting the macro to 'enable' as default is equivalent to no macro call so no change in default functionality.
2017-01-13 00:54:06 -05:00
Falco 3f7bc23c6c use git for configure revision 2017-01-13 00:45:10 -05:00
arvidn d1ea80c2c3 remove disk-access-log build configuration 2017-01-09 08:37:02 -05:00
Arvid Norberg 97c6a75084 add proper error handling to peer connections and session (#1149)
add proper error handling to peer connections and session. i.e. catch exceptions in asio handlers and catch by const reference
2016-09-25 09:50:48 -04:00
Steven Siloti 578e9b3558 bump soname (#1094)
There's been lots of ABI breakage since 1.1.
2016-09-14 23:22:57 -04:00
Alden Torres 44d9f456f8 adding support for a more configurable sha512 hasher (#1028)
adding support for a more configurable sha512 hasher, digest32 template, using hasher512.
2016-08-25 19:07:16 -04:00
arvidn e247473b86 bump version number 2016-08-13 07:12:23 -04:00
Arvid Norberg 5b230694e5 check autotools on travis (#973)
build and run tests with autotools on travis, and fix configure issues.
2016-08-02 00:46:15 -04:00
Alden Torres fddbb13338 minimum boost version required 1.54 2016-08-01 16:00:14 -04:00
Arvid Norberg 633d0621f8 update required boost version and ax_boost_base.m4 (#937)
bump boost version requirement to 1.53, update ax_boost_base.m4
2016-07-28 08:34:22 -04:00
Alden Torres 7446a88425 version to 1.2 (#924)
update version to 1.2
2016-07-20 11:29:24 -07:00
arvidn 75dca7116f fix configure.ac typo 2016-07-03 11:52:02 -04:00
Arvid Norberg 1facf0eef6 clean-up more defines (#872)
clean-up more defines. remove TORRENT_DEBUG and TORRENT_DISABLE_INVARIANT_CHECKS (instead use TORRENT_USE_ASSERTS and TORRENT_USE_INVARIANT_CHECKS)
2016-07-01 19:46:59 -04:00
Alden Torres 436b781003 option to use only the openssl's sha1 implementation (#845)
separated ssl and crypto build options
2016-06-23 13:20:35 -04:00
arvidn 78bc269832 use std::chrono and not boost::chrono 2016-05-01 08:50:30 -04:00
Steven Siloti fef94a4c52 use standard random number classes (#679)
use standard random number classes
2016-05-01 08:35:28 -04:00
arvidn 680eddf3d4 remove -msse4.2 commandline option from configure script 2016-04-15 23:50:45 -04:00
arvidn 14387f52a4 forward port ssiloti's python binding configure script fix from RC_1_0 2016-02-02 19:13:43 -05:00
Alexandru Costache 34aa1a0ab7 Added missing dependencies to fix examples build
Main examples like simple_client failed to build as they
were not linked against boost chrono and boost random libraries
2015-08-12 11:36:29 +03: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
Arvid Norberg f9c9d0ad0d merge small unit tests to make running the tests quicker. expand the test framework a bit. add ax_boost_random.m4 script to link against boost.random correctly from makefile. 2015-05-30 04:31:23 +00:00
Arvid Norberg 5e07ff857e remove residual geoip cruft 2015-05-11 00:49:34 +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 a70960c26f remove geoip configure stuff 2015-03-12 04:29:55 +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 bfb0c4fe80 merged changes from RC_1_0 2014-11-12 16:57:59 +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 fce967b5fb merged changes from RC_1_0 to change email address from @rasterbar.com to @libtorrent.org 2014-10-14 02:06:20 +00:00
Arvid Norberg 27b7705cf2 remove built-in GeoIP support 2014-09-21 21:01:48 +00:00
Arvid Norberg ad7d74f255 merged fixes from RC_1_0 2014-09-13 19:47:51 +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 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +00:00
Arvid Norberg c5f6bb7582 apparently PYTHON_EXTRA_LDFLAGS is for internal python use only. fix m4 script 2014-07-02 04:40:17 +00:00
Arvid Norberg 2028a16d87 make setup.py work well with both automake and bjam 2014-05-11 22:51:06 +00:00
Arvid Norberg 45f3fa4696 simplified setup.py to always build the bindings using bjam 2014-03-23 07:34:18 +00:00
Arvid Norberg efd272681d merged makefile fixes from RC_0_16 2013-12-15 22:29:11 +00:00
Arvid Norberg 3413a760d7 merged configure fix from RC_0_16 2013-06-08 01:38:09 +00:00
Arvid Norberg 6bbda29c16 merged updated email 2013-03-11 00:02:12 +00:00
Arvid Norberg 1b268e7cd1 merged typos in configure script from RC_0_16 2012-12-31 06:56:18 +00:00
Arvid Norberg 5077c06c4a merged (python) fixes from RC_0_16 2012-11-23 20:43:42 +00:00