Skip to content

Releases: korlibs/korge

v4.0.10

23 Aug 22:22
2d6152c
Compare
Choose a tag to compare

What's Changed

  • Fix blurry DefaultTtfFontAsBitmap text in CachedContainer when virtual size < window size by @eaboll in #1760
  • Add Scale intrinsic and extrinsic operations + conversions + tests by @soywiz in #1802
  • Improves CachedContainer with renderQuality and provides korim.Quality by @soywiz in #1803
  • Refactor sandbox code so that a JVM entrypoint can be made. by @Kietyo in #1810
  • fix typo "thighly" -> "tightly" by @iiiii7d in #1808
  • Convert to .kts gradle script for intellisense. by @Kietyo in #1813
  • Fix prerelease errors that appear if you use Korge in a multi-project with diff Kotlin versions and upgrade to Kotlin 1.9.0 by @Kietyo in #1814
  • Add docs for docker image creation by @Maddin-M in #1816
  • Revive Korge screenshot tester with Korge UI. by @Kietyo in #1817
  • Refactor screenshot tester to use offscreen rendering utils. by @Kietyo in #1819
  • Migrate to .kts for autocomplete. by @Kietyo in #1822
  • Fix generated main for desktop. by @Kietyo in #1827
  • remove unused code by @ygdrasil-io in #1825
  • Convert buildSrc to using kts by @Kietyo in #1830
  • Delete build.gradle.old by @ygdrasil-io in #1831
  • enable tests on release branches by @ygdrasil-io in #1833
  • Fix grayscale jpeg rendering colors. by @Kietyo in #1829

New Contributors

Full Changelog: v4.0.9...v4.0.10

v4.0.9

14 Jul 10:22
0289a03
Compare
Choose a tag to compare

What's Changed

  • Docs: UI Components by @soywiz in #1774
  • Fixes and tests BlendMode.INVERT by @soywiz in #1775
  • Fixes UIWindow scale handlers + improve close button icon by @soywiz in #1776
  • Properly detects a wrong zip file instead of failing with an IndexOutOfBoundsException by @soywiz in #1780
  • Added UIDirection.*_REVERSE variants, added UIGridFill padding and direction parametes + be reactive with property changes + expose to debugger thru @ViewProperty by @soywiz in #1781
  • Fixes PolylineShape built from a buildShape { } and/or graphics { } not displaying line dashes by @soywiz in #1782
  • Supports integrating into SwiftUI apps (and likely old iOS views) by @soywiz in #1786
  • Fixes .ase slice name generation, to not repeat names that are already used, also cover the case where a nameToVariable generated the same name by @soywiz in #1787
  • Support providing a set of possible keys for key events by @soywiz in #1789
  • Support providing a list of Closeable to CancellableGroup construction by @soywiz in #1790
  • Inverts preventDefault <-> stopPropagation behaviour to match JS. Supports dispatching events down and up or both. This will allow to fix the keyboard, touch and mouse events to go from down to up (bubbling) by @soywiz in #1792
  • Update index.md - typo mascots by @rafi0 in #1794
  • Simplify and fix ALSA implementation using DequeBasedPlatformAudioOutput by @soywiz in #1793
  • Added mermaid.js by @soywiz in #1797
  • Fixes Sandbox samples key input interfering with the main dropdown by making the scene container focusable by @soywiz in #1795
  • Sound: Improve JvmWaveOut implementation by doing a much more accurate waiting, and fixes closing not happening by @soywiz in #1796
  • Android: Fixes crash with vfsInitWithAndroidContextOnce by @soywiz in #1798

New Contributors

Full Changelog: v4.0.8...v4.0.9

v4.0.8

06 Jul 07:25
47ad4b9
Compare
Choose a tag to compare

