History log of /PHP_TRUNK/ext/iconv/iconv.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bdeb220 13-Dec-2014 Anatol Belski <ab@php.net> first shot remove TSRMLS_* things
/php-src/ext/iconv/iconv.c
c6bad96 18-Nov-2014 Anatol Belski <ab@php.net> Merge remote-tracking branch 'origin/master' into native-tls

* origin/master: (398 commits)
NEWS
add test for bug #68381
Fixed bug #68381 Set FPM log level earlier during init
proper dllexport
move to size_t where zend_string is used internally
fix some datatype mismatches
return after the warning, to fix uninitialized salt usage
fix datatype mismatches
add missing type specifier
fix datatype mismatches
fix unsigned check
"extern" shouldn't be used for definitions
joined identical conditional blocks
simplify fpm tests
SEND_VAR_NO_REF optimization
Add test for bug #68442
Add various tests for FPM - covering recent bugs (68420, 68421, 68423, 68428) - for UDS - for ping and status URI - for multi pool and multi mode
Include small MIT FastCGI client library from https://github.com/adoy/PHP-FastCGI-Client
Get rid of zend_free_op structure (use zval* instead). Get rid of useless TSRMLS arguments.
Add new FPM test for IPv4/IPv6
...

Conflicts:
win32/build/config.w32
23f089a 29-Oct-2014 Anatol Belski <ab@php.net> fix datatype mismatches
/php-src/ext/iconv/iconv.c
fea10f6 17-Oct-2014 Anatol Belski <ab@php.net> ext/iconv, ext/json and ext/session use static tsrmls pointer
/php-src/ext/iconv/iconv.c
c00424e 15-Oct-2014 Anatol Belski <ab@php.net> bring back all the TSRMLS_FETCH() stuff

for better comparability with the mainstream
/php-src/ext/iconv/iconv.c
14eefc8 25-Sep-2014 Anatol Belski <ab@php.net> cleanup after the removed PHP_OUTPUT_TSRMLS
/php-src/ext/iconv/iconv.c
e33f3d3 20-Sep-2014 Nikita Popov <nikic@php.net> Move smart_str implementation into Zend/

So we can use it there as well...

For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just move that one struct into
zend_types.h.
/php-src/ext/iconv/iconv.c
37aacca 19-Sep-2014 Nikita Popov <nikic@php.net> Use inline functions for most of smart_str

smart_str_free_ex no longer exists, always use smart_str_free instead.

smart_str_alloc no longer requires a newlen variable to be in scope,
instead it returns the new length.
/php-src/ext/iconv/iconv.c
d0cb715 19-Sep-2014 Johannes Schl├╝ter <johannes@php.net> s/PHP 5/PHP 7/
/php-src/ext/iconv/iconv.c
95132be 15-Sep-2014 Anatol Belski <ab@php.net> redo the fix casting to size_t
/php-src/ext/iconv/iconv.c
8b2f155 15-Sep-2014 Anatol Belski <ab@php.net> fix signed/unsigned mismatch warnings
/php-src/ext/iconv/iconv.c
e056d52 15-Sep-2014 Anatol Belski <ab@php.net> fix type
/php-src/ext/iconv/iconv.c
140d99b 15-Sep-2014 Anatol Belski <ab@php.net> fix condition
/php-src/ext/iconv/iconv.c
d65ead6 15-Sep-2014 Anatol Belski <ab@php.net> fix type
/php-src/ext/iconv/iconv.c
be9408f 13-Sep-2014 Anatol Belski <ab@php.net> fix condition

comparsion of two unsigned
/php-src/ext/iconv/iconv.c
8002e2c 05-Sep-2014 Xinchen Hui <laruence@php.net> Fixed discards qualifiers from pointer target type
/php-src/ext/iconv/iconv.c
88d7ca4 01-Sep-2014 Dmitry Stogov <dmitry@zend.com> Refactored INI subsystem to use zend_string* instead of char*
/php-src/ext/iconv/iconv.c
88fdb5f 28-Aug-2014 Xinchen Hui <laruence@php.net> Fixed iconv MINFO
/php-src/ext/iconv/iconv.c
3234480 27-Aug-2014 Anatol Belski <ab@php.net> first show to make 's' work with size_t
/php-src/ext/iconv/iconv.c
af59e92 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 7
/php-src/ext/iconv/iconv.c
4d997f6 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 3
/php-src/ext/iconv/iconv.c
c3e3c98 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 1
/php-src/ext/iconv/iconv.c
79f888a 22-Aug-2014 Anatol Belski <ab@php.net> Merge remote-tracking branch 'weltling/master'

