-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[browser][wasm] Implement JavaScript managed object reference counting #37417
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 all commits
Commits
Show all changes
145 commits
Select commit
Hold shift + click to select a range
d17e863
Add Browser specific files to the project
kjpou1 aafa4b0
Browser specific file modification to not include Quic support
kjpou1 7d52436
Add Browser specific support files for Http Handler code
kjpou1 242ade6
Add Interop code for JavaScript support
kjpou1 2ca93d8
Remove unused reference
kjpou1 ab0e0de
Add Http handler bindings implementation
kjpou1 bc39563
Nullable support
kjpou1 b60ee5b
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 92f74c4
Add browser files back after upstream merge conflict
kjpou1 a9248de
Use attribute Link syntax for Common files to bring in sync with exis…
kjpou1 dc82e45
Address Missing license header
kjpou1 cc70c9f
Code formatting and removal of comment code.
kjpou1 c96a6f1
Address PR comments.
kjpou1 bb9ff24
Address commit comments
kjpou1 2f7ace0
Add blank line between License and first line of code. Address comments
kjpou1 ced6437
Replace SocketsHttpHandler build for Browser.
kjpou1 5c89333
Cleanup SendAsync code when doing the call out to JavaScript Fetch.
kjpou1 4eb5dd1
Refactor BrowserHttpHandler code.
kjpou1 d5360b6
Cleanup
kjpou1 d1b537d
Remove null check as it should be checked in outer classes
kjpou1 39947b1
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 2d8e124
Cleanup var usage to use explicit type. Address commit comments
kjpou1 d443cfd
Move `.ConfigureAwait(true)` to `.ConfigureAwait(false)`
kjpou1 0d63762
Change accessor of Runtime javascript interop methods.
kjpou1 a91637c
Change accessor of Runtime javascript interop methods.
kjpou1 cdbbf0f
Address review comments for unused code
kjpou1 5814d1d
Cleanup leftover debug WriteLines
kjpou1 146b6d7
Remove the AllowNull attributes as per review comments.
kjpou1 1f510f4
Update src/libraries/Common/src/Interop/Browser/Interop.Runtime.cs
kjpou1 90b83f6
throw different exception type as per review comment
kjpou1 da394d6
use char[] array instead and return new string(array).
kjpou1 95af576
Initial addition of Browser Interop library
kjpou1 ada3198
use char[] array instead and return new string(array).
kjpou1 daa02cc
Add project references so the Interop.JavaScript project builds
kjpou1 8395f8f
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 d45f9a9
Coding Style update
kjpou1 c1190d2
Split the runtime methods into two modules.
kjpou1 93100b5
Move System.Runtime.Interop.JavaScript to \src\libraries
kjpou1 5845ee3
Change preprocessor to upper case TARGETS_BROWSER
kjpou1 3c75797
Update src/libraries/Common/src/Interop/Browser/Interop.Runtime.Api.cs
kjpou1 c7c80bc
Update src/libraries/Common/src/Interop/Browser/Interop.Runtime.Api.cs
kjpou1 568211e
Update src/libraries/Common/src/Interop/Browser/Interop.Runtime.Api.cs
kjpou1 282efa0
Rename from .Api to .Bridge to address review comments
kjpou1 b09e224
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 fa165aa
Modify .csproj files to reflect .Bridge.cs change.
kjpou1 b57fef9
Remove unnecessary constant
kjpou1 a4753c0
Add docs
kjpou1 ee9c8d9
Update Bridge link
kjpou1 1eb5d23
Collapse code as per review comment.
kjpou1 49193b8
Address review comments on `Task.ConfigureAwait(continueOnCapturedCon…
kjpou1 6ce0e8d
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 1a655e5
Address review comment about using PropertyInfo reflection.
kjpou1 4636867
Coding Style - Address review comments
kjpou1 35380b5
Part of code style and object documentation to partially address revi…
kjpou1 233c3b3
Update src/libraries/Common/src/Interop/Browser/Interop.JavaScript.JS…
kjpou1 5e0ebf2
Update src/libraries/Common/src/Interop/Browser/Interop.Runtime.Bridg…
kjpou1 117c9ef
Update src/libraries/System.Net.Http/src/System/Net/Http/BrowserHttpH…
kjpou1 8604280
Update src/libraries/System.Net.Http/src/System/Net/Http/BrowserHttpH…
kjpou1 65c1f22
Update src/libraries/System.Net.Http/src/System/Net/Http/BrowserHttpH…
kjpou1 3d6ce31
Update src/libraries/System.Net.Http/src/System/Net/Http/BrowserHttpH…
kjpou1 de114a5
Update src/libraries/System.Net.Http/src/System/Net/Http/BrowserHttpH…
kjpou1 9244cb4
Add class docs and code style updates
kjpou1 fb95c39
Update src/libraries/System.Net.Http/src/System/Net/Http/BrowserHttpH…
kjpou1 22f5ea2
Fix badly formed XML
kjpou1 37a2b42
Update src/libraries/System.Net.Http/src/System/Net/Http/BrowserHttpH…
kjpou1 b20d6b5
Remove unnecessary Property implementations.
kjpou1 fc302f3
Update src/libraries/System.Net.Http/src/System/Net/Http/BrowserHttpH…
kjpou1 3a93043
Update code style involving the use of `var`
kjpou1 4818f60
Modify the underlying sockets field name.
kjpou1 521e772
Style and address review comments
kjpou1 688f5a7
Remove reliance on ConnectHelper.cs code as it is not supported on Br…
kjpou1 ea27792
Update src/libraries/Common/src/Interop/Browser/Interop.Runtime.Bridg…
kjpou1 04c53ae
Remove null check for httpresponse.Content as it is always assigned to.
kjpou1 ca9e2db
Address review comments
kjpou1 6e1542f
Remove methods that will not be implemented right now,
kjpou1 ea7f1c3
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 7e39ffb
Add properties back to fix build error
kjpou1 703e504
Remove tcs TaskCompletionSource to address review comments
kjpou1 6414529
code style change
kjpou1 a74d985
Remove disposing of _abortCts here as it causes runtime errors as bei…
kjpou1 4baf426
Address review comment for GetType()
kjpou1 ea61992
Rename library as per discussions
kjpou1 004ab2d
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 0ae1bf7
Add lock around the _boundObjects and _rawToJS access.
kjpou1 63b4e1e
Address review comments for disposing of CancellationTokenSource
kjpou1 e8ea3a9
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 648e61c
Address new HttpContent overloads in .NET 5 that take CancellationToken
kjpou1 dd05832
Add project and test structure for JavaScript InteropServices
kjpou1 796692b
Remove previous modification as it is no longer needed.
kjpou1 626d6c9
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 df1be16
Update src/libraries/System.Net.Http/src/System/Net/Http/BrowserHttpH…
kjpou1 e206e4b
Remove custom message passed to the PNSE .ctor
kjpou1 704bf8a
Update `mono` to dotnet or .NET
kjpou1 33222ea
Address review comment for internal sealed class
kjpou1 79e3287
Address extra message text
kjpou1 fbb6e6f
Move these source modules to System.Runtime.InteropServices.JavaScript
kjpou1 6614009
Add interop source modules to System.Runtime.InteropServices.JavaScri…
kjpou1 bdc38c4
Remove placeholder source
kjpou1 fcb9802
Reference System.Runtime.InteropServices.JavaScript project
kjpou1 b8abce1
Address review comments Unsafe.SizeOf
kjpou1 a712114
Finish move of sources to InteropServices.JavaScript
kjpou1 0185c17
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 e46ab9f
Remove ActiveIssue to address review comments
kjpou1 80b2132
Add core implementations
kjpou1 af5d902
Add core object implementation for Map
kjpou1 f2fb363
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 e5de014
Remove unused targetframework
kjpou1 530afe4
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 c72e64c
Fix PNSE in HttpClientHandler .ctor
kjpou1 5f17ee1
Remove extra parameters to `PlatformNotSupportedException`
kjpou1 d9c6dc4
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 0bd5966
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 25db30b
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 1468104
Fix tests due to underlying field name changing and reflection being …
kjpou1 da63da8
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 a276806
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 5d6f024
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 9bcdbcb
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 4706c69
Initial commit of reference counting code.
kjpou1 77e7e68
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 a7af316
Update code formatting
kjpou1 9e5ce12
Update solution formatting
kjpou1 ff19d0c
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 7c5cc2c
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 2d20cc1
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 9f74e50
[browser][wasm] Add support for marshaling the AnyRef SafeHandle
kjpou1 3702917
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 38cefb6
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 aaf4bd6
Code cleanup and formatting.
kjpou1 639e7a3
Merge branch 'master' of https://github.com/dotnet/runtime into wasm-…
kjpou1 5377cd9
Clean up
kjpou1 67330f1
Fix delegate code and address review comments
kjpou1 acdf5e6
Code clean up and change accessor on AnyRefHandle
kjpou1 ed308a3
Move outside block
kjpou1 05b0371
Remove unused method
kjpou1 2749f18
Remove nullable type from dictionary
kjpou1 403bedd
Remove comments
kjpou1 51e66a3
Marking methods with Linker-friendly reflection by using DynamicDepen…
kjpou1 4cc6fb4
address redundant using
kjpou1 31c640f
Address lock review comment
kjpou1 2743369
Address review comments
kjpou1 08a05cd
remove nullable code
kjpou1 9cee16a
Address review comments
kjpou1 d504b30
Add Debug.Assert to address review comment
kjpou1 9e74013
Address assert comments and code formatting
kjpou1 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
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.