]>
granicus.if.org Git - php/log
Anatol Belski [Tue, 16 Sep 2014 18:33:25 +0000 (20:33 +0200)]
fix signed/unsigned mismatch
Anatol Belski [Tue, 16 Sep 2014 11:22:00 +0000 (13:22 +0200)]
redo the fix with cast to size_t
Anatol Belski [Tue, 16 Sep 2014 10:53:25 +0000 (12:53 +0200)]
redo the fix casting to size_t
Anatol Belski [Tue, 16 Sep 2014 10:48:15 +0000 (12:48 +0200)]
redo the fix casting to size_t where applicable
Anatol Belski [Mon, 15 Sep 2014 19:13:48 +0000 (21:13 +0200)]
fixed type
Anatol Belski [Mon, 15 Sep 2014 19:10:18 +0000 (21:10 +0200)]
fix signed/unsigned mismatch warnings
Anatol Belski [Mon, 15 Sep 2014 19:03:26 +0000 (21:03 +0200)]
fixed signed/unsigned mismatch warning
Nikita Popov [Tue, 16 Sep 2014 12:29:41 +0000 (14:29 +0200)]
Drop BC alias HASH_NON_EXISTANT
Nikita Popov [Tue, 16 Sep 2014 12:28:30 +0000 (14:28 +0200)]
Remove HASH_NEXT_INSERT flag
We already pass ht->nNextFreeElement and the rest is handled by
ZEND_HASH_ADD.
Nikita Popov [Tue, 16 Sep 2014 12:09:32 +0000 (14:09 +0200)]
Remove two more always-true conditions
krakjoe [Tue, 16 Sep 2014 14:40:31 +0000 (15:40 +0100)]
Merge branch 'pull-request/808'
Dmitry Stogov [Tue, 16 Sep 2014 11:28:46 +0000 (15:28 +0400)]
Improve opcache.fast_shutdown
Anatol Belski [Tue, 16 Sep 2014 10:27:25 +0000 (12:27 +0200)]
better error messages in ZMM on Windows
Dmitry Stogov [Tue, 16 Sep 2014 09:53:26 +0000 (13:53 +0400)]
emalloc() must not return NULL
Dmitry Stogov [Tue, 16 Sep 2014 09:52:50 +0000 (13:52 +0400)]
code optimization
Matteo Beccati [Tue, 16 Sep 2014 08:23:03 +0000 (10:23 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed freetype test on multiple environments
Matteo Beccati [Tue, 16 Sep 2014 08:22:49 +0000 (10:22 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed freetype test on multiple environments
Matteo Beccati [Tue, 16 Sep 2014 08:22:34 +0000 (10:22 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed freetype test on multiple environments
Matteo Beccati [Tue, 16 Sep 2014 08:17:25 +0000 (10:17 +0200)]
Fixed freetype test on multiple environments
Some environments, apparently regardless to the freetype version, output 155, while others 156. I guess we can accept both ;)
This reverts commit
592df890276604c790d02be26b1b3c3710b3b888 .
Dmitry Stogov [Tue, 16 Sep 2014 07:56:56 +0000 (11:56 +0400)]
ws
Anatol Belski [Tue, 16 Sep 2014 07:28:49 +0000 (09:28 +0200)]
cast the other way round, the sign check is already done before
Xinchen Hui [Tue, 16 Sep 2014 06:15:01 +0000 (14:15 +0800)]
it's good for gc debuging
Dmitry Stogov [Tue, 16 Sep 2014 05:15:47 +0000 (09:15 +0400)]
We don't have to check for undefined CV if we fetch it for isset() operation
Nikita Popov [Mon, 15 Sep 2014 22:23:58 +0000 (00:23 +0200)]
Switch (un)mangle property name to size_t and zend_string
Also use the _ex variants where possible.
Dmitry Stogov [Mon, 15 Sep 2014 21:34:27 +0000 (01:34 +0400)]
Optimized FE_RESET and FE_FETCH
Nikita Popov [Mon, 15 Sep 2014 21:04:34 +0000 (23:04 +0200)]
Remove always-true comparisons
Nikita Popov [Mon, 15 Sep 2014 21:01:52 +0000 (23:01 +0200)]
Update types in zend_hash
* String lengths are size_t
* Indexes are uint32_t
* Flags are uint32_t
* Booleans are zend_bool
Anatol Belski [Mon, 15 Sep 2014 16:14:37 +0000 (18:14 +0200)]
fix signed/unsigned mismatch warnings
Anatol Belski [Mon, 15 Sep 2014 16:05:58 +0000 (18:05 +0200)]
fix types
Anatol Belski [Mon, 15 Sep 2014 15:51:07 +0000 (17:51 +0200)]
fix signed/unsigned mismatch
Anatol Belski [Mon, 15 Sep 2014 15:48:15 +0000 (17:48 +0200)]
fix negating an unsigned
Anatol Belski [Mon, 15 Sep 2014 14:52:19 +0000 (16:52 +0200)]
fix signed/unsigned mismatch
Anatol Belski [Mon, 15 Sep 2014 14:32:18 +0000 (16:32 +0200)]
revamp serialization to work with size_t for Serializable
Anatol Belski [Mon, 15 Sep 2014 14:14:37 +0000 (16:14 +0200)]
fix signed/unsigned mismatch
Anatol Belski [Mon, 15 Sep 2014 14:04:12 +0000 (16:04 +0200)]
fix signed/unsigned mismatch
Anatol Belski [Mon, 15 Sep 2014 13:52:39 +0000 (15:52 +0200)]
fix most of signed/unsigned warnings in vm def
Remi Collet [Mon, 15 Sep 2014 11:32:37 +0000 (13:32 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
NEWS
NEWS
Fixed bug #65641 PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache
Remi Collet [Mon, 15 Sep 2014 11:32:13 +0000 (13:32 +0200)]
NEWS
Remi Collet [Mon, 15 Sep 2014 11:31:26 +0000 (13:31 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
NEWS
Fixed bug #65641 PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache
Remi Collet [Mon, 15 Sep 2014 11:31:17 +0000 (13:31 +0200)]
NEWS
Remi Collet [Mon, 15 Sep 2014 11:29:55 +0000 (13:29 +0200)]
Fixed bug #65641 PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache
ProxyPass is unable to provide correct PATH_INFO
as it is not aware of file path (while SetHandler is).
As we can extract PATH_INFO from PATH_TRANSLATED,
we also need to check if present in SCRIPT_NAME
and remove it.
After applying this patch.
With mod_php
_SERVER["REQUEST_URI"] /info.php/foo/bar?q=1
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_INFO"] /foor/bar
_SERVER["PHP_SELF"] /info.php/foo/bar
_SERVER["QUERY_STRING"] q=1
With mod_proxy_fcgi + SetHandler
_SERVER["REQUEST_URI"] /info.php/foo/bar?q=1
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_INFO"] /foo/bar
_SERVER["PHP_SELF"] /info.php/foo/bar
_SERVER["QUERY_STRING"] q=1
With mod_proxy_fcgi + ProxyPass
_SERVER["REQUEST_URI"] /info.php/foo/bar?q=1
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_INFO"] /foo/bar
_SERVER["PHP_SELF"] /info.php/foo/bar
_SERVER["QUERY_STRING"] q=1
Anatol Belski [Mon, 15 Sep 2014 10:54:46 +0000 (12:54 +0200)]
correct fix to the natcmp_ex
Till now the actualy length diff between the strings was under
circumstances returned. Whereby for a compare function only return
values of (1, 0, -1) make sense. Thus the old behavior isn't
present anymore, natcmp_ex now behaves as a standard compare function.
Anatol Belski [Mon, 15 Sep 2014 10:12:18 +0000 (12:12 +0200)]
fix signed/unsigned mismatch
Anatol Belski [Mon, 15 Sep 2014 10:08:42 +0000 (12:08 +0200)]
fix signed/unsigned mismatch
Anatol Belski [Mon, 15 Sep 2014 09:59:48 +0000 (11:59 +0200)]
fix unsigned negation
Anatol Belski [Mon, 15 Sep 2014 09:40:18 +0000 (11:40 +0200)]
fix signed/unsigned mismatch
Dmitry Stogov [Mon, 15 Sep 2014 10:37:59 +0000 (14:37 +0400)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
fix initializer struct
fix signature
fix type
fix condition
Dmitry Stogov [Mon, 15 Sep 2014 10:36:55 +0000 (14:36 +0400)]
Replaced macro with better optimized inline function
Anatol Belski [Mon, 15 Sep 2014 09:28:24 +0000 (11:28 +0200)]
fix initializer struct
Anatol Belski [Mon, 15 Sep 2014 09:13:55 +0000 (11:13 +0200)]
fix signature
Anatol Belski [Mon, 15 Sep 2014 08:57:04 +0000 (10:57 +0200)]
fix type
Anatol Belski [Mon, 15 Sep 2014 08:51:56 +0000 (10:51 +0200)]
fix condition
Xinchen Hui [Mon, 15 Sep 2014 08:54:36 +0000 (16:54 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Mon, 15 Sep 2014 08:52:33 +0000 (16:52 +0800)]
Remove redundant codes
Anatol Belski [Mon, 15 Sep 2014 08:39:51 +0000 (10:39 +0200)]
fix type
Kalle Sommer Nielsen [Mon, 15 Sep 2014 08:35:39 +0000 (10:35 +0200)]
optimize path length retrieval
Anatol Belski [Mon, 15 Sep 2014 08:29:28 +0000 (10:29 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
updated NEWS
Anatol Belski [Mon, 15 Sep 2014 08:29:00 +0000 (10:29 +0200)]
updated NEWS
Anatol Belski [Mon, 15 Sep 2014 08:28:22 +0000 (10:28 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
updated NEWS
Anatol Belski [Mon, 15 Sep 2014 08:27:52 +0000 (10:27 +0200)]
updated NEWS
Xinchen Hui [Mon, 15 Sep 2014 06:50:16 +0000 (14:50 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Mon, 15 Sep 2014 06:49:34 +0000 (14:49 +0800)]
Add test script for the segfault in gc while run phpspec
Remi Collet [Mon, 15 Sep 2014 06:28:22 +0000 (08:28 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in
ee275e34c8b303945945c650d4bc90dcc2ac0b17
Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in
ee275e34c8b303945945c650d4bc90dcc2ac0b17
Fix bug #111 (compile error without ZEND_SIGNALS)
Don't run travis against master (phpng)
Update README.md
Remi Collet [Mon, 15 Sep 2014 06:24:20 +0000 (08:24 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in
ee275e34c8b303945945c650d4bc90dcc2ac0b17
Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in
ee275e34c8b303945945c650d4bc90dcc2ac0b17
Remi Collet [Mon, 15 Sep 2014 06:24:10 +0000 (08:24 +0200)]
Fix NEWS
- #65641 mod_proxy-fcgi is not fixed (still open)
- #67606 mod_fastcgi is fixed in
ee275e34c8b303945945c650d4bc90dcc2ac0b17
Remi Collet [Mon, 15 Sep 2014 06:23:40 +0000 (08:23 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in
ee275e34c8b303945945c650d4bc90dcc2ac0b17
Remi Collet [Mon, 15 Sep 2014 06:23:25 +0000 (08:23 +0200)]
Fix NEWS
- #65641 mod_proxy-fcgi is not fixed (still open)
- #67606 mod_fastcgi is fixed in
ee275e34c8b303945945c650d4bc90dcc2ac0b17
Bob Weinand [Mon, 15 Sep 2014 03:48:09 +0000 (05:48 +0200)]
Merge phpdbg into PHP-5.6
Anatol Belski [Sun, 14 Sep 2014 22:39:55 +0000 (00:39 +0200)]
avoid strlen usage in the loop
Anatol Belski [Sun, 14 Sep 2014 21:10:41 +0000 (23:10 +0200)]
fix format
Anatol Belski [Sun, 14 Sep 2014 21:03:13 +0000 (23:03 +0200)]
fix ftell/fseek calls
Anatol Belski [Sun, 14 Sep 2014 20:31:01 +0000 (22:31 +0200)]
reduce struct size by 8 byte on 64 bit
Anatol Belski [Sun, 14 Sep 2014 20:28:42 +0000 (22:28 +0200)]
fix ftell/fseek calls
Anatol Belski [Sun, 14 Sep 2014 20:07:38 +0000 (22:07 +0200)]
better way to check for empty string
Anatol Belski [Sun, 14 Sep 2014 19:38:46 +0000 (21:38 +0200)]
make xml_utf8_ encode/decode work with size_t
Anatol Belski [Sun, 14 Sep 2014 15:00:34 +0000 (17:00 +0200)]
avoid repeated strlen usage
Anatol Belski [Sun, 14 Sep 2014 15:00:06 +0000 (17:00 +0200)]
avoid strlen() usage in loop
Anatol Belski [Sun, 14 Sep 2014 14:37:38 +0000 (16:37 +0200)]
fix int overflow preserving the old behavior
Nikita Popov [Sat, 13 Sep 2014 21:30:32 +0000 (23:30 +0200)]
Fix use of stack variable outside its block
Nikita Popov [Sat, 13 Sep 2014 21:14:04 +0000 (23:14 +0200)]
zend_get_property_info takes a zend_string* now
Anatol Belski [Sun, 14 Sep 2014 13:09:54 +0000 (15:09 +0200)]
use nice way to achieve the property name length
Anatol Belski [Sun, 14 Sep 2014 13:03:52 +0000 (15:03 +0200)]
make it safer for an array underrun
Anatol Belski [Sun, 14 Sep 2014 12:43:39 +0000 (14:43 +0200)]
fix type
Anatol Belski [Sun, 14 Sep 2014 10:59:31 +0000 (12:59 +0200)]
avoid repeated strlen() usage
Anatol Belski [Sun, 14 Sep 2014 10:32:38 +0000 (12:32 +0200)]
reduce struct size by 8 bytes on 64 bit
Anatol Belski [Sun, 14 Sep 2014 10:30:01 +0000 (12:30 +0200)]
avoid repeated strlen() usage
Bob Weinand [Sun, 14 Sep 2014 10:24:56 +0000 (12:24 +0200)]
Fix bug #111 (compile error without ZEND_SIGNALS)
Anatol Belski [Sun, 14 Sep 2014 10:18:52 +0000 (12:18 +0200)]
fix possible pointer truncation
Anatol Belski [Sun, 14 Sep 2014 09:48:51 +0000 (11:48 +0200)]
better way to zero away sensitive data
memset could be optimized away by the compiler
Anatol Belski [Sun, 14 Sep 2014 09:36:11 +0000 (11:36 +0200)]
reduce struct size by 8 byte on 64 bit
Anatol Belski [Sun, 14 Sep 2014 09:26:17 +0000 (11:26 +0200)]
reduce struct size by 8 byte on 64 bit
Anatol Belski [Sun, 14 Sep 2014 09:13:17 +0000 (11:13 +0200)]
reduce struct sizes by 8 bytes each on 64 bit
Anatol Belski [Sun, 14 Sep 2014 09:00:22 +0000 (11:00 +0200)]
remove useless casts and checks
Anatol Belski [Sun, 14 Sep 2014 08:27:00 +0000 (10:27 +0200)]
align 4 byte to the start of the word
Anatol Belski [Sun, 14 Sep 2014 08:24:10 +0000 (10:24 +0200)]
fix conditions
substraction from an unsigned
Anatol Belski [Sun, 14 Sep 2014 07:40:56 +0000 (09:40 +0200)]
reduce the struct size by 8 byte on 64 bit
Anatol Belski [Sun, 14 Sep 2014 07:25:09 +0000 (09:25 +0200)]
reduce the struct size by 8 byte on 64 bit
Anatol Belski [Sun, 14 Sep 2014 07:22:02 +0000 (09:22 +0200)]
reduce the struct size by 8 byte on 64 bit
Anatol Belski [Sat, 13 Sep 2014 23:22:55 +0000 (01:22 +0200)]
reduce the struct size by 8 byte on 64 bit
Anatol Belski [Sat, 13 Sep 2014 23:12:12 +0000 (01:12 +0200)]
reduce the struct size by 8 byte on 64 bit