]> granicus.if.org Git - php/log
php
15 years agoRename JSON_Serializable to JsonSerializable per ML discussion
Sara Golemon [Wed, 12 May 2010 16:42:48 +0000 (16:42 +0000)]
Rename JSON_Serializable to JsonSerializable per ML discussion

15 years agoFixed a possible memory corruption in parse_str(). Reported by Stefan Esser
Dmitry Stogov [Wed, 12 May 2010 11:32:25 +0000 (11:32 +0000)]
Fixed a possible memory corruption in parse_str(). Reported by Stefan Esser

15 years agoFixed a possible information leak because of interruption of XOR operator
Dmitry Stogov [Wed, 12 May 2010 11:10:06 +0000 (11:10 +0000)]
Fixed a possible information leak because of interruption of XOR operator

15 years agoFixed a possible memory corruption in pack(). Reported by Stefan Esser
Dmitry Stogov [Wed, 12 May 2010 11:04:57 +0000 (11:04 +0000)]
Fixed a possible memory corruption in pack(). Reported by Stefan Esser

15 years agoFixed bug #51725 (xmlrpc_get_type() returns true on invalid dates). (Mike)
Michael Wallner [Wed, 12 May 2010 09:37:25 +0000 (09:37 +0000)]
Fixed bug #51725 (xmlrpc_get_type() returns true on invalid dates). (Mike)

15 years agoRestructure into PHP/PECL/PEAR component areas (at the expense of duplication)
Christopher Jones [Tue, 11 May 2010 18:25:44 +0000 (18:25 +0000)]
Restructure into PHP/PECL/PEAR component areas (at the expense of duplication)

15 years agoNEWS
Arnaud Le Blanc [Tue, 11 May 2010 16:40:03 +0000 (16:40 +0000)]
NEWS

15 years ago - code cleanups
Arnaud Le Blanc [Tue, 11 May 2010 16:39:07 +0000 (16:39 +0000)]
 - code cleanups
 - cleanup progress data from session vars as soon as all
   post data has been readden (upload_progress.cleanup
   ini setting allows to disable this)

15 years agoFixed bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3)
Dmitry Stogov [Tue, 11 May 2010 16:09:43 +0000 (16:09 +0000)]
Fixed bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3)

15 years agoOne more time fixing the tests, lets use $IS_MYSQLND which comes from connect.inc
Andrey Hristov [Tue, 11 May 2010 15:55:07 +0000 (15:55 +0000)]
One more time fixing the tests, lets use $IS_MYSQLND which comes from connect.inc

15 years agoFix for mysqli_stmt_execute.phpt, should be ran only against
Andrey Hristov [Tue, 11 May 2010 15:49:03 +0000 (15:49 +0000)]
Fix for mysqli_stmt_execute.phpt, should be ran only against
4.1+ servers. MySQL's SLEEP function is available since 5.0.12, thus
the tests that use this function should be ran only if the server
is at least 5.0.12.

15 years agoThese tests should be run only if mysqli uses mysqlnd. Part of fix for
Andrey Hristov [Tue, 11 May 2010 15:27:03 +0000 (15:27 +0000)]
These tests should be run only if mysqli uses mysqlnd. Part of fix for
Bug #51712 Test mysql_mysqlnd_read_timeout_long must fail on MySQL4