* weltling/master: (725 commits)
fix zpp
fixed array_pad()
fix zpp
fix zpp
fix zpp
fix zpp and a bit more
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fixed the test
...
da35db3 22-Aug-2014 Xinchen Hui <laruence@php.net> Fixed complier error
/php-src/ext/iconv/iconv.c
b3198b6 20-Aug-2014 Anatol Belski <ab@php.net> more fixes to ext/iconv
/php-src/ext/iconv/iconv.c
30e0aa5 19-Aug-2014 Anatol Belski <ab@php.net> fixes to iconv
/php-src/ext/iconv/iconv.c
63d3f0b 19-Aug-2014 Anatol Belski <ab@php.net> basic macro replacements, all at once
/php-src/ext/iconv/iconv.c
920d298 13-May-2014 Felipe Pena <felipensp@gmail.com> - Fixed ZTS build
/php-src/ext/iconv/iconv.c
cd00ea9 05-May-2014 Xinchen Hui <laruence@gmail.com> Port iconv (all tests passes)
/php-src/ext/iconv/iconv.c
f9927a6 25-Apr-2014 Dmitry Stogov <dmitry@zend.com> Merge mainstream 'master' branch into refactoring
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patches related to constant expression handling (we need to review them carefully)
I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway)

Conflicts:
Zend/zend.h
Zend/zend_API.c
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.c
Zend/zend_exceptions.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_highlight.c
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/php_date.c
ext/dom/documenttype.c
ext/hash/hash.c
ext/iconv/iconv.c
ext/mbstring/tests/zend_multibyte-10.phpt
ext/mbstring/tests/zend_multibyte-11.phpt
ext/mbstring/tests/zend_multibyte-12.phpt
ext/mysql/php_mysql.c
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd_reverse_api.c
ext/mysqlnd/php_mysqlnd.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c
ext/pcre/php_pcre.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo_pgsql/pgsql_driver.c
ext/pgsql/pgsql.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/html.c
ext/standard/mail.c
ext/standard/php_array.h
ext/standard/proc_open.c
ext/standard/streamsfuncs.c
ext/standard/user_filters.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
main/php_variables.c
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_print.c
sapi/phpdbg/phpdbg_prompt.c
050d7e3 15-Apr-2014 Dmitry Stogov <dmitry@zend.com> Cleanup (1-st round)
/php-src/ext/iconv/iconv.c
a84e5dc 24-Mar-2014 Yasuo Ohgaki <yohgaki@php.net> Remove unneeded string copy.
Allow to set ''(empty string values) internal/input/output_encoding for better compatibility. i.e. Runtime INI value changes.
More compliance to the RFC. Improve/add encoding handling tests. i.e. Rather than set encoding automagic way, detect it.
/php-src/ext/iconv/iconv.c
ca927bb 12-Mar-2014 Yasuo Ohgaki <yohgaki@php.net> Add missing E_DEPRECATED error for https://wiki.php.net/rfc/default_encoding
/php-src/ext/iconv/iconv.c
cbd108a 13-Feb-2014 Yasuo Ohgaki <yohgaki@php.net> Implement RFC https://wiki.php.net/rfc/default_encoding
/php-src/ext/iconv/iconv.c
c081ce6 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/ext/iconv/iconv.c
a666285 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/ext/iconv/iconv.c
ed6ce83 31-May-2012 Stanislav Malyshev <stas@php.net> fix bug #55042 - erealloc without updating pointer
/php-src/ext/iconv/iconv.c
4e19825 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/iconv/iconv.c
4b30846 25-Jul-2011 Felipe Pena <felipe@php.net> - Make usage of new PHP_FE_END macro
/php-src/ext/iconv/iconv.c
0203cc3 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/iconv/iconv.c
19a0263 01-Dec-2010 Ilia Alshanetsky <iliaa@php.net> Fixed bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded words)
/php-src/ext/iconv/iconv.c
750d835 30-Sep-2010 Adam Harvey <aharvey@php.net> Fixed bug #52941 (The 'iconv_mime_decode_headers' function is skipping
headers).
/php-src/ext/iconv/iconv.c
a532eef 22-Aug-2010 Ilia Alshanetsky <iliaa@php.net> Fixed bogus char
/php-src/ext/iconv/iconv.c
e9735b9 19-Aug-2010 Ilia Alshanetsky <iliaa@php.net> Fixed bug #52599 (iconv output handler outputs incorrect content type when flags are used).
/php-src/ext/iconv/iconv.c
e3fdf31 01-Jul-2010 Felipe Pena <felipe@php.net> - Fixed bug #52211 (iconv() returns part of string on error)
/php-src/ext/iconv/iconv.c
11d24c1 31-May-2010 Michael Wallner <mike@php.net> * 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.
/php-src/ext/iconv/iconv.c
5c5fd74 04-May-2010 Adam Harvey <aharvey@php.net> Fix for bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
Thanks to Hiroaki Kawai for the original patch.
/php-src/ext/iconv/iconv.c
af49e58 12-Mar-2010 Jani Taskinen <jani@php.net> - Reverted r296062 and r296065
/php-src/ext/iconv/iconv.c
06f072c 11-Mar-2010 Jani Taskinen <jani@php.net> MFH: Improved / fixed output buffering (Michael Wallner)
/php-src/ext/iconv/iconv.c
62f087d 08-Mar-2010 Kalle Sommer Nielsen <kalle@php.net> Rename the HAVE_LIBICONV_IN_LIBICONV macro to ICONV_ALIASED_LIBICONV, making it less cryptic
/php-src/ext/iconv/iconv.c
8481fd7 05-Mar-2010 Moriyoshi Koizumi <moriyoshi@php.net> - Fixed bug #49267 (linking fails for iconv)
/php-src/ext/iconv/iconv.c
fcf1058 01-Mar-2010 Rasmus Lerdorf <rasmus@php.net> Fix bug #43314
Assume worst case all-encoded case here
/php-src/ext/iconv/iconv.c
9ba1e81 03-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
/php-src/ext/iconv/iconv.c
d8a22d0 17-Mar-2009 Moriyoshi Koizumi <moriyoshi@php.net> - 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.
/php-src/ext/iconv/iconv.c
08659c2 31-Dec-2008 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 3 of 3.
/php-src/ext/iconv/iconv.c
fc2fb50 17-Nov-2008 Felipe Pena <felipe@php.net> - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
/php-src/ext/iconv/iconv.c
7a37fa2 02-Nov-2008 Felipe Pena <felipe@php.net> - Revert ZEND_BEGIN_ARG_INFO change
/php-src/ext/iconv/iconv.c
df10005 24-Oct-2008 Felipe Pena <felipe@php.net> - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
/php-src/ext/iconv/iconv.c
d69dfa4 21-Oct-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: initialize optional vars
/php-src/ext/iconv/iconv.c
8a77e55 23-Sep-2008 Nuno Lopes <nlopess@php.net> clean some dead code (with static analysis help)
/php-src/ext/iconv/iconv.c
a894ab2 21-May-2008 Antony Dovgal <tony2001@php.net> MFH
/php-src/ext/iconv/iconv.c
d1dded8 31-Dec-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 2 of 2.
/php-src/ext/iconv/iconv.c
550b617 04-Dec-2007 Antony Dovgal <tony2001@php.net> MFH: detect IBM iconv implementation and use correct encoding names
/php-src/ext/iconv/iconv.c
e60e9ae 01-Nov-2007 Antony Dovgal <tony2001@php.net> MFH: initialize correct variable
/php-src/ext/iconv/iconv.c
4b4d634 07-Oct-2007 Yiduo (David) Wang <davidw@php.net> MFH: Added macros for managing zval refcounts and is_ref statuses
/php-src/ext/iconv/iconv.c
6c810b0 27-Sep-2007 Dmitry Stogov <dmitry@php.net> Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
/php-src/ext/iconv/iconv.c
8419522 27-Sep-2007 Antony Dovgal <tony2001@php.net> MFH: fix coverity issue #412
/php-src/ext/iconv/iconv.c
366c113 21-Sep-2007 Antony Dovgal <tony2001@php.net> MFH: plug leak on error (coverity issue #407)
/php-src/ext/iconv/iconv.c
7985002 20-Sep-2007 Stanislav Malyshev <stas@php.net> better fix for iconv_substr
/php-src/ext/iconv/iconv.c
c70e307 20-Sep-2007 Stanislav Malyshev <stas@php.net> fix potential overflow (Mattias Bengtsson)
/php-src/ext/iconv/iconv.c
2fe9599 19-Sep-2007 Stanislav Malyshev <stas@php.net> limit iconv parameter sizes - workaround for glibc bug
/php-src/ext/iconv/iconv.c
c8a694e 19-May-2007 Ilia Alshanetsky <iliaa@php.net> Avoid strlen()
/php-src/ext/iconv/iconv.c
5088614 12-Mar-2007 Antony Dovgal <tony2001@php.net> synchronize iconv_substr() behavior with substr()
no MFB so far, since substr() changes are not MFBed either
/php-src/ext/iconv/iconv.c
6e8654a 01-Feb-2007 Antony Dovgal <tony2001@php.net> plug leak
/php-src/ext/iconv/iconv.c
d32dc5b 24-Jan-2007 Antony Dovgal <tony2001@php.net> MFH
/php-src/ext/iconv/iconv.c
fc9970a 17-Jan-2007 Antony Dovgal <tony2001@php.net> MFH: fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware)
patch by gk at gknw dot de
/php-src/ext/iconv/iconv.c
4223aa4 01-Jan-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump year.
/php-src/ext/iconv/iconv.c
2e3cd64 25-Dec-2006 Antony Dovgal <tony2001@php.net> MFH
/php-src/ext/iconv/iconv.c
1e19ee8 20-Dec-2006 Hannes Magnusson <bjori@php.net> - 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)
/php-src/ext/iconv/iconv.c
82fb3e0 15-Nov-2006 Ilia Alshanetsky <iliaa@php.net> Fixed bug #37773 (iconv_substr() gives "Unknown error" when string length =
1").
/php-src/ext/iconv/iconv.c
03c7bbd 12-Sep-2006 Antony Dovgal <tony2001@php.net> MFH: improve spelling (fixes #38780)
/php-src/ext/iconv/iconv.c
01ee23d 07-Sep-2006 Michael Wallner <mike@php.net> - MFH: fix warnings
/php-src/ext/iconv/iconv.c
7d7f845 06-Sep-2006 Antony Dovgal <tony2001@php.net> do not search for empty strings with strpos() and strrpos()
/php-src/ext/iconv/iconv.c
c4e9ee2 31-Aug-2006 Antony Dovgal <tony2001@php.net> minor changes in iconv_substr() to avoid zval converting
/php-src/ext/iconv/iconv.c
a8a3701 30-Aug-2006 Antony Dovgal <tony2001@php.net> fix leak
/php-src/ext/iconv/iconv.c
aae5df3 17-Jun-2006 Hannes Magnusson <bjori@php.net> MFH: arg ifno
/php-src/ext/iconv/iconv.c
1dbaae2 15-Jun-2006 Dmitry Stogov <dmitry@php.net> Added automatic module globals management
/php-src/ext/iconv/iconv.c
522ce80 27-Apr-2006 Moriyoshi Koizumi <moriyoshi@php.net> - MFH: fix bug #37176 (iconv_strpos() fails to find a string)
/php-src/ext/iconv/iconv.c
c4b81d8 28-Feb-2006 Marcus Boerger <helly@php.net> - Fix warning
/php-src/ext/iconv/iconv.c
016dbe4 24-Feb-2006 Derick Rethans <derick@php.net> - MFH: Fixed issue with iconv_mime_decode where the "encoding" would only allow
upper case specifiers.
#- See RFC 2047, section 2.
/php-src/ext/iconv/iconv.c
5bd9322 01-Jan-2006 foobar <sniper@php.net> bump year and license version
/php-src/ext/iconv/iconv.c
33c87b3 15-Dec-2005 Antony Dovgal <tony2001@php.net> MFH: fix #35692(iconv_mime_decode() segfault, with libiconv only)
/php-src/ext/iconv/iconv.c
3e669bc 06-Dec-2005 foobar <sniper@php.net> MFH: nuke php3 legacy
/php-src/ext/iconv/iconv.c
159bae3 20-Oct-2005 Antony Dovgal <tony2001@php.net> MFH: use constants instead of their values
/php-src/ext/iconv/iconv.c
ad73bdc 11-Oct-2005 Antony Dovgal <tony2001@php.net> fix #34757 (iconv_substr() gives "Unknown error" when offset > string length)
/php-src/ext/iconv/iconv.c
23e671a 03-Aug-2005 foobar <sniper@php.net> - Bumber up year
/php-src/ext/iconv/iconv.c
0c6368d 08-Jun-2005 Ilia Alshanetsky <iliaa@php.net> Fixed bug #33268 (iconv_strlen() works only with a parameter of < 3 in length)
/php-src/ext/iconv/iconv.c
8f14211 23-Mar-2005 Moriyoshi Koizumi <moriyoshi@php.net> - Add sanity check in iconv_mime_encode(). Leaving the third parameter
unspecified would yield bus error.
/php-src/ext/iconv/iconv.c
ce022d2 23-Nov-2004 Derick Rethans <derick@php.net> - Export "php_iconv_string()".
/php-src/ext/iconv/iconv.c
f370d02 13-Aug-2004 Antony Dovgal <tony2001@php.net> fix compile warning
/php-src/ext/iconv/iconv.c
f89486a 20-Jul-2004 Moriyoshi Koizumi <moriyoshi@php.net> - Fix possible leaks / segfaults in persistent filter
/php-src/ext/iconv/iconv.c
967c728 19-Jul-2004 Moriyoshi Koizumi <moriyoshi@php.net> - Fix a bug in iconv stream filter that prevents pending buckets from being
processed on flush operation (same issue pollita fixed several days ago).
/php-src/ext/iconv/iconv.c
dbeb415 08-Jan-2004 Andi Gutmans <andi@php.net> - A belated happy holidays and PHP 5
/php-src/ext/iconv/iconv.c
06232e4 06-Jan-2004 Moriyoshi Koizumi <moriyoshi@php.net> Prevent a character from being wrongly doubled in the buffer.
/php-src/ext/iconv/iconv.c
3d618a2 27-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> Just laugh at me :)
/php-src/ext/iconv/iconv.c
07469af 27-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> - Add missing sanity check.
/php-src/ext/iconv/iconv.c
529dd34 24-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> - 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.
/php-src/ext/iconv/iconv.c
3b7dcf5 23-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> Those are not structures :-)
/php-src/ext/iconv/iconv.c
cf40d92 23-Dec-2003 Ilia Alshanetsky <iliaa@php.net> Fixed compiler warnings.
/php-src/ext/iconv/iconv.c
1b239fc 22-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> - 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.
/php-src/ext/iconv/iconv.c
dcbc570 08-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fix iconv stream filter to properly handle multibyte characters that
span at the alignment of a hunk.
/php-src/ext/iconv/iconv.c
a682e0a 06-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> Add missing iconv_close() call
/php-src/ext/iconv/iconv.c
f9470da 05-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> Add a missing marker
/php-src/ext/iconv/iconv.c
1982ae6 05-Dec-2003 Wez Furlong <wez@php.net> fix zts build
/php-src/ext/iconv/iconv.c
4f14ee6 04-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> Type-punning is evil.
/php-src/ext/iconv/iconv.c
6fc73dd 04-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> Add iconv stream filter.

