]> zoso.dev Git - buffer.git/log
buffer.git
9 years agopull in latest iojs buffer tests
Feross Aboukhadijeh [Tue, 10 Feb 2015 01:30:31 +0000 (17:30 -0800)]
pull in latest iojs buffer tests

9 years agoeslint: ignore consistent-this rule
Feross Aboukhadijeh [Mon, 9 Feb 2015 01:45:37 +0000 (17:45 -0800)]
eslint: ignore consistent-this rule

9 years agoJavaScript Standard Style
Feross Aboukhadijeh [Thu, 29 Jan 2015 07:35:37 +0000 (23:35 -0800)]
JavaScript Standard Style

See https://github.com/feross/standard

9 years ago3.0.1
Feross Aboukhadijeh [Wed, 31 Dec 2014 06:43:54 +0000 (22:43 -0800)]
3.0.1

9 years agoMerge pull request #54 from jessetane/revert-url-safe-base64
Feross Aboukhadijeh [Wed, 31 Dec 2014 06:03:29 +0000 (22:03 -0800)]
Merge pull request #54 from jessetane/revert-url-safe-base64

Revert url safe base64

9 years agoupdate base64-js to 0.0.8
Jesse Tane [Wed, 31 Dec 2014 05:05:36 +0000 (00:05 -0500)]
update base64-js to 0.0.8

9 years agoRevert "allow decoding url-safe base64 space and slash"
Jesse Tane [Wed, 31 Dec 2014 05:02:15 +0000 (00:02 -0500)]
Revert "allow decoding url-safe base64 space and slash"

This reverts commit 767070ece98af730d110e4905aa454db6a4a9a4c.

9 years ago3.0.0
Feross Aboukhadijeh [Wed, 24 Dec 2014 10:25:37 +0000 (02:25 -0800)]
3.0.0

9 years agoupdate node tests
Jesse Tane [Wed, 24 Dec 2014 06:07:55 +0000 (01:07 -0500)]
update node tests

9 years agocrypto-browserify doesn't work in old ie
Jesse Tane [Wed, 24 Dec 2014 06:07:45 +0000 (01:07 -0500)]
crypto-browserify doesn't work in old ie

9 years agoupdate node tests
Jesse Tane [Wed, 24 Dec 2014 03:44:48 +0000 (22:44 -0500)]
update node tests

9 years agodo not transform node tests to use tape
Jesse Tane [Wed, 24 Dec 2014 03:44:38 +0000 (22:44 -0500)]
do not transform node tests to use tape

9 years agobrowserify@7
Feross Aboukhadijeh [Wed, 24 Dec 2014 00:19:50 +0000 (16:19 -0800)]
browserify@7

9 years agoreadme: tests from node.js core are included
Feross Aboukhadijeh [Wed, 24 Dec 2014 00:19:42 +0000 (16:19 -0800)]
readme: tests from node.js core are included

9 years agocode style
Feross Aboukhadijeh [Wed, 24 Dec 2014 00:12:34 +0000 (16:12 -0800)]
code style

9 years agoMerge branch 'jessetane-copy-over-node-buffer-tests'
Feross Aboukhadijeh [Wed, 24 Dec 2014 00:09:18 +0000 (16:09 -0800)]
Merge branch 'jessetane-copy-over-node-buffer-tests'

9 years agoallow decoding url-safe base64 space and slash
Jesse Tane [Mon, 22 Dec 2014 16:10:30 +0000 (11:10 -0500)]
allow decoding url-safe base64 space and slash

9 years agodo not encode partial or invalid code points to utf8
Jesse Tane [Tue, 16 Dec 2014 00:17:57 +0000 (19:17 -0500)]
do not encode partial or invalid code points to utf8

9 years agoadd benchmark for encoding to utf8
Jesse Tane [Fri, 19 Dec 2014 20:40:25 +0000 (15:40 -0500)]
add benchmark for encoding to utf8

9 years agodo not encode partial code units to utf16
Jesse Tane [Tue, 16 Dec 2014 00:17:22 +0000 (19:17 -0500)]
do not encode partial code units to utf16

