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