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

Fix from roger zander: TorrentCreator specifies it needs read-only access for MD5 hashes. It can now MD5 hash read-only files correctly.

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

dc03f2b8ac6e4a2d4acbfb6f7cfc9c15e6801202 authored almost 17 years ago by Alan McGovern <[email protected]>
Cosmetic

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

f3bea192e074dbefcd95f98b1291e6476d5c2e7f authored almost 17 years ago by Alan McGovern <[email protected]>
Added code to detect seeds that we are not interested in and force AmInterested to true. Added clarification comment in AllocateSlots.

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

29fc3959fc4d04d7089d00d16fde48843f0f1cfd authored almost 17 years ago by ahenderson <ahenderson@localhost>
Added output to show how many active connections are up.

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

ede2ccf0d57bceb8660b251d21de7bcd9d9eb680 authored almost 17 years ago by Alan McGovern <[email protected]>
More peers related refactorings

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

fa0e0ec56cb1cee523c6e0563fe9e551858b3287 authored almost 17 years ago by Alan McGovern <[email protected]>
First section of the big peer refactoring

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

bca1efa91584c25e7cd551aa03959614baee2a14 authored almost 17 years ago by Alan McGovern <[email protected]>
if a socket returns 0 bytes it is an error condition.

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

f9dbc563ac00ce1a592365a3a747eb029b9c80fb authored almost 17 years ago by Alan McGovern <[email protected]>
Patch from calum: HashChecked variable set to true when a brand new torrent is started.

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

0450cf98eab4fd77a1e40428515975b9d876e190 authored almost 17 years ago by Alan McGovern <[email protected]>
That patch isn't complete - revert ;)

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

042c3843014ced0ab24b514f862a33390788789c authored almost 17 years ago by Alan McGovern <[email protected]>
Added IPAddress comparer for peers

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

277f00201cc53331cedda072e66e47e3f08e85a5 authored almost 17 years ago by Alan McGovern <[email protected]>
Made the hashcode slightly better by bitshifting the bytes.

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

ce88ec888fa2c2874071217d2ac25b779ba5fce3 authored almost 17 years ago by Alan McGovern <[email protected]>
* Common/TorrentWatchers/TorrentWatcherEventArgs.cs: Made the

constructor public.
* Client/Managers/ConnectionManager.cs,
Client/PeerConnections/TCPConnect...

c5ec29ceadf676b6ac753ee1336c1a3a9bffdda5 authored almost 17 years ago by Alan McGovern <[email protected]>
* Main.cs: Added comment

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

23d3b23205a32e175d21559904479f66772ee240 authored almost 17 years ago by Alan McGovern <[email protected]>
* Main.cs: Put in a fix for issues where the torrent watcher is firing

too early.

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

46452e56adcf290415ddf4183736751a97710cb5 authored almost 17 years ago by Alan McGovern <[email protected]>
Moved the Thread.Sleep() call to the correct loop.

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

9eb92ac7e3cb05bd44443ac91d0a4b1e81cceb41 authored almost 17 years ago by Alan McGovern <[email protected]>
Fixed tab/spaces to make consistant with rest of project.

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

d4a2f70d958b0a1bd960e646871db1dceddf0cc5 authored almost 17 years ago by Alan McGovern <[email protected]>
Fixed a few bugs introduced from my alterations to the ChokeUnchoke manager.

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

7ec2072d0e613dbf607bedcb136f4d65c493d5af authored almost 17 years ago by Alan McGovern <[email protected]>
print out the address that's being listened on

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

2d8553d85a62ea26058f1f4aef3039ccae5500f2 authored almost 17 years ago by Alan McGovern <[email protected]>
Print out more details by default

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

cd6b4d5dff8ee9d58250e3ab659a7cf48a76d6c2 authored almost 17 years ago by Alan McGovern <[email protected]>
Found bug in mono's IPAdress parsing. This should fix it.

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

d5a807a72b495cee26cb0274acc9c2bf79eddaf0 authored almost 17 years ago by Alan McGovern <[email protected]>
Overrode equals on the peerids.

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

2892999172f36de4e96c77152dc502e20c60df97 authored almost 17 years ago by Alan McGovern <[email protected]>
Removed stupid way of deciding when it's safe to disconnect a peer.

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

ba8673da13071e15421e023f080265a8c9af2464 authored almost 17 years ago by Alan McGovern <[email protected]>
Updated sample client

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

883352be7f4b310ef1b4ce8d3d6214fbd3bd1439 authored almost 17 years ago by Alan McGovern <[email protected]>
Temporary fix for bug when stopping the engine. Proper fix needs the new peer event code. moved locking outside of the Choke/Unchoke manager.

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

