Fix failing ENV tests

We need the ARGV extension now that we call ARGV.build_bottle? in
set_cpu_cflags.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Add `devel` to the DSL, + stable and bottle blocks

This commit adds a `devel` entry to the DSL, allowing formulae to
specify an unstable branch.

`devel` takes a block, which should contain standard `url` and `md5`
fields (and `version`, if necessary). This must come after the standard
DSL fields.

This commit also migrates over all formulae currently using `devel` to
the new syntax, as well as formulae which used `head` for non-VCS urls.

The new syntax is also available for `stable` and `bottle`. `stable` is
an option alongside the old syntax. `bottle` replaces the old syntax.

Note that the @stable ivar in Formula has been renamed to @standard,
and the @bottle ivar has been renamed to @bottle_url.

Closes #9735.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
mednafen: add devel

Also add an option to build the unstable new PlayStation emulator (only
available in the 0.9 branch)

Closes #7550.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
ffmpeg: fix audit warning

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
imagemagick: fix bottle version issue

The new bottle syntax conflicts a bit with how the version was being
handled in this formula; so let's just do it the way every other formula
does it.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
audit: make devel check more specific

There are a few false positives where the string 'devel' occurs in other
contexts.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
audit: reorganize some checks

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
mednafen: fix audit warning

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
node: use new devel syntax

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Refactor the bash completion script

The script was lacking structure and had grown a number of one-off hacks
that would be better as reusable functions. So,

 - give each subcommand that has completions it's own function
 - move completion of formulae, installed brews, and outdated brews into
   reusable functions
 - introduce a general __brewcomp() function that takes a string of tab,
   space, and/or newline separated items and converts all seperators to
   newlines, and then generates a reply with compgen().

These changes should allow for easier addition of new features in the
future.

As a bonus, completion for `brew log` will include git-log options if
the git completion script is also loaded.

_brew_to_completion() is kept around for compatiblity.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
synergy: use devel instead of HEAD

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ranger: remove unneeded conditional

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
cabextract: remove unused configure switch

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
cpanminus: add stable tarball

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Remove libopenspotify

The project was abandoned in 2010; they recommend using libspotify,
which Homebrew provides.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Strip escaping from query

Regexp#source retains escape sequences as is, so searching for formulae
like 'pure-ftpd' doesn't work.

Closes #9597.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
remind 03.01.12

Update remind to 03.01.12, also remove useragent adjustment since it
seems to no longer be necessary.

Closes #9798.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
mariadb 5.2.10

 - Add upstream patches to fix some compilation issues
 - Simplify setting CXXFLAGS

Signed-off-by: Jack Nagel <jacknagel@gmail.com>