aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
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.
2016-11-10Disallow running `brew cask` as `root`.Markus Reiter
2016-11-10Remove unnecessary `Hbc::Locations` aliases.Markus Reiter
2016-11-10Ensure `Hbc.caskroom` in tests does not use `legacy_caskroom`.Markus Reiter
2016-11-09`brew doctor` recommends using cask to upgrade XQuartzNikolaus Wittenstein
Also changes exceptions.rb to use Formatter.url
2016-11-10cask-test: fix reinstall a non installed CaskKaito Udagawa
Trying to uninstall a non installed Cask made this test fail. This commit remove that and thus this test passes. Note that every Cask is uninstalled after each test case.
2016-11-09os/mac: Rename MachO -> MachOShimWilliam Woodruff
Prevents namespace conflict with vendored ruby-macho.
2016-11-09os/mac: Allow MachO.dynamically_linked_libraries to be filtered by dylib type.William Woodruff
This allows us to filter out weak linkages during audits, preventing a false error from occurring when the dylib cannot be found.
2016-11-09vendor: Update ruby-macho to 0.2.6.William Woodruff
This brings fixes for behavior expected in #1460.
2016-11-09Update the CaskAlreadyInstalledError with new reinstall commandDorian
e.g. this changes: ``` To re-install google-chrome, run: brew cask uninstall --force google-chrome && brew cask install google-chrome ``` To: ``` To re-install google-chrome, run: brew cask reinstall google-chrome ```
2016-11-09brew.rb: don't exit when failing to set devcmdrun.Mike McQuaid
It's not necessary to make this a hard failure so don't (and this makes it more consistent with `brew.sh`). Fixes #1462.
2016-11-09Revert "os/mac: MachO.dynamically_linked_libraries filtering."Mike McQuaid
2016-11-09Merge pull request #1460 from woodruffw/audit-ignore-weak-linkageMike McQuaid
os/mac: MachO.dynamically_linked_libraries filtering.