1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00
Commit Graph

24421 Commits

Author SHA1 Message Date
Felipe Pena fa76263481 - Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection) 2010-04-02 21:44:09 +00:00
Rob Richards 01d9389c2c fix bug #48983 (DomDocument : saveHTMLFile wrong charset) 2010-04-02 20:08:15 +00:00
Rasmus Lerdorf 42bc0de99a Fix tests 2010-04-02 18:27:48 +00:00
Rasmus Lerdorf fcbb8e96f4 Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576 2010-04-02 17:56:37 +00:00
Rob Richards 6feb1edcb6 re-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
add test
BFN
2010-04-02 16:15:06 +00:00
Stanislav Malyshev de363cf818 fix #49192 - crash in GC when get_properties handler returns null 2010-04-01 22:54:03 +00:00
Rasmus Lerdorf 49b8860ace Add new full_special_chars filter to tests 2010-04-01 18:04:57 +00:00
Andrey Hristov d339672e45 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)
2010-04-01 13:26:41 +00:00
Andrey Hristov ffb8df30ab Better fix for bug #51347 mysqli_close / connection memory leak 2010-04-01 12:46:21 +00:00
Ilia Alshanetsky e670a3f9fd On beginTransaction() reset error state 2010-04-01 12:08:55 +00:00
Andrey Hristov 4735c71283 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().
2010-04-01 11:50:24 +00:00
Pierre Joye 94ef6d481f - fix build 2010-04-01 10:34:05 +00:00
Rasmus Lerdorf 1c26f48b8a Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-' 2010-03-31 23:56:30 +00:00
Rasmus Lerdorf 4d75c64415 Added the full htmlspecialchars() functionality which includes utf-8
validation as a default filter.
2010-03-31 21:50:36 +00:00
Rasmus Lerdorf 9692a3619c Set session.entropy_file to /dev/urandom or /dev/arandom by
default if present at compile-time.  Addresses part of bug #51436
2010-03-31 18:03:17 +00:00
Johannes Schlüter 26b08f9857 Remove main/php3_compat.h, for that a few references to function_entry have
to be replaced by `zend_function_entry`.
2010-03-30 23:03:02 +00:00
Johannes Schlüter d5b2d647c0 Fix protos 2010-03-30 22:36:17 +00:00
Johannes Schlüter 26af575926 Add ReflectionZendExtension class and --rz option to CLI 2010-03-30 22:35:23 +00:00
Johannes Schlüter 6ba38a6e09 Fix folding 2010-03-30 21:04:28 +00:00
Johannes Schlüter a6c9e432d4 Use php_error_docref instead of zend_error 2010-03-30 21:02:32 +00:00
Johannes Schlüter 347e2bce22 Add ReflectionExtension::isTemporary() and ReflectionExtension::isPersistent(). 2010-03-30 20:50:42 +00:00
Ilia Alshanetsky 005df4f01f Upgraded bundled sqlite to version 3.6.23.1 2010-03-30 11:52:25 +00:00
Joey Smith 6dbebc605b Don't assume the SHA-based crypt constants are registered
this is a partial fix for 51435.
2010-03-30 10:10:20 +00:00
Derick Rethans e4db0915bd - Updated to version 2010.7 (2010g) 2010-03-29 17:22:53 +00:00
Andrey Hristov 4870cac70e 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.
2010-03-29 17:04:16 +00:00
Ilia Alshanetsky 6e92347ddf Upgraded bundled PCRE to version 8.02. 2010-03-29 11:58:06 +00:00
Martin Jansen 71ec12cc78 JOAAT hashing now supports incremental hashing. 2010-03-28 10:01:02 +00:00
Christopher Jones 675ae35a8c Fix #51220 by adding . Also improve reliability for tests using undefined behavior. 2010-03-26 19:38:26 +00:00
Andrey Hristov 7868bca437 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.
2010-03-26 16:58:25 +00:00
Adam Harvey a2edb7f69c Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains timezone). 2010-03-26 04:31:26 +00:00
Stanislav Malyshev f6bc260259 fix protos 2010-03-25 22:30:26 +00:00
Michael Maclean ca9190648d Remove some more calls to TSRMLS_FETCH() 2010-03-25 20:06:05 +00:00
Martin Jansen 2bc269d375 Fixed test for the recently added algorithmus and made it more
debuggable by adding the names of the algorithmus to the output.
2010-03-25 16:05:27 +00:00
Rob Richards 7bfd44f79c fix build - there are now 34 algos 2010-03-25 15:10:49 +00:00
Michael Maclean c261f45e4b Remove some calls to TSRMLS_FETCH in ext/soap 2010-03-25 14:43:15 +00:00
Pierre Joye 3054f00621 - init hval 2010-03-25 10:00:31 +00:00
Michael Maclean e52fa0027b Add Tokyo Cabinet abstract DB support to ext/dba 2010-03-24 23:38:59 +00:00
Christopher Jones 2441b70033 Fixed bug #51291 (oci_error doesn't report last error when called two times) 2010-03-24 22:08:55 +00:00
Hannes Magnusson 8b106cef0e Fix tests 2010-03-24 22:06:21 +00:00
Hannes Magnusson b39c5383bf Fix test (the key can be negative) 2010-03-24 21:57:30 +00:00
Martin Jansen 0a852eab93 Added FNV and Jenkins's one-at-a-time support to the Windows build. 2010-03-24 16:30:37 +00:00
Martin Jansen 3842a993fe Added Jenkins's one-at-a-time hash support to ext/hash. 2010-03-24 15:47:40 +00:00
Andrey Hristov 293ba72451 Fix a segfault when using a mysqli object after unsuccesssful connect, the
handle should have been allocated with mysqli_init().
2010-03-24 15:17:57 +00:00
Takeshi Abe 42c14bf473 Fixed bug #51263 (imagettftext and rotated text uses wrong baseline) 2010-03-24 04:12:19 +00:00
Michael Maclean e4e9eaef4c Minor fix to constants registered in ext/hash, and update NEWS 2010-03-23 23:39:09 +00:00
Michael Maclean d05ce25746 Add FNV-1 support to ext/hash 2010-03-23 22:21:39 +00:00
Rasmus Lerdorf 906dd4eac5 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.
2010-03-23 18:08:06 +00:00
Kalle Sommer Nielsen c8b33a6a01 Fix declaring 2010-03-23 13:21:22 +00:00
Ilia Alshanetsky 8a9364080b Added test for bug #51338 2010-03-23 11:51:38 +00:00
Christopher Jones ec3a46e194 name changes for consistency with planned additions 2010-03-22 22:37:20 +00:00