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 |
6 | 4.25 Fri Dec 21 08:04:26 CET 2018 |
7 | > > in about the same space (without requiring elaborate modules), drop me a |
7 | - (libev) updated to libev 4.25, minor fixes and enhancements. |
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. |
8 | - document the requirement to "use EV" when using EV::MakeMaker. |
29 | - only use __register_atfork with glibc and uclibc, as musl |
9 | - only use __register_atfork with glibc and uclibc, as musl |
30 | defines __linux__, but doesn't implement the linux standard |
10 | defines __linux__, but doesn't implement the linux standard |
31 | base ABI, nor makes itself detectable via a macro, both apparently |
11 | base ABI, nor makes itself detectable via a macro, both apparently |
32 | by design, winning the "broken by design 2016 award" - well done. |
12 | by design, winning the "broken by design 2016 award" - well done. |
33 | - correct EV::periodic example 24h after midnight -> one day after |
13 | - correct EV::periodic example 24h after midnight -> one day after |
34 | midnight (reported by Felix Ostmann). |
14 | midnight (reported by Felix Ostmann). |
|
|
15 | - added stability canary support. |
35 | |
16 | |
36 | 4.22 Sun Dec 20 02:34:39 CET 2015 |
17 | 4.22 Sun Dec 20 02:34:39 CET 2015 |
37 | - (libev) when epoll detects unremovable fds in the fd set, rebuild |
18 | - (libev) when epoll detects unremovable fds in the fd set, rebuild |
38 | only the epoll descriptor, not the signal pipe, to avoid |
19 | only the epoll descriptor, not the signal pipe, to avoid |
39 | SIGPIPE in ev_async_send. This doesn't solve it on fork, |
20 | SIGPIPE in ev_async_send. This doesn't solve it on fork, |