Permalink
Commits on Apr 11, 2008
  1. CPAN upload 0.013

    sanko committed Apr 11, 2008
  2. + [fix] N::B::S::Tracker::_tcp_parse_data and N::B::Session::new

    sanko committed Apr 11, 2008
      - bdecode call was being called in array context for no reason at all
    + [new] -skip_hashcheck is now documented as a param for scripts/client.pl
    + [fix] ExtProtocol off by default
    + [etc] CPAN
    + [etc] Revised TODO
Commits on Apr 10, 2008
  1. + [etc] POD fixes in /lib/Net/BitTorrent.pm

    sanko committed Apr 10, 2008
    + [fix] removed unused dependancies from Build.PL
      - Moved some to build_requires and the Win32 stuff to recommends
    + [fix] /t/000_basic/005_signature.t was rewritten
      - was using a bad plan
      - svn:keywords was missing
    + [fix] idiot mistake with the callback system
    + [fix] N::B::S::File::_open() bug that missed preexisting file handles
    + [new] Debug levels: TRACE FATAL ERROR WARN INFO DEBUG
      - Import from Net::BitTorrent::Util individually or as :log
    + [fix] N::B::S::Tracker objects are now blessed
    + [del] removed peer_outgoing_packet callback
    + [fix] refactored most of N::B::S::Peer in anticipation of extensions :D
      - Looking forward is fun.
Commits on Apr 5, 2008
  1. + [etc] moved from ExtUtils::MakeMaker to Module::Build

    sanko committed Apr 5, 2008
    + [etc] Pod Coverage rated at 100%
    + [fix] relocated docs/PeerID_spec.pod => /lib/Net/BitTorrent/PeerID.pod
      - PAUSE was ignoring it as documentation (but used its abstract to
        describe N::B itself) and I'm not interested enough to figure out
        how to force it to properly index the /doc/ directory.
    + [etc] Updated svn:keywords properties for all files.
    + [fix] Changed all abstracts to less c+p-like "BitTorrent client class"
      - kicks self
    + [fix] Removed ex-dependancies from Makefile.PL's PREREQ_PM
      - English (was used by t/900_etc/921_perlcritic.t)
      - Class::ISA (...no idea where that came from.)
    + [fix] Made Encode a Win32-only prerequisite
      - Encode.pm is only used on Win32.  For now.
    + [fix] Removed silly $Net::BitTorrent::DEBUG variable from packages
      - replaced them all with on_call callbacks
    + [fix] changed most carp and all croak calls to on_log callbacks
      - ...why was I using croak?
    + [fix] changed maximum_buffer_size from the almost random value of 98304 to 131072 (2**17)
    + [etc] rename t/000_basic/002_load.t => t/000_basic/020_load.t
    + [etc] rename t/000_basic/001_load_prerequisites.t => t/000_basic/010_load_prerequisites.t
    + [new] t/000_basic/005_signature.t
      - Checks gpg signature
    + [etc] Net::BitTorrent#Notes/INTERNALS vs. DOCUMENTATION => N::B#DEVELOPMENT POLICY
    + [del] Net::BitTorrent#Notes/TAGS
    + [fix] removed Net::BitTorrent::Session::set_block_size()
    + [fix] converted Net::BitTorrent::Session::block_size() to a mutator
Commits on Apr 1, 2008
  1. CPAN

    sanko committed Apr 1, 2008
  2. + [fix] removed spurious use of non-core module

    sanko committed Apr 1, 2008
      - t/100_data_parsing/111_compact.t
      - t/100_data_parsing/112_compact_bad.t
      - t/100_data_parsing/116_uncompact.t
      - t/100_data_parsing/117_uncompact_bad.t
    + [fix] paths changed to reflect new test suite layout
      - t/200_classes/220_NBS/221_new.t
    + [fix] *nix friendly non-blocking tcp
      - Net::BitTorrent::Session::Tracker
    + [etc] Rewording of 500 tests prompt to reflect how unnecessary the are
      - Makefile.PL
    + [fix] More pod coverage changes (private subs w/o leading underscore) in nearly all packages
    + [fix] N::B was using Time::HiRes::usleep() rather than Time::HiRes::sleep()
      - "...why is N::B eating my processor?" D'oh!
    + [etc] Ready for CPAN? Hmmmm...
Commits on Mar 31, 2008
  1. + [new] Test suite organization

    sanko committed Mar 31, 2008
    + [etc] Loads of changes mostly perlcritic-y fluff... I mean stuff.
Commits on Mar 24, 2008
  1. + [fix] Relocated several modules

    sanko committed Mar 24, 2008
      - Net::BitTorrent::Tracker => Net::BitTorrent::Session::Tracker
      - Net::BitTorrent::Peer => Net::BitTorrent::Session::Peer
      - Net::BitTorrent::Peer::Request => Net::BitTorrent::Session::Peer::Request
      - ...what was I thinking?
    + [etc] Documentation updates (still incomplete)
      - Net::BitTorrent::Session
      - Net::BitTorrent::Session::File
      - Net::BitTorrent::Session::Peer
      - Net::BitTorrent::Session::Peer::Request
      - Net::BitTorrent::Session::Piece
      - Net::BitTorrent::Session::Piece::Block
      - Net::BitTorrent::Session::Tracker
      - Net::BitTorrent::Util
      - Net::BitTorrent::FAQ
      - /docs/PeerID_spec.pod
Commits on Mar 20, 2008
  1. - [fix] number of working pieces in N::B::Session changed

    sanko committed Mar 20, 2008
      + new formula: $max_working = (scalar($current_working) + (($free_blocks < $open_slots) ? 1 : 0))
    - [fix] /t/etc/generate_miniswarm_dot_torrent.pl now only grabs jpg files
    - [new] /t/etc/miniswarm/seed/2183742557_5c9a91727d_m.jpg
      + /t/etc/miniswarm/seed/credit.txt has been updated
    - [new] N::B::Peer::outgoing_requests()
    - [fix] /t/etc/miniswarm.torrent svn:mime-type changed to application/x-bittorrent
Commits on Mar 16, 2008
  1. - [new] Endgame mode begins automatically (un[der]tested)

    sanko committed Mar 16, 2008
      + for now, we wait until the session has 10 pieces left before completion
      + in the future, this will vary based on the overall size of the torrent
    - [new] N::B::Peer::cancel_old_requests() [tentative name]
      + called by N::B::Peer::pulse()
    - [new] All classes have at least stub as_string() subs
      + N::B::S::P::Block::as_string() used to {die;} ...what was I thinking?
    - [etc] new tidy rules (for better or worse...)
      + has made even unedited files appear to be modified...
    - [new] /scripts/client.pl has a new -skip_hashcheck parameter (for now)
    - [fix] /scripts/client.pl no longer sets block sizes or file priorities for new sessions
      + block sizes were usually too large (>=32k) and requests were often ignored or delayed
      + priority was being set only to test functionality
Commits on Mar 5, 2008
  1. - [fix] *nix-friendly stuff tested on clean Kubuntu 6.06 (what I had …

    sanko committed Mar 5, 2008
    …lying around)
    
      + /t/etc/miniswarm/seed/credit.txt svn:eol-style property changed to LF
      + non-blocking connect in N::B::Peer::new() using fcntl(...,F_SETFL,...)
      + removed silly Win32 warning from N::B::use_unicode()
    - [fix] N::B::Tracker::announce() was calling N::B::LocalPort()
    - [etc] still tinkering with /t/etc/miniswarm.t
      + older TAP doesn't like when tests ok() "out of order"
      + path for seeds changed