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

Enabled fast-resume data saving in the sample client and added output on the waithandles

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

87b5f5ab0b91360e66593903ac78bd67bf57ab6e authored over 16 years ago by Alan McGovern <[email protected]>
Added ability to detect which waithandle is not triggered.

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

5ce94561f2eaafb22eacde5e1930020aecdaa0c4 authored over 16 years ago by Alan McGovern <[email protected]>
If length is divisible by 8, there are no extra bits to check

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

23fadc0b8afed8215083df9b9401f67b842adfac authored over 16 years ago by Alan McGovern <[email protected]>
If the Connection is null, bail out. It means the peer is uncontactable

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

0ba698fcd2e88e259ff65c44ef0fd72c75407c30 authored over 16 years ago by Alan McGovern <[email protected]>
If we can't create an IConnection - return null

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

426d540dc941a3880e18cb48ad0275d9ef1444ab authored over 16 years ago by Alan McGovern <[email protected]>
Added missing try/catch - fixes crash

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

384c43f39a2479d2b94c3fddd3822589878a129c authored over 16 years ago by Alan McGovern <[email protected]>
Re-enabled the optimised IO code along with the fix to prevent deadlocks

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

cf281ee3fe23e96a67797d5f63cf8146af5181d3 authored over 16 years ago by Alan McGovern <[email protected]>
Cleaned up the sample client to make it a tad more useful

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

86a5eff3f2949b5d78eb6d2eca348c8d6fbd74fa authored over 16 years ago by Alan McGovern <[email protected]>
Added comments

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

132edcb43476b047647ef4e9a85cb11d51f7c5aa authored over 16 years ago by Alan McGovern <[email protected]>
Bugfix - ensure that a tracker announce will not be triggered while a torrent is in the Hashing state.

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

4c59b4c4b369696991dc984511f01f928e5be7b5 authored over 16 years ago by Alan McGovern <[email protected]>
If the global limits are enabled - a global ratelimiter is used rather than local rate limiters. This gives more accurate rate limiting

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

3b634dcc21c74e512255e5991a6835b65f0e3318 authored over 16 years ago by Alan McGovern <[email protected]>
Tidied up the RateLimiting a bit more.

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

b66c3a738e819d7a37e7386c42f363e50d516365 authored over 16 years ago by Alan McGovern <[email protected]>
Tweaked the RateLimiter a little to remove magic numbers in other parts of code

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

42d4f752ad9f2ca32e71b70e0bbc9b560503dcc0 authored over 16 years ago by Alan McGovern <[email protected]>
Cleaned up the PerformHashCheck method a bit

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

e12f2a56729da47006b8c2f832da0017c2b2baea authored over 16 years ago by Alan McGovern <[email protected]>
Attempt to prevent massive overshoots when speed oscillates

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

4fbfb859975faa9218b781b1fa1f6840cb9b67be authored over 16 years ago by Alan McGovern <[email protected]>
Correct detection of scrape requests

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

6c381cf2033d0e355fdfb66012b5d479e47a300a authored over 16 years ago by Alan McGovern <[email protected]>
Revert 98267 - It broke downloading

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

ca3c0459112a0edd6ea3ae6369b632e558c3b0ec authored over 16 years ago by Alan McGovern <[email protected]>
Added sanity checks to message encoding/decoding

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

8d3753bd330ce525035c5430e8986c04376501b8 authored over 16 years ago by Alan McGovern <[email protected]>
cosmetic

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

57cada848e5587750d7a6e11daf25d982d8e196e authored over 16 years ago by Alan McGovern <[email protected]>
Cosmetic

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

2d51e408e427f4e4b9346d10d84743b09b279499 authored over 16 years ago by Alan McGovern <[email protected]>
Updated tracker API to make it easier to scrape

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

003ff3ba951b5481d2e39aa058c59330f1daa2fc authored over 16 years ago by Alan McGovern <[email protected]>
20% faster hashing as reads are now asynchronous.

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

23c3290893632df2674744a32fc52e78b5a831b6 authored over 16 years ago by Alan McGovern <[email protected]>
If all data is read, break out of the loop

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

5315bc900bb80bfccd4debd6a2f06cc4d9151d5f authored over 16 years ago by Alan McGovern <[email protected]>
Goodbye remaining prebuild stuff - not needed anymore

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

755243ff1236cada0c6b93d2fd0cf50a57bc9816 authored over 16 years ago by Alan McGovern <[email protected]>
TODOs updated

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

