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

10 years agoadd tests for new buffer from typedarray
Feross Aboukhadijeh [Tue, 8 Apr 2014 07:35:59 +0000 (00:35 -0700)]
add tests for new buffer from typedarray

10 years agoFix copy with typed arrays
Devon Govett [Tue, 8 Apr 2014 07:26:20 +0000 (00:26 -0700)]
Fix copy with typed arrays

Creating a new `Uint8Array` from the `this.buffer` doesn't work if `subarray` had previously been used (e.g. `slice`), since `this.buffer` still would refer to the start of the buffer, not the start of the subarray. We can use `subarray` here instead, which keeps previous subarray indices intact.

10 years agoexpose augment as Buffer._augment
Feross Aboukhadijeh [Tue, 8 Apr 2014 06:36:14 +0000 (23:36 -0700)]
expose augment as Buffer._augment

10 years agotest style
Feross Aboukhadijeh [Tue, 8 Apr 2014 06:36:04 +0000 (23:36 -0700)]
test style

10 years ago2.1.7
Feross Aboukhadijeh [Sat, 5 Apr 2014 18:55:10 +0000 (11:55 -0700)]
2.1.7

10 years ago2.1.6
Feross Aboukhadijeh [Sat, 5 Apr 2014 18:54:12 +0000 (11:54 -0700)]
2.1.6

10 years agoMerge pull request #21 from mafintosh/native-copy
Feross Aboukhadijeh [Sat, 5 Apr 2014 18:53:36 +0000 (11:53 -0700)]
Merge pull request #21 from mafintosh/native-copy

Use native copy to speed up performance

10 years agoUpdate README.md
Feross Aboukhadijeh [Sat, 5 Apr 2014 18:46:24 +0000 (11:46 -0700)]
Update README.md

10 years agoadd bench for 10k copy
Mathias Buus [Sat, 5 Apr 2014 18:12:43 +0000 (20:12 +0200)]
add bench for 10k copy

10 years agouse native copy for typed arrays
Mathias Buus [Sat, 5 Apr 2014 18:12:20 +0000 (20:12 +0200)]
use native copy for typed arrays

10 years agoimprove wording
Feross Aboukhadijeh [Sat, 5 Apr 2014 07:35:45 +0000 (00:35 -0700)]
improve wording

10 years agodon't test in node 0.8
Feross Aboukhadijeh [Fri, 7 Mar 2014 06:12:42 +0000 (22:12 -0800)]
don't test in node 0.8

10 years ago2.1.5
Feross Aboukhadijeh [Fri, 7 Mar 2014 06:11:22 +0000 (22:11 -0800)]
2.1.5

10 years agofirefox now gets the fast typed array implementation!
Feross Aboukhadijeh [Fri, 7 Mar 2014 06:11:14 +0000 (22:11 -0800)]
firefox now gets the fast typed array implementation!

10 years agopackage.json
Feross Aboukhadijeh [Sun, 16 Feb 2014 03:01:15 +0000 (19:01 -0800)]
package.json

10 years ago2.1.4
Feross Aboukhadijeh [Sun, 16 Feb 2014 02:56:07 +0000 (18:56 -0800)]
2.1.4

10 years agoreadme
Feross Aboukhadijeh [Sun, 16 Feb 2014 02:55:59 +0000 (18:55 -0800)]
readme

10 years agoadd comment/author/npm comment
Feross Aboukhadijeh [Sun, 16 Feb 2014 02:55:23 +0000 (18:55 -0800)]
add comment/author/npm comment

10 years agoreadme
Feross Aboukhadijeh [Fri, 7 Feb 2014 05:58:33 +0000 (21:58 -0800)]
readme

10 years ago2.1.3
Feross Aboukhadijeh [Fri, 7 Feb 2014 05:55:36 +0000 (21:55 -0800)]
2.1.3

10 years agoreadme fixes
Feross Aboukhadijeh [Fri, 7 Feb 2014 05:55:25 +0000 (21:55 -0800)]
readme fixes

10 years agobadges
Feross Aboukhadijeh [Fri, 7 Feb 2014 05:38:36 +0000 (21:38 -0800)]
badges

10 years agobadges
Feross Aboukhadijeh [Fri, 7 Feb 2014 05:33:51 +0000 (21:33 -0800)]
badges

10 years agoreadme
Feross Aboukhadijeh [Fri, 7 Feb 2014 05:32:32 +0000 (21:32 -0800)]
readme

10 years ago2.1.2
Feross Aboukhadijeh [Fri, 7 Feb 2014 05:28:22 +0000 (21:28 -0800)]
2.1.2

10 years agouse `buffer` as package name
Feross Aboukhadijeh [Fri, 7 Feb 2014 05:26:12 +0000 (21:26 -0800)]
use `buffer` as package name

10 years agocross-publish at `buffer`
Feross Aboukhadijeh [Fri, 7 Feb 2014 03:51:54 +0000 (19:51 -0800)]
cross-publish at `buffer`

10 years ago2.1.1
Feross Aboukhadijeh [Thu, 6 Feb 2014 04:49:56 +0000 (20:49 -0800)]
2.1.1

10 years agostyle
Feross Aboukhadijeh [Thu, 6 Feb 2014 04:49:32 +0000 (20:49 -0800)]
style

10 years agobadges
Feross Aboukhadijeh [Thu, 6 Feb 2014 04:49:24 +0000 (20:49 -0800)]
badges

10 years agofixpack
Feross Aboukhadijeh [Mon, 3 Feb 2014 08:58:49 +0000 (00:58 -0800)]
fixpack

10 years ago2.1.0
Feross Aboukhadijeh [Mon, 3 Feb 2014 08:55:48 +0000 (00:55 -0800)]
2.1.0

