]> granicus.if.org Git - php/log
php
11 years agoUse new zend_hash API
Dmitry Stogov [Wed, 28 May 2014 14:45:01 +0000 (18:45 +0400)]
Use new zend_hash API

11 years agoUse new zend_hash API
Dmitry Stogov [Wed, 28 May 2014 14:12:52 +0000 (18:12 +0400)]
Use new zend_hash API

11 years agoUse new zend_hash API
Dmitry Stogov [Wed, 28 May 2014 13:49:31 +0000 (17:49 +0400)]
Use new zend_hash API

11 years agoUse new zend_hash API
Dmitry Stogov [Wed, 28 May 2014 13:43:11 +0000 (17:43 +0400)]
Use new zend_hash API

11 years agoUse new zend_hash API
Dmitry Stogov [Wed, 28 May 2014 13:30:05 +0000 (17:30 +0400)]
Use new zend_hash API

11 years agoUse new zend_hash API
Dmitry Stogov [Wed, 28 May 2014 12:56:41 +0000 (16:56 +0400)]
Use new zend_hash API

11 years agoUse new zend_hash API
Dmitry Stogov [Wed, 28 May 2014 10:09:42 +0000 (14:09 +0400)]
Use new zend_hash API

11 years agoUse extended iteration API to avoid in-place modification
Dmitry Stogov [Wed, 28 May 2014 09:00:33 +0000 (13:00 +0400)]
Use extended iteration API to avoid in-place modification

11 years agoUse extended iteration API to avoid in-place modification
Dmitry Stogov [Wed, 28 May 2014 08:39:27 +0000 (12:39 +0400)]
Use extended iteration API to avoid in-place modification

11 years agoUse new zend_hash API
Dmitry Stogov [Wed, 28 May 2014 08:34:08 +0000 (12:34 +0400)]
Use new zend_hash API

11 years agoAvoid in-place modification
Dmitry Stogov [Wed, 28 May 2014 08:15:36 +0000 (12:15 +0400)]
Avoid in-place modification

11 years agoUse new zend_hash API
Dmitry Stogov [Wed, 28 May 2014 08:15:16 +0000 (12:15 +0400)]
Use new zend_hash API

11 years agoAvoid in-place modification
Dmitry Stogov [Wed, 28 May 2014 06:15:15 +0000 (10:15 +0400)]
Avoid in-place modification

11 years agoReference counter in phpng may have a bit different meaning and must not be the same
Dmitry Stogov [Tue, 27 May 2014 22:16:21 +0000 (02:16 +0400)]
Reference counter in phpng may have a bit different meaning and must not be the same

11 years agoUse new zend_hash API
Dmitry Stogov [Tue, 27 May 2014 22:13:45 +0000 (02:13 +0400)]
Use new zend_hash API

11 years agoAvoid in-place conversion
Dmitry Stogov [Tue, 27 May 2014 21:29:37 +0000 (01:29 +0400)]
Avoid in-place conversion

11 years agoFixed refcounting
Dmitry Stogov [Tue, 27 May 2014 21:28:38 +0000 (01:28 +0400)]
Fixed refcounting

11 years agoEscape non-printable characters in the junit XML output
Matteo Beccati [Tue, 27 May 2014 09:54:34 +0000 (11:54 +0200)]
Escape non-printable characters in the junit XML output

XML doesn't allow most of the characters < 0x20 and binary output
breaks XML parsers. Such characters are not allowed as entities
either, so the generated entities are escaped in order to be printed
as text.

11 years agoMerge branch 'phpng' of https://git.php.net/repository/php-src into phpng
Xinchen Hui [Tue, 27 May 2014 09:48:47 +0000 (17:48 +0800)]
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng

11 years agoretval's initializing is already taken by zend_call_function
Xinchen Hui [Tue, 27 May 2014 09:46:01 +0000 (17:46 +0800)]
retval's initializing is already taken by zend_call_function

