Commit log

2660d37 Return `Outline<Anchor>` from `MultiBuffer::outline`

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

Antonio Scandurra and Max Brunsfeld created

e165f1e Use `OutlineItem::depth` to include ancestors of matching candidates

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

Antonio Scandurra and Nathan Sobo created

aee3bb9 Implement selecting prev and next in outline view

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

Antonio Scandurra and Nathan Sobo created

8d7a57a Merge pull request #340 from zed-industries/split-project-diagnostics

Click to expand commit body
Allow splitting of project diagnostics

Antonio Scandurra created

d74658f Allow searching of outline items

Antonio Scandurra created

06ba1c6 Implement `Outline::search`

Antonio Scandurra created

5e64f1a Report the candidate's index when matching strings

Antonio Scandurra created

5f2ac61 Use only lowercase characters to determine if query matches a candidate

Antonio Scandurra created

d6ed2ba Start on rendering the outline view

Antonio Scandurra created

ef596c6 Add OutlineItem::depth so that we can render a tree in the outline view

Antonio Scandurra created

08c3fdd Allow splitting of project diagnostics

Antonio Scandurra created

bb3fc8e Merge pull request #339 from zed-industries/update-curl

Click to expand commit body
Update curl to avoid setting `MACOSX_DEPLOYMENT_TARGET` on server

Antonio Scandurra created

9422e27 Update curl to avoid setting `MACOSX_DEPLOYMENT_TARGET` on server

Antonio Scandurra created

63a401a Add Buffer::outline method

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

Max Brunsfeld and Nathan Sobo created

057dc62 Merge pull request #338 from zed-industries/use-wildcard-cert

Click to expand commit body
Associate staging and production load balancers with wildcard cert

Nathan Sobo created

a93502b Add placeholder environment variables to our deploy

Click to expand commit body
We have the ability to define environment-specific environment variables, but don't current need it. This keeps these files in place while avoiding noise from running `export` with no args due to the files being empty.

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

Nathan Sobo and Max Brunsfeld created

e71b989 Use the same wildcard certificate on production and staging

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

Nathan Sobo and Max Brunsfeld created

3a82d0d Use a wildcard cert on DigitalOcean in the staging environment

Click to expand commit body
If this works, we'll use it for production as well and delete the other certs.

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

Nathan Sobo and Max Brunsfeld created

abd05cc Merge pull request #337 from zed-industries/project-diagnostics-styling

Click to expand commit body
Restructure the project diagnostics view to match some aspects of current designs

Max Brunsfeld created

1a67292 Adjust BlockMap tests to reflect new tiebreaking behavior

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

Max Brunsfeld and Nathan Sobo created

ed88fdc Add unit test for diagnostic + path header ordering

Max Brunsfeld created

6865a42 Show error+warning counts in project diagnostics tab

Click to expand commit body
Allow workspace items' tab contents to be arbitrary elements

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

6ad9ff1 Ensure path headers appear before first diagnostic header

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

Max Brunsfeld and Nathan Sobo created

ac0d552 Adjust project diagnostics test to reflect new block structure

Max Brunsfeld created

9ccf2f3 Tweak theming of project diagnostics

Max Brunsfeld created

b5ee095 Deduplicate path names in the project diagnostics view

Max Brunsfeld created

a9937ee Expand block decorations' bounds to include the gutter

Max Brunsfeld created

d346b1b Merge pull request #336 from zed-industries/format-on-save

Click to expand commit body
Format on save

Nathan Sobo created

3022567 Test ordering of responses with respect to uni-directional messages

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo , Max Brunsfeld , and Antonio Scandurra created

66694b4 Fix failing tests

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

Antonio Scandurra and Max Brunsfeld created

8b53868 Preserve the order of responses with respect to all other incoming messages

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

Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created

9e4b118 Use synchronous locks for `Peer` state

Click to expand commit body
We hold these locks for a short amount of time anyway, and using an
async lock could cause parallel sends to happen in an order different
than the order in which `send`/`request` was called.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

310def2 Implement `Buffer::format`

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

Antonio Scandurra and Nathan Sobo created

67991b4 Merge pull request #335 from zed-industries/fix-refresh-selections

Click to expand commit body
Fix panic in `Editor::refresh_selections` due to calling `summaries_for_anchors` without sorting the anchors

Antonio Scandurra created

6fbbbab Process selection anchors in a sorted fashion when refreshing them

Antonio Scandurra created

b768a39 Add unit test reproducing a panic when refreshing selections

Antonio Scandurra created

7daa4b5 Don't return a `Result` in test-only method `select_display_ranges`

Antonio Scandurra created

a6dd9a2 Fix binding to dump element JSON

Nathan Sobo created

9602bc6 Remove stray dbg! calls

Max Brunsfeld created

5941f5f Upgrade tree-sitter-markdown

Max Brunsfeld created

5a889b0 Merge pull request #329 from zed-industries/fix-newline-in-multibuffer

Click to expand commit body
Fix cursor position when inserting newlines on a repeated excerpt

Max Brunsfeld created

89ead1c Merge pull request #314 from zed-industries/auto-connect

Click to expand commit body
Auto-connect to server on startup if credentials are on the keychain

Antonio Scandurra created

c168201 Fix cursor position when inserting newlines on a repeated excerpt

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

Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created

58e45dd Merge pull request #328 from zed-industries/fix-multibuffer-anchors

Click to expand commit body
Randomize test multibuffer anchors and fix resulting issues

Antonio Scandurra created

aa543a4 Ensure selections stay sorted after refreshing them

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

Antonio Scandurra and Nathan Sobo created

e70b728 Verify `Anchor::buffer_id` before resolving it or comparing it

Click to expand commit body
This commit also verifies some properties about anchor resolution in the
multibuffer randomized test.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

2d5e722 Merge pull request #325 from zed-industries/fix-more-subscription-panics

Click to expand commit body
Don't register an entity ID extractor for non-entity subscriptions

Antonio Scandurra created

d7fcb04 Don't register an entity ID extractor for non-entity subscriptions

Click to expand commit body
This commit fixes a panic that could occur when registering N subscriptions for
N entities of the same kind. Before, when dropping the first of the
subscriptions, we would remove the entity ID extractor as well. This was,
however, used by all the other N - 1 subscriptions which would then start
losing messages. In addition, dropping yet another subscription of that kind
would result in a panic, because we wouldn't find the extractor in the map
upon invoking `Subscription::drop`.

With this change we will avoid removing the ID extractor when dropping a
subscription. Crucially, we also avoid inserting extractors for simple message
subscriptions. This enables these non-entity subscriptions to be dropped and
re-registered without seeing a "registered handler for the same message twice"
panic.

Antonio Scandurra created

2ea78c5 Merge pull request #320 from zed-industries/more-diagnostics-polish

Click to expand commit body
Keep the cursor at the top when first opening the project diagnostics view

Max Brunsfeld created

a0a5583 In diagnostics editor, attempt to open excerpts in a different pane

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

Max Brunsfeld and Nathan Sobo created