]> granicus.if.org Git - php/log
php
10 years agofix type
Anatol Belski [Tue, 2 Sep 2014 13:54:16 +0000 (15:54 +0200)]
fix type

10 years agompz functions don't work on zend_ulongs...
Nikita Popov [Tue, 2 Sep 2014 12:37:15 +0000 (14:37 +0200)]
mpz functions don't work on zend_ulongs...

If we really want to support zend_ulong > ulong in GMP the right
approach would be to only handle < LONG_MAX in ui shortcut functions
and use mpz_import in convert_to_gmp for number > LONG_MAX.

10 years agoMerge branch 'PHP-5.6'
Nikita Popov [Tue, 2 Sep 2014 12:28:07 +0000 (14:28 +0200)]
Merge branch 'PHP-5.6'

Conflicts:
ext/gmp/gmp.c

10 years agoImplement gmp_import() and gmp_export()
Leigh [Wed, 27 Aug 2014 20:45:05 +0000 (21:45 +0100)]
Implement gmp_import() and gmp_export()

10 years agoFixed memory leaks
Dmitry Stogov [Tue, 2 Sep 2014 10:11:22 +0000 (14:11 +0400)]
Fixed memory leaks

10 years agofixed reference counting
Dmitry Stogov [Tue, 2 Sep 2014 07:24:52 +0000 (11:24 +0400)]
fixed reference counting

10 years agoAvoid string duplication
Dmitry Stogov [Tue, 2 Sep 2014 05:52:23 +0000 (09:52 +0400)]
Avoid string duplication

10 years agoFixed destruction on error
Dmitry Stogov [Tue, 2 Sep 2014 05:46:27 +0000 (09:46 +0400)]
Fixed destruction on error

10 years agoRevert "Updated UPGRADING"
Tjerk Meesters [Mon, 1 Sep 2014 23:58:51 +0000 (07:58 +0800)]
Revert "Updated UPGRADING"

This reverts commit 300c0cf1c463efd48ebe9adf83286a5c949e0c1f.

10 years agoUpdated UPGRADING
Tjerk Meesters [Mon, 1 Sep 2014 22:48:31 +0000 (06:48 +0800)]
Updated UPGRADING

10 years agoUpdated NEWS
Tjerk Meesters [Mon, 1 Sep 2014 22:47:49 +0000 (06:47 +0800)]
Updated NEWS

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

* PHP-5.6:
  Make DOMNode::textContent writeable
  Updated UPGRADING
  Updated NEWS

Conflicts:
ext/dom/attr.c
ext/dom/characterdata.c
ext/dom/document.c
ext/dom/node.c

10 years agoReintroduce fix from pull #770 in a PHP 7 way
Stanislav Malyshev [Mon, 1 Sep 2014 22:08:02 +0000 (15:08 -0700)]
Reintroduce fix from pull #770 in a PHP 7 way

10 years agoFix ZTS build
Stanislav Malyshev [Mon, 1 Sep 2014 22:17:05 +0000 (15:17 -0700)]
Fix ZTS build

10 years agoMake DOMNode::textContent writeable
Tjerk Meesters [Mon, 1 Sep 2014 22:34:18 +0000 (06:34 +0800)]
Make DOMNode::textContent writeable

10 years agoUpdated UPGRADING
Tjerk Meesters [Mon, 1 Sep 2014 22:07:34 +0000 (06:07 +0800)]
Updated UPGRADING

10 years agoUpdated NEWS
Tjerk Meesters [Mon, 1 Sep 2014 22:07:23 +0000 (06:07 +0800)]
Updated NEWS

10 years agofix apache handler build
Stanislav Malyshev [Mon, 1 Sep 2014 21:49:52 +0000 (14:49 -0700)]
fix apache handler build

10 years agoRevert "Merge branch 'PHP-5.6'"
Stanislav Malyshev [Mon, 1 Sep 2014 21:35:04 +0000 (14:35 -0700)]
Revert "Merge branch 'PHP-5.6'"

This reverts commit aaf5689f4d6e523fd78e0291dbbcd78f3ea988dc, reversing
changes made to 481bf25b6ad70fcdc9c10f02b49c86a0bd4a3d0d.

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 1 Sep 2014 19:22:41 +0000 (12:22 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  update NEWS
  Only destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)
  Fix typo from commit 32314f6b6
  Fix destruction order in zend_shutdown (bug #65463, #66036)

Conflicts:
Zend/zend_compile.h
Zend/zend_execute_API.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 1 Sep 2014 19:19:31 +0000 (12:19 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  update NEWS
  Only destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)
  Fix typo from commit 32314f6b6
  Fix destruction order in zend_shutdown (bug #65463, #66036)

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 1 Sep 2014 19:14:57 +0000 (12:14 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  update NEWS
  Only destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)
  Fix typo from commit 32314f6b6
  Fix destruction order in zend_shutdown (bug #65463, #66036)

10 years agoupdate NEWS
Stanislav Malyshev [Mon, 1 Sep 2014 19:13:43 +0000 (12:13 -0700)]
update NEWS

10 years agoMerge branch 'pull-request/770' into PHP-5.4
Stanislav Malyshev [Mon, 1 Sep 2014 19:11:42 +0000 (12:11 -0700)]
Merge branch 'pull-request/770' into PHP-5.4

* pull-request/770:
  Only destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)
  Fix typo from commit 32314f6b6
  Fix destruction order in zend_shutdown (bug #65463, #66036)

10 years agorestore the length var and fix the com_dotnet ini
Anatol Belski [Mon, 1 Sep 2014 18:34:33 +0000 (20:34 +0200)]
restore the length var and fix the com_dotnet ini

10 years agoRefactored INI subsystem to use zend_string* instead of char*
Dmitry Stogov [Mon, 1 Sep 2014 16:57:33 +0000 (20:57 +0400)]
Refactored INI subsystem to use zend_string* instead of char*

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