r45222 - in /branches/upstream/libevent-perl/current: ChangeLog MANIFEST META.yml README.EV Tutorial.pdf-errata.txt lib/Event.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Thu Oct 1 22:40:28 UTC 2009


Author: jawnsy-guest
Date: Thu Oct  1 22:40:23 2009
New Revision: 45222

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=45222
Log:
[svn-upgrade] Integrating new upstream version, libevent-perl (1.13)

Added:
    branches/upstream/libevent-perl/current/README.EV
    branches/upstream/libevent-perl/current/Tutorial.pdf-errata.txt
Modified:
    branches/upstream/libevent-perl/current/ChangeLog
    branches/upstream/libevent-perl/current/MANIFEST
    branches/upstream/libevent-perl/current/META.yml
    branches/upstream/libevent-perl/current/lib/Event.pm

Modified: branches/upstream/libevent-perl/current/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libevent-perl/current/ChangeLog?rev=45222&op=diff
==============================================================================
--- branches/upstream/libevent-perl/current/ChangeLog (original)
+++ branches/upstream/libevent-perl/current/ChangeLog Thu Oct  1 22:40:23 2009
@@ -1,3 +1,8 @@
+2009-09-25  Joshua Pritikin  <joshua at localhost>
+
+	* The repository has moved to a (hopefully) more permanent
+	location.  See http://gitorious.org/perl-event/mainline
+
 2007-05-21    <joshua at always.joy.eth.net>
 
 	* Event is now stored in GIT. You can grab a copy with "git clone

Modified: branches/upstream/libevent-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libevent-perl/current/MANIFEST?rev=45222&op=diff
==============================================================================
--- branches/upstream/libevent-perl/current/MANIFEST (original)
+++ branches/upstream/libevent-perl/current/MANIFEST Thu Oct  1 22:40:23 2009
@@ -47,8 +47,10 @@
 Makefile.PL
 MANIFEST
 MANIFEST.SKIP
+META.yml
 ppport.h
 README
+README.EV
 t/attach_to.t
 t/bored.t
 t/callback.t
@@ -74,6 +76,6 @@
 t/var.t
 TODO
 Tutorial.pdf
+Tutorial.pdf-errata.txt
 util/bench.pl
 util/filehandle.txt
-META.yml

Modified: branches/upstream/libevent-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libevent-perl/current/META.yml?rev=45222&op=diff
==============================================================================
--- branches/upstream/libevent-perl/current/META.yml (original)
+++ branches/upstream/libevent-perl/current/META.yml Thu Oct  1 22:40:23 2009
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                Event
-version:             1.12
+version:             1.13
 abstract:            ~
 license:             ~
 author:              ~

Added: branches/upstream/libevent-perl/current/README.EV
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libevent-perl/current/README.EV?rev=45222&op=file
==============================================================================
--- branches/upstream/libevent-perl/current/README.EV (added)
+++ branches/upstream/libevent-perl/current/README.EV Thu Oct  1 22:40:23 2009
@@ -1,0 +1,58 @@
+Date: Sat, 21 Feb 2009 09:07:14 +0100
+From: Marc Lehmann <schmorp at schmorp.de>
+To: Joshua N Pritikin <jpritikin at pobox.com>
+Subject: Re: EV
+
+On Fri, Feb 20, 2009 at 06:32:57AM -0800, Joshua N Pritikin <jpritikin at pobox.com> wrote:
+> I just noticed EV:
+> 
+> http://search.cpan.org/~mlehmann/EV-3.53/libev/ev.pod
+> 
+> It looks like you have based your work on the Event interface and 
+> extended it to be much more flexible. Wonderful work!
+
+Actually, the API is much less flexible :-) It is heavily influences by
+libev, which in turn is influenced by libevent.
+
+However, I was using Event for more than a decade, and I think it is correct
+to say that it was influencing me most when writing libev and EV. I of course
+surveyed many event toolkits, but Event was the most well-thought-out one.
+
+The only "bugs" I identified were:
+
+- watcher lifetime != perl object lifetime (it sounds like a nuisance at
+  first, but it is really non-perlish and hard to manage).
+- the event queue (it is quite possible to get Event into a state where
+  it queues events faster than it can remove it, especially as it
+  becoems less efficient with more events).
+- the interaction of priorities, queueing and event handling
+  is undocumented, but crucial (starve prio etc.) - EV/libev has no
+  such priority system at all, as priorities only determine
+  order of callback invocation.
+- Event isn't reentrant (almost no event libs are), which is a non-issue for
+  most uses, but a big issue for me (Coro).
+
+So EV/libev is basically Event + some "fixes", as opposed to some new
+invention, or some other event loop, even though the API is drastically
+different.
+
+It took me some 15 years of gathering experience it write it, too. Event
+was crucial to my learning :) (And, yeah, once the API is set in stone,
+the only way to "fix" it is makign a new module - see object lifetimes for
+example, which you would probably do differently if you would write Event
+from scratch).
+
+And, oh, yeah, the XS interface to Event also inspired me a lot in EV and
+other modules that offer such an XS interface. Without Event, EV (or Coro)
+would not have an XS-level interface.
+
+So thanks a lot for Event :)
+
+-- 
+                The choice of a       Deliantra, the free code+content MORPG
+      -----==-     _GNU_              http://www.deliantra.net
+      ----==-- _       generation
+      ---==---(_)__  __ ____  __      Marc Lehmann
+      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
+      -=====/_/_//_/\_,_/ /_/\_\
+

Added: branches/upstream/libevent-perl/current/Tutorial.pdf-errata.txt
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libevent-perl/current/Tutorial.pdf-errata.txt?rev=45222&op=file
==============================================================================
--- branches/upstream/libevent-perl/current/Tutorial.pdf-errata.txt (added)
+++ branches/upstream/libevent-perl/current/Tutorial.pdf-errata.txt Thu Oct  1 22:40:23 2009
@@ -1,0 +1,7 @@
+Date: Wed, 23 Sep 2009 14:41:50 +0200 (CEST)
+From: "Kiss Gabor (Bitman)" <kissg at ssg.ki.iif.hu>
+
+In section 4.3 page 31 (33 according to PDF reader)
+        warn "Event after ", time-startup, " seconds.\n";
+should be changed to
+        warn "Event after ", time-$startup, " seconds.\n";

Modified: branches/upstream/libevent-perl/current/lib/Event.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libevent-perl/current/lib/Event.pm?rev=45222&op=diff
==============================================================================
--- branches/upstream/libevent-perl/current/lib/Event.pm (original)
+++ branches/upstream/libevent-perl/current/lib/Event.pm Thu Oct  1 22:40:23 2009
@@ -14,7 +14,7 @@
 eval { require Carp::Heavy; };  # work around perl_call_pv bug XXX
 use vars qw($VERSION @EXPORT_OK
 	    $API $DebugLevel $Eval $DIED $Now);
-$VERSION = '1.12';
+$VERSION = '1.13';
 
 # If we inherit DynaLoader then we inherit AutoLoader; Bletch!
 require DynaLoader;




More information about the Pkg-perl-cvs-commits mailing list