Commit Graph
26510 Commits
Author SHA1 Message Date
temportalflux 6ce4ebbb2a make cached_utf16_len private 2026-07-11 09:31:07 -04:00
temportalflux 4c7b51273c add documentation 2026-07-11 09:31:07 -04:00
temportalflux edf7cba153 undo SharedString being the backbone for InputState in favor of retaining mutablity of std::String. Safer now that painting doesnt need actual access to the string itself. 2026-07-11 09:31:07 -04:00
temportalflux c37593343a expose api for users to configure styling colors for input elements 2026-07-11 09:31:07 -04:00
temportalflux 4b23b30357 optimize InputStateSnapshot 2026-07-11 09:31:07 -04:00
temportalflux a2e3b5f09e remove theoretically unnecessary single-line paint optimizations 2026-07-11 09:31:07 -04:00
temportalflux 06dd56bda6 replace selection_reversed with a NavigationDirection backed selection_direction 2026-07-11 09:31:07 -04:00
temportalflux 35c38bf470 reorganize InputState impls 2026-07-11 09:31:07 -04:00
temportalflux cfea213c4e make InputState content more private 2026-07-11 09:31:07 -04:00
temportalflux 97c1834435 reorganize input data updated per element layout 2026-07-11 09:31:07 -04:00
temportalflux 1675c73726 separate update_line_layouts from other mutations in prepaint 2026-07-11 09:31:07 -04:00
temportalflux 4037fc5a92 rework InputState::cursor_visible to be more clear that its a mutation during paint 2026-07-11 09:31:07 -04:00
temportalflux 890a0e6daf reorganize math 2026-07-11 09:31:07 -04:00
temportalflux 2e20f98aaf reduce is_line_visible to take InputLineLayout 2026-07-11 09:31:07 -04:00
temportalflux 6c0f6c97f1 combine selection and marked_underline paint sections for multiline 2026-07-11 09:31:07 -04:00
temportalflux 769202c656 combine quad painting calls 2026-07-11 09:31:07 -04:00
temportalflux a418fcb9e0 merge single/multi line paint operations into PaintContext 2026-07-11 09:31:07 -04:00
temportalflux 9c09fd2cd1 reintroduce tests from gpuikit::input 2026-07-11 09:31:07 -04:00
temportalflux fca15d4ec2 group paint_selection_quad logic together 2026-07-11 09:31:07 -04:00
temportalflux 8bec8f3031 begin integrating paint implementations 2026-07-11 09:31:07 -04:00
temportalflux 3255bb544e replace InputState::content with a SharedString 2026-07-11 09:31:07 -04:00
temportalflux 9c212a52f7 replace multiline with InputLayout enum 2026-07-11 09:31:07 -04:00
temportalflux 13676cf649 organize input element types and implementation into dedicated files 2026-07-11 09:31:07 -04:00
temportalflux eb8f90a310 extract gpuikit input implementation 2026-07-11 09:31:07 -04:00
temportalflux 6ecdda92d0 add Point::is_nearly_eq 2026-07-11 09:31:07 -04:00
temportalflux cfc9f6fab1 update documentation of 'use_keyed_transition', 'use_keyed_state', & 'with_element_state' to make it clear that the functions can be called during 'render' implementations, as 'examples/learn/transition.rs' illustrates 2026-07-11 09:31:07 -04:00
temportalflux f4cb5e21b7 add getter/setter to interface with the current scroll offset of interactivity 2026-07-11 09:31:07 -04:00
temportalflux 1f2c11d44f move TextLayout::layout logic into standalone functions so they can be shared between labels and editable text elements 2026-07-11 09:31:07 -04:00
temportalflux b1e67f32af change shape_text api to support non-SharedString types as input without forcing extra allocations 2026-07-11 09:31:07 -04:00
Scar-00 ce08af96db add wgpu renderer for windows (#44) 2026-06-24 19:10:56 -04:00
Leonard Seibold c17b4367d5 gpui: Add gpu_device_lost() to query device-loss state on Linux (#78) 2026-06-22 23:15:54 -04:00
Philipp Schaffrath 0610782953 Wayland input_region and exclusive_zone + WGPU panic fix (#82) 2026-06-22 21:59:02 -04:00
Miles Wirht c6634f040a Discord community permalink (#73) 2026-06-17 13:28:53 -04:00
Miles Wirht ad7be1c090 Docs (#72) 2026-06-17 13:06:39 -04:00
Andreas Johansson 3cc78b38f4 Add set_keyring_label (#64) 2026-06-15 18:46:45 -04:00
Miles Wirht ec395ac14c My stab at CI (#66) 2026-06-15 18:42:57 -04:00
Miles Wirht bf71c690a3 Utopian CI setup phase 2: Better HTTP abstractions (#61) 2026-06-14 21:58:25 -04:00
Miles Wirht 64318f59f3 A utopian CI setup part one: General build fixes (#60) 2026-06-14 21:58:12 -04:00
LIU Xinyu 676d5897ae feat: kinetic scrolling on wayland (#54)
* wayland: add kinetic scroll controller

* wayland: wire kinetic scrolling into pointer events

* wayland: cancel kinetic scrolling on pointer and gesture interruption

* wayland: add kinetic scroll tests
2026-06-14 21:55:49 -04:00
Leonard SeiboldandNewspicel 69d467e4d1 Filter API + Blur (#40)
Co-authored-by: Newspicel <newspicel+claude@pm.me>
2026-06-14 10:18:25 -04:00
Brendon Felix cfec5ff014 Add Transition::jump_to for transitions (#58) 2026-06-13 22:52:08 -04:00
Xemor 59f5ca2b05 Fix compilation on Linux - add & to .field (#57) 2026-06-13 16:04:59 -04:00
Scar-00 290010344b fix surface compiler error on windows (#46) 2026-06-09 17:53:14 -04:00
Dustin Yost 1b410c1783 Add a collection of contextless action keystrokes that can be built with a shared key context (#43) 2026-06-07 17:42:58 -04:00
Dustin Yost a95a3c2030 add empty gpui_elements crate (#42) 2026-06-07 12:04:48 -04:00
Leonard Seibold 6d043b22e4 gpui: Add wgpu Surface element and GPU device requirements API for Linux (#39) 2026-06-07 01:53:18 -04:00
Miles Wirht d54ef9dcbe cargo fmt (#35) 2026-06-05 11:23:06 -04:00
Dustin Yost 3efc6ef800 fix gpui_window Window::zoom not restoring the window when already maximized (#33) 2026-06-05 11:18:09 -04:00
Miles Wirht 3042d1b3ef API Fixes (#30) 2026-06-04 21:41:59 -04:00
Cameron Campbell 81af1059a2 added transitions (#29) 2026-06-04 20:26:15 -04:00