11 years agoFixed broken XML junit output due to escaping of CDATA sections
Matteo Beccati [Tue, 27 May 2014 09:04:48 +0000 (11:04 +0200)]
Fixed broken XML junit output due to escaping of CDATA sections

I've removed CDATA and used htmlspecialchars as the output might not be UTF-8 safe, as pointed out by ircmaxell in 26b37f1792dfaf9b0b30f81e492c8f68b9ece571

11 years agoFixed bug #47407
Xinchen Hui [Tue, 27 May 2014 03:48:25 +0000 (11:48 +0800)]
Fixed bug #47407

11 years agoUse new zend_hash API
Dmitry Stogov [Mon, 26 May 2014 20:38:58 +0000 (00:38 +0400)]
Use new zend_hash API

11 years agoUse new zend_hash API
Dmitry Stogov [Mon, 26 May 2014 17:29:35 +0000 (21:29 +0400)]
Use new zend_hash API

11 years agoFix ** operator with references
Nikita Popov [Mon, 26 May 2014 16:17:55 +0000 (18:17 +0200)]
Fix ** operator with references

11 years agoAdd test for previous commit
Nikita Popov [Mon, 26 May 2014 16:13:16 +0000 (18:13 +0200)]
Add test for previous commit

11 years agoFix incdec of ref object properties
Nikita Popov [Mon, 26 May 2014 15:58:10 +0000 (17:58 +0200)]
Fix incdec of ref object properties

This fixes a number of infinite loops in the Symfony testsuite. It
took an obscene amount of time to track this down :/

11 years agoUse specialized functions instead of macros
Dmitry Stogov [Mon, 26 May 2014 13:16:16 +0000 (17:16 +0400)]
Use specialized functions instead of macros

11 years agoOptimize func_get_args() to build packed array
Dmitry Stogov [Mon, 26 May 2014 13:15:52 +0000 (17:15 +0400)]
Optimize func_get_args() to build packed array

11 years agoMerge branch 'master' into phpng
Xinchen Hui [Mon, 26 May 2014 09:32:53 +0000 (17:32 +0800)]
Merge branch 'master' into phpng

11 years agoSave some unnecessary zval copying
Xinchen Hui [Mon, 26 May 2014 09:25:57 +0000 (17:25 +0800)]
Save some unnecessary zval copying

11 years agoImprove call_user_function performance
Xinchen Hui [Mon, 26 May 2014 09:16:22 +0000 (17:16 +0800)]
Improve call_user_function performance

params are all zval * now, and retval will be initialized in
zend_call_function.

maybe we can make call_user_function as a macro proxy to
call_user_function_ex later.

11 years agoRemoved useless initializations
Dmitry Stogov [Mon, 26 May 2014 07:42:58 +0000 (11:42 +0400)]
Removed useless initializations