10 years agostyle
Feross Aboukhadijeh [Mon, 3 Feb 2014 08:42:11 +0000 (00:42 -0800)]
style

10 years agoAdd utf16le support
Feross Aboukhadijeh [Mon, 3 Feb 2014 08:14:20 +0000 (00:14 -0800)]
Add utf16le support

10 years agobadges
Feross Aboukhadijeh [Sun, 2 Feb 2014 22:11:58 +0000 (14:11 -0800)]
badges

10 years ago2.0.17
Feross Aboukhadijeh [Sat, 1 Feb 2014 09:24:50 +0000 (01:24 -0800)]
2.0.17

10 years agoAdd stub ucs2, ucs-2, utf16le, utf-16le support
Feross Aboukhadijeh [Sat, 1 Feb 2014 09:24:39 +0000 (01:24 -0800)]
Add stub ucs2, ucs-2, utf16le, utf-16le support

10 years agoreadme
Feross Aboukhadijeh [Wed, 29 Jan 2014 11:21:03 +0000 (03:21 -0800)]
readme

10 years ago2.0.16
Feross Aboukhadijeh [Wed, 29 Jan 2014 11:16:10 +0000 (03:16 -0800)]
2.0.16

10 years agoreadme
Feross Aboukhadijeh [Wed, 29 Jan 2014 11:15:57 +0000 (03:15 -0800)]
readme

10 years agoadd npm image
Feross Aboukhadijeh [Mon, 27 Jan 2014 06:28:31 +0000 (22:28 -0800)]
add npm image

10 years ago2.0.15
Feross Aboukhadijeh [Sun, 26 Jan 2014 04:22:36 +0000 (20:22 -0800)]
2.0.15

10 years agofix prepublish script
Feross Aboukhadijeh [Sun, 26 Jan 2014 04:22:31 +0000 (20:22 -0800)]
fix prepublish script

10 years ago2.0.14
Feross Aboukhadijeh [Sun, 26 Jan 2014 04:20:17 +0000 (20:20 -0800)]
2.0.14

10 years agoadd script to produce bundle on publish
Feross Aboukhadijeh [Sun, 26 Jan 2014 04:20:09 +0000 (20:20 -0800)]
add script to produce bundle on publish

10 years ago2.0.13
Feross Aboukhadijeh [Sun, 26 Jan 2014 00:20:10 +0000 (16:20 -0800)]
2.0.13

10 years agono inception! (remove browserify dep)
Feross Aboukhadijeh [Sun, 26 Jan 2014 00:20:06 +0000 (16:20 -0800)]
no inception! (remove browserify dep)

10 years agostyle
Feross Aboukhadijeh [Sat, 25 Jan 2014 23:16:52 +0000 (15:16 -0800)]
style

10 years agostyle
Feross Aboukhadijeh [Sat, 25 Jan 2014 23:12:42 +0000 (15:12 -0800)]
style

10 years agostyle
Feross Aboukhadijeh [Mon, 20 Jan 2014 09:23:57 +0000 (01:23 -0800)]
style

10 years ago2.0.12
Feross Aboukhadijeh [Mon, 20 Jan 2014 08:22:36 +0000 (00:22 -0800)]
2.0.12

10 years agofix toArrayBuffer() test so it will run on Firefox
Feross Aboukhadijeh [Mon, 20 Jan 2014 08:21:44 +0000 (00:21 -0800)]
fix toArrayBuffer() test so it will run on Firefox

10 years ago2.0.11
Feross Aboukhadijeh [Mon, 20 Jan 2014 08:17:57 +0000 (00:17 -0800)]
2.0.11

10 years agoAdd buf.toArrayBuffer on Firefox (fix #17)
Feross Aboukhadijeh [Mon, 20 Jan 2014 08:15:17 +0000 (00:15 -0800)]
Add buf.toArrayBuffer on Firefox (fix #17)

10 years ago2.0.10
Feross Aboukhadijeh [Mon, 20 Jan 2014 08:07:34 +0000 (00:07 -0800)]
2.0.10

10 years agoFix: In node 0.8 + 0.10, Uint8Array.prototype.set is undefined
Feross Aboukhadijeh [Mon, 20 Jan 2014 08:05:48 +0000 (00:05 -0800)]
Fix: In node 0.8 + 0.10, Uint8Array.prototype.set is undefined

10 years agoSupport deprecated `get` and `set` calls
Feross Aboukhadijeh [Mon, 20 Jan 2014 07:33:35 +0000 (23:33 -0800)]
Support deprecated `get` and `set` calls

10 years ago2.0.9
Feross Aboukhadijeh [Sat, 18 Jan 2014 20:45:50 +0000 (12:45 -0800)]
2.0.9

10 years agoFix #16. TypeError: buf.set is not a function (firefox)
Feross Aboukhadijeh [Sat, 18 Jan 2014 20:45:45 +0000 (12:45 -0800)]
Fix #16. TypeError: buf.set is not a function (firefox)

10 years agoimprove style of tests
Feross Aboukhadijeh [Sat, 18 Jan 2014 20:39:59 +0000 (12:39 -0800)]
improve style of tests

10 years ago2.0.8
Feross Aboukhadijeh [Thu, 9 Jan 2014 05:21:44 +0000 (21:21 -0800)]
2.0.8

10 years agodon't assume Uint8Array exists in global namespace
Feross Aboukhadijeh [Thu, 9 Jan 2014 05:00:55 +0000 (21:00 -0800)]
don't assume Uint8Array exists in global namespace

10 years agoFix new buffer from buffer test for Object implementation
Feross Aboukhadijeh [Thu, 9 Jan 2014 04:57:32 +0000 (20:57 -0800)]
Fix new buffer from buffer test for Object implementation