- Nov 13, 2011
-
-
Mathias Bynens authored
-
seebees authored
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. -
seebees authored
Currently the REPL only tab completes for globally scoped variables
-
- Nov 12, 2011
-
-
Ben Noordhuis authored
Fixes #2079.
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Igor Zinkovsky authored
- remove license from MSI - adjust path on install - add message to the end
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Shigeki Ohtsu authored
-
Ryan Dahl authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
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
-
- Nov 11, 2011
-
-
Yoji SHIDARA authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Igor Zinkovsky authored
-
Igor Zinkovsky authored
-
Igor Zinkovsky authored
Fixes #2059
-
Ben Noordhuis authored
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
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
- Nov 10, 2011
-
-
Ben Noordhuis authored
Makes uv_close() assert because the uv_fs_event_t struct contains garbage.
-
Igor Zinkovsky authored
-
Igor Zinkovsky authored
-
Ben Noordhuis authored
The master is a worker too so fork off one less worker.
-
- Nov 09, 2011
-
-
Ben Noordhuis authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ben Noordhuis authored
-
Ryan Dahl authored
Fixes #2040 Fixes https://github.com/joyent/node/commit/0e8a55d2a22b88dc3b9b0165f344602b0fa8c977#commitcomment-69710
-
Ben Noordhuis authored
-
Ryan Dahl authored
-
- Nov 08, 2011
-
-
Scott Anderson authored
-