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

doc: more use-cases for promise events #979

Closed
wants to merge 975 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
975 commits
Select commit Hold shift + click to select a range
cdfa271
doc: update AUTHORS list
rvagg Aug 31, 2015
7ee58be
crypto: replace rwlocks with simple mutexes
bnoordhuis Sep 7, 2015
3bc7e58
child_process: use stdio.fd even if it is 0
evanlucas Sep 7, 2015
278a926
src: s/ia32/x86 for process.release.libUrl for win
rvagg Sep 5, 2015
b8341e8
deps: float node-gyp v3.0.0
rvagg Sep 5, 2015
154d3f5
build: remote commands on staging in single session
rvagg Sep 7, 2015
c7be08c
cluster: allow shared reused dgram sockets
indutny Aug 25, 2015
31450fc
deps: improve ArrayBuffer performance in v8
indutny Sep 8, 2015
22097a2
node-gyp: float 3.0.1, minor fix for download url
rvagg Sep 8, 2015
297b9ae
build: fix v8_enable_handle_zapping override
skomski Sep 7, 2015
8f87169
doc: fix comma splice in Assertion Testing doc
Trott Sep 7, 2015
380a3d8
2015-09-08, Version 4.0.0 (Stable) Release
rvagg Sep 7, 2015
f8152df
test: expect error for test_lookup_ipv6_hint on FreeBSD
Trott Sep 7, 2015
f442904
doc: describe process API for IPC
sam-github Jun 15, 2015
81a0c0b
win,msi: fix documentation shortcut url
mscdex Sep 10, 2015
d2f70fe
doc: use 3rd person singular for consistency
agcolom Sep 9, 2015
a6d674d
bindings: close after reading module struct
indutny Sep 10, 2015
acb6779
deps: cherry-pick 6da51b4 from v8's upstream
indutny Sep 10, 2015
e1fb0e8
doc: use US English for consistency
agcolom Sep 9, 2015
a1949e8
test: remove valid hostname check in test-dns.js
Trott Sep 9, 2015
958a94e
doc: use "Calls" over "Executes" for consistency
JungMinu Sep 10, 2015
68dc69a
deps: update libuv to version 1.7.4
saghul Sep 11, 2015
8e14135
src: fix v8::CpuProfiler idle sampling
Aug 7, 2015
de05175
tools: remove hyphen in TAP result
thefourtheye Sep 7, 2015
bcc6d47
test: increase dgram timeout for armv6
Trott Sep 11, 2015
a787f72
test: split up internet dns tests
Trott Sep 9, 2015
abb2a4b
doc: fixed io.js references in process.markdown
tflanagan Sep 13, 2015
892bf65
doc: fix two doc errors in stream and process
Fishrock123 Aug 25, 2015
999d25b
test: remove disabled test
Trott Sep 12, 2015
414e407
src: use ZCtxt as a source for v8::Isolates
romankl Aug 25, 2015
5579e85
doc: add tunniclm as a collaborator
tunniclm Sep 11, 2015
7f5d6c9
doc: fix typos in README
IonicaBizau Sep 14, 2015
a85f4b5
doc: fix broken link in repl.markdown
DannyNemer Sep 12, 2015
fed0b28
tools: fix flakiness in test-tick-processor
Sep 4, 2015
40ec84d
tools: add missing tick processor polyfill
Sep 4, 2015
05d30d5
fs: implemented WriteStream#writev
Jul 28, 2015
1f842c2
fs: consider NaN/Infinity in toUnixTimestamp
yorkie Aug 15, 2015
3bba619
deps: upgrade to npm 2.14.3
zkat Sep 11, 2015
3351305
deps: upgraded to node-gyp@3.0.3 in npm
zkat Sep 11, 2015
7ec0491
http_server: fix resume after socket close
indutny Sep 11, 2015
c70c778
streams: refactor LazyTransform to internal/
brendanashworth Aug 26, 2015
91e7e9c
tools: open `test.tap` file in write-binary mode
thefourtheye Sep 12, 2015
467eff2
build: clean up the generated tap file
thefourtheye Sep 12, 2015
845acb4
tools: enable arrow functions in .eslintrc
thefourtheye Sep 12, 2015
b981364
2015-09-15 io.js v3.3.1 Release
rvagg Sep 5, 2015
52f84ad
test: fix default value for additional param
thefourtheye Aug 26, 2015
704dcce
deps: upgrade V8 to 4.5.103.33
ofrobots Sep 15, 2015
2a17c7f
build: Updates to enable AIX support
mhdawson Aug 12, 2015
360d0fa
doc: add missing backtick in buffer.markdown
joepie91 Sep 15, 2015
942da88
doc: rename from iojs(1) to node(1) in benchmarks
vaseker Sep 15, 2015
7d927ab
tsc: adjust TSC membership for IBM+StrongLoop
jasnell Sep 14, 2015
e7a3ca3
src: use subarray() in Buffer#slice() for speedup
skomski Sep 9, 2015
7d79412
http: default Agent.getName to 'localhost'
ahoym Sep 11, 2015
74178a5
buffer: construct Uint8Array in JS
trevnorris Sep 14, 2015
16f86d6
buffer: always allocate typed arrays outside heap
trevnorris Sep 16, 2015
94e663a
timer: ref/unref return self
sam-github Sep 13, 2015
a12628b
doc: describe spawn option.detached
sam-github Sep 13, 2015
e148dcc
doc: correct buffer.slice arg syntax
sam-github Sep 13, 2015
6cb9e8a
doc: remove incorrect reference to TCP in net docs
sam-github Sep 13, 2015
3b78b85
src: null env_ field from constructor
trevnorris Sep 16, 2015
71c53b6
test: fix Buffer OOM error message
trevnorris Sep 16, 2015
43cb1dd
doc: process exit event is not guaranteed to fire
Trott Sep 14, 2015
9aa6a43
test: use tmp directory in chdir test
thefourtheye Aug 28, 2015
5f6579d
buffer: remove raw & raws encoding
thefourtheye Sep 14, 2015
2b8a06b
deps: backport 0d01728 from v8's upstream
indutny Sep 16, 2015
d7da617
deps: backport 6d32be2 from v8's upstream
targos Sep 16, 2015
e4f2952
2015-09-17, Version 4.1.0 (Stable) Release
Fishrock123 Sep 15, 2015
1cfee8e
test: update cwd-enoent tests for AIX
Sep 16, 2015
2853f98
test: make cluster tests more time tolerant
mhdawson Sep 15, 2015
1fa0cb8
build: fix icutrim when building small-icu on BE
Aug 28, 2015
870229e
src: Add ABORT macro
evanlucas Sep 16, 2015
921f2de
src: honor --abort_on_uncaught_exception flag
evanlucas Sep 16, 2015
4dcf24c
doc: refine process.kill() and exit explanations
Trott Sep 16, 2015
e0c3d2a
tools: single, cross-platform tick processor
Sep 14, 2015
0a329d2
buffer: don't set zero fill for zero-length buffer
trevnorris Sep 17, 2015
e29e470
readline: fix tab completion bug
mtharrison Sep 11, 2015
4144cb0
test: add test-spawn-cmd-named-pipe
orangemocha Sep 9, 2015
a9ad31f
test: test more http response splitting scenarios
bnoordhuis Sep 18, 2015
e68a119
http: guard against response splitting in trailers
bnoordhuis Sep 18, 2015
4fb4c14
doc: clarify description of assert.ifError()
Trott Sep 18, 2015
229a03f
http_parser: do not dealloc during kOnExecute
indutny Sep 18, 2015
61d48b4
test: use tmpDir instead of fixtures in readdir
thefourtheye Aug 28, 2015
57c4432
deps: upgrade to npm 2.14.4
zkat Sep 18, 2015
2c09a53
deps: upgraded to node-gyp@3.0.3 in npm
zkat Sep 19, 2015
4e028bd
deps: backport ff7d70b from V8's upstream
Sep 20, 2015
571a517
test: test sync version of mkdir & rmdir
thefourtheye Aug 28, 2015
5819d7a
configure: detect mipsel host
kapouer Sep 20, 2015
451acc7
doc: remove extra using v8::HandleScope statement
Sep 21, 2015
75fe773
deps: backport 357e6b9 from V8's upstream
Sep 21, 2015
fcfd87d
repl: backslash bug fix
thefourtheye Sep 20, 2015
79d2c4e
http: remove redundant code in _deferToConnect
ahoym Sep 9, 2015
ccea33d
repl: don't use tty control codes when $TERM is set to "dumb"
saljam Sep 5, 2015
7953c83
doc: remove usage of events.EventEmitter
thefourtheye Sep 16, 2015
f32a606
lib,src: remove usage of events.EventEmitter
thefourtheye Sep 16, 2015
4a6f1fe
2015-09-22, Version 4.1.1 (Stable) Release
rvagg Sep 22, 2015
5ac5419
doc: switch LICENSE from closure-linter to eslint
pmq20 Sep 23, 2015
ffdbe9d
doc: fix typos in cluster & errors
reggi Sep 22, 2015
d0d4877
build: fix some typos inside the configure script
pmq20 Sep 23, 2015
28da400
doc: make execFileSync in line with execFile
lfortin Sep 18, 2015
2d21092
doc: rearrange execSync and execFileSync
lfortin Sep 22, 2015
76c80d4
build: iojs -> nodejs of release-urlbase
pmq20 Sep 23, 2015
79ebeab
docs: Clarify assert.doesNotThrow behavior
foliveira Sep 11, 2015
02448c6
doc: jenkins-iojs.nodesource.com -> ci.nodejs.org
mgol Sep 15, 2015
c22bcd3
deps: backport c281c15 from V8's upstream
Sep 23, 2015
6ac79bc
deps: remove and gitignore .bin directory
bnoordhuis Sep 22, 2015
36b969f
child_process: `null` channel handle on close
indutny Sep 24, 2015
6df47d6
crypto: add more keylen sanity checks in pbkdf2
Sep 23, 2015
af881ad
src: fix function and variable names in comments
thefourtheye Sep 24, 2015
1b78151
src: include signal.h in util.h
zcbenz Sep 25, 2015
b50e89e
path: improve posixSplitPath performance
evanlucas Sep 23, 2015
6192c98
http: add checkIsHttpToken check for header fields
jasnell Aug 24, 2015
590ee58
src: internalize per-isolate string properties
bnoordhuis Sep 25, 2015
212c9c0
src: internalize binding function property names
bnoordhuis Sep 25, 2015
24fe112
dns: add missing exports.BADNAME
silverwind Sep 26, 2015
680dda8
dns: remove nonexistant exports.ADNAME
silverwind Sep 27, 2015
44efd66
test: replace deprecated util.debug() calls
Trott Sep 26, 2015
306936e
test: change calls to deprecated util.print()
Trott Sep 26, 2015
20dae2a
smalloc: remove module
brendanashworth Sep 28, 2015
30b8bb0
src: add process.versions.icu
evanlucas Sep 27, 2015
f1d27d2
benchmark: update comment in common.js
JungMinu Oct 5, 2014
0e4b772
doc: copyedit fs.watch() information
Trott Sep 28, 2015
dd8b267
doc: add TSC meeting minutes 2015-09-16
rvagg Sep 23, 2015
3f62c40
i18n: add caller to removal list for bidi in ICU55
mhdawson Sep 29, 2015
9a1bc4e
util: optimize promise introspection
bnoordhuis Sep 30, 2015
dbe4844
deps: backport f782159 from v8's upstream
bnoordhuis Sep 30, 2015
c273944
deps: upgrade V8 to 4.5.103.35
ofrobots Sep 29, 2015
d32363f
doc: fix outdated 'try/catch' statement in sync
JungMinu Sep 27, 2015
a6aab43
build,win: fix node.exe resource version
joaocgreis Sep 23, 2015
07a43eb
deps: upgrade libuv to 1.7.5
saghul Sep 22, 2015
e83499a
contextify: use CHECK instead of `if`
obastemur Sep 30, 2015
e52864b
async_wrap: update providers and add test
trevnorris Sep 29, 2015
3f476ad
async_wrap: ensure all objects have internal field
trevnorris Sep 30, 2015
6be2a59
test: fix invalid variable name
thefourtheye Oct 1, 2015
9bd26e7
crypto: enable FIPS only when configured with it
indutny Oct 1, 2015
02fe821
test: load common.js to test for global leaks
Trott Sep 27, 2015
87e820e
fs: include filename in watch errors
Sep 30, 2015
5bbc6df
test: change call to deprecated util.isError()
Trott Sep 26, 2015
2e6ece4
node: add -c|--check CLI arg to syntax check script
bahamas10 Aug 17, 2015
6fff47f
deps: backport 03ef3cd from V8 upstream
ofrobots Oct 3, 2015
342c3a1
test: remove arguments.callee usage
silverwind Oct 3, 2015
0504066
http: fix out-of-order 'finish' bug in pipelining
indutny Sep 26, 2015
b3d9678
http_server: pause socket properly
indutny Oct 3, 2015
a4fa51c
stream_wrap: support empty `TryWrite`s
indutny Oct 3, 2015
820735d
2015-10-05, Version 4.1.2 (Stable) Release
rvagg Sep 30, 2015
59cb053
http: add comment about `outputSize` in res/server
indutny Oct 5, 2015
8593b3e
module: use UNC paths when loading native addons
Sep 19, 2015
49dec1a
deps: backport 1ee712a from V8 upstream
Oct 5, 2015
77a10ed
src: fix --abort-on-uncaught-exception
whitlockjc Oct 5, 2015
089d688
util: fix check for Array constructor
evanlucas Oct 5, 2015
8853388
util: correctly inspect Map/Set Iterators
evanlucas Sep 29, 2015
6ad458b
module: remove unnecessary property and method
thefourtheye Sep 16, 2015
070aac4
lib: remove redundant code, add tests in timers.js
Trott Oct 1, 2015
81e98e9
test: use normalize() for unicode paths
silverwind Sep 22, 2015
7d66749
test: speed up stringbytes-external test
evanlucas Sep 22, 2015
d25e34b
doc: fix README.md link to joyent/node intl wiki
srl295 Oct 6, 2015
aa97ae7
build: intl: avoid 'duplicate main()' on ICU 56
srl295 Sep 25, 2015
87d2615
tools: remove unused gflags module
bnoordhuis Oct 6, 2015
a1bda1b
util: fix for inspecting promises
evanlucas Oct 6, 2015
8a685e7
buffer: clean up usage of __proto__
trevnorris Sep 26, 2015
05d424c
buffer: only check if instance is Uint8Array
trevnorris Sep 26, 2015
0094a8d
http: add callback is function check
jasnell Sep 27, 2015
e655a43
http: do not allow multiple instances of certain response headers
jasnell Sep 27, 2015
dbce29a
tools: apply linting to custom rules code
Trott Oct 5, 2015
c78091d
test: load common.js in all tests
Trott Oct 2, 2015
3de353b
test: make common.js mandatory via linting rule
Trott Oct 2, 2015
d1f2404
buffer: FreeCallback should be tied to ArrayBuffer
indutny Oct 6, 2015
184f09d
http: cork/uncork before flushing pipelined res
indutny Oct 4, 2015
20b68e5
doc: fix spelling in Buffer documentation
rodmachen Oct 6, 2015
66c9c61
tools: remove leftover license boilerplate
TooTallNate Oct 6, 2015
f5a3f44
doc: standardize references to userland
MJefferson Oct 5, 2015
6f63a4a
test: linting for buffer-free-callback test
Trott Oct 7, 2015
0116da1
doc: update AUTHORS list
rvagg Oct 6, 2015
10924ce
test: report timeout in TapReporter
skomski Sep 2, 2015
a334ddc
Revert "deps: backport 03ef3cd from V8 upstream"
ofrobots Oct 7, 2015
099cfbc
test: remove deprecated error logging
Trott Sep 26, 2015
17665af
build: add --with-arm-fpu option
kapouer Sep 18, 2015
07a8419
doc: add TLS session resumption example
silverwind Oct 6, 2015
aeee956
async_wrap: correctly pass parent to init callback
trevnorris Oct 2, 2015
a18dd7b
src: replace naive search in Buffer::IndexOf
skomski Sep 3, 2015
35cdded
doc: add help repo link to CONTRIBUTING.md
dougshamoo Oct 7, 2015
a214905
build: make icu download path customizable
jbergstroem Oct 6, 2015
a9d42e0
test: fix losing original env vars issue
Oct 6, 2015
ccaaae9
src: fix u-a-free if uv returns err in ASYNC_CALL
skomski Sep 24, 2015
ded4f91
assert: support arrow functions in .throws()
bnoordhuis Oct 8, 2015
178ac33
js_stream: prevent abort if isalive doesn't exist
trevnorris Oct 8, 2015
8aa589c
test: Fix test-fs-read-stream-fd-leak race cond
Oct 6, 2015
01908d0
build: Intl: deps: bump ICU to 56.1 (GA)
srl295 Oct 7, 2015
47befff
lib,test: deprecate _linklist
Trott Sep 26, 2015
a1040f2
test: refresh temp directory when using pipe
Trott Oct 7, 2015
72c8a74
test: remove common.inspect()
Trott Oct 8, 2015
70c78c9
doc: add method links in dns.markdown
a0viedo Oct 6, 2015
2146f62
doc: add method links in child_process.markdown
a0viedo Oct 5, 2015
048c8f2
doc: Amend capitalization of word JavaScript
dhodder Oct 8, 2015
775c01e
doc: recommend Infinity on emitter.setMaxListeners
jasonkarns May 8, 2015
e97dae5
buffer: don't abort on prototype getters
trevnorris Oct 9, 2015
ead5cd9
test: test `util` rather than `common`
Trott Oct 8, 2015
aff3acf
deps: upgrade to npm 2.14.7
zkat Oct 9, 2015
9148114
src: convert BE-utf16-string to LE before search
skomski Oct 9, 2015
b9279aa
doc: remove old note, 'cluster' is marked stable
gblazex Oct 10, 2015
31c971d
test: parallelize long-running test
Trott Oct 8, 2015
0474bf5
doc: replace node-gyp link with nodejs/node-gyp
romankl Oct 11, 2015
3ef2e4a
doc: fix typos in changelog
reggi Oct 9, 2015
8e21309
doc: update the assert module summary
daveboivin Sep 10, 2015
6899094
stream: avoid pause with unpipe in buffered write
mscdex Oct 11, 2015
3202456
test: remove util properties from common
Trott Oct 9, 2015
a713024
net: don't throw on bytesWritten access
trevnorris Oct 9, 2015
51325c0
tls: use parent handle's close callback
indutny Sep 21, 2015
47db247
2015-10-12, Version 4.2.0 'Argon' (LTS) Release
jasnell Oct 8, 2015
bde32f8
lib: fix undefined timeout regression
rmg Oct 12, 2015
7d94611
test: split up buffer tests for reliability
Trott Oct 12, 2015
931118c
buffer: fix assertion error in WeakCallback
indutny Oct 12, 2015
6f14b3a
test: remove util from common
Trott Oct 12, 2015
ff877e9
src: fix stuck debugger process
viirya Sep 9, 2015
4bc9d97
doc: label v4.2.0 as LTS in changelog heading
rvagg Oct 13, 2015
0a7076b
2015-10-13, Version 4.2.1 'Argon' (LTS) Release
jasnell Oct 13, 2015
2d35607
src: fix exception message encoding on Windows
mscdex Oct 13, 2015
e3d9d25
test: add test-child-process-emfile fail message
Trott Oct 13, 2015
81503e5
doc: fix typo in changelog
TimothyGu Oct 13, 2015
85b74de
stream: fix signature of _write() in a comment
fabiosantoscode Oct 7, 2015
f45c315
test: fix domain with abort-on-uncaught on PPC
Oct 14, 2015
ab03635
http: fix stalled pipeline bug
indutny Oct 13, 2015
6c032a8
test: replace util with backtick strings
Oct 13, 2015
a441aa6
doc: update WORKING_GROUPS.md to include Intl
srl295 Oct 7, 2015
d1a2e53
gitignore: don't ignore debug source directory in V8
targos Oct 5, 2015
d8011d1
deps: upgrade V8 to 4.6.85.23
targos Oct 6, 2015
7fb128d
deps: cherry-pick backports to V8
targos Sep 25, 2015
4fc6388
doc: update V8 options in man page
targos Sep 25, 2015
bbdbef9
test: fix tests after V8 upgrade
targos Sep 4, 2015
5cd1fd8
deps: backport 56a0a79 from V8 upstream
Sep 25, 2015
1fdec65
deps: improve ArrayBuffer performance in v8
indutny Sep 8, 2015
972a0c8
deps: backport 0d01728 from v8's upstream
indutny Sep 16, 2015
770cd22
deps: upgrade V8 to 4.6.85.25
ofrobots Oct 12, 2015
8854183
stream: avoid unnecessary concat of a single buffer.
calvinmetcalf Oct 9, 2015
dae9fae
doc: label v4.2.1 as LTS in changelog heading
phillipj Oct 14, 2015
503f279
doc: fix indent in tls resumption example
silverwind Oct 14, 2015
6d92eba
tls: add TLSSocket.getEphemeralKeyInfo()
May 22, 2015
f72e178
tls: add minDHSize option to tls.connect()
May 22, 2015
0140e1b
tls: output warning of setDHParam to console.trace
May 22, 2015
676e618
test: apply correct assert.fail() arguments
Trott Oct 15, 2015
b52142f
Working on 6.0.0
rvagg Oct 16, 2015
642928b
test: port domains regression test from v0.10
dohse Oct 14, 2015
419f7d4
console: sub-millisecond accuracy for console.time
targos Oct 7, 2015
fc72a57
doc: reword description of console.time
targos Oct 7, 2015
8c043c1
console: rename argument of time and timeEnd
targos Oct 8, 2015
0f99320
test: add Symbol test for assert.deepEqual()
Trott Oct 12, 2015
0803962
fs: add file descriptor support to *File() funcs
jwueller Oct 3, 2015
d8db757
tls: add `options` argument to createSecurePair
socketpair May 5, 2015
286ef1d
test: cleanup, improve repl-persistent-history
Fishrock123 Oct 7, 2015
73b7e05
repl: limit persistent history correctly on load
Fishrock123 Oct 7, 2015
d39c1cf
doc: more use-cases for promise events
domenic Feb 26, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
lib/punycode.js
test/addons/doc-*/
test/fixtures
test/**/node_modules
test/disabled
test/tmp*/
107 changes: 107 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
env:
node: true

