Blake Mizerany
8c8534046c
fix whitespace errors
15 years ago
Dmitry Baranovskiy
f8ca6b383c
Rewrote QueryString.parse to make it smaller and more effective.
Also added ability to parse foo.bar=4 equal to foo[bar]=4
Added tests for this as well
15 years ago
Ryan Dahl
0a8bd34b69
Resolve .local domains with getaddrinfo()
C-Ares doesn't go through the Name Service Switch (NSS) and thus can't
resolve certain classes of names. Generally this doesn't matter and the
whole idea of NSS is rather annoying. Nevertheless until C-Ares gets better
support, adding this hack to go through getaddrinfo() for .local domain look
up.
This reverts commit 9926dacd14
.
15 years ago
Matt Ranney
02ed0ec93b
On overlapping buffers use memmove
15 years ago
Blake Mizerany
898afbaf34
Buffer.prototype.write: Indifferent order preference of encoding and offset
15 years ago
Ryan Dahl
5e86d01385
Revert "Buffer.copy should copy through sourceEnd, as specified."
This reverts commit a2f70da4c9
.
Keep tests modifies a few edge checks on Copy()
15 years ago
Ryan Dahl
0172cb39f0
Fix incorrect output on docs
15 years ago
Dmitry Baranovskiy
8ec12339f5
Refactored isA, isBool, etc functions to use some of ES5 goodness.
15 years ago
Dmitry Baranovskiy
d3f04933f1
sys.inherts to shadow constructor property from enumerability
thanks to ES5 features in V8 it is quite easily possible.
15 years ago
Ryan Dahl
6b430a95c9
console.log: if not string, coerce into one
15 years ago
Ryan Dahl
5aadeae888
Simply C++ event emitter
15 years ago
Ryan Dahl
b69c6a03b1
If not string, console.log should just print it without trying to format
15 years ago
Ryan Dahl
c9e12204a2
Stub out console.log format strings, info, warn, error
15 years ago
Ryan Dahl
23172c5d85
Lint node_script.cc
15 years ago
Ryan Dahl
e2db605308
Use EVBACKEND_POLL on Solaris; select() is just a wrapper anyway
15 years ago
Ruben Rodriguez
242161bef2
Added new API to Script, and implemented it in the REPL
15 years ago
Ryan Dahl
5a25338ac0
Upgrade V8 to 2.2.20
15 years ago
Rasmus Andersson
67f7fe5e5c
Use all available CPUs when building
Automatically set Options.options.jobs to the number of CPUs/cores on the
executing machine, unless the environment variable JOBS is set
15 years ago
Ryan Dahl
bbdd61dc3f
Fix supported archs on website
15 years ago
Matt Ranney
a2f70da4c9
Buffer.copy should copy through sourceEnd, as specified.
Improve test-buffer.js to cover all copy error cases.
Fix off by one error in string_decoder.
15 years ago
Ryan Dahl
aa491518f4
Fix authors
15 years ago
Ryan Dahl
444b33584d
Remove switch-replace residue
15 years ago
Ryan Dahl
0499618c2b
Edit binary encoding docs
15 years ago
Ryan Dahl
8825c74e7a
Upgrade http-parser
15 years ago
Ryan Dahl
2c0d91be6c
Upgrade V8 to 2.2.19
15 years ago
Ryan Dahl
ba792ea202
:%s/sys.puts/console.log/g
and there was much rejoicing
15 years ago
Ryan Dahl
4c21aa736f
Fix name in AUTHORS file
15 years ago
Ryan Dahl
7b119f8b38
Fix error message
15 years ago
Ryan Dahl
f541043618
Remove ini.js
15 years ago
Ryan Dahl
fc175a089d
Remove mjsunit from repo
15 years ago
Mikeal Rogers
f62979da6b
Add sys.pump
15 years ago
Ryan Dahl
20905d9d62
Fix names in AUTHORS file
15 years ago
Ryan Dahl
1b5ec7017d
Don't use NULL in realpath() on darwin, doesn't work in older versions
Thanks to Peter Griess <pg@std.in> for the bug report.
15 years ago
Ryan Dahl
7105aeb22f
Doc process.execPath
15 years ago
Marshall Culpepper
ca35ba640a
Initial implementation of process.execPath
Darwin, Linux, Solaris. FreeBSD still needs testing.
TODO: Amend the tests where we use spawn with argv[0].
15 years ago
Ryan Dahl
95b252e86d
Fix bad email addresses in authors file
15 years ago
Ryan Dahl
a8e9923b44
Add Contributor License Agreement.
15 years ago
Ryan Dahl
9bb890271b
Add other OSes to website
15 years ago
Ryan Dahl
a620b7298f
bump version
15 years ago
Peter Griess
51bd1b4483
Only concatenate some incoming HTTP headers.
- Concatenate 'accept', 'accept-charset', 'accept-encoding',
'accept-language', 'connection', 'cookie', and 'x-*' headers.
- For all others, drop duplicates.
15 years ago
Ryan Dahl
545e10f239
wscript shouldn't fail if 'git describe' doesn't work
15 years ago
Ryan Dahl
cb79614f73
Don't encourage strange ideas about req race conditions
15 years ago
Ryan Dahl
eda21cccb4
Fix race condition in test-http-exceptions.js
15 years ago
Ryan Dahl
b93faf9afa
Comment out lines with full paths in message test.
Note that * in the .out files is a special wildcard.
15 years ago
Ryan Dahl
1c7057f09c
Execute message tests by default
15 years ago
Ryan Dahl
f1a4f17897
script.runIn*Context not throwing errors properly.
15 years ago
Ryan Dahl
7d0252eae2
Fix message tests
15 years ago
Ryan Dahl
125b868e06
Add message tests
15 years ago
Micheil Smith
70c3e661b8
test-child-process-custom-fds to cleanup after running
15 years ago
Micheil Smith
e0d30b545a
Renaming tcp tests to net tests
15 years ago