]> git.codecow.com Git - buffer.git/log
buffer.git
9 years agoUpdate dot files.
John-David Dalton [Sat, 24 Sep 2016 02:43:04 +0000 (19:43 -0700)]
Update dot files.

9 years agoRemove object implementation tests
Feross Aboukhadijeh [Sat, 24 Sep 2016 01:59:08 +0000 (18:59 -0700)]
Remove object implementation tests

9 years agov5: Remove Object implementation
Feross Aboukhadijeh [Sat, 24 Sep 2016 01:53:27 +0000 (18:53 -0700)]
v5: Remove Object implementation

9 years agoRemove isarray dep.
John-David Dalton [Fri, 23 Sep 2016 18:04:42 +0000 (11:04 -0700)]
Remove isarray dep.

9 years agoMerge pull request #135 from feross/style
Feross Aboukhadijeh [Wed, 14 Sep 2016 19:55:14 +0000 (12:55 -0700)]
Merge pull request #135 from feross/style

style: Move prototype setup to right after Buffer constructor

9 years agostyle: Move prototype setup to right after Buffer constructor
Feross Aboukhadijeh [Wed, 14 Sep 2016 16:49:58 +0000 (09:49 -0700)]
style: Move prototype setup to right after Buffer constructor

9 years agochange standard ignore syntax
Feross Aboukhadijeh [Sat, 10 Sep 2016 19:32:14 +0000 (12:32 -0700)]
change standard ignore syntax

this has no meaningful effect at the moment, but if we add folders to
perf/ or test/node in the future, those subfolders will also be ignored

9 years agostandard
Feross Aboukhadijeh [Fri, 26 Aug 2016 01:56:24 +0000 (18:56 -0700)]
standard

10 years ago4.9.1
Feross Aboukhadijeh [Thu, 18 Aug 2016 03:46:29 +0000 (20:46 -0700)]
4.9.1

10 years agoMerge pull request #132 from feross/throw-negative
Feross Aboukhadijeh [Thu, 18 Aug 2016 03:42:02 +0000 (05:42 +0200)]
Merge pull request #132 from feross/throw-negative

sync tests; throw on negative .allocUnsafe() argument; remove hacks

10 years agothrow on negative .allocUnsafe() argument
Feross Aboukhadijeh [Thu, 18 Aug 2016 03:20:34 +0000 (20:20 -0700)]
throw on negative .allocUnsafe() argument

To match new behavior in node v6.4.0

https://github.com/nodejs/node/commit/8f90dcc1b8e4ac3d8597ea2ee3927f325c
c980d3

10 years agotest: sync node.js tests to master (node v6.4.0)
Feross Aboukhadijeh [Thu, 18 Aug 2016 03:19:46 +0000 (20:19 -0700)]
test: sync node.js tests to master (node v6.4.0)

10 years agotest: Remove assert hack
Feross Aboukhadijeh [Thu, 18 Aug 2016 02:28:41 +0000 (19:28 -0700)]
test: Remove assert hack

Bug in node.js core was fixed in node v6.4.0!

https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.m
d#6.4.0

10 years agohq standard badge
Feross Aboukhadijeh [Tue, 9 Aug 2016 01:00:29 +0000 (18:00 -0700)]
hq standard badge

10 years agofixpack
Feross Aboukhadijeh [Mon, 8 Aug 2016 20:59:58 +0000 (13:59 -0700)]
fixpack

10 years agoMerge pull request #129 from feross/AUTHORS
Feross Aboukhadijeh [Mon, 8 Aug 2016 20:59:20 +0000 (22:59 +0200)]
Merge pull request #129 from feross/AUTHORS

Add AUTHORS.md to thank contributors!

10 years agoAdd AUTHORS.md to thank contributors!
Feross Aboukhadijeh [Mon, 8 Aug 2016 20:59:07 +0000 (13:59 -0700)]
Add AUTHORS.md to thank contributors!

10 years ago4.9.0
Feross Aboukhadijeh [Mon, 8 Aug 2016 09:01:41 +0000 (02:01 -0700)]
4.9.0

10 years agoMerge pull request #128 from feross/typeof
Feross Aboukhadijeh [Mon, 8 Aug 2016 08:56:40 +0000 (10:56 +0200)]
Merge pull request #128 from feross/typeof

Fix: Add missing "typeof"

10 years agoFix: Add missing "typeof"
Feross Aboukhadijeh [Mon, 8 Aug 2016 08:53:07 +0000 (01:53 -0700)]
Fix: Add missing "typeof"

Without this, we never go down the faster native indexOf code-path. So
this wasn't causing bugs in user code, it was just probably slower than
necessary.