9 years agoupdate from-string tests and rename from utf16
Jesse Tane [Mon, 15 Dec 2014 23:53:47 +0000 (18:53 -0500)]
update from-string tests and rename from utf16

9 years agostrip high bit when ascii slicing
Jesse Tane [Tue, 16 Dec 2014 00:16:40 +0000 (19:16 -0500)]
strip high bit when ascii slicing

9 years agomake generic (u)int ops work when TYPED_ARRAY_SUPPORT is false
Jesse Tane [Thu, 18 Dec 2014 19:54:55 +0000 (14:54 -0500)]
make generic (u)int ops work when TYPED_ARRAY_SUPPORT is false

9 years agoadd generic functions for (u)int ops - copied from node commit 83d7d9e
Jesse Tane [Tue, 16 Dec 2014 00:13:36 +0000 (19:13 -0500)]
add generic functions for (u)int ops - copied from node commit 83d7d9e

9 years agobase64 changes to improve node compatibility
Jesse Tane [Tue, 16 Dec 2014 00:09:06 +0000 (19:09 -0500)]
base64 changes to improve node compatibility

9 years agocopy should return length
Jesse Tane [Tue, 16 Dec 2014 00:04:49 +0000 (19:04 -0500)]
copy should return length

9 years agoupdate bounds checks and throw RangeErrors instead of TypeErrors for failures
Jesse Tane [Tue, 16 Dec 2014 00:01:35 +0000 (19:01 -0500)]
update bounds checks and throw RangeErrors instead of TypeErrors for failures

9 years agofix broken max-length check
Jesse Tane [Thu, 18 Dec 2014 05:50:17 +0000 (00:50 -0500)]
fix broken max-length check

9 years agomimic SlowBuffer and Buffer#parent just enough to pass node's tests
Jesse Tane [Mon, 15 Dec 2014 23:57:07 +0000 (18:57 -0500)]
mimic SlowBuffer and Buffer#parent just enough to pass node's tests

9 years agodownload node's buffer tests
Jesse Tane [Mon, 15 Dec 2014 23:52:01 +0000 (18:52 -0500)]
download node's buffer tests

9 years agoadd downloader to pull node's buffer tests
Jesse Tane [Mon, 15 Dec 2014 23:50:35 +0000 (18:50 -0500)]
add downloader to pull node's buffer tests

9 years agonpm test: abort if node tests fail
Feross Aboukhadijeh [Mon, 22 Dec 2014 10:34:03 +0000 (02:34 -0800)]
npm test: abort if node tests fail

9 years agoMerge pull request #50 from ArtskydJ/master
Feross Aboukhadijeh [Tue, 16 Dec 2014 20:27:12 +0000 (12:27 -0800)]
Merge pull request #50 from ArtskydJ/master

put performance stats in a table

9 years agoBeautified data
Joseph Dykstra [Tue, 16 Dec 2014 00:58:48 +0000 (18:58 -0600)]
Beautified data

10 years ago2.8.2
Feross Aboukhadijeh [Sun, 7 Dec 2014 20:17:05 +0000 (12:17 -0800)]
2.8.2

10 years agodon't run browser tests in PRs
Feross Aboukhadijeh [Sun, 7 Dec 2014 19:44:09 +0000 (11:44 -0800)]
don't run browser tests in PRs

sauce labs credentials are not available on travis so tests will always
fail. feross will run the tests manually before merging any PRs.

10 years agoonly blit whole code units
Jesse Tane [Sun, 7 Dec 2014 18:27:21 +0000 (13:27 -0500)]
only blit whole code units

10 years agoadd failing test for writing partial utf16 code units
Jesse Tane [Sun, 7 Dec 2014 18:26:34 +0000 (13:26 -0500)]
add failing test for writing partial utf16 code units

10 years ago2.8.1
Feross Aboukhadijeh [Fri, 31 Oct 2014 03:42:33 +0000 (20:42 -0700)]
2.8.1

