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

Ipc buffers v4.x #7683

Closed
wants to merge 1,368 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1368 commits
Select commit Hold shift + click to select a range
0a1eb16
test: fix `test-cluster-worker-kill`
santigimeno Mar 20, 2016
7c83702
doc: use consistent event name parameter
benjamingr Mar 22, 2016
8c24bd2
doc: fix order of end tags of list after heading
Mar 3, 2016
96e163a
buffer: changing let in for loops back to var
gareth-ellis Mar 21, 2016
040263e
doc: grammar, clarity and links in timers doc
bengl Mar 18, 2016
55c3f80
deps: upgrade npm in LTS to 2.15.1
othiym23 Mar 30, 2016
60ddab8
doc: add instructions to only sign a release
Fishrock123 Mar 23, 2016
42bbdc9
Add @mhdawson back to the CTC
jasnell Mar 9, 2016
8d86d23
doc: typo: interal->internal.
kosak Mar 22, 2016
9ef4b1b
2016-03-31, Version v4.4.2 'Argon' (LTS)
Mar 30, 2016
7384140
Working on v4.4.3
Apr 1, 2016
200f763
deps: completely upgrade npm in LTS to 2.15.1
othiym23 Apr 1, 2016
4f683ab
src,tools: use template literals
Trott Mar 18, 2016
ea83c38
test: ensure win32.isAbsolute() is consistent
mscdex Apr 3, 2016
feedca7
doc: add topic - event loop, timers, `nextTick()`
techjeffharris Apr 8, 2016
56dda6f
fs: Remove unused branches
benjamingr Mar 22, 2016
505faf6
doc: refine child_process detach behaviour
eljefedelrodeodeljefe Feb 19, 2016
16216a8
meta: add "joining a wg" section to WORKING_GROUPS.md
mcollina Feb 29, 2016
aadf356
deps: backport 8d00c2c from v8 upstream
bnoordhuis Mar 6, 2016
6d3822c
etw: fix descriptors of events 9 and 23
joaocgreis Mar 16, 2016
c4103b1
lib: refactor code with startsWith/endsWith
JacksonTian Mar 17, 2016
940d204
doc: consolidate timers docs in timers.markdown
bengl Mar 21, 2016
86e3903
dns: Use object without protoype for map
benjamingr Mar 22, 2016
5853fec
test: fix test-debugger-client.js
Trott Mar 22, 2016
e0b283a
test: fix flaky test-http-set-timeout
Trott Mar 23, 2016
d275cdf
child_process: refactor self=this in socket_list
benjamingr Mar 23, 2016
6e2bfbe
doc: fix doc for Buffer.readInt32LE()
ghaiklor Mar 24, 2016
8462d8f
test: fix flaky test-net-socket-timeout
mscdex Mar 24, 2016
a0a2e69
test: move dns test to test/internet
bnoordhuis Mar 25, 2016
9702153
test: fix flaky test-repl
mscdex Mar 25, 2016
aed22d0
doc: path.format provide more examples
eversojk Mar 22, 2016
65fc4e3
querystring: don't stringify bad surrogate pair
mscdex Mar 23, 2016
02401a6
doc: fix scrolling on iOS devices
lpinca Mar 23, 2016
d59be4d
test: ensure _handle property existence
Trott Mar 26, 2016
9a8f922
build: add missing `openssl_fips%` to common.gypi
indutny Mar 27, 2016
fe0233b
test: add known_issues test for GH-2148
Trott Mar 27, 2016
132acea
build: introduce ci targets for lint/benchmark
jbergstroem Mar 27, 2016
f60ce10
doc: document unspecified behavior for buf.write* methods
jasnell Mar 27, 2016
63d8296
test: stdin is not always a net.Socket
Fishrock123 Mar 28, 2016
10fe79b
test: fix offending max-len linter error
thefourtheye Mar 31, 2016
cc1aab9
test: mitigate flaky test-https-agent
Trott Mar 28, 2016
c33a23f
tools: fix json doc generation
firedfox Mar 29, 2016
1994ac0
test: add test for piping large input from stdin
addaleax Mar 29, 2016
6f0bd64
tools,doc: fix incomplete json produced by doctool
firedfox Mar 31, 2016
ccf90b6
test: fix test-dns.js flakiness
Trott Apr 1, 2016
a39051f
test: make arch available in status files
santigimeno Apr 1, 2016
f949c27
assert: Check typed array view type in deepEqual
addaleax Mar 26, 2016
f9cf232
doc: add example using algorithms not directly exposed
hillbrad Apr 7, 2016
c91f3d8
doc: add copy about how to curl SHA256.txt
Apr 8, 2016
e7877e6
test: fix flaky test-net-socket-timeout-unref
Trott Mar 29, 2016
bb603b8
doc: add 'Command Line Options' to 'View on single page'
firedfox Apr 2, 2016
73e3b7b
test: make use of globals explicit
Trott Apr 2, 2016
56755de
doc: clarify stdout/stderr arguments to callback
jasnell Apr 2, 2016
a7b3a75
test: be explicit about polluting of `global`
Trott Apr 2, 2016
0870ac6
doc: use HTTPS for links where possible
Trott Apr 2, 2016
ac40a45
test: explicitly set global in test-repl
Trott Apr 3, 2016
8c2befe
doc: note assert.throws() pitfall
Trott Apr 3, 2016
f16802f
doc: note about Android support
Trott Apr 4, 2016
86d2af5
doc: simple doc typo fix
BrendonPierson Apr 4, 2016
f7eb483
win,build: build and test add-ons on test-ci
Mar 24, 2016
dfe9e15
governance: remove target size for CTC
Trott Mar 23, 2016
9679e2d
doc: clarify that __dirname is module local
jasnell Apr 2, 2016
9a33f43
doc: update openssl LICENSE using license-builder.sh
srl295 Apr 5, 2016
d7f2bc9
2016-04-12, Version 4.4.3 'Argon' (LTS)
Apr 11, 2016
44fd83e
Working on v4.4.4
Apr 12, 2016
72f9952
deps: upgrade openssl sources to 1.0.2h
May 3, 2016
2dfeb01
deps: copy all openssl header files to include dir
May 3, 2016
dc8dc97
deps: fix openssl assembly error on ia32 win32
indutny Jan 8, 2014
ff3045e
deps: fix asm build error of openssl in x86_win32
Feb 13, 2015
baedfba
openssl: fix keypress requirement in apps on win32
Feb 17, 2015
c450f4a
deps: add -no_rand_screen to openssl s_client
May 27, 2015
1efd96c
deps: update openssl asm and asm_obsolete files
May 3, 2016
4f1c82f
streams: support unlimited synchronous cork/uncork cycles
mcollina Apr 12, 2016
f46952e
buffer: safeguard against accidental kNoZeroFill
ChALkeR Apr 25, 2016
9cf628e
2016-05-05, Version 4.4.4 'Argon' (LTS)
May 4, 2016
cc0985b
Working on v4.4.5
May 6, 2016
d7a3ea4
src,tools: allow utf-8 in built-in js source code
bnoordhuis Feb 24, 2016
8f18414
src,tools: drop nul byte from built-in source code
bnoordhuis Feb 24, 2016
e0eebf4
src,tools: remove null sentinel from source array
bnoordhuis Feb 24, 2016
df29901
deps: upgrade npm in LTS to 2.15.2
zkat Apr 11, 2016
4e6ea7f
tools: remove obsolete npm test-legacy command
zkat Apr 11, 2016
b28e44d
http: Corrects IPv6 address in Host header
mpotra Feb 19, 2016
51c0808
stream: Fix readableState.awaitDrain mechanism
addaleax Apr 2, 2016
59a977d
assert: respect assert.doesNotThrow message.
Aug 17, 2015
c893cd3
tools,doc: parse types in braces everywhere
estliberitas Feb 20, 2016
4ad7184
build: add suport for x86 architecture
robertchiras Mar 3, 2016
918d33a
build: add script to create Android .mk files
robertchiras Mar 3, 2016
3d4d577
test: refactor http-end-throw-socket-handling
santigimeno Mar 12, 2016
4c73ab4
tools,doc: fix json for grouped optional params
firedfox Mar 31, 2016
292b1b7
build: fix make tar-headers for Linux
gibfahn Mar 31, 2016
6a197ec
doc: fix http response event, Agent#getName
mdouglass Apr 1, 2016
4fb4ba9
tools: remove disabling of already-disabled rule
Trott Apr 2, 2016
6d56009
doc: minor argument formatting in stream.markdown
jasnell Apr 2, 2016
2942cff
src: add missing 'inline' keywords
bnoordhuis Apr 5, 2016
29f821b
doc: clarifies http.serverResponse implementation
AllenSH12 Apr 6, 2016
d1fca27
deps: backport 125ac66 from v8 upstream
Apr 6, 2016
30f354f
doc: clarify fs.watch() and inodes on linux, os x
jorangreef Apr 7, 2016
df5ce6f
doc: native module reloading is not supported
bengl Apr 12, 2016
4ec9ae8
doc: explain differences in console.assert between node and browsers
jasnell Apr 12, 2016
433fb9a
deps: cherry-pick 1383d00 from v8 upstream
indutny Apr 13, 2016
3695690
doc: revert backported commits
May 2, 2016
fcc6a34
doc: get rid of sneaky hard tabs in CHANGELOG
May 6, 2016
29e25d8
doc: add steps for running addons + npm tests
Apr 15, 2016
855604c
deps: upgrade npm in LTS to 2.15.4
iarna May 9, 2016
a40730b
deps: backport IsValid changes from 4e8736d in V8
targos May 4, 2016
3c50350
deps: fix null pointer checks in v8
targos May 10, 2016
cc4c518
test: ensure test-npm-install uses correct node
May 9, 2016
7b60b8f
test: fix flakiness of stringbytes-external
ofrobots Apr 4, 2016
12a9699
buffer: fix needle length misestimation for UCS2
addaleax May 2, 2016
8b077fa
buffer: fix UCS2 indexOf for odd buffer length
addaleax May 2, 2016
2fac15b
src: fix FindFirstCharacter argument alignment
addaleax May 3, 2016
126fdc3
doc: fix issues related to page scrolling
silverwind May 11, 2016
0dc875e
deps: upgrade npm in LTS to 2.15.5
iarna May 13, 2016
9a8b531
http: unref socket timer on parser execute
indutny Apr 19, 2016
840c094
doc: update openssl.org hash links
silverwind May 17, 2016
0b376cb
test: fix pummel test failures
Trott Apr 2, 2016
3a67a05
test: enforce strict mode for test-domain-crypto
Trott Apr 4, 2016
28040cc
test: refactor test-file-write-stream3
Trott Apr 5, 2016
59814ac
doc: describe child.kill() pitfalls on linux
eljefedelrodeodeljefe Apr 5, 2016
25d4b5b
test: move some test from sequential to parallel
santigimeno Apr 5, 2016
68c7de4
tools: remove simplejson dependency
thefourtheye Apr 7, 2016
a865975
test: fix flaky test-http-client-abort
Trott Apr 8, 2016
1aa6c5b
tools: update ESLint to 2.7.0
silverwind Apr 9, 2016
a97a6a9
test: fix issues for ESLint 2.7.0
silverwind Apr 9, 2016
69dcbb6
test: fix flaky test-child-process-fork-net
Trott Apr 9, 2016
37cc249
test: fix test-net-settimeout flakiness
santigimeno Apr 12, 2016
d069f2d
doc: add full example for zlib.flush()
addaleax Apr 19, 2016
7160229
doc: note that zlib.flush acts after pending writes
addaleax Apr 12, 2016
0f9405d
test: move more tests from sequential to parallel
santigimeno Apr 9, 2016
b872fea
doc: replace functions with arrow functions
hiroppy Apr 14, 2016
9222689
test,vm: enable strict mode for vm tests
Trott Apr 15, 2016
5002a71
test: assert - fixed error messages to match the tests
suryagh Apr 16, 2016
24ac16f
test: fix flaky test-http-set-timeout-server
santigimeno Apr 15, 2016
c76f214
test,tools: enable linting for undefined vars
Trott Apr 18, 2016
6ad8591
child_process: add nullptr checks after allocs
addaleax Apr 18, 2016
8fa2029
tools: lint rule for assert.fail()
Trott Apr 18, 2016
b8c9d6b
tools: enable linting for v8_prof_processor.js
Trott Apr 18, 2016
48684af
zlib: fix use after null when calling .close
lightsofapollo Mar 31, 2016
f60ba54
test: add zlib close-after-error regression test
addaleax Apr 18, 2016
620a261
http: disallow sending obviously invalid status codes
mscdex Apr 20, 2016
06e5faf
test: add tests for console.assert
evanlucas Apr 20, 2016
333369e
test: increase the platform timeout for AIX
mhdawson Apr 21, 2016
773ea20
test: include component in tap output
bnoordhuis May 9, 2016
50f02bd
doc: update vm.runInDebugContext() example
bnoordhuis May 14, 2016
b6fc153
contextify: cleanup weak ref for global proxy
ofrobots Feb 23, 2016
9e6d817
contextify: cleanup weak ref for sandbox
ofrobots Feb 23, 2016
8ebdcd6
contextify: replace deprecated SetWeak usage
ofrobots Feb 23, 2016
9ddb44b
contextify: cache sandbox and context in locals
ofrobots Feb 24, 2016
823f726
contextify: tie lifetimes of context & sandbox
ofrobots Mar 18, 2016
f8144e4
test: add logging for test-debug-port-cluster
Trott May 15, 2016
49a5941
test: fix test-debug-port-cluster flakiness
Trott May 16, 2016
6330f48
2016-05-24, Version 4.4.5 'Argon' (LTS)
May 18, 2016
e2ccf62
Working on v4.4.6
May 24, 2016
134c3b3
deps: backport 3a9bfec from v8 upstream
bnoordhuis Jun 2, 2016
a4d9beb
2016-06-23, Version 4.4.6 'Argon' (LTS)
Jun 6, 2016
3745d84
Working on v4.4.7
Jun 23, 2016
aaeeec4
lib,test,tools: alignment on variable assignments
Trott Apr 16, 2016
cc3645c
tools: lint for alignment of variable assignments
Trott Apr 16, 2016
1c6809c
debugger: introduce exec method for debugger
JacksonTian Apr 21, 2015
e3f78eb
doc: improve rendering of v4.4.5 changelog entry
May 24, 2016
55319fe
stream_base: expose `bytesRead` getter
indutny Apr 19, 2016
b3acbc5
net: replace __defineGetter__ with defineProperty
indutny Apr 20, 2016
de00f91
deps: backport bc2e393 from v8 upstream
Nov 12, 2015
4c1eb5b
repl: create history file with mode 0600
XeCycle Oct 16, 2015
c98aaf5
http: speed up checkIsHttpToken
JacksonTian Jan 21, 2016
1d68bdb
test: fix error message checks in test-module-loading
jasnell Apr 1, 2016
0f6146c
tools: add tests for the doctool
iankronquist Apr 3, 2016
43ce6fc
build: fix DESTCPU detection for binary target
richardlau Apr 20, 2016
46ee7bb
doc: fix incorrect references in buffer docs
Amery2010 Apr 14, 2016
ae3eb24
doc: add addaleax to collaborators
addaleax Apr 15, 2016
3dbcc73
doc: add santigimeno to collaborators
santigimeno Apr 15, 2016
6dfc963
doc: add iWuzHere to collaborators
imran-iq Apr 15, 2016
7d8141d
doc: add stefanmb to collaborators
stefanmb Apr 15, 2016
93f2314
gitignore: ignore VS 2015 *.VC.opendb files
Apr 5, 2016
bac87d0
gitignore: adding .vs/ directory to .gitignore
Apr 13, 2016
10bd1a7
tools: fix license-builder.sh again for ICU
srl295 Apr 5, 2016
435cd56
doc: DCO anchor that doesn't change
williamkapke Apr 18, 2016
ac60d9c
doc: add estliberitas to collaborators
estliberitas Apr 26, 2016
b112fd1
doc: add ronkorving to collaborators
ronkorving Apr 26, 2016
83721c6
doc: add eljefedelrodeodeljefe to collaborators
eljefedelrodeodeljefe Apr 26, 2016
d7d54c8
doc: add Minqi Pan to collaborators
pmq20 Apr 26, 2016
0f3a94a
doc: add JacksonTian to collaborators
JacksonTian Apr 26, 2016
e28598b
doc: update authors
jasnell Apr 25, 2016
3d1a3e4
doc: change references to Stable to Current
Apr 21, 2016
feda15b
doc: update build instructions for OS X
Trott Apr 20, 2016
a6f45b4
doc: Remove extra space in REPL example
Apr 28, 2016
de20235
doc: remove all scrollbar styling
claudiorodriguez Apr 29, 2016
52d9e7b
doc: fix a typo in __dirname section
toyota790 Apr 29, 2016
2389006
debugger: display array contents in repl
cjihrig Apr 28, 2016
18ecc77
doc: ensure consistent grammar in node.1 file
justshiv Apr 27, 2016
21d02f4
doc: add missing underscore for markdown italics
May 2, 2016
d909c25
doc: fix the lint of an example in cluster.md
yorkie May 2, 2016
c9b144d
doc: linkify remaining references to fs.Stats object
Apr 30, 2016
97d1fc0
doc: improve onboarding-extras.md formatting
Fishrock123 May 9, 2016
ac6b921
doc: mention existence/purpose of module wrapper
mtharrison Apr 27, 2016
352496d
doc: move the readme newcomers section
Fishrock123 May 10, 2016
3d820e4
doc: "a" -> "an" in api/documentation.md
anchika May 11, 2016
847b29c
test: fix test-debugger-repl-term
Trott May 11, 2016
8b396e3
test: fix test-debugger-repl-break-in-module
Trott May 11, 2016
3e9288e
doc: fix exec example in child_process
evanlucas May 9, 2016
c654184
doc: remove link to Sign in crypto.md
fanatid May 17, 2016
401325f
doc: better example & synopsis
Fishrock123 Apr 12, 2016
107839c
doc: no Node.js(1)
Fishrock123 Apr 12, 2016
eadb7e5
doc: subdivide TOC, add auxiliary links
Fishrock123 Apr 12, 2016
4067cde
test: abstract skip functionality to common
Fishrock123 Jun 2, 2016
3b46187
doc: Backport ee.once doc clarifications to 4.x.
lance Jun 2, 2016
64fb7a1
build: update android-configure script for npm
robertchiras Apr 22, 2016
37606ca
build: don't compile with -B
bnoordhuis Apr 26, 2016
a01caa3
build: don't compile with -B, redux
bnoordhuis May 9, 2016
58ad451
benchmark: move string-decoder to its own category
AndreasMadsen Jun 2, 2016
c189eec
benchmark: fix configuation parameters
AndreasMadsen Feb 8, 2016
921e856
benchmark: move misc to categorized directories
AndreasMadsen Jan 29, 2016
87cdb83
benchmark: merge url.js with url-resolve.js
AndreasMadsen Jan 29, 2016
6dfe7ae
cares: Support malloc(0) scenarios for AIX
gireeshpunathil Apr 20, 2016
a31153c
tools: remove the minifying logic
thefourtheye May 8, 2016
037291e
src: make sure Utf8Value always zero-terminates
addaleax Jun 2, 2016
552e25c
lib,test: update in preparation for linter update
Trott May 1, 2016
6a76485
tools: update ESLint to 2.9.0
Trott May 1, 2016
3b94e31
test: robust handling of env for npm-test-install
May 17, 2016
1c4549a
test: fix flaky test-stdout-close-catch
santigimeno May 17, 2016
1549899
dgram,test: add addMembership/dropMembership tests
Trott May 16, 2016
2b0f40c
doc: add note for fs.watch virtualized env
eljefedelrodeodeljefe May 17, 2016
30ab6a8
doc: fix name to match git log
eljefedelrodeodeljefe May 19, 2016
4e38655
test: refactor test-tls-reuse-host-from-socket
Trott May 14, 2016
f23a9c3
doc: fix typo in Error.captureStackTrace
mekhtiari May 17, 2016
fbf95dd
doc: Update DCO to v1.1
williamkapke Apr 23, 2016
03db88e
doc: add bengl to collaborators
bengl May 21, 2016
5a1a0b5
doc: make the api doc print-friendly
bl4d32 May 16, 2016
2c3c4e5
doc: reference list of language-specific globals
addaleax May 20, 2016
22ca7b8
doc: add @othiym23 to list of collaborators
othiym23 May 24, 2016
a8391bc
doc: add jhamhader to collaborators
jhamhader May 24, 2016
e0dd476
doc: fix typos in timers topic to aid readability
May 21, 2016
c31eaad
doc: clarify buffer class
stevemao May 21, 2016
67863f1
doc: update licenses
MylesBorins Jun 3, 2016
ab50e82
test: fix test-process-exec-argv flakiness
santigimeno May 3, 2016
af41a63
src: replace ARRAY_SIZE with typesafe arraysize
bnoordhuis Mar 31, 2016
90306bb
src: use size_t for http parser array size fields
bnoordhuis Mar 31, 2016
7e739ae
test,tools: adjust function argument alignment
Trott Apr 26, 2016
216486c
tools: lint for function argument alignment
Trott Apr 19, 2016
be0bb5f
test: fix unreliable known_issues test
Trott May 3, 2016
98469ad
doc: correct args for cluster message event
cjihrig Jun 15, 2016
b73ec46
stream: reset awaitDrain after manual .resume()
addaleax Jun 5, 2016
a08a017
stream: ensure awaitDrain is increased once
davedoesdev Jun 14, 2016
0414d88
test: fix test-net-* error code check for getaddrinfo(3)
ncopa Feb 5, 2016
0ba3c2c
doc: fix layout problem in v4 changelog
Jun 23, 2016
49921e8
deps: backport 102e3e87e7 from V8 upstream
Jun 27, 2016
200b3ca
deps: upgrade npm in LTS to 2.15.8
iarna Jun 24, 2016
0974fc6
2016-06-28, Version 4.4.7 'Argon' (LTS)
Jun 24, 2016
470bd7d
Working on v4.4.8
Jun 28, 2016
764b457
doc: buffers are not sent over IPC with a socket
Jul 12, 2016
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.
39 changes: 39 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true

