]> granicus.if.org Git - php/log
php
14 years agofix crash caused by incorrect offset altering
Boris Lytochkin [Sat, 5 Feb 2011 13:22:38 +0000 (13:22 +0000)]
fix crash caused by incorrect offset altering

14 years agoadded r/o info property with basic session info,
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

14 years agoFixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number).
Ilia Alshanetsky [Fri, 4 Feb 2011 21:41:15 +0000 (21:41 +0000)]
Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number).

14 years agoChange the way HAVE_GLOB is dealt with in ext/zip per IRC conversation with
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.

14 years agoFix bug #53923 (Zip functions assume HAVE_GLOB is defined).
Adam Harvey [Fri, 4 Feb 2011 10:50:42 +0000 (10:50 +0000)]
Fix bug #53923 (Zip functions assume HAVE_GLOB is defined).

14 years agoFix bug #53914 (SPL assumes HAVE_GLOB is defined). Original patch by Chris
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.

14 years agoFix bug #53913 (Streams functions assume HAVE_GLOB is defined). Patch by Chris
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.

14 years agoFix ZTS build
Kalle Sommer Nielsen [Thu, 3 Feb 2011 23:57:59 +0000 (23:57 +0000)]
Fix ZTS build

14 years agoXFAIL these for the moment, Kalle totally broke these in 298241
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

14 years agoAdd header_register_callback(), allows a userland function
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";

14 years agoFix docblocks on SpoofChecker and remove exceptions after discussion with Stas.
Scott MacVicar [Thu, 3 Feb 2011 16:29:23 +0000 (16:29 +0000)]
Fix docblocks on SpoofChecker and remove exceptions after discussion with Stas.

14 years agoFixed compiler warnings caused by var re-declaration
Ilia Alshanetsky [Thu, 3 Feb 2011 13:33:10 +0000 (13:33 +0000)]
Fixed compiler warnings caused by var re-declaration

14 years ago- Simpler fix for bug #53915.
Gustavo André dos Santos Lopes [Thu, 3 Feb 2011 12:45:30 +0000 (12:45 +0000)]
- Simpler fix for bug #53915.

14 years ago- Fixed bug #53915: ReflectionClass::getConstant(s) emits fatal error on
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.

14 years ago- Fixed bug #53903 (userspace stream stat callback does not separate the
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).

14 years agoFix more warnings about size_t
Andrey Hristov [Tue, 1 Feb 2011 19:30:22 +0000 (19:30 +0000)]
Fix more warnings about size_t

14 years ago- Fixed several comparisons that always result in true of false
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

14 years agofix warnings. These checks are not needed because
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.

14 years ago- Fixed bug #49072 (feof never returns true for damaged file in zip).
Gustavo André dos Santos Lopes [Tue, 1 Feb 2011 14:43:52 +0000 (14:43 +0000)]
- Fixed bug #49072 (feof never returns true for damaged file in zip).

14 years agoFixed bug #53898 (PHAR reports invalid error message, when the directory does not...
Ilia Alshanetsky [Tue, 1 Feb 2011 14:01:00 +0000 (14:01 +0000)]
Fixed bug #53898 (PHAR reports invalid error message, when the directory does not exist).

14 years ago- fix build, wrong version id
Pierre Joye [Tue, 1 Feb 2011 13:57:06 +0000 (13:57 +0000)]
- fix build, wrong version id

14 years ago- WS
Pierre Joye [Tue, 1 Feb 2011 10:57:51 +0000 (10:57 +0000)]
- WS

14 years agopreprocessed changes made in rev.307894:
Boris Lytochkin [Tue, 1 Feb 2011 08:20:13 +0000 (08:20 +0000)]
preprocessed changes made in rev.307894:
keeping ext/snmp backwards compatible

14 years ago- Improved SNMP extension:
Boris Lytochkin [Tue, 1 Feb 2011 07:45:30 +0000 (07:45 +0000)]
- Improved SNMP extension:
  . Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids
    upon request.

14 years ago- Fixed build
Felipe Pena [Tue, 1 Feb 2011 01:02:00 +0000 (01:02 +0000)]
- Fixed build

14 years ago- Don't lower case setting names; some of them actually have upper case
Derick Rethans [Mon, 31 Jan 2011 23:11:42 +0000 (23:11 +0000)]
- Don't lower case setting names; some of them actually have upper case
  characters.

