]> zoso.dev Git - buffer.git/log
buffer.git
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

10 years ago2.3.1
Feross Aboukhadijeh [Tue, 27 May 2014 01:45:51 +0000 (18:45 -0700)]
2.3.1

10 years agoMerge branch 'dcousens-master'
Feross Aboukhadijeh [Tue, 27 May 2014 01:45:23 +0000 (18:45 -0700)]
Merge branch 'dcousens-master'

10 years agouse writeInt8 when reading from an array
Daniel Cousens [Sat, 24 May 2014 09:32:47 +0000 (19:32 +1000)]
use writeInt8 when reading from an array

10 years agoadd failing test for array of ints
Daniel Cousens [Sat, 24 May 2014 09:32:09 +0000 (19:32 +1000)]
add failing test for array of ints

10 years agodisable useragent test
Feross Aboukhadijeh [Thu, 8 May 2014 01:54:37 +0000 (18:54 -0700)]
disable useragent test

10 years agotest expected browsers get Uint8Array implementation
Feross Aboukhadijeh [Thu, 8 May 2014 00:46:04 +0000 (17:46 -0700)]
test expected browsers get Uint8Array implementation

Fixes #25

10 years ago2.3.0
Feross Aboukhadijeh [Thu, 8 May 2014 00:25:01 +0000 (17:25 -0700)]
2.3.0

10 years agoreturn offset for end of last write (parity with 0.11)
Feross Aboukhadijeh [Thu, 8 May 2014 00:24:52 +0000 (17:24 -0700)]
return offset for end of last write (parity with 0.11)

10 years agoadd failing test for write return offset
Feross Aboukhadijeh [Thu, 8 May 2014 00:24:50 +0000 (17:24 -0700)]
add failing test for write return offset

10 years ago2.2.0
Feross Aboukhadijeh [Thu, 8 May 2014 00:07:41 +0000 (17:07 -0700)]
2.2.0

10 years agoremove console.logs
Feross Aboukhadijeh [Thu, 8 May 2014 00:07:30 +0000 (17:07 -0700)]
remove console.logs

10 years agoRemove Buffer._charsWritten (parity with 0.11)
Feross Aboukhadijeh [Thu, 8 May 2014 00:04:23 +0000 (17:04 -0700)]
Remove Buffer._charsWritten (parity with 0.11)

10 years agoBuffer#fill supports strings
Feross Aboukhadijeh [Thu, 8 May 2014 00:03:15 +0000 (17:03 -0700)]
Buffer#fill supports strings

10 years agoprivate functions don't need to start with _
Feross Aboukhadijeh [Wed, 7 May 2014 23:21:51 +0000 (16:21 -0700)]
private functions don't need to start with _

10 years agocode style
Feross Aboukhadijeh [Wed, 7 May 2014 23:13:57 +0000 (16:13 -0700)]
code style

10 years agoBuffer#fill should be chainable
Feross Aboukhadijeh [Wed, 7 May 2014 22:20:56 +0000 (15:20 -0700)]
Buffer#fill should be chainable

10 years agoadd Buffer.compare, #compare, #equals
Feross Aboukhadijeh [Wed, 7 May 2014 22:20:39 +0000 (15:20 -0700)]
add Buffer.compare, #compare, #equals

10 years agoadd failing Buffer.compare, #compare, #equals tests
Feross Aboukhadijeh [Wed, 7 May 2014 22:20:03 +0000 (15:20 -0700)]
add failing Buffer.compare, #compare, #equals tests

10 years agoremove unused var
Feross Aboukhadijeh [Wed, 7 May 2014 20:53:53 +0000 (13:53 -0700)]
remove unused var

10 years ago2.1.13
Feross Aboukhadijeh [Fri, 18 Apr 2014 04:28:18 +0000 (21:28 -0700)]
2.1.13

10 years agopreserve comment
Feross Aboukhadijeh [Fri, 18 Apr 2014 04:28:10 +0000 (21:28 -0700)]
preserve comment

10 years ago2.1.12
Feross Aboukhadijeh [Thu, 10 Apr 2014 09:29:25 +0000 (02:29 -0700)]
2.1.12

10 years agofix typed array detection
Feross Aboukhadijeh [Thu, 10 Apr 2014 06:54:07 +0000 (23:54 -0700)]
fix typed array detection

10 years agoMerge pull request #26 from devongovett/patch-1
Feross Aboukhadijeh [Thu, 10 Apr 2014 07:05:05 +0000 (00:05 -0700)]
Merge pull request #26 from devongovett/patch-1

Use correct Buffer in tests

10 years agoUse correct Buffer in tests
Devon Govett [Thu, 10 Apr 2014 07:02:47 +0000 (00:02 -0700)]
Use correct Buffer in tests

