]> git.codecow.com Git - buffer.git/log
buffer.git
10 years ago3.6.0
Feross Aboukhadijeh [Fri, 25 Dec 2015 06:37:54 +0000 (15:37 +0900)]
3.6.0

10 years agoMerge pull request #88 from feross/79
Feross Aboukhadijeh [Fri, 25 Dec 2015 06:37:16 +0000 (15:37 +0900)]
Merge pull request #88 from feross/79

Proper strict mode support. Fixes #79

10 years agoMerge pull request #89 from feross/document-testing
Feross Aboukhadijeh [Fri, 25 Dec 2015 06:01:37 +0000 (15:01 +0900)]
Merge pull request #89 from feross/document-testing

Document how to test the project

10 years agoDocument how to test the project
Nolan Lawson [Thu, 24 Dec 2015 21:51:16 +0000 (13:51 -0800)]
Document how to test the project

[skip ci]

10 years agoProper strict mode support. Fixes #79
Nolan Lawson [Thu, 24 Dec 2015 05:37:44 +0000 (21:37 -0800)]
Proper strict mode support. Fixes #79

10 years agoMerge pull request #87 from feross/microsoftedge
Feross Aboukhadijeh [Sun, 20 Dec 2015 21:22:57 +0000 (10:22 +1300)]
Merge pull request #87 from feross/microsoftedge

zuul: test microsoft edge

10 years agozuul: test microsoft edge
Feross Aboukhadijeh [Sun, 20 Dec 2015 00:39:31 +0000 (13:39 +1300)]
zuul: test microsoft edge

10 years ago3.5.5
Feross Aboukhadijeh [Fri, 11 Dec 2015 11:21:45 +0000 (00:21 +1300)]
3.5.5

10 years agoisarray@1
Feross Aboukhadijeh [Fri, 11 Dec 2015 11:21:06 +0000 (00:21 +1300)]
isarray@1

10 years ago3.5.4
Feross Aboukhadijeh [Sun, 6 Dec 2015 03:00:30 +0000 (19:00 -0800)]
3.5.4

10 years agoMerge pull request #85 from jscissr/isarray
Feross Aboukhadijeh [Sun, 6 Dec 2015 02:49:50 +0000 (18:49 -0800)]
Merge pull request #85 from jscissr/isarray

Use isarray instead of is-array

10 years agoUse isarray instead of is-array
Jan Schär [Sat, 5 Dec 2015 16:28:33 +0000 (17:28 +0100)]
Use isarray instead of is-array

Because isarray is 10x more popular

10 years ago3.5.3
Feross Aboukhadijeh [Tue, 1 Dec 2015 00:42:56 +0000 (16:42 -0800)]
3.5.3

10 years agofix test for IE8/9
Feross Aboukhadijeh [Tue, 1 Dec 2015 00:17:09 +0000 (16:17 -0800)]
fix test for IE8/9

10 years agobrowserify@12
Feross Aboukhadijeh [Tue, 1 Dec 2015 00:09:14 +0000 (16:09 -0800)]
browserify@12

10 years agoMerge pull request #84 from guybedford/master
Feross Aboukhadijeh [Mon, 30 Nov 2015 23:29:12 +0000 (15:29 -0800)]
Merge pull request #84 from guybedford/master

jspm configuration support

10 years agojspm configuration support
Guy Bedford [Mon, 30 Nov 2015 15:46:22 +0000 (17:46 +0200)]
jspm configuration support

10 years agoadd test for #83
Feross Aboukhadijeh [Tue, 17 Nov 2015 00:18:21 +0000 (16:18 -0800)]
add test for #83

10 years ago3.5.2
Feross Aboukhadijeh [Sat, 14 Nov 2015 07:13:05 +0000 (23:13 -0800)]
3.5.2

10 years agozuul: change ios 9.0 tests to 9.1
Feross Aboukhadijeh [Sat, 14 Nov 2015 00:48:22 +0000 (16:48 -0800)]
zuul: change ios 9.0 tests to 9.1

10 years agozuul: remove safari 5 test
Feross Aboukhadijeh [Sat, 14 Nov 2015 00:48:04 +0000 (16:48 -0800)]
zuul: remove safari 5 test

I’m attempting to make the zuul browser tests more reliable by removing
browsers that have small marketshare. Safari 5 is < 1%.

