852 Commits

Author SHA1 Message Date
f15cc39bfd Sanity check samples on all platforms (#881) 2025-05-12 14:23:21 +00:00
43bd1117b4 Windows quick fix (#880) 2025-05-11 04:24:10 +00:00
e46de7ba78 Always enable in-band resize mode even if already set (#871)
This should cause the terminal to emit the current size.
2025-05-10 01:52:50 +00:00
feda3512e1 Some TestTty renames (#878)
Resize is not just for sending events on Windows, so give it a distinct name.

Add 'send' verb for the Windows-specific, event-based callback helpers.

Update change log for window size fix.
2025-05-09 14:29:18 +00:00
4583796616 Actually resize the terminal from TestTty (#872) 2025-05-09 00:38:35 -04:00
7b4e44ec94 Update jetbrains.compose to v1.8.0 (#875)
* Update dependency org.jetbrains.compose.collection-internal:collection to v1.8.0

* Target Java 11

* Update CHANGELOG.md

* Drop Java 8 build shards

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <github@jakewharton.com>
2025-05-08 18:49:53 +00:00
54f2183bf8 Fix path issues in Zig and Gradle scripts (#877)
Update gradle script to ouput jni parent path for zig build prefix path and update zig build script to use `.cwd_relative` option instead of deprecated path constructor for the install path removal step
2025-05-07 09:06:55 -04:00
84988a8639 Update mlugg/setup-zig action to v2 (#876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-07 03:40:45 +00:00
9a26e5613e Fix struct member casing (#874) 2025-05-01 02:34:41 +00:00
af92d751bd Only bind one TestTty at a time (#873) 2025-04-30 03:18:39 +00:00
546920a2f7 Query theme separately from theme update mode (#870) 2025-04-28 16:16:17 +00:00
7cfeb39a6a Always enable focus mode even if already set (#869)
This may cause the terminal to emit the current value.
2025-04-26 03:51:42 +00:00
0494e5fa79 Remove unused Turbine (#868) 2025-04-26 02:51:18 +00:00
e369697b9c Test focus state change logic (#867) 2025-04-25 20:28:28 +00:00
7eb69c7400 Update plugin com.gradle.develocity to v4.0.1 (#866)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-25 19:59:39 +00:00
584671cb51 Update dependency java to v24 (#813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-25 13:03:16 +00:00
a6fcccc528 Update dependency gradle to v8.14 (#865)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-25 12:27:28 +00:00
64203d8674 Update dependency com.android.tools:r8 to v8.9.35 (#864)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-23 08:10:46 -04:00
e34414f6d6 Test for permanent responses for capabilities (#862) 2025-04-21 03:09:59 +00:00
7b1afd9698 Rename test platform detection filename (#861) 2025-04-21 02:10:04 +00:00
d38f422a7f Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.18.6 (#860)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 19:03:36 +00:00
3ff8a1f151 Add Windows ARM runner (#859)
For Java, at least. There is no Windows ARM native target.
2025-04-14 19:17:25 -04:00
95c7adb4d9 More TTY terminal capability testing (#858) 2025-04-13 04:32:55 +00:00
57e197a657 Fix changelog link 2025-04-12 00:26:04 -04:00
bf703ecebd Prepare next development version 2025-04-11 23:26:10 -04:00
0a3ce01912 Generate JNI header first during release 0.17.0 2025-04-11 23:25:52 -04:00
74f5ff72ea Prepare version 0.17.0 2025-04-11 23:14:01 -04:00
17af3ead14 Renderers now take Terminal.Capabilities directly (#856) 2025-04-11 03:14:38 +00:00
07f150d9a6 Move terminal binding and policy behavior to helper (#855) 2025-04-11 02:28:23 +00:00
5df5e316c9 Rename terminal.kt to TerminalState.kt to reflect its content (#854) 2025-04-11 02:08:16 +00:00
1a52e9b7f9 JNI loading parameter name tweaks (#853) 2025-04-11 01:17:17 +00:00
d7e4b098c8 Use IOException for I/O exceptions (#852) 2025-04-11 01:14:34 +00:00
9742e30fd5 Test with ASCII strings where possible (#851) 2025-04-10 03:42:39 +00:00
cbc577494c Create TTY terminal test harness and start testing (#850) 2025-04-09 14:48:46 +00:00
e7ddeb38b1 Update plugin com.gradle.develocity to v4 (#849)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 21:52:40 -04:00
a66eb39c37 Update kotlinx-coroutines monorepo to v1.10.2 (#848)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 12:15:39 +00:00
876b91b4af Update dependency com.diffplug.spotless:spotless-plugin-gradle to v7.0.3 (#847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 03:55:04 +00:00
9f3bacfb98 Support interrupting TestTty reads (#844) 2025-04-03 19:08:50 +00:00
34160d3d71 Note how to test on Windows (#846)
Totally reasonable and sane process.
2025-04-03 18:39:29 +00:00
a4f0aee423 Always use console input and output (#845) 2025-04-03 14:24:55 -04:00
1b88afedcc Add support for reads from the PTY side (TestTty) (#842) 2025-03-31 22:59:22 -04:00
8ff28d3705 Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.18.5 (#843)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 20:01:34 +00:00
4eac62b61a Correctly specify offset and count for native write (#841) 2025-03-29 05:08:22 +00:00
8e1778e2db Some terminal docs, naming changes, and shuffling (#839) 2025-03-28 16:19:22 +00:00
3d8ef9419d Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.18.4 (#838)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-28 00:31:18 -04:00
46442e106d Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.18.3 (#837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 00:40:19 -04:00
c838702c27 Remove unneccessary curlies (#836) 2025-03-26 16:11:06 +00:00
cd8f78e70e Detect Kitty text sizing protocol (#835) 2025-03-26 11:25:23 -04:00
0917be0ac5 Add terminal capability app (#833)
Useful for scripting to run on a bunch of terminals to validate capability detection.
2025-03-26 04:54:08 +00:00
b03098026f Move JNI libraries to subdirectory (#832) 2025-03-25 23:38:45 -04:00