Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/alanmcgovern/monotorrent

The official repository for MonoTorrent, a bittorrent library for .NET
https://github.com/alanmcgovern/monotorrent

Made SlidingWindowPickerTests.Setup reuse code from PiecePickerTests by making the original method virtual and calling it.

Added a couple of more tests.

Made new SWP property : MediumPrioritySetStart

svn path=/trunk/b...

90358907f5d2db20fb1d586deaf50c7cc47f54cf authored about 16 years ago by karthik <karthik@localhost>
Removed unused helper method from SlidingWindowPicker

Made PiecePickerTests extendable, added SlidingWindowPickerTests class that extends it. For now,...

8785c7f51171fe02cfc4e843ac218553726d28b8 authored about 16 years ago by karthik <karthik@localhost>
Bugfix - TimerDispatcher should continue if the task is supposed to be repeated.

svn path=/trunk/bitsharp/; revision=109422

396bc7767b6a19e8e2ea9b0f779656a77b8addbc authored about 16 years ago by Alan McGovern <[email protected]>
Added more NUnit tests for the tasks. Fixed several issues that i came across. Merge of local changes with svn head completed.

svn path=/trunk/bitsharp/; revision=109421

5a73460f40eb21fa19eda09b357fce1288f81adb authored about 16 years ago by Alan McGovern <[email protected]>
Fix whitespace

svn path=/trunk/bitsharp/; revision=109413

99c5b77dc66a603df29ed6e7820e8f43c0a66180 authored about 16 years ago by Alan McGovern <[email protected]>
Ensure the timeout tasks are always run on the mainloop

svn path=/trunk/bitsharp/; revision=109412

b921caf35840e6039982f8175444a99ac949e90e authored about 16 years ago by Alan McGovern <[email protected]>
Added more NUnit tests, updated existing NUnit tests, fixed several issues found by those NUnit tests. Merged all my local changes to svn head. Created/updated some of the Tasks.

svn path=/trunk/bitsharp/; revision=109411

e89e576190e7bbee01eb971a87fe6de93c0eface authored about 16 years ago by Alan McGovern <[email protected]>
Bugfix: Stopped "announce-list" code from re-instantiating the announceUrls object, which causes the announce url imported from the "announce" field to be lost. announceUrls is already instantiated in the constructor.

Made Torrent class extendable by having default constructor being protected, and moving Load() l...

25266e5721aae18c93987f11547863e7bd0a0518 authored about 16 years ago by karthik <karthik@localhost>
fix solution!

svn path=/trunk/bitsharp/; revision=109186

fef7e982e39784a43bbc149d5b43c0bfa93bd23c authored about 16 years ago by Olivier Dufour <[email protected]>
Revert the add of engine in rountingTable.Add and change return type to

bool to used it outside of routingTable
Improve message task to use event and not direct call
Add...

36872c0f04054f38ab2eb6c3d9f0b8ad309a03c8 authored about 16 years ago by Olivier Dufour <[email protected]>
Fix space tabs

svn path=/trunk/bitsharp/; revision=109110

22d96e12d890e2a23b8d4946fb1245f40eecee8a authored about 16 years ago by Olivier Dufour <[email protected]>
Change Handle/timeout to avoid FindNode 2 times

Modify Task init to respect spec
Add IMessageTask for task who want to follow message

svn path=/...

5eceb8f81005a7a07a49bef0c94a8bbe228b00e3 authored about 16 years ago by Olivier Dufour <[email protected]>
Committing the new Task system to simplify Initialising the engine, finding peers for a torrent etc.

svn path=/trunk/bitsharp/; revision=108843

ac1727435c5bfb25b426c60175346cbcd8a3e7ee authored about 16 years ago by Alan McGovern <[email protected]>
Switched the PeerExchangeManager and ClientEngine to the TimerDispatcher

svn path=/trunk/bitsharp/; revision=108369

5e7691c46e84f24ba9961fe80885e644383dec35 authored about 16 years ago by Alan McGovern <[email protected]>
Integrate the timerdispatcher into the mainloop

svn path=/trunk/bitsharp/; revision=108365

