]>
granicus.if.org Git - php/log
Felipe Pena [Tue, 8 Mar 2011 18:24:04 +0000 (18:24 +0000)]
- Version++
Antony Dovgal [Tue, 8 Mar 2011 14:53:38 +0000 (14:53 +0000)]
fix typppo
Felipe Pena [Tue, 8 Mar 2011 13:11:14 +0000 (13:11 +0000)]
- Fixed bug #54193 (Integer overflow in shmop_read())
Derick Rethans [Mon, 7 Mar 2011 14:55:28 +0000 (14:55 +0000)]
- Updated to version 2011.3 (2011c)
Sebastian Bergmann [Sun, 6 Mar 2011 21:47:46 +0000 (21:47 +0000)]
Fix speling.
Moriyoshi Koizumi [Sun, 6 Mar 2011 07:06:55 +0000 (07:06 +0000)]
Fix ZTS build.
Moriyoshi Koizumi [Sun, 6 Mar 2011 07:00:30 +0000 (07:00 +0000)]
Fix zend.multibyte oddities. Hope this will address all the known problems.
Felipe Pena [Sat, 5 Mar 2011 23:07:45 +0000 (23:07 +0000)]
- Fixed bug #54167 (PDO_DBLIB returns null on SQLUNIQUE field)
# initial patch by: mjh at hodginsmedia dot com (5.3)
# trunk version by me
Boris Lytochkin [Fri, 4 Mar 2011 19:23:25 +0000 (19:23 +0000)]
* tune snmp2_walk.phpt
* more net-snmp v5.3 compatibility (OPAQUE_SPECIAL_TYPES)
Boris Lytochkin [Fri, 4 Mar 2011 18:58:01 +0000 (18:58 +0000)]
* fix warning about redefining REGISTER_PDO_CLASS_CONST_LONG (damn copy'n'paste)
* tuned two unit test that failed at gcov.php.net/PHP_HEAD
Johannes Schlüter [Thu, 3 Mar 2011 13:23:05 +0000 (13:23 +0000)]
- Be more consistent in these instructions
Boris Lytochkin [Wed, 2 Mar 2011 22:12:02 +0000 (22:12 +0000)]
fix warnings mentioned in 'Parameter Parsing Report'
Moriyoshi Koizumi [Wed, 2 Mar 2011 05:22:22 +0000 (05:22 +0000)]
- Enable windows build system to accept paths containing spaces.
Felipe Pena [Tue, 1 Mar 2011 00:13:23 +0000 (00:13 +0000)]
- Fixed SplObjectStorage::offsetSet arginfo, reported in bug #54118
Ilia Alshanetsky [Mon, 28 Feb 2011 15:18:27 +0000 (15:18 +0000)]
Fixed bug #54089 (token_get_all() does not stop after __halt_compiler).
Gustavo André dos Santos Lopes [Sun, 27 Feb 2011 20:23:54 +0000 (20:23 +0000)]
- Fixed bug #54092 (Segmentation fault when using HTTP proxy with the FTP
wrapper).
#php_stream->wrapperdata should hold an array zval (like its zval* type
#indicates...), it's not a place where the wrapper can drop an arbitrary
#pointer. For that, .wrapperthis should be used.
#Also, since the ftp dir wrapper defines its own stream type, it's more
#appropriate to use .abstract to store the stream instance specific data.
Felipe Pena [Sun, 27 Feb 2011 17:55:39 +0000 (17:55 +0000)]
- Possible fix for Bug #54108 (valgrind can not be found if located outside of system's default PATH)
Boris Lytochkin [Sat, 26 Feb 2011 19:08:55 +0000 (19:08 +0000)]
remove compiler warnings
fix various memory leaks seen with --enable-debug
Boris Lytochkin [Sat, 26 Feb 2011 08:27:26 +0000 (08:27 +0000)]
* new methods get_errno, get_error to get errno and error string
of last SNMP-related error
* formatting markup
* some fixes in max_oids logic: NULL will set it to default value,
do not allow non-positive user-supplied values
* unit tests for changes
Boris Lytochkin [Fri, 25 Feb 2011 19:22:15 +0000 (19:22 +0000)]
fix parse errors for non_repeaters & max_repetitions: aligment errors
Andrey Hristov [Fri, 25 Feb 2011 16:55:27 +0000 (16:55 +0000)]
even better fix
Andrey Hristov [Fri, 25 Feb 2011 16:44:39 +0000 (16:44 +0000)]
fix plugin counting, this is trunk only
Andrey Hristov [Fri, 25 Feb 2011 12:25:36 +0000 (12:25 +0000)]
move from macros to functions, which can be overwritten, if needed
Pierre Joye [Fri, 25 Feb 2011 11:28:33 +0000 (11:28 +0000)]
- fix regression (carsten_sttgt@gmx.de)
Nuno Lopes [Fri, 25 Feb 2011 09:37:33 +0000 (09:37 +0000)]
MFB: fix lcov build (r308657)
Felipe Pena [Thu, 24 Feb 2011 02:42:38 +0000 (02:42 +0000)]
- Fixed possible off-by-one overflow in ibase_gen_id()
Johannes Schlüter [Tue, 22 Feb 2011 14:49:32 +0000 (14:49 +0000)]
- Fix tests. temp dir might be something other than /tmp
Pierre Joye [Tue, 22 Feb 2011 13:09:15 +0000 (13:09 +0000)]
-not needed, buildconf helps...
Pierre Joye [Tue, 22 Feb 2011 12:59:50 +0000 (12:59 +0000)]
- missing files
Johannes Schlüter [Tue, 22 Feb 2011 12:51:43 +0000 (12:51 +0000)]
Declare vars first. Fix Windows build.
Andrey Hristov [Mon, 21 Feb 2011 16:24:37 +0000 (16:24 +0000)]
fix invalid memory read. Thank you, valgrind
Pierre Joye [Mon, 21 Feb 2011 12:50:26 +0000 (12:50 +0000)]
- fix bug #54061, memory leak in openssl_decrypt
Pierre Joye [Mon, 21 Feb 2011 12:47:38 +0000 (12:47 +0000)]
- fix bug #54061, memory leak in openssl_decrypt
Pierre Joye [Mon, 21 Feb 2011 10:07:31 +0000 (10:07 +0000)]
- fix bug #54060, memory leak in openssl_encrypt
Scott MacVicar [Mon, 21 Feb 2011 08:09:02 +0000 (08:09 +0000)]
Fix Bug #54058, invalid utf-8 doesn't set json_encode() in all cases
Gustavo André dos Santos Lopes [Mon, 21 Feb 2011 06:53:24 +0000 (06:53 +0000)]
- Fixed bug #54055 (buffer overrun with high values for precision ini
setting).
#This fix (for g/G/k/H modes) is done at a different level than that for the
#modes e/E/f/F, at a bit higher level and therefore with less coverage. I
#chose this because it addresses the problem where it is -- the calling function
#that passes a buffer too small to php_gcvt.
Gustavo André dos Santos Lopes [Mon, 21 Feb 2011 05:33:16 +0000 (05:33 +0000)]
- Removed dead defines.
Felipe Pena [Sun, 20 Feb 2011 16:33:53 +0000 (16:33 +0000)]
- Fixed memory leak in DirectoryIterator::getExtension() and SplFileInfo::getExtension()
Felipe Pena [Sun, 20 Feb 2011 16:09:50 +0000 (16:09 +0000)]
- Fixed bug #54040 (Logical && where & probably needed in spl_iterators)
Felipe Pena [Sat, 19 Feb 2011 16:32:00 +0000 (16:32 +0000)]
- Fixed build
Johannes Schlüter [Sat, 19 Feb 2011 16:04:30 +0000 (16:04 +0000)]
- Implement FR#53878 Interactive shell should work with shared readline extension
# This is useful w/ distributors who like to build all things shared or don't
# provide the readline extension. Or if a user pefers readline's behavior over
# libedit which might be used by the distributor.
Boris Lytochkin [Sat, 19 Feb 2011 11:13:10 +0000 (11:13 +0000)]
push most of SNMP query options into objid_query structure
Gustavo André dos Santos Lopes [Sat, 19 Feb 2011 01:28:37 +0000 (01:28 +0000)]
- PHP_STREAM_OPTION_WRITE_BUFFER no longer disables the read buffer of a plain
stream when 0 is given as the value.
- PHP_STREAM_OPTION_WRITE_BUFFER no longer changes the chunk size in socket
streams.
- Added stream_set_chunk_size() function.
- Some signedness fixes.
- Test for commit r308474, now that it's possible to actually test it.
Gustavo André dos Santos Lopes [Sat, 19 Feb 2011 00:48:48 +0000 (00:48 +0000)]
- Fixed test to work in systems with different line endings.
Gustavo André dos Santos Lopes [Fri, 18 Feb 2011 17:53:26 +0000 (17:53 +0000)]
- Changed return value in userspace stream set_option to "not implemented",
instead of failure.
#Currently, there's no way to test this, because the only operations that have
#a default implementation, set_chunk_size and set_read_buffer are either not
#exposed or, in the 2nd case, completely delegated to the user implementation,
#which can only return true/false, not "not implemented" (and not implementing
#the set_option method in the userspace stream results in error).
Felipe Pena [Thu, 17 Feb 2011 23:24:50 +0000 (23:24 +0000)]
- Fixed bug #43512 (same parameter name can be used multiple times in method/function definition)
Boris Lytochkin [Thu, 17 Feb 2011 12:12:22 +0000 (12:12 +0000)]
enable HAVE_SHUTDOWN_SNMP_LOGGING
Boris Lytochkin [Thu, 17 Feb 2011 12:02:16 +0000 (12:02 +0000)]
* Fix memory leak on concurrent new, open
* change comments to ANSI-C style
* added compatibility with net-snmp prior 5.4
Johannes Schlüter [Thu, 17 Feb 2011 10:06:31 +0000 (10:06 +0000)]
Some updates for the release process, mostly cvs->svn things
Gustavo André dos Santos Lopes [Thu, 17 Feb 2011 00:25:32 +0000 (00:25 +0000)]
- Classes that implement stream wrappers can define a method called
stream_truncate that will respond to truncation, e.g. through ftruncate.
Closes feature request #53888.
Andrey Hristov [Wed, 16 Feb 2011 16:36:33 +0000 (16:36 +0000)]
fixed a problem in mysqlnd. 0 was always as num_rows returned for
unbuffered sets (text protocol and PS).
Derick Rethans [Tue, 15 Feb 2011 16:26:42 +0000 (16:26 +0000)]
- Updated to version 2011.2 (2011b)
Pierre Joye [Tue, 15 Feb 2011 14:02:26 +0000 (14:02 +0000)]
- fix the fix (Dmitry) and ensure that it builds everywhere, can someone test on solaris&co pls?
Pierre Joye [Tue, 15 Feb 2011 09:07:34 +0000 (09:07 +0000)]
- unused var
Pierre Joye [Tue, 15 Feb 2011 08:48:24 +0000 (08:48 +0000)]
- fix intl build with ICU < 4.2, windows part
Pierre Joye [Tue, 15 Feb 2011 08:28:03 +0000 (08:28 +0000)]
- fix build with ICU < 4.2, add ICU_VERSION for m4 checks
Felipe Pena [Tue, 15 Feb 2011 00:07:26 +0000 (00:07 +0000)]
- Fixed crash on unserialize(serialize(new SNMP))
Felipe Pena [Mon, 14 Feb 2011 23:58:52 +0000 (23:58 +0000)]
- Fixed memory leak on serialize(new SNMP)
Felipe Pena [Mon, 14 Feb 2011 23:43:22 +0000 (23:43 +0000)]
- Fixed memory leak
Hannes Magnusson [Mon, 14 Feb 2011 15:32:02 +0000 (15:32 +0000)]
Bug#54016 (finfo_file() Cannot determine filetype in archives)
Ilia Alshanetsky [Mon, 14 Feb 2011 14:05:46 +0000 (14:05 +0000)]
Fixed variable re-declarations
Dmitry Stogov [Mon, 14 Feb 2011 10:52:16 +0000 (10:52 +0000)]
Fixed Bug #53958 (Closures can't 'use' shared variables by value and by reference)
Pierre Joye [Mon, 14 Feb 2011 09:40:10 +0000 (09:40 +0000)]
-Bug #54002, fix windows build, use the relevant values in the warnings
Pierre Joye [Mon, 14 Feb 2011 09:08:44 +0000 (09:08 +0000)]
- fix bug #54002, exif_read_data crashes on crafted tags
Dmitry Stogov [Mon, 14 Feb 2011 08:46:53 +0000 (08:46 +0000)]
Fixed Bug #53971 (isset() and empty() produce apparently spurious runtime error)
Felipe Pena [Fri, 11 Feb 2011 21:10:48 +0000 (21:10 +0000)]
- Fixed bug #53991 (SimpleXMLElement::__construct shows no params via ReflectionMethod)
Christopher Jones [Fri, 11 Feb 2011 01:37:06 +0000 (01:37 +0000)]
Show XFAIL reasons (Daniel Convissor)
Christopher Jones [Fri, 11 Feb 2011 01:34:03 +0000 (01:34 +0000)]
rm trailing whitespace
Daniel Convissor [Fri, 11 Feb 2011 01:33:45 +0000 (01:33 +0000)]
Add DateInterval format() tests.
Daniel Convissor [Thu, 10 Feb 2011 22:57:41 +0000 (22:57 +0000)]
Add extensive tests for DateTime::diff(), add() and sub().
Pierre Joye [Thu, 10 Feb 2011 21:42:13 +0000 (21:42 +0000)]
- missing
Pierre Joye [Thu, 10 Feb 2011 21:40:50 +0000 (21:40 +0000)]
- missing
Scott MacVicar [Wed, 9 Feb 2011 08:05:00 +0000 (08:05 +0000)]
Fix Bug #53963, error code isn't always set in certain error cases.
Gustavo André dos Santos Lopes [Wed, 9 Feb 2011 00:25:44 +0000 (00:25 +0000)]
- Changed php.ini files to match the hard-coded default for serialize_precision.
Gustavo André dos Santos Lopes [Tue, 8 Feb 2011 21:40:51 +0000 (21:40 +0000)]
- Changed default serialize_precision from 100 to 17, as discussed in internals.
Gustavo André dos Santos Lopes [Tue, 8 Feb 2011 16:29:34 +0000 (16:29 +0000)]
- Fixed bug #53959 (reflection data for fgetcsv out-of-date).
Antony Dovgal [Tue, 8 Feb 2011 08:40:39 +0000 (08:40 +0000)]
fix compile warning
Pierre Joye [Mon, 7 Feb 2011 16:20:16 +0000 (16:20 +0000)]
- Fixed bug #53893 (Wrong return value for ZipArchive::extractTo())
Pierre Joye [Mon, 7 Feb 2011 10:25:34 +0000 (10:25 +0000)]
- null deref fix
Pierre Joye [Mon, 7 Feb 2011 10:17:14 +0000 (10:17 +0000)]
- disable realloc warning about not checking its return value, 100% valid but way too many of them for now, reduce noises
Ilia Alshanetsky [Sun, 6 Feb 2011 17:23:57 +0000 (17:23 +0000)]
Fixed parse_url() tests to account for port validation
Gustavo André dos Santos Lopes [Sat, 5 Feb 2011 22:37:00 +0000 (22:37 +0000)]
- Changed port validation introduced in commit #308035 to consider
negative ports and ports > 65535 as invalid.
The tests that fail due to #308035 in the standard ext were not
fixed. If the behavior in those tests turns out to be the
desirable one, both this commit and #308035 ought to be reverted
or at least adapted.
Boris Lytochkin [Sat, 5 Feb 2011 13:22:38 +0000 (13:22 +0000)]
fix crash caused by incorrect offset altering
Boris Lytochkin [Sat, 5 Feb 2011 00:29:31 +0000 (00:29 +0000)]
added r/o info property with basic session info,
fix crash in _get_properties in trunk
Ilia Alshanetsky [Fri, 4 Feb 2011 21:41:15 +0000 (21:41 +0000)]
Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number).
Adam Harvey [Fri, 4 Feb 2011 11:51:29 +0000 (11:51 +0000)]
Change the way HAVE_GLOB is dealt with in ext/zip per IRC conversation with
Pierre.
Adam Harvey [Fri, 4 Feb 2011 10:50:42 +0000 (10:50 +0000)]
Fix bug #53923 (Zip functions assume HAVE_GLOB is defined).
Adam Harvey [Fri, 4 Feb 2011 10:49:49 +0000 (10:49 +0000)]
Fix bug #53914 (SPL assumes HAVE_GLOB is defined). Original patch by Chris
Jones; test updates by myself.
Adam Harvey [Fri, 4 Feb 2011 10:47:41 +0000 (10:47 +0000)]
Fix bug #53913 (Streams functions assume HAVE_GLOB is defined). Patch by Chris
Jones.
Kalle Sommer Nielsen [Thu, 3 Feb 2011 23:57:59 +0000 (23:57 +0000)]
Fix ZTS build
Scott MacVicar [Thu, 3 Feb 2011 17:07:48 +0000 (17:07 +0000)]
XFAIL these for the moment, Kalle totally broke these in 298241
when removing register_globals
Scott MacVicar [Thu, 3 Feb 2011 16:47:28 +0000 (16:47 +0000)]
Add header_register_callback(), allows a userland function
to be called as all the headers are being sent and after all
of the default headers have been merged.
headers_list(), header_remove() and header() can all be used
inside the callback.
<?php
header('Content-Type: text/plain');
header('X-Test: foo');
function foo() {
foreach (headers_list() as $header) {
if (strpos($header, 'X-Powered') !== false) {
header_remove('X-Powered-By');
}
header_remove('X-Test');
}
}
$result = header_register_callback('foo');
echo "a";
Scott MacVicar [Thu, 3 Feb 2011 16:29:23 +0000 (16:29 +0000)]
Fix docblocks on SpoofChecker and remove exceptions after discussion with Stas.
Ilia Alshanetsky [Thu, 3 Feb 2011 13:33:10 +0000 (13:33 +0000)]
Fixed compiler warnings caused by var re-declaration
Gustavo André dos Santos Lopes [Thu, 3 Feb 2011 12:45:30 +0000 (12:45 +0000)]
- Simpler fix for bug #53915.
Gustavo André dos Santos Lopes [Thu, 3 Feb 2011 12:38:25 +0000 (12:38 +0000)]
- Fixed bug #53915: ReflectionClass::getConstant(s) emits fatal error on
constants with self::.
- Reflown some NEWS entries to have lines no longer than 80 chars.
Gustavo André dos Santos Lopes [Tue, 1 Feb 2011 22:55:17 +0000 (22:55 +0000)]
- Fixed bug #53903 (userspace stream stat callback does not separate the
elements of the returned array before converting them).
Andrey Hristov [Tue, 1 Feb 2011 19:30:22 +0000 (19:30 +0000)]
Fix more warnings about size_t
Gustavo André dos Santos Lopes [Tue, 1 Feb 2011 18:11:16 +0000 (18:11 +0000)]
- Fixed several comparisons that always result in true of false
due to signedness of one of the operands, either by removing
dead code or fixing it.
- Thrown some comments around in php_stream_get_record.
- See http://www.mail-archive.com/internals@lists.php.net/msg49525.html
Andrey Hristov [Tue, 1 Feb 2011 16:55:20 +0000 (16:55 +0000)]
fix warnings. These checks are not needed because
param_no is unsigned, it wasn't in the beginning.