1 2004-03-29 Gisle Aas <gisle@ActiveState.com>
5 By compiling the extension with PERL_NO_GET_CONTEXT we can
6 make it slightly faster on a threaded perl. No change on a
7 regular perl. Patch provided by Beau E. Cox <beau@beaucox.com>.
9 Fixed missing ";" with assert. Patch provided by
10 Brendan O'Dea <bod@debian.org>.
14 2004-01-14 Gisle Aas <gisle@ActiveState.com>
18 Drop the pure Perl implementations of the encoders and
19 decoders. They are bloat that hides real problems in
20 the XS implementations. I will re-release them separately
21 in the new MIME-Base64-Perl distribution.
23 The 'gcc -Wall' fix in 2.22 broke support for perl5.005,
24 as the isXDIGIT() macro is not available in that perl.
25 This problem has now been fixed.
29 2004-01-08 Gisle Aas <gisle@ActiveState.com>
33 Documentation fixes by Paul Croome <Paul.Croome@softwareag.com>.
37 2004-01-08 Gisle Aas <gisle@ActiveState.com>
41 Fix 'gcc -Wall' complaints.
45 2003-10-09 Gisle Aas <gisle@ActiveState.com>
51 Don't rely on SvEND(sv) == '\0' as discussed in the perl5-porters
52 mailing list thread that starts with
53 http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-10/msg00258.html
55 Should now pass test suite even without XS support.
57 Perl v5.005 or better is now required.
61 2003-05-13 Gisle Aas <gisle@ActiveState.com>
65 decode_qp() recognize soft whitespace when there is whitespace
66 between the '=' and the '\n'.
70 2003-05-13 Gisle Aas <gisle@ActiveState.com>
74 decode_qp() did eat up all trailing whitespace in the string decoded.
75 Only whitespace in front of "\n" should go.
77 Win32 fix for t/warn.t by Reini Urban <rurban@x-ray.at>.
81 2003-03-09 Gisle Aas <gisle@ActiveState.com>
85 Fix up INSTALLDIRS for perl-5.8 and newer.
89 2003-03-09 Gisle Aas <gisle@ActiveState.com>
93 Make it reliable to disable base64 decoding warnings by
94 resetting $^W in recent perls. Would really like to be
95 able to do real lexical warnings but the current mechanism
96 does not seems suitable for XS code.
98 Passing "" as $eol to encode_qp() disable soft line
101 Sync up with changes in bleadperl:
102 - safer patchlevel.h include
107 2003-01-05 Gisle Aas <gisle@ActiveState.com>
111 Fixed the encode_qp() line breaking code. It sometimes
112 made lines longer than 76 chars and it could even get into
113 an infinite loop on certain inputs.
117 2003-01-03 Gisle Aas <gisle@ActiveState.com>
121 Fixed the XS based decode_qp() for strings where a =XX
122 sequence was followed by digits.
124 Faster encode_qp() for long strings with lots of chars
127 The old_decode_base64() function introduced in 2.13
128 was returning undef for empty input on olders perls.
129 This problem has been fixed.
133 2003-01-01 Gisle Aas <gisle@ActiveState.com>
137 MIME::QuotedPrint functions now also implemented using XS
138 which make them faster. 2-3 times faster when encoding line by
139 line and as much as 200 times faster on long binary input. There
140 is probably some breakage on non-ASCII systems from this.
142 The encode_qp() function now takes an $eol argument in the
143 same way as encode_base64() does.
145 Slight change in behaviour: the decode_qp() function now turns
146 \r\n terminated lines into \n terminated lines. This makes is
147 more likely that encode_qp(decode_qp()) round-trip properly.
149 Included {en,de}code-{base64,qp} utility scripts.
153 2002-12-27 Gisle Aas <gisle@ActiveState.com>
157 Sync up with bleadperl:
158 - Documentation update
161 - Improved Unicode support
164 Improved version of the old_{en,de}code_base64 functions
165 contributed by Paul Szabo <psz@maths.usyd.edu.au>.
169 2001-02-23 Gisle Aas <gisle@ActiveState.com>
173 Speed up pure perl base64 encoder/decoder by using join/map instead
174 of while loop. Contributed by Arno Beckmann <arno@gmx.de>
176 Doc update contributed by Jerrad Pierce <belg4mit@CALLOWAY.MIT.EDU>
178 Downgrade UTF8 strings before starting to encode.
182 1999-02-27 Gisle Aas <gisle@aas.no>
186 Fixed bogus "Premature end of base64 data" warning. Bug spotted
187 by Dwayne Jacques Fontenot.
189 Workaround for Redhat shipping trial releases of perl.
193 1998-12-18 Gisle Aas <aas@sn.no>
197 A tweak that should make compilation with some old perl5.00[23]
200 A cast that make some compilers more happy.
204 1998-11-13 Gisle Aas <aas@sn.no>
208 The 2.08 release did not compile with perl5.005_53, because
209 all simple globals now need to be prefixed with "PL_".
213 1998-10-22 Gisle Aas <aas@sn.no>
217 Found another tweak to speed up decode_base64() with another 3%.
219 Improved MIME::Base64 documentation a little.
223 1998-10-21 Gisle Aas <aas@sn.no>
227 Faster and smarter C implementation of the decode_base64()
228 function. The new decode_base64() was 25% faster when tested
229 on Linux, i586, gcc -O2.
233 1998-07-15 Gisle Aas <aas@sn.no>
237 The decode_base64() implemented in pure perl will only carp
238 (not croak) if length of data to decode is not a multiple 4. This
239 actually made 'make test' fail after 'rm Base64.xs'.
243 1998-01-27 Gisle Aas <aas@sn.no>
247 The decode_base64() would previously allocate a too short buffer for the
248 result string when the trailing "==" padding was missing in the string to
251 The encode_base64() now allocate one byte less space in the result
256 1997-12-02 Gisle Aas <aas@sn.no>
260 Documentation expanded a bit.
264 1997-07-10 Gisle Aas <aas@sn.no>
268 Decode_base64() doesn't croak on premature ended data any more.
269 A warning is generated instead if running under -w.
273 1997-06-27 Gisle Aas <aas@sn.no>
277 QuotedPrint fix by Roderick Schertler <roderick@argon.org>:
279 - Long lines were not broken unless they're at the beginning
282 - Lines near but not over 76 chars were broken when they
287 1997-06-13 Gisle Aas <aas@sn.no>
291 Base64.xs: Avoid type convertion warnings with some compilers
293 Minor documentation updates
297 1997-04-24 Gisle Aas <aas@sn.no>
299 Release 2.00, based on libwww-perl-5.08.