]> zoso.dev Git - buffer.git/log
buffer.git
10 years agoAdd support for UTF-16.
eliang [Wed, 18 Dec 2013 16:52:04 +0000 (00:52 +0800)]
Add support for UTF-16.

11 years agoUse base64-js fork that works in IE6-8 (until they accept my PR)
Feross Aboukhadijeh [Sun, 15 Dec 2013 10:45:29 +0000 (02:45 -0800)]
Use base64-js fork that works in IE6-8 (until they accept my PR)

11 years ago1.2.2
Feross Aboukhadijeh [Fri, 13 Dec 2013 01:30:08 +0000 (17:30 -0800)]
1.2.2

11 years agostyle
Feross Aboukhadijeh [Fri, 13 Dec 2013 01:30:00 +0000 (17:30 -0800)]
style

11 years agouse typedarray@0.0.5 for bugfixes in old IE
Feross Aboukhadijeh [Fri, 13 Dec 2013 01:29:56 +0000 (17:29 -0800)]
use typedarray@0.0.5 for bugfixes in old IE

11 years ago1.2.1
Feross Aboukhadijeh [Thu, 12 Dec 2013 20:20:19 +0000 (12:20 -0800)]
1.2.1

11 years agotemporarily use typedarray@0.0.3 (until i can debug the problem with 0.0.4)
Feross Aboukhadijeh [Thu, 12 Dec 2013 20:20:15 +0000 (12:20 -0800)]
temporarily use typedarray@0.0.3 (until i can debug the problem with 0.0.4)

11 years agostyle
Feross Aboukhadijeh [Thu, 12 Dec 2013 20:19:38 +0000 (12:19 -0800)]
style

11 years agoMerge branch 'master' of github.com:RubenVerborgh/native-buffer-browserify into Ruben...
Feross Aboukhadijeh [Thu, 12 Dec 2013 20:14:07 +0000 (12:14 -0800)]
Merge branch 'master' of github.com:RubenVerborgh/native-buffer-browserify into RubenVerborgh-master

11 years agostyle
Feross Aboukhadijeh [Thu, 12 Dec 2013 20:13:56 +0000 (12:13 -0800)]
style

11 years agoAccess buffer elements directly when slicing.
Ruben Verborgh [Thu, 12 Dec 2013 18:42:06 +0000 (18:42 +0000)]
Access buffer elements directly when slicing.

11 years agominor style
Feross Aboukhadijeh [Thu, 12 Dec 2013 00:04:50 +0000 (16:04 -0800)]
minor style

11 years ago1.2.0
Feross Aboukhadijeh [Wed, 11 Dec 2013 07:43:17 +0000 (23:43 -0800)]
1.2.0

11 years agouse typedarray@0.0.4 which fixes more errors in IE8
Feross Aboukhadijeh [Wed, 11 Dec 2013 07:28:29 +0000 (23:28 -0800)]
use typedarray@0.0.4 which fixes more errors in IE8

11 years agotestling: add android test
Feross Aboukhadijeh [Wed, 11 Dec 2013 05:56:18 +0000 (21:56 -0800)]
testling: add android test

11 years agofix isArray function (tests pass in Firefox 3 now)
Feross Aboukhadijeh [Wed, 11 Dec 2013 05:53:17 +0000 (21:53 -0800)]
fix isArray function (tests pass in Firefox 3 now)

11 years agotestling: test chrome 4+ and firefox 3+
Feross Aboukhadijeh [Wed, 11 Dec 2013 05:46:12 +0000 (21:46 -0800)]
testling: test chrome 4+ and firefox 3+

11 years agoupdate typedarray dep to fix DataView ReferenceErrors
Feross Aboukhadijeh [Wed, 11 Dec 2013 05:42:20 +0000 (21:42 -0800)]
update typedarray dep to fix DataView ReferenceErrors

Firefox tests pass down to v4 now! And probably more browsers, too!

11 years agodon't assume existence of Uint8Array
Feross Aboukhadijeh [Wed, 11 Dec 2013 03:56:16 +0000 (19:56 -0800)]
don't assume existence of Uint8Array

