d_komarov
1c86e94de6
Fix deadlock when loading libtorrent Dll
...
Definition of `bool file::has_manage_volume_privs` involves a call to
`get_manage_volume_privs()`, causing restricted tasks to be performed
from within `DllMain` function. They introduce possibility that client
application deadlocks or crashes.
You should never perform the following tasks from within DllMain:
* Call `LoadLibrary` or `LoadLibraryEx` (either directly or indirectly).
This can cause a deadlock or a crash.
* Call the registry functions. These functions are implemented in
'Advapi32.dll'. If not initialized before your DLL, it can access
uninitialized memory and cause the process to crash.
2018-07-07 18:00:07 +02:00
Steven Siloti
396c5dd3af
remove use of deprecated function readdir_r
...
Ports 140b8ace
onto RC_1_1 branch
2018-05-28 16:06:41 +02:00
arvidn
aaf9304a3b
update year in copyright header
2018-04-09 09:04:33 +02:00
Vladimir Golovnev
faef995cdc
Move storage "file-by-file" ( #632 )
...
When moving storage for a torrent, only move files belonging to the torrent, one by one.
2016-06-29 20:05:16 +03:00
arvidn
139fb29647
remove unused O_DIRECT mode, and relax/simplify alignment requirements for coalesce_buffers
2016-03-20 00:55:31 -04: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
Alden Torres
20d8f4e3f7
Removed unused fields in field class
2016-01-11 12:07:36 -05:00
Alden Torres
b20096f0db
Comments typos
2016-01-02 11:46:10 -05:00
arvidn
fb2f2731cf
fix support for incomplete reads/writes from disk
2015-11-14 00:21:03 -05:00
Arvid Norberg
d43f7b56a2
update copyright year
2015-06-03 05:18:48 +00:00
Arvid Norberg
3951377d95
fix include paths for warning push and pop headers
2015-04-21 01:16:28 +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
ccc7e45406
landed mutable torrents branch in trunk
2015-03-21 00:12:40 +00:00
Arvid Norberg
89055c4c7a
some more optimizations on loading torrents
2015-02-18 03:32:49 +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
f77e12ac04
clean up symbol exports
2015-01-01 20:25:39 +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
0b711f1280
remove unused variables. add some comments
2014-11-17 03:10:00 +00:00
Arvid Norberg
7351389ce8
land libtorrent_aio branch in trunk
2014-07-06 19:18:00 +00:00
Arvid Norberg
bfdb445890
merged SetFileValidData fix from RC_0_16
2014-02-23 19:13:53 +00:00
Arvid Norberg
a943fec777
update copyright
2014-02-23 19:12:25 +00:00
Arvid Norberg
2d5f0dddf7
merged mingw fix from RC_0_16
2014-02-15 02:45:04 +00:00
Arvid Norberg
11038aeecb
attempt to speed up client_test's loading of torrents
2014-01-19 04:11:49 +00:00
Arvid Norberg
4e6b1cfbfb
update copyright
2013-12-25 17:07:16 +00:00
Arvid Norberg
c62a9966cf
documentation updates
2013-11-21 17:47:53 +00:00
Arvid Norberg
bcb703b9a3
improve duplicate file detection in torrent files
2013-11-18 06:59:47 +00:00
Arvid Norberg
64f6a35126
update and regenerate reference documentation
2013-11-10 21:28:22 +00:00
Arvid Norberg
d669d94f88
fix python binding with shared linking
2013-10-04 15:45:47 +00:00
Arvid Norberg
b6a917364f
none of the internal file abstraction should be exported from the library
2013-07-19 23:53:32 +00:00
Arvid Norberg
3fcd67b574
minor rearranging and comments
2013-07-19 16:30:26 +00:00
Arvid Norberg
e45c71dd30
merged sparse file fix from RC_0_16
2013-02-16 08:26:55 +00:00
Arvid Norberg
bff648a89e
update copyright dates and add tool to do so
2012-10-02 03:16:33 +00:00
Arvid Norberg
c60f373ae4
merged mingw fix from RC_0_16
2012-08-21 21:54:07 +00:00
Arvid Norberg
4c61e86691
merged fix from RC_0_16
2012-08-20 14:57:57 +00:00
Arvid Norberg
9bdcadb7ad
merged build fix from RC_0_16
2012-08-16 03:03:29 +00:00
Arvid Norberg
70d3170963
merged attempted build fix from RC_0_16
2012-08-16 00:48:13 +00:00
Arvid Norberg
f403b5f3c8
fix move_storage bugs
2012-06-29 23:35:11 +00:00
Arvid Norberg
1c60ae4064
canonicalize paths when using UNC paths
2012-04-28 21:13:55 +00:00
Arvid Norberg
d6c8184381
support locking files
2011-06-09 06:08:24 +00:00
Arvid Norberg
e389f5963d
added support for fadvise/F_RDADVISE for improved disk read performance
2011-04-26 07:03:05 +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
4070c2d465
fixed stat_file issue on windows
2011-01-25 08:21:01 +00:00
Arvid Norberg
4aa809e558
potential 64 bit build issue related to zlib
2010-09-07 03:37:33 +00:00
Arvid Norberg
b7b542f587
optimized file_pool lookups and string handling
2010-08-23 08:48:02 +00:00
Arvid Norberg
c51e0a2a86
fixed inconsistency when creating torrents with symlinks
2010-04-01 00:44:29 +00:00
Arvid Norberg
dcffa55700
some sunPRO compiler support
2010-03-07 06:00:12 +00:00
Arvid Norberg
08c8bfae29
more wide character and mingw fixes
2010-02-15 05:49:10 +00:00
Arvid Norberg
1b2798970c
support O_NOATIME on linux and use it by default
2010-02-02 19:44:52 +00:00