15 years agoDocument CGI options in the manpage (bug #51718)
Raphael Geissert [Tue, 11 May 2010 15:07:31 +0000 (15:07 +0000)]
Document CGI options in the manpage (bug #51718)
Patch by Daniel Egeberg

15 years agoRemoved double allocation of buffer inside openssl_random_pseudo_bytes() and cleanup...
Ilia Alshanetsky [Tue, 11 May 2010 14:31:00 +0000 (14:31 +0000)]
Removed double allocation of buffer inside openssl_random_pseudo_bytes() and cleanup code

15 years agoFixed a possible memory corruption in substr_replace()
Dmitry Stogov [Tue, 11 May 2010 11:59:13 +0000 (11:59 +0000)]
Fixed a possible memory corruption in substr_replace()

15 years agoFixed a possible memory corruption because of unexpected call-time pass by refernce...
Dmitry Stogov [Tue, 11 May 2010 10:41:19 +0000 (10:41 +0000)]
Fixed a possible memory corruption because of unexpected call-time pass by refernce and following memory clobbering through callbacks.

15 years agoFix for bug #51605 (Mysqli zombie links)
Andrey Hristov [Tue, 11 May 2010 10:03:16 +0000 (10:03 +0000)]
Fix for bug #51605 (Mysqli zombie links)

15 years agoAdded session upload progress tests
Arnaud Le Blanc [Mon, 10 May 2010 16:10:09 +0000 (16:10 +0000)]
Added session upload progress tests

15 years agoAdded upload progress feedback in session data as describied
Arnaud Le Blanc [Mon, 10 May 2010 16:09:00 +0000 (16:09 +0000)]
Added upload progress feedback in session data as describied
in RFC : http://wiki.php.net/rfc/session_upload_progress

15 years agoFix tests
Arnaud Le Blanc [Mon, 10 May 2010 15:53:54 +0000 (15:53 +0000)]
Fix tests

15 years agofix the fix for the fix
Etienne Kneuss [Mon, 10 May 2010 13:03:33 +0000 (13:03 +0000)]
fix the fix for the fix

15 years agoFix crash
Etienne Kneuss [Mon, 10 May 2010 12:38:13 +0000 (12:38 +0000)]
Fix crash

15 years ago- Fix crash when instantiating MultipleIterator
Felipe Pena [Mon, 10 May 2010 01:39:58 +0000 (01:39 +0000)]
- Fix crash when instantiating MultipleIterator

15 years agoFix #51736, wrong checks on dynamic parameters
Jérôme Loyet [Sat, 8 May 2010 08:52:32 +0000 (08:52 +0000)]
Fix #51736, wrong checks on dynamic parameters

15 years agoNEWS is not docs and limit lines to 80chars
Hannes Magnusson [Fri, 7 May 2010 19:04:45 +0000 (19:04 +0000)]
NEWS is not docs and limit lines to 80chars

15 years ago- Fix typo (take 3! thanks Chris and Tony)
Felipe Pena [Fri, 7 May 2010 17:57:09 +0000 (17:57 +0000)]
- Fix typo (take 3! thanks Chris and Tony)

15 years ago- Fix error message wording (Kalle)
Felipe Pena [Fri, 7 May 2010 17:18:49 +0000 (17:18 +0000)]
- Fix error message wording (Kalle)

15 years ago- Fixed ZEND_VERIFY_ABSTRACT_CLASS order when using traits
Felipe Pena [Fri, 7 May 2010 16:29:15 +0000 (16:29 +0000)]
- Fixed ZEND_VERIFY_ABSTRACT_CLASS order when using traits
# It's the last one now, thus the traits can be used to implement interfaces

15 years agomake the code more readable
Antony Dovgal [Fri, 7 May 2010 15:17:34 +0000 (15:17 +0000)]
make the code more readable

15 years agoAbort if DTrace is not installed on the system
David Soria Parra [Fri, 7 May 2010 15:05:39 +0000 (15:05 +0000)]
Abort if DTrace is not installed on the system

15 years agoAbort with an error message if we cannot create the DTrace header file.
David Soria Parra [Fri, 7 May 2010 14:46:27 +0000 (14:46 +0000)]
Abort with an error message if we cannot create the DTrace header file.

15 years ago- Fixed magic method and constructor copy for traits
Felipe Pena [Fri, 7 May 2010 13:55:27 +0000 (13:55 +0000)]
- Fixed magic method and constructor copy for traits

15 years ago- Added check for constant creation on Traits
Felipe Pena [Fri, 7 May 2010 11:09:35 +0000 (11:09 +0000)]
- Added check for constant creation on Traits
- Simplified trait flag check
- Test++ :)

15 years ago- New tests
Felipe Pena [Thu, 6 May 2010 19:21:11 +0000 (19:21 +0000)]
- New tests

15 years ago- Added check for 'static' on trait visibility modifier
Felipe Pena [Thu, 6 May 2010 19:20:12 +0000 (19:20 +0000)]
- Added check for 'static' on trait visibility modifier

15 years ago- Fix typos
Felipe Pena [Thu, 6 May 2010 18:28:45 +0000 (18:28 +0000)]
- Fix typos

15 years ago- Fix error messages & WS
Felipe Pena [Thu, 6 May 2010 18:20:38 +0000 (18:20 +0000)]
- Fix error messages & WS

15 years ago- New tests
Felipe Pena [Thu, 6 May 2010 15:49:58 +0000 (15:49 +0000)]
- New tests

15 years ago- Added get_declared_traits()
Felipe Pena [Thu, 6 May 2010 15:18:20 +0000 (15:18 +0000)]
- Added get_declared_traits()

15 years agoWell we do need zend_throw_exception_ex ;-)
Kalle Sommer Nielsen [Thu, 6 May 2010 13:44:35 +0000 (13:44 +0000)]
Well we do need zend_throw_exception_ex ;-)

