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