# a quick synopsis:
#
# <?php
# stream_filter_append(STDIN, 'convert.iconv.UTF-8/ISO-8859-15');
#
# fpassthru(STDIN);
# ?>
#
/php-src/ext/iconv/iconv.c
3c02eb1 02-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> all '_' (underscores) should be replaced by '\x20' (whitespaces)
in encoding.
# should I bump API version?
/php-src/ext/iconv/iconv.c
ca2aaee 01-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> 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.
/php-src/ext/iconv/iconv.c
1b8dd3b 01-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> Allow iconv_mime_decode_headers() to handle multiple occurence of a header.
/php-src/ext/iconv/iconv.c
869493d 01-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> Add iconv_mime_decode_headers() to parse multiple MIME headers.
A few trivial fixes.
/php-src/ext/iconv/iconv.c
93e0d69 01-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> More RFC2047 conformance. Add ability to forcefully continue processing
on error.
/php-src/ext/iconv/iconv.c
fd28ad3 22-Nov-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed bug #26194 (iconv() not properly defined with libiconv).
# Thank you Steph and Frank!
/php-src/ext/iconv/iconv.c
8e1bbd9 02-Nov-2003 Moriyoshi Koizumi <moriyoshi@php.net> Proto fix
/php-src/ext/iconv/iconv.c
fd84116 13-Aug-2003 Moriyoshi Koizumi <moriyoshi@php.net> Slight improvement. Hope this will make some difference.
/php-src/ext/iconv/iconv.c
025c35a 12-Aug-2003 Ilia Alshanetsky <iliaa@php.net> Fix compiler warnings.
/php-src/ext/iconv/iconv.c
57ca69c 30-Jul-2003 foobar <sniper@php.net> Revert the fix for now
/php-src/ext/iconv/iconv.c
81c5e49 30-Jul-2003 foobar <sniper@php.net> Fix build on certain platforms which do not accept #include FOOBAR
/php-src/ext/iconv/iconv.c
80a8ff3 06-Jul-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed segfault due to reference to the already free'd block :)
/php-src/ext/iconv/iconv.c
8d850b4 06-Jul-2003 Moriyoshi Koizumi <moriyoshi@php.net> Improved iconv_mime_encode() interface
/php-src/ext/iconv/iconv.c
716a34a 06-Jul-2003 Moriyoshi Koizumi <moriyoshi@php.net> Avoid miscellaneous conflicts between glibc's iconv and libiconv.
/php-src/ext/iconv/iconv.c
3e95de0 16-Jun-2003 Andrey Hristov <andrey@php.net> proto fix
/php-src/ext/iconv/iconv.c
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/php-src/ext/iconv/iconv.c
0f1f635 04-Jun-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed ob_iconv_handler() type mismatch issue on 64bit platforms.
Patch by Joe Orton <jorton@redhat.com>
/php-src/ext/iconv/iconv.c
0e6fca4 18-Mar-2003 Stig Bakken <ssb@php.net> * email address change
/php-src/ext/iconv/iconv.c
5c90216 06-Mar-2003 David Hill <ddhill@php.net> 64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
/php-src/ext/iconv/iconv.c
aa40a02 04-Mar-2003 Moriyoshi Koizumi <moriyoshi@php.net> 64bit long fix
/php-src/ext/iconv/iconv.c
a7b9101 18-Jan-2003 Ilia Alshanetsky <iliaa@php.net> Removed pointless memory allocation checks.
/php-src/ext/iconv/iconv.c
3ae7d13 14-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Appended my name to the list of authors
/php-src/ext/iconv/iconv.c
6a1d69d 10-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Added missing cast operators
/php-src/ext/iconv/iconv.c
4c2d6cf 06-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Moved php_quot_print_decode() to quot_print.c so that it can be used
outside the iconv module
/php-src/ext/iconv/iconv.c
d057081 06-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Added more RFC2047-compliancy check in iconv_mime_decode()
/php-src/ext/iconv/iconv.c
6f44489 06-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed iconv_mime_decode() so that it comforms to RFC2231
/php-src/ext/iconv/iconv.c
0d0127f 04-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed cut'n'paste failure
/php-src/ext/iconv/iconv.c
006b455 03-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed an iconv_strrpos() bug that the function doesn't return accurate
position of last occurrence
/php-src/ext/iconv/iconv.c
3149fc7 03-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Added offset validity check for iconv_strpos()
/php-src/ext/iconv/iconv.c
a3330b5 03-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed iconv_mime_decode() so it would give more awareness to stateful codesets
/php-src/ext/iconv/iconv.c
e1dd919 03-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed infinite loop of iconv_mime_encode() in case the specified line length is too short to contain a proper mime-encoded string
/php-src/ext/iconv/iconv.c
c703ad7 03-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Give mo' shift-sequence awareness to iconv_mime_encode
/php-src/ext/iconv/iconv.c
354a42f 03-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> More shift-sequence awareness for iconv_substr()
/php-src/ext/iconv/iconv.c
1f8cee7 03-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Added missing casting operators
/php-src/ext/iconv/iconv.c
6144a72 03-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> MFB: fixed shift-out sequence unawareness issue
/php-src/ext/iconv/iconv.c
c4e8b2b 31-Dec-2002 Moriyoshi Koizumi <moriyoshi@php.net> Added various functions that relies on the iconv facility:
iconv_strlen(), iconv_substr(), iconv_strpos(), iconv_strrpos(),
iconv_mime_encode(), iconv_mime_decode()

