r40525 - in /trunk/libcoro-perl: ./ Coro/ EV/ EV/t/ Event/ Event/t/ debian/
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Wed Jul 22 18:36:32 UTC 2009
Author: jawnsy-guest
Date: Wed Jul 22 18:36:24 2009
New Revision: 40525
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=40525
Log:
New upstream version
Modified:
trunk/libcoro-perl/Changes
trunk/libcoro-perl/Coro.pm
trunk/libcoro-perl/Coro/AIO.pm
trunk/libcoro-perl/Coro/AnyEvent.pm
trunk/libcoro-perl/Coro/BDB.pm
trunk/libcoro-perl/Coro/Channel.pm
trunk/libcoro-perl/Coro/Debug.pm
trunk/libcoro-perl/Coro/Handle.pm
trunk/libcoro-perl/Coro/LWP.pm
trunk/libcoro-perl/Coro/MakeMaker.pm
trunk/libcoro-perl/Coro/RWLock.pm
trunk/libcoro-perl/Coro/Select.pm
trunk/libcoro-perl/Coro/Semaphore.pm
trunk/libcoro-perl/Coro/SemaphoreSet.pm
trunk/libcoro-perl/Coro/Signal.pm
trunk/libcoro-perl/Coro/Socket.pm
trunk/libcoro-perl/Coro/Specific.pm
trunk/libcoro-perl/Coro/State.pm
trunk/libcoro-perl/Coro/State.xs
trunk/libcoro-perl/Coro/Storable.pm
trunk/libcoro-perl/Coro/Timer.pm
trunk/libcoro-perl/Coro/Util.pm
trunk/libcoro-perl/EV/EV.pm
trunk/libcoro-perl/EV/EV.xs
trunk/libcoro-perl/EV/t/01_unblock.t
trunk/libcoro-perl/Event/Event.pm
trunk/libcoro-perl/Event/t/01_unblock.t
trunk/libcoro-perl/META.yml
trunk/libcoro-perl/debian/changelog
Modified: trunk/libcoro-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Changes?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Changes (original)
+++ trunk/libcoro-perl/Changes Wed Jul 22 18:36:24 2009
@@ -7,6 +7,13 @@
TODO: unready_all
TODO: myhttpd header parsing
TODO: channel->maxsize(newsize)?
+
+5.161 Wed Jul 22 04:47:38 CEST 2009
+ - Coro::AnyEvent::poll could have a different prototype when EV was
+ used as backend (analyzed by Tatsuhiko Miyagawa).
+ - Coro::AnyEvent errornously initialised the event loop when loaded,
+ not on demand.
+ - try to workaround rare */t/01_unblock.t failures.
5.16 Tue Jul 21 01:44:37 CEST 2009
- Coro::AnyEvent failed to hook into the event loop
Modified: trunk/libcoro-perl/Coro.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro.pm (original)
+++ trunk/libcoro-perl/Coro.pm Wed Jul 22 18:36:24 2009
@@ -82,7 +82,7 @@
our $main; # main coro
our $current; # current coro
-our $VERSION = 5.16;
+our $VERSION = 5.161;
our @EXPORT = qw(async async_pool cede schedule terminate current unblock_sub);
our %EXPORT_TAGS = (
Modified: trunk/libcoro-perl/Coro/AIO.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/AIO.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/AIO.pm (original)
+++ trunk/libcoro-perl/Coro/AIO.pm Wed Jul 22 18:36:24 2009
@@ -68,7 +68,7 @@
use base Exporter::;
-our $VERSION = 5.16;
+our $VERSION = 5.161;
our @EXPORT = (@IO::AIO::EXPORT, qw(aio_wait));
our @EXPORT_OK = @IO::AIO::EXPORT_OK;
Modified: trunk/libcoro-perl/Coro/AnyEvent.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/AnyEvent.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/AnyEvent.pm (original)
+++ trunk/libcoro-perl/Coro/AnyEvent.pm Wed Jul 22 18:36:24 2009
@@ -59,7 +59,7 @@
use Coro;
use AnyEvent ();
-our $VERSION = 5.16;
+our $VERSION = 5.161;
#############################################################################
# idle handler
@@ -89,7 +89,7 @@
eval '
*sleep = \&Coro::EV::timer_once;
- *poll = \&Coro::EV::timer_once;
+ *poll = \&Coro::EV::_poll;
*idle = sub {
my $w = EV::idle Coro::rouse_cb;
Coro::rouse_wait;
@@ -126,6 +126,9 @@
$IDLE->{desc} = "[AnyEvent idle process]";
$Coro::idle = $IDLE;
+
+ # call the readyhook, in case coroutines were already readied
+ _activity;
}
};
Modified: trunk/libcoro-perl/Coro/BDB.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/BDB.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/BDB.pm (original)
+++ trunk/libcoro-perl/Coro/BDB.pm Wed Jul 22 18:36:24 2009
@@ -48,7 +48,7 @@
use base Exporter::;
-our $VERSION = 5.16;
+our $VERSION = 5.161;
our $WATCHER;
BDB::set_sync_prepare {
Modified: trunk/libcoro-perl/Coro/Channel.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/Channel.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/Channel.pm (original)
+++ trunk/libcoro-perl/Coro/Channel.pm Wed Jul 22 18:36:24 2009
@@ -33,7 +33,7 @@
use Coro ();
use Coro::Semaphore ();
-our $VERSION = 5.16;
+our $VERSION = 5.161;
sub DATA (){ 0 }
sub SGET (){ 1 }
Modified: trunk/libcoro-perl/Coro/Debug.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/Debug.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/Debug.pm (original)
+++ trunk/libcoro-perl/Coro/Debug.pm Wed Jul 22 18:36:24 2009
@@ -122,7 +122,7 @@
use Coro::AnyEvent ();
use Coro::Timer ();
-our $VERSION = 5.16;
+our $VERSION = 5.161;
our %log;
our $SESLOGLEVEL = exists $ENV{PERL_CORO_DEFAULT_LOGLEVEL} ? $ENV{PERL_CORO_DEFAULT_LOGLEVEL} : -1;
Modified: trunk/libcoro-perl/Coro/Handle.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/Handle.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/Handle.pm (original)
+++ trunk/libcoro-perl/Coro/Handle.pm Wed Jul 22 18:36:24 2009
@@ -46,7 +46,7 @@
use base 'Exporter';
-our $VERSION = 5.16;
+our $VERSION = 5.161;
our @EXPORT = qw(unblock);
=item $fh = new_from_fh Coro::Handle $fhandle [, arg => value...]
Modified: trunk/libcoro-perl/Coro/LWP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/LWP.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/LWP.pm (original)
+++ trunk/libcoro-perl/Coro/LWP.pm Wed Jul 22 18:36:24 2009
@@ -95,7 +95,7 @@
use Net::FTP ();
use Net::NNTP ();
-our $VERSION = 5.16;
+our $VERSION = 5.161;
*Socket::inet_aton = \&Coro::Util::inet_aton;
Modified: trunk/libcoro-perl/Coro/MakeMaker.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/MakeMaker.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/MakeMaker.pm (original)
+++ trunk/libcoro-perl/Coro/MakeMaker.pm Wed Jul 22 18:36:24 2009
@@ -5,7 +5,7 @@
use Config;
use base 'Exporter';
-our $VERSION = 5.16;
+our $VERSION = 5.161;
@EXPORT_OK = qw(&coro_args $installsitearch);
Modified: trunk/libcoro-perl/Coro/RWLock.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/RWLock.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/RWLock.pm (original)
+++ trunk/libcoro-perl/Coro/RWLock.pm Wed Jul 22 18:36:24 2009
@@ -30,7 +30,7 @@
use Coro ();
-$VERSION = 5.16;
+$VERSION = 5.161;
=item $l = new Coro::RWLock;
Modified: trunk/libcoro-perl/Coro/Select.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/Select.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/Select.pm (original)
+++ trunk/libcoro-perl/Coro/Select.pm Wed Jul 22 18:36:24 2009
@@ -67,7 +67,7 @@
use base Exporter::;
-our $VERSION = 5.16;
+our $VERSION = 5.161;
our @EXPORT_OK = "select";
sub import {
Modified: trunk/libcoro-perl/Coro/Semaphore.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/Semaphore.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/Semaphore.pm (original)
+++ trunk/libcoro-perl/Coro/Semaphore.pm Wed Jul 22 18:36:24 2009
@@ -37,7 +37,7 @@
use Coro ();
-$VERSION = 5.16;
+$VERSION = 5.161;
=item new [inital count]
Modified: trunk/libcoro-perl/Coro/SemaphoreSet.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/SemaphoreSet.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/SemaphoreSet.pm (original)
+++ trunk/libcoro-perl/Coro/SemaphoreSet.pm Wed Jul 22 18:36:24 2009
@@ -33,7 +33,7 @@
use strict qw(vars subs);
no warnings;
-our $VERSION = 5.16;
+our $VERSION = 5.161;
use Coro::Semaphore ();
Modified: trunk/libcoro-perl/Coro/Signal.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/Signal.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/Signal.pm (original)
+++ trunk/libcoro-perl/Coro/Signal.pm Wed Jul 22 18:36:24 2009
@@ -36,7 +36,7 @@
use Coro::Semaphore ();
-our $VERSION = 5.16;
+our $VERSION = 5.161;
=item $sig = new Coro::Signal;
Modified: trunk/libcoro-perl/Coro/Socket.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/Socket.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/Socket.pm (original)
+++ trunk/libcoro-perl/Coro/Socket.pm Wed Jul 22 18:36:24 2009
@@ -75,7 +75,7 @@
use base qw(Coro::Handle IO::Socket::INET);
-our $VERSION = 5.16;
+our $VERSION = 5.161;
our (%_proto, %_port);
Modified: trunk/libcoro-perl/Coro/Specific.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/Specific.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/Specific.pm (original)
+++ trunk/libcoro-perl/Coro/Specific.pm Wed Jul 22 18:36:24 2009
@@ -26,7 +26,7 @@
BEGIN { eval { require warnings } && warnings->unimport ("uninitialized") }
-$VERSION = 5.16;
+$VERSION = 5.161;
=item new
Modified: trunk/libcoro-perl/Coro/State.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/State.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/State.pm (original)
+++ trunk/libcoro-perl/Coro/State.pm Wed Jul 22 18:36:24 2009
@@ -93,7 +93,7 @@
use XSLoader;
BEGIN {
- our $VERSION = 5.16;
+ our $VERSION = 5.161;
# must be done here because the xs part expects it to exist
# it might exist already because Coro::Specific created it.
Modified: trunk/libcoro-perl/Coro/State.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/State.xs?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/State.xs (original)
+++ trunk/libcoro-perl/Coro/State.xs Wed Jul 22 18:36:24 2009
@@ -3395,7 +3395,6 @@
{
coro_readyhook = newSVsv (hook);
CORO_READYHOOK = invoke_sv_ready_hook_helper;
- CORO_READYHOOK ();
}
else
{
Modified: trunk/libcoro-perl/Coro/Storable.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/Storable.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/Storable.pm (original)
+++ trunk/libcoro-perl/Coro/Storable.pm Wed Jul 22 18:36:24 2009
@@ -85,7 +85,7 @@
use Storable;
use base "Exporter";
-our $VERSION = 5.16;
+our $VERSION = 5.161;
our @EXPORT = qw(thaw freeze nfreeze blocking_thaw blocking_freeze blocking_nfreeze);
our $GRANULARITY = 0.01;
Modified: trunk/libcoro-perl/Coro/Timer.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/Timer.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/Timer.pm (original)
+++ trunk/libcoro-perl/Coro/Timer.pm Wed Jul 22 18:36:24 2009
@@ -30,7 +30,7 @@
use Coro ();
use Coro::AnyEvent ();
-$VERSION = 5.16;
+$VERSION = 5.161;
@EXPORT_OK = qw(timeout sleep);
=item $flag = timeout $seconds;
Modified: trunk/libcoro-perl/Coro/Util.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Coro/Util.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Coro/Util.pm (original)
+++ trunk/libcoro-perl/Coro/Util.pm Wed Jul 22 18:36:24 2009
@@ -39,7 +39,7 @@
our @EXPORT = qw(gethostbyname gethostbyaddr);
our @EXPORT_OK = qw(inet_aton fork_eval);
-our $VERSION = 5.16;
+our $VERSION = 5.161;
our $MAXPARALLEL = 16; # max. number of parallel jobs
Modified: trunk/libcoro-perl/EV/EV.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/EV/EV.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/EV/EV.pm (original)
+++ trunk/libcoro-perl/EV/EV.pm Wed Jul 22 18:36:24 2009
@@ -58,7 +58,7 @@
use XSLoader;
BEGIN {
- our $VERSION = 5.16;
+ our $VERSION = 5.161;
local $^W = 0; # avoid redefine warning for Coro::ready;
XSLoader::load __PACKAGE__, $VERSION;
Modified: trunk/libcoro-perl/EV/EV.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/EV/EV.xs?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/EV/EV.xs (original)
+++ trunk/libcoro-perl/EV/EV.xs Wed Jul 22 18:36:24 2009
@@ -333,6 +333,12 @@
CORO_EXECUTE_SLF_XS (slf_init_timer);
void
+_poll (...)
+ PROTOTYPE:
+ CODE:
+ CORO_EXECUTE_SLF_XS (slf_init_timer);
+
+void
_readable_ev (...)
CODE:
items = 1; /* ignore the remaining args for speed inside Coro::Handle */
Modified: trunk/libcoro-perl/EV/t/01_unblock.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/EV/t/01_unblock.t?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/EV/t/01_unblock.t (original)
+++ trunk/libcoro-perl/EV/t/01_unblock.t Wed Jul 22 18:36:24 2009
@@ -38,6 +38,8 @@
print "ok 8\n";
+ Coro::EV::timer_once 0.1; # maybe this fixes the rare test failures on cygwin
+
$w->print ("x" x (1024*1024*8));
print "ok 10\n";
$w->print ("x" x (1024*1024*8));
Modified: trunk/libcoro-perl/Event/Event.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Event/Event.pm?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Event/Event.pm (original)
+++ trunk/libcoro-perl/Event/Event.pm Wed Jul 22 18:36:24 2009
@@ -93,7 +93,7 @@
our @EXPORT = qw(loop unloop sweep);
BEGIN {
- our $VERSION = 5.16;
+ our $VERSION = 5.161;
local $^W = 0; # avoid redefine warning for Coro::ready;
XSLoader::load __PACKAGE__, $VERSION;
Modified: trunk/libcoro-perl/Event/t/01_unblock.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/Event/t/01_unblock.t?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/Event/t/01_unblock.t (original)
+++ trunk/libcoro-perl/Event/t/01_unblock.t Wed Jul 22 18:36:24 2009
@@ -38,6 +38,8 @@
print "ok 8\n";
+ Coro::Event::do_timer (after => 0.1); # see EV/t/01*
+
$w->print ("x" x (1024*1024*8));
print "ok 10\n";
$w->print ("x" x (1024*1024*8));
Modified: trunk/libcoro-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/META.yml?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/META.yml (original)
+++ trunk/libcoro-perl/META.yml Wed Jul 22 18:36:24 2009
@@ -11,7 +11,7 @@
},
"generated_by" : "ExtUtils::MakeMaker version 6.50",
"distribution_type" : "module",
- "version" : "5.16",
+ "version" : "5.161",
"name" : "Coro",
"author" : [],
"license" : "unknown",
Modified: trunk/libcoro-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoro-perl/debian/changelog?rev=40525&op=diff
==============================================================================
--- trunk/libcoro-perl/debian/changelog (original)
+++ trunk/libcoro-perl/debian/changelog Wed Jul 22 18:36:24 2009
@@ -1,5 +1,5 @@
-libcoro-perl (5.160-1) unstable; urgency=low
+libcoro-perl (5.161-1) UNRELEASED; urgency=low
* Initial Release. (Closes: #536551)
- -- Jonathan Yu <frequency at cpan.org> Tue, 21 Jul 2009 13:07:45 -0400
+ -- Jonathan Yu <frequency at cpan.org> Wed, 22 Jul 2009 10:36:05 -0400
More information about the Pkg-perl-cvs-commits
mailing list