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
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
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
1f9f588e75
merge copyright year update and changelog from RC_1_0
2016-01-17 18:57:46 -05:00
arvidn
a81ca2391b
fix some warnings
2015-08-10 20:03:24 -04:00
arvidn
50925d7652
fix some more warnings
2015-08-08 02:48:01 -04:00
arvidn
655a3ae019
fix some warnings
2015-08-01 23:57:11 -04:00
arvidn
52b4aed466
merge bdecode patch from RC_1_0. an empty string now produces an error rather than an empty bdecoded struct
2015-07-30 21:29:22 -04:00
Arvid Norberg
d43f7b56a2
update copyright year
2015-06-03 05:18:48 +00:00
Arvid Norberg
d9945f6f50
merged fix from RC_1_0
2015-06-02 01:29:05 +00:00
Arvid Norberg
2fff222235
silence some warnings on msvc
2015-04-27 02:21:12 +00:00
Arvid Norberg
c19c6b2cc1
fix some warnings
2015-04-24 05:37:17 +00:00
Arvid Norberg
4fd230dbe5
fix build and some warnings
2015-04-20 00:01:27 +00: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
4376d26399
merged changes from RC_1_0
2014-12-01 10:43:34 +00:00
Arvid Norberg
aae56c991c
merged changes from RC_1_0
2014-11-08 16:58:18 +00:00
Arvid Norberg
f8272b90ae
merged changes from RC_1_0
2014-09-29 07:06:18 +00:00
Arvid Norberg
8552e75f21
merge error code fix from RC_1_0
2014-07-20 20:49:56 +00:00
Arvid Norberg
7351389ce8
land libtorrent_aio branch in trunk
2014-07-06 19:18:00 +00:00
Arvid Norberg
e0e5a55f10
factor out error handling in lazy_bdecode
2014-05-04 20:47:16 +00:00
Arvid Norberg
e19c52ec98
improve lazy_bdecode test to cover more error cases
2014-05-01 03:54:47 +00:00
Arvid Norberg
7d1de6215a
improve error recovery in lazy bdecoder
2014-04-23 00:25:55 +00:00
Arvid Norberg
91799025f2
merged bdecode fix from RC_0_16
2014-04-04 03:21:15 +00:00
Arvid Norberg
a943fec777
update copyright
2014-02-23 19:12:25 +00:00
Arvid Norberg
c9bfa1279e
fix lazy_bdecode build
2013-12-26 18:43:48 +00:00
Arvid Norberg
4e6b1cfbfb
update copyright
2013-12-25 17:07:16 +00:00
Arvid Norberg
444223c2e3
merged fixes from RC_0_16
2013-12-23 01:40:05 +00:00
Arvid Norberg
a85cdb2d1a
abbreviate long strings when printing lazy_entries on a single line
2013-12-20 04:40:00 +00:00
Arvid Norberg
0868383007
merged include file fix from RC_0_16
2013-11-23 20:01:57 +00:00
Arvid Norberg
4b1d9cb760
make lazy_bdecode a bit more self-contained
2013-10-23 05:19:52 +00:00
Arvid Norberg
0158710f5c
break out bdecode errors into its own category
2013-10-22 23:57:12 +00:00
Arvid Norberg
4e94ae592c
clean up lazy bdecoder a bit
2013-10-22 22:41:58 +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
6d7e9e4521
remove some iostream dependencies
2012-10-12 04:50:34 +00:00
Arvid Norberg
bff648a89e
update copyright dates and add tool to do so
2012-10-02 03:16:33 +00:00
Arvid Norberg
1244ae8894
remove left-over debug printf from bdecoder
2012-02-17 06:52:08 +00:00
Arvid Norberg
47781bf2c5
cleanup, fix warnings
2012-02-15 10:57:49 +00:00
Arvid Norberg
c384d00dbf
make bdecoder more robust when encountering errors (leave the resulting tree consistent)
2012-02-10 04:19:11 +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
5864a883e6
fixed build warnings
2011-02-14 01:59:01 +00:00
Arvid Norberg
f82321c1dd
add a backwards compatible lazy_bdecode()
2010-11-29 02:48:40 +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
894db973e8
optimized memory usage of torrent_info and file_storage
2010-11-24 23:49:22 +00:00
Arvid Norberg
a4f533ce55
improve the bencoded printer
2010-11-09 18:13:22 +00:00
Arvid Norberg
fc1b44b560
improve error reporting of lazy_bdecode to use error_code
2010-10-28 04:01:59 +00:00
Arvid Norberg
93bdc61410
fixed bug in bdecoder
2010-06-15 17:00:23 +00:00
Arvid Norberg
c050b22d8f
optimized memory usage for torrent objects
2010-02-14 01:39:55 +00:00