10 years agozuul: fix safari version
Feross Aboukhadijeh [Fri, 13 Nov 2015 02:29:49 +0000 (18:29 -0800)]
zuul: fix safari version

10 years agoMerge pull request #82 from hakatashi/codepoint-over-20000
Daniel Cousens [Fri, 13 Nov 2015 01:17:11 +0000 (12:17 +1100)]
Merge pull request #82 from hakatashi/codepoint-over-20000

Fix fatal error of surrogte pair

10 years agoFix fatal error of surrogte pair
Koki Takahashi [Thu, 12 Nov 2015 09:20:25 +0000 (18:20 +0900)]
Fix fatal error of surrogte pair

Current implementation of surrogate pair doesn't take codepoints over
U+20000 into consideration. This is invalid since original specification
of UTF-16 is valid until U+10FFFF.

10 years ago3.5.1
Feross Aboukhadijeh [Wed, 7 Oct 2015 02:30:43 +0000 (19:30 -0700)]
3.5.1

10 years agosauce: skip old point releases of safari
Feross Aboukhadijeh [Wed, 7 Oct 2015 01:42:13 +0000 (18:42 -0700)]
sauce: skip old point releases of safari

10 years agosauce: test latest 3 chrome/firefox versions
Feross Aboukhadijeh [Wed, 7 Oct 2015 01:36:55 +0000 (18:36 -0700)]
sauce: test latest 3 chrome/firefox versions

10 years agotravis: test on node 4
Feross Aboukhadijeh [Wed, 7 Oct 2015 00:11:43 +0000 (17:11 -0700)]
travis: test on node 4

10 years agoMerge pull request #81 from calvinmetcalf/older-android
Daniel Cousens [Tue, 6 Oct 2015 23:29:20 +0000 (10:29 +1100)]
Merge pull request #81 from calvinmetcalf/older-android

fix overflow in older android

10 years agomask values to prevent them from overflowing
Calvin Metcalf [Tue, 6 Oct 2015 22:43:33 +0000 (18:43 -0400)]
mask values to prevent them from overflowing

10 years agofailing test on android
Calvin Metcalf [Tue, 6 Oct 2015 20:16:22 +0000 (16:16 -0400)]
failing test on android

10 years agotest against older android
Calvin Metcalf [Tue, 6 Oct 2015 17:54:17 +0000 (13:54 -0400)]
test against older android

10 years agostandard
Feross Aboukhadijeh [Fri, 18 Sep 2015 22:39:31 +0000 (15:39 -0700)]
standard

10 years agostandard
Feross Aboukhadijeh [Wed, 16 Sep 2015 21:23:13 +0000 (14:23 -0700)]
standard

10 years ago3.5.0
Feross Aboukhadijeh [Wed, 16 Sep 2015 06:30:00 +0000 (23:30 -0700)]
3.5.0

10 years agoreadme
Feross Aboukhadijeh [Wed, 16 Sep 2015 06:04:25 +0000 (23:04 -0700)]
readme