10 years agotest: undo removing iphone test
Feross Aboukhadijeh [Mon, 8 Aug 2016 08:43:44 +0000 (01:43 -0700)]
test: undo removing iphone test

10 years agozuul: undo disabling latest firefox test
Feross Aboukhadijeh [Mon, 8 Aug 2016 08:43:32 +0000 (01:43 -0700)]
zuul: undo disabling latest firefox test

10 years agoMerge pull request #127 from dcposch/dc/lastindexof
Feross Aboukhadijeh [Mon, 8 Aug 2016 08:42:04 +0000 (10:42 +0200)]
Merge pull request #127 from dcposch/dc/lastindexof

Buffer.lastIndexOf

10 years ago4.8.0
Feross Aboukhadijeh [Mon, 8 Aug 2016 08:28:48 +0000 (01:28 -0700)]
4.8.0

10 years agoMerge pull request #126 from feross/test-fixes
Feross Aboukhadijeh [Mon, 8 Aug 2016 08:26:02 +0000 (10:26 +0200)]
Merge pull request #126 from feross/test-fixes

Update node.js tests and fix the bugs it caught

10 years agoBuffer.lastIndexOf
DC [Mon, 8 Aug 2016 07:49:02 +0000 (00:49 -0700)]
Buffer.lastIndexOf

10 years agoAdd explanatory comment
Feross Aboukhadijeh [Mon, 8 Aug 2016 08:16:12 +0000 (01:16 -0700)]
Add explanatory comment

In response to @dcposch's feedback

10 years agoHACK: test: add terrible hack to work around node.js assert bug
Feross Aboukhadijeh [Mon, 8 Aug 2016 05:10:05 +0000 (22:10 -0700)]
HACK: test: add terrible hack to work around node.js assert bug

Waiting for this issue to be fixed:
https://github.com/nodejs/node/issues/8001

10 years agoShow warning for unimplemented .lastIndexOf
Feross Aboukhadijeh [Mon, 8 Aug 2016 05:09:15 +0000 (22:09 -0700)]
Show warning for unimplemented .lastIndexOf

Instead of letting the Uint8Array implementation's .lastIndexOf be
exposed, since that one has a different interface.

10 years agoFix: buffer should only be as long as the valid part of a hex string
Feross Aboukhadijeh [Mon, 8 Aug 2016 05:08:39 +0000 (22:08 -0700)]
Fix: buffer should only be as long as the valid part of a hex string

Caught by the new node.js tests

10 years agoFix: treat numbers as unsigned 8-bit for .indexOf and .includes
Feross Aboukhadijeh [Mon, 8 Aug 2016 05:08:07 +0000 (22:08 -0700)]
Fix: treat numbers as unsigned 8-bit for .indexOf and .includes

Caught by the new node.js tests

10 years agotest: Update node.js tests from master
Feross Aboukhadijeh [Mon, 8 Aug 2016 05:07:20 +0000 (22:07 -0700)]
test: Update node.js tests from master

10 years agotest: remove typed array support check
Feross Aboukhadijeh [Mon, 8 Aug 2016 05:06:09 +0000 (22:06 -0700)]
test: remove typed array support check

The node.js tests are only run in browsers that support new ES6 syntax
(and all of those support typed arrays!)

10 years agofix node tests not running
Feross Aboukhadijeh [Sat, 6 Aug 2016 22:24:37 +0000 (15:24 -0700)]
fix node tests not running

10 years agofix node tests not running
Feross Aboukhadijeh [Sat, 6 Aug 2016 22:23:32 +0000 (15:23 -0700)]
fix node tests not running

10 years agoAdd 'latin1' encoding (alias for 'binary')
Feross Aboukhadijeh [Sat, 6 Aug 2016 22:16:46 +0000 (15:16 -0700)]
Add 'latin1' encoding (alias for 'binary')

https://github.com/nodejs/node/commit/54cc7212df320f1e489edf8dbeabb167a7
1cbe67

10 years agoRemove deprecated 'raw' and 'raws' encoding
Feross Aboukhadijeh [Sat, 6 Aug 2016 22:12:34 +0000 (15:12 -0700)]
Remove deprecated 'raw' and 'raws' encoding

https://github.com/nodejs/node/pull/2859

10 years agohyperquest@2
Feross Aboukhadijeh [Sat, 6 Aug 2016 22:03:31 +0000 (15:03 -0700)]
hyperquest@2

10 years agoMerge pull request #125 from fanatid/feature/swap64
Feross Aboukhadijeh [Sat, 6 Aug 2016 22:01:16 +0000 (00:01 +0200)]
Merge pull request #125 from fanatid/feature/swap64

