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 try/catch so that if an exception occurs initiatiating the web request, it does not take down the engine.

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

9858612ddfcc0b976187bafdddaf3bffb790e70e authored over 16 years ago by Alan McGovern <[email protected]>
Prevent encrypted handshake errors from bringing down the engine. Instead return an EncryptionError

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

d430663d24a02f72c594dc2ba5fd2612f2b570b0 authored over 16 years ago by Alan McGovern <[email protected]>
* MonoTorrent.Client/PeerConnections/PeerId.cs: Expose the IConnection

through the PeerId so custom connections can match a PeerId to an
IConnection

svn path=/trun...

0c660dea1ffa8d23b8bc5772df0cbd667c534952 authored over 16 years ago by Alan McGovern <[email protected]>
Send a have message asap rather than buffering - aids other applications when reporting progress.

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

522c66229207b65a575fe7903d0ca185d8b8915d authored over 16 years ago by Alan McGovern <[email protected]>
Global upload/download speed limits should be working fine now...

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

229d7c67e2c7e591599cffc4e23ba86030d439dd authored over 16 years ago by Alan McGovern <[email protected]>
Instead of aborting on an invalid bitfield as the spec requires, we ignore it. Azureus is broken. it doesn't zero the upper bits.

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

8d08d80db683cadecf0d1cb91a09197dd81dbd57 authored over 16 years ago by Alan McGovern <[email protected]>
Free the buffer at this level.

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

e2df6a5aef6c589b971baa1adfbfdbd0fe9534b8 authored over 16 years ago by Alan McGovern <[email protected]>
Added method to calculate the recommended piece size.

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

497d027b4681ac9139840f960d60dd15b7b261fa authored over 16 years ago by Alan McGovern <[email protected]>
Fixed bug counting half open connections

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

7ff2b4494aa044087ef847c5bc485bc584230566 authored over 16 years ago by Alan McGovern <[email protected]>
Added a bunch of NUnit tests on the tracker.

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

b443072e3dd7aced94eb8298ce9e0841fe457015 authored over 16 years ago by Alan McGovern <[email protected]>
Added some extra helper methods to allow finding an individual item.

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

6f838c9bb8e77f53d916c4133032315bc6c5523d authored over 16 years ago by Alan McGovern <[email protected]>
Added missing property, fixed visibility issues

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

f3ba6b5f6a818975a61b7f0962e9b7e90827e475 authored over 16 years ago by Alan McGovern <[email protected]>
Fixed bug when announcing to an unregistered TorrentManager - Added NUnit test

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

1927291c677d1de34e449f33f41f0ee32c0c81bb authored over 16 years ago by Alan McGovern <[email protected]>
Correctly comment this out

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

f6b2c2e08affd2426341eca56b697b16efa0fc8a authored over 16 years ago by Alan McGovern <[email protected]>
Added NUnit tests for the ExtendedMessages. Fixed several bugs in the implementation as revealed by those tests.

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

2a214099a142191025ce8c017af92916ff4b7348 authored over 16 years ago by Alan McGovern <[email protected]>
Those methods should be public

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

de6732464a1d30ea618eb4e79e7b3c46c8ab8afc authored over 16 years ago by Alan McGovern <[email protected]>
Disable extended messaging pending complete NUnit testing

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

fbcf5eaa2597eadd82b0042e74e8121b5a9a94c7 authored over 16 years ago by Alan McGovern <[email protected]>
Added test to ensure that connections are closed if they don't match an active torrent (they do :) )

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

094c98ac768bb9c1f08ae1794369b8bda3d8e3fe authored over 16 years ago by Alan McGovern <[email protected]>
cosmetic

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

8bf65f8ca3458363642f6d942ecaa520f664135e authored over 16 years ago by Alan McGovern <[email protected]>
Give a better error message if we recieve a connection for a stopped torrent.

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

e5e88d8ea884dd985a412025007285234698384c authored over 16 years ago by Alan McGovern <[email protected]>
Message bundle might as well be public

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

9c9d5246d019d245166c79da1715c943f28fb532 authored over 16 years ago by Alan McGovern <[email protected]>
Moved torrent creator to use the Logger

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

1f8c4ffe3db1edcc7f72c671d7aec524d70d9a31 authored over 16 years ago by Alan McGovern <[email protected]>
Don't enable the experimental memory buffer by default

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

402f53a26c00a54ac19b102bc0bc5a206427a026 authored over 16 years ago by Alan McGovern <[email protected]>
Calculate the block index in a safer/faster way.

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

97cf68378655b3ea474f2d6e99148e3788817163 authored over 16 years ago by Alan McGovern <[email protected]>
Put tests in the right namespace

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

