Revision tags: v0.10.25, v0.11.19, v0.10.24, v0.11.18, v0.10.23, v0.10.22, v0.11.17, v0.10.21, v0.11.16, v0.10.20 |
|
#
646de34f |
| 06-Dec-2013 |
Fedor Indutny |
unix: fix various memory leaks and undef behavior Kindly suggested by `cppcheck`. |
#
bf5038df |
| 21-Nov-2013 |
Fedor Indutny |
fsevents: fix subfolder check First of all, a bit of explanation of what happens there: 1. FSEvents emits absolute paths to changed files or directories 2. We cut off the first
fsevents: fix subfolder check First of all, a bit of explanation of what happens there: 1. FSEvents emits absolute paths to changed files or directories 2. We cut off the first part of such paths, which is equal to handle's real path ('/dir/subdir/subsubdir`, without trailing slash) 3. Then, if we are running in non-recursive mode, we discard paths that have slashes ('/') as a non-first character in them
show more ...
|
Revision tags: v0.11.15, v0.10.19 |
|
#
0f5c28b6 |
| 01-Nov-2013 |
Fedor Indutny |
fsevents: use FlagNoDefer for FSEventStreamCreate Otherwise `FSEventStreamCreate()` will coalesce events, even if they're happening in the interval, bigger than supplied `latency`. In ot
fsevents: use FlagNoDefer for FSEventStreamCreate Otherwise `FSEventStreamCreate()` will coalesce events, even if they're happening in the interval, bigger than supplied `latency`. In other words, if this flag is not set events will happen in separate callback only if there was a delay bigger than `latency` between two consecutive events.
show more ...
|
#
b1b931de |
| 08-Nov-2013 |
Ben Noordhuis |
fsevents: use native character encoding file paths Create file paths with CFStringCreateWithFileSystemRepresentation(), not CFStringCreateWithCString(). Reapplies 3780e12 ("fsev
fsevents: use native character encoding file paths Create file paths with CFStringCreateWithFileSystemRepresentation(), not CFStringCreateWithCString(). Reapplies 3780e12 ("fsevents: support japaneese characters in path") from the v0.10 branch. Was dropped in the last v0.10 -> master merge for failing to apply.
show more ...
|
Revision tags: v0.11.14 |
|
#
43bef410 |
| 23-Oct-2013 |
Fedor Indutny |
fsevents: report errors to user |
#
0fdd99f0 |
| 23-Oct-2013 |
Fedor Indutny |
fsevents: increase stack size for OSX 10.9 Otherwise it fails with `EXC_BAD_ACCESS`. |
Revision tags: v0.10.18, v0.10.17 |
|
#
9d44d786 |
| 23-Sep-2013 |
Saúl Ibarra Corretgé |
unix, windows: add uv_fs_event_start/stop functions Make uv_fs_event behave like other handles, that is, it's inactive after init, and it's active between start and stop. |
#
429bb804 |
| 02-Oct-2013 |
Fedor Indutny |
fsevents: fix clever rescheduling There're could be a situation, where one fsevents handle gets created and another one is destroyed simultaneously. In such cases `fsevent_need_resch
fsevents: fix clever rescheduling There're could be a situation, where one fsevents handle gets created and another one is destroyed simultaneously. In such cases `fsevent_need_reschedule` will be set to 1 twice and reset only once, leaving handle destructor hanging in uv_sem_wait().
show more ...
|
Revision tags: v0.10.16, v0.11.13, v0.11.12, v0.11.11 |
|
#
82f2472b |
| 28-Aug-2013 |
Ben Noordhuis |
darwin: fix 10.6 build error in fsevents.c Work around an 'initializer element is not constant' build error in src/unix/fsevents.c by turning the const int flags into #defines.
darwin: fix 10.6 build error in fsevents.c Work around an 'initializer element is not constant' build error in src/unix/fsevents.c by turning the const int flags into #defines. Only an issue on OS X 10.6 due to the old compiler it uses. Fixes #908.
show more ...
|
Revision tags: v0.11.10, v0.10.15, v0.11.9, v0.10.14 |
|
#
d48168af |
| 21-Aug-2013 |
Ben Noordhuis |
darwin: remove CoreFoundation dependency Load the required symbols at run-time rather than linking against the CoreFoundation (and CoreServices and ApplicationServices) frameworks at
darwin: remove CoreFoundation dependency Load the required symbols at run-time rather than linking against the CoreFoundation (and CoreServices and ApplicationServices) frameworks at build time. Should make integration easier for people that bundle libuv with their own projects because they no longer have to replicate magic -framework incantations in their top-level build system.
show more ...
|
Revision tags: v0.11.8 |
|
#
cd2794c0 |
| 20-Aug-2013 |
Fedor Indutny |
fsevents: use shared FSEventStream It seems that number of simultaneously opened FSEventStreams is limited on OSX (i.e. you can have only fixed number of them on one running system),
fsevents: use shared FSEventStream It seems that number of simultaneously opened FSEventStreams is limited on OSX (i.e. you can have only fixed number of them on one running system), getting past through this limit will cause `FSEventStreamCreate` to return false and write following message to stderr: (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21) To prevent this, we must use only one shared FSEventStream with a paths for all uv_fsevent_t handles, and then filter out events for each handle using this paths again. See https://github.com/joyent/node/issues/5463
show more ...
|
#
303ae3b9 |
| 14-Aug-2013 |
Fedor Indutny |
fsevents: FSEvents is most likely not thread-safe Perform all operation with FSEventStream in the same thread, where it'll be used. |
#
12bad62a |
| 19-Aug-2013 |
Ben Noordhuis |
darwin: fix ios compiler warning uv__fsevents_loop_delete() returns void. Remove the 'return 0' statement. |
#
c82e7033 |
| 13-Aug-2013 |
Ben Noordhuis |
darwin: reduce fsevents thread stack size The fsevents watcher thread only needs a minimal amount of stack space in order to run. Restrict its stack size so there's more address space
darwin: reduce fsevents thread stack size The fsevents watcher thread only needs a minimal amount of stack space in order to run. Restrict its stack size so there's more address space left for the libuv user.
show more ...
|
#
06c4fa67 |
| 13-Aug-2013 |
Ben Noordhuis |
darwin: create fsevents thread on demand * Move CF run loop code to fsevents.c. * Create the fsevents thread on demand rather than at startup. * Remove use of ACCESS_ONCE.
darwin: create fsevents thread on demand * Move CF run loop code to fsevents.c. * Create the fsevents thread on demand rather than at startup. * Remove use of ACCESS_ONCE. All accesses to loop->cf_loop are protected by full memory barriers so no reordering can take place. Fixes #872.
show more ...
|
Revision tags: v0.11.7, v0.10.13, 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, node-v0.11.0 |
|
#
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. |
Revision tags: 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, node-v0.8.19, node-v0.9.10, node-v0.9.7, node-v0.9.6, 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 |
#
97c527ac |
| 25-Oct-2012 |
Leonard Hecker |
darwin: make it possible to compile for iOS Relocate the include of TargetConditionals.h and fixe the use of TARGET_OS_IPHONE. Furthermore, uv__fsevents_init() and uv__fsevents_close are
darwin: make it possible to compile for iOS Relocate the include of TargetConditionals.h and fixe the use of TARGET_OS_IPHONE. Furthermore, uv__fsevents_init() and uv__fsevents_close are now empty functions for iOS, since the FSEvents API is not available there.
show more ...
|
#
73cf3600 |
| 20-Sep-2012 |
Fedor Indutny |
darwin: fsevents: emit UV_CHANGE on metadata change |
#
ea8db645 |
| 18-Sep-2012 |
Ben Noordhuis |
darwin: fix 'directive in macro' compiler warning |
#
778144f0 |
| 17-Sep-2012 |
Fedor Indutny |
darwin: emit relative path in fsevents |
Revision tags: node-v0.8.8, node-v0.8.7 |
|
#
f8e7513a |
| 13-Aug-2012 |
Fedor Indutny |
darwin: use FSEvents to watch directory changes |