605 Commits

Author SHA1 Message Date
87c90eaf2c Update dependency org.jetbrains.kotlinx:binary-compatibility-validator to v0.16.1 (#416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 10:42:44 -04:00
fd8295db7a Update dependency org.jetbrains.kotlinx:binary-compatibility-validator to v0.16.0 (#415)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 12:25:25 -04:00
3fc06ec160 Update dependency org.jline:jline to v3.26.3 (#414)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 12:25:16 -04:00
68acd4d272 Update dependency com.github.ajalt.mordant:mordant to v2.7.1 (#413)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-14 20:55:43 -04:00
d101cb8206 Update dependency gradle to v8.9 (#412)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 11:58:44 -04:00
6ee57cbe9f Update dependency org.jetbrains.kotlinx:binary-compatibility-validator to v0.15.1 (#411)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 09:55:22 -04:00
e20380b475 Update dependency org.jetbrains.kotlinx:binary-compatibility-validator to v0.15.0 (#410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 09:29:48 -04:00
5cb2afcb89 Update dependency com.pinterest.ktlint:ktlint-cli to v1.3.1 (#409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 14:44:34 -04:00
2283dc2cb0 Update dependency io.nlopez.compose.rules:ktlint to v0.4.5 (#408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 07:29:43 -04:00
58d94ddcc4 Update dependency com.github.ajalt.mordant:mordant to v2.7.0 (#407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-29 20:23:52 -04:00
cc94b8152b Update dependency de.cketti.unicode:kotlin-codepoints to v0.9.0 (#406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 02:03:59 +00:00
eb9680d12a Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.29.0 (#405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-21 09:27:25 -04:00
8b2abbae64 Update dependency org.jline:jline to v3.26.2 (#403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 08:10:00 -04:00
3dffc85de3 Some fun animation in demo sample (#399) 2024-06-09 23:19:57 -04:00
bb33c53415 Update dependency de.cketti.unicode:kotlin-codepoints to v0.8.0 (#398)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-09 21:22:48 -04:00
620fcad8ca Remove background color from default rrtop sample theme (#395) 2024-06-08 16:25:22 -04:00
5ca7ff1a15 Update dependency com.pinterest.ktlint:ktlint-cli to v1.3.0 (#392)
* Update dependency com.pinterest.ktlint:ktlint-cli to v1.3.0

* Format

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2024-06-07 03:39:41 +00:00
30cae1955e Update dependency io.nlopez.compose.rules:ktlint to v0.4.4 (#393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 07:16:16 -04:00
e36abdc1be Support synchronized update (#357) 2024-06-04 13:14:24 -04:00
be8adb134d Add rrtop gif to rrtop readme 2024-06-03 21:29:59 -04:00
0a4b690c90 Update gifs and readme (#388)
New renders for the demo and rrtop. Also use self-documenting awaitCancelation function in their code.
2024-06-03 20:50:41 +00:00
1fa53ba7a1 Update dependency org.jetbrains.compose.runtime:runtime to v1.6.11 (#387)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 13:16:19 -04:00
ceb76cb7b8 Update dependency gradle to v8.8 (#385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 18:22:47 -04:00
148502f815 Some code fixes (#384)
- Move `Fill` and `Stroke` inside the `DrawStyle`
- Remove `toString` from `DrawStyle.Stroke` because `@Poko` is already doing it
- In the robot sample, the use of the `offset` modifier in the robot (`Text`)
- Remove `TODO https://github.com/JakeWharton/mosaic/issues/11` in the robot sample, it seems that it is no longer relevant
- In the robot sample, add `isActive` check in the loop for keyboard input
- Fix in the `README.md` `mutableStateOf` to `mutableIntStateOf`, as is correct in newer versions
2024-05-30 07:49:11 -04:00
d542cf1587 Modify DrawScope#drawRect (#383)
- Change the `drawRect` method in `DrawScope` like the method from the Compose UI
- Add support for `DrawStyle`: `Fill` and `Stroke` in `DrawScope#drawRect`
- Add support for drawing a rectangle from text characters
- Add `Filler` with code point
- Change the robot sample to show `drawRect` with `Stroke`
2024-05-29 21:50:07 -04:00
2def278856 Delete Kotlin/Compose Renovate rules (#382) 2024-05-29 19:08:31 +00:00
cdc86fe490 Prepare next development version 2024-05-28 21:58:34 -04:00
5167547117 Prepare version 0.13.0 0.13.0 2024-05-28 21:58:18 -04:00
ca05ca8218 Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.16.0 (#380)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 01:28:03 +00:00
a5ec60767d Update to Kotlin 2.0
* Update Kotlin and Compose to v2

* Kotlin 2.0 updates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2024-05-28 16:55:50 -04:00
67ac843266 Migrate to isSameInstanceAs (#379) 2024-05-28 20:50:32 +00:00
cf8d3f07df Prepare next development version 2024-05-28 16:18:23 -04:00
7732504366 Prepare version 0.12.0 0.12.0 2024-05-28 16:18:00 -04:00
bfccf07079 Update dependency io.nlopez.compose.rules:ktlint to v0.4.3 (#377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-28 07:18:17 -04:00
15d9d2df30 Remove autoboxing and object creation from multiple locations (#372)
- Add `Color.Unspecified` for replace nullable `Color`
- Add some extension functions for `Color` to check on `Color.Unspecified`
- Use `TextStyle.Unspecified` instead null for `TextStyle`
- Add some extension functions for `TextStyle` to check on `TextStyle.Unspecified` and `TextStyle.Empty`
- Make `TextStyle` an inline class
- Using `Int` as codepoint (`TextPixel#codePoint`) instead of `String` in `TextPixel` (`TextPixel#value`)
- Rename `style: TextStyle` to `textStyle: TextStyle` for clearer and less confusing naming, as there are several other styles
- Add emoji to demo sample and use of 2 styles for part of the text
2024-05-27 21:15:36 -04:00
0889d38265 Update dependency io.nlopez.compose.rules:ktlint to v0.4.2 (#376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 08:38:54 -04:00
7323e0b14f Update dependency org.jetbrains.compose.compiler:compiler to v1.5.14 (#369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 15:31:19 -04:00
7aeeeb6190 Update dependency org.jetbrains.compose.runtime:runtime to v1.6.10 (#374)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 19:17:11 +00:00
bd93b7914e Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.15.3 (#373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-19 21:45:27 -04:00
783f685d15 Update dependency com.github.ajalt.mordant:mordant to v2.6.0 (#371)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-17 17:24:48 -04:00
7294c45315 Update dependency io.nlopez.compose.rules:ktlint to v0.4.1 (#370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 16:19:30 -04:00
6efdb159b8 Support true color palette (#356)
Also update rrtop sample with several color palettes
2024-05-15 21:30:20 -04:00
eb76d4c1ba Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.0 (#368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 13:55:31 +00:00
cc4b181c17 Add rrtop sample (#366)
An example of a UI like the [rrtop](https://github.com/wojciech-zurek/rrtop) program with **fake** data.
2024-05-15 09:47:04 -04:00
fdfef612a5 Update Kotlin and Compose (#362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 09:44:42 -04:00
f5f3eb99f4 Update dependency androidx.compose.compiler:compiler to v1.5.14 (#367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-14 16:17:46 -04:00
9257cbe20b Update dependency io.nlopez.compose.rules:ktlint to v0.3.21 (#365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 07:18:34 -04:00
20766cd55c Update dependency io.nlopez.compose.rules:ktlint to v0.3.20 (#361)
* Update dependency io.nlopez.compose.rules:ktlint to v0.3.20

* Suppress

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2024-05-10 15:25:45 +00:00
96c2b9ab5a Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.8.1 (#364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 11:19:35 -04:00
7aa13e5e93 Remove Terminal.Size and use IntSize instead in Terminal.size for optimization purposes (#363) 2024-05-09 19:23:05 -04:00