Antonio Scandurra
3d4dbf3140
Maintain collaborators in UserStore
2021-09-20 15:05:41 +02:00
Antonio Scandurra
f2825cceba
Start on Presence as the backing model for the people panel
2021-09-17 16:18:41 +02:00
Nathan Sobo
7d59b2d861
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
Max Brunsfeld
84d4bb6186
Introduce HttpClient trait, use it to fetch avatars in UserStore
...
* Add a FakeHttpClient for tests
2021-09-14 13:42:44 -07:00
Nathan Sobo
f0019e3725
WIP
2021-09-14 12:29:56 -06:00
428c491542
WIP: Start on rendering avatars
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-14 19:21:03 +02:00
Antonio Scandurra
c4dac3c6b1
Open a window with an empty buffer when launching zed with no args
2021-09-07 15:00:24 +02:00
Antonio Scandurra
94959d18c4
Load embedded fonts when initializing settings
2021-09-06 14:08:42 +02:00
Antonio Scandurra
00f6bdcb24
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
3bb5610ad1
Overhaul handling of font families
...
* Specify font families in the theme.
* Load fonts eagerly when loading themes, instead of loading
them lazily when rendering.
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-08-26 15:06:00 -07:00
Nathan Sobo and Max Brunsfeld
8f86fa1ccd
Associate messages with their sender, fetching senders if necessary
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2021-08-25 14:20:03 -06:00
Antonio Scandurra
bb570d3702
Init chat_panel
2021-08-24 17:54:25 +02:00
Nathan Sobo and Antonio Scandurra
9b636fb81e
Add "Zed > Sign" In menu item
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
2021-08-24 08:29:36 -06:00
Max Brunsfeld
5ecedd894d
Add ChannelList to AppState
2021-08-23 15:03:45 -07:00
Nathan Sobo
86effd64a2
Get project compiling with type-safe actions
2021-08-22 21:02:48 -06:00
5338b30c00
Remove remaining instances of router
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2021-08-19 19:38:17 +02:00
Nathan Sobo
3f5db7284d
Remove shared_worktrees map from ClientState
...
Each worktree instance now handles its own messages.
2021-08-18 19:16:40 -06:00
Nathan Sobo and Max Brunsfeld
4d947580b1
Reload current theme on cmd-k shift-T
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2021-08-04 15:52:23 -06:00
Nathan Sobo
200e278bc9
💄
2021-08-02 20:07:48 -06:00
Max Brunsfeld and Nathan Sobo
b30d0daabf
Add a theme picker
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-08-02 14:55:27 -07:00
Max Brunsfeld
92353b6967
Start work on allowing variables in themes
2021-07-30 17:28:22 -07:00
Max Brunsfeld
7260442d42
Move the fs module out of worktree
2021-07-13 15:40:11 -07:00
391ad489ff
Rename zed-rpc to zrpc
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2021-07-13 18:22:00 +02:00
Max Brunsfeld and Nathan Sobo
2a90347b82
Store an Fs on Workspace, pass it to each Worktree
...
Push test-only worktree behavior down into the Fs,
via a `watch` method which provides fs events.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-07-12 17:26:14 -07:00
Max Brunsfeld
eeebc761b6
Restructure Peer to handle connections' messages in order
2021-07-09 16:27:34 -07:00
Nathan Sobo
bbf803d7dc
Store a reference to the LangageRegistry on the Worktree
2021-06-29 20:07:37 -06:00
Antonio Scandurra
d59267a7ef
Move remote module from workspace to worktree
2021-06-25 12:14:04 +02:00
Antonio Scandurra
02321af08a
Respond to proto::OpenBuffer requests
2021-06-23 16:20:02 +02:00
Max Brunsfeld
7a88e44264
Add menu command to join worktree using URL on clipboard
...
Introduce rpc::Client struct that wraps zed_rpc::Peer
2021-06-17 20:42:36 -07:00
Antonio Scandurra and Nathan Sobo
9de4d73ffb
Move RpcClient to zed_rpc and rename it to Peer
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-06-16 18:01:26 +02:00
Antonio Scandurra
8112efd522
Replace callback-based requests/messages with streams
2021-06-16 14:26:54 +02:00
Max Brunsfeld
8b66e0aa7e
WIP - Allow RpcClient to register handlers for incoming messages
2021-06-15 17:22:48 -07:00
Max Brunsfeld and Nathan Sobo
db3e01a12c
Start work on a login command
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-06-07 18:15:11 -07:00
Max Brunsfeld
f87aa14ebf
Fix error when running workspace:open command
2021-05-28 16:34:28 -07:00
Max Brunsfeld
f6e2754494
Rename context parameters to cx in main.rs
2021-05-28 15:10:39 -07:00
Max Brunsfeld
8340958b33
Convert query capture indices to style ids
...
* Introduce a Theme struct as a new part of the app's settings
* Store on each Language a ThemeMap, which converts the capture ids
from that language's highlight query into StyleIds, which identify
styles in the current Theme.
* Update `highlighted_chunks` methods to provide StyleIds instead of
capture ids.
2021-05-24 16:44:14 -07:00
2f378be1a8
Introduce LanguageRegistry object
...
* Include it, along with settings in `OpenParams` grouped under a new struct called `AppState`
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-05-22 12:34:35 +02:00
Nathan Sobo
e55abc4220
Silence warning about binary name
2021-04-15 20:28:20 -06:00
Max Brunsfeld and Nathan Sobo
86c0f41c9e
Move set_menus method to MutableAppContext
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-04-12 14:38:18 -07:00
Max Brunsfeld and Nathan Sobo
41358f34e3
Set up menu handler in App::new
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-04-12 14:25:00 -07:00
Max Brunsfeld and Nathan Sobo
2332b7e06b
Move open command handler to workspace global action
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-04-12 14:18:24 -07:00
Max Brunsfeld and Nathan Sobo
3247f49954
Allow menu items to specify arguments for their commands
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-04-12 14:09:49 -07:00
Nathan Sobo
b9b511148b
Make gpui::platform module private
2021-04-10 00:22:45 -06:00
Nathan Sobo
448dace281
Pass the on_finish_launching callback to Platform::run
2021-04-09 21:33:17 -06:00
Max Brunsfeld
079050541f
Get app running and test passing after gpui App+Platform restructure
2021-04-09 16:56:32 -07:00
Nathan Sobo and Max Brunsfeld
4ecc17b1bb
WIP: Make App the only entry point from main
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2021-04-09 13:38:09 -06:00
Max Brunsfeld
7ebcbdc0cb
Implement File > Open menu item
2021-04-08 22:25:54 -07:00
Max Brunsfeld
334de06322
Create an API for assigning the menubar contents
2021-04-08 16:01:36 -07:00
Antonio Scandurra and Nathan Sobo
9178e91cc0
Extract platform-dependant FontSystem
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-03-24 16:51:28 +01:00
Nathan Sobo and Antonio Scandurra
f5df3681f8
Add file_finder module
...
Still need to wire up key bindings to make it toggle.
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
2021-03-21 10:50:07 -06:00