From: rbri <rb...@rb...> - 2018-05-15 17:57:13
|
Branch: refs/heads/master Home: https://github.com/HtmlUnit/htmlunit-rhino-fork Commit: bfd227112dc7c73c7f04ed68dbe00d4541caebfb https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/bfd227112dc7c73c7f04ed68dbe00d4541caebfb Author: RBRi <rb...@rb...> Date: 2018-05-15 (Tue, 15 May 2018) Changed paths: M src/org/mozilla/javascript/Context.java M src/org/mozilla/javascript/ContextFactory.java M src/org/mozilla/javascript/typedarrays/NativeArrayBufferView.java M src/org/mozilla/javascript/typedarrays/NativeDataView.java M src/org/mozilla/javascript/typedarrays/NativeFloat32Array.java M src/org/mozilla/javascript/typedarrays/NativeFloat64Array.java M src/org/mozilla/javascript/typedarrays/NativeInt16Array.java M src/org/mozilla/javascript/typedarrays/NativeInt32Array.java M src/org/mozilla/javascript/typedarrays/NativeTypedArrayView.java M src/org/mozilla/javascript/typedarrays/NativeUint16Array.java M src/org/mozilla/javascript/typedarrays/NativeUint32Array.java A testsrc/jstests/harmony/typed-array-in.js A testsrc/jstests/harmony/typed-array-to-string.js A testsrc/org/mozilla/javascript/tests/harmony/TypedArrayInTest.java A testsrc/org/mozilla/javascript/tests/harmony/TypedArrayToStringTest.java Log Message: ----------- some fixes/enhancements for the typed array support (#436) * fix broken in operator for typed arrays (zero is a valid index too) * typed arrays are doing the buffer encoding based on little/big endian from the architecture they run on. So far Rhino always uses big endian. With this patch we are able to simulate little endian also by setting a context feature. * regarding the spec the default is always big endian and not architecture dependent * fix toString() for typed arrays Commit: 7064d4eaec0f1070ff13b6ce0459d9c8656acc90 https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/7064d4eaec0f1070ff13b6ce0459d9c8656acc90 Author: rbri <rb...@rb...> Date: 2018-05-15 (Tue, 15 May 2018) Changed paths: M src/org/mozilla/javascript/Context.java M src/org/mozilla/javascript/ContextFactory.java M src/org/mozilla/javascript/typedarrays/NativeArrayBufferView.java M src/org/mozilla/javascript/typedarrays/NativeDataView.java M src/org/mozilla/javascript/typedarrays/NativeFloat32Array.java M src/org/mozilla/javascript/typedarrays/NativeFloat64Array.java M src/org/mozilla/javascript/typedarrays/NativeInt16Array.java M src/org/mozilla/javascript/typedarrays/NativeInt32Array.java M src/org/mozilla/javascript/typedarrays/NativeTypedArrayView.java M src/org/mozilla/javascript/typedarrays/NativeUint16Array.java M src/org/mozilla/javascript/typedarrays/NativeUint32Array.java A testsrc/jstests/harmony/typed-array-in.js A testsrc/jstests/harmony/typed-array-to-string.js A testsrc/org/mozilla/javascript/tests/harmony/TypedArrayInTest.java A testsrc/org/mozilla/javascript/tests/harmony/TypedArrayToStringTest.java Log Message: ----------- Merge commit 'bfd227112dc7c73c7f04ed68dbe00d4541caebfb' # Conflicts: # src/org/mozilla/javascript/Context.java # src/org/mozilla/javascript/ContextFactory.java Compare: https://github.com/HtmlUnit/htmlunit-rhino-fork/compare/f31a1f0c99b9...7064d4eaec0f **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. |