Marcel Laverdet
c2b5ea218c
Attempt to connect to debug process more than once
The debugger would give up after only 100ms but on my system this
timeout isn't enough. The startup process is now modified to try 6
times every 50ms instead.
Fixes #1010 .
14 years ago
Nathan Rajlich
b1be5409bd
Implement `process.arch` to get a String of the current processor architecture, with docs.
14 years ago
isaacs
8df6f9e544
Close #974 Properly report traceless errors.
Also, tests for the same.
14 years ago
Ryan Dahl
b4ff36a41b
Add --cov code coverage option
14 years ago
Ryan Dahl
aeed966fe0
Don't call GetMemoryUsage every 5 seconds
14 years ago
Brian White
52b9ede6db
Add helpful error message for setuid/setgid when user/group id does not exist
14 years ago
Dean McNamee
f67e8f243c
Export more functions for initializing and starting node.
For greater flexibility in controlling node's initialization and startup, the
following new functions are exported.
- node::Init()
- node::SetupProcessObject()
- node::Load()
- node::EmitExit()
These are some of the major steps involved in node::Setup(). Exporting these
functions allows an embedding program to write a replacement for node::Start(),
and to have access to the node process object after it's created.
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Ryan Dahl
97853e07de
Use default backend for __sun (event ports)
14 years ago
Tom Hughes
74954ce7d8
Add string class that uses ExternalAsciiStringResource.
Change the natives to use this class instead of creating completely new
strings. Reduces memory usage by about 1 MB.
14 years ago
Tom Hughes
cf78ce59b3
Add process.uptime().
14 years ago
Ryan Dahl
4ab5476e89
SIGUSR1 should break the VM without delay
14 years ago
Ryan Dahl
b309192ffd
Use default backend for __sun (event ports)
14 years ago
isaacs
0aa1a8a005
Closes GH-695 Add 'hex' encoding to Buffer
14 years ago
Ryan Dahl
e9257b859d
New DTrace probes from CA team
14 years ago
isaacs
5f2e90934e
Support octal strings for modes
This allows the various fs utilities and process.umask to be used in
ECMAScript 5 Strict Mode, where the octal literal format is verboten,
without requiring users to litter their code with a bunch of parseInt
calls.
14 years ago
Konstantin Käfer
9e101f2b01
UCS-2 support
Closes GH-644.
14 years ago
Ryan Dahl
aa95e5708f
Expose errno with a string.
14 years ago
Ryan Dahl
068b733583
Land Cantrill's DTrace patch
only works on solaris
14 years ago
Bert Belder
2ce0961de1
Improve error reporting on windows
14 years ago
Bert Belder
0eb4c2157d
Define winsock error numbers
14 years ago
Bert Belder
e0f47be9d0
Clean up the way windows headers are included
Plus make inclusion order a little more consistent in general
14 years ago
Ryan Dahl
4fa712c48f
debugger: error out without script
TODO:
debug> run script.js
14 years ago
Ryan Dahl
3770462ee3
Fix process.platform
14 years ago
Bert Belder
b7b0c92ac1
Don't attempt to capture SIGUSR1
14 years ago
Ryan Dahl
cd1ec27268
Add openssl version to process.versions
14 years ago
Ryan Dahl
2a7e7b1c46
start debug agent on SIGUSR1
14 years ago
Ryan Dahl
90e55c3357
Rather have the debugger be parent process
14 years ago
Ryan Dahl
0adc6b29bd
Start on frame zero - don't do extra break
14 years ago
Ryan Dahl
0dcbe3f74a
Fork out to debugger on debugger statements
Also implement continue in Client.
14 years ago
Ryan Dahl
0df804b9e7
start debug agent on SIGUSR1
14 years ago
Brian White
d75c338dd6
Add more functionality to the os module
14 years ago
Ryan Dahl
4227e9d79d
process.kill coerces args to integers
14 years ago
Bert Belder
bd62203d13
Support for non-overlapped sockets
By default windows creates sockets with the WSA_FLAG_OVERLAPPED flag set.
Because child processes don't expect to have overlapped stdio (it never happens)
it won't work with them.
14 years ago
Bert Belder
4a2cb07808
Fix whitespace errors introduced by porting efforts
14 years ago
Bert Belder
30bab52741
Disable node.cc functions that are not supported on windows
14 years ago
Bert Belder
dcc3508890
There's no SIGCHLD on windows
14 years ago
Bert Belder
4a42e408d2
Properly intialize winsock
14 years ago
Bert Belder
a177d60e2b
Fix headers for node.cc
14 years ago
Ryan Dahl
d0beac70f4
Revert "Simplify next tick logic by looping around ev_loop"
This reverts commit 241ea7e595
.
Fixes GH-511: https://github.com/ry/node/issues/issue/511
14 years ago
Ryan Dahl
ea9006a5bc
print warning on process.ENV
14 years ago
Ryan Dahl
81afb54c0a
Fix comment
14 years ago
Ryan Dahl
711196cafa
Don't call exit() from the signal handler
Fixes issue #457
14 years ago
Ryan Dahl
b57c1f51b9
Saner, yet still ugly, fix to displaying syntax errors
14 years ago
Tom Hughes
446beebd79
Add cmake build support.
Squashed commit of ca128f7dcd28cbcfba154c8577ed54d4aa71dd02 with
contributions from Mark Constable (markc@renta.net ) and Daniel Gröber
(darklord@darkboxed.org ).
14 years ago
Ryan Dahl
f6479f2fb6
Print deprecation warning on process.compile
14 years ago
Ryan Dahl
2320497992
Revert "Merge branch 'writev'"
This reverts commit cd9515efd9
, reversing
changes made to df46c8e698
.
Too slow. Needs more work.
14 years ago
Ryan Dahl
42357645cb
Dump after ev_loop
14 years ago
Ryan Dahl
241ea7e595
Simplify next tick logic by looping around ev_loop
This is also in preparation for the writev patch, which needs to dump
remaining data after ev_loop ends.
14 years ago
Ryan Dahl
00a1d61cc8
Fix OS::GetExecutablePath for platform_none
14 years ago