Commit Graph
5480 Commits
Author SHA1 Message Date
K Simmons 98499db694 Switch action dispatch to use MutableAppContext parent utilities and delete parent map from presenter 2022-08-09 17:09:28 -07:00
K Simmons 20770e7240 Event dispatch moved to MutableAppContext. No longer dispatches from presenter. Not currently handling key presses properly 2022-08-09 17:09:16 -07:00
Mikayla Maki a9b5f8e9c9 Merge pull request #1485 from zed-industries/fullscreen-workspace-title-padding
Fullscreen workspace title padding
2022-08-09 17:02:26 -07:00
Mikayla MakiandKeith 0c0e66dbfc changed name of subscription mapping and moved out to file
Co-authored-by: Keith <keith@zed.dev>
2022-08-09 16:59:13 -07:00
ForLoveOfCatsandMikayla f2ed63f6a3 Jankily adjust left padding on workspace title in fullscreen
This could seriously be done better

Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-09 19:03:32 -04:00
ForLoveOfCatsandMikayla 67baec6641 Invalidate view when entering/exiting fullscreen
This is required for `render_titlebar` to eventually adapt to
fullscreen status to affect the size of left padding on workspace
name to account for the traffic lights presence/absence

Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-09 19:03:32 -04:00
ForLoveOfCatsandMikayla 27a72ec951 Refactor notification/observation callback pattern in MutableAppContext
Pull out duplicate code and clarify some misc behavior. Some of this
existing API feels like it's probably incorrect but that needs more
thorough investigation

Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-09 19:03:25 -04:00
ForLoveOfCatsandMikayla 3e64a78d7e Route whether or not a window is fullscreen down into GPUI
This still needs to be able to invalidate things to be useful
but it's a good first cut at just making the information available
to platform-agnostic code

Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-09 19:03:12 -04:00
Julia 3d0bfff0e9 Merge pull request #1481 from zed-industries/trigger-search-automatically
Automatically trigger project search to occur when deploying
2022-08-08 16:04:06 -04:00
ForLoveOfCats 7a4db7e505 Automatically trigger project search to occur when deploying 2022-08-08 13:17:19 -04:00
Nate Butler 4338f0571c Merge pull request #1476 from zed-industries/update-default-theme
Use One Dark as the default theme.
2022-08-05 13:07:03 -04:00
Antonio Scandurra 814de56222 Merge pull request #1474 from zed-industries/compact-project-panel
Make project panel more compact
2022-08-05 18:59:54 +02:00
Nate Butler 10888ba608 Use One Dark as the default theme. 2022-08-05 12:44:34 -04:00
Mikayla Maki 51f8bae91a Fixed lack of scrolling 2022-08-05 09:18:24 -07:00
Antonio Scandurra df8d387b35 Make project panel more compact
This ensures more deeply-nested entries can be displayed without
needing to show scrollbars. Adding scrollbars introduces UX issues
when creating/renaming files because there are two scroll layers:
the outer project panel AND the editor.

