Ryan Dahl
ca0038bf2f
Add mising EV_DEFAULT_UC in ev_now()
15 years ago
Ryan Dahl
801fb8a614
Better, faster, idle notification
15 years ago
Rhys Jones
fb3a9cd0d8
Initial openssl support for net2
15 years ago
Ryan Dahl
94644d743c
Remove multipart library
Too messy, unmaintainable. Pull it out of the history if you need it.
15 years ago
Ryan Dahl
53530e981a
Fix test-http-chunked. Need to check for \0 at end of utf8 strings
15 years ago
Ryan Dahl
8e9ec4abea
Fix idle timeouts
Remove process.now because it doesn't provide enough precision.
15 years ago
Ryan Dahl
663269f687
old tcp module is now tcp_old
15 years ago
Ryan Dahl
025116f8d0
Move Buffer into own module
15 years ago
Ryan Dahl
b80f6e9ed1
http2 now default
15 years ago
Tim-Smart
df8164c1c3
node.cc: EvalCX: Third argument as filename
15 years ago
Ryan Dahl
04c06b9149
child process now use net.Socket
15 years ago
isaacs
31ed37fdf0
evalcx shouldn't be too fancy
After getting some feedback from Mikeal Rogers and Tim Smart, it was decided
that evalcx should not try to do any fancy security stuff, and instead leave
that in the hands of the user. To comply more with spidermonkey, everything
is passed in, and objects are passed in by reference rather than being
cloned.
15 years ago
isaacs
943b2c61a8
Make evalcx work like it's supposed to.
1. Move the context->Enter() call so that the global obj is available for writing.
2. On success, copy the modified global out to the sandbox object.
3. Don't copy functions in either direction. They have scope and closures, and make for craziness when trying to keep contexts separate.
4. Only do the ->ToObject->Clone() on objects, so that simple values stay simple.
5. Update the test so that it tests all this stuff.
15 years ago
Ryan Dahl
953fa3a5f5
Move net2 bindings out of process
15 years ago
Ryan Dahl
fdf46a65c9
Use streams for stdout and stdin
15 years ago
Ryan Dahl
6befc72f82
Add missing lib/events.js
15 years ago
Ryan Dahl
c90546f138
Move native js files into binding object
15 years ago
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
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
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
4635ed7fde
Add process.now
Faster way to find out current time.
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
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
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
isaacs
0dba38eef0
Fix a bug that was suppressing the error in setgid, allowing it to fail silently.
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
Zoran Tomicic
b2995829e1
Edit PrintHelp() text
15 years ago
Jonas Pfenniger
8f59cccb75
Removed deprecation errors in src/node.cc
Removed constness on string litterals. This should cause no problem
since we're not modifying them.
15 years ago
James Duncan
df1c1e593f
Add setgid,getgid
15 years ago
Jérémy Lal
ffb4b47367
Fix for when EV_MULTIPLICITY=1
15 years ago
Ryan Dahl
46ebaa00ce
Encoding 0 length data, returns '' instead of null
15 years ago
Zoran Tomicic
d98ea70168
Configurable debug ports, and --debug-brk
15 years ago
Jeremy Ashkenas
2916a2acd4
Remove '--' from command line parsing
15 years ago
Ryan Dahl
ea4956f046
Simplify call to V8::IdleNotification
Run a max priority ev_timer every 2 seconds. If there aren't any pending
watchers then call V8::IdleNotification() once. This is slower at freeing
memory, but I think simpler and less aggressive.
15 years ago
Ryan Dahl
daacb81d3a
Experimental idle garbage compact
15 years ago
Ryan Dahl
5468173ce9
[debug] Give debug_watcher maximum priority
15 years ago
Ryan Dahl
4322523fcf
[debug] Use ProcessDebugMessage() instead of executing empty script
And don't use --debugger_auto_break v8 flag, it seems unnecessary.
15 years ago
Jérémy Lal
5a08a5653c
Calculate page size with getpagesize for armel
15 years ago
Ryan Dahl
95fd370096
Remove unused variable
15 years ago