6f633db690354a522c3a145d6af0cd0d559ac0fe authored over 16 years ago by Alan McGovern <[email protected]>
TrackerManager should register the basic tracker types

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

c523b3d92fad10f7b3f304191bb902b87aa374f9 authored over 16 years ago by Alan McGovern <[email protected]>
Implemented IPV6 support.

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

98627d8c7b27dc64c5a5894be923b11d64b4295c authored over 16 years ago by Alan McGovern <[email protected]>
Added additional test

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

4e1d98468eb2b66b7b50c962c8f76a912a96af24 authored over 16 years ago by Alan McGovern <[email protected]>
Users should only be registering messages as ExtendedMessages, not standard messages

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

43192931173f22459eeb20f35cfeef31e8eda876 authored over 16 years ago by Alan McGovern <[email protected]>
Rejigged the tests namespaces

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

3d2f244c71ee7c46fbc2b2db19adde8b34f99867 authored over 16 years ago by Alan McGovern <[email protected]>
First thing should be to set state to stopped...

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

9be51aa57d0bb8ed1306be77af5fe639c29746ad authored over 16 years ago by Alan McGovern <[email protected]>
Possible fix for ArgumentOutOfRangeException in TryConnect

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

c014323344ddff6e779fbe909e498609eb0aee0c authored over 16 years ago by Alan McGovern <[email protected]>
After disposing everything, clear the list

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

9741e5f0870b56a9a4138d4f9aa85416f90eafc4 authored over 16 years ago by Alan McGovern <[email protected]>
Overrode Dispose

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

c82998c35d2ea85589012f518efd78383b913451 authored over 16 years ago by Alan McGovern <[email protected]>
No need to flush here

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

727d89c83fcde4af87f96bf69c7cc08741f91102 authored over 16 years ago by Alan McGovern <[email protected]>
Simplified the flush logic in memorybuffer

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

bc644729b3e79e46a2ab858fe89ce6409e4d1655 authored over 16 years ago by Alan McGovern <[email protected]>
No need to flush after writing

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

5c8a5d9aa2f23b03f42189863778c2845bea2d70 authored over 16 years ago by Alan McGovern <[email protected]>
Implemented Smart Flushing - Flushes pieces out of memory when they are hashed

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

5e561466af71c0322990416d0bb04e513d34b8dd authored over 16 years ago by Alan McGovern <[email protected]>
Updated the NUnit tests so they pass

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

b3597eb57a3f87a94060d457bbde1d9c312ebbdf authored over 16 years ago by Alan McGovern <[email protected]>
Removed check on 'Count' which isn't needed

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

444d4365cb69e538274bf8c0837933a15baad4b2 authored over 16 years ago by Alan McGovern <[email protected]>
Updated the PieceWriter stuff. Simplified logic in MemoryWriter, this fixed several issues it had with reading buffered data

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

bb6220471c0a22ce7a11ab3e988aa371bfa46928 authored over 16 years ago by Alan McGovern <[email protected]>
Fixed issue when there are no trackers

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

3d07473a4e82fea4cf6135bdb538bb73ba3d2a5e authored over 16 years ago by Alan McGovern <[email protected]>
Commented out the code for Pressures - get the basics 100% tested first.

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

c8909f5736b8b01f45051595782bbed1eb367fa1 authored over 16 years ago by Alan McGovern <[email protected]>
Updated the logic in peerid

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

afdc4bca8aa35fa8501654f4f0a686f13ad3a722 authored over 16 years ago by Alan McGovern <[email protected]>
Threw in some extra error checking while i'm at it

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

f7f36a4e870525b24192eb96343916fc3ef8c13b authored over 16 years ago by Alan McGovern <[email protected]>
Fixes that null ref i introduced in the last commit. Doh!

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

d9bb3f7c525eb9c88a664332ec73cd87a1c986e9 authored over 16 years ago by Alan McGovern <[email protected]>
Possible fix for bug with speedmonitor

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

bb0332fa5a149fa06bf221c161b7b8c0ce3bc118 authored over 16 years ago by Alan McGovern <[email protected]>
Streams are identified purely by their path. Makes no sense to compare by TorrentFile

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

7d112a58faddff139db86a04ee4cb8b6056589a6 authored over 16 years ago by Alan McGovern <[email protected]>
Catch exceptions in the messagehandler to avoid bringing down the entire engine

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

2fc1f3ac3daa66695d24e7492d94534722d32a57 authored over 16 years ago by Alan McGovern <[email protected]>
Store a reference to the engine internally

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

