Skip to content
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

Merge with parent project #5

Merged
merged 19 commits into from
Dec 23, 2020
Merged

Commits on Nov 13, 2020

  1. Configuration menu
    Copy the full SHA
    937cc0c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    addff4b View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2020

  1. Configuration menu
    Copy the full SHA
    f49fbf6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37b95a9 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2020

  1. Configuration menu
    Copy the full SHA
    dede17e View commit details
    Browse the repository at this point in the history
  2. Conditionally create an instance of CancellationException in Channel.…

    …cancel() (#2384)
    
    Avoid creating costly exception when the channel is cancelled to save a few cycles when it's not necessary. Cancellation is heavy-enough when the channel is open, so the single check won't worsen it.
    qwwdfsad committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    bc553ba View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2020

  1. Add lint warnings on SharedFlow operations that never complete (#2376)

    * Add lint warnings on SharedFlow operations that never complete
    
    Fixes #2340
    Fixes #2368
    
    * ~ remove awaitCancellation replacements
    elizarov committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    598b861 View commit details
    Browse the repository at this point in the history
  2. Make SharingStarted a fun interface (#2397)

    It was a part of the original design but was forgotten because the prototype was developeв before Kotlin 1.4.0.
    It makes implementing custom SharingStarted strategies more concise.
    elizarov committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    8ca5296 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2020

  1. Unlock Mutex and release Semaphore during cancellation on a fast bran…

    …ch of slow-path in Mutex/Semaphore (#2396)
    
    
    Fixes #2390
    
    Co-authored-by: Gareth Pearce <[email protected]>
    qwwdfsad and Tilps committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    4fe809f View commit details
    Browse the repository at this point in the history
  2. Clarify thread-safety of SharedFlow methods in docs (#2399)

    * Clarify thread-safety of SharedFlow methods in docs
    
    * Override MutableSharedFlow.emit to attach a more appropriate docs than the one inherited from FlowCollector.
    * Clarify thread-safety of all the MutableSharedFlow & MutableState "mutating" methods.
    
    The latter is needed, because Flows, in general, are sequential, but shared flows provide all the necessarily synchronization themselves, so, to avoid confusion it makes sense to additionally mention thread-safety of shared flows in all the relevant mutating functions.
    elizarov committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    31a8df0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    81577b2 View commit details
    Browse the repository at this point in the history
  4. Add build parameter to build coroutines with JVM IR compiler (#2389)

    * Add build parameters to enable JVM IR and disable native targets
        * enable_jvm_ir enables JVM IR compiler
        * disable_native_targets disables native targets in train builds
        * enable_jvm_ir_api_check enables JVM IR API check (works only if enable_jvm_ir is set)
    
    * Fix "Return type must be specified in explicit API mode" in 1.4.20
    ALikhachev committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    179f142 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2020

  1. Configuration menu
    Copy the full SHA
    e88e58d View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2020

  1. Configuration menu
    Copy the full SHA
    c542b83 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2020

  1. Remove platform-specific dependencies on JavaFx artifacts (#2369)

    * Remove platform-specific dependencies on JavaFx artifacts
    
    Fixes #2360
    elizarov committed Nov 26, 2020
    Configuration menu
    Copy the full SHA
    0e5aefd View commit details
    Browse the repository at this point in the history
  2. Repair some corner cases in cancellation propagation between coroutin…

    …es and listenable futures (#2222)
    
    * Repair some corner cases in cancellation propagation between coroutines and listenable futures
    
    Implement bidirectional cancellation for `future` coroutine builder.
    
    This also:
    
    * Refactors JobListenableFuture infrastructure so it can be reused in CoroutineScope.future and Deferred.asListenableFuture;
    * Provides more descriptive `toString` implementation for the returned Future;
    * Fixes stack traces in thrown exception, so it includes a call to get() that triggered the exception to be thrown;
    * Hides ListenableFuture.asDeferred return type, so it can't be cast to CompletableDeferred;
    * Adds more tests to cover fixed corner cases;
    * Improves documentation;
    * Suppresses annoying warnings in tests.
    
    Fixes #1442
    vadimsemenov committed Nov 26, 2020
    Configuration menu
    Copy the full SHA
    c742db2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4bbd4e2 View commit details
    Browse the repository at this point in the history
  4. Version 1.4.2

    qwwdfsad committed Nov 26, 2020
    Configuration menu
    Copy the full SHA
    b221094 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2412 from Kotlin/version-1.4.2

    Version 1.4.2
    qwwdfsad committed Nov 26, 2020
    Configuration menu
    Copy the full SHA
    7223897 View commit details
    Browse the repository at this point in the history