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
Javascript
Javascript
pass context to dom wrappers, use it in <option>
2fafe3eb76e7cb9133edf113166eb7144ac81b7a
<ide><path>src/renderers/dom/client/wrappers/ReactDOMOption.js <ide> var ReactChildren = require('ReactChildren'); <ide> var ReactClass = require('ReactClass'); <ide> var ReactDOMSelect = require('ReactDOMSelect'); <ide> var ReactElement = require('ReactElement'); <del>var ReactInstanceMap = require('ReactInstanceMap')...
2
Python
Python
add `versionadded` directives to `numpy.typing`
82d991c9fbdab578670c6fc66b254c97c4a8446f
<ide><path>numpy/typing/__init__.py <ide> Typing (:mod:`numpy.typing`) <ide> ============================ <ide> <add>.. versionadded:: 1.20 <add> <ide> .. warning:: <ide> <ide> Some of the types in this module rely on features only present in <ide> Mypy plugin <ide> ----------- <ide> <add>.. versionadded:: 1.21 <a...
3
Javascript
Javascript
update chrome on sl to 34
28ef2637c111d2940d2062c3cc8be29e7984f35a
<ide><path>karma-shared.conf.js <ide> module.exports = function(config, specificOptions) { <ide> customLaunchers: { <ide> 'SL_Chrome': { <ide> base: 'SauceLabs', <del> browserName: 'chrome' <add> browserName: 'chrome', <add> version: '34' <ide> }, <ide> 'SL_Firefox': {...
1
Javascript
Javascript
fix object id counter
f8ed7bb31a821561aaaeee742b565c5c3b5c2e43
<ide><path>src/evaluator.js <ide> var PartialEvaluator = (function PartialEvaluatorClosure() { <ide> font = xref.fetchIfRef(font) || fontRes.get(fontName); <ide> assertWellFormed(isDict(font)); <ide> <add> ++self.objIdCounter; <ide> if (!font.loadedName) { <del> ++self.objIdCoun...
1
Python
Python
remove trailing whitespace
52e7d634dfd9cbc864291dc2d760f4f679ce5d20
<ide><path>spacy/tests/tagger/test_lemmatizer.py <ide> def test_noun_lemmas(lemmatizer): <ide> def test_base_form_dive(lemmatizer): <ide> if lemmatizer is None: <ide> return None <del> <add> <ide> do = lemmatizer.noun <ide> assert do('dive', number='sing') == set(['dive']) <ide> assert do('dive...
1
PHP
PHP
escape single quotes after helper serialization
a4aaaff53ac4b04477dd929b30f9986f222b1c79
<ide><path>lib/Cake/View/Helper/CacheHelper.php <ide> protected function _writeFile($content, $timestamp, $useCallbacks = false) { <ide> $response = new CakeResponse(array("charset" => Configure::read("App.encoding"))); <ide> $controller = new ' . $this->_View->name . 'Controller($request, $response); <ide> ...
1
Python
Python
add better types for app decorators
af34b8c9e7adbf0b060738fee12f04c1e46a98fd
<ide><path>src/flask/scaffold.py <ide> def open_resource(self, resource: str, mode: str = "rb") -> t.IO[t.AnyStr]: <ide> <ide> return open(os.path.join(self.root_path, resource), mode) <ide> <del> def _method_route(self, method: str, rule: str, options: dict) -> t.Callable: <add> def _method_route( <add...
1
Python
Python
fix python2 error on example
7ed9124a455f9e527a4d9baabbd89c63796fb18f
<ide><path>examples/training/pretrain_textcat.py <ide> def evaluate_textcat(tokenizer, textcat, texts, cats): <ide> train_examples=("Number of labelled examples", "option", "eg", int), <ide> vectors_model=("Name or path to vectors model to learn from") <ide> ) <del>def main(width: int, embed_size: int, vectors_...
1
Java
Java
fix javadoc typo
63844c6d743544339fe001545409c3929a8e11ed
<ide><path>spring-jms/src/main/java/org/springframework/jms/support/converter/MappingJackson2MessageConverter.java <ide> protected Message mapToMessage(Object object, Session session, ObjectWriter obje <ide> * sets the resulting value (either a mapped id or the raw Java class name) <ide> * into the configured type ...
1
Text
Text
add resource introduction to scrum
806f688eaa5c10e1384d75d9d318c518215d43a9
<ide><path>guide/english/agile/scrum/index.md <ide> Here are some more resources: <ide> - [Why Scrum](https://www.scrumalliance.org/why-scrum) from The Scrum Alliance <ide> - [Scrum Guide](http://www.scrumguides.org/scrum-guide.html) from Scrum.org <ide> - [Doing vs Being Agile](http://agilitrix.com/2016/04/doing-agile...
1
Javascript
Javascript
fix safari test failures
22f58bd688e35a473e6088bc47c1ba23ebcb0cdc
<ide><path>src/manipulation.js <ide> jQuery.extend({ <ide> for ( i = 0; (elem = elems[i]) != null; i++ ) { <ide> if ( elem || elem === 0 ) { <ide> // Add nodes directly <del> if ( typeof elem === "object" ) { <add> if ( jQuery.type( elem ) === "object" ) { <ide> jQuery.merge( ret, elem.nodeType ? [ ...
1
Text
Text
update stream.io link
761f56ef4025543e9cf39346d25641305e7d957d
<ide><path>docs/index.md <ide> continued development by **[signing up for a paid plan][funding]**. <ide> <ide> <ul class="premium-promo promo"> <ide> <li><a href="https://getsentry.com/welcome/" style="background-image: url(https://fund-rest-framework.s3.amazonaws.com/sentry130.png)">Sentry</a></li> <del> <li><...
1
Ruby
Ruby
add missing require for ordered_hash dependency
295bf413e57fb0b4da5a73319236403eba493734
<ide><path>activesupport/lib/active_support/json/encoding.rb <ide> require 'active_support/core_ext/module/delegation' <ide> require 'active_support/deprecation' <ide> require 'active_support/json/variable' <add>require 'active_support/ordered_hash' <ide> <ide> require 'bigdecimal' <ide> require 'active_support/core_e...
1
Go
Go
remove redundant colon introduced by mistake
df64bc3ed0e315a1064937d1a3ad6d0f324b11c8
<ide><path>client/volume_prune.go <ide> func (cli *Client) VolumesPrune(ctx context.Context, pruneFilters filters.Args) <ide> defer ensureReaderClosed(serverResp) <ide> <ide> if err := json.NewDecoder(serverResp.body).Decode(&report); err != nil { <del> return report, fmt.Errorf("Error retrieving volume prune repor...
1
Javascript
Javascript
use exact types for options
7f706e824de78494ee7fb66bc528aac5161a0bdb
<ide><path>packager/src/ModuleGraph/types.flow.js <ide> type GraphOptions = {| <ide> skip?: Set<string>, <ide> |}; <ide> <del>export type GraphResult = { <add>export type GraphResult = {| <ide> entryModules: Array<Module>, <ide> modules: Array<Module>, <del>}; <add>|}; <ide> <ide> export type IdForPathFn = {pat...
1
Javascript
Javascript
add test for disabling autoboot
c8ed6cb6ce96e6a53b8f7095896369442bbc66d9
<ide><path>packages/ember-application/tests/system/visit_test.js <add>import run from "ember-metal/run_loop"; <add>import Application from "ember-application/system/application"; <add> <add>function createApplication() { <add> var app = Application.extend().create({ <add> autoboot: false <add> }); <add> <add> ret...
1
PHP
PHP
fix cs error
d28c6c4a32d6061a03b59fb8fda3ce4378cf1bf6
<ide><path>tests/test_app/TestApp/Model/Table/AuthUsersTable.php <ide> public function findAuth(Query $query, array $options) <ide> <ide> return $query; <ide> } <del> <ide> }
1
Javascript
Javascript
update jquery ujs
57f5fe1850460e6a45bc075731a5dd78b620fa3e
<ide><path>railties/lib/rails/generators/rails/app/templates/public/javascripts/jquery_ujs.js <add>/* <add> * jquery-ujs <add> * <add> * http://github.com/rails/jquery-ujs/blob/master/src/rails.js <add> * <add> * This rails.js file supports jQuery 1.4.3 and 1.4.4 . <add> * <add> */ <add> <ide> jQuery(function ($) { <id...
1
Go
Go
remove stubs for deprecated package
ee5d8f43e1c47975bf96f45c2854dfdaf584ee48
<ide><path>pkg/signal/signal_deprecated.go <del>// Package signal provides helper functions for dealing with signals across <del>// various operating systems. <del>package signal // import "github.com/docker/docker/pkg/signal" <del> <del>import ( <del> "github.com/docker/docker/pkg/stack" <del> msignal "github.com/moby...
1
Javascript
Javascript
remove single instance of whitelist with allowlist
3911e78138d1ca0dd41b75b3ebb5ee8d2a051313
<ide><path>build/three.js <ide> <ide> var objectName = results.nodeName.substring( lastDot + 1 ); <ide> <del> // Object names must be checked against a whitelist. Otherwise, there <add> // Object names must be checked against an allowlist. Otherwise, there <ide> // is no way to parse 'foo.bar.baz': 'baz...
3
Text
Text
reorder the sidebar in order of relevance
9114f80b03a802eb9a37f4a41cb4dcbc8948b7ed
<ide><path>docs/_sidebar.md <ide> - **Getting Started** <ide> - [Introduction](index.md 'Contribute to the freeCodeCamp.org Community') <ide> - [Frequently Asked Questions](FAQ.md) <add>- **Translation Contribution** <add> - [Work on translating resources](how-to-translate-files.md) <add> - [Work on proofreading ...
1
Java
Java
consider generics for predicting factorybean types
a0e462581fe1d27d5926809fbb21441a6685ef45
<ide><path>spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractAutowireCapableBeanFactory.java <ide> import org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor; <ide> import org.springframework.beans.factory.config.TypedStringValue; <ide> import org.springframework...
4
Javascript
Javascript
remove internet test from test/simple/
d483acc5d9c67052366f10a23ebd46a96f989e05
<ide><path>test/simple/test-c-ares.js <ide> dns.lookup('::1', function(error, result, addressType) { <ide> assert.equal(6, addressType); <ide> }); <ide> <del>dns.lookup('ipv6.google.com', function(error, result, addressType) { <del> if (error) throw error; <del> console.dir(arguments); <del> //assert.equal('strin...
1
PHP
PHP
add stubs/incomplete code for request/response
80f0b6f7145447ebb788281eaf0d4e8ba9ced0a1
<ide><path>lib/Cake/Network/Http/Request.php <add><?php <add>/** <add> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <add> * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) <add> * <add> * Licensed under The MIT License <add> * Redistributions of files must retain the ...
2
Ruby
Ruby
make bottle path
939a530ddc644c3b6a193c7b6af22f5c5f0fd22a
<ide><path>Library/Homebrew/download_strategy.rb <ide> def _fetch <ide> class CurlBottleDownloadStrategy <CurlDownloadStrategy <ide> def initialize url, name, version, specs <ide> super <del> @tarball_path=HOMEBREW_CACHE+'Bottles'+("#{name}-#{version}"+ext) <add> HOMEBREW_CACHE_BOTTLES.mkpath <add> @tarb...
2
Python
Python
move benchmark_wrappers to benchmark folder
d70eca307e2f8a949dddad6404b5ea4ef383bf4d
<add><path>official/benchmark/benchmark_wrappers.py <del><path>official/utils/testing/benchmark_wrappers.py <ide> # Lint as: python3 <add># Copyright 2019 The TensorFlow Authors. All Rights Reserved. <add># <add># Licensed under the Apache License, Version 2.0 (the "License"); <add># you may not use this file except in...
11
Javascript
Javascript
fix more suspense traversal bugs
8830ba890cdfc27970f1183fec41f8c2025d5977
<ide><path>src/backend/renderer.js <ide> export function attach( <ide> } <ide> <ide> let pendingOperations: Array<number> = []; <add> let pendingRealUnmountedIDs: Array<number> = []; <add> let pendingSimulatedUnmountedIDs: Array<number> = []; <ide> let pendingOperationsQueue: Array<Uint32Array> | null = []; <i...
3
Python
Python
update base punctuation
e85e1d571b834d35922a816e1886cfc74cdf50d8
<ide><path>spacy/lang/char_classes.py <ide> # These expressions contain various unicode variations, including characters <ide> # used in Chinese (see #1333, #1340, #1351) – unless there are cross-language <ide> # conflicts, spaCy's base tokenizer should handle all of those by default <del>_punct = r'… …… , : ; \! \? ¿ ...
1
Java
Java
remove unnecessary code
af4fc88b3321247c6e6e2778ae6f3226c742dac0
<ide><path>rxjava-core/src/main/java/rx/internal/operators/BufferUntilSubscriber.java <ide> boolean casFirst(int expected, int next) { <ide> void setObserverRef(Observer<? super T> o) { <ide> observerRef = o; <ide> } <del> boolean casObserverRef(Observer<? super T> expected, Observer<...
1
PHP
PHP
apply fixes from styleci
a4f7e9bfd2a7d9453ea2b142aa486b2ba29df7e1
<ide><path>tests/Database/DatabaseMySqlSchemaGrammarTest.php <ide> public function testAutoIncrementStartingValue() <ide> <ide> $this->assertCount(2, $statements); <ide> $this->assertSame("create table `users` (`id` int unsigned not null auto_increment primary key, `email` varchar(255) not null) defaul...
1
Javascript
Javascript
fix allocunsafe uninitialized buffer check
eb49d596b4fb910093ae59387b4a2dfc6d0bdd4a
<ide><path>test/parallel/test-buffer-bindingobj-no-zerofill.js <ide> const monkeyPatchedBuffer = require('../../lib/buffer'); <ide> // possible that a segment of memory is already zeroed out, so try again and <ide> // again until we succeed or we time out. <ide> let uninitialized = buffer.Buffer.allocUnsafe(1024); <del...
1
Python
Python
fix deprecation messages for sftphook
1c113d6b2fe2f24a71f0a2c3911e8141fa6e3ff9
<ide><path>airflow/providers/sftp/hooks/sftp.py <ide> def __init__( <ide> extra_options = conn.extra_dejson <ide> <ide> # For backward compatibility <del> # TODO: remove in Airflow 2.1 <add> # TODO: remove in the next major provider release. <ide> <ide> ...
1
PHP
PHP
apply fixes from styleci
91543c185366dbef4749aa3552e186ce9190c78c
<ide><path>src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php <ide> use Illuminate\Queue\Console\FailedTableCommand; <ide> use Illuminate\Foundation\Console\AppNameCommand; <ide> use Illuminate\Foundation\Console\JobMakeCommand; <del>use Illuminate\Foundation\Console\RuleMakeCommand; <ide> use Illuminate\Da...
1
Javascript
Javascript
remove array creation from `getbreaks`
3e937e9dc08dc48026056e6c689025aa954a5edb
<ide><path>examples/jsm/csm/CSM.js <ide> const _lightSpaceFrustum = new Frustum(); <ide> const _frustum = new Frustum(); <ide> const _center = new Vector3(); <ide> const _bbox = new FrustumBoundingBox(); <add>const _uniformArray = []; <add>const _logArray = []; <ide> <ide> export default class CSM { <ide> <ide> expor...
1
Mixed
Go
support node label update
e1165cdfd1d666b1d4e041ef6a0d5fd049e041c1
<ide><path>api/client/node/accept.go <ide> func newAcceptCommand(dockerCli *client.DockerCli) *cobra.Command { <ide> } <ide> <ide> func runAccept(dockerCli *client.DockerCli, nodes []string) error { <del> accept := func(node *swarm.Node) { <add> accept := func(node *swarm.Node) error { <ide> node.Spec.Membership = s...
6
PHP
PHP
fix typo in urlgenerator
66ff9dfa46af106139f1a1f727f9ed051f494833
<ide><path>src/Illuminate/Routing/UrlGenerator.php <ide> protected function replaceNamedParameters($path, &$parameters) <ide> */ <ide> protected function addQueryString($uri, array $parameters) <ide> { <del> // If the URI has a fragmnet, we will move it to the end of the URI since it will <add> // If the URI has ...
1
PHP
PHP
update email.blade.php
c9820088e9a785639299e8569cce33592b485b0b
<ide><path>src/Illuminate/Notifications/resources/views/email.blade.php <ide> @component('mail::subcopy') <ide> @lang( <ide> "If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\n". <del> 'into your web browser: ', <add> 'into your web browser: [:actionURL](:actionURL)',...
1
PHP
PHP
use the slice method
c72dc3aa2f5d072c5b6a769b4683730bf7da7179
<ide><path>src/Illuminate/Support/Collection.php <ide> public function merge($items) <ide> */ <ide> public function forPage($page, $perPage) <ide> { <del> return new static(array_slice($this->items, ($page - 1) * $perPage, $perPage)); <add> return $this->slice(($page - 1) * $perPage, $perPage); <ide> } <ide> <i...
1
Ruby
Ruby
fix syntax warning
db2552828b9008d848e55b5e9e1442521d7ce593
<ide><path>Library/Homebrew/test/test_integration_cmds.rb <ide> def test_cellar_formula <ide> end <ide> <ide> def test_env <del> assert_match /CMAKE_PREFIX_PATH="#{HOMEBREW_PREFIX}[:"]/, <add> assert_match %r{CMAKE_PREFIX_PATH="#{HOMEBREW_PREFIX}[:"]}, <ide> cmd("--env") <ide> end <ide>
1
Ruby
Ruby
fix preload with nested associations
572dcdd7e858f126848bdf4f2be0f5cb0de7c026
<ide><path>activerecord/lib/active_record/associations/preloader/through_association.rb <ide> def run(preloader) <ide> <ide> owners.each do |owner| <ide> through_records = Array(owner.association(through_reflection.name).target) <add> <ide> if already_loaded <ide> if sou...
3
Python
Python
set version to v2.3.5
7b277661f6cc91765dbe8891b230bb0dd8bdb53f
<ide><path>spacy/about.py <ide> # fmt: off <ide> __title__ = "spacy" <del>__version__ = "2.3.4" <add>__version__ = "2.3.5" <ide> __release__ = True <ide> __download_url__ = "https://github.com/explosion/spacy-models/releases/download" <ide> __compatibility__ = "https://raw.githubusercontent.com/explosion/spacy-models/m...
1
Text
Text
fix spelling of api name in 10.0.0 changelog
ad5307f1b4bc2d6824207717a2964c917aff1cb9
<ide><path>doc/changelogs/CHANGELOG_V10.md <ide> * EventEmitter <ide> * The `EventEmitter.prototype.off()` method has been added as an alias for `EventEmitter.prototype.removeListener()`. [[`3bb6f07d52`](https://github.com/nodejs/node/commit/3bb6f07d52)] <ide> * File System <del> * The `fs.promises` API provides exp...
1
PHP
PHP
fix getoriginal() not preserving nulls
9515d83d1e3023bdee87ecc93ea6231b5af8c577
<ide><path>src/Datasource/EntityTrait.php <ide> public function set($property, $value = null, array $options = []) <ide> <ide> $this->dirty($p, true); <ide> <del> if (!isset($this->_original[$p]) && <del> isset($this->_properties[$p]) && <add> if (!array_key_exists($p,...
2
Javascript
Javascript
fix typos in reactserverrenderingtransaction.js
7b0764b1d255e7d420a7d6d359ec93783076b207
<ide><path>src/renderers/dom/server/ReactServerRenderingTransaction.js <ide> var Mixin = { <ide> * @see Transaction <ide> * @abstract <ide> * @final <del> * @return {array} Empty list of operation wrap proceedures. <add> * @return {array} Empty list of operation wrap procedures. <ide> */ <ide> getTran...
1
Ruby
Ruby
fix binary fixture test on windows
4b7f95eb8b45a32c470a414c7f536fb8cb029bda
<ide><path>activerecord/test/cases/fixtures_test.rb <ide> def test_subsubdir_file_with_arbitrary_name <ide> <ide> def test_binary_in_fixtures <ide> assert_equal 1, @binaries.size <del> data = File.read(ASSETS_ROOT + "/flowers.jpg") <add> data = File.open(ASSETS_ROOT + "/flowers.jpg", 'rb') { |f| f.read } <...
1
Javascript
Javascript
support specularglossiness materials
2dd56237b9fe14a03c0abfa67be0b5bfb03328ee
<ide><path>examples/js/exporters/GLTFExporter.js <ide> THREE.GLTFExporter.prototype = { <ide> <ide> } <ide> <del> if ( material.isShaderMaterial ) { <add> if ( material.isShaderMaterial && !material.isGLTFSpecularGlossinessMaterial ) { <ide> <ide> console.warn( 'GLTFExporter: THREE.ShaderMaterial not supp...
1
Python
Python
reset metric early
5944a544f7f629ed44016028ccb11563c4f61143
<ide><path>keras/engine/training.py <ide> class during training. This can be useful to tell the model to "pay <ide> self._assert_compile_was_called() <ide> self._check_call_args('train_on_batch') <ide> _disallow_inside_tf_function('train_on_batch') <add> if reset_metrics: <add> self.reset_metrics() ...
2
Java
Java
allow use of webfilters in routerfunction
30bd3d873682734502554a25db398906215c81f1
<ide><path>spring-web-reactive/src/main/java/org/springframework/web/reactive/function/RouterFunctions.java <ide> import org.springframework.util.Assert; <ide> import org.springframework.web.reactive.HandlerMapping; <ide> import org.springframework.web.server.ServerWebExchange; <add>import org.springframework.web.serve...
1
PHP
PHP
implement timeagoinwords() for date
1619c46cc3dffc52bc4facd9af3b9254cd7a89f1
<ide><path>src/I18n/Date.php <ide> class Date extends BaseDate implements JsonSerializable <ide> * @see \Cake\I18n\DateFormatTrait::nice() <ide> */ <ide> public static $niceFormat = [IntlDateFormatter::MEDIUM, -1]; <add> <add> /** <add> * The format to use when formatting a time using `Time::timeAg...
2
Text
Text
add 1.13.x changelog to master
ce29081d80b2893be84d495c61fba7ba4f7b8c3c
<ide><path>CHANGELOG.md <ide> information on the list of deprecated flags and APIs please have a look at <ide> https://docs.docker.com/engine/deprecated/ where target removal dates can also <ide> be found. <ide> <add>## 1.13.1 (2017-02-08) <add> <add>**IMPORTANT**: On Linux distributions where `devicemapper` was the d...
1
PHP
PHP
add typehint and remove no need new line
bb8d3755184246a91b22b270dd61631ae8c27228
<ide><path>src/Illuminate/Redis/Database.php <ide> public function __construct(array $servers = array()) <ide> * @param array $options <ide> * @return array <ide> */ <del> protected function createAggregateClient(array $servers, $options = []) <add> protected function createAggregateClient(array $servers, array...
2
Python
Python
add xfailing test for
c32290557ff3732134ae210e826adc2f7a1cd285
<ide><path>spacy/tests/regression/test_issue3288.py <add># coding: utf-8 <add>from __future__ import unicode_literals <add> <add>import pytest <add>import numpy <add>from spacy import displacy <add> <add>from ..util import get_doc <add> <add> <add>@pytest.mark.xfail <add>def test_issue3288(en_vocab): <add> """Test t...
1
Javascript
Javascript
support emit on nodeeventtarget
c5477be8a1a102bd4b87ba812241e6ac1dbbfd3b
<ide><path>lib/internal/event_target.js <ide> ObjectDefineProperty(Event.prototype, SymbolToStringTag, { <ide> value: 'Event', <ide> }); <ide> <add>class NodeCustomEvent extends Event { <add> constructor(type, options) { <add> super(type, options); <add> if (options && options.detail) { <add> this.detail...
4
Ruby
Ruby
add `uname` method
c90e63b2998312e4c9aa029599df2c0b184faaa6
<ide><path>Library/Homebrew/os.rb <ide> def self.kernel_version <ide> @kernel_version ||= Version.new(Utils.safe_popen_read("uname", "-r").chomp) <ide> end <ide> <add> # Get the kernel name. <add> # <add> # @api public <add> sig { returns(String) } <add> def self.uname <add> @uname ||= Utils.safe_popen_r...
1
Java
Java
remove soft error when creating preallocated view
db21584ba01ee9eda7f36b0e7ba13839b5fb1a47
<ide><path>ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java <ide> import com.facebook.common.logging.FLog; <ide> import com.facebook.infer.annotation.Assertions; <ide> import com.facebook.infer.annotation.ThreadConfined; <del>import com.facebook.react.bridge.ReactNoCrashSoftExce...
1
Javascript
Javascript
implement sampled functions based on the pdf spec
59283bdf6d439fdcd1a0ab07b318b48031091b34
<ide><path>src/function.js <ide> var PDFFunction = (function PDFFunctionClosure() { <ide> else <ide> decode = toMultiArray(decode); <ide> <del> // Precalc the multipliers <del> var inputMul = new Float64Array(inputSize); <del> for (var i = 0; i < inputSize; ++i) { <del> inputMul[i] ...
1
Java
Java
resolve ${} placeholders in @importresource
1a8f0d6a9e37d12b31a2fe7bc1fbc2c91700a08e
<ide><path>spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java <ide> protected final SourceClass doProcessConfigurationClass( <ide> String[] resources = importResource.getStringArray("value"); <ide> Class<? extends BeanDefinitionReader> readerClass = importResource.ge...
2
Ruby
Ruby
convert build_message to sprintf
9699eeb496d6faff6f7768cbfe0e281ce7ce089c
<ide><path>actionpack/lib/action_controller/test_case.rb <ide> def assert_template(options = {}, message = nil) <ide> when NilClass, String, Symbol <ide> options = options.to_s if Symbol === options <ide> rendered = @templates <del> msg = build_message(message, <del> "expecti...
1
Text
Text
add installation instructions for importmap-rails
6a674db689320b6794952f1b3f79f5b083ba3454
<ide><path>guides/source/working_with_javascript_in_rails.md <ide> manage your JavaScript dependencies, there is no need to install Node.js or Yarn <ide> When using import maps, no separate build process is required, just start your server with <ide> `bin/rails server` and you are good to go. <ide> <add>### Installing...
1
Text
Text
add vsemozhetbyt to collaborators
4895e0c1f0ab49d01da18d6d5d1c7cd938020cad
<ide><path>README.md <ide> more information about the governance of the Node.js project, see <ide> **Mike Tunnicliffe** &lt;m.j.tunnicliffe@gmail.com&gt; <ide> * [vkurchatkin](https://github.com/vkurchatkin) - <ide> **Vladimir Kurchatkin** &lt;vladimir.kurchatkin@gmail.com&gt; <add>* [vsemozhetbyt](https://github.com/v...
1
Go
Go
add test for keeping same daemon id on upgrade
f923321aae7a961e94c00207cc80e51d410c676d
<ide><path>daemon/config/config.go <ide> var flatOptions = map[string]bool{ <ide> var skipValidateOptions = map[string]bool{ <ide> "features": true, <ide> "builder": true, <add> // Corresponding flag has been removed because it was already unusable <add> "deprecated-key-path": true, <ide> } <ide> <ide> // skipDupli...
2
Python
Python
limit default for get_num_build_jobs() to 8
4c05fed01c68a305abf62135695bc61606746683
<ide><path>numpy/distutils/misc_util.py <ide> def get_num_build_jobs(): <ide> Get number of parallel build jobs set by the --parallel command line <ide> argument of setup.py <ide> If the command did not receive a setting the environment variable <del> NPY_NUM_BUILD_JOBS checked and if that is unset it re...
1
Ruby
Ruby
fix references to url
d97daa7c1b2203be02c69124bc7b3ae5f2b50f99
<ide><path>Library/Homebrew/download_strategy.rb <ide> def repo_valid? <ide> end <ide> <ide> def clone_repo <del> safe_system hgpath, "clone", url, cached_location <add> safe_system hgpath, "clone", @url, cached_location <ide> end <ide> <ide> def update <ide> def repo_valid? <ide> <ide> def clone_rep...
1
Text
Text
add note regarding file structure in src/readme.md
da3626adccdbe1ff8d7abf496e2906a91e308de4
<ide><path>src/README.md <ide> the [event loop][] and other operation system abstractions to Node.js. <ide> <ide> There is a [reference documentation for the libuv API][]. <ide> <add>## File structure <add> <add>The Node.js C++ files follow this structure: <add> <add>The `.h` header files contain declarations, and so...
1
PHP
PHP
update compiled classes
b622dc2182b246a4a3c1f4e65bff686e655ce46c
<ide><path>src/Illuminate/Foundation/Console/Optimize/config.php <ide> $basePath.'/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Attribute/AttributeBag.php', <ide> $basePath.'/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php', <ide> ...
1
Python
Python
apply emoticon exceptions to tokenizer
0d07d7fc80b6b1a16a164326b1b144962c743dca
<ide><path>spacy/en/language_data.py <ide> from __future__ import unicode_literals <ide> import re <ide> from ..symbols import * <add>from ..language_data import EMOTICONS <ide> <ide> <ide> PRON_LEMMA = "-PRON-" <ide> "z." <ide> ] <ide> <del>overlap = set(TOKENIZER_EXCEPTIONS.keys()).intersection(set(self_map)) ...
2
Go
Go
update restrictions for better handling of mounts
f5139233b930e436707a65cc032aa2952edd6e4a
<ide><path>daemon/execdriver/lxc/driver.go <ide> package lxc <ide> <ide> import ( <ide> "fmt" <del> "github.com/dotcloud/docker/daemon/execdriver" <del> "github.com/dotcloud/docker/pkg/cgroups" <del> "github.com/dotcloud/docker/pkg/label" <del> "github.com/dotcloud/docker/pkg/libcontainer/security/restrict" <del> "gi...
8
Javascript
Javascript
ignore limit when invalid
a3c3bf3332e5685dc319c46faef882cb6ac246e1
<ide><path>src/ng/filter/limitTo.js <ide> * @param {string|number} limit The length of the returned array or string. If the `limit` number <ide> * is positive, `limit` number of items from the beginning of the source array/string are copied. <ide> * If the number is negative, `limit` number of items from th...
2
Ruby
Ruby
use helper methods
7ac337181a3abbecc99c36d3702e7a0662117584
<ide><path>Library/Homebrew/diagnostic.rb <ide> def check_homebrew_prefix <ide> end <ide> <ide> def check_deleted_formula <del> formulae = Dir.children(HOMEBREW_CELLAR) <del> formulae.delete(".keepme") <add> kegs = Keg.all <ide> deleted_formulae = [] <del> formulae.each ...
1
Mixed
Go
use the new error package
628b9a41b09fde3ce1493f7d4f1495b9afaa506c
<ide><path>api/errors/README.md <add>Docker 'errors' package <add>======================= <add> <add>This package contains all of the error messages generated by the Docker <add>engine that might be exposed via the Docker engine's REST API. <add> <add>Each top-level engine package will have its own file in this directo...
9
PHP
PHP
add methods to get plugin's template path
b31228ca6102a067956c85b1df21ca5c38053031
<ide><path>src/Core/BasePlugin.php <ide> class BasePlugin implements PluginInterface <ide> */ <ide> protected $configPath; <ide> <add> /** <add> * The templates path for this plugin. <add> * <add> * @var string <add> */ <add> protected $templatePath; <add> <ide> /** <ide> * The ...
5
Javascript
Javascript
reduce android 2.3 support
ce3b4a62427c5a3a6669dcb8bf8e27a6287990d5
<ide><path>src/ajax/parseJSON.js <ide> define( [ <ide> "../core" <ide> ], function( jQuery ) { <ide> <del>// Support: Android 2.3 <del>// Workaround failure to string-cast null input <del>jQuery.parseJSON = function( data ) { <del> return JSON.parse( data + "" ); <del>}; <add>jQuery.parseJSON = JSON.parse; <ide> <id...
7
Javascript
Javascript
use runtime globals in shared plugin
9fa45137d87ad18647c2d51126fe5cc80255e52e
<ide><path>lib/sharing/ConsumeSharedPlugin.js <ide> class ConsumeSharedPlugin { <ide> PLUGIN_NAME, <ide> (chunk, set) => { <ide> set.add(RuntimeGlobals.module); <add> set.add(RuntimeGlobals.moduleCache); <ide> set.add(RuntimeGlobals.moduleFactoriesAddOnly); <ide> set.add(RuntimeGlobals....
2
Text
Text
apply suggestions from code review
08e3995add441edb5dc23362b05f1c725f3bb024
<ide><path>docs/recipes/WritingTests.md <ide> As such, the Redux code can be treated as an implementation detail of the app, w <ide> The general advice for testing an app using Redux is as follows: <ide> <ide> - Use integration tests for everything working together. I.e. for a React app using Redux, render a `<Provide...
1
Python
Python
handle large negative np.int64 args in binary_repr
dd9051c78476be2bc2cbf03ab895e8dde5ca14ca
<ide><path>numpy/core/numeric.py <ide> def warn_if_insufficient(width, binwidth): <ide> "will raise an error in the future.", DeprecationWarning, <ide> stacklevel=3) <ide> <add> # Ensure that num is a Python integer to avoid overflow or unwanted <add> # casts to floating point. <a...
2
Javascript
Javascript
add strict equalities in src/core/bidi.js
84503c656d7549b0a59f05e2e12ec7e67b47d171
<ide><path>src/core/bidi.js <ide> var bidi = PDFJS.bidi = (function bidiClosure() { <ide> <ide> function findUnequal(arr, start, value) { <ide> for (var j = start, jj = arr.length; j < jj; ++j) { <del> if (arr[j] != value) { <add> if (arr[j] !== value) { <ide> return j; <ide> } <ide> ...
1
Ruby
Ruby
fix tests on 1.9
b2d6fdae353be4fca41d7ac1839f30d9737162fd
<ide><path>actionpack/lib/action_view/helpers/number_helper.rb <add>require 'active_support/core_ext/float/rounding' <add> <ide> module ActionView <ide> module Helpers #:nodoc: <ide> # Provides methods for converting numbers into formatted strings. <ide><path>activemodel/lib/active_model/core.rb <ide> begin <ide>...
4
Python
Python
determine complex types using typecodes
f59e22561e02a185e57d67d07b423fd429ea35bb
<ide><path>numpy/ma/tests/test_core.py <ide> def test_inplace_multiplication_array_type(self): <ide> def test_inplace_floor_division_scalar_type(self): <ide> # Test of inplace division <ide> # Check for TypeError in case of unsupported types <del> unsupported = {np.complex64, np.complex128, n...
1
Mixed
Javascript
use function declarations
a180259e428fbc3e220abdceb74d941482b87d40
<ide><path>doc/api/util.md <ide> Returns `true` if the given `object` is a `Function`. Otherwise, returns <ide> const util = require('util'); <ide> <ide> function Foo() {} <del>const Bar = function() {}; <add>const Bar = () => {}; <ide> <ide> util.isFunction({}); <ide> // Returns: false <ide><path>lib/_tls_legacy.js ...
39
PHP
PHP
apply styleci fixes
9f3b5e822b963433b400f07a1e9db52ae525660f
<ide><path>tests/Database/DatabaseEloquentModelTest.php <ide> public function testModelObserversCanBeAttachedToModelsThroughCallingObserveMeth <ide> $events->shouldReceive('forget'); <ide> EloquentModelStub::observe([ <ide> 'Illuminate\Tests\Database\EloquentTestObserverStub', <del> ...
1
Ruby
Ruby
require only minitest
73c6ca87a36336c360db66a751c66e11f7886788
<ide><path>actionpack/lib/action_dispatch/testing/integration.rb <ide> require 'active_support/core_ext/kernel/singleton_class' <ide> require 'active_support/core_ext/object/try' <ide> require 'rack/test' <del>require 'minitest/autorun' <add>require 'minitest' <ide> <ide> module ActionDispatch <ide> module Integrati...
2
Text
Text
add information about where application is located
5316d586d12518e1ce8707f3715c6e64acdff102
<ide><path>docs/build-instructions/windows.md <ide> cd C:\ <ide> git clone https://github.com/atom/atom/ <ide> cd atom <del> script\build <add> script\build # Creates application in the `Program Files` directory <ide> ``` <ide> <ide> ## Why do I have to use GitHub for Windows?
1
PHP
PHP
use array_pull for session pull
76e4be8628d695aa3e1e683fb32c06addf0fa28d
<ide><path>src/Illuminate/Session/Store.php <ide> public function get($name, $default = null) <ide> */ <ide> public function pull($key, $default = null) <ide> { <del> $value = $this->get($key, $default); <del> <del> $this->forget($key); <del> <del> return $value; <add> return array_pull($this->attributes, $key,...
1
Text
Text
add history for url.parse
fafd5b07588733ef87767cf9e156f62bcb8f09c0
<ide><path>doc/api/url.md <ide> The formatting process operates as follows: <ide> ### url.parse(urlString[, parseQueryString[, slashesDenoteHost]]) <ide> <!-- YAML <ide> added: v0.1.25 <add>changes: <add> - version: v9.0.0 <add> pr-url: https://github.com/nodejs/node/pull/13606 <add> description: The `search` pr...
1
Python
Python
detect invalid user/password correctly
0de209ece9d375eeb6227fc386c5933823ea05ef
<ide><path>libcloud/drivers/gogrid.py <ide> <ide> class GoGridResponse(Response): <ide> def success(self): <add> if self.status == 403: <add> raise InvalidCredsException() <ide> if not self.body: <ide> return None <ide> return json.loads(self.body)['status'] == 'success'
1
Ruby
Ruby
remove special case filtering for procs
d5ac941ddc3de7ad1aaff80ed67aa04fb626a263
<ide><path>actionpack/test/controller/filters_test.rb <ide> class << self <ide> <ide> def before_actions <ide> filters = _process_action_callbacks.select { |c| c.kind == :before } <del> filters.map!(&:raw_filter) <add> filters.map!(&:filter) <ide> end <ide> end <ide> end <ide><path>activesupp...
4
Javascript
Javascript
remove missing link from modal doc
dbc853246d956a0d8dfc6e5b95436f59ea069bbc
<ide><path>Libraries/Modal/Modal.js <ide> const RCTModalHostView = requireNativeComponent('RCTModalHostView', null); <ide> * The Modal component is a simple way to present content above an enclosing view. <ide> * <ide> * _Note: If you need more control over how to present modals over the rest of your app, <del> * th...
1
Javascript
Javascript
add regex check in test-url-parse-invalid-input
7906ed50fab6d3e8f6bd259484c465f2df1bc754
<ide><path>test/parallel/test-url-parse-invalid-input.js <ide> const url = require('url'); <ide> 0.0, <ide> 0, <ide> [], <del> {} <del>].forEach(function(val) { <del> assert.throws(function() { url.parse(val); }, TypeError); <add> {}, <add> () => {}, <add> Symbol('foo') <add>].forEach((val) => { <add> asser...
1
Java
Java
expose id from clienthttpresponse
55aa8e914ed2e6808a7599842414152248cbe00c
<ide><path>spring-web/src/main/java/org/springframework/http/client/reactive/ClientHttpResponse.java <ide> /* <del> * Copyright 2002-2019 the original author or authors. <add> * Copyright 2002-2021 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> *...
4
Python
Python
add examples to numpy.char.replace
9b94c6fed78d8aaf358f7552c17754037b3bf320
<ide><path>numpy/core/defchararray.py <ide> def replace(a, old, new, count=None): <ide> See Also <ide> -------- <ide> str.replace <add> <add> Examples <add> -------- <add> >>> a = np.array(["That is a mango", "Monkeys eat mangos"]) <add> >>> np.char.replace(a, 'mango', 'banana') <add> arr...
1
Java
Java
reduce logcat spew when checking packager status
05c79059aefdd60e813223319abd9da564137253
<ide><path>ReactAndroid/src/main/java/com/facebook/react/devsupport/DevServerHelper.java <ide> public void isPackagerRunning(final PackagerStatusCallback callback) { <ide> new Callback() { <ide> @Override <ide> public void onFailure(Request request, IOException e) { <del> FLog.e(R...
1
Javascript
Javascript
document the `multiple` attribute
865f6065e745c1143c3de8aa97d90147e549845e
<ide><path>src/ng/directive/select.js <ide> var SelectController = <ide> * <ide> * @param {string} ngModel Assignable angular expression to data-bind to. <ide> * @param {string=} name Property name of the form under which the control is published. <add> * @param {string=} multiple Allows multiple options to be selec...
1
PHP
PHP
replace custom implementation
394f0fecfa84764f66c49c3b025dd7eb26aa61cd
<ide><path>src/Illuminate/Console/ConfirmableTrait.php <ide> public function confirmToProceed($warning = 'Application In Production!', $callb <ide> return true; <ide> } <ide> <del> $this->comment(str_repeat('*', strlen($warning) + 12)); <del> $this->comment('* '.$w...
1
Text
Text
update pr-url for dep0016 eol
cd0f5a239e5c0d1f6fd374741173d62d2df64340
<ide><path>doc/api/deprecations.md <ide> The [`fs.readSync()`][] legacy `String` interface is deprecated. Use the <ide> <!-- YAML <ide> changes: <ide> - version: REPLACEME <del> pr-url: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/31167 <ide> description: End-of-Life <ide> - version: v6.12....
1
Python
Python
pass request to schema generation
b50d8950eeeac03843b9da1cb96ba52b5b98c8bc
<ide><path>rest_framework/schemas.py <ide> def __init__(self, title=None, url=None, patterns=None, urlconf=None): <ide> urls = import_module(urlconf) <ide> else: <ide> urls = urlconf <del> patterns = urls.urlpatterns <add> self.patterns = urls.urlpattern...
2
Javascript
Javascript
use same example code for async effect warning
f0621fe232f31cb0fcd63992c3440ec1b4ce5813
<ide><path>packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js <ide> const tests = { <ide> errors: [ <ide> `Effect callbacks are synchronous to prevent race conditions. ` + <ide> `Put the async function inside:\n\n` + <del> `useEffect(() => {\n` + <del> ...
3
PHP
PHP
apply fixes from styleci
c53166e55270dca0d19db280f970d9ba86089ee3
<ide><path>tests/Queue/RedisQueueIntegrationTest.php <ide> <?php <ide> <ide> use Mockery as m; <add>use Carbon\Carbon; <ide> use Illuminate\Redis\Database; <ide> use Illuminate\Queue\RedisQueue; <ide> use Illuminate\Container\Container;
1
Python
Python
fix bug in `learning_rate` config
177e2d71760a1207ddc7bb2dc737a3720bc63036
<ide><path>official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_deeplab.py <ide> def panoptic_deeplab_coco() -> cfg.ExperimentConfig: <ide> <ide> config = cfg.ExperimentConfig( <ide> runtime=cfg.RuntimeConfig( <del> mixed_precision_dtype='float32', enable_xla=True), <add> mixed_pr...
1
Javascript
Javascript
avoid side-effects when calling jquery.hasdata
332a490573bbbd9e7df1381bde8f590240cb8679
<ide><path>src/data.js <ide> function Data() { <ide> Data.uid = 1; <ide> <ide> Data.prototype = { <del> key: function( owner ) { <add> key: function( owner, options ) { <ide> var descriptor = {}, <ide> // Check if the owner object already has a cache key <ide> unlock = owner[ this.expando ]; <ide> <add> // `...
2
Ruby
Ruby
add link to pypi downloads page to problem message
70dfaf3b42f263a83edf35934f6b360a6bf927cd
<ide><path>Library/Homebrew/rubocops/urls.rb <ide> def audit_formula(_node, _class_node, _parent_class_node, body_node) <ide> <ide> # Check pypi urls <ide> pypi_pattern = %r{^https?://pypi.python.org/} <del> audit_urls(urls, pypi_pattern) do <del> problem "use the `files.pythonh...
2