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
|
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
|
870073345b
|
merged sparse file fix from RC_0_16
|
2014-05-10 23:38:54 +00:00 |
Arvid Norberg
|
e225259481
|
fix some msvc warnings
|
2014-05-10 03:23:05 +00:00 |
Arvid Norberg
|
15d4a0c55c
|
merged stats fix from RC_0_16
|
2014-04-18 06:27:54 +00:00 |
Arvid Norberg
|
2798c8d345
|
merge F_SETLF change from RC_0_16
|
2014-04-16 07:43:36 +00:00 |
Arvid Norberg
|
290ce566b0
|
fix resume file issue related to daylight savings time on windows
|
2014-04-04 07:30:54 +00:00 |
Arvid Norberg
|
87a05814e5
|
fix msvc-7.1 build
|
2014-03-24 07:42:55 +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
|
77136592c2
|
merged minor fix from RC_0_16
|
2014-02-19 17:26:58 +00:00 |
Arvid Norberg
|
2d5f0dddf7
|
merged mingw fix from RC_0_16
|
2014-02-15 02:45:04 +00:00 |
Arvid Norberg
|
cc08512ee3
|
merged SetFileValidData fix from RC_0_16
|
2014-02-08 09:18:09 +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
|
65fe1b1212
|
android support
|
2013-11-27 16:58:02 +00:00 |
Arvid Norberg
|
c384bd5c92
|
merged non-sparse file_size bug on windows from RC_0_16
|
2013-11-20 08:06:33 +00:00 |
Arvid Norberg
|
bcb703b9a3
|
improve duplicate file detection in torrent files
|
2013-11-18 06:59:47 +00:00 |
Arvid Norberg
|
ad86431caf
|
merged large file fix from RC_0_16
|
2013-11-08 08:10:22 +00:00 |
Arvid Norberg
|
c94ed806db
|
merged fix from RC_0_16
|
2013-10-24 07:22:44 +00:00 |
Arvid Norberg
|
02a337ceae
|
merged minor fix from RC_0_16
|
2013-10-21 01:40:42 +00:00 |
Arvid Norberg
|
89c3db477d
|
merge build fix with C++11 from RC_0_16
|
2013-09-25 19:44:29 +00:00 |
Arvid Norberg
|
adc4280f50
|
merged mingw build fixes from RC_0_16
|
2013-09-22 19:19:45 +00:00 |
Arvid Norberg
|
a780b8469d
|
abstract generic_category() to build on boost-1.42 and older. fix some include issues in tests
|
2013-09-09 07:06:12 +00:00 |
Arvid Norberg
|
1523a196e5
|
fix fallocate issue when filesystem doesn't support it
|
2013-06-24 03:26:17 +00:00 |
Arvid Norberg
|
3413a760d7
|
merged configure fix from RC_0_16
|
2013-06-08 01:38:09 +00:00 |
Arvid Norberg
|
3d19ea4b18
|
merge file close fix from RC_0_16
|
2013-04-10 23:37:22 +00:00 |
Arvid Norberg
|
e45c71dd30
|
merged sparse file fix from RC_0_16
|
2013-02-16 08:26:55 +00:00 |
Arvid Norberg
|
5133fec4ca
|
merged file error handling from RC_0_16
|
2013-02-13 18:03:59 +00:00 |
Arvid Norberg
|
9ac63f9aba
|
merged one more fix for GetOverlappedResult
|
2013-01-25 05:55:28 +00:00 |
Arvid Norberg
|
3d66e53ae3
|
merged GetOverlappedIO fix from RC_0_16
|
2013-01-25 05:53:17 +00:00 |
Arvid Norberg
|
f1b8582a95
|
add gen_todo.py script. include todo.html and mark up some todos in the code with priority
|
2013-01-20 23:21:53 +00:00 |
Arvid Norberg
|
5e57b13ac3
|
merged build fix from RC_0_16
|
2013-01-11 04:49:08 +00:00 |
Arvid Norberg
|
71653be7f0
|
merged ERROR_CANT_WAIT patch from RC_0_16
|
2013-01-10 03:22:49 +00:00 |
Arvid Norberg
|
1be837c6e4
|
merged build fixes from RC_0_16
|
2013-01-07 04:13:45 +00:00 |
Arvid Norberg
|
3788ed23ca
|
improve support for windows XP and earlier
|
2013-01-07 01:56:40 +00:00 |
Arvid Norberg
|
d8c2228ff3
|
merged some windows fixes from RC_0_16
|
2013-01-06 18:38:33 +00:00 |
Arvid Norberg
|
bff648a89e
|
update copyright dates and add tool to do so
|
2012-10-02 03:16:33 +00:00 |
Arvid Norberg
|
b8149ead5c
|
OS/2 (eCS) support
|
2012-09-24 16:13:57 +00:00 |
Arvid Norberg
|
f8f03431bb
|
fix mingw build
|
2012-09-08 19:21:31 +00:00 |
Arvid Norberg
|
c60f373ae4
|
merged mingw fix from RC_0_16
|
2012-08-21 21:54:07 +00:00 |
Arvid Norberg
|
a62a2a5b6c
|
merged linux permission issue fix from RC_0_16
|
2012-07-13 04:04:56 +00:00 |
Arvid Norberg
|
f403b5f3c8
|
fix move_storage bugs
|
2012-06-29 23:35:11 +00:00 |
Arvid Norberg
|
f2c89cd770
|
merged fix from R_0_16
|
2012-05-27 18:17:51 +00:00 |
Arvid Norberg
|
1c60ae4064
|
canonicalize paths when using UNC paths
|
2012-04-28 21:13:55 +00:00 |
Arvid Norberg
|
4a2648d936
|
remove duplicate assert
|
2012-04-13 16:20:30 +00:00 |
Arvid Norberg
|
af09935b87
|
some windows path fixes
|
2012-03-17 19:06:11 +00:00 |
Arvid Norberg
|
8a4685e83b
|
fixed some typos
|
2012-03-17 17:48:22 +00:00 |
Arvid Norberg
|
250f1645b3
|
fix windows directory separator issue on windows with UNC paths
|
2012-03-13 04:50:12 +00:00 |
Arvid Norberg
|
0d29dbbfbe
|
don't add the UNC path prefix to network paths
|
2012-03-04 10:54:10 +00:00 |
Arvid Norberg
|
92fba05040
|
attempt to fix unc paths on windows
|
2012-03-03 21:51:15 +00:00 |
Arvid Norberg
|
ad779a569c
|
fix windows build
|
2012-02-23 09:13:18 +00:00 |
Arvid Norberg
|
14287b8a7b
|
use UNC paths on windows by default
|
2012-02-23 06:46:23 +00:00 |
Arvid Norberg
|
f1365a7a52
|
fail properly if NtSetFileInformation cannot be loaded
|
2012-02-22 09:29:07 +00:00 |
Arvid Norberg
|
f23607bc05
|
make sparse_end support unbuffered files
|
2012-01-21 23:24:24 +00:00 |
Arvid Norberg
|
413c04abcf
|
fixed windows network path recognition issue
|
2011-11-27 10:23:50 +00:00 |
Arvid Norberg
|
4d49d0f20d
|
windows storage fixes
|
2011-11-13 04:12:56 +00:00 |
Arvid Norberg
|
0d3eb71ba1
|
return -1 on failure on truncating file
|
2011-11-02 09:07:54 +00:00 |
Arvid Norberg
|
32dfc469c3
|
use NtSetInformationFile to truncate files in unbuffered mode (to avoid having to close and re-open them)
|
2011-11-02 09:02:28 +00:00 |
Arvid Norberg
|
8e6c159c83
|
fix possible hang in file::readv() on windows
|
2011-09-15 09:43:29 +00:00 |
Arvid Norberg
|
fb89e58901
|
fix build issue
|
2011-09-13 07:02:14 +00:00 |
Arvid Norberg
|
09c235c936
|
solaris file allocation support
|
2011-09-08 23:08:37 +00:00 |
Arvid Norberg
|
43c9e640ab
|
honor IOV_MAX when using writev and readv
|
2011-09-05 05:47:50 +00:00 |
Arvid Norberg
|
bc1e47a486
|
solaris fixes
|
2011-09-04 23:29:47 +00:00 |
Arvid Norberg
|
1b5ee819cd
|
fixed unaligned disk access for unbuffered I/O in windows
|
2011-06-17 15:10:40 +00:00 |
Arvid Norberg
|
67b79cdd69
|
fix windows assert
|
2011-06-17 06:55:40 +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
|
a7b8ae9e27
|
fixed BSD file allocation issue
|
2011-04-13 06:54:56 +00:00 |
Arvid Norberg
|
08c93978a6
|
clean up some dead code and fix windows build
|
2011-02-28 00:35:58 +00:00 |
Arvid Norberg
|
ca106ca4e0
|
some warning fixes and cleanup
|
2011-02-24 04:25:35 +00:00 |
Arvid Norberg
|
141ada013f
|
fixed a whole bunch of build warnings on gcc and msvc, along with some fixes discovered along the way
|
2011-02-21 05:24:41 +00:00 |
Arvid Norberg
|
c4c1773ceb
|
fixed some warnings
|
2011-02-15 10:05:25 +00:00 |
Arvid Norberg
|
7508038337
|
cross compiling fixes
|
2011-02-14 04:12:26 +00:00 |
Arvid Norberg
|
5864a883e6
|
fixed build warnings
|
2011-02-14 01:59:01 +00:00 |
Arvid Norberg
|
ddd4d84a1d
|
fixed mingw build
|
2011-02-02 07:41:32 +00:00 |
Arvid Norberg
|
4070c2d465
|
fixed stat_file issue on windows
|
2011-01-25 08:21:01 +00:00 |
Arvid Norberg
|
650f02eba7
|
fixed some windows build issues
|
2010-12-19 08:12:31 +00:00 |
Arvid Norberg
|
d937716af0
|
use PtrToPtr64 for scatter/gather I/O operations
|
2010-11-22 00:54:39 +00:00 |
Arvid Norberg
|
7aa9352dd0
|
fixed file allocation issue on linux. fixed filname encoding issue with iconv()
|
2010-10-18 07:15:57 +00:00 |
Arvid Norberg
|
7be0604877
|
fixed error reporting when fallocate fails
|
2010-10-14 00:58:08 +00:00 |
Arvid Norberg
|
4aa809e558
|
potential 64 bit build issue related to zlib
|
2010-09-07 03:37:33 +00:00 |
Arvid Norberg
|
242392f895
|
added compiler warning when unicode isn't available
|
2010-06-06 01:18:58 +00:00 |
Arvid Norberg
|
9fd624ecb6
|
solaris build fixes
|
2010-05-02 22:26:43 +00:00 |
Arvid Norberg
|
fea3bf2ced
|
fixed build issue on windows related to GetCompressedSize()
|
2010-04-18 02:50:22 +00:00 |
Arvid Norberg
|
6851254fdf
|
fixed FIEMAP support on linux
|
2010-04-11 00:48:48 +00:00 |
Arvid Norberg
|
ef35360722
|
comment about posix_fallocate
|
2010-04-08 05:31:00 +00:00 |
Arvid Norberg
|
519d2e5819
|
clean up fallocate condition a bit
|
2010-04-08 05:09:11 +00:00 |
Arvid Norberg
|
c51e0a2a86
|
fixed inconsistency when creating torrents with symlinks
|
2010-04-01 00:44:29 +00:00 |
Arvid Norberg
|
8fa2f26217
|
fixed bug in is_complete for windows
|
2010-03-21 17:40:15 +00:00 |
Arvid Norberg
|
f28b9bb501
|
unbuffered mode for solaris
|
2010-03-21 17:26:21 +00:00 |
Arvid Norberg
|
b2484ead10
|
only allocate a file if it's not already allocated (windows)
|
2010-03-20 08:18:49 +00:00 |
Arvid Norberg
|
6e3882a197
|
fixed bug in previous work-around
|
2010-03-08 02:55:16 +00:00 |
Arvid Norberg
|
d73cf769f1
|
weird ubuntu std::string bug work-around
|
2010-03-07 21:59:02 +00:00 |
Arvid Norberg
|
8b4ce8deaa
|
window build fix
|
2010-03-06 22:47:25 +00:00 |
Arvid Norberg
|
ad5b0497c3
|
same thing but for windows (except checking if the file is fully allocated)
|
2010-03-06 20:47:44 +00:00 |
Arvid Norberg
|
247bd9256d
|
fixed bug in fallocate usage and avoid trying to allocate and truncate files that don't need it to not update their modification time for no good reason
|
2010-03-06 20:09:18 +00:00 |
Arvid Norberg
|
08c8bfae29
|
more wide character and mingw fixes
|
2010-02-15 05:49:10 +00:00 |
Arvid Norberg
|
fe5f908cc6
|
fixed MinGW support
|
2010-02-14 04:05:18 +00:00 |
Arvid Norberg
|
1b2798970c
|
support O_NOATIME on linux and use it by default
|
2010-02-02 19:44:52 +00:00 |
Arvid Norberg
|
c4bdd4debe
|
fixed fallocate usage on linux distros that don't have it
|
2010-01-31 21:52:45 +00:00 |
Arvid Norberg
|
5471b098eb
|
falloc build fix
|
2010-01-18 06:18:34 +00:00 |
Arvid Norberg
|
f1be2c6b80
|
don't call posix_fallocate on linux if the file is fully allocated
|
2010-01-18 03:08:38 +00:00 |
Arvid Norberg
|
5d5ded4032
|
fix fallocate build with OSes that actually support it
|
2010-01-18 01:08:19 +00:00 |
Arvid Norberg
|
55aea5b863
|
improved fallocate support
|
2010-01-18 00:51:40 +00:00 |
Arvid Norberg
|
36809c7007
|
improve linux fiemap support
|
2010-01-17 21:56:24 +00:00 |
Arvid Norberg
|
d498c129ab
|
clear sparse flag on files that complete on windows
|
2010-01-09 18:40:05 +00:00 |
Arvid Norberg
|
df2f2570c2
|
factor out page size function and make aligned allocator configurable to use posix_memalign and memalign
|
2009-12-09 01:55:30 +00:00 |
Arvid Norberg
|
39dae9e6dc
|
some GCC 2.95 support fixes and some BeOS support
|
2009-11-28 22:41:21 +00:00 |
Arvid Norberg
|
1d6d11bf0c
|
storage fix
|
2009-11-28 08:58:07 +00:00 |
Arvid Norberg
|
e1aa90daab
|
header dependency fixes
|
2009-11-26 21:05:57 +00:00 |
Arvid Norberg
|
562e2512b9
|
some vs2010 fixes
|
2009-11-22 23:55:54 +00:00 |
Arvid Norberg
|
e9320371b8
|
fixed filename function
|
2009-11-02 04:08:37 +00:00 |
Arvid Norberg
|
9d449caf84
|
msvc fix
|
2009-10-30 03:32:24 +00:00 |
Arvid Norberg
|
d2680e01d2
|
fixes to copy_file() to pass in permissions to open()
|
2009-10-28 19:52:58 +00:00 |
Arvid Norberg
|
4ecbc21101
|
fixing build issue introduced in filesystem check-in
|
2009-10-27 01:47:54 +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
|
578fbccceb
|
fix windows physical disk offset support
|
2009-09-07 05:31:29 +00:00 |
Arvid Norberg
|
d0cb5049f7
|
windows support for disk physical offset
|
2009-09-06 07:44:45 +00:00 |
Arvid Norberg
|
79979b1ab3
|
file.cpp cleanup
|
2009-09-05 15:02:49 +00:00 |
Arvid Norberg
|
bec481acdf
|
improved disk read performance and fixed bug in storage_interface's backwards compatibility functions
|
2009-09-05 07:21:10 +00:00 |
Arvid Norberg
|
49f54a6f7f
|
file alignment and disk_io_thread bug fixes
|
2009-09-02 16:42:33 +00:00 |
Arvid Norberg
|
9dfa35d18d
|
merged utf8_native and convert_to_native
|
2009-06-22 02:19:11 +00:00 |
Arvid Norberg
|
7eb78298f3
|
fixed windows build issue in file, as well as expanded the comment at the static assert
|
2009-06-09 05:46:51 +00:00 |
Arvid Norberg
|
32a42bae99
|
removed some dependencies on stringstream
|
2009-04-13 04:22:03 +00:00 |
Arvid Norberg
|
3cd26dec64
|
compile time options to use readv/writev or not
|
2009-04-04 08:23:53 +00:00 |
Arvid Norberg
|
3499913c59
|
storage compact mode resume data fix
|
2009-03-31 08:20:34 +00:00 |
Arvid Norberg
|
b809028bda
|
uses iconv by default on linux to convert filenames from utf-8 to the current locale
|
2009-03-01 00:02:33 +00:00 |
Arvid Norberg
|
00916610c7
|
fixed wpath bug #486
|
2009-02-25 04:56:00 +00:00 |
Arvid Norberg
|
fbc6910335
|
fix cast issue on 64-bit platforms
|
2009-02-22 20:18:42 +00:00 |
Arvid Norberg
|
13ca386838
|
improved support for sparse files on windows
|
2009-02-17 00:11:38 +00:00 |
Arvid Norberg
|
7b2be278f1
|
windows file fix
|
2009-02-17 00:00:21 +00:00 |
Arvid Norberg
|
5a30111b9b
|
some file fixes
|
2009-02-16 11:04:54 +00:00 |
Arvid Norberg
|
75efebac1e
|
allocate files on unix when allocate storage mode is used
|
2009-02-16 00:42:44 +00:00 |
Arvid Norberg
|
7c2d2f6d12
|
use SetFileValidData() on non-sparse files on windows
|
2009-02-14 04:18:17 +00:00 |
Arvid Norberg
|
dc4d50b117
|
don't make files sparse when allocation mode is set on the storage (windows only)
|
2009-02-14 03:56:07 +00:00 |
Arvid Norberg
|
00808473e7
|
factor out disk_buffer_pool from disk_io_thread. refactored the file open modes to be platform independent. gave the disk_io_thread its own copy of session_settings that it shares with storage. added an unaligned_read implementation to storage. Added options to session_settings on when to open files in unbuffered mode. Added unit tests for unaligned reads
|
2009-01-21 07:31:49 +00:00 |
Arvid Norberg
|
52f7bbc185
|
assert that we always have an error code when a file fails to open
|
2009-01-19 09:26:11 +00:00 |
Arvid Norberg
|
cedea0980f
|
separate alignment requirements for file offset and buffer address
|
2009-01-19 09:21:21 +00:00 |
Arvid Norberg
|
7529225870
|
file windows fix
|
2009-01-17 18:25:27 +00:00 |
Arvid Norberg
|
ae1fa3c1b5
|
linux file fixes
|
2009-01-17 09:37:40 +00:00 |
Arvid Norberg
|
5b551c1761
|
merged storage::readv() and storage::writev()
|
2009-01-17 08:35:48 +00:00 |
Arvid Norberg
|
78d3654263
|
fix file.cpp build on linux
|
2009-01-17 00:09:44 +00:00 |
Arvid Norberg
|
e670f3807b
|
file EOF fix for windows
|
2009-01-16 19:10:53 +00:00 |
Arvid Norberg
|
a35d516b68
|
file EOF fix for windows
|
2009-01-16 18:51:54 +00:00 |
Arvid Norberg
|
6fdbe76532
|
file fixes
|
2009-01-13 19:40:14 +00:00 |
Arvid Norberg
|
43e69cd316
|
added extension for file attributes. Fixes problem when sharing Application bundles on OSX or hidden files on windows
|
2009-01-11 22:27:43 +00:00 |
Arvid Norberg
|
97e3d9f709
|
fixed missing file flag on windows
|
2009-01-11 19:54:20 +00:00 |