History log of /libuv/include/uv.h (Results 226 – 250 of 497)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 3d4099eb 25-Jul-2013 Ben Noordhuis

Merge remote-tracking branch 'origin/v0.10'

Conflicts:
AUTHORS
ChangeLog
src/version.c
src/win/fs.c


# e3a657c6 20-Jul-2013 Brian White

unix, windows: add MAC to uv_interface_addresses()

Make uv_interface_addresses() return the MAC address as a 48 bits
binary value in the phys_addr field of the uv_interface_address_t

unix, windows: add MAC to uv_interface_addresses()

Make uv_interface_addresses() return the MAC address as a 48 bits
binary value in the phys_addr field of the uv_interface_address_t
struct.

show more ...

# 1acbd768 26-Mar-2013 Ben Noordhuis

unix, windows: don't read/recv if buf.len==0

Make it possible for the libuv user to handle out of memory conditions
gracefully. When alloc_cb() returns a buffer with len==0, call the rea

unix, windows: don't read/recv if buf.len==0

Make it possible for the libuv user to handle out of memory conditions
gracefully. When alloc_cb() returns a buffer with len==0, call the read
or recv callback with nread=UV_ENOBUFS. It's up to the user to stop or
close the handle.

Fixes #752.

show more ...

# d779eb53 23-Jul-2013 Ben Noordhuis

unix, windows: fix uv_fs_chown() function prototype

Before this commit, uv_fs_chown() and uv_fs_fchown() took the uid and
gid as signed integers which is wrong because uid_t and gid_t ar

unix, windows: fix uv_fs_chown() function prototype

Before this commit, uv_fs_chown() and uv_fs_fchown() took the uid and
gid as signed integers which is wrong because uid_t and gid_t are
unsigned on most all platforms and IDs that don't fit in a signed
integer do exist.

This is not an ABI change because the size of the uid and gid arguments
do not change, only their sign.

On Windows, uv_uid_t and uv_gid_t are typedef'd as unsigned char for
reasons that are unclear. It doesn't matter: they get cast to ints when
used as function arguments. The arguments themselves are unused.

Partial fix for joyent/node#5890.

show more ...

# 3ee4d3f1 06-Jun-2013 Ben Noordhuis

unix, windows: return error codes directly

This commit changes the libuv API to return error codes directly rather
than storing them in a loop-global field.

A code snippet like

unix, windows: return error codes directly

This commit changes the libuv API to return error codes directly rather
than storing them in a loop-global field.

A code snippet like this one:

if (uv_foo(loop) < 0) {
uv_err_t err = uv_last_error(loop);
fprintf(stderr, "%s\n", uv_strerror(err));
}

Should be rewritten like this:

int err = uv_foo(loop);
if (err < 0)
fprintf(stderr, "%s\n", uv_strerror(err));

The rationale for this change is that it should make creating bindings
for other languages a lot easier: dealing with struct return values is
painful with most FFIs and often downright buggy.

show more ...

# ddd7e04f 27-Jun-2013 Ben Noordhuis

build: switch to autotools

Switch to the build tool everyone loves to hate. The Makefile has
served us well over the years but it's been acquiring more and more
features that autoto

build: switch to autotools

Switch to the build tool everyone loves to hate. The Makefile has
served us well over the years but it's been acquiring more and more
features that autotools gives us for free, like easy static+shared
library building, sane install targets, and so on.

This commit drops MinGW support. If there is demand for it, we'll
re-add it.

show more ...

# f9e6029b 27-Jun-2013 Saúl Ibarra Corretgé

unix, windows: add extra fields to uv_stat_t

# 92040eb7 18-Jun-2013 Henry Rawas

stream: add an API to make streams do blocking writes

This patch adds the `uv_stream_set_blocking` API which makes all
uv_write calls to that stream blocking. It currently only works for

stream: add an API to make streams do blocking writes

This patch adds the `uv_stream_set_blocking` API which makes all
uv_write calls to that stream blocking. It currently only works for
pipes, on windows.

show more ...

# c16ed503 07-Jun-2013 Ben Noordhuis

