Vladimir Golovnev
|
64cb8b236a
|
Move storage "file-by-file" (#632)
When moving storage for a torrent, only move files belonging to the torrent, one by one.
|
2016-04-30 22:18:38 -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
|
4e97bf556c
|
use override and final keywords (unconditionally) (#668)
use override and final keywords instead of macros.
|
2016-04-30 11:05:54 -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
|
dec093dc1a
|
Merge branch 'RC_1_1'
|
2016-04-24 15:41:28 -04:00 |
Arvid Norberg
|
a9f07a29bd
|
fix move_storage error handling bug (#638)
|
2016-04-23 10:02:52 -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 |
arvidn
|
867b83ccda
|
merged RC_1_1 into master
|
2016-04-08 02:20:24 -04:00 |
arvidn
|
6bc5de5903
|
fail correctly when move_storage is called to move into its own directory
|
2016-04-02 10:03:31 -04:00 |
arvidn
|
b16f43132b
|
Merge branch 'RC_1_1'
|
2016-03-20 20:39:49 -04:00 |
arvidn
|
0095aa084f
|
make coalesce reads and coalesce writes actually work
|
2016-03-20 16:34:19 -04:00 |
arvidn
|
f79a9c7adf
|
merged RC_1_1 into master
|
2016-03-16 19:59:53 -04:00 |
arvidn
|
921cbeebed
|
add option to delete just the partfile when removing a torrent
|
2016-03-14 08:26:39 -04:00 |
arvidn
|
e1f4b5ad2d
|
fix typo in reporting file index in checking resume data
|
2016-03-02 18:43:16 -05:00 |
arvidn
|
2b6fdc1728
|
attempt to fix issue where the partfile is not deleted when asking to delete all files
|
2016-02-28 16:05:13 -05:00 |
arvidn
|
c9d7e54d7b
|
make tests pass
|
2016-02-20 12:50:52 -05:00 |
arvidn
|
8135ea326f
|
rename async_check_fastresume to async_check_files, and make it take an add_torrent_params object instead of bencoded resume data
|
2016-02-20 02:00:07 -05:00 |
arvidn
|
197ded5a0d
|
revamp the way resume data is read, by providing a function for the client to parse resume data, capturing it in add_torrent_params
|
2016-02-20 02:00:06 -05:00 |
arvidn
|
660647b590
|
improve abstraction level of stats cache and fix test
|
2016-02-06 15:51:00 -05:00 |
arvidn
|
ae7058e119
|
remove the timestamps and file sizes from the resume data. This makes saving resume data alot cheaper, since it doesn't have to go via the disk thread. It also removes an old-standing API usage issue where there was easily a race condition introduced between saving resume data and pausing a torrent.
|
2016-02-06 15:50:55 -05:00 |
arvidn
|
73289cb8ae
|
fix use of uninitialized variables in default_storage
|
2016-01-25 19:11:57 -05:00 |
Alden Torres
|
5c94b286b0
|
Removed file::m_path windows specific field
Removed default_storage::sparse_end
Typos
|
2016-01-21 12:11:33 -05:00 |
arvidn
|
1f9f588e75
|
merge copyright year update and changelog from RC_1_0
|
2016-01-17 18:57:46 -05:00 |
arvidn
|
4cc2e879c4
|
comment out verbose pex logging. fix bug in disabled_storage and an error reporting issue on short reads in default_storage
|
2016-01-10 11:50:56 -05:00 |
arvidn
|
964031c070
|
factor out readwritev to a free function, to allow unit testing of it
|
2015-11-19 17:58:55 -05:00 |
arvidn
|
cec6748e0c
|
remove the concept of slots, and just talk about pieces (since we don't do compact allocation anymore). Remove the section about compact allocation
|
2015-11-19 01:38:04 -05:00 |
arvidn
|
fb2f2731cf
|
fix support for incomplete reads/writes from disk
|
2015-11-14 00:21:03 -05:00 |
arvidn
|
ced0f74bf8
|
minor moving around of code
|
2015-11-06 00:38:42 -05:00 |
arvidn
|
e31433d952
|
flush and close the partfile when releasing files in default storage
|
2015-10-24 15:35:42 -04:00 |
arvidn
|
a2ea8b32db
|
fix more warnings
|
2015-09-06 22:55:41 -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
|
bd177a857f
|
make tailequeue a template, introduce type safety, remove old-style casts
|
2015-08-19 15:22:05 +02:00 |
arvidn
|
9a0092c120
|
fix some warnings
|
2015-08-16 12:17:23 -04:00 |
arvidn
|
16bb2de6ed
|
fix some warnings
|
2015-08-13 23:52:25 -04:00 |
arvidn
|
a81ca2391b
|
fix some warnings
|
2015-08-10 20:03:24 -04:00 |
Alden Torres
|
5866bb7974
|
Indentation.
|
2015-08-03 18:16:43 -04:00 |
Alden Torres
|
cd8a4d2511
|
Moved TORRENT_DISK_STATS to default_storage with the option of enable/disable at runtime.
|
2015-08-03 18:16:43 -04:00 |
arvidn
|
e0c3d28321
|
fix some warnings
|
2015-08-02 15:55:05 -04:00 |
arvidn
|
655a3ae019
|
fix some warnings
|
2015-08-01 23:57:11 -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
|
d43f7b56a2
|
update copyright year
|
2015-06-03 05:18:48 +00:00 |
Arvid Norberg
|
051ca6b22c
|
fix warnings
|
2015-05-18 05:32:18 +00:00 |
Arvid Norberg
|
2fff222235
|
silence some warnings on msvc
|
2015-04-27 02:21:12 +00:00 |
Arvid Norberg
|
f0336017d1
|
fix gcc warnings and missing header files in makefiles
|
2015-04-26 00:51:44 +00:00 |
Arvid Norberg
|
3951377d95
|
fix include paths for warning push and pop headers
|
2015-04-21 01:16:28 +00:00 |
Arvid Norberg
|
4d15f1410f
|
fix warnings, some clean-up and todo comments
|
2015-04-20 04:52:49 +00:00 |
Arvid Norberg
|
21751347bc
|
more warnings fixes and cleanup
|
2015-04-19 06:28:21 +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
|
8ac5a32548
|
improve deprecation macros. increase default warning level. fix deprecation warnings while building libtorrent itself (gcc and clang)
|
2015-04-17 01:49:49 +00:00 |
Arvid Norberg
|
ccc7e45406
|
landed mutable torrents branch in trunk
|
2015-03-21 00:12:40 +00:00 |
Arvid Norberg
|
794de25212
|
moved escape_string.hpp into the aux_ directory. moved out the 3 public hex functions into its own public header, hex.hpp
|
2015-03-14 23:10:20 +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
|
10333221bc
|
attempt at fixing file permission issues on windows
|
2015-03-09 06:09:50 +00:00 |
Arvid Norberg
|
89055c4c7a
|
some more optimizations on loading torrents
|
2015-02-18 03:32:49 +00:00 |
Arvid Norberg
|
c4a294e88a
|
deprecate file_base feature in file_storage/torrent_info
|
2015-02-17 04:53:49 +00:00 |
Arvid Norberg
|
40980df545
|
extend storage unit test to cover iovec operations
|
2015-02-15 07:31:35 +00:00 |
Arvid Norberg
|
9172874b5c
|
fix storage error (recently introduced) where the mapped_files object would not be updated when renaming files that did not exist on disk
|
2015-01-13 18:28:06 +00:00 |
Arvid Norberg
|
f839b8c9b4
|
factor creating of directories into default_storage::open_file to make that functionality more robust and fix a bug where moving files out of the part-file would fail because the directories hadn't been created yet
|
2015-01-03 16:57:21 +00:00 |
Arvid Norberg
|
ae47823970
|
don't fail renaming a file in a torrent just because it doesn't exist (and the destination directory doesn't exist)
|
2014-12-26 21:25:37 +00:00 |
Arvid Norberg
|
1ed1963f29
|
remove size_type typedef in favor of boost::int64_t
|
2014-12-03 04:32:50 +00:00 |
Arvid Norberg
|
0bcbe433ed
|
deprecate most of cache_status type (use session stats instead)
|
2014-10-25 20:07:50 +00:00 |
Arvid Norberg
|
d287ce9c46
|
fix issue when hash checking files resulting in a short read
|
2014-10-12 23:49:51 +00:00 |
Arvid Norberg
|
649d7646fb
|
test build fix. another boost.chrono overflow issue fixed
|
2014-09-02 08:01:09 +00:00 |
Arvid Norberg
|
c60ceacb71
|
switch over to use boost.atomic instead of home-built one
|
2014-08-01 07:32:54 +00:00 |
Arvid Norberg
|
374380667c
|
make default_storage a bit more robust
|
2014-07-10 01:59:35 +00:00 |
Arvid Norberg
|
7351389ce8
|
land libtorrent_aio branch in trunk
|
2014-07-06 19:18:00 +00:00 |
Arvid Norberg
|
6c6fe4dfe2
|
merged fixes of warnings from RC_1_0
|
2014-07-04 23:40:31 +00:00 |
Arvid Norberg
|
6043e14131
|
remove pch.hpp
|
2014-06-28 23:45:46 +00:00 |
Arvid Norberg
|
3f4eba1bdb
|
web seed and storage fixes
|
2014-06-21 06:58:39 +00:00 |
Arvid Norberg
|
3e5ab73127
|
fix windows build
|
2014-06-09 04:08:41 +00:00 |
Arvid Norberg
|
dd2e605796
|
don't use full allocation on network drives (on windows)
|
2014-06-07 02:57:24 +00:00 |
Arvid Norberg
|
4deafb5e29
|
add workaround for GCC bug in MingW (broken support for PVOID64) and improve resiliency of storage
|
2014-05-23 02:09:27 +00:00 |
Arvid Norberg
|
e225259481
|
fix some msvc warnings
|
2014-05-10 03:23:05 +00:00 |
Arvid Norberg
|
b643962bfe
|
merged fixes from RC_0_16
|
2014-03-06 10:06:41 +00:00 |
Arvid Norberg
|
a0a41b6c5e
|
merged file priority fix from RC_0_16 and keep the disk thread's file priorities up to date
|
2014-02-28 10:19:29 +00:00 |
Arvid Norberg
|
a943fec777
|
update copyright
|
2014-02-23 19:12:25 +00:00 |
Arvid Norberg
|
0398dfe498
|
merged storage allocation mode fix from RC_0_16
|
2014-02-07 08:58:52 +00:00 |
Arvid Norberg
|
05aa06460d
|
fix merge error
|
2014-01-26 02:40:09 +00:00 |
Arvid Norberg
|
ce2805a258
|
merged lt_tex fix from RC_0_16
|
2014-01-26 01:17:58 +00:00 |
Arvid Norberg
|
e0644ce8f5
|
invariant check macro fixes
|
2014-01-21 19:26:09 +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
|
5b46be916b
|
merged storage fix from RC_0_16
|
2013-12-30 02:50:29 +00:00 |
Arvid Norberg
|
4e6b1cfbfb
|
update copyright
|
2013-12-25 17:07:16 +00:00 |
Arvid Norberg
|
ea0aa72cce
|
fix resume data bug introduced when deprecating the iterators from file_storage
|
2013-11-07 06:54:56 +00:00 |
Arvid Norberg
|
aef04aca5b
|
merged move_storage fix from RC_0_16
|
2013-10-28 05:07:55 +00:00 |
Arvid Norberg
|
1a0d798ac9
|
fixed typo in file_storage API deprecation
|
2013-08-17 01:35:39 +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
|
8f3723cdef
|
support renaming files to absolute paths
|
2013-06-09 22:30:02 +00:00 |
Arvid Norberg
|
0a09eeca9f
|
merged changes from RC_0_16
|
2013-05-11 22:57:08 +00:00 |
Arvid Norberg
|
bdf0e1764b
|
merged fixes from RC_0_16
|
2013-05-11 22:00:54 +00:00 |
Arvid Norberg
|
cf7a2a098e
|
fix move_storage fail_if_exist logic. First check to see if the root folder exists, as an early exit
|
2013-05-11 21:41:42 +00:00 |
Arvid Norberg
|
90a2509d68
|
fix bug in recent move_storage patch
|
2013-05-10 02:18:14 +00:00 |
Arvid Norberg
|
982a14c2e9
|
extend move_storage functionality to have more flexible behavior
|
2013-05-09 02:50:16 +00:00 |
Arvid Norberg
|
6ea6bf9e92
|
revert mistake
|
2013-04-01 08:37:21 +00:00 |
Arvid Norberg
|
1ce4b2b531
|
fix error handling when directories in the target are missing
|
2013-04-01 06:47:44 +00:00 |
Arvid Norberg
|
431efc6157
|
merge storage fix from RC_0_16
|
2013-03-03 04:47:19 +00:00 |
Arvid Norberg
|
a0caa0f4b2
|
disable invariant_check functions when invariant checks are disabled
|
2013-02-25 04:13:46 +00:00 |
Arvid Norberg
|
3599b130c0
|
expand unit tests
|
2013-02-24 10:02:26 +00:00 |
Arvid Norberg
|
e45c71dd30
|
merged sparse file fix from RC_0_16
|
2013-02-16 08:26:55 +00:00 |