15 years agoAdded compiler hints
Dmitry Stogov [Thu, 6 May 2010 12:52:27 +0000 (12:52 +0000)]
Added compiler hints

15 years agoOptimized access to static properties using executor specialization. A constant class...
Dmitry Stogov [Thu, 6 May 2010 10:27:35 +0000 (10:27 +0000)]
Optimized access to static properties using executor specialization. A constant class name may be used as a direct operand of ZEND_FETCH_* instruction without previous ZEND_FETCH_CLASS.

15 years agoFixed PDO objects binary incompatibility
Dmitry Stogov [Thu, 6 May 2010 08:37:41 +0000 (08:37 +0000)]
Fixed PDO objects binary incompatibility

15 years agoAdd JSON_Serializable interface
Sara Golemon [Wed, 5 May 2010 22:48:14 +0000 (22:48 +0000)]
Add JSON_Serializable interface
Objects implementing JSON_Serializable will have
their ->jsonSerialize() method called

Similar to serialize() and __sleep()

15 years ago- Fixed bug #51740 (acinclude.m4 macro PHP_CHECK_SIZEOF is not properly quoted)
Felipe Pena [Wed, 5 May 2010 21:55:44 +0000 (21:55 +0000)]
- Fixed bug #51740 (acinclude.m4 macro PHP_CHECK_SIZEOF is not properly quoted)
  Patch by: dave dot mulford at gmail dot com

15 years ago- nuke unused vars
Pierre Joye [Wed, 5 May 2010 13:51:54 +0000 (13:51 +0000)]
- nuke unused vars

15 years ago- #51063, news and test
Pierre Joye [Wed, 5 May 2010 13:39:35 +0000 (13:39 +0000)]
- #51063, news and test

15 years ago- #51063, implement getimagesizefromstring
Pierre Joye [Wed, 5 May 2010 13:37:40 +0000 (13:37 +0000)]
- #51063, implement getimagesizefromstring

15 years agofix bug #48601 (xpath() returns FALSE for legitimate query)
Rob Richards [Wed, 5 May 2010 11:40:11 +0000 (11:40 +0000)]
fix bug #48601 (xpath() returns FALSE for legitimate query)
add test

15 years agoFixed bug #50698 (SoapClient should handle wsdls with some incompatiable endpoints...
Dmitry Stogov [Wed, 5 May 2010 07:43:45 +0000 (07:43 +0000)]
Fixed bug #50698 (SoapClient should handle wsdls with some incompatiable endpoints). (Justin Dearing)

