aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac
AgeCommit message (Collapse)Author
2014-08-09Realign case statementJack Nagel
2014-08-09Update unreleased version checkJack Nagel
2014-08-09Initial Yosemite SupportDominyk Tiller
Closes Homebrew/homebrew#31435. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-07-16Raise ArgumentError when a symbol can't be mapped to a versionJack Nagel
The fact that this is implemented as a hash lookup is an implementation detail, so don't let the KeyError bubble up.
2014-07-11Read if no block is passed to Utils.popen_readJack Nagel
2014-07-11Use Utils.popen_read in XQuartz version codepathJack Nagel
2014-07-05Use popen wrapperJack Nagel
Closes Homebrew/homebrew#30678.
2014-06-21Hardware: add new .features methodMisty De Meo
This returns a list of symbols with the various CPU features supported by the active hardware.
2014-06-20xcode: add new package ID for Mavericks (again).Mike McQuaid
Closes Homebrew/homebrew#30296.
2014-06-20Revert "xcode: add new package ID for Mavericks."Mike McQuaid
This reverts commit b0caede328b5181106451025df74a456276b76cf. Fixes Homebrew/homebrew#30299.
2014-06-20xcode: add new package ID for Mavericks.Mike McQuaid
Closes Homebrew/homebrew#30296.
2014-06-04Update latest XQuartz versionTrent Ogren
See https://xquartz.macosforge.org/landing/ Closes Homebrew/homebrew#29826. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-03Add yosemite to mac versionsAndy Blyler
Closes Homebrew/homebrew#29823. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-03Simplify MacOS.version.to_symJack Nagel
2014-06-03Don't coerce value to string unnecessarilyJack Nagel
2014-05-12Fix CLT outdated check on 10.9Jack Nagel
Fixes Homebrew/homebrew#27420.
2014-05-12Latest Xcode is 5.1.1Jack Nagel
2014-05-02Simpler Xcode prefix detection codeJack Nagel
2014-05-02Remove obsolete fallback for broken Xcode 4.3+Jack Nagel
After recent cleanups the code in this branch should be unreachable, so there is little point in keeping it around.
2014-05-01Rename Xcode.folder to MacOS.active_developer_dirJack Nagel
This reflects what Apple calls it in more recent versions of Xcode/OS X.
2014-05-01Move xctoolchain_path to Xcode module, where it belongsJack Nagel
2014-04-30--config -> configAdam Vandenberg
2014-04-19Add another commentJack Nagel
2014-04-19Elaborate on why we should remove this codeJack Nagel
2014-04-15Update commentJack Nagel
2014-04-15Start cleaning up Xcode.versionJack Nagel
2014-04-15Xcode.bad_xcode_select_path? is used only once, so inline itJack Nagel
2014-04-15Remove unnecessary xcode-select checkJack Nagel
This is handled here: https://github.com/Homebrew/homebrew/blob/67fbb313da8843234c4d1785c9c074af5a025394/Library/brew.rb#L34-46
2014-04-15Document some unanswered questions in the Xcode moduleJack Nagel
2014-04-15Remove dead constantJack Nagel
2014-04-04Xcode.prefix: remove osx-gcc-installer hackMisty De Meo
This hack is starting to outlive its usefulness, and produces false positives. Fixes Homebrew/homebrew#28147.
2014-04-02Cache MacOS.version comparison resultsJack Nagel
MacOS.version#<=> is called many, many times during formula loading with the same half dozen or so arguments. A typical call to this method involves: * a hash lookup to convert a symbol argument to a string * creation of a throw-away Version object wrapping the argument * the actual version comparison, which is not cheap This makes it a prime candidate to be memoized.
2014-04-01Remove dead codeJack Nagel
2014-04-01Batch up mdfind calls when possibleJack Nagel
2014-04-01Avoid calling xcodebuild twiceJack Nagel
2014-03-26CLT.installed?: base result on version detectionMisty De Meo
CLT.installed? previously returned false if the user had outdated dev tools installed after a 10.9 upgrade, which was confusing to users.
2014-03-22Remove unnecessary swearing.Mike McQuaid
2014-03-10Update latest CLT version checkJack Nagel
2014-03-10Recognize Xcode 5.1 and CLT 5.1Jack Nagel
Closes Homebrew/homebrew#27389. Fixes Homebrew/homebrew#27390.
2014-02-23latest xcode is 5.0.2Adam Vandenberg
Closes Homebrew/homebrew#26943.
2013-12-14CLT.version: check 10.9 CLT firstMisty De Meo
10.9 users might have older CLT receipts sitting around, which could result in bad pkgutil results. For example, before changing this, my `brew --config` was printing '1.0' (the 10.7 version) instead of '5.0.1.0.1.1382131676', the actual CLT I had installed.
2013-12-14Update docs, comment mxcl/homebrew refs.Mike McQuaid
2013-12-04Homebrew CVS is required for Xcode 5+Jack Nagel
2013-11-26Add Hardware::CPU.aes? and Hardware::CPU.avx2?Jack Nagel
2013-11-26Add Hardware::CPU.intel? and Hardware::CPU.ppc?Jack Nagel
2013-11-26Simplify Hardware::CPU.is_64_bit?Jack Nagel
2013-11-26Cache calls to sysctl_bool at the sourceJack Nagel
2013-11-22Fix MacOS::CLT.installed? for 10.9+Misty De Meo
This continues to use mavericks_dev_tools? instead of trying to read from pkgutil because pkgutil is really slow. Fixes Homebrew/homebrew#24123.
2013-11-12XQuartz 2.7.5 releasedJack Nagel
Closes Homebrew/homebrew#24173.
2013-11-08xcode: fix nil outdated comparison.Mike McQuaid