5723 Commits

Author SHA1 Message Date
Jack Nagel
82047ed901 Search results should always be sorted 2014-04-27 16:03:08 -05:00
Jack Nagel
3b15b58d00 Use Formulary.factory to find formula in taps 2014-04-27 15:32:28 -05:00
Jack Nagel
070bdc59b9 Explicitly pass key-value options to the build process
Fixes Homebrew/homebrew#28695.
2014-04-26 19:10:21 -05:00
Jack Nagel
bdee729a41 Yield absolute paths from find_formula 2014-04-25 18:58:16 -05:00
Jack Nagel
b40a3413e3 Pass around only absolute paths when dealing with taps 2014-04-25 18:36:31 -05:00
Jack Nagel
a0494441d3 Build relative paths using resolved_path and relative_path_from 2014-04-25 12:34:37 -05:00
Jack Nagel
9b60c1470a Less code in begin clause 2014-04-25 12:34:28 -05:00
Jack Nagel
b0cd6b0376 Extract some boilerplate into an each_tap method 2014-04-25 11:25:38 -05:00
Jack Nagel
99c275d03b Remove slow tab completion for brew tap
This requires hitting the network, which makes the first invocation
slow. The results are inaccurate as it only pulls down the first page of
results. It is also prone to false-positives.

A better implementation is welcome, but in the years since I wrote this
code I can't think of a single time where I found it useful.
2014-04-24 21:42:15 -05:00
Jack Nagel
c466b20591 Fix tap completion when there aren't any taps 2014-04-24 21:36:59 -05:00
Jack Nagel
a699eeb468 Don't use a regexp to match paths, just compare them for equality 2014-04-24 20:45:36 -05:00
Jack Nagel
ccd31a2dd2 Pass arguments instead of reopening Pathname 2014-04-24 18:26:05 -05:00
Jack Nagel
dcb9ae1bcc Using existing method to make tap symlinks 2014-04-24 18:06:11 -05:00
Jack Nagel
3f10327c0e Update bash completion for new tap format 2014-04-24 17:24:27 -05:00
Tsukasa OMOTO
54004a4759 Make the on-disk representation of taps unambiguous
This commit supports "-" and "_" in names of user and repository.

Closes Homebrew/homebrew#28203.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-24 17:10:41 -05:00
Jack Nagel
fb27cbe6a7 Blacklist more flags that clang does not support
Fixes Homebrew/homebrew#28680.
2014-04-24 13:20:24 -05:00
Dan Martinez
4303817ec7 separate the brew info for multiple formulae
Closes Homebrew/homebrew#27311.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-23 20:41:24 -07:00
Mike McQuaid
d30b118631 Migrate apple-gcc42 back to homebrew/versions.
Closes Homebrew/homebrew#28418.
2014-04-23 12:27:24 +01:00
Mike McQuaid
165fdf4617 Use gcc instead of apple-gcc42 when needed. 2014-04-23 08:15:30 +01:00
Mike McQuaid
317a91bc1c LICENSE: move to root folder.
This is where people expect to find it so let's make it easier.

Closes Homebrew/homebrew#28418.
2014-04-23 08:11:02 +01:00
Mike McQuaid
55d277c335 Support core GCC formula as a GCC compiler.
It is activated by the same mechanism as the Homebrew/versions compilers
which now check if the GCC formula uses the same, correct version.

References Homebrew/homebrew#28418.
2014-04-23 08:10:48 +01:00
Mike McQuaid
593702c70b shared: don't warn about non-Apple compilers now. 2014-04-23 08:10:48 +01:00
Mike McQuaid
249aae177f formula: move cxxstdlib methods to the class.
This allows disabling this checks when e.g. pouring bottles.
2014-04-23 08:10:48 +01:00
Jack Nagel
6cdc76452b Only directories are candidates for superenv bin 2014-04-22 15:39:59 -05:00
Jack Nagel
722a5af4eb Simplify conditions for superenv activation
`MacOS::Xcode.without_clt? && MacOS.sdk_path.nil?` should never be true.

In its earliest form, this would raise a bare RuntimeError in an effort
to have the bug reported. Later, it was changed to silently disable
superenv. But we don't want to do that. If there's a bug, or the user's
system is misconfigured, we want to know, so that we can fix the bug, or
the user can fix their system. So let's remove the condition.
2014-04-22 15:37:34 -05:00
Mike McQuaid
ebd77ae8c4 README: use the word "maintainers". 2014-04-22 15:55:55 +01:00
Jack Nagel
dbb527f352 The argument to MacOS.locate is always a string 2014-04-21 22:47:15 -05:00
Mario Mueller
be66d746ad rewrite TeX requirement message
Closes Homebrew/homebrew#28588.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-21 19:39:37 -07:00
Jack Nagel
7573855756 Only check Xcode prefix when non-nil 2014-04-21 18:52:12 -05:00
Jack Nagel
24e27465e0 Remove comments that no longer reflect any adjacent code 2014-04-21 18:51:43 -05:00
Jack Nagel
c208afe226 Don't test jruby deps since it makes the tests slow 2014-04-21 12:48:15 -05:00
Jack Nagel
4b4fc003df Adjust installer for updated link error handling 2014-04-21 12:43:06 -05:00
Jack Nagel
72d83adaf3 Adjust link command for updated error handling 2014-04-21 12:43:06 -05:00
Jack Nagel
6b5e92ac47 Raise AlreadyLinkedError when a keg is already linked 2014-04-21 12:43:06 -05:00
Jack Nagel
b2e8c4e79a Only unlink after a LinkError 2014-04-21 12:43:06 -05:00
Jack Nagel
727f204760 Raise useful errors from make_relative_symlink 2014-04-21 12:43:06 -05:00
Jack Nagel
d3ab439b7c Rework make_relative_symlink error handling and move it into keg 2014-04-21 12:43:06 -05:00
Jack Nagel
9d72555644 Print the attempted command when xcrun wrapper fails 2014-04-21 11:05:30 -05:00
Jack Nagel
4b4b6e183e Use File::PATH_SEPARATOR since we use it everywhere else 2014-04-21 11:03:44 -05:00
Jack Nagel
c832bd1591 Fix typo 2014-04-21 10:52:46 -05:00
Jack Nagel
0682c1ad02 Add some comments to the cc wrapper 2014-04-21 10:40:26 -05:00
Jack Nagel
9d15aefd2e Only interpolate constant regexps once 2014-04-21 10:35:05 -05:00
Finn Smith
eed3368039 Fix keg version in Formula#to_hash
Closes Homebrew/homebrew#28550.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-21 09:29:53 -05:00
Jack Nagel
23400ec217 Remove code that doesn't do anything 2014-04-21 00:17:34 -05:00
Jack Nagel
85109c95d8 Add newlines between methods 2014-04-21 00:17:34 -05:00
Jack Nagel
815e7f29fc Write the positive case first 2014-04-21 00:17:34 -05:00
Jack Nagel
de9ce56414 Make obvious that what we care about is the presence of sdkroot 2014-04-21 00:17:33 -05:00
Jack Nagel
8b086fe575 Make obvious that this is a nested conditional 2014-04-21 00:17:33 -05:00
Jack Nagel
ed8851dfa1 Filter list before mapping it 2014-04-21 00:17:33 -05:00
Jack Nagel
cb58bd779b Remove last monkeypatch 2014-04-20 22:39:47 -05:00