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 | |
|
|
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 | - only use __register_atfork with glibc and uclibc, as musl |
|
|
28 | defines __linux__, but doesn't implement the linux standard |
|
|
29 | base ABI, nor makes itself detectable via a macro, both apparently |
|
|
30 | by design, winning the "broken by design 2016 award" - well done. |
|
|
31 | |
|
|
32 | 4.22 Sun Dec 20 02:34:39 CET 2015 |
|
|
33 | - (libev) when epoll detects unremovable fds in the fd set, rebuild |
|
|
34 | only the epoll descriptor, not the signal pipe, to avoid |
|
|
35 | SIGPIPE in ev_async_send. This doesn't solve it on fork, |
|
|
36 | so document what needs to be done in ev_loop_fork |
|
|
37 | (analyzed by Benjamin Mahler). |
|
|
38 | - (libev) remove superfluous sys/timeb.h include on win32 |
|
|
39 | (analyzed by Jason Madden). |
|
|
40 | - updated libecb. |
|
|
41 | |
|
|
42 | 4.21 Mon Jul 13 21:47:33 CEST 2015 |
|
|
43 | - allow argument in timer->again. |
|
|
44 | - document timer->remaining. |
|
|
45 | - document default repeat value for timer->set. |
|
|
46 | |
|
|
47 | 4.20 Sat Jun 20 13:07:34 CEST 2015 |
|
|
48 | - added stability canary support. |
|
|
49 | - truly rely on automatic configuration for clock_gettime and others. |
|
|
50 | unfortunately, this doesn't help with activeperl and similar perls, |
|
|
51 | which define _POSIX_TIMERS without actually implementing any of it. |
|
|
52 | - (libev, ecb) make it compile as C++ again. |
|
|
53 | - (libev) fix a potential aliasing issue when accessing watcher cbs. |
|
|
54 | |
|
|
55 | 4.18 Sat Sep 6 20:37:23 CEST 2014 |
|
|
56 | - use slightly better weay to find includes, to support multiarch |
|
|
57 | on newer perls. |
|
|
58 | |
|
|
59 | 4.17 Fri Apr 11 06:22:38 CEST 2014 |
|
|
60 | - perl5porters broke Async::Interrupt, BDB, EV, IO::AIO, OpenCL |
|
|
61 | without warning by switching the meaning of USE_SOCKETS_AS_HANDLES |
|
|
62 | in 5.18. What's so attractive about giving a shit about backwards |
|
|
63 | compatibility - I will never understand. |
|
|
64 | |
|
|
65 | 4.16 Sat Mar 8 16:49:05 CET 2014 |
|
|
66 | - make sure EV::CHECK is available at all times. |
|
|
67 | - avoid a spurious warning when perl -w overrides "no warnings". |
|
|
68 | - use perl's signal implementation on WIN32. |
|
|
69 | - ensure extern "C" function pointers are used for externally-visible |
|
|
70 | pointers. |
|
|
71 | - (libev) mark event pipe fd as cloexec after a fork (analyzed by Sami Farin). |
|
|
72 | - (ecb) support m68k, m88k and sh (patch by Miod Vallat). |
|
|
73 | - (libev) in the absence of autoconf, do not use the clock syscall |
|
|
74 | on glibc >= 2.17 (avoids the syscall AND -lrt on systems |
|
|
75 | doing clock_gettime in userspace). |
|
|
76 | - (ecb) work around memory barriers and volatile apparently both being |
|
|
77 | broken in visual studio 2008 and later (analysed and patch by Nicolas Noble). |
|
|
78 | |
|
|
79 | 4.15 Fri Mar 1 12:15:53 CET 2013 |
|
|
80 | - (libev) upgrade to 4.15 - too many changes to list. |
|
|
81 | - EV::run now returns a boolean. |
|
|
82 | - API version 5:1. |
|
|
83 | - document that cleanup watchers are not available via perl. |
|
|
84 | - cast I32 to int in error message printf. |
|
|
85 | - remove dependencies on librt and libpthreads on GNU/Linux. |
|
|
86 | |
|
|
87 | 4.11 Sat Feb 4 19:56:26 CET 2012 |
|
|
88 | - (libev) implement memory fences for (obsolete) llvm-gcc. |
|
|
89 | |
|
|
90 | 4.10 Thu Jan 19 18:54:23 CET 2012 |
|
|
91 | - (libev) fix a race where the workaround against the epoll fork |
|
|
92 | bugs caused signals to not be handled anymore. |
|
|
93 | - (libev) correct backend_fudge for most backends, and implement |
|
|
94 | a windows specific workaround to avoid looping because we call |
|
|
95 | both select and Sleep, both with different time resolutions. |
|
|
96 | - e_new wasn't declared static (causing very minor .so bloat). |
|
|
97 | - replace more old api names by new ones. |
5 | |
98 | |
6 | 4.03 Tue Jan 11 14:51:05 CET 2011 |
99 | 4.03 Tue Jan 11 14:51:05 CET 2011 |
7 | - do not avoid the clock_gettime call on GNU/Linux anymore, as EV |
100 | - do not avoid the clock_gettime call on GNU/Linux anymore, as EV |
8 | links against -lpthread anyways - as a result, EV might now take |
101 | links against -lpthread anyways - as a result, EV might now take |
9 | advantage of fast userspace clock_gettime implementations, |
102 | advantage of fast userspace clock_gettime implementations, |