90ec41f105bc53097707ed2a991a92c6ae092ae0 authored about 16 years ago by Alan McGovern <[email protected]>
Add the SSDP TimerDispatcher class

svn path=/trunk/bitsharp/; revision=108364

da8ca4661f0d735bc4d6f14d55c18a84c24a2617 authored about 16 years ago by Alan McGovern <[email protected]>
Patch from Olivier to complete the Dht implementation some more.

svn path=/trunk/bitsharp/; revision=108354

0d664fcf729e69c03bcce613647753fcfa96fa75 authored about 16 years ago by Alan McGovern <[email protected]>
Remove flags attribute as its not needed

svn path=/trunk/bitsharp/; revision=108333

58b3ac0d979022e016c03c93397e8196c5697e09 authored about 16 years ago by Alan McGovern <[email protected]>
Bugfix - should be setting the value, not incrementing it

svn path=/trunk/bitsharp/; revision=108328

e62131821731cecfbf5170e9dce3c5f5d6cdcd5e authored over 16 years ago by Alan McGovern <[email protected]>
Fix bug spotted with Gendarme. Assign the value of 'successful'.

svn path=/trunk/bitsharp/; revision=108325

23ed8f563c9c7317524a15d2fc206c7aa01ae88c authored over 16 years ago by Alan McGovern <[email protected]>
Inherit from List<T> as opposed to IList<T>.

svn path=/trunk/bitsharp/; revision=108323

e2631e7b311af5c40a8eb13c2684f86114516928 authored over 16 years ago by Alan McGovern <[email protected]>
Bugfix for OpenConnections, now it won't display incorrect values.

svn path=/trunk/bitsharp/; revision=108113

4da95d15997374a25fb9abbc08893908641bae24 authored over 16 years ago by Alan McGovern <[email protected]>
Patch from Matthew Raymer to alphabetise the list of known clients.

svn path=/trunk/bitsharp/; revision=108112

812b107ea505241468fe84807f40b9869b5ddbd1 authored over 16 years ago by Alan McGovern <[email protected]>
Expose the current picker

svn path=/trunk/bitsharp/; revision=108111

e200747c03d38b9aef6b3f9b61ed740278f9ea08 authored over 16 years ago by Alan McGovern <[email protected]>
Use a new version of RangeCollection which can handle positive and negative integers

svn path=/trunk/bitsharp/; revision=108046

6eaf5467211e68eb0543721c2f1d59e3af182c56 authored over 16 years ago by Alan McGovern <[email protected]>
Replace my own RangeCollection class with the banshee RangeCollection class.

svn path=/trunk/bitsharp/; revision=108019

82ee6b77ff938cd7a2e8424465047db0c1f2172b authored over 16 years ago by Alan McGovern <[email protected]>
Added more tests and fixed a bug with removing an address from the range.

svn path=/trunk/bitsharp/; revision=107966

3ed178d369c2519e07f6114e680881767aa692f3 authored over 16 years ago by Alan McGovern <[email protected]>
Added a parser for ban lists which works for the Emule, PeerGuardian and SafePeer block lists. Added tests to ensure it works.

svn path=/trunk/bitsharp/; revision=107964

4e24dd3f4d1fbea9963de5b6f11607680ded7a68 authored over 16 years ago by Alan McGovern <[email protected]>
Implement peer banning better

svn path=/trunk/bitsharp/; revision=107946

0bf65f389fd0a2d8fbd4cac2e6b916363cd5b31b authored over 16 years ago by Alan McGovern <[email protected]>
Added ability to discard peers before they are connected to. This enables ipaddress filtering/banning

svn path=/trunk/bitsharp/; revision=107944

739401b35e551056eee2ea632d1d1866d60c3eca authored over 16 years ago by Alan McGovern <[email protected]>
Added ability to change the piece picker on the fly. Committed the Sliding Window picker written by David and Karthik.

svn path=/trunk/bitsharp/; revision=107937

c7a5d9672ec8a6e560744fbf61d8e462ac18f8f2 authored over 16 years ago by Alan McGovern <[email protected]>
Fix infinite recursion - Thank you NUnit