# enable ECMAScript features
ecmaFeatures:
arrowFunctions: true
binaryLiterals: true
blockBindings: true
classes: true
forOf: true
generators: true
objectLiteralShorthandMethods: true
objectLiteralShorthandProperties: true
octalLiterals: true
templateStrings: true

rules:
# Possible Errors
# list: https://github.com/eslint/eslint/tree/master/docs/rules#possible-errors
## check debugger sentence
no-debugger: 2
## check duplicate arguments
no-dupe-args: 2
## check duplicate object keys
no-dupe-keys: 2
## check duplicate switch-case
no-duplicate-case: 2
## disallow assignment of exceptional params
no-ex-assign: 2
## disallow use of reserved words as keys like enum, class
no-reserved-keys: 2
## disallow unreachable code
no-unreachable: 2
## require valid typeof compared string like typeof foo === 'strnig'
valid-typeof: 2

# Best Practices
# list: https://github.com/eslint/eslint/tree/master/docs/rules#best-practices
## require falls through comment on switch-case
no-fallthrough: 2

# Stylistic Issues
# list: https://github.com/eslint/eslint/tree/master/docs/rules#stylistic-issues
## use single quote, we can use double quote when escape chars
quotes: [2, "single", "avoid-escape"]
## 2 space indentation
indent: [2, 2]
## add space after comma
comma-spacing: 2
## put semi-colon
semi: 2
## require spaces operator like var sum = 1 + 1;
space-infix-ops: 2
## require spaces return, throw, case
space-return-throw-case: 2
## no space before function, eg. 'function()'
space-before-function-paren: [2, "never"]
## require space before blocks, eg 'function() {'
space-before-blocks: [2, "always"]
## require parens for Constructor
new-parens: 2
## max 80 length
max-len: [2, 80, 2]
## max 2 consecutive empty lines
no-multiple-empty-lines: [2, {max: 2}]
## require newline at end of files
eol-last: 2
## no trailing spaces
no-trailing-spaces: 2
# require space after keywords, eg 'for (..)'
space-after-keywords: 2

