]>
granicus.if.org Git - php/log
Andrey Hristov [Tue, 5 Oct 2010 17:10:47 +0000 (17:10 +0000)]
two more compiler warnings fixed - size does matter
Andrey Hristov [Tue, 5 Oct 2010 17:03:50 +0000 (17:03 +0000)]
Rename a method so it doesn't clash with a global symbol - a function
Fix compiler waring by extening the type of a variable
Andrey Hristov [Tue, 5 Oct 2010 16:54:14 +0000 (16:54 +0000)]
Fix compiler warnings - on 32bit size_t is smaller than uint64_t, although
we will never hit this the compiler should be happy.
Andrey Hristov [Tue, 5 Oct 2010 16:27:49 +0000 (16:27 +0000)]
rename parameter, should not conflict with global symbol -
the socket function
Andrey Hristov [Tue, 5 Oct 2010 14:56:49 +0000 (14:56 +0000)]
remove trailing commas in enums
Ulf Wendel [Tue, 5 Oct 2010 14:41:08 +0000 (14:41 +0000)]
Fix test: third parameter can be false.
Antony Dovgal [Tue, 5 Oct 2010 13:43:35 +0000 (13:43 +0000)]
fix bug #50345 (nanosleep not detected properly on some solaris versions)
Ulf Wendel [Tue, 5 Oct 2010 12:42:53 +0000 (12:42 +0000)]
Greetings from SunCC.
ext/mysqli/mysqli_driver.c", line 127|128|129: warning: syntax error: empty declaration
Ilia Alshanetsky [Tue, 5 Oct 2010 12:27:00 +0000 (12:27 +0000)]
Removed debug code
Dmitry Stogov [Tue, 5 Oct 2010 11:43:59 +0000 (11:43 +0000)]
Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy with SoapClient object).
Dmitry Stogov [Tue, 5 Oct 2010 11:28:56 +0000 (11:28 +0000)]
Fixed bug #51008 (Zend/tests/bug45877.phpt fails)
Andrey Hristov [Tue, 5 Oct 2010 11:08:21 +0000 (11:08 +0000)]
add some safe casts
Patrick Allaert [Tue, 5 Oct 2010 10:42:13 +0000 (10:42 +0000)]
Fixed typo in tests (thx Eyal)
Andrey Hristov [Tue, 5 Oct 2010 10:30:00 +0000 (10:30 +0000)]
fixing more types
Kalle Sommer Nielsen [Tue, 5 Oct 2010 09:58:15 +0000 (09:58 +0000)]
Fixed constness compiler warning in pdo_mysql
Kalle Sommer Nielsen [Tue, 5 Oct 2010 09:40:36 +0000 (09:40 +0000)]
Fixed compiler warnings in mysqli
- mysqli.c: Fix unused variables, they are only used in non-mysqlnd mode
- mysqli_api.c (PHP_5_3 only): Fix constness, add_property_string expects a char *, not a const char *
- mysqli_prop.c: Cast to long, as its below the LONG_MAX and therefore safe
- mysqli_result_iterator.c: Cast to ulong as the iterator member expects that rather than a my_longlong
# In trunk only warnings regarding the zend_property_info
# structure is present and PHP_5_3 is warning free now
Andrey Hristov [Tue, 5 Oct 2010 08:56:21 +0000 (08:56 +0000)]
fix types
Ulf Wendel [Tue, 5 Oct 2010 08:29:54 +0000 (08:29 +0000)]
Fix warnings
ext\mysqlnd\mysqlnd_result_meta.c(57) : warning C4090: 'initializing' : different 'const' qualifiers
ext\mysqlnd\mysqlnd_result_meta.c(64) : warning C4090: 'initializing' : different 'const' qualifiers
ext\mysqli\mysqli_report.c(50) : warning C4013: 'php_mysqli_throw_sql_exception' undefined; assuming extern returning int
Andrey Hristov [Tue, 5 Oct 2010 08:17:33 +0000 (08:17 +0000)]
fix recent TSRM build break, with --enable-debug
Gustavo André dos Santos Lopes [Tue, 5 Oct 2010 02:34:35 +0000 (02:34 +0000)]
- Moved ucgendat.c to a separate directory and included the
OpenLDAP license there, as required by the license itself.
Gustavo André dos Santos Lopes [Tue, 5 Oct 2010 01:54:17 +0000 (01:54 +0000)]
- Fixed bug #52981 (Unicode casing table was out-of-date).
Updated with UnicodeData-6.0.0d7.txt and included the
source of the generator program with the distribution.
#The replaced tables, generated circa 2002, seem to reflect
#Unicode 3.2. I was unable to generate the same property
#offsets with Unicode 3.2 data, but all the tests I made
#indicate php_unicode_is_prop() is returning the correct
#values. The replaced file merely says it used a "modified
#version" of ucgendat, which is not very helpful. The results
#I got were not significantly different, only slightly higher
#offsets at two properties, which were carried over to the
#subsequent properties.
#I was, however, able to replicate precisely the casing table.
#The extent of the "modifications" besides omitting most of
#the tables, a slightly different layout and the casing table
#offsets having been multiplied by 3 is unclear.
#The test suite showed no regressions; however, it's very poor
#in testing the modified portion of the extension.
Felipe Pena [Mon, 4 Oct 2010 23:05:32 +0000 (23:05 +0000)]
- Fix build
Pierre Joye [Mon, 4 Oct 2010 22:34:02 +0000 (22:34 +0000)]
- missing file for webp
Pierre Joye [Mon, 4 Oct 2010 22:33:07 +0000 (22:33 +0000)]
- initial webp support, rely on libpx, final version will be either w/o dep or using libwebp (to be released by g)
Pierre Joye [Mon, 4 Oct 2010 22:30:35 +0000 (22:30 +0000)]
- initial webp support, rely on libpx, final version will be either w/o dep or using libwebp (to be released by g)
Kalle Sommer Nielsen [Mon, 4 Oct 2010 21:04:25 +0000 (21:04 +0000)]
We do not need this TSRMLS_FETCH() call as we do not use any TSRM stuff in here, so we can get
a minor boost here in ZTS mode.
Kalle Sommer Nielsen [Mon, 4 Oct 2010 20:33:58 +0000 (20:33 +0000)]
Skipped this one
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