Commit graph

  • 6a2fe38d94 Verify FoldMap::unfold in randomized test Antonio Scandurra 2021-05-07 09:39:55 +02:00
  • e6323f0d02 Fix handling of new files with new buffer/file structure Max Brunsfeld 2021-05-06 21:06:20 -07:00
  • 35e0eaaae2 Refocus root view if focused view is removed Nathan Sobo 2021-05-06 16:30:10 -06:00
  • 5e08a02ca8 Don't retain entities after EntityTasks are dropped Nathan Sobo 2021-05-06 16:19:38 -06:00
  • 4eac765f1a Replace zed::watch with postage::watch for settings Nathan Sobo 2021-05-06 15:27:18 -06:00
  • ab10e27424 Create a pending view handle before creating a view Nathan Sobo 2021-05-06 15:18:09 -06:00
  • f408521d12 Gracefully handle a view being updated and removed in the same tick Nathan Sobo 2021-05-06 15:13:26 -06:00
  • 008f2b905b Hold a WeakViewHandle in BufferElement Nathan Sobo 2021-05-06 15:13:01 -06:00
  • 290fcb4c06 In handle ::condition, re-poll on events as well as notifications Max Brunsfeld 2021-05-06 13:18:41 -07:00
  • 6890a3d9fa Batch fold insertion Antonio Scandurra 2021-05-06 19:50:51 +02:00
  • 2c1e4cae19 Merge FoldRange into Fold Antonio Scandurra 2021-05-06 19:36:19 +02:00
  • e8179f7e3e Always provide a context to sum tree's methods Antonio Scandurra 2021-05-06 19:29:38 +02:00
  • 65e92ac2f2 Ignore empty folds in FoldMap::fold Antonio Scandurra 2021-05-06 18:52:25 +02:00
  • 178705f8f9 Add FoldMap::folds_in_range to randomized test and fix issues it found Antonio Scandurra 2021-05-06 18:49:41 +02:00
  • 490fb485fd Merge branch 'master' into new-file Max Brunsfeld 2021-05-06 09:19:16 -07:00
  • 652fc9e4ec Remove add_summary_with_ctx and always require a ctx in add_summary Antonio Scandurra 2021-05-06 16:57:47 +02:00
  • 901525bf77 Implement FoldMap's folds using a SumTree Antonio Scandurra 2021-05-06 16:13:35 +02:00
  • 7fb7a6adfc Add a Summary trait in preparation of passing a context struct Antonio Scandurra 2021-05-06 09:32:14 +02:00
  • 7717700b2c Implement Drop on AnyViewHandle Nathan Sobo 2021-05-05 23:21:39 -06:00
  • 6cb656db9a Require window to have a root view and focused view Nathan Sobo 2021-05-05 23:21:19 -06:00
  • 45a01d1526 Don't store views on windows Nathan Sobo 2021-05-05 22:48:16 -06:00
  • bf28aba1a7 Restore Buffer::file field and workspace::Item trait Max Brunsfeld 2021-05-05 17:23:44 -07:00
  • 78a5d0a378 Maintain workspace buffers state after saving untitled buffer Max Brunsfeld 2021-05-05 13:12:51 -07:00
  • 47d03498f4 Wait to update bufferview's file handle until save has completed Max Brunsfeld 2021-05-05 11:05:50 -07:00
  • 1fcbadaa99 Add TestAppContext::simulate_new_path_selection Max Brunsfeld 2021-05-05 11:04:39 -07:00
  • 3f844bc953 Fix crash when closing windows Nathan Sobo 2021-05-05 11:34:49 -06:00
  • f7d8b6b4c0
    Merge pull request #39 from zed-industries/move-lines-folds Antonio Scandurra 2021-05-05 10:47:52 +02:00
  • e771e70788 Add test for moving lines up and down Antonio Scandurra 2021-05-05 10:23:35 +02:00
  • 10aef856e3 Merge branch 'master' into move-lines-folds Antonio Scandurra 2021-05-05 09:58:34 +02:00
  • 5fd084ec09 Start work on creating and saving new files Max Brunsfeld 2021-05-04 19:04:11 -07:00
  • 2ce9f271b5
    Merge pull request #30 from zed-industries/bundle Nathan Sobo 2021-05-04 18:02:47 -06:00
  • a0471a5447 Add ~/.rustup to the list of cached paths Nathan Sobo 2021-05-04 17:46:44 -06:00
  • 13e524d9ed Try to disable caching Nathan Sobo 2021-05-04 17:38:05 -06:00
  • 3604d7e292 Try to fix target not being installed Nathan Sobo 2021-05-04 17:34:03 -06:00
  • 5cf65ed6b7 Ad hoc code-sign the app bundle Nathan Sobo 2021-05-04 17:29:39 -06:00
  • 52a5777fbd Create the bundle as a "fat binary" supporting the M1 Nathan Sobo 2021-05-04 17:18:14 -06:00
  • 1f06d216b5 Fix artifact name Nathan Sobo 2021-04-28 15:42:42 -06:00
  • 2dc1176486 Create and upload a DMG Nathan Sobo 2021-04-28 15:22:14 -06:00
  • 8297f2a941 Attempt to upload app bundle as an artifact Nathan Sobo 2021-04-28 15:04:22 -06:00
  • 898271edfb Add script/bundle, which creates a macOS app bundle Nathan Sobo 2021-04-28 15:02:02 -06:00
  • 3d739b6621
    Merge pull request #34 from zed-industries/buffer-per-inode Max Brunsfeld 2021-05-04 14:37:27 -07:00
  • 361bb83f43 Replace Workspace::open_path with simpler ::add_worktree method Max Brunsfeld 2021-05-04 14:18:12 -07:00
  • 2b9a97a46e Fix hangs in workspace tests Max Brunsfeld 2021-05-04 12:41:00 -07:00
  • 05ab1bdddf Synchronize FoldMap with buffer's contents lazily Antonio Scandurra 2021-05-04 18:27:56 +02:00
  • c135c84ef0 Use correct bias when calculating next_row_end Antonio Scandurra 2021-05-04 16:13:01 +02:00
  • 7bd192bdfb Add FoldMap::chars_at to randomized test Antonio Scandurra 2021-05-04 14:13:28 +02:00
  • 3ba463020c Test FoldMap to_display_offset, to_display_point, to_buffer_point Antonio Scandurra 2021-05-04 12:11:44 +02:00
  • d326e80657 Rework randomized test, ensuring order of folds is maintained correctly Antonio Scandurra 2021-05-04 11:27:32 +02:00
  • a0428667d0 Fix folds_in_range and add a test for it Antonio Scandurra 2021-05-04 11:24:33 +02:00
  • 5c392f933f Merge branch 'master' into buffer-per-inode Nathan Sobo 2021-05-03 20:47:28 -06:00
  • 8820df7912 Rename WorkspaceView to Workspace and reorganize module Nathan Sobo 2021-05-03 20:42:32 -06:00
  • 366f8fcdb0 Inline methods previously moved from Workspace Nathan Sobo 2021-05-03 20:36:12 -06:00
  • ed28bd3f95 Combine Workspace and WorkspaceView Nathan Sobo 2021-05-03 16:57:13 -06:00
  • aa2a2ececf
    Merge pull request #37 from zed-industries/move-line-up-down Nathan Sobo 2021-05-03 18:25:42 -06:00
  • b801628230 Clean up Nathan Sobo 2021-05-03 16:31:01 -06:00
  • afb623b6b5 Make Workspace::open_entry2, which returns a dyn ItemViewHandle Nathan Sobo 2021-05-03 16:25:18 -06:00
  • 837f34a498 Fix cases where new folds that end where existing folds start Nathan Sobo 2021-05-03 14:30:50 -06:00
  • 189ee7c140 Add failing unit test for adjacent folds Max Brunsfeld 2021-05-03 12:39:47 -07:00
  • 4b38f2850d WIP Antonio Scandurra 2021-05-03 18:58:39 +02:00
  • 4c4657515e Account for folds when moving selections up/down Antonio Scandurra 2021-05-03 16:13:09 +02:00
  • 49dc040786 Use a more direct manipulation for moving lines up or down Antonio Scandurra 2021-05-03 15:10:20 +02:00
  • 76b454d34b Push selections down correctly when moving a line down Antonio Scandurra 2021-05-03 14:49:35 +02:00
  • 8cd451f3ca Implement move_line_up and move_line_down Antonio Scandurra 2021-05-03 11:32:29 +02:00
  • c01263be8e
    Merge pull request #35 from zed-industries/move-to-prev-next-word-boundary Antonio Scandurra 2021-04-30 16:34:06 +02:00
  • d499fb0d44
    Merge pull request #36 from zed-industries/bind-backspace Antonio Scandurra 2021-04-30 11:36:50 +02:00
  • 51ae37e578 Bind ctrl-h to backspace Antonio Scandurra 2021-04-30 10:45:58 +02:00
  • 9c3216507b Add test for word boundary movement/selection/deletion Antonio Scandurra 2021-04-30 10:13:45 +02:00
  • f352cfb686 Implement delete_to_{previous,next}_word_boundary Antonio Scandurra 2021-04-30 09:45:22 +02:00
  • 1a0dbb2907 Implement select_to_{previous,next}_word_boundary Antonio Scandurra 2021-04-30 09:41:38 +02:00
  • bc686b4561 Implement move_to_previous_word_boundary Antonio Scandurra 2021-04-29 18:52:11 +02:00
  • 0a28c78a7a Implement move_to_next_word_boundary for buffer Antonio Scandurra 2021-04-29 14:54:50 +02:00
  • 0e432ed889
    Merge pull request #32 from zed-industries/editor-keybindings Antonio Scandurra 2021-04-30 09:31:32 +02:00
  • 8cffa8bdb2 Move file handle from buffer to buffer view Max Brunsfeld 2021-04-29 15:54:17 -07:00
  • d2f309d10d
    Merge pull request #31 from zed-industries/open-files Max Brunsfeld 2021-04-29 15:14:37 -07:00
  • 9b0cc0a032 Avoid cancelling ::open_entry task in FileFinder Max Brunsfeld 2021-04-29 15:03:46 -07:00
  • 5826a976ef Return a future from WorkspaceView::open_paths Max Brunsfeld 2021-04-29 14:33:42 -07:00
  • c867cfa917 Tweak durations in fsevent unit test to reduce odds of timeout Max Brunsfeld 2021-04-29 12:52:28 -07:00
  • b126938af7 In file finder, handle single-file worktrees & multiple matches w/ same rel path Max Brunsfeld 2021-04-29 12:44:51 -07:00
  • d19fd77f91 💄 Antonio Scandurra 2021-04-29 10:29:06 +02:00
  • 283c734c91 Implement {move_to,select_to,delete_to}_{beginning,end}_of_line Antonio Scandurra 2021-04-29 09:52:03 +02:00
  • 0aacf858ce Don't rely on Range::is_empty to check for selection emptiness Antonio Scandurra 2021-04-29 09:29:00 +02:00
  • fdefd32de0 Implement duplicate_line for buffer Antonio Scandurra 2021-04-28 12:23:45 +02:00
  • 5d28fb871f Extract a Selection::buffer_row_range method Antonio Scandurra 2021-04-28 11:09:00 +02:00
  • 2a0a2ee636 Fix delete_line for non-empty selections that end at the start of line Antonio Scandurra 2021-04-28 10:21:17 +02:00
  • 618cb8ac18 Bind also ctrl-d to buffer:delete Antonio Scandurra 2021-04-28 10:20:47 +02:00
  • cee9509127 Fix delete_line test Antonio Scandurra 2021-04-28 09:53:25 +02:00
  • ccd244bac7 WIP: start on a test for delete_line Antonio Scandurra 2021-04-27 19:28:00 +02:00
  • 834602ef67 Implement delete_line for buffer Antonio Scandurra 2021-04-27 17:49:26 +02:00
  • 21442bd2b7 Don't propagate action when selecting up/down in single-line editors Antonio Scandurra 2021-04-27 13:49:02 +02:00
  • c524cc4d61 Implement select_to_beginning and select_to_end for buffer Antonio Scandurra 2021-04-27 13:47:12 +02:00
  • 45452bbb3a Implement move_to_beginning and move_to_end for buffer Antonio Scandurra 2021-04-27 13:35:41 +02:00
  • b7c30eba30 Implemente delete for buffer Antonio Scandurra 2021-04-27 13:29:21 +02:00
  • 324a6ff7ae Implement select_all for buffer Antonio Scandurra 2021-04-27 13:23:41 +02:00
  • 88b88a8067 Start work on opening files Max Brunsfeld 2021-04-28 17:46:27 -07:00
  • 3d6336b12a
    Merge pull request #29 from zed-industries/traverse-symlinks Nathan Sobo 2021-04-28 14:27:19 -06:00
  • e423a49984 Traverse symlinks when populating directories Nathan Sobo 2021-04-28 13:34:38 -06:00
  • 6b357a6ae7 Fix tests Nathan Sobo 2021-04-28 14:16:03 -06:00
  • 95fae8e9e0 Always run all crates' tests in CI Max Brunsfeld 2021-04-28 12:58:14 -07:00
  • 21cfb75a73 Flush redundant fs events in worktree test Max Brunsfeld 2021-04-28 12:42:34 -07:00
  • 92775290d9
    Merge pull request #28 from zed-industries/close-tabs Nathan Sobo 2021-04-28 13:19:42 -06:00