Commit Graph
26503 Commits
Author SHA1 Message Date
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
Scar-00 01335f7698 re-re-fork (#28) 2026-06-02 07:53:18 -04:00
Nate Butler 18aeb44a54 Start reorganizing examples (#10)
* Update crate name

* wip

* reduce to just the gpui crate

* Fix misisng example images

* Delete ownership_post.rs

* Update Cargo.toml

* Update README.md

* bump to 0.3.3

* organize

* organize

* Add more learn examples

* Delete _ownership_and_data_flow.rs

* wip learn examples

* Fix colors

* tidy

* Move _template up

* add animation example

* Update examples

* remove legacy examples from toml

* Delete examples.toml
2025-12-28 23:14:33 -05:00
Owen Law 6a74dbe3f4 Fix compile error in tests (#8) 2025-12-24 22:29:09 -05:00
iamnbutler 76fae18c4f Remove Zed-specific code from core libraries
- Delete script/install-linux (referenced non-existent Zed build files)
- Delete crates/util/src/shell_env.rs (Zed --printenv functionality)
- Remove Zed API URL builders from http_client:
  - build_zed_api_url()
  - build_zed_cloud_url()
  - build_zed_cloud_url_with_query()
  - build_zed_llm_url()
- Remove Zed-specific functions from util:
  - prevent_root_execution()
  - get_shell_safe_zed_path()
  - get_zed_cli_path()
  - load_login_shell_environment()
  - load_shell_from_passwd()
- Clean up unused imports
2025-12-12 14:44:46 -05:00
iamnbutler ab50ddd68c Remove cloud_* and extension_api crates
These crates are Zed-specific and not needed for the core GPUI framework:
- cloud_api_client
- cloud_api_types
- cloud_llm_client
- extension_api
2025-12-12 14:20:08 -05:00
iamnbutler 478d1652f6 Remove non-Apache licensed crates
- Removed all GPL/AGPL licensed crates (183 crates)
- Kept 19 Apache-licensed crates including gpui and dependencies
- Restored tooling/perf (Apache-licensed, needed by util_macros)
- Removed ztracing/zlog dependencies (GPL) from sum_tree and watch
- Removed Zed-specific infrastructure files (Dockerfiles, compose, etc)
- Removed extensions and most of tooling directory

GPUI and its dependencies now compile successfully.
2025-12-12 14:17:27 -05:00
Agus Zubiaga 60f4aa333b edit prediction cli: Improve error handling (#44718)
We were panicking whenever something went wrong with an example in the
CLI. This can be very disruptive when running many examples, and e.g a
single request fails. Instead, if running more than one example, errors
will now be logged alongside instructions to explore and re-run the
example by itself.

<img width="1454" height="744" alt="CleanShot 2025-12-12 at 13 32 04@2x"
src="https://github.com/user-attachments/assets/87c59e64-08b9-4461-af5b-03af5de94152"></img>


You can still opt in to stop as soon as en error occurs with the new
`--failfast` argument.

Release Notes:

- N/A
2025-12-12 14:15:58 -03:00