Shuhei Tanuma
6f4331d0f5
improve several things
2014-01-03 15:37:18 +09:00
brettlangdon
a7e9031c60
uv_run now needs a mode, use UV_RUN_DEFAULT
2014-01-02 18:22:12 -05:00
Shuhei Tanuma
389bb44c2f
initialize finished flag for 5.2 env
2013-09-09 16:19:09 +09:00
Shuhei Tanuma
9ab5074c77
add 5.2 support
2013-09-09 15:59:20 +09:00
Shuhei Tanuma
49f1f7d469
fix typo
2013-04-13 23:37:55 +09:00
Shuhei Tanuma
5d58144648
uv_http_parser_execute: fix #46 change function behavior.
...
result variable was set every function call.
2013-04-13 23:37:26 +09:00
Shuhei Tanuma
baed1c4758
fix segmentation fault when using uv_udp_recv_start #43
2013-03-18 22:19:36 +09:00
Shuhei Tanuma
aa399f2487
switch libuv version to stable version. #40
2013-02-28 21:52:43 +09:00
Andrey Kalinovsky
2081b0d459
Landing pull request #39 . fix uv_run_once + added a return value.
...
More Details:
- https://github.com/chobie/php-uv/pull/39
2013-02-27 02:01:37 +09:00
Shuhei Tanuma
0a7cb9757c
fix #34 . forget to initialize zval
2013-02-27 00:22:35 +09:00
Shuhei Tanuma
d600abc223
Merge pull request #35 from csaoh/fix_constants
...
Fix segfault in fs_stat
2013-02-13 01:13:48 -08:00
Andrey Kalinovsky
05bef15202
Fix codestyle
2013-02-13 10:11:16 +01:00
Andrey
57baf614f8
Fix segfault in fs_stat
2013-02-13 09:58:27 +01:00
Shuhei Tanuma
90c9db6905
update latest libuv and http-parser
...
Notes: ares functions are removed as uv removed that features. please use before commit
if you want to use ares features. currently, php ares extension seems not maintained.
please ask me when you met some troubles about ares feature.
2013-02-11 22:09:29 +09:00
Shuhei Tanuma
42bfa52b1a
Merge pull request #26 from weltling/master
...
Windows fixes
2013-02-11 03:55:32 -08:00
Andrey
87a5b5d831
Fixed indentation
2013-02-07 16:15:41 +01:00
Andrey
97b329c164
Added a length parameter to read
2013-02-07 16:12:23 +01:00
Anatoliy Belsky
eaa75735e2
fixed NTS build, plus
...
- extended config.w32 to look for libs/includes in extra dirs
- fixed config.w32 to care about the sockets ext
- --enable-uv-httpparser is a better wording
- since non bundled library can be used, wording fixed in minfo
2012-11-18 21:56:26 +01:00
Shuhei Tanuma
b77f34833f
common: fix BAD ADDRESS for callback
2012-08-09 12:20:55 +09:00
Shuhei Tanuma
800897c03c
common: fix memory leak regarding handling callback zval
2012-08-05 21:42:06 +09:00
Shuhei Tanuma
6e3eb88f7c
common: uv_write check resource type
2012-07-30 00:56:41 +09:00
Shuhei Tanuma
9f6fdbce52
common: uv_close check uv resource type
2012-07-30 00:53:57 +09:00
Shuhei Tanuma
7b03433f2d
common: uv_read_Stop checks resource type
2012-07-30 00:46:07 +09:00
Shuhei Tanuma
7b2f075a12
common: uv_read_start checks resource type.
2012-07-30 00:45:21 +09:00
Shuhei Tanuma
17b1436023
unix: add type check for uv_shutdown
2012-07-30 00:40:55 +09:00
Shuhei Tanuma
89a46643ca
fix compiler error
2012-07-28 02:02:41 +09:00
Shuhei Tanuma
69aeb9f89f
listen: check uv resource types.
2012-07-28 02:02:27 +09:00
Shuhei Tanuma
1c0ed4c82c
poll: checks uv resource type
2012-07-28 01:59:01 +09:00
Shuhei Tanuma
07122e463e
httpparser: use uppercase keys
2012-07-26 12:36:25 +09:00
Shuhei Tanuma
0c6d859032
common: zval_to_fd macro should be return FALSE
2012-07-24 12:24:48 +09:00
Shuhei Tanuma
be03147188
stdio: fix unmatch cast
2012-07-24 12:15:55 +09:00
Shuhei Tanuma
03fa36a873
spawn: remove unused variable
2012-07-24 12:13:03 +09:00
Shuhei Tanuma
8b0269a3cb
httpparser: fix it
2012-07-24 01:47:02 +09:00
Shuhei Tanuma
c591f130c6
httpparser: try to fix inconsistent hash
2012-07-24 01:45:13 +09:00
Shuhei Tanuma
f39db39e8e
httpparser: fix inconsistent hash
2012-07-24 01:21:50 +09:00
Shuhei Tanuma
74a64409dc
spawn: fix segv
2012-07-24 01:00:37 +09:00
Shuhei Tanuma
03e577c827
httpparser: result variable only update when parser finished.
2012-07-24 00:53:38 +09:00
Shuhei Tanuma
1dd205fe12
fs_poll: check resource type
2012-07-24 00:21:47 +09:00
Shuhei Tanuma
8569abc1f8
process: add type check for uv_process_kill
2012-07-24 00:15:56 +09:00
Shuhei Tanuma
c134d2fba2
tcp: check types
2012-07-24 00:12:56 +09:00
Shuhei Tanuma
7ac60188e9
tty: add type check
2012-07-23 23:13:10 +09:00
Shuhei Tanuma
5a941edd4a
tty: don't raise E_ERROR
2012-07-23 23:08:12 +09:00
Shuhei Tanuma
9a55c5e270
spawn: fix memory leak when using file descriptor
2012-07-23 22:16:05 +09:00
Shuhei Tanuma
eac00b68fb
spawn: opitons accepts uid and gid
2012-07-23 22:12:59 +09:00
Shuhei Tanuma
be24fe6155
docs: add uv_stdio_new function
2012-07-23 00:08:05 +09:00
Shuhei Tanuma
0a2b0751c1
spawn: change function signature. add uv_stdio_new function
2012-07-22 21:54:19 +09:00
Shuhei Tanuma
9a9de96cee
docs: don't put docs into source code. too long
2012-07-22 14:06:52 +09:00
Shuhei Tanuma
c26419f3da
uv_fs: don't raise E_ERROR
2012-07-22 13:38:29 +09:00
Shuhei Tanuma
f4d67706ad
uv_fs: use common function
2012-07-22 13:36:32 +09:00
Shuhei Tanuma
be965f991f
fixed compiler warnings
2012-07-21 21:10:15 +09:00
Shuhei Tanuma
cb40015ffd
for now, move declarations
2012-07-21 20:54:45 +09:00
Shuhei Tanuma
4cb0b36775
don't use false
2012-07-21 20:51:22 +09:00
Shuhei Tanuma
4679654de7
uv_lock functions: use common function
2012-07-21 20:49:10 +09:00
Shuhei Tanuma
fb60200518
uv_async: add type check
2012-07-21 15:56:33 +09:00
Shuhei Tanuma
0ad997171b
uv_udp: check resource type
2012-07-21 15:53:44 +09:00
Shuhei Tanuma
2fd3b35a29
uv_pipe: add type check
2012-07-21 13:22:59 +09:00
Shuhei Tanuma
201787a723
uv_prepare: check types
2012-07-21 09:26:21 +09:00
Shuhei Tanuma
42672626e5
uv_check: add type check
2012-07-21 08:58:14 +09:00
Shuhei Tanuma
bbee29313c
uv_idle: add type check
2012-07-21 08:38:18 +09:00
Shuhei Tanuma
e101808e81
uv_timer: add type check and prevent freeze
2012-07-21 00:53:08 +09:00
Shuhei Tanuma
395806f1ea
uv_timer_start: check timeout and repeat value
2012-07-21 00:32:35 +09:00
Shuhei Tanuma
5e4071ecf7
for now, use macro for initialize uv_timer_init resource
2012-07-21 00:12:24 +09:00
Shuhei Tanuma
5275104bcf
uv_tcp_connect: add type check
2012-07-21 00:01:30 +09:00
Shuhei Tanuma
543a05c678
add comment [ci skip]
2012-07-20 23:46:44 +09:00
Shuhei Tanuma
3b3968292d
refactor lock resource
2012-07-20 12:55:40 +09:00
Shuhei Tanuma
60db70f26b
don't use meanless variable name
2012-07-20 12:34:40 +09:00
Shuhei Tanuma
a7bf3ac170
use macro
2012-07-20 12:32:51 +09:00
Shuhei Tanuma
02da1858bc
don't access addr->is_ipv4 directly
2012-07-20 00:57:08 +09:00
Shuhei Tanuma
6344c4c07f
don't access php_uv_sockaddr_t's sockaddr_in directly
2012-07-20 00:52:36 +09:00
Shuhei Tanuma
f6c7e40d20
uv_ip4_addr, uv_ip6_addr: add emalloc check
2012-07-20 00:42:44 +09:00
Shuhei Tanuma
7a37f8f3c1
uv_streror: type check and refactor
2012-07-20 00:24:17 +09:00
Shuhei Tanuma
693a8782c1
uv_tcp_bind, uv_udp_bind: check resource type
2012-07-20 00:09:33 +09:00
Shuhei Tanuma
4de840259b
uv_strerror, uv_err_name: check error code
2012-07-19 23:37:55 +09:00
Shuhei Tanuma
f46f910141
do need to use ZEND_FETCH_RESOURCE_NORETURN macro here
2012-07-19 23:14:00 +09:00
Shuhei Tanuma
ee4e70610c
use fetch loop macro
2012-07-19 23:11:58 +09:00
Shuhei Tanuma
ed379f738f
check loop resource type
2012-07-19 23:09:34 +09:00
Shuhei Tanuma
2015dd41d6
add docs [ci skip]
2012-07-18 22:05:20 +09:00
Shuhei Tanuma
52b91e2b44
uv_ref and uv_unref supports uv_loop resource
2012-07-17 21:58:52 +09:00
Shuhei Tanuma
f3705a06a0
update docs [ci skip]
2012-07-17 21:48:35 +09:00
Shuhei Tanuma
6d3af6ba5a
update readm [ci skip]
2012-07-17 12:42:03 +09:00
Shuhei Tanuma
ef600350e1
remove unused variable
2012-07-17 12:41:34 +09:00
Shuhei Tanuma
49ffc90d8d
update docs [ci skip]
2012-07-17 00:52:06 +09:00
Shuhei Tanuma
dfef38cc69
update readme [ci skip]
2012-07-16 10:31:38 +09:00
Shuhei Tanuma
f3c315f917
add util function: uv_handle_type
2012-07-16 02:50:38 +09:00
Shuhei Tanuma
c919487ebe
add uv_guess_handle
2012-07-16 02:06:05 +09:00
Shuhei Tanuma
ccd0c57305
update docs [ci skip]
2012-07-16 01:34:41 +09:00
Shuhei Tanuma
35d57e6b35
fixing markdown [ci skip]
2012-07-16 01:25:49 +09:00
Shuhei Tanuma
d458cd5905
add several function docs [ci skip]
2012-07-16 01:22:05 +09:00
Shuhei Tanuma
af6e179128
add uv_poll docs [ci skip]
2012-07-16 00:51:05 +09:00
Shuhei Tanuma
ed895be80c
add uv_poll_init_socket
2012-07-16 00:32:29 +09:00
Shuhei Tanuma
01ba787a36
do not free here
2012-07-16 00:09:29 +09:00
Shuhei Tanuma
61a05cbc96
uv_fs*: callback parameter fd
passes given PHPs stream, socket or file descriptor.
2012-07-15 23:47:49 +09:00
Shuhei Tanuma
157f6ca7e2
adjust fs_poll sample
2012-07-15 22:54:56 +09:00
Shuhei Tanuma
ff5f4023f4
add note for uv_read_start
2012-07-15 21:32:16 +09:00
Shuhei Tanuma
2454e91bda
add http parser document. and fix constnats [ci skip]
2012-07-15 20:45:34 +09:00
Shuhei Tanuma
091eef8a6b
update readme [ci skip]
2012-07-15 20:27:53 +09:00
Shuhei Tanuma
04c2fdb745
fix write2 proto docs [ci skip]
2012-07-15 20:21:11 +09:00
Shuhei Tanuma
933a05f0f5
update readme [ci skip]
2012-07-15 20:16:15 +09:00
Shuhei Tanuma
706ef03e74
change idle cb parameters
2012-07-15 20:10:07 +09:00
Shuhei Tanuma
b0d8e785b6
add several docs [ci skip]
2012-07-15 19:12:25 +09:00