11 years agoNo toArrayBuffer() method provided in old browsers
Feross Aboukhadijeh [Wed, 11 Dec 2013 03:55:23 +0000 (19:55 -0800)]
No toArrayBuffer() method provided in old browsers

11 years agoforce use of typedarray shim in Firefox 4-17
Feross Aboukhadijeh [Wed, 11 Dec 2013 03:20:01 +0000 (19:20 -0800)]
force use of typedarray shim in Firefox 4-17

11 years agoupdate typedarray to fix `new DataView`
Feross Aboukhadijeh [Wed, 11 Dec 2013 03:02:33 +0000 (19:02 -0800)]
update typedarray to fix `new DataView`

11 years agofix buffer.toJSON method in Firefox 18+
Feross Aboukhadijeh [Wed, 11 Dec 2013 02:58:38 +0000 (18:58 -0800)]
fix buffer.toJSON method in Firefox 18+

11 years agofix isArray
Feross Aboukhadijeh [Wed, 11 Dec 2013 02:39:20 +0000 (18:39 -0800)]
fix isArray

11 years agoalways use latest browserify
Feross Aboukhadijeh [Wed, 11 Dec 2013 02:39:06 +0000 (18:39 -0800)]
always use latest browserify

11 years agowork in browsers without Array.isArray
Feross Aboukhadijeh [Wed, 11 Dec 2013 02:16:41 +0000 (18:16 -0800)]
work in browsers without Array.isArray

11 years agosmaller bundle size
Feross Aboukhadijeh [Wed, 11 Dec 2013 02:10:53 +0000 (18:10 -0800)]
smaller bundle size

11 years agoupdate readme
Feross Aboukhadijeh [Wed, 11 Dec 2013 01:52:27 +0000 (17:52 -0800)]
update readme

11 years agoclean up package.json
Feross Aboukhadijeh [Wed, 11 Dec 2013 01:50:25 +0000 (17:50 -0800)]
clean up package.json

11 years agoremove makefile, use npm scripts
Feross Aboukhadijeh [Wed, 11 Dec 2013 01:49:56 +0000 (17:49 -0800)]
remove makefile, use npm scripts

11 years agoadd substack
Feross Aboukhadijeh [Wed, 11 Dec 2013 01:49:22 +0000 (17:49 -0800)]
add substack

11 years agoadd travis and testling
Feross Aboukhadijeh [Wed, 11 Dec 2013 01:48:47 +0000 (17:48 -0800)]
add travis and testling

11 years ago1.1.0
Feross Aboukhadijeh [Wed, 11 Dec 2013 01:38:46 +0000 (17:38 -0800)]
1.1.0

11 years agoMerge branch 'no-buffer-in-tests'
Feross Aboukhadijeh [Wed, 11 Dec 2013 01:38:24 +0000 (17:38 -0800)]
Merge branch 'no-buffer-in-tests'

11 years agoDon't rely on Buffer global in tests
Feross Aboukhadijeh [Wed, 11 Dec 2013 01:33:32 +0000 (17:33 -0800)]
Don't rely on Buffer global in tests

11 years agouse the typedarray DataView and ArrayBuffer
James Halliday [Wed, 11 Dec 2013 01:16:45 +0000 (17:16 -0800)]
use the typedarray DataView and ArrayBuffer

11 years agousing typedarray
James Halliday [Wed, 11 Dec 2013 01:04:16 +0000 (17:04 -0800)]
using typedarray

11 years agoadd copyright line
Feross Aboukhadijeh [Mon, 9 Dec 2013 08:42:10 +0000 (00:42 -0800)]
add copyright line

11 years ago1.0.3
Feross Aboukhadijeh [Wed, 4 Dec 2013 10:15:26 +0000 (02:15 -0800)]
1.0.3

11 years agoremove ArrayBuffer constructor API addition
Feross Aboukhadijeh [Wed, 4 Dec 2013 10:14:39 +0000 (02:14 -0800)]
remove ArrayBuffer constructor API addition

It’s more important to match node’s API exactly than to be clever or
useful

11 years agosimplify toArrayBuffer test
Feross Aboukhadijeh [Wed, 4 Dec 2013 10:11:35 +0000 (02:11 -0800)]
simplify toArrayBuffer test