# hope this be a new year gift for you. Happy new year!
/php-src/ext/iconv/iconv.c
b506f5c 31-Dec-2002 Sebastian Bergmann <sebastian@php.net> Bump year.
/php-src/ext/iconv/iconv.c
5ca953b 14-Nov-2002 Moriyoshi Koizumi <moriyoshi@php.net> Fixed a problem that ICONV_IMPL doesn't give a correct value in win32 build.
/php-src/ext/iconv/iconv.c
8e1f89b 08-Nov-2002 Moriyoshi Koizumi <moriyoshi@php.net> Use proper types
/php-src/ext/iconv/iconv.c
5b62dc0 08-Nov-2002 Moriyoshi Koizumi <moriyoshi@php.net> Fixed typo
/php-src/ext/iconv/iconv.c
0228d5b 06-Nov-2002 Moriyoshi Koizumi <moriyoshi@php.net> Clean up
/php-src/ext/iconv/iconv.c
49f15ab 06-Nov-2002 Moriyoshi Koizumi <moriyoshi@php.net> Fixed segfaults in case the specified encoding is not acceptable to iconv.
/php-src/ext/iconv/iconv.c
b3e3420 30-Oct-2002 Moriyoshi Koizumi <moriyoshi@php.net> Prevent unnecessary notices on success
/php-src/ext/iconv/iconv.c
21e8efb 29-Oct-2002 Moriyoshi Koizumi <moriyoshi@php.net> It's better to know the version is "unknown", rather than ""
/php-src/ext/iconv/iconv.c
51ed05c 29-Oct-2002 Marcus Boerger <helly@php.net> -php_error => php_error_docref
/php-src/ext/iconv/iconv.c
4b6640b 29-Oct-2002 Ilia Alshanetsky <iliaa@php.net> Fixed compile warning.
/php-src/ext/iconv/iconv.c
e13c936 26-Oct-2002 Moriyoshi Koizumi <moriyoshi@php.net> Clean-ups
/php-src/ext/iconv/iconv.c
6537b7b 26-Oct-2002 Moriyoshi Koizumi <moriyoshi@php.net> Fixed typo... what did this "#" sign mean?
/php-src/ext/iconv/iconv.c
63a9d4f 25-Oct-2002 Marcus Boerger <helly@php.net> fix ZTS build
/php-src/ext/iconv/iconv.c
34aa59b 25-Oct-2002 Moriyoshi Koizumi <moriyoshi@php.net> Added two new rows to MINFO that describes iconv library info.
/php-src/ext/iconv/iconv.c
764df05 11-Oct-2002 Moriyoshi Koizumi <moriyoshi@php.net> *** empty log message ***
/php-src/ext/iconv/iconv.c
adbdd71 11-Oct-2002 Moriyoshi Koizumi <moriyoshi@php.net> Fixed possible compile-time failure
/php-src/ext/iconv/iconv.c
03b3478 11-Oct-2002 Derick Rethans <derick@php.net> - Style polizei :)
/php-src/ext/iconv/iconv.c
d2f9949 11-Oct-2002 Moriyoshi Koizumi <moriyoshi@php.net> Reformatted.
# Still bad?
/php-src/ext/iconv/iconv.c
1a86768 11-Oct-2002 Moriyoshi Koizumi <moriyoshi@php.net> Added ICONV_IMPL and ICONV_VERSION constants.
@- Added ICONV_IMPL and ICONV_VERSION constants to iconv extension to
@ indicate which iconv implementation is used. (Moriyoshi)
/php-src/ext/iconv/iconv.c
69cc473 07-Sep-2002 Yasuo Ohgaki <yohgaki@php.net> Fixed errno hanlding. Patch by Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp>
/php-src/ext/iconv/iconv.c
38ef35e 04-Sep-2002 Yasuo Ohgaki <yohgaki@php.net> Fixed undefiend referece at build time.
Fixed transilit test script.
Make fixes available on Windows.
Patch by Yoshimori Koizumi<readjust@deneb.freemail.ne.jp>
/php-src/ext/iconv/iconv.c
4b7ad81 08-Aug-2002 Yasuo Ohgaki <yohgaki@php.net> Forgot this one. Fix build
/php-src/ext/iconv/iconv.c
7498f56 06-Aug-2002 Marko Karppinen <markonen@php.net> Updated proto to match the function (fix compile bustage on osx)
/php-src/ext/iconv/iconv.c
6c094c3 05-Aug-2002 Marcus Boerger <helly@php.net> ws fix
/php-src/ext/iconv/iconv.c
dd8ec2d 05-Aug-2002 Marcus Boerger <helly@php.net> -fix one warning
-send Content-Type Header with charset
/php-src/ext/iconv/iconv.c
7409f1c 19-Jul-2002 Derick Rethans <derick@php.net> Unify error messages
/php-src/ext/iconv/iconv.c
7892e41 13-Jul-2002 foobar <sniper@php.net> Kill compiler warning
/php-src/ext/iconv/iconv.c
2e77bb3 11-Jul-2002 Yasuo Ohgaki <yohgaki@php.net> Fix #16069. Patch by Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp>
@ Made iconv() work well with libiconv or libgconv. (Moriyoshi, Yasuo)
/php-src/ext/iconv/iconv.c
4330c0d 28-Jun-2002 Derick Rethans <derick@php.net> - Fix for bug #18039
/php-src/ext/iconv/iconv.c
817750b 28-Apr-2002 foobar <sniper@php.net> ws fix
/php-src/ext/iconv/iconv.c
3b75b60 19-Apr-2002 Yasuo Ohgaki <yohgaki@php.net> Remove warnings
/php-src/ext/iconv/iconv.c
8dd6272 10-Apr-2002 Wez Furlong <wez@php.net> fix warning
/php-src/ext/iconv/iconv.c
d533371 21-Mar-2002 foobar <sniper@php.net> - Fixed bug #16165 again. We check libc for iconv functions only if
no path is given for --with-iconv.
# I hope this is the last time.
/php-src/ext/iconv/iconv.c
350de12 20-Mar-2002 Sascha Schumann <sas@php.net> Expand the variables in PHP_EXPAND_BUILD_VARS.

