Permalink
Commits on Oct 9, 2010
  1. Give TorrentCreator and TorrentEditor the same base class

    These two classes share a lot of functionality, so move all of that to a
    base class where it can be shared easily.
    alanmcgovern committed Oct 7, 2010
  2. [TorrentEditor] Implement two helper classes to help edit Announce urls

    Created a wrapper around the announce-urls structure to make it easy to
    directly update the bencoded list. Added the ability to edit announces
    to TorrentEditor using these new classes.
    alanmcgovern committed Oct 7, 2010
Commits on Oct 6, 2010
Commits on Oct 3, 2010
  1. Remove the reference to System.Web

    System.Web is not available under all profiles. This makes it awkward
    for people trying to use monotorrent under profiles without System.Web.
    As this assembly is only used for Url encoding/decoding, just replace
    those methods with a custom implementation which has been copied/pasted
    from monos source tree.
    alanmcgovern committed Oct 3, 2010
  2. Remove the 'IgnoreHidden' parameter from ITorrentFileSource

    This property makes on sense to be on the interface as it's
    implementation specific as to whether or not it applies. All the
    interfaces should care about is providing a name for the torrent and a
    list of files which should be added to it.
    alanmcgovern committed Oct 3, 2010
  3. Compile against .NET 3.5

    alanmcgovern committed Oct 3, 2010
Commits on Oct 2, 2010
  1. Clear busy peers to be available again for connection.

    Else long terme client will have too much peers inactives.
    dufoli committed with alanmcgovern Sep 9, 2010
  2. Fix download limitation when upload limiter is set:

    Only piece message is limitednot protocol message
    dufoli committed with alanmcgovern Sep 9, 2010
Commits on Aug 31, 2010
Commits on May 30, 2010
  1. Fix the test so it actually tests what I want it to

    svn path=/trunk/bitsharp/; revision=158173
    alanmcgovern committed May 30, 2010
Commits on May 23, 2010
  1. Update the SlidingWindow picker to allow you to properly use it in a …

    …piece picker chain.
    
    svn path=/trunk/bitsharp/; revision=157771
    alanmcgovern committed May 23, 2010
Commits on May 16, 2010
  1. * MonoTorrent.Tests/Client/MetadataModeTest.cs:

    * MonoTorrent.Tests/Client/InitialSeedUnchokerTests.cs: Put these
      tests in the right namespaces.
    
    svn path=/trunk/bitsharp/; revision=157405
    alanmcgovern committed May 16, 2010
  2. * MonoTorrent.Tests/Client/TestRig.cs:

    * MonoTorrent.Tests/MonoTorrent.Tests.csproj:
    * MonoTorrent.Tests/Client/InitialSeedingModeTest.cs:
    * MonoTorrent/MonoTorrent.Client/Modes/InitialSeedingMode.cs: When
      switching from InitialSeeding mode to any other mode, ensure that
      all connected peers get an updated bitfield message.
    
    svn path=/trunk/bitsharp/; revision=157404
    alanmcgovern committed May 16, 2010
  3. Revert accidental commit.

    svn path=/trunk/bitsharp/; revision=157402
    alanmcgovern committed May 16, 2010
  4. Whoops, committed the wrong file. This one makes HashingMode non-recu…

    …rsive.
    
    svn path=/trunk/bitsharp/; revision=157393
    alanmcgovern committed May 16, 2010
  5. Make HashingMode non-recursive so in the case where no files exist on…

    …-disk we don't use two stack frames for every piece in the torrent. Whoopsie!
    
    svn path=/trunk/bitsharp/; revision=157392
    alanmcgovern committed May 16, 2010
Commits on May 13, 2010
  1. Track the data read from the disk too.

    svn path=/trunk/bitsharp/; revision=157336
    alanmcgovern committed May 13, 2010
Commits on May 9, 2010
  1. * MonoTorrent/MonoTorrent.Client/Managers/TorrentManager.cs: If

      we're in metadata mode just spew out a safe string.
    
    svn path=/trunk/bitsharp/; revision=156980
    alanmcgovern committed May 9, 2010
  2. * MonoTorrent.Tests/MonoTorrent.Tests.csproj:

    * MonoTorrent.Tests/Common/SpeedMonitorTest.cs: Add tests to ensure
      the correctness of the transfer rate estimation code.
    
    * MonoTorrent/MonoTorrent.Common/SpeedMonitor.cs: Add missing license
      header and update the rate estimation algorithm so that it no longer
      gives insane answers when the number of ticks is less than the
      averaging period. Patch by 'nop'.
    
    svn path=/trunk/bitsharp/; revision=156979
    alanmcgovern committed May 9, 2010
  3. * MonoTorrent/MonoTorrent.csproj:

    * SampleClient/SampleClient.csproj:
    * MonoTorrent.Dht/MonoTorrent.Dht.csproj:
    * MonoTorrent.Tests/MonoTorrent.Tests.csproj: Remove more useless
    assembly references.
    
    svn path=/trunk/bitsharp/; revision=156978
    alanmcgovern committed May 9, 2010
  4. * MonoTorrent/MonoTorrent.csproj:

    * MonoTorrent/MonoTorrent.Client/ClientEngine.cs:
    * MonoTorrent/MonoTorrent.Client/Managers/TorrentManager.cs: Remove
      unnecessary reference to System.Xml.
    
    svn path=/trunk/bitsharp/; revision=156977
    alanmcgovern committed May 9, 2010
  5. * MonoTorrent/MonoTorrent.Client/NetworkIO.cs: Put try/catches in

      the right place so that we don't explode horribly if a socket is
      closed while we're rate limting.
    
    svn path=/trunk/bitsharp/; revision=156976
    alanmcgovern committed May 9, 2010
Commits on Apr 27, 2010
  1. Put in a quick hack for zero length files when verifying hashed data.

    svn path=/trunk/bitsharp/; revision=156171
    alanmcgovern committed Apr 27, 2010
Commits on Apr 25, 2010
  1. * MonoTorrent.Tests/Client/TestRig.cs:

    * MonoTorrent.Tests/Client/TorrentManagerTest.cs: Add some tests to
      ensure that invalid fast resume data is handled correctly.
    
    svn path=/trunk/bitsharp/; revision=156068
    alanmcgovern committed Apr 25, 2010