10 years agoremove testling image; test firefox 21+
Feross Aboukhadijeh [Fri, 31 Oct 2014 02:12:00 +0000 (19:12 -0700)]
remove testling image; test firefox 21+

10 years agoskip testing very old firefox versions
Feross Aboukhadijeh [Fri, 31 Oct 2014 01:54:20 +0000 (18:54 -0700)]
skip testing very old firefox versions

10 years agoreadme formatting
Feross Aboukhadijeh [Fri, 31 Oct 2014 01:27:59 +0000 (18:27 -0700)]
readme formatting

10 years agoenable opera tests (fix typo)
Feross Aboukhadijeh [Fri, 31 Oct 2014 01:24:00 +0000 (18:24 -0700)]
enable opera tests (fix typo)

10 years agoadd sauce labs testing (via zuul)
Feross Aboukhadijeh [Wed, 29 Oct 2014 09:19:33 +0000 (02:19 -0700)]
add sauce labs testing (via zuul)

10 years ago2.8.0
Feross Aboukhadijeh [Wed, 29 Oct 2014 04:13:47 +0000 (21:13 -0700)]
2.8.0

10 years agobuf.constructor = Buffer
Feross Aboukhadijeh [Wed, 29 Oct 2014 04:13:18 +0000 (21:13 -0700)]
buf.constructor = Buffer

Change made for
https://github.com/hapijs/qs/issues/39#issuecomment-60427477

10 years agoREADME: Update perf results & add firefox, safari
Feross Aboukhadijeh [Wed, 29 Oct 2014 04:11:58 +0000 (21:11 -0700)]
README: Update perf results & add firefox, safari

10 years agoexclude node buffer from one buffer perf test
Feross Aboukhadijeh [Wed, 29 Oct 2014 04:11:32 +0000 (21:11 -0700)]
exclude node buffer from one buffer perf test

10 years agoupdate node perf test results
Feross Aboukhadijeh [Wed, 29 Oct 2014 03:39:43 +0000 (20:39 -0700)]
update node perf test results

10 years agofix bug in tests
Feross Aboukhadijeh [Wed, 29 Oct 2014 03:39:18 +0000 (20:39 -0700)]
fix bug in tests

10 years agoadd test: convert to Uint8Array in modern browsers
Feross Aboukhadijeh [Wed, 29 Oct 2014 03:39:09 +0000 (20:39 -0700)]
add test: convert to Uint8Array in modern browsers

10 years agofix browser perf command
Feross Aboukhadijeh [Wed, 29 Oct 2014 01:39:30 +0000 (18:39 -0700)]
fix browser perf command

10 years agotest style
Feross Aboukhadijeh [Wed, 29 Oct 2014 01:39:19 +0000 (18:39 -0700)]
test style

10 years agodon't bundle during prepublish
Feross Aboukhadijeh [Wed, 29 Oct 2014 01:38:21 +0000 (18:38 -0700)]
don't bundle during prepublish

10 years agofix perf test paths
Feross Aboukhadijeh [Sun, 26 Oct 2014 23:08:00 +0000 (16:08 -0700)]
fix perf test paths

10 years agoremove duplicate perf tests
Feross Aboukhadijeh [Sun, 26 Oct 2014 23:07:22 +0000 (16:07 -0700)]
remove duplicate perf tests

10 years agoimprove perf tests
Feross Aboukhadijeh [Sun, 26 Oct 2014 23:05:46 +0000 (16:05 -0700)]
improve perf tests

more consistent, added uint8array as comparison to all tests

10 years agosmall perf improvement for `copy`
Feross Aboukhadijeh [Sun, 26 Oct 2014 23:05:10 +0000 (16:05 -0700)]
small perf improvement for `copy`

10 years agodon't publish perf/ to npm
Feross Aboukhadijeh [Sun, 26 Oct 2014 23:04:50 +0000 (16:04 -0700)]
don't publish perf/ to npm

10 years agoflat badges
Feross Aboukhadijeh [Sat, 25 Oct 2014 23:00:14 +0000 (16:00 -0700)]
flat badges

