Skip to content

Merge with parent repo #6

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 56 commits into from
Mar 29, 2021
Merged

Merge with parent repo #6

merged 56 commits into from
Mar 29, 2021

Conversation

circusmagnus
Copy link
Owner

No description provided.

ndkoval and others added 30 commits November 28, 2020 15:02
* Add the model checking mode to Lincheck tests and use a newer and faster version of it

Co-authored-by: Roman Elizarov <elizarov@gmail.com>
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 <anastasiia.spaseeva@jetbrains.com>
#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 <elizarov@gmail.com>
* Remove explicit API mode suppressions
    * Use list build in ReceiveChannel.toList to prevent casting to mutable list
    * Migrate to maxByOrNull
    * Remove redundant nullabilities
…2453)

* Fix incorrect ProGuard rules that allowed shrinking volatile felds

Fixes #1564

* Modify ProGuard rules to only affect `kotlinx.coroutines.**`

Before, some rules were applied to a wide range of libraries for no good reason.
Now, they are limited to this library.
* 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 <v.badalyan@open-bs.ru>
Kotlin DSL - Kotlin conventions (JVM & JS)

This is an adapter version of PR sent by Victor Turansky

Co-authored-by: Victor Turansky <victor.turansky@gmail.com>
)

* Fix LinkedListChannel.onUndeliveredElement call on channel cancel

Fixes #2435

Co-authored-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com>
… 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 <ekaterina.volodko@jetbrains.com>
Co-authored-by: yunjoo-park <yunjoopark@linecorp.com>
* 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 <qwwdfsad@gmail.com>
qwwdfsad and others added 26 commits January 29, 2021 19:11
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 <elizarov@gmail.com>
Co-authored-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com>
* 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
* 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 <ekaterina.volodko@jetbrains.com>
* update: rename basics.md to coroutines-basics.md
* update: add fix for correct page indexing
* 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 <victor.turansky@gmail.com>
Changed the coroutines JVM tutorial to reference Maven Central [instead of JCenter](https://twitter.com/kotlin/status/1357261339379576841).
# 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
- Add articles.
- Fix words.
- Fix capitalization.
@circusmagnus circusmagnus merged commit c2a4eac into circusmagnus:master Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.