Commit Graph

82 Commits

Author SHA1 Message Date
arvidn 5fe23ce280 merged RC_1_2 into RC_2_0 2020-09-10 17:08:16 +02:00
arvidn 746be15bf3 add option to example make_torrent, to include file timestamps in the torrent file 2020-09-09 22:24:15 -07:00
arvidn 5935f63ead update copyrights 2020-09-01 05:14:17 -07:00
arvidn ba6e98f8a0 fix warnings in make_torrent example 2020-08-25 07:20:17 -07:00
arvidn c7d1f8cb53 merged RC_1_2 into master 2020-02-05 16:07:44 +01:00
arvidn 9344dcc9b1 update make_torrent example to support controlling tracker tiers 2020-02-03 10:03:04 +01:00
Arvid Norberg ef25f69070 rename disk_io_thread -> mmap_disk_io and storage -> mmap_storage 2019-12-10 08:44:53 +01:00
arvidn d3f7a363c2 update copyright year 2019-08-29 00:13:04 +02:00
arvidn 7dd28bec1b fix spell-checker 2019-08-10 09:28:38 -07:00
Steven Siloti 1a7ccf240f generate v2 metadata 2019-08-10 09:28:38 -07:00
Steven Siloti 784f978f77 remove support for BEP 30 merkle tree torrents
With the adoption of BEP 52, BEP 30 is now obsolete. This code has also
been broken for some time. The merkle_* functions have been retained because
they will probably be usefull for BEP 52.
2019-08-10 09:28:38 -07:00
arvidn 7f2a78d0c9 make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
arvidn f4f1425115 use UNC paths pervasively on windows 2019-01-12 21:00:40 +01:00
arvidn 4c5ef920f0 update examples to use C++11 and more succinct error handling 2017-12-30 22:44:10 +01:00
arvidn 672556b4b2 merged RC_1_1 into master 2017-12-30 18:17:57 +01:00
arvidn d427572247 cleanup examples a bit 2017-12-30 02:57:43 +01:00
arvidn 5bf28e37b8 make create_torrent flags type-safe 2017-08-04 21:23:42 +02:00
arvidn 4530f56616 minor cleanup of client_test 2017-05-03 07:30:10 -04:00
arvidn d138f02424 introduce lt namespace alias 2017-04-23 23:43:58 -04:00
arvidn 79d7ae3638 separate path and filesystem functions out into its own translation unit/header file pair, separating it from the file and directory class 2017-04-11 18:07:55 -04:00
Arvid Norberg 3f1084d63d strengthened type safety in handling of piece and file indices (#1409)
strengthened type safety in handling of piece and file indices
2016-12-22 10:42:33 -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
Alden Torres a75c2ba47e fix examples/make_torrent.cpp compilation (#1140)
fix examples/make_torrent.cpp compilation
2016-09-23 07:45:35 -07:00
arvidn 70199041f7 merged RC_1_1 into master 2016-09-22 13:48:12 -07:00
arvidn 93381505d0 clean up some examples 2016-09-18 17:14:18 -07:00
Arvid Norberg 8f7901dd25 build with warnings as errors in autotools build on travis (#1013)
build with warnings as errors in autotools build on travis
2016-08-19 01:05:43 -04:00
arvidn bd4827db35 fix missing include 2016-08-03 22:10:38 -04:00
Arvid Norberg 6aabe3762b general modernization (#836)
general modernization. use nullptr instead of NULL, use std::tuple instead of boost::tuple, transition some unordered set/map from boost to std. some clean-up of includes
2016-06-20 11:32:06 -04:00
Arvid Norberg 8c8f5bb03b deprecated public to_hex() and from_hex() functions (#784) 2016-06-04 10:01:43 -04:00
Arvid Norberg e8380e1d0b factor out includes from config.hpp into the files actually using it. primarily, printf family of functions, since C++11 version is used now. This removes the need for an snprintf-wrapper on windows (#732) 2016-05-17 09:24:06 -04:00
Arvid Norberg 44a668db62 build with gcc/mingw on appveyor (#722)
enable gcc/mingw builds on appveyor. Some mingw tests crash currently, they need debugging and are currently disabled.
2016-05-15 13:28:22 -04:00
Andrei Kurushin 62eb956c54 fix x64 build with VS2015 UP2 compiler (#640)
fix VS2015 compiler warnings for: address-model=64, deprecated-functions=on, link=shared
2016-04-25 17:22:09 -04:00
arvidn f7c9062019 deprecate more parts of explicit cache as well as fixing typos of TORRENT_NO_DEPRECATE preprocessor tests 2016-03-19 07:54:29 -04:00
arvidn 06b648203f clean up use of error categories 2015-11-24 00:50:51 -05:00
Arvid Norberg 0c2f5c67b8 fix file_filter bug in make_torrent.cpp 2015-04-29 04:33:00 +00:00
Arvid Norberg 7cb2f79377 remove rss_reader from examples 2015-03-30 04:38:47 +00:00
Arvid Norberg ccc7e45406 landed mutable torrents branch in trunk 2015-03-21 00:12:40 +00:00
Arvid Norberg 79feb037b2 fix use of getcwd in make_torrent on windows 2015-01-08 20:20:44 +00:00
Arvid Norberg 21d1f6f649 more dynamic link build fixes 2015-01-02 11:11:09 +00:00
Arvid Norberg 13a9c3c78d we no longer support including file-hashes when creating torrents 2014-12-17 03:50:01 +00:00
Arvid Norberg ef3874b2b1 merged improvement to connection_tester from RC_1_0 to trunk 2014-07-10 22:23:26 +00:00
Arvid Norberg 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +00:00
Arvid Norberg 6ef1b98717 merged compiler warning fixes from RC_1_0 2014-07-05 14:10:25 +00:00
Arvid Norberg facbf9c178 don't expose load_file as a public function 2013-07-19 21:41:33 +00:00
Arvid Norberg b3ef6011aa merged merkle torrent creation fix from RC_0_16 2013-01-21 07:33:48 +00:00
Arvid Norberg 90edd1dd80 merged make_torrent update from RC_0_16 2012-10-03 01:55:08 +00:00
Arvid Norberg b3fda9a756 merged make_torrent fixes from RC_0_16 2012-10-02 20:43:01 +00:00
Arvid Norberg cafbf2ca1d more work on minimizing shared object export symbol table 2012-03-20 03:53:07 +00:00
Arvid Norberg 8b459a27bd remove 'encrypted peer connections' feature (ssl is a better idea) 2012-02-09 06:23:58 +00:00
Arvid Norberg 92bcb9ebfd feature to encrypt peer connections with a secret AES-256 key stored in .torrent file 2011-09-05 05:50:41 +00:00