zed/crates/gpui/src
Marshall Bowers f0ef63bfa0
gpui: Add SharedUrl type (#3975)
This PR adds a `SharedUrl` type to GPUI.

It's just like a `SharedString`, but for denoting that the contained
value is a URL.

Mainlined from @nathansobo's GPUI blog post:
https://github.com/zed-industries/zed/pull/3968/files#diff-7ee75937e2daf7dd53f71b17698d8bd6d46993d06928d411781b9bd739b5f231R9-R12

Release Notes:

- N/A
2024-01-09 10:55:49 -05:00
..
app Remove some todo!'s 2024-01-09 11:36:36 +02:00
elements gpui: Add SharedUrl type (#3975) 2024-01-09 10:55:49 -05:00
keymap Handle contexts correctly for disabled key bindings 2024-01-05 13:06:59 -08:00
platform Remove some todo!'s 2024-01-09 11:36:36 +02:00
text_system Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
action.rs Remove some todo!'s 2024-01-09 11:36:36 +02:00
app.rs gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
arena.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
assets.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
color.rs Make read only buffers feel more read only 2024-01-03 19:31:43 -07:00
element.rs Start work on read-only project access for channel guests 2024-01-03 19:30:32 -07:00
executor.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
geometry.rs gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
gpui.rs gpui: Add SharedUrl type (#3975) 2024-01-09 10:55:49 -05:00
image_cache.rs gpui: Add SharedUrl type (#3975) 2024-01-09 10:55:49 -05:00
input.rs gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
interactive.rs Prepare for external file drop in pane 2024-01-07 01:17:49 +02:00
key_dispatch.rs Fix off by 1 error when computing available key bindings 2024-01-08 17:30:24 -08:00
platform.rs gpui: Sweep through cargo doc output and mark dubious items as non-public (#3932) 2024-01-06 23:47:51 +01:00
prelude.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
scene.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
shared_string.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
shared_url.rs gpui: Add SharedUrl type (#3975) 2024-01-09 10:55:49 -05:00
style.rs Implement From<Rgba> for Fill 2024-01-05 17:33:22 -07:00
styled.rs Remove 2 suffix from gpui_macros, fix compile errors in tests 2024-01-03 13:12:21 -08:00
subscription.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
svg_renderer.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
taffy.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
test.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
text_system.rs gpui: Sweep through cargo doc output and mark dubious items as non-public (#3932) 2024-01-06 23:47:51 +01:00
util.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
view.rs Bring back zed.rs tests (#3907) 2024-01-08 12:29:54 +01:00
window.rs gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00