]> granicus.if.org Git - php/log
php
11 years agoAdd one more check to skip getting into code that will do nothing
Andrey Hristov [Tue, 20 May 2014 11:50:50 +0000 (14:50 +0300)]
Add one more check to skip getting into code that will do nothing

11 years agoremove mysqlnd_bt.c as it a long dead code
Andrey Hristov [Mon, 19 May 2014 17:32:41 +0000 (20:32 +0300)]
remove mysqlnd_bt.c as it a long dead code

11 years agoFixed incorrect efree()
Dmitry Stogov [Mon, 19 May 2014 12:19:01 +0000 (16:19 +0400)]
Fixed incorrect efree()

11 years agoFixed double free
Dmitry Stogov [Mon, 19 May 2014 09:11:20 +0000 (13:11 +0400)]
Fixed double free

11 years agoFixed incorrect Z_LVAL() usage
Dmitry Stogov [Mon, 19 May 2014 08:51:48 +0000 (12:51 +0400)]
Fixed incorrect Z_LVAL() usage

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Dmitry Stogov [Mon, 19 May 2014 07:53:06 +0000 (11:53 +0400)]
Merge branch 'phpng' of git.php.net:php-src into phpng

* 'phpng' of git.php.net:php-src:
  Fixed memleak (3 tests fails now)
  Fixed resources apply_dtor
  It's a zend_array not Hashtable (fixed segfault)
  Fixed segfault
  Refactoring ext/pgsql (incompleted, only compilable)

11 years agoPrevent crash in case of SQL error
Dmitry Stogov [Mon, 19 May 2014 07:52:33 +0000 (11:52 +0400)]
Prevent crash in case of SQL error

11 years agoPrevent double resource free
Dmitry Stogov [Mon, 19 May 2014 07:50:38 +0000 (11:50 +0400)]
Prevent double resource free

11 years agoFixed memleak (3 tests fails now)
Xinchen Hui [Mon, 19 May 2014 06:57:17 +0000 (14:57 +0800)]
Fixed memleak (3 tests fails now)

11 years agoFixed resources apply_dtor
Xinchen Hui [Mon, 19 May 2014 06:53:02 +0000 (14:53 +0800)]
Fixed resources apply_dtor

11 years agoIt's a zend_array not Hashtable (fixed segfault)
Xinchen Hui [Mon, 19 May 2014 06:49:28 +0000 (14:49 +0800)]
It's a zend_array not Hashtable (fixed segfault)

11 years agoFixed segfault
Xinchen Hui [Mon, 19 May 2014 06:44:59 +0000 (14:44 +0800)]
Fixed segfault

11 years agoRefactoring ext/pgsql (incompleted, only compilable)
Xinchen Hui [Mon, 19 May 2014 06:25:30 +0000 (14:25 +0800)]
Refactoring ext/pgsql (incompleted, only compilable)

11 years agoUse new iterator macros
Xinchen Hui [Mon, 19 May 2014 02:39:28 +0000 (10:39 +0800)]
Use new iterator macros

11 years agoThis should be this (broken compiling before)
Xinchen Hui [Mon, 19 May 2014 02:26:10 +0000 (10:26 +0800)]
This should be this (broken compiling before)

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Xinchen Hui [Mon, 19 May 2014 02:21:13 +0000 (10:21 +0800)]
Merge branch 'phpng' of git.php.net:php-src into phpng

11 years agoRemoved the old hack that was originally developed to support constants in array...
Dmitry Stogov [Sun, 18 May 2014 21:20:56 +0000 (01:20 +0400)]
Removed the old hack that was originally developed to support constants in array indeces, and isn't needed anymore after the Bob's patch.

11 years agoUse new hash iteration API and avoid old zend_hash_update_current_key() hack
Dmitry Stogov [Sun, 18 May 2014 20:50:00 +0000 (00:50 +0400)]
Use new hash iteration API and avoid old zend_hash_update_current_key() hack

11 years agoMerge branch 'master' into phpng
Dmitry Stogov [Sun, 18 May 2014 17:17:31 +0000 (21:17 +0400)]
Merge branch 'master' into phpng

* master:
  Support for __debugInfo (Joe Watkins)
  Optimize ZEND_POW (Rouven Weßling)
  gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
  gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
  Prevent recursion in ZF2 Parameters class
  adding NEWS block for beta4
  5.4.30 next
  enable email notifications
  update NEWS
  update NEWS
  update NEWS
  - Updated to version 2014.3 (2014c)
  fix bug #67253: timelib_meridian_with_check out-of-bounds read
  Fix bug #67252: convert_uudecode out-of-bounds read
  Fix bug #67251 - date_parse_from_format out-of-bounds read
  Fix bug #67250 (iptcparse out-of-bounds read)

