[PHP-CVS] cvs: php4 / NEWS

2001-04-20 Thread Andrei Zmievski

andrei  Fri Apr 20 13:08:24 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Let people know what the heck I was up to.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.634 php4/NEWS:1.635
--- php4/NEWS:1.634 Fri Apr 20 09:56:55 2001
+++ php4/NEWS   Fri Apr 20 13:08:24 2001
@@ -2,6 +2,7 @@
 |||
 
 ?? ??? 200?, Version 4.0.6
+- Made WDDX extension enabled by default. (Andrei)
 - Added -C command-line option to avoid chdir to the script's directory (Stig)
 - Fixed a bug with /e modifier in preg_replace(), that would not correctly
   replace two-digit references if single digit references were present



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS php.ini-dist php.ini-optimized /ext/standard url_scanner.c url_scanner_ex.c url_scanner_ex.re /main main.c php_globals.h php_variables.c

2001-04-04 Thread Jani Taskinen

sniper  Wed Apr  4 13:46:27 2001 EDT

  Modified files:  
/php4   php.ini-dist php.ini-optimized NEWS 
/php4/ext/standard  url_scanner.c url_scanner_ex.re url_scanner_ex.c 
/php4/main  main.c php_globals.h php_variables.c 
  Log:
  Added new configuration directives: 
  arg_separator.input and arg_separator.output
  
  

Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.75 php4/php.ini-dist:1.76
--- php4/php.ini-dist:1.75  Sat Mar 24 13:38:58 2001
+++ php4/php.ini-dist   Wed Apr  4 13:46:25 2001
@@ -1,5 +1,5 @@
 [PHP]
-; $Id: php.ini-dist,v 1.75 2001/03/24 21:38:58 sbergmann Exp $
+; $Id: php.ini-dist,v 1.76 2001/04/04 20:46:25 sniper Exp $
 
 ;;;
 ; About this file ;
@@ -243,7 +243,12 @@
 
 ; The separator used in PHP generated URLs to separate arguments.
 ; Default is "". 
