]> granicus.if.org Git - php/log
php
14 years ago- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)
Felipe Pena [Fri, 2 Apr 2010 21:44:09 +0000 (21:44 +0000)]
- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)

14 years agofix bug #48983 (DomDocument : saveHTMLFile wrong charset)
Rob Richards [Fri, 2 Apr 2010 20:08:15 +0000 (20:08 +0000)]
fix bug #48983 (DomDocument : saveHTMLFile wrong charset)

14 years agoFix tests
Rasmus Lerdorf [Fri, 2 Apr 2010 18:27:48 +0000 (18:27 +0000)]
Fix tests

14 years agoUpdate the FILTER_VALIDATE_EMAIL filter to fix bug #49576
Rasmus Lerdorf [Fri, 2 Apr 2010 17:56:37 +0000 (17:56 +0000)]
Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576

14 years agore-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
Rob Richards [Fri, 2 Apr 2010 16:15:06 +0000 (16:15 +0000)]
re-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
add test
BFN

14 years agofix #49192 - crash in GC when get_properties handler returns null
Stanislav Malyshev [Thu, 1 Apr 2010 22:54:03 +0000 (22:54 +0000)]
fix #49192 - crash in GC when get_properties handler returns null

14 years agofix #51394 - try harder to find script lineno when exception happens
Stanislav Malyshev [Thu, 1 Apr 2010 19:36:56 +0000 (19:36 +0000)]
fix #51394 - try harder to find script lineno when exception happens

14 years agoAdd new full_special_chars filter to tests
Rasmus Lerdorf [Thu, 1 Apr 2010 18:04:57 +0000 (18:04 +0000)]
Add new full_special_chars filter to tests

14 years agoFix inconsistencies
Andrey Hristov [Thu, 1 Apr 2010 13:26:41 +0000 (13:26 +0000)]
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
  by it.
- add a mode to track memory usage (malloc/free)

14 years agoBetter fix for bug #51347 mysqli_close / connection memory leak
Andrey Hristov [Thu, 1 Apr 2010 12:46:21 +0000 (12:46 +0000)]
Better fix for bug #51347 mysqli_close / connection memory leak

14 years agoOn beginTransaction() reset error state
Ilia Alshanetsky [Thu, 1 Apr 2010 12:08:55 +0000 (12:08 +0000)]
On beginTransaction() reset error state

14 years agoFixed bug #51347 mysqli_close / connection memory leak
Andrey Hristov [Thu, 1 Apr 2010 11:50:24 +0000 (11:50 +0000)]
Fixed bug #51347 mysqli_close / connection memory leak
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is
closed. At the end this is a para-leak. At the end of the script
all memory is cleaned, however this is a problem for long runnig
scripts that open connections. For every opened and closed connection
about 150 Bytes on 32bit and 250 Bytes on 64bit will be "lost",
according to memory_get_usage().

14 years ago- fix build
Pierre Joye [Thu, 1 Apr 2010 10:34:05 +0000 (10:34 +0000)]
- fix build

14 years agoFix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'
Rasmus Lerdorf [Wed, 31 Mar 2010 23:56:30 +0000 (23:56 +0000)]
Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'

14 years agoMoved to 5.3
Rasmus Lerdorf [Wed, 31 Mar 2010 23:01:38 +0000 (23:01 +0000)]
Moved to 5.3

14 years agoAdded the full htmlspecialchars() functionality which includes utf-8
Rasmus Lerdorf [Wed, 31 Mar 2010 21:50:36 +0000 (21:50 +0000)]
Added the full htmlspecialchars() functionality which includes utf-8
validation as a default filter.

14 years agoSet session.entropy_file to /dev/urandom or /dev/arandom by
Rasmus Lerdorf [Wed, 31 Mar 2010 18:03:17 +0000 (18:03 +0000)]
Set session.entropy_file to /dev/urandom or /dev/arandom by
default if present at compile-time.  Addresses part of bug #51436