11 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Mon, 26 May 2014 07:40:57 +0000 (15:40 +0800)]
Merge branch 'PHP-5.6'

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Mon, 26 May 2014 07:40:50 +0000 (15:40 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

11 years agoUpdate NEWs and add a test
Xinchen Hui [Mon, 26 May 2014 07:40:26 +0000 (15:40 +0800)]
Update NEWs and add a test

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

* 'phpng' of git.php.net:php-src:
  Finished persistent PDO implement

11 years agoMerge branch 'master' into phpng
Dmitry Stogov [Mon, 26 May 2014 06:52:43 +0000 (10:52 +0400)]
Merge branch 'master' into phpng

* master:
  Fixed issue #183 (TMP_VAR is not only used once)
  Fix broken Junit output with --disable-cgi
  Added folder mark
  Further test fixes for the fdb2709 breakage.
  Fix broken test caused by fdb2709.
  Added tests for ZipArchive::addGlob() and ZipArchive::addPattern()
  Fix run-tests.php with Valgrind >= 3.10.0.
  Add microseconds to the serialised form of DateTime objects.
  Improved test for bug #62479
  fix typo in ODBC code
  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
  5.5.14 now
  Fix bug #67060: use default mode of 660

Conflicts:
ext/date/php_date.c

11 years agoFinished persistent PDO implement
Xinchen Hui [Mon, 26 May 2014 06:17:45 +0000 (14:17 +0800)]
Finished persistent PDO implement

11 years agoMerge branch 'PHP-5.6'
Dmitry Stogov [Mon, 26 May 2014 06:12:36 +0000 (10:12 +0400)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed issue #183 (TMP_VAR is not only used once)

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Dmitry Stogov [Mon, 26 May 2014 06:12:10 +0000 (10:12 +0400)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed issue #183 (TMP_VAR is not only used once)

11 years agoFixed issue #183 (TMP_VAR is not only used once)
Dmitry Stogov [Mon, 26 May 2014 06:10:59 +0000 (10:10 +0400)]
Fixed issue #183 (TMP_VAR is not only used once)

11 years agoThis seems better
Xinchen Hui [Mon, 26 May 2014 04:05:21 +0000 (12:05 +0800)]
This seems better

11 years agoSave one zval copy
Xinchen Hui [Mon, 26 May 2014 03:49:43 +0000 (11:49 +0800)]
Save one zval copy

11 years agoDon't use cast (compiler friendly)
Xinchen Hui [Mon, 26 May 2014 03:05:04 +0000 (11:05 +0800)]
Don't use cast (compiler friendly)

11 years agoFix print_flat_hash for objects
Nikita Popov [Sun, 25 May 2014 18:07:29 +0000 (20:07 +0200)]
Fix print_flat_hash for objects

11 years agoFix parts of .gdbinit
Nikita Popov [Sun, 25 May 2014 16:53:28 +0000 (18:53 +0200)]
Fix parts of .gdbinit

11 years agoFix in_array (strict) with references
Nikita Popov [Sun, 25 May 2014 16:19:00 +0000 (18:19 +0200)]
Fix in_array (strict) with references

11 years agoFix ZTS build
Nikita Popov [Sun, 25 May 2014 16:11:24 +0000 (18:11 +0200)]
Fix ZTS build

11 years agoFixed apply_func_args_t
Xinchen Hui [Sun, 25 May 2014 12:04:35 +0000 (20:04 +0800)]
Fixed apply_func_args_t

11 years agoFixed apply_func_arg_t, and it's better not using cast (compiler friendly)
Xinchen Hui [Sun, 25 May 2014 11:56:51 +0000 (19:56 +0800)]
Fixed apply_func_arg_t, and it's better not using cast (compiler friendly)

11 years agoFixed apply_func_t (they should be broken before)
Xinchen Hui [Sun, 25 May 2014 10:32:35 +0000 (18:32 +0800)]
Fixed apply_func_t (they should be broken before)

11 years agoFix broken Junit output with --disable-cgi
Matteo Beccati [Sat, 24 May 2014 22:07:52 +0000 (00:07 +0200)]
Fix broken Junit output with --disable-cgi

11 years agoMerge branch 'PHP-5.6'
Matteo Beccati [Sat, 24 May 2014 22:08:56 +0000 (00:08 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix broken Junit output with --disable-cgi

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Matteo Beccati [Sat, 24 May 2014 22:08:41 +0000 (00:08 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix broken Junit output with --disable-cgi

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Matteo Beccati [Sat, 24 May 2014 22:08:32 +0000 (00:08 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix broken Junit output with --disable-cgi

11 years agoFix broken Junit output with --disable-cgi
Matteo Beccati [Sat, 24 May 2014 22:07:52 +0000 (00:07 +0200)]
Fix broken Junit output with --disable-cgi

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 agoMerge branch 'PHP-5.6'
Xinchen Hui [Sat, 24 May 2014 13:11:26 +0000 (21:11 +0800)]
Merge branch 'PHP-5.6'

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

11 years agoMerge branch 'new-tests' of https://github.com/SammyK/php-src
Xinchen Hui [Sat, 24 May 2014 07:43:37 +0000 (15:43 +0800)]
Merge branch 'new-tests' of https://github.com/SammyK/php-src

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Matteo Beccati [Sat, 24 May 2014 06:06:53 +0000 (08:06 +0200)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  Further test fixes for the fdb2709 breakage.
  Fix broken test caused by fdb2709.
  Fix run-tests.php with Valgrind >= 3.10.0.
  Add microseconds to the serialised form of DateTime objects.

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 agoMerge branch 'PHP-5.6'
Adam Harvey [Fri, 23 May 2014 15:23:55 +0000 (15:23 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Further test fixes for the fdb2709 breakage.
  Fix broken test caused by fdb2709.

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Adam Harvey [Fri, 23 May 2014 15:23:15 +0000 (15:23 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Further test fixes for the fdb2709 breakage.
  Fix broken test caused by fdb2709.

11 years agoFurther test fixes for the fdb2709 breakage.
Adam Harvey [Fri, 23 May 2014 15:22:26 +0000 (15:22 +0000)]
Further test fixes for the fdb2709 breakage.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Fri, 23 May 2014 15:14:00 +0000 (15:14 +0000)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix broken test caused by fdb2709.

Conflicts:
ext/intl/tests/dateformat_format.phpt

11 years agoFix broken test caused by fdb2709.
Adam Harvey [Fri, 23 May 2014 15:07:19 +0000 (15:07 +0000)]
Fix broken test caused by fdb2709.

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 agoAdded tests for ZipArchive::addGlob() and ZipArchive::addPattern()
Sammy Kaye Powers [Fri, 23 May 2014 05:34:44 +0000 (05:34 +0000)]
Added tests for ZipArchive::addGlob() and ZipArchive::addPattern()

11 years agoMerge branch 'PHP-5.6'
Adam Harvey [Thu, 22 May 2014 22:43:39 +0000 (22:43 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix run-tests.php with Valgrind >= 3.10.0.

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Adam Harvey [Thu, 22 May 2014 22:37:57 +0000 (22:37 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix run-tests.php with Valgrind >= 3.10.0.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Thu, 22 May 2014 22:37:47 +0000 (22:37 +0000)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix run-tests.php with Valgrind >= 3.10.0.

Conflicts:
run-tests.php

11 years agoFix run-tests.php with Valgrind >= 3.10.0.
Adam Harvey [Thu, 22 May 2014 22:36:55 +0000 (22:36 +0000)]
Fix run-tests.php with Valgrind >= 3.10.0.

The version test that we had in run-tests.php assumed that the major and minor
version numbers were always single digits. This removes that assumption and
also uses version_compare() for the comparison instead of naively converting it
to an integer.

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 agoMerge branch 'PHP-5.6'
Adam Harvey [Wed, 21 May 2014 20:06:30 +0000 (15:06 -0500)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add microseconds to the serialised form of DateTime objects.

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Adam Harvey [Wed, 21 May 2014 20:05:08 +0000 (15:05 -0500)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Add microseconds to the serialised form of DateTime objects.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Wed, 21 May 2014 20:03:24 +0000 (15:03 -0500)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Add microseconds to the serialised form of DateTime objects.

11 years agoAdd microseconds to the serialised form of DateTime objects.
Adam Harvey [Wed, 21 May 2014 19:55:09 +0000 (14:55 -0500)]
Add microseconds to the serialised form of DateTime objects.

Fixes bug #67308 (Serialize of DateTime truncates fractions of second).

11 years agoMerge branch 'PHP-5.6'
Matteo Beccati [Wed, 21 May 2014 16:59:31 +0000 (18:59 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Improved test for bug #62479

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Matteo Beccati [Wed, 21 May 2014 16:59:14 +0000 (18:59 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Improved test for bug #62479

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Matteo Beccati [Wed, 21 May 2014 16:59:02 +0000 (18:59 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Improved test for bug #62479

11 years agoImproved test for bug #62479
Matteo Beccati [Wed, 21 May 2014 16:58:14 +0000 (18:58 +0200)]
Improved test for bug #62479

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