1 2005-11-30 Gisle Aas <gisle@ActiveState.com>
5 Use a Makefile.PL that is also suitable for core perl.
9 2005-11-26 Gisle Aas <gisle@ActiveState.com>
15 use XSLoader; perl-5.6 now required.
17 Some consting from bleadperl.
19 Unbundled the {en,de}code-{base64,qp} utility scripts.
20 These are now found in the MIME-Base64-Scripts package.
24 2004-09-20 Gisle Aas <gisle@ActiveState.com>
28 Steve Hay <steve.hay@uk.radan.com> found the warn test broken
29 on Windows and provided a fix.
33 2004-09-18 Gisle Aas <gisle@ActiveState.com>
37 Fixed the bad-sv.t test script to actually contain the
38 correct expected result as of v3.02.
42 2004-08-25 Gisle Aas <gisle@ActiveState.com>
46 Forgot to increment version number in MIME::QuotedPrint even
47 if its interface changed in 3.02. As a result you will now
48 need to require MIME::QuotedPrint 3.03 if you want to ensure
49 it provides the binmode interface.
53 2004-08-24 Gisle Aas <gisle@ActiveState.com>
57 The encode_qp() function now takes an optional third argument
58 to select binary encoding mode.
59 <https://rt.cpan.org/Ticket/Display.html?id=7456>
61 The result of encode_qp($non_empty, $eol) will now always be
62 $eol terminated. If the string to encode does not end with "\n"
63 then a soft line break is appended to the result. As an example
64 encode_qp("foo") used to be encoded as "foo", but now encodes as
69 2004-03-29 Gisle Aas <gisle@ActiveState.com>
73 By compiling the extension with PERL_NO_GET_CONTEXT we can
74 make it slightly faster on a threaded perl. No change on a
75 regular perl. Patch provided by Beau E. Cox <beau@beaucox.com>.
77 Fixed missing ";" with assert. Patch provided by
78 Brendan O'Dea <bod@debian.org>.
82 2004-01-14 Gisle Aas <gisle@ActiveState.com>
86 Drop the pure Perl implementations of the encoders and
87 decoders. They are bloat that hides real problems in
88 the XS implementations. I will re-release them separately
89 in the new MIME-Base64-Perl distribution.
91 The 'gcc -Wall' fix in 2.22 broke support for perl5.005,
92 as the isXDIGIT() macro is not available in that perl.
93 This problem has now been fixed.
97 2004-01-08 Gisle Aas <gisle@ActiveState.com>
101 Documentation fixes by Paul Croome <Paul.Croome@softwareag.com>.
105 2004-01-08 Gisle Aas <gisle@ActiveState.com>
109 Fix 'gcc -Wall' complaints.
113 2003-10-09 Gisle Aas <gisle@ActiveState.com>
117 Documentation tweaks.
119 Don't rely on SvEND(sv) == '\0' as discussed in the perl5-porters
120 mailing list thread that starts with
121 http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-10/msg00258.html
123 Should now pass test suite even without XS support.
125 Perl v5.005 or better is now required.
129 2003-05-13 Gisle Aas <gisle@ActiveState.com>
133 decode_qp() recognize soft whitespace when there is whitespace
134 between the '=' and the '\n'.
138 2003-05-13 Gisle Aas <gisle@ActiveState.com>
142 decode_qp() did eat up all trailing whitespace in the string decoded.
143 Only whitespace in front of "\n" should go.
145 Win32 fix for t/warn.t by Reini Urban <rurban@x-ray.at>.
149 2003-03-09 Gisle Aas <gisle@ActiveState.com>
153 Fix up INSTALLDIRS for perl-5.8 and newer.
157 2003-03-09 Gisle Aas <gisle@ActiveState.com>
161 Make it reliable to disable base64 decoding warnings by
162 resetting $^W in recent perls. Would really like to be
163 able to do real lexical warnings but the current mechanism
164 does not seems suitable for XS code.
166 Passing "" as $eol to encode_qp() disable soft line
169 Sync up with changes in bleadperl:
170 - safer patchlevel.h include
175 2003-01-05 Gisle Aas <gisle@ActiveState.com>
179 Fixed the encode_qp() line breaking code. It sometimes
180 made lines longer than 76 chars and it could even get into
181 an infinite loop on certain inputs.
185 2003-01-03 Gisle Aas <gisle@ActiveState.com>
189 Fixed the XS based decode_qp() for strings where a =XX
190 sequence was followed by digits.
192 Faster encode_qp() for long strings with lots of chars
195 The old_decode_base64() function introduced in 2.13
196 was returning undef for empty input on olders perls.
197 This problem has been fixed.
201 2003-01-01 Gisle Aas <gisle@ActiveState.com>
205 MIME::QuotedPrint functions now also implemented using XS
206 which make them faster. 2-3 times faster when encoding line by
207 line and as much as 200 times faster on long binary input. There
208 is probably some breakage on non-ASCII systems from this.
210 The encode_qp() function now takes an $eol argument in the
211 same way as encode_base64() does.
213 Slight change in behaviour: the decode_qp() function now turns
214 \r\n terminated lines into \n terminated lines. This makes is
215 more likely that encode_qp(decode_qp()) round-trip properly.
217 Included {en,de}code-{base64,qp} utility scripts.
221 2002-12-27 Gisle Aas <gisle@ActiveState.com>
225 Sync up with bleadperl:
226 - Documentation update
229 - Improved Unicode support
232 Improved version of the old_{en,de}code_base64 functions
233 contributed by Paul Szabo <psz@maths.usyd.edu.au>.
237 2001-02-23 Gisle Aas <gisle@ActiveState.com>
241 Speed up pure perl base64 encoder/decoder by using join/map instead
242 of while loop. Contributed by Arno Beckmann <arno@gmx.de>
244 Doc update contributed by Jerrad Pierce <belg4mit@CALLOWAY.MIT.EDU>
246 Downgrade UTF8 strings before starting to encode.
250 1999-02-27 Gisle Aas <gisle@aas.no>
254 Fixed bogus "Premature end of base64 data" warning. Bug spotted
255 by Dwayne Jacques Fontenot.
257 Workaround for Redhat shipping trial releases of perl.
261 1998-12-18 Gisle Aas <aas@sn.no>
265 A tweak that should make compilation with some old perl5.00[23]
268 A cast that make some compilers more happy.
272 1998-11-13 Gisle Aas <aas@sn.no>
276 The 2.08 release did not compile with perl5.005_53, because
277 all simple globals now need to be prefixed with "PL_".
281 1998-10-22 Gisle Aas <aas@sn.no>
285 Found another tweak to speed up decode_base64() with another 3%.
287 Improved MIME::Base64 documentation a little.
291 1998-10-21 Gisle Aas <aas@sn.no>
295 Faster and smarter C implementation of the decode_base64()
296 function. The new decode_base64() was 25% faster when tested
297 on Linux, i586, gcc -O2.
301 1998-07-15 Gisle Aas <aas@sn.no>
305 The decode_base64() implemented in pure perl will only carp
306 (not croak) if length of data to decode is not a multiple 4. This
307 actually made 'make test' fail after 'rm Base64.xs'.
311 1998-01-27 Gisle Aas <aas@sn.no>
315 The decode_base64() would previously allocate a too short buffer for the
316 result string when the trailing "==" padding was missing in the string to
319 The encode_base64() now allocate one byte less space in the result
324 1997-12-02 Gisle Aas <aas@sn.no>
328 Documentation expanded a bit.
332 1997-07-10 Gisle Aas <aas@sn.no>
336 Decode_base64() doesn't croak on premature ended data any more.
337 A warning is generated instead if running under -w.
341 1997-06-27 Gisle Aas <aas@sn.no>
345 QuotedPrint fix by Roderick Schertler <roderick@argon.org>:
347 - Long lines were not broken unless they're at the beginning
350 - Lines near but not over 76 chars were broken when they
355 1997-06-13 Gisle Aas <aas@sn.no>
359 Base64.xs: Avoid type convertion warnings with some compilers
361 Minor documentation updates
365 1997-04-24 Gisle Aas <aas@sn.no>
367 Release 2.00, based on libwww-perl-5.08.