15 years ago- New tests
Felipe Pena [Tue, 4 May 2010 19:06:13 +0000 (19:06 +0000)]
- New tests

15 years ago- Added check for trait when trying to extend it
Felipe Pena [Tue, 4 May 2010 18:45:01 +0000 (18:45 +0000)]
- Added check for trait when trying to extend it

15 years ago- Fix trait flag identification
Felipe Pena [Tue, 4 May 2010 18:31:40 +0000 (18:31 +0000)]
- Fix trait flag identification

15 years ago- Added check for abstract class
Felipe Pena [Tue, 4 May 2010 18:21:00 +0000 (18:21 +0000)]
- Added check for abstract class

  abstract class foo { }
  class T { use foo; } // T cannot use foo - it is not a trait

- Added check for trait on NEW

  trait a { }
  new a; // Cannot instantiate trait a

# Tests for errors comming soon :)

15 years agofix bug #49490 (XPath namespace prefix conflict)
Rob Richards [Tue, 4 May 2010 15:41:49 +0000 (15:41 +0000)]
fix bug #49490 (XPath namespace prefix conflict)
add test

15 years ago- Fixed bug #49081 (DateTime::diff() mistake if start in January and interval >
Derick Rethans [Tue, 4 May 2010 15:11:41 +0000 (15:11 +0000)]
- Fixed bug #49081 (DateTime::diff() mistake if start in January and interval >
  28 days). (Derick)

15 years agoOOM stability fixes
Andrey Hristov [Tue, 4 May 2010 14:02:42 +0000 (14:02 +0000)]
OOM stability fixes

15 years agoAdd possibility to control the allocator in when PHP is compiled
Andrey Hristov [Tue, 4 May 2010 13:49:43 +0000 (13:49 +0000)]
Add possibility to control the allocator in when PHP is compiled
with debug

15 years agofix bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable)
Rob Richards [Tue, 4 May 2010 12:55:26 +0000 (12:55 +0000)]
fix bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable)

15 years agofix non-windows builds
Rob Richards [Tue, 4 May 2010 12:12:28 +0000 (12:12 +0000)]
fix non-windows builds

15 years agoFix for bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
Adam Harvey [Tue, 4 May 2010 11:56:59 +0000 (11:56 +0000)]
Fix for bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
Thanks to Hiroaki Kawai for the original patch.

