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 | |
|
|
34 | 4.22 Sun Dec 20 02:34:39 CET 2015 |
|
|
35 | - (libev) when epoll detects unremovable fds in the fd set, rebuild |
|
|
36 | only the epoll descriptor, not the signal pipe, to avoid |
|
|
37 | SIGPIPE in ev_async_send. This doesn't solve it on fork, |
|
|
38 | so document what needs to be done in ev_loop_fork |
|
|
39 | (analyzed by Benjamin Mahler). |
|
|
40 | - (libev) remove superfluous sys/timeb.h include on win32 |
|
|
41 | (analyzed by Jason Madden). |
|
|
42 | - updated libecb. |
|
|
43 | |
|
|
44 | 4.21 Mon Jul 13 21:47:33 CEST 2015 |
|
|
45 | - allow argument in timer->again. |
|
|
46 | - document timer->remaining. |
|
|
47 | - document default repeat value for timer->set. |
|
|
48 | |
|
|
49 | 4.20 Sat Jun 20 13:07:34 CEST 2015 |
|
|
50 | - added stability canary support. |
|
|
51 | - truly rely on automatic configuration for clock_gettime and others. |
|
|
52 | unfortunately, this doesn't help with activeperl and similar perls, |
|
|
53 | which define _POSIX_TIMERS without actually implementing any of it. |
|
|
54 | - (libev, ecb) make it compile as C++ again. |
|
|
55 | - (libev) fix a potential aliasing issue when accessing watcher cbs. |
|
|
56 | |
|
|
57 | 4.18 Sat Sep 6 20:37:23 CEST 2014 |
|
|
58 | - use slightly better weay to find includes, to support multiarch |
|
|
59 | on newer perls. |
|
|
60 | |
|
|
61 | 4.17 Fri Apr 11 06:22:38 CEST 2014 |
|
|
62 | - perl5porters broke Async::Interrupt, BDB, EV, IO::AIO, OpenCL |
|
|
63 | without warning by switching the meaning of USE_SOCKETS_AS_HANDLES |
|
|
64 | in 5.18. What's so attractive about giving a shit about backwards |
|
|
65 | compatibility - I will never understand. |
|
|
66 | |
|
|
67 | 4.16 Sat Mar 8 16:49:05 CET 2014 |
|
|
68 | - make sure EV::CHECK is available at all times. |
|
|
69 | - avoid a spurious warning when perl -w overrides "no warnings". |
|
|
70 | - use perl's signal implementation on WIN32. |
|
|
71 | - ensure extern "C" function pointers are used for externally-visible |
|
|
72 | pointers. |
|
|
73 | - (libev) mark event pipe fd as cloexec after a fork (analyzed by Sami Farin). |
|
|
74 | - (ecb) support m68k, m88k and sh (patch by Miod Vallat). |
|
|
75 | - (libev) in the absence of autoconf, do not use the clock syscall |
|
|
76 | on glibc >= 2.17 (avoids the syscall AND -lrt on systems |
|
|
77 | doing clock_gettime in userspace). |
|
|
78 | - (ecb) work around memory barriers and volatile apparently both being |
|
|
79 | broken in visual studio 2008 and later (analysed and patch by Nicolas Noble). |
|
|
80 | |
|
|
81 | 4.15 Fri Mar 1 12:15:53 CET 2013 |
|
|
82 | - (libev) upgrade to 4.15 - too many changes to list. |
|
|
83 | - EV::run now returns a boolean. |
|
|
84 | - API version 5:1. |
|
|
85 | - document that cleanup watchers are not available via perl. |
|
|
86 | - cast I32 to int in error message printf. |
|
|
87 | - remove dependencies on librt and libpthreads on GNU/Linux. |
|
|
88 | |
|
|
89 | 4.11 Sat Feb 4 19:56:26 CET 2012 |
|
|
90 | - (libev) implement memory fences for (obsolete) llvm-gcc. |
|
|
91 | |
|
|
92 | 4.10 Thu Jan 19 18:54:23 CET 2012 |
|
|
93 | - (libev) fix a race where the workaround against the epoll fork |
|
|
94 | bugs caused signals to not be handled anymore. |
|
|
95 | - (libev) correct backend_fudge for most backends, and implement |
|
|
96 | a windows specific workaround to avoid looping because we call |
|
|
97 | both select and Sleep, both with different time resolutions. |
|
|
98 | - e_new wasn't declared static (causing very minor .so bloat). |
|
|
99 | - replace more old api names by new ones. |
|
|
100 | |
|
|
101 | 4.03 Tue Jan 11 14:51:05 CET 2011 |
|
|
102 | - do not avoid the clock_gettime call on GNU/Linux anymore, as EV |
|
|
103 | links against -lpthread anyways - as a result, EV might now take |
|
|
104 | advantage of fast userspace clock_gettime implementations, |
|
|
105 | but also links against -lrt. |
|
|
106 | - (libev) lots of event port bug workarounds. |
|
|
107 | - (libev) officially support files in I/O watchers. |
|
|
108 | - (libev) new function ev_feed_signal. |
|
|
109 | - fix documentation parts still refering to the 3.x API. |
|
|
110 | |
|
|
111 | 4.02 Thu Dec 30 08:27:41 CET 2010 |
|
|
112 | - the revents argument did not stringify correctly, as only the |
|
|
113 | numeric value was updated, while the string value was kept from |
|
|
114 | previous invocations. |
|
|
115 | |
|
|
116 | 4.01 Sun Dec 5 12:42:13 CET 2010 |
6 | - fully support EV_COMPAT3=0. |
117 | - fully support EV_COMPAT3=0. |
7 | - default_fork was stupidly defined as inline. |
118 | - default_fork was stupidly defined as inline. |
8 | - ask cpan to upgrade AnyEvent if < 5.29. |
119 | - ask cpan to upgrade AnyEvent if < 5.29. |
|
|
120 | - support EV_EXTRA_DEFS during configuration. |
|
|
121 | - support -DEV_NO_LOOPS for snakker build. |
9 | |
122 | |
10 | 4.00 Mon Oct 25 13:30:09 CEST 2010 |
123 | 4.00 Mon Oct 25 13:30:09 CEST 2010 |
11 | - many API changes, see the manual. |
124 | - many API changes, see the manual. |
12 | - (libev) lots and lots of bugfixes, see the ev documentation. |
125 | - (libev) lots and lots of bugfixes, see the ev documentation. |
13 | - fix a bug where inotify usage would parse the same event |
126 | - fix a bug where inotify usage would parse the same event |