Files
oak-gpui/crates
Piotr Osiewicz 0f7fc8c1a0 fix display map tests
These tests failed due to an indefinite hang in buffer.condition in the following code:
\`\`\`rust
    let buffer = cx
        .add_model(|cx| Buffer::new(0, cx.model_id() as u64, text).with_language(language, cx));
    buffer.condition(cx, |buf, _| !buf.is_parsing()).await;
`\`\`
In both gpui1 and gpui2 \`.with_language\` spawns a task that notifies the context once it's done. The \`condition\` waits for notifications to be raised. The gist of the problem was that in gpui2, the spawned task was scheduled straight away, so we never really saw the notification with \`condition\`, causing us to wait indefinitely. This is probably a difference in test between schedulers in gpui1 and gpui2, but I kind of sidestepped the issue by spawning a condition before firing off a parsing task with \`set_language\`.
2023-12-04 13:14:03 +01:00
..
2023-11-14 08:28:57 -05:00
2023-11-14 08:28:57 -05:00
2023-11-02 10:55:02 -07:00
2023-11-17 12:54:16 -08:00
2023-11-30 11:22:01 +01:00
2023-11-20 15:51:36 -05:00
2023-11-27 18:55:23 -08:00
2023-11-30 15:46:35 +02:00
2023-12-01 22:04:43 +01:00
2023-11-02 10:55:02 -07:00
2023-11-30 15:46:35 +02:00
2023-12-04 13:14:03 +01:00
2023-11-03 12:15:23 -04:00
2023-11-02 19:18:01 -06:00
2023-11-14 00:06:33 -08:00
2023-12-04 13:14:03 +01:00
2023-11-14 00:06:33 -08:00
2023-11-18 10:46:35 -08:00
2023-11-30 13:07:47 +02:00
2023-11-30 13:07:47 +02:00
2023-11-09 13:14:11 -07:00
2023-11-08 21:23:31 -08:00
2023-11-29 11:52:26 +02:00
2023-12-04 13:14:03 +01:00
WIP
2023-11-20 14:46:01 -08:00
2023-11-17 13:23:12 -07:00
WIP
2023-11-16 10:40:02 +02:00
2023-11-16 10:04:18 +02:00
2023-11-03 14:53:08 +01:00
2023-11-03 12:15:23 -04:00
2023-11-30 12:08:00 +01:00
2023-11-27 12:40:59 -07:00
wip
2023-11-01 13:53:45 -06:00
2023-10-23 11:06:58 +02:00
2023-11-27 16:27:02 -07:00
2023-10-28 11:37:25 -04:00