990da11
zed 0.123.4
Conrad Irwin created
990da11
zed 0.123.4
Conrad Irwin created
c99399d
Fix a panic in the assistant panel (#8244)
Release Notes: - Fixed a panic in the assistant panel when the app is shutting down.
Conrad Irwin created
e1fa2e2
fix vim panics (#8245)
Release Notes: - vim: Fixed a panic when using H/M/L when scrolled beyond the end of the buffer
Conrad Irwin created
6b49317
Better logic for copying themed player colors into registry (#7867)
Release Notes: - Fixed a potential panic when themes did not contain enough player colors ([#7733](https://github.com/zed-industries/zed/issues/7733)). Thanks to @maxdeviant for the code review and improvements!
Joey Smith created
bad0ac6
zed 0.123.3
Kirill Bulatov created
4ecfb2f
Require prerelease eslint version (#8197)
Fixes https://github.com/zed-industries/zed/issues/7650 Release Notes: - Fixed eslint diagnostics not showing up due to old eslint version used
Kirill Bulatov created
fcd41af
Remove existing gzip files before compressing dSYMs (#7818)
This should fix the build. Release Notes: - N/A
Antonio Scandurra created
406d021
Staple notarization ticket to .dmg and .app bundle (#7775)
This should eliminate a pretty significant (multiple seconds) slowdown
that new users (or users after restarting their OS) have been
experiencing.
Previously, we would just notarize the application, which meant that
every user of the application had to perform an integrity check against
Apple's servers to ensure the app wasn't malicious.
With this commit, we are now using `xcrun stapler staple`, which
attaches the notarization ticket to both the app bundle as well as the
DMG. This should prevent users from needing to reach out to Apple's
notarization service in order to verify the app's integrity.
You can confirm the quarantine status of the application by running `ls
-l@` in `Terminal.app`:
ls -l@ /Applications/Zed.app/Contents/MacOS/zed
Release Notes:
- Improved startup time when opening Zed for the first time or after
restarting the operating system.
Co-authored-by: Thorsten <thorsten@zed.dev>
Co-authored-by: bennetbo <bennetbo@gmx.de>
Co-authored-by: Martin Palma <m@palma.bz>
Co-authored-by: evrsen <146845123+evrsen@users.noreply.github.com>
Antonio Scandurra , Thorsten , bennetbo , Martin Palma , and evrsen created
5e5e3ec
v0.123.x stable
Joseph T. Lyons created
2441bc5
Fix a bug when extension loading is failed after it's folder is viewed by MacOS finder (#8111)
Fixes #8096 # Bug description I was experimenting with adding extensions and almost went crazy trying to make my demo extension work. It appeared that I was copying files with Finder that creates hidden `.DS_Store` files which interfered with Zed's loading logic. It assumes that `languages/` directory contains only directories and never files and so it crashes when meets `.DS_Store`. This makes any extension stop working after it has been viewed via Finder # Change Check if path is directory when loading extension languages (so it will skip .DS_Store files)
Ivan Buryak created
3390034
Fix `jk` not working in Vim bindings (#8023)
Fixes #8006. Release Notes: - Fixed two-character bindings in Vim insert mode (e.g. `j k` or `j j`) not working. ([#8006](https://github.com/zed-industries/zed/issues/8006)) Co-authored-by: Conrad <conrad@zed.dev>
Thorsten Ball and Conrad created
cd13d35
zed 0.123.2
Kirill Bulatov created
3729857
Don't support cloning the extensions view (#7875)
Fixes https://github.com/zed-industries/zed/issues/7840 We could support this later, but for now, I don't think we need to. Release Notes: - N/A Co-authored-by: Nathan <nathan@zed.dev>
Max Brunsfeld and Nathan created
19823f2
panics (#7793)
Release Notes: - Fix a panic in rename ([#7509](https://github.com/zed-industries/zed/issues/7509)). --------- Co-authored-by: Max <max@zed.dev>
Conrad Irwin and Max created
fd5ea30
Fix panic when loading hover state. (#7861)
Release Notes: - Fixed a panic when hovering over an identifier in the editor
Conrad Irwin created
a441d97
Close modals and menus before dispathing actions (#7830)
Fixes https://github.com/zed-industries/zed/issues/7799 by forcing the modal to close before dispatching the action. While not needed specifically for this case, changed the context menus to do the same, to be uniform — context menu actions seem to work properly after this change too. Release Notes: - Fixed markdown preview action not working ([7799](https://github.com/zed-industries/zed/issues/7799))
Kirill Bulatov created
734a293
Fewer nightlys (#7784)
Remove an extraneous /nightly/ from our dSYM paths Release Notes: - N/A
Conrad Irwin created
6e254d9
v0.123.x preview
Joseph T. Lyons created
7a6d01e
debug symbol upload (#7783)
This will let it become slowly eaasier to debug crashes Release Notes: - N/A
Conrad Irwin created
b14fbd4
Fix extension list scrolling and add loading and empty states (#7782)
This PR fixes the scrolling of the extension list, as well as adds various empty and loading states. Release Notes: - N/A
Marshall Bowers created
b47aff4
go: enable completions with placeholders by default (#7780)
This fixes #7523 by enabling completions with placeholders by default.
This setting controls whether gopls sends back snippets with
placeholders. According to the documentation
(https://github.com/golang/tools/blob/master/gopls/doc/settings.md#useplaceholders-bool)
this only controls whether "placeholders for function parameters or
struct fields" are sent in completion responses.
In practice, though, this seems to also control whether any snippets
with *any* placeholders are being sent back.
Example: for the given Go code
err := myFunction()
i^
With the cursor being at `^`, this setting controls whether `gopls`
sends back statement snippets such as `if err != nil { return ... }`
with the `...` being dynamically matched to the return value of the
function.
So I think this setting controls far more than just function params and
struct fields. And since we *do* support placeholders in snippets, I
think this provides a better default experience.
Release Notes:
- Improved default Go experience by enabling snippets-with-placeholders
when initializing `gopls`.
([#7523](https://github.com/zed-industries/zed/issues/7523)).
Thorsten Ball created
7ac0556
Reorganize `extensions_ui.rs` (#7779)
This PR reorganizes `extensions_ui.rs` by moving the `Render` impl down below the primary `ExtensionsPage` impl. Release Notes: - N/A
Marshall Bowers created
db0455b
Give explicit heights to items in the extension list (#7777)
This PR gives the items in the extension list an explicit height so that they work properly within the uniform list when descriptions are missing. <img width="1235" alt="Screenshot 2024-02-14 at 10 19 14 AM" src="https://github.com/zed-industries/zed/assets/1486634/01222902-6b05-4e9a-bb5a-bada14b1fd45"> I think we may want to consider using a `list` here instead of a `uniform_list` to allow them to have variable heights. Fixes #7756. Release Notes: - N/A
Marshall Bowers created
017b2db
Fix case-only renaming of files (#7768)
This fixes #5211 and #7732 by fixing the case-only file renaming. The fix here works by checking hooking into function that produces the data to populate the project panel. It checks whether we're on a case-insensitive file system (default on macOS, but you can have case-sensitive FS on macOS too) and if so, it ignores the metadata for files for which the absolute path (returned by the FS scanner) and canonicalized path do NOT match. That's the case for (a) symlinks and (b) case-only renames of files. It only does this check for case-only renames. Release Notes: - Fixed case-only renaming of files producing duplicate entries in project panel. ([#5211](https://github.com/zed-industries/zed/issues/5211)). Co-authored-by: Antonio <antonio@zed.dev>
Thorsten Ball and Antonio created
75eac47
gpui: patch pathfinder_simd to fix nightly build, bump ahash for the … (#7770)
…same reason Fixes #7644 Release Notes: - N/A
Piotr Osiewicz created
7956a9a
Don't wait to dispatch commands (#7755)
I added this when porting vim mode to gpui2 to work around life-cycle problems. Since #7647, this is no longer needed for vim mode, and causes other problems (c.f. #7748) Release Notes: - Improved command to drop fewer keystrokes
Conrad Irwin created
c357e37
Reload extensions more robustly when manually modifying installed extensions directory (#7749)
Release Notes: - N/A --------- Co-authored-by: Marshall <marshall@zed.dev>
Max Brunsfeld and Marshall created
c317639
Remove themes from the registry when the extension is uninstalled (#7745)
This PR makes it so uninstalling an extension will remove any themes provided by that extension from the theme registry. Release Notes: - N/A
Marshall Bowers created
e9b95fd
Force upgrade people on nightly (#7744)
Release Notes: - N/A
Conrad Irwin created
e73e93f
Unload languages when uninstalling their extension (#7743)
Release Notes: - N/A Co-authored-by: Marshall <marshall@zed.dev>
Max Brunsfeld and Marshall created
a2144fa
Remove environment guards (#7741)
Release Notes: - N/A
Conrad Irwin created
d744aa8
v0.123.1
Conrad Irwin created
2294d99
revert single channel click (#7738)
- Revert "collab tweaks (#7706)" - Revert "2112 (#7640)" - Revert "single click channel (#7596)" - Reserve protobufs - Don't revert migrations Release Notes: - N/A **or** - N/A
Conrad Irwin created
ecd9b93
Add C-w and C-u keymaps in vim mode (Fix #7691) (#7736)
Release Notes: - Added C-w and C-u keymaps in vim mode ([#7691](https://github.com/zed-industries/zed/issues/7691))
Yohann created
fecb5a8
Add an extensions installation view (#7689)
This PR adds a view for installing extensions within Zed. My subtasks: - [X] Page Extensions and assign in App Menu - [X] List extensions - [X] Button to Install/Uninstall - [x] Search Input to search in extensions registry API - [x] Get Extensions from API - [x] Action install to download extension and copy in /extensions folder - [x] Action uninstall to remove from /extensions folder - [x] Filtering - [x] Better UI Design Open to collab! Release Notes: - Added an extension installation view. Open it using the `zed: extensions` action in the command palette ([#7096](https://github.com/zed-industries/zed/issues/7096)). --------- Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: Marshall <marshall@zed.dev> Co-authored-by: Carlos <foxkdev@gmail.com> Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> Co-authored-by: Max <max@zed.dev>
Carlos Lopez , Max Brunsfeld , Marshall , Carlos , Marshall Bowers , and Max created
33f713a
Optimize construction and insertion of large `SumTree`s (#7731)
This does two things: 1. It optimizes the constructions of `SumTree`s to not insert nodes one-by-one, but instead inserts them level-by-level. That makes it more efficient to construct large `SumTree`s. 2. It adds a `from_par_iter` constructor that parallelizes the construction of `SumTree`s. In combination, **loading a 500MB plain text file went from from ~18seconds down to ~2seconds**. Disclaimer: I didn't write any of this code, lol! It's all @as-cii and @nathansobo. Release Notes: - Improved performance when opening very large files. --------- Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Julia <julia@zed.dev>
Thorsten Ball , Antonio Scandurra , and Julia created
798c9a7
Improve sorting of completion results (#7727)
This is an attempt to fix #5013 by doing two things: 1. Rank "obvious" matches in completions higher (see the code comment) 2. When tied: rank keywords higher than variables Release Notes: - Improved sorting of completion results to prefer literal matches. ([#5013](https://github.com/zed-industries/zed/issues/5013)). ### Before   ### After   Co-authored-by: Antonio <antonio@zed.dev> Co-authored-by: bennetbo <bennetbo@gmx.de>
Thorsten Ball , Antonio , and bennetbo created
98fff01
Fix minor buffer search bar design issues (#7715)
This PR fixes the buffer search bar design issues mentioned in #7703. It doesn't affect the project search bar. Changes: <img width="943" alt="zed-search-bar-design-issues" src="https://github.com/zed-industries/zed/assets/2101250/af3bd0da-36cb-46ee-9af6-6b69911863d0"> Release Notes: - N/A
Andrew Lygin created
ea51536
Disable vim in the feedback modal (#7716)
Fixes #7000 by disabling vim in this context Release Notes: - Fixed feedback modal in vim mode ([#7000](https://github.com/zed-industries/zed/issues/7000)). **or** - N/A
Conrad Irwin created
a1899ba
vim: Fix renaming (#7714)
This was broken by #7647 Release Notes: - N/A
Conrad Irwin created
04fc0dd
languages: go.mod/go.work fix highlighting no longer working (#7705)
At some point go.mod and go.work syntax highlighting quit working. Looks like the grammars weren't matching for some reason and I'm not sure how they were working originally. Not sure if we could write a test to make sure the tree-sitter queries are being loaded for the grammars or not but seems like something that could be useful to avoid something like this in the future.
Derrick Laird created
b800fe9
Fix dealloc of MacWindow (#7708)
We see some panics in the Drop handler for MacWindow Looking into this, I noticed that our drop implementation was not correctly cleaning up the window state. Release Notes: - N/A
Conrad Irwin created
21d2b5f
collab tweaks (#7706)
- Don't leave call when clicking on channel - Don't prompt to leave a call you're not in Release Notes: - N/A
Conrad Irwin created
d13a731
Crash sooner on invalid background highlights (#7702)
Release Notes: - N/A
Conrad Irwin created
ede9600
Improve panic message for invalid anchors (#7700)
Release Notes: - N/A Co-authored-by: Marshall <marshall@zed.dev>
Max Brunsfeld and Marshall created
48a4cba
Don't move traffic lights while fullscreen
Fixes #4712, or at least works around it. As discussed in the issue, setting the buttons frames while fullscreen can cause them to render in the wrong location. This fixes that by simply not moving them when fullscreen.
Greg Morenz created
266988a
gpui: Decouple X11 logic from LinuxPlatform (#7598)
Release Notes: - Separated Linux platform and X11-specific code, so that we can add Wayland support now. --------- Co-authored-by: Mikayla <mikayla@zed.dev>
Roman and Mikayla created
2e7db57
Add Astro Support (#6896)
Attempt to add `@astrojs/language-server` and [virchau13/tree-sitter-astro](https://github.com/virchau13/tree-sitter-astro). --------- Co-authored-by: Nate Butler <iamnbutler@gmail.com>
Alvaro Gaona and Nate Butler created
1c2081c
Search bar UI enhancements (#7675)
This PR introduces several enhancements (along with fixing a couple of bugs) in the search bar UI (copied from [this comment](https://github.com/zed-industries/zed/issues/7663#issuecomment-1937659091)): - Moving the Replace field under the Search field makes it easier to compare texts and avoid typos. Also, less eyes movements. - Use red (error) color to indicate that nothing matched. VSCode, IDEA do this. Again, it helps to get a quicker feedback on typos without moving your eyes. - Much less moving parts and no place for flickering. - Better fits to narrow panes. - The Close button that allows to close the search bar with the mouse. - Better keyboard handling (tab, shift+tab in the replacement mode), autofocus on the Replace field. How it looks: https://github.com/zed-industries/zed/assets/2101250/93b0edb4-4311-4a7f-9f43-b30c4d1aede5 Implementation details: - Using `Self::on_query_editor_event` looked suspicious [here](https://github.com/zed-industries/zed/blob/288013503755f0d44feff6a517169a2861b43f26/crates/search/src/buffer_search.rs#L491) because it triggered searching on the replacement text changes. I've created a separate method for the replacement editor. - These changes don't affect the project search bar. If the PR is accepted, the same changes may be implemented there. Fixed issues: - #7661 - #7663 Release Notes: - Buffer search bar UI enhancements.
Andrew Lygin created
a233139
Add JSX and TSX syntax highlighting (#7686)
This PR fixes / adds support for syntax highlighting in JSX and TSX. Previously to this PR the syntax highlighting was not really working. HTML tags have not been displayed as such. <img width="1127" alt="SCR-20240212-ihne" src="https://github.com/zed-industries/zed/assets/67913738/793c778f-aa11-4574-883f-6d336247bd9e"> After: <img width="1225" alt="SCR-20240212-jqvv" src="https://github.com/zed-industries/zed/assets/67913738/f4d96b1d-6063-41ac-bd46-76ce1fc0a131"> Release Notes: - Added support for JSX and TSX syntax highlighting
Robin Pfäffle created