The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / src / handle_wrap.cc @ 6f92da2d

History | View | Annotate | Download (3.68 KB)

# Date Author Comment
02cab974 07/31/2013 05:16 PM Ben Noordhuis

src: more lint after cpplint tightening

Commit 847c6d9 adds a 'project headers before system headers' check
to cpplint. Update the files in src/ to make the linter pass again.

110a9cd8 07/06/2013 11:44 AM Ben Noordhuis

lib, src: upgrade after v8 api change

This is a big commit that touches just about every file in the src/
directory. The V8 API has changed in significant ways. The most
important changes are:

  • Binding functions take a const v8::FunctionCallbackInfo<T>& argument...
b9165252 06/17/2013 05:32 PM Ben Noordhuis

src: clean up `using` directives

Remove the unused ones and alphabetically sort the ones that remain.

a7820a15 06/04/2013 06:22 AM Ben Noordhuis

src: replace ngx-queue.h with queue.h

No functional changes, just one less entry in the LICENSE file.

448adaa4 05/29/2013 06:12 PM Ben Noordhuis

src: simplify HandleWrap initialization

0a4ebc3d 04/19/2013 09:24 AM Trevor Norris

src: replace Holder() with This()

Switch to always use args.This() to retrieve object instance.

8e190bf6 04/18/2013 06:14 AM Ben Noordhuis

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

Conflicts:
src/node_os.cc

ccd37226 04/16/2013 05:11 PM Ben Noordhuis

handle_wrap: fix NULL pointer dereference

Fix a NULL pointer dereference in src/handle_wrap.cc which is really a
use-after-close bug.

The test checks that unref() after close() works on process.stdout but
this bug affects everything that derives from HandleWrap. I discovered...

f65e14ed 03/19/2013 08:11 PM Trevor Norris

src: pass Isolate to all applicable api

Update the api to pass node_isolate to all supported methods.

Much thanks to Ben Noordhuis and his work in 51f6e6a.

0bba5902 03/19/2013 08:11 PM Trevor Norris

bindings: update api

All compile time warnings about using deprecated APIs have been
suppressed by updating node's API. Though there are still many function
calls that can accept Isolate, and still need to be updated.

node_isolate had to be added as an extern variable in node.h and...

110cacd1 03/13/2013 02:26 PM isaacs

core: Move UNWRAP_NO_ABORT to handle_wrap.h

Otherwise it cannot be used in StreamWrap.

Forgot to include in last patch, broke the build.

958ab661 03/06/2013 09:32 AM Ben Noordhuis

handle_wrap: add close callback support

3d20905b 03/06/2013 09:25 AM Ben Noordhuis

handle_wrap: replace unref_ field with flags_ field

Prep work for a follow-up commit that adds support for close callbacks.

51f6e6a9 02/25/2013 05:45 PM Ben Noordhuis

src, test: downgrade to v8 3.14 api

7788a6bf 01/07/2013 11:39 AM Ben Noordhuis

src: pass node_isolate to Undefined()

c7d7ae1f 01/07/2013 11:39 AM Ben Noordhuis

src: pass node_isolate to Null()

5e57bcc3 01/02/2013 03:13 AM Fedor Indutny

bindings: update to new v8 apis

GetPointerFromInternalField() is deprecated now, we should use
GetAlignedPointerFromInternalField().

17ef062d 09/21/2012 09:49 PM Ben Noordhuis

handle_wrap: don't abort if wrap == NULL

After a disconnect, the internal pointer of the parent/child channel is set to
NULL. That's not an error so don't abort().

3116522e 06/07/2012 03:20 PM Fedor Indutny

child_process: spawn().ref() and spawn().unref()

039fac63 05/22/2012 10:14 AM Ben Noordhuis

deps: upgrade libuv to a478847

The event loop's reference counting scheme in this version of libuv has changed.
Update the libuv bindings to reflect that fact.

45de259b 05/21/2012 05:29 PM Oleg Efimov

Make UNWRAP macro generic.

5f040653 05/15/2012 03:00 PM Ben Noordhuis

process: add _getActiveHandles(), _getActiveRequests()

  • process._getActiveHandles() returns a list containing all active handles
    (timers, sockets, etc.) that have not been unref'd.
  • process._getActiveRequests() returns a list of active requests (in-flight...
ff4a9d38 03/09/2012 06:14 PM Ben Noordhuis

core: use proper #include directives

74a8215a 02/06/2012 09:44 AM Ben Noordhuis

Revert support for isolates.

It was decided that the performance benefits that isolates offer (faster spin-up
times for worker processes, faster inter-worker communication, possibly a lower
memory footprint) are not actual bottlenecks for most people and do not outweigh...

4e524777 01/20/2012 09:57 AM Ben Noordhuis

fs, handle_wrap: use Loop(), not uv_default_loop()

Using the default loop will fail in unexpected and interesting ways when
isolates are used.

9e6957b0 01/11/2012 03:17 PM Fedor Indutny

Merge branch 'v0.6'

Conflicts:
src/handle_wrap.cc
src/node_zlib.cc
src/process_wrap.cc

d5d043f2 01/09/2012 02:54 PM Ben Noordhuis

handle_wrap: guard against uninitialized handle or double close

20ba454e 12/28/2011 07:56 PM Ryan Dahl

Add node::Loop() and don't inc node_isolate.h in *.cc

node::Loop() replaces the NODE_LOOP macro. This avoids hitting
v8::Isolate::GetCurrent() for each loop lookup when HAVE_ISOLATE==0

f168f7d7 12/28/2011 07:56 PM Ryan Dahl

Remove node_isolate.h from node.h

356992fe 12/28/2011 07:56 PM Ben Noordhuis

isolates: isolate-ify the main loop

cf20b6bf 12/05/2011 07:47 PM isaacs

Fix #2257 pause/resume semantics for stdin

This makes it so that the stdin TTY-wrap stream gets ref'ed on
.resume() and unref'ed on .pause()

The semantics of the names "pause" and "resume" are a bit weird, but the
important thing is that this corrects an API change from 0.4 -> 0.6...

60818b95 11/02/2011 01:00 PM Ryan Dahl

Add missing copyright headers

6cc42927 10/19/2011 07:53 PM Ryan Dahl

Display sys_errno when UV_UNKNOWN is returned

7e62bc98 09/27/2011 06:01 PM Ryan Dahl

Move process.stdout unref hack to handle_wrap.cc

See #1726

187fe27a 07/26/2011 09:59 PM Igor Zinkovsky

stdio binding + javascript to enable process.stdin.listen()

133036fd 07/20/2011 10:57 PM Ryan Dahl

upgrade libuv to 6e50576

0c7bf813 07/18/2011 07:22 AM Ryan Dahl

Abstract out HandleWrap class