Commit Graph
8891 Commits
Author SHA1 Message Date
Tom Schoonjans 4f4d05fc51 iptux: migrate from x11 to gui 2016-02-10 20:11:31 +00:00
Tom Schoonjans d7af8ea392 inkscape: migrate from x11 to gui 2016-02-10 20:11:31 +00:00
Tom Schoonjans aef3ed3b40 hexchat: migrate from x11 to gui 2016-02-10 20:11:31 +00:00
Tom Schoonjans 44c65f0117 gtkwave: migrate from x11 to gui 2016-02-10 20:11:31 +00:00
Tom Schoonjans 845f2a8042 gtksourceviewmm: migrate from x11 2016-02-10 20:11:31 +00:00
Tom Schoonjans 5e4f494334 gtk-chtheme: migrate from x11 to gui 2016-02-10 20:11:31 +00:00
Tom Schoonjans 81a7a0b333 gsmartcontrol: migrate from x11 to gui 2016-02-10 20:11:31 +00:00
Tom Schoonjans a128785b92 glade: migrate from x11 2016-02-10 20:11:31 +00:00
Tom Schoonjans d1a09492fe ggobi: migrate from x11 to science 2016-02-10 20:11:31 +00:00
Tom Schoonjans 71fddc69d0 gerbv: migrate from x11 2016-02-10 20:11:31 +00:00
Tom Schoonjans 2c2907d390 geeqie: migrate from x11 to gui 2016-02-10 20:11:31 +00:00
Tom Schoonjans cdcbfe0390 geda-gaf: migrate from x11 to science 2016-02-10 20:11:31 +00:00
Tom Schoonjans 43cc1556d6 geany: migrate from x11 2016-02-10 20:11:31 +00:00
Baptiste Fontaine 0386f33222 tests: Add missing version tests
Closes Homebrew/homebrew#49031.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-10 18:47:00 +01:00
Xu Cheng e5b6f79b22 bottle: do not follow symlink when setting mtime
Also set atime to mtime, which seems to be a more common practice.

Fixes Homebrew/homebrew#49007

Closes Homebrew/homebrew#49027.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-10 21:01:12 +08:00
Xu Cheng 2facb5166c FormulaInstaller: uncache Tab to keep it fresh
Fixes Homebrew/homebrew#48612.
Fixes Homebrew/homebrew#48657.

Closes Homebrew/homebrew#48886.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-10 14:23:18 +08:00
Misty De Meo 7b81066038 Audit: Regexp.escape formula names
We allow certain special regex characters in formula names, and if
those aren't escaped when interpolating them into a regex, they'll be
interpreted as special regex characters.

This can cause regex compile errors on Ruby 1.8 (for example, with
"libxml++3", which has nested match characters), and more subtle
matching bugs in general.

Refs an issue surfaced in Homebrew/homebrew#48744.

Closes Homebrew/homebrew#49005.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2016-02-09 15:33:38 -08:00
Nikolaus Wittenstein 09ab678951 rtags: 2.1, back from boneyard
This reverts commit 5bcc7b1f3fd4992e67736bb3cd97141e82c94685 and updates
rtags to version 2.1. It had been moved to the boneyard because the tag
for version 2 had been deleted.

Closes Homebrew/homebrew#48800.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-02-08 03:56:51 -05:00
Dominyk Tiller 326cc5c438 doc/xcode: update for 7.2.1
Closes Homebrew/homebrew#48955.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-07 21:26:57 +00:00
Dominyk Tiller 8f3a76f4aa os/mac/xcode: expect Xcode 7.2.1 2016-02-07 21:26:56 +00:00
Dominyk Tiller e845391359 os/mac: add Xcode 7.2.1 2016-02-07 21:26:56 +00:00
Baptiste Fontaine eba429d947 tests: add leaves & prune integration tests
Closes Homebrew/homebrew#48943.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-07 13:30:40 +01:00
Baptiste Fontaine 570345d1a0 tests: cleanup test bottle 2016-02-07 13:30:40 +01:00
Baptiste Fontaine 115e6b49bc tests: monkey-patch exec to get coverage reports
Closes Homebrew/homebrew#48923.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-07 11:52:26 +01:00
Baptiste Fontaine 4ce99fa010 tests: remove unnecessary cd 2016-02-07 11:52:25 +01:00
Xu Cheng 2e892bcf63 Tap: clear_cache for Tap#(un)install
If a tap is installed during the installation, the original cache need
to be purged. Otherwise, it will return wrong information afterwards.

Closes Homebrew/homebrew#48887.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-07 15:03:17 +08:00
Xu Cheng f57950404b more test for dependency_expansion
Closes Homebrew/homebrew#48904.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-07 14:58:05 +08:00
Xu Cheng 8749ecc383 Dependency.expand: ensure pop stack
During the dependencies expansion, there may be errors (e.g. FormulaUnavaiableError).
As result, some deps will be left behind in the stack and interfere afterwards
dependencies expansion.

So let's ensure stack clean for each expansions.

Fixes Homebrew/homebrew#48834.
2016-02-07 14:58:05 +08:00
Kazem Keshavarz e945461212 Tips-N'-Tricks: fix symlink for zsh completion
From `Library/Contributions/brew_zsh_completion.zsh`:

````bash
````

Then it should give symlinked file name of `_brew` instead of being just `brew_zsh_completion.zsh`

