Commit Graph

644 Commits

Author SHA1 Message Date
Bob Weinand
9d25abb408 Add missing dependency for windows linking 2019-04-28 18:03:05 +02:00
Bob Weinand
b64c4e94cf
Merge pull request #56 from joelwurtz/patch-2
Fix ipv6 bind on travis
2019-04-28 14:22:28 +02:00
Bob Weinand
afcbfe909b Aaaand update uv version in php_uv.h 2019-04-28 14:21:08 +02:00
Bob Weinand
37deaf7104 Fixup package.xml 2019-04-28 14:13:47 +02:00
Bob Weinand
b84f4378ea Add 0.2.3 pecl version 2019-04-28 14:12:29 +02:00
Bob Weinand
99fbf65273 Fix build on php master 2019-04-28 13:44:03 +02:00
Bob Weinand
5a851173a3 Fix PHP-7.4+ build 2019-04-28 12:50:24 +02:00
Bob Weinand
1cb0668a63 Fix windows build 2019-04-28 12:41:36 +02:00
Bob Weinand
bb75025792 Actually, fix zpp usage only on PHP 7.4+ 2019-01-24 13:40:20 +01:00
Bob Weinand
b9f8b64383 Fix zpp usage for PHP >= 7.3.2 2019-01-24 13:38:03 +01:00
Bob Weinand
a983eb17b6 Rename link to nlink in stat to mirror stat() 2018-11-12 10:47:44 +01:00
Bob Weinand
72aa710358 Fix uv_fs_scandir returning 0 as status instead of true on empty directory 2018-11-02 10:46:54 +01:00
Bob Weinand
d3433a1875 Fix ZTS build 2018-07-08 09:07:54 +02:00
Bob Weinand
5e2a2c4a1e
Merge pull request #60 from remicollet/issue-php73
relax tests for 7.3
2018-06-27 17:13:07 +02:00
Remi Collet
b1b5729f4d relax tests for 7.3 2018-06-27 16:14:08 +02:00
Bob Weinand
fc685d1cb5 Fix build for newest php-src master 2018-02-28 02:51:00 +01:00
Bob Weinand
975ed72ee8
Merge pull request #55 from joelwurtz/patch-1
Remove dependency on PHP version for GC_ADDREF macro
2018-01-08 23:49:45 +01:00
Joel Wurtz
5b2743e972
Fix ipv6 bind on travis
see https://github.com/travis-ci/travis-ci/issues/8361#issuecomment-350497804
2017-12-22 22:29:28 +01:00
Joel Wurtz
2ba4d96379
Remove dependency on PHP version for GC_ADDREF macro 2017-12-22 21:56:25 +01:00
Bob Weinand
585209b610
Merge pull request #54 from joelwurtz/patch-1
Add 7.2 testing on travis
2017-12-20 17:39:03 +01:00
Joel Wurtz
498a0ba1dd
Add 7.2 testing 2017-12-19 12:38:34 +01:00
Bob Weinand
880d84cd83 PHP 7.3 compatibility 2017-10-30 14:37:56 +01:00
Bob Weinand
79d8aaa0bd Fix #50: bad fsevent example 2017-08-21 08:54:34 -04:00
Bob Weinand
7ff75d760d Prepare 0.2.2 2017-06-27 15:50:12 +02:00
Bob Weinand
e4cb65e5e3 wtf, uv_fs_scandir()??? - Prevent walking the loop after dtor 2017-06-17 19:34:52 +02:00
Bob Weinand
20869861c8 Fix 7.2 build 2017-06-16 16:30:36 +02:00
Bob Weinand
a5cea676ea Do not warn when using closed handles with uv_is_active() 2017-05-16 17:48:34 +02:00
Bob Weinand
7982b64a14 Fully fix uv_async too
I am bad at copying over already fixed code, sigh...
2017-05-09 00:21:58 +02:00
Bob Weinand
836c0c68f5 Fix #43 - Add handling for uv pipes within UVStdio objects
Also some refcounting issues within uv_async* and uv_udp*
2017-05-09 00:13:00 +02:00
Bob Weinand
a2ab5c8296 Fix #44 - prepare 0.2.1 2017-05-08 12:10:59 +02:00
Bob Weinand
c38fbc92b3 Prepare v0.2.0 2017-05-07 22:39:24 +02:00
Bob Weinand
92bb903b1b Fix PHP 7.1 build and uv_queue_work() 2017-05-07 19:37:05 +02:00
Bob Weinand
a62782aead Fix PHP 7.0 and 7.1 builds 2017-05-07 19:20:49 +02:00
Bob Weinand
e8b3f8b5de Fix refcount upon polling error
libuv will then itself stop the polling and thus refcount needs to be in sync with that
2017-05-07 18:58:59 +02:00
Bob Weinand
942cb77e5e Fix uninitialized php_uv_loop_t * variables 2017-05-07 18:14:08 +02:00
Bob Weinand
7b345baef0 Fix compile with gcc 2017-05-07 13:25:59 +02:00
Bob Weinand
ad904731ba Use objects instead of resources as handle representation
This also adds proper get_gc handlers in order to resolve potenial cycles
2017-05-07 13:14:26 +02:00
Bob Weinand
2b5a298f82 Return the return value of uv_spawn if not zero
Fixes #38
2017-04-26 13:17:06 +02:00
Bob Weinand
db7ccff3cf Add support for POSIX FIFOs
Fixes #39
2017-04-26 13:01:40 +02:00
Bob Weinand
e451cd795c Revert (broken) support for php://temp, it points to a file, not to a stream 2017-04-26 12:06:16 +02:00
Bob Weinand
78236d11da Some stupid stdlibs define strcmp as a macro ... 2017-04-11 12:46:12 +02:00
Bob Weinand
102b22bafe Fix ordering in fs_stat test
There is no guarantee that the one fs_stat callback will be invoked before the other
2017-04-11 12:39:42 +02:00
Bob Weinand
325d6ff6b1 Fix leaking memory upon failed uv_write request 2017-04-11 12:32:58 +02:00
Bob Weinand
2e0a10b559 Fix Windows build
Fixes #34
2017-04-11 12:21:54 +02:00
Bob Weinand
158f959f94 Add uv_tcp_open() and uv_udp_open() 2017-04-11 12:06:22 +02:00
Bob Weinand
0d48aaf4cb Add support for php://temp streams
Fixes #35
2017-04-11 11:47:00 +02:00
Bob Weinand
5e40a438c4 Fix memory leaking for NULL callbacks
Fixes #37
2017-04-11 11:38:10 +02:00
Bob Weinand
2c384371bf Prepare v0.1.2 2017-03-06 13:28:35 +01:00
Bob Weinand
a4036293d9 Fix leaking php_uv_t when its resource was closed before uv_close_cb invocation 2017-03-05 03:54:37 +01:00
Bob Weinand
e2cc81869e Fix crash caused by refcount decrement on temporary resource 2017-03-05 03:21:42 +01:00