Commit Graph

174 Commits

Author SHA1 Message Date
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Moriyoshi Koizumi
8938555fd5 - 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.
2009-03-17 05:27:00 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Arnaud Le Blanc
5ef7ecafc1 initialize optional vars 2008-10-21 22:06:49 +00:00
Nuno Lopes
2c49010756 MFB: clean some dead code 2008-09-23 15:22:05 +00:00
Antony Dovgal
2953951544 use macros instead of hardcoded encoding names
(%$#@# AIX is totally broken..)
2008-05-21 15:03:11 +00:00
Sara Golemon
42524ff33f Some unicode upgrades... 2008-01-21 07:30:49 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Antony Dovgal
6905cf2982 detect IBM iconv implementation and use correct encoding names 2007-12-04 11:26:54 +00:00
Antony Dovgal
476f214c53 initialize correct variable 2007-11-01 19:13:28 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Antony Dovgal
22dff490b0 fix coverity issue #412 2007-09-27 09:18:36 +00:00
Antony Dovgal
6b3e9fe528 plug leak on error (coverity issue #407) 2007-09-21 13:41:02 +00:00
Stanislav Malyshev
39253a5418 better fix for iconv_substr 2007-09-20 22:38:25 +00:00
Stanislav Malyshev
6d5fce416f MFB length check fix (Mattias Bengtsson) 2007-09-20 21:57:11 +00:00
Stanislav Malyshev
71929ac5ee limit iconv parameter sizes - workaround for libc bug 2007-09-19 00:37:43 +00:00
Ilia Alshanetsky
373ae24839 MFB 2007-05-28 23:52:13 +00:00
Antony Dovgal
4b3197ce2b initialize errno 2007-01-24 00:33:44 +00:00
Antony Dovgal
cece486d78 fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware)
patch by gk at gknw dot de
2007-01-17 20:31:49 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
a30e5b9920 use safe_emalloc() 2006-12-25 20:44:28 +00:00
Hannes Magnusson
460360ae53 MFB:
- 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:38:24 +00:00
Ilia Alshanetsky
0252643b32 MFB: Fixed bug #37773 (iconv_substr() gives "Unknown error" when string
length = 1").
2006-11-15 18:35:18 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Antony Dovgal
276d063355 improve spelling (fixes #38780) 2006-09-12 17:26:24 +00:00
Michael Wallner
83eac101c3 - fix crash when unicode.sematics are enabled and unicode.output_encoding doesn't match iconv.internal_encoding 2006-09-09 12:10:28 +00:00
Michael Wallner
f8ff78deab -fix warnings 2006-09-07 14:21:02 +00:00
Michael Wallner
60274e3944 - use ucnv_compareNames
- check output_context->op for PHP_OUTPUT_HANDLER_CLEAN instead of php_output_get_status()
2006-09-07 14:20:16 +00:00
Michael Wallner
07f81e7fe4 - upgrade ob_iconv_handler 2006-09-06 20:49:03 +00:00
Antony Dovgal
bb89a868c4 do not search for empty strings with strpos() and strrpos() 2006-09-06 12:07:27 +00:00
Antony Dovgal
32ff2a16fe minor changes in iconv_substr() to avoid zval converting 2006-08-31 11:17:37 +00:00
Antony Dovgal
21b0d97a6d fix leak 2006-08-30 16:12:27 +00:00
Hannes Magnusson
587311d07e Added argument info
Fixed protos
Fixed vim folding
2006-06-17 13:00:21 +00:00
Andrei Zmievski
f2ef84a495 Move GINIT definition above re-definition of iconv. Gah. 2006-06-13 15:57:46 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Moriyoshi Koizumi
35598a2821 - Remove fprintf() used for debugging 2006-04-27 03:53:01 +00:00
Moriyoshi Koizumi
923978e0ff - Fix bug #37176 (iconv_strpos() fails to find a string) 2006-04-27 00:49:17 +00:00
Derick Rethans
16920d54c7 - Fixed issue with iconv_mime_decode where the "encoding" would only allow
upper case specifiers.
#- See RFC 2047, section 2.
2006-02-24 16:04:55 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Antony Dovgal
1518ba3bf7 fix #35692(iconv_mime_decode() segfault, with libiconv only) 2005-12-15 22:47:27 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Antony Dovgal
0bd9c3d109 use constants instead of their values 2005-10-20 16:50:43 +00:00
Antony Dovgal
492a1e4124 MF51: fix #34757 (iconv_substr() gives "Unknown error" when offset > string length) 2005-10-11 13:59:18 +00:00
Antony Dovgal
fb8258e8b7 fix phpinfo() output for iconv extension
(convert unicode values to string before outputting them)
2005-09-08 11:48:07 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00