# Strict Mode
# list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode
## 'use strict' on top
strict: [2, "global"]

# Variables
# list: https://github.com/eslint/eslint/tree/master/docs/rules#variables
## disallow use of undefined variables (globals)
no-undef: 2

# Custom rules in tools/eslint-rules
require-buffer: 2

# Global scoped method and vars
globals:
DTRACE_HTTP_CLIENT_REQUEST : false
LTTNG_HTTP_CLIENT_REQUEST : false
COUNTER_HTTP_CLIENT_REQUEST : false
DTRACE_HTTP_CLIENT_RESPONSE : false
LTTNG_HTTP_CLIENT_RESPONSE : false
COUNTER_HTTP_CLIENT_RESPONSE : false
DTRACE_HTTP_SERVER_REQUEST : false
LTTNG_HTTP_SERVER_REQUEST : false
COUNTER_HTTP_SERVER_REQUEST : false
DTRACE_HTTP_SERVER_RESPONSE : false
LTTNG_HTTP_SERVER_RESPONSE : false
COUNTER_HTTP_SERVER_RESPONSE : false
DTRACE_NET_STREAM_END : false
LTTNG_NET_STREAM_END : false
COUNTER_NET_SERVER_CONNECTION_CLOSE : false
DTRACE_NET_SERVER_CONNECTION : false
LTTNG_NET_SERVER_CONNECTION : false
COUNTER_NET_SERVER_CONNECTION : false
escape : false
unescape : false
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ tmp/
test/tmp*/
iojs
iojs_g
node
node_g
*.swp
.benchmark_reports
/.project
Expand All @@ -22,6 +24,8 @@ icu_config.gypi

