Skip to content

Instantly share code, notes, and snippets.

@koichik
koichik / 0001-Fix-fs.WriteStream.end-data-encoding-throws-TypeErro.patch
Created March 1, 2011 15:39
Fix fs.WriteStream.end(data, [encoding]) throws TypeError
From edaad49acce5ae54ab859ec4fbf8002f76d80585 Mon Sep 17 00:00:00 2001
From: koichik <koichik@improvement.jp>
Date: Wed, 2 Mar 2011 00:35:32 +0900
Subject: [PATCH] Fix fs.WriteStream.end(data, [encoding]) throws TypeError
---
lib/fs.js | 10 +++++++++-
test/simple/test-fs-write-stream-end.js | 25 +++++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletions(-)
create mode 100644 test/simple/test-fs-write-stream-end.js
@koichik
koichik / 0001-Correct-net.createServer-API-docs.patch
Created March 2, 2011 18:34
Correct net.createServer() API docs
From d6f66f508052f2108633190c4a149c1131dc87fc Mon Sep 17 00:00:00 2001
From: koichik <koichik@improvement.jp>
Date: Thu, 3 Mar 2011 03:32:13 +0900
Subject: [PATCH] Correct net.createServer() API docs
---
doc/api/net.markdown | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/doc/api/net.markdown b/doc/api/net.markdown
@koichik
koichik / 0001-Document-allowHalfOpen-for-net.createServer.patch
Created March 3, 2011 16:11
Document allowHalfOpen for net.createServer()
From 19e8812e34cdc9733cb82d4261ed34aab83659e9 Mon Sep 17 00:00:00 2001
From: koichik <koichik@improvement.jp>
Date: Fri, 4 Mar 2011 01:05:03 +0900
Subject: [PATCH 1/2] Document allowHalfOpen for net.createServer()
---
doc/api/net.markdown | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/doc/api/net.markdown b/doc/api/net.markdown
@koichik
koichik / 0001-Fix-net.Server-does-not-work-when-the-FD-is-0.patch
Created March 5, 2011 19:52
Fix GH-746 process.stdin.destroy() breaks http server
From bd798f2f244676bc0b0fd5fc6e1664c0ac69f109 Mon Sep 17 00:00:00 2001
From: koichik <koichik@improvement.jp>
Date: Sun, 6 Mar 2011 04:06:12 +0900
Subject: [PATCH 1/2] Fix net.Server does not work when the FD is 0
Issue: GH-746 process.stdin.destroy() breaks http server.
Solution: Use ==/!= for the check of the FD rather than a truthy/falsy.
---
lib/net.js | 4 ++--
test/simple/test-net-server-acceept.js | 27 +++++++++++++++++++++++++++
@koichik
koichik / 0001-Document-net.Socket-constructor.patch
Created March 10, 2011 17:16
Document net.Socket() constructor
From ec7a4dd27c7bf9318cff02390cbf379c8432e763 Mon Sep 17 00:00:00 2001
From: koichik <koichik@improvement.jp>
Date: Fri, 11 Mar 2011 02:15:05 +0900
Subject: [PATCH] Document net.Socket() constructor
---
doc/api/net.markdown | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/doc/api/net.markdown b/doc/api/net.markdown
@koichik
koichik / 0001-Fix-GH-746-process.stdin.destroy-breaks-http-server.patch
Created March 11, 2011 17:07
Fix GH-746 process.stdin.destroy() breaks http server
From feac531600ca073dc5f50bed9862ccd8ac0619b2 Mon Sep 17 00:00:00 2001
From: koichik <koichik@improvement.jp>
Date: Sat, 12 Mar 2011 01:00:46 +0900
Subject: [PATCH 1/2] Fix GH-746 process.stdin.destroy() breaks http server
---
lib/net.js | 4 ++--
test/simple/test-net-server-acceept.js | 27 +++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 2 deletions(-)
create mode 100644 test/simple/test-net-server-acceept.js
@koichik
koichik / 0001-Document-ucs2-encoding-for-Buffer.patch
Created March 16, 2011 20:02
Document 'ucs2' encoding for Buffer
From 4212f5c89ca3204c52058b46daa0fa9aa85f1014 Mon Sep 17 00:00:00 2001
From: koichik <koichik@improvement.jp>
Date: Thu, 17 Mar 2011 04:59:55 +0900
Subject: [PATCH] Document 'ucs2' encoding for Buffer
---
doc/api/buffers.markdown | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/doc/api/buffers.markdown b/doc/api/buffers.markdown
@koichik
koichik / 0001-Fix-docs-There-were-2-descriptions-of-request-event.patch
Created March 30, 2011 13:25
Fix docs: There were 2 descriptions of 'request' event.
From 8b723df5ebd49a79a622355a039ad3b34811c692 Mon Sep 17 00:00:00 2001
From: koichik <koichik@improvement.jp>
Date: Wed, 30 Mar 2011 22:06:41 +0900
Subject: [PATCH] Fix docs: There were 2 descriptions of 'request' event.
---
doc/api/http.markdown | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/doc/api/http.markdown b/doc/api/http.markdown
@koichik
koichik / 0001-Auto-completion-of-built-in-debugger-suggests-prefix.patch
Created March 30, 2011 14:26
Auto completion of built-in debugger suggests prefix match rather than partial match.
From 272ada7bf53e6a060cb6cc6fc86eb4f752d79abf Mon Sep 17 00:00:00 2001
From: koichik <koichik@improvement.jp>
Date: Wed, 30 Mar 2011 22:17:00 +0900
Subject: [PATCH] Auto completion of built-in debugger suggests prefix match rather than partial match.
---
lib/_debugger.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/_debugger.js b/lib/_debugger.js