Closes Homebrew/homebrew#48897.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-07 04:01:47 +00:00
Misty De Meo 1ed7108052 Array#count alias didn't always exist
Fixes mistydemeo/tigerbrew#408.
2016-02-06 14:20:56 -08:00
Baptiste Fontaine 268fa841de tests: fix simplecov handling in integration tests
Closes Homebrew/homebrew#48250.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-06 14:20:58 +01:00
Baptiste Fontaine aec4e0723a tests: track all files 2016-02-06 14:20:57 +01:00
Baptiste Fontaine abf81f9845 tests: use our patched simplecov, bump coveralls
We must bump coveralls otherwise we get a conflicting dependency: we use
a patched simplecov v0.11.1 but coveralls 0.8.9 needs simplecov 0.10.x.
2016-02-06 14:20:57 +01:00
Baptiste Fontaine d45467172d tests: enforce min. 40% coverage 2016-02-06 14:20:57 +01:00
Baptiste Fontaine 2cf5ceaa20 tests: don't use Coveralls outside of CI 2016-02-06 14:20:57 +01:00
Baptiste Fontaine 8c19472d6f formula_assertions: ensure the right Test::Unit is required 2016-02-06 14:20:57 +01:00
Martin Afanasjew 27b606d928 brew.rb: remove executable bit and shebang
Because `brew.rb` should never be invoked directly, remove executable
bit and shebang to make that more obvious.

Closes Homebrew/homebrew#48816.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-02-05 22:07:07 +01:00
Martin Afanasjew 5f049637d9 ENV: protect against environment being reset
We cannot really recover from this, but at least we'll provide a clearer
error message than trying to call `exec` with an empty string.
2016-02-05 22:07:07 +01:00
Martin Afanasjew f9efa18be1 ENV: protect against RUBYLIB/RUBYOPT
Some things can break in hard to debug ways if users or build scripts
set these variables, causing our otherwise quite robust Ruby wrappers
to fail. In theory, we could also use `--disable-rubyopt`, but this is
not supported in Ruby 1.8 (and we still care about it).
2016-02-05 22:07:07 +01:00
Martin Afanasjew 49990ee93f ENV: use HOMEBREW_RUBY_PATH in compiler/SCM shims
Use the same interpreter for the shims that is also used to run the main
Homebrew process (the one invoked via `brew`). The magic basically lies
in executing `ruby` with the `-x` option (supported since at least 1.8)
and in the following shebang line.
2016-02-05 22:07:07 +01:00
Xu Cheng 12a452557d make HOMEBREW_BREW_FILE a Pathname object
Currently HOMEBREW_BREW_FILE is a String, while other of HOMEBREW_*
variables are all Pathname. This commit unifies them all as Pathname,
so it will not cause any confusion.

Closes Homebrew/homebrew#48872.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-06 02:52:48 +08:00
ilovezfs ca77025f8b Don't accidentally inherit group "wheel" from /tmp
Because files on OS X are assigned the group of the directory in which
they are created, using /tmp during the installation process would
result in some installed files having the group "wheel" even though
"admin" was intended.

Thanks to Xu Cheng for suggesting a simpler location for the fix.

Closes Homebrew/homebrew#45869

Closes Homebrew/homebrew#48732.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-05 21:52:29 +08:00
ilovezfs fb9818ae8c HOMEBREW_BREW_FILE was unset for the tests
This fixes a regression introduced by 3f6a355, which caused
HOMEBREW_BREW_FILE to be unset while running the tests.

Patch provided by Xu Cheng.
2016-02-05 21:52:11 +08:00
Dominyk Tiller 58cf0ec2b9 audit: add check for insecure hackage urls 2016-02-04 14:57:55 +00:00
Tim D. Smith 984a70e6e2 use BSD stat
Closes Homebrew/homebrew#48803.
2016-02-04 00:15:07 -08:00
William Woodruff afe0fde49c os/mac: optionally use ruby_macho.
- and branch for dylib_id_and_dylibs
- add branches for dylib id changing and change_install_name
- rename MachO module to HomebrewMachO to prevent namespace clashes
  with MachO in ruby-macho. this will eventually be replaced entirely
  with direct calls to ruby-macho methods
- break ruby-macho implementation out into separate RubyMachO module,
  and include either RubyMachO or CctoolsMachO (the original
  implementation) based on the HOMEBREW_RUBY_MACHO env var
- move ArchitectureListExtension and RubyMachO into separate files
- create {ruby_,cctools_,,}relocate.rb for isolation of different
  methods of mach-o relocation (ruby-macho vs. cctools)
- fill in require_install_name_tool? for ruby_relocate.rb
- rename {ruby_,cctools_,,}relocate.rb to keg, isolate requires in
  os/mac

Closes Homebrew/homebrew#45001.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-03 21:25:40 +00:00
William Woodruff 1cb6a2ad18 vendor: vendor ruby_macho library. 2016-02-03 21:25:20 +00:00
William Woodruff 35e2209c10 architecture_list: add new module.
remove old mach.rb, replace with cctools_mach.rb and prune ELF case
move ArchitectureListExtension to separate file ELF support is
maintained in Linuxbrew
2016-02-03 21:24:21 +00:00
Joshua Jabbour 0d094ac8ef FAQ: fix brew pull GitHub link.
Closes Homebrew/homebrew#48794.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-03 21:10:34 +00:00
ilovezfs 37e423ebb2 os/mac/hardware: add Skylake CPU.
Closes Homebrew/homebrew#48781.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-03 21:10:01 +00:00