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

Added a 'none' to represent no connection methods

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

fe56b6346963b3a8fbf3bf3d5e16a1e6023783b9 authored over 16 years ago
Updated

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

c58c0776012235033862245fa7288d74087dc341 authored over 16 years ago
More public -> internal

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

da4668488ad9d8a43016167c40cbbc341c88fe25 authored over 16 years ago
Fix build - There was a class missing from the last patch

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

846d7a259c08950206b24c402abf64eaf5b86c3c authored over 16 years ago
These shouldn't be public

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

ab0a69d906d48c0cf7e5a7a890bd17811446626d authored over 16 years ago
Updated the piece display to not refresh dozens of times a second. It now logs failed connection attempts aswell. Patch from karthik.

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

91daaa7d3aaaa7aa365d92ada65837eb4bae6228 authored over 16 years ago
Commit the new NUnit tests

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

d375634d2aa47510daed4bd322b42210f3bd1835 authored over 16 years ago
Add debug event - Fires when a connection attempt fails. Patch from karthik

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

ce76c1a3127b4766641d4de06bf9889a360ad8ce authored over 16 years ago
Fixed a bug in SocketListener and added NUnit tests

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

87abd5aeabca9cf52f0a1bdcfef2547a2321b501 authored over 16 years ago
Patch from karthik, should be passing the listener as the state.

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

846065d6d753d64d36cf53afa9fc3d43cfb87c22 authored over 16 years ago
Cosmetic changes - reordering methods/properties/members

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

c38092ecf4f9a52d08f1df641a6f044211bd1f32 authored over 16 years ago
Merge PeerId, PeerIdInternal and PeerConnectionBase.

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

f2d9e870d0ed995f42f8a53b1fb9d92f4579cdaf authored over 16 years ago
* MonoTorrent/MonoTorrent.Client/PeerConnections/TCPConnection.cs,

MonoTorrent/MonoTorrent.Client/PeerConnections/IPV6Connection.cs:
If the connection is incomi...

04b21f46de5d3792f7c6267e4574c31ad789a019 authored over 16 years ago
Make it easier for me to edit/update the docs

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

8b302b8a01cf6aed4273a4e67a676d151425041a authored over 16 years ago
Named it correctly

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

dc25bc8a1649a54daaa29909474136d7d53d65ae authored over 16 years ago
* SampleClient/Stats/DebugStatistics.cs: Shouldnt be here.

* MonoTorrent/AssemblyInfo.cs: Added missing 'InternalsVisibleTo'
attribute.

svn path=/trunk/b...

aa3265641721c2fe1ace985d26c27912ad63f6f5 authored over 16 years ago
Bumped version too

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

ffda35acabf1bf4c27b540465770f7aaf067d985 authored over 16 years ago
Updating the makefiles

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

5a9212b33357ddddb592349b121155093e7ae1b1 authored over 16 years ago
* SampleClient/SampleClient.csproj: Don't define 'STATS' as part of the

regular debug build.
* SampleClient/Utils.cs, SampleClient/main.cs,
SampleClient/Stats/PieceV...

31839e0f07e541c565fb7181d0b0eba71f379712 authored over 16 years ago
Patch from Karthik to update the stats display

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

9015899d7e5ac57ca5fcc96a9c4b26668e60fa94 authored over 16 years ago
Patch from Karthik updating the stats display. now has a view for the current pieces being requested.

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

f66b03244922f3336536443e7b1d4bc96d4b23ef authored over 16 years ago
When announcing, should use the port that is currently being listened on. Patch from Karthik.

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

9ad7ea7608a9e418307abae48a77b5db18b892b2 authored over 16 years ago
All socket IO is disconnected from the rest of the library. Fixed an issue in NetworkIO where it'd loop endlessly and suck up CPU time

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

fc3ddc8e652a21639d883987e609efd32c62ddad authored over 16 years ago
If ChangePort is called, a pending async request might try to complete on the new socket. Ensure that EndAccept is called on the correct socket.

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

7ed04c7aa52046879ec83338ebd913b38d515ce0 authored over 16 years ago
Queue the task unless you're already on the mainloop and using a blocking task

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

