Alden Torres
e2487c4d24
more use of std::shared_ptr refactor
2016-08-30 10:10:53 -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
Alden Torres
4d96939b7b
minor cleanup and refactor ( #1016 )
...
minor cleanup and refactor
2016-08-20 19:46:55 -04:00
Alden Torres
bd557ca2b2
minor refactor to make it more swig friendly ( #1014 )
2016-08-20 11:29:31 -04:00
arvidn
8c8c3d5587
replace boost::function with std::function
2016-08-13 07:07:26 -04:00
Alden Torres
a966458f8c
minor cleanup ( #997 )
...
minor cleanup
2016-08-12 19:24:03 -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
Arvid Norberg
9c2325ff6b
modernize and improve type-safety of the DHT put implementation and test ( #929 )
...
modernize and improve type-safety of the DHT put implementation and tests. use unique_ptr instead of malloc for dht put items.
2016-07-23 15:57:04 -07:00
Arvid Norberg
7bf49c0a1c
modernize hasher to use array_view ( #931 )
...
modernize hasher to use array_view as well as adding array_view support to entry
2016-07-22 07:29:39 -07:00
Arvid Norberg
a740a49fd6
modernize misc ( #898 )
...
modernize misc
2016-07-10 07:34:45 -04:00
Arvid Norberg
770935cd46
modernize-use-nullptr ( #894 )
2016-07-09 16:26:26 -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
Steven Siloti
f1585d8317
Fix abort_jobs being called multiple times ( #831 )
...
disk_io_thread::abort_jobs must only be called once, but it was possible for
concurrent calls to be made from abort() and thread_fun() if the max threads
had been set to zero but there were still disk I/O threads running.
m_num_running_threads doesn't need to be atomic anymore
2016-06-18 16:53:23 -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
fa8232cd13
remove some old cruft and defines ( #785 )
...
remove some old cruft and defines
2016-06-04 10:03:13 -04:00
Arvid Norberg
96999ad67f
replace uses of boost::bind with std::bind and lambdas ( #745 )
2016-05-25 00:31:52 -04:00
arvidn
6cf5ac9dd1
merged RC_1_1 into master
2016-05-06 01:08:05 -04:00
Arvid Norberg
985436636e
added new preformatted type to bencode entry ( #698 )
...
added new preformatted type to bencode entry to support carrying a verbatim copy of an already bencoded subtree. This is to support saving torrents in resume data and create_torrent based on existing torrents, in order to preserve key order
2016-05-05 21:38:57 -04:00
arvidn
36a5a11ee2
merge fix
2016-04-29 23:34:25 -04:00
arvidn
e0e05e3961
fix asserts firing in unit tests
2016-04-28 21:59:41 -04:00
arvidn
b8dad50757
fix whitespace
2016-04-28 17:14:41 -04:00
Alden Torres
d08bbbc0cc
Added asserts related to total_size in create_torrent ( #642 )
2016-04-26 00:37:47 -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
Alden Torres
6171c911a0
Added assert for total_size in create_torrent ( #636 )
2016-04-22 13:51:06 -04:00
arvidn
b446fe4bba
deprecate settings_pack::hashing_threads and replace it with aio_threads in documentation
2016-03-18 16:40:52 -04:00
arvidn
1f9f588e75
merge copyright year update and changelog from RC_1_0
2016-01-17 18:57:46 -05:00
arvidn
4aaa8ca4a9
silence msvc performance warnings. introduce more override and finals
2015-11-19 23:37:45 -05:00
arvidn
b628692223
separate out announce_entry and torrent_status into their own headers
2015-09-18 08:08:08 -04:00
arvidn
97571b4ad4
fixed more warnings
2015-08-07 00:30:29 -04:00
John Sebastian Peterson
2bbb238b4b
use getfileattributes successor to support winrt
2015-07-02 09:55:34 +02:00
arvidn
5cb095f6d2
support using 0 disk threads (to perform disk I/O in network thread)
2015-06-14 16:00:04 -04:00
Arvid Norberg
d43f7b56a2
update copyright year
2015-06-03 05:18:48 +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
4d15f1410f
fix warnings, some clean-up and todo comments
2015-04-20 04:52:49 +00:00
Arvid Norberg
013ed36f09
landed alert_queue feature branch into trunk
2015-04-03 20:15:48 +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
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
f77e12ac04
clean up symbol exports
2015-01-01 20:25:39 +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
f32f5e96aa
deprecate parts of cache_status and move those counters to session_stats counters. make the performance counters thread safe. fix some issues recently introduced to performance counters and the usage of them in client_test
2014-08-01 06:07:48 +00:00
Arvid Norberg
7351389ce8
land libtorrent_aio branch in trunk
2014-07-06 19:18:00 +00:00
Arvid Norberg
735916ad44
remove restrictions on pad_file_limit and alignment when creating torrents. This makes the torrent creator more flexible to create all-padded files for instance
2014-06-18 06:22:01 +00:00
Arvid Norberg
a943fec777
update copyright
2014-02-23 19:12:25 +00:00
Arvid Norberg
4e6b1cfbfb
update copyright
2013-12-25 17:07:16 +00:00
Arvid Norberg
4ac6264487
merged create_torrent fix from RC_0_16
2013-11-07 05:17:09 +00:00
Arvid Norberg
3bd53f88ef
fix build with internal_file_entry being deprecated without deprecated functions
2013-08-12 07:30:57 +00:00
Arvid Norberg
0a09eeca9f
merged changes from RC_0_16
2013-05-11 22:57:08 +00:00
Arvid Norberg
bdf0e1764b
merged fixes from RC_0_16
2013-05-11 22:00:54 +00:00
Arvid Norberg
b3ef6011aa
merged merkle torrent creation fix from RC_0_16
2013-01-21 07:33:48 +00:00
Arvid Norberg
bff648a89e
update copyright dates and add tool to do so
2012-10-02 03:16:33 +00:00
Arvid Norberg
532e514c00
improve torrent file creator optimizer a bit
2012-08-12 21:18:38 +00:00
Arvid Norberg
e73e96b04c
fix build
2012-04-28 21:27:29 +00:00
Arvid Norberg
1c60ae4064
canonicalize paths when using UNC paths
2012-04-28 21:13:55 +00:00
Arvid Norberg
bad2857cbe
fix symbol export error on windows
2012-03-23 08:22:52 +00:00
Arvid Norberg
cafbf2ca1d
more work on minimizing shared object export symbol table
2012-03-20 03:53:07 +00:00
Arvid Norberg
619c375528
don't inline large functions
2012-03-19 06:06:52 +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
8b459a27bd
remove 'encrypted peer connections' feature (ssl is a better idea)
2012-02-09 06:23:58 +00:00
Arvid Norberg
8c23b0e3ce
allow NULL to be passed to create_torrent::set_comment and create_torrent::set_creator
2011-09-22 21:24:50 +00:00
Arvid Norberg
012bad4b18
added missing setter function on create_torrent
2011-09-05 07:46:10 +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
7817229f5d
improve support for merkle tree torrent creation
2011-07-30 17:35:22 +00:00
Arvid Norberg
46f585e928
fix file attribute when creating torrents on windows
2011-07-14 14:24:39 +00:00
Arvid Norberg
141ada013f
fixed a whole bunch of build warnings on gcc and msvc, along with some fixes discovered along the way
2011-02-21 05:24:41 +00:00
Arvid Norberg
2e69366b02
reverted part of the file_storage API to match the previous one more closly
2010-11-29 05:44:29 +00:00
Arvid Norberg
894db973e8
optimized memory usage of torrent_info and file_storage
2010-11-24 23:49:22 +00:00
Arvid Norberg
8c404cc5c1
optimized memory usage of torrent_info
2010-11-15 05:10:36 +00:00
Arvid Norberg
559c4bdf65
fixed some msvc warnings
2010-10-16 15:24:45 +00:00
Arvid Norberg
43b29c3627
support web seeds in create_torrent and fix issue when building without deprecated functions
2010-10-10 21:06:35 +00:00
Arvid Norberg
f70fbb45c0
optimized struct layout of torrent_info. removed boost.date_type types from public interface (replaced by time_t)
2010-08-21 22:10:16 +00:00
Arvid Norberg
dce2edb6cc
fixed vs 2010 build
2010-04-30 19:08:16 +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
c9f7ba495f
don't include symlink info by default in torrents
2010-03-20 07:30:34 +00:00
Arvid Norberg
8ee5268123
disable including 'mtime' in new torrents by default
2010-03-20 02:41:36 +00:00
Arvid Norberg
08c8bfae29
more wide character and mingw fixes
2010-02-15 05:49:10 +00:00
Arvid Norberg
848d9f5fc1
don't crash when trying to make a torrent from 0 files
2010-01-19 01:58:03 +00:00
Arvid Norberg
562e2512b9
some vs2010 fixes
2009-11-22 23:55:54 +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
0a18d91583
fox windows code for get_symlink_path() (the previous implementation caused infinite recursion on windows)
2009-07-20 02:07:32 +00:00
Arvid Norberg
a259b2ba93
windows build fix
2009-07-16 06:35:25 +00:00
Arvid Norberg
ece98a8ef6
* added support for storing symbolic links in .torrent files
2009-07-01 08:35:45 +00:00
Arvid Norberg
84426fd0a3
merkle tree torrents use 64 kiB piece sizes
2009-06-24 21:39:15 +00:00
Arvid Norberg
f96a5c247f
windows fixes
2009-06-23 17:52:05 +00:00
Arvid Norberg
5de60fad78
added support for preserving modification time of files in torrents
2009-06-23 02:50:41 +00:00
Arvid Norberg
9dfa35d18d
merged utf8_native and convert_to_native
2009-06-22 02:19:11 +00:00
Arvid Norberg
f5f9796ba7
fixed windows build
2009-03-14 08:19:17 +00:00
Arvid Norberg
84a513bffb
initial support for merkle hash tree torrents
2009-03-13 06:09:39 +00:00
Arvid Norberg
b9ab3f056b
fixed create_torrent to use renamed function 'convert_to_wstring'
2009-03-03 18:18:08 +00:00
Arvid Norberg
b25a8db2a6
added more error codes. consolidated exception classes into one. moved over more places to use error_code instead of strings. fixed proper error handling for torrent_info
2009-02-23 01:21:19 +00:00
Arvid Norberg
d506bcd5de
prevent torrent optimization in unit test
2009-01-19 08:46:45 +00:00
Arvid Norberg
43e69cd316
added extension for file attributes. Fixes problem when sharing Application bundles on OSX or hidden files on windows
2009-01-11 22:27:43 +00:00
Arvid Norberg
eea890de11
added support for generating torrent files with padding files in them
2009-01-11 10:32:57 +00:00
Arvid Norberg
6d97d562f9
added another constructor to create_torrent that copies a torrent_info.
2008-09-24 17:05:12 +00:00
Arvid Norberg
9bae670ac7
fix build with boost-1.36
2008-08-16 21:11:27 +00:00