2005-03-12 Marcus Boerger * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - If an exception is pending we don't bail out but show the unhandled exception 2005-03-12 Ilia Alshanetsky * ext/standard/string.c ext/standard/tests/strings/str_word_count.phpt: A more performance friendly version of Andrey's patch. 2005-03-12 Andrey Hristov * NEWS: FRN * ext/standard/string.c ext/standard/tests/strings/str_word_count.phpt: added an optional third parameter to str_word_count(), which is used as a list of characters which are considerd "is_alpha()". Thus V14GR4 can be extracted as one word if the user supplies "14" as charlist. FR #31560 2005-03-12 Wez Furlong * sapi/cli/php_cli.c: it's 2005 already 2005-03-12 Andrey Hristov * ext/standard/string.c: - type is either 1 or 2 if second parameter is set. if not set then type is 0. - use the lvalue for the second rvalue * ext/standard/tests/strings/str_word_count.phpt: add a test file * ext/pcre/tests/pcre_count.phpt: add test * NEWS ext/pcre/php_pcre.c ext/pcre/php_pcre.h main/SAPI.c win32/sendmail.c: FR 32275 - fifth parameter to preg_replace() to count number of replaces made. * (PHP_5_0) NEWS: BFN * ext/standard/array.c ext/standard/array.c: Fixed #30871 2005-03-12 Marcus Boerger * ext/wddx/tests/wddx.xml: - Fix test * ext/wddx/wddx.c: - Fix another memleak * ext/wddx/wddx.c: - Fix memleak 2005-03-12 Wez Furlong * ext/sqlite/config.w32: build sqlite2 pdo driver on win32 2005-03-12 Marcus Boerger * ext/sqlite/pdo_sqlite2.c: - Errcode might be empty 2005-03-12 Wez Furlong * ext/sqlite/pdo_sqlite2.c: Fix crappy whitespace 2005-03-11 Wez Furlong * ext/sqlite/config.m4 ext/sqlite/config.w32 ext/sqlite/pdo_sqlite2.c ext/sqlite/sqlite.c: Implement a PDO driver for sqlite 2 2005-03-11 Anantha Kesari H Y * (PHP_5_0) main/streams/userspace.c: removing redundant CLIB_STAT_PATCH * (PHP_5_0) ext/standard/filestat.c: removing redundant NEW_LIBC checks In NetWare statfs f_bavail member is known as f_bfree NetWare LibC has pwd.h * (PHP_5_0) ext/standard/file.c: NetWare LibC has pwd.h and removing redundant CLIB_STAT_PATCH * (PHP_5_0) TSRM/TSRM.c: NetWare has a proper pthreads support * (PHP_5_0) TSRM/TSRM.h: NetWare can make use autoconf generated tsrm_config.h * (PHP_5_0) TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.h: NetWare LibC has lstat * (PHP_5_0) TSRM/tsrm_config_common.h: Netware can make use of autoconf generated tsrm_config.h * (PHP_5_0) sapi/cli/php_getopt.h: As NetWare LibC has optind and optarg macros defined in unistd.h our local variables were getting mistakenly preprocessed so undeffing optind and optarg * (PHP_5_0) configure.in: NetWare don't have sendmail binary so need this sendmail.c smarthost implementation * (PHP_5_0) netware/sendmail_nw.h: changing the windows style directory seperator in netinet\in.h to netinet/in.h * (PHP_5_0) win32/sendmail.c: time.h is available in NetWare LibC. path sperator has been changed from \ to / while including netware\sendmail_nw.h * (PHP_5_0) ext/standard/datetime.c: removed redundant NEW_LIBC checks for NetWare * (PHP_5_0) ext/standard/proc_open.c: In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG * (PHP_5_0) ext/standard/link.c main/fopen_wrappers.c: NetWare LibC has pwd.h * (PHP_5_0) main/php_open_temporary_file.c: Netware LibC has mkstemp * (PHP_5_0) main/network.c: removed NetWare specific NEW_LIBC checks * (PHP_5_0) main/php_scandir.c: NetWare LibC does not have search.h * (PHP_5_0) ZendEngine2/acconfig.h: NetWare LibC's sys/types.h does not include sys/select.h implicitly as it is the case with Linux LibC 2005-03-11 Marcus Boerger * ZendEngine2/tests/bug32252.phpt: - Add new test * ZendEngine2/tests/bug27145.phpt ZendEngine2/tests/bug27145.phpt: - Irrelevant * (PHP_5_0) NEWS ext/xml/xml.c: - Bugfix #30266 * ext/xml/xml.c: - Fix #30266 * ZendEngine2/zend_object_handlers.c: - Don't touch refcount/is_ref * ext/standard/tests/serialize/bug31402.phpt: - Times have changed - php 5 relevant version now * ext/standard/array.c ext/standard/streamsfuncs.c ext/standard/type.c: - Do not touch return_valu's refcount or is_ref * ext/standard/tests/serialize/bug31402.phpt: - Allow to work under php 5 2005-03-10 Marcus Boerger * ext/standard/string.c: - Cosmetics * ext/standard/string.c: - Do not touch return_valu's refcount or is_ref 2005-03-10 Ilia Alshanetsky * ext/ftp/ftp.c ext/ftp/php_ftp.c: Final set of fixes for bug #27633. 2005-03-10 Rob Richards * acinclude.m4: require libxml 2.6.0 or higher 2005-03-10 Zeev Suraski * ext/standard/basic_functions.c: Oops, revert. * ext/standard/basic_functions.c: Fix prototype 2005-03-10 Marcus Boerger * run-tests2.php server-tests.php server-tests.php server-tests.php: - Rename test script * run-tests2.php: - Make this work under 5 2005-03-10 Anantha Kesari H Y * (PHP_5_0) main/php_compat.h: NetWare can use of ./configure generated php_config.h * (PHP_5_0) ext/standard/ftp_fopen_wrapper.c: NetWare Specific stat member changes 2005-03-10 Marcus Boerger * ZendEngine2/tests/bug28442.phpt ZendEngine2/tests/bug28442.phpt: - Bugfix #28442 * ZendEngine2/zend_compile.c: - Bugfix #28442 2005-03-10 Anantha Kesari H Y * (PHP_5_0) ext/standard/pageinfo.c: NetWare LibC has pwd.h and removing the redundant NEW_LIBC checks * (PHP_5_0) ext/standard/pack.c ext/standard/rand.c: NetWare LibC has pwd.h * (PHP_5_0) ext/standard/basic_functions.c: NetWare LibC has netdb.h * (PHP_5_0) ext/session/mod_files.c: NetWare stat structure difference has been handled 2005-03-10 Joe Orton * (PHP_4_3) sapi/apache2handler/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: MFH: - Fixed bug #31717: Reject PATH_INFO if "AcceptPathInfo off" is used. 2005-03-10 Anantha Kesari H Y * (PHP_5_0) ZendEngine2/acconfig.h: Autoconf based build can be used for NetWare * (PHP_5_0) main/php.h: NetWare LibC has param.h and pwd.h * (PHP_5_0) ZendEngine2/zend.h: NetWare can make use of ./configure generated zend_config.h 2005-03-10 Joe Orton * ext/standard/html.c: Fix /*-within-comment warning from GCC. * sapi/apache2handler/sapi_apache2.c: - Fixed bug #31717: Reject PATH_INFO if "AcceptPathInfo off" is used. 2005-03-10 Anantha Kesari H Y * (PHP_5_0) TSRM/threads.m4: This fix is needed for cross compilation to go through * (PHP_5_0) ZendEngine2/Zend.m4: This patch is needed for cross compilation to go through 2005-03-10 Marcus Boerger * ZendEngine2/zend_vm_execute.h: - #31562 2nd part * ZendEngine2/zend_vm_def.h: - Fix #31562 * (PHP_4_3) NEWS NEWS NEWS NEWS: - BFN * ext/standard/var_unserializer.c: - Wrong order of action - touch * ext/standard/var_unserializer.re: - Fix #31442 unserialize broken on 64-bit systems - Fix one warning 2005-03-09 Marcus Boerger * ext/standard/var_unserializer.c: - Fix #31442 unserialize broken on 64-bit systems - Fix one warning 2005-03-09 Ilia Alshanetsky * ext/ftp/ftp.c: Fixes to ascii downloads on win32. 2005-03-09 Rui Hirokawa * (PHP_4_3) Zend/zend_language_scanner.l: fixed #31987: possible zend-multibyte crash in ZTS. 2005-03-09 Derick Rethans * (PHP_5_0) NEWS ext/standard/html.c ext/standard/html.c: - MF43: Fixed bug #28067 (partially incorrect utf8 to htmlentities mapping). * (PHP_4_3) NEWS ext/standard/html.c: - Fixed bug #28067 (partially incorrect utf8 to htmlentities mapping). (Derick, Benjamin Greiner) 2005-03-09 Magnus Määttä * run-tests.php: Since in_array is case sensitive we need to convert the names to lowercase otherwise it won't run tests for extensions where the case of the name differ from the extension name. 2005-03-08 Jani Taskinen * main/main.c main/php.h: This makes more sense. (Someone might actually use php_error_docref0() :) 2005-03-08 Johannes Schlüter * (PHP_5_0) NEWS: - BFN 2005-03-08 Jani Taskinen * main/php.h: - This was not needed (said Marcus) 2005-03-08 Ilia Alshanetsky * ext/standard/html.c: Improve the performance of htmlspecialchars_decode() by 20-30%. 2005-03-08 Jani Taskinen * ext/standard/var_unserializer.c: update * NEWS: reorder 2005-03-07 Marcus Boerger * NEWS: - Add some more news * tests/classes/serialize_001.phpt: - Add test * ext/standard/var_unserializer.re: - Update signature * ZendEngine2/zend.h ZendEngine2/zend_compile.c ZendEngine2/zend_interfaces.c ZendEngine2/zend_interfaces.h: - New Interface Serializeable - Change signature of unserialize() callback to ease inheritance and support code reuse of handlers * ext/standard/file.c: - Fix proto - Do not try to write zero bytes * ext/standard/file.c: - Length needs to be positive * ext/standard/file.c: - Make maic qutes runtime work if length is specified too * ext/standard/file.c: - Delay memory allocation, speeds up faiure case 2005-03-07 Ilia Alshanetsky * NEWS ext/standard/basic_functions.c ext/standard/html.c ext/standard/html.h: Added htmlspecialchars_decode() function for fast conversion from htmlspecialchars() generated entities back to characters. 2005-03-07 Marcus Boerger * ZendEngine2/tests/bug32226.phpt ZendEngine2/tests/bug32226.phpt: - Add updated description * ZendEngine2/zend_builtin_functions.c ZendEngine2/tests/bug32226.phpt: - Fix #32226 2005-03-07 Jani Taskinen * (PHP_4_3) NEWS NEWS: RBFN 2005-03-07 Zeev Suraski * (PHP_4_3) tests/basic/bug31672.phpt: Remove test case for a Won't Fix bug * (PHP_4_3) Zend/zend_language_scanner.l ZendEngine2/zend_language_scanner.l ZendEngine2/zend_language_scanner.l: Revert // patch 2005-03-07 Ilia Alshanetsky * (PHP_5_0) NEWS ext/standard/proc_open.c ext/standard/proc_open.c: Fixed bug #32210 (proc_get_status() sets "running" always to true). 2005-03-07 Marcus Boerger * tests/classes/__set__get_005.phpt: - Add new test * (PHP_5_0) ext/standard/file.c: - MFH Allow length 0 as default (e.g. skip param) * ext/standard/file.c: - Allow length 0 as default (e.g. skip param) 2005-03-06 Jani Taskinen * sapi/cgi/config9.m4 sapi/cgi/config9.m4: MFB: Fix VPATH build 2005-03-06 Marcus Boerger * ext/standard/image.c: - Actuall the comments were correct * ZendEngine2/zend_reflection_api.c: - Fix by Tim * ext/mysqli/mysqli.c: - Bugfix #28840 __destruct of a class that extends mysqli not called 2005-03-06 Ilia Alshanetsky * (PHP_5_0) ext/standard/html.c: MFH: Make html_entity_decode() 15-20% faster by avoiding pointless string duplication. * ext/standard/html.c: Make html_entity_decode() 15-20% faster by avoiding pointless string duplication. 2005-03-06 Jani Taskinen * NEWS ext/fam/.cvsignore ext/fam/CREDITS ext/fam/config.m4 ext/fam/fam.c ext/fam/package.xml ext/fam/php_fam.h ext/mnogosearch/.cvsignore ext/mnogosearch/CREDITS ext/mnogosearch/README ext/mnogosearch/config.m4 ext/mnogosearch/index.php ext/mnogosearch/php_mnogo.c ext/mnogosearch/php_mnogo.h: - Moved ext/fam and ext/mnogosearch to PECL 2005-03-06 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/standard/image.c ext/standard/image.c: MFH: Fixed bug #29424 (width and height inverted for JPEG2000 files). * ext/standard/image.c: Fixed bug #29424 (width and height inverted for JPEG2000 files). 2005-03-06 Jani Taskinen * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c: Fixed compile warning (bug #32046) * ZendEngine2/zend_mm.c: Fix compile warning (bug #32047) 2005-03-05 Rasmus Lerdorf * (PHP_4_3) ext/exif/exif.c: wtf? 2005-03-05 John Coggeshall * ext/skeleton/tests/001.phpt: Opps. 2005-03-05 Derick Rethans * (PHP_5_0) NEWS: - Make sure to note that this involves SOAP. 2005-03-05 Moriyoshi Koizumi * NEWS main/SAPI.c main/php_content_types.c main/php_content_types.h: - Fixed bug #32109 ($_POST is not populated in multithreaded environment). 2005-03-05 Dmitry Stogov * (PHP_5_0) NEWS: Fixed bug #32115 (dateTime encoding of timezone incorrect) 2005-03-05 John Coggeshall * ext/skeleton/tests/001.phpt: Starting tests.... 2005-03-05 Andrei Zmievski * ext/standard/array.c: Check that object can actually return a class entry. I need this for a class-entry-less helper objects that should not be present in the class table. 2005-03-04 Jani Taskinen * sapi/apache_hooks/config.m4: Merge from sapi/apache/config.m4 and cleanup * sapi/apache/config.m4: Do not set apache stuff if not building apache * acinclude.m4: This did not work for some reason, better revert it * scripts/phpize.m4: Add missing subst 2005-03-04 Ilia Alshanetsky * (PHP_5_0) ext/mbstring/mb_gpc.c: Removed unused variables. 2005-03-03 Marcus Boerger * (PHP_5_0) NEWS: - BFN 2005-03-03 Johannes Schlüter * (PHP_4_3) ext/standard/incomplete_class.c: - Remove -Tag from error message 2005-03-03 Zeev Suraski * main/logos.h: New egg 2005-03-03 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/standard/file.c ext/standard/file.c: MFH: Fixed bug #32160 (file truncation in copy() when source & destination are the same). * ext/standard/file.c: Fixed bug #32160 (file truncation in copy() when source & destination are the same). 2005-03-02 Jani Taskinen * (PHP_4_3) sapi/cli/php.1.in: typofix 2005-03-02 Moriyoshi Koizumi * ext/xml/tests/bug32001.phpt ext/xml/tests/bug32001.phpt: - Add testcases for bug #32001 2005-03-02 Rob Richards * NEWS NEWS: BFN * ext/xsl/php_xsl.c ext/xsl/php_xsl.h ext/xsl/xsltprocessor.c: Fixed bug #31033 (php:function(string, nodeset) with xsl:key crashes PHP) - only in 5.1 branch for now due to significance of change 2005-03-02 Stefan Esser * ext/exif/exif.c: Fixed possible bufferoverflow 2005-03-02 Rob Richards * (PHP_5_0) ext/xml/compat.c: MFH: Fixed bug #32001 (xml_parse_into_struct() exceeds maximum execution time) * ext/xml/compat.c: Fixed bug #32001 (xml_parse_into_struct() exceeds maximum execution time) 2005-03-01 Marcus Boerger * ZendEngine2/zend_interfaces.c: - Support statuc methods/functions 2005-03-01 Jani Taskinen * (PHP_4_3) ext/standard/var_unserializer.c: touch 2005-03-01 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/standard/microtime.c ext/standard/microtime.c: MFH: Fixed bug #31792 (getrusage() does not provide ru_nswap value). * ext/standard/microtime.c: Fixed bug #31792 (getrusage() does not provide ru_nswap value). 2005-03-01 Andrei Zmievski * pear/Console/Getopt.php pear/Console/Getopt.php pear/Console/Getopt.php: Allow = sign in long option argument. Fixes PEAR bug #1831. 2005-03-01 Anantha Kesari H Y * ext/standard/string.c ext/standard/string.c: NetWare allows directory seperator as \ and / 2005-03-01 Stefan Esser * ext/standard/image.c: Handle last or broken JP2 boxes correctly. 2005-03-01 Antony Dovgal * (PHP_4_3) NEWS ext/gmp/gmp.c: MFH: checks for negative values to gmp_sqrt(), gmp_powm(), gmp_sqrtrem() and gmp_fact() to prevent SIGFPE changed zend_error() to php_error_docref() * (PHP_5_0) NEWS ext/gmp/gmp.c: MFH: checks for negative values to gmp_sqrt(), gmp_powm(), gmp_sqrtrem() and gmp_fact() to prevent SIGFPE * ext/gmp/gmp.c: fix SIGFPE in gmp_powm(), gmp_sqrt() & gmp_sqrtrem() when using negative values do not allow negative value to be passed to gmp_fact() 2005-03-01 Marcus Boerger * ext/standard/image.c: - MFB * (PHP_5_0) ext/standard/image.c: - Fix warning * (PHP_5_0) NEWS: - BFN 2005-03-01 Jani Taskinen * ext/standard/var_unserializer.c ext/standard/var_unserializer.c: update * scripts/Makefile.frag: ws * (PHP_4_3) NEWS Zend/zend_language_scanner.l tests/basic/bug31672.phpt: MFH: - Fixed bug #31672 ( not considered closing tag if MFH: preceded by one-line comment * tests/basic/bug31672.phpt tests/basic/bug31672.phpt tests/basic/bug31672.phpt: 1.1.4; file bug31672.phpt was initially added on branch PHP_5_0. * (PHP_5_0) NEWS ZendEngine2/zend_language_scanner.l: MFH: - Fixed bug #31672 ( not considered closing tag if MFH: preceded by one-line comment) * ZendEngine2/zend_language_scanner.l: Fix the fix for one line comments with tags 2005-03-01 Johannes Schlüter * php.ini-dist php.ini-recommended: - Change comment: Syntax highlighter uses instead of 2005-02-28 Ilia Alshanetsky * php.ini-dist php.ini-recommended: Added notes about ignore_user_abort to php.ini* 2005-02-28 Marcus Boerger * ZendEngine2/zend_builtin_functions.c: - Add support for methods dynamically added through object handlers 2005-02-28 Jani Taskinen * NEWS: reorder * (PHP_5_0) NEWS: typo 2005-02-28 Stefan Esser * ext/standard/var_unserializer.re: This way around for correct error messages * ext/standard/var_unserializer.re: Drop invalid arrays 2005-02-28 Wez Furlong * scripts/Makefile.frag: Let's install the mbstring headers. Fixes PECL #3516 2005-02-28 Marcus Boerger * acinclude.m4: - Fix typo 2005-02-27 Marcus Boerger * ext/simplexml/tests/016a.phpt ext/simplexml/tests/022.phpt: - Add tests * ZendEngine2/zend_object_handlers.c: - If silence if wanted we do not error out * ZendEngine2/zend_reflection_api.c: - Add two new methods - Fix signature, no need to cast it * ZendEngine2/zend_API.h: - These must be initailized 2005-02-27 Rasmus Lerdorf * TSRM/tsrm_virtual_cwd.c: Add a comment to remind me to have a look at this at some point. 2005-02-27 Ilia Alshanetsky * ext/standard/ftp_fopen_wrapper.c ext/standard/image.c: Fixed compiler warnings. 2005-02-27 Marcus Boerger * ZendEngine2/zend_builtin_functions.c: - Update method_exists to new handlers and allow first parameter as string 2005-02-27 Jani Taskinen * main/main.c: cs fix (really annoying :) * acinclude.m4 ZendEngine2/Zend.m4: - Cache the version check results 2005-02-27 Stanislav Malyshev * ext/standard/var_unserializer.c ext/standard/var_unserializer.re: fix typo 2005-02-27 Sara Golemon * ext/standard/info.c: Enum filters in phpinfo() 2005-02-26 Wez Furlong * run-tests.php: let the test-suite run from an alternate build dir 2005-02-26 Marcus Boerger * ext/dba/config.m4: - Make detection work for macros * ext/dba/dba_db1.c: - Simplify 2005-02-26 Greg Beaver * pear/go-pear-list.php: use 1.3.5 2005-02-26 Marcus Boerger * ext/dba/config.w32: - Prepare for db1.85 emulation with db3 2005-02-25 Marcus Boerger * ext/dba/config.m4 ext/dba/dba.c ext/dba/dba_db1.c ext/dba/php_db1.h ext/dba/tests/dba_db1.phpt: - Add support for db1 through emulation 2005-02-25 Frank M. Kromann * (PHP_5_0) ext/mssql/php_mssql.c: MFH: FreeTDS does not have support for DBTEXTLIMIT * ext/mssql/php_mssql.c ext/mssql/php_mssql.c: FreeTDS does not have support for DBTEXTLIMIT 2005-02-25 Rob Richards * (PHP_4_3) NEWS ext/domxml/php_domxml.c: no message 2005-02-25 Marcus Boerger * ext/dba/config.m4: - Align 2005-02-25 Antony Dovgal * ext/oci8/config.m4: fix bug preventing from building oci8 as shared module (patch by stanislav dot voroniy at portavita dot nl) 2005-02-25 Georg Richter * ext/mysqli/tests/bug30967.phpt ext/mysqli/tests/bug30967.phpt: fix for bug #31939 2005-02-25 Anantha Kesari H Y * netware/sendmail_nw.h: changing the windows style path seperator in netinet\in.h to netinet/in.h * win32/sendmail.c: time.h is available in NetWare LibC. path sperator has been changed from \ to / while including netware\sendmail_nw.h 2005-02-25 Marcus Boerger * ext/exif/config.w32: - Change to enable (synch with unix build system) 2005-02-24 Ilia Alshanetsky * (PHP_5_0) NEWS ext/mysqli/mysqli_nonapi.c: MFH: Fixed bug #32081 (default socket value is not being used). * ext/mysqli/mysqli_nonapi.c: Fixed bug #32081 (default socket value is not being used). 2005-02-24 Marcus Boerger * ext/standard/image.c: - Little speed up * ext/standard/image.c: - This must be == 1 2005-02-24 Jani Taskinen * acinclude.m4 configure.in ext/iconv/config.m4: - Fixed all buildconf warnings + cross-compiling issues 2005-02-24 Andi Gutmans * ZendEngine2/zend_language_scanner.l: - Make one line comments work the same with as with - other tags. This will break scripts that have whitespace at the end - of the closing tag but this is barely used as it is - and I doubt ppl used whitespace. (patch by Jani) 2005-02-24 Jani Taskinen * TSRM/threads.m4: - cross-compile fix 2005-02-24 Andi Gutmans * ZendEngine2/zend_objects_API.h: - This part of the patch was right 2005-02-24 Jani Taskinen * acinclude.m4 configure.in scripts/phpize.m4: - Restructured and added a few comments here and there. - Made macros of couple of tests previously littering configure.in (e.g. PHP_PROG_AWK, PHP_PROG_LEX, PHP_PROG_BISON..) - Moved all PHP_SUBST() calls into their respective macros. (no point adding empty entries in Makefile if macro is not used) * ext/standard/var_unserializer.c: - Generated with re2c 0.9.4 2005-02-24 Stanislav Malyshev * ext/standard/var_unserializer.c ext/standard/var_unserializer.re: fix typo 2005-02-24 Dmitry Stogov * (PHP_5_0) ZendEngine2/zend_execute.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_opcodes.h: Fixed bug in ZEND_POST_INC/ZEND_POST_DEC handlers. These opcodes assume IS_TMP_VAR as result. 2005-02-24 Andi Gutmans * ZendEngine2/zend_modules.h: - Need zend_Compile.h for struct _zend_arg_info definiton (thanks to Joe Orton) * main/streams/mmap.c: - Fix comment * ZendEngine2/zend_objects.c ZendEngine2/zend_objects.h ZendEngine2/zend_objects_API.h: - Revert following patch until we decide what is the right way to handle - this: - Fix signatures they are all meant to be able to deal with any type in any object storage (though we are still missing several parts) 2005-02-24 Marcus Boerger * ext/standard/image.c: - Prevent superflous memory allocation 2005-02-23 Ilia Alshanetsky * ext/standard/image.c: Additional safety checks. 2005-02-23 Marcus Boerger * ext/standard/image.c: - Slightly redesign 2005-02-23 Ilia Alshanetsky * (PHP_5_0) main/streams/mmap.c: MFH: Increase maximum mmapable file size to 2mb from 1mb. * main/streams/mmap.c: Increase maximum mmapable file size to 2mb from 1mb. * (PHP_4_3) TODO_SEGFAULTS: pack() issues were resolved. 2005-02-23 Ard Biesheuvel * ext/interbase/interbase.c: Fixed bug #31597: ibase_connect() - incorrect warning 2005-02-23 Ilia Alshanetsky * ext/standard/dir.c: Fixed compiler warning. * (PHP_5_0) ext/bz2/bz2.c: MFB_4_3: Fixed bug #29521 (compress.bzip2 returns error when used with http wrapper) * ext/bz2/bz2.c: MFB_4_3: Fixed bug #29521 (compress.bzip2 returns error when used with http wrapper). 2005-02-23 Stefan Esser * ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Correcting bounds check before someone uses this code 2005-02-23 Derick Rethans * (PHP_5_0) NEWS ZendEngine2/zend_reflection_api.c: - MFH: fixed bug #32076 (ReflectionMethod :: isDestructor() always return true). * ZendEngine2/zend_reflection_api.c: - Fixed bug #32076 (ReflectionMethod :: isDestructor() always return true) (Patch by Antony Dogval) 2005-02-23 Stanislav Malyshev * ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Custom object serializer infrastructure - PHP implementation * ZendEngine2/zend.h ZendEngine2/zend_compile.c: Custom object serializer infrastructure 2005-02-23 Anantha Kesari H Y * main/php_syslog.h: NetWare can make use of Autoconf generated header file * main/php_open_temporary_file.c: NetWare LibC has mkstemp implementation * main/php_compat.h: NetWare can make use autoconf generated header file * main/fopen_wrappers.c: NetWare LibC has pwd.h 2005-02-23 Jani Taskinen * ZendEngine2/Zend.m4: Hack the planet 2005-02-23 Marcus Boerger * run-tests.php: - Use PHP not C semantics * ZendEngine2/zend_interfaces.c: - Allow to convert Traversable into Aggregate 2005-02-22 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/mysql/php_mysql.c ext/mysql/php_mysql.c: MFH: Fixed bug #31288 (Possible crash in mysql_fetch_field(), if mysql_list_fields() was not called previously). * ext/mysql/php_mysql.c: Fixed bug #31288 (Possible crash in mysql_fetch_field(), if mysql_list_fields() was not called previously). 2005-02-22 Marcus Boerger * ZendEngine2/zend_objects_API.c: - We cannot provide this fallback becuase it requires zend_object ptr's. 2005-02-22 Jani Taskinen * (PHP_4_3) main/SAPI.c main/SAPI.c: MFH: nuke unused variables when PCRE is not compiled statically into PHP * ZendEngine2/Zend.m4: Fix cross-compile * ZendEngine2/acconfig.h: Fix build (it was #ifNdef NETWARE..) 2005-02-22 Marcus Boerger * ZendEngine2/zend_objects.c ZendEngine2/zend_objects.h ZendEngine2/zend_objects_API.h: - Fix signatures they are all meant to be able to deal with any type in any object storage (though we are still missing several parts) * ZendEngine2/zend_objects_API.c: - Force calling of dtors unless otherwise specified (fixes several __destruct bugs) 2005-02-22 Moriyoshi Koizumi * (PHP_4_3) NEWS: - MFH: fix bug #32063 (mb_convert_encoding ignores named entity 'alpha') * (PHP_5_0) NEWS: - One more entry to go. * (PHP_5_0) NEWS: - Reorder. * (PHP_5_0) NEWS: - MFH: fix bug #32063 (mb_convert_encoding() ignores named entity 'alpha') 2005-02-22 Anantha Kesari H Y * ZendEngine2/zend.h: NetWare can include autoconf generated config headers * ZendEngine2/acconfig.h: NetWare can make use of the configure script generated header file. * TSRM/tsrm_config.nw.h: NetWare can use Autoconf based build system. 2005-02-22 Moriyoshi Koizumi * main/SAPI.c: - Silly typo. 2005-02-22 Ilia Alshanetsky * (PHP_5_0) NEWS ext/standard/dir.c main/php_streams.h main/streams/streams.c: MFH: Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so). * ext/standard/dir.c main/php_streams.h main/streams/streams.c: Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so). 2005-02-21 Jani Taskinen * (PHP_5_0) ext/mysqli/tests/skipif.inc: Added missing skipif.inc (bug #31940) * main/SAPI.c: Nuke unused variables when PCRE is not compiled in * main/SAPI.c: Remove the useless TSRM_FETCH calls 2005-02-21 Moriyoshi Koizumi * NEWS NEWS: - BFN * ext/mbstring/mbstring.c ext/mbstring/mbstring.c: - WS fix. * ext/mbstring/mb_gpc.c ext/mbstring/mbstring.c main/SAPI.c main/SAPI.h main/main.c main/php_content_types.c main/php_content_types.h: - Fix bug #28568 (known_post_content_types is not thread safe). * ZendEngine2/Makefile.am: - Add missing entry. 2005-02-21 Stanislav Malyshev * (PHP_4_3) Zend/zend_execute.c: fix overloaded objects via TMP_VAR * (PHP_4_3) main/SAPI.c: packport fix from PHP5: read post data if they wreen't read 2005-02-21 Moriyoshi Koizumi * (PHP_5_0) NEWS ext/mbstring/php_mbregex.c: - MFH: fix bug #30868 (evaluated pointer comparison in mbregex causes compile failure). * ext/mbstring/php_mbregex.c: - Fix bug #30868 (evaluated pointer comparison in mbregex causes compile failure). * (PHP_4_3) NEWS: - MFH: fix bug #30573 (compiler warning due to invalid type cast). 2005-02-21 Anantha Kesari H Y * TSRM/tsrm_virtual_cwd.h: NetWare LibC has lstat implementation * TSRM/tsrm_config_common.h: NetWare can make use of autogenerated config header file * TSRM/TSRM.c: NetWare has pthreads implementation * TSRM/TSRM.h: NetWare can use the tsrm_config.h * TSRM/tsrm_virtual_cwd.c: NetWare LibC has a lstat implementation * ext/standard/proc_open.c: In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG 2005-02-21 Moriyoshi Koizumi * (PHP_5_0) NEWS: - MFH: fix bug #29989 (type re_registers redefined in oniguruma.h) 2005-02-21 Anantha Kesari H Y * ext/standard/pageinfo.c: NetWare LibC has pwd.h. Removed unwanted extern basic_globals_id declaration for Netware. * ext/standard/pack.c: NetWare has pwd.h and removed unwanted check on NEW_LIBC while including param.h * ext/standard/link.c: NetWare LibC has pwd.h * ext/standard/filestat.c: In NetWare statfs f_bavail member is known as f_bfree 2005-02-21 Moriyoshi Koizumi * ext/mbstring/mbstring.c: - Fix compiler warnings. * (PHP_4_3) ext/mbstring/tests/bug28220.phpt ext/mbstring/tests/bug30549.phpt ext/mbstring/tests/bug31911.phpt: - MFH: add testcases for bug #28220, #30549 and #31911. * (PHP_5_0) ext/mbstring/tests/bug28220.phpt ext/mbstring/tests/bug30549.phpt: - MFH: add testcases for bug #28220 and #30549. * ext/mbstring/tests/bug28220.phpt ext/mbstring/tests/bug30549.phpt: 1.1.4; - Add testcases for bug #28220 and #30549. * (PHP_4_3) NEWS ext/mbstring/config.m4: - Upgrade libmbfl (fixers bug #28220, #30549 and #31911). 2005-02-21 Greg Beaver * (PHP_5_0) pear/go-pear-list.php: upgrade to PEAR 1.3.5 2005-02-20 Moriyoshi Koizumi * (PHP_5_0) NEWS: - BFN & some * (PHP_5_0) ext/mbstring/config.m4 ext/mbstring/config.w32 ext/mbstring/php_mbregex.c ext/mbstring/tests/bug31911.phpt: - MFH: Update libmbfl - MFH: Update oniguruma to 3.7.0. * ext/mbstring/tests/bug31911.phpt: - Update libmbfl (fixes bug #30549 and #31911). - Update oniguruma to 3.7.0 * ext/mbstring/config.m4 ext/mbstring/config.w32 ext/mbstring/php_mbregex.c: - Update libmbfl (fixes bug #30549 and #31911). - Update oniguruma to 3.7.0 2005-02-20 Rob Richards * ext/dom/domexception.c ext/dom/php_dom.h: use new error handling when not throwing exceptions 2005-02-20 Ilia Alshanetsky * ext/imap/php_imap.c: Simplify Code. 2005-02-20 Dmitry Stogov * ZendEngine2/zend_compile.c: Fixed possible memory corruption 2005-02-19 Rui Hirokawa * (PHP_5_0) ZendEngine2/zend_language_scanner.l: MFH: fixed #31987 zend-multibyte in ZTS. * ZendEngine2/zend_language_scanner.l: fixed #31987 zend-multibyte in ZTS. 2005-02-19 Marcus Boerger * ext/sqlite/tests/sqlite_oo_031.phpt ext/sqlite/tests/sqlite_oo_032.phpt ext/sqlite/tests/sqlite_spl_001.phpt ext/sqlite/tests/sqlite_spl_002.phpt ext/sqlite/tests/sqlite_spl_003.phpt: - Regroup and add a test 2005-02-18 Derick Rethans * (PHP_4_3) ext/standard/tests/array/bug32021.phpt: - Added test case for bug #32021. * (PHP_5_0) NEWS ext/standard/array.c ext/standard/tests/array/bug32021.phpt: - MFH: Fixed bug #32021: Crash caused by range('', 'z') * ext/standard/array.c: - Fixed bug #32021: Crash caused by range('', 'z') * ext/standard/tests/array/bug32021.phpt: 1.1.4; - Fixed bug #32021: Crash caused by range('', 'z') 2005-02-18 Rob Richards * ext/dom/documentfragment.c: Fragment must have associated document to append xml otherwise it is read-only * (PHP_5_0) NEWS: BFN * (PHP_5_0) ext/dom/node.c: MFH: Fixed bug #32011 (Fragments which replaced Nodes are not globaly useable) * ext/dom/node.c: Fixed bug #32011 (Fragments which replaced Nodes are not globaly useable) 2005-02-17 Andi Gutmans * (PHP_5_0) NEWS: - Commit fix: - Fixed bug #31960 (msql_fetch_row() and msql_fetch_array() dropping columns with NULL values). (Daniel Convissor) * (PHP_4_3) NEWS: - Commit NEWS Entry for: - Fixed bug #31960 (msql_fetch_row() and msql_fetch_array() dropping columns with NULL values). (Daniel Convissor) 2005-02-17 Marcus Boerger * ZendEngine2/zend_API.c: - A little optimization to prevent problems when trying to reimplement an interface inherited from an interfaces that was just implemented...... * ZendEngine2/zend_API.c: - No C++ ruleZ here * ZendEngine2/zend_API.c: - Actually we must do this in two steps: 1st resize the table and set all interfaces, 2nd implement the interfaces * ZendEngine2/zend_API.c: - Incrementation is done elsewhere * ZendEngine2/zend_API.c: - Fix windows build (funny MS compiler) 2005-02-17 Andi Gutmans * ext/msql/php_msql.c: - Fix Bug #31960: msql_fetch_row() and msql_fetch_array() dropping columns with NULL values 2005-02-17 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/ftp/ftp.c ext/ftp/ftp.c: MFH: Fixed bug #27633 (Double \r problem on ftp_get in ASCII mode on Win32). * ext/ftp/ftp.c: Fixed bug #27633 (Double \r\r problem on ftp_get in ASCII mode on Win32). 2005-02-17 Joe Orton * ext/xml/compat.c: Declare error_mapping array as static and more const. 2005-02-17 Anantha Kesari H Y * ext/standard/filestat.c: NetWare LibC has pwd.h * ext/standard/file.c: NetWare libc has pwd.h 2005-02-17 Jani Taskinen * (PHP_4_3) ext/openssl/openssl.c: ws/cs 2005-02-17 Wez Furlong * ext/standard/credits.c: George too * ext/standard/credits.c ext/standard/credits_ext.h: ran ./scripts/dev/credits to update credits to reflect recent removals and additions. 2005-02-17 Ilia Alshanetsky * (PHP_4_3) NEWS main/main.c: MFH: MFH: Fixed bug #31440 ($GLOBALS can be overwritten via GPC when register_globals is enabled). * (PHP_5_0) NEWS main/php_variables.c: MFH: Fixed bug #31440 ($GLOBALS can be overwritten via GPC when register_globals is enabled). 2005-02-17 Jani Taskinen * (PHP_4_3) NEWS NEWS Zend/Zend.m4 Zend/zend_strtod.c ZendEngine2/Zend.m4 ZendEngine2/zend_strtod.c: MFH: - Compile fix for systems without int32_t typedef * ZendEngine2/Zend.m4 ZendEngine2/zend_strtod.c: - Compile fix for systems without int32_t typedef 2005-02-17 Ilia Alshanetsky * main/php_variables.c: Fixed bug #31440 ($GLOBALS can be overwritten via GPC when register_globals is enabled). 2005-02-17 Jani Taskinen * (PHP_4_3) ext/pspell/config.m4 ext/pspell/config.m4: MFH:- Fixed bug #29554 (compile failure when using --with-pspell=/usr/local) * ext/pspell/config.m4: - Fixed bug #29554 (compile failure when using --with-pspell=/usr/local) 2005-02-16 Jani Taskinen * ext/exif/exif.c: PHP_WIN32 is defined or not defined. 2005-02-16 Edin Kadribasic * (PHP_5_0) NEWS: BFN * ext/exif/exif.c: Enable mbstring use on windows. We were linking against mbstring for some time now, but have never actually used it on Windows. Fixes #31980. 2005-02-15 Ilia Alshanetsky * (PHP_4_3) ext/exif/exif.c ext/exif/exif.c: MFH: Fixed bug #31986 (Max nesting limit set too low). * ext/exif/exif.c: Fixed bug #31986 (Max nesting limit set too low). 2005-02-15 Marcus Boerger * ext/sqlite/config.m4 ext/sqlite/config.w32 ext/sqlite/sqlite.c ext/sqlite/tests/sqlite_oo_032.phpt: - SQLite depends on SPL if it is present - Add SQLiteResult::count() - SQLiteResult implements Countable if present 2005-02-15 Jani Taskinen * config.guess config.sub ltmain.sh build/libtool.m4: - Applied some patches to fix issues with e.g. ia_64 and s390 * ext/dom/config.m4: No tabs here * ext/xmlrpc/libxmlrpc/.cvsignore: Missing .libs entry 2005-02-15 Ilia Alshanetsky * main/rfc1867.c: Prune uploaded file names to \ on all OSes, read comments for explanation. 2005-02-14 Jani Taskinen * ext/sockets/sockets.c: - More sock->error resets 2005-02-14 Edin Kadribasic * ext/pgsql/pgsql.c: ws fix * NEWS ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: Added pg_field_type_oid() function * ext/pgsql/config.w32: Added missing defines (#31751) 2005-02-14 Jani Taskinen * (PHP_4_3) ext/sockets/sockets.c: Fix typo * (PHP_4_3) ext/sockets/sockets.c: MFH: - Removed duplicate error + reset error in new sockets * ext/sockets/sockets.c: - Removed duplicate error + reset error in new sockets 2005-02-14 Marcus Boerger * ext/standard/var_unserializer.c: - Disallow illegal class names (.c part) * ext/standard/var_unserializer.re: - Disallow illegal class names 2005-02-14 Anantha Kesari H Y * main/php.h: NetWare Libc has php.h so no need of having netware specific block here 2005-02-14 Jani Taskinen * (PHP_5_0) php.ini-dist php.ini-recommended ext/sockets/php_sockets.h: MFH: nuke unused code + non-existing ini option * php.ini-dist php.ini-recommended: Nuke non-existing ini option * ext/sockets/php_sockets.h: Nuke unused code 2005-02-13 Marcus Boerger * ZendEngine2/zend_execute_API.c ZendEngine2/zend_reflection_api.c: - Be more gracious in reflection API 2005-02-13 Ilia Alshanetsky * ext/standard/tests/general_functions/sunfuncts.phpt: Fixed test. 2005-02-13 Jani Taskinen * ext/session/mod_files.h ext/session/mod_mm.h ext/session/mod_user.h ext/session/php_session.h: - Missing $Id$ tags * (PHP_4_3) ext/session/session.c: MFH: - Added the alias session_commit() (more intuitive name for session_write_close()) MFH: - Partial sync of the file by adding macro SESSION_CHECK_ACTIVE_STATE 2005-02-13 Marcus Boerger * ZendEngine2/zend_language_scanner.l: - Fix doc comment handling 2005-02-13 Jani Taskinen * ext/session/php_session.h: MFB_4_3: cvs diff -r1.84.2.5 -r1.84.2.6 php_session.h 2005-02-13 Wez Furlong * ext/sqlite/config.m4: same fix here 2005-02-12 Jani Taskinen * ext/snmp/snmp.c: Missed one place.. * ext/snmp/snmp.c: This was not good idea. * (PHP_4_3) NEWS ext/sockets/config.m4 ext/sockets/php_sockets_win.h ext/sockets/sockets.c: - Fixed bug #31936 (set_h_errno() is redefined incompatibly) * ext/sockets/php_sockets_win.h ext/sockets/sockets.c: Remove unused set_h_errno 2005-02-12 Marcus Boerger * (PHP_5_0) NEWS tests/lang/bug30862.phpt: - BFN and add test * ZendEngine2/zend_execute_API.c: - Bugfix #30682 (autoconversion from false/true to 0/1 missing in case of static property default value) 2005-02-11 Marcus Boerger * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_language_parser.y: - Cleanup foreach handling 2005-02-11 Jani Taskinen * (PHP_4_3) TSRM/TSRM.c TSRM/TSRM.h TSRM/tsrm_config.nw.h TSRM/tsrm_config_common.h TSRM/tsrm_nw.c TSRM/tsrm_nw.h TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.h TSRM/tsrm_win32.c TSRM/tsrm_win32.h: Revert * (PHP_4_3) NEWS sapi/cgi/cgi_main.c: Revert broken patch * (PHP_5_0) NEWS sapi/cgi/cgi_main.c: Revert this patch * sapi/cgi/cgi_main.c: Revert previous patch 2005-02-10 Rob Richards * (PHP_5_0) ext/standard/array.c: MFH: fix segfault in array_walk when retval_ptr is empty - such as when exception thrown * ext/standard/array.c: fix segfault when retval_ptr is empty - such as when exception thrown 2005-02-10 Hartmut Holzgraefe * ext/xml/tests/bug30266.phpt: test case for Bug #30266 2005-02-10 Jani Taskinen * (PHP_4_3) TSRM/TSRM.c TSRM/TSRM.h TSRM/tsrm_config.nw.h TSRM/tsrm_config_common.h TSRM/tsrm_nw.c TSRM/tsrm_nw.h TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.h TSRM/tsrm_win32.c TSRM/tsrm_win32.h: MFH: - Multiple fixes for nasty leaks in ZTS mode * configure.in configure.in configure.in Zend/zend_strtod.c ZendEngine2/zend_strtod.c ZendEngine2/zend_strtod.c: - Fixed bug #31920 (zend_strtod.c error: conflicting types for 'int8_t') 2005-02-10 Antony Dovgal * ext/session/session.c: hm.. fix #28324 _properly_ * ext/session/session.c: fix bug #28324 (HTTP_SESSION_VARS appear when register_long_arrays is Off) 2005-02-10 Pierre-Alain Joye * ext/standard/sunfuncs.c: - fix #30745 and #31853 (php-bugs at demark dot org, pierre) 2005-02-10 Ilia Alshanetsky * ext/mbstring/mb_gpc.c ext/mbstring/mbstring.c: Removed unused vars. 2005-02-10 Dmitry Stogov * NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_opcodes.h ZendEngine2/tests/bug30407.phpt: Fixed bug #30407 (Strange behaviour of default arguments) 2005-02-09 Frank M. Kromann * (PHP_4_3) ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.c: MFH: change return value from false to true, when a statement was executed with warnings * ext/fbsql/php_fbsql.c: change return value from false to true, when a statement was executed with warnings * (PHP_4_3) ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.c: MFH: Check for warnings and return the warning texts * ext/fbsql/php_fbsql.c: Check for warnings and return the warning texts 2005-02-09 Rasmus Lerdorf * ext/curl/config.m4: Fix for bug #31901 2005-02-09 Rob Richards * (PHP_5_0) NEWS: BFN * (PHP_5_0) ext/dom/php_dom.c: MFH: Fixed bug #31878 (Segmentation fault using clone keyword on nodes) * ext/dom/php_dom.c: Fixed bug #31878 (Segmentation fault using clone keyword on nodes) 2005-02-09 Moriyoshi Koizumi * acinclude.m4: - Complement for Jani's fix. Likely fix the iconv issue. 2005-02-08 Ilia Alshanetsky * ext/shmop/php_shmop.h ext/shmop/shmop.c: Removed pointless operations/declarations. * NEWS ext/standard/file.c: Added optional maxlen parameter to file_get_contents(). 2005-02-08 Antony Dovgal * NEWS ext/cpdf/.cvsignore ext/cpdf/CREDITS ext/cpdf/config.m4 ext/cpdf/config.w32 ext/cpdf/cpdf.c ext/cpdf/cpdf.dsp ext/cpdf/package.xml ext/cpdf/php_cpdf.h: move ext/cpdf to PECL 2005-02-08 Rasmus Lerdorf * (PHP_5_0) ext/fam/fam.c ext/fam/php_fam.h ext/hwapi/hwapi.cpp ext/hwapi/php_hwapi.h ext/xml/xml.c: MFH eliminating a few more useless R* calls 2005-02-07 Rasmus Lerdorf * ext/fam/fam.c ext/fam/php_fam.h ext/hwapi/hwapi.cpp ext/hwapi/php_hwapi.h ext/mono/php_mono.c ext/msession/msession.c ext/msession/php_msession.h ext/ncurses/ncurses.c ext/ncurses/php_ncurses.h: Get rid of more useless RINIT/RSHUTDOWN calls 2005-02-07 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/sysvmsg/sysvmsg.c ext/sysvmsg/sysvmsg.c: MFH: Fixed bug #31527 (crash in msg_send() when non-string is stored without being serialized). * ext/sysvmsg/sysvmsg.c: Fixed bug #31527 (crash in msg_send() when non-string is stored without being serialized). 2005-02-07 Rasmus Lerdorf * ext/xml/xml.c: No reason to call empty RINIT, RSHUTDOWN and MSHUTDOWN functions here 2005-02-07 Dmitry Stogov * ZendEngine2/zend_compile.c: Fixed bug introduced with foreach() optimization patch * ZendEngine2/zend_compile.c: Fixed FE_RESET/FE_FETCH bug. Now FE_RESET instruction takes jump-address from itself, not from the following FE_FETCH instruction. * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_language_parser.y ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_opcodes.h: foreash($a as $key => $val) optimization Removed temorary array creation on each iteration. 2005-02-07 Marcus Boerger * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_language_parser.y: - Remove part of the cleanup which causes a problem with unnormal code like tests/lang/040.phpt * tests/lang/040.phpt: - Add new test 2005-02-07 Antony Dovgal * ext/filepro/filepro.c ext/filepro/php_filepro.h: fix leaks on shutdown fix leaks appearing when trying to open several "databases" 2005-02-07 Jani Taskinen * (PHP_4_3) NEWS NEWS configure.in configure.in: MFH: - Fixed bug #31858 (--disable-cli does not force --without-pear) * configure.in: - Fixed bug #31858 (--disable-cli does not force --without-pear) 2005-02-06 Zeev Suraski * (PHP_5_0) ZendEngine2/zend_ini_scanner.l: Correct fix for #28803 * ZendEngine2/zend_ini_scanner.l: Correct fix for #28804 * (PHP_4_3) Zend/zend_ini_scanner.l: Correct fix for #28804 (minimize change from previous regexp) 2005-02-06 Wez Furlong * main/php_streams.h: Avoid bug where stream_copy_to_stream() call for precisely 2000000 bytes would result in entire resource being copied. The mmap brake is already present inside mmap_range() and is set to 1MB. * ext/standard/file.c: support sucking data from streams in file_put_contents() 2005-02-06 Ilia Alshanetsky * ext/standard/exec.c: Fixed possible un-initialized var on error. 2005-02-06 Wez Furlong * main/php_memory_streams.h main/streams/memory.c: add an open mode for the memory streams that allows the stream to take ownership of the passed-in buffer * ext/sqlite/TODO: update todo 2005-02-05 Marcus Boerger * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_language_parser.y ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_opcodes.h: - Cleanup foreach statement 2005-02-05 Georg Richter * ext/mysqli/config.m4: fix for bug #29329 2005-02-04 Jani Taskinen * ext/standard/tests/time/bug13142.phpt ext/standard/tests/time/bug13142.phpt ext/standard/tests/time/bug13142.phpt: fix test 2005-02-04 Hartmut Holzgraefe * NEWS ZendEngine2/zend_API.c ZendEngine2/zend_API.h: added some missing zend_[declare|update]_property_...() convenience functions for bool, double and binary safe string data 2005-02-04 Dmitry Stogov * (PHP_5_0) NEWS: Fixed bug #31832 (SOAP encoding problem with complex types in WSDL mode with multiple parts) 2005-02-04 Derick Rethans * (PHP_4_3) NEWS NEWS ext/dbase/dbase.c ext/dbase/dbase.c: - MFH: Fixed bug #31754 (dbase_open() fails for mode = 1). (Mehdi, Derick) * ext/dbase/dbase.c: - Fixed bug #31754 (dbase_open() fails for mode = 1). (Mehdi, Derick) 2005-02-04 Jani Taskinen * (PHP_5_0) NEWS: BFN * (PHP_4_3) NEWS ext/standard/datetime.c ext/standard/datetime.c: MFH: Fixed bug #31842 (*date('r') does not return RFC2822 conforming date string). * ext/standard/datetime.c: - Fixed bug #31842 (*date('r') does not return RFC2822 conforming date string). * (PHP_4_3) NEWS sapi/cgi/cgi_main.c: MFH: - Fixed bug #28227 (PHP CGI depends upon non-standard SCRIPT_FILENAME) * (PHP_5_0) NEWS sapi/cgi/cgi_main.c: MFH: - Fixed bug #28227 (PHP CGI depends upon non-standard SCRIPT_FILENAME) * sapi/cgi/cgi_main.c: - Fixed bug #28227 (PHP CGI depends upon non-standard SCRIPT_FILENAME) 2005-02-04 Ilia Alshanetsky * ext/readline/readline.c: Proper fix for bug #31796 . 2005-02-03 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/readline/readline.c ext/readline/readline.c: MFH: Fixed bug #31796 (readline completion handler does not handle empty return values). * ext/readline/readline.c: Fixed bug #31796 (readline completion handler does not handle empty return values). 2005-02-03 Jani Taskinen * buildconf build/build2.mk: - Fix buildconf with BSD make 2005-02-03 Magnus Määttä * ext/filepro/package.xml: Fix typos. 2005-02-03 Jani Taskinen * EXTENSIONS: cleanup * (PHP_5_0) NEWS ZendEngine2/zend_ini_scanner.l: MFH: Fixed bug #28804 (ini-file section parsing pattern is buggy). * (PHP_4_3) NEWS Zend/zend_ini_scanner.l: - MFH: Fixed bug #28804 (ini-file section parsing pattern is buggy). * ZendEngine2/zend_ini_scanner.l: - Fixed bug #28804 (ini-file section parsing pattern is buggy). * (PHP_4_3) Zend/zend_ini_scanner.l: Missing $Id$ tag + ws fix * ZendEngine2/zend_ini_scanner.l ZendEngine2/zend_ini_scanner.l: ws fix 2005-02-02 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS main/fopen_wrappers.c main/fopen_wrappers.c: MFH: Fixed bug #31514 (open_basedir uses path_translated rather then cwd for . translation). * main/fopen_wrappers.c: Fixed bug #31514 (open_basedir uses path_translated rather then cwd for . translation). 2005-02-02 Jani Taskinen * NEWS: pecl movement * ext/w32api/.cvsignore ext/w32api/CREDITS ext/w32api/EXPERIMENTAL ext/w32api/README ext/w32api/TODO ext/w32api/package.xml ext/w32api/php_w32api.h ext/w32api/w32api.c ext/w32api/w32api.dsp ext/w32api/w32api_function_definition_parser.y ext/w32api/w32api_function_definition_scanner.l ext/w32api/w32api_type_definition_parser.y ext/w32api/w32api_type_definition_scanner.l: - Moved ext/w32api to PECL. * NEWS: PECL * ext/yp/.cvsignore ext/yp/CREDITS ext/yp/config.m4 ext/yp/package.xml ext/yp/php_yp.h ext/yp/yp.c: - Moved ext/yp to PECL. * NEWS: NEWS * ext/dio/.cvsignore ext/dio/EXPERIMENTAL ext/dio/config.m4 ext/dio/config.w32 ext/dio/dio.c ext/dio/package.xml ext/dio/php_dio.h ext/dio/tests/.cvsignore ext/dio/tests/001.phpt: - Moved ext/dio to PECL. 2005-02-02 Stanislav Malyshev * ext/standard/array.c: fix memory leak if function call fails * ZendEngine2/zend_execute_API.c: Fix #31720 Invalid object callbacks not caught in array_walk() (patch from Antony Dovgal) 2005-02-02 Dmitry Stogov * (PHP_5_0) NEWS: Fixed bug #31747 (SOAP Digest Authentication doesn't work with "HTTP/1.1 100 Continue" response) 2005-02-02 Stanislav Malyshev * ZendEngine2/tests/bug31720.phpt: test for Bug #31720 * ZendEngine2/tests/bug31720.phpt ZendEngine2/tests/bug31720.phpt: file bug31720.phpt was initially added on branch PHP_5_0. * (PHP_5_0) ZendEngine2/zend_execute_API.c: Fix #31720 Invalid object callbacks not caught in array_walk() (patch from Antony Dovgal) * (PHP_5_0) ext/standard/array.c: fix leak if function call fails 2005-02-02 Dmitry Stogov * (PHP_5_0) NEWS: Fixed bug #31755 (Cannot create SOAP header in no namespace) * ZendEngine2/tests/bug31683.phpt ZendEngine2/tests/bug31683.phpt: file bug31683.phpt was initially added on branch PHP_5_0. * (PHP_5_0) NEWS ZendEngine2/zend.h ZendEngine2/zend.h ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug31683.phpt: Fixed bugs #29767 and #31683 (__get and __set methods must not modify property name). 2005-02-01 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/exif/exif.c ext/exif/exif.c: MFH: Fixed bug #31797 (exif_read_data() uses too low nesting limit). * ext/exif/exif.c: Fixed bug #31797 (exif_read_data() uses too low nesting limit). 2005-02-01 Stanislav Malyshev * ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_builtin_functions.c: Fix debug_trace with eval (patch from Antony Dovgal) * ZendEngine2/tests/bug_debug_backtrace.phpt: test for eval debug_backtrace bug * ZendEngine2/tests/bug_debug_backtrace.phpt ZendEngine2/tests/bug_debug_backtrace.phpt: file bug_debug_backtrace.phpt was initially added on branch PHP_5_0. * (PHP_4_3) Zend/zend_execute.c: Better fix for #28086 2005-02-01 Anantha Kesari H Y * TSRM/TSRM.h: NetWare has a compliant pthread implementation * (PHP_5_0) TSRM/TSRM.h: NetWare is now having compliant pthreads implementation 2005-02-01 Ilia Alshanetsky * (PHP_4_3) main/rfc1867.c main/rfc1867.c: MFH: Final version of filename upload handling. * main/rfc1867.c: Final version of filename upload handling. 2005-01-31 Marcus Boerger * ZendEngine2/zend_reflection_api.c: - Add ReclectionClass:hasProperty(), ReflectionClass::hasConstant() to complete api (johannes@php.net) 2005-01-30 Ilia Alshanetsky * (PHP_4_3) ext/standard/var_unserializer.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/var_unserializer.re: MFH: Fix handling of INF/NAN in unserialize(). * ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Fix handling of INF/NAN in unserialize(). 2005-01-28 Marcus Boerger * ZendEngine2/zend_execute_API.c: - Fix severity (found by johannes) 2005-01-28 Georg Richter * (PHP_5_0) NEWS ext/mysqli/mysqli_api.c ext/mysqli/mysqli_prop.c: MFH: Fix for mysql_affected_rows and mysql_stmt_affected_rows * ext/mysqli/mysqli_api.c ext/mysqli/mysqli_prop.c: fixed a bug in mysql_affected_rows and mysql_stmt_affected_rows in case affected_rows function returns (my_ulonglong) -1 for errors. (Thanks to Antony Dovgal for reporting this bug) 2005-01-28 Antony Dovgal * ext/standard/ftok.c ext/standard/ftok.c ext/standard/ftok.c: improve CS & error messages * ext/standard/ftok.c ext/standard/ftok.c: MFB: explain why ftok() failed * (PHP_5_0) ext/standard/ftok.c: add warning explaining why ftok() failed * (PHP_5_0) NEWS: BFN (#31732) * ext/mbstring/mbstring.c: MFB: fix #31732 * (PHP_5_0) ext/mbstring/mbstring.c: fix #31732 (mb_get_info causes segfault) * (PHP_4_3) ext/posix/posix.c ext/posix/posix.c: MFH: change return type from NULL to FALSE when parameter parsing failed * ext/posix/posix.c: change return type from NULL to FALSE when parameter parsing failed (as was requested by Ilia) * ext/posix/posix.c: MFB: fix posix_getsid() & posix_getpgid() * (PHP_5_0) NEWS ext/posix/posix.c: fix posix_getsid() & posix_getpgid() /* looks like copy&paste error first introduced in PHP 3.0.10 (!) */ 2005-01-27 Frank M. Kromann * (PHP_4_3) ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.c: MFH: Hack to fix crash caused by FBCAccess not returning errors when creating an index that exists in the database. * ext/fbsql/php_fbsql.c: Hack to fix crash caused by FBCAccess not returning errors when creating an index that exists in the database. 2005-01-27 Ilia Alshanetsky * (PHP_4_3) NEWS ext/standard/url.c ext/standard/tests/strings/url_t.phpt: MFH: Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar) * (PHP_5_0) NEWS ext/standard/url.c ext/standard/tests/strings/url_t.phpt: MFH: Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar). * ext/standard/url.c ext/standard/tests/strings/url_t.phpt: Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar) 2005-01-27 Antony Dovgal * ext/mysqli/mysqli.c: MFB: fix leak in mysqli_fetch_array() * (PHP_5_0) ext/mysqli/mysqli.c: fix leak in mysqli_fetch_array() when using invalid resulttype 2005-01-27 Georg Richter * ext/mysqli/mysqli_api.c: fix for bug #31710 (return value for mysql_rollback is reverted) fixed also same behaviour for mysql_commit and mysql_autocommit 2005-01-27 Antony Dovgal * (PHP_5_0) NEWS: BFN * ext/mysqli/mysqli_api.c: MFB: fix segfault when invalid field offset is passed to mysqli_fetch_field_direct() * (PHP_5_0) ext/mysqli/mysqli_api.c: fix segfault when invalid field offset is passed to mysqli_fetch_field_direct() 2005-01-26 Derick Rethans * (PHP_4_3) sapi/apache/config.m4 sapi/apache/config.m4: - MFH: There is no --with-apache2, only apxs2 * sapi/apache/config.m4: - There is no --with-apache2, only apxs2 2005-01-26 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/standard/var_unserializer.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/var_unserializer.re: MFH: Fixed bug #31699 (unserialize() float problem on non-English locales). * ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Fixed bug #31699 (unserialize() float problem on non-English locales). * (PHP_4_3) NEWS ext/standard/formatted_print.c: MFH: Fixed bug #29733 (printf() handles repeated placeholders wrong). * (PHP_5_0) NEWS ext/standard/formatted_print.c: Fixed bug #29733 (printf() handles repeated placeholders wrong). (bugs dot php dot net at bluetwanger dot de, Ilia) * ext/standard/formatted_print.c: Fixed bug #29733 (printf() handles repeated placeholders wrong). 2005-01-25 Andrei Zmievski * ext/standard/browscap.c: Don't depend on empty_string. 2005-01-25 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/standard/pack.c: MFH: Fixed bug #31465 (False warning in unpack() when working with *). * ext/standard/pack.c: Fixed bug #31465 (False warning in unpack() when working with *). 2005-01-25 Andrei Zmievski * (PHP_5_0) NEWS ext/standard/browscap.c ext/standard/browscap.c sapi/embed/php_embed.c sapi/embed/php_embed.c: MFB (Fix several egregious leaks in ext/browscap and sapi/embed). * (PHP_4_3) NEWS ext/standard/browscap.c sapi/embed/php_embed.c: Fix several egregious leaks in ext/browscap and sapi/embed. 2005-01-25 Marcus Boerger * ext/sqlite/sqlite.c: - Proto fix 2005-01-25 Antony Dovgal * ext/imap/php_imap.c: check body for NULL before using and prevent segfaults 2005-01-25 Jani Taskinen * (PHP_4_3) NEWS NEWS ext/dio/dio.c ext/dio/dio.c: MFH: - Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings) * ext/dio/dio.c: - Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings) * ZendEngine2/zend.h: New versions of glibc support a RTLD_DEEPBIND flag to dlopen. The effect of this flag when loading a "foo.so" with undefined symbols is that the search that symbol starts at foo.so and its dependencies *before* the loading process' global symbol table. This is an effective workaround for symbol namespace collisions between various modules and the libraries on which they depend (where fixing the respective modules or libraries is not possible e.g. due to API constraints). (By: Joe Orton) * (PHP_4_3) acinclude.m4 acinclude.m4: MFH: - Fix macosx shared extension build * acinclude.m4: - Fix macosx shared extension build * (PHP_4_3) NEWS NEWS scripts/phpize.in scripts/phpize.in: MFH: - Return of the automake requirement * scripts/phpize.in: - Return of the automake requirement. * (PHP_5_0) NEWS: order + typos 2005-01-25 Dmitry Stogov * (PHP_5_0) NEWS: Fixed bug #28041 (SOAP HTTP Digest Access Authentication was implemented) 2005-01-25 Marcus Boerger * (PHP_5_0) NEWS: - BFN * (PHP_5_0) ZendEngine2/zend_execute.c ZendEngine2/zend_interfaces.c ZendEngine2/tests/bug26229.phpt: - MFH #26229 (getIterator() segfaults when it returns arrays or scalars) * ZendEngine2/zend_interfaces.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug26229.phpt: - Bugfix #26229 (getIterator() segfaults when it returns arrays or scalars) * ZendEngine2/Makefile.frag: - Fix dependency * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - Use correct freeing (thx Dmitry) 2005-01-25 Jani Taskinen * NEWS NEWS NEWS: massage 2005-01-24 Ilia Alshanetsky * (PHP_4_3) main/rfc1867.c main/rfc1867.c: MFH: Use multibyte specific code for handling files and generic basename based code in all other instances. * main/rfc1867.c: Use multibyte specific code for handling files and generic basename based code in all other instances. * (PHP_5_0) ext/sysvmsg/sysvmsg.c: Fixed compiler warning. 2005-01-24 Marcus Boerger * (PHP_5_0) NEWS NEWS: - BFN * (PHP_5_0) NEWS: - MFH fix for bug #31348 CachingIterator::rewind() leaks * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug30725.phpt: - Second and last part of #30725 fix * ZendEngine2/zend_interfaces.c: - Allow getIterator() to fail * ZendEngine2/tests/bug30725.phpt: - Add new test * NEWS: - mysqli/sqlite changes * ext/sqlite/sqlite.c: - Synch with MYSQLi extension and use RuntimeException as base for SQLiteException if SPL is present. 2005-01-24 Moriyoshi Koizumi * main/rfc1867.c: - Revert irrelevant part. 2005-01-24 Antony Dovgal * ext/sysvmsg/tests/002.phpt: 1.1.4; add test * ext/sysvmsg/sysvmsg.c: fix msg_recieve() returning TRUE instead of FALSE when unserialize failed (patch by Andrey Hristov) 2005-01-24 Joe Orton * (PHP_4_3) sapi/apache2handler/php_functions.c sapi/apache2handler/php_functions.c: MFH: Fixed regression #31645 - only flush before running the subrequest. * sapi/apache2handler/php_functions.c: Fixed regression #31645 - only flush before running the subrequest. 2005-01-23 Ilia Alshanetsky * (PHP_4_3) ext/sysvshm/sysvshm.c: Fixed compiler warning. 2005-01-23 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c ext/mnogosearch/php_mnogo.c: - A bug in mnogosearch module in ispell loading code was fixed 2005-01-22 Jani Taskinen * (PHP_4_3) Zend/zend.c sapi/cli/php_cli.c: MFH: - Memory leak fixes from ZE2 + HEAD CLI * (PHP_4_3) Zend/Zend.m4 Zend/configure.in Zend/zend_strtod.c ZendEngine2/Zend.m4 ZendEngine2/configure.in ZendEngine2/zend_strtod.c: - Compile fix for systems without uint32_t typedef * (PHP_4_3) scripts/phpize.in: MFH: - Remove also autom4te.cache dir with phpize --clean * scripts/phpize.in scripts/phpize.in: - Remove also autom4te.cache dir with phpize --clean * (PHP_5_0) ZendEngine2/Zend.m4 ZendEngine2/configure.in ZendEngine2/zend_strtod.c: MFH: Compile fix for systems without uint32_t typedef 2005-01-22 Marcus Boerger * (PHP_5_0) NEWS: - BFN * ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_reflection_api.c: - Fix #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.) 2005-01-22 Andi Gutmans * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h: - Two new API calls for Derick (retreive CV name and value) by Dmitry 2005-01-22 Jani Taskinen * (PHP_4_3) acinclude.m4 ext/dba/config.m4 ext/mcrypt/config.m4: MFH: - Typofix + removed unnecessary unsets caused by it * acinclude.m4 acinclude.m4 ext/dba/config.m4 ext/dba/config.m4 ext/mcrypt/config.m4 ext/mcrypt/config.m4: - Typofix + removed unnecessary unsets caused by it * (PHP_4_3) NEWS NEWS: massage news 2005-01-22 Andrei Zmievski * ext/exif/exif.c: MFB (bugfix for 24851) 2005-01-21 Andrei Zmievski * (PHP_5_0) NEWS ext/exif/exif.c: MFB (bugfix for 28451) * (PHP_4_3) NEWS: -** empty log message *** * (PHP_4_3) ext/exif/exif.c: Protect against corrupt EXIF headers that feature unlimited IFD tag nesting. 2005-01-21 Stefan Esser * ext/session/session.c: Correctly initialize ZVAL 2005-01-21 Antony Dovgal * ext/imap/php_imap.c: destruct return_value 2005-01-21 Ilia Alshanetsky * (PHP_4_3) NEWS Zend/zend_execute.c: Fixed bug #28086 (crash inside overload() function). 2005-01-20 Edin Kadribasic * (PHP_5_0) ext/ldap/config.w32: MFOB: Fixed bug #29492 - missing ldap_parse_reference() * (PHP_4_3) ext/ldap/ldap.dsp: Fixed bug #29492 - missing ldap_parse_reference() 2005-01-20 Antony Dovgal * (PHP_4_3) ext/imap/php_imap.c ext/imap/php_imap.c: fix error message =/ * (PHP_4_3) NEWS NEWS ext/oci8/oci8.c ext/oci8/oci8.c: MFH: fix bug #31623 (OCILogin does not support password grace period) * ext/oci8/oci8.c: fix bug #31623 (OCILogin does not support password grace period) * ext/imap/php_imap.c: fix error message * ext/imap/php_imap.c: fix segfault in imap_sort() - it segfaults when options is less than 0. it looks like c-client bug, but we still need a workaround. also, convert_to_string search criteria. 2005-01-20 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/standard/string.c main/rfc1867.c main/rfc1867.c: MFH: Fixed bug #31398 (When magic_guotes_gpc are enabled filenames with ' get cutoff). * main/rfc1867.c: Fixed bug #31398 (When magic_guotes_gpc are enabled filenames with ' get cutoff). 2005-01-20 Dmitry Stogov * (PHP_5_0) NEWS: Fixed bug #30901 (can't send cookies with soap envelop). void SoapClient::__setCookie(string name [, string value]) 2005-01-20 Antony Dovgal * (PHP_4_3) ext/imap/php_imap.c ext/imap/php_imap.c: MFH: fix segfault in imap_headerinfo() when fromlength or subjectlength are less than 0 + fix protos * ext/imap/php_imap.c: fix segfault in imap_headerinfo() when fromlength or subjectlength are less than 0 + fix protos 2005-01-20 Dmitry Stogov * (PHP_5_0) NEWS: Fixed bug #31422 (No Error-Logging on SoapServer-Side). 2005-01-20 Rob Richards * (PHP_5_0) ext/dom/php_dom.c: MFH: Fixed bug #28817 (Var problem when extending domDocument) * ext/dom/php_dom.c: Fixed bug #28817 (Var problem when extending domDocument). 2005-01-20 Antony Dovgal * (PHP_4_3) ext/sysvsem/sysvsem.c ext/sysvsem/sysvsem.c: MFH: fix typos in error messages & resource name * ext/sysvshm/sysvshm.c: fix typos in error messages * ext/sysvsem/sysvsem.c: fix typos in error messages & resource name 2005-01-20 Jani Taskinen * ZendEngine2/zend.h ZendEngine2/zend_constants.c ext/ncurses/ncurses_functions.c sapi/cli/php_cli.c: - Revert the weird change of ZEND_STRS() macro and use the correct ZEND_STRL() macro. * (PHP_4_3) NEWS build/build2.mk build/buildcheck.sh build/libtool.m4 scripts/Makefile.frag scripts/phpize.in: MFH: - Changed phpize not to require automake and libtool. (Jani) MFH: - Fixed build system to always use bundled libtool files. (Jani) MFH: - Rewrote of phpize routines * (PHP_5_0) NEWS build/build2.mk build/buildcheck.sh build/libtool.m4 scripts/Makefile.frag scripts/phpize.in: MFH: - Changed phpize not to require automake and libtool. (Jani) MFH: - Fixed build system to always use bundled libtool files. (Jani) * build/build2.mk build/buildcheck.sh scripts/Makefile.frag scripts/phpize.in: - Changed phpize not to require automake and libtool. - Fixed build system to always use bundled libtool files. * scripts/phpize.m4: - Add --with-libdir to phpized builds too * configure.in: - Removed obsolete AC_PROG_RANLIB (AC_PROG_LIBTOOL does it) - configure --help output cleanup for --with-libdir 2005-01-19 Jani Taskinen * buildconf build/build2.mk: Added --debug option to buildconf * build/build2.mk build/build2.mk build/build2.mk build/buildcheck.sh build/buildcheck.sh build/buildcheck.sh: Revert the multiple autoconf versions patch 2005-01-19 Ilia Alshanetsky * win32/sendmail.c: Stricter cc header check. 2005-01-19 Derick Rethans * build/libtool.m4: - Add the patched libtool.m4 from snaps so that Jani can play with it. 2005-01-19 Jani Taskinen * (PHP_4_3) NEWS NEWS NEWS: BFN * (PHP_4_3) win32/sendmail.c win32/sendmail.c: MFH: - Fixed bug #28976 (use From: from headers if sendmail_from is empty) * win32/sendmail.c: - Fixed bug #28976 (use From: from headers if sendmail_from is empty) * acinclude.m4 configure.in: - Fix the pic patch * ZendEngine2/zend_object_handlers.c: - Fixed bug #29183 (Undefined symbol zend_check_private with Solaris CC) * (PHP_5_0) run-tests.php: MFH: - Fixed bug #29136 (make test - libtool failure on MacOSX) * run-tests.php: - Fixed bug #29136 (make test - libtool failure on MacOSX) 2005-01-19 Marcus Boerger * ZendEngine2/zend_ini_parser.y: - Fix memleak 2005-01-19 Jani Taskinen * (PHP_4_3) ext/ldap/ldap.c: MFH: - WS & CS fixes MFH: - php_error -> php_error_docref MFH: - Removed pointless checks (array_init, emalloc, etc.) MFH: - Force ldapv3 for ldap_start_tls() * ext/ldap/ldap.c: - ldap_start_tls() requires ldapv3 protocol -> force it 2005-01-18 Ilia Alshanetsky * (PHP_4_3) ext/imap/php_imap.c ext/imap/php_imap.c: MFH: Fixed bug #31142 (crash, memory leak and data loss by imap_mail_compose). * ext/imap/php_imap.c: Fixed bug #31142 (crash, memory leak and data loss by imap_mail_compose). 2005-01-18 Frank M. Kromann * ext/mssql/php_mssql.h: Set the MSSQL_VERSION to FreeTDS when that lib is used * ext/mssql/config.w32: Rename php_freetds.dll to php_dblib.dll (still using the freetds libs). Allow the build of both versions in the same process 2005-01-18 Antony Dovgal * (PHP_4_3) ext/odbc/config.m4 ext/odbc/config.m4: MFH: add checks for libs & headers required by IBM DB2 * ext/odbc/config.m4: add checks for libs & headers required by IBM DB2 2005-01-18 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS ext/imap/php_imap.c ext/imap/php_imap.c: MFH: Fixed bug #31480 (Possible infinite loop in imap_mail_compose()). * ext/imap/php_imap.c: Fixed bug #31480 (Possible infinite loop in imap_mail_compose()). * (PHP_4_3) NEWS NEWS ext/standard/string.c ext/standard/string.c: MFH: Fixed bug #31479 (Fixed crash in chunk_split(), when chunklen > strlen). * ext/standard/string.c: Fixed bug #31479 (Fixed crash in chunk_split(), when chunklen > strlen). 2005-01-18 Jani Taskinen * (PHP_4_3) ext/session/mod_files.c ext/session/mod_files.c: MFH: - Use FD_CLOEXEC with fcntl() and make sure it is always defined * ext/session/mod_files.c: - Make sure FD_CLOEXEC is always defined. 2005-01-18 Antony Dovgal * (PHP_4_3) NEWS NEWS ext/odbc/php_odbc.c ext/odbc/php_odbc.c: MFH: fix bug #30430 (odbc_next_result() doesn't bind values and that results in segfault) fix protos * ext/odbc/php_odbc.c: fix bug #30430 (odbc_next_result() doesn't bind values and that results in segfault) fix protos 2005-01-18 Dmitry Stogov * ZendEngine2/zend_compile.c: Fixed patch for bug #31478 (SegFault/Memory Leak with empty()) 2005-01-18 Jani Taskinen * tests/lang/bug30726.phpt: - Sanitize output * ext/standard/tests/serialize/bug31402.phpt: 1.1.4; Add test for bug #31402 2005-01-18 Dmitry Stogov * (PHP_5_0) NEWS: changed title of the bugreport 2005-01-18 Jani Taskinen * (PHP_4_3) ext/standard/url_scanner_ex.c ext/standard/var_unserializer.c: - Files generated with re2c 0.9.2 * (PHP_4_3) ext/standard/basic_functions.c ext/standard/url_scanner_ex.re: MFH: - Move hash table destruction to proper location * (PHP_5_0) ext/standard/var_unserializer.c: Touch generated file. * ext/standard/var_unserializer.c: Touch the generated file. 2005-01-18 Dmitry Stogov * ext/standard/basic_functions.c ext/standard/tests/general_functions/bug31190.phpt: Fixed bug #31190 (exceptions in call_user_func_array()) * ext/standard/tests/general_functions/bug31190.phpt ext/standard/tests/general_functions/bug31190.phpt: file bug31190.phpt was initially added on branch PHP_5_0. * (PHP_5_0) NEWS ext/standard/basic_functions.c: Fixed bug #31190 (iexceptions in call_user_func_array()) 2005-01-18 Magnus Määttä * (PHP_4_3) tests/lang/bug30726.phpt tests/lang/bug30726.phpt: Add test case for bug #30726. * tests/lang/bug30726.phpt: 1.1.4; Add test case for bug #30726. 2005-01-18 Dmitry Stogov * ZendEngine2/zend_execute.c: Fixed bug #28444 (Cannot access undefined property for object with overloaded property access). * (PHP_5_0) NEWS ZendEngine2/zend_execute.c: Fixed bug #28444 (Cannot access undefined property for object with overloaded property access). (Dmitry) 2005-01-18 Frank M. Kromann * ext/mssql/config.w32: use the static dblib.lib to avoid the need for extra dll's * ext/mssql/config.w32: add --with-freetds option to win32 build. TODO make it work when both mssql and freetds is included or bail out with an error * ext/mssql/php_mssql.c ext/mssql/php_mssql.h: make the mssql extension work with freetds on win32 2005-01-18 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS Zend/zend_operators.h ZendEngine2/zend_operators.h: MFH: Fixed bug #30726 (-.1 like numbers are not being handled correctly). * ZendEngine2/zend_operators.h: Fixed bug #30726 (-.1 like numbers are not being handled correctly). * (PHP_4_3) NEWS ext/standard/file.c: Fixed bug #31580 (fgetcsv() problematic with "" escape sequences). 2005-01-17 Antony Dovgal * ext/odbc/php_odbc.c: fix weird DB2 issue: DB2's SQLDataSources() returns _max available_ length of result string instead of _real_ length and that results in strings a-la "\0 " 2005-01-17 Jani Taskinen * (PHP_4_3) NEWS Zend/zend_language_scanner.l: MFZE2: - Fixed bug #31444 (Memory leak in zend_language_scanner.c) * (PHP_5_0) NEWS ZendEngine2/zend_language_scanner.l: MFH: - Fixed bug #31444 (Memory leak in zend_language_scanner.c) * ZendEngine2/zend_language_scanner.l: - Fixed bug #31444 (Memory leak in zend_language_scanner.c) * (PHP_4_3) ext/gd/gd.c ext/gd/gd.c: MFH: - Added some sanity checks by changing to the parameter parsing API * ext/gd/gd.c: - Added some sanity checks by changing to the parameter parsing API 2005-01-17 Christian Stocker * (PHP_5_0) ext/xsl/php_xsl.c ext/xsl/php_xsl.h: revert these 2 files... shouldn't have been comitted .. * ext/xsl/xsltprocessor.c: fix protos (by Mehdi Achour ) 2005-01-17 Antony Dovgal * ext/odbc/php_odbc.c: fix leak appearing when odbc_errormsg() got invalid resource 2005-01-17 Joe Orton * (PHP_4_3) sapi/apache2handler/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: MFH - Fixed bug #31519: Set r->status_line to SAPI-provided status-line. * sapi/apache2handler/sapi_apache2.c: Fixed bug #31519: Set r->status_line to SAPI-provided status-line. 2005-01-17 Stefan Esser * ext/standard/var_unserializer.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/var_unserializer.re: Fix compiler warning. 2005-01-16 Stefan Esser * (PHP_5_0) ext/standard/var_unserializer.c ext/standard/var_unserializer.re: if 2 of 3 tests are okay still do the 3rd test ! 2005-01-16 Zak Greant * ext/mysqli/mysqli_driver.c ext/mysqli/mysqli_embedded.c ext/mysqli/mysqli_exception.c ext/mysqli/mysqli_report.h ext/mysqli/mysqli_warning.c ext/mysqli/php_mysqli.h: Added standard emacs and vim modelines 2005-01-16 Moriyoshi Koizumi * (PHP_4_3) ext/mbstring/mbstring.c: - MFH: Fix a critical bug that request-local settings leak to another request. * (PHP_5_0) ext/mbstring/mb_gpc.c ext/mbstring/mb_gpc.h ext/mbstring/mbstring.c: -MFH: Fix a critical bug that request-local settings leak to another request. * ext/mbstring/mb_gpc.c ext/mbstring/mb_gpc.h ext/mbstring/mbstring.c: - Fix a critical bug that request-local settings leak to another request. 2005-01-16 Stanislav Malyshev * (PHP_4_3) Zend/zend_execute.c: another fix for overloaded objects 2005-01-15 Andi Gutmans * (PHP_5_0) ZendEngine2/zend_API.c: - Fix WS 2005-01-15 Stefan Esser * ext/standard/var_unserializer.c ext/standard/var_unserializer.re: and use it... * TSRM/tsrm_virtual_cwd.c: finally use what we calculated * ext/standard/php_var.h ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Restore unserialize() speed 2005-01-15 Jani Taskinen * ext/standard/streamsfuncs.c: CS fix * ext/gd/gd.c: ws fix 2005-01-15 Andi Gutmans * (PHP_5_0) ZendEngine2/zend_API.c: - Change to using DL_UNLOAD macro. * ZendEngine2/zend_API.c: - Unload on MAC OS X (shouldn't be a reason not to) 2005-01-14 Jani Taskinen * (PHP_4_3) NEWS NEWS ext/gd/gd.c ext/gd/gd.c: MFH: - Fixed bug #31060 (imageftbbox() does not use linespacing parameter) * ext/gd/gd.c: - Fixed bug #31060 (imageftbbox() does not use linespacing parameter) * (PHP_4_3) NEWS NEWS ext/gd/gd.c ext/gd/gd.c: MFH: - Fixed bug #30120 (imagettftext() and imagettfbbox() accept too many parameters) * ext/gd/gd.c: - Fixed bug #30120 (imagettftext() and imagettfbbox() accept too many parameters) * (PHP_5_0) main/php.h sapi/apache_hooks/php_apache.c: MFH: - Fix another generated header include * main/php.h sapi/apache_hooks/php_apache.c: - Fix another generated header include 2005-01-14 Dmitry Stogov * ext/standard/streamsfuncs.c: Fixed SIGSEGV in ext/standard/tests/network/tcp4loop.phpt and ext/standard/tests/network/unixloop.phpt * ZendEngine2/zend_execute.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_opcodes.h ZendEngine2/tests/bug31098.phpt: Restore behavior of $str["str"]. (Now $str["str"] is equivalent to $str[0] again) * (PHP_5_0) ZendEngine2/tests/bug31098.phpt: Path -> pattern * (PHP_5_0) ext/standard/streamsfuncs.c: Fixed SIGSEGV with ext/standard/tests/network/tcp4loop.phpt and ext/standard/tests/network/unixloop.phpt * (PHP_5_0) ZendEngine2/zend_execute.c ZendEngine2/tests/bug31098.phpt: Revert to old behavior of $str["str"]. ($str["str"] is equivalent of $str[0]) 2005-01-14 Jani Taskinen * (PHP_4_3) NEWS: BFN 2005-01-13 Ard Biesheuvel * (PHP_4_3) ext/interbase/interbase.c: Fixed unregistered bug: corrupted 32-bit LONGs on 64-bit systems 2005-01-13 Wez Furlong * (PHP_5_0) acinclude.m4: MFH the extension dep macro (which is a NOP) so that pecl extensions with deps can build against head and 5.0.x 2005-01-13 Dmitry Stogov * ZendEngine2/zend_execute.c ZendEngine2/zend_execute.c: Additional fix for fix of bug #29883 2005-01-13 Wez Furlong * ext/odbc/config.m4 ext/odbc/php_odbc.c ext/odbc/php_odbc_includes.h: Add support for ODBCRouter 2005-01-12 Dmitry Stogov * ZendEngine2/zend_execute.c ZendEngine2/zend_execute.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_opcodes.h ZendEngine2/tests/bug31098.phpt ZendEngine2/tests/bug31098.phpt: Fixed bug #31098 (isset false positive) 2005-01-11 Rasmus Lerdorf * (PHP_4_3) NEWS: Should probably note this 2005-01-11 Moriyoshi Koizumi * (PHP_5_0) NEWS: - I tend to write opposite things these days :P * (PHP_5_0) ZendEngine2/zend_execute.c ZendEngine2/tests/bug31098.phpt: - MFH: fix for bug #31098. * ZendEngine2/tests/bug31098.phpt ZendEngine2/tests/bug31436.phpt: - Test renaming * ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug31436.phpt: - Fix bug #31436 (isset() incorrectly returns true in dereference of a wrong type) * NEWS NEWS: - BFN * ext/standard/html.c: - Fix the fix :) * (PHP_4_3) ext/standard/html.c: - MFH: fix htmlentities() / html_decode_entity() UTF-8 related bugs initially reported by Kamesh Jayachandrana * (PHP_5_0) ext/standard/html.c ext/standard/tests/strings/htmlentities17.phpt: - MFH: fix htmlentities() / html_decode_entity() UTF-8 related bugs initially reported by Kamesh Jayachandran * ext/standard/html.c ext/standard/tests/strings/htmlentities17.phpt: - Fix htmlentities() / html_decode_entity() UTF-8 related bugs initially reported by Kamesh Jayachandran * ZendEngine2/zend_compile.c: - Fix bug #31478 (segfault with empty()) 2005-01-11 Joe Orton * (PHP_4_3) NEWS NEWS sapi/apache2handler/php_functions.c sapi/apache2handler/php_functions.c: MFH: Fixed bug #30446 - virtual() includes files out of sequence, work around 2.0 subrequest/internal redirect issue. * sapi/apache2handler/php_functions.c: Fixed bug #30446 - virtual() includes files out of sequence, work around 2.0 subrequest/internal redirect issue. 2005-01-11 Jani Taskinen * sapi/cgi/cgi_main.c: Fix ZTS build 2005-01-11 Rob Richards * (PHP_5_0) ext/dom/php_dom.c: MFH: revert fix for bug #28817 - fix is bad * ext/dom/php_dom.c: revert fix for bug #28817 - fix is bad 2005-01-11 Jani Taskinen * (PHP_4_3) ext/imap/config.m4 ext/imap/config.m4 ext/imap/php_imap.c ext/imap/php_imap.c: MFH: - Added check for IMAP 2004 versions * ext/imap/config.m4 ext/imap/php_imap.c: - Added check for IMAP 2005 version 2005-01-10 Rasmus Lerdorf * ZendEngine2/zend.h ZendEngine2/zend_API.c: Fix OSX DL_UNLOAD macro and actually use it to make shared extensions work on OSX. 2005-01-10 Antony Dovgal * ext/iconv/config.m4: fix Konstantin's last name Chugeuv -> Chuguev 2005-01-10 Rasmus Lerdorf * (PHP_4_3) Zend/zend.h Zend/zend_API.c: Fixed shared extensions on OSX. We were using zend_mh_bundle_load to load a shared extension, but dlclose() to unload it because it was hardcoded. This caused problems for extensions loaded from php.ini since the Apple linker does a symbol check on an unload and we hadn't properly unloaded the shared extensions when Apache unloaded the parent PHP shared library during its 2-pass load/unload/load startup routine. By fixing the DL_UNLOAD macro and un-hardcoding the dlclose() call this now works. 2005-01-10 Jani Taskinen * (PHP_4_3) ext/standard/tests/math/bug30069.phpt: MFH: update test to include negative floats as strings too * ext/standard/tests/math/bug30069.phpt: update test to include negative floats as strings too * (PHP_4_3) NEWS sapi/cgi/cgi_main.c: MFH: - Fixed bug #28074 (FastCGI: stderr should be written in a FCGI stderr stream). * (PHP_5_0) NEWS sapi/cgi/cgi_main.c: - Fixed bug #28074 (FastCGI: stderr should be written in a FCGI stderr stream). (chris at ex-parrot dot com) * sapi/cgi/cgi_main.c: - Fixed bug #28074 (FastCGI: stderr should be written in a FCGI stderr stream). * ext/standard/php_parsedate.h ext/standard/php_smart_str.h ext/standard/php_smart_str_public.h ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re: Missing $Id$ tag * ext/standard/credits_ext.h ext/standard/credits_sapi.h: - Update credits * ChangeLog ChangeLog.2004.gz: - Compressed 2004 Changelog * ZendEngine2/header ZendEngine2/zend_arg_defs.c ZendEngine2/zend_strtod.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_gen.php ZendEngine2/zend_vm_opcodes.h: - Added missing header sections. 2005-01-10 Marcus Boerger * ext/sqlite/sqlite.c: - Fix proto * ext/sqlite/sqlite.c: - Bugfix #31342: SQLite OO interface with Exceptions (hugo dot pl at gmail dot com) * ext/sqlite/php_sqlite.h ext/sqlite/sqlite.c: - Implement iterator interface in sqlite 2005-01-10 Jani Taskinen * ZendEngine2/acinclude.m4 ZendEngine2/configure.in: - Added AC_ZEND_C_BIGENDIAN macro (as requested by Andi) * configure.in configure.in configure.in: - The pic/no-pic patch by Joe Orton. 2005-01-09 Jani Taskinen * (PHP_4_3) configure.in: Forgot this from the outside-source-dir patch * (PHP_4_3) Zend/zend.h: This was not supposed to be committed.. * (PHP_5_0) configure.in TSRM/TSRM.h TSRM/TSRM.h TSRM/tsrm_config_common.h TSRM/tsrm_config_common.h Zend/zend.h ZendEngine2/zend.h ext/bcmath/libbcmath/src/config.h ext/bcmath/libbcmath/src/config.h ext/gd/gdcache.c ext/gd/gdcache.c ext/gd/gdttf.c ext/gd/gdttf.c ext/mcve/mcve.c ext/mcve/mcve.c ext/odbc/birdstep.c ext/odbc/birdstep.c ext/pcre/pcrelib/internal.h ext/pcre/pcrelib/internal.h ext/sqlite/config.m4 ext/standard/html.c ext/standard/html.c main/alloca.c main/alloca.c main/php_compat.h main/php_compat.h main/php_scandir.c main/php_scandir.c main/php_scandir.h main/php_scandir.h main/php_sprintf.c main/php_syslog.h main/php_syslog.h sapi/cgi/libfcgi/include/fcgi_config.h sapi/cgi/libfcgi/include/fcgi_config.h: MFH: - Fix outside-source-tree builds. Always include generated header files with #include to make sure the correct file is used. * configure.in TSRM/TSRM.h TSRM/tsrm_config_common.h ZendEngine2/zend.h ext/bcmath/libbcmath/src/config.h ext/gd/gdcache.c ext/gd/gdttf.c ext/mcve/mcve.c ext/odbc/birdstep.c ext/pcre/pcrelib/internal.h ext/sqlite/config.m4 ext/standard/html.c main/alloca.c main/php_compat.h main/php_scandir.h main/php_sprintf.c main/php_syslog.h sapi/cgi/libfcgi/include/fcgi_config.h: - Fix outside-source-tree builds. Always include generated header files with #include to make sure the correct file is used. 2005-01-09 Antony Dovgal * (PHP_4_3) NEWS: BFN & end of cvs spam * (PHP_5_0) NEWS: BFN * ext/session/tests/bug31454.phpt ext/session/tests/bug31454.phpt ext/session/tests/bug31454.phpt: add skipif section * ext/session/tests/bug31454.phpt: 1.1.4; add test for bug #31454 * ext/session/session.c: efree(name) * ext/session/session.c: fix bug #31454 (session_set_save_handler crashes PHP when supplied non-existent object ref) 2005-01-09 Jani Taskinen * (PHP_4_3) Zend/zend_ini.c Zend/zend_ini.h: MFH: - Fix leak. (forgot from previous commit) * (PHP_4_3) ext/standard/basic_functions.c ext/standard/basic_functions.c main/main.c main/main.c main/php_main.h main/php_main.h: MFH: - Fix leaks with registered shutdown functions. * ext/standard/basic_functions.c main/main.c main/php_main.h: - Fix leaks with registered shutdown functions. * ZendEngine2/zend.c: MFB: - Rationalize code a bit * (PHP_4_3) Zend/zend.h: MFZE2: Some cleanups * TODO TODO: Remove done stuff 2005-01-08 Jani Taskinen * (PHP_4_3) ext/standard/basic_functions.c ext/standard/basic_functions.c: MFH: - Fix possible crash (PR#26223). Leaks remain. * ext/standard/basic_functions.c: - Fix possible crash (PR#26223). Leaks remain. 2005-01-08 Georg Richter * ext/mysqli/mysqli_embedded.c ext/mysqli/tests/connect.inc: fixed compile bug under Windows (libmysql.def currently doesn't export mysql_server_init/end). Thanks to Sebastian Bergmann for reporting 2005-01-08 Dmitry Stogov * TSRM/tsrm_virtual_cwd.c: Unnecesary check was removed 2005-01-08 Marcus Boerger * ext/standard/tests/serialize/bug31442.phpt: - Add new test * ext/standard/tests/serialize/bug30234.phpt: - Unify * ext/mysqli/mysqli_exception.c: - Fix shared build * ext/mysqli/mysqli.c: - Remove double destroy (which is definitively wrong and prevents php from normal execution). * ext/dom/document.c: - Fix dependency 2005-01-08 Jani Taskinen * NEWS: NN * ext/snmp/php_snmp.h ext/snmp/snmp.c: - Fix some memory leaks 2005-01-07 Antony Dovgal * ext/standard/head.c: remove duplicated include 2005-01-07 Magnus Määttä * ext/posix/posix.c: Argh.. Committed old patch. Add safe_mode check and fix error code. 2005-01-07 Antony Dovgal * acinclude.m4: fix PHP_CHECK_64BIT macro (finally got 64bit machine to test it) 2005-01-07 Georg Richter * ext/mysqli/mysqli.c: forgot to remove some comments in last commit:( 2005-01-07 Sebastian Bergmann * ext/mysqli/mysqli_exception.c: ZTS fix. * ext/mysqli/config.w32: Sync with config.m4. 2005-01-07 Magnus Määttä * NEWS ext/posix/php_posix.h ext/posix/posix.c: Added new function: posix_access() Feature requests: #29615, #14924 2005-01-07 Georg Richter * NEWS: new mysqli stuff * ext/mysqli/config.m4 ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_driver.c ext/mysqli/mysqli_embedded.c ext/mysqli/mysqli_exception.c ext/mysqli/mysqli_fe.c ext/mysqli/mysqli_nonapi.c ext/mysqli/mysqli_prop.c ext/mysqli/mysqli_report.c ext/mysqli/mysqli_warning.c ext/mysqli/php_mysqli.h ext/mysqli/tests/001.phpt ext/mysqli/tests/014.phpt ext/mysqli/tests/017.phpt ext/mysqli/tests/033.phpt ext/mysqli/tests/034.phpt ext/mysqli/tests/041.phpt ext/mysqli/tests/045.phpt ext/mysqli/tests/047.phpt ext/mysqli/tests/049.phpt ext/mysqli/tests/061.phpt ext/mysqli/tests/connect.inc ext/mysqli/tests/skipif.inc ext/mysqli/tests/skipifemb.inc: Added new classes: mysqli_driver mysqli_warning mysqli_exception mysqli_sql_exception Improved embedded server support changed testsuite to work also with embedded server Made statement and resultset classes extendable minor fixes 2005-01-07 Anantha Kesari H Y * (PHP_5_0) tests/classes/array_access_001.phpt tests/classes/array_access_002.phpt tests/classes/array_access_003.phpt tests/classes/array_access_004.phpt: removed skipif sections that check for the existence of ArrayAccess class which is nomore a class but a interface.As the corresponding files in PHP-5.1-HEAD had removed the SKIPIF blocks themselves, removing the same for PHP5_0 branch also. 2005-01-07 Jani Taskinen * (PHP_4_3) NEWS NEWS: BFN * (PHP_4_3) sapi/apache2filter/sapi_apache2.c sapi/apache2filter/sapi_apache2.c: MFH: - Fixed bug #31055 (apache2filter: per request leak proportional to the full path of the request URI) * sapi/apache2filter/sapi_apache2.c: - Fixed bug #31055 (apache2filter: per request leak proportional to the full path of the request URI) * (PHP_4_3) acinclude.m4 acinclude.m4 configure.in configure.in scripts/phpize.m4 scripts/phpize.m4: MFH: - Make sure $host_alias is never empty * acinclude.m4 configure.in scripts/phpize.m4: - Make sure $host_alias is never empty 2005-01-07 Wez Furlong * EXTENSIONS EXTENSIONS EXTENSIONS: update by steph 2005-01-06 Joe Orton * (PHP_4_3) NEWS NEWS ext/curl/curl.c ext/curl/interface.c: MFH: - Fixed bug #31413 (curl POSTFIELDS crashes on 64-bit platforms). 2005-01-06 Jani Taskinen * (PHP_5_0) ext/session/mod_files.c: Revert. This is always 1. 2005-01-05 Joe Orton * ext/curl/interface.c: Fix #31413: curl POSTFIELDS usage on 64-bit platforms. 2005-01-05 Anantha Kesari H Y * (PHP_5_0) ext/session/mod_files.c: passing FD_CLOEXEC would be a standard way to pass argument to fcntl's last argument than 1 * (PHP_5_0) ext/ldap/ldap.c: Removed redundant NEW_LIBC checks for NETWARE * (PHP_5_0) ext/ftp/php_ftp.c: Removed redundant NEW_LIBC checks for NetWare * (PHP_5_0) ext/ftp/ftp.c: Removed redundant NEW_LIBC checks 2005-01-04 Frank M. Kromann * ext/gmp/config.w32: Allow gmp to compile under Win32 2005-01-04 Wez Furlong * ext/standard/streamsfuncs.c: Fix #31408: memory leak in stream_socket_recvfrom 2005-01-04 Jani Taskinen * (PHP_4_3) main/network.c main/php_network.h: - Fix bug #31403 (php_hostconnect not defined as PHPAPI) * (PHP_4_3) NEWS NEWS: BFN * (PHP_4_3) ext/gd/config.m4 ext/gd/gd.c: MFH: - Fixed bug #31396 (compile fails with gd 2.0.33 without freetype) * ext/gd/config.m4 ext/gd/config.m4 ext/gd/gd.c ext/gd/gd.c: - Fixed bug #31396 (compile fails with gd 2.0.33 without freetype) 2005-01-04 Ilia Alshanetsky * (PHP_5_0) ext/openssl/xp_ssl.c: Fixed compiler warning resulting from an unused variable. 2005-01-03 Stanislav Malyshev * ext/sqlite/libsqlite/src/auth.c ext/sqlite/libsqlite/src/auth.c: merge patch from http://www.sqlite.org/cvstrac/chngview?cn=1953 bug led to PHP exiting on queries with unknown columns * (PHP_5_0) ZendEngine2/zend_language_scanner.l: MFH: Fix the following nasty bug: - if compile bails out from the middle of compiling, current_buffer is not restored - if current_buffer is not null, yy_switch_to_buffer will do: *yy_c_buf_p = yy_hold_char; on the next request - which would lead to memory corruption on next request * ZendEngine2/zend_language_scanner.l: Fix the following nasty bug: - if compile bails out from the middle of compiling, current_buffer is not restored - if current_buffer is not null, yy_switch_to_buffer will do: *yy_c_buf_p = yy_hold_char; on the next request - which would lead to memory corruption on next request * (PHP_4_3) Zend/zend_language_scanner.l: Fix the following nasty bug: - if compile bails out from the middle of compiling, current_buffer is not restored - if current_buffer is not null, yy_switch_to_buffer will do: *yy_c_buf_p = yy_hold_char; on the next request - which would lead to memory corruption on next request 2005-01-02 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS Zend/zend_highlight.c ZendEngine2/zend_highlight.c: MFH: Fixed bug #31371 (highlight_file() trims new line after heredoc). * ZendEngine2/zend_highlight.c: Fixed bug #31371 (highlight_file() trims new line after heredoc). 2005-01-02 Rob Richards * ext/dom/document.c: allow parser flags to be passed to xinclude() * (PHP_5_0) NEWS: BFN 2005-01-02 Moriyoshi Koizumi * (PHP_4_3) ext/standard/tests/array/bug29493.phpt ext/standard/tests/array/bug29493.phpt ext/standard/tests/array/bug31213.phpt ext/standard/tests/array/bug31213.phpt: - MFH: add testcases for bug #29493 and #31213. * ext/standard/tests/array/bug29493.phpt ext/standard/tests/array/bug31213.phpt: 1.1.4; - Add testcases for bug #29493 and #31213. 2005-01-01 Wez Furlong * (PHP_5_0) ext/openssl/config0.m4: Fix build here too * ext/openssl/config0.m4: Fix build...