Skip to content

Releases: JetBrains/skiko

Version 0.7.90

12 Dec 16:32
5a29cb5
Compare
Choose a tag to compare
Transparency support for D3D swap chain (#837)

* Transparency support for D3D swap chain

* Store composition objects in DirectXDevice

* Fix AWT transparent sample

Version 0.7.89.1

05 Dec 09:32
Compare
Choose a tag to compare
v0.7.89.1

Remove wasm/experimental maven repo

Version 0.7.89

27 Nov 14:01
3aa3db3
Compare
Choose a tag to compare
Make tests pass with debug build (#833)

* remove unused param and fix incorrect signature

* in debug mode skia enables trivial_abi

related skia change:
https://github.com/JetBrains/skia/commit/3cd41698078075347badbeb64e546d8539c29ff8

* make paragraph tests pass with skiko.debug

* extract clone break iterator into separate test

it crashes with skiko.debug=true

* set matrices instead of pointers

before that it was failed with assert in debug mode

set matrices instead of pointers JS/Native

* remove unused function it was leading to wrong overload resolution and crash

* fix quality level in png encoding/decoding

* fail tests before they crash

* skip `breakIteratorCloneTest` with Js target

Version 0.7.85.4

15 Nov 20:04
Compare
Choose a tag to compare
Fix problem with conversion of Kotlin String to C char * (#827)

(cherry picked from commit ec8405918378213a0e64cc0b3605ac3329fb903b)

Version 0.7.88

10 Nov 19:35
ec84059
Compare
Choose a tag to compare
v0.7.88

Fix problem with conversion of Kotlin String to C char * (#827)

Version 0.7.87

08 Nov 17:55
5825d5c
Compare
Choose a tag to compare
don't crash an app if we got empty run during text shaping (#821)

* don't crash an app if we got empty run during text shaping

* on windows and linux it may produce some glyph

Version 0.7.86

07 Nov 13:27
4217f64
Compare
Choose a tag to compare
Pavel.sergeev/set skia m116 (#808)

* update bindings according to skia-m116

* we don't have `ubuntu` suffix in skia artifacts anymore

* fix compilation on windows

* ignore the test because it was failing before

* fix windows compilation

* avgCharWidth is 0f on windows

Version 0.7.85

20 Oct 11:36
1cbde7b
Compare
Choose a tag to compare
Make dispatcherToBlockOn dispatcher based on daemon threads. (#814)

After https://github.com/JetBrains/skiko/pull/798, we changed Dispatcher.IO to custom dispatcher.

Dispatcher.IO is based on daemon threads (thread that receives InterruptException on application exit).

Our new dispatcher isn't. The proof:
```
import java.util.concurrent.Executors
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.asCoroutineDispatcher
import kotlinx.coroutines.runBlocking

fun main() {
    runBlocking(Dispatchers.IO) {
        println(Thread.currentThread().isDaemon) // prints true
    }
    runBlocking(Executors.newCachedThreadPool().asCoroutineDispatcher()) {
        println(Thread.currentThread().isDaemon) // prints false
    }
    val defaultFactory = Executors.defaultThreadFactory()
    runBlocking(Executors.newCachedThreadPool {
        defaultFactory.newThread(it).apply {
            isDaemon = true
        }
    }.asCoroutineDispatcher()) {
        println(Thread.currentThread().isDaemon) // prints true
    }
}
```

This PR makes threads daemon.

Reported in [Kotlin Slack](https://kotlinlang.slack.com/archives/C01D6HTPATV/p1697400320739369) - applications exits too long.

Version 0.7.84

12 Oct 08:26
64385d4
Compare
Choose a tag to compare
Fix segfault of color space gradient makers upon pos=null (#774)

Passing null into the "positions" parameter of a gradient shader factory
that accepts a custom ColorSpace caused a segfault prior to this fix.

Version 0.7.81

18 Sep 11:21
ea06741
Compare
Choose a tag to compare
v0.7.81

Set kotlinx.coroutines to 1.7.3; Use limited parallelism instead of `…