From ce784064c482e426e5b229e01d8911c7a3369b79 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Tue, 1 Nov 2016 17:30:59 +0100 Subject: [PATCH] Ready for PECL --- EXPERIMENTAL | 5 -- README.md | 2 +- TODO.md | 10 +--- package.xml | 136 +++++++++++++++++++++++++++++++++++++++++++++++ phpunit.xml.dist | 11 ---- 5 files changed, 139 insertions(+), 25 deletions(-) delete mode 100644 EXPERIMENTAL create mode 100644 package.xml delete mode 100644 phpunit.xml.dist diff --git a/EXPERIMENTAL b/EXPERIMENTAL deleted file mode 100644 index d3ca163..0000000 --- a/EXPERIMENTAL +++ /dev/null @@ -1,5 +0,0 @@ -this extension is experimental, -its functions may change their names -or move to extension all together -so do not rely to much on them -you have been warned! \ No newline at end of file diff --git a/README.md b/README.md index 88e0758..6c5a2e1 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Interface to libuv for php. ## \*nix ```` -git clone https://github.com/bwoebi/php-uv.git --recursive +git clone https://github.com/bwoebi/php-uv.git cd php-uv phpize ./configure diff --git a/TODO.md b/TODO.md index d80091e..83a31e0 100644 --- a/TODO.md +++ b/TODO.md @@ -1,23 +1,17 @@ # TODO * implement all test cases. -* improve source code.(avoids copy and paste) +* improve source code. (avoids copy and paste) * more error handling * buffer allocator * documents -# Known Issues - -* something wrong on OSX box. (corrupted queue, fs event...) -* windows support (currently, this can build. but not fully tested). - # functions (not implemented or not tested) * UV_EXTERN int uv_write2(uv_write_t* req, uv_stream_t* handle, uv_buf_t bufs[],int bufcnt, uv_stream_t* send_handle, uv_write_cb cb); -* UV_EXTERN int uv_queue_work(uv_loop_t* loop, uv_work_t* req, uv_work_cb work_cb, uv_after_work_cb after_work_cb); * UV_EXTERN int uv_is_closing(const uv_handle_t* handle); -# Not support +# Not supported * UV_EXTERN void uv_once(uv_once_t* guard, void (*callback)(void)); we don't support thread. so this function does not need. diff --git a/package.xml b/package.xml new file mode 100644 index 0000000..c7ebb48 --- /dev/null +++ b/package.xml @@ -0,0 +1,136 @@ + + + uv + pecl.php.net + libuv wrapper + uv provides access to underlying libuv functions + + Bob Weinand + bwoebi + bobwei9@hotmail.com + yes + + 2016-11-01 + + + 0.1.0 + 0.1.0 + + + beta + beta + + PHP License + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7.0.0 + + + 1.4.0b1 + + + + uv + + diff --git a/phpunit.xml.dist b/phpunit.xml.dist deleted file mode 100644 index 37d044e..0000000 --- a/phpunit.xml.dist +++ /dev/null @@ -1,11 +0,0 @@ - - - - ./tests/ - - - \ No newline at end of file