]> granicus.if.org Git - php/log
php
14 years agoReused single segment between requests. Saved one malloc/free for each request.
Dmitry Stogov [Wed, 7 Jul 2010 10:34:50 +0000 (10:34 +0000)]
Reused single segment between requests. Saved one malloc/free for each request.

14 years agoReduced initial VM stack size to fit into zend_mm segment and eliminate extra segment...
Dmitry Stogov [Wed, 7 Jul 2010 10:30:17 +0000 (10:30 +0000)]
Reduced initial VM stack size to fit into zend_mm segment and eliminate extra segment allocation

14 years ago- Added -DSYB_LP64 to CFLAGS on 64 bit platforms
Timm Friebe [Wed, 7 Jul 2010 09:47:24 +0000 (09:47 +0000)]
- Added -DSYB_LP64 to CFLAGS on 64 bit platforms
# See http://cpansearch.perl.org/src/MEWP/DBD-Sybase-1.08/Makefile.PL:
#
# "If we are building for a 64 bit platform that also supports 32 bit
# (i.e. Solaris 8, HP-UX11, etc) then we need to make some adjustments
# [...] Tru64/DEC OSF does NOT use the SYB_LP64 define as it is ALWAYS
# in 64 bit mode."
#
# Fixes bug #50827

14 years agoFix bug #52262 - Invalid UTF-8 documents don't set an error code when they fail to...
Scott MacVicar [Tue, 6 Jul 2010 17:01:30 +0000 (17:01 +0000)]
Fix bug #52262 - Invalid UTF-8 documents don't set an error code when they fail to decode.

14 years agozend_stack initialization is delayed before the actual usage
Dmitry Stogov [Tue, 6 Jul 2010 16:09:43 +0000 (16:09 +0000)]
zend_stack initialization is delayed before the actual usage

14 years ago- Fix ZTS build
Felipe Pena [Tue, 6 Jul 2010 15:52:39 +0000 (15:52 +0000)]
- Fix ZTS build

14 years agoeliminated unnecessary iterations during request startup/shutdown
Dmitry Stogov [Tue, 6 Jul 2010 11:40:17 +0000 (11:40 +0000)]
eliminated unnecessary iterations during request startup/shutdown

14 years agofix typos and use correct directive names in error messages
Antony Dovgal [Tue, 6 Jul 2010 11:37:19 +0000 (11:37 +0000)]
fix typos and use correct directive names in error messages

14 years ago- Fixed tests
Felipe Pena [Tue, 6 Jul 2010 00:25:52 +0000 (00:25 +0000)]
- Fixed tests

14 years agoreduced request processing overhead
Dmitry Stogov [Mon, 5 Jul 2010 15:40:54 +0000 (15:40 +0000)]
reduced request processing overhead

14 years agoUse ZE API to modify/restore PG(magic_quotes_runtime). Removed overhead at request...
Dmitry Stogov [Mon, 5 Jul 2010 14:32:29 +0000 (14:32 +0000)]
Use ZE API to modify/restore PG(magic_quotes_runtime). Removed overhead at request startup.

14 years agoReduced overhead of ext/mbstring initialization
Dmitry Stogov [Mon, 5 Jul 2010 12:03:08 +0000 (12:03 +0000)]
Reduced overhead of ext/mbstring initialization

14 years agoFixed bug #52237 (Crash when passing the reference of the property of a non-object)
Dmitry Stogov [Mon, 5 Jul 2010 09:08:35 +0000 (09:08 +0000)]
Fixed bug #52237 (Crash when passing the reference of the property of a non-object)

14 years ago- Fixed bug #52240 (hash_copy() does not copy the HMAC key, causes wrong results...
Felipe Pena [Sat, 3 Jul 2010 13:06:14 +0000 (13:06 +0000)]
- Fixed bug #52240 (hash_copy() does not copy the HMAC key, causes wrong results and PHP crashes)

