Arvid Norberg
b52419d4d9
make the DHT log output deterministic ( #1550 )
...
make the DHT log output use the search ID rather than a pointer value. Make random_bytes() deterministic in simulations
2017-01-14 22:36:25 -05:00
Calum Lind
9b30d09099
[ #1543 ] Fix missing C++11 flag for building python bindings
...
* Extract the flags from CXX and put into CXXFLAGS which is
passed into setup.py extra_compile_args.
* Remove now redundant os.environ test in setup.py
2017-01-14 19:30:25 -05:00
Alden Torres
df6cb6a48d
fixing sign-conversion warnings, part 4, minor refactor ( #1549 )
...
fixing sign-conversion warnings, part 4, minor refactor
2017-01-14 18:53:25 -05:00
Calum Lind
2e7f43ba21
Fix ar 'modifier ignored' build warning
...
* This only applies to AR_FLAGS and not ARFLAGS.
* afaik ARFLAGS is the new convetion and this warning is fixed
upstream in libtool but may be a while before OSes catchup.
2017-01-14 18:50:47 -05:00
arvidn
febcbbf17c
fix make_torrent.py to not use deprecated functions
2017-01-14 16:04:01 -05:00
Falcosc
564fbea065
Docu for deprecated ( #1551 )
...
documentation for deprecated members
2017-01-14 12:58:44 -05:00
Andrei Kurushin
230342df00
enforce asserts on invariant_check ( #1529 )
...
enforce asserts on invariant_check
2017-01-14 11:14:10 -05:00
Calum Lind
feaca772d9
Fix autotool.sh warning if builddir exists
2017-01-14 09:19:23 -05:00
Falco
51aa8e6928
documentation for deprecated members
2017-01-14 09:18:32 -05:00
Alden Torres
c3d9614dfb
minor code refactor and cleanup
2017-01-14 06:59:44 -05:00
Alden Torres
1874a917b0
added std:: prefix, end of file cleanup, formatting, consts
2017-01-14 05:59:26 -05:00
arvidn
07d45329ea
fix stats_metric enum to end up in documentation
2017-01-13 17:37:37 -05:00
Falcosc
9199756a27
fix bitfield m_buf null pointer ( #1526 )
...
fix operations on empty bitfield
2017-01-13 17:08:54 -05:00
Alden Torres
a31ba7972d
fixing sign-conversion warnings, part 3 ( #1537 )
...
fixing sign-conversion warnings, part 3. making aux::vector index type default to int
2017-01-13 01:55:29 -05:00
arvidn
77de1e1b43
improve error message in torrent::force_tracker_request precondition error
2017-01-13 01:53:44 -05:00
Alden Torres
4f7b69be90
fix of internal session_impl logic regarding TOS ( #1518 )
...
fix of internal session_impl logic regarding TOS
2017-01-13 00:55:54 -05:00
arvidn
219846fc3d
back-ported AM_MAINTAINER_MODE patch to RC_1_1
2017-01-13 00:54:52 -05:00
Calum Lind
3a19f33097
[ #1520 ] Add AM_MAINTAINER_MODE macro to configure.ac
...
* '--disable-maintainer-mode' option is now available for configure.
* This fixes the warning 'unrecognized options: --disable-maintainer-mode' from debian pkg builds.
* Setting the macro to 'enable' as default is equivalent to no macro call so no change in default functionality.
2017-01-13 00:54:06 -05:00
Falco
3f7bc23c6c
use git for configure revision
2017-01-13 00:45:10 -05:00
Arvid Norberg
2120a13869
fix file rename issue with name prefix matching torrent name ( #1524 )
...
fix file rename issue with name prefix matching torrent name
2017-01-13 00:39:49 -05:00
Alden Torres
7ac2805c2c
added custom resize methods to aux::vector ( #1514 )
...
added custom resize methods to aux::vector, code refactor
2017-01-12 18:40:59 -05:00
arvidn
70a650fc94
fix typo in session stats documentation generation script
2017-01-12 18:02:54 -05:00
Arvid Norberg
3d06371f31
factor out some common storage utilities out of storage.cpp ( #1515 )
...
factor out some common storage utilities out of storage.cpp
2017-01-11 00:42:10 -05:00
arvidn
d6a7c7d991
fix error in accounting of IP overhead
2017-01-11 00:02:18 -05:00
Alden Torres
3b4867046f
fixing sign-conversion warnings, part 2
2017-01-10 20:19:03 -05:00
arvidn
3ef7e85496
extend build cleanup script
2017-01-09 23:00:54 -05:00
Andrei Kurushin
5fa48c65da
move const data to readonly segment
2017-01-09 14:41:44 -05:00
arvidn
d1ea80c2c3
remove disk-access-log build configuration
2017-01-09 08:37:02 -05:00
Alden Torres
0f7a55cb8b
fixing sign-conversion warnings, part 1 ( #1503 )
...
fixing sign-conversion warnings, part 1
2017-01-09 01:43:57 -05:00
arvidn
1d1ab4f4b5
removed file-leak code, temporarily used to trouble-shoot files appearing to be left open
2017-01-09 01:43:15 -05:00
Arvid Norberg
1cf3689578
simplify disk thread a little bit ( #1504 )
...
simplify disk thread a little bit
2017-01-08 19:22:59 -05:00
Andrei Kurushin
224db08997
fix frequent dealloc/alloc for utp socket lists ( #1496 )
...
fix frequent dealloc/alloc for utp socket lists
2017-01-08 19:18:26 -05:00
arvidn
ba995fef84
fix msvc-warning
2017-01-08 12:56:33 -05:00
arvidn
0c7e86078b
merged RC_1_1 into master
2017-01-08 10:18:41 -05:00
Arvid Norberg
5d1fb97b14
fix torrent_status test ( #1499 )
...
fix torrent_status and tracker interval test
2017-01-08 09:51:01 -05:00
arvidn
d2248b1021
retry failed tests on appveyor (not sims)
2017-01-07 17:46:02 -05:00
arvidn
39866c2306
fix division by zero when setting tick_interval > 1000
2017-01-07 15:21:02 -05:00
Andrei Kurushin
78bacfe7c1
fix various build options
2017-01-07 10:49:42 -05:00
Steven Siloti
2ed4bee1cb
remove racey assert
...
We arn't holding any mutex here so the fence could have already been cleared
by the disk io threads.
2017-01-07 02:54:12 -05:00
Andrei Kurushin
ff8345101e
consolidate windows crypto provider implementation into single header ( #1495 )
...
consolidate windows crypto provider into single header
2017-01-07 01:53:39 -05:00
Arvid Norberg
57f52adc88
various cleanup ( #1497 )
...
* various cleanup
* fix
* cleanup
2017-01-06 01:39:01 -05:00
arvidn
3db77ccf31
forward port autotool.sh fix
2017-01-04 21:34:21 -05:00
arvidn
7957e2a30e
fix move_storage() to its own directory (would delete the files)
2017-01-03 21:09:26 -05:00
arvidn
41dbb47123
compact block_cache_reference by using storage_index_t instead of pointer. make sure storage object is kept alive by block_cache_references
2017-01-02 13:45:16 -05:00
arvidn
a087a283de
make tests print to stdout instead of stderr
2017-01-02 11:28:41 -05:00
arvidn
e99d907c72
fix assert
2017-01-02 00:01:43 -05:00
arvidn
4ebc344e48
make disk_io_thread responsible for the storage object. torrents refer to it by index
2017-01-01 13:54:39 -05:00
arvidn
6cfcf45214
fix test output redirection on windows
2017-01-01 13:54:39 -05:00
arvidn
9007c8333f
merge RC_1_1 into master
2017-01-01 11:08:57 -05:00
arvidn
1600d4dca5
clean up file pool a bit
2017-01-01 09:56:50 -05:00