Viktor Szakats
fc2818b7a5
Use more https in urls and updated some lost links
...
Closes Homebrew/homebrew#35531 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-04 02:13:16 -05:00
Jack Nagel
9a2f2aee7e
Use Utils.popen_read to avoid shelling out in a few places
2014-12-16 15:51:57 -05:00
Dominyk Tiller
b1a2104f0a
os: xcode bump
...
Bumps to the latest Xcode 6.1.1.
Closes Homebrew/homebrew#34632 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-03 11:50:40 +00:00
Jack Nagel
e5e206f4f1
Revert "Revert "xcode: use 6.1 on Mavericks.""
...
This reverts commit 2b472a6e2634a7b7592abb7084b20a098f4a488b.
2014-10-29 11:03:54 -05:00
Mike McQuaid
7b02304b64
Improve API documentation output.
...
And include more files.
2014-10-26 15:42:41 +00:00
Mike McQuaid
19d12aee45
Import docs from wiki.
...
Closes Homebrew/homebrew#33211 .
2014-10-26 14:57:36 +00:00
Jack Nagel
f29376c867
Revert "xcode: use 6.1 on Mavericks."
...
Pending resolution of Homebrew/homebrew#33431 .
This reverts commit bf434e2f7d18ba7d77ac15d54a43c555bc4019c8.
2014-10-21 17:47:30 -05:00
Dominyk Tiller
5c3c728c47
xcode: use 6.1 on Mavericks.
...
Closes Homebrew/homebrew#33399 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-21 14:55:12 +01:00
Mike McQuaid
b0f51ac744
xcode: check clang exists to confim install.
2014-10-17 19:36:47 +01:00
Jack Nagel
da56a45025
Prefer current CLT package ID
...
It seems that "com.apple.pkg.CLTools_Base" was only used for one
release. New releases are using "com.apple.pkg.CLTools_Executables"
again.
Fixes Homebrew/homebrew#33063 .
2014-10-10 13:08:50 -05:00
Jack Nagel
d4fad50e76
Update CLT version check
2014-09-21 14:19:48 -05:00
Mike McQuaid
409a7bce96
XQuartz 2.7.7
2014-09-21 10:15:05 -07:00
Mike McQuaid
d4f8931027
Xcode 6.0.1
2014-09-21 10:15:05 -07:00
Jack Nagel
67a9164278
Disable outdated Xcode doctor checks until the bots are updated
2014-09-18 10:35:59 -05:00
Jack Nagel
35618c8bfe
Xcode 6.0.1
...
Closes Homebrew/homebrew#32394 .
2014-09-18 10:21:49 -05:00
Dominyk Tiller
8205ebabcb
Prefer Xcode 6.1 on 10.10
...
More Yosemite changes. Within two weeks or so, Xcode should be made
available on the App Store, at which point 10.9 will need to go from
“5.1.1” to “6.0” but whilst Yosemite is in Beta *everyone* should be
using the Xcode Beta builds according to Apple, so Yosemite should be
on 6.1 for the foreseeable, even when Apple releases Xcode 6.0 to 10.9
& below. 6.1 is still using the same Clang version number at this point.
Closes Homebrew/homebrew#32201 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-09-10 00:44:37 -05:00
Jack Nagel
04056284ba
Realign case statement
2014-08-09 22:01:28 -05:00
Jack Nagel
62c6b281c9
Update unreleased version check
2014-08-09 22:01:28 -05:00
Dominyk Tiller
97af5a29f7
Initial Yosemite Support
...
Closes Homebrew/homebrew#31435 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-08-09 21:57:04 -05:00
Jack Nagel
596f3ba0a0
Raise ArgumentError when a symbol can't be mapped to a version
...
The fact that this is implemented as a hash lookup is an implementation
detail, so don't let the KeyError bubble up.
2014-07-16 21:11:48 -05:00
Jack Nagel
5c24b7330b
Read if no block is passed to Utils.popen_read
2014-07-11 15:52:39 -05:00
Jack Nagel
677cd51977
Use Utils.popen_read in XQuartz version codepath
2014-07-11 15:41:54 -05:00
Jack Nagel
2d8a3ac35a
Use popen wrapper
...
Closes Homebrew/homebrew#30678 .
2014-07-05 15:41:22 -05:00
Misty De Meo
07660bb7b6
Hardware: add new .features method
...
This returns a list of symbols with the various CPU features supported
by the active hardware.
2014-06-21 21:59:51 -07:00
Mike McQuaid
2f8adead9f
xcode: add new package ID for Mavericks (again).
...
Closes Homebrew/homebrew#30296 .
2014-06-20 12:59:11 +01:00
Mike McQuaid
e83b6a6b45
Revert "xcode: add new package ID for Mavericks."
...
This reverts commit b0caede328b5181106451025df74a456276b76cf.
Fixes Homebrew/homebrew#30299 .
2014-06-20 12:18:28 +01:00
Mike McQuaid
072261a954
xcode: add new package ID for Mavericks.
...
Closes Homebrew/homebrew#30296 .
2014-06-20 11:27:21 +01:00
Trent Ogren
790657f61f
Update latest XQuartz version
...
See https://xquartz.macosforge.org/landing/
Closes Homebrew/homebrew#29826 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-04 10:01:04 +01:00
Andy Blyler
6bbe82062e
Add yosemite to mac versions
...
Closes Homebrew/homebrew#29823 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-03 15:06:46 -05:00
Jack Nagel
d3e19b1504
Simplify MacOS.version.to_sym
2014-06-03 11:32:26 -05:00
Jack Nagel
f1808cd66d
Don't coerce value to string unnecessarily
2014-06-03 11:32:26 -05:00
Jack Nagel
be6029c634
Fix CLT outdated check on 10.9
...
Fixes Homebrew/homebrew#27420 .
2014-05-12 14:34:23 -05:00
Jack Nagel
8a5dda3413
Latest Xcode is 5.1.1
2014-05-12 14:32:36 -05:00
Jack Nagel
f6d5d812dc
Simpler Xcode prefix detection code
2014-05-02 16:48:59 -05:00
Jack Nagel
2c6d4973b9
Remove obsolete fallback for broken Xcode 4.3+
...
After recent cleanups the code in this branch should be unreachable, so
there is little point in keeping it around.
2014-05-02 16:48:59 -05:00
Jack Nagel
aa5a5a526f
Rename Xcode.folder to MacOS.active_developer_dir
...
This reflects what Apple calls it in more recent versions of Xcode/OS X.
2014-05-01 18:36:46 -05:00
Jack Nagel
71055aa073
Move xctoolchain_path to Xcode module, where it belongs
2014-05-01 18:36:46 -05:00
Adam Vandenberg
d4b0599a86
--config -> config
2014-04-30 19:09:29 -07:00
Jack Nagel
749c877f03
Add another comment
2014-04-19 21:47:42 -05:00
Jack Nagel
bac25a77bf
Elaborate on why we should remove this code
2014-04-19 21:40:44 -05:00
Jack Nagel
8d6c1358a2
Update comment
2014-04-15 14:26:12 -05:00
Jack Nagel
538dea98ad
Start cleaning up Xcode.version
2014-04-15 14:20:18 -05:00
Jack Nagel
20c150fb8c
Xcode.bad_xcode_select_path? is used only once, so inline it
2014-04-15 11:28:52 -05:00
Jack Nagel
490cb34885
Remove unnecessary xcode-select check
...
This is handled here:
67fbb313da/Library/brew.rb (L34-46)
2014-04-15 11:21:27 -05:00
Jack Nagel
fcda7a1086
Document some unanswered questions in the Xcode module
2014-04-15 10:08:59 -05:00
Jack Nagel
2d8d7184f6
Remove dead constant
2014-04-15 09:49:01 -05:00
Misty De Meo
89692b34a8
Xcode.prefix: remove osx-gcc-installer hack
...
This hack is starting to outlive its usefulness, and produces false
positives.
Fixes Homebrew/homebrew#28147 .
2014-04-04 15:26:41 -07:00
Jack Nagel
c13311ca09
Cache MacOS.version comparison results
...
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-02 20:29:20 -05:00
Jack Nagel
55b0ee787a
Remove dead code
2014-04-01 22:54:15 -05:00
Jack Nagel
0d3121f781
Batch up mdfind calls when possible
2014-04-01 20:47:26 -05:00