From f8a6e09b9a15801bd25d87c82f2ee1cd79aa7ad3 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 11 Jun 2024 02:40:05 +0000 Subject: [PATCH] docs: updates from Homebrew/brew --- docs/MacOSVersion.html | 55 ++++++------- docs/MachOShim.html | 84 ++++++++++---------- docs/OS/Mac/CLT.html | 162 +++++++++++++++++++------------------- docs/OS/Mac/Xcode.html | 172 +++++++++++++++++++++-------------------- 4 files changed, 245 insertions(+), 228 deletions(-) diff --git a/docs/MacOSVersion.html b/docs/MacOSVersion.html index 42f033a87..373001e5d 100644 --- a/docs/MacOSVersion.html +++ b/docs/MacOSVersion.html @@ -161,6 +161,7 @@
{ + sequoia: "15", sonoma: "14", ventura: "13", monterey: "12", @@ -499,16 +500,16 @@
-40 41 42 43 44 45 -46+46 +47
# File 'macos_version.rb', line 40 +# File 'macos_version.rb', line 41 def initialize(version) raise MacOSVersion::Error, version unless /\A1\d+(?:\.\d+){0,2}\Z/.match?(version) @@ -586,13 +587,13 @@
-34 35 36 -37+37 +38
# File 'macos_version.rb', line 34 +# File 'macos_version.rb', line 35 def self.from_symbol(version) str = SYMBOLS.fetch(version) { raise MacOSVersion::Error, version } @@ -651,12 +652,12 @@
-109 110 -111+111 +112
# File 'macos_version.rb', line 109 +# File 'macos_version.rb', line 110 def outdated_release? self < HOMEBREW_MACOS_OLDEST_SUPPORTED @@ -708,12 +709,12 @@
-114 115 -116+116 +117
# File 'macos_version.rb', line 114 +# File 'macos_version.rb', line 115 def prerelease? self >= HOMEBREW_MACOS_NEWEST_UNSUPPORTED @@ -765,7 +766,6 @@
-93 94 95 96 @@ -773,10 +773,11 @@+101 +10298 99 100 -101
# File 'macos_version.rb', line 93 +# File 'macos_version.rb', line 94 def pretty_name return @pretty_name if defined?(@pretty_name) @@ -851,7 +852,6 @@
-124 125 126 127 @@ -859,10 +859,11 @@+132 +133129 130 131 -132
# File 'macos_version.rb', line 124 +# File 'macos_version.rb', line 125 def requires_nehalem_cpu? return false if null? @@ -920,7 +921,6 @@
-70 71 72 73 @@ -929,10 +929,11 @@+79 +8076 77 78 -79
# File 'macos_version.rb', line 70 +# File 'macos_version.rb', line 71 def strip_patch return self if null? @@ -991,7 +992,6 @@
-82 83 84 85 @@ -999,10 +999,11 @@+90 +9187 88 89 -90
# File 'macos_version.rb', line 82 +# File 'macos_version.rb', line 83 def to_sym return @sym if defined?(@sym) @@ -1060,12 +1061,12 @@
-119 120 -121+121 +122
# File 'macos_version.rb', line 119 +# File 'macos_version.rb', line 120 def unsupported_release? outdated_release? || prerelease? diff --git a/docs/MachOShim.html b/docs/MachOShim.html index 6b96daa0d..546b9435f 100644 --- a/docs/MachOShim.html +++ b/docs/MachOShim.html @@ -581,16 +581,16 @@
-129 130 131 132 133 134 -135+135 +136
# File 'os/mac/mach.rb', line 129 +# File 'os/mac/mach.rb', line 130 def arch case archs.length @@ -633,12 +633,12 @@
-125 126 -127+127 +128
# File 'os/mac/mach.rb', line 125 +# File 'os/mac/mach.rb', line 126 def archs mach_data.map { |m| m.fetch :arch } @@ -898,12 +898,12 @@
-157 158 -159+159 +160
# File 'os/mac/mach.rb', line 157 +# File 'os/mac/mach.rb', line 158 def dylib? mach_data.any? { |m| m.fetch(:type) == :dylib } @@ -1038,13 +1038,15 @@+94 +9591 92 93 -94
# File 'os/mac/mach.rb', line 88 def dynamically_linked_libraries(except: :none, resolve_variable_references: true) - lcs = macho.dylib_load_commands.reject { |lc| lc.type == except } + lcs = macho.dylib_load_commands + lcs.reject! { |lc| lc.flag?(except) } if except != :none names = lcs.map { |lc| lc.name.to_s }.uniq names.map! { resolve_variable_name(_1) } if resolve_variable_references @@ -1097,12 +1099,12 @@
-141 142 -143+143 +144
# File 'os/mac/mach.rb', line 141 +# File 'os/mac/mach.rb', line 142 def i386? arch == :i386 @@ -1154,12 +1156,12 @@
-167 168 -169+169 +170
# File 'os/mac/mach.rb', line 167 +# File 'os/mac/mach.rb', line 168 def mach_o_bundle? mach_data.any? { |m| m.fetch(:type) == :bundle } @@ -1215,12 +1217,12 @@
-161 162 -163+163 +164
# File 'os/mac/mach.rb', line 161 +# File 'os/mac/mach.rb', line 162 def mach_o_executable? mach_data.any? { |m| m.fetch(:type) == :executable } @@ -1272,12 +1274,12 @@
-153 154 -155+155 +156
# File 'os/mac/mach.rb', line 153 +# File 'os/mac/mach.rb', line 154 def ppc64? arch == :ppc64 @@ -1329,12 +1331,12 @@
-149 150 -151+151 +152
# File 'os/mac/mach.rb', line 149 +# File 'os/mac/mach.rb', line 150 def ppc7400? arch == :ppc7400 @@ -1373,17 +1375,17 @@
-116 117 118 119 120 121 122 -123+123 +124
# File 'os/mac/mach.rb', line 116 +# File 'os/mac/mach.rb', line 117 def resolve_rpath(name) target = T.let(nil, T.nilable(String)) @@ -1427,7 +1429,6 @@
-104 105 106 107 @@ -1437,10 +1438,11 @@+114 +115111 112 113 -114
# File 'os/mac/mach.rb', line 104 +# File 'os/mac/mach.rb', line 105 def resolve_variable_name(name, resolve_rpaths: true) if name.start_with? "@loader_path" @@ -1487,16 +1489,16 @@
-96 97 98 99 100 101 -102+102 +103
# File 'os/mac/mach.rb', line 96 +# File 'os/mac/mach.rb', line 97 def rpaths(resolve_variable_references: true) names = macho.rpaths @@ -1552,12 +1554,12 @@
-137 138 -139+139 +140
# File 'os/mac/mach.rb', line 137 +# File 'os/mac/mach.rb', line 138 def universal? arch == :universal @@ -1609,12 +1611,12 @@
-145 146 -147+147 +148
# File 'os/mac/mach.rb', line 145 +# File 'os/mac/mach.rb', line 146 def x86_64? arch == :x86_64 diff --git a/docs/OS/Mac/CLT.html b/docs/OS/Mac/CLT.html index 67b8779de..8bd0c96c8 100644 --- a/docs/OS/Mac/CLT.html +++ b/docs/OS/Mac/CLT.html @@ -576,14 +576,14 @@
-380 -381 -382 -383 -384+387 +388 +389 +390 +391
# File 'os/mac/xcode.rb', line 380 +# File 'os/mac/xcode.rb', line 387 def self.below_minimum_version? return false unless installed? @@ -637,13 +637,13 @@
-395 -396 -397 -398+402 +403 +404 +405
# File 'os/mac/xcode.rb', line 395 +# File 'os/mac/xcode.rb', line 402 def self.detect_clang_version version_output = Utils.popen_read("#{PKG_PATH}/usr/bin/clang", "--version") @@ -696,20 +696,20 @@
-421 -422 -423 -424 -425 -426 -427 428 429 430 -431+431 +432 +433 +434 +435 +436 +437 +438
# File 'os/mac/xcode.rb', line 421 +# File 'os/mac/xcode.rb', line 428 def self.detect_version version = T.let(nil, T.nilable(String)) @@ -769,12 +769,12 @@
-401 -402 -403+408 +409 +410
# File 'os/mac/xcode.rb', line 401 +# File 'os/mac/xcode.rb', line 408 def self.detect_version_from_clang_version detect_clang_version&.sub(/^(\d+)0(\d)\./, "\\1.\\2.") @@ -826,10 +826,6 @@
-307 -308 -309 -310 311 312 313 @@ -839,10 +835,14 @@+320 +321 +322 +323 +324317 318 319 -320
# File 'os/mac/xcode.rb', line 307 +# File 'os/mac/xcode.rb', line 311 def self.installation_instructions if MacOS.version == "10.14" @@ -967,10 +967,6 @@
-348 -349 -350 -351 352 353 354 @@ -978,14 +974,22 @@+359 +360 +361 +362 +363 +364 +365356 357 358 -359
# File 'os/mac/xcode.rb', line 348 +# File 'os/mac/xcode.rb', line 352 def self.latest_clang_version case MacOS.version - when "14", "13" then "1500.1.0.2.5" + when "15" then "1600.0.20.10" + when "14" then "1500.3.9.4" + when "13" then "1500.1.0.2.5" when "12" then "1400.0.29.202" when "11" then "1300.0.29.30" when "10.15" then "1200.0.32.29" @@ -1045,25 +1049,27 @@
-365 -366 -367 -368 -369 -370 371 372 373 374 375 376 -377+377 +378 +379 +380 +381 +382 +383 +384
# File 'os/mac/xcode.rb', line 365 +# File 'os/mac/xcode.rb', line 371 def self.minimum_version case MacOS.version + when "15" then "16.0.0" when "14" then "15.0.0" when "13" then "14.0.0" when "12" then "13.0.0" @@ -1122,15 +1128,15 @@
-387 -388 -389 -390 -391 -392+394 +395 +396 +397 +398 +399
# File 'os/mac/xcode.rb', line 387 +# File 'os/mac/xcode.rb', line 394 def self.outdated? clang_version = detect_clang_version @@ -1185,12 +1191,12 @@
-287 -288 -289+291 +292 +293
# File 'os/mac/xcode.rb', line 287 +# File 'os/mac/xcode.rb', line 291 def self.provides_sdk? version >= "8" @@ -1259,12 +1265,12 @@
-297 -298 -299+301 +302 +303
# File 'os/mac/xcode.rb', line 297 +# File 'os/mac/xcode.rb', line 301 def self.sdk(version = nil) sdk_locator.sdk_if_applicable(version) @@ -1316,12 +1322,12 @@
-292 -293 -294+296 +297 +298
# File 'os/mac/xcode.rb', line 292 +# File 'os/mac/xcode.rb', line 296 def self.sdk_locator @sdk_locator ||= CLTSDKLocator.new @@ -1390,12 +1396,12 @@
-302 -303 -304+306 +307 +308
# File 'os/mac/xcode.rb', line 302 +# File 'os/mac/xcode.rb', line 306 def self.sdk_path(version = nil) sdk(version)&.path @@ -1447,12 +1453,12 @@
-282 -283 -284+286 +287 +288
# File 'os/mac/xcode.rb', line 282 +# File 'os/mac/xcode.rb', line 286 def self.separate_header_package? version >= "10" && MacOS.version >= "10.14" @@ -1504,10 +1510,6 @@
-323 -324 -325 -326 327 328 329 @@ -1524,10 +1526,14 @@+343 +344 +345 +346 +347340 341 342 -343
# File 'os/mac/xcode.rb', line 323 +# File 'os/mac/xcode.rb', line 327 def self.update_instructions software_update_location = if MacOS.version >= "13" diff --git a/docs/OS/Mac/Xcode.html b/docs/OS/Mac/Xcode.html index 57e427d15..88ba9d27a 100644 --- a/docs/OS/Mac/Xcode.html +++ b/docs/OS/Mac/Xcode.html @@ -677,14 +677,14 @@
-56 -57 -58 59 -60+60 +61 +62 +63
# File 'os/mac/xcode.rb', line 56 +# File 'os/mac/xcode.rb', line 59 def self.below_minimum_version? return false unless installed? @@ -738,18 +738,18 @@
-114 -115 -116 117 118 119 120 121 -122+122 +123 +124 +125
# File 'os/mac/xcode.rb', line 114 +# File 'os/mac/xcode.rb', line 117 def self.bundle_path # Use the default location if it exists. @@ -807,12 +807,12 @@
-262 -263 -264+266 +267 +268
# File 'os/mac/xcode.rb', line 262 +# File 'os/mac/xcode.rb', line 266 def self.default_prefix? prefix.to_s == "/Applications/Xcode.app/Contents/Developer" @@ -864,9 +864,6 @@
-190 -191 -192 193 194 195 @@ -899,10 +896,13 @@+225 +226 +227 +228222 223 224 -225
# File 'os/mac/xcode.rb', line 190 +# File 'os/mac/xcode.rb', line 193 def self.detect_version # This is a separate function as you can't cache the value out of a block @@ -987,9 +987,6 @@
-228 -229 -230 231 232 233 @@ -1018,10 +1015,14 @@+259 +260 +261 +262 +263256 257 258 -259
# File 'os/mac/xcode.rb', line 228 +# File 'os/mac/xcode.rb', line 231 def self.detect_version_from_clang_version version = DevelopmentTools.clang_version @@ -1051,8 +1052,9 @@when "13.0.0" then "13.2.1" when "13.1.6" then "13.4.1" when "14.0.0" then "14.2" - when "15.0.0" then "15.1" - else "14.3" + when "14.0.3" then "14.3.1" + when "16.0.0" then "16.0" + else "15.4" end end
-146 -147 -148 149 150 151 @@ -1113,10 +1112,13 @@+157 +158 +159 +160154 155 156 -157
# File 'os/mac/xcode.rb', line 146 +# File 'os/mac/xcode.rb', line 149 def self.installation_instructions if OS::Mac.version.prerelease? @@ -1236,12 +1238,12 @@
-63 -64 -65+66 +67 +68
# File 'os/mac/xcode.rb', line 63 +# File 'os/mac/xcode.rb', line 66 def self.latest_sdk_version? OS::Mac.full_version >= OS::Mac.latest_sdk_version @@ -1330,15 +1332,19 @@+34 +35 +3631 32 33 -34
# File 'os/mac/xcode.rb', line 17 def self.latest_version(macos: MacOS.version) - latest_stable = "15.1" + latest_stable = "15.4" case macos - when "14", "13" then latest_stable + when "15" then "16.0" + when "14" then latest_stable + when "13" then "15.2" when "12" then "14.2" when "11" then "13.2.1" when "10.15" then "12.4" @@ -1404,8 +1410,6 @@
-41 -42 43 44 45 @@ -1416,13 +1420,17 @@+53 +54 +55 +5650 51 52 -53
# File 'os/mac/xcode.rb', line 41 +# File 'os/mac/xcode.rb', line 43 def self.minimum_version case MacOS.version + when "15" then "16.0" when "14" then "15.0" when "13" then "14.1" when "12" then "13.1" @@ -1481,19 +1489,19 @@
-68 -69 -70 71 72 73 74 75 76 -77+77 +78 +79 +80
# File 'os/mac/xcode.rb', line 68 +# File 'os/mac/xcode.rb', line 71 def self.needs_clt_installed? return false if latest_sdk_version? @@ -1552,14 +1560,14 @@
-80 -81 -82 83 -84+84 +85 +86 +87
# File 'os/mac/xcode.rb', line 80 +# File 'os/mac/xcode.rb', line 83 def self.outdated? return false unless installed? @@ -1615,9 +1623,6 @@
-94 -95 -96 97 98 99 @@ -1627,10 +1632,13 @@+106 +107 +108 +109103 104 105 -106
# File 'os/mac/xcode.rb', line 94 +# File 'os/mac/xcode.rb', line 97 def self.prefix @prefix ||= begin @@ -1709,12 +1717,12 @@
-136 -137 -138+139 +140 +141
# File 'os/mac/xcode.rb', line 136 +# File 'os/mac/xcode.rb', line 139 def self.sdk(version = nil) sdk_locator.sdk_if_applicable(version) @@ -1766,12 +1774,12 @@
-131 -132 -133+134 +135 +136
# File 'os/mac/xcode.rb', line 131 +# File 'os/mac/xcode.rb', line 134 def self.sdk_locator @sdk_locator ||= XcodeSDKLocator.new @@ -1840,12 +1848,12 @@
-141 -142 -143+144 +145 +146
# File 'os/mac/xcode.rb', line 141 +# File 'os/mac/xcode.rb', line 144 def self.sdk_path(version = nil) sdk(version)&.path @@ -1897,12 +1905,12 @@
-109 -110 -111+112 +113 +114
# File 'os/mac/xcode.rb', line 109 +# File 'os/mac/xcode.rb', line 112 def self.toolchain_path Pathname("#{prefix}/Toolchains/XcodeDefault.xctoolchain") @@ -1954,9 +1962,6 @@
-160 -161 -162 163 164 165 @@ -1965,10 +1970,13 @@+171 +172 +173 +174168 169 170 -171
# File 'os/mac/xcode.rb', line 160 +# File 'os/mac/xcode.rb', line 163 def self.update_instructions if OS::Mac.version.prerelease? @@ -2089,12 +2097,12 @@
-87 -88 -89+90 +91 +92
# File 'os/mac/xcode.rb', line 87 +# File 'os/mac/xcode.rb', line 90 def self.without_clt? !MacOS::CLT.installed?