# various stuff that VC++ produces/uses
Debug/
!node_modules/debug/
!deps/v8/src/debug/
Release/
!doc/blog/**
*.sln
Expand Down Expand Up @@ -68,6 +72,9 @@ deps/openssl/openssl.xml
deps/openssl/openssl.target.mk
deps/zlib/zlib.target.mk

# not needed and causes issues for distro packagers
deps/npm/node_modules/.bin/

# build/release artifacts
/*.tar.*
/SHASUMS*.txt*
Expand All @@ -76,3 +83,7 @@ deps/zlib/zlib.target.mk
tools/faketime
icu_config.gypi
test.tap

# Xcode workspaces and project folders
*.xcodeproj
*.xcworkspace
15 changes: 14 additions & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Brandon Benvie <brandon@bbenvie.com> <brandon@brandonbenvie.com>
Brian White <mscdex@mscdex.net>
Brian White <mscdex@mscdex.net> <mscdex@gmail.com>
Chew Choon Keat <choonkeat@gmail.com>
Charles Rudolph <charles.rudolph@originate.com>
Colin Ihrig <cjihrig@gmail.com>
Christopher Lenz <cmlenz@gmail.com> <chris@lamech.local>
Daniel Berger <code+node@dpbis.net>
Expand Down Expand Up @@ -52,11 +53,13 @@ Igor Zinkovsky <igorzi@microsoft.com>
Isaac Z. Schlueter <i@izs.me>
Isaac Z. Schlueter <i@izs.me> <i@foohack.com>
Jake Verbaten <raynos2@gmail.com>
James Hartig <fastest963@gmail.com> <james.hartig@grooveshark.com>
Jered Schmidt <tr@nslator.jp>
Jeremiah Senkpiel <fishrock123@rocketmail.com>
Joe Shaw <joe@joeshaw.org> <joeshaw@litl.com>
Johan Bergström <bugs@bergstroem.nu>
Johan Dahlberg <jfd@distrop.com> <dahlberg.johan@gmail.com>
Johann Hofmann <git@johann-hofmann.com>
Jonas Pfenniger <jonas@pfenniger.name> <jonas@stvs.ch>
Jonathan Ong <jonathanrichardong@gmail.com> <jonathanong@users.noreply.github.com>
Jonathan Rentzsch <jwr.git@redshed.net>
Expand All @@ -65,6 +68,7 @@ Joshua S. Weinstein <josher19@users.sf.net>
Jérémy Lal <kapouer@melix.org>
Jérémy Lal <kapouer@melix.org> <holisme@gmail.com>
Kai Sasaki Lewuathe <sasaki_kai@lewuathe.sakura.ne.jp>
Karl Skomski <karl@skomski.com> <mail@skomski.com>
Kazuyuki Yamada <tasogare.pg@gmail.com>
Keith M Wesolowski <wesolows@joyent.com> <wesolows@foobazco.org>
Kelsey Breseman <ifoundthemeaningoflife@gmail.com>
Expand All @@ -75,7 +79,10 @@ Luke Bayes <lbayes@patternpark.com>
Maciej Małecki <maciej.malecki@notimplemented.org> <me@mmalecki.com>
Malte-Thorben Bruns <skenqbx@gmail.com>
Malte-Thorben Bruns <skenqbx@googlemail.com>
Marcin Cieślak <saper@marcincieslak.com>
Marcin Cieślak <saper@marcincieslak.com> <saper@saper.info>
Mathias Pettersson <mape@mape.me>
Matthew Lye <muddletoes@hotmail.com>
Michael Bernstein <michaelrbernstein@gmail.com>
Michael Wilber <gcr@sneakygcr.net>
Micheil Smith <micheil@brandedcode.com> <micheil@yettobebranded.net>
Expand All @@ -92,9 +99,12 @@ Ray Morgan <rmorgan@zappos.com>
Ray Solomon <raybsolomon@gmail.com>
Raymond Feng <enjoyjava@gmail.com> <raymond@strongloop.com>
Rick Olson <technoweenie@gmail.com>
Roman Klauke <romaaan.git@gmail.com> <romankl@users.noreply.github.com>
Roman Reiss <me@silverwind.io>
Ryan Dahl <ry@tinyclouds.org>
Ryan Emery <seebees@gmail.com>
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Sam Mikes <smikes@cubane.com>
Sam Shull <brickysam26@gmail.com> <brickysam26@samuel-shulls-computer.local>
Sam Shull <brickysam26@gmail.com> <sshull@squaremouth.com>
Sambasiva Suda <sambasivarao@gmail.com>
Expand All @@ -108,13 +118,15 @@ Siddharth Mahendraker <siddharth_mahen@hotmail.com> <siddharth_mahen@me.com>
Simon Willison <simon@simonwillison.net>
Stanislav Opichal <opichals@gmail.com>
Stefan Bühler <stbuehler@web.de>
Steven R. Loomis <srl@icu-project.org>
Steven R. Loomis <srl@icu-project.org> <srloomis@us.ibm.com>
Todd Kennedy <todd@selfassembled.org> <toddself@users.noreply.github.com>
TJ Holowaychuk <tj@vision-media.ca>
TJ Holowaychuk <tj@vision-media.ca> <tjholowayhuk@gmail.com>
Tadashi SAWADA <cesare@mayverse.jp>
Takahiro ANDO <takahiro.ando@gmail.com>
Ted Young <ted@radicaldesigns.org>
Thomas Lee <thomas.lee@shinetech.com> <tom@tom-debian.sensis.com.au>
Thomas Reggi <thomas@reggi.com>
Tim Caswell <tim@creationix.com> <tim@0-26-8-e9-4c-e1.dyn.utdallas.edu>
Tim Price <timprice@mangoraft.com>
Tim Smart <timehandgod@gmail.com> <tim@fostle.com>
Expand All @@ -129,6 +141,7 @@ Yazhong Liu <yorkiefixer@gmail.com> Yazhong Liu <l900422@vip.qq.com>
Yazhong Liu <yorkiefixer@gmail.com> Yorkie <l900422@vip.qq.com>
Yazhong Liu <yorkiefixer@gmail.com> Yorkie <yorkiefixer@gmail.com>
Yoshihiro KIKUCHI <yknetg@gmail.com>
Yosuke Furukawa <yosuke.furukawa@gmail.com> <furukawa.yosuke@dena.jp>
Yuichiro MASUI <masui@masuidrive.jp>
Zachary Scott <zachary@zacharyscott.net> <zachary.s.scott@gmail.com>
Zoran Tomicic <ztomicic@gmail.com>
Expand Down
72 changes: 69 additions & 3 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ Adam Malcontenti-Wilson <adman.com@gmail.com>
Avi Flax <avi@aviflax.com>
Pedro Teixeira <pedro.teixeira@gmail.com>
Johan Bergström <bugs@bergstroem.nu>
James Hartig <james.hartig@grooveshark.com>
James Hartig <fastest963@gmail.com>
Shannen Saez <shannenlaptop@gmail.com>
Seong-Rak Choi <ragiragi@hanmail.net>
Dave Irvine <davman99@gmail.com>
Expand Down Expand Up @@ -576,7 +576,7 @@ Rohini Harendra <rohini.raghav@gmail.com>
Chris Barber <chris@cb1inc.com>
Michael Kebe <michael.kebe@gmail.com>
Nick Muerdter <stuff@nickm.org>
Roman Klauke <romankl@users.noreply.github.com>
Roman Klauke <romaaan.git@gmail.com>
Xavi Magrinyà <xavi.mb89@gmail.com>
Euan <euank@euank.com>
Ed Morley <emorley@mozilla.com>
Expand Down Expand Up @@ -631,6 +631,7 @@ dead-horse <dead_horse@qq.com>
Luis Reis <luis.m.reis@gmail.com>
Jackson Tian <puling.tyq@alibaba-inc.com>
sudodoki <smd.deluzion@gmail.com>
Steven Loomis <srl@icu-project.org>
haoxin <coderhaoxin@outlook.com>
Artur Cistov <artchistov@gmail.com>
MK Safi <msafi@msafi.com>
Expand Down Expand Up @@ -688,7 +689,7 @@ Roman Reiss <me@silverwind.io>
Glen Keane <glenkeane.94@gmail.com>
Xiaowei Li <446240525@qq.com>
toastynerd <tylermorgan86@gmail.com>
Todd Kennedy <toddself@users.noreply.github.com>
Todd Kennedy <todd@selfassembled.org>
Icer Liang <wizicer@users.noreply.github.com>
Stephen Belanger <admin@stephenbelanger.com>
Jeremiah Senkpiel <fishrock123@rocketmail.com>
Expand Down Expand Up @@ -744,5 +745,70 @@ Giovanny Andres Gongora Granada <gioyik@gmail.com>
Jeffrey Jagoda <jeffrey.jagoda@gmail.com>
Kelsey Breseman <ifoundthemeaningoflife@gmail.com>
Peter Petrov <onestone@gmail.com>
Andrew Crites <acrites@mobiquityinc.com>
Marat Abdullin <dakota@brokenpipe.ru>
Dan Varga <dvarga@redhat.com>
Nick Raienko <enaqxx@gmail.com>
Guilherme Souza <sitegui@sitegui.com.br>
Chris Yip <i@chrisyip.im>
Christopher Monsanto <chris@monsan.to>
Alexander Gromnitsky <alexander.gromnitsky@gmail.com>
Сковорода Никита Андреевич <chalkerx@gmail.com>
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
AQNOUCH Mohammed <aqnouch.mohammed@gmail.com>
Ivan Kozik <ivan@ludios.org>
Oleg Elifantiev <oleg@elifantiev.ru>
Mike MacCana <mike@certsimple.com>
Josh Gummersall <gumby@moz.com>
Sam Mikes <smikes@cubane.com>
Frederic Hemberger <mail@frederic-hemberger.de>
Sharat M R <cosmosgenius@gmail.com>
Rich Trott <rtrott@gmail.com>
Felipe Batista <fsbatista1@gmail.com>
Rebecca Turner <me@re-becca.org>
Tyler Anton <mtyleranton@gmail.com>
João Reis <reis@janeasystems.com>
Kat Marchán <kzm@sykosomatic.org>
Ryan Petschek <petschekr@gmail.com>
Pierre Inglebert <pierre.inglebert@gmail.com>
Ivan Yan <yan.2314@gmail.com>
Sangmin Yoon <sangmin.yoon@croquis.com>
Mark Plomer <mark.plomer@boerse-go.de>
Phillip Johnsen <johphi@gmail.com>
Matteo Collina <hello@matteocollina.com>
jomo <github@jomo.tv>
Gireesh Punathil <gpunathi@in.ibm.com>
Lucien Greathouse <me@lpghatguy.com>
Chad Johnston <cjohnston@megatome.com>
Sam Stites <sam@stites.io>
Matthew Lye <muddletoes@hotmail.com>
Matt Loring <mattloring@google.com>
P.S.V.R <pmq2001@gmail.com>
Jacob Edelman <edelman.jd@gmail.com>
Mike Atkins <mike.atkins@lanetix.com>
hackerjs <4141095@qq.com>
Minwoo Jung <jmwsoft@gmail.com>
Marcin Cieślak <saper@marcincieslak.com>
Anne-Gaelle Colom <coloma@wmin.ac.uk>
Oleksandr Chekhovskyi <oleksandr.chekhovskyi@hansoft.com>
Tristian Flanagan <tflanagan@datacollaborative.com>
Mike Tunnicliffe <mike.tunnicliffe@uk.ibm.com>
Ionică Bizău <bizauionica@gmail.com>
Danny Nemer <DannyNemer@users.noreply.github.com>
Sven Slootweg <jamsoftgamedev@gmail.com>
Dmitry Vasilyev <vaseker@gmail.com>
Malcolm Ahoy <malcolmahoy@gmail.com>
Imran Iqbal <imrani@ca.ibm.com>
Stewart Addison <sxa@uk.ibm.com>
Matt Harrison <hi@matt-harrison.com>
Christopher J. Brody <brodybits@litehelpers.net>
Salman Aljammaz <s@0x65.net>
Thomas Reggi <thomas@reggi.com>
Laurent Fortin <laurent.fortin@gmail.com>
Fabio Oliveira <fabio.an.oliveira@gmail.com>
Michał Gołębiowski <m.goleb@gmail.com>
Johann Hofmann <git@johann-hofmann.com>
Charles Rudolph <charles.rudolph@originate.com>
Dave Eddy <dave@daveeddy.com>

# Generated by tools/update-authors.sh
2 changes: 1 addition & 1 deletion BSDmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FLAGS=${.MAKEFLAGS:C/\-J ([0-9]+,?)+//W}
all: .DEFAULT
.DEFAULT:
@which gmake > /dev/null 2>&1 ||\
(echo "GMake is required for io.js to build.\
(echo "GMake is required for node.js to build.\
Install and try again" && exit 1)
@gmake ${.FLAGS} ${.TARGETS}

Expand Down
Loading