10 years ago2.7.0
Feross Aboukhadijeh [Fri, 12 Sep 2014 11:18:05 +0000 (12:18 +0100)]
2.7.0

10 years agosignificant code reshuffling to match node core style
Feross Aboukhadijeh [Fri, 12 Sep 2014 11:17:36 +0000 (12:17 +0100)]
significant code reshuffling to match node core style

- check for kMaxLength
- throw specific Error types (TypeError, RangeError, etc.)
- order methods same as in node core
- match implementation of some methods better, like toString

10 years agoEliminate use of assert(), switch to raw throw (fix #43)
Feross Aboukhadijeh [Fri, 12 Sep 2014 10:28:59 +0000 (11:28 +0100)]
Eliminate use of assert(), switch to raw throw (fix #43)

10 years agouse is-array
Feross Aboukhadijeh [Fri, 12 Sep 2014 10:28:43 +0000 (11:28 +0100)]
use is-array

10 years ago2.6.2
Feross Aboukhadijeh [Fri, 12 Sep 2014 00:53:40 +0000 (01:53 +0100)]
2.6.2

10 years agouse shim for Number.isNaN
Feross Aboukhadijeh [Fri, 12 Sep 2014 00:44:30 +0000 (01:44 +0100)]
use shim for Number.isNaN

10 years ago2.6.1
Feross Aboukhadijeh [Fri, 12 Sep 2014 00:38:45 +0000 (01:38 +0100)]
2.6.1

10 years agofix readFloat bug
Feross Aboukhadijeh [Fri, 12 Sep 2014 00:37:08 +0000 (01:37 +0100)]
fix readFloat bug

10 years agoadd perf-node script
Feross Aboukhadijeh [Fri, 12 Sep 2014 00:37:01 +0000 (01:37 +0100)]
add perf-node script

10 years ago2.6.0
Feross Aboukhadijeh [Fri, 12 Sep 2014 00:18:26 +0000 (01:18 +0100)]
2.6.0

10 years agoskip overflow test for object impl
Feross Aboukhadijeh [Fri, 12 Sep 2014 00:14:43 +0000 (01:14 +0100)]
skip overflow test for object impl

it’s not practical to fail in exactly the same way that node does when
writing and reading overflows in the object impl because it’s so
different

10 years agofix test
Feross Aboukhadijeh [Fri, 12 Sep 2014 00:12:11 +0000 (01:12 +0100)]
fix test

10 years agomake read functions match node
Feross Aboukhadijeh [Thu, 11 Sep 2014 23:54:21 +0000 (00:54 +0100)]
make read functions match node

10 years agotest object impl in node; write methods match node; bug fix for #41
Feross Aboukhadijeh [Thu, 11 Sep 2014 23:26:47 +0000 (00:26 +0100)]
test object impl in node; write methods match node; bug fix for #41

10 years agoorganize tests better
Feross Aboukhadijeh [Thu, 11 Sep 2014 21:42:31 +0000 (22:42 +0100)]
organize tests better

10 years ago2.5.1
Feross Aboukhadijeh [Thu, 11 Sep 2014 19:48:14 +0000 (20:48 +0100)]
2.5.1

10 years agoexport TYPED_ARRAY_SUPPORT for typedarray-to-buffer
Feross Aboukhadijeh [Thu, 11 Sep 2014 19:48:05 +0000 (20:48 +0100)]
export TYPED_ARRAY_SUPPORT for typedarray-to-buffer

10 years agolicense
Feross Aboukhadijeh [Sun, 10 Aug 2014 12:09:10 +0000 (05:09 -0700)]
license

10 years agoreadme
Feross Aboukhadijeh [Tue, 22 Jul 2014 08:58:20 +0000 (01:58 -0700)]
readme

10 years ago2.5.0
Feross Aboukhadijeh [Tue, 22 Jul 2014 08:48:32 +0000 (01:48 -0700)]
2.5.0

10 years agomake IE10 use the Object implementation
Feross Aboukhadijeh [Tue, 22 Jul 2014 08:27:33 +0000 (01:27 -0700)]
make IE10 use the Object implementation

IE10 has a broken `TypedArray.prototype.subarray` function which
returns arrays of incorrect length in some situations.

10 years agofirefox 3-3.6, ie6-8: use shim instead of Array.isArray
Feross Aboukhadijeh [Tue, 22 Jul 2014 06:07:36 +0000 (23:07 -0700)]
firefox 3-3.6, ie6-8: use shim instead of Array.isArray

10 years agofix tests for ie6+7: fix use of JSON object
Feross Aboukhadijeh [Tue, 22 Jul 2014 06:04:31 +0000 (23:04 -0700)]
fix tests for ie6+7: fix use of JSON object

10 years ago2.4.0
Feross Aboukhadijeh [Thu, 17 Jul 2014 06:04:40 +0000 (23:04 -0700)]
2.4.0

10 years agoconstruct new buffer from buffer toJSON() output (fix #37)
Feross Aboukhadijeh [Thu, 17 Jul 2014 05:57:12 +0000 (22:57 -0700)]
construct new buffer from buffer toJSON() output (fix #37)

10 years agoadd failing test for new buffer from buffer.toJSON() for #37
Feross Aboukhadijeh [Thu, 17 Jul 2014 05:56:44 +0000 (22:56 -0700)]
add failing test for new buffer from buffer.toJSON() for #37

10 years agoremove private clamp and coerce functions
Feross Aboukhadijeh [Thu, 17 Jul 2014 05:51:36 +0000 (22:51 -0700)]
remove private clamp and coerce functions

made the constructor and `slice` match node’s implementation more
closely

10 years ago2.3.4
Feross Aboukhadijeh [Thu, 17 Jul 2014 05:26:02 +0000 (22:26 -0700)]
2.3.4

10 years agosimplify Buffer.isBuffer check
Feross Aboukhadijeh [Thu, 17 Jul 2014 05:25:56 +0000 (22:25 -0700)]
simplify Buffer.isBuffer check

10 years agoreadme cleanup
Feross Aboukhadijeh [Thu, 17 Jul 2014 05:24:40 +0000 (22:24 -0700)]
readme cleanup

10 years agoadd note about tracking node 0.11 api
Feross Aboukhadijeh [Thu, 17 Jul 2014 05:18:35 +0000 (22:18 -0700)]
add note about tracking node 0.11 api

close #34

10 years ago2.3.3
Feross Aboukhadijeh [Mon, 30 Jun 2014 06:43:19 +0000 (23:43 -0700)]
2.3.3

10 years agoStrip invalid characters from base64 strings (fix #33)
Feross Aboukhadijeh [Sun, 29 Jun 2014 15:29:43 +0000 (08:29 -0700)]
Strip invalid characters from base64 strings (fix #33)

10 years agoAdd failing test for base64 newlines issue (#33)
Feross Aboukhadijeh [Sun, 29 Jun 2014 15:28:35 +0000 (08:28 -0700)]
Add failing test for base64 newlines issue (#33)

10 years agohomepage = github
Feross Aboukhadijeh [Sat, 7 Jun 2014 02:07:26 +0000 (19:07 -0700)]
homepage = github

10 years ago2.3.2
Feross Aboukhadijeh [Fri, 30 May 2014 18:42:51 +0000 (11:42 -0700)]
2.3.2

10 years agoMerge pull request #31 from dcousens/master
Feross Aboukhadijeh [Fri, 30 May 2014 18:40:20 +0000 (11:40 -0700)]
Merge pull request #31 from dcousens/master

Fix of #30

10 years agomove Buffer.isBuffer out of loop
Daniel Cousens [Thu, 29 May 2014 08:01:55 +0000 (18:01 +1000)]
move Buffer.isBuffer out of loop

10 years agouse modulus of 256 not writeInt8
Daniel Cousens [Wed, 28 May 2014 11:28:01 +0000 (21:28 +1000)]
use modulus of 256 not writeInt8

10 years agoadd failing test for mixed signed input
Daniel Cousens [Wed, 28 May 2014 11:25:23 +0000 (21:25 +1000)]
add failing test for mixed signed input