1. 31 Oct, 2022 2 commits
    • Alexey Tsvetkov's avatar
      Exclude bytecode from skiko-awt-runtime-*.jar files (#608) · f2266923
      Alexey Tsvetkov authored
      * Exclude bytecode from skiko-awt-runtime-*.jar files
      
      Previously, `skiko-awt.jar` and all of `skiko-awt-runtime-*.jar` files
      contained the same bytecode. However, this led to duplication
      of bytecode in Compose projects:
      * `skiko-awt.jar` is a necessary API dependency of Compose/Desktop, which means
      it is a runtime dependency as well;
      * `skiko-awt-runtime-*.jar` is a necessary RUNTIME dependency of any Compose/Desktop project.
      
      Thus, both `skiko-awt.jar` and `skiko-awt-runtime-*.jar` ended up in a runtime classpath of
      any Compose/Desktop project, so the same classes were present in the runtime classpath twice.
      This increased a final application image by approximately 1.1 Mb. Also, it led to
      excessive ProGuard warnings, e.g. https://github.com/JetBrains/compose-jb/issues/2393
      
      This change excludes bytecode from `skiko-awt-runtime-*.jar` artifacts, and adds
      Maven dependency `skiko-awt-runtime-*.jar` -> `skiko-awt.jar`, so
      many existing Maven/Gradle usages of `skiko-awt-runtime-*.jar` will continue to work.
      f2266923
    • dima.avdeev's avatar
      iOS copy/paste text menu (#609) · 673c85d1
      dima.avdeev authored
      673c85d1
  2. 26 Oct, 2022 1 commit
  3. 14 Oct, 2022 1 commit
  4. 06 Oct, 2022 1 commit
  5. 29 Sep, 2022 1 commit
  6. 23 Sep, 2022 1 commit
  7. 21 Sep, 2022 1 commit
  8. 16 Sep, 2022 1 commit
  9. 09 Sep, 2022 1 commit
  10. 07 Sep, 2022 1 commit
  11. 06 Sep, 2022 1 commit
  12. 05 Sep, 2022 1 commit
  13. 02 Sep, 2022 2 commits
  14. 01 Sep, 2022 1 commit
    • Pavel's avatar
      Fix hang in text shaping (#585) · 5a24df69
      Pavel authored
      * check preconditions of `FontRunIterator::consume` as it's in SkShaper.cpp; remove code duplication
      
      * check `ubrk_following` return value, otherwise it may lead to hanging in `FontRunIterator::consume`
      5a24df69
  15. 25 Aug, 2022 1 commit
    • Igor Demin's avatar
      Fix getting text from clipboard (#579) · 78c2b52e
      Igor Demin authored
      * Fix getting text from clipboard
      
      Sometimes, internal AWT implementation can't properly parse the clipboard data.
      
      getData's docs say that it can throw IOException
      
      * Return UnsupportedFlavorException
      78c2b52e
  16. 22 Aug, 2022 3 commits
  17. 19 Aug, 2022 2 commits
  18. 18 Aug, 2022 1 commit
    • Pavel's avatar
      migrate to m105 (#562) · 4312d53f
      Pavel authored
      * fix RunRecordClone data layout in debug mode
      
      * migrate to skia chrome/m105
      
      * fix tests
      
      * allow to retrieve text from Paragraph
      
      * add missing includes; use c++17 on windows; bump skia version
      4312d53f
  19. 17 Aug, 2022 4 commits
  20. 16 Aug, 2022 1 commit
    • Igor Demin's avatar
      Remove Angle support (it is not fully implemented) (#567) · 257b0404
      Igor Demin authored
      Angle is a stable Skia renderer, which is used by Chromium instead of direct DirectX, OpenGl, Metal renderers. It is considered more stable, but needs the ~30mb binary library. Angle mimics OpengGL ES and calls corresponding DirectX/Metal API's.
      
      Angle support wasn't fully implemented, there just a bunch of class prototypes in the source code, that gets in the way during refactorings.
      
      Deleting it for now, until we decide to fully support it. When we decide it, we can look at git history.
      257b0404
  21. 09 Aug, 2022 1 commit
    • Igor Demin's avatar
      Refactor Skiko properties (#563) · 4561adb5
      Igor Demin authored
      - Make SkikoProperties public, and don't cache the values, so users can change properties in runtime
      
      - Deprecate skiko.directx.gpu.priority and skiko.directx.gpu.priority, introduce skiko.gpu.priority. There is no need in separate priority for macOs/DirectX
      
      - Fix skiko.fps.enabled property
      4561adb5
  22. 29 Jul, 2022 1 commit
    • Pavel's avatar
      Fix segfaults (#561) · edb89083
      Pavel authored
      * skString c_str contains string encoded in UTF8, but it was treated as UTF16
      
      * ensure that managedString doesn't collect til the end of JNI call, also close manually at the end
      edb89083
  23. 25 Jul, 2022 1 commit
  24. 22 Jul, 2022 1 commit
  25. 14 Jul, 2022 2 commits
  26. 11 Jul, 2022 1 commit
  27. 06 Jun, 2022 1 commit
  28. 01 Jun, 2022 1 commit
    • Victor Kropp's avatar
      Add binding for SkGraphics methods (#538) · 5ad212b5
      Victor Kropp authored
      * Add binding for SkGraphics methods
      
      * Add binding for SkGraphics methods in nativeJsMain
      
      * Add smoke tests for SkGraphics bindings
      
      * explicitly resolve java.awt.Graphics reference
      
      * fix external symbol names for SkGraphics bindings
      5ad212b5
  29. 31 May, 2022 2 commits
  30. 30 May, 2022 1 commit