1 2005-11-26 Gisle Aas <gisle@ActiveState.com>
7 use XSLoader; perl-5.6 now required.
9 Some consting from bleadperl.
11 Unbundled the {en,de}code-{base64,qp} utility scripts.
12 These are now found in the MIME-Base64-Scripts package.
16 2004-09-20 Gisle Aas <gisle@ActiveState.com>
20 Steve Hay <steve.hay@uk.radan.com> found the warn test broken
21 on Windows and provided a fix.
25 2004-09-18 Gisle Aas <gisle@ActiveState.com>
29 Fixed the bad-sv.t test script to actually contain the
30 correct expected result as of v3.02.
34 2004-08-25 Gisle Aas <gisle@ActiveState.com>
38 Forgot to increment version number in MIME::QuotedPrint even
39 if its interface changed in 3.02. As a result you will now
40 need to require MIME::QuotedPrint 3.03 if you want to ensure
41 it provides the binmode interface.
45 2004-08-24 Gisle Aas <gisle@ActiveState.com>
49 The encode_qp() function now takes an optional third argument
50 to select binary encoding mode.
51 <https://rt.cpan.org/Ticket/Display.html?id=7456>
53 The result of encode_qp($non_empty, $eol) will now always be
54 $eol terminated. If the string to encode does not end with "\n"
55 then a soft line break is appended to the result. As an example
56 encode_qp("foo") used to be encoded as "foo", but now encodes as
61 2004-03-29 Gisle Aas <gisle@ActiveState.com>
65 By compiling the extension with PERL_NO_GET_CONTEXT we can
66 make it slightly faster on a threaded perl. No change on a
67 regular perl. Patch provided by Beau E. Cox <beau@beaucox.com>.
69 Fixed missing ";" with assert. Patch provided by
70 Brendan O'Dea <bod@debian.org>.
74 2004-01-14 Gisle Aas <gisle@ActiveState.com>
78 Drop the pure Perl implementations of the encoders and
79 decoders. They are bloat that hides real problems in
80 the XS implementations. I will re-release them separately
81 in the new MIME-Base64-Perl distribution.
83 The 'gcc -Wall' fix in 2.22 broke support for perl5.005,
84 as the isXDIGIT() macro is not available in that perl.
85 This problem has now been fixed.
89 2004-01-08 Gisle Aas <gisle@ActiveState.com>
93 Documentation fixes by Paul Croome <Paul.Croome@softwareag.com>.
97 2004-01-08 Gisle Aas <gisle@ActiveState.com>
101 Fix 'gcc -Wall' complaints.
105 2003-10-09 Gisle Aas <gisle@ActiveState.com>
109 Documentation tweaks.
111 Don't rely on SvEND(sv) == '\0' as discussed in the perl5-porters
112 mailing list thread that starts with
113 http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-10/msg00258.html
115 Should now pass test suite even without XS support.
117 Perl v5.005 or better is now required.
121 2003-05-13 Gisle Aas <gisle@ActiveState.com>
125 decode_qp() recognize soft whitespace when there is whitespace
126 between the '=' and the '\n'.
130 2003-05-13 Gisle Aas <gisle@ActiveState.com>
134 decode_qp() did eat up all trailing whitespace in the string decoded.
135 Only whitespace in front of "\n" should go.
137 Win32 fix for t/warn.t by Reini Urban <rurban@x-ray.at>.
141 2003-03-09 Gisle Aas <gisle@ActiveState.com>
145 Fix up INSTALLDIRS for perl-5.8 and newer.
149 2003-03-09 Gisle Aas <gisle@ActiveState.com>
153 Make it reliable to disable base64 decoding warnings by
154 resetting $^W in recent perls. Would really like to be
155 able to do real lexical warnings but the current mechanism
156 does not seems suitable for XS code.
158 Passing "" as $eol to encode_qp() disable soft line
161 Sync up with changes in bleadperl:
162 - safer patchlevel.h include
167 2003-01-05 Gisle Aas <gisle@ActiveState.com>
171 Fixed the encode_qp() line breaking code. It sometimes
172 made lines longer than 76 chars and it could even get into
173 an infinite loop on certain inputs.
177 2003-01-03 Gisle Aas <gisle@ActiveState.com>
181 Fixed the XS based decode_qp() for strings where a =XX
182 sequence was followed by digits.
184 Faster encode_qp() for long strings with lots of chars
187 The old_decode_base64() function introduced in 2.13
188 was returning undef for empty input on olders perls.
189 This problem has been fixed.
193 2003-01-01 Gisle Aas <gisle@ActiveState.com>
197 MIME::QuotedPrint functions now also implemented using XS
198 which make them faster. 2-3 times faster when encoding line by
199 line and as much as 200 times faster on long binary input. There
200 is probably some breakage on non-ASCII systems from this.
202 The encode_qp() function now takes an $eol argument in the
203 same way as encode_base64() does.
205 Slight change in behaviour: the decode_qp() function now turns
206 \r\n terminated lines into \n terminated lines. This makes is
207 more likely that encode_qp(decode_qp()) round-trip properly.
209 Included {en,de}code-{base64,qp} utility scripts.
213 2002-12-27 Gisle Aas <gisle@ActiveState.com>
217 Sync up with bleadperl:
218 - Documentation update
221 - Improved Unicode support
224 Improved version of the old_{en,de}code_base64 functions
225 contributed by Paul Szabo <psz@maths.usyd.edu.au>.
229 2001-02-23 Gisle Aas <gisle@ActiveState.com>
233 Speed up pure perl base64 encoder/decoder by using join/map instead
234 of while loop. Contributed by Arno Beckmann <arno@gmx.de>
236 Doc update contributed by Jerrad Pierce <belg4mit@CALLOWAY.MIT.EDU>
238 Downgrade UTF8 strings before starting to encode.
242 1999-02-27 Gisle Aas <gisle@aas.no>
246 Fixed bogus "Premature end of base64 data" warning. Bug spotted
247 by Dwayne Jacques Fontenot.
249 Workaround for Redhat shipping trial releases of perl.
253 1998-12-18 Gisle Aas <aas@sn.no>
257 A tweak that should make compilation with some old perl5.00[23]
260 A cast that make some compilers more happy.
264 1998-11-13 Gisle Aas <aas@sn.no>
268 The 2.08 release did not compile with perl5.005_53, because
269 all simple globals now need to be prefixed with "PL_".
273 1998-10-22 Gisle Aas <aas@sn.no>
277 Found another tweak to speed up decode_base64() with another 3%.
279 Improved MIME::Base64 documentation a little.
283 1998-10-21 Gisle Aas <aas@sn.no>
287 Faster and smarter C implementation of the decode_base64()
288 function. The new decode_base64() was 25% faster when tested
289 on Linux, i586, gcc -O2.
293 1998-07-15 Gisle Aas <aas@sn.no>
297 The decode_base64() implemented in pure perl will only carp
298 (not croak) if length of data to decode is not a multiple 4. This
299 actually made 'make test' fail after 'rm Base64.xs'.
303 1998-01-27 Gisle Aas <aas@sn.no>
307 The decode_base64() would previously allocate a too short buffer for the
308 result string when the trailing "==" padding was missing in the string to
311 The encode_base64() now allocate one byte less space in the result
316 1997-12-02 Gisle Aas <aas@sn.no>
320 Documentation expanded a bit.
324 1997-07-10 Gisle Aas <aas@sn.no>
328 Decode_base64() doesn't croak on premature ended data any more.
329 A warning is generated instead if running under -w.
333 1997-06-27 Gisle Aas <aas@sn.no>
337 QuotedPrint fix by Roderick Schertler <roderick@argon.org>:
339 - Long lines were not broken unless they're at the beginning
342 - Lines near but not over 76 chars were broken when they
347 1997-06-13 Gisle Aas <aas@sn.no>
351 Base64.xs: Avoid type convertion warnings with some compilers
353 Minor documentation updates
357 1997-04-24 Gisle Aas <aas@sn.no>
359 Release 2.00, based on libwww-perl-5.08.