svn path=/trunk/bitsharp/; revision=107932

3e9b01f6a20b53b135fc7bab5098d2e8561eda99 authored over 16 years ago by Alan McGovern <[email protected]>
Fix bug in reporting total protocol bytes

svn path=/trunk/bitsharp/; revision=107930

eb2fd9e93536aa6ae80ad75589ac62dccc1cba7e authored over 16 years ago by Alan McGovern <[email protected]>
Only add at most 50 peers between added peers and dropped peers in a single message.

svn path=/trunk/bitsharp/; revision=107864

22f93a80a02a45f98c82dfbef0205c8899019e59 authored over 16 years ago by Alan McGovern <[email protected]>
Ensure OnTick happens on the main thread. Fix bug clearing out the list of dropped peers.

svn path=/trunk/bitsharp/; revision=107862

a5327e0da43b74084a595fe87f781220f5f1d1b5 authored over 16 years ago by Alan McGovern <[email protected]>
Committed a fix for url-list. It can be either a list or a plain string. Patch by karthik.

svn path=/trunk/bitsharp/; revision=107861

76db5cde5d9cf3cb6c084ac10b516e699c4b5ea6 authored over 16 years ago by Alan McGovern <[email protected]>
TransactionId's are automatically unregistered when the message is decoded, theres no need for an explicit call to it there.

svn path=/trunk/bitsharp/; revision=107857

55dc0ca1d2810ef1b518a369c47e07673d113683 authored over 16 years ago by Alan McGovern <[email protected]>
Add some more NodeId tests. Fix a broken message handling test.

svn path=/trunk/bitsharp/; revision=107856

d285475f115d1b87389c290ed0a72f4e67f06bb4 authored over 16 years ago by Alan McGovern <[email protected]>
Added tests for the Xor method and fixed bugs revealed by those tests.

svn path=/trunk/bitsharp/; revision=107851

f8bad8809152b4cfedbc7b6c5966927390a1aeda authored over 16 years ago by Alan McGovern <[email protected]>
Renamespace

svn path=/trunk/bitsharp/; revision=107850

5c66f15ab77a40d7029d89870260d462f4c23644 authored over 16 years ago by Alan McGovern <[email protected]>
Compile the tests as an exe as it's easier

svn path=/trunk/bitsharp/; revision=107849

b2d798f566c93526e880aaf1d890e99428cc6014 authored over 16 years ago by Alan McGovern <[email protected]>
Gave the TokenManager an adjustable timeout for testing purposes. Fixed bug in token verification - it should check if the secret needs refreshing before verifying a supplied token. Added NUnit tests to verify this behaviour. Test now passes.

svn path=/trunk/bitsharp/; revision=107848

e666443ae735eb0d0c5d9ab34925ec0cafc9aab2 authored over 16 years ago by Alan McGovern <[email protected]>
TokenGenerator now passes it's tests. Also fixed the timeout on refreshing the secret.

svn path=/trunk/bitsharp/; revision=107847

45b708f37459772cbc33d932a6d49ad2fabe7496 authored over 16 years ago by Alan McGovern <[email protected]>
maths overflow checking should not be enabled. Not sure how this was enabled...

svn path=/trunk/bitsharp/; revision=107845

b284310aa6920f12a678e3085e9435e4e8b0a6f2 authored over 16 years ago by Alan McGovern <[email protected]>
Patch from Olivier to improve handling of GetPeers, FindNode, error messages and the token stuff.

svn path=/trunk/bitsharp/; revision=107844

ddd5c45287f396ebeb34fe872c57cb07ab4009f8 authored over 16 years ago by Alan McGovern <[email protected]>
Patch from Matthew Raymer to recognise more peerid styles

svn path=/trunk/bitsharp/; revision=107821

be13b868b9b66dc464a02efc4f39e638df0cad20 authored over 16 years ago by Alan McGovern <[email protected]>
Patch from karthik which fixes a bug i introduced with my last refactor. NUnit tests pass again

svn path=/trunk/bitsharp/; revision=107781

073daf69c1bf7c55b511e0f179024da85ec91a30 authored over 16 years ago by Alan McGovern <[email protected]>
Add event for when peers are found. This commit and the last 2 commits were all from Olivier Defour