14 years agoAdd two new enums constants from the server
Andrey Hristov [Mon, 31 Jan 2011 13:52:21 +0000 (13:52 +0000)]
Add two new enums constants from the server

14 years agoDon't lose this data anymore. It worked without the fix,
Andrey Hristov [Mon, 31 Jan 2011 13:29:18 +0000 (13:29 +0000)]
Don't lose this data anymore. It worked without the fix,
but it with it is just correct (trunk only).

14 years agoFixed bug #53795 (Connect Error from MySqli (mysqlnd) when using SSL)
Kalle Sommer Nielsen [Mon, 31 Jan 2011 12:47:28 +0000 (12:47 +0000)]
Fixed bug #53795 (Connect Error from MySqli (mysqlnd) when using SSL)

14 years agoUse our own zend_strndup() implementation of strndup() -- Fixes build on platforms...
Kalle Sommer Nielsen [Mon, 31 Jan 2011 12:32:32 +0000 (12:32 +0000)]
Use our own zend_strndup() implementation of strndup() -- Fixes build on platforms without strndup(), like Windows

14 years agoImproved SNMP extension. FR #53594
Boris Lytochkin [Mon, 31 Jan 2011 11:41:33 +0000 (11:41 +0000)]
Improved SNMP extension. FR #53594

14 years agofix bug 53885 (ZipArchive segfault with FL_UNCHANGED on empty archive)
Stanislav Malyshev [Sun, 30 Jan 2011 22:28:57 +0000 (22:28 +0000)]
fix bug 53885 (ZipArchive segfault with FL_UNCHANGED on empty archive)

14 years ago- remove cpystrn from FPM and use strlcpy instead.
Jérôme Loyet [Sun, 30 Jan 2011 13:51:20 +0000 (13:51 +0000)]
- remove cpystrn from FPM and use strlcpy instead.

14 years agoFix bug #52290 (setDate, setISODate, setTime works wrong when DateTime created from...
Stanislav Malyshev [Sun, 30 Jan 2011 10:18:12 +0000 (10:18 +0000)]
Fix bug #52290 (setDate, setISODate, setTime works wrong when DateTime created from timestamp)

14 years agoFix bug #52808 (Segfault when specifying interval as two dates)
Stanislav Malyshev [Sun, 30 Jan 2011 08:54:53 +0000 (08:54 +0000)]
Fix bug #52808 (Segfault when specifying interval as two dates)

14 years ago- Fixed bug #53434 (php-fpm slowlog now also logs the original request).
Jérôme Loyet [Sat, 29 Jan 2011 11:41:45 +0000 (11:41 +0000)]
- Fixed bug #53434 (php-fpm slowlog now also logs the original request).
- Fixed the missing peace of code on revision 307842

14 years ago- Fixed bug #53434 (php-fpm slowlog now also logs the original request).
Jérôme Loyet [Sat, 29 Jan 2011 11:38:19 +0000 (11:38 +0000)]
- Fixed bug #53434 (php-fpm slowlog now also logs the original request).

14 years ago- Fixed bug #53777 (php-fpm log format now match php_error log format).
Jérôme Loyet [Sat, 29 Jan 2011 10:13:24 +0000 (10:13 +0000)]
- Fixed bug #53777 (php-fpm log format now match php_error log format).

14 years agoRevert the UPGRADING change in r307807, since it's actually completely pointless...
Adam Harvey [Sat, 29 Jan 2011 05:26:45 +0000 (05:26 +0000)]
Revert the UPGRADING change in r307807, since it's actually completely pointless, as Johannes pointed out.

14 years ago- Fixed bug #53748 (Using traits lead to a segmentation fault)
Felipe Pena [Fri, 28 Jan 2011 21:19:09 +0000 (21:19 +0000)]
- Fixed bug #53748 (Using traits lead to a segmentation fault)

14 years ago- Fixed bug #53867 (Test failure)
Felipe Pena [Fri, 28 Jan 2011 20:41:54 +0000 (20:41 +0000)]
- Fixed bug #53867 (Test failure)
  patch by: rquadling at php.net

14 years agoclear error before doing anything, because we can get
Andrey Hristov [Fri, 28 Jan 2011 17:33:14 +0000 (17:33 +0000)]
clear error before doing anything, because we can get
trapped by previous error :
php -r '$link = mysqli_init();
var_dump($link->real_connect("127.0.0.1", "unknown", "unknown"));
var_dump($link->real_connect("127.0.0.1", "known", "password"));'

