]> granicus.if.org Git - php/log
php
14 years agoPrevented crash in GC because of incorrect reference counting
Dmitry Stogov [Thu, 30 Sep 2010 14:11:51 +0000 (14:11 +0000)]
Prevented crash in GC because of incorrect reference counting

14 years agoLoosen the valgrind version check slightly in run-tests.php so that it works
Adam Harvey [Thu, 30 Sep 2010 11:16:45 +0000 (11:16 +0000)]
Loosen the valgrind version check slightly in run-tests.php so that it works
with the packaged valgrind in Ubuntu 10.04.

14 years agoFixed bug #52941 (The 'iconv_mime_decode_headers' function is skipping
Adam Harvey [Thu, 30 Sep 2010 11:04:21 +0000 (11:04 +0000)]
Fixed bug #52941 (The 'iconv_mime_decode_headers' function is skipping
headers).

14 years ago- Fixed bug #52944 (Invalid write on second and subsequent reads with an inflate...
Gustavo André dos Santos Lopes [Wed, 29 Sep 2010 18:58:58 +0000 (18:58 +0000)]
- Fixed bug #52944 (Invalid write on second and subsequent reads with an inflate filter fed invalid data).

14 years agoFix a problem that leads to leaks in plugins that
Andrey Hristov [Wed, 29 Sep 2010 13:18:07 +0000 (13:18 +0000)]
Fix a problem that leads to leaks in plugins that
use stmt local data - no free is called for statements
that are over-prepared

14 years agofix the test
Andrey Hristov [Wed, 29 Sep 2010 11:40:57 +0000 (11:40 +0000)]
fix the test

14 years ago- Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain used)
Felipe Pena [Wed, 29 Sep 2010 01:25:35 +0000 (01:25 +0000)]
- Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain used)

14 years agoRemove non C90 quotes
Stanley Sufficool [Wed, 29 Sep 2010 00:55:43 +0000 (00:55 +0000)]
Remove non C90 quotes

14 years agoadd another hook, maybe the last one, for MYSQLND_STMT, which
Andrey Hristov [Tue, 28 Sep 2010 14:36:18 +0000 (14:36 +0000)]
add another hook, maybe the last one, for MYSQLND_STMT, which
was missed before

14 years ago- Fixed possible flaw in open_basedir (CVE-2010-3436)
Pierre Joye [Tue, 28 Sep 2010 13:29:33 +0000 (13:29 +0000)]
- Fixed possible flaw in open_basedir (CVE-2010-3436)

14 years ago- Fixed bug #52931 (strripos not overloaded with function overloading enabled)
Felipe Pena [Mon, 27 Sep 2010 23:09:00 +0000 (23:09 +0000)]
- Fixed bug #52931 (strripos not overloaded with function overloading enabled)

14 years ago- Updated to version 2010.13 (2010m)
Derick Rethans [Mon, 27 Sep 2010 13:57:42 +0000 (13:57 +0000)]
- Updated to version 2010.13 (2010m)

14 years agoFixed bug #45921 (Can't initialize character set hebrew)
Andrey Hristov [Mon, 27 Sep 2010 12:37:23 +0000 (12:37 +0000)]
Fixed bug #45921 (Can't initialize character set hebrew)
sorry for committing it separated

14 years agoFix the value, it was bumped
Andrey Hristov [Mon, 27 Sep 2010 11:23:01 +0000 (11:23 +0000)]
Fix the value, it was bumped

14 years agoFix bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large
Adam Harvey [Mon, 27 Sep 2010 07:08:04 +0000 (07:08 +0000)]
Fix bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large
amount of data).

14 years agoRemoved a TSRMLS_FETCH() call in php_idate() in favor of the TSRMLS macros
Kalle Sommer Nielsen [Mon, 27 Sep 2010 01:19:57 +0000 (01:19 +0000)]
Removed a TSRMLS_FETCH() call in php_idate() in favor of the TSRMLS macros

