Permalink
Commits on Oct 4, 2008
  1. Only build monotorrent, not the other devel code

    svn path=/branches/bitsharp-0.50/; revision=114850
    alanmcgovern committed Oct 4, 2008
  2. Ensure the SpeedMonitor is updated regularly fixes a regression where…

    … announces/sec weren't being calculated.
    
    svn path=/branches/bitsharp-0.50/; revision=114848
    alanmcgovern committed Oct 4, 2008
Commits on Oct 2, 2008
  1. Need tar-pax for long filename support

    svn path=/branches/bitsharp-0.50/; revision=114724
    alanmcgovern committed Oct 2, 2008
  2. Ensure exceptions are propagated back to calling code when a blocking…

    … task is executed.
    
    svn path=/branches/bitsharp-0.50/; revision=114659
    alanmcgovern committed Oct 2, 2008
  3. Fixed the implementation of RemoveOwnedPieces to ignore invalid piece…

    … indicies.
    
    svn path=/branches/bitsharp-0.50/; revision=114653
    alanmcgovern committed Oct 2, 2008
Commits on Oct 1, 2008
  1. Fix compilation issue in the tests and uncommented the setup method

    svn path=/branches/bitsharp-0.50/; revision=114582
    alanmcgovern committed Oct 1, 2008
  2. Added NUnit tests for decoding peer details.

    Fixed bug in DecodeDictionary where the ':' seperator between ipaddress and port was missing.
    
    Fixed bug in Decode(BEncodedString) where an invalid input would result in an array out of bounds exception.
    
    svn path=/branches/bitsharp-0.50/; revision=114580
    alanmcgovern committed Oct 1, 2008
  3. It's safe to start processing the queue at this stage.

    svn path=/branches/bitsharp-0.50/; revision=114575
    alanmcgovern committed Oct 1, 2008
Commits on Sep 30, 2008
  1. * MonoTorrent/AssemblyInfo.cs, MonoTorrent/Makefile.in,

      MonoTorrent/AssemblyInfo.cs.in, MonoTorrent/MonoTorrent.csproj,
      MonoTorrent/Makefile.am, configure.ac,
      MonoTorrent/MonoTorrent.Common/VersionInfo.cs: Update makefiles and
      bump version to 0.50.
    
    svn path=/branches/bitsharp-0.50/; revision=114486
    alanmcgovern committed Sep 30, 2008
  2. Peers are the same if they come from the same IP address

    svn path=/branches/bitsharp-0.50/; revision=114460
    alanmcgovern committed Sep 30, 2008
Commits on Sep 28, 2008
  1. * MonoTorrent.Client/Managers/ConnectionManager.cs,

      MonoTorrent.Client/ClientEngine.cs: Backport fix for casting a
      boxed long
    
    svn path=/branches/bitsharp-0.50/; revision=114327
    alanmcgovern committed Sep 28, 2008
  2. * MonoTorrent.Client/Managers/PeerManager.cs: Ensure 'Available' is

      there as a public property.
    
    svn path=/branches/bitsharp-0.50/; revision=114326
    alanmcgovern committed Sep 28, 2008
Commits on Sep 25, 2008
  1. Fix int overflow on large torrents

    svn path=/branches/bitsharp-0.50/; revision=114047
    alanmcgovern committed Sep 25, 2008
Commits on Sep 24, 2008
  1. Ensure that new connections are processed on the mainloop.

    svn path=/branches/bitsharp-0.50/; revision=114041
    alanmcgovern committed Sep 24, 2008
Commits on Sep 22, 2008
  1. This method is always called on the IO Loop.

    svn path=/branches/bitsharp-0.50/; revision=113768
    alanmcgovern committed Sep 22, 2008
  2. Fix possible deadlock condition between IO loop and MainLoop

    svn path=/branches/bitsharp-0.50/; revision=113761
    alanmcgovern committed Sep 22, 2008
