-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Version 1.4.3 #2559
Merged
Merged
Version 1.4.3 #2559
Conversation
This file contains 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
* Add the model checking mode to Lincheck tests and use a newer and faster version of it Co-authored-by: Roman Elizarov <[email protected]>
These examples are way outdated, unmaintained and cannot be built as is in the most recent Android Studio. There is plenty of high-quality examples in the Web right now, no need to keep (and update Kotlin version) these two
* Rework publish-mpp-root-module-in-platform.gradle * Update stackwalking tests Co-authored-by: anastasiia.spaseeva <[email protected]>
#2427) Remove the requirement that the job of the pre-created JobCancelNode have to be equal to the outer job Job is supposed to be "sealed" interface, but we also have non-sealed Deferred that can be successfully implemented via delegation and such delegation may break code (if assertions are enabled!) in very subtle ways. This assertion is our internal invariant that we're preserving anyway, so it's worth to lift it to simplify the life of our users in the future Fixes #2423 Co-authored-by: Roman Elizarov <[email protected]>
* Remove explicit API mode suppressions * Use list build in ReceiveChannel.toList to prevent casting to mutable list * Migrate to maxByOrNull * Remove redundant nullabilities
* Remove conditional publication that is compatible with Kotlin 1.3.70 plugin * Get rid of workaround in old MPP plugin with dependency renaming
Signed-off-by: slavon <[email protected]>
Kotlin DSL - Kotlin conventions (JVM & JS) This is an adapter version of PR sent by Victor Turansky Co-authored-by: Victor Turansky <[email protected]>
) * Fix LinkedListChannel.onUndeliveredElement call on channel cancel Fixes #2435 Co-authored-by: Vsevolod Tolstopyatov <[email protected]>
… in order to get prettier stacktraces without "$kotlinx_coroutines_core" in function names (#2487)
* update: update cancellation-and-timeouts.md * update: update channels.md * update: update composing-suspending-functions.md * update: update coroutine-context-and-dispatchers.md * update: update coroutines-guide.md * update: update exception-handling.md * update: update select-expression.md * update: update shared-mutable-state-and-concurrency.md * update: update basics.md * update: update flow.md * update: update flow.md * update: update _nav.yml * update: add _nav.tree * update: update links * update: fixes after review * update: get rid of divs * update: add new lines for WebHelp parser * update: add new lines for WebHelp parser * fix: fix knit errors * removed _nav.yml; * renamed _nav.tree to kc.tree. * removed coroutines overview from the list; a title for a hands-on tutorial * update: Made kc.tree as valid XML * update: added a configuration file project.ihp * update: added a configuration file buildprofiles.xml * update: moved coroutines overview from the main repository * update: update cancellation-and-timeouts.md * update: update channels.md * update: update composing-suspending-functions.md * update: update coroutine-context-and-dispatchers.md * update: update coroutines-guide.md * update: update exception-handling.md * update: update select-expression.md * update: update shared-mutable-state-and-concurrency.md * update: update basics.md * update: update flow.md * update: update flow.md * update: update _nav.yml * update: add _nav.tree * update: update links * update: fixes after review * update: get rid of divs * removed _nav.yml; * renamed _nav.tree to kc.tree. * removed coroutines overview from the list; a title for a hands-on tutorial * update: Made kc.tree as valid XML * update: added a configuration file project.ihp * update: added a configuration file buildprofiles.xml * update: moved coroutines overview from the main repository * update: move debug tutorials to coroutines repository * update: update after knit * update: move all docs files to topics/ * update: corrected the xml version of project.ihp * update: move old jvm tutorial coroutines-basic-jvm.md * update: moved knit.properties to resolve relative path correctly * update: add stubs for moved pages * update: update README.md Co-authored-by: Ekaterina.Volodko <[email protected]>
* Fix toString representation of JobListenableFuture * Do not throw from JobListenableFuture.isCancelled. This properly handles ExecutionException that can be thrown from getUninterruptibly. Fixes #2421 Co-authored-by: Vsevolod Tolstopyatov <[email protected]>
This fix solves the problem of restoring thread-context when returning to another context in an undispatched way. It impacts suspend/resume performance of coroutines that use ThreadContextElement and undispatched coroutines. The kotlinx.coroutines code poisons the context with special 'UndispatchedMarker' element and linear lookup is performed only when the marker is present. The code also contains a description of an alternative approach in order to save a linear lookup in complex coroutines hierarchies. Fast-path of coroutine resumption is slowed down by a single context lookup. Fixes #985 Co-authored-by: Roman Elizarov <[email protected]> Co-authored-by: Vsevolod Tolstopyatov <[email protected]>
* Restore the context in the reverse order of update, so they are properly nested into each other Fixes #2195
* Also, update Gradle, because previous versions cannot follow redirects, effectively failing builds * Leave kotlin-dep repo for our hacked Dokka version and JB's fork of trove4j
* Kotlin DSL - rename "example-frontend-js" build script * Kotlin DSL - 'example-frontend-js' * Kotlin DSL - rename "play-services" build script * Kotlin DSL - 'play-services' Co-authored-by: Victor Turansky <[email protected]>
…ons (#2544) Fixes KT-44478
# Conflicts: # README.md # coroutines-guide.md # docs/basics.md # docs/cfg/buildprofiles.xml # docs/kc.tree # docs/topics/coroutines-basic-jvm.md # docs/topics/coroutines-guide.md # docs/topics/debugging.md # docs/topics/knit.properties
elizarov
approved these changes
Mar 2, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.