-
-
Notifications
You must be signed in to change notification settings - Fork 888
Cancellable codec API, and overloads for loading/saving #1296
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
29 commits
Select commit
Hold shift + click to select a range
fcecfc1
hax
antonfirsov 21c324d
add cancellable overloads
antonfirsov a225d1e
add asynchronous decoder logic
antonfirsov 1de73ff
fix tests
antonfirsov 672420c
SemaphoreReadMemoryStream
antonfirsov 42d440e
Merge remote-tracking branch 'origin/js/fix-1276' into af/cancellatio…
antonfirsov f31c8c1
adapt #1286
antonfirsov 4e70ae5
tests for general cancellation
antonfirsov 0994f61
tons of new overloads
antonfirsov 2a22e86
implement cancellation for Jpeg
antonfirsov 706fedc
better cancellation in jpeg
antonfirsov 874104e
cancellation support for encoders
antonfirsov 166741c
cancellation for Image.SaveAs***
antonfirsov f69abc3
implement JpegEncoder cancellation
antonfirsov fb54efb
undo local hacks
antonfirsov 3d77cbe
fix Framework build
antonfirsov 202d996
fix bug in ImageExtensions
antonfirsov 2a63664
fix tests
antonfirsov 97c55d6
skip JpegTests.Identify_IsCancellable
antonfirsov d91f090
OperationCanceledException -> TaskCanceledException
antonfirsov 6e0149d
Merge remote-tracking branch 'origin/master' into af/cancellation
antonfirsov f2f3a30
oops the MemoryStream
antonfirsov 9c47c19
try making SaveAsync_WithNonSeekableStream_IsCancellable more robust
antonfirsov 50a6ba1
use default args for CancellationTokens
antonfirsov 1447fbc
address review findings
antonfirsov 30364ac
add ConfigureAwait
antonfirsov 21d94f2
one leftover
antonfirsov 5a4aea8
Merge branch 'master' into af/cancellation
JimBobSquarePants e707a8d
Minor fixes.
JimBobSquarePants 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
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.