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
Arvid Norberg
a286a6b4aa
initial attempt at verifying the certificate of ssl trackers, by including the certificate in the .torrent file
2011-08-28 21:06:15 +00:00
Arvid Norberg
42a220f9b8
fixed bug in make torrents when saving merkle tree
2011-08-03 08:31:10 +00:00
Arvid Norberg
7817229f5d
improve support for merkle tree torrent creation
2011-07-30 17:35:22 +00:00
Arvid Norberg
c51e0a2a86
fixed inconsistency when creating torrents with symlinks
2010-04-01 00:44:29 +00:00
Arvid Norberg
b4abe6677d
support for sha1 file-hashes
2010-03-27 15:51:30 +00:00
Arvid Norberg
730f81ebe9
never write binary data to stdout on windows
2010-03-25 00:50:23 +00:00
Arvid Norberg
5b039a8982
error handling in make_torrent
2009-11-30 00:40:36 +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
981ae208d1
exception fixes
2009-04-07 15:06:07 +00:00
Arvid Norberg
84a513bffb
initial support for merkle hash tree torrents
2009-03-13 06:09:39 +00:00