shows the problem. The second connect did not work, as it should be.

14 years agoDon't expect a certain server reply, it is undefined what happens.
Ulf Wendel [Fri, 28 Jan 2011 13:41:02 +0000 (13:41 +0000)]
Don't expect a certain server reply, it is undefined what happens.

14 years agoAdded ability to connect to HTTPS sites through proxy with basic authentication using...
Dmitry Stogov [Fri, 28 Jan 2011 10:33:47 +0000 (10:33 +0000)]
Added ability to connect to HTTPS sites through proxy with basic authentication using stream_context/http/header/Proxy-Authorization

14 years agoFixed bug #53854 (Missing constants for compression type). Patch by Richard
Adam Harvey [Fri, 28 Jan 2011 04:19:40 +0000 (04:19 +0000)]
Fixed bug #53854 (Missing constants for compression type). Patch by Richard
Quadling.

14 years agoFix zip test.
Adam Harvey [Fri, 28 Jan 2011 03:55:34 +0000 (03:55 +0000)]
Fix zip test.

14 years agoa better habitat
Andrey Hristov [Thu, 27 Jan 2011 18:51:12 +0000 (18:51 +0000)]
a better habitat

14 years agofix a crash in new code
Andrey Hristov [Thu, 27 Jan 2011 17:30:29 +0000 (17:30 +0000)]
fix a crash in new code

14 years agoAdded support for "extra" parameter for PGNotify().
Ilia Alshanetsky [Thu, 27 Jan 2011 16:02:30 +0000 (16:02 +0000)]
Added support for "extra" parameter for PGNotify().

14 years agoFix crash with mbstring, this probably isn't the correct behaviour but 272/276 of...
Scott MacVicar [Thu, 27 Jan 2011 11:47:31 +0000 (11:47 +0000)]
Fix crash with mbstring, this probably isn't the correct behaviour but 272/276 of the tests pass after this.

When mbstring.language is unset, it ends up being mbfl_no_language_neutral and there is no default when setting the encoding.

internal_encoding and current_internal_encoding then end up being null.

14 years ago- Fix bug #53166, missing parameters in reflections/docs
Pierre Joye [Thu, 27 Jan 2011 11:47:24 +0000 (11:47 +0000)]
- Fix bug #53166,  missing parameters in reflections/docs

14 years agoCheck PAM auth plugin build in to mysqlnd. I am afraid one cant do much better testin...
Ulf Wendel [Tue, 25 Jan 2011 17:00:30 +0000 (17:00 +0000)]
Check PAM auth plugin build in to mysqlnd. I am afraid one cant do much better testing without making many assumptions on the server setup.

14 years ago- Let's keep this consistent in the whole file.
Derick Rethans [Tue, 25 Jan 2011 15:08:19 +0000 (15:08 +0000)]
- Let's keep this consistent in the whole file.

14 years agoHandle deprecation messages differently in tests to reduce test differences between...
Ulf Wendel [Tue, 25 Jan 2011 14:01:00 +0000 (14:01 +0000)]
Handle deprecation messages differently in tests to reduce test differences between 5.3 and trunk: suppress warnings by default, check warnings in a dedicated test

14 years agoAlways bail about deprecation, make warning visible. It is documented to be deprecate...
Ulf Wendel [Tue, 25 Jan 2011 12:51:29 +0000 (12:51 +0000)]
Always bail about deprecation, make warning visible. It is documented to be deprecated in the 5.3 manual but the deprecation warning was tied to trace_mode=1 (as of 2002 or the like).

14 years ago- Fixed CHARSET_UNICODE_COMPAT (ISO-8859-1 is compatible in the relevant sense).
Gustavo André dos Santos Lopes [Tue, 25 Jan 2011 10:57:07 +0000 (10:57 +0000)]
- Fixed CHARSET_UNICODE_COMPAT (ISO-8859-1 is compatible in the relevant sense).
- Fixed usage of zend_multibyte_get_internal_encoding (its return cannot be
  cast to char*).
- Change tests to reflect that charset detection now relies on
  internal_encoding, not on current_internal_encoding.
  NOTE: This fixes the changes in rev 306077, but it remains that that change
  introduced a BC break. I assumed it was intentional

