]>
granicus.if.org Git - php/log
Kalle Sommer Nielsen [Mon, 4 Oct 2010 20:26:50 +0000 (20:26 +0000)]
Revert for now
Michael Maclean [Mon, 4 Oct 2010 20:20:30 +0000 (20:20 +0000)]
Un-deprecate mt_rand and deprecate mt_getrandmax
Dmitry Stogov [Mon, 4 Oct 2010 15:50:47 +0000 (15:50 +0000)]
Bug #51155 (Unreasonable non-emalloc allocations of memory)
Andrey Hristov [Mon, 4 Oct 2010 14:52:14 +0000 (14:52 +0000)]
fix two more warnings
Andrey Hristov [Mon, 4 Oct 2010 14:12:31 +0000 (14:12 +0000)]
add some safe casts - lower the number of warnings by 2
Andrey Hristov [Mon, 4 Oct 2010 13:54:30 +0000 (13:54 +0000)]
Fix const-ness
Ulf Wendel [Mon, 4 Oct 2010 13:36:23 +0000 (13:36 +0000)]
Trying to fix compiler warnings (on Windows).
Andrey Hristov [Mon, 4 Oct 2010 12:59:29 +0000 (12:59 +0000)]
Even better patch
Andrey Hristov [Mon, 4 Oct 2010 12:41:12 +0000 (12:41 +0000)]
don't define twice the macro on some platforms
Ulf Wendel [Mon, 4 Oct 2010 10:58:05 +0000 (10:58 +0000)]
Fixing compiler warning.
Ulf Wendel [Mon, 4 Oct 2010 10:51:44 +0000 (10:51 +0000)]
Fixing "ext/mysqlnd/mysqlnd.h", line 287: warning: syntax error: empty declaration"
Ulf Wendel [Mon, 4 Oct 2010 10:43:21 +0000 (10:43 +0000)]
Next one... ext/mysqli/mysqli_fe.c", line [many]: warning: syntax error: empty declaration
Ulf Wendel [Mon, 4 Oct 2010 10:40:16 +0000 (10:40 +0000)]
Fixing compiler warning "ext/mysqli/mysqli_prop.c", line [...]: warning: syntax error: empty declaration"
Pierre Joye [Mon, 4 Oct 2010 10:35:32 +0000 (10:35 +0000)]
- Fix #52908, fix declaration
Ulf Wendel [Mon, 4 Oct 2010 10:08:10 +0000 (10:08 +0000)]
Sorry again, nothing but removal of white space from the end of the lines.
- fix compile warning "ext/mysql/php_mysql.c:640:11: warning: extra tokens at end of #ifdef directive"
Ulf Wendel [Mon, 4 Oct 2010 10:02:58 +0000 (10:02 +0000)]
Sorry for the commit but compiler warnings are annoying and so are white spaces at the end of a line, if one uses an editor which removes them on save and diff's get blown
up by white space changes...
Changes:
- remove end of line white space
- fix compiler warning "ext/mysqli/mysqli_priv.h:156:27: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli_fe.h:135:25: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli.c:896:11: warning: extra tokens at end of #ifdef directive"
Dmitry Stogov [Mon, 4 Oct 2010 07:15:30 +0000 (07:15 +0000)]
- Fixed bug #52773 (Proxy objects have an inadequate destroy_object store callback)
- Fixed bug #52774 (Proxy object's store free callback calls zval_ptor_dtor on already freed data)
Gustavo André dos Santos Lopes [Mon, 4 Oct 2010 01:27:33 +0000 (01:27 +0000)]
- Implemented FR #50692, not uploaded files don't count towards
max_file_uploads limit.
- As a side improvement, temporary files are not opened for
empty uploads and, in debug mode, 0-length uploads.
Felipe Pena [Sun, 3 Oct 2010 16:01:38 +0000 (16:01 +0000)]
- Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8)
# In PCRE, by default, \d, \D, \s, \S, \w, and \W recognize only ASCII
# characters, even in UTF-8 mode. However, this can be changed by setting
# the PCRE_UCP option.
Gustavo André dos Santos Lopes [Sat, 2 Oct 2010 18:32:20 +0000 (18:32 +0000)]
- Fixed a small mistake in the fix for bug #50953 that made connection timeouts not be detected as such.
Dmitry Stogov [Fri, 1 Oct 2010 11:53:04 +0000 (11:53 +0000)]
Fixed bug #52940 (call_user_func_array still allows call-time pass-by-reference). (cataphract@php.net)
Dmitry Stogov [Fri, 1 Oct 2010 09:49:20 +0000 (09:49 +0000)]
Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)
Kalle Sommer Nielsen [Fri, 1 Oct 2010 09:18:44 +0000 (09:18 +0000)]
* Added PHP_RAND_MAX and PHP_MT_RAND_MAX constants
* Deprecated getrandmax() and mt_getrandmax() in favour of the new constants
# We should promote constants for static data like such instead of function calls
# maybe this was just an old left-over
Ulf Wendel [Fri, 1 Oct 2010 08:54:16 +0000 (08:54 +0000)]
Fix leak with persistent connections when using mysqli.default_host is used
Stanislav Malyshev [Fri, 1 Oct 2010 00:12:23 +0000 (00:12 +0000)]
Fix bug #52906 gmp_mod returns negative result when non-negative is expected
Andrey Hristov [Thu, 30 Sep 2010 18:10:03 +0000 (18:10 +0000)]
Plug a leak in mysqli when in the same script
a pconn is reused.
Call end_psession earlier - so will mysqlnd and
the plugins free data earlier.
Dmitry Stogov [Thu, 30 Sep 2010 14:11:51 +0000 (14:11 +0000)]
Prevented crash in GC because of incorrect reference counting
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.
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).
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).
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
Andrey Hristov [Wed, 29 Sep 2010 11:40:57 +0000 (11:40 +0000)]
fix the test
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)
Stanley Sufficool [Wed, 29 Sep 2010 00:55:43 +0000 (00:55 +0000)]
Remove non C90 quotes
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
Pierre Joye [Tue, 28 Sep 2010 13:29:33 +0000 (13:29 +0000)]
- Fixed possible flaw in open_basedir (CVE-2010-3436)
Felipe Pena [Mon, 27 Sep 2010 23:09:00 +0000 (23:09 +0000)]
- Fixed bug #52931 (strripos not overloaded with function overloading enabled)
Derick Rethans [Mon, 27 Sep 2010 13:57:42 +0000 (13:57 +0000)]
- Updated to version 2010.13 (2010m)
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
Andrey Hristov [Mon, 27 Sep 2010 11:23:01 +0000 (11:23 +0000)]
Fix the value, it was bumped
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).
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
Pierre Joye [Sun, 26 Sep 2010 20:46:54 +0000 (20:46 +0000)]
- fix bug #52926, zlib fopen wrapper does not use the context
Stanley Sufficool [Sun, 26 Sep 2010 20:16:25 +0000 (20:16 +0000)]
Update getColumnMeta native types for SQL Server 2008
Adam Harvey [Fri, 24 Sep 2010 08:53:00 +0000 (08:53 +0000)]
Fix failing phar tests.
Andrey Hristov [Thu, 23 Sep 2010 16:03:22 +0000 (16:03 +0000)]
WS fixes
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.
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
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
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.
Kalle Sommer Nielsen [Thu, 23 Sep 2010 04:13:36 +0000 (04:13 +0000)]
Added TSRMLS macros into php_get_current_user()
Kalle Sommer Nielsen [Thu, 23 Sep 2010 03:54:54 +0000 (03:54 +0000)]
Cast to char * here
Kalle Sommer Nielsen [Thu, 23 Sep 2010 03:49:26 +0000 (03:49 +0000)]
Missed to check this one in the last commit
Kalle Sommer Nielsen [Thu, 23 Sep 2010 03:45:36 +0000 (03:45 +0000)]
Fixed compiler warnings in the standard library
Kalle Sommer Nielsen [Thu, 23 Sep 2010 03:33:36 +0000 (03:33 +0000)]
Fixed signedness compiler warning
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.
Ulf Wendel [Wed, 22 Sep 2010 15:22:22 +0000 (15:22 +0000)]
Test update for sql_mode = ansi
Ulf Wendel [Wed, 22 Sep 2010 15:16:07 +0000 (15:16 +0000)]
Test update for sql_mode = ANSI
Andrey Hristov [Wed, 22 Sep 2010 15:15:11 +0000 (15:15 +0000)]
here comes the news
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
Andrey Hristov [Wed, 22 Sep 2010 14:54:43 +0000 (14:54 +0000)]
small macro fix
Andrey Hristov [Wed, 22 Sep 2010 14:26:43 +0000 (14:26 +0000)]
fix for bug 52891 - optimize a bit
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
Andrey Hristov [Wed, 22 Sep 2010 11:09:29 +0000 (11:09 +0000)]
update tests
Felipe Pena [Wed, 22 Sep 2010 00:11:34 +0000 (00:11 +0000)]
- Fixed EG(saved_fpu_cw) initialization
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
Ulf Wendel [Mon, 20 Sep 2010 18:26:11 +0000 (18:26 +0000)]
Align test to the style used in the other tests
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
Ilia Alshanetsky [Mon, 20 Sep 2010 12:48:27 +0000 (12:48 +0000)]
Fixed a compiler warning
Dmitry Stogov [Mon, 20 Sep 2010 12:12:42 +0000 (12:12 +0000)]
Fixed bug #52888 (Zend MM shutdown crash)
Dmitry Stogov [Mon, 20 Sep 2010 10:45:22 +0000 (10:45 +0000)]
Reverted wrong patch
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
Andrey Hristov [Mon, 20 Sep 2010 09:02:31 +0000 (09:02 +0000)]
add test case for 52891
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()
Rui Hirokawa [Sun, 19 Sep 2010 01:28:32 +0000 (01:28 +0000)]
fixed compilation error.
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
Ulf Wendel [Fri, 17 Sep 2010 17:11:21 +0000 (17:11 +0000)]
Skip if PDO_SQLITE is not available
Ulf Wendel [Fri, 17 Sep 2010 16:40:02 +0000 (16:40 +0000)]
Remove OS dependent directory separator from EXPECT
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
Pierre Joye [Fri, 17 Sep 2010 10:51:53 +0000 (10:51 +0000)]
- fix ts build (zend_list_insert change)
Pierre Joye [Fri, 17 Sep 2010 10:04:28 +0000 (10:04 +0000)]
- use popen_ex directly, avoid the tsrm fetch
Pierre Joye [Fri, 17 Sep 2010 10:00:01 +0000 (10:00 +0000)]
- drop tsrmls_fetch in popen_ex
Pierre Joye [Fri, 17 Sep 2010 09:27:19 +0000 (09:27 +0000)]
- drop tsrmls_fetch in tsrm_win32_access
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
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
Antony Dovgal [Fri, 17 Sep 2010 07:07:52 +0000 (07:07 +0000)]
fix ZTS build
Felipe Pena [Thu, 16 Sep 2010 21:49:48 +0000 (21:49 +0000)]
- Added missing entries related to pdo_dblib
Pierre Joye [Thu, 16 Sep 2010 19:15:26 +0000 (19:15 +0000)]
- WS
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. ;)
Adam Harvey [Thu, 16 Sep 2010 14:15:19 +0000 (14:15 +0000)]
Rebalance the folds in json.c.
Adam Harvey [Thu, 16 Sep 2010 13:53:27 +0000 (13:53 +0000)]
Implemented FR #49366 (Make slash escaping optional in json_encode()).
Pierre Joye [Thu, 16 Sep 2010 13:34:51 +0000 (13:34 +0000)]
- zend_list_insert TSRMLS fix (thx tony for the headup)
Pierre Joye [Thu, 16 Sep 2010 10:01:51 +0000 (10:01 +0000)]
- cleanup ze1/ze2
Pierre Joye [Thu, 16 Sep 2010 09:33:42 +0000 (09:33 +0000)]
- use TSRMLS_D/C with php_stream_context_alloc
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
Pierre Joye [Thu, 16 Sep 2010 09:13:19 +0000 (09:13 +0000)]
- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert
Pierre Joye [Wed, 15 Sep 2010 22:25:44 +0000 (22:25 +0000)]
- unused, double declared
Pierre Joye [Wed, 15 Sep 2010 22:11:28 +0000 (22:11 +0000)]
- not there anymore
Pierre Joye [Wed, 15 Sep 2010 17:27:43 +0000 (17:27 +0000)]
- macros--; ZEND_FAST_* are now gone
Pierre Joye [Wed, 15 Sep 2010 17:04:22 +0000 (17:04 +0000)]
- update and restore TOC