605 Commits

Author SHA1 Message Date
baef906adb Start testing the terminal parser (#537)
Fix a bug in the "CSI ... ~" logic which defaulted to a fallback index that included the tilde, rather than the index of the tilde itself.
2024-11-21 03:44:27 +00:00
762020cd72 Start parsing terminal events (#534) 2024-11-20 18:13:15 -05:00
8e07b42114 Update dependency gradle to v8.11.1 (#533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 16:04:55 -05:00
39a8011a35 Update dependency org.jetbrains.kotlinx:kotlinx-io-core to v0.6.0 (#532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 18:50:17 -05:00
cd476f848a Update dependency io.nlopez.compose.rules:ktlint to v0.4.19 (#531)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 11:56:38 -05:00
327e046d5d Test on LTS + latest JDKs (#530) 2024-11-18 20:17:26 +00:00
15b566f973 Create simple Snake game sample (#514) 2024-11-14 23:03:42 -05:00
61497a5cb3 Make Tty functions static on the JVM (#527) 2024-11-15 04:02:38 +00:00
0728389fff Rethrow all errors from native (#526) 2024-11-15 03:47:07 +00:00
0d6c9f4d07 Expand stdin reader tests (#525) 2024-11-14 05:33:02 +00:00
3e4217cf66 Update plugin com.gradle.develocity to v3.18.2 (#524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 09:42:28 -05:00
6e1accd80e Use a separate wait handle from the read handle (#523)
* Use a separate wait handle from the read handle

This allows our test writer to use an anonymous pipe plus a separate event to send data. Using only the pipe does not work, as it is always in the signaled state.

* Remove Gradle caching
2024-11-12 23:54:18 -05:00
2f9fcd4201 Update dependency io.nlopez.compose.rules:ktlint to v0.4.18 (#521)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 22:44:55 -05:00
c981aeb9a3 Update compose to v1.7.1 (#520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 03:29:25 +00:00
88c2f3a42e More Windows fixes (#522) 2024-11-13 01:35:22 +00:00
db46d6609b Enable Windows testing 2024-11-11 23:06:39 -05:00
89309af9c9 Ignore one test on Windows for now (#519)
We have to change our strategy fundamentally, and I'd rather just have it working for now.
2024-11-12 01:51:59 +00:00
f2a2537827 More Windows fixes (#518) 2024-11-12 01:08:37 +00:00
c360f8f43e Update dependency gradle to v8.11 (#517)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 16:11:56 +00:00
eb754d206d Actually set reader value when creating writer (#516)
Guaranteed NPE otherwise.
2024-11-08 16:34:01 +00:00
f2bca28e18 Remove test report upload (#515) 2024-11-04 14:08:35 +00:00
9895e34413 Update mordant to v3.0.1 (#513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 12:14:27 -07:00
fca4ca8fe7 Enable Ubuntu testing (#511) 2024-11-02 02:47:10 +00:00
d69b1de9ed Run on more Mac runners (#509) 2024-11-01 21:48:12 +00:00
96bb1c7997 Prepare to run CI on Mac, Linux, and Windows (#503)
Only Mac works right now.
2024-11-01 13:29:02 -04:00
73fe15752c Update dependency io.nlopez.compose.rules:ktlint to v0.4.17 (#506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 12:36:18 +00:00
3574b7b21b Create a StdinWriter for testing StdinReader (#502) 2024-10-23 10:46:25 -04:00
21f7edaa13 Add overload of stdinReader which takes a path to stdin (#501)
This facilitates testing, since stdin isn't normally available in test harnesses.
2024-10-21 07:59:36 -04:00
90ca74d617 Support read with a millisecond timeout (#500) 2024-10-19 03:55:00 +00:00
37cd35908b Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.17.2 (#499)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-18 16:07:30 -07:00
c937f19411 Only make ISE throwing require a prefix 2024-10-15 21:25:38 -07:00
2847249820 Extract common ISE-throwing logic from JNI C 2024-10-15 21:25:38 -07:00
ce87f50ba2 Update compose to v1.7.0 (#497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-15 16:25:15 -07:00
80c1e81c09 Update dependency io.nlopez.compose.rules:ktlint to v0.4.16 (#493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 17:53:26 -04:00
5c2ea724cc Only store the next layer once (#492)
Or in the case of the bottom layer, not at all.
2024-10-14 17:52:48 -04:00
167f183142 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.30.0 (#491)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 06:55:07 -07:00
2fd6a10a4b Update kotlin monorepo to v2.0.21 (#490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 08:17:13 -07:00
858a32f160 Update CHANGELOG.md 2024-10-07 12:43:55 -07:00
2d9a85f8d1 Update CHANGELOG.md 2024-10-07 12:37:54 -07:00
259a6f4759 Prepare next development version 2024-10-07 11:22:19 -07:00
8b0832f8c4 Add pom info for mosaic-terminal 0.14.0 2024-10-07 11:22:19 -07:00
9619ebe25c Prepare version 0.14.0 2024-10-07 11:11:30 -07:00
7fa4b5ee3f Update dependency com.github.ajalt.clikt:clikt to v5.0.1 (#488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-05 16:54:25 -04:00
257f7e632f Update dependency io.nlopez.compose.rules:ktlint to v0.4.15 (#487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-03 11:25:33 -04:00
687974c0bc Collapse surface arrays into a single contiguous chunk (#485)
Better locality in memory.
2024-09-25 23:45:02 -04:00
e2f598859e Use more efficient collections where possible (#483)
These avoid boxing, virtual calls, or both. Not all usages have been updated, just the easy targets.
2024-09-25 09:20:56 -04:00
964af72cb5 Update dependency gradle to v8.10.2 (#448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 01:18:58 +00:00
aa9a9bb768 Fix nano calculation (#482) 2024-09-23 14:04:50 +00:00
c3f36e0783 Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.17.1 (#480)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-17 17:15:25 -04:00
7379bdd323 Send real frame times into Compose (#479) 2024-09-17 00:54:01 -04:00