aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-11-14Fix detection of self-extracting `.exe` files.Markus Reiter
2016-11-14uninstall: style fixesAlyssa Ross
Works around Rubycop not liking method names that start with `is_` by changing convention from singular to plural. I think it's better that way anyway.
2016-11-14uninstall: clean up warningsAlyssa Ross
2016-11-14utils: fix capture_stderr styleAlyssa Ross
2016-11-14Warn developers when uninstalling a dependencyAlyssa Ross
Suggested in #1084. Made the existing warning output entirely to STDERR, because previously the first line went to STDERR and subsequent ones went to STDOUT.
2016-11-14Don't warn about unused `brew install` arguments.Mike McQuaid
This is a step closer to better argument handling but for now just fixes the issue in #1217 where it starts complaining about options like `--build-from-source` being used.
2016-11-14Remove `flat_map` compatibility layer.Markus Reiter
2016-11-14No empty `when`s.Markus Reiter
2016-11-14Merge pull request #1500 from JCount/formula_versions-devel-fixMike McQuaid
formula_versions: fix erroneous :stable in version_attributes_map
2016-11-14Merge pull request #1494 from aw1621107/add-frounding-mathMike McQuaid
cc: Add -frounding-math to list of ignored flags
2016-11-14Merge pull request #1497 from alyssais/uninstall_keg_to_formulaMike McQuaid
keg: don't rely on #to_formula
2016-11-13formula_versions: fix erroneous :stable in version_attributes_mapJCount
2016-11-13keg: don't rely on #to_formulaAlyssa Ross
It doesn't always work. For example, a keg could have been installed with a formula from a URL, which Homebrew now does not know how to access. Fixes #1496.
2016-11-13No if/unless-modifier on multiline blocks.Markus Reiter
2016-11-13Rename single line block parameters to `acc/elem`.Markus Reiter
2016-11-13Update RuboCop to 0.45.0.Markus Reiter
2016-11-13Use guard clauses.Markus Reiter
2016-11-13cc: Add -frounding-math to list of ignored flagsAlex Wang
2016-11-13audit: fix "version should not decrease" check.Mike McQuaid
Fix the "version should not decrease" check so it correctly handles `version_scheme`s. Fixes #1489.
2016-11-13Merge pull request #1415 from robinkunde/semverMike McQuaid
Update macOS Xcode tool checks do use Version class for comparisons
2016-11-13Merge pull request #1217 from MatzFan/invalid_build_option_warningsMike McQuaid
Invalid build option warnings - supersedes #1088
2016-11-13Merge pull request #1488 from MikeMcQuaid/filter-formula-optionsMike McQuaid
Filter formula build options based on those that exist.
2016-11-12move semantic version comparisons into separate classRobin Kunde
2016-11-12fix other 10 failing tests - dohBruce Steedman
2016-11-12fix testBruce Steedman
2016-11-12Filter formula build options based on those that exist.Mike McQuaid
If `--with-foo` is provided to a formula through a tab or through another formula depending on it and this option does not exist it should be filtered. If it is not (the prior behaviour) then this can prevent bottles being used unnecessarily. Fixes #1399.
2016-11-12@MikeMcQuaid requested changesBruce Steedman
2016-11-12diagnostic: skip xcode-select check with no Xcode.Mike McQuaid
Skip the `xcode-select` configuration check if there's no CLT or Xcode installed as in that case neither will be used. Fixes #1055.
2016-11-12Merge pull request #1486 from MikeMcQuaid/lock_dir_permissionsMike McQuaid
Check the lock directory is writable.
2016-11-12Merge pull request #1485 from MikeMcQuaid/less-tap-migrate-warningsMike McQuaid
formulary: don't warn on old formula name from keg/rack.
2016-11-12cask-tests: fix cask-tests always fail on the test failureKaito Udagawa
`brew cask-tests` collected the test results in an improper way so that it reports a false success in certain situations. Specially, the session under BrewTestBot always reports success regardless of the test status. With this update, the exit code of `brew cask-tests` is 1 when the test fails, and then CI preperly works.
2016-11-11Check the lock directory is writable.Mike McQuaid
And, if it isn't, print more helpful debugging messages. Fixes #1456.
2016-11-11formulary: don't warn on old formula name from keg/rack.Mike McQuaid
If there’s an old installation of e.g. `apple-gcc42` from when it was part of `homebrew/core` then the tab will say it was from the `homebrew/core` tap and then we’ll complain at the user (see #1459 for an example). Instead, we only want to complain when the user actually types in `homebrew/core/apple-gcc42` into a `brew` command. Closes #1459.
2016-11-11uninstall: don't need kegs to exist for --force.Mike McQuaid
Otherwise there's an error which is a regression on previous functionality. This mirrors `rm -f` which doesn't fail if a file doesn't exist.
2016-11-11Merge pull request #1475 from reitermarkus/fix-locationsMarkus Reiter
Fix `Hbc::Locations` in tests.
2016-11-11Merge pull request #1481 from reitermarkus/sudo-askpassMarkus Reiter
Support `SUDO_ASKPASS` environment variable in `brew cask`.
2016-11-11Merge pull request #1082 from alyssais/uninstall_dependancy_errorMike McQuaid
uninstall: refuse when dependents still installed
2016-11-11Support `SUDO_ASKPASS` environment variable.Markus Reiter
2016-11-10CompilerSelector: fix null check, testsMisty De Meo
2016-11-10SystemConfig: fix version reportingMisty De Meo
2016-11-10Resource: set version to nil if version is nullMisty De Meo
Is this the right fix? This fixes version cascading from the parent.
2016-11-10Version: add #to_fMisty De Meo
This is used by things which used to compare against raw strings, for example Xcode.uncached_version
2016-11-10Return compiler versions and builds as VersionsMisty De Meo
2016-11-10Version: allow coercing non-versions in comparisonsMisty De Meo
These are needed due to the raw string and fixnum comparisons which exist for legacy reasons, for instance compiler version and build comparisons.
2016-11-10Version: allow comparing against nilMisty De Meo
2016-11-10Version.parse: return Version::NULL for unparseable stringsMisty De Meo
2016-11-10Add Version::NULL singletonMisty De Meo
2016-11-10Merge pull request #1381 from adzenith/patch-1Mike McQuaid
`brew doctor` recommends using cask to upgrade XQuartz
2016-11-10Merge pull request #1469 from woodruffw/ruby-macho-revendorMike McQuaid
vendor: Update ruby-macho to 0.2.6.
2016-11-10Merge pull request #1466 from MikeMcQuaid/brew-rb-no-devcmdrun-failMike McQuaid
brew.rb: don't exit when failing to set devcmdrun.