aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2013-05-10deps: fix --1 outputJack Nagel
Fixes Homebrew/homebrew#17550. Closes Homebrew/homebrew#19668.
2013-05-10info: improve dependency listingJack Nagel
2013-05-10Add type accessors to DependenciesJack Nagel
2013-05-10Use Enumerable#grepJack Nagel
2013-05-10Refactor Dependency.expandJack Nagel
2013-05-10Reorganize compatJack Nagel
2013-05-10Remove ancient global methods from compatJack Nagel
2013-05-10Allow requirements to specify a default formula.Mike McQuaid
This allows default resolution of requirements without user intervention. Closes Homebrew/homebrew#19627.
2013-05-09Overwrite broken symlinks with --overwriteDesmond Brand
Closes Homebrew/homebrew#19480. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-05-08Add gcc-4.0 to fails_withMisty De Meo
2013-05-07doctor: update ruby version checkJack Nagel
2013-05-07doctor: update git version checkJack Nagel
2013-05-07audit: only generate aliases list onceJack Nagel
2013-05-07audit: only set up the build environment onceJack Nagel
2013-05-06ArchRequirement: takes a single archMisty De Meo
Fixes Homebrew/homebrew#19646.
2013-05-06Fix type error in conflict_requirementJack Nagel
Fixes Homebrew/homebrew#19636.
2013-05-06Avoid extra array allocationsJack Nagel
2013-05-06Reduce allocations in dependency constructionJack Nagel
By always passing around a single, unnested array rather than splatting and then defensively flattening and compacting things, we can avoid allocating a bunch of unnecessary arrays. This gives a performance boost of roughly 4% when enumerating 2500 formulae, and has the side effect of cleaning up the dependency API.
2013-05-06TypeError is appropriate hereJack Nagel
2013-05-06Check Requirement before DependencyJack Nagel
It's much more likely that an instance of Requirement is passed.
2013-05-06Extract string and class logic from parse_specJack Nagel
2013-05-05Formula: fix to_hash output for bottlesMisty De Meo
2013-05-03Add frameworks helper to formulaAdam Vandenberg
2013-05-02info: re-raise on blacklist missJack Nagel
2013-05-02--env: show HOMEBREW_CC in superenvAdam Vandenberg
Closes Homebrew/homebrew#18247.
2013-04-29info: try blacklist for unknown formula namesAdam Vandenberg
Closes Homebrew/homebrew#17399.
2013-04-27Avoid capturing groups when unnusedJack Nagel
2013-04-27Combine GitHub version regexesJack Nagel
2013-04-27Only remove DS_Store on ENOTEMPTYJack Nagel
2013-04-27Don't test error messageJack Nagel
Now that we are testing for a custom exception type, we don't need to make any assertion about the message.
2013-04-27Allow `brew versions` to work with underspecified formulaeJack Nagel
2013-04-26audit: fix interpolation checkJack Nagel
Fixes Homebrew/homebrew#19363.
2013-04-26Add deps target to tests Rakefile for needed gems.Mike McQuaid
2013-04-25doctor: don't shell out in coreutils checkMisty De Meo
2013-04-25doctor: add default-names findutils checkMisty De Meo
Fixes Homebrew/homebrew#19265.
2013-04-24Add a couple more version testsJack Nagel
2013-04-24Split up big version detection testJack Nagel
2013-04-22audit: warn about top-level methodsJack Nagel
2013-04-21Remove global methods from formulaeSimon Sigurdhsson
Removes any global methods from formulae, and moves #kext_prefix (which seems to be at least somewhat abstractable) into the Formula class. The only formula with global methods is now aspell; it (and its generating script in contrib) has been changed to prefix that method with `aspell_`, to minimize the risk of name collisions. Closes Homebrew/homebrew#19331. Closes Homebrew/homebrew#19343. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-20Avoid calling to_s on the same Pathname multiple timesJack Nagel
2013-04-18Don't accept Formula objects as dep specsJack Nagel
It was pointed out that this isn't used at all.
2013-04-17Reorder dep spec types by frequencyJack Nagel
2013-04-17Add :hg build requirement.Adam Vandenberg
Closes Homebrew/homebrew#19074.
2013-04-16Fix download strategy for SVN HEADXiyue Deng
After converting to Pathname to create paths, using '+=' will result in path concatenation by '/', which result in weird path like 'gcc--svn/-HEAD'. This patch should fix this. Closes Homebrew/homebrew#19233. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-16VersionElement: attempt most likely match firstJack Nagel
2013-04-16Only call Pathname#to_s once per Version objectJack Nagel
2013-04-16Only dup and shift when specs hash is populatedJack Nagel
2013-04-16Reduce repeated array inclusion checkJack Nagel
Currently we check if "tag" is present in LANGUAGE_MODULES for every String dep, even if tag is nil. Stop doing this, and make the LANGUAGE_MODULES array into a Set instead to improve lookup performance.
2013-04-16Add tests for FormulaPin and simplify implementationJack Nagel
2013-04-15Update for Xcode 4.6.2Ashley Towns
Closes Homebrew/homebrew#19227. Signed-off-by: Jack Nagel <jacknagel@gmail.com>