lib: add swap64 (was introduced in node 6.3.0)

10 years agolib: add swap64 (was introduced in node 6.3.0)
Kirill Fomichev [Sat, 6 Aug 2016 19:32:17 +0000 (22:32 +0300)]
lib: add swap64 (was introduced in node 6.3.0)

news: https://nodejs.org/en/blog/release/v6.3.0/
PR: https://github.com/nodejs/node/pull/7157

10 years ago4.7.1
Feross Aboukhadijeh [Fri, 15 Jul 2016 07:06:00 +0000 (00:06 -0700)]
4.7.1

10 years agoskip broken firefox 47 on sauce labs
Feross Aboukhadijeh [Fri, 15 Jul 2016 07:03:47 +0000 (00:03 -0700)]
skip broken firefox 47 on sauce labs

10 years agoFix TypeError: Could not convert argument 1 to a number (fix #123)
Feross Aboukhadijeh [Fri, 15 Jul 2016 06:55:51 +0000 (23:55 -0700)]
Fix TypeError: Could not convert argument 1 to a number (fix #123)

10 years agozuul: remove flaky iphone test
Feross Aboukhadijeh [Fri, 24 Jun 2016 02:03:45 +0000 (19:03 -0700)]
zuul: remove flaky iphone test

10 years ago4.7.0
Feross Aboukhadijeh [Fri, 24 Jun 2016 01:35:04 +0000 (18:35 -0700)]
4.7.0

10 years agotest: no polyfill for ES6 browsers
Feross Aboukhadijeh [Wed, 22 Jun 2016 23:57:16 +0000 (16:57 -0700)]
test: no polyfill for ES6 browsers

10 years agoMerge pull request #122 from kawanet/issues/121
Feross Aboukhadijeh [Wed, 22 Jun 2016 11:09:19 +0000 (04:09 -0700)]
Merge pull request #122 from kawanet/issues/121

re #121: IE10-on-IE11 fails the augmentation

10 years agoreadme
Feross Aboukhadijeh [Wed, 22 Jun 2016 06:10:49 +0000 (23:10 -0700)]
readme

10 years agore #121: IE10-on-IE11 fails the augmentation
Yusuke Kawasaki [Sat, 18 Jun 2016 17:40:08 +0000 (02:40 +0900)]
re #121: IE10-on-IE11 fails the augmentation

10 years agofix test failures
Feross Aboukhadijeh [Wed, 4 May 2016 12:03:20 +0000 (14:03 +0200)]
fix test failures

10 years agoMerge pull request #115 from feross/greenkeeper-standard-7.0.0
Feross Aboukhadijeh [Mon, 2 May 2016 19:54:25 +0000 (21:54 +0200)]
Merge pull request #115 from feross/greenkeeper-standard-7.0.0

Update standard to version 7.0.0 🚀

10 years agochore(package): update standard to version 7.0.0
greenkeeperio-bot [Mon, 2 May 2016 14:20:17 +0000 (16:20 +0200)]
chore(package): update standard to version 7.0.0

https://greenkeeper.io/

10 years agotravis badge -> master
Feross Aboukhadijeh [Sat, 30 Apr 2016 21:49:19 +0000 (23:49 +0200)]
travis badge -> master

10 years agostyle
Feross Aboukhadijeh [Fri, 29 Apr 2016 10:06:00 +0000 (12:06 +0200)]
style

10 years agosync node.js buffer tests
Feross Aboukhadijeh [Fri, 29 Apr 2016 08:40:21 +0000 (10:40 +0200)]
sync node.js buffer tests

10 years agostandard
Feross Aboukhadijeh [Sun, 24 Apr 2016 05:12:40 +0000 (22:12 -0700)]
standard

10 years ago4.6.0
Feross Aboukhadijeh [Wed, 20 Apr 2016 06:36:34 +0000 (23:36 -0700)]
4.6.0

10 years agoMerge pull request #112 from feross/v6
Feross Aboukhadijeh [Wed, 20 Apr 2016 06:33:39 +0000 (23:33 -0700)]
Merge pull request #112 from feross/v6

Update buffer for node.js v6

10 years agofix firefox strict mode error
Feross Aboukhadijeh [Wed, 20 Apr 2016 06:02:09 +0000 (23:02 -0700)]
fix firefox strict mode error

10 years agoIE10 fix: don't pass undefined length to typed array constructor
Feross Aboukhadijeh [Wed, 20 Apr 2016 05:48:28 +0000 (22:48 -0700)]
IE10 fix: don't pass undefined length to typed array constructor

10 years agocheck that ArrayBuffer.isView exists
Feross Aboukhadijeh [Wed, 20 Apr 2016 05:45:26 +0000 (22:45 -0700)]
check that ArrayBuffer.isView exists

For IE10

10 years agoexplicitly set zuul ui
Feross Aboukhadijeh [Wed, 20 Apr 2016 05:43:47 +0000 (22:43 -0700)]
explicitly set zuul ui

10 years agochanges
Feross Aboukhadijeh [Wed, 20 Apr 2016 05:42:28 +0000 (22:42 -0700)]
changes

10 years agoOnly run es6 node tests in browsers that support it
Feross Aboukhadijeh [Wed, 20 Apr 2016 05:34:01 +0000 (22:34 -0700)]
Only run es6 node tests in browsers that support it

10 years agoMake latest node.js tests pass
Feross Aboukhadijeh [Wed, 20 Apr 2016 04:56:24 +0000 (21:56 -0700)]
Make latest node.js tests pass

10 years agoAdd Buffer.from, alloc, allocUnsafe, allocUnsafeSlow, swap16, swap32
Feross Aboukhadijeh [Tue, 19 Apr 2016 06:50:48 +0000 (23:50 -0700)]
Add Buffer.from, alloc, allocUnsafe, allocUnsafeSlow, swap16, swap32

Brings buffer up-to-date with node.js commit 6275249 on  Apr 15, 2016.

https://github.com/nodejs/node/blob/e38bade82801645d8cc1010e3f4e98260522
44cb/lib/buffer.js

10 years ago4.5.1
Feross Aboukhadijeh [Thu, 24 Mar 2016 03:01:26 +0000 (20:01 -0700)]
4.5.1

10 years agozuul: only test latest desktop safari
Feross Aboukhadijeh [Thu, 24 Mar 2016 02:58:06 +0000 (19:58 -0700)]
zuul: only test latest desktop safari

10 years agoremove redundant check (fix #110)
Feross Aboukhadijeh [Thu, 24 Mar 2016 02:57:55 +0000 (19:57 -0700)]
remove redundant check (fix #110)

10 years agoFixes to PR #109
Feross Aboukhadijeh [Thu, 24 Mar 2016 02:45:03 +0000 (19:45 -0700)]
Fixes to PR #109

10 years agoMerge pull request #109 from fanatid/feature/compare
Feross Aboukhadijeh [Thu, 24 Mar 2016 02:43:14 +0000 (19:43 -0700)]
Merge pull request #109 from fanatid/feature/compare

more readable Buffer.compare

10 years agomore readable Buffer.compare
Kirill Fomichev [Wed, 23 Mar 2016 09:17:24 +0000 (12:17 +0300)]
more readable Buffer.compare

10 years agoMerge pull request #108 from fanatid/patch-z
Feross Aboukhadijeh [Fri, 11 Mar 2016 05:20:21 +0000 (21:20 -0800)]
Merge pull request #108 from fanatid/patch-z

add new related packages to README.md

10 years agoadd new related packages to README.md
Kirill Fomichev [Fri, 11 Mar 2016 05:03:04 +0000 (08:03 +0300)]
add new related packages to README.md

10 years agoedge version fix
Feross Aboukhadijeh [Fri, 11 Mar 2016 01:02:44 +0000 (17:02 -0800)]
edge version fix

10 years agotest: remove opera; add iphone back
Feross Aboukhadijeh [Fri, 11 Mar 2016 00:54:35 +0000 (16:54 -0800)]
test: remove opera; add iphone back

10 years agozuul: temporarily remove flaky ios tests
Feross Aboukhadijeh [Tue, 1 Mar 2016 21:30:48 +0000 (13:30 -0800)]
zuul: temporarily remove flaky ios tests

10 years agotravis: use latest node
Feross Aboukhadijeh [Tue, 1 Mar 2016 21:30:28 +0000 (13:30 -0800)]
travis: use latest node

10 years ago4.5.0
Feross Aboukhadijeh [Tue, 16 Feb 2016 07:39:42 +0000 (23:39 -0800)]
4.5.0

10 years agoremove typedarray-to-buffer.js tests
Feross Aboukhadijeh [Tue, 16 Feb 2016 07:22:29 +0000 (23:22 -0800)]
remove typedarray-to-buffer.js tests

10 years agoadd explanatory comment for #97
Feross Aboukhadijeh [Tue, 16 Feb 2016 07:11:49 +0000 (23:11 -0800)]
add explanatory comment for #97

10 years agoMerge pull request #97 from littledan/master
Feross Aboukhadijeh [Tue, 16 Feb 2016 07:08:07 +0000 (23:08 -0800)]
Merge pull request #97 from littledan/master

Ensure ES2016 engines construct Uint8Array (not Buffer) from Buffer.p…

10 years agoMerge pull request #101 from feross/greenkeeper-standard-6.0.5
Feross Aboukhadijeh [Fri, 12 Feb 2016 20:51:27 +0000 (12:51 -0800)]
Merge pull request #101 from feross/greenkeeper-standard-6.0.5

Update standard to version 6.0.5 🚀

10 years agochore(package): update standard to version 6.0.5
greenkeeperio-bot [Fri, 12 Feb 2016 18:49:52 +0000 (10:49 -0800)]
chore(package): update standard to version 6.0.5

http://greenkeeper.io/

10 years agostandard 6
Feross Aboukhadijeh [Fri, 5 Feb 2016 22:00:12 +0000 (14:00 -0800)]
standard 6

10 years ago4.4.0
Feross Aboukhadijeh [Thu, 28 Jan 2016 22:33:50 +0000 (23:33 +0100)]
4.4.0

10 years agoMerge pull request #100 from substack/infinity
Daniel Cousens [Thu, 28 Jan 2016 22:08:16 +0000 (09:08 +1100)]
Merge pull request #100 from substack/infinity

truncate toward infinity instead of raising an exception

10 years agodisable value check on floats to match node behavior
James Halliday [Thu, 28 Jan 2016 21:56:12 +0000 (13:56 -0800)]
disable value check on floats to match node behavior

10 years agotests to write {+,-}Infinity to floats, doubles
James Halliday [Thu, 28 Jan 2016 21:54:19 +0000 (13:54 -0800)]
tests to write {+,-}Infinity to floats, doubles

10 years agoEnsure ES2016 engines construct Uint8Array (not Buffer) from Buffer.prototype.slice
Dan Ehrenberg [Thu, 14 Jan 2016 19:53:22 +0000 (11:53 -0800)]
Ensure ES2016 engines construct Uint8Array (not Buffer) from Buffer.prototype.slice

In the ES2016 draft specification, TypedArray methods like
%TypedArray%.prototype.subarray() call out to a constructor for the result
based on the receiver. Ordinarily, the constructor is instance.constructor,
but subclasses can override this using the Symbol.species property on the
constructor.

Buffer.prototype.slice calls out to %TypedArray%.prototype.subarray, which
calls this calculated constructor with three arguments. The argument pattern
doesn't correspond to a constructor for Buffer, so without setting
Symbol.species appropriately, the wrong kind of result is created.

This patch sets Buffer[Symbol.species] to Uint8Array when appropriate, to
address the issue.

10 years ago4.3.1
Feross Aboukhadijeh [Wed, 27 Jan 2016 14:41:32 +0000 (15:41 +0100)]
4.3.1

10 years agoadd back Buffer._augment for one more major version
Feross Aboukhadijeh [Wed, 27 Jan 2016 14:37:50 +0000 (15:37 +0100)]
add back Buffer._augment for one more major version

It’s used by typedarray-to-buffer 3.0.4 and probably others.

10 years agofix comment
Feross Aboukhadijeh [Wed, 27 Jan 2016 14:30:08 +0000 (15:30 +0100)]
fix comment

10 years agoMerge pull request #96 from jscissr/patch-1
Feross Aboukhadijeh [Wed, 13 Jan 2016 20:58:47 +0000 (21:58 +0100)]
Merge pull request #96 from jscissr/patch-1

README: iojs.org -> nodejs.org, http -> https

10 years agoREADME: iojs.org -> nodejs.org, http -> https
Jan Schär [Wed, 13 Jan 2016 20:57:20 +0000 (21:57 +0100)]
README: iojs.org -> nodejs.org, http -> https

10 years agobadges
Feross Aboukhadijeh [Wed, 13 Jan 2016 06:58:47 +0000 (07:58 +0100)]
badges

10 years agobrowserify@13
Feross Aboukhadijeh [Wed, 13 Jan 2016 06:58:43 +0000 (07:58 +0100)]
browserify@13

10 years agoupdate readme
Feross Aboukhadijeh [Tue, 12 Jan 2016 23:24:18 +0000 (00:24 +0100)]
update readme

10 years ago4.3.0
Feross Aboukhadijeh [Tue, 12 Jan 2016 22:59:16 +0000 (23:59 +0100)]
4.3.0

10 years agosauce: drop safari 5.1 from tests
Feross Aboukhadijeh [Tue, 12 Jan 2016 22:07:29 +0000 (23:07 +0100)]
sauce: drop safari 5.1 from tests