Doc improvements
[platform/upstream/nodejs.git] / TODO
1 - fix tests for NODE_MODULE_CONTEXTS=1
2 - readline
3   - fix for two column glyphs. use Markus Kuhn's wcwidth.c
4   - fix for commands that extend beyond term width
5 - Erradicate all traces of 'binary' encoding. Only used, now, in OpenSSL
6   binding.
7 - EventSource branch merged
8 - Use C++ style casts everywhere.
9 - Ruby-like Process#detach (is that possible?)
10 - stderr isn't flushing on exit
11 - ReadStream should not use an offset in calls to fs.read
12   (so that it can pull in files larger than 2G)
13 - process object should be defined in src/node.js not in c++
14 - Test for EMFILE accept spin bug.
15 - Deprecate setEncoding() and instead add option to on('data').
16   Example:
17
18     stdin.on('data', { encoding: 'utf8' }, function (chunk) {
19       process.stdout.write('WRITE: ' + chunk);
20     });
21
22   Perhaps by assigning cb.opts.encoding and calling
23   EventEmitter.optHandlers.encoding() if it exists.
24
25 - DOCS
26   - anchor links next to each function, for easy linking.
27     EG <a href="#fs.stat">#</a>
28
29 - "node --raw-js script.js" should bipass all Node code and load a raw V8
30   interpreter
31 - Use http_parser_execute2() in node_http_parser.cc and make req.pause()
32   work correctly
33   https://github.com/ry/http-parser/blob/c95a5479596e95b7cdd88ca9d7b32fd3afb4379c/http_parser.h#L266