-
Notifications
You must be signed in to change notification settings - Fork 352
rework scopes to make them stack allocated and remove runtime bookkeeping of scopes #1830
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 69 commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
61f5d8d
wip
nathanwhit fd64c42
update
nathanwhit 77fd0d8
init try catch
nathanwhit ee8d37f
real isolateification
nathanwhit 5d27e0e
hmmmm
nathanwhit cd03976
closer
nathanwhit 2973c1c
rework contextscope, fix callbackscope leak
nathanwhit 765b0f8
add trycatch methods
nathanwhit 16b4201
sync up changes
nathanwhit 2263708
escapable handle scope, more examples working
nathanwhit d23f37a
disallow/allow execution scope, phantom pinned
nathanwhit 00bc4c5
fix derefmut, warnings, remove old scopes
nathanwhit e948db2
fix cppgc example
nathanwhit 3fe398d
update compile_fail tests
nathanwhit 65aacf7
asref impls, get some more tests passing
nathanwhit f1c92ea
fix bug, start fixing api tests
nathanwhit 8483fa3
get more passing
nathanwhit 7dd1195
add missing methods, callbacks are borked
nathanwhit c8b24d0
wip
nathanwhit f19b865
working on it
nathanwhit bb8e7c3
rework trycatch a bit
nathanwhit 8bc77cb
fix newhandlescope lt
nathanwhit 55c223c
small fixes
nathanwhit 5de1908
get it all compiling
nathanwhit 2e41a35
update ui tests
nathanwhit 76ef1c0
finish todos
nathanwhit eda9247
inlining
nathanwhit 3388351
fix context scope bug, ignore broken tests, fix examples
nathanwhit 2bfa95f
fix remaining tests
nathanwhit 6f76ade
fix doctests
nathanwhit 0bbe6c0
temporarily run ci on the old branch
nathanwhit b9ed173
fmt
nathanwhit aa05aeb
unignore snapshot tests
nathanwhit dd2976e
fix benchmark
nathanwhit bb7dbd5
tweak some lifetimes, add new type alias
nathanwhit 7b75905
appease clippy
nathanwhit a42dc34
change fast api
nathanwhit aed4a66
fmt
nathanwhit 4c3e3a0
new raw isolate pointer api
nathanwhit 1db7c67
fix ui test
nathanwhit c591137
rebase fixup
nathanwhit da358ce
remove old scope code
nathanwhit 543d51c
rename scope2 -> scope
nathanwhit 7dbf7d3
more explicit implied lifetimes
nathanwhit 70368cd
rename some methods
nathanwhit 2253ae9
appease clippy
nathanwhit 44c92cf
scope tweaks
nathanwhit 55fe409
trycatch/escapablehandlescope lifetimes
nathanwhit 6498559
appease clippy
nathanwhit 3f07a1a
fmt
nathanwhit 22c58ea
update tests
nathanwhit fa2ef6d
reduce null checks
nathanwhit eb094c5
windows
nathanwhit 6b41d94
windows?
nathanwhit a1429dd
remove dead code
nathanwhit 0f4a583
small cleanup
nathanwhit 3c2f8b7
impl AsMut<Isolate>
nathanwhit 6b55d6e
add feature for dchecks
nathanwhit 21bb788
cleanup, start on docs
nathanwhit 516d6f7
cleanup, add back deref tests, fix some impls
nathanwhit 78f78ff
cleanup
nathanwhit 167d0bc
add some comments, appease clippy
nathanwhit 24407f0
comments
nathanwhit 0e1dcec
replace w macro
nathanwhit 6250365
use macro more
nathanwhit 933b77e
revert ci change
nathanwhit caf953b
fmt
nathanwhit b0ca013
change macro expansion to improve borrowing error messages
nathanwhit 5502f94
remove unnecessary reborrows
nathanwhit 820307b
address comments
nathanwhit 970df18
Merge main into scope-rework
nathanwhit b6315e7
rename macros to be more succinct
nathanwhit d278fe5
copy over rustdocs
nathanwhit 7bc1b8b
add funtion to extend lifetime
nathanwhit 7a9ee54
add compile fail test for zombie scope issue
nathanwhit 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
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.