svn path=/trunk/bitsharp/; revision=107306

bbec5412b3dc645b4c190e13847c0532ac87f154 authored over 16 years ago by Alan McGovern <[email protected]>
When decoding a response, give access to the original Request aswell.

svn path=/trunk/bitsharp/; revision=107305

bd301f1c511dffc0ab606432ea14297301e72d6a authored over 16 years ago by Alan McGovern <[email protected]>
Rename Creator -> ResponseCreator. Add correct creation/checking of Tokens.

svn path=/trunk/bitsharp/; revision=107304

edc61bb888f9e650353138dd2cfc0d20becb784e authored over 16 years ago by Alan McGovern <[email protected]>
Added some more docs (with an example\!) and removed some XML comments

svn path=/trunk/bitsharp/; revision=107293

9cdca08e83e53b5cbcabbabbf41920c51bd88e31 authored over 16 years ago by Alan McGovern <[email protected]>
Remove xml comments now that they're in monodoc form

svn path=/trunk/bitsharp/; revision=107245

73ed6ed0b20ed5172bb476c6ef03924d1d67977c authored over 16 years ago by Alan McGovern <[email protected]>
Use the 'ref' overloads

svn path=/trunk/bitsharp/; revision=107244

d31d52f6dd1f23bbe0242ba2a757b8badd0a3c2f authored over 16 years ago by Alan McGovern <[email protected]>
Added ref overloads to the Read methods

svn path=/trunk/bitsharp/; revision=107243

1cab56a5fa28c1f8b582e2923652ca11b84c394c authored over 16 years ago by Alan McGovern <[email protected]>
Moved all slashdocs into monodoc format

svn path=/trunk/bitsharp/; revision=107240

0fe72a1e987ed925d76cfc4db47328fa71b8f192 authored over 16 years ago by Alan McGovern <[email protected]>
Fix roudtable getclosest and BigInteger Xor and add test on it!

svn path=/trunk/bitsharp/; revision=106726

a9e36c61a6e167d69089a5e696091cadcdc4a057 authored over 16 years ago by Olivier Dufour <[email protected]>
The UDP client will resolve the address if it needs to be resolved. Then store that ipendpoint locally.

svn path=/trunk/bitsharp/; revision=106480

00e5c141e7815b3ba340635711a071d133b1c280 authored over 16 years ago by Alan McGovern <[email protected]>
Big push - Fixing lots of small bugs with message handling.

svn path=/trunk/bitsharp/; revision=106463

9a3a181808ae99ac58fbc7c0e653acb2affaad33 authored over 16 years ago by Alan McGovern <[email protected]>
Use a static instance of MainLoop rather than making MainLoop a singleton

svn path=/trunk/bitsharp/; revision=106461

2d57dd2448586d2dee1f646402e1469dd9b0f4df authored over 16 years ago by Alan McGovern <[email protected]>
No need for an init method

svn path=/trunk/bitsharp/; revision=106445

96d2b60b48cf968f305e91e508f40709cbad3939 authored over 16 years ago by Alan McGovern <[email protected]>
Better decoding of the ipaddress - is this really the best way?

svn path=/trunk/bitsharp/; revision=106444

4bec590987e3ce3219e124321278ee54b7f2c24d authored over 16 years ago by Alan McGovern <[email protected]>
Unregister a message if it times out

svn path=/trunk/bitsharp/; revision=106443

206111279c64ce09ed53460df405e1ceff197592 authored over 16 years ago by Alan McGovern <[email protected]>
Should be public

svn path=/trunk/bitsharp/; revision=106441

5ce46c552b6b2ecbf284c692b7f2c57e057b9457 authored over 16 years ago by Alan McGovern <[email protected]>
Implemented getting a list of the closest nodes to a specific ID

svn path=/trunk/bitsharp/; revision=106440

98a4b25c6e330cd2ced618c2d23e29cdf0eb6278 authored over 16 years ago by Alan McGovern <[email protected]>
Added handling for these messages

svn path=/trunk/bitsharp/; revision=106439

