Commit Graph

8355 Commits

Author SHA1 Message Date
Arvid Norberg 9e51700739 Merge pull request #325 from arvidn/set_web_seeds
add set_web_seeds to torrent_info
2015-12-13 11:24:59 -05:00
arvidn 8416bcdd10 web_seed_entry needs to be exported 2015-12-12 21:46:05 -05:00
Arvid Norberg ecdd446ef4 Merge pull request #324 from voyageur/update-python-m4
Update python m4 macro
2015-12-12 18:39:17 -05:00
Arvid Norberg 7b40a7ebb9 Merge pull request #323 from arvidn/force-start-checking-fix
fix bug in handling force-started checking torrents
2015-12-12 18:38:07 -05:00
arvidn 121b686a39 add set_web_seeds to torrent_info 2015-12-12 18:36:15 -05:00
Bernard Cafarelli e92aaaeb22 Update python m4 macro
This fixes python 3 with additional library suffix detection
(for example: libpython3.4m.so)

Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=567944
2015-12-12 22:25:18 +01:00
arvidn 0f9d82ab22 fix bug in handling force-started checking torrents 2015-12-12 15:08:38 -05:00
Arvid Norberg 550b0bb047 Merge pull request #313 from arvidn/setup-swarm-cleanup
clean up setup-swarm simulation utility to be more flexible
2015-12-12 14:07:26 -05:00
Arvid Norberg 3a9e397bf6 Merge pull request #321 from arvidn/bdecode-fix
fix assert in bdecode assert
2015-12-12 10:53:14 -05:00
Arvid Norberg b0e56f0ec8 Merge pull request #322 from arvidn/gcc-warnings
fix gcc warnings
2015-12-12 09:05:56 -05:00
arvidn d505f93d7a port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
arvidn 1f453bf159 clean up setup-swarm simulation utility to be more flexible to make it easier to add new tests. remove swarm_suite layer as it's not necessary anymore 2015-12-12 00:41:40 -05:00
arvidn 54bf83739d fix assert in bdecode assert for strings with prefixes of 6 or more digits 2015-12-12 00:19:13 -05:00
arvidn d80a129871 fix gcc warnings 2015-12-12 07:15:24 +02:00
Arvid Norberg 5187b4279d Merge pull request #318 from aldenml/doc-typos
A few documentation typos
2015-12-11 17:59:49 -05:00
Alden Torres e3fc859754 A few documentation typos. 2015-12-11 08:45:08 -05:00
Arvid Norberg c1cb1393fb Merge pull request #309 from arvidn/graceful-pause-fix
fix graceful pause issue.
2015-12-06 00:48:06 -05:00
arvidn 99eb440945 comment in test_swarm 2015-12-04 23:39:37 -05:00
arvidn cc3b064cff fix graceful pause issue. peers regularly check whether they should disconnect or not 2015-12-04 23:27:43 -05:00
Arvid Norberg 470e8dc20a Merge pull request #310 from aldenml/typos
A few typos in documentation
2015-12-04 19:08:10 -05:00
Alden Torres 1290bf5228 A few typos in documentation. 2015-12-04 18:15:11 -05:00
Arvid Norberg 523bc7576d Merge pull request #306 from aldenml/fix-log-alerts
Fix num_alert_types
2015-12-04 01:39:28 -05:00
Alden Torres 409cfaccc1 Fix num_alert_types. 2015-12-03 22:04:32 -05:00
Arvid Norberg da25832459 Merge pull request #308 from arvidn/msvc-build-fix
fix msvc build
2015-12-03 21:09:33 -05:00
Arvid Norberg 595125d27d Merge pull request #305 from correa/fix-cmake
Fix build with cmake under windows.
2015-12-03 19:32:17 -05:00
arvidn 98c9ac0448 fix msvc build 2015-12-03 19:28:57 -05:00
arvidn 69f4e94995 null_observer is used in a test now 2015-12-03 07:51:53 -05:00
Thiago A. Correa e9830cb7dd Fix build with cmake under windows.
Fix build with MSVC, let cmake manage boost selection settings.
2015-12-03 09:38:34 -02:00
arvidn 8732863a9a another fix to receiving malformed DHT error message 2015-12-03 01:08:27 -05:00
Arvid Norberg 8f0e61ed46 Merge pull request #304 from arvidn/rlimit-cleanup
clean up use of getrlimit()
2015-12-02 07:55:11 -05:00
arvidn 2acb3dcb24 clean up use of getrlimit() by wrapping it and move it to platform_util.cpp. Also take the opportunity to make it simulator friendly (consistent in simulation) 2015-12-02 00:45:34 -05:00
Arvid Norberg f7b84bf4da Merge pull request #303 from arvidn/dht-malformed-errors
correctly check incoming DHT error messages
2015-12-01 07:34:50 -05:00
arvidn 550d75dab9 fix warning 2015-11-30 22:59:34 -05:00
arvidn eb8add0e57 fix missing include 2015-11-30 22:26:10 -05:00
arvidn 12dde0f415 actually add a test to the unit test 2015-11-30 19:07:35 -05:00
arvidn 7540a6e5cc correctly check incoming DHT error messages 2015-11-30 18:02:00 -05:00
Arvid Norberg d0da753fb8 Merge pull request #302 from arvidn/fix-save-resume
fix save_resume_data in client_test
2015-11-30 17:17:57 -05:00
arvidn 60df41cd85 fix save_resume_data in client_test and make torrent a bit more instrumentable. This could be greatly simplified if resume data would not have file_sizes and timestamps 2015-11-29 20:31:57 -05:00
Arvid Norberg 2a1582c05b Merge pull request #301 from arvidn/final-alerts
make alert types declared final
2015-11-29 13:40:17 -05:00
arvidn 87b64f083a fix python build 2015-11-29 11:12:58 -05:00
arvidn 332799bff2 make alert types declared final and disable the log alert declarations when logging is disabled 2015-11-29 10:16:02 -05:00
Arvid Norberg 0ce46f0fd1 Merge pull request #300 from arvidn/picker-log
fix bug disabling rarest first piece picking
2015-11-29 10:15:17 -05:00
arvidn e9c0fc8eb5 fix bug that disabled rarest-first piece picking. introduced when removing speed-affinity in the piece picker 2015-11-29 08:26:00 -05:00
arvidn fd3b53604c add new piece picker logging alert category 2015-11-29 08:25:55 -05:00
Arvid Norberg 578349e1d2 Merge pull request #299 from arvidn/fix-torrent-invariants
torrent invariant failure
2015-11-28 16:47:56 -05:00
arvidn 2c3d7ee0ef fix a bug where the torrent's invariant was not always maintained as well as a shutdown issue (now covered by test as well) 2015-11-28 14:14:49 -05:00
Arvid Norberg 359fc5648b Merge pull request #296 from arvidn/udp-read-handler
more efficient handler allocation for udp and second_tick
2015-11-28 01:06:10 -05:00
Arvid Norberg 82b5ed0039 Merge pull request #298 from arvidn/test_transfer-sim
base for transitioning test_transfer to a proper sim
2015-11-28 01:01:26 -05:00
arvidn 7b84c8122e extend test_transfer to include IPv6-only networks 2015-11-28 01:00:06 -05:00
arvidn a8e31fd8ca add first coverage of test_transfer as a proper sim 2015-11-28 00:59:39 -05:00