]> granicus.if.org Git - php/log
php
15 years agobetter fix for #48409 , #48428 , #48228
Arnaud Le Blanc [Fri, 5 Jun 2009 11:21:16 +0000 (11:21 +0000)]
better fix for #48409 , #48428 , #48228
# (again, sorry)

15 years agofixed isset() on sub-directories (isset('blah') if file 'blah/foo.php' exists)
Greg Beaver [Fri, 5 Jun 2009 04:44:55 +0000 (04:44 +0000)]
fixed isset() on sub-directories (isset('blah') if file 'blah/foo.php' exists)

15 years agoChangeLog update
<changelog@php.net> [Fri, 5 Jun 2009 01:32:58 +0000 (01:32 +0000)]
ChangeLog update

15 years agoMFPECL: fix security vulnerability in phar's handling of long tar filenames
Greg Beaver [Thu, 4 Jun 2009 20:00:01 +0000 (20:00 +0000)]
MFPECL: fix security vulnerability in phar's handling of long tar filenames

15 years agoUpdated tests after double->long conversion change (basically to match 5.2)
Matt Wilmas [Thu, 4 Jun 2009 18:24:09 +0000 (18:24 +0000)]
Updated tests after double->long conversion change (basically to match 5.2)

# Let me know about other failing tests I missed

15 years agoRestored double->long conversion behavior to that of PHP 5.2 (on most platforms)...
Matt Wilmas [Thu, 4 Jun 2009 18:18:47 +0000 (18:18 +0000)]
Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior:
 * Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit)
 * See bug #42868 (presumably-rare platform with different results in 5.2)
 * On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added,
    otherwise it's the same as 5.2
 * Use this conversion method everywhere instead of some plain (long) casts

Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit:
 * Essentially what 5.3's new conversion was doing in most cases
 * Functions with "limit" or "length" type params could be updated to use this,
    and prevent confusing overflow behavior with huge numbers (*also* in 5.2)
  - See bug #47854, for example; or even #42868 again

# Test updates coming

15 years agoMFB
Andrei Zmievski [Thu, 4 Jun 2009 18:18:24 +0000 (18:18 +0000)]
MFB

15 years agoInclude other flags as well
Etienne Kneuss [Thu, 4 Jun 2009 14:46:08 +0000 (14:46 +0000)]
Include other flags as well

15 years agoFixed creating directory structure when extracting phars
Hannes Magnusson [Thu, 4 Jun 2009 12:21:59 +0000 (12:21 +0000)]
Fixed creating directory structure when extracting phars

15 years ago- Fixed bug #48419 (non-portable STDIN fileno in cgi_main.c)
Jani Taskinen [Thu, 4 Jun 2009 11:51:10 +0000 (11:51 +0000)]
- Fixed bug #48419 (non-portable STDIN fileno in cgi_main.c)

15 years agoMFB: snprintf -> slprintf (Ilia)
Jani Taskinen [Thu, 4 Jun 2009 11:47:51 +0000 (11:47 +0000)]
MFB: snprintf -> slprintf (Ilia)

15 years agoFix build
Kalle Sommer Nielsen [Thu, 4 Jun 2009 08:18:32 +0000 (08:18 +0000)]
Fix build

15 years ago- typo
Pierre Joye [Thu, 4 Jun 2009 07:41:42 +0000 (07:41 +0000)]
- typo

15 years ago- [DOC] MF53: add PHP_WINDOWS_NT_* and PHP_WINDOWS_VERSION_* constants (usefull for...
Pierre Joye [Thu, 4 Jun 2009 07:00:37 +0000 (07:00 +0000)]
- [DOC] MF53: add PHP_WINDOWS_NT_* and PHP_WINDOWS_VERSION_* constants (usefull for testing and features detections)
   see http://msdn.microsoft.com/en-us/library/ms724451(VS.85).aspx for the explanation

15 years agoChangeLog update
<changelog@php.net> [Thu, 4 Jun 2009 01:33:02 +0000 (01:33 +0000)]
ChangeLog update

15 years ago- Fixed tests
Felipe Pena [Thu, 4 Jun 2009 01:14:48 +0000 (01:14 +0000)]
- Fixed tests

15 years agoAdd test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the...
Brian Shire [Wed, 3 Jun 2009 19:37:22 +0000 (19:37 +0000)]
Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning

15 years agoMFB: Fixed bug #46386 (Digest authentication with SOAP module fails against
Ilia Alshanetsky [Wed, 3 Jun 2009 12:40:01 +0000 (12:40 +0000)]
MFB: Fixed bug #46386 (Digest authentication with SOAP module fails against
MSSQL SOAP services)

