Andrei Kurushin
62eb956c54
fix x64 build with VS2015 UP2 compiler ( #640 )
...
fix VS2015 compiler warnings for: address-model=64, deprecated-functions=on, link=shared
2016-04-25 17:22:09 -04:00
Andrei Kurushin
7b5d48c02a
fix default release build with VS2015 UP2 compiler warnings ( #624 )
...
* fix default release build with VS2015 UP2 compiler warnings
this will allow to successfully build:
bjam toolset=msvc-14.0 release deprecated-functions=off character-set=unicode link=static warnings-as-errors=on
2016-04-17 16:56:07 -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
0095aa084f
make coalesce reads and coalesce writes actually work
2016-03-20 16:34:19 -04:00
arvidn
a9d12766d4
fix typo in hard_link()
2016-03-20 16:14:29 -04: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
f71d775238
Allow xp compilation with the use GetFileInformationByHandleEx.
2016-01-25 12:22:33 -05: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
fbb246094b
fix windows build
2016-01-19 21:21:00 -05:00
arvidn
2fa84b3aa5
fix incorrect use of WaitForMultipleObjects
2016-01-19 18:47:21 -05:00
arvidn
1f9f588e75
merge copyright year update and changelog from RC_1_0
2016-01-17 18:57:46 -05:00
arvidn
78d306157b
forward port of windows symlink fix from RC_1_0
2016-01-16 01:53:27 -05:00
arvidn
c8f119c1a1
fix typo
2016-01-13 01:07:27 -05:00
arvidn
4a28e95ce0
fix missing error handling in windows preadv/pwritev emulation
2016-01-13 00:49:17 -05:00
Alden Torres
20d8f4e3f7
Removed unused fields in field class
2016-01-11 12:07:36 -05:00
arvidn
e9b98c7d2e
GetFileAttributesEx fix
2015-12-19 00:12:11 -05:00
arvidn
d80a129871
fix gcc warnings
2015-12-12 07:15:24 +02:00
arvidn
06b648203f
clean up use of error categories
2015-11-24 00:50:51 -05:00
arvidn
fba0762353
fix some msvc warnings
2015-11-19 19:01:54 -05:00
arvidn
c7a4eefd69
fixed typo
2015-11-14 02:22:35 -05:00
arvidn
fb2f2731cf
fix support for incomplete reads/writes from disk
2015-11-14 00:21:03 -05:00
arvidn
5bdb583162
remove fallocate hack (in master)
2015-09-21 20:22:19 -07:00
arvidn
17c5759829
disable warning for unused command line argument and fix warnings. remove redundant travis build config. use new preprocessor on clang to avoid warnings
2015-09-06 22:55:41 -04:00
arvidn
0e3e3ea793
add simple unit test for creating hard links
2015-08-30 20:14:55 -04:00
arvidn
b7b0dafcca
fix some warnings
2015-08-21 10:05:51 +02:00
arvidn
9a0092c120
fix some warnings
2015-08-16 12:17:23 -04:00
arvidn
1c1698459c
fix warnings
2015-08-08 22:53:11 -04:00
arvidn
50925d7652
fix some more warnings
2015-08-08 02:48:01 -04:00
Jakob Petsovits
4853d0250f
Avoid a warning if _BSD_SOURCE is already defined.
...
As _BSD_SOURCE has been deprecated since glibc 2.20, also add
_DEFAULT_SOURCE to the definitions. Both can be any value as long
as they're defined, so in order to save two lines, just #undef
them instead of checking with #ifdef/#endif.
2015-07-14 21:07:05 -04:00
arvidn
08016494a9
split up test_http_connection into smaller test cases
2015-06-21 12:41:50 -04:00
Arvid Norberg
d43f7b56a2
update copyright year
2015-06-03 05:18:48 +00:00
Arvid Norberg
51e86ca2d5
more warning fixes and cleanup
2015-04-18 22:00:27 +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
af57bdfe6a
clean up use of error categories in file.cpp
2015-04-10 23:19:47 +00:00
Arvid Norberg
c47699005f
merge fixes from RC_1_0
2015-04-10 03:25:02 +00:00
Arvid Norberg
9af3066b56
fix file collision logic in torrent_info
2015-03-21 16:55:23 +00:00
Arvid Norberg
ccc7e45406
landed mutable torrents branch in trunk
2015-03-21 00:12:40 +00:00
Arvid Norberg
794de25212
moved escape_string.hpp into the aux_ directory. moved out the 3 public hex functions into its own public header, hex.hpp
2015-03-14 23:10:20 +00:00
Arvid Norberg
37225b71ae
const static -> static const (thanks gubatron). helps swigs parser
2015-03-14 00:42:27 +00:00
Arvid Norberg
10333221bc
attempt at fixing file permission issues on windows
2015-03-09 06:09:50 +00:00
Arvid Norberg
89055c4c7a
some more optimizations on loading torrents
2015-02-18 03:32:49 +00:00
Arvid Norberg
e2d73cfe38
file not found is not an error in exists()
2015-01-15 02:31:38 +00:00
Arvid Norberg
c9903bdaf2
use O_SYNC when available
2015-01-07 23:21:54 +00:00
Arvid Norberg
c9075a530d
fix build
2015-01-06 22:17:22 +00:00
Arvid Norberg
a1c1f9393d
fix flush_pieces in disk_io_thread to also flush the read cache
2015-01-01 10:10:13 +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
ca3c1620bd
merged changes from RC_1_0
2014-12-17 14:33:52 +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
edfa38cd30
merged changes from RC_1_0
2014-11-17 03:41:01 +00:00
Arvid Norberg
cd456964ad
storage fixes
2014-07-20 08:59:02 +00:00
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