Antonio Scandurra and Nathan Sobo
6a7761e620
Merge ElementContext into WindowContext ( #10979 )
...
The new `ElementContext` was originally introduced to ensure the element
APIs could only be used inside of elements. Unfortunately, there were
many places where some of those APIs needed to be used, so
`WindowContext::with_element_context` was introduced, which defeated the
original safety purposes of having a specific context for elements.
This pull request merges `ElementContext` into `WindowContext` and adds
(debug) runtime checks to APIs that can only be used during certain
phases of element drawing.
Release Notes:
- N/A
---------
Co-authored-by: Nathan Sobo <nathan@zed.dev >
2024-04-25 12:54:39 +02:00
..
2024-03-28 15:41:22 -04:00
2024-04-18 15:53:48 -04:00
2024-04-23 16:23:26 -07:00
2024-04-23 16:23:26 -07:00
2024-04-24 14:12:44 +02:00
2024-04-23 20:49:29 -07:00
2024-03-26 13:28:06 +01:00
2024-04-10 17:21:23 -04:00
2024-04-12 12:29:00 -07:00
2024-04-23 15:33:09 -06:00
2024-04-23 15:33:09 -06:00
2024-04-24 13:15:19 -06:00
2024-04-23 16:23:26 -07:00
2024-04-23 16:23:26 -07:00
2024-04-23 16:23:26 -07:00
2024-03-29 17:09:49 -07:00
2024-03-15 16:58:46 -04:00
2024-03-15 12:37:25 -04:00
2024-03-26 13:28:06 +01:00
2024-04-12 18:40:35 +02:00
2024-04-10 17:21:23 -04:00
2024-04-23 13:31:21 -04:00
2024-04-25 12:54:39 +02:00
2024-04-25 12:54:39 +02:00
2024-04-22 18:38:34 -04:00
2024-04-09 10:38:29 -04:00
2024-03-28 18:32:11 +01:00
2024-04-23 15:14:22 +02:00
2024-04-11 15:36:35 -06:00
2024-04-10 17:21:23 -04:00
2024-04-11 23:09:12 +02:00
2024-04-08 11:41:54 +02:00
2024-04-19 11:57:17 +02:00
2024-04-23 19:13:04 +02:00
2024-04-10 12:08:07 +02:00
2024-03-20 15:52:02 +01:00
2024-04-25 12:54:39 +02:00
2024-04-11 15:38:47 +02:00
2024-04-24 13:15:19 -06:00
2024-04-25 12:54:39 +02:00
2024-04-08 19:17:12 -04:00
2024-04-23 19:38:57 -04:00
2024-04-23 15:14:22 +02:00
2024-04-24 14:12:59 +03:00
2024-03-20 17:33:26 -04:00
2024-03-18 20:33:20 -06:00
2024-04-16 14:27:12 +02:00
2024-04-11 23:09:12 +02:00
2024-04-02 13:12:38 -06:00
2024-03-26 16:10:09 -07:00
2024-04-19 14:27:56 -07:00
2024-03-20 12:47:04 -07:00
2024-04-02 20:40:00 -06:00
2024-04-23 16:23:26 -07:00
2024-03-14 12:39:45 -04:00
2024-04-23 15:33:09 -06:00
2024-03-21 08:23:15 +01:00
2024-04-24 12:42:33 -04:00
2024-04-23 16:23:26 -07:00
2024-04-17 13:20:47 +02:00
2024-04-23 16:23:26 -07:00
2024-04-22 18:01:06 +02:00
2024-04-23 15:33:09 -06:00
2024-04-23 16:23:26 -07:00
2024-04-12 18:40:35 +02:00
2024-04-23 16:23:26 -07:00
2024-04-22 13:24:25 -07:00
2024-04-23 16:23:26 -07:00
2024-03-29 12:11:57 -04:00
2024-04-23 16:23:26 -07:00
2024-04-23 15:33:09 -06:00
2024-03-14 17:05:07 -04:00
2024-04-24 12:59:18 -07:00
2024-04-24 14:01:10 +02:00
2024-04-11 23:09:12 +02:00
2024-04-19 16:24:35 +03:00
2024-04-24 14:12:59 +03:00
2024-03-29 12:11:57 -04:00
2024-04-24 11:34:32 +03:00
2024-04-25 12:54:39 +02:00
2024-04-10 08:32:51 -06:00
2024-04-08 19:17:12 -04:00
2024-04-01 12:07:26 -04:00
2024-03-20 11:13:58 -04:00
2024-04-15 14:21:52 +02:00
2024-04-25 12:54:39 +02:00
2024-04-23 15:33:09 -06:00
2024-04-22 12:42:18 -07:00
2024-04-19 11:57:17 +02:00
2024-04-24 21:19:15 -06:00
2024-04-11 23:09:12 +02:00
2024-04-25 12:54:39 +02:00
2024-04-19 11:57:17 +02:00
2024-04-24 16:06:36 -06:00