Make HAVE_ICONV/HAVE_LIBICONV available through the more
fine-grained approach using a single include file per
directive. This will significantly reduce the price of
full dependencies for developers, because basically each
file today includes php.h which includes php_config.h.

If PHP_ATOM_INC is defined, these include files can be used.

For all PHP_DEFINEs, empty files are created upon configure start.
/php-src/ext/iconv/iconv.c
d5b1a4f 11-Mar-2002 Markus Fischer <mfischer@php.net> - Slightly unify error/warning messages.
- Switch to zend_parse_parameters().
- Fix whitespaces.
/php-src/ext/iconv/iconv.c
bbe42d7 10-Mar-2002 Markus Fischer <mfischer@php.net> - Fix crash in iconv_set_encoding(). [Closes #15799]
/php-src/ext/iconv/iconv.c
79330dc 06-Mar-2002 Derick Rethans <derick@php.net> - Fix build with ZTS
/php-src/ext/iconv/iconv.c
9981d06 02-Mar-2002 Yasuo Ohgaki <yohgaki@php.net> Improved iconv usage with libc's iconv. No overrun. More efficient memory
allocation.
Hopefully, all bugs reported for iconv will be resolved when users are using
libc iconv.
@Improved iconv with libc's iconv
/php-src/ext/iconv/iconv.c
98861da 28-Feb-2002 Yasuo Ohgaki <yohgaki@php.net> Fix iconv. Patch by (itai@siftology.com)
/php-src/ext/iconv/iconv.c
8b7b813 20-Feb-2002 Derick Rethans <derick@php.net> - Fix for bug #15628 (for real now :)
/php-src/ext/iconv/iconv.c
cddd256 20-Feb-2002 Derick Rethans <derick@php.net> - Fix for bug #15638
/php-src/ext/iconv/iconv.c
53d349a 01-Feb-2002 Yasuo Ohgaki <yohgaki@php.net> Fixed bug with encodings that has 0 byte in strings. Patch by <itai@siftology.com>
Fixed possible problem with encodings that a char can be larger than
4 bytes.
/php-src/ext/iconv/iconv.c
5f8a57e 13-Dec-2001 Rui Hirokawa <hirokawa@php.net> added mbstring to maintainers list.
/php-src/ext/iconv/iconv.c
3893351 11-Dec-2001 Sebastian Bergmann <sebastian@php.net> Update headers.
/php-src/ext/iconv/iconv.c
4fdf886 22-Oct-2001 foobar <sniper@php.net> Fixed bug: #12443
/php-src/ext/iconv/iconv.c
6892520 11-Oct-2001 Stig Bakken <ssb@php.net> * zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
/php-src/ext/iconv/iconv.c
78747bd 09-Sep-2001 Derick Rethans <derick@php.net> - Don't wrap lines... this is annoying while coding.
/php-src/ext/iconv/iconv.c
d7d89bc 19-Aug-2001 foobar <sniper@php.net> ws
/php-src/ext/iconv/iconv.c
f6f6c4d 11-Aug-2001 Zeev Suraski <zeev@php.net> Whitespace
/php-src/ext/iconv/iconv.c
d87cc97 28-Jul-2001 Zeev Suraski <zeev@php.net> Redesigned thread safety mechanism - nua nua
/php-src/ext/iconv/iconv.c
b79aa09 20-Jul-2001 Sascha Schumann <sas@php.net> Fix last two instances of using ext/standard/php_output.h
/php-src/ext/iconv/iconv.c
81e2cf0 06-Jun-2001 Rasmus Lerdorf <rasmus@php.net> Fix folding and clean up some extensions
/php-src/ext/iconv/iconv.c
25c3a3a 05-Jun-2001 Rasmus Lerdorf <rasmus@php.net> vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
/php-src/ext/iconv/iconv.c
67f2331 27-May-2001 foobar <sniper@php.net> Per Sterling's request I'm committing this.
This works fine for me now. (I'm using external iconv libs)
/php-src/ext/iconv/iconv.c
1beda9e 24-May-2001 Stig Bakken <ssb@php.net> * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
/php-src/ext/iconv/iconv.c
93e7521 04-May-2001 Rui Hirokawa <hirokawa@php.net> added status parameter to output handler in ext/iconv.
/php-src/ext/iconv/iconv.c
65cccf0 19-Apr-2001 Andi Gutmans <andi@php.net> - WS
/php-src/ext/iconv/iconv.c
3bd5696 29-Mar-2001 Wez Furlong <wez@php.net> Fixed leak in php_iconv_string. Also returns FAILURE on failure,
rather than -1
/php-src/ext/iconv/iconv.c
0688fee 15-Mar-2001 Daniel Beulshausen <dbeu@php.net> fix win32 build
/php-src/ext/iconv/iconv.c
f3c9c8d 10-Mar-2001 Rui Hirokawa <hirokawa@php.net> initialized some strings in global variable structure.
/php-src/ext/iconv/iconv.c
f901783 26-Feb-2001 Rui Hirokawa <hirokawa@php.net> ob_iconv_handler changed to use for text data only.
/php-src/ext/iconv/iconv.c
eb6ba01 26-Feb-2001 Andi Gutmans <andi@php.net> - Fix copyright notices with 2001
/php-src/ext/iconv/iconv.c
6f1ca9d 31-Jan-2001 Daniel Beulshausen <dbeu@php.net> make iconv compile under win32 using libiconv
# http://clisp.cons.org/~haible/packages-libiconv.html
/php-src/ext/iconv/iconv.c
c61a557 14-Jan-2001 Rui Hirokawa <hirokawa@php.net> added iconv_get_encoding and supported initialization from php.ini
/php-src/ext/iconv/iconv.c
8d5d205 09-Jan-2001 Egon Schmid <eschmid@php.net> Sorry, two lines are enough.
/php-src/ext/iconv/iconv.c
6aef38f 09-Jan-2001 Egon Schmid <eschmid@php.net> Fixed protos.
/php-src/ext/iconv/iconv.c
4e035d0 09-Jan-2001 Rui Hirokawa <hirokawa@php.net> move iconv related functions to separate iconv extension.
/php-src/ext/iconv/iconv.c