]> granicus.if.org Git - php/log
php
10 years agoMerge branch 'PHP-5.6'
Derick Rethans [Mon, 1 Sep 2014 15:40:57 +0000 (16:40 +0100)]
Merge branch 'PHP-5.6'

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Derick Rethans [Mon, 1 Sep 2014 15:40:54 +0000 (16:40 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Derick Rethans [Mon, 1 Sep 2014 15:40:50 +0000 (16:40 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years ago- Updated to version 2014.7 (2014g)
Derick Rethans [Mon, 1 Sep 2014 15:40:49 +0000 (16:40 +0100)]
- Updated to version 2014.7 (2014g)

10 years agoFixed 'long' -> 'zend_long' for call to 'is_numeric_string_ex()'
Tjerk Meesters [Mon, 1 Sep 2014 14:49:12 +0000 (22:49 +0800)]
Fixed 'long' -> 'zend_long' for call to 'is_numeric_string_ex()'

10 years agoUpdated UPGRADING for #38409
Tjerk Meesters [Mon, 1 Sep 2014 14:30:09 +0000 (22:30 +0800)]
Updated UPGRADING for #38409

10 years agoUpdated NEWS for #38409
Tjerk Meesters [Mon, 1 Sep 2014 14:28:45 +0000 (22:28 +0800)]
Updated NEWS for #38409

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Mon, 1 Sep 2014 14:43:17 +0000 (22:43 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated UPGRADING for #38409
  Updated NEWS for #38409
  Added test case
  Making ini parser typed - Added ZEND_INI_SCANNER_TYPED mode for parse_ini_string() and parse_ini_file() - Added NULL_NULL token to separate it from BOOL_FALSE and BOOL_TRUE - Added zend_ini_copy_typed_value() function for zval initialisation - Updated RETURN_TOKEN() to observe scanner_mode

Conflicts:
Zend/zend_ini_parser.y
Zend/zend_ini_scanner.c

10 years agoUpdated UPGRADING for #38409
Tjerk Meesters [Mon, 1 Sep 2014 14:15:53 +0000 (22:15 +0800)]
Updated UPGRADING for #38409

10 years agoUpdated NEWS for #38409
Tjerk Meesters [Mon, 1 Sep 2014 14:13:38 +0000 (22:13 +0800)]
Updated NEWS for #38409

10 years agoAdded test case
Tjerk Meesters [Sat, 30 Aug 2014 10:18:42 +0000 (18:18 +0800)]
Added test case

10 years agoMaking ini parser typed
Tjerk Meesters [Mon, 1 Sep 2014 13:22:28 +0000 (21:22 +0800)]
Making ini parser typed
- Added ZEND_INI_SCANNER_TYPED mode for parse_ini_string() and parse_ini_file()
- Added NULL_NULL token to separate it from BOOL_FALSE and BOOL_TRUE
- Added zend_ini_copy_typed_value() function for zval initialisation
- Updated RETURN_TOKEN() to observe scanner_mode

10 years agoswitch to built-in atanh() on vs2013 and up
Anatol Belski [Mon, 1 Sep 2014 13:45:55 +0000 (15:45 +0200)]
switch to built-in atanh() on vs2013 and up

10 years agofix acosh for vs2012 and earlier
Anatol Belski [Mon, 1 Sep 2014 13:33:40 +0000 (15:33 +0200)]
fix acosh for vs2012 and earlier

10 years agofix asinh() on win64 for big negative values
Anatol Belski [Mon, 1 Sep 2014 11:51:58 +0000 (13:51 +0200)]
fix asinh() on win64 for big negative values

10 years agofix acosh and asinh on win64 with vs2013+
Anatol Belski [Mon, 1 Sep 2014 12:21:53 +0000 (14:21 +0200)]
fix acosh and asinh on win64 with vs2013+

10 years agofix C89 compat
Anatol Belski [Sun, 31 Aug 2014 19:50:00 +0000 (21:50 +0200)]
fix C89 compat

10 years agoremove a few gcc format attributes from some printf-like functions
Nuno Lopes [Sun, 31 Aug 2014 15:45:11 +0000 (11:45 -0400)]
remove a few gcc format attributes from some printf-like functions
Since now PHP's printf-like functions have many custom specifiers, the amount of false-positives wasnt worth it

10 years agoadd a few more patterns to .gitignore
Nuno Lopes [Sun, 31 Aug 2014 14:19:14 +0000 (15:19 +0100)]
add a few more patterns to .gitignore

10 years agofix expected warning in test
Anatol Belski [Fri, 29 Aug 2014 22:33:33 +0000 (00:33 +0200)]
fix expected warning in test

10 years agofix dir separators in test
Anatol Belski [Fri, 29 Aug 2014 22:28:10 +0000 (00:28 +0200)]
fix dir separators in test

10 years agofix iptcembed()
Anatol Belski [Fri, 29 Aug 2014 22:24:41 +0000 (00:24 +0200)]
fix iptcembed()

10 years agoMerge branch 'PHP-5.6'
Nikita Popov [Sat, 30 Aug 2014 18:45:10 +0000 (20:45 +0200)]
Merge branch 'PHP-5.6'

Conflicts:
Zend/zend_compile.c

10 years agoFix bug #67938: Segfault when extending interface method with variadic
Nikita Popov [Sat, 30 Aug 2014 18:41:36 +0000 (20:41 +0200)]
Fix bug #67938: Segfault when extending interface method with variadic

We only want to check extra optional args if the proto function is
variadic, not when we're adding extra variadic args.

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Sat, 30 Aug 2014 02:06:25 +0000 (04:06 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated NEWS

10 years agoupdated NEWS
Anatol Belski [Sat, 30 Aug 2014 02:06:00 +0000 (04:06 +0200)]
updated NEWS

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Sat, 30 Aug 2014 02:05:42 +0000 (04:05 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed bug #67731 finfo::file() returns invalid mime type for binary files

10 years agoFixed bug #67731 finfo::file() returns invalid mime type for binary files
Anatol Belski [Sat, 30 Aug 2014 02:04:42 +0000 (04:04 +0200)]
Fixed bug #67731 finfo::file() returns invalid mime type for binary files

10 years agoUse global symbol table for completion after $ in readline.
Johannes Schlüter [Fri, 29 Aug 2014 22:02:31 +0000 (00:02 +0200)]
Use global symbol table for completion after $ in readline.

10 years agoDon't depend on exact parse error messages in assert tests
Nikita Popov [Fri, 29 Aug 2014 20:06:48 +0000 (22:06 +0200)]
Don't depend on exact parse error messages in assert tests

10 years agoCombine foreach copy / switch cond stacks
Nikita Popov [Fri, 29 Aug 2014 19:47:10 +0000 (21:47 +0200)]
Combine foreach copy / switch cond stacks

Now one common stack to handle both, which stores znodes instead of
full oplines (foreach copy stack) or switch entries (switch cond
stack).

Also removed EG(start_op) while at it.

10 years agoDon't distinguish between ast/list in parser
Nikita Popov [Fri, 29 Aug 2014 18:52:26 +0000 (20:52 +0200)]
Don't distinguish between ast/list in parser

This removes the need to use $<ast>{n} or $<list>$ casts in the
reduction actions.

Keeping the distinction in the parser doesn't really give us any
benefit and only makes changing the grammar harder.

10 years agoIntroduce optional_expr
Nikita Popov [Fri, 29 Aug 2014 16:51:58 +0000 (18:51 +0200)]
Introduce optional_expr

10 years agoRemove parenthesis_expr
Nikita Popov [Fri, 29 Aug 2014 16:46:46 +0000 (18:46 +0200)]
Remove parenthesis_expr

This was necessary previously to handle yields, now it only clutters
up the grammar.

10 years agoSimplify `argument` production
Nikita Popov [Fri, 29 Aug 2014 16:42:05 +0000 (18:42 +0200)]
Simplify `argument` production

10 years agoMerge branch 'PHP-5.6'
Christopher Jones [Fri, 29 Aug 2014 15:48:56 +0000 (08:48 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Remove 550+ compile warnings on OS X

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Christopher Jones [Fri, 29 Aug 2014 15:48:43 +0000 (08:48 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Remove 550+ compile warnings on OS X

10 years agoRemove 550+ compile warnings on OS X
Christopher Jones [Fri, 29 Aug 2014 15:48:10 +0000 (08:48 -0700)]
Remove 550+ compile warnings on OS X

The warnings had the signature:
php-src/ext/mysqlnd/mysqlnd_debug.h:127:25: note: expanded from macro 'DBG_ENTER_EX2'
                          if (dbg_skip_trace); /* shut compiler's mouth */\
                                             ^
php-src/ext/mysqlnd/mysqlnd.c:114:2: note: put the semicolon on a separate line to silence this warning

10 years agoAllow PHP 7 to install in Apache 2 on OS X
Christopher Jones [Fri, 29 Aug 2014 15:47:10 +0000 (08:47 -0700)]
Allow PHP 7 to install in Apache 2 on OS X

This fixes the fundamental part of #67910.  The complete change from
php5 -> php7 in sapi/* still needs to be done.

10 years agorestore the old behavior for the assignment to string offset
Anatol Belski [Fri, 29 Aug 2014 15:28:53 +0000 (17:28 +0200)]
restore the old behavior for the assignment to string offset

10 years agorevert the lstat part
Anatol Belski [Fri, 29 Aug 2014 15:21:02 +0000 (17:21 +0200)]
revert the lstat part

10 years agofix stat vs zend_stat
Anatol Belski [Fri, 29 Aug 2014 11:43:40 +0000 (13:43 +0200)]
fix stat vs zend_stat

10 years agofix implicit st_rdev element handling when negative value was passed
Anatol Belski [Fri, 29 Aug 2014 11:30:53 +0000 (13:30 +0200)]
fix implicit st_rdev element handling when negative value was passed

10 years agodata type fixes
Anatol Belski [Fri, 29 Aug 2014 10:53:37 +0000 (12:53 +0200)]
data type fixes

10 years agoavoid usage of 'type' before the null pointer check
Anatol Belski [Fri, 29 Aug 2014 09:21:07 +0000 (11:21 +0200)]
avoid usage of 'type' before the null pointer check

10 years agoexclude log2 usage which requires C99 support
Anatol Belski [Fri, 29 Aug 2014 08:54:28 +0000 (10:54 +0200)]
exclude log2 usage which requires C99 support

10 years agoMerge branch 'PHP-5.6'
Lior Kaplan [Fri, 29 Aug 2014 08:44:45 +0000 (11:44 +0300)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add missing CVE IDs for 5.6.0
  Align entiries format to "Fixed bug #..."
  Use #66356 instead of #66714, as the latter is only a regression fix from the former.
  Add an entry for bug#66060 (fixed in 5.5.8)

10 years agoAdd missing CVE IDs for 5.6.0
Lior Kaplan [Fri, 29 Aug 2014 08:31:07 +0000 (11:31 +0300)]
Add missing CVE IDs for 5.6.0

10 years agoAlign entiries format to "Fixed bug #..."
Lior Kaplan [Fri, 29 Aug 2014 08:28:22 +0000 (11:28 +0300)]
Align entiries format to "Fixed bug #..."

10 years agoUse #66356 instead of #66714, as the latter is only a regression fix from the former.
Lior Kaplan [Fri, 29 Aug 2014 08:26:27 +0000 (11:26 +0300)]
Use #66356 instead of #66714, as the latter is only a regression fix from the former.

10 years agoAdd an entry for bug#66060 (fixed in 5.5.8)
Lior Kaplan [Fri, 29 Aug 2014 06:55:07 +0000 (09:55 +0300)]
Add an entry for bug#66060 (fixed in 5.5.8)

10 years agofixed path in test
Anatol Belski [Fri, 29 Aug 2014 06:40:47 +0000 (08:40 +0200)]
fixed path in test

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Fri, 29 Aug 2014 06:13:24 +0000 (23:13 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix NEWS for fcgi fix merge
  restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Fri, 29 Aug 2014 06:12:41 +0000 (23:12 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix NEWS for fcgi fix merge
  restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Fri, 29 Aug 2014 06:11:08 +0000 (23:11 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix NEWS for fcgi fix merge
  restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606

10 years agofix NEWS for fcgi fix merge
Stanislav Malyshev [Fri, 29 Aug 2014 06:10:32 +0000 (23:10 -0700)]
fix NEWS for fcgi fix merge

10 years agorestore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606
David Zuelke [Sat, 9 Aug 2014 06:26:33 +0000 (08:26 +0200)]
restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606

10 years agouse zend_string_equals_ci
Xinchen Hui [Fri, 29 Aug 2014 05:19:14 +0000 (13:19 +0800)]
use zend_string_equals_ci

10 years agoKeep folder mark style in this file
Xinchen Hui [Fri, 29 Aug 2014 05:05:58 +0000 (13:05 +0800)]
Keep folder mark style in this file

10 years agoresource type is int
Xinchen Hui [Fri, 29 Aug 2014 03:28:21 +0000 (11:28 +0800)]
resource type is int

10 years agoFix comparison in case of constant NULL as default value
Johannes Schlüter [Thu, 28 Aug 2014 23:34:46 +0000 (01:34 +0200)]
Fix comparison in case of constant NULL as default value

Fixes "Fatal error: Default value for parameters with a class type hint
can only be NULL in ext/phar/phar.php on line 1120" whie creating phar.phar

10 years agoFix bug #67922
Nikita Popov [Thu, 28 Aug 2014 22:18:38 +0000 (00:18 +0200)]
Fix bug #67922

10 years agoSpecial-case aliases, add warning comments to implementations
Andrea Faulds [Thu, 28 Aug 2014 19:53:32 +0000 (20:53 +0100)]
Special-case aliases, add warning comments to implementations

10 years agoskip this if we can't check the uid
Anatol Belski [Thu, 28 Aug 2014 20:22:38 +0000 (22:22 +0200)]
skip this if we can't check the uid

10 years agofixed trim() and strtok() to work with big strings
Anatol Belski [Thu, 28 Aug 2014 19:59:00 +0000 (21:59 +0200)]
fixed trim() and strtok() to work with big strings

10 years agofixed strip_tags() and hebrev() to work with big strings
Anatol Belski [Thu, 28 Aug 2014 17:35:37 +0000 (19:35 +0200)]
fixed strip_tags() and hebrev() to work with big strings

10 years agomake array/object APIs accept large strings as values of elements/props
Anatol Belski [Thu, 28 Aug 2014 17:17:47 +0000 (19:17 +0200)]
make array/object APIs accept large strings as values of elements/props

10 years agoreplace llabs with imaxabs
Anatol Belski [Thu, 28 Aug 2014 16:54:54 +0000 (18:54 +0200)]
replace llabs with imaxabs

both are gcc built-in but imaxabs doesn't require C99 compat (see man)

10 years agoDuplicate array only if neccessary
Dmitry Stogov [Thu, 28 Aug 2014 16:51:22 +0000 (20:51 +0400)]
Duplicate array only if neccessary

10 years agoMerge branch 'master' of git.php.net:php-src
Anatol Belski [Thu, 28 Aug 2014 15:39:03 +0000 (17:39 +0200)]
Merge branch 'master' of git.php.net:php-src

# By Popa Adrian Marius
# Via Popa Adrian Marius
* 'master' of git.php.net:php-src:
  rename misleading define

10 years agofix phar copy-on-write
Anatol Belski [Thu, 28 Aug 2014 15:35:54 +0000 (17:35 +0200)]
fix phar copy-on-write

10 years agorename misleading define
Popa Adrian Marius [Thu, 28 Aug 2014 15:20:28 +0000 (18:20 +0300)]
rename misleading define

10 years agofix incompatible pointer
Anatol Belski [Thu, 28 Aug 2014 15:02:53 +0000 (17:02 +0200)]
fix incompatible pointer

10 years agofix format
Anatol Belski [Thu, 28 Aug 2014 13:41:03 +0000 (15:41 +0200)]
fix format

10 years agoremove duplicate condition already present a line upper
Anatol Belski [Thu, 28 Aug 2014 13:37:30 +0000 (15:37 +0200)]
remove duplicate condition already present a line upper

10 years agosolve conflicting type size_t vs int
Popa Adrian Marius [Thu, 28 Aug 2014 14:10:42 +0000 (17:10 +0300)]
solve conflicting type size_t vs int

10 years agoUse better hash functions
Dmitry Stogov [Thu, 28 Aug 2014 13:47:40 +0000 (17:47 +0400)]
Use better hash functions

10 years agoRefactored optimizer (compile different opimizer passes separately, instead of includ...
Dmitry Stogov [Thu, 28 Aug 2014 13:23:12 +0000 (17:23 +0400)]
Refactored optimizer (compile different opimizer passes separately, instead of including *.c file)

10 years agouse stddef.h definitions for uintptr_t and intptr_t
Anatol Belski [Thu, 28 Aug 2014 11:07:47 +0000 (13:07 +0200)]
use stddef.h definitions for uintptr_t and intptr_t

10 years agobetter alignment, won 8 byte on 64 bit with default alignment
Anatol Belski [Thu, 28 Aug 2014 10:12:24 +0000 (12:12 +0200)]
better alignment, won 8 byte on 64 bit with default alignment

10 years agofix number format
Anatol Belski [Thu, 28 Aug 2014 10:07:39 +0000 (12:07 +0200)]
fix number format

10 years agofix dir separator
Anatol Belski [Thu, 28 Aug 2014 09:56:27 +0000 (11:56 +0200)]
fix dir separator

10 years agoremove the expression parts, which are always true
Anatol Belski [Thu, 28 Aug 2014 09:37:34 +0000 (11:37 +0200)]
remove the expression parts, which are always true

10 years agofix some types and unnecessary casts
Anatol Belski [Thu, 28 Aug 2014 09:32:24 +0000 (11:32 +0200)]
fix some types and unnecessary casts

10 years agofix type
Anatol Belski [Thu, 28 Aug 2014 08:54:27 +0000 (10:54 +0200)]
fix type

10 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Thu, 28 Aug 2014 09:37:00 +0000 (17:37 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src

10 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Thu, 28 Aug 2014 09:13:52 +0000 (13:13 +0400)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  fix pg_last_notice()
  Changed 'unsigned size_t' to 'size_t'
  Fixed segfaults after change size_t of "s"
  Fixed zend extensions multipy-times loadable
  Revert "Fixed incompatible pointer type"
  fix hash_pbkdf2()

10 years agoFixed typo
Xinchen Hui [Thu, 28 Aug 2014 09:05:21 +0000 (17:05 +0800)]
Fixed typo

10 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Thu, 28 Aug 2014 09:04:04 +0000 (17:04 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src

10 years agoFixed zbacktrace
Xinchen Hui [Thu, 28 Aug 2014 09:03:27 +0000 (17:03 +0800)]
Fixed zbacktrace

10 years agofix pg_last_notice()
Anatol Belski [Thu, 28 Aug 2014 08:28:13 +0000 (10:28 +0200)]
fix pg_last_notice()

10 years agoChanged 'unsigned size_t' to 'size_t'
Tjerk Meesters [Thu, 28 Aug 2014 08:39:35 +0000 (16:39 +0800)]
Changed 'unsigned size_t' to 'size_t'

10 years agoFixed segfaults after change size_t of "s"
Xinchen Hui [Thu, 28 Aug 2014 07:43:14 +0000 (15:43 +0800)]
Fixed segfaults after change size_t of "s"

10 years agoFixed zend extensions multipy-times loadable
Xinchen Hui [Thu, 28 Aug 2014 07:13:57 +0000 (15:13 +0800)]
Fixed zend extensions multipy-times loadable

10 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Thu, 28 Aug 2014 06:56:53 +0000 (14:56 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src

10 years agoRevert "Fixed incompatible pointer type"
Xinchen Hui [Thu, 28 Aug 2014 06:56:25 +0000 (14:56 +0800)]
Revert "Fixed incompatible pointer type"

This reverts commit 007406c775b527a334a0964a624810afeb599ed5.

10 years agoLOAD_REGS() is not used anymore
Dmitry Stogov [Thu, 28 Aug 2014 06:55:16 +0000 (10:55 +0400)]
LOAD_REGS() is not used anymore

10 years agofix hash_pbkdf2()
Anatol Belski [Thu, 28 Aug 2014 06:55:05 +0000 (08:55 +0200)]
fix hash_pbkdf2()

10 years agoFixed type
Dmitry Stogov [Thu, 28 Aug 2014 06:31:13 +0000 (10:31 +0400)]
Fixed type

10 years agoclosesocket is defined in php_network.h
Xinchen Hui [Thu, 28 Aug 2014 05:20:43 +0000 (13:20 +0800)]
closesocket is defined in php_network.h