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
2010-06-29 23:52:42 -07:00
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
.
2010-06-29 22:15:28 -07:00
Matt Ranney
02ed0ec93b
On overlapping buffers use memmove
2010-06-29 21:06:00 -07:00
Blake Mizerany
898afbaf34
Buffer.prototype.write: Indifferent order preference of encoding and offset
2010-06-29 19:56:07 -07:00
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()
2010-06-29 19:40:20 -07:00
Ryan Dahl
0172cb39f0
Fix incorrect output on docs
2010-06-29 19:28:59 -07:00
Dmitry Baranovskiy
8ec12339f5
Refactored isA, isBool, etc functions to use some of ES5 goodness.
2010-06-29 19:22:28 -07:00
Dmitry Baranovskiy
d3f04933f1
sys.inherts to shadow constructor property from enumerability
...
thanks to ES5 features in V8 it is quite easily possible.
2010-06-29 19:11:40 -07:00
Ryan Dahl
6b430a95c9
console.log: if not string, coerce into one
2010-06-29 09:53:20 -07:00
Ryan Dahl
5aadeae888
Simply C++ event emitter
2010-06-28 21:20:21 -07:00
Ryan Dahl
b69c6a03b1
If not string, console.log should just print it without trying to format
2010-06-28 21:20:21 -07:00
Ryan Dahl
c9e12204a2
Stub out console.log format strings, info, warn, error
2010-06-28 20:47:35 -07:00
Ryan Dahl
23172c5d85
Lint node_script.cc
2010-06-28 19:37:50 -07:00
Ryan Dahl
e2db605308
Use EVBACKEND_POLL on Solaris; select() is just a wrapper anyway
2010-06-28 15:37:29 -07:00
Ruben Rodriguez
242161bef2
Added new API to Script, and implemented it in the REPL
2010-06-28 15:16:26 -07:00
Ryan Dahl
5a25338ac0
Upgrade V8 to 2.2.20
2010-06-28 08:47:01 -07:00
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
2010-06-27 08:49:06 -07:00
Ryan Dahl
bbdd61dc3f
Fix supported archs on website
2010-06-25 09:46:10 -07:00
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.
2010-06-25 09:10:49 -07:00
Ryan Dahl
aa491518f4
Fix authors
2010-06-24 14:37:55 -07:00
Ryan Dahl
444b33584d
Remove switch-replace residue
2010-06-24 09:37:36 -07:00
Ryan Dahl
0499618c2b
Edit binary encoding docs
2010-06-24 07:51:45 -07:00
Ryan Dahl
8825c74e7a
Upgrade http-parser
2010-06-23 21:10:13 -07:00
Ryan Dahl
2c0d91be6c
Upgrade V8 to 2.2.19
2010-06-23 20:32:06 -07:00
Ryan Dahl
ba792ea202
:%s/sys.puts/console.log/g
...
and there was much rejoicing
2010-06-23 20:05:29 -07:00
Ryan Dahl
4c21aa736f
Fix name in AUTHORS file
2010-06-23 15:27:56 -07:00
Ryan Dahl
7b119f8b38
Fix error message
2010-06-23 09:09:15 -07:00
Ryan Dahl
f541043618
Remove ini.js
2010-06-22 19:37:29 -07:00
Ryan Dahl
fc175a089d
Remove mjsunit from repo
2010-06-22 19:33:01 -07:00
Mikeal Rogers
f62979da6b
Add sys.pump
2010-06-22 17:58:09 -07:00
Ryan Dahl
20905d9d62
Fix names in AUTHORS file
2010-06-22 13:23:45 -07:00
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.
2010-06-22 13:19:49 -07:00
Ryan Dahl
7105aeb22f
Doc process.execPath
2010-06-22 02:09:58 -07:00
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].
2010-06-22 02:02:25 -07:00
Ryan Dahl
95b252e86d
Fix bad email addresses in authors file
2010-06-21 20:41:53 -07:00
Ryan Dahl
a8e9923b44
Add Contributor License Agreement.
2010-06-21 19:40:22 -07:00
Ryan Dahl
9bb890271b
Add other OSes to website
2010-06-21 17:03:19 -07:00
Ryan Dahl
a620b7298f
bump version
2010-06-21 13:34:10 -07:00
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.
2010-06-21 12:01:50 -07:00
Ryan Dahl
545e10f239
wscript shouldn't fail if 'git describe' doesn't work
2010-06-21 10:21:55 -07:00
Ryan Dahl
cb79614f73
Don't encourage strange ideas about req race conditions
2010-06-20 11:56:48 -07:00
Ryan Dahl
eda21cccb4
Fix race condition in test-http-exceptions.js
2010-06-19 23:13:28 -07:00
Ryan Dahl
b93faf9afa
Comment out lines with full paths in message test.
...
Note that * in the .out files is a special wildcard.
2010-06-19 22:51:40 -07:00
Ryan Dahl
1c7057f09c
Execute message tests by default
2010-06-19 20:30:49 -07:00
Ryan Dahl
f1a4f17897
script.runIn*Context not throwing errors properly.
2010-06-19 19:31:09 -07:00
Ryan Dahl
7d0252eae2
Fix message tests
2010-06-19 17:41:34 -07:00
Ryan Dahl
125b868e06
Add message tests
2010-06-18 18:14:06 -07:00
Micheil Smith
70c3e661b8
test-child-process-custom-fds to cleanup after running
2010-06-18 10:39:17 -07:00
Micheil Smith
e0d30b545a
Renaming tcp tests to net tests
2010-06-18 10:34:56 -07:00
Micheil Smith
3f48276bf9
Coding style changes, added tests in for the md5, sha256, etc methods
2010-06-18 10:21:38 -07:00