|
From: | Charles A. Roelli |
Subject: | bug#27810: NS runtime feature detection |
Date: | Tue, 25 Jul 2017 20:22:14 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
I'm not attached to 10.6, but if we can keep supporting it, I'd like to. And for what it's worth, there are 11 places in nsterm.m with version-specific code (unless I've missed some): 12 matches for "MAC_OS_X_VERSION_MAX_ALLOWED" in buffer: nsterm.m 140:#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 157:#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 5567: MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_9 6329: MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 7036: MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_9 7098: MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_9 7365:#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 7516: MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 7547: MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_9 8109:#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 8120:#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 */ 8327: MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 which seems manageable. But if and when support for earlier macOSen causes problems, then I'd have no objections removing support. On 25/07/2017 19:56, Alan Third wrote:
On Mon, Jul 24, 2017 at 04:53:02PM -0400, Glenn Morris wrote:FWIW, a comment from someone who is disinterested in OS X: You could probably make your life easier by not supporting more than Apple does. Eg on the net I read: Apple is only supporting Mac OS X 10.9 – 10.11. Apple stopped providing security updates for Mac OS 10.8 and earlier versions with the release of Mac OS X 10.11 (El Capitan) in 2015.It would make life a lot easier, we could get rid of almost all version dependent code. Just dropping support for 10.6 would remove a lot too. I doubt Charles would like that, though, and he’s the only other person regularly working on the NS port.
[Prev in Thread] | Current Thread | [Next in Thread] |