]> granicus.if.org Git - php/log
php
10 years agofix condition
Anatol Belski [Fri, 19 Sep 2014 09:42:44 +0000 (11:42 +0200)]
fix condition

10 years agofix empty string check
Anatol Belski [Fri, 19 Sep 2014 09:23:23 +0000 (11:23 +0200)]
fix empty string check

10 years agofix an always true condition and improve the error check
Anatol Belski [Fri, 19 Sep 2014 08:33:01 +0000 (10:33 +0200)]
fix an always true condition and improve the error check

10 years agoremove useless condition
Anatol Belski [Fri, 19 Sep 2014 08:09:37 +0000 (10:09 +0200)]
remove useless condition

10 years agofix printf format
Anatol Belski [Fri, 19 Sep 2014 08:04:12 +0000 (10:04 +0200)]
fix printf format

10 years agofix conditions
Anatol Belski [Fri, 19 Sep 2014 07:49:32 +0000 (09:49 +0200)]
fix conditions

10 years agothere can be only one ... of the identical expressions
Anatol Belski [Fri, 19 Sep 2014 07:26:07 +0000 (09:26 +0200)]
there can be only one ... of the identical expressions

10 years agofix condition
Anatol Belski [Fri, 19 Sep 2014 07:09:20 +0000 (09:09 +0200)]
fix condition

10 years agofix printf format
Anatol Belski [Fri, 19 Sep 2014 06:44:35 +0000 (08:44 +0200)]
fix printf format

10 years agoremove useless check
Anatol Belski [Fri, 19 Sep 2014 06:35:01 +0000 (08:35 +0200)]
remove useless check

10 years agomore usages for ZEND_SECURE_ZERO()
Anatol Belski [Thu, 18 Sep 2014 23:59:55 +0000 (01:59 +0200)]
more usages for ZEND_SECURE_ZERO()

10 years agogeneralized the case with secure memory zeroing
Anatol Belski [Thu, 18 Sep 2014 23:46:14 +0000 (01:46 +0200)]
generalized the case with secure memory zeroing

10 years agoremove useless condition 0 > unsigned
Anatol Belski [Thu, 18 Sep 2014 20:25:00 +0000 (22:25 +0200)]
remove useless condition 0 > unsigned

10 years agozero sensitive data more secure way
Anatol Belski [Thu, 18 Sep 2014 20:18:27 +0000 (22:18 +0200)]
zero sensitive data more secure way

10 years agozero sensitive data more secure way
Anatol Belski [Thu, 18 Sep 2014 20:13:30 +0000 (22:13 +0200)]
zero sensitive data more secure way

10 years agofix sprintf format
Anatol Belski [Thu, 18 Sep 2014 20:06:38 +0000 (22:06 +0200)]
fix sprintf format

10 years agozero sensitive data more secure way
Anatol Belski [Thu, 18 Sep 2014 20:02:04 +0000 (22:02 +0200)]
zero sensitive data more secure way

10 years agoremove useless check
Anatol Belski [Thu, 18 Sep 2014 19:49:08 +0000 (21:49 +0200)]
remove useless check

10 years agoavoid repeated strlen usage
Anatol Belski [Thu, 18 Sep 2014 19:28:02 +0000 (21:28 +0200)]
avoid repeated strlen usage

10 years agoFix GMP serialization
Nikita Popov [Thu, 18 Sep 2014 21:00:14 +0000 (23:00 +0200)]
Fix GMP serialization

Also fix same issue in PDO.

10 years agoFix for Clang
Dmitry Stogov [Thu, 18 Sep 2014 20:38:34 +0000 (00:38 +0400)]
Fix for Clang

10 years agoUpdate sapi_apache2.c
jfha73 [Thu, 18 Sep 2014 17:30:17 +0000 (13:30 -0400)]
Update sapi_apache2.c

Change of php5 for php7

10 years agoUpdate php_functions.c
jfha73 [Thu, 18 Sep 2014 17:26:03 +0000 (13:26 -0400)]
Update php_functions.c

10 years agoUpdate php_apache.h
jfha73 [Thu, 18 Sep 2014 17:25:23 +0000 (13:25 -0400)]
Update php_apache.h