What's Changed

  • Update README.md by @soywiz in #1732
  • Fixes korio: "Flow invariant is violated" in Vfs.listFlow() by @soywiz in #1734
  • Try to bump gradle to 8.1.1 by @soywiz in #1737
  • Bump kotlinx.coroutines to 1.7.2 by @soywiz in #1736
  • Fixes KR generation for files and folders starting with a number by @soywiz in #1738
  • Supports generating code for .TTF files and .ASE files (with tags/animations and slices information) by @soywiz in #1741
  • Improves UIVertical/HorizontalStack behaviour, to compute its size based on their childrens by default by @soywiz in #1739
  • Fixes MP3 identifying non-mp3 files as such by @soywiz in #1742
  • Docs: Adds Hot Reloading page by @soywiz in #1746
  • Fix some gradle issues by @soywiz in #1745
  • fix: korge crashing after too many sounds are played on linux by @cmhulbert in #1747
  • Adds Angle.clamp by @soywiz in #1749
  • Fix issue 1679, adding HMAC.hmacSHA512 by @eaboll in #1750
  • Fixes base volume in a music Sound not being used when playing it by @soywiz in #1751
  • Docs: Explain how to use Korinject basic API by @soywiz in #1753
  • Docs: Explain how to sort views by using zIndex by @soywiz in #1754
  • Docs: Document GameWindow.DialogInterface by @soywiz in #1756
  • Docs: NativeStorage & applicationDataVfs by @soywiz in #1755
  • Docs: Fixes relative images provided in search by @soywiz in #1757
  • Docs: Documents how to make View draggable by @soywiz in #1758
  • Docs: Add file drag & drop screenshot by @soywiz in #1759
  • Explains how to render custom stuff with different techniques by @soywiz in #1761
  • Propagates GameWindow.Quality to RenderContext by @soywiz in #1762
  • Adds Number.squared() and Number.signM1 and Number.signP1 by @soywiz in #1764
  • Fixes Vector2.reflected by @soywiz in #1763
  • Simplify IntNPack and do not use inline class for geometry types, but full data class until MFVC is ready by @soywiz in #1765
  • Add FixedLong by @soywiz in #1766
  • Improve RenderContext2D with Float and other Vector types by @soywiz in #1767
  • Added Array*.lastIndexOf variant for sub-arrays by @soywiz in #1769
  • Added mapWhileNotNull & mapWhileCheck by @soywiz in #1768
  • Fix/alsa wait by @cmhulbert in #1770
  • Prevents a stackoverflow when creating a view graph cycle by @soywiz in #1771

New Contributors

Full Changelog: v4.0.7...v4.0.8

v4.0.7

28 Jun 18:43
9b0a3f4
Compare
Choose a tag to compare

What's Changed

  • Improve SceneContainer.changeTo, added SceneContainer.navigationEntries and document navigation API by @soywiz in #1705
  • Fixes View.onDropFile and documents it by @soywiz in #1708
  • Optimize image decoding on MacOS JVM by using CoreGraphics decoder by @soywiz in #1709
  • Implement Drag & Drop on MacOS by @soywiz in #1711
  • Document kproject by @soywiz in #1712
  • Document keys.downFrame/justDown/downRepeating by @soywiz in #1714
  • Added Vector3 & Vector4 abs, min, max & clamp + tests by @soywiz in #1713
  • Remove it.ignoreFailures & fixes tests on CI by @soywiz in #1718
  • Support drawing arrows in VectorBuilder & Context2d by @soywiz in #1719
  • Supports Orientation, Point.orientation, Point.polar & Angle with Y going down (inverted up vector) by @soywiz in #1717
  • Fix link to krypto lib by @Foso in #1720
  • Some 3D additions: Matrix3+Quaternion compatibility, some missing methods in Vector3 and Matrix4. Support EulerAngles in arbitrary rotation orders. by @soywiz in #1725
  • De ordinals by @Bantolomeus in #1724
  • Support drawing polylines and polyArrows using the VectorBuilder by @soywiz in #1723
  • Fixes and tests managedTextureMemory going crazy in some cases and optimizes FastSmallSet by @soywiz in #1729
  • Optimize BaseGraphics when removed from stage. And adds View.onAncestorChanged by @soywiz in #1731
  • Adds overridable Bitmap.contentEquals and Bitmap.contentHashCode to all Bitmap implementations by @soywiz in #1730

New Contributors

Full Changelog: v4.0.6...v4.0.7