10 years agoAdd `instanceof Buffer` support (fix #40)
Feross Aboukhadijeh [Wed, 16 Sep 2015 05:29:21 +0000 (22:29 -0700)]
Add `instanceof Buffer` support (fix #40)

10 years agotest: set TYPED_ARRAY_SUPPORT via global
Feross Aboukhadijeh [Wed, 16 Sep 2015 05:21:05 +0000 (22:21 -0700)]
test: set TYPED_ARRAY_SUPPORT via global

This change is to prepare for proper `instanceof Buffer` support.

When testing the Object implementation, we’ll want to exclude the code
that changes the Buffer’s __proto__ values and it won’t be enough to
just set `Buffer.TYPED_ARRAY_SUPPORT = false` like we were doing before.

10 years agoadd link to standalone bundle (fix #76)
Feross Aboukhadijeh [Sun, 30 Aug 2015 20:17:33 +0000 (22:17 +0200)]
add link to standalone bundle (fix #76)

10 years ago3.4.3
Feross Aboukhadijeh [Sat, 22 Aug 2015 13:07:45 +0000 (15:07 +0200)]
3.4.3

10 years agohave a dedicated function for decoding code point arrays
Jesse Tane [Sat, 22 Aug 2015 10:56:23 +0000 (06:56 -0400)]
have a dedicated function for decoding code point arrays

10 years agorevert to old binary slice
Jesse Tane [Sat, 22 Aug 2015 10:55:43 +0000 (06:55 -0400)]
revert to old binary slice

10 years agoreduce MAX_ARGUMENTS_LENGTH, re resolves #69
Daniel Cousens [Thu, 20 Aug 2015 23:49:36 +0000 (09:49 +1000)]
reduce MAX_ARGUMENTS_LENGTH, re resolves #69

10 years agoMerge pull request #73 from jessetane/utf8-replacement-chars
Daniel Cousens [Mon, 17 Aug 2015 00:23:40 +0000 (10:23 +1000)]
Merge pull request #73 from jessetane/utf8-replacement-chars

utf8Slice: don't replace the replacement character

10 years agoutf8Slice: don't replace the replacement character
Jesse Tane [Sun, 16 Aug 2015 22:33:56 +0000 (18:33 -0400)]
utf8Slice: don't replace the replacement character

10 years agoadd failing test for replacing the utf8 replacement char
Jesse Tane [Sun, 16 Aug 2015 22:33:13 +0000 (18:33 -0400)]
add failing test for replacing the utf8 replacement char

10 years agoextract magic constant, add [0,len] special case
Daniel Cousens [Sat, 15 Aug 2015 16:39:23 +0000 (02:39 +1000)]
extract magic constant, add [0,len] special case

10 years agoMerge pull request #72 from nolanlawson/71
Daniel Cousens [Sat, 15 Aug 2015 16:21:13 +0000 (02:21 +1000)]
Merge pull request #72 from nolanlawson/71

Improve perf of fromCharCode(), fixes #71

10 years agoimprove perf of fromCharCode(), fixes #71
Nolan Lawson [Sat, 15 Aug 2015 16:00:13 +0000 (12:00 -0400)]
improve perf of fromCharCode(), fixes #71

10 years agoavoid unnecessary hoisting
Daniel Cousens [Sat, 15 Aug 2015 16:03:33 +0000 (02:03 +1000)]
avoid unnecessary hoisting

10 years agoavoid duplicate function
Daniel Cousens [Sat, 15 Aug 2015 15:55:27 +0000 (01:55 +1000)]
avoid duplicate function

10 years agoinline i declarations
Daniel Cousens [Sat, 15 Aug 2015 15:52:25 +0000 (01:52 +1000)]
inline i declarations

10 years agorestructure decodeCodePointsArray comment
Daniel Cousens [Sat, 15 Aug 2015 15:52:12 +0000 (01:52 +1000)]
restructure decodeCodePointsArray comment

10 years agoMerge pull request #70 from nolanlawson/69
Daniel Cousens [Sat, 15 Aug 2015 15:44:34 +0000 (01:44 +1000)]
Merge pull request #70 from nolanlawson/69

Fix call stack exceeded in #69

10 years agofix call stack exceeded in #69
Nolan Lawson [Sat, 15 Aug 2015 15:11:02 +0000 (11:11 -0400)]
fix call stack exceeded in #69

10 years agoMerge pull request #68 from LinusU/standard-style
Feross Aboukhadijeh [Fri, 14 Aug 2015 21:37:45 +0000 (23:37 +0200)]
Merge pull request #68 from LinusU/standard-style

adhere to padded-blocks

10 years agoadhere to padded-blocks
Linus Unnebäck [Fri, 14 Aug 2015 20:29:44 +0000 (22:29 +0200)]
adhere to padded-blocks

10 years ago3.4.2
Feross Aboukhadijeh [Thu, 13 Aug 2015 11:17:19 +0000 (13:17 +0200)]
3.4.2

10 years agoinvert logic to decrease branching depth
Daniel Cousens [Tue, 11 Aug 2015 14:33:19 +0000 (00:33 +1000)]
invert logic to decrease branching depth

10 years agodeclare i inline
Daniel Cousens [Tue, 11 Aug 2015 14:29:25 +0000 (00:29 +1000)]
declare i inline

10 years agoMerge pull request #67 from jessetane/utf8-replacement-chars
Daniel Cousens [Tue, 11 Aug 2015 13:15:50 +0000 (23:15 +1000)]
Merge pull request #67 from jessetane/utf8-replacement-chars

Insert replacement characters like node does when converting UTF8 bytes to String

10 years agoreplace unicode in the surrogate pair range the way node@3 does
Jesse Tane [Tue, 11 Aug 2015 04:44:05 +0000 (00:44 -0400)]
replace unicode in the surrogate pair range the way node@3 does

10 years agoadd failing test for missing replacement characters in the surrogate pair range
Jesse Tane [Tue, 11 Aug 2015 04:43:36 +0000 (00:43 -0400)]
add failing test for missing replacement characters in the surrogate pair range

10 years agostandardize
Jesse Tane [Tue, 11 Aug 2015 03:45:07 +0000 (23:45 -0400)]
standardize

10 years agounicode top should be 0x10FFFF
Jesse Tane [Tue, 11 Aug 2015 03:36:15 +0000 (23:36 -0400)]
unicode top should be 0x10FFFF

10 years agodo utf8 -> unicode -> utf16 the way node does
Jesse Tane [Tue, 11 Aug 2015 02:56:19 +0000 (22:56 -0400)]
do utf8 -> unicode -> utf16 the way node does

10 years agoadd readUtf8 benchmark
Jesse Tane [Tue, 11 Aug 2015 02:55:17 +0000 (22:55 -0400)]
add readUtf8 benchmark

10 years agoadd failing toString tests
Jesse Tane [Tue, 11 Aug 2015 02:54:44 +0000 (22:54 -0400)]
add failing toString tests

10 years ago3.4.1
Feross Aboukhadijeh [Thu, 6 Aug 2015 12:26:18 +0000 (14:26 +0200)]
3.4.1

10 years agotests: fix ascending test description
Daniel Cousens [Thu, 6 Aug 2015 12:12:27 +0000 (22:12 +1000)]
tests: fix ascending test description

10 years agosplit ascending/descending copy tests
Daniel Cousens [Thu, 6 Aug 2015 12:11:11 +0000 (22:11 +1000)]
split ascending/descending copy tests

10 years agoMerge pull request #65 from kawanet/descending_copy
Daniel Cousens [Thu, 6 Aug 2015 12:09:23 +0000 (22:09 +1000)]
Merge pull request #65 from kawanet/descending_copy

descending copy from end

10 years agodescending copy from end
kawanet [Thu, 6 Aug 2015 10:13:09 +0000 (19:13 +0900)]
descending copy from end

10 years ago3.4.0
Feross Aboukhadijeh [Wed, 5 Aug 2015 12:49:04 +0000 (14:49 +0200)]
3.4.0

10 years agostandard@5
Feross Aboukhadijeh [Wed, 5 Aug 2015 12:44:55 +0000 (14:44 +0200)]
standard@5

10 years agobrowserify@11
Feross Aboukhadijeh [Wed, 5 Aug 2015 12:44:51 +0000 (14:44 +0200)]
browserify@11

10 years agoArrayBuffer support in Buffer constructor
Feross Aboukhadijeh [Wed, 5 Aug 2015 12:44:46 +0000 (14:44 +0200)]
ArrayBuffer support in Buffer constructor

10 years agotest: run arraybuffer test only with typed array supprot
Feross Aboukhadijeh [Wed, 5 Aug 2015 12:44:13 +0000 (14:44 +0200)]
test: run arraybuffer test only with typed array supprot

10 years agoFixing the special case in Buffer.concat
Feross Aboukhadijeh [Wed, 5 Aug 2015 08:41:09 +0000 (10:41 +0200)]
Fixing the special case in Buffer.concat

See: https://github.com/nodejs/io.js/pull/1937

10 years agotest: update tests for iojs 3.0.0
Feross Aboukhadijeh [Wed, 5 Aug 2015 08:40:33 +0000 (10:40 +0200)]
test: update tests for iojs 3.0.0

10 years ago3.3.2
Feross Aboukhadijeh [Tue, 4 Aug 2015 13:58:58 +0000 (15:58 +0200)]
3.3.2

10 years agofix regression in PR #64
Feross Aboukhadijeh [Tue, 4 Aug 2015 13:42:13 +0000 (15:42 +0200)]
fix regression in PR #64

_ is an allowed character, used in "url safe" base 64, which node
supports

10 years agoMerge branch 'daverayment-master'
Feross Aboukhadijeh [Tue, 4 Aug 2015 13:35:48 +0000 (15:35 +0200)]
Merge branch 'daverayment-master'

10 years agoTest for updated base 64 regex
daverayment [Tue, 4 Aug 2015 10:00:45 +0000 (11:00 +0100)]
Test for updated base 64 regex

Confirm that non-base 64 alphabet characters are correctly stripped out.

10 years agoFix base 64 character exclusion regex
daverayment [Tue, 4 Aug 2015 09:53:47 +0000 (10:53 +0100)]
Fix base 64 character exclusion regex

Using [A-z] in the regex brings in non-alphanumeric characters between the uppercase and lowercase alphabets, meaning the following chars were not correctly stripped from base 64 strings: left and right square bracket, backslash, caret, underline, and backtick. Explicitly separating the uppercase and lowercase letter ranges fixes this.

10 years agotravis: use container builds
Feross Aboukhadijeh [Thu, 30 Jul 2015 08:29:41 +0000 (01:29 -0700)]
travis: use container builds

10 years agomore compact typed array feature detection
Feross Aboukhadijeh [Thu, 30 Jul 2015 07:41:34 +0000 (00:41 -0700)]
more compact typed array feature detection

10 years agofix documentation on typed array detection
Feross Aboukhadijeh [Thu, 30 Jul 2015 07:38:00 +0000 (00:38 -0700)]
fix documentation on typed array detection

10 years agoMerge pull request #62 from Null000/patch-1
Daniel Cousens [Thu, 23 Jul 2015 04:41:47 +0000 (14:41 +1000)]
Merge pull request #62 from Null000/patch-1

Rename the second foo into a bar

10 years agoRename the second foo into a bar
Damjan Košir [Thu, 23 Jul 2015 04:33:28 +0000 (16:33 +1200)]
Rename the second foo into a bar

10 years agotest: saucelabs removed ios 4.3 and 5.0
Feross Aboukhadijeh [Mon, 13 Jul 2015 21:53:56 +0000 (14:53 -0700)]
test: saucelabs removed ios 4.3 and 5.0

10 years ago3.3.1
Feross Aboukhadijeh [Tue, 7 Jul 2015 19:58:18 +0000 (12:58 -0700)]
3.3.1

10 years agostyle
Feross Aboukhadijeh [Tue, 7 Jul 2015 19:49:51 +0000 (12:49 -0700)]
style

10 years agoMerge pull request #61 from parshap/constructor-property
Feross Aboukhadijeh [Tue, 7 Jul 2015 19:49:13 +0000 (12:49 -0700)]
Merge pull request #61 from parshap/constructor-property

Fix issue with setting constructor in Safari 5

10 years agoEnsure typed array constructor property can be set
Parsha Pourkhomami [Tue, 7 Jul 2015 19:08:01 +0000 (12:08 -0700)]
Ensure typed array constructor property can be set

Otherwise set TYPED_ARRAY_SUPPORT to false and fallback to the object
implementation.

10 years agoTest buf.constructor is set to Buffer
Parsha Pourkhomami [Tue, 7 Jul 2015 19:02:07 +0000 (12:02 -0700)]
Test buf.constructor is set to Buffer

Currently fails in Safari 5.1. See https://saucelabs.com/beta/tests/c99d86b2a82944539bbb1fe25a8506d3

10 years agotest android 5.0+
Feross Aboukhadijeh [Wed, 1 Jul 2015 00:02:41 +0000 (17:02 -0700)]
test android 5.0+

the older versions are being flakey on sauce labs

10 years ago3.3.0
Feross Aboukhadijeh [Tue, 30 Jun 2015 23:36:08 +0000 (16:36 -0700)]
3.3.0

10 years agoIncrease max buffer size to 2GB
Feross Aboukhadijeh [Tue, 30 Jun 2015 23:20:18 +0000 (16:20 -0700)]
Increase max buffer size to 2GB

There's no reason to match the limitation in node, plus this limitation
is going away soon with the buffer refactor for V8 4.4.

10 years agooptimize Buffer#toString()
Feross Aboukhadijeh [Tue, 30 Jun 2015 23:04:58 +0000 (16:04 -0700)]
optimize Buffer#toString()

From
https://github.com/nodejs/io.js/commit/8350f3a3a291fcd19df3261c3db3fe07c
7590bb7