Remove Carbon dependencies
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 重构
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- macos
- 领域
- desktop
调研方向
在确认 #1155 中的 Carbon 链接和 SetSystemUIMode 更改之后,搜索 MacVim 源代码和构建配置,查找列表中剩余的每个 TIS 符号。阅读周围的输入源处理,并验证 macOS 构建不再链接 Carbon,也不再引用列表中的任何符号。
由索引模型根据 Issue 内容生成。
描述
Currently, MacVim still links against the Carbon framework, which apparently still works under Big Sur. However, the API has been deprecated for a decade, and we should just remove it and port the function to newer Cocoa calls. If I remove Carbon from linkage, these are the linked symbols I see:
- _SetSystemUIMode (Fixed in #1155)
- _TISCopyCurrentASCIICapableKeyboardInputSource
- _TISCopyCurrentKeyboardInputSource
- _TISCopyInputSourceForLanguage
- _TISGetInputSourceProperty
- _TISSelectInputSource
- _kTISNotifySelectedKeyboardInputSourceChanged
- _kTISPropertyInputSourceID
Go through them and port them.
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
macvim-dev/macvim 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
macvim-dev/macvim#1697 · 5 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
macvim-dev/macvim#1658 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
macvim-dev/macvim#1657 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
macvim-dev/macvim#1655 ·
-
难度 2/5 半天 新手友好度 72/100
macvim-dev/macvim#1653 ·
查看 macvim-dev/macvim 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
longbridge/gpui-kit#3223 ·
-
area:desktop area:ui bug platform:macos
难度 2/5 1-3 小时 新手友好度 75/100
anthropics/claude-code#96687 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
farion1231/cc-switch#7660 ·