14 years ago- fix bug #52926, zlib fopen wrapper does not use the context
Pierre Joye [Sun, 26 Sep 2010 20:46:54 +0000 (20:46 +0000)]
- fix bug #52926, zlib fopen wrapper does not use the context

14 years agoUpdate getColumnMeta native types for SQL Server 2008
Stanley Sufficool [Sun, 26 Sep 2010 20:16:25 +0000 (20:16 +0000)]
Update getColumnMeta native types for SQL Server 2008

14 years agoFix failing phar tests.
Adam Harvey [Fri, 24 Sep 2010 08:53:00 +0000 (08:53 +0000)]
Fix failing phar tests.

14 years agoWS fixes
Andrey Hristov [Thu, 23 Sep 2010 16:03:22 +0000 (16:03 +0000)]
WS fixes

14 years agoLet's try not to have 'uft8'-only tests and avoid setting the charset upon connect...
Ulf Wendel [Thu, 23 Sep 2010 15:08:43 +0000 (15:08 +0000)]
Let's try not to have 'uft8'-only tests and avoid setting the charset upon connect. I've changed the tests to make no assumptions on the server charset setting. var_dump()/EXPECTF tests got replaced with dynamic tests which try to take the current charset into account.

14 years agoEliminate a TSRMLS_FETCH() call in case of an error in one of the ereg functions
Kalle Sommer Nielsen [Thu, 23 Sep 2010 04:51:02 +0000 (04:51 +0000)]
Eliminate a TSRMLS_FETCH() call in case of an error in one of the ereg functions

14 years agoThere are a few cases where we can save a TSRMLS_FETCH() call here
Kalle Sommer Nielsen [Thu, 23 Sep 2010 04:50:26 +0000 (04:50 +0000)]
There are a few cases where we can save a TSRMLS_FETCH() call here

14 years agoFix up the vim folds in phar_object.c and add a note that the two prototypes
Adam Harvey [Thu, 23 Sep 2010 04:41:14 +0000 (04:41 +0000)]
Fix up the vim folds in phar_object.c and add a note that the two prototypes
before Phar::__construct() are actually valid and not a mistake, per bug
#52909.

14 years agoAdded TSRMLS macros into php_get_current_user()
Kalle Sommer Nielsen [Thu, 23 Sep 2010 04:13:36 +0000 (04:13 +0000)]
Added TSRMLS macros into php_get_current_user()

14 years agoCast to char * here
Kalle Sommer Nielsen [Thu, 23 Sep 2010 03:54:54 +0000 (03:54 +0000)]
Cast to char * here

14 years agoMissed to check this one in the last commit
Kalle Sommer Nielsen [Thu, 23 Sep 2010 03:49:26 +0000 (03:49 +0000)]
Missed to check this one in the last commit

14 years agoFixed compiler warnings in the standard library
Kalle Sommer Nielsen [Thu, 23 Sep 2010 03:45:36 +0000 (03:45 +0000)]
Fixed compiler warnings in the standard library

14 years agoFixed signedness compiler warning
Kalle Sommer Nielsen [Thu, 23 Sep 2010 03:33:36 +0000 (03:33 +0000)]
Fixed signedness compiler warning

14 years agoUnify, force one charset at connect, thus fixing
Andrey Hristov [Wed, 22 Sep 2010 18:25:33 +0000 (18:25 +0000)]
Unify, force one charset at connect, thus fixing
test failures because different servers have different
system charsets.

14 years agoTest update for sql_mode = ansi
Ulf Wendel [Wed, 22 Sep 2010 15:22:22 +0000 (15:22 +0000)]
Test update for sql_mode = ansi

14 years agoTest update for sql_mode = ANSI
Ulf Wendel [Wed, 22 Sep 2010 15:16:07 +0000 (15:16 +0000)]
Test update for sql_mode = ANSI

14 years agohere comes the news
Andrey Hristov [Wed, 22 Sep 2010 15:15:11 +0000 (15:15 +0000)]
here comes the news

