| 1 |
1.28 2021-04-29 |
| 2 |
- remove C-only restriction on ->Inline method - thanks @oodler577 |
| 3 |
|
| 4 |
1.27 2018-11-17 |
| 5 |
- only Zero(Polld) if not NULL (reported by @andk, thanks!) |
| 6 |
|
| 7 |
1.26 2015-06-13 |
| 8 |
- fix doc typos (Lucas Kanashiro) |
| 9 |
|
| 10 |
1.25 2015-06-06 |
| 11 |
- Fix Event::PRIO_NORMAL call in Watcher.pm (Lucas Kanashiro) |
| 12 |
- update Changes |
| 13 |
|
| 14 |
1.24 2015-02-27 |
| 15 |
- Don't distribute MANIFEST.SKIP |
| 16 |
- Update docs & code to require perl 5.008 |
| 17 |
- Define MIN_PERL_VERSION to pass Kwalitee checks in Makefile.PL |
| 18 |
(Doran L. Barton) |
| 19 |
- Added =encoding utf8 to pass Test::Pod/Kwalitee tests. Added t/pod.t |
| 20 |
(Doran L. Barton) |
| 21 |
|
| 22 |
1.23 2014-07-09 |
| 23 |
- Add git repo |
| 24 |
- Rely on Inline "with" hook error message |
| 25 |
- use "our" not "use vars" |
| 26 |
|
| 27 |
1.22 2014-06-30 |
| 28 |
- Use updated Inline "with" hook API |
| 29 |
|
| 30 |
1.21 2012-12-14 |
| 31 |
- http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2012-12/msg00424.html |
| 32 |
(C warnings avoidance) |
| 33 |
|
| 34 |
1.20 2011-07-27 |
| 35 |
- Repair test again |
| 36 |
|
| 37 |
1.19 2011-07-24 |
| 38 |
- Really skip the bad fd test on platforms that don't support it |
| 39 |
Considering how much trouble this test has caused, I question whether |
| 40 |
it is worth keeping it. |
| 41 |
|
| 42 |
1.18 2011-06-25 |
| 43 |
- Repair test to use a truly read-only variable |
| 44 |
Fix suggested by Father Chrysostomos <[email protected]> |
| 45 |
|
| 46 |
1.17 2011-05-18 |
| 47 |
- Skip bogus fd test for GNU Hurd |
| 48 |
A test report from Nigel Horne suggested that GNU Hurd either does not |
| 49 |
support detection of bogus fds or supports it differently than Linux. |
| 50 |
I do not have Hurd available for testing so I will simply skip the test. |
| 51 |
- On windows, skip tests correctly |
| 52 |
[email protected] wrote: |
| 53 |
The module failed to pass the tests because it emitted incorrect TAP |
| 54 |
plan. After consulting with some people on IRC and looking at the TAP |
| 55 |
manual, I found the solution. It seems you were using the "old-style" |
| 56 |
TAP printouts and with the latest Test::Harness, it complains! |
| 57 |
The fix is to change those 4 tests: hup, io, reenter, and signal. You |
| 58 |
need to print one line for the skip, not two! The TAP doc can be found |
| 59 |
here: http://search.cpan.org/~petdance/TAP-1.00/TAP.pm#Skipping_tests |
| 60 |
|
| 61 |
1.15 2011-05-03 |
| 62 |
- Clarify conditions for skipping test |
| 63 |
Spotted by George Hartzell <[email protected]> |
| 64 |
|
| 65 |
1.14 2011-05-03 |
| 66 |
- change skip condition |
| 67 |
|
| 68 |
1.13 2009-09-30 |
| 69 |
- Freshen MANIFEST |
| 70 |
- Note new GIT repo location: http://gitorious.org/perl-event/mainline |
| 71 |
- Add errata for tutorial |
| 72 |
|
| 73 |
1.12 2009-08-26 |
| 74 |
- Point people to Marc Lehmann's stuff |
| 75 |
- Skip bogus fd test for armv5tejl |
| 76 |
|
| 77 |
1.11 2008-05-17 |
| 78 |
- s/double/NV/g to support uselongdouble |
| 79 |
- Make debug code compile again |
| 80 |
- Increase minimum version of perl to 5.006_003 |
| 81 |
- This test is too sensitive to load on the machine causing |
| 82 |
random failures. Better to remove it from the regression test |
| 83 |
battery. |
| 84 |
|
| 85 |
1.10 2008-01-15 |
| 86 |
- min perl 5.006 |
| 87 |
- Skip bogus_fd test on darwin. Reported by [email protected]. |
| 88 |
- Jerry D. Hedden <[email protected]> and Ævar Arnfjörð |
| 89 |
Bjarmason <[email protected]> correctly diagnosed that a recent |
| 90 |
change in perl (#31130, FETCH/STORE/LENGTH callbacks for numbered capture |
| 91 |
variables) caused $1 to loose its read-only-ness hence breaking test 6. |
| 92 |
Zefram <[email protected]> suggested using $$ instead. I have not tested |
| 93 |
this patch but it seems trivial enough. |
| 94 |
|
| 95 |
1.09 2007-05-22 |
| 96 |
- doc git location git://nirmalvihar.info/home/joshua/event.git |
| 97 |
|
| 98 |
1.08 2006-11-01 |
| 99 |
- Add casts to quell warnings as suggested by [email protected]. |
| 100 |
|
| 101 |
1.07 2006-10-10 |
| 102 |
- Marc Lehmann <[email protected]> suggests using mg_ptr instead |
| 103 |
of mg_obj. Sounds good to me. |
| 104 |
|
| 105 |
1.06 2005-05-14 |
| 106 |
- Fix 64 bit issue. Encouraged by Eric Rybski <[email protected]>. |
| 107 |
|
| 108 |
1.05 2005-04-24 |
| 109 |
- Fix ancient memory leak in loop() noticed by Nikita Savin |
| 110 |
<[email protected]>. |
| 111 |
|
| 112 |
1.04 2005-03-29 |
| 113 |
- Preliminary /dev/poll support from Michael Pergament |
| 114 |
<[email protected]>. As of yet, there is no config test to |
| 115 |
turn on this code. Patches welcome. |
| 116 |
|
| 117 |
1.03 2005-01-31 |
| 118 |
- Apply Win32 patch from Graciliano M. P. <[email protected]>. |
| 119 |
|
| 120 |
1.02 2004-12-08 |
| 121 |
- Generic watchers: implementation, documentation, and tests. |
| 122 |
- Documentation refinements. |
| 123 |
|
| 124 |
1.01 2004-11-29 |
| 125 |
- Event.xs: Due to popular demand, queue_pending() is now a public |
| 126 |
API, for better or worse. Beware of race conditions. |
| 127 |
- A var watcher can currently be created with no variable to |
| 128 |
watch, provided of course that it is parked. However, once a |
| 129 |
variable has been set, the watcher cannot be returned to the |
| 130 |
no-variable state. The variable to watch can be changed, but the |
| 131 |
watcher rejects any attempt to set the reference to undef. |
| 132 |
Applied a patch to allow the variable reference of a var watcher |
| 133 |
to be set to undef. |
| 134 |
- Applied patch to clarify the documentation (with tweaks from |
| 135 |
Joshua). |
| 136 |
|
| 137 |
1.00 2004-05-14 |
| 138 |
- c/watcher.c (pe_watcher_now): Check for a missing callback, not |
| 139 |
only a missing perl callback. Marc A. Lehmann <[email protected]> |
| 140 |
- lib/Event.pm (import): Make NO_TIME_HIRES actually work. Jerry |
| 141 |
D. Hedden <[email protected]> |
| 142 |
- c/signal.c (pe_signal_stop): When a signal watcher stops, the |
| 143 |
signal counter is cleared. Otherwise the signal watcher can |
| 144 |
generate one last event after being stopped, which is a |
| 145 |
bug. (Pointed out by Zefram <[email protected]>) |
| 146 |
|
| 147 |
0.88 2004-04-21 |
| 148 |
- lib/Event.pm: Simplify hooking into Time::HiRes. Add a |
| 149 |
NO_HIRES_TIME export_ok symbol to turn off the probing. |
| 150 |
- Event.xs: Remove U2time. Remove install_time_api(). |
| 151 |
- lib/Event.pod: More refinement from Zefram <[email protected]>. |
| 152 |
- lib/Event.pod: ($watcher->pending & signal watchers): More |
| 153 |
specific description by Zefram <[email protected]>. |
| 154 |
- c/watcher.c (pe_watcher_now): Fix SEGV reported by Zefram |
| 155 |
<[email protected]>. Add test. |
| 156 |
- lib/Event.pod (timer): Correction by Randal L. Schwartz |
| 157 |
<[email protected]>. |
| 158 |
- lib/Event.pod (timer): Doc clarification ([email protected]). |
| 159 |
|
| 160 |
0.87 2003-02-18 |
| 161 |
- c/var.c (tracevar_r, tracevar_w): Fix declaration for recent |
| 162 |
versions of perl (patch from Nick Eggleston <[email protected]>). |
| 163 |
|
| 164 |
0.86 2002-05-25 |
| 165 |
- c/unix.c: Solaris works better without POLLWRBAND (Clemens |
| 166 |
Schrimpe <[email protected]>). |
| 167 |
|
| 168 |
0.85 2002-02-01 |
| 169 |
- Apply patch from Allen Smith <[email protected]> |
| 170 |
to avoid infinite polling loop on some select implementations. |
| 171 |
Also reported by Marc Lehmann <[email protected]>. |
| 172 |
|
| 173 |
0.84 2002-01-23 |
| 174 |
- Doc StarvePrio (Allen Smith <[email protected]>). |
| 175 |
- Remove IRIX special casing. Reports indicate that new versions |
| 176 |
of IRIX don't need any hacks. (Allen Smith <[email protected]>) |
| 177 |
|
| 178 |
0.83 2001-06-22 |
| 179 |
- Waste less time in timeable.c. (Peter Lombard <[email protected]>) |
| 180 |
|
| 181 |
0.82 2001-06-21 |
| 182 |
- Stop watcher if $w->cb(undef) (Damien Neil <[email protected]>) |
| 183 |
|
| 184 |
0.81 2001-01-31 |
| 185 |
- Fix callback.t fail without Time::HiRes. |
| 186 |
- Fix typo in EventAPI.h. |
| 187 |
|
| 188 |
0.80 2000-12-07 |
| 189 |
- Update Tutorial.pdf to Jochen's latest. |
| 190 |
- Remove silly warning on $io->poll(T). |
| 191 |
- Fix $DIED doc. ([email protected]) |
| 192 |
- Change C callback prototype to (void(*)(pe_event*)) |
| 193 |
at request of Jochen. |
| 194 |
- Warn if loop without active watchers. |
| 195 |
- Slightly more reliable default_exception_handler. |
| 196 |
- Inline 0.30 integration ([email protected]) |
| 197 |
|
| 198 |
0.79 2000-11-17 |
| 199 |
- Removed Event/inactivity.pm |
| 200 |
- #undef HAS_POLL for sgi ([email protected]) |
| 201 |
- Moved REENTRANT & HARD flags to EventAPI.h. (Jochen) |
| 202 |
- Removed obsolete CBTIME flag. (Jochen) |
| 203 |
- EventAPI += sv_2interval. (Jochen) |
| 204 |
- Applied patch for IRIS poll() from [email protected] |
| 205 |
- EventAPI += unloop_all. |
| 206 |
|
| 207 |
0.78 2000-05-24 |
| 208 |
- Invoke Carp::carp for internal warnings. |
| 209 |
- Fix SEGV triggered when Event-Stats is enabled while loop is |
| 210 |
nested. |
| 211 |
|
| 212 |
0.77 2000-05-12 |
| 213 |
- Fixed an obscure SEGV discovered by [email protected]. |
| 214 |
- EventAPI += NVtime. |
| 215 |
|
| 216 |
0.76 2000-04-26 |
| 217 |
- Fixed a horribly subtle bug in the handling of reentrant |
| 218 |
INVOKE1-style watchers (e.g. a timer) in nested loops. Added |
| 219 |
test. This change also removes at least one conditional from a |
| 220 |
hot code path. |
| 221 |
- EventAPI += unloop. |
| 222 |
|
| 223 |
0.75 2000-04-24 |
| 224 |
- Attributes called in "set" mode now return the new value. |
| 225 |
- Renamed data() to private() and added back the old data(). |
| 226 |
Added tests & updated the pod. |
| 227 |
|
| 228 |
0.74 2000-04-19 |
| 229 |
- Resolved data() quandary. Added test. |
| 230 |
- Updated perlqt.t example. |
| 231 |
- Spell checked pod. |
| 232 |
|
| 233 |
0.73 2000-03-24 |
| 234 |
- Fix for 5.6.0 with implicit context enabled. |
| 235 |
- Rename unix_io.c -> unix.c in anticipation of Win32 support. |
| 236 |
- Offer assurance about future compatibility (docs). |
| 237 |
|
| 238 |
0.72 2000-03-10 |
| 239 |
- Rename NetServer::ProcessTop -> NetServer::Portal. |
| 240 |
- Removed unused QUEUED & RUNNING flags. |
| 241 |
- Made pending() aware of context. Added tests. |
| 242 |
|
| 243 |
0.71 2000-03-03 |
| 244 |
- Moved LoopLevel & ExitLevel from Perl to C, squeezing out some |
| 245 |
potential bugs. |
| 246 |
- Fixed SEGV triggered if $DebugLevel >= 4. |
| 247 |
- Warn on unmatched unloop. |
| 248 |
- Added Tutorial.pdf (by Jochen). |
| 249 |
- Moved semaphore & msg into demo directory. No one has ever |
| 250 |
asked for them to be finished, so they aren't. |
| 251 |
|
| 252 |
0.70 2000-02-25 |
| 253 |
- Fix bug in select() engine spotted by [email protected] |
| 254 |
- Prune demo directory. |
| 255 |
- Add repeat.t demo. ([email protected]) |
| 256 |
- Add perlqt.t demo. |
| 257 |
|
| 258 |
0.69 2000-02-18 |
| 259 |
- Tweak documentation. |
| 260 |
|
| 261 |
0.68 2000-02-15 |
| 262 |
- More careful checking of |
| 263 |
intervals. (suggested by [email protected]) |
| 264 |
- Fix yet another typemap bug. ([email protected]) |
| 265 |
- Make io default to poll=r; more stringent start test; |
| 266 |
fix demo/stdin.t (suggested by [email protected]) |
| 267 |
|
| 268 |
0.67 2000-02-09 |
| 269 |
- Fix bomb in group watchers. ([email protected]) |
| 270 |
- Fixed another bug introduced in 0.61. (Insure++) |
| 271 |
- Tighten typemap. |
| 272 |
- Warn about non-existant methods. |
| 273 |
|
| 274 |
0.66 2000-02-08 |
| 275 |
- Fix horrendously subtle bug uncovered by Event-tcp. |
| 276 |
- Eliminate (hopefully all) silent failures. |
| 277 |
- Restrict var watchers to |
| 278 |
scalars. ([email protected] is too creative) |
| 279 |
|
| 280 |
0.65 2000-02-07 |
| 281 |
- Group watchers for watching watchers. See demo/group.t |
| 282 |
- Fix got() documentation, spotted by |
| 283 |
[email protected] |
| 284 |
- Make callback a prerequisite for starting watchers. |
| 285 |
- Add test checking FIFO dispatch of equal priority events. |
| 286 |
|
| 287 |
0.64 2000-02-04 |
| 288 |
- Applied patch from [email protected] that allows one to obtain the |
| 289 |
number of events a watcher has pending in the event queue. Also, |
| 290 |
included was a cosmetic fix for the typemap. |
| 291 |
- Load the basic watcher types by default. |
| 292 |
- Adjust hup.t test ([email protected]). |
| 293 |
|
| 294 |
0.63 2000-02-03 |
| 295 |
- Allow var watchers to watch the same variable. |
| 296 |
- Deprecated AUTOLOAD of Event->$type. (Nick & Graham) |
| 297 |
- Reworked priority documentation based on comments from |
| 298 |
[email protected]. |
| 299 |
|
| 300 |
0.62 2000-02-01 |
| 301 |
- Allow implied stop() if required attributes are explicitly unset. |
| 302 |
|
| 303 |
0.61 2000-01-31 |
| 304 |
- is_cancelled() method (requested by |
| 305 |
[email protected]) |
| 306 |
- Doc updates. |
| 307 |
- Prevent starting unconfigured or badly configured |
| 308 |
watchers. Added tests. ([email protected]) |
| 309 |
XXX DANGER! THIS CHANGE CAN BREAK EXISTING CODE !DANGER XXX |
| 310 |
- Refuse to start cancelled watchers. Added test & updated doc. |
| 311 |
([email protected]). |
| 312 |
- If parked=>1 then the constructor will not invoke |
| 313 |
$watcher->start(). ([email protected]) |
| 314 |
|
| 315 |
0.60 2000-01-26 |
| 316 |
- Added $watcher->data() attribute. (This is Uri Guttman |
| 317 |
<[email protected]>'s fault.) |
| 318 |
- Fixed refcnt problem caused by extra invocations of cancel() |
| 319 |
(Discovered by [email protected].) Added test. |
| 320 |
|
| 321 |
0.59 2000-01-20 |
| 322 |
- Fixed serious memory leak (isolated by |
| 323 |
[email protected]). Added t/leak2.t. |
| 324 |
- Doc for timeout_cb (demanded by [email protected] :-). |
| 325 |
- Added demo/variable_timer.t along with minor doc |
| 326 |
update. ([email protected]) |
| 327 |
|
| 328 |
0.58 1999-11-22 |
| 329 |
- timeout_cb for io watchers. Added test. (suggested by Uri |
| 330 |
Guttman <[email protected]>) |
| 331 |
- Copy the callback specification from watcher to event for |
| 332 |
flexibility. |
| 333 |
- Removed support for clump. The performance trade-off for this |
| 334 |
feature was probably unmeasurable. Now it's definitely |
| 335 |
unmeasurable. :-) |
| 336 |
- Rename Ev* macros to Wa* to make room for new Ev macros. |
| 337 |
- Remove EvNOW macro. |
| 338 |
- Added demo/readline.t. ([email protected]) |
| 339 |
|
| 340 |
0.57 1999-10-06 |
| 341 |
- Memory leak fixed: ioevents were being retired to the wrong |
| 342 |
freelist. ([email protected]) |
| 343 |
- Document is_active/is_suspended. ([email protected]) |
| 344 |
- Skip hup.t on Win32. ([email protected]) |
| 345 |
|
| 346 |
0.56 1999-09-22 |
| 347 |
- Fixed detection of EOF. Added test. (Gisle Aas) |
| 348 |
- Figured out the strange pipe symantics on AIX and modified the |
| 349 |
io.t test to cope. ([email protected]) |
| 350 |
|
| 351 |
0.55 1999-09-13 |
| 352 |
- Changes for clean threaded build against 5.5.61. Unfortunately, |
| 353 |
this breaks threaded 5.5.3. If this is a problem for you then |
| 354 |
send patches. The threading variations in the devel track are |
| 355 |
driving me crazy. ([email protected]) |
| 356 |
- Fixed coredump trigger by attach_to test ([email protected]). |
| 357 |
|
| 358 |
0.54 1999-09-10 |
| 359 |
- Improved cb(...) diagnostics. Added tests. |
| 360 |
- Devel-PPPort ([email protected] of [email protected]). |
| 361 |
- If a file is unexpectedly closed, the io watcher is no longer |
| 362 |
stopped. Instead the file handle is reset. This symantic allows |
| 363 |
io timeouts to continue to trigger and should make recovery |
| 364 |
simpler. Added tests. |
| 365 |
- Prohibit attach_to blessed refs. Added test. |
| 366 |
- Minor doc updates. |
| 367 |
|
| 368 |
0.53 1999-09-09 |
| 369 |
- Fix Event::MakeMaker to pick the correct install directory. |
| 370 |
- This release is NOT binary compatible with 0.52! |
| 371 |
- Obscure potential typemap bugs fixed. |
| 372 |
- Reworked the typemap to avoid the exotic 5.6 self-tied hash |
| 373 |
mechanism. It should now be fairly easy to backport Event to |
| 374 |
older versions of perl. |
| 375 |
- In the tradition of adding innovative (or at least strange) |
| 376 |
features to Event, constructors now accept (attach_to=>$ref). |
| 377 |
This will cause the watcher to attach its information to the given |
| 378 |
$ref instead of to a fresh anonymous hash ref. For backwards |
| 379 |
compatibility the default is still an anonymous hash. |
| 380 |
- Removed a bunch of deprecated features. |
| 381 |
- Reformatted the source to be more consistent (if not beautiful). |
| 382 |
|
| 383 |
0.52 1999-08-18 |
| 384 |
- Moved t/inactivity.t to demo/ because it fails occationally and |
| 385 |
I don't have time to figure it out. You might say that it takes |
| 386 |
too much time to write a good test of inactivity. |
| 387 |
- Make mention of Time::Warp. |
| 388 |
- Don't complain about Time::HiRes ([email protected]) |
| 389 |
- Skip t/idle2.t if Time::HiRes is unavailable ([email protected] & |
| 390 |
[email protected]). |
| 391 |
|
| 392 |
0.51 1999-07-23 |
| 393 |
- Notice bogus fds in both poll & select. Added test. |
| 394 |
- Make mention of the mailing list archive. |
| 395 |
- Don't request benchmark results ([email protected]). |
| 396 |
|
| 397 |
0.50 1999-07-15 |
| 398 |
- A few Win32 tweaks to get working tests to pass (jan.dubois). |
| 399 |
- Minor cleanup in preparation for 0.50. |
| 400 |
|
| 401 |
0.44 1999-06-30 |
| 402 |
- Release 0.44 (thanks: [email protected]). |
| 403 |
- Renamed abort() to scrub() to avoid clashing with Perl's abort. |
| 404 |
- Removed remaining dependency on gettimeofday. |
| 405 |
- C++ clean. |
| 406 |
|
| 407 |
0.43 1999-06-22 |
| 408 |
- Tweaks for threaded compile ([email protected]). |
| 409 |
|
| 410 |
0.42 1999-06-19 |
| 411 |
- Rename event.c -> ev.c (Jan Dubois). |
| 412 |
- Split flags into individual methods: is_running, is_active, |
| 413 |
is_suspended, is_queued. |
| 414 |
- Repaired default_exception_handler. |
| 415 |
|
| 416 |
0.41 1999-05-19 |
| 417 |
- Added attributes() and configure() methods. |
| 418 |
- When using eval {} inside a callback, $@ could fool Event into |
| 419 |
thinking that an exception is being thrown. |
| 420 |
- Moved attributes from hash entries to methods. |
| 421 |
- Fix unloop(''). |
| 422 |
- Regularize event constructors. |
| 423 |
- Doc fixes catalyzed by [email protected]. |
| 424 |
- Fix broken t/eval.t. |
| 425 |
- More conservative refcnt policy for watchers. |
| 426 |
- Rename 'mom' to 'w'. |
| 427 |
- Deprecate the accessing of watcher attributes via events. |
| 428 |
- Fix PL_ macros again. (*Argh!*) |
| 429 |
- Redesign typemap. |
| 430 |
- Make 'e_cbtime' available from perl. Added test. |
| 431 |
- Return unloop_all($arg) from loop(). |
| 432 |
- Make compile with threaded perl. |
| 433 |
- Documentation updates and reorganization. |
| 434 |
- Switch inactivity from e_interval to e_timeout. |
| 435 |
- Plug typemap holes. Implementation still needs improvement. |
| 436 |
- Make io timeout respect e_repeat. ([email protected]). |
| 437 |
|
| 438 |
0.33 1999-03-30 |
| 439 |
- Store 'e_max_cb_tm' and hand-off to stats engine. |
| 440 |
- Morph events into watchers when they go out of scope. |
| 441 |
- Refine typemap fix. |
| 442 |
|
| 443 |
0.32 1999-03-15 |
| 444 |
- Apply typemap fix as per [email protected]. |
| 445 |
|
| 446 |
0.31 1999-03-09 |
| 447 |
- Simplified typemap in an attempt to squash bugs. |
| 448 |
- Search @INC in Event::MakeMaker. |
| 449 |
- Make io timers non-repeating. |
| 450 |
- Relax io watchers more. Now they can be started with either e_fd |
| 451 |
or e_timeout or both or neither. |
| 452 |
- Allow creation of io watchers without a valid e_fd. Should |
| 453 |
probably do the same with the rest of the watcher types. |
| 454 |
- Added e_suspend. Do we keep the 'suspend' and 'resume' methods? |
| 455 |
- Fixed refcnt problem triggered by deleting hash entries. Added test. |
| 456 |
- Avoid qr// in keys.t. |
| 457 |
- Reroute C-API croak through Carp::croak. Added test. |
| 458 |
- Removed backward compatibility up to 0.24 (inclusive). |
| 459 |
- Factored event init/dtor code. |
| 460 |
- Added 'callback' hooks. Updated docs. |
| 461 |
|
| 462 |
0.30 1999-02-04 |
| 463 |
- Constructors now populate the watcher hash with any extra |
| 464 |
unrecognized key-value pairs. |
| 465 |
- Better typemap diagnostics. There seem to be bugs lurking but I |
| 466 |
can't construct a short test case... |
| 467 |
- Arrange for events to have the same careful typemap treatment as |
| 468 |
do watchers. Added test. |
| 469 |
- Unplugged Time::Virtual (suggested mainly by Sarathy, Nick and |
| 470 |
Graham). See patches/time-hires. |
| 471 |
- Added AllWatchers & typemap functions to the public API. |
| 472 |
- Moved Event::Stats to a separate tarball. I wonder if the stats |
| 473 |
API is too restrictive? |
| 474 |
- Split Event::Watcher code into a separate file for intuitive |
| 475 |
importing via 'use' (suggested by [email protected]). |
| 476 |
- Fix SEGV in keys %$event ([email protected] & |
| 477 |
[email protected]). Added test. |
| 478 |
- Tweaks to diagnostics. |
| 479 |
- Event destruction now must be managed explicitly. Use the |
| 480 |
'stop' method to disable a watcher and use 'cancel' to destroy a |
| 481 |
watcher. This change is an unfortunate necessity because of |
| 482 |
optimizations in perl's reference counting. |
| 483 |
- Suspend & cancel now abort any pending events. In previous |
| 484 |
releases, the callback could be called after cancel in some cases. |
| 485 |
- Replaced newHVhv. Some versions of perl have a buggy implementation. |
| 486 |
- Fixed a few minor problems detected by Insure++. |
| 487 |
- Fixed typos in croak messages. |
| 488 |
- Generous updates to Event.pod. |
| 489 |
- Renamed (lots of) keys. |
| 490 |
- Added 'use_keys' method. Comments? |
| 491 |
- (Try to) remove support for leading dashes (any left?). |
| 492 |
- Factor out code to Time::Virtual (& Time::HiRes). |
| 493 |
- Moved process.pm to demo directory. |
| 494 |
- Added discussion of event loops vs. threads (kudos to [email protected] & fellow loop'ers). |
| 495 |
|
| 496 |
0.25 1998-11-20 |
| 497 |
- Move SAVETMPS/FREETMPS up to Event::_loop. |
| 498 |
- Split ACTIVE flag into two separate flags, ACTIVE & POLLING, to |
| 499 |
more accurately track watcher state. |
| 500 |
- Tweaks to io 'events' mask handling. |
| 501 |
- Move @EXPORT_OK list for qw(R W E T) to Event::Watcher. |
| 502 |
- Fix SEGV in all_watchers/all_idle if zero watchers present. |
| 503 |
- Nuke obsolete backward support code in io.c. (Poll constants to |
| 504 |
set event mask.) |
| 505 |
- Rename event_vtbl->watcher. |
| 506 |
|
| 507 |
0.24 1998-11-01 |
| 508 |
- Reengineered hash-object implementation to use HVs. |
| 509 |
- Removed tailpoll support from io watchers. File::Tail can just |
| 510 |
hook up with timers & a generic "block on read" API can be built |
| 511 |
on top of that if need arises. Nick, this okay? |
| 512 |
- Split watchers & events into separate C structures. |
| 513 |
- Fixed misbehaving autoload code. |
| 514 |
- END hook to cancel all events before global destruction. Still |
| 515 |
needs more work to be sure the memory is freed. |
| 516 |
- Fixed bad arithmetic in io timeout code. Renamed interval |
| 517 |
epsilon and added better diagnostics (see Event::_timeout_too_early). |
| 518 |
- Timers cancelled within their callback weren't! Fixed. |
| 519 |
- Fix typo in c/queue.c (thanks again Jan!). |
| 520 |
|
| 521 |
0.23 1998-10-18 |
| 522 |
- Unified Perl & C API for hooks. |
| 523 |
- Niggles for Win32 (thanks Jan!). |
| 524 |
|
| 525 |
0.22 1998-10-17 |
| 526 |
- Include copy of self-tie patch with dist. |
| 527 |
- Documentation for Event::MakeMaker. |
| 528 |
- tailpoll revamped. |
| 529 |
- MIN_PERL_DEFINE clean. |
| 530 |
- Improve sv_2interval typemap. |
| 531 |
|
| 532 |
0.21 1998-10-08 |
| 533 |
- Try to normalize benchmark. |
| 534 |
- 'now' was broken for inactive events. Fixed & added test. |
| 535 |
- Fixed infinite loop triggered by botched exception recovery. |
| 536 |
|
| 537 |
0.20 1998-10-06 |
| 538 |
- Rename inactive to inactivity. |
| 539 |
- Use new self-tie to wrap watcher objects. Leak test now passes |
| 540 |
for almost all watcher types. |
| 541 |
- Slight improvements to gettimeofday.c. |
| 542 |
- Merged c_callback & perl_callback into one pointer slot. |
| 543 |
- Added timeable methods to the public API. |
| 544 |
- Var watchers weren't working very well. Set up events/got mask |
| 545 |
stuff mirroring io watchers. Added tests. Does anyone really |
| 546 |
want timeouts? |
| 547 |
|
| 548 |
0.19 1998-10-03 |
| 549 |
- Put in code for tailpoll, but I can't tell if it works because |
| 550 |
the tail-f behavior seems to already happen automatically. |
| 551 |
Comments? See demo/tail.t. |
| 552 |
- Added inactive watchers (& tests). |
| 553 |
- timeable API changes to allow multiple timers per watcher. |
| 554 |
- Fixed non-ANSI function declaration in c/signal.c |
| 555 |
- Reduced C API. |
| 556 |
- Renamed queueEvent to queue. |
| 557 |
- Fixed refcnt problem in DELETE. |
| 558 |
- Dashes depreciated. |
| 559 |
- Added -timeout to process watchers. Might be useful. |
| 560 |
- Fixed typo induced polling in one_event. |
| 561 |
- Moved R/W/E/T flags to Event from Event::io. |
| 562 |
- Changed the arguments to $Event::DIED in order to cope with |
| 563 |
$Event::DIED dieing. Fixed sweep exception handling. Added test. |
| 564 |
- Watchers created with the C API now should require their perl |
| 565 |
support code automatically. Moved idle support to an autoloaded |
| 566 |
pm. |
| 567 |
- Added sweep & loop($timeout). Fixed sleep. |
| 568 |
|
| 569 |
0.18 1998-10-02 |
| 570 |
- Added non-working export_fail prototype. Suggestions welcome. |
| 571 |
- Re-factored start & stop better (the preCB method is gone). |
| 572 |
- Finished up sleep(). Added tests. |
| 573 |
- Tied watchers are now based on pe_tmevent. |
| 574 |
- Applied patch from Gisle for pe_sys_sleep/select. |
| 575 |
- Renamed 'watchvar' to 'var'. |
| 576 |
- Added tests for 'now' (it was completely broken!). |
| 577 |
- Tweaked debug levels. Someone needs to inventory debug warnings |
| 578 |
are decide what is reasonable. |
| 579 |
|
| 580 |
0.17 1998-10-01 |
| 581 |
- Added tests. |
| 582 |
- Added sleep(). Truly a tortuous experience. |
| 583 |
- Added min/max interval to idle watchers. |
| 584 |
- c_callback no longer prevents watcher destruction. Use refcnt! |
| 585 |
- Renamed various C APIs for accuracy (unix_io.c). |
| 586 |
- Reentrant flag added. |
| 587 |
- loop() now terminates when there are no active watchers left. |
| 588 |
- Depreciated async. Moved -priority to -nice & added warning. |
| 589 |
- Fixed minor stuff. |
| 590 |
- Make io timeouts work for real. (Thanks Gisle :-) |
| 591 |
|
| 592 |
0.15 1998-09-29 |
| 593 |
- Improved the EventAPI.h version check. |
| 594 |
- Added -timeout for io watchers. Untested. |
| 595 |
- Fix io watcher bugs (unix_io.c) pointed out by Gisle Aas. |
| 596 |
|
| 597 |
0.14 1998-09-28 |
| 598 |
- Gutted the internals to make events reentrant. |
| 599 |
- The $Now cache was not being refreshed and that was causing |
| 600 |
timers to be queued, well, never. |
| 601 |
- Fixed whitespace in Event.pod. (Gisle Aas again.) |
| 602 |
- Optimized priority queue (hopefully). I probably should have |
| 603 |
benchmarked it first. :-P |
| 604 |
|
| 605 |
0.13 1998-09-27 |
| 606 |
- Moved and renamed lots of methods. Yet, added code to ease backward compatibility. (perl-loop suggested) |
| 607 |
- Integrated rewritten documentation contributed by Gisle Aas. Thanks! |
| 608 |
|
| 609 |
0.12 1998-09-22 |
| 610 |
- Event::MakeMaker & event_api.h. |
| 611 |
- Add 'total' stat. Moved stat methods to Event::Loop package. |
| 612 |
|
| 613 |
0.11 1998-09-11 |
| 614 |
- Regularized exception handling. $Event::DIED is now called if an event dies. |
| 615 |
- Allow timer interval to be a scalar ref. |
| 616 |
- Tweaked queue scheduling. Events with priorities <= 5 now starve if higher priority events are available. |
| 617 |
- Changing the event priority of a queued event will now reque the event into the appropriate queue. |
| 618 |
- Split NetServer::ProcessTop into it's own tarball. |
| 619 |
|
| 620 |
0.10 1998-09-03 |
| 621 |
- Fixed serious bug in the event destructor. |
| 622 |
- Accept file descriptor numbers in addition to filehandles, etc. |
| 623 |
Maybe non-portable, but nice for unixen. |
| 624 |
- Fixed repeating timer logic. Tweaks for idle events. |
| 625 |
- Completed re-write of almost everything in C. |
| 626 |
- NetServer::ProcessTop implements a top-style control panel |
| 627 |
available via telnet ($$ % 7000). See util/top.pl. |
| 628 |
- Proxy "tied" event type that allows completely perl-side |
| 629 |
implementation of new event handlers. |
| 630 |
- Event::process is working again (implementation is entirely in perl). |
| 631 |
- Eliminated race conditions in signal handling. |
| 632 |
- Zombie events are still not being collected due to mysterious |
| 633 |
refcnt problems. It is possible that this cannot be resolved |
| 634 |
until perl implements tied hashes properly (through a VTBL!). |
| 635 |
- Removed $Event::*::Count since it is superceded by |
| 636 |
NetServer::ProcessTop. |
| 637 |
|
| 638 |
0.08 1998-08-14 |
| 639 |
- C rewrite |
| 640 |
|
| 641 |
0.07 1998-08-05 |
| 642 |
- test callbacks |
| 643 |
- doc queuing |
| 644 |
- remove debugging |
| 645 |
|
| 646 |
0.06 1998-07-24 |
| 647 |
- parameterise register method so 'check' not fixed method but callback |
| 648 |
- doc priorities |
| 649 |
- doc callbacks |
| 650 |
|
| 651 |
0.05 1998-07-20 |
| 652 |
- queuing, waiting |
| 653 |
- Status method |
| 654 |
|
| 655 |
0.04 1998-07-20 |
| 656 |
- registering forces class to be child of Event |
| 657 |
- add waitForEvents |
| 658 |
|
| 659 |
0.03 1998-07-18 |
| 660 |
- Event::watchvar now passes $ref to callback |
| 661 |
- added use attrs qw(locked method) to all subs, and code to |
| 662 |
ensure this will work on pre-threaded perl |
| 663 |
- Event.xs Fixed so will compile with threaded perl |
| 664 |
- Event::timer Added -hard option |
| 665 |
- Tweaks to keys dispatchAsyncEvents() |
| 666 |
- added Time::HiRes |
| 667 |
- moved idle events into sub-module |
| 668 |
- Makefile.PL removed INSTALLDIRS => 'perl' |
| 669 |
|
| 670 |
0.01 1998-01-26 |
| 671 |
- Initial |