Commit Graph
9282 Commits
Author SHA1 Message Date
Nathan Sobo fafc29ea06 WIP 2023-05-24 09:38:37 -06:00
Nathan Sobo 6999aaefca WIP 2023-05-24 09:21:50 -06:00
Nathan Sobo 6c05d378e1 WIP 2023-05-24 09:12:16 -06:00
Nathan Sobo 5310b6da60 WIP 2023-05-23 18:16:49 -06:00
Nathan Sobo 50cde5ee41 WIP 2023-05-23 18:04:33 -06:00
Nathan Sobo ffc94fa07a WIP 2023-05-23 15:25:34 -06:00
Nathan Sobo 5b165a609c WIP 2023-05-23 08:52:21 -06:00
Nathan Sobo 75626c771c WIP 2023-05-23 01:56:28 -06:00
Nathan Sobo 60a74a9b3f WIP 2023-05-23 01:52:37 -06:00
Nathan Sobo cc2cac108a WIP 2023-05-23 01:23:01 -06:00
Nathan Sobo b6b499e627 WIP 2023-05-23 00:22:21 -06:00
Nathan Sobo e10499e163 WIP 2023-05-23 00:16:44 -06:00
Nathan Sobo 116e5f499e WIP 2023-05-22 23:43:02 -06:00
Nathan Sobo 2f2061db74 WIP 2023-05-22 23:11:27 -06:00
Nathan Sobo 6fe2c44718 WIP: Stream in completions
Drop dependency on tokio introduced by async-openai and do it ourselves.

The approach I'm taking of replacing instead of appending is causing issues. Need to just append.
2023-05-22 20:28:22 -06:00
Nathan Sobo 2e1780fc3e Parse markdown into an OpenAI chat completion request 2023-05-20 09:43:12 -06:00
Kirill Bulatov f21bc87309 Properly handle WorktreeId 2023-05-19 12:37:36 +03:00
Max Brunsfeld b2a5ea65d2 collab 0.12.4 2023-05-18 14:58:57 -07:00
Max Brunsfeld af44cc19cc Avoid unnecessary code action requests when applying leader updates t… (#2489)
We noticed a huge amount of code actions requests being issued by
followers when applying leader updates. It was caused by a call to
`MultiBuffer::remove_excerpts` with an empty list of excerpts to remove.
This PR fixes that by avoiding emitting spurious events when multibuffer
excerpt manipulation methods are called with empty lists.
2023-05-18 14:52:21 -07:00
Max Brunsfeld 0ba61e19b9 Avoid unnecessary code action requests when applying leader updates to an editor 2023-05-18 14:46:23 -07:00
Mikayla Maki 7d772a4acf Fixed an imprecise join in rejoin room (#2488)
This fixed a pre-existing bug in rejoin room that got expanded to
stalling collab with the new git status feature.

Release Notes:

* N/A
2023-05-18 14:42:59 -07:00
Mikayla Maki dae8bdef76 fmt 2023-05-18 14:31:08 -07:00
Mikayla Maki fced05ea25 Fixed an imprecise join in rejoin room 2023-05-18 14:29:18 -07:00
Max Brunsfeld 39764dc5c1 Improve collab logging (#2487)
This adds some logging to the collab server, to help us identify the
source of the collaboration latency we're seeing in the 0.87 preview
version of zed.
2023-05-18 14:17:17 -07:00
Max Brunsfeld f19a84dfdf collab 0.12.3 2023-05-18 12:27:08 -07:00
Joseph Lyons 2edf8884d6 collab 0.12.2 2023-05-18 12:27:01 -07:00
Max Brunsfeld ca973b874e Log how long it takes to handle each RPC message 2023-05-18 12:24:07 -07:00
Kirill Bulatov 1cb8812d09 Maintain recently opened files history (#2467)
Part of https://github.com/zed-industries/community/issues/351 and
https://github.com/zed-industries/community/issues/1125

Adds navigation history to the search file dialogue:


![image](https://github.com/zed-industries/zed/assets/2690773/01a1d3ea-1328-425a-ac95-2ebdbfcc07ab)

The history is only shown on empty query and gets replaced by the query
results after an input.
Currently, history gets lost between the project restarts.

Release Notes:

* Added a recently opened file list to search file dialogue
2023-05-18 22:06:25 +03:00
Kirill Bulatov dc2bb06214 Add a unit test 2023-05-18 21:53:42 +03:00
Kirill BulatovandMax 5d30032cd1 Show navigation history in the file finder modal
co-authored-by: Max <max@zed.dev>
2023-05-18 21:50:38 +03:00
Kirill Bulatov 912fdd9ac1 Maintain recently opened files history 2023-05-18 21:50:38 +03:00
Julia df2a21a950 Avoid panic in get_injections (#2486) 2023-05-18 13:35:10 -04:00
Julia df8d555a8e Avoid panic in get_injections 2023-05-18 12:23:49 -04:00
Max Brunsfeld 76be94d631 Define empty theme for tests regardless of cargo features (#2485)
This fixes some errors that were happening when running a single crate's
tests, if the test did not enable the `test-support` feature in the
`theme` crate.
2023-05-18 09:14:46 -07:00
Max BrunsfeldandKirill facc88c502 Define empty theme for tests regardless of cargo features
Co-authored-by: Kirill <kirill@zed.dev>
2023-05-18 09:01:38 -07:00
Kirill Bulatov 304c5ae3ee Merge pull request #2484 from zed-industries/kb/unite-dmg-build
Unite dmg build jobs

Follow-up of https://github.com/zed-industries/zed/pull/2472 actually doing the proper thing: allow running dmg builds on PRs if `run-build-dmg` label is attached.
2023-05-18 14:39:41 +03:00
Kirill Bulatov d2f57a1759 Unite dmg build jobs 2023-05-18 13:49:55 +03:00
Max Brunsfeld 72830a4703 Fix crashes when running zed bundled 2023-05-17 16:53:48 -07:00
Max Brunsfeld 7c19f5aa58 Fix release-mode stub for watch_themes 2023-05-17 16:36:06 -07:00
Max Brunsfeld a34fee827e Merge pull request #2448 from zed-industries/setting-store
Separate the settings struct into a set of dynamically-registered setting types
2023-05-17 16:19:09 -07:00
Max Brunsfeld 01007a0c29 Clear buffer font size adjustments when buffer font size setting changes 2023-05-17 16:14:05 -07:00
Max Brunsfeld 91293ddb86 Refresh windows when settings file changes 2023-05-17 16:02:21 -07:00
Max Brunsfeld 0bf36d6c22 Remove unused watched_json file 2023-05-17 16:02:08 -07:00
Max Brunsfeld 5325aec94f Move font size adjustment code to the theme crate 2023-05-17 15:56:32 -07:00
Max Brunsfeld e7f85efbb8 Rename settings::register_setting -> settings::register 2023-05-17 15:06:11 -07:00
Max Brunsfeld 30e678a450 Remove optional path argument when getting settings 2023-05-17 15:05:20 -07:00
Max Brunsfeld 7fbdbffbbc Merge branch 'main' into setting-store 2023-05-17 14:56:35 -07:00
Max Brunsfeld c261a01c7f Define theme/ui text style settings in theme crate 2023-05-17 14:44:59 -07:00
Mikayla Maki 005ea44b18 Merge pull request #2483 from zed-industries/add-scrollbar-settings
Add scrollbars setting
2023-05-17 14:44:08 -07:00
Mikayla Maki 4901d96e9e Add never option to scrollbar settings 2023-05-17 14:19:35 -07:00