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

2007-02-05 Thread changelog
changelog   Tue Feb  6 01:31:02 2007 UTC

  Modified files:  
/php-srcChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/php-src/ChangeLog?r1=1.2592r2=1.2593diff_format=u
Index: php-src/ChangeLog
diff -u php-src/ChangeLog:1.2592 php-src/ChangeLog:1.2593
--- php-src/ChangeLog:1.2592Mon Feb  5 01:31:02 2007
+++ php-src/ChangeLog   Tue Feb  6 01:31:02 2007
@@ -1,3 +1,24 @@
+2007-02-05  Marcus Boerger  [EMAIL PROTECTED]
+
+* ext/spl/spl_engine.c
+  ext/spl/spl_engine.h:
+  - Add missing PHPAPI
+
+2007-02-05  Andrei Zmievski  [EMAIL PROTECTED]
+
+* README.PARAMETER_PARSING_API:
+  Update
+
+* (PHP_5_2)
+  README.PARAMETER_PARSING_API:
+  Update ! docs.
+
+2007-02-05  Andi Gutmans  [EMAIL PROTECTED]
+
+* main/streams/php_stream_transport.h
+  main/streams/php_stream_transport.h:
+  - Make sure to be ANSI C compliant
+
 2007-02-04  Frank M. Kromann  [EMAIL PROTECTED]
 
 * ext/mssql/php_mssql.c:


[PHP-CVS] cvs: php-src(PHP_5_2) / README.PARAMETER_PARSING_API

2007-02-05 Thread Andrei Zmievski
andrei  Mon Feb  5 17:57:51 2007 UTC

  Modified files:  (Branch: PHP_5_2)
/php-srcREADME.PARAMETER_PARSING_API 
  Log:
  Update ! docs.
  
  
http://cvs.php.net/viewvc.cgi/php-src/README.PARAMETER_PARSING_API?r1=1.7.6.1r2=1.7.6.2diff_format=u
Index: php-src/README.PARAMETER_PARSING_API
diff -u php-src/README.PARAMETER_PARSING_API:1.7.6.1 
php-src/README.PARAMETER_PARSING_API:1.7.6.2
--- php-src/README.PARAMETER_PARSING_API:1.7.6.1Wed Jul 12 07:34:28 2006
+++ php-src/README.PARAMETER_PARSING_APIMon Feb  5 17:57:51 2007
@@ -51,8 +51,8 @@
passed to it.
/ - use SEPARATE_ZVAL_IF_NOT_REF() on the parameter it follows
! - the parameter it follows can be of specified type or NULL (only 
applies
-   to 'a', 'o', 'O', 'r', and 'z'). If NULL is passed, the results
-   pointer is set to NULL as well.
+   to 's', 'a', 'o', 'O', 'r', 'h', 'C', 'z', and 'Z'). If NULL is 
passed,
+   the results pointer is set to NULL as well.
 
 Examples
 

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



[PHP-CVS] cvs: php-src / README.PARAMETER_PARSING_API

2007-02-05 Thread Andrei Zmievski
andrei  Mon Feb  5 17:59:11 2007 UTC

  Modified files:  
/php-srcREADME.PARAMETER_PARSING_API 
  Log:
  Update
  
  
http://cvs.php.net/viewvc.cgi/php-src/README.PARAMETER_PARSING_API?r1=1.19r2=1.20diff_format=u
Index: php-src/README.PARAMETER_PARSING_API
diff -u php-src/README.PARAMETER_PARSING_API:1.19 
php-src/README.PARAMETER_PARSING_API:1.20
--- php-src/README.PARAMETER_PARSING_API:1.19   Fri Feb  2 21:49:37 2007
+++ php-src/README.PARAMETER_PARSING_APIMon Feb  5 17:59:11 2007
@@ -69,9 +69,9 @@
 will not be touched by the parsing function if they are not
 passed to it.
 / - use SEPARATE_ZVAL_IF_NOT_REF() on the parameter it follows
-! - the parameter it follows can be of specified type or NULL (only applies
-to 'a', 'o', 'O', 'r', and 'z'). If NULL is passed, the results
-pointer is set to NULL as well.
+! - the parameter it follows can be of specified type or NULL (applies
+   to all specifiers except for 'b', 'l', and 'd'). If NULL is 
passed, the
+   results pointer is set to NULL as well.
  - alternate format (currently used for 's' only to specify a converter to
 use when converting from Unicode strings)
