Dzmitry Malyshau
0a5ebee9e5
blade: encapsulate BladeAtlasStorage for indexing
2024-02-04 13:03:16 -08:00
Dzmitry Malyshau
26ca798707
blade: initialize atlas textures
2024-02-04 12:45:18 -08:00
Dzmitry Malyshau
61fa5e93a8
blade: always create texture views for atlas tiles
2024-02-04 12:15:41 -08:00
Dzmitry Malyshau
aae532987f
blade: tune belt alignment to match Intel Iris Xe
2024-02-04 11:35:19 -08:00
Dzmitry Malyshau
13ba8b6b54
Fix linux target in rust-toolchain.toml
...
Co-authored-by: Ilia <43654815+istudyatuni@users.noreply.github.com >
2024-02-04 11:34:57 -08:00
Dzmitry Malyshau
d6bbcf503b
blade: enforce alignment in the belt
2024-02-04 00:09:32 -08:00
Dzmitry Malyshau
c5ff46e14f
blade: fix shadow vertex bounds
2024-02-03 23:51:37 -08:00
Dzmitry Malyshau
cf71fe8bf1
fix MacOS build, switch external RWH to 0.6
...
leaving blade-internal RWH as 0.5 until this is fixed:
https://github.com/ash-rs/ash/issues/864
2024-02-03 23:50:44 -08:00
Dzmitry Malyshau
d0a0ce1885
blade: mono/poly chrome sprite rendering
2024-02-03 21:30:47 -08:00
Dzmitry Malyshau
59642bf29a
blade: point to master, remove the override
2024-02-03 14:13:36 -08:00
Dzmitry Malyshau
2e32f5867e
linux: various fixes across the crates to make it compile
2024-02-03 00:06:20 -08:00
Dzmitry Malyshau
7c7aad5e76
blade: port underline shader
2024-02-02 23:04:56 -08:00
Dzmitry Malyshau
04e49dc493
blade: refactor the atlas to not own the command encoder
2024-02-02 22:22:18 -08:00
Dzmitry Malyshau
c000d2e16b
blade: path sprite rendering
2024-02-02 00:34:08 -08:00
Dzmitry Malyshau
fdaffdbfff
linux: path rasterization shader
2024-02-01 22:56:50 -08:00
Dzmitry Malyshau
05c42211fe
linux: implement RWH for LinuxWindow
2024-02-01 22:05:59 -08:00
Dzmitry Malyshau
ed679c9347
WIP path rasterization
2024-02-01 21:43:28 -08:00
Dzmitry Malyshau
ce84a2a671
linux: refactor window structure, support move callback
2024-02-01 21:43:28 -08:00
Dzmitry Malyshau
c9ec337034
linux: share corner picking code between shaders
2024-02-01 21:43:28 -08:00
Dzmitry Malyshau
666b134d20
linux: shadow rendering
2024-02-01 21:43:28 -08:00
Dzmitry Malyshau
ecf4955899
hide MacOS dependencie of live_kit_client and media
2024-02-01 21:42:57 -08:00
Dzmitry Malyshau
8aa768765f
linux: basic quad renderer logic
2024-02-01 21:41:15 -08:00
Dzmitry Malyshau
503ac7a251
linux: work around the mutex locks for request_frame and resize
2024-02-01 21:40:54 -08:00
Dzmitry Malyshau
74fde5967b
linux: hook up render event, basic renderer command buffer
2024-02-01 21:40:54 -08:00
Dzmitry Malyshau
7f8c64aa6c
linux: port from x11rb to xcb and hook up RawWindowHandle
2024-02-01 21:40:54 -08:00
Dzmitry Malyshau
aed363d3c7
x11: create window and route events
2024-02-01 21:29:07 -08:00
Dzmitry Malyshau
cefc98258f
linux: hook up X11rb for Window creation
2024-02-01 21:29:07 -08:00
Dzmitry Malyshau
e95bf24a1f
linux: basic window, display, and atlas
2024-02-01 21:29:07 -08:00
Dzmitry Malyshau
b0376aaf8f
linux: start the text system
2024-02-01 21:28:37 -08:00
Dzmitry Malyshau
ca62d22147
linux: implement dispatcher, add dummy textsystem
2024-02-01 21:28:16 -08:00
Dzmitry Malyshau
d675abf70c
Add Linux platform, gate usage of CVImageBuffer by macOS
2024-02-01 21:28:16 -08:00
Dzmitry Malyshau
ef4ef5f0e8
Add blade dependency
2024-02-01 21:27:43 -08:00
Conrad Irwin
69e0ea92e4
Links to channel notes ( #7262 )
...
Release Notes:
- Added outline support for Markdown files
- Added the ability to link to channel notes:
https://zed.dev/channel/zed-283/notes#Roadmap
2024-02-01 22:22:02 -07:00
Max Brunsfeld
b35a7223b6
Add missing secret in release nightly workflow
2024-02-01 15:45:53 -08:00
Max Brunsfeld
020c38a891
Avoid excessive blocking of main thread when rendering in direct mode ( #7253 )
...
Release Notes:
- Fixed a bug that caused inconsistent frame rate when scrolling on
certain hardware.
Co-authored-by: Antonio Scandurra <me@as-cii.com >
Co-authored-by: Nathan Sobo <nathan@zed.dev >
2024-02-01 15:39:41 -08:00
Max Brunsfeld
21f4da6bf2
Correctly log LSP adapter name on LSP request error ( #7232 )
...
Previously, we were logging the language server's binary filename
instead.
Release Notes:
- N/A
Co-authored-by: Nathan <nathan@zed.dev >
Co-authored-by: Antonio <antonio@zed.dev >
2024-02-01 14:17:09 -08:00
Kirill Bulatov
da44f637ed
Order history items by open recency ( #7248 )
...
Closes https://github.com/zed-industries/zed/issues/7244
Follow-up of https://github.com/zed-industries/zed/pull/7210 that
returns back ordering of history items by open recency (last opened
history item should be on top)
Release Notes:
- N/A
---------
Co-authored-by: Andrew Lygin <alygin@gmail.com >
2024-02-01 23:45:03 +02:00
Conrad Irwin
0897c8eebd
just kidding ( #7241 )
...
Release Notes:
- N/A
2024-02-01 11:57:09 -07:00
Conrad Irwin
7b9d51929d
Deploy collab like nightly ( #7174 )
...
After this change we'll be able to push a tag to github to deploy to
collab.
The advantages of this are that there's no longer a separate step to
first
build the image, and then deploy it.
In the future I'd like to make this happen more automatically (maybe as
part of
bump nightly).
Release Notes:
- N/A
2024-02-01 11:54:49 -07:00
Antonio Scandurra
5424c8bfd5
Introduce a fast path for drawing quads with no borders / corner radii ( #7231 )
...
This will introduce an extra conditional but saves us from doing a bunch
of math in the simple case of drawing simple rectangles that aren't
rounded or don't have borders.

Release Notes:
- Improved rendering performance.
2024-02-01 09:49:27 -08:00
Conrad Irwin
3521b50405
vim: Fix , and ; in visual mode ( #7230 )
...
Release Notes:
- vim: Fixed , and ; in visual mode
([#7182 ](https://github.com/zed-industries/zed/issues/7182 )).
2024-02-01 10:13:30 -07:00
Mikayla Maki
d4264cbe4e
Fix scrolling and wrapping in the markdown preview renderer ( #7234 )
...
Release Notes:
- N/A
2024-02-01 09:07:01 -08:00
Dairon M
97be0a930c
Add syntax highlighting and LSP (erlang_lsp) for Erlang ( #7093 )
...
This pull request implements support for the [Erlang
Language](https://erlang.org/ ).
**It adds:**
* [tree-sitter-erlang](https://github.com/WhatsApp/tree-sitter-erlang )
grammar
highlights (Licensed under Apache-2 from WhatsApp which is compatible
with Zed licensing model), folds and indents
* Erlang file icon based on the [official
one](https://www.erlang.org/doc/erlang-logo.png )
* [erlang_ls](https://github.com/erlang-ls/erlang_ls ) support
Fixes https://github.com/zed-industries/zed/issues/4939 , possibly a
duplicate of https://github.com/zed-industries/zed/pull/7085 with more
features. Suppose @wingyplus wants to join efforts here.
**To complete (out of scope for this PR):**
* Support for the ELP language server from WhatsApp. CC @robertoaloi
* Better indentation handling, need something like
`indentNextLinePattern` in VS Code
**Screenshots:**





Outline:

**Release Notes:**
* Added Erlang Support
([7093](https://github.com/zed-industries/zed/pull/7093 )).
---------
Signed-off-by: Thanabodee Charoenpiriyakij <wingyminus@gmail.com >
Co-authored-by: Thanabodee Charoenpiriyakij <wingyminus@gmail.com >
2024-02-01 18:54:26 +02:00
Thorsten Ball
3107ed847a
lsp: if language server closes stdout/stderr, break loop ( #7229 )
...
Previously we would run these loops indefinitely when a language server
closed its stdout/stderr and the `read_until` returned `0` bytes read.
Easy to reproduce: start Zed with LSP attached, `kill -9` the LSP, see
logs accumulate.
Release Notes:
- Fix high CPU usage when a language server crashes (or closes its
stdout/stderr on purpose).
Co-authored-by: Julia <julia@zed.dev >
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-02-01 17:49:53 +01:00
Kirill Bulatov
944a1f8fb0
Send lsp_types::InitializeParams with Zed version ( #7216 )
...
Based on the great work in
https://github.com/zed-industries/zed/pull/7130 , now sends this data
```
[crates/lsp/src/lsp.rs:588] ClientInfo { name: name.to_string(), version: Some(version.to_string()) } = ClientInfo {
name: "Zed Dev",
version: Some(
"0.122.0",
),
}
```
with every LSP server initialization.
Release Notes:
- Added Zed name and version to LSP InitializeParams requests
2024-02-01 18:39:28 +02:00
Marshall Bowers
47a1ff7df9
markdown_preview: Sort dependencies in Cargo.toml ( #7226 )
...
This PR sorts the dependencies for the `markdown_preview` crate in
alphabetical order.
Release Notes:
- N/A
2024-02-01 11:26:50 -05:00
d1y
b9d5eb17a3
Fix typo ( #7223 )
...
Release Notes:
- N/A
2024-02-01 11:05:51 -05:00
Thorsten Ball
adc7cfb0d3
Fix moving focus to docks when navigating via keybinds ( #7221 )
...
This is a follow-up to #7141 and fixes the focus-switching to docks in
case they haven't been focused before.
We ran into issues when trying to focus a dock, that hasn't been focused
in the app's lifecycle: focus would only flip after the next re-render
(which could be triggered by moving the mouse, for example)
This changes the approach and uses the one we have for `toggle focus`
actions.
Release Notes:
- N/A
Co-authored-by: Piotr <piotr@zed.dev >
Co-authored-by: bennetbo <bennetbo@gmx.de >
2024-02-01 16:28:51 +01:00
thurain
a853a80634
Add YAML file type icon ( #7185 )
...
Add YAML file type icon from
[file-icons/icons](https://github.com/file-icons/icons )
https://github.com/file-icons/icons/blob/master/svg/YAML.svg
Release Notes:
- Added YAML file type icon.
---------
Co-authored-by: d1y <chenhonzhou@gmail.com >
2024-02-01 16:13:07 +02:00
Bennet Bo Fenner
2d41a119b3
markdown: Support alignment for table cells ( #7201 )
...
Just a small improvement as a follow up to @kierangilliam great work on
#6958
Rendering a table specified like this:
```markdown
| Left columns | Center columns | Right columns |
| ------------- |:--------------:| -------------:|
| left foo | center foo | right foo |
| left bar | center bar | right bar |
| left baz | center baz | right baz |
```
Does now look like this (notice the cell alignments):

Release Notes:
- N/A
2024-02-01 15:43:04 +02:00