]> granicus.if.org Git - php/log
php
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 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 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

10 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

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

10 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

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

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

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

10 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

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

10 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

10 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

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

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

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

10 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()

10 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()

10 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()

10 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

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

10 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

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

10 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

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

10 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

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

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

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

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

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

Signed-off-by: olshevskiy87 <olshevskiy87@bk.ru>
10 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

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

10 years agoUpdated NEWS
Julien Pauli [Wed, 13 May 2015 13:43:03 +0000 (15:43 +0200)]
Updated NEWS

10 years agofix tests
Antony Dovgal [Thu, 22 Jan 2015 14:56:41 +0000 (17:56 +0300)]
fix tests

10 years agomerge similar if conditions
Antony Dovgal [Fri, 19 Dec 2014 11:57:41 +0000 (14:57 +0300)]
merge similar if conditions

10 years agoadd rusage support to wait() and waitpid()
Antony Dovgal [Thu, 11 Dec 2014 14:01:55 +0000 (17:01 +0300)]
add rusage support to wait() and waitpid()

patch by Anton Stepanenko

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 13 May 2015 13:30:01 +0000 (15:30 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix release dates for 5.6.9/5.6.10. spotted by @Jan-E on github

10 years agofix release dates for 5.6.9/5.6.10. spotted by @Jan-E on github
Ferenc Kovacs [Wed, 13 May 2015 13:29:08 +0000 (15:29 +0200)]
fix release dates for 5.6.9/5.6.10. spotted by @Jan-E on github

10 years agoextend libxml exports
Anatol Belski [Wed, 13 May 2015 13:19:48 +0000 (15:19 +0200)]
extend libxml exports

10 years agofix libxml2 headers lookup
Anatol Belski [Wed, 13 May 2015 11:28:58 +0000 (13:28 +0200)]
fix libxml2 headers lookup

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Wed, 13 May 2015 12:30:11 +0000 (14:30 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS
  Updated NEWS

10 years agoUpdated NEWS
Julien Pauli [Wed, 13 May 2015 12:29:53 +0000 (14:29 +0200)]
Updated NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Wed, 13 May 2015 12:29:29 +0000 (14:29 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated NEWS

10 years agoUpdated NEWS
Julien Pauli [Wed, 13 May 2015 12:29:02 +0000 (14:29 +0200)]
Updated NEWS

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Wed, 13 May 2015 12:21:19 +0000 (14:21 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Close fd at the end, otherwise people complain
  Add file descriptor caching to mcrypt_create_iv()

Conflicts:
ext/mcrypt/mcrypt.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Wed, 13 May 2015 12:19:04 +0000 (14:19 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Close fd at the end, otherwise people complain
  Add file descriptor caching to mcrypt_create_iv()

10 years agoClose fd at the end, otherwise people complain
Leigh [Fri, 27 Mar 2015 19:14:33 +0000 (20:14 +0100)]
Close fd at the end, otherwise people complain

Even though it's closed when the process terminates!