This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade Module::Load::Conditional from version 0.54 to 0.56
[perl5.git] / cpan / Digest-MD5 / Changes
CommitLineData
aeb2a38c
CBW
12013-07-02 Gisle Aas <gisle@ActiveState.com>
2
3 Release 2.53
4
5 Drop File::Spec dependency and don't override installation location
6 for perl-5.12++
7
8 Documentation tweaks.
9
10
11
0a3486ef
CBW
122012-06-08 Gisle Aas <gisle@ActiveState.com>
13
aeb2a38c
CBW
14 Release 2.52
15
0a3486ef
CBW
16 Gisle Aas (3):
17 Wrong version number in the changelog
18 The t/threads.t was missing from the MANIFEST
19 Update expected digests for files
20
21 Andrew Fresh (1):
22 Remove double the
23
24 Lyle Hopkins (1):
25 Digest::Perl::MD5 OO fallback didn't work [RT#66634]
26
27 Peter J. Acklam (1):
28 Fix typos (spelling errors) in cpan/Digest-MD5/*
29
30 Shlomi Fish (1):
31 Modernize the code in the POD.
32
33 Zefram (1):
34 Makes Digest::MD5 work on Perl 5.6 [RT#75032]
35
36
37
c059848d
FR
382010-09-30 Gisle Aas <gisle@ActiveState.com>
39
0a3486ef 40 Release 2.51
c059848d
FR
41
42 Florian Ragwitz (1):
43 Fix compilation with c++ compilers
44
45 Gisle Aas (1):
46 Fix repository specification in META.yml
47
48
49
62d37bf0
FR
502010-09-25 Gisle Aas <gisle@ActiveState.com>
51
52 Release 2.50
53
54 Chris 'BinGOs' Williams (1):
55 Amended tests to work with perl core.
56
57 Florian Ragwitz (3):
58 Attach context pointers using sv magic
59 Add failing test for thread cloning
60 Clone MD5 contexts on thread cloning
c059848d 61 get_md5_ctx should never return anything but a valid pointer
62d37bf0
FR
62
63 Gisle Aas (1):
64 perl-5.6 no longer supported
65
66 Jesse Vincent (1):
67 Preserve utf8ness of argument [RT#44927]
68
69
70
326fafaa
CBW
712010-07-03 Gisle Aas <gisle@ActiveState.com>
72
73 Release 2.40
74
75 Marc Pignat (1):
76 Safer alignment test [RT#35823]
77
78 Robin Barker (1):
79 consting in new ext/
80
81 Gisle Aas (1):
82 Remove the MacOS branch of this test
83
84
85
c8780a73
GA
862009-06-09 Gisle Aas <gisle@ActiveState.com>
87
88 Release 2.39
89
90 Nicholas Clark (2):
91 Get rid of the PERL_CORE hacks
92 Sync core: Rename ext/Digest/MD5 to ext/Digest-MD5
93
94 Jerry Hedden (1):
95 Handle non-numeric version numbers in ext/Digest/MD5/Makefile.PL
96
97
98
47a7661d
GA
992008-11-14 Gisle Aas <gisle@ActiveState.com>
100
101 Release 2.38
102
103 The 2.37 tarball was infected by various '._*' files.
104 Thank you, Mac OS X!
105
106 Applied warning fix from Geoff Richards [RT#19643]
107
0a3486ef 108 Applied compatibility fix from Alexandr Ciornii [RT#30348]
47a7661d
GA
109
110
111
0c8767ae
GA
1122008-11-12 Gisle Aas <gisle@ActiveState.com>
113
114 Release 2.37
115
116 Sync up with consting changes from the perl core.
117
118
119
efbeba86
SP
1202005-11-30 Gisle Aas <gisle@ActiveState.com>
121
122 Release 2.36
123
124 Fix documentation typo.
125
126
127
6e770d9c
SP
1282005-11-26 Gisle Aas <gisle@ActiveState.com>
129
130 Release 2.35
131
132 Forgot to incorporate fixes already applied to bleadperl :-(
133 - doc typo
134 - consting
135 - unused my_na
136 - USE_HEAP_INSTEAD_OF_STACK for Symbian
137
138
139
1402005-11-26 Gisle Aas <gisle@ActiveState.com>
141
142 Release 2.34
143
144 Document that it is now easy to generate different messages that produce the
145 same MD5 digest.
146
147 Use XSLoader; perl-5.6 is now required.
148
149 Tweaks to the processing of $? after running the test program.
150
151
152
ee7ea0b1
RGS
1532003-12-07 Gisle Aas <gisle@ActiveState.com>
154
155 Release 2.33
156
157 Enable explicit context passing for slight performance
158 improvement in threaded perls.
159
160 Tweaks to the Makefile.PL so that it is suitable both for
161 core and CPAN use.
162
163
164
1652003-12-05 Gisle Aas <gisle@ActiveState.com>
166
167 Release 2.32
168
169 Don't run u32align test program on HP-UX 10.20 as it
170 will hang. Patch by H.Merijn Brand <h.m.brand@hccnet.nl>.
171
172 Fixed documentation typo.
173
174
175
49953a3f
NC
1762003-11-28 Gisle Aas <gisle@ActiveState.com>
177
178 Release 2.31
179
180 Inherit add_bits() from Digest::base if available.
181
182
183
8be5f608
RGS
1842003-10-09 Gisle Aas <gisle@ActiveState.com>
185
186 Release 2.30
187
188 Some tweaks to make the module build on perl-5.004 and
189 perl-5.005 again.
190
191
192
1932003-10-06 Gisle Aas <gisle@ActiveState.com>
194
195 Release 2.29
196
197 Another try. Forgot to update the test checksums.
198
199
200
2012003-10-06 Gisle Aas <gisle@ActiveState.com>
202
203 Release 2.28
204
205 Fix minor documentation typo.
206
207
208
515b806d
JH
2092003-08-04 Gisle Aas <gisle@ActiveState.com>
210
211 Release 2.27
212
213 Avoid having to figure how to compile alignment test program
214 on MS-Windows by just assume free alignment as for i386. Source
215 builds on Windows was apparently broken.
216
217
218
1c9948bf
GA
2192003-07-21 Gisle Aas <gisle@ActiveState.com>
220
221 Release 2.26
222
223 Don't assume PerlIO_read() works like fread() even though
224 it was documented like that for perl 5.6. It returns negative
225 on read failure.
226
227 Kill test #3 in t/badfile.t. I don't know a reliable way
228 to test read failures on a file handle. Seems better not to
229 test than to make many worry.
230
231
232
ac70dec1
JH
2332003-07-04 Gisle Aas <gisle@ActiveState.com>
234
235 Release 2.25
236
237 The $md5->addfile method now croaks if it discovers
238 errors on the handle after reading from it. This should
239 make it more difficult to end up with the wrong digest
240 just because you are to lazy to check the error status
241 on your file handles after reading from them.
242
243 Improved documentation.
244
245 Sync up with bleadperl; even safer patchlevel include.
246
247
248
f05fc781
JH
2492003-03-09 Gisle Aas <gisle@ActiveState.com>
250
251 Release 2.24
252
253 Don't let the $^W test get confused by lexical warnings.
254
255 Sync up with bleadperl; safer patchlevel include.
256
257
258
cf0ec753
JH
2592003-01-18 Gisle Aas <gisle@ActiveState.com>
260
261 Release 2.23
262
263 Override INSTALLDIRS for 5.8 as suggested by
264 Guido Ostkamp <Guido.Ostkamp@t-online.de>.
265
266
267
2682003-01-04 Gisle Aas <gisle@ActiveState.com>
f62a1bde
JH
269
270 Release 2.22.
271
272 Added clone method.
273 Contributed by Holger Smolinski <holger@kunterbunt.bb.bawue.de>
274
275
276
9a03235d
GA
2772002-12-27 Gisle Aas <gisle@ActiveState.com>
278
279 Release 2.21
280
281 Minor tweaks sync up with bleadperl:
282 - VMS optimizer tweaks to the Makefile.PL
283 - MacOS support
284 - Added alignment test
285
286 Added example to the MD5 POD that shows how to calculate the
287 digest of Unicode strings.
288
289
290
0dfa9f37
JH
2912002-05-05 Gisle Aas <gisle@ActiveState.com>
292
293 Release 2.20
294
295 More synchronization with tweaks Jarkko have done to the
296 bleadperl test suite. This time various EBCDIC hacks.
297
298 Outside PERL_CORE the md5-aaa.t test loaded the wrong version of
299 the module (and would fail if no previous Digest::MD5 was installed).
300 Patch by Mike Stok <mike@stok.co.uk>
301
302
303
5a046520
JH
3042002-05-01 Gisle Aas <gisle@ActiveState.com>
305
7e2b0cd5
JH
306 Release 2.19
307
308 One more test suite update from Jarkko to sync it
309 even better with bleadperl.
310
311
312
3132002-05-01 Gisle Aas <gisle@ActiveState.com>
314
5a046520
JH
315 Release 2.18
316
317 Changes #12954 and #16173 from bleadperl. Documentation typo fix
318 and some signed/unsigned mismatches that Microsoft's C compiler
319 complained about.
320
321 The EBCDIC-aware md5-aaa.t from bleadperl.
322
323
324
3252002-04-25 Gisle Aas <gisle@ActiveState.com>
326
327 Release 2.17
328
329 The SvPVbyte in perl-5.6.1 is buggy. Use the one from 5.7.3
330 instead.
331
332 Give warning if the function interface is used as instance
333 methods: $md5->md5_hex().
334
335
336
db2a39d5
GA
3372001-09-07 Gisle Aas <gisle@ActiveState.com>
338
339 Release 2.16
340
341 Sync up with the bleadperl version:
8be5f608 342 - use SvPVbyte() if available
db2a39d5
GA
343 - fixes to make the code 'gcc -Wall'-clean
344
345
346
3472001-08-27 Gisle Aas <gisle@ActiveState.com>
348
349 Release 2.15
350
8be5f608 351 Avoid exit() in Makefile.PL and bleadperl redefinition of printf
db2a39d5
GA
352 in the alignment test program.
353 Patch by Doug MacEachern <dougm@covalent.net>.
354
355
356
3572001-07-18 Gisle Aas <gisle@ActiveState.com>
358
359 Release 2.14
360
361 Try to warn if the functional interface is used as methods,
362 i.e. Digest::MD5->md5_hex("foo") will make noise if -w is
363 enabled.
364
365 Document the missing padding for the base64 digests.
366
367 If both XS bootstrap and locating Digest::Perl::MD5 fails
8be5f608 368 re-raise the original XS bootstrap exception.
db2a39d5
GA
369
370
371
3357b1b1
JH
3722001-03-13 Gisle Aas <gisle@ActiveState.com>
373
374 Release 2.13
375
376 Moved all other Digest:: modules out of the Digest-MD5 dist.
377
378
379
3802000-09-18 Gisle Aas <gisle@ActiveState.com>
381
382 Release 2.12
383
384 Avoid pointer cast warning for machines with bigger ints
385 than pointers. Patch by Robin Barker <rmb1@cise.npl.co.uk>.
386
387
388
3892000-08-19 Gisle Aas <gisle@ActiveState.com>
390
391 Release 2.11
392
393 The fallback code introduced in 2.10 did only work for
394 perl-5.6.0. It should now for for perl5.004 and 5.005
c8780a73 395 as well. Patch by Ville Skyttä <ville@office.popsystems.com>.
3357b1b1
JH
396
397
398
3992000-08-18 Gisle Aas <gisle@ActiveState.com>
400
401 Release 2.10
402
403 Digest::MD5 will now try to fallback to the pure perl
404 implementation of Digest::Perl::MD5 if bootstrap fails.
405
406 Added a bit internal paranoia about casting the IV
407 in the Digest::MD5 object to the MD5_CTX* pointer.
408
409
410
4111999-08-06 Gisle Aas <gisle@aas.no>
412
413 Release 2.09
414
415 Documentation update.
416
417
418
4191999-07-28 Gisle Aas <gisle@aas.no>
420
421 Release 2.08
422
423 The addfile() methods could trigger a core dump when passed
424 a filehandle that had failed to open.
425
426
427
4281999-04-26 Gisle Aas <gisle@aas.no>
429
430 Release 2.07
431
432 The Digest::SHA1 module failed on some 64-bit systems, because I
433 assumed there was a correspondence between the U32 size and
434 BYTEORDER. This version use 'unsigned long' as Uwe's original
435 SHA module did.
436
437 The module should now work better when liked statically with perl,
438 because we now use a safer module-loaded test in Digest.pm.
439
440 Assume we know the outcome of the alignment test on VMS. Patch by
441 Chuck Lane <lane@duphy4.physics.drexel.edu>
442
443
444
4451999-03-26 Gisle Aas <gisle@aas.no>
446
447 Release 2.06
448
449 Avoid LONG and BYTE types in SHA.xs as they was in conflict
450 with similar definitions in <winnt.h>.
451
0a3486ef 452 Patch by Marko Asplund <aspa@hip.fi> to make the alignment
3357b1b1
JH
453 test program link successfully with sfio-perl.
454
455 Fixed a typo in MD5.xs that might have affected 64-bit systems.
456 Spotted by Nick Ing-Simmons
457
458
459
4601999-03-15 Gisle Aas <gisle@aas.no>
461
462 Release 2.05
463
464 Included Digest::SHA1 based on Uwe Hollerbach's SHA module.
465
466
467
4681999-03-05 Gisle Aas <gisle@aas.no>
469
470 Release 2.04
471
472 Avoid the -o option when compiling alignment test program
473 for Win32 as suggested by Gurusamy Sarathy.
474
475 DEC Compiler bug workaround. Contributed by D Roland Walker
476 <walker@ncbi.nlm.nih.gov>
477
478 Having references to a local variable called "na" was not
479 very safe either. Some older versions of Perl can apparently
480 macroize this into something completely different.
481
482
483
4841999-02-27 Gisle Aas <gisle@aas.no>
485
486 Release 2.03
487
488 Patch from Christopher J. Madsen <chris_madsen@geocities.com> that
489 should help getting the u32align test program to compile with
490 Visual C++ 5 on Windows NT.
491
492 Got rid of references to PL_na.
493
494
495
4961999-01-31 Gisle Aas <gisle@aas.no>
497
498 Release 2.02
499
500 Added a hints file as workaround for an IRIX compiler bug.
501 Contributed by D Roland Walker <walker@ncbi.nlm.nih.gov>.
502
503 Note that the rfc2202 test can still fail on some DEC Alpha,
504 because of a compiler bug that affects the perl 'x' operator.
505 The Digest:: modules should work and be safe to install anyway.
506
507
508
5091998-12-18 Gisle Aas <aas@sn.no>
510
511 Release 2.01
512
513 Some casts and tweaks to make picky compilers more happy.
514
515
516
5171998-11-04 Gisle Aas <aas@sn.no>
518
519 Release 2.00.
520
521 Taken out Digest::SHA1 as this module will be provided from Uwe
522 Hollerbach later.
523
524 Some tweaks to MD2.xs and MD5.xs since "na" disappeared in
525 perl5.005_53
526
527
528
5291998-10-30 Gisle Aas <aas@sn.no>
530
531 Release 1.99_60
532
533 The 1.99_59 release introduced compilation problems for big-endian
534 systems with free U32 alignment. Bug reported, and fix suggested
535 by Paul J. Schinder <schinder@pobox.com>.
536
537
538
5391998-10-28 Gisle Aas <aas@sn.no>
540
541 Release 1.99_59
542
543 Makefile.PL will run a test program to find out if U32 values can
544 be aligned anywhere. This hopefully cures the core dumps reported
545 on Solaris and other big endian systems. Thanks to Graham Barr for
546 debugging this.
547
548
549
5501998-10-28 Gisle Aas <aas@sn.no>
551
552 Release 1.99_58
553
554 Should be very close to a 2.00 release now. Need some success
555 reports from people running on big-endian machines first I think.
556
557 Added a Digest::MD2 implementation.
558
559 Wrote Digest.pm documentation. This define the interface that all
560 Digest:: modules should provide.
561
562 Avoided some code duplication in MD5.xs
563
564 Fixed typo, that prevented Digest::SHA1::sha1_base64() from working.
565
566
567
5681998-10-27 Gisle Aas <aas@sn.no>
569
570 Release 1.99_57
571
572 Rewritten most of the MD5 C code to make it real fast (especially
573 on little-endian machines without alignment restrictions for U32).
574 Compared to MD5-1.7 we can process files 4 times as fast and we
575 digest small stuff in memory 7 times faster. I came to these
576 conclusions after these tests (gcc -O2, i586, Linux):
577
578 First tested calculation of the digest of a 31 MB file, using
579 perl -le 'print Digest::MD5->new->addfile(*STDIN)->hexdigest'
580 and similar stuff:
581
582 MD5-1.7: 21.06s
583 Digest::MD5-1.99_57: 5.23s
584 md5sum (GNU textutils): 4.90s
585
586 As you can see, we do nearly as good as the md5sum program. I
587 think the reason we don't beat md5sum is that perl always insist on
588 loading extra modules like Config.pm, Carp.pm, strict.pm, vars.pm,
589 AutoLoader.pm and DynaLoader.pm. When I simply wrapped the MD5.xs
590 hasher code in a C program I managed to process the file in 4.68s.
591
592 Then we calculated the digest of the same 6 byte sting, 20000
593 times:
594
595 MD5-1.7: 11.81s
596 Digest::MD5-1.99_57: 1.68s
597
598 Digest::MD5 benefit from making this into a plain procedure call
599 instead of a static method call.
600
601
602 Other changes in this release are:
603
604 Documentation update
605
606 Internal MD5.xs cleanup.
607
608 $md5->digest will automatically reset now.
609
610 Digest::HMAC methods add() and addfile() did not return the
8be5f608 611 correct object.
3357b1b1
JH
612
613 Added Digest.pm loading module. I am not sure this is a good idea.
614
615 Added Digest::SHA1 and Digest::HMAC_SHA1 module. The Digest::SHA1
616 module is just a wrapper around SHA.pm. I hope to get the author
617 of SHA.pm to move his module to the Digest:: category.
618
619
620
6211998-10-25 Gisle Aas <aas@sn.no>
622
623 Release 1.99_56
624
625 Fix memcpy_byteswap() function in MD5.xs. Must be careful with
626 htovl() as it might evaluate its arguments more than once.
627
628
629
6301998-10-25 Gisle Aas <aas@sn.no>
631
632 Release 1.99_55
633
0a3486ef 634 Grahams HMAC_MD5.pm split into two modules. Digest::HMAC and
3357b1b1
JH
635 Digest::HMAC_MD5. Also provide functional interface. Documentation
636 is still lacking.
637
638 Included RFC 2202 based test for HMAC-MD5.
639
640
641
6421998-10-24 Gisle Aas <aas@sn.no>
643
644 Release 1.99_54
645
646 Included HMAC_MD5.pm, contributed by Graham Barr <gbarr@ti.com>.
647
648 I have a hard time to make up my mind :-) md5_bin() renamed back
649 to md5(). Functions are not exported by default any more.
650
651 Try to Encode/Decode with memcpy_byteswap for 32-bit big-endian
652 machines.
653
654
655
6561998-10-23 Gisle Aas <aas@sn.no>
657
658 Release 1.99_53
659
660 Renamed core module as Digest::MD5. Leave a MD5.pm stub for
661 legacy code.
662
663 The md5() function renamed as md5_bin().
664
665 The constructor, Digest::MD5->new, no longer takes any extra
666 arguments.
667
668 Added some new tests.
669
670 Updated the documentation.
671
672 $md5->b64digest implemented with same base64 encoder as md5_base64.
673
674
675
6761998-10-23 Gisle Aas <aas@sn.no>
677
678 Release 1.99_52
679
680 Patch from Graham Barr which make it work for big-endian machines
681 again.
682
683
684
6851998-10-22 Gisle Aas <aas@sn.no>
686
687 Release 1.99_51
688
689 The MD5 class is now subclassable.
690
691 The add() and addfile() methods now return $self.
692
693 The reset() method is just an alias for new().
694
695 The constructor (MD5->new) now takes optional arguments which are
696 automatically added. It means that we can now write:
697
698 MD5->new($data)->hexdigest;
699
700 New $md5->b64digest method.
701
702 New functions that are exported on request: md5, md5_hex, md5_base64
703
704 Included RFC 1321
705
706 Barely started to update the documentation.
707
708
709
7101998-10-22 Gisle Aas <aas@sn.no>
711
712 Release 1.99_50
713
714 Much better performance (more than twice as fast now). Mostly
715 because we use Copy/Zero instead of the original MD5_memcpy and
716 MD5_memset functions.
717
718 The addfile() and hexdigest() methods are now XS implemented.
719
720 All RSA functions now included in MD5.xs and made static.
721
722 Use perl's Copy/Zero.
723
724 Random cleanup, simplifications and reformatting.
725 Merged things better with the perl configuration.
726
727
728
729Neil Winton's versions below:
730
731
732*** 96/06/20 Version 1.7
733
734MD5 is now completely 64-bit clean (I hope). The basic MD5 code uses
73532-bit quantities and requires a typedef UINT4 to be defined in
736global.h. Perl configuration data (the value of BYTEORDER) is used to
737determine if unsigned longs have 4 or 8 bytes. On 64-bit platforms (eg
738DEC Alpha) then it assumes that "unsigned int" will be a 32-bit type.
739If this is incorrect then adding -DUINT4_IS_LONG to the DEFINES line in
740Makefile.PL will override this.
741
742On some machines (at least Cray that I know of) there is no 32-bit
743integer type. In this case defining TRUNCATE_UINT4 (which is done
744automatically for a Cray) will ensure that 64-bit values are masked
745down to 32 bits. I have done my best to test this but without easy
746access to a true 64-bit machine I can not totally guarantee it (unless
747anyone wants to lend me a spare Cray :-)
748
749There is one remaining limitation for 64-bit enabled processors. The
750amount of data passed to any single call to the underlying MD5
751routines is limited to (2^32 - 1) bytes -- that's 4 gigabytes. I'm
752sorry if that's a real problem for you ...
753
8be5f608 754And finally, a minor compilation warning (unsigned char * used with
3357b1b1
JH
755function having char * prototype) has also been eliminated.
756
757*** 96/04/09 Version 1.6
758
759Re-generated module framework using h2xs to pick up the latest module
760conventions for versions etc. You can now say "use MD5 1.6;" and things
761should work correctly. MD5.pod has been integrated into MD5.pm and
762CHANGES renamed to Changes. There is a fairly comprehensive test.pl
763which can be invoked via "make test". There are no functional changes
764to the MD5 routines themselves.
765
766*** 96/03/14 Version 1.5.3
767
768Fixed addfile method to accept type-glob references for the file-handle
769(eg \*STDOUT). This is more consistent with other routines and is now the
770recommended way of passing file-handles. The documentation now gives more
771examples as to how the routines might be used.
772
773*** 96/03/12 Version 1.5.2
774
775Minor fixes from Christopher J Madsen <madsen@computek.net> to provide
8be5f608 776support for building on OS/2 (and to work around a perl -w bug).
3357b1b1
JH
777
778Remove warning about possible difference between add('foo', 'bar') and
779add('foobar'). This is not true (it may have been true in the earliest
780version of the module but is no longer the case).
781
782*** 96/03/08 Version 1.5.1
783
784Add CHANGES file to make it easier for people to figure out what has
785been going on. (Meant to do this as part of 1.5)
786
787*** 96/03/05 Version 1.5
788
789Add hash() and hexhash() methods at the suggestion/request of Gary
790Howland <gary@kampai.euronet.nl> before inclusion in a wider library
791of cryptography modules.
792
793*** 96/02/27 Version 1.4
794
795Finally fixed the pesky Solaris dynamic loading bug. All kudos to Ken
796Pizzini <kenp@spry.com>!
797
798*** 95/11/29 Version 1.3.1
799
800Add explanations of current known problems.
801
802*** 95/06/02 Version 1.3
803
804Fix problems with scope resolution in addfile() reported by
805Jean-Claude Giese <Jean-Claude.Giese@loria.fr>. Basically ARGV is
806always implicitly in package main while other filehandles aren't.
807
808*** 95/05/23 Version 1.2.1
809
810[Changes pre 1.2.1 not recorded]