Antonio Scandurra
0dab92d2f6
Init env_logger in the editor crate for tests only
2021-11-12 17:01:57 +01:00
Max Brunsfeld and Nathan Sobo
837244e938
Start language servers based on buffers' languages
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-11-02 17:41:01 -07:00
Max Brunsfeld
174efb1a04
Add an integration test for replicating buffer's diagnostics
2021-11-02 14:57:24 -07:00
Max Brunsfeld and Nathan Sobo
7270358c7c
Move protobuf logic from buffer crate to language crate
...
This will enable us to add operations that only pertain to the language crate.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-11-01 14:05:19 -07:00
Max Brunsfeld and Antonio Scandurra
9cc3433d20
Add a facility for delaying quit until critical tasks finish
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
2021-11-01 11:57:31 -07:00
Antonio Scandurra
a6d95b9652
WIP
2021-10-26 19:42:40 +02:00
Max Brunsfeld
2be859951b
Start work on a test for worktree handling LSP diagnostics
2021-10-25 21:42:55 -07:00
Max Brunsfeld
5a0b7ea21f
Merge remote-tracking branch 'origin/main' into lsp
2021-10-25 16:24:08 -07:00
Max Brunsfeld and Nathan Sobo
952567f533
Add a fake lsp server
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-10-25 15:28:40 -07:00
abc8cbbeb4
Get a basic end-to-end test for rust-analyzer integration working
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2021-10-25 18:11:52 +02:00
Antonio Scandurra
a24f3a2676
Don't send notifications or requests until LSP is initialized
2021-10-25 12:29:28 +02:00
f6b1cc5830
Start on integrating rust-analyzer
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2021-10-21 16:26:37 +02:00
6d8aa9f7d8
Assign new file handles on buffers when their files change on disk
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-10-21 13:08:54 +02:00
Max Brunsfeld
3f96f0aa6f
Remove unnecessary dependencies in buffer and language crates
2021-10-21 09:40:50 +02:00
Max Brunsfeld
34cda9fe9b
Extract a language crate
2021-10-20 22:51:40 +02:00
Max Brunsfeld and Nathan Sobo
71ed81bc93
Ensure that autoindent task yields frequently to respect cancellation
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-10-11 11:25:15 -07:00
14e9b03c52
Flip the dependency between editor and theme
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2021-10-05 19:21:13 +02:00
Antonio Scandurra
43bb8d28aa
Extract theme_selector into its own crate
2021-10-05 15:38:25 +02:00
Antonio Scandurra
ce077ebc8e
Extract people_panel into its own crate
2021-10-05 14:36:38 +02:00
Antonio Scandurra
ac46768302
Extract file_finder into its own crate
2021-10-05 14:30:56 +02:00
Antonio Scandurra
436c408433
Extract chat_panel into its own crate
2021-10-05 14:23:45 +02:00
Antonio Scandurra
2db30f40ba
Extract project_panel into its own crate
2021-10-05 14:19:57 +02:00
Antonio Scandurra
3dc173cf40
Move workspace module into its own crate
2021-10-05 13:49:10 +02:00
Antonio Scandurra
a70a4edcaa
Extract theme into its own crate
2021-10-05 11:14:30 +02:00
Antonio Scandurra
6cdcb4fa79
Move sidebar-specific code out of Workspace
2021-10-05 10:59:20 +02:00
Max Brunsfeld and Nathan Sobo
06a44e9171
Move ChannelList, UserStore into client crate
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-10-04 17:30:11 -07:00
Max Brunsfeld and Nathan Sobo
95c15b11b1
Rename rpc_client -> client
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-10-04 17:14:21 -07:00
Max Brunsfeld and Nathan Sobo
95010ee295
Rename worktree crate to project, pull in Project
...
Also, move the high-level fuzzy mathcing functions in
zed::fuzzy into the fuzzy crate so that project can
use them.
This required defining a 'PathMatchCandidateSet' trait
to avoid a circular dependency from fuzzy to worktree.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-10-04 16:45:05 -07:00
Max Brunsfeld and Nathan Sobo
4e31762075
Move editor into its own crate
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-10-04 15:23:10 -07:00
Nathan Sobo and Max Brunsfeld
8e0cb6bec3
Rename zrpc to rpc
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2021-10-04 13:28:00 -06:00
Nathan Sobo and Max Brunsfeld
2ebd2723de
Extract worktree, rpc_client, and util crates
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2021-10-04 13:07:35 -06:00
Antonio Scandurra
c91d096528
Pull out buffer into its own crate
2021-10-04 16:50:12 +02:00
Antonio Scandurra
50a6fc5648
Extract a clock subcrate for logical clocks
2021-10-04 14:34:02 +02:00
Nathan Sobo and Max Brunsfeld
76bd0d590c
Extract fuzzy module to its own crate
...
We still have a fuzzy module in the zed crate with some app-specific logic.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2021-10-01 17:08:19 -06:00
Nathan Sobo and Max Brunsfeld
1e59e9f3a8
Extract sum_tree to its own crate
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2021-10-01 15:55:21 -06:00
Max Brunsfeld
3ee228d2e8
Use published prost crates
...
The previous version of prost didn't build on nightly rust.
2021-09-30 15:37:04 -07:00
Max Brunsfeld and Antonio Scandurra
9d2380fa52
Start work on compressing RPC messages
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
2021-09-23 18:26:42 +02:00
Antonio Scandurra
057c1a7a22
Re-send pending messages after reconnecting
2021-09-16 16:23:43 +02:00
Nathan Sobo and Max Brunsfeld
c35d8f969c
Switch to new resolution system in ThemeRegistry
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2021-09-15 12:56:20 -06:00
Nathan Sobo
a661818afb
Log panics when not attached to a pty
...
Hopefully this will give us better forensics if we panic in production.
2021-09-15 04:51:22 -06:00
Antonio Scandurra and Nathan Sobo
d65eb7f204
Authenticate via the browser if keychain credentials are invalid
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-15 11:45:08 +02:00
Nathan Sobo and Max Brunsfeld
e541e06cdc
WIP: Clear cached credentials if authentication fails
...
Still need to actually handle an HTTP response from the server indicating there was an invalid token.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2021-09-14 19:19:11 -06:00
Antonio Scandurra
614b16e79b
Start on image rendering
2021-09-14 16:48:44 +02:00
Antonio Scandurra
c7f0983acd
Bundle and use Inconsolata v2.012
...
There's a newer version of the font available but ligatures seem
broken googlefonts/Inconsolata#58 and googlefonts/Inconsolata#52 .
As part of this commit I also upgraded rust-embed to use the new
exclusion feature, which allows us to skip embedding OS files like
`.DS_Store`.
2021-09-04 17:02:20 +02:00
Antonio Scandurra and Max Brunsfeld
2d1d6daeb8
Use macOS API to retrieve the local timezone
...
The `time` crate currently doesn't have a reliable way to get that.
In the future, `NSSystemTimeZoneDidChangeNotification` could be
used to keep the cached timezone up-to-date.
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2021-09-02 19:15:05 +02:00
Antonio Scandurra and Nathan Sobo
b5c3798c39
Make scrolling up in chat panel smoother
...
This increases the threshold at which we start loading new messages
as well as the amount of messages we get back from the server every
time we fetch.
Also, we restructured the seed binary to use the methods in `Db` to
generate seed data and added random chat messages.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-02 16:05:34 +02:00
Max Brunsfeld
00d3e24c94
Indicate the key-path to the error when failing to load a theme
2021-08-26 15:06:05 -07:00
Max Brunsfeld
f1defa8991
WIP
2021-08-25 15:22:14 -07:00
Antonio Scandurra
b6a91d0c0c
Move LineWrapper into gpui
2021-08-25 10:43:54 +02:00
Nathan Sobo
9f69d8ce2b
WIP: Move sum_tree module into gpui so we can use it in List
2021-08-20 16:18:39 -06:00