Sean Billig
be2df79d5c
gpui: Handle null string pointer in window::insert_text ( #12446 )
...
`[NSString UTF8String]` sometimes returns null (it's documented as
such), and when it does, zed crashes in `window::insert_text`. I'm
running into this sometimes when using alt-d to delete forward. It
usually only happens with multiple cursors, but sometimes with a single
cursor. It *might* only happen when using the "Unicode Hex Input"
keyboard 'Input Source' (which I started using to avoid entering weird
characters in zed when using emacs meta keybindings that I haven't
defined in zed).
When using the US English input source, alt-d always results in a call
to `insert_text`. When using the Unicode Hex Input source it usually
doesn't, but when it does `text.UTF8String()` returns null. `text` isn't
null. `[text length]` returns 1. `[text characterAtIndex: 0]` seems to
always return `56797` (an undefined utf-16 codepoint).
Release Notes:
- Fixed crash on mac when deleting with alt-d
2024-06-03 09:36:38 -07:00
..
2024-05-08 19:13:28 +02:00
2024-05-30 12:36:07 +02:00
2024-05-29 18:06:45 -07:00
2024-06-03 15:58:43 +02:00
2024-05-30 16:45:05 +02:00
2024-05-12 04:47:19 -07:00
2024-05-29 18:06:45 -07:00
2024-05-27 19:01:20 -06:00
2024-04-25 17:42:53 -04:00
2024-05-10 15:50:20 -06:00
2024-05-30 13:32:34 -07:00
2024-05-27 19:01:20 -06:00
2024-05-29 16:53:45 -06:00
2024-03-05 12:01:17 -05:00
2024-05-30 13:02:55 -07:00
2024-06-01 18:40:25 +02:00
2024-03-29 17:09:49 -07:00
2024-03-15 16:58:46 -04:00
2024-05-16 13:30:04 -04:00
2024-03-26 13:28:06 +01:00
2024-05-26 16:30:09 -07:00
2024-04-23 13:31:21 -04:00
2024-05-21 22:39:16 -06:00
2024-05-29 18:06:45 -07:00
2024-06-03 15:58:43 +02:00
2024-05-30 16:45:05 +02:00
2024-05-27 17:44:54 -06:00
2024-03-28 18:32:11 +01:00
2024-06-03 15:58:43 +02:00
2024-05-29 16:53:45 -06:00
2024-05-28 21:51:24 -04:00
2024-05-22 14:36:15 +03:00
2024-05-29 18:06:45 -07:00
2024-05-30 09:37:11 -07:00
2024-04-30 23:31:59 -06:00
2024-03-05 12:01:17 -05:00
2024-05-30 09:37:11 -07:00
2024-05-10 15:50:20 -06:00
2024-05-16 20:28:17 -07:00
2024-05-10 15:50:20 -06:00
2024-06-03 09:36:38 -07:00
2024-05-06 13:56:25 -04:00
2024-05-23 21:11:14 -06:00
2024-05-22 20:40:31 -04:00
2024-05-29 18:06:45 -07:00
2024-05-03 12:50:42 -07:00
2024-03-11 10:45:57 +01:00
2024-04-08 19:17:12 -04:00
2024-06-01 20:33:32 +02:00
2024-03-05 12:01:17 -05:00
2024-06-03 15:58:43 +02:00
2024-06-03 17:11:28 +02:00
2024-04-25 22:37:40 -04:00
2024-05-10 14:18:40 -04:00
2024-05-25 12:25:17 +02:00
2024-05-26 12:50:20 +02:00
2024-04-26 21:34:45 +02:00
2024-04-02 13:12:38 -06:00
2024-03-26 16:10:09 -07:00
2024-06-01 20:33:32 +02:00
2024-05-25 11:04:22 -04:00
2024-04-02 20:40:00 -06:00
2024-05-30 12:36:07 +02:00
2024-06-03 15:58:43 +02:00
2024-06-03 15:58:43 +02:00
2024-05-25 10:50:53 +03:00
2024-06-03 16:32:16 +02:00
2024-06-03 15:58:43 +02:00
2024-03-05 12:01:17 -05:00
2024-04-17 13:20:47 +02:00
2024-06-01 18:40:25 +02:00
2024-03-05 12:01:17 -05:00
2024-05-09 21:08:49 -06:00
2024-04-23 16:23:26 -07:00
2024-05-23 15:50:59 +02:00
2024-05-30 13:02:55 -07:00
2024-05-30 16:38:01 -04:00
2024-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-03-29 12:11:57 -04:00
2024-05-16 13:30:04 -04:00
2024-05-20 17:00:27 +02:00
2024-05-02 11:00:08 -06:00
2024-03-05 12:01:17 -05:00
2024-05-09 11:03:33 +02:00
2024-05-29 18:06:45 -07:00
2024-05-21 20:23:37 +02:00
2024-05-17 16:37:17 -04:00
2024-05-13 18:52:12 -04:00
2024-05-14 13:48:36 +02:00
2024-05-29 11:40:43 +02:00
2024-06-03 12:52:44 +02:00
2024-05-16 17:18:32 -04:00
2024-05-26 23:06:58 -06:00
2024-05-29 18:06:45 -07:00
2024-05-24 18:24:03 +02:00
2024-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-05-16 13:30:04 -04:00
2024-04-15 14:21:52 +02:00
2024-06-03 15:58:43 +02:00
2024-05-26 23:06:58 -06:00
2024-05-27 19:01:20 -06:00
2024-06-01 18:40:25 +02:00
2024-05-22 12:54:41 -06:00
2024-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-05-31 09:10:09 -07:00
2024-05-31 18:36:15 -07:00
2024-03-05 12:01:17 -05:00