Commit Graph
31406 Commits
Author SHA1 Message Date
Antonio Scandurra fa7796a9e8 Fix randomized collaboration tests in language 2022-04-28 10:12:10 +02:00
Max BrunsfeldandKeith Simmons 76e4c4d0f1 Remove Option from Buffer edit APIs
Previously, buffer edits represented empty strings as None
variants of an Option. Now, the edit logic just explicitly
checks for empty strings.

Co-authored-by: Keith Simmons <keith@zed.dev>
2022-04-27 18:00:13 -07:00
Keith Simmons 5051769dd3 Building, but failing test WIP 2022-04-27 17:25:38 -07:00
Max Brunsfeld ab95d49fbe Update the styling of the lsp status indicator 2022-04-27 16:48:33 -07:00
Nathan Sobo a9ee7600fc Trace handling of messages 2022-04-27 15:27:01 -06:00
Nathan Sobo 969b86b9d0 Allow tracing level to be customized 2022-04-27 15:26:54 -06:00
Max Brunsfeld 0a4914f4bd Combine diagnostic status w/ diagnostic message indicators
Improve the indicator styling
2022-04-27 14:25:39 -07:00
Max Brunsfeld 526ec9e283 Start re-styling diagnostic indicator in status bar 2022-04-27 14:25:39 -07:00
Max Brunsfeld c41b4328f6 Update sidebar toggle icons 2022-04-27 14:25:39 -07:00
Max Brunsfeld bcc6c315eb Allow styling sidebar icons and groups in themes 2022-04-27 14:25:39 -07:00
Max Brunsfeld 2922c3c8d5 Move sidebar toggle buttons to the status bar 2022-04-27 14:25:39 -07:00
Max Brunsfeld 782b89d974 Display buffers in order of their path in refactor multibuffers
Previously, they were non-deterministically ordered via a HashMap iterator.
This was causing integration tests to fail spuriously on PRs.
2022-04-27 14:01:37 -07:00
Nathan Sobo 4e2dbaa5a9 Wire up tracing crate to opentelemetry
Still need to

