]>
granicus.if.org Git - php/log
Michael Wallner [Wed, 18 Sep 2013 09:12:44 +0000 (11:12 +0200)]
Merge branch 'PHP-5.5'
* PHP-5.5:
fix a very rare case of use of uninitialized value combined with a memleak
Michael Wallner [Wed, 18 Sep 2013 09:12:11 +0000 (11:12 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
fix a very rare case of use of uninitialized value combined with a memleak
Michael Wallner [Wed, 18 Sep 2013 09:10:55 +0000 (11:10 +0200)]
fix a very rare case of use of uninitialized value combined with a
memleak
Michael Wallner [Wed, 18 Sep 2013 09:02:45 +0000 (11:02 +0200)]
fix test concurrency
Michael Wallner [Wed, 18 Sep 2013 08:53:11 +0000 (10:53 +0200)]
fix test concurrency
Michael Wallner [Wed, 18 Sep 2013 08:52:51 +0000 (10:52 +0200)]
fix test concurrency
Michael Wallner [Wed, 18 Sep 2013 08:52:35 +0000 (10:52 +0200)]
fix test concurrency
Michael Wallner [Wed, 18 Sep 2013 08:52:18 +0000 (10:52 +0200)]
fix test concurrency
Anatol Belski [Tue, 17 Sep 2013 14:02:08 +0000 (16:02 +0200)]
fix build - PRIu64 vs %I64u
Michael Wallner [Tue, 17 Sep 2013 11:59:49 +0000 (13:59 +0200)]
final bits
Michael Wallner [Tue, 17 Sep 2013 11:52:25 +0000 (13:52 +0200)]
Merge branch 'slim-postdata-merge'
* slim-postdata-merge:
remove unused code
tests
make reading php://input JIT if enable_post_data_reading=0
revert stream cast
fix ZTS build
slim post data
Conflicts:
ext/soap/soap.c
ext/standard/php_fopen_wrapper.c
main/SAPI.c
Michael Wallner [Tue, 17 Sep 2013 11:44:02 +0000 (13:44 +0200)]
we need to use the full stream wrapper for filters
Anatol Belski [Tue, 17 Sep 2013 11:05:44 +0000 (13:05 +0200)]
let the libsqlite3 symbols be exported in dll
Michael Wallner [Tue, 17 Sep 2013 09:10:38 +0000 (11:10 +0200)]
Merge remote-tracking branch 'refs/remotes/origin/master'
* refs/remotes/origin/master:
Exclude bison 3.0 by Mike
Michael Wallner [Tue, 17 Sep 2013 09:08:23 +0000 (11:08 +0200)]
NEWS/UPGRADING{,.INTERNALS} notes about temp POST stream
Xinchen Hui [Tue, 17 Sep 2013 08:54:27 +0000 (16:54 +0800)]
Exclude bison 3.0 by Mike
Michael Wallner [Tue, 17 Sep 2013 08:50:49 +0000 (10:50 +0200)]
Merge branch 'slim-postdata'
* slim-postdata:
slim post data
add NEWS entry; add simple test
more precise condition
make this work in vc11 too
Use int64_t and atoll() after discussion with johannes
ws
Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.
David Soria Parra [Tue, 17 Sep 2013 07:55:59 +0000 (09:55 +0200)]
Merge branch 'PHP-5.5'
* PHP-5.5:
NEWS for added reserved ip addresses according to RFC 6598
Add RFC 6598 IPs to reserved addresses
David Soria Parra [Tue, 17 Sep 2013 07:55:03 +0000 (09:55 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
NEWS for added reserved ip addresses according to RFC 6598
Add RFC 6598 IPs to reserved addresses
David Soria Parra [Tue, 17 Sep 2013 07:54:58 +0000 (09:54 +0200)]
NEWS for added reserved ip addresses according to RFC 6598
Sebastian Nohn [Sun, 15 Sep 2013 17:18:20 +0000 (19:18 +0200)]
Add RFC 6598 IPs to reserved addresses
(cherry picked from commit
b3f5b822e9f83d99d7cb5eed36ba8d307d1408ee )
Michael Wallner [Tue, 17 Sep 2013 06:04:07 +0000 (08:04 +0200)]
upload2G note
David Soria Parra [Mon, 16 Sep 2013 21:36:48 +0000 (23:36 +0200)]
Merge branch 'PHP-5.5'
* PHP-5.5:
NEWS for #60577
NEWS for bug #64441
Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
EmptyIterator now implements Countable; fixes bug 60577
News for bugfix #64157
Bug 64157 Changed error message to make sense
David Soria Parra [Mon, 16 Sep 2013 21:36:37 +0000 (23:36 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
NEWS for #60577
NEWS for bug #64441
Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
EmptyIterator now implements Countable; fixes bug 60577
News for bugfix #64157
Bug 64157 Changed error message to make sense
David Soria Parra [Mon, 16 Sep 2013 14:23:29 +0000 (16:23 +0200)]
NEWS for #60577
David Soria Parra [Mon, 16 Sep 2013 03:21:42 +0000 (05:21 +0200)]
NEWS for bug #64441
Michael Wallner [Mon, 16 Sep 2013 08:50:02 +0000 (10:50 +0200)]
use 65k of data to get a more explicit result
Michael Wallner [Mon, 16 Sep 2013 07:35:29 +0000 (09:35 +0200)]
Merge branch 'PHP-5.5'
* PHP-5.5:
double test timeout for travis
Michael Wallner [Mon, 16 Sep 2013 07:35:08 +0000 (09:35 +0200)]
double test timeout for travis
Michael Wallner [Mon, 16 Sep 2013 07:29:42 +0000 (09:29 +0200)]
this test is fragile on travis, let's see why
Xinchen Hui [Mon, 16 Sep 2013 07:03:09 +0000 (15:03 +0800)]
Merge branch 'PHP-5.5'
Xinchen Hui [Mon, 16 Sep 2013 06:58:18 +0000 (14:58 +0800)]
Add test for ISSUE #128
Xinchen Hui [Mon, 16 Sep 2013 06:43:13 +0000 (14:43 +0800)]
Merge branch 'PHP-5.5'
Xinchen Hui [Mon, 16 Sep 2013 06:43:01 +0000 (14:43 +0800)]
Fixed bug #65665 (Exception not properly caught when opcache enabled)
Alex Bobrov [Sun, 21 Apr 2013 07:32:02 +0000 (14:32 +0700)]
Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
(cherry picked from commit
c149d4ee4be81ecf005eafd43ede06e70aa4c985 )
Levi Morrison [Thu, 12 Sep 2013 22:03:39 +0000 (16:03 -0600)]
EmptyIterator now implements Countable; fixes bug 60577
(cherry picked from commit
6398844c86bee08abe4ee3f206ecd86ad0a498f9 )
David Soria Parra [Mon, 16 Sep 2013 01:48:34 +0000 (03:48 +0200)]
News for bugfix #64157
Boro Sitnikovski [Fri, 13 Sep 2013 00:20:19 +0000 (02:20 +0200)]
Bug 64157
Changed error message to make sense
Nikita Popov [Sat, 14 Sep 2013 12:40:48 +0000 (14:40 +0200)]
Save a TSRMLS_FETCH() for zval_ptr_dtor in executor
This gives me about 9% improvement on Zend/bench.php for a zts build.
Nikita Popov [Fri, 13 Sep 2013 23:37:09 +0000 (01:37 +0200)]
Fix intl build
Nikita Popov [Fri, 13 Sep 2013 19:40:32 +0000 (21:40 +0200)]
Remove some more unnecessary macros from phar
Nikita Popov [Fri, 13 Sep 2013 19:21:23 +0000 (21:21 +0200)]
Remove PHAR_(Z)STR* usages
Nikita Popov [Fri, 13 Sep 2013 18:49:09 +0000 (20:49 +0200)]
Remove version checks in phar
No need to keep around compatability code for PHP 5.0 and PHP 6.
Nikita Popov [Fri, 13 Sep 2013 18:01:23 +0000 (20:01 +0200)]
Fix two warnings
Nikita Popov [Fri, 13 Sep 2013 16:45:02 +0000 (18:45 +0200)]
Provide more macros for handling of interned strings
* str_erealloc behaves like erealloc for normal strings, but will
use emalloc+memcpy for interned strings.
* str_estrndup behaves like estrndup for normal strings, but will
not copy interned strings.
* str_strndup behaves like zend_strndup for normal strings, but
will not copy interned strings.
* str_efree_rel behaves like efree_rel for normal strings, but
will not free interned strings.
* str_hash will return INTERNED_HASH for interned strings and
compute it using zend_hash_func for normal strings.
Nikita Popov [Fri, 13 Sep 2013 13:08:01 +0000 (15:08 +0200)]
Make use of Z_*VAL and ZVAL_* in language scanner
Nikita Popov [Fri, 13 Sep 2013 13:07:47 +0000 (15:07 +0200)]
Make consistent use of Z_*VAL macros in compiler
Michael Wallner [Fri, 13 Sep 2013 10:59:45 +0000 (12:59 +0200)]
Merge branch 'PHP-5.5'
* PHP-5.5:
fix broken sha2 configure tests
Michael Wallner [Fri, 13 Sep 2013 10:54:42 +0000 (12:54 +0200)]
fix broken sha2 configure tests
see http://patch-tracker.debian.org/patch/series/view/php5/5.5.3+dfsg-1/fix_broken_sha2_test.patch
Michael Wallner [Fri, 13 Sep 2013 10:54:42 +0000 (12:54 +0200)]
fix broken sha2 configure tests
see http://patch-tracker.debian.org/patch/series/view/php5/5.5.3+dfsg-1/fix_broken_sha2_test.patch
Nikita Popov [Fri, 13 Sep 2013 10:18:39 +0000 (12:18 +0200)]
Small cleanup in class name resolution of compiler
* The fetch_type and check_ns_name parameters of
zend_resolve_class_name were unused and are now removed.
* ZEND_FETCH_CLASS_GLOBAL is no longer used (no code actually
checking for it).
* The checks for usage of "namespace" as class name were
unnecessary as that situation can't occur anyways.
Nikita Popov [Thu, 12 Sep 2013 21:30:40 +0000 (23:30 +0200)]
Merge branch 'PHP-5.5'
Levi Morrison [Thu, 12 Sep 2013 21:26:51 +0000 (15:26 -0600)]
Fixed minor bug in test.
Nikita Popov [Thu, 12 Sep 2013 16:25:49 +0000 (18:25 +0200)]
Merge branch 'PHP-5.5'
Nikita Popov [Thu, 12 Sep 2013 16:23:53 +0000 (18:23 +0200)]
Move NEWS entries to correct version
Accidentially inserted NEWS entries in previous release.
Nikita Popov [Thu, 12 Sep 2013 15:49:28 +0000 (17:49 +0200)]
Merge branch 'PHP-5.5'
Nikita Popov [Thu, 12 Sep 2013 15:46:14 +0000 (17:46 +0200)]
Fix bug #64782: SplFileObject constructor make $context optional
Popa Adrian Marius [Thu, 12 Sep 2013 14:47:05 +0000 (17:47 +0300)]
Prepare pdo_firebird for a pecl release also
Nikita Popov [Thu, 12 Sep 2013 13:23:11 +0000 (15:23 +0200)]
Merge branch 'PHP-5.5'
Boro Sitnikovski [Wed, 11 Sep 2013 23:50:52 +0000 (01:50 +0200)]
Fix bug #65502: DateTimeImmutable::createFromFormat returns DateTime
DateTimeImmutable::createFromFormat should call
date_create_immutable_from_format instead of date_create_from_format
Nikita Popov [Thu, 12 Sep 2013 13:15:17 +0000 (15:15 +0200)]
Merge branch 'PHP-5.5'
Boro Sitnikovski [Wed, 11 Sep 2013 23:15:54 +0000 (01:15 +0200)]
Fix bug #65548: Comparison for DateTimeImmutable doesn't work
Adam Harvey [Wed, 11 Sep 2013 21:37:07 +0000 (14:37 -0700)]
Sort the NEWS file alphabetically.
Insert OCD otter meme here.
Adam Harvey [Wed, 11 Sep 2013 21:11:29 +0000 (14:11 -0700)]
Request non-keep-alive connections by default in HTTP 1.1 requests.
As noted in FR #65634, at present we don't send a Connection request header
when the protocol version is set to 1.1, which means that RFC-compliant Web
servers should respond with keep-alive connections. Since there's no way of
reusing the HTTP connection at present, this simply means that PHP will appear
to hang until the remote server hits its connection timeout, which may be quite
some time.
This commit sends a "Connection: close" header by default when HTTP 1.1 (or
later) is requested by the user via the context options. It can be overridden
by specifying a Connection header in the context options. It isn't possible to
disable sending of the Connection header, but given "Connection: keep-alive" is
the same as the default HTTP 1.1 behaviour, I don't see this as a significant
issue — users who want to opt in for that still can.
As a note, although I've removed an efree(protocol_version), this doesn't
result in a memory leak: protocol_version is freed in the out: block at the end
of the function anyway, and there are no returns between the removed efree()
and the later call. Yes, I ran the tests with valgrind to check that. ☺
Implements FR #65634 (HTTP wrapper is very slow with protocol_version 1.1).
Adam Harvey [Tue, 10 Sep 2013 18:42:42 +0000 (11:42 -0700)]
Allow CURLOPT_FOLLOWLOCATION to be used with open_basedir.
Newer versions of libcurl prevent file:// location response headers by default,
which means that the open_basedir check is unnecessary — the fact
CURLOPT_REDIR_PROTOCOLS can't set CURLPROTO_FILE with open_basedir enabled
means that there's no possibility of breaching the open_basedir restriction,
and this allows HTTP redirects to be followed automatically.
Implements FR #65646 (re-enable CURLOPT_FOLLOWLOCATION with open_basedir or
safe_mode).
Michael Wallner [Tue, 10 Sep 2013 11:16:24 +0000 (13:16 +0200)]
remove unused code
Michael Wallner [Tue, 10 Sep 2013 11:14:02 +0000 (13:14 +0200)]
tests
Michael Wallner [Tue, 10 Sep 2013 11:13:33 +0000 (13:13 +0200)]
make reading php://input JIT if enable_post_data_reading=0
Michael Wallner [Tue, 10 Sep 2013 11:13:09 +0000 (13:13 +0200)]
revert stream cast
Adam Harvey [Mon, 9 Sep 2013 23:59:26 +0000 (16:59 -0700)]
Merge branch 'PHP-5.5'
* PHP-5.5:
Tinker with the wording of the short_open_tag description.
Conflicts:
php.ini-development
php.ini-production
Adam Harvey [Mon, 9 Sep 2013 23:58:35 +0000 (16:58 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Tinker with the wording of the short_open_tag description.
Adam Harvey [Mon, 9 Sep 2013 23:56:57 +0000 (16:56 -0700)]
Tinker with the wording of the short_open_tag description.
I'm still not thrilled with this, but it's a bit better and addresses the
issues noted in bug #65644. Plus, it now mentions the decoupling of <?=.
Adam Harvey [Mon, 9 Sep 2013 23:46:45 +0000 (16:46 -0700)]
Merge branch 'PHP-5.5'
* PHP-5.5:
Fix NEWS: these commits were after 5.5.4 was branched and will be in 5.5.5.
Adam Harvey [Mon, 9 Sep 2013 23:46:14 +0000 (16:46 -0700)]
Fix NEWS: these commits were after 5.5.4 was branched and will be in 5.5.5.
Adam Harvey [Mon, 9 Sep 2013 23:33:43 +0000 (16:33 -0700)]
Merge branch 'PHP-5.5'
* PHP-5.5:
Handle CLI server request headers case insensitively.
5.4.21 now
Adam Harvey [Mon, 9 Sep 2013 23:32:16 +0000 (16:32 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Handle CLI server request headers case insensitively.
5.4.21 now
Conflicts:
configure.in
main/php_version.h
Adam Harvey [Mon, 9 Sep 2013 23:24:49 +0000 (16:24 -0700)]
Handle CLI server request headers case insensitively.
Fixes bug #65633 (built-in server treat some http headers as case-sensitive).
unknown [Mon, 9 Sep 2013 09:56:58 +0000 (11:56 +0200)]
Merge branch 'PHP-5.5'
* PHP-5.5:
ensure that the defined interpolation method is used by the generic scaling functions
unknown [Mon, 9 Sep 2013 09:56:05 +0000 (11:56 +0200)]
ensure that the defined interpolation method is used by the generic scaling functions
Dmitry Stogov [Mon, 9 Sep 2013 06:11:43 +0000 (10:11 +0400)]
Merge branch 'PHP-5.5'
* PHP-5.5:
Fixed issue #128 (opcache_invalidate segmentation fault)
Dmitry Stogov [Mon, 9 Sep 2013 06:11:20 +0000 (10:11 +0400)]
Dmitry Stogov [Mon, 9 Sep 2013 06:05:59 +0000 (10:05 +0400)]
Fixed issue #128 (opcache_invalidate segmentation fault)
Christopher Jones [Fri, 6 Sep 2013 17:12:16 +0000 (10:12 -0700)]
Remove obsolete flag
Christopher Jones [Fri, 6 Sep 2013 15:54:19 +0000 (08:54 -0700)]
Update DTrace probes
Christopher Jones [Fri, 6 Sep 2013 15:14:18 +0000 (08:14 -0700)]
Add test for oci_set_* error changes
Christopher Jones [Fri, 6 Sep 2013 01:18:29 +0000 (18:18 -0700)]
Make oci_set_*($connection,...) errors retrievable via oci_error($connection).
Improve some error handling to produce error text on some rare edge cases.
Disambiguate the Oracle library function call return status values from ORA error numbers.
Review and unify error data types.
Christopher Jones [Wed, 4 Sep 2013 12:40:24 +0000 (05:40 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
* 'PHP-5.5' of https://git.php.net/repository/php-src:
5.5.5 now
Julien Pauli [Wed, 4 Sep 2013 09:22:23 +0000 (11:22 +0200)]
5.5.5 now
Christopher Jones [Tue, 3 Sep 2013 22:17:36 +0000 (15:17 -0700)]
Cast time_t since some "dtrace -G" invocations fail on time_t arguments
Stanislav Malyshev [Tue, 3 Sep 2013 20:38:15 +0000 (13:38 -0700)]
5.4.21 now
Christopher Jones [Tue, 3 Sep 2013 12:40:49 +0000 (05:40 -0700)]
Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
Update NEWS/UPGRADING with info about incompat ctx
Gustavo André dos Santos Lopes [Mon, 2 Sep 2013 21:19:53 +0000 (23:19 +0200)]
Update NEWS/UPGRADING with info about incompat ctx
Christopher Jones [Mon, 2 Sep 2013 12:40:51 +0000 (05:40 -0700)]
Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src:
Typo....
Add a XFAIL test for #64896
Implement phase 1 of rfc/incompat_ctx
Make use of direct returns in some places
Always pass return_value_ptr to internal functions
Christopher Jones [Mon, 2 Sep 2013 12:40:40 +0000 (05:40 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
* 'PHP-5.5' of https://git.php.net/repository/php-src:
Typo....
Add a XFAIL test for #64896
Xinchen Hui [Mon, 2 Sep 2013 08:16:15 +0000 (16:16 +0800)]
Merge branch 'PHP-5.5'
Xinchen Hui [Mon, 2 Sep 2013 08:16:07 +0000 (16:16 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Mon, 2 Sep 2013 08:15:52 +0000 (16:15 +0800)]
Typo....
Xinchen Hui [Mon, 2 Sep 2013 08:03:10 +0000 (16:03 +0800)]
Merge branch 'PHP-5.5'
Xinchen Hui [Mon, 2 Sep 2013 08:02:59 +0000 (16:02 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Mon, 2 Sep 2013 08:02:24 +0000 (16:02 +0800)]
Add a XFAIL test for #64896