Ryan Dahl
8492c52e15
Use uniform watcher names
15 years ago
Ryan Dahl
627fb5adbb
Load c++ modules on demand
15 years ago
Ryan Dahl
3994340a45
Fix gcc warnings in node.cc
15 years ago
Ryan Dahl
5c712a7da5
Lazy load fs.readFile
15 years ago
Ryan Dahl
1256df76bc
remove whitespace
15 years ago
Ryan Dahl
1395cba6ce
Remove require.paths from process object
15 years ago
Ryan Dahl
4ccdc501d4
Include lib/ directory in node executable. Compile on demand.
Instead of installing the files in /usr/lib/node/libraries and loading them
from the file system, the files are built-in to the node executable.
However, they are only compiled on demand.
The reasoning is:
1. Allow for more complex internal javascript. In particular,
process.stdout and process.stdin can be js implemented streams.
2. Ease system installs. Loading from disk each time is unnecessary
overhead. Note that there is no "system" path for modules anymore. Only
$HOME/.node_libraries.
15 years ago
Krishna Rajendran
0d5a1fed33
Use gai_strerror when tcp.Server fails to resolve its address or service.
15 years ago
Herbert Vojčík
49d30c6478
Only Ref in idle watcher when wasn't already active.
15 years ago
Scott González
d2ec5c23cf
Fixed typo in comment for require.registerExtension().
15 years ago
Ryan Dahl
d7efb0fdb2
Factor out TryCatch in ReallyEmit
15 years ago
Ryan Dahl
2c7cbbc1b0
Optimize event emitter for single listener
15 years ago
Ryan Dahl
b571900d9c
Fix node_timer bug; sometimes was not initializing watcher
15 years ago
Ryan Dahl
836e6a3fcb
Adjust object ref count after call to ev_timer_again
15 years ago
Ryan Dahl
177de8fefc
Fix some gcc warnings
15 years ago
Ryan Dahl
3d10852c33
Disable AsciiSliceExt
Seems faster and less buggy?
15 years ago
Ryan Dahl
c1613e6ebb
Deprecate process.mixin
15 years ago
Tim-Smart
ae10a48383
Initial implementation of process.evalcx
15 years ago
Ryan Dahl
6ec2f877c2
Depreciation -> Deprecation
15 years ago
Vanilla Hsu
b13081691e
use getpagesize() to get PAGE_SIZE on FreeBSD.
15 years ago
Ryan Dahl
c96b7e5ca0
Missing EOL semicolons
15 years ago
Ryan Dahl
dd857f9fdf
.addon -> .node
How'd that get in there?
15 years ago
Tim-Smart
0c17067d87
Add require.registerExtension
15 years ago
Ryan Dahl
4635ed7fde
Add process.now
Faster way to find out current time.
15 years ago
Ryan Dahl
9b67962a44
Add timer.again method
15 years ago
Ryan Dahl
c1a0ade7e7
Further net2 compatibilities
15 years ago
Ryan Dahl
dd21a4f4b9
Remove the 'Error: (no message)' exceptions print stack trace instead
15 years ago
Ryan Dahl
6310e717e4
Remove the 'Error: (no message)' exceptions print stack trace instead
15 years ago
Ryan Dahl
93c0c24a4e
process.mixin: Return instead of continue in forEach
15 years ago
Aaron Heckmann
f8eb163728
Add removeAllListeners
15 years ago
isaacs
b90d63b998
Change the include() message so that it doesn't recommend process.mixin.
15 years ago
Ryan Dahl
40e42e8107
Replace --cflags with --vars
15 years ago
Ryan Dahl
209b219b10
Add environmental varibles to help text
15 years ago
Rasmus Andersson
374300ca8d
Updated patch of node.cc for supporting reading of umask
15 years ago
Ryan Dahl
a258992855
Depreciation process.unloop()
15 years ago
Ryan Dahl
e72b072d53
Decouple timer from EventEmitter
15 years ago
Ryan Dahl
6d60d2db00
Revert "Use kqueue on macintosh"
Experiencing bugs http://github.com/ry/node/issues/#issue/74
This reverts commit 409020a67d
.
15 years ago
Ryan Dahl
e6dbf8d632
Revert "Remove process.unloop()"
People need this for backwards compatibility. Will be removed soon though!
This reverts commit 1e710cafa7
.
15 years ago
Ryan Dahl
1e710cafa7
Remove process.unloop()
15 years ago
Ryan Dahl
409020a67d
Use kqueue on macintosh
15 years ago
Ryan Dahl
d5ee777af2
Don't allow child process to clobber environ
15 years ago
isaacs
0dba38eef0
Fix a bug that was suppressing the error in setgid, allowing it to fail silently.
15 years ago
Ryan Dahl
769a35024f
Allow passing env to child process
15 years ago
Jacek Becela
548d59d07e
Fix fs.readFile handling encoding. Should close issue #72
15 years ago
Ryan Dahl
0e844d3bcb
tcp.Connection.prototype.write should return boolean
15 years ago
Ryan Dahl
62c4214711
Properly throw error on failed connection
15 years ago
Ryan Dahl
fdbc9a82e4
Use EVBACKEND_SELECT on Solaris
Using EVBACKEND_PORT DTraceToolkit-0.99/Proc/syscallbypid.d reports after 5
seconds
PID CMD SYSCALL COUNT
. . . .
. . . .
. . . .
28551 mysqld fcntl 485
24793 httpd gtime 528
28551 mysqld read 707
28551 mysqld gtime 956
21050 rsync pollsys 965
21050 rsync read 965
24793 httpd read 982
28551 mysqld lwp_sigmask 1422
4675 dtrace ioctl 1579
15136 node portfs 15681
15136 node clock_gettime 31358
On a very simple node process.
15 years ago
Felix Geisendörfer
55ab9b4541
Bug fix for deep process.mixin array handling
process.mixin was throwing an exception when trying to do a deep copy
of an object that included an array.
This bug was introduced in: 3bb7ad6fea
15 years ago
Ryan Dahl
b021a845f7
Move process.inherits to sys
15 years ago
Ryan Dahl
30b700ee22
Move watchFile into fs module
15 years ago