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
Text
Text
make explicit reverting node_version.h changes
0b3caadad378e4ed9352a6ec5aba3dc080889467
<ide><path>doc/guides/releases.md <ide> $ git cherry-pick v1.x^ <ide> ``` <ide> <ide> Git should stop to let you fix conflicts. Revert all changes that were made to <del>`src/node_version.h`. If there are conflicts in `doc` due to updated `REPLACEME` <add>`src/node_version.h`: <add> <add>```console <add>$ git checkout...
1
PHP
PHP
fix cs errors
4d434ec9f3b51ece238ddf2434b3d22979fe7c51
<ide><path>lib/Cake/Model/Model.php <ide> protected function _generateAssociation($type, $assocKey) { <ide> <ide> case 'joinTable': <ide> $tables = array($this->table, $this->{$class}->table); <del> sort ($tables); <add> sort($tables); <ide> $data = $tables[0] . '_' . $tables[1]; <ide> ...
2
Javascript
Javascript
throw better error when js parse fails
3e5cffba0fb0bbbe2c62216463dcd295b7772311
<ide><path>curriculum/test/utils/extract-js-comments.js <ide> const parser = acorn.Parser; <ide> function extractComments(js) { <ide> let comments = []; <ide> const file = { data: {} }; <del> parser.parse(js, { onComment: comments, ecmaVersion: 2020 }); <add> try { <add> parser.parse(js, { onComment: comments,...
1
Javascript
Javascript
add missing semicolon in encodings
65adaab2e52f6d3e93106425c10db6f912386daa
<ide><path>examples/js/Encodings.js <ide> <ide> THREE.Encodings = function() { <ide> if( THREE.toHalf === undefined ) throw new Error("THREE.Encodings is required for HDRCubeMapLoader when loading half data."); <del>} <add>}; <ide> <ide> THREE.Encodings.RGBEByteToRGBFloat = function( sourceArray, sourceOffset, dest...
1
Mixed
Ruby
add support for inline images to mailer previews
60239f3e5a3303b4135e30469ba7dbf27890008d
<ide><path>actionmailer/CHANGELOG.md <add>* Add support for inline images in mailer previews by using an interceptor <add> class to convert cid: urls in image src attributes to data urls. <add> <add> *Andrew White* <add> <ide> * Mailer preview now uses `url_for` to fix links to emails for apps running on <ide...
4
Ruby
Ruby
enforce https on [*.]archive.org
0d4da4234a1ee776114408f118cd1d683360a2cf
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_homepage <ide> %r{^http://[^/.]+\.tools\.ietf\.org}, <ide> %r{^http://www\.gnu\.org/}, <ide> %r{^http://code\.google\.com/}, <del> %r{^http://bitbucket\.org/} <add> %r{^http://bitbucket\.org/}, <add> %r{^http://(...
1
Ruby
Ruby
fix rdoc for session_store documentation [ci-skip]
7118ebabbbe28c5bd37c43048c817f1be6af571b
<ide><path>railties/lib/rails/application/configuration.rb <ide> def colorize_logging=(val) <ide> end <ide> <ide> # Specifies what class to use to store the session. Possible values <del> # are `:cookie_store`, `:mem_cache_store`, a custom store, or <del> # `:disabled`. `:disabled` tells Rails no...
1
Javascript
Javascript
fix create router from loopback
2b80cdbbdca9f99f847fa79409260b2a106f84f8
<ide><path>server/boot/a-react.js <ide> import debugFactory from 'debug'; <del>import { app$ } from '../common/app'; <add>import { app$ } from '../../common/app'; <ide> import { Cat } from 'thundercats'; <ide> <ide> const debug = debugFactory('freecc:servereact'); <ide> const routes = [ <ide> ]; <ide> <ide> export de...
1
Javascript
Javascript
allow multiple sensors, exclude phantom carboard
6a9b1ec65745d1bc10f9b89b5b4612fae92561b2
<ide><path>examples/js/controls/VRControls.js <ide> THREE.VRControls = function ( object, onError ) { <ide> <ide> var vrInputs = []; <ide> <add> function filterInvalidDevices( devices ) { <add> <add> var <add> OculusDeviceId = 'HMDInfo-dev-0x421e7eb800', <add> CardboardDeviceId = 'HMDInfo-dev-0x421e7ecc00'; <ad...
1
PHP
PHP
remove unnecessary lcfirst call
a8130c7e4ff2888b3949751259b45f287bf518a0
<ide><path>src/Illuminate/Foundation/Auth/Access/AuthorizesRequests.php <ide> protected function normalizeGuessedAbilityName($ability) <ide> */ <ide> public function authorizeResource($model, $parameter = null, array $options = [], $request = null) <ide> { <del> $parameter = $parameter ?: Str::snake...
1
PHP
PHP
allow escaping placeholders
532c9b620556832bc0ca455d7b8644d162f76581
<ide><path>src/Log/Engine/BaseLog.php <ide> protected function _format(string $message, array $context = []): string <ide> return $message; <ide> } <ide> <del> preg_match_all('/\{([a-z][a-z0-9-_]*)\}/i', $message, $matches); <add> preg_match_all( <add> '/(?<!' . preg_quote(...
2
Javascript
Javascript
add validation to challenge completion
6642dd497f4c83b0146441e4294884de14a09bf7
<ide><path>client/commonFramework/bindings.js <ide> window.common = (function(global) { <ide> data = { <ide> id: common.challengeId, <ide> name: common.challengeName, <del> challengeType: common.challengeType <add> challengeType: +common.challengeType <i...
5
Text
Text
add flax examples and cloud tpu readme
77f9bd18afd4c39335e970abb8fc9a1d1c352d09
<ide><path>examples/flax/README.md <add><!--- <add>Copyright 2021 The HuggingFace Team. All rights reserved. <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.a...
1
Javascript
Javascript
add support for appending multiple roots
b5790dc2e120415e6f08ccb8bb8c4ea367867fef
<ide><path>packages/ember-glimmer/lib/renderer.js <ide> if (isEnabled('ember-glimmer-detect-backtracking-rerender') || <ide> isEnabled('ember-glimmer-allow-backtracking-rerender')) { <ide> runInTransaction = _runInTransaction; <ide> } else { <del> runInTransaction = callback => { <del> callback(); <add> runI...
2
PHP
PHP
add response trait to dry code
72964e278ae2e34c40ecc9c00614596ee960ed4c
<ide><path>src/Illuminate/Http/JsonResponse.php <ide> <ide> class JsonResponse extends \Symfony\Component\HttpFoundation\JsonResponse { <ide> <add> use ResponseTrait; <add> <ide> /** <ide> * Get the json_decoded data from the response <ide> * <ide> public function setData($data = array()) <ide> return $this->u...
3
Text
Text
fix api descriptions for openssl-1.1.0
ae096ba27cd26479e11a6610873957910da0beb0
<ide><path>doc/api/crypto.md <ide> is a bit field taking one of or a mix of the following flags (defined in <ide> * `crypto.constants.ENGINE_METHOD_DSA` <ide> * `crypto.constants.ENGINE_METHOD_DH` <ide> * `crypto.constants.ENGINE_METHOD_RAND` <del>* `crypto.constants.ENGINE_METHOD_ECDH` <del>* `crypto.constants.ENGINE_...
2
PHP
PHP
add testresponse to return type
7f0b1836a93b7b7ffe285bd8e46b5159fbc62b43
<ide><path>src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php <ide> protected function extractFilesFromDataArray(&$data) <ide> * Follow a redirect chain until a non-redirect is received. <ide> * <ide> * @param \Illuminate\Http\Response $response <del> * @return \Illuminate\Http\Respon...
1
Javascript
Javascript
fix syntax error on older builds of ie11
f9ea222f1daf8460bff0722b6ad4b6554a85dc2f
<ide><path>src/loaders/BufferGeometryLoader.js <ide> Object.assign( BufferGeometryLoader.prototype, { <ide> var TYPED_ARRAYS = { <ide> Int8Array: Int8Array, <ide> Uint8Array: Uint8Array, <del> Uint8ClampedArray: Uint8ClampedArray, <add> Uint8ClampedArray: typeof Uint8ClampedArray !== 'undefined' ? Uint8ClampedArray :...
1
PHP
PHP
remove double backslashes in memcachedengine
1824d3bfc8fabc644b516a5709a1a4e00cebadcf
<ide><path>src/Cache/Engine/MemcachedEngine.php <ide> */ <ide> class MemcachedEngine extends CacheEngine { <ide> <del>/** <del> * memcached wrapper. <del> * <del> * @var Memcache <del> */ <del> protected $_Memcached = null; <del> <del>/** <del> * The default config used unless overriden by runtime configuration <del>...
1
Javascript
Javascript
add a way to inject provided modules
f6a5053fb2bd0c5bd3ec56a44ccb8569a140fb75
<ide><path>lib/JavascriptParserHelpers.js <ide> exports.addParsedVariableToModule = (parser, name, expression) => { <ide> }; <ide> <ide> exports.requireFileAsExpression = (context, pathToModule) => { <add> const moduleJsPath = exports.getModulePath(context, pathToModule); <add> return `require(${JSON.stringify(moduleJ...
5
Text
Text
fix tiny grammatical error
a7906c9b7c51d479b629f14d75819796b77b87c0
<ide><path>docs/GettingStarted.md <ide> next: android-setup <ide> - Install **nvm** with Homebrew or [its setup instructions here](https://github.com/creationix/nvm#installation). Then run `nvm install node && nvm alias default node`, which installs the latest version of Node.js and sets up your terminal so you can r...
1
Javascript
Javascript
add invariant errors for bindactioncreator
22ca4beb9ad42e3c6e5eb70bc9a677c41c429751
<ide><path>src/utils/bindActionCreators.js <add>import invariant from 'invariant'; <ide> import mapValues from '../utils/mapValues'; <ide> <ide> function bindActionCreator(actionCreator, dispatch) { <ide> export default function bindActionCreators(actionCreators, dispatch) { <ide> return bindActionCreator(actionCr...
2
Javascript
Javascript
improve performance caused by primordials
e5cbbe05ef8d2b9878f153cd0d7d898cd5d75fa8
<ide><path>lib/events.js <ide> <ide> 'use strict'; <ide> <del>const { Math, Object, Reflect } = primordials; <del>const apply = Reflect.apply; <add>const { <add> Math: { <add> min: MathMin <add> }, <add> Object: { <add> defineProperty: ObjectDefineProperty, <add> getPrototypeOf: ObjectGetPrototypeOf, <add...
1
Text
Text
remove html tags to fix misalignment
9a863898f3c90b532df4221ecbd976f67290ae51
<ide><path>client/src/pages/learn/apis-and-microservices/managing-packages-with-npm/index.md <ide> superBlock: APIs and Microservices <ide> --- <ide> ## Introduction to the Managing Packages with npm Challenges <ide> <del>The Node Package Manager (npm) is a command-line tool used by developers to share and control mod...
1
Javascript
Javascript
add test for child_process benchmark
3d7c82bd612ebb9190d54b80c90ceed3310161aa
<ide><path>benchmark/child_process/spawn-echo.js <ide> 'use strict'; <ide> var common = require('../common.js'); <ide> var bench = common.createBenchmark(main, { <del> thousands: [1] <add> n: [1000] <ide> }); <ide> <ide> var spawn = require('child_process').spawn; <ide> function main(conf) { <del> var len = +conf.t...
2
Text
Text
update links to reference and api documentation
9c45acd43abefd5c7e004dfa51324b0c78ea2af9
<ide><path>README.md <ide> Instructions on <ide> via Maven and other build systems are available via the project wiki. <ide> <ide> ## Documentation <del>See the current [Javadoc](http://static.springsource.org/spring/docs/current/javadoc-api) <del>and [Reference docs](http://static.springsource.org/spring/docs/current...
1
Javascript
Javascript
add more error codes
ecfe32e3a0a4f6b62063a2b56fbb23599cfb51f1
<ide><path>lib/dns.js <ide> exports.resolve = function(domain, type_, callback_) { <ide> <ide> <ide> // ERROR CODES <del>exports.BADNAME = 'EBADNAME'; <del>exports.BADRESP = 'EBADRESP'; <del>exports.CONNREFUSED = 'ECONNREFUSED'; <del>exports.DESTRUCTION = 'EDESTRUCTION'; <del>exports.REFUSED = 'EREFUSED'; <del>export...
1
Mixed
Go
send registry auth token for service deploy
a26bdd8607c62e6e736d06e9ec8f0908c4808d74
<ide><path>api/client/stack/deploy.go <ide> const ( <ide> ) <ide> <ide> type deployOptions struct { <del> bundlefile string <del> namespace string <add> bundlefile string <add> namespace string <add> sendRegistryAuth bool <ide> } <ide> <ide> func newDeployCommand(dockerCli *client.DockerCli) *cobra.Comm...
4
Python
Python
remove bare returns
9ee02b4551d860be4b10aec65d13d7aae45533c0
<ide><path>official/vision/beta/projects/yolo/common/registry_imports.py <ide> from official.vision.beta.projects.yolo.configs.darknet_classification import ImageClassificationTask <ide> <ide> from official.vision.beta.projects.yolo.tasks.image_classification import ImageClassificationTask <del> <del># task_factory.re...
15
Text
Text
fix parent class of model test example
6ef90c40f21e68a327d25fe8b90613803303a7b9
<ide><path>guides/source/testing.md <ide> within a model: <ide> ```ruby <ide> require 'test_helper' <ide> <del>class ProductTest < ActiveJob::TestCase <add>class ProductTest < ActiveSupport::TestCase <add> include ActiveJob::TestHelper <add> <ide> test 'billing job scheduling' do <ide> assert_enqueued_with(job:...
1
Javascript
Javascript
add comparison function to filter
ace54ff08c4593195b49eadb04d258e6409d969e
<ide><path>src/ng/filter/filter.js <ide> * called for each element of `array`. The final result is an array of those elements that <ide> * the predicate returned true for. <ide> * <add> * @param {function(expected, actual)|true|undefined} comparator Comparator which is used in <add> * determining if the ...
2
PHP
PHP
set container on controller
bb0200154e5945b2d1a6e53cb35b44e7d6e7ca34
<ide><path>src/Illuminate/Routing/Controller.php <ide> <?php namespace Illuminate\Routing; <ide> <ide> use Closure; <add>use Illuminate\Container\Container; <ide> use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; <ide> <ide> abstract class Controller { <ide> abstract class Controller { <ide> protecte...
4
Python
Python
show line which caused the deprecationwarning
ba07f5bd81f66a40333cc619d0a8a7b3c17ec49f
<ide><path>flask/exthook.py <ide> def load_module(self, fullname): <ide> <ide> warnings.warn( <ide> "Importing flask.ext.{x} is deprecated, use flask_{x} instead." <del> .format(x=modname), ExtDeprecationWarning <add> .format(x=modname), ExtDeprecationWarning, stacklevel=2 <id...
1
Text
Text
improve russian translation
0fcb2a971dbbab635e2d402ff327a1cc2e8e463f
<ide><path>guide/russian/python/powxy/index.md <ide> title: Python Powxy <ide> localeTitle: Python Powxy <ide> --- <del>`pow(x, y, z)` является встроенной функцией в Python 3 для вычисления `x` до степени `y` , а если `z` присутствует, возвращает `x` в силу `y` [по модулю](https://processing.org/reference/modulo.html) ...
1
Text
Text
update the userguide to fix user feedback
bf76b1d686018cebd043aa99152d68fbbe6bb977
<ide><path>docs/userguide/index.md <ide> <!--[metadata]> <ide> +++ <ide> title = "User guide" <del>description = "Welcome to the user guide" <del>keywords = ["docker, introduction, documentation, about, technology, docker.io, user, guide, user's, manual, platform, framework, home, intro"] <add>description = "How to us...
4
Text
Text
remove reference to "credentials object"
f11f1808785fee9741436dfb43a87e2050d8b3af
<ide><path>doc/api/tls.md <ide> to `true`, other APIs that create secure contexts leave it unset. <ide> from `process.argv` as the default value of the `sessionIdContext` option, other <ide> APIs that create secure contexts have no default value. <ide> <del>The `tls.createSecureContext()` method creates a credentials ...
1
Go
Go
improve interface order
67dbb048520513de23be771d5e677a4103e173ec
<ide><path>libnetwork/sandbox.go <ide> func OptionIngress() SandboxOption { <ide> } <ide> } <ide> <add>// <=> Returns true if a < b, false if a > b and advances to next level if a == b <add>// epi.prio <=> epj.prio # 2 < 1 <add>// epi.gw <=> epj.gw # non-gw < gw <add>// epi.internal <=> epj.in...
2
Javascript
Javascript
destructure primordials in lib/_http_server.js
0d285276f8028fdeb2c16ad47e09e9cd022f3a90
<ide><path>lib/_http_server.js <ide> <ide> 'use strict'; <ide> <del>const { Object } = primordials; <add>const { <add> Object: { <add> setPrototypeOf: ObjectSetPrototypeOf, <add> keys: ObjectKeys, <add> } <add>} = primordials; <ide> <ide> const net = require('net'); <ide> const assert = require('internal/ass...
1
Ruby
Ruby
prepare the statement before we cache the key
1b4e0b654210d024989dd4b46311807e2c823bdb
<ide><path>activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb <ide> def initialize(connection, logger, connection_parameters, config) <ide> @local_tz = nil <ide> @table_alias_length = nil <ide> @postgresql_version = nil <del> @statements = Hash.new { |h,k| h[k] = "a#...
1
Text
Text
add link to show k-means
56a42de7b109a001991d1abe55b1bb2c2d104129
<ide><path>guide/english/machine-learning/clustering-algorithms/index.md <ide> plt.show() <ide> <ide> Since the data points belong usually to a high-dimensional space, the similarity measure is often defined as a distance between two vectors (Euclidean, Manhathan, Cosine, Mahalanobis...) <ide> <add>Here's a visualiza...
1
PHP
PHP
fix typo in class name
c1e358dde5513bf64b38ae7375e2d119589ed07d
<ide><path>lib/Cake/Test/TestCase/Cache/Engine/RedisEngineTest.php <ide> * <ide> * @package Cake.Test.Case.Cache.Engine <ide> */ <del>class RegisEngineTest extends TestCase { <add>class RedisEngineTest extends TestCase { <ide> <ide> /** <ide> * setUp method
1
Javascript
Javascript
unpublish the function as it is not public
14183833f9106a3ab4c7621bcf964fc2b5cc96e6
<ide><path>src/Angular.js <ide> function reloadWithDebugInfo() { <ide> } <ide> <ide> /** <del> * @ngdoc function <ide> * @name angular.getTestability <ide> * @module ng <ide> * @description
1
Text
Text
add article for completing the square
43174378c995d17a8c24800a6ceb769c99e9ffff
<ide><path>client/src/pages/guide/english/mathematics/completing-the-square/index.md <ide> title: Completing the Square <ide> --- <ide> ## Completing the Square <ide> <del>This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/completing-the-square/index.md' target='_blank' r...
1
Text
Text
remove bold typography from style_guide.md
a206bab4197509f8a46dbeebb8070522aeec10c1
<ide><path>doc/STYLE_GUIDE.md <ide> # Style Guide <ide> <del>* Documents are written in markdown files. <del>* Those files should be written in **`lowercase-with-dashes.md`**. <add>* Documentation is written in markdown files with names formatted as <add> `lowercase-with-dashes.md`. <ide> * Underscores in filenames...
1
Python
Python
set version to v3.0.0a13
9341cbc013b4f471654d1fd5ad79a0827e572545
<ide><path>spacy/about.py <ide> # fmt: off <ide> __title__ = "spacy-nightly" <del>__version__ = "3.0.0a12" <add>__version__ = "3.0.0a13" <ide> __release__ = True <ide> __download_url__ = "https://github.com/explosion/spacy-models/releases/download" <ide> __compatibility__ = "https://raw.githubusercontent.com/explosion/...
1
Ruby
Ruby
add install script for testing gems locally
f79f9a74a4b593e8c36d14c43a030b9a12c69255
<ide><path>install.rb <add>version = ARGV.pop <add> <add>%w( activesupport activemodel activerecord activeresource actionpack actionmailer railties ).each do |framework| <add> puts "Installing #{framework}..." <add> `cd #{framework} && gem build #{framework}.gemspec && gem install #{framework}-#{version}.gem --no-ri ...
1
Javascript
Javascript
add note about recursive compilation in templates
7a7e9f4047812bf3317203c7fd618a8859a886a4
<ide><path>src/ng/compile.js <ide> * apply to all cloned DOM nodes within the compile function. Specifically, DOM listener registration <ide> * should be done in a linking function rather than in a compile function. <ide> * </div> <add> <add> * <div class="alert alert-warning"> <add> * **Note:** The compile function...
1
Javascript
Javascript
fix ie failures from 55313d32
f42e1e654f43e9207c5b2f651c410f344982c2b5
<ide><path>test/unit/core.js <ide> test("jQuery.proxy", function(){ <ide> }); <ide> <ide> test("jQuery.parseHTML", function() { <del> expect( 11 ); <add> expect( 12 ); <add> <add> var html, nodes; <ide> <ide> equal( jQuery.parseHTML(), null, "Nothing in, null out." ); <del> equal( jQuery.parseHTML( null ), null, "No...
1
Python
Python
support multiple outputs in lambda layer
692e8e2023046c683b2b66f80b32b0c525570c52
<ide><path>keras/layers/core.py <ide> def compute_output_shape(self, input_shape): <ide> else: <ide> shape = self._output_shape(input_shape) <ide> if not isinstance(shape, (list, tuple)): <del> raise ValueError('`output_shape` function must return a tuple.') <del> ...
2
Ruby
Ruby
avoid duplicated logic
541459791351a69b7b70047ee5e0c2c05797de92
<ide><path>Library/Homebrew/cmd/cleanup.rb <ide> def cleanup_logs <ide> end <ide> <ide> def cleanup_cellar <del> Formula.racks.each do |rack| <del> begin <del> cleanup_formula Formulary.from_rack(rack) <del> rescue FormulaUnavailableError, TapFormulaAmbiguityError <del> # Don't complain ...
1
Python
Python
get lxd image metadata defensively
375b8d82c8456290d21567df90666f93b4cbb1f5
<ide><path>libcloud/container/drivers/lxd.py <ide> def deploy_container(self, name, image, cluster=None, <ide> except Exception as e: <ide> raise LXDAPIException(message='Deploying ' <ide> 'container failed: ' <del> ...
1
Text
Text
update definition of division and more information
0b4cdb07e9f4ece74c9048e712feaddd71848ff2
<ide><path>guide/english/mathematics/division/index.md <ide> title: Division <ide> --- <ide> ## Division <ide> <del>This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/division/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>. <add>Division is one ...
1
Go
Go
add tests for create /etc volume
f3713010dd6355cc89944cc4185b4c5023fd95c5
<ide><path>integration-cli/docker_cli_run_test.go <ide> func TestRunReuseBindVolumeThatIsSymlink(t *testing.T) { <ide> logDone("run - can remount old bindmount volume") <ide> } <ide> <add>//test create /etc volume <add>func TestRunCreateVolumeEtc(t *testing.T) { <add> cmd := exec.Command(dockerBinary, "run", "--dns=1...
1
Java
Java
remove timeout in blocking iterator
00d33b70073920c72dfcb3149a89b231e69c39dd
<ide><path>rxjava-core/src/main/java/rx/internal/operators/BlockingOperatorToIterator.java <ide> public T next() { <ide> } <ide> <ide> private Notification<? extends T> take() { <del> try { <del> // TODO remove this timeout and logging before final release of 0...
1
Javascript
Javascript
delete the gdocs.js file
01d86381141cda4a13ad6b29a4e81eb9a528e99d
<ide><path>gdocs.js <del>#!/usr/bin/env node <del> <del>'use strict'; <del> <del>var http = require('http'); <del>var https = require('https'); <del>var fs = require('fs'); <del> <del>var collections = { <del> 'guide': 'https://docs.google.com/feeds/default/private/full/folder%3A0B9PsajIPqzmANGUwMGVhZmYtMTk1ZC00NTdmLW...
1
Java
Java
fix race conditions in drawview
a848ce8efd7ef24041a4d5e0ae466dbb981f069a
<ide><path>ReactAndroid/src/main/java/com/facebook/react/flat/DrawView.java <ide> /* package */ final class DrawView extends AbstractClippingDrawCommand { <ide> <ide> /* package */ final int reactTag; <del> /* package */ boolean isViewGroupClipped; <add> // Indicates if the DrawView is frozen. If it is frozen the...
3
Python
Python
fix small issue detected by pylint
81c6bd802e7e3aad2e80b181d7c6d97e11eb8a46
<ide><path>libcloud/common/openstack_identity.py <ide> def __init__(self, auth_url, user_id, key, tenant_name=None, <ide> Tenant, domain and scope options are ignored as they are contained <ide> within the app credential itself and can't be changed. <ide> """ <del> super(OpenStackIdentity...
1
Java
Java
revise cache api
3699a037a55ed4fbe43d66ecc73876f2378e3507
<ide><path>org.springframework.context/src/main/java/org/springframework/cache/annotation/AnnotationCacheOperationSource.java <add>/* <add> * Copyright 2010-2011 the original author or authors. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in co...
10
PHP
PHP
remove "fresh" command
37ebc7ecc693405a717239ca30e0586d0a71e4d3
<ide><path>src/Illuminate/Foundation/Console/FreshCommand.php <del><?php namespace Illuminate\Foundation\Console; <del> <del>use Illuminate\Console\Command; <del>use Illuminate\Filesystem\Filesystem; <del> <del>class FreshCommand extends Command { <del> <del> /** <del> * The console command name. <del> * <del> * @va...
2
Javascript
Javascript
skip failing tests for osx mojave
eff869feccb7396715fd2d0b47b6a1cbb5b2d1c2
<ide><path>test/common/index.js <ide> const isOpenBSD = process.platform === 'openbsd'; <ide> const isLinux = process.platform === 'linux'; <ide> const isOSX = process.platform === 'darwin'; <ide> <add>const isOSXMojave = isOSX && (os.release().startsWith('18')); <add> <ide> const enoughTestMem = os.totalmem() > 0x700...
4
PHP
PHP
add support for commands to autodiscovery
1eb3dcbdac85bbf4bfe9cf9d94a180d476670708
<ide><path>src/Console/CommandScanner.php <ide> class CommandScanner <ide> public function scanAll() <ide> { <ide> $shellList = []; <del> <ide> $appNamespace = Configure::read('App.namespace'); <del> $shellList['app'] = $this->scanDir( <add> <add> $coreShells = $this->scanDir( <add...
2
Mixed
Javascript
add abortsignal support to interface
54c525ef0e6d59ee43852e6d5ab1dbe3ab32b4e1
<ide><path>doc/api/readline.md <ide> the current position of the cursor down. <ide> <!-- YAML <ide> added: v0.1.98 <ide> changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/37932 <add> description: The `signal` option is supported now. <ide> - version: v15.8.0 <ide> pr-url...
3
Python
Python
fix hybrid_to_proto2 with missing timelimit
47ca2b462f22a8d48ed8d80c2f9bf8b9dc4a4de6
<ide><path>celery/worker/strategy.py <ide> def hybrid_to_proto2(message, body): <ide> 'eta': body.get('eta'), <ide> 'expires': body.get('expires'), <ide> 'retries': body.get('retries'), <del> 'timelimit': body.get('timelimit'), <add> 'timelimit': body.get('timelimit', (None, None))...
2
Python
Python
add test for issue 2626
860f5bd91f80a107bea6178b852a6d4f0a187bd2
<ide><path>spacy/tests/regression/test_issue2626.py <add>from __future__ import unicode_literals <add>import spacy <add> <add>def test_issue2626(): <add> '''Check that this sentence doesn't cause an infinite loop in the tokenizer.''' <add> nlp = spacy.blank('en') <add> text = """ <add> ABLEItemColumn IAccep...
1
Go
Go
display id on run -s stdin
ac0e27699c0dd9306ae0edabeff5d462399c8e74
<ide><path>commands.go <ide> func CmdRun(args ...string) error { <ide> if err != nil { <ide> return err <ide> } <add> var status int <ide> if config.AttachStdin || config.AttachStdout || config.AttachStderr { <ide> if err := hijack("POST", "/containers/"+out.Id+"/attach?"+v.Encode(), config.Tty); err != nil { <i...
1
PHP
PHP
add assertdatabasecount assertion
bb3f0aa147cbcc495716ca710a1c86b255f2fd93
<ide><path>src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php <ide> use Illuminate\Database\Eloquent\Model; <ide> use Illuminate\Database\Eloquent\SoftDeletes; <ide> use Illuminate\Support\Arr; <add>use Illuminate\Testing\Constraints\CountInDatabase; <ide> use Illuminate\Testing\Constraints\HasInDatab...
3
Python
Python
implement create_node for rackspace
f7cd9536e40fea4f0dfca2eac1f0cc0dc4b7267f
<ide><path>libcloud/drivers/rackspace.py <ide> <ide> class RackspaceResponse(Response): <ide> <add> def success(self): <add> i = int(self.status) <add> #print i <add> #print self.body <add> return i >= 200 and i <= 299 <add> <ide> def parse_body(self): <ide> if not self.body...
1
Mixed
Text
fix spelling, routing setup call and formatting
78a530282ee7b55ba39c76cf5c67d0d239bb5edc
<ide><path>README.md <ide> end <ide> Then setup a mailbox: <ide> <ide> ```ruby <del># Generate new maiblox <add># Generate new mailbox <ide> bin/rails generate mailbox forwards <ide> ``` <ide> <ide><path>lib/action_mailbox/base.rb <ide> # <ide> # class ApplicationMailbox < ActionMailbox::Base <ide> # # Any of t...
2
Javascript
Javascript
detect data modifications with equal values
50f2a1097a7db459adf38a9e9981e7aa26967c72
<ide><path>src/core/core.datasetController.js <ide> export default class DatasetController { <ide> this._parsing = false; <ide> this._data = undefined; <ide> this._dataCopy = undefined; <add> this._dataModified = false; <ide> this._objectData = undefined; <ide> this._labels = undefined; <ide> this._scaleSt...
2
Java
Java
fix javadoc links
0cff7eb32cb4123f72a8dfdccbccf7d4a3cf9a7e
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/rsocket/RSocketRequester.java <ide> public interface RSocketRequester { <ide> * <p>For requestChannel interactions, i.e. Flux-to-Flux the metadata is <ide> * attached to the first request payload. <ide> * @param route the routing destination ...
2
Javascript
Javascript
add canadian i18n
46b451c89a49e4ba4a566330b9e92681e1aac3e7
<ide><path>lang/en-ca.js <ide> weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), <ide> longDateFormat : { <ide> LT : "h:mm A", <del> L : "DD/MM/YYYY", <del> LL : "D MMMM YYYY", <del> LLL : "D MMMM YYYY LT", <del> LLLL : "...
2
Javascript
Javascript
make flaky test stricter
9949a2e1e3100c4ff1f228bac57c1af95cdc3e9d
<ide><path>test/parallel/test-http-destroyed-socket-write2.js <ide> server.listen(0, function() { <ide> } <ide> <ide> req.on('error', common.mustCall(function(er) { <add> assert.strictEqual(req.res, null); <ide> switch (er.code) { <ide> // This is the expected case <ide> case 'ECONNRESET': <ide>...
1
Ruby
Ruby
ask the scope for the action name
e4cb3819dfe36cc9a8396fb207b74980d7bd0cd5
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> def name_for_action(as, action) #:nodoc: <ide> member_name = parent_resource.member_name <ide> end <ide> <del> name = case scope_level <del> when :nested <del> [name_prefix, prefix] <del> ...
1
Python
Python
add newline to task failed log message
4bca120eef3a40eeaa9b2433c6bc78d937ef6767
<ide><path>celery/worker/job.py <ide> # says "trailing whitespace" ;) <ide> EMAIL_SIGNATURE_SEP = "-- " <ide> TASK_ERROR_EMAIL_BODY = """ <del>Task %%(name)s with id %%(id)s raised exception: %%(exc)s <add>Task %%(name)s with id %%(id)s raised exception:\n%%(exc)s <ide> <ide> <ide> Task was called with args: %%(args)...
1
PHP
PHP
add test for array iterator issue
38e764671af844341d058ae6f23c68c2c8937bbe
<ide><path>tests/TestCase/Collection/CollectionTest.php <ide> public function __construct($items) <ide> } <ide> } <ide> <add>/** <add> * Special class to test that extending \ArrayIterator works as expected <add> */ <add>class TestIterator extends ArrayIterator <add>{ <add> use CollectionTrait; <add> <add> p...
1
Javascript
Javascript
move flag check into each switch case
3df7e8f5dcc3e379d8ce738da2a87029467bcf1d
<ide><path>packages/react-reconciler/src/ReactFiberCommitWork.new.js <ide> function commitLayoutEffectOnFiber( <ide> finishedWork: Fiber, <ide> committedLanes: Lanes, <ide> ): void { <del> if ((finishedWork.flags & LayoutMask) !== NoFlags) { <del> switch (finishedWork.tag) { <del> case FunctionComponent: <...
2
Java
Java
fix checkstyle issues
75fa9c4266a516039b1b797fe8ccd8b2614e7647
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/function/client/UnknownHttpStatusCodeException.java <add>/* <add> * Copyright 2002-2018 the original author or authors. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in com...
1
Javascript
Javascript
remove persistence from rntester app
33fb70f6b60cb3c332698a1c00ca1883caf576ba
<ide><path>RNTester/e2e/__tests__/Button-test.js <ide> * @format <ide> */ <ide> <del>/* global element, by, expect */ <add>/* global device, element, by, expect */ <ide> <ide> describe('Button', () => { <ide> beforeAll(async () => { <add> await device.reloadReactNative(); <ide> await element(by.id('explore...
4
Javascript
Javascript
serialize json data as buffer and decode on demand
b42d94e42fa14e119b6d92d02cea5396190f762e
<ide><path>lib/json/JsonData.js <add>/* <add> MIT License http://www.opensource.org/licenses/mit-license.php <add> Author Tobias Koppers @sokra <add>*/ <add> <add>"use strict"; <add> <add>const { register } = require("../util/serialization"); <add> <add>class JsonData { <add> constructor(data) { <add> this._buffer = u...
4
Text
Text
translate 10.5 to korean
8838a6d9f928e2d4b66b7673a6e01a9c0332bb16
<ide><path>docs/docs/10.5-clone-with-props.ko-KR.md <add>--- <add>id: clone-with-props-ko-KR <add>title: ReactElement 클론하기 <add>permalink: clone-with-props-ko-KR.html <add>prev: test-utils-ko-KR.html <add>next: update-ko-KR.html <add>--- <add> <add>드문 경우긴 하지만 엘리먼트에서 소유하지 않은 엘리먼트의 props를 변경하고 싶을 때가 있습니다. (`this.props.ch...
1
Python
Python
adapt coercion-tests to the new situation
7012ef71f68c1dbd4bd746042722752ded7221f0
<ide><path>numpy/core/tests/test_array_coercion.py <ide> class TestStringDiscovery: <ide> [object(), 1.2, 10**43, None, "string"], <ide> ids=["object", "1.2", "10**43", "None", "string"]) <ide> def test_basic_stringlength(self, obj): <del> if not isinstance(obj, (str, int)): <del> ...
1
Python
Python
adapt percentile test to changed promotion
9a5c5e886a4222e769e2f251ec7705c565d0cc4f
<ide><path>numpy/lib/tests/test_function_base.py <ide> def test_linear_nan_1D(self, dtype): <ide> <ide> H_F_TYPE_CODES = [(int_type, np.float64) <ide> for int_type in np.typecodes["AllInteger"] <del> ] + [(np.float16, np.float64), <del> (np.float...
1
Javascript
Javascript
improve assertion in test-require-dot
d520059460fa4d610eff3a99e2527dab3033d2dd
<ide><path>test/parallel/test-require-dot.js <ide> process.env.NODE_PATH = fixtures.path('module-require', 'relative'); <ide> m._initPaths(); <ide> <ide> const c = require('.'); <del> <del>assert.strictEqual(c.value, 42, 'require(".") should honor NODE_PATH'); <add>assert.strictEqual( <add> c.value, <add> 42, <add> ...
1
Text
Text
indicate n-api out params that may be null
4cf5563147cd562335ec02c4a78f9397a30e6701
<ide><path>doc/api/n-api.md <ide> Returns `napi_ok` if the API succeeded. <ide> <ide> This API returns various properties of a typed array. <ide> <add>Any of the out parameters may be `NULL` if that property is unneeded. <add> <ide> *Warning*: Use caution while using this API since the underlying data buffer <ide> is...
1
Text
Text
incorporate feedback from @danmaz74 in #463
0986a9f1fe015c1f8653052c814840ecd4b61a2d
<ide><path>docs/introduction/Examples.md <ide> npm install <ide> npm start <ide> ``` <ide> <add>See it running at [http://localhost:3000/](http://localhost:3000/). <add> <ide> Run the [TodoMVC](https://github.com/gaearon/redux/tree/master/examples/todomvc) example: <ide> <ide> ``` <ide> npm install <ide> npm start <i...
1
Text
Text
add astronet directory and a temporary readme.md
130e04e518911a31488970a4f1c8c0d047eb809e
<ide><path>research/astronet/README.md <add># Coming Soon! <add> <add>This directory will soon be populated with TensorFlow models and data <add>processing code for identifying exoplanets in astrophysical light curves. <add> <add>For full details, see the following paper: <add> <add>*Identifying Exoplanets With Deep Le...
1
Ruby
Ruby
remove unused return values
7c1671667f23e98b301647a2ad0e2d29b7da01e9
<ide><path>Library/Homebrew/extend/pathname.rb <ide> class Pathname <ide> BOTTLE_EXTNAME_RX = /(\.[a-z_]+(32)?\.bottle\.(\d+\.)?tar\.gz)$/ <ide> <ide> def install *sources <del> results = [] <ide> sources.each do |src| <ide> case src <ide> when Array <ide> if src.empty? <ide> o...
2
Python
Python
fix list_records method in the dummy dns driver
ac43cb8d28cb5fbd07c14d5e3164bbeb88cb6937
<ide><path>libcloud/dns/drivers/dummy.py <ide> def list_zones(self): <ide> return [zone['zone'] for zone in list(self._zones.values())] <ide> <ide> def list_records(self, zone): <del> return self.get_zone(zone_id=zone.id).records <add> """ <add> >>> driver = DummyDNSDriver('key', 'secr...
1
Java
Java
update some marbles of observable
96b8d585c137b13e083afb5aba77eb772e3f8513
<ide><path>src/main/java/io/reactivex/Observable.java <ide> public static <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> Observable<R> combineLates <ide> * the source ObservableSources each time an item is received from any of the source ObservableSources, where this <ide> * aggregation is defined by a specified fun...
1
Java
Java
create art*viewmanager classes
1052d29fac68ae3475a05a248d58fdb9e55af16f
<ide><path>ReactAndroid/src/main/java/com/facebook/react/views/art/ARTGroupViewManager.java <add>// Copyright 2004-present Facebook. All Rights Reserved. <add> <add>package com.facebook.react.views.art; <add> <add>import com.facebook.react.module.annotations.ReactModule; <add> <add>/** <add> * ViewManager for shadowed ...
4
Text
Text
add more guidelines
9db1feb3da20348828bf16280a8eafa010a80522
<ide><path>docs/Maintainer-Guidelines.md <ide> definitely not a beginner’s guide. <ide> <ide> Maybe you were looking for the [Formula Cookbook](Formula-Cookbook.md)? <ide> <add>This document is a work in progress. If you wish to change or discuss any of the below: open a PR to suggest a change. <add> <ide> ## Quick c...
1
Python
Python
fix minor error in "squeeze" docstring
016b21186b87c68a0aa09cca939187f6f29d1900
<ide><path>numpy/core/fromnumeric.py <ide> def squeeze(a, axis=None): <ide> Returns <ide> ------- <ide> squeezed : ndarray <del> The input array, but with with all or a subset of the <add> The input array, but with all or a subset of the <ide> dimensions of length 1 removed. This is al...
1
Text
Text
improve diff of code snippet example (#163)
573635944d31d6ae28554f18eade8e5c0f8b449e
<ide><path>threejs/lessons/threejs-scenegraph.md <ide> Continuing that same pattern let's add a moon. <ide> <ide> const earthMaterial = new THREE.MeshPhongMaterial({color: 0x2233FF, emissive: 0x112244}); <ide> const earthMesh = new THREE.Mesh(sphereGeometry, earthMaterial); <add>-earthMesh.position.x = 10; // note tha...
1
Javascript
Javascript
add flow test for
275486e5be968c37ca5ab057a41e88295b073795
<ide><path>type-definitions/tests/immutable-flow.js <ide> stringToNumberOrString = Map({'a': 1}).mergeDeepWith((previous, next, key) => 1, <ide> // $ExpectError - the array [1] is not a valid argument <ide> stringToNumber = Map({'a': 1}).mergeDeepWith((previous, next, key) => 1, [1]) <ide> <add>// KeyedSeq can merge i...
1
Ruby
Ruby
prevent extra `spawn` to make `klass.all` faster
eeaf9cf61c3cd14929583878785c31dab79e2196
<ide><path>activerecord/lib/active_record/core.rb <ide> def relation <ide> relation = Relation.create(self, arel_table, predicate_builder) <ide> <ide> if finder_needs_type_condition? && !ignore_default_scope? <del> relation.where(type_condition).create_with(inheritance_column.to_s => sti...
2
Go
Go
fix golint errors in api
c8ce0856b752cecb2f2a2149b79e6e96a63f03dc
<ide><path>api/client/image/build.go <ide> func replaceDockerfileTarWrapper(ctx context.Context, inputTarStream io.ReadClos <ide> return <ide> } <ide> <del> var content io.Reader = tarReader <add> content := io.Reader(tarReader) <ide> if hdr.Name == dockerfileName { <ide> // This entry is the Dockerf...
2
Javascript
Javascript
improve deepequal set and map worst case
5203bb0b1695f5cc2ea68c0c2e87b857c2c713f3
<ide><path>lib/assert.js <ide> const errors = require('internal/errors'); <ide> <ide> const assert = module.exports = ok; <ide> <del>// At present only the three keys mentioned above are used and <del>// understood by the spec. Implementations or sub modules can pass <del>// other keys to the AssertionError's constru...
2
Python
Python
call on_train_end when trial is pruned
483a9450a040a910ad26fd8cdcbc2f8e773cb161
<ide><path>src/transformers/trainer.py <ide> def _report_to_hp_search( <ide> <ide> trial.report(self.objective, epoch) <ide> if trial.should_prune(): <add> self.callback_handler.on_train_end(self.args, self.state, self.control) <ide> raise optuna.TrialPruned() <id...
1
Text
Text
add dereknongeneric to collaborators
0be93eeb335d48636a4e338ef7a501cdb3beabd4
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Danielle Adams** &lt;adamzdanielle@gmail.com&gt; (she/her) <ide> * [davisjam](https://github.com/davisjam) - <ide> **Jamie Davis** &lt;davisjam@vt.edu&gt; (he/him) <add>* [DerekNonGeneric](https://github.com/DerekNonGene...
1
Mixed
Javascript
add support for default datetime formats in en
3af1e7ca2ee8c2acd69e5bcbb3ffc1bf51239285
<ide><path>CHANGELOG.md <ide> <a name="0.9.18"><a/> <ide> # <angular/> 0.9.18 jiggling-armfat (in-progress) # <del> <add>### Breaking changes <add>- no longer support MMMMM in filter.date as we need to follow UNICODE LOCALE DATA formats. <ide> <ide> <ide> <ide><path>src/filters.js <ide> function dateStrGetter(name, ...
4