Conflicts:
ext/opcache/zend_persist.c
ext/spl/spl_array.c

11 years agoMerge branch 'PHP-5.6'
Dmitry Stogov [Sun, 18 May 2014 16:56:34 +0000 (20:56 +0400)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Support for __debugInfo (Joe Watkins)

11 years agoSupport for __debugInfo (Joe Watkins)
Dmitry Stogov [Sun, 18 May 2014 16:55:40 +0000 (20:55 +0400)]
Support for __debugInfo (Joe Watkins)

11 years agoMerge branch 'PHP-5.6'
Dmitry Stogov [Sun, 18 May 2014 16:51:37 +0000 (20:51 +0400)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Optimize ZEND_POW (Rouven Weßling)
  gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir

Conflicts:
ext/opcache/ZendAccelerator.h

11 years agoOptimize ZEND_POW (Rouven Weßling)
Dmitry Stogov [Sun, 18 May 2014 16:48:16 +0000 (20:48 +0400)]
Optimize ZEND_POW (Rouven Weßling)

11 years agogcov: tentative fix for broken coverage data after fix for opcache coverage
Nuno Lopes [Sun, 18 May 2014 15:23:21 +0000 (11:23 -0400)]
gcov: tentative fix for broken coverage data after fix for opcache coverage
slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir

11 years agogcov: tentative fix for broken coverage data after fix for opcache coverage
Nuno Lopes [Sun, 18 May 2014 15:21:05 +0000 (11:21 -0400)]
gcov: tentative fix for broken coverage data after fix for opcache coverage
slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir

11 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Sun, 18 May 2014 13:55:44 +0000 (21:55 +0800)]
Merge branch 'PHP-5.6'

Conflicts:
ext/spl/spl_array.c

11 years agoMerge branch 'phpng' of git.php.net:/php-src into phpng
Xinchen Hui [Sun, 18 May 2014 13:06:44 +0000 (21:06 +0800)]
Merge branch 'phpng' of git.php.net:/php-src into phpng

Conflicts:
ext/pdo/pdo_sql_parser.c

11 years agoFixed uninitialized used
Xinchen Hui [Sun, 18 May 2014 13:04:43 +0000 (21:04 +0800)]
Fixed uninitialized used

11 years agoFixed uninitialized used
Xinchen Hui [Sun, 18 May 2014 12:55:06 +0000 (20:55 +0800)]
Fixed uninitialized used

11 years agoFixed Hash API usage
Xinchen Hui [Sun, 18 May 2014 12:25:07 +0000 (20:25 +0800)]
Fixed Hash API usage

11 years agoFixed Hash API usage
Xinchen Hui [Sun, 18 May 2014 12:23:26 +0000 (20:23 +0800)]
Fixed Hash API usage

11 years agophpng support for ext/readline
Dmitry Stogov [Sun, 18 May 2014 11:49:35 +0000 (15:49 +0400)]
phpng support for ext/readline

11 years agophpng support for ext/enchant
Dmitry Stogov [Sun, 18 May 2014 11:04:04 +0000 (15:04 +0400)]
phpng support for ext/enchant

11 years agoFixed wrong condition
Dmitry Stogov [Sun, 18 May 2014 09:28:06 +0000 (13:28 +0400)]
Fixed wrong condition

11 years agoRegenerated parser
Dmitry Stogov [Sun, 18 May 2014 09:27:54 +0000 (13:27 +0400)]
Regenerated parser

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Pierre Joye [Sun, 18 May 2014 09:19:31 +0000 (11:19 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng

# By Xinchen Hui
# Via Xinchen Hui
* 'phpng' of git.php.net:php-src:
  Fixed Hash API usage (it's in comments)
  Fixed Zend Hash API usage (although it's in comments)
  Fixed several tests failes

11 years agomore port to phpng, zend_string and hash, work in progress
Pierre Joye [Sun, 18 May 2014 09:19:02 +0000 (11:19 +0200)]
more port to phpng, zend_string and hash, work in progress

11 years agoFixed Hash API usage (it's in comments)
Xinchen Hui [Sun, 18 May 2014 04:09:14 +0000 (12:09 +0800)]
Fixed Hash API usage (it's in comments)

11 years agoFixed Zend Hash API usage (although it's in comments)
Xinchen Hui [Sun, 18 May 2014 04:05:36 +0000 (12:05 +0800)]
Fixed Zend Hash API usage (although it's in comments)

11 years agoFixed several tests failes
Xinchen Hui [Sun, 18 May 2014 04:02:54 +0000 (12:02 +0800)]
Fixed several tests failes

11 years agoFinish ext/sockets
Xinchen Hui [Sun, 18 May 2014 04:02:05 +0000 (12:02 +0800)]
Finish ext/sockets

11 years agofix smart string usage (work in progress), ps: a lot of len tests are done twice...
Pierre Joye [Sat, 17 May 2014 13:34:03 +0000 (15:34 +0200)]
fix smart string usage (work in progress), ps: a lot of len tests are done twice or more, rooms for cleanup here

11 years agofix init, new smart_str struct (use zend_string now)
Pierre Joye [Sat, 17 May 2014 13:29:25 +0000 (15:29 +0200)]
fix init, new smart_str struct (use zend_string now)

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Pierre Joye [Sat, 17 May 2014 13:05:48 +0000 (15:05 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng

# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
  Fixed new hash API usage

11 years agoFixed new hash API usage
Dmitry Stogov [Sat, 17 May 2014 07:48:29 +0000 (11:48 +0400)]
Fixed new hash API usage

11 years agofix hash API calls
Pierre Joye [Sat, 17 May 2014 06:12:18 +0000 (08:12 +0200)]
fix hash API calls

11 years agofix signature according to apply_func_arg_t
Pierre Joye [Sat, 17 May 2014 03:54:06 +0000 (05:54 +0200)]
fix signature according to apply_func_arg_t

11 years agoonly used if HAVE_NOFOLLOW
Pierre Joye [Sat, 17 May 2014 03:50:01 +0000 (05:50 +0200)]
only used if HAVE_NOFOLLOW

11 years agoZ_TYPE_PP > Z_TYPE_P
Pierre Joye [Sat, 17 May 2014 03:44:26 +0000 (05:44 +0200)]
Z_TYPE_PP > Z_TYPE_P

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Pierre Joye [Sat, 17 May 2014 03:42:00 +0000 (05:42 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng

# By Dmitry Stogov (5) and Xinchen Hui (3)
# Via Xinchen Hui (3) and Dmitry Stogov (2)
* 'phpng' of git.php.net:php-src:
  Fixed signed
  Refactoring socket (only compilable now)
  it make no sense to create a reference to object
  Initialize zvals
  Fixed <any> with XML references
  Refactored shmop
  Fixed pointer mess (use * instead of **)
  Fixed support for XML references

11 years agofix zend_hash_get_current_data_ptr_ex call
Pierre Joye [Sat, 17 May 2014 03:41:21 +0000 (05:41 +0200)]
fix zend_hash_get_current_data_ptr_ex call

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Xinchen Hui [Sat, 17 May 2014 02:39:05 +0000 (10:39 +0800)]
Merge branch 'phpng' of git.php.net:php-src into phpng

11 years agoFixed signed
Xinchen Hui [Sat, 17 May 2014 02:28:54 +0000 (10:28 +0800)]
Fixed signed

11 years agoRefactoring socket (only compilable now)
Xinchen Hui [Sat, 17 May 2014 02:23:46 +0000 (10:23 +0800)]
Refactoring socket (only compilable now)

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Dmitry Stogov [Fri, 16 May 2014 16:21:08 +0000 (20:21 +0400)]
Merge branch 'phpng' of git.php.net:php-src into phpng

* 'phpng' of git.php.net:php-src:
  Refactored shmop

11 years agoit make no sense to create a reference to object
Dmitry Stogov [Fri, 16 May 2014 16:20:17 +0000 (20:20 +0400)]
it make no sense to create a reference to object

11 years agoInitialize zvals
Dmitry Stogov [Fri, 16 May 2014 15:43:49 +0000 (19:43 +0400)]
Initialize zvals

11 years agoFixed <any> with XML references
Dmitry Stogov [Fri, 16 May 2014 14:11:28 +0000 (18:11 +0400)]
Fixed <any> with XML references

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Xinchen Hui [Fri, 16 May 2014 14:02:19 +0000 (22:02 +0800)]
Merge branch 'phpng' of git.php.net:php-src into phpng

11 years agoRefactored shmop
Xinchen Hui [Fri, 16 May 2014 14:00:04 +0000 (22:00 +0800)]
Refactored shmop

11 years agoFixed pointer mess (use * instead of **)
Dmitry Stogov [Fri, 16 May 2014 12:56:36 +0000 (16:56 +0400)]
Fixed pointer mess (use * instead of **)

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Dmitry Stogov [Fri, 16 May 2014 12:35:37 +0000 (16:35 +0400)]
Merge branch 'phpng' of git.php.net:php-src into phpng

* 'phpng' of git.php.net:php-src:
  hash find returns zval* now

11 years agoFixed support for XML references
Dmitry Stogov [Fri, 16 May 2014 12:35:00 +0000 (16:35 +0400)]
Fixed support for XML references

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Pierre Joye [Fri, 16 May 2014 12:32:46 +0000 (14:32 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng

# By Dmitry Stogov (3) and Xinchen Hui (1)
# Via Xinchen Hui
* 'phpng' of git.php.net:php-src:
  Fixed invalid read in ext/pdo/tests/pdo_025.phpt(pgsql)
  Fixed persistent WSDL cache
  Fixed wrong backtrace (__doRequest is not a static method). The "master" behavior is wrong.
  Restored __destructor() behavior

11 years agohash find returns zval* now
Pierre Joye [Fri, 16 May 2014 12:31:20 +0000 (14:31 +0200)]
hash find returns zval* now

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Xinchen Hui [Fri, 16 May 2014 11:13:01 +0000 (19:13 +0800)]
Merge branch 'phpng' of git.php.net:php-src into phpng

11 years agoFixed invalid read in ext/pdo/tests/pdo_025.phpt(pgsql)
Xinchen Hui [Fri, 16 May 2014 11:11:38 +0000 (19:11 +0800)]
Fixed invalid read in ext/pdo/tests/pdo_025.phpt(pgsql)

11 years agoFixed persistent WSDL cache
Dmitry Stogov [Fri, 16 May 2014 10:36:54 +0000 (14:36 +0400)]
Fixed persistent WSDL cache

11 years agoFixed wrong backtrace (__doRequest is not a static method). The "master" behavior...
Dmitry Stogov [Fri, 16 May 2014 09:41:27 +0000 (13:41 +0400)]
Fixed wrong backtrace (__doRequest is not a static method). The "master" behavior is wrong.

11 years agoRestored __destructor() behavior
Dmitry Stogov [Fri, 16 May 2014 09:15:24 +0000 (13:15 +0400)]
Restored __destructor() behavior

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Pierre Joye [Fri, 16 May 2014 09:00:49 +0000 (11:00 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng

# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
  Fixed support for <any>

11 years agoPrevent recursion in ZF2 Parameters class
Tjerk Meesters [Wed, 7 May 2014 07:35:22 +0000 (15:35 +0800)]
Prevent recursion in ZF2 Parameters class

11 years agoFixed support for <any>
Dmitry Stogov [Fri, 16 May 2014 08:41:45 +0000 (12:41 +0400)]
Fixed support for <any>

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Pierre Joye [Fri, 16 May 2014 07:15:55 +0000 (09:15 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng

# By Xinchen Hui (3) and Dmitry Stogov (2)
# Via Xinchen Hui (3) and Dmitry Stogov (2)
* 'phpng' of git.php.net:php-src:
  Fixed iterator destruction
  Fixed uninitialized value used
  Finish ext/pdo_pgsql (3 tests fail, 1 due to knew issue, 2 also fails in trunk)
  Fixed memory leaks
  Fixed several test failed

11 years agowrong macro usage, we expect a DOM object here
Pierre Joye [Fri, 16 May 2014 07:15:30 +0000 (09:15 +0200)]
wrong macro usage, we expect a DOM object here

11 years agoFixed iterator destruction
Dmitry Stogov [Fri, 16 May 2014 07:12:32 +0000 (11:12 +0400)]
Fixed iterator destruction

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Xinchen Hui [Fri, 16 May 2014 07:09:17 +0000 (15:09 +0800)]
Merge branch 'phpng' of git.php.net:php-src into phpng

11 years agoFixed uninitialized value used
Xinchen Hui [Fri, 16 May 2014 06:59:16 +0000 (14:59 +0800)]
Fixed uninitialized value used

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Dmitry Stogov [Fri, 16 May 2014 06:41:55 +0000 (10:41 +0400)]
Merge branch 'phpng' of git.php.net:php-src into phpng

* 'phpng' of git.php.net:php-src:
  Finish ext/pdo_pgsql (3 tests fail, 1 due to knew issue, 2 also fails in trunk)
  Fixed several test failed

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Xinchen Hui [Fri, 16 May 2014 06:40:42 +0000 (14:40 +0800)]
Merge branch 'phpng' of git.php.net:php-src into phpng

11 years agoFinish ext/pdo_pgsql (3 tests fail, 1 due to knew issue, 2 also fails in trunk)
Xinchen Hui [Fri, 16 May 2014 06:38:24 +0000 (14:38 +0800)]
Finish ext/pdo_pgsql (3 tests fail, 1 due to knew issue, 2 also fails in trunk)

11 years agoFixed memory leaks
Dmitry Stogov [Fri, 16 May 2014 06:37:59 +0000 (10:37 +0400)]
Fixed memory leaks

11 years agotest the right length and remove unused var (remaining from 'old' version)
Pierre Joye [Fri, 16 May 2014 06:27:21 +0000 (08:27 +0200)]
test the right length and remove unused var (remaining from 'old' version)

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Xinchen Hui [Fri, 16 May 2014 06:20:54 +0000 (14:20 +0800)]
Merge branch 'phpng' of git.php.net:php-src into phpng

11 years agoFixed several test failed
Xinchen Hui [Fri, 16 May 2014 06:18:11 +0000 (14:18 +0800)]
Fixed several test failed

11 years agofix TS build
Pierre Joye [Fri, 16 May 2014 05:34:47 +0000 (07:34 +0200)]
fix TS build

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Pierre Joye [Fri, 16 May 2014 05:25:12 +0000 (07:25 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng

# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
  Fixed WSDL attibute parsing
  fixed reference counting and memory leak
  Partial fix for XML references handling
  Fixed handling of compressed SOAP requests
  Fixed support for SOAP_PERSISTENCE_SESSION
  Fixed support for empty strings
  Buffer has to be reallocated on each loop iteration
  Support for IS_INDIRECT
  Buffer has to be reallocated on each loop iteration

11 years agoFixed WSDL attibute parsing
Dmitry Stogov [Thu, 15 May 2014 22:36:52 +0000 (02:36 +0400)]
Fixed WSDL attibute parsing

11 years agofixed reference counting and memory leak
Dmitry Stogov [Thu, 15 May 2014 22:04:50 +0000 (02:04 +0400)]
fixed reference counting and memory leak

11 years agoPartial fix for XML references handling
Dmitry Stogov [Thu, 15 May 2014 21:49:04 +0000 (01:49 +0400)]
Partial fix for XML references handling

11 years agoFixed handling of compressed SOAP requests
Dmitry Stogov [Thu, 15 May 2014 21:29:40 +0000 (01:29 +0400)]
Fixed handling of compressed SOAP requests

11 years agoFixed support for SOAP_PERSISTENCE_SESSION
Dmitry Stogov [Thu, 15 May 2014 19:54:36 +0000 (23:54 +0400)]
Fixed support for SOAP_PERSISTENCE_SESSION

11 years agoFixed support for empty strings
Dmitry Stogov [Thu, 15 May 2014 19:16:21 +0000 (23:16 +0400)]
Fixed support for empty strings

11 years agoBuffer has to be reallocated on each loop iteration
Dmitry Stogov [Thu, 15 May 2014 18:58:58 +0000 (22:58 +0400)]
Buffer has to be reallocated on each loop iteration

11 years agoSupport for IS_INDIRECT
Dmitry Stogov [Thu, 15 May 2014 18:53:01 +0000 (22:53 +0400)]
Support for IS_INDIRECT

11 years agoBuffer has to be reallocated on each loop iteration
Dmitry Stogov [Thu, 15 May 2014 18:51:46 +0000 (22:51 +0400)]
Buffer has to be reallocated on each loop iteration

11 years agofix casting
Pierre Joye [Thu, 15 May 2014 18:30:30 +0000 (20:30 +0200)]
fix casting

11 years agoreturn ptr, not status
Pierre Joye [Thu, 15 May 2014 18:14:29 +0000 (20:14 +0200)]
return ptr, not status

11 years agoused only in the #ifdef 0
Pierre Joye [Thu, 15 May 2014 18:09:49 +0000 (20:09 +0200)]
used only in the #ifdef 0

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Pierre Joye [Thu, 15 May 2014 17:48:31 +0000 (19:48 +0200)]
Merge branch 'phpng' of git.php.net:php-src into phpng

# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
  Fixed wrong comparisons