Jakob Petsovits
a699cfae7e
CMake build: Require Boost.Random from FindLibtorrentRasterbar.
...
Also remove outdated requirements for Boost.Thread and
Boost.DateTime linking.
2015-07-17 20:59:19 -04:00
Jakob Petsovits
8fe8a843e5
CMake build: Use ${CMAKE_STATIC_LIBRARY_SUFFIX} to look for .lib on Windows.
2015-07-17 20:13:14 -04:00
Jakob Petsovits
baa9f86407
CMake build: specify examples sources manually instead of globbing.
...
This is necessary because the client_test example spans multiple
files, so creating an executable for each one separately doesn't
make so much sense anymore.
2015-07-17 20:13:14 -04:00
Arvid Norberg
6241958aee
Merge pull request #27 from Chocobo1/py2
...
Project cleanup
2015-07-12 10:58:30 -04:00
Chocobo1
a59d1d3240
Add/fix shebang in python scripts, add execute permission (linux), remove whitespace/tabs at end of line
2015-07-12 14:24:01 +08:00
Chocobo1
b743ef44e9
Pass std::string directly
2015-07-11 15:49:47 +08:00
Chocobo1
c69e8805e9
Fix resource leak
2015-07-11 15:12:55 +08:00
Mikhail Titov
bef92dc179
Fix default SAM port
2015-06-24 19:41:41 -05:00
arvidn
babd906340
fix windows build of client_test
2015-06-18 18:05:07 -04:00
arvidn
6cf9965416
fix buffer overflow in print() on windows
2015-06-18 00:31:28 -04:00
arvidn
5e5e31cf9a
fix test privacy to not destruct session, potentially, after other global destructors
2015-06-10 21:10:22 -04:00
arvidn
0369caae67
make client_test to not use a deprecated session constructor
2015-06-07 13:52:19 -04:00
arvidn
9af8841244
remove some unnecessary asio typedefs in the libtorrent namespace, just pull ip::tcp and ip::udp
2015-06-06 13:49:18 -04:00
arvidn
41533205be
drop support for boost 1.35 and fix some more references to the asio namespace
2015-06-06 02:10:53 -04:00
Arvid Norberg
85d1d9c85e
fix bug in piece printing in client_test
2015-05-30 06:11:41 +00:00
Arvid Norberg
f1c998c1ef
merged changes from RC_1_0
2015-05-26 19:10:49 +00:00
Arvid Norberg
09bc072c31
inactive/auto managed fixes. fix client_test key input
2015-05-26 18:39:49 +00:00
Arvid Norberg
5e07ff857e
remove residual geoip cruft
2015-05-11 00:49:34 +00:00
Arvid Norberg
b60934288b
turn DHT logging into alerts instead of writing to a file
2015-05-10 04:54:02 +00:00
Arvid Norberg
f90537c52d
fix some more coverity issues and add more todo comments
2015-05-05 02:32:14 +00:00
Arvid Norberg
4a304273fd
fix some coverity issues
2015-05-03 03:28:39 +00:00
Arvid Norberg
b417f2ba98
merged fix from RC_1_0
2015-05-03 02:56:46 +00:00
Arvid Norberg
ab0c97755e
merged fixes from RC_1_0
2015-04-29 05:48:09 +00:00
Arvid Norberg
0c2f5c67b8
fix file_filter bug in make_torrent.cpp
2015-04-29 04:33:00 +00:00
Arvid Norberg
8aa3c22796
fix coverity issues
2015-04-29 04:05:29 +00:00
Arvid Norberg
a15bc13392
build fixes
2015-04-26 13:38:56 +00:00
Arvid Norberg
f0336017d1
fix gcc warnings and missing header files in makefiles
2015-04-26 00:51:44 +00:00
Arvid Norberg
821e34c795
fix examples build. fix print formatting bugs. fix some gcc warnings
2015-04-25 04:22:51 +00:00
Arvid Norberg
408232cfc8
raise warning level. fix a few of them. filter out warnings from boost
2015-04-18 02:33:39 +00:00
Arvid Norberg
013ed36f09
landed alert_queue feature branch into trunk
2015-04-03 20:15:48 +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
1b07ec491d
fix build issue out of recent changes of exported functions
2015-03-16 04:38:28 +00:00
Arvid Norberg
58aa4e5ae7
fix build now that libtorrent::sleep is gone
2015-03-15 00:32:55 +00:00
Arvid Norberg
37225b71ae
const static -> static const (thanks gubatron). helps swigs parser
2015-03-14 00:42: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
c1dc982f4f
deprecate the ptime type and related time types. just use boost::chrono / std::chrono
2015-03-12 04:34:54 +00:00
Arvid Norberg
78f65bb37f
some windows fixes
2015-03-08 01:21:43 +00:00
Arvid Norberg
91270a0c2b
make operation_t public and document it. include peer disconnects in client_test log
2015-02-15 05:17:09 +00:00
Arvid Norberg
e15e5fd80a
expand unit tests
2015-02-14 06:14:15 +00:00
Arvid Norberg
1e80629770
make printing of file progress more compact in client_test
2015-02-08 21:59:52 +00:00
Arvid Norberg
266760b70b
improve client_test output
2015-02-08 03:24:56 +00:00
Arvid Norberg
aa9647b5d0
fix client_test build
2015-01-19 04:46:06 +00:00
Arvid Norberg
58d93e5aa1
add new (non-deprecated) access to dht stats, asynchronously via an alert
2015-01-17 17:02:58 +00:00
Arvid Norberg
a7add1787f
the piece bar is no longer optional in client test
2015-01-15 07:30:51 +00:00
Arvid Norberg
79feb037b2
fix use of getcwd in make_torrent on windows
2015-01-08 20:20:44 +00:00
Arvid Norberg
05f8569f9f
don't rely on internal utf8 functions from libtorrent
2015-01-08 18:19:35 +00:00
Arvid Norberg
774c3b536a
fix winows build
2015-01-07 16:47:37 +00:00
Arvid Norberg
35b41858cf
deprecated session_status and session::status() in favor of performance counters
2015-01-04 21:31:02 +00:00
Arvid Norberg
8b98261df1
merged changes from RC_1_0
2015-01-03 22:07:10 +00:00
Arvid Norberg
21d1f6f649
more dynamic link build fixes
2015-01-02 11:11:09 +00:00
Arvid Norberg
5c04eb7d00
fix client_test bug introduced by recent patch
2015-01-01 21:42:55 +00:00
Arvid Norberg
c2a05228fd
fix dynamic linking (Jamfile and dependencies on internals)
2015-01-01 18:03:56 +00:00
Arvid Norberg
e13bfce017
improve printing of rates and counters in client_test
2014-12-30 20:41:58 +00:00
Arvid Norberg
f77ba409fa
fix typo
2014-12-30 17:05:34 +00:00
Arvid Norberg
c443193ce0
add option to client_test to remove web seeds
2014-12-30 16:59:37 +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
a3d1a493fd
disable logging alerts in client_test
2014-12-10 09:45:38 +00:00
Arvid Norberg
0b960615b1
fix another build warning
2014-12-09 09:49:14 +00:00
Arvid Norberg
4eaec6d87f
instead of using a fixed request timeout for every peer, have an adaptable one based on the average download time for a block
2014-12-08 17:06:04 +00:00
Arvid Norberg
c4e5df8e4d
remove the concept of timeout_extend in piece request timeouts. if a request times out, cancel it as soon as it holds up the completion of a piece
2014-12-07 22:22:38 +00:00
Arvid Norberg
cc1a4dcdd7
fix examples build
2014-12-03 09:05:09 +00:00
Arvid Norberg
95fbf93e52
apply Steven Siloti's patch to client_test to enable fixed slots choker when specifying the number of unchoke slots
2014-11-30 04:57:54 +00:00
Arvid Norberg
99e1a3a829
attempted msvc-10.0 build fix
2014-11-30 00:28:03 +00:00
Arvid Norberg
f98c7223b2
merged changes from RC_1_0
2014-11-29 01:53:22 +00:00
Arvid Norberg
8b4dcb2959
merged changes from RC_1_0
2014-11-28 04:53:21 +00:00
Arvid Norberg
12a29ea281
client_test print fix
2014-11-24 04:35:52 +00:00
Arvid Norberg
29fb79f60c
merged changes from RC_1_0
2014-11-24 04:25:05 +00:00
Arvid Norberg
658e2ceefd
merged Steven Siloti's peer crypto patch into trunk
2014-11-23 06:14:47 +00:00
Arvid Norberg
179df62379
merged changes from RC_1_0
2014-11-20 05:53:12 +00:00
Arvid Norberg
3f61ee0ff3
merged changes from RC_1_0
2014-11-19 09:23:08 +00:00
Arvid Norberg
edfa38cd30
merged changes from RC_1_0
2014-11-17 03:41:01 +00:00
Arvid Norberg
aae56c991c
merged changes from RC_1_0
2014-11-08 16:58:18 +00:00
Arvid Norberg
3742fd2699
merged changes from RC_1_0
2014-11-02 09:41:29 +00:00
Arvid Norberg
34af25beaa
merged chagnes from RC_1_0
2014-11-01 22:47:56 +00:00
Arvid Norberg
9338aa6c60
some more refactoring in choker
2014-10-24 00:18:01 +00:00
Arvid Norberg
a3b18b8a41
fix some of the build errors in examples
2014-10-15 05:07:26 +00:00
Arvid Norberg
d8cf0d49e3
optimize piece printing in client_test
2014-10-07 03:09:32 +00:00
Arvid Norberg
9c2472f7bb
fix build with deprecated functions disabled
2014-10-05 19:32:29 +00:00
Arvid Norberg
ad7d74f255
merged fixes from RC_1_0
2014-09-13 19:47:51 +00:00
Arvid Norberg
12e61fe8ea
windows fix for client_test (thanks s. soliti)
2014-08-27 06:00:55 +00:00
Arvid Norberg
1045e385de
standard headers should be included regardless of WIN32
2014-08-26 04:16:50 +00:00
Arvid Norberg
862844e546
merged changes from RC_1_0
2014-08-22 07:56:10 +00:00
Arvid Norberg
524384045c
transition to use boost.random instead of rand() and custom pseudo random generator
2014-08-16 20:26:00 +00:00
Arvid Norberg
fcf2f6234b
more missing include fixes
2014-08-16 17:33:25 +00:00
Arvid Norberg
3f88389f05
merged changes from RC_1_0
2014-08-16 07:46:06 +00:00
Arvid Norberg
8833f27a46
fix deprecated-functions=off build
2014-08-16 06:51:48 +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
24b9101075
merged changes from RC_1_0
2014-07-12 06:20:16 +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
622981d2cd
client_test fixes
2014-07-10 08:32:32 +00:00
Arvid Norberg
f74180a61d
fixes to client_test
2014-07-10 01:34:39 +00:00
Arvid Norberg
ef2b52f06b
added missing files
2014-07-09 21:25:02 +00:00
Arvid Norberg
8fc07e6e89
more work towards making client_test event-driven and use session stats counters instead of session_status + some refactoring
2014-07-08 22:37:13 +00:00
Arvid Norberg
a63370f650
overhauled client_test. refactored and simplified. still in progress
2014-07-08 15:35:14 +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
35141733fb
remove some old unmaintained example code. make examples depend less on libtorrent internals
2014-05-10 20:20:57 +00:00
Arvid Norberg
4b9f4c7690
merged console output fix for client_test from RC_0_16
2014-05-08 16:43:24 +00:00
Arvid Norberg
0398dfe498
merged storage allocation mode fix from RC_0_16
2014-02-07 08:58:52 +00:00