Permalink
Switch branches/tags
Nothing to show
Commits on Feb 8, 2010
  1. SparseMap for Piece maps

    this may be a first step towards downloading larger torrents
    committed Feb 8, 2010
Commits on Feb 7, 2010
  1. Merge branch 'ghc12-compile'

    jlouis committed Feb 7, 2010
  2. Make code compilable on GHC 612.

    A couple of pre-processor statements are added. These handle the change
    of exception names between GHC 610 and 612.
    jlouis committed Feb 7, 2010
Commits on Feb 6, 2010
  1. Kill all mention of fromJust.

    jlouis committed Feb 6, 2010
  2. Another TODO entry.

    jlouis committed Feb 6, 2010
  3. New TODO entries.

    jlouis committed Feb 6, 2010
Commits on Feb 5, 2010
  1. Merge branch 'hsopenssl'

    jlouis committed Feb 5, 2010
  2. make conf-nodebug.

    Enable a target which can configure without debugging support.
    jlouis committed Feb 5, 2010
  3. Convert to use OpenSSL Digests.

    jlouis committed Jan 20, 2010
  4. Bump TODO.

    jlouis committed Feb 5, 2010
  5. Plug bug with the last piece.

    There is no reason to store information which is readily present in the
    monad of the PieceManager process. By doing this, we avoid some bugs on
    the state.
    
    While here, add assertions which will catch it happening again.
    jlouis committed Feb 5, 2010
  6. Fix typo in haskelltorrent.cabal.

    There was a C preprocessor include in haskelltorrent.cabal which turned
    out to be wrong.
    jlouis committed Feb 5, 2010
  7. Merge branch 'endgame'

    jlouis committed Feb 5, 2010
  8. Inform the PieceMgr correctly about blocks.

    Unfortunately, a bug had snuck into the code so we did not tell the
    Piece Manager about any blocks were downloaded. The problem with this
    change is that no progression is then being made on downloading pieces.
    
    Patch fixes the problem by using the correct communication channel and
    message.
    jlouis committed Feb 5, 2010
  9. More debug logging.

    jlouis committed Feb 5, 2010
  10. Implement endgame support.

    When we enter endgame, we use the list of downloading pieces to grab
    pieces from. This list is then sent to the Peer and the peer must handle
    the situation accordingly.
    
    Add support for cancelling Requests in Peers. Introduce endgame
    broadcasts in PieceMgr. Introduce endgame support in the Choke Mgr.
    
    Add Piece Manager assertions. At each round, we currently check the
    state of the piece database for several invariants to check that it does
    not corrupt.
    jlouis committed Feb 5, 2010
Commits on Feb 4, 2010
  1. TrackerP: make complete/incomplete stats optional

    There are multiple scraping conventions: some trackers don't report them in
    tracker requests by default but require an explicit scrape request.
    committed with jlouis Feb 4, 2010
Commits on Feb 2, 2010
  1. Data.Monoid does our work.

    We can do with making LogPriority an instance of Monoid.
    jlouis committed Feb 2, 2010
  2. Ignore .swo files.

    jlouis committed Feb 2, 2010
  3. Oops, missing file added.

    jlouis committed Feb 2, 2010
  4. Eliminate Sync bug. Log Improve. Rewrite.

    The rewrite of PeerMgrP had forgotten to synchronize on some events.
    Thus the ChokeMgrP was never informed about new peers.
    
    While here, move around and improve logging, and rewrite the Console
    Process to be monad transformed.
    jlouis committed Feb 2, 2010
Commits on Jan 31, 2010
  1. Write a simple DSL for logging.

    jlouis committed Jan 31, 2010
  2. Merge branch 'fsp-transform'

    jlouis committed Jan 31, 2010
Commits on Jan 30, 2010
  1. Bump cabal versioning.

    jlouis committed Jan 30, 2010
  2. Merge branch 'master' into next

    jlouis committed Jan 30, 2010