14 years agoremoved un-used variable
Ilia Alshanetsky [Mon, 24 Jan 2011 20:58:09 +0000 (20:58 +0000)]
removed un-used variable

14 years ago- Updated to version 2011.1 (2011a)
Derick Rethans [Mon, 24 Jan 2011 16:45:56 +0000 (16:45 +0000)]
- Updated to version 2011.1 (2011a)

14 years agofix typos
Andrey Hristov [Mon, 24 Jan 2011 13:59:28 +0000 (13:59 +0000)]
fix typos

14 years agosmall cleanups
Andrey Hristov [Mon, 24 Jan 2011 13:58:18 +0000 (13:58 +0000)]
small cleanups

14 years agoHandle MySQL 5.5 authentication features.
Andrey Hristov [Mon, 24 Jan 2011 12:34:47 +0000 (12:34 +0000)]
Handle MySQL 5.5 authentication features.
Authentication protocol can be changed, a new raw
packet is introduced, which includes only the "encrypted"
data for the auth plugin, sent after change protocol (0xFE)
is sent to the client.

14 years agoAdd imap_fetchmime
Stanislav Malyshev [Mon, 24 Jan 2011 03:52:00 +0000 (03:52 +0000)]
Add imap_fetchmime

14 years agofix tests
Stanislav Malyshev [Mon, 24 Jan 2011 02:48:15 +0000 (02:48 +0000)]
fix tests

14 years agoFixed bug #5273 (Can't use new properties in class extended from DateInterval)
Stanislav Malyshev [Mon, 24 Jan 2011 02:31:48 +0000 (02:31 +0000)]
Fixed bug #5273 (Can't use new properties in class extended from DateInterval)

14 years agoFixed Bug #52063 (DateTime constructor's second argument doesn't have a null default...
Stanislav Malyshev [Mon, 24 Jan 2011 01:15:41 +0000 (01:15 +0000)]
Fixed Bug #52063 (DateTime constructor's second argument doesn't have a null default value)

14 years ago- Fix missing mkdir for bindir (patch by David Tajchreber)
Felipe Pena [Sun, 23 Jan 2011 22:40:35 +0000 (22:40 +0000)]
- Fix missing mkdir for bindir (patch by David Tajchreber)

14 years agoFixed compiler warning
Ilia Alshanetsky [Sun, 23 Jan 2011 16:44:58 +0000 (16:44 +0000)]
Fixed compiler warning

14 years ago- local redeclaration
Pierre Joye [Sun, 23 Jan 2011 10:02:06 +0000 (10:02 +0000)]
- local redeclaration

14 years ago- kill local redeclaration by using a less common name
Pierre Joye [Sun, 23 Jan 2011 09:46:06 +0000 (09:46 +0000)]
- kill local redeclaration by using a less common name

14 years agoFixed variable overloading
Ilia Alshanetsky [Thu, 20 Jan 2011 19:32:36 +0000 (19:32 +0000)]
Fixed variable overloading

14 years ago- Removed accidental changes
Felipe Pena [Thu, 20 Jan 2011 12:32:41 +0000 (12:32 +0000)]
- Removed accidental changes

14 years ago- should not have been applied
Pierre Joye [Thu, 20 Jan 2011 12:23:30 +0000 (12:23 +0000)]
- should not have been applied

14 years ago- don't continue if no valid option value
Pierre Joye [Thu, 20 Jan 2011 07:38:00 +0000 (07:38 +0000)]
- don't continue if no valid option value

14 years ago- be sure that we got tzid by adding a default case
Pierre Joye [Thu, 20 Jan 2011 07:05:34 +0000 (07:05 +0000)]
- be sure that we got tzid by adding a default case

14 years ago- fail when no known op are given
Pierre Joye [Thu, 20 Jan 2011 06:58:04 +0000 (06:58 +0000)]
- fail when no known op are given

14 years ago- unused var
Pierre Joye [Thu, 20 Jan 2011 06:55:11 +0000 (06:55 +0000)]
- unused var

14 years ago- fail when no known op are given
Pierre Joye [Thu, 20 Jan 2011 06:54:28 +0000 (06:54 +0000)]
- fail when no known op are given

14 years ago- kill local redeclaration
Pierre Joye [Thu, 20 Jan 2011 06:49:17 +0000 (06:49 +0000)]
- kill local redeclaration

14 years ago- init err (and simplify)
Pierre Joye [Thu, 20 Jan 2011 06:45:52 +0000 (06:45 +0000)]
- init err (and simplify)

