macvim-dev / macvim-dev/macvim
Move from manual reference counting to ARC
未关闭
还没有人认领这个 Issue。
Deprecated Technology
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
描述
Apple has introduced ARC (Automatic Reference Counting) a long time ago. However, MacVim still mostly uses manual reference counting, which actually introduces bugs like #1164. ARC will not solve everything but should help reduce this class of bugs, and even the lowest required macOS (10.9 at the moment) has long supported it.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查 MacVim 的原生 macOS 代码,以确定使用手动引用计数的位置,然后阅读 issue #1164,了解其背后的 bug。完成的标准是将适用的代码迁移到 ARC,同时保留现有行为,并检查整个应用程序是否存在回归问题。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, objective-c
- 领域
- desktop
- Issue 类型
- 重构
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 18/100