diff options
author | seb <seb> | 2009-11-28 06:33:38 +0000 |
---|---|---|
committer | seb <seb> | 2009-11-28 06:33:38 +0000 |
commit | 4104e45aea0d91eedfe18016f66d3cd71e6886b5 (patch) | |
tree | 9be9b5b233a9f408f0ba54c8c6e421b97e2fe96c /devel/p5-POE | |
parent | 819543d31e692858d9011c406a8e2cad97ab131d (diff) | |
download | pkgsrc-4104e45aea0d91eedfe18016f66d3cd71e6886b5.tar.gz |
Update p5-POE from version 1.005 to version 1.280.
Approved by MAINTAINER.
Pkgsrc changes:
- Adjust dependencies
- Change LICENSE to Perl5's one
Upstream changes (as announced on POE's mailing list):
[Message ID: 4A77B6BD-77ED-4A93-A110-16B083E010F5@pobox.com]
I/O Dispatch is Faster
I/O events jump the queue in POE 1.280. Skipping an enqueue and
dequeue saves significant time. The drawback is that I/O is dispatched
in a different order relative to other kinds of events. Most people
won't care, but it has affected one of POE::Component::Client::HTTP's
tests. Speak up if you think it's affecting you.
Session Cleanup is Faster
In POE 1.280, session cleanup is done just before the event loop
would wait for new events. Programs that aren't event bound should
show decreased latency because the cleanup will be scheduled during
idle times. This optimization changes the timing of session cleanup
and their resulting _stop events. While I don't think it affects
many people, it has already bitten Adam Kennedy. Please let us know
if you suspect it's gnawing on you, too.
Other Changes
POE::Wheel::Run::Win32 code has been merged into POE::Wheel::Run.
Many thanks to Chris Williams for developing and contributing
POE::Wheel::Run::Win32, and Andrew Feren for the patch.
The tests should be a little faster since the full tracing has been
turned off. Tracing is only enabled when running coverage tests
now. This also exposes more warnings to the console, most of which
have been fixed.
POE::Wheel::ReadLine memory leaks have been fixed. Unfortunately,
it requires the use of Scalar::Util::weaken(). This wheel won't run
on really old versions of Perl anymore. Patches that don't reintroduce
the memory leak are welcome.
Miscellaneous $kernel->has_forked() fixes.
The mark and sweep session garbage collection fixed an issue where
call() would sometimes sidestep garbage collection. Mysterious
program hangs should be eliminated by this release.
Lots of MSWin32 fixes! Not nearly enough, but it's improved by a
leap and a bound.
... and a bunch of really minor things in the CHANGES file.
[Message ID: 86EE3691-481B-4841-9558-8280D5CC6E52@pobox.com]
POE 1.020 is released! It's a 13-point jump from the last release.
Here are the change highlights, beginning with a few potential
compatibility issues.
(!!!) Thanks to the mailing list, POE::Component::Server::TCP's
ClientConnected callback parameters have been fixed. Unfortunately,
if your code relies on the previous mis-documented parameters, then
it may now be broken. Please review your ClientConnected callbacks
with respect to the new behavior and documentation.
(!!!) POE::Loop::Event, POE::Loop::Gtk and POE::Loop::Tk have been
spun off into their own distributions. This and future POE upgrades
won't update those modules. Set your dependencies accordingly.
(!!!) With the help of Philip Gwyn, I overhauled POE::Filter::HTTPD to
use plainer code and better support RFC 2616. As bizarre as it may
sound, GET requests may have content, among other things. Please make
sure the changes don't break your code. HTTP is a twisty maze of
specification, all different, and you could be relying on something we
haven't tested.
(!!!) Subversion $Id$ and $Revision$ tags have been removed from the
source. This is one of two major prerequisites towards moving the
repository to git. Unfortunately, standardizing modules on the master
version (1.020) has caused retrograde versioning on those modules. I
will probably release POE 1.300 shortly in an attempt to fix the issue.
Philip Gwyn fixed a pty leak in POE::Wheel::Run! I had thought
closing them was enough, but noooooo!
Chris Williams fixed some tests, and of course, his legion of robots
have been diligently testing POE and thousands of other modules around
the clock!
Documented some of the caveats and side effects of running code blocks
with POE::Wheel::Run. It's not quite like using exec() to run
external programs.
Added experimental support for "weak" callbacks and postbacks. Adam
Kennedy has a use case for postbacks and callbacks that don't keep
their sessions alive.
Fixed a bug where rethrowing unhandled exceptions would corrupt POE's
internal data. The rethrow has been moved after data cleanup.
Revised POE::Kernel->run() documentation for enhanced clarity, in
hopes that a certain person may grow to understand the "run() wasn't
called" warning can actually be disabled.
[Message ID: F8022A58-D129-40A8-97A2-DA413B7AFD98@pobox.com]
Highlights of POE 1.007:
call() has been optimized slightly. DrGeek on irc.perl.org #poe
pointed out in irc.perl.org that call() doesn't need to do a garbage
collection check. It never intrinsically affects a session's
reference count.
Michael Fowler fixed POE::Component::Server::TCP documentation and
added a regression test for the component.
Philip Gwyn added a signal pipe to make signals more reliable when the
USE_SIGNALS switch is enabled.
Gcola on irc.perl.org #poe did substantial testing on ActivePerl for
Windows.
Adam Kennedy wrested some Windows machines from Microsoft for testing,
which helped a lot.
Some of the signals tests were moved out to POE::Test::Loops so that
other event loop adapter writers can take advantage of them. If
POE::Loop authors have their own tests they'd like to share, let me
know what I can include.
Clarified a couple warnings: the run() was never called warning now
points to documentation to disable it. The PID reap warnings explain
themselves better.
Diffstat (limited to 'devel/p5-POE')
-rw-r--r-- | devel/p5-POE/Makefile | 8 | ||||
-rw-r--r-- | devel/p5-POE/distinfo | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/devel/p5-POE/Makefile b/devel/p5-POE/Makefile index 748958d43e5..3bc70760c80 100644 --- a/devel/p5-POE/Makefile +++ b/devel/p5-POE/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.15 2009/04/23 07:25:50 sno Exp $ +# $NetBSD: Makefile,v 1.16 2009/11/28 06:33:38 seb Exp $ -DISTNAME= POE-1.005 +DISTNAME= POE-1.280 PKGNAME= p5-${DISTNAME} CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=POE/} @@ -9,14 +9,14 @@ MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://poe.perl.org/ #HOMEPAGE= http://search.cpan.org/dist/POE/ COMMENT= Perl Object Environment -LICENSE= artistic-2.0 +LICENSE= ${PERL5_LICENSE} DEPENDS+= p5-IO-Compress>=2.017:../../devel/p5-IO-Compress DEPENDS+= p5-Curses>=1.08:../../devel/p5-Curses DEPENDS+= p5-Event>=1.00:../../devel/p5-Event DEPENDS+= p5-IO-tty>=1.08:../../devel/p5-IO-Tty DEPENDS+= p5-IO>=1.2301:../../devel/p5-IO -DEPENDS+= p5-POE-Test-Loops>=1.004:../../devel/p5-POE-Test-Loops +DEPENDS+= p5-POE-Test-Loops>=1.030:../../devel/p5-POE-Test-Loops DEPENDS+= p5-Socket6>=0.14:../../net/p5-Socket6 DEPENDS+= p5-Term-ReadKey>=2.21:../../devel/p5-Term-ReadKey DEPENDS+= p5-Term-Cap>=1.09:../../devel/p5-Term-Cap diff --git a/devel/p5-POE/distinfo b/devel/p5-POE/distinfo index 8d95dba2d8d..56a8e0eb4a9 100644 --- a/devel/p5-POE/distinfo +++ b/devel/p5-POE/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.7 2009/04/23 07:25:50 sno Exp $ +$NetBSD: distinfo,v 1.8 2009/11/28 06:33:38 seb Exp $ -SHA1 (POE-1.005.tar.gz) = aae1983781f6e3b5ddc153819d81266e8c0c543f -RMD160 (POE-1.005.tar.gz) = 639f2fd0573bab7eae08b93180a9c8779b935020 -Size (POE-1.005.tar.gz) = 353833 bytes +SHA1 (POE-1.280.tar.gz) = a6712d74fe272fc9609b98ba94b6a60668b5d769 +RMD160 (POE-1.280.tar.gz) = 089eba1b946327e4a81e025039385233e3ea51a7 +Size (POE-1.280.tar.gz) = 361597 bytes |