Commit Graph

36 Commits (007393a09d046909a6cc50297b8d39d61336a010)

Author SHA1 Message Date
Dean McNamee 3f75454426 typed arrays: don't declare as module
TypedArrays is not a module, it is attached to the global object.
Don't register it with Node's module system.
2013-01-08 05:08:00 +01:00
Bert Belder 600a6468dc process: use uv_signal instead of ev_signal 2012-08-21 00:18:10 +02:00
Ben Noordhuis 74a8215a86 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
the potential stability issues and intrusive changes to the code base that
first-class support for isolates requires.

Hence, this commit backs out all isolates-related changes.

Good bye, isolates. We hardly knew ye.
2012-02-06 15:44:42 +01:00
Mikael Bourges-Sevenier 5b05429bf0 typed arrays: add Buffer -> TypedArray constructor
- create a typed array from a node::Buffer object
- update TypedArray::set() to spec
- add TypedArray::get() method
2012-01-05 20:56:41 +01:00
Ryan Dahl 5fc0c27d5c move isolate V8 functions out of node.cc 2011-12-29 01:56:11 +01:00
Ryan Dahl cdf5d91fe5 Remove tty_legacy 2011-10-11 13:41:33 -07:00
Ryan Dahl 58e892dadd Remove dns_legacy 2011-10-11 13:21:30 -07:00
Ryan Dahl 96e423a665 Remove child_process_legacy 2011-10-11 13:16:33 -07:00
Ryan Dahl be0bb2dc13 Remove net_legacy timers_legacy 2011-10-11 13:11:54 -07:00
Ryan Dahl 311fe737e8 Upgrade libuv to 60c639f
Also remove unused src/stdio_wrap.cc
2011-10-06 12:34:24 -07:00
Igor Zinkovsky 8fe5712477 fs watcher binding 2011-09-22 22:32:33 -07:00
Ryan Dahl c1ae6ea2f2 Add TTYWrap 2011-09-20 13:39:48 -07:00
isaacs 5b8e1dabbc Initial pass at zlib bindings 2011-09-17 18:22:09 -07:00
Ben Noordhuis cbd4033619 dgram: integrate libuv UDP support 2011-08-24 22:27:24 +02:00
Peter Bright 6ac8c55989 Make MSVS build.
MSVS settings don't actually need to be guarded by conditions. gyp will do
the right thing.
2011-08-06 22:39:28 -07:00
Ryan Dahl 8ace421bfd Complete removal of node_child_process_win32.cc 2011-08-01 22:51:14 -07:00
Ryan Dahl f01b241057 add wrapper for uv_spawn
process.binding('process_wrap')
2011-07-29 18:03:44 -07:00
Igor Zinkovsky 187fe27a6e stdio binding + javascript to enable process.stdin.listen() 2011-07-27 03:59:33 +02:00
Ryan Dahl cc0f608c7c Add pipe_wrap 2011-07-18 03:08:54 -07:00
Bert Belder 858f23094e Bindings for libuv-integrated c-ares 2011-07-05 00:17:20 +02:00
Ryan Dahl 062759194b Initial binding to uv_tcp_t 2011-06-10 18:17:48 +02:00
Bert Belder 406f44a86b Build on windows again 2011-06-08 05:06:15 +02:00
Ryan Dahl 9d1bad8960 Implement new wrap for uv timer 2011-05-25 10:17:02 -07:00
Ryan Dahl 55048cdf79 Update copyright headers 2011-03-14 17:37:05 -07:00
Bert Belder 0a2f1cb334 Child processes 2010-12-20 23:51:31 +01:00
Bert Belder b4510d57dc There is no child process support for windows yet 2010-12-20 23:50:36 +01:00
Brian White f1762ff815 Add os module and getHostname 2010-12-11 00:51:20 -08:00
Paul Querna 870aa3d97f Move evals to extension module. 2010-07-14 10:55:07 -07:00
Paul Querna ace2be8aa6 Move the Stat structure functions to node_file.cc
from node.cc, so we can convert fs to a module.
2010-07-14 10:42:32 -07:00
Paul Querna 82daa46e26 Move Buffer to extension model. 2010-07-14 10:37:24 -07:00
Paul Querna 4f7f43762d Move child process to extension model. 2010-07-14 10:36:52 -07:00
Paul Querna e65c27062f Move http parser to extension model. 2010-07-14 10:36:24 -07:00
Paul Querna e51aef7f3c Move signal_watcher to extension model. 2010-07-14 10:31:45 -07:00
Paul Querna 208290b524 Move cares to extension model 2010-07-14 10:31:20 -07:00
Paul Querna e5bb8abc9d Move stdio to extension model. 2010-07-14 10:29:56 -07:00
Paul Querna 30dadfc033 Register builtin extensions via a macro, rather than a manual strcmp
Set the stage for making the builtin modules more dynamic.

Note: this only converts crypto and net, I will add more extensions in a
later commit.

* node.h: Add utility macro for converting macro values to strings.

* node.h: Include the actual module name inside the module structure, not
  just the file it was built from.

* node.h: New Macro, NODE_MODULE_DECL, for declaring an external reference
  to a module structure.

* node_extensions.cc: New File, implements get_builtin_module, which
  iterates over the module structures that are compiled into node.

* node.cc(node::Binding): Use the new module lookup function to find
  modules.

* node_{net,crypto}.c: Add NODE_MODULEs to generate the module structure.
2010-07-14 10:17:25 -07:00