15 years agoCommiting testfest tests from tek
Zoe Slattery [Wed, 3 Jun 2009 12:29:57 +0000 (12:29 +0000)]
Commiting testfest tests from tek

15 years ago- fix title
Pierre Joye [Wed, 3 Jun 2009 08:31:07 +0000 (08:31 +0000)]
- fix title

15 years ago- MFB: fix parameter order and return value check in windows (Venkat Raman Don, Pierr...
Pierre Joye [Wed, 3 Jun 2009 08:07:30 +0000 (08:07 +0000)]
- MFB: fix parameter order and return value check in windows (Venkat Raman Don, Pierre)' link

15 years agoChangeLog update
<changelog@php.net> [Wed, 3 Jun 2009 01:32:53 +0000 (01:32 +0000)]
ChangeLog update

15 years agoconfig.h is in this directory, not in ext/bcmath root, fixes re-compilation for me
Kalle Sommer Nielsen [Wed, 3 Jun 2009 01:18:42 +0000 (01:18 +0000)]
config.h is in this directory, not in ext/bcmath root, fixes re-compilation for me

15 years ago* We dont need to wrap to two lines here, its small enough to show with a standard...
Kalle Sommer Nielsen [Wed, 3 Jun 2009 01:13:37 +0000 (01:13 +0000)]
* We dont need to wrap to two lines here, its small enough to show with a standard sized cmd window
* Bump copyright year in the .rc

15 years ago- Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4)
Jani Taskinen [Tue, 2 Jun 2009 19:53:29 +0000 (19:53 +0000)]
- Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4)

15 years ago----------------------------------------------------------------------
Ilia Alshanetsky [Tue, 2 Jun 2009 12:20:24 +0000 (12:20 +0000)]
----------------------------------------------------------------------
Fixed test

15 years agofix test
Jani Taskinen [Tue, 2 Jun 2009 08:02:21 +0000 (08:02 +0000)]
fix test

15 years agoChangeLog update
<changelog@php.net> [Tue, 2 Jun 2009 01:33:48 +0000 (01:33 +0000)]
ChangeLog update

15 years agoMFB: fix compiler warnings by moving all std includes after include of zend_config.h
Nuno Lopes [Mon, 1 Jun 2009 17:52:29 +0000 (17:52 +0000)]
MFB: fix compiler warnings by moving all std includes after include of zend_config.h

15 years agoNew tests
Arnaud Le Blanc [Mon, 1 Jun 2009 16:10:13 +0000 (16:10 +0000)]
New tests
# These tests were failing on different configurations, so adding them
# all to get more chances of seeing one failing in case of problem.

15 years agobetter fix for #48409 , #48428 , #48228
Arnaud Le Blanc [Mon, 1 Jun 2009 15:07:27 +0000 (15:07 +0000)]
better fix for #48409 , #48428 , #48228

15 years agoMFB: Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values).
Ilia Alshanetsky [Mon, 1 Jun 2009 13:11:09 +0000 (13:11 +0000)]
MFB: Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values).

15 years agoEngine execution order tests
Zoe Slattery [Mon, 1 Jun 2009 13:00:43 +0000 (13:00 +0000)]
Engine execution order tests

15 years agoFixes to work on Windows as well as Linux
Zoe Slattery [Mon, 1 Jun 2009 08:59:18 +0000 (08:59 +0000)]
Fixes to work on Windows as well as Linux

