]>
granicus.if.org Git - php/log
Anatol Belski [Sat, 20 Jun 2015 07:33:37 +0000 (09:33 +0200)]
updated NEWS
Anatol Belski [Sat, 20 Jun 2015 07:20:26 +0000 (09:20 +0200)]
add test for bug #69838
Anatol Belski [Sat, 20 Jun 2015 07:18:00 +0000 (09:18 +0200)]
Fix bug #69838 OPCACHE Warning Internal error: wrong size calculation
This chunk is pre calculated with aligned size, so should it use it
at run time.
Xinchen Hui [Sat, 20 Jun 2015 02:48:18 +0000 (10:48 +0800)]
Micro optimization
Xinchen Hui [Sat, 20 Jun 2015 02:37:53 +0000 (10:37 +0800)]
Remove unused var
Xinchen Hui [Fri, 19 Jun 2015 15:13:23 +0000 (23:13 +0800)]
This test should be kept
Xinchen Hui [Fri, 19 Jun 2015 15:05:35 +0000 (23:05 +0800)]
Better way to fix (Fix bug #69871 (short-circuiting failure with smart_branch))
Xinchen Hui [Fri, 19 Jun 2015 15:03:23 +0000 (23:03 +0800)]
Revert "Fix bug #69871 (short-circuiting failure with smart_branch)"
This reverts commit
fae6bedea5e094a1f6ddbd1a4453eaea340d1855 .
Xinchen Hui [Fri, 19 Jun 2015 14:59:31 +0000 (22:59 +0800)]
Improve strtr (Fixed a bug which the lenth check doesn't work at all)
Kalle Sommer Nielsen [Fri, 19 Jun 2015 12:55:10 +0000 (14:55 +0200)]
Remove the references to imageps*() after the T1Lib removal (Noticed by Ferenc)
Xinchen Hui [Fri, 19 Jun 2015 12:33:14 +0000 (20:33 +0800)]
Fixed Bug #69883 (Compilation failed on PCRE)
Anatol Belski [Fri, 19 Jun 2015 12:23:32 +0000 (14:23 +0200)]
more precise way to destroy iterator object
which also fixes the iterator_to_array test
Anatol Belski [Fri, 19 Jun 2015 10:48:14 +0000 (12:48 +0200)]
updated NEWS
Anatol Belski [Fri, 19 Jun 2015 10:46:19 +0000 (12:46 +0200)]
added test for bug #69846
Anatol Belski [Fri, 19 Jun 2015 09:22:12 +0000 (11:22 +0200)]
better approach to fix bug #69846
don't destroy the current iterator object too early
Xinchen Hui [Fri, 19 Jun 2015 01:57:48 +0000 (09:57 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Fri, 19 Jun 2015 01:56:42 +0000 (09:56 +0800)]
Micro optimizations for pcre
Bob Weinand [Fri, 19 Jun 2015 01:42:52 +0000 (03:42 +0200)]
Fix memory leak (double copy) in SplPriorityQueue
Xinchen Hui [Fri, 19 Jun 2015 01:36:27 +0000 (09:36 +0800)]
Merge branch 'PHP-5.6'
Xinchen Hui [Fri, 19 Jun 2015 01:35:52 +0000 (09:35 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Fri, 19 Jun 2015 01:35:28 +0000 (09:35 +0800)]
Merge branch 'patch-3' of https://github.com/s0ph1e/php-src into PHP-5.5
Anatol Belski [Thu, 18 Jun 2015 20:05:07 +0000 (22:05 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
update NEWS
updated NEWS
fixes bug #69835: phpinfo() does not report many Windows SKUs
Anatol Belski [Thu, 18 Jun 2015 20:04:55 +0000 (22:04 +0200)]
update NEWS
Anatol Belski [Thu, 18 Jun 2015 20:04:03 +0000 (22:04 +0200)]
update NEWS
Anatol Belski [Thu, 18 Jun 2015 20:03:28 +0000 (22:03 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
updated NEWS
fixes bug #69835: phpinfo() does not report many Windows SKUs
Anatol Belski [Thu, 18 Jun 2015 20:02:37 +0000 (22:02 +0200)]
updated NEWS
Christian Wenz [Mon, 15 Jun 2015 13:12:40 +0000 (15:12 +0200)]
fixes bug #69835: phpinfo() does not report many Windows SKUs
Anatol Belski [Thu, 18 Jun 2015 18:17:04 +0000 (20:17 +0200)]
partial fix to bug #69846
Sophia Nepochataya [Thu, 18 Jun 2015 17:06:08 +0000 (20:06 +0300)]
Remove excess variable in mail.c (5.5 branch)
Kalle Sommer Nielsen [Thu, 18 Jun 2015 15:22:22 +0000 (17:22 +0200)]
Minor updates to EXTENSIONS for removed SAPIS etc that I remembered off my head, also add Côme as a maintainer for ldap as per request[1].
[1] http://news.php.net/php.internals/86747
Ferenc Kovacs [Tue, 16 Jun 2015 15:59:27 +0000 (17:59 +0200)]
add a freshly built pear/install-pear-nozlib.phar. created from the current stable branch of pear-core and using the trunk from PHP_Archive where the ereg_ calls are removed already
Lior Kaplan [Thu, 18 Jun 2015 14:36:46 +0000 (17:36 +0300)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug #69689 (Align PCRE_MINOR with current version)
Lior Kaplan [Thu, 18 Jun 2015 14:35:54 +0000 (17:35 +0300)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed bug #69689 (Align PCRE_MINOR with current version)
Lior Kaplan [Thu, 18 Jun 2015 14:34:53 +0000 (17:34 +0300)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed bug #69689 (Align PCRE_MINOR with current version)
Xinchen Hui [Thu, 18 Jun 2015 14:30:01 +0000 (22:30 +0800)]
Merge branch 'master' of git.php.net:php-src
Lior Kaplan [Thu, 18 Jun 2015 14:30:21 +0000 (17:30 +0300)]
Fixed bug #69689 (Align PCRE_MINOR with current version)
Xinchen Hui [Thu, 18 Jun 2015 14:28:29 +0000 (22:28 +0800)]
Fixed bug #69872 (uninitialised value in strtr with array)
Bob Weinand [Thu, 18 Jun 2015 13:58:46 +0000 (15:58 +0200)]
Fix bug #69871 (short-circuiting failure with smart_branch)
Lior Kaplan [Thu, 18 Jun 2015 13:57:04 +0000 (16:57 +0300)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Add CVE to bugs #69545, #69646 and #69667
Lior Kaplan [Thu, 18 Jun 2015 13:56:06 +0000 (16:56 +0300)]
Add CVE to bugs #69545, #69646 and #69667
Lior Kaplan [Thu, 18 Jun 2015 13:52:51 +0000 (16:52 +0300)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Add CVE to bugs #69545, #69646 and #69667
Lior Kaplan [Thu, 18 Jun 2015 13:51:20 +0000 (16:51 +0300)]
Add CVE to bugs #69545, #69646 and #69667
Lior Kaplan [Thu, 18 Jun 2015 12:50:11 +0000 (15:50 +0300)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Add CVE to bugs #69545, #69646 and #69667
Lior Kaplan [Thu, 18 Jun 2015 12:45:10 +0000 (15:45 +0300)]
Add CVE to bugs #69545, #69646 and #69667
Xinchen Hui [Thu, 18 Jun 2015 11:59:15 +0000 (19:59 +0800)]
Update NEWS
Xinchen Hui [Thu, 18 Jun 2015 11:56:08 +0000 (19:56 +0800)]
Fixed Conditional jump or move depends on uninitialised value(s)
reproduced by Bug #69868's test script
Xinchen Hui [Thu, 18 Jun 2015 11:53:26 +0000 (19:53 +0800)]
Fixed bug #69868 (Invalid read of size 1 in zend_compile_short_circuiting)
Xinchen Hui [Thu, 18 Jun 2015 05:22:39 +0000 (13:22 +0800)]
Fixed typo
Xinchen Hui [Thu, 18 Jun 2015 05:12:01 +0000 (13:12 +0800)]
Seems UPGRADING is not merged...
Aaron Piotrowski [Thu, 18 Jun 2015 00:49:02 +0000 (19:49 -0500)]
Add tests with invalid Error construction params
Aaron Piotrowski [Thu, 18 Jun 2015 00:48:17 +0000 (19:48 -0500)]
Fix bug when constructing an Error with invalid params
Anatol Belski [Wed, 17 Jun 2015 22:53:23 +0000 (00:53 +0200)]
cleanup unused var
Anatol Belski [Wed, 17 Jun 2015 22:33:16 +0000 (00:33 +0200)]
fix c/p test title
Anatol Belski [Wed, 17 Jun 2015 22:30:16 +0000 (00:30 +0200)]
preserve the orig class name when extending the ErrorException
Anatol Belski [Wed, 17 Jun 2015 22:21:38 +0000 (00:21 +0200)]
dont use function to fetch default exception ce
Anatol Belski [Wed, 17 Jun 2015 22:15:34 +0000 (00:15 +0200)]
more tests
Anatol Belski [Wed, 17 Jun 2015 22:14:57 +0000 (00:14 +0200)]
fix crash when invalid exception arguments passed
Anatol Belski [Wed, 17 Jun 2015 21:43:13 +0000 (23:43 +0200)]
fix unknown size of void error
Sara Golemon [Wed, 17 Jun 2015 20:34:42 +0000 (13:34 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix buffer growth in sockets/conversion.c
Implements extended error messages
Sara Golemon [Wed, 17 Jun 2015 20:34:33 +0000 (13:34 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix buffer growth in sockets/conversion.c
Sara Golemon [Wed, 17 Jun 2015 20:26:48 +0000 (13:26 -0700)]
Fix buffer growth in sockets/conversion.c
memset() the *end* of the new buffer, not the beginning
Copy the pointer to the buffer, not its initial contents
Fixes bug 69619
Christoph M. Becker [Wed, 17 Jun 2015 14:56:04 +0000 (16:56 +0200)]
Fix #61362: Exception::getTraceAsString and ::__toString scramble Unicode
The logic in smart_str_append_escaped() relies on unsigned values of c, so we
have to declare it as such.
Anatol Belski [Wed, 17 Jun 2015 19:55:03 +0000 (21:55 +0200)]
Merge branch 'pull-request/1284'
* pull-request/1284:
Rename interface macros
Fix typo in UPGRADING
Move definition of Throwable to zend_exceptions.h/c
Check for zend_ce_throwable instead
Fix some missed tests
Add Throwable tests
Fix previous exception type check
Updated UPGRADING with RFC link
Changed AssertionException to AssertionError
Update exception error messages
Throwable method signatures.
Update exception names in tests after formatting changes.
Merge exception formatting changes.
Make zend_get_exception_base static.
Fix a few missed tests.
Fix handler double copy.
Updated tests to reflect exception class changes.
Remodel exceptions based on Throwable interface
Aaron Piotrowski [Wed, 17 Jun 2015 18:46:27 +0000 (13:46 -0500)]
Rename interface macros
Renamed REGISTER_INTERFACE (formerly
REGISTER_ITERATOR_INTERFACE) to
REGISTER_MAGIC_INTERFACE and renamed
REGISTER_ITERATOR_IMPLEMENT to
REGISTER_MAGIC_IMPLEMENT. Both have now been
moved to zend_interfaces.h.
Aaron Piotrowski [Wed, 17 Jun 2015 18:28:27 +0000 (13:28 -0500)]
Fix typo in UPGRADING
Andreas Heigl [Tue, 5 May 2015 19:30:29 +0000 (21:30 +0200)]
Implements extended error messages
This commit introduces a new constant that can be used to retrieve more
detailed error messages.
This fixes #47222
The new constant LDAP_OPT_DIAGNOSTIC_MESSAGE is defined in PHP when the
underlying library provides (and understands) it. This is the case in
the current OpenLDAP-implementation.
Tanks to Johnny Willer who provided the solution at http://stackoverflow.com/questions/
28765077 /get-number-of-ad-errors-with-ldap-and-php-ldap-function-return-unprecise-error/
28816473 #
28816473
Xinchen Hui [Wed, 17 Jun 2015 13:17:04 +0000 (21:17 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Wed, 17 Jun 2015 13:14:44 +0000 (21:14 +0800)]
Merge branch 'gitignore' of https://github.com/flaupretre/php-src
Côme Bernigaud [Wed, 17 Jun 2015 12:48:19 +0000 (14:48 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Replaced calls to deprecated openldap functions
Fixed LDAP tests so that base can exists
Conflicts:
ext/ldap/ldap.c
Côme Bernigaud [Thu, 16 Apr 2015 15:11:38 +0000 (17:11 +0200)]
Replaced calls to deprecated openldap functions
ldap_unbind_s -> ldap_unbind_ext
389 -> LDAP_PORT
ldap_init -> ldap_initialize
ldap_bind_s -> ldap_sasl_bind_s
ldap_value_free -> ber_memvfree
Also added ldap_is_ldap_url check
Côme Bernigaud [Wed, 17 Jun 2015 11:47:32 +0000 (13:47 +0200)]
Fixed LDAP tests so that base can exists
Now you can set the base in the env var LDAP_TEST_BASE.
The base has to exists. (before tests were attempting to create/delete
the base itself)
Côme Bernigaud [Wed, 17 Jun 2015 11:47:32 +0000 (13:47 +0200)]
Fixed LDAP tests so that base can exists
Now you can set the base in the env var LDAP_TEST_BASE.
The base has to exists. (before tests were attempting to create/delete
the base itself)
Christoph M. Becker [Wed, 17 Jun 2015 11:40:19 +0000 (13:40 +0200)]
added regression test for bug #69840
Francois Laupretre [Wed, 17 Jun 2015 10:45:41 +0000 (12:45 +0200)]
Add missing path to .gitignore
Dmitry Stogov [Wed, 17 Jun 2015 09:50:16 +0000 (12:50 +0300)]
Use COW to prevent unnecessary duplication of dynamic propertyes of stdClass (and other classes without predefined properties).
Xinchen Hui [Wed, 17 Jun 2015 09:33:55 +0000 (17:33 +0800)]
Add a comment
Dmitry Stogov [Wed, 17 Jun 2015 09:07:43 +0000 (12:07 +0300)]
Improved class type hints checks, by caching resolved class entries in run-time cache.
Dmitry Stogov [Wed, 17 Jun 2015 09:06:33 +0000 (12:06 +0300)]
Use better hash functions (reuse key and avoid hash value recalculation)
Dmitry Stogov [Wed, 17 Jun 2015 09:05:58 +0000 (12:05 +0300)]
Improved variable name validation
Kalle Sommer Nielsen [Wed, 17 Jun 2015 07:39:45 +0000 (09:39 +0200)]
Fixed bug #69840 (iconv_substr() doesn't work with UTF-16BE)
Christoph M. Becker [Wed, 17 Jun 2015 00:27:05 +0000 (02:27 +0200)]
updated NEWS
Christoph M. Becker [Wed, 17 Jun 2015 00:25:46 +0000 (02:25 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
updated NEWS
Fixed bug #61221 - imagegammacorrect function loses alpha channel
Christoph M. Becker [Wed, 17 Jun 2015 00:20:14 +0000 (02:20 +0200)]
updated NEWS
Christoph M. Becker [Wed, 17 Jun 2015 00:18:53 +0000 (02:18 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
updated NEWS
Fixed bug #61221 - imagegammacorrect function loses alpha channel
Christoph M. Becker [Wed, 17 Jun 2015 00:17:40 +0000 (02:17 +0200)]
updated NEWS
Christoph M. Becker [Sat, 6 Jun 2015 12:57:38 +0000 (14:57 +0200)]
Fixed bug #61221 - imagegammacorrect function loses alpha channel
When applying imagegammacorrect() the alpha channel is now fully retained, instead of being completely lost.
Bob Weinand [Tue, 16 Jun 2015 21:37:23 +0000 (23:37 +0200)]
Fix issue with zend_execute_ex replaced by execute_ex upon icall
Bob Weinand [Tue, 16 Jun 2015 21:36:20 +0000 (23:36 +0200)]
Fix infinite loop when running phpdbg via -r(r)
Nikita Popov [Tue, 16 Jun 2015 17:55:33 +0000 (19:55 +0200)]
Support references in convert_to_*
conver_to_* functions now accept REFERENCE values, which will be
unwrapped before performing the usual conversion. This is consistent
with convert_scalar_to_number and matches the expected behavior in
a couple random use-sites I checked.
Also includes a couple fixes/cleanups elsewhere and two tests for
cases that previously didn't work (though the reference issue existed
all over the place).
Nikita Popov [Tue, 16 Jun 2015 16:09:59 +0000 (18:09 +0200)]
Move check for CT div by zero into common function
Nikita Popov [Tue, 16 Jun 2015 16:01:11 +0000 (18:01 +0200)]
Fix references handling in convert_scalar_to_number
Nikita Popov [Tue, 16 Jun 2015 15:51:18 +0000 (17:51 +0200)]
Drop now superflous check for VIA_TRAMPOLINE
This is not handled by USE_ARG_INFO.
Bob Weinand [Tue, 16 Jun 2015 14:53:17 +0000 (16:53 +0200)]
Fully fixing all the affected const expr cases (see bug #69832)
Dmitry Stogov [Tue, 16 Jun 2015 14:17:49 +0000 (17:17 +0300)]
Removed useless #ifdef
Kalle Sommer Nielsen [Tue, 16 Jun 2015 14:11:21 +0000 (16:11 +0200)]
Fixed bug #69849 (Broken output of apache_request_headers)
Kalle Sommer Nielsen [Tue, 16 Jun 2015 13:15:27 +0000 (15:15 +0200)]
Use zend_parse_parameters_none() here
Dmitry Stogov [Tue, 16 Jun 2015 11:11:16 +0000 (14:11 +0300)]
Make CALL VM with FP and IP in global registers not to return anything from opcode handlers.
Set OPLINE to NULL to terminate VM loop instead.
This saves 1 CPU instruction for each opcode handler.
Dmitry Stogov [Tue, 16 Jun 2015 10:29:17 +0000 (13:29 +0300)]
Fixed bug #69802 (Reflection on Closure::__invoke borks type hint class name) (onr more problem)
Dmitry Stogov [Tue, 16 Jun 2015 08:24:35 +0000 (11:24 +0300)]
Complete fix for problems related to bug #69802
Dmitry Stogov [Tue, 16 Jun 2015 07:53:53 +0000 (10:53 +0300)]
Fixed bug #69845 (ArrayObject with ARRAY_AS_PROPS broken)