--- EV/Changes 2009/07/19 06:35:25 1.179 +++ EV/Changes 2020/01/22 16:27:45 1.246 @@ -1,5 +1,207 @@ Revision history for Perl extension EV +Changes marked with (libev) are changes in libev, and might have more +documentation in the libev Changes file. + +TODO: accessors for other members (signum, statdata etc?) + - (libev) fixed a bug introduced in 4.31 when timerfds and signalfds were + used at the same time. + - (libev) 0 is now allowed as requested event mask in io watchers. + - (libev) once-per-minute wakeups will now be optimized away when + timerfds are available + - use the new ev_io_modify in ->events, instead of the potentially + slower ev_io_set. + +4.31 Fri Dec 20 21:57:00 CET 2019 + - (libev) handle backends with minimum wait time a bit better by + not waiting in the presence of already-expired timers + (behaviour reported by Felipe Gasper). + - (libev) use timerfd to detect timejumps. + - (libev) new loop flag: EVFLAG_NOTIMERFD. + +4.30 Fri Nov 22 21:00:00 CET 2019 + - (libev) use a different and hopefully even more portable + test to disable io_uring when header files are too old, + by directly testing LINUX_VERSION_CODE. + - (libev) fix a bug in the io_uring backend that polled the wrong + backend fd, causing it to not work in many cases. + +4.29 Fri Nov 22 15:34:29 CET 2019 + - (libev) add io uring autoconf and non-autoconf detection, + the latter of which should disable io_uring compilation + on old systems. + +4.28 Tue Nov 19 13:55:39 CET 2019 + - (libev) fix ev_port backend, thanks to David H. Gutteridge for + - (libev) many bugfixes in linuxaio backend. + - (libev) experimental io uring interface. + reminding me to actually release the fix. + - try to name ev.h more explicitly, to hopefully improve portability. + - opportunistically round up wait times for poll and epoll backend, + to avoid unnecessary loop iterations. + - add build dependency on ev_linuxaio.c. + - quickly (re)-ported to minix 3.3 before minix crashed again. + +4.27 Thu Jun 27 09:39:58 CEST 2019 + - (libev) completely rewritten linuxaio backend, maybe + usable as a general-use backend. + - (libev) use more aggressive assertions to catch + more usage errors. + - allow users to re-enable assert() in case it is disabled + by perl (which is typically the case). + +4.26 Mon Jun 24 23:39:40 CEST 2019 + - (libev) included experimental linux aio backend. + - allow the linux aio backend to be used by default + only when explicitly configured during Makefile.PL time. + +4.25 Fri Dec 21 08:04:26 CET 2018 + - (libev) updated to libev 4.25, minor fixes and enhancements. + - document the requirement to "use EV" when using EV::MakeMaker. + - only use __register_atfork with glibc and uclibc, as musl + defines __linux__, but doesn't implement the linux standard + base ABI, nor makes itself detectable via a macro, both apparently + by design, winning the "broken by design 2016 award" - well done. + - correct EV::periodic example 24h after midnight -> one day after + midnight (reported by Felix Ostmann). + +4.22 Sun Dec 20 02:34:39 CET 2015 + - (libev) when epoll detects unremovable fds in the fd set, rebuild + only the epoll descriptor, not the signal pipe, to avoid + SIGPIPE in ev_async_send. This doesn't solve it on fork, + so document what needs to be done in ev_loop_fork + (analyzed by Benjamin Mahler). + - (libev) remove superfluous sys/timeb.h include on win32 + (analyzed by Jason Madden). + - updated libecb. + +4.21 Mon Jul 13 21:47:33 CEST 2015 + - allow argument in timer->again. + - document timer->remaining. + - document default repeat value for timer->set. + +4.20 Sat Jun 20 13:07:34 CEST 2015 + - added stability canary support. + - truly rely on automatic configuration for clock_gettime and others. + unfortunately, this doesn't help with activeperl and similar perls, + which define _POSIX_TIMERS without actually implementing any of it. + - (libev, ecb) make it compile as C++ again. + - (libev) fix a potential aliasing issue when accessing watcher cbs. + +4.18 Sat Sep 6 20:37:23 CEST 2014 + - use slightly better weay to find includes, to support multiarch + on newer perls. + +4.17 Fri Apr 11 06:22:38 CEST 2014 + - perl5porters broke Async::Interrupt, BDB, EV, IO::AIO, OpenCL + without warning by switching the meaning of USE_SOCKETS_AS_HANDLES + in 5.18. What's so attractive about giving a shit about backwards + compatibility - I will never understand. + +4.16 Sat Mar 8 16:49:05 CET 2014 + - make sure EV::CHECK is available at all times. + - avoid a spurious warning when perl -w overrides "no warnings". + - use perl's signal implementation on WIN32. + - ensure extern "C" function pointers are used for externally-visible + pointers. + - (libev) mark event pipe fd as cloexec after a fork (analyzed by Sami Farin). + - (ecb) support m68k, m88k and sh (patch by Miod Vallat). + - (libev) in the absence of autoconf, do not use the clock syscall + on glibc >= 2.17 (avoids the syscall AND -lrt on systems + doing clock_gettime in userspace). + - (ecb) work around memory barriers and volatile apparently both being + broken in visual studio 2008 and later (analysed and patch by Nicolas Noble). + +4.15 Fri Mar 1 12:15:53 CET 2013 + - (libev) upgrade to 4.15 - too many changes to list. + - EV::run now returns a boolean. + - API version 5:1. + - document that cleanup watchers are not available via perl. + - cast I32 to int in error message printf. + - remove dependencies on librt and libpthreads on GNU/Linux. + +4.11 Sat Feb 4 19:56:26 CET 2012 + - (libev) implement memory fences for (obsolete) llvm-gcc. + +4.10 Thu Jan 19 18:54:23 CET 2012 + - (libev) fix a race where the workaround against the epoll fork + bugs caused signals to not be handled anymore. + - (libev) correct backend_fudge for most backends, and implement + a windows specific workaround to avoid looping because we call + both select and Sleep, both with different time resolutions. + - e_new wasn't declared static (causing very minor .so bloat). + - replace more old api names by new ones. + +4.03 Tue Jan 11 14:51:05 CET 2011 + - do not avoid the clock_gettime call on GNU/Linux anymore, as EV + links against -lpthread anyways - as a result, EV might now take + advantage of fast userspace clock_gettime implementations, + but also links against -lrt. + - (libev) lots of event port bug workarounds. + - (libev) officially support files in I/O watchers. + - (libev) new function ev_feed_signal. + - fix documentation parts still refering to the 3.x API. + +4.02 Thu Dec 30 08:27:41 CET 2010 + - the revents argument did not stringify correctly, as only the + numeric value was updated, while the string value was kept from + previous invocations. + +4.01 Sun Dec 5 12:42:13 CET 2010 + - fully support EV_COMPAT3=0. + - default_fork was stupidly defined as inline. + - ask cpan to upgrade AnyEvent if < 5.29. + - support EV_EXTRA_DEFS during configuration. + - support -DEV_NO_LOOPS for snakker build. + +4.00 Mon Oct 25 13:30:09 CEST 2010 + - many API changes, see the manual. + - (libev) lots and lots of bugfixes, see the ev documentation. + - fix a bug where inotify usage would parse the same event + multiple times, causing various forms of breakage. + - greatly reduce stack usage for inotify (8kb to <0.5kb). + - expose ev_depth and ev_verify via the XS API. + - implement ev_cleanup watchers. + - (libev) ev_embed_stop did not correctly stop the watcher. + - (libev) disable poll backend on AIX. + - (libev) rename EV_TIMEOUT to EV_TIMER. + - (libev) add section on accept() problems to the manpage. + - (libev) no child watchers on win32. + - make code more aliasing compliant, in case perl is ever + translated to C. + - document the EV::CHECK runtime unavailability. + - ported to minix 3.1.7. + +3.9 Thu Dec 31 07:59:59 CET 2009 + - disable t/07* under automatic testing. + - increase t/09* timeouts as netbsd has *horribly* broken + select/kevent that *usually* sleep >>0.6s instead of 0.3. + - add constants EV::FLAG_NOSIGFD, EV::FLAG_NOINOTIFY and + EV::BACKEND_ALL. + - (libev) signalfd is no longer used by default. + - (libev) backport inotify code to C89. + - (libev) inotify file descriptors could leak into child processes. + - (libev) ev_stat watchers could keep an errornous extra ref on the loop. + - (libev) take advantage of inotify_init1, if available. + - (libev) the signal handling pipe wasn't always initialised under windows. + - changed minimum glibc requirement from glibc 2.9 to 2.7, for signalfd. + - (libev) only replace ev_stat.prev when we detect an actual difference. + +3.8 Sun Aug 9 15:30:10 CEST 2009 + - implement $loop->signal/signal_ns. + - (libev) incompatible change: do not necessarily reset signal + handler to SIG_DFL when a sighandler is stopped. + - (libev) ev_default_destroy did not properly free or zero some + members, potentially causing crashes and memory corruption on + repated ev_default_destroy/ev_default_loop calls. + - (libev) take advantage of signalfd on GNU/Linux systems. + - (libev) document that the signal mask might be in an unspecified + state when using libev's signal handling. + - (libev) take advantage of some GNU/Linux calls to set + cloexec/nonblock on fd creation, to avoid race conditions. + - implement internal glue code to interface more efficiently + with AnyEvent. + 3.7 Fri Jul 17 16:49:16 CEST 2009 - add EV::loop_verify and EV::loop_depth. - use output filehandle for i/o watchers waiting