15 years agoChangeLog update
<changelog@php.net> [Mon, 1 Jun 2009 01:33:46 +0000 (01:33 +0000)]
ChangeLog update

15 years agoAdd test for the timeout inside shutdown function
Etienne Kneuss [Sun, 31 May 2009 21:32:20 +0000 (21:32 +0000)]
Add test for the timeout inside shutdown function

15 years agofix for #48247
Stanislav Malyshev [Sun, 31 May 2009 21:29:54 +0000 (21:29 +0000)]
fix for #48247

15 years agoMFB: Fixed bug #48359 (Script hangs on snmprealwalk if OID is not
Ilia Alshanetsky [Sun, 31 May 2009 14:11:14 +0000 (14:11 +0000)]
MFB: Fixed bug #48359 (Script hangs on snmprealwalk if OID is not
increasing)

15 years ago- No dots in error messages
Jani Taskinen [Sun, 31 May 2009 13:50:50 +0000 (13:50 +0000)]
- No dots in error messages

15 years agoMake a note.
Andrei Zmievski [Sun, 31 May 2009 01:45:05 +0000 (01:45 +0000)]
Make a note.

15 years agoChangeLog update
<changelog@php.net> [Sun, 31 May 2009 01:33:14 +0000 (01:33 +0000)]
ChangeLog update

15 years agoTake small blocks cache into account in memory_get_usage()
Arnaud Le Blanc [Sat, 30 May 2009 16:42:01 +0000 (16:42 +0000)]
Take small blocks cache into account in memory_get_usage()

15 years agoFix aliasing issue (fixes #48409 , #48428 , #48228)
Arnaud Le Blanc [Sat, 30 May 2009 16:30:39 +0000 (16:30 +0000)]
Fix aliasing issue (fixes #48409 , #48428 , #48228)

15 years agoMake sure the timeout is checked in the shutdown function, patch from Etienne
Scott MacVicar [Sat, 30 May 2009 09:47:39 +0000 (09:47 +0000)]
Make sure the timeout is checked in the shutdown function, patch from Etienne

15 years agoChangeLog update
<changelog@php.net> [Sat, 30 May 2009 01:33:14 +0000 (01:33 +0000)]
ChangeLog update

15 years agoFixing tests - messages/warnings can vary by version
Ulf Wendel [Fri, 29 May 2009 13:36:54 +0000 (13:36 +0000)]
Fixing tests - messages/warnings can vary by version

15 years agoUpdating test to reflect API changes.
Ulf Wendel [Fri, 29 May 2009 13:22:47 +0000 (13:22 +0000)]
Updating test to reflect API changes.

15 years agoSkip test for libmysql. The MySQL C-API does not support it, mysqlnd does...
Ulf Wendel [Fri, 29 May 2009 13:12:24 +0000 (13:12 +0000)]
Skip test for libmysql. The MySQL C-API does not support it, mysqlnd does...

15 years agoAdd support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x
Andrey Hristov [Fri, 29 May 2009 13:09:22 +0000 (13:09 +0000)]
Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x

15 years ago1) The wording of a message can differ by version and by libmysql vs. mysqlnd. 2...
Ulf Wendel [Fri, 29 May 2009 13:02:30 +0000 (13:02 +0000)]
1) The wording of a message can differ by version and by libmysql vs. mysqlnd. 2) %i is better than %s

15 years agoBehaviour is undefined with libmysql, accept whatever libmysql may return. With mysql...
Ulf Wendel [Fri, 29 May 2009 12:55:39 +0000 (12:55 +0000)]
Behaviour is undefined with libmysql, accept whatever libmysql may return. With mysqlnd you get the defined value of -1 to indicate 'no value'.

15 years agoFix for the failing mysql_stmt_execute() test. Data was cleaned after
Andrey Hristov [Fri, 29 May 2009 12:19:26 +0000 (12:19 +0000)]
Fix for the failing mysql_stmt_execute() test. Data was cleaned after
stmt_reset() but it should stay and be freed as later as next stmt_execute()

