Commit log

2cb8a3c Don't override top-level settings with language defaults

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

Antonio Scandurra and Nathan Sobo created

f2f9cad Merge pull request #1231 from zed-industries/prompt-to-save-on-window-close

Click to expand commit body
Prompt user to save changed buffers when closing window via the mouse

Antonio Scandurra created

90102f2 Improve testing of window edit state

Antonio Scandurra created

a21dbdd Update window edited status when pane item is removed

Antonio Scandurra created

2dae0dd Add test to verify closing window via the mouse

Antonio Scandurra created

d9b5357 Always prevent window from closing and manually invoke Workspace::close

Click to expand commit body
This ensures we ask the user to save their state if there are unsaved
changes.

Antonio Scandurra created

06033d7 Introduce `ViewContext::on_window_should_close`

Click to expand commit body
This is a new callback that can be used to interrupt closing the window
when the user has unsaved changes.

Antonio Scandurra created

ca8ddcd Set window's `edited = true` when there are unsaved changes

Antonio Scandurra created

a6262b9 Merge pull request #1230 from zed-industries/wrap-panic

Click to expand commit body
Fix panic when `Text` contained carriage returns

Antonio Scandurra created

01349e1 Fix panic when `Text` contained carriage returns

Antonio Scandurra created

b715e52 Merge pull request #1227 from zed-industries/maintain-keepalive-under-high-message-volume

Click to expand commit body
Maintain keepalive under high message volume

Antonio Scandurra created

11f73bf Integrate pyright language server

Max Brunsfeld created

c0dbd8f Add python outline and bracket queries

Max Brunsfeld created

074caa0 Make python indent query more general

Click to expand commit body
Upgrade Tree-sitter for a query bugfix that I found while
writing this indent query.

Max Brunsfeld created

4cb68b2 Prioritize keepalive pings over incoming message handling in Peer

Max Brunsfeld created

36f8c68 Remove redundant run_until_parked call in Foreground::advance_clock

Max Brunsfeld created

a14b626 Enable env log in peer tests

Max Brunsfeld created

c0a434f Merge pull request #1225 from zed-industries/fix-randomized-test-failure

Click to expand commit body
Don't wait for host's worktree updates if they disconnected

Max Brunsfeld created

2d8ffbd Don't wait for host's worktree updates if they disconnected

Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra and Max Brunsfeld created

48ff443 Remove stray log statement when contacts are updated

Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra and Max Brunsfeld created

49addc9 Merge pull request #1224 from zed-industries/forward-deadlock

Click to expand commit body
Prevent deadlocks when two clients perform a request to each other

Antonio Scandurra created

f2d1349 Remove non-determinism from `Peer` caused by smol's `timeout` helper

Antonio Scandurra created

071d940 Ensure receive timeout is triggered before waiting on disconnection

Antonio Scandurra created

9b521d6 Use `Arc<Deterministic>` to understand which await points are parking

Antonio Scandurra created

6252153 :lipstick:

Antonio Scandurra created

fb2590d Use a `FuturesUnordered` to process foreground messages

Click to expand commit body
This prevents deadlocks when e.g., client A performs a request to client B and
client B performs a request to client A. If both clients stop processing further
messages until their respective request completes, they won't have a chance to
respond to the other client's request and cause a deadlock.

This arrangement ensures we will attempt to process earlier messages first, but fall
back to processing messages arrived later in the spirit of making progress.

Antonio Scandurra created

6eb3e72 Add test demonstrating hang when peers wait on each other's response

Antonio Scandurra created

f09a997 Merge pull request #1223 from zed-industries/update-metadata-when-worktrees-are-removed

Click to expand commit body
Update project metadata when releasing a worktree's weak handle

Antonio Scandurra created

2f09a4a Update project metadata when releasing a worktree's weak handle

Click to expand commit body
When a project was getting unshared, we would remove invisible worktrees
from the project's state without notifying the server, which was causing
the randomized tests to fail.

This commit calls `Project::remove_worktree` when a worktree's handle gets
released. Doing so ensures that we update both our local metadata database
as well as the state on the server.

Antonio Scandurra created

34351c0 Start work on Python support

Max Brunsfeld created

484e98c Merge pull request #1216 from zed-industries/hover-context-menu-fix

Click to expand commit body
Don't trigger hover popover action when mouse is over context menu

Keith Simmons created

19feb62 Add comment linking to long term plan

Keith Simmons created

dc8d5f4 Merge pull request #1217 from zed-industries/fix-lsp-statuses-for-guests

Click to expand commit body
Report running language servers when sharing project for the first time

Max Brunsfeld created

83f38aa Merge pull request #1215 from zed-industries/suggest-upgrade-on-reconnect

Click to expand commit body
Show upgrade required message when reconnecting after a protocol change

Antonio Scandurra created

69aa3d8 Report running language servers when sharing project for the first time

Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra and Max Brunsfeld created

e9d1945 Add failing test for replication of lsp statuses

Click to expand commit body
Co-authored-by: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

057a7ec Don't trigger hover popover action when mouse is over context menu

Keith Simmons created

a5ae8d9 Merge pull request #1214 from zed-industries/fix-error-on-empty-worktree-update

Click to expand commit body
Fix error when worktree has no file extensions

Antonio Scandurra created

30d7562 Fix error when worktree has no file extensions

Click to expand commit body
Co-authored-by: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

e88f115 Merge pull request #1213 from zed-industries/hover-dismiss-fix

Click to expand commit body
hide hover on editor blur

Keith Simmons created

fb881b2 hide hover on editor blur

Keith Simmons created

6a2c5e0 Show upgrade required message when reconnecting after a protocol change

Click to expand commit body
Co-authored-by: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

69bd6bf Merge pull request #1212 from zed-industries/persist-project-activity

Click to expand commit body
Add an API that returns the most active zed users and the projects where they've been active

Antonio Scandurra created

db77601 Expose project metadata via `GET /project_metadata`

Antonio Scandurra created

ebaf322 Exclude staff from activity recording

Antonio Scandurra created

c90e8c0 Accept a datetime range when querying project activity

Antonio Scandurra created

95a629d Unregister project from db when user disconnects or manually does so

Antonio Scandurra created

7acebc4 Register projects in the database and record worktree extensions

Antonio Scandurra created

4416086 Add an API that returns the most active users and the projects where they've been active

Max Brunsfeld created

bc3287e Merge pull request #1209 from zed-industries/mdx-highlighting

Click to expand commit body
Highlight files ending in `mdx` as Markdown

Antonio Scandurra created