language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | Homebrew | brew | 4d63b87e0afb88fea9991850e582234be820665b.json | Change license to BSD
I confirmed this change with all relevant contributors first. | Library/Homebrew/hw.model.c | @@ -1,3 +1,8 @@
+/*
+ This software is in the public domain, furnished "as is", without technical
+ support, and with no warranty, express or implied, as to its usefulness for
+ any purpose.
+*/
#include <sys/sysctl.h>
#include <stdio.h>
| true |
Other | Homebrew | brew | 4d63b87e0afb88fea9991850e582234be820665b.json | Change license to BSD
I confirmed this change with all relevant contributors first. | Library/Homebrew/hw.model.rb | @@ -1,3 +1,26 @@
+# Copyright 2009 Max Howell and other contributors.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright
+# notice, thi... | true |
Other | Homebrew | brew | 4d63b87e0afb88fea9991850e582234be820665b.json | Change license to BSD
I confirmed this change with all relevant contributors first. | Library/Homebrew/keg.rb | @@ -1,19 +1,25 @@
-# Copyright 2009 Max Howell <max@methylblue.com>
+# Copyright 2009 Max Howell and other contributors.
#
-# This file is part of Homebrew.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
#
-... | true |
Other | Homebrew | brew | 4d63b87e0afb88fea9991850e582234be820665b.json | Change license to BSD
I confirmed this change with all relevant contributors first. | Library/Homebrew/pathname+yeast.rb | @@ -1,19 +1,25 @@
-# Copyright 2009 Max Howell <max@methylblue.com>
+# Copyright 2009 Max Howell and other contributors.
#
-# This file is part of Homebrew.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
#
-... | true |
Other | Homebrew | brew | 4d63b87e0afb88fea9991850e582234be820665b.json | Change license to BSD
I confirmed this change with all relevant contributors first. | Library/Homebrew/unittest.rb | @@ -1,4 +1,8 @@
#!/usr/bin/ruby
+# This software is in the public domain, furnished "as is", without technical
+# support, and with no warranty, express or implied, as to its usefulness for
+# any purpose.
+
$:.unshift File.dirname(__FILE__)
require 'pathname+yeast'
require 'formula' | true |
Other | Homebrew | brew | 4d63b87e0afb88fea9991850e582234be820665b.json | Change license to BSD
I confirmed this change with all relevant contributors first. | Library/Homebrew/utils.rb | @@ -1,19 +1,25 @@
-# Copyright 2009 Max Howell <max@methylblue.com>
+# Copyright 2009 Max Howell and other contributors.
#
-# This file is part of Homebrew.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
#
-... | true |
Other | Homebrew | brew | 4d63b87e0afb88fea9991850e582234be820665b.json | Change license to BSD
I confirmed this change with all relevant contributors first. | README | @@ -246,6 +246,12 @@ TODO
3. Formula revisions, to allow upgrades irrespective of the underlying package
+Licensing
+=========
+Homebrew is mostly BSD licensed although some parts are public domain.
+Individual formulae are licensed according to their authors wishes.
+
+
FAQ
===
Are you excessively interested i... | true |
Other | Homebrew | brew | c1cc98634749d959d146238d97404b2c1d01ab2e.json | Reference the full path to the `brew' bin. | bin/brew | @@ -81,7 +81,7 @@ begin
ARGV.formulae.each do |f|
pid=fork
if pid.nil?
- exec "brew", "install-just-one", f.name, *ARGV.options
+ exec __FILE__, "install-just-one", f.name, *ARGV.options
else
Process.wait pid
end | false |
Other | Homebrew | brew | bf8071f0aa9779e23d0bb342376c0be7e1ab0ec6.json | Use alternate Cache for root user. | bin/brew | @@ -6,8 +6,14 @@ require 'ARGV+yeast'
require 'utils'
require 'brew.h'
-# TODO if whoami == root then use /Library/Caches/Homebrew instead
-HOMEBREW_CACHE=Pathname.new("~/Library/Caches/Homebrew").expand_path
+if Process.uid == 0
+ # technically this is not the correct place, this cache is for *all users*
+ # so ... | false |
Other | Homebrew | brew | 4671526d70d33de7e44d42a28ce2eee912783dc6.json | Raise a SystemExit exception to prevent backtrace | Library/Homebrew/utils.rb | @@ -43,11 +43,9 @@ def pretty_duration s
def interactive_shell
pid=fork
- if pid.nil?
- exec ENV['SHELL']
- else
- Process.wait pid
- end
+ exec ENV['SHELL'] if pid.nil?
+ Process.wait pid
+ raise SystemExit, "Aborting due to non-zero exit status" if $? != 0
end
# Kernel.system but with exceptions | false |
Other | Homebrew | brew | 4c2d4c8560aff4011dde08a0585c72e2b9f8a2c1.json | Add path for 'libexec'. | Library/Homebrew/formula.rb | @@ -68,6 +68,7 @@ def bin; prefix+'bin' end
def sbin; prefix+'sbin' end
def doc; prefix+'share'+'doc'+name end
def lib; prefix+'lib' end
+ def libexec; prefix+'libexec' end
def man; prefix+'share'+'man' end
def man1; man+'man1' end
def info; prefix+'share'+'info' end | false |
Other | Homebrew | brew | 5144ac9e6af6b7b40e646056298e58e0ff45e520.json | Suggest homepage in usage | Library/Homebrew/ARGV+yeast.rb | @@ -83,6 +83,9 @@ def usage
info [formula] [--github]
make url
prune
+
+To visit the Homebrew homepage type:
+ brew home
EOS
end
| false |
Other | Homebrew | brew | 72bde8c583f51d746b138161c6e84bde98d13c83.json | Move download strategies into their own file | Library/Homebrew/brewkit.rb | @@ -17,6 +17,7 @@
#
require 'osx/cocoa' # to get number of cores
require 'formula'
+require 'download_strategy'
require 'hw.model'
ENV['MACOSX_DEPLOYMENT_TARGET']='10.5' | true |
Other | Homebrew | brew | 72bde8c583f51d746b138161c6e84bde98d13c83.json | Move download strategies into their own file | Library/Homebrew/download_strategy.rb | @@ -0,0 +1,109 @@
+# Copyright 2009 Max Howell <max@methylblue.com>
+#
+# This file is part of Homebrew.
+#
+# Homebrew is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, o... | true |
Other | Homebrew | brew | 72bde8c583f51d746b138161c6e84bde98d13c83.json | Move download strategies into their own file | Library/Homebrew/formula.rb | @@ -14,110 +14,14 @@
#
# You should have received a copy of the GNU General Public License
# along with Homebrew. If not, see <http://www.gnu.org/licenses/>.
-
-
-class AbstractDownloadStrategy
- def initialize url, name, version
- @url=url
- @unique_token="#{name}-#{version}"
- end
-end
-
-class HttpDown... | true |
Other | Homebrew | brew | 72bde8c583f51d746b138161c6e84bde98d13c83.json | Move download strategies into their own file | Library/Homebrew/unittest.rb | @@ -2,6 +2,7 @@
$:.unshift File.dirname(__FILE__)
require 'pathname+yeast'
require 'formula'
+require 'download_strategy'
require 'keg'
require 'utils'
| true |
Other | Homebrew | brew | e7594de79744210de06d85477a9eb406f25e6ba1.json | Allow configure alias for diy | Library/Contributions/brew_bash_completion.sh | @@ -15,7 +15,7 @@ _brew_to_completion()
prev="${COMP_WORDS[COMP_CWORD-1]}"
# We only complete unabbreviated commands...
- actions="diy edit homepage info install list link make uninstall"
+ actions="edit homepage info install list link make uninstall"
# Subcommand list
if [[ ( ${CO... | true |
Other | Homebrew | brew | e7594de79744210de06d85477a9eb406f25e6ba1.json | Allow configure alias for diy | bin/brew | @@ -115,7 +115,7 @@ begin
exec "mate", *ARGV.named.collect {|name| make name}
end
- when 'diy'
+ when 'diy', 'configure'
puts diy
when 'info', 'abv' | true |
Other | Homebrew | brew | 9bc60b80b6e277050e750132bc775bdc3fb28017.json | Fix comment about ENV overrides | Library/Homebrew/unittest.rb | @@ -5,7 +5,7 @@
require 'keg'
require 'utils'
-# these are defined in env.rb usually, but we don't want to break our actual
+# these are defined in bin/brew, but we don't want to break our actual
# homebrew tree, and we do want to test everything :)
HOMEBREW_PREFIX=Pathname.new '/tmp/testbrew/prefix'
HOMEBREW_CA... | false |
Other | Homebrew | brew | 1c5564264514535a951ee0129022e3ff8925e778.json | Link binaries in sbin as well as bin.
Signed-off-by: Max Howell <max@methylblue.com> | Library/Homebrew/brew.h.rb | @@ -160,7 +160,7 @@ def prune
$d=0
dirs=Array.new
- paths=%w[bin etc lib include share].collect {|d| HOMEBREW_PREFIX+d}
+ paths=%w[bin sbin etc lib include share].collect {|d| HOMEBREW_PREFIX+d}
paths.each do |path|
path.find do |path|
@@ -213,7 +213,7 @@ def initialize f
share=f.prefix+'share'... | true |
Other | Homebrew | brew | 1c5564264514535a951ee0129022e3ff8925e778.json | Link binaries in sbin as well as bin.
Signed-off-by: Max Howell <max@methylblue.com> | Library/Homebrew/formula.rb | @@ -63,6 +63,7 @@ def path
attr_reader :url, :version, :url, :homepage, :name
def bin; prefix+'bin' end
+ def sbin; prefix+'sbin' end
def doc; prefix+'share'+'doc'+name end
def lib; prefix+'lib' end
def man; prefix+'share'+'man' end | true |
Other | Homebrew | brew | 1c5564264514535a951ee0129022e3ff8925e778.json | Link binaries in sbin as well as bin.
Signed-off-by: Max Howell <max@methylblue.com> | Library/Homebrew/keg.rb | @@ -38,6 +38,7 @@ def link
# these dirs REMEMBER that *NOT* everything needs to be in the main tree
link_dir('etc') {:mkpath}
link_dir('bin') {:link}
+ link_dir('sbin') {:link}
link_dir('lib') {|path| :mkpath if %w[pkgconfig php perl5].include? path.to_s}
link_dir('include') {:link}
lin... | true |
Other | Homebrew | brew | 7e723c107b81f24498ec851161b0e12d68e89394.json | Add note about xeon.
Signed-off-by: Max Howell <max@methylblue.com> | Library/Homebrew/hw.model.rb | @@ -46,6 +46,10 @@ def hw_model
when "MacPro"
$unknown_hw_model=true if major > 3
+ # 'Xeon' is a marketing term, not a specific CPU:
+ # http://en.wikipedia.org/wiki/Xeon
+ # adamv says: I have a Mac Pro at work (MacPro4,1) and will try
+ # some compiler options ou... | false |
Other | Homebrew | brew | 6661f78618a640ac9570f2003df5c359d1027579.json | Allow skip_clean? to skip entire directories
Speeds up Python formula plenty in clean phase | Library/Homebrew/brew.h.rb | @@ -238,7 +238,9 @@ def clean_file path
def clean_dir d
d.find do |path|
- if not path.file?
+ if path.directory?
+ Find.prune if @f.skip_clean? path
+ elsif not path.file?
next
elsif path.extname == '.la' and not @f.skip_clean? path
# *.la files are stupid | false |
Other | Homebrew | brew | bae67c110fd3a8ca23f17def7cc9dd2dadd5fbb8.json | Fix inreplace and yajl formula | Library/Homebrew/brewkit.rb | @@ -116,13 +116,10 @@ def remove_from_cflags rx
def inreplace(path, before, after)
before=Regexp.escape before.to_s
- after=Regexp.escape after.to_s
- before.gsub! "/", "\\\/"
- after.gsub! "/", "\\\/"
- before.gsub! "'", '\''
- after.gsub! "'", '\''
+ after.gsub! "\\", "\\\\"
+ after.gsub! "/", "\\/"
... | false |
Other | Homebrew | brew | 0ea078e1ae8663b6b3dda18ca4016059acbaf61b.json | Install README.txt etc. as README | Library/Homebrew/brew.h.rb | @@ -147,7 +147,8 @@ def install f
f.prefix.mkpath
f.install
%w[README ChangeLog COPYING LICENSE COPYRIGHT AUTHORS].each do |file|
- f.prefix.install file if File.file? file
+ FileUtils.mv "#{file}.txt", file rescue nil
+ f.prefix.install file rescue nil
end
end
e... | false |
Other | Homebrew | brew | 6dbdc9ab0c5c87d94569bb418c4838edceff09b7.json | Remove duplicates from ARGV.named
Includes test | Library/Homebrew/ARGV+yeast.rb | @@ -17,7 +17,7 @@
#
module HomebrewArgvExtension
def named
- reject {|arg| arg[0..0] == '-'}
+ reject{|arg| arg[0..0] == '-'}.collect{|arg| arg.downcase}.uniq
end
def options
select {|arg| arg[0..0] == '-'} | true |
Other | Homebrew | brew | 6dbdc9ab0c5c87d94569bb418c4838edceff09b7.json | Remove duplicates from ARGV.named
Includes test | Library/Homebrew/unittest.rb | @@ -255,4 +255,12 @@ def test_abstract_formula
assert_raises(RuntimeError) { f.prefix }
nostdout { assert_raises(ExecutionError) { f.brew } }
end
+
+ def test_no_ARGV_dupes
+ ARGV.unshift'foo'
+ ARGV.unshift'foo'
+ n=0
+ ARGV.named.each{|arg| n+=1 if arg == 'foo'}
+ assert_equal 1, n
+ end... | true |
Other | Homebrew | brew | 435518252910b9839033cab4da1c4138d1a8bd99.json | Return the installed path(s) from install | Library/Homebrew/pathname+yeast.rb | @@ -32,18 +32,19 @@ def rename newname
def install src
if src.is_a? Array
- src.each {|src| install src }
+ src.collect {|src| install src }
elsif File.exist? src
mkpath
if File.symlink? src
# we use the BSD mv command because FileUtils copies the target and
# no... | false |
Other | Homebrew | brew | cae0e78e6065b95ce2fc47d0d2cdd500945ffe6d.json | Pull USERAGENT used by curl into constant | Library/Homebrew/formula.rb | @@ -174,10 +174,8 @@ def fetch
tgz=File.expand_path File.basename(@url)
end
- agent="Homebrew #{HOMEBREW_VERSION} (Ruby #{VERSION}; Mac OS X 10.5 Leopard)"
-
unless File.exists? tgz
- `curl -#LA "#{agent}" #{oarg} "#{@url}"`
+ `curl -#LA "#{HOMEBREW_USER_AGENT}" #{oarg} "#{@url}"`
... | true |
Other | Homebrew | brew | cae0e78e6065b95ce2fc47d0d2cdd500945ffe6d.json | Pull USERAGENT used by curl into constant | Library/Homebrew/unittest.rb | @@ -8,10 +8,10 @@
# these are defined in env.rb usually, but we don't want to break our actual
# homebrew tree, and we do want to test everything :)
-HOMEBREW_VERSION='0.3t'
HOMEBREW_PREFIX=Pathname.new '/tmp/testbrew/prefix'
HOMEBREW_CACHE=HOMEBREW_PREFIX.parent+"cache"
HOMEBREW_CELLAR=HOMEBREW_PREFIX.parent+"c... | true |
Other | Homebrew | brew | cae0e78e6065b95ce2fc47d0d2cdd500945ffe6d.json | Pull USERAGENT used by curl into constant | bin/brew | @@ -4,6 +4,7 @@ require 'env'
require 'find'
PRISTINE_ARGV=ARGV.dup
+HOMEBREW_USER_AGENT="Homebrew #{HOMEBREW_VERSION} (Ruby #{VERSION}; Mac OS X 10.5 Leopard)"
# often causes Ruby to throw exception ffs
Dir.chdir '/' unless File.directory? ENV['PWD'] | true |
Other | Homebrew | brew | e9dbdadcacba4dda800dedf7511a510a149a4742.json | Remove all testing temporaries when done | Library/Homebrew/unittest.rb | @@ -15,7 +15,7 @@
HOMEBREW_CELLAR.mkpath
raise "HOMEBREW_CELLAR couldn't be created!" unless HOMEBREW_CELLAR.directory?
-at_exit { HOMEBREW_CACHE.rmtree }
+at_exit { HOMEBREW_PREFIX.parent.rmtree }
require 'test/unit' # must be after at_exit
| false |
Other | Homebrew | brew | a734b30a6818cb97b7f73dc303e1f19a55db7ad8.json | Add home(page) to completion.
Signed-off-by: Max Howell <max@methylblue.com> | Library/Contributions/brew_bash_completion.sh | @@ -15,7 +15,7 @@ _brew_to_completion()
prev="${COMP_WORDS[COMP_CWORD-1]}"
# We only complete unabbreviated commands...
- actions="edit info install list link make uninstall"
+ actions="edit homepage info install list link make uninstall"
# Subcommand list
if [[ ( ${COMP_CWORD} -eq... | false |
Other | Homebrew | brew | d10192e0772af253b4acb7c9ff8f7b28798b6d0a.json | Add Contributions to brew edit listing | bin/brew | @@ -209,8 +209,8 @@ begin
when 'edit'
if ARGV.empty?
- r=HOMEBREW_PREFIX
- exec "mate #{r}/Library/Formula #{r}/Library/Homebrew #{r}/bin/brew #{r}/README"
+ d=HOMEBREW_PREFIX
+ exec "mate #{Dir["#{d}/Library/*"].join' '} #{d}/bin/brew #{d}/README"
else
require ... | false |
Other | Homebrew | brew | fe71812af6285447d293a7e1fd223a1126b6d299.json | Add all commands to the bash completion script. | Library/Contributions/brew_bash_completion.sh | @@ -1,3 +1,10 @@
+# This script contains bash completions for brew.
+# To use, edit your .bashrc and add the line:
+# source <path-to-homebrew>/Library/Contributions/brew_bash_completion.sh
+#
+# Assuming you have brew installed in /usr/local, then you'll want:
+# source /usr/local/Library/Contributions/brew_bash_c... | false |
Other | Homebrew | brew | 7cb9c31f3e206be2688098ef182216ef948eeb37.json | Determine best optimization flags for host
We call sysctl to determine which exact Mac model we are running on and
optimize as well as possible. | Library/Homebrew/brewkit.rb | @@ -17,25 +17,52 @@
require 'osx/cocoa' # to get number of cores
require 'formula'
+require 'hw.model'
+
+ENV['MACOSX_DEPLOYMENT_TARGET']='10.5'
+ENV['CFLAGS']='-O3 -w -pipe -fomit-frame-pointer -mmacosx-version-min=10.5'
+ENV['LDFLAGS']='' # to be consistent, we ignore the environment usually already
# optimise... | true |
Other | Homebrew | brew | 7cb9c31f3e206be2688098ef182216ef948eeb37.json | Determine best optimization flags for host
We call sysctl to determine which exact Mac model we are running on and
optimize as well as possible. | Library/Homebrew/env.rb | @@ -18,6 +18,7 @@
require 'pathname+yeast'
require 'utils'
+# TODO if whoami == root then use /Library/Caches/Homebrew instead
HOMEBREW_VERSION='0.3'
HOMEBREW_CACHE=File.expand_path "~/Library/Caches/Homebrew"
HOMEBREW_PREFIX=Pathname.new(__FILE__).dirname.parent.parent.realpath | true |
Other | Homebrew | brew | 7cb9c31f3e206be2688098ef182216ef948eeb37.json | Determine best optimization flags for host
We call sysctl to determine which exact Mac model we are running on and
optimize as well as possible. | Library/Homebrew/hw.model.c | @@ -0,0 +1,12 @@
+#include <sys/sysctl.h>
+#include <stdio.h>
+
+int main()
+{
+ char buf[32];
+ size_t sz = sizeof(buf);
+ int r = sysctlbyname("hw.model", buf, &sz, NULL, 0);
+ if (r == 0)
+ printf("%.*s", sz, buf);
+ return r;
+} | true |
Other | Homebrew | brew | 7cb9c31f3e206be2688098ef182216ef948eeb37.json | Determine best optimization flags for host
We call sysctl to determine which exact Mac model we are running on and
optimize as well as possible. | Library/Homebrew/hw.model.rb | @@ -0,0 +1,82 @@
+def hw_model_output
+ exe=Pathname.new(HOMEBREW_CACHE)+'hw.model'
+ Kernel.system "gcc -Os #{File.dirname __FILE__}/hw.model.c -o #{exe}" unless exe.file?
+ /(.*)(\d+),(\d+)/ =~ `#{exe}`
+ yield $1, $2.to_i, $3.to_i
+end
+
+# http://support.apple.com/kb/HT3696
+# http://www.cocoadev.com/index.pl?M... | true |
Other | Homebrew | brew | c4972e218f0fbea3deae73e9af3efb2ae1cecf18.json | FIX typo in formula.rb | Library/Homebrew/formula.rb | @@ -239,7 +239,7 @@ def self.class name
end
def self.path name
- Pathanme.new(HOMEBREW_PREFIX)+'Formula'+(name.downcase+'.rb')
+ Pathname.new(HOMEBREW_PREFIX)+'Library'+'Formula'+(name.downcase+'.rb')
end
def self.create name | false |
Other | Homebrew | brew | ec65bb48190aca260280ef4ce90225af3e4d2d13.json | Allow brewing without an MD5 hash
You can either have none, in which case a warning is displayed, or
you can have one, but it *must* match. | Library/Homebrew/formula.rb | @@ -129,7 +129,11 @@ def brew
tgz=Pathname.new(fetch()).realpath
begin
md5=`md5 -q "#{tgz}"`.strip
- raise "MD5 mismatch: #{md5}" unless @md5 and md5 == @md5.downcase
+ if @md5 and not @md5.empty?
+ raise "MD5 mismatch: #{md5}" unless md5 == @md5.downcase
+ else
+ ... | false |
Other | Homebrew | brew | 0dd07b3fdce3bbb1b09a83980bb0f7d618a091aa.json | Copy LICENSE file if it exists also | bin/brew | @@ -93,7 +93,7 @@ def install formula
else
formula.prefix.mkpath
formula.install
- %w[README ChangeLog COPYING COPYRIGHT AUTHORS].each do |file|
+ %w[README ChangeLog COPYING LICENSE COPYRIGHT AUTHORS].each do |file|
formula.prefix.install file if File.file? file
end
en... | false |
Other | Homebrew | brew | 57f6db7a9781c9105f085d918ca9b5eb543c7de4.json | Propose git backbone as a plus too | README | @@ -37,8 +37,7 @@ Here's why you may prefer Homebrew to the alternatives:
6. DIY package installation
MacPorts doesn't support the beta version? Need an older version? Need
custom compile flags? The Homebrew toolchain is carefully segregated so
- you can just build your own stuff while still reaping the bene... | false |
Other | Homebrew | brew | 822a30e39d99afc245c785fe3e94f36399c89c55.json | Fix inreplace when using ' or other RegExp symbols
Evidence that using perl from the cli for in-replace is stupid :P
Had to use $'' to allow escaping of ' in bash strings.
Wasn't escaping regexp symbols as well, so it was amazing this worked at all! | Library/Homebrew/brewkit.rb | @@ -36,18 +36,15 @@
ENV['LDFLAGS']='-L'+$root+'lib'
end
-
-######################################################################## utils
-
def inreplace(path, before, after)
- before=before.to_s.gsub('"', '\"').gsub('/', '\/')
- after=after.to_s.gsub('"', '\"').gsub('/', '\/')
-
- # we're not using Ruby beca... | false |
Other | Homebrew | brew | 7ebe8084ec545170ed665dac82e106f8aabbd46f.json | Enforce 10.5 as minimum OSX SDK framework to use | Library/Homebrew/brewkit.rb | @@ -23,7 +23,7 @@
# http://forums.mozillazine.org/viewtopic.php?f=12&t=577299
# http://gcc.gnu.org/onlinedocs/gcc-4.0.1/gcc/i386-and-x86_002d64-Options.html
ENV['MACOSX_DEPLOYMENT_TARGET']='10.5'
-ENV['CFLAGS']=ENV['CXXFLAGS']='-O3 -w -pipe -fomit-frame-pointer -march=prescott'
+ENV['CFLAGS']=ENV['CXXFLAGS']='-O3 -w... | false |
Other | Homebrew | brew | 5eb9d6519d9411a4715d06efcb7b0c7480e3f01d.json | Fix ack formula | Library/Homebrew/brewkit.rb | @@ -244,7 +244,6 @@ def brew
end
ensure
FileUtils.rm_rf tmp if tmp
- FileUtils.rm tgz if tgz and not self.cache?
end
end
end
@@ -292,9 +291,6 @@ def clean
end
protected
- def cache?
- true
- end
def uncompress path
path.dirname
end
@@ -368,12 +364,8 @... | false |
Other | Homebrew | brew | 34955880d58f6e18b8d4caa58ae011fbbea77be5.json | Fix issues with Pathname.install and arrays | Library/Homebrew/brewkit.rb | @@ -102,9 +102,19 @@ def rename dst
end
def install src
- if File.exist? src
+ if src.is_a? Array
+ src.each {|src| install src }
+ elsif File.exist? src
mkpath
- FileUtils.mv src, to_s
+ if File.symlink? src
+ # we cp symlinks because FileUtils.mv is shit and won't mv a sy... | false |
Other | Homebrew | brew | 138801cdecb01b1bb6d540af25293489b39784df.json | Discuss CPAN, RubyGems and EasyInstall | README | @@ -27,7 +27,7 @@ http://developer.apple.com/technology/xcode.html
Next, uninstall MacPorts and Fink (or just rename their root folders). Many
build scripts blindly look in /opt/local etc. and end up linking to that stuff
-anyway!
+anyway! If you just want to trial Homebrew then you'll get away with not moving MacP... | false |
Other | Homebrew | brew | cae8fb295caa4afc213ee8f0455f97ca52ea84d3.json | Display usage for unknown parameters etc. again
For some reason, this had disappeared. | bin/brew | @@ -306,6 +306,9 @@ begin
end
end
end
+
+ else
+ puts usage
end
rescue StandardError, Interrupt => e | false |
Other | Homebrew | brew | 57f7df1e3c63168031a6aa1ed202024bc06c8860.json | Announce caveats when brew info is called | bin/brew | @@ -305,10 +305,6 @@ begin
puts o.caveats
end
end
- if o.caveats
- ohai 'Caveats'
- puts o.caveats
- end
end
end
| false |
Other | Homebrew | brew | 02e53d44cb23e5f798897ac97df357353c0e6242.json | Capture stdout during test_prefix | Library/Homebrew/unittest.rb | @@ -3,6 +3,7 @@
$:.unshift File.dirname(__FILE__)
require 'test/unit'
require 'brewkit'
+require 'stringio'
class TestFormula <Formula
def initialize url, md5='nomd5'
@@ -12,6 +13,13 @@ def initialize url, md5='nomd5'
end
end
+def nostdout
+ tmp=$stdout
+ $stdout=StringIO.new
+ yield
+ $stdout=tmp
+e... | false |
Other | Homebrew | brew | 71a628740987ed5737440ec2f2f350e73c51452b.json | Handle exceptions during install correctly
rm -rf the prefix and build dirs when appropriate. | Library/Homebrew/brewkit.rb | @@ -178,32 +178,30 @@ def caveats
# yields self with current working directory set to the uncompressed tarball
def brew
ohai "Downloading #{@url}"
-
Dir.chdir appsupport do
- tgz=Pathname.new(fetch()).realpath
- md5=`md5 -q "#{tgz}"`.strip
- raise "MD5 mismatch: #{md5}" unless @md5 and md... | true |
Other | Homebrew | brew | 71a628740987ed5737440ec2f2f350e73c51452b.json | Handle exceptions during install correctly
rm -rf the prefix and build dirs when appropriate. | bin/brew | @@ -212,20 +212,28 @@ begin
shift_formulae_from_ARGV.each do |name|
beginning = Time.now
o=__obj(name)
- raise "#{o.prefix} already exists!" if o.prefix.exist?
- o.prefix.mkpath
- o.brew { o.install }
- ohai 'Finishing up'
- #TODO copy changelog or CHANGES fil... | true |
Other | Homebrew | brew | fe283686979c59dd86861d111a3211d93ccb47b2.json | Catch all exceptions in brew
And thus recover from errors always, not just sometimes. | Library/Homebrew/brewkit.rb | @@ -175,8 +175,8 @@ def brew
yield self
end
end
- rescue Interrupt, RuntimeError
- if ARGV.include? '--debug'
+ rescue => e
+ if e.kind_of? Interrupt and ARGV.include? '--debug'
# debug mode allows the packager to intercept a failed build and
... | false |
Other | Homebrew | brew | 97eb5a8292270dac971dcae30037feed1e2fdcad.json | Move caveat handling to brew tool | Library/Homebrew/brewkit.rb | @@ -173,12 +173,6 @@ def brew
Dir.chdir tmp do
Dir.chdir uncompress(tgz) do
yield self
- if caveats
- ohai "Caveats"
- puts caveats
- end
- #TODO copy changelog or CHANGES file to pkg root,
- #TODO maybe README, etc. ... | true |
Other | Homebrew | brew | 97eb5a8292270dac971dcae30037feed1e2fdcad.json | Move caveat handling to brew tool | bin/brew | @@ -226,8 +226,14 @@ begin
o.prefix.mkpath
o.brew { o.install }
ohai 'Finishing up'
+ #TODO copy changelog or CHANGES file to pkg root,
+ #TODO maybe README, etc. to versioned root
o.clean
ln name
+ if o.caveats
+ ohai "Caveats"
+ puts ... | true |
Other | Homebrew | brew | 3eeda7fc29dc8642410609f87858c1ea859c0839.json | Support multiple formulae for certain commands | bin/brew | @@ -34,9 +34,8 @@ def prune
return n
end
-def shift_formulae
- name=Pathname.new ARGV.shift
-
+def formulize name
+ name=Pathname.new name
return name if name.directory? and name.parent.realpath == $cellar
return File.basename(name, '.rb') if name.file? and name.extname == '.rb' and name.parent.realpath =... | false |
Other | Homebrew | brew | a0920e436099c99341955d981da8d129ad38b1ea.json | Reflect recent changes in the README | README | @@ -3,74 +3,73 @@ Homebrew
A simple package management system for OS X Leopard. Packages are brewed in
individual, versioned kegs. For example:
-/Brewery/Cellar/wget/1.11.4/bin/wget
-/Brewery/Cellar/wget/1.11.4/share/man/man1/wget.1
+/usr/local/Cellar/wget/1.11.4/bin/wget
+/usr/local/Cellar/wget/1.11.4/share/man/ma... | false |
Other | Homebrew | brew | 14424feab2d9eb9ee7407e8a6b09abae13c83c59.json | Determine number of cores using RubyCocoa #win | Cellar/homebrew/brewkit.rb | @@ -1,6 +1,7 @@
# Copyright 2009 Max Howell <max@methylblue.com>
# Licensed as per the GPL version 3
require 'pathname'
+require 'osx/cocoa' # to get number of cores
HOMEBREW_VERSION='0.1'
@@ -15,7 +16,7 @@
# if I'm wrong
ENV['CC']='gcc-4.2'
ENV['CXX']='g++-4.2'
-ENV['MAKEFLAGS']='-j2'
+ENV['MAKEFLAGS']="-j#... | false |
Other | Homebrew | brew | 3c3f1a1c921b8f5fdcc7d71e59d189fec5421771.json | install the brew command with a relative symlink | Cellar/homebrew/brewkit.rb | @@ -256,5 +256,6 @@ def system cmd
if $0 == __FILE__
d=$cellar.parent+'bin'
d.mkpath unless d.exist?
- (d+'brew').make_symlink $cellar+'homebrew'+'brew'
+ Dir.chdir d
+ Pathname.new('brew').make_symlink Pathname.new('../Cellar')+'homebrew'+'brew'
end
\ No newline at end of file | false |
Other | videojs | video.js | 2d96c9d78023d75115152f9f520ea51dcf94c958.json | feat: Use userAgentData in favour of userAgent (#7979) | src/js/tech/html5.js | @@ -105,8 +105,7 @@ class Html5 extends Tech {
// Our goal should be to get the custom controls on mobile solid everywhere
// so we can remove this all together. Right now this will block custom
// controls on touch enabled laptops like the Chrome Pixel
- if ((browser.TOUCH_ENABLED || browser.IS_IPHON... | true |
Other | videojs | video.js | 2d96c9d78023d75115152f9f520ea51dcf94c958.json | feat: Use userAgentData in favour of userAgent (#7979) | src/js/utils/browser.js | @@ -5,196 +5,245 @@
import * as Dom from './dom';
import window from 'global/window';
-const USER_AGENT = window.navigator && window.navigator.userAgent || '';
-const webkitVersionMap = (/AppleWebKit\/([\d.]+)/i).exec(USER_AGENT);
-const appleWebkitVersion = webkitVersionMap ? parseFloat(webkitVersionMap.pop()) : n... | true |
Other | videojs | video.js | 2d96c9d78023d75115152f9f520ea51dcf94c958.json | feat: Use userAgentData in favour of userAgent (#7979) | test/unit/tech/html5.test.js | @@ -218,141 +218,6 @@ QUnit.test('should remove the controls attribute when recreating the element', f
assert.ok(player.tagAttributes.controls, 'tag attribute is still present');
});
-QUnit.test('patchCanPlayType patches canplaytype with our function, conditionally', function(assert) {
- // the patch runs automa... | true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | package-lock.json | @@ -1670,9 +1670,9 @@
"dev": true
},
"@types/node": {
- "version": "15.0.1",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-15.0.1.tgz",
- "integrity": "sha512-TMkXt0Ck1y0KKsGr9gJtWGjttxlZnnvDtphxUOSd0bfaR6Q1jle+sPvrzNR1urqYTWMinoKvjKfXUGsumaO1PA==",
+ "version": "18.8... | true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | package.json | @@ -5,6 +5,7 @@
"main": "./dist/video.cjs.js",
"module": "./dist/video.es.js",
"style": "./dist/video-js.css",
+ "types": "./dist/types/video.d.ts",
"copyright": "Copyright Brightcove, Inc. <https://www.brightcove.com/>",
"license": "Apache-2.0",
"keywords": [
@@ -25,7 +26,7 @@
"postclean": "shx... | true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | src/js/component.js | @@ -25,7 +25,7 @@ class Component {
/**
* A callback that is called when a component is ready. Does not have any
- * paramters and any callback value will be ignored.
+ * parameters and any callback value will be ignored.
*
* @callback Component~ReadyCallback
* @this Component
@@ -700,6 +700,9 ... | true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | src/js/event-target.js | @@ -4,6 +4,8 @@
import * as Events from './utils/events.js';
import window from 'global/window';
+let EVENT_MAP;
+
/**
* `EventTarget` is a class that can have the same API as the DOM `EventTarget`. It
* adds shorthand functions that wrap around lengthy functions. For example:
@@ -12,12 +14,142 @@ import windo... | true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | src/js/fullscreen-api.js | @@ -1,7 +1,6 @@
/**
* @file fullscreen-api.js
* @module fullscreen-api
- * @private
*/
import document from 'global/document';
| true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | src/js/menu/menu-keys.js | @@ -6,6 +6,7 @@
* All keys used for operation of a menu (`MenuButton`, `Menu`, and `MenuItem`)
* Note that 'Enter' and 'Space' are not included here (otherwise they would
* prevent the `MenuButton` and `MenuItem` from being keyboard-clickable)
+ *
* @typedef MenuKeys
* @array
*/ | true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | src/js/resize-manager.js | @@ -14,6 +14,7 @@ import Component from './component.js';
*
* If the ResizeObserver is available natively, it will be used. A polyfill can be passed in as an option.
* If a `playerresize` event is not needed, the ResizeManager component can be removed from the player, see the example below.
+ *
* @example <capt... | true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | src/js/tech/html5.js | @@ -28,7 +28,7 @@ class Html5 extends Tech {
* @param {Object} [options]
* The key/value store of player options.
*
- * @param {Component~ReadyCallback} ready
+ * @param {Component~ReadyCallback} [ready]
* Callback function to call when the `HTML5` Tech is ready.
*/
constructor(options... | true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | src/js/tech/tech.js | @@ -88,7 +88,7 @@ class Tech extends Component {
* @param {Object} [options]
* The key/value store of player options.
*
- * @param {Component~ReadyCallback} ready
+ * @param {Component~ReadyCallback} [ready]
* Callback function to call when the `HTML5` Tech is ready.
*/
constructor(opt... | true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | src/js/tracks/html-track-element.js | @@ -5,16 +5,6 @@
import EventTarget from '../event-target';
import TextTrack from '../tracks/text-track';
-/**
- * @memberof HTMLTrackElement
- * @typedef {HTMLTrackElement~ReadyState}
- * @enum {number}
- */
-const NONE = 0;
-const LOADING = 1;
-const LOADED = 2;
-const ERROR = 3;
-
/**
* A single track represe... | true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | src/js/video.js | @@ -49,6 +49,13 @@ import { use as middlewareUse, TERMINATOR } from './tech/middleware.js';
*/
const normalizeId = (id) => id.indexOf('#') === 0 ? id.slice(1) : id;
+/**
+ * A callback that is called when a component is ready. Does not have any
+ * parameters and any callback value will be ignored. See: {@link Com... | true |
Other | videojs | video.js | 0545df5289d7fffa36b55cec40303943b125f87b.json | feat: generate Typescript definitions (#7954) | tsconfig.json | @@ -0,0 +1,13 @@
+{
+ "include": ["src/js/**/*"],
+ "compilerOptions": {
+ "allowJs": true,
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "outDir": "dist/types",
+ "declarationMap": true,
+ "skipLibCheck": true,
+ "checkJs": false,
+ "preserveWatchOutput": true
+ }
+}
\ No newline a... | true |
Other | videojs | video.js | 1299daf16c27609b0ec7be2efe9a8fe97e75f6c4.json | refactor: remove extend() and tests (#7950)
BREAKING CHANGE: This removes the videojs.extend() method, please use ES6 classes instead. | src/js/extend.js | @@ -1,78 +0,0 @@
-/**
- * @file extend.js
- * @module extend
- */
-
-import _inherits from '@babel/runtime/helpers/inherits';
-import log from './utils/log';
-
-/**
- * Used to subclass an existing class by emulating ES subclassing using the
- * `extends` keyword.
- *
- * @function
- * @deprecated
- * @example
- * var ... | true |
Other | videojs | video.js | 1299daf16c27609b0ec7be2efe9a8fe97e75f6c4.json | refactor: remove extend() and tests (#7950)
BREAKING CHANGE: This removes the videojs.extend() method, please use ES6 classes instead. | src/js/video.js | @@ -31,7 +31,6 @@ import * as Dom from './utils/dom.js';
import * as browser from './utils/browser.js';
import * as Url from './utils/url.js';
import * as Obj from './utils/obj';
-import extend from './extend.js';
import xhr from '@videojs/xhr';
// Include the built-in techs
@@ -359,15 +358,6 @@ videojs.browser ... | true |
Other | videojs | video.js | 1299daf16c27609b0ec7be2efe9a8fe97e75f6c4.json | refactor: remove extend() and tests (#7950)
BREAKING CHANGE: This removes the videojs.extend() method, please use ES6 classes instead. | test/unit/extend.test.js | @@ -1,55 +0,0 @@
-/* eslint-env qunit */
-import extend from '../../src/js/extend.js';
-
-QUnit.module('extend.js');
-
-QUnit.test('should add implicit parent constructor call', function(assert) {
- assert.expect(4);
-
- let superCalled = false;
-
- [
- function() {
- superCalled = true;
- },
- class P... | true |
Other | videojs | video.js | f2aa0d7d13d15ddf2d402b3b80bdfd9999800744.json | feat: Use picture el for poster (#7865)
BREAKING CHANGE: This changes the DOM structure used for the video poster. | src/css/components/_poster.scss | @@ -1,10 +1,6 @@
.vjs-poster {
display: inline-block;
vertical-align: middle;
- background-repeat: no-repeat;
- background-position: 50% 50%;
- background-size: contain;
- background-color: #000000;
cursor: pointer;
margin: 0;
padding: 0; | true |
Other | videojs | video.js | f2aa0d7d13d15ddf2d402b3b80bdfd9999800744.json | feat: Use picture el for poster (#7865)
BREAKING CHANGE: This changes the DOM structure used for the video poster. | src/js/player.js | @@ -820,25 +820,29 @@ class Player extends Component {
*
* @see [Video Element Attributes]{@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#attr-crossorigin}
*
- * @param {string} [value]
+ * @param {string|null} [value]
* The value to set the `Player`'s crossOrigin to. I... | true |
Other | videojs | video.js | f2aa0d7d13d15ddf2d402b3b80bdfd9999800744.json | feat: Use picture el for poster (#7865)
BREAKING CHANGE: This changes the DOM structure used for the video poster. | src/js/poster-image.js | @@ -46,16 +46,56 @@ class PosterImage extends ClickableComponent {
* The element that gets created.
*/
createEl() {
- const el = Dom.createEl('div', {
+ const el = Dom.createEl('picture', {
className: 'vjs-poster',
// Don't want poster to be tabbable.
tabIndex: -1
- })... | true |
Other | videojs | video.js | f2aa0d7d13d15ddf2d402b3b80bdfd9999800744.json | feat: Use picture el for poster (#7865)
BREAKING CHANGE: This changes the DOM structure used for the video poster. | test/unit/poster.test.js | @@ -18,19 +18,30 @@ QUnit.module('PosterImage', {
QUnit.test('should create and update a poster image', function(assert) {
const posterImage = new PosterImage(this.mockPlayer);
- let backgroundImage = posterImage.el().style.backgroundImage;
+ let pictureImg = posterImage.$('img').src;
- assert.notEqual(backg... | true |
Other | videojs | video.js | bd54b4112ea78d6574e09da2efaf3c0e776c01de.json | fix: update icons import path for sass (#7867)
This updates the path to remove node_modules as some tools expect the
module name to be first. This is particularly important for PnP tools as
local node_modules may not have the module.
Fixes #7208, fixes #7863
BREAKING CHANGE: update icons path in sass to remove... | package.json | @@ -35,9 +35,9 @@
"copy:examples": "shx cp -R docs/examples dist/",
"build:js": "rollup -c",
"build:css": "npm-run-all build:css:*",
- "build:css:cdn": "sass --load-path='./' --no-source-map src/css/vjs-cdn.scss dist/alt/video-js-cdn.css",
+ "build:css:cdn": "sass --load-path='./' --load-path='./no... | true |
Other | videojs | video.js | bd54b4112ea78d6574e09da2efaf3c0e776c01de.json | fix: update icons import path for sass (#7867)
This updates the path to remove node_modules as some tools expect the
module name to be first. This is particularly important for PnP tools as
local node_modules may not have the module.
Fixes #7208, fixes #7863
BREAKING CHANGE: update icons path in sass to remove... | src/css/video-js.scss | @@ -2,7 +2,7 @@
@import "private-variables";
@import "utilities";
-@import "node_modules/videojs-font/scss/icons";
+@import "videojs-font/scss/icons";
@import "components/layout";
@import "components/big-play"; | true |
Other | videojs | video.js | 63a2d027f4e6d6412a4ea309fb9d4dc2c47c39ef.json | feat: remove closest fallback (#7853) | src/js/player.js | @@ -330,22 +330,10 @@ class Player extends Component {
// If language is not set, get the closest lang attribute
if (!options.language) {
- if (typeof tag.closest === 'function') {
- const closest = tag.closest('[lang]');
+ const closest = tag.closest('[lang]');
- if (closest && cl... | false |
Other | videojs | video.js | c190b21de7f6e40e4de209b5c749f63b6ce7fc6f.json | feat: remove the firstplay event (#7707)
Co-authored-by: Hugo Rodriguez <hrodriguez@brightcove.com>
BREAKING CHANGE: Removes the firstplay event. Use one('play') instead. | src/js/player.js | @@ -1237,7 +1237,6 @@ class Player extends Component {
this.on(this.tech_, 'ended', (e) => this.handleTechEnded_(e));
this.on(this.tech_, 'seeking', (e) => this.handleTechSeeking_(e));
this.on(this.tech_, 'play', (e) => this.handleTechPlay_(e));
- this.on(this.tech_, 'firstplay', (e) => this.handleTec... | true |
Other | videojs | video.js | c190b21de7f6e40e4de209b5c749f63b6ce7fc6f.json | feat: remove the firstplay event (#7707)
Co-authored-by: Hugo Rodriguez <hrodriguez@brightcove.com>
BREAKING CHANGE: Removes the firstplay event. Use one('play') instead. | test/unit/player.test.js | @@ -1055,55 +1055,6 @@ QUnit.test('should register players with generated ids', function(assert) {
player.dispose();
});
-QUnit.test('should not add multiple first play events despite subsequent loads', function(assert) {
- assert.expect(1);
-
- const player = TestHelpers.makePlayer({});
-
- player.on('firstpl... | true |
Other | videojs | video.js | 9d832eca5f997e040a554cd2e44c11b3800079a1.json | feat: export more helpers in videojs object (#7717)
Co-authored-by: Hugo Rodriguez <hrodriguez@brightcove.com>
Co-authored-by: Pat O'Neill <pgoneill@gmail.com> | src/js/video.js | @@ -23,14 +23,16 @@ import * as Fn from './utils/fn.js';
import TextTrack from './tracks/text-track.js';
import AudioTrack from './tracks/audio-track.js';
import VideoTrack from './tracks/video-track.js';
-
import { createTimeRanges } from './utils/time-ranges.js';
import formatTime, { setFormatTime, resetFormatTi... | false |
Other | videojs | video.js | 1c2be966f40c6b9615fe1d10b568820030795ffb.json | fix: update @videojs/http-streaming to 2.15.1 (#8010)
Fixes #7998, fixes #7958. | package-lock.json | @@ -1312,16 +1312,16 @@
}
},
"@videojs/http-streaming": {
- "version": "2.15.0",
- "resolved": "https://registry.npmjs.org/@videojs/http-streaming/-/http-streaming-2.15.0.tgz",
- "integrity": "sha512-uRW62ybZOP4Osw24/yT79vjRkxqAyoB/wtVV6lroAaPHYUXCz9//VUQAC6xZn2z6JeCoBz0pQHGlxYb8JRFj6Q==... | true |
Other | videojs | video.js | 1c2be966f40c6b9615fe1d10b568820030795ffb.json | fix: update @videojs/http-streaming to 2.15.1 (#8010)
Fixes #7998, fixes #7958. | package.json | @@ -84,14 +84,14 @@
},
"dependencies": {
"@babel/runtime": "^7.12.5",
- "@videojs/http-streaming": "2.15.0",
+ "@videojs/http-streaming": "2.15.1",
"@videojs/vhs-utils": "^3.0.4",
"@videojs/xhr": "2.6.0",
"aes-decrypter": "3.1.3",
"global": "^4.4.0",
"keycode": "^2.2.0",
"... | true |
Other | videojs | video.js | b58a2201c4e4af76f2d754aa633f21456f60cbdc.json | fix: deprecate the extend() function (#7944)
This function will be removed in Video.js 8.0 | src/js/extend.js | @@ -4,12 +4,16 @@
*/
import _inherits from '@babel/runtime/helpers/inherits';
+import log from './utils/log.js';
+
+let hasLogged = false;
/**
* Used to subclass an existing class by emulating ES subclassing using the
* `extends` keyword.
*
* @function
+ * @deprecated
* @example
* var MyComponent = ... | false |
Other | videojs | video.js | ce1baba3cb21ffe6ba01b5c7d64e8961799b18cf.json | chore: fix mixed content warnings from netlify (#7946) | docs/legacy-docs/api/assets/api-doc-template-min.html | @@ -1 +1 @@
-<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <script src="//use.edgefonts.net/source-code-pro.js"></script> <link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700" rel="stylesheet" type="text/css"> <!--... | true |
Other | videojs | video.js | ce1baba3cb21ffe6ba01b5c7d64e8961799b18cf.json | chore: fix mixed content warnings from netlify (#7946) | docs/legacy-docs/api/assets/api-doc-template.html | @@ -1 +1 @@
-<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <script src="//use.edgefonts.net/source-code-pro.js"></script> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700' rel='stylesheet' type='text/css'> <!--... | true |
Other | videojs | video.js | ce1baba3cb21ffe6ba01b5c7d64e8961799b18cf.json | chore: fix mixed content warnings from netlify (#7946) | docs/legacy-docs/api/assets/create-doc-files.js | @@ -25,7 +25,7 @@ function createFiles(filenameArray) {
var i,
iMax = filenameArray.length,
filename,
- contentStr = '<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <script src="//use.edgefonts.net/source-code-pro.js"></s... | true |
Other | videojs | video.js | ce1baba3cb21ffe6ba01b5c7d64e8961799b18cf.json | chore: fix mixed content warnings from netlify (#7946) | docs/legacy-docs/api/audio-track-button.html | @@ -1,6 +1,6 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>AudioTrackButton</title><script src="//use.edgefonts.net/source-code-pro.js">
// font for code blocks
-</script><link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,7... | true |
Other | videojs | video.js | ce1baba3cb21ffe6ba01b5c7d64e8961799b18cf.json | chore: fix mixed content warnings from netlify (#7946) | docs/legacy-docs/api/big-play-button.html | @@ -1,6 +1,6 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>BigPlayButton</title><script src="//use.edgefonts.net/source-code-pro.js">
// font for code blocks
-</script><link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700"... | true |
Other | videojs | video.js | ce1baba3cb21ffe6ba01b5c7d64e8961799b18cf.json | chore: fix mixed content warnings from netlify (#7946) | docs/legacy-docs/api/button.html | @@ -1,6 +1,6 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>Button</title><script src="//use.edgefonts.net/source-code-pro.js">
// font for code blocks
-</script><link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700" rel="s... | true |
Other | videojs | video.js | ce1baba3cb21ffe6ba01b5c7d64e8961799b18cf.json | chore: fix mixed content warnings from netlify (#7946) | docs/legacy-docs/api/caption-settings-menu-item.html | @@ -1,6 +1,6 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>CaptionSettingsMenuItem</title><script src="//use.edgefonts.net/source-code-pro.js">
// font for code blocks
-</script><link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700itali... | true |
Other | videojs | video.js | ce1baba3cb21ffe6ba01b5c7d64e8961799b18cf.json | chore: fix mixed content warnings from netlify (#7946) | docs/legacy-docs/api/captions-button.html | @@ -1,6 +1,6 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>CaptionsButton</title><script src="//use.edgefonts.net/source-code-pro.js">
// font for code blocks
-</script><link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.