11 years agoapply Uint8Array speed optimization in Firefox
Feross Aboukhadijeh [Wed, 4 Dec 2013 10:11:23 +0000 (02:11 -0800)]
apply Uint8Array speed optimization in Firefox

In Firefox the buffer is not `instanceof Uint8Array` so let’s use
Buffer.isBuffer instead

11 years ago1.0.2
Feross Aboukhadijeh [Wed, 4 Dec 2013 01:05:56 +0000 (17:05 -0800)]
1.0.2

11 years agoremove assert module (50% file size savings) (fixes #2)
Feross Aboukhadijeh [Wed, 4 Dec 2013 01:05:50 +0000 (17:05 -0800)]
remove assert module (50% file size savings) (fixes #2)

11 years ago1.0.1
Feross Aboukhadijeh [Tue, 26 Nov 2013 10:01:42 +0000 (02:01 -0800)]
1.0.1

11 years agoAPI Addition: do something reasonable for new Buffer(arraybuffer)
Feross Aboukhadijeh [Tue, 26 Nov 2013 09:59:51 +0000 (01:59 -0800)]
API Addition: do something reasonable for new Buffer(arraybuffer)

(Use the ArrayBuffer as the backing buffer for the Uint8Array)

11 years ago1.0.0
Feross Aboukhadijeh [Mon, 25 Nov 2013 14:45:09 +0000 (06:45 -0800)]
1.0.0

11 years agoLICENSE
Feross Aboukhadijeh [Mon, 25 Nov 2013 14:00:14 +0000 (06:00 -0800)]
LICENSE

11 years agoUse ES6 Proxy to workaround Firefox limitations
Feross Aboukhadijeh [Mon, 25 Nov 2013 13:16:31 +0000 (05:16 -0800)]
Use ES6 Proxy to workaround Firefox limitations

Firefox does not allow augmenting "native" objects (like Uint8Array
instances) with new properties for some unknown (probably silly)
reason.  So we'll use an ES6 Proxy (supported since Firefox 18) to wrap
the Uint8Array instance without actually adding any properties to it.

11 years agoCorrect README: support IE10+ only, no fallback for old browsers
Feross Aboukhadijeh [Mon, 25 Nov 2013 13:08:46 +0000 (05:08 -0800)]
Correct README: support IE10+ only, no fallback for old browsers

11 years agomake toJSON() use node 0.12 behavior; make test reliable
Feross Aboukhadijeh [Mon, 25 Nov 2013 09:16:16 +0000 (01:16 -0800)]
make toJSON() use node 0.12 behavior; make test reliable

11 years agoFix test failures
Feross Aboukhadijeh [Mon, 25 Nov 2013 09:15:39 +0000 (01:15 -0800)]
Fix test failures

11 years agofix comments
Feross Aboukhadijeh [Mon, 25 Nov 2013 06:29:10 +0000 (22:29 -0800)]
fix comments

11 years ago0.5.0
Feross Aboukhadijeh [Mon, 18 Nov 2013 15:00:30 +0000 (07:00 -0800)]
0.5.0

11 years agoRevert "fix toJSON() method"
Feross Aboukhadijeh [Mon, 18 Nov 2013 14:59:20 +0000 (06:59 -0800)]
Revert "fix toJSON() method"

This reverts commit d846347693ef8e9146e0a32ba8993fae126c4bbf.

11 years ago0.4.0
Feross Aboukhadijeh [Mon, 18 Nov 2013 14:58:50 +0000 (06:58 -0800)]
0.4.0

11 years agoRequire browsers to have `Uint8Array` support
Feross Aboukhadijeh [Mon, 18 Nov 2013 14:58:39 +0000 (06:58 -0800)]
Require browsers to have `Uint8Array` support

11 years agowhitespace
Feross Aboukhadijeh [Mon, 18 Nov 2013 14:24:00 +0000 (06:24 -0800)]
whitespace

11 years agonative-buffer-browserify
Feross Aboukhadijeh [Mon, 18 Nov 2013 14:20:04 +0000 (06:20 -0800)]
native-buffer-browserify

11 years agomakefile to run perf tests
Feross Aboukhadijeh [Mon, 18 Nov 2013 14:00:52 +0000 (06:00 -0800)]
makefile to run perf tests

11 years agoREADME
Feross Aboukhadijeh [Mon, 18 Nov 2013 14:00:27 +0000 (06:00 -0800)]
README

11 years agoadd perf results
Feross Aboukhadijeh [Mon, 18 Nov 2013 14:00:23 +0000 (06:00 -0800)]
add perf results

11 years agoadd performance tests
Feross Aboukhadijeh [Mon, 18 Nov 2013 13:07:36 +0000 (05:07 -0800)]
add performance tests

11 years agofix toJSON() method
Feross Aboukhadijeh [Mon, 18 Nov 2013 12:38:04 +0000 (04:38 -0800)]
fix toJSON() method

11 years agofix weird whitespace chars
Feross Aboukhadijeh [Mon, 18 Nov 2013 12:21:34 +0000 (04:21 -0800)]
fix weird whitespace chars

11 years agogitignore
Feross Aboukhadijeh [Mon, 18 Nov 2013 12:19:40 +0000 (04:19 -0800)]
gitignore

11 years agoload old `buffer-browserify` in browsers that don't support Uint8Array
Feross Aboukhadijeh [Mon, 18 Nov 2013 10:10:38 +0000 (02:10 -0800)]
load old `buffer-browserify` in browsers that don't support Uint8Array

11 years agoupdate package.json
Feross Aboukhadijeh [Mon, 18 Nov 2013 10:10:01 +0000 (02:10 -0800)]
update package.json

11 years agoBuffer backed by Uint8Array for insane performance!
Feross Aboukhadijeh [Mon, 18 Nov 2013 09:44:50 +0000 (01:44 -0800)]
Buffer backed by Uint8Array for insane performance!

11 years agoUpdate tap/tape deps (fixes #33)
Feross Aboukhadijeh [Mon, 18 Nov 2013 01:24:39 +0000 (17:24 -0800)]
Update tap/tape deps (fixes #33)

11 years agoMerge pull request #32 from mscdex/patch-1
Romain Beauxis [Sun, 17 Nov 2013 14:56:41 +0000 (06:56 -0800)]
Merge pull request #32 from mscdex/patch-1

remove duplicate check in isBuffer

11 years agoremove duplicate check in isBuffer
Brian White [Wed, 13 Nov 2013 23:49:30 +0000 (18:49 -0500)]
remove duplicate check in isBuffer

11 years agoMerge pull request #30 from mbrevoort/master
Romain Beauxis [Sun, 22 Sep 2013 06:48:50 +0000 (23:48 -0700)]
Merge pull request #30 from mbrevoort/master

Add MIT LICENSE file

11 years agoadd MIT LICENSE file
Mike Brevoort [Sun, 22 Sep 2013 03:42:22 +0000 (21:42 -0600)]
add MIT LICENSE file

11 years agoBump version
Romain Beauxis [Mon, 26 Aug 2013 15:03:55 +0000 (10:03 -0500)]
Bump version

11 years agoPadd base64 strings with = up-to modulo 4 length.
Romain Beauxis [Mon, 26 Aug 2013 15:03:01 +0000 (10:03 -0500)]
Padd base64 strings with = up-to modulo 4 length.
fixes #27

11 years agoAdded test for base64 strings without padding.
Romain Beauxis [Mon, 26 Aug 2013 14:58:31 +0000 (09:58 -0500)]
Added test for base64 strings without padding.

11 years agoBump version. Fixed #28
Romain Beauxis [Sun, 25 Aug 2013 14:35:02 +0000 (09:35 -0500)]
Bump version. Fixed #28

11 years agoMerge pull request #25 from AndreasMadsen/slice-clamp
Romain Beauxis [Wed, 21 Aug 2013 19:55:30 +0000 (12:55 -0700)]
Merge pull request #25 from AndreasMadsen/slice-clamp

support out of range slice

11 years agoMerge pull request #26 from AndreasMadsen/trimshim
Romain Beauxis [Wed, 21 Aug 2013 19:54:34 +0000 (12:54 -0700)]
Merge pull request #26 from AndreasMadsen/trimshim

shim string.prototype.trim locally

11 years agoshim string.prototype.trim locally
Andreas Madsen [Wed, 21 Aug 2013 18:06:29 +0000 (20:06 +0200)]
shim string.prototype.trim locally

11 years agosupport out of range slice
Andreas Madsen [Wed, 21 Aug 2013 16:52:54 +0000 (18:52 +0200)]
support out of range slice

11 years agoBump version.
Romain Beauxis [Tue, 20 Aug 2013 15:06:59 +0000 (10:06 -0500)]
Bump version.

11 years agoMerge remote-tracking branch 'husio/husio'
Romain Beauxis [Tue, 20 Aug 2013 15:06:03 +0000 (10:06 -0500)]
Merge remote-tracking branch 'husio/husio'

11 years agoAdded faillig slice test.
Romain Beauxis [Tue, 20 Aug 2013 15:02:21 +0000 (10:02 -0500)]
Added faillig slice test.

11 years agoDetails
Romain Beauxis [Tue, 20 Aug 2013 14:44:17 +0000 (09:44 -0500)]
Details

11 years agoMerge pull request #24 from AndreasMadsen/isEncoding
Romain Beauxis [Tue, 20 Aug 2013 14:39:58 +0000 (07:39 -0700)]
Merge pull request #24 from AndreasMadsen/isEncoding

add Buffer.isEncoding method

11 years agoadd Buffer.isEncoding method
Andreas Madsen [Tue, 20 Aug 2013 13:46:25 +0000 (15:46 +0200)]
add Buffer.isEncoding method

11 years agoignoring ide files
rafael [Tue, 13 Aug 2013 13:57:35 +0000 (15:57 +0200)]
ignoring ide files

11 years agolimited slicing implementation
rafael [Tue, 13 Aug 2013 07:10:36 +0000 (09:10 +0200)]
limited slicing implementation

11 years agoMerge pull request #21 from superjoe30/patch-1
Romain Beauxis [Thu, 8 Aug 2013 18:14:25 +0000 (11:14 -0700)]
Merge pull request #21 from superjoe30/patch-1

ignore whitespace. more compatible with node.js Buffer

11 years agoignore whitespace. more compatible with node.js Buffer
Andrew Kelley [Thu, 8 Aug 2013 18:01:59 +0000 (14:01 -0400)]
ignore whitespace. more compatible with node.js Buffer

11 years agoMerge pull request #18 from husio-org/master
Romain Beauxis [Sun, 30 Jun 2013 14:41:25 +0000 (07:41 -0700)]
Merge pull request #18 from husio-org/master

avoid circular dependency with assert module

11 years agominor fixi
rafael [Sat, 29 Jun 2013 19:43:10 +0000 (21:43 +0200)]
minor fixi

11 years agopopulating assert on first use, to avoid circular dependency with assert.js
rafael [Sat, 29 Jun 2013 18:18:11 +0000 (20:18 +0200)]
populating assert on first use, to avoid circular dependency with assert.js

11 years agoBumpe version to 0.1.0
Romain Beauxis [Thu, 13 Jun 2013 22:10:24 +0000 (17:10 -0500)]
Bumpe version to 0.1.0

11 years agoMerge pull request #16 from ELLIOTTCABLE/isArray-IE6
Romain Beauxis [Thu, 13 Jun 2013 22:09:38 +0000 (15:09 -0700)]
Merge pull request #16 from ELLIOTTCABLE/isArray-IE6

IE6 support, and ES5 assumptions

11 years agoMerge pull request #15 from mwilliamson/copy-zero-sourceend
Romain Beauxis [Thu, 13 Jun 2013 22:08:30 +0000 (15:08 -0700)]
Merge pull request #15 from mwilliamson/copy-zero-sourceend

Fix: buffer.copy ignores sourceEnd if it's set to 0

11 years agoNo longer using ES5 Array.isArray(), to support IE6
elliottcable [Wed, 22 May 2013 18:02:08 +0000 (15:02 -0300)]
No longer using ES5 Array.isArray(), to support IE6

11 years agoFix: buffer.copy ignores sourceEnd if it's set to 0
Michael Williamson [Thu, 11 Apr 2013 20:30:06 +0000 (21:30 +0100)]
Fix: buffer.copy ignores sourceEnd if it's set to 0