10 years agoUpdate and rename php5apache2.dsp to php7apache2.dsp
jfha73 [Thu, 18 Sep 2014 17:24:46 +0000 (13:24 -0400)]
Update and rename php5apache2.dsp to php7apache2.dsp

Change of php5 for php7

10 years agoUpdate php.sym
jfha73 [Thu, 18 Sep 2014 17:21:40 +0000 (13:21 -0400)]
Update php.sym

Change of php5 for php7

10 years agoUpdate and rename mod_php5.c to mod_php7.c
jfha73 [Thu, 18 Sep 2014 17:21:09 +0000 (13:21 -0400)]
Update and rename mod_php5.c to mod_php7.c

Change of php5 for php7

10 years agoUpdate config.w32
jfha73 [Thu, 18 Sep 2014 17:20:18 +0000 (13:20 -0400)]
Update config.w32

Change of php5 for php7

10 years agoUpdate config.m4
jfha73 [Thu, 18 Sep 2014 17:19:20 +0000 (13:19 -0400)]
Update config.m4

Change of php5 for php7

10 years agoUpdate apache_config.c
jfha73 [Thu, 18 Sep 2014 17:17:36 +0000 (13:17 -0400)]
Update apache_config.c

10 years agoSplit is_numeric_string_ex() into inline and non-inline parts
Dmitry Stogov [Thu, 18 Sep 2014 18:19:51 +0000 (22:19 +0400)]
Split is_numeric_string_ex() into inline and non-inline parts

10 years agothat's not char * but zend_string *
Anatol Belski [Thu, 18 Sep 2014 15:11:48 +0000 (17:11 +0200)]
that's not char * but zend_string *

10 years agoups, this is not needed
Anatol Belski [Thu, 18 Sep 2014 15:01:39 +0000 (17:01 +0200)]
ups, this is not needed

10 years agofix CG(empty_string) init in ZTS
Anatol Belski [Thu, 18 Sep 2014 14:45:50 +0000 (16:45 +0200)]
fix CG(empty_string) init in ZTS

10 years agocorrect type for the thread id
Anatol Belski [Thu, 18 Sep 2014 09:58:44 +0000 (11:58 +0200)]
correct type for the thread id

10 years agoSplit big _zend_handle_numeric_str() into small always inlined function that makes...
Dmitry Stogov [Thu, 18 Sep 2014 14:50:05 +0000 (18:50 +0400)]
Split big _zend_handle_numeric_str() into small always inlined function that makes initial check and regular big function

10 years agoExpose zend_safe_address() and use it in zend_arena_calloc()
Dmitry Stogov [Thu, 18 Sep 2014 09:31:25 +0000 (13:31 +0400)]
Expose zend_safe_address() and use it in zend_arena_calloc()

10 years agoClang attributes support
Dmitry Stogov [Thu, 18 Sep 2014 07:50:00 +0000 (11:50 +0400)]
Clang attributes support

10 years agoChanged "inline" into "zend_always_inline"
Dmitry Stogov [Thu, 18 Sep 2014 00:59:01 +0000 (04:59 +0400)]
Changed "inline" into "zend_always_inline"

10 years agoMoved some definitions from zend.h into more suitable header files
Dmitry Stogov [Thu, 18 Sep 2014 00:58:04 +0000 (04:58 +0400)]
Moved some definitions from zend.h into more suitable header files

10 years agoFixed compilation warnings
Dmitry Stogov [Thu, 18 Sep 2014 00:02:43 +0000 (04:02 +0400)]
Fixed compilation warnings

10 years agofix macro usage
Anatol Belski [Wed, 17 Sep 2014 19:46:48 +0000 (21:46 +0200)]
fix macro usage

10 years agofix atol usage
Anatol Belski [Wed, 17 Sep 2014 18:43:23 +0000 (20:43 +0200)]
fix atol usage

10 years agoOptimized enterance into functions
Dmitry Stogov [Wed, 17 Sep 2014 12:17:58 +0000 (16:17 +0400)]
Optimized enterance into functions

10 years agoreduce struct size by 8 byte on 64 bit
Anatol Belski [Wed, 17 Sep 2014 07:17:34 +0000 (09:17 +0200)]
reduce struct size by 8 byte on 64 bit

10 years agoimprove empty string check
Anatol Belski [Wed, 17 Sep 2014 07:16:59 +0000 (09:16 +0200)]
improve empty string check