33298f81bff32513a61684300219f834a7f8a1d2 authored almost 17 years ago by Alan McGovern <[email protected]>
Bugfix: Should be comparing peers by IPAddress, not IPAddress + port.

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

cce241ed7e002412e0aad3525d2f34a1ee35f847 authored almost 17 years ago by Alan McGovern <[email protected]>
Cosmetic

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

a1dd9909b37ab2e0624e122f5ed8b127fd716944 authored almost 17 years ago by Alan McGovern <[email protected]>
If the elapsed time is very small, make it equal to 1. Fixes issues with reporting download speeds.

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

95358d3fcdfb4bc0302e8afb91b7b630e5e125ac authored almost 17 years ago by Alan McGovern <[email protected]>
Fixed compatibility issue

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

301f62dfdd9aa6b7d563d674d988e0e10b531884 authored almost 17 years ago by Alan McGovern <[email protected]>
Scraping works again

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

d72bee8701cdbcccb34e1701cae4598d1da802d8 authored almost 17 years ago by Alan McGovern <[email protected]>
Updated the makefiles

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

bb86731a7aa25b46fd3c1a2544bf7ccdf8f761b6 authored almost 17 years ago by Alan McGovern <[email protected]>
First section of initial refactor to make the Tracker code more extensible complete. Initial patch from Eric Butler.

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

cdaffecac8a8e519f922c2a02648a39e71c98e2f authored almost 17 years ago by Alan McGovern <[email protected]>
Added Peer.Decode(BEncodedString) and Peer.Decode(BEncodedList) to handle the decoding of peer details

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

aad1b952bc503bbd6a093b559f7b17cc8131ec35 authored almost 17 years ago by Alan McGovern <[email protected]>
Addlistener made public

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

3ff9785c4bf04c87bc067e5e3270c5b661a1fcd3 authored almost 17 years ago by Alan McGovern <[email protected]>
Overload of Torrent.Load which accepts a BEncodedDictionary made public

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

3425eb8d831908ff9f5cadad944c4c903faeeaf7 authored almost 17 years ago by Alan McGovern <[email protected]>
Enhancement: No longer spinning up an extra thread when doing a synchronous create. Patch from Eric Butler.

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

1597d5fdbe82d42a4b5c280fed65e3dde3ed2305 authored almost 17 years ago by Alan McGovern <[email protected]>
Fix for null ref when removing pending requests

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

81a637bda1e6d9ee5a62a8b61cbda5d208e27dad authored almost 17 years ago by Alan McGovern <[email protected]>
Implemented the amazing Choke/Unchoke manager. Patch from andy henderson

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

7bb145426da06aa5d682295ccea62285ffc34119 authored almost 17 years ago by Alan McGovern <[email protected]>
Cosmetic

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

dd3f12beda589d1e40a75a3f4c3c2c1c0f203f02 authored almost 17 years ago by Alan McGovern <[email protected]>
Feature: Implemented the 'key' property. This is used in some trackers as a kind of password.

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

10802c99ee86dc34c53a98c5b06d4f1e46bda9fb authored almost 17 years ago by Alan McGovern <[email protected]>
Cosmetic change

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

10e19452d621ab32c6948ebcdfbcc1830797ca1e authored almost 17 years ago by Alan McGovern <[email protected]>
Cosmetic - More consistant usage of PieceManager.IsInteresting(PeerIdInternal)

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

3942b558d5fac92957d928816c777b985c465aa0 authored almost 17 years ago by Alan McGovern <[email protected]>
Updated handling to make 100% sure that the IsSeeder status and AmInterested status are correctly set.

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

fff642b2471ea2a83ef79e871779833aec395b90 authored almost 17 years ago by Alan McGovern <[email protected]>
Cosmetic

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

6e9392f22593036890ad36c03616925b0bff837d authored almost 17 years ago by Alan McGovern <[email protected]>
Correctly setting seeds as having 'AmInterested = true;' when receiving a HaveAll message. Removed old variable from PeerConnectionBase

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

e69b65b3a766a5d242e72e79b985fe91675bcdcd authored almost 17 years ago by Alan McGovern <[email protected]>
Added sample implementation of ITrackable

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

40d30a15a7f3a9da728eb78dac5e74a15c4e8a29 authored almost 17 years ago by Alan McGovern <[email protected]>
Optimisation: Don't regenerate the announce data every time the peer updates

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

aa704aa9eee28f583d36015498e458dd020bd188 authored almost 17 years ago by Alan McGovern <[email protected]>
Only handling loading torrents (not unloading) for the moment.

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

275d042fa75198cbae9f9952bb7010bec130793b authored almost 17 years ago by Alan McGovern <[email protected]>
Commented out the 'LastAccess' bit because it's causing problems

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

b27761f06c3aeb33e0a2edd0f1481c6101d2f2a1 authored almost 17 years ago by Alan McGovern <[email protected]>
Sample client now uses the torrent folder watch again to load a whole directory of torrents

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

