2004-03-15 Jay Smith * (PHP_4_3) NEWS ext/standard/browscap.c: MFH: Fixed bug #27291 (get_browser matches browscap.ini patterns incorrectly). * NEWS ext/standard/browscap.c: Fixed bug #27291 (get_browser matches browscap.ini patterns incorrectly). 2004-03-15 Marcus Boerger * ext/pgsql/pgsql.c ext/pgsql/tests/22pg_fetch_object.phpt: Keep BC of pg_fetch_object * NEWS ext/pgsql/pgsql.c ext/pgsql/tests/80_bug27597.phpt: Bugfix #27597 pg_fetch_array not returning false . 2004-03-15 Frank M. Kromann * (PHP_4_3) ext/mssql/php_mssql.c: MFH: Fix for #27594. Comuted columns does not return a column source * ext/mssql/php_mssql.c: Fix for #27594. Comuted columns does not return a column source 2004-03-15 Rasmus Lerdorf * NEWS: Missing NEWS entries * (PHP_4_3) NEWS: Forgot to add NEWS entries for these 2004-03-15 Andi Gutmans * ZendEngine2/zend_operators.c: - Restore E_NOTICE for longs and doubles. 2004-03-15 Jon Parise * (PHP_4_3) NEWS ext/standard/info.c: MFH 1.243: Fixed crash in php_ini_scanned_files() when no additional INI files were actually parsed. 2004-03-15 Jani Taskinen * (PHP_4_3) NEWS: BFN * (PHP_4_3) Zend/zend.h: MFH: - Fixed bug #24582 (extensions can not be loaded dynamically in Solaris/iPlanet) * ZendEngine2/zend.h: - Fixed bug #24582 (extensions can not be loaded dynamically in Solaris/iPlanet) * ext/xml/tests/bug26614.phpt: - Fix test (wrong expected result..) 2004-03-15 Andi Gutmans * ZendEngine2/zend_operators.c: - Nuke E_NOTICE. This caused a notice when doing if ($obj == NULL) 2004-03-15 Zeev Suraski * (PHP_4_3) win32/php4dllts.dsp: Add misisng library path 2004-03-15 Adam Dickmeiss * ext/yaz/php_yaz.c: Use MAKE_STD_ZVAL instead of ALLOC_ZVAL 2004-03-15 Jon Parise * NEWS ext/standard/info.c: Fixed crash in php_ini_scanned_files() when no additional INI files were actually parsed. I'll merge this into the PHP_4_3 branch as soon as I receive permission from the release master. 2004-03-15 Sebastian Bergmann * (php_5_0_0RC1RC1) NEWS: Fugbix typo. 2004-03-14 Marcus Boerger * main/main.c main/output.c main/php_output.h: Guard display_startup_errors with checking for default (working) output functions. 2004-03-14 Jani Taskinen * NEWS: typo 2004-03-14 Marcus Boerger * NEWS: BFN * ext/standard/type.c: Fix strval to use __toString if necessary * ZendEngine2/zend_builtin_functions.c: Make object parameter optional 2004-03-14 Derick Rethans * php.ini-dist: - That change was unintentional, but it would be the right thing to do ;-) * php.ini-dist php.ini-recommended: - The extension list is ordered alphabetically, also moved the tidy section to a more suitable place (new things go at the end, not at the start). * NEWS: - Reorder 2004-03-14 Andi Gutmans * NEWS: - Typo * NEWS: - Add all of the fixes from the past week. Almost ready for RC1 now. 2004-03-14 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. * (PHP_4_3) Zend/zend.c: MFH: Fixed bug #27590 (crash during shutdown when freeing persistent resources in ZTS mode). * ZendEngine2/zend.c: Fixed bug #27590 (crash during shutdown when freeing persistent resources in ZTS mode). 2004-03-14 Andi Gutmans * ZendEngine2/zend_execute_API.c: - Fix windows build 2004-03-14 Jan Lehnardt * ext/sockets/sockets.c: - improve error message 2004-03-14 Andi Gutmans * ZendEngine2/zend_execute_API.c: - Fix for bug #27504 2004-03-14 Sascha Schumann * cvsclean build/build.mk: Renaming cvsclean target; IRIX make seems to ignore .PHONY * (PHP_4_3) cvsclean build/build.mk: Renaming cvsclean target -- IRIX make seems to ignore the .PHONY target. 2004-03-14 Andi Gutmans * ZendEngine2/zend_builtin_functions.c: - Fixing bug #27123 * ZendEngine2/zend_operators.c: - Improve compatibility mode and compare objects according to property - comparison (sucky but this is how PHP 4 behaved). * ZendEngine2/zend.c: - Fix flow of logic * ZendEngine2/zend_operators.c: - Support old style of converting objects to long/double/bool. - This is only enabled in compatibility mode, else it calls cast_object() - and if that is not available we return 1 (true) so that the following - code would work: if ($obj) { } 2004-03-14 Marcus Boerger * ext/simplexml/tests/020.phpt: Add new test * ZendEngine2/zend_operators.c: Fix: Add return type void 2004-03-14 Andi Gutmans * ZendEngine2/zend.c ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h ZendEngine2/zend_operators.c: - Support Cast operator in convert_to_* so that we support internal - extensions such as SimpleXML. This is for Sterling. * ZendEngine2/zend_operators.c: - Fix memory leak in the following code (Dmitry): * ZendEngine2/zend_operators.c: - Initial commit which allows comparing overloaded objects with native - types (only for internal classes and not for user-land classes). 2004-03-14 Melvyn Sopacua * ext/sockets/sockets.c: Fix a typo, dating back from 1.145. 2004-03-14 Jani Taskinen * (PHP_4_3) NEWS: reorder 2004-03-14 Pierre-Alain Joye * ext/gd/tests/bug27582_1.phpt: - add a 2nd test for #27582 2004-03-14 John Coggeshall * php.ini-dist php.ini-recommended: Adding extension=php_tidy.dll 2004-03-14 Pierre-Alain Joye * (PHP_4_3) ext/gd/libgd/gd.c: - missing restoreAlphaBleding declaration 2004-03-13 Pierre-Alain Joye * (PHP_4_3) NEWS: - entry for fix #27582 * ext/gd/tests/bug27582_1.phpt ext/gd/tests/bug27582_1.phpt ext/gd/tests/bug27582_2.phpt: file bug27582_1.phpt was initially added on branch PHP_4_3. * (PHP_4_3) ext/gd/libgd/gd.c: - MFH bug #27582 (imagefilltoborder crashes) * ext/gd/tests/bug27582_2.phpt: - add tests for the bug #27582 (imagefilltoborder crashes) * ext/gd/libgd/gd.c: - restore too the alphablending if we do not reach the end of the function Notice: This function still crashes (stack overflow), to reproduce it see bug27582_2.phpt 2004-03-13 Marcus Boerger * NEWS: Bugfix #27586 ArrayObject::getIterator crashes with [] assignment 2004-03-13 Greg Beaver * (PHP_4_3) pear/scripts/pear.bat: oops 2004-03-13 Pierre-Alain Joye * ext/gd/libgd/gd.c: - fix #27582 (http://bugs.php.net/bug.php?id=27582) The problem was that the colors were changed endlessly, blending over and over. An endless loop and recursive calls filled the stack=>segfault 2004-03-13 Greg Beaver * pear/scripts/pear.bat pear/scripts/pear.bat pear/scripts/pearcmd.php pear/scripts/pearcmd.php: fix #1008: safe mode raises warning fix register_argc_argv in pear.bat 2004-03-12 Sara Golemon * (PHP_4_3) NEWS: BFN * configure.in: MFB: Test getaddrinfo() for brokenness. Pretend it doesn't exist if it misbehaves. 2004-03-12 Sterling Hughes * ext/curl/interface.c: zval **, not a zval * * ext/curl/interface.c: avoid a memory leak when a php_curl handle is allocated, but the initialization of a CURL handle fails. * ext/curl/interface.c ext/curl/php_curl.h: add the curl_copy_handle() function which will exactly duplicate a cURL handle. Useful when you have multiple "similair" transforms as with a multi handle with only small variances (like the URL) 2004-03-12 Pierre-Alain Joye * pear/PEAR/Common.php: - revert previous commit: - Features freeze period - No agreement on this change - Even if an agreement exists, this change is not enough to allow the usage of this new tag 2004-03-12 Martin Jansen * pear/PEAR/Common.php: - Adding new state "emeritus", which can be used for former maintainers of packages. Submitted by: Daniel Convissor 2004-03-12 Ilia Alshanetsky * (PHP_4_3) ext/curl/curl.c: MFH: Add checks of return values from user callback functions. 2004-03-12 Rasmus Lerdorf * (PHP_4_3) ext/standard/basic_functions.c: MFH getopt() doesn't work if variables_order does not include "S" because it only looks in $_SERVER for argv. So, if we don't find argv in $_SERVER fall back to looking in the global symbol table where register_argc_argv would have put it. 2004-03-12 Ilia Alshanetsky * ext/curl/interface.c: Simplify check. * ext/curl/interface.c: Additional checks of return values from user callback functions. 2004-03-12 Rasmus Lerdorf * ext/standard/datetime.c ext/standard/datetime.c: Fix/workaround for http://bugs.php.net/27533 2004-03-12 Sterling Hughes * ext/curl/interface.c: leave length as -1, no need to strdup() 2004-03-12 John Coggeshall * ext/curl/interface.c: Opps. Shouldn't look at the value, just the type * ext/curl/interface.c: CURLOPT_INFILE === CURLOPT_READDATA * ext/curl/interface.c: Fixed a crash which happens if your READFUNCTION callback doesn't actually return a string as promised. 2004-03-12 Ilia Alshanetsky * (PHP_4_3) NEWS sapi/cgi/cgi_main.c: MFH: Fixed bug #22127 (Invalid response code when force-cgi-redirect safety mechanism is triggered). * sapi/cgi/cgi_main.c: Invalid response code when force-cgi-redirect safety mechanism is triggered * ext/mbstring/mbstring.c: Fixed compiler warning. 2004-03-12 Sara Golemon * (PHP_4_3) configure.in: Test getaddrinfo() for brokenness. Pretend it doesn't exist if it misbehaves. 2004-03-11 Frank M. Kromann * ext/ming/config.w32: Hack to check for ming version 0.2 and 0.3 to inclue the right libs. 2004-03-11 Sara Golemon * (PHP_4_3) NEWS: BFN 2004-03-11 Jani Taskinen * NEWS: update 2004-03-11 Andi Gutmans * ZendEngine2/zend_objects_API.c: - Real fix for bug #27535 (Dmitry) * ZendEngine2/zend_objects_API.c: - Attempt to fix bug #27535 2004-03-11 Ilia Alshanetsky * ext/curl/multi.c: Readability++ * ext/curl/interface.c ext/curl/multi.c ext/curl/php_curl.h: Fixed memory leak in the multi interface. Fixed proto of curl_multi_exec(). Fixed crash in curl resource attached to curl multi resource is manually freed via curl_close(). 2004-03-10 Frank M. Kromann * ext/zlib/php_zlib.def: More ZLIB exports needed by the ming extension 2004-03-10 Moriyoshi Koizumi * (PHP_4_3) ext/mbstring/mbstring.c: - MFH (r-1.212): Revert ini setting patch as I notified in... * ext/mbstring/mbstring.c: - Revert ini setting patch, as I notified in http://news.php.net/article.php?group=php.internals&article=8451 2004-03-10 Rasmus Lerdorf * ext/standard/basic_functions.c: getopt() doesn't work if variables_order does not include "S" because it only looks in $_SERVER for argv. So, if we don't find argv in $_SERVER fall back to looking in the global symbol table where register_argc_argv would have put it. 2004-03-10 Frank M. Kromann * ext/zlib/config.w32 ext/zlib/php_zlib.def: Reexport some zlib symbols so we can avoid linking with zlib.lib in shared extensions (on win32) 2004-03-10 Ard Biesheuvel * ext/standard/math.c: Nuke unused vars * ext/standard/math.c: Don't use fp arithmetic for int results 2004-03-10 Martin Kraemer * ext/sqlite/tests/sqlite_oo_003.phpt: Typo 2004-03-10 Georg Richter * ext/mysqli/mysqli_api.c ext/mysqli/mysqli_fe.c ext/mysqli/php_mysqli.h: added new function mysql_stmt_free_result 2004-03-09 Rasmus Lerdorf * (PHP_4_3) ext/curl/curl.c ext/curl/interface.c: Make curl_setopt($ch,CURLOPT_RETURNTRANSFER,0) reset the RETURNTRANSFER to stdout as is implied in the documentation. Currently it simply does absolutely nothing and there is no way to reset it to stdout. 2004-03-09 Marcus Boerger * ZendEngine2/ZEND_CHANGES: Rename hasMore() to valid() as discussed. (Part VI) * tests/classes/constants_scope_001.phpt: Update test * ZendEngine2/zend_API.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_interfaces.c ZendEngine2/zend_language_parser.y ZendEngine2/zend_reflection_api.c: Clearify the different method/class flags (as discussed with Andi). * ZendEngine2/zend.h: No longer needed 2004-03-09 Andi Gutmans * ZendEngine2/zend_constants.c: - Fix crash: * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c: - Nuke unused code. 2004-03-09 Ilia Alshanetsky * ext/curl/multi.c: Fixed memory leak with curl_multi_init() de-initialization. * TSRM/tsrm_virtual_cwd.c: Fixed define. * NEWS TSRM/tsrm_virtual_cwd.c: Fixed bug #27338 (memory leak inside tsrm_virtual_cwd.c on win32). 2004-03-09 Marcus Boerger * run-tests.php: Make run-tests.php work with xdebug being loaded. * ext/pgsql/tests/02connection.phpt: Show the connect result * ext/mysqli/mysqli.c: Missing buffer->val change 2004-03-09 Jani Taskinen * (PHP_4_3) ext/standard/tests/strings/bug27457.phpt: test for bug #27457 * ext/standard/tests/strings/bug27457.phpt: test for bug #27457 * (PHP_4_3) NEWS: order 2004-03-09 Georg Richter * ext/mysqli/config.m4 ext/mysqli/mysqli_api.c ext/mysqli/mysqli_fe.c ext/mysqli/php_mysqli.h: fixed memleaks in bind functions added 4.1.2 support (renamed functions) 2004-03-09 Derick Rethans * tests/lang/bug27535.phpt: - Added test for bug #27535 (Objects pointing to each other cause Apache to crash). 2004-03-09 Ilia Alshanetsky * (PHP_4_3) NEWS main/SAPI.c: MFH: Fixed bug #27530 (broken http auth when safe_mode is on and PCRE is disabled). * main/SAPI.c: Fixed bug #27530 (broken http auth when safe_mode is on and PCRE is disabled). * ext/sqlite/libsqlite/src/sqlite.h.in: Fix function declaration. * ext/sqlite/sqlite.c: Change float operations to safe_emalloc(). Original idea by Sascha (see sess_sqlite.c) 2004-03-08 Ard Biesheuvel * ext/sqlite/libsqlite/src/main.c ext/sqlite/libsqlite/src/table.c ext/sqlite/libsqlite/src/vdbeaux.c ext/standard/datetime.c ext/standard/var.c main/spprintf.c main/streams/userspace.c main/streams/xp_socket.c: More wordsize fixes * ext/xmlrpc/libxmlrpc/encodings.c: Fix warning 2004-03-08 Derick Rethans * NEWS ext/mbstring/mbstring.c ext/mbstring/mbstring.h: - Added mb_list_encoding() to return an array with all mbstring supported encodings. 2004-03-08 Marcus Boerger * ext/com_dotnet/com_iterator.c ext/com_dotnet/com_saproxy.c: Rename hasMore() to valid() as discussed. (Part V) * ext/dom/dom_iterators.c: Rename hasMore() to valid() as discussed. (Part IV) 2004-03-08 Ard Biesheuvel * ext/xmlrpc/libxmlrpc/encodings.c: MFB fix #27408 2004-03-08 Marcus Boerger * NEWS: Rename hasMore() to valid() as discussed. (Part III) 2004-03-08 Ard Biesheuvel * (PHP_4_3) ext/xmlrpc/libxmlrpc/encodings.c: Possible fix for #27408 (wordsize/alignment issue) 2004-03-08 Marcus Boerger * ZendEngine2/zend_execute.c ZendEngine2/zend_interfaces.c ZendEngine2/zend_iterators.h ext/simplexml/simplexml.c ext/sqlite/php_sqlite.h ext/sqlite/sqlite.c ext/sqlite/tests/sqlite_010.phpt ext/sqlite/tests/sqlite_013.phpt ext/sqlite/tests/sqlite_016.phpt ext/sqlite/tests/sqlite_023.phpt ext/sqlite/tests/sqlite_024.phpt: Rename hasMore() to valid() as discussed. (Part II) * ZendEngine2/zend_interfaces.c ext/sqlite/sqlite.c ext/sqlite/tests/sqlite_oo_010.phpt ext/sqlite/tests/sqlite_oo_013.phpt ext/sqlite/tests/sqlite_oo_016.phpt ext/sqlite/tests/sqlite_oo_020.phpt ext/sqlite/tests/sqlite_oo_024.phpt ext/sqlite/tests/sqlite_oo_026.phpt ext/sqlite/tests/sqlite_oo_031.phpt tests/classes/iterators_001.phpt tests/classes/iterators_002.phpt tests/classes/iterators_003.phpt tests/classes/iterators_004.phpt tests/classes/iterators_006.phpt: Rename hasMore() to valid() as discussed. (Part I) * ZendEngine2/zend_execute_API.c: Check count. 2004-03-08 Ard Biesheuvel * ext/interbase/interbase.c: Merged some more odd fixes from my own branch * ext/interbase/interbase.c ext/interbase/php_ibase_includes.h: Cleaned up array handling and optimize for the case where no array fields are used Fix timestamp binding for Win32 (which doesn't have gmtime_r()) CS 2004-03-08 Derick Rethans * ext/tokenizer/tokenizer.c: - Fixed bug #24550 (tokenizing with __METHOD__ crash) (Patch by Greg Beaver) 2004-03-08 Ilia Alshanetsky * (PHP_4_3) NEWS sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: MFH: Fixed bug #27424 (headers missing on flush() in apache 2 SAPIs). * sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: Fixed bug #27424 (headers missing on flush() in apache 2 SAPIs). * ext/standard/var.c: Fixed compiler warnings. 2004-03-08 Marcus Boerger * ZendEngine2/zend_reflection_api.c: Add another missing conversion 2004-03-07 Marcus Boerger * ext/dba/config.m4: Search for db-4.2.x 2004-03-07 Sascha Schumann * ext/sqlite/sess_sqlite.c: Avoid using floating point arithmetic and rely on safe_emalloc for the multiplication. The actual size requirement is spelled out as: ** The result is written into a preallocated output buffer "out". ** "out" must be able to hold at least 2 +(257*n)/254 bytes. ** In other words, the output will be expanded by as much as 3 ** bytes for every 254 bytes of input plus 2 bytes of fixed overhead. ** (This is approximately 2 + 1.0118*n or about a 1.2% size increase.) 2004-03-07 Wez Furlong * main/streams/streams.c: add cast for qsort compare function. Kinda ugly, but helps assert that we are doing the right thing as well as kill the warning there. * main/streams/userspace.c: Connect feof() call to user-space stream feof() method. Fixes Bug #27417 and #27508 2004-03-07 Ilia Alshanetsky * (PECL_4_3) ext/sqlite/sqlite.c: MFH: Corrected string escape calculation. * ext/sqlite/sess_sqlite.c ext/sqlite/sqlite.c: Corrected string escape calculation. 2004-03-07 Wez Furlong * main/streams/streams.c: Less magic please 2004-03-07 Ard Biesheuvel * ext/interbase/interbase.c: Simplify / fix * ext/interbase/interbase.c: Added missing support for binding timestamps 2004-03-07 Moriyoshi Koizumi * ext/wddx/tests/wddx.xml: - Forgot to commit this one. 2004-03-06 Moriyoshi Koizumi * ext/wddx/tests/001.phpt: - Fix test, take 2 2004-03-06 Ilia Alshanetsky * (PHP_4_3) NEWS ext/mbstring/mbstring.c: MFH: Fixed bug #27421 (mbstring.func_overload should be system ini setting) * ext/mbstring/mbstring.c: Fixed bug #27421 (mbstring.func_overload should be system ini setting). * (PHP_4_3) NEWS ext/standard/base64.c: MFH: Fixed bug #27460 (base64_decode() does not handle extra padding). * ext/standard/base64.c: Fixed bug #27460 (base64_decode() does not handle extra padding). * (PHP_4_3) NEWS ext/standard/html.c: MFH: Fixed bug #27505 (htmlentities() does not handle BIG5 correctly). * ext/standard/html.c: Fixed bug #27505 (htmlentities() does not handle BIG5 correctly). * ext/sqlite/sqlite.c: Use correct variable name. * (PHP_4_3) NEWS ext/gd/libgd/gdft.c ext/gd/libgd/gdft.c: Fixed bug #27437 (wrong freetype include inside GD library). * ext/sqlite/sqlite.c: Fixed a possible memory leaks inside sqlite_popen() & sqlite_fetch_column_types(). Resolve the file path inside sqlite_factory(). * ext/sqlite/sess_sqlite.c: Fixed possible crash due to an integer overflow. * ext/sqlite/sqlite.php: Better extension availability check. 2004-03-06 Pierre-Alain Joye * (PHP_4_3) NEWS: - Add #27238 entry * ext/standard/iptc.c: - fix #27238 2004-03-05 Andi Gutmans * ZendEngine2/zend_compile.c: - Fix some small problems I introduce in last patch. * ZendEngine2/zend_compile.c: - Finally fix the following: $xml_mem = simplexml_load_string('1'); /* The following works fine */ foreach ($xml_mem->part as $part) { foreach($part->chapter->page as $page) { print $page; } } /* The following segfaults */ foreach ($xml_mem->part as $part) { foreach($part->chapter as $chapter) { // Difference here from previous example print $chapter; } } 2004-03-05 Dmitry Stogov * tests/classes/ctor_dtor.phpt tests/classes/inheritance_002.phpt: Test files were fixed acording to new constructor redeclaration semantic * tests/classes/bug27468.phpt: Test file was fixed (stack trace is removed) 2004-03-04 Moriyoshi Koizumi * sapi/cli/php_cli.c: - typo (must have sleep.) * ZendEngine2/zend_language_scanner.l: - Fix memleak when scanner is called from within tokenizer extension. * sapi/cli/php_cli.c: - Prevent cli from printing multiple "Interactive mode enabled" if the command line option is given more than once (like -aaaaaa). 2004-03-04 Sara Golemon * (PHP_4_3) ext/ftp/ftp.c: MFH: Don't rely on ANSI tmpfile(), use the streams layer instead, it'll deal with platform issues. * ext/ftp/ftp.c: Don't rely on ANSI tmpfile(), use the streams layer instead, it'll deal with platform issues. 2004-03-04 Derick Rethans * EXTENSIONS: - No maintainer anymore. 2004-03-04 Christian Stocker * (PHP_4_3) pear/PEAR/Builder.php: MFH (fix a linefeed problem, if more than one configureoption) * pear/PEAR/Builder.php: - fix a linefeed problem, if there are more than one configureoption 2004-03-04 Stanislav Malyshev * ZendEngine2/zend_execute.h: fix the fix * ZendEngine2/zend_execute.h: oops, fix cut&paste gone bad * ZendEngine2/zend_execute.h: Fix object true value: if we are in compat mode and it's Zend object - use PHP4 rules. Otherwise, object is always true. 2004-03-04 Derick Rethans * ZendEngine2/zend_constants.h ZendEngine2/zend_operators.h: - Fixed a 64bit issue (for zend_builtin_functions.c, module_number is an int). - Change the MAX_LENGTH_OF_LONG constant to 20, as LONG_MAX is 20 characters. (Patches by Ard Biesheuven) * ZendEngine2/tests/zend_operators.phpt: - Added instance_of test (patch by Ard Biesheuvel) 2004-03-04 Stanislav Malyshev * ZendEngine2/zend_compile.c: Disallow redefining ctors and cleanup * ZendEngine2/zend_mm.c: Handle out of memory/bad size situation gracefully, without getting into loop 2004-03-03 Rob Richards * ext/dom/document.c: Fix bug #27467: domDocument::load() called from class method crashes the methods can be called statically only from within classes which are not extending DomDocument 2004-03-03 Edin Kadribasic * ext/mysqli/mysqli_fe.c: Attempt at fixing win32 link errors * ext/mysqli/config.w32: Add missing source file * ext/mysqli/config.w32: Replace mysql with mysqli in paths to allow building both mysql and mysqli 2004-03-03 Moriyoshi Koizumi * ext/mbstring/config.w32: - Add missing include path. 2004-03-03 Andi Gutmans * ZendEngine2/zend_objects_API.c: - Fix crash: x as $x); } } new foo(); echo 'OK'; ?> 2004-03-02 Moriyoshi Koizumi * ext/mbstring/config.w32: - proper DLL linkage specifier. 2004-03-02 Derick Rethans * NEWS ext/gd/libgd/gd.c: - Fixed bug in gdImageFilledRectangle in the bundled GD library, that required x1 < x2 and y1 < y2 for coordinates. * tests/classes/bug27468.phpt: - Fixed timing issues in test * tests/classes/bug27468.phpt: - Added testcase for bug #27468 2004-03-02 Moriyoshi Koizumi * ext/mbstring/config.w32: - Fix typo. 2004-03-02 Derick Rethans * ext/tokenizer/tokenizer.c: - CLONE, not CLOSE * ext/tokenizer/tokenizer.c: - Added "clone" to the list of tokens. (Patch by Greg Beaver) 2004-03-02 Marcus Boerger * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: Fix zend_parse_method_parameters_ex() and make it consistant with zend_parse_method_parameters(). 2004-03-02 Derick Rethans * tests/lang/bug27439.phpt: - Consistent naming 2004-03-02 Pierre-Alain Joye * tests/lang/bug27439.phpt: - initial test for #27439, covers more cases we got during foreach($this->foo as $bar) bug 2004-03-02 Moriyoshi Koizumi * ext/mbstring/config.w32: - Really fix the build. 2004-03-02 Derick Rethans * ext/standard/parsedate.y: - Fixed yacc file 2004-03-02 Edin Kadribasic * ext/mbstring/config.w32: Temporary fix for win32 build 2004-03-02 Andi Gutmans * ZendEngine2/zend_compile.c: - Fix leaks (although there might be still a problem here). * ZendEngine2/zend_execute.c: - Fix leak (Dmitry) * ZendEngine2/zend_compile.c: - Fix crash in: attributes as $name => $attr) { } } } $f= new Foo(); $f->export(); ?> * ZendEngine2/zend_objects.c: - Improve fix for protecting destructor's from exceptions. - I was killing the current exception completely which was wrong. 2004-03-01 Moriyoshi Koizumi * ext/mbstring/config.w32: - Fix win32 build. 2004-03-01 Andi Gutmans * ZendEngine2/zend_objects.c: - Fix crash in destructors(). You can't throw an exception in destructors as there is no guaranteed time when the destructor will be called. * ZendEngine2/zend_reflection_api.c: - Fix leak * ZendEngine2/zend_reflection_api.c: - Fix crash in reflection API (pierre) * ZendEngine2/zend.c ZendEngine2/zend_exceptions.c ZendEngine2/zend_execute_API.c: - Fix crash in exception handling (zend_exception_error(...) and zend_eval_string_ex() were buggy (Dmitry, Andi) 2004-03-01 Rob Richards * ext/xsl/xsltprocessor.c: use php_libxml_import_node for transform functions 2004-03-01 Derick Rethans * ZendEngine2/zend_compile.h: - Typo fix (by Jan) 2004-03-01 Rob Richards * ext/dom/php_dom.c ext/simplexml/simplexml.c ext/xsl/xsltprocessor.c: Fix bug #27436 dom_import_simplexml innaccurate extensions register callbacks to export nodes prevents segfault passing invalid objects to import functions 2004-03-01 Moriyoshi Koizumi * NEWS: - Use past tense * NEWS: - NFN * ext/wddx/tests/001.phpt: - Fix test. * ext/standard/parsedate.y ext/standard/tests/time/002.phpt: - Add support for more ISO8601 style formats. . Timezone specifier (ex. 20040301T00:00:00+1900) . Week specifier "W" (ex. 1997W021) - Modified test case to test new features. 2004-03-01 Derick Rethans * (PHP_4_3) NEWS Zend/zend_builtin_functions.c tests/lang/bug27443.phpt: - MFH: Fixed bug #27443 (defined() returns wrong type). * tests/lang/bug27443.phpt: - Fixed bug #27443 (defined() returns wrong type). * ZendEngine2/zend_builtin_functions.c: - Fixed bug #27443 (defined() returns wrong type). 2004-03-01 Jon Parise * main/streams/streams.c: Cast the php_stream_dirent to a 'const char *' for estrndup() to avoid a compiler warning. 2004-03-01 Sara Golemon * ext/standard/dir.c: context parameter for opendir() and dir() * main/streams/php_stream_context.h: Must addref the resource when we make a new zval reference to it that will be exported to userspace. 2004-02-29 Moriyoshi Koizumi * NEWS: - Yet another BFN 2004-02-29 Andi Gutmans * ZendEngine2/zend_reflection_api.c: - Apply fixes by Timm. * ZendEngine2/zend_compile.c: - Change prototype isA check not to check the constructor. - Only give an E_STRICT for non-isA compliant code as opposed to E_COMPILE_ERROR. 2004-02-29 Stanislav Malyshev * ZendEngine2/zend_compile.h: add ZEND_API there too for opcode handlers 2004-02-29 Derick Rethans * ZendEngine2/zend_execute.c: - Initialize memory to \0 so that we can reliable detect whether a specific opcode element is in use. 2004-02-29 Anil Madhavapeddy * pear/PEAR/Downloader.php pear/PEAR/Installer.php: Move the _prependPath function into PEAR_Downloader from PEAR_Installer, as PEAR_Downloader uses it (and PEAR_Installer inherits PEAR_Downloader). Unbreaks 'pear install -R' 2004-02-29 Stanislav Malyshev * ZendEngine2/zend_execute.c: export opcode table 2004-02-29 Moriyoshi Koizumi * NEWS: - BFN * ext/wddx/wddx.c: - Bugfix #27287 (wddx segfaults during deserialization) * ext/session/session.c: - Fix segfaults on deserialisation of referenced variables. 2004-02-28 Ilia Alshanetsky * ext/pdf/pdf.c: Remove unused variable. 2004-02-28 Moriyoshi Koizumi * NEWS: - Reordering. 2004-02-28 Ilia Alshanetsky * ext/pdf/pdf.c: Memory allocation check. 2004-02-28 Moriyoshi Koizumi * NEWS: - BFN & misc. * ext/mbstring/config.m4 ext/mbstring/mbstring.c ext/mbstring/php_mbregex.c ext/mbstring/php_mbregex.h: - Upgrade bundled oniguruma regex library to 2.2.2 (Rui, Moriyoshi) . Supports various encodings such as BIG5, GB2312 and ISO-8859-* . Fixes bug #26677 (mbstring compile errors with IRIX) . Many thanks to K.Kosako. - Remove redundant files that are not relevant to the build. 2004-02-27 Rasmus Lerdorf * sapi/cgi/cgi_main.c: As discussed a while ago. There is no reason to disallow command-line arguments for the cgi version when run in a cgi context. Our own test framework is in fact broken because of this unnecessary restriction. 2004-02-27 Frank M. Kromann * ext/fbsql/php_fbsql.c: Define buffer size macro and add a comment about the buffer size. 2004-02-27 Marcus Boerger * ZendEngine2/zend_API.c ZendEngine2/zend_compile.h: Add some comments * tests/classes/abstract_redeclare.phpt: The order of error has changed here. So the expectations must change too. * ZendEngine2/zend_API.c ZendEngine2/zend_compile.c ZendEngine2/zend_execute.c: Fixes for abstract classes/methods 2004-02-27 Greg Beaver * pear/PEAR.php: fix #640, error in comment for getStaticProperty * pear/PEAR/Autoloader.php pear/PEAR/Command.php: get_class -> is_a 2004-02-27 Ilia Alshanetsky * (PECL_4_3) ext/sqlite/sqlite.c ext/sqlite/tests/sqlite_027.phpt: MFH: Fixed possible crash inside sqlite_escape_string() and sqlite_udf_encode_binary(). * ext/sqlite/tests/sqlite_027.phpt: Fixed possible crash inside sqlite_escape_string() and sqlite_udf_encode_binary(). * ext/sqlite/sqlite.c: Fixed possible crash inside sqlite_escape_string() and sqlite_udf_encode_binary(). 2004-02-26 Frank M. Kromann * ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.h: Adding function to change user passwords 2004-02-26 Marcus Boerger * tests/classes/abstract_derived.phpt: Fixes for abstract classes * ZendEngine2/zend_language_parser.y ZendEngine2/zend_language_scanner.l: Fix __METHOD__ (noticed by Davey Sahfik) * tests/lang/foreach_with_object_001.phpt: Add new test (from pierre) 2004-02-26 Jani Taskinen * ext/mysqli/mysqli_prop.c ext/mysqli/mysqli_repl.c ext/mysqli/mysqli_report.h ext/mysqli/php_mysqli.h: ws & cs fixes 2004-02-26 Georg Richter * ext/mysqli/mysqli_api.c: prototype fix for mysqli_ping * php.ini-dist php.ini-recommended ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_nonapi.c ext/mysqli/php_mysqli.h: added MySQLI ini entries added ini parameter for mysql->reconnect * ext/mysqli/mysqli_api.c ext/mysqli/mysqli_fe.c ext/mysqli/mysqli_prop.c: removed blocking calls to mysql_set_server_option (MYSQLI_DISABLE_MQ) added mysqli_multi_query to function table changed stmt->affected_rows property (http://bugs.mysql.com/?id=2247) for 4.1.2 2004-02-26 Jani Taskinen * tests/lang/bug27395.phpt tests/lang/bug27395.phpt: Remove bogus test: see bug #20993 2004-02-26 Marcus Boerger * ZendEngine2/zend_reflection_api.c: Fix problem with Reflection_Property (patch from Timm slightly modified). 2004-02-26 Jani Taskinen * ext/standard/http_fopen_wrapper.c: MFB: typofix * (PHP_4_3) ext/standard/http_fopen_wrapper.c: typofix 2004-02-26 Ilia Alshanetsky * (PHP_4_3) ext/standard/http_fopen_wrapper.c: MFH: Handle situation where feof() occurs before the HTTP header is retrieved. * ext/standard/http_fopen_wrapper.c: Handle situation where feof() occurs before the HTTP header is retrieved. 2004-02-25 Derick Rethans * ext/standard/tests/general_functions/highlight_heredoc.phpt tests/strings/004.phpt tests/strings/bug26703.phpt: - Fix tests after change to highlight_string() 2004-02-25 Ilia Alshanetsky * (PHP_4_3) NEWS ext/sockets/sockets.c: MFH: Fixed bug #21760 (Use of uninitialized pointer inside php_read()). Fixed 3 possible crashes due to integer overflow or invalid user input inside the sockets extension. * ext/sockets/sockets.c: Fixed bug #21760 (Use of uninitialized pointer inside php_read()). Fixed 3 possible crashes due to integer overflow or invalid user input inside the sockets extension. 2004-02-25 Marcus Boerger * ZendEngine2/zend_objects_API.c: As Andi found out the dtor may increase the refcount. 2004-02-25 Jani Taskinen * ZendEngine2/zend_builtin_functions.c: ws + cs * tests/lang/bug22367.phpt: Revert and add the compatibility option. * NEWS: typofix 2004-02-25 Ard Biesheuvel * ext/bcmath/bcmath.c ext/ftp/php_ftp.c ext/mysqli/mysqli_nonapi.c ext/mysqli/mysqli_report.c ext/oci8/oci8.c ext/pgsql/pgsql.c ext/sqlite/sqlite.c ext/standard/dir.c ext/standard/file.c ext/standard/streamsfuncs.c ext/standard/string.c ext/standard/sunfuncs.c ext/standard/var.c ext/w32api/w32api.c: Wordsize fixes 2004-02-25 Jani Taskinen * NEWS: style * tests/lang/bug27395.phpt: Test for bug #27395 2004-02-25 Andi Gutmans * NEWS: - More NEWS 2004-02-25 Zeev Suraski * ZendEngine2/zend_compile.c ZendEngine2/zend_execute.c: Fix leak in foreach ($o->mthd()->arr) * tests/lang/bug22367.phpt: This is no longer valid out of the box PHP 5 code. We tried to enable compatibility mode but the test engine doesn't appear to take the --INI-- section into account in compile time, so it didn't work... * ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c: - Improve ARG_INFO() macros to support supplying required_num_args - Initial fix for foreach($o->mthd()->arr) crash (now leaks) 2004-02-25 Derick Rethans * ZendEngine2/zend_highlight.c: - Use instead of in highlight_string(). (Patch by mg@iceni.pl) 2004-02-25 Jani Taskinen * ext/mysqli/config.w32: Do not corrupt mysql build with mysqli build stuff. (should fix #27387) * ZendEngine2/zend_exceptions.c: Improve error messages 2004-02-25 Zeev Suraski * NEWS: update 2004-02-25 Jani Taskinen * (PHP_4_3) NEWS ext/standard/pack.c: MFH: Fixed bug #27384 (unpack() misbehaves with 1 char string). (GeorgeS) 2004-02-25 Zeev Suraski * php.ini-dist php.ini-recommended main/main.c: - Rename compatiblity mode to zend.ze2_compatibility_mode (it doesn't only affect auto-clone). - Perform implementation checks even with simple inheritance (off when compatibility mode is enabled). - Restore default arguments in interfaces and handle it correctly. - Move registration of internal classes later in the startup sequence in order to have INI options available. * ZendEngine2/zend.c ZendEngine2/zend_compile.c ZendEngine2/zend_execute.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_globals.h ZendEngine2/zend_variables.c: - Rename compatiblity mode to zend.ze2_compatibility_mode (it doesn't only affect auto-clone). - Perform implementation checks even with simple inheritance (off when compatibility mode is enabled). - Restore default arguments in interfaces and handle it correctly. - Move registration of internal classes later in the startup sequence in order to have INI options available. 2004-02-25 Derick Rethans * ZendEngine2/zend_exceptions.c: - Fixed bug #27391 (typo in Fatal Error message). 2004-02-25 Sebastian Bergmann * ext/standard/http_fopen_wrapper.c: ZTS fix. 2004-02-25 Zeev Suraski * ZendEngine2/zend_API.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_opcode.c: - Abstract methods cannot have defaults for arguments - Make function foo($a, $b=null) satisfy both foo($a) and foo($a, $b) prototypes 2004-02-25 Sebastian Bergmann * ZendEngine2/zend_reflection_api.c: Proto fixes. 2004-02-25 Marcus Boerger * ZendEngine2/zend_objects_API.c: Fix object destruction/free in shutdown - set destructor_called even when no dtor is given - use free_storage even when no dtor hat to be called * ZendEngine2/zend_objects_API.c: Checking once for dtor is enough 2004-02-24 Marcus Boerger * ZendEngine2/zend_API.c: Fix class flags when handling abstract methods 2004-02-24 Ilia Alshanetsky * (PHP_4_3) NEWS ext/standard/http_fopen_wrapper.c: MFH: Fixed bug #27383 (Potential crash inside fopen_wrapper, while parsing response code). * ext/standard/http_fopen_wrapper.c: Fixed bug #27383 (Potential crash inside fopen_wrapper, while parsing response code). 2004-02-24 George Schlossnagle * ext/standard/pack.c: fix for bug 27384 2004-02-24 Ard Biesheuvel * ext/sqlite/sqlite.c: More wordsize/alignment fixes 2004-02-24 Zeev Suraski * main/main.c: Remove empty comment 2004-02-24 Christian Stocker * (PHP_4_3) ext/domxml/php_domxml.c: fix for bug 27349 "Invalid parsing of CDATA sections in XSL templates" 2004-02-24 Rob Richards * ext/xml/compat.c: fix win32 compile with libxml 2.6 fix mem leaks 2004-02-24 Jani Taskinen * (PHP_4_3) NEWS ext/session/session.c: MFH: - Fixed bug #26005 (Random "cannot change the session ini settings" errors). * ext/session/session.c: Fix bug #26005 (Random "cannot change the session ini settings" errors) 2004-02-23 Wez Furlong * ext/standard/tests/file/statcache-corruption.phpt: test case for statcache corruption of BG * ext/standard/basic_functions.h: Ooops, these should not be pointers ;) 2004-02-23 Sara Golemon * ext/standard/string.c: Make today's changes work w/ str_ireplace() as well. * ext/standard/string.c: Short circuit str_replaces when we already know that needle does not occur in haystack. Note: Prior bugfix was for #27176 not #27276 * ext/standard/string.c: Bugfix #27276: When using str_replace to expand a string, count occurances of needle in haystack to avoid massive overallocation 2004-02-23 Ilia Alshanetsky * (PHP_4_3) NEWS ext/curl/curl.c: MFH: Fixed bug #27341 (HEAD requests fail to return data). * ext/curl/interface.c: Fixed bug #27341 (HEAD requests fail to return data). 2004-02-23 Derick Rethans * ext/standard/tests/strings/bug27276.phpt: - Added testcase for bug #27276 2004-02-23 Jani Taskinen * (PHP_4_3) Zend/zend.c: Fix memleak during shutdown (ZTS), kill compile warning * (PHP_4_3) NEWS sapi/isapi/php4isapi.c: MFH: fixed bug #27337 (missing sapi_shutdown()) * sapi/isapi/php5isapi.c: Fix bug #27337 (missing sapi_shutdown() causing memory leak) 2004-02-23 Andi Gutmans * ZendEngine2/zend_language_parser.y: - Improve precendence: foo = "Blah"; if (!$obj instanceof StdClass) { print "No"; } else { print "Yes"; } 2004-02-23 Georg Richter * ext/mysqli/mysqli_nonapi.c: fixed prototypes for mysqli_connect_err* functions (thx to Mehdi Achour) 2004-02-23 Ard Biesheuvel * ext/sqlite/sqlite.c ext/standard/streamsfuncs.c: 64-bit fixes 2004-02-23 Christian Stocker * ext/xml/xml.c ext/xml/tests/bug25666.phpt ext/xml/tests/xml009.phpt ext/xml/tests/xml010.phpt: - omit WARNING instead of ERROR for x_p_c_ns - fix SKIPIF code in tests * ext/xml/tests/bug25666.phpt ext/xml/tests/xml009.phpt ext/xml/tests/xml010.phpt: skip tests, if xml_parser_create_ns is not supported. * ext/xml/tests/xml010.phpt: test for attributes * ext/xml/compat.c: - mixed up name and value... fixed * ext/xml/compat.c: fix attribute handling in combination with sax2 2004-02-23 Adam Dickmeiss * ext/yaz/config.m4 ext/yaz/php_yaz.c: Use ZOOM_resultset_sort for yaz_sort. Require YAZ 2.0.13 or later. 2004-02-23 Christian Stocker * (PHP_4_3) ext/domxml/tests/bug26384.phpt: skip test, if no XSLT support is compiled in * ext/xml/compat.c ext/xml/xml.c: remove compiler warnings 2004-02-23 Andi Gutmans * ZendEngine2/zend_language_parser.y: - Decrease precedence of instanceof so that the following is true: php -r 'var_export((object)1 instanceof stdClass);'; Patch by Jan Lehnardt 2004-02-23 Christian Stocker * ext/xml/compat.c ext/xml/xml.c: - make it compile with libxml2 2.5 again - disable xml_parser_create_ns with libxml2 2.5 for the time being - the #if s can be removed, once we insist on libxml2 2.6 2004-02-23 Georg Richter * ext/mysqli/mysqli_api.c ext/mysqli/mysqli_nonapi.c: fixed report message Disabled reconnect option 2004-02-23 Jani Taskinen * acinclude.m4 ext/imap/config.m4: - Added PHP_TEST_BUILD macro which can be used to test whether build works / would work with current LIBS (+ additional extra-libs) 2004-02-23 Ard Biesheuvel * ext/sqlite/sqlite.c ext/standard/tests/array/array_sum.phpt: 64-bit fix 2004-02-22 Derick Rethans * (PHP_4_3) NEWS Zend/zend_operators.c tests/lang/bug27354.phpt: - MFH: Fixed bug #27354 (Modulus operator crashes PHP). * tests/lang/bug27354.phpt: - Added testcase for bug #27354 (Modulus operator crashes PHP). * ZendEngine2/zend_operators.c: - Fixed bug #27354 (Modulus operator crashes PHP). 2004-02-22 Marcus Boerger * ZendEngine2/ZEND_CHANGES: Add some more obviously needed information 2004-02-22 Christian Stocker * ext/xml/tests/xml009.phpt: add test for default namespaces and same-prefix/different-namespaceURI 2004-02-22 Ilia Alshanetsky * ext/gd/gd.c: wbmp conversion warning fix. 2004-02-22 Christian Stocker * ext/xml/compat.c ext/xml/expat_compat.h: Fix broken Namespace support, use libxml2 namespace methods instead of homebrown solution: - default namespaces are recognized - different namespaces with same prefix in different nodes are treated correctly - libxml2 parser warnings are not errors anymore 2004-02-22 Rob Richards * ext/dom/element.c: add optional third parameter to support namespace in constructor 2004-02-22 Ard Biesheuvel * ext/sqlite/sqlite.c: Fix 64-bit crash 2004-02-21 Sara Golemon * ext/ftp/ftp.c: Avoid use of memcpy(), reply on struct in_addr to be right sized instead 2004-02-21 Ilia Alshanetsky * ext/gd/gd.c: Set correct default threshold for image2wbmp(). 2004-02-21 Sebastian Bergmann * ext/mysqli/config.w32: Can't test whether it works (no current >=mysql-4.1.2 available on Windows), but it should. 2004-02-21 Georg Richter * ext/mysqli/mysqli_fe.c: fixed typo in method alias 2004-02-20 Sara Golemon * ext/ftp/ftp.c: s_addr is always unsigned 32bit, long is not. * ext/standard/http.c: Bug Fix #27335: Numeric indexes crashing http_build_query() 2004-02-20 Greg Beaver * pear/package-PEAR.xml pear/package-PEAR.xml: stupid oversight, no 4.2 dep 2004-02-20 Pierre-Alain Joye * (PHP_4_3) pear/packages/DB-1.6.0.tar pear/packages/DB-1.6.0RC6.tar: - Update to DB-1.6.0 * pear/packages/DB-1.6.0RC6.tar: - Remove DB 1.6.0RC6 * pear/packages/DB-1.6.0.tar: - Update to DB-1.6.0 stable * pear/package-PEAR.xml: - MFB * (PHP_4_3) pear/package-PEAR.xml: - 1.3b6=>1.3 stable, prepare stable release 2004-02-20 Georg Richter * ext/mysqli/config.m4 ext/mysqli/mysqli_api.c ext/mysqli/mysqli_repl.c: Moved functions for replication support in to file mysqli_repl.c - these functions are marked as experimental now in documentation not sure if we will replace or extend them with NDB support in April 2004-02-20 Antony Dovgal * ext/oci8/oci8.c: this should really fix compile failure with gcc 2.96 2004-02-20 Ard Biesheuvel * ext/interbase/interbase.c ext/interbase/php_ibase_includes.h: Fix some issues with persistent links 2004-02-20 Hartmut Holzgraefe * main/streams/php_stream_context.h main/streams/php_stream_filter_api.h main/streams/php_stream_mmap.h main/streams/php_stream_plain_wrapper.h main/streams/php_stream_transport.h: EXTERN_C wrapping for PHPAPI prototypes (Zend and main should now be ok) * main/php_memory_streams.h main/php_network.h main/php_open_temporary_file.h main/php_output.h main/php_reentrancy.h main/php_streams.h main/php_ticks.h main/safe_mode.h: wrap all PHPAPI prototypes into BEGIN_EXTERN_C/END_EXTERN_C blocks (else they won't be usable from C++ extensions) * ZendEngine2/zend.h ZendEngine2/zend_API.h ZendEngine2/zend_iterators.h ZendEngine2/zend_operators.h ZendEngine2/zend_variables.h: more EXTERN_C wrapping of ZEND_API prototypes * scripts/dev/extern_c.php: A script that searches for PHPAPI and ZEND_API prototypes not enclosed by BEGIN_EXTERN_C/END_EXTERN_C 2004-02-20 Jani Taskinen * ZendEngine2/zend_opcode.c: ws fix * ext/oci8/oci8.c: Fix compile failure * ext/oci8/oci8.c: Only use Z_TYPE* with zvals.. 2004-02-20 Ilia Alshanetsky * (PHP_4_3) ext/dio/dio.c: MFH: missing safe_mode & open_basedir checks. * ext/dio/dio.c: Added missing safe_mode & open_basedir checks. 2004-02-19 Ilia Alshanetsky * (PHP_4_3) ext/cpdf/cpdf.c: MFH: Fixed possible resource/memory leak. * ext/cpdf/cpdf.c: Fixed possible resource/memory leak. 2004-02-19 Jani Taskinen * ext/session/session.c: Improve error messages 2004-02-18 Hartmut Holzgraefe * ZendEngine2/zend.h ZendEngine2/zend_builtin_functions.h ZendEngine2/zend_extensions.h ZendEngine2/zend_indent.h ZendEngine2/zend_interfaces.h ZendEngine2/zend_object_handlers.h ZendEngine2/zend_objects.h ZendEngine2/zend_objects_API.h ZendEngine2/zend_ptr_stack.h ZendEngine2/zend_stack.h ZendEngine2/zend_stream.h: wrap ZEND_API prototypes into BEGIN_EXTERN_C/END_EXTERN_C for C++ extension support 2004-02-18 Rob Richards * ext/dom/xpath.c: always return domnodelist unless error 2004-02-18 Hartmut Holzgraefe * main/php_logos.h: be nice to C++ extensions 2004-02-18 Rob Richards * ext/dom/node.c: correct implementation of prefix write property 2004-02-18 Jani Taskinen * ext/mssql/php_mssql.c: register_list_destructors -> zend_register_list_destructors_ex 2004-02-18 Ilia Alshanetsky * (PHP_4_3) NEWS ext/standard/scanf.c ext/standard/tests/strings/bug27295.phpt: MFH: Fixed bug #27295 (memory leak inside sscanf()). * ext/standard/tests/strings/bug27295.phpt: Fixed bug #27295 (memory leak inside sscanf()). * ext/standard/scanf.c: Fixed bug #27295 (memory leak inside sscanf()). 2004-02-18 Georg Richter * ext/mysqli/mysqli_api.c: changed return value of mysql_fetch - instead of MYSQL_NO_DATA mysql_fetch will now return NULL 2004-02-18 Zeev Suraski * ZendEngine2/zend.c: Forward-port fixlet from PHP 4 (thanks to Michael Sisolak) 2004-02-18 Sara Golemon * ext/standard/info.c: Show registered transports in phpinfo() 2004-02-18 Jani Taskinen * ext/wddx/tests/bug27287.phpt: Test for bug #27287 2004-02-17 Jani Taskinen * ZendEngine2/zend_list.c: MFB: - Fix bug #26753 (zend_fetch_list_dtor_id() does not check NULL strings) 2004-02-17 Ilia Alshanetsky * (PHP_4_3) NEWS ext/gd/gd.c: MFH: Fixed bug #27293 (two crashes inside image2wbmp()). * ext/gd/gd.c: Fixed bug #27293 (two crashes inside image2wbmp()). 2004-02-17 Ard Biesheuvel * (PHP_4_3) ext/interbase/interbase.c: Really disallow persistent connections if ini option is set 2004-02-17 Rob Richards * ext/dom/php_dom.c: add dtor to cleanup iterator related data 2004-02-17 Ard Biesheuvel * ext/interbase/ibase_blobs.c ext/interbase/ibase_events.c ext/interbase/interbase.c ext/interbase/php_ibase_includes.h ext/interbase/tests/004.phpt: Fixed unregistered bugs in event handling Cleaned up some of the code Removed ISC_QUAD from static initializers because it looks different on some platforms * ext/interbase/tests/004.phpt ext/interbase/tests/008.phpt: Added event handling test CS 2004-02-17 Wez Furlong * ext/gettext/config.w32: Fix: 2004-02-17 Rob Richards * ext/dom/dom_iterators.c ext/dom/namednodemap.c ext/dom/node.c ext/dom/nodelist.c ext/dom/php_dom.c ext/dom/xpath.c: implement clone functionality to fix segfault DomNode->clone() creates new doc proxy if document is cloned remove printf from xpath fix remaining invalid object state issues 2004-02-17 Jani Taskinen * (PHP_4_3) NEWS Zend/zend_list.c: - Fixed bug #26753 (zend_fetch_list_dtor_id() does not check NULL strings). 2004-02-17 Georg Richter * ext/mysqli/tests/027.phpt: changed output 2004-02-17 Stig Bakken * pear/PEAR/Frontend/CLI.php: - apply bold escape codes only if output is going to a terminal/tty 2004-02-16 Moriyoshi Koizumi * .gdbinit: - Add "zbacktrace" user-defined command. 2004-02-16 Jani Taskinen * ext/standard/tests/strings/bug27278.phpt: shorten the description a bit * (PHP_4_3) NEWS: typofix :) 2004-02-16 Ilia Alshanetsky * (PHP_4_3) NEWS ext/standard/formatted_print.c: MFH: Fixed bug #27278 (*printf() functions treat arguments as if passed by reference). * ext/standard/formatted_print.c: Fixed bug #27278 (*printf() functions treat arguments as if passed by reference). 2004-02-16 Jani Taskinen * ext/standard/tests/strings/bug27278.phpt: nuke copypaste rubbish * ext/standard/tests/strings/bug27278.phpt: test for bug #27278 2004-02-16 Sergey Kartashoff * (PHP_4_3) ext/mnogosearch/php_mnogo.c: - A fix to make UDM_LIMIT_DATE work was applied. Thanks to d.rousseau at nnx.com * ext/mnogosearch/php_mnogo.c: - A fix to make UDM_LIMIT_DATE work was applied. Thanx to d.rousseau at nnx.com 2004-02-16 Ilia Alshanetsky * (PHP_4_3) configure.in main/php_version.h: Back to dev. * (PHP_4_3) configure.in main/php_version.h: Go with RC3 2004-02-16 Georg Richter * ext/mysqli/tests/017.phpt ext/mysqli/tests/026.phpt ext/mysqli/tests/035.phpt ext/mysqli/tests/045.phpt: fixed some tests added skip section for prepared statements when using SHOW command 2004-02-16 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. * ext/gmp/gmp.c: Better gmp fix. 2004-02-16 Derick Rethans * (PHP_4_3) NEWS: - Update news too * (PHP_4_3) main/php_ini.c: - MFH: Fixed zero bytes memory allocation when no extra ini files are found in the --with-config-file-scan-dir specified directory. (Eric Colinet, Derick) 2004-02-16 Rob Richards * ext/dom/attr.c ext/dom/characterdata.c ext/dom/document.c ext/dom/documenttype.c ext/dom/element.c ext/dom/entity.c ext/dom/node.c ext/dom/notation.c ext/dom/processinginstruction.c ext/dom/text.c: issue warning if object is in invalid state when dealing with properties 2004-02-16 Derick Rethans * ZendEngine2/ZEND_CHANGES: - Clearify clone behavior, fixed clone example (Patch by Jan Lehnardt) 2004-02-16 Stanislav Malyshev * ext/standard/var.c: ce is not used, don't get it 2004-02-16 Jani Taskinen * ext/standard/tests/assert/assert.phpt: - fix test 2004-02-16 Marcus Boerger * NEWS: BFN * ZendEngine2/zend_compile.c: Bugfix #27227 Mixed case class names causes Fatal Error in Constructor call 2004-02-15 Pierre-Alain Joye * (PHP_4_3) pear/packages/DB-1.6.0RC6.tar: - DB 1.6RC6 * (PHP_4_3) pear/packages/DB-1.6.0RC1.tar: - remove DB 1.6RC1 2004-02-15 Ard Biesheuvel * (PHP_4_3) ext/interbase/tests/002.phpt ext/interbase/tests/003.phpt ext/interbase/tests/004.phpt ext/interbase/tests/005.phpt ext/interbase/tests/006.phpt: CS/WS 2004-02-15 Ilia Alshanetsky * ext/sqlite/sqlite.c: For get_data iterator do not force numeric keys, return keys the user requests. 2004-02-15 Georg Richter * ext/mysqli/mysqli_api.c: fixed several binding problems 2004-02-15 Ilia Alshanetsky * ext/sqlite/sqlite.c: Fixed a crash inside create_aggregate() method due to incorrect argument parsing. 2004-02-15 Rob Richards * ext/dom/attr.c ext/dom/characterdata.c: switch to zend_parse_method_parameters for consistancy insure object parameters are correct class types convert zvals to correct type if needed for property writes fix a few segfaults found while testing 2004-02-15 Ard Biesheuvel * ext/interbase/interbase.c ext/interbase/tests/003.phpt: Reintroduce param NULL testing (see bug #26777) 2004-02-15 Jani Taskinen * ext/recode/config9.m4: Prevent bug reports like #27260 2004-02-15 Stig Bakken * pear/PEAR/Frontend/CLI.php: - don't cut lines when wrapping output 2004-02-15 Ilia Alshanetsky * (PHP_4_3) ext/gmp/gmp.c: MFH: Fixed bug #27258 (moved FPE check to correct location). Fixed several possible FPE. * ext/gmp/gmp.c: Fixed bug #27258 (moved FPE check to correct location). Fixed several possible FPE. 2004-02-15 Rob Richards * ext/dom/document.c ext/dom/documenttype.c ext/dom/dom_fe.h ext/dom/domimplementation.c ext/dom/php_dom.c ext/dom/processinginstruction.c: allow certain methods to be called statically again: domdocument (all load methods) domimplementation (all methods) switch to zend_parse_method_parameters for consistancy insure object parameters are correct class types convert zvals to correct type if needed for property writes fix a few segfaults found while testing 2004-02-15 Marcus Boerger * NEWS main/main.c: Fix startup errors 2004-02-15 Rob Richards * ext/dom/element.c ext/dom/node.c: switch to zend_parse_method_parameters for consistancy insure object parameters are correct class types convert zvals to correct type if needed for property writes 2004-02-15 Zeev Suraski * ext/com_dotnet/com_saproxy.c ext/mysqli/mysqli.c ext/session/session.c: Use zval_ptr_dtor() to free variables as soon as they hit refcount of 0. Note: You should not be using ZVAL_DELREF() in day to day usage. Instead, you should use zval_ptr_dtor(). Use ZVAL_DELREF() only if you're messing with the refcount directly and know what you're doing. Note #2: For clarity, if you want to initialize a new zval with a refcount of 0, it's best to do that directly, instead of using ZVAL_DELREF after allocating the zval... 2004-02-15 Jan Lehnardt * ext/mono/php_mono.c: - fix build (patch by josh at mediascape dot com) - close #26045 2004-02-15 Rob Richards * ext/dom/processinginstruction.c ext/dom/text.c ext/dom/xpath.c: start of dom update switch to zend_parse_method_parameters for consistancy insure object parameters are correct class types convert zvals to correct type if needed for property writes 2004-02-15 Timm Friebe * ext/sybase_ct/php_sybase_ct.c ext/sybase_ct/php_sybase_ct.c: - Fixed bug #26407 (Result set fetching broken around transactions) * ext/sybase_ct/php_sybase_ct.c ext/sybase_ct/php_sybase_ct.c: - Changed initialization of function arguments to message handler 2004-02-14 Greg Beaver * (PHP_4_3) pear/scripts/pear.bat: re-add as binary * (PHP_4_3) pear/scripts/pear.bat: remove in order to re-add binary 2004-02-14 Jan Lehnardt * ext/standard/dl.c: - improve error message 2004-02-14 Jani Taskinen * NEWS: bfn 2004-02-14 Marcus Boerger * ZendEngine2/zend_iterators.c: dtor's may not be called from free_storage handlers 2004-02-14 Derick Rethans * main/php_ini.c: - We always need to destroy the llist though. * NEWS main/php_ini.c: - Fixed zero bytes memory allocation when no extra ini files are found in the --with-config-file-scan-dir specified directory. (patch by Eric Colinet ) 2004-02-13 Rob Richards * ext/simplexml/simplexml.c: Fix bug #27237: Working with simplexml crashes apache2 object dtor must be used to cleanup iterator data correctly Fix asXML() outputing incorrect node 2004-02-13 Ard Biesheuvel * (PHP_4_3) NEWS: BFN * (PHP_4_3) ext/interbase/interbase.c ext/interbase/tests/003.phpt: Fixed bug #27235 (NUMERIC x.0 field returns empty string on 0) CS/WS 2004-02-13 Ilia Alshanetsky * ext/pspell/pspell.c: Fixed compile warnings. 2004-02-13 Frank M. Kromann * ext/simplexml/php_simplexml.h: Adding mising declaration (needed for Win32 compilation) 2004-02-12 Derick Rethans * NEWS ext/simplexml/simplexml.c: - Fixed start-up problem if both SPL and SimpleXML were enabled. The double initialization of apache 1.3 was causing problems here. 2004-02-12 Stig Bakken * ext/oci8/oci8.c ext/standard/crypt.c ext/standard/php_crypt.h: - email address update * ext/oci8/oci8.c: - update my email address 2004-02-12 Stefan Esser * main/rfc1867.c: better write into the correct buffer 2004-02-12 Andi Gutmans * NEWS configure.in main/php_version.h: - We are RC1-dev now * (php_5_0_0b4) configure.in main/php_version.h: - Roll Beta 4 * (php_5_0_0b4) ZendEngine2/zend_execute.c: - Remove old code 2004-02-12 Hartmut Holzgraefe * (php_5_0_0b4) README.PHP4-TO-PHP5-THIN-CHANGES ZendEngine2/ZEND_CHANGES: making sure that the provided examples actualy work (or at least do not generate no parse errors) unless they are really expected to fail 2004-02-12 Jani Taskinen * (php_5_0_0b4) NEWS: reorder 2004-02-12 Andi Gutmans * (php_5_0_0b4) ZendEngine2/zend_object_handlers.c: - This was too strict. 2004-02-12 Zeev Suraski * (php_5_0_0b4) tests/classes/array_access_005.phpt: Fix test 2004-02-12 Pierre-Alain Joye * (php_5_0_0b4) pear/packages/DB-1.6.0RC6.tar: - Update to DB-1.6.0RC6 (stable) notabene: No more RC with stable state will be bundled with stable php release. It's ok for php5 beta4. * pear/packages/DB-1.6.0RC1.tar: - Remove old DB 2004-02-12 Zeev Suraski * (php_5_0_0b4) ext/com_dotnet/com_saproxy.c: Fix prototype/warning 2004-02-12 Andi Gutmans * NEWS: - More news 2004-02-12 Zeev Suraski * (php_5_0_0b4) ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_interfaces.c ZendEngine2/zend_object_handlers.c: - Check return-by-reference bit when implementing interface prototypes - Add infrastructure for built-in functions to hint whether they return by reference or not. It is NOT currently used for anything, except for interface prototypes (you can use it to request that the function that implements your prototype returns by reference or doesn't return by reference). For downwards compatibility - by default, interface prototypes are agnostic as to whether the function that implements them returns by reference or not. Use ZEND_BEGIN_ARG_INFO_EX() with ZEND_RETURN_VALUE/ZEND_RETURN_REFERENCE to change that. - Fix ArrayAccess::getOffset() to conduct additional checks. If your getOffset() should work with multidimensional arrays - it must return by reference. 2004-02-12 Andi Gutmans * NEWS: - Add News entry * (php_5_0_0b4) ZendEngine2/zend_object_handlers.h: - Add comments to read/write property/dimension for extension authors 2004-02-12 Zeev Suraski * (php_5_0_0b4) tests/lang/035.phpt tests/lang/error_2_exception_001.phpt: extend Exception 2004-02-12 Wez Furlong * (php_5_0_0b4) ext/com_dotnet/com_handlers.c: fix copy-n-past error in constructor. Spotted by Eric Colinet. 2004-02-12 Zeev Suraski * configure.in: Update configure * ZendEngine2/zend_default_classes.h ext/com_dotnet/com_com.c ext/com_dotnet/com_dotnet.c ext/com_dotnet/com_extension.c ext/com_dotnet/com_handlers.c ext/com_dotnet/com_iterator.c ext/com_dotnet/com_misc.c ext/com_dotnet/com_saproxy.c ext/dom/php_dom.h ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/pgsql/pgsql.c ext/simplexml/simplexml.c ext/sqlite/sqlite.c main/main.c: zend_default_classes.h -> zend_exceptions.h 2004-02-12 Andi Gutmans * (php_5_0_0b4) ZendEngine2/Makefile.am: - Add zend_exceptions.c 2004-02-12 Zeev Suraski * (php_5_0_0b4) ZendEngine2/ZendTS.dsp ZendEngine2/zend.c ZendEngine2/zend_default_classes.c ZendEngine2/zend_exceptions.c ZendEngine2/zend_exceptions.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_reflection_api.c: Centralize exceptions code in zend_exceptions.[ch]. Remove zend_default_classes.h (use zend_exceptions.h instead) NOTE: This currently breaks the build, fixes to php-src and pecl coming soon 2004-02-12 Andi Gutmans * ZendEngine2/zend_execute.c: - Use zend_throw_exception_object() in throw_handler to make sure it - does all the checks 2004-02-12 Zeev Suraski * ZendEngine2/zend_default_classes.c ZendEngine2/zend_default_classes.h ZendEngine2/zend_exceptions.c ZendEngine2/zend_exceptions.h ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c: Exceptions updates: - Enforce exceptions to be derived from class Exception. This allows users to perform catch-all. It's not yet complete, so don't get comfortable with it just yet :) Updates are coming soon. - Implement zend_throw_exception() using zend_throw_exception_ex() 2004-02-12 Andi Gutmans * ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c: - Add API function to throw exception by using an object * (php_5_0_0b4RC1) NEWS configure.in main/php_version.h: - Go with b4 RC 1 (Sanity package) 2004-02-12 Jani Taskinen * (PHP_4_3) NEWS: BFN * (php_5_0_0b4RC1) ext/standard/datetime.c: ws fix * (PHP_4_3) ext/standard/datetime.c: MFH: - Fixed bug #23467 (Showing incorrect Time Zone) * ext/standard/datetime.c: - Fixed bug #23467 (Showing incorrect Time Zone) 2004-02-11 Marcus Boerger * ZendEngine2/zend.c: Must be initialized in ZTS mode * ZendEngine2/ZEND_CHANGES ZendEngine2/ZEND_CHANGES: Update * ZendEngine2/zend_compile.c ZendEngine2/zend_language_parser.y tests/classes/interface_doubled.phpt: Fix: [extends [, ]* ] * (PHP_4_3) NEWS sapi/cgi/cgi_main.c sapi/cli/php_cli.c: MFH: Bug #27104 CLI/CGI SAPI module variable name conflict 2004-02-11 Jani Taskinen * ext/pspell/pspell.c: There is CODING_STANDARDS..at least NEW code should respect those.. * NEWS: style 2004-02-11 Marcus Boerger * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: Bugfix #27104 CLI/CGI SAPI module variable name conflict 2004-02-11 Zeev Suraski * ext/simplexml/simplexml.c: Prevent SimpleXML from silently modifying types of variables that are assigned to its objects. Implementation notes for overloaded object modules: - If you return a zval which is not otherwise referenced by the extension or the engine's symbol table, its reference count should be 0. - If you receive a value zval in write_property/write_dimension, you may only modify it if its reference count is 1. Otherwise, you must create a copy of that zval before making any changes. You should NOT modify the reference count of the value passed to you. Have fun! * ZendEngine2/zend_execute.c: Fix leaks in assignments to overloaded objects 2004-02-11 Brian France * NEWS: - Added checks for invalid characters in a cookie name or cookie data from setrawcookie. (Brian) - Added new pspell functions to set the dict-dir and data-dir options. (Brian) * ext/standard/head.c: Added checks for invalid characters in a cookie name or cookie data from setrawcookie * ext/pspell/php_pspell.h ext/pspell/pspell.c: Added two new functions to set the dict-dir and data-dir options. 2004-02-11 Ilia Alshanetsky * (PHP_4_3) ext/standard/url_scanner_ex.c: MFH: 'Touch' the file to make sure re2c is not needed. * ext/standard/url_scanner_ex.c: 'Touch' the file to make sure re2c is not needed. * (PHP_4_3) NEWS main/user_streams.c: Fixed bug #27183 (userland stream wrapper segfaults on stream_write). * ext/standard/tests/file/bug27183.phpt ext/standard/tests/file/bug27183.phpt: file bug27183.phpt was initially added on branch PHP_4_3. * (PHP_4_3) NEWS ext/session/tests/bug26862.phpt ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re: MFH: Fixed bug #26862 (ob_flush() followed by output_reset_rewrite_vars() may result in data loss). * ext/session/tests/bug26862.phpt: Fixed bug #26862 (ob_flush() followed by output_reset_rewrite_vars() may result in data loss). * ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re: Fixed bug #26862 (ob_flush() followed by output_reset_rewrite_vars() may result in data loss). * (PHP_4_3) configure.in main/php_version.h: Back to dev tree (forgot to restore versions). 2004-02-11 Zeev Suraski * ZendEngine2/zend_execute.c: Fix leak with overloaded objects, when they're used just "for the hell of it" :) 2004-02-11 Ard Biesheuvel * ext/interbase/config.m4: Look in the right place for lib 2004-02-11 Zeev Suraski * tests/func/002.phpt tests/func/003.phpt tests/func/004.phpt: Get rid of some yucky past, and reenable these tests * ZendEngine2/zend_execute.c: Fixed a bug the caused overloaded array indices to be converted to strings * ZendEngine2/zend_execute.c: Turn off bogus warnings with overloaded dimensions and += (and friends) 2004-02-11 Ilia Alshanetsky * sapi/cgi/cgi_main.c: Proper win32 fix. 2004-02-11 Zeev Suraski * ZendEngine2/zend_execute.c: Improve the implementation of unset() on array dimensions to be more consistent with that of regular variables and string offsets * ZendEngine2/zend_execute_API.c: Fix bug #25038 2004-02-11 Rob Richards * ext/simplexml/tests/014.phpt: Fix test 2004-02-11 Zeev Suraski * ZendEngine2/zend_reflection_api.c: Fix crash (patch by Rob Richards) * ZendEngine2/zend.c ZendEngine2/zend_execute_API.c: Fix exceptions thrown without a stack frame Always enable set_exception_handler() 2004-02-11 Rob Richards * ext/simplexml/simplexml.c ext/simplexml/tests/014.phpt ext/simplexml/tests/014a.phpt ext/simplexml/tests/014b.phpt ext/simplexml/tests/016.phpt ext/simplexml/tests/bug27010.phpt: Fix compiler warnings Update tests 2004-02-11 Ard Biesheuvel * ext/interbase/interbase.c: Add version info about run-time client library * ext/interbase/ibase_events.c ext/interbase/ibase_service.c: CS/WS 2004-02-11 Andi Gutmans * configure.in main/php_version.h: - Change to b4 2004-02-11 Zeev Suraski * ZendEngine2/zend_list.h: Change FETCH_RESOURCE to return false on error instead of null, for consistency with other error situations * ext/standard/dl.c: Finally add a notice to hint people that using dl() is a bad idea... * ZendEngine2/zend_compile.c: Fix bug #26802 (the right aspects of it found by Marcus, anyway :) * ZendEngine2/tests/bug26802.phpt: Fix and clarify the test case * ZendEngine2/zend_execute_API.c: Complete the fix for handling of exceptions happening during the argument passing phase of function calls (fixes bug #26866) * ZendEngine2/zend_execute_API.c: whitespace 2004-02-11 Georg Richter * ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c: removed printfs :) Thx Andi! * ext/mysqli/tests/017.phpt ext/mysqli/tests/019.phpt ext/mysqli/tests/020.phpt ext/mysqli/tests/021.phpt ext/mysqli/tests/022.phpt ext/mysqli/tests/023.phpt ext/mysqli/tests/024.phpt ext/mysqli/tests/025.phpt ext/mysqli/tests/026.phpt ext/mysqli/tests/042.phpt ext/mysqli/tests/043.phpt ext/mysqli/tests/046.phpt ext/mysqli/tests/058.phpt ext/mysqli/tests/059.phpt: changed first param in mysqli_bind_param * ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c: changed first parameter in mysqli_bind_param from array to string (as discussed on berlin db meeting) 2004-02-11 Rui Hirokawa * sapi/apache2handler/sapi_apache2.c: fixed a compilation error. 2004-02-10 Zeev Suraski * ZendEngine2/tests/bug26698.phpt: Ignore the memleak in this test * main/config.w32.h: Clear that up * main/main.c: Cleanup * main/config.w32.h main/main.c: Fix report_memleaks 2004-02-10 Ilia Alshanetsky * (PHP_4_3) sapi/cgi/cgi_main.c: MFH: Fixed win32 build. Added missing headers needed for wait(). Removed duplicate signal.h header. * sapi/cgi/cgi_main.c sapi/cgi/libfcgi/include/fcgi_config.h: Fixed win32 build. Fixed building of libfcgi when PHP is built from another directory. Added missing headers needed for wait(). Removed duplicate signal.h header. Removed unneeded variables. 2004-02-10 Zeev Suraski * main/main.c: Whitespace * ZendEngine2/zend_execute.c: Fix bug #26698 (exceptions handled properly during argument passing to functions) 2004-02-10 Ilia Alshanetsky * (PHP_4_3) NEWS main/fopen_wrappers.c: MFH: Fixed bug #26653 (open_basedir incorrectly resolved on win32). * main/fopen_wrappers.c: Fixed bug #26653 (open_basedir incorrectly resolved on win32). 2004-02-10 Zeev Suraski * ZendEngine2/zend_default_classes.c: Fix bug #27186 * ZendEngine2/zend_execute_API.c: Fix bug #26869 2004-02-10 Andi Gutmans * tests/lang/bug22231.phpt tests/lang/bug22510.phpt: Fix a couple of tests 2004-02-10 Zeev Suraski * ZendEngine2/zend_execute.c: Fix refcounting of ++/+= overloading (fix leak in __get()/__set() based classes) 2004-02-10 Jan Lehnardt * ext/tokenizer/tokenizer.c: - fix #27197 for Greg (cellog@php.net) 2004-02-10 Jani Taskinen * tests/lang/bug26866.phpt: Add test case for bug #26866 2004-02-10 Andi Gutmans * ZendEngine2/zend_compile.c: - Nuke more unused code 2004-02-10 Zeev Suraski * ZendEngine2/zend_execute.c: Fix handling in assignment using multidimensional array syntax to string offset ($s = "FUBAR"; $s[0][0] = 1;) 2004-02-10 Andi Gutmans * ZendEngine2/ZEND_CHANGES: - We will go with PHP 4 behavior. With the new object model assigning by reference has lost a lot of its importance. * ZendEngine2/zend_compile.c: - Remove junk 2004-02-10 Zeev Suraski * ZendEngine2/zend_execute.c: Fix exception handling in opcodes spanned across multiple oplines (fixes the crash in __set()) * NEWS: Update NEWS * ext/simplexml/simplexml.c: Implement get callback for SimpleXML (it now supports pre/post increment as well as binary-assign-ops) * ZendEngine2/zend_execute.c: - Fix pre/post increment for overloaded objects - Fix binary-assign-op for overloaded objects NOTE: This requires the implementation of the 'get' callback! 2004-02-10 Moriyoshi Koizumi * ZendEngine2/tests/bug22836.phpt: - Correcting test. 2004-02-10 Jani Taskinen * (PHP_4_3) NEWS: typos 2004-02-10 Ilia Alshanetsky * (PHP_4_3) NEWS sapi/cgi/cgi_main.c: MFH: Fixed bug #26758 (FastCGI exits immediately with status 255). * sapi/cgi/cgi_main.c: Fixed bug #26758 (FastCGI exits immediately with status 255). * (PHP_4_3) NEWS php.ini-dist php.ini-recommended sapi/cgi/cgi_main.c: MFH: Fixed bug #27026 (Added cgi.nph that allows forcing of the Status: 200 header that is not normally needed). * php.ini-dist php.ini-recommended sapi/cgi/cgi_main.c: Fixed bug #27026 (Added cgi.nph that allows forcing of the Status: 200 header that is not normally needed). 2004-02-09 Ilia Alshanetsky * (PHP_4_3) NEWS sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: MFH: Fixed bug #27196 (Missing content_length initialization in apache 2 sapis). * sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: Fixed bug #27196 (Missing content_length initialization in apache 2 sapis). 2004-02-09 Frank M. Kromann * ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.c: Delay creation of exec handle til it's needed 2004-02-09 Ilia Alshanetsky * (PHP_4_3) NEWS ext/gmp/gmp.c: MFH: Fixed bug #27172 (Possible floating point exception in gmp_powm()). * ext/gmp/gmp.c: Fixed bug #27172 (Possible floating point exception in gmp_powm()). * (PHP_4_3) NEWS: Bug fixing news. * (PHP_4_3) main/main.c: MFH: Fixed bug #27175 (tzset() is not being called by PHP on startup). * main/main.c: Fixed bug #27175 (tzset() is not being called by PHP on startup). 2004-02-08 Andi Gutmans * README.PHP4-TO-PHP5-THIN-CHANGES README.Zeus README.input_filter makerpm: - Change from PHP5 -> PHP 5 2004-02-08 Zeev Suraski * ext/com_dotnet/com_handlers.c ext/simplexml/simplexml.c: Update to new API * ZendEngine2/zend_execute.c ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h: Fix write-mode of overloaded objects when using array dimensions 2004-02-08 Andi Gutmans * ZendEngine2/zend_objects_API.c: - Check if free_storage exists 2004-02-07 Jani Taskinen * ext/gmp/gmp.c: Fixed bug #27171 2004-02-07 Georg Richter * ext/mysqli/mysqli.c: fixed cast warning 2004-02-07 Stig Bakken * pear/CMD.php: - obsolete 2004-02-07 Greg Beaver * pear/PEAR.php: fix PATH_SEPARATOR issues - was defined in PHP 4.3.0, but documentation never showed this. 2004-02-06 Ard Biesheuvel * ext/interbase/config.w32 ext/interbase/interbase.c: Fix build with Win32 Interbase 5.x 2004-02-06 Ilia Alshanetsky * (PHP_4_3) sapi/cli/php_cli.c: MFH: Fixed possible memory leak with INI values. * sapi/cli/php_cli.c: Fixed possible memory leak with INI values. * (PHP_4_3) Zend/zend_execute.c: MFH: Fixed bug #24773 (unseting of strings as arrays causes a crash). 2004-02-05 Andrey Hristov * NEWS: typo 2004-02-05 Sebastian Bergmann * ZendEngine2/ZEND_CHANGES: Committing for Jan. 2004-02-05 Stanislav Malyshev * ext/standard/var.c: fix serialization * ext/session/tests/019.phpt: fix test - remove warning 2004-02-05 Antony Dovgal * ext/oci8/oci8.c: fix bug #27149 (offset should start with 1) 2004-02-05 Ilia Alshanetsky * NEWS: Bug fixing news. * ZendEngine2/zend_compile.c ZendEngine2/tests/bug27145.phpt: Fixed bug #27145 (Unmangle private/protected property names before printing then inside error messages). 2004-02-04 Zeev Suraski * ZendEngine2/zend_execute_API.c: Fix exceptions happening inside internal functions called through zend_user_function() * ZendEngine2/zend_execute_API.c: Remove double initialization 2004-02-04 Ilia Alshanetsky * (PHP_4_3) sapi/cli/php_cli.c: MFH: Parse command line ini directives passed using -d before -i, to ensure correct settings output. * sapi/cli/php_cli.c: Parse command line ini directives passed using -d before -i, to ensure correct settings output. 2004-02-04 Wez Furlong * main/streams/streams.c main/streams/transports.c main/streams/xp_socket.c: Fix a bug in the persistent socket liveness checks and feof(); they were using the default socket timeout of 60 seconds before returning the socket to the calling script. The reason they were using that value is that the same code is used for feof(), so the fix is allowing the caller to indicate the timeout value for liveness checks. A possible remaining issue now is that 0 second timeout[1] for pfsockopen is possibly too short; it's impossible to specify a sane value for all possible uses, so maybe we need a stream context or an .ini option to control this, or maybe use the timeout value that was passed to pfsockopen(). 2004-02-04 Marcus Boerger * ZendEngine2/zend_objects.h: Add new prototype * ZendEngine2/zend_reflection_api.c: Fix reflection * tests/classes/this.phpt: Add test * tests/lang/030.phpt: The &new is no longer needed, prevent E_STRICT message 2004-02-04 Andi Gutmans * NEWS: - Added recent stuff to NEWS 2004-02-04 Marcus Boerger * ext/xsl/php_xsl.c: Fix Warning * ZendEngine2/zend_iterators.c: Fix warnings 2004-02-04 Zeev Suraski * ZendEngine2/zend_compile.c: Fixlet * ZendEngine2/zend_compile.c: Fix handling of $this in some cases * tests/lang/bug24573.phpt: Update test (reason: can no longer assign to $this) * tests/classes/final_redeclare.phpt: Update test (reason: early binding changes its behavior) * tests/classes/class_final.phpt: Update test (reason: early binding changes its behavior) * ZendEngine2/zend_compile.c: Handle additional cases * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_language_parser.y: Reinstate early-binding for classes. Note that this is available for downwards compatibility only - and it doesn't work if you use new features (namely, interfaces). Generally, people should declare their classes before using them, but we just didn't want hell to break loose (c) * ZendEngine2/zend_opcode.c: Optimize * ZendEngine2/zend_compile.c: - Improve $this assignment detection and generalize some code in zend_compile.c 2004-02-04 Ilia Alshanetsky * ext/dom/php_dom.c: Fixed compile warnings. 2004-02-04 Zeev Suraski * ZendEngine2/zend_compile.c: -Error out when trying to re-assign $this * ext/sqlite/sqlite.c: kill warning * ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h: The valid bit was necessary after all - restored * ZendEngine2/zend_objects_API.c: Fixlets * ZendEngine2/zend_compile.c ZendEngine2/zend_objects.c: - Small fixes * ZendEngine2/zend_execute.c: - Improve wording * ext/com_dotnet/com_handlers.c ext/com_dotnet/com_misc.c ext/com_dotnet/com_saproxy.c ext/com_dotnet/php_com_dotnet_internal.h ext/dom/php_dom.c ext/mono/php_mono.c ext/mysqli/mysqli.c ext/simplexml/simplexml.c ext/sqlite/sqlite.c ext/xsl/php_xsl.c ext/xsl/php_xsl.h: - Update with new destructor code * ZendEngine2/zend_execute_API.c ZendEngine2/zend_iterators.c ZendEngine2/zend_objects.c ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h ZendEngine2/zend_reflection_api.c: Change destructor implementation (details will follow on internals@) 2004-02-03 Greg Beaver * pear/scripts/pear.bat: re-adding as binary - file is unmodified * pear/scripts/pear.bat: remove in order to re-add as binary 2004-02-03 Marcus Boerger * ZendEngine2/tests/bug24884.phpt ext/simplexml/tests/002.phpt ext/simplexml/tests/006.phpt ext/simplexml/tests/019.phpt tests/classes/__clone_001.phpt tests/classes/clone_001.phpt tests/classes/clone_002.phpt tests/classes/clone_003.phpt tests/classes/clone_004.phpt tests/classes/clone_006.phpt tests/classes/factory_and_singleton_007.phpt tests/classes/factory_and_singleton_008.phpt: Update tests * tests/lang/bug26900.phpt: No longer needed * ZendEngine2/zend_objects.c: Nuke unused variable * ZendEngine2/zend_compile.c: Fix Warning 2004-02-03 Sebastian Bergmann * ZendEngine2/ZEND_CHANGES: clone/__clone() related changes. 2004-02-03 Zeev Suraski * ZendEngine2/zend_compile.c: Remove unused variable 2004-02-03 Jani Taskinen * ext/standard/var_unserializer.c: touch 2004-02-03 Zeev Suraski * ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h: Remove more garbage - valid bit was not really necessary * ZendEngine2/zend_execute_API.c ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h: - Clean garbage (delete was nuked a long time ago) 2004-02-03 Ilia Alshanetsky * (PHP_4_3) configure.in main/php_version.h: Go with RC2 * (PHP_4_3) NEWS: RC2 news bit. * ZendEngine2/zend_execute.c: More unneeded code removed. 2004-02-03 Zeev Suraski * ZendEngine2/zend_execute.c ZendEngine2/zend_language_scanner.l: Abort on parse error in an include file (patch by Ilia) 2004-02-03 Ilia Alshanetsky * (PHP_4_3) Zend/zend_execute.c Zend/zend_language_scanner.l: Revert the old patch for handling of parse errors inside include/require. Add a new, much simpler patch to address the situation. 2004-02-03 Zeev Suraski * ZendEngine2/zend_compile.c: Remove redundant code 2004-02-03 Antony Dovgal * (PHP_4_3) ext/oci8/config.m4 ext/oci8/oci8.c: MFH (making oci8 able to compile with Oracle 10) * ext/oci8/config.m4 ext/oci8/oci8.c: -remove obsolete types -changes in config.m4 to make oci8 to compile with Oracle 10g (thanks to cjbj at hotmail dot com for reporting both problems) 2004-02-03 Stanislav Malyshev * ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re: fix bug #27120 and bug #25975 - preserve is_ref when bound objects are serialized 2004-02-03 Zeev Suraski * ZendEngine2/zend_execute.c: Fix try/catch block logic * ZendEngine2/zend_compile.c ZendEngine2/zend_objects.c: Perform a bitwise copy of the object even when __clone() is defined. __clone() is back to not requiring any arguments, as $that is no longer needed ($this already contains a copy of the original object, by the time we __clone() is executed). Calling the parent clone is done using parent::__clone() * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_default_classes.c ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_globals.h ZendEngine2/zend_language_parser.y ZendEngine2/zend_language_scanner.l ZendEngine2/zend_opcode.c: Rewrote exception support. Fixes a few limitations and bugs in the old implementation, and allows exceptions to 'fire' much earlier than before. Instructions on how to use the new mechanism will follow on internals@ shortly... Note - this (most probably) breaks the current implementation of set_exception_handler() 2004-02-03 Stig Bakken * ext/sqlite/config.m4: SQLITE_ENCODING should be UTF8 rather than UTF-8 2004-02-03 Martin Kraemer * build/build.mk: Prevent cvsclean from being removed on interrupts 2004-02-03 Jani Taskinen * NEWS: order 2004-02-03 Vlad Krupin * ext/pspell/pspell.c: This should allow us to read dictionary locations from the win32 registry when we use a custom config. Not doing so when I added win32 support was an oversight. Now all pspell_new_* functions should be usable on win32. 2004-02-03 Ilia Alshanetsky * ext/snmp/snmp.c: Fixed possible overflow. 2004-02-02 Andrey Hristov * ext/skeleton/php_skeleton.h ext/skeleton/php_skeleton.h: typo fix 2004-02-02 Ard Biesheuvel * NEWS: Interbase news * ext/interbase/ibase_service.c ext/interbase/interbase.c: Use correct flag for repair options * ext/interbase/ibase_service.c: Fix Win32 build * ext/interbase/ibase_service.c ext/interbase/interbase.c ext/interbase/php_interbase.h: Use php_ prefix for header files Added nearly complete implementation of service API * ext/interbase/ibase_blobs.c ext/interbase/ibase_events.c ext/interbase/interbase.h ext/interbase/php_ibase_includes.h: Use php_ prefix for header files. 2004-02-02 Zeev Suraski * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_language_parser.y ZendEngine2/zend_language_scanner.l ZendEngine2/zend_objects.c: Redesign the clone() feature to fix some fundamental flaws in the previous implementation. Using clone directly is now done using $replica = clone $src; Clone methods must now be declared as follows: function __clone($that) { } Clone methods in derived classes can call the __clone method of their parent classes using parent::__clone($that) 2004-02-02 Antony Dovgal * ext/oci8/oci8.c: add missing alias for ocifreecursor() 2004-02-02 Jani Taskinen * ext/simplexml/simplexml.c: CS fix (functions should not be available if they are not available :) 2004-02-02 Antony Dovgal * ext/oci8/oci8.c: fix yet another possible segfault 2004-02-02 Ilia Alshanetsky * ext/calendar/calendar.c: Fixed possible overflows. 2004-02-01 Moriyoshi Koizumi * (PHP_4_3) ext/pcre/php_pcre.c: MFH(r-1.153): POSIX / ISO compliancy. 2004-02-01 Ard Biesheuvel * ext/interbase/ibase_blobs.c: No explicit inline (fixes Win32 linkage issue) * ext/interbase/interbase.h: Whoops line endings * ext/interbase/ibase_blobs.c ext/interbase/ibase_events.c ext/interbase/ibase_service.c ext/interbase/interbase.c ext/interbase/interbase.h ext/interbase/php_interbase.h: Remove extension internals from php_interbase.h * ext/interbase/config.m4 ext/interbase/config.w32: Test for Interbase version 6 API in 'configure' * ext/interbase/config.m4 ext/interbase/config.w32 ext/interbase/ibase_blobs.c ext/interbase/ibase_events.c ext/interbase/ibase_service.c ext/interbase/interbase.c ext/interbase/php_interbase.h: Added backup/restore functions Split interbase.c into several files 2004-02-01 Sebastian Bergmann * ext/pcre/php_pcre.c: ZTS fix. 2004-02-01 Moriyoshi Koizumi * ext/pcre/tests/bug27103.phpt: - Forgot to add test case. * ext/pcre/php_pcre.h: - Binary compatibility stuff, for safety. 2004-01-31 Greg Beaver * pear/PEAR/Command/Package.php: make pear run-tests work with PEAR core tests, allow it to work for Windows users as well 2004-01-31 Moriyoshi Koizumi * NEWS ext/pcre/php_pcre.c ext/pcre/php_pcre.h: - Fix bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets). * ext/pcre/php_pcre.c: - POSIX / ISOX compliancy. This is needed to correctly handle UTF-8 characters. 2004-01-31 Marcus Boerger * ZendEngine2/zend_reflection_api.c: Throw an exception in case a reflection object cannot be found and do not override the exception from constructors in static method calls. 2004-01-31 Georg Richter * ext/mysqli/mysqli_api.c: Corrected binding: if column has type DECIMAL it will converted to string now. Thanks to Brian Aker for pointing this out. 2004-01-30 Georg Richter * ext/mysqli/mysqli_prop.c: added nuw_rows property for statement object 2004-01-30 Wez Furlong * CODING_STANDARDS: word fix 2004-01-30 Jani Taskinen * NEWS: order 2004-01-30 Marcus Boerger * CODING_STANDARDS: Include Sascha's indendation hint * CODING_STANDARDS: Newer compilers don't need this so many people don't know. Hence we make it a coding standard. 2004-01-30 Ilia Alshanetsky * (PHP_4_3) Zend/zend_execute.c: MFH: Apply the same parse error handling to (include|require)_once as the one for their non-once counterparts. * ZendEngine2/zend_execute.c: Apply the same parse error handling to (include|require)_once as the one for their non-once counterparts. 2004-01-30 Sara Golemon * NEWS ext/standard/http_fopen_wrapper.c: Fix potential bug in http:// proxy support. Some proxy servers require entire URI be sent in request string. Add context option "http"/"request_fulluri" to allow this behavior. 2004-01-29 Ilia Alshanetsky * ext/sqlite/config.m4: Proper configure switch for sqlite. * (PHP_4_3) sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: MFH: Apache 2 portion of the fix for bug #25753. * sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: Apache 2 portion of the fix for bug #25753. * (PHP_4_3) ext/standard/file.c ext/standard/tests/file/fgetcsv.phpt: Fix for a possible crash in fgetcsv(). (Patch by Moriyoshi Koizumi) 2004-01-29 Jani Taskinen * (PHP_4_3) NEWS: typofix 2004-01-29 Ilia Alshanetsky * (PHP_4_3) NEWS ext/pgsql/pgsql.c: MFH: Fixed bug #27007 (missing connection closure when connect fails in pgsql) * ext/pgsql/pgsql.c: Fixed bug #27007 (missing connection closure when connect fails in pgsql). * (PHP_4_3) NEWS sapi/apache2handler/sapi_apache2.c: MFH: Fixed bug #27037 (fixed possible crash in apache2handler output code). * sapi/apache2handler/sapi_apache2.c: Fixed bug #27037 (fixed possible crash in apache2handler output code). 2004-01-29 Rob Richards * ext/xsl/xsltprocessor.c: fix corruption when cloneDocument is not defined 2004-01-29 Sara Golemon * (PHP_4_3) NEWS: BFN * main/main.c main/main.c: This should not have been an INI_ALL directive. 2004-01-28 Georg Richter * ext/mysqli/EXPERIMENTAL ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_fe.c ext/mysqli/mysqli_nonapi.c ext/mysqli/mysqli_prop.c ext/mysqli/mysqli_report.c ext/mysqli/php_mysqli.h: removed experimental status fixed bug in mysqli_data_seek (thx to Andrey "Effendi" Hristov) various prototype fixes moved some methods to properties which are part of mysql struct added function mysqli_get_server_version 2004-01-28 Sara Golemon * ext/standard/ftp_fopen_wrapper.c: FTP dirstream_read should not leave whitespace/newlines on dirents 2004-01-28 Zeev Suraski * ZendEngine2/zend_compile.c: Tweak checks to detect some additional cases. Reorder checks to make more sense. 2004-01-28 Sara Golemon * ext/standard/dir.c main/php_streams.h main/streams/streams.c: 'Bug Fix': scandir, being a new function in PHP5 should have always been wrapper aware. 2004-01-28 Ilia Alshanetsky * (PHP_4_3) NEWS ext/pcre/php_pcre.c: MFH: Fixed bug #27011 (64bit int/long confusion in preg_match*() functions) * ext/pcre/php_pcre.c: Fixed bug #27011 (64bit int/long confusion in preg_match*() functions). 2004-01-28 Andrey Hristov * ext/standard/array.c: this should not belong to HEAD 2004-01-28 Jani Taskinen * (PHP_4_3) NEWS: BFN 2004-01-28 Rasmus Lerdorf * sapi/apache_hooks/mod_php5.c: Fix applies to apache_hooks sapi as well. See bug #25753 for details. * sapi/apache/mod_php5.c: MFB - see bug #25753 for details * (PHP_4_3) sapi/apache/mod_php4.c: If we have a text/html file with the executable bit set, we load up the current ini, but if php's xbithack option is not set we forgot to restore the previous ini settings potentially leaking ini settings from one request to the next. Closes bug #25753 and a few others. 2004-01-28 Martin Kraemer * ext/gd/gd_ctx.c ext/gd/gd_ctx.c: Bug fix: Images would be broken on big-endian machines because the putc function wrote the first (instead of "the low order") byte. That resulted in unexpected zero bytes. 2004-01-28 Zeev Suraski * ZendEngine2/zend_compile.c: - Error message fix - Prevent inheritance of the same constant from two interfaces * ZendEngine2/zend_compile.c: Fixlets * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h: Prevent classes from implementing interfaces that have the same function * ZendEngine2/zend_execute.c: Whitespace * ZendEngine2/zend_compile.c: Code relayout * ZendEngine2/zend_execute_API.c: Forward-port fix for timeouts under Windows 2004-01-28 Antony Dovgal * ext/oci8/oci8.c: two fixes: -oci_lob_load shouldn't reset LOB's length to zero -Oracle feels bad, but reports no error, when trying to erase LOB with offset bigger than LOB 2004-01-28 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. * (PHP_4_3) ext/sybase/php_sybase_db.c: MFH: Fixed bug #27058 (crash in sybase_connect() with 2 arguments). * ext/sybase/php_sybase_db.c: Fixed bug #27058 (crash in sybase_connect() with 2 arguments). * (PHP_4_3) NEWS ext/gd/gd.c: MFH: Fixed bug #27056 (ints used instead of longs inside some GD functions) * ext/gd/gd.c: Fixed bug #27056 (ints used instead of longs inside some GD functions). 2004-01-27 Andrey Hristov * ext/mysql/php_mysql.c: message about that mysql_list_tables() is deprecated 2004-01-27 Wez Furlong * main/streams/transports.c: Fix segfault for scripts like this: Where the transport fails to connect (since args are bogus); the problem was that the persistent stream entry was not correctly freed. 2004-01-27 Georg Richter * ext/mysqli/mysqli_api.c: changed prototype mysql_dataseek from void to bool add check for specified offset * ext/mysqli/mysqli_api.c ext/mysqli/mysqli_fe.c: prototype fixes removed method field_tell (which is already property current_field) 2004-01-27 Ilia Alshanetsky * main/streams/userspace.c: Removed unused variable. 2004-01-27 Marcus Boerger * (PHP_4_3) makerpm: still version 4 here * (PHP_4_3) makerpm: Use RPM variables 2004-01-26 Marcus Boerger * ZendEngine2/zend_interfaces.c ZendEngine2/zend_interfaces.h: - Export struct zend_user_iterator - Ad 'it' to function prefix to prevent naming clashes - Export zend_user_it_free_current * NEWS: Fixed bug #27042 (SPL: SeekableIterator seek() broken). 2004-01-26 Georg Richter * ext/mysqli/mysqli_api.c: fixed compiler warning (thx to Marcus Boerger) 2004-01-26 Antony Dovgal * ext/oci8/oci8.c: change to use different allocator (Sascha, thanks =) ) * ext/oci8/oci8.c: fix this annoying notice about limited range * ext/oci8/oci8.c: improve debug messages * ext/oci8/oci8.c: oops =( forgot these brackets.. * ext/oci8/oci8.c: fix oci_field_type_raw's proto oci_collection_element_get should return FALSE only if there is no such element and NULL, if it's null 2004-01-26 Adam Dickmeiss * ext/yaz/config.m4 ext/yaz/php_yaz.c ext/yaz/php_yaz.h: New function yaz_es that creates Z39.50 Extended Service Package to facilitate record update, database create, database drop. 2004-01-26 Georg Richter * ext/mysqli/mysqli_api.c ext/mysqli/mysqli_fe.c: proto fixes removed mysqli_read_query_result (will be removed in libmysql) 2004-01-26 Sebastian Bergmann * CODING_STANDARDS: Update URL. 2004-01-26 Marcus Boerger * ext/dba/README: Add README 2004-01-26 Georg Richter * ext/mysqli/mysqli_api.c ext/mysqli/mysqli_nonapi.c: more prototype fixes. fixed a bug in mysqli_send_long_data 2004-01-26 Jani Taskinen * ext/curl/interface.c: - Fixed compile problem with CURLOPT_HTTPAUTH * tests/lang/bug26900.phpt: test for bug #26900 * php.ini-dist php.ini-recommended main/main.c main/php_globals.h main/php_variables.c: - Remove gpc_order since it doesn't serve any purpose. 2004-01-26 Pierre-Alain Joye * (RELEASE_1_3b6) pear/scripts/pearcmd.php: - "Fix" the command name in the usage text * (RELEASE_1_3b6) pear/package-PEAR.xml: - # 521 entry * (RELEASE_1_3b6) pear/PEAR/Common.php: - Remove useless property * pear/PEAR/Common.php: - Fix #521, incorrect filename in CS warnings 2004-01-26 Moriyoshi Koizumi * (PHP_4_3) NEWS: BFN 2004-01-26 Jani Taskinen * (PHP_4_3) NEWS ext/curl/curl.c: MFH: - Fixed bug #27040 (passing an array of form-fields to CURLOPT_POSTFIELDS does not work). * ext/curl/interface.c: - Fixed bug #27040 (passing an array of form-fields to CURLOPT_POSTFIELDS does not work). 2004-01-26 Ilia Alshanetsky * (PHP_4_3) NEWS: A better bug description, for people without the official Ilia decoder ring. 2004-01-25 Ilia Alshanetsky * (PHP_4_3) NEWS: bug fixing news. * (PHP_4_3) Zend/zend_execute.c: MFH: Fixed bug #26814 (On parse error include included file, terminate execution script). * ZendEngine2/zend_execute.c: Fixed bug #26814 (On parse error include included file, terminate execution script). 2004-01-25 Pierre-Alain Joye * pear/PEAR.php: - Use is_a * pear/package.dtd: WS * (PHP_4_3) pear/package.dtd: - 2004 (c) * (PHP_4_3) pear/CMD.php pear/PEAR.php pear/System.php pear/PEAR/Autoloader.php pear/PEAR/Builder.php pear/PEAR/Command.php pear/PEAR/Config.php pear/PEAR/Dependency.php pear/PEAR/Downloader.php pear/PEAR/Installer.php pear/PEAR/Packager.php pear/PEAR/Registry.php pear/PEAR/Command/Auth.php pear/PEAR/Command/Build.php pear/PEAR/Command/Common.php pear/PEAR/Command/Config.php pear/PEAR/Command/Install.php pear/PEAR/Command/Mirror.php pear/PEAR/Command/Package.php pear/PEAR/Command/Remote.php pear/PEAR/Frontend/CLI.php pear/scripts/pear.bat pear/scripts/pearcmd.php pear/scripts/pearwin.php: - year++; * pear/packages/DB-1.6.0RC1.tar pear/packages/HTTP-1.2.2.tar pear/packages/Mail-1.1.2.tar: - Update Mail, HTTP and DB. Adding new archives * pear/packages/DB-1.5.0RC1.tar pear/packages/HTTP-1.2.1.tar pear/packages/Mail-1.1.0.tar: - Update HTTP, DB and Mail packages * pear/packages/Mail-1.1.2.tar pear/packages/Mail-1.1.2.tar: file Mail-1.1.2.tar was initially added on branch PHP_4_3. * pear/packages/DB-1.6.0RC1.tar pear/packages/DB-1.6.0RC1.tar pear/packages/HTTP-1.2.2.tar pear/packages/HTTP-1.2.2.tar: file DB-1.6.0RC1.tar was initially added on branch PHP_4_3. * (PHP_4_3) pear/packages/DB-1.5.0RC2.tar pear/packages/HTTP-1.2.1.tar pear/packages/Mail-1.1.1.tar: - Prepare 4.3.5, remove old archives 2004-01-25 Ilia Alshanetsky * (PHP_4_3) NEWS: sybase_ct extension fixes and improvements by Timm Friebe. 2004-01-25 Timm Friebe * ext/sybase_ct/php_sybase_ct.c ext/sybase_ct/php_sybase_ct.h: 2004-01-25 Ard Biesheuvel * php.ini-dist php.ini-recommended: MySQL is no longer built in by default * ext/standard/url.c: CS 2004-01-25 Andrey Hristov * NEWS: entrt about feature request #24258 2004-01-25 Marcus Boerger * NEWS NEWS: BFN * ZendEngine2/zend_execute.c ZendEngine2/zend_iterators.c ZendEngine2/zend_iterators.h: Respect proeprty visibility in foreach * ZendEngine2/tests/bug26696.phpt: Update test 2004-01-25 Ard Biesheuvel * ext/interbase/config.w32: Check for both Firebird 1+ and Interbase/FB1 2004-01-25 Georg Richter * ext/mysqli/mysqli_api.c: prototype fix for mysqli_fetch 2004-01-25 Jani Taskinen * ext/standard/file.c: Fixed bug #27020 (Compile failure; sys/select.h: No such file or directory) 2004-01-25 Ard Biesheuvel * ext/standard/ftp_fopen_wrapper.c ext/standard/url.c ext/standard/url.h: Changed prototypes to allow parsing of string literals and constant strings Minor CS/WS 2004-01-24 Marcus Boerger * ZendEngine2/zend_API.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute_API.c tests/lang/bug23384.phpt: Switch from ZEND_ACC_DYNAMIC to ZEND_ACC_ALLOW_STATIC and disallow calling internal non-static methods statically. 2004-01-24 Georg Richter * ext/mysqli/mysqli_api.c: prototype fixes 2004-01-24 Sebastian Bergmann * ZendEngine2/zend_execute.c ZendEngine2/zend_execute_API.c: Change message as proposed by Jon. 2004-01-24 Timm Friebe * ext/sybase_ct/php_sybase_ct.c: 2004-01-24 Marcus Boerger * README.PHP4-TO-PHP5-THIN-CHANGES: This is a definitive 'must' 2004-01-24 Andrey Hristov * ext/standard/array.c: Added third parameter (optional) to array_keys for strictness. It behaves like the "strict" parameter of in_array(). * README.PHP4-TO-PHP5-THIN-CHANGES: Adding note about declaration first use after that for classes. 2004-01-23 Marcus Boerger * ZendEngine2/zend_API.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute_API.c: Simplify detection of methods that must be called dynamic (with object) * ZendEngine2/zend_execute.c ZendEngine2/zend_execute_API.c: Disallow calling __clone/__construct/__destruct static Send an E_STRICT when calling a non static method static * ZendEngine2/zend_API.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h: Disallow static declaration of clone 2004-01-23 Jani Taskinen * ext/pcntl/pcntl.c: typofix (thanks to Mehdi Achour for noticing this) * ZendEngine2/zend_constants.h ZendEngine2/zend_ini.h ext/mysqli/php_mysqli.h ext/ncurses/php_ncurses.h ext/session/php_session.h: Silence some compile warnings 2004-01-22 Rob Richards * ext/dom/tests/dom003.phpt: update test 2004-01-22 Marcus Boerger * ext/simplexml/tests/bug27010.phpt: Add new test * ext/simplexml/tests/007.phpt ext/simplexml/tests/015.phpt ext/simplexml/tests/016.phpt ext/simplexml/tests/bug24392.phpt: Update tests 2004-01-22 Rob Richards * ext/simplexml/php_simplexml.h ext/simplexml/simplexml.c: Fix bug #27010: segfault after returning nodes with children() Fix segfault in match_ns when matching prefix and node without ns some general cleanup and code consilidation better write handling - engine support dependent better isset handling - engine support dependent namespace fixes for reading/writing * ext/dom/attr.c ext/dom/cdatasection.c ext/dom/comment.c ext/dom/document.c ext/dom/documentfragment.c ext/dom/element.c ext/dom/entityreference.c ext/dom/namednodemap.c ext/dom/nodelist.c ext/dom/php_dom.c ext/dom/php_dom.h ext/dom/processinginstruction.c ext/dom/text.c ext/dom/xpath.c: update constructors so they cant be called statically 2004-01-22 Marcus Boerger * ZendEngine2/zend_default_classes.c: Fix internal access to exception properties 2004-01-22 Antony Dovgal * ext/oci8/config.w32: add collections support to win32 build * ext/oci8/oci8.c: add missing protos and some minor changes * ext/oci8/oci8.c: MFB oci_lob_save() should be removed indeed, but we're already in feature freeze =( 2004-01-22 Jani Taskinen * (PHP_4_3) ext/standard/fsock.c: Nuke unused variable 2004-01-21 Jani Taskinen * ext/standard/tests/file/bug26938.phpt: test case for bug #26938 2004-01-21 Marcus Boerger * tests/classes/interface_doubled.phpt: Change to correct syntax. * CODING_STANDARDS: All technical reasons that prevented us from studlyCaps are solved and all current extensions as well as the whole PEAR framework follow this rule. So for consistency i readd it. 2004-01-21 Ilia Alshanetsky * NEWS ext/standard/exec.c: Fixed bug #26938 (exec() has problems reading long lines). 2004-01-21 Antony Dovgal * ext/oci8/oci8.c: -change constant name, coz it doesn't comply with others *add constant's alias, coz others do have aliases *change protos (oops =)) *add notices to collection functions *change coll_element_get & coll_assign to inform user, that this type of element is not supported yet. 2004-01-21 Rob Richards * ext/simplexml/simplexml.c ext/simplexml/tests/profile10.phpt: Fix namespace regression bug Read attributes correctly Update sxe_prop_dim_exists logic Update profile 2004-01-21 Antony Dovgal * ext/oci8/oci8.c: fix potential segfault in oci_lob_write() change oci_lob_trim() - truncate length should be 0 by default. 2004-01-21 Rob Richards * ext/simplexml/simplexml.c ext/simplexml/tests/015.phpt: Fix Bug #26976 (Can not access array elements using array indices) return index 0 as non iterable object update test 2004-01-21 Ard Biesheuvel * ext/interbase/interbase.c: MFB 2004-01-21 Hartmut Holzgraefe * NEWS: News update on new streams method * main/streams/userspace.c: stream_lock() method added to userspace streams wrapper 2004-01-21 Ard Biesheuvel * (PHP_4_3) NEWS ext/interbase/interbase.c: Fixed bug #26968 (Segfault with Interbase module built as shared) 2004-01-21 Jon Parise * ext/sqlite/Makefile.frag: Adding dependencies on sqlite.h for the rest of the source files in the libsqlite distribution. 2004-01-21 Jani Taskinen * .cvsignore build/build.mk: Last php4 occurances.. 2004-01-21 Marcus Boerger * (PHP_4_3) makerpm: Add these files to the actual package * (PHP_4_3) makerpm: Make this thing actually work again 2004-01-21 Jani Taskinen * ext/bz2/config.m4: Break out the test with first hit. 2004-01-21 Sara Golemon * ext/standard/tests/file/userwrapper.phpt: Typo 2004-01-21 Jani Taskinen * (PHP_4_3) NEWS ext/standard/formatted_print.c: MFH: - Fixed bug #26973 (*printf() + modifier broken) * ext/standard/formatted_print.c: - Fixed bug #26973 (*printf() + modifier broken) * ext/standard/tests/strings/bug26973.phpt: extend a bit * ext/standard/tests/strings/bug26973.phpt: test case for bug #26973 * ext/simplexml/tests/bug26976.phpt: typo fix * ext/simplexml/tests/bug26976.phpt: test for bug #26976 2004-01-21 Ilia Alshanetsky * (PHP_4_3) NEWS ext/standard/file.c: MFH: Fixed bug #26974 (rename() doesn't check the destination file against safe_mode/open_basedir). * main/streams/plain_wrapper.c: Fixed bug #26974 (rename() doesn't check the destination file against safe_mode/open_basedir). 2004-01-21 Jani Taskinen * ext/simplexml/simplexml.c: Goto targets should not be indented (some compilers choke on this, iirc) 2004-01-20 Antony Dovgal * (PHP_4_3) ext/oci8/oci8.c: fix savelob() to make it possible to write data at the beginning of LOB 2004-01-20 Rob Richards * ext/dom/document.c ext/dom/dom_iterators.c ext/dom/xpath.c: Warn when empty string supplied to load methods (by Pierre-Alain) Fix refcount on xpath iterators xpath_query should return nodelist even when empty 2004-01-20 Wez Furlong * ext/com_dotnet/README: update todo part of readme 2004-01-20 Marcus Boerger * ext/dom/xpath.c: Fix warning (and possible problem) 2004-01-20 Sterling Hughes * ext/simplexml/simplexml.c: - 2004-01-20 Jani Taskinen * (PHP_4_3) NEWS acinclude.m4: MFH: Fixed bug #26969 (shared openssl build fails) * acinclude.m4: - Fixed Bug #26969 (shared openssl build fails) * NEWS: BfN * tests/lang/bug26696.phpt: test case for bug #26696 2004-01-19 Frank M. Kromann * ext/simplexml/simplexml.c: Fix compilation of simplexml when spl is build as shared object 2004-01-19 Christian Stocker * ext/dom/xpath.c: Fix leaks in dom_xpath_query (create retval only if requiered) by Pierre-Alain * ext/dom/document.c: fixes segfault, if file doesn't exist (by Pierre-Alain) 2004-01-19 Marcus Boerger * (PHP_4_3) makerpm: Correct license * (PHP_4_3) sapi/cgi/cgi_main.c: Fix a memleak 2004-01-19 Jani Taskinen * (PHP_4_3) NEWS ext/standard/basic_functions.c: - Fixed bug #26381 (rand() without srand() doesn't work with certain php.ini) * ext/standard/basic_functions.c: - Make sure srand() / mt_srand() are really called. 2004-01-19 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. * (PHP_4_3) ext/standard/file.c: MFH: Fixed bug #26967 (make various file operations return FALSE on error). * ext/standard/file.c: Fixed bug #26967 (make various file operations return FALSE on error). 2004-01-19 Christian Stocker * NEWS: added missing dots.. * NEWS ext/xsl/xsltprocessor.c: Cosmetics and NEWS entry 2004-01-19 Moriyoshi Koizumi * (PHP_4_3) ext/mbstring/tests/mb_strlen.phpt: - MFH(r-1.3): Turn off mbstring.func_overload as this test uses plain strlen() for comparison. * ext/mbstring/tests/mb_strlen.phpt: - Turn off mbstring.func_overload as this test uses plain strlen() for comparison. 2004-01-19 Christian Stocker * ext/xsl/php_xsl.c ext/xsl/php_xsl.h ext/xsl/xsl_fe.h ext/xsl/xsltprocessor.c: without that method call, it is not allowed to call php functions from xslt stylesheets for security reasons. 2004-01-19 Martin Jansen * pear/PEAR.php: - CS 2004-01-19 Andi Gutmans * ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h: - Hopefully fix bug #26696. - Please let me know if hell-breaks loose 2004-01-19 Zeev Suraski * (PHP_4_3) Zend/zend_execute_API.c: Backport fix for bug #21513 2004-01-19 Derick Rethans * NEWS: - SPL lives now in ext/ 2004-01-19 Ilia Alshanetsky * ext/standard/tests/file/fgetcsv.phpt: Added fgetcsv() tests. 2004-01-19 Greg Beaver * pear/System.php: fix -m argument to mkDir(). Conversion to octal was not being made, and a string should never be passed into mkdir(). Thanks to Alex Hayes 2004-01-19 Jani Taskinen * (PHP_4_3) ext/standard/crypt.c ext/standard/rand.c: MFH: Moved php_srand() call into php_rand(). * ext/standard/crypt.c ext/standard/rand.c: - Moved php_srand() call into php_rand(). * NEWS NEWS: BFN * (PHP_4_3) NEWS ext/standard/php_rand.h: MFH: - Fixed bug #26949 (rand(min,max) always returns min when ZTS enabled) * ext/standard/php_rand.h: - Fixed bug #26949 (rand(min,max) always returns min when ZTS enabled) 2004-01-19 Marcus Boerger * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: Add zend_get_module_started() to quickly check whether a module is present and its MINIT function has been called. 2004-01-18 Marcus Boerger * ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c: Improove debug capabilities * ext/simplexml/php_simplexml_exports.h ext/simplexml/simplexml.c ext/simplexml/simplexml.h: Rename header to prevent name clashes with external files * ext/simplexml/simplexml.c: Necessary as long as SPL is shared/dll * ext/sqlite/tests/sqlite_oo_031.phpt: Update, id_l is unique * ext/sqlite/tests/sqlite_oo_031.phpt: Add spl interaction test. 2004-01-18 Moriyoshi Koizumi * ext/standard/file.c: Fix fgetcsv() to reflect the change on 4.3.5 behaviour. 2004-01-18 Marcus Boerger * ext/sqlite/tests/bug26911.phpt ext/sqlite/tests/sqlite_oo_029.phpt: Update 2004-01-18 Derick Rethans * ext/mcrypt/config.w32: - This define is not used anymore 2004-01-18 Ilia Alshanetsky * (PHP_4_3) ext/standard/file.c ext/standard/tests/file/bug26634.phpt: Corrections for various fgetcsv() issues. 2004-01-18 Timm Friebe * ext/sybase_ct/php_sybase_ct.c: - Fixed compiler warnings (int format, long int arg) 2004-01-18 Marcus Boerger * ext/simplexml/simplexml.c: Fix Warning * ext/simplexml/php_simplexml.h ext/simplexml/simplexml.c ext/simplexml/simplexml.h: Enable inherited classes inside SPL and respect order of module init. * ext/simplexml/tests/002.phpt ext/simplexml/tests/003.phpt ext/simplexml/tests/003.xml ext/simplexml/tests/007.phpt ext/simplexml/tests/008.phpt ext/simplexml/tests/010.phpt: Use external files only in 001.phpt & tests for bugs * ext/simplexml/php_simplexml.h ext/simplexml/simplexml.c: Export access to class_entry by function. 2004-01-18 Christian Stocker * ext/dom/document.c: - fix for bug #26947 Crash by using DomDocument::getElementById() 2004-01-18 Marcus Boerger * ZendEngine2/zend_reflection_api.c: Fix some casing issues 2004-01-17 Sterling Hughes * ext/simplexml/tests/profile08.phpt ext/simplexml/tests/profile11.phpt: update the tests proper-like * ext/simplexml/examples/security.php ext/simplexml/examples/xpath.php: update the examples * ext/simplexml/php_simplexml.h ext/simplexml/simplexml.c ext/simplexml/tests/profile04.phpt ext/simplexml/tests/profile05.phpt ext/simplexml/tests/profile06.phpt ext/simplexml/tests/profile07.phpt ext/simplexml/tests/profile10.phpt: namespace accesses are now soley URI based as opposed to prefix based. 2004-01-17 Jon Parise * ext/sqlite/Makefile.frag: Make the compilation of vdbeaux.c dependent on the generation of sqlite.h. An incremental 'make -j' build will now complete successfully. 2004-01-17 Andrey Hristov * README.PHP4-TO-PHP5-THIN-CHANGES: use Rasmus' words 2004-01-17 Derick Rethans * ext/simplexml/README: - Fix typoes 2004-01-17 Jon Parise * ext/simplexml/README: Spell 'element' correctly. 2004-01-17 Andrey Hristov * README.PHP4-TO-PHP5-THIN-CHANGES: adding info about $argc and $argv in CLI mode 2004-01-17 Marcus Boerger * ext/simplexml/CREDITS ext/simplexml/README ext/simplexml/php_simplexml.h ext/simplexml/simplexml.c ext/simplexml/tests/006.phpt ext/simplexml/tests/007.phpt ext/simplexml/tests/008.phpt ext/simplexml/tests/011.phpt ext/simplexml/tests/012.phpt ext/simplexml/tests/014.phpt ext/simplexml/tests/014a.phpt ext/simplexml/tests/014b.phpt ext/simplexml/tests/015.phpt ext/simplexml/tests/016.phpt ext/simplexml/tests/017.phpt ext/simplexml/tests/018.phpt ext/simplexml/tests/019.phpt ext/simplexml/tests/bug25756.phpt: Major bugfix for consistency. 2004-01-17 Andrey Hristov * README.PHP4-TO-PHP5-THIN-CHANGES: Clarification about phpDoc comments. Spotted by Greag Beaver. 2004-01-17 Marcus Boerger * ext/sqlite/sqlite.c: No longer needed 2004-01-17 Andrey Hristov * ext/tokenizer/tokenizer.c ext/xml/xml.c: HEAD is bundled with ZE2 2004-01-17 Marcus Boerger * ext/simplexml/tests/005.xml ext/simplexml/tests/006.xml ext/simplexml/tests/009.xml: Drop the external xml files no longer needed * ext/simplexml/tests/005.phpt ext/simplexml/tests/006.phpt ext/simplexml/tests/009.phpt: No external xml files * ext/simplexml/tests/004.phpt ext/simplexml/tests/004.xml: Don't use external xml files 2004-01-17 Greg Beaver * pear/package-PEAR.xml pear/PEAR/Common.php: fix Bug #594 PEAR_Common::analyzeSourceCode fails on string with $var and { also fixes SOAP packaging error 2004-01-17 Marcus Boerger * ZendEngine2/zend_interfaces.c: 2004-01-17 Sterling Hughes * ext/simplexml/tests/profile06.phpt ext/simplexml/tests/profile07.phpt ext/simplexml/tests/profile10.phpt: remove the parser errors here, so they accurately reflect what should happen. 2004-01-17 Marcus Boerger * ZendEngine2/zend_interfaces.c: Fix inheritance rule for interface Traversable * ext/simplexml/simplexml.c: Fix parameter list and protos * ext/simplexml/tests/010.phpt: Add test for inherited simplexml classes * ext/simplexml/simplexml.c: Make inherited sxe classes work 2004-01-17 Jani Taskinen * ChangeLog README.PHP4-TO-PHP5-THIN-CHANGES README.Zeus configure.in php4.spec.in php5.spec.in ZendEngine2/tests/bug26802.phpt ext/bz2/bz2.dsp ext/com_dotnet/README ext/cpdf/cpdf.dsp ext/ctype/ctype.dsp ext/curl/curl.dsp ext/dba/dba.dsp ext/dbase/dbase.dsp ext/dbx/dbx.dsp ext/dio/tests/001.phpt ext/dom/dom.dsp ext/exif/exif.dsp ext/fbsql/fbsql.dsp ext/fdf/fdf.dsp ext/filepro/filepro.dsp ext/gd/gd.dsp ext/gettext/gettext.dsp ext/gmp/tests/001.phpt ext/iconv/iconv.dsp ext/imap/imap.dsp ext/informix/ifx.dsp ext/informix/ifx.ec ext/ingres_ii/README ext/ingres_ii/ingres.dsp ext/interbase/interbase.dsp ext/ldap/LDAP_Win32_HOWTO.txt ext/ldap/ldap.dsp ext/ldap/ldap.mak ext/mbstring/mbstring.c ext/mbstring/mbstring.dsp ext/mbstring/mbstring.h ext/mcrypt/mcrypt.dsp ext/mcve/config.m4 ext/mcve/mcve.dsp ext/mcve/tests/001.phpt ext/mhash/mhash.dsp ext/mime_magic/mime_magic.dsp ext/ming/ming.dsp ext/mnogosearch/README ext/mnogosearch/index.php ext/msql/msql.dsp ext/mssql/mssql.dsp ext/mssql/mssql_win32_howto.txt ext/mssql/php_mssql.c ext/mysql/mysql.dsp ext/mysqli/mysqli.dsp ext/ncurses/tests/001.phpt ext/oci8/oci8.dsp ext/odbc/config.m4 ext/openssl/README ext/openssl/openssl.dsp ext/oracle/oracle.dsp ext/pdf/pdf.dsp ext/pgsql/pgsql.dsp ext/pspell/README ext/pspell/pspell.dsp ext/shmop/README ext/shmop/shmop.dsp ext/simplexml/simplexml.dsp ext/skeleton/skeleton.dsp ext/skeleton/tests/001.phpt ext/snmp/snmp.dsp ext/sockets/sockets.dsp ext/sqlite/sqlite.dsp ext/standard/credits_ext.h ext/standard/credits_sapi.h ext/sybase/php_sybase_db.c ext/sybase_ct/php_sybase_ct.c ext/sybase_ct/sybase_ct.dsp ext/tokenizer/tokenizer.dsp ext/w32api/w32api.c ext/w32api/w32api.dsp ext/xml/xml.mak ext/xmlrpc/xmlrpc.dsp ext/xsl/xsl.dsp ext/yaz/yaz.dsp ext/zlib/zlib.dsp ext/zlib/zlib_win32_howto.txt netware/buildsapi.bat netware/php4apache.mak netware/php4apache2filter.mak netware/php4cli.mak netware/php5apache.mak netware/php5apache2filter.mak netware/php5cli.mak netware/phplib.mak sapi/activescript/README sapi/activescript/classfactory.cpp sapi/activescript/config.w32 sapi/activescript/php4activescript.c sapi/activescript/php4activescript.def sapi/activescript/php4activescript.dsp sapi/activescript/php4activescript.h sapi/activescript/php4as_classfactory.h sapi/activescript/php4as_scriptengine.h sapi/activescript/php5activescript.c sapi/activescript/php5activescript.def sapi/activescript/php5activescript.dsp sapi/activescript/php5activescript.h sapi/activescript/php5as_classfactory.h sapi/activescript/php5as_scriptengine.h sapi/activescript/scriptengine.cpp sapi/aolserver/README sapi/aolserver/php4aolserver.dsp sapi/aolserver/php5aolserver.dsp sapi/apache/config.w32 sapi/apache/php4apache.dsp sapi/apache/php5apache.dsp sapi/apache2filter/.cvsignore sapi/apache2handler/.cvsignore sapi/apache2handler/php4apache2.dsp sapi/apache2handler/php5apache2.dsp sapi/apache_hooks/.cvsignore sapi/apache_hooks/apMakefile.tmpl sapi/apache_hooks/config.m4 sapi/apache_hooks/config.w32 sapi/apache_hooks/libphp4.module.in sapi/apache_hooks/libphp5.module.in sapi/apache_hooks/mod_php4.c sapi/apache_hooks/mod_php4.exp sapi/apache_hooks/mod_php4.h sapi/apache_hooks/mod_php5.c sapi/apache_hooks/mod_php5.exp sapi/apache_hooks/mod_php5.h sapi/apache_hooks/php.sym sapi/apache_hooks/php4apache_hooks.dsp sapi/apache_hooks/php5apache_hooks.dsp sapi/apache_hooks/php_apache_http.h sapi/caudium/.cvsignore sapi/caudium/caudium.c sapi/caudium/config.m4 sapi/cgi/README.FastCGI sapi/embed/php4embed.dsp sapi/embed/php5embed.dsp sapi/isapi/config.m4 sapi/isapi/config.w32 sapi/isapi/php4isapi.c sapi/isapi/php4isapi.def sapi/isapi/php4isapi.dsp sapi/isapi/php5isapi.c sapi/isapi/php5isapi.def sapi/isapi/php5isapi.dsp sapi/isapi/stresstest/notes.txt sapi/isapi/stresstest/stresstest.cpp sapi/nsapi/php4nsapi.dsp sapi/nsapi/php5nsapi.dsp sapi/pi3web/README sapi/pi3web/config.m4 sapi/pi3web/config.w32 sapi/pi3web/php4pi3web.dsp sapi/pi3web/php5pi3web.dsp sapi/pi3web/pi3web_sapi.c sapi/pi3web/pi3web_sapi.h sapi/roxen/.cvsignore sapi/roxen/README sapi/roxen/TODO sapi/roxen/config.m4 sapi/roxen/roxen.c sapi/thttpd/config.m4 sapi/thttpd/thttpd_patch sapi/tux/README sapi/tux/config.m4 sapi/webjames/README scripts/dev/credits tests/test.php4 tests/classes/inheritance_002.phpt win32/install.txt win32/php4.dsp win32/php4.dsw win32/php4dll.dsp win32/php4dllts.dsp win32/php4dllts.rc win32/php4dllts.rc2 win32/php4ts.dsp win32/php4ts.rc win32/php4ts.rc2 win32/php4ts_cli.dsp win32/php4ts_cli.rc win32/php4ts_cli.rc2 win32/php5.dsp win32/php5.dsw win32/php5dll.dsp win32/php5dllts.dsp win32/php5dllts.rc win32/php5dllts.rc2 win32/php5ts.dsp win32/php5ts.dsw win32/php5ts.rc win32/php5ts.rc2 win32/php5ts_cli.dsp win32/php5ts_cli.rc win32/php5ts_cli.rc2 win32/pws-php4cgi.reg win32/pws-php4isapi.reg win32/pws-php5cgi.reg win32/pws-php5isapi.reg win32/resource.h win32/signal.h win32/installer/README win32/installer/gen-nsis.php: - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 Tim Toohey * ext/gd/libgd/gd.c: (gdImageSetPixel) Tidied 'normal' blending effect 2004-01-17 Jani Taskinen * tests/classes/destructor_and_references.phpt: typofix 2004-01-17 Wez Furlong * (PECL_4_3) ext/sqlite/package.xml: bah bah * (PECL_4_3) ext/sqlite/package.xml: I will test package even at 1am... * (PECL_4_3) ext/sqlite/package.xml: update for release 2004-01-17 Ilia Alshanetsky * ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h: Expose zend_std_call_user_call(), needed for implementation of things like __call handlers. 2004-01-17 Wez Furlong * (PECL_4_3) ext/sqlite/sqlite.dsp: better fix 2004-01-17 Edin Kadribasic * (PECL_4_3) ext/sqlite/sqlite.c: Not everybody has this ;) 2004-01-17 Jani Taskinen * ZendEngine2/zend_compile.c ZendEngine2/zend_language_scanner.h ZendEngine2/zend_language_scanner.l: Nuke compile warning by using the LANG_SCNG macro instead 2004-01-17 Wez Furlong * (PECL_4_3) ext/sqlite/sqlite.dsp: fix win32 build 2004-01-17 Jani Taskinen * (PHP_4_3) NEWS ext/imap/config.m4: MFH: Fixed bug #26923 (ext/imap: pam and crypt libraries missing when build as shared) * ext/imap/config.m4: Fixed bug #26923 (ext/imap: pam and crypt libraries missing when build as shared) 2004-01-16 Wez Furlong * ext/sqlite/libsqlite/src/sqlite.w32.h: update file for win32 build 2004-01-16 Sterling Hughes * ext/simplexml/tests/profile04.phpt ext/simplexml/tests/profile05.phpt ext/simplexml/tests/profile06.phpt ext/simplexml/tests/profile07.phpt ext/simplexml/tests/profile10.phpt ext/simplexml/tests/profile11.phpt: update the profile of how namespaces should work after discussions with shane and rob richards. there were a lot of race conditions with regards to the way namespaces have been handled in XML documents so far, this new method removes the race conditions, and gives me a real reason to add the children() and attributes() methods. 2004-01-16 Jani Taskinen * NEWS ZendEngine2/zend_reflection_api.c: - Fixed bug #26640 (__autoload() not invoked by Reflection classes) 2004-01-16 Sterling Hughes * ext/simplexml/tests/profile01.phpt ext/simplexml/tests/profile02.phpt ext/simplexml/tests/profile03.phpt ext/simplexml/tests/profile04.phpt ext/simplexml/tests/profile05.phpt ext/simplexml/tests/profile06.phpt ext/simplexml/tests/profile07.phpt ext/simplexml/tests/profile08.phpt ext/simplexml/tests/profile09.phpt ext/simplexml/tests/profile10.phpt ext/simplexml/tests/profile11.phpt: Add a "profile" of simplexml's expected behaviour in the form of tests. This will be expanded as issues arise and will be a formal definition (in code) of simplexml's behaviour. 2004-01-16 Jani Taskinen * (PHP_4_3) NEWS ext/xml/xml.c: MFH: - Fixed bug #26937 (Warning in xml.c) * ext/xml/xml.c: Kill warning (bug #26937) * tests/lang/bug26640.phpt: Added test case for bug #26640 2004-01-16 Ilia Alshanetsky * ext/sqlite/TODO: Update TODO * EXTENSIONS EXTENSIONS: Added Antony Dovgal as OCI8 maintainer. * run-tests.php: Fixed division by zero warning. 2004-01-16 Jani Taskinen * NEWS NEWS: BFN * ext/mime_magic/mime_magic.c: Fix the mime_magic.debug option init 2004-01-16 Antony Dovgal * ext/oci8/CREDITS: Add myself at last =) 2004-01-16 Ilia Alshanetsky * (PHP_4_3) NEWS ext/pcre/php_pcre.c ext/pcre/tests/bug26927.phpt: MFH: Fixed Bug #26927 (preg_quote() does not escape \0). * ext/pcre/tests/bug26927.phpt: Fixed Bug #26927 (preg_quote() does not escape \0). * ext/pcre/php_pcre.c: Fixed Bug #26927 (preg_quote() does not escape \0). 2004-01-15 Marcus Boerger * ext/sqlite/sqlite.c ext/sqlite/sqlite.c: Fix shutdown * (PHP_4_3) ext/dba/dba.c: Add missing fd creation 2004-01-15 Pierre-Alain Joye * ext/sqlite/package.xml: - Fix the php dependency (wide copy/paste is not that good no? ;) ) 2004-01-15 Zeev Suraski * ZendEngine2/zend.c: Nice patch Christian, but it wasn't at all enabled? :) Fix bug #26883 2004-01-15 Antony Dovgal * ext/oci8/oci8.c: Fix bug #26892, ORA-21301 in ocinewcollection() call. pEnv should be initialized in object mode too. 2004-01-15 Marcus Boerger * ext/simplexml/simplexml.c: Drop userspace iteration correctly. 2004-01-15 Jani Taskinen * ext/oci8/config.m4 ext/oci8/oci8.c: Fix typo * (PHP_4_3) ext/mime_magic/mime_magic.c: Fix overflow * NEWS ext/mime_magic/mime_magic.c: - Fixed bug #26844 (ext/mime_magic: magic file validation broken). 2004-01-15 Ilia Alshanetsky * (PHP_4_3) NEWS ext/imap/php_imap.c: MFH: Fixed bug #26909 (crash in imap_mime_header_decode() when no encoding is used). * ext/imap/php_imap.c: Fixed bug #26909 (crash in imap_mime_header_decode() when no encoding is used). 2004-01-14 Greg Beaver * pear/PEAR.php: fix get_class() case-sensitive incompatibility in PHP5 2004-01-14 Edin Kadribasic * (PECL_4_3) ext/sqlite/libsqlite/src/sqlite.w32.h: Update version number * (PECL_4_3) ext/sqlite/sqlite.dsp: Add new files to windows build 2004-01-14 Ilia Alshanetsky * (PECL_4_3) ext/sqlite/libsqlite/src/date.c ext/sqlite/libsqlite/src/vdbeInt.h ext/sqlite/libsqlite/src/vdbeaux.c: Added new files. 2004-01-14 Marcus Boerger * ext/simplexml/simplexml.c ext/simplexml/tests/010.phpt: This is no longer usefull in any way. 2004-01-14 Ilia Alshanetsky * ext/sqlite/tests/bug26911.phpt: MFH: Fixed bug #26911 (crash in sqlite extension when fetching data from empty queries). * NEWS ext/sqlite/sqlite.c ext/sqlite/sqlite.c ext/sqlite/tests/bug26911.phpt: MFH: Fixed bug #26911 (crash in sqlite extension when fetching data from empty queries). 2004-01-14 Rob Richards * ext/simplexml/simplexml.c: test user define namespace aliases 2004-01-14 Ilia Alshanetsky * (PECL_4_3) ext/sqlite/libsqlite/src/parse.c: Touch parser. * (PECL_4_3) ext/sqlite/config.m4 ext/sqlite/libsqlite/VERSION ext/sqlite/libsqlite/src/attach.c ext/sqlite/libsqlite/src/auth.c ext/sqlite/libsqlite/src/btree.c ext/sqlite/libsqlite/src/btree.h ext/sqlite/libsqlite/src/btree_rb.c ext/sqlite/libsqlite/src/build.c ext/sqlite/libsqlite/src/copy.c ext/sqlite/libsqlite/src/delete.c ext/sqlite/libsqlite/src/encode.c ext/sqlite/libsqlite/src/expr.c ext/sqlite/libsqlite/src/func.c ext/sqlite/libsqlite/src/hash.c ext/sqlite/libsqlite/src/hash.h ext/sqlite/libsqlite/src/insert.c ext/sqlite/libsqlite/src/main.c ext/sqlite/libsqlite/src/opcodes.c ext/sqlite/libsqlite/src/opcodes.h ext/sqlite/libsqlite/src/os.c ext/sqlite/libsqlite/src/os.h ext/sqlite/libsqlite/src/pager.c ext/sqlite/libsqlite/src/pager.h ext/sqlite/libsqlite/src/parse.c ext/sqlite/libsqlite/src/parse.h ext/sqlite/libsqlite/src/parse.y ext/sqlite/libsqlite/src/pragma.c ext/sqlite/libsqlite/src/printf.c ext/sqlite/libsqlite/src/random.c ext/sqlite/libsqlite/src/select.c ext/sqlite/libsqlite/src/sqlite.h.in ext/sqlite/libsqlite/src/sqlite.w32.h ext/sqlite/libsqlite/src/sqliteInt.h ext/sqlite/libsqlite/src/table.c ext/sqlite/libsqlite/src/tokenize.c ext/sqlite/libsqlite/src/trigger.c ext/sqlite/libsqlite/src/update.c ext/sqlite/libsqlite/src/util.c ext/sqlite/libsqlite/src/vacuum.c ext/sqlite/libsqlite/src/vdbe.c ext/sqlite/libsqlite/src/vdbe.h ext/sqlite/libsqlite/src/where.c: Upgrade bundled libsqlite to 2.8.11 * ext/sqlite/libsqlite/src/parse.c: touch generated parser. * ext/sqlite/libsqlite/src/date.c ext/sqlite/libsqlite/src/hash.c ext/sqlite/libsqlite/src/hash.h ext/sqlite/libsqlite/src/opcodes.c ext/sqlite/libsqlite/src/opcodes.h ext/sqlite/libsqlite/src/os.c ext/sqlite/libsqlite/src/os.h ext/sqlite/libsqlite/src/pager.c ext/sqlite/libsqlite/src/printf.c ext/sqlite/libsqlite/src/select.c ext/sqlite/libsqlite/src/sqliteInt.h ext/sqlite/libsqlite/src/tokenize.c ext/sqlite/libsqlite/src/util.c ext/sqlite/libsqlite/src/vdbe.c ext/sqlite/libsqlite/src/vdbeInt.h ext/sqlite/libsqlite/src/vdbeaux.c ext/sqlite/libsqlite/src/where.c: Upgraded bundled libsqlite to 2.8.11 (fixed critical bug of *NIX systems). * NEWS ext/sqlite/libsqlite/VERSION ext/sqlite/libsqlite/src/btree_rb.c: Upgraded bundled libsqlite to 2.8.11 (fixed critical bug of *NIX systems). 2004-01-14 Wez Furlong * (PHP_4_3) main/network.c: Probable fix for: Bug #25575 stream_set_blocking with STDIN doesnt block * ext/standard/file.c: Remove stale code from flock(); spotted by Hartmut. * (PHP_4_3) NEWS ext/standard/file.c: Fixed bug #26772 (fgets returns NULL instead of FALSE). (Wez) * ext/standard/file.c: Fix #26772: fgets returns NULL instead of FALSE. 2004-01-14 Zeev Suraski * ZendEngine2/zend_compile.c: Don't allow interfaces to implement anything 2004-01-14 Wez Furlong * ext/sqlite/libsqlite/src/parse.c: touch 2004-01-14 Andi Gutmans * ZendEngine2/zend_operators.h: - Remove bogus macros * ext/imap/php_imap.c: - Remove use of bogus macro 2004-01-14 Wez Furlong * sapi/cli/cli_win32.c sapi/cli/config.w32 sapi/cli/php_cli.c: Add optional php-win.exe variation of the CLI sapi. php-win.exe runs in the windows GUI subsystem, and thus has no console; stdio handles are effectively set to /dev/null and no "dos box" will appear on screen when running scripts using this sapi (php-gtk people will be familiar with this concept). Aside from those differences, php-win.exe is 100% identical to regular CLI 2004-01-13 Ilia Alshanetsky * (PHP_4_3) NEWS ext/standard/formatted_print.c ext/standard/tests/strings/bug26878.phpt: MFH: Fixed bug #26878 (problem with multiple references to the same variable with different types). * ext/standard/tests/strings/bug26878.phpt: Fixed bug #26878 (problem with multiple references to the same variable with different types). * ext/standard/formatted_print.c: Fixed bug #26878 (problem with multiple references to the same variable with different types). 2004-01-13 Rob Richards * ext/simplexml/simplexml.c ext/simplexml/tests/017.phpt: add support for $foo["a:bar"] fix xsearch to only return values for text,element and attribute nodes fix getChildren and return array remove most methods update test 2004-01-13 Jani Taskinen * (PHP_4_3) ext/ftp/ftp.c: MFH: - Fixed bug #26896 (ext/ftp does not work as shared extension) * ext/ftp/ftp.c: - Fixed bug #26896 (ext/ftp does not work as shared extension) * NEWS NEWS: BFN 2004-01-13 Wez Furlong * ZendEngine2/zend_ini_parser.y: Don't treat strings containing : as potential constant names in the .ini parser. This fixes Bug #26893 * ext/com_dotnet/com_handlers.c: reinstate this ifdef for people without .Net SDK * ext/com_dotnet/com_handlers.c: Fix refcount on these return values to avoid a leak and allow object dtor's to be called. This in turn prevents a massive slow-down in CoUninitialize which would have to forcibly destroy the COM objects in request shutdown. 2004-01-13 Rob Richards * ext/dom/php_dom.c: fix getElementsByTagName and getElementsByTagNameNS - allow * 2004-01-13 Wez Furlong * ext/com_dotnet/com_com.c ext/com_dotnet/com_extension.c ext/com_dotnet/com_handlers.c ext/com_dotnet/php_com_dotnet_internal.h: Fix leaking constructors. Implement a cache for method signatures and DISPID's to greatly improve performance when repeatedly accessing members with the same names. 2004-01-13 Derick Rethans * (PHP_4_3) Zend/zend.c sapi/cgi/cgi_main.c sapi/cli/php_cli.c: - Fixed year in version notices 2004-01-13 Sara Golemon * ext/curl/config.w32: Don't even define this. 2004-01-13 John Coggeshall * ext/sqlite/sess_sqlite.c: Whoops... Ilia forgot a ')' 2004-01-13 Wez Furlong * win32/time.c: make usleep actually work properly * ext/com_dotnet/com_com.c ext/com_dotnet/com_handlers.c ext/com_dotnet/php_com_dotnet_internal.h: Support automatic handling of byref parameters 2004-01-12 Ilia Alshanetsky * ext/sqlite/sess_sqlite.c: Fixed a bug that would cause the sqlite session database to grow endlessly. 2004-01-12 Ard Biesheuvel * ext/interbase/interbase.c: More handsome solution for previous fix * ext/interbase/interbase.c: Added sanity check on ibase_[p]connect() dialect argument (fixes obscure unregistered bug) 2004-01-12 Martin Kraemer * ext/bz2/php_bz2.h: Avoid duplicate symbols; definition is in bz2.c 2004-01-12 Ilia Alshanetsky * (PHP_4_3) configure.in main/php_version.h: Back to dev. * (PHP_4_3) NEWS: Set release date. * (PHP_4_3) configure.in main/php_version.h: Go with 4.3.5RC1 2004-01-12 Andi Gutmans * ZendEngine2/zend_compile.c: - Return the PHP 4 behavior of not allowing class declerations within - class declerations. This happened when declaring a class within a - method. class A { function foo() { class B { } } } 2004-01-12 Marcus Boerger * ext/mysql/php_mysql.c: Synch mysql_fetch_object with mysqli, sqlite and pgsql * ext/mysqli/mysqli_nonapi.c: Proto fix * ext/sqlite/sqlite.c: No longer needed * ZendEngine2/zend_API.h main/php.h: Add missing macro 2004-01-11 Wez Furlong * ZendEngine2/zend_compile.c ZendEngine2/zend_language_scanner.h ZendEngine2/zend_language_scanner.l: TSRMLS fix 2004-01-11 Ilia Alshanetsky * (PHP_4_3) NEWS ext/pgsql/pgsql.c: MFH: Fixed bug #26864 (pg_(update|delete) ignore PGSQL_DML_EXEC option). * ext/pgsql/pgsql.c: Fixed bug #26864 (pg_(update|delete) ignore PGSQL_DML_EXEC option). 2004-01-11 Andi Gutmans * ZendEngine2/zend_language_parser.y: - Re-allow conditional class declerations. Needless to say that I also - think it's not great coding.. Use polymorphism instead :) * ZendEngine2/zend_compile.c ZendEngine2/zend_language_scanner.h ZendEngine2/zend_language_scanner.l: - This should fix the problem of conditional function decleration on the - same line of code not to work. You should re-evaluate your coding style - if you really code this way :) 2004-01-11 Jani Taskinen * NEWS: oops.. * NEWS: BFN * tests/lang/bug26869.phpt: add test case for bug #26869 2004-01-11 Andrey Hristov * ext/standard/tests/array/var_export.phpt: fixing test 2004-01-11 Rui Hirokawa * ext/sqlite/config.m4: added utf8 support option for sqlite >= 2.8.9. 2004-01-10 Andrey Hristov * ext/standard/tests/array/007.phpt ext/standard/tests/array/array_intersect_1.phpt: fixing tests after last Derick's commit that changed the behaviour of var_export() :) 2004-01-10 Marcus Boerger * ext/simplexml/tests/014.phpt ext/simplexml/tests/014a.phpt ext/simplexml/tests/014b.phpt: Update attribute tests. * ext/simplexml/simplexml.c: - Cleanup class_entry - allow derived classes - fix new SimpleXML_Element() 2004-01-10 Zeev Suraski * ZendEngine2/zend_operators.c: Remove conflict 2004-01-10 Rob Richards * ext/dom/dom_iterators.c ext/dom/nodelist.c ext/dom/php_dom.h ext/dom/xpath.c: XPath query returns nodelist object rather than array 2004-01-10 Zeev Suraski * ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_globals.h ZendEngine2/zend_operators.c: Added error mask to set_error_handler() Patch by Christian Schneider 2004-01-09 Wez Furlong * acinclude.m4 ZendEngine2/acconfig.h: support for building asm in the unix buildsys. Also, when ZEND_ACCONFIG_H_NO_C_PROTOS is defined, omit the C prototypes from the configuration header so that it can be included into asm files. 2004-01-09 Marcus Boerger * ZendEngine2/RFCs/002.txt: this one is declined * ext/pgsql/config.m4: Use pg_config if it can be found. 2004-01-09 Wez Furlong * ZendEngine2/zend_object_handlers.h: must be extern to avoid problems with some compilers * ext/session/php_session.h ext/session/session.c: export tsrm id for session globals. * ext/informix/config.w32: let informix build 2004-01-09 Stanislav Malyshev * ZendEngine2/tests/bug26077.phpt: fix expect 2004-01-09 Edin Kadribasic * ext/informix/ifx.ec: Fix ZTS build 2004-01-09 Stanislav Malyshev * ZendEngine2/zend_compile.c: Bug #25816 - disallow arrays in class constants * ZendEngine2/tests/bug26077.phpt: add test * ZendEngine2/zend_compile.c ZendEngine2/zend_execute.c: Fix Bug #26077 - memory leak when new() result is not assigned and no constructor defined 2004-01-09 Wez Furlong * ext/mhash/config.w32: let mhash build 2004-01-09 Sterling Hughes * ext/simplexml/php_simplexml.h ext/simplexml/simplexml.c: Remove these initializers as they are unused. 2004-01-09 Jani Taskinen * ext/sqlite/libsqlite/src/libsqlite.dsp: - Fix build 2004-01-09 Ilia Alshanetsky * NEWS: sqlite news * (PHP_4_3) NEWS ext/standard/mail.c: MFH: Fixed bug #26847 (memory leak in mail() when to/subject contain only spaces). * ext/standard/mail.c: Fixed bug #26847 (memory leak in mail() when to/subject contain only spaces) 2004-01-08 Sterling Hughes * ext/simplexml/simplexml.c: Fix dumping, when dumping a text element, for example: helly sterling '); var_dump($doc->name[0]->first); Used to not display the node's content, now it does. 2004-01-08 Wez Furlong * ext/simplexml/config.w32: add optional dep on spl for simplexml. Fix dep handling in buildconf 2004-01-08 Marcus Boerger * ext/simplexml/README: Add some minimalistic documentation * ext/simplexml/simplexml.c: Fix windows build issue * ext/simplexml/simplexml.c: Cannot use shared SPL * ext/sqlite/sqlite.c: There's no more interaction with SPL 2004-01-08 Jani Taskinen * ext/standard/url_scanner_ex.c ext/standard/var_unserializer.c: touch generated files * ext/sqlite/libsqlite/src/parse.c: touch to make build work without lemon.. * run-tests.php run-tests2.php TSRM/tsrm_nw.h TSRM/tsrm_virtual_cwd.h TSRM/tsrm_win32.h ZendEngine2/acconfig.h ZendEngine2/zend.c ZendEngine2/zend.h ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_builtin_functions.h ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_config.nw.h ZendEngine2/zend_config.w32.h ZendEngine2/zend_constants.c ZendEngine2/zend_constants.h ZendEngine2/zend_default_classes.c ZendEngine2/zend_default_classes.h ZendEngine2/zend_dynamic_array.c ZendEngine2/zend_dynamic_array.h ZendEngine2/zend_errors.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_extensions.c ZendEngine2/zend_extensions.h ZendEngine2/zend_fast_cache.h ZendEngine2/zend_globals.h ZendEngine2/zend_globals_macros.h ZendEngine2/zend_hash.c ZendEngine2/zend_hash.h ZendEngine2/zend_highlight.c ZendEngine2/zend_highlight.h ZendEngine2/zend_indent.c ZendEngine2/zend_indent.h ZendEngine2/zend_ini.c ZendEngine2/zend_ini.h ZendEngine2/zend_ini_scanner.h ZendEngine2/zend_interfaces.c ZendEngine2/zend_interfaces.h ZendEngine2/zend_istdiostream.h ZendEngine2/zend_iterators.c ZendEngine2/zend_iterators.h ZendEngine2/zend_language_scanner.h ZendEngine2/zend_list.c ZendEngine2/zend_list.h ZendEngine2/zend_llist.c ZendEngine2/zend_llist.h ZendEngine2/zend_mm.c ZendEngine2/zend_mm.h ZendEngine2/zend_modules.h ZendEngine2/zend_multibyte.c ZendEngine2/zend_multibyte.h ZendEngine2/zend_multiply.h ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h ZendEngine2/zend_objects.c ZendEngine2/zend_objects.h ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h ZendEngine2/zend_opcode.c ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h ZendEngine2/zend_ptr_stack.c ZendEngine2/zend_ptr_stack.h ZendEngine2/zend_qsort.c ZendEngine2/zend_qsort.h ZendEngine2/zend_reflection_api.c ZendEngine2/zend_reflection_api.h ZendEngine2/zend_sprintf.c ZendEngine2/zend_stack.c ZendEngine2/zend_stack.h ZendEngine2/zend_static_allocator.c ZendEngine2/zend_static_allocator.h ZendEngine2/zend_stream.c ZendEngine2/zend_stream.h ZendEngine2/zend_ts_hash.c ZendEngine2/zend_ts_hash.h ZendEngine2/zend_types.h ZendEngine2/zend_variables.c ZendEngine2/zend_variables.h build/build.mk build/build2.mk build/buildcheck.sh build/mkdep.awk ext/bcmath/php_bcmath.h ext/bz2/php_bz2.h ext/com_dotnet/php_com_dotnet.h ext/com_dotnet/php_com_dotnet_internal.h ext/cpdf/php_cpdf.h ext/ctype/php_ctype.h ext/curl/php_curl.h ext/dba/php_dba.h ext/dba/libcdb/cdb.h ext/dba/libcdb/cdb_make.h ext/dba/libcdb/uint32.h ext/dba/libflatfile/flatfile.h ext/dba/libinifile/inifile.h ext/dbase/php_dbase.h ext/dbx/dbx.h ext/dbx/dbx_fbsql.h ext/dbx/dbx_mssql.h ext/dbx/dbx_mysql.h ext/dbx/dbx_oci8.h ext/dbx/dbx_odbc.h ext/dbx/dbx_pgsql.h ext/dbx/dbx_sqlite.h ext/dbx/dbx_sybasect.h ext/dbx/php_dbx.h ext/dio/php_dio.h ext/dom/dom_ce.h ext/dom/dom_fe.h ext/dom/dom_properties.h ext/dom/php_dom.h ext/dom/xml_common.h ext/exif/php_exif.h ext/fam/php_fam.h ext/fbsql/php_fbsql.h ext/fdf/php_fdf.h ext/filepro/php_filepro.h ext/ftp/ftp.h ext/ftp/php_ftp.h ext/gd/php_gd.h ext/gettext/php_gettext.h ext/gmp/php_gmp.h ext/iconv/php_iconv.h ext/imap/php_imap.h ext/informix/ifx.ec ext/informix/php_informix.h ext/informix/php_informix_includes.h ext/ingres_ii/ii.h ext/ingres_ii/php_ii.h ext/interbase/interbase.rc ext/interbase/php_interbase.h ext/ircg/ircg_scanner.re ext/ircg/php_ircg.h ext/ldap/php_ldap.h ext/mbstring/mb_gpc.h ext/mbstring/mbstring.h ext/mbstring/php_mbregex.h ext/mbstring/php_unicode.h ext/mcrypt/php_mcrypt.h ext/mcve/php_mcve.h ext/mhash/php_mhash.h ext/mime_magic/php_mime_magic.h ext/mime_magic/phpmimemagic.h ext/ming/php_ming.h ext/mnogosearch/php_mnogo.h ext/mono/php_mono.h ext/msession/msession.c ext/msession/php_msession.h ext/msql/php_msql.h ext/mssql/php_mssql.h ext/mysql/php_mysql.h ext/mysqli/mysqli_fe.c ext/mysqli/mysqli_prop.c ext/mysqli/mysqli_report.h ext/mysqli/php_mysqli.h ext/ncurses/php_ncurses.h ext/ncurses/php_ncurses_fe.h ext/oci8/php_oci8.h ext/odbc/php_birdstep.h ext/odbc/php_odbc.h ext/odbc/php_odbc_includes.h ext/openssl/php_openssl.h ext/pcntl/php_pcntl.h ext/pcntl/php_signal.h ext/pcre/php_pcre.h ext/pdf/php_pdf.h ext/pfpro/php_pfpro.h ext/pgsql/php_pgsql.h ext/posix/php_posix.h ext/pspell/php_pspell.h ext/readline/php_readline.h ext/recode/php_recode.h ext/session/mod_files.h ext/session/mod_mm.h ext/session/mod_user.h ext/session/php_session.h ext/shmop/php_shmop.h ext/simplexml/php_simplexml.h ext/snmp/php_snmp.h ext/sockets/php_sockets.h ext/sockets/php_sockets_win.h ext/sockets/unix_socket_constants.h ext/sockets/win32_socket_constants.h ext/sqlite/php_sqlite.h ext/standard/base64.h ext/standard/basic_functions.h ext/standard/crc32.h ext/standard/credits.h ext/standard/css.h ext/standard/cyr_convert.h ext/standard/datetime.h ext/standard/dl.h ext/standard/dns.h ext/standard/exec.h ext/standard/file.h ext/standard/flock_compat.h ext/standard/fsock.h ext/standard/head.h ext/standard/html.h ext/standard/info.h ext/standard/md5.h ext/standard/microtime.h ext/standard/pack.h ext/standard/pageinfo.h ext/standard/php_array.h ext/standard/php_assert.h ext/standard/php_browscap.h ext/standard/php_crypt.h ext/standard/php_dir.h ext/standard/php_ext_syslog.h ext/standard/php_filestat.h ext/standard/php_fopen_wrappers.h ext/standard/php_ftok.h ext/standard/php_http.h ext/standard/php_image.h ext/standard/php_incomplete_class.h ext/standard/php_iptc.h ext/standard/php_lcg.h ext/standard/php_link.h ext/standard/php_mail.h ext/standard/php_math.h ext/standard/php_metaphone.h ext/standard/php_parsedate.h ext/standard/php_rand.h ext/standard/php_smart_str.h ext/standard/php_smart_str_public.h ext/standard/php_standard.h ext/standard/php_string.h ext/standard/php_sunfuncs.h ext/standard/php_type.h ext/standard/php_uuencode.h ext/standard/php_var.h ext/standard/php_versioning.h ext/standard/proc_open.h ext/standard/quot_print.h ext/standard/reg.h ext/standard/scanf.h ext/standard/sha1.h ext/standard/streamsfuncs.h ext/standard/uniqid.h ext/standard/url.h ext/standard/url_scanner.h ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re ext/standard/var_unserializer.re ext/sybase/php_sybase_db.h ext/sybase_ct/php_sybase_ct.h ext/sysvmsg/php_sysvmsg.h ext/sysvsem/php_sysvsem.h ext/sysvshm/php_sysvshm.h ext/tokenizer/php_tokenizer.h ext/wddx/php_wddx.h ext/wddx/php_wddx_api.h ext/xml/expat_compat.h ext/xml/php_xml.h ext/xmlrpc/php_xmlrpc.h ext/xsl/php_xsl.h ext/xsl/xsl_fe.h ext/yaz/php_yaz.h ext/yp/php_yp.h ext/zlib/php_zlib.h main/SAPI.h main/build-defs.h.in main/config.nw.h main/fopen_wrappers.h main/internal_functions.c.in main/internal_functions_registry.h main/logos.h main/php.h main/php3_compat.h main/php_compat.h main/php_content_types.h main/php_globals.h main/php_ini.h main/php_logos.h main/php_main.h main/php_memory_streams.h main/php_network.h main/php_open_temporary_file.h main/php_output.h main/php_realpath.c main/php_reentrancy.h main/php_regex.h main/php_scandir.h main/php_streams.h main/php_syslog.h main/php_ticks.h main/php_variables.h main/rfc1867.h main/safe_mode.h main/snprintf.h main/spprintf.h main/win95nt.h main/streams/php_stream_context.h main/streams/php_stream_filter_api.h main/streams/php_stream_mmap.h main/streams/php_stream_plain_wrapper.h main/streams/php_stream_transport.h main/streams/php_stream_userspace.h main/streams/php_streams_int.h netware/sys/stat.h pear/CMD.php pear/PEAR.php pear/System.php pear/package.dtd pear/Archive/Tar.php pear/Console/Getopt.php pear/OS/Guess.php pear/PEAR/Autoloader.php pear/PEAR/Builder.php pear/PEAR/Command.php pear/PEAR/Common.php pear/PEAR/Config.php pear/PEAR/Dependency.php pear/PEAR/DependencyDB.php pear/PEAR/Downloader.php pear/PEAR/Installer.php pear/PEAR/Packager.php pear/PEAR/Registry.php pear/PEAR/Remote.php pear/PEAR/Command/Auth.php pear/PEAR/Command/Build.php pear/PEAR/Command/Common.php pear/PEAR/Command/Config.php pear/PEAR/Command/Install.php pear/PEAR/Command/Mirror.php pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/PEAR/Frontend/CLI.php pear/scripts/pear.bat pear/scripts/pearcmd.php pear/scripts/pearwin.php sapi/activescript/classfactory.cpp sapi/activescript/php4activescript.h sapi/activescript/php4as_classfactory.h sapi/activescript/php4as_scriptengine.h sapi/activescript/scriptengine.cpp sapi/apache/mod_php5.h sapi/apache/php_apache_http.h sapi/apache2filter/php_apache.h sapi/apache2handler/php_apache.h sapi/apache_hooks/mod_php4.h sapi/cgi/php_getopt.h sapi/cli/php.1.in sapi/cli/php_getopt.h sapi/embed/php_embed.h sapi/phttpd/php_phttpd.h sapi/thttpd/php_thttpd.h sapi/webjames/php_webjames.h scripts/dev/conv_z_macros win32/crypt_win32.h win32/grp.h win32/md5crypt.h win32/php5dllts.rc2 win32/php5ts.rc2 win32/php5ts_cli.rc2 win32/pwd.h win32/select.h win32/syslog.h win32/winutil.h: - Happy new year and PHP 5 for rest of the files too.. 2004-01-08 Wez Furlong * ext/sqlite/tests/blankdb.inc ext/sqlite/tests/sqlite_oo_029.phpt: fix tests for win32 2004-01-08 Jani Taskinen * ext/dba/dba_qdbm.c: correct header * header: Happy new year! 2004-01-08 Wez Furlong * ext/sqlite/sqlite.dsp: add new files to .dsp * ext/sqlite/config.w32 ext/sqlite/libsqlite/src/sqlite.w32.h: Update win32 build for new version of libsqlite 2004-01-08 Ilia Alshanetsky * ext/sqlite/config.m4 ext/sqlite/config.w32 ext/sqlite/libsqlite/VERSION ext/sqlite/libsqlite/src/attach.c ext/sqlite/libsqlite/src/auth.c ext/sqlite/libsqlite/src/btree.c ext/sqlite/libsqlite/src/btree.h ext/sqlite/libsqlite/src/btree_rb.c ext/sqlite/libsqlite/src/build.c ext/sqlite/libsqlite/src/copy.c ext/sqlite/libsqlite/src/date.c ext/sqlite/libsqlite/src/delete.c ext/sqlite/libsqlite/src/encode.c ext/sqlite/libsqlite/src/expr.c ext/sqlite/libsqlite/src/func.c ext/sqlite/libsqlite/src/hash.c ext/sqlite/libsqlite/src/hash.h ext/sqlite/libsqlite/src/insert.c ext/sqlite/libsqlite/src/main.c ext/sqlite/libsqlite/src/opcodes.c ext/sqlite/libsqlite/src/opcodes.h ext/sqlite/libsqlite/src/os.c ext/sqlite/libsqlite/src/os.h ext/sqlite/libsqlite/src/pager.c ext/sqlite/libsqlite/src/pager.h ext/sqlite/libsqlite/src/parse.c ext/sqlite/libsqlite/src/parse.h ext/sqlite/libsqlite/src/parse.y ext/sqlite/libsqlite/src/pragma.c ext/sqlite/libsqlite/src/printf.c ext/sqlite/libsqlite/src/random.c ext/sqlite/libsqlite/src/select.c ext/sqlite/libsqlite/src/sqlite.h.in ext/sqlite/libsqlite/src/sqliteInt.h ext/sqlite/libsqlite/src/table.c ext/sqlite/libsqlite/src/tokenize.c ext/sqlite/libsqlite/src/trigger.c ext/sqlite/libsqlite/src/update.c ext/sqlite/libsqlite/src/util.c ext/sqlite/libsqlite/src/vacuum.c ext/sqlite/libsqlite/src/vdbe.c ext/sqlite/libsqlite/src/vdbe.h ext/sqlite/libsqlite/src/vdbeInt.h ext/sqlite/libsqlite/src/vdbeaux.c ext/sqlite/libsqlite/src/where.c: Upgrade bundled libsqlite to 2.8.9 2004-01-08 Wez Furlong * sapi/cgi/config.w32: fix fastcgi build 2004-01-08 Andi Gutmans * ZendEngine2/zend_ini_parser.y ZendEngine2/zend_ini_scanner.l ZendEngine2/zend_language_parser.y ZendEngine2/zend_language_scanner.l: - - A belated happy holidays (by two years) * TSRM/tsrm_nw.c TSRM/tsrm_virtual_cwd.c TSRM/tsrm_win32.c ext/bcmath/bcmath.c ext/bz2/bz2.c ext/calendar/cal_unix.c ext/calendar/calendar.c ext/calendar/easter.c ext/com_dotnet/com_com.c ext/com_dotnet/com_dotnet.c ext/com_dotnet/com_extension.c ext/com_dotnet/com_handlers.c ext/com_dotnet/com_iterator.c ext/com_dotnet/com_misc.c ext/com_dotnet/com_olechar.c ext/com_dotnet/com_saproxy.c ext/com_dotnet/com_typeinfo.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c ext/cpdf/cpdf.c ext/ctype/ctype.c ext/curl/interface.c ext/curl/multi.c ext/curl/streams.c ext/dba/dba.c ext/dba/dba_cdb.c ext/dba/dba_db2.c ext/dba/dba_db3.c ext/dba/dba_db4.c ext/dba/dba_dbm.c ext/dba/dba_flatfile.c ext/dba/dba_gdbm.c ext/dba/dba_inifile.c ext/dba/dba_ndbm.c ext/dba/dba_qdbm.c ext/dba/libcdb/cdb.c ext/dba/libcdb/cdb_make.c ext/dba/libcdb/uint32.c ext/dba/libflatfile/flatfile.c ext/dba/libinifile/inifile.c ext/dbase/dbase.c ext/dbx/dbx.c ext/dbx/dbx_fbsql.c ext/dbx/dbx_mssql.c ext/dbx/dbx_mysql.c ext/dbx/dbx_oci8.c ext/dbx/dbx_odbc.c ext/dbx/dbx_pgsql.c ext/dbx/dbx_sqlite.c ext/dbx/dbx_sybasect.c ext/dio/dio.c ext/dom/attr.c ext/dom/cdatasection.c ext/dom/characterdata.c ext/dom/comment.c ext/dom/document.c ext/dom/documentfragment.c ext/dom/documenttype.c ext/dom/dom_iterators.c ext/dom/domconfiguration.c ext/dom/domerror.c ext/dom/domerrorhandler.c ext/dom/domexception.c ext/dom/domimplementation.c ext/dom/domimplementationlist.c ext/dom/domimplementationsource.c ext/dom/domlocator.c ext/dom/domstringlist.c ext/dom/element.c ext/dom/entity.c ext/dom/entityreference.c ext/dom/namednodemap.c ext/dom/namelist.c ext/dom/node.c ext/dom/nodelist.c ext/dom/notation.c ext/dom/php_dom.c ext/dom/processinginstruction.c ext/dom/string_extend.c ext/dom/text.c ext/dom/typeinfo.c ext/dom/userdatahandler.c ext/dom/xpath.c ext/exif/exif.c ext/fam/fam.c ext/fbsql/php_fbsql.c ext/fdf/fdf.c ext/filepro/filepro.c ext/ftp/ftp.c ext/ftp/php_ftp.c ext/gd/gd.c ext/gd/gd_ctx.c ext/gd/libgd/xbm.c ext/gettext/gettext.c ext/gmp/gmp.c ext/iconv/iconv.c ext/imap/php_imap.c ext/ingres_ii/ii.c ext/interbase/interbase.c ext/ircg/ircg.c ext/ircg/ircg_common.c ext/ircg/ircg_scanner.c ext/ircg/ircg_thttpd.c ext/ldap/ldap.c ext/mbstring/mb_gpc.c ext/mbstring/mbstring.c ext/mbstring/php_mbregex.c ext/mbstring/php_unicode.c ext/mcrypt/mcrypt.c ext/mcve/mcve.c ext/mhash/mhash.c ext/mime_magic/mime_magic.c ext/ming/ming.c ext/mnogosearch/php_mnogo.c ext/mono/php_mono.c ext/msql/php_msql.c ext/mssql/php_mssql.c ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_fe.c ext/mysqli/mysqli_nonapi.c ext/mysqli/mysqli_report.c ext/ncurses/ncurses.c ext/ncurses/ncurses_fe.c ext/ncurses/ncurses_functions.c ext/oci8/oci8.c ext/odbc/birdstep.c ext/odbc/php_odbc.c ext/openssl/openssl.c ext/openssl/xp_ssl.c ext/oracle/oracle.c ext/ovrimos/ovrimos.c ext/pcntl/pcntl.c ext/pcntl/php_signal.c ext/pcre/php_pcre.c ext/pcre/pcrelib/dftables.c ext/pcre/pcrelib/get.c ext/pcre/pcrelib/maketables.c ext/pcre/pcrelib/pcre.c ext/pcre/pcrelib/pcreposix.c ext/pcre/pcrelib/study.c ext/pdf/pdf.c ext/pfpro/pfpro.c ext/pgsql/pgsql.c ext/posix/posix.c ext/pspell/pspell.c ext/readline/readline.c ext/recode/recode.c ext/session/mod_files.c ext/session/mod_mm.c ext/session/mod_user.c ext/session/session.c ext/shmop/shmop.c ext/simplexml/simplexml.c ext/snmp/snmp.c ext/sockets/php_sockets_win.c ext/sockets/sockets.c ext/sqlite/sess_sqlite.c ext/sqlite/sqlite.c ext/standard/array.c ext/standard/assert.c ext/standard/base64.c ext/standard/basic_functions.c ext/standard/browscap.c ext/standard/crc32.c ext/standard/credits.c ext/standard/crypt.c ext/standard/css.c ext/standard/cyr_convert.c ext/standard/datetime.c ext/standard/dir.c ext/standard/dl.c ext/standard/dns.c ext/standard/exec.c ext/standard/file.c ext/standard/filestat.c ext/standard/filters.c ext/standard/flock_compat.c ext/standard/formatted_print.c ext/standard/fsock.c ext/standard/ftok.c ext/standard/ftp_fopen_wrapper.c ext/standard/head.c ext/standard/html.c ext/standard/http.c ext/standard/http_fopen_wrapper.c ext/standard/image.c ext/standard/incomplete_class.c ext/standard/info.c ext/standard/iptc.c ext/standard/lcg.c ext/standard/levenshtein.c ext/standard/link.c ext/standard/mail.c ext/standard/math.c ext/standard/md5.c ext/standard/metaphone.c ext/standard/microtime.c ext/standard/pack.c ext/standard/pageinfo.c ext/standard/php_fopen_wrapper.c ext/standard/proc_open.c ext/standard/quot_print.c ext/standard/rand.c ext/standard/reg.c ext/standard/scanf.c ext/standard/sha1.c ext/standard/soundex.c ext/standard/streamsfuncs.c ext/standard/string.c ext/standard/sunfuncs.c ext/standard/syslog.c ext/standard/type.c ext/standard/uniqid.c ext/standard/url.c ext/standard/url_scanner.c ext/standard/url_scanner_ex.c ext/standard/user_filters.c ext/standard/uuencode.c ext/standard/var.c ext/standard/var_unserializer.c ext/standard/versioning.c ext/sybase/php_sybase_db.c ext/sybase_ct/php_sybase_ct.c ext/sysvmsg/sysvmsg.c ext/sysvsem/sysvsem.c ext/sysvshm/sysvshm.c ext/tokenizer/tokenizer.c ext/wddx/wddx.c ext/xml/compat.c ext/xml/xml.c ext/xmlrpc/xmlrpc-epi-php.c ext/xsl/php_xsl.c ext/xsl/xsltprocessor.c ext/yaz/php_yaz.c ext/yp/yp.c ext/zlib/zlib.c ext/zlib/zlib_fopen_wrapper.c main/SAPI.c main/fopen_wrappers.c main/internal_functions_nw.c main/internal_functions_win32.c main/main.c main/network.c main/output.c main/php_content_types.c main/php_ini.c main/php_logos.c main/php_open_temporary_file.c main/php_scandir.c main/php_sprintf.c main/php_ticks.c main/php_variables.c main/reentrancy.c main/rfc1867.c main/safe_mode.c main/snprintf.c main/spprintf.c main/strlcat.c main/strlcpy.c main/streams/cast.c main/streams/filter.c main/streams/memory.c main/streams/mmap.c main/streams/plain_wrapper.c main/streams/streams.c main/streams/transports.c main/streams/userspace.c main/streams/xp_socket.c netware/start.c sapi/activescript/php4activescript.c sapi/aolserver/aolserver.c sapi/apache/libpre.c sapi/apache/mod_php5.c sapi/apache/php_apache.c sapi/apache/sapi_apache.c sapi/apache2filter/apache_config.c sapi/apache2filter/php_functions.c sapi/apache2filter/sapi_apache2.c sapi/apache2handler/apache_config.c sapi/apache2handler/mod_php5.c sapi/apache2handler/php_functions.c sapi/apache2handler/sapi_apache2.c sapi/apache_hooks/mod_php4.c sapi/apache_hooks/php_apache.c sapi/apache_hooks/sapi_apache.c sapi/caudium/caudium.c sapi/cgi/cgi_main.c sapi/cgi/getopt.c sapi/cli/getopt.c sapi/cli/php_cli.c sapi/embed/php_embed.c sapi/isapi/php4isapi.c sapi/milter/php_milter.c sapi/nsapi/nsapi.c sapi/phttpd/phttpd.c sapi/pi3web/pi3web_sapi.c sapi/roxen/roxen.c sapi/thttpd/thttpd.c sapi/tux/php_tux.c sapi/webjames/webjames.c win32/crypt_win32.c win32/md5crypt.c win32/pwd.c win32/select.c win32/winutil.c: - A belated happy holidays and PHP 5 2004-01-08 Jani Taskinen * win32/php_modules.dsw: - remove non-existing project * (PHP_4_3) ext/imap/php_imap.c: MFH: Added missing constants (bug #26831) * ext/imap/php_imap.c: Added missing constants (bug #26831) 2004-01-08 Frank M. Kromann * win32/php5dllts.dsp: Adding new com_dotnet source files to project 2004-01-07 Jani Taskinen * NEWS NEWS: BFN 2004-01-07 Wez Furlong * ext/gd/config.w32: win32 build: gd should build shared by default don't use php.ini when running mkdist.php * sapi/activescript/config.w32 sapi/activescript/php4activescript.def sapi/activescript/scriptengine.cpp: Make activescript SAPI build under php5. Untested...! * ext/com_dotnet/com_com.c ext/com_dotnet/com_dotnet.c ext/com_dotnet/com_extension.c ext/com_dotnet/com_handlers.c ext/com_dotnet/com_iterator.c ext/com_dotnet/com_misc.c ext/com_dotnet/com_olechar.c ext/com_dotnet/com_saproxy.c ext/com_dotnet/com_typeinfo.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/config.w32 ext/com_dotnet/php_com_dotnet.h ext/com_dotnet/php_com_dotnet_internal.h: Port other major parts of PHP 4 COM extension into PHP 5 com_dotnet extension. This enables: - iteration of SafeArray types via foreach() - proxying of multi-dimensional SafeArray types so that multi-dimension array accesses work (untested!) - Fix COM exceptions, and expose them as their own class of exception "com_exception" - auto typelib file import (com.typelib_file ini option) - event sinking - wrapper to map PHP objects to COM - fix mapping of variant values to PHP values * ext/oci8/config.w32 ext/oracle/config.w32 ext/pspell/config.w32 ext/zlib/config.w32 sapi/nsapi/config.w32: glob-ify lib checks; this simplifies writing of config.w32 files a little. 2004-01-07 Rob Richards * ext/dom/document.c ext/dom/tests/dom_xinclude.phpt: Fix bug #26815 (foreach (DOM) childnodes causes error using Xinclude) update xinclude test 2004-01-07 Ard Biesheuvel * (PHP_4_3) ext/interbase/interbase.c: MFH: Let DB handle NULL params, fixes bug #26777 * ext/interbase/interbase.c: Let DB handle NULL params, fixes bug #26777 2004-01-07 Marcus Boerger * ZendEngine2/zend_execute.c: Reimplement part of Bug #24608 that was reverted too * ZendEngine2/zend_execute.c: Revert patch that allowed to call sttaic methods via $method() 2004-01-06 Ilia Alshanetsky * ZendEngine2/zend_mm.c: Check if realloc() succeeds or not. (Noticed by Andrey) 2004-01-06 Zeev Suraski * ext/standard/http.c: Fix C++ style declaration 2004-01-06 Ilia Alshanetsky * NEWS ext/standard/http.c ext/standard/php_http.h ext/standard/tests/strings/bug26817.phpt ext/standard/tests/strings/bug26819.phpt: Fixed bug #26819 (http_build_query() crashes on NULL output). Fixed bug #26817 (http_build_query() does not handle private & protected object properties correctly). * ext/standard/rand.c: Revert proto 'fix'. 2004-01-06 Moriyoshi Koizumi * ext/iconv/iconv.c: Prevent a character from being wrongly doubled in the buffer. 2004-01-06 Ilia Alshanetsky * ext/standard/rand.c: Proto fixes. 2004-01-06 Marcus Boerger * ZendEngine2/tests/bug26802.phpt: Update 2004-01-05 Marcus Boerger * ZendEngine2/zend_execute.c ZendEngine2/tests/bug26802.phpt: Fixed bug #26802 * ZendEngine2/tests/bug26802.phpt: Fix test * ZendEngine2/tests/bug26801.phpt ZendEngine2/tests/bug26802.phpt: Add new test 2004-01-05 Georg Richter * (PHP_4_3) ext/mysql/php_mysql.c ext/mysql/php_mysql.h: s/2003/2004 :) 2004-01-05 Jani Taskinen * NEWS: BFN 2004-01-05 Marcus Boerger * ZendEngine2/tests/bug26696.phpt: Update test 2004-01-05 Stanislav Malyshev * ZendEngine2/zend_API.c: Fix bug #26543 - check parent:: and self:: in class names * ZendEngine2/zend_execute.c ZendEngine2/zend_object_handlers.c: Bug #24608 - fix interaction between __accessors and get_property_ptr 2004-01-05 Andrey Hristov * README.PHP4-TO-PHP5-THIN-CHANGES: another example 2004-01-04 Ilia Alshanetsky * (PHP_4_3) ext/crack/crack.c: Fixed compile warnings. Fixed crash in crack_closedict(); Switched from zend_error() to php_error_docref(); 2004-01-04 Moriyoshi Koizumi * ext/standard/tests/file/bug26615.phpt: "seq" isn't available for all platforms. 2004-01-03 Edin Kadribasic * (PHP_4_3) NEWS: BFN * (PHP_4_3) NEWS: More proper news format. * (PHP_4_3) NEWS sapi/cli/php_cli.c: MFH: cli overrides php.ini and switches output buffering off. 2004-01-03 Jan Lehnardt * scripts/phpize.in: - remove unneeded subroutine call 2004-01-03 Derick Rethans * .cvsignore: - Added test results to .cvsignore file * NEWS ZendEngine2/zend.c ZendEngine2/zend_API.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_object_handlers.c ZendEngine2/zend_reflection_api.c ext/standard/basic_functions.c ext/standard/var.c: - Fixed var_export() to show public, protected and private modifiers properly. - Exported (un)mangle_property_name. * scripts/phpize.in: - Show the API numbers again while phpizing. 2004-01-03 Ilia Alshanetsky * ext/standard/file.c: s/then/than/ Thanks Jani & Andi 2004-01-02 Edin Kadribasic * sapi/cli/php_cli.c: Disable output buffering in CLI overriding php.ini setting. Fixes #26755. 2004-01-02 Andrei Zmievski * ZendEngine2/zend_default_classes.c: Do not show exception message if it's empty. 2004-01-02 Jani Taskinen * ext/oci8/oci8.c ext/oci8/php_oci8.h: ws + cs * ext/oci8/oci8.c: another ZTS fix 2004-01-02 Marcus Boerger * NEWS: BFN * ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Bugfix #26762 unserialize() produces lowercase classnames * ext/standard/tests/serialize/bug26762.phpt: Add new test 2004-01-02 Jani Taskinen * NEWS: dotdotdot.. * ext/oci8/oci8.c: fix ZTS build 2004-01-02 Ilia Alshanetsky * (PHP_4_3) NEWS ext/standard/file.c: MFH: Fixed bug #26752 (Silent unterminated loop when length parameter for fgets(), fread() and fgetss() is 0). * ext/standard/file.c: Fixed bug #26752 (Silent unterminated loop when length parameter for fgets(), fread() and fgetss() is 0). 2004-01-01 Marcus Boerger * ext/recode/recode.c: Fix ZTS build 2004-01-01 Georg Richter * ext/mysqli/mysqli_prop.c: fixed bug(s) in macro call for statement properties * ext/mysqli/mysqli_prop.c: Added Macro for longlong values added property stmt->affected_rows 2004-01-01 Derick Rethans * ChangeLog ChangeLog.2003.gz: - Compress 2003 changelog