14 years agoAdd some const declarations, makes C++ extension writers happy
Johannes Schlüter [Tue, 30 Mar 2010 23:14:19 +0000 (23:14 +0000)]
Add some const declarations, makes C++ extension writers happy

14 years agoRemove main/php3_compat.h, for that a few references to `function_entry` have
Johannes Schlüter [Tue, 30 Mar 2010 23:03:02 +0000 (23:03 +0000)]
Remove main/php3_compat.h, for that a few references to `function_entry` have
to be replaced by `zend_function_entry`.

14 years agoFix protos
Johannes Schlüter [Tue, 30 Mar 2010 22:36:17 +0000 (22:36 +0000)]
Fix protos

14 years agoAdd ReflectionZendExtension class and --rz option to CLI
Johannes Schlüter [Tue, 30 Mar 2010 22:35:23 +0000 (22:35 +0000)]
Add ReflectionZendExtension class and --rz option to CLI

14 years agoIt's 2010 already
Johannes Schlüter [Tue, 30 Mar 2010 21:09:07 +0000 (21:09 +0000)]
It's 2010 already

14 years agoFix folding
Johannes Schlüter [Tue, 30 Mar 2010 21:04:28 +0000 (21:04 +0000)]
Fix folding

14 years agoUse php_error_docref instead of zend_error
Johannes Schlüter [Tue, 30 Mar 2010 21:02:32 +0000 (21:02 +0000)]
Use php_error_docref instead of zend_error

14 years agoAdd ReflectionExtension::isTemporary() and ReflectionExtension::isPersistent().
Johannes Schlüter [Tue, 30 Mar 2010 20:50:42 +0000 (20:50 +0000)]
Add ReflectionExtension::isTemporary() and ReflectionExtension::isPersistent().

14 years agoUpgraded bundled sqlite to version 3.6.23.1
Ilia Alshanetsky [Tue, 30 Mar 2010 11:52:25 +0000 (11:52 +0000)]
Upgraded bundled sqlite to version 3.6.23.1

14 years agoDon't assume the SHA-based crypt constants are registered
Joey Smith [Tue, 30 Mar 2010 10:10:20 +0000 (10:10 +0000)]
Don't assume the SHA-based crypt constants are registered
this is a partial fix for 51435.

14 years ago- Updated to version 2010.7 (2010g)
Derick Rethans [Mon, 29 Mar 2010 17:22:53 +0000 (17:22 +0000)]
- Updated to version 2010.7 (2010g)

14 years agoMake it coupled - what is allocated with mnd_ should be freed
Andrey Hristov [Mon, 29 Mar 2010 17:04:16 +0000 (17:04 +0000)]
Make it coupled - what is allocated with mnd_ should be freed
with mnd_ and vice versa.
Added mnd_pestrndup and mnd_pestrdup, which wrap the normal
calls to be able to track this calls.
Fixed some failing tests.

14 years agoUpgraded bundled PCRE to version 8.02.
Ilia Alshanetsky [Mon, 29 Mar 2010 11:58:06 +0000 (11:58 +0000)]
Upgraded bundled PCRE to version 8.02.

14 years agoJOAAT hashing now supports incremental hashing.
Martin Jansen [Sun, 28 Mar 2010 10:01:02 +0000 (10:01 +0000)]
JOAAT hashing now supports incremental hashing.

14 years agoFix #51220 by adding . Also improve reliability for tests using undefined behavior.
Christopher Jones [Fri, 26 Mar 2010 19:38:26 +0000 (19:38 +0000)]
Fix #51220 by adding . Also improve reliability for tests using undefined behavior.

14 years agoFix tests that fail when the MySQL's socket file is not /tmp/mysql.sock
Andrey Hristov [Fri, 26 Mar 2010 16:58:25 +0000 (16:58 +0000)]
Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock
as it is in when compiled from source and the default for mysqlnd.
SuSE for example uses /var/run/mysql/mysql.sock . Also, sql.safe_mode
(ext/mysql and ingres) needs the socket.
Fix possible crashes in mysqlnd. When packets are shorter, functions should
return error.

