Commit graph

  • b55acb63f0 Fix warning Nathan Sobo 2021-04-15 21:05:18 -06:00
  • af47ef94d5 Remove unused throttle module Nathan Sobo 2021-04-15 21:04:30 -06:00
  • 358fad8242 Replace the old worktree with the new one Nathan Sobo 2021-04-15 21:02:30 -06:00
  • 5648c67d54 Perform path matching on Worktree snapshots Nathan Sobo 2021-04-15 20:29:45 -06:00
  • e55abc4220 Silence warning about binary name Nathan Sobo 2021-04-15 20:28:20 -06:00
  • 0caf908c78 Remove unused timer module Nathan Sobo 2021-04-15 20:28:10 -06:00
  • 3fa4e5acee Fill out some missing parts of the new worktree module Max Brunsfeld 2021-04-15 17:39:32 -07:00
  • 4878bf82ff Make EventStream interface more flexible Max Brunsfeld 2021-04-15 17:38:52 -07:00
  • 6d3dc85dad Tweak fsevent flags Max Brunsfeld 2021-04-15 16:46:34 -07:00
  • fbaab121f6 Add fsevent crate to workspace Max Brunsfeld 2021-04-15 16:29:55 -07:00
  • 497dedbb84 Get file IO test passing on new worktree Max Brunsfeld 2021-04-15 11:22:00 -07:00
  • cefc753123 Re-introduce fuzzy-matching on the new WorkTree implementation Antonio Scandurra 2021-04-15 18:18:53 +02:00
  • 070069d65e Ensure top of cursor stack is either empty or a leaf node Antonio Scandurra 2021-04-15 18:12:56 +02:00
  • 0bbff090f0 WIP Antonio Scandurra 2021-04-15 12:10:37 +02:00
  • db8cce9aa9 Merge branch 'master' into rescan Nathan Sobo 2021-04-14 22:26:09 -06:00
  • d0ae44c100
    Merge pull request #21 from zed-industries/self-hosted-runner Nathan Sobo 2021-04-14 22:07:22 -06:00
  • da68bd6c2b Try to run our CI on a mac mini in my closet Nathan Sobo 2021-04-14 21:56:24 -06:00
  • 3f71867af8 Improve styling of tabs Max Brunsfeld 2021-04-14 15:14:40 -07:00
  • 36699dc095 Avoid setting constrain min to infinity in Flex layout Max Brunsfeld 2021-04-14 15:11:56 -07:00
  • f5752969ab Include constraints in element tree JSON debug output Max Brunsfeld 2021-04-14 15:09:38 -07:00
  • 36e6ed3aef WIP Nathan Sobo 2021-04-14 12:38:06 -06:00
  • cbc1d83067 Get worktree out of the way so we can try again Nathan Sobo 2021-04-14 11:09:06 -06:00
  • f4538e9eb5 Generalize pasting when number of selections doesn't match clipboard's Antonio Scandurra 2021-04-14 19:02:44 +02:00
  • ce7966d00b
    Merge pull request #16 from zed-industries/scoped-pool Nathan Sobo 2021-04-14 09:11:26 -06:00
  • e97ce4ff58 Fix after method rename Nathan Sobo 2021-04-14 09:11:11 -06:00
  • 4cef25eff8 Replace easy-parallel with scoped-pool for path searches Nathan Sobo 2021-04-13 19:15:08 -06:00
  • f455355c78
    Merge pull request #20 from zed-industries/async-prompt-for-paths Nathan Sobo 2021-04-14 09:06:14 -06:00
  • cf23b0e4a2 Prompt for paths asynchronously to avoid double borrow Antonio Scandurra 2021-04-14 16:30:03 +02:00
  • 29d2236ed2
    Merge pull request #19 from zed-industries/single-global-action-dispatch Antonio Scandurra 2021-04-14 15:50:07 +02:00
  • fb3a190a03
    Merge pull request #18 from zed-industries/copy-paste Antonio Scandurra 2021-04-14 15:49:30 +02:00
  • f755cbbe98 Dispatch global actions only once when triggering a menu item Antonio Scandurra 2021-04-14 14:47:18 +02:00
  • 40980edffe Merge branch 'master' into copy-paste Antonio Scandurra 2021-04-14 12:05:52 +02:00
  • a1053f7820 📝 Antonio Scandurra 2021-04-14 11:59:39 +02:00
  • 6a181ac692 Add test for copying/cutting/pasting full lines Antonio Scandurra 2021-04-14 11:54:58 +02:00
  • 4a395314b2 Handle paste correctly when there is only one full-line in the clipboard Antonio Scandurra 2021-04-14 11:15:55 +02:00
  • 26f9127e83 Spawn worktree scanning on the scoped pool Nathan Sobo 2021-04-13 19:45:02 -06:00
  • e4f41de7bf Invert condition when opening entries Nathan Sobo 2021-04-13 19:41:38 -06:00
  • e3fbb97ecc Throttle worktree state updates on the main thread Nathan Sobo 2021-04-13 17:51:43 -06:00
  • f3a0a11fc5 WIP Nathan Sobo 2021-04-13 14:51:49 -06:00
  • bc34ff54fe Add a failing test for detecting a file move Nathan Sobo 2021-04-12 19:34:43 -06:00
  • 41f50cdb61 Require a context when constructing a worktree Nathan Sobo 2021-04-12 18:42:19 -06:00
  • 24cdfd2471 Identify Worktree entries by their inode Nathan Sobo 2021-04-08 16:42:58 -06:00
  • 3c0bbe5eb5 Store root entry id Nathan Sobo 2021-04-08 16:03:10 -06:00
  • cdfd61369e Switch worktree entries to HashMap Nathan Sobo 2021-04-08 15:56:57 -06:00
  • 3803eb85a5 Inline clone Nathan Sobo 2021-04-08 15:38:54 -06:00
  • 0cc5e8f742 Replace easy-parallel with scoped-pool for path searches Nathan Sobo 2021-04-13 19:15:08 -06:00
  • 0a2d2aa684 Replace app/app_mut on contexts with AsRef/AsMut impls Nathan Sobo 2021-04-13 20:07:25 -06:00
  • e082935076 Handle 'full-line' clipboard items when pasting Max Brunsfeld 2021-04-13 17:58:13 -07:00
  • c83f02dd04 Implement multi-selection copy/cut/paste Max Brunsfeld 2021-04-13 16:51:28 -07:00
  • 13514aae6c Allow metadata to be associated with text written to clipboard Antonio Scandurra 2021-04-13 19:03:56 +02:00
  • f4c1ffc329 Start on copy-paste Antonio Scandurra 2021-04-13 14:58:10 +02:00
  • 7469240a2e Rename application binary to improve appearance of app menu Nathan Sobo 2021-04-12 19:52:30 -06:00
  • 0d69b632b1
    Merge pull request #14 from zed-industries/menu-commands Max Brunsfeld 2021-04-12 16:40:48 -07:00
  • 902b0f7dfa Dispatch menu commands on the focused view Max Brunsfeld 2021-04-12 15:42:33 -07:00
  • d4436f3018 Don't try to handle errors when opening platform windows Max Brunsfeld 2021-04-12 15:14:25 -07:00
  • 86c0f41c9e Move set_menus method to MutableAppContext Max Brunsfeld 2021-04-12 14:38:18 -07:00
  • 41358f34e3 Set up menu handler in App::new Max Brunsfeld 2021-04-12 14:25:00 -07:00
  • 2332b7e06b Move open command handler to workspace global action Max Brunsfeld 2021-04-12 14:18:24 -07:00
  • 3247f49954 Allow menu items to specify arguments for their commands Max Brunsfeld 2021-04-12 14:09:49 -07:00
  • a0a004737d
    Merge pull request #13 from zed-industries/undo-stack Max Brunsfeld 2021-04-12 11:51:19 -07:00
  • b2723fd1dd Remove unused variables Max Brunsfeld 2021-04-12 11:29:24 -07:00
  • afa3f6dcd1 Add test coverage for edit event grouping in transactions Max Brunsfeld 2021-04-12 11:24:10 -07:00
  • a0da23799d Merge branch 'master' into undo-stack Max Brunsfeld 2021-04-12 10:49:46 -07:00
  • 8f6b8b2e43 📝 Antonio Scandurra 2021-04-12 19:05:56 +02:00
  • 6ea2581e3e
    Merge pull request #12 from zed-industries/platform-trait Nathan Sobo 2021-04-12 10:48:51 -06:00
  • 487b60de06
    Merge pull request #10 from zed-industries/menus Nathan Sobo 2021-04-12 10:48:33 -06:00
  • 3a33fab091 Generate operation when updating selection set after undo/redo Antonio Scandurra 2021-04-12 17:47:19 +02:00
  • 59a9f0102f Remove unnecessary edit_at method Antonio Scandurra 2021-04-12 17:35:50 +02:00
  • be68af43fc Add unit test for history manipulation (undo, redo, grouping) Antonio Scandurra 2021-04-12 16:00:24 +02:00
  • 606e6bed56 Simplify buffer history management Antonio Scandurra 2021-04-12 15:32:45 +02:00
  • ab14b99a73 Introduce transactional edits and allow snapshotting of selections Antonio Scandurra 2021-04-12 15:15:27 +02:00
  • 40bfdd38ae 💄 Antonio Scandurra 2021-04-10 13:03:45 +02:00
  • 551c86f87a WIP: Start on pushing selection management down into Buffer Antonio Scandurra 2021-04-09 18:45:13 +02:00
  • 472ff1621f Merge UndoHistory and History, storing also operations in the latter Antonio Scandurra 2021-04-09 17:17:36 +02:00
  • d0b06a2a1d Don't clear redo stack when editing Antonio Scandurra 2021-04-09 16:50:06 +02:00
  • e534fe9112 Add initial support for undo/redo stack Antonio Scandurra 2021-04-09 14:13:25 +02:00
  • b9b511148b Make gpui::platform module private Nathan Sobo 2021-04-10 00:22:45 -06:00
  • 619e2b7e01 Remove platform::mac::runner Nathan Sobo 2021-04-10 00:19:25 -06:00
  • 4638391412 Remove MutableAppContext::downgrade Nathan Sobo 2021-04-10 00:14:26 -06:00
  • 620eedb727 Allow effects to be flushed before TestAppContext::update callback completes Nathan Sobo 2021-04-10 00:11:13 -06:00
  • 97a8a8ed43 Remove unsafe code from App::test_async Nathan Sobo 2021-04-10 00:05:09 -06:00
  • 448dace281 Pass the on_finish_launching callback to Platform::run Nathan Sobo 2021-04-09 21:33:17 -06:00
  • 079050541f Get app running and test passing after gpui App+Platform restructure Max Brunsfeld 2021-04-09 15:58:19 -07:00
  • 4ecc17b1bb WIP: Make App the only entry point from main Nathan Sobo 2021-04-09 13:38:09 -06:00
  • 301163bab7 Add lifecycle methods to Platform trait Nathan Sobo 2021-04-09 13:03:26 -06:00
  • 00d7dafbba Merge branch 'master' into menus Max Brunsfeld 2021-04-09 10:34:21 -07:00
  • 07b8a105a6
    Merge pull request #11 from zed-industries/undo Antonio Scandurra 2021-04-09 18:50:36 +02:00
  • 6873662c47 Use upstream git revision of core-foundation-rs Max Brunsfeld 2021-04-09 08:45:23 -07:00
  • cba8730d5a Don't report edits in Buffer::undo_or_redo Antonio Scandurra 2021-04-09 14:06:09 +02:00
  • bf3a5d0a0d Move UndoMap down Antonio Scandurra 2021-04-09 11:25:28 +02:00
  • 4d9ff1109a Exercise arbitrary undos/redos in single-peer buffer randomized test Antonio Scandurra 2021-04-09 11:16:13 +02:00
  • 2e7ca8ea46 Store only max undo by replica instead of individual undos in Fragment Antonio Scandurra 2021-04-09 11:02:46 +02:00
  • 7b6fbe1d89 Compute minimal version_in_range on edit and account for undo Antonio Scandurra 2021-04-09 10:07:58 +02:00
  • 7ebcbdc0cb Implement File > Open menu item Max Brunsfeld 2021-04-08 22:25:54 -07:00
  • f656b387b3 Call SetActivationPolicy at the proper time Max Brunsfeld 2021-04-08 16:11:45 -07:00
  • 334de06322 Create an API for assigning the menubar contents Max Brunsfeld 2021-04-08 15:56:21 -07:00
  • c20935de91 WIP Antonio Scandurra 2021-04-08 16:57:46 +02:00
  • d572c22794
    Merge pull request #9 from zed-industries/debug-elements Nathan Sobo 2021-04-08 08:09:08 -06:00
  • 5e0d5b7f9a Fix Debug impl for Text to only display the slice a Text refers to Antonio Scandurra 2021-04-08 15:03:11 +02:00
  • 44ab38ac98 Introduce undo/redo support for arbitrary operations in Buffer Antonio Scandurra 2021-04-07 19:56:15 +02:00