]> granicus.if.org Git - php/log
php
14 years agoSorry for the commit but compiler warnings are annoying and so are white spaces at...
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"

14 years ago- Implemented FR #50692, not uploaded files don't count towards
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.

14 years ago- Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8)
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.

14 years ago- Fixed a small mistake in the fix for bug #50953 that made connection timeouts not...
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.

14 years agoFixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be...
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)

14 years agoFix leak with persistent connections when using mysqli.default_host is used
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

14 years agoFix bug #52906 gmp_mod returns negative result when non-negative is expected
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

14 years agoPlug a leak in mysqli when in the same script
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.

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 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:30:30 +0000 (13:30 +0000)]
- Fixed possible flaw in open_basedir (CVE-2010-3436)

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:35:59 +0000 (12:35 +0000)]
Fixed bug #45921 (Can't initialize character set hebrew)

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 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 agoMFH: fix phar phpinfo() tests.
Adam Harvey [Fri, 24 Sep 2010 12:13:33 +0000 (12:13 +0000)]
MFH: fix phar phpinfo() 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 agoMerge from head: do not use deprecated function aliases. The test logic is unchanged.
Ulf Wendel [Thu, 23 Sep 2010 14:59:13 +0000 (14:59 +0000)]
Merge from head: do not use deprecated function aliases. The test logic is unchanged.

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 ago- Fix #52908, fix declaration
Pierre Joye [Wed, 22 Sep 2010 21:28:37 +0000 (21:28 +0000)]
- Fix #52908, fix declaration

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 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 agohier comes the news
Andrey Hristov [Wed, 22 Sep 2010 11:40:20 +0000 (11:40 +0000)]
hier comes the news

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 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 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 ago- not needed here anymore
Pierre Joye [Sat, 18 Sep 2010 14:54:40 +0000 (14:54 +0000)]
- not needed here anymore

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- WS
Pierre Joye [Thu, 16 Sep 2010 19:15:26 +0000 (19:15 +0000)]
- WS

14 years ago- fix news
Pierre Joye [Wed, 15 Sep 2010 16:59:57 +0000 (16:59 +0000)]
- fix news

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 agoFix test
Ulf Wendel [Wed, 15 Sep 2010 08:20:15 +0000 (08:20 +0000)]
Fix test

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 agounify magic quotes handling. Also fix a problem which
Andrey Hristov [Tue, 14 Sep 2010 16:09:42 +0000 (16:09 +0000)]
unify magic quotes handling. Also fix a problem which
resulted in a longjmp in debug PHP,because of usage of
zval that is NULL in a hash context.

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 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- MFH
Pierre Joye [Mon, 13 Sep 2010 10:30:21 +0000 (10:30 +0000)]
- MFH

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 php_sys_readlink
Pierre Joye [Fri, 10 Sep 2010 19:25:56 +0000 (19:25 +0000)]
- use php_sys_readlink

14 years ago- remove 'UNC' from the target
Pierre Joye [Fri, 10 Sep 2010 19:21:02 +0000 (19:21 +0000)]
- remove 'UNC' from the target

14 years ago- open_basedir symlink support for Windows
Pierre Joye [Fri, 10 Sep 2010 17:45:13 +0000 (17:45 +0000)]
- open_basedir symlink support for Windows

14 years ago- Implement bug #51804, splFileInfo::getLinkTarget() on Windows
Pierre Joye [Fri, 10 Sep 2010 14:17:40 +0000 (14:17 +0000)]
- Implement bug #51804, splFileInfo::getLinkTarget() on Windows

14 years ago- add php_sys_readlink
Pierre Joye [Fri, 10 Sep 2010 14:01:44 +0000 (14:01 +0000)]
- add php_sys_readlink

14 years agoFix bug #52802 (Out-of-date comment for
Adam Harvey [Fri, 10 Sep 2010 03:08:05 +0000 (03:08 +0000)]
Fix bug #52802 (Out-of-date comment for
file_get_contents/php_stream_copy_to_mem) by updating the relevant comments.

14 years ago- Fixed test
Felipe Pena [Thu, 9 Sep 2010 21:46:29 +0000 (21:46 +0000)]
- Fixed test

14 years agoFixed bug #52744 (cal_days_in_month incorrect for December 1 BCE). Original
Adam Harvey [Thu, 9 Sep 2010 06:41:23 +0000 (06:41 +0000)]
Fixed bug #52744 (cal_days_in_month incorrect for December 1 BCE). Original
patch by gpap at internet dot gr.

