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

2003-09-01 Thread changelog
changelog   Sun Aug 31 20:31:35 2003 EDT

  Modified files:  
/php-srcChangeLog 
  Log:
  ChangeLog update
  
Index: php-src/ChangeLog
diff -u php-src/ChangeLog:1.1374 php-src/ChangeLog:1.1375
--- php-src/ChangeLog:1.1374Sat Aug 30 20:31:43 2003
+++ php-src/ChangeLog   Sun Aug 31 20:31:34 2003
@@ -1,3 +1,161 @@
+2003-08-31  Ilia Alshanetsky  [EMAIL PROTECTED]
+
+* (PHP_4_3)
+  ext/ftp/ftp.c:
+  MFH: Make sure that ftp-data is nulled after it's freed. This may fix bug
+
+* ext/ftp/ftp.c:
+  Make sure that ftp-data is nulled after it's freed. This may fix bug
+
+* ext/calendar/calendar.c
+  ext/dio/dio.c
+  ext/ldap/ldap.c
+  ext/mssql/php_mssql.c
+  ext/openssl/openssl.c
+  ext/sockets/sockets.c
+  ext/sysvsem/sysvsem.c
+  ext/sysvshm/sysvshm.c
+  ext/xmlrpc/xmlrpc-epi-php.c:
+  Fixed compiler warnings.
+
+2003-08-31  Greg Beaver  [EMAIL PROTECTED]
+
+* pear/PEAR/Common.php:
+  typo
+
+* pear/PEAR/Installer.php:
+  Tomas say:
+  
+  I think you'd have to let the user still install the package with
+  --force.
+  
+  I say, OK :)
+
+2003-08-31  Jani Taskinen  [EMAIL PROTECTED]
+
+* ext/dba/dba.dsp:
+  - Fix win32 debug build
+
+* ext/mbstring/mbstring.dsp:
+  - Fix the win32 build.
+
+2003-08-31  Marcus Boerger  [EMAIL PROTECTED]
+
+* ZendEngine2/zend_reflection_api.c:
+  Don't repeat first const count(consts) time
+
+* ZendEngine2/zend_reflection_api.c:
+  Beautify output
+
+* ZendEngine2/zend_reflection_api.c:
+  Add reflection_parameters, patch by Timm Friebe
+
+* ext/sysvmsg/sysvmsg.c:
+  Fix formatting specifier
+
+* ext/pcntl/pcntl.c:
+  No dots at the end of error messages
+
+* ext/pcntl/pcntl.c:
+  Fix format specifiers
+
+2003-08-31  Zeev Suraski  [EMAIL PROTECTED]
+
+* ext/curl/interface.c
+  ext/gmp/gmp.c
+  ext/ldap/ldap.c
+  ext/mbstring/mbstring.c
+  ext/mcve/mcve.c
+  ext/mssql/php_mssql.c
+  ext/oci8/oci8.c
+  ext/odbc/php_odbc.c
+  ext/openssl/openssl.c
+  ext/oracle/oracle.c
+  ext/pcntl/pcntl.c
+  ext/pcre/php_pcre.c
+  ext/sockets/sockets.c
+  ext/sqlite/sqlite.c
+  ext/sysvmsg/sysvmsg.c
+  ext/xml/xml.c
+  ext/xmlrpc/xmlrpc-epi-php.c
+  ext/yaz/php_yaz.c:
+  Fix Win32 linkage problems
+
+2003-08-31  Marcus Boerger  [EMAIL PROTECTED]
+
+* ZendEngine2/zend_default_classes.c:
+  Excluded chars  32 when displaying string parameters that would obliterate
+  output.
+
+2003-08-31  Zeev Suraski  [EMAIL PROTECTED]
+
+* ZendEngine2/zend_arg_defs.c
+  ZendEngine2/zend_builtin_functions.c
+  ZendEngine2/zend_modules.h:
+  Attempt at fixing the linkage problem in Win32
+
+2003-08-31  Marcus Boerger  [EMAIL PROTECTED]
+
+* ZendEngine2/zend_execute.c:
+  Synch error message with other one to fix tests
+
+* ZendEngine2/zend_reflection_api.c:
+  Check whether we may access tat union
+
+* ext/mysqli/mysqli_api.c:
+  Revert commit by accident, sorry
+
+2003-08-31  Jani Taskinen  [EMAIL PROTECTED]
+
+* scripts/Makefile.frag:
+  - Single header files installation.
+
+2003-08-31  Marcus Boerger  [EMAIL PROTECTED]
+
+* ZendEngine2/zend.c
+  ext/mysqli/mysqli_api.c:
+  Revisited: Replace the non portable code by spprintf
+
+* ZendEngine2/zend_reflection_api.c:
+  Using zend_spprintf should be faster here
+
+* ZendEngine2/zend.c
+  ZendEngine2/zend.h
+  ZendEngine2/zend_default_classes.c
+  main/main.c:
+  Make vspprintf available as zend utility function. Use it in exception
+  output.
+
+2003-08-31  Sergey Kartashoff  [EMAIL PROTECTED]
+
+* ext/mnogosearch/php_mnogo.c:
+  - a new UDM_PARAM_SEARCH_RESULTS mnogosearch API command added to limit
+maximum number of search results
+
+* (PHP_4_3)
+  ext/mnogosearch/php_mnogo.c:
+  - mnogosearch extension updated to compile with mnogosearch-3.2.15
+  - a new UDM_PARAM_SEARCH_RESULTS mnogosearch API command added to limit
+maximum number of search results
+
+2003-08-31  Greg Beaver  [EMAIL PROTECTED]
+
+* pear/PEAR/Installer.php:
+  This patch should fix all unintended upgrading/installation of packages
+  less stable than preferred state
+
+* pear/package-PEAR.xml
+  pear/PEAR/Installer.php:
+  fix #25322
+
+2003-08-31  Wez Furlong  [EMAIL PROTECTED]
+
+* scripts/Makefile.frag:
+  install sqlite headers with the rest of php.
+  We only really need sqlite.h, but our build system doesn't provide for
+  installation of a single header file
+  (at least not that I can see)
+
 2003-08-30  Marcus Boerger  [EMAIL PROTECTED]
 
 * ZendEngine2/zend_default_classes.c:


[PHP-CVS] cvs: php-src /win32 php_modules.dsw

2003-09-01 Thread Sebastian Bergmann
sebastian   Mon Sep  1 02:14:25 2003 EDT

  Modified files:  
/php-src/win32  php_modules.dsw 
  Log:
  Add xsl.
  
Index: php-src/win32/php_modules.dsw
diff -u php-src/win32/php_modules.dsw:1.58 php-src/win32/php_modules.dsw:1.59
--- php-src/win32/php_modules.dsw:1.58  Thu Aug 28 13:25:34 2003
+++ php-src/win32/php_modules.dsw   Mon Sep  1 02:14:24 2003
@@ -519,6 +519,18 @@
 
 ###
 
+Project: xsl=..\ext\xsl\xsl.dsp - Package Owner=4
+
+Package=5
+{{{
+}}}
+
+Package=4
+{{{
+}}}
+
+###
+
 Project: yaz=..\ext\yaz\yaz.dsp - Package Owner=4
 
 Package=5

-- 
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) /ext/standard mail.c

2003-09-01 Thread Stanislav Malyshev
stasMon Sep  1 04:18:32 2003 EDT

  Modified files:  (Branch: PHP_4_3)
/php-src/ext/standard   mail.c 
  Log:
  The sendmail_path executable check breaks setups that use parameters
  for sendmail - including the default setup - so I'm disabling it for now.
  
  
Index: php-src/ext/standard/mail.c
diff -u php-src/ext/standard/mail.c:1.66.2.6 php-src/ext/standard/mail.c:1.66.2.7
--- php-src/ext/standard/mail.c:1.66.2.6Wed Aug 27 19:53:31 2003
+++ php-src/ext/standard/mail.c Mon Sep  1 04:18:31 2003
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: mail.c,v 1.66.2.6 2003/08/27 23:53:31 iliaa Exp $ */
+/* $Id: mail.c,v 1.66.2.7 2003/09/01 08:18:31 stas Exp $ */
 
 #include stdlib.h
 #include ctype.h