Commits on Sep 21, 2008
  1. No need to call into the MainLoop as the delegate is already executin…

    …g on the mainloop.
    
    svn path=/trunk/bitsharp/; revision=113647
    alanmcgovern committed Sep 21, 2008
  2. Move some useful setup code for DHT tests to a TestHelper class. Impl…

    …emented a DhtTracker which can be used within monotorrent.
    
    svn path=/trunk/bitsharp/; revision=113640
    alanmcgovern committed Sep 21, 2008
Commits on Sep 20, 2008
  1. Commit changes so sample compiles

    svn path=/trunk/bitsharp/; revision=113625
    alanmcgovern committed Sep 20, 2008
Commits on Sep 19, 2008
  1. Cosmetics

    svn path=/trunk/bitsharp/; revision=113602
    alanmcgovern committed Sep 19, 2008
  2. Already on mainloop, no need to call in again.

    svn path=/trunk/bitsharp/; revision=113601
    alanmcgovern committed Sep 19, 2008
  3. Fix several NUnit failures due to recent refactorings.

    svn path=/trunk/bitsharp/; revision=113597
    alanmcgovern committed Sep 19, 2008
  4. GetPeersTask.cs: Ensure the token is correctly propagated. Keep a lis…

    …t of the closest (K) active nodes
    
    DhtEngine.cs:	 Add API to get lists of peers and announce a torrent into the DHT
    AnnounceTask.cs: Ensure the token exists before sending the Announce message
    
    svn path=/trunk/bitsharp/; revision=113593
    alanmcgovern committed Sep 19, 2008
  5. If the node is already in the list, skip it.

    svn path=/trunk/bitsharp/; revision=113592
    alanmcgovern committed Sep 19, 2008
  6. Add an AnnounceTask - Used to advertise to the DHT that you are downl…

    …oading a specific torrent.
    
    svn path=/trunk/bitsharp/; revision=113587
    alanmcgovern committed Sep 19, 2008
  7. GetPeersTask now tracks a list of the closest K nodes which are active

    svn path=/trunk/bitsharp/; revision=113585
    alanmcgovern committed Sep 19, 2008
  8. Rename AnnounceTask to GetPeersTask to better reflect what it does.

    svn path=/trunk/bitsharp/; revision=113575
    alanmcgovern committed Sep 19, 2008
  9. Use same logic as in the Initialise task - Count the number of active…

    … requests and complete the task when the count is zero.
    
    svn path=/trunk/bitsharp/; revision=113571
    alanmcgovern committed Sep 19, 2008
  10. Extract test to send message to closer nodes into a reusable method.

    svn path=/trunk/bitsharp/; revision=113566
    alanmcgovern committed Sep 19, 2008
  11. The nodes should be added to the engine as part of the handling of th…

    …e response, not in the AnnounceTask.
    
    svn path=/trunk/bitsharp/; revision=113562
    alanmcgovern committed Sep 19, 2008
  12. InitialiseTask follows the specification properly. Only send FindNode…

    … requests to nodes which are closer to the local node than previously queried nodes. When all pending findnodes are completed, complete the task.
    
    svn path=/trunk/bitsharp/; revision=113561
    alanmcgovern committed Sep 19, 2008
  13. Compile tests as .exe by default.

    svn path=/trunk/bitsharp/; revision=113525
    alanmcgovern committed Sep 19, 2008
Commits on Sep 18, 2008
  1. Be able to decode both a list of dictionaries and list of strings.

    svn path=/trunk/bitsharp/; revision=113485
    alanmcgovern committed Sep 18, 2008
  2. Fill in a transaction id for all ErrorMessages too.

    svn path=/trunk/bitsharp/; revision=113484
    alanmcgovern committed Sep 18, 2008
  3. No need to pass the Node who sent the message as 'sender'

    svn path=/trunk/bitsharp/; revision=113483
    alanmcgovern committed Sep 18, 2008