Commit Graph

118 Commits

Author SHA1 Message Date
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
Shuhei Tanuma
aa0ad16b0f use fci and fcc for shutdown_cb 2012-07-11 22:01:00 +09:00
Shuhei Tanuma
2c3954f56c use fci and fcc for write_cb 2012-07-11 21:58:16 +09:00
Shuhei Tanuma
8589280609 use fci and fcc for listen_cb 2012-07-11 21:57:24 +09:00
Shuhei Tanuma
675d794060 use fci and fcc for read_cb 2012-07-11 21:52:44 +09:00
Shuhei Tanuma
899ccf4b56 remove unused connect_cb zval 2012-07-11 13:09:19 +09:00
Shuhei Tanuma
cd35fa861b don't use magic number 2012-07-11 13:07:57 +09:00
Shuhei Tanuma
e1904a6d25 - use fci and fcc instead of zval. 2012-07-11 13:07:08 +09:00
Shuhei Tanuma
9e603ef603 add poll api 2012-07-09 12:24:35 +09:00
Shuhei Tanuma
8f262a3f70 add fs_poll_start/stop functions 2012-07-09 01:27:02 +09:00
Shuhei Tanuma
b9d5715635 add uv_sem_init 2012-07-09 00:18:26 +09:00
Shuhei Tanuma
d35aab6bcf bump down uv ext version. php-uv is very experimental 2012-07-01 22:36:40 +09:00
Shuhei Tanuma
8eff213350 add http parser support:
currently, php-uv has socket handling problem. (https://github.com/chobie/php-uv/issues/5)
if I don't support httpparser. hard to explain it.
2012-07-01 13:15:14 +09:00
Shuhei Tanuma
b9d2debe61 for now, add uv_read2 2012-07-01 08:25:16 +09:00
Shuhei Tanuma
0f13955271 add uv_shutdown 2012-07-01 01:57:08 +09:00
Shuhei Tanuma
bcdd3a21e9 improve uv_mutex functions and add test case 2012-06-30 14:42:06 +09:00
Shuhei Tanuma
449205e213 add uv_rwlock test cases and improve uv-rwlock functions 2012-06-30 14:10:58 +09:00
Shuhei Tanuma
023a096a1e prettify codes: use common macro 2012-06-30 00:42:33 +09:00
Shuhei Tanuma
b300fe2562 fix windows compile 2012-06-26 01:34:25 +09:00
Shuhei Tanuma
ccc05f1032 use wrapper macro fro zend_list_insert 2012-06-26 00:30:45 +09:00
Shuhei Tanuma
958065cbfd fix windows compile 2012-06-25 23:59:49 +09:00
Shuhei Tanuma
5754a59f4a add getsockname and getpeername api 2012-06-23 20:27:57 +09:00
Shuhei Tanuma
6252d80fb0 add uv_tty apis 2012-06-23 15:05:14 +09:00
Shuhei Tanuma
60d9842928 add fs_event_init api (not tested) 2012-06-23 14:18:52 +09:00
Shuhei Tanuma
a902f29ea2 adjust uv_fs_write 2012-06-22 12:51:16 +09:00
Shuhei Tanuma
983568aa1f WIP: fs 2012-06-20 12:40:39 +09:00
Shuhei Tanuma
6df019342b fix macro 2012-06-20 12:08:44 +09:00
Shuhei Tanuma
4bdb242087 add WIN32 headers 2012-06-19 08:10:25 +09:00
Shuhei Tanuma
e765597f65 for now, php-uv can build on windows box. but it requires some work.
* make libuv first.
* after configure, add Iphlpapi.lib and psapi.lib on your Makefile directly.
* don't mix debug / release build (LIBCMTD conflicts)
2012-06-19 02:44:03 +09:00
Shuhei Tanuma
31dec36418 added async and queue_work api. TODO: research eio_custom 2012-06-18 01:32:50 +09:00
Shuhei Tanuma
82845ff34c add async api 2012-06-17 23:18:33 +09:00
Shuhei Tanuma
011c874710 add check api 2012-06-17 23:04:54 +09:00
Shuhei Tanuma
b98e8f05b6 add prepare api 2012-06-17 22:50:18 +09:00
Shuhei Tanuma
1f7cdb555f add mutex functions 2012-06-17 21:18:30 +09:00
Shuhei Tanuma
80e3480a97 add uv_rwlock_init 2012-06-16 17:24:55 +09:00
Shuhei Tanuma
cd089816aa use TSRMLS_FETCH_FROM_CTX(); 2012-06-15 00:18:09 +09:00
Shuhei Tanuma
ef8aa9d863 for now, just work uv_spawn 2012-06-14 22:24:19 +09:00
Shuhei Tanuma
06fa3a1fb0 split aress structures from php_uv_t 2012-06-04 01:23:06 +09:00
Shuhei Tanuma
a3a1cc887c for now, gethostbyname just works. but needs refactor 2012-06-04 00:10:30 +09:00
Shuhei Tanuma
d0812b846f add uv_pipe_connect api. I'm still thinking refcount. 2012-06-01 02:23:34 +09:00
Shuhei Tanuma
de66977451 add udp api 2012-05-30 01:47:34 +09:00
Shuhei Tanuma
1712419a4e improve declarations 2012-05-29 01:12:09 +09:00
Shuhei Tanuma
486402002b WIP: uv_tcp_connect 2012-05-28 22:55:58 +09:00
Shuhei Tanuma
aa67d3099c add uv_default_loop function. uv_run and uv_run_once accepts uv_loop resource 2012-05-28 22:18:36 +09:00
Shuhei Tanuma
69f2ebb5ed add idle API 2012-05-28 12:29:15 +09:00
Shuhei Tanuma
28daebffca use ZVAL_RESOURCE macro 2012-05-27 15:36:03 +09:00
Shuhei Tanuma
6ea7553537 add timer 2012-05-26 23:26:29 +09:00
Shuhei Tanuma
22aefe4ded improve php_uv_t structure 2012-05-26 22:59:59 +09:00
Shuhei Tanuma
57089618bc add uv_last_error 2012-05-26 22:54:43 +09:00
Shuhei Tanuma
6e61335453 don't re-register resources 2012-05-26 22:25:15 +09:00
Shuhei Tanuma
404b8df7e4 add write callback 2012-05-26 22:19:54 +09:00
Shuhei Tanuma
0976df55b6 WIP: uv_read_start 2012-05-25 08:07:12 +09:00
Shuhei Tanuma
440e1b3dbe uv_read_start just works 2012-05-24 23:29:54 +09:00
Shuhei Tanuma
32849ea022 WIP: uv_accept 2012-05-24 13:07:52 +09:00
Shuhei Tanuma
c4d01fb060 2012/05/24 snapshot 2012-05-24 02:31:16 +09:00
Shuhei Tanuma
568c29dd34 add uv_tcp_bind and uv_listen 2012-05-23 20:41:04 +09:00
Shuhei Tanuma
9d3bde8942 add some functions. still doesn't work yet 2012-05-23 13:35:28 +09:00
Shuhei Tanuma
db9a66823a add templates 2012-05-23 02:43:11 +09:00