]> granicus.if.org Git - php/log
php
9 years agoMerge branch 'pull-request/1278'
Anatol Belski [Thu, 21 May 2015 06:52:41 +0000 (08:52 +0200)]
Merge branch 'pull-request/1278'

9 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

9 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

9 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

9 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)

9 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.

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

9 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!

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

9 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

9 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

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

9 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)

9 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

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

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

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

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

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

9 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

9 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

9 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.

9 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.

9 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?

9 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

9 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)

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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

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

9 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

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

9 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)

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

9 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

9 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

9 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

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

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

9 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

9 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

9 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+

9 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.

9 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)

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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)

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

9 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)

9 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

9 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

9 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.

9 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.

9 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

9 years agoMerge branch 'pull-request/1277'
Stanislav Malyshev [Sat, 16 May 2015 21:20:41 +0000 (14:20 -0700)]
Merge branch 'pull-request/1277'

* pull-request/1277:
  fix typos

9 years agoDisplay EngineExceptions like ordinary exceptions
Nikita Popov [Fri, 15 May 2015 19:04:07 +0000 (21:04 +0200)]
Display EngineExceptions like ordinary exceptions

TypeException stays as-is for now because it uses messages that are
incompatible with the way exception messages are displayed.

closure_038.phpt and a few others now show that we're generating
too many exceptions for compound operations on undefined properties
-- this needs to be fixed in a followup.

9 years agoMerge branch 'master' of https://github.com/php/php-src
Bob Weinand [Fri, 15 May 2015 20:45:35 +0000 (22:45 +0200)]
Merge branch 'master' of https://github.com/php/php-src

9 years agoFix exception leak in interactive console
Nikita Popov [Fri, 15 May 2015 20:42:19 +0000 (22:42 +0200)]
Fix exception leak in interactive console

Shows up there because it throws at E_WARNING severity level and
as such leak detection is not suppressed.

9 years agoFixed segfault
Xinchen Hui [Fri, 15 May 2015 16:33:49 +0000 (00:33 +0800)]
Fixed segfault

9 years agocode standard
Xinchen Hui [Fri, 15 May 2015 16:19:43 +0000 (00:19 +0800)]
code standard

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Fri, 15 May 2015 14:57:36 +0000 (22:57 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoHint the compiler
Xinchen Hui [Fri, 15 May 2015 14:57:17 +0000 (22:57 +0800)]
Hint the compiler

9 years agoFix unrelated tests and zlib window size
Bob Weinand [Fri, 15 May 2015 11:59:47 +0000 (13:59 +0200)]
Fix unrelated tests and zlib window size

9 years agoremove version check
Anatol Belski [Fri, 15 May 2015 06:20:33 +0000 (08:20 +0200)]
remove version check

the cause of the recursive inclusion is fixed, it's not compiler
version dependent

9 years agoUpdated test to include ReflectionGenerator
Matteo Beccati [Fri, 15 May 2015 04:52:04 +0000 (06:52 +0200)]
Updated test to include ReflectionGenerator

9 years agoImprove strtr()
Dmitry Stogov [Fri, 15 May 2015 01:03:30 +0000 (04:03 +0300)]
Improve strtr()

9 years agoMinor typo in warning message
Bob Weinand [Fri, 15 May 2015 00:42:11 +0000 (02:42 +0200)]
Minor typo in warning message

9 years agoAdd strategy option to deflate_init()
Bob Weinand [Fri, 15 May 2015 00:28:22 +0000 (02:28 +0200)]
Add strategy option to deflate_init()

9 years agoAdd dictionary option to {in,de}flate_init()
Bob Weinand [Fri, 15 May 2015 00:18:53 +0000 (02:18 +0200)]
Add dictionary option to {in,de}flate_init()

9 years agoAdd window option to {de,in}flate_init()
Bob Weinand [Thu, 14 May 2015 20:58:13 +0000 (22:58 +0200)]
Add window option to {de,in}flate_init()

9 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Thu, 14 May 2015 23:09:45 +0000 (01:09 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix NEWS

9 years agofix NEWS
Ferenc Kovacs [Thu, 14 May 2015 23:00:53 +0000 (01:00 +0200)]
fix NEWS

9 years agoadded the inclusion guard
Anatol Belski [Thu, 14 May 2015 22:00:06 +0000 (00:00 +0200)]
added the inclusion guard

the vc check can be likely removed, to be checked

9 years agoOptimized === and !== with NULL, FALSE, TRUE.
Dmitry Stogov [Thu, 14 May 2015 22:11:29 +0000 (01:11 +0300)]
Optimized === and !== with NULL, FALSE, TRUE.

9 years agoAdd NEWS/UPGRADING for ReflectionGenerator class
Bob Weinand [Thu, 14 May 2015 20:30:01 +0000 (22:30 +0200)]
Add NEWS/UPGRADING for ReflectionGenerator class

9 years agoAdd ReflectionGenerator class
Bob Weinand [Thu, 14 May 2015 18:10:35 +0000 (20:10 +0200)]
Add ReflectionGenerator class

9 years agoFix memleak in generators using symtable
Bob Weinand [Thu, 14 May 2015 15:17:39 +0000 (17:17 +0200)]
Fix memleak in generators using symtable

9 years agoFixed memory leak
Dmitry Stogov [Thu, 14 May 2015 14:07:32 +0000 (17:07 +0300)]
Fixed memory leak

9 years agoFixed phpdbg build
Dmitry Stogov [Thu, 14 May 2015 13:47:22 +0000 (16:47 +0300)]
Fixed phpdbg build

9 years agoRefactored custom storage API.
Dmitry Stogov [Thu, 14 May 2015 11:56:13 +0000 (14:56 +0300)]
Refactored custom storage API.

9 years agofix test output (32bits)
Remi Collet [Thu, 14 May 2015 08:28:59 +0000 (10:28 +0200)]
fix test output (32bits)

9 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

9 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

9 years agofix typos
olshevskiy87 [Wed, 13 May 2015 18:05:59 +0000 (22:05 +0400)]
fix typos

Signed-off-by: olshevskiy87 <olshevskiy87@bk.ru>
9 years agoMerged fastcgi.* reated changes from sapi/cgi
Dmitry Stogov [Wed, 13 May 2015 15:54:41 +0000 (18:54 +0300)]
Merged fastcgi.* reated changes from sapi/cgi

9 years agoFixed build
Dmitry Stogov [Wed, 13 May 2015 15:53:58 +0000 (18:53 +0300)]
Fixed build