Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 2 #25

Open
wants to merge 3,547 commits into
base: v0.6-android
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
3547 commits
Select commit Hold shift + click to select a range
8135ac1
net: handle 'finish' event only after 'connect'
indutny Mar 13, 2013
9af0085
doc: path.join() arguments must be strings
bnoordhuis Mar 13, 2013
110cacd
core: Move UNWRAP_NO_ABORT to handle_wrap.h
isaacs Mar 13, 2013
615d809
stream: Never call decoder.end() multiple times
kanongil Mar 12, 2013
7b7235a
doc: add note on process.title max length
bnoordhuis Mar 13, 2013
fa05e8a
doc: implicit fs callbacks don't throw in v0.10
bnoordhuis Mar 13, 2013
6bd8b7e
fs: Missing cb errors are deprecated, not a throw
isaacs Mar 13, 2013
6399839
Revert "stream: Never call decoder.end() multiple times"
isaacs Mar 13, 2013
5917828
Merge remote-tracking branch 'ry/v0.10'
isaacs Mar 13, 2013
5e140b3
Revert "fs: Missing cb errors are deprecated, not a throw"
isaacs Mar 13, 2013
028c630
doc: change dgram to socket for properties of dgram.Socket
adammw Mar 14, 2013
e99dff4
deps: upgrade libuv to 7b66ea1
bnoordhuis Mar 14, 2013
ca5022b
net: improve arbitrary tcp socket support
bnoordhuis Mar 14, 2013
d62cf59
http: Don't hot-path end() for large buffers
isaacs Mar 14, 2013
1f53cfd
doc: don't mark fs callbacks as optional
koichik Mar 14, 2013
5eacdd4
repl: emit 'reset' event when context is reset
samsonjs Mar 14, 2013
c0721bc
repl: Use a domain to catch async errors safely
isaacs Mar 14, 2013
e8f80bf
stream: Never call decoder.end() multiple times
kanongil Mar 14, 2013
3537b57
test: No need for kicking in streams2 test
isaacs Mar 14, 2013
14947b6
stream: Return self from readable.wrap
isaacs Mar 14, 2013
4432dc8
v8: move 32 bit heap hint on sunos
tjfontaine Mar 14, 2013
94284e7
readline: handle wide characters properly
iizukanao Mar 16, 2013
2b5bc8e
install: don't install man page twice
bnoordhuis Mar 16, 2013
f5a337e
deps: upgrade libuv to b45a74f
bnoordhuis Mar 16, 2013
852444a
doc: https: Fix the link to tls.connect
eungjun-yi Mar 15, 2013
f217b5e
doc: fix typo in crypto docs
outsideris Mar 12, 2013
a0867e1
node: revert removal of MakeCallback
trevnorris Mar 17, 2013
14a8fb8
tls: write pending data of opposite side
indutny Mar 15, 2013
b5ddc0c
tls: write pending data of opposite side
indutny Mar 15, 2013
808b7ad
doc: fix broken links in blog footer
bnoordhuis Mar 18, 2013
a05f973
test: Misc Windows unit test fixes
sblom Mar 18, 2013
8019800
Update .mailmap and AUTHORS
piscisaureus Mar 19, 2013
bf83251
windows: enable watching signals with process.on('SIGXYZ')
piscisaureus Mar 19, 2013
2f4a62c
doc: fix streams2 SimpleProtocol example
ichernev Mar 19, 2013
83261e7
deps: update v8 to 3.17.13
trevnorris Mar 18, 2013
06bec0e
v8: remove optimization switches
trevnorris Mar 18, 2013
0bba590
bindings: update api
trevnorris Mar 18, 2013
8bffa33
v8: loosen artificial mmap constraint
bcantrill Sep 18, 2012
831af97
v8: revert dtrace fix from 3.14 downgrade
trevnorris Mar 19, 2013
3cb5bf1
dtrace: fix style in ustack helper
indutny Jan 7, 2013
3375bd8
dtrace: x64 ustack helper
indutny Dec 27, 2012
425163e
dtrace: Make D style more D-ish
isaacs Jan 7, 2013
d9036a5
dtrace: More style
isaacs Jan 7, 2013
88217ec
dtrace: fix generation of v8 constants on freebsd
indutny Jan 20, 2013
da4d79a
docs: show how to use Isolate
trevnorris Mar 19, 2013
f65e14e
src: pass Isolate to all applicable api
trevnorris Mar 19, 2013
25eaaca
fs: make write/appendFileSync correctly set file mode
Mar 20, 2013
dc29d64
test: fix up weakref.cc after v8 api change
bnoordhuis Mar 20, 2013
ad819bc
src: bump NODE_MODULE_VERSION after abi change
bnoordhuis Mar 20, 2013
40b1c9a
v8: unbreak build on smartos after 831af97df211f04
indutny Mar 20, 2013
34e22b8
tls: always reset this.ssl.error after handling
indutny Mar 20, 2013
3dac421
bench: add dgram send/recv benchmark
bnoordhuis Mar 20, 2013
31314b6
bench: compare binaries equal times
trevnorris Mar 20, 2013
008ab12
tls: Prevent hang in readStart
isaacs Mar 20, 2013
855caa8
crypto: initialize transform lazily
indutny Mar 15, 2013
3dd7938
npm: upgrade to 1.2.15
isaacs Mar 21, 2013
c274d16
2013.03.21, Version 0.10.1 (Stable)
isaacs Mar 21, 2013
e47a3e3
deps: upgrade libuv to 9b61939
bnoordhuis Mar 21, 2013
41405f4
Merge branch 'v0.10.1-release' into v0.10
isaacs Mar 21, 2013
9d3a09f
Now working on v0.10.2
isaacs Mar 21, 2013
92cc187
blog: Post for v0.10.1
isaacs Mar 21, 2013
f150d56
src: write ascii strings using WriteOneByte
trevnorris Mar 21, 2013
2f88272
Merge remote-tracking branch 'ry/v0.10' into master
isaacs Mar 21, 2013
f7ebb4d
doc: update that ascii write doesn't convert null
trevnorris Mar 21, 2013
bfd16de
timers: handle signed int32 overflow in enroll()
indutny Mar 21, 2013
c3aae9c
stream: Fix stall in Transform under very specific conditions
kanongil Mar 17, 2013
132c77e
doc: document that stdio is usually blocking
bnoordhuis Mar 23, 2013
628bd81
crypto: check randomBytes() size argument
bnoordhuis Mar 23, 2013
14417fd
v8: Unify kMaxArguments with number of bits used to encode it.
verwaest Mar 18, 2013
1526909
tls: remove harmful unnecessary bounds checking
laverdet Mar 21, 2013
9430ca6
tls: remove harmful unnecessary bounds checking
laverdet Mar 21, 2013
648a072
deps: upgrade libuv to eca008a
bnoordhuis Mar 23, 2013
51f128d
fs: uv_[fl]stat now reports subsecond resolution
tjfontaine Mar 22, 2013
9fae4dc
timer: fix off-by-one ms error
AlexeyKupershtokh Oct 26, 2012
329b538
doc: update CONTRIBUTING.md
bnoordhuis Mar 24, 2013
8632af3
tools: update gyp to r1601
bnoordhuis Mar 24, 2013
c0d5001
stream: Fix early end in Writables on zero-length writes
isaacs Mar 22, 2013
690a8cc
deps: fix openssl build on windows
bnoordhuis Mar 24, 2013
05bd6b7
bench: add child process read perf benchmark
bnoordhuis Mar 21, 2013
44843a6
child_process: fix sending utf-8 to child process
bnoordhuis Mar 14, 2013
488b74d
doc: mention `process.*.isTTY` under `process`
mathiasbynens Mar 19, 2013
cfd0dca
crypto: make getCiphers() return non-SSL ciphers
bnoordhuis Mar 18, 2013
9352c19
child_process: don't emit same handle twice
bnoordhuis Mar 24, 2013
fb6dd0c
test: test name is the last elem, not second
tjfontaine Mar 25, 2013
1a65154
Merge remote-tracking branch 'origin/v0.10'
bnoordhuis Mar 25, 2013
d205761
tls: expose SSL_CTX_set_timeout via tls.createServer
Mar 18, 2013
0e08e14
doc: fix formatting in tty.markdown
bnoordhuis Mar 26, 2013
a80a132
doc: child_process: document 'error' event
bnoordhuis Mar 26, 2013
ccda6bb
buffer: remove _charsWritten
trevnorris Mar 25, 2013
2eb8478
test: Use 'close' event in simple/test-repl-timeout-throw
isaacs Mar 26, 2013
8548920
openssl: make sed tool configurable
bnoordhuis Mar 26, 2013
f0b6889
domain: fix domain callback from MakeCallback
trevnorris Mar 26, 2013
28c6e42
openssl: disable HEARTBEAT TLS extension
indutny Mar 26, 2013
372911f
doc: addon: fix grammar
bruston Mar 27, 2013
ae86fa8
tls: handle errors before calling C++ methods
indutny Mar 27, 2013
61935bc
test: Accept either kind of NaN
isaacs Mar 27, 2013
982877e
deps: upgrade libuv to 7514149
bnoordhuis Mar 27, 2013
1f55704
util: fix util.inspect() line width calculation
kustosz Mar 18, 2013
120e5a2
os: use %SystemRoot% or %windir% in os.tmpdir()
doortts Mar 19, 2013
024a8b0
doc: debugger, dns, http: fix grammar
bruston Mar 28, 2013
5ae26f3
doc: Add 'don't ignore errors' section to domain
isaacs Mar 28, 2013
eafa902
stream: Handle late 'readable' event listeners
isaacs Mar 26, 2013
929e4d9
stream: Emit readable on ended streams via read(0)
isaacs Mar 27, 2013
39058be
setTimeout: do not calculate Timeout._when property
Oct 25, 2012
4580be0
tls: handle SSL_ERROR_ZERO_RETURN
indutny Mar 28, 2013
dea0634
npm: Upgrade to v1.2.15
isaacs Mar 28, 2013
1b5ec03
deps: upgrade libuv to v0.10.3
piscisaureus Mar 28, 2013
1e0de9c
2013.03.28, Version 0.10.2 (Stable)
isaacs Mar 28, 2013
902d6cb
src: tie process.versions.uv to uv_version_string()
bnoordhuis Mar 28, 2013
8106dc3
Merge branch 'v0.10.2-release' into v0.10
isaacs Mar 28, 2013
61d254e
Node working on 0.10.3
isaacs Mar 28, 2013
708e858
blog: Post about v0.10.2
isaacs Mar 28, 2013
97c70a6
Merge remote-tracking branch 'ry/v0.10'
isaacs Mar 28, 2013
9100dd4
lint
isaacs Mar 28, 2013
bce38b3
2013.03.28, Version 0.11.0 (Unstable)
isaacs Mar 28, 2013
f1fa756
blog: Update linux binary tarball shasums
isaacs Mar 28, 2013
caacc19
Merge branch 'v0.11.0-release'
isaacs Mar 28, 2013
46da8c2
Now working on 0.11.1
isaacs Mar 28, 2013
1d17ced
blog: v0.11.0 release
isaacs Mar 28, 2013
74ef949
zlib: allow passing options to convenience methods
shama Mar 25, 2013
87f9ece
deps: upgrade libuv to c43e851
bnoordhuis Mar 29, 2013
3f091c7
src: fix Persistent<> deprecation warning
bnoordhuis Mar 29, 2013
7af075e
crypto: Pass options to ctor calls
isaacs Mar 29, 2013
2093e7d
lint: add isolate, remove semicolon
trevnorris Mar 29, 2013
fe7440c
build: allow building with dtrace on osx
Mar 28, 2013
7634069
dtrace: pass more arguments to probes
Mar 28, 2013
aa5da48
dtrace: actually use the _handle.fd value
tjfontaine Mar 28, 2013
9b8dd39
dtrace: check if _handle property is set
bnoordhuis Mar 30, 2013
085f9d6
repl: isSyntaxError() catches "strict mode" errors
TooTallNate Mar 30, 2013
55ea7cc
repl: use more readable RegExp syntax for spaces
TooTallNate Mar 30, 2013
840a29f
buffer: change output of Buffer.prototype.toJSON()
Mar 26, 2013
e5b90a1
querystring: Removing unnecessary binding
mitar Mar 31, 2013
889fec3
doc: typo fixes
shama Mar 28, 2013
b3a8e0d
etw: update prototypes to match dtrace provider
tjfontaine Mar 30, 2013
440dcae
Ensure BAD domain example actually uses domain
mhart Mar 30, 2013
164d5b3
tls: Destroy socket when encrypted side closes
isaacs Mar 30, 2013
db8ce89
test: test intended code-paths
arhart Mar 31, 2013
234fb12
http client: Ensure socket cleanup on response end
isaacs Apr 2, 2013
38106da
src: remove unused variables
mscdex Apr 2, 2013
ec69fcf
build: allow building with dtrace on osx
Mar 28, 2013
bf22f99
dtrace: pass more arguments to probes
Mar 28, 2013
aca31e3
dtrace: actually use the _handle.fd value
tjfontaine Mar 28, 2013
7546389
dtrace: check if _handle property is set
bnoordhuis Mar 30, 2013
9f65b1e
etw: update prototypes to match dtrace provider
tjfontaine Mar 30, 2013
4716dc6
assert: Simplify AssertError creation
isaacs Apr 3, 2013
5902bc4
child_process: acknowledge sent handles
indutny Apr 1, 2013
b319264
test: fork-getconnections stricter, less chatty
isaacs Apr 3, 2013
d46ebff
npm: Upgrade to 1.2.17
isaacs Apr 3, 2013
88686aa
http: Remove legacy ECONNRESET workaround code
isaacs Apr 1, 2013
d4982f6
2013.04.03, Version 0.10.3 (Stable)
isaacs Apr 3, 2013
55d058e
v8: cherry-pick 75311294 from upstream
indutny Apr 3, 2013
d1c9c93
Merge branch 'v0.10.3-release' into v0.10
isaacs Apr 3, 2013
734a190
Now working on 0.10.4
isaacs Apr 3, 2013
0f460b0
blog: Post about 0.10.3
isaacs Apr 3, 2013
d8852aa
build: depend on v8 postmortem-metadata if enabled
paddybyers Apr 3, 2013
b9655fc
build: fix windows build, disable postmortem
bnoordhuis Apr 3, 2013
58f93ff
crypto: use better memory BIO implementation
indutny Apr 3, 2013
2c9a38d
Merge remote-tracking branch 'ry/v0.10'
isaacs Apr 5, 2013
aeef951
doc: Correct caveats for http Readables
isaacs Apr 5, 2013
1fd95b5
test: Fix message/error_exit
isaacs Apr 5, 2013
ea4f0b4
stream: remove vestiges of previous _transform API
rgarcia Apr 4, 2013
bd0d458
stream: unused variable
rgarcia Apr 4, 2013
4108c31
tls: Re-enable check of CN-ID in cert verification
tmuellerleile Apr 4, 2013
77715ed
crypto: zero is not an error if writing 0 bytes
indutny Apr 7, 2013
eb39c98
net: fix buffer iteration in bytesWritten
indutny Apr 7, 2013
e8c0173
doc: document linux pwrite() bug
bnoordhuis Apr 7, 2013
ff32ecd
net: account encoding in .byteLength
indutny Apr 8, 2013
fed8cff
crypto: fix constructor call in crypto streams
AndreasMadsen Apr 8, 2013
8c8ebe4
crypto: fix style issues in bio
indutny Apr 6, 2013
ba0f7b8
crypto: fix changing buffers in bio
indutny Apr 6, 2013
21f3c5c
crypto: move write_head in bio's Reset() method
indutny Apr 6, 2013
ccabd4a
process: expose NODE_MODULE_VERSION in process.versions
rvagg Apr 8, 2013
037bcac
crypto: dh secret should be left-padded
indutny Apr 8, 2013
e4b716e
http: Support write(data, 'hex')
isaacs Apr 8, 2013
587e83c
v8: upgrade to 3.17.16
bnoordhuis Apr 8, 2013
7357bcb
v8: reapply floating patches
bnoordhuis Apr 8, 2013
c93af86
stream: call write cb before finish event
isaacs Apr 8, 2013
2e28832
buffer: fix offset checks
morkai Apr 5, 2013
67096fd
blog: Post for v0.8.23
isaacs Apr 9, 2013
a2fd657
docs: uncaughtException is here to stay
felixge Apr 9, 2013
eeb4c32
crypto: remove unused ClientHelloParser field
bnoordhuis Apr 9, 2013
c665b8e
net: fix socket.bytesWritten Buffers support
indutny Apr 10, 2013
0d5595a
Revert "crypto: use better memory BIO implementation"
bnoordhuis Apr 10, 2013
62a2142
crypto: fix style issues in bio
indutny Apr 6, 2013
798d177
crypto: fix changing buffers in bio
indutny Apr 6, 2013
c985095
crypto: move write_head in bio's Reset() method
indutny Apr 6, 2013
cd96f0a
src: don't SetInternalField() in ObjectWrap dtor
bnoordhuis Apr 10, 2013
591cfe6
src: add node_isolate to remaining scopes
trevnorris Apr 9, 2013
33fae69
domain: change name for domain setup
trevnorris Apr 9, 2013
deda899
src: add using_domains to node_internals
trevnorris Apr 9, 2013
8428b52
req_wrap: only grab domain object if in use
trevnorris Apr 9, 2013
f83afd3
src: get rid of compiler warning
trevnorris Apr 9, 2013
dbbfbe7
cluster: fix O(n*m) scan of cmd string
bnoordhuis Apr 11, 2013
212eb8a
child_process: fix O(n*m) scan of cmd string
bnoordhuis Apr 11, 2013
e5fdc4d
uv: Upgrade to v0.10.4
isaacs Apr 11, 2013
1ccae9c
npm: Upgrade to 1.2.18
isaacs Apr 11, 2013
9712aa9
2013.04.11, Version 0.10.4 (Stable)
isaacs Apr 11, 2013
50be397
blog: Fix title for v0.8.23 release
isaacs Apr 11, 2013
22c7d13
lint
isaacs Apr 11, 2013
bf8ed11
Merge branch 'v0.10.4-release' into v0.10
isaacs Apr 11, 2013
440bc06
Now working on v0.10.5
isaacs Apr 11, 2013
b0de1e4
stream: Fix unshift() race conditions
isaacs Apr 11, 2013
8ee4300
build: Typo in tools/msvs/msi/product.wxs
isaacs Apr 12, 2013
259839f
Merge branch 'v0.10'
indutny Apr 12, 2013
061151c
uv: Upgrade to v0.11.1
indutny Apr 12, 2013
17a379e
url: Escape all unwise characters
isaacs Apr 12, 2013
881ef7c
url: ~ is not actually an unwise char
isaacs Apr 12, 2013
38149bb
http: escape unsafe characters in request path
bnoordhuis Apr 12, 2013
31d0d5a
test: add extra checks
bnoordhuis Apr 12, 2013
78c5de5
os: fix unlikely buffer overflow in os.type()
bnoordhuis Apr 15, 2013
afbadde
os: handle 256 character hostnames
bnoordhuis Apr 15, 2013
d58ee7e
os: unbreak windows build
bnoordhuis Apr 15, 2013
47198af
test: preserve process.env in forked child_process
Apr 10, 2013
7592615
test: preserve process.env after test-init exec
Apr 16, 2013
ccd3722
handle_wrap: fix NULL pointer dereference
bnoordhuis Apr 16, 2013
b02b93b
doc: note a gotcha with http.Server sockets
rmg Apr 16, 2013
36503b5
docs: update path.join() example for v0.10
kellygerber Apr 9, 2013
62e4f89
http: split Agent into its own file
tjfontaine Apr 11, 2013
5909a9c
http: move IncomingMessage into its own file
tjfontaine Apr 11, 2013
bb56489
http: move parsers into _http_common.js
tjfontaine Apr 11, 2013
dc9f97b
http: move OutgoingMessage into it's own file
tjfontaine Apr 11, 2013
6717fdc
http: move Server and ServerResponse out
tjfontaine Apr 11, 2013
951e0b6
http: split Client into _http_client.js
tjfontaine Apr 11, 2013
9f68226
deps: upgrade v8 to 3.18.0
bnoordhuis Apr 17, 2013
c7d7072
v8: reapply floating patches
bnoordhuis Apr 8, 2013
f044a6f
buffer: upgrade to new V8 profiler API
bnoordhuis Apr 17, 2013
2e70dda
test: make stdout-close-unref work in test runner
bnoordhuis Apr 17, 2013
92023b4
dgram: fix no address bind()
bnoordhuis Apr 17, 2013
39dfe94
build: libv8_base.a is now libv8_base.<arch>.a
tjfontaine Apr 17, 2013
659fb23
crypto: fix return Local Handle w/o scope.Close()
trevnorris Apr 17, 2013
8e190bf
Merge remote-tracking branch 'origin/v0.10'
bnoordhuis Apr 18, 2013
a835a2f
website: add link to nightlies on download page
bnoordhuis Apr 18, 2013
6101eb1
assert: put info in err.message, not err.name
hackedy Apr 14, 2013
0bccb34
Merge remote-tracking branch 'ry/v0.10'
isaacs Apr 18, 2013
223607c
build: fix arm build after v8 upgrade
bnoordhuis Apr 19, 2013
0a4ebc3
src: replace Holder() with This()
trevnorris Apr 18, 2013
42b8682
test: fix dgram-bind-default-address on osx
isaacs Apr 19, 2013
4babd2b
2013.04.19, Version 0.11.1 (Unstable)
isaacs Apr 19, 2013
9227780
Merge branch 'v0.11.1-release'
isaacs Apr 19, 2013
e4406b7
Now working on 0.11.2
isaacs Apr 19, 2013
9026675
path: add path.isAbsolute(path)
hackedy Apr 14, 2013
50624a5
V8: Upgrade to 3.18.1
isaacs Apr 19, 2013
2efb6cf
v8: reapply floating patches
bnoordhuis Apr 8, 2013
cf0fa96
events: add EventEmitter.defaultMaxListeners
bnoordhuis May 4, 2012
c773124
lint
isaacs Apr 19, 2013
41b75ca
cluster: clean up lib/cluster.js
bnoordhuis Apr 15, 2013
025f913
http: Don't try to destroy nonexistent sockets
isaacs Apr 22, 2013
ddf4d1a
install: Support $(PREFIX) install target directory prefix
olof Apr 23, 2013
85e4fc4
build: Makefile should respect configure --prefix
tjfontaine Apr 24, 2013
aee3a6a
Update udp_wrap.cc
harlentan Apr 25, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
core: Move UNWRAP_NO_ABORT to handle_wrap.h
Otherwise it cannot be used in StreamWrap.

Forgot to include in last patch, broke the build.
isaacs committed Mar 13, 2013
commit 110cacd1ed7350cd718b0d5aa0ce8c320c040bb1
6 changes: 0 additions & 6 deletions src/handle_wrap.cc
Original file line number Diff line number Diff line change
@@ -23,12 +23,6 @@
#include "ngx-queue.h"
#include "handle_wrap.h"

#define UNWRAP_NO_ABORT(type) \
assert(!args.Holder().IsEmpty()); \
assert(args.Holder()->InternalFieldCount() > 0); \
type* wrap = static_cast<type*>( \
args.Holder()->GetPointerFromInternalField(0));

namespace node {

using v8::Arguments;
6 changes: 6 additions & 0 deletions src/handle_wrap.h
Original file line number Diff line number Diff line change
@@ -46,6 +46,12 @@ namespace node {
// js/c++ boundary crossing. At the javascript layer that should all be
// taken care of.

#define UNWRAP_NO_ABORT(type) \
assert(!args.Holder().IsEmpty()); \
assert(args.Holder()->InternalFieldCount() > 0); \
type* wrap = static_cast<type*>( \
args.Holder()->GetPointerFromInternalField(0));

class HandleWrap {
public:
static void Initialize(v8::Handle<v8::Object> target);