10 years agoreduce struct size by 8 byte on 64 bit
Anatol Belski [Wed, 17 Sep 2014 07:16:00 +0000 (09:16 +0200)]
reduce struct size by 8 byte on 64 bit

10 years agoreduce the struct size by 8 byte on 64 bit
Anatol Belski [Wed, 17 Sep 2014 07:10:26 +0000 (09:10 +0200)]
reduce the struct size by 8 byte on 64 bit

10 years agoreduce struct size by 8 byte on 64 bit
Anatol Belski [Wed, 17 Sep 2014 07:03:47 +0000 (09:03 +0200)]
reduce struct size by 8 byte on 64 bit

10 years agoavoid strlen() usage in the loop
Anatol Belski [Wed, 17 Sep 2014 06:59:19 +0000 (08:59 +0200)]
avoid strlen() usage in the loop

10 years agofix printf fmt
Anatol Belski [Tue, 16 Sep 2014 22:50:23 +0000 (00:50 +0200)]
fix printf fmt

10 years agofix signed/unsigned mismatch
Anatol Belski [Tue, 16 Sep 2014 21:25:18 +0000 (23:25 +0200)]
fix signed/unsigned mismatch

10 years agofix signed/unsigned mismatch warnings
Anatol Belski [Tue, 16 Sep 2014 20:47:30 +0000 (22:47 +0200)]
fix signed/unsigned mismatch warnings

10 years agoUse runtime-cache to avoid hash lookups in BIND_GLOBAL instruction
Dmitry Stogov [Tue, 16 Sep 2014 20:52:45 +0000 (00:52 +0400)]
Use runtime-cache to avoid hash lookups in BIND_GLOBAL instruction

10 years agooptimized colision list traverse
Dmitry Stogov [Tue, 16 Sep 2014 20:52:03 +0000 (00:52 +0400)]
optimized colision list traverse

10 years agofix signed/unsigned mismatch
Anatol Belski [Tue, 16 Sep 2014 20:15:27 +0000 (22:15 +0200)]
fix signed/unsigned mismatch

10 years agofix signed/unsigned mismatch
Anatol Belski [Tue, 16 Sep 2014 19:06:22 +0000 (21:06 +0200)]
fix signed/unsigned mismatch

10 years agofix signed/unsigned mismatch
Anatol Belski [Tue, 16 Sep 2014 18:44:45 +0000 (20:44 +0200)]
fix signed/unsigned mismatch

10 years agofix signed/unsigned mismatch
Anatol Belski [Tue, 16 Sep 2014 18:33:25 +0000 (20:33 +0200)]
fix signed/unsigned mismatch

10 years agoredo the fix with cast to size_t
Anatol Belski [Tue, 16 Sep 2014 11:22:00 +0000 (13:22 +0200)]
redo the fix with cast to size_t

10 years agoredo the fix casting to size_t
Anatol Belski [Tue, 16 Sep 2014 10:53:25 +0000 (12:53 +0200)]
redo the fix casting to size_t

10 years agoredo the fix casting to size_t where applicable
Anatol Belski [Tue, 16 Sep 2014 10:48:15 +0000 (12:48 +0200)]
redo the fix casting to size_t where applicable

10 years agofixed type
Anatol Belski [Mon, 15 Sep 2014 19:13:48 +0000 (21:13 +0200)]
fixed type

10 years agofix signed/unsigned mismatch warnings
Anatol Belski [Mon, 15 Sep 2014 19:10:18 +0000 (21:10 +0200)]
fix signed/unsigned mismatch warnings

10 years agofixed signed/unsigned mismatch warning
Anatol Belski [Mon, 15 Sep 2014 19:03:26 +0000 (21:03 +0200)]
fixed signed/unsigned mismatch warning

10 years agoDrop BC alias HASH_NON_EXISTANT
Nikita Popov [Tue, 16 Sep 2014 12:29:41 +0000 (14:29 +0200)]
Drop BC alias HASH_NON_EXISTANT

10 years agoRemove HASH_NEXT_INSERT flag
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.

10 years agoRemove two more always-true conditions
Nikita Popov [Tue, 16 Sep 2014 12:09:32 +0000 (14:09 +0200)]
Remove two more always-true conditions

