Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Remove Carbon dependencies

未关闭
#1,154 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
重构
描述清晰度
需要澄清
活跃度
停滞
技术栈
macos
领域
desktop

调研方向

在确认 #1155 中的 Carbon 链接和 SetSystemUIMode 更改之后,搜索 MacVim 源代码和构建配置,查找列表中剩余的每个 TIS 符号。阅读周围的输入源处理,并验证 macOS 构建不再链接 Carbon,也不再引用列表中的任何符号。

由索引模型根据 Issue 内容生成。

描述

Deprecated Technology

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

macvim-dev/macvim 的其他 Issue

查看 macvim-dev/macvim 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。