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
|
73d6ba6ae3
|
using span in torrent_handle and no optional in torrent_info (#1023)
|
2016-08-22 11:02:51 -04:00 |
arvidn
|
74fc0fae9d
|
merged RC_1_1 into master
|
2016-08-21 16:28:49 -04:00 |
Arvid Norberg
|
e36e5efaba
|
use boost::string_ref (#996)
use boost::string_ref/boost::string_view in various parts of the code, in file_storage, some file functions and in bdecode.
|
2016-08-13 07:04:53 -04:00 |
Arvid Norberg
|
8007b947fd
|
make pad-file and symlink support conform to BEP47 (#992)
make pad-file and symlink support conform to BEP47
|
2016-08-07 22:37:10 -04:00 |
arvidn
|
42b3fbe20a
|
merged RC_1_1 into master
|
2016-08-07 17:23:40 -04:00 |
arvidn
|
83dba91168
|
use span for to_hex and from_hex functions
|
2016-07-29 18:42:18 -04:00 |
Arvid Norberg
|
69f82c5274
|
add support for entry::preformatted to python binding (#952)
|
2016-07-27 00:15:26 -04:00 |
Arvid Norberg
|
770935cd46
|
modernize-use-nullptr (#894)
|
2016-07-09 16:26:26 -04:00 |
Arvid Norberg
|
ed077c8358
|
use cstdint intead of boost/cstdint.hpp (#833)
use cstdint intead of boost/cstdint.hpp
|
2016-06-18 14:01:38 -04:00 |
Arvid Norberg
|
8c8f5bb03b
|
deprecated public to_hex() and from_hex() functions (#784)
|
2016-06-04 10:01:43 -04:00 |
Arvid Norberg
|
748af6eec1
|
general cleanup. remove valgrind markup, log_hash_failures and C headers (#752)
general cleanup. remove valgrind markup, log_hash_failures and C headers
|
2016-05-23 08:15:39 -04:00 |
arvidn
|
f1216686d2
|
merged RC_1_1 into master
|
2016-05-23 00:56:16 -04:00 |
Arvid Norberg
|
b5fc367d17
|
fix incorrect comparison function when deciding which peer to disconnect (#746)
fix incorrect comparison function when deciding which peer to disconnect
|
2016-05-22 13:46:37 -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
|
1e7e01c671
|
transition to system_error as the exception type (#730)
transition to system_error as the exception type
|
2016-05-15 00:33:06 -04:00 |
Arvid Norberg
|
0d27a0acdd
|
fix assert when adding an empty file (as a torrent) (#729)
|
2016-05-14 13:24:29 -04:00 |
arvidn
|
c292696dcb
|
back-port fix adding empty file as torrent
|
2016-05-14 13:13:20 -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
|
4cbbb0620e
|
only strip trailing dots and spaces from filenames on windows
|
2016-01-18 13:07:04 -05:00 |
arvidn
|
3460f203f3
|
extend testing of sanitize_append_path_element
|
2015-12-19 20:11:22 -05:00 |
arvidn
|
121b686a39
|
add set_web_seeds to torrent_info
|
2015-12-12 18:36:15 -05:00 |
arvidn
|
b628692223
|
separate out announce_entry and torrent_status into their own headers
|
2015-09-18 08:08:08 -04:00 |
Arvid Norberg
|
c8443d0c7c
|
msvc fixes
|
2015-05-31 12:21:16 +00: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
|
647a6dba54
|
moved some tests to the correct place and factor out some tests from test_primitives.cpp in order to be able to track test coverage better
|
2015-05-27 21:27:41 +00:00 |
Arvid Norberg
|
12c9d3de26
|
fix more warnings
|
2015-05-16 18:35:47 +00:00 |
Arvid Norberg
|
5dc00969f8
|
fix more warninigs
|
2015-05-06 02:13:03 +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
|
663aa7b546
|
remove outdated todo comment
|
2015-03-28 21:42:37 +00:00 |
Arvid Norberg
|
9af3066b56
|
fix file collision logic in torrent_info
|
2015-03-21 16:55:23 +00:00 |
Arvid Norberg
|
ccc7e45406
|
landed mutable torrents branch in trunk
|
2015-03-21 00:12:40 +00:00 |
Arvid Norberg
|
794de25212
|
moved escape_string.hpp into the aux_ directory. moved out the 3 public hex functions into its own public header, hex.hpp
|
2015-03-14 23:10:20 +00:00 |
Arvid Norberg
|
d49e97afb3
|
optimized loading and parsing torrents. Specifically detecting duplicate filenames (optimizing the common case of no collisions). Expanded unit test to uncover an unsupported case (not fixed yet). cutting down on memory allocation and copying when parsing torrent files in memory
|
2015-02-17 02:08:47 +00:00 |
Arvid Norberg
|
3d47a1fb81
|
extend file_storage unit test a bit
|
2015-02-16 21:53:23 +00:00 |
Arvid Norberg
|
d370ae0b9d
|
merge test_torrent_parse and test_torrent_info (they both exercised torrent_info)
|
2015-02-15 01:04:50 +00:00 |
Arvid Norberg
|
bc9281a27c
|
deprecate file_entry (used by file_storage) and clean up the add_file overload that borrows memory (and improve implementation and documentation). The python bindings were updated to more closely match the c++ API (specifically actually using file_storage)
|
2015-01-21 15:46:12 +00:00 |
Arvid Norberg
|
81ab22d3d8
|
fix test_torrent_info on windows
|
2015-01-15 03:42:08 +00:00 |
Arvid Norberg
|
20b4608c38
|
optimize copying torrent_info and file_storage objects
|
2014-12-17 05:33:16 +00:00 |
Arvid Norberg
|
5666cdcd07
|
fix warnings
|
2014-12-09 09:33:34 +00:00 |
Arvid Norberg
|
7351389ce8
|
land libtorrent_aio branch in trunk
|
2014-07-06 19:18:00 +00:00 |
Arvid Norberg
|
bcb703b9a3
|
improve duplicate file detection in torrent files
|
2013-11-18 06:59:47 +00:00 |
Arvid Norberg
|
31ecd1b914
|
copy test_torrent_info unit test from libtorrent_aio
|
2013-11-18 00:56:02 +00:00 |