Commit log

92911de Update top ranking issues script to take in a day interval (#6951)

Click to expand commit body
Switch to `poetry`
Update script to take in a `query-day-interval` argument, so we can make
a report from all issues or just n last days.

Release Notes:

- N/A

Joseph T. Lyons created

80cdd60 Add a weekly report

Joseph T. Lyons created

6305761 Update top ranking issues script to take in a day interval

Joseph T. Lyons created

db68fc5 Add PureScript LSP/Highlighting support (#6911)

Click to expand commit body
This PR adds basic support for the language using the
`purescript-language-server`.

Release Notes:

- Added support for PureScript.

Iván Molina Rebolledo created

7767062 Add missing workspace edit capabilities (#6950)

Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/6916

Specification:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspaceEdit
Adds a safe minimum of the capabilities that Zed supports already,
allowing rust-analyzer to send file edits on rename.

Release Notes:

- Fixed rust module rename from editor not renaming the FS entries
([6916](https://github.com/zed-industries/zed/issues/6916))

Kirill Bulatov created

444f918 Retrieve credentials for saved conversations (#6949)

Click to expand commit body
This PR fixes an issue where credentials for saved conversations weren't
being fully retrieved, which was preventing continuing a conversation
with the assistant in a saved conversation.

Release Notes:

- Fixed continuing a saved conversation with the Zed assistant.

Marshall Bowers created

52f7f2d Update name of function to match other implementation

Brooks Swinnerton created

c0c0aba Add support for u and U in vim visual mode

Brooks Swinnerton created

8e523d8 Fix #4628: npm install to a wrong location (#6742)

Click to expand commit body
By default `npm install` will walk up the folder tree checking for a
folder that contains either a package.json file, or a node_modules
folder. If such a thing is found, then that is treated as the effective
"current directory" for the purpose of running npm commands.
This caused npm dependencies for language servers sometimes to be
installed in the wrong folder, described in #4628.
Adding `--prefix ./` to `npm install` forces
node_runtime.npm_install_packages to install packages in provided path
even if node_modules dir exists somewhere up the filesystem tree from
installation path.

Julia created

1f82a2a Remove obviated comment in `zed-licenses.toml` (#6946)

Click to expand commit body
This PR removes a comment from `zed-licenses.toml`, as it no longer
applies now that we don't have `buildLicenses.ts` anymore.

Release Notes:

- N/A

Marshall Bowers created

b213458 Fix typo in copilot.rs (#6933)

Click to expand commit body
specifcially -> specifically

Release Notes:

- N/A

Ikko Eltociear Ashimine created

4fc0116 Add Vue file icon (#6930)

Click to expand commit body
https://github.com/vuejs/art/blob/master/white-on-dark-logo.svg
<img width="222" alt="image"
src="https://github.com/zed-industries/zed/assets/45585937/2839dd7e-ea25-4f9b-aac9-2437f1c3df23">

Release Notes:

- Added icon for `.vue` files.

d1y created

42e605a fix: adding prefix arg to npm subcommands

ge created

027f055 Update casing of "OpenAI" in identifiers to match Rust conventions (#6940)

Click to expand commit body
This PR updates the casing of "OpenAI" when used in Rust identifiers to
match the [Rust naming
guidelines](https://rust-lang.github.io/api-guidelines/naming.html):

> In `UpperCamelCase`, acronyms and contractions of compound words count
as one word: use `Uuid` rather than `UUID`, `Usize` rather than `USize`
or `Stdin` rather than `StdIn`.

Release Notes:

- N/A

Marshall Bowers created

e8bf06f Style crate names in `CONTRIBUTING.md` (#6939)

Click to expand commit body
This PR styles the crate names in `CONTRIBUTING.md` using inline code.

Release Notes:

- N/A

Marshall Bowers created

5dec9f7 Link to the Zed roadmap in `CONTRIBUTING.md` (#6937)

Click to expand commit body
This PR updates `CONTRIBUTING.md` to link to the public Zed roadmap.

Release Notes:

- N/A

Marshall Bowers created

f7b6bfe chore: Remove rerun-if-changed clause that might cause spurious rebuilds (#4193)

Click to expand commit body
Something is stomping over the timestamp of generated scene.h right
after the build script finishes:
`Dirty gpui v0.1.0 (/Users/someonetoignore/work/zed/zed/crates/gpui):
the file target/debug/build/gpui-ca04eedfe8d0e13c/out/scene.h has
changed (1705922004.637000680s, 1s after last build at
1705922003.507431315s)`
^ That's an output of `-v` flag added to either `cargo run` or `cargo
build`.
This comes up when you do `cargo build` followed by `cargo run` or
another `cargo build`; the artifact is not getting reused, even though
it should be possible?
Release Notes:
- N/A

Piotr Osiewicz created

e384891 Make .gitkeep icon use VCS icon (#6931)

Click to expand commit body
This should be a standard recognized by everyone

```bash
mkdir todo
touch todo/.gitkeep # just placeholder
git add todo
git commit
```

Release Notes:

- Added icon for `.gitkeep` files.

d1y created

3493e71 Add Ruby file icon (#6922)

Click to expand commit body
This icon is designed based on [Ruby's official logo], to harmonize with
the other icons.
It is deformed and simplified to be human-recognizable, even at letter
size.

[Ruby's official logo]: https://www.ruby-lang.org/en/about/logo/

Release Notes:

- Added Ruby file icon.

Noritada Kobayashi created

3eb0a2c theme_importer: Map more colors (#6913)

Click to expand commit body
This PR extends the `theme_importer` to map more colors from VS Code
themes.

Release Notes:

- N/A

Marshall Bowers created

ff76b2e Replace IIFE with `maybe!` (#6909)

Click to expand commit body
This PR replaces a usage of an IIFE with `maybe!`.

Release Notes:

- N/A

Marshall Bowers created

bbdf401 Use `async_maybe!` instead of inline IIFEs (#6906)

Click to expand commit body
This PR replaces instances where we were using an async IIFE with the
`async_maybe!` macro.

Release Notes:

- N/A

Marshall Bowers created

5b9cc26 Gracefully handle errors when loading themes (#6904)

Click to expand commit body
This PR improves the theme loading to gracefully handle when a theme
couldn't be loaded.

Trying to debug a panic that happens on startup in Nightly.

Release Notes:

- N/A

Marshall Bowers created

dfad36f Upgrade `tree-sitter-php` to v0.21.1 (#6902)

Click to expand commit body
This PR upgrades `tree-sitter-php` to v0.21.1.

Here is the diff between our current version and this version:
https://github.com/tree-sitter/tree-sitter-php/compare/d43130fd1525301e9826f420c5393a4d169819fc...29a49d3a53353444ee2226e2efa140fec69dd3e0

The primary impetus for this change is to get this change that adds the
`license` field to the `Cargo.toml`:
https://github.com/tree-sitter/tree-sitter-php/pull/193

This will silence the warning that is shown when running
`script/generate-licenses`.

Release Notes:

- Upgraded `tree-sitter-php` to v0.21.1.

Marshall Bowers created

96a02de Bump `tree-sitter-haskell` (#6899)

Click to expand commit body
This PR bumps our version of `tree-sitter-haskell` for the addition of
the `license` field in
https://github.com/tree-sitter/tree-sitter-haskell/pull/112.

This will silence the warning that is shown when running
`script/generate-licenses`.

Release Notes:

- N/A

Marshall Bowers created

9b453d2 Remove old themes using `UserTheme` constructs (#6897)

Click to expand commit body
This PR removes the themes defined using the `UserTheme` types, as we're
now loading the themes via JSON.

The `theme_importer` has also been reworked to read in a VS Code theme
and output a new JSON theme.

Release Notes:

- N/A

Marshall Bowers created

5f1dcb7 Load JSON themes (#6893)

Click to expand commit body
This PR changes the theme loading to use the JSON themes bundled with
the binary rather then the Rust theme definitions.

### Performance

I profiled this using `cargo run --release` to see what the speed
differences would be now that we're deserializing JSON:

**Before:** `ThemeRegistry::load_user_themes` took 16.656666ms
**After:** `ThemeRegistry::load_user_themes` took 18.784875ms

It's slightly slower, but not by much. There is probably some work we
could do here to bring down the theme loading time in general.

Release Notes:

- N/A

Marshall Bowers created

f7fc4ff Disable Discord URL embed (#6892)

Click to expand commit body
Wrapping links in `<` and `>` disables auto-embeds in Discord, even if
it's a markdown-style link.

Closes #6884

Release Notes:

- N/A

Bjerg created

a2efc8d Add player colors to serialized themes (#6887)

Click to expand commit body
This PR adds player colors to serialized themes.

Release Notes:

- N/A

Marshall Bowers created

0fe0683 Add serialized versions of themes (#6885)

Click to expand commit body
This PR adds serialized versions of each of the themes that currently
ship with Zed.

In a future PR we'll be looking to make these the canonical
representations of the built-in themes.

Note that we're intentionally repurposing the `theme_importer` to do
this, so that crate is a bit rough-and-ready at the moment.

Release Notes:

- N/A

Marshall Bowers created

9d6414b Fix typos configuration (#6877)

Click to expand commit body
- check hidden files
- fix a typos in a hidden file
- ignore "ba" typos in a more specific way
- ignore a typo in collab/migrations/ literally

Release Notes:

- N/A

Viktor Szépe created

1564bd8 Add installation instructions to README (#6870)

Click to expand commit body
This PR adds installation instructions to the README, with a note on
which platforms we currently support.

Release Notes:

- N/A

Marshall Bowers created

bd39258 Address a couple comments re Ruby file associations (#6863)

Click to expand commit body
Release Notes:

- Fixed: Address a [couple comments re Ruby file
associations](https://github.com/zed-industries/zed/pull/6812#discussion_r1468437144)

Stuart Hinson created

ac3e0af fix: move anyhow dependency to dependencies (#6866)

Click to expand commit body
Was moved by mistake in: ebbe52e6b0a33458956e1db400ba07f0e33398c3

This was throwing errors everywhere on Linux because anyhow is needed by
the code and is not macOS dependent.


Release Notes:

- N/A

William Desportes created

0a0a866 Licenses: change license fields in Cargo.toml to AGPL-3.0-or-later. (#5535)

Click to expand commit body
Release Notes:
- N/A

Piotr Osiewicz created

0e4d947 fix: isolate macos-specific dependencies (#6854)

Click to expand commit body
Release Notes:
- N/A

Amin Yahyaabadi created

1f83b5c FileFinder: use idiomatic definition for Ord/PartialOrd (#6851)

Alex Kladov created

5b9f15e add test_data

Brian Strauch created

536a4ab Add `font_style` and `font_weight` to serialized theme representation (#6838)

Click to expand commit body
This PR adds `font_style` and `font_weight` as fields on the
`HighlightStyleContent` used in the serialized theme representation.

Release Notes:

- N/A

Marshall Bowers created

fd3c96d Add Haskell support (#5281) (#6786)

Click to expand commit body
This PR adds the Haskell tree-sitter grammar copied from
[`nvim-treesitter`](https://github.com/nvim-treesitter/nvim-treesitter/tree/master/queries/haskell).
It also adds the Haskell Language Server.

This is a joint effort by myself (adding the grammar) and @leifu1128
(who is adding the language server integration).

This PR resolves https://github.com/zed-industries/zed/issues/5281

Release Notes:

- Added Haskell support
([#5281](https://github.com/zed-industries/zed/issues/5281)).

Mikayla Maki created

0e722f6 Extend support for outlining in Gleam (#6834)

Click to expand commit body
This PR extends support for outlines in the recently-added Gleam
support.

Note that I'm leaving the release notes section blank as we haven't yet
released Gleam support, so it can just roll up into that item.

Release Notes:

- N/A

Marshall Bowers created

eccfc53 Remove `xz` feature (no longer using it)

Pseudomata created

030ff0a Simplify Haskell LSP integration

Click to expand commit body
This change will work without any configuration and assume the user will install the Haskell Language Server using `ghcup`

Pseudomata created

53ee597 Documentation: Clarify shortcuts and fix grammar (#6821)

Click to expand commit body
I got stuck on the "Getting started" page because I was trying to use
the shortcut `⌘+,` and not `⌘,`. This PR removes the `+`'s to make the
shortcuts clearer to the reader.

Release Notes:

- Improved getting started instructions.

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>

Kieran Gill and Marshall Bowers created

f369e9a vim: fix dtx when x is immediately to the right

Brian Strauch created

9833d4b Add a couple common Ruby file suffixes (#6812)

Click to expand commit body
Release Notes:

- Added `Gemfile.lock` and `rake` as associated Ruby files.

Stuart Hinson created

6bdfde4 Restore key bindings docs (#6823)

Click to expand commit body
This PR restores the key bindings docs from `zed.dev`.

Release Notes:

- N/A

Marshall Bowers created

652ec6f Ability to manually configure LSP for Haskell

Click to expand commit body
Allow users who have HLS installed using `ghcup` to manually provide the path for the Haskell language server

Pseudomata created

c3110d3 Rename `BellBadged` to `BellDot` (#6820)

Click to expand commit body
This PR renames the `BellBadged` icon to `BellDot` to be a bit clearer
as to what its contents are.

Release Notes:

- N/A

Marshall Bowers created

62365e6 Add a badge to the bell icon on new notifications (#6751)

Click to expand commit body
It changes the icon if a new notification event is consumed and changes
it back to normal upon toggling NotificationPanel.

Added a new field to NotificationPanel:
	- have_unseen_notifications: bool

Added a new icon asset
	- IconName::BellBadged => "assets/icons/bell_badged.svg"

Release Notes:

- Added a badge to bell icon for new notifications
([#6721](https://github.com/zed-industries/zed/issues/6721)).

David Rachmaninoff created