Commit Graph
3296 Commits
Author SHA1 Message Date
ForLoveOfCats d112ed4fc0 Don't scroll to cursor when performing file save 2022-08-12 11:20:18 -04:00
Mikayla Maki f627bcfe14 Make clippy happy 2022-08-11 15:47:56 -07:00
Mikayla Maki 577e2559b3 Merge branch 'main' into ime-stuff 2022-08-11 15:35:42 -07:00
K Simmons f2328c2f23 minor rustfmt fix 2022-08-11 11:35:11 -07:00
K Simmons 3dce18540e clippy fixes for focus change 2022-08-10 16:51:01 -07:00
ForLoveOfCatsandMikayla fbea44bc5c One big cleanup pass of clippy lints
Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-10 16:51:01 -07:00
Keith Simmons 4c746f43b5 Merge pull request #1422 from zed-industries/workspace-child-focus-pane-activation
Add on_child_focus and on_child_blur to View trait
2022-08-10 16:42:01 -07:00
K Simmons 562d389301 Fix workspace 2022-08-10 16:27:45 -07:00
K Simmons 07cab9f3c1 Fix failing tests 2022-08-10 16:26:53 -07:00
Mikayla Maki 8843ef5449 Added env toml so readme db instructions are correct 2022-08-10 15:07:02 -07:00
Julia 7f8c6fc87b Merge pull request #1482 from zed-industries/click-goto-on-mouse-up
Handle Cmd/Shift + Click go-to action on mouse-up instead of mouse-down
2022-08-10 12:03:54 -04:00
K Simmons 3c4879ea84 fix up command palette 2022-08-09 17:15:54 -07:00
K Simmons 78244cf28a Address picker issues 2022-08-09 17:15:54 -07:00
K Simmons 9fcea3e805 Pane focus working. Modals seem broken now 2022-08-09 17:15:54 -07:00
K Simmons 7c91050f23 build fix 2022-08-09 17:15:54 -07:00
K Simmons b76bd98ed8 WIP compiling but failing with circular reference 2022-08-09 17:15:52 -07:00
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 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
Mikayla Maki 774256b60e checkpoint, no idea what's happening 2022-08-09 16:15:53 -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
ForLoveOfCats b931136c84 Handle Cmd/Shift + Click go-to action on mouse-up instead of mouse-down 2022-08-08 15:59:33 -04:00
ForLoveOfCats 7a4db7e505 Automatically trigger project search to occur when deploying 2022-08-08 13:17:19 -04:00
Mikayla Maki 51f8bae91a Fixed lack of scrolling 2022-08-05 09:18:24 -07: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 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
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
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 676e6683c8 Changed alacritty version 2022-08-03 15:04:48 -07:00