Commit Graph
1553 Commits
Author SHA1 Message Date
Piotr Osiewicz 5b9069b9b7 Bump Rust to 1.75 (#3815)
**This PR also bumps wasmtime version from 0.38 to 2.0 as 0.38 does not
build with Rust 1.75**. I did not test the plugin runtime as (AFAIK) we
intend to deprecate it; also, wasmtime's most recent version is 16.0, so
it'd make sense to bump the version at some point anyways. I did not
bump the version to 16.0 straight away as that'd require code changes in
`plugin_runtime`.
Release Notes:

- N/A
2023-12-28 19:22:43 +01:00
Marshall Bowers e1e8d416ba Extend theme_importer in preparation for importing Zed1 themes (#3791)
This PR extends the `theme_importer` with the overall structure required
to support importing themes from Zed1.

Release Notes:

- N/A
2023-12-22 13:47:30 -05:00
Antonio Scandurra 387ea8c6bf Revert "Revert "Optimize order rendering and border drawing"" 2023-12-22 09:12:18 +01:00
Marshall Bowers b935d97988 Fix names for Rosé Pine themes (#3771)
This PR fixes the names of the Rosé Pine themes.

We want to keep the Unicode "é" in the theme name, both because this is
the actual name of the theme, and also to maintain parity with Zed1.

Release Notes:

- N/A
2023-12-21 22:45:29 -05:00
Antonio Scandurra f62a552e21 Revert "Optimize order rendering and border drawing" 2023-12-21 19:40:03 +01:00
Joseph T. Lyons 212e668d00 Bump tree-sitter-nu rev id (#3760) 2023-12-21 12:29:49 -05:00
Joseph T. Lyons 46a9eb6acb Bump tree-sitter-nu rev id 2023-12-21 12:15:27 -05:00
Antonio Scandurra 8e2e081728 Replace BspSplitter with brute-force sorting of primitives 2023-12-21 16:58:36 +01:00
Kirill Bulatov 3d795b6236 Restore "reveal in project panel" and "search in directory" context menu actions 2023-12-21 01:07:05 +02:00
Piotr Osiewicz 469d82beec chore: Remove 'db' dependency from recent_projects2 (#3740)
It was pulling in gpui1 into zed2 build.

Release Notes:

- N/A
2023-12-20 20:38:37 +01:00
Joseph T. Lyons 2eb5620acf collab 0.32.0 2023-12-20 13:15:44 -05:00
Joseph T. Lyons a7310e1854 v0.119.x dev 2023-12-20 13:00:01 -05:00
Kirill Bulatov cff6dd2450 Add new panels into zed2 2023-12-20 18:23:08 +02:00
Kirill Bulatov da8c4e8ae3 Apply more fixes to the visual part 2023-12-20 18:23:08 +02:00
Kirill Bulatov 401c06935e Create a new crate 2023-12-20 18:23:08 +02:00
Marshall Bowers 7b85b222ae Add ability to warn on missing theme values (#3705)
This PR adds the ability to warn in the `theme_importer` when a theme is
missing values.

Providing the `--warn-on-missing` flag to the `theme_importer` will
print a warning for missing theme value when printing the theme.

```sh
cargo run -p theme_importer -- --warn-on-missing
```

Release Notes:

- N/A
2023-12-18 17:18:49 -05:00
Nate Butler b30cddec7d Merge branch 'main' into story-enhancements 2023-12-15 10:26:59 -05:00
Conrad Irwin 53fcb54443 Merge branch 'main' into user-menu 2023-12-14 20:18:20 -07:00
Joseph T. Lyons aab0bdebc1 Use bitflags to hold error states 2023-12-14 17:22:13 -05:00
Nate Butler 543d1b5783 Continue styling new story components 2023-12-14 16:52:05 -05:00
Nate ButlerandMarshall Bowers 7ad611839c Extend Story components, allow linking to story file
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-12-14 15:55:17 -05:00
Marshall Bowers 329321ee6e Improve storybook story selection (#3653)
This PR builds on top of #3652 by adding a selection prompt to the
storybook to allow you to choose from the available list of stories if
you don't provide one explicitly:

<img width="1387" alt="Screenshot 2023-12-14 at 12 00 26 PM"
src="https://github.com/zed-industries/zed/assets/1486634/640d62a3-1340-45f1-9746-69b513faff62">

This way we don't have to keep generating the `script/storybook` script
whenever stories are added/removed.

#### Usage (through `cargo`):

```sh
# Select from the available stories
cargo run -p storybook2

# Run a specific story
cargo run -p storybook2 -- components/list_item
```

#### Usage (through `script/storybook`):

```sh
# Select from the available stories
./script/storybook

# Run a specific story
./script/storybook list_item
```

Release Notes:

- N/A
2023-12-14 12:13:02 -05:00
Piotr Osiewicz 4cdf2eb939 Vcs menu2 (#3648)
Header and footer are gonna be added in a separate PR as they require
changes to Picker trait that I feel are separate from the contents of
this PR.

Release Notes:

- N/A
2023-12-14 12:36:53 +01:00
Joseph T. Lyons 70fbe2b02c Simulate sending feedback in dev 2023-12-13 21:18:50 -05:00
Conrad Irwin 745b74dc37 Don't hang the app when signing in offline 2023-12-13 15:52:43 -07:00
Conrad Irwin 6256da7df2 Implement user menu 2023-12-13 14:14:03 -07:00
Conrad Irwin d528b07b8c Port project_symbols (#3634)
Release Notes:

- N/A
2023-12-13 14:13:25 -07:00
Conrad Irwin 0b2d20be0b Port project_symbols 2023-12-13 13:43:39 -07:00
Joseph T. Lyons 589738b5b3 collab 0.31.0 2023-12-13 12:39:29 -05:00
Joseph T. Lyons d8c6e0fc76 v0.118.x dev 2023-12-13 12:24:10 -05:00
Conrad Irwin ab430c6442 fix modal exchange (#3620)
- Fix opening GoToLine from Command
- Extend test to cover go_to_line behavior too

Release Notes:

- N/A
2023-12-12 21:30:34 -07:00
Conrad Irwin 6bf18efa4e Fix opening GoToLine from Command
This was broken because of the async hop introduced by should_dismiss.

Change that API to instead be syncronous, and require that implementors
(of which there is only one) to call dismiss again if they want to.
2023-12-12 20:46:27 -07:00
Conrad Irwin a183a3cfc0 vim2 (#3618)
- Uncomment editor event tests
- Uncomment vim search tests

Just command left

Release Notes:

- N/A
2023-12-12 19:19:08 -07:00
Conrad Irwin e1ee35d0a6 Fix vim toggle on welcome 2023-12-12 19:03:54 -07:00
Julia a2f80230c9 zed2 notification panel (#3603)
Release Notes:

- N/A
2023-12-12 18:04:47 -05:00
Julia 370706d316 Builds and runs 2023-12-12 13:07:17 -05:00
Antonio Scandurra 69f38a3c50 Use FxHashMap and FxHashSet in hot code paths
We can also use these maps and sets in place of `SeaHasher` because
they are also deterministic. Note that we're not swapping std's
`HashMap` and `HashSet` wholesale inside of `collections` because
on the server we need cryptographically secure collections.
2023-12-12 13:35:22 +01:00
Conrad Irwin 0d96e964ef Merge branch 'main' into vim2 2023-12-11 09:38:23 -07:00
Piotr Osiewicz ba57516632 Merge branch 'main' into project_search2 2023-12-11 16:47:48 +01:00
Marshall Bowers 50ff052569 Make clicking the breadcrumb toggle the symbol outline (#3571)
This PR wires up clicks on the breadcrumb to toggle the symbol outline.

Note that the behavior of the symbol outline is a little wonky at the
moment, due to the issues with pane focus.

Release Notes:

- N/A
2023-12-08 18:22:53 -05:00
Conrad Irwin e356a7df09 vim2 compiling (but mostly commented out) 2023-12-08 18:47:14 +00:00
Max Brunsfeld 974b21d539 Bump tree-sitter-vue to remove dangling submodule 2023-12-08 10:12:18 -08:00
Joseph T. Lyons 4c675b45db collab 0.30.1 2023-12-08 12:48:02 -05:00
Marshall Bowers f1ac5b11da Emit accurate hex colors in generated themes (#3547)
This PR fixes an issues where the hex colors in the generated themes
were not correct.

We're using the [`palette`](https://crates.io/crates/palette) crate to
perform the conversions, as this gives us accurate hex codes that match
the VS Code source themes.

Release Notes:

- N/A
2023-12-07 18:34:03 -05:00
Piotr Osiewicz 95814ab53b Barebones project search (no UI, but the crate compiles) 2023-12-07 14:36:45 +01:00
Joseph T. Lyons 263b79c047 Merge branch 'main' into feedback-2 2023-12-06 23:16:54 -05:00
Joseph T. Lyons 853da8eaa6 WIP 2023-12-06 23:15:04 -05:00
Marshall Bowers d910bd55d4 Port recent_projects to Zed2 (#3525)
This PR ports the `recent_projects` crate to Zed2 (`recent_projects2`).

Absent from this PR is wiring up the "Recent Projects" item in the title
bar. We'll come back to that soon.

Release Notes:

- N/A
2023-12-06 18:41:50 -05:00
Max Brunsfeld 1be1e3b5b5 Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
Joseph T. Lyons a364c9ed70 WIP 2023-12-06 17:27:10 -05:00