[PHP-CVS-DAILY] cvs: php-src / ChangeLog

2004-04-03 Thread changelog
changelog   Sat Apr  3 20:32:13 2004 EDT

  Modified files:  
/php-srcChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/diff.php/php-src/ChangeLog?r1=1.1587r2=1.1588ty=u
Index: php-src/ChangeLog
diff -u php-src/ChangeLog:1.1587 php-src/ChangeLog:1.1588
--- php-src/ChangeLog:1.1587Fri Apr  2 21:06:57 2004
+++ php-src/ChangeLog   Sat Apr  3 20:32:13 2004
@@ -1,3 +1,131 @@
+2004-04-03  Andi Gutmans  [EMAIL PROTECTED]
+
+* ZendEngine2/zend_builtin_functions.c:
+  Patch by Timm Friebe:
+  It changes
+  set_exception_handler() to accept the pseudo-type callable (instead of
+  a string referring to a global function).
+  
+  
+  Examples:
+set_exception_handler('function_name');
+set_exception_handler(array('class_name', 'static_method'));
+set_exception_handler(array($instance, 'instance_method'));
+  
+  
+  This also makes set_exception_handler() more consistent with all the
+  other callback functionality, e.g. set_error_handler().
+
+2004-04-03  Derick Rethans  [EMAIL PROTECTED]
+
+* ext/mbstring/config.m4:
+  - MFB: Fixed bug #27849 (configure craps out on trivial syntax error).
+
+* (PHP_4_3)
+  NEWS
+  ext/mbstring/config.m4:
+  - Fixed bug #27849 (configure craps out on trivial syntax error).
+
+2004-04-03  Andi Gutmans  [EMAIL PROTECTED]
+
+* ZendEngine2/zend_operators.c:
+  - Nuke more old junk
+
+2004-04-03  Ard Biesheuvel  [EMAIL PROTECTED]
+
+* ext/standard/config.m4:
+  That should do it
+
+2004-04-03  Greg Beaver  [EMAIL PROTECTED]
+
+* (PHP_4_3)
+  pear/PEAR/Command/Remote.php:
+  MFH
+  fixed #534 for real (remove notice if state=stable doesn't exist, and use
+  none for stable version number)
+
+* pear/PEAR/Command/Remote.php:
+  fixed #534 for real (remove notice if state=stable doesn't exist, and use
+  none for stable version number)
+
+2004-04-03  Ard Biesheuvel  [EMAIL PROTECTED]
+
+* ext/interbase/tests/008.phpt:
+  Skip on Windows
+
+* ext/interbase/tests/interbase.inc:
+  Don't rely on OS-based authentication (as it is not supported under Win32)
+
+2004-04-03  Marcus Boerger  [EMAIL PROTECTED]
+
+* ext/sqlite/sqlite.c
+  ext/sqlite/tests/sqlite_014.phpt
+  ext/sqlite/tests/sqlite_oo_014.phpt:
+  Increase severity level and use a more precise error message.
+
+2004-04-03  Ard Biesheuvel  [EMAIL PROTECTED]
+
+* (PHP_4_3)
+  ext/standard/config.m4:
+  2nd try for glibc2.2/sparc64
+
+2004-04-03  Andi Gutmans  [EMAIL PROTECTED]
+
+* ZendEngine2/zend.h
+  ZendEngine2/zend_operators.c
+  ZendEngine2/zend_operators.h:
+  - Nuke code which hasn't been in use for ages.
+
+2004-04-03  Ard Biesheuvel  [EMAIL PROTECTED]
+
+* ext/interbase/tests/004.phpt:
+  fclose() tempfile so unlink() doesn't choke on Win32
+
+* ext/interbase/interbase.c:
+  Change definition of ISC_LONG_[MIN|MAX] to please MSVC.
+
+* ext/standard/config.m4:
+  MFB: more elaborate HUGE_VAL test
+
+2004-04-03  Marcus Boerger  [EMAIL PROTECTED]
+
+* ext/standard/basic_functions.c:
+  Initialize to 0 to prevent valgrind warnings
+
+2004-04-03  Ard Biesheuvel  [EMAIL PROTECTED]
+
+* (PHP_4_3)
+  ext/standard/config.m4:
+  Changed test to include returning HUGE_VAL as well (intended to resolve
+  #27830)
+
+2004-04-03  Greg Beaver  [EMAIL PROTECTED]
+
+* (PHP_4_3)
+  pear/PEAR.php
+  pear/package-PEAR.xml:
+  MFH
+  fix Bug #937 throwError() treats every call as static
+  fix Bug #964 PEAR_ERROR_EXCEPTION causes fatal error
+
+* pear/PEAR.php
+  pear/package-PEAR.xml:
+  fix Bug #937 throwError() treats every call as static
+  fix Bug #964 PEAR_ERROR_EXCEPTION causes fatal error
+
+* (PHP_4_3)
+  pear/package-PEAR.xml
+  pear/PEAR/Command/Remote.php:
+  MFH fix #534: pear search doesn't list unstable releases
+
+* pear/package-PEAR.xml
+  pear/PEAR/Command/Remote.php:
+  fix #534: pear search doesn't list unstable releases
+
+* pear/package-PEAR.xml
+  pear/package-PEAR.xml:
+  not devel any more
+
 2004-04-02  Derick Rethans  [EMAIL PROTECTED]
 
 * ext/standard/parsedate.y:
@@ -1353,7 +1481,7 @@
 2004-03-18  Pierre-Alain Joye  [EMAIL PROTECTED]
 
 * ext/gd/tests/bug27582_2.phpt:
-  - Fix the test description and $Id: ChangeLog,v 1.1587 2004/04/03 02:06:57 
changelog Exp $
+  - Fix the test description and $Id: ChangeLog,v 1.1588 2004/04/04 01:32:13 
changelog Exp $
 
 2004-03-18  Derick Rethans  [EMAIL PROTECTED]
 


[PHP-CVS-DAILY] cvs: ZendEngine2 / ChangeLog

2004-04-03 Thread changelog
changelog   Sat Apr  3 20:32:18 2004 EDT

  Modified files:  
/ZendEngine2ChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/diff.php/ZendEngine2/ChangeLog?r1=1.442r2=1.443ty=u
Index: ZendEngine2/ChangeLog
diff -u ZendEngine2/ChangeLog:1.442 ZendEngine2/ChangeLog:1.443
--- ZendEngine2/ChangeLog:1.442 Thu Apr  1 20:32:15 2004
+++ ZendEngine2/ChangeLog   Sat Apr  3 20:32:18 2004
@@ -1,3 +1,29 @@
+2004-04-03  Andi Gutmans  [EMAIL PROTECTED]
+
+* zend_builtin_functions.c:
+  Patch by Timm Friebe:
+  It changes
+  set_exception_handler() to accept the pseudo-type callable (instead of
+  a string referring to a global function).
+  
+  
+  Examples:
+set_exception_handler('function_name');
+set_exception_handler(array('class_name', 'static_method'));
+set_exception_handler(array($instance, 'instance_method'));
+  
+  
+  This also makes set_exception_handler() more consistent with all the
+  other callback functionality, e.g. set_error_handler().
+
+* zend_operators.c:
+  - Nuke more old junk
+
+* zend.h
+  zend_operators.c
+  zend_operators.h:
+  - Nuke code which hasn't been in use for ages.
+
 2004-04-01  Ilia Alshanetsky  [EMAIL PROTECTED]
 
 * zend_builtin_functions.c:
@@ -4326,7 +4352,7 @@
 2003-06-10  Jani Taskinen  [EMAIL PROTECTED]
 
 * zend_multiply.h:
-  - Missing $Id: ChangeLog,v 1.442 2004/04/02 01:32:15 changelog Exp $ tag
+  - Missing $Id: ChangeLog,v 1.443 2004/04/04 01:32:18 changelog Exp $ tag
 
 2003-06-10  James Cox  [EMAIL PROTECTED]
 
@@ -6050,7 +6076,7 @@
   zend_types.h
   zend_variables.c
   zend_variables.h:
-  - Added some missing CVS $Id: ChangeLog,v 1.442 2004/04/02 01:32:15 changelog 
Exp $ tags, headers and footers.
+  - Added some missing CVS $Id: ChangeLog,v 1.443 2004/04/04 01:32:18 changelog 
Exp $ tags, headers and footers.
 
 2003-01-30  Ilia Alshanetsky  [EMAIL PROTECTED]
 


[PHP-CVS] cvs: php-src /ext/sqlite sqlite.c /ext/sqlite/tests sqlite_014.phpt sqlite_oo_014.phpt

2004-04-03 Thread Marcus Boerger
helly   Sat Apr  3 09:40:36 2004 EDT

  Modified files:  
/php-src/ext/sqlite sqlite.c 
/php-src/ext/sqlite/tests   sqlite_014.phpt sqlite_oo_014.phpt 
  Log:
  Increase severity level and use a more precise error message.
  
  
http://cvs.php.net/diff.php/php-src/ext/sqlite/sqlite.c?r1=1.138r2=1.139ty=u
Index: php-src/ext/sqlite/sqlite.c
diff -u php-src/ext/sqlite/sqlite.c:1.138 php-src/ext/sqlite/sqlite.c:1.139
--- php-src/ext/sqlite/sqlite.c:1.138   Mon Mar 29 14:49:16 2004
+++ php-src/ext/sqlite/sqlite.c Sat Apr  3 09:40:34 2004
@@ -17,7 +17,7 @@
|  Marcus Boerger [EMAIL PROTECTED]  |
+--+
 
-   $Id: sqlite.c,v 1.138 2004/03/29 19:49:16 helly Exp $ 
+   $Id: sqlite.c,v 1.139 2004/04/03 14:40:34 helly Exp $ 
 */
 
 #ifdef HAVE_CONFIG_H
@@ -1055,7 +1055,7 @@
 {
php_info_print_table_start();
php_info_print_table_header(2, SQLite support, enabled);
-   php_info_print_table_row(2, PECL Module version, PHP_SQLITE_MODULE_VERSION  
$Id: sqlite.c,v 1.138 2004/03/29 19:49:16 helly Exp $);
+   php_info_print_table_row(2, PECL Module version, PHP_SQLITE_MODULE_VERSION  
$Id: sqlite.c,v 1.139 2004/04/03 14:40:34 helly Exp $);
php_info_print_table_row(2, SQLite Library, sqlite_libversion());
php_info_print_table_row(2, SQLite Encoding, sqlite_libencoding());
php_info_print_table_end();
@@ -1810,7 +1810,7 @@
 
if (res-curr_row = res-nrows  res-nrows) {
if (!res-buffered) {
-   php_error_docref(NULL TSRMLS_CC, E_NOTICE, One or more 
rowsets were already returned);
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, One or more 
rowsets were already returned; returning NULL this time);
} else {
res-curr_row = 0;
}
http://cvs.php.net/diff.php/php-src/ext/sqlite/tests/sqlite_014.phpt?r1=1.3r2=1.4ty=u
Index: php-src/ext/sqlite/tests/sqlite_014.phpt
diff -u php-src/ext/sqlite/tests/sqlite_014.phpt:1.3 
php-src/ext/sqlite/tests/sqlite_014.phpt:1.4
--- php-src/ext/sqlite/tests/sqlite_014.phpt:1.3Thu Dec  4 21:12:21 2003
+++ php-src/ext/sqlite/tests/sqlite_014.phptSat Apr  3 09:40:36 2004
@@ -61,7 +61,7 @@
   }
 }
 