14 years agoFixed bug #51393 (DateTime::createFromFormat() fails if format string contains timezone).
Adam Harvey [Fri, 26 Mar 2010 04:31:26 +0000 (04:31 +0000)]
Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains timezone).

14 years agofix protos
Stanislav Malyshev [Thu, 25 Mar 2010 22:30:26 +0000 (22:30 +0000)]
fix protos

14 years agoRemove some more calls to TSRMLS_FETCH()
Michael Maclean [Thu, 25 Mar 2010 20:06:05 +0000 (20:06 +0000)]
Remove some more calls to TSRMLS_FETCH()

14 years agoFixed test for the recently added algorithmus and made it more
Martin Jansen [Thu, 25 Mar 2010 16:05:27 +0000 (16:05 +0000)]
Fixed test for the recently added algorithmus and made it more
debuggable by adding the names of the algorithmus to the output.

14 years agofix build - there are now 34 algos
Rob Richards [Thu, 25 Mar 2010 15:10:49 +0000 (15:10 +0000)]
fix build - there are now 34 algos

14 years agoRemove some calls to TSRMLS_FETCH in ext/soap
Michael Maclean [Thu, 25 Mar 2010 14:43:15 +0000 (14:43 +0000)]
Remove some calls to TSRMLS_FETCH in ext/soap

14 years ago- init hval
Pierre Joye [Thu, 25 Mar 2010 10:00:31 +0000 (10:00 +0000)]
- init hval

14 years agoAdd Tokyo Cabinet abstract DB support to ext/dba
Michael Maclean [Wed, 24 Mar 2010 23:38:59 +0000 (23:38 +0000)]
Add Tokyo Cabinet abstract DB support to ext/dba

14 years agoFixed bug #51291 (oci_error doesn't report last error when called two times)
Christopher Jones [Wed, 24 Mar 2010 22:08:55 +0000 (22:08 +0000)]
Fixed bug #51291 (oci_error doesn't report last error when called two times)

14 years agoFix tests
Hannes Magnusson [Wed, 24 Mar 2010 22:06:21 +0000 (22:06 +0000)]
Fix tests

14 years agoFix test (the key can be negative)
Hannes Magnusson [Wed, 24 Mar 2010 21:57:30 +0000 (21:57 +0000)]
Fix test (the key can be negative)

14 years agoGet rid of outdated TODO files
Rasmus Lerdorf [Wed, 24 Mar 2010 17:35:25 +0000 (17:35 +0000)]
Get rid of outdated TODO files

14 years agoAdded FNV and Jenkins's one-at-a-time support to the Windows build.
Martin Jansen [Wed, 24 Mar 2010 16:30:37 +0000 (16:30 +0000)]
Added FNV and Jenkins's one-at-a-time support to the Windows build.

14 years agoReset this document
Rasmus Lerdorf [Wed, 24 Mar 2010 16:23:50 +0000 (16:23 +0000)]
Reset this document

14 years agoAdded Jenkins's one-at-a-time hash support to ext/hash.
Martin Jansen [Wed, 24 Mar 2010 15:47:40 +0000 (15:47 +0000)]
Added Jenkins's one-at-a-time hash support to ext/hash.

14 years agoFix a segfault when using a mysqli object after unsuccesssful connect, the
Andrey Hristov [Wed, 24 Mar 2010 15:17:57 +0000 (15:17 +0000)]
Fix a segfault when using a mysqli object after unsuccesssful connect, the
handle should have been allocated with mysqli_init().

14 years agoFixed bug #51263 (imagettftext and rotated text uses wrong baseline)
Takeshi Abe [Wed, 24 Mar 2010 04:12:19 +0000 (04:12 +0000)]
Fixed bug #51263 (imagettftext and rotated text uses wrong baseline)