10 years agoMerge branch 'pull-request/808'
krakjoe [Tue, 16 Sep 2014 14:40:31 +0000 (15:40 +0100)]
Merge branch 'pull-request/808'

10 years agoImprove opcache.fast_shutdown
Dmitry Stogov [Tue, 16 Sep 2014 11:28:46 +0000 (15:28 +0400)]
Improve opcache.fast_shutdown

10 years agobetter error messages in ZMM on Windows
Anatol Belski [Tue, 16 Sep 2014 10:27:25 +0000 (12:27 +0200)]
better error messages in ZMM on Windows

10 years agoemalloc() must not return NULL
Dmitry Stogov [Tue, 16 Sep 2014 09:53:26 +0000 (13:53 +0400)]
emalloc() must not return NULL

10 years agocode optimization
Dmitry Stogov [Tue, 16 Sep 2014 09:52:50 +0000 (13:52 +0400)]
code optimization

10 years agoMerge branch 'PHP-5.6'
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

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
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

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
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

10 years agoFixed 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.

10 years agows
Dmitry Stogov [Tue, 16 Sep 2014 07:56:56 +0000 (11:56 +0400)]
ws

10 years agocast the other way round, the sign check is already done before
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

10 years agoit's good for gc debuging
Xinchen Hui [Tue, 16 Sep 2014 06:15:01 +0000 (14:15 +0800)]
it's good for gc debuging

10 years agoWe don't have to check for undefined CV if we fetch it for isset() operation
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

10 years agoSwitch (un)mangle property name to size_t and zend_string
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.

10 years agoOptimized FE_RESET and FE_FETCH
Dmitry Stogov [Mon, 15 Sep 2014 21:34:27 +0000 (01:34 +0400)]
Optimized FE_RESET and FE_FETCH

10 years agoRemove always-true comparisons
Nikita Popov [Mon, 15 Sep 2014 21:04:34 +0000 (23:04 +0200)]
Remove always-true comparisons

10 years agoUpdate types in zend_hash
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

10 years agofix signed/unsigned mismatch warnings
Anatol Belski [Mon, 15 Sep 2014 16:14:37 +0000 (18:14 +0200)]
fix signed/unsigned mismatch warnings

10 years agofix types
Anatol Belski [Mon, 15 Sep 2014 16:05:58 +0000 (18:05 +0200)]
fix types

10 years agofix signed/unsigned mismatch
Anatol Belski [Mon, 15 Sep 2014 15:51:07 +0000 (17:51 +0200)]
fix signed/unsigned mismatch

10 years agofix negating an unsigned
Anatol Belski [Mon, 15 Sep 2014 15:48:15 +0000 (17:48 +0200)]
fix negating an unsigned

10 years agofix signed/unsigned mismatch
Anatol Belski [Mon, 15 Sep 2014 14:52:19 +0000 (16:52 +0200)]
fix signed/unsigned mismatch

10 years agorevamp serialization to work with size_t for Serializable
Anatol Belski [Mon, 15 Sep 2014 14:32:18 +0000 (16:32 +0200)]
revamp serialization to work with size_t for Serializable

10 years agofix signed/unsigned mismatch
Anatol Belski [Mon, 15 Sep 2014 14:14:37 +0000 (16:14 +0200)]
fix signed/unsigned mismatch

10 years agofix signed/unsigned mismatch
Anatol Belski [Mon, 15 Sep 2014 14:04:12 +0000 (16:04 +0200)]
fix signed/unsigned mismatch

10 years agofix most of signed/unsigned warnings in vm def
Anatol Belski [Mon, 15 Sep 2014 13:52:39 +0000 (15:52 +0200)]
fix most of signed/unsigned warnings in vm def

10 years agoMerge branch 'PHP-5.6'
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

10 years agoNEWS
Remi Collet [Mon, 15 Sep 2014 11:32:13 +0000 (13:32 +0200)]
NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
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

10 years agoNEWS
Remi Collet [Mon, 15 Sep 2014 11:31:17 +0000 (13:31 +0200)]
NEWS

10 years agoFixed bug #65641 PHP-FPM incorrectly defines the SCRIPT_NAME variable when using...
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

10 years agocorrect fix to the natcmp_ex
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.