15 years ago'Fixing' test to reflect a libmysql vs. mysqlnd difference. With libmysql it is not...
Ulf Wendel [Fri, 29 May 2009 11:59:09 +0000 (11:59 +0000)]
'Fixing' test to reflect a libmysql vs. mysqlnd difference. With libmysql it is not defined what mysql_stmt_store_result() shall return when one tries to store the (non-existing) result set of a failed SQL statement, http://dev.mysql.com/doc/refman/6.0/en/mysql-stmt-store-result.html . mysqlnd will detect the SQL failure and return false. libmysql will return true. If you want libmysql to change, file a bug report at MySQL... I don't think there is a good way to work around this in the extension itself.

15 years agobetter fix
Zoe Slattery [Fri, 29 May 2009 11:47:42 +0000 (11:47 +0000)]
better fix

15 years agoAnother detail where mysqlnd is superior than libmysql. The mysql_info() from libmysq...
Ulf Wendel [Fri, 29 May 2009 11:00:53 +0000 (11:00 +0000)]
Another detail where mysqlnd is superior than libmysql. The mysql_info() from libmysql does not support SELECT: http://dev.mysql.com/doc/refman/6.0/en/mysql-info.html . mysqlnd does support it. Libmysql feature request filed http://bugs.mysql.com/bug.php?id=45189

15 years agoWeaker test - libmysql/server error messages can differ by version
Ulf Wendel [Fri, 29 May 2009 10:34:07 +0000 (10:34 +0000)]
Weaker test - libmysql/server error messages can differ by version

15 years agoWeaker test: functions are only available if HAVE_EMBEDDED_MYSQLI is set. There is...
Ulf Wendel [Fri, 29 May 2009 10:25:37 +0000 (10:25 +0000)]
Weaker test: functions are only available if HAVE_EMBEDDED_MYSQLI is set. There is probably no proper way to check this condition in the user land.

15 years agoSkip when using libmysql. Likely a regression bug - http://bugs.mysql.com/bug.php...
Ulf Wendel [Fri, 29 May 2009 10:15:32 +0000 (10:15 +0000)]
Skip when using libmysql. Likely a regression bug - http://bugs.mysql.com/bug.php?id=45184

15 years agofixing to work with older levels of libcurl
Zoe Slattery [Fri, 29 May 2009 09:45:42 +0000 (09:45 +0000)]
fixing to work with older levels of libcurl

15 years agoThe option has changed the name, hence we change the test
Andrey Hristov [Fri, 29 May 2009 08:58:10 +0000 (08:58 +0000)]
The option has changed the name, hence we change the test

15 years ago- MFB: #42143, the constant NAN is reported as 0 on Windows
Pierre Joye [Fri, 29 May 2009 08:18:42 +0000 (08:18 +0000)]
- MFB: #42143, the constant NAN is reported as 0 on Windows

15 years agoFix a very well hidden error because of not being careful with CPP.
Andrey Hristov [Fri, 29 May 2009 08:05:21 +0000 (08:05 +0000)]
Fix a very well hidden error because of not being careful with CPP.
I usually don't make this mistake :)

15 years agoEngine execution order tests
Zoe Slattery [Fri, 29 May 2009 07:51:42 +0000 (07:51 +0000)]
Engine execution order tests

15 years agoIf we don't have a comment (for the 3rd argument in ARG_[ENABLE|WITH], then don't...
Kalle Sommer Nielsen [Fri, 29 May 2009 07:41:46 +0000 (07:41 +0000)]
If we don't have a comment (for the 3rd argument in ARG_[ENABLE|WITH], then don't print a comment say "undefined"

15 years agoChangeLog update
<changelog@php.net> [Fri, 29 May 2009 01:32:44 +0000 (01:32 +0000)]
ChangeLog update

15 years ago* Cast long to float in the T1* functions, we don't loose any data here
Kalle Sommer Nielsen [Fri, 29 May 2009 00:18:53 +0000 (00:18 +0000)]
* Cast long to float in the T1* functions, we don't loose any data here
* Fix min/max redefs

15 years agoFix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy...
Scott MacVicar [Thu, 28 May 2009 21:56:35 +0000 (21:56 +0000)]
Fix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy LRU here.

