]>
granicus.if.org Git - php/log
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
Côme Bernigaud [Tue, 23 Jun 2015 13:50:14 +0000 (15:50 +0200)]
Removed ifdefs of LDAP_API_FEATURE_X_OPENLDAP, fixed a warning
Conflicts:
ext/ldap/ldap.c
Xinchen Hui [Mon, 29 Jun 2015 07:36:55 +0000 (15:36 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Mon, 29 Jun 2015 07:36:02 +0000 (15:36 +0800)]
Fixed memroy errors with valgrind
Stanislav Malyshev [Mon, 29 Jun 2015 07:31:56 +0000 (00:31 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Move strlen() check to php_mail_detect_multiple_crlf()
Fixed Bug #69874 : Can't set empty additional_headers for mail()
Conflicts:
ext/standard/mail.c
Côme Bernigaud [Mon, 29 Jun 2015 07:31:37 +0000 (09:31 +0200)]
Merge PR about LDAP cleaning by removing deprecated calls
Merge branch 'pull-request/1357' into PHP-5.6
* pull-request/1357:
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
Stanislav Malyshev [Mon, 29 Jun 2015 07:30:55 +0000 (00:30 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Move strlen() check to php_mail_detect_multiple_crlf()
Fixed Bug #69874 : Can't set empty additional_headers for mail()
Xinchen Hui [Mon, 29 Jun 2015 07:17:58 +0000 (15:17 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Mon, 29 Jun 2015 07:13:09 +0000 (15:13 +0800)]
Fixed segfault in wordpress (introduced in rev
4a4529adb03a5e0d8c46809074a9bae37686e201 )
Côme Bernigaud [Mon, 29 Jun 2015 07:07:49 +0000 (09:07 +0200)]
Putting back deprecated symbols for ldap_sort
Anatol Belski [Mon, 29 Jun 2015 07:05:56 +0000 (09:05 +0200)]
fix tests
Anatol Belski [Sun, 28 Jun 2015 19:54:03 +0000 (21:54 +0200)]
remove useless assignment
Anatol Belski [Sun, 28 Jun 2015 19:47:02 +0000 (21:47 +0200)]
fix FCGI crash in TS mode
If CGI TS build is used, and there are some hard errors (fe missing
dependency .dll or .so), the core will want to log it. The CGI
log function will want to check whether fcgi_logging is enabled. But,
if this kind of error happens in the extension register phase,
MINIT for the CGI module is most likely wasn't run yet (startup phase).
That will result in accessing uninitialized globals and a crash.
Stanislav Malyshev [Mon, 29 Jun 2015 03:23:00 +0000 (20:23 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Move strlen() check to php_mail_detect_multiple_crlf()
Fixed Bug #69874 : Can't set empty additional_headers for mail()
Stanislav Malyshev [Mon, 29 Jun 2015 01:53:19 +0000 (18:53 -0700)]
Merge branch 'pull-request/1350' into PHP-5.4
* pull-request/1350:
Move strlen() check to php_mail_detect_multiple_crlf()
Fixed Bug #69874 : Can't set empty additional_headers for mail()
Bob Weinand [Mon, 29 Jun 2015 01:43:36 +0000 (03:43 +0200)]
Fix assertion failure with Z_REFCOUNT() in info constants
Rasmus Lerdorf [Mon, 29 Jun 2015 01:08:22 +0000 (18:08 -0700)]
2nd arg of sprintf is optional
Bob Weinand [Mon, 29 Jun 2015 00:51:10 +0000 (02:51 +0200)]
Make backtraces *much* more readable
Bob Weinand [Mon, 29 Jun 2015 00:05:33 +0000 (02:05 +0200)]
Add yield from to frame leaving instructions
Bob Weinand [Sun, 28 Jun 2015 23:41:04 +0000 (01:41 +0200)]
Show exception source in phpdbg
Bob Weinand [Sun, 28 Jun 2015 22:57:49 +0000 (00:57 +0200)]
Fixed last previously broken tests
Bob Weinand [Sun, 28 Jun 2015 22:28:52 +0000 (00:28 +0200)]
Show full signature upon inheritance mismatch
Bob Weinand [Sun, 28 Jun 2015 20:23:50 +0000 (22:23 +0200)]
Remove now unneeded step option (-s)
Jakub Zelenka [Sun, 28 Jun 2015 17:09:10 +0000 (18:09 +0100)]
Fix incompatible JSON errors
This fixes differences in error codes with PHP 5 and 7.
The malformed UTF-8 and control character error codes are
now returned even in non-string context which makes it
the same as it was in PHP 5 json ext.
Bob Weinand [Sun, 28 Jun 2015 16:22:10 +0000 (18:22 +0200)]
Fix bug #69957 (Different ways of handling div/mod by zero)
Jakub Zelenka [Sun, 28 Jun 2015 16:16:12 +0000 (17:16 +0100)]
Fix bug #62010 (json_decode produces invalid byte-sequences)
Jakub Zelenka [Sun, 28 Jun 2015 15:48:42 +0000 (16:48 +0100)]
Bump re2c version for json scanner
Bob Weinand [Sun, 28 Jun 2015 14:30:58 +0000 (16:30 +0200)]
Fix bug #69952 (Dereferencing issue in session_start())
Bob Weinand [Sun, 28 Jun 2015 13:44:53 +0000 (15:44 +0200)]
Forgot to git add rope leak test
Bob Weinand [Sun, 28 Jun 2015 13:42:05 +0000 (15:42 +0200)]
Fix rope memory leaks upon exception
Xinchen Hui [Sun, 28 Jun 2015 13:16:08 +0000 (21:16 +0800)]
Fixed ZEND_VM_DEFINE_OP build when --without-specializer
Xinchen Hui [Sun, 28 Jun 2015 11:17:37 +0000 (19:17 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Sun, 28 Jun 2015 11:09:19 +0000 (19:09 +0800)]
Unused ret
Anatol Belski [Sun, 28 Jun 2015 11:13:41 +0000 (13:13 +0200)]
updated NEWS
Cameron Porter [Sat, 27 Jun 2015 06:09:05 +0000 (01:09 -0500)]
Correct oci8 hash destructors to prevent segfaults, and a few other fixes.
Anatol Belski [Sat, 27 Jun 2015 22:10:41 +0000 (00:10 +0200)]
tweak the zendparse symbol to be exported with newer bison
Anatol Belski [Sat, 27 Jun 2015 21:38:48 +0000 (23:38 +0200)]
fix touching
Anatol Belski [Sat, 27 Jun 2015 20:06:15 +0000 (22:06 +0200)]
touch all the files before creating a tarball