History log of /php-uv/ (Results 176 – 200 of 655)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
bdaf5a0b21-Aug-2014 Tjerk Meesters

Enabled http parser again

39a7fe3c20-Aug-2014 Tjerk Meesters

Fixed off-by-one buffer issue in uv_exepath()

91ee8f4920-Aug-2014 Tjerk Meesters

Fixed off-by-one overflow, updated test case

b035466c20-Aug-2014 Tjerk Meesters

Disable http parser by default for now

be7ff58a20-Aug-2014 Tjerk Meesters

Fixed a few test cases

3beb671620-Aug-2014 Tjerk Meesters

Updated Travis configuration to work with --with-uv[=DIR]

90f12cb719-Aug-2014 Tjerk Meesters

Moving parser functionality in a separate file (part 1)

77240aa619-Aug-2014 Tjerk Meesters

Using --with-uv[=DIR] configure line

b06dac0620-Aug-2014 Tjerk Meesters

Removed 'bundled' submodule and updated Travis

148a84f618-Jun-2014 Daniel Lowrey

Add UV::S_IFDIR + UV::S_IFREG constants

These constants allow differentiation between regular files (S_IFREG)
and directories (S_IFDIR) when used for bitwise AND operations against
t

Add UV::S_IFDIR + UV::S_IFREG constants

These constants allow differentiation between regular files (S_IFREG)
and directories (S_IFDIR) when used for bitwise AND operations against
the "mode" value returned from uv_fs_stat/fstat/lstat().

Example:

uv_fs_open(uv_default_loop(), __FILE__, UV::O_RDONLY, 0, function($r){
uv_fs_fstat(uv_default_loop(), $r, function($result, $da){
echo "is directory: ", ($da['mode'] & UV::S_IFDIR ? 'yes' : 'no'), "\n";
echo "if file: ", ($da['mode'] & UV::S_IFREG ? 'yes' : 'no'), "\n";
});
});
uv_run();

show more ...

75fd2ff512-Jun-2014 Shuhei Tanuma

add signal functions signature to readme

cf36261e10-Jun-2014 Daniel Lowrey

Fix accidental chmod changes

79853fb108-May-2014 Daniel Lowrey

Don't crash if work queue function fatals in thread

1fbd585908-May-2014 Daniel Lowrey

Fix copy/paste error message typo

1e32c24607-May-2014 Daniel Lowrey

Add signal handling support

- resource uv_signal_init([resource $loop])
- void uv_signal_start(resource $sigHandle, callable $onSignal, int $signal)
- void uv_signal_stop($signalReso

Add signal handling support

- resource uv_signal_init([resource $loop])
- void uv_signal_start(resource $sigHandle, callable $onSignal, int $signal)
- void uv_signal_stop($signalResource)

Example:

<?php
$sigHandle = uv_signal_init();
$onSigint = function($sigHandle, $sigNum) {
printf("Caught signal: %d\n", $sigNum);
uv_signal_stop($sigHandle);
uv_stop();
};
uv_signal_start($sigHandle, $onSigint, UV::SIGINT);
uv_run();

New signal constants (these vary by OS):

<?php
$refl = new ReflectionClass('UV');
print_r($refl->getConstants());

show more ...

096eedc207-May-2014 Daniel Lowrey

Add uv_stop()

2b04d12927-Feb-2014 Shuhei Tanuma

[http parser] add http version

951622a325-Feb-2014 Shuhei Tanuma

improve http parser:

* support multiple line header field and value.
* support http upgrade mechanism (you have to parse websocket protocol manually)

fe317d6225-Feb-2014 Shuhei Tanuma

add upgrade key

db83129c25-Feb-2014 Shuhei Tanuma

update http-parser version to 2.2.1

f0d8db9324-Feb-2014 Shuhei Tanuma

Merge branch 'thread'

some libuv functions requires threading feature.
you have to re-compile your PHPwith --enable-maintainer-zts if you want to use threading functions.

NOTE:

Merge branch 'thread'

some libuv functions requires threading feature.
you have to re-compile your PHPwith --enable-maintainer-zts if you want to use threading functions.

NOTE: thread feature runs new php vm another thread. current implementation doesn't copy current
executor globals. so you have to load bootstrap file (like composer's autoloader) manually.

show more ...


111d9b2203-Feb-2014 Shuhei Tanuma

don't use bitdeli

e11c463728-Jan-2014 Bitdeli Chef

Add a Bitdeli badge to README

edf8f7fa04-Jan-2014 Shuhei Tanuma

add note

6af6b98603-Jan-2014 Shuhei Tanuma

fix test case: poll can't use for file descriptor on most platform

12345678910>>...27