]> granicus.if.org Git - php/log
php
10 years agoFixed possible double free
Dmitry Stogov [Tue, 13 Jan 2015 08:32:36 +0000 (11:32 +0300)]
Fixed possible double free

10 years agoHandle run-time cache for static properties directly in executor.
Dmitry Stogov [Tue, 13 Jan 2015 06:33:15 +0000 (09:33 +0300)]
Handle run-time cache for static properties directly in executor.
Removed cache_slot argument in zend_std_get_static_property() and zend_std_unset_static_property().

10 years agoFixed possible crash
Dmitry Stogov [Tue, 13 Jan 2015 05:30:54 +0000 (08:30 +0300)]
Fixed possible crash

10 years agoAdd hinting
Xinchen Hui [Tue, 13 Jan 2015 03:06:40 +0000 (22:06 -0500)]
Add hinting

10 years agoImproved access to static property. Now we cache pointers to zval instead of pointers...
Dmitry Stogov [Tue, 13 Jan 2015 00:32:51 +0000 (03:32 +0300)]
Improved access to static property. Now we cache pointers to zval instead of pointers to property_info.

10 years agoOnly backup vm_stack* if generator->stack has not been freed
Bob Weinand [Mon, 12 Jan 2015 21:30:38 +0000 (22:30 +0100)]
Only backup vm_stack* if generator->stack has not been freed

10 years agoSlight improvement in copying script from opcache SHM into process memory
Dmitry Stogov [Mon, 12 Jan 2015 20:51:40 +0000 (23:51 +0300)]
Slight improvement in copying script from opcache SHM into process memory

10 years agoOptimized error_reporting() similar to silence operator (ZEND_BEGIN_SILENCE opcode).
Dmitry Stogov [Mon, 12 Jan 2015 20:50:03 +0000 (23:50 +0300)]
Optimized error_reporting() similar to silence operator (ZEND_BEGIN_SILENCE opcode).

10 years agoFixed type (case sensetive/insensetive mess)
Dmitry Stogov [Mon, 12 Jan 2015 19:30:55 +0000 (22:30 +0300)]
Fixed type (case sensetive/insensetive mess)

