1
0
mirror of https://github.com/php/php-src.git synced 2026-04-30 03:33:17 +02:00
Commit Graph

4700 Commits

Author SHA1 Message Date
Boris Lytochkin cf7724d5a3 fix FR #54502: allow user to change OID value output mode when SNMP_VALUE_OBJECT is used. 2011-07-17 17:18:31 +00:00
Jérôme Loyet 7cdef345d5 - Implemented FR #55166 (Added process.max to control the number of process FPM can fork) 2011-07-17 11:41:57 +00:00
Stanislav Malyshev 11a096c3cc Back to -dev 2011-07-14 05:39:29 +00:00
Stanislav Malyshev 6f0c93da8e 5.4.0 alpha2 2011-07-14 05:37:40 +00:00
Stanislav Malyshev 61940e4a6a integrate 5.3 NEWS 2011-07-13 20:12:14 +00:00
Jérôme Loyet 2f0a379c03 - Implemented FR #55181 (Enhance security by limiting access to user defined extensions) 2011-07-12 23:00:42 +00:00
Christian Stocker a10a6135db Added credentials to XSL NEWS entry 2011-07-12 06:56:11 +00:00
Christian Stocker 6be6c2d62d Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
to define forbidden operations within XSLT stylesheets, default is not to
enable any write operations from XSLT anymore. Bug #54446

(second iteration of the code for trunk, first commit for 5.4 branch)
2011-07-12 04:58:38 +00:00
Kalle Sommer Nielsen 9f782a73e8 Changed http_response_code() to be able to set a response code 2011-07-12 03:56:32 +00:00
Stanislav Malyshev d5cab148b3 split changes between alphas 2011-07-11 22:49:34 +00:00
Christian Stocker 8806c371c8 Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com)
(MFT - Merged from Trunk)
2011-07-11 15:18:46 +00:00
Pierre Joye c70eeb731a - rng change 2011-07-10 15:00:49 +00:00
Hannes Magnusson 5ddd67d90b Fixed bug#55084 (Function registered by header_register_callback is
called only once per process). (Hannes)

