Skip to content

Winit version 0.30.13#4498

Open
kchibisov wants to merge 9 commits intov0.30.xfrom
kchibisov/release-03013
Open

Winit version 0.30.13#4498
kchibisov wants to merge 9 commits intov0.30.xfrom
kchibisov/release-03013

Conversation

@kchibisov
Copy link
Member

No description provided.

Winit only supports text, thus we should ignore the rest
instead of crashing.
@kchibisov kchibisov force-pushed the kchibisov/release-03013 branch 3 times, most recently from b440e5d to a42e8a7 Compare March 1, 2026 14:22
itsamine27 and others added 6 commits March 1, 2026 23:26
The xfixes implementation is not that reliable and rather simple to
replace, so use x11rb to implement the same functionality.

Fixes #4120.
Co-authored-by: avitran0 <holyhades64@gmail.com>
macOS native Pinyin IME can send a selected_range that exceeds the
marked text string length (e.g. index 8 for a 6-character string).
This caused an NSRangeException in substringToIndex:, crashing the
application with SIGABRT.

Clamp both location and end to the string's UTF-16 length before
calling substringToIndex.
@kchibisov kchibisov force-pushed the kchibisov/release-03013 branch 3 times, most recently from 86ac487 to c59ae7c Compare March 1, 2026 14:30
@kchibisov kchibisov force-pushed the kchibisov/release-03013 branch from c59ae7c to f64a342 Compare March 1, 2026 14:33
@madsmtm madsmtm added this to the Version 0.30.13 milestone Mar 1, 2026
@madsmtm madsmtm linked an issue Mar 1, 2026 that may be closed by this pull request
@MarijnS95
Copy link
Member

Looking at this, I thought I missed a PR after initially fixing something on "our" old 0.29 backport branch which we're still using... But turns out I never PR'd this: #4499

Would it make sense to backport it to 0.30 too? Might be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Release 0.30.13?

10 participants