10 years agoUse FAST_ZPP in few more frequently used functions
Dmitry Stogov [Mon, 12 Jan 2015 16:26:12 +0000 (19:26 +0300)]
Use FAST_ZPP in few more frequently used functions

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Mon, 12 Jan 2015 16:03:00 +0000 (17:03 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed bug #68771 SQL syntax error in sqlite lib

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Mon, 12 Jan 2015 16:02:18 +0000 (17:02 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #68771 SQL syntax error in sqlite lib

10 years agoFixed bug #68771 SQL syntax error in sqlite lib
Anatol Belski [Mon, 12 Jan 2015 15:55:47 +0000 (16:55 +0100)]
Fixed bug #68771 SQL syntax error in sqlite lib

10 years agoAdded special optimized cases when strtr() called with zero or one search/replace...
Dmitry Stogov [Mon, 12 Jan 2015 13:51:59 +0000 (16:51 +0300)]
Added special optimized cases when strtr() called with zero or one search/replace pair.

10 years agoMerge branch 'master' of git.php.net:php-src
Anatol Belski [Mon, 12 Jan 2015 12:01:27 +0000 (13:01 +0100)]
Merge branch 'master' of git.php.net:php-src

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Mon, 12 Jan 2015 12:00:45 +0000 (13:00 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated libs_versions.txt
  updated libs_versions.txt
  Fix bug #68784
  Fix bug #68784
  We can't output absolute S and T values for the Diophantine solution here since it can vary based on the libgmp version we are linking against and in general there are almost always multiple valid solutions
  We can't output absolute S and T values for the Diophantine solution here since it can vary based on the libgmp version we are linking against and in general there are almost always multiple valid solutions

10 years agoupdated libs_versions.txt
Anatol Belski [Mon, 12 Jan 2015 11:59:59 +0000 (12:59 +0100)]
updated libs_versions.txt

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Mon, 12 Jan 2015 11:58:37 +0000 (12:58 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  updated libs_versions.txt
  Fix bug #68784
  We can't output absolute S and T values for the Diophantine solution here since it can vary based on the libgmp version we are linking against and in general there are almost always multiple valid solutions

10 years agoupdated libs_versions.txt
Anatol Belski [Mon, 12 Jan 2015 11:58:00 +0000 (12:58 +0100)]
updated libs_versions.txt

10 years agoFixed reference support
Dmitry Stogov [Mon, 12 Jan 2015 11:43:32 +0000 (14:43 +0300)]
Fixed reference support

10 years agoFaster strrpos implementation
Xinchen Hui [Mon, 12 Jan 2015 09:24:37 +0000 (17:24 +0800)]
Faster strrpos implementation

10 years agoFaster zend_memnstr for long text
Xinchen Hui [Mon, 12 Jan 2015 07:34:46 +0000 (15:34 +0800)]
Faster zend_memnstr for long text

10 years agoFixed #68790 (Missing return)
Xinchen Hui [Sun, 11 Jan 2015 03:19:49 +0000 (22:19 -0500)]
Fixed #68790 (Missing return)

10 years agotrailing whitespace removal
Stanislav Malyshev [Sat, 3 Jan 2015 09:22:58 +0000 (01:22 -0800)]
trailing whitespace removal

10 years agoFix missing ZVAL_DEREF()
Bob Weinand [Sat, 10 Jan 2015 21:29:00 +0000 (22:29 +0100)]
Fix missing ZVAL_DEREF()

10 years agoFixed #68779 (Incorrect sizeof)
Xinchen Hui [Sat, 10 Jan 2015 15:58:22 +0000 (10:58 -0500)]
Fixed #68779 (Incorrect sizeof)

10 years agoFix bug #68784
Rasmus Lerdorf [Sat, 10 Jan 2015 02:08:36 +0000 (18:08 -0800)]
Fix bug #68784

10 years agoFix bug #68784
Rasmus Lerdorf [Sat, 10 Jan 2015 02:08:36 +0000 (18:08 -0800)]
Fix bug #68784

10 years agoFix bug #68784
Rasmus Lerdorf [Sat, 10 Jan 2015 02:08:36 +0000 (18:08 -0800)]
Fix bug #68784

10 years agoThese tests all assume that IPV6 is available.
Rasmus Lerdorf [Sat, 10 Jan 2015 01:24:48 +0000 (17:24 -0800)]
These tests all assume that IPV6 is available.

10 years agoAdding a note here for my future self so I won't
Rasmus Lerdorf [Sat, 10 Jan 2015 00:36:21 +0000 (16:36 -0800)]
Adding a note here for my future self so I won't
need to look into this again

10 years agoWe can't output absolute S and T values for the
Rasmus Lerdorf [Sat, 10 Jan 2015 00:27:09 +0000 (16:27 -0800)]
We can't output absolute S and T values for the
Diophantine solution here since it can vary based
on the libgmp version we are linking against and
in general there are almost always multiple valid
solutions

10 years agoWe can't output absolute S and T values for the
Rasmus Lerdorf [Sat, 10 Jan 2015 00:23:50 +0000 (16:23 -0800)]
We can't output absolute S and T values for the
Diophantine solution here since it can vary based
on the libgmp version we are linking against and
in general there are almost always multiple valid
solutions

10 years agoWe can't output absolute S and T values for the
Rasmus Lerdorf [Sat, 10 Jan 2015 00:16:47 +0000 (16:16 -0800)]
We can't output absolute S and T values for the
Diophantine solution here since it can vary based
on the libgmp version we are linking against and
in general there are almost always multiple valid
solutions

10 years agoMake empty list() check stricter
Nikita Popov [Fri, 9 Jan 2015 17:27:06 +0000 (18:27 +0100)]
Make empty list() check stricter

Now also includes list()s with just commas in it.

10 years agoFix bug #68775
Nikita Popov [Fri, 9 Jan 2015 16:58:41 +0000 (17:58 +0100)]
Fix bug #68775

10 years agoUpdated NEWS
Julien Pauli [Fri, 9 Jan 2015 15:26:10 +0000 (16:26 +0100)]
Updated NEWS

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Fri, 9 Jan 2015 15:25:14 +0000 (16:25 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS
  Fix bug #68260

10 years agoUpdated NEWS
Julien Pauli [Fri, 9 Jan 2015 15:25:02 +0000 (16:25 +0100)]
Updated NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Fri, 9 Jan 2015 15:24:32 +0000 (16:24 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix bug #68260

10 years agoFix bug #68260
Julien Pauli [Fri, 9 Jan 2015 15:24:14 +0000 (16:24 +0100)]
Fix bug #68260

10 years agoRemoved parsing support traits to have extends and implements.
Guilherme Blanco [Fri, 5 Dec 2014 17:09:49 +0000 (17:09 +0000)]
Removed parsing support traits to have extends and implements.

10 years agoDecoupled class declaration statement into more granular pieces.
Guilherme Blanco [Mon, 1 Dec 2014 18:44:07 +0000 (18:44 +0000)]
Decoupled class declaration statement into more granular pieces.

10 years agoFix README.PARAMETER_PARSING_API
Francois Laupretre [Wed, 7 Jan 2015 11:59:44 +0000 (12:59 +0100)]
Fix README.PARAMETER_PARSING_API

10 years agoMerge branch 'master' of git://git.php.net/php-src
krakjoe [Fri, 9 Jan 2015 07:48:29 +0000 (07:48 +0000)]
Merge branch 'master' of git://git.php.net/php-src

10 years agooptimization for bug report #68679
krakjoe [Fri, 9 Jan 2015 07:45:21 +0000 (07:45 +0000)]
optimization for bug report #68679

10 years agoUpdate NEWs
Xinchen Hui [Fri, 9 Jan 2015 03:54:41 +0000 (11:54 +0800)]
Update NEWs

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Fri, 9 Jan 2015 03:54:01 +0000 (11:54 +0800)]
Merge branch 'PHP-5.6'

10 years agoFixed bug (try block removed while combined with xdebug)
Xinchen Hui [Fri, 9 Jan 2015 03:53:47 +0000 (11:53 +0800)]
Fixed bug (try block removed while combined with xdebug)

10 years agoFixed bug #68636 (setlocale no longer returns current value per category).
Dmitry Stogov [Thu, 8 Jan 2015 22:41:13 +0000 (01:41 +0300)]
Fixed bug #68636 (setlocale no longer returns current value per category).

10 years agoMerge branch 'PHP-5.6'
Adam Harvey [Thu, 8 Jan 2015 19:17:53 +0000 (19:17 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Calling crypt() with a salt of *0 should always return *1.

Conflicts:
configure.in
main/php_version.h

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Adam Harvey [Thu, 8 Jan 2015 19:16:32 +0000 (19:16 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Calling crypt() with a salt of *0 should always return *1.
  5.5.22 now

Conflicts:
configure.in
main/php_version.h

10 years agoCalling crypt() with a salt of *0 should always return *1.
Adam Harvey [Thu, 8 Jan 2015 19:13:23 +0000 (19:13 +0000)]
Calling crypt() with a salt of *0 should always return *1.

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Thu, 8 Jan 2015 17:11:46 +0000 (18:11 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix test

10 years agofix test
Anatol Belski [Thu, 8 Jan 2015 17:11:15 +0000 (18:11 +0100)]
fix test

10 years agoFixed #68677
Xinchen Hui [Thu, 8 Jan 2015 08:32:20 +0000 (16:32 +0800)]
Fixed #68677

10 years agoFixed #68692
Xinchen Hui [Thu, 8 Jan 2015 08:29:33 +0000 (16:29 +0800)]
Fixed #68692

10 years agoFixed #68694
Xinchen Hui [Thu, 8 Jan 2015 08:28:32 +0000 (16:28 +0800)]
Fixed #68694

10 years agoFixed #68704
Xinchen Hui [Thu, 8 Jan 2015 08:26:20 +0000 (16:26 +0800)]
Fixed #68704

10 years agoFixed #68711
Xinchen Hui [Thu, 8 Jan 2015 08:20:20 +0000 (16:20 +0800)]
Fixed #68711

10 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Thu, 8 Jan 2015 08:09:41 +0000 (16:09 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src

10 years agoFixed bug #68739 #68740 #68741
Xinchen Hui [Thu, 8 Jan 2015 08:09:02 +0000 (16:09 +0800)]
Fixed bug #68739 #68740 #68741

10 years agoMerge branch 'PHP-5.6'
Keyur Govande [Wed, 7 Jan 2015 23:23:26 +0000 (23:23 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add NEWS
  Add NEWS
  Patch commit d9f85373e32 by moving the float_to_double function to a header file.
  Fix for bugs #68114 (Build fails on OS X due to undefined symbols) and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors).
  5.5.22 now

Conflicts:
ext/mysqli/mysqli_api.c

10 years agoAdd NEWS
Keyur Govande [Wed, 7 Jan 2015 22:52:27 +0000 (22:52 +0000)]
Add NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Keyur Govande [Wed, 7 Jan 2015 22:50:55 +0000 (22:50 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Add NEWS
  Patch commit d9f85373e32 by moving the float_to_double function to a header file.
  Fix for bugs #68114 (Build fails on OS X due to undefined symbols) and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors).
  5.5.22 now

Conflicts:
configure.in
main/php_version.h

10 years agoAdd NEWS
Keyur Govande [Wed, 7 Jan 2015 22:42:28 +0000 (22:42 +0000)]
Add NEWS

10 years agoPatch commit d9f85373e32 by moving the float_to_double function to
Keyur Govande [Wed, 7 Jan 2015 21:13:57 +0000 (21:13 +0000)]
Patch commit d9f85373e32 by moving the float_to_double function to
a header file.

10 years agoFix for bugs #68114 (Build fails on OS X due to undefined symbols)
Keyur Govande [Tue, 6 Jan 2015 06:33:38 +0000 (06:33 +0000)]
Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).

The patch removes support for Decimal floating point numbers and
now defaults to using similar logic as what libmysqlclient does:
convert a 4 byte floating point number into a string, and then the
string into a double. The quirks of MySQL are maintained as seen in
Field_Float::val_str()

10 years agoFix the same leak with %=
Nikita Popov [Wed, 7 Jan 2015 22:21:12 +0000 (23:21 +0100)]
Fix the same leak with %=

10 years agoFix leak for compound shift self-assign error cases
Nikita Popov [Wed, 7 Jan 2015 22:13:09 +0000 (23:13 +0100)]
Fix leak for compound shift self-assign error cases

10 years ago5.5.22 now
Julien Pauli [Wed, 7 Jan 2015 09:42:53 +0000 (10:42 +0100)]
5.5.22 now

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Tue, 6 Jan 2015 22:00:11 +0000 (23:00 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  PHP-5.6.6 is next

Conflicts:
configure.in
main/php_version.h

10 years agoPHP-5.6.6 is next
Ferenc Kovacs [Tue, 6 Jan 2015 21:58:22 +0000 (22:58 +0100)]
PHP-5.6.6 is next

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Tue, 6 Jan 2015 10:07:10 +0000 (11:07 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  cleanup old unused typedef

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Tue, 6 Jan 2015 10:06:53 +0000 (11:06 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  cleanup old unused typedef

10 years agocleanup old unused typedef
Remi Collet [Tue, 6 Jan 2015 10:06:25 +0000 (11:06 +0100)]
cleanup old unused typedef

10 years agoMerge branch 'PHP-5.6'
Adam Harvey [Tue, 6 Jan 2015 01:29:40 +0000 (01:29 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Handle NULL strings in sapi_cli_server_register_variable().
  Allow CLI server test scripts to specify the name of the router file.

Conflicts:
sapi/cli/php_cli_server.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Adam Harvey [Tue, 6 Jan 2015 01:27:37 +0000 (01:27 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Handle NULL strings in sapi_cli_server_register_variable().
  Allow CLI server test scripts to specify the name of the router file.

Conflicts:
sapi/cli/tests/php_cli_server.inc

10 years agoHandle NULL strings in sapi_cli_server_register_variable().
Adam Harvey [Tue, 6 Jan 2015 01:23:27 +0000 (01:23 +0000)]
Handle NULL strings in sapi_cli_server_register_variable().

Fixes bug #68745 (Invalid HTTP requests make web server segfault).

10 years agoAllow CLI server test scripts to specify the name of the router file.
Adam Harvey [Tue, 6 Jan 2015 01:22:59 +0000 (01:22 +0000)]
Allow CLI server test scripts to specify the name of the router file.

This is required to write tests that behave differently when an index.php isn't
present in the document root. (Such as the one I'm about to commit.)

10 years agoFix bug #55416
Levi Morrison [Tue, 6 Jan 2015 00:27:25 +0000 (17:27 -0700)]
Fix bug #55416

Remove extra, unnecessary warning when the callback fails for
array_map, array_reduce and array_filter

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Mon, 5 Jan 2015 18:20:33 +0000 (19:20 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix ACLs tests, make it create dir where it has to, not file

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Mon, 5 Jan 2015 18:20:07 +0000 (19:20 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix ACLs tests, make it create dir where it has to, not file

10 years agofix ACLs tests, make it create dir where it has to, not file
Anatol Belski [Mon, 5 Jan 2015 18:19:24 +0000 (19:19 +0100)]
fix ACLs tests, make it create dir where it has to, not file

10 years agofix ACLs setup for tests
Anatol Belski [Mon, 5 Jan 2015 18:14:12 +0000 (19:14 +0100)]
fix ACLs setup for tests

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Mon, 5 Jan 2015 16:36:26 +0000 (17:36 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  NEWS
  NEWS
  Fix bug #68751 listen.allowed_clients is broken

10 years agoNEWS
Remi Collet [Mon, 5 Jan 2015 16:35:36 +0000 (17:35 +0100)]
NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Mon, 5 Jan 2015 16:35:14 +0000 (17:35 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  NEWS
  Fix bug #68751 listen.allowed_clients is broken

10 years agoNEWS
Remi Collet [Mon, 5 Jan 2015 16:34:45 +0000 (17:34 +0100)]
NEWS

10 years agoFix bug #68751 listen.allowed_clients is broken
Remi Collet [Mon, 5 Jan 2015 16:33:57 +0000 (17:33 +0100)]
Fix bug #68751 listen.allowed_clients is broken

10 years agoFix uses of zval_add_ref and add comment on usage
Nikita Popov [Mon, 5 Jan 2015 16:02:11 +0000 (17:02 +0100)]
Fix uses of zval_add_ref and add comment on usage

zval_add_ref should be used as a copy ctor, after the value was
already copied.

In particular when used with hash insertions, it should be applied
to the return value of the insert function.

10 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Mon, 5 Jan 2015 14:21:56 +0000 (22:21 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src

10 years agoAdd test script and use efree_size
Xinchen Hui [Mon, 5 Jan 2015 14:20:13 +0000 (22:20 +0800)]
Add test script and use efree_size

10 years agoRevert "Revert "Fix memory leak when dereferencing reference with refcount 1""
Xinchen Hui [Mon, 5 Jan 2015 14:13:22 +0000 (22:13 +0800)]
Revert "Revert "Fix memory leak when dereferencing reference with refcount 1""

This reverts commit 7aab9659ee9c8bc15490d16b4064d64a3846147c.

10 years agoMerge branch 'PHP-5.6'
Matteo Beccati [Mon, 5 Jan 2015 11:12:02 +0000 (12:12 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Update test after fixing bug #68371

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Matteo Beccati [Mon, 5 Jan 2015 11:11:46 +0000 (12:11 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Update test after fixing bug #68371

10 years agoUpdate test after fixing bug #68371
Matteo Beccati [Mon, 5 Jan 2015 11:11:16 +0000 (12:11 +0100)]
Update test after fixing bug #68371

10 years agoMerge branch 'PHP-5.6'
Matteo Beccati [Mon, 5 Jan 2015 10:03:50 +0000 (11:03 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS for #68371
  Ref #68371 - Added support for PDO::PGSQL_ATTR_DISABLE_PREPARES

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Matteo Beccati [Mon, 5 Jan 2015 10:02:52 +0000 (11:02 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated NEWS for #68371

10 years agoUpdated NEWS for #68371
Matteo Beccati [Mon, 5 Jan 2015 10:01:54 +0000 (11:01 +0100)]
Updated NEWS for #68371