Commit Graph
5765 Commits
Author SHA1 Message Date
Antonio Scandurra 1f47ff85de Move more window-specific methods from AppContext to WindowContext 2023-04-14 10:29:35 +02:00
Antonio Scandurra f864787bbd Fix window activation 2023-04-14 08:24:01 +02:00
Antonio ScandurraandNathan Sobo 6522209e7d Avoid passing cx when emitting from CallbackCollection
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-04-13 16:53:44 +02:00
Antonio Scandurra c365bc4ea2 Reimplement AppContext::handle_focus_effect 2023-04-13 16:21:39 +02:00
Antonio Scandurra f7dafa382a Fix window refreshing 2023-04-13 12:19:11 +02:00
Antonio Scandurra 6a979c3e5e Start removing some warnings 2023-04-13 12:04:37 +02:00
Antonio Scandurra c807aab302 Uncomment List tests and fix related problems in WindowContext 2023-04-13 12:01:18 +02:00
Nathan Sobo c1c7d6fee5 WIP: Compiling, many warnings, haven't tested 2023-04-12 12:54:24 -06:00
Nathan Sobo d5629c7183 WIP 2023-04-12 12:38:26 -06:00
Nathan Sobo 169d6bf675 WIP 2023-04-12 12:22:26 -06:00
Nathan Sobo f5a86aecdc WIP 2023-04-12 12:13:35 -06:00
Nathan Sobo dfc87bdf43 wip 2023-04-12 10:28:53 -06:00
Nathan Sobo d8eb1ac343 WIP 2023-04-12 10:07:17 -06:00
Antonio Scandurra 5f04261450 WIP 2023-04-12 15:55:43 +02:00
Nathan Sobo 0316747904 WIP 2023-04-12 06:51:03 -06:00
Nathan Sobo 082bbe5e59 WIP 2023-04-11 21:56:37 -06:00
Nathan Sobo ec73862972 WIP 2023-04-11 18:48:00 -06:00
Nathan Sobo fabf89a1b1 WIP 2023-04-11 18:21:56 -06:00
Nathan Sobo bda9f27f31 WIP 2023-04-10 17:27:47 -06:00
Nathan Sobo 596940d986 WIP: Everything shredded 2023-04-10 16:10:32 -06:00
Nathan Sobo 722f47dcd1 WIP 2023-04-08 08:01:05 -06:00
Nathan Sobo 075a661b74 WIP 2023-04-08 06:43:39 -06:00
Nathan Sobo 5e79ca0625 Merge AppContext impl blocks 2023-04-07 11:54:08 -06:00
Nathan Sobo 45c1106140 Don't export platform::* from gpui
I'd like to avoid cluttering the top-level namespace with all the platform-
specific types.
2023-04-07 11:45:53 -06:00
Joseph T. Lyons cd9842186e Merge pull request #2364 from zed-industries/put-backtrace-on-a-newline-when-reporting-panics
Put backtrace on a new line when reporting panics
2023-04-07 12:46:53 -04:00
Joseph Lyons d18e8b8f72 Put backtrace on a new line when reporting panics 2023-04-07 12:12:18 -04:00
Joseph T. Lyons 0713ecedb3 Merge pull request #2363 from zed-industries/add-copy-path-commands
Update copy path commands
2023-04-07 12:09:39 -04:00
Joseph Lyons 6614f8f635 Update copy path commands 2023-04-07 02:36:56 -04:00
Nathan Sobo f9dfc9ad08 Fix broken test due to trimmed trailing whitespace during formatting 2023-04-06 16:10:39 -06:00
Nathan Sobo 5839c594d8 Fix formatting 2023-04-06 15:54:44 -06:00
Nathan Sobo d937660683 Merge MutableAppContext into AppContext
There may have been a good reason for the difference at some point, or I was
still learning Rust. But now it's just &mut AppContext vs &AppContext.
2023-04-06 15:49:03 -06:00
Joseph Lyons 1941ac77fa Add close items to left and right 2023-04-06 03:33:38 -04:00
Julia 0f6c7f7292 Merge pull request #2360 from zed-industries/maybe-fix-lock-screen-crash
Hesitant possible fix for lock screen crash
2023-04-05 14:10:40 -04:00
Julia bd40c501d5 Hesitant possible fix for lock screen crash
This may cause issues in this situations but as I cannot repro this I'm
making the call to try something and see how it plays out
2023-04-05 14:01:54 -04:00
Joseph Lyons bbdb7a933b v0.82.x dev 2023-04-05 13:00:52 -04:00
Julia 801aae5870 Prioritize displaying right statusbar items overtop left items if needed 2023-04-05 12:08:52 -04:00
Mikayla Makiandantonio b36325e862 Add additional case to range invalidation test
co-authored-by: antonio <antonio@zed.dev>
2023-04-05 08:52:56 -07:00
Mikayla Makiandantonio 00d2f4f732 Invalidate copilot suggestion on backspaces
Restore an observation on initialization

co-authored-by: antonio <antonio@zed.dev>
2023-04-05 08:48:39 -07:00
Antonio Scandurra e0a771d700 Honor ZED_RELEASE_CHANNEL environment variable only in development
We don't want people to be able to override the release channel in
production.
2023-04-05 15:55:44 +02:00
Antonio Scandurra 85fd8db65e Disable Copilot entirely for stable releases
This lets us remove the logic for detecting whether a user is a staff
member.
2023-04-05 15:49:59 +02:00
Antonio Scandurra 96b9a6a50a Use the cursor variable instead of selection.start 2023-04-05 14:15:58 +02:00
Antonio Scandurra edda799aa8 📝 2023-04-05 14:14:43 +02:00
Antonio Scandurra ad8f56713a Indent instead of accepting suggestion if cursor is in leading whitespace 2023-04-05 14:09:09 +02:00
Antonio Scandurra 3b4979f08b 💄 2023-04-05 13:59:19 +02:00
Antonio Scandurra 45c8b1ff8c Update visible suggestion if edit occurs outside the current editor 2023-04-05 11:06:14 +02:00
Antonio Scandurra 963d2209df Prevent tab from accepting a copilot suggestion when it isn't visible 2023-04-05 10:31:11 +02:00
Antonio Scandurra f9f300ca61 Refresh copilot suggestions when accepting a completion 2023-04-05 10:28:00 +02:00
Antonio Scandurra 3b801f26c9 Refresh copilot suggestions when undoing/redoing 2023-04-05 10:27:19 +02:00
Antonio Scandurra cb2affcf3b Capture copilot behavior in a editor unit test 2023-04-05 10:26:43 +02:00
Antonio Scandurra 41cc546733 Merge pull request #2353 from zed-industries/more-intuitive-autocomplete-with-copilot
Match VS Code's behavior when deciding whether to show Copilot suggestion
2023-04-04 20:03:07 +02:00