-Notice: sqlite_fetch_all(): One or more rowsets were already returned in 
%ssqlite_014.php on line %d
+Warning: sqlite_fetch_all(): One or more rowsets were already returned; returning 
NULL this time in %ssqlite_014.php on line %d
 array(0) {
 }
 unbuffered with fetch_array
http://cvs.php.net/diff.php/php-src/ext/sqlite/tests/sqlite_oo_014.phpt?r1=1.7r2=1.8ty=u
Index: php-src/ext/sqlite/tests/sqlite_oo_014.phpt
diff -u php-src/ext/sqlite/tests/sqlite_oo_014.phpt:1.7 
php-src/ext/sqlite/tests/sqlite_oo_014.phpt:1.8
--- php-src/ext/sqlite/tests/sqlite_oo_014.phpt:1.7 Mon Mar 29 14:49:17 2004
+++ php-src/ext/sqlite/tests/sqlite_oo_014.phpt Sat Apr  3 09:40:36 2004
@@ -59,7 +59,7 @@
   }
 }
 
-Notice: SQLiteUnbuffered::fetchAll(): One or more rowsets were already returned in 
%ssqlite_oo_014.php on line %d
+Warning: SQLiteUnbuffered::fetchAll(): One or more rowsets were already returned; 
returning NULL this time in %ssqlite_oo_014.php on line %d
 array(0) {
 }
 unbuffered with fetch_array

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/interbase/tests 008.phpt