@@ -197,10 +197,11 @@
 #else
/* make sure that sendmail_path contains a valid executable, failure to do
 * would make PHP abruptly exit without a useful error message. */
-   if (access(sendmail_path, X_OK)) {
+/* if (access(sendmail_path, X_OK)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, Permission denied: unable 
to execute shell to run mail delivery binary '%s', sendmail_path);
return 0;
}
+*/
 
/* Since popen() doesn't indicate if the internal fork() doesn't work
 * (e.g. the shell can't be executed) we explicitely set it to 0 to be

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



[PHP-CVS] cvs: php-src /ext/standard mail.c

2003-09-01 Thread Stanislav Malyshev
stasMon Sep  1 04:20:18 2003 EDT

  Modified files:  
/php-src/ext/standard   mail.c 
  Log:
  The sendmail_path executable check breaks setups that use parameters
  for sendmail - including the default setup - so I'm disabling it for now.
  
  
Index: php-src/ext/standard/mail.c
diff -u php-src/ext/standard/mail.c:1.74 php-src/ext/standard/mail.c:1.75
--- php-src/ext/standard/mail.c:1.74Wed Aug 27 19:53:15 2003
+++ php-src/ext/standard/mail.c Mon Sep  1 04:20:17 2003
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: mail.c,v 1.74 2003/08/27 23:53:15 iliaa Exp $ */
+/* $Id: mail.c,v 1.75 2003/09/01 08:20:17 stas Exp $ */
 
 #include stdlib.h
 #include ctype.h
@@ -200,10 +200,11 @@
 #else
/* make sure that sendmail_path contains a valid executable, failure to do
 * would make PHP abruptly exit without a useful error message. */
-   if (access(sendmail_path, X_OK)) {
+/* if (access(sendmail_path, X_OK)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, Permission denied: unable 
to execute shell to run mail delivery binary '%s', sendmail_path);
return 0;
}
+*/
 
/* Since popen() doesn't indicate if the internal fork() doesn't work
 * (e.g. the shell can't be executed) we explicitely set it to 0 to be

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



Re[2]: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/mnogosearch php_mnogo.c

2003-09-01 Thread Sergey Kartashoff
Hi!

+  
REGISTER_LONG_CONSTANT(UDM_PARAM_RESULTS_LIMIT,UDM_PARAM_RESULTS_LIMIT,CONST_CS | 
CONST_PERSISTENT);
JT Shouldn't that be wrapped inside the #if UDM_VERSION_ID = 30215 .. #endif 
too??
I think this is not nesessary, since constant declarations are local
to extension and there is no harm if it is declared for earlier
versions.

JT Also, wouldn't it be much easier for you to put this extension into PECL?
JT You could release new versions more often..
I thought abount that, but i still sure that putting extensions into
php is much better for end-users (there no additional packages to
worry about to find required extension). Possibly the best way is to
duplicate extension in PECL and php both giving the users possibility
to stay on the cutting edge with the favourite extension.

This is only my opinion of course.

-- 
Regards, Sergey aka gluke.

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



Re[2]: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/mnogosearch php_mnogo.c

2003-09-01 Thread Jani Taskinen
On Mon, 1 Sep 2003, Sergey Kartashoff wrote:

+  
REGISTER_LONG_CONSTANT(UDM_PARAM_RESULTS_LIMIT,UDM_PARAM_RESULTS_LIMIT,CONST_CS | 
CONST_PERSISTENT);
 Shouldn't that be wrapped inside the #if UDM_VERSION_ID = 30215 .. #endif 
 too??
I think this is not nesessary, since constant declarations are local
to extension and there is no harm if it is declared for earlier versions.

But is that constant _defined_ in earlier versions???
(speaking of UDM_PARAM_RESULTS_LIMIT, in the C side)

--Jani


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



Re[3]: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/mnogosearch php_mnogo.c

2003-09-01 Thread Sergey Kartashoff
Hi!

Monday, September 1, 2003, 1:58:57 PM, you wrote:

+  
REGISTER_LONG_CONSTANT(UDM_PARAM_RESULTS_LIMIT,UDM_PARAM_RESULTS_LIMIT,CONST_CS 
| CONST_PERSISTENT);
 Shouldn't that be wrapped inside the #if UDM_VERSION_ID = 30215 .. #endif 
 too??
I think this is not nesessary, since constant declarations are local
to extension and there is no harm if it is declared for earlier versions.

JT But is that constant _defined_ in earlier versions???
JT (speaking of UDM_PARAM_RESULTS_LIMIT, in the C side)

No, for earlier version there is no matter if this constant is defined
or not.

Value of this constant is defined in the beginning for all versions:

#define UDM_PARAM_RESULTS_LIMIT 31

so registration of constant will not fail for earlier versions

Mnogosearch extension has functions to determine which version of
mnogosearch library is compiled with PHP and so, users can write their
scripts to make use of this constant if library can deal with it.

-- 
Regards, Sergey aka gluke.

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



[PHP-CVS] cvs: CVSROOT / avail

2003-09-01 Thread Rasmus Lerdorf
rasmus  Mon Sep  1 11:11:37 2003 EDT

  Modified files:  
/CVSROOTavail 
  Log:
  Karma for abies
  
  
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.735 CVSROOT/avail:1.736
--- CVSROOT/avail:1.735 Wed Aug 13 17:41:43 2003
+++ CVSROOT/avail   Mon Sep  1 11:11:36 2003
@@ -17,7 +17,7 @@
 # The PHP Developers have full access to the full source trees for
 # PHP and PEAR, as well as the documentation.
 
-avail|alan_k,rrichards,tal,mfischer,fmk,hirokawa,jah,eschmid,dbeu,sebastian,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,svanegmond,rjs,vlad,jimjag,emile,wez,sasha,camber,ohrn,romolo,martin,lurcher,wsanchez,dreid,bmcadams,swm,zhang,kevin,joey,entity,cardinal,coar,jflemer,raphael,danda,rbb,mboeren,dougm,mlwmohawk,edink,alexwaugh,bernd,zak,sesser,yohgaki,imajes,markonen,dickmeiss,helly,sander,jan,kir,aaron,jwoolley,pbannister,rvenkat,dali,rodif_bl,hyanantha,witten,georg,msopacua,mpdoremus,fujimoto,iliaa,chregu,azzit,gschlossnagle,andrey,dan,moriyoshi,dviner,bfrance,flex,iwakiri,john,harrie,pollita,ianh,k.schroeder,dcowgill,jerenkrantz,jay,ddhill,jorton,thetaphi|phpfi,php3,php-src,phpdoc,pecl,pear,peardoc,spl,ZendAPI,phpdoc-ar,phpdoc-cs,phpdoc-de,phpdoc-es,phpdoc-fi,phpdoc-fr,phpdoc-he,phpdoc-hk,phpdoc-hu,phpdoc-id,phpdoc-it,phpdoc-ja,phpdoc-kr,phpdoc-lt,phpdoc-nl,phpdoc-pl,phpdoc-pt_BR,phpdoc-ro,phpdoc-ru,phpdoc-sk,phpdoc-sl,phpdoc-sv,phpdoc-tr,phpdoc-tw,phpdoc-zh,phpdoc-el
+avail|alan_k,rrichards,tal,mfischer,fmk,hirokawa,jah,eschmid,dbeu,sebastian,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,svanegmond,rjs,vlad,jimjag,emile,wez,sasha,camber,ohrn,romolo,martin,lurcher,wsanchez,dreid,bmcadams,swm,zhang,kevin,joey,entity,cardinal,coar,jflemer,raphael,danda,rbb,mboeren,dougm,mlwmohawk,edink,alexwaugh,bernd,zak,sesser,yohgaki,imajes,markonen,dickmeiss,helly,sander,jan,kir,aaron,jwoolley,pbannister,rvenkat,dali,rodif_bl,hyanantha,witten,georg,msopacua,mpdoremus,fujimoto,iliaa,chregu,azzit,gschlossnagle,andrey,dan,moriyoshi,dviner,bfrance,flex,iwakiri,john,harrie,pollita,ianh,k.schroeder,dcowgill,jerenkrantz,jay,ddhill,jorton,thetaphi,abies|phpfi,php3,php-src,phpdoc,pecl,pear,peardoc,spl,ZendAPI,phpdoc-ar,phpdoc-cs,phpdoc-de,phpdoc-es,phpdoc-fi,phpdoc-fr,phpdoc-he,phpdoc-hk,phpdoc-hu,phpdoc-id,phpdoc-it,phpdoc-ja,phpdoc-kr,phpdoc-lt,phpdoc-nl,phpdoc-pl,phpdoc-pt_BR,phpdoc-ro,phpdoc-ru,phpdoc-sk,phpdoc-sl,phpdoc-sv,phpdoc-tr,phpdoc-tw,phpdoc-zh,phpdoc-el
 
 
 # People who work on the Engine

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



[PHP-CVS] cvs: CVSROOT / avail

2003-09-01 Thread Rasmus Lerdorf
rasmus  Mon Sep  1 11:16:27 2003 EDT

  Modified files:  
/CVSROOTavail 
  Log:
  Karma
  
  
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.736 CVSROOT/avail:1.737
--- CVSROOT/avail:1.736 Mon Sep  1 11:11:36 2003
+++ CVSROOT/avail   Mon Sep  1 11:16:26 2003
@@ -58,7 +58,7 @@
 
 # The PHP-GTK Group has access to the PHP-GTK code and documentation.
 
-avail|fmk,mfischer,alan_k,amaza|php-gtk,php-gtk-doc
+avail|fmk,mfischer,alan_k,amaza,descript|php-gtk,php-gtk-doc
 
 # The PHP-GTK Documentation Group has access to the PHP-GTK
 # documentation.
@@ -115,6 +115,7 @@
 avail|veebert,musone,askalski,chagenbu,rjs3|php-src/ext/imap
 avail|danny,nyenyon,borg73,nobbie|php-src/ext/informix
 avail|jah,aeschbacher,daniela,ludoo,abies|php-src/ext/interbase
+avail|jamuel|php-src/ext/snmp
 avail|akilov,stoddard,wenz,tjw|php-src/ext/java
 avail|amitay|php-src/ext/ldap
 avail|yohgaki,fujimoto,dets|php-src/ext/mbstring,php-src/ext/pgsql

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



[PHP-CVS] cvs: php-src / php.ini-dist php.ini-recommended

2003-09-01 Thread Jani Taskinen
sniper  Mon Sep  1 12:25:08 2003 EDT

  Modified files:  
/php-srcphp.ini-dist php.ini-recommended 
  Log:
  fixed bug #25344 (regular domain localhost.com used in php.ini)
  
Index: php-src/php.ini-dist
diff -u php-src/php.ini-dist:1.198 php-src/php.ini-dist:1.199
--- php-src/php.ini-dist:1.198  Wed Aug  6 09:28:59 2003
+++ php-src/php.ini-distMon Sep  1 12:25:07 2003
@@ -591,7 +591,7 @@
 SMTP = localhost
 
 ; For Win32 only.
-sendmail_from = [EMAIL PROTECTED]
+;sendmail_from = [EMAIL PROTECTED]
 
 ; For Unix only.  You may supply arguments as well (default: sendmail -t -i).
 ;sendmail_path =
Index: php-src/php.ini-recommended
diff -u php-src/php.ini-recommended:1.143 php-src/php.ini-recommended:1.144
--- php-src/php.ini-recommended:1.143   Wed Aug  6 09:28:59 2003
+++ php-src/php.ini-recommended Mon Sep  1 12:25:07 2003
@@ -606,7 +606,7 @@
 SMTP = localhost
 
 ; For Win32 only.
-sendmail_from = [EMAIL PROTECTED]
+;sendmail_from = [EMAIL PROTECTED]
 
 ; For Unix only.  You may supply arguments as well (default: sendmail -t -i).
 ;sendmail_path =

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