Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 18, 2009
  1. @alanmcgovern

    Updated makefile

    alanmcgovern authored
    svn path=/branches/bitsharp-0.80/; revision=144329
Commits on Oct 11, 2009
  1. @alanmcgovern

    Backport: Attach/detach the DHT engine StateChanged handler whenever …

    alanmcgovern authored
    …a new engine is registered. Patch by olivier.
    
    svn path=/branches/bitsharp-0.80/; revision=143931
  2. @alanmcgovern

    Backport: Call 'Execute' on the InitialiseTask otherwise it won't run.

    alanmcgovern authored
    svn path=/branches/bitsharp-0.80/; revision=143930
  3. @alanmcgovern

    Backport: Announce to the tracker before switching to Downloading/See…

    alanmcgovern authored
    …ding mode, otherwise we can double announce.
    
    svn path=/branches/bitsharp-0.80/; revision=143929
  4. @alanmcgovern

    Backport: If an exception is thrown while closing the streams for a t…

    alanmcgovern authored
    …orrent, propagate it to the engine via the main loop.
    
    svn path=/branches/bitsharp-0.80/; revision=143928
  5. @alanmcgovern

    Backport: Use the correct string for the warning key for udp trackers…

    alanmcgovern authored
    …. (patch by olivier)
    
    svn path=/branches/bitsharp-0.80/; revision=143927
  6. @alanmcgovern

    Backport: Negative BEncodedNumbers should be decoded correctly now. P…

    alanmcgovern authored
    …reviously they could only be encoded.
    
    svn path=/branches/bitsharp-0.80/; revision=143926
  7. @alanmcgovern

    Backport: Correctly handle bitfields of length zero, though it should…

    alanmcgovern authored
    … never happen in real life.
    
    svn path=/branches/bitsharp-0.80/; revision=143925
  8. @alanmcgovern

    Fix a copy/paste typo - use the correct rate limiting group for limit…

    alanmcgovern authored
    …ing uploads. Thanks to PacerX.
    
    svn path=/branches/bitsharp-0.80/; revision=143924
  9. @alanmcgovern

    Backport: Fix a bug when announce url contain a param which end with …

    alanmcgovern authored
    …key=
    
    svn path=/branches/bitsharp-0.80/; revision=143923
  10. @alanmcgovern

    Backport: Only allow InitialSeedingMode to be activated if the engine…

    alanmcgovern authored
    … supports it. It should be disabled by default still.
    
    svn path=/branches/bitsharp-0.80/; revision=143922
  11. @alanmcgovern

    Backport from trunk: When creating torrents, handle the case where th…

    alanmcgovern authored
    …e user specifies a folder and that folder contains only one file.
    
    svn path=/branches/bitsharp-0.80/; revision=143921
  12. @alanmcgovern

    Backport from trunk: Add a new Paused mode. TorrentManager.State is n…

    alanmcgovern authored
    …ow stored in the current mode. Changing the mode will fire the StateChanged event automatically, removing the need to manually do it after every mode change. Also fixes some places where the wrong mode was being set.
    
    svn path=/branches/bitsharp-0.80/; revision=143920
  13. @alanmcgovern

    Backport from trunk: To prevent possible deadlock, PieceManager shoul…

    alanmcgovern authored
    …d use the async 'BeginGetHash' method instead of the sync 'GetHash' method.
    
    svn path=/branches/bitsharp-0.80/; revision=143919
Commits on Aug 17, 2009
  1. @alanmcgovern

    Update build file

    alanmcgovern authored
    svn path=/trunk/bitsharp/; revision=140028
  2. @alanmcgovern

    TorrentManager.State is now stored in the current mode. Changing the …

    alanmcgovern authored
    …mode will fire the StateChanged event automatically, removing the need to manually do it after every mode change. Also fixes some places where the wrong mode was being set.
    
    svn path=/trunk/bitsharp/; revision=140027
  3. @alanmcgovern

    Add a new Paused mode.

    alanmcgovern authored
    svn path=/trunk/bitsharp/; revision=140026
  4. @alanmcgovern

    Instead of using a WaitHandle to detect when a piece has been written…

    alanmcgovern authored
    …/read, use a bool and the new Async methods.
    
    svn path=/trunk/bitsharp/; revision=140025
  5. @alanmcgovern

    To prevent possible deadlock, PieceManager should use the async 'Begi…

    alanmcgovern authored
    …nGetHash' method instead of the sync 'GetHash' method.
    
    svn path=/trunk/bitsharp/; revision=140023