[vcbuild.bat]
end_of_line = crlf

[*.{md,markdown}]
trim_trailing_whitespace = false

[{lib,src,test}/**.js]
indent_style = space
indent_size = 2

[src/**.{h,cc}]
indent_style = space
indent_size = 2

[test/*.py]
indent_style = space
indent_size = 2

[configure]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab
indent_size = 8

[{deps,tools}/**]
indent_style = ignore
indent_size = ignore
end_of_line = ignore
trim_trailing_whitespace = ignore
charset = ignore
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
lib/internal/v8_prof_polyfill.js
lib/punycode.js
test/addons/doc-*/
test/addons/??_*/
test/fixtures
test/**/node_modules
test/disabled
test/tmp*/
tools/doc/node_modules
128 changes: 67 additions & 61 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,86 +1,94 @@
env:
node: true

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

rules:
# Possible Errors
# list: https://github.com/eslint/eslint/tree/master/docs/rules#possible-errors
## check debugger sentence
# http://eslint.org/docs/rules/#possible-errors
comma-dangle: [2, "only-multiline"]
no-control-regex: 2
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-empty-character-class: 2
no-ex-assign: 2
## disallow use of reserved words as keys like enum, class
no-reserved-keys: 2
## disallow unreachable code
no-extra-boolean-cast: 2
no-extra-parens: [2, "functions"]
no-extra-semi: 2
no-func-assign: 2
no-invalid-regexp: 2
no-irregular-whitespace: 2
no-negated-in-lhs: 2
no-obj-calls: 2
no-proto: 2
no-unexpected-multiline: 2
no-unreachable: 2
## require valid typeof compared string like typeof foo === 'strnig'
use-isnan: 2
valid-typeof: 2

# Best Practices
# list: https://github.com/eslint/eslint/tree/master/docs/rules#best-practices
## require falls through comment on switch-case
# http://eslint.org/docs/rules/#best-practices
no-fallthrough: 2
no-octal: 2
no-redeclare: 2
no-self-assign: 2
no-unused-labels: 2

# Strict Mode
# http://eslint.org/docs/rules/#strict-mode
strict: [2, "global"]

# Variables
# http://eslint.org/docs/rules/#variables
no-delete-var: 2
no-undef: 2
no-unused-vars: [2, {"args": "none"}]

# Node.js and CommonJS
# http://eslint.org/docs/rules/#nodejs-and-commonjs
no-mixed-requires: 2
no-new-require: 2
no-path-concat: 2
no-restricted-modules: [2, "sys", "_linklist"]

# 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
# http://eslint.org/docs/rules/#stylistic-issues
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
eol-last: 2
indent: [2, 2, {SwitchCase: 1}]
keyword-spacing: 2
max-len: [2, 80, 2]
## max 2 consecutive empty lines
new-parens: 2
no-mixed-spaces-and-tabs: 2
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"]
quotes: [2, "single", "avoid-escape"]
semi: 2
space-before-blocks: [2, "always"]
space-before-function-paren: [2, "never"]
space-in-parens: [2, "never"]
space-infix-ops: 2
space-unary-ops: 2

# Variables
# list: https://github.com/eslint/eslint/tree/master/docs/rules#variables
## disallow use of undefined variables (globals)
no-undef: 2
# ECMAScript 6
# http://eslint.org/docs/rules/#ecmascript-6
arrow-parens: [2, "always"]
arrow-spacing: [2, {"before": true, "after": true}]
constructor-super: 2
no-class-assign: 2
no-confusing-arrow: 2
no-const-assign: 2
no-dupe-class-members: 2
no-new-symbol: 2
no-this-before-super: 2
prefer-const: 2

# Custom rules in tools/eslint-rules
require-buffer: 2
align-function-arguments: 2
align-multiline-assignment: 2
assert-fail-single-argument: 2
new-with-error: [2, "Error", "RangeError", "TypeError", "SyntaxError", "ReferenceError"]

# Global scoped method and vars
globals:
Expand All @@ -102,5 +110,3 @@ globals:
DTRACE_NET_SERVER_CONNECTION : false
LTTNG_NET_SERVER_CONNECTION : false
COUNTER_NET_SERVER_CONNECTION : false
escape : false
unescape : false
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ icu_config.gypi

# various stuff that VC++ produces/uses
Debug/
!node_modules/debug/
!**/node_modules/debug/
Release/
!doc/blog/**
*.sln
Expand All @@ -40,16 +40,19 @@ _UpgradeReport_Files/
ipch/
*.sdf
*.opensdf
*.VC.opendb
.vs/

/config.mk
/config.gypi
/config_fips.gypi
*-nodegyp*
/gyp-mac-tool
/dist-osx
/npm.wxs
/tools/msvs/npm.wixobj
/tools/osx-pkg.pmdoc/index.xml
/test/addons/doc-*/
/test/addons/??_*/
email.md
deps/v8-*
deps/icu
Expand All @@ -71,6 +74,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 Down
26 changes: 26 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Alexey Kupershtokh <alexey.kupershtokh@gmail.com> <wicked@alawar.com>
Alexis Campailla <alexis@janeasystems.com> <orangemocha@github.com>
Alexis Sellier <self@cloudhead.net>
Alexis Sellier <self@cloudhead.net> <alexis@cloudhead.io>
Andy Bettisworth <andy.bettisworth@accreu.com>
Aria Stewart <aredridel@dinhe.net> <aredridel@nbtsc.org>
Arlo Breault <arlolra@gmail.com>
Artem Zaytsev <a.arepo@gmail.com>
Expand All @@ -19,14 +20,20 @@ Bert Belder <bertbelder@gmail.com> <piscisaureus@Berts-MacBook-Pro.local>
Brandon Benvie <brandon@bbenvie.com> <brandon@brandonbenvie.com>
Brian White <mscdex@mscdex.net>
Brian White <mscdex@mscdex.net> <mscdex@gmail.com>
Caleb Boyd <caleb.boyd@gmail.com>
Charles <ineedpracticing@gmail.com> <cydjudge@users.noreply.github.com>
Chew Choon Keat <choonkeat@gmail.com>
Charles Rudolph <charles.rudolph@originate.com>
Claudio Rodriguez <cjrodr@yahoo.com> <cr@fansworld.tv>
Colin Ihrig <cjihrig@gmail.com>
Christopher Lenz <cmlenz@gmail.com> <chris@lamech.local>
Dan Kaplun <dbkaplun@gmail.com> <dan@beardtree.com>
Daniel Berger <code+node@dpbis.net>
Daniel Chcouri <333222@gmail.com>
Daniel Gröber <darklord@darkboxed.org>
Daniel Gröber <darklord@darkboxed.org> <dxld@darkboxed.org>
Daniel Pihlström <sciolist.se@gmail.com>
Danny Nemer <hi@dannynemer.com> <DannyNemer@users.noreply.github.com>
Dave Pacheco <dap@joyent.com> <dap@cs.brown.edu>
David Siegel <david@artcom.de> <david.siegel@artcom.de>
Domenic Denicola <domenic@domenicdenicola.com>
Expand All @@ -36,6 +43,8 @@ Einar Otto Stangvik <einaros@gmail.com>
Elliott Cable <me@ell.io>
EungJun Yi <semtlenori@gmail.com>
Evan Larkin <evan.larkin.il.com> <evan.larkin.iit@gmail.com>
Evan Lucas <evanlucas@me.com> <evan@btc.com>
Evan Lucas <evanlucas@me.com> <evan.lucas@help.com>
Farid Neshat <FaridN_SOAD@yahoo.com>
Fedor Indutny <fedor@indutny.com> <fedor.indutny@gmail.com>
Felix Böhm <felixboehm55@googlemail.com> <me@feedic.com>
Expand All @@ -47,25 +56,33 @@ Gabriel de Perthuis <g2p.code@gmail.com>
Gil Pedersen <git@gpost.dk> <github@gpost.dk>
Henry Chin <hheennrryy@gmail.com>
Herbert Vojčík <herby@mailbox.sk>
Icer Liang <liangshuangde@163.com> <wizicer@users.noreply.github.com>
Igor Soarez <igorsoarez@gmail.com>
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>
Jan Krems <jan.krems@gmail.com> <jan.krems@groupon.com>
Jered Schmidt <tr@nslator.jp>
Jeremiah Senkpiel <fishrock123@rocketmail.com>
Jerry Chin <qinjia@outlook.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 Persson <persson.jonathan@gmail.com> <jonathan.persson@creuna.se>
Jonathan Rentzsch <jwr.git@redshed.net>
Josh Erickson <josh@snoj.us>
Joshua S. Weinstein <josher19@users.sf.net>
Junliang Yan <john.yan1019@gmail.com>
Junliang Yan <jyan@ca.ibm.com> <jyan@ca.ibm.ca>
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 @@ -76,6 +93,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>
Marti Martz <thalamew@q.com>
Martial James Jefferson <martial.jefferson@gmail.com>
Mathias Pettersson <mape@mape.me>
Matthew Lye <muddletoes@hotmail.com>
Michael Bernstein <michaelrbernstein@gmail.com>
Expand All @@ -90,16 +111,20 @@ Nicholas Kinsey <pyrotechnick@feistystudios.com>
Nikolai Vavilov <vvnicholas@gmail.com>
Onne Gorter <onne@onnlucky.com>
Paul Querna <pquerna@apache.org> <paul@querna.org>
Peter Flannery <pflannery@users.noreply.github.com>
Phillip Johnsen <johphi@gmail.com> <phillip.johnsen@finn.no>
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>
Ron Korving <rkorving@wizcorp.jp>
Ryan Dahl <ry@tinyclouds.org>
Ryan Emery <seebees@gmail.com>
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Sam Mikes <smikes@cubane.com>
Sam P Gallagher-Bishop <samgallagherb@gmail.com> <SPGB@users.noreply.github.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 @@ -121,6 +146,7 @@ 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 Down
Loading