-
Notifications
You must be signed in to change notification settings - Fork 286
Typed Array discoverability #909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 28 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
e5ee685
WIP
dherman 6d136af
- Use aquamarine crate to product the type hierarchy diagram in neon:…
dherman a50522e
Types diagram cosmetics:
dherman 04f122e
- Divide type hierarchy diagram into two diagrams and add some more c…
dherman 321bb68
Prettier
dherman 5b5da7e
cargo fmt fixes
dherman bbcd086
Copy nit: avoid the word "number" when describing object types
dherman 9172444
Move `Binary` trait into `crate::types::buffer::private` so it doesn'…
dherman 9db2163
Add missing module.
dherman ff4e501
Move definition of typed array type aliases into the macro.
dherman 1a49e5b
Elide lifetimes
dherman 84c5fd8
- Change `from_array_buffer()` to `from_buffer_region()` and add more…
dherman bbf3cda
Add API docs for typed array methods
dherman 45780d5
Make `JsTypedArray` into a wide pointer (like `JsBox`) that caches al…
dherman e119b79
Docs copy edit
dherman 03c0cf9
`TypedArray::byte_length()` doesn't need an FFI call for `JsTypedArray`
dherman 776ba84
Address all Clippy warnings and errors.
dherman 3f0fc4c
Add tests for detached buffers, and move typed array tests into separ…
dherman ffb089b
Abstract some boilerplate in the various detaching test cases
dherman 480298c
Test byteOffset as well
dherman 5785b96
Fix the tests by removing the caching of offset and length
dherman 6bc6aaa
Add a `Region` type to represent a typed region of a buffer:
dherman 9cf8c53
rustfmt
dherman 28b6136
prettier
dherman 912b178
fix doc test
dherman f24f1e7
Update for latest RFC changes:
dherman 74251cb
- API tweak: TypedArray::Item must implement Binary
dherman 326a9d0
prettier
dherman aa6c655
Address review suggestions:
dherman f6c2143
Satisfying the linters with ritualistic sacrifices
dherman 7fb1779
Doc build fix: cfg_attr should do a feature test
dherman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.