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

streams: update .readable/.writable to false #1217

Closed
wants to merge 1,248 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1248 commits
Select commit Hold shift + click to select a range
0a0926e
doc: add TSC meeting minutes 2015-10-14
rvagg Oct 21, 2015
b354be7
lib: avoid REPL exit on completion error
Trott Oct 14, 2015
494227b
node: improve GetActiveRequests performance
trevnorris Oct 14, 2015
f5445db
tools: use absolute paths in test-npm
iarna Oct 10, 2015
ecab7a6
repl: event ordering: delay 'close' until 'flushHistory'
Fishrock123 Oct 7, 2015
349fbe9
tools: update test-npm to work with npm 3
iarna Oct 10, 2015
9b88864
tools: ensure npm always uses the local node
Fishrock123 Oct 22, 2015
41923c0
deps: upgrade npm to 3.3.6
iarna Oct 10, 2015
1cbc2d0
v8: pull fix for builtin code size on PPC
mhdawson Oct 21, 2015
e32aca6
doc: clarify API buffer.concat
Oct 8, 2015
68471dd
deps: fix upgrade to npm 3.3.6
iarna Oct 23, 2015
6456fcf
deps: update V8 to 4.6.85.28
targos Oct 22, 2015
15bcbf8
build: Updates for AIX npm support - part 1
mhdawson Sep 29, 2015
5f3fb1c
test: disable test-tick-processor - aix and be ppc
mhdawson Oct 22, 2015
3a091d2
test: add node::MakeCallback() test coverage
bnoordhuis Oct 21, 2015
594500f
buffer: don't CHECK on zero-sized realloc
bnoordhuis Oct 23, 2015
b620790
fs: pass err to callback if buffer is too big
evanlucas Oct 22, 2015
28e9a02
test: wrap assert.fail when passed to callback
Oct 20, 2015
f4c0ed4
test: print helpful err msg on test-dns-ipv6.js
Oct 23, 2015
57359cd
fs: don't throw in read if buffer too big
evanlucas Oct 23, 2015
df738ac
test: improve tests for util.inherits
targos Oct 24, 2015
802a2e7
tls, crypto: add ALPN Support
Apr 23, 2015
7eee372
tls,crypto: move NPN protcol data to hidden value
Oct 26, 2015
052611b
doc: add TSC meeting minutes 2015-10-21
rvagg Oct 22, 2015
3308e5e
buffer: fix value check for writeUInt{B,L}E
trevnorris Oct 23, 2015
437930c
http{s}: don't connect to localhost on invalid URL
thefourtheye Sep 20, 2015
29da8cf
util: make inherits work with classes
targos Oct 20, 2015
53e64bb
src: fix race condition in debug signal on exit
bnoordhuis Oct 26, 2015
c339fa3
fs: reduced duplicate code in fs.write()
Sep 18, 2015
da21dba
lib: fix cluster handle leak
Trott Oct 24, 2015
b0e7b36
tools: enable prefer-const eslint rule
thefourtheye Oct 8, 2015
aaf9b48
lib,test: update let to const where applicable
thefourtheye Oct 8, 2015
3223704
deps: backport 8d6a228 from the v8's upstream
indutny Oct 27, 2015
6cf1910
repl: handle comments properly
thefourtheye Oct 24, 2015
5d5a4c4
doc: createServer's key option can be an array
thefourtheye Sep 30, 2015
c9e682d
test: use port number from env in tls socket test
stefanmb Oct 28, 2015
81f6b54
deps: backport 010897c from V8 upstream
ofrobots Oct 26, 2015
d394e9e
doc: add LTS info to COLLABORATOR_GUIDE.md
Oct 19, 2015
26e47ef
test: split independent tests into separate files
Trott Oct 27, 2015
4139f2a
test: fix missing unistd.h on windows
Oct 26, 2015
9f96705
test: fix heap-profiler link error LNK1194 on win
Oct 28, 2015
cdcf00a
lib,doc: return boolean from child.send()
Trott Oct 25, 2015
6b0c906
tls: remove util and calls to util.format
Oct 20, 2015
57bce60
child_process: don't fork bomb ourselves from -e
bnoordhuis Oct 28, 2015
9b02442
Revert "src: fix stuck debugger process"
bnoordhuis Oct 29, 2015
810cc05
test: add regression test for --debug-brk -e 0
bnoordhuis Oct 29, 2015
08166cb
src: wrap source before doing syntax check
evanlucas Oct 29, 2015
837b174
2015-10-29, Version 5.0.0 (Stable)
rvagg Oct 21, 2015
d995b72
doc: made code spans more visible in the API docs
phillipj Oct 28, 2015
cf0130d
lib: return boolean from child.send()
Trott Oct 25, 2015
1d65b99
tools: update gyp to b3cef02
Oct 19, 2015
be65f5f
tools: fix gyp to work on MacOSX without XCode
Feb 10, 2015
b7cc19c
doc: add final full stop in CONTRIBUTING.md
emilyaviva Oct 29, 2015
9e3aa45
doc: fix crypto spkac function descriptions
jas- Oct 31, 2015
827ee49
buffer: neuter external `nullptr` buffers
indutny Nov 2, 2015
754061f
tools: update npm test tooling for 3.3.10+
iarna Oct 29, 2015
6e40bf0
gitignore: don't ignore 'debug' in deps/npm
iarna Oct 29, 2015
507fc53
deps: upgrade npm to 3.3.10
iarna Oct 29, 2015
f6230b9
test: remove flaky designation from ls-no-sslv3
Trott Nov 1, 2015
ac7dd5f
doc: add note about timeout delay > TIMEOUT_MAX
sitegui Oct 25, 2015
6d6bc5d
test: mark http-pipeline-flood flaky
Trott Oct 31, 2015
cddf358
test: add regression test for 512 bits DH key
bnoordhuis Nov 2, 2015
82022a7
test: more regression tests for minDHSize option
bnoordhuis Nov 2, 2015
a4a0efc
repl: don't crash if cannot open history file
evanlucas Nov 2, 2015
3be3fb6
2015-11-03, Version 4.2.2 "Argon" (LTS) Release
jasnell Oct 29, 2015
47f6541
doc: typo fix in readme.md
SPGB Nov 3, 2015
d006d6a
deps: update http-parser to 2.6.0
jasnell Oct 28, 2015
471aa5a
doc:fix function param order in assert doc
birnam Oct 26, 2015
a6a7338
test: fix test-net-persistent-keepalive for AIX
Nov 3, 2015
3268383
doc: fix wrong date and known issue in changelog.md
jasnell Nov 3, 2015
363a4e9
doc: rename iojs-* groups to nodejs-*
srl295 Nov 2, 2015
dac1d38
doc: stdout/stderr can block when directed to file
bnoordhuis Oct 3, 2015
8625a38
http: remove unneeded cb check from setTimeout()
aks- Nov 5, 2015
2e38079
docs: fs - remove encoding list and link to buffer
Sep 10, 2015
30ce3eb
docs: fs - change links to buffer encoding to Buffer class anchor
Oct 13, 2015
d461a07
build: omit -gline-tables-only for --enable-asan
bnoordhuis Nov 5, 2015
faa3bb8
module: remove unnecessary JSON.stringify
zertosh Oct 29, 2015
44a298b
Add missing va_end before return
usta Oct 28, 2015
017fc5b
doc: add caveats of algs and key size in crypto
Jul 27, 2015
d26927c
doc: add method links in events.markdown
a0viedo Nov 6, 2015
02a44e0
util: use regexp instead of str.replace().join()
hellopao Nov 6, 2015
df9c4a6
deps: upgrade npm to 3.3.12
iarna Nov 3, 2015
33827e3
cluster: remove handles when disconnecting worker
bnoordhuis Nov 3, 2015
a4e9487
async_wrap: allow some hooks to be optional
trevnorris Oct 20, 2015
80a66ba
async_wrap: new instances get uid
trevnorris Oct 19, 2015
bb1bd76
async_wrap: call callback in destructor
trevnorris Oct 20, 2015
af46112
src: Revert "nix stdin _readableState.reading"
silverwind Oct 26, 2015
20285ad
lib: Consistent error messages in all modules
micnic Oct 14, 2015
5707258
test: use really invalid hostname
thefourtheye Nov 8, 2015
354f9ce
repl: To exit, press ^C again or type .exit.
hemanth Nov 7, 2015
64208ef
doc: add saghul as a collaborator
saghul Nov 9, 2015
7b89a3d
doc: add thealphanerd to collaborators
Nov 9, 2015
2c33819
test: fix tests that check error messages
cjihrig Nov 9, 2015
1bacf37
test: fix test-module-loading-error for musl
hmalphettes Nov 10, 2015
9aee2c0
console: use 'label' argument for time and timeEnd
silverwind Oct 29, 2015
a28b938
test: enhance fs-watch-recursive test
thefourtheye Aug 28, 2015
19bf72d
dns: prevent undefined values in results
Nov 6, 2015
5235143
doc: add romankl to collaborators
r-52 Nov 9, 2015
eff8c3e
doc: add note on tls connection meta data methods
DaftMonk Nov 10, 2015
0966ab9
src: force line buffering for stderr
Trott Nov 6, 2015
35f2f64
tools: Use `throw new Error()` consistently
Trott Nov 8, 2015
25cd455
tools: enforce `throw new Error()` with lint rule
Trott Nov 8, 2015
2930867
deps: update V8 to 4.6.85.31
targos Nov 6, 2015
b70dc67
lib,test: remove publicly exposed freelist
cjihrig Nov 9, 2015
f299d87
cluster: send suicide message on disconnect
cjihrig Nov 9, 2015
1594198
fs: return null error on readFile() success
zbinlin Nov 10, 2015
dac387e
doc: update lts description in the collaborator guide
jasnell Nov 5, 2015
7b45163
tools: add tap output to cpplint
jbergstroem Oct 20, 2015
81e32cc
deps: cherry-pick 68e89fb from v8's upstream
indutny Nov 11, 2015
9f71a31
doc: Describe FIPSDIR environment variable
stefanmb Nov 6, 2015
7cb3a54
doc: add note to util.isBuffer
evanlucas Nov 12, 2015
d781cdc
docs: improve discoverability of Code of Conduct
ashleygwilliams Nov 11, 2015
b7089f6
crypto: Improve error checking and reporting
stefanmb Nov 9, 2015
e16c669
doc: sort assert alphabetically
tflanagan Nov 4, 2015
c0360c1
doc: sort buffer alphabetically
tflanagan Nov 4, 2015
f7169d2
doc: sort child_process alphabetically
tflanagan Nov 4, 2015
4c91220
doc: sort cluster alphabetically
tflanagan Nov 4, 2015
42d6431
doc: sort console alphabetically
tflanagan Nov 4, 2015
bf5e177
doc: sort dns alphabetically
tflanagan Nov 4, 2015
6f8e481
doc: sort crypto alphabetically
tflanagan Nov 4, 2015
4315601
doc: sort dgram alphabetically
tflanagan Nov 4, 2015
084e540
doc: sort errors alphabetically
tflanagan Nov 4, 2015
6009c4b
doc: sort events alphabetically
tflanagan Nov 4, 2015
b35c57b
doc: sort fs alphabetically
tflanagan Nov 4, 2015
b690c78
doc: sort globals alphabetically
tflanagan Nov 4, 2015
39a7fdf
doc: sort os alphabetically
tflanagan Nov 4, 2015
a58f389
doc: sort path alphabetically
tflanagan Nov 4, 2015
69cbaf6
doc: sort punycode alphabetically
tflanagan Nov 4, 2015
ed1f10d
doc: sort querystring alphabetically
tflanagan Nov 4, 2015
cff45b9
doc: sort vm alphabetically
tflanagan Nov 4, 2015
32d0d67
doc: sort url alphabetically
tflanagan Nov 4, 2015
e4009b6
doc: sort tty alphabetically
tflanagan Nov 4, 2015
7e5a6b3
doc: sort timers alphabetically
tflanagan Nov 4, 2015
16f9ba0
doc: sort string_decoder alphabetically
tflanagan Nov 4, 2015
8a245ea
doc: sort repl alphabetically
tflanagan Nov 4, 2015
6e6103b
doc: sort readline alphabetically
tflanagan Nov 4, 2015
0ca44b0
doc: sort modules alphabetically
tflanagan Nov 4, 2015
f4c259a
doc: sort http alphabetically
tflanagan Nov 4, 2015
54d8bdb
doc: sort https alphabetically
tflanagan Nov 4, 2015
8c703cd
doc: sort util alphabetically
tflanagan Nov 5, 2015
e50d32c
doc: sort zlib alphabetically
tflanagan Nov 5, 2015
42a9cc7
doc: sort process alphabetically
tflanagan Nov 5, 2015
403d2bf
doc: sort net alphabetically
tflanagan Nov 5, 2015
4efa7de
doc: sort stream alphabetically
tflanagan Nov 5, 2015
f8390fd
doc: sort tls alphabetically
tflanagan Nov 5, 2015
7b355c5
child_process: add safety checks on stdio access
cjihrig Nov 12, 2015
061b2c8
doc: repl: add defineComand and displayPrompt
bengl Nov 11, 2015
974767e
test: fix flaky test test-http-pipeline-flood
dnakamura Sep 14, 2015
d9734b7
test: refactor test-http-pipeline-flood
Trott Nov 2, 2015
a5cce79
console: delete timers that have ended
Oct 28, 2015
483a41c
tls: copy client CAs and cert store on CertCb
indutny Oct 26, 2015
a776a86
querystring: Parse multiple separator characters
yosuke-furukawa Nov 12, 2015
76f40f7
test: stronger crypto in test fixtures
stefanmb Nov 10, 2015
4008961
doc: clarify duplicate header handling
bengl Nov 13, 2015
934149a
doc: reword message.headers to indicate they are not read-only
tflanagan Nov 13, 2015
3c56d5e
doc: added what buf.copy returns
baslr Oct 28, 2015
406c596
doc: add warning about Windows process groups
r-52 Nov 5, 2015
4270e7f
doc: Updated streams simplified constructor API
tomgco Oct 30, 2015
b445938
doc: add link to [customizing util.inspect colors].
jmm Nov 10, 2015
3fea3cb
test: run pipeline flood test in parallel
Trott Nov 13, 2015
8b57b31
test: Fix test-cluster-worker-exit.js for AIX
Nov 4, 2015
34a3591
util: improve typed array formatting
bnoordhuis Nov 12, 2015
70405d4
deps: backport bc2e393 from v8 upstream
Nov 12, 2015
4adaaa4
crypto: DSA parameter validation in FIPS mode
stefanmb Nov 10, 2015
20cd932
test: add test for invalid DSA key size
stefanmb Nov 13, 2015
8ac852f
test: add hasFipsCrypto to test/common.js
stefanmb Nov 12, 2015
fa27c56
zlib: pass kind to recursive calls to flush
Oct 26, 2015
1736ad8
zlib: only apply drain listener if given callback
CraigCav Oct 26, 2015
a49b3af
test: add test-zlib-flush-drain
Nov 11, 2015
11ad744
test: increase crypto strength for FIPS standard
stefanmb Nov 10, 2015
84f0964
build: fix --with-intl=system-icu for x-compile
srl295 Nov 13, 2015
c0bac95
test: fix path to module for repl test on Windows
mcornac Oct 30, 2015
9d0396c
util: use Object.create(null) for dictionary object
JungMinu Nov 15, 2015
e2eb334
build: fix configuring with prebuilt libraries
zyxar Sep 30, 2015
a2144fc
test: skip test if FreeBSD jail will break it
Trott Nov 15, 2015
cd1123a
doc: consistent reference-style links
bengl Nov 14, 2015
a95eb5c
debugger: also exit when the repl emits 'exit'
fb55 Aug 13, 2015
3f6b921
doc: address use of profanity in code of conduct
jasnell Nov 14, 2015
5b80ca9
test: fix flaky SmartOS test
Trott Nov 15, 2015
424ae5d
tls: Use SHA1 for sessionIdContext in FIPS mode
stefanmb Nov 9, 2015
df268f9
tls: use SHA1 for sessionIdContext
stefanmb Nov 9, 2015
0ed3a7c
buffer: let WriteFloatGeneric silently drop values
pmq20 Nov 16, 2015
b385772
test: move test-specific function out of common
Trott Nov 17, 2015
e3949b2
doc: sort repl alphabetically
tflanagan Nov 16, 2015
4fed62c
module: cache regular expressions
evanlucas Nov 17, 2015
7ed09a3
doc: replace head of readme with updated text
rvagg Oct 22, 2015
8ceb36c
doc: document release types in readme
rvagg Oct 22, 2015
b33e9da
debugger: introduce exec method for debugger
JacksonTian Apr 21, 2015
29cd119
2015-11-17, Version 5.1.0 (Stable)
Fishrock123 Nov 17, 2015
9a628e2
test: module loading error fix solaris #3798
Nov 16, 2015
339d384
test: add OS X to module loading error test
evanlucas Nov 18, 2015
72e3dd9
process: throw on non-function to nextTick()
yorkie Nov 16, 2015
ac319c3
test: fix flaky test-child-process-spawnsync-input
Trott Nov 17, 2015
e4e5b13
test: avoid test timeouts on rpi
stefanmb Nov 18, 2015
4cf19ad
util: Remove exec, has been deprecated for years
geek Aug 24, 2015
a2c0aa8
tty: Remove deprecated setRawMode wrapper
geek Aug 24, 2015
007cfea
util: remove pump
geek Aug 24, 2015
5f3ed61
doc: add reference for buffer.inspect()
cjihrig Nov 19, 2015
5900d14
doc: clarify module loading behavior
cjihrig Nov 19, 2015
e499ea8
test: skip/replace weak crypto tests in FIPS mode
stefanmb Nov 10, 2015
ca2e8b2
readline: deprecate undocumented exports
cjihrig Nov 16, 2015
d01eb68
lib: add 'pid' prefix in `internal/util`
JungMinu Nov 17, 2015
6de82c6
test: fix race condition in unrefd interval test
mcornac Oct 27, 2015
56a2b9a
crypto: disable crypto.createCipher in FIPS mode
stefanmb Nov 9, 2015
174d4e4
test: http complete list of non-concat headers
bengl Nov 20, 2015
55b1ecc
doc: move fs.existsSync() deprecation message
martfors Nov 20, 2015
22478d3
buffer: move checkFloat from lib into src
Nov 11, 2015
94c3507
doc: fix broken references
gromnitsky Nov 20, 2015
dfee4e3
module: fix column offsets in errors
tflanagan Sep 14, 2015
9472a0c
net: small code cleanup
jscissr Nov 20, 2015
8b97249
fs: fix the error report on fs.link(Sync)
yorkie Nov 19, 2015
8c4deff
tools: update certdata.txt
bnoordhuis Nov 21, 2015
c83d9b7
crypto: update root certificates
bnoordhuis Nov 21, 2015
91ccbf0
configure: `v8_use_snapshot` should be `true`
indutny Nov 22, 2015
3f4409e
doc: clarify that fs streams expect blocking fd
XeCycle Nov 3, 2015
804cc76
test: numeric flags to fs.open
XeCycle Nov 3, 2015
615fba3
doc: numeric flags to fs.open
XeCycle Nov 3, 2015
d16def5
doc: Adding best practises for crypto.pbkdf2
tomgco Oct 9, 2015
3becac2
doc: replace sane with reasonable
lewiscowper Nov 23, 2015
487de19
test: address flaky test-http-client-timeout-event
Trott Nov 22, 2015
8bc8038
test: retry on smartos if ECONNREFUSED
Trott Nov 20, 2015
2ccde01
src: add BE support to StringBytes::Encode()
exinfinitum Oct 7, 2015
8d37bbe
doc: fix typo in README
Trott Nov 24, 2015
41519fd
test: add TAP diagnostic message for retried tests
Trott Nov 21, 2015
6f87aa9
doc: message.header duplication correction
bengl Nov 24, 2015
6588422
test: remove flaky status for cluster test
Trott Nov 23, 2015
5169311
util,src: allow lookup of hidden values
cjihrig Nov 23, 2015
d7b199d
net: add local address/port for better errors
jscissr Nov 20, 2015
b061e3a
test: skip test if in FreeBSD jail
Trott Nov 24, 2015
ab25589
deps: backport 819b40a from V8 upstream
targos Nov 20, 2015
b2e7a4d
installer: install the tick processor
Sep 22, 2015
a881b53
build,src: add Intel Vtune profiling support
cdai2 Oct 21, 2015
93739f4
buffer: default to UTF8 in byteLength()
tomgco Nov 24, 2015
fc47e0f
test: mark fork regression test flaky on windows
Trott Nov 25, 2015
16db4c4
test: mark cluster-net-send test flaky on windows
Trott Nov 24, 2015
8ca412b
util: add decorateErrorStack()
cjihrig Nov 25, 2015
459b106
repl: attach location info to syntax errors
cjihrig Nov 25, 2015
20acc60
test: use platform-based timeout for reliability
Trott Nov 25, 2015
8b75030
doc: fix rare case of misaligned columns
silverwind Nov 21, 2015
1c85849
test: fix test-domain-exit-dispose-again
Nov 23, 2015
f2e319b
test: move ArrayStream to common
cjihrig Nov 25, 2015
e25f868
test: mark test flaky on FreeBSD
Trott Nov 25, 2015
d1000b4
path: make format() consistent and more functional
nwoltman Aug 17, 2015
8a469e4
build: update signtool description, add url
rvagg Nov 24, 2015
f4f1e89
doc: fix color of linked code blocks
Nov 29, 2015
ee72ee7
module,repl: remove repl require() hack
bnoordhuis Nov 25, 2015
04b1a2f
util: move .decorateErrorStack to internal/util
bnoordhuis Nov 25, 2015
2fb34b6
doc: fix the exception description
yorkie Nov 4, 2015
82b8355
util: fix constructor/instanceof checks
mscdex Oct 15, 2015
4330744
streams: update .readable/.writable to false
mscdex Mar 20, 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*/
114 changes: 114 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
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

# ECMAScript 6
# list: http://eslint.org/docs/rules/#ecmascript-6
## Suggest using 'const' wherever possible
prefer-const: 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
new-with-error: [2, "Error", "RangeError", "TypeError", "SyntaxError", "ReferenceError"]


# 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/
!deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/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