- 20 Dec, 2023 1 commit
-
-
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.
-
- 12 Oct, 2023 2 commits
-
-
Pavel authored
-
Felix Mujkanovic authored
Passing null into the "positions" parameter of a gradient shader factory that accepts a custom ColorSpace caused a segfault prior to this fix.
-
- 09 Oct, 2023 2 commits
-
-
Igor Demin authored
* Fix crash on Windows machines without OpenGL Some Windows CI machines don't contain OpenGL, so Skiko/Compose will crash on them. It shouldn't crash, it should fallback to Software rendering To properly fallback, we need to load opengl32.dll dynamically in runtime. Fixes https://github.com/JetBrains/compose-multiplatform/issues/3243 # Test 1 - `gradlew publishToMavenLocal` is successful (if we use functions directly, it fails with "error LNK2019: unresolved external symbol") - `SkiaLayerTest` is successful (it tests OpenGL as well) # Test 2 1. Remove `C:\Windows\System32\opengl32.dll` 2. `SkiaLayerTest` still should be successful, but logs should contain that it fallbacks to Software rendering. # Test 3 1. Compile local skiko 2. Run Compose run1 and tests * Refactor * Discussions * Discussions * Split throwJavaRenderException It isn't valid to use FormatMessage for code from GetLastError
-
Oleksandr Karpovich authored
* Add more checks * Update skiko/src/awtMain/kotlin/org/jetbrains/skiko/redrawer/WindowsOpenGLRedrawer.kt * Update skiko/src/awtMain/kotlin/org/jetbrains/skiko/AWT.kt Co-authored-by:
Igor Demin <igordmn@users.noreply.github.com> * Update skiko/src/awtMain/kotlin/org/jetbrains/skiko/redrawer/WindowsOpenGLRedrawer.kt Co-authored-by:
Igor Demin <igordmn@users.noreply.github.com> --------- Co-authored-by:
Igor Demin <igordmn@users.noreply.github.com>
-
- 04 Oct, 2023 1 commit
-
-
Oleksandr Karpovich authored
* Make CI choose iPhone for tests * fix * fix * fix * enable all other jobs back
-
- 28 Sep, 2023 1 commit
-
-
Pavel authored
Add comment about clangd, generate compilation database even if compilation wasn't successful (#806) * ignore .clangd * add comment about clangd * generate `compile_commands.json` even if compilation wasn't successful
-
- 27 Sep, 2023 2 commits
-
-
Oleksandr Karpovich authored
* Update IOS_SIM_UUID Co-authored-by:dima.avdeev <dima.avdeev@jetbrains.com>
-
Oleksandr Karpovich authored
Fix SVGLength.withUnit: create a new SVGLength with a `_unit` from the input and not `this.unit` (#804)
-
- 26 Sep, 2023 1 commit
-
-
Ilya Ryzhenkov authored
-
- 15 Sep, 2023 1 commit
-
-
Pavel authored
* set `kotlinx.coroutines` to `1.7.3` * update tests after coroutines.tests update * use `limitedParallelism` instead of bare `Dispatchers.IO` rename * use virtual time aware dispatchers in tests that use `runTest` * better naming * remove usages of experimental coroutines api * remove usages of experimental time api * use dispatcher from `coroutineScope` in `FrameLimiter` `FrameLimiter` must cancel waiting when its scope canceled * extract the `dispatcherToBlockOn` into separate file * use dispatcher from `coroutineScope` in `FrameLimiter` * Fix FrameLimiterTest --------- Co-authored-by:Igor Demin <igor.demin@jetbrains.com>
-
- 11 Sep, 2023 1 commit
-
-
Nikolai Rykunov authored
-
- 04 Sep, 2023 1 commit
-
-
Nikolai Rykunov authored
* Introduce a way to initialize CAccessible for Accessible to build proper context -> accessible mapping * Add test for getCAccessible call
-
- 22 Aug, 2023 1 commit
-
-
Nikolai Rykunov authored
-
- 15 Aug, 2023 1 commit
-
-
Elijah Semyonov authored
* Pause metal redrawer when app is background. * Add comment * Add logic for synchronous scheduling * Add logic for synchronous scheduling * Add correct initial state
-
- 14 Aug, 2023 1 commit
-
-
Pavel authored
Add comment to clarify that coordinates refer a baseline position, not a top left angle of text rectangle (#788)
-