14 years agoFix bug #52238: Crash when an Exception occured in iterator_to_array
Johannes Schlüter [Fri, 2 Jul 2010 19:17:45 +0000 (19:17 +0000)]
Fix bug #52238: Crash when an Exception occured in iterator_to_array

14 years agoUpgraded bundled PCRE to version 8.10
Ilia Alshanetsky [Fri, 2 Jul 2010 17:17:16 +0000 (17:17 +0000)]
Upgraded bundled PCRE to version 8.10

14 years agoAdded test for bug 52013 to trunk.
Eric Stewart [Fri, 2 Jul 2010 02:45:56 +0000 (02:45 +0000)]
Added test for bug 52013 to trunk.

14 years agoUsed more sutable type. Reduced memory usage.
Dmitry Stogov [Thu, 1 Jul 2010 08:58:14 +0000 (08:58 +0000)]
Used more sutable type. Reduced memory usage.

14 years ago- Fixed bug #52211 (iconv() returns part of string on error)
Felipe Pena [Thu, 1 Jul 2010 01:11:08 +0000 (01:11 +0000)]
- Fixed bug #52211 (iconv() returns part of string on error)

14 years ago- WS
Pierre Joye [Wed, 30 Jun 2010 22:06:49 +0000 (22:06 +0000)]
- WS

14 years agoFixed bug #33210 (getimagesize() fails to detect width/height on certain JPEGs).
Ilia Alshanetsky [Wed, 30 Jun 2010 12:21:35 +0000 (12:21 +0000)]
Fixed bug #33210 (getimagesize() fails to detect width/height on certain JPEGs).

14 years agosync version with PECL
Stanislav Malyshev [Wed, 30 Jun 2010 04:23:32 +0000 (04:23 +0000)]
sync version with PECL

14 years agopdo_dblib - improve test skip messages
Stanley Sufficool [Wed, 30 Jun 2010 03:16:04 +0000 (03:16 +0000)]
pdo_dblib - improve test skip messages

14 years ago- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
Felipe Pena [Wed, 30 Jun 2010 02:45:10 +0000 (02:45 +0000)]
- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)

14 years ago- MF5.3: Reverted fix for bug #48930 (due binary compatibility breakage)
Felipe Pena [Wed, 30 Jun 2010 02:30:14 +0000 (02:30 +0000)]
- MF5.3: Reverted fix for bug #48930 (due binary compatibility breakage)
# To commit a new common fix

14 years agoPDO DBLIB test fixups
Stanley Sufficool [Tue, 29 Jun 2010 14:08:22 +0000 (14:08 +0000)]
PDO DBLIB test fixups

14 years agofix build
Antony Dovgal [Tue, 29 Jun 2010 10:50:58 +0000 (10:50 +0000)]
fix build

14 years agoRemove PDO DBLIB prefix from PostgreSQL PDO tests
Stanley Sufficool [Tue, 29 Jun 2010 06:20:15 +0000 (06:20 +0000)]
Remove PDO DBLIB prefix from PostgreSQL PDO tests

14 years agoOops
Stanley Sufficool [Tue, 29 Jun 2010 06:08:51 +0000 (06:08 +0000)]
Oops

14 years agoAdd tests for recent fixes
Stanley Sufficool [Tue, 29 Jun 2010 06:04:17 +0000 (06:04 +0000)]
Add tests for recent fixes

14 years agofix SplObjectStorage unserialization (CVE-2010-2225)
Stanislav Malyshev [Tue, 29 Jun 2010 00:58:31 +0000 (00:58 +0000)]
fix SplObjectStorage unserialization (CVE-2010-2225)

14 years ago- typo for iconv DLL .lib
Pierre Joye [Mon, 28 Jun 2010 23:26:48 +0000 (23:26 +0000)]
- typo for iconv DLL .lib

