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

lib,src: add unix socket getsockname/getpeername #956

Closed
wants to merge 663 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
663 commits
Select commit Hold shift + click to select a range
a764ac4
Working on v2.4.1
Fishrock123 Jul 17, 2015
fef87fe
lib,test: add freelist deprecation and test
thefourtheye Jul 14, 2015
c7d8b09
doc: recompile before testing core module changes
phillipj Jun 24, 2015
6b85d5a
doc: add TSC meeting minutes 2015-07-15
rvagg Jul 16, 2015
69298d3
test: formatting skip messages for TAP parsing
thefourtheye Jul 6, 2015
79c865a
test: changing process.exit to return while skipping tests
thefourtheye Jul 7, 2015
b612f08
doc: add joaocgreis as a collaborator
joaocgreis Jul 20, 2015
6391f4d
util: removing redundant checks in is* functions
thefourtheye Jul 14, 2015
04893a7
deps: upgrade to npm 2.13.1
zkat Jul 21, 2015
73cdcdd
deps: make node-gyp work with io.js
cjihrig Feb 27, 2015
f90f1e7
win,node-gyp: enable delay-load hook by default
piscisaureus Apr 15, 2015
ac7d3fa
test: add -no_rand_screen to s_client opts on Win
Jul 18, 2015
9afee67
http: Check this.connection before using it
thefourtheye Jul 13, 2015
eb35968
crypto: fix legacy SNICallback
indutny May 17, 2015
4ef2b5f
doc: Replace util.debug with console.error
yosuke-furukawa Jul 21, 2015
e11fc67
tls: add `getTicketKeys()`/`setTicketKeys()`
indutny Jul 22, 2015
66fc8ca
cluster: emit 'message' event on cluster master
sam-github Feb 15, 2015
bf2cd22
process: resize stderr on SIGWINCH
Fishrock123 Jul 23, 2015
0a7bf81
deps: update V8 to 4.2.77.21
ofrobots Jul 24, 2015
d9f857d
doc: note about custom inspect functions
thefourtheye Jul 9, 2015
a3c1b97
doc: add GPG fingerprint for cjihrig
cjihrig Jul 21, 2015
77fa385
repl: fixing `undefined` in invalid REPL keyword error
thefourtheye Jul 12, 2015
30edb5a
repl: preventing REPL crash with inherited properties
thefourtheye Jul 12, 2015
81ea52a
repl: improving line continuation handling
thefourtheye Jul 12, 2015
afd7e37
repl: better empty line handling
thefourtheye Jul 12, 2015
68b06e9
tools: use local or specified $NODE for test-npm
Fishrock123 Jun 15, 2015
b73a746
deps: upgrade to npm 2.13.2
zkat Jul 24, 2015
fef190c
deps: make node-gyp work with io.js
cjihrig Feb 27, 2015
b148c0d
win,node-gyp: enable delay-load hook by default
piscisaureus Apr 15, 2015
8fd3ce1
src: make base64 decoding 50% faster
bnoordhuis Jul 15, 2015
ac70bc8
test: fix valgrind uninitialized memory warning
bnoordhuis Jul 16, 2015
99d9d7e
benchmark: add remaining path benchmarks & optimize
nwoltman Jul 4, 2015
93660c8
node: remove bad fn call and check
trevnorris Jul 10, 2015
4e78cd7
test: skip IPv6 part before testing it
thefourtheye Jul 22, 2015
2ca5a3d
https: reuse TLS sessions in Agent
indutny Jul 23, 2015
503b089
net: don't throw on immediately destroyed socket
evanlucas Jul 27, 2015
f2c83bd
timers: remove unused Timer.setRepeat()
bnoordhuis Jul 27, 2015
bcce5cf
timers: remove unused Timer.getRepeat()
bnoordhuis Jul 27, 2015
3663b12
timers: remove unused Timer.again()
bnoordhuis Jul 27, 2015
543dabb
timers: improve Timer.now() performance
bnoordhuis Jul 27, 2015
c786d63
test: do not use public IPs for timeout testing
Trott Jun 25, 2015
ab47965
util: delay creation of debug context
ofrobots Jul 25, 2015
3ce020b
2015-07-28 io.js v2.5.0 Release
cjihrig Jul 28, 2015
a4b4600
Working on v2.5.1
cjihrig Jul 28, 2015
54627a9
doc: server close event does not have an argument
sam-github Mar 2, 2015
500f253
doc: a listener, not "an" listener
sam-github Jul 28, 2015
d168d01
doc: properly inheriting from EventEmitter
thefourtheye Jul 12, 2015
bc733f7
test: fix fs.readFile('/dev/stdin') tests
bnoordhuis Jul 29, 2015
24dd016
build: produce symbol map files on windows
ofrobots Jul 25, 2015
3cbb587
tools: expose skip output to test runner
jbergstroem Jul 8, 2015
fa98b97
cluster: add handle ref/unref stubs in rr mode
bnoordhuis Jul 29, 2015
d5ab92b
test: use common.isWindows consistently
thefourtheye Jul 29, 2015
bf63266
deps: upgrade to npm 2.13.3
zkat Aug 1, 2015
2a63cf6
deps: make node-gyp work with io.js
cjihrig Feb 27, 2015
9bac1db
win,node-gyp: enable delay-load hook by default
piscisaureus Apr 15, 2015
80a1cf7
test: fix messages and use return to skip tests
thefourtheye Aug 2, 2015
64cf711
test: change the hostname to an invalid name
thefourtheye Aug 2, 2015
ea05e76
repl: don't clobber RegExp.$ properties
thefourtheye Jul 8, 2015
ed85c95
doc,test: documents behaviour of non-existent file
thefourtheye Jul 12, 2015
21d31c0
test: remove obsolete harmony flags
chrisdickinson May 5, 2015
d58e780
deps: update v8 to 4.3.61.21
chrisdickinson May 5, 2015
d12df7f
doc: update v8 flags in man page
targos May 14, 2015
df1994f
Revert "dns: remove AI_V4MAPPED hint flag on FreeBSD"
cjihrig Apr 29, 2015
9bc2e26
net: do not set V4MAPPED on FreeBSD
Mar 2, 2015
deb7ee9
deps: backport 7b24219346 from v8 upstream
rvagg May 27, 2015
23be6ca
buffer: allow ARGS_THIS to accept a name
trevnorris May 26, 2015
63da0df
buffer: implement Uint8Array backed Buffer
trevnorris May 26, 2015
d75f5c8
buffer: finish implementing FreeCallback
trevnorris Jun 1, 2015
571ec13
buffer: switch to using Maybe<T> API
trevnorris Jun 2, 2015
36f78f4
buffer: switch API to return MaybeLocal<T>
trevnorris Jun 2, 2015
8664084
buffer: make additional changes to native API
trevnorris Jun 2, 2015
944f680
crypto: remove kMaxLength on randomBytes()
trevnorris Jun 2, 2015
659dadd
vm: fix property descriptors of sandbox properties
domenic May 22, 2015
7b81e4b
vm: remove unnecessary access checks
domenic May 23, 2015
3b021ef
vm: fix symbol access
domenic Jun 1, 2015
3da057f
dgram: make send cb act as "error" event handler
chrisdickinson Jun 5, 2014
ef2c8cd
dgram: make send cb act as "error" event handler
mcollina May 26, 2015
11e4249
http_server: `prefinish` vs `finish`
indutny Apr 13, 2015
eea66e2
buffer: fix case of one buffer passed to concat
thefourtheye Jun 10, 2015
423d894
cluster: do not unconditionally set --debug-port
cjihrig Jun 11, 2015
b625ab4
buffer: fix usage of kMaxLength
trevnorris Jun 17, 2015
e5ada11
buffer: minor cleanup from rebase
trevnorris Jun 17, 2015
4643b8b
buffer: allow ArrayBuffer as Buffer argument
trevnorris Jun 17, 2015
70d1f32
deps: update v8 to 4.4.63.9
bnoordhuis Jun 19, 2015
ae731ec
test: don't use arguments.callee
bnoordhuis Jun 19, 2015
8e1a8ff
test: remove two obsolete pummel tests
bnoordhuis Jun 19, 2015
1057d11
buffer: rename internal/buffer_new.js to buffer.js
bnoordhuis Jun 19, 2015
902c9ca
node-gyp: make aware of nightly, next-nightly & rc
rvagg Jun 26, 2015
e52f963
node-gyp: download header tarball for compile
rvagg Jun 26, 2015
6f40b03
Working on v3.0.0
rvagg Jun 30, 2015
3aad4fa
deps: upgrade v8 to 4.4.63.12
bnoordhuis Jul 1, 2015
9d34bd1
src: increment NODE_MODULE_VERSION to 45
rvagg Jul 2, 2015
ef65321
node: do not override `message`/`stack` of error
indutny Jul 5, 2015
2d9456e
http: use official IANA Status Codes
jomo Jul 11, 2015
04fd4fa
src: introduce process.release object
rvagg Jan 18, 2015
9f727f5
node-gyp: detect RC build with x.y.z-rc.n format
rvagg Jul 13, 2015
e6ab2d9
buffer: fix not return on error
trevnorris Jul 22, 2015
b4226e7
build: first set of updates to enable PPC support
mhdawson Jul 7, 2015
2ba8b23
build: add 'x86' option back in to configure
rvagg Jul 24, 2015
60a974d
buffer: fix missing null/undefined check
trevnorris Jul 16, 2015
ba9ccf2
node: remove redundant --use-old-buffer
rvagg Jul 30, 2015
971de5e
build: prepare Windows installer for i18n support
fhemberger Jul 25, 2015
4cffaa3
readline: allow tabs in input
Trott May 21, 2015
2965442
http: fix agent.getName() and add tests
brendanashworth May 5, 2015
3d3c687
deps: update V8 to 4.4.63.26
targos Jul 27, 2015
d200932
src: disable vector ICs on arm
targos Jul 30, 2015
1721968
doc: document repl persistent history changes
Fishrock123 Aug 4, 2015
ceee8d2
test: add tests for persistent repl history
Fishrock123 Aug 2, 2015
f7d5e4c
repl: default persistence to ~/.node_repl_history
Fishrock123 Aug 4, 2015
ed6c249
repl: persist history in plain text
Fishrock123 Aug 3, 2015
13332e1
doc: fix heading levels for new repl documentation
rvagg Aug 4, 2015
6faf17c
2015-08-04 io.js v3.0.0 Release
rvagg Aug 1, 2015
a020d9a
Working on v3.0.1
rvagg Aug 4, 2015
d88194d
Working on v4.0.0
rvagg Aug 5, 2015
936c9ff
doc: multiple documentation updates cherry picked from v0.12
jasnell Jun 24, 2015
67987d9
test: address timing issues in simple http tests
gireeshpunathil Mar 18, 2015
5d2acfb
net: ensure Socket reported address is current
rmg Jul 2, 2015
03d2bd3
test: make listen-fd-cluster/server more robust
sam-github Jun 10, 2015
c399d17
tls: introduce internal `onticketkeycallback`
indutny Aug 8, 2015
6ad99ac
tls: fix check for reused session
indutny Aug 8, 2015
7d14dd9
util: display constructor when inspecting objects
monsanto Jun 10, 2015
b0dd3bf
build: update manifest to include Windows 10
LPGhatguy Aug 9, 2015
2db57bd
path: remove dead code in favor of unit tests
nwoltman Jul 31, 2015
226b8e0
test: clarify dropMembership() call
Trott Jun 26, 2015
ae05807
build: expand ~ in install prefix early
bnoordhuis Aug 5, 2015
ad7f744
src: add total_available_size to v8 statistics
r-52 Aug 11, 2015
847459c
crypto: show exponent in decimal and hex
iamthechad Aug 7, 2015
a642a76
test: option to run a subset of tests
joaocgreis Jul 27, 2015
6dc01eb
build: Intl: bump ICU4C from 54 to 55
srl295 Aug 3, 2015
2781333
build: intl: converge from joyent/node
srl295 Aug 13, 2015
6457746
src: plug memory leaks
bnoordhuis Aug 7, 2015
b86211a
src: move internal functions out of node_buffer.h
bnoordhuis Aug 13, 2015
9a3929d
src: introduce internal Buffer::Copy() function
bnoordhuis Aug 13, 2015
8841947
src: rename Buffer::Use() to Buffer::New()
bnoordhuis Aug 13, 2015
4c06515
build: work around VS2015 issue in ICU <56
srl295 Jul 31, 2015
a593cb7
src: don't use fopen() in require() fast path
bnoordhuis Aug 13, 2015
1a3b295
path: use '===' instead of '==' for comparison
Aug 15, 2015
6fff0f7
test: correct spelling of 'childProcess'
muddletoes Nov 12, 2014
b48385a
src: fix memory leak in DLOpen
skomski Aug 14, 2015
98d7aee
crypto: fix memory leak in SetDHParam
skomski Aug 14, 2015
dbecb21
crypto: fix memory leak in SafeX509ExtPrint
skomski Aug 14, 2015
4b61cb0
crypto: fix memory leak in PublicKeyCipher::Cipher
skomski Aug 14, 2015
12ab8cf
crypto: fix memory leak in ECDH::SetPrivateKey
skomski Aug 14, 2015
a40ae51
crypto: fix memory leak in PBKDF2Request
skomski Aug 14, 2015
7bdf7da
tools: run the tick processor without building v8
Jul 1, 2015
102939a
tls: fix throughput issues after incorrect merge
indutny Aug 14, 2015
00bffa6
crypto: check for OpenSSL errors when signing
pmq20 Aug 18, 2015
90a2671
src: better error message on failed Buffer malloc
skomski Aug 17, 2015
522f8a8
test: refactor test-fs-watchfile.js
Trott Aug 15, 2015
3ba9793
doc: clarify options for fs.watchFile()
Trott Aug 18, 2015
8f4022e
test: lint addon tests
bnoordhuis Aug 18, 2015
7111928
test: drop Isolate::GetCurrent() from addon tests
bnoordhuis Aug 18, 2015
d98eed5
Update FIPS instructions in README.md
mhdawson Jul 30, 2015
8f58fb9
events: deprecate static listenerCount function
thefourtheye Aug 11, 2015
04722d1
test: improve test-net-pingpong
brendanashworth Aug 18, 2015
2052941
test: improve test-net-server-pause-on-connect
brendanashworth Aug 18, 2015
0d39d35
test: reduce timeouts in test-net-keepalive
brendanashworth Aug 18, 2015
291b310
stream_base: various improvements
indutny Aug 11, 2015
3849750
repl: dont throw ENOENT on NODE_REPL_HISTORY_FILE
toddself Aug 19, 2015
518a4d0
test: disallow unreachable code
targos Aug 20, 2015
2235fad
test: remove unreachable code
targos Aug 2, 2015
ec6e5c7
doc: fix spelling mistake in node.js comment
YafahEdelman Aug 15, 2015
f1810ed
tls: handle empty cert in checkServerIndentity
Aug 10, 2015
34985a1
crypto: fix mem {de}allocation in ExportChallenge
skomski Aug 12, 2015
5ce0f63
doc: add TSC meeting minutes 2015-07-22
rvagg Aug 19, 2015
1c20b87
src: improve startup time
evanlucas Aug 21, 2015
68e53dd
string_bytes: fix unaligned write in UCS2
indutny Aug 20, 2015
43660ad
buffer: reapply 07c0667
indutny Aug 21, 2015
ce145bf
repl: filter integer keys from repl tab complete list
jasnell Aug 17, 2015
d9f9fcb
doc: add audio recording links to TSC meeting minutes
rvagg Aug 20, 2015
b96cd52
doc: fix links to original gh issues for TSC meetings
rvagg Aug 20, 2015
51cf983
doc: fix links to original converged repo
rvagg Aug 20, 2015
f196e44
doc: add TSC meeting minutes 2015-06-03
rvagg Aug 20, 2015
9eecbac
doc: add TSC meeting minutes 2015-08-19
rvagg Aug 20, 2015
4b1c27f
doc: add TSC meeting minutes 2015-07-29
rvagg Aug 19, 2015
ccc790b
doc: update AUTHORS list
rvagg Aug 6, 2015
31188b7
tools: fix anchors in generated documents
thefourtheye Aug 22, 2015
b125ad1
fs: replace bad_args macro with concrete error msg
romankl Aug 22, 2015
8af5962
test: add spaces after keywords
brendanashworth Aug 18, 2015
96a2b2d
tools: enable space-after-keywords in eslint
brendanashworth Aug 18, 2015
ba50c2d
doc: update AUTHORS list
rvagg Aug 23, 2015
3a7be23
doc: document response.finished in http.markdown
liveinjs Dec 10, 2013
5ba868f
tls: add --tls-cipher-list command line switch
jasnell Aug 17, 2015
b897af4
tools: add license boilerplate to check-imports.sh
jasnell Aug 15, 2015
f3c3b23
doc: fix comments in tls_wrap.cc and _http_client.js
JungMinu Aug 22, 2015
ae8d436
test: use reserved IP in test-net-connect-timeout
Trott Jul 28, 2015
a69ab27
node: rename from io.js to node
cjihrig Aug 13, 2015
45a2046
installer: fix installers for node.js rename
fhemberger Aug 20, 2015
4f50d3f
process: make process.release.name "node"
cjihrig Aug 21, 2015
3b60252
node: additional cleanup for node rename
cjihrig Aug 23, 2015
93e2830
doc: document deprecation of util.is* functions
thefourtheye Aug 19, 2015
cded6e7
doc: fix CHANGELOG.md on master
silverwind Aug 24, 2015
5c77031
doc: make the deprecations consistent
thefourtheye Aug 19, 2015
0acc9b2
win: fix custom actions on Visual Studio != 2013
Jun 19, 2015
bce1aea
win: fix custom actions for WiX older than 3.9
joaocgreis Jul 21, 2015
6480f42
test: remove test-timers-first-fire
joaocgreis Aug 20, 2015
2d251e6
module: fix module preloading when cwd is ENOENT
bmeck Aug 12, 2015
1a3f4a8
stream: fix off-by-factor-16 error in comment
bnoordhuis Aug 20, 2015
3af8e45
stream: micro-optimize high water mark calculation
bnoordhuis Aug 20, 2015
caa0d0c
stream: rename poorly named function
bnoordhuis Aug 20, 2015
ecb840c
build: use required platform in android-configure
evanlucas Aug 23, 2015
d616768
test: refactor test-https-simple.js
Trott Aug 19, 2015
f9539c1
doc: update changelog for io.js v3.2.0
rvagg Aug 23, 2015
1aa9d3a
build: make ci test addons in test/addons
bnoordhuis Aug 18, 2015
a2e4341
tools: make add-on scraper print filenames
bnoordhuis Aug 20, 2015
b630eba
win,msi: Upgrade from old upgrade code
joaocgreis Aug 18, 2015
7e63eb7
test: make spawnSync() test robust
Trott Aug 25, 2015
8cdac78
doc: add internal modules notice
Fishrock123 Aug 24, 2015
d895d4a
build: only define NODE_V8_OPTIONS if not empty
evanlucas Aug 25, 2015
fffa4c2
test: speed up test-child-process-spawnsync.js
Trott Aug 25, 2015
cc912b9
doc: Clarify the module.parent is set once
jasnell Aug 14, 2015
e7e0706
doc: correct grammar in cluster.markdown
jasnell Aug 14, 2015
4215d28
doc: code style cleanups in repl.markdown
jasnell Aug 14, 2015
dc27ff4
doc: small clarifications to modules.markdown
jasnell Aug 14, 2015
aebc2d1
doc: update path.extname documentation
jasnell Aug 14, 2015
5299a74
doc: improve working in stream.markdown
jasnell Aug 14, 2015
db4cb33
doc: clarification on the 'close' event
jasnell Aug 14, 2015
7860977
doc: update description of fs.exists in fs.markdown
jasnell Aug 14, 2015
36151d6
doc: fixed typo in net.markdown (missing comma)
jasnell Aug 14, 2015
3cecff3
doc: small typo in domain.markdown
jasnell Aug 14, 2015
0679dcc
doc: update parameter name in net.markdown
jasnell Aug 14, 2015
281be6c
doc: fix minor types and grammar in fs docs
jasnell Aug 14, 2015
c549c8b
doc: port is optional for socket.bind()
jasnell Aug 14, 2015
89788dc
doc: fixed worker.id type
jasnell Aug 14, 2015
a5b7852
doc: update tense in child_process.markdown
jasnell Aug 14, 2015
ac0563f
doc: remove 'dudes' from documentation
jasnell Aug 14, 2015
c58a63a
doc: remove repeated statement in globals.markdown
jasnell Aug 14, 2015
b11ba27
doc: minor grammatical update
jasnell Aug 14, 2015
758d02e
doc: minor grammatical update in crypto.markdown
jasnell Aug 14, 2015
09768e3
doc: minor additional corrections and improvements
jasnell Aug 22, 2015
2e8bb62
doc: fix bad merge on modules.markdown
jasnell Aug 26, 2015
b6a4c05
doc: reorg release team to separate section
rvagg Aug 20, 2015
b0962c3
doc: add @jasnell and @sam-github to release team
rvagg Aug 20, 2015
c95ca0b
src: missing Exception::Error in node_http_parser
Fishrock123 Aug 25, 2015
972a57c
test: make test-process-argv-0 robust
Trott Aug 25, 2015
b266074
env: introduce `KickNextTick`
indutny Aug 26, 2015
607bbd3
http_parser: consume StreamBase instance
indutny Aug 12, 2015
f55926a
debugger: use strict equality comparison
JungMinu Aug 26, 2015
c8caf8d
test: runner support for flaky tests
orangemocha Nov 7, 2014
8c41b9a
test: runner should return 0 on flaky tests
orangemocha Jul 7, 2015
ff05953
test: add test configuration templates
orangemocha Aug 18, 2015
6195b46
test: support flaky tests in test-ci
orangemocha Aug 26, 2015
e822a4b
test: pass args to test-ci via env variable
orangemocha Aug 26, 2015
34e25b2
test: initial list of flaky tests
orangemocha Aug 26, 2015
bdef668
test: handling failure cases properly
thefourtheye Jul 19, 2015
87df7d3
crypto: Use OPENSSL_cleanse to shred the data.
ChALkeR Aug 27, 2015
d6714ff
doc: minor clarification in buffer.markdown
ChALkeR Aug 27, 2015
a43af39
src: DRY getsockname/getpeername code
bnoordhuis Feb 25, 2015
f337595
lib,src: add unix socket getsockname/getpeername
bnoordhuis Feb 25, 2015
7a999a1
lib: add net.Socket#localFamily property
bnoordhuis Mar 5, 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.
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
lib/punycode.js
test/addons/doc-*/
test/fixtures
test/**/node_modules
test/parallel/test-fs-non-number-arguments-throw.js
test/disabled
test/tmp*/
106 changes: 106 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
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

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
7 changes: 7 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,7 @@ icu_config.gypi

# various stuff that VC++ produces/uses
Debug/
!node_modules/debug/
Release/
!doc/blog/**
*.sln
Expand Down Expand Up @@ -76,3 +79,7 @@ deps/zlib/zlib.target.mk
tools/faketime
icu_config.gypi
test.tap

# Xcode workspaces and project folders
*.xcodeproj
*.xcworkspace
9 changes: 8 additions & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ 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>
Expand All @@ -76,6 +77,7 @@ Maciej Małecki <maciej.malecki@notimplemented.org> <me@mmalecki.com>
Malte-Thorben Bruns <skenqbx@gmail.com>
Malte-Thorben Bruns <skenqbx@googlemail.com>
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 +94,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,7 +113,8 @@ 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>
Expand All @@ -129,6 +135,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
48 changes: 45 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,46 @@ 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>

# 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