817abaee58d44de58910454f5019553b3faa3556 authored over 16 years ago by Alan McGovern <[email protected]>
Filestream closing is now fully asynchronous.

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

12117cc87388fe6c87956be869c2628e4e69f527 authored over 16 years ago by Alan McGovern <[email protected]>
Bugfix: No matter what - we *have* to decrement the count.

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

01dfc7e3b5793a6a39a3c2681ccaecc13ec0bb4f authored over 16 years ago by Alan McGovern <[email protected]>
Ensure we don't move the files before the streams are closed

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

6cdda655f9dd1a7d0e1b6b58ea372bf773c7e0e3 authored over 16 years ago by Alan McGovern <[email protected]>
Add the standard locking around the Close method.

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

89a2b80a0e4d4824b328a39d894178889404af58 authored over 16 years ago by Alan McGovern <[email protected]>
If we're aborting hashing, we can return immediately.

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

6711958dc080c383cb8096a6f772aaedcb6819d7 authored over 16 years ago by Alan McGovern <[email protected]>
Fixed race condition when aborting hashing. That one was a *****.

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

6d12b65c5bd3232e9fdf7c5a2d8dee207897d4aa authored over 16 years ago by Alan McGovern <[email protected]>
Removed Reset. It adds race conditions and has no real benefits

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

bc5e1673ddc82a94ae57a22f972d1b0642c80906 authored over 16 years ago by Alan McGovern <[email protected]>
Commited the fix for download/upload speed calculation which i left out

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

5fba7142a2f46f68b43cf889490ad90a8dec58ac authored over 16 years ago by Alan McGovern <[email protected]>
Nuked some old comments and put additional checking in Tracker.(Un)Register

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

8782ec33130c8842ee75b437056fc106718da9d7 authored over 16 years ago by Alan McGovern <[email protected]>
Cosmetic

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

913f812e5c19385f4397066775c211e17165d67c authored over 16 years ago by Alan McGovern <[email protected]>
stopping a torrent while hashing uses the cool new ManagerWaitHandle code. It's now ultra safe.

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

7e9f8380e124a42aa6b643a9ea4a938eb422e7e7 authored over 16 years ago by Alan McGovern <[email protected]>
Workaround for issues with winforms and WaitHandle.WaitAll()

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

83a466689a80b60c8e333088194a368c9e300c34 authored over 16 years ago by Alan McGovern <[email protected]>
updated the project file

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

62e51672f4160f2371b4aa4bcecf115831acaa1b authored over 16 years ago by Alan McGovern <[email protected]>
Cleaned up the torrent creator to make the instance reusable

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

fb3c76a0044760d930cfaa55449ecc81bea7d650 authored over 16 years ago by Alan McGovern <[email protected]>
Refactored the Tracker stuff a little

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

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

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

d7e8988a617baede35591032fc3c8ed3dcc08083 authored over 16 years ago by Alan McGovern <[email protected]>
Made the classes internal

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

f7b964f28d1aff75935e62ccddf43dd3dcba0832 authored over 16 years ago by Alan McGovern <[email protected]>
No need to use Prebuild anymore as MonoDevelop can handle sln files.

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

bcab614bf11012b417e795f6018d544972e4d6be authored over 16 years ago by Alan McGovern <[email protected]>
Removed old folders

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

14b2b2fd622de3c4bfe236b4f01344da12245a2e authored over 16 years ago by Alan McGovern <[email protected]>
Added some checks on the parameters. removed junk comments

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

92f72e311d3603f638ca42cbbc22a8259774b642 authored over 16 years ago by Alan McGovern <[email protected]>
Added tests for when we have no AnnounceUrls specified

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

ec4c550f906a80dc496beed405ae597859e9bf67 authored over 16 years ago by Alan McGovern <[email protected]>
Only announce if we have a valid tracker

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

5c4c0d3ffe98749eba107901fca2be95a4d2cfc4 authored over 16 years ago by Alan McGovern <[email protected]>
Ensure that if we have no trackers, CurrentTracker doesn't throw a null ref

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

f107bd59e7d0b18d64d50914730fd35fa8d4f680 authored over 16 years ago by Alan McGovern <[email protected]>
Some cosmetic changes

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

21d2f0e92cac55278601c57b7c07c8eb80bfe314 authored over 16 years ago by Alan McGovern <[email protected]>
Cosmetic

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

6bb8f15c91723e7610f6df326f7d654a28b968f7 authored over 16 years ago by Alan McGovern <[email protected]>
Fixed the way WaitHandles are returned through torrentManager.Stop

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

