arvidn
98e02bf5da
fix new clang warnings
2025-07-07 13:15:03 +02:00
arvidn
afb69e279b
update dump_torrent to use load_torrent_file() instead of torrent_info constructor
2023-01-16 17:22:52 +01:00
arvidn
5935f63ead
update copyrights
2020-09-01 05:14:17 -07:00
arvidn
69cd2fc7d4
fix warnings in dump_torrent example
2020-08-25 07:20:17 -07:00
arvidn
28d54175c2
fix dump_torrent to make the max size limit configurable
2020-07-02 10:14:56 +02:00
arvidn
6e9f05ab9f
restore info_hash() API and name the v2 API info_hashes()
2020-05-30 14:00:24 +02:00
arvidn
210d2c58ce
simplify dump_torrent example. add example to convert torrent to magnet link
2019-12-29 14:31:02 +01:00
arvidn
d3f7a363c2
update copyright year
2019-08-29 00:13:04 +02:00
arvidn
de2cf58b6e
split out dumping of raw bencoded structure from dump_torrent into its own example
2019-08-13 21:17:54 +02:00
arvidn
86e11142a1
merged RC_1_2 into master
2019-08-10 21:11:10 -07:00
arvidn
5257b7afb9
hide pad files by default in dump_torrent. Print merkle tree roots of files for v2 torrents
2019-08-10 09:28:38 -07:00
Steven Siloti
f2eb857d48
dump_torrent: print v2 info-hash
2019-08-10 09:28:38 -07:00
Steven Siloti
86be4287d3
add info hash type
2019-08-10 09:28:38 -07:00
Arvid Norberg
196588c7b8
add torrent_info constructor overloads to control torrent file limits
2019-07-20 18:14:19 -07:00
arvidn
c3a22b90b3
fix more warnings in examples and tools
2018-10-11 14:28:32 +02:00
arvidn
5530793c75
improve the API for iterating over all files and pieces, with the new strong index types.
2018-06-12 11:44:29 +02:00
Alden Torres
9b1e79660f
removed unnecessary parentheses around min/max, added some const modifier ( #2926 )
2018-04-11 15:19:00 +02: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
a8a5986046
make file attributes (in file_storage) type safe
2017-08-04 07:38:57 +02:00
arvidn
d138f02424
introduce lt namespace alias
2017-04-23 23:43:58 -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
Alden Torres
6751a1eeb1
removed spaces in template types and more c++11 auto/loop refactor
2016-10-26 00:08:00 -04:00
arvidn
5308de69fe
make dump_torrent print web seeds
2016-08-13 07:07:25 -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
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
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
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
06b648203f
clean up use of error categories
2015-11-24 00:50:51 -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
6c1df7eb55
landed the bdecode branch in master. lazy_bdecode/lazy_entry is now being replaced by bdecode/bdecode_node
2015-03-12 05:20:12 +00:00
Arvid Norberg
8b98261df1
merged changes from RC_1_0
2015-01-03 22:07:10 +00:00
Arvid Norberg
cc1a4dcdd7
fix examples build
2014-12-03 09:05:09 +00:00
Arvid Norberg
7351389ce8
land libtorrent_aio branch in trunk
2014-07-06 19:18:00 +00:00
Arvid Norberg
35141733fb
remove some old unmaintained example code. make examples depend less on libtorrent internals
2014-05-10 20:20:57 +00:00
Arvid Norberg
444223c2e3
merged fixes from RC_0_16
2013-12-23 01:40:05 +00:00
Arvid Norberg
89c3db477d
merge build fix with C++11 from RC_0_16
2013-09-25 19:44:29 +00:00
Arvid Norberg
00cbb91601
make dump_torrent build without deprecated functions
2013-09-15 12:18:27 +00:00
Arvid Norberg
b7816ff281
print_entry should not be exported
2013-07-19 22:26:07 +00:00
Arvid Norberg
facbf9c178
don't expose load_file as a public function
2013-07-19 21:41:33 +00:00
Arvid Norberg
532e514c00
improve torrent file creator optimizer a bit
2012-08-12 21:18:38 +00:00
Arvid Norberg
0093229d27
merge diff from aio branch to show partially bdecoded files with dump_torrent
2011-06-25 17:42:49 +00:00
Arvid Norberg
6663f527da
fixed error handling in torrent_info constructor
2011-01-19 10:07:51 +00:00
Arvid Norberg
67d1c57b5e
bumped some limits in dump_torrent
2010-12-11 22:00:20 +00:00
Arvid Norberg
8ff9b6338b
some fixes
2010-11-25 10:46:52 +00:00
Arvid Norberg
faccbd8ae3
introduce safety limit on total number of items in bencoded trees in lazy_bdecode. Document lazy_bdecode and its error codes. Make dump_torrent able to change the decoding limits
2010-11-25 02:49:50 +00:00
Arvid Norberg
26a2beee5e
temporary commented out code
2010-11-24 23:52:10 +00:00