15 years agoAlter the getmxrr() test to use lists.php.net (which we presumably control)
Adam Harvey [Tue, 4 May 2010 09:41:47 +0000 (09:41 +0000)]
Alter the getmxrr() test to use lists.php.net (which we presumably control)
instead of ez.no (which we presumably don't) for the single MX record test.

15 years ago- Fixed bug #51732, Fileinfo __construct or open does not work with NULL
Pierre Joye [Tue, 4 May 2010 08:48:58 +0000 (08:48 +0000)]
- Fixed bug #51732, Fileinfo __construct or open does not work with NULL

15 years agoChanged naming of traits-related helper functions (suggested by Derick), added missin...
Stefan Marr [Mon, 3 May 2010 22:08:09 +0000 (22:08 +0000)]
Changed naming of traits-related helper functions (suggested by Derick), added missing static qualifiers.

15 years ago- revert fix for #51723 in 5.2, vc6 does not support strtoi64, use builtin functioon...
Pierre Joye [Mon, 3 May 2010 19:51:59 +0000 (19:51 +0000)]
- revert fix for #51723 in 5.2, vc6 does not support strtoi64, use builtin functioon in 5.3 (trunk is vc9+ only)

15 years agoHandle OOM in mysqlnd_res::store_result_fetch_data
Andrey Hristov [Mon, 3 May 2010 19:32:07 +0000 (19:32 +0000)]
Handle OOM in mysqlnd_res::store_result_fetch_data

15 years ago- fix build (declaration must be first)
Pierre Joye [Mon, 3 May 2010 19:31:50 +0000 (19:31 +0000)]
- fix build (declaration must be first)

15 years agoHandle OOM in mysqlnd_fetch_row_buffered_c()
Andrey Hristov [Mon, 3 May 2010 19:09:45 +0000 (19:09 +0000)]
Handle OOM in mysqlnd_fetch_row_buffered_c()

15 years agoHandle OOM in mysqlnd_fetch_row_unbuffered_c()
Andrey Hristov [Mon, 3 May 2010 19:02:48 +0000 (19:02 +0000)]
Handle OOM in mysqlnd_fetch_row_unbuffered_c()

15 years agoHandle OOM stemming from mysqlnd_result_init in the same
Andrey Hristov [Mon, 3 May 2010 18:50:47 +0000 (18:50 +0000)]
Handle OOM stemming from mysqlnd_result_init in the same
function and up the stack.

15 years ago- #51273, Content-length header is limited to 32bit integer with apache2/windows
Pierre Joye [Mon, 3 May 2010 17:47:58 +0000 (17:47 +0000)]
- #51273, Content-length header is limited to 32bit integer with apache2/windows

15 years agoHandle gracefully OOM in mysqlnd_mempool_create and up the stack
Andrey Hristov [Mon, 3 May 2010 17:07:18 +0000 (17:07 +0000)]
Handle gracefully OOM in mysqlnd_mempool_create and up the stack

15 years ago- Replaced 'zend_hash_find' to 'zend_hash_quick_find' on zend_hash_compare() function
Felipe Pena [Mon, 3 May 2010 16:36:04 +0000 (16:36 +0000)]
- Replaced 'zend_hash_find' to 'zend_hash_quick_find' on zend_hash_compare() function

15 years agoHandle OOM in block_alloc_get_chunk, and also in the caller
Andrey Hristov [Mon, 3 May 2010 16:20:46 +0000 (16:20 +0000)]
Handle OOM in block_alloc_get_chunk, and also in the caller
in mysqlnd_wireprotocol.c

15 years agoRemove unused parameter
Andrey Hristov [Mon, 3 May 2010 16:09:05 +0000 (16:09 +0000)]
Remove unused parameter

15 years agoFixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER())
Ilia Alshanetsky [Mon, 3 May 2010 14:41:40 +0000 (14:41 +0000)]
Fixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER())

15 years ago- WS
Pierre Joye [Mon, 3 May 2010 14:30:14 +0000 (14:30 +0000)]
- WS

15 years agoOne more case to handle in case of OOM, in block_alloc_resize_chunk
Andrey Hristov [Mon, 3 May 2010 14:26:08 +0000 (14:26 +0000)]
One more case to handle in case of OOM, in block_alloc_resize_chunk

15 years agoHandle OOM when resizing blocks during data fetch
Andrey Hristov [Mon, 3 May 2010 14:16:04 +0000 (14:16 +0000)]
Handle OOM when resizing blocks during data fetch

15 years agoFix compiler warnings - unused functions
Andrey Hristov [Mon, 3 May 2010 13:51:30 +0000 (13:51 +0000)]
Fix compiler warnings - unused functions

15 years agoBetter handing of OOM in mysqlnd::set_client_option
Andrey Hristov [Mon, 3 May 2010 13:45:58 +0000 (13:45 +0000)]
Better handing of OOM in mysqlnd::set_client_option

15 years agoFix build, declarings first
Kalle Sommer Nielsen [Mon, 3 May 2010 09:21:21 +0000 (09:21 +0000)]
Fix build, declarings first

15 years ago- update bison version (mike)
Pierre Joye [Mon, 3 May 2010 09:05:54 +0000 (09:05 +0000)]
- update bison version (mike)