Commits on Aug 4, 2009
  1. @alanmcgovern

    When entering the Download state, ensure we have a DownloadMode too.

    alanmcgovern authored
    svn path=/trunk/bitsharp/; revision=139370
  2. @alanmcgovern

    When in seeding mode, ensure that connections to other seeders are cl…

    alanmcgovern authored
    …osed and not reopened later.
    
    svn path=/trunk/bitsharp/; revision=139369
Commits on Jul 29, 2009
  1. @alanmcgovern

    Fix two compile errors from the recent refactoring

    alanmcgovern authored
    svn path=/trunk/bitsharp/; revision=139019
  2. @alanmcgovern

    Add file missing from the build

    alanmcgovern authored
    svn path=/trunk/bitsharp/; revision=139018
Commits on Jul 15, 2009
  1. @alanmcgovern

    Fix a race condition now that this code is properly asynchronous - po…

    alanmcgovern authored
    …pulate the list of pieces to read *before* pushing them to the diskmanager, otherwise it's possible that the hashing callback will be invoked before everything is read.
    
    svn path=/trunk/bitsharp/; revision=137923
  2. @alanmcgovern

    Ensure modes will always get at least 1 tick before being switched out.

    alanmcgovern authored
    svn path=/trunk/bitsharp/; revision=137907
  3. @alanmcgovern

    Implement a Hashing mode where all hashing logic is added to. Simplif…

    alanmcgovern authored
    …ies logic needed to abort hashing and avoids race conditions which were in the previous code. Also use a slightly better hashing algorithm which completely splits hashing from disk IO for slightly better perf.
    
    svn path=/trunk/bitsharp/; revision=137906
Commits on Jul 14, 2009
  1. @alanmcgovern

    cosmetic

    alanmcgovern authored
    svn path=/trunk/bitsharp/; revision=137904
Commits on Jul 12, 2009
  1. @alanmcgovern

    When stopping a torrent, enter the 'Stopping' state while necessary c…

    alanmcgovern authored
    …leanup is happening. Once the torrent reaches the 'Stopped' state all required shutdown code has been completed and it is safe to unregister/dispose the torrent. This resolves a few race conditions and also removes the need for supplying a WaitHandle from TorrentManager.Stop ().
    
    svn path=/trunk/bitsharp/; revision=137752
Commits on Jul 11, 2009
  1. @alanmcgovern

    Correctly handle the case when a speed monitor has less datapoints th…

    alanmcgovern authored
    …an the averaging period.
    
    svn path=/trunk/bitsharp/; revision=137750
Commits on Jun 14, 2009
  1. @alanmcgovern

    Use a long instead of an int to prevent possible overflow when measur…

    alanmcgovern authored
    …ing the data rate.
    
    svn path=/trunk/bitsharp/; revision=136086
Commits on Jun 13, 2009
  1. @alanmcgovern

    Recognise WebSeed as a type.

    alanmcgovern authored
    svn path=/trunk/bitsharp/; revision=136067
  2. @alanmcgovern

    When attaching a webseed, fire the PeerConnected event and also recog…

    alanmcgovern authored
    …nise the peer as a WebSeed.
    
    svn path=/trunk/bitsharp/; revision=136066
  3. @alanmcgovern

    Catch the exception if the local peer discovery message can't be sent

    alanmcgovern authored
    svn path=/trunk/bitsharp/; revision=136065
Commits on Jun 3, 2009
  1. @alanmcgovern

    AmInterested should always be true for webseeds. Patch by Stanley Kim.

    alanmcgovern authored
    svn path=/trunk/bitsharp/; revision=135380
Commits on May 23, 2009
  1. @alanmcgovern

    Update makefiles some more

    alanmcgovern authored
    svn path=/trunk/bitsharp/; revision=134644
Something went wrong with that request. Please try again.