605 Commits

Author SHA1 Message Date
e2fd7727f0 Remove extra lambda allocation (#592) 2025-01-01 04:56:52 +00:00
146f0745ae Add shrinker rules to keep native names (#590)
Class and method names of native methods must be kept. We don't need to include the descriptor types, becuase we only use Java's build-in types.
2024-12-29 00:13:25 -05:00
0ec7ab9e2f Beef up the JNI check a bit (#589)
For no reason except other changes coming will already do some of these things so we may as well share some of the infra.
2024-12-28 05:26:37 +00:00
e04d5548fc Only vary the JDK testing for the terminal project (#588) 2024-12-28 05:03:17 +00:00
fa01006ca2 Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.18.2 (#587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-27 19:23:14 +00:00
bbc74f17df Update dependency gradle to v8.12 (#586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-20 17:15:08 +00:00
724045950c Update kotlinx-coroutines monorepo to v1.10.1 (#585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-20 11:55:02 -05:00
d33def7f33 Remove timing on interrupt test (#584)
We don't really need to know how long the read took, just that it was interrupted. Testing for time ensures that it didn't just return instantly, but we'll be okay without it. The test will hang forever if it can't be interrupted.
2024-12-20 04:59:31 +00:00
efa52eb802 Update compose to v1.7.3 (#583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 20:49:08 -05:00
ba28f782ab Update kotlinx-coroutines monorepo to v1.10.0 (#582)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 20:41:15 +00:00
50d93c1f86 Update dependency org.jetbrains.kotlinx:binary-compatibility-validator to v0.17.0 (#581)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 20:37:43 +00:00
a2e163c04e Render as fast as possible (#578)
Do not delay to space out frames. Instead, send frames as fast as possible and only render when something changes. This ensures we reflect changes as soon as possible rather than after an artificial delay.
2024-12-19 12:14:55 -05:00
b9a0dc95a1 Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v2 (#576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 17:49:01 +00:00
9afc6ab880 Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.18.1 (#574)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-14 04:00:16 +00:00
7a005a60f3 Update plugin com.gradle.develocity to v3.19 (#573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-12 09:28:27 -05:00
61b73c8e14 Update dependency io.nlopez.compose.rules:ktlint to v0.4.22 (#572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 14:30:34 -05:00
f3c1b42602 Update dependency io.nlopez.compose.rules:ktlint to v0.4.20 (#571)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-10 07:37:43 -05:00
815a79eadd Output bytes with parsed events (#570) 2024-12-06 03:27:23 +00:00
7c0c660647 XTerm size event parsing (#569) 2024-12-05 04:57:59 +00:00
a2693257ba Fix parsing ground keys with tests (#568) 2024-12-04 23:42:03 -05:00
a5bb492ed9 Revert "Fix parsing ground keys with tests (#566)" (#567)
This reverts commit 5da2bbf467fd2423539cee16325e52bd2329cf23.
2024-12-05 04:17:37 +00:00
5da2bbf467 Fix parsing ground keys with tests (#566) 2024-12-05 03:55:19 +00:00
b8d33a89f7 Fix infinite loop on a fully-parsed buffer (#563) 2024-12-04 18:54:45 +00:00
d9d84f3cdf Test logging for all platforms (#565) 2024-12-04 16:38:27 +00:00
d567f1370d Parameter is a count, not a length (#564)
Behavior was correct by callers and implementation, but API reflected old name.
2024-12-04 16:08:33 +00:00
446fe81cb5 Revert "Fix infinite loop on a fully-parsed buffer (#560)" (#562)
This reverts commit 05098e28a23561dc5fd9d674c931d1f020139651.
2024-12-04 13:33:21 +00:00
05098e28a2 Fix infinite loop on a fully-parsed buffer (#560) 2024-12-04 10:10:19 +00:00
5c851537c0 Parse XTerm mouse (#561) 2024-12-04 00:49:37 -05:00
313a770845 Flesh out Kitty parsing even more (#559) 2024-12-03 05:03:12 +00:00
3b7644211d Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.18.0 (#558)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 19:24:59 +00:00
f8cb9a3a78 Update dependency com.github.ajalt.clikt:clikt to v5.0.2 (#557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-01 16:47:52 -05:00
a2b8cd4744 Parse Kitty keyboard event type (#556) 2024-11-29 06:24:55 +00:00
1930f5b6c1 Start parsing Kitty keyboard events (#555)
Just enough to capture Ctrl+C in this mode for now.
2024-11-29 05:26:51 +00:00
a3fd189256 Test and fix CSI legacy keyboard modifiers (#554) 2024-11-29 02:01:42 +00:00
05148ad163 CSI legacy keyboard and tests (#553)
Except no modifier tests yet.
2024-11-28 06:03:56 +00:00
0fc398cbb5 Complete and test SS3 legacy key events (#552) 2024-11-27 17:42:33 -05:00
0daaffcb7f Make ResizeEvent more robust (#551)
Ignore subparameters and validate mode number.
2024-11-27 15:16:39 -05:00
aa188f138a Update kotlin monorepo to v2.1.0 (#550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 16:00:02 +00:00
fbdea9c215 Start parsing OSC color updates (#549) 2024-11-27 15:39:18 +00:00
6559709769 Pass length not limit (#548)
This was causing OOMs and some JNI crashes.
2024-11-26 04:27:00 +00:00
1acc9a9f54 Parse OSC into unknown instead of crashing (#547) 2024-11-25 21:42:09 +00:00
c912b29ef2 Random parser changes (#546) 2024-11-25 20:38:44 +00:00
4d0f5a3456 Some quick mouse fixes (#545) 2024-11-22 22:37:11 +00:00
7dcd087b74 Parse operating status reports (#544) 2024-11-22 21:51:09 +00:00
392ef676f5 More DEC mode report error cases (#543) 2024-11-22 16:39:02 +00:00
c7718be9b6 Parse DEC mode reports (#542)
Also reduce handling of error cases. Since the bytes are included, the codepath the parser takes will be clear upon debugging. No need to optimize for cases which should never happen.
2024-11-22 15:47:38 +00:00
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