^ - returns original string type before conversion (only for 's' and 'u'

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



[PHP-CVS] cvs: php-src /ext/spl spl_engine.c spl_engine.h

2007-02-05 Thread Marcus Boerger
helly   Mon Feb  5 20:04:56 2007 UTC

  Modified files:  
/php-src/ext/splspl_engine.c spl_engine.h 
  Log:
  - Add missing PHPAPI
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_engine.c?r1=1.23r2=1.24diff_format=u
Index: php-src/ext/spl/spl_engine.c
diff -u php-src/ext/spl/spl_engine.c:1.23 php-src/ext/spl/spl_engine.c:1.24
--- php-src/ext/spl/spl_engine.c:1.23   Mon Jan  1 09:29:29 2007
+++ php-src/ext/spl/spl_engine.cMon Feb  5 20:04:56 2007
@@ -32,7 +32,7 @@
 #include spl_array.h
 
 /* {{{ spl_instantiate */
-void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC)
+PHPAPI void spl_instantiate(zend_class_entry *pce, zval **object, int alloc 
TSRMLS_DC)
 {
if (alloc) {
ALLOC_ZVAL(*object);
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_engine.h?r1=1.24r2=1.25diff_format=u
Index: php-src/ext/spl/spl_engine.h
diff -u php-src/ext/spl/spl_engine.h:1.24 php-src/ext/spl/spl_engine.h:1.25
--- php-src/ext/spl/spl_engine.h:1.24   Thu Jan 11 21:33:23 2007
+++ php-src/ext/spl/spl_engine.hMon Feb  5 20:04:56 2007
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: spl_engine.h,v 1.24 2007/01/11 21:33:23 helly Exp $ */
+/* $Id: spl_engine.h,v 1.25 2007/02/05 20:04:56 helly Exp $ */
 
 #ifndef SPL_ENGINE_H
 #define SPL_ENGINE_H
@@ -37,7 +37,7 @@
 }
 /* }}} */
 
-void spl_instantiate(zend_class_entry *pce, zval **object, int alloc 
TSRMLS_DC);
+PHPAPI void spl_instantiate(zend_class_entry *pce, zval **object, int alloc 
TSRMLS_DC);
 
 /* {{{ spl_instantiate_arg_ex1 */
 static inline int spl_instantiate_arg_ex1(zend_class_entry *pce, zval 
**retval, int alloc, zval *arg1 TSRMLS_DC)



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



[PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/session php_session.h

2007-02-05 Thread Ilia Alshanetsky
iliaa   Tue Feb  6 00:01:18 2007 UTC

  Modified files:  (Branch: PHP_5_2)
/php-src/ext/sessionphp_session.h 
/php-srcNEWS 
  Log:
  
  Fixed Bug #40274 (Sessions fail with numeric root keys).
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/session/php_session.h?r1=1.101.2.2.2.4r2=1.101.2.2.2.5diff_format=u
Index: php-src/ext/session/php_session.h
diff -u php-src/ext/session/php_session.h:1.101.2.2.2.4 
php-src/ext/session/php_session.h:1.101.2.2.2.5
--- php-src/ext/session/php_session.h:1.101.2.2.2.4 Mon Jan  1 09:36:05 2007
+++ php-src/ext/session/php_session.h   Tue Feb  6 00:01:18 2007
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: php_session.h,v 1.101.2.2.2.4 2007/01/01 09:36:05 sebastian Exp $ */
+/* $Id: php_session.h,v 1.101.2.2.2.5 2007/02/06 00:01:18 iliaa Exp $ */
 
 #ifndef PHP_SESSION_H
 #define PHP_SESSION_H
@@ -223,11 +223,16 @@
 
 #define PS_ENCODE_LOOP(code) do {  
\
HashTable *_ht = Z_ARRVAL_P(PS(http_session_vars)); \
+   int key_type;   \

\
for (zend_hash_internal_pointer_reset(_ht); 
\
-   zend_hash_get_current_key_ex(_ht, key, 
key_length, num_key, 0, NULL) == HASH_KEY_IS_STRING; \
+   (key_type = zend_hash_get_current_key_ex(_ht, 
key, key_length, num_key, 0, NULL)) != HASH_KEY_NON_EXISTANT; \
zend_hash_move_forward(_ht)) {  
\
-   key_length--;   
\
+   if (key_type == HASH_KEY_IS_LONG) { 
\
+   php_error_docref(NULL TSRMLS_CC, E_NOTICE, 
Skipping numeric key %ld., num_key); \
+   continue;   
\
+   }   
\
+   key_length--;   
\
if (php_get_session_var(key, key_length, struc 
TSRMLS_CC) == SUCCESS) { \
code;   
\
}   
\
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.520r2=1.2027.2.547.2.521diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.520 php-src/NEWS:1.2027.2.547.2.521
--- php-src/NEWS:1.2027.2.547.2.520 Fri Feb  2 15:44:06 2007
+++ php-src/NEWSTue Feb  6 00:01:18 2007
@@ -103,6 +103,7 @@
   missing). (Tony)
 - Fixed bug #40285 (The PDO prepare parser goes into an infinite loop in
   some instances). (Ilia)
+- Fixed Bug #40274 (Sessions fail with numeric root keys). (Ilia)
 - Fixed bug #40259 (ob_start call many times - memory error). (Dmitry)
 - Fixed bug #40231 (file_exists incorrectly reports false). (Dmitry)
 - Fixed bug #40228 (ZipArchive::extractTo does create empty directories 

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