Commit Graph
5217 Commits
Author SHA1 Message Date
Antonio Scandurra dbe8a85af5 Treat NSTextInputClient ranges as UTF-16 2022-07-21 13:41:35 +02:00
Antonio Scandurra d103825bc6 Start indexing UTF-16 offsets
This is needed because cocoa will report ranges as UTF-16 indices.
2022-07-21 09:40:48 +02:00
Antonio Scandurra 02cf03474b Honor setting the selected range in addition to marking text 2022-07-21 08:57:20 +02:00
Max Brunsfeld 6288cafecf Use new API for input handling in Terminal 2022-07-20 17:33:37 -07:00
Max Brunsfeld bda456a5d1 Start work on new text input handling in Editor 2022-07-20 16:45:27 -07:00
Max Brunsfeld eccd21aad6 Call methods on the focused view during input events 2022-07-20 16:44:26 -07:00
Max BrunsfeldandAntonio Scandurra <antonio@zed.dev ae72d1da3e Change interpretation of marked_text and edit when handling input
Co-authored-by: Antonio Scandurra <antonio@zed.dev
2022-07-20 09:53:49 -07:00
Antonio Scandurra 1e94068a66 WIP 2022-07-20 18:06:29 +02:00
Antonio Scandurra 1da1545f84 WIP 2022-07-20 15:07:09 +02:00
Antonio Scandurra 478d82a480 Implement NSTextInputClient protocol on window using no-ops 2022-07-19 14:52:02 +02:00
Antonio Scandurra e69c3b0e19 Add character palette menu item 2022-07-19 14:51:57 +02:00
Max Brunsfeld 34111f9184 0.48.1 2022-07-18 19:11:12 -07:00
Max Brunsfeld 088bd57a7e Revert "Merge pull request #1359 from zed-industries/plugin-json-enable"
This reverts commit 6596d4e515, reversing
changes made to e16f368596.
2022-07-18 19:04:49 -07:00
Max Brunsfeld 2720691379 0.48.0 2022-07-18 16:24:57 -07:00
Max Brunsfeld 596abb745b Merge pull request #1391 from zed-industries/dismiss-project-panel-rename
Dismiss project panel's rename editor when it loses focus
2022-07-18 16:23:15 -07:00
Max Brunsfeld b428b52a6f Dismiss project panel's rename editor when it loses focus 2022-07-18 16:10:09 -07:00
Max Brunsfeld 9c551c202a Merge pull request #1390 from zed-industries/fix-fs-watch-leak
Ensure that FS watchers are dropped when dropping their event stream
2022-07-18 15:16:41 -07:00
Max Brunsfeld 36cf3c1327 Merge pull request #1389 from zed-industries/no-gpu
Avoid panic when unable to access a GPU
2022-07-18 15:08:58 -07:00
Max Brunsfeld 3fef7a5e76 Ensure that fs watches are dropped when dropping the event stream 2022-07-18 14:55:24 -07:00
Max BrunsfeldandNathan Sobo 4214d7dbdf Avoid panic when unable to access a GPU
This will remove noise from our panic logs.

