aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2013-04-01Make testing_env somewhat readableJack Nagel
2013-04-01Silence stderr in test suiteJack Nagel
2013-04-01audit: fix check for depending on requirement classesJack Nagel
Don't complain if it's instantiating the class so that it can pass arguments. Fixes Homebrew/homebrew#18883.
2013-04-01Fix `list --pinned` for non-formula kegsJack Nagel
Fixes Homebrew/homebrew#18885.
2013-03-31Fix uninstallation of non-formula kegsJack Nagel
Grrr...
2013-03-31onoe and opoo print to stderrJack Nagel
This may result in some undesired output for things that suppress stdout, but we'll fix those as we go. Fixes Homebrew/homebrew#18650.
2013-03-31DRY ohai truncationJack Nagel
2013-03-31brew-pin: Fix bug in `FormulaPin#pinned?`Simon Sigurdhsson
Since `pinned?` was using `File#exists?`, broken symlinks left by force-upgraded formulae made `pinned?` return false while `pin` returned with an error because it could not overwrite the broken link. This is fixed by using `File#symlink?` instead, which returns true for broken symlinks and false only when they do not exist. Closes Homebrew/homebrew#18858. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-31brew-info: Add pinned status to info.Simon Sigurdhsson
Closes Homebrew/homebrew#18851. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-30Fix typo for pin command in bash_completionJaime Marquínez Ferrándiz
Closes Homebrew/homebrew#18849. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-30Simplify destructuring this arrayJack Nagel
2013-03-30brew-pin: prevent selected formulae from upgrade.Simon Sigurdhsson
* Added `pin` et. al. to manpage. * Added `brew pin` to `brew.1` * Added `brew unpin` to `brew.1` * Added `brew list --pinned` to `brew.1` * Added information about frozen formulae to `brew upgrade` in `brew.1` * Added `pin` et.al. to completion scripts. * Unpin formulae when uninstalling them * Unpin and re-pin formulae when upgrading (avoids stale symlink) References Homebrew/homebrew#18386. Closes Homebrew/homebrew#18515. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-29Use each_key instead of keys.eachJack Nagel
2013-03-29doctor: restore newlines between checksAdam Vandenberg
Closes Homebrew/homebrew#18060.
2013-03-29superenv: Filter out -isysrootSamuel John
Closes Homebrew/homebrew#16576. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-28brew.rb: drop constant reassignmentJack Nagel
Closes Homebrew/homebrew#18807.
2013-03-28brew-readall: remove unused variableJack Nagel
2013-03-28Remove circular requireJack Nagel
Will this break anything? It shouldn't; Formula will always be loaded before Tab anyway. But really there is a design problem here, Tab shouldn't have any hardcoded references to Formula. I think this is fixable, but callers of for_formula will need to be checked first.
2013-03-28Suppress uninitialized instance variable warningsJack Nagel
2013-03-28extend/fileutils: suppress discarded method definition warningsJack Nagel
2013-03-28Suppress ambiguous argument and grouped expression warningsJack Nagel
2013-03-28Make clear that this method discards argumentsJack Nagel
2013-03-28audit: don't complain about postgis using postgresqlAdam Vandenberg
2013-03-28info: make use of Tab#to_sJack Nagel
Closes Homebrew/homebrew#18788.
2013-03-28Tab#to_s returns a one-line summary of the receiptJack Nagel
2013-03-26doctor: check for all DYLD env varsAdam Vandenberg
2013-03-23LinuxCPUs: Fix method aliasSebastian Staudt
Closes Homebrew/homebrew#18683. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-03-23Hardware: separate out CPU values into CPU moduleMisty De Meo
* CPU functions now exist in Hardware::CPU * Added compatibility functions in compat/hardware_compat.rb * Names are less specific to Mac hardware, e.g. CPU.family instead of Hardware.intel_family * Hardware::CPU.family works for both Intel and PowerPC * New helper methods on CPU, like .sse4? and .altivec? Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-03-21Turn double modifier into a single conditionalJack Nagel
2013-03-21utils: remove obsolete commentJack Nagel
2013-03-21versions: add debug outputJack Nagel
2013-03-21versions: remove unnecessary variableJack Nagel
2013-03-21versions: unload constant before calling Formula.factoryRussell Teabeault
Closes Homebrew/homebrew#18634. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-21Better superenv support for Xcode elsewhereSamuel John
- The Library/ENV/4.3/xcrun shim now respects ENV['DEVELOPER_DIR'] instead assuming the location of /Applications/Xcode.app/Contents/Developer. - The env var DEVELOPER_DIR is set if it is not already. So, during superenv this var is always set and we no longer have to care about people with unset or wrongly set xcode-select stuff. This has been a major PITA in the past. - determine_developer_dir (which is used to set the DEVELOPER_DIR var) now uses MacOS::Xcode.prefix which is proven and very capable and uses splotlight correctly. - Replace (and remove) MacSystem.xcode43_developer_dir with Xcode.prefix Closes Homebrew/homebrew#18618
2013-03-21Replace remaining shelled-out `which`esMisty De Meo
2013-03-21Fix local installation of bottles.Mike McQuaid
Fixes Homebrew/homebrew#18631.
2013-03-20Fix `brew options --all`Jack Nagel
Fixes Homebrew/homebrew#18625.
2013-03-20Move this method somewhere more appropriateJack Nagel
2013-03-20Move Formula.all to compatJack Nagel
2013-03-20superenv: fix xcode43_developer_dir checkMisty De Meo
2013-03-20brew-info: specify whether poured or built.Mike McQuaid
- Store in the tab if a bottle was poured for the build. - Add an additional line of output to `brew info` outputting whether the formula was built from source or poured from a bottle. Closes Homebrew/homebrew#18430. Closes Homebrew/homebrew#18475.
2013-03-20superenv?: fail when xcode43_developer_dir raisesMisty De Meo
2013-03-20superenv: move check logic into superenv?Misty De Meo
Fixes Homebrew/homebrew#16292.
2013-03-20superenv: move MacSystem into separate fileMisty De Meo
This makes it requirable before superenv becomes active.
2013-03-18versions: remove FIXMEJack Nagel
I understand how this works now, and it is definitely necessary.
2013-03-18Simplify SoftwareSpec checksum methodsJack Nagel
Reader methods for specific checksum types have been absent from the Formula class for some time, so there isn't any reason to expose them in SoftwareSpec, either. Thus, these methods now only act as setters, and #checksum should be used to access the constructed Checksum object.
2013-03-18Reduce footprint of fails_with_llvm compat codeJack Nagel
2013-03-18Fix fails_with_llvm compatibilityJack Nagel
Fixes Homebrew/homebrew#18565.
2013-03-18doctor: Tweak git-clean suggestion for empty dirsSamuel John
git clean -f is not enough. Needs `-d` somtimes to handle cases when we rename a dir. Fixes Homebrew/homebrew#18544 and fixes Homebrew/homebrew#14224
2013-03-18cleaner: simplify verbose pathname extensionJack Nagel