Permalink
Commits on Feb 5, 2011
  1. Alter the CT test suite to create a test file.

    The test suite now initializes:
    
    * A random file with a pre-defined seed of 30 megabytes size.
    * A .torrent of the random test file, with a localhost announceUrl.
    jlouis committed Feb 5, 2011
  2. Add documentation.

    jlouis committed Feb 5, 2011
Commits on Feb 4, 2011
  1. Add a dummy CT test suite which we can extend.

    The plan is to extend the CT suite to do more blackbox testing of the
    etorrent application. For starters though, it is necessary to actually
    have the ability to run a test suite with the necessary stuff.
    jlouis committed Feb 4, 2011
  2. Merge branch 'coerce-fs-checker'

    Conflicts:
    	apps/etorrent/src/etorrent_fs_checker.erl
    	apps/etorrent/src/etorrent_torrent_ctl.erl
    jlouis committed Feb 4, 2011
Commits on Feb 1, 2011
  1. Merge branch 'id-torrent-by-infohash' of http://github.com/edwardw/et…

    …orrent into edwardw-id-torrent-by-infohash
    jlouis committed Feb 1, 2011
  2. Refactor to parse the raw torrent file only once.

    Now etorrent parses the raw torrent file only once in module
    etorrent_ctl. In order to do that, also chande the identification
    of torrent from its file path to info hash. For more information,
    please also check out the discussion in issue 77.
    Edward Wang committed Feb 1, 2011
Commits on Jan 31, 2011
  1. Comment on why both binary and integer infohash.

    Also part of the fix to issue 77, a.k.a refactor the code
    to identify torrent by its infohash instead of file path.
    Edward Wang committed Jan 31, 2011
Commits on Jan 29, 2011
  1. Update maturity statement.

    Etorrent is now much more mature compared to earlier.
    While here, improve typography.
    jlouis committed Jan 29, 2011
  2. Sort the list of output of etorrent:l() by id

    There are an obvious generalisation here on what to sort on, but this
    is adequate for now.
    jlouis committed Jan 29, 2011
  3. Cleanup {error, einval} bugs in etorrent peer receiver.

    We get errors of type einval too. These should silently be handled
    here. While working on the code, simplify the code path more from what
    Edward did on it.
    jlouis committed Jan 29, 2011
  4. Canonicalize names, use start_child.

    Rather than call it add_X, use start_child instead. This is more
    canonical with the naming conventions of OTP.
    jlouis committed Jan 29, 2011
  5. Remove the fs_checker module from the code.

    Split the fs_checker module into parts which resides in
    etorrent_torrent_ctl and etorrent_io. The function placement could be
    improved, but for the moment, I rather want to kill the fs_checker
    module. The module itself is somewhat redundant in the code and has a
    little place.
    jlouis committed Jan 29, 2011
  6. Merge branch 'maint'

    jlouis committed Jan 29, 2011
Commits on Jan 27, 2011
  1. Change lists:concat/1 to lists:append/1 in tracker_communication.

    This kills yet another dialyzer warning, so the code is now dialyzer
    free.
    jlouis committed Jan 27, 2011
  2. Fix a dialyzer warning in the udp tracker handling code.

    The dialyzer found an obvious bug in the handling of tracker
    conn_id's. We simply looked up data as `{Key, Value}` and used there
    pair, where we should have used the `Value` part only.
    jlouis committed Jan 27, 2011
  3. Smaller fixes of documentation.

    jlouis committed Jan 27, 2011
  4. Fix a dialyzer warning (and probably a bug in the DHT subsystem).

    Rather than request the Token as a string() type, request it as a
    binary() type. This removes a dialyzer warning because
    is_valid_token/4 would always fail its membership test. The dialyzer
    realizes this by recognizing that lists:member/2 is called with a
    term() of type string() on a list of type [binary()]. This will never
    ever match.
    jlouis committed Jan 27, 2011
  5. Add Edward Want to AUTHORS.

    jlouis committed Jan 27, 2011
Commits on Jan 26, 2011
  1. Fix a merge error.

    Edward Wang committed Jan 26, 2011
  2. Merge branch 'allocate-to-io'

    Conflicts:
    	apps/etorrent/src/etorrent_fs_checker.erl
    jlouis committed Jan 26, 2011
  3. Merge branch 'simplify-fs-checker'

    Conflicts:
    	apps/etorrent/src/etorrent_dirwatcher.erl
    jlouis committed Jan 26, 2011
  4. Merge branch 'kill-ops'

    Conflicts:
    	apps/etorrent/src/etorrent_dht_net.erl
    jlouis committed Jan 26, 2011
  5. Merge branch 'edwardw-refactor'

    jlouis committed Jan 26, 2011