Commit log

6359535 v0.39.0

Max Brunsfeld created

9319cbd Merge pull request #1205 from zed-industries/bypass-app-menu

Click to expand commit body
Override `performKeyEquivalent` to handle key events

Antonio Scandurra created

a35d7c5 Use `BOOL` instead of Rust booleans in `handle_key_equivalent`

Antonio Scandurra created

8f6d081 Override `performKeyEquivalent` to handle key events

Click to expand commit body
This lets us bypass the application menu and invoke the event handler
in Zed first. If that doesn't handle the event, the application menu
item corresponding to the shortcut will be actioned. Prior to this
commit the opposite would happen, which would dramatically limit the
throughput at which we could handle events.

Antonio Scandurra created

607903e Return true in the `Window::on_event` callback if event was handled

Antonio Scandurra created

ae2273b Merge pull request #1204 from zed-industries/accurate-is-dirty

Click to expand commit body
Determine `Buffer::is_dirty` based on the rope's fingerprint

Antonio Scandurra created

4f215a7 Don't compute fingerprint for every text summary

Antonio Scandurra created

5654684 Fix editor tests after changing the semantics of `is_dirty`

Antonio Scandurra created

052222c Bump protocol version

Antonio Scandurra created

6f7a893 Determine `Buffer::is_dirty` based on the rope's fingerprint

Antonio Scandurra created

c31a233 Introduce a new `fingerprint` field to `TextSummary`

Click to expand commit body
This is calculated in `Rope` and uses the `bromberg_sl2` homomorphic
hash function to determine the fingerprint of a single chunk and
compose each chunk fingerprint into a single fingerprint for the entire
rope that is equivalent to hashing all the rope's bytes at once.

Antonio Scandurra created

7d70011 Merge pull request #1203 from zed-industries/themes-in-app-menu

Click to expand commit body
Themes in app menu

Max Brunsfeld created

21ecbce Add a Zed > Preferences submenu with prefs, bindings, theme

Max Brunsfeld created

2c61bc2 Always use capital letters when rendering a keystroke

Max Brunsfeld created

a3b17ff Allow creating application menus with submenus

Max Brunsfeld created

619c874 Merge pull request #1202 from zed-industries/avoid-bad-markdown-autoindent

Click to expand commit body
Disable auto-indent entirely for markdown

Max Brunsfeld created

216a275 Disable auto-indent entirely for markdown

Max Brunsfeld created

bb63f57 Merge pull request #1201 from zed-industries/focus-workspace-center-on-escape

Click to expand commit body
Return focus to the workspace center on escape

Max Brunsfeld created

dd7b874 Return focus to the workspace center on escape

Max Brunsfeld created

cef85f5 Merge pull request #1198 from zed-industries/keyboard-toggle-search-options

Click to expand commit body
Toggle search options via the keyboard

Antonio Scandurra created

04c9f84 Merge pull request #1197 from zed-industries/fix-typescript-completions

Click to expand commit body
Use word boundaries instead of syntax to infer completion edit ranges

Antonio Scandurra created

9defbf7 Bind `CloseInactiveItems` to `alt-cmd-t`

Antonio Scandurra created

88d8696 Display tooltip for select prev/next match buttons

Antonio Scandurra created

649185d Allow toggling search options via the command palette

Antonio Scandurra created

29e57c8 Toggle project search options via the keyboard

Antonio Scandurra created

d0d6c27 Don't select next match when toggling buffer search option

Antonio Scandurra created

a835dce Toggle buffer search options via the keyboard

Antonio Scandurra created

dc75b70 Use word boundaries instead of syntax to infer completion edit ranges

Antonio Scandurra created

35889ad Add failing test for wrong typescript completion

Antonio Scandurra created

fcd99c8 Merge pull request #1196 from zed-industries/context-menu-max-width

Click to expand commit body
Cap context menu's width to cover at most 70% of the window

Antonio Scandurra created

edd758e Cap context menu's width to cover at most 70% of the window

Antonio Scandurra created

48776be Merge pull request #1195 from zed-industries/lsp-errors

Click to expand commit body
Open a buffer for every language server error when clicking on status

Antonio Scandurra created

e09a689 Remove unnecessary dependencies from `lsp_status` crate

Antonio Scandurra created

4e4210a Open a buffer for every language server error when clicking on status

Antonio Scandurra created

7239aac Merge pull request #1193 from zed-industries/tooltips

Click to expand commit body
Add some tooltips to aid discoverability

Antonio Scandurra created

d02bc2f Add tooltip for project diagnostics

Antonio Scandurra created

516bd13 Add tooltip to follow collaborators

Antonio Scandurra created

8a146e4 Use a different fit mode for tooltips

Antonio Scandurra created

f2a48c6 Add tooltips for sidebar buttons

Antonio Scandurra created

0c8d33b Merge pull request #1192 from zed-industries/fix-autoscroll-on-cursor-click

Click to expand commit body
Autoscroll to newest selection when adding it via the cursor

Antonio Scandurra created

4750727 Autoscroll to newest selection when adding it via the cursor

Antonio Scandurra created

16ef5f4 Merge pull request #1191 from zed-industries/show-split-actions

Click to expand commit body
Replace `pane::Split` action with `Split{Left,Up,Right,Down}`

Antonio Scandurra created

da1eb91 Replace `pane::Split` action with `Split{Left,Up,Right,Down}`

Click to expand commit body
This allows us to show them in the command palette.

Antonio Scandurra created

fa942e6 Merge pull request #1190 from zed-industries/fix-surround-with-pairs

Click to expand commit body
Fix surrounding text with bracket pairs with multiple selections

Antonio Scandurra created

7a81983 Fix surrounding text with bracket pairs with multiple selections

Click to expand commit body
This was probably a regression that was introduced with the new batched
`Buffer::edit` API and was caused by providing selection ranges in a
non-ordered fashion (we were passing all the starts first and then all the
ends).

With this commit we are adding a unit test to verify the behavior of
`Editor::surround_with_bracket_pair` and changing the order in which
we pass edit ranges to respect the selection order.

Antonio Scandurra created

d95e1e6 Merge pull request #1189 from zed-industries/improve-metrics

Click to expand commit body
Exclude staff from metrics and start tracking active projects

Antonio Scandurra created

197a434 Fix tests

Antonio Scandurra created

a85f9e7 Harvest the latest metrics when `/metrics` is requested

Click to expand commit body
Now that we track active projects, if nothing happens to the store
during the activity timeout we would still serve some old metrics
that may not account for the staleness of a project.

This commit changes it so that we grab a mutable reference to the store
before serving the metrics, which has the side effect of updating
all the metrics.

Antonio Scandurra created

e373e05 :art:

Antonio Scandurra created

3a1d0dd Track active projects in metrics

Click to expand commit body
An active project is defined as a project where there has been at
least a buffer edit, a join request/response, or a follow update
in the last minute.

Antonio Scandurra created