1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Commit Graph

208 Commits

Author SHA1 Message Date
foobar 34805e8d39 - Fixed all buildconf warnings + cross-compiling issues 2005-02-24 19:27:10 +00:00
Antony Dovgal 6074423330 fix Konstantin's last name Chugeuv -> Chuguev 2005-01-10 21:37:17 +00:00
Derick Rethans 48b118968f - MF43: Install the iconv extension headers to <installpath>/ext/iconv so that
external extensions can use them.
2004-12-06 20:39:20 +00:00
Ilia Alshanetsky 07db7765a1 Fixed compilation when PHP is built in separate directory. 2004-11-24 23:12:18 +00:00
Derick Rethans 9b9ae8ee70 - We need to install the headers too. 2004-11-23 13:05:24 +00:00
Edin Kadribasic 6d23aae34e Only dllexport during the compilation of iconv.c 2004-11-23 12:04:07 +00:00
Derick Rethans ce022d2723 - Export "php_iconv_string()". 2004-11-23 09:44:54 +00:00
Dmitry Stogov 139933fe59 Test was fixed. 2004-11-22 17:43:03 +00:00
Joe Orton 2685ca935f Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Antony Dovgal f370d0290f fix compile warning 2004-08-13 14:52:27 +00:00
Frank M. Kromann 3944483cac Move iconv exports to the iconv extension 2004-08-04 16:46:48 +00:00
Moriyoshi Koizumi f89486a3a0 - Fix possible leaks / segfaults in persistent filter 2004-07-20 18:46:39 +00:00
Moriyoshi Koizumi 967c72865f - Fix a bug in iconv stream filter that prevents pending buckets from being
processed on flush operation (same issue pollita fixed several days ago).
2004-07-19 08:34:18 +00:00
Derick Rethans edce707f3b - Fixed text. 2004-07-14 09:54:02 +00:00
Derick Rethans 3c28fbd6dd - Enable iconv by default 2004-04-14 07:42:38 +00:00
foobar f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
foobar ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Moriyoshi Koizumi 06232e4818 Prevent a character from being wrongly doubled in the buffer. 2004-01-06 14:22:54 +00:00
Moriyoshi Koizumi 3d618a2f00 Just laugh at me :) 2003-12-27 23:07:47 +00:00
Moriyoshi Koizumi 07469af0d9 - Add missing sanity check. 2003-12-27 23:05:23 +00:00
Moriyoshi Koizumi 529dd348b6 - Supply some comments. Hope those help when you have to debug this dead beef.
- Fix iconv_mime_decode() to correctly handle "malformed" headers :)
- Fix iconv_mime_decode() bug, that the result is mangled when
  ICONV_MIME_CONTINUE_ON_ERROR is enabled and the function encounters an
  unconvertable encoded chunk.
2003-12-24 02:36:21 +00:00
Moriyoshi Koizumi 3b7dcf5e65 Those are not structures :-) 2003-12-23 17:10:54 +00:00
Ilia Alshanetsky cf40d9243d Fixed compiler warnings. 2003-12-23 17:05:43 +00:00
Moriyoshi Koizumi 1b239fc970 - Fix multibyte handling errors in iconv_mime_encode() when quoted-printable
encoding scheme is used.
- Fix segfault that occurs in iconv_mime_encode() when input_charset or
  output_charset parameter is not specified in the associative array.
2003-12-22 01:30:00 +00:00
Rob Richards c821c5b189 export libxml2 and iconv symbols
extensions no longer link against either of those
2003-12-08 12:56:47 +00:00
Moriyoshi Koizumi dcbc570649 Fix iconv stream filter to properly handle multibyte characters that
span at the alignment of a hunk.
2003-12-08 00:38:00 +00:00
Moriyoshi Koizumi a682e0a5c6 Add missing iconv_close() call 2003-12-06 11:10:13 +00:00
Wez Furlong 952e0db997 Use Rob's static libxml+libiconv library; new build no longer
requires libxml2.dll or iconv.dll at runtime.
Since we have iconv built in, enable iconv extension by
default too.
2003-12-05 20:17:47 +00:00
Moriyoshi Koizumi 3980fd822e A trivial implement for dos-like platforms 2003-12-05 18:39:04 +00:00
Moriyoshi Koizumi fe20585443 Add regression test for iconv stream filters 2003-12-05 18:35:17 +00:00
Moriyoshi Koizumi f9470dafe0 Add a missing marker 2003-12-05 09:35:21 +00:00
Wez Furlong 1982ae6246 fix zts build 2003-12-05 03:14:54 +00:00
Moriyoshi Koizumi 4f14ee67fb Type-punning is evil. 2003-12-04 23:46:53 +00:00
Moriyoshi Koizumi 6fc73dda11 Add iconv stream filter.
# a quick synopsis:
#
# <?php
#     stream_filter_append(STDIN, 'convert.iconv.UTF-8/ISO-8859-15');
#
#     fpassthru(STDIN);
# ?>
#
2003-12-04 23:31:31 +00:00
Wez Furlong 4ffdb4253a This should solve a few problems with static vs. shared builds for extensions (such as mssql) that require certain CFLAGS to be defined, but not pull in other flags that would affect DLL linkage.
Also fix the iconv file; MSVC doesn't seem to like the #include SYMBOL syntax.
2003-12-03 22:59:48 +00:00
Moriyoshi Koizumi 110044b5f1 Add a win32 build script. Not tested, but should work :) 2003-12-03 19:46:27 +00:00
Moriyoshi Koizumi 9fd1395546 Fix test so it fits the expected behaviour 2003-12-02 07:38:11 +00:00
Moriyoshi Koizumi 3c02eb1ffe all '_' (underscores) should be replaced by '\x20' (whitespaces)
in encoding.
# should I bump API version?
2003-12-02 07:36:42 +00:00
Moriyoshi Koizumi 0bd11e2a05 Add regression test for iconv_mime_decode_headers() 2003-12-02 00:05:54 +00:00
Moriyoshi Koizumi ca2aaeee5e Loosen error check. There's no reason to forbid a single '=' occurrence
in an unencoded string.
Fix white space handing. Meaningful spaces have got stripped wrongly
before this patch.
2003-12-01 23:49:20 +00:00
Moriyoshi Koizumi 1b8dd3ba21 Allow iconv_mime_decode_headers() to handle multiple occurence of a header. 2003-12-01 23:25:06 +00:00
Moriyoshi Koizumi 36f5926434 Update test. 2003-12-01 22:59:28 +00:00
Moriyoshi Koizumi 344c29e0c7 Forgot about this one 2003-12-01 22:47:03 +00:00
Moriyoshi Koizumi 869493d4e6 Add iconv_mime_decode_headers() to parse multiple MIME headers.
A few trivial fixes.
2003-12-01 22:46:45 +00:00
Moriyoshi Koizumi 93e0d690ee More RFC2047 conformance. Add ability to forcefully continue processing
on error.
2003-12-01 21:47:19 +00:00
Moriyoshi Koizumi fd28ad3e8c Fixed bug #26194 (iconv() not properly defined with libiconv).
# Thank you Steph and Frank!
2003-11-22 13:36:55 +00:00
Moriyoshi Koizumi 8e1bbd9aea Proto fix 2003-11-02 18:54:08 +00:00
Moriyoshi Koizumi 86e2c16d9c Add further check for "#include MACRO" style syntax 2003-08-28 06:04:48 +00:00
Moriyoshi Koizumi fd8411635e Slight improvement. Hope this will make some difference. 2003-08-13 18:21:06 +00:00