luzpaz
63373cf012
Fixes various typos
...
Found via `codespell -q 3 -S "*.pem,*.torrent,./docs/hunspell,./src/puff.cpp" -L bu,fo,folx,ihs,ot,readd,requestor,te`
2023-08-24 07:52:41 +02:00
ntfs.hard
a58400b3fb
Clarify printf argument flags
2022-10-22 22:15:28 +02:00
arvidn
0c403745fd
test merge RC_1_2 into RC_2_0
2022-02-27 18:44:22 +01:00
arvidn
d92ba1561f
use a namespace for unit test framework globals rather than reserved identifiers
2022-02-27 17:54:16 +01:00
arvidn
c825113a40
use simulated disk in test_swarm
2021-05-07 08:48:58 +02:00
arvidn
6fbaa71097
merged RC_1_2 into RC_2_0
2021-01-21 15:47:48 +01:00
arvidn
ac1b534643
merged RC_1_2 into RC_2_0
2021-01-18 09:57:35 +01:00
Arvid Norberg
30968925a1
add simulation test for (basic) PEX
2021-01-17 17:51:26 +01:00
arvidn
5cbdfa2557
merged RC_1_2 into master
2020-05-13 14:28:23 +02:00
arvidn
232b2e0758
tweak rate based choker to increase rate threashold by 2 kiB/s. Improve documentation
2020-05-10 10:56:01 +02:00
arvidn
882c76ebec
merged RC_1_2 into master
2020-05-02 12:41:51 +02:00
arvidn
5b58dc0d38
fix assert when changing the unchoke slots limit
2020-04-26 21:18:59 +02:00
arvidn
a799ffb1a4
merge RC_1_2 into master
2020-04-05 18:38:45 +02:00
arvidn
983b1d6422
provide better names for alert_category_t constants
2020-04-04 15:06:02 -07:00
arvidn
3d0bc33d98
deprecate session_flags_t, deprecate session_constructors that take session_flags_t in favor of using session_params. move session constructor definitions into the cpp file. convert session from class to struct
2019-12-01 17:29:48 +01:00
arvidn
3494961a68
some work on getting simulations to work
2019-02-11 20:19:08 +01:00
arvidn
8305c40d6a
make disk_interface the customization point for storage, rather than storage_interface
...
remove the disk cache
remove trim_cache disk job
remove zero-storage
mark default_storage_constructor as deprecated
remove storage_interface
remove file_pool and default_storage_constructor. update connection_tester to use disk_io_thread.
only ftruncate files once
optimize hashing, by running sha1 directly on the memory mapped file
use boost-multi_index in file_view_pool
remove flush_piece and flush_hashed, simplify job-fence logic, remove prep_read_job_impl
support noatime
split out mmap implementation into a .cpp file
support hashing of content in part files. wraps up new disk storage
remove flush_piece disk job
separate out store_buffer into its own class
pass session_settings into storage operations instead of assigning a pointer in the storage object
use unordered_map in store_buffer
add fopen-based disk io back-end for non-64 bit systems or systems without mmap
factor out open_mode_t into its own header
first stab at windows memory mapped files support
build all of boost for autotools
remove flag in async_read callback handler
remove old open_mode_t, preadv/readv and coalesce buffers
support sparse and no_cache file flags in mmap
Remove use of overlapped I/O because we're no longer doing any scatter/gather syscalls the use of overlapped is an unnecessary complication.
don't explicitly specify global read and write. On MINGW we need to use libtorrent::read and libtorrent::write instead of the MINGW provided ::read and ::write.
If the underlying file is empty then m_mapping is expected to be null.
It is the caller's responsibilty to notice that the region's size is
zero and not dereference it in that case.
Otherwise there is no good way for users of default_storage::open_file
to determine that the opened file is empty.
2019-01-20 18:29:42 +01:00
arvidn
eab1055938
more warnings on appveyor
2018-11-18 11:49:45 +01:00
Arvid Norberg
fef1b947f3
fix issue in self-connection detection introduced with the change to generate unique peer-ids for each connection. Now, the torrent keeps track of all of our peer-ids generated for outgoing (bittorrent) connections, and we check them against incoming peers' peer-ids
2018-08-19 22:19:53 +02:00
arvidn
b3dbce5790
merge RC_1_1 into master
2018-08-13 09:32:17 +02:00
arvidn
fe612ca167
replace the TORRENT_CFG ABI check with inline namespaces around the symbol that can change ABI based on build configuration options
2018-05-13 19:25:17 +02:00
Arvid Norberg
c98b700d4f
merged RC_1_1
2018-05-10 22:48:39 +02:00
arvidn
299a545648
add test for suggests- and seed mode combined
2018-05-10 17:40:23 +02:00
Arvid Norberg
6efff919cd
deprecated alert::progress_notification alert category, split into finer grained categories
2018-04-05 16:27:28 +02:00
arvidn
9d37fbd1f7
disable tests requiring logging when building with logging disabled
2017-11-24 07:50:06 +01:00
arvidn
69bd2986de
convert a few more torrent_handle flags to type safe types
2017-07-27 13:16:23 -07:00
arvidn
e19736f925
fix simulation tests to make them not use deprecated functions
2017-07-26 18:00:03 -07:00
toinetoine
b1c3e12cd0
added block_uploaded_alert to allow client to track upload activity
2017-07-16 11:04:03 -07:00
arvidn
ff454a92d4
unify some operation-enums and strings to use operation_t
2017-06-18 07:31:45 -04:00
arvidn
3f09d16e3c
defer reconnecting peers to after the second_tick loop (to avoid mutating m_connections while iterating over it)
2017-06-14 10:35:50 -04:00
arvidn
f3d319b677
fix internal use of deprecated function identify_client
2017-06-10 08:16:23 +02:00
arvidn
d138f02424
introduce lt namespace alias
2017-04-23 23:43:58 -04:00
arvidn
04c76249b6
merged RC_1_1 into master
2017-04-21 01:21:31 -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
arvidn
86786770b7
merged RC_1_1 into master
2017-03-27 01:24:43 -04:00
arvidn
910ccc528f
deprecate torrent_added_alert in favor of add_torrent_alert
2017-03-26 22:48:17 -04:00
arvidn
6929d051f1
fix build without deprecated functions
2017-03-09 00:19:02 -05:00
arvidn
2c51c59327
merge RC_1_1 into master
2017-02-18 13:29:12 -05:00
arvidn
a12bfe3164
more tests of edge case settings
2017-02-17 15:37:06 -05:00
arvidn
381defab05
merged RC_1_1 into master
2017-02-05 12:51:48 -05:00
arvidn
c9a2fed2c9
add tests for edge cases of session settings, and fix a few integer overflows
2017-02-03 20:42:59 -05:00
Arvid Norberg
675d16a2c3
remove remainder of eviction/ghost torrent feature ( #1251 )
...
remove remainder of eviction/ghost torrent feature
2016-10-25 08:02:34 -04:00
Arvid Norberg
6370d5bc81
deprecate lt_trackers extension ( #940 )
...
deprecate lt_trackers extension
2016-07-24 23:37:03 -04:00
arvidn
98af1cd54e
merged RC_1_1 into master
2016-07-05 18:03:06 -04:00
Arvid Norberg
cf65f85dc3
fix file_completed_alert ( #880 )
2016-07-03 14:48:18 -04:00
Arvid Norberg
44c048f4f5
fix seed mode and suggest mode ( #871 )
...
fix resume data when combining seed-mode with suggest-mode
2016-07-02 16:20:12 -04:00
Arvid Norberg
717ed8bd3b
Msvc warnings ( #822 )
...
fix msvc warnings in python bindings and simulations
2016-06-18 19:24:27 -04:00
Arvid Norberg
c0fb61c5d7
replace the suggest-read-cache logic with something much simpler ( #815 )
...
replace the suggest-read-cache logic with something much simpler that doesn't schedule regular jobs and doesn't query the disk cache
2016-06-15 13:29:54 -04:00
Arvid Norberg
327af3a69e
optimize allow-fast logic ( #800 )
...
optimize allow-fast logic
2016-06-10 01:24:37 -04:00
Arvid Norberg
830a79dbcf
optimize allow-fast logic ( #800 )
...
optimize allow-fast logic
2016-06-09 08:02:41 -04:00