aef5b59732b5ade3af3f6a4c33a8d5030ec64697 authored over 16 years ago
Added some docs

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

d32c3a544153c191de83c8db185aa3389d5e29ec authored over 16 years ago
Committing skeleton docs

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

04c709cd27a34143fd926f8cc478274b86319b9e authored over 16 years ago
Only add the peer to the list if no exception is thrown

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

e1c15157c97fc60d03ac73c27fd79dc1e6373444 authored over 16 years ago
Track the estimated download rate of the remote peer by counting the number of received have messages. Patch from Karthik Kailash

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

31237bbf1356b9b05852ebb56b8f81fc1bd1a5cd authored over 16 years ago
If the speed limits are zero, then we should not skip the review

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

8dbe5a02aa5a9ca5fa5ebc572f46e2683b46aac6 authored over 16 years ago
Ensure requests time out after 60 seconds if they are unfulfilled.

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

2304db0988fce2ab0aa6baf9c65cbe2ba802ad84 authored over 16 years ago
Add a bunch of new tests

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

dca8041e26e00a923db2c15543fa43ec3fd79c09 authored over 16 years ago
Correct size generated for the number of pieces

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

e59bd2be872fa841b4db412d2384ad80b6bc756c authored over 16 years ago
Once the piece has been cancelled, can break out of the loop

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

4273ffe7c67ab4fa291f0f8824086c5a10e5b576 authored over 16 years ago
Only explicitly use up a fast piece if the client is choking us. Idea from Karthik Kailash and David Sanghera.

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

c0e1c5455c6470f75356b91b833f8a04161cab5d authored over 16 years ago
Added new debug display which records detailed information about peer communications. Conditionally compiled if the 'STATS' symbol is defined during compilation. Also adds part of the code needed for Bittyrant-like downloading. Patch from Karthik Kailash and David Sanghera.

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

3519777f42f465cb7e5ab4c9ee73e47c19146d7f authored over 16 years ago
Start coding some test for the picker before refactoring

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

7a24762b6b0c6b0512292e93f7f88cea1593a793 authored over 16 years ago
Allow the testing framework to access the internals. Much easier testing now :)

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

8b9fe96d00138fcbeba1372075f0547bf04a979e authored over 16 years ago
Add 'State' variable to the listener to allow detection if a port was not free. Add ability to change the port that is being used at runtime. Refactored the Listener class a tad.

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

b2948324cd9beaa84cf2b1ebe5fbc8fdfdcf8d08 authored over 16 years ago
Shouldn't be protected

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

6cf613400eaf15c451ae7bc2f1ada4517a58846a authored over 16 years ago
Mark the object as disposed before closing the socket. Cleanup the EndAccept method

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

6d1543924d7a64bfca93bbb7f08b352c4f9fbdce authored over 16 years ago
Dont require a specific version of nunit

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

4dfa269593bb10f0409b4371748b727ad1d54282 authored over 16 years ago
Switched the rest of the EncryptedSocket stuff to NetworkIO. Removed the Thread.Sleep in favour of a waithandle solution.

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

c2250b35aafc9d4a0ac00d8bbe132486dd51245c authored over 16 years ago
Encryption is now done explicitly. Consolidated the NetworkIO overloads.

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

77e6ddeef9befdca1614573c71af3e9cd4402f84 authored over 16 years ago
Add new overloads of Encrypt/Decrypt

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

18ebda40a82084680b5aeef6be39d000030bba1f authored over 16 years ago
Add comment to explain why lock is there

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

7522b4fd56fddad2697ed2562c563a1d2090fad0 authored over 16 years ago
Encryptor stuff uses the NetworkIO class now.

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

6527b8260c3ecc9b93c422477ec189d04858f65a authored over 16 years ago
When testing PeerB encryption, we need to prefer encrypted connections

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

f12eb0e41922e7d91ad60e1935868ba10b7bf606 authored over 16 years ago
Reenabled the Seeds and Leeches counts

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

ee483a1b996663474a4f9cb75c446cfef1beb51d authored over 16 years ago
Cosmetic

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

