You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
isaacs
88644eaa2d
stream: There is no _read cb, there is only push
This makes it so that `stream.push(chunk)` is the only way to signal the
end of reading, removing the confusing disparity between the
callback-style _read method, and the fact that most real-world streams
do not have a 1:1 corollation between the "please give me data" event,
and the actual arrival of a chunk of data.
It is still possible, of course, to implement a `CallbackReadable` on
top of this. Simply provide a method like this as the callback:
function readCallback(er, chunk) {
if (er)
stream.emit('error', er);
else
stream.push(chunk);
}
However, *only* fs streams actually would behave in this way, so it
makes not a lot of sense to make TCP, TLS, HTTP, and all the rest have
to bend into this uncomfortable paradigm.
12 years ago
benchmark
bench: Make http easier to profile
12 years ago
deps
deps: upgrade libuv to 2a8d2a5
12 years ago
doc
Merge remote-tracking branch 'origin/v0.8'
12 years ago
lib
stream: There is no _read cb, there is only push
12 years ago
src
lib, src: remove errno global
12 years ago
test
stream: There is no _read cb, there is only push
12 years ago
tools
Merge remote-tracking branch 'origin/v0.8'
12 years ago
.gitattributes
Explicitly disable cr/lf conversion for test fixtures
14 years ago
.gitignore
tools: Add wrk for benchmarking http servers
12 years ago
.mailmap
Update AUTHORS and .mailmap
13 years ago
.travis.yml
test: add `.travis.yml` for testing on Travis CI
13 years ago
AUTHORS
Merge remote-tracking branch 'origin/v0.8'
12 years ago
BSDmakefile
Tell BSD users to run `gmake` instead.
14 years ago
CONTRIBUTING.md
doc: add tools/ dir to CONTRIBUTING.md verboten list
12 years ago
ChangeLog
Merge remote-tracking branch 'origin/v0.8'
12 years ago
LICENSE
buffer: floating point read/write improvements
12 years ago
Makefile
build: automatically add tag for nightly builds
12 years ago
README.md
doc: document PYTHON env var in README
12 years ago
common.gypi
Merge remote-tracking branch 'origin/v0.8'
12 years ago
configure
configure: define "arm_fpu" and "arm_neon" for ARM
12 years ago
node.gyp
Revert "sunos: unbreak build after v8 downgrade"
12 years ago
vcbuild.bat
windows: improve Visual Studio Express build support
12 years ago
Evented I/O for V8 javascript.
To build:
Prerequisites (Unix only):
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)
Unix/Macintosh:
./configure
make
make install
If your python binary is in a non-standard location or has a
non-standard name, run the following instead:
export PYTHON=/path/to/python
$PYTHON ./configure
make
make install
Windows:
vcbuild.bat
To run the tests:
Unix/Macintosh:
make test
Windows:
vcbuild.bat test
To build the documentation:
make doc
To read the documentation:
man doc/node.1
Resources for Newcomers