1 | Revision history for Perl extension EV |
1 | Revision history for Perl extension EV |
2 | |
2 | |
3 | Changes marked with (libev) are changes in libev, and have more |
3 | Changes marked with (libev) are changes in libev, and have more |
4 | documentation in the libev Changes file. |
4 | documentation in the libev Changes file. |
5 | |
5 | |
|
|
6 | > > midnight, to keep the example simple. If you know a way to do it correctly |
|
|
7 | > > in about the same space (without requiring elaborate modules), drop me a |
|
|
8 | > > note :): |
|
|
9 | > > |
|
|
10 | > > Dein Beispiel: |
|
|
11 | > > use Time::Local (); |
|
|
12 | > > my (undef, undef, undef, $d, $m, $y) = localtime $now; |
|
|
13 | > > 86400 + Time::Local::timelocal 0, 0, 0, $d, $m, $y |
|
|
14 | > > |
|
|
15 | > > Meine bevorzugte Variante: |
|
|
16 | > > use Time::Local (); |
|
|
17 | > > my (undef, undef, undef, $d, $m, $y) = localtime $now; |
|
|
18 | > > (undef, undef, undef, $d, $m, $y) = localtime 86400 + 3600 + |
|
|
19 | > > Time::Local::timelocal 0, 0, 0, $d, $m, $y; |
|
|
20 | > > Time::Local::timelocal 0, 0, 0, $d, $m, $y; |
|
|
21 | > > |
|
|
22 | > > Golf: |
|
|
23 | > > use Time::Local (); |
|
|
24 | > > Time::Local::timelocal 0, 0, 0, (localtime 86400 + 3600 + |
|
|
25 | > > Time::Local::timelocal 0, 0, 0, (localtime $now)[3..5])[3..5]; |
|
|
26 | |
|
|
27 | TODO: canary |
|
|
28 | - document the requirement to "use EV" when using EV::MakeMaker. |
|
|
29 | - only use __register_atfork with glibc and uclibc, as musl |
|
|
30 | defines __linux__, but doesn't implement the linux standard |
|
|
31 | base ABI, nor makes itself detectable via a macro, both apparently |
|
|
32 | by design, winning the "broken by design 2016 award" - well done. |
|
|
33 | - correct EV::periodic example 24h after midnight -> one day after |
|
|
34 | midnight (reported by Felix Ostmann). |
|
|
35 | |
|
|
36 | 4.22 Sun Dec 20 02:34:39 CET 2015 |
|
|
37 | - (libev) when epoll detects unremovable fds in the fd set, rebuild |
|
|
38 | only the epoll descriptor, not the signal pipe, to avoid |
|
|
39 | SIGPIPE in ev_async_send. This doesn't solve it on fork, |
|
|
40 | so document what needs to be done in ev_loop_fork |
|
|
41 | (analyzed by Benjamin Mahler). |
|
|
42 | - (libev) remove superfluous sys/timeb.h include on win32 |
|
|
43 | (analyzed by Jason Madden). |
|
|
44 | - updated libecb. |
|
|
45 | |
|
|
46 | 4.21 Mon Jul 13 21:47:33 CEST 2015 |
|
|
47 | - allow argument in timer->again. |
|
|
48 | - document timer->remaining. |
|
|
49 | - document default repeat value for timer->set. |
|
|
50 | |
|
|
51 | 4.20 Sat Jun 20 13:07:34 CEST 2015 |
|
|
52 | - added stability canary support. |
|
|
53 | - truly rely on automatic configuration for clock_gettime and others. |
|
|
54 | unfortunately, this doesn't help with activeperl and similar perls, |
|
|
55 | which define _POSIX_TIMERS without actually implementing any of it. |
|
|
56 | - (libev, ecb) make it compile as C++ again. |
|
|
57 | - (libev) fix a potential aliasing issue when accessing watcher cbs. |
|
|
58 | |
|
|
59 | 4.18 Sat Sep 6 20:37:23 CEST 2014 |
|
|
60 | - use slightly better weay to find includes, to support multiarch |
|
|
61 | on newer perls. |
|
|
62 | |
|
|
63 | 4.17 Fri Apr 11 06:22:38 CEST 2014 |
|
|
64 | - perl5porters broke Async::Interrupt, BDB, EV, IO::AIO, OpenCL |
|
|
65 | without warning by switching the meaning of USE_SOCKETS_AS_HANDLES |
|
|
66 | in 5.18. What's so attractive about giving a shit about backwards |
|
|
67 | compatibility - I will never understand. |
|
|
68 | |
|
|
69 | 4.16 Sat Mar 8 16:49:05 CET 2014 |
6 | - make sure EV::CHECK is available at all times. |
70 | - make sure EV::CHECK is available at all times. |
7 | - avoid a spurious warning when perl -w overrides "no warnings". |
71 | - avoid a spurious warning when perl -w overrides "no warnings". |
|
|
72 | - use perl's signal implementation on WIN32. |
|
|
73 | - ensure extern "C" function pointers are used for externally-visible |
|
|
74 | pointers. |
|
|
75 | - (libev) mark event pipe fd as cloexec after a fork (analyzed by Sami Farin). |
|
|
76 | - (ecb) support m68k, m88k and sh (patch by Miod Vallat). |
|
|
77 | - (libev) in the absence of autoconf, do not use the clock syscall |
|
|
78 | on glibc >= 2.17 (avoids the syscall AND -lrt on systems |
|
|
79 | doing clock_gettime in userspace). |
|
|
80 | - (ecb) work around memory barriers and volatile apparently both being |
|
|
81 | broken in visual studio 2008 and later (analysed and patch by Nicolas Noble). |
8 | |
82 | |
9 | 4.15 Fri Mar 1 12:15:53 CET 2013 |
83 | 4.15 Fri Mar 1 12:15:53 CET 2013 |
10 | - (libev) upgrade to 4.15 - too many changes to list. |
84 | - (libev) upgrade to 4.15 - too many changes to list. |
11 | - EV::run now returns a boolean. |
85 | - EV::run now returns a boolean. |
12 | - API version 5:1. |
86 | - API version 5:1. |