Arvid Norberg
53c9b7ad25
restore some accidental removal in client_test from previous patch ( #812 )
2016-06-13 00:06:15 -04:00
Arvid Norberg
223f24ca27
some cleanup and transition to std::unique_ptr ( #786 )
...
some cleanup and transition to std::unique_ptr
2016-06-05 14:07:24 -04:00
arvidn
b3942a08fa
fix issue in client_test
2016-06-04 21:35:12 -04:00
Arvid Norberg
8c8f5bb03b
deprecated public to_hex() and from_hex() functions ( #784 )
2016-06-04 10:01:43 -04:00
arvidn
420b5f51e6
merged RC_1_1 into master
2016-05-27 12:35:53 -07:00
Arvid Norberg
96999ad67f
replace uses of boost::bind with std::bind and lambdas ( #745 )
2016-05-25 00:31:52 -04:00
arvidn
98eabc63e9
using _WIN32 appears safer than WIN32
2016-05-23 23:02:52 -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
Arvid Norberg
44a668db62
build with gcc/mingw on appveyor ( #722 )
...
enable gcc/mingw builds on appveyor. Some mingw tests crash currently, they need debugging and are currently disabled.
2016-05-15 13:28:22 -04:00
Arvid Norberg
045e9316ad
update CMakeLists.txt to build with C++11 ( #682 )
2016-05-02 14:38:12 -04:00
Arvid Norberg
c91a700c07
Msvc warnings ( #685 )
...
fix msvc warnings and build examples with warnings-as-errors
2016-05-02 12:36:21 -04:00
arvidn
78bc269832
use std::chrono and not boost::chrono
2016-05-01 08:50:30 -04:00
Steven Siloti
ff0675e64e
use standard array container ( #676 )
2016-04-30 23:10:47 -04:00
Arvid Norberg
20b41ad0b9
Threads ( #671 )
...
use std::thread, std::mutex, std::condition_variable instead of pulling them in from boost.asio internals.
2016-04-30 18:54:23 -04:00
Arvid Norberg
f856b6bbe3
dial up cppcheck ( #663 )
...
increase cppcheck coverage and make sure there are no warnings
2016-04-30 00:24:45 -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
Arvid Norberg
97bdb4ba25
don't support c++98 anymore. build bt-get and bt-get2 by default (which require C++11). simplify address-model configuration in appveyor script. enable msvc-14 builds. use boost 1.59 on appveyor ( #618 )
2016-04-24 09:17:58 -04:00
Andrei Kurushin
c41ab094be
fix release build with VS2015 UP2 compiler warnings for: examples, test, tools ( #627 )
...
fix release build with VS2015 UP2 compiler warnings for: examples, test, tools
2016-04-20 00:45:32 -04:00
arvidn
d84a38fdf2
improve converters for add_torrent_params
2016-04-15 00:48:47 -04:00
arvidn
867b83ccda
merged RC_1_1 into master
2016-04-08 02:20:24 -04:00
arvidn
238e7515ea
fix typo in travis to actually build bt-get and bt-get2 examples. fix bt-get2 build
2016-03-30 02:32:53 -04:00
arvidn
96e2693d13
merge RC_1_1 into master
2016-03-19 16:02:46 -04:00
arvidn
f7c9062019
deprecate more parts of explicit cache as well as fixing typos of TORRENT_NO_DEPRECATE preprocessor tests
2016-03-19 07:54:29 -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
5c360247b6
move piece_bar into print.cpp in client_test. make client_test take arbitrary libtorrent settings
2016-03-17 08:19:11 -04:00
arvidn
f79a9c7adf
merged RC_1_1 into master
2016-03-16 19:59:53 -04:00
arvidn
c9c401d15c
add piece matrix to client_test
2016-03-13 19:13:38 -04:00
Michael Smith
7657373fe3
Fix building examples
...
Add finding OpenSSL for examples (on Mac it's common for OpenSSL
installed via Homebrew to not be on normal paths, so find it via
CMAKE_PREFIX_PATH). Also make the example cmake helper script
executable.
2016-03-12 15:09:03 -08:00
arvidn
6d85c7c5f0
merge RC_1_1 into master
2016-03-08 01:10:48 -05:00
arvidn
442979c318
support filtering which parts of session state are loaded by load_state()
2016-03-06 16:35:49 -05:00
arvidn
adf56344e6
add interactive option to toggle use of disk cache to client_test
2016-03-06 16:15:17 -05:00
arvidn
8ca76f9d59
fix support for auto disk cache size and disk buffer pool allocator behavior
2016-03-06 16:14:55 -05:00
arvidn
2e7e679eed
simplify client_test shutdown and make it keep logging as saving resume data
2016-03-03 01:20:15 -05:00
arvidn
021375c07f
extend tutorial and finish bt-get example
2016-02-28 15:44:59 -05:00
arvidn
296a38efba
improve windows output of client_test
2016-02-27 19:40:04 -05:00
arvidn
ac2916c426
enable disk cache pool allocator by default. fix ansi escape code conversion in client_test on windows
2016-02-27 17:42:31 -05:00
arvidn
0b173c6651
merged RC_1_1
2016-02-23 23:48:29 -05:00
arvidn
c919c63ca3
extend the tutorial
2016-02-23 00:54:14 -05:00
arvidn
0e805d7d06
fix client_test for new read_resume_data functionality
2016-02-22 00:23:31 -05:00
arvidn
a725a3ded2
make client_test use the new read_resume_data function
2016-02-20 13:26:16 -05:00
arvidn
9f45156b5a
Merge branch 'RC_1_1'
2016-02-18 21:46:46 -05:00
arvidn
a675a749e0
remove 'full' allocation from client_test
2016-02-18 20:42:15 -05:00
arvidn
b2a6e8bf06
make client_test expose the new binding options
2016-02-12 15:46:24 -05:00
arvidn
645b121df6
deprecate resolve-countries
2015-12-14 21:32:30 -05:00
arvidn
60df41cd85
fix save_resume_data in client_test and make torrent a bit more instrumentable. This could be greatly simplified if resume data would not have file_sizes and timestamps
2015-11-29 20:31:57 -05:00
arvidn
fd3b53604c
add new piece picker logging alert category
2015-11-29 08:25:55 -05:00
arvidn
06b648203f
clean up use of error categories
2015-11-24 00:50:51 -05:00
arvidn
ebb9fdaf54
add error_code to torrent_status instead of error string
2015-11-05 20:43:23 -05:00
Jakob Petsovits
a3316ec49d
CMake build: Asio is now used header-only, remove definitions saying otherwise.
2015-11-02 14:24:56 -05:00
arvidn
5c96a35a66
scanf fix in client_test
2015-10-04 10:57:12 -04:00
arvidn
b628692223
separate out announce_entry and torrent_status into their own headers
2015-09-18 08:08:08 -04:00
arvidn
17c5759829
disable warning for unused command line argument and fix warnings. remove redundant travis build config. use new preprocessor on clang to avoid warnings
2015-09-06 22:55:41 -04:00
arvidn
3018546b37
fix warning
2015-08-22 01:22:04 +02:00
arvidn
b7b0dafcca
fix some warnings
2015-08-21 10:05:51 +02:00
arvidn
7f695f05d5
use boost.asio as headers only library again (simplify builds and hopefully fix shared linking of python module on gcc linux)
2015-07-27 23:09:24 -07:00
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