summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-11-15 22:18:52 -0800
committerRyan Dahl <ry@tinyclouds.org>2010-11-15 22:18:52 -0800
commit9bf93de53203b457e44df166abefca84b8632487 (patch)
treeaa58fb78f73dacb3298371a015cf4f97d55b6e95 /TODO
parent84a5a69d9f3ab7200ebdf763b5fa6c011fae3951 (diff)
downloadandroid-node-v8-9bf93de53203b457e44df166abefca84b8632487.tar.gz
android-node-v8-9bf93de53203b457e44df166abefca84b8632487.tar.bz2
android-node-v8-9bf93de53203b457e44df166abefca84b8632487.zip
Update TODO
Diffstat (limited to 'TODO')
-rw-r--r--TODO13
1 files changed, 10 insertions, 3 deletions
diff --git a/TODO b/TODO
index 17170c3b6e..fe665f63b7 100644
--- a/TODO
+++ b/TODO
@@ -6,9 +6,6 @@
- add completion callbacks to all stream write() methods
- Erradicate all traces of 'binary' encoding. Only used, now, in OpenSSL
binding.
-- Documentation needs a major refactor; should generate more than one HTML
- page/man page from the single api.markdown file. Deep sections should be
- allowed.
- EventSource branch merged
- Use C++ style casts everywhere.
- Ruby-like Process#detach (is that possible?)
@@ -17,3 +14,13 @@
(so that it can pull in files larger than 2G)
- process object should be defined in src/node.js not in c++
- Test for EMFILE accept spin bug.
+- Deprecate setEncoding() and instead add option to on('data').
+ Example:
+
+ stdin.on('data', { encoding: 'utf8' }, function (chunk) {
+ process.stdout.write('WRITE: ' + chunk);
+ });
+
+ Perhaps by assigning cb.opts.encoding and calling
+ EventEmitter.optHandlers.encoding() if it exists.
+