Skip to content

Commit

Permalink
Layout changes
Browse files Browse the repository at this point in the history
 + Build.PL
   - Win32 recommended modules moved to new win32_utf8_support auto_feature (untested)

 + Renamed Net::BitTorrent::Session* to Net::BitTorrent::Torrent* after having received a number of "Where's the torrent class/object?!?" emails. I really dislike making such sweeping API changes but this does make sense. ...from a user's point of view.

 + PeerIDSpecification.wiki now reflects changes in PeerID format. (Separate Wiki changes push up the repo's revision number. Gah, Google, how stupid...)
  • Loading branch information
sanko committed Nov 1, 2008
1 parent bd1b1cb commit 2d84cfc
Show file tree
Hide file tree
Showing 26 changed files with 7,082 additions and 7,082 deletions.
33 changes: 17 additions & 16 deletions Build.PL
Expand Up @@ -66,20 +66,22 @@ my $mb = Module::Build->new(
build_requires => {q[Module::Build] => 0.30, # dev on 0.30
q[Test::More] => 0.80, # dev on 0.80
},
recommends => {
q[Data::Dumper] => 0, # dev on 2.121_17|core
($^O eq q[MSWin32] # For extended charset filenames
? (q[Encode] => 0, # dev on 2.26
q[perl] => q[5.8.7], # dev on 5.11.0
q[utf8] => 0, # dev on 1.07
q[Win32] => 0, # dev on 0.38
q[Win32API::File] => 0.10, # dev on 0.1001_01
)
: ()
)
recommends => {q[Data::Dump] => 0},
auto_features => {
win32_utf8_support => {
description => q[Support for Wide-char filenames on Windows],
requires => {
q[Encode] => 0, # dev on 2.26
q[perl] => q[5.8.7], # dev on 5.11.0
q[utf8] => 0, # dev on 1.07
q[Win32] => 0, # dev on 0.38
q[Win32API::File] => 0.10, # dev on 0.1001_01
},
}
},
test_files => \@tests,
meta_merge => {
script_files => qw[./scripts/bittorrent.pl],
test_files => \@tests,
meta_merge => {
resources => {
bugtracker =>
q[http://code.google.com/p/net-bittorrent/issues/list],
Expand Down Expand Up @@ -109,9 +111,8 @@ $mb->notes(threads => $Config::Config{q[useithreads]} ? 1 : 0);
# things up...
# $mb->add_to_cleanup(qw[./Build.bat]);
# I'm lazy and... well... yeah...
$mb->fix_shebang_line(@tests);
$mb->fix_shebang_line(@{($mb->rscan_dir(q[./lib], qr[\.pm$]))[0]});
#$mb->fix_shebang_line(@tests);
#$mb->fix_shebang_line(@{($mb->rscan_dir(q[./lib], qr[\.pm$]))[0]});
# Break it off, let's go.
$mb->create_build_script;
exit 0;
Expand Down
24 changes: 12 additions & 12 deletions MANIFEST
Expand Up @@ -5,31 +5,30 @@ lib/Net/BitTorrent/DHT.pm
lib/Net/BitTorrent/DHT/Node.pm
lib/Net/BitTorrent/Peer.pm
lib/Net/BitTorrent/Protocol.pm
lib/Net/BitTorrent/Session.pm
lib/Net/BitTorrent/Session/File.pm
lib/Net/BitTorrent/Session/Tracker.pm
lib/Net/BitTorrent/Session/Tracker/HTTP.pm
lib/Net/BitTorrent/Session/Tracker/UDP.pm
lib/Net/BitTorrent/Torrent.pm
lib/Net/BitTorrent/Torrent/File.pm
lib/Net/BitTorrent/Torrent/Tracker.pm
lib/Net/BitTorrent/Torrent/Tracker/HTTP.pm
lib/Net/BitTorrent/Torrent/Tracker/UDP.pm
lib/Net/BitTorrent/Util.pm
lib/Net/BitTorrent/Version.pm
LICENSE
MANIFEST This list of files
META.yml
Notes.pod
README
scripts/client.pl
scripts/bittorrent.pl
t/000_miniswarm/007_miniswarm_http.t
t/000_miniswarm/008_miniswarm_dht.t
t/700_classes/Net/BitTorrent.t
t/700_classes/Net/BitTorrent/DHT.t
t/700_classes/Net/BitTorrent/DHT/Node.t
t/700_classes/Net/BitTorrent/Peer.t
t/700_classes/Net/BitTorrent/Protocol.t
t/700_classes/Net/BitTorrent/Session.t
t/700_classes/Net/BitTorrent/Session/File.t
t/700_classes/Net/BitTorrent/Session/Tracker.t
t/700_classes/Net/BitTorrent/Session/Tracker/HTTP.t
t/700_classes/Net/BitTorrent/Session/Tracker/UDP.t
t/700_classes/Net/BitTorrent/Torrent.t
t/700_classes/Net/BitTorrent/Torrent/File.t
t/700_classes/Net/BitTorrent/Torrent/Tracker.t
t/700_classes/Net/BitTorrent/Torrent/Tracker/HTTP.t
t/700_classes/Net/BitTorrent/Torrent/Tracker/UDP.t
t/700_classes/Net/BitTorrent/Util.t
t/700_classes/Net/BitTorrent/Version.t
t/900_data/910_scripts/TCP-talk-to-ourself.pl
Expand All @@ -43,3 +42,4 @@ t/900_data/950_torrents/953_miniswarm.torrent
t/900_data/950_torrents/955_unicode.torrent
t/900_data/950_torrents/credits.txt
TODO.pod
META.yml
6 changes: 3 additions & 3 deletions TODO.pod
Expand Up @@ -20,7 +20,7 @@ Net::BitTorrent::Todo - TODO list for Perl module Net::BitTorrent

=item * Complete test suite

Create a series of bad .torrent files to test N::B::Session with:
Create a series of bad .torrent files to test N::B::Torrent with:

=over 2

Expand All @@ -40,9 +40,9 @@ Create a series of bad .torrent files to test N::B::Session with:

=item * Improve detection of bad .torrent metadata.

=item * Per-session transfer limits.
=item * Per-torrent transfer limits.

=item * Start, stop, pause individual sessions.
=item * Start, stop, pause individual torrents.

=item * Taint safe.

Expand Down

0 comments on commit 2d84cfc

Please sign in to comment.