Arvid Norberg
bc8c49dc15
make file_status return the vector instead of taking an out-parameter ( #1000 )
...
make file_status return the vector instead of taking an out-parameter
2016-08-14 13:11:59 -04:00
arvidn
8c8c3d5587
replace boost::function with std::function
2016-08-13 07:07:26 -04: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
Arvid Norberg
96999ad67f
replace uses of boost::bind with std::bind and lambdas ( #745 )
2016-05-25 00:31:52 -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
arvidn
04a3c04075
merged RC_1_1 into master
2016-04-20 08:08:05 -04:00
Andrei Kurushin
7b5d48c02a
fix default release build with VS2015 UP2 compiler warnings ( #624 )
...
* fix default release build with VS2015 UP2 compiler warnings
this will allow to successfully build:
bjam toolset=msvc-14.0 release deprecated-functions=off character-set=unicode link=static warnings-as-errors=on
2016-04-17 16:56:07 -04:00
Alden Torres
a73d424b82
typos
2016-04-15 15:39:41 -04:00
arvidn
1f9f588e75
merge copyright year update and changelog from RC_1_0
2016-01-17 18:57:46 -05:00
arvidn
92236a9923
clean up error_code use, and use error_condition to test for errors in test_http_connection
2015-11-24 00:39:01 -05:00
arvidn
ffa870d280
fixed some GCC warnings
2015-08-20 01:33:20 +02:00
arvidn
5c8fc818c1
fix more warnings
2015-08-19 01:39:01 +02:00
arvidn
26fecaf037
fix more warnings
2015-08-18 16:42:03 +02: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
d43f7b56a2
update copyright year
2015-06-03 05:18:48 +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
04c33d6fb2
move closing of files outside of file pool mutex
2015-02-08 14:44:33 +00:00
Arvid Norberg
0f37e3403c
transition from intrusive_ptr to shared_ptr. don't export initialize_default_settings
2015-01-06 08:08:49 +00:00
Arvid Norberg
7351389ce8
land libtorrent_aio branch in trunk
2014-07-06 19:18:00 +00:00
Arvid Norberg
6043e14131
remove pch.hpp
2014-06-28 23:45:46 +00:00
Arvid Norberg
e8ef5cb84e
documentation fixes, and remove debug dependency on file_pool structure layout
2014-05-26 01:02:26 +00:00
Arvid Norberg
a943fec777
update copyright
2014-02-23 19:12:25 +00:00
Arvid Norberg
702b68ecc4
clean up assert related defines and debuf-only fields less error-prone. fix missing initialization in file_pool caused by mistake in defines under which the debug field was initialized
2014-01-19 19:45:50 +00:00
Arvid Norberg
89cbe57b93
fix mutex issue introduced in recent patch
2014-01-06 08:03:05 +00:00
Arvid Norberg
f1e8d09126
fix mutex issue introduced in recent patch
2014-01-06 07:59:47 +00:00
Arvid Norberg
6dbc7091d3
fix link issue in build. caused corruption and crash in test_storage
2014-01-06 03:50:25 +00:00
Arvid Norberg
4e6b1cfbfb
update copyright
2013-12-25 17:07:16 +00:00
Arvid Norberg
1afc0c6740
a bunch of fixes to make test_web_seeds a lot faster, and fail slightly fewer tests
2013-08-19 03:54:45 +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
dd183c2116
fix file_pool to support new absolute paths in file_storage
2013-06-09 22:59:27 +00:00
Arvid Norberg
3788ed23ca
improve support for windows XP and earlier
2013-01-07 01:56:40 +00:00
Arvid Norberg
bff648a89e
update copyright dates and add tool to do so
2012-10-02 03:16:33 +00:00
Arvid Norberg
d2e91594b3
fixed typo breaking the build on vista+, in file pool's IO priority code
2012-04-18 03:52:34 +00:00
Arvid Norberg
601443afd3
close files in separate thread on systems where close() may block (Mac OS X for instance)
2011-08-07 04:41:10 +00:00
Arvid Norberg
d0af936933
don't turn off read-ahead by default on files. Might impact hash checking
2011-04-25 02:15:18 +00:00
Arvid Norberg
94ef3eaf4b
windows build fixes
2010-12-01 05:47:18 +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
b7b542f587
optimized file_pool lookups and string handling
2010-08-23 08:48:02 +00:00
Arvid Norberg
43da4fba50
fix windows build
2010-02-03 17:13:22 +00:00
Arvid Norberg
e154d56c1f
reopen files if no_buffer mode changes
2010-01-31 20:44:05 +00:00
Arvid Norberg
ce4c1ab01b
fixed windows unit tests
2010-01-24 04:27:53 +00:00
Arvid Norberg
a046850130
support disk I/O priority setting
2010-01-23 03:02:32 +00:00
Arvid Norberg
1f5859d31f
error_code fix. added is_error_code_enum template specialization and using the abbreviated syntax to build error_codes
2009-11-29 07:06:38 +00:00
Arvid Norberg
a5586d154d
more header dependency optimizations
2009-11-25 06:55:34 +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
8a5b7d5d36
got rid of the last recursive mutexes. abstracted the threading primitives (and switched over to use asio's internal ones).
2009-10-20 02:49:56 +00:00
Arvid Norberg
890811dcc3
added missing include
2009-05-14 20:31:44 +00:00