Commit log

88fdd86 Eagerly populate child entries when copying a directory via RPC

Antonio Scandurra created

51adc65 WIP: start on an integration test for `copy_entry`

Antonio Scandurra created

3336bc6 Implement copy paste for ProjectPanel

Antonio Scandurra created

37a0c7f Implement cut/paste for `ProjectPanel`

Antonio Scandurra created

6c145b2 Show keystrokes as uppercase

Antonio Scandurra created

6390061 Dismiss context menu when one of its action is dispatched

Antonio Scandurra created

2b9015c Introduce `{MutableAppContext,ViewContext}::observe_actions`

Antonio Scandurra created

e7ab61d Dismiss context menu when (right-)mousing down outside of it

Antonio Scandurra created

fb26f81 Sort mouse regions by their stacking context's depth

Antonio Scandurra created

733cf4c Merge pull request #1075 from zed-industries/integration-test-cleanup

Click to expand commit body
Integration test cleanup

Max Brunsfeld created

bc6f8da Move integration tests into their own file

Max Brunsfeld created

8393ae8 Clean up integration tests

Click to expand commit body
* Use 'build_local_project' helper to reduce boilerplate
* Peform the setup steps in a consistent order

Max Brunsfeld created

35ada0d Merge pull request #1074 from zed-industries/misc-menu-items

Click to expand commit body
Add a few more important menu items

Max Brunsfeld created

1c932ae Add help menu items to visit zed.dev and the zed twitter page

Max Brunsfeld created

df4f305 Add app menu items for opening settings and keymap

Max Brunsfeld created

e1a05d4 Add "Reset Zoom" action and application menu item

Max Brunsfeld created

44c8ee5 Add mouse down out handlers

Click to expand commit body
These will fire whenever the left/right mouse button is pressed down outside a specific region. I'll use these to cancel the context menu in the next commit.

Nathan Sobo created

4a5317b Remove unused context_menu file in rust crate

Keith Simmons created

48abbb7 Merge pull request #1019 from zed-industries/vim-visual-line-mode

Click to expand commit body
Vim visual line mode

Keith Simmons created

b2adff6 Merge pull request #1073 from zed-industries/window-menu

Click to expand commit body
Add a Window application menu

Max Brunsfeld created

9909fc5 Allow context menu to be cancelled after deploying it twice

Click to expand commit body
Previously, two right clicks would cause an issue with cancelling the context menu via escape.

Nathan Sobo created

c3baf27 Block hovering behind overlays

Nathan Sobo created

23cd948 Adjust test to flush effects between splitting pane and following

Click to expand commit body
Panes now emit an event when adding the first item, so we need to flush
effects between splitting and following in order to avoid accidentally
cancelling the follow.

Max Brunsfeld created

a88b4eb Populate the window title whenever worktrees or active path change

Click to expand commit body
* Refactor the way the project's active entry is assigned. Assign it
  together with the window title, as opposed to on every notification
  from a pane.
* Emit the ActiveItem event from panes consistently, even when adding
  the first item to an empty pane.

Max Brunsfeld created

e6be151 Emit the WorktreeRemoved event when removing a worktree from a project

Max Brunsfeld created

a1a4c70 Emit an event when adding a worktree to a project

Max Brunsfeld created

04bd57b Add an API for setting a window's title

Click to expand commit body
This controls how the window appears in the Window menu.

Max Brunsfeld created

5413a97 Restrict multiple hovered regions to a single stacking context

Click to expand commit body
We won't hover regions from stacking contexts that are below the one being hovered.

Nathan Sobo created

9099c40 Merge branch 'mouse-events' into project-panel-context-menu

Antonio Scandurra created

82d6e60 Use a `MouseEventHandler` for activating tabs on mouse down

Click to expand commit body
Previously, we were using an `EventHandler` which doesn't take into
account other mouse regions floating above the rendered element. This
was problematic because, when clicking the `x` icon on a tab that was
not active, we were first activating it and then closing it.

Antonio Scandurra created

98de269 Don't focus editor when clicking on sidebar resize handle

Antonio Scandurra created

be0e66e Invoke `mouse_down` and `right_mouse_down` callbacks

Antonio Scandurra created

7c79174 Don't dispatch events down the tree if they were handled by mouse region

Antonio Scandurra created

1d7fc12 Add right-click support to `MouseEventHandler`

Antonio Scandurra created

307eb17 Compute dispatch path based on the view id that dispatched the action

Antonio Scandurra created

aedfd74 Use the hit bounds when painting mouse regions

Nathan Sobo created

893f15d Switch MouseEventHandler to use MouseRegions

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

50edcb0 Add drag callbacks to mouse regions

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

bd62a68 Eliminate ElementStateContext trait

Click to expand commit body
We now always have a RenderContext when rendering MouseEventHandlers or scrollable Flex columns/rows.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

b6b16fc In UniformList, guard against misbehavior of append_items

Click to expand commit body
If for some reason the handle got dropped and we call it, we'll deal with it somewhat gracefully.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

8dd82fd Take a RenderContext in ListState's build item callback

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

2ea085b Pass a RenderContext to UniformList

Click to expand commit body
In some cases, we need to render during layout. Previously, we were rendering with a LayoutContext in some cases, but this commit adds the ability to retrieve a render context with a given handle and we use that feature in UniformList.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

8e7c687 Track selection changes in mutable selections collection

Keith Simmons created

42cd2ae Avoid switching to visual mode when following in vim mode

Click to expand commit body
Co-authored-by: Keith Simmons <keith@zed.dev>

Max Brunsfeld and Keith Simmons created

c53412e Bump protocol version

Max Brunsfeld created

d11bc2a Fixup paste locations

Keith Simmons created

e104cb9 fix bug in marked_range utils

Keith Simmons created

98f9575 WIP

Keith Simmons created

e93c49f Unify visual line_mode and non line_mode operators

Keith Simmons created

11569a8 in progress working on aborting operators on unhandled editor input

Keith Simmons created