Commit Graph

60659 Commits

Author SHA1 Message Date
Pierre Joye
71f5af6c70 - fix build with ICU < 4.2, add ICU_VERSION for m4 checks 2011-02-15 08:28:03 +00:00
Felipe Pena
b58c6f5ede - Fixed crash on unserialize(serialize(new SNMP)) 2011-02-15 00:07:26 +00:00
Felipe Pena
aef9557333 - Fixed memory leak on serialize(new SNMP) 2011-02-14 23:58:52 +00:00
Felipe Pena
be2bfd1bcf - Fixed memory leak 2011-02-14 23:43:22 +00:00
Hannes Magnusson
d1d61ce612 Bug#54016 (finfo_file() Cannot determine filetype in archives) 2011-02-14 15:32:02 +00:00
Ilia Alshanetsky
86efc8e55e Fixed variable re-declarations 2011-02-14 14:05:46 +00:00
Dmitry Stogov
64351b7add Fixed Bug #53958 (Closures can't 'use' shared variables by value and by reference) 2011-02-14 10:52:16 +00:00
Pierre Joye
409c5a9c7b -Bug #54002, fix windows build, use the relevant values in the warnings 2011-02-14 09:40:10 +00:00
Pierre Joye
dbccc8c112 - fix bug #54002, exif_read_data crashes on crafted tags 2011-02-14 09:08:44 +00:00
Dmitry Stogov
b84967d3e2 Fixed Bug #53971 (isset() and empty() produce apparently spurious runtime error) 2011-02-14 08:46:53 +00:00
Felipe Pena
f912a2d087 - Fixed bug #53991 (SimpleXMLElement::__construct shows no params via ReflectionMethod) 2011-02-11 21:10:48 +00:00
Christopher Jones
6e7e5dcde9 Show XFAIL reasons (Daniel Convissor) 2011-02-11 01:37:06 +00:00
Christopher Jones
f0bc6f849b rm trailing whitespace 2011-02-11 01:34:03 +00:00
Daniel Convissor
e718cfd09d Add DateInterval format() tests. 2011-02-11 01:33:45 +00:00
Daniel Convissor
07afcb59f6 Add extensive tests for DateTime::diff(), add() and sub(). 2011-02-10 22:57:41 +00:00
Pierre Joye
afb36bb4eb - missing 2011-02-10 21:42:13 +00:00
Pierre Joye
628e946411 - missing 2011-02-10 21:40:50 +00:00
Scott MacVicar
18b7f018e3 Fix Bug #53963, error code isn't always set in certain error cases. 2011-02-09 08:05:00 +00:00
Gustavo André dos Santos Lopes
efa9a8ee53 - Changed php.ini files to match the hard-coded default for serialize_precision. 2011-02-09 00:25:44 +00:00
Gustavo André dos Santos Lopes
257b994fdc - Changed default serialize_precision from 100 to 17, as discussed in internals. 2011-02-08 21:40:51 +00:00
Gustavo André dos Santos Lopes
077ee3a879 - Fixed bug #53959 (reflection data for fgetcsv out-of-date). 2011-02-08 16:29:34 +00:00
Antony Dovgal
09ee5944ab fix compile warning 2011-02-08 08:40:39 +00:00
Pierre Joye
169c5dc2b7 - Fixed bug #53893 (Wrong return value for ZipArchive::extractTo()) 2011-02-07 16:20:16 +00:00
Pierre Joye
a0a603d16b - null deref fix 2011-02-07 10:25:34 +00:00
Pierre Joye
312235cdac - disable realloc warning about not checking its return value, 100% valid but way too many of them for now, reduce noises 2011-02-07 10:17:14 +00:00
Ilia Alshanetsky
6186c16449 Fixed parse_url() tests to account for port validation 2011-02-06 17:23:57 +00:00
Gustavo André dos Santos Lopes
426f31e790 - 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.
2011-02-05 22:37:00 +00:00
Boris Lytochkin
c50b3d7add fix crash caused by incorrect offset altering 2011-02-05 13:22:38 +00:00
Boris Lytochkin
f69e1100ce added r/o info property with basic session info,
fix crash in _get_properties in trunk
2011-02-05 00:29:31 +00:00
Ilia Alshanetsky
109b8e99e0 Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number). 2011-02-04 21:41:15 +00:00
Adam Harvey
793cfe1376 Change the way HAVE_GLOB is dealt with in ext/zip per IRC conversation with
Pierre.
2011-02-04 11:51:29 +00:00
Adam Harvey
fcc7922ff1 Fix bug #53923 (Zip functions assume HAVE_GLOB is defined). 2011-02-04 10:50:42 +00:00
Adam Harvey
6bc25ca285 Fix bug #53914 (SPL assumes HAVE_GLOB is defined). Original patch by Chris
Jones; test updates by myself.
2011-02-04 10:49:49 +00:00
Adam Harvey
2b4fb94e8e Fix bug #53913 (Streams functions assume HAVE_GLOB is defined). Patch by Chris
Jones.
2011-02-04 10:47:41 +00:00
Kalle Sommer Nielsen
c5e86e5a8e Fix ZTS build 2011-02-03 23:57:59 +00:00
Scott MacVicar
0413cf5b48 XFAIL these for the moment, Kalle totally broke these in 298241
when removing register_globals
2011-02-03 17:07:48 +00:00
Scott MacVicar
ca378eefa0 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";
2011-02-03 16:47:28 +00:00
Scott MacVicar
ee9af39c90 Fix docblocks on SpoofChecker and remove exceptions after discussion with Stas. 2011-02-03 16:29:23 +00:00
Ilia Alshanetsky
7a23458c8e Fixed compiler warnings caused by var re-declaration 2011-02-03 13:33:10 +00:00
Gustavo André dos Santos Lopes
9e71bff701 - Simpler fix for bug #53915. 2011-02-03 12:45:30 +00:00
Gustavo André dos Santos Lopes
f2329f1f4b - 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.
2011-02-03 12:38:25 +00:00
Gustavo André dos Santos Lopes
1f49902999 - Fixed bug #53903 (userspace stream stat callback does not separate the
elements of the returned array before converting them).
2011-02-01 22:55:17 +00:00
Andrey Hristov
01745fa657 Fix more warnings about size_t 2011-02-01 19:30:22 +00:00
Gustavo André dos Santos Lopes
c6ccc43285 - 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
2011-02-01 18:11:16 +00:00
Andrey Hristov
44cd358f04 fix warnings. These checks are not needed because
param_no is unsigned, it wasn't in the beginning.
2011-02-01 16:55:20 +00:00
Gustavo André dos Santos Lopes
28cd40919d - Fixed bug #49072 (feof never returns true for damaged file in zip). 2011-02-01 14:43:52 +00:00
Ilia Alshanetsky
0927309852 Fixed bug #53898 (PHAR reports invalid error message, when the directory does not exist). 2011-02-01 14:01:00 +00:00
Pierre Joye
fefe9fc5c7 - fix build, wrong version id 2011-02-01 13:57:06 +00:00
Pierre Joye
fcdc76be21 - WS 2011-02-01 10:57:51 +00:00
Boris Lytochkin
2bc31f8027 preprocessed changes made in rev.307894:
keeping ext/snmp backwards compatible
2011-02-01 08:20:13 +00:00