183 Commits

Author SHA1 Message Date
Rylan Polster
af6be13e7c test: don't try to use Xcode SDK for build requirement 2020-12-21 09:25:29 -05:00
Mike McQuaid
9216d8abe6
rubocop-rails: make fixes. 2020-12-02 10:43:04 +00:00
Markus Reiter
8598b1186a Handle macOS versions >= 11.1 correctly. 2020-11-23 13:46:15 +01:00
Mike McQuaid
444c3858df
Adjust macOS version logic
- Adjust latest supported macOS logic for e.g. Big Sur 11.1.
- Updated latest supported version in docs to Mojave

Fixes https://github.com/Homebrew/brew/issues/9211
2020-11-20 16:42:52 +00:00
Francois-Xavier Coudert
b6c18230cf macOS Big Sur is released 2020-11-14 23:56:36 +01:00
Markus Reiter
da9289eff0 Add more type signatures. 2020-11-13 12:26:36 +01:00
EricFromCanada
3768b7a6e9 apidoc: update comment wording, punctuation, formatting 2020-11-06 00:21:02 -05:00
EricFromCanada
d293431b87 apidoc: update URLs 2020-11-05 23:50:55 -05:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
5410701eff Document OS::Mac and OS::Linux. 2020-08-26 03:13:59 +02:00
Markus Reiter
8d148b1fbc Remove special-casing of MacOS::languages. 2020-07-22 01:09:14 +02:00
Bo Anderson
bb0be60dea os/mac: silence AppleLanguages error, fallback to system prefs 2020-07-08 15:47:15 +01:00
Bo Anderson
9297b18aa6 Add SDK availability diagnostic 2020-07-01 16:07:14 +01:00
Mike McQuaid
ac0665daff
Refer to default branch in links with HEAD
Anywhere we can use `blob/master` we can use `blob/HEAD` instead. This
will make life easier if we ever rename our default branch in future
(once/if Git and GitHub provides the necessary tooling to do so).
2020-06-25 11:38:40 +01:00
Bo Anderson
fbf56e27a0 os/mac: fix for major versions other than 10 2020-06-23 16:51:16 +01:00
vidusheeamoli
d6e587453e srb: resolve error 4015. 25 errors => 18 errors 2020-06-22 16:33:44 +05:30
Mike McQuaid
ef95b59ed4
Remove HomebrewArgvExtension
Fixes #5730
2020-05-23 19:39:11 +01:00
Bo Anderson
c70bb474e3 os/mac: move legacy functions to compat 2020-05-16 14:52:30 +01:00
Bo Anderson
1fe0212ff2 os/mac: add sdk_root_needed? and sdk_for_formula 2020-04-07 17:22:13 +01:00
Bo Anderson
26f185b76f os/mac/xcode: only use SDK for system headers on >= Mojave 2020-03-08 20:32:35 +00:00
Bo Anderson
1f29f70929 os/mac: prefer CLT SDK over Xcode 2020-03-08 20:09:06 +00:00
Bo Anderson
20d9f436ca os/mac/sdk: prioritise SDK matching OS version 2020-03-08 20:08:33 +00:00
Grant Guthrie
178a4e55c2 Remove STANDARD_COMPILERS & references to it 2019-11-27 15:38:11 -05:00
Mike McQuaid
5595deaec6
os/mac: remove MacOS.cat.
None of the supported versions are "cats" any more.
2019-11-11 19:20:17 +00:00
FX Coudert
26ac1b6906 os/mac: support Catalina, drop Sierra 2019-09-28 10:39:57 +02:00
Chongyu Zhu
2a5aee0a0b
xcode: add initial support for Xcode 11.0 2019-06-04 16:11:18 -07:00
Chongyu Zhu
aea2804442
xcode: upgrade for Xcode 10.2.1 release 2019-04-24 22:48:00 +08:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Mike McQuaid
d1ea6f38d3
Fix mutable constants violations. 2019-04-19 21:46:20 +09:00
EricFromCanada
15c38a2d8b formatting fixes 2019-04-13 21:29:32 -04:00
Chongyu Zhu
0299790aa7
xcode: upgrade for Xcode 10.2 release 2019-03-28 03:39:23 +08:00
Mike McQuaid
1aa8ad09e2
Deprecate macOS versions below Mavericks
And remove all dead/unneeded code.
2019-01-27 12:27:47 +00:00
Mike McQuaid
170c5493a4
Update deprecations
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00
Chongyu Zhu
d66c7ef973
xcode: upgrade for Xcode 10.1 release
The version of CLT package that comes with Xcode 10.1 is 1000.10.44.4,
which could be bumped at a later date since the Software Update is not
reliable at this moment.
2018-11-05 12:41:51 +08:00
EricFromCanada
20167e5f1b Adjust comments to tidy API docs output. 2018-10-18 21:42:43 -04:00
FX Coudert
0967c3e549 os/mac: support Mojave, drop El Capitan 2018-09-20 12:52:37 +02:00
Mike McQuaid
bb5166b3c7
os/mac: also update install on version bumps.
I also just remembered this today so let’s add a comment reminder.
2018-09-06 11:48:13 +01:00
Mike McQuaid
56453bc8f8
os/mac: note installation docs need bumped too.
I noticed these contain a reference to our supported versions so should
be bumped whenever this version is bumped.
2018-09-03 17:00:02 +01:00
Mike McQuaid
b2bfa6247f
Merge pull request #4678 from sjackman/mdfind
OS::Mac.mdfind: No need to guard on OS.mac?
2018-08-18 12:06:05 +01:00
Shaun Jackman
a447548600 OS::Mac.mdfind: No need to guard on OS.mac?
This code is only used on macOS.
2018-08-13 23:37:00 -07:00
Misty De Meo
eea18a5cb1
MacOS: update sdk_path_if_needed logic 2018-08-08 10:45:48 -07:00
Misty De Meo
5765dac86c
Xcode: allow requesting Xcode/CLT SDKs specifically 2018-08-08 10:45:48 -07:00
Misty De Meo
e00720e872
MacOS.sdk_path: prefer Xcode if installed 2018-08-08 10:45:48 -07:00
Misty De Meo
47ce9e04e3
Mac: add sdk_path_if_needed 2018-08-08 10:45:48 -07:00
Misty De Meo
8450ffa8ad
OS::Mac: look up CLT SDK on 10.14+ 2018-08-08 10:45:45 -07:00
Markus Reiter
458a1e7903 Remove Locations module. 2018-06-09 09:01:09 +02:00
Dominyk Tiller
9640ef0540
mac: add 9.4 & 10.0 compilers 2018-06-05 06:48:26 +01:00
ilovezfs
807a383bc5 Xcode 9.3 2018-04-17 06:26:12 -07:00
Mike McQuaid
9fca172d03 Fix HOMEBREW_RUBY_WARNINGS="-w"
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Mike McQuaid
cd0db51343 diagnostic: check if Xcode needs CLT installed.
Require the CLT on all but the latest version of macOS to avoid the
continuous workarounds for SDK weirdness.
2017-11-17 21:35:49 +00:00