6add9c74d31f733220d66623529d7db91422f2e8 authored over 16 years ago by Alan McGovern <[email protected]>
Updated the NUnit tests for bitfield and slightly updated the bitfield class.

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

f6015822b78823d7d8caeaed24243526a1c6c251 authored over 16 years ago by Alan McGovern <[email protected]>
Default to 25kB/sec, not 25b/Sec

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

fa0cb4be015e83fc880e5d20bc2b5a02575be5e4 authored over 16 years ago by Alan McGovern <[email protected]>
Fixed off by one issue

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

45686c3b921593835f0838403cd7f6331554e8a3 authored over 16 years ago by Alan McGovern <[email protected]>
Implemented first section of code needed to implement intelligent memory buffering

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

4033b799af679b3281933b2cad1b3b3d6ab9c73d authored over 16 years ago by Alan McGovern <[email protected]>
Added null checks

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

856a35790f4a62feb9908a5f6888d6123e0ae53a authored over 16 years ago by Alan McGovern <[email protected]>
Cosmetics

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

c834d454166529a6cc8db8e94111a99c4b565b50 authored over 16 years ago by Alan McGovern <[email protected]>
Don't expose the peers list publicly, allow the user to get a copy of it though. Fixes possible threading issue

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

bc634f01cd70c90d7f7397e6619fb35725523330 authored over 16 years ago by Alan McGovern <[email protected]>
Fixed some visibility mistakes. Added fixes to ensure that an up-to-date list of peers is kept at all times for fulfilling peer requests

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

7377cc1a3939c0c0eda2e31556dfb25f5766794e authored over 16 years ago by Alan McGovern <[email protected]>
Added a new subclass of listenerbase, the ManualListener.

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

32f47db043a028c2e27d33e5bc8efae7b8caae89 authored over 16 years ago by Alan McGovern <[email protected]>
Renamespaced the listerers.

Added null checks for the public methods.
Added missing try/catch in HttpListener

svn path=/trun...

41450f6d3106a8507090f930241c359a180e989c authored over 16 years ago by Alan McGovern <[email protected]>
cosmetic

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

f9a07fc86a98790f7606c9b3556a2d8e0c7108ae authored over 16 years ago by Alan McGovern <[email protected]>
Everything is in bytes/second now... or should be anyway.

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

b0d2bf07a87e2b5ec383a76b39d57e27ae7fb08d authored over 16 years ago by Alan McGovern <[email protected]>
Cosmetic changes

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

4a0e3d565d996c41ef60e42459169ac1786c6f58 authored over 16 years ago by Alan McGovern <[email protected]>
Removed old fixmes

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

279e631d9f33f7ed0899d258d28a45685c05b0e0 authored over 16 years ago by Alan McGovern <[email protected]>
Updated the constructor logic

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

44ddef8ab9e5dda9706228e1e11a3f0fca1b4a0f authored over 16 years ago by Alan McGovern <[email protected]>
Dont reset PiecesSent to zero.

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

955c599ca44b3cad60472794ef2d43bcdc47a00e authored over 16 years ago by Alan McGovern <[email protected]>
Updated the sample

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

30b220d57862284e2db60c7064543072fe6d5087 authored over 16 years ago by Alan McGovern <[email protected]>
Minor API updates

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

ac51cf9dcee5e29cbf35afca720a3d3574b2da99 authored over 16 years ago by Alan McGovern <[email protected]>
Renamed the Intervals property.

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

4d6e2fab56e5b1ea3cdf2de17fbfce0dcae08c02 authored over 16 years ago by Alan McGovern <[email protected]>
Made the intervals publicly accessible/changeable

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

bb5be7e29e5e0922a0bbcdec42168a49e5eaed73 authored over 16 years ago by Alan McGovern <[email protected]>
Cosmetic changes to the Encode methods for consistency

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

102eacd3cc6bd0296ecd1cab12ffa8656d572f77 authored over 16 years ago by Alan McGovern <[email protected]>
Cosmetic changes

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

52f235b624e114013a3b000aaac586e19778acd0 authored over 16 years ago by Alan McGovern <[email protected]>
Fixed off-by-one error (only a cosmetic change)

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

9eeca51fd52b1cadab1a4b2b457a0255f23c70fc authored over 16 years ago by Alan McGovern <[email protected]>
Cosmetic changes

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

d2dbb62d3290632d97304422b0afbdf0e67ebcfe authored over 16 years ago by Alan McGovern <[email protected]>
Passing the TorrentManger in the delegate to allow for more advanced messages

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

423b30d401272094a784ee9170c48b60fe7cfdac authored over 16 years ago by Alan McGovern <[email protected]>
Whoops - Forgot to write the 'Register' method.

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