14 years ago- Added test for tds_sysdep_public.h and link against -lct only then
Timm Friebe [Mon, 28 Jun 2010 13:35:06 +0000 (13:35 +0000)]
- Added test for tds_sysdep_public.h and link against -lct only then
- Added test for libsybct64 and libsybct
# The former is a fix for newer versions of FreeTDS which no longer
# provide the tds.h - we need to distinguish in what we link against
# between FreeTDS and the official Sybase libraries, and this seems
# to do the job.
# The latter is the patch from bug #49276 (finally, and sorry)

14 years ago- Fix arginfo name
Felipe Pena [Mon, 28 Jun 2010 01:19:08 +0000 (01:19 +0000)]
- Fix arginfo name

14 years agoFix bad string length
Stanley Sufficool [Mon, 28 Jun 2010 00:15:18 +0000 (00:15 +0000)]
Fix bad string length

14 years ago- Improved initialization
Felipe Pena [Sun, 27 Jun 2010 22:13:41 +0000 (22:13 +0000)]
- Improved initialization

14 years ago- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
Felipe Pena [Sun, 27 Jun 2010 21:46:16 +0000 (21:46 +0000)]
- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)

14 years ago- Fixed bug #51421 (Abstract __construct constructor argument list not enforced)
Felipe Pena [Sat, 26 Jun 2010 22:05:13 +0000 (22:05 +0000)]
- Fixed bug #51421 (Abstract __construct constructor argument list not enforced)

14 years ago- Fixed bug #52160 (Invalid E_STRICT redefined constructor error)
Felipe Pena [Sat, 26 Jun 2010 19:19:16 +0000 (19:19 +0000)]
- Fixed bug #52160 (Invalid E_STRICT redefined constructor error)

14 years ago- Fixed tests
Felipe Pena [Sat, 26 Jun 2010 17:17:47 +0000 (17:17 +0000)]
- Fixed tests

14 years ago- Fixed bug #52193 (converting closure to array yields empty array)
Felipe Pena [Sat, 26 Jun 2010 17:14:33 +0000 (17:14 +0000)]
- Fixed bug #52193 (converting closure to array yields empty array)

14 years ago- Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for functi...
Felipe Pena [Sat, 26 Jun 2010 16:03:39 +0000 (16:03 +0000)]
- Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for function aliases)

14 years agoRemove hard coded lib extension. Prepare for OCI8 1.4.2 release
Christopher Jones [Fri, 25 Jun 2010 21:18:09 +0000 (21:18 +0000)]
Remove hard coded lib extension.  Prepare for OCI8 1.4.2 release

14 years agoFix bug #52186 (phpinfo shows 10.1 or 11.1 when installed with ORACLE_HOME 10.2 or...
Christopher Jones [Fri, 25 Jun 2010 21:09:13 +0000 (21:09 +0000)]
Fix bug #52186 (phpinfo shows 10.1 or 11.1 when installed with ORACLE_HOME 10.2 or 11.2)

14 years ago- Fixed bug #52138 (Constants are parsed into the ini file for section names)
Felipe Pena [Thu, 24 Jun 2010 22:32:42 +0000 (22:32 +0000)]
- Fixed bug #52138 (Constants are parsed into the ini file for section names)

14 years agoTwo functions, which should be methods so one can catch
Andrey Hristov [Thu, 24 Jun 2010 19:52:13 +0000 (19:52 +0000)]
Two functions, which should be methods so one can catch
their output, for example

14 years agoActually fix quoted identifiers this time
Stanley Sufficool [Thu, 24 Jun 2010 03:40:45 +0000 (03:40 +0000)]
Actually fix quoted identifiers this time

14 years ago- typo
Pierre Joye [Thu, 24 Jun 2010 00:15:12 +0000 (00:15 +0000)]
- typo

14 years ago- Fixed bug #52162 (custom request header variables with numbers are removed)
Sriram Natarajan [Wed, 23 Jun 2010 19:06:33 +0000 (19:06 +0000)]
- Fixed bug #52162 (custom request header variables with numbers are removed)

14 years agoInstall SQLite3 header
Johannes Schlüter [Wed, 23 Jun 2010 15:11:02 +0000 (15:11 +0000)]
Install SQLite3 header