e91f33e8697c014b22e9024dc0e6c6527a500c4d authored over 16 years ago by Alan McGovern <[email protected]>
Always add the TransactionId key

svn path=/trunk/bitsharp/; revision=106438

aa8e5d31a54974460559ee088dcd0297f4ed550a authored over 16 years ago by Alan McGovern <[email protected]>
If a query message is received from a node we're not tracking, add it to the table

svn path=/trunk/bitsharp/; revision=106437

67bb3f74ffbf86b109d515d00acaa5b3b8def731 authored over 16 years ago by Alan McGovern <[email protected]>
Ensure that either the Nodes key *or* Values key is added, but not both - as per spec.

svn path=/trunk/bitsharp/; revision=106435

17ce6849328340deba534ed1199e488216f06200 authored over 16 years ago by Alan McGovern <[email protected]>
Better handling

svn path=/trunk/bitsharp/; revision=106434

f9608568dd1dc2f6aa85b7e07d6be6f419ac3f2a authored over 16 years ago by Alan McGovern <[email protected]>
No special handling needed

svn path=/trunk/bitsharp/; revision=106433

32affc4b0cc9f52d60b91d27e8f3d6cb92d08976 authored over 16 years ago by Alan McGovern <[email protected]>
Implemented to/from compact node/port, equipped with tests.

svn path=/trunk/bitsharp/; revision=106396

4474650df471623ea0c01e9b3d76899fff5e1047 authored over 16 years ago by Alan McGovern <[email protected]>
Should be >=, not >

svn path=/trunk/bitsharp/; revision=106395

b3508930f17a9935d756662b6e3c5cfd0577f590 authored over 16 years ago by Alan McGovern <[email protected]>
Merge CompactIpPort with Node. Tests which ensure Queries time out are now passing.

svn path=/trunk/bitsharp/; revision=106394

726e945b62862c2ada9f23eb8ab01ceec7fd5ec2 authored over 16 years ago by Alan McGovern <[email protected]>
Automatically try to resend the message if it fails.

svn path=/trunk/bitsharp/; revision=106393

142c972be378dec4b2470c407df4820513d98af4 authored over 16 years ago by Alan McGovern <[email protected]>
Don't override TimedOut

svn path=/trunk/bitsharp/; revision=106392

6bb978b64e80364b59083f50c8e62ad626821ad6 authored over 16 years ago by Alan McGovern <[email protected]>
Added ability to timeout messages if a response is not received.

svn path=/trunk/bitsharp/; revision=106391

0f494226f8d3a702f848017b7a9546693cb946b8 authored over 16 years ago by Alan McGovern <[email protected]>
Ensure the local node is 'seen'

svn path=/trunk/bitsharp/; revision=106390

5cbf692e9199bbd90f5f763437f43328267a1c6a authored over 16 years ago by Alan McGovern <[email protected]>
Node state is correct as per specification

svn path=/trunk/bitsharp/; revision=106389

76c2088bf19cf5cbec3ef7225819082412a86046 authored over 16 years ago by Alan McGovern <[email protected]>
Implement TimedOut as a virtual method

svn path=/trunk/bitsharp/; revision=106388

b1a0c3b5519187f459b9dbb8bb47f67fb0eeeb97 authored over 16 years ago by Alan McGovern <[email protected]>
Added the two new NUnit test classes

svn path=/trunk/bitsharp/; revision=106387

987d43acb9be14daeb44f9148f60f6ce11f96046 authored over 16 years ago by Alan McGovern <[email protected]>
Added tests to handle timed out messages

svn path=/trunk/bitsharp/; revision=106386

8f581a05149b52e14a76bb44093ddca40f97faad authored over 16 years ago by Alan McGovern <[email protected]>
Add ability to have a settable timeout for messages. Needed only for NUnit tests. Not publicly settable.

svn path=/trunk/bitsharp/; revision=106385

50f0a631a164312fe5fce3b0d708df34df89268c authored over 16 years ago by Alan McGovern <[email protected]>
Only split the bucket if the new bucket can hold at least 'K' values

svn path=/trunk/bitsharp/; revision=106384

