Commit log

5480c01 Extract a `Frame` struct from `Window` (#3273)

Click to expand commit body
This PR pulls the previous/current frame data out of the `Window` and
into a separate `Frame` struct.

Release Notes:

- N/A

Max Brunsfeld created

4c31a0c Preserve stateless interactivity when assigning elements an id

Click to expand commit body
Co-authored-by: Nathan <nathan@zed.dev>
Co-authored-by: Piotr <piotr@zed.dev>

Max Brunsfeld , Nathan , and Piotr created

cb03159 Don't generate licenses on every PR (#3260)

Click to expand commit body
Build speed improvification

Mikayla Maki created

e1cb993 Get tests green

Mikayla created

ca2cc42 Remove unused `SceneBuilder` constructor

Marshall Bowers created

866df77 Extract a `Frame` struct from `Window`

Click to expand commit body
Co-Authored-By: Marshall <marshall@zed.dev>
Co-Authored-By: Nathan <nathan@zed.dev>
Co-Authored-By: Piotr <piotr@zed.dev>

Antonio Scandurra , Marshall , Nathan , and Piotr created

14b41d6 Introduce `ViewContext::on_blur`

Click to expand commit body
Co-Authored-By: Marshall <marshall@zed.dev>

Antonio Scandurra and Marshall created

2fd8b1f Fix blinking behavior in editor when receiving/losing focus

Click to expand commit body
Co-Authored-By: Marshall <marshall@zed.dev>

Antonio Scandurra and Marshall created

e4ca2cb Update titlebar

Nate Butler created

6e11044 add `ui_text_size` functions

Nate Butler created

9b30f49 Merge branch 'main' into add-collab-tests

Mikayla created

3050c44 Merge branch 'main' into add-collab-tests

Mikayla created

d25f48e Register menu2 actions using actions macro

Max Brunsfeld created

738b2ce Extract a `Frame` struct from `Window`

Click to expand commit body
Co-Authored-By: Marshall <marshall@zed.dev>
Co-Authored-By: Nathan <nathan@zed.dev>
Co-Authored-By: Piotr <piotr@zed.dev>

Antonio Scandurra , Marshall , Nathan , and Piotr created

c67f78c Improve get preview channel changes script (#3270)

Click to expand commit body
- Improve reliability of finding release note lines
- Identify cases where release notes were accidentally omitted (no "N/A
line)
- Filter out N/As

Release Notes:

- N/A

Joseph T. Lyons created

0143fa2 Fix clipping bugs in `editor2` (#3269)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

761d4fc Port the picker and uniform list (#3248)

Click to expand commit body
This adds a `UniformList` element and partially implements `Picker` as a
component, using `UniformList`. Because editor2 isn't fully implemented
yet, the picker doesn't have filtering logic yet. We want to merge this
for now though, to make the UniformList element available for other
crates.

Release Notes:

- N/A

Marshall Bowers created

e6bda02 Improve get preview channel changes script

Click to expand commit body
- Filter out N/As
- Identify missing release note lines

Co-Authored-By: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

Joseph T. Lyons and Piotr Osiewicz created

b6766ba Replace `GitStatusColors` with `StatusColors` (#3268)

Click to expand commit body
This PR removes `GitStatusColors` in favor of just using `StatusColors`
instead.

Release Notes:

- N/A

Marshall Bowers created

d71f671 Fix clipping in `Line::draw`

Click to expand commit body
Co-Authored-By: Nathan <nathan@zed.dev>
Co-Authored-By: Marshall <marshall@zed.dev>

Antonio Scandurra , Nathan , and Marshall created

727fb4f Use a consistent clipping strategy for drawing all the primitives

Click to expand commit body
Co-Authored-By: Nathan <nathan@zed.dev>

Antonio Scandurra and Nathan created

e9650c0 Fix overflow in `UniformList`

Marshall Bowers created

fe28d8f Merge branch 'main' into picker

Marshall Bowers created

9e5a4ea v0.113.x dev

Joseph T. Lyons created

1310747 Wire up mouse interaction in `editor2` (#3267)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

55dca1e :lipstick:

Antonio Scandurra created

15d40d6 Determine whether the gutter was hovered

Antonio Scandurra created

dfc536b Handle MouseUpEvent in editor2

Antonio Scandurra created

e500c05 Move building of key listeners outside of EditorElement::initialize

Antonio Scandurra created

bef3b80 Clear hover background highlights

Click to expand commit body
Co-Authored-By: Piotr <piotr@zed.dev>

Antonio Scandurra and Piotr created

e5f78ec Uncomment mouse_dragged event

Click to expand commit body
Co-authored-by: Antonio <antonio@zed.dev>

Piotr Osiewicz and Antonio created

1b085bd Extract mouse event handlers into paint_mouse_listeners

Click to expand commit body
Co-authored-by: Antonio <antonio@zed.dev>

Piotr Osiewicz and Antonio created

dd20032 Hook up mouse_down function handler

Click to expand commit body
Co-authored-by: Antonio <antonio@zed.dev>

Piotr Osiewicz and Antonio created

e30449e Pass text_bounds instead of full editor bounds into mouse_moved.

Click to expand commit body
Co-authored-by: Antonio <antonio@zed.dev>

Piotr Osiewicz and Antonio created

334829f uncomment show_hover

Piotr Osiewicz created

cd37735 uncomment mouse moved

Piotr Osiewicz created

e4bc032 gpui2: Type-erase futures. (#3266)

Click to expand commit body
Project2's LLVM IR size is ~33-44% bigger than project1 due to the fact
that in gpui2 we call async_task::spawn(_local) with impl Future instead
of dyn Future, which leads to quite a few more instantiations of
RawTask.

LLVM-IR size for project2:
|  build_type  |  main   |  this branch  | project1 |
|  debug       | 2617795 |    2022814    | 1817866  |
|  release     | 4439033 |    3715086    | 3314489  |

Note that this PR is in line with what was done in GPUI1 (we've also
boxed futures there).
Release Notes:

- N/A

Antonio Scandurra created

b1f5723 Re-enable most of the features in editor2 (#3265)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

2364f6b gpui2: Type-erase futures.

Click to expand commit body
Project2's LLVM IR size is ~20-25% bigger than project1 due to the fact that in gpui2 we call async_task::spawn(_local) with impl Future instead of dyn Future, which leads to quite a few more instantiations of RawTask.

LLVM-IR size for project2:
|  build_type  |  main   |  this branch  | project1 |
|  debug       | 2617795 |    2022814    | 1817866  |
|  release     | 4439033 |    3715086    | 3314489  |

Piotr Osiewicz created

c5d5571 Fix warnings when generating function name for `ctor`

Click to expand commit body
Co-Authored-By: Piotr <piotr@zed.dev>

Antonio Scandurra and Piotr created

6a0789c Don't alpha blend when rasterizing paths

Click to expand commit body
Co-Authored-By: Piotr <piotr@zed.dev>

Antonio Scandurra and Piotr created

8ac8a6f Re-enable most of the functionalities in editor2

Antonio Scandurra created

31bac3d Document ColorScaleSteps

Nate Butler created

d675818 Register actions statically / globally (#3264)

Click to expand commit body
This updates our approach to action registration to make it
static/global.

There are 3 different approaches to creating an action, depending on the
complexity of your action's implementation. All of them involve defining
a data type with the correct trait implementations and registering it,
each a bit more powerful / verbose.

* Define a simple list of unit structs that implement `Action` -
`actions!(Foo, Bar, Baz)`
* Make a more complex data type into an action with `#[action]`. This
derives all the necessary traits and registers the action.
  ```rs
  #[action]
  struct MoveLeft {
    word: true
  }
  ```
* Implement all traits yourself and just register the action with
`#[register_action]`.

Release Notes:

N/A

Nathan Sobo created

408edaa Remove call to removed method

Nathan Sobo created

1949fa5 Merge remote-tracking branch 'origin/main' into register-actions

Nathan Sobo created

2a55b0d Simplify actions macro.

Nathan Sobo created

fdc9ea7 Docs and cleanup

Nathan Sobo created

814e620 Register actions globally before main

Nathan Sobo created

80630cd WIP

Nathan Sobo created