History log of /php-uv/uv.c (Results 1 – 25 of 35)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4f4cafbb 15-Feb-2020 Bob Weinand

Add missing UV_PROCESS_WINDOWS_HIDE* constants (Closes #74)


# e15edb33 13-Jul-2019 Bob Weinand

Add UV_OVERLAPPED_PIPE (Closes #72)


Revision tags: v0.2.2, v0.2.1, v0.2.0
# ad904731 07-May-2017 Bob Weinand

Use objects instead of resources as handle representation

This also adds proper get_gc handlers in order to resolve potenial cycles


Revision tags: v0.1.2, v0.1.1, v0.1.0
# 567ca4f3 29-Oct-2016 Bob Weinand

Fix #18 remove all traces of http parser


# 4ef13f54 26-Oct-2016 Chris Wright

Add UV::S_* constant equivalents for Windows


# 4332fe7a 18-Jan-2015 Bob Weinand

Current, broken PHP 7 port...


# 1ea6c5ac 07-Nov-2014 Steve Rhoades

update for libuv 1.0.0rc2, updated tests for api changes


# bdaf5a0b 21-Aug-2014 Tjerk Meesters

Enabled http parser again


# 90f12cb7 19-Aug-2014 Tjerk Meesters

Moving parser functionality in a separate file (part 1)


# 148a84f6 18-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 ...


# cf36261e 10-Jun-2014 Daniel Lowrey

Fix accidental chmod changes


# 1e32c246 07-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 ...


# 6f4331d0 03-Jan-2014 Shuhei Tanuma

improve several things


# 90c9db69 11-Feb-2013 Shuhei Tanuma

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 extensio

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.

show more ...


# 7a628ff6 04-Feb-2013 Andrey

Fix S_IRGRP value


# 2aecc360 31-Jan-2013 Andrey

Added missing constants


# 4bf5f591 23-Jul-2012 Shuhei Tanuma

constants: add several error codes. and add simple(?) http server example


# 0a2b0751 22-Jul-2012 Shuhei Tanuma

spawn: change function signature. add uv_stdio_new function


# f3c315f9 15-Jul-2012 Shuhei Tanuma

add util function: uv_handle_type


# c919487e 15-Jul-2012 Shuhei Tanuma

add uv_guess_handle


# 2454e91b 15-Jul-2012 Shuhei Tanuma

add http parser document. and fix constnats [ci skip]


# 9e603ef6 09-Jul-2012 Shuhei Tanuma

add poll api


# 8f262a3f 08-Jul-2012 Shuhei Tanuma

add fs_poll_start/stop functions


# 8eff2133 01-Jul-2012 Shuhei Tanuma

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.


# 3964e3ad 25-Jun-2012 Shuhei Tanuma

this should be okay


12