Aaron Piotrowski
1d18f5d1d1
Update test for differing output on 8.2
2023-06-17 10:01:02 -05:00
Aaron Piotrowski
d9519ca613
Update test for socket objects
2023-06-17 09:41:28 -05:00
Bob Weinand
515476f765
uv_stdio_new() without args now creates an UVStdio with UV_IGNORE ( Closes #73 )
2020-02-15 22:51:43 +01:00
Bob Weinand
8b0c0e924c
Fix scandir() & require callbacks where necessary
2020-02-15 19:46:57 +01:00
Bob Weinand
1682ecf99f
Fix closing failed uv_spawn() ( Closes #79 )
2020-02-15 18:07:24 +01:00
Bob Weinand
082fdfb203
Add uv_process_get_pid() ( Closes #71 )
2020-02-15 17:50:44 +01:00
Bob Weinand
e76ac0dccb
Refactor uv callback signatures
2020-02-15 17:40:10 +01:00
Bob Weinand
b05e148986
Fix arginfo
2020-02-15 12:02:39 +01:00
Bob Weinand
63fa7f1609
Fix segfault on uv_fs_readlink() where target is not a link
2019-05-04 00:18:05 +02:00
Remi Collet
a4c0fc2e75
better sub-process command
2019-04-29 07:40:20 +02:00
Bob Weinand
37deaf7104
Fixup package.xml
2019-04-28 14:13:47 +02:00
Bob Weinand
99fbf65273
Fix build on php master
2019-04-28 13:44:03 +02:00
Remi Collet
b1b5729f4d
relax tests for 7.3
2018-06-27 16:14:08 +02:00
Bob Weinand
79d8aaa0bd
Fix #50 : bad fsevent example
2017-08-21 08:54:34 -04: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
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
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
f2cec338bd
Prevent creation of useless resources and fix too high refcount of uv_fs_open() returned resources
2017-03-05 01:46:48 +01:00
Bob Weinand
51e48971dc
Merge branch 'master' of https://github.com/Ezaki113/php-uv
...
Also fixup a few mistakes related to reference counting
2017-03-03 02:11:48 +01:00
Bob Weinand
e2a6bcddae
Merge branch 'fix-memory-leak' of https://github.com/Ezaki113/php-uv
...
Also fix memory leaks in general when closing without previous explicit stop
2017-02-28 18:22:45 +01:00
Andrey Kostylev
2798970b49
garbage resource after uv_close
2017-02-24 18:27:24 +03:00
Andrey Kostylev
1f8fde011b
uv_listen callback is not destroyed by gc anymore
2017-02-24 14:57:58 +03:00
Andrey Kostylev
0a48764b9f
stdout ofc
2017-02-20 23:12:06 +03:00
Andrey Kostylev
cd27758748
fix uv_write memory leak test
2017-02-20 00:19:49 +03:00
Andrey Kostylev
3b0edcc5cc
uv_write memory leak test
2017-02-20 00:14:54 +03:00
Andrey Kostylev
1139b895c9
seems it works
2017-02-19 22:06:31 +03:00
Andrey Kostylev
1e8cf368e8
fix broken test
2017-02-19 04:17:23 +03:00
Andrey Kostylev
5e0cd202cb
uv_loop_delete segfault test case
2017-02-19 04:16:49 +03:00
Remi Collet
0a9ac7b898
add skipif section on 2 tests
2016-11-01 18:26:28 +01:00
Bob Weinand
30c34d72a3
pthread_rwlock requires the lock being unlocked as often as it has been acquired
...
tests/700-uv_rwlock.phpt throws a notice inside resource dtor, which causes a memory leak in PHP; setting track_errors=0 temporarily there for having the test pass here.
2016-11-01 16:32:05 +01:00
Bob Weinand
567ca4f30b
Fix #18 remove all traces of http parser
2016-10-30 00:57:41 +02:00
Bob Weinand
bd9a7d7e81
Fix refcounting and freeing
2016-05-11 05:13:16 +02:00
Bob Weinand
7bc813596d
Fixed missing refcount increment
2015-01-21 17:04:49 +01:00
Bob Weinand
4751e80a65
Fix various bugs...
2015-01-18 17:24:13 +01:00
Bob Weinand
4332fe7aa1
Current, broken PHP 7 port...
2015-01-18 02:58:40 +01:00
Steve Rhoades
605a20a568
merging offset changes from PR #60
2014-11-23 18:02:03 +00:00
Steve Rhoades
a026d7526a
update test, just checking for no segfault
2014-11-14 02:26:36 +00:00
Steve Rhoades
f2052a38f1
fix notice
2014-11-14 02:15:36 +00:00
Steve Rhoades
2408f16a7a
Fix issue #36 , Fix issue #56 , uv_poll no longer allows plainfiles or php related streams resolving a SIGABRT as epoll doesn't support those stream types
2014-11-14 02:01:07 +00:00
Steve Rhoades
dd9aac9abb
Fix Issue #59 segfault on null passed as handle to uv_stdio_new
2014-11-13 02:20:21 +00:00
Daniel Lowrey
a25595f43a
Add $offset param to uv_fs_read() to allow seeking on open handles
...
This change modifies the uv_fs_read() function signature slightly by adding
a new $offset parameter. This allows the same file handle to be reused for
multiple reads. Previously the only way to access a section of a file that
had already been read was to open a new handle.
Old:
uv_fs_read(resoruce $loop, zval $fd, long $length, callable $callback)
New:
uv_fs_read(resoruce $loop, zval $fd, long $offest, long $length, callable $callback)
This change represents a minor BC break for existing code using uv_fs_read().
2014-11-11 10:47:44 -05:00
Steve Rhoades
9d6e66d516
add test for fs_close issue described in #36 , updating travis build
2014-11-10 17:08:39 +00:00
Steve Rhoades
59f74ea017
fix issue with uv_loop_new based on 1.0 migration guide, add additional tests
2014-11-10 04:30:57 +00:00
Steve Rhoades
1ea6c5aca4
update for libuv 1.0.0rc2, updated tests for api changes
2014-11-07 21:42:17 +00:00
Tjerk Meesters
99c345c51d
Fixed test case to include version being returned as part of the parser results
2014-08-21 17:58:13 +08:00
Tjerk Meesters
91ee8f491a
Fixed off-by-one overflow, updated test case
2014-08-20 22:10:40 +08:00
Tjerk Meesters
be7ff58ae1
Fixed a few test cases
2014-08-20 22:10:40 +08:00
Daniel Lowrey
096eedc215
Add uv_stop()
2014-06-10 09:11:38 -04:00
Shuhei Tanuma
951622a3aa
improve http parser:
...
* support multiple line header field and value.
* support http upgrade mechanism (you have to parse websocket protocol manually)
2014-02-25 17:17:34 +09:00