Michaël Zasso
2d441493a4
tools: update eslint to v1.10.3
PR-URL: https://github.com/nodejs/io.js/pull/2286
Reviewed-By: Roman Reiss <me@silverwind.io>
9 years ago
Yosuke Furukawa
f9dd34d301
tools: replace closure-linter with eslint
PR-URL: https://github.com/iojs/io.js/pull/1539
Fixes: https://github.com/iojs/io.js/issues/1253
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
10 years ago
Forrest L Norvell
9dc8f59fea
deps: upgrade npm to 2.2.0
PR-URL: https://github.com/iojs/io.js/pull/479
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rod Vagg <rod@vagg.org>
10 years ago
isaacs
3e1b1dd4a9
Remove excessive copyright/license boilerplate
The copyright and license notice is already in the LICENSE file. There
is no justifiable reason to also require that it be included in every
file, since the individual files are not individually distributed except
as part of the entire package.
10 years ago
Forrest L Norvell
e79ccee168
npm: upgrade to v2.1.18
PR-URL: https://github.com/iojs/io.js/pull/266
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
10 years ago
Timothy J Fontaine
28ae70ebad
npm: Upgrade to v2.1.6
10 years ago
Timothy J Fontaine
daca803e9e
npm: Update to 1.4.28
10 years ago
Fedor Indutny
9d9fc3fa30
lib: jslint string_decoder.js
11 years ago
Felix Geisendörfer
80eff96829
string_decoder: Add more comments
11 years ago
Felix Geisendörfer
9fbd0f0f7d
string_decoder: Fix failures from new test cases
This patch simplifies the implementation of StringDecoder, fixes the
failures from the new test cases, and also no longer relies on v8's
WriteUtf8 function to encode individual surrogates.
11 years ago
isaacs
314c6b3060
Don't allow invalid encodings in StringDecoder class
12 years ago
isaacs
061f2075cf
string_decoder: Add 'end' method, do base64 properly
12 years ago
koichik
40c4beeb57
string_decoder: added support for UTF-16LE
Fixes #3223 .
13 years ago
koichik
ceb51ddaa1
string_decoder: add support for CESU-8
Fixes #3217 .
13 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Ryan Dahl
dd53ceebe4
lint
14 years ago
Ryan Dahl
069d973d74
Remove require('buffer') in built-in libraries.
14 years ago
Blake Mizerany
8c8534046c
fix whitespace errors
15 years ago
Ryan Dahl
5e86d01385
Revert "Buffer.copy should copy through sourceEnd, as specified."
This reverts commit a2f70da4c9
.
Keep tests modifies a few edge checks on Copy()
15 years ago
Matt Ranney
a2f70da4c9
Buffer.copy should copy through sourceEnd, as specified.
Improve test-buffer.js to cover all copy error cases.
Fix off by one error in string_decoder.
15 years ago
Ryan Dahl
6bed15e074
Refactor: Utf8Decoder -> StringDecoder
Instead of just decoding Utf8, this will proxy requests to buffer.toString()
for other encodings. This makes for a simpler interface.
15 years ago
Felix Geisendörfer
caba9c70c3
Implemented Utf8Decoder module
Allows to safely decode a utf8 stream into strings without breaking
on multibyte characters.
15 years ago