Correct typo in Time::HiRes tests introduced by patch 26383
[p5sagit/p5-mst-13.2.git] / ext / Time / HiRes / Changes
CommitLineData
dcf686c9 1Revision history for Perl extension Time::HiRes.
2
170c5524 31.85 [2005-12-16]
4 - the interface to clock_nanosleep() is more natural
5 when it is like (hires) time() (instead of like nanosleep),
6 and the .xs implementation of clock_nanosleep() in 1.84
7 was broken anyway
8 - the semantics of clock() are not quite so silly as I thought,
9 but still somewhat odd, documented as such
10 - additional enhancements to the clock() documentation
11 - add test for clock_nanosleep() (I cannot test this
12 since none of my systems have the function)
13 - add test for clock()
14
151.84 [2005-12-16]
16 - add clock() which returns the processor time in
17 (floating point) seconds since an arbitrary era
18 - add clock_nanosleep() which suspends the current
19 thread until either absolute time or for relative time
20 - [rt.cpan.org #16486] printf missing value in HiRes.t
21 - add constants CLOCKS_PER_SEC, CLOCK_SOFTTIME, TIMER_ABSTIME
22 - tiny typo fixes
23
a5929ff3 241.83 [2005-11-19]
25 - has_symbol() was wrong since e.g. ITIMER_VIRTUAL is exported
26 via @EXPORT_OK even when it is not available. This is heinous.
27 @EXPORT_OK should be determined at Makefile.PL time.
28 - be more lenient is testing clock_gettime(): allow more slop,
29 and retry up to three times, sleeping a random nap between
30 the retries
31 - human months are one-based (noticed by Anton Berezin)
32
82cbdcc3 331.82 [2005-10-06]
34 - CLOCK_REALTIME is an enum value (of the clockid_t enum)
35 in HP-UX (and might be so elsewhere, too), debugged by
36 H. Merijn Brand
37 - include const-c.inc as late as possible (from Randy Kobes,
38 [rt.cpan.org #15552] to avoid undefined usleep() on Win32
39
a5929ff3 401.81 [2005-11-05]
b311af62 41 - try to be more robust and consistent in the detection of
42 CLOCK_REALTIME and ITIMER_VIRTUAL in HiRes.t: the proper
43 way is
44
45 sub has_symbol {
46 my $symbol = shift;
47 eval 'import Time::HiRes qw($symbol)';
48 return 0 unless $@ eq '';
49 return exists ${"Time::HiRes::$symbol"};
50 }
51
52 and then use
53
54 &FOO_BAR
55
56 in the test. All these moves are needed because
57
58 1) one cannot directly do eval 'Time::HiRes::FOO_BAR'
59 because FOO_BAR might have a true value of zero
60 (or in the general case an empty string or even undef)
61
62 2) In case FOO_BAR is not available in this platform,
63 &FOO_BAR avoids the bareword warning
64
65 - wait more (1.5 seconds instead of 0.1) for the CLOCK_REALTIME test
66 but expect the 'customary' slop of 0.20 instead of 0.25
67 - fixed inside a comment HAS_POLL -> TIME_HIRES_NANOSLEEP
68 - at the end of HiRest.t tell how close we were to termination
69
a5929ff3 701.80 [2005-11-04]
70cf0185 71 - Gisle noticed a mistake (using HAS_NANOSLEEP) in 1.79
72
a5929ff3 731.79 [2005-11-03]
e5433ad8 74 - try nanosleep for emulating usleep -- may help in some weird
75 embedded realtime places which have nanosleep but neither usleep
76 nor select nor poll (doesn't have to be weird embedded realtime
77 place, though -- in many places usleep is nanosleep anyway)
78 - try poll for emulating usleep -- this may help some obscure/old
79 SVR4 places that have neither usleep nor select
80 - a redundant test guard in HiRes.t
81
a5929ff3 821.78 [2005-11-03]
1a7d3a53 83 - ITIMER_VIRTUAL detection in HiRes.t had problems (that we cannot
e5433ad8 84 in the general case fail already at 'use' phase is suboptimal)
1a7d3a53 85 - fixes to the documentation of clock_gettime() and clock_getres()
86
a5929ff3 871.77 [2005-11-03]
ced84e60 88 - add support for the POSIX clock_gettime() and clock_getres(),
89 if available, either as library calls or as syscalls
90 - be more defensive about missing functionality: break out
91 early (during 'use') if no e.g. clock_getres() is available,
92 and protect our back by trapping those cases also in HiRes.xs
93 - the test added in 1.76 could cause an endless loop e.g. in Solaris,
94 due to mixing of sleep() and alarm() (bad programmer, no cookie!)
95
3d0346a5 961.76 [2005-10-22]
97 - testing for nanosleep had wrong logic which caused nanosleep
98 to become undefined for e.g. Mac OS X
99 - added a test for a core dump that was introduced by Perl 5.8.0
100 safe signals and was fixed for the time of 5.8.1 (one report of
101 the core dump was [perl #20920]), the test skipped pre-5.8.1.
102 - *cough* s/unanosleep/nanosleep/g; *cough*
103
9649b81b 1041.75 [2005-10-18]
105 - installation patch from Gisle Aas: in Perls 5.8.x and later
106 use MakeMaker INSTALLDIRS value of 'perl' instead of 'site'.
107
06252d99 1081.74 [2005-09-19]
109 - [cpan #14608] Solaris 8 perl 5.005_03 File::Spec module does not have method rel2abs
110 (the workaround is not to use rel2abs, should not be necessary)
111 - [cpan #14642] U2time wrongly exported on the C API
112 (patch supplied by the reporter, SALVA@cpan.org)
113 - add release dates to Changes
114
1151.73 [2005-08-16]
116 - Time::HiRes::nanosleep support for Solaris [PATCH]
937b804e 117 (POSIX::uname() not available if building with core perl,
118 from Gisle Aas, via perl5-porters, perl change #25295)
119
06252d99 1201.72 [2005-07-01]
121 - going back to the 1.68 loader setup (using DynaLoader)
0cf8ddea 122 since too many weird things starting breaking
123 - fix a typo in José Auguste-Etienne's name
124
06252d99 1251.71 [2005-06-28]
126 - a thinko in the nanosleep() detection
56c1b3bd 127 - move more changes stuff from the README to Changes
128 - add -w to the Makefile.PL
129
06252d99 1301.70 [2005-06-26]
131 - oops in 1.69 about @ISA (not affecting anything but silly)
f8daf111 132 - add copyright 2005 to HiRes.pm
133 - add copyright and license to HiRes.xs
56c1b3bd 134 - add copyrights 2003, 2004, 2005 to README
f8daf111 135
06252d99 1361.69 [2005-06-25]
137 - actually run a test for nanosleep
56c1b3bd 138 (if there is no $Config{d_nanosleep}) since e.g. in AIX 4.2
26e22fd9 139 it seems that one can link in nanosleep() but then calling
140 it fails instantly and sets errno to ENOSYS (Not implemented).
141 This may be fixable in the AIX case by figuring out the right
142 (realtime POSIX?) libs and whatnot, but in the general case
143 running a real test case is better. (Of course, this change
144 will no doubt run into portability problems because of the
0cf8ddea 145 execution step...) Note that because of hysterical raisins
146 most Perls do NOT have $Config{d_nanosleep} (scanning for
147 it by Configure would in many platforms require linking in
148 things like -lrt, which would in many platforms be a bad idea
149 for Perl itself).
150 (from José Auguste-Etienne)
26e22fd9 151 - support XSLoader also since it's much faster
152 (from Alexey Tourbin)
153 - add SEE ALSO (BSD::Resource and Time::TAI64)
154
06252d99 1551.68 [2005-05-14]
993164ab 156 - somehow 1.67 had a lot of doubled lines (a major cut-and-paste
157 error suspected), but miraculously it still worked since the
158 doubling took place below the __END__ token
159 - undef Pause() before defining it to avoid redefinition warnings
160 during compilation in case perl.h had already defined Pause()
161 (part of perl change #24271)
162 - minor doc tweaks
163
06252d99 1641.67 [2005-05-04]
993164ab 165 - (internal) don't ignore the return value of gettimeofday()
166 - (external) return undef or an empty if the C gettimeofday() fails
167 (affects Time::HiRes gettimeofday() and the hires time())
168
06252d99 1691.66 [2004-12-19]
44d3ce20 170 - add nanosleep()
171 - fix the 'hierachy' typo in Makefile.PL [rt.cpan.org #8492]
172 - should now build in Solaris [rt.cpan.org #7165] (since 1.64)
173 - should now build in Cygwin [rt.cpan.org #7535] (since 1.64)
82cbdcc3 174 - close also [rt.cpan.org #5933] "Time::HiRes::time does not
175 pick up time adjustments like ntp" since ever reproducing it
176 (and therefore verifying a possible fix) in the same environment
44d3ce20 177 has become rather unlikely
178
06252d99 1791.65 [2004-09-18]
64a7a97c 180 - one should not mix u?alarm and sleep (the tests modified
181 by 1.65, #12 and #13, hung in Solaris), now we just busy
182 loop executing an empty block
183 - in the documentation underline the unspecificity of mixing
184 sleeps and alarms
185 - small spelling fixes
186
06252d99 1871.64 [2004-09-16]
64a7a97c 188 - regenerate ppport.h with Devel::PPPort 3.03,
189 now the MY_CXT_CLONE is defined in ppport.h,
190 we no more need to do that.
191
192 - the test #12 would often hang in sigsuspend() (at least that's
193 where Mac OS X' ktrace shows it hanging). With the sleep()s
194 changed to sleep(1)s, the tests still pass but no hang after
195 a few hundred repeats.
196
06252d99 1971.63 [2004-09-01]
1fbb4de4 198 - Win32 and any ithread build: ppport.h didn't define
170c5524 199 MY_CXT_CLONE, which seems to be a Time-HiRes-ism.
1fbb4de4 200
06252d99 2011.62 [2004-08-31]
1fbb4de4 202 - Skip testing if under PERL_CORE and Time::HiRes has not
203 been Configured (from Marcus Holland-Moritz, core change
204 #23246)
205 - Use ppport.h generated by Devel::PPPort 3.01,
206 allowing cutting away our own portability code.
207 - Don't use $ENV{PERL_CORE} for < 5.6.0.
208 - Don't use "for my $i" for <= 5.003.
209 - Don't use Pause() for <= 5.003.
210 - Can't use newSVpvf for <= 5.003.
211 (most of the changes from Marcus)
212
06252d99 2131.61 [2004-08-21]
4ed0e2d4 214 - Win32: reset reading from the performance counters every
215 five minutes to better track wall clock time (thanks to
216 PC timers being often quite bad), should help long-running
217 programs.
218
06252d99 2191.60 [2004-08-15]
4ed0e2d4 220 - Win32: Patch from Steve Hay
221 [PATCH] Re: [perl #30755] [Win32] Different results from Time::HiRes::gettimeofdayunder the debugger
222 to [perl #30755] reported by Nigel Sandever
223
224 - Cygwin: Use the Win32 recalibration code also in Cygwin if the
225 <w32api/windows.h> APIs are available. Cygwin testing by
226 Yitzchak Scott-Thoennes.
227
228 - Solaris: use -lposix4 to get nanosleep for Solaris 2.6,
229 after that keep using -lrt, patch from Alan Burlison,
230 bug reported in [cpan #7165]
231
06252d99 2321.59 [2004-04-08]
d8cb5b61 233 - Change the Win32 recalibration limit to 0.5 seconds and tweak
234 the documentation to blather less about the gory details of the
235 Win32 implementation and more about the complications in general
236 of meddling with the system clock.
237
06252d99 2381.58 [2004-04-08]
d8cb5b61 239 - Document the 1.57 change better.
240
06252d99 2411.57 [2004-07-04]
d8cb5b61 242 - Win32/Cygwin/MinGW: if the performance counter drifts by more
243 than two seconds from the system clock (due to ntp adjustments,
c1dc6e7c 244 for example), recalibrate our internal counter: from Jan Dubois,
245 based on [cpan #5933] by Jerry D. Hedden.
246
06252d99 2471.56 [2004-29-02]
1caec985 248 - Give a clearer message if the tests timeout (perl change #22253)
249 - Don't use /tmp or its moral equivalents (perl bug #15036,
250 perl change #22258)
251
06252d99 2521.55 [2004-01-14]
4ed0e2d4 253 - Windows: mingw32 patch from Mike Pomraning (use Perl's Const64()
b6136f41 254 instead of VC-specific i64 suffix)
255
06252d99 2561.54 [2003-12-31]
0225372c 257 - Solaris: like Tru64 (dec_osf) also Solaris need -lrt for nanosleep
258
06252d99 2591.53 [2003-12-30]
0225372c 260 - Windows: higher resolution time() by using the Windows
261 performance counter API, from Jan Dubois and Anton Shcherbinin.
262 The exact new higher resolution depends on the hardware,
263 but it should be quite a bit better than using the basic
264 Windows timers.
265
06252d99 2661.52 [2003-10-28]
690f7c5f 267 - In AIX (v?) with perl 5.6.1 the HiRes.t can hang after
268 the subtest 18. No known analysis nor fix, but added
269 an alarm (that requires fork() and alarm()) to the test.
270
06252d99 2711.51 [2003-09-22]
b85af263 272 - doc tweaks from mjd (perl change #20456)
273 - NCR MP-RAS hints file added (svr4.pl) (perl change #21249)
274
06252d99 2751.50 [2003-08-02]
d7358e6a 276 - add a message (for non-core builds) to Makefile.PL about
277 the LC_ALL=C workaround
278 - &Time::HiRes::d_nanosleep was broken (perl change #20131)
279 - the nanosleep() probe was broken (perl change #20061)
280 - use existence instead of definedness for feature probes
281 (perl change #20043)
282 - MPE/iX tweak (perl change #20042)
283 - do not use HAS_NANOSLEEP (perl change #19898)
284
06252d99 2851.49 [2003-06-23]
df16a331 286 - UVuf for non-IVSIZE platforms (from Keiichiro Nagano)
287 - OS/2 can always mix subsecond sleeps with signals
288 (part of perl change #19789)
289
06252d99 2901.48 [2003-06-04]
2d9815af 291 - workaround for buggy gcc 2.95.3 in openbsd/sparc64
292 (perl change #19592)
293
06252d99 2941.47 [2003-05-03]
2d9815af 295 - do not use -lrt in Linux (from March Lehmann, perl change #19449)
1a08a6ab 296 - unnecessary (nanosleep is in libc anyway)
297 - harmful (-lrt slows down execution)
298 - incompatible (with many distributions' pthreads)
299
06252d99 3001.46 [2003-04-25]
25ca0970 301 - do not create files in blib directories under core
302 (perl change #19160, from rgs)
303 - detypo s/VTLARM/VTARLM/ (perl change #19328, from mjd)
304
06252d99 3051.45 [2003-04-01]
25ca0970 306 - guarantee that $xdefine in HiRes.t is always defined
307 (perl change #19109, from IlyaZ)
308 - a cleaner way to detect PERL_CORE (perl change #19111,
309 from IlyaZ)
310
06252d99 3111.44 [2003-03-30]
0be47ac6 312 - add hints/irix.pl to turn off overly POSIX flags that
313 cause hide struct timespec to be hidden (and compilation
25ca0970 314 to fail) (bleadperl change #19085)
0be47ac6 315 - documentation tweaks
316
06252d99 3171.43 [2003-03-11]
a0c8e3cf 318 - add c:/temp to the list of temp directories to probe
319 so that cygwin (and win*?) builds are happy. This was
320 needed at least in my cygwin 1.3.20/w2k setup.
321
06252d99 3221.42 [2003-01-07]
98b50af3 323 - modernize the constants code (from Nicholas Clark)
324
06252d99 3251.41 [2003-01-03]
98b50af3 326 - At some point the ability to figure our the correct incdir
327 for EXTERN.h (either a core perl build, or an installed perl)
328 had broken (which lead into all test compiles failing with
329 a core perl build, but thanks to the robustness of Makefile.PL
a0c8e3cf 330 nothing of this was visible). The brokenness seemed to be
331 caused by $ENV{PERL_CORE} not being on for core builds?
332 Now stole a trick from the Encode that sets $ENV{PERL_CORE}
333 right, and both styles of build should work again.
98b50af3 334
06252d99 3351.40 [2003-01-03]
98b50af3 336 - Nicholas Clark noticed that the my_catdir() emulation function
337 was broken (which means that we didn't really work for Perls
338 5.002 and 5.003)
339 - inspired by fixing the above made the whole Makefile.PL -w
340 and strict clean
341 - tightened up the Makefile.PL output, less whitespace
342
06252d99 3431.39 [2003-10-20]
6a20eacc 344 - fix from Craig Berry for better building in VMS with PERL_CORE
345
06252d99 3461.38 [2003-10-13]
3f2ee006 347 - no functional changes
348 - move lib/Time/HiRes.pm as Hires.pm
349 - libraries scanning was slightly broken (always scanned
350 for a library even when $Config{libs} already had it)
351
06252d99 3521.37 [2003-09-23]
3f2ee006 353 - Ray Zimmerman ran into a race condition in Mac OS X.
354 A 0.01-second alarm fired before the test expected.
355 The test first slept indefinitely (blocking for signals)
356 and only after that tested for the signal having been sent.
357 Since the signal had already been sent, the test #12 never
358 completed. The solution: test first, then block.
359 - default to being silent on all probing attempts, set the
360 environment variable VERBOSE to a true value to see the
361 details (the probing command and the possible errors)
362
06252d99 3631.36 [2003-09-12]
3f2ee006 364 - do not clear MAN3PODS in Makefile.PL (Radoslaw Zielinski)
365 - INSTALLDIRS => 'perl' missing which means that Time::HiRes
366 cannot be upgraded from CPAN to override the 5.8.0 version
367 (Guido A. Ostkamp)
368 - Time::HiRes 1.35 could not be dropped as-is to bleadperl
369 because the include directories did not adjust themselves
370 if $ENV{PERL_CORE} (Hugo van der Sanden)
371 - add documentation about the restart of select() under alarm()
372
06252d99 3731.35 [2003-08-24]
3f2ee006 374 - small documentation tweaks
375
376
06252d99 3771.34 [2003-08-22]
3f2ee006 378 - better VMS operation (Craig Berry)
379
06252d99 3801.33 [2003-08-20]
3f2ee006 381 - our time machine is accelerating: now works with Perl 5.004_01
382 (tried with 5.003_07 and 5.002 but I get segmentation faults
383 from running the Makefile.PL with those in Tru64 4.0D)
384
06252d99 3851.32 [2003-08-20]
3f2ee006 386 - backward compatibility (pre-5.6.0) tweaks:
387 - no XSLoader in 5.00503, use DynaLoader instead
388 - no SvPV_nolen, either
389 - no PerlProc_pause(), either
390 - now tested with 5.00404 and 5.00503
391 - Makefile.PL requires 5.00404 (no more 5.002)
392 - use nanosleep instead of usleep, if it is available (Wilson Snyder)
393 (this means that one can mix subsecond sleeps with alarms)
394 - because of nanosleep we probe for -lrt and -lposix4
395 - the existence of getitimer/nanosleep/setitimer/ualarm/usleep
396 is available by exportable constants Time::HiRes::d_func
397 (since older Perl do not have them in %Config, and even
398 5.8.0 does not probe for nanosleep)
399
06252d99 4001.31 [2003-08-19]
3f2ee006 401 - backward compatibility (pre-5.6.1) tweaks:
402 - define NV if no NVTYPE
403 - define IVdf if needed (note: the Devel::PPPort
404 in 5.8.0 does not try hard hard enough since
405 the IVSIZE might not be defined)
406 - define NVgf if needed
407 - grab the typemap from 5.8.0 for the NV stuff
56c1b3bd 408
409 1.31 and 1.32 add more backward compatibility (now all the way
410 back to Perl 5.00404), and using nanosleep() (if available) for
411 subsecond sleeps.
412
06252d99 4131.30 [2003-08-16]
3f2ee006 414
415 - release 1.29_02 as 1.30
416
56c1b3bd 417 1.30 adds all the changes made during the Perl 5.6->5.7->5.8
418 development cycle. Most notably portability across platforms has been
419 enhanced, and the interval timers (setitimer, getitimer) have been
420 added. Note that the version of Time::HiRes that is included in Perl
421 5.8.0 calls itself 1.20_00, but it is equivalent to this Time::HiRes
422 version. Note also that in 1.30 Wegscheid turns over the maintenance
423 to Jarkko Hietaniemi.
424
06252d99 4251.29_02 [2003-08-16]
3f2ee006 426
427 - fix a silly unclosed comment typo in HiRes.xs
428 - document and export REALTIME_REALPROF (Solaris)
429
06252d99 4301.29_01 [2003-08-16]
3f2ee006 431
432 - only getitimer(ITIMER_REAL) available in Cygwin and Win32
433 (need to patch this also in Perl 5.[89])
434 - remove CVS revision log from HiRes.xs
435
06252d99 4361.29_00 [2003-08-14]
3f2ee006 437
438 The following numbered patches refer to the Perl 5.7 changes,
439 you can browse them at http://public.activestate.com/cgi-bin/perlbrowse
440
441 - 17558: Add #!./perl to the .t
442 - 17201: linux + usemorebits fix, from Rafael Garcia-Suarez
443 - 16198: political correctness, from Simon Cozens
444 - 15857: doc tweaks, from Jarkko Hietaniemi
445 - 15593: optimization in .xs, from Paul Green
446 - 14892: pod fixes, from Robin Barker
447 - 14100: VOS fixes, from Paul Green
448 - 13422: XS segfault, from Marc Lehmann
449 - 13378: whether select() gets restarted on signals, depends
450 - 13354: timing constraints, again, from Andy Dougherty
170c5524 451 - 13278: can't do subsecond alarms with ualarm;
3f2ee006 452 break out early if alarms do not seem to be working
453 - 13266: test relaxation (cygwin gets lower hires
454 times than lores ones)
455 - 12846: protect against high load, from Jarkko Hietaniemi
456 - 12837: HiRes.t VMS tweak, from Craig A. Berry
457 - 12797: HiRes.t VMS tweak, from Charles Lane
458 - 12769: HiRes.t VMS tweak, from Craig A. Berry
459 - 12744: gcc vs MS 64-bit constant syntax, from Nick Ing-Simmons
460 - 12722: VMS ualarm for VMS without ualarm, from Charles Lane
461 - 12692: alarm() ain't gonna work if ualarm() ain't,
462 from Gurusamy Sarathy
463 - 12680: minor VMS tweak, from Charles Lane
464 - 12617: don't try to print ints as IVs, from Jarkko Hietaniemi
465 - 12609: croak on negative time, from Jarkko Hietaniemi
466 - 12595: Cygwin rounds up for time(), from Jarkko Hietaniemi
467 - 12594: MacOS Classic timeofday, from Chris Nandor
468 - 12473: allow for more than one second for sleep() and usleep()
469 - 12458: test tuning, relax timing constraints,
470 from Jarkko Hietaniemi
471 - 12449: make sleep() and usleep() to return the number
472 of seconds and microseconds actually slept (analogously
473 with the builtin sleep()), also make usleep() croak if
474 asked for more than 1_000_000 useconds, from Jarkko Hietaniemi
475 - 12366: Time::HiRes for VMS pre-7.0, from Charles Lane
476 - 12199: do not use ftime on Win32, from Gurusamy Sarathy
477 - 12196: use ftime() on Win32, from Artur Bergman
478 - 12184: fix Time::HiRes gettimeofday() on Win32, from Gurusamy Sarathy
479 - 12105: use GetSystemTime() on Win32, from Artur Bergman
480 - 12060: explain the 1e9 seconds problem, from Jarkko Hietaniemi
481 - 11901: UNICOS sloppy division, from Jarkko Hietaniemi
482 - 11797: problem in HiRes.t, from John P. Linderman
483 - 11414: prototype from Time::HiRes::sleep(), from Abhijit Menon-Sen
484 - 11409: Time::HiRes qw(sleep) failed, from Abhijit Menon-Sen
485 - 11270: dynix/ptx 4.5.2 hints fix, from Peter Prymmer
486 - 11032: VAX VMS s/div/lib\$ediv/ fix, from Peter Prymmer
487 - 11011: VAX VMS s/qdiv/div/ fix, from Peter Prymmer
488 - 10953: SCO OpenServer 5.0.5 requires an explicit -lc for usleep(),
489 from Jonathan Stowe
490 - 10942: MPE/IX test tweaks, from Mark Bixby
491 - 10784: unnecessary pod2man calls, from Andy Dougherty
492 - 10354: ext/ + -Wall, from Doug MacEachern
493 - 10320: fix the BOOT section to call myU2time correctly
494 - 10317: correct casting for AIX< from H. Merijn Brand
495 - 10119: document that the core time() may be rounding, not truncating
496 - 10118: test fix, from John Peacock
497 - 9988: long =item, from Robin Barker
498 - 9714: correct test output
499 - 9708: test also the scalar aspect of getitimer()
500 - 9705: Add interval timers (setitimer, getitimer)
501 - 9692: do not require at least 5.005 using XS
502
503 The following changes were made on top of the changes
504 made for Time::HiRes during the Perl 5.7 development
505 cycle that culminated in the release of Perl 5.8.0.
506
507 - add "require 5.005" to the Makefile.PL
508 - remove the REVISION section (CVS log) from HiRes.pm
509 - add jhi's copyright alongside Douglas'
510 - move HiRes.pm to lib/Time/
511 - move HiRes.t to t/
512 - modify HiRes.t to use $ENV{PERL_CORE}
513 - modify the original Time::HiRes version 1.20 Makefile.PL
514 to work both with Perl 5.8.0 and the new code with pre-5.8.0
515 Perls (tried with 5.6.1)
516 - tiny tweaks and updates in README and TODO
517 - bump the VERSION to 1.29
518
dcf686c9 5191.20 Wed Feb 24 21:30 1999
520 - make our usleep and ualarm substitutes into hrt_usleep
521 and hrt_ualarm. This helps static links of Perl with other
522 packages that also have usleep, etc. From
523 Ilya Zakharevich <ilya@math.ohio-state.edu>
524 - add C API stuff. From Joshua Pritikin
525 <joshua.pritikin@db.com>
3f2ee006 526 - VMS Makefile.PL fun. From pvhp@forte.com (Peter Prymmer)
dcf686c9 527 - hopefully correct "-lc" fix for SCO.
528 - add PPD stuff
529
56c1b3bd 530 1.20 adds a platform neutral set of C accessible routines if you are
531 running 5.005+. All other changes are packaging changes and build
532 fixes(?) for statically linked Perl, SCO, and VMS.
533
dcf686c9 5341.19 Tue Sep 29 22:30 1998
535 - put VMS gettimeofday() in. Patch is from Sebastian Bazley
536 <seb@stian.demon.co.uk>
537 - change GIMME_V to GIMME to help people with older versions of
538 Perl.
539 - fix Win32 version of gettimeofday(). It didn't affect anything,
540 but it confuses people reading the code when the return value
541 is backwards (0 is success).
542 - fix Makefile.PL (more) so that detection of gettimeofday is
543 more correct.
544
56c1b3bd 545 1.19 has better VMS support.
546
dcf686c9 5471.18 Mon Jul 6 22:40 1998
548 - add usleep() for Win32.
549 - fix Makefile.PL to fix reported HP/UX feature where unresolved
550 externals still cause an executable to be generated (though no
551 x bit set). Thanks to David Kozinn for report and explanation.
552 Problems with the fix are mine :)
553
56c1b3bd 554 1.18 has limited Win32 support (no ualarm). Added usleep for Win32.
555 Probably buggy. I'm sure I'll hear.
556
dcf686c9 5571.17 Wed Jul 1 20:10 1998
558 - fix setitimer calls so microseconds is not more than 1000000.
559 Hp/UX 9 doesn't like that. Provided by Roland B Robert, PhD.
3f2ee006 560 - make Win32. We only get gettimeofday (the select hack doesn't
dcf686c9 561 seem to work on my Win95 system).
3f2ee006 562 - fix test 4 on 01test.t. add test to see if time() and
dcf686c9 563 Time::HiRes::time() are close.
564
5651.16 Wed Nov 12 21:05 1997
566 - add missing EXTEND in new gettimeofday scalar code.
567
56c1b3bd 568 1.16+ should be closer to building out of the box on Linux. Thanks
569 to Gisle Aas for patches, and the ualarm equivalent using setitimer.
570
571 If your underlying operating system doesn't implement ualarm(), then
572 a fake using setitimer() will be made. If the OS is missing usleep(),
573 a fake one using select() will be made. If a fake can't be made for
574 either ualarm() or usleep(), then the corresponding Perl function will
575 not be available. If the OS is missing gettimeofday(), you will get
576 unresolved externals, either at link- or run-time.
577
578 This is an improvement; the package used to not even build if
579 you were missing any of these bits. Roderick Schertler
580
581 <roderick@argon.org> did all the conditional compilation stuff,
582 look at HiRes.pm and the test suites; it's good educational reading.
583
dcf686c9 5841.15 Mon Nov 10 21:30 1997
585 - HiRes.pm: update pod. Provided by Gisle Aas.
586 - HiRes.xs: if gettimeofday() called in scalar context, do
587 something more useful than before. Provided by Gisle Aas.
588 - README: tell of xsubpp '-nolinenumber' woes. thanks to
589 Edward Henigin <ed@texas.net> for pointing out the problem.
590
5911.14 Wed Nov 5 9:40 1997
592 - Makefile.PL: look for setitimer
593 - HiRes.xs: if missing ualarm, but we have setitimer, make up
594 our own setitimer. These were provided by Gisle Aas.
595
5961.13 Tue Nov 4 23:30 1997
597 - Makefile.PL: fix autodetect mechanism to do try linking in addition
598 to just compiling; should fix Linux build problem. Fix was provided
599 by Gisle Aas.
600
6011.12 Sun Oct 12 12:00:00 1997
602 - Makefile.PL: set XSOPT to '-nolinenumbers' to work around xsubpp bug;
603 you may need to comment this back out if you have an older xsubpp.
604 - HiRes.xs: set PROTOTYPES: DISABLE
605
6061.11 Fri Sep 05 16:00:00 1997
607 - Makefile.PL:
608 Had some line commented out that shouldn't have been (testing
609 remnants)
610 - README:
611 Previous version was corrupted.
612
6131.10 Thu May 22 20:20:00 1997
614 - HiRes.xs, HiRes.pm, t/*:
615 - only compile what we have OS support for (or can
616 fake with select())
617 - only test what we compiled
618 - gross improvement to the test suite
619 - fix EXPORT_FAIL.
620 This work was all done by Roderick Schertler
621 <roderick@argon.org>. If you run Linux or
170c5524 622 one of the other ualarm-less platforms, and you like this
dcf686c9 623 module, let Roderick know; without him, it still wouldn't
624 be working on those boxes...
625 - Makefile.PL: figure out what routines the OS has and
626 only build what we need. These bits were written by Jarkko
627 Hietaniemi <jhi@iki.fi>. Again, gratitude is due...
628
6291.02 Mon Dec 30 08:00:00 1996
630 - HiRes.pm: update documentation to say what to do when missing
631 ualarm() and friends.
632 - README: update to warn that ualarm() and friends need to exist
633
6341.01 Fri Oct 17 08:00:00 1996
635 - Makefile.PL: make XSPROTOARGS => '-noprototyopes'
636 - HiRes.pm: put blank line between __END__ and =head1 so that
637 pod2man works.
638
6391.00 Tue Sep 03 13:00:00 1996
640 - original version; created by h2xs 1.16