Yee Cheng Chin 1adb42bd2d Fix MacVim crashing on 10.9
This fixes MacVim to work again on OSX 10.9. It was previously crashing
on launch for last few versions.

titlebarAppearsTransparent call: This API was added in 10.10, and
previously MacVim wasn't properly guarding it with the proper OS version
check, causing it to crash under 10.9 (which is the lowest currently
supported macOS version).

CGContext call: The new stateful renderer is using a newer API to
retrieve the CGContext from the NS wrapper, but that was also only added
in 10.10. When compiling against older versions, just use the older,
now-deprecated API "graphicsPort" instead. It still works.

Also, change the version check for `safeAreaInsets` for non-native full
screen to use `@available` as well instead of checking for selector.
This is more consistent with how other code works and fixes a compiler
warning about not checking for OS version.

Fix #1212
2022-08-09 04:24:23 -07:00
2022-06-28 13:44:46 +01:00
2021-08-29 21:55:35 +02:00
2022-08-05 21:07:33 -07:00
2022-08-09 04:24:23 -07:00
2022-07-29 21:36:21 +01:00
2021-08-29 21:55:35 +02:00
2022-07-29 21:36:21 +01:00
2022-06-28 13:44:46 +01:00

Vim - the text editor - for macOS

S
Description
Vim - the text editor - for macOS
Readme 251 MiB
Languages
Vim Script 52%
C 38.1%
Objective-C 3.1%
Roff 1.6%
Makefile 1.2%
Other 3.2%