14 years agoFix Bug #47588 - Allow Quoted Identifiers
Stanley Sufficool [Wed, 23 Jun 2010 01:29:01 +0000 (01:29 +0000)]
Fix Bug #47588 - Allow Quoted Identifiers

14 years agoRemoved redundant code
Dmitry Stogov [Tue, 22 Jun 2010 14:15:08 +0000 (14:15 +0000)]
Removed redundant code

14 years agoFix bug #52137 - implement lastInsertId
Stanley Sufficool [Tue, 22 Jun 2010 02:59:52 +0000 (02:59 +0000)]
Fix bug #52137 - implement lastInsertId

14 years agoFix bug #52134
Stanley Sufficool [Tue, 22 Jun 2010 02:09:57 +0000 (02:09 +0000)]
Fix bug #52134

14 years agoFix sprintf modifiers all around the place. In most cases
Andrey Hristov [Mon, 21 Jun 2010 15:32:26 +0000 (15:32 +0000)]
Fix sprintf modifiers all around the place. In most cases
%u should be used. Where size_t is used then MYSQLND_SZ_T_SPEC should be
the modifier

14 years agofix valgrind warnings on 64bit, thread_is is strictly 32bit
Andrey Hristov [Mon, 21 Jun 2010 14:49:45 +0000 (14:49 +0000)]
fix valgrind warnings on 64bit, thread_is is strictly 32bit

14 years ago- +FR
Pierre Joye [Mon, 21 Jun 2010 09:11:35 +0000 (09:11 +0000)]
- +FR

14 years ago- #48632, ssl AES support
Pierre Joye [Mon, 21 Jun 2010 08:47:25 +0000 (08:47 +0000)]
- #48632, ssl AES support

14 years agoFix bug #38955 - add transaction support
Stanley Sufficool [Mon, 21 Jun 2010 07:30:48 +0000 (07:30 +0000)]
Fix bug #38955 - add transaction support

14 years agoFix bug #45876 adding get column meta
Stanley Sufficool [Mon, 21 Jun 2010 06:54:10 +0000 (06:54 +0000)]
Fix bug #45876 adding get column meta

14 years ago- #45808, stream_socket_enable_crypto() blocks and eats CPU
Pierre Joye [Sun, 20 Jun 2010 16:33:16 +0000 (16:33 +0000)]
- #45808, stream_socket_enable_crypto() blocks and eats CPU

14 years ago- #51295, SQLite3::busyTimeout not existing
Pierre Joye [Sun, 20 Jun 2010 15:30:49 +0000 (15:30 +0000)]
- #51295, SQLite3::busyTimeout not existing

14 years ago- Completed the fix for bug #52010
Felipe Pena [Sun, 20 Jun 2010 14:12:06 +0000 (14:12 +0000)]
- Completed the fix for bug #52010
# Fixing pdo drivers

14 years ago- Fixed bug #52086 (No new line at the end of a included file crahes the PHP FPM...
Jérôme Loyet [Sat, 19 Jun 2010 16:31:19 +0000 (16:31 +0000)]
- Fixed bug #52086 (No new line at the end of a included file crahes the PHP FPM daemon)

14 years agoFix for bug #52115 mysqli_result::fetch_all returns null, not an empty array
Andrey Hristov [Fri, 18 Jun 2010 17:25:41 +0000 (17:25 +0000)]
Fix for bug #52115   mysqli_result::fetch_all returns null, not an empty array

14 years agomissed this one in the last commit, the real type
Andrey Hristov [Fri, 18 Jun 2010 12:00:57 +0000 (12:00 +0000)]
missed this one in the last commit, the real type

14 years agofix type mismatch, this is fresh misunderstanding
Andrey Hristov [Fri, 18 Jun 2010 11:56:25 +0000 (11:56 +0000)]
fix  type mismatch, this is fresh misunderstanding

14 years ago- Ignore empty filename for mail.log, treat it like none given
Johannes Schlüter [Fri, 18 Jun 2010 10:16:35 +0000 (10:16 +0000)]
- Ignore empty filename for mail.log, treat it like none given

