summaryrefslogtreecommitdiff
path: root/lib/string_decoder.js
Commit message (Collapse)AuthorAgeFilesLines
* src: enable strict mode in all builtin modulesJulien Gilli2015-03-031-0/+2
| | | | | | | | | | | This is a follow-up commit for b233131901dea47132b0748d8e4d6bfcbba28abe. It enables strict mode in all built-in modules. PR: #9302 PR-URL: https://github.com/joyent/node/pull/9302 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
* lib: jslint string_decoder.jsFedor Indutny2014-07-151-2/+2
|
* string_decoder: Add more commentsFelix Geisendörfer2014-06-061-0/+25
|
* string_decoder: Fix failures from new test casesFelix Geisendörfer2014-06-061-25/+21
| | | | | | 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.
* Don't allow invalid encodings in StringDecoder classisaacs2012-12-131-0/+7
|
* string_decoder: Add 'end' method, do base64 properlyisaacs2012-10-111-0/+26
|
* string_decoder: added support for UTF-16LEkoichik2012-05-051-40/+63
| | | | Fixes #3223.
* string_decoder: add support for CESU-8koichik2012-05-051-14/+35
| | | | Fixes #3217.
* Update copyright headersRyan Dahl2011-03-141-0/+21
|
* Fix global leaksRyan Dahl2010-12-041-1/+1
|
* lintRyan Dahl2010-12-011-7/+8
|
* Remove require('buffer') in built-in libraries.Ryan Dahl2010-09-281-2/+0
|
* fix whitespace errorsBlake Mizerany2010-06-291-1/+1
|
* Revert "Buffer.copy should copy through sourceEnd, as specified."Ryan Dahl2010-06-291-2/+2
| | | | | | This reverts commit a2f70da4c9bf14a6e0c4a17cac11a5ab555ce90f. Keep tests modifies a few edge checks on Copy()
* Buffer.copy should copy through sourceEnd, as specified.Matt Ranney2010-06-251-2/+2
| | | | | | Improve test-buffer.js to cover all copy error cases. Fix off by one error in string_decoder.
* Refactor: Utf8Decoder -> StringDecoderRyan Dahl2010-06-151-0/+92
Instead of just decoding Utf8, this will proxy requests to buffer.toString() for other encodings. This makes for a simpler interface.