]>
granicus.if.org Git - php/log
Bob Weinand [Thu, 2 Jul 2015 18:49:30 +0000 (20:49 +0200)]
XFAILED tests are not "You may have found a problem in PHP"
Bob Weinand [Thu, 2 Jul 2015 18:47:44 +0000 (20:47 +0200)]
Introduce ArithmeticError
Dmitry Stogov [Thu, 2 Jul 2015 17:29:06 +0000 (20:29 +0300)]
Cleanup (avoid reallocation)
Dmitry Stogov [Thu, 2 Jul 2015 16:09:37 +0000 (19:09 +0300)]
Cleanup (avoid reallocation)
Dmitry Stogov [Thu, 2 Jul 2015 15:58:04 +0000 (18:58 +0300)]
Cleanup (avoid reallocations)
Dmitry Stogov [Thu, 2 Jul 2015 15:50:54 +0000 (18:50 +0300)]
Cleanup (avoid reallocation)
Anatol Belski [Thu, 2 Jul 2015 14:34:42 +0000 (16:34 +0200)]
add missing items to the table of contents
Anatol Belski [Thu, 2 Jul 2015 14:32:57 +0000 (16:32 +0200)]
update UPGRADING infos
Anatol Belski [Thu, 2 Jul 2015 13:19:38 +0000 (15:19 +0200)]
fix pipe peek timeout
Christoph M. Becker [Thu, 2 Jul 2015 10:16:41 +0000 (12:16 +0200)]
Fix alignment on 32-bit
Christoph M. Becker [Thu, 2 Jul 2015 08:51:26 +0000 (10:51 +0200)]
improve timings evaluations in test
Anatol Belski [Wed, 1 Jul 2015 18:06:48 +0000 (20:06 +0200)]
use proper place to cleanup
Anatol Belski [Wed, 1 Jul 2015 08:23:57 +0000 (10:23 +0200)]
fix test for systems with lower time resolution
Anatol Belski [Tue, 30 Jun 2015 17:53:48 +0000 (19:53 +0200)]
remove stderr descriptor
Anatol Belski [Tue, 30 Jun 2015 17:25:14 +0000 (19:25 +0200)]
no need to fflush here
Anatol Belski [Tue, 30 Jun 2015 17:22:17 +0000 (19:22 +0200)]
added test for bug #69900
Anatol Belski [Tue, 30 Jun 2015 16:07:16 +0000 (18:07 +0200)]
select the case to set the pipe blocking option more precisely
Anatol Belski [Tue, 30 Jun 2015 16:05:41 +0000 (18:05 +0200)]
fixed wrong number for the new option
Anatol Belski [Tue, 30 Jun 2015 15:37:38 +0000 (17:37 +0200)]
fix c/p issue
Anatol Belski [Tue, 30 Jun 2015 15:21:21 +0000 (17:21 +0200)]
properly set the pipe blocking option
Anatol Belski [Tue, 30 Jun 2015 13:57:49 +0000 (15:57 +0200)]
add missing stuff is the header
Anatol Belski [Tue, 30 Jun 2015 13:47:25 +0000 (15:47 +0200)]
initial stuff to make allow blocking pipes on windows
Xinchen Hui [Thu, 2 Jul 2015 11:02:49 +0000 (19:02 +0800)]
Fixed conditional jump or move depends on uninitialised value(s)
==11551== at 0x57CB23C: xpmParseData (parse.c:702)
Xinchen Hui [Thu, 2 Jul 2015 10:43:06 +0000 (18:43 +0800)]
Fixed bug #69521 (Segfault in gc_collect_cycles()).
Xinchen Hui [Thu, 2 Jul 2015 04:31:26 +0000 (12:31 +0800)]
Use hash_str directly
Xinchen Hui [Thu, 2 Jul 2015 04:23:50 +0000 (12:23 +0800)]
Same here
Xinchen Hui [Thu, 2 Jul 2015 04:19:55 +0000 (12:19 +0800)]
Use one_char_string
Xinchen Hui [Thu, 2 Jul 2015 04:18:23 +0000 (12:18 +0800)]
Use one_char_string
Xinchen Hui [Thu, 2 Jul 2015 04:04:14 +0000 (12:04 +0800)]
Use zend_string in setcookie (save value reallocated)
Xinchen Hui [Thu, 2 Jul 2015 03:44:28 +0000 (11:44 +0800)]
Unnecessary duplication
Xinchen Hui [Thu, 2 Jul 2015 03:04:24 +0000 (11:04 +0800)]
This can not be true
Bob Weinand [Thu, 2 Jul 2015 00:04:16 +0000 (02:04 +0200)]
CT eval ZEND_DIV in all cases (warning was removed)
Bob Weinand [Wed, 1 Jul 2015 23:54:08 +0000 (01:54 +0200)]
Use DivisionByZeroError instead of exception for %/intdiv()
Bob Weinand [Wed, 1 Jul 2015 22:32:46 +0000 (00:32 +0200)]
Remove warning upon division by zero
Dmitry Stogov [Wed, 1 Jul 2015 23:00:34 +0000 (02:00 +0300)]
Fixed memory leak because of incorrect 'if ();' optimization
Christoph M. Becker [Wed, 1 Jul 2015 21:50:12 +0000 (23:50 +0200)]
updated NEWS
Christoph M. Becker [Wed, 1 Jul 2015 21:45:52 +0000 (23:45 +0200)]
Fix #69976: Unable to parse "all" urls with colon char
If a colon occurs in a query string or fragment of a partial URL without
scheme, parse_url() tries to regard it as port separator. If up to 5 digits
follow and then a slash or the end of the string, parse_url() fails.
We're fixing this by checking whether the colon is part of the query string or
the fragment, under the assumption that question marks and hash signs are only
allowed as separators of query string and fragments, respectively, what is
guarenteed for URIs (RFC 3986), but not necessarily for URLs (RFC 1738) where
question marks are allowed for usernames and passwords.
Anyhow, this constitutes a minor BC, so the fix is applied to master only.
Dmitry Stogov [Wed, 1 Jul 2015 19:18:40 +0000 (22:18 +0300)]
Cleanup (removed dead code)
Dmitry Stogov [Wed, 1 Jul 2015 19:17:55 +0000 (22:17 +0300)]
Cleanup (avoid reallocation)
Dmitry Stogov [Wed, 1 Jul 2015 19:17:08 +0000 (22:17 +0300)]
Cleanup (avoid reallocation)
Dmitry Stogov [Wed, 1 Jul 2015 16:04:18 +0000 (19:04 +0300)]
Cleanup (avoid reallocatios and side effects in php_strip_tags)
Dmitry Stogov [Wed, 1 Jul 2015 15:23:06 +0000 (18:23 +0300)]
Fixed broken name
Dmitry Stogov [Wed, 1 Jul 2015 14:32:04 +0000 (17:32 +0300)]
Cleanup (updated comments)
Dmitry Stogov [Wed, 1 Jul 2015 14:30:00 +0000 (17:30 +0300)]
Cleanup (replce hack by a clean implementation)
Dmitry Stogov [Wed, 1 Jul 2015 14:07:57 +0000 (17:07 +0300)]
Cleanup (removed dead code)
Dmitry Stogov [Wed, 1 Jul 2015 14:01:42 +0000 (17:01 +0300)]
Cleanup (avoid duplication)
Dmitry Stogov [Wed, 1 Jul 2015 13:32:13 +0000 (16:32 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
change the inclusion order which fixes the vc build
Dmitry Stogov [Wed, 1 Jul 2015 13:31:20 +0000 (16:31 +0300)]
Cleanup (updated comments about optimization of comparison with IS_NULL)
Anatol Belski [Wed, 1 Jul 2015 13:21:04 +0000 (15:21 +0200)]
change the inclusion order which fixes the vc build
Dmitry Stogov [Wed, 1 Jul 2015 13:15:45 +0000 (16:15 +0300)]
Cleanup (we don't use is_ref=1/refcount=2 trick to trigger COW in PHP-7)
Dmitry Stogov [Wed, 1 Jul 2015 11:59:58 +0000 (14:59 +0300)]
Cleanup (avoid reallocation)
Dmitry Stogov [Wed, 1 Jul 2015 11:12:46 +0000 (14:12 +0300)]
Cleanup (avoid reallocation)
Dmitry Stogov [Wed, 1 Jul 2015 11:08:54 +0000 (14:08 +0300)]
Cleanup (avoid reallocation).
Dmitry Stogov [Wed, 1 Jul 2015 10:49:57 +0000 (13:49 +0300)]
Cleanup (avoid reallocation).
Dmitry Stogov [Wed, 1 Jul 2015 10:26:39 +0000 (13:26 +0300)]
Cleanup (avoid string reallocations)
Dmitry Stogov [Tue, 30 Jun 2015 23:05:21 +0000 (02:05 +0300)]
Get rid of ZVAL_ZVAL() macro usages. Replace them with more clear and optimal equialent sequences.
Rasmus Lerdorf [Tue, 30 Jun 2015 16:57:30 +0000 (09:57 -0700)]
debug_print_backtrace has a 2nd optional arg
Rasmus Lerdorf [Tue, 30 Jun 2015 16:54:42 +0000 (09:54 -0700)]
php_uname has an optional arg
Xinchen Hui [Tue, 30 Jun 2015 13:26:07 +0000 (21:26 +0800)]
Merge branch 'amortize-hash-compaction' of https://github.com/kaja47/php-src
Dmitry Stogov [Tue, 30 Jun 2015 10:59:27 +0000 (13:59 +0300)]
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
Côme Bernigaud [Tue, 30 Jun 2015 07:31:19 +0000 (09:31 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
keep LDAP_DEPRECATED in config.w32
Anatol Belski [Mon, 29 Jun 2015 08:12:36 +0000 (10:12 +0200)]
keep LDAP_DEPRECATED in config.w32
Aaron Piotrowski [Tue, 30 Jun 2015 03:07:29 +0000 (22:07 -0500)]
Add tests for dynamic static call to instance method
Aaron Piotrowski [Tue, 30 Jun 2015 01:41:08 +0000 (20:41 -0500)]
Throw Error on dynamic call to instance method when called statically
Bob Weinand [Tue, 30 Jun 2015 05:02:32 +0000 (07:02 +0200)]
Fix test failures from previous commit
(I really don't get that issue in phar... if there's a better fix, it's welcome...)
Christopher Jones [Tue, 30 Jun 2015 03:54:40 +0000 (13:54 +1000)]
More PHP 7 patches (Rajendra/Abdullah)
Bob Weinand [Tue, 30 Jun 2015 01:49:54 +0000 (03:49 +0200)]
Only call stream_flush if anything was written
This avoids flushing in readonly mode upon close
Dmitry Stogov [Tue, 30 Jun 2015 01:05:24 +0000 (04:05 +0300)]
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
Christopher Jones [Mon, 29 Jun 2015 22:48:37 +0000 (08:48 +1000)]
Fix Windows compilation warnings (Senthil)
Christoph M. Becker [Mon, 29 Jun 2015 21:55:18 +0000 (23:55 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Improved code coverage of explode function
Edgar R. Sandi [Mon, 29 Jun 2015 20:34:57 +0000 (17:34 -0300)]
Improved code coverage of explode function
Christoph M. Becker [Mon, 29 Jun 2015 21:16:50 +0000 (23:16 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Added basic and error tests for hex2bin function
Edgar R. Sandi [Mon, 29 Jun 2015 17:33:21 +0000 (14:33 -0300)]
Added basic and error tests for hex2bin function
Anatol Belski [Mon, 29 Jun 2015 18:33:34 +0000 (20:33 +0200)]
refix the negative zend_long to size_t casts
There is no good way to fix this for 32-bit without enormously
overcomplicating the logic. Therefore switching back to the previous
code and adding the casts to ensure there are no sudden casts of
negative to size_t.
Christoph M. Becker [Mon, 29 Jun 2015 17:26:01 +0000 (19:26 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
adding several other testing scenarios of code without coverage in stripcslashes function
Edgar R. Sandi [Mon, 29 Jun 2015 13:05:27 +0000 (10:05 -0300)]
adding several other testing scenarios of code without coverage in stripcslashes function
Christoph M. Becker [Mon, 29 Jun 2015 16:25:30 +0000 (18:25 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
adding another testing scenario without coverage in setlocale function
Edgar R. Sandi [Mon, 29 Jun 2015 12:50:27 +0000 (09:50 -0300)]
adding another testing scenario without coverage in setlocale function
Dmitry Stogov [Mon, 29 Jun 2015 15:14:14 +0000 (18:14 +0300)]
Merge branch 'PHP-5.6'
* PHP-5.6:
On Windows PHP may be restarted with different set of DSO extensions without SHM reset. This may make optimisation for entities from DSO extensions inconsistent.
Putting back deprecated symbols for ldap_sort
Removed deprecated function calls from ldap module
Removed ifdefs of LDAP_API_FEATURE_X_OPENLDAP, fixed a warning
Dmitry Stogov [Mon, 29 Jun 2015 14:45:56 +0000 (17:45 +0300)]
On Windows PHP may be restarted with different set of DSO extensions without SHM reset.
This may make optimisation for entities from DSO extensions inconsistent.
Dmitry Stogov [Mon, 29 Jun 2015 14:45:56 +0000 (17:45 +0300)]
On Windows PHP may be restarted with different set of DSO extensions without SHM reset.
This may make optimisation for entities from DSO extensions inconsistent.
jrchamp [Mon, 29 Jun 2015 13:54:56 +0000 (09:54 -0400)]
UPGRADING typos/wording
Dmitry Stogov [Mon, 29 Jun 2015 13:44:54 +0000 (16:44 +0300)]
Improved zend_string API (Francois Laupretre)
Squashed commit of the following:
commit
d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>
Date: Fri Jun 26 01:23:31 2015 +0200
Use the new 'ZSTR' macros in the rest of the code.
Does not change anything to the generated code (thanks to compat macros) but cleaner.
commit
b3526439104ac7a89a8e0c79dbebf33b22bd01b8
Author: Francois Laupretre <francois@tekwire.net>
Date: Thu Jun 25 13:45:06 2015 +0200
Improve zend_string API
Add missing methods
Côme Bernigaud [Mon, 29 Jun 2015 12:31:20 +0000 (14:31 +0200)]
Deprecating ldap_sort the right way
Dmitry Stogov [Mon, 29 Jun 2015 11:10:46 +0000 (14:10 +0300)]
Restored old behavior
Anatol Belski [Mon, 29 Jun 2015 09:35:36 +0000 (11:35 +0200)]
fix more places with subtle negative zend_long to size_t cast
Anatol Belski [Mon, 29 Jun 2015 09:24:11 +0000 (11:24 +0200)]
remove useless check
thanks Yasuo :)
Anatol Belski [Mon, 29 Jun 2015 08:56:51 +0000 (10:56 +0200)]
remove comment
f and l are the $start and $length, since they come from the user
land, they only can be zend_long
Dmitry Stogov [Mon, 29 Jun 2015 10:05:14 +0000 (13:05 +0300)]
Revert "Fixed last previously broken tests"
This reverts commit
79b1832dd5086cd9b4a2e778a62f1743b548726c .
Dmitry Stogov [Mon, 29 Jun 2015 09:58:07 +0000 (12:58 +0300)]
Prevent attempts of compile-time evaluation of invalid operators (e.g. division/modulo by zero and shift by negative number)
Dmitry Stogov [Mon, 29 Jun 2015 09:20:09 +0000 (12:20 +0300)]
Andreas Heigl [Mon, 29 Jun 2015 08:18:44 +0000 (10:18 +0200)]
Fixes ldap_sort-tests
Thanks to Côme Bernigaud for fixing!
Andreas Heigl [Sun, 28 Jun 2015 20:42:59 +0000 (22:42 +0200)]
Adds deprecation-message for ldap_sort
Dmitry Stogov [Mon, 29 Jun 2015 08:35:12 +0000 (11:35 +0300)]
Don't evaluate invalid constant expressions.
Anatol Belski [Mon, 29 Jun 2015 08:27:13 +0000 (10:27 +0200)]
fix negative zend_long to size_t cast
Edgar R. Sandi [Fri, 26 Jun 2015 14:58:04 +0000 (11:58 -0300)]
removed unreachable code in the substr_replace function
Dmitry Stogov [Mon, 29 Jun 2015 08:17:56 +0000 (11:17 +0300)]
Fixed bug #69955 (Segfault when trying to combine [] and assign-op on ArrayAccess object). (Laruence)
Anatol Belski [Mon, 29 Jun 2015 08:12:36 +0000 (10:12 +0200)]
keep LDAP_DEPRECATED in config.w32
Côme Bernigaud [Mon, 29 Jun 2015 07:07:49 +0000 (09:07 +0200)]
Putting back deprecated symbols for ldap_sort
Côme Bernigaud [Tue, 23 Jun 2015 14:44:48 +0000 (16:44 +0200)]
Removed deprecated function calls from ldap module
ldap_search -> ldap search_ext
ldap_search_s ->_ldap_search_ext_s
ldap_add_s -> ldap_add_ext_s
ldap_delete_s -> ldap_delete_ext_s
ldap_compare_s -> ldap_compare_ext_s
ldap_value_free -> ldap_memvfree
Only thing left is ldap_sort_entries, no replacement
Conflicts:
ext/ldap/ldap.c