c979ed8d404c3df0020cbdc4bbf077dcb457f2fb authored almost 17 years ago by Alan McGovern <[email protected]>
Remove(Torrent) changed to Remove(ITrackable).

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

f1a3da88709b0647c0e7a0fd190a1e1a5d140cfd authored almost 17 years ago by Alan McGovern <[email protected]>
Added code so the tracker doesn't need 'Torrent' instances anymore, it needs a class inheriting from ITrackable. this allows for serious memory reductions when serving many torrents (savings become noticeable with 10+ torrents)

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

7e158a2c78209cfb0463c1e54f609ebfa4369314 authored almost 17 years ago by Alan McGovern <[email protected]>
Exposed the peers through a public property

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

1f062cab517909ac85259b0afa5d331fcb1abaef authored almost 17 years ago by Alan McGovern <[email protected]>
Big refactor of the Tracker code. A lot of code removed, some rewritten and some new features added. Refactor still not complete. Tracker should not be considered production ready yet.

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

3b2272e59b211459876c56cb156d9236e00eb043 authored almost 17 years ago by Alan McGovern <[email protected]>
Cosmetic changes

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

568408cdd548ccb9b19ef5fe1f1a058fcb25e12a authored about 17 years ago by Alan McGovern <[email protected]>
Fix to avoid loading incorrect fastresume data.

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

39ebd9fe6704ea6edf94119bfdc8d328117ac8cc authored about 17 years ago by Alan McGovern <[email protected]>
Added a property to gain easy access to the ClientEngine. Misc cosmetic changes.

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

92fe7388653d4f59016ba2026cebb75b638966fd authored about 17 years ago by Alan McGovern <[email protected]>
Fixed compile error

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

493b38dd222938f29980c5198f3c0685150de985 authored about 17 years ago by Alan McGovern <[email protected]>
Added XML comments

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

46f7732c8a5bd00aaf4f6ba6e72d760d3f74b64a authored about 17 years ago by Alan McGovern <[email protected]>
Added XML comments

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

20e2b2173423f784380d95cbcef93c743f487f67 authored about 17 years ago by Alan McGovern <[email protected]>
Added XML comments and fixed two minor issues with the way i was checking equality for byte[]

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

9b468c0a015e7f2ef8e915b010d0d04f8f5bbd8e authored about 17 years ago by Alan McGovern <[email protected]>
Added an index range check for GetHash(int index)

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

e607d628954d1094ff9a499aa804c9252dd7fb05 authored about 17 years ago by Alan McGovern <[email protected]>
Added XML comments and an extra overload of Torrent.Load

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

ce4755c1ec1ed91a900f01685ba899fc20a5bc15 authored about 17 years ago by Alan McGovern <[email protected]>
Cosmetic whitespace fixes

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

ae1a0e37f60f18303356101f284dd0de96052adc authored about 17 years ago by Alan McGovern <[email protected]>
If the tier contains no trackers, then don't add it.

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

107adfa85e6759d69bc2ec9307897e5052934389 authored about 17 years ago by Alan McGovern <[email protected]>
If the user tries to scrape on a tracker that doesn't support scrape, throw an exception

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

6ecf2be166c47b85a3c1b4fcd321d28c6b59b96d authored about 17 years ago by Alan McGovern <[email protected]>
Only scape if the current tracker supports scraping

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

68b9c4ed3133b10ebd9a61185742fdcd5ba4692a authored about 17 years ago by Alan McGovern <[email protected]>
cosmetic

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

8240d6d9d71c23487248ba7ee679c77bde949efe authored about 17 years ago by Alan McGovern <[email protected]>
Now offering Linear piece picking as a runtime changeable option in PieceManager. useful for streaming

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

50e23f0147546fbcaefebbda25394137a6c97ca8 authored about 17 years ago by Alan McGovern <[email protected]>
Bugfix: Synchronous creation now works. Features: Can now write the resulting .torrent to a stream, file, or return the raw Dictionary in both the synchronous and asynchronous case.

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

c86540ffead786c539874b72a94d4902ec9f5886 authored about 17 years ago by Alan McGovern <[email protected]>
Forcing a hashcheck updates StarTime

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

046cc5b87c0c61f8e42391a0a518d8aab57110f9 authored about 17 years ago by Alan McGovern <[email protected]>
Patch from buchan for tryload methods

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

46e95656aaa7e1c538e0427446b42c3e005eb516 authored about 17 years ago by Alan McGovern <[email protected]>
Bugfix: Hash check != hash pass

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

320746d2a029844704b9dcb96381db81ce88199e authored about 17 years ago by Alan McGovern <[email protected]>
Initial refactor for the ConnectionListener code to allow for multiple listeners.

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