Co-authored-by: Nathan Sobo <nathan@zed.dev>
2022-07-18 14:13:12 -07:00
Antonio Scandurra aac46f3a9f Merge pull request #1386 from zed-industries/symlink-cycles
Detect cycles when scanning a directory
2022-07-18 17:58:18 +02:00
Antonio Scandurra e821602406 Avoid unnecessarily emitting fake fs events for dirs that exist 2022-07-18 17:36:40 +02:00
Antonio Scandurra 6968a0a959 Detect cycles also when processing events 2022-07-18 17:31:09 +02:00
Antonio Scandurra c0e9508002 Create intermediate directories in FakeFs::create_dir 2022-07-18 16:38:26 +02:00
Antonio Scandurra 53fc8c40a1 Detect cycles when scanning a directory 2022-07-18 13:47:15 +02:00
Antonio Scandurra 8d996bc013 Introduce a new TreeSet struct in sum_tree
This is just a special case of `TreeMap<K, V>` where `V = ()`.
2022-07-18 13:40:30 +02:00
Max Brunsfeld 44cdc14c7a Start work on a test for a worktree with symlink cycles 2022-07-18 12:23:07 +02:00
Max Brunsfeld 747efac8d3 Restructure FakeFs to let it model symlinks
Instead of storing paths, model the FS more directly
as nodes
2022-07-18 12:23:07 +02:00
Antonio Scandurra 44459a3c7e Merge pull request #1385 from zed-industries/fix-lifetime-error
Fix spurious borrow checker error
2022-07-18 12:22:54 +02:00
Antonio Scandurra 0d904461e5 Merge pull request #1384 from zed-industries/expose-collaboration-metrics
Expose collaboration metrics
2022-07-18 10:44:29 +02:00
Antonio Scandurra 45a6d04eb4 Allow querying active user counts for people that have collaborated 2022-07-18 10:29:10 +02:00
Isaac Clayton a3881b1ada Merge pull request #1367 from zed-industries/plugin-opaque
Guide to Opaque Types and Callbacks in Plugins
2022-07-18 09:20:10 +02:00
Antonio Scandurra 4c25af19a9 Remove Redis 2022-07-18 08:59:35 +02:00
Antonio Scandurra 9925cfd6f3 Expose max number of project collaborators in Db::get_top_user_activity 2022-07-18 08:58:09 +02:00
Antonio Scandurra ee7f811804 Merge pull request #1379 from zed-industries/fix-tab-panic
Handle inserting multiple tabs on the same row
2022-07-16 08:51:33 +02:00
Antonio Scandurra f6948109d0 Handle inserting multiple tabs on the same row
This also fixes a panic when tabbing on a row that contained multi-byte
characters.
2022-07-16 08:40:44 +02:00
Mikayla Maki fec4860e35 Merge pull request #1377 from zed-industries/bracketed-paste
Add bracketed paste support
2022-07-15 19:10:48 -07:00
Mikayla Maki 0f96e8b3cd Add bracketed paste support 2022-07-15 19:01:08 -07:00
Mikayla Maki 3f8b4d8f33 Merge pull request #1376 from zed-industries/terminal-settings
Added settings for common terminal configurations
2022-07-15 18:50:40 -07:00
Mikayla Maki 584ab1ee01 Removed some old dbgs and comments 2022-07-15 18:42:07 -07:00
Mikayla Maki e0d5a84d5c bad patch for panic on mis configured shell 2022-07-15 18:38:17 -07:00
Mikayla Maki 485bfc213c Added settings for common terminal configurations 2022-07-15 18:27:10 -07:00
Max Brunsfeld 6988762653 Update rust in collab Dockerfiles 2022-07-15 17:15:32 -07:00
Max Brunsfeld 70b87a7e44 Merge pull request #1375 from zed-industries/active-user-counts
Add an admin API for counting users with given amounts of activity
2022-07-15 17:08:31 -07:00
Max Brunsfeld dad538b510 Allow the web client to specify activity bucket durations 2022-07-15 16:46:44 -07:00
Max Brunsfeld e817042e8d Add admin API for counting users with a given amount of activity 2022-07-15 16:46:44 -07:00
Mikayla Maki b4794e6b41 Merge pull request #1373 from zed-industries/copy-test-update
Update terminal testing to match new connection model.
2022-07-15 14:16:20 -07:00
Mikayla Maki 426f044737 Merge branch 'main' into copy-test-update 2022-07-15 13:24:11 -07:00
Mikayla Maki 4ee7f20ecd Merge pull request #1371 from zed-industries/keybindings-grind
Correctly report all keyboard events to the terminal
2022-07-15 12:30:31 -07:00
Mikayla Maki d1c9b13b65 Revamped testing in terminals 2022-07-15 12:15:55 -07:00