1 2004-08-24 Gisle Aas <gisle@ActiveState.com>
5 The encode_qp() function now takes an optional third argument
6 to select binary encoding mode.
8 The result of encode_qp($non_empty, $eol) will now always be
9 $eol terminated. If the string to encode does not end with "\n"
10 then a soft line break is appended to the result. As an example
11 encode_qp("foo") used to be encoded as "foo", but now encodes as
16 2004-03-29 Gisle Aas <gisle@ActiveState.com>
20 By compiling the extension with PERL_NO_GET_CONTEXT we can
21 make it slightly faster on a threaded perl. No change on a
22 regular perl. Patch provided by Beau E. Cox <beau@beaucox.com>.
24 Fixed missing ";" with assert. Patch provided by
25 Brendan O'Dea <bod@debian.org>.
29 2004-01-14 Gisle Aas <gisle@ActiveState.com>
33 Drop the pure Perl implementations of the encoders and
34 decoders. They are bloat that hides real problems in
35 the XS implementations. I will re-release them separately
36 in the new MIME-Base64-Perl distribution.
38 The 'gcc -Wall' fix in 2.22 broke support for perl5.005,
39 as the isXDIGIT() macro is not available in that perl.
40 This problem has now been fixed.
44 2004-01-08 Gisle Aas <gisle@ActiveState.com>
48 Documentation fixes by Paul Croome <Paul.Croome@softwareag.com>.
52 2004-01-08 Gisle Aas <gisle@ActiveState.com>
56 Fix 'gcc -Wall' complaints.
60 2003-10-09 Gisle Aas <gisle@ActiveState.com>
66 Don't rely on SvEND(sv) == '\0' as discussed in the perl5-porters
67 mailing list thread that starts with
68 http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-10/msg00258.html
70 Should now pass test suite even without XS support.
72 Perl v5.005 or better is now required.
76 2003-05-13 Gisle Aas <gisle@ActiveState.com>
80 decode_qp() recognize soft whitespace when there is whitespace
81 between the '=' and the '\n'.
85 2003-05-13 Gisle Aas <gisle@ActiveState.com>
89 decode_qp() did eat up all trailing whitespace in the string decoded.
90 Only whitespace in front of "\n" should go.
92 Win32 fix for t/warn.t by Reini Urban <rurban@x-ray.at>.
96 2003-03-09 Gisle Aas <gisle@ActiveState.com>
100 Fix up INSTALLDIRS for perl-5.8 and newer.
104 2003-03-09 Gisle Aas <gisle@ActiveState.com>
108 Make it reliable to disable base64 decoding warnings by
109 resetting $^W in recent perls. Would really like to be
110 able to do real lexical warnings but the current mechanism
111 does not seems suitable for XS code.
113 Passing "" as $eol to encode_qp() disable soft line
116 Sync up with changes in bleadperl:
117 - safer patchlevel.h include
122 2003-01-05 Gisle Aas <gisle@ActiveState.com>
126 Fixed the encode_qp() line breaking code. It sometimes
127 made lines longer than 76 chars and it could even get into
128 an infinite loop on certain inputs.
132 2003-01-03 Gisle Aas <gisle@ActiveState.com>
136 Fixed the XS based decode_qp() for strings where a =XX
137 sequence was followed by digits.
139 Faster encode_qp() for long strings with lots of chars
142 The old_decode_base64() function introduced in 2.13
143 was returning undef for empty input on olders perls.
144 This problem has been fixed.
148 2003-01-01 Gisle Aas <gisle@ActiveState.com>
152 MIME::QuotedPrint functions now also implemented using XS
153 which make them faster. 2-3 times faster when encoding line by
154 line and as much as 200 times faster on long binary input. There
155 is probably some breakage on non-ASCII systems from this.
157 The encode_qp() function now takes an $eol argument in the
158 same way as encode_base64() does.
160 Slight change in behaviour: the decode_qp() function now turns
161 \r\n terminated lines into \n terminated lines. This makes is
162 more likely that encode_qp(decode_qp()) round-trip properly.
164 Included {en,de}code-{base64,qp} utility scripts.
168 2002-12-27 Gisle Aas <gisle@ActiveState.com>
172 Sync up with bleadperl:
173 - Documentation update
176 - Improved Unicode support
179 Improved version of the old_{en,de}code_base64 functions
180 contributed by Paul Szabo <psz@maths.usyd.edu.au>.
184 2001-02-23 Gisle Aas <gisle@ActiveState.com>
188 Speed up pure perl base64 encoder/decoder by using join/map instead
189 of while loop. Contributed by Arno Beckmann <arno@gmx.de>
191 Doc update contributed by Jerrad Pierce <belg4mit@CALLOWAY.MIT.EDU>
193 Downgrade UTF8 strings before starting to encode.
197 1999-02-27 Gisle Aas <gisle@aas.no>
201 Fixed bogus "Premature end of base64 data" warning. Bug spotted
202 by Dwayne Jacques Fontenot.
204 Workaround for Redhat shipping trial releases of perl.
208 1998-12-18 Gisle Aas <aas@sn.no>
212 A tweak that should make compilation with some old perl5.00[23]
215 A cast that make some compilers more happy.
219 1998-11-13 Gisle Aas <aas@sn.no>
223 The 2.08 release did not compile with perl5.005_53, because
224 all simple globals now need to be prefixed with "PL_".
228 1998-10-22 Gisle Aas <aas@sn.no>
232 Found another tweak to speed up decode_base64() with another 3%.
234 Improved MIME::Base64 documentation a little.
238 1998-10-21 Gisle Aas <aas@sn.no>
242 Faster and smarter C implementation of the decode_base64()
243 function. The new decode_base64() was 25% faster when tested
244 on Linux, i586, gcc -O2.
248 1998-07-15 Gisle Aas <aas@sn.no>
252 The decode_base64() implemented in pure perl will only carp
253 (not croak) if length of data to decode is not a multiple 4. This
254 actually made 'make test' fail after 'rm Base64.xs'.
258 1998-01-27 Gisle Aas <aas@sn.no>
262 The decode_base64() would previously allocate a too short buffer for the
263 result string when the trailing "==" padding was missing in the string to
266 The encode_base64() now allocate one byte less space in the result
271 1997-12-02 Gisle Aas <aas@sn.no>
275 Documentation expanded a bit.
279 1997-07-10 Gisle Aas <aas@sn.no>
283 Decode_base64() doesn't croak on premature ended data any more.
284 A warning is generated instead if running under -w.
288 1997-06-27 Gisle Aas <aas@sn.no>
292 QuotedPrint fix by Roderick Schertler <roderick@argon.org>:
294 - Long lines were not broken unless they're at the beginning
297 - Lines near but not over 76 chars were broken when they
302 1997-06-13 Gisle Aas <aas@sn.no>
306 Base64.xs: Avoid type convertion warnings with some compilers
308 Minor documentation updates
312 1997-04-24 Gisle Aas <aas@sn.no>
314 Release 2.00, based on libwww-perl-5.08.