96e1e2f058aeb3d9cd7952914bbc2cab1beac8ac authored over 16 years ago
Correctly record downloaded bytes.

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

105a995d0b281084267917b409e43423fe96a8d3 authored over 16 years ago
Add property to return the textbytes in Hex form. Patch by Karthik Kailash.

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

918b6f9bbeccd4e9cbae01be7a769bc1caba7b31 authored over 16 years ago
Handle initiating and aborting connections in NetworkIO now.

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

423fb5054aa765a5c4c380e0e1a160799913f16c authored over 16 years ago
Removing more useless code

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

662b43478c3238993592cb9aeadc2fa0ff9b1898 authored over 16 years ago
Some cleanups on how peers are handled

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

2b46ec0458c2270623edb97400d4cf195afbb95b authored over 16 years ago
Compare the peerId first, then fall back to the Uri

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

7da98cd9dc2675e617ecc66f9ace966799f6e2f5 authored over 16 years ago
Propagate the disconnect reason properly.

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

c435a14edcb0a3b7bdf713a049ed95f44b9b4c54 authored over 16 years ago
Fix

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

9db8f36881efd7e55a6a2d68d35e2e8126214be4 authored over 16 years ago
FastResume isn't a setting, it's saved/loaded by usercode now.

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

54f7608617c38e93e3bd45ce2b21e310c7664566 authored over 16 years ago
Consolidate all peer lists to the Peers class

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

c53f413d1f8a8a11f217337c6ca70b6987a7e98f authored over 16 years ago
These don't need to be run in the main loop

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

99a50c6d34b24d71d6999b059a125b6f3be9af68 authored over 16 years ago
If a peer is disconnected, propagate the reason through the library. Patch from Karthik Kailash/David Sanghera

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

93fbab4b8bb19e92ab120162947dccda86028ea8 authored over 16 years ago
Keep track of how many pieces we receive off a peer. Patch from Karthik Kailash/David Sanghera

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

d42a6110db34edffa2f6332b82d08ddd12fa17ff authored over 16 years ago
Override ToString. Patch from Karthik Kailash/David Sanghera

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

d5aedcd8bdbaec246eac639ba81bee4407a1cca2 authored over 16 years ago
Make the Engine property public. Patch from Karthik Kailash/David Sanghera

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

0d77d5bff4a1615d175e0800af65caa7b9056328 authored over 16 years ago
Add event for torrent [un]register. Patch from Karthik Kailash/David Sanghera

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

7a7f1791efebad451c63915b333abd142a91d198 authored over 16 years ago
Remove

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

c29a181ef4056c24b18ffa36d961ab1bf9451763 authored over 16 years ago
Remove more junk properties

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

7657b4e3ec272c1baf4c4e7a81f2001974de4c43 authored over 16 years ago
Remove unused property

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

38d8ebf6588e0b608f4cdca8a278cdcade8bb211 authored over 16 years ago
Removing junk

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

038eb3b8534cdacfab049e8598e6d4c5e9a865f5 authored over 16 years ago
Removing unused code

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

8f0f46ee8c2768552ee143e656c76606a0125904 authored over 16 years ago
By default encryption is not preferred on outgoing connections. It will only be used if plaintext is disabled. Encryption will always be allowed for incoming connections.

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

64c06a2ca2c351f6f596d92ade5a1fb0a7d16f22 authored over 16 years ago
Added setting to indicate if encryption should be preferred if there is a choice

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

2eee51a67b18045fe5d8880539077231d6f8be3f authored over 16 years ago
Removed some more unnecessary locks

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

9f19aaf2f6c272d7e3fc3d5fcb60219399bc964f authored over 16 years ago
Remove the ITasks. Anonymous delegates are better/easier. Updated the threading to cope with this.

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

17cfa73d85fec5cafdd77bcf106905a64f3834f1 authored over 16 years ago
Only instantiate a waithandle when one is needed and close it afterwards

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

d99bf3e2e0db3f203e996fe93db3aec8f789baec authored over 16 years ago
Funnel onto the mainloop

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

c27e80f74f6d142a8febca373268f849034e9f8e authored over 16 years ago
Remove debug CWL

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