a3a8cd6ed6bec1f409c0de0e4ff2540aed636d79 authored over 16 years ago by Alan McGovern <[email protected]>
Added null checks

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

8e6d005e26d4ead264287a2f5fd1eba32b27ebe5 authored over 16 years ago by Alan McGovern <[email protected]>
Moved the extended messages to the new API too

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

8ee8a4ac8bcfc8d33050b316ef5e8b58d8f57681 authored over 16 years ago by Alan McGovern <[email protected]>
Updated the message code to allow decoding of user-created messages.

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

a6980e45974986f6c9d44a9d9e657a08d44befb4 authored over 16 years ago by Alan McGovern <[email protected]>
Updated the handshake message tests to use the new boolean for ExtendedMessaging. Updated the PieceMessage test so it passes. This uses the new PieceWriter code

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

61a6e32412a11e42b38ff7238025f278a7a57df4 authored over 16 years ago by Alan McGovern <[email protected]>
Added ability to specify a custom PieceWriter in ClientEngine constructor. Added extra boolean to show whether ExtendedMessaging is supported or not. HandshakeMessage uses this new boolean.

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

0be8d18b0305b6a969fd24eecbbd88d51c2ab1fd authored over 16 years ago by Alan McGovern <[email protected]>
Changed logic in .Equals to be better. Cosmetic changes to Encode/Decode

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

fa50bfc9608e646fa65975c0e9eddc17a632f6e6 authored over 16 years ago by Alan McGovern <[email protected]>
Implemented proper recording of Complete and Incomplete peers and implemented removal of zombie peers.

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

89daa60b95388eb443c92f5a96aa8211b4015b08 authored over 16 years ago by Alan McGovern <[email protected]>
Bugfix: the infohash needs to be urlencoded

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

7bbaebddb97be50d7189e8ccbfc059ff76f19d05 authored over 16 years ago by Alan McGovern <[email protected]>
Fixed a few bugs

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

1b68fe987a7c902066f79ea104bf1f502dd9a711 authored over 16 years ago by Alan McGovern <[email protected]>
Fixed several issues with the new memory buffer stuff. Updated the NUnit tests and enabled the memory buffer by default.

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

50a84fdfd5aade71bea87d3b2beabbcbd34f7a31 authored over 16 years ago by Alan McGovern <[email protected]>
Bugfix: make sure to set the filemanager in all cases

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

a066f2801d080da00a4d94d3c1453abe8d4dc59c authored over 16 years ago by Alan McGovern <[email protected]>
if already stopped, just return

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

80388ec84bbfbf15c7dbbbacea831d84cedb30a6 authored over 16 years ago by Alan McGovern <[email protected]>
Cleaned up the code a tad

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

d555917aeb5bba9ea7d87d770e67f98456e79e08 authored over 16 years ago by Alan McGovern <[email protected]>
Fixed the test.

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

3e6bd9f448132c79a587c31a70d4be2c21bae639 authored over 16 years ago by Alan McGovern <[email protected]>
Added tests for piecewriter

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

cacb85c492c89dbeca0718b09392123e57e9fa31 authored over 16 years ago by Alan McGovern <[email protected]>
Added locks where necessary

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

ca6faf3f1a80bb870c34bc9efbc2654dc90ae981 authored over 16 years ago by Alan McGovern <[email protected]>
Enhanced the TestRig

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

47a85467ad037b7488345df46aabb960ed5290b3 authored over 16 years ago by Alan McGovern <[email protected]>
NUnit test now compiles against head

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

646cbe5170067e9d6aee2084cf321b69427e9c5f authored over 16 years ago by Alan McGovern <[email protected]>
Added extra constructors to facilitate NUnit tests

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

86a1fbb9ba8c9fcda4ebf89b6c8e02c4981e380a authored over 16 years ago by Alan McGovern <[email protected]>
IPieceWriter should be public

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

507e470eb40cad9b6f3dfdcd91ff32426922b5e7 authored over 16 years ago by Alan McGovern <[email protected]>
Buffer 1MB by default. Made constructors public, fixed bug in writes

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

f03418911b1cd3cf9a66be45b8cf0a3acd86da7c authored over 16 years ago by Alan McGovern <[email protected]>
Missed out on one message when re-namespacing

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

263a002f53674934481892336b6de9ae4c8890eb authored over 16 years ago by Alan McGovern <[email protected]>
Refactored the way i keep track of the data for AsyncWrites. Much cleaner now.

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

f9356264d4352cdeb609106631556b065700e720 authored over 16 years ago by Alan McGovern <[email protected]>
The clone methods work correctly now

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

d020a2430160811ec5739a1eab69696e674307e0 authored over 16 years ago by Alan McGovern <[email protected]>
API Cleanup - the same reasons as for TorrentSettings

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