also fixed an issue when header()s are sent from the callback function
2011-07-06 20:38:58 +00:00
Jérôme Loyet 505537274d - Implemented FR #54098 (Lowered default value for Process Manager) 2011-07-05 21:03:26 +00:00
Jérôme Loyet 5842a4147f - FR #52052: Added partial syslog support (on error_log only) 2011-07-05 19:22:45 +00:00
Adam Harvey 3f3ae34fc2 Fix bug #55066 (Missing linebreak in NEWS). 2011-06-30 06:14:41 +00:00
Peter Cowburn 9115712263 Fix NEWS 2011-06-29 09:00:37 +00:00
Christopher Jones 3c4bafc45a clarify sqlite deprecation 2011-06-28 18:58:07 +00:00
Stanislav Malyshev 3acd5811ae Fix crypt_blowfish 8-bit chars problem (CVE-2011-2483), add tests
# See details at http://www.openwall.com/lists/announce/2011/06/21/1
2011-06-26 21:34:39 +00:00
Felipe Pena 0372e6ad80 - Improved parse error messages 2011-06-23 23:00:53 +00:00
Ilia Alshanetsky 34d93f0c06 Zend Signal Handling 2011-06-22 14:23:21 +00:00
Moriyoshi Koizumi 2c6b2f64df - Forgot to commit these. 2011-06-20 20:30:36 +00:00
Stanislav Malyshev 603252546b Back to -dev 2011-06-19 20:15:33 +00:00
Stanislav Malyshev de5254743e Integrate NEWS 2011-06-19 19:03:13 +00:00
Boris Lytochkin 68c8c34a77 expand SNMP section 2011-06-17 18:26:54 +00:00
Johannes Schlüter 740285307d - Minor NEWS cleanup
# entrys are sentences and end with a full stop.
# PCRE and SQLite updates will hopefully released w/ 5.3 first (and the listed
# version numbers are outdated already)
2011-06-17 16:33:54 +00:00
Christopher Jones 9622d0050d Relax autoconf support from 2.60 to 2.59. This is the version available on Centos/RHEL/Oracle Linux 5.6 2011-06-08 01:25:35 +00:00
Felipe Pena 66ac89a00b - Added indirect method call through array variable (FR Bug #47160) 2011-06-06 21:42:05 +00:00
Scott MacVicar 76cbcc7f66 Added fabled hex2bin() function 2011-06-03 00:12:22 +00:00
Dmitry Stogov c270347c0b MFH: Arithmetic speedup. Inlined most probable code-paths for arithmetic operations directly into executor. 2011-05-31 12:05:25 +00:00
Stanislav Malyshev 5c9080d3a6 implement streams metadata API per RFC 2011-05-25 21:03:55 +00:00
Rasmus Lerdorf 378cf70c81 This isn't in 2011-05-25 19:58:41 +00:00
Scott MacVicar 30f19bd524 Allow management of your own padding in openssl_encrypt/decrypt.
For using mcrypt / openssl interchangeabley managing your own padding is the only solution.
2011-05-20 18:56:13 +00:00
Rasmus Lerdorf fceeb296e6 Should probably have a note on the autoconf 2.60+ requirement here 2011-05-19 20:07:02 +00:00
Rasmus Lerdorf c24ef71e63 Decouple <?= from the short_tags setting and make it always enabled 2011-05-19 16:26:29 +00:00
Sebastian Bergmann 6f3148db81 Add optional argument to debug_backtrace() and debug_print_backtrace() to limit the amount of stack frames returned. 2011-04-09 09:52:24 +00:00
Arnaud Le Blanc b83e243c23 Added CallbackFilterIterator and RecursiveCallbackFilterIterator classes
[DOC] This is a concrete FilterIterator which takes a callback as
constructor parameter, and uses this callback for filtering. This allows
to use FilterIterator without extending it.

CallbackFilterIterator Example:

$it = new ArrayIterator(range(1,100));
$it = new CallbackFilterIterator($it, function($value) {
	return $value % 2;
});
foreach($it as $value) // ...

RecursiveCallbackFilterIterator Example:

$it = new RecursiveDirectoryIterator("/");
$it = new RecursiveCallbackFilterIterator($it, function($file, $k, $it) {
	return $it->hasChildren() || $file->getSize() > 1024;
});
foreach(new RecursiveIteratorIterator($it) as $file) // ...

The callback takes the current value, the current key and the inner
iterator as parameters.
2011-03-27 20:13:27 +00:00
Antony Dovgal d3843846f3 fix typppo 2011-03-08 14:53:38 +00:00
Sebastian Bergmann 5c8d76680c Fix speling. 2011-03-06 21:47:46 +00:00
Johannes Schlüter 6c734a6b4c - 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.
2011-02-19 16:04:30 +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
Boris Lytochkin dc781e2520 - Improved SNMP extension:
. Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids
    upon request.
2011-02-01 07:45:30 +00:00
Boris Lytochkin 5e82e334dd Improved SNMP extension. FR #53594 2011-01-31 11:41:33 +00:00
Ilia Alshanetsky 46ff954ca7 Added support for "extra" parameter for PGNotify(). 2011-01-27 16:02:30 +00:00
Kalle Sommer Nielsen 5ba90aefb0 Added 'catalog' to the field fetching functions in mysqli (Thanks to Johannes for the headsup) 2011-01-17 10:43:53 +00:00
Kalle Sommer Nielsen 5d23cdd695 MFT: Implemented FR #47802 (Support for setting character sets in DSN strings) 2011-01-17 09:54:22 +00:00
Scott MacVicar d90394851c Add Spoofchecker to intl extension.
Implements part of Unicode TR36 and TR39
2011-01-13 06:53:09 +00:00
Kalle Sommer Nielsen 69a3575b38 Implemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db) 2011-01-07 18:25:55 +00:00
Kalle Sommer Nielsen e4c36b054c Implemented FR #47802, support for character sets in DSN strings for PDO_MYSQL 2011-01-07 14:39:56 +00:00
Adam Harvey 3571c955b5 Implement request #53659 (Implementing RegexIterator::getRegex() method). Patch
by Joshua Thijssen.
2011-01-06 02:32:02 +00:00