r40918 - in /branches/upstream/libcoro-perl/current: ./ Coro/ EV/ Event/ t/
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Tue Jul 28 20:03:19 UTC 2009
Author: jawnsy-guest
Date: Tue Jul 28 20:03:12 2009
New Revision: 40918
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=40918
Log:
[svn-upgrade] Integrating new upstream version, libcoro-perl (5.162)
Modified:
branches/upstream/libcoro-perl/current/Changes
branches/upstream/libcoro-perl/current/Coro.pm
branches/upstream/libcoro-perl/current/Coro/AIO.pm
branches/upstream/libcoro-perl/current/Coro/AnyEvent.pm
branches/upstream/libcoro-perl/current/Coro/BDB.pm
branches/upstream/libcoro-perl/current/Coro/Channel.pm
branches/upstream/libcoro-perl/current/Coro/Debug.pm
branches/upstream/libcoro-perl/current/Coro/Handle.pm
branches/upstream/libcoro-perl/current/Coro/Intro.pod
branches/upstream/libcoro-perl/current/Coro/LWP.pm
branches/upstream/libcoro-perl/current/Coro/MakeMaker.pm
branches/upstream/libcoro-perl/current/Coro/Makefile.PL
branches/upstream/libcoro-perl/current/Coro/RWLock.pm
branches/upstream/libcoro-perl/current/Coro/Select.pm
branches/upstream/libcoro-perl/current/Coro/Semaphore.pm
branches/upstream/libcoro-perl/current/Coro/SemaphoreSet.pm
branches/upstream/libcoro-perl/current/Coro/Signal.pm
branches/upstream/libcoro-perl/current/Coro/Socket.pm
branches/upstream/libcoro-perl/current/Coro/Specific.pm
branches/upstream/libcoro-perl/current/Coro/State.pm
branches/upstream/libcoro-perl/current/Coro/Storable.pm
branches/upstream/libcoro-perl/current/Coro/Timer.pm
branches/upstream/libcoro-perl/current/Coro/Util.pm
branches/upstream/libcoro-perl/current/Coro/schmorp.h
branches/upstream/libcoro-perl/current/EV/EV.pm
branches/upstream/libcoro-perl/current/Event/Event.pm
branches/upstream/libcoro-perl/current/META.yml
branches/upstream/libcoro-perl/current/Makefile.PL
branches/upstream/libcoro-perl/current/t/19_handle.t
Modified: branches/upstream/libcoro-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Changes?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Changes (original)
+++ branches/upstream/libcoro-perl/current/Changes Tue Jul 28 20:03:12 2009
@@ -7,6 +7,10 @@
TODO: unready_all
TODO: myhttpd header parsing
TODO: channel->maxsize(newsize)?
+
+5.162 Tue Jul 28 04:04:03 CEST 2009
+ - perl 5.8.2 is now minimum requirement.
+ - skip t/19_handle.t on broken windows perls.
5.161 Wed Jul 22 04:47:38 CEST 2009
- Coro::AnyEvent::poll could have a different prototype when EV was
Modified: branches/upstream/libcoro-perl/current/Coro.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro.pm Tue Jul 28 20:03:12 2009
@@ -82,7 +82,7 @@
our $main; # main coro
our $current; # current coro
-our $VERSION = 5.161;
+our $VERSION = 5.162;
our @EXPORT = qw(async async_pool cede schedule terminate current unblock_sub);
our %EXPORT_TAGS = (
Modified: branches/upstream/libcoro-perl/current/Coro/AIO.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/AIO.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/AIO.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/AIO.pm Tue Jul 28 20:03:12 2009
@@ -68,7 +68,7 @@
use base Exporter::;
-our $VERSION = 5.161;
+our $VERSION = 5.162;
our @EXPORT = (@IO::AIO::EXPORT, qw(aio_wait));
our @EXPORT_OK = @IO::AIO::EXPORT_OK;
Modified: branches/upstream/libcoro-perl/current/Coro/AnyEvent.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/AnyEvent.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/AnyEvent.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/AnyEvent.pm Tue Jul 28 20:03:12 2009
@@ -59,7 +59,7 @@
use Coro;
use AnyEvent ();
-our $VERSION = 5.161;
+our $VERSION = 5.162;
#############################################################################
# idle handler
Modified: branches/upstream/libcoro-perl/current/Coro/BDB.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/BDB.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/BDB.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/BDB.pm Tue Jul 28 20:03:12 2009
@@ -48,7 +48,7 @@
use base Exporter::;
-our $VERSION = 5.161;
+our $VERSION = 5.162;
our $WATCHER;
BDB::set_sync_prepare {
Modified: branches/upstream/libcoro-perl/current/Coro/Channel.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Channel.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Channel.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/Channel.pm Tue Jul 28 20:03:12 2009
@@ -33,7 +33,7 @@
use Coro ();
use Coro::Semaphore ();
-our $VERSION = 5.161;
+our $VERSION = 5.162;
sub DATA (){ 0 }
sub SGET (){ 1 }
Modified: branches/upstream/libcoro-perl/current/Coro/Debug.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Debug.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Debug.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/Debug.pm Tue Jul 28 20:03:12 2009
@@ -122,7 +122,7 @@
use Coro::AnyEvent ();
use Coro::Timer ();
-our $VERSION = 5.161;
+our $VERSION = 5.162;
our %log;
our $SESLOGLEVEL = exists $ENV{PERL_CORO_DEFAULT_LOGLEVEL} ? $ENV{PERL_CORO_DEFAULT_LOGLEVEL} : -1;
Modified: branches/upstream/libcoro-perl/current/Coro/Handle.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Handle.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Handle.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/Handle.pm Tue Jul 28 20:03:12 2009
@@ -46,7 +46,7 @@
use base 'Exporter';
-our $VERSION = 5.161;
+our $VERSION = 5.162;
our @EXPORT = qw(unblock);
=item $fh = new_from_fh Coro::Handle $fhandle [, arg => value...]
Modified: branches/upstream/libcoro-perl/current/Coro/Intro.pod
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Intro.pod?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Intro.pod (original)
+++ branches/upstream/libcoro-perl/current/Coro/Intro.pod Tue Jul 28 20:03:12 2009
@@ -207,8 +207,8 @@
and tries to lock it. Since the semaphore is already locked, this will
block the main thread until the semaphore becomes available.
-This yields the CPU to the C<async> thread, which unlocks the
-semaphore (and instantly gets terminated).
+This yields the CPU to the C<async> thread, which unlocks the semaphore
+(and instantly terminates itself by returning).
Since the semaphore is now available, the main program locks it and
continues.
Modified: branches/upstream/libcoro-perl/current/Coro/LWP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/LWP.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/LWP.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/LWP.pm Tue Jul 28 20:03:12 2009
@@ -95,7 +95,7 @@
use Net::FTP ();
use Net::NNTP ();
-our $VERSION = 5.161;
+our $VERSION = 5.162;
*Socket::inet_aton = \&Coro::Util::inet_aton;
Modified: branches/upstream/libcoro-perl/current/Coro/MakeMaker.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/MakeMaker.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/MakeMaker.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/MakeMaker.pm Tue Jul 28 20:03:12 2009
@@ -5,7 +5,7 @@
use Config;
use base 'Exporter';
-our $VERSION = 5.161;
+our $VERSION = 5.162;
@EXPORT_OK = qw(&coro_args $installsitearch);
Modified: branches/upstream/libcoro-perl/current/Coro/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Makefile.PL?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Makefile.PL (original)
+++ branches/upstream/libcoro-perl/current/Coro/Makefile.PL Tue Jul 28 20:03:12 2009
@@ -1,5 +1,3 @@
-use 5.005;
-
use strict;
use ExtUtils::MakeMaker;
use Config;
Modified: branches/upstream/libcoro-perl/current/Coro/RWLock.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/RWLock.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/RWLock.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/RWLock.pm Tue Jul 28 20:03:12 2009
@@ -30,7 +30,7 @@
use Coro ();
-$VERSION = 5.161;
+$VERSION = 5.162;
=item $l = new Coro::RWLock;
Modified: branches/upstream/libcoro-perl/current/Coro/Select.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Select.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Select.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/Select.pm Tue Jul 28 20:03:12 2009
@@ -67,7 +67,7 @@
use base Exporter::;
-our $VERSION = 5.161;
+our $VERSION = 5.162;
our @EXPORT_OK = "select";
sub import {
Modified: branches/upstream/libcoro-perl/current/Coro/Semaphore.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Semaphore.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Semaphore.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/Semaphore.pm Tue Jul 28 20:03:12 2009
@@ -37,7 +37,7 @@
use Coro ();
-$VERSION = 5.161;
+$VERSION = 5.162;
=item new [inital count]
Modified: branches/upstream/libcoro-perl/current/Coro/SemaphoreSet.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/SemaphoreSet.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/SemaphoreSet.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/SemaphoreSet.pm Tue Jul 28 20:03:12 2009
@@ -33,7 +33,7 @@
use strict qw(vars subs);
no warnings;
-our $VERSION = 5.161;
+our $VERSION = 5.162;
use Coro::Semaphore ();
@@ -145,7 +145,7 @@
=cut
sub wait {
- Coro::Semaphore::wait ($_[0][1]{$_[1]} || return $_[0][0] > 0);
+ Coro::Semaphore::wait ($_[0][1]{$_[1]} || return);
}
=item $guard = $semset->guard ($id)
Modified: branches/upstream/libcoro-perl/current/Coro/Signal.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Signal.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Signal.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/Signal.pm Tue Jul 28 20:03:12 2009
@@ -36,7 +36,7 @@
use Coro::Semaphore ();
-our $VERSION = 5.161;
+our $VERSION = 5.162;
=item $sig = new Coro::Signal;
Modified: branches/upstream/libcoro-perl/current/Coro/Socket.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Socket.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Socket.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/Socket.pm Tue Jul 28 20:03:12 2009
@@ -75,7 +75,7 @@
use base qw(Coro::Handle IO::Socket::INET);
-our $VERSION = 5.161;
+our $VERSION = 5.162;
our (%_proto, %_port);
Modified: branches/upstream/libcoro-perl/current/Coro/Specific.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Specific.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Specific.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/Specific.pm Tue Jul 28 20:03:12 2009
@@ -26,7 +26,7 @@
BEGIN { eval { require warnings } && warnings->unimport ("uninitialized") }
-$VERSION = 5.161;
+$VERSION = 5.162;
=item new
Modified: branches/upstream/libcoro-perl/current/Coro/State.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/State.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/State.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/State.pm Tue Jul 28 20:03:12 2009
@@ -93,7 +93,7 @@
use XSLoader;
BEGIN {
- our $VERSION = 5.161;
+ our $VERSION = 5.162;
# must be done here because the xs part expects it to exist
# it might exist already because Coro::Specific created it.
Modified: branches/upstream/libcoro-perl/current/Coro/Storable.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Storable.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Storable.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/Storable.pm Tue Jul 28 20:03:12 2009
@@ -85,7 +85,7 @@
use Storable;
use base "Exporter";
-our $VERSION = 5.161;
+our $VERSION = 5.162;
our @EXPORT = qw(thaw freeze nfreeze blocking_thaw blocking_freeze blocking_nfreeze);
our $GRANULARITY = 0.01;
Modified: branches/upstream/libcoro-perl/current/Coro/Timer.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Timer.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Timer.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/Timer.pm Tue Jul 28 20:03:12 2009
@@ -30,7 +30,7 @@
use Coro ();
use Coro::AnyEvent ();
-$VERSION = 5.161;
+$VERSION = 5.162;
@EXPORT_OK = qw(timeout sleep);
=item $flag = timeout $seconds;
Modified: branches/upstream/libcoro-perl/current/Coro/Util.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/Util.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/Util.pm (original)
+++ branches/upstream/libcoro-perl/current/Coro/Util.pm Tue Jul 28 20:03:12 2009
@@ -39,7 +39,7 @@
our @EXPORT = qw(gethostbyname gethostbyaddr);
our @EXPORT_OK = qw(inet_aton fork_eval);
-our $VERSION = 5.161;
+our $VERSION = 5.162;
our $MAXPARALLEL = 16; # max. number of parallel jobs
Modified: branches/upstream/libcoro-perl/current/Coro/schmorp.h
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Coro/schmorp.h?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Coro/schmorp.h (original)
+++ branches/upstream/libcoro-perl/current/Coro/schmorp.h Tue Jul 28 20:03:12 2009
@@ -21,6 +21,10 @@
|| (PERL_REVISION == (a) \
&& (PERL_VERSION > (b) \
|| (PERL_VERSION == (b) && PERL_SUBVERSION >= (c)))))
+
+#ifndef PERL_MAGIC_ext
+# define PERL_MAGIC_ext '~'
+#endif
#if !PERL_VERSION_ATLEAST (5,6,0)
# ifndef PL_ppaddr
Modified: branches/upstream/libcoro-perl/current/EV/EV.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/EV/EV.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/EV/EV.pm (original)
+++ branches/upstream/libcoro-perl/current/EV/EV.pm Tue Jul 28 20:03:12 2009
@@ -58,7 +58,7 @@
use XSLoader;
BEGIN {
- our $VERSION = 5.161;
+ our $VERSION = 5.162;
local $^W = 0; # avoid redefine warning for Coro::ready;
XSLoader::load __PACKAGE__, $VERSION;
Modified: branches/upstream/libcoro-perl/current/Event/Event.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Event/Event.pm?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Event/Event.pm (original)
+++ branches/upstream/libcoro-perl/current/Event/Event.pm Tue Jul 28 20:03:12 2009
@@ -93,7 +93,7 @@
our @EXPORT = qw(loop unloop sweep);
BEGIN {
- our $VERSION = 5.161;
+ our $VERSION = 5.162;
local $^W = 0; # avoid redefine warning for Coro::ready;
XSLoader::load __PACKAGE__, $VERSION;
Modified: branches/upstream/libcoro-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/META.yml?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/META.yml (original)
+++ branches/upstream/libcoro-perl/current/META.yml Tue Jul 28 20:03:12 2009
@@ -11,7 +11,7 @@
},
"generated_by" : "ExtUtils::MakeMaker version 6.50",
"distribution_type" : "module",
- "version" : "5.161",
+ "version" : "5.162",
"name" : "Coro",
"author" : [],
"license" : "unknown",
Modified: branches/upstream/libcoro-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/Makefile.PL?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/Makefile.PL (original)
+++ branches/upstream/libcoro-perl/current/Makefile.PL Tue Jul 28 20:03:12 2009
@@ -1,4 +1,6 @@
use ExtUtils::MakeMaker;
+
+use 5.008002;
unless (-e "Coro/libcoro/coro.c") {
print <<EOF;
Modified: branches/upstream/libcoro-perl/current/t/19_handle.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcoro-perl/current/t/19_handle.t?rev=40918&op=diff
==============================================================================
--- branches/upstream/libcoro-perl/current/t/19_handle.t (original)
+++ branches/upstream/libcoro-perl/current/t/19_handle.t Tue Jul 28 20:03:12 2009
@@ -1,3 +1,12 @@
+BEGIN {
+ unless (exists $SIG{USR1}) {
+ print <<EOF;
+1..0 # SKIP Broken perl detected, skipping tests.
+EOF
+ exit 0;
+ }
+}
+
$|=1;
print "1..4\n";
More information about the Pkg-perl-cvs-commits
mailing list