2004-04-03 Thread Ard Biesheuvel
abies   Sat Apr  3 10:29:10 2004 EDT

  Modified files:  
/php-src/ext/interbase/tests008.phpt 
  Log:
  Skip on Windows
  
http://cvs.php.net/diff.php/php-src/ext/interbase/tests/008.phpt?r1=1.1r2=1.2ty=u
Index: php-src/ext/interbase/tests/008.phpt
diff -u php-src/ext/interbase/tests/008.phpt:1.1 
php-src/ext/interbase/tests/008.phpt:1.2
--- php-src/ext/interbase/tests/008.phpt:1.1Tue Feb 17 07:24:42 2004
+++ php-src/ext/interbase/tests/008.phptSat Apr  3 10:29:10 2004
@@ -1,11 +1,14 @@
 --TEST--
 InterBase: event handling
 --SKIPIF--
-?php include(skipif.inc); ?
+?php 
+if (PHP_OS == WINNT) echo skip;
+include(skipif.inc); 
+?
 --POST--
 --GET--
 --FILE--
-?php /* $Id: 008.phpt,v 1.1 2004/02/17 12:24:42 abies Exp $ */
+?php /* $Id: 008.phpt,v 1.2 2004/04/03 15:29:10 abies Exp $ */
 
 require(interbase.inc);
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/standard config.m4

