arvidn
|
867b83ccda
|
merged RC_1_1 into master
|
2016-04-08 02:20:24 -04:00 |
arvidn
|
6bc5de5903
|
fail correctly when move_storage is called to move into its own directory
|
2016-04-02 10:03:31 -04:00 |
arvidn
|
f662d86458
|
fix merge issue in test_storage.cpp
|
2016-03-30 02:06:10 -04:00 |
arvidn
|
fd4a46342f
|
merge RC_1_1 into master
|
2016-03-30 00:33:29 -04:00 |
arvidn
|
b16f43132b
|
Merge branch 'RC_1_1'
|
2016-03-20 20:39:49 -04:00 |
arvidn
|
f5c112eefc
|
remove remaining references to storage_mode_compact (since it's been deprecated for quite a while now, and no longer implemented)
|
2016-03-20 18:25:24 -04:00 |
arvidn
|
2dd28c1708
|
just use malloc/free in test_storage (instead of page_aligned_allocator). file no longer requires alignment
|
2016-03-20 17:00:49 -04:00 |
arvidn
|
f79a9c7adf
|
merged RC_1_1 into master
|
2016-03-16 19:59:53 -04:00 |
arvidn
|
921cbeebed
|
add option to delete just the partfile when removing a torrent
|
2016-03-14 08:26:39 -04:00 |
arvidn
|
516db1fc97
|
fix python binding
|
2016-02-20 12:51:06 -05:00 |
arvidn
|
c9d7e54d7b
|
make tests pass
|
2016-02-20 12:50:52 -05:00 |
arvidn
|
8135ea326f
|
rename async_check_fastresume to async_check_files, and make it take an add_torrent_params object instead of bencoded resume data
|
2016-02-20 02:00:07 -05:00 |
arvidn
|
ae7058e119
|
remove the timestamps and file sizes from the resume data. This makes saving resume data alot cheaper, since it doesn't have to go via the disk thread. It also removes an old-standing API usage issue where there was easily a race condition introduced between saving resume data and pausing a torrent.
|
2016-02-06 15:50:55 -05:00 |
arvidn
|
0cb35d714c
|
fix test in test_storage
|
2016-01-20 19:38:18 -05:00 |
arvidn
|
07574117ad
|
add test for readwritev and experiment with SEH handler in test
|
2015-11-19 17:58:56 -05:00 |
arvidn
|
964031c070
|
factor out readwritev to a free function, to allow unit testing of it
|
2015-11-19 17:58:55 -05:00 |
arvidn
|
b628692223
|
separate out announce_entry and torrent_status into their own headers
|
2015-09-18 08:08:08 -04:00 |
arvidn
|
ffa870d280
|
fixed some GCC warnings
|
2015-08-20 01:33:20 +02:00 |
arvidn
|
7d2deb01db
|
split up test_storage into smaller test cases to improve output on failures
|
2015-06-20 22:34:44 -04:00 |
arvidn
|
5cb095f6d2
|
support using 0 disk threads (to perform disk I/O in network thread)
|
2015-06-14 16:00:04 -04:00 |
arvidn
|
0d6e65ec24
|
improve reliability of some of the unit tests
|
2015-06-10 01:22:01 -04:00 |
arvidn
|
389ffc622c
|
don't pull in the asio namespace in libtorrent. refer to it by boost::asio
|
2015-06-06 01:24:25 -04:00 |
Arvid Norberg
|
84849f3afd
|
some msvc fixes
|
2015-05-30 21:46:59 +00:00 |
Arvid Norberg
|
f9c9d0ad0d
|
merge small unit tests to make running the tests quicker. expand the test framework a bit. add ax_boost_random.m4 script to link against boost.random correctly from makefile.
|
2015-05-30 04:31:23 +00:00 |
Arvid Norberg
|
58ae099cf8
|
clean up disk_io_job a bit to avoid old-style casts
|
2015-05-16 20:41:37 +00:00 |
Arvid Norberg
|
5dc00969f8
|
fix more warninigs
|
2015-05-06 02:13:03 +00:00 |
Arvid Norberg
|
3ea67e2bf5
|
move time_now_string out to the unit test library (basically unused in libtorrent itself)
|
2015-04-24 03:48:08 +00:00 |
Arvid Norberg
|
baaeac7809
|
extend some unit tests. primarily test_alert_manager and fixed a bug in alert_manager
|
2015-04-11 18:44:43 +00:00 |
Arvid Norberg
|
013ed36f09
|
landed alert_queue feature branch into trunk
|
2015-04-03 20:15:48 +00:00 |
Arvid Norberg
|
ccc7e45406
|
landed mutable torrents branch in trunk
|
2015-03-21 00:12:40 +00:00 |
Arvid Norberg
|
badd763f86
|
make tests not use internal aux::time_now function
|
2015-03-15 15:22:01 +00:00 |
Arvid Norberg
|
6c1df7eb55
|
landed the bdecode branch in master. lazy_bdecode/lazy_entry is now being replaced by bdecode/bdecode_node
|
2015-03-12 05:20:12 +00:00 |
Arvid Norberg
|
c1dc982f4f
|
deprecate the ptime type and related time types. just use boost::chrono / std::chrono
|
2015-03-12 04:34:54 +00:00 |
Arvid Norberg
|
40980df545
|
extend storage unit test to cover iovec operations
|
2015-02-15 07:31:35 +00:00 |
Arvid Norberg
|
3fbc0f05c6
|
add unit test for default_storage::rename
|
2015-01-16 04:02:44 +00:00 |
Arvid Norberg
|
764b09d6b5
|
make the peer fingerprint a regular setting and remove it from the main session constructor argument list
|
2014-12-31 15:51:45 +00:00 |
Arvid Norberg
|
5666cdcd07
|
fix warnings
|
2014-12-09 09:33:34 +00:00 |
Arvid Norberg
|
f32f5e96aa
|
deprecate parts of cache_status and move those counters to session_stats counters. make the performance counters thread safe. fix some issues recently introduced to performance counters and the usage of them in client_test
|
2014-08-01 06:07:48 +00:00 |
Arvid Norberg
|
7351389ce8
|
land libtorrent_aio branch in trunk
|
2014-07-06 19:18:00 +00:00 |
Arvid Norberg
|
a0a41b6c5e
|
merged file priority fix from RC_0_16 and keep the disk thread's file priorities up to date
|
2014-02-28 10:19:29 +00:00 |
Arvid Norberg
|
6c22d426d4
|
make all unit tests pass msvc's /RTCc instrumentation (no implicit integer truncation in casts)
|
2014-02-05 09:38:32 +00:00 |
Arvid Norberg
|
3f66a65917
|
assert that create_torrent returns a valid torrent_info pointer
|
2013-12-30 06:47:15 +00:00 |
Arvid Norberg
|
5b46be916b
|
merged storage fix from RC_0_16
|
2013-12-30 02:50:29 +00:00 |
Arvid Norberg
|
df3204874d
|
clean up entry::print
|
2013-12-19 08:30:17 +00:00 |
Arvid Norberg
|
fdab2e61da
|
fix test_storage
|
2013-09-02 21:30:58 +00:00 |
Arvid Norberg
|
3bd53f88ef
|
fix build with internal_file_entry being deprecated without deprecated functions
|
2013-08-12 07:30:57 +00:00 |
Arvid Norberg
|
93f9d4b3b0
|
test fixing
|
2013-08-01 08:03:11 +00:00 |
Arvid Norberg
|
09f29217ee
|
test fixes
|
2013-08-01 04:58:43 +00:00 |
Arvid Norberg
|
63cce14cf9
|
fix issue in previous patch to test_storage and optimized it a bit
|
2013-08-01 01:02:26 +00:00 |
Arvid Norberg
|
86ce8fbb0a
|
fix test_storage
|
2013-08-01 00:21:56 +00:00 |
Arvid Norberg
|
c0da76ac84
|
some windows fixes for unit tests
|
2013-07-23 07:32:38 +00:00 |
Arvid Norberg
|
9c9135bfc4
|
don't use pointers to resume_data and file_priorities in add_torrent_params
|
2013-07-17 20:21:48 +00:00 |
Arvid Norberg
|
1523a196e5
|
fix fallocate issue when filesystem doesn't support it
|
2013-06-24 03:26:17 +00:00 |
Arvid Norberg
|
3b9fd38c22
|
fix build of test_storage without deprecated functions
|
2013-06-18 07:33:49 +00:00 |
Arvid Norberg
|
8f3723cdef
|
support renaming files to absolute paths
|
2013-06-09 22:30:02 +00:00 |
Arvid Norberg
|
01c8c8543b
|
fix typo in move_storage
|
2013-05-11 21:32:18 +00:00 |
Arvid Norberg
|
90a2509d68
|
fix bug in recent move_storage patch
|
2013-05-10 02:18:14 +00:00 |
Arvid Norberg
|
982a14c2e9
|
extend move_storage functionality to have more flexible behavior
|
2013-05-09 02:50:16 +00:00 |
Arvid Norberg
|
96c62bc4b8
|
merged fix from RC_0_16
|
2013-02-28 03:29:33 +00:00 |
Arvid Norberg
|
e45c71dd30
|
merged sparse file fix from RC_0_16
|
2013-02-16 08:26:55 +00:00 |
Arvid Norberg
|
733aafc245
|
merged unit test fixes from RC_0_16
|
2013-02-09 22:02:05 +00:00 |
Arvid Norberg
|
d63b82bb78
|
merged rename_file fix from RC_0_16
|
2013-02-09 21:50:22 +00:00 |
Arvid Norberg
|
9024209d51
|
merged set_settings race condition fix into trunk
|
2012-04-06 03:02:50 +00:00 |
Arvid Norberg
|
065d75b02d
|
fix bug in file storage unit test, and the bug causing mapped files to not be restored correctly from resume files
|
2012-02-19 19:00:52 +00:00 |
Arvid Norberg
|
4d49d0f20d
|
windows storage fixes
|
2011-11-13 04:12:56 +00:00 |
Arvid Norberg
|
167fc021ac
|
fix unit test
|
2011-10-29 08:59:36 +00:00 |
Arvid Norberg
|
894db973e8
|
optimized memory usage of torrent_info and file_storage
|
2010-11-24 23:49:22 +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
|
02668e8f75
|
fix message posting to work from multiple threads
|
2010-08-26 17:00:24 +00:00 |
Arvid Norberg
|
2736a3b7ff
|
fixed file checking bug
|
2010-08-23 05:51:12 +00:00 |
Arvid Norberg
|
897e615a86
|
optimized storage test
|
2010-08-08 07:53:47 +00:00 |
Arvid Norberg
|
97afe3fca8
|
added option to set file priorities when adding torrents
|
2010-07-15 01:14:36 +00:00 |
Arvid Norberg
|
4e576f93fd
|
removed the session mutex for improved performance
|
2010-07-14 04:16:38 +00:00 |
Arvid Norberg
|
9fd624ecb6
|
solaris build fixes
|
2010-05-02 22:26:43 +00:00 |
Arvid Norberg
|
7ac4668948
|
more vs10 build fixes
|
2010-05-02 05:53:41 +00:00 |
Arvid Norberg
|
fb28835452
|
slight performance fix in disk elevator algorithm
|
2010-04-24 21:53:45 +00:00 |
Arvid Norberg
|
cb26c80103
|
fixed typos
|
2010-03-05 06:39:57 +00:00 |
Arvid Norberg
|
53acf4349e
|
made some tests rely less on deprecated functions
|
2010-03-05 06:27:23 +00:00 |
Arvid Norberg
|
1700b05d9e
|
fix storage unit test to work with new disk IO job sorting code
|
2010-01-24 03:33:01 +00:00 |
Arvid Norberg
|
a046850130
|
support disk I/O priority setting
|
2010-01-23 03:02:32 +00:00 |
Arvid Norberg
|
6298322b1d
|
service disk-read requests that hit the cache immediately and circumvent the elevator ordering
|
2009-12-16 10:49:15 +00:00 |
Arvid Norberg
|
2055426c52
|
fix trunk build and tests build without exceptions
|
2009-12-16 10:42:34 +00:00 |
Arvid Norberg
|
96cedc9b5f
|
more beos fixes
|
2009-12-15 13:11:07 +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
|
8a5b7d5d36
|
got rid of the last recursive mutexes. abstracted the threading primitives (and switched over to use asio's internal ones).
|
2009-10-20 02:49:56 +00:00 |
Arvid Norberg
|
6d01cb475c
|
msvc build fixes
|
2009-09-06 00:57:01 +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
|
cc3e6621ed
|
fixed rename_file() bug where the new name would not be saved in the resume data in some cases
|
2009-06-22 00:52:57 +00:00 |
Arvid Norberg
|
f0134c1b11
|
improved disk error handling and expanded use of error_code in error reporting
|
2009-06-10 08:30:55 +00:00 |
Arvid Norberg
|
92a541035e
|
fixed inconsistent build requirement around entry::print()
|
2009-06-09 05:56:18 +00:00 |
Arvid Norberg
|
3e7bd46706
|
fixed handling of unaligned block requests
|
2009-05-31 19:33:54 +00:00 |
Arvid Norberg
|
5dd72d21b6
|
added some output to test_storage
|
2009-05-25 17:25:55 +00:00 |
Arvid Norberg
|
062e1796c0
|
fixed crash when shutting down while checking a torrent
|
2009-05-13 17:17:33 +00:00 |
Arvid Norberg
|
2b671bc820
|
more iostream fixes
|
2009-04-04 21:44:04 +00:00 |
Arvid Norberg
|
c6017f9366
|
reverted bug introduced a few check-ins ago. Fixed case when recursive_copy fails (don't remove the original files). Cleaned up callback dispatching in disk_io_thread in trunk. Improved unit tests for move_storage
|
2009-03-31 08:05:46 +00:00 |
Arvid Norberg
|
1cdfe26630
|
Fixed bug when moving storage with files renamed to end up outside of the rood directory. Fixes Deluge bug http://dev.deluge-torrent.org/ticket/839
|
2009-03-17 09:31:30 +00:00 |
Arvid Norberg
|
13ca386838
|
improved support for sparse files on windows
|
2009-02-17 00:11:38 +00:00 |
Arvid Norberg
|
2c68654994
|
fixed bug where mapped files were not restored properly from the resume data. Fixes #483
|
2009-02-09 06:19:31 +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
|
d506bcd5de
|
prevent torrent optimization in unit test
|
2009-01-19 08:46:45 +00:00 |