15f4a9a773fdf0c253ae6f4200dcb3495038f030 authored over 16 years ago by Alan McGovern <[email protected]>
Add byte[] constructor

svn path=/trunk/bitsharp/; revision=106383

54b1c1548b87ed3bc41bc2766c2ae40ff5dbd288 authored over 16 years ago by Alan McGovern <[email protected]>
Expose the replacement node too so it can be moved to a new bucket

svn path=/trunk/bitsharp/; revision=106382

cc997694e47d7ac642a8daef4340bd9262306662 authored over 16 years ago by Alan McGovern <[email protected]>
Updated

svn path=/trunk/bitsharp/; revision=106351

831ce8d9a31227d07048fd01eb6b21a0e76206d1 authored over 16 years ago by Alan McGovern <[email protected]>
Pushing the preliminary DHT work into SVN.

svn path=/trunk/bitsharp/; revision=106350

4da8d22b1663612b5e5a86c367bbd38dbbdee9a3 authored over 16 years ago by Alan McGovern <[email protected]>
Added ability to send a custom message to a peer.

svn path=/trunk/bitsharp/; revision=106349

f80bbcf1ac1fb57420188767d95c7798bfd17a82 authored over 16 years ago by Alan McGovern <[email protected]>
Patch from karthik: Ensure that all pending connection attempts are counted.

svn path=/trunk/bitsharp/; revision=106347

4dd8005d297c3b5bba95e1444ba60f066e15d779 authored over 16 years ago by Alan McGovern <[email protected]>
Update the debugger (patch from karthik)

svn path=/trunk/bitsharp/; revision=106346

ac1c0ed656abb526b3800abac5c5bc3dcfd2cfda authored over 16 years ago by Alan McGovern <[email protected]>
Added names to the threads to allow easier debugging

svn path=/trunk/bitsharp/; revision=106345

8e84f0bd830e347b719cb2a8afa46e1bb8e2535d authored over 16 years ago by Alan McGovern <[email protected]>
Lock on the right variable. Patch from karthik.

svn path=/trunk/bitsharp/; revision=106344

874c061bf8f08873ac383c62b8a2654445f8af94 authored over 16 years ago by Alan McGovern <[email protected]>
Proper fix...

svn path=/trunk/bitsharp/; revision=106340

c2205284f4325e6e9b602b9b635d2e7c4d8a7a02 authored over 16 years ago by Alan McGovern <[email protected]>
Bugfix from Karthik - This callback should be executed on the mainloop.

svn path=/trunk/bitsharp/; revision=106339

766594bd232297b7af92faf9a8b1713c4153721e authored over 16 years ago by Alan McGovern <[email protected]>
TestRig.cs: When the connection is incoming, the manager should be null. PeerIdInternal.cs: bitfield should only be set in the TorrentManager setter. Fixes bug revealed when NUnit test was fixed.

svn path=/trunk/bitsharp/; revision=106321

aafd3fe59252b3812453e9aefd3a73bfe75b55aa authored over 16 years ago by Alan McGovern <[email protected]>
Update the .csproj

svn path=/trunk/bitsharp/; revision=106268

8fdec57b6c7534bbf988dd09326fec12a36e4398 authored over 16 years ago by Alan McGovern <[email protected]>
Patch from karthik to enable logging of failed connection attempts

svn path=/trunk/bitsharp/; revision=106267

f93af7f4db00049e594b78c27e0c9bc2bdc9f97f authored over 16 years ago by Alan McGovern <[email protected]>
Sorted out the update and edit scripts

svn path=/trunk/bitsharp/; revision=106247

107d05e420577d4bc9753a7434538c7289165ee2 authored over 16 years ago by Alan McGovern <[email protected]>
Docs are outside the src tree now

svn path=/trunk/bitsharp/; revision=106246

86e8d52f87867f42b8e5739965eca93d6ff0d69d authored over 16 years ago by Alan McGovern <[email protected]>
Ensure the async task is only completed once

svn path=/trunk/bitsharp/; revision=106239

4965f2dfecfabbee50856782e5bfe2183f41a931 authored over 16 years ago by Alan McGovern <[email protected]>