14 years agoFix bug #52786 (PHP should reset section to [PHP] after ini sections). Patch by
Adam Harvey [Thu, 9 Sep 2010 05:11:05 +0000 (05:11 +0000)]
Fix bug #52786 (PHP should reset section to [PHP] after ini sections). Patch by
Fedora at famillecollet dot com.

14 years agoFix bug ordering in NEWS.
Adam Harvey [Thu, 9 Sep 2010 05:08:58 +0000 (05:08 +0000)]
Fix bug ordering in NEWS.

14 years ago- fix the fix for bug #52323
Pierre Joye [Wed, 8 Sep 2010 11:51:11 +0000 (11:51 +0000)]
- fix the fix for bug #52323

14 years ago- WS
Pierre Joye [Wed, 8 Sep 2010 10:26:59 +0000 (10:26 +0000)]
- WS

14 years ago- Fix bug #52323, return value of php_network_connect_socket should be set even if...
Pierre Joye [Wed, 8 Sep 2010 10:25:40 +0000 (10:25 +0000)]
- Fix bug #52323, return value of php_network_connect_socket should be set even if the caller does not care about the error_string

14 years ago- Fix #50524, proc_open should respect cwd as it does on other platforms
Pierre Joye [Wed, 8 Sep 2010 08:34:57 +0000 (08:34 +0000)]
- Fix #50524, proc_open should respect cwd as it does on other platforms

14 years ago- remove FPM specific version which is irrelevant since FPM integration into core.
Jérôme Loyet [Tue, 7 Sep 2010 22:03:43 +0000 (22:03 +0000)]
- remove FPM specific version which is irrelevant since FPM integration into core.

14 years ago- Fixed bug #52498 (libevent was not only linked to php-fpm)
Jérôme Loyet [Tue, 7 Sep 2010 21:12:28 +0000 (21:12 +0000)]
- Fixed bug #52498 (libevent was not only linked to php-fpm)

14 years ago- fix bug #50953, socket will not connect to IPv4 address when the host has both...
Pierre Joye [Tue, 7 Sep 2010 09:47:36 +0000 (09:47 +0000)]
- fix bug #50953, socket will not connect to IPv4 address when the host has both ipv4 and ipv6 addresses

14 years ago- links related fixes
Pierre Joye [Mon, 6 Sep 2010 14:54:43 +0000 (14:54 +0000)]
- links related fixes

14 years ago- fix bug #52260, catch all DNS not found error
Pierre Joye [Mon, 6 Sep 2010 10:57:42 +0000 (10:57 +0000)]
- fix bug #52260, catch all DNS not found error

14 years ago- timeval element are always 32bit long on Windows
Pierre Joye [Mon, 6 Sep 2010 10:39:26 +0000 (10:39 +0000)]
- timeval element are always 32bit long on Windows

14 years ago- kill warning
Pierre Joye [Mon, 6 Sep 2010 10:28:04 +0000 (10:28 +0000)]
- kill warning

14 years ago- restore credits, fix 5.3 as well, aka do it right /cc Deric
Pierre Joye [Sun, 5 Sep 2010 14:38:35 +0000 (14:38 +0000)]
- restore credits, fix 5.3 as well, aka do it right /cc Deric

14 years ago- Clean up the generated tmp-php.ini after make test has run.
Derick Rethans [Sun, 5 Sep 2010 12:29:47 +0000 (12:29 +0000)]
- Clean up the generated tmp-php.ini after make test has run.

14 years agoThis incorrect contraction started to get on my eyes after I saw it for the
Rasmus Lerdorf [Fri, 3 Sep 2010 22:24:08 +0000 (22:24 +0000)]
This incorrect contraction started to get on my eyes after I saw it for the
87th time while struggling with an annoying SOAP service.

14 years agoTest for http://bugs.php.net/52221. Test will fail with mysqlnd but should pass with...
Ulf Wendel [Fri, 3 Sep 2010 14:20:32 +0000 (14:20 +0000)]
Test for http://bugs.php.net/52221. Test will fail with mysqlnd but should pass with libmysql.

14 years agoFixed GC bug
Dmitry Stogov [Fri, 3 Sep 2010 09:27:47 +0000 (09:27 +0000)]
Fixed GC bug

14 years agoFix test failure. Add new test for MYSQLI_OPT_INT_AND_FLOAT_NATIVE mysqlnd feature.
Ulf Wendel [Thu, 2 Sep 2010 14:57:38 +0000 (14:57 +0000)]
Fix test failure. Add new test for MYSQLI_OPT_INT_AND_FLOAT_NATIVE mysqlnd feature.