Merge remote-tracking branch 'origin/v0.10'

Conflicts:
AUTHORS
ChangeLog
src/unix/stream.c
src/version.c


# b9eb402f 30-May-2013 Bert Belder

include: remove lame comment from uv.h

# 442d11d6 25-May-2013 Ben Noordhuis

unix: avoid extra read, short-circuit on POLLHUP

Avoid going through an extra alloc_cb -> read() -> read_cb cycle when
the POLLHUP flag is set because we know the next read() will hit EO

unix: avoid extra read, short-circuit on POLLHUP

Avoid going through an extra alloc_cb -> read() -> read_cb cycle when
the POLLHUP flag is set because we know the next read() will hit EOF.

Fixes #803.

show more ...

# dfff2e9e 28-May-2013 Ben Noordhuis

include: document uv_update_time() and uv_now()

# 8ef9592a 29-May-2013 Ben Noordhuis

Merge remote-tracking branch 'origin/v0.10'

Conflicts:
ChangeLog
src/unix/stream.c
src/version.c


# c7770798 24-Apr-2013 Ben Noordhuis

include: fix typo in comment in uv.h

Fixes #790.

# 7f8130a2 18-Apr-2013 Ben Noordhuis

unix: remove src/unix/cygwin.c

The cygwin build has been broken for a long time now and no one is
complaining, which strongly suggests that no one actually uses it.
Remove it.

# a92b66fe 16-Apr-2013 Saúl Ibarra Corretgé

unix, windows: add uv_has_ref() function

# 14aa6153 09-Feb-2013 Ben Kelly

unix, win: add netmask to uv_interface_address

Include the netmask when returning information about the OS network
interfaces.

This commit provides implementations for windows a

unix, win: add netmask to uv_interface_address

Include the netmask when returning information about the OS network
interfaces.

This commit provides implementations for windows and those unix
platforms using getifaddrs().

AIX was not implemented because it requires the use of ioctls and I do
not have an AIX development/test environment. The windows code was
developed using mingw on winxp as I do not have access to visual studio.

Tested on darwin (ipv4/ipv6) and winxp (ipv4 only). Needs testing on
newer windows using ipv6 and other unix platforms.

show more ...

# 1e8fe459 05-Apr-2013 Kristian Evensen

include: updated uv_udp_open documentation

On Unix, uv_udp_open can be used with any socket as long as the socket
follows the datagram contract (works in unconnected mode, supports
s

include: updated uv_udp_open documentation

On Unix, uv_udp_open can be used with any socket as long as the socket
follows the datagram contract (works in unconnected mode, supports
sendmsg()/recvmsg(), etc.). This means that any datagram-socket, like
for example netlink or raw sockets, can be used with libuv. Added this
information to the documentation.

show more ...

# 78e8034b 04-Apr-2013 Ben Noordhuis

Merge remote-tracking branch 'origin/v0.10'


# ec24bfac 31-Mar-2013 Ben Noordhuis

include: update uv_backend_fd() documentation

uv_run_once() is no more, replace with uv_run(UV_RUN_NOWAIT).

Fixes #759.

# 3c3a348a 29-Mar-2013 Ben Noordhuis

include: remove UV_VERSION_* macros

Superseded by uv_version() and uv_version_string().

# 0635e297 26-Mar-2013 Ben Noordhuis

unix, windows: remove ngx-queue.h

Avoids an extra #include in public headers and stops the ngx_queue_*
types and macros from leaking into user code.

# 73524cdd 26-Mar-2013 Ben Noordhuis

Merge remote-tracking branch 'origin/v0.10'


# 3f6122b3 26-Mar-2013 Ben Noordhuis

include: remove extraneous const from uv_version()

Fixes the following warning:

include/uv.h:236:30: warning: type qualifiers ignored on function
return type [-Wignored-qual

include: remove extraneous const from uv_version()

Fixes the following warning:

include/uv.h:236:30: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
UV_EXTERN const unsigned int uv_version(void);

show more ...

# c7b1c53e 25-Mar-2013 Bert Belder

Prepare for making releases, add uv_version/uv_version_string API

12345678910>>...20