- Set a trace level and target via environment to avoid massive noise from other libraries
- Trace the operations we care about
2022-04-27 11:48:43 -06:00
Nathan SoboandAntonio Scandurra 99a9c1aecb Send telemetry to Honeycomb via GRPC
We updated the core-foundation crates because Tonic (the GRPC crate) relies on a newer version of core foundation to find TLS root certificates.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2022-04-27 09:58:55 -06:00
Nathan Sobo cff0b412ba Introduce opentelemetry to collab
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-04-27 17:01:20 +02:00
Antonio ScandurraandNathan Sobo d567822913 Don't panic when navigation data contains invalid anchors and/or points
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-04-27 16:51:48 +02:00
Antonio ScandurraandNathan Sobo e22b136a50 Clip scroll_top_row before navigating back to it
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-04-27 16:25:26 +02:00
Antonio Scandurra 2529236167 Attempt to automatically sign in after a window has been shown 2022-04-27 13:53:16 +02:00
Antonio Scandurra 6561d732de Make following redirects explicit in HttpClient::get 2022-04-27 13:14:45 +02:00
Nathan Sobo d39756b511 Remove async-std and surf from client
Switch to isahc library. It's not as fancy, but it works and has a smaller footprint.
2022-04-26 21:19:15 -06:00
Nathan SoboandMax Brunsfeld f7ce2932e6 Get db tests passing with Tokio Postgres adaptor
We now run tests that interact with the real database under a Tokio reactor. We make the tests run multi-threaded so we can block on the main thread on database teardown and still make progress actually tearing down the DB.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2022-04-26 13:30:21 -06:00
Antonio Scandurra b9cccbf8a7 Remove remaining async-std dependencies from collab 2022-04-26 19:47:40 +02:00
Nathan Sobo 64c25dce8b Merge remote-tracking branch 'origin/main' into tokio 2022-04-26 11:16:35 -06:00
Nathan SoboandAntonio Scandurra cad80ce355 Get zed.dev working with new collab backend
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2022-04-26 11:15:41 -06:00
Nathan Sobo ce438cb9d0 Merge pull request #916 from zed-industries/sort-themes
Sort themes by light/dark first and then alphabetically
2022-04-26 08:18:29 -06:00
Antonio Scandurra abaf1f3452 Update share icon and swap its posiiton 2022-04-26 14:35:13 +02:00
Antonio Scandurra d032bb6987 Show worktree root names in titlebar and align them left 2022-04-26 13:21:58 +02:00
Antonio Scandurra 1169ce3c71 Sort themes by light/dark first and then alphabetically 2022-04-26 12:09:25 +02:00
Nathan Sobo 22b456b5f5 WIP 2022-04-25 20:21:43 -06:00
Nathan Sobo d4b9bb98b8 Fix compile error 2022-04-25 20:12:32 -06:00
Nathan Sobo 43fb8f9d01 Validate API token for all API routes 2022-04-25 20:10:14 -06:00
Nathan Sobo 1497f49898 WIP 2022-04-25 20:05:09 -06:00
Nathan SoboandMax Brunsfeld c0dbf14f37 Finish adding API routes
We haven't tested them yet.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2022-04-25 17:51:13 -06:00
Max Brunsfeld 104a0e1944 v0.30.0 2022-04-25 16:17:25 -07:00
Max Brunsfeld 45df2e2025 Merge pull request #900 from zed-industries/completion-insert-text
Respect lsp completions' 'insert_text' property when present
2022-04-25 14:36:47 -07:00
Max Brunsfeld a43d10518d Infer completions old ranges based on the syntax tree 2022-04-25 13:14:05 -07:00
Max Brunsfeld 2a221ebf0b Merge pull request #898 from zed-industries/track-window-focus
Focus/blur views when application windows become active/inactive
2022-04-25 08:54:47 -07:00
Nathan Sobo 40e6c79f66 WIP
Continue adding in more API routes
2022-04-24 18:02:14 -06:00
Nathan Sobo 147ec4fd24 WIP: Switch to axum 2022-04-24 11:08:25 -06:00
Nathan Sobo 7e0361f026 WIP 2022-04-24 10:45:20 -06:00
Nathan Sobo d643955766 Only set the cursor style once per mouse move event
This will hopefully prevent some of the intermittent flickering we seem to be seeing.
2022-04-22 18:57:49 -06:00
Nathan Sobo 1c5b6872aa WIP 2022-04-22 18:46:31 -06:00
Max Brunsfeld aca8227e7d Remove duplication between windowDid{Become,Resign}Key callbacks 2022-04-22 15:06:50 -07:00
Max Brunsfeld 22dcaf31e6 Fix double-borrow crash by calling window activated callback asynchronously 2022-04-22 15:01:19 -07:00
Max Brunsfeld 080691ccfa Respect lsp completions' 'insert_text' property when present
Fixes #839
2022-04-22 14:33:13 -07:00
Keith Simmons 0a3ab68c09 Merge pull request #877 from zed-industries/misc-normal-commands
Add inclusive vs exclusive motions to vim mode
2022-04-22 14:25:56 -07:00
Max Brunsfeld ff91709997 Merge pull request #894 from zed-industries/typescript-outline-fixes
Fix missing TypeScript outline entries and breadcrumbs
2022-04-22 14:21:46 -07:00
Max Brunsfeld 71e5de753f Focus/blur views when application windows become active/inactive 2022-04-22 14:18:50 -07:00
Max Brunsfeld 6b73d44d65 Fix missing TypeScript outline entries and breadcrumbs 2022-04-22 13:49:03 -07:00
Max Brunsfeld f9689d1708 Merge pull request #892 from zed-industries/syntax-theme-fixes
Syntax theme fixes
2022-04-22 13:24:31 -07:00