Sublime Text and Atom dodged this issue by not displaying an inline
editor and showing it as a modal instead. VS Code shows the editor
inline but has a much more compact visualization. I think we should
copy VS Code.
2022-08-05 16:34:26 +02:00
Mikayla Maki d4ee886732 Merge branch 'main' of github.com:zed-industries/zed 2022-08-04 20:59:22 -07:00
Mikayla Maki d5d2beeb03 Fixed terminal clear screen 2022-08-04 20:59:09 -07:00
Max Brunsfeld 2a715f979b Merge pull request #1473 from zed-industries/type-definition-rpc-endpoint
Handle RPC requests for type definitions on server and host
2022-08-04 15:16:18 -07:00
Max Brunsfeld ac140c478e Handle RPC requests for type definitions on server and host 2022-08-04 15:10:46 -07:00
Max Brunsfeld c33d5096d8 0.50.0 2022-08-04 12:44:31 -07:00
Mikayla Maki 7a818c1a61 Merge pull request #1471 from zed-industries/terminal-context-menu
Terminal context menu
2022-08-04 12:08:24 -07:00
Mikayla Maki 0a44ce5c10 Merge pull request #1467 from zed-industries/new-button
Add discoverable 'New' button
2022-08-04 12:02:57 -07:00
Mikayla Maki 4ce562ee0b Merge branch 'new-button' into terminal-context-menu 2022-08-04 12:01:51 -07:00
Julia b6be488b46 Merge pull request #1468 from zed-industries/lsp-initialization-options
Add ability to provide custom LSP server initialization options
2022-08-04 15:01:28 -04:00
Mikayla Maki ab4c242507 update icon 2022-08-04 11:58:55 -07:00
Mikayla Maki 996a368aea Merge branch 'main' into new-button 2022-08-04 11:54:40 -07:00
Nate Butler d85bace563 Add plus icons 2022-08-04 14:51:55 -04:00
ForLoveOfCats 4e5bcdc9ce Add ability to provide custom LSP server initialization options 2022-08-04 14:47:06 -04:00
Max Brunsfeld 7f348ca9e3 Merge pull request #1469 from zed-industries/distinctive-marked-text
Tweak "marked ranges" test helper so that it can be used in documents with braces and brackets
2022-08-04 11:39:04 -07:00
Max Brunsfeld 4ed5b05e7d Add docs to some EditorTestContext methods that use marked text 2022-08-04 11:25:09 -07:00
Mikayla Maki cc06ca84fd Added context menu to terminal 2022-08-04 11:22:09 -07:00
Max Brunsfeld bd8a81def1 Add docs to marked range functions 2022-08-04 11:14:21 -07:00
Max Brunsfeld 8aef95d0c8 Use new marked ranges format whenever we don't need overlapping ranges 2022-08-04 10:23:03 -07:00
Mikayla Maki 30fd73cf70 Checkpoint, not compiling 2022-08-04 10:16:26 -07:00
Mikayla Maki eb4be2e11d Removed icons 2022-08-04 08:42:42 -07:00
Max Brunsfeld 74791f0e12 Use new marked_ranges format in more editor tests 2022-08-03 20:04:47 -07:00
Max Brunsfeld a27d243309 Update vim mode tests to use new marked text format 2022-08-03 17:52:34 -07:00
Mikayla Maki 7f255e6ec0 Added icons to context menu 2022-08-03 16:47:41 -07:00
Max Brunsfeld 8a8a3e0a2a Update marked text helpers to use more distinctive characters for markers 2022-08-03 16:45:16 -07:00
Mikayla Maki 4e4d390783 New button 2022-08-03 15:59:25 -07:00
Mikayla Maki f472c48466 Merge pull request #1466 from zed-industries/alacritty-version-change
Alacritty version change
2022-08-03 15:08:48 -07:00
Mikayla Maki 52da990016 Merge pull request #1465 from zed-industries/render-bug
Fix cell background rendering
2022-08-03 15:06:28 -07:00
Mikayla Maki 8af6738215 Grabbed cargo lock 2022-08-03 15:05:05 -07:00
Mikayla Maki 676e6683c8 Changed alacritty version 2022-08-03 15:04:48 -07:00
Mikayla Maki 89ad342fff Removed debugs 2022-08-03 15:03:03 -07:00
Mikayla Maki 6eef688958 Much better rectangle fiddling 2022-08-03 14:54:45 -07:00
Mikayla Maki 104aacb674 Fixed cursor-over-大 bug 2022-08-03 14:17:25 -07:00
Mikayla Maki 56944c2923 Merge pull request #1464 from zed-industries/lower-latency
Lower terminal latency
2022-08-03 12:21:30 -07:00
Mikayla Maki 74ee99ff41 Reworked loop to lower latency and continue throttling until it's out of events 2022-08-03 12:18:11 -07:00
Max Brunsfeld 3ef9a85cf8 Merge pull request #1462 from zed-industries/crash-on-goto-diagnostic
Fix two crashes related to diagnostics and bugs in mouse-based columnar selection
2022-08-03 12:04:56 -07:00