2004-04-03 Thread Ard Biesheuvel
abies   Sat Apr  3 11:38:11 2004 EDT

  Modified files:  
/php-src/ext/standard   config.m4 
  Log:
  That should do it
  
http://cvs.php.net/diff.php/php-src/ext/standard/config.m4?r1=1.72r2=1.73ty=u
Index: php-src/ext/standard/config.m4
diff -u php-src/ext/standard/config.m4:1.72 php-src/ext/standard/config.m4:1.73
--- php-src/ext/standard/config.m4:1.72 Sat Apr  3 05:42:42 2004
+++ php-src/ext/standard/config.m4  Sat Apr  3 11:38:10 2004
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.72 2004/04/03 10:42:42 abies Exp $ -*- sh -*-
+dnl $Id: config.m4,v 1.73 2004/04/03 16:38:10 abies Exp $ -*- sh -*-
 
 divert(3)dnl
 
@@ -413,16 +413,13 @@
 #define zend_isnan(a) 0
 #endif
 
-double hv(int i)
-{
-   /* avoid inlining */
-   if (i) return hv(i-1);
-   else return HUGE_VAL;
-}
-
 int main(int argc, char** argv)
 {
-   return zend_isinf(hv(3))  zend_isnan(HUGE_VAL + -HUGE_VAL) ? 0 : 1;
+#if defined(__sparc__)  !(__GNUC__ = 3)
+   return 1;
+#else
+   return zend_isinf(HUGE_VAL)  zend_isnan(HUGE_VAL + -HUGE_VAL) ? 0 : 1;
+#endif
 }
   ],[
   ac_cv_huge_val_nan=yes

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_4_3) / NEWS /ext/mbstring config.m4

2004-04-03 Thread Derick Rethans
derick  Sat Apr  3 12:23:17 2004 EDT

  Modified files:  (Branch: PHP_4_3)
/php-src/ext/mbstring   config.m4 
/php-srcNEWS 
  Log:
  - Fixed bug #27849 (configure craps out on trivial syntax error).
  
  
http://cvs.php.net/diff.php/php-src/ext/mbstring/config.m4?r1=1.28.2.8r2=1.28.2.9ty=u
Index: php-src/ext/mbstring/config.m4
diff -u php-src/ext/mbstring/config.m4:1.28.2.8 php-src/ext/mbstring/config.m4:1.28.2.9
--- php-src/ext/mbstring/config.m4:1.28.2.8 Mon Dec  8 02:18:46 2003
+++ php-src/ext/mbstring/config.m4  Sat Apr  3 12:23:13 2004
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.28.2.8 2003/12/08 07:18:46 moriyoshi Exp $
+dnl $Id: config.m4,v 1.28.2.9 2004/04/03 17:23:13 derick Exp $
 dnl
 
 AC_DEFUN([PHP_MBSTRING_ADD_SOURCES], [
@@ -34,7 +34,7 @@
 PHP_ADD_BUILD_DIR([$ext_builddir/$dir])
   done
   
-  if test $ext_shared = no || ! test -e $ext_builddir/config.h.in; then
+  if test $ext_shared = no -o ! -e $ext_builddir/config.h.in; then
 out=php_config.h
   else
 out=$abs_builddir/config.h
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.626r2=1.1247.2.627ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.626 php-src/NEWS:1.1247.2.627
--- php-src/NEWS:1.1247.2.626   Thu Apr  1 15:51:33 2004
+++ php-src/NEWSSat Apr  3 12:23:14 2004
@@ -2,6 +2,7 @@
 |||
 01 Apr 2004, Version 4.3.6RC1
 - Synchronized bundled GD library with GD 2.0.22. (Ilia)
+- Fixed bug #27849 (configure craps out on trivial syntax error). (Derick)
 - Fixed bug #27822 (is_resource() returns TRUE for closed resources). (Derick)
 - Fixed bug #27819 (problems returning reference to a reference parameter).
   (Ilia)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php