1 2004-08-25 Gisle Aas <gisle@ActiveState.com>
5 Forgot to increment version number in MIME::QuotedPrint even
6 if its interface changed in 3.02. As a result you will now
7 need to require MIME::QuotedPrint 3.03 if you want to ensure
8 it provides the binmode interface.
12 2004-08-24 Gisle Aas <gisle@ActiveState.com>
16 The encode_qp() function now takes an optional third argument
17 to select binary encoding mode.
19 The result of encode_qp($non_empty, $eol) will now always be
20 $eol terminated. If the string to encode does not end with "\n"
21 then a soft line break is appended to the result. As an example
22 encode_qp("foo") used to be encoded as "foo", but now encodes as
27 2004-03-29 Gisle Aas <gisle@ActiveState.com>
31 By compiling the extension with PERL_NO_GET_CONTEXT we can
32 make it slightly faster on a threaded perl. No change on a
33 regular perl. Patch provided by Beau E. Cox <beau@beaucox.com>.
35 Fixed missing ";" with assert. Patch provided by
36 Brendan O'Dea <bod@debian.org>.
40 2004-01-14 Gisle Aas <gisle@ActiveState.com>
44 Drop the pure Perl implementations of the encoders and
45 decoders. They are bloat that hides real problems in
46 the XS implementations. I will re-release them separately
47 in the new MIME-Base64-Perl distribution.
49 The 'gcc -Wall' fix in 2.22 broke support for perl5.005,
50 as the isXDIGIT() macro is not available in that perl.
51 This problem has now been fixed.
55 2004-01-08 Gisle Aas <gisle@ActiveState.com>
59 Documentation fixes by Paul Croome <Paul.Croome@softwareag.com>.
63 2004-01-08 Gisle Aas <gisle@ActiveState.com>
67 Fix 'gcc -Wall' complaints.
71 2003-10-09 Gisle Aas <gisle@ActiveState.com>
77 Don't rely on SvEND(sv) == '\0' as discussed in the perl5-porters
78 mailing list thread that starts with
79 http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-10/msg00258.html
81 Should now pass test suite even without XS support.
83 Perl v5.005 or better is now required.
87 2003-05-13 Gisle Aas <gisle@ActiveState.com>
91 decode_qp() recognize soft whitespace when there is whitespace
92 between the '=' and the '\n'.
96 2003-05-13 Gisle Aas <gisle@ActiveState.com>
100 decode_qp() did eat up all trailing whitespace in the string decoded.
101 Only whitespace in front of "\n" should go.
103 Win32 fix for t/warn.t by Reini Urban <rurban@x-ray.at>.
107 2003-03-09 Gisle Aas <gisle@ActiveState.com>
111 Fix up INSTALLDIRS for perl-5.8 and newer.
115 2003-03-09 Gisle Aas <gisle@ActiveState.com>
119 Make it reliable to disable base64 decoding warnings by
120 resetting $^W in recent perls. Would really like to be
121 able to do real lexical warnings but the current mechanism
122 does not seems suitable for XS code.
124 Passing "" as $eol to encode_qp() disable soft line
127 Sync up with changes in bleadperl:
128 - safer patchlevel.h include
133 2003-01-05 Gisle Aas <gisle@ActiveState.com>
137 Fixed the encode_qp() line breaking code. It sometimes
138 made lines longer than 76 chars and it could even get into
139 an infinite loop on certain inputs.
143 2003-01-03 Gisle Aas <gisle@ActiveState.com>
147 Fixed the XS based decode_qp() for strings where a =XX
148 sequence was followed by digits.
150 Faster encode_qp() for long strings with lots of chars
153 The old_decode_base64() function introduced in 2.13
154 was returning undef for empty input on olders perls.
155 This problem has been fixed.
159 2003-01-01 Gisle Aas <gisle@ActiveState.com>
163 MIME::QuotedPrint functions now also implemented using XS
164 which make them faster. 2-3 times faster when encoding line by
165 line and as much as 200 times faster on long binary input. There
166 is probably some breakage on non-ASCII systems from this.
168 The encode_qp() function now takes an $eol argument in the
169 same way as encode_base64() does.
171 Slight change in behaviour: the decode_qp() function now turns
172 \r\n terminated lines into \n terminated lines. This makes is
173 more likely that encode_qp(decode_qp()) round-trip properly.
175 Included {en,de}code-{base64,qp} utility scripts.
179 2002-12-27 Gisle Aas <gisle@ActiveState.com>
183 Sync up with bleadperl:
184 - Documentation update
187 - Improved Unicode support
190 Improved version of the old_{en,de}code_base64 functions
191 contributed by Paul Szabo <psz@maths.usyd.edu.au>.
195 2001-02-23 Gisle Aas <gisle@ActiveState.com>
199 Speed up pure perl base64 encoder/decoder by using join/map instead
200 of while loop. Contributed by Arno Beckmann <arno@gmx.de>
202 Doc update contributed by Jerrad Pierce <belg4mit@CALLOWAY.MIT.EDU>
204 Downgrade UTF8 strings before starting to encode.
208 1999-02-27 Gisle Aas <gisle@aas.no>
212 Fixed bogus "Premature end of base64 data" warning. Bug spotted
213 by Dwayne Jacques Fontenot.
215 Workaround for Redhat shipping trial releases of perl.
219 1998-12-18 Gisle Aas <aas@sn.no>
223 A tweak that should make compilation with some old perl5.00[23]
226 A cast that make some compilers more happy.
230 1998-11-13 Gisle Aas <aas@sn.no>
234 The 2.08 release did not compile with perl5.005_53, because
235 all simple globals now need to be prefixed with "PL_".
239 1998-10-22 Gisle Aas <aas@sn.no>
243 Found another tweak to speed up decode_base64() with another 3%.
245 Improved MIME::Base64 documentation a little.
249 1998-10-21 Gisle Aas <aas@sn.no>
253 Faster and smarter C implementation of the decode_base64()
254 function. The new decode_base64() was 25% faster when tested
255 on Linux, i586, gcc -O2.
259 1998-07-15 Gisle Aas <aas@sn.no>
263 The decode_base64() implemented in pure perl will only carp
264 (not croak) if length of data to decode is not a multiple 4. This
265 actually made 'make test' fail after 'rm Base64.xs'.
269 1998-01-27 Gisle Aas <aas@sn.no>
273 The decode_base64() would previously allocate a too short buffer for the
274 result string when the trailing "==" padding was missing in the string to
277 The encode_base64() now allocate one byte less space in the result
282 1997-12-02 Gisle Aas <aas@sn.no>
286 Documentation expanded a bit.
290 1997-07-10 Gisle Aas <aas@sn.no>
294 Decode_base64() doesn't croak on premature ended data any more.
295 A warning is generated instead if running under -w.
299 1997-06-27 Gisle Aas <aas@sn.no>
303 QuotedPrint fix by Roderick Schertler <roderick@argon.org>:
305 - Long lines were not broken unless they're at the beginning
308 - Lines near but not over 76 chars were broken when they
313 1997-06-13 Gisle Aas <aas@sn.no>
317 Base64.xs: Avoid type convertion warnings with some compilers
319 Minor documentation updates
323 1997-04-24 Gisle Aas <aas@sn.no>
325 Release 2.00, based on libwww-perl-5.08.