Commit Graph

8162 Commits

Author SHA1 Message Date
Arvid Norberg 3e37785280 Merge pull request #152 from thomas-yuan/mutable-expiration
make immutable/mutable items lifetime configurable.
2015-09-21 20:20:53 -07:00
arvidn dc77da5630 fix build 2015-09-21 20:19:05 -07:00
Thomas Yuan 7fec9e488d make immutable/mutable items lifetime configurable. 2015-09-21 20:32:37 -04:00
arvidn e7a2bd8614 update libsimulator 2015-09-21 16:31:05 -07:00
Arvid Norberg 01193fcf7c Merge pull request #163 from aldenml/dht-storage-counters
Create dht_storage_counters to avoid internal counter in future public API
2015-09-21 13:51:39 -07:00
Arvid Norberg c80374e303 Merge pull request #170 from arvidn/active-time-fix
fix bug in time keeping of active_time, seeding_time, finished_time etc.
2015-09-21 07:06:42 -07:00
Alden Torres 25ed70b977 Create dht_storage_counters to avoid internal counter in future public API. 2015-09-21 07:46:23 -04:00
arvidn fb2f659a31 fix bug in time keeping of active_time, seeding_time, finished_time etc. 2015-09-21 00:38:56 -07:00
Arvid Norberg 2cf0349021 Merge pull request #172 from arvidn/msvc-14-fix
disable msvc-14
2015-09-21 00:36:54 -07:00
arvidn 67a33dd792 update libsimulator 2015-09-20 19:55:29 -07:00
arvidn 73d2b8dc89 more msvc-12 support, and build sim config first on appveyor 2015-09-20 19:31:04 -07:00
arvidn 7000576588 attempt msvc-12 support 2015-09-20 18:52:34 -07:00
arvidn 2e3876b287 just disable msvc-14 for now 2015-09-20 17:54:29 -07:00
Arvid Norberg 6bf1971452 Merge pull request #162 from thomas-yuan/bootstrap
Only re-bootstrap when there is no enough nodes in routing table.
2015-09-20 14:52:16 -04:00
Arvid Norberg 92d05d1085 Merge pull request #171 from arvidn/msvc-14-fix
msvc-14 fix
2015-09-20 14:34:30 -04:00
arvidn bd9f371517 avoid cmd.exe escaping issues by including the appveyor user-config.jam file in the repo 2015-09-20 13:54:50 -04:00
Arvid Norberg 5563be7e16 Merge pull request #168 from arvidn/msvc-14-fix
add ucrt include path to msvc-14
2015-09-20 13:43:00 -04:00
arvidn b3a9949b89 add ucrt include path to msvc-14 2015-09-20 13:37:23 -04:00
arvidn 372385bcb8 expose more of torrent_status in python binding 2015-09-19 14:39:36 -04:00
arvidn cf15453388 forward port auto-manage fix from RC_1_0 2015-09-19 02:10:50 -04:00
arvidn 2715ae475c expose whether torrents are announcing to trackers, lsd and dht. these can be disabled by the queuing logic 2015-09-19 01:54:47 -04:00
Arvid Norberg 0f241a0816 Merge pull request #165 from arvidn/header-cleanup
separate out announce_entry and torrent_status into their own headers
2015-09-18 19:22:13 -04:00
arvidn b628692223 separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
Arvid Norberg c54f8445bd Merge pull request #164 from thomas-yuan/alert_message
Fix dht_put_alert::message() for immutable items.
2015-09-17 18:25:17 -04:00
Thomas Yuan 20708fa5b6 Only re-bootstrap when there is no enough nodes in routing table. 2015-09-17 11:22:23 -04:00
Arvid Norberg d3d15297f5 Merge pull request #149 from arvidn/tracker_simulation
add simulation of tracker announces
2015-09-16 23:04:50 -04:00
arvidn c9a0212ee0 add simulation of tracker announces 2015-09-16 20:49:10 -04:00
Arvid Norberg 1fd35c01ad Merge pull request #123 from aldenml/dht-storage
Implementing dht storage interface.
2015-09-16 20:27:34 -04:00
arvidn c97bf4a0f4 travis script polishing 2015-09-16 20:26:13 -04:00
Thomas Yuan 1fac816d37 Fix dht_put_alert::message() for immutable items. 2015-09-16 15:21:05 -04:00
Alden Torres e2d682275a Implementing and using new dht storage interface 2015-09-16 08:30:27 -04:00
Arvid Norberg 4b27ad80b8 Merge pull request #159 from arvidn/msvc-14-fix
attempt to fix msvc-14 build on appveyor
2015-09-15 08:08:51 -04:00
arvidn 28ffc6969a revert appveyor build image 2015-09-15 08:08:00 -04:00
arvidn 5e3d0dcbb9 update libsimulator submodule 2015-09-12 13:45:35 -04:00
arvidn 81399fb14e remove parse_hash_fails from tools directory 2015-09-12 09:59:37 -04:00
Arvid Norberg d00e47954e Merge pull request #156 from arvidn/simplify-appveyor
remove one appveyor build configuration and simplify the script a bit
2015-09-12 09:22:05 -04:00
arvidn bdb2801c10 fix typos in appveyor.yml. attempt to cut down build times 2015-09-11 23:13:27 -04:00
arvidn e2f4cc131d remove one appveyor build configuration and simplify the script a bit 2015-09-11 22:05:58 -04:00
Arvid Norberg dc91e7f507 Merge pull request #154 from thomas-yuan/counter
Fix dht counters.
2015-09-11 21:45:39 -04:00
Thomas Yuan c0d20d7708 Fix dht counters. 2015-09-11 13:58:33 -04:00
Arvid Norberg 4fd56fd220 Merge pull request #145 from arvidn/super-seeding-fix2
fix super seeding assert (forward port from RC_1_0)
2015-09-10 20:13:14 -04:00
Arvid Norberg f847104252 Merge pull request #153 from thomas-yuan/bug_fix
Fix routing_table bucket_size(int bucket) out_of_range logic error.
2015-09-10 19:53:21 -04:00
Thomas Yuan bee620b4f1 Fix routing_table bucket_size(int bucket) out_of_range logic error. 2015-09-10 17:19:00 -04:00
Arvid Norberg 8b6b8240c1 Merge pull request #144 from thomas-yuan/master
load_state should restart dht/proxy if there is dht state/proxy.
2015-09-10 00:13:07 -04:00
Arvid Norberg 4b36900e8b Merge pull request #148 from thomas-yuan/invalid_node_id_test
Add unit test for invalid node-id. (shouldn't be added to routing table)
2015-09-10 00:12:13 -04:00
Arvid Norberg 7114648f33 Merge pull request #146 from arvidn/convert-from-native
correctly convert error messages from native to utf8
2015-09-10 00:09:37 -04:00
arvidn edc26cf90d update libsimulator 2015-09-10 00:08:39 -04:00
arvidn 9f4cfb6ac3 split up test_tracker unit tests 2015-09-09 23:54:43 -04:00
Thomas Yuan cfee70b350 unit test: a node with invalid node-id shouldn't be added to routing table. 2015-09-09 15:36:07 -04:00
Thomas Yuan a06a8fe19e load_state should restart dht/proxy if there is dht state/proxy. 2015-09-08 21:34:49 -04:00