133 Commits

Author SHA1 Message Date
5001ef1294 Rewrite Windows stdin handling to use input records (#671) 2025-01-31 21:45:32 -05:00
1bf0367281 Correct Windows ARM .dll resource folder for JVM (#672) 2025-01-29 19:52:35 +00:00
27f7f5faa0 Add R8 test run (#669)
Like ProGuard, it also is failing, but at least it's failing in the same way.
2025-01-27 23:31:03 -05:00
853945a08f Run ProGuard tests on CI (#668)
But in a very basic way for now. Also they are broken, so we do not require them in final-status yet.
2025-01-27 16:50:45 -05:00
7a52066cfd Correct shrinker rules slightly (#664)
The tests still do not fully run, but they get a lot farther.
2025-01-26 00:30:51 -05:00
163de9ca77 Remove remaining mentions of stdinReader (#662) 2025-01-24 21:18:38 +00:00
e1387c24a1 Rename native structs (#661) 2025-01-24 21:10:50 +00:00
7c85e5f16d Rename native and JNI functions (#659) 2025-01-24 20:50:31 +00:00
cdc7a2ee85 Move test type to test source set (#658) 2025-01-24 09:53:30 -05:00
511c46b17b Breakout types into own files, rename (#656) 2025-01-24 05:55:46 +00:00
fe34cd2f29 Rewrite native input handling
This will allow out-of-band events to come in, such as a resize from SIGWINCH, or focus and resize from Windows' console events in a future change.
2025-01-24 05:25:38 +00:00
44ef3f4706 Centralize most opt-in usage (#655) 2025-01-23 15:16:40 -05:00
0a23d8d276 Extract base parser test (#653)
This removes duplication, but will also aid in future migration to new API.
2025-01-23 05:24:01 +00:00
4c8640bbcf Remove test tasks that vary the JVM (#652)
We cover this on CI now. It should be exceedingly rare you would need to test on an older JVM, and you can just switch your JAVA_HOME temporarily to do so.
2025-01-23 00:18:50 -05:00
486086d5e2 Add Linux ARM runners to CI (#649) 2025-01-17 23:56:50 -05:00
b8e6dda386 Build tests once and copy to other platforms to run (#650) 2025-01-17 23:34:52 -05:00
fc0356812e Reorder ResizeEvent properties (#645) 2025-01-14 05:33:05 +00:00
387bbffa92 Migrate to a dedicated "Jni" type (#644)
This will aid in future migration to an abstraction which can better support Windows.
2025-01-14 05:02:05 +00:00
9f634c5c58 Test with ProGuard (#591) 2025-01-08 15:36:38 +00:00
aaf44d68b0 Parse Kitty pointer shape query events (#637) 2025-01-08 04:41:08 +00:00
19bf625f98 New Poko annotation (#608) 2025-01-03 03:49:01 +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
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
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
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
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
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