1 Revision history for Perl extension Time::HiRes.
4 - add a message (for non-core builds) to Makefile.PL about
5 the LC_ALL=C workaround
6 - &Time::HiRes::d_nanosleep was broken (perl change #20131)
7 - the nanosleep() probe was broken (perl change #20061)
8 - use existence instead of definedness for feature probes
10 - MPE/iX tweak (perl change #20042)
11 - do not use HAS_NANOSLEEP (perl change #19898)
14 - UVuf for non-IVSIZE platforms (from Keiichiro Nagano)
15 - OS/2 can always mix subsecond sleeps with signals
16 (part of perl change #19789)
19 - workaround for buggy gcc 2.95.3 in openbsd/sparc64
23 - do not use -lrt in Linux (from March Lehmann, perl change #19449)
24 - unnecessary (nanosleep is in libc anyway)
25 - harmful (-lrt slows down execution)
26 - incompatible (with many distributions' pthreads)
29 - do not create files in blib directories under core
30 (perl change #19160, from rgs)
31 - detypo s/VTLARM/VTARLM/ (perl change #19328, from mjd)
34 - guarantee that $xdefine in HiRes.t is always defined
35 (perl change #19109, from IlyaZ)
36 - a cleaner way to detect PERL_CORE (perl change #19111,
40 - add hints/irix.pl to turn off overly POSIX flags that
41 cause hide struct timespec to be hidden (and compilation
42 to fail) (bleadperl change #19085)
43 - documentation tweaks
46 - add c:/temp to the list of temp directories to probe
47 so that cygwin (and win*?) builds are happy. This was
48 needed at least in my cygwin 1.3.20/w2k setup.
51 - modernize the constants code (from Nicholas Clark)
54 - At some point the ability to figure our the correct incdir
55 for EXTERN.h (either a core perl build, or an installed perl)
56 had broken (which lead into all test compiles failing with
57 a core perl build, but thanks to the robustness of Makefile.PL
58 nothing of this was visible). The brokenness seemed to be
59 caused by $ENV{PERL_CORE} not being on for core builds?
60 Now stole a trick from the Encode that sets $ENV{PERL_CORE}
61 right, and both styles of build should work again.
64 - Nicholas Clark noticed that the my_catdir() emulation function
65 was broken (which means that we didn't really work for Perls
67 - inspired by fixing the above made the whole Makefile.PL -w
69 - tightened up the Makefile.PL output, less whitespace
72 - fix from Craig Berry for better building in VMS with PERL_CORE
75 - no functional changes
76 - move lib/Time/HiRes.pm as Hires.pm
77 - libraries scanning was slightly broken (always scanned
78 for a library even when $Config{libs} already had it)
81 - Ray Zimmerman ran into a race condition in Mac OS X.
82 A 0.01-second alarm fired before the test expected.
83 The test first slept indefinitely (blocking for signals)
84 and only after that tested for the signal having been sent.
85 Since the signal had already been sent, the test #12 never
86 completed. The solution: test first, then block.
87 - default to being silent on all probing attempts, set the
88 environment variable VERBOSE to a true value to see the
89 details (the probing command and the possible errors)
92 - do not clear MAN3PODS in Makefile.PL (Radoslaw Zielinski)
93 - INSTALLDIRS => 'perl' missing which means that Time::HiRes
94 cannot be upgraded from CPAN to override the 5.8.0 version
96 - Time::HiRes 1.35 could not be dropped as-is to bleadperl
97 because the include directories did not adjust themselves
98 if $ENV{PERL_CORE} (Hugo van der Sanden)
99 - add documentation about the restart of select() under alarm()
102 - small documentation tweaks
106 - better VMS operation (Craig Berry)
109 - our time machine is accelerating: now works with Perl 5.004_01
110 (tried with 5.003_07 and 5.002 but I get segmentation faults
111 from running the Makefile.PL with those in Tru64 4.0D)
114 - backward compatibility (pre-5.6.0) tweaks:
115 - no XSLoader in 5.00503, use DynaLoader instead
116 - no SvPV_nolen, either
117 - no PerlProc_pause(), either
118 - now tested with 5.00404 and 5.00503
119 - Makefile.PL requires 5.00404 (no more 5.002)
120 - use nanosleep instead of usleep, if it is available (Wilson Snyder)
121 (this means that one can mix subsecond sleeps with alarms)
122 - because of nanosleep we probe for -lrt and -lposix4
123 - the existence of getitimer/nanosleep/setitimer/ualarm/usleep
124 is available by exportable constants Time::HiRes::d_func
125 (since older Perl do not have them in %Config, and even
126 5.8.0 does not probe for nanosleep)
129 - backward compatibility (pre-5.6.1) tweaks:
130 - define NV if no NVTYPE
131 - define IVdf if needed (note: the Devel::PPPort
132 in 5.8.0 does not try hard hard enough since
133 the IVSIZE might not be defined)
134 - define NVgf if needed
135 - grab the typemap from 5.8.0 for the NV stuff
138 - release 1.29_02 as 1.30
142 - fix a silly unclosed comment typo in HiRes.xs
143 - document and export REALTIME_REALPROF (Solaris)
147 - only getitimer(ITIMER_REAL) available in Cygwin and Win32
148 (need to patch this also in Perl 5.[89])
149 - remove CVS revision log from HiRes.xs
153 The following numbered patches refer to the Perl 5.7 changes,
154 you can browse them at http://public.activestate.com/cgi-bin/perlbrowse
156 - 17558: Add #!./perl to the .t
157 - 17201: linux + usemorebits fix, from Rafael Garcia-Suarez
158 - 16198: political correctness, from Simon Cozens
159 - 15857: doc tweaks, from Jarkko Hietaniemi
160 - 15593: optimization in .xs, from Paul Green
161 - 14892: pod fixes, from Robin Barker
162 - 14100: VOS fixes, from Paul Green
163 - 13422: XS segfault, from Marc Lehmann
164 - 13378: whether select() gets restarted on signals, depends
165 - 13354: timing constraints, again, from Andy Dougherty
166 - 13278: can't do subecond alarms with ualarm;
167 break out early if alarms do not seem to be working
168 - 13266: test relaxation (cygwin gets lower hires
169 times than lores ones)
170 - 12846: protect against high load, from Jarkko Hietaniemi
171 - 12837: HiRes.t VMS tweak, from Craig A. Berry
172 - 12797: HiRes.t VMS tweak, from Charles Lane
173 - 12769: HiRes.t VMS tweak, from Craig A. Berry
174 - 12744: gcc vs MS 64-bit constant syntax, from Nick Ing-Simmons
175 - 12722: VMS ualarm for VMS without ualarm, from Charles Lane
176 - 12692: alarm() ain't gonna work if ualarm() ain't,
177 from Gurusamy Sarathy
178 - 12680: minor VMS tweak, from Charles Lane
179 - 12617: don't try to print ints as IVs, from Jarkko Hietaniemi
180 - 12609: croak on negative time, from Jarkko Hietaniemi
181 - 12595: Cygwin rounds up for time(), from Jarkko Hietaniemi
182 - 12594: MacOS Classic timeofday, from Chris Nandor
183 - 12473: allow for more than one second for sleep() and usleep()
184 - 12458: test tuning, relax timing constraints,
185 from Jarkko Hietaniemi
186 - 12449: make sleep() and usleep() to return the number
187 of seconds and microseconds actually slept (analogously
188 with the builtin sleep()), also make usleep() croak if
189 asked for more than 1_000_000 useconds, from Jarkko Hietaniemi
190 - 12366: Time::HiRes for VMS pre-7.0, from Charles Lane
191 - 12199: do not use ftime on Win32, from Gurusamy Sarathy
192 - 12196: use ftime() on Win32, from Artur Bergman
193 - 12184: fix Time::HiRes gettimeofday() on Win32, from Gurusamy Sarathy
194 - 12105: use GetSystemTime() on Win32, from Artur Bergman
195 - 12060: explain the 1e9 seconds problem, from Jarkko Hietaniemi
196 - 11901: UNICOS sloppy division, from Jarkko Hietaniemi
197 - 11797: problem in HiRes.t, from John P. Linderman
198 - 11414: prototype from Time::HiRes::sleep(), from Abhijit Menon-Sen
199 - 11409: Time::HiRes qw(sleep) failed, from Abhijit Menon-Sen
200 - 11270: dynix/ptx 4.5.2 hints fix, from Peter Prymmer
201 - 11032: VAX VMS s/div/lib\$ediv/ fix, from Peter Prymmer
202 - 11011: VAX VMS s/qdiv/div/ fix, from Peter Prymmer
203 - 10953: SCO OpenServer 5.0.5 requires an explicit -lc for usleep(),
205 - 10942: MPE/IX test tweaks, from Mark Bixby
206 - 10784: unnecessary pod2man calls, from Andy Dougherty
207 - 10354: ext/ + -Wall, from Doug MacEachern
208 - 10320: fix the BOOT section to call myU2time correctly
209 - 10317: correct casting for AIX< from H. Merijn Brand
210 - 10119: document that the core time() may be rounding, not truncating
211 - 10118: test fix, from John Peacock
212 - 9988: long =item, from Robin Barker
213 - 9714: correct test output
214 - 9708: test also the scalar aspect of getitimer()
215 - 9705: Add interval timers (setitimer, getitimer)
216 - 9692: do not require at least 5.005 using XS
218 The following changes were made on top of the changes
219 made for Time::HiRes during the Perl 5.7 development
220 cycle that culminated in the release of Perl 5.8.0.
222 - add "require 5.005" to the Makefile.PL
223 - remove the REVISION section (CVS log) from HiRes.pm
224 - add jhi's copyright alongside Douglas'
225 - move HiRes.pm to lib/Time/
227 - modify HiRes.t to use $ENV{PERL_CORE}
228 - modify the original Time::HiRes version 1.20 Makefile.PL
229 to work both with Perl 5.8.0 and the new code with pre-5.8.0
230 Perls (tried with 5.6.1)
231 - tiny tweaks and updates in README and TODO
232 - bump the VERSION to 1.29
234 1.20 Wed Feb 24 21:30 1999
235 - make our usleep and ualarm substitutes into hrt_usleep
236 and hrt_ualarm. This helps static links of Perl with other
237 packages that also have usleep, etc. From
238 Ilya Zakharevich <ilya@math.ohio-state.edu>
239 - add C API stuff. From Joshua Pritikin
240 <joshua.pritikin@db.com>
241 - VMS Makefile.PL fun. From pvhp@forte.com (Peter Prymmer)
242 - hopefully correct "-lc" fix for SCO.
245 1.19 Tue Sep 29 22:30 1998
246 - put VMS gettimeofday() in. Patch is from Sebastian Bazley
247 <seb@stian.demon.co.uk>
248 - change GIMME_V to GIMME to help people with older versions of
250 - fix Win32 version of gettimeofday(). It didn't affect anything,
251 but it confuses people reading the code when the return value
252 is backwards (0 is success).
253 - fix Makefile.PL (more) so that detection of gettimeofday is
256 1.18 Mon Jul 6 22:40 1998
257 - add usleep() for Win32.
258 - fix Makefile.PL to fix reported HP/UX feature where unresolved
259 externals still cause an executable to be generated (though no
260 x bit set). Thanks to David Kozinn for report and explanation.
261 Problems with the fix are mine :)
263 1.17 Wed Jul 1 20:10 1998
264 - fix setitimer calls so microseconds is not more than 1000000.
265 Hp/UX 9 doesn't like that. Provided by Roland B Robert, PhD.
266 - make Win32. We only get gettimeofday (the select hack doesn't
267 seem to work on my Win95 system).
268 - fix test 4 on 01test.t. add test to see if time() and
269 Time::HiRes::time() are close.
271 1.16 Wed Nov 12 21:05 1997
272 - add missing EXTEND in new gettimeofday scalar code.
274 1.15 Mon Nov 10 21:30 1997
275 - HiRes.pm: update pod. Provided by Gisle Aas.
276 - HiRes.xs: if gettimeofday() called in scalar context, do
277 something more useful than before. Provided by Gisle Aas.
278 - README: tell of xsubpp '-nolinenumber' woes. thanks to
279 Edward Henigin <ed@texas.net> for pointing out the problem.
281 1.14 Wed Nov 5 9:40 1997
282 - Makefile.PL: look for setitimer
283 - HiRes.xs: if missing ualarm, but we have setitimer, make up
284 our own setitimer. These were provided by Gisle Aas.
286 1.13 Tue Nov 4 23:30 1997
287 - Makefile.PL: fix autodetect mechanism to do try linking in addition
288 to just compiling; should fix Linux build problem. Fix was provided
291 1.12 Sun Oct 12 12:00:00 1997
292 - Makefile.PL: set XSOPT to '-nolinenumbers' to work around xsubpp bug;
293 you may need to comment this back out if you have an older xsubpp.
294 - HiRes.xs: set PROTOTYPES: DISABLE
296 1.11 Fri Sep 05 16:00:00 1997
298 Had some line commented out that shouldn't have been (testing
301 Previous version was corrupted.
303 1.10 Thu May 22 20:20:00 1997
304 - HiRes.xs, HiRes.pm, t/*:
305 - only compile what we have OS support for (or can
307 - only test what we compiled
308 - gross improvement to the test suite
310 This work was all done by Roderick Schertler
311 <roderick@argon.org>. If you run Linux or
312 one of the other ualarm-less platoforms, and you like this
313 module, let Roderick know; without him, it still wouldn't
314 be working on those boxes...
315 - Makefile.PL: figure out what routines the OS has and
316 only build what we need. These bits were written by Jarkko
317 Hietaniemi <jhi@iki.fi>. Again, gratitude is due...
319 1.02 Mon Dec 30 08:00:00 1996
320 - HiRes.pm: update documentation to say what to do when missing
321 ualarm() and friends.
322 - README: update to warn that ualarm() and friends need to exist
324 1.01 Fri Oct 17 08:00:00 1996
325 - Makefile.PL: make XSPROTOARGS => '-noprototyopes'
326 - HiRes.pm: put blank line between __END__ and =head1 so that
329 1.00 Tue Sep 03 13:00:00 1996
330 - original version; created by h2xs 1.16