15 years ago- Fixed a possible stack exaustion inside fnmatch(). Reporeted by Stefan Esser
Ilia Alshanetsky [Sun, 2 May 2010 19:34:21 +0000 (19:34 +0000)]
- Fixed a possible stack exaustion inside fnmatch(). Reporeted by Stefan Esser

15 years ago- WS
Felipe Pena [Sun, 2 May 2010 18:47:27 +0000 (18:47 +0000)]
- WS

15 years ago- Changed zend_hash func calls to use the quick ones
Felipe Pena [Sun, 2 May 2010 17:39:24 +0000 (17:39 +0000)]
- Changed zend_hash func calls to use the quick ones

15 years agoRefactored part of the Traits implementation.
Stefan Marr [Sun, 2 May 2010 16:32:25 +0000 (16:32 +0000)]
Refactored part of the Traits implementation.
# - renamed php_runkit_function_copy_ctor to _duplicate_function
#   REM: runkit does not compile with trunk at the moment, fixing it would introduce even more version #ifs, don't know what the best way is to fix it
# - extracted traits related stuff from destroy_zend_class into _destroy_zend_class_traits_info
#   - need to investigate implementation/handling of internal classes further before enabling internal traits

15 years agoFix bug in unaligned memory access fix
Raphael Geissert [Sun, 2 May 2010 05:01:51 +0000 (05:01 +0000)]
Fix bug in unaligned memory access fix

15 years agoFix unaligned memory accesses in enchant (bug #51289)
Raphael Geissert [Sat, 1 May 2010 23:32:40 +0000 (23:32 +0000)]
Fix unaligned memory accesses in enchant (bug #51289)

15 years ago- Fixed bug #51719 (typo in function prototype)
Felipe Pena [Sat, 1 May 2010 18:54:49 +0000 (18:54 +0000)]
- Fixed bug #51719 (typo in function prototype)

15 years agoFix another typo s/exlcusive/exclusive
Raphael Geissert [Sat, 1 May 2010 18:30:38 +0000 (18:30 +0000)]
Fix another typo s/exlcusive/exclusive

15 years agoFix typos s/connnection/connection
Raphael Geissert [Sat, 1 May 2010 18:27:42 +0000 (18:27 +0000)]
Fix typos s/connnection/connection

15 years agomerge the fix for #51688
Antony Dovgal [Fri, 30 Apr 2010 08:20:57 +0000 (08:20 +0000)]
merge the fix for #51688

15 years ago- Fix #51688, ini per dir crashes when invalid document root are given
Pierre Joye [Fri, 30 Apr 2010 08:15:09 +0000 (08:15 +0000)]
- Fix #51688, ini per dir crashes when invalid document root  are given

15 years agoMake sure we search the source dir for the dtrace files
David Soria Parra [Fri, 30 Apr 2010 00:07:39 +0000 (00:07 +0000)]
Make sure we search the source dir for the dtrace files

15 years agoFix misplaced code
Etienne Kneuss [Thu, 29 Apr 2010 17:14:37 +0000 (17:14 +0000)]
Fix misplaced code

15 years agoHandle OOM cases, in case of persistent connections this is real
Andrey Hristov [Thu, 29 Apr 2010 15:49:51 +0000 (15:49 +0000)]
Handle OOM cases, in case of persistent connections this is real
and the Zend MM won't help.

15 years agoImplement SplObjectStorage::getHash()
Etienne Kneuss [Thu, 29 Apr 2010 15:47:41 +0000 (15:47 +0000)]
Implement SplObjectStorage::getHash()

15 years agoFix valgrind warning, usage of nirvana memory
Andrey Hristov [Thu, 29 Apr 2010 15:17:44 +0000 (15:17 +0000)]
Fix valgrind warning, usage of nirvana memory

15 years agoAdd a test case for the recently fixed memleak
Andrey Hristov [Thu, 29 Apr 2010 13:19:57 +0000 (13:19 +0000)]
Add a test case for the recently fixed memleak