14 years agoMinor fix to constants registered in ext/hash, and update NEWS
Michael Maclean [Tue, 23 Mar 2010 23:39:09 +0000 (23:39 +0000)]
Minor fix to constants registered in ext/hash, and update NEWS

14 years agoAdd FNV-1 support to ext/hash
Michael Maclean [Tue, 23 Mar 2010 22:21:39 +0000 (22:21 +0000)]
Add FNV-1 support to ext/hash

14 years agoFix version.
Sebastian Bergmann [Tue, 23 Mar 2010 21:19:18 +0000 (21:19 +0000)]
Fix version.

14 years agoSwitch default_charset, if not specified, from ISO-8859-1 to UTF-8
Rasmus Lerdorf [Tue, 23 Mar 2010 18:08:06 +0000 (18:08 +0000)]
Switch default_charset, if not specified, from ISO-8859-1 to UTF-8
I have been wanting to make this change for years, but there is a small
chance of BC issues, so it shouldn't go into a minor release.

14 years ago- Set trunk version.
Derick Rethans [Tue, 23 Mar 2010 16:04:53 +0000 (16:04 +0000)]
- Set trunk version.

14 years ago- Resurrect trunk for branches/PHP_5_3
Derick Rethans [Tue, 23 Mar 2010 15:56:08 +0000 (15:56 +0000)]
- Resurrect trunk for branches/PHP_5_3

14 years agoFix declaring
Kalle Sommer Nielsen [Tue, 23 Mar 2010 13:21:22 +0000 (13:21 +0000)]
Fix declaring

14 years agoAdded test for bug #51338
Ilia Alshanetsky [Tue, 23 Mar 2010 11:51:38 +0000 (11:51 +0000)]
Added test for bug #51338

14 years agoname changes for consistency with planned additions
Christopher Jones [Mon, 22 Mar 2010 22:37:20 +0000 (22:37 +0000)]
name changes for consistency with planned additions

14 years agoFixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is on).
Ilia Alshanetsky [Mon, 22 Mar 2010 12:16:45 +0000 (12:16 +0000)]
Fixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is on).

14 years ago- Fixed bug #49429, #51331 (odbc_autocommit doesn't work)
Felipe Pena [Sat, 20 Mar 2010 18:19:16 +0000 (18:19 +0000)]
- Fixed bug #49429, #51331 (odbc_autocommit doesn't work)

14 years agoNew tests for existing functionality
Christopher Jones [Fri, 19 Mar 2010 22:15:40 +0000 (22:15 +0000)]
New tests for existing functionality

14 years agoI am sorry I tried fixing PHP without extensive discussion on the mailing list.
Andrei Zmievski [Thu, 18 Mar 2010 22:37:25 +0000 (22:37 +0000)]
I am sorry I tried fixing PHP without extensive discussion on the mailing list.
I am sorry I tried fixing PHP without extensive discussion on the mailing list.
I am sorry I tried fixing PHP without extensive discussion on the mailing list.

Hope all the relevant parties are satisfied.

14 years agoFix a few problems with large (2G-4G) file uploads. Added
Andrei Zmievski [Thu, 18 Mar 2010 21:07:38 +0000 (21:07 +0000)]
Fix a few problems with large (2G-4G) file uploads. Added
--enable-large-uploads-fix switch because one change was in SAPI.h structure.

14 years agoFix for complaint from the Zend MM, efree of a NULL pointer.
Andrey Hristov [Wed, 17 Mar 2010 18:08:25 +0000 (18:08 +0000)]
Fix for complaint from the Zend MM, efree of a NULL pointer.

14 years agoFix a bug that a statement that is reset doesn't clean
Andrey Hristov [Wed, 17 Mar 2010 18:00:47 +0000 (18:00 +0000)]
Fix a bug that a statement that is reset doesn't clean
the wire properly (as it is done when the statement is closed).
If there is more that one result sets returned from the PS
(like a call to SP that returns at least one RSet next to the
status rset) then the line was blocked. PS Multi-Res is not supported
in any libmysql from a GA-ed MySQL.

