[PATCH 00/11] pecl: dio: php7 fixes/improvements
| From: | Michael Heimpold | Date: | Tue, 19 Jul 2016 21:05:50 +0000 |
| Subject: | [PATCH 00/11] pecl: dio: php7 fixes/improvements | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-13863@lists.php.net to get a copy of this message | ||
This patch series converts the pecl dio package to the new API
introduced in PHP7.
Addionally, it adds some more often desired baudrates - as they might
be not available on all systems, we use usual ifdef machinery.
This series should fix at least the following two bugs:
https://bugs.php.net/bug.php?id=71934
https://bugs.php.net/bug.php?id=72270
I already tried to contact package maintainer, but got no
response yet - so I do not know whether this packages is still
actively maintained.
This work is also available to be pulled from my Github-Repo,
see various branches at:
https://github.com/mhei/pecl_dio
Any feedback is welcome.
Michael Heimpold (11):
Replace ZEND_FETCH_RESOURCE macro with zend_fetch_resource
Replace ZEND_REGISTER_RESOURCE with zend_register_resource
RETURN_STRINGL takes only 2 arguments
Replace zend_hash_find with zend_hash_str_find
Replace dio_convert_to_long
Adopt to changed stream API interface
Remove ancient macros TSRMLS_CC and TSRMLS_DC
Fix tests for legacy interface
Add missing changes from changed stream API interface
Add .gitignore
Add additional baudrates
.gitignore | 28 ++++++++
dio.c | 195 ++++++++++++++++++++++++++++++--------------------
dio_common.c | 114 +++++++++++++----------------
dio_posix.c | 22 +++---
dio_stream_wrappers.c | 64 ++++++++---------
dio_win32.c | 46 ++++++------
php_dio_common.h | 14 ++--
7 files changed, 267 insertions(+), 216 deletions(-)
create mode 100644 .gitignore
--
2.5.0