- 22 Feb, 2024 1 commit
-
-
Oleksandr Karpovich authored
-
- 15 Feb, 2024 1 commit
-
-
Pavel authored
* Include <cstdint> is required because of uintptr_t * move `generateVersion` to common code * on Linux with Chinese language chosen in interface this test fails * this combination leads to NaN values when height is overridden * test that empty font still have a meaningful metrics, because FontStyle may rely on it * simplify test * check that we don't put NaN in skia this value might be used as part of key in paragraph cache, which may lead to UB atm
-
- 14 Feb, 2024 1 commit
-
-
Oleksandr Karpovich authored
-
- 10 Feb, 2024 1 commit
-
-
Oleksandr Karpovich authored
* Update skia version - m116-b54492e-1 * test windows * Update skia version to m116-b54492e-3
-
- 09 Feb, 2024 1 commit
-
-
Igor Demin authored
It is a regression after https://github.com/JetBrains/skiko/pull/811 After that PR, OpenGL functions are linked in runtime via function `loadOpenGLLibrary`. We didn't call it in `makeGL` functions. Now we call. Adding also `isLoaded` to avoid loading it multiple times Fixes https://youtrack.jetbrains.com/issue/COMPOSE-642/Fix-Skiko-API-regression-for-creating-OpenGL-context
-
- 07 Feb, 2024 3 commits
-
-
Ivan Matkov authored
-
Ivan Matkov authored
-
Alexander Maryanovsky authored
-
- 06 Feb, 2024 2 commits
-
-
Oleksandr Karpovich authored
-
Shagen Ogandzhanian authored
This is first part of achieving goal of COMPOSE-891
-
- 29 Jan, 2024 1 commit
-
-
Ivan Matkov authored
* Don't try to init D3D with zero size * Pass AWT size for swap chain initialization * Avoid reading size twice
-
- 26 Jan, 2024 1 commit
-
-
Oleksandr Karpovich authored
Download and use a codesign-client from an internal jb repository instead of using a hardcoded one (#859) * Download and use a codesign-client from an internal jb repository instead of using a hardcoded one * Download a codesign-client for hostArch only * Make the downloaded codesign-client executable * Update skiko/buildSrc/src/main/kotlin/tasks/configuration/JvmTasksConfiguration.kt Co-authored-by:
Igor Demin <igordmn@users.noreply.github.com> --------- Co-authored-by:
Igor Demin <igordmn@users.noreply.github.com>
-
- 18 Jan, 2024 1 commit
-
-
jershell authored
* add support for touchscreen events in js for mobile devices * add touchevents for wasm --------- Co-authored-by:dmitriy tukhvatullin <tukhvatullin01@gmail.com>
-
- 08 Jan, 2024 1 commit
-
-
Elijah Semyonov authored
* Add simple wrapper * Start redraw loop
-
- 20 Dec, 2023 2 commits
-
-
Oleksandr Karpovich authored
* Use compiler plugin to generate setup.mjs * Include generation of setup.mjs into build pipeline * Add support of TestHelpers to generation * add mavenCentral repo * Refactoring --------- Co-authored-by:
Ilya Goncharov <ilya.goncharov@jetbrains.com> Co-authored-by:
Oleksandr.Karpovich <a.n.karpovich@gmail.com>
-
Sebastiano Poggi authored
Since https://github.com/JetBrains/compose-multiplatform-core/pull/918, we don't need this code anymore in Compose, which was its only user. The still-relevant code was moved to Compose's desktop target.
-
- 18 Dec, 2023 1 commit
-
-
Oleksandr Karpovich authored
* Refactor interop with js in k/js and k/wasm source sets * Make event conversion functions internal The event conversion functions in the 'Convertors.js.kt' and 'Convertors.wasm.kt' files have been updated from public to internal. * Disable local maven repository * PR fixes --------- Co-authored-by:Oleksandr.Karpovich <oleksandr.karpovich@jetbrains.com>
-
- 15 Dec, 2023 2 commits
-
-
Shagen Ogandzhanian authored
* Argument -Xopt-in is deprecated. Please use -opt-in instead * 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta
-
Shagen Ogandzhanian authored
* Fix LineMetrics resolution for wasm and js targets This contributes to fixing https://youtrack.jetbrains.com/issue/COMPOSE-108/CfW-fix-TextField-cursor I had to introduce assertCloseEnough sensitive enought to path throughout all our targets * LineMetrics::layoutParagraph idiomatically returns runTest immediately * Rename LineMetrics_nGetArrayElement from longArgs (misleading) to intArgs
-
- 14 Dec, 2023 1 commit
-
-
Oleksandr Karpovich authored
Co-authored-by:Oleksandr.Karpovich <oleksandr.karpovich@jetbrains.com>
-
- 12 Dec, 2023 1 commit
-
-
Ivan Matkov authored
* Transparency support for D3D swap chain * Store composition objects in DirectXDevice * Fix AWT transparent sample
-
- 11 Dec, 2023 3 commits
-
-
Oleksandr Karpovich authored
* Fix k/js tests Make resources reachable in tests * Move k/js CI action configuration to web.yml * Refactor our internal test API --------- Co-authored-by:Oleksandr.Karpovich <oleksandr.karpovich@jetbrains.com>
-
Oleksandr Karpovich authored
Co-authored-by:Oleksandr.Karpovich <oleksandr.karpovich@jetbrains.com>
-
Oleksandr Karpovich authored
Co-authored-by:Oleksandr.Karpovich <oleksandr.karpovich@jetbrains.com>
-
- 06 Dec, 2023 1 commit
-
-
Oleksandr Karpovich authored
* add k/wasm support * ES6 for skiko wasm Fix build files Add SkikoCallbacks external funs Add GL external object * cleanup * Update SkiaMultiplatformSample Composite build to run with k/wasm * Update SkiaJsSample * Update CI config * cleanup * Fix CI * Add -O2 flag to emcc link stage * cleanup * cleanup * update wasm.yml * update maven repositories * fixes after rebase * enable supportJs when supportWasm is true * Add a temporary coroutines version substitution for non-wasm * Apply PR review suggestions * Use coroutines 1.8.0-RC * Workaround an issue with atomicfu 0.23.1 - Add an explicit dependency on atomicfu from nativeMain * Fix typo * Renamed SKIKO_COMPOSITE_BUILD to skiko.composite.build in SkiaJsSample * Remove wasm/experimental maven repo * Remove wasm/experimental maven repo * Add wasmArtifactId to skikoArtifactIds * Remove redundant comment --------- Co-authored-by:
igoriakovlev <54274820+igoriakovlev@users.noreply.github.com> Co-authored-by:
Ilya Goncharov <ilya.goncharov@jetbrains.com> Co-authored-by:
Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
-
- 04 Dec, 2023 1 commit
-
-
dima.avdeev authored
-
- 03 Dec, 2023 1 commit
-
-
dima.avdeev authored
-
- 27 Nov, 2023 1 commit
-
-
Pavel authored
* 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
-
- 24 Nov, 2023 1 commit
-
-
Oleksandr Karpovich authored
-
- 22 Nov, 2023 1 commit
-
-
Marcin Wisniowski authored
-
- 17 Nov, 2023 1 commit
-
-
Oleksandr Karpovich authored
It used to be NotoMono-Regular. It closes https://github.com/JetBrains/compose-multiplatform/issues/3915Co-authored-by:
Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
-
- 10 Nov, 2023 1 commit
-
-
dima.avdeev authored
-
- 08 Nov, 2023 2 commits
-
-
Alexander Maryanovsky authored
In MetalRedrawer, stop delaying rendering as soon as the window becomes non-occluded.
-
Pavel authored
* don't crash an app if we got empty run during text shaping * on windows and linux it may produce some glyph
-
- 07 Nov, 2023 1 commit
-
-
Victor Kropp authored
-
- 01 Nov, 2023 1 commit
-
-
Pavel authored
* 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
-
- 26 Oct, 2023 1 commit
-
-
Oleksandr Karpovich authored
Fix skiko-js mavenCentral publication: Add SkikoArtifacts.jsArtifactId to skikoArtifactIds list (#818)
-
- 25 Oct, 2023 2 commits
-
-
James Morrissey authored
* Introduce SkPathUtils bindings This functionality used to exist elsewhere in Skia, but in m110 it was moved into SkPathUtils. When that change occurred, the functionality was removed from Skiko rather than moved, so this commit is to return the functionality by providing access to SkPathUtils. * use `assertTrue` instead of `assertEquals` to make KotlinJS happy --------- Co-authored-by:Pavel <sergeev.pavel.al@gmail.com>
-
Pavel authored
-
- 20 Oct, 2023 1 commit
-
-
Igor Demin authored
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.
-