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 |
Arvid Norberg
|
ee5a76fa65
|
another windows file IO fix
|
2009-01-11 18:10:52 +00:00 |
Arvid Norberg
|
52aa441818
|
File IO fixes for windows
|
2009-01-11 18:01:28 +00:00 |
Arvid Norberg
|
ce6531640b
|
fixed incorrect return codes
|
2009-01-11 10:21:18 +00:00 |
Arvid Norberg
|
27956d4dcb
|
fixed operator precedence bug
|
2009-01-11 09:59:05 +00:00 |
Arvid Norberg
|
7592ad4aee
|
updated disk IO to support unbuffered files
|
2009-01-11 02:02:34 +00:00 |
Arvid Norberg
|
f1d229aae6
|
first pass of replacing coalesce writes and reads by writev and readv (no windows support yet)
|
2009-01-03 08:11:31 +00:00 |
Arvid Norberg
|
233f2ed00c
|
start of use of writev instead of coalescing into a heap allocated buffer
|
2009-01-01 01:47:57 +00:00 |
Arvid Norberg
|
ef8234efc5
|
fixed preprocessor defines using UNICODE instead of TORRENT_USE_WPATH. Removed old boost.filesystem replacement code to support boost 1.33
|
2008-12-09 03:45:58 +00:00 |
Arvid Norberg
|
09b3a865ef
|
fixed compiler flags in pkg-config file and made header files not depend on the NDEBUG define
|
2008-11-29 21:33:21 +00:00 |
Arvid Norberg
|
357d548bb5
|
fixed boost.filesystem usage to not rely on deprecated functions
|
2008-11-21 23:38:07 +00:00 |
Arvid Norberg
|
535f668c5d
|
simplified the file interface
|
2008-10-19 05:03:17 +00:00 |
Arvid Norberg
|
92bac424eb
|
fixed typecast typo in file.cpp
|
2008-09-25 00:16:41 +00:00 |
Arvid Norberg
|
43dd90bb59
|
don't set executable permission of files
|
2008-07-22 13:02:06 +00:00 |
Arvid Norberg
|
5ad495865e
|
fixed bug in windows path of file.cpp
|
2008-07-20 16:34:01 +00:00 |
Arvid Norberg
|
417855848f
|
merged file_win.cpp and file.cpp (removed the need for file_win.cpp). The file is no longer a pimpl
|
2008-07-20 11:14:54 +00:00 |
Arvid Norberg
|
64727894c4
|
set all permission bits on files and let umask handle reducing permissions
|
2008-07-18 14:15:18 +00:00 |
Arvid Norberg
|
3cb1369385
|
improved error reporting of file errors (uses boost.system's error_code). Now permission errors are properly reported when checking files
|
2008-07-17 23:41:46 +00:00 |
Arvid Norberg
|
5e48b63ede
|
removed hard coded file permission bits
|
2008-07-11 08:53:33 +00:00 |
Arvid Norberg
|
40d7e2ce75
|
moved load_file into torrent_info.cpp to make it available on windows too. Fixed the exception free path in torrent_info
|
2008-07-01 11:00:00 +00:00 |
Arvid Norberg
|
9c84908bb9
|
switched resume data parsing over to use lazy_bdecode. Improves memory allocation performance, especially noticable when heap allocations are expensive. Makes it more practical to run with malloc debug. Changed resume data interface to take a vector as opposed to a parsed structure
|
2008-06-30 23:14:31 +00:00 |
cg25
|
ff3e80c42f
|
Removed svn:executable property from {c,h}pp files in branches/RC_0_13 and
trunk.
|
2008-06-25 14:15:21 +00:00 |
Arvid Norberg
|
9f44c577d7
|
updated file_win and file_pool error handling
|
2008-02-25 04:41:21 +00:00 |
Arvid Norberg
|
7e83c3fc51
|
changed storage interface to not require exceptions
|
2008-02-14 03:48:20 +00:00 |
Arvid Norberg
|
f271a3b74b
|
include fixes in file.cpp
|
2007-11-18 07:27:40 +00:00 |
Arvid Norberg
|
b9fcef5941
|
fixed static assert being hit on linux systems
|
2007-10-06 17:27:53 +00:00 |
Arvid Norberg
|
966800cd5b
|
replaced the assert macro to TORRENT_ASSERT instead of hi-jacking assert.
|
2007-10-05 00:30:00 +00:00 |
Arvid Norberg
|
5b8ce7f6a0
|
changed to use ftruncate to allocate files
|
2007-09-16 00:48:21 +00:00 |
Arvid Norberg
|
a4ad8a6442
|
fixed issue where file::set_size would update the file modification date even when the size was not changed (fixes #105)
|
2007-08-11 15:22:06 +00:00 |
Arvid Norberg
|
3b8670626a
|
merged back async_io branch into trunk
|
2007-06-10 20:46:09 +00:00 |
Arvid Norberg
|
aea4e503c5
|
more storage state machine fixes, added test to storage unit test and fix in file::set_size
|
2007-05-31 23:35:48 +00:00 |
Arvid Norberg
|
5f7dd474e9
|
fixes to storage full allocation mode
|
2007-05-30 22:23:17 +00:00 |
Arvid Norberg
|
92cf13c2c2
|
sparse files fixes. now sets the size of the files in case sparse files are supported
|
2007-04-19 03:06:15 +00:00 |
Arvid Norberg
|
983b953f02
|
reverted last check-in
|
2007-03-30 20:03:18 +00:00 |
Arvid Norberg
|
5c9b9aefb3
|
file did not throw exception properly when file was trunkated and read
|
2007-03-30 19:56:53 +00:00 |
Arvid Norberg
|
8957b64c04
|
prepared for precompiled headers support. fixed issue where storage didn't lock the session properly. fixed typo in natpmp.cpp
|
2007-03-17 17:15:16 +00:00 |
Arvid Norberg
|
e35fc5c4be
|
refactored extensions and added a plugin interface. fixed file.cpp for windows
|
2006-11-14 00:08:16 +00:00 |
Arvid Norberg
|
8c6869b4f2
|
fixed the issue with the timer waiting for tracker requests when quitting, reported by Tianhao Qiu
|
2006-07-12 22:55:06 +00:00 |
Arvid Norberg
|
4403eac97b
|
fixed bugs reported by Massaroddel. Tracker request peer-count could be incorrect. Empty files were not created in full allocation mode.
|
2006-07-08 19:41:39 +00:00 |
Arvid Norberg
|
41810b1166
|
merged back the asio development branch
|
2006-04-25 21:04:48 +00:00 |
Arvid Norberg
|
c64393cb0e
|
more vc7 fixes and unicode fix in file.cpp
|
2006-01-09 00:07:00 +00:00 |
Arvid Norberg
|
84ddeacea0
|
*** empty log message ***
|
2005-08-23 09:59:56 +00:00 |
Arvid Norberg
|
df4466cb86
|
made it build on cygwin
|
2005-08-18 11:20:17 +00:00 |
Arvid Norberg
|
a29bf51908
|
*** empty log message ***
|
2005-08-17 02:38:34 +00:00 |
Arvid Norberg
|
c2b496f472
|
*** empty log message ***
|
2005-08-17 01:57:30 +00:00 |
Arvid Norberg
|
57144ea15d
|
*** empty log message ***
|
2005-08-03 22:51:21 +00:00 |
Arvid Norberg
|
b55a1a6766
|
*** empty log message ***
|
2004-12-21 12:30:09 +00:00 |
Arvid Norberg
|
189375b761
|
*** empty log message ***
|
2004-10-31 08:20:05 +00:00 |
Arvid Norberg
|
c48f64c2ec
|
*** empty log message ***
|
2004-10-16 01:10:42 +00:00 |
Arvid Norberg
|
d9f0ce12a3
|
*** empty log message ***
|
2004-09-24 10:50:03 +00:00 |
Arvid Norberg
|
13f67cc077
|
*** empty log message ***
|
2004-07-19 12:38:43 +00:00 |
Arvid Norberg
|
21e3c387ca
|
*** empty log message ***
|
2004-04-14 03:01:06 +00:00 |
Arvid Norberg
|
b164286e52
|
*** empty log message ***
|
2004-04-04 22:15:31 +00:00 |
Arvid Norberg
|
1313fb9fb8
|
*** empty log message ***
|
2004-04-02 22:21:20 +00:00 |
Arvid Norberg
|
653a4a970d
|
*** empty log message ***
|
2004-04-02 10:43:37 +00:00 |
Arvid Norberg
|
98c1c824df
|
timeouts become longer the more times a tracker fails
|
2004-04-01 22:29:51 +00:00 |
Arvid Norberg
|
fb8a1bb495
|
*** empty log message ***
|
2004-03-30 23:55:52 +00:00 |
Arvid Norberg
|
87222ebf3f
|
*** empty log message ***
|
2004-02-19 16:47:12 +00:00 |
Arvid Norberg
|
c3bbc79c22
|
*** empty log message ***
|
2004-02-19 11:35:08 +00:00 |
Arvid Norberg
|
ead9297a7e
|
*** empty log message ***
|
2004-01-31 15:07:49 +00:00 |
Arvid Norberg
|
b9c3db8a07
|
*** empty log message ***
|
2004-01-19 19:36:55 +00:00 |
Arvid Norberg
|
e257516670
|
took a shot at making it compile on vc6.
|
2004-01-18 01:58:33 +00:00 |
Arvid Norberg
|
7cda5c2de8
|
*** empty log message ***
|
2004-01-16 15:18:02 +00:00 |
Arvid Norberg
|
4f0e42c494
|
*** empty log message ***
|
2004-01-16 15:07:01 +00:00 |
Arvid Norberg
|
68d9c4f4b0
|
*** empty log message ***
|
2004-01-16 12:43:23 +00:00 |
Arvid Norberg
|
5914b3400f
|
*** empty log message ***
|
2004-01-16 02:57:45 +00:00 |