14 years agoFix for
Andrey Hristov [Wed, 22 Sep 2010 15:14:04 +0000 (15:14 +0000)]
Fix for
Request #48082 mysql_connect does not work with named pipes

14 years agosmall macro fix
Andrey Hristov [Wed, 22 Sep 2010 14:54:43 +0000 (14:54 +0000)]
small macro fix

14 years agofix for bug 52891 - optimize a bit
Andrey Hristov [Wed, 22 Sep 2010 14:26:43 +0000 (14:26 +0000)]
fix for bug 52891 - optimize a bit

14 years agoFix for
Andrey Hristov [Wed, 22 Sep 2010 11:38:49 +0000 (11:38 +0000)]
Fix for
Bug #52891 Wrong data inserted with mysqli/mysqlnd when using bind_param,value>LONG_MAX

14 years agoupdate tests
Andrey Hristov [Wed, 22 Sep 2010 11:09:29 +0000 (11:09 +0000)]
update tests

14 years ago- Fixed EG(saved_fpu_cw) initialization
Felipe Pena [Wed, 22 Sep 2010 00:11:34 +0000 (00:11 +0000)]
- Fixed EG(saved_fpu_cw) initialization

14 years agoTrying to pimp gcov.php.net code coverage tests.. trying to cover mysqlnd compress...
Ulf Wendel [Mon, 20 Sep 2010 19:01:13 +0000 (19:01 +0000)]
Trying to pimp gcov.php.net code coverage tests..  trying to cover mysqlnd compress code with a standard test run

14 years agoAlign test to the style used in the other tests
Ulf Wendel [Mon, 20 Sep 2010 18:26:11 +0000 (18:26 +0000)]
Align test to the style used in the other tests

14 years agoNo reason not to run the tests with libmysql. Its long, long ago that pconnect has...
Ulf Wendel [Mon, 20 Sep 2010 17:26:39 +0000 (17:26 +0000)]
No reason not to run the tests with libmysql. Its long, long ago that pconnect has been a mysqlnd only feature

14 years agoFixed a compiler warning
Ilia Alshanetsky [Mon, 20 Sep 2010 12:48:27 +0000 (12:48 +0000)]
Fixed a compiler warning

14 years agoFixed bug #52888 (Zend MM shutdown crash)
Dmitry Stogov [Mon, 20 Sep 2010 12:12:42 +0000 (12:12 +0000)]
Fixed bug #52888 (Zend MM shutdown crash)

14 years agoReverted wrong patch
Dmitry Stogov [Mon, 20 Sep 2010 10:45:22 +0000 (10:45 +0000)]
Reverted wrong patch

14 years agoDont be strict on error messages, they can vary by server version
Ulf Wendel [Mon, 20 Sep 2010 09:04:48 +0000 (09:04 +0000)]
Dont be strict on error messages, they can vary by server version

14 years agoadd test case for 52891
Andrey Hristov [Mon, 20 Sep 2010 09:02:31 +0000 (09:02 +0000)]
add test case for 52891

14 years agoFix incompatible types, we need to use a char here for recv()
Kalle Sommer Nielsen [Sun, 19 Sep 2010 19:18:30 +0000 (19:18 +0000)]
Fix incompatible types, we need to use a char here for recv()

14 years agofixed compilation error.
Rui Hirokawa [Sun, 19 Sep 2010 01:28:32 +0000 (01:28 +0000)]
fixed compilation error.

14 years agoImproved performance of unserialize(), original patch by galaxy dot mipt at gmail...
Kalle Sommer Nielsen [Sat, 18 Sep 2010 16:09:28 +0000 (16:09 +0000)]
Improved performance of unserialize(), original patch by galaxy dot mipt at gmail dot com

14 years agoSkip if PDO_SQLITE is not available
Ulf Wendel [Fri, 17 Sep 2010 17:11:21 +0000 (17:11 +0000)]
Skip if PDO_SQLITE is not available

14 years agoRemove OS dependent directory separator from EXPECT
Ulf Wendel [Fri, 17 Sep 2010 16:40:02 +0000 (16:40 +0000)]
Remove OS dependent directory separator from EXPECT