14 years agofix valgrind warning introduced with the latest patch. The memory
Andrey Hristov [Wed, 17 Mar 2010 11:40:37 +0000 (11:40 +0000)]
fix valgrind warning introduced with the latest patch. The memory
should be calloc-ed, not malloced, because the code that uses the
stmt storage needs that.

14 years agoUpdate oci_commit tests
Christopher Jones [Tue, 16 Mar 2010 23:13:50 +0000 (23:13 +0000)]
Update oci_commit tests

14 years agodecouple the methods in MYSQLND_STMT from the data,
Andrey Hristov [Tue, 16 Mar 2010 12:36:57 +0000 (12:36 +0000)]
decouple the methods in MYSQLND_STMT from the data,
needed to move to a new structure MYSQLND_STMT. Makes
the code cleaner and less error-prone.
Also fix PDO/MySQL which directly touch mysqlnd internals
instead of using API calls.

14 years agodecouple the methods in MYSQLND_STMT from the data,
Andrey Hristov [Tue, 16 Mar 2010 12:36:57 +0000 (12:36 +0000)]
decouple the methods in MYSQLND_STMT from the data,
needed to move to a new structure MYSQLND_STMT. Makes
the code cleaner and less error-prone.
Also fix PDO/MySQL which directly touch mysqlnd internals
instead of using API calls.

14 years ago- Fix win32 build.
Rob Richards [Mon, 15 Mar 2010 16:20:19 +0000 (16:20 +0000)]
- Fix win32 build.

14 years ago- Fix win32 build. (notified by Rob. Thanks)
Moriyoshi Koizumi [Mon, 15 Mar 2010 14:19:51 +0000 (14:19 +0000)]
- Fix win32 build. (notified by Rob. Thanks)

14 years ago- Fix win32 build. (notified by Rob. Thanks)
Moriyoshi Koizumi [Mon, 15 Mar 2010 14:19:51 +0000 (14:19 +0000)]
- Fix win32 build. (notified by Rob. Thanks)

14 years ago- Fix mem. leak
Felipe Pena [Sat, 13 Mar 2010 20:26:51 +0000 (20:26 +0000)]
- Fix mem. leak

14 years ago- Fix mem. leak
Felipe Pena [Sat, 13 Mar 2010 20:26:51 +0000 (20:26 +0000)]
- Fix mem. leak

