Commit Graph

230 Commits

Author SHA1 Message Date
Alden Torres f23cf84664 Disable preadv/pwritev for android 2016-04-13 00:08:08 -04:00
arvidn 6d1a744a5c Merge branch 'RC_1_1' 2016-03-18 11:31:21 -04:00
arvidn 1cd5119178 remove/deprecate bad idea with mlock 2016-03-17 19:37:05 -04:00
arvidn f79a9c7adf merged RC_1_1 into master 2016-03-16 19:59:53 -04:00
arvidn 55cd19d1e2 remove the purgable control patch. It adds a lot of complexity and it does not perform well 2016-03-14 01:48:00 -04:00
arvidn 3f3b366ed5 be a bit more strict about when the STL containers need complete types (to make it build under GCC with concept checks enabled). add proper assignment operator to types used in STL containers 2016-02-21 11:29:01 -05:00
arvidn 1f9f588e75 merge copyright year update and changelog from RC_1_0 2016-01-17 18:57:46 -05:00
arvidn a0678240f3 forward port fixes from RC_1_0 2016-01-03 23:34:57 -05:00
arvidn 505ae508f4 mark up some override functions and fix other clang warnings 2015-12-13 19:44:42 -05:00
Calum Lind 8f244868a5 Remove leftover TORRENT_COMPACT_PICKER definition 2015-10-20 12:12:44 +01:00
arvidn 5bdb583162 remove fallocate hack (in master) 2015-09-21 20:22:19 -07:00
arvidn 17c5759829 disable warning for unused command line argument and fix warnings. remove redundant travis build config. use new preprocessor on clang to avoid warnings 2015-09-06 22:55:41 -04:00
Steven Siloti 4b702701b2 exclude obsolete compatibility code on msvc-14 and later 2015-08-24 07:28:16 +02:00
arvidn 6068418def fix and re-enable simulations 2015-08-09 00:56:37 -04:00
arvidn 1c1698459c fix warnings 2015-08-08 22:53:11 -04:00
arvidn 655a3ae019 fix some warnings 2015-08-01 23:57:11 -04:00
John Sebastian Peterson 30142e35ac conform crypt api detection to coding standard 2015-07-04 01:42:33 +02:00
John Sebastian Peterson 02cee0e96e add winrt detection 2015-07-02 09:55:29 +02:00
arvidn bc849b8d07 fixed typo in config.hpp 2015-06-20 16:50:44 -04:00
arvidn 3755a77a64 attempt to trouble shoot missing backtraces on linux 2015-06-20 16:36:23 -04:00
arvidn 086723dd76 attempted glibc build fix 2015-06-04 21:44:24 -04:00
Arvid Norberg d43f7b56a2 update copyright year 2015-06-03 05:18:48 +00:00
Arvid Norberg 1357fd5265 clean up usage of printf attribute (encapsulate it in a macro) 2015-05-10 05:11:51 +00:00
Arvid Norberg fce3f77744 override marking of virtual functions 2015-05-05 05:37:01 +00:00
Arvid Norberg 2fff222235 silence some warnings on msvc 2015-04-27 02:21:12 +00:00
Arvid Norberg f0336017d1 fix gcc warnings and missing header files in makefiles 2015-04-26 00:51:44 +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 3ea67e2bf5 move time_now_string out to the unit test library (basically unused in libtorrent itself) 2015-04-24 03:48:08 +00:00
Arvid Norberg 4fd230dbe5 fix build and some warnings 2015-04-20 00:01:27 +00:00
Arvid Norberg 820fde5066 fix typo in config.hpp for gcc build 2015-04-19 13:45:13 +00:00
Arvid Norberg bf32895de9 fix asserts=off build 2015-04-19 13:18:54 +00:00
Arvid Norberg 21751347bc more warnings fixes and cleanup 2015-04-19 06:28:21 +00:00
Arvid Norberg 60d1b8fa7c fix gcc build 2015-04-18 21:21:22 +00:00
Arvid Norberg 23536dcc42 fix a few warnings and GCC build 2015-04-18 13:56:36 +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 5cfd662352 msvc fix 2015-01-21 06:48:23 +00:00
Arvid Norberg a7bec127f1 relying on local statics being threadsafe still does not seem safe on msvc 2015-01-18 16:52:39 +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 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 edfa38cd30 merged changes from RC_1_0 2014-11-17 03:41:01 +00:00
Arvid Norberg f7221e277f add unit test for crc32c and fix cpuid warning 2014-11-10 02:05:46 +00:00
Arvid Norberg bcc5d66e0c now that we use boost.chrono, no need for custom timer or macros controlling which timer to use 2014-10-21 21:51:12 +00:00
Arvid Norberg 3f88389f05 merged changes from RC_1_0 2014-08-16 07:46:06 +00:00
Arvid Norberg 2b1162aac9 fix build and suppress offsetof warnings in backwards-compatibility code 2014-07-22 05:35:05 +00:00
Arvid Norberg 42a30bb50f merged change from RC_1_0 2014-07-22 01:22:46 +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 6cce06fbd6 merged changes from RC_1_0 2014-07-03 21:22:59 +00:00
Arvid Norberg 0cb5db94b7 INT16_MIN and INT16_MAX macros for windows 2014-05-20 02:46:13 +00:00
Arvid Norberg 0ed91e248f leverage boost's endian detection in sha1-implementation 2014-05-03 03:45:51 +00:00
Arvid Norberg 80011a4715 fix build error in config.hpp when included by C-files (like the ed25519 source for instance) 2014-03-09 00:49:36 +00:00
Arvid Norberg a943fec777 update copyright 2014-02-23 19:12:25 +00:00
Arvid Norberg 2d5f0dddf7 merged mingw fix from RC_0_16 2014-02-15 02:45:04 +00:00
Arvid Norberg 68f2e3f1ff merged mingw fix from RC_0_16 2014-02-13 07:42:37 +00:00
Arvid Norberg cafa5f1903 silence gcc warning 2014-01-28 10:47:32 +00:00
Arvid Norberg 1709b48b66 fix invariant check macro 2014-01-23 20:27:15 +00:00
Arvid Norberg 967c56dff8 invariant check define cleanup 2014-01-20 01:36:59 +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 4e6b1cfbfb update copyright 2013-12-25 17:07:16 +00:00
Arvid Norberg faa53d7657 member re-order and struct packing 2013-12-02 04:24:10 +00:00
Arvid Norberg 65fe1b1212 android support 2013-11-27 16:58:02 +00:00
Arvid Norberg 1df950df1d documentation: hide internal functions, include inline functions, support section overviews, hide detail namespace 2013-07-21 21:23:21 +00:00
Arvid Norberg 7d49a0d148 support glibc on freebsd 2013-06-20 01:11:23 +00:00
Arvid Norberg ad8c105a24 merged fix from RC_0_16 2013-05-26 21:36:20 +00:00
Arvid Norberg 4c588eba3f merged fix from RC_0_16 2013-05-11 07:42:40 +00:00
Arvid Norberg 0a525477e3 use apple's common crypto for sha-1 and add missing source file 2013-05-09 02:32:12 +00:00
Arvid Norberg 74b7d676bc use posix_memalign on linux, not valloc 2013-03-18 15:46:43 +00:00
Arvid Norberg a2a4b61b5d fix library ABI to not depend on logging being enabled 2013-03-10 09:19:58 +00:00
Arvid Norberg c065b1fa80 merged utf8 conversion fix from RC_0_16 2012-11-30 05:26:09 +00:00
Arvid Norberg bff648a89e update copyright dates and add tool to do so 2012-10-02 03:16:33 +00:00
Arvid Norberg b8149ead5c OS/2 (eCS) support 2012-09-24 16:13:57 +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 e357440fd9 fix windows build 2012-08-15 16:59:47 +00:00
Arvid Norberg c10c5aa369 remove redundant define 2012-08-01 03:04:26 +00:00
Arvid Norberg e51a30f3dd fix INT64_MAX build issue on linux 2012-07-31 16:39:12 +00:00
Arvid Norberg bcb22239bf polish windows build 2012-07-23 13:59:17 +00:00
Arvid Norberg df10b45ecc fix unnecessary dependency on boost.date_time that came from building asio as separate compilation 2012-06-28 16:59:57 +00:00
Arvid Norberg 3f1bfb5477 fix linux build and make use of the system INT64_MAX define 2012-06-24 19:50:49 +00:00
Arvid Norberg 7351f68b98 fix build with verbose logging and missing INT64_MAX on msvc 2012-06-23 05:46:51 +00:00
Arvid Norberg f031bfa176 make it simpler to disable UNC paths 2012-04-28 16:23:16 +00:00
Arvid Norberg b03e99ab40 fix DLL export issue on windows 2012-04-15 04:00:58 +00:00
Arvid Norberg 7f19e0d976 some more FreeBSD fixes 2012-04-15 02:20:23 +00:00
Arvid Norberg 646f761c32 merged compatibility patch from RC_0_16 2012-04-11 16:35:16 +00:00
Arvid Norberg 6acde24799 merged SSL fix from RC_0_16 2012-04-05 04:17:19 +00:00
Arvid Norberg 6fc580e0cb support torrents with more than 262000 pieces 2012-04-01 19:14:30 +00:00
Arvid Norberg 62fef3cba0 fixed build configuration test in session.cpp 2012-03-19 02:43:06 +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 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 14287b8a7b use UNC paths on windows by default 2012-02-23 06:46:23 +00:00
Arvid Norberg 5df78592db fix some config defines 2012-02-01 06:24:30 +00:00
Arvid Norberg 0159b66756 fix iconv signature on mingw 2012-01-19 07:54:23 +00:00
Arvid Norberg 9df6e5ee7e provide defines for PRIu32 when missing 2012-01-19 06:56:36 +00:00
Arvid Norberg 9c24b7e23f provide definitions for PRIu64 if missing 2012-01-19 06:28:29 +00:00
Arvid Norberg 95769f3901 fix windows build 2011-11-13 05:04:05 +00:00
Arvid Norberg 43c9e640ab honor IOV_MAX when using writev and readv 2011-09-05 05:47:50 +00:00
Arvid Norberg bc1e47a486 solaris fixes 2011-09-04 23:29:47 +00:00
Arvid Norberg 601443afd3 close files in separate thread on systems where close() may block (Mac OS X for instance) 2011-08-07 04:41:10 +00:00