aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2014-04-14CompilerFailure: llvm can't build C++11 eitherMisty De Meo
2014-04-13Use correct basename when updating dylib IDsJack Nagel
2014-04-13Allow access to both the linked dylibs and the dylib IDJack Nagel
2014-04-13Always return a string from dylib_id_forJack Nagel
2014-04-13readall: read formulae that aren't tapped.Mike McQuaid
This will allow the reading and checking of formulae that mirror Homebrew core formulae (e.g. `git` in a tap) and, with the previous exit code changes, is a reasonable check for "are all the formulae in taps updated to the latest core DSL". Closes Homebrew/homebrew#28328. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-04-12CompilerFailure: don't mutate compiler hashesMisty De Meo
Fixes Homebrew/homebrew#28357.
2014-04-12Formula: provide compiler failure collectionsMisty De Meo
`needs` allows formulae to specify dependencies on cross-compiler dependencies, allowing multiple failures to be specified in a single statement. For instance, `needs :cxx11` adds seven compiler failures. Closes Homebrew/homebrew#22912.
2014-04-11Remove -fno-reorder-blocks for clangJack Nagel
Fixes Homebrew/homebrew#28289.
2014-04-11readall: set Homebrew.failed on exception.Mike McQuaid
2014-04-11brew: allow external cmds to use Homebrew.failed.Mike McQuaid
2014-04-11audit: use .diff instead of .patch for github diffsAdam Vandenberg
2014-04-10Migrate homebrew-php to Homebrew organization.Mike McQuaid
2014-04-10Add tests for new bottling hooks.Mike McQuaid
Closes Homebrew/homebrew#27890. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-04-10Add hooks for pouring bottles.Mike McQuaid
This should give us a bit of control over what e.g. Boxen are doing whilst at the same time stopping us from accidentally breaking each other's stuff every so often. I'm aware this may be somewhat controversial so I'm open to other approaches.
2014-04-08unlink: prefer "symlinks" since that's how it is reported by linkJack Nagel
cf. Homebrew/homebrew#28244.
2014-04-07GithubGistFormula doesn't need to know the exact signature of initializeJack Nagel
2014-04-07Restore recursive tap searchJack Nagel
Fixes Homebrew/homebrew#28234.
2014-04-07Document behavior of `deps` and `uses` when given multiple argumentsJack Nagel
2014-04-07Restore documented behavior of `brew uses foo bar`Jack Nagel
`brew uses foo bar` is supposed to return the intersection of formulae that use foo and bar. However, this was broken by changes made to support requirements that can coerce to regular dependencies.
2014-04-07uses: only check ARGV for recursive flag onceJack Nagel
2014-04-07doctor: fix typoJack Nagel
Fixes Homebrew/homebrew#28221.
2014-04-06Initialize cxxstdlib set lazilyJack Nagel
This is used rarely and only at build-time, so we don't need to create it when instantiating the formula.
2014-04-06drop unnecessary nil checksJack Nagel
2014-04-06add linkapps completionAdam Vandenberg
2014-04-06Clean up test classesJack Nagel
2014-04-06Drop conditional that is always falseJack Nagel
2014-04-06show formula version in failed build outputAdam Vandenberg
2014-04-06Mirror unlink logic when checking for linked keg-only formulaeJack Nagel
2014-04-06Recognize and extract xar filesJack Nagel
2014-04-06brew audit: show line number for whitespaceLee Hanxue
Closes Homebrew/homebrew#24481. Closes Homebrew/homebrew#24490.
2014-04-06pathname: use ln_sf in install_symlink.Mike McQuaid
Closes Homebrew/homebrew#28136.
2014-04-06Extract common decompression code to a methodJack Nagel
2014-04-06Handle untarred bzip2 filesJack Nagel
Fixes Homebrew/homebrew#28187.
2014-04-06Use a case statement in Pathname#compression_typeJack Nagel
2014-04-06python caveats: use `>` instead of `>>`Samuel John
The `homebrew.pth` should be a file with a single line in it. Also (at least on zsh) if the file does not exist, `>>` will result in an error. The `>` works in both, bash and zsh and creates the file with the `echo`ed contet. Closes Homebrew/homebrew#28201. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-06Remove now unnecessary realpath callsJack Nagel
2014-04-06Always resolve one symlink when loading formula filesJack Nagel
This means that tapped formula will always have the correct path, and we can stop calling realpath everywhere.
2014-04-06Fall back to open/write when atomic_write failsJack Nagel
Fixes Homebrew/homebrew#28190.
2014-04-05Remove obsolete guards around canonical_name return valueJack Nagel
2014-04-05Implement canonical_name in FormularyJack Nagel
2014-04-05Drop support for passing incomplete pathsJack Nagel
`brew install ./foo` treats `./foo` like `./foo.rb`. This requires a confusing special case in the name resolution logic and doesn't make a whole lot of sense from a UX perspective. Drop support for this. The argument should be an absolute path, a relative path, or a formula name, rather than a hybrid. cf. https://github.com/Homebrew/homebrew/issues/23430#issuecomment-26776962
2014-04-05Extract alias resolution to a separate loader classJack Nagel
2014-04-05Use StandardLoader when we know the path alreadyJack Nagel
2014-04-05Drop readable? check since we don't do that for any other caseJack Nagel
2014-04-05Simplify tap formula loadingJack Nagel
2014-04-05Pass path directly to StandardLoader when possibleJack Nagel
Now we can avoid computing the path twice in the common case.
2014-04-05Eliminate repeated work in Formulary.factoryJack Nagel
Much of the name resolution done in Formula.canonical_name is repeated Formulary.factory. Here we eliminate the repeated work by duplicating the code from canonical_name. Later we will refactor it so that both methods can share the bulk of the logic.
2014-04-05Remove unnecessary usage of Formula.canonical_nameJack Nagel
2014-04-05Guard against nil in inherited_options hashJack Nagel
Fixes Homebrew/homebrew#28188.
2014-04-05Combine conditional branches that do the same thingJack Nagel