133 Commits

Author SHA1 Message Date
be19d649e6 Parse Kitty keyboard query responses (#541) 2024-11-22 06:03:51 +00:00
801dbe185d Use dedicated event for terminal version (#540)
The xterm spec says this is a 'DSR sequence' which is why the DSR event was used previously, but the format is completely different than the other DSR-based responses.
2024-11-22 04:59:32 +00:00
2aa8682c00 Parse system theme events (#539) 2024-11-22 04:28:49 +00:00
b1af118fcc Primary device attributes event test (#538)
And other small fixes from last night.
2024-11-21 15:38:58 +00:00
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
327e046d5d Test on LTS + latest JDKs (#530) 2024-11-18 20:17:26 +00: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
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
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
eb754d206d Actually set reader value when creating writer (#516)
Guaranteed NPE otherwise.
2024-11-08 16:34:01 +00: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
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
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
8b0832f8c4 Add pom info for mosaic-terminal 2024-10-07 11:22:19 -07:00
709973a8b5 Put resource file check on resource task (#476)
Also update now that we have a RISC-V binary.
2024-09-13 02:41:44 +00:00
b3c1d498cc Add Linux RISC-V support for JVM (#474) 2024-09-12 05:03:11 +00:00
a9fe1dab76 Add comment about calloc failure (#473) 2024-09-12 04:50:17 +00:00
d254d94c06 Add stdin reader to Tty class (#472) 2024-09-12 00:41:14 -04:00
b7516bc630 Stuff (#466)
- Klib API dumps
- UInt comparison
- Publishing gets Dokka automatically
2024-09-07 00:00:20 -04:00
89e9f8befe Make raw mode entry more robust (#465) 2024-09-06 23:18:27 -04:00
26dc51facb Put pointer star on the name not type
C is dumb.
2024-09-04 16:47:32 -04:00
fbd6b8f0b4 Start a terminal project for low-level utilities (#457)
Up first is a mechanism to enable raw mode.
2024-08-30 10:54:56 -04:00