Saúl Ibarra Corretgé
e4dc4aaac5
doc: add documentation for missing functions and structures
...
* uv_process_kill, uv_kill
* uv_fs_poll_init
* uv_timespec_t
2014-10-01 09:23:09 +02:00
Saúl Ibarra Corretgé
00df3ec75b
doc: clarify uv_loop_t.data field lifetime
...
Fixes #1503
2014-09-30 09:14:56 +02:00
Saúl Ibarra Corretgé
9486e462fc
doc: document missing stream related structures
...
uv_connect_t, uv_write_t and uv_shutdown_t.
Closes #1507
2014-09-30 09:09:59 +02:00
Robin Hahling
3193b67ff0
build: add DragonFly BSD support in autotools
2014-09-27 11:25:59 +02:00
Saúl Ibarra Corretgé
958009bb04
doc: add migration guide from version 0.10
2014-09-26 10:05:23 +02:00
Saúl Ibarra Corretgé
5e822033b4
doc: document uv_alloc_cb
...
Fixes #1498
2014-09-25 21:38:03 +02:00
Saúl Ibarra Corretgé
03e53f1cf7
fs: rename uv_fs_readdir to uv_fs_scandir
...
Closes #1431
2014-09-25 10:09:58 +02:00
Fedor Indutny
2f54947b72
fs: fix readdir on empty directory
...
`uv_fd_readdir()` should initialize all fields even if there are no
files. Fix the implementation and fix the test that should have been
covered it.
2014-09-23 21:06:54 +04:00
Zachary Newman
b7003beb0d
doc: update references to current stable branch
...
The contribution guidelines in CONTRIBUTING.md referred to v0.10 as
the current stable branch, rather than v1.x.
2014-09-22 20:37:45 -04:00
Rob Adams
1cc25170ed
build: add missing fixtures to distribution tarball
2014-09-22 08:27:16 +02:00
Saúl Ibarra Corretgé
01293ac03a
version: now working on 1.0.0-rc2
2014-09-18 18:48:09 +02:00
Saúl Ibarra Corretgé
e47d4f0056
2014.09.18, Version 1.0.0-rc1 (Unstable)
2014-09-18 18:39:56 +02:00
Saúl Ibarra Corretgé
0c28bbf7b4
version: set version to 1.0.0-rc1
2014-09-18 18:13:53 +02:00
Alexis Campailla
6ced8c2cc7
windows: improve timer precision
...
Improve timing precision by using QueryPerformanceCounter.
This is part of the fix for Node.js' test-timers-first-fire.js.
2014-09-17 23:17:41 +02:00
Recep ASLANTAS
234b1e046b
build, gyp: set xcode flags
2014-09-17 22:52:25 +02:00
Recep ASLANTAS
ffa432451d
ignore: include m4 files which are created manually
2014-09-17 22:51:04 +02:00
Recep ASLANTAS
facf595cad
build: add m4 for feature/flag-testing
2014-09-17 22:50:55 +02:00
Recep ASLANTAS
f2ec3ee41a
ignore: ignore Xcode project and workspace files
2014-09-17 22:50:40 +02:00
Recep ASLANTAS
3fa24a2b70
unix: fix warnings about dollar symbol usage in identifiers
2014-09-17 22:47:28 +02:00
Recep ASLANTAS
94e628faf1
unix: fix warnings when loading functions with dlsym
2014-09-17 22:47:01 +02:00
Michael Hudson-Doyle
861de3d71d
linux: try epoll_pwait if epoll_wait is missing
...
It seems that epoll_wait is implemented in glibc in terms of epoll_pwait and
new architectures (like arm64) do not implement the epoll_wait syscall at all.
So if epoll_wait errors with ENOSYS, just call epoll_pwait.
2014-09-17 00:25:46 +02:00
Saúl Ibarra Corretgé
5ccdfc568d
test: add test for closing and recreating default loop
2014-09-15 21:34:09 +02:00
Saúl Ibarra Corretgé
0e5004ba77
windows: properly close the default loop
...
Also close the IOCP handle for any loop.
Closes #393
2014-09-15 21:34:09 +02:00
Saúl Ibarra Corretgé
f70b3fae8b
version: add ability to specify a version suffix
2014-09-11 20:58:41 +02:00
Saúl Ibarra Corretgé
1cc5f179f5
include: cleanup uv.h
...
Remove comments describing the API which are now part of the
documentation, thus avoiding future comment rot (and removing the
existing part).
2014-09-11 09:38:35 +02:00
Saúl Ibarra Corretgé
95797f48e8
doc: mention API documentation in README
2014-09-11 09:38:35 +02:00
Saúl Ibarra Corretgé
32e2e75f60
doc: add API documentation
2014-09-11 09:38:35 +02:00
Trevor Norris
3d38eae377
test: don't close connection on write error
...
The echo server shouldn't close the connection when there's an error on
write. Instead simply echo the error message and allow the other side to
close the connection.
Also do a partial revert of 4d905fb where after_shutdown was removed.
Fixes: 4d905fb "test: close stream immediately on error"
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Signed-off-by: Saúl Ibarra Corretgé <saghul@gmail.com>
2014-09-10 22:50:54 +02:00
Saúl Ibarra Corretgé
54ce3f6c8e
windows: further simplify the code for timers
...
- Remove the UV_HANDLE_ACTIVE flag. It's a duplicate from
UV__HANDLE_ACTIVE, which was used solely on timers and loop watchers.
- Avoid duplicated code when running timers by stopping the handle and
rearming it with the repeat time, thus having a single place where the
timers are added and removed to and from the RB tree, respectively.
2014-09-10 09:52:00 +02:00
Fedor Indutny
bbf6a144e1
gyp: remove UNLIMITED_SELECT from dependent define
...
It isn't really needed here.
2014-09-08 09:10:00 +01:00
Fedor Indutny
145b76b894
darwin: allocate enough space for select() hack
...
`fd_set`s are way too small for `select()` hack when stream's fd is
bigger than 1023. Make `fd_set`s a part of `uv__stream_select_t`
structure.
fix #1461
2014-09-08 08:37:36 +01:00
Saúl Ibarra Corretgé
7ff52b836d
unix, windows: don't allow a NULL callback on timers
2014-09-05 16:59:18 +02:00
Saúl Ibarra Corretgé
fb93ea4f17
windows: simplify code in uv_timer_again
...
Remove duplicated code by directly calling uv_timer_stop
2014-09-05 16:59:18 +02:00
Saúl Ibarra Corretgé
1afdd9a1e5
test: use less requests on tcp-write-queue-order
...
Makes the test reliably pass on Windows, otherwise the runtime aborts.
2014-09-04 18:45:39 +02:00
Saúl Ibarra Corretgé
38cc2e39d0
unix: stop child process watcher after last one exits
2014-09-04 10:06:52 +02:00
Saúl Ibarra Corretgé
2d5eaea1cd
unix: simplify how process handle queue is managed
2014-09-04 10:06:52 +02:00
mattn
ae6197d730
windows: remove duplicated field
...
Fixes build
2014-09-03 18:42:46 +02:00
Saúl Ibarra Corretgé
06f9e1438e
core: add a reserved field to uv_handle_t and uv_req_t
...
Just in case we need to work hard in keeping ABI compatibility.
2014-08-29 13:27:53 +02:00
Saúl Ibarra Corretgé
49ec7ca213
doc: update README with versioning information
2014-08-29 10:32:16 +02:00
Saúl Ibarra Corretgé
e524f89beb
core: update version to 1.0.0
2014-08-29 10:31:50 +02:00
Bert Belder
6941cab549
windows: fix buffer leak after failed udp send
...
Fixes #1426
Signed-off-by: Saúl Ibarra Corretgé <saghul@gmail.com>
2014-08-28 08:41:43 +02:00
Saúl Ibarra Corretgé
fabafd6236
windows: make sure sockets and handles are reset on close
...
Set the socket to INVALID_SOCKET foir TCP and UDP handles and
the handle to INVALID_HANDLE_VALUE on TTY handles after closing them.
2014-08-27 10:53:40 +02:00
Saúl Ibarra Corretgé
4ca9a36389
unix, windows: add uv_fileno
...
Returns the platform specific file descriptor for handles that are
backed by one. The datatype is abstracted as uv_os_fd_t, which maps to
int on Unices and HANDLE on Windows.
Users can use this function to set specific socket options, for example,
in a non portable way.
This function is essentially a shotgun, you better be careful with
whatever you do with it, don't blame me if you used it to get the fd of
a stream, close it yourself and expect things to Just Work.
2014-08-27 10:53:40 +02:00
Saúl Ibarra Corretgé
bd0692e65a
build: use same CFLAGS in autotools build as in gyp
...
Closes #1362
2014-08-24 15:19:26 +02:00
Saúl Ibarra Corretgé
394d2188ba
build: remove unneeded define in uv.gyp
...
It's a leftover from the days libuv bundled c-ares.
2014-08-24 15:10:12 +02:00
Saúl Ibarra Corretgé
2f83613023
test: fix watcher_cross_stop on Windows
...
All send callbacks are not necessarily called on the same loop iteration
as the data is received.
2014-08-21 23:34:51 +02:00
Saúl Ibarra Corretgé
a87619ce63
unix, windows: move includes for EAI constants
2014-08-21 21:31:02 +02:00
Saúl Ibarra Corretgé
76cd67686c
unix: fix exposing EAI_* glibc-isms
2014-08-21 16:48:45 +02:00
Andrius Bentkus
d5e6f4372f
unix: fix tcp write after bad connect freezing
...
If the connect wouldn't go off (no such tcp remote or any other failure),
the subsequent writes made would not be called. Now we call the writes
in the queue with ECANCELED if the connect fails.
Fix #1432
2014-08-21 16:23:43 +02:00
Timothy J Fontaine
a4f03504ce
Now working on v0.11.30
2014-08-19 11:03:54 -04:00