]> granicus.if.org Git - php/log
php
10 years agoDrop THIS_HASHVAL define
Nikita Popov [Fri, 22 May 2015 18:44:16 +0000 (20:44 +0200)]
Drop THIS_HASHVAL define

No longer used

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Fri, 22 May 2015 19:32:40 +0000 (21:32 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix test
  Add entry for bug #69354, fixed in 5.5.25
  Add CVE for bugs in 5.6.9
  Add entry about PCRE upgrade (rev 95fa7279)
  Add CVE for bugs in 5.5.25

Conflicts:
ext/phar/tests/bug69441.phpt

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Fri, 22 May 2015 19:27:19 +0000 (21:27 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix test

10 years agofix test
Anatol Belski [Fri, 22 May 2015 19:25:52 +0000 (21:25 +0200)]
fix test

Sometimes the path is unixified, sometimes not, so better don't
care about the slash in this case.

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Lior Kaplan [Fri, 22 May 2015 08:18:32 +0000 (11:18 +0300)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Add entry for bug #69354, fixed in 5.5.25
  Add entry about PCRE upgrade (rev 95fa7279)
  Add CVE for bugs in 5.5.25

10 years agoAdd entry for bug #69354, fixed in 5.5.25
Lior Kaplan [Fri, 22 May 2015 08:17:01 +0000 (11:17 +0300)]
Add entry for bug #69354, fixed in 5.5.25

10 years agoAdd CVE for bugs in 5.6.9
Lior Kaplan [Fri, 22 May 2015 08:15:36 +0000 (11:15 +0300)]
Add CVE for bugs in 5.6.9

10 years agoAdd entry about PCRE upgrade (rev 95fa7279)
Lior Kaplan [Fri, 22 May 2015 08:02:01 +0000 (11:02 +0300)]
Add entry about PCRE upgrade (rev 95fa7279)

10 years agoAdd CVE for bugs in 5.5.25
Lior Kaplan [Fri, 22 May 2015 07:58:28 +0000 (10:58 +0300)]
Add CVE for bugs in 5.5.25

10 years agoForgot the test for bug #69688
Xinchen Hui [Fri, 22 May 2015 03:50:55 +0000 (11:50 +0800)]
Forgot the test for bug #69688

10 years agoFixed test
Xinchen Hui [Fri, 22 May 2015 03:49:15 +0000 (11:49 +0800)]
Fixed test

10 years agoFixed bug #69688 (segfault with eval and opcache fast shutdown)
Xinchen Hui [Fri, 22 May 2015 03:48:13 +0000 (11:48 +0800)]
Fixed bug #69688 (segfault with eval and opcache fast shutdown)

10 years agoFixed bug #69686 password_verify reports back error on PHP7 will null string.
Anthony Ferrara [Thu, 21 May 2015 21:12:51 +0000 (17:12 -0400)]
Fixed bug #69686 password_verify reports back error on PHP7 will null string.

The deprecation of DES salts created a warning when trying to verify them with password_hash. This bug fix adds a quiet mode to php_crypt() which is used by password_verify.

10 years agoFix scope_is_known() for class constants
Nikita Popov [Thu, 21 May 2015 19:07:05 +0000 (21:07 +0200)]
Fix scope_is_known() for class constants

Here the active_op_array is still the surrounding file, but we
do know the scope.

10 years agoFixed build with DEBUG_COMPACT_LITERALS=1
Dmitry Stogov [Thu, 21 May 2015 14:57:06 +0000 (17:57 +0300)]
Fixed build with DEBUG_COMPACT_LITERALS=1

10 years agoFixed typo in ZEND_GCC_GLOBAL_REGS configure test (Albert)
Dmitry Stogov [Thu, 21 May 2015 13:34:59 +0000 (16:34 +0300)]
Fixed typo in ZEND_GCC_GLOBAL_REGS configure test (Albert)

10 years agoremoved old news item
Peter Cowburn [Thu, 21 May 2015 12:17:27 +0000 (13:17 +0100)]
removed old news item

This change was introduced in PHP 5.5.21 and 5.6.5

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Thu, 21 May 2015 12:07:14 +0000 (14:07 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  NEWS
  Fixed bug #69680 (phar symlink in binary directory broken).
  Make the phar symlink relative

10 years agoNEWS
Remi Collet [Thu, 21 May 2015 12:07:02 +0000 (14:07 +0200)]
NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Thu, 21 May 2015 12:06:26 +0000 (14:06 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #69680 (phar symlink in binary directory broken).
  Make the phar symlink relative

10 years agoFixed bug #69680 (phar symlink in binary directory broken).
Remi Collet [Thu, 21 May 2015 12:05:15 +0000 (14:05 +0200)]
Fixed bug #69680 (phar symlink in binary directory broken).

Relative symlink are better, as relative to link directory.

10 years agoMake the phar symlink relative
ponce [Thu, 21 May 2015 11:30:58 +0000 (13:30 +0200)]
Make the phar symlink relative

or we got a symlink pointing to the build files
thanks also to remicollet

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Thu, 21 May 2015 08:57:30 +0000 (10:57 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  remove duplicated declaration, fix build

10 years agoremove duplicated declaration, fix build
Anatol Belski [Thu, 21 May 2015 08:56:14 +0000 (10:56 +0200)]
remove duplicated declaration, fix build

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Thu, 21 May 2015 07:49:18 +0000 (09:49 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated NEWS
  updated NEWS
  added missing GLOB_BRACE support check
  added SKIPIF section to test to make sure that GLOB_BRACE is supported
  fix #69628: complex GLOB_BRACE fails on Windows
  added PHPT to check for bug #69628

10 years agoupdated NEWS
Anatol Belski [Thu, 21 May 2015 07:47:59 +0000 (09:47 +0200)]
updated NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Thu, 21 May 2015 07:47:30 +0000 (09:47 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  updated NEWS
  added missing GLOB_BRACE support check
  added SKIPIF section to test to make sure that GLOB_BRACE is supported
  fix #69628: complex GLOB_BRACE fails on Windows
  added PHPT to check for bug #69628

10 years agoupdated NEWS
Anatol Belski [Thu, 21 May 2015 07:47:02 +0000 (09:47 +0200)]
updated NEWS

10 years agoadded missing GLOB_BRACE support check
Christoph M. Becker [Wed, 20 May 2015 18:23:21 +0000 (20:23 +0200)]
added missing GLOB_BRACE support check

10 years agoadded SKIPIF section to test to make sure that GLOB_BRACE is supported
Christoph M. Becker [Wed, 20 May 2015 16:39:07 +0000 (18:39 +0200)]
added SKIPIF section to test to make sure that GLOB_BRACE is supported

10 years agofix #69628: complex GLOB_BRACE fails on Windows
Christoph M. Becker [Wed, 13 May 2015 21:47:54 +0000 (23:47 +0200)]
fix #69628: complex GLOB_BRACE fails on Windows

10 years agoadded PHPT to check for bug #69628
Christoph M. Becker [Wed, 13 May 2015 20:37:33 +0000 (22:37 +0200)]
added PHPT to check for bug #69628

10 years agoMerge branch 'pull-request/1278'
Anatol Belski [Thu, 21 May 2015 06:52:41 +0000 (08:52 +0200)]
Merge branch 'pull-request/1278'

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Thu, 21 May 2015 06:22:30 +0000 (08:22 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix handling VAR vs VAR= in putenv

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Thu, 21 May 2015 06:21:53 +0000 (08:21 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix handling VAR vs VAR= in putenv

10 years agofix handling VAR vs VAR= in putenv
Anatol Belski [Thu, 21 May 2015 06:19:54 +0000 (08:19 +0200)]
fix handling VAR vs VAR= in putenv

using _putenv_s eliminates behavior diff in TS/NTS

10 years agoAdd support for string dictionaries, fix array dictionaries ({de,in}flate)
Bob Weinand [Thu, 21 May 2015 02:17:17 +0000 (04:17 +0200)]
Add support for string dictionaries, fix array dictionaries ({de,in}flate)

10 years agoFixed zend_update_class_constants() to always resolve all constants.
Dmitry Stogov [Thu, 21 May 2015 01:13:10 +0000 (04:13 +0300)]
Fixed zend_update_class_constants() to always resolve all constants.
Call zend_update_class_constants() only when necessary.

10 years agoAdd documentation contribution information.
Adam Harvey [Thu, 21 May 2015 00:26:20 +0000 (19:26 -0500)]
Add documentation contribution information.

10 years agoAdd a bare bones CONTRIBUTING.md.
Adam Harvey [Thu, 21 May 2015 00:12:48 +0000 (19:12 -0500)]
Add a bare bones CONTRIBUTING.md.

I was not at all guilted into this by the open source summit at php[tek]. Not
at all.

(such guilt)

This is based mostly on information already on our Web site, and is primarily a
set of links to other pages. Still, if we can encourage more contributors,
let's do it!

10 years agoSet proper type_info flags.
Dmitry Stogov [Wed, 20 May 2015 21:51:34 +0000 (00:51 +0300)]
Set proper type_info flags.

10 years agoFixed SHM+FILE cache with opcache.protect_memory=1
Dmitry Stogov [Wed, 20 May 2015 20:33:55 +0000 (23:33 +0300)]
Fixed SHM+FILE cache with opcache.protect_memory=1

10 years agoImproved script copyining from SHM to process memory
Dmitry Stogov [Wed, 20 May 2015 20:12:04 +0000 (23:12 +0300)]
Improved script copyining from SHM to process memory

10 years agoMicro optimization
Dmitry Stogov [Wed, 20 May 2015 19:51:45 +0000 (22:51 +0300)]
Micro optimization

10 years agoFixed access to wrong opline (it may be the last ZEND_THROW in op_array->opcodes)
Dmitry Stogov [Wed, 20 May 2015 19:49:37 +0000 (22:49 +0300)]
Fixed access to wrong opline (it may be the last ZEND_THROW in op_array->opcodes)

10 years agoadded missing GLOB_BRACE support check
Christoph M. Becker [Wed, 20 May 2015 18:23:21 +0000 (20:23 +0200)]
added missing GLOB_BRACE support check

10 years agoadd license header
Anatol Belski [Wed, 20 May 2015 17:08:59 +0000 (19:08 +0200)]
add license header

10 years agoadd license header
Anatol Belski [Wed, 20 May 2015 17:05:57 +0000 (19:05 +0200)]
add license header

10 years agoremove dead code
Anatol Belski [Wed, 20 May 2015 17:02:43 +0000 (19:02 +0200)]
remove dead code

10 years agoadd vim modelines
Anatol Belski [Wed, 20 May 2015 16:51:19 +0000 (18:51 +0200)]
add vim modelines

10 years agoadd vim modeline
Anatol Belski [Wed, 20 May 2015 16:46:30 +0000 (18:46 +0200)]
add vim modeline

10 years agodisable unused members in struct rusage
Anatol Belski [Wed, 20 May 2015 16:44:58 +0000 (18:44 +0200)]
disable unused members in struct rusage

10 years agoadded SKIPIF section to test to make sure that GLOB_BRACE is supported
Christoph M. Becker [Wed, 20 May 2015 16:39:07 +0000 (18:39 +0200)]
added SKIPIF section to test to make sure that GLOB_BRACE is supported

10 years agoExpose pdo stmt ctor args to gc
Nikita Popov [Wed, 20 May 2015 16:00:37 +0000 (18:00 +0200)]
Expose pdo stmt ctor args to gc

These very commonly contain a reference to the PDO object itself.

10 years agoAdd GC support for ArrayObject
Nikita Popov [Thu, 16 Apr 2015 08:07:41 +0000 (10:07 +0200)]
Add GC support for ArrayObject

gc_024 test changes because the array that ArrayObject holds is
now counted separately from the ArrayObject.

10 years agoShow argument causing TypeException in trace
Nikita Popov [Sun, 17 May 2015 19:49:53 +0000 (21:49 +0200)]
Show argument causing TypeException in trace

Not sure why that check was there, did I miss something?

10 years agoMerge branch 'master' of https://git.php.net/push/php-src
Kalle Sommer Nielsen [Wed, 20 May 2015 14:15:40 +0000 (16:15 +0200)]
Merge branch 'master' of https://git.php.net/push/php-src

10 years agolong > zend_long (Thanks Anatol)
Kalle Sommer Nielsen [Wed, 20 May 2015 14:15:11 +0000 (16:15 +0200)]
long > zend_long (Thanks Anatol)

10 years agofixed test
Anatol Belski [Wed, 20 May 2015 13:55:32 +0000 (15:55 +0200)]
fixed test

10 years agoMerge branch 'master' of https://git.php.net/push/php-src
Kalle Sommer Nielsen [Wed, 20 May 2015 13:50:00 +0000 (15:50 +0200)]
Merge branch 'master' of https://git.php.net/push/php-src

10 years agoWindows support for getrusage()
Kalle Sommer Nielsen [Wed, 20 May 2015 13:45:37 +0000 (15:45 +0200)]
Windows support for getrusage()
* See getrusage.c/h for implementation details and limitations
* Tests passes and have had their SKIPIF updated
* psapi.lib is now linked to by default

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Wed, 20 May 2015 12:03:01 +0000 (14:03 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  move test

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Wed, 20 May 2015 12:02:25 +0000 (14:02 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  move test

10 years agomove test
Remi Collet [Wed, 20 May 2015 12:02:13 +0000 (14:02 +0200)]
move test

10 years agoMerge branch 'patch-5' of https://github.com/ovr/php-src
Xinchen Hui [Wed, 20 May 2015 08:56:28 +0000 (16:56 +0800)]
Merge branch 'patch-5' of https://github.com/ovr/php-src

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Wed, 20 May 2015 06:31:46 +0000 (08:31 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix new test

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Wed, 20 May 2015 06:30:44 +0000 (08:30 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix new test

10 years agofix new test
Remi Collet [Wed, 20 May 2015 06:30:27 +0000 (08:30 +0200)]
fix new test

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Wed, 20 May 2015 06:14:02 +0000 (08:14 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  NEWS 5.6
  NEWS 5.5
  Fixed Bug #69667 segfault in php_pgsql_meta_data
  fix test output (32bits)

Conflicts:
ext/pgsql/pgsql.c

10 years agoNEWS 5.6
Remi Collet [Wed, 20 May 2015 06:11:55 +0000 (08:11 +0200)]
NEWS 5.6

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Wed, 20 May 2015 06:11:24 +0000 (08:11 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  NEWS 5.5
  Fixed Bug #69667 segfault in php_pgsql_meta_data
  fix test output (32bits)

10 years agoNEWS 5.5
Remi Collet [Wed, 20 May 2015 06:11:14 +0000 (08:11 +0200)]
NEWS 5.5

10 years agoFixed Bug #69667 segfault in php_pgsql_meta_data
Remi Collet [Wed, 20 May 2015 06:08:41 +0000 (08:08 +0200)]
Fixed Bug #69667 segfault in php_pgsql_meta_data

Incomplete fix for #68741

10 years agoFixed bug #69511 Off-by-one bufferoverflow in php_sys_readlink
Anatol Belski [Tue, 19 May 2015 13:44:55 +0000 (15:44 +0200)]
Fixed bug #69511 Off-by-one bufferoverflow in php_sys_readlink

10 years ago[Math] ceil, floor added FAST_ZPP parameters pass
Dmitry Patsura [Tue, 19 May 2015 13:19:13 +0000 (21:19 +0800)]
[Math] ceil, floor added FAST_ZPP parameters pass

10 years agoImproved hash table copying
Dmitry Stogov [Tue, 19 May 2015 10:23:13 +0000 (13:23 +0300)]
Improved hash table copying

10 years agoImproved hash table copying
Dmitry Stogov [Tue, 19 May 2015 10:22:58 +0000 (13:22 +0300)]
Improved hash table copying

10 years agoThis shouldn't have been a part of the previous commit
Kalle Sommer Nielsen [Tue, 19 May 2015 10:20:25 +0000 (12:20 +0200)]
This shouldn't have been a part of the previous commit

10 years agoMerge branch 'master' of https://git.php.net/push/php-src
Kalle Sommer Nielsen [Tue, 19 May 2015 10:13:19 +0000 (12:13 +0200)]
Merge branch 'master' of https://git.php.net/push/php-src

10 years ago* Make ext/dba compile with newer versions of Oracle's Berkeley (in my case 6.1)
Kalle Sommer Nielsen [Tue, 19 May 2015 10:12:24 +0000 (12:12 +0200)]
* Make ext/dba compile with newer versions of Oracle's Berkeley (in my case 6.1)
* Make the db3 driver work with 4.3+

10 years agoAdd consistency check in FAST_ZPP call
Remi Collet [Tue, 19 May 2015 08:54:10 +0000 (10:54 +0200)]
Add consistency check in FAST_ZPP call
So ensure Z_PARAM_OPTIONAL is correctly call at the right place
Only in DEBUG build

Will raise 'Assertion `_i > _min_num_args || _optional==0' failed.'
or         'Assertion `_i <= _min_num_args || _optional==1' failed.'
Thus will allow to detect bad code early.

10 years agoEliminated useless check in FAST_ZPP (this also fixed few wrong -Wmaybe-uninitialized...
Dmitry Stogov [Tue, 19 May 2015 08:06:01 +0000 (11:06 +0300)]
Eliminated useless check in FAST_ZPP (this also fixed few wrong -Wmaybe-uninitialized compilation warnings) (Remi)

10 years agofix test title
Anatol Belski [Mon, 18 May 2015 20:36:55 +0000 (22:36 +0200)]
fix test title

10 years agofork test for ICU >= 55.1 compat
Anatol Belski [Mon, 18 May 2015 20:33:59 +0000 (22:33 +0200)]
fork test for ICU >= 55.1 compat

10 years agosync test with exception currently thrown
Anatol Belski [Mon, 18 May 2015 20:29:01 +0000 (22:29 +0200)]
sync test with exception currently thrown

10 years agofork test for ICU >= 55.1 compat
Anatol Belski [Mon, 18 May 2015 20:23:35 +0000 (22:23 +0200)]
fork test for ICU >= 55.1 compat

10 years agofork test for ICU >= 55.1 compat
Anatol Belski [Mon, 18 May 2015 20:10:38 +0000 (22:10 +0200)]
fork test for ICU >= 55.1 compat

10 years agoskip test for ICU >= 55.1, a newer test is available and passes
Anatol Belski [Mon, 18 May 2015 20:06:15 +0000 (22:06 +0200)]
skip test for ICU >= 55.1, a newer test is available and passes

10 years agofork test for ICU >= 55.1 compat
Anatol Belski [Mon, 18 May 2015 19:49:27 +0000 (21:49 +0200)]
fork test for ICU >= 55.1 compat

10 years agofork test for ICU >= 55.1 compat
Anatol Belski [Mon, 18 May 2015 19:45:15 +0000 (21:45 +0200)]
fork test for ICU >= 55.1 compat

10 years agofix mbrlen prototype availability
Anatol Belski [Mon, 18 May 2015 16:29:59 +0000 (18:29 +0200)]
fix mbrlen prototype availability

10 years agoReset heap usage statistics on request shutdown
Dmitry Stogov [Mon, 18 May 2015 20:06:23 +0000 (23:06 +0300)]
Reset heap usage statistics on request shutdown

10 years agoFixed bug #69649 (segfault with --enable-dtrace)
Dmitry Stogov [Mon, 18 May 2015 09:44:40 +0000 (12:44 +0300)]
Fixed bug #69649 (segfault with --enable-dtrace)

10 years agoAvoid possible uninitialized value assignment
Reeze Xia [Mon, 18 May 2015 04:49:42 +0000 (12:49 +0800)]
Avoid possible uninitialized value assignment

10 years agoAdded Test (the lineno should be fixed)
Xinchen Hui [Mon, 18 May 2015 03:14:03 +0000 (11:14 +0800)]
Added Test (the lineno should be fixed)

10 years ago1. Fixed bug #69640 Unhandled EngineExceptions thrown from userland do not produce...
Xinchen Hui [Mon, 18 May 2015 03:09:09 +0000 (11:09 +0800)]
1. Fixed bug #69640 Unhandled EngineExceptions thrown from userland do not produce any output

2. Fixed Segfault introduced by latest changes

10 years agoPrefer isfinite to finite
Reeze Xia [Tue, 10 Feb 2015 14:22:35 +0000 (22:22 +0800)]
Prefer isfinite to finite

Since finite() is not part of ANSI C

@see http://bytes.com/topic/c/answers/217761-finite-ansi-c

10 years agoDisplay TypeExceptions like normal exceptions
Nikita Popov [Sun, 17 May 2015 16:59:34 +0000 (18:59 +0200)]
Display TypeExceptions like normal exceptions

We currently don't show the argument at which the error actually
occured in the trace - should probably either add it or don't
display args on incomplete frames altogether, otherwise this'll
probably be confusing.

10 years agoTweak uncaught exception message display
Nikita Popov [Sun, 17 May 2015 16:35:18 +0000 (18:35 +0200)]
Tweak uncaught exception message display

This implements a reduced variant of #1226 with just the following
change:

-Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d
+Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d

The '' wrapper around messages is very weird if the exception
message itself contains ''. Futhermore having the message wrapped
in '' doesn't work for the "and defined" suffix of
TypeExceptions.

10 years agoDon't write prop if read prop threw exception
Nikita Popov [Sun, 17 May 2015 11:46:54 +0000 (13:46 +0200)]
Don't write prop if read prop threw exception