]> granicus.if.org Git - php/log
php
9 years ago[16:45] <@bjori> salathe: http://git.php.net/?p=php-src.git;a=commit;h=d4324a5e4ba3ae...
Kalle Sommer Nielsen [Wed, 27 May 2015 14:50:01 +0000 (16:50 +0200)]
[16:45] <@bjori> salathe: http://git.php.net/?p=php-src.git;a=commit;h=d4324a5e4ba3ae668cf1a3c2426241fd6ac385a5 && http://git.php.net/?p=php-src.git;a=commit;h=9de8833bea9fe39556066e7ff77b136697652d02
[16:45] <@bjori> you should probably move philip to authors, and yourself out of the author list

9 years agoupdated manual editor
Peter Cowburn [Wed, 27 May 2015 10:20:21 +0000 (11:20 +0100)]
updated manual editor

9 years agoRemove debug codes
Xinchen Hui [Wed, 27 May 2015 09:41:38 +0000 (17:41 +0800)]
Remove debug codes

9 years agoFixed sapi/tests (maybe needs some run-test.php people's reviewing)
Xinchen Hui [Wed, 27 May 2015 09:37:34 +0000 (17:37 +0800)]
Fixed sapi/tests (maybe needs some run-test.php people's reviewing)

9 years agoSeems useless now
Xinchen Hui [Wed, 27 May 2015 08:54:32 +0000 (16:54 +0800)]
Seems useless now

9 years agoFixed the fix in f68dc94aa727085040650b4c9354672f2f62ee6a
Xinchen Hui [Wed, 27 May 2015 08:47:15 +0000 (16:47 +0800)]
Fixed the fix in f68dc94aa727085040650b4c9354672f2f62ee6a

9 years agoMerge branch 'master' into merge-fastcgi
Xinchen Hui [Wed, 27 May 2015 08:36:15 +0000 (16:36 +0800)]
Merge branch 'master' into merge-fastcgi

Conflicts:
sapi/fpm/fpm/fpm_main.c

9 years agoRemove useless cast
Reeze Xia [Wed, 27 May 2015 02:45:19 +0000 (10:45 +0800)]
Remove useless cast

9 years agoMerge pull request #2 from weltling/merge-fastcgi
Xinchen Hui [Wed, 27 May 2015 02:37:48 +0000 (10:37 +0800)]
Merge pull request #2 from weltling/merge-fastcgi

Simplify the windows side

9 years agoAdd test for memory leak with wrong return type
Bob Weinand [Tue, 26 May 2015 23:37:00 +0000 (01:37 +0200)]
Add test for memory leak with wrong return type

9 years agoFix memory leak with return types upon failure
Bob Weinand [Tue, 26 May 2015 23:18:06 +0000 (01:18 +0200)]
Fix memory leak with return types upon failure
TMP/VAR wasn't being freed in VERIFY_RETURN

9 years agoFix phpdbg class fetch / method opcodes
Bob Weinand [Tue, 26 May 2015 22:55:15 +0000 (00:55 +0200)]
Fix phpdbg class fetch / method opcodes

9 years agoAdd targets to simplify building PHP with FDO (Feedback Directed Optimisation)
Dmitry Stogov [Tue, 26 May 2015 14:33:25 +0000 (17:33 +0300)]
Add targets to simplify building PHP with FDO (Feedback Directed Optimisation)
PHP should be built with the folowing steps:

make clean
make -j4 prof-gen
; now php should be trained with some scripts
; for example `sapi/cgi/php -T 1000 /var/www/http/wordpress/index.php > /dev/null`
make prof-clean
make -j4 prof-use

The "properly" trained build may give up to 10% real performance boost!
"Improprly" trained PHP might be even slower.

9 years agoFixed phpdbg exit unexpected after signal SIGCONT on OS X
Reeze Xia [Tue, 26 May 2015 14:04:50 +0000 (22:04 +0800)]
Fixed phpdbg exit unexpected after signal SIGCONT on OS X

9 years agofix dir sep in test
Anatol Belski [Tue, 26 May 2015 11:09:01 +0000 (13:09 +0200)]
fix dir sep in test

9 years agoEven fake token better to be in upper case
Xinchen Hui [Tue, 26 May 2015 10:11:07 +0000 (18:11 +0800)]
Even fake token better to be in upper case

9 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Tue, 26 May 2015 08:26:12 +0000 (16:26 +0800)]
Merge branch 'PHP-5.6'

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Tue, 26 May 2015 08:24:39 +0000 (16:24 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

9 years agoFixed C89
Xinchen Hui [Tue, 26 May 2015 08:24:18 +0000 (16:24 +0800)]
Fixed C89

9 years agoadded the shared fcgi imp to sapi/cgi
Anatol Belski [Tue, 26 May 2015 07:44:41 +0000 (09:44 +0200)]
added the shared fcgi imp to sapi/cgi

This is yet a workaround, if another part of the source would need
the same object file, it'll end up producing duplicated nmake target.
Some additional implementation is needed so same object files can be
shared between different modules, to handle this situation better.

9 years agoremove fastcgi.c from the dll target
Anatol Belski [Tue, 26 May 2015 07:03:52 +0000 (09:03 +0200)]
remove fastcgi.c from the dll target

9 years agoreverted 0512b38 and 1411ca5
Anatol Belski [Tue, 26 May 2015 07:02:19 +0000 (09:02 +0200)]
reverted 0512b38 and 1411ca5

9 years agoMerge branch 'master' into merge-fastcgi
Xinchen Hui [Tue, 26 May 2015 06:17:21 +0000 (14:17 +0800)]
Merge branch 'master' into merge-fastcgi

9 years agoOnly link fastcgi into fpm and cgi
Xinchen Hui [Tue, 26 May 2015 05:54:20 +0000 (13:54 +0800)]
Only link fastcgi into fpm and cgi

9 years agoMicro optimizations
Xinchen Hui [Tue, 26 May 2015 03:47:01 +0000 (11:47 +0800)]
Micro optimizations

9 years agoimplicit declaration of function ‘zend_multibyte_yyinput_again’
Xinchen Hui [Tue, 26 May 2015 02:36:52 +0000 (10:36 +0800)]
implicit declaration of function ‘zend_multibyte_yyinput_again’

9 years agoRan wrong tests, fixed bug in impl; simplified
Bob Weinand [Mon, 25 May 2015 23:43:56 +0000 (01:43 +0200)]
Ran wrong tests, fixed bug in impl; simplified

9 years agoSpeed up implod()'ing between 5% and 30% (by time)
Bob Weinand [Mon, 25 May 2015 23:12:23 +0000 (01:12 +0200)]
Speed up implod()'ing between 5% and 30% (by time)

Significantly speed up implode()'ing on integers now...
Previously I accidentally committed the first part of the patch in 69b54ba926b714dff0f8b54bea385e9a278c5849

9 years agoFix tokenizer test due to recent changes
Bob Weinand [Mon, 25 May 2015 22:17:27 +0000 (00:17 +0200)]
Fix tokenizer test due to recent changes

9 years agoAdd class to semi_reserved tests
Bob Weinand [Mon, 25 May 2015 21:07:37 +0000 (23:07 +0200)]
Add class to semi_reserved tests

9 years agoupdates grammar tests with class members named as method modifiers \cc @bwoebi
Márcio Almada [Mon, 25 May 2015 18:56:24 +0000 (15:56 -0300)]
updates grammar tests with class members named as method modifiers \cc @bwoebi

9 years agoAlso unreserve T_CLASS
Bob Weinand [Mon, 25 May 2015 20:58:30 +0000 (22:58 +0200)]
Also unreserve T_CLASS

9 years agoSet %expect to 0 in parser (Using %prec)
Bob Weinand [Mon, 25 May 2015 18:26:57 +0000 (20:26 +0200)]
Set %expect to 0 in parser (Using %prec)

9 years agoMerge branch 'master' of https://github.com/php/php-src
Bob Weinand [Mon, 25 May 2015 17:00:53 +0000 (19:00 +0200)]
Merge branch 'master' of https://github.com/php/php-src

9 years agoRebuild scanner, add NEWS/UPGRADING
Bob Weinand [Mon, 25 May 2015 17:00:08 +0000 (19:00 +0200)]
Rebuild scanner, add NEWS/UPGRADING

9 years agoPrevent op_array->this_var setting when method uses auto globals
Dmitry Stogov [Mon, 25 May 2015 16:59:25 +0000 (19:59 +0300)]
Prevent op_array->this_var setting when method uses auto globals

9 years agoMerge context sensitive lexer RFC
Bob Weinand [Mon, 25 May 2015 16:38:40 +0000 (18:38 +0200)]
Merge context sensitive lexer RFC

9 years agoFixed typo
Dmitry Stogov [Mon, 25 May 2015 16:20:52 +0000 (19:20 +0300)]
Fixed typo

9 years agomove S_IFLNK define into header
Anatol Belski [Mon, 25 May 2015 16:07:47 +0000 (18:07 +0200)]
move S_IFLNK define into header

9 years agofurther cleanups with S_IF* macros generalized declarations
Anatol Belski [Mon, 25 May 2015 11:47:31 +0000 (13:47 +0200)]
further cleanups with S_IF* macros generalized declarations

9 years agocleanup more redundant S_IS* declarations
Anatol Belski [Mon, 25 May 2015 11:28:18 +0000 (13:28 +0200)]
cleanup more redundant S_IS* declarations

9 years agocleanup redundant S_IFDIR declaration
Anatol Belski [Mon, 25 May 2015 11:22:54 +0000 (13:22 +0200)]
cleanup redundant S_IFDIR declaration

9 years agocleanup duplicated stat declarations in ext/phar
Anatol Belski [Mon, 25 May 2015 11:21:01 +0000 (13:21 +0200)]
cleanup duplicated stat declarations in ext/phar

9 years agomove some stat declarations into zend_virtual_cwd.h
Anatol Belski [Mon, 25 May 2015 11:17:35 +0000 (13:17 +0200)]
move some stat declarations into zend_virtual_cwd.h

more cleanup to go

9 years agoFixed bug #69700 (tests/lang/this_assignment.phpt memory errors)
Dmitry Stogov [Mon, 25 May 2015 15:29:31 +0000 (18:29 +0300)]
Fixed bug #69700 (tests/lang/this_assignment.phpt memory errors)

9 years agoFixed va_list double used
Xinchen Hui [Mon, 25 May 2015 07:40:32 +0000 (15:40 +0800)]
Fixed va_list double used

9 years agopick up sasl auth plugins if there was any in the deps
Anatol Belski [Sun, 24 May 2015 13:38:39 +0000 (15:38 +0200)]
pick up sasl auth plugins if there was any in the deps

9 years agoremove non-applicable comment
Anatol Belski [Fri, 22 May 2015 11:39:25 +0000 (13:39 +0200)]
remove non-applicable comment

9 years agofix datetime tests with vc14
Anatol Belski [Fri, 22 May 2015 07:51:54 +0000 (09:51 +0200)]
fix datetime tests with vc14

VC14 RC seems to support more format extensions, however some
difrerences do still persist.

9 years agomake the test more reliable
Anatol Belski [Fri, 22 May 2015 06:01:48 +0000 (08:01 +0200)]
make the test more reliable

9 years agoImprove phpdbg opcode dump
Nikita Popov [Sun, 24 May 2015 18:27:30 +0000 (20:27 +0200)]
Improve phpdbg opcode dump

Don't show <unused>, just don't display anything instead.

Dump nums used in op1/op2/result, e.g. for SEND, RECV etc.

Split the switch into three parts, one for each operand.

9 years agoMerge branch 'PHP-5.6'
Remi Collet [Sun, 24 May 2015 07:40:08 +0000 (09:40 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  NEWS
  NEWS
  Fixed Bug #69479 GD fails to build with newer libvpx

9 years agoNEWS
Remi Collet [Sun, 24 May 2015 07:39:44 +0000 (09:39 +0200)]
NEWS

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Sun, 24 May 2015 07:39:20 +0000 (09:39 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  NEWS
  Fixed Bug #69479 GD fails to build with newer libvpx

9 years agoNEWS
Remi Collet [Sun, 24 May 2015 07:39:03 +0000 (09:39 +0200)]
NEWS

9 years agoFixed Bug #69479 GD fails to build with newer libvpx
Remi Collet [Sun, 24 May 2015 07:37:12 +0000 (09:37 +0200)]
Fixed Bug #69479 GD fails to build with newer libvpx

From upstream https://github.com/libgd/libgd/commit/d41eb72cd4545c394578332e5c102dee69e02ee8

Fix build with latest libvpx 1.4.0

These new constants exist at least since 1.0.0
Compatibility ones have been droped in 1.4.0

9 years agoMerge branch 'master' into merge-fastcgi
Xinchen Hui [Sun, 24 May 2015 06:23:34 +0000 (14:23 +0800)]
Merge branch 'master' into merge-fastcgi

9 years agofcgi_is_allowed should not log error
Xinchen Hui [Sun, 24 May 2015 06:21:04 +0000 (14:21 +0800)]
fcgi_is_allowed should not log error

9 years agoMerge pull request #1 from weltling/merge-fastcgi
Xinchen Hui [Sun, 24 May 2015 02:09:59 +0000 (10:09 +0800)]
Merge pull request #1 from weltling/merge-fastcgi

Missing symbols to get it worky on Windows

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Sat, 23 May 2015 21:02:47 +0000 (23:02 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated NEWS

9 years agoupdated NEWS
Anatol Belski [Sat, 23 May 2015 21:02:09 +0000 (23:02 +0200)]
updated NEWS

9 years agoFixes for x32 ABI
Nikita Popov [Sat, 23 May 2015 19:15:11 +0000 (21:15 +0200)]
Fixes for x32 ABI

I'm assuming that we want to have 64bit zend_longs on x32 here.

This fixes two typos in __x86_64__ macros and adds sign-extension
when assigning STREAM_COPY_ALL to zend_long.

9 years agoadd the remaining useful symbols to the export
Anatol Belski [Sat, 23 May 2015 19:00:47 +0000 (21:00 +0200)]
add the remaining useful symbols to the export

9 years agoimplement necessary symbol exports
Anatol Belski [Sat, 23 May 2015 18:55:20 +0000 (20:55 +0200)]
implement necessary symbol exports

9 years agoAvoid multipy allocating of request env
Xinchen Hui [Sat, 23 May 2015 17:07:36 +0000 (01:07 +0800)]
Avoid multipy allocating of request env

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Sat, 23 May 2015 16:47:26 +0000 (18:47 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  increase the internal post data buffer

9 years agoincrease the internal post data buffer
Anatol Belski [Sat, 23 May 2015 16:44:39 +0000 (18:44 +0200)]
increase the internal post data buffer

This brings speedup and fixes issues with var parsing. Default BUFSIZ
on Windows is 512 bytes which causes too much reallocation work.

9 years agoUse weak function for fcgi_log
Xinchen Hui [Sat, 23 May 2015 11:19:48 +0000 (19:19 +0800)]
Use weak function for fcgi_log

9 years agoFixed fpm-side (tests passes)
Xinchen Hui [Sat, 23 May 2015 02:31:50 +0000 (10:31 +0800)]
Fixed fpm-side (tests passes)

9 years agoInline zend_find_builtin_type
Levi Morrison [Thu, 21 May 2015 01:54:11 +0000 (19:54 -0600)]
Inline zend_find_builtin_type

This function was used only inside of zend_find_builtin_type_by_name,
which is also used only one time.

9 years agoRemove duplication
Levi Morrison [Thu, 21 May 2015 01:50:20 +0000 (19:50 -0600)]
Remove duplication

9 years agoRename some variables and functions
Levi Morrison [Thu, 21 May 2015 01:39:31 +0000 (19:39 -0600)]
Rename some variables and functions

The way these are used have little to do with them being scalars;
they are just tuples with names, lengths and IS_* constants. We
will probably reuse these in the future with other types.

9 years agoCorrected line comment 5256
Radu Brănișcan [Wed, 20 May 2015 00:08:50 +0000 (03:08 +0300)]
Corrected line comment 5256

From the text "dectupt" to "decrypt"

9 years agoRemove ZEND_BRK/ZEND_CONT from VM
Nikita Popov [Fri, 22 May 2015 20:31:02 +0000 (22:31 +0200)]
Remove ZEND_BRK/ZEND_CONT from VM

These are no longer used at run-time now, only temporarily during
compilation.

9 years agoUse ZEND_JMP instead of ZEND_BRK/ZEND_CONT
Nikita Popov [Fri, 22 May 2015 20:17:40 +0000 (22:17 +0200)]
Use ZEND_JMP instead of ZEND_BRK/ZEND_CONT

Emit necessary FREEs during compilation, convert to JMP during
pass_two (we may not know target opline beforehand).

9 years agoEmbed break/continue depth into opline
Nikita Popov [Fri, 22 May 2015 20:08:44 +0000 (22:08 +0200)]
Embed break/continue depth into opline

Previously a separate lval literal was used - this is probably a
leftover from the time where the break level could still be
specified dynamically.

9 years agoMove loop var stack management into begin/end loop
Nikita Popov [Fri, 22 May 2015 19:35:33 +0000 (21:35 +0200)]
Move loop var stack management into begin/end loop

Also set start to -1 in begin_loop already, so the info that a
loop variable is not used is already available at compile-time.

9 years agoDrop FREE_ON_RETURN flag, check brk_cont->start instead
Nikita Popov [Fri, 22 May 2015 19:05:47 +0000 (21:05 +0200)]
Drop FREE_ON_RETURN flag, check brk_cont->start instead

Start >= 0 already tells us whether or not the loop has a loop
variable, no need to add extra flags to opcodes.

Also added a test for a case where FREE_ON_RETURN is relevant,
we didn't seem to have any coverage for this.

9 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

9 years agoMerge branch 'master' into merge-fastcgi
Xinchen Hui [Sat, 23 May 2015 02:29:45 +0000 (10:29 +0800)]
Merge branch 'master' into merge-fastcgi

9 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

9 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

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

9 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

9 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

9 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

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

9 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

9 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

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

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

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

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

9 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

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

9 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

9 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

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

9 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

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