]> granicus.if.org Git - php/log
php
11 years agotypo
Xinchen Hui [Sat, 24 May 2014 13:45:07 +0000 (21:45 +0800)]
typo

11 years agofci->retval is always set
Xinchen Hui [Sat, 24 May 2014 13:37:15 +0000 (21:37 +0800)]
fci->retval is always set

11 years agoAdded folder mark and codes style
Xinchen Hui [Sat, 24 May 2014 13:19:34 +0000 (21:19 +0800)]
Added folder mark and codes style

11 years agoUse optimized zend_array_dup() function. convert zend_hash_num_elements() and zend_ha...
Dmitry Stogov [Fri, 23 May 2014 16:37:53 +0000 (20:37 +0400)]
Use optimized zend_array_dup() function. convert zend_hash_num_elements() and zend_hash_next_free_element() into macros.

11 years agoRemove incorrect EMPTY_SWITCH_DEFAULT_CASE() usage
Nikita Popov [Fri, 23 May 2014 12:32:52 +0000 (14:32 +0200)]
Remove incorrect EMPTY_SWITCH_DEFAULT_CASE() usage

11 years agoRemove UB in signed printing macro
Nikita Popov [Fri, 23 May 2014 11:15:08 +0000 (13:15 +0200)]
Remove UB in signed printing macro

Signed->unsigned conversion and unsigned negation are well-defined
(unlike signed negation for LONG_MIN.)

11 years agoOptimize int to string conversion
Nikita Popov [Fri, 23 May 2014 11:10:50 +0000 (13:10 +0200)]
Optimize int to string conversion

Probably platform depedentant, but for me snprintf is terribly
slow.

The code for the long printing is taken from the smart string
API.

11 years agoFix typo
Nikita Popov [Fri, 16 May 2014 20:00:07 +0000 (22:00 +0200)]
Fix typo

11 years agoAssert that EMPTY_SWITCH_DEFAULT_CASE() cannot be reached in debug
Nikita Popov [Fri, 16 May 2014 16:54:01 +0000 (18:54 +0200)]
Assert that EMPTY_SWITCH_DEFAULT_CASE() cannot be reached in debug

11 years agoMake a start on phpng compat
Christopher Jones [Wed, 21 May 2014 23:43:44 +0000 (16:43 -0700)]
Make a start on phpng compat

11 years agoFixed tests but introduce segfaults (behavior same as trunk)
Xinchen Hui [Wed, 21 May 2014 15:09:55 +0000 (23:09 +0800)]
Fixed tests but introduce segfaults (behavior same as trunk)

11 years agoRefactored ext/pdo_firebird (didn't do test)
Xinchen Hui [Wed, 21 May 2014 07:52:36 +0000 (15:52 +0800)]
Refactored ext/pdo_firebird (didn't do test)

11 years agoFixed segafult while stream is referenced by persistent resource (like dba)
Xinchen Hui [Wed, 21 May 2014 05:11:56 +0000 (13:11 +0800)]
Fixed segafult while stream is referenced by persistent resource (like dba)

11 years agoFixed persistent dba handling
Xinchen Hui [Wed, 21 May 2014 04:22:59 +0000 (12:22 +0800)]
Fixed persistent dba handling

11 years agoRefactored ext/dba (tests passes, but segfaults need to be fixed)
Xinchen Hui [Wed, 21 May 2014 03:40:19 +0000 (11:40 +0800)]
Refactored ext/dba (tests passes, but segfaults need to be fixed)

11 years agoSecond set of changes to mysqlnd for phpng.
Andrey Hristov [Tue, 20 May 2014 18:50:15 +0000 (21:50 +0300)]
Second set of changes to mysqlnd for phpng.
A bit problematic is that the streams seem not to be completely ported.
Also there are some hacks in the streams about EG(regular_list) and EG(persistent_list)
and these need to be carefully checked. The test suite should catch them, however.

11 years agoFirst set of phpng changes for mysqlnd
Andrey Hristov [Tue, 20 May 2014 16:57:11 +0000 (19:57 +0300)]
First set of phpng changes for mysqlnd

11 years agoDefensive check
Andrey Hristov [Tue, 20 May 2014 13:41:14 +0000 (16:41 +0300)]
Defensive check

11 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Andrey Hristov [Tue, 20 May 2014 11:51:16 +0000 (14:51 +0300)]
Merge branch 'phpng' of git.php.net:php-src into phpng

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 agoReverted last commit
Dmitry Stogov [Tue, 20 May 2014 09:55:15 +0000 (13:55 +0400)]
Reverted last commit

11 years agoFixed wrong test (see https://bugs.php.net/bug.php?id=67307)
Dmitry Stogov [Tue, 20 May 2014 09:47:10 +0000 (13:47 +0400)]
Fixed wrong test (see https://bugs.php.net/bug.php?id=67307)

11 years agoMore accurate mysql_close()
Dmitry Stogov [Tue, 20 May 2014 09:19:21 +0000 (13:19 +0400)]
More accurate mysql_close()

11 years agoRefactoring ext/snmp
Xinchen Hui [Tue, 20 May 2014 09:02:29 +0000 (17:02 +0800)]
Refactoring ext/snmp

11 years agoMerge branch 'phpng' of https://git.php.net/repository/php-src into phpng
Xinchen Hui [Tue, 20 May 2014 07:50:41 +0000 (15:50 +0800)]
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng

Conflicts:
ext/pdo_pgsql/tests/common.phpt

11 years agoRevert changes to configs by accident
Xinchen Hui [Tue, 20 May 2014 03:31:39 +0000 (11:31 +0800)]
Revert changes to configs by accident

11 years agoRefactored ext/ldap
Xinchen Hui [Tue, 20 May 2014 03:29:37 +0000 (11:29 +0800)]
Refactored ext/ldap

11 years agoRefactored ext/ldap
Xinchen Hui [Tue, 20 May 2014 03:26:26 +0000 (11:26 +0800)]
Refactored ext/ldap

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

* 'phpng' of git.php.net:php-src:
  remove mysqlnd_bt.c as it a long dead code

11 years agoFixed test. The warning actually indicate a problem in master that we didn't repeat...
Dmitry Stogov [Mon, 19 May 2014 18:20:02 +0000 (22:20 +0400)]
Fixed test. The warning actually indicate a problem in master that we didn't repeat in phpng.

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>