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
remove dead code in orm
35a7038bd862430fb00c9de73f0342a5d74f119b
<ide><path>src/ORM/EntityValidator.php <del><?php <del>/** <del> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <del> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <del> * <del> * Licensed under The MIT License <del> * For full copyright and license information, please see...
5
Python
Python
remove location from vhdimage type repr
d5b3dd3151c2120c96e9c25b3c5e72c7282be7c3
<ide><path>libcloud/compute/drivers/azure_arm.py <ide> def __init__(self, storage_account, blob_container, name, driver): <ide> super(AzureVhdImage, self).__init__(urn, name, driver) <ide> <ide> def __repr__(self): <del> return (('<AzureVhdImage: id=%s, name=%s, location=%s>') <del> %...
1
Python
Python
update example for adding entity type
683d81bb49096867f5ad8d3dde23217ea54d6790
<ide><path>examples/training/train_new_entity_type.py <ide> * Saving and loading models: https://spacy.io/docs/usage/saving-loading <ide> <ide> Developed for: spaCy 1.7.6 <del>Last tested for: spaCy 1.7.6 <add>Last updated for: spaCy 2.0.0a13 <ide> """ <ide> from __future__ import unicode_literals, print_function <ide...
1
PHP
PHP
fix incorrect formatting in treebehavior
a63dd9ee9d7e58b9df6fe4110120e9f1b40f5275
<ide><path>lib/Cake/Model/Behavior/TreeBehavior.php <ide> public function generateTreeList(Model $Model, $conditions = null, $keyPath = nu <ide> $valuePath = array('%s%s', '{n}.tree_prefix', $valuePath); <ide> <ide> } else { <del> $valuePath[0] = '{' . (count($valuePath) - 1) . '}' . $valuePath[0]; <del> $val...
2
PHP
PHP
use database manager in db session driver
fe0502ded91ccf41733228dc4c423142fa100aa4
<ide><path>system/session/db.php <ide> <?php namespace System\Session; <ide> <ide> use System\Config; <add>use System\DB\Manager; <ide> <ide> class DB implements Driver { <ide> <ide> public function sweep($expiration) <ide> */ <ide> private function table() <ide> { <del> return \System\DB::table(Config::get('se...
1
Javascript
Javascript
fix win32 relative() when "to" is a prefix
b33879d9e287aab0129e8d67ceb4852b9d1be48e
<ide><path>lib/path.js <ide> const win32 = { <ide> var i = 0; <ide> for (; i <= length; ++i) { <ide> if (i === length) { <del> if (lastCommonSep > 2 && // ignore separator match following device root <del> toLen > length && <del> to.charCodeAt(i) === 92/*\*/) { <del> ...
2
Python
Python
allow rawqueryset serialization
b689db17b3c1ef5a2bca3a7fa90d3381bd5ba4fe
<ide><path>djangorestframework/serializer.py <ide> Customizable serialization. <ide> """ <ide> from django.db import models <del>from django.db.models.query import QuerySet <add>from django.db.models.query import QuerySet, RawQuerySet <ide> from django.utils.encoding import smart_unicode, is_protected_type, smart_str <...
1
Python
Python
remove defaults to none if optional
77f4c46b501322e9bffb5416dfbf0397deefd7d8
<ide><path>examples/research_projects/wav2vec2/run_asr.py <ide> class Orthography: <ide> Args: <ide> do_lower_case (:obj:`bool`, `optional`, defaults to :obj:`False`): <ide> Whether or not to accept lowercase input and lowercase the output when decoding. <del> vocab_file (:obj:`str`, `opt...
11
Javascript
Javascript
add mandatory setter assertion
1d03e01b8e6dc7458575a31b6721d643ef8482ba
<ide><path>packages/ember-debug/lib/main.js <ide> if ('undefined' === typeof Ember) { <ide> } <ide> } <ide> <add>Ember.ENV = 'undefined' === typeof ENV ? {} : ENV; <add> <add>if (!('MANDATORY_SETTER' in Ember.ENV)) { <add> //Ember.ENV.MANDATORY_SETTER = 'defineProperty' in Object; <add> Ember.ENV.MANDATORY_SETTER ...
7
PHP
PHP
add tests for app environment helpers
9b28de1cd6431b2aa17558755e71b10677da060d
<ide><path>tests/Foundation/FoundationApplicationTest.php <ide> public function testEnvironment() <ide> $this->assertFalse($app->environment(['qux', 'bar'])); <ide> } <ide> <add> public function testEnvironmentHelpers() <add> { <add> $local = new Application; <add> $local['env'] = 'loca...
1
Javascript
Javascript
add guard around focuswithin responder root events
b6c94d636cb33a265671b864b97870da38d97207
<ide><path>packages/react-interactions/events/src/dom/Focus.js <ide> type FocusState = { <ide> isFocused: boolean, <ide> isFocusVisible: boolean, <ide> pointerType: PointerType, <del> ... <add> addedRootEvents?: boolean, <ide> }; <ide> <ide> type FocusProps = { <ide> const focusResponderImpl = { <ide> is...
1
Ruby
Ruby
recommend python .pth file instead
d8ef8d4f82417459af359109d33d2d2a4e1cb693
<ide><path>Library/Homebrew/caveats.rb <ide> def zsh_completion_caveats <ide> end <ide> <ide> def python_caveats <add> return unless keg <add> return unless keg.python_site_packages_installed? <add> return if Formula["python"].installed? <ide> site_packages = if f.keg_only? <ide> "#{f.opt_prefix...
1
Javascript
Javascript
increase coverage for lib/events.js
a912b791d4dd10d694c8b278fea9345f377adf58
<ide><path>test/parallel/test-event-emitter-listeners.js <ide> require('../common'); <ide> const assert = require('assert'); <ide> const events = require('events'); <add>const util = require('util'); <ide> <ide> function listener() {} <ide> function listener2() {} <add>class TestStream { constructor() { } } <add>util....
1
Javascript
Javascript
fix a typo in comment
86727b15f3f1d33a077e4044991264be74497b37
<ide><path>lib/child_process.js <ide> exports.exec = function (command /*, options, callback */) { <ide> }; <ide> <ide> <del>// execFile("something.sh", { env: ENV }, funciton() { }) <add>// execFile("something.sh", { env: ENV }, function() { }) <ide> <ide> exports.execFile = function (file /* args, options, callbac...
1
Ruby
Ruby
preserve backtrace from original exception
a9556651022a92ae8134b1efbfa67831d5eb2e5e
<ide><path>Library/Homebrew/extend/ENV/super.rb <ide> def determine_path <ide> when "gcc-4.2" <ide> begin <ide> apple_gcc42 = Formulary.factory('apple-gcc42') <del> rescue Exception # in --debug, catch bare exceptions too <add> rescue FormulaUnavailableError <ide> end <ide> paths ...
2
Go
Go
reap failed nodes after 24 hours
e98b152bacafec4676161749785a5a5ff2fd4bc3
<ide><path>libnetwork/networkdb/cluster.go <ide> import ( <ide> ) <ide> <ide> const ( <del> reapInterval = 60 * time.Second <del> reapPeriod = 5 * time.Second <del> retryInterval = 1 * time.Second <add> reapInterval = 60 * time.Second <add> reapPeriod = 5 * time.Second <add> retryInterval = 1 * time.S...
3
Python
Python
add all xxxpretrainedmodel to the main init
9eda6b52e20d80cf165224d996babc67f913017e
<ide><path>src/transformers/__init__.py <ide> "DetrForObjectDetection", <ide> "DetrForSegmentation", <ide> "DetrModel", <add> "DetrPreTrainedModel", <ide> ] <ide> ) <ide> else: <ide> [ <ide> "BertGenerationDecoder", <ide> "BertGe...
26
PHP
PHP
remove useless imports
e05deec2d36aa980880e1c7d893ee9e41c038388
<ide><path>src/Illuminate/Database/Console/Seeds/SeederMakeCommand.php <ide> use Illuminate\Foundation\Composer; <ide> use Illuminate\Filesystem\Filesystem; <ide> use Illuminate\Console\GeneratorCommand; <del>use Symfony\Component\Console\Input\InputArgument; <ide> <ide> class SeederMakeCommand extends GeneratorComman...
2
Go
Go
fix issue with autoremove
e7269b98416e8228930dde9461bfcad38eeb2c56
<ide><path>commands.go <ide> func (cli *DockerCli) CmdRun(args ...string) error { <ide> // Detached mode <ide> <-wait <ide> } else { <del> status, err := getExitCode(cli, runResult.ID) <add> running, status, err := getExitCode(cli, runResult.ID) <ide> if err != nil { <ide> return err <ide> } <ide> if au...
1
Ruby
Ruby
remove invalid magic comment [ci skip]
e6a0c34be443212dd374f9ad5e0dbd01b838cc64
<ide><path>actionpack/lib/action_dispatch/http/mime_type.rb <ide> # frozen_string_literal: true <ide> <del># -*- frozen-string-literal: true -*- <del> <ide> require "singleton" <ide> require "active_support/core_ext/string/starts_ends_with" <ide>
1
PHP
PHP
morphinstanceto()
2f4135d8db5ded851d1f4f611124c53b768a3c08
<ide><path>src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php <ide> protected function morphEagerTo($name, $type, $id) <ide> protected function morphInstanceTo($target, $name, $type, $id) <ide> { <ide> $instance = $this->newRelatedInstance( <del> Model::getActualClassNameForMorph(...
1
Ruby
Ruby
modify to_hash output
9a2f84d4a553b79e5f08e7c440a3d2108033a946
<ide><path>Library/Homebrew/formula.rb <ide> def to_hash <ide> "aliases" => aliases.sort, <ide> "versioned_formulae" => versioned_formulae.map(&:name), <ide> "desc" => desc, <del> "license" => license.class == String ? [license] : licens...
1
Text
Text
fix translation errors
52808516853b4bee805cd9ef29ac0de35774e0c9
<ide><path>curriculum/challenges/russian/01-responsive-web-design/applied-visual-design/adjust-the-hover-state-of-an-anchor-tag.russian.md <ide> id: 587d781d367417b2b2512ac8 <ide> title: Adjust the Hover State of an Anchor Tag <ide> challengeType: 0 <ide> videoUrl: '' <del>localeTitle: Отрегулируйте состояние наведения...
1
Java
Java
use the configured charset for part headers
75117f42b827397890060d2297b79bbc1b0c528c
<ide><path>spring-web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java <ide> import java.nio.charset.StandardCharsets; <ide> import java.util.ArrayList; <ide> import java.util.Collections; <add>import java.util.HashMap; <ide> import java.util.Iterator; <ide> import java.util.List; <ide> im...
2
Javascript
Javascript
remove reference to flushnext
04492ef2279e2be18162bef89b0a75992a400cae
<ide><path>src/ngMock/angular-mocks.js <ide> angular.mock.$TimeoutDecorator = function($delegate, $browser) { <ide> $browser.defer.flush(delay); <ide> }; <ide> <del> /** <del> * @ngdoc method <del> * @name ngMock.$timeout#flushNext <del> * @methodOf ngMock.$timeout <del> * @description <del> * <del> ...
1
Text
Text
fix broken links
c272d567eb73723c9d213d782454e5669a330c30
<ide><path>docs/portuguese/how-to-catch-outgoing-emails-locally.md <ide> Alguns do fluxos de email, como atualizar o email de um usuário, necessita de u <ide> <ide> Como instalar e rodar MailHog depende do seu sistema operacional: <ide> <del>- [Instalando MailHog no macOS](#installing-mailhog-on-macos) <del>- [Instal...
1
Go
Go
fix building client on openbsd
925bc27b8108a154161b578e176d2b7d79e8002c
<ide><path>pkg/parsers/kernel/kernel_unix.go <del>// +build linux freebsd solaris <add>// +build linux freebsd solaris openbsd <ide> <ide> // Package kernel provides helper function to get, parse and compare kernel <ide> // versions for different platforms. <ide><path>pkg/system/stat_openbsd.go <ide> func fromStatT(s ...
2
Javascript
Javascript
change onrefresh flow typing
884c86ae02b0be7ea1e4b258dab39f4c5aee0b9d
<ide><path>Libraries/Components/RefreshControl/RefreshControl.js <ide> export type RefreshControlProps = $ReadOnly<{| <ide> /** <ide> * Called when the view starts refreshing. <ide> */ <del> onRefresh?: ?() => void, <add> onRefresh?: ?() => void | Promise<void>, <ide> <ide> /** <ide> * Whether the view ...
1
Javascript
Javascript
support callbacks in newresource
76ba745cc26769fcd47496e7ef023b460f7ad380
<ide><path>lib/ContextReplacementPlugin.js <ide> var path = require("path"); <ide> <ide> function ContextReplacementPlugin(resourceRegExp, newContentResource, newContentRecursive, newContentRegExp) { <ide> this.resourceRegExp = resourceRegExp; <del> if(typeof newContentResource !== "string") { <del> newContentRegExp...
1
Javascript
Javascript
fix the failing specs
ba1b47f85b771f8221db58a46b58429375b0ee6e
<ide><path>docs/spec/ngdocSpec.js <ide> describe('ngdoc', function() { <ide> var d1 = new Doc('@name a.b.c').parse(); <ide> var d2 = new Doc('@name a.b.ng-c').parse(); <ide> var d3 = new Doc('@name some text: more text').parse(); <del> expect(ngdoc.metadata([d1])[0].shortName).toEqual('c'...
2
Javascript
Javascript
use accessors to transfer the poster attribute
6f5e49fc1603b1793ca73a60468fad57f840849a
<ide><path>test/unit/mediafaker.js <ide> vjs.MediaFaker.prototype.createEl = function(){ <ide> var el = goog.base(this, 'createEl', 'div', { <ide> className: 'vjs-tech' <ide> }); <del> if (this.player_.poster_) { <add> if (this.player().poster()) { <ide> // transfer the poster image to mimic HTML <del> ...
1
Go
Go
add `len()` to image store for info endpoint
f6a7763b6f3256bed9a7352021745189d0ca8dc9
<ide><path>daemon/images/service.go <ide> type ImageService struct { <ide> // CountImages returns the number of images stored by ImageService <ide> // called from info.go <ide> func (i *ImageService) CountImages() int { <del> return len(i.imageStore.Map()) <add> return i.imageStore.Len() <ide> } <ide> <ide> // Childre...
2
Javascript
Javascript
remove `getall` from `evaluatorpreprocessor_read`
93ea866f0141dbad92edc7be0555b1510582ee2b
<ide><path>src/core/evaluator.js <ide> var PartialEvaluator = (function PartialEvaluatorClosure() { <ide> // but doing so is meaningless without knowing the semantics. <ide> continue; <ide> default: <del> // Note: Let's hope that the ignored operator does not have an...
1
Text
Text
fix a version number
513f7b1bff6b79382b679b728c1435b91631aa7e
<ide><path>docs/templates/applications.md <ide> Weights are downloaded automatically when instantiating a model. They are stored <ide> All of these architectures are compatible with all the backends (TensorFlow, Theano, and CNTK), and upon instantiation the models will be built according to the image data format set in...
1
Java
Java
expose awaitterminationmillis presion
0a974511bd4826136f0a6e8be3d326587314a229
<ide><path>spring-context/src/main/java/org/springframework/scheduling/concurrent/ExecutorConfigurationSupport.java <ide> /* <del> * Copyright 2002-2018 the original author or authors. <add> * Copyright 2002-2020 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "Lice...
1
Javascript
Javascript
fix roughnessmipmapper
d80a715d0114903be289cd22312c2bcc287e5202
<ide><path>examples/jsm/utils/RoughnessMipmapper.js <ide> class RoughnessMipmapper { <ide> <ide> _renderer.copyFramebufferToTexture( position, material.roughnessMap, mip ); <ide> <add> _mipmapMaterial.uniforms.roughnessMap.value = material.roughnessMap; <add> <ide> } <ide> <del> if ( roughnessMap !== materia...
3
Javascript
Javascript
use memoizedstate in componentdidupdate
fae3e5308bca79da4f7acc2d06b8adc3fbb1ea27
<ide><path>src/renderers/shared/fiber/ReactFiber.js <ide> exports.cloneFiber = function(fiber : Fiber, priorityLevel : PriorityLevel) : Fi <ide> alt.pendingWorkPriority = priorityLevel; <ide> <ide> alt.memoizedProps = fiber.memoizedProps; <add> alt.memoizedState = fiber.memoizedState; <ide> alt.output = fiber.o...
2
Javascript
Javascript
remove picker from textlegend example
70727a5d44958c8d35783466a4cda0665d8ee9af
<ide><path>packages/rn-tester/js/components/TextLegend.js <ide> * @flow <ide> */ <ide> <del>const React = require('react'); <add>import * as React from 'react'; <add>import {Text, View, StyleSheet} from 'react-native'; <add>import RNTOption from './RNTOption'; <ide> <del>const {Text, View} = require('react-native')...
3
Go
Go
check the exit codes
ac36c986e008e8e4e4f56fe510ba7ab0dab0c778
<ide><path>container_test.go <ide> func TestUser(t *testing.T) { <ide> } <ide> defer docker.Destroy(container) <ide> output, err = container.Output() <del> if err != nil { <add> if err != nil || container.State.ExitCode != 0 { <ide> t.Fatal(err) <ide> } <ide> if !strings.Contains(string(output), "uid=0(root) gid...
1
Ruby
Ruby
prevent lockfile modification during installation
5e31f41a52808fa09d6afecc4f6b92cf77980690
<ide><path>Library/Homebrew/utils/gems.rb <ide> def install_bundler_gems!(only_warn_on_failure: false, setup_path: true, groups: <ide> old_gem_home = ENV.fetch("GEM_HOME", nil) <ide> old_bundle_gemfile = ENV.fetch("BUNDLE_GEMFILE", nil) <ide> old_bundle_with = ENV.fetch("BUNDLE_WITH", nil) <add> old_bund...
1
Ruby
Ruby
exclude zsh completions from unbrewed
8e42077a8eeb827c3ffcdf08195239c8f82cb588
<ide><path>Library/Homebrew/cmd/list.rb <ide> def list <ide> share/info/dir <ide> share/man/man1/brew.1 <ide> share/man/whatis <add> share/zsh/site-functions/_brew <ide> ] <ide> <ide> def list_unbrewed
1
Ruby
Ruby
use the accessors to update the test double
372945299dc52b04338ad58ac666f105e2f463f2
<ide><path>Library/Homebrew/test/test_compiler_selector.rb <ide> def test_mixed_failures_4 <ide> end <ide> <ide> def test_older_clang_precedence <del> @versions = CompilerVersions.new(:clang_build_version => 211) <add> @versions.clang_build_version = 211 <ide> @f << :gcc << { :gcc => "4.8" } <ide> as...
1
Javascript
Javascript
remove unused ecdhpeerkey
c88096507422978ccc4718fe7fa82e0b5608da1d
<ide><path>test/parallel/test-webcrypto-wrap-unwrap.js <ide> async function testWrap(wrappingKey, unwrappingKey, key, wrap, format) { <ide> assert.deepStrictEqual(exported, exportedAgain); <ide> } <ide> <del>async function testWrapping(name, keys, ecdhPeerKey) { <add>async function testWrapping(name, keys) { <ide> ...
1
Python
Python
use spacy hash_string function instead of md5
f4748834d973a525024cac18fb58fe9934957170
<ide><path>spacy/pattern/parser.py <ide> # coding: utf-8 <ide> <ide> from spacy.compat import intern, queue <add>from spacy.strings import hash_string <ide> from operator import itemgetter <ide> import re <del>from hashlib import md5 <ide> import json <ide> <ide> from .pattern import DependencyPattern <ide> def __new...
1
Go
Go
add getter function for default address pools
814f6c1f4b06a71e529421f426450ffa993fc0b4
<ide><path>libnetwork/ipam/allocator.go <ide> func NewAllocator(lcDs, glDs datastore.DataStore) (*Allocator, error) { <ide> a := &Allocator{} <ide> <ide> // Load predefined subnet pools <add> <ide> a.predefined = map[string][]*net.IPNet{ <del> localAddressSpace: ipamutils.PredefinedLocalScopeDefaultNetworks, <del...
2
Ruby
Ruby
fix another handful of warnings
aa58a404eda3eb4ef1e0f09df8509fba3da5c851
<ide><path>Library/Homebrew/cmd/bottle.rb <ide> def keg_contains string, keg <ide> def bottle_formula f <ide> unless f.installed? <ide> return ofail "Formula not installed: #{f.name}" <del> return <ide> end <ide> <ide> unless built_as_bottle? f <ide><path>Library/Homebrew/cmd/edit.rb <ide> def...
6
Python
Python
add a comment to avoid accidental removal
0c284e39681ed4b47970196e8dc774e0aae94983
<ide><path>runtests.py <ide> def main(argv): <ide> "version; remove -g flag ***") <ide> <ide> if not args.no_build: <add> # we need the noarch path in case the package is pure python. <ide> site_dir, site_dir_noarch = build_project(args) <ide> sys.path.insert(0, site_dir) <ide>...
1
PHP
PHP
remove additional references to containable
ebc3cb716dd7cd1c18db9adc13f229051b93183e
<ide><path>Cake/Model/Model.php <ide> class Model extends Object implements EventListener { <ide> */ <ide> public $__backOriginalAssociation = array(); <ide> <del>/** <del> * Back containable association <del> * <del> * @var array <del> */ <del> public $__backContainableAssociation = array(); <del> <ide> // @codingS...
5
Ruby
Ruby
prefer string interpolation over direct mutation
7c936996a40291b71bdeeee7a3de1aa32bc4a4d8
<ide><path>actionpack/lib/action_dispatch/http/response.rb <ide> def parsed_content_type_header <ide> end <ide> <ide> def set_content_type(content_type, charset) <del> type = +(content_type || "") <del> type << "; charset=#{charset.to_s.downcase}" if charset <add> type = content_type || "" <add>...
1
Go
Go
skip privileged tests when non-root
6349b32e1b3e8d5e219452c0662909e5e7fb222d
<ide><path>daemon/oci_linux_test.go <ide> import ( <ide> "github.com/docker/libnetwork" <ide> "gotest.tools/v3/assert" <ide> is "gotest.tools/v3/assert/cmp" <add> "gotest.tools/v3/skip" <ide> ) <ide> <ide> func setupFakeDaemon(t *testing.T, c *container.Container) *Daemon { <ide> func cleanupFakeContainer(c *contai...
1
Java
Java
add more systraces
857be044ccf3085eb9c9e1561f51132882dbfd9c
<ide><path>ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java <ide> import java.util.List; <ide> <ide> import android.app.Activity; <del>import android.app.Application; <ide> import android.content.Context; <ide> import android.content.Intent; <ide> import android.net.Uri; <del>import android.os.B...
3
Javascript
Javascript
fix missing return statement in copy functions
451d16f6787156568b5df26365425f71ab9fdb09
<ide><path>examples/jsm/nodes/accessors/CameraNode.js <ide> CameraNode.prototype.copy = function ( source ) { <ide> <ide> } <ide> <add> return this; <add> <ide> }; <ide> <ide> CameraNode.prototype.toJSON = function ( meta ) { <ide><path>examples/jsm/nodes/accessors/ColorsNode.js <ide> ColorsNode.prototype.copy = fu...
54
Text
Text
update preview mode docs with note on local dev
213db224f36f43aec18a5b67ee502851c4386315
<ide><path>docs/advanced-features/preview-mode.md <ide> export default function myApiRoute(req, res) { <ide> Both the bypass cookie value and the private key for encrypting the `previewData` change when `next build` is completed. <ide> This ensures that the bypass cookie can’t be guessed. <ide> <add>> **Note:** To tes...
1
Javascript
Javascript
skip undefined attribute in head
c480c37c8e23d95fb976012e879376bb3a8bb275
<ide><path>packages/next/client/head-manager.js <ide> function reactElementToDOM({ type, props }) { <ide> if (!props.hasOwnProperty(p)) continue <ide> if (p === 'children' || p === 'dangerouslySetInnerHTML') continue <ide> <add> // we don't render undefined props to the DOM <add> if (props[p] === undefin...
4
Javascript
Javascript
define properties on prototype
7ce5a310612bfcfc153836e718fe3c6309369fb4
<ide><path>lib/events.js <ide> function EventEmitter() { <ide> } <ide> exports.EventEmitter = EventEmitter; <ide> <add>EventEmitter.prototype.domain = undefined; <add>EventEmitter.prototype._events = undefined; <add>EventEmitter.prototype._maxListeners = undefined; <ide> <ide> // By default EventEmitters will print a...
1
Text
Text
harmonize intro with website
70ab25a5dbc8f54dbe15e9375687b4669ed919df
<ide><path>README.md <ide> Docker: the Linux container engine <ide> ================================== <ide> <del>Docker is an open-source engine which automates the deployment of <del>applications as highly portable, self-sufficient containers. <add>Docker is an open source project to pack, ship and run any applicati...
1
PHP
PHP
fix typo in method name
41fbdc4c76d35bda5cace03407abe79117579100
<ide><path>src/Database/Type.php <ide> public function newId() { <ide> * @param mixed $value The value to convert. <ide> * @return mixed Converted value. <ide> */ <del> public function marshall($value) { <add> public function marshal($value) { <ide> return $value; <ide> } <ide> <ide><path>src/Database/Type/DateT...
6
Python
Python
get buildbot running
3687528ba7080be47a40b89a6b8924e952cb07c8
<ide><path>build.py <ide> def x(cmd): <ide> x('pip install -r requirements.txt') <ide> <ide> if install_mode == 'pip': <add> for filename in os.listdir('dist'): <add> os.unlink(os.path.join('dist', filename)) <ide> x('python setup.py sdist') <del> dists = os.listdir('dist') <del> assert len(dists) ...
1
Javascript
Javascript
add missing chunk groups to hotupdatechunks
fac6c5241f760d10a6efc9d3096aecf2bbd0d441
<ide><path>lib/HotModuleReplacementPlugin.js <ide> class HotModuleReplacementPlugin { <ide> ChunkGraph.setChunkGraphForChunk(hotUpdateChunk, chunkGraph); <ide> hotUpdateChunk.id = chunkId; <ide> hotUpdateChunk.runtime = newRuntime; <add> if (currentChunk) { <add> for (const group ...
1
Python
Python
add support for elision in french
902f136f18a807a0b84f7832df868856a20c3d76
<ide><path>spacy/fr/__init__.py <ide> from ..attrs import LANG <ide> <ide> from .language_data import * <add>from .punctuation import TOKENIZER_INFIXES <ide> <ide> <ide> class French(Language): <ide> class Defaults(Language.Defaults): <ide> <ide> tokenizer_exceptions = TOKENIZER_EXCEPTIONS <ide> sto...
2
Text
Text
remove stability highlight for stable functions
4a218fd96fbd1dfd7158881798508a1259925d9d
<ide><path>doc/api/n-api.md <ide> This is an opaque pointer that is used to represent a JavaScript value. <ide> <ide> ### napi_threadsafe_function <ide> <del>> Stability: 2 - Stable <del> <ide> This is an opaque pointer that represents a JavaScript function which can be <ide> called asynchronously from multiple threa...
1
Python
Python
fix non-executed sql
f0e09e27f6461cf65cbaa68c097e8368e0f14ec0
<ide><path>django/db/backends/schema.py <ide> def create_field(self, model, field, keep_default=False): <ide> "column": self.quote_name(field.column), <ide> } <ide> } <add> self.execute(sql) <ide> # Add any FK constraints later <ide> if field.re...
1
Javascript
Javascript
increase test coverage of readline-interface
f2b9d5e41e8868365753ba4a8aad959dcab0efd1
<ide><path>test/parallel/test-readline-interface.js <ide> function isWarned(emitter) { <ide> })); <ide> } <ide> <add> // constructor throws if historySize is not a positive number <add> { <add> const fi = new FakeInput(); <add> assert.throws(function() { <add> readline.createInterface({ <add> ...
1
Python
Python
fix syntax error for dimensiondatastatus object
4d21a8d219dfeaefd12efcf28d17114423f1b1dd
<ide><path>libcloud/common/dimensiondata.py <ide> def __repr__(self): <ide> return (('<DimensionDataStatus: action=%s, request_time=%s, ' <ide> 'user_name=%s, number_of_steps=%s, update_time=%s, ' <ide> 'step_name=%s, step_number=%s, ' <del> 'step_percent_comple...
1
Ruby
Ruby
remove unused conditions for 1.9
b74f5b73989edaca124b4b6f8594e63bda6344c9
<ide><path>actionpack/test/controller/test_test.rb <ide> def test_should_detect_if_cookie_is_deleted <ide> <ide> FILES_DIR = File.dirname(__FILE__) + '/../fixtures/multipart' <ide> <del> if RUBY_VERSION < '1.9' <del> READ_BINARY = 'rb' <del> READ_PLAIN = 'r' <del> else <del> READ_BINARY = 'rb:binary' <de...
3
Ruby
Ruby
add test for brew commands --quiet
193b5aa07ac9e278dfe123d03566c14572321deb
<ide><path>Library/Homebrew/test/cmd/commands_spec.rb <ide> it "prints a list of all available commands" do <ide> expect { brew "commands" } <ide> .to output(/Built-in commands/).to_stdout <add> .and not_to_output.to_stderr <add> .and be_a_success <add> <add> expect { brew "commands", "--quiet"...
1
Javascript
Javascript
move guards from auto binding to event dispatch
16cc45156f65ff7fdda57383759121f59f585e41
<ide><path>src/isomorphic/classic/class/ReactClass.js <ide> <ide> var ReactComponent = require('ReactComponent'); <ide> var ReactElement = require('ReactElement'); <del>var ReactErrorUtils = require('ReactErrorUtils'); <ide> var ReactPropTypeLocations = require('ReactPropTypeLocations'); <ide> var ReactPropTypeLocatio...
6
Javascript
Javascript
fix broken code block and make the example nicer
1fd2e176ae1e6d66aaf67fda730f942ddde6c18b
<ide><path>Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js <ide> var DRAWER_STATES = [ <ide> * ``` <ide> * render: function() { <ide> * var navigationView = ( <del> * <Text style={{margin: 10, fontSize: 15, textAlign: 'left'}}>I'm in the Drawer!</Text> <add> * <View style={{flex: 1, backg...
1
Javascript
Javascript
add fallback for `${modulename}/index`
80270f186a7863ea3c946ee2d14ca6118dd7e3a8
<ide><path>packages/ember-metal/lib/index.js <ide> Ember.onerror = null; <ide> // do this for side-effects of updating Ember.assert, warn, etc when <ide> // ember-debug is present <ide> // This needs to be called before any deprecateFunc <del>if (Ember.__loader.registry['ember-debug']) { <add>if (Ember.__loader.registr...
3
Java
Java
add fabric logs to textlayoutmanager
6f8fc40195952d371d964b487409c177d25b5813
<ide><path>ReactAndroid/src/main/java/com/facebook/react/views/text/TextLayoutManager.java <ide> import android.util.LayoutDirection; <ide> import android.util.LruCache; <ide> import androidx.annotation.Nullable; <add>import com.facebook.common.logging.FLog; <ide> import com.facebook.react.bridge.ReadableArray; <ide> i...
1
Python
Python
add caveat for acks_on_failure_or_timeout
7d69b746f23303edac3557941ef1d6440427abdc
<ide><path>celery/app/task.py <ide> class Task(object): <ide> #: When enabled messages for this task will be acknowledged even if it <ide> #: fails or times out. <ide> #: <add> #: Configuring this setting only applies to tasks that are <add> #: acknowledged **after** they have been executed. <add> ...
1
PHP
PHP
improve parameter description wording
6e9c082831b0dc450a23c31c8a526e17800db00e
<ide><path>src/TestSuite/IntegrationTestTrait.php <ide> public function assertCookieEncrypted($expected, $name, $encrypt = 'aes', $key = <ide> /** <ide> * Asserts that a file with the given name was sent in the response <ide> * <del> * @param string $expected The file name that should be sent in the r...
1
Java
Java
fix javadoc typos
f585eb0b79429d4e2f15031ff237d16f01572b4d
<ide><path>spring-beans/src/main/java/org/springframework/beans/factory/parsing/ParseState.java <ide> public ParseState() { <ide> } <ide> <ide> /** <del> * Create a new {@code ParseState} whose {@link LinkedList} is a {@link Object#clone clone} <add> * Create a new {@code ParseState} whose {@link LinkedList} is an...
2
Text
Text
fix typo in next/amp docs
099471eaec8e86d49d6fa11b3d19defa819b1ed8
<ide><path>docs/api-reference/next/amp.md <ide> export const config = { amp: true } <ide> The `amp` config accepts the following values: <ide> <ide> - `true` - The page will be AMP-only <del>- `'hybrid'` - The page will two versions, one with AMP and another one with HTML <add>- `'hybrid'` - The page will have two ver...
1
Javascript
Javascript
remove the "tagged" telemetry-reporting
c70ceecff40275439516a89f54d69f24db8538f3
<ide><path>web/app.js <ide> const PDFViewerApplication = { <ide> _saveInProgress: false, <ide> _docStats: null, <ide> _wheelUnusedTicks: 0, <del> _idleCallbacks: new Set(), <ide> _PDFBug: null, <ide> _hasAnnotationEditors: false, <ide> _title: document.title, <ide> const PDFViewerApplication = { <ide> ...
1
Javascript
Javascript
explore potential test for ef94657438
c163564a9e97820d82b66a4934fbb52999a9ecd0
<ide><path>spec/tree-sitter-language-mode-spec.js <ide> describe('TreeSitterLanguageMode', () => { <ide> ]) <ide> }) <ide> <add> it('handles injections that contain comments', async () => { <add> const ejsGrammar = new TreeSitterGrammar( <add> atom.grammars, <add> ejsGrammar...
1
Go
Go
normalize comment formatting
b7f931e170d523f84b2d0f97e808ec63656edcb7
<ide><path>registry/registry_mock_test.go <ide> func requiresAuth(w http.ResponseWriter, r *http.Request) bool { <ide> value := fmt.Sprintf("FAKE-SESSION-%d", time.Now().UnixNano()) <ide> cookie := &http.Cookie{Name: "session", Value: value, MaxAge: 3600} <ide> http.SetCookie(w, cookie) <del> //FIXME(sam): this ...
1
Python
Python
fix loading of english in span test
25163821065de4b936cdc8af4d776f862c0cab51
<ide><path>spacy/tests/spans/test_span.py <ide> def test_root(doc): <ide> assert np.root.head.orth_ == 'is' <ide> <ide> <del>def test_root2(): <add>def test_root2(EN): <ide> text = 'through North and South Carolina' <del> EN = English(parser=False) <ide> doc = EN(text) <ide> heads = np.asarray([[0,...
1
Python
Python
stop timer in test
0a84a664c0d2d30972ee0f9a07c9bf5736eceb34
<ide><path>celery/tests/worker/test_worker.py <ide> def test_receive_message_eta(self): <ide> eta=(datetime.now() + timedelta(days=1)).isoformat(), <ide> ) <ide> <del> l.blueprint.start(l) <del> p = l.app.conf.BROKER_CONNECTION_RETRY <del> l.app.conf.BROKER_CONNECTION_RETRY = F...
1
Text
Text
fix broken readme link
25de2e814ecda011d4d99386f6c95be0efb3cdf1
<ide><path>readme.md <ide> Next.js bundles [styled-jsx](https://github.com/zeit/styled-jsx) supporting scop <ide> <ide> We track V8. Since V8 has wide support for ES6 and `async` and `await`, we transpile those. Since V8 doesn’t support class decorators, we don’t transpile those. <ide> <del>See [this](https://github....
1
Javascript
Javascript
add missing license header
c04081bc562047f796a72ad372791b411b971985
<ide><path>src/utils/onlyChild.js <ide> /** <add> * Copyright 2013 Facebook, Inc. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may obtain a copy of the License at <add> * <add> * http://www.apache.org...
1
PHP
PHP
add test for redis increment/decrement setting ttl
9b891c88f92397aa2db7d34062d2713e9ebfd30b
<ide><path>src/Cache/Engine/RedisEngine.php <ide> public function read($key) <ide> } <ide> <ide> /** <del> * Increments the value of an integer cached key <add> * Increments the value of an integer cached key & update the expiry time <ide> * <ide> * @param string $key Identifier for the data ...
2
Text
Text
fix some typos in documentation
b352c8a24cde5af5f99c758e5024e6288ac064b3
<ide><path>docs/api-guide/metadata.md <ide> The following third party packages provide additional metadata implementations. <ide> [drf-schema-adapter][drf-schema-adapter] is a set of tools that makes it easier to provide schema information to frontend frameworks and libraries. It provides a metadata mixin as well as 2 ...
8
PHP
PHP
move file validation into the constructor
cec6e7cd64588cb4701dd9897c81b517f0e5e6d3
<ide><path>src/TestSuite/Schema/SchemaGenerator.php <ide> public function __construct(string $file, string $connection) <ide> { <ide> $this->file = $file; <ide> $this->connection = $connection; <add> <add> if (!file_exists($this->file)) { <add> throw new RuntimeException("Cannot lo...
1
Java
Java
use jackson sequencewriter for streaming
54669c51c927cda27a80fb4a3e56a3207942bb66
<ide><path>spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Encoder.java <ide> /* <del> * Copyright 2002-2019 the original author or authors. <add> * Copyright 2002-2020 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> *...
2
Text
Text
add my focus
5c891eab3d23fc442a318ad7d185ec8e2f4c5283
<ide><path>docs/focus/2018-03-05.md <ide> - Begin "Remember me" within the credential dialog [#1327](https://github.com/atom/github/pull/1327) <ide> - Teletype <ide> - Tree-sitter <add> - Shifted focus to address some open-source contributions to parsers: <add> - Wrote documentation about how to create parsers: h...
1
Javascript
Javascript
remove unused parameters
6c382dea6bb88330cb2a66a097a49401da85f878
<ide><path>test/addons-napi/test_async/test.js <ide> const testException = 'test_async_cb_exception'; <ide> // Exception thrown from async completion callback. <ide> // (Tested in a spawned process because the exception is fatal.) <ide> if (process.argv[2] === 'child') { <del> test_async.Test(1, common.mustCall(functi...
3
Text
Text
fix an erratum; s/two/three/
8c93958fcb1b1fc838c76b08cc4dde4ce37691bb
<ide><path>docs/userguide/networking/dockernetworks.md <ide> Once you have several machines provisioned, you can use Docker Swarm to quickly <ide> form them into a swarm which includes a discovery service as well. <ide> <ide> To create an overlay network, you configure options on the `daemon` on each <del>Docker Engi...
1
Python
Python
fix typo in gen-postmortem-metadata.py
e46c3f743dc78ef0a614289a874e1c60c7e96490
<ide><path>tools/gen-postmortem-metadata.py <ide> # <ide> # gen-postmortem-metadata.py output_file.cc <ide> # <del># Creates debugging symbols to help naviage Node's internals using post-mortem <add># Creates debugging symbols to help navigate Node's internals using post-mortem <ide> # debugging tools. <ide> # <ide>
1
PHP
PHP
apply fixes from styleci
cdb14c79e9035acfc925a1c9794aa577cb7ef452
<ide><path>src/Illuminate/Notifications/AnonymousNotifiable.php <ide> public function with($attributes) <ide> $this->attributes = array_merge($this->attributes, $attributes); <ide> <ide> return $this; <del> } <add> } <ide> <ide> /** <ide> * Send the given notification.
1
PHP
PHP
send eloquent collection for proper serializationg
1c78e00ef3815e7b0bf710037b52faefb464e97d
<ide><path>src/Illuminate/Notifications/ChannelManager.php <ide> protected function queueNotification($notifiables, $notification) <ide> foreach ($notifiables as $notifiable) { <ide> foreach ($notification->via($notifiable) as $channel) { <ide> $bus->dispatch( <del> ...
1
Ruby
Ruby
remove useless metaprogramming
86dd717c203f6056b4fa367080c989c3411b7300
<ide><path>lib/arel/algebra/predicates.rb <ide> def not <ide> end <ide> <ide> class Polyadic < Predicate <del> attributes :predicates <add> attr_reader :predicates <ide> <ide> def initialize(*predicates) <ide> @predicates = predicates
1
Text
Text
move tests to /learn
49f2055b98c34cbd95de42f603a06ed3d16efe47
<ide><path>curriculum/challenges/english/06-quality-assurance/quality-assurance-projects/issue-tracker.md <ide> When you are done, make sure a working demo of your project is hosted somewhere <ide> ## Instructions <ide> <section id='instructions'> <ide> <del>- Complete the neccessary routes in `/routes/api.js` <add>- ...
1
Javascript
Javascript
save connection url as class variable
8facc865ab2ec032da34f6f755ee8870ee4741aa
<ide><path>Libraries/WebSocket/WebSocket.js <ide> class WebSocket extends (EventTarget(...WEBSOCKET_EVENTS): any) { <ide> options: ?{headers?: {origin?: string, ...}, ...}, <ide> ) { <ide> super(); <add> this.url = url; <ide> if (typeof protocols === 'string') { <ide> protocols = [protocols]; <id...
1
Java
Java
add support for x-forwarded-for and forwarded for
883ad098f927760e6bd52af531d0938e0c6ab5dc
<ide><path>spring-web/src/main/java/org/springframework/http/server/reactive/DefaultServerHttpRequestBuilder.java <ide> class DefaultServerHttpRequestBuilder implements ServerHttpRequest.Builder { <ide> @Nullable <ide> private SslInfo sslInfo; <ide> <add> @Nullable <add> private InetSocketAddress remoteAddress; <add...
7
Python
Python
fix metadata in training
acba2e1051a0734d7d6ae2cc11211096039446bd
<ide><path>spacy/cli/train.py <ide> def train(cmd, lang, output_dir, train_data, dev_data, n_iter=10, n_sents=0, <ide> <ide> lang_class = util.get_lang_class(lang) <ide> nlp = lang_class() <add> meta['pipeline'] = pipeline <add> nlp.meta.update(meta) <ide> if vectors: <ide> util.load_model(ve...
1
PHP
PHP
apply fixes from styleci
b0dfbdf78ac7178c13384e91e650697e0d6f3397
<ide><path>src/Illuminate/Foundation/Http/Kernel.php <ide> use Illuminate\Routing\Router; <ide> use Illuminate\Support\Facades\Facade; <ide> use InvalidArgumentException; <del>use Symfony\Component\Debug\Exception\FatalThrowableError; <ide> use Throwable; <ide> <ide> class Kernel implements KernelContract
1
Python
Python
fix e712 flake8 warning (x1)
357db7098c4431a7b28526b8de74c0fa08af0a9b
<ide><path>examples/run_multiple_choice.py <ide> def load_and_cache_examples(args, task, tokenizer, evaluate=False, test=False): <ide> cached_mode = "test" <ide> else: <ide> cached_mode = "train" <del> assert (evaluate == True and test == True) == False <add> assert not (evaluate and test) <id...
1
Ruby
Ruby
use delegation for mach-o methods
a8c4136e9edb02e6b637b53357af7a921538c149
<ide><path>Library/Homebrew/os/mac/mach.rb <ide> require "os/mac/architecture_list" <ide> <ide> module MachOShim <add> extend Forwardable <add> <add> delegate [:dylib_id, :rpaths, :delete_rpath] => :macho <add> <ide> # @private <ide> def macho <ide> @macho ||= begin <ide> def dynamically_linked_libraries(exc...
1
Text
Text
add note about beforefiles continuing
6e99f7af39d5a31bab8c227e945bd3e765b3d3fe
<ide><path>docs/api-reference/next.config.js/rewrites.md <ide> module.exports = { <ide> } <ide> ``` <ide> <add>Note: rewrites in `beforeFiles` do not check the filesystem/dynamic routes immediately after matching a source, they continue until all `beforeFiles` have been checked. <add> <ide> ## Rewrite parameters <ide>...
1