History log of /libuv/src/unix/netbsd.c (Results 26 – 45 of 45)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: v0.11.14, v0.10.18, v0.10.17, v0.10.16, v0.11.13, v0.11.12, v0.11.11, v0.11.10, v0.10.15, v0.11.9, v0.10.14, v0.11.8, v0.11.7, v0.10.13
# 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 ...

Revision tags: v0.11.6, v0.10.12, v0.11.5, v0.10.11
# 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 ...

Revision tags: v0.10.10, v0.11.4, v0.10.9, v0.10.8, v0.11.3, v0.10.7, v0.10.6, v0.11.2, v0.10.5, v0.10.4, v0.11.1
# 8041c52f 10-Apr-2013 Ben Noordhuis

unix: style fixups

Revision tags: node-v0.11.0, v0.10.2, node-v0.7.3, node-v0.7.7, node-v0.7.5, node-v0.5.3, node-v0.10.1, node-v0.10.0, node-v0.9.12, node-v0.9.11, node-v0.8.21
# 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 ...

Revision tags: node-v0.8.19, node-v0.9.10, node-v0.9.7, node-v0.9.6
# 339033af 06-Jan-2013 Ben Noordhuis

unix: use uv__hrtime() internally

This commit renames the various uv_hrtime() implementations to uv__hrtime().

Libuv uses the high-res timer internally in performance-critical code

unix: use uv__hrtime() internally

This commit renames the various uv_hrtime() implementations to uv__hrtime().

Libuv uses the high-res timer internally in performance-critical code paths.
Calling the non-public version avoids going through the PLT when libuv is
compiled as a shared object.

The exported uv_hrtime() now has a single definition in src/unix/core.c that
calls uv__hrtime().

A future optimization is to lift the uv__hrtime() declarations into header
files so they can be inlined at the call sites. Then again, linking with -flto
should accomplish the same thing.

show more ...

Revision tags: node-v0.9.4, node-v0.8.17, node-v0.8.15, node-v0.9.3, node-v0.8.12, node-v0.8.10, node-v0.9.2, node-v0.8.9, node-v0.9.1
# 1282d648 22-Aug-2012 Ben Noordhuis

unix: remove dependency on libev

# 57e61136 08-Sep-2012 Shigeki Ohtsu

unix: support missing api on NetBSD

Revision tags: node-v0.8.8
# 201b8f93 18-Aug-2012 Bert Belder

Merge branch 'v0.8'


# ce87b7e1 17-Aug-2012 Tim Holy

unix: fix integer overflow in uv_hrtime

Conversion to nanoseconds was overflowing with 32-bit builds.

# 894b0fc0 17-Aug-2012 Ben Noordhuis

unix: move platform init out of loop.c

Move platform-specific initialization logic out of loop.c and into the
platform files (freebsd.c, sunos.c, etc).

Revision tags: node-v0.8.7, node-v0.8.6, node-v0.8.5, node-v0.6.21, node-v0.8.3, node-v0.9.0, node-v0.8.2, node-v0.8.1, node-v0.8.0, node-v0.7.12, node-v0.7.11
# 59cda867 07-Jun-2012 Ben Noordhuis

unix, test: make NANOSEC a 64 bits unsigned int

Avoids accidental overflow / truncation when it's used in 32 bits arithmetic.

Revision tags: node-v0.7.10, node-v0.6.19, node-v0.7.9, node-v0.6.18, node-v0.6.16, node-v0.6.17, node-v0.7.8, node-v0.6.15, node-v0.6.14, node-v0.6.13, node-v0.7.6, node-v0.6.12, node-v0.6.11, node-v0.7.4
# 783753e5 09-Feb-2012 Frank Denis

Remove unused variables on NetBSD.

Revision tags: node-v0.6.10, node-v0.7.2, node-v0.6.9, node-v0.7.1, node-v0.7.0, node-v0.6.8, node-v0.6.7, node-v0.6.6, node-v0.6.4, node-v0.6.3, node-v0.6.2
# 93faeb21 12-Nov-2011 Frank Denis

Fix typo that broke libuv on NetBSD: psysconf() -> sysconf()

Revision tags: node-v0.6.1, node-v0.6.0, node-v0.5.10
# d3967992 21-Oct-2011 Ben Noordhuis

Change return type of uv_get_*_memory() functions

... from double to uint64_t. Limit use of floating point in public API as much
as possible.

Revision tags: node-v0.5.9, node-v0.5.8
# 8e9a3384 22-Sep-2011 Ben Noordhuis

unix: implement kqueue file watcher API

kqueue fds are not embeddable into other pollsets (select, poll, kqueue).
Hack the libev event loop to receive kqueue events with filter flags int

unix: implement kqueue file watcher API

kqueue fds are not embeddable into other pollsets (select, poll, kqueue).
Hack the libev event loop to receive kqueue events with filter flags intact.

show more ...

# a35591bb 01-Oct-2011 Fedor Indutny

os: implement loadavg (not working on cygwin/win)

# 33cb8775 01-Oct-2011 Fedor Indutny

os: implement memory bindings

* us_get_free_memory
* us_get_total_memory

# 23796d20 27-Sep-2011 Erick Tryzelaar

Fixes #76. Unify OS error reporting

As a nice fringe benefit, this also shaves a word
off of a windows TCP handle by replacing "uv_err_t
bind_error" with "int bind_error".

# 3368d6c1 22-Sep-2011 Ben Noordhuis

unix: stub file watcher implementation

The file watcher API has not been implemented on all Unices yet.
Provide stubs on those platforms so libuv at least compiles.

Revision tags: node-v0.5.7, node-v0.5.6
# 4320874f 08-Sep-2011 Matthew Sporleder

unix: netbsd support

12