14 years ago- restore VOLUME_NAME_NT and VOLUME_NAME_DOS definition, thx Andrey for the headup
Pierre Joye [Fri, 17 Sep 2010 11:34:49 +0000 (11:34 +0000)]
- restore VOLUME_NAME_NT and VOLUME_NAME_DOS definition, thx Andrey for the headup

14 years ago- fix ts build (zend_list_insert change)
Pierre Joye [Fri, 17 Sep 2010 10:51:53 +0000 (10:51 +0000)]
- fix ts build (zend_list_insert change)

14 years ago- use popen_ex directly, avoid the tsrm fetch
Pierre Joye [Fri, 17 Sep 2010 10:04:28 +0000 (10:04 +0000)]
- use popen_ex directly, avoid the tsrm fetch

14 years ago- drop tsrmls_fetch in popen_ex
Pierre Joye [Fri, 17 Sep 2010 10:00:01 +0000 (10:00 +0000)]
- drop tsrmls_fetch in popen_ex

14 years ago- drop tsrmls_fetch in tsrm_win32_access
Pierre Joye [Fri, 17 Sep 2010 09:27:19 +0000 (09:27 +0000)]
- drop tsrmls_fetch in tsrm_win32_access

14 years ago- drop TSRMLS_FETCH in sapi_register_* (won't bring much at runtime :) ) and cleanup...
Pierre Joye [Fri, 17 Sep 2010 08:42:12 +0000 (08:42 +0000)]
- drop TSRMLS_FETCH in sapi_register_* (won't bring much at runtime :) ) and cleanup/group the upgrade guide, no need of twenty titles for the same change

14 years ago- drop TSRMLS_FETCH in sapi_register_* (won't bring much at runtime :) ) and cleanup...
Pierre Joye [Fri, 17 Sep 2010 08:41:05 +0000 (08:41 +0000)]
- drop TSRMLS_FETCH in sapi_register_* (won't bring much at runtime :) ) and cleanup/group the upgrade guide, no need of twenty titles for the same change

14 years agofix ZTS build
Antony Dovgal [Fri, 17 Sep 2010 07:07:52 +0000 (07:07 +0000)]
fix ZTS build

14 years ago- Added missing entries related to pdo_dblib
Felipe Pena [Thu, 16 Sep 2010 21:49:48 +0000 (21:49 +0000)]
- Added missing entries related to pdo_dblib

14 years ago- WS
Pierre Joye [Thu, 16 Sep 2010 19:15:26 +0000 (19:15 +0000)]
- WS

14 years agoImplement FR #44331 (Formatting option for json_encode). Bikeshedding about the
Adam Harvey [Thu, 16 Sep 2010 16:21:15 +0000 (16:21 +0000)]
Implement FR #44331 (Formatting option for json_encode). Bikeshedding about the
exact form of the JSON pretty printing and brace handling will only be accepted
in the form of patches. ;)

14 years agoRebalance the folds in json.c.
Adam Harvey [Thu, 16 Sep 2010 14:15:19 +0000 (14:15 +0000)]
Rebalance the folds in json.c.

14 years agoImplemented FR #49366 (Make slash escaping optional in json_encode()).
Adam Harvey [Thu, 16 Sep 2010 13:53:27 +0000 (13:53 +0000)]
Implemented FR #49366 (Make slash escaping optional in json_encode()).

14 years ago- zend_list_insert TSRMLS fix (thx tony for the headup)
Pierre Joye [Thu, 16 Sep 2010 13:34:51 +0000 (13:34 +0000)]
- zend_list_insert TSRMLS fix (thx tony for the headup)

14 years ago- cleanup ze1/ze2
Pierre Joye [Thu, 16 Sep 2010 10:01:51 +0000 (10:01 +0000)]
- cleanup ze1/ze2

14 years ago- use TSRMLS_D/C with php_stream_context_alloc
Pierre Joye [Thu, 16 Sep 2010 09:33:42 +0000 (09:33 +0000)]
- use TSRMLS_D/C with php_stream_context_alloc

14 years ago- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert, missing header
Pierre Joye [Thu, 16 Sep 2010 09:18:46 +0000 (09:18 +0000)]
- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert, missing header

14 years ago- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert
Pierre Joye [Thu, 16 Sep 2010 09:13:19 +0000 (09:13 +0000)]
- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert

14 years ago- unused, double declared
Pierre Joye [Wed, 15 Sep 2010 22:25:44 +0000 (22:25 +0000)]
- unused, double declared

14 years ago- not there anymore
Pierre Joye [Wed, 15 Sep 2010 22:11:28 +0000 (22:11 +0000)]
- not there anymore

14 years ago- macros--; ZEND_FAST_* are now gone
Pierre Joye [Wed, 15 Sep 2010 17:27:43 +0000 (17:27 +0000)]
- macros--; ZEND_FAST_* are now gone

14 years ago- update and restore TOC
Pierre Joye [Wed, 15 Sep 2010 17:04:22 +0000 (17:04 +0000)]
- update and restore TOC

14 years ago- not used anymore
Pierre Joye [Wed, 15 Sep 2010 16:58:11 +0000 (16:58 +0000)]
- not used anymore

14 years agoremove unneeded proxy function _mysqlnd_restart_psessoin
Andrey Hristov [Wed, 15 Sep 2010 12:23:45 +0000 (12:23 +0000)]
remove unneeded proxy function _mysqlnd_restart_psessoin

14 years agoRemove unneeded proxy function _mysqlnd_end_psession
Andrey Hristov [Wed, 15 Sep 2010 12:11:33 +0000 (12:11 +0000)]
Remove unneeded proxy function _mysqlnd_end_psession

14 years agoFix bug #52849 (GNU MP invalid version match).
Adam Harvey [Wed, 15 Sep 2010 10:51:55 +0000 (10:51 +0000)]
Fix bug #52849 (GNU MP invalid version match).

14 years agoRegenerated
Dmitry Stogov [Wed, 15 Sep 2010 07:39:57 +0000 (07:39 +0000)]
Regenerated

14 years ago- Improved memory usage
Dmitry Stogov [Wed, 15 Sep 2010 07:38:52 +0000 (07:38 +0000)]
- Improved memory usage
  . zend_function.pass_rest_by_reference is replaced by
    ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags
  . zend_function.return_reference is replaced by ZEND_ACC_RETURN_REFERENCE
    in zend_function.fn_flags
  . zend_arg_info.required_num_args removed. it was needed only for internal
    functions. Now the first arg_info for internal function (which has special
    meaning) is represented by zend_internal_function_info structure.
  . zend_op_array.size, size_var, size_literal, current_brk_cont,
    backpatch_count moved into CG(context), because they are used only during
    compilation.
  . zend_op_array.start_op is moved into EG(start_op), because it's used
    only for 'interactive' execution of single top-level op-array.
  . zend_op_array.done_pass_two is replaced by ZEND_ACC_DONE_PASS_TWO in
    zend_op_array.fn_flags.
  . op_array.vars array is trimmed (reallocated) during pass_two.
  . zend_class_entry.constants_updated is replaced by
     ZEND_ACC_CONSTANTS_UPDATED in zend_class_entry.ce_flags
  . the size of zend_class_entry is reduced by sharing the same memory space
    by different information for internal and user classes.
    See zend_class_inttry.info union.

14 years ago- Fixed bug #52843 (Segfault when optional parameters are not passed in to mssql_connect)
Felipe Pena [Wed, 15 Sep 2010 02:12:46 +0000 (02:12 +0000)]
- Fixed bug #52843 (Segfault when optional parameters are not passed in to mssql_connect)

14 years ago- remove a memory leak (missing efree())
Jérôme Loyet [Tue, 14 Sep 2010 15:33:43 +0000 (15:33 +0000)]
- remove a memory leak (missing efree())

14 years ago- Don't be silent on bailout
Johannes Schlüter [Tue, 14 Sep 2010 14:26:37 +0000 (14:26 +0000)]
- Don't be silent on bailout

14 years agoFix bug #52827 (cURL leaks handle and causes assertion error (CURLOPT_STDERR)).
Adam Harvey [Tue, 14 Sep 2010 10:58:59 +0000 (10:58 +0000)]
Fix bug #52827 (cURL leaks handle and causes assertion error (CURLOPT_STDERR)).
Patch by Gustavo.

14 years ago- fix #48831 php -i has different output to php --ini
Pierre Joye [Tue, 14 Sep 2010 10:36:21 +0000 (10:36 +0000)]
- fix #48831  php -i has different output to php --ini

14 years agoFix English in the error message emitted when json_decode() is called with
Adam Harvey [Tue, 14 Sep 2010 03:46:28 +0000 (03:46 +0000)]
Fix English in the error message emitted when json_decode() is called with
depth <= 0.

14 years ago- fix build introduced by fix for #52772
Pierre Joye [Mon, 13 Sep 2010 21:54:47 +0000 (21:54 +0000)]
- fix build introduced by fix for #52772

14 years agoFixed bug #52772 (var_dump() doesn't check for the existence of get_class_name before...
Kalle Sommer Nielsen [Mon, 13 Sep 2010 20:14:18 +0000 (20:14 +0000)]
Fixed bug #52772 (var_dump() doesn't check for the existence of get_class_name before calling it)

14 years ago- use php_sys_sat
Pierre Joye [Mon, 13 Sep 2010 11:17:40 +0000 (11:17 +0000)]
- use php_sys_sat

14 years ago- ws
Pierre Joye [Mon, 13 Sep 2010 11:06:18 +0000 (11:06 +0000)]
- ws

14 years ago- sanity check for the path length and don't treat UNC as local path (no functional...
Pierre Joye [Mon, 13 Sep 2010 10:58:18 +0000 (10:58 +0000)]
- sanity check for the path length and don't treat UNC as local path (no functional change, only less ops)

14 years ago- silent warning
Pierre Joye [Mon, 13 Sep 2010 10:28:45 +0000 (10:28 +0000)]
- silent warning

14 years ago- use php_sys_lstat
Pierre Joye [Mon, 13 Sep 2010 10:27:55 +0000 (10:27 +0000)]
- use php_sys_lstat

14 years ago- use php_sys_readlink
Pierre Joye [Mon, 13 Sep 2010 09:30:07 +0000 (09:30 +0000)]
- use php_sys_readlink

14 years ago- WS
Pierre Joye [Mon, 13 Sep 2010 09:08:42 +0000 (09:08 +0000)]
- WS

14 years agoFix bug #52826 (phpinfo is incorrect for bzip2 stream wrapper).
Adam Harvey [Mon, 13 Sep 2010 07:41:39 +0000 (07:41 +0000)]
Fix bug #52826 (phpinfo is incorrect for bzip2 stream wrapper).

14 years ago- remove dummy wrapper for readfile
Pierre Joye [Sat, 11 Sep 2010 19:07:43 +0000 (19:07 +0000)]
- remove dummy wrapper for readfile

14 years ago- Fixed bug #49215 (make fails on glob_wrapper)
Felipe Pena [Fri, 10 Sep 2010 21:33:50 +0000 (21:33 +0000)]
- Fixed bug #49215 (make fails on glob_wrapper)

14 years ago- use OPENBASEDIR_CHECKPATH macro (does safe mode too in 5.3) so trunk and branches...
Pierre Joye [Fri, 10 Sep 2010 19:27:39 +0000 (19:27 +0000)]
- use OPENBASEDIR_CHECKPATH macro (does safe mode too in 5.3) so trunk and branches are the same

14 years ago- use php_sys_readlink
Pierre Joye [Fri, 10 Sep 2010 19:25:56 +0000 (19:25 +0000)]
- use php_sys_readlink