Ben Noordhuis
ff4a9d381d
core: use proper #include directives
13 years ago
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.
13 years ago
Ryan Dahl
20ba454ef9
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
13 years ago
Ryan Dahl
f168f7d702
Remove node_isolate.h from node.h
13 years ago
Ben Noordhuis
356992fe4d
isolates: isolate-ify the main loop
13 years ago
Ryan Dahl
9d792f3183
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
13 years ago
Ryan Dahl
87bb848268
Remove node_isolate.h from node.h
13 years ago
Ben Noordhuis
c3346f6760
isolates: isolate-ify the main loop
13 years ago
Ryan Dahl
cced79d4a8
Move a few more global vars into struct
13 years ago
Ben Noordhuis
cdcb1118c8
Remove stray NODE_MODULE() semi-colons.
13 years ago
Ryan Dahl
194511ff1a
Return IPv4 addresses before IPv6 addresses from getaddrinfo
13 years ago
Ryan Dahl
c83dda89a4
dns.lookup uses cares_wrap::GetAddrInfo
13 years ago
Bert Belder
00bbe958c4
Fix windows build
13 years ago
Ryan Dahl
be2320d408
Add binding to uv_getaddrinfo
13 years ago
Ben Noordhuis
f1d3ae7753
cares_wrap: make destructor virtual
A class with virtual methods should have a virtual destructor.
13 years ago
Christian Tellnes
d9c67aebff
dns: implement resolveTxt()
13 years ago
Ryan Dahl
12798c620d
dns callbacks should go through MakeCallback
14 years ago
Ryan Dahl
21cc4c4985
Upgrade libuv to ea4271f
Required adding uv_default_loop() in many places.
14 years ago
Peter Bright
13d6a1f67f
Basic VC++ compatibility work.
14 years ago
Bert Belder
72e18d7f19
dns_uv: match the old api better, fix tests
14 years ago
Bert Belder
858f23094e
Bindings for libuv-integrated c-ares
14 years ago