content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
PHP
PHP
use same default queue name for all drivers
2b8f3aa506f1f2463dfdb43b063d17674b86c8cd
<ide><path>config/queue.php <ide> 'key' => env('AWS_ACCESS_KEY_ID'), <ide> 'secret' => env('AWS_SECRET_ACCESS_KEY'), <ide> 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), <del> 'queue' => env('SQS_QUEUE', 'your-queue-name'), <add> ...
1
Ruby
Ruby
use pkg_version when publishing bottles
e1611c4c224e83a1231cd1e5726bda37834feb87
<ide><path>Library/Homebrew/cmd/pull.rb <ide> def pull <ide> changed_formulae.each do |f| <ide> ohai "Publishing on Bintray:" <ide> package = Bintray.package f.name <del> bottle = Bottle.new(f, f.bottle_specification) <del> version = Bintray.version(bottle.url) <a...
1
PHP
PHP
add default to collection property
78a494e6399758008c4c7e304ac9e30fbb324611
<ide><path>src/Illuminate/Support/Collection.php <ide> class Collection implements ArrayAccess, ArrayableInterface, Countable, Iterator <ide> * <ide> * @var array <ide> */ <del> protected $items; <add> protected $items = array(); <ide> <ide> /** <ide> * Create a new collection.
1
Javascript
Javascript
simplify jsdom.jsdom invocation
dcdcd6b7b8cee6f86320790aa05cc52bf87cee62
<ide><path>test/load.js <ide> module.exports = function() { <ide> }; <ide> <ide> topic.document = function(_) { <del> var document = jsdom.jsdom("<html><head></head><body></body></html>"); <add> var document = jsdom.jsdom(); <ide> <ide> // Monkey-patch createRange support to JSDOM. <ide> document.cr...
1
PHP
PHP
trim double quotes from section name
99c6db84fa621a0f8dfa7c30d37ad55705002b9f
<ide><path>src/Illuminate/View/Compilers/Concerns/CompilesLayouts.php <ide> protected function compileExtends($expression) <ide> */ <ide> protected function compileSection($expression) <ide> { <del> $this->lastSection = trim($expression, "()'"); <add> $this->lastSection = trim($expression, "(...
1
Ruby
Ruby
copy env_proc when merging deps
6b5e73a2c343ac9947c5d7df2c4aaf99e7aca7e6
<ide><path>Library/Homebrew/dependency.rb <ide> def merge_repeats(deps) <ide> grouped = deps.group_by(&:name) <ide> <ide> deps.uniq.map do |dep| <del> dep.class.new(dep.name, grouped.fetch(dep.name).map(&:tags).flatten) <add> tags = grouped.fetch(dep.name).map(&:tags).flatten <add> mer...
2
Ruby
Ruby
add rewrite function for generic shebangs
79a3d3568b5f5880947d7f857fbe9630b55cc492
<ide><path>Library/Homebrew/language/python.rb <ide> def self.setup_install_args(prefix) <ide> ] <ide> end <ide> <add> def self.rewrite_python_shebang(python_path) <add> Pathname(".").find do |f| <add> regex = %r{^#! ?/usr/bin/(env )?python([23](\.\d{1,2})?)$} <add> maximum_regex_length...
1
Javascript
Javascript
improve error message of _errnoexception
c64ca56def8651c2ad679bcdf1283fa7560e88f3
<ide><path>lib/util.js <ide> function error(...args) { <ide> } <ide> <ide> function _errnoException(err, syscall, original) { <del> if (typeof err !== 'number' || err >= 0 || !Number.isSafeInteger(err)) { <del> throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'err', <del> 'negative ...
2
PHP
PHP
fix collection import on notificationfake
2fb90f4c66ecc5bee876e701bbef1879dbb8b2be
<ide><path>src/Illuminate/Support/Testing/Fakes/NotificationFake.php <ide> namespace Illuminate\Support\Testing\Fakes; <ide> <ide> use Ramsey\Uuid\Uuid; <add>use Illuminate\Support\Collection; <ide> use PHPUnit_Framework_Assert as PHPUnit; <ide> use Illuminate\Contracts\Notifications\Factory as NotificationFactory; <i...
1
PHP
PHP
add exception for dbo classes
ade85c1cd0db52d0bbf9e823a146a2243ad5d050
<ide><path>lib/Cake/Console/Command/UpgradeShell.php <ide> protected function _movePhpFiles($path, $options) { <ide> <ide> $class = $match[1]; <ide> <del> preg_match('@([A-Z][^A-Z]*)$@', $class, $match); <del> if ($match) { <del> $type = $match[1]; <add> if (substr($class, 0, 3) === 'Dbo') { <add> $typ...
1
Text
Text
fix typos in buffer geometry article
c3c06f93798d2f92707d4f4c2ecc701a19070930
<ide><path>threejs/lessons/threejs-custom-buffergeometry.md <ide> of the face. <ide> <ide> <div class="threejs_center"><img src="resources/threejs-geometry.svg" style="width: 700px"></div> <ide> <del>`BufferGeometry` on the other hand uses *named* `BufferAttribute`s <del>Each `BufferAttribute` represents an array of ...
1
Ruby
Ruby
remove obsolete hacks from updater report
87850d00cda177e15d94c48655b182cc74cb7af2
<ide><path>Library/Homebrew/cmd/update.rb <ide> def dump <ide> end <ide> <ide> def tapped_formula_for key <del> fetch(key, []).select do |path| <del> case path.to_s <del> when HOMEBREW_TAP_PATH_REGEX <del> valid_formula_location?("#{$1}/#{$2}/#{$3}") <del> else <del> false <del> ...
1
Javascript
Javascript
use setimmediate to defer value restoration
354fb4429978a8d77df72781ce1754c2ffcce9b3
<ide><path>src/browser/ui/dom/components/ReactDOMInput.js <ide> var ReactBrowserComponentMixin = require('ReactBrowserComponentMixin'); <ide> var ReactCompositeComponent = require('ReactCompositeComponent'); <ide> var ReactDOM = require('ReactDOM'); <ide> var ReactMount = require('ReactMount'); <add>var ReactUpdates = ...
3
Javascript
Javascript
remove redundant version from test sandbox
67dce478dabaabf0f291556d51803b0c3ab1fae6
<ide><path>test/load.js <ide> process.env.TZ = "America/Los_Angeles"; <ide> <ide> var smash = require("smash"), <del> jsdom = require("jsdom"), <del> version = require("../package.json").version; <add> jsdom = require("jsdom"); <ide> <ide> require("./XMLHttpRequest"); <ide> <ide> module.exports = function()...
1
Ruby
Ruby
favor composition over inheritance
b14f1c3ad72f7aeef4f725637b835da56bcd7d39
<ide><path>actionpack/lib/action_view/path_set.rb <ide> module ActionView #:nodoc: <ide> # = Action View PathSet <del> class PathSet < Array #:nodoc: <del> %w(initialize << concat insert push unshift).each do |method| <add> class PathSet #:nodoc: <add> include Enumerable <add> <add> attr_reader :paths <add...
1
Javascript
Javascript
remove unused var
5ac298f764f417d64bfd8e7b85322bfcdcd7940e
<ide><path>packages/ember-runtime/lib/system/core_object.js <ide> function makeCtor() { <ide> // method a lot faster. This is glue code so we want it to be as fast as <ide> // possible. <ide> <del> var wasApplied = false, initMixins, init = false; <add> var wasApplied = false, initMixins; <ide> <ide> var Cla...
1
Python
Python
fix model parallelism test
98f6e1ee87e83355affd7951d7d69347e1945294
<ide><path>tests/test_modeling_common.py <ide> def check_device_map_is_respected(self, model, device_map): <ide> @require_torch_gpu <ide> def test_cpu_offload(self): <ide> config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common() <del> if config.num_hidden_layers < 5: <add> ...
1
Go
Go
fix race in setting plugin refcounts
4c088d1e2ebfcc384a365734017988f4fd1c4605
<ide><path>plugin/store/store.go <ide> func (ps *Store) Get(name, capability string, mode int) (plugingetter.CompatPlug <ide> } <ide> p, err = ps.GetByName(fullName) <ide> if err == nil { <del> p.SetRefCount(mode + p.GetRefCount()) <add> p.AddRefCount(mode) <ide> if p.IsEnabled() { <ide> return p.Filte...
2
Python
Python
catch error message in docker plugin
80db8225c4257889be303deeaa3872566bc7e387
<ide><path>glances/plugins/glances_docker.py <ide> def get_export(self): <ide> <ide> def connect(self): <ide> """Connect to the Docker server.""" <del> if import_error_tag: <del> return None <add> try: <add> ret = docker.from_env() <add> except Exception as e: <ad...
1
Python
Python
use tf.eye(), instead of np.eye()
e87384eddf463e4cf4a7f4f3e881634fafc480ee
<ide><path>keras/backend/tensorflow_backend.py <ide> def eye(size, dtype=None, name=None): <ide> ``` <ide> <ide> """ <del> return variable(np.eye(size), dtype, name) <add> if dtype is None: <add> dtype = floatx() <add> tf_dtype = tf.as_dtype(dtype) <add> return variable(tf.eye(size, dtype=tf...
1
Python
Python
move matrix tests in core, polynomial to matrixlib
d7e0c7e34b293ab32a46960c65d063446115d4e8
<ide><path>numpy/core/fromnumeric.py <ide> def diagonal(a, offset=0, axis1=0, axis2=1): <ide> Returns <ide> ------- <ide> array_of_diagonals : ndarray <del> If `a` is 2-D and not a `matrix`, a 1-D array of the same type as `a` <del> containing the diagonal is returned. If `a` is a `matrix`, a ...
12
Ruby
Ruby
fix blob associations
3eb8c89c0410fac34aefc8b89b8c6b5901c39415
<ide><path>lib/active_storage/attached/macros.rb <ide> def has_one_attached(name, dependent: :purge_later) <ide> end <ide> <ide> has_one :"#{name}_attachment", -> { where(name: name) }, class_name: "ActiveStorage::Attachment", as: :record <del> has_one :"#{name}_blob", through: :"#{name}_attachment" <add> ...
3
Javascript
Javascript
deploy suppressions ahead of 0.183.0 to xplat
a333eb2ac54a86d9b2dd49b4ea5508d6177a4d08
<ide><path>Libraries/Image/Image.ios.js <ide> const BaseImage = (props: ImagePropsType, forwardedRef) => { <ide> } <ide> } <ide> <add> // $FlowFixMe[prop-missing] <ide> const resizeMode = props.resizeMode || style.resizeMode || 'cover'; <add> // $FlowFixMe[prop-missing] <ide> const tintColor = style.tintCo...
2
Java
Java
fix warnings due to unused import statements
731d5be6440a400aca2fb92c5c6d6b17d252879e
<ide><path>spring-beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java <ide> import java.beans.PropertyChangeEvent; <ide> import java.beans.PropertyDescriptor; <ide> import java.lang.reflect.Array; <del>import java.lang.reflect.Field; <ide> import java.lang.reflect.InvocationTargetException; <ide> import ...
81
Ruby
Ruby
add --unsafe-perm to std_args
6874c79375176897b86215c410808fdacb034a51
<ide><path>Library/Homebrew/language/node.rb <ide> def self.std_npm_install_args(libexec) <ide> %W[ <ide> -ddd <ide> --global <add> --unsafe-perm <ide> --build-from-source <ide> --#{npm_cache_config} <ide> --prefix=#{libexec}
1
Python
Python
fix problem with alter_code1.py
3e47b2420c722cbb61250d816424617603cbc718
<ide><path>numpy/numarray/alter_code1.py <ide> def changeimports(fstr, name, newname): <ide> if ('.' in name): <ide> name_ = name.replace('.','_') <ide> <del> fstr = re.sub(r'(import [^,]+,\s*)(%s)' % name, <add> fstr = re.sub(r'(import\s+[^,\n\r]+,\s*)(%s)' % name, <ide> "\\1%s as ...
2
PHP
PHP
add doc blocks to selectbox
0f95ff934da58db6da81dde44125fb562197c7bd
<ide><path>Cake/View/Input/SelectBox.php <ide> <ide> /** <ide> * Input widget class for generating a selectbox. <add> * <add> * This class is intended as an internal implementation detail <add> * of Cake\View\Helper\FormHelper and is not intended for direct use. <ide> */ <ide> class SelectBox { <ide> <add>/** <add>...
1
Javascript
Javascript
add test for invalid cert string
12d7a50368cd3974edea1ff7a188b90983f87d38
<ide><path>test/parallel/test-tls-parse-cert-string.js <ide> if (!common.hasCrypto) { <ide> const assert = require('assert'); <ide> const tls = require('tls'); <ide> <del>const singles = 'C=US\nST=CA\nL=SF\nO=Node.js Foundation\nOU=Node.js\n' + <del> 'CN=ca1\nemailAddress=ry@clouds.org'; <del>const sing...
1
Javascript
Javascript
fix assertion in timeout.unref()
6c999fd2855f9bccf99666431cddc9b34930720b
<ide><path>lib/timers.js <ide> var Timeout = function(after) { <ide> <ide> Timeout.prototype.unref = function() { <ide> if (!this._handle) { <add> var delay = this._when - Date.now(); <add> if (delay < 0) delay = 0; <ide> exports.unenroll(this); <ide> this._handle = new Timer(); <ide> this._handle....
1
Ruby
Ruby
remove reference to session_store.rb initializer
0eff45db7d380b5b26a6461077f2c930a9b44972
<ide><path>actionpack/lib/action_dispatch/middleware/session/cookie_store.rb <ide> module Session <ide> # goes a step further than signed cookies in that encrypted cookies cannot <ide> # be altered or read by users. This is the default starting in Rails 4. <ide> # <del> # Configure your session store in ...
1
Text
Text
create model card
99833a9cbfa5a895478d128b40e6202f9c0925f5
<ide><path>model_cards/mrm8488/bert-spanish-cased-finetuned-pos-syntax/README.md <add>--- <add>language: spanish <add>thumbnail: <add>--- <add> <add># Spanish BERT (BETO) + Syntax POS tagging ✍🏷 <add> <add>This model is a fine-tuned version of the Spanish BERT [(BETO)](https://github.com/dccuchile/beto) on Spanish **s...
1
Ruby
Ruby
pull requires out of method
d1dd4b0e6792beec55b714ddb4e2aacb8b86d948
<ide><path>Library/Homebrew/cmd/create.rb <ide> require 'formula' <ide> require 'blacklist' <add>require 'digest' <add>require 'erb' <ide> <ide> module Homebrew extend self <ide> <ide> def url= url <ide> def generate! <ide> raise "#{path} already exists" if path.exist? <ide> <del> require 'digest' <del> ...
1
PHP
PHP
reset doc block
5bd6c713a8b0c7716236c2d0485d4f20927a4866
<ide><path>src/Illuminate/Support/Facades/Validator.php <ide> namespace Illuminate\Support\Facades; <ide> <ide> /** <del> * @method static \Illuminate\Validation\Validator make(array $data, array $rules, array $messages = [], array $customAttributes = []) <add> * @method static \Illuminate\Contracts\Validation\Validat...
1
Python
Python
deserialize all tasks in a chain
1735336dadfdb0d4939459a3576d46dbb23c732c
<ide><path>celery/canvas.py <ide> def from_dict(cls, d, app=None): <ide> if tasks: <ide> if isinstance(tasks, tuple): # aaaargh <ide> tasks = d['kwargs']['tasks'] = list(tasks) <del> # First task must be signature object to get app <del> tasks[0] = maybe_signat...
2
PHP
PHP
get request/response from the controller
8e7b79b9a27d80209f7d4bf24fe32be4e1e936ec
<ide><path>src/Controller/Component/SecurityComponent.php <ide> class SecurityComponent extends Component <ide> */ <ide> protected $_action = null; <ide> <del> /** <del> * Request object <del> * <del> * @var \Cake\Http\ServerRequest <del> */ <del> public $request; <del> <ide> /** <id...
1
Text
Text
fix links in the psql guide [ci skip]
ccf66ab383184a1b3a8a120298ce143ddfeb1f15
<ide><path>guides/source/active_record_postgresql.md <ide> Book.where("array_length(ratings, 1) >= 3") <ide> ### Hstore <ide> <ide> * [type definition](https://www.postgresql.org/docs/current/static/hstore.html) <del>* [functions and operators](https://www.postgresql.org/docs/current/static/hstore.html#AEN179902) <add...
1
Ruby
Ruby
move svn url munging to initialize
01dc112b607d2c4707c8835be9b122109088fd75
<ide><path>Library/Homebrew/download_strategy.rb <ide> def _fetch <ide> end <ide> <ide> class SubversionDownloadStrategy < VCSDownloadStrategy <add> def initialize(name, resource) <add> super <add> @url = @url.sub(/^svn\+/, "") if @url =~ %r[^svn\+http://] <add> end <add> <ide> def repo_url <ide> `svn in...
1
Ruby
Ruby
raise a helpful error if config.frameworks is used
2f8643955a780f0c2fe46d0ae68db8d51b76fbbf
<ide><path>railties/lib/rails/configuration.rb <ide> def paths <ide> end <ide> end <ide> <add> def frameworks(*args) <add> raise "config.frameworks in no longer supported. See the generated" \ <add> "config/boot.rb for steps on how to limit the frameworks that" \ <add> "will be ...
2
Text
Text
improve parallel testing guide [ci skip]
4973a7643b9e6e2710efefa40595c3f6aac37f94
<ide><path>guides/source/testing.md <ide> takes your entire test suite to run. <ide> <ide> The default parallelization method is to fork processes using Ruby's DRb system. The processes <ide> are forked based on the number of workers provided. The default is 2, but can be changed by the <del>number passed to the paral...
1
Ruby
Ruby
remove completions, python
54b9bc4d0ec91db10204313cfa11e9e3bb3b38e2
<ide><path>Library/Homebrew/official_taps.rb <ide> OFFICIAL_TAPS = %w[ <ide> apache <del> completions <ide> dupes <ide> emacs <ide> fuse <ide> games <ide> nginx <ide> php <del> python <ide> science <ide> tex <ide> x11
1
Go
Go
fix severe fd leak in stack
0af04b613220060ef1fc21ca2f1d551f8f868af8
<ide><path>api/client/stack/opts.go <ide> func loadBundlefile(stderr io.Writer, namespace string, path string) (*bundlefil <ide> if err != nil { <ide> return nil, err <ide> } <add> defer reader.Close() <ide> <ide> bundle, err := bundlefile.LoadFile(reader) <ide> if err != nil {
1
PHP
PHP
remove command suffix
ce20ef22c1cc7a450c5499162ca97a3887963269
<add><path>app/Console/Commands/Inspire.php <del><path>app/Console/Commands/InspireCommand.php <ide> use Symfony\Component\Console\Input\InputOption; <ide> use Symfony\Component\Console\Input\InputArgument; <ide> <del>class InspireCommand extends Command { <add>class Inspire extends Command { <ide> <ide> /** <ide> ...
2
PHP
PHP
make init() chainable and improve docs
8bc8e0b468042cc5def95b0708c014a411f714e8
<ide><path>src/Shell/Helper/ProgressHelper.php <ide> <ide> /** <ide> * Create a progress bar using a supplied callback. <add> * <add> * ## Usage <add> * <add> * The ProgressHelper can be accessed from shells using the helper() method <add> * <add> * ``` <add> * $this->helper('Progress')->output(['callback' => functio...
2
Go
Go
add a test for
f2f5106c92fb9399844dcb7315fe23f3612e7cea
<ide><path>integration/build/build_userns_linux_test.go <add>package build // import "github.com/docker/docker/integration/build" <add> <add>import ( <add> "bufio" <add> "bytes" <add> "context" <add> "io" <add> "io/ioutil" <add> "os" <add> "strings" <add> "testing" <add> <add> "github.com/docker/docker/api/types" <add>...
1
Go
Go
add solaris support to lstat
e3ab23630964c4cd3bac7cef637fe89e2318c47d
<ide><path>pkg/system/stat_solaris.go <add>package system // import "github.com/docker/docker/pkg/system" <add> <add>import "syscall" <add> <add>// fromStatT converts a syscall.Stat_t type to a system.Stat_t type <add>func fromStatT(s *syscall.Stat_t) (*StatT, error) { <add> return &StatT{size: s.Size, <add> mode: s.M...
1
Mixed
Javascript
add comments for whatwg-url tests
9e4ab6c2065229c5f79b6cc663d554f9de16f703
<ide><path>doc/guides/writing-tests.md <ide> Some of the tests for the WHATWG URL implementation (named <ide> These imported tests will be wrapped like this: <ide> <ide> ```js <del>/* eslint-disable */ <del>/* WPT Refs: <add>/* The following tests are copied from WPT. Modifications to them should be <add> upstreamed...
20
Javascript
Javascript
fix eventtarget benchmark
336546b075edc068f7d8daf7c04d92a530d94ba4
<ide><path>benchmark/events/eventtarget.js <ide> const common = require('../common.js'); <ide> <ide> const bench = common.createBenchmark(main, { <del> n: [2e7], <add> n: [1e6], <ide> listeners: [1, 5, 10] <ide> }, { flags: ['--expose-internals'] }); <ide> <ide> function main({ n, listeners }) { <ide> for (let ...
1
Javascript
Javascript
fix eslint errors
f6b6956a3aeb341fb3987a8ddb6c76fb9a37999c
<ide><path>src/chart.js <ide> require('./charts/Chart.Scatter')(Chart); <ide> var plugins = []; <ide> <ide> plugins.push( <del> require('./plugins/plugin.filler')(Chart), <del> require('./plugins/plugin.legend')(Chart), <del> require('./plugins/plugin.title')(Chart) <add> require('./plugins/plugin.filler')(Ch...
10
Text
Text
make tests and test descriptions more explicit
9669e39b85a6c46f5407256043ef164ea2293fe7
<ide><path>curriculum/challenges/english/10-coding-interview-prep/rosetta-code/top-rank-per-group.md <ide> Find the top `n` ranked data in each group, where `n` is provided as a parameter <ide> <ide> Given the following data: <ide> <del><pre>[ <add>```js <add>testData1 = [ <ide> { name: 'Tyler Bennett', id: 'E10297...
1
Text
Text
fix railties/changelog.md for cookie_serializer
b59620c15509921ceb2b7a797016d33e2574b599
<ide><path>railties/CHANGELOG.md <ide> or `config/initializers/cookies_serializer.rb` <ide> <ide> The default value for `cookies_serializer` (`:json`) has been moved to `config.load_defaults("7.0")`. <del> The new framework defaults file sets the serializer to `:marshal`. <add> The new framework defaults...
1
Javascript
Javascript
fix chunk loading
cb89fedf8d239f5dc891afd9ee64f3e5ac377a19
<ide><path>lib/esm/ModuleChunkLoadingPlugin.js <ide> class ModuleChunkLoadingPlugin { <ide> const isEnabledForChunk = chunk => { <ide> const options = chunk.getEntryOptions(); <ide> const chunkLoading = <del> (options && options.chunkLoading) || globalChunkLoading; <add> options && options.chunk...
1
Javascript
Javascript
preserve style type in `flattenstyle`
7e7527e7db9068390f28de8264289c8c50053831
<ide><path>Libraries/ReactPrivate/ReactNativePrivateInterface.js <ide> import typeof UIManager from '../ReactNative/UIManager'; <ide> import typeof deepDiffer from '../Utilities/differ/deepDiffer'; <ide> import typeof deepFreezeAndThrowOnMutationInDev from '../Utilities/deepFreezeAndThrowOnMutationInDev'; <ide> import ...
3
Javascript
Javascript
fix ucd extraction for node 10.x
ba4d9035860fc23944c12b5e39d5da4ab4faf4bf
<ide><path>i18n/ucd/src/extract.js <ide> function main() { <ide> } catch (e) { <ide> fs.mkdirSync(__dirname + '/../../../src/ngParseExt'); <ide> } <del> fs.writeFile(__dirname + '/../../../src/ngParseExt/ucd.js', code); <add> fs.writeFileSync(__dirname + '/../../../src/ngParseExt/ucd.js', code); <id...
1
Python
Python
kill npymath ltcg on clang, intel
41bae1ed7fa47213b45abacdf7ed19abdb58c7b3
<ide><path>numpy/core/setup.py <ide> def get_mathlib_info(*args): <ide> join('src', 'npymath', 'halffloat.c') <ide> ] <ide> <del> is_msvc = customized_ccompiler().compiler_type == 'msvc' <add> compiler_type = customized_ccompiler().compiler_type <add> is_msvc ...
1
Text
Text
add 2.8.0-beta.5 to changelog.md
d43a86326b35fb493737bca48ccd5dc8e64547d7
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### 2.8.0-beta.5 (August 30, 2016) <add> <add>- [#14159](https://github.com/emberjs/ember.js/pull/14159) [BUGFIX] Fix rendering system cleanup. <add> <ide> ### 2.8.0-beta.4 (August 29, 2016) <ide> <ide> - [#14123](https://github.com/emberjs/ember.js/pull/1412...
1
PHP
PHP
add missing docblock for runtimeexception
e77160aa29370d76bb3b9440d7d141c0f21c226b
<ide><path>src/Illuminate/Hashing/ArgonHasher.php <ide> public function __construct(array $options = []) <ide> * @param string $value <ide> * @param array $options <ide> * @return string <add> * <add> * @throws \RuntimeException <ide> */ <ide> public function make($value, array $opti...
1
PHP
PHP
add strict mode parameter to base64_encode
08d513dbbbdcf8952118f240d81a6991dc8e6021
<ide><path>src/Http/Middleware/CsrfProtectionMiddleware.php <ide> public function saltToken(string $token): string <ide> */ <ide> public function unsaltToken(string $token): string <ide> { <del> $decoded = base64_decode($token); <add> $decoded = base64_decode($token, true); <ide> if (...
2
Text
Text
add documentation for desired_state filter
36f57f7d024e44b1db7f5cd0c24526f4cdfb7234
<ide><path>docs/reference/commandline/node_ls.md <ide> The currently supported filters are: <ide> * name <ide> * id <ide> * label <del>* desired_state <ide> <ide> ### name <ide> <ide><path>docs/reference/commandline/node_tasks.md <ide> than one filter, then pass multiple flags (e.g., `--filter "foo=bar" --filter "b <...
3
Ruby
Ruby
avoid empty rescue
827b48912ab0a2d36ca7b29d8bd5849b360c9c6c
<ide><path>Library/Homebrew/cask/test/cask/cli/install_test.rb <ide> lambda { <ide> begin <ide> Hbc::CLI::Install.run("googlechrome") <del> rescue Hbc::CaskError; end <del> }.must_output nil, /No available Cask for googlechrome\. Did you mean:\ngoogle-chrome/ <add> rescue Hbc::CaskError <...
1
Ruby
Ruby
add class to deprecate instance variables
a53331a161f72b25f6e9c860db43acaf23250f68
<ide><path>activesupport/lib/active_support/deprecation.rb <ide> def warn(callstack, called, args) <ide> ActiveSupport::Deprecation.warn("#{@var} is deprecated! Call #{@method}.#{called} instead of #{@var}.#{called}. Args: #{args.inspect}", callstack) <ide> end <ide> end <add> <add> class Depre...
2
PHP
PHP
apply fixes from styleci
9282278a8917f76e4d33d90ef3778bcf46b6cd8c
<ide><path>src/Illuminate/Foundation/helpers.php <ide> function mix($path) <ide> if (! array_key_exists($path, $manifest)) { <ide> throw new Exception( <ide> "Unable to locate Mix file: {$path}. Please check your ". <del> "webpack.mix.js output paths and try again." <a...
1
Ruby
Ruby
fix typo for api_app_generator_test
029b633e390c8a5351adf8e8891faf730f247c3d
<ide><path>railties/test/generators/api_app_generator_test.rb <ide> def test_api_modified_files <ide> run_generator <ide> <ide> assert_file ".gitignore" do |content| <del> assert_no_match(/\/public\/asserts/, content) <add> assert_no_match(/\/public\/assets/, content) <ide> end <ide> <ide> a...
1
Ruby
Ruby
reduce the calling `create_table_info` query
b8bedfa2f26c1697dd48dca6201a591c42ccfba0
<ide><path>activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb <ide> def foreign_keys(table_name) <ide> AND fk.table_name = '#{table_name}' <ide> SQL <ide> <del> create_table_info = select_one("SHOW CREATE TABLE #{quote_table_name(table_name)}")["Create Table"] <add>...
1
Ruby
Ruby
add test for using argv to check options
76f4eccdceb5b3fb4e88b56e077234a6a3e56b08
<ide><path>Library/Homebrew/rubocops/lines_cop.rb <ide> def audit_formula(_node, _class_node, _parent_class_node, body_node) <ide> end <ide> end <ide> <del> # [:debug?, :verbose?, :value].each do |m| <del> # find_instance_method_call(body_node, :ARGV, m) do <del> # ...
2
Javascript
Javascript
ignore null values when calculating scale
57bd8c7715998a668d1a3b41daa8a520070969fe
<ide><path>src/Chart.Core.js <ide> maxSteps = Math.floor(drawingSize/(textSize * 1.5)), <ide> skipFitting = (minSteps >= maxSteps); <ide> <del> var maxValue = max(valuesArray), <del> minValue = min(valuesArray); <add> // Filter out null values since these would min() to zero <add> var values = []; <ad...
1
Ruby
Ruby
move key packing into encryptor
e3b4554f231beb789b981dfb5e32789f5ad4d17b
<ide><path>railties/lib/rails/secrets.rb <ide> def generate_key <ide> end <ide> <ide> def key <del> [(ENV["RAILS_MASTER_KEY"] || read_key_file || handle_missing_key)] <del> .pack("H*") <add> ENV["RAILS_MASTER_KEY"] || read_key_file || handle_missing_key <ide> end <ide> <ide> ...
2
PHP
PHP
remove specific ids from fixture
75d6db89d289d8095478fbca497d3d67253c7221
<ide><path>tests/Fixture/SiteAuthorsFixture.php <ide> class SiteAuthorsFixture extends TestFixture <ide> * @var array <ide> */ <ide> public $records = [ <del> ['id' => 1, 'name' => 'mark', 'site_id' => 1], <del> ['id' => 2, 'name' => 'juan', 'site_id' => 2], <del> ['id' => 3, 'name' =...
1
Text
Text
fix readme link to testing
7db89f90ee92b056af3bfc0cb4b2c74833ee5f31
<ide><path>ReactAndroid/README.md <ide> See the [docs on the website](https://reactnative.dev/docs/building-from-source. <ide> <ide> # Running tests <ide> <del>When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see [Testing](https://reactnative.dev/docs/testing.html). <add...
1
PHP
PHP
fix issue with button() and nested name attributes
95b85118c77ed410f54d6fbfc4ff3fb5d1376bbd
<ide><path>lib/Cake/Test/Case/View/Helper/FormHelperTest.php <ide> public function testFormSecurityMultipleSubmitButtons() { <ide> $this->assertTags($result, $expected); <ide> } <ide> <add>/** <add> * Test that buttons created with foo[bar] name attributes are unlocked correctly. <add> * <add> * @return void <add> ...
2
Java
Java
improve javadoc for contextloaderutils
321004143b0941a10be10edd665c843ec1ab7967
<ide><path>spring-test/src/main/java/org/springframework/test/context/ContextLoaderUtils.java <ide> /* <del> * Copyright 2002-2012 the original author or authors. <add> * Copyright 2002-2013 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you ma...
1
Text
Text
remove trailing whitespace from ar basics guide
ab547e7b4368588719396a6f6b0528681c3a6cd4
<ide><path>guides/source/active_record_basics.md <ide> Active Record Basics <ide> ==================== <del> <add> <ide> This guide is an introduction to Active Record. <ide> <ide> After reading this guide, you will know: <ide> <del>* What Object Relational Mapping and Active Record are and how they are used in <ad...
1
Python
Python
fix tensorflow test
90e9da4093e357dc49d5631d2792221092516854
<ide><path>tests/keras/layers/test_call.py <ide> <ide> import unittest <ide> import numpy as np <del>import theano <ide> <ide> from numpy.testing import assert_allclose <ide> <ide> from keras import backend as K <del>from keras.layers.core import Layer, Dense <add>from keras.layers.core import Dense <ide> from keras...
1
Javascript
Javascript
replace more haste imports with path-based imports
a7a7970e543959e9db5281914d5f132beb01db8d
<ide><path>Libraries/AppState/NativeAppState.js <ide> <ide> 'use strict'; <ide> <del>import type {TurboModule} from 'RCTExport'; <del>import * as TurboModuleRegistry from 'TurboModuleRegistry'; <add>import type {TurboModule} from '../TurboModule/RCTExport'; <add>import * as TurboModuleRegistry from '../TurboModule/Tu...
25
Javascript
Javascript
avoid more allocations in bidi()
3759c11f424ed74315ea660b96e861db5fb4350a
<ide><path>src/core/bidi.js <ide> var bidi = PDFJS.bidi = (function bidiClosure() { <ide> } <ide> } <ide> <del> function BidiResult(str, isLTR, vertical) { <del> this.str = str; <del> this.dir = (vertical ? 'ttb' : (isLTR ? 'ltr' : 'rtl')); <add> function createBidiText(str, isLTR, vertical) { <add> r...
2
Javascript
Javascript
remove duplicate check
7fd5a4d096a8d868eb0f17fcb43779bab73ea030
<ide><path>lib/fs.js <ide> fs.writeFile = function(path, data, options, callback) { <ide> assertEncoding(options.encoding); <ide> <ide> var flag = options.flag || 'w'; <del> fs.open(path, options.flag || 'w', options.mode, function(openErr, fd) { <add> fs.open(path, flag, options.mode, function(openErr, fd) { <i...
1
Text
Text
add the link for service logs
54d38fe115e0183af7d862e54ba6e58c347e2a8d
<ide><path>docs/reference/commandline/service_create.md <ide> x3ti0erg11rjpg64m75kej2mz-hosttempl <ide> ## Related information <ide> <ide> * [service inspect](service_inspect.md) <add>* [service logs](service_logs.md) <ide> * [service ls](service_ls.md) <ide> * [service rm](service_rm.md) <ide> * [service scale](servi...
8
Javascript
Javascript
introduce hmr runtime
245065be87934924ab80103c490951a88807c2d5
<ide><path>packager/react-packager/src/Resolver/polyfills/require.js <ide> isInitialized: false, <ide> hasError: false, <ide> }; <add> <add> if (__DEV__) { // HMR <add> Object.assign(modules[id].module, { <add> hot: { <add> acceptCallback: null, <add> accept: function(ca...
1
Mixed
Ruby
update latest versions of xcode for 10.11 & 10.12
c5bac087b34e90933acca1ee0371dd947cfa97a1
<ide><path>Library/Homebrew/os/mac.rb <ide> def preferred_arch <ide> "7.3" => { clang: "7.3", clang_build: 703 }, <ide> "7.3.1" => { clang: "7.3", clang_build: 703 }, <ide> "8.0" => { clang: "8.0", clang_build: 800 }, <add> "8.1" => { clang: "8.0", clang_build: 800 }, <add> "8.2" => ...
3
Text
Text
remove apostrophe to correct grammar.
6aea3f015ae13878adba889d855871e6d1925158
<ide><path>README.md <ide> Typically, you can move computations or blocking IO to some other thread via `su <ide> <ide> RxJava operators don't work with `Thread`s or `ExecutorService`s directly but with so called `Scheduler`s that abstract away sources of concurrency behind an uniform API. RxJava 2 features several st...
1
Text
Text
use gfm footnotes in maintaining-v8.md
80e94dbb685b5c731e40b69915f47f541f7a9d33
<ide><path>doc/guides/maintaining-V8.md <ide> documented [on the V8 wiki][V8MergingPatching]. The summary of the process is: <ide> <ide> At any given time Node.js needs to be maintaining a few different V8 branches <ide> for the various Current, LTS, and nightly releases. At present this list <del>includes the followi...
1
Ruby
Ruby
update template to match new style
3a2dc79153db5658a0bc14188a2ea77844a4e873
<ide><path>Library/Homebrew/cask/cmd/create.rb <ide> def run <ide> <ide> def self.template(cask_token) <ide> <<~RUBY <del> cask '#{cask_token}' do <del> version '' <del> sha256 '' <add> cask "#{cask_token}" do <add> version "" <add> sha256 "" ...
2
Javascript
Javascript
remove duplicate 'the'
6ee7c29ca74e416bd53ca6174e2003a001e1356c
<ide><path>src/ng/filter/filter.js <ide> * <ide> * @param {function(actual, expected)|true|false} [comparator] Comparator which is used in <ide> * determining if values retrieved using `expression` (when it is not a function) should be <del> * considered a match based on the the expected value (from the filt...
1
Text
Text
add completion configuration for non-homebrew fish
7f651de7befd2f447e3fdc9a9c13bff49ca4cb2d
<ide><path>docs/Shell-Completion.md <ide> Additionally, if you receive "zsh compinit: insecure directories" warnings when <ide> <ide> ## Configuring Completions in `fish` <ide> <del>No configuration is needed in `fish`. Friendly! <add>No configuration is needed if you're using Homebrew's `fish`. Friendly! <add> <add>...
1
Go
Go
fix deadlock on failed dial in udp userland proxy
6cbb8e070d6c3a66bf48fbe5cbf689557eee23db
<ide><path>pkg/proxy/udp_proxy.go <ide> func (proxy *UDPProxy) Run() { <ide> proxyConn, err = net.DialUDP("udp", nil, proxy.backendAddr) <ide> if err != nil { <ide> log.Printf("Can't proxy a datagram to udp/%s: %s\n", proxy.backendAddr, err) <add> proxy.connTrackLock.Unlock() <ide> continue <ide> } ...
1
Python
Python
add create_meta option to package command
d4f2baf7dd7f0136916aa54c5d2af3ce12a43495
<ide><path>spacy/cli/package.py <ide> @plac.annotations( <ide> input_dir=("directory with model data", "positional", None, str), <ide> output_dir=("output parent directory", "positional", None, str), <del> meta=("path to meta.json", "option", "m", str), <add> meta_path=("path to meta.json", "option", "m",...
1
Javascript
Javascript
check left todo)
adc086d4859ed63ef031bb25caa2ec19bdfe69a8
<ide><path>spec/update-spec.js <ide> <ide> import Update from '../src/update' <ide> import remote from 'remote' <add>import ipc from 'ipc' <ide> <ide> fdescribe('Update', () => { <add> let update <add> <add> afterEach(() => { <add> update.dispose() <add> }) <add> <ide> describe('::initialize', () => { <ide> ...
1
Javascript
Javascript
add opacitynode and rename to colornode property
806eb90507bca48a22c86fd12deae7a05c5936d4
<ide><path>examples/jsm/renderers/webgpu/WebGPUNodeBuilder.js <ide> class WebGPUNodeBuilder extends NodeBuilder { <ide> <ide> if ( material.isMeshBasicMaterial ) { <ide> <del> if ( material.color.isNode ) { <add> if ( material.colorNode !== undefined ) { <ide> <del> this.addSlot( 'fragment', new No...
2
Javascript
Javascript
make a fork for reactcurrentdispatcher
3e15b1c69014ad6767eac645228a052df861edc0
<ide><path>packages/react/src/forks/ReactCurrentDispatcher.www.js <add>/** <add> * Copyright (c) Facebook, Inc. and its affiliates. <add> * <add> * This source code is licensed under the MIT license found in the <add> * LICENSE file in the root directory of this source tree. <add> */ <add> <add>export default require('...
2
Javascript
Javascript
fix failing test
089717cbd3a8743387ee897bc4edea9afafd5db9
<ide><path>spec/text-editor-component-spec.js <ide> describe('TextEditorComponent', () => { <ide> const decoration = editor.decorateMarker(marker, {type: 'overlay', item: overlayElement, class: 'a'}) <ide> await component.getNextUpdatePromise() <ide> <add> let overlayComponent <add> component.ove...
2
Javascript
Javascript
take vertical padding into account
5dd1c77cf51adda1055c2eabb9f064b8ed5ee5ff
<ide><path>src/core/core.layoutService.js <ide> module.exports = function(Chart) { <ide> <ide> helpers.each(leftBoxes.concat(rightBoxes, topBoxes, bottomBoxes), getMinimumBoxSize); <ide> <del> // If a box has padding, we move the left scale over to avoid ugly charts (see issue #2478) <add> // If a horizontal b...
3
Javascript
Javascript
fix typo in docs for `mut` helper
fc20f0a5205359ca1b01a8403002724dc79af046
<ide><path>packages/ember-htmlbars/lib/keywords/mut.js <ide> export let MUTABLE_REFERENCE = symbol('MUTABLE_REFERENCE'); <ide> <ide> /** <ide> The `mut` helper lets you __clearly specify__ that a child `Component` can update the <del> (mutable) value passed to it, which will __change the value of the parent compnen...
1
PHP
PHP
apply fixes from styleci
302a579f00ebcb2573f481054cbeadad9c970605
<ide><path>src/Illuminate/Validation/Concerns/ReplacesAttributes.php <ide> protected function replaceStartsWith($message, $attribute, $rule, $parameters) <ide> <ide> return str_replace(':values', implode(', ', $parameters), $message); <ide> } <del> <add> <ide> /** <ide> * Replace all place-hol...
2
PHP
PHP
update parameter names for expressioninterface
a96f91067aa9173ceb53d29b686f2b23cc48ba0f
<ide><path>src/Database/Expression/AggregateExpression.php <ide> public function excludeTies() <ide> /** <ide> * @inheritDoc <ide> */ <del> public function sql(ValueBinder $generator): string <add> public function sql(ValueBinder $binder): string <ide> { <del> $sql = parent::sql($generato...
15
Ruby
Ruby
maintain a seperate buffer for each thread
96ab01e8f2b5a4475453acf60f9cf9bd8cd98483
<ide><path>activesupport/lib/active_support/buffered_logger.rb <ide> def silence(temporary_level = ERROR) <ide> <ide> attr_accessor :level <ide> attr_reader :auto_flushing <del> attr_reader :buffer <ide> <ide> def initialize(log, level = DEBUG) <ide> @level = level <del> @buffer ...
2
Text
Text
fix heading level in changelog
f553515d1ec7049ac85de3a75bc2850a9d4ab70d
<ide><path>CHANGELOG.md <ide> * Improve queue performance by switching its internal data structure to a min binary heap. ([@acdlite](http://github.com/acdlite) in [#16245](https://github.com/facebook/react/pull/16245)) <ide> * Use `postMessage` loop with short intervals instead of attempting to align to frame boundarie...
1
Javascript
Javascript
fix typo in error message
6467d1d4e91ce7a658bcc6edebc5565aa210595b
<ide><path>tools/doc/checkLinks.js <ide> function checkFile(path) { <ide> console.error((process.env.GITHUB_ACTIONS ? <ide> `::error file=${path},line=${line},col=${column}::` : '') + <ide> `Unordered reference at ${path}:${line}:${column} (` + <del> `"${node.label}" should be befor...
1
Ruby
Ruby
remove override warning
313134fbe361acbf474a5ad9f507e230f70ff4ae
<ide><path>Library/Homebrew/formula_specialties.rb <ide> class ScriptFileFormula < Formula <ide> def install <ide> bin.install Dir['*'] <ide> end <del> <del> def self.method_added method <del> super method <del> case method <del> when :install <del> opoo "#{name}: if you are overriding ScriptFile...
1
PHP
PHP
add levels to handler
a507e1424339633ce423729ec0ac49b99f0e57d7
<ide><path>app/Exceptions/Handler.php <ide> <ide> class Handler extends ExceptionHandler <ide> { <add> /** <add> * A list of exceptions with their corresponding custom log levels. <add> * <add> * @var array<class-string<\Throwable>, \Psr\Log\LogLevel::*> <add> */ <add> protected $levels = [ <add>...
1
Javascript
Javascript
improve $location.search() docs
b389cfc49efdad50a8d5ac7d693767cae719f41a
<ide><path>src/ng/location.js <ide> LocationHashbangInHtml5Url.prototype = <ide> * <ide> * Change search part when called with parameter and return `$location`. <ide> * <add> * <add> * ```js <add> * // given url http://example.com/#/some/path?foo=bar&baz=xoxo <add> * var searchObject = $location.search...
1
PHP
PHP
apply fixes from styleci
8eb3de12720c7bd53a411748ad282bfbda57a948
<ide><path>src/Illuminate/Contracts/Foundation/Application.php <ide> public function environment(); <ide> * @return bool <ide> */ <ide> public function runningInConsole(); <del> <del> /** <add> <add> /** <ide> * Determine if we are running unit tests. <ide> * <ide> * @return bool
1