]>
granicus.if.org Git - php/log
Arnaud Le Blanc [Fri, 5 Jun 2009 11:21:16 +0000 (11:21 +0000)]
better fix for #48409 , #48428 , #48228
# (again, sorry)
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)
<changelog@php.net> [Fri, 5 Jun 2009 01:32:58 +0000 (01:32 +0000)]
ChangeLog update
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
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
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
Andrei Zmievski [Thu, 4 Jun 2009 18:18:24 +0000 (18:18 +0000)]
MFB
Etienne Kneuss [Thu, 4 Jun 2009 14:46:08 +0000 (14:46 +0000)]
Include other flags as well
Hannes Magnusson [Thu, 4 Jun 2009 12:21:59 +0000 (12:21 +0000)]
Fixed creating directory structure when extracting phars
Jani Taskinen [Thu, 4 Jun 2009 11:51:10 +0000 (11:51 +0000)]
- Fixed bug #48419 (non-portable STDIN fileno in cgi_main.c)
Jani Taskinen [Thu, 4 Jun 2009 11:47:51 +0000 (11:47 +0000)]
MFB: snprintf -> slprintf (Ilia)
Kalle Sommer Nielsen [Thu, 4 Jun 2009 08:18:32 +0000 (08:18 +0000)]
Fix build
Pierre Joye [Thu, 4 Jun 2009 07:41:42 +0000 (07:41 +0000)]
- typo
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
<changelog@php.net> [Thu, 4 Jun 2009 01:33:02 +0000 (01:33 +0000)]
ChangeLog update
Felipe Pena [Thu, 4 Jun 2009 01:14:48 +0000 (01:14 +0000)]
- Fixed tests
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
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)
Zoe Slattery [Wed, 3 Jun 2009 12:29:57 +0000 (12:29 +0000)]
Commiting testfest tests from tek
Pierre Joye [Wed, 3 Jun 2009 08:31:07 +0000 (08:31 +0000)]
- fix title
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
<changelog@php.net> [Wed, 3 Jun 2009 01:32:53 +0000 (01:32 +0000)]
ChangeLog update
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
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
Jani Taskinen [Tue, 2 Jun 2009 19:53:29 +0000 (19:53 +0000)]
- Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4)
Ilia Alshanetsky [Tue, 2 Jun 2009 12:20:24 +0000 (12:20 +0000)]
----------------------------------------------------------------------
Fixed test
Jani Taskinen [Tue, 2 Jun 2009 08:02:21 +0000 (08:02 +0000)]
fix test
<changelog@php.net> [Tue, 2 Jun 2009 01:33:48 +0000 (01:33 +0000)]
ChangeLog update
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
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.
Arnaud Le Blanc [Mon, 1 Jun 2009 15:07:27 +0000 (15:07 +0000)]
better fix for #48409 , #48428 , #48228
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).
Zoe Slattery [Mon, 1 Jun 2009 13:00:43 +0000 (13:00 +0000)]
Engine execution order tests
Zoe Slattery [Mon, 1 Jun 2009 08:59:18 +0000 (08:59 +0000)]
Fixes to work on Windows as well as Linux
<changelog@php.net> [Mon, 1 Jun 2009 01:33:46 +0000 (01:33 +0000)]
ChangeLog update
Etienne Kneuss [Sun, 31 May 2009 21:32:20 +0000 (21:32 +0000)]
Add test for the timeout inside shutdown function
Stanislav Malyshev [Sun, 31 May 2009 21:29:54 +0000 (21:29 +0000)]
fix for #48247
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)
Jani Taskinen [Sun, 31 May 2009 13:50:50 +0000 (13:50 +0000)]
- No dots in error messages
Andrei Zmievski [Sun, 31 May 2009 01:45:05 +0000 (01:45 +0000)]
Make a note.
<changelog@php.net> [Sun, 31 May 2009 01:33:14 +0000 (01:33 +0000)]
ChangeLog update
Arnaud Le Blanc [Sat, 30 May 2009 16:42:01 +0000 (16:42 +0000)]
Take small blocks cache into account in memory_get_usage()
Arnaud Le Blanc [Sat, 30 May 2009 16:30:39 +0000 (16:30 +0000)]
Fix aliasing issue (fixes #48409 , #48428 , #48228)
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
<changelog@php.net> [Sat, 30 May 2009 01:33:14 +0000 (01:33 +0000)]
ChangeLog update
Ulf Wendel [Fri, 29 May 2009 13:36:54 +0000 (13:36 +0000)]
Fixing tests - messages/warnings can vary by version
Ulf Wendel [Fri, 29 May 2009 13:22:47 +0000 (13:22 +0000)]
Updating test to reflect API changes.
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...
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
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
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'.
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()
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.
Zoe Slattery [Fri, 29 May 2009 11:47:42 +0000 (11:47 +0000)]
better fix
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
Ulf Wendel [Fri, 29 May 2009 10:34:07 +0000 (10:34 +0000)]
Weaker test - libmysql/server error messages can differ by version
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.
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
Zoe Slattery [Fri, 29 May 2009 09:45:42 +0000 (09:45 +0000)]
fixing to work with older levels of libcurl
Andrey Hristov [Fri, 29 May 2009 08:58:10 +0000 (08:58 +0000)]
The option has changed the name, hence we change the test
Pierre Joye [Fri, 29 May 2009 08:18:42 +0000 (08:18 +0000)]
- MFB: #42143, the constant NAN is reported as 0 on Windows
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 :)
Zoe Slattery [Fri, 29 May 2009 07:51:42 +0000 (07:51 +0000)]
Engine execution order tests
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"
<changelog@php.net> [Fri, 29 May 2009 01:32:44 +0000 (01:32 +0000)]
ChangeLog update
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
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.
Kalle Sommer Nielsen [Thu, 28 May 2009 20:53:09 +0000 (20:53 +0000)]
zstr should be used here, this nukes another compiler warning
Kalle Sommer Nielsen [Thu, 28 May 2009 20:47:01 +0000 (20:47 +0000)]
Fix compiler warnings introduced by the JIT commit
Kalle Sommer Nielsen [Thu, 28 May 2009 20:46:05 +0000 (20:46 +0000)]
% shouldn't be escaped here
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
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.
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.
Andrey Hristov [Thu, 28 May 2009 18:10:12 +0000 (18:10 +0000)]
Forgot to commit this one, of the ANSI_QUOTES fame
Andrey Hristov [Thu, 28 May 2009 18:00:08 +0000 (18:00 +0000)]
Fix again the tests for ANSI_QUOTES
Andrey Hristov [Thu, 28 May 2009 17:49:00 +0000 (17:49 +0000)]
Fix a valgrind warning as well as more trace log information
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.
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)
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.
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)
Pierre Joye [Thu, 28 May 2009 13:44:43 +0000 (13:44 +0000)]
#48378, exif_read_data() segfaults on certain corrupted .jpeg files
Arnaud Le Blanc [Thu, 28 May 2009 13:22:15 +0000 (13:22 +0000)]
New test
Pierre Joye [Thu, 28 May 2009 11:50:15 +0000 (11:50 +0000)]
- MFB: fix build
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.
Andrey Hristov [Thu, 28 May 2009 10:16:18 +0000 (10:16 +0000)]
Fix a test, UNSIGNED is expected
Arnaud Le Blanc [Thu, 28 May 2009 10:15:32 +0000 (10:15 +0000)]
New test
Andrey Hristov [Thu, 28 May 2009 09:57:54 +0000 (09:57 +0000)]
Fix failures when the server is running with ANSI_QUOTES
Antony Dovgal [Thu, 28 May 2009 09:45:20 +0000 (09:45 +0000)]
fix build
Jani Taskinen [Thu, 28 May 2009 09:09:02 +0000 (09:09 +0000)]
- Fix build for winblows
Scott MacVicar [Thu, 28 May 2009 03:18:55 +0000 (03:18 +0000)]
sync SQLite 3.6.14.2
<changelog@php.net> [Thu, 28 May 2009 01:32:58 +0000 (01:32 +0000)]
ChangeLog update
Robert Nicholson [Wed, 27 May 2009 22:33:25 +0000 (22:33 +0000)]
Language Tests: returnByReference
Andrey Hristov [Wed, 27 May 2009 20:04:49 +0000 (20:04 +0000)]
Less warnings by usage of proper modifier
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 %)
Andrey Hristov [Wed, 27 May 2009 18:13:56 +0000 (18:13 +0000)]
Fix tests when the server is running with ANSI_QUOTES
Andrey Hristov [Wed, 27 May 2009 15:04:55 +0000 (15:04 +0000)]
Additional revert
Antony Dovgal [Wed, 27 May 2009 14:53:05 +0000 (14:53 +0000)]
use request encoding when parsing cookies
fixes 14 segfaults in HEAD
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
Pierre Joye [Wed, 27 May 2009 13:56:08 +0000 (13:56 +0000)]
- fix build on unix with bundled gd
Antony Dovgal [Wed, 27 May 2009 13:42:00 +0000 (13:42 +0000)]
fix compile warnings