14 years agoDon't bail if there is another extension that exports constants starting with mysql...
Ulf Wendel [Fri, 18 Jun 2010 09:56:18 +0000 (09:56 +0000)]
Don't bail if there is another extension that exports constants starting with mysql<something>

14 years ago- fix build
Pierre Joye [Thu, 17 Jun 2010 17:09:48 +0000 (17:09 +0000)]
- fix build

14 years agosplit mysqlnd_connect() in two parts, one doing the authorization
Andrey Hristov [Thu, 17 Jun 2010 11:37:49 +0000 (11:37 +0000)]
split mysqlnd_connect() in two parts, one doing the authorization

14 years ago - #51424, solaris part
Pierre Joye [Thu, 17 Jun 2010 10:22:03 +0000 (10:22 +0000)]
 - #51424, solaris part

14 years ago- Fix bug #52101, dns_get_record()garbage in 'ipv6' field
Pierre Joye [Thu, 17 Jun 2010 09:26:29 +0000 (09:26 +0000)]
- Fix bug #52101, dns_get_record()garbage in 'ipv6' field

14 years ago- New tests related to #52098
Felipe Pena [Wed, 16 Jun 2010 23:33:01 +0000 (23:33 +0000)]
- New tests related to #52098

14 years ago- Fix crash when calling a method of a class that inherits PDOStatement if instantiat...
Felipe Pena [Wed, 16 Jun 2010 23:13:29 +0000 (23:13 +0000)]
- Fix crash when calling a method of a class that inherits PDOStatement if instantiated directly

14 years agono more needed because of the charset fix in the previous changeset
Andrey Hristov [Wed, 16 Jun 2010 19:01:13 +0000 (19:01 +0000)]
no more needed because of the charset fix in the previous changeset

14 years ago- #50563, removing E_WARNING from parse_url()
Pierre Joye [Wed, 16 Jun 2010 18:56:24 +0000 (18:56 +0000)]
- #50563, removing E_WARNING from parse_url()

14 years ago- Fix bug #50578, incorrect shebang in phar.phar
Pierre Joye [Wed, 16 Jun 2010 18:30:35 +0000 (18:30 +0000)]
- Fix bug #50578, incorrect shebang in phar.phar

14 years ago- Fixed segmentation fault when reading rows
Timm Friebe [Wed, 16 Jun 2010 09:34:11 +0000 (09:34 +0000)]
- Fixed segmentation fault when reading rows
# Problem surfaces when using FreeTDS, ASE 12.5 and reading text fields
# with NULL values. This is essentially a workaround for a bug in Free-
# TDS which is not setting the NULL indicators correctly, but provides
# a protection against possible segfaults if any other driver ever does
# this again:-)

14 years agoimprove ptrace() test
Antony Dovgal [Wed, 16 Jun 2010 08:58:42 +0000 (08:58 +0000)]
improve ptrace() test
change error to warning - there can be no trace method available at all

14 years ago- Fix tests
Felipe Pena [Wed, 16 Jun 2010 02:14:32 +0000 (02:14 +0000)]
- Fix tests

14 years agoAdded tests for SplFileObject::fgetcsv
Ben Longden [Tue, 15 Jun 2010 21:25:47 +0000 (21:25 +0000)]
Added tests for SplFileObject::fgetcsv

14 years ago- #42060, add paged results support
Pierre Joye [Tue, 15 Jun 2010 19:47:28 +0000 (19:47 +0000)]
- #42060, add paged results support

14 years ago- Fix #51002, fix possible memory corruption with very long names
Pierre Joye [Tue, 15 Jun 2010 18:48:33 +0000 (18:48 +0000)]
- Fix #51002, fix possible memory corruption with very long names

14 years ago- cleanup, no vc6 support in trunk
Pierre Joye [Tue, 15 Jun 2010 13:50:14 +0000 (13:50 +0000)]
- cleanup, no vc6 support in trunk