15 years agozstr should be used here, this nukes another compiler warning
Kalle Sommer Nielsen [Thu, 28 May 2009 20:53:09 +0000 (20:53 +0000)]
zstr should be used here, this nukes another compiler warning

15 years agoFix compiler warnings introduced by the JIT commit
Kalle Sommer Nielsen [Thu, 28 May 2009 20:47:01 +0000 (20:47 +0000)]
Fix compiler warnings introduced by the JIT commit

15 years ago% shouldn't be escaped here
Kalle Sommer Nielsen [Thu, 28 May 2009 20:46:05 +0000 (20:46 +0000)]
% shouldn't be escaped here

15 years agoMFB: This should be in HEAD regradless of uint8_t is available or not
Kalle Sommer Nielsen [Thu, 28 May 2009 19:40:37 +0000 (19:40 +0000)]
MFB: This should be in HEAD regradless of uint8_t is available or not

15 years agoAsynchronous queries are mysqlnd only. If you want them with libmysql, ping JimW...
Ulf Wendel [Thu, 28 May 2009 18:57:14 +0000 (18:57 +0000)]
Asynchronous queries are mysqlnd only. If you want them with libmysql, ping JimW who works on Connector/C.

15 years agoAndrey needs to have a look at this one. The bug report itself is bogus. However...
Ulf Wendel [Thu, 28 May 2009 18:27:44 +0000 (18:27 +0000)]
Andrey needs to have a look at this one. The bug report itself is bogus. However, the bug report shows a result set and that is wrong.

15 years agoForgot to commit this one, of the ANSI_QUOTES fame
Andrey Hristov [Thu, 28 May 2009 18:10:12 +0000 (18:10 +0000)]
Forgot to commit this one, of the ANSI_QUOTES fame

15 years agoFix again the tests for ANSI_QUOTES
Andrey Hristov [Thu, 28 May 2009 18:00:08 +0000 (18:00 +0000)]
Fix again the tests for ANSI_QUOTES

15 years agoFix a valgrind warning as well as more trace log information
Andrey Hristov [Thu, 28 May 2009 17:49:00 +0000 (17:49 +0000)]
Fix a valgrind warning as well as more trace log information

15 years agoFix a problem with cursors, which did not happen with unbuffered PS for
Andrey Hristov [Thu, 28 May 2009 16:35:16 +0000 (16:35 +0000)]
Fix a problem with cursors, which did not happen with unbuffered PS for
some reason. Double free of the data, which led to valgrind warnigns.
The fix actually optimizes the code in this cases because the old code
used copy_ctor while the new one skips it because it is not needed.
Transferring data ownership and nulling works best, for PS where we
always copy the string from the result set, unlike the text protocol.

15 years agoI had accidently removed Andrey's path to work with ANSI QUOTES... fixing what I...
Ulf Wendel [Thu, 28 May 2009 15:47:08 +0000 (15:47 +0000)]
I had accidently removed Andrey's path to work with ANSI QUOTES... fixing what I broke (part 1)

15 years ago1) Changing EXPECT[F] sections to work with PHP 5.3 and PHP 6. 2) Merging a couple...
Ulf Wendel [Thu, 28 May 2009 14:11:41 +0000 (14:11 +0000)]
1) Changing EXPECT[F] sections to work with PHP 5.3 and PHP 6.  2) Merging a couple of fixes I applied to PHP 5.3 only yesterday. The changes should make it a little easier to do MFH and follow the rules in the future as we will soon have identical tests for PHP 5_3 and HEAD.

15 years agoFixing test (its OK in 5_3 and needs to be fixed in HEAD)
Ulf Wendel [Thu, 28 May 2009 13:55:46 +0000 (13:55 +0000)]
Fixing test (its OK in 5_3 and needs to be fixed in HEAD)

15 years ago#48378, exif_read_data() segfaults on certain corrupted .jpeg files
Pierre Joye [Thu, 28 May 2009 13:44:43 +0000 (13:44 +0000)]
#48378, exif_read_data() segfaults on certain corrupted .jpeg files

