Commit Graph

176 Commits

Author SHA1 Message Date
Ilia Alshanetsky
e9735b92a4 Fixed bug #52599 (iconv output handler outputs incorrect content type when flags are used). 2010-08-19 12:27:13 +00:00
Felipe Pena
e3fdf31b0b - Fixed bug #52211 (iconv() returns part of string on error) 2010-07-01 01:11:08 +00:00
Michael Wallner
11d24c1593 * implement new output API, fixing some bugs and implementing some feature
requests--let's see what I can dig out of the bugtracker for NEWS--
  and while crossing the road:
   * implemented new zlib API
   * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)

Thanks to Jani and Felipe for pioneering.
2010-05-31 10:29:43 +00:00
Adam Harvey
5c5fd74fdb Fix for bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
Thanks to Hiroaki Kawai for the original patch.
2010-05-04 11:56:59 +00:00
Jani Taskinen
af49e58f51 - Reverted r296062 and r296065 2010-03-12 10:28:59 +00:00
Jani Taskinen
06f072cb5e MFH: Improved / fixed output buffering (Michael Wallner) 2010-03-11 10:24:29 +00:00
Kalle Sommer Nielsen
62f087df75 Rename the HAVE_LIBICONV_IN_LIBICONV macro to ICONV_ALIASED_LIBICONV, making it less cryptic 2010-03-08 15:51:08 +00:00
Moriyoshi Koizumi
8481fd7c3b - Fixed bug #49267 (linking fails for iconv) 2010-03-05 09:12:13 +00:00
Rasmus Lerdorf
fcf1058d6b Fix bug #43314
Assume worst case all-encoded case here
2010-03-01 23:49:01 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Moriyoshi Koizumi
d8a22d0b05 - MFH: Make iconv filter accept '.' as the delimiter between encoding names as
well as '/'. It's impossible to specify the filter in php://filter without
  this fix.

# I hope this to be merged to 5.2 as well. This doesn't break BC as there is
# no such encoding name that contains '.'. (Andif there were to be such one,
# the filter is failed in the first place since it also uses '.' for the
# delimiter between the filter name and the "from" encoding name.
2009-03-17 05:31:04 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
d69dfa4b9f MFH: initialize optional vars 2008-10-21 22:08:38 +00:00
Nuno Lopes
8a77e55566 clean some dead code (with static analysis help) 2008-09-23 15:18:26 +00:00
Antony Dovgal
a894ab2a00 MFH 2008-05-21 15:03:20 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Antony Dovgal
550b617be1 MFH: detect IBM iconv implementation and use correct encoding names 2007-12-04 11:27:25 +00:00
Antony Dovgal
e60e9ae5c8 MFH: initialize correct variable 2007-11-01 19:13:39 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Antony Dovgal
84195223ec MFH: fix coverity issue #412 2007-09-27 09:18:50 +00:00
Antony Dovgal
366c113156 MFH: plug leak on error (coverity issue #407) 2007-09-21 13:37:30 +00:00
Stanislav Malyshev
7985002fc6 better fix for iconv_substr 2007-09-20 22:35:24 +00:00
Stanislav Malyshev
c70e307e77 fix potential overflow (Mattias Bengtsson) 2007-09-20 21:55:14 +00:00
Stanislav Malyshev
2fe9599880 limit iconv parameter sizes - workaround for glibc bug 2007-09-19 00:30:52 +00:00
Ilia Alshanetsky
c8a694eb45 Avoid strlen() 2007-05-19 17:52:30 +00:00
Antony Dovgal
5088614ea1 synchronize iconv_substr() behavior with substr()
no MFB so far, since substr() changes are not MFBed either
2007-03-12 19:34:26 +00:00
Antony Dovgal
6e8654aae1 plug leak 2007-02-01 14:02:35 +00:00
Antony Dovgal
d32dc5bda0 MFH 2007-01-24 00:33:51 +00:00
Antony Dovgal
fc9970a6e9 MFH: fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware)
patch by gk at gknw dot de
2007-01-17 20:32:53 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
2e3cd64566 MFH 2006-12-25 20:44:45 +00:00
Hannes Magnusson
1e19ee8785 - Fixed incorrect function names on FreeBSD where inet_pton() was named
__inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:34:36 +00:00
Ilia Alshanetsky
82fb3e00b8 Fixed bug #37773 (iconv_substr() gives "Unknown error" when string length =
1").
2006-11-15 18:34:57 +00:00
Antony Dovgal
03c7bbd33b MFH: improve spelling (fixes #38780) 2006-09-12 17:26:34 +00:00
Michael Wallner
01ee23d980 - MFH: fix warnings 2006-09-07 14:24:42 +00:00
Antony Dovgal
7d7f84562c do not search for empty strings with strpos() and strrpos() 2006-09-06 12:07:32 +00:00
Antony Dovgal
c4e9ee2586 minor changes in iconv_substr() to avoid zval converting 2006-08-31 11:17:47 +00:00
Antony Dovgal
a8a3701ba6 fix leak 2006-08-30 16:12:43 +00:00
Hannes Magnusson
aae5df3ffd MFH: arg ifno 2006-06-17 13:06:06 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Moriyoshi Koizumi
522ce80071 - MFH: fix bug #37176 (iconv_strpos() fails to find a string) 2006-04-27 00:50:54 +00:00
Marcus Boerger
c4b81d8720 - Fix warning 2006-02-28 02:22:57 +00:00
Derick Rethans
016dbe414e - MFH: Fixed issue with iconv_mime_decode where the "encoding" would only allow
upper case specifiers.
#- See RFC 2047, section 2.
2006-02-24 16:05:38 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Antony Dovgal
33c87b395f MFH: fix #35692(iconv_mime_decode() segfault, with libiconv only) 2005-12-15 22:49:22 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00