08bbc1a63e6ac24ebd173b2e515f990dba8c596d authored over 16 years ago
Switched peer messaging over to the mainloop

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

a297b0b00e7ce6445c669f1d80ed1a5576317cd6 authored over 16 years ago
Move the handling of tracker announces to the MainLoop

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

8640a115949b30c346fd0bc5393f50df3bb5d03f authored over 16 years ago
Move the messageloop over to the MainLoop

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

50fa01b56b5ed00efc5bbe99c4789fe9b92053a4 authored over 16 years ago
Remove locking which is now unneccessary with the mainloop

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

4f8725db0df9766151b03f6936e257dd80dfd7b6 authored over 16 years ago
More MainLoop stuff

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

00cb968e787904a5d2c374c961509c2643fc3038 authored over 16 years ago
Start of the big MainLoop refactoring

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

1d42d60112e3e95cbea46a894a7db3d8d46afb00 authored over 16 years ago
Removing useless property

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

f6e1966839c8da999e4fb4d6a134bc42918dda4a authored over 16 years ago
* SampleClient/SampleClient.csproj, MonoTorrent/Makefile.in,

MonoTorrent/MonoTorrent.Client/Managers/TrackerManager.cs,
MonoTorrent/MonoTorrent.Client/Man...

8e9afaab277b4e68d9991408625547b1fcc46e0c authored over 16 years ago
* MonoTorrent/MonoTorrent.Client/Encryption/IEncryption/RC4Header.cs,

MonoTorrent/MonoTorrent.Client/Encryption/EncryptionTypes.cs,
MonoTorrent/MonoTorrent.Client/...

013753920f47571ba9c7dcc9d5e8992de804fd9f authored over 16 years ago
Ensure that only connections which correspond to allowed encryption levels are allowed.

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

92d7ec709497fedbfa2b39d0016a77e5b0bfea4a authored over 16 years ago
If plaintext is disabled, then send RequireEncryption=1. Send SupportsEncryption=1 if encryption is actually allowed.

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

cc711d37860ece6dc5fb62df871a31db40e83a1f authored over 16 years ago
Committing peer exchange support. Patch by Olivier Dufour. Enabled by default.

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

435d18a8a15d4ee7850c4bfb97de9dacfdb4f6a0 authored over 16 years ago
Propagate the IAsyncResult

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

d242c91fb77b61acb08f433423833cb69f733ed3 authored over 16 years ago
If there's an unhandled exception, print the stacktrace to console

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

7e114a34b372b0fca903d2a21c7750fbf13460a0 authored over 16 years ago
store the paths to the files so that they aren't constantly re-created

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

513800f858c4780b00ba2f3caf0f46a1b0e6647a authored over 16 years ago
Ensure the bitfield is set to all zeros too

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

5c8ec8238d56f076d6ebeed80268f4c11af9bb91 authored over 16 years ago
* MonoTorrent/MonoTorrent.Client/Managers/TorrentManager.cs: When none

of the files exist on disk - fire the event saying all pieces
failed

svn path=/trunk/bitshar...

131d33e3fa5c11a3a7e1190bc20fa37eb0bc215a authored over 16 years ago
* MonoTorrent/MonoTorrent.csproj, MonoTorrent/Makefile.in,

MonoTorrent/Makefile.am: Fixed up the build

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

2624db17c28323a4dad7567d583b12174b7e48dd authored over 16 years ago
* MonoTorrent/MonoTorrent.Common/SpeedMonitor.cs: SpeedMonitor should

be public

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

6276060ac819f2349dea1a04caa5134a94990239 authored over 16 years ago
More renamings

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

b642dc07d3519b31477635aea9f09bb2fb1eee0e authored over 16 years ago
Moved the EncryptionTypes enum to the Encryption namespace. More renamings to reflect the new api

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

9ec7af62de08e1af4007513cfd33de4bf3216503 authored over 16 years ago
If the encrypted handshake fails - the remote peer mustn't support encryption. Remove encryption from the list of supported types

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

c158ede70f9da28abf0e50cedec49d2da557d400 authored over 16 years ago