6cb1907a2feebeea06dbd5dc056bf14209851b12 authored about 17 years ago by Alan McGovern <[email protected]>
Now properly recording the piece hash passes/failures for all peers who help download a piece.

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

7fc339e766e4a8603a5b33feb290f6c3260cd5c6 authored about 17 years ago by Alan McGovern <[email protected]>
Cosmetic changes

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

56e5530e84a5a6072523b329c6c565a5c650dfaa authored about 17 years ago by Alan McGovern <[email protected]>
Fixed a bug whereby we could request a piece we already had when requesting a FastPiece.

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

dd50920e71e94d751d005dae4a892afac41f5ea0 authored about 17 years ago by Alan McGovern <[email protected]>
Cosmetic

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

700dc9db2e2e650e8b36611b9a6d9ef36f163e61 authored about 17 years ago by Alan McGovern <[email protected]>
Cosmetic

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

3cdba2920f1b63b78aa89c018811dba1903100c2 authored about 17 years ago by Alan McGovern <[email protected]>
Added additional check to make sure id.peer.IsSeeder doesn't get out of sync with what the peer is reporting

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

6a1bd4c6dbc2bd19f9f86a030180e69d8d5f85e6 authored about 17 years ago by Alan McGovern <[email protected]>
(Probably) fixed a few more race conditions.

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

30f637944ffd8022fcae38aa77656932161f5257 authored about 17 years ago by Alan McGovern <[email protected]>
Fixed race condition on EndCreate

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

c7b8e11bf07caf9e77f4fead797f0cec15635d23 authored about 17 years ago by Alan McGovern <[email protected]>
Rename the client to not conflict iwth the library name

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

dac2e2520e8960577852bfecf15d81965a6c2864 authored about 17 years ago by Miguel de Icaza <[email protected]>
Added missing file

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

ebf589bf1eada7504617187115f52879ab6cf17c authored about 17 years ago by Alan McGovern <[email protected]>
Can now .Stop() a torrent while it is hashing

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

fb5761dd9c4af6ce8716161d4a32424fd08c5787 authored about 17 years ago by Alan McGovern <[email protected]>
Helper method to allow the copying of another set of settings.

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

86df833b5343555b4ed833f5aeb85093104de799 authored about 17 years ago by Alan McGovern <[email protected]>
Added a reference to the TorrentManager to all eventargs

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

7aa10582d153b52bb36f1e74b096c9ff0c4b5a68 authored about 17 years ago by Alan McGovern <[email protected]>
Only save new fast resume data if the files were actually hashed. Only open the file streams if we need to actually hash the files.

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

99d044ac997c0c1b269ecd0dcac293005a2b50bd authored about 17 years ago by Alan McGovern <[email protected]>
Updated makefile

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

6e852dbf808505e6834e959b5ffce8827f871ed2 authored about 17 years ago by Alan McGovern <[email protected]>
updated prebuild.xml

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

678bada9032b9c46a2bdb8480c514b1b533da8fc authored about 17 years ago by Alan McGovern <[email protected]>
Cosmetic

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

91f822ed041a51190572346e6261cb4b61e0d541 authored about 17 years ago by Alan McGovern <[email protected]>
Return null when the operation has been aborted

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

d92c4805808c23b942fd6267e4411278d0f1be89 authored about 17 years ago by Alan McGovern <[email protected]>
Added using statement

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

de34fe14d80793413b56cd5b55da9b53baa92584 authored about 17 years ago by Alan McGovern <[email protected]>
cosmetic

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

c8c9e17ad8975e68d19e11dd05d5d8f8b2be0adb authored about 17 years ago by Alan McGovern <[email protected]>
added new file

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

614746ef7c37eb6ef86f46dde90e33554155e83f authored about 17 years ago by Alan McGovern <[email protected]>
cosmetic changes

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

534ab6076244baa7b282c8a82cf3f5fd97975ea7 authored about 17 years ago by Alan McGovern <[email protected]>
It'll never be synchronous

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

3babb60bd2cf939cc6751d92dc3bf36ff6b75cb6 authored about 17 years ago by Alan McGovern <[email protected]>
Implemented per-file stats

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

1b1bb561d4c3386febed15aa6627c239ddd5ea35 authored about 17 years ago by Alan McGovern <[email protected]>
Enabled aborting

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

25070385ed481f42e0b6b25310dcbbde1bb9f9f3 authored about 17 years ago by Alan McGovern <[email protected]>
Implemented initial version of the async methods for creating torrents

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

6b7c64bf41c15b082221529faa5f3ac406d63015 authored about 17 years ago by Alan McGovern <[email protected]>
Patch from buchan

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

959b564f8a61e66f220dab39813d76f591338c15 authored about 17 years ago by Alan McGovern <[email protected]>