-
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.3.4 #1846
Version 1.3.4 #1846
Commits on Dec 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 24f5f9c - Browse repository at this point
Copy the full SHA 24f5f9cView commit details
Commits on Dec 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8a6e8d1 - Browse repository at this point
Copy the full SHA 8a6e8d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc3d8c4 - Browse repository at this point
Copy the full SHA cc3d8c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8b3c44 - Browse repository at this point
Copy the full SHA f8b3c44View commit details
Commits on Dec 17, 2019
-
Authenticate in 'kotlin-dev' repo on Bintray
Michael Kuzmin committedDec 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 476d6de - Browse repository at this point
Copy the full SHA 476d6deView commit details
Commits on Dec 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 60f8688 - Browse repository at this point
Copy the full SHA 60f8688View commit details
Commits on Dec 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 12a0318 - Browse repository at this point
Copy the full SHA 12a0318View commit details
Commits on Dec 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 70e3583 - Browse repository at this point
Copy the full SHA 70e3583View commit details -
Do not request additional worker from 'yield' calls and during post-e… (
Configuration menu - View commit details
-
Copy full SHA for c526c3f - Browse repository at this point
Copy the full SHA c526c3fView commit details -
Generate site using Jekyll via Docker
This makes site-building process more stable and less dependent on the environment, requiring only Docker to be installed locally.
Configuration menu - View commit details
-
Copy full SHA for c5e6e03 - Browse repository at this point
Copy the full SHA c5e6e03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16d2606 - Browse repository at this point
Copy the full SHA 16d2606View commit details -
Fix non-linearizability in
ArrayChannel
while moving an element fro……m the waiting queue to the buffer
Configuration menu - View commit details
-
Copy full SHA for 1f77783 - Browse repository at this point
Copy the full SHA 1f77783View commit details
Commits on Dec 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4f24a7a - Browse repository at this point
Copy the full SHA 4f24a7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe15b6d - Browse repository at this point
Copy the full SHA fe15b6dView commit details -
ReceiveChannel.receiveAsFlow extension (#1731)
Experimental ReceiveChannel.receiveAsFlow extension convert channel to flow in fan-out fashion allowing for multi-use. * Also, ReceiveChannel.consumeAsFlow is promoted to experimental from preview Fixes #1490
Configuration menu - View commit details
-
Copy full SHA for 345458b - Browse repository at this point
Copy the full SHA 345458bView commit details
Commits on Jan 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f18e0e4 - Browse repository at this point
Copy the full SHA f18e0e4View commit details
Commits on Jan 24, 2020
-
Fix context support in Publisher.asFlow.flowOn
* When using asFlow().flowOn(...) context is now properly tracked and taken into account for both execution context of the reactive subscription and for injection into Reactor context. * Publisher.asFlow slow-path implementation is simplified. It does not sure specialized openSubscription anymore, but always uses the same flow request logic. Fixes #1765
Configuration menu - View commit details
-
Copy full SHA for 3d59fef - Browse repository at this point
Copy the full SHA 3d59fefView commit details -
Disable companions test in binary-compatibility-validation in train b…
…uilds (KT-11567)
Configuration menu - View commit details
-
Copy full SHA for 642989e - Browse repository at this point
Copy the full SHA 642989eView commit details
Commits on Jan 28, 2020
-
Request elements in batches in ReactiveFlow to avoid requesting eleme…
…nts one by one in a default configuration Also, partially masks #1766
Configuration menu - View commit details
-
Copy full SHA for 6810745 - Browse repository at this point
Copy the full SHA 6810745View commit details
Commits on Feb 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fb990b0 - Browse repository at this point
Copy the full SHA fb990b0View commit details
Commits on Feb 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cf5da1a - Browse repository at this point
Copy the full SHA cf5da1aView commit details
Commits on Feb 6, 2020
-
Fix tests hanging when
verifyDump
fails`runBlocking` waits for all the threads it spawned to finish, so if `verifyDump` failed in `RunningThreadStackMergeTest.kt`, the tests would just hang: one of the threads would wait for a barrier to break, which would never happen.
Configuration menu - View commit details
-
Copy full SHA for 09cb4bf - Browse repository at this point
Copy the full SHA 09cb4bfView commit details
Commits on Feb 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e153863 - Browse repository at this point
Copy the full SHA e153863View commit details
Commits on Feb 11, 2020
-
Get rid of Hamcrest, which is uncommon in this codebase, and replace as many `assert` statements from other testing frameworks as is reasonable with little automation by calls to `kotlin.test.*`.
Configuration menu - View commit details
-
Copy full SHA for 387d1dd - Browse repository at this point
Copy the full SHA 387d1ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e4d77 - Browse repository at this point
Copy the full SHA 91e4d77View commit details
Commits on Feb 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 90a9faf - Browse repository at this point
Copy the full SHA 90a9fafView commit details -
ConflatedChannel with lock to protect the one-element buffer, double-…
…linked list used for suspending receivers only.
Configuration menu - View commit details
-
Copy full SHA for 0126dba - Browse repository at this point
Copy the full SHA 0126dbaView commit details
Commits on Feb 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4aa3880 - Browse repository at this point
Copy the full SHA 4aa3880View commit details -
Improve FieldWalker, don't access JDK classes (#1799)
* Improve FieldWalker, don't access JDK classes * Works on future JDKs that forbid reflective access to JDK classes * Show human-readable path to field is something fails
Configuration menu - View commit details
-
Copy full SHA for b64a23b - Browse repository at this point
Copy the full SHA b64a23bView commit details -
Make SafeCollector platform-specific declaration and enforce exceptio… (
Configuration menu - View commit details
-
Copy full SHA for de491d2 - Browse repository at this point
Copy the full SHA de491d2View commit details -
Fix a race in some tests for JavaRX integration (#1801)
An extremely rare race could happen in any of the tests in `LeakedExceptionTest` in the following case: * `withExceptionHandler` runs the block passed to it; * In one of the last iterations of `repeat`, `select` in `combine` happens on both flows at the same time, that is, the block that was passed to `rx[Something]` runs in two threads simultaneously; * One of these two threads (thread A) runs anomalously slow; * The other thread successfully throws an exception; * This exception is propagated to `catch`, so `collect` is finished; * `repeat` is exited, the block passed to `withExceptionHandler` is done executing; * `withExceptionHandler` sets back the usual exception handler, which fails when an exception in JavaRX happens (see https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling); * Thread A wakes up and throws an exception. This time, it is passed not to `handler`, which is made specifically to deal with this, but to the default handler. As a fix, now a special coroutine context passed to `rx[Something]` ensures that the spawned executions are run in a thread pool that blocks until all the tasks are done.
Configuration menu - View commit details
-
Copy full SHA for 9f4fd70 - Browse repository at this point
Copy the full SHA 9f4fd70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 455c255 - Browse repository at this point
Copy the full SHA 455c255View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ed6fcc - Browse repository at this point
Copy the full SHA 1ed6fccView commit details
Commits on Feb 14, 2020
-
Use a separate Knit tool (#1486)
* Use a separate Knit tool version 0.1.2 * Hierarchical knit.properties files are introduced which are gathered while walking up the directory tree with the properties in knit resources being top-level ones. * Freemarker templates for "knit.include" (top-level of example files) and "test.template" (test template) are introduced with locations that are resolved from properties. * KNIT and TEST_OUT directives are not supported anymore. - Knitting is controlled by "knit.dir" and "knit.pattern" props. - "test.name" prop or TEST_NAME directive drives test gen. * All markdown files are now clean of top-level knit-related boilerplate (only TEST_NAME directive is remaining in some) * All example files are renumbered. It affects example-basic-xx, which had the legacy numbering with later insertions. * All auto-generated files now have the correct source-file name specified at their beginning, due to consistent use of template substitution. * No need to customize knit.pattern anymore (works out-of-the box) * "knit.name" is automatically generated based on example's file name "example-basic-01" -> "exampleBasic01" * Not match-pattern-group woodoo anymore, "knit.pattern" cannot have any user-defined match groups. * No need to look for "package xxx" in knitted sources, as the example's package is always ${knit.package}.${knit.name} * Simpler test names: testKotlinxCoroutinesGuideBasic01 -> testExampleBasic01 * Replaced END_TOC with END directive * Build-scripts are improved: - Consistent code to use mavenLocal when snapshots versions are used. - Proper substitution logic to use Android AAR files so that Dokka has correct links to Google APIs. - Google repository is added to all projects.
Configuration menu - View commit details
-
Copy full SHA for 660c2d7 - Browse repository at this point
Copy the full SHA 660c2d7View commit details -
Build project using JDK 11 (#1733)
* Support build on both JDK 1.8 & 11, check for publishing under JDK 11 * Up the Robolectric version to support JDK11. According to robolectric/robolectric#4085, by 4.0.2 it should support JDK11. Tests do pass after setting the version to 4.0.2, but they fail for every version released after that up to 4.3.1. It is unclear what causes this. I commit this to check how it works on the build agents, as some comments in the issue imply that on MacOS this version, too, does not work with JDK11. * Fix fully qualified names in stacktraces in tests: - With move to JDK11, the `park` method changed its fully qualified name. * Add new sanitazing to verification of stacktraces: - Now stacktraces have additional substrings, separated by a slash: java-base/java.util.lang - They are stripped away. - Also, the placement of tabs has changed, and so the tabs are also completely removed. * Refactor `verifyStackTrace` - It used to wrap the only loop where something happened in two other loops that did nothing. Now, only the innermost loop is left. * Use a separate JavaFx dependency. * Improve error handling for JavaFX initialization - Now, the JavaFX initialization may fail with an exception in case something went wrong. - The driver for this change was that the initialization started hanging in headless environments with transition to JDK 11. - Before, the initialization logic had a flaw. If a call to one API failed, another API would be attempted. However, this approach is problematic: if the first call failed with an exception for some reason, it would leave JavaFX in a broken state where a flag would imply that the system is being initialized. Subsequent calls would then proceed to wait forever for the initialization to complete. - Now, exceptions are checked more carefully, ensuring that we only fall back to the internal API in case the public one is unavailable and not failed for some valid reason. This differentiation also allows to more boldly rethrow exceptions upwards, being more or less confident that these are relevant to the user. * Additionally test JavaFX integration with JDK8 Co-authored-by: Dmitry Khalanskiy <dmitry.khalanskiy@jetbrains.com> Co-authored-by: Roman Elizarov <elizarov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1ac3dc2 - Browse repository at this point
Copy the full SHA 1ac3dc2View commit details -
Optimize the size of the coroutines library in Android projects (#1282)
* Includes additional R8 rules to disable debugging & stack-trace recovery in optimized Android builds. Additional savings with AGP 4.0.0-alpha06 (r8-2.0.4-dev) are ~16kb in uncompressed DEX size. * Tests are modified to verify that the classes that are supposed to be removed are indeed removed. * Cleaner build logic without error-prone "return" in the middle * Report the size of optimized Android Dex as teamcity metric
Configuration menu - View commit details
-
Copy full SHA for bf9509d - Browse repository at this point
Copy the full SHA bf9509dView commit details
Commits on Feb 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6d1a6e3 - Browse repository at this point
Copy the full SHA 6d1a6e3View commit details
Commits on Feb 21, 2020
-
Make publication validator part of the project (#1820)
Before, publication validator was just lying nearby, in these files, and built and run separately. Now, it is compiled alongside the main project (in the `test` gradle configuration), so its breakage will be detected during normal usage. Still, it is only run when a special gradle property, `DeployVersion`, is defined.
Configuration menu - View commit details
-
Copy full SHA for 3651276 - Browse repository at this point
Copy the full SHA 3651276View commit details
Commits on Feb 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 21bb6fb - Browse repository at this point
Copy the full SHA 21bb6fbView commit details
Commits on Mar 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d4fabbf - Browse repository at this point
Copy the full SHA d4fabbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca1093c - Browse repository at this point
Copy the full SHA ca1093cView commit details -
Atomically start coroutines in intermediate Flow operators in order t…
Configuration menu - View commit details
-
Copy full SHA for 4a53d23 - Browse repository at this point
Copy the full SHA 4a53d23View commit details
Commits on Mar 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cf473d2 - Browse repository at this point
Copy the full SHA cf473d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c684d04 - Browse repository at this point
Copy the full SHA c684d04View commit details -
Simpler and faster lock-free linked list (#1565)
Lock-free list implementation is considerably simplified, taking into account a limited number of operations that it needs to support. * prev pointers in the list are not marked for removal, since we don't need to support linearizable backwards iteration. * helpDelete method is completely removed. All "delete-helping" is performed only by correctPrev method. * correctPrev method bails out when the node it works on is removed to reduce contention during concurrent removals. * Special open methods "isRemoved" and "nextIfRemoved" are introduced and are overridden in list head class (which is never removed). This ensures that on long list "removeFist" operation (touching head) does not interfere with "addLast" (touch tail). There is still sharing of cache-lines in this case, but no helping between them. All in all, this improvement reduces the size of implementation code and makes it considerably faster. Operations on LinkedListChannel are now much faster (see timings of ChannelSendReceiveStressTest).
Configuration menu - View commit details
-
Copy full SHA for 6862afc - Browse repository at this point
Copy the full SHA 6862afcView commit details -
Implement ObservableValue<T>.asFlow() (#1789)
* Implement ObservableValue<T>.asFlow() Fixes #1695
Configuration menu - View commit details
-
Copy full SHA for 12e96cd - Browse repository at this point
Copy the full SHA 12e96cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d831a86 - Browse repository at this point
Copy the full SHA d831a86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d8a8fb - Browse repository at this point
Copy the full SHA 8d8a8fbView commit details
Commits on Mar 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 214f156 - Browse repository at this point
Copy the full SHA 214f156View commit details -
Configuration menu - View commit details
-
Copy full SHA for c67aed0 - Browse repository at this point
Copy the full SHA c67aed0View commit details
Commits on Mar 6, 2020
-
Fixed memory leak on a race between adding/removing from lock-free li…
…st (#1845) * The problem was introduced by #1565. When doing concurrent add+removeFirst the following can happen: - "add" completes, but has not correct prev pointer in next node yet - "removeFirst" removes freshly added element - "add" performs "finishAdd" that adjust prev pointer of the next node and thus removed element is pointed from the list again * A separate LockFreeLinkedListAddRemoveStressTest is added that reproduces this problem. * The old LockFreeLinkedListAtomicLFStressTest is refactored a bit.
Configuration menu - View commit details
-
Copy full SHA for 7df61ee - Browse repository at this point
Copy the full SHA 7df61eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb3cf09 - Browse repository at this point
Copy the full SHA bb3cf09View commit details