`new B` instead of `new Buffer`, otherwise browserify will inline the old version in the tests and we won't be testing anything. :)

10 years agofix comment
Feross Aboukhadijeh [Thu, 10 Apr 2014 06:21:05 +0000 (23:21 -0700)]
fix comment

10 years agoMerge branch 'patch-1' of github.com:devongovett/buffer into devongovett-patch-1
Feross Aboukhadijeh [Thu, 10 Apr 2014 06:06:43 +0000 (23:06 -0700)]
Merge branch 'patch-1' of github.com:devongovett/buffer into devongovett-patch-1

10 years agokill nbsp
Feross Aboukhadijeh [Thu, 10 Apr 2014 05:15:41 +0000 (22:15 -0700)]
kill nbsp

10 years agoFix typed array check in Safari
Devon Govett [Thu, 10 Apr 2014 04:46:00 +0000 (21:46 -0700)]
Fix typed array check in Safari

Unfortunately, in Safari `typeof Uint8Array` and `typeof ArrayBuffer` return `'object'` instead of `'function'`, so typed arrays were not being used there. We can check `Uint8Array.constructor` to see if its a function cross browser, but we'd also have to check for null and undefined first. I think it's easier just to try constructing one in the try..catch block that is already there.

10 years ago2.1.11
Feross Aboukhadijeh [Thu, 10 Apr 2014 03:58:18 +0000 (20:58 -0700)]
2.1.11

10 years agofix weird whitespace bug
Feross Aboukhadijeh [Thu, 10 Apr 2014 03:58:10 +0000 (20:58 -0700)]
fix weird whitespace bug

if anyone knows an easy way to prevent this from happening (it’s
option+space on OS X) please let me know!

10 years agotesting: test android
Feross Aboukhadijeh [Tue, 8 Apr 2014 10:18:02 +0000 (03:18 -0700)]
testing: test android

10 years agodrop opera 11 support
Feross Aboukhadijeh [Tue, 8 Apr 2014 10:17:52 +0000 (03:17 -0700)]
drop opera 11 support

10 years agoadd npm run size command
Feross Aboukhadijeh [Tue, 8 Apr 2014 09:25:21 +0000 (02:25 -0700)]
add npm run size command

10 years agoreadme
Feross Aboukhadijeh [Tue, 8 Apr 2014 09:09:27 +0000 (02:09 -0700)]
readme

10 years ago2.1.10
Feross Aboukhadijeh [Tue, 8 Apr 2014 09:03:14 +0000 (02:03 -0700)]
2.1.10

10 years agouse simpler typedarray check
Feross Aboukhadijeh [Tue, 8 Apr 2014 08:19:54 +0000 (01:19 -0700)]
use simpler typedarray check

10 years ago2.1.9
Feross Aboukhadijeh [Tue, 8 Apr 2014 08:00:22 +0000 (01:00 -0700)]
2.1.9

10 years agotests: remove unneeded t.plan() calls
Feross Aboukhadijeh [Tue, 8 Apr 2014 08:00:12 +0000 (01:00 -0700)]
tests: remove unneeded t.plan() calls

all tests are synchronous

10 years agoMerge branch 'master' of github.com:devongovett/buffer into devongovett-master
Feross Aboukhadijeh [Tue, 8 Apr 2014 07:54:22 +0000 (00:54 -0700)]
Merge branch 'master' of github.com:devongovett/buffer into devongovett-master

10 years agoAdd test for copy() after slice()
Devon Govett [Tue, 8 Apr 2014 07:52:38 +0000 (00:52 -0700)]
Add test for copy() after slice()

10 years agotest style
Feross Aboukhadijeh [Tue, 8 Apr 2014 07:51:43 +0000 (00:51 -0700)]
test style

10 years agolock deps down
Feross Aboukhadijeh [Tue, 8 Apr 2014 07:51:22 +0000 (00:51 -0700)]
lock deps down

10 years agofix up license
Feross Aboukhadijeh [Tue, 8 Apr 2014 07:47:36 +0000 (00:47 -0700)]
fix up license

10 years agopackage.json formatting
Feross Aboukhadijeh [Tue, 8 Apr 2014 07:41:21 +0000 (00:41 -0700)]
package.json formatting

10 years ago2.1.8
Feross Aboukhadijeh [Tue, 8 Apr 2014 07:38:35 +0000 (00:38 -0700)]
2.1.8

10 years agouse fast .set() path for all typed arrays
Feross Aboukhadijeh [Tue, 8 Apr 2014 07:36:05 +0000 (00:36 -0700)]
use fast .set() path for all typed arrays