1. Nov 13, 2011
    • Mathias Bynens's avatar
      punycode: Update to v0.1.1. · 897208e0
      Mathias Bynens authored
      897208e0
    • seebees's avatar
      .load, .save and local scope tab completion · 3421f433
      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.
      3421f433
    • seebees's avatar
      Tab Compete test for node REPL · b00f5e2e
      seebees authored
      Currently the REPL only tab completes for globally scoped variables
      b00f5e2e
  2. Nov 12, 2011
  3. Nov 11, 2011
  4. Nov 10, 2011
  5. Nov 09, 2011
  6. Nov 08, 2011