Commit Graph

376 Commits

Author SHA1 Message Date
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
Shuhei Tanuma
b927f15019 hmm... for now, add descriptions and parameters into source code. [ci skip] 2012-07-15 19:01:23 +09:00
Shuhei Tanuma
ddc4d3017d TODO: fix uv_spawn 2012-07-15 17:57:45 +09:00
Shuhei Tanuma
58feabb350 add uv_loop_new 2012-07-15 17:51:06 +09:00
Shuhei Tanuma
9c28657090 i don't have good solution for including php_sockets.h on windows box. for now comment out 2012-07-15 14:03:22 +09:00
Shuhei Tanuma
141de07e0e now, uv_fs functions accepts php's stream, socket and fd 2012-07-15 03:56:29 +09:00
Shuhei Tanuma
f5bf49b415 for now, add uv_walk function. but it does not work yet. 2012-07-15 01:40:34 +09:00
Shuhei Tanuma
0e8eb9fcbb for now, add uv_write2 2012-07-14 23:24:56 +09:00
Shuhei Tanuma
fb3f2e5930 Merge branch 'feature/dtrace-support' 2012-07-14 22:57:56 +09:00
Shuhei Tanuma
20ab459846 adjust dtrace support 2012-07-14 22:57:18 +09:00
Shuhei Tanuma
96c64de3da remove unused include line 2012-07-13 13:18:03 +09:00
Shuhei Tanuma
232ed1f90d dtrace just work on OSX box. Yay 2012-07-13 12:59:15 +09:00
Shuhei Tanuma
bd2d6ce7fe use common function for tcp_connect 2012-07-13 00:19:11 +09:00
Shuhei Tanuma
fcb6d907aa set no_separation = 1 2012-07-12 23:52:21 +09:00
Shuhei Tanuma
48dfbd42f6 for now, add files 2012-07-12 23:37:47 +09:00
Shuhei Tanuma
bfd6342971 clear old callback 2012-07-12 10:28:17 +09:00
Shuhei Tanuma
f2b56c8b76 remove unused zval 2012-07-12 10:27:08 +09:00
Shuhei Tanuma
985c304ad2 fix uv_read_start segv 2012-07-12 10:20:31 +09:00
Shuhei Tanuma
f6b259bd67 remove unused address zval 2012-07-12 00:48:52 +09:00
Shuhei Tanuma
0c48f290a1 use fci and fcc for getaddr cb 2012-07-12 00:47:24 +09:00
Shuhei Tanuma
98ff7e121b use fci and fcc for read2 cb 2012-07-12 00:45:20 +09:00
Shuhei Tanuma
15fd7624d5 use fci and fcc for pol cb 2012-07-12 00:43:22 +09:00
Shuhei Tanuma
0cbdc2f42e use fci and fcc for fs poll cb 2012-07-12 00:40:33 +09:00
Shuhei Tanuma
e5b8b8d768 fix compile warnings 2012-07-12 00:38:17 +09:00
Shuhei Tanuma
d424bc25f1 use fci and fcc for fs event cb 2012-07-12 00:36:33 +09:00
Shuhei Tanuma
759849c6a2 use fci and fcc for fs cb 2012-07-12 00:34:41 +09:00
Shuhei Tanuma
92ce41343d use fci and fcc for queue callbacks 2012-07-12 00:20:09 +09:00
Shuhei Tanuma
79103b8e12 use fci and fcc for pipe_connect_cb 2012-07-12 00:14:53 +09:00
Shuhei Tanuma
6ffc7a34b7 use fci and fcc for proc_close_cb 2012-07-12 00:11:53 +09:00
Shuhei Tanuma
04023a572f use fci and fcc for async_cb 2012-07-11 22:49:03 +09:00
Shuhei Tanuma
f81ae681e8 use fci and fcc for check_cb 2012-07-11 22:27:57 +09:00
Shuhei Tanuma
907f6f1882 use fci and fcc for prepare_cb 2012-07-11 22:24:05 +09:00
Shuhei Tanuma
a5e2ddd48d use fci and fcc for send_cb 2012-07-11 22:21:46 +09:00
Shuhei Tanuma
8a5bd17944 use fci and fcc for idle_cb 2012-07-11 22:17:18 +09:00
Shuhei Tanuma
4fc3f9f879 use fci and fcc for timer_cb 2012-07-11 22:15:33 +09:00
Shuhei Tanuma
55921716ed use fci and fcc for close_cb 2012-07-11 22:13:47 +09:00