arvidn
|
6b1037eff5
|
convert enum values that are just used as constants, to actual constants with the correct type
|
2017-08-04 15:23:20 +02:00 |
arvidn
|
f85c01cc0a
|
merged RC_1_1 into master
|
2017-06-21 00:51:43 -04:00 |
arvidn
|
f04d729d43
|
enforce spell checking on CI
|
2017-06-18 15:51:51 -04:00 |
arvidn
|
9a19ff344b
|
remove resolve_links disk job left-overs and convert some C-arrays to std::array
|
2017-06-13 20:35:55 -04:00 |
arvidn
|
147d996160
|
make the job action enum an enum class
|
2017-06-11 23:53:58 +02:00 |
Pavel Pimenov
|
de369451b1
|
fix operator() ==, add const (#2063)
|
2017-06-10 08:18:32 +02:00 |
arvidn
|
4de9f6a75b
|
remove requester parameter to disk read jobs
|
2017-06-08 12:38:25 +02:00 |
arvidn
|
6967d17a42
|
make move constructors and move assignment operators noexcept
|
2017-06-01 23:42:15 +02:00 |
arvidn
|
04c76249b6
|
merged RC_1_1 into master
|
2017-04-21 01:21:31 -04:00 |
arvidn
|
227830e757
|
fix memory leak in the disk cache. if a cached_piece_entry would stick around in a ghost list (ARC), it would keep the torrent object itself alive. when aborting read jobs, the outstanding_read flag need to be cleared on the piece. When reclaiming a block for a piece that should be deleted (not just evicted) it need to know that. This patch adds an additional bit to cached_piece_entry to communicate this
|
2017-04-19 22:30:27 -04:00 |
arvidn
|
df299fcb00
|
use boost::variant for disk_io_job in/out parameter, to support holding a proper disk io buffer handle and string
|
2017-04-17 15:08:27 -04:00 |
arvidn
|
480bde9333
|
change formatting of namespace declarations
|
2017-04-12 14:26:35 -04:00 |
arvidn
|
79d7ae3638
|
separate path and filesystem functions out into its own translation unit/header file pair, separating it from the file and directory class
|
2017-04-11 18:07:55 -04:00 |
Alden Torres
|
2bc7a60f33
|
fixing sign-conversion warnings, part 8, created aux::unique_ptr, refactor (#1616)
fixing sign-conversion warnings, part 8, created aux::unique_ptr, refactor
|
2017-01-26 08:31:20 -05:00 |
Alden Torres
|
df6cb6a48d
|
fixing sign-conversion warnings, part 4, minor refactor (#1549)
fixing sign-conversion warnings, part 4, minor refactor
|
2017-01-14 18:53:25 -05:00 |
Arvid Norberg
|
3d06371f31
|
factor out some common storage utilities out of storage.cpp (#1515)
factor out some common storage utilities out of storage.cpp
|
2017-01-11 00:42:10 -05:00 |
arvidn
|
41dbb47123
|
compact block_cache_reference by using storage_index_t instead of pointer. make sure storage object is kept alive by block_cache_references
|
2017-01-02 13:45:16 -05:00 |
arvidn
|
5ed0086b51
|
removed mmap_cache feature
|
2016-12-25 21:12:49 -08:00 |
Arvid Norberg
|
3f1084d63d
|
strengthened type safety in handling of piece and file indices (#1409)
strengthened type safety in handling of piece and file indices
|
2016-12-22 10:42:33 -05:00 |
Alden Torres
|
d5c4cd7280
|
fixed sign-compare warnings and some refactor (#1354)
fixed sign-compare warnings and some refactor. make sequence_number backed by std::int64_t
|
2016-11-27 08:46:53 -05:00 |
Alden Torres
|
c30027e4a1
|
more integral type conversion warning fixes, now only needs shorten-64-to-32 (#1349)
more integral type conversion warning fixes, now only needs shorten-64-to-32
|
2016-11-25 11:17:25 -05:00 |
arvidn
|
d5b76d2237
|
move block_cache_reference out of disk_io_job header
|
2016-11-20 10:34:42 -05:00 |
Andrei Kurushin
|
0a31e26344
|
fix logging=off build
|
2016-11-16 23:14:28 -05:00 |
arvidn
|
14236993ea
|
collapse logic in piece_manager into storage directly
|
2016-11-13 02:53:16 -05:00 |
arvidn
|
2a999e1ea7
|
merge RC_1_1 into master
|
2016-11-03 23:58:35 -04:00 |
Arvid Norberg
|
f5c7a49d61
|
remove incorrect deleted-storages assert and add some more test coverage in test_metadata_extensions (#1286)
|
2016-11-03 19:39:42 -04:00 |
Alden Torres
|
dac0b9ec64
|
more use of nullptr, minor refactor and formatting (#1267)
|
2016-10-28 12:28:27 -04:00 |
Steven Siloti
|
f5366bd816
|
use span for scatter/gather lists (#1260)
use span for gather/scatter buffers. remove explicit size parameter from file_op
|
2016-10-26 20:40:56 -04:00 |
Alden Torres
|
8bdbaec872
|
minor cleanup refactor (#1252)
|
2016-10-24 20:19:01 -04:00 |
Arvid Norberg
|
2d2874d252
|
minor block_cache cleanup. make hash be a unique_ptr (#1241)
|
2016-10-21 07:37:15 -04:00 |
Arvid Norberg
|
524f7b1c27
|
fix error handling by exercising code paths where memory allocations fail (#1221)
fix error handling by exercising code paths where memory allocations fail
|
2016-10-19 01:18:05 -04:00 |
Arvid Norberg
|
20f65946f2
|
make single-argument constructors explicit (#1194)
make single-argument constructors explicit
|
2016-10-08 14:07:11 -04:00 |
Alden Torres
|
8caebbd026
|
alerts refactor to use span, don't break ABI when logging, fix compilation (#1159)
alerts to use span, don't break ABI when logging, fix compilation
|
2016-09-27 23:21:18 -04:00 |
Alden Torres
|
4c53d7b2da
|
refactor to use std unordered containers and minor cleanup (#1070)
|
2016-09-06 23:37:36 -04:00 |
Alden Torres
|
b313de3925
|
some refactor and cleanup (#1065)
|
2016-09-05 22:25:20 -04:00 |
Alden Torres
|
e2487c4d24
|
more use of std::shared_ptr refactor
|
2016-08-30 10:10:53 -04:00 |
arvidn
|
8c8c3d5587
|
replace boost::function with std::function
|
2016-08-13 07:07:26 -04:00 |
Alden Torres
|
7caa99d6f1
|
__cplusplus cleanup (#951)
cleanup
|
2016-07-26 18:30:19 -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 |
arvidn
|
4926081960
|
fix use_read_cache=false
|
2016-03-16 02:22:18 -04:00 |
Alden Torres
|
303074e159
|
Documentation typos
|
2016-03-14 20:43:52 -04:00 |
arvidn
|
0d0048d415
|
try to evict a volatile piece before allocating a new one for a hash check. It may be faster to check files without growing the cache, or reusing the same buffers.
|
2016-03-13 12:52:44 -04:00 |
arvidn
|
1f9f588e75
|
merge copyright year update and changelog from RC_1_0
|
2016-01-17 18:57:46 -05:00 |
Alden Torres
|
b20096f0db
|
Comments typos
|
2016-01-02 11:46:10 -05:00 |
arvidn
|
fba0762353
|
fix some msvc warnings
|
2015-11-19 19:01:54 -05:00 |
arvidn
|
b45c585a78
|
use gcc on linux and clang on osx
|
2015-09-06 22:55:41 -04:00 |
arvidn
|
8cf8e65861
|
turn linked_list into a template to improve type safety and remove some casts
|
2015-08-20 02:02:46 +02:00 |
arvidn
|
bd177a857f
|
make tailequeue a template, introduce type safety, remove old-style casts
|
2015-08-19 15:22:05 +02:00 |
arvidn
|
655a3ae019
|
fix some warnings
|
2015-08-01 23:57:11 -04:00 |
arvidn
|
db76ba759d
|
improve some tests
|
2015-06-14 15:48:11 -04:00 |