Merge remote-tracking branch 'origin/v0.8'

Conflicts:
	configure
	deps/uv/src/unix/core.c
	deps/uv/test/test-fs-event.c
	src/node_version.h
pull/24504/head
Ben Noordhuis 2013-01-03 20:02:31 +01:00
commit a7d8c21bca
3 changed files with 324 additions and 0 deletions

145
CONTRIBUTING.md 100644
View File

@ -0,0 +1,145 @@
# CONTRIBUTING
The node.js project welcomes new contributors. This document will guide you
through the process.
### FORK
Fork the project [on GitHub](https://github.com/joyent/node) and check out
your copy.
```
$ git clone git@github.com:username/node.git
$ cd node
$ git remote add upstream git://github.com/joyent/node.git
```
Now decide if you want your feature or bug fix to go into the master branch
or the stable branch. As a rule of thumb, bug fixes go into the stable branch
while new features go into the master branch.
The stable branch is effectively frozen; patches that change the node.js
API/ABI or affect the run-time behavior of applications get rejected.
The rules for the master branch are less strict; consult the
[stability index page][] for details.
In a nutshell, modules are at varying levels of API stability. Bug fixes are
always welcome but API or behavioral changes to modules at stability level 3
and up are off-limits.
Node.js has several bundled dependencies in the deps/ directory that are not
part of the project proper. Any changes to files in that directory or its
subdirectories should be sent to their respective projects. Do not send
that patch to us, we cannot accept it.
In case of doubt, open an issue in the [issue tracker][], post your question
to the [node.js mailing list][] or contact one of the [project maintainers][]
on [IRC][].
Especially do so if you plan to work on something big. Nothing is more
frustrating than seeing your hard work go to waste because your vision
does not align with that of a project maintainer.
### BRANCH
Okay, so you have decided on the proper branch. Create a feature branch
and start hacking:
```
$ git checkout -b my-feature-branch -t origin/v0.8
```
(Where v0.8 is the latest stable branch as of this writing.)
### COMMIT
Make sure git knows your name and email address:
```
$ git config --global user.name "J. Random User"
$ git config --global user.email "j.random.user@example.com"
```
Writing good commit logs is important. A commit log should describe what
changed and why. Follow these guidelines when writing one:
1. The first line should be 50 characters or less and contain a short
description of the change.
2. Keep the second line blank.
3. Wrap all other lines at 72 columns.
A good commit log looks like this:
```
Header line: explaining the commit in one line
Body of commit message is a few lines of text, explaining things
in more detail, possibly giving some background about the issue
being fixed, etc etc.
The body of the commit message can be several paragraphs, and
please do proper word-wrap and keep columns shorter than about
72 characters or so. That way `git log` will show things
nicely even when it is indented.
```
The header line should be meaningful; it is what other people see when they
run `git shortlog` or `git log --oneline`.
Have a look at `git log` for inspiration.
### REBASE
Use `git rebase` (not `git merge`) to sync your work from time to time.
```
$ git fetch upstream
$ git rebase upstream/v0.8 # or upstream/master
```
### TEST
Bug fixes and features should come with tests. Add your tests in the
test/simple/ directory. Look at other tests to see how they should be
structured (license boilerplate, common includes, etc.).
```
$ make jslint test
```
Make sure the linter is happy and that all tests pass. Please, do not submit
patches that fail either check.
### PUSH
```
$ git push origin my-feature-branch
```
Go to https://github.com/username/node and select your feature branch. Click
the 'Pull Request' button and fill out the form.
Pull requests are usually reviewed within a few days. If there are comments
to address, apply your changes in a separate commit and push that to your
feature branch. Post a comment in the pull request afterwards; GitHub does
not send out notifications when you add commits.
### CONTRIBUTOR LICENSE AGREEMENT
Please visit http://nodejs.org/cla.html and sign the Contributor License
Agreement. You only need to do that once.
[stability index page]: https://github.com/joyent/node/blob/master/doc/api/documentation.markdown
[issue tracker]: https://github.com/joyent/node/issues
[node.js mailing list]: http://groups.google.com/group/nodejs
[IRC]: http://webchat.freenode.net/?channels=node.js
[project maintainers]: https://github.com/joyent/node/wiki/Project-Organization

View File

@ -0,0 +1,97 @@
date: Fri Dec 21 12:30:15 PST 2012
version: 0.9.4
category: release
slug: node-v0-9-4-unstable
title: Node v0.9.4 (Unstable)
2012.12.21, Version 0.9.4 (Unstable)
* streams: Update all streaming interfaces to use new classes (isaacs)
* node: remove idle gc (Ben Noordhuis)
* http: protect against response splitting attacks (Bert Belder)
* fs: Raise error when null bytes detected in paths (isaacs)
* fs: fix 'object is not a function' callback errors (Ben Noordhuis)
* fs: add autoClose=true option to fs.createReadStream (Farid Neshat)
* process: add getgroups(), setgroups(), initgroups() (Ben Noordhuis)
* openssl: optimized asm code on x86 and x64 (Bert Belder)
* crypto: fix leak in GetPeerCertificate (Fedor Indutny)
* add systemtap support (Jan Wynholds)
* windows: add ETW and PerfCounters support (Scott Blomquist)
* windows: fix normalization of UNC paths (Bert Belder)
* crypto: fix ssl error handling (Sergey Kholodilov)
* node: remove eio-emul.h (Ben Noordhuis)
* os: add os.endianness() function (Nathan Rajlich)
* readline: don't emit "line" events with a trailing 'n' char (Nathan Rajlich)
* build: add configure option to generate xcode build files (Timothy J Fontaine)
* build: allow linking against system libuv, cares, http_parser (Stephen Gallagher)
* typed arrays: add slice() support to ArrayBuffer (Anthony Pesch)
* debugger: exit and kill child on SIGTERM or SIGHUP (Fedor Indutny)
* url: url.format escapes delimiters in path and query (J. Lee Coltrane)
Source Code: http://nodejs.org/dist/v0.9.4/node-v0.9.4.tar.gz
Macintosh Installer (Universal): http://nodejs.org/dist/v0.9.4/node-v0.9.4.pkg
Windows Installer: http://nodejs.org/dist/v0.9.4/node-v0.9.4-x86.msi
Windows x64 Installer: http://nodejs.org/dist/v0.9.4/x64/node-v0.9.4-x64.msi
Windows x64 Files: http://nodejs.org/dist/v0.9.4/x64/
Linux 32-bit Binary: http://nodejs.org/dist/v0.9.4/node-v0.9.4-linux-x86.tar.gz
Linux 64-bit Binary: http://nodejs.org/dist/v0.9.4/node-v0.9.4-linux-x64.tar.gz
Solaris 32-bit Binary: http://nodejs.org/dist/v0.9.4/node-v0.9.4-sunos-x86.tar.gz
Solaris 64-bit Binary: http://nodejs.org/dist/v0.9.4/node-v0.9.4-sunos-x64.tar.gz
Other release files: http://nodejs.org/dist/v0.9.4/
Website: http://nodejs.org/docs/v0.9.4/
Documentation: http://nodejs.org/docs/v0.9.4/api/
Shasums:
```
7919d5fa63583c9a38a8ade1e977809b53476f7f node-v0.9.4-darwin-x64.tar.gz
82eb2f39c61b14be8a9d2c1b6ba624030ab3ddbe node-v0.9.4-darwin-x86.tar.gz
34cd2f6bed15d4d7d28944575b7098f4500651e2 node-v0.9.4-linux-x64.tar.gz
bf5da5432a5d80343e1d53c57b242283be11c97f node-v0.9.4-linux-x86.tar.gz
6eebcf27a545d598c0ffa8056d7d5c83add5746c node-v0.9.4-sunos-x64.tar.gz
1c2e28389b34a0e51f5ad2a1c09677f2941765b1 node-v0.9.4-sunos-x86.tar.gz
4d7b4dfd150f17dac787400e74fc469b3432f3a2 node-v0.9.4-x86.msi
20ceaafeb6d4ecf5d2f37d3d825d47cc81927dd6 node-v0.9.4.pkg
30b3f8dee0b2ace3d83c200eeffc6f450d3b4366 node-v0.9.4.tar.gz
a5b4304f4a50ac3385577f7833890ca6f44301c0 node.exe
5b960053a6bddfd10cf6408ea1581b7237512248 node.exp
f1aaac71a21e7a0c884211957e5d79bed1deb1d3 node.lib
73016ab15ee7ee6f6363391d3e41a698ed764e65 node.pdb
5a624fc9a5dac85a6f00945ccc2d31d9b8a51499 x64/node-v0.9.4-x64.msi
fe738e969f9b050b7b1675ecf3cda567021e121b x64/node.exe
d32c7ea441ad0d24cd2fd2b4932d2924a95f25ec x64/node.exp
753f7fadc501a1b86d94af23710137f6e93c5cff x64/node.lib
a707ef46e6483f40a30c85c037eeadbf9e5923b8 x64/node.pdb
```

View File

@ -0,0 +1,82 @@
category: release
version: 0.9.5
date: Sun Dec 30 01:19:51 UTC 2012
slug: node-v0-9-5-unstable
title: Node v0.9.5 (Unstable)
2012.12.30, Version 0.9.5 (Unstable)
* assert: improve support for new execution contexts (lukebayes)
* domain: use camelCase instead of snake_case (isaacs)
* domain: Do not use uncaughtException handler (isaacs)
* fs: make 'end' work with ReadStream without 'start' (Ben Noordhuis)
* https: optimize createConnection() (Ryunosuke SATO)
* buffer: speed up base64 encoding by 20% (Ben Noordhuis)
* doc: Colorize API stabilitity index headers in docs (Luke Arduini)
* net: socket.readyState corrections (bentaber)
* http: Performance enhancements for http under streams2 (isaacs)
* stream: fix to emit end event on http.ClientResponse (Shigeki Ohtsu)
* stream: fix event handler leak in readstream pipe and unpipe (Andreas Madsen)
* build: Support ./configure --tag switch (Maciej Małecki)
* repl: don't touch `require.cache` (Nathan Rajlich)
* node: Emit 'exit' event when exiting for an uncaught exception (isaacs)
Source Code: http://nodejs.org/dist/v0.9.5/node-v0.9.5.tar.gz
Macintosh Installer (Universal): http://nodejs.org/dist/v0.9.5/node-v0.9.5.pkg
Windows Installer: http://nodejs.org/dist/v0.9.5/node-v0.9.5-x86.msi
Windows x64 Installer: http://nodejs.org/dist/v0.9.5/x64/node-v0.9.5-x64.msi
Windows x64 Files: http://nodejs.org/dist/v0.9.5/x64/
Linux 32-bit Binary: http://nodejs.org/dist/v0.9.5/node-v0.9.5-linux-x86.tar.gz
Linux 64-bit Binary: http://nodejs.org/dist/v0.9.5/node-v0.9.5-linux-x64.tar.gz
Solaris 32-bit Binary: http://nodejs.org/dist/v0.9.5/node-v0.9.5-sunos-x86.tar.gz
Solaris 64-bit Binary: http://nodejs.org/dist/v0.9.5/node-v0.9.5-sunos-x64.tar.gz
Other release files: http://nodejs.org/dist/v0.9.5/
Website: http://nodejs.org/docs/v0.9.5/
Documentation: http://nodejs.org/docs/v0.9.5/api/
Shasums:
```
d44535e086c3f0fe47152b9323189c18a488d995 node-v0.9.5-darwin-x64.tar.gz
b588332e38e3ddd0424b18d14a3c6c65c5cad6f6 node-v0.9.5-darwin-x86.tar.gz
17b07641b59bc56582e68db6bd52c1b41bb06a5e node-v0.9.5-linux-x64.tar.gz
89656e3dc094a6fa4244a03ac85e9b08b7443a50 node-v0.9.5-linux-x86.tar.gz
bf84b80ea80b4cb20767d4b3f276979f0f3d8866 node-v0.9.5-sunos-x64.tar.gz
4f98560e55db63f323b6f75b22538d96b199892c node-v0.9.5-sunos-x86.tar.gz
7ed38be34e5377f45e8906c4d887de262c1925e2 node-v0.9.5-x86.msi
a1f1322fcaa5535ae830f3242bcdd213388357cc node-v0.9.5.tar.gz
94c22b744945e9bc8b3f9fd31991cb6b87f727ce node.exe
e809779c8071abf05650fbb47e207140829dc62c node.exp
cec09944297546185070c809a78931839e3c2695 node.lib
5a3a4f3de4b8bf4209ecc2e6d40418d6a7e8fcac node.pdb
55c986c14a72081757002f8df43272b20f024c57 x64/node-v0.9.5-x64.msi
55514dd925a9b24cb3925f89facbec5efb2a99aa x64/node.exe
920e2d3319eac8a3356023a1cb8c61f139f80398 x64/node.exp
e072006328dacce920e4951596e457e58e6310d0 x64/node.lib
633816d865155148129ca21399e411f1240b2cce x64/node.pdb
```