14 years ago- #51424, silent warnings on win
Pierre Joye [Tue, 15 Jun 2010 13:43:15 +0000 (13:43 +0000)]
- #51424, silent warnings on win

14 years agoTests for SplTempFileObject
Ben Longden [Tue, 15 Jun 2010 10:50:53 +0000 (10:50 +0000)]
Tests for SplTempFileObject

Basic usage (no params)
Basic usage (with max memory specified)
Variation (passing a neg value to the constructor)
Error (Passing a non long int value to constructor)

14 years ago- Fix #51424, crypt() function hangs after 3rd call
Pierre Joye [Tue, 15 Jun 2010 09:26:22 +0000 (09:26 +0000)]
- Fix #51424, crypt() function hangs after 3rd call

14 years agoFixed bug #52041 (Memory leak when writing on uninitialized variable returned from...
Dmitry Stogov [Tue, 15 Jun 2010 08:22:51 +0000 (08:22 +0000)]
Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function)

14 years agoFix the test for libmysql, which expects the certificates
Andrey Hristov [Mon, 14 Jun 2010 18:23:17 +0000 (18:23 +0000)]
Fix the test for libmysql, which expects the certificates
to be in the directory where the interpreter is started. When
using mysqlnd they should not include path and will be found
in the directory of the script.

14 years agoAnd a fix for MySQL Server which is pre 5.1.23, which doesn't support
Andrey Hristov [Mon, 14 Jun 2010 18:19:13 +0000 (18:19 +0000)]
And a fix for MySQL Server which is pre 5.1.23, which doesn't support
preserving of the charset when performing change_user. This is libmysql
only code.

14 years agoFixed bug #52082 (character_set_client & character_set_connection reset after
Andrey Hristov [Mon, 14 Jun 2010 17:16:20 +0000 (17:16 +0000)]
Fixed bug #52082 (character_set_client & character_set_connection reset after
mysqli_change_user())

libmysql >= 5.1.23 will PASS, older library versions will fail

14 years ago- drop comment
Pierre Joye [Mon, 14 Jun 2010 09:15:20 +0000 (09:15 +0000)]
- drop comment

14 years ago- #52043,GD doesn't recognize latest libJPEG version
Pierre Joye [Mon, 14 Jun 2010 08:12:10 +0000 (08:12 +0000)]
- #52043,GD doesn't recognize latest libJPEG version

14 years agoFix #52067, chroot and chdir path were not checked at startup. If configured with...
Jérôme Loyet [Sun, 13 Jun 2010 10:30:35 +0000 (10:30 +0000)]
Fix #52067, chroot and chdir path were not checked at startup. If configured with unexistant directories, FPM entered in an error loop.

14 years ago- Fixed bug #49320 (PDO returns null when SQLite connection fails)
Felipe Pena [Sat, 12 Jun 2010 22:04:48 +0000 (22:04 +0000)]
- Fixed bug #49320 (PDO returns null when SQLite connection fails)

14 years ago- Allow write context on array dereferencing from method return
Felipe Pena [Sat, 12 Jun 2010 16:11:10 +0000 (16:11 +0000)]
- Allow write context on array dereferencing from method return
- New tests

14 years ago- Fixed bug #52051 (handling of case sensitivity of old-style constructors changed...
Felipe Pena [Sat, 12 Jun 2010 15:30:21 +0000 (15:30 +0000)]
- Fixed bug #52051 (handling of case sensitivity of old-style constructors changed in 5.3+)

14 years ago- Fixed bug #52057 (ReflectionClass fails on Closure class)
Felipe Pena [Fri, 11 Jun 2010 23:37:55 +0000 (23:37 +0000)]
- Fixed bug #52057 (ReflectionClass fails on Closure class)

14 years ago- Fixed bug #52060 (Memory leak when passing a closure to method_exists())
Felipe Pena [Fri, 11 Jun 2010 23:20:13 +0000 (23:20 +0000)]
- Fixed bug #52060 (Memory leak when passing a closure to method_exists())