15 years agoNew test
Arnaud Le Blanc [Thu, 28 May 2009 13:22:15 +0000 (13:22 +0000)]
New test

15 years ago- MFB: fix build
Pierre Joye [Thu, 28 May 2009 11:50:15 +0000 (11:50 +0000)]
- MFB: fix build

15 years agoFix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised
Andrey Hristov [Thu, 28 May 2009 11:47:15 +0000 (11:47 +0000)]
Fix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised
function was called, which however, doesn't respect that during store the
raw data is not unpacked, to be lazy. The data is unpacked to zvals later,
during every row fetch. However, this way max_length won't be calculated
correctly. So, if a mysqlnd_fetch_field(_direct) call comes we need to
unpack everything and then calculate max_length...and that is expensive,
defies our lazy unpacking optimisation.

15 years agoFix a test, UNSIGNED is expected
Andrey Hristov [Thu, 28 May 2009 10:16:18 +0000 (10:16 +0000)]
Fix a test, UNSIGNED is expected

15 years agoNew test
Arnaud Le Blanc [Thu, 28 May 2009 10:15:32 +0000 (10:15 +0000)]
New test

15 years agoFix failures when the server is running with ANSI_QUOTES
Andrey Hristov [Thu, 28 May 2009 09:57:54 +0000 (09:57 +0000)]
Fix failures when the server is running with ANSI_QUOTES

15 years agofix build
Antony Dovgal [Thu, 28 May 2009 09:45:20 +0000 (09:45 +0000)]
fix build

15 years ago- Fix build for winblows
Jani Taskinen [Thu, 28 May 2009 09:09:02 +0000 (09:09 +0000)]
- Fix build for winblows

15 years agosync SQLite 3.6.14.2
Scott MacVicar [Thu, 28 May 2009 03:18:55 +0000 (03:18 +0000)]
sync SQLite 3.6.14.2

15 years agoChangeLog update
<changelog@php.net> [Thu, 28 May 2009 01:32:58 +0000 (01:32 +0000)]
ChangeLog update

15 years agoLanguage Tests: returnByReference
Robert Nicholson [Wed, 27 May 2009 22:33:25 +0000 (22:33 +0000)]
Language Tests: returnByReference

15 years agoLess warnings by usage of proper modifier
Andrey Hristov [Wed, 27 May 2009 20:04:49 +0000 (20:04 +0000)]
Less warnings by usage of proper modifier

15 years agobecause we use int64_t we need corresponding printf modifiers. the type
Andrey Hristov [Wed, 27 May 2009 19:56:47 +0000 (19:56 +0000)]
because we use int64_t we need corresponding printf modifiers. the type
can be different on 32 and 64 bit, thus we can't use ld and lld but
C helps us with inttypes.h and PRId64 and PRIu64 modifiers (without the %)

15 years agoFix tests when the server is running with ANSI_QUOTES
Andrey Hristov [Wed, 27 May 2009 18:13:56 +0000 (18:13 +0000)]
Fix tests when the server is running with ANSI_QUOTES

15 years agoAdditional revert
Andrey Hristov [Wed, 27 May 2009 15:04:55 +0000 (15:04 +0000)]
Additional revert

15 years agouse request encoding when parsing cookies
Antony Dovgal [Wed, 27 May 2009 14:53:05 +0000 (14:53 +0000)]
use request encoding when parsing cookies
fixes 14 segfaults in HEAD

15 years agoRevert previous patch to something that make sense and works in error cases
Andrey Hristov [Wed, 27 May 2009 14:16:00 +0000 (14:16 +0000)]
Revert previous patch to something that make sense and works in error cases

15 years ago- fix build on unix with bundled gd
Pierre Joye [Wed, 27 May 2009 13:56:08 +0000 (13:56 +0000)]
- fix build on unix with bundled gd

15 years agofix compile warnings
Antony Dovgal [Wed, 27 May 2009 13:42:00 +0000 (13:42 +0000)]
fix compile warnings