-;arg_separator = "amp;"
+;arg_separator.output = "amp;"
+
+; List of separator(s) used by PHP to parse input URLs into variables.
+; Default is "". 
+; NOTE: Every character in this directive is considered as separator!
+;arg_separator.input = ";"
 
 ; This directive describes the order in which PHP registers GET, POST, Cookie,
 ; Environment and Built-in variables (G, P, C, E  S respectively, often
Index: php4/php.ini-optimized
diff -u php4/php.ini-optimized:1.34 php4/php.ini-optimized:1.35
--- php4/php.ini-optimized:1.34 Tue Mar 20 14:45:10 2001
+++ php4/php.ini-optimized  Wed Apr  4 13:46:25 2001
@@ -182,8 +182,14 @@
 ;
 ; Data Handling ;
 ;
-;arg_separator  =   "amp;" ; The separator used in PHP generated URLs to 
separate arguments.
-; Default is "".
+
+;arg_separator.output = "amp;"; The separator used in PHP generated URLs to 
+separate arguments.
+   ; Default is "".
+
+;arg_separator.input = ";"; List of separator(s) used by PHP to parse 
+input URLs into variables.
+   ; Default is "". 
+   ; NOTE: Every 
+character in this directive is considered as separator! 
+
 variables_order=   "GPCS"  ; This directive describes the order 
in which PHP registers
; GET, POST, Cookie, 
Environment and Built-in variables (G, P,
; C, E  S 
respectively, often referred to as EGPCS or GPC).
Index: php4/NEWS
diff -u php4/NEWS:1.626 php4/NEWS:1.627
--- php4/NEWS:1.626 Mon Apr  2 08:18:46 2001
+++ php4/NEWS   Wed Apr  4 13:46:25 2001
@@ -30,7 +30,10 @@
   (Zeev)
 
 ?? ??? 200?, Version 4.0.5
-- New FastCGI server module. (Ben Mansell)
+- Added new php.ini directive: arg_separator.input which is used to tell
+  PHP which characters are considered as argument separators in URLs. 
+  Renamed php.ini directive: arg_separator - arg_separator.output (Jani)
+- Added FastCGI SAPI module. (Ben Mansell)
 - Added array_reduce(), which allows iterative reduction of an array
   to a single value via a callback function. (Andrei)
 - The imageloadfont function of the gd extension should be not platform
Index: php4/ext/standard/url_scanner.c
diff -u php4/ext/standard/url_scanner.c:1.29 php4/ext/standard/url_scanner.c:1.30
--- php4/ext/standard/url_scanner.c:1.29Sun Feb 25 22:07:23 2001
+++ php4/ext/standard/url_scanner.c Wed Apr  4 13:46:26 2001
@@ -15,7 +15,7 @@
| Author: Hartmut Holzgraefe [EMAIL PROTECTED]  |
+--+
  */
-/* $Id: url_scanner.c,v 1.29 2001/02/26 06:07:23 andi Exp $ */
+/* $Id: url_scanner.c,v 1.30 2001/04/04 20:46:26 sniper Exp $ */
 
 #include "php.h"
 
@@ -67,12 +67,12 @@
if(flag) {  
if(!strstr(val,buf)!strchr(val,':'))
{
-   char *result = (char 
*)emalloc(strlen(buf)+strlen(PG(arg_separator))+1);
+   char *result = (char 
+*)emalloc(strlen(buf)+strlen(PG(arg_separator).output)+1);
int n;
 
if(strchr(val,'?')) {
-   strcpy(result,PG(arg_separator));
-   n=strlen(PG(arg_separator));
+   strcpy(result,PG(arg_separator).output);
+   n=strlen(PG(arg_separator).output);
} else {
*result='?';
n=1;
Index: php4/ext/standard/url_scanner_ex.re
diff -u php4/ext/standard/url_scanner_ex.re:1.30 
php4/ext/standard/url_scanner_ex.re:1.31
--- php4/ext/standard/url_scanner_ex.re:1.30Sun Feb 25 22:07:23 2001
+++ 

Re: [PHP-CVS] cvs: php4 / NEWS php.ini-dist php.ini-optimized /ext/standard url_scanner.c url_scanner_ex.c url_scanner_ex.re /main main.c php_globals.h php_variables.c

2001-04-04 Thread Andi Gutmans

Can we roll an RC7 soon and get this 4.0.5 over with? :)
Maybe we should get people to test the latest CVS first to make sure your 
patch didn't break anything.
We need a working 4.0.5.

Thanks!
Andi

At 08:46 PM 4/4/2001 +, Jani Taskinen wrote:
sniper  Wed Apr  4 13:46:27 2001 EDT

   Modified files:
 /php4   php.ini-dist php.ini-optimized NEWS
 /php4/ext/standard  url_scanner.c url_scanner_ex.re url_scanner_ex.c
 /php4/main  main.c php_globals.h php_variables.c
   Log:
   Added new configuration directives:
   arg_separator.input and arg_separator.output


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS /ext/odbc php_odbc.c

2001-04-02 Thread Nick Gorham

lurcher Mon Apr  2 08:18:47 2001 EDT

  Modified files:  
/php4   NEWS 
/php4/ext/odbc  php_odbc.c 
  Log:
  
  Added small change to php_odbc module, to check for failed SQLDisconnects
  and to close any outstanding transactions if the call fails, then disconnect
  again. This can cause chaos with SQL Server, this regards a SELECT as 
  starting a transaction, and will leave it  open if the result set is not all
  read.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.625 php4/NEWS:1.626
--- php4/NEWS:1.625 Sun Apr  1 07:13:09 2001
+++ php4/NEWS   Mon Apr  2 08:18:46 2001
@@ -2,6 +2,9 @@
 |||
 
 ?? ??? 200?, Version 4.0.6
+- Added small change to php_odbc module, to check for failed SQLDisconnects
+  and to close any outstanding transactions if the call fails, then disconnect
+  again (lurcher)
 - Modified get_parent_class() and get_class_methods() to accept a class name as
   well as a class instance. (Andrei, Zend Engine)
 - Added support for UNC style paths. (\\server\share\file, //server/share/file)
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odbc/php_odbc.c:1.75 php4/ext/odbc/php_odbc.c:1.76
--- php4/ext/odbc/php_odbc.c:1.75   Tue Mar 27 07:46:27 2001
+++ php4/ext/odbc/php_odbc.cMon Apr  2 08:18:47 2001
@@ -18,7 +18,7 @@
+--+
  */
 
-/* $Id: php_odbc.c,v 1.75 2001/03/27 15:46:27 kalowsky Exp $ */
+/* $Id: php_odbc.c,v 1.76 2001/04/02 15:18:47 lurcher Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -169,17 +169,29 @@
}
 }
 
+/*
+ * disconnect, and if it fails, then issue a rollback for any pending transaction 
+(lurcher)
+ */
+
+static void safe_odbc_disconnect( void *handle )
+{
+   int ret;
+
+   ret = SQLDisconnect( handle );
+   if ( ret == SQL_ERROR )
+   {
+   SQLTransact( NULL, handle, SQL_ROLLBACK );
+   SQLDisconnect( handle );
+   }
+}
+
 static void _close_odbc_conn(zend_rsrc_list_entry *rsrc)
 {
odbc_connection *conn = (odbc_connection *)rsrc-ptr;
-   /* FIXME
-* Closing a connection will fail if there are
-* pending transactions. It is in the responsibility
-* of the user to avoid this.
-*/
+
ODBCLS_FETCH();
 
-   SQLDisconnect(conn-hdbc);
+   safe_odbc_disconnect(conn-hdbc);
SQLFreeConnect(conn-hdbc);
SQLFreeEnv(conn-henv);
efree(conn);
@@ -191,7 +203,7 @@
odbc_connection *conn = (odbc_connection *)rsrc-ptr;
ODBCLS_FETCH();

-   SQLDisconnect(conn-hdbc);
+   safe_odbc_disconnect(conn-hdbc);
SQLFreeConnect(conn-hdbc);
SQLFreeEnv(conn-henv);
free(conn);
@@ -2092,7 +2104,7 @@
 
if(ret != SQL_SUCCESS){
zend_hash_del(EG(persistent_list), 
hashed_details, hashed_len + 1);
-   SQLDisconnect(db_conn-hdbc);
+   safe_odbc_disconnect(db_conn-hdbc);
SQLFreeConnect(db_conn-hdbc);
goto try_and_get_another_connection;
}



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-04-01 Thread Sebastian Bergmann

sbergmann   Sun Apr  1 07:13:10 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Fixed some glitches in NEWS. (Yes, you may call me pedantic :-)
  

Index: php4/NEWS
diff -u php4/NEWS:1.624 php4/NEWS:1.625
--- php4/NEWS:1.624 Mon Mar 26 12:10:19 2001
+++ php4/NEWS   Sun Apr  1 07:13:09 2001
@@ -4,9 +4,8 @@
 ?? ??? 200?, Version 4.0.6
 - Modified get_parent_class() and get_class_methods() to accept a class name as
   well as a class instance. (Andrei, Zend Engine)
-- Added support for UNC style paths (\\server\share\file  //server/share/file)
+- Added support for UNC style paths. (\\server\share\file, //server/share/file)
   (Daniel, TSRM)
-- Changed C++ style comments to C-style comments (Marc)
 - Added dbx module (database abstraction) to the repository. (Marc)
 - Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls
   and even COM calls much faster.
@@ -14,11 +13,10 @@
   Now you need not provide a path to the file containing the typelib, you can
   also provide the GUID of the TypeLib - entry or an IID for preloading
   type - information. (phanto)
-- Rewrite of domxml. It's now mostly DOM Level 2 conform (Uwe)
+- Rewrite of domxml. It's now mostly DOM Level 2 conform. (Uwe)
 - Added array_map() function that applies a callback to the elements
   of given arrays and returns the result. It can also be used with a
   null callback to transpose arrays. (Andrei)
-- New FastCGI server module. (Ben Mansell)
 - Added array_filter(), which allows filtering of array elements via
   the specified callback. (Andrei)
 - Fixed all relevant array functions to avoid moving the internal array
@@ -29,6 +27,7 @@
   (Zeev)
 
 ?? ??? 200?, Version 4.0.5
+- New FastCGI server module. (Ben Mansell)
 - Added array_reduce(), which allows iterative reduction of an array
   to a single value via a callback function. (Andrei)
 - The imageloadfont function of the gd extension should be not platform
@@ -39,30 +38,32 @@
   and vice versa. ([EMAIL PROTECTED])
 - Fixed argument checking for call_user_func* functions and allowed
   specifying array($obj, 'method') syntax for call_user_func_array. (Andrei)
-- Fixed parent::method() to also work with runtime bindings (Zeev, Zend Engine)
+- Fixed parent::method() to also work with runtime bindings.
+  (Zeev, Zend Engine)
 - Implemented high-performance zlib-based output compression - see
-  zlib.output_compression INI directive (Zeev)
-- Improved ob_gzhandler() to support chunked output buffering - it's recommended
-  to use it with 4KB chunks (Zeev)
-- Fixed chunked output buffering (Zeev)
+  zlib.output_compression INI directive. (Zeev)
+- Improved ob_gzhandler() to support chunked output buffering - it's 
+  recommended to use it with 4KB chunks. (Zeev)
+- Fixed chunked output buffering. (Zeev)
 - Forced call_user_method() and call_user_method_array() to take the
   object argument by reference. (Andrei)
 - Fixed binding of ROWIDs in OCI8. (Thies)
 - Added PEAR/Cache as a generic Caching System. (Sebastian, PEAR/Cache)
-- IMAP quota support (imap_set_quota, imap_get_quota) enabled/added via
-  c-client2000 (kalowsky)
+- Added IMAP quota support (imap_set_quota, imap_get_quota), enabled/added via
+  c-client2000. (kalowsky)
 - Upgraded PCRE to version 3.4. (Andrei)
 - Added array_search which works similar to in_array but returns
   the key instead of a boolean. ([EMAIL PROTECTED])
-- Fixed pgsql transaction support (Stig, PEAR/DB)
+- Fixed pgsql transaction support. (Stig, PEAR/DB)
 - Added new object VARIANT() to encapsulate values for use with
   the COM and DOTNET module. Therefore it is now possible to pass
   values by reference, convert php values to extended variant types (currency,
   date, idispatch, iunknown, ...) and define the codepage that should
   be used for unicode - conversion.
-- Improved overall speed of IRCG, added URL handling to message scanner (Sascha)
+- Improved overall speed of IRCG, added URL handling to message scanner.
+  (Sascha)
 - Fixed some modules to allow using output-buffering. (Thies)
-- Added the chroot() function (Derick)
+- Added the chroot() function. (Derick)
 - PostgreSQL now does a rollback at the end of a request on every
   persistent connection. This is done by doing an "empty" transaction
   on the connection. This was advised by someone from the PostgreSQL
@@ -70,8 +71,8 @@
 - Fixed PostgeSQL pg_connect() bug. We would sometimes close the default
   link by accident. (Patch by: [EMAIL PROTECTED])
 - Improved OCI8 dead-session detection. (Patch by: George Schlossnagle)
-- Fixed get_meta_tags() multiline bug #4556 (Sean)
-- Prefer random() over *rand48() (JimJag)
+- Fixed get_meta_tags() multiline bug #4556. (Sean)
+- Prefer random() over *rand48(). (JimJag)
 - Sped up WDDX serialization 2x. (Andrei)
 - Added a new parameter to mail() which appends aditional command line
   parameters to the mail program. (Derick)
@@ -81,7 +82,7 @@
 - Static methods can now be called via 

[PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski

andrei  Mon Mar 26 10:59:02 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Zend related news update.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.621 php4/NEWS:1.622
--- php4/NEWS:1.621 Fri Mar 23 06:26:17 2001
+++ php4/NEWS   Mon Mar 26 10:59:01 2001
@@ -2,6 +2,8 @@
 |||
 
 ?? ??? 200?, Version 4.0.6
+- Modified get_parent_class() to accept a class name as well as a class
+  instance. (Andrei, Zend engine)
 - Added support for UNC style paths (\\server\share\file  //server/share/file)
   (Daniel, TSRM)
 - Changed C++ style comments to C-style comments (Marc)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Sebastian Bergmann

sbergmann   Mon Mar 26 11:03:36 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Nitpicking.
  
Index: php4/NEWS
diff -u php4/NEWS:1.622 php4/NEWS:1.623
--- php4/NEWS:1.622 Mon Mar 26 10:59:01 2001
+++ php4/NEWS   Mon Mar 26 11:03:36 2001
@@ -3,7 +3,7 @@
 
 ?? ??? 200?, Version 4.0.6
 - Modified get_parent_class() to accept a class name as well as a class
-  instance. (Andrei, Zend engine)
+  instance. (Andrei, Zend Engine)
 - Added support for UNC style paths (\\server\share\file  //server/share/file)
   (Daniel, TSRM)
 - Changed C++ style comments to C-style comments (Marc)
@@ -150,7 +150,7 @@
 - Fixed date('r') overflow
 - Made the php.ini path reported in phpinfo() always point to the absolute
   path that was opened (Zeev)
-- Made the INI mechanism thread safe (Zeev, Zend engine)
+- Made the INI mechanism thread safe (Zeev, Zend Engine)
 - Changed setlocale() to use LC_* constants. (Jani)
 - ctype functions now follow the extension naming conventions (Hartmut)
 - Added iconv() function (using libc or libiconv) (Stig)
@@ -570,7 +570,7 @@
   and currently run through a system call.  This will speed up the UdmSearch
   php frontend significantly. (Rasmus)
 - Modified in_array() to not touch array pointer. (Andrei)
-- Added restore_error_handler(). (Zeev, Zend engine)
+- Added restore_error_handler(). (Zeev, Zend Engine)
 - Fixed erroneous file names and line numbers in error situations under the
   multithreaded version of PHP - most noticeably Win32 (Zeev, Zend Engine)
 - Fixed problem with CGI crashing on certain servers especially Windows Apache



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Colin Viebrock

 +- Modified get_parent_class() to accept a class name as well as a class
 +  instance. (Andrei, Zend engine)

Can I make a request for get_class_methods() and get_class_vars() to 
accept class instances as well as a string?

- Colin


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski

On Mon, 26 Mar 2001, Colin Viebrock wrote:
 Can I make a request for get_class_methods() and get_class_vars() to 
 accept class instances as well as a string?

For get_class_methods(), yes, for the other requrest, see
get_object_vars().

-Andrei
* Anything will fit if you push hard enough *

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski

andrei  Mon Mar 26 12:10:19 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  More news.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.623 php4/NEWS:1.624
--- php4/NEWS:1.623 Mon Mar 26 11:03:36 2001
+++ php4/NEWS   Mon Mar 26 12:10:19 2001
@@ -2,8 +2,8 @@
 |||
 
 ?? ??? 200?, Version 4.0.6
-- Modified get_parent_class() to accept a class name as well as a class
-  instance. (Andrei, Zend Engine)
+- Modified get_parent_class() and get_class_methods() to accept a class name as
+  well as a class instance. (Andrei, Zend Engine)
 - Added support for UNC style paths (\\server\share\file  //server/share/file)
   (Daniel, TSRM)
 - Changed C++ style comments to C-style comments (Marc)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski

Done.

 Can I make a request for get_class_methods() and get_class_vars() to 
 accept class instances as well as a string?
 
 - Colin
 



-Andrei

"The time from now until the completion
 of the project tends to become constant." -- Douglas Hartree

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-03-23 Thread Daniel Beulshausen

dbeuFri Mar 23 00:33:23 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  update news
  
Index: php4/NEWS
diff -u php4/NEWS:1.619 php4/NEWS:1.620
--- php4/NEWS:1.619 Thu Mar 22 18:09:21 2001
+++ php4/NEWS   Fri Mar 23 00:33:22 2001
@@ -2,6 +2,7 @@
 |||
 
 ?? ??? 200?, Version 4.0.6
+- Added support for UNC style paths (\\server\share\file  //server/share/file) 
+(Daniel, TSRM)
 - Changed C++ style comments to C-style comments (Marc)
 - Added dbx module (database abstraction) to the repository. (Marc)
 - Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-03-23 Thread Andrei Zmievski

andrei  Fri Mar 23 06:26:17 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Wrap lines.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.620 php4/NEWS:1.621
--- php4/NEWS:1.620 Fri Mar 23 00:33:22 2001
+++ php4/NEWS   Fri Mar 23 06:26:17 2001
@@ -2,7 +2,8 @@
 |||
 
 ?? ??? 200?, Version 4.0.6
-- Added support for UNC style paths (\\server\share\file  //server/share/file) 
(Daniel, TSRM)
+- Added support for UNC style paths (\\server\share\file  //server/share/file)
+  (Daniel, TSRM)
 - Changed C++ style comments to C-style comments (Marc)
 - Added dbx module (database abstraction) to the repository. (Marc)
 - Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-03-21 Thread Andrei Zmievski

andrei  Wed Mar 21 08:19:55 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Fixing news.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.617 php4/NEWS:1.618
--- php4/NEWS:1.617 Tue Mar 20 18:09:20 2001
+++ php4/NEWS   Wed Mar 21 08:19:54 2001
@@ -8,11 +8,11 @@
   Now you need not provide a path to the file containing the typelib, you can
   also provide the GUID of the TypeLib - entry or an IID for preloading
   type - information. (phanto)
-- rewrite of domxml. It's now mostly DOM Level 2 conform (Uwe)
+- Rewrite of domxml. It's now mostly DOM Level 2 conform (Uwe)
 - Added array_map() function that applies a callback to the elements
   of given arrays and returns the result. It can also be used with a
   null callback to transpose arrays. (Andrei)
-- New FastCGI server module
+- New FastCGI server module. (Ben Mansell)
 - Added array_filter(), which allows filtering of array elements via
   the specified callback. (Andrei)
 - Fixed all relevant array functions to avoid moving the internal array



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-03-20 Thread Uwe Steinmann

steinm  Tue Mar 20 07:03:33 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  - news about domxml
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.615 php4/NEWS:1.616
--- php4/NEWS:1.615 Mon Mar 19 18:09:17 2001
+++ php4/NEWS   Tue Mar 20 07:03:33 2001
@@ -2,6 +2,7 @@
 |||
 
 ?? ??? 200?, Version 4.0.6
+- rewrite of domxml. It's now mostly DOM Level 2 conform (Uwe)
 - Added array_map() function that applies a callback to the elements
   of given arrays and returns the result. It can also be used with a
   null callback to transpose arrays. (Andrei)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS /ext/standard browscap.c

2001-03-13 Thread Zeev Suraski

zeevTue Mar 13 15:20:23 2001 EDT

  Modified files:  
/php4   NEWS 
/php4/ext/standard  browscap.c 
  Log:
  Make get_browser() read its information from $HTTP_SERVER_VARS[] if available
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.611 php4/NEWS:1.612
--- php4/NEWS:1.611 Mon Mar 12 18:09:17 2001
+++ php4/NEWS   Tue Mar 13 15:20:23 2001
@@ -1,6 +1,10 @@
 PHP 4.0NEWS
 |||
 
+?? ??? 200?, Version 4.0.6
+- Added mysql_unbuffered_query(), which is useful for very large result sets
+  (Zeev)
+
 ?? ??? 200?, Version 4.0.5
 - Added array_reduce(), which allows iterative reduction of an array
   to a single value via a callback function. (Andrei)
Index: php4/ext/standard/browscap.c
diff -u php4/ext/standard/browscap.c:1.42 php4/ext/standard/browscap.c:1.43
--- php4/ext/standard/browscap.c:1.42   Sun Feb 25 22:07:16 2001
+++ php4/ext/standard/browscap.cTue Mar 13 15:20:23 2001
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: browscap.c,v 1.42 2001/02/26 06:07:16 andi Exp $ */
+/* $Id: browscap.c,v 1.43 2001/03/13 23:20:23 zeev Exp $ */
 
 #include "php.h"
 #include "php_regex.h"
@@ -203,7 +203,8 @@

switch(ZEND_NUM_ARGS()) {
case 0:
-   if (zend_hash_find(EG(symbol_table), "HTTP_USER_AGENT", 
sizeof("HTTP_USER_AGENT"), (void **) agent_name)==FAILURE) {
+   if (!PG(http_globals)[TRACK_VARS_SERVER]
+   || 
+zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]-value.ht, "HTTP_USER_AGENT", 
+sizeof("HTTP_USER_AGENT"), (void **) agent_name)==FAILURE) {
zend_error(E_WARNING,"HTTP_USER_AGENT variable is not 
set, cannot determine user agent name");
RETURN_FALSE;
}



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-03-12 Thread Alexander Feldman

sasha   Mon Mar 12 06:07:36 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Added NEWS.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.609 php4/NEWS:1.610
--- php4/NEWS:1.609 Sun Mar 11 02:08:27 2001
+++ php4/NEWS   Mon Mar 12 06:07:36 2001
@@ -2,6 +2,8 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
+- The imageloadfont function of the gd extension should be not platform
+  dependent after this fix. ([EMAIL PROTECTED])
 - Fixed a compatibility problem in some file functions (fgets, fputs, fread,
   fwrite). The ANSI standard says that if a file is opened in read/write
   mode, fseek() should be called before switching from reading to writing



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS /ext/standard config.m4 file.c

2001-03-11 Thread Alexander Feldman

sasha   Sun Mar 11 02:08:28 2001 EDT

  Modified files:  
/php4   NEWS 
/php4/ext/standard  config.m4 file.c 
  Log:
  Fixed a compatibility problem is some file functions (fgets, fputs, fread,
  fwrite). The ANSI standard says that if a file is opened in read/write
  mode, fseek() should be called before switching from reading to writing
  and vice versa.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.608 php4/NEWS:1.609
--- php4/NEWS:1.608 Fri Mar  9 18:09:25 2001
+++ php4/NEWS   Sun Mar 11 02:08:27 2001
@@ -2,6 +2,10 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
+- Fixed a compatibility problem in some file functions (fgets, fputs, fread,
+  fwrite). The ANSI standard says that if a file is opened in read/write
+  mode, fseek() should be called before switching from reading to writing
+  and vice versa. ([EMAIL PROTECTED])
 - Fixed argument checking for call_user_func* functions and allowed
   specifying array($obj, 'method') syntax for call_user_func_array. (Andrei)
 - Fixed parent::method() to also work with runtime bindings (Zeev, Zend Engine)
Index: php4/ext/standard/config.m4
diff -u php4/ext/standard/config.m4:1.26 php4/ext/standard/config.m4:1.27
--- php4/ext/standard/config.m4:1.26Tue Jan  9 07:11:23 2001
+++ php4/ext/standard/config.m4 Sun Mar 11 02:08:27 2001
@@ -1,8 +1,59 @@
-dnl $Id: config.m4,v 1.26 2001/01/09 15:11:23 hirokawa Exp $ -*- sh -*-
+dnl $Id: config.m4,v 1.27 2001/03/11 10:08:27 sasha Exp $ -*- sh -*-
 
 divert(3)dnl
 
 dnl
+dnl Check if flush should be called explicitly after buffered io
+dnl
+AC_DEFUN(AC_FLUSH_IO,[
+  AC_CACHE_CHECK([whether flush should be called explicitly after a bufferered io], 
+ac_cv_flush_io,[
+  AC_TRY_RUN( [
+#include stdio.h
+#include stdlib.h
+
+int main(int argc, char **argv)
+{
+   char *filename = tmpnam(NULL);
+   char buffer[64];
+   int result = 0;
+   
+   FILE *fp = fopen(filename, "wb");
+   if (NULL == fp)
+   return 0;
+   fputs("line 1\n", fp);
+   fputs("line 2\n", fp);
+   fclose(fp);
+   
+   fp = fopen(filename, "rb+");
+   if (NULL == fp)
+   return 0;
+   fgets(buffer, sizeof(buffer), fp);
+   fputs("line 3\n", fp);
+   rewind(fp);
+   fgets(buffer, sizeof(buffer), fp);
+   if (0 != strcmp(buffer, "line 1\n"))
+   result = 1;
+   fgets(buffer, sizeof(buffer), fp);
+   if (0 != strcmp(buffer, "line 3\n"))
+   result = 1;
+   fclose(fp);
+   unlink(filename);
+
+   exit(result);
+}
+],[
+  ac_cv_flush_io="no"
+],[
+  ac_cv_flush_io="yes"
+],[
+  ac_cv_flush_io="no"
+])])
+  if test "$ac_cv_flush_io" = "yes"; then
+AC_DEFINE(HAVE_FLUSHIO, 1, [Define if flush should be called explicitly after a 
+buffered io.])
+  fi
+])
+
+dnl
 dnl Check for crypt() capabilities
 dnl
 AC_DEFUN(AC_CRYPT_CAP,[
@@ -143,6 +194,7 @@
 AC_CHECK_FUNCS(getcwd getwd)
 
 AC_CRYPT_CAP
+AC_FLUSH_IO
 
 divert(5)dnl
 
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.147 php4/ext/standard/file.c:1.148
--- php4/ext/standard/file.c:1.147  Mon Mar  5 20:42:04 2001
+++ php4/ext/standard/file.cSun Mar 11 02:08:27 2001
@@ -20,7 +20,7 @@
+--+
  */
 
-/* $Id: file.c,v 1.147 2001/03/06 04:42:04 elixer Exp $ */
+/* $Id: file.c,v 1.148 2001/03/11 10:08:27 sasha Exp $ */
 
 /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
 
@@ -918,6 +918,11 @@
buf = emalloc(sizeof(char) * (len + 1));
/* needed because recv doesnt put a null at the end*/
memset(buf,0,len+1);
+#ifdef HAVE_FLUSHIO
+   if (!issock) {
+   fseek((FILE*)what, 0, SEEK_CUR);
+   }
+#endif
if (FP_FGETS(buf, len, socketd, (FILE*)what, issock) == NULL) {
efree(buf);
RETVAL_FALSE;
@@ -961,6 +966,11 @@
socketd=*(int*)what;
}
 
+#ifdef HAVE_FLUSHIO
+   if (!issock) {
+   fseek((FILE*)what, 0, SEEK_CUR);
+   }
+#endif
buf = emalloc(sizeof(int));
if ((result = FP_FGETC(socketd, (FILE*)what, issock)) == EOF) {
efree(buf);
@@ -1159,6 +1169,9 @@
if (issock){
ret = SOCK_WRITEL((*arg2)-value.str.val,num_bytes,socketd);
} else {
+#ifdef HAVE_FLUSHIO
+   fseek((FILE*)what, 0, SEEK_CUR);
+#endif
ret = fwrite((*arg2)-value.str.val,1,num_bytes,(FILE*)what);
}
RETURN_LONG(ret);
@@ -1794,6 +1807,9 @@
/* needed because recv doesnt put a null at the end*/

if (!issock) {
+#ifdef HAVE_FLUSHIO
+   fseek((FILE*)what, 0, SEEK_CUR);
+#endif
return_value-value.str.len = fread(return_value-value.str.val, 1, 
len, (FILE*)what);
return_value-value.str.val[return_value-value.str.len] = 0;
} else {



[PHP-CVS] cvs: php4 / NEWS php.ini-dist php.ini-optimized

2001-03-07 Thread Zeev Suraski

zeevWed Mar  7 02:08:19 2001 EDT

  Modified files:  
/php4   NEWS php.ini-dist php.ini-optimized 
  Log:
  Update .ini's and NEWS
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.605 php4/NEWS:1.606
--- php4/NEWS:1.605 Tue Mar  6 18:09:17 2001
+++ php4/NEWS   Wed Mar  7 02:08:18 2001
@@ -2,6 +2,9 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
+- Fixed parent::method() to also work with runtime bindings (Zeev, Zend Engine)
+- Implemented high-performance zlib-based output compression - see
+  zlib.output_compression INI directive (Zeev)
 - Ported Documentation structure from phpdoc (jmoore)
 - Improved ob_gzhandler() to support chunked output buffering - it's recommended
   to use it with 4KB chunks (Zeev)
Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.72 php4/php.ini-dist:1.73
--- php4/php.ini-dist:1.72  Sat Mar  3 05:10:13 2001
+++ php4/php.ini-dist   Wed Mar  7 02:08:19 2001
@@ -1,5 +1,5 @@
 [PHP]
-; $Id: php.ini-dist,v 1.72 2001/03/03 13:10:13 sbergmann Exp $
+; $Id: php.ini-dist,v 1.73 2001/03/07 10:08:19 zeev Exp $
 
 ;;;
 ; About this file ;
@@ -81,6 +81,11 @@
 ; transparently compressed for browsers that support gzip or deflate encoding.
 ; Setting an output handler automatically turns on output buffering.
 output_handler =
+
+; Transparent output compression using the zlib library
+; Valid values for this option are 'off', 'on', or a specific buffer size
+; to be used for compression (default is 4KB)
+zlib.output_compression = Off
 
 ; Implicit flush tells PHP to tell the output layer to flush itself
 ; automatically after every output block.  This is equivalent to calling the
Index: php4/php.ini-optimized
diff -u php4/php.ini-optimized:1.32 php4/php.ini-optimized:1.33
--- php4/php.ini-optimized:1.32 Mon Jan 22 11:15:31 2001
+++ php4/php.ini-optimized  Wed Mar  7 02:08:19 2001
@@ -57,6 +57,10 @@
; will be transparently 
compressed for browsers that support gzip or
; deflate encoding.  Setting 
an output handler automatically turns on
; output buffering.
+zlib.output_compression = Off  ; Transparent output compression using the zlib library
+   ; Valid values for 
+this option are 'off', 'on', or a specific buffer size
+   ; to be used for 
+compression (default is 4KB)
+
 implicit_flush = Off   ; Implicit flush tells PHP to tell the output layer to 
flush itself
; automatically after every 
output block.  This is equivalent to
; calling the PHP function 
flush() after each and every call to print()



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-03-07 Thread Andrei Zmievski

andrei  Wed Mar  7 06:00:53 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  That came from php-gtk.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.606 php4/NEWS:1.607
--- php4/NEWS:1.606 Wed Mar  7 02:08:18 2001
+++ php4/NEWS   Wed Mar  7 06:00:52 2001
@@ -5,7 +5,6 @@
 - Fixed parent::method() to also work with runtime bindings (Zeev, Zend Engine)
 - Implemented high-performance zlib-based output compression - see
   zlib.output_compression INI directive (Zeev)
-- Ported Documentation structure from phpdoc (jmoore)
 - Improved ob_gzhandler() to support chunked output buffering - it's recommended
   to use it with 4KB chunks (Zeev)
 - Fixed chunked output buffering (Zeev)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-03-01 Thread Sergey Kartashoff

gluke   Thu Mar  1 05:44:05 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  # Corrected NEWS entry about mnoGoSearch extension.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.600 php4/NEWS:1.601
--- php4/NEWS:1.600 Mon Feb 26 07:20:53 2001
+++ php4/NEWS   Thu Mar  1 05:44:04 2001
@@ -48,8 +48,7 @@
 - Major change of the php pdf api. It could break some functions though
   backwards compatibility was tried to maintain. Adding some still
   missing functions as well. (Uwe)
-- Added mnoGoSearch extension. (Sergey K)
-  This module currently at the alpha state, but it can be used already.
+- Added mnoGoSearch extension - http://search.mnogo.ru (Sergey K)
 - Allow url encoding in DB usernames and passwords (Stig, PEAR)
 - Added raiseError and setErrorHandling methods to PEAR class (Stig, PEAR)
 - Added support for converting images from JPG/PNG on the fly with the GD



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-03-01 Thread Sebastian Bergmann

sbergmann   Thu Mar  1 11:42:07 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Added note about PEAR/Cache.
  
Index: php4/NEWS
diff -u php4/NEWS:1.601 php4/NEWS:1.602
--- php4/NEWS:1.601 Thu Mar  1 05:44:04 2001
+++ php4/NEWS   Thu Mar  1 11:42:07 2001
@@ -2,6 +2,7 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
+- Added PEAR/Cache as a generic Caching System. (Sebastian, PEAR/Cache)
 - IMAP quota support (imap_set_quota, imap_get_quota) enabled/added via
   c-client2000 (kalowsky)
 - Upgraded PCRE to version 3.4. (Andrei)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-02-26 Thread Dan Kalowsky

kalowskyMon Feb 26 07:20:53 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  #Just adding in proper id (forgot to do it on the initial)
  PR:
  Submitted by:
  Reviewed by:
  Obtained from:
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.599 php4/NEWS:1.600
--- php4/NEWS:1.599 Sun Feb 25 18:09:11 2001
+++ php4/NEWS   Mon Feb 26 07:20:53 2001
@@ -3,7 +3,7 @@
 
 ?? ??? 200?, Version 4.0.5
 - IMAP quota support (imap_set_quota, imap_get_quota) enabled/added via
-  c-client2000
+  c-client2000 (kalowsky)
 - Upgraded PCRE to version 3.4. (Andrei)
 - Added array_search which works similar to in_array but returns
   the key instead of a boolean. ([EMAIL PROTECTED])



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-02-20 Thread Jason Greene

jason   Tue Feb 20 19:55:17 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Corrected News entry.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.596 php4/NEWS:1.597
--- php4/NEWS:1.596 Tue Feb 20 18:09:15 2001
+++ php4/NEWS   Tue Feb 20 19:55:17 2001
@@ -2,7 +2,7 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
-- Added search_array which works similar to in_array but returns
+- Added array_search which works similar to in_array but returns
   the key instead of a boolean. ([EMAIL PROTECTED])
 - Fixed pgsql transaction support (Stig, PEAR/DB)
 - Added new object VARIANT() to encapsulate values for use with



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-02-20 Thread Sebastian Bergmann

sbergmann   Tue Feb 20 22:22:41 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Added note about PCRE update.
  
Index: php4/NEWS
diff -u php4/NEWS:1.597 php4/NEWS:1.598
--- php4/NEWS:1.597 Tue Feb 20 19:55:17 2001
+++ php4/NEWS   Tue Feb 20 22:22:41 2001
@@ -2,6 +2,7 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
+- Upgraded PCRE to version 3.4. (Andrei)
 - Added array_search which works similar to in_array but returns
   the key instead of a boolean. ([EMAIL PROTECTED])
 - Fixed pgsql transaction support (Stig, PEAR/DB)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-02-14 Thread Thies C. Arntzen

thies   Wed Feb 14 00:16:05 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.589 php4/NEWS:1.590
--- php4/NEWS:1.589 Tue Feb 13 18:09:12 2001
+++ php4/NEWS   Wed Feb 14 00:16:03 2001
@@ -4,13 +4,10 @@
 ?? ??? 200?, Version 4.0.5
 - PostgreSQL now does a rollback at the end of a request on every
   persistent connection. This is done by doing an "empty" transaction
-  on the connection (This was advised by someone from the PostgreSQL
-  core-team). If you leave transactions open on your page you will see a
-  "NOTICE:  BEGIN: already a transaction in progress" message in your
-  apache error_log. This message is created by the PostgreSQL libs - we can
-  do nothing about it. (Thies)
-- fixes PostgeSQL pg_connect() bug. We would sometimes close the default
-  link by acciedent. (Patch by: [EMAIL PROTECTED])
+  on the connection. This was advised by someone from the PostgreSQL
+  core-team. (Thies)
+- Fixed PostgeSQL pg_connect() bug. We would sometimes close the default
+  link by accident. (Patch by: [EMAIL PROTECTED])
 - Improved OCI8 dead-session detection. (Patch by: George Schlossnagle)
 - Fixed get_meta_tags() multiline bug #4556 (Sean)
 - Prefer random() over *rand48() (JimJag)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-02-14 Thread Derick Rethans

derick  Wed Feb 14 03:27:29 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  - Added the notification of the chroot function addition
  #- I forgot this with the initial commit
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.590 php4/NEWS:1.591
--- php4/NEWS:1.590 Wed Feb 14 00:16:03 2001
+++ php4/NEWS   Wed Feb 14 03:27:28 2001
@@ -2,6 +2,7 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
+- Added the chroot() function (Derick)
 - PostgreSQL now does a rollback at the end of a request on every
   persistent connection. This is done by doing an "empty" transaction
   on the connection. This was advised by someone from the PostgreSQL



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-02-11 Thread Sean Bright

elixer  Sun Feb 11 06:38:25 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Added note about get_meta_tags bugfix
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.586 php4/NEWS:1.587
--- php4/NEWS:1.586 Wed Feb  7 06:10:13 2001
+++ php4/NEWS   Sun Feb 11 06:38:25 2001
@@ -2,6 +2,7 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
+- Fixed get_meta_tags() multiline bug #4556 (Sean)
 - Prefer random() over *rand48() (JimJag)
 - Sped up WDDX serialization 2x. (Andrei)
 - Added a new parameter to mail() which appends aditional command line



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-02-07 Thread Andrei Zmievski

andrei  Wed Feb  7 06:10:14 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Only one entry for mnoGoSearch is necessary.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.585 php4/NEWS:1.586
--- php4/NEWS:1.585 Tue Feb  6 18:09:09 2001
+++ php4/NEWS   Wed Feb  7 06:10:13 2001
@@ -2,11 +2,6 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
-- UDM_FIELD_ORDER and UDM_FIELD_CRC mnoGoSearch result fields
-  has been added. (gluke)
-- UDM_PARAM_WORDINFO mnoGoSearch result parameter has been added.
-  UDM_PARAM_RATING result field has neen added as alias for
-  UDM_PARAM_SCORE. (gluke)
 - Prefer random() over *rand48() (JimJag)
 - Sped up WDDX serialization 2x. (Andrei)
 - Added a new parameter to mail() which appends aditional command line
@@ -21,25 +16,17 @@
 - Added PREG_SPLIT_DELIM_CAPTURE flag to preg_split() that allows for Perl-like
   functionality of capturing parenthesized delimiter expression. (Andrei)
 - Fixed strip_tags() to not strip a lone  character. (Rasmus)
-- Added new UDM_PARAM_STOPTABLE and UDM_PARAM_STOPFILE parameters
-  for Udm_Set_Agent_Params mnoGoSearch module. Now it can use stopwords
-  stored either in database or in the plain text files. Added php warnings.
-  Test example updated. (gluke)
 - When using the ob_gzhandler() PHP now automagically also sets the
   Content-Lengh correctly which enables browsers to use the HTTP
   Keep-Alive feature. (Thies)
-- UDM_PARAM_CHARSET parameter in Udm_Set_Agent_Param() has been added to
-  set local charset you are using. Example updated also. (gluke)
 - Improved handling of preg_replace() /F modifier so that it's possible to
   specify array($obj, 'method') construct as a replacement function. (Andrei)
 - Added mysql_get_client_info(), mysql_get_server_info(),
   mysql_get_proto_info(), and mysql_get_host_info() functions. (Sean)
-- Added search cache and track query features to mnogosearch extension.
-  (Sergey K)
 - Major change of the php pdf api. It could break some functions though
   backwards compatibility was tried to maintain. Adding some still
   missing functions as well. (Uwe)
-- mnoGoSearch extension module initial version has been added. (Sergey K)
+- Added mnoGoSearch extension. (Sergey K)
   This module currently at the alpha state, but it can be used already.
 - Allow url encoding in DB usernames and passwords (Stig, PEAR)
 - Added raiseError and setErrorHandling methods to PEAR class (Stig, PEAR)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-02-05 Thread Andrei Zmievski

andrei  Mon Feb  5 09:39:58 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.580 php4/NEWS:1.581
--- php4/NEWS:1.580 Sun Feb  4 18:09:08 2001
+++ php4/NEWS   Mon Feb  5 09:39:58 2001
@@ -2,6 +2,9 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
+- Static methods can now be called via call_user_method_* functions, e.g.
+  call_user_method('method', 'class'), and also array('class', 'method')
+  constructs (for array_walk(), for example). (Andrei, Zend Engine)
 - microtime under windows now returns accurate values (James)
 - Added PREG_SPLIT_DELIM_CAPTURE flag to preg_split() that allows for Perl-like
   functionality of capturing parenthesized delimiter expression. (Andrei)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS /ext/pcre php_pcre.c

2001-02-02 Thread Andrei Zmievski

andrei  Fri Feb  2 20:53:50 2001 EDT

  Modified files:  
/php4   NEWS 
/php4/ext/pcre  php_pcre.c 
  Log:
  Adding delimiter capturing functionality.
  
  As far as NEWS, compilation fixed don't belong here.
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.578 php4/NEWS:1.579
--- php4/NEWS:1.578 Fri Feb  2 18:09:20 2001
+++ php4/NEWS   Fri Feb  2 20:53:49 2001
@@ -2,8 +2,9 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
-- pspell .12 fix (Hugh Jones)
-- Fix strip_tags to not strip a lone  character (Rasmus)
+- Added PREG_SPLIT_DELIM_CAPTURE flag to preg_split() that allows for Perl-like
+  functionality of capturing parenthesized delimiter expression. (Andrei)
+- Fixed strip_tags() to not strip a lone  character. (Rasmus)
 - Added new UDM_PARAM_STOPTABLE and UDM_PARAM_STOPFILE parameters
   for Udm_Set_Agent_Params mnoGoSearch module. Now it can use stopwords
   stored either in database or in the plain text files. Added php warnings.
Index: php4/ext/pcre/php_pcre.c
diff -u php4/ext/pcre/php_pcre.c:1.84 php4/ext/pcre/php_pcre.c:1.85
--- php4/ext/pcre/php_pcre.c:1.84   Thu Feb  1 07:25:53 2001
+++ php4/ext/pcre/php_pcre.cFri Feb  2 20:53:49 2001
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: php_pcre.c,v 1.84 2001/02/01 15:25:53 andrei Exp $ */
+/* $Id: php_pcre.c,v 1.85 2001/02/03 04:53:49 andrei Exp $ */
 
 /*
TODO:
@@ -33,13 +33,14 @@
 
 #include "ext/standard/php_string.h"
 
-#define PREG_PATTERN_ORDER 0
-#define PREG_SET_ORDER 1
+#define PREG_PATTERN_ORDER 0
+#define PREG_SET_ORDER 1
 
-#definePREG_SPLIT_NO_EMPTY (10)
+#definePREG_SPLIT_NO_EMPTY (10)
+#define PREG_SPLIT_DELIM_CAPTURE   (11)
 
-#define PREG_REPLACE_EVAL  (10)
-#define PREG_REPLACE_FUNC  (11)
+#define PREG_REPLACE_EVAL  (10)
+#define PREG_REPLACE_FUNC  (11)
 
 #ifdef ZTS
 int pcre_globals_id;
@@ -110,6 +111,7 @@
REGISTER_LONG_CONSTANT("PREG_PATTERN_ORDER", PREG_PATTERN_ORDER, CONST_CS | 
CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("PREG_SET_ORDER", PREG_SET_ORDER, CONST_CS | 
CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("PREG_SPLIT_NO_EMPTY", PREG_SPLIT_NO_EMPTY, CONST_CS | 
CONST_PERSISTENT);
+   REGISTER_LONG_CONSTANT("PREG_SPLIT_DELIM_CAPTURE", PREG_SPLIT_DELIM_CAPTURE, 
+CONST_CS | CONST_PERSISTENT);
return SUCCESS;
 }
 /* }}} */
@@ -1064,8 +1066,9 @@
int  exoptions = 0; /* Execution options */
int  preg_options = 0;  /* Custom preg options 
*/
int  argc;  /* Argument 
count */
-   int  limit_val; /* Integer 
value of limit */
+   int  limit_val = -1;/* Integer value of 
+limit */
int  no_empty = 0;  /* If NO_EMPTY flag is 
set */
+   int  delim_capture = 0; /* If delimiters should be 
+captured */
int  count = 0; /* Count of 
matched subpatterns */
int  start_offset;  /* Where the new 
search starts */
int  g_notempty = 0;/* If the match should 
not be empty */
@@ -1078,16 +1081,15 @@
WRONG_PARAM_COUNT;
}

-   if (argc == 3) {
+   if (argc  2) {
convert_to_long_ex(limit);
limit_val = Z_LVAL_PP(limit);
-   }
-   else
-   limit_val = -1;
-   
-   if (argc == 4) {
-   convert_to_long_ex(flags);
-   no_empty = Z_LVAL_PP(flags)  PREG_SPLIT_NO_EMPTY;
+
+   if (argc  3) {
+   convert_to_long_ex(flags);
+   no_empty = Z_LVAL_PP(flags)  PREG_SPLIT_NO_EMPTY;
+   delim_capture = Z_LVAL_PP(flags)  PREG_SPLIT_DELIM_CAPTURE;
+   }
}

/* Make sure we're dealing with strings */
@@ -1133,6 +1135,17 @@
   
Z_STRVAL_PP(subject)[offsets[0]]-last_match, 1);

last_match = Z_STRVAL_PP(subject)[offsets[1]];
+
+   if (delim_capture) {
+   int i, match_len;
+   for (i = 1; i  count; i++) {
+   match_len = offsets[(i1)+1] - offsets[i1];
+   if (!no_empty || match_len  0)
+   add_next_index_stringl(return_value,
+

[PHP-CVS] cvs: php4 / NEWS /ext/pcre php_pcre.c php_pcre.h

2001-02-01 Thread Andrei Zmievski

andrei  Wed Jan 31 21:04:59 2001 EDT

  Modified files:  
/php4   NEWS 
/php4/ext/pcre  php_pcre.c php_pcre.h 
  Log:
  Modified /F handling to allow calling object methods.
  
  

Index: php4/NEWS
diff -u php4/NEWS:1.575 php4/NEWS:1.576
--- php4/NEWS:1.575 Wed Jan 31 18:09:08 2001
+++ php4/NEWS   Wed Jan 31 21:04:58 2001
@@ -2,13 +2,16 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
+- Improved handling of preg_replace() /F modifier so that it's possible to
+  specify array($obj, 'method') construct as a replacement function. (Andrei)
 - Added mysql_get_client_info(), mysql_get_server_info(),
   mysql_get_proto_info(), and mysql_get_host_info() functions. (Sean)
-- Added search cache and track query features.
+- Added search cache and track query features to mnogosearch extension.
+  (Sergey K)
 - Major change of the php pdf api. It could break some functions though
   backwards compatibility was tried to maintain. Adding some still
   missing functions as well. (Uwe)
-- mnoGoSearch extension module initial version has been added.
+- mnoGoSearch extension module initial version has been added. (Sergey K)
   This module currently at the alpha state, but it can be used already.
 - Allow url encoding in DB usernames and passwords (Stig, PEAR)
 - Added raiseError and setErrorHandling methods to PEAR class (Stig, PEAR)
Index: php4/ext/pcre/php_pcre.c
diff -u php4/ext/pcre/php_pcre.c:1.81 php4/ext/pcre/php_pcre.c:1.82
--- php4/ext/pcre/php_pcre.c:1.81   Mon Jan 22 14:05:04 2001
+++ php4/ext/pcre/php_pcre.cWed Jan 31 21:04:58 2001
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: php_pcre.c,v 1.81 2001/01/22 22:05:04 andrei Exp $ */
+/* $Id: php_pcre.c,v 1.82 2001/02/01 05:04:58 andrei Exp $ */
 
 /*
TODO:
@@ -561,32 +561,28 @@
return 1;   
 }
 
-static int preg_do_repl_func(char *function_name, char *subject, int *offsets, int 
count, char **result)
+static int preg_do_repl_func(zval *function, char *subject, int *offsets, int count, 
+char **result)
 {
zval*retval_ptr;/* Function return value */
-   zval function;  /* Function to call */
-   zval*function_ptr = function;  /* Pointer to function 
to call */
zval   **args[1];   /* Argument to pass to function */
zval*subpats;   /* Captured subpatterns */ 
int  result_len;/* Return value length */
int  i;
CLS_FETCH();
 
-   ZVAL_STRING(function_ptr, function_name, 0);
-
MAKE_STD_ZVAL(subpats);
array_init(subpats);
for (i = 0; i  count; i++)
add_next_index_stringl(subpats, subject[offsets[i1]], 
offsets[(i1)+1] - offsets[i1], 1);
args[0] = subpats;
 
-   if (call_user_function_ex(CG(function_table), NULL, function_ptr, retval_ptr, 
1, args, 0, NULL) == SUCCESS  retval_ptr) {
+   if (call_user_function_ex(EG(function_table), NULL, function, retval_ptr, 1, 
+args, 0, NULL) == SUCCESS  retval_ptr) {
convert_to_string_ex(retval_ptr);
*result = estrndup(Z_STRVAL_P(retval_ptr), Z_STRLEN_P(retval_ptr));
result_len = Z_STRLEN_P(retval_ptr);
zval_ptr_dtor(retval_ptr);
} else {
-   php_error(E_WARNING, "Unable to call custom replacement function 
%s()", function_name);
+   php_error(E_WARNING, "Unable to call custom replacement function");
result_len = offsets[1] - offsets[0];
*result = estrndup(subject[offsets[0]], result_len);
}
@@ -693,8 +689,7 @@
 
 char *php_pcre_replace(char *regex,   int regex_len,
   char *subject, int subject_len,
-  char *replace, int replace_len,
-  int  *result_len, int limit)
+  zval *replace_val, int *result_len, int 
+limit)
 {
pcre*re = NULL; /* Compiled regular 
expression */
pcre_extra  *extra = NULL;  /* Holds results of studying */
@@ -714,7 +709,9 @@
   a 
function to get the replacement string */
int  start_offset;  /* Where the new 
search starts */
int  g_notempty = 0;/* If the match should 
not be empty */
+   int  replace_len;   /* Length of 
+replacement string */
char*result,/* Result of 
replacement */
+   

[PHP-CVS] cvs: php4 / NEWS

2001-01-30 Thread Uwe Steinmann

steinm  Tue Jan 30 22:13:08 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  - note about change of pdf api
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.573 php4/NEWS:1.574
--- php4/NEWS:1.573 Tue Jan 30 18:09:11 2001
+++ php4/NEWS   Tue Jan 30 22:13:08 2001
@@ -2,6 +2,9 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
+- Major change of the php pdf api. It could break some functions though
+  backwards compatibility was tried to maintain. Adding some still
+  missing functions as well. (Uwe)
 - mnoGoSearch extension module initial version has been added.
   This module currently at the alpha state, but it can be used already.
 - Allow url encoding in DB usernames and passwords (Stig, PEAR)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-CVS] cvs: php4 / NEWS /ext/mysql/libmysql acinclude.m4 bmove.ccharset.c config-win.h dbug.h default.c errors.c fix_copyright global.hlibmysql.c m_string.h mf_dirname.c mf_format.c mf_pack.c mf_path.cmy_alloc.c my_create.c my_fopen.c my_i

2001-01-24 Thread Thimble Smith

On Tue, Jan 23, 2001 at 08:59:42PM +0100, Sebastian Bergmann wrote:
   I can't link the latest CVS of PHP on Win32:
 
 libmysql.lib(my_thr_init.obj) : error LNK2001: Nichtaufgeloestes externes
 Symbol _win_pthread_init
 libmysql.lib(my_compress.obj) : error LNK2001: Nichtaufgeloestes externes
 Symbol _compress
 libmysql.lib(my_compress.obj) : error LNK2001: Nichtaufgeloestes externes
 Symbol _uncompress
 ..\Release_TS_inline\php4ts.dll : fatal error LNK1120: 3 unaufgeloeste
 externe Verweise

OK.  That's what I asked about in my first mail to the list (is
HAVE_COMPRESS okay on Windows?).  I guess it's not.  I'll change
config-win.h so this doesn't happen anymore.

Tim

-- 
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Tim Smith [EMAIL PROTECTED]
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Development Team
/_/  /_/\_, /___/\___\_\___/   Helsinki, Finland (for a few weeks)
   ___/   www.mysql.com

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS /ext/mysql/libmysql acinclude.m4 bmove.c charset.c config-win.h dbug.h default.c errors.c fix_copyright global.h libmysql.c m_string.h mf_dirname.c mf_format.c mf_pack.c mf_path.c my_alloc.c my_create.c my_fopen.c my_init.c my_open.c my_pthread.c my_pthread.h my_static.c my_static.h my_sys.h my_thr_init.c my_wincond.c my_write.c mysql.h mysql_com.h mysql_version.h mysqld_error.h mysys_err.h net.c raid.h safemalloc.c string.c thr_alarm.h thr_mutex.c typelib.c update_sources violite.c violite.h

2001-01-23 Thread MySQL Team

mysql   Tue Jan 23 08:48:51 2001 EDT

  Added files: 
/php4/ext/mysql/libmysqlupdate_sources 

  Modified files:  
/php4   NEWS 
/php4/ext/mysql/libmysqlraid.h acinclude.m4 bmove.c charset.c 
config-win.h dbug.h default.c errors.c 
fix_copyright global.h libmysql.c 
m_string.h mf_dirname.c mf_format.c 
mf_pack.c mf_path.c my_alloc.c my_create.c 
my_fopen.c my_init.c my_open.c 
my_pthread.c my_pthread.h my_static.c 
my_static.h my_sys.h my_thr_init.c 
my_wincond.c my_write.c mysql.h 
mysql_com.h mysql_version.h mysqld_error.h 
mysys_err.h net.c safemalloc.c string.c 
thr_alarm.h thr_mutex.c typelib.c 
violite.c violite.h 
  Log:
  Upgrade ext/mysql/libmysql to version 3.23.32.  One notable bug fix is
  that the client can now connect to a server which is using a default
  charset other than latin1.
  
  

Index: php4/NEWS
diff -u php4/NEWS:1.570 php4/NEWS:1.571
--- php4/NEWS:1.570 Tue Jan 23 07:30:27 2001
+++ php4/NEWS   Tue Jan 23 08:48:49 2001
@@ -2,6 +2,7 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
+- Updated ext/mysql/libmysql to version 3.23.32; bug fixes ([EMAIL PROTECTED])
 - Fixed possible crash in all (non-pcre) regex functions. (Thies)
 - Improved str_replace() to accept an array for any parameter - similar
   to preg_replace(). (Andrei)
Index: php4/ext/mysql/libmysql/raid.h
diff -u /dev/null php4/ext/mysql/libmysql/raid.h:1.3
--- /dev/null   Tue Jan 23 08:48:50 2001
+++ php4/ext/mysql/libmysql/raid.h  Tue Jan 23 08:48:49 2001
@@ -0,0 +1,147 @@
+/* Copyright Abandoned 1996 TCX DataKonsult AB  Monty Program KB  Detron HB 
+This file is public domain and comes with NO WARRANTY of any kind */
+
+/* Parser needs these defines  always, even if USE_RAID is not defined */
+#define RAID_TYPE_0 1   /* Striping */
+#define RAID_TYPE_x 2   /* Some new modes */
+#define RAID_TYPE_y 3
+
+#define RAID_DEFAULT_CHUNKS 4
+#define RAID_DEFAULT_CHUNKSIZE 256*1024 /* 256kB */
+
+extern const char *raid_type_string[];
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+const char *my_raid_type(int raid_type);
+#ifdef __cplusplus
+}
+#endif
+
+#ifdef USE_RAID
+
+#ifdef __GNUC__
+#pragma interface  /* gcc class implementation */
+#endif
+#include "my_dir.h"
+
+/* Trap all occurences of my_...() in source and use our wrapper around this function 
+*/
+
+#ifdef MAP_TO_USE_RAID
+#define my_read(A,B,C,D) my_raid_read(A,B,C,D)
+#define my_write(A,B,C,D)my_raid_write(A,B,C,D)
+#define my_pwrite(A,B,C,D,E) my_raid_pwrite(A,B,C,D,E)
+#define my_pread(A,B,C,D,E)  my_raid_pread(A,B,C,D,E)
+#define my_chsize(A,B,C) my_raid_chsize(A,B,C)
+#define my_close(A,B)my_raid_close(A,B)
+#define my_tell(A,B) my_raid_tell(A,B)
+#define my_seek(A,B,C,D) my_raid_seek(A,B,C,D)
+#define my_lock(A,B,C,D,E) my_raid_lock(A,B,C,D,E)
+#define my_fstat(A,B,C) my_raid_fstat(A,B,C)
+#endif /* MAP_TO_USE_RAID */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+  void init_raid(void);
+  void end_raid(void);
+
+  bool is_raid(File fd);
+  File my_raid_create(const char *FileName, int CreateFlags, int access_flags,
+ uint raid_type, uint raid_chunks, ulong raid_chunksize,
+ myf MyFlags);
+  File my_raid_open(const char *FileName, int Flags,
+   uint raid_type, uint raid_chunks, ulong raid_chunksize,
+   myf MyFlags);
+  int my_raid_rename(const char *from, const char *to, uint raid_chunks,
+myf MyFlags);
+  int my_raid_delete(const char *from, uint raid_chunks, myf MyFlags);
+  int my_raid_redel(const char *old_name, const char *new_name,
+   uint raid_chunks, myf MyFlags);
+
+  my_off_t my_raid_seek(File fd, my_off_t pos, int whence, myf MyFlags);
+  my_off_t my_raid_tell(File fd, myf MyFlags);
+
+  uint my_raid_write(File,const byte *Buffer, uint Count, myf MyFlags);
+  uint my_raid_read(File Filedes, byte *Buffer, uint Count, myf MyFlags);
+
+  uint my_raid_pread(File Filedes, byte *Buffer, uint Count, my_off_t offset,
+myf MyFlags);
+  uint my_raid_pwrite(int Filedes, const byte *Buffer, uint Count,
+ my_off_t offset, myf MyFlags);
+
+  int my_raid_lock(File,int locktype, my_off_t start, my_off_t length,
+  myf MyFlags);
+  int my_raid_chsize(File fd, my_off_t newlength, myf MyFlags);
+  int my_raid_close(File, myf MyFlags);
+  int my_raid_fstat(int Filedes, struct stat *buf,  myf MyFlags);
+
+#ifdef __cplusplus
+}
+

Re: [PHP-CVS] cvs: php4 / NEWS /ext/mysql/libmysql acinclude.m4 bmove.ccharset.c config-win.h dbug.h default.c errors.c fix_copyright global.hlibmysql.c m_string.h mf_dirname.c mf_format.c mf_pack.c mf_path.cmy_alloc.c my_create.c my_fopen.c my_i

2001-01-23 Thread Sebastian Bergmann

MySQL Team wrote:
   Log:
   Upgrade ext/mysql/libmysql to version 3.23.32.  One notable bug fix is
   that the client can now connect to a server which is using a default
   charset other than latin1.

  Great! All those compiler warnings in libmysql are gone on Win32 :-)

-- 
 sebastian bergmann e-mail :  [EMAIL PROTECTED]
  homepage :  http://www.sebastian-bergmann.de
   make a gift : http://wishlist.sebastian-bergmann.de
 measure the usability of your web application - http://phpOpenTracker.de

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-CVS] cvs: php4 / NEWS /ext/mysql/libmysql acinclude.m4 bmove.ccharset.c config-win.h dbug.h default.c errors.c fix_copyright global.hlibmysql.c m_string.h mf_dirname.c mf_format.c mf_pack.c mf_path.cmy_alloc.c my_create.c my_fopen.c my_i

2001-01-23 Thread Sebastian Bergmann

MySQL Team wrote:
   Log:
   Upgrade ext/mysql/libmysql to version 3.23.32.  One notable bug fix is
   that the client can now connect to a server which is using a default
   charset other than latin1.

  I can't link the latest CVS of PHP on Win32:

libmysql.lib(my_thr_init.obj) : error LNK2001: Nichtaufgeloestes externes
Symbol _win_pthread_init
libmysql.lib(my_compress.obj) : error LNK2001: Nichtaufgeloestes externes
Symbol _compress
libmysql.lib(my_compress.obj) : error LNK2001: Nichtaufgeloestes externes
Symbol _uncompress
..\Release_TS_inline\php4ts.dll : fatal error LNK1120: 3 unaufgeloeste
externe Verweise

  Nichtaufgeloestes externes Symbol == Not resolved external symbol


-- 
 sebastian bergmann e-mail :  [EMAIL PROTECTED]
  homepage :  http://www.sebastian-bergmann.de
   make a gift : http://wishlist.sebastian-bergmann.de
 measure the usability of your web application - http://phpOpenTracker.de

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-01-21 Thread Zeev Suraski

zeevSun Jan 21 16:11:44 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  Update and pastify NEWS
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.566 php4/NEWS:1.567
--- php4/NEWS:1.566 Sun Jan 21 09:36:46 2001
+++ php4/NEWS   Sun Jan 21 16:11:43 2001
@@ -2,7 +2,9 @@
 |||
 
 ?? ??? 200?, Version 4.0.5
-- Fix crash bug in highlight_string() (Rasmus)
+- Fixed the Apache module to overwrite PATH_TRANSLATED with SCRIPT_FILENAME,
+  only if PATH_TRANSLATED is not previously set (Zeev)
+- Fixed crash bug in highlight_string() (Rasmus)
 - Added URL support for getimagesize() function (Jani)
 - Added xslt_set_scheme_handler() function ([EMAIL PROTECTED])
 - Added the pg_lolseek and pg_lotell functions (Derick)
@@ -11,7 +13,7 @@
   offset. (Andrei)
 - Changed 'Z' flag to date() to always return timezone offset with
   negative sign if it's west of UTC. (Andrei)
-- Add the HTML_Processor class which provides common functions for processing HTML.
+- Added the HTML_Processor class which provides common functions for processing HTML.
   (Sterling)
 - Added localeconv() and strcoll() functions for localization. (Sean)
 - Added the xslt_set_base function. (Sterling)
@@ -26,7 +28,7 @@
 - Made fopen() of HTTP URL follow redirects, $http_response_header will
   contain all headers with empty string as delimiter (Stig Venaas)
 - Added Console_Getopt class for parsing command-line args. (Andrei, PEAR)
-- Add an experimental version of the ZZipLib extension which provides the
+- Added an experimental version of the ZZipLib extension which provides the
   ability to read zip files. (Sterling)
 - Allow access to uploaded files in safe_mode. Beware that you can only
   read the file. If you copy it to new location the copy will not have the
@@ -38,7 +40,7 @@
 - Changed ldap_search() and added functions ldap_parse_result(),
   ldap_first_reference(), ldap_next_reference() and ldap_parse_reference()
   to cope with LDAPv3 stuff like referrals and references. (Stig Venaas)
-- Fix date('r') overflow
+- Fixed date('r') overflow
 - Made the php.ini path reported in phpinfo() always point to the absolute
   path that was opened (Zeev)
 - Made the INI mechanism thread safe (Zeev, Zend engine)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-CVS] cvs: php4 / NEWS

2001-01-19 Thread Derick Rethans

derick  Fri Jan 19 08:03:23 2001 EDT

  Modified files:  
/php4   NEWS 
  Log:
  - Added a notice about the wordwrap function fix
  #- suggested by Jani for people depending on the buggy behaviour
  
  
Index: php4/NEWS
diff -u php4/NEWS:1.563 php4/NEWS:1.564
--- php4/NEWS:1.563 Thu Jan 18 18:09:21 2001
+++ php4/NEWS   Fri Jan 19 08:03:22 2001
@@ -3,6 +3,7 @@
 
 ?? ??? 200?, Version 4.0.5
 - Added the pg_lolseek and pg_lotell functions (Derick)
+- Fixed wrong breaking with the wordwrap function (Derick)
 - Fixed 'O' and 'r' flags of date() to have correct sign for timezone
   offset. (Andrei)
 - Changed 'Z' flag to date() to always return timezone offset with



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]