Marshall Bowers
d3cd5f3ec5
Format theme2
2023-10-30 11:26:30 -04:00
Marshall Bowers
3d8516b25f
Convert all themes
2023-10-30 11:22:04 -04:00
Marshall Bowers
7a66ebae71
Emit modules for each theme
2023-10-30 11:21:33 -04:00
KCaverly
142b94bdd4
Merge branch 'main' of github.com:zed-industries/zed into model_cleanup
2023-10-30 11:07:29 -04:00
KCaverly
f3c113fe02
clean up warnings and fix tests in the ai crate
2023-10-30 11:07:24 -04:00
Marshall Bowers
2879d231b1
Revert changes to themes
2023-10-30 11:06:45 -04:00
Marshall Bowers
3591ffe4a7
Emit all themes at once
2023-10-30 11:04:03 -04:00
Marshall Bowers
b8ae949dbe
Merge branch 'zed2' of github.com:zed-industries/zed into zed2
2023-10-30 10:40:48 -04:00
Marshall Bowers
61cc3b93e3
Factor out ThemePrinter
into its own module
2023-10-30 10:40:46 -04:00
KCaverly
a2c3971ad6
moved authentication for the semantic index into the EmbeddingProvider
2023-10-30 10:02:27 -04:00
Antonio Scandurra
25e882d72a
Remove randomness from GPUI2 block_with_timeout
2023-10-30 12:10:55 +01:00
Kirill Bulatov
b3c3adab50
Port prettier panic fix to gpui2
2023-10-30 13:00:49 +02:00
Kirill Bulatov
bd30ce837d
Do not panic when looking for prettier ( #3182 )
...
Fixes
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1698655595438009
Instead of checking FS, derive the prettier path needed and let prettier
invocation fail in logs instead.
2023-10-30 12:59:46 +02:00
Kirill Bulatov
b46a4b5680
Be more lenient when searching for prettier instance
...
Do not check FS for existence (we'll error when start running prettier),
simplify the code for looking it up
2023-10-30 12:13:58 +02:00
Kirill Bulatov
249bec3cac
Do not panic on prettier search
2023-10-30 12:13:54 +02:00
Kirill Bulatov
f16ff79ff8
Properly log prettier paths
2023-10-30 11:17:11 +02:00
Kirill Bulatov
96bbb5cdea
Properly log prettier paths
2023-10-30 11:14:00 +02:00
Joseph T. Lyons
dd89b2e6d4
Pull duplicate call out of if
-else
block
2023-10-29 13:54:32 -05:00
Joseph T. Lyons
34747bbbbc
Do not call scroll_to
twice
2023-10-29 13:47:02 -05:00
KCaverly
1e8b23d8fb
replace api_key with ProviderCredential throughout the AssistantPanel
2023-10-28 18:16:45 -04:00
KCaverly
558f54c424
added credential provider to completion provider
2023-10-28 16:35:43 -04:00
Joseph T. Lyons
6b65d76014
Port journal to GPUI2
2023-10-28 11:37:25 -04:00
Nathan Sobo
e27427dce8
Merge branch 'gpui2-docs' into zed2
2023-10-27 17:07:28 -06:00
Nathan Sobo
f88ca2e7da
Add docs for window.rs, but still incomplete
2023-10-27 22:29:59 +02:00
Nathan Sobo
ad7c49e4bb
Add doc comments to app.rs
2023-10-27 21:19:48 +02:00
Conrad Irwin
b4225ac82a
Port changes from #3118 to zed2
2023-10-27 13:27:55 +02:00
Conrad Irwin
ba189f2af1
Port changes from #3154 to zed2
2023-10-27 13:24:37 +02:00
KCaverly
7af77b1cf9
moved TestCompletionProvider into ai
2023-10-27 12:26:01 +02:00
Conrad Irwin
67ecc2fe04
Comment out failing gpui2 test
2023-10-27 11:24:23 +02:00
Conrad Irwin
af0c010b4a
Remove deadlock from gpui2 pasteboard
2023-10-27 11:14:13 +02:00
Conrad Irwin
d2ab0d651e
Get cargo test --workspace compiling again
2023-10-27 11:03:30 +02:00
Conrad Irwin
079de6fdf7
Rename last async_iife
2023-10-27 10:56:24 +02:00
Conrad Irwin
4a6a17d866
Merge branch 'main' into zed2
2023-10-27 10:55:15 +02:00
Conrad Irwin
5f5234c5da
Fix fs2 tests
2023-10-27 10:51:36 +02:00
Conrad Irwin
c1904b493b
Fix cargo fmt
2023-10-27 10:44:57 +02:00
KCaverly
ec9d79b6fe
add concept of LanguageModel to CompletionProvider
2023-10-27 08:51:30 +02:00
KCaverly
6c8bb4b05e
ensure OpenAIEmbeddingProvider is using the provider credentials
2023-10-27 08:33:35 +02:00
Nathan Sobo
bcdffc9963
Merge branch 'zed2-views' into zed2
2023-10-26 19:41:59 +02:00
Nathan Sobo
a1c3826858
Add View::update which provides a ViewContext
2023-10-26 19:41:42 +02:00
Conrad Irwin
071e9b4871
Revert entitlements change
2023-10-26 18:27:34 +02:00
Antonio Scandurra
8e3314e680
WIP
2023-10-26 18:17:45 +02:00
Julia
a23e05c20b
Limit language server reinstallation attempts
...
zed2 electric boogaloo
2023-10-26 17:16:04 +02:00
Antonio Scandurra
516236e044
Disable livekit on zed2
2023-10-26 17:15:19 +02:00
Antonio Scandurra
637cff3ebd
WIP
2023-10-26 17:15:19 +02:00
Julia
8db3b3b4ca
Limit language server reinstallation attempts
2023-10-26 17:14:34 +02:00
Joseph T. Lyons
98d03f6e7a
Revert "Add activity_indicator2"
...
This reverts commit 88a3a57789
.
2023-10-26 17:13:40 +02:00
Marshall Bowers
560e115656
Pull syntax colors from JSON theme
2023-10-26 17:06:05 +02:00
Marshall Bowers
973ca8d4f0
ui2: Remove dependency on theme
crate
2023-10-26 16:50:04 +02:00
Marshall Bowers
692aeff263
ui2: Remove dependency on settings
crate
2023-10-26 16:50:04 +02:00
Joseph T. Lyons
88a3a57789
Add activity_indicator2
2023-10-26 16:49:39 +02:00
Marshall Bowers
61694bba6a
Remove unneeded constructors for stories
2023-10-26 16:46:49 +02:00
Max Brunsfeld
65045b9c52
Get remaining language2 tests passing
2023-10-26 16:38:50 +02:00
Max Brunsfeld
0eae962abf
Represent theme's syntax colors with string keys
...
Co-authored-by: Marshall Bowers <marshall@zed.dev>
2023-10-26 16:38:50 +02:00
Marshall Bowers
a569c82492
Merge branch 'zed2' of github.com:zed-industries/zed into zed2
2023-10-26 15:59:21 +02:00
Marshall Bowers
ed233d583f
ui2: Remove ElementExt
trait
2023-10-26 15:59:18 +02:00
Max Brunsfeld
b3ad8c1c3e
Get most of the language2 tests passing
...
Co-authored-by: Conrad <conrad@zed.dev>
2023-10-26 15:57:12 +02:00
Max Brunsfeld
3cc91e5742
Add missing seed variable for gpui2 test macro
...
Co-authored-by: Conrad <conrad@zed.dev>
2023-10-26 15:57:12 +02:00
Marshall Bowers
6784ccd9fe
Merge branch 'zed2' of github.com:zed-industries/zed into zed2
2023-10-26 15:54:48 +02:00
Marshall Bowers
1887f3b594
Rename S
type to V
2023-10-26 15:54:43 +02:00
Max Brunsfeld
8bc2071414
Fix gpui2 bugs
...
* Compile error for tests that take StdRng
* Dynamic type dowcasting error when emitting events
* Slot error when dropping handles
Co-authored-by: Conrad <conrad@zed.dev>
2023-10-26 15:54:19 +02:00
Antonio Scandurra
58e8012d8c
Make zed2 compile again
2023-10-26 15:45:30 +02:00
Marshall Bowers
8a70ef3e8f
Remove unused state_type
2023-10-26 15:45:08 +02:00
Marshall Bowers
eb19071d84
ui2: Clean up take
s
2023-10-26 15:44:39 +02:00
Marshall Bowers
7b4a895ab9
ui2: Clean up drain
s
2023-10-26 15:41:29 +02:00
Marshall Bowers
d62c51a4b8
Merge branch 'gpui2-element-renderer' into zed2
2023-10-26 15:23:02 +02:00
Marshall Bowers
fccc4ca85c
Initialize element before layout
2023-10-26 15:22:48 +02:00
Marshall Bowers
42095f0673
Remove debug from derive Component proc macro
2023-10-26 15:22:38 +02:00
Marshall Bowers
88ef74ec8f
Checkpoint: Compiling after view type removal
2023-10-26 15:20:38 +02:00
Max Brunsfeld
6fe393db2a
Fix compile errors with lsp2
...
Co-authored-by: Jospeh <joseph@zed.dev>
2023-10-26 14:48:04 +02:00
Max Brunsfeld
69e5ecc015
Enable client tests
...
* implement Executor::advance_clock
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Kyle <kyle@zed.dev>
Co-authored-by: Joseph <joseph@zed.dev>
2023-10-26 14:44:13 +02:00
Marshall Bowers
c9c9db903d
Fix Component derive macro
2023-10-26 14:20:25 +02:00
Julia
4539cef6d7
Capture language server stderr during startup/init and log if failure ( #3175 )
...
Gives us some more debugging information
Release Notes:
- N/A
2023-10-26 14:17:29 +02:00
KCaverly
ca82ec8e8e
fixed truncation error in fake language model
2023-10-26 14:05:55 +02:00
Julia
0eafb8886d
zed2: Capture language server stderr during startup/init and log if failure ( #3176 )
...
zed2 electric boogaloo
Release Notes:
- N/A
2023-10-26 13:59:04 +02:00
Kirill Bulatov
27d2accb51
Fix the formatting
2023-10-26 13:52:04 +02:00
Kirill Bulatov
0a04c5734b
Update mouse position during file drag and drop
2023-10-26 13:50:35 +02:00
Julia
8a0fb668f7
Capture language server stderr during startup/init and log if failure
...
zed2 electric boogaloo
2023-10-26 13:50:24 +02:00
Nathan Sobo
f4cff69729
WIP: Macro not working fully yet
2023-10-26 13:18:58 +02:00
Max Brunsfeld
a4b7e3c9f6
Merge branch 'zed2-hangs' into zed2
2023-10-26 12:48:35 +02:00
Conrad Irwin
065d26f5b2
Get RPC2 tests passing
...
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Kyle <kyle@zed.dev>
2023-10-26 12:47:37 +02:00
Nathan Sobo
0285284ae1
Rename IntoAnyElement trait to Component
2023-10-26 12:46:52 +02:00
Nathan Sobo
8ecfea55cd
Replace derive Element with derive IntoAnyElement everywhere
2023-10-26 12:38:23 +02:00
Julia
170ebd8221
Capture language server stderr during startup/init and log if failure
2023-10-26 12:29:22 +02:00
Nathan Sobo
315744ec20
Add derive macro for IntoAnyElement
2023-10-26 12:20:46 +02:00
Antonio Scandurra
06c22206af
Add install_cli2
...
Co-authored-by: Mikayla <mikayla@zed.dev>
Co-Authored-By: Kirill <kirill@zed.dev>
2023-10-26 12:09:54 +02:00
Antonio Scandurra
6172cd9015
Merge branch 'zed2-room' into zed2
2023-10-26 11:57:11 +02:00
Antonio Scandurra
3bcae6d7de
Add call2
...
Co-Authored-By: Kirill Bulatov <kirill@zed.dev>
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2023-10-26 11:56:34 +02:00
Nathan Sobo
927278e20d
Remove IntoAnyElement bound from Element trait
2023-10-26 11:49:36 +02:00
Conrad Irwin
71ad3e1b20
Add rpc2
2023-10-26 11:48:25 +02:00
Conrad Irwin
693246ba26
Fix fs2 import on zed
2023-10-26 11:41:15 +02:00
Conrad Irwin
b875be9689
Fix settings2 tests
2023-10-26 11:39:32 +02:00
Conrad Irwin
07b9ec29e6
Revert "Fix settings2 crate tests"
...
This reverts commit 6e9c779c51
.
2023-10-26 11:33:58 +02:00
Nathan Sobo
db15db45ce
WIP
2023-10-26 11:31:47 +02:00
Conrad Irwin
6e9c779c51
Fix settings2 crate tests
2023-10-26 11:27:23 +02:00
Kirill Bulatov
483ac9491a
Start fixing room2
2023-10-26 11:27:12 +02:00
Conrad Irwin
6cf7d0b81c
Fix macro some more
2023-10-26 11:27:03 +02:00
Conrad Irwin
6185c935a6
Fix small bugs in gpui2::test
2023-10-26 11:23:07 +02:00
Nathan Sobo
45a8aea0f0
Make FnOnces that render elements IntoAnyElement
2023-10-26 11:21:42 +02:00
KCaverly
3447a9478c
updated authentication for embedding provider
2023-10-26 11:18:16 +02:00
Nathan Sobo
db7d12f628
WIP
2023-10-26 10:59:27 +02:00