65c6aad0de45d1b09d7b85bff70bd1376da1f29c authored over 16 years ago by Alan McGovern <[email protected]>
Added test to make sure unregistered manager doesn't nul ref when announcing

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

1498eb396e1e0c5533917ba92a52a286085343b1 authored over 16 years ago by Alan McGovern <[email protected]>
Bugfix: No more null ref when announcing with unregistered manager.

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

148bff017bd9b0b6c51f3623906d409adda4ec2c authored over 16 years ago by Alan McGovern <[email protected]>
Refactored the speed calculations into a single generic 'SpeedMonitor' class and changed everything to use it

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

df9952b4691938d1ee58ee2f23e46ccca6910a5b authored over 16 years ago by Alan McGovern <[email protected]>
Added ability to see how many announces or scrapes are received per second as well as total announces/requests received

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

cade0993ce8c43230a3f4013d5ffe9c380043292 authored over 16 years ago by Alan McGovern <[email protected]>
Commit updated tests

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

f430cceb0776337a9ccab37a89be9967296cda50 authored over 16 years ago by Alan McGovern <[email protected]>
Remove duplicate/unnecessary code

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

6e7e4666d0c6949970a0fcf06f4cdbef7184c462 authored over 16 years ago by Alan McGovern <[email protected]>
Commiting the changes from 96922 again. I had left out an array offset in FileManager.Read which screwed things up.

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

eaeb9701941180851b04785e038cd96cadf2a0aa authored over 16 years ago by Alan McGovern <[email protected]>
Missed from the last revert

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

1f5068764b257b20cd38c30ccfd24b785331909c authored over 16 years ago by Alan McGovern <[email protected]>
Reverting 96922 - Its causing a bizarre bugs

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

af447e37364cb84154b6165f23ec5c05d3a9d680 authored over 16 years ago by Alan McGovern <[email protected]>
Added the ability to compare Peers using a custom object as the key.

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

916a2a74a8ba71be70221749c3dc1c7920a70949 authored over 16 years ago by Alan McGovern <[email protected]>
Remove unused parameter

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

70904c4c5a371f15a76f2261405675c177acf2bc authored over 16 years ago by Alan McGovern <[email protected]>
bugfix test

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

b76e5b5d85dd6e74040c7c4b0093f40679ad1390 authored over 16 years ago by Alan McGovern <[email protected]>
Added ignores to tests

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

a0797bedc9c911af08c35ffc6d63ac43f49f28d9 authored over 16 years ago by Alan McGovern <[email protected]>
Bugfixed the test

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

6344a28f96181370bb99b5f7046363df5e11f433 authored over 16 years ago by Alan McGovern <[email protected]>
Add a default constructor

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

2b2a1280edd072973134aa47c46d0555b5ed2557 authored over 16 years ago by Alan McGovern <[email protected]>
Refactored the PieceWriter stuff to fully use the BufferedIo class. Refactored the BufferedIo class to be nicer to use

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

b5e3431fba534d670b213f41c89cb198ba38cdec authored over 16 years ago by Alan McGovern <[email protected]>
Register now checks to see if the engine 'Contains' the Torrent before allowing registration to succeed.

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

40ab0efd4cbe429d960b2f7a24c83c2d30bcc31e authored over 16 years ago by Alan McGovern <[email protected]>
Increase the default timeout to 5 seconds.

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

53de207348eb8004b2e7c6081e671a95b3e8fde3 authored over 16 years ago by Alan McGovern <[email protected]>
Cosmetic

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

09c70f981f70ac45263149cb638b9897d33fcd3a authored over 16 years ago by Alan McGovern <[email protected]>
Added some more tests to verify that filestreams are closed under all circumstances.

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

eef6f3e7a8a199564c02b4fb6842dae077724667 authored over 16 years ago by Alan McGovern <[email protected]>
Another possible fix for the open filestream issue.

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

8d854aae85b82efdc9a52b28078dc314dc89630c authored over 16 years ago by Alan McGovern <[email protected]>
Attempt to resolve issue where creating a new filestream throws an exception.

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

0b9a09cfacfccb8208f88c74a502cc1aa179b52a authored over 16 years ago by Alan McGovern <[email protected]>
Bugfix: Was iterating over the wrong collection when updating the statistics

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

964f5c45703585bd0b3a70bb6d67fc14985d7016 authored over 16 years ago by Alan McGovern <[email protected]>
Fixed wrong method call...

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

06f0a42196ba1e666859ab443ff2c4445c97d1e0 authored over 16 years ago by Alan McGovern <[email protected]>