Mathias Bynens
897208e06d
punycode: Update to v0.1.1.
13 years ago
seebees
3421f43351
.load, .save and local scope tab completion
Fixes #2063 .
REPLServer.prototype.resetContext:
Reset the line cache
REPLServer.prototype.memory (don't know if I like that name, called from finish)
pushes what cmd's have been executed against it into this.lines
pushes the "tab depth" for bufferedCommands, in this.lines.level
REPLServer.prototype.displayPrompt:
Uses "tab depth" from this.lines.level to adjust the prompt to visually
denote this depth e.g.
> asdf = function () {
… var inner = {
….. one:1
REPLServer.prototype.complete:
Now notices if there is a bufferedCommand and attempts determine locally
scoped variables by removing any functions from this.lines and evaling these
lines in a nested REPL e.g.
> asdf = function () {
… var inner = { one: 1};
… inn\t
will complete to 'inner' and inner.o\t will complete to 'inner.one'
If the nested REPL still has a bufferedCommand it will falls back to the
default.
ArrayStream is a helper class for the nested REPL to get commands pushed to it.
new REPLServer('', new ArrayStream());
Finally added two new REPL commands .save and .load, each takes 1 parameter,
a file and attempts to save or load the file to or from the REPL
respectively.
13 years ago
seebees
b00f5e2e14
Tab Compete test for node REPL
Currently the REPL only tab completes for globally scoped variables
13 years ago
Ben Noordhuis
098fef6740
timers: remember extra setTimeout() arguments when timeout==0
Fixes #2079 .
13 years ago
Ryan Dahl
8082858ee7
Now working on v0.6.2
13 years ago
Ryan Dahl
170f2addb2
Bump version to v0.6.1
13 years ago
Ryan Dahl
5bc1809b43
Add 'make dist-upload'
13 years ago
Ryan Dahl
d214576d2b
Be consistent with v before version in packages
13 years ago
Igor Zinkovsky
2095eea3da
msi changes
- remove license from MSI
- adjust path on install
- add message to the end
13 years ago
Ryan Dahl
2af6431619
Add upload command to vcbuild.bat
13 years ago
Ryan Dahl
895fa3a56b
Simplify and move getnodeversion.py
13 years ago
Shigeki Ohtsu
e0f10ecfd9
debugger: correctly handle source with multi-byte characters
13 years ago
Ryan Dahl
4e2343c6b5
Fixes #2073 . Cluster should be silent.
13 years ago
Ben Noordhuis
10d4bd8266
test: add more punycode tests
13 years ago
Ben Noordhuis
326b2cb34e
punycode: replace with Mathias Bynens's implementation
The currently bundled library doesn't pass all the test cases from RFC 3492.
Mathias's library does.
Home: https://github.com/bestiejs/punycode.js
13 years ago
Yoji SHIDARA
426298c8c1
docs: dgram client should be closed in the callback
13 years ago
Ryan Dahl
74f39041d4
dont use blue for numbers in util.inspect
13 years ago
Ryan Dahl
dc39ab3bbf
Improve OSX installer
13 years ago
Igor Zinkovsky
ec90ede1cf
fix msi builder
13 years ago
Igor Zinkovsky
13324bf844
throw from stdout.end and stderr.end
13 years ago
Igor Zinkovsky
09329e7833
Add node.rc with a version resource
Fixes #2059
13 years ago
Ben Noordhuis
78ca555845
bench: optimize io.c benchmark
Use static buffers. Most clock ticks were spent in malloc() and free() instead
of read() and write().
Fix measurements. Really fast runs would result in bogus results like:
Wrote 1048576000 bytes in -0.731630s using 8192 byte buffers: -1366.811093mB/s
13 years ago
Ben Noordhuis
0757c73a20
uv: upgrade to 224584c
13 years ago
Ben Noordhuis
e34a2c170c
uv: upgrade to 26806e2
13 years ago
Ben Noordhuis
8dd4fcbe8f
fs: don't close uninitialized fs.watch handle
Makes uv_close() assert because the uv_fs_event_t struct contains garbage.
13 years ago
Igor Zinkovsky
f84d86b660
make stdout stream non-destroyable
13 years ago
Igor Zinkovsky
5d89540b77
make stderr stream non-destroyable
13 years ago
Ben Noordhuis
4fc0fdc6ee
bench: start (NUM_CPUS-1) workers
The master is a worker too so fork off one less worker.
13 years ago
Ben Noordhuis
cdcb1118c8
Remove stray NODE_MODULE() semi-colons.
13 years ago
Ryan Dahl
0fa3cf94a3
Remove 'report this bug' message from cluster master
13 years ago
Ryan Dahl
da9bf0ee80
Fixes #2047 . Fill workers array immediately after fork
13 years ago
Ryan Dahl
3ae644d48c
Upgrade libuv to 196e145
13 years ago
Ryan Dahl
2a462abf5f
process.kill doesn't create error obj correctly
13 years ago
Ryan Dahl
05727f6e3e
Upgrade libuv to 2b7774a
13 years ago
Ryan Dahl
2d13cdfd2a
Fixes #2052 . Readline get win cols correctly
13 years ago
Ben Noordhuis
efb833f342
crypto: use the right mutex
13 years ago
Ryan Dahl
409915e955
Upgrade libuv to f1859eb
Fixes #2040
Fixes 0e8a55d2a2 (commitcomment-69710)
13 years ago
Ben Noordhuis
97cada0e6a
crypto: make module thread-safe
13 years ago
Ryan Dahl
0ba8f05a42
Upgrade V8 to 3.6.6.7
13 years ago
Scott Anderson
0d19d82498
Cluster documentation added.
13 years ago
Ben Noordhuis
6f96e78dea
test: fs.realpath() should not call its callback twice
Test case for #2045 .
13 years ago
Benjamin Pasero
b1bb17fd2b
fs: fix fs.realpath on windows to return on error
13 years ago
Ben Noordhuis
04958e88a4
fs: make mkdir() call callback if mode is omitted
Fixes #2043 .
13 years ago
Ben Noordhuis
105d1787dc
cluster: fix call to undefined function
13 years ago
Eric Lovett
69d3bf1068
docs: minor grammar fix in cluster page
13 years ago
Ben Noordhuis
d7bcf21340
build: fix race in parallel build
Run `make clean` first, *then* `make all`
13 years ago
Ryan Dahl
6a83df04b6
Update multi-core text on index.html
13 years ago
Ryan Dahl
a9366818a1
Remove v0.4 links from index.html
13 years ago
Ben Noordhuis
edcfea5d02
build: fix man page install path on the BSDs
Fixes #2026 .
13 years ago
koichik
1001cf412c
bench: update static_http_server benchmark to new API
Fixes #2016 .
13 years ago