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
Python
Python
fix _autodiscover_tasks_from_fixups function
a9b1918ac670dd27a55f20ab37c86d8bc8454f3a
<ide><path>celery/app/base.py <ide> def _autodiscover_tasks_from_names(self, packages, related_name): <ide> def _autodiscover_tasks_from_fixups(self, related_name): <ide> return self._autodiscover_tasks_from_names([ <ide> pkg for fixup in self._fixups <del> for pkg in fixup.autodiscov...
1
Text
Text
add changelog for [ci skip]
34914c6fd7719019ad05ad6024115a91c0adc47b
<ide><path>guides/CHANGELOG.md <add>* New section in Active Record Querying: Understanding The Method Chaining <add> <add> *andreynering* <add> <ide> Please check [4-2-stable](https://github.com/rails/rails/blob/4-2-stable/guides/CHANGELOG.md) for previous changes.
1
Python
Python
fix typo in errors
7961a0a959e6860bc9b2eb9d487a77de84758ae9
<ide><path>spacy/errors.py <ide> class Errors(metaclass=ErrorsWithCodes): <ide> "components, since spans are only views of the Doc. Use Doc and " <ide> "Token attributes (or custom extension attributes) only and remove " <ide> "the following: {attrs}") <del> E181 = ("Received inva...
1
PHP
PHP
canonicalize locale string
a895c4d995eae8d41103d2f061c9190e38ea1127
<ide><path>src/I18n/PluralRules.php <ide> namespace Cake\I18n; <ide> <ide> use Cake\Core\Exception\CakeException; <add>use Locale; <ide> <ide> /** <ide> * Utility class used to determine the plural number to be used for a variable <del> * base on the locale <add> * base on the locale. <add> * <add> * @internal <ide>...
2
PHP
PHP
remove unneeded table name
c18ee4917de589da78813c37a7966b450a89a10c
<ide><path>app/User.php <ide> class User extends Model implements <ide> { <ide> use Authenticatable, Authorizable, CanResetPassword; <ide> <del> /** <del> * The database table used by the model. <del> * <del> * @var string <del> */ <del> protected $table = 'users'; <del> <ide> /** <ide> ...
1
PHP
PHP
refactor the connector class
e78a5b0ad37d84778a8f26d04f58558bb713d493
<ide><path>system/db/connector.php <ide> private function connect_to_server($config) <ide> { <ide> $dsn = $config->driver.':host='.$config->host.';dbname='.$config->database; <ide> <del> if (isset($config->port)) <del> { <del> $dsn .= ';port='.$config->port; <del> } <add> if (isset($config->port)) $dsn .= ';p...
1
Javascript
Javascript
keep track of charscale, wordscale and texthscale
61d517a78076ffc666b7486ace69935f312459d1
<ide><path>pdf.js <ide> var PDFDoc = (function() { <ide> return constructor; <ide> })(); <ide> <del>var IDENTITY_MATRIX = [ 1, 0, 0, 1, 0, 0 ]; <del> <del>// <canvas> contexts store most of the state we need natively. <del>// However, PDF needs a bit more state, which we store here. <del>var CanvasExtraState = (fu...
1
Python
Python
fix module path for symbolic_trace example
68a441fa4ce8786e2a19ae8856592536a9f77c3c
<ide><path>src/transformers/utils/fx.py <ide> def symbolic_trace( <ide> <ide> Example:: <ide> <del> from transformers.modeling_fx_utils import symbolic_trace <add> from transformers.utils.fx import symbolic_trace <ide> traced_model = symbolic_trace( <ide> model, <ide> ...
1
Text
Text
add readme entry
09d41a474b9e3a85976b5e00362f6072c0b24fd6
<ide><path>README.md <ide> versions of jQuery. <ide> 2. Run `npm test` to run a basic test suite or run `TEST_SUITE=all npm test` to <ide> run a more comprehensive suite. <ide> <add>## From ember-cli <add> <add>1. ember test --server <add>2. connect the browsers you want <add>3. if phantom didn't connect automatica...
1
Javascript
Javascript
add uuid for shader and uniforms
648a85d025925d3a57738887607454c6cde1758f
<ide><path>examples/js/nodes/NodeMaterial.js <ide> THREE.NodeMaterial = function ( vertex, fragment ) { <ide> <ide> THREE.ShaderMaterial.call( this ); <ide> <add> this.defines.UUID = THREE.Math.generateUUID(); <add> <ide> this.vertex = vertex || new THREE.RawNode( new THREE.PositionNode( THREE.PositionNode.PROJECTI...
1
Javascript
Javascript
update title meta
2959196b356822fedce1f94b5c8887e2d1f0c94c
<ide><path>client/src/components/landing/index.js <ide> export const Landing = ({ page = 'landing' }) => { <ide> return ( <ide> <Fragment> <ide> <Helmet> <del> <title>Learn to code at home | freeCodeCamp.org</title> <add> <title>Learn to Code for Free – Coding Courses for Busy People</title> <...
4
Javascript
Javascript
replace uimanager with stub for bridgeless rn
2ae43e5aa0c18ec8a8877e077d0975cbc043443b
<ide><path>Libraries/ReactNative/DummyUIManager.js <add>/** <add> * Copyright (c) Facebook, Inc. and its affiliates. <add> * <add> * This source code is licensed under the MIT license found in the <add> * LICENSE file in the root directory of this source tree. <add> * <add> * @flow <add> * @format <add> */ <add>'use st...
3
Text
Text
update the complementary color section
06111e2eaf8bee5c96ad4d46d1a4e6a28af74684
<ide><path>guide/english/visual-design/color-theory/index.md <ide> successful a product is. <ide> <ide> **Complementary Colors:** <ide> Red-green, yellow-purple, blue-orange <del>These are colors formed by mixing colors that are oppsite from each other on the color wheel. <add>These are colors formed by mixing colors ...
1
PHP
PHP
fix closure problem
07de62a58b7133165d5df6a2da5ef7902a3f28fd
<ide><path>src/Illuminate/View/Compilers/BladeCompiler.php <ide> protected function compileRegularEchos($value) <ide> <ide> $callback = function($matches) use ($me) <ide> { <del> return $matches[1] ? substr($matches[0], 1) : '<?php echo '.$this->compileEchoDefaults($matches[2]).'; ?>'; <add> return $matches[1]...
1
Python
Python
improve error messages in convolutional.py
a4aeb3755594d0c0796c23eb60d9536760c4ce24
<ide><path>keras/layers/convolutional.py <ide> def __init__(self, <ide> filters = int(filters) <ide> if filters is not None and filters < 0: <ide> raise ValueError(f'Received a negative value for `filters`.' <del> f'Was expecting a positive value, got {filters}.') <add> ...
2
Ruby
Ruby
provide a better location in 'odeprecated'
0a33cc591d258e07f2279bc0440d62e38983fd67
<ide><path>Library/Homebrew/utils.rb <ide> def odeprecated(method, replacement = nil, options = {}) <ide> "There is no replacement." <ide> end <ide> <del> # Show the first location that's not in compat. <del> backtrace = options[:caller] || caller <del> caller_message = backtrace[1] <add> # Try to show the m...
1
PHP
PHP
clarify doc blocks
39fdafbde5f8a12c9b97c7afd481d26fa8ae50e2
<ide><path>src/Collection/CollectionInterface.php <ide> public function listNested($dir = 'desc', $nestingKey = 'children'); <ide> public function stopWhen($condition); <ide> <ide> /** <del> * Creates a new collection where the items that it will contain are the <add> * Creates a new collection where t...
2
Java
Java
add marbles for single.concat operator
bb939111a026a12880a1e9b75c5579c366177fe0
<ide><path>src/main/java/io/reactivex/Single.java <ide> public static <T> Single<T> ambArray(final SingleSource<? extends T>... sources) <ide> /** <ide> * Concatenate the single values, in a non-overlapping fashion, of the SingleSources provided by <ide> * an Iterable sequence. <add> * <p> <add> *...
1
Mixed
Python
extend example to ensure the text is preserved
bb9d2f15466ba32e221ec7138cfb30c1f0aabad6
<ide><path>spacy/tests/test_language.py <ide> def __init__(self, vocab): <ide> self.vocab = vocab <ide> <ide> def __call__(self, text): <del> words = text.split() <del> return Doc(self.vocab, words=words) <add> words = text.split(" ") <add> spaces = [True...
2
Java
Java
simplify aot contribution for scoped proxies
affccba8f1beccdb5910e4a0e909701d33255db5
<ide><path>spring-aop/src/main/java/org/springframework/aop/scope/ScopedProxyBeanRegistrationAotProcessor.java <ide> public CodeBlock generateInstanceSupplierCode(GenerationContext generationContex <ide> <ide> GeneratedMethod generatedMethod = beanRegistrationCode.getMethods() <ide> .add("getScopedProxyInstanc...
1
Ruby
Ruby
use object id as the weak ref key
d6edefb5a7c1ad56c464ce5ca273a2db736e7b6e
<ide><path>lib/arel/session.rb <ide> def create(insert) <ide> end <ide> <ide> def read(select) <del> (@read ||= Hash.new do |hash, x| <del> hash[x] = x.call <del> end)[select] <add> @read ||= {} <add> key = select.object_id <add> return @read[key] if @read.key? k...
1
Text
Text
add note on origin of manually moved agreement
e7b78370d99a59a80119ae1641b97ebbbb60088b
<ide><path>.github/contributors/shuvanon.md <add><!-- This agreement was mistakenly submitted as an update to the CONTRIBUTOR_AGREEMENT.md template. Commit: 8a2d22222dec5cf910df5a378cbcd9ea2ab53ec4. It was therefore moved over manually. --> <add> <ide> # spaCy contributor agreement <ide> <ide> This spaCy Contributor A...
1
Ruby
Ruby
move all the "order by" together
3cbafe833b5c388403cd78c3bcb278850733d032
<ide><path>lib/arel/visitors/mssql.rb <ide> def visit_Arel_Nodes_SelectStatement o <ide> return super o <ide> end <ide> <del> select_order_by = "ORDER BY #{o.orders.map { |x| visit x }.join(', ')}" unless o.orders.empty? <del> <ide> is_select_count = false <ide> sql = o.cores.m...
1
Python
Python
use absl app
4c6181f1040f0e2b208d03ca48a7be49dfcff6e7
<ide><path>official/nlp/transformer/data_download.py <ide> import tarfile <ide> <ide> # pylint: disable=g-bad-import-order <del>from absl import app as absl_app <add>from absl import app <ide> from absl import flags <ide> from absl import logging <ide> import six <ide> def define_data_download_flags(): <ide> logging...
1
PHP
PHP
move middleware into more relevant packages
4de7bae59b3d7f622c023cfe75115062049cc855
<add><path>src/Error/Middleware/ErrorHandlerMiddleware.php <del><path>src/Http/Middleware/ErrorHandlerMiddleware.php <ide> * @since 3.3.0 <ide> * @license http://www.opensource.org/licenses/mit-license.php MIT License <ide> */ <del>namespace Cake\Http\Middleware; <add>namespace Cake\Error\Middleware; <...
4
Ruby
Ruby
update mysql for new exec_insert signature
3475051f7ff8d29eb779618c8f06e725b3889698
<ide><path>activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb <ide> def insert_sql(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil) <ide> end <ide> alias :create :insert_sql <ide> <del> def exec_insert(sql, name, binds) <add> def exec_insert(sql, name, binds, pk =...
1
Python
Python
remove unused variable
f053fd80643910501bd5311d87f3f3a3d1892223
<ide><path>libcloud/container/drivers/kubernetes.py <ide> def _to_node(self, data): <ide> ID = data["metadata"]["uid"] <ide> name = data["metadata"]["name"] <ide> driver = self.connection.driver <del> namespace = "undefined" <ide> memory = data["status"].get("capacity", {}).get("m...
1
PHP
PHP
terminate the request after sending
46d1a27b772612a95147e56dd20b29175e8ab845
<ide><path>public/index.php <ide> | <ide> */ <ide> <del>$response = $app->make('Illuminate\Contracts\Http\Kernel')->handle( <del> Illuminate\Http\Request::capture() <add>$kernel = $app->make('Illuminate\Contracts\Http\Kernel'); <add> <add>$response = $kernel->handle( <add> $request = Illuminate\Http\Request::capture()...
1
Go
Go
add unit test to daemon.searchregistryforimages…
636c276f67b3cd96a95dec2f6cfc419b7f219892
<ide><path>api/client/run.go <ide> func (cli *DockerCli) CmdRun(args ...string) error { <ide> } <ide> <ide> //start the container <del> if err := cli.client.ContainerStart(ctx, createResponse.ID); err != nil { <add> if err := cli.client.ContainerStart(ctx, createResponse.ID, ""); err != nil { <ide> // If we have h...
11
Python
Python
fix scalar inf comparison in allclose
4de81d32d97a2efb1023ca0c19e36990f1ba64a4
<ide><path>numpy/core/numeric.py <ide> def identity(n, dtype=None): <ide> a = array([1]+n*[0],dtype=dtype) <ide> b = empty((n,n),dtype=dtype) <ide> <del> # Note that this assignment depends on the convention that since the a array <del> # is shorter than the flattened b array, then the a array will be re...
1
Python
Python
squad v2 bert + xlnet
0669c1fcd15051ec6fe2d950079886faccf2fb33
<ide><path>transformers/__init__.py <ide> glue_output_modes, glue_convert_examples_to_features, <ide> glue_processors, glue_tasks_num_labels, <ide> squad_convert_examples_to_features, SquadFeatures, <del> SquadExample, read_squad_examples) <add...
4
Text
Text
fix id in example
5c8b5e3b1b6341d3b328dfcfb6536adb73d40890
<ide><path>docs/recipes/structuring-reducers/NormalizingStateShape.md <ide> An example of a normalized state structure for the blog example above might look <ide> comment : ".....", <ide> }, <ide> }, <del> allIds : ["comment1", "comment2", "comment3", "commment4", "comment5"] ...
1
Javascript
Javascript
add attributedivisors to state
c6c305a39de6cebb5c0d5a5ca3a5481603556247
<ide><path>src/renderers/webgl/WebGLState.js <ide> THREE.WebGLState = function ( gl, extensions, paramThreeToGL ) { <ide> <ide> var newAttributes = new Uint8Array( 16 ); <ide> var enabledAttributes = new Uint8Array( 16 ); <add> var attributeDivisors = new Uint8Array( 16 ); <ide> <ide> var capabilities = {}; <ide>
1
Python
Python
add fp16 benchmarks to ncf
3b69c26fed693b45bfdce84bfc3e1b07a13bb1e2
<ide><path>official/recommendation/ncf_keras_benchmark.py <ide> def benchmark_1_gpu_ctl_mlperf_like(self): <ide> self._run_and_report_benchmark_mlperf_like() <ide> <ide> def benchmark_1_gpu_ctl_fp16_mlperf_like(self): <del> """1 GPU using CTL.""" <add> """1 GPU using CTL and FP16.""" <ide> self._setup(...
1
PHP
PHP
make url() interoperable with psr7
2e97ed6c621e3de25e0f1bbc1ee4bcb8dd1a41eb
<ide><path>src/Http/Client/Request.php <ide> * <ide> * Used by Cake\Network\Http\Client to contain request information <ide> * for making requests. <del> * <ide> */ <ide> class Request extends Message implements RequestInterface <ide> { <ide> class Request extends Message implements RequestInterface <ide> */ <...
2
Ruby
Ruby
move stuff from compatibility.rb to deprecated.rb
48bb3b3904806abaea7c62961559c03e689dd12f
<ide><path>actionpack/lib/action_controller/base.rb <ide> def self.filter_parameter_logging(*args, &block) <ide> <ide> end <ide> end <add> <add>require "action_controller/deprecated/base" <ide><path>actionpack/lib/action_controller/deprecated/base.rb <add>module ActionController <add> class Base <add> class << s...
4
Java
Java
remove variance from the input source of retrywhen
19d83c148eea5cf789761020638d36b3fee015b3
<ide><path>src/main/java/io/reactivex/Completable.java <ide> public final Completable retry(Predicate<? super Throwable> predicate) { <ide> * @throws NullPointerException if handler is null <ide> */ <ide> @SchedulerSupport(SchedulerSupport.NONE) <del> public final Completable retryWhen(Function<? super...
6
PHP
PHP
require files more than once
9740c18b9213d0da7cc0e8648b3a13053d5a7721
<ide><path>src/Core/BasePlugin.php <ide> public function routes($routes) <ide> { <ide> $path = $this->getConfigPath() . DS . 'routes.php'; <ide> if (file_exists($path)) { <del> require_once $path; <add> require $path; <ide> } <ide> } <ide> <ide> public function boo...
1
Python
Python
remove dead code from shakespeare_main model
6d6ab9ca95eeaa54d595a165815c9811d26f1c66
<ide><path>official/staging/shakespeare/shakespeare_main.py <ide> def build_model(vocab_size, <ide> Returns: <ide> A Keras Model. <ide> """ <del> # In V1 there is a separate class for CuDNN. In V2 the LSTM class will use <del> # CuDNN automatically if applicable. <del> if use_cudnn and not keras_utils.is_v2_...
1
Ruby
Ruby
remove warnings on ruby trunk
d48222d22ef576c1b429ec2321c712bc221698d7
<ide><path>guides/bug_report_templates/action_controller_master.rb <del>unless File.exists?('Gemfile') <add>unless File.exist?('Gemfile') <ide> File.write('Gemfile', <<-GEMFILE) <ide> source 'https://rubygems.org' <ide> gem 'rails', github: 'rails/rails' <ide> def test_returns_success <ide> def app <ide> ...
5
Text
Text
add drf-base64 to third-party serializers
d98a0772d0423b8f5f49b8198af72020fad2d570
<ide><path>docs/api-guide/serializers.md <ide> The [drf-dynamic-fields][drf-dynamic-fields] package provides a mixin to dynamic <ide> <ide> The [html-json-forms][html-json-forms] package provides an algorithm and serializer for processing `<form>` submissions per the (inactive) [HTML JSON Form specification][json-form...
1
Javascript
Javascript
add options hash to replacewith docs
aa65e1c93c8bbbd6913c68d02045ac36b0a6dd1a
<ide><path>packages/ember-routing/lib/system/route.js <ide> let Route = EmberObject.extend(ActionHandler, Evented, { <ide> @param {String} name the name of the route or a URL <ide> @param {...Object} models the model(s) or identifier(s) to be used while <ide> transitioning to the route. <add> @param {O...
1
PHP
PHP
fix coding standards
89100f947682ae0cdbc383a3dfbd152c5da884d5
<ide><path>lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php <ide> public function insertCallback($table, $fields, $values) { <ide> $this->insertMulti['fields'] = $fields; <ide> $this->insertMulti['values'] = $values; <ide> $this->insertMulti['fields_values'] = array(); <del> foreach($values as $record) { <ad...
3
Ruby
Ruby
add free_port test helper
bfcba0f5f0a4c039939441c6f257b771f054c649
<ide><path>Library/Homebrew/dev-cmd/test.rb <ide> def test <ide> test_args.parse <ide> <ide> require "formula_assertions" <add> require "formula_free_port" <ide> <ide> args.resolved_formulae.each do |f| <ide> # Cannot test uninstalled formulae <ide><path>Library/Homebrew/formula_free_port.rb <add...
4
PHP
PHP
add better tests for hasone
0fc7f57c7b6422b7e3ecd4fa2fbcaf5603607b88
<ide><path>tests/Fixture/ProfilesFixture.php <add><?php <add>/** <add> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <add> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <add> * <add> * Licensed under The MIT License <add> * For full copyright and license information, plea...
2
PHP
PHP
add conditional container templates
61c41758f949c173528f84fa8e3cfb7b17a71e7e
<ide><path>src/View/Helper/FormHelper.php <ide> public function input($fieldName, array $options = []) { <ide> $errorSuffix = empty($error) ? '' : 'Error'; <ide> unset($options['error']); <ide> } <del> $template = 'inputContainer' . $errorSuffix; <add> <add> $template = $options['type'] . 'Container' . $error...
2
Ruby
Ruby
use version dups for resources (#534)
242508fca4d2b167cef3c355722f3471594d7b4b
<ide><path>Library/Homebrew/software_spec.rb <ide> def owner=(owner) <ide> @resource.owner = self <ide> resources.each_value do |r| <ide> r.owner = self <del> r.version ||= version <add> r.version ||= (version.head? ? Version.create("HEAD") : version.dup) <ide> end <ide> patches.each...
1
Javascript
Javascript
remove legacypromise from src/core/obj.js
8616b2ccf3eea55e59bb5c7c0af292a55f77dd68
<ide><path>src/core/obj.js <ide> isStream, Lexer, Page, Parser, Promise, shadow, <ide> stringToPDFString, stringToUTF8String, warn, isString, <ide> Promise, MissingDataException, XRefParseException, Stream, <del> ChunkedStream, LegacyPromise */ <add> ChunkedStream, c...
1
Ruby
Ruby
fix core/all require of adjacent core features
3202671dc9360c4a89d80355824b239b52b2f611
<ide><path>activesupport/lib/active_support/core/all.rb <ide> require 'active_support/core' <del>Dir["#{File.dirname(__FILE__)}/core/*.rb"].sort.each do |path| <add>Dir["#{File.dirname(__FILE__)}/*.rb"].sort.each do |path| <ide> require "active_support/core/#{File.basename(path, '.rb')}" <ide> end
1
Python
Python
solve issue #206 / server port in client mode
a9a7a70d67c771e791f0a6512e2ae264871870a0
<ide><path>glances/glances.py <ide> def main(): <ide> stats.update({}) <ide> elif client_tag: <ide> # Init the client (displaying server stat in the CLI) <del> client = GlancesClient(server_ip, server_port, username, password) <add> client = GlancesClient(server_ip, int(server_port), u...
1
Go
Go
use spf13/cobra for docker top
0f3866926763447c247bb24268923b5e50c006e1
<ide><path>api/client/commands.go <ide> func (cli *DockerCli) Command(name string) func(...string) error { <ide> "save": cli.CmdSave, <ide> "stats": cli.CmdStats, <ide> "tag": cli.CmdTag, <del> "top": cli.CmdTop, <ide> "update": cli.CmdUpdate, <ide> "version": cli.CmdVersion, <ide> "wait": ...
5
Text
Text
add 13 and 12 to previous versions
7f94fe004062ab2f5c84a927bfaf9c2ed2c06968
<ide><path>BUILDING.md <ide> Supported platforms and toolchains change with each major version of Node.js. <ide> This document is only valid for the current major version of Node.js. <ide> Consult previous versions of this document for older versions of Node.js: <ide> <add>* [Node.js 13](https://github.com/nodejs/node...
1
PHP
PHP
add truncationstrategy manager
6a7fa33b555d0ecb8a5a3e566ab85c318612f0cd
<ide><path>src/TestSuite/Fixture/TruncationStrategy.php <add><?php <add>declare(strict_types=1); <add> <add>/** <add> * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) <add> * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) <add> * <add> * Licensed under The MIT License <add> *...
2
Python
Python
set a constant to buffer_size
8bab6d630648f660c00585cbe68b9937f0a9a31c
<ide><path>keras/preprocessing/image_dataset.py <ide> def image_dataset_from_directory(directory, <ide> dataset = dataset.batch(batch_size) <ide> else: <ide> if shuffle: <del> dataset = dataset.shuffle(buffer_size=len(dataset), seed=seed) <add> dataset = dataset.shuffle(buffer_size=1024, seed=seed) ...
3
Text
Text
fix typo in events.md
757d7ba12b156ee2c5aaca1702bab2f95d28c750
<ide><path>doc/api/events.md <ide> added: v14.5.0 <ide> <ide> * Returns: {EventTarget} this <ide> <del>Node.js-speciic alias for `eventTarget.removeListener()`. <add>Node.js-specific alias for `eventTarget.removeListener()`. <ide> <ide> #### `nodeEventTarget.on(type, listener[, options])` <ide> <!-- YAML
1
Text
Text
add a step to the release process
c8f14c26b05d84ac6f5d1fd93e9572d589b837f2
<ide><path>scripts/release-manager/Readme.md <ide> git push <ide> **This step is only necessary for a stable release.** <ide> If you’re just cutting an alpha, you should skip it. <ide> <del>Copy your new release notes from `CHANGELOG.md` and [create a new Release](https://github.com/facebook/react/releases/new) on G...
1
Text
Text
use proper casing for vmware in readme
9030f531659ddc9ca7bfffcb708cde579973e2ae
<ide><path>README.md <ide> security@docker.com and not by creating a github issue. <ide> <ide> A common method for distributing applications and sandboxing their <ide> execution is to use virtual machines, or VMs. Typical VM formats are <del>VMWare's vmdk, Oracle VirtualBox's vdi, and Amazon EC2's ami. In theory <add>...
1
Javascript
Javascript
fix initial scenes rendering
81c62c5f41da2e34f0c0e19ca38843918c23c32b
<ide><path>Libraries/CustomComponents/NavigationExperimental/NavigationCardStackStyleInterpolator.js <ide> import type { <ide> * +------------+ <ide> */ <ide> <add>/** <add> * Render the initial style when the initial layout isn't measured yet. <add> */ <add>function forInitial(props: NavigationSceneRendererPro...
4
PHP
PHP
reword exception explanation
19b98082129931c73612e4b4b3e8b34f6635740d
<ide><path>src/Cache/SimpleCacheEngine.php <ide> public function clear() <ide> * @param iterable $keys A list of keys that can obtained in a single operation. <ide> * @param mixed $default Default value to return for keys that do not exist. <ide> * @return iterable A list of key => value pairs. Cache key...
1
Python
Python
add test for deepmac builder
441f14a6aac221406aeb98c96df3ef3d0c3752f9
<ide><path>research/object_detection/builders/model_builder.py <ide> from object_detection.core import target_assigner <ide> from object_detection.meta_architectures import center_net_meta_arch <ide> from object_detection.meta_architectures import context_rcnn_meta_arch <add>from object_detection.meta_architectures imp...
2
Python
Python
define __ne__ when __eq__
cd27aef18aaccabd7c063e6c0cba7426c70be435
<ide><path>celery/datastructures.py <ide> def as_dict(self): <ide> def __eq__(self, other): <ide> return self._heap == other._heap <ide> <add> def __ne__(self, other): <add> return not self.__eq__(other) <add> <ide> def __repr__(self): <ide> return 'LimitedSet({0})'.format(len(self)) ...
4
Java
Java
add nonnull annotation to fabric event classes
a58fcbff0bfd27a442884010aae48957a9990de1
<ide><path>ReactAndroid/src/main/java/com/facebook/react/fabric/events/EventBeatManager.java <ide> package com.facebook.react.fabric.events; <ide> <ide> import android.annotation.SuppressLint; <add>import androidx.annotation.NonNull; <ide> import com.facebook.jni.HybridData; <ide> import com.facebook.proguard.annotati...
4
Ruby
Ruby
use require_dependency inside active storage
1e55ee5a283df448c6cf4c4d3bb9c98e49927520
<ide><path>activestorage/app/models/active_storage/blob.rb <ide> # update a blob's metadata on a subsequent pass, but you should not update the key or change the uploaded file. <ide> # If you need to create a derivative or otherwise change the blob, simply create a new blob and purge the old one. <ide> class ActiveStor...
2
Javascript
Javascript
change top bar colors for hot reloading label
e81c1e3c7a5300652c7d32f0e5ed1ee6324171a5
<ide><path>Libraries/Utilities/HMRLoadingView.ios.js <ide> class HMRLoadingView { <ide> if (NativeDevLoadingView != null) { <ide> NativeDevLoadingView.showMessage( <ide> message, <del> processColor('#000000'), <del> processColor('#aaaaaa'), <add> // Use same colors as iOS "Persona...
1
Javascript
Javascript
fix undefined error in parser event
95fafc0254f6636b7c7546ac63599c79a7182fd9
<ide><path>lib/_http_common.js <ide> function parserOnHeaders(headers, url) { <ide> function parserOnHeadersComplete(versionMajor, versionMinor, headers, method, <ide> url, statusCode, statusMessage, upgrade, <ide> shouldKeepAlive) { <del> var parser = ...
1
PHP
PHP
accept string
e6995b8a07985c4eb116624c13ccb10eb12e3c58
<ide><path>src/Illuminate/Routing/PendingResourceRegistration.php <ide> public function except($methods) <ide> /** <ide> * Set the route names for controller actions. <ide> * <del> * @param array $names <add> * @param array|string $names <ide> * @return \Illuminate\Routing\PendingResource...
2
Python
Python
remove old comment
a8eecddf879848cadfa971fbc2d19de49ed5b446
<ide><path>libcloud/drivers/rackspace.py <ide> def reboot_node(self, node): <ide> return resp.status == 202 <ide> <ide> def _node_action(self, node, body): <del> ### consider this from old code: <del> # data = ('<%s xmlns="%s" %s/>' <del> # % (verb, NAMESPACE, <del> ...
1
Python
Python
fix the undefined variable in squad example
7ac3311e487541b6b8a6a43a39c23ea343da3545
<ide><path>examples/run_squad.py <ide> def main(): <ide> train_examples = read_squad_examples( <ide> input_file=args.train_file, is_training=True, version_2_with_negative=args.version_2_with_negative) <ide> num_train_optimization_steps = int( <del> len(train_dataset) / args.train_...
1
Python
Python
add wip cloudflare driver
d3a3a4ab79926e715786113ab42d53310da7b712
<ide><path>libcloud/dns/drivers/cloudflare.py <add># Licensed to the Apache Software Foundation (ASF) under one or more <add># contributor license agreements. See the NOTICE file distributed with <add># this work for additional information regarding copyright ownership. <add># The ASF licenses this file to You under t...
3
Text
Text
replace "comments.json" with this.props.url
7614af3c9a8ad950c6f0a73fad07c8161afcc180
<ide><path>docs/docs/tutorial.md <ide> var CommentBox = React.createClass({ <ide> }, <ide> componentWillMount: function() { <ide> $.ajax({ <del> url: 'comments.json', <add> url: this.props.url, <ide> dataType: 'json', <ide> success: function(data) { <ide> this.setState({data: data}...
1
Python
Python
remove class variables
51d7fea2cdf6f066abf934b81a0629de9215a7be
<ide><path>libcloud/compute/base.py <ide> class VolumeSnapshot(object): <ide> """ <ide> A base VolumeSnapshot class to derive from. <ide> """ <del> id = None <del> driver = None <del> size = None <del> extra = None <del> created = None <del> <ide> def __init__(self, id, driver, size=None,...
1
PHP
PHP
remove class from compilation
b28b995337c20aae42f0847bdca36e581f41eb5e
<ide><path>src/Illuminate/Foundation/Console/Optimize/config.php <ide> $basePath.'/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php', <ide> $basePath.'/vendor/laravel/framework/src/Illuminate/Support/AggregateServiceProvider.php', <ide> $basePath.'/vendor/laravel/framework/src/Illuminate/...
1
Python
Python
fix typo in savetxt docstring (closes )
1aaf99a31835beacd49ced62a7d02120e6942522
<ide><path>numpy/lib/npyio.py <ide> def savetxt(fname, X, fmt='%.18e', delimiter=' ', newline='\n', header='', <ide> a) a single specifier, `fmt='%.4e'`, resulting in numbers formatted <ide> like `' (%s+%sj)' % (fmt, fmt)` <ide> b) a full string specifying every real and imaginar...
1
Java
Java
consolidate sendto vs sendtouser detection
46e41a9d94bf586e5a80f262d2eee31b9612e93f
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SendToMethodReturnValueHandler.java <ide> public void handleReturnValue(Object returnValue, MethodParameter returnType, Me <ide> MessageHeaders headers = message.getHeaders(); <ide> String sessionId = SimpMessageHeaderAc...
2
Text
Text
add 0.69.2 changelog
31887277931cf2a3c84f6965df72e3bd85c16f8f
<ide><path>CHANGELOG.md <ide> # Changelog <ide> <add>## v0.69.2 <add> <add>### Changed <add> <add>- Set react-shallow-renderer v16.15.0 for react v18 compat ([a39a7c453d](https://github.com/facebook/react-native/commit/a39a7c453d87086935ff07d549ba8220cbcf30bd) by [@mikehardy](https://github.com/mikehardy)) <add>- Upgr...
1
Javascript
Javascript
fix the encoding problem for truetype
30460ce4b2bcc28090f9bb4d47f63841a6392a00
<ide><path>pdf.js <ide> var CanvasExtraState = (function() { <ide> const Encodings = { <ide> get ExpertEncoding() { <ide> return shadow(this, "ExpertEncoding", [ <add> null, null, null, null, null, null, null, null, null, null, null, <add> null, null, null, null, null, null, null, null, null, null, null...
1
PHP
PHP
set interest cohort
c42988a551ffdae0e70aa15959969732265789c0
<ide><path>src/Illuminate/Routing/Router.php <ide> public static function toResponse($request, $response) <ide> $response->setNotModified(); <ide> } <ide> <add> if (! $response->headers->has('Permissions-Policy')) { <add> $response->headers->set('Permissions-Policy', 'interest-coh...
1
PHP
PHP
fix failing sqlserverschema tests
aca68e244194c07ee60b85f4b4b36e3fe3535486
<ide><path>tests/TestCase/Database/Schema/SqlserverSchemaTest.php <ide> public function setUp() { <ide> */ <ide> protected function _needsConnection() { <ide> $config = ConnectionManager::config('test'); <del> $this->skipIf(strpos($config['className'], 'Sqlserver') === false, 'Not using Sqlserver for test config')...
1
Python
Python
add .meta to language object
618ce3b4255f7b3435f44b2a422ec7647431c26d
<ide><path>spacy/language.py <ide> def __init__(self, **overrides): <ide> if path is True: <ide> path = util.match_best_version(self.lang, '', util.get_data_path()) <ide> <add> self.meta = overrides.get('meta', {}) <ide> self.path = path <ide> <ide> self.vocab = self.Def...
1
Javascript
Javascript
remove var redeclarations in test-crypto-*
2c97bd47e40aedf932f7f4392f446da63d679d1a
<ide><path>test/parallel/test-crypto-binary-default.js <ide> assert.throws(function() { <ide> }, 'not enough data'); <ide> <ide> // Test HMAC <del>var h1 = crypto.createHmac('sha1', 'Node') <del> .update('some data') <del> .update('to hmac') <del> .digest('hex'); <del>assert.e...
5
Python
Python
use -v (capital v) for version
4b40e3fe0e3238a7fad9566c36941d10cb319dd8
<ide><path>glances/core/glances_main.py <ide> def init_args(self): <ide> """Init all the command line arguments.""" <ide> version = "Glances v" + __version__ + " with psutil v" + __psutil_version__ <ide> parser = argparse.ArgumentParser(prog=__appname__, conflict_handler='resolve') <del> ...
1
Python
Python
clarify deletechars in docs
4ebd08df74769ad0628a05e1d0654244008ab10b
<ide><path>numpy/lib/npyio.py <ide> def genfromtxt(fname, dtype=float, comments='#', delimiter=None, <ide> column, individually. <ide> comments : str, optional <ide> The character used to indicate the start of a comment. <del> By default, the character '#' starts a comment. <add> By de...
1
Java
Java
fix experimental, signatures of throttlelast
5b3510bc925947230f6c1a7e66d30694e0f304b3
<ide><path>src/main/java/io/reactivex/rxjava3/core/Flowable.java <ide> public final Flowable<T> sample(long period, @NonNull TimeUnit unit, @NonNull Sc <ide> * <dd>You specify which {@code Scheduler} this operator will use.</dd> <ide> * </dl> <ide> * <del> * <p>History: 2.0.5 - experimental <ide> ...
5
PHP
PHP
fix fallback locale
b59741374d692934cfe86ca095296447bea96033
<ide><path>src/Illuminate/Translation/Translator.php <ide> use Illuminate\Support\NamespacedItemResolver; <ide> use Symfony\Component\Translation\Loader\ArrayLoader; <ide> use Symfony\Component\Translation\TranslatorInterface; <add>use Symfony\Component\Translation\Translator as SymfonyTranslator; <ide> <ide> class Tr...
2
Javascript
Javascript
add documentation to addmodalpanel api
128f702784773b995ce5317d9ea0cd2265a2dade
<ide><path>spec/panel-container-element-spec.js <ide> describe('PanelContainerElement', () => { <ide> <ide> it("focuses the first tabbable item if available", () => { <ide> const panel = createPanel() <del> <ide> const panelEl = panel.getElement() <ide> const inputEl = document.createElem...
3
PHP
PHP
remove undeeded method
0b7c22f898ac445eaeb9a3f4c2bae7edfd5459bb
<ide><path>src/Illuminate/Validation/Validator.php <ide> protected function initializeAttributeOnData($attribute) <ide> return $data; <ide> } <ide> <del> /** <del> * Fill a missing field in an array with null. <del> * <del> * This to make sure the "required" rule is effective if the array do...
1
Ruby
Ruby
use explicit order to stop test failing randomly
6f4b2469fb19bb01fa0f53192eb49f8f2d95db1b
<ide><path>activerecord/test/cases/associations/eager_test.rb <ide> def test_eager_loading_with_conditions_on_joined_table_preloads <ide> assert_equal authors(:david), assert_no_queries { posts[0].author} <ide> <ide> posts = assert_queries(2) do <del> Post.find(:all, :include => :author, :joins => {:taggi...
1
Python
Python
fix loss computation in trainer
3ffd18a6177eb3a2214627f7baba07d273daee0e
<ide><path>src/transformers/trainer.py <ide> def train( <ide> <ide> if args.logging_nan_inf_filter and (torch.isnan(tr_loss_step) or torch.isinf(tr_loss_step)): <ide> # if loss is nan or inf simply add the average of previous logged losses <del> tr_loss += tr_loss...
1
Python
Python
create a copy for tokenizer object
df5e4232f59e6fea08911eddd0adc965d1b59c15
<ide><path>src/transformers/tokenization_utils_fast.py <ide> Tokenization classes for fast tokenizers (provided by HuggingFace's tokenizers library). For slow (python) tokenizers <ide> see tokenization_utils.py <ide> """ <add>import copy <ide> import json <ide> import os <ide> from collections import defaultdict <ide...
1
Python
Python
add type hints for prophetnet (pytorch)
7ba1d4e51fbf86aa843fc15009c38c9b776919c6
<ide><path>src/transformers/models/prophetnet/configuration_prophetnet.py <ide> # limitations under the License. <ide> """ ProphetNet model configuration""" <ide> <add>from typing import Callable, Optional, Union <ide> <ide> from ...configuration_utils import PretrainedConfig <ide> from ...utils import logging <ide> ...
3
Python
Python
add some preliminary tests for shelloutsshclient
62152da83923197296eb367e95e459481f9caf10
<ide><path>libcloud/compute/ssh.py <ide> def _get_base_ssh_command(self): <ide> return cmd <ide> <ide> def _run_remote_shell_command(self, cmd): <add> """ <add> Run a command on a remote server. <add> <add> @param cmd: Command to run. <add> @type cmd: C{list} of C{str...
2
Java
Java
fix warnings in localsessionfactorybean
e3f544904c3cce5b6e9947c6429708a4b3bc4ef8
<ide><path>spring-orm/src/main/java/org/springframework/orm/hibernate3/LocalSessionFactoryBean.java <ide> import java.util.Enumeration; <ide> import java.util.Map; <ide> import java.util.Properties; <add> <ide> import javax.sql.DataSource; <ide> import javax.transaction.TransactionManager; <ide> <ide> import org.hiber...
1
Python
Python
ignore all `*` characters in the reveal tests
b84946d15e5b63f44cd4bbbc04e5230a18720afc
<ide><path>numpy/typing/tests/test_typing.py <ide> def test_reveal(path): <ide> ]) <ide> <ide> with open(path) as fin: <del> lines = fin.readlines() <add> lines = fin.read().replace('*', '').split("\n") <ide> <del> for error_line in stdout.split("\n"): <add> stdout_list = stdout.replace('*...
1
Python
Python
remove test for
5e7d98f72a035b1dc5e600b9f77660fa1548074e
<ide><path>spacy/tests/regression/test_issue1491.py <del># coding: utf8 <del>from __future__ import unicode_literals <del> <del>import pytest <del>import regex as re <del> <del>from ...lang.en import English <del>from ...tokenizer import Tokenizer <del> <del> <del>@pytest.mark.xfail <del>def test_issue1491(): <del> ...
1
PHP
PHP
fix failing tests caused by path changes
87d3a2ef197c5f4e4b321b44d5e329b2018644d7
<ide><path>lib/Cake/Test/Case/Error/ExceptionRendererTest.php <ide> public static function testProvider() { <ide> 500 <ide> ), <ide> array( <del> new MissingHelperFileException(array('file' => 'my_custom.php', 'class' => 'MyCustomHelper')), <add> new MissingHelperFileException(array('file' => 'MyCustomH...
1
Javascript
Javascript
reduce calls to getter
4c1ad1ee7dca825a667f1de95b4cf828fb06f046
<ide><path>lib/Compilation.js <ide> BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si <ide> // Here webpack is using heuristic that assumes <ide> // mostly esm dependencies would be used <ide> // so we don't allocate extra string for them <add> const category = dep.category...
1
Javascript
Javascript
use same whitelist mechanism as $compile does
333523483f3ce6dd3177b697a5e5a7177ca364c8
<ide><path>angularFiles.js <ide> angularFiles = { <ide> 'src/ng/parse.js', <ide> 'src/ng/q.js', <ide> 'src/ng/rootScope.js', <add> 'src/ng/sanitizeUri.js', <ide> 'src/ng/sce.js', <ide> 'src/ng/sniffer.js', <ide> 'src/ng/timeout.js', <ide><path>src/AngularPublic.js <ide> $ParseProvider, <i...
9
Python
Python
add __init__ method to variable class
2bb40ef996a9da5e4eb7f63cceeef9b03b51494e
<ide><path>airflow/models/variable.py <ide> class Variable(Base, LoggingMixin): <ide> _val = Column('val', Text) <ide> is_encrypted = Column(Boolean, unique=False, default=False) <ide> <add> def __init__(self, key=None, val=None): <add> super().__init__() <add> self.key = key <add> self...
1
Javascript
Javascript
fix regex to match windows line endings
cc04f14e2be5c790c4036251793b4ceab2093a03
<ide><path>lib/broccoli-ember-inline-template-precompiler.js <ide> function EmberInlineTemplatePrecompiler (inputTree, options) { <ide> this.inlineTemplateRegExp = /precompileTemplate\(['"](.*)['"]\)/; <ide> // Used for replacing the original variable declaration to satisfy JSHint. <ide> // For example, removes `...
1
Ruby
Ruby
fix deprecation warnings in verification tests
25ea18aa150c7eb26fd09ab6ab26eb455fac7ff0
<ide><path>actionpack/test/controller/verification_test.rb <ide> class TestController < ActionController::Base <ide> :redirect_to => { :action => "unguarded" } <ide> <ide> verify :only => :guarded_with_flash, :params => "one", <del> :add_flash => { "notice" => "prereqs failed" }, <add> ...
1