macvim-dev / macvim-dev/macvim
Move from manual reference counting to ARC
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by surveying MacVim’s native macOS code to identify where manual reference counting is used, then read issue #1164 for the motivating bug. Done means migrating the applicable code to ARC while preserving existing behavior and checking for regressions across the application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, objective-c
- Domain
- desktop
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100