Raffaele Sena
b3b81d67ff
Port to cygwin
15 years ago
Ryan Dahl
0c3b6aba7a
Do not output \n on stderr on output, breaks tests
15 years ago
Ryan Dahl
6056d2ea2c
node without arguments starts the REPL
15 years ago
Ryan Dahl
41f213be18
Add binding to termios, implement readline for repl
15 years ago
Ryan Dahl
9e8df0e836
More dynamic linking options (again)
Original commit: 75f0cf471a
15 years ago
Peter Griess
78d33f4fd5
Fix options parsing
The current node has a bug where it will fail to pass the option argument
immediately preceding the first non-option argument to V8. That is the
--perf flag will be ignored by V8 when running 'node --perf script.js'.
15 years ago
Ryan Dahl
501136b999
Revert "More dynmaic linking options"
Broke the build. Will fix and reapply soon.
This reverts commit 75f0cf471a
.
15 years ago
Ryan Dahl
75f0cf471a
More dynmaic linking options
This adds the following options to the `configure` program
--shared-v8 Link to a shared V8 DLL instead of static linking
--shared-v8-includes=SHARED_V8_INCLUDES
Directory containing V8 header files
--shared-v8-libpath=SHARED_V8_LIBPATH
A directory to search for the shared V8 DLL
--shared-cares Link to a shared C-Ares DLL instead of static linking
--shared-cares-includes=SHARED_CARES_INCLUDES
Directory containing C-Ares header files
--shared-cares-libpath=SHARED_CARES_LIBPATH
A directory to search for the shared C-Ares DLL
--shared-libev Link to a shared libev DLL instead of static linking
--shared-libev-includes=SHARED_LIBEV_INCLUDES
Directory containing libev header files
--shared-libev-libpath=SHARED_LIBEV_LIBPATH
A directory to search for the shared libev DLL
and removes --system.
15 years ago
Ryan Dahl
78e49f1c88
Rename node_net2.cc to node_net.cc
15 years ago
Peter Griess
2420f07e94
Allow process.setuid() and process.setgid() to accept string names in lieu of numeric IDs
15 years ago
Felix Geisendörfer
caba9c70c3
Implemented Utf8Decoder module
Allows to safely decode a utf8 stream into strings without breaking
on multibyte characters.
15 years ago
visionmedia
45948e054d
Added better error messages for async and sync fs calls with paths
15 years ago
Ryan Dahl
da9323040f
Simplify stack trace reporting using new V8 API
15 years ago
Jérémy Lal
4e40e8804b
System EV compatibility fix : use EV_DEFAULT_UC
15 years ago
Ryan Dahl
c90e44e582
Just add an extra include for strings.h - don't try to be cute
15 years ago
Ryan Dahl
8e5b91c79b
Revert "Check for strings.h"
This reverts commit 032f651824
.
15 years ago
Ryan Dahl
032f651824
Check for strings.h
15 years ago
Ryan Dahl
b78508266b
Change string.h to strings.h compile on solaris
15 years ago
Ryan Dahl
ab068db9b1
Improve error reporting
- No more single line "node.js:176:9" errors
- No more strange output when error happens on first line due to
module wrapper function.
- A few tests to check these things
15 years ago
rentzsch
a5b132ad63
fs.Stats.size V8::Integer => V8::Number.
While VM::Integer::Value() offers an int64_t, V8::Integer::New() only
accepts an int32_t, truncating fs.Stat's size in BuildStatsObject().
I consider this a bug in V8, and we should move back to V8::Integer
when it gets a ctr that allows a int64_t. Until then, this work-around
should hold.
15 years ago
Ryan Dahl
3ac6deefa8
Change GC idle notify so that it runs along side setInterval
Doesn't appear any slower. Also checks for high memory usage and tries to
force more notifications.
15 years ago
Ryan Dahl
b6c5cf60b7
Ignore SIGPIPE
Was inadvertently removed with evcom,
c72967d335 (L10L1900)
15 years ago
Ryan Dahl
3bb21b5191
Fix signo_string for linux and solaris
15 years ago
Felix Geisendörfer
f8a3cf980f
Properly handle child process exit codes
The child process 'exit' was returning the status of the process, rather than
the exit code. This patch properly deconstructs the status into the exit code
and the term signal a process may have received.
See:
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Watcher_Specific_Functions_and_Data_-5
and waitpid(2)
15 years ago
Ryan Dahl
9b2aac61b2
Resolve EWOULDBLOCK to string if different thatn EAGAIN
15 years ago
Ryan Dahl
c72967d335
Remove http_old tcp_old
15 years ago
Ryan Dahl
c9e27b11c5
Unify ErrnoException creation
15 years ago
Ryan Dahl
76d525b034
Remove assert for no-such-module
15 years ago
isaacs
cfd459abde
Move the module loading framework into lib/module.js. Minimal changes otherwise.
15 years ago
isaacs
e0061a511d
refactor path module to lib/path.js
15 years ago
isaacs
7ff53f4c6a
Refactor events module to lib/events.js
15 years ago
Ryan Dahl
4ff45c264c
Remove old EvalCX
15 years ago
Herbert Vojcik
c2a06725d6
Script class with eval-function-family in binding('evals') plus tests.
15 years ago
Ryan Dahl
ac3bc2ed41
Simplify GC idle notification
In particular, don't leave the timeout running when the heap is fully
compacted.
15 years ago
Ryan Dahl
41ef1717e0
Upgrade V8 to 2.2.3.1
15 years ago
Ryan Dahl
a98d23d905
Disable IdleWatcher
15 years ago
Ryan Dahl
4e7e2f8724
Change nextTick implementation for the better
Use a prepare and idle watcher to execute the nextTick callback more
quickly. Test provided by Matt Ranney.
15 years ago
Micheil Smith
57ea07ac91
Moving the http.js, net.js FreeList to being standalone.
15 years ago
Rhys Jones
80174392bb
Moved Credentials into crypto module. Added node_crypto into crypto module
15 years ago
Ryan Dahl
d923c94a0c
Remove udns
15 years ago
Krishna Rajendran
dc1f4ebd44
c-ares based dns module
15 years ago
Vanilla Hsu
25adb2eb55
[FreeBSD] use /dev/null instead /dev/mem
Without this patch, Node needs to setgid kmem when run as normal user.
15 years ago
Ryan Dahl
38041fcaa0
Try out Flatten API
Speeds up WriteUtf8 significantly when dealing with strings made by the
concatenation of many others.
15 years ago
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