Nathan Rajlich
f405daa922
repl: make tab completion read up the prototype of "global"
For example, there's a global "toString()" function, so the REPL's
tab completion should pick that up.
13 years ago
Nathan Rajlich
98b4596a46
process: lint
13 years ago
Ben Noordhuis
5648d95c4a
Remove unused local variable.
13 years ago
Kyle Robinson Young
df6c12cdcc
doc: update string_decoder stability index to 3
Ref #3140
13 years ago
Nathan Rajlich
6292df659f
process: comment for consistency
13 years ago
Nathan Rajlich
ef3a874f41
process: set _print_eval even when --eval is not passed
This is for scripts being fed from stdin:
$ echo "{ foo: 'bar' }" | node -p
13 years ago
Nathan Rajlich
0b5235e68c
process: make --eval and reading scripts from stdin act the same
Reusing the same logic for both places for the behavior is consistent.
For example:
$ ./node -p -e "'Hello World'"
Hello World
$ echo "'Hello World'" | ./node -p
Hello World
13 years ago
Kyle Robinson Young
d9bad09ede
doc: util: add args to format and methods error, puts, print
13 years ago
Ben Noordhuis
48cdbffd24
v8: posix: try to send() whole buffer
Retry the send() syscall after a partial write.
13 years ago
Ben Noordhuis
ebfb8a5613
v8: posix: handle EINTR in socket functions
The socket functions did not handle EINTR (syscall interrupted by signal) which
tripped up the debug agent.
13 years ago
Ben Noordhuis
4359e8154d
v8: debug: fix error handling in SendConnectMessage()
The old error handling code checked if the return value of Socket::Send() != 0,
which is wrong because Socket::Send() can write less bytes than requested or
return -1 on error.
13 years ago
Kyle Robinson Young
491c8d92b8
doc: add deprecated function http.createClient()
Appears in a lot of old code and core tests. Documented to show it
is deprecated.
Closes #1613 .
13 years ago
Malte-Thorben Bruns
ea50ebd36d
build: support make install "DESTDIR=/path"
13 years ago
Nathan Rajlich
e16021340d
repl: use Object.getPrototypeOf on functions for tab complete()
13 years ago
isaacs
c0a9985da7
domain: Document explicit binding, and d.run()
13 years ago
Kyle Robinson Young
525253d50e
doc: add args for rl.write and rl.prompt
13 years ago
Kyle Robinson Young
da56c72f59
readline: remove unused vars in _ttyWrite
13 years ago
isaacs
77c1cc0482
doc: typo in cluster documentation
13 years ago
Kyle Robinson Young
d91ef153e7
doc: add string_decoder doc
13 years ago
Ben Noordhuis
c21c51a6fc
v8: fix "pure virtual method called" runtime error
Fixes #2912 .
13 years ago
Kyle Robinson Young
e67a0f80e0
readline: _normalWrite() doesn't take a key modifier arg
13 years ago
Kyle Robinson Young
57148f54e1
readline: change char to ch to avoid reserved word
13 years ago
Ben Noordhuis
c56d1559fc
test: use the new net.listen(backlog=x) API
13 years ago
Erik Dubbelboer
12f77440ef
doc: improve dns module docs
13 years ago
Erik Dubbelboer
ecfe32e3a0
dns: add more error codes
13 years ago
isaacs
605927fbd9
Fix test/ jslint failures (by not linting tests)
In practice, it's not important to lint tests. We lint src/
and lib/, which is where we're more prone to make mistakes that
affect real-world situations in subtle ways, and where more
changes are made that ought to be kept in a consistent style.
Tests are a mess anyways, and no one cares.
13 years ago
Erik Dubbelboer
3d69bbfa87
net, http: add backlog parameter to .listen()
13 years ago
isaacs
b12b2b83fc
Merge remote-tracking branch 'ry/v0.6'
13 years ago
isaacs
33c76f19de
net.js: lint
13 years ago
Dane Springmeyer
e5b787e84d
deps: fix v8 build error
Pull in build error fix from http://code.google.com/p/v8/source/detail?r=9505
Missed in 5d69bbfbd
.
13 years ago
isaacs
ecca7525cc
Merge remote-tracking branch 'ry/v0.6' into master
Conflicts:
AUTHORS
ChangeLog
LICENSE
Makefile
deps/http_parser/test.c
deps/npm/AUTHORS
deps/npm/html/api/bin.html
deps/npm/html/api/bugs.html
deps/npm/html/api/commands.html
deps/npm/html/api/config.html
deps/npm/html/api/deprecate.html
deps/npm/html/api/docs.html
deps/npm/html/api/edit.html
deps/npm/html/api/explore.html
deps/npm/html/api/help-search.html
deps/npm/html/api/init.html
deps/npm/html/api/install.html
deps/npm/html/api/link.html
deps/npm/html/api/load.html
deps/npm/html/api/ls.html
deps/npm/html/api/npm.html
deps/npm/html/api/outdated.html
deps/npm/html/api/owner.html
deps/npm/html/api/pack.html
deps/npm/html/api/prefix.html
deps/npm/html/api/prune.html
deps/npm/html/api/publish.html
deps/npm/html/api/rebuild.html
deps/npm/html/api/restart.html
deps/npm/html/api/root.html
deps/npm/html/api/run-script.html
deps/npm/html/api/search.html
deps/npm/html/api/shrinkwrap.html
deps/npm/html/api/start.html
deps/npm/html/api/stop.html
deps/npm/html/api/submodule.html
deps/npm/html/api/tag.html
deps/npm/html/api/test.html
deps/npm/html/api/uninstall.html
deps/npm/html/api/unpublish.html
deps/npm/html/api/update.html
deps/npm/html/api/version.html
deps/npm/html/api/view.html
deps/npm/html/api/whoami.html
deps/npm/html/doc/README.html
deps/npm/html/doc/adduser.html
deps/npm/html/doc/bin.html
deps/npm/html/doc/bugs.html
deps/npm/html/doc/build.html
deps/npm/html/doc/bundle.html
deps/npm/html/doc/cache.html
deps/npm/html/doc/changelog.html
deps/npm/html/doc/coding-style.html
deps/npm/html/doc/completion.html
deps/npm/html/doc/config.html
deps/npm/html/doc/deprecate.html
deps/npm/html/doc/developers.html
deps/npm/html/doc/disputes.html
deps/npm/html/doc/docs.html
deps/npm/html/doc/edit.html
deps/npm/html/doc/explore.html
deps/npm/html/doc/faq.html
deps/npm/html/doc/folders.html
deps/npm/html/doc/help-search.html
deps/npm/html/doc/help.html
deps/npm/html/doc/index.html
deps/npm/html/doc/init.html
deps/npm/html/doc/install.html
deps/npm/html/doc/json.html
deps/npm/html/doc/link.html
deps/npm/html/doc/list.html
deps/npm/html/doc/npm.html
deps/npm/html/doc/outdated.html
deps/npm/html/doc/owner.html
deps/npm/html/doc/pack.html
deps/npm/html/doc/prefix.html
deps/npm/html/doc/prune.html
deps/npm/html/doc/publish.html
deps/npm/html/doc/rebuild.html
deps/npm/html/doc/registry.html
deps/npm/html/doc/removing-npm.html
deps/npm/html/doc/restart.html
deps/npm/html/doc/root.html
deps/npm/html/doc/run-script.html
deps/npm/html/doc/scripts.html
deps/npm/html/doc/search.html
deps/npm/html/doc/semver.html
deps/npm/html/doc/shrinkwrap.html
deps/npm/html/doc/star.html
deps/npm/html/doc/start.html
deps/npm/html/doc/stop.html
deps/npm/html/doc/submodule.html
deps/npm/html/doc/tag.html
deps/npm/html/doc/test.html
deps/npm/html/doc/uninstall.html
deps/npm/html/doc/unpublish.html
deps/npm/html/doc/update.html
deps/npm/html/doc/version.html
deps/npm/html/doc/view.html
deps/npm/html/doc/whoami.html
deps/npm/lib/npm.js
deps/npm/man/man1/npm.1
deps/npm/man/man3/npm.3
deps/npm/node_modules/fstream-npm/fstream-npm.js
deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json
deps/npm/node_modules/fstream-npm/package.json
deps/npm/node_modules/node-gyp/LICENSE
deps/npm/node_modules/node-gyp/lib/build.js
deps/npm/node_modules/node-gyp/lib/install.js
deps/npm/node_modules/node-gyp/node_modules/ansi/package.json
deps/npm/node_modules/node-gyp/node_modules/glob/package.json
deps/npm/node_modules/node-gyp/package.json
deps/npm/package.json
deps/uv/test/test-fs.c
deps/v8/src/regexp-macro-assembler-tracer.cc
deps/v8/src/version.cc
src/node_version.h
src/platform_sunos.cc
test/simple/test-net-write-after-close.js
wscript
13 years ago
isaacs
0fcb124602
Now working on 0.7.9
13 years ago
isaacs
889cbf9ada
Merge branch 'v0.7.8-release'
13 years ago
isaacs
c2b47097c0
2012.04.18, Version 0.7.8, (unstable)
* Upgrade V8 to 3.9.24.9
* Upgrade OpenSSL to 1.0.0f
* Upgrade npm to 1.1.18
* Show licenses in Binary installers
* Domains (isaacs)
* readline: rename "end" to "close" (Nathan Rajlich)
* tcp: make getsockname() return address family as string (Shigeki Ohtsu)
* http, https: fix .setTimeout() (ssuda)
* os: add cross platform EOL character (Mustansir Golawala)
* typed arrays: unexport SizeOfArrayElementForType() (Aaron Jacobs)
* net: honor 'enable' flag in .setNoDelay() (Ben Noordhuis)
* child_process: emit error when .kill fails (Andreas Madsen)
* gyp: fix 'argument list too long' build error (Ben Noordhuis)
* fs.WriteStream: Handle modifications to fs.open (isaacs)
* repl, readline: Handle newlines better (Nathan Rajlich, Nathan Friedly)
* build: target OSX 10.5 when building on darwin (Nathan Rajlich)
* Fix #3052 Handle errors properly in zlib (isaacs)
* build: add support for DTrace and postmortem (Dave Pacheco)
* core: add reusable Slab allocator (Ben Noordhuis)
13 years ago
isaacs
7b3fb22290
typo in node_http_parser
13 years ago
isaacs
6bb9868271
Reapply patches floating on V8
13 years ago
isaacs
6ed5ef5fe0
Upgrade V8 to 3.9.24.9
13 years ago
isaacs
c8bbd13ea8
Upgrade npm to 1.1.17
13 years ago
Josh W
d2860a6c7d
doc: make readline example filter shorter
13 years ago
Josh W
20143b359c
doc: add some headers to make it more legible
13 years ago
isaacs
d8b33dc147
lint
13 years ago
isaacs
37fd953378
uv: Cherry-pick joyent/libuv@3c41597
13 years ago
isaacs
079b81358b
test: Minor change to message/undefined_reference_in_new_context
13 years ago
Dave Pacheco
8559a4ae0f
Fix 64-bit SmartOS build
13 years ago
isaacs
8673a4aa25
Merge branch 'domains3'
13 years ago
isaacs
d4ed2e61f7
Add Todo comments about domain-ifying crypto
13 years ago
isaacs
45c1d4f96f
Add switches to http_simple bench to use domains
13 years ago
isaacs
10ce3d129d
Domain hooks in ReqWrap<T> and MakeCallback
13 years ago
isaacs
963459d736
Domain feature
This is a squashed commit of the main work done on the domains-wip branch.
The original commit messages are preserved for posterity:
* Implicitly add EventEmitters to active domain
* Implicitly add timers to active domain
* domain: add members, remove ctor cb
* Don't hijack bound callbacks for Domain error events
* Add dispose method
* Add domain.remove(ee) method
* A test of multiple domains in process at once
* Put the active domain on the process object
* Only intercept error arg if explicitly requested
* Typo
* Don't auto-add new domains to the current domain
While an automatic parent/child relationship is sort of neat,
and leads to some nice error-bubbling characteristics, it also
results in keeping a reference to every EE and timer created,
unless domains are explicitly disposed of.
* Explicitly adding one domain to another is still fine, of course.
* Don't allow circular domain->domain memberships
* Disposing of a domain removes it from its parent
* Domain disposal turns functions into no-ops
* More documentation of domains
* More thorough dispose() semantics
* An example using domains in an HTTP server
* Don't handle errors on a disposed domain
* Need to push, even if the same domain is entered multiple times
* Array.push is too slow for the EE Ctor
* lint domain
* domain: docs
* Also call abort and destroySoon to clean up event emitters
* domain: Wrap destroy methods in a try/catch
* Attach tick callbacks to active domain
* domain: Only implicitly bind timers, not explicitly
* domain: Don't fire timers when disposed.
* domain: Simplify naming so that MakeCallback works on Timers
* Add setInterval and nextTick to domain test
* domain: Make stack private
13 years ago
isaacs
a26bee8fa1
MakeCallback: Consistent symbol usage
13 years ago