14 years agoFix CVE-2010-0397: null pointer dereference when processing invalid XML-RPC
Raphael Geissert [Sat, 13 Mar 2010 18:40:29 +0000 (18:40 +0000)]
Fix CVE-2010-0397: null pointer dereference when processing invalid XML-RPC
requests (bug #51288)

14 years agoFix CVE-2010-0397: null pointer dereference when processing invalid XML-RPC
Raphael Geissert [Sat, 13 Mar 2010 18:40:29 +0000 (18:40 +0000)]
Fix CVE-2010-0397: null pointer dereference when processing invalid XML-RPC
requests (bug #51288)

14 years agoNew OCI8 test
Christopher Jones [Sat, 13 Mar 2010 00:25:11 +0000 (00:25 +0000)]
New OCI8 test

14 years ago- Forgot to commit this patch. Sorry.
Moriyoshi Koizumi [Fri, 12 Mar 2010 16:19:25 +0000 (16:19 +0000)]
- Forgot to commit this patch. Sorry.

14 years ago- Oops.
Moriyoshi Koizumi [Fri, 12 Mar 2010 14:44:35 +0000 (14:44 +0000)]
- Oops.

14 years agoallow persistency of PS
Andrey Hristov [Fri, 12 Mar 2010 13:03:46 +0000 (13:03 +0000)]
allow persistency of PS

14 years agoallow persistency of PS
Andrey Hristov [Fri, 12 Mar 2010 13:03:46 +0000 (13:03 +0000)]
allow persistency of PS

14 years ago- Reverted r296062 and r296065
Jani Taskinen [Fri, 12 Mar 2010 10:28:59 +0000 (10:28 +0000)]
- Reverted r296062 and r296065

14 years ago- Update the bundled libmbfl to the latest on upstream.
Moriyoshi Koizumi [Fri, 12 Mar 2010 04:55:37 +0000 (04:55 +0000)]
- Update the bundled libmbfl to the latest on upstream.

14 years ago- Update the bundled libmbfl to the latest on upstream.
Moriyoshi Koizumi [Fri, 12 Mar 2010 04:55:37 +0000 (04:55 +0000)]
- Update the bundled libmbfl to the latest on upstream.

14 years agoNew and improved DBA tests
Christopher Jones [Fri, 12 Mar 2010 00:27:57 +0000 (00:27 +0000)]
New and improved DBA tests

14 years agoFix build (see r296062)
Hannes Magnusson [Thu, 11 Mar 2010 19:50:04 +0000 (19:50 +0000)]
Fix build (see r296062)

14 years agoadd backlock socket context option for stream_socket_server(),
Michael Wallner [Thu, 11 Mar 2010 16:37:24 +0000 (16:37 +0000)]
add backlock socket context option for stream_socket_server(),
which had a hardcoded backlog of 5 at two occurrances

14 years agoadd backlock socket context option for stream_socket_server(),
Michael Wallner [Thu, 11 Mar 2010 16:37:24 +0000 (16:37 +0000)]
add backlock socket context option for stream_socket_server(),
which had a hardcoded backlog of 5 at two occurrances

14 years ago- Fix conflict
Jani Taskinen [Thu, 11 Mar 2010 11:23:38 +0000 (11:23 +0000)]
- Fix conflict

14 years agoMFH: Improved / fixed output buffering (Michael Wallner)
Jani Taskinen [Thu, 11 Mar 2010 10:24:29 +0000 (10:24 +0000)]
MFH: Improved / fixed output buffering (Michael Wallner)

14 years agoFixed bug #51269 (zlib.output_compression Overwrites Vary Header).
Adam Harvey [Thu, 11 Mar 2010 06:20:22 +0000 (06:20 +0000)]
Fixed bug #51269 (zlib.output_compression Overwrites Vary Header).

14 years agoFixed bug #51269 (zlib.output_compression Overwrites Vary Header).
Adam Harvey [Thu, 11 Mar 2010 06:20:22 +0000 (06:20 +0000)]
Fixed bug #51269 (zlib.output_compression Overwrites Vary Header).

14 years agoProperly skip tests that require the bundled gd lib when the external is used
Raphael Geissert [Thu, 11 Mar 2010 05:49:50 +0000 (05:49 +0000)]
Properly skip tests that require the bundled gd lib when the external is used

14 years agoProperly skip tests that require the bundled gd lib when the external is used
Raphael Geissert [Thu, 11 Mar 2010 05:49:50 +0000 (05:49 +0000)]
Properly skip tests that require the bundled gd lib when the external is used

14 years ago- Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl version...
Felipe Pena [Wed, 10 Mar 2010 22:58:46 +0000 (22:58 +0000)]
- Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1)
  patch by: aron dot ujvari at microsec dot hu

14 years ago- Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl version...
Felipe Pena [Wed, 10 Mar 2010 22:58:46 +0000 (22:58 +0000)]
- Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1)
  patch by: aron dot ujvari at microsec dot hu

14 years agoMask name of older DB4 versions
Christopher Jones [Tue, 9 Mar 2010 18:06:20 +0000 (18:06 +0000)]
Mask name of older DB4 versions

14 years agoMask name of older DB4 versions
Christopher Jones [Tue, 9 Mar 2010 18:06:20 +0000 (18:06 +0000)]
Mask name of older DB4 versions

14 years agoFixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore, but 0).
Adam Harvey [Tue, 9 Mar 2010 05:08:31 +0000 (05:08 +0000)]
Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore, but 0).