6fa11071ed29237203477d28f07633e2df232275 authored over 16 years ago by Alan McGovern <[email protected]>
Default constructor correctly sets default values. Changed ArgumentNullException -> ArgumentOutOfRangeException. That was a typo.

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

cd1291f3295b66ac822417757d3f5854a0ffa856 authored over 16 years ago by Alan McGovern <[email protected]>
Implemented memory buffer for disk writes - disabled by default. It's sweet as a nut.

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

a87f1cbc6897c8d83ed9a4978f1cb3870d66f7cc authored over 16 years ago by Alan McGovern <[email protected]>
fix compile

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

3a8ee823cfa4d365a76fee31f2faf4ce3a9e9704 authored over 16 years ago by Alan McGovern <[email protected]>
Begin the refactor to enable an in-memory buffer.

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

ac626ae2a3db885b11eaf388992220186ea64adb authored over 16 years ago by Alan McGovern <[email protected]>
Re-namespaced the messages

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

815fcbe3f157c716b9ca09e483376104204136c9 authored over 16 years ago by Alan McGovern <[email protected]>
Reorganised directory structure

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

22d7571ea7e7a7e12322d7581ea92450d4941259 authored over 16 years ago by Alan McGovern <[email protected]>
Reorganised directory structure

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

ebb36bde86b02c4af3aa828d5ce1ee06db312882 authored over 16 years ago by Alan McGovern <[email protected]>
Reorganised directory structure

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

c7f4b5adf87228b60c26aa847ba3f87d1c03b897 authored over 16 years ago by Alan McGovern <[email protected]>
Pre-allocate less buffers. Let them allocate as needed.

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

05c225999518b0985e60b2052767dd6610d1ff1c authored over 16 years ago by Alan McGovern <[email protected]>
Buffer have messages to send 16 at a time in a bundle. Maybe make this variable in the future?

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

5a3045e08f8da3bbc7709e6f1cc96c731c12708f authored over 16 years ago by Alan McGovern <[email protected]>
When i send a bundle, make sure that the MessageTransferred event doesn't reflect that i used a bundle.

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

f26d6373d1d8153ad9372bcc5cad9cc3d361cb6d authored over 16 years ago by Alan McGovern <[email protected]>
kill the excess constructor

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

17af033afb42d9a02ccf9e5225be95ad8ac7b4af authored over 16 years ago by Alan McGovern <[email protected]>
Added support for the libtorrent extended messaging protocol. Sweet

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

83e7994a1cff0b77e86585fd27c4dcc913af1f0b authored over 16 years ago by Alan McGovern <[email protected]>
Added 'MessageBundle' - It adds the ability to send multiple messages in one fell swoop without having to change any API!

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

56fd525cb7452bea5097644456532d3563430fe5 authored over 16 years ago by Alan McGovern <[email protected]>
The logger can throw a null ref under certain circumstances. Disabling for the moment!

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

777e9e227200adbd5b78b8c8c340d25e82a19cea authored over 16 years ago by Alan McGovern <[email protected]>
Added new fast resume code - not tested fully yet ;)

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

28bc15193f05b52a84215a8b50d0879f945ea433 authored over 16 years ago by Alan McGovern <[email protected]>
This class is unused...

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

d584f2b4de25c9103b909a511325150f0bbb4aa0 authored over 16 years ago by Alan McGovern <[email protected]>
Added helper method

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

531b7acf0679874748411b56b2111426409361b2 authored over 16 years ago by Alan McGovern <[email protected]>
Cosmetic

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

90ba7587ae225489ae6a1ad074feb4b17db98e6b authored over 16 years ago by Alan McGovern <[email protected]>
FileManager should check to make sure that fast resume support is allowed on the torrent manager.

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

655f42463c1405647ebc57ccf4f49c2a7fc2ea5d authored over 16 years ago by Alan McGovern <[email protected]>
TorrentManager should check to see if TorrentPath is null or empty before saving fast resume...

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

e6517dbedce76d15b601771352a02c9df86b3f2c authored over 16 years ago by Alan McGovern <[email protected]>
Added new tests

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

6e0904f44f520e5f5ae79e42f709db1c0d9c3f14 authored over 16 years ago by Alan McGovern <[email protected]>
Added Bitfield (bool[]) constructor.

Fixed bug in FromArray (found in Nunit test).

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

52749b73ddf59a46ac332e0c94d6323e16e6f661 authored over 16 years ago by Alan McGovern <[email protected]>
cosmetic

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

84b3d528633668a8bbc55ecf0fa51e8f30ed48b3 authored over 16 years ago by Alan McGovern <[email protected]>