Roland Walker
28a61d70a7
Merge pull request #8790 from ndr-qef/core/flense_homebrew
...
Split arguments on whitespace when executing editors
2015-01-13 07:08:25 -05:00
ndr
d5722ee079
Merge pull request #8751 from vitorgalvao/remove-widget-support
...
Remove support for widgets
2015-01-11 12:29:00 +00:00
ndr
8fa1f4db24
Split ENV variables on whitespace in `exec_editor`
2015-01-09 22:31:59 +00:00
Vítor Galvão
529bd801e4
Removed support for widgets
...
Closes #2206 .
2015-01-08 19:51:15 +00:00
Roland Walker
d0f9363de5
cut v0.52.1
2015-01-07 18:31:26 -05:00
Roland Walker
a146a1c313
Merge pull request #8721 from rolandwalker/integrate_download_strategy
...
partial merge of homebrew-fork download_strategy
2015-01-07 18:19:12 -05:00
Roland Walker
db23f90c3e
Merge pull request #8723 from rolandwalker/move_homebrew_path_constants
...
recast `HOMEBREW_*` path constants as read/write location methods
2015-01-07 18:19:02 -05:00
Roland Walker
4b4e8cf706
incorporate homebrew-fork ignore_interrupts
...
utility method
2015-01-07 09:51:39 -05:00
Roland Walker
b40b0c99e1
strip constants from homebrew-fork global.rb
...
and corresponding testing_env.rb.
* recast HOMEBREW_BREW_FILE as Hbc.homebrew_executable,
defined in Hbc::Locations
* recast HOMEBREW_REPOSITORY as Hbc.homebrew_repository
* recast HOMEBREW_PREFIX as Hbc.homebrew_prefix
* remove HOMEBREW_LIBRARY
* recast existing Hbc.tapspath as Hbc.homebrew_tapspath
to match new methods
fixes #8705
2015-01-07 09:09:53 -05:00
Roland Walker
5452a496db
remove unneeded load_path
2015-01-07 09:06:33 -05:00
Roland Walker
526c8c08e7
cleaner way to allow spec test to run
...
without creating unwanted directories
2015-01-07 09:06:06 -05:00
Roland Walker
9deef47e2e
partial merge of homebrew-fork download_strategy
...
merge module Hbc::DownloadStrategy and class Hbc::HbAbstractDownloadStrategy
into class Hbc::AbstractDownloadStrategy
2015-01-07 05:34:03 -05:00
ndr
83bf761588
Improve error message for AIR app reinstallation
...
Adobe AIR Installer forbids the silent reinstallation of existing AIR
apps; any attempt fails with exit code 9.
In the absence of known workarounds, we merely wrap the failure in a
clearer error message.
2015-01-04 11:46:26 +00:00
ndr
2dbb8e57b6
Check for DSL-level nils when sorting dependencies
...
Refer to #8615 .
`depends_on.cask` can be nil if a Cask includes at least one
`depends_on` stanza, but no `:cask` key.
2015-01-04 02:30:36 +00:00
Roland Walker
95325125dd
Merge pull request #8612 from rolandwalker/strip_homebrew_fork_download_strategy
...
strip homebrew-fork download_strategy.rb
2015-01-03 14:47:05 -05:00
Roland Walker
050897a8a5
strip homebrew-fork download_strategy.rb
...
remove unused or overridden methods
remove usused classes
2015-01-03 08:29:13 -05:00
Roland Walker
774eae75a8
replace homebrew-fork method exec_editor
...
remove which_editor
remove safe_exec
2015-01-03 07:59:51 -05:00
Roland Walker
4e59f6c55b
cut v0.52.0
2015-01-02 19:09:43 -05:00
Roland Walker
7741262b8f
Merge pull request #8595 from rolandwalker/remove_homebrew_fork_resource
...
remove homebrew-fork resource.rb
2015-01-02 17:18:50 -05:00
Roland Walker
00786c68a8
audit check for sha256 of the empty string
2015-01-02 10:30:26 -05:00
Roland Walker
1ae9ce2bd0
namespace Hbc followups
2015-01-02 10:20:09 -05:00
Roland Walker
ef3d7c90d4
remove homebrew-fork resource.rb
...
* Most of what the Resource class does, we do (or can easily do) with
[`url.rb`](https://github.com/caskroom/homebrew-cask/blob/remove_homebrew_fork_resource/lib/hbc/url.rb )
* adjust our download_strategy.rb to compensate
* adjust homebrew-fork download_strategy.rb to compensate
* add parentheses in homebrew-fork download_strategy.rb
2015-01-02 09:43:14 -05:00
Roland Walker
202d6019f8
Move all code under an Hbc:: namespace
...
* convert existing Cask:: namespace to Hbc::
* move Homebrew-fork code under Hbc::
* move freestanding classes such as Tty and TopologicalHash under Hbc::
* recast HOMEBREW_CASK_ constants as HBC_
* modify our Homebrew Formula for backward compatibility
* devscripts and dev docs
2015-01-02 07:27:03 -05:00
Roland Walker
852552462b
migrate puts_columns from homebrew-fork
...
into our codebase.
* recast in terms of existing Cask::Utils.stringify_columns
* fix stringify columns to use backticks so that stty can detect the tty
* recover desired behavior of not columnizing in stringify_columns if not
on a tty
* update comments re: various Homebrew imports
2014-12-31 17:08:35 -05:00
Roland Walker
3b7bdf371a
Merge pull request #8557 from rolandwalker/incorporate_homebrew_fork_hardware
...
incorporate `hardware.rb` from homebrew-fork
2014-12-31 17:04:54 -05:00
Roland Walker
db33be107b
Rewrite homebrew-fork which method
...
and incorporate into our codebase. Update some incidental comments.
2014-12-31 09:35:04 -05:00
Roland Walker
476a72ae92
incorporate hardware.rb from homebrew-fork
...
* this is already a much-simplified version
* recast to avoid using popen_read method
* popen.rb is now unused and is removed
* new file is cask/hardware/cpu.rb
* toplevel ::Hardware namespace is temporarily aliased to Cask::Hardware
2014-12-31 08:34:49 -05:00
Roland Walker
36b8903a36
flatten homebrew-fork and move it under vendor/lib
...
* remove transitional modifications to $LOAD_PATH
* all require statements are now explicit about loading from homebrew-fork
2014-12-31 07:57:18 -05:00
Roland Walker
761a09b633
remove homebrew-fork xquartz.rb
...
On review, the primary gain from adopting this code is the
libpng detection method used in #8519 . The rest of the
logic is not useful to us until/unless we start requiring
specific X11 versions in `depends_on :x11`.
2014-12-30 20:05:26 -05:00
Roland Walker
43ab87b480
Merge pull request #8539 from rolandwalker/incorporate_homebrew_macos
...
incorporate a modified homebrew-fork `OS::Mac` into our codebase as `Cask::MacOS`
2014-12-30 17:16:24 -05:00
Roland Walker
60da9879e6
Merge pull request #8519 from rolandwalker/x11_detection
...
Check for libpng to assure X11 detection
2014-12-30 16:45:10 -05:00
Roland Walker
13085c7e26
incorporate homebrew-fork OS::Mac as Cask::MacOS
...
temporarily define ::MacOS = Cask::MacOS pending updates
to the DSL (it should be visible at the top level only
within Casks.)
2014-12-30 11:29:46 -05:00
Roland Walker
1b775d0f06
make @@release a class variable
2014-12-30 11:22:48 -05:00
Roland Walker
667fed6471
cache inverted Release hash
2014-12-30 11:21:30 -05:00
Roland Walker
ec89e5d26b
recast class OS::Mac::Version as OS::Mac::Release
2014-12-30 11:20:21 -05:00
Roland Walker
997c4a007d
merge all OS X release symbols into one file
2014-12-30 11:14:06 -05:00
Roland Walker
0e20bd4f62
separate hardware from MacOS
...
and remove unused method prefer_64_bit?
2014-12-30 11:10:09 -05:00
Roland Walker
875f44d8e4
move unused xquartz.rb to new namespace
...
* migrate methods app_with_bundle_id and pkgutil_info within xquartz.rb
as this is the only place they are used
* remove duplicate X11 namespace
2014-12-30 11:07:56 -05:00
Roland Walker
74b46f7e92
Check for libpng to assure X11 detection
...
Based on Homebrew's xquartz.rb. Improves Yosemite specifically.
Fixes #8483
2014-12-30 09:59:28 -05:00
Roland Walker
8d2e23c03d
don't redirect tput STDERR
...
when both outputs are redirected, it always returns 80
2014-12-30 08:57:56 -05:00
ndr
c12365caba
Satisfy Cask dependencies on install
...
Includes an unsavory hack to bypass redundant checks for Cask
subdependencies, in the form of an optional argument passed down from
`install` to `satisfy_dependencies`.
2014-12-29 17:07:05 +00:00
ndr
892eefe58c
Implement Cask dependencies
...
as a class concerned with recursively loading, graphing and sorting all
dependencies of a given Cask.
2014-12-29 16:56:49 +00:00
ndr
1d0b697054
Add exception for cyclic Cask dependencies
2014-12-29 16:36:00 +00:00
ndr
54e03c27b0
Introduce a TopologicalHash class
...
In the interest of `depends_on :cask`, we introduce a topologically
sortable hashmap, implemented as a small subclass of Hash.
2014-12-29 16:31:24 +00:00
Roland Walker
3a39a017d4
Merge pull request #8465 from rolandwalker/improve_string_coercion
...
improve `String` coercion in `system_command.rb`
2014-12-27 23:29:08 -05:00
ndr
5b2c9d64be
Strip instruction set detection methods from homebrew-fork
2014-12-28 00:44:37 +00:00
Roland Walker
3d8f9a874a
improve String coercion in system_command.rb
2014-12-27 19:22:38 -05:00
ndr
a3ad17dd83
Merge pull request #8464 from rolandwalker/remove_homebrew_mac_hardware
...
remove homebrew-fork os/mac/hardware.rb
2014-12-27 23:32:30 +00:00
Roland Walker
1970759587
remove homebrew-fork os/mac/hardware.rb
...
* remove many methods
* merge the remainder into hardware.rb directly
* make Hardware a module
* remove :dunno type, return nil instead
* redirect STDERR within backticks
2014-12-27 17:41:27 -05:00
Roland Walker
1163e1d87a
move Hash monkeypatch to separate file
2014-12-27 17:04:21 -05:00