14 years ago- init err
Pierre Joye [Thu, 20 Jan 2011 06:44:16 +0000 (06:44 +0000)]
- init err

14 years ago- no need of assert here
Pierre Joye [Thu, 20 Jan 2011 06:32:59 +0000 (06:32 +0000)]
- no need of assert here

14 years ago- check if strdup succeeds
Pierre Joye [Thu, 20 Jan 2011 06:23:35 +0000 (06:23 +0000)]
- check if strdup succeeds

14 years agoFixed a couple of trivial typos
Philip Olson [Wed, 19 Jan 2011 22:41:01 +0000 (22:41 +0000)]
Fixed a couple of trivial typos

14 years ago - fix warning about undefined zend_multibyte_set_filter and zend_multibyte_yyinput_a...
Pierre Joye [Wed, 19 Jan 2011 21:40:15 +0000 (21:40 +0000)]
 - fix warning about undefined zend_multibyte_set_filter and zend_multibyte_yyinput_again, why are they not in zend_multibyte.h btw?

14 years ago- force static, can't be built yet shared anyway
Pierre Joye [Wed, 19 Jan 2011 21:19:45 +0000 (21:19 +0000)]
- force static, can't be built yet shared anyway

14 years ago- xp sp3 does not have them
Pierre Joye [Wed, 19 Jan 2011 19:48:28 +0000 (19:48 +0000)]
- xp sp3 does not have them

14 years agofix ZTS build
Andrey Hristov [Wed, 19 Jan 2011 17:51:02 +0000 (17:51 +0000)]
fix ZTS build

14 years ago- WS
Pierre Joye [Wed, 19 Jan 2011 17:17:52 +0000 (17:17 +0000)]
- WS

14 years ago- avoid local redeclaration
Pierre Joye [Wed, 19 Jan 2011 17:06:50 +0000 (17:06 +0000)]
- avoid local redeclaration

14 years ago- malloc may fail
Pierre Joye [Wed, 19 Jan 2011 15:23:07 +0000 (15:23 +0000)]
- malloc may fail

14 years ago- path len check and fix buffer overrun
Pierre Joye [Wed, 19 Jan 2011 14:21:46 +0000 (14:21 +0000)]
- path len check and fix buffer overrun

14 years agoWin32 build fix
Ilia Alshanetsky [Wed, 19 Jan 2011 13:09:05 +0000 (13:09 +0000)]
Win32 build fix

14 years agoAdded checks for malformated FastCGI requests (Edgar Frank)
Dmitry Stogov [Wed, 19 Jan 2011 08:38:25 +0000 (08:38 +0000)]
Added checks for malformated FastCGI requests (Edgar Frank)

14 years ago- Hopefully finally fixed the mess in rev 307562 and rev 307563.
Gustavo André dos Santos Lopes [Wed, 19 Jan 2011 00:22:06 +0000 (00:22 +0000)]
- Hopefully finally fixed the mess in rev 307562 and rev 307563.

14 years ago- fix regression introduced in 5.3.4 in open_basedir on windows/novell with trailing...
Pierre Joye [Tue, 18 Jan 2011 22:20:09 +0000 (22:20 +0000)]
- fix regression introduced in 5.3.4 in open_basedir on windows/novell with trailing fwd slash

14 years ago- Fixed wrong function call in original commit to FR #39771.
Gustavo André dos Santos Lopes [Tue, 18 Jan 2011 19:56:09 +0000 (19:56 +0000)]
- Fixed wrong function call in original commit to FR #39771.

14 years ago- Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional
Gustavo André dos Santos Lopes [Tue, 18 Jan 2011 19:45:38 +0000 (19:45 +0000)]
- Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional
  DOMNode like DOMDocument::saveXML).

14 years agoFixed variable re-declaration
Ilia Alshanetsky [Tue, 18 Jan 2011 13:17:23 +0000 (13:17 +0000)]
Fixed variable re-declaration

14 years ago- fix the fix (wrong test)
Pierre Joye [Tue, 18 Jan 2011 10:29:26 +0000 (10:29 +0000)]
- fix the fix (wrong test)

14 years ago- Enforce security in the fastcgi protocol parsing.
Jérôme Loyet [Mon, 17 Jan 2011 22:22:39 +0000 (22:22 +0000)]
- Enforce security in the fastcgi protocol parsing.