v4.0.6

15 Jun 14:20
311f93c
Compare
Choose a tag to compare

New target! 🆕

  • Apple TV! (tvOS) 🥳

What's Changed

Full Changelog: v4.0.5...v4.0.6

v4.0.5

12 Jun 03:41
31e2313
Compare
Choose a tag to compare

What's Changed

  • Documents the RLE class by @soywiz in #1642
  • Copied documentation from docs.korge.org to the korge repository to be able to write documentation, code and tests in a single PR by @soywiz in #1643
  • Improve, test and document Historiogram by @soywiz in #1670
  • Fixes Android alert/confirm/prompt and makes the root element of KorgwActivity to be a RelativeLayout by @soywiz in #1671
  • Improves Ray.direction to be normalized. Adds Ray.fromTwoPoints. Adds tests. Code + Website documentation for Ray by @soywiz in #1672
  • KR resources documentation + Chess tutorial link by @soywiz in #1675
  • Improve AnsiEscape with 256 colors + code documentation + website documentation by @soywiz in #1674
  • WASM Browser support for all the libraries including korgw and korge (retake) by @soywiz in #1628
  • Revert "Remove experimental wrapped klock variants (#1508)" by @soywiz in #1604
  • Improve ViewPropertyProvider, and support ImageDataView.animation selection by @soywiz in #1680
  • Some Quaternion improvement backports from korge-k3d by @soywiz in #1681
  • Initial metal rendering on JVM with JNA by @soywiz in #1682
  • Add reflected methods to Vector & Vector3 + some extensions + Vector2.rem by @soywiz in #1684
  • Fixes and improvements for BVH. Added BVH1D for finding segments in ranges by @soywiz in #1685
  • Make ImageAnimationView & ImageDataView Anchorable. Adds PixelAnchorable by @soywiz in #1683
  • korlibs.math.geom improvements by @soywiz in #1686
  • Final WASM retake by @soywiz in #1677

Full Changelog: v4.0.3...v4.0.5

v4.0.5a

12 Jun 13:22
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.5...z4.0.5a-only-gradle-plugin-4.0.5

v4.0.4-dev-1.9.20-2914

03 Jun 23:25
Compare
Choose a tag to compare
Pre-release

All korlibs compiled for the WASM target: including klock, kds, kmem, kbignum, korma, korim, korte, korim, korau, korgw and finally korge!

korge-wasm

WASM experiment using:

  • kotlin = "1.9.20-dev-2914"
  • kotlinx-atomicfu = "0.20.2-wasm0"
  • kotlinx-coroutines = "1.7.0-RC-wasm0"
  • kotlinx-serialization = "1.5.1-wasm0"

Requires:

pluginManagement {
    repositories {
        mavenLocal(); mavenCentral(); google(); gradlePluginPortal()
        maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev") }
        maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental") }
    }  
}

in settings.gradle.kts

hello-world example using this:

korlibs/korge-hello-world#24

you can try the sandbox yourself with multiples samples with:

git clone [email protected]:korlibs/korge.git
cd korge
git checkout feature/final.retake.wasm
# or if branch doesn't exist by then: git checkout 4244a6a55e803ead89816bc982c3e271d65cf62e
./gradlew runWasm

Relevant PR: #1677

v4.0.4

29 May 01:04
7025b01
Compare
Choose a tag to compare
v4.0.4 Pre-release
Pre-release

NOT FOUND

v4.0.3

29 May 01:04
7025b01
Compare
Choose a tag to compare

What's Changed

  • Adds an annotation pointing to the right path for every typed resource, so the intellij plugin can do stuff with that by @soywiz in #1635
  • Completes kbignum documentation + adds a BigInt.toBigInteger in the JVM/Android targets by @soywiz in #1636
  • Make suspendTest actually return an expect/actual type, so it can also work on wasm by @soywiz in #1637
  • Some SVG fixes by @soywiz in #1639
  • Klock: Fixes Z parsing and adds DateTime.parseLocal as a shortcut for parse(str).local by @soywiz in #1640

Full Changelog: v4.0.2...v4.0.3