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
fix ref type for native scroll view
db662af5b28d0ad42abd1da67c32f2c38ff04900
<ide><path>Libraries/Components/ScrollView/ScrollView.js <ide> import type { <ide> ScrollEvent, <ide> LayoutEvent, <ide> } from '../../Types/CoreEventTypes'; <add>import type {HostComponent} from '../../Renderer/shims/ReactNativeTypes'; <ide> import type {State as ScrollResponderState} from '../ScrollResponder'; <i...
1
Text
Text
update cross-compiler practice in core
d0b0dafb0bbe4eaa253ba7ccbab898c7c49a46c4
<ide><path>docs/Custom-GCC-and-cross-compilers.md <ide> # Custom GCC and Cross Compilers <ide> <del>Homebrew depends on having an up-to-date version of Xcode because it comes with <del>specific versions of build tools, e.g. `clang`. <add>Homebrew depends on having an up-to-date version of Xcode because it comes with s...
1
Python
Python
fix line with too many characters
eefd967f49192fb769154e930be8480af369a752
<ide><path>keras/utils/vis_utils.py <ide> def format_shape(shape): <ide> [format_shape(ishape) for ishape in layer.input_shapes]) <ide> else: <ide> inputlabels = '?' <del> label = '{%s}|{input:|output:}|{{%s}|{%s}}' % (label, inputlabels, outputlabels) <add> label = '{%s}|{input:|out...
1
Java
Java
fix error responses handling in webclient
81125de6979b84f8cf30ea31c372e87dde98d9a4
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultWebClient.java <ide> public <T> Mono<T> bodyToMono(Class<T> bodyType) { <ide> public <T> Mono<T> bodyToMono(ParameterizedTypeReference<T> typeReference) { <ide> return this.responseMono.flatMap( <ide> response -> b...
1
Javascript
Javascript
build the webui
b0dcf8b30682971c0ba155e1b9086e1eed74d54a
<ide><path>glances/outputs/static/public/js/main.min.js <ide> function GlancesPluginDockerController($scope, GlancesStats) { <ide> <ide> 'use strict'; <ide> <del>glancesApp.component('glancesPluginFolders', { <del> controller: GlancesPluginFsController, <del> controllerAs: 'vm', <del> templateUrl: 'component...
2
PHP
PHP
fix coding standards errors in network/
a6da7361494b85411f1b93ea589e58405a77524b
<ide><path>lib/Cake/Network/CakeRequest.php <ide> * @package Cake.Network <ide> */ <ide> class CakeRequest implements ArrayAccess { <add> <ide> /** <ide> * Array of parameters parsed from the url. <ide> * <ide> protected function _base() { <ide> $base = ''; <ide> } <ide> <del> $this->webroot = $base...
8
PHP
PHP
fix auth docblocks
740064803568a62ab7c0514d821727947bab7fdd
<ide><path>src/Illuminate/Auth/SessionGuard.php <ide> public function setDispatcher(Dispatcher $events) <ide> /** <ide> * Get the session store used by the guard. <ide> * <del> * @return \Illuminate\Session\Store <add> * @return \Illuminate\Contracts\Session\Session. <ide> */ <ide> public...
1
Ruby
Ruby
remove extra space
931e379fec26977f7a0409016632f32a8692edec
<ide><path>Library/Homebrew/download_strategy.rb <ide> def _curl_args <ide> <ide> args += ["--user", meta.fetch(:user)] if meta.key?(:user) <ide> <del> args += [meta[:header], meta[:headers]].compact.flatten.flat_map { |h| ["--header", h.strip] } <add> args += [meta[:header], meta[:headers]].compact.flatte...
1
PHP
PHP
adjust index script
5c7c9f36384bb3f64837064baa975c124a34a457
<ide><path>public/index.php <ide> <?php <ide> <add>use Illuminate\Contracts\Http\Kernel; <add>use Illuminate\Http\Request; <add> <ide> /** <ide> * Laravel - A PHP Framework For Web Artisans <ide> * <ide> <ide> require __DIR__.'/../vendor/autoload.php'; <ide> <del>/* <del>|------------------------------------------...
1
PHP
PHP
add ignore method
87ab4e2a962130cd59a52c5d2db453067a954976
<ide><path>src/Illuminate/Foundation/Exceptions/Handler.php <ide> public function map($from, $to = null) <ide> return $this; <ide> } <ide> <add> /** <add> * Indicate that the given exception type should not be reported. <add> * <add> * @param string $class <add> * @return $this <add> ...
1
Javascript
Javascript
fix error handling
058e7fb8e66cafae700c5cb437d08572150fa69f
<ide><path>lib/internal/process.js <ide> const { <ide> ERR_CPU_USAGE, <ide> ERR_INVALID_ARG_TYPE, <ide> ERR_INVALID_ARRAY_LENGTH, <add> ERR_INVALID_OPT_VALUE, <ide> ERR_UNCAUGHT_EXCEPTION_CAPTURE_ALREADY_SET, <ide> ERR_UNKNOWN_SIGNAL <ide> } <ide> function setup_cpuUsage() { <ide> // If a p...
2
Javascript
Javascript
remove unneeded escaping in template strings
150dc5c2e6a848aa49bb95f4e6c0cbf0da5d0e73
<ide><path>test/parallel/test-debugger-pid.js <ide> interfacer.on('line', function(line) { <ide> } <ide> } else { <ide> line = line.replace(/^(debug> *)+/, ''); <del> expected = `(node:${pid}) Target process: 655555 doesn\'t exist.`; <add> expected = `(node:${pid}) Target process: 655555 doesn't exist.`...
4
Text
Text
add information about premium themes and plugins
af31b214df3afcc753c9fdc6e7b9c06de4fb94fd
<ide><path>guide/english/wordpress/index.md <ide> Just to name a few advantages of WordPress: <ide> * Has plugins, which extend functionality to WordPress sites. <ide> * Has mobile app (Android and iOS), which can be used to post and manage their Wordpress webpage. <ide> * Wordpress sites can be hosted on any server ru...
1
Ruby
Ruby
add todo comment
acf39f8777a825d48b4ca46249c75be13614e2d1
<ide><path>Library/Homebrew/cask/cask.rb <ide> def versions <ide> end <ide> <ide> def os_versions <add> # TODO: use #to_hash_with_variations instead once all casks use on_system blocks <ide> @os_versions ||= begin <ide> version_os_hash = {} <ide> actual_version = MacOS.full_version.t...
1
PHP
PHP
make use of new getconnection method signature
c268e2756defc9561207a2c4b4f7400f777751f8
<ide><path>src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php <ide> trait InteractsWithDatabase <ide> protected function assertDatabaseHas($table, array $data, $connection = null) <ide> { <ide> $this->assertThat( <del> $this->getTable($table), new HasInDatabase($this->getCon...
1
PHP
PHP
adjust variables to be consistent
bfe343a0b059b7a91768845fb381e8608795ff21
<ide><path>src/Error/ErrorHandler.php <ide> protected function _displayError($error, $debug) <ide> /** <ide> * Displays an exception response body. <ide> * <del> * @param \Exception $exception The exception to display <add> * @param \Exception $exception The exception to display. <ide> * @ret...
1
Ruby
Ruby
fix proc coercion
8764c4fc21890087bcfde8daac714fce46c4ada8
<ide><path>Library/Homebrew/cmd/leaves.rb <ide> def leaves <ide> <ide> leaves_list = Formula.installed_formulae_with_no_dependents <ide> <del> leaves_list.select!(&:installed_on_request?) if args.installed_on_request? <del> leaves_list.select!(&:installed_as_dependency?) if args.installed_as_dependency? <ad...
1
Text
Text
note dependancies in docs
86931b01b6f0c6ae5826210b277fe3218e21f7b5
<ide><path>docs/topics/3.6-announcement.md <ide> REST framework's new API documentation supports a number of features: <ide> * Support for various authentication schemes. <ide> * Code snippets for the Python, JavaScript, and Command Line clients. <ide> <add>The `coreapi` library is required as a dependancy for the API...
2
Ruby
Ruby
upgrade virtualenv to 16.4.0
6cac67bcd0850f3c1ec26008ba54c24c1d26d762
<ide><path>Library/Homebrew/language/python_virtualenv_constants.rb <ide> PYTHON_VIRTUALENV_URL = <del> "https://files.pythonhosted.org/packages/8b/f4" \ <del> "/360aa656ddb0f4168aeaa1057d8784b95d1ce12f34332c1cf52420b6db4e" \ <del> "/virtualenv-16.3.0.tar.gz".freeze <add> "https://files.pythonhosted.org/packages/51...
1
Javascript
Javascript
update outdated comment
835fbeee002779fbd164f9af6f8392c4d5373dfd
<ide><path>lib/child_process.js <ide> exports.fork = function(modulePath /*, args, options*/) { <ide> args = execArgv.concat([modulePath], args); <ide> <ide> if (!Array.isArray(options.stdio)) { <del> // Leave stdin open for the IPC channel. stdout and stderr should be the <del> // same as the parent's if si...
1
Javascript
Javascript
remove useless config override (#790)
ffeeb682af082edb0067a775e485176b43fc33a0
<ide><path>examples/custom-server-express/server.js <ide> const express = require('express') <ide> const next = require('next') <ide> <ide> const dev = process.env.NODE_ENV !== 'production' <del>const app = next({ dir: '.', dev }) <add>const app = next({ dev }) <ide> const handle = app.getRequestHandler() <ide> <ide>...
1
Python
Python
fix typo in helpers.py
5addabfbddbb0f620d81adc7bcafbf8bd5f12a3e
<ide><path>flask/helpers.py <ide> def flash(message, category='message'): <ide> # session.setdefault('_flashes', []).append((category, message)) <ide> # <ide> # This assumed that changes made to mutable structures in the session are <del> # are always in sync with the sess on object, which is not tru...
1
PHP
PHP
use restart identity
c27267f49d42ae60a381a6698e7f819cd78606e5
<ide><path>lib/Cake/Database/Schema/PostgresSchema.php <ide> public function dropTableSql(Table $table) { <ide> */ <ide> public function truncateTableSql(Table $table) { <ide> $name = $this->_driver->quoteIdentifier($table->name()); <del> $sequence = null; <del> foreach ($table->constraints() as $seq) { <del> i...
2
Text
Text
change double quotes to single quotes in guide
a4aa95e6af4daba4aaaa9f09abc9007ecc54d1a5
<ide><path>guides/source/getting_started.md <ide> Then you make the `app/views/articles/show.html.erb` look like the following: <ide> <%= render @article.comments %> <ide> <ide> <h2>Add a comment:</h2> <del><%= render "comments/form" %> <add><%= render 'comments/form' %> <ide> <ide> <%= link_to 'Edit Article', edit_a...
1
PHP
PHP
add a validate method onto the request
5b7d0373d379634bdf1662d4c9313072d1c5231b
<ide><path>src/Illuminate/Foundation/Providers/FoundationServiceProvider.php <ide> <ide> namespace Illuminate\Foundation\Providers; <ide> <add>use Illuminate\Http\Request; <ide> use Illuminate\Support\AggregateServiceProvider; <ide> <ide> class FoundationServiceProvider extends AggregateServiceProvider <ide> class F...
1
Text
Text
fix module syncbuiltinesmexports example
28e9c10003aede86df930c94325bb10827cf6e1a
<ide><path>doc/api/module.md <ide> does not add or remove exported names from the [ES Modules][]. <ide> <ide> ```js <ide> const fs = require('fs'); <add>const assert = require('assert'); <ide> const { syncBuiltinESMExports } = require('module'); <ide> <del>fs.readFile = null; <add>fs.readFile = newAPI; <ide> <ide> d...
1
Ruby
Ruby
add missing families
e1da637f9aab7e23a5b3eb22bdf7a9f514b2fe92
<ide><path>Library/Homebrew/test/hardware/cpu_spec.rb <ide> describe "::family" do <ide> let(:cpu_families) { <ide> [ <add> :amd_k7, <add> :amd_k8, <add> :amd_k8_k10_hybrid, <add> :amd_k10, <add> :amd_k12, <add> :arm, <ide> :arm_firestorm_icestorm, <ide> ...
1
Text
Text
fix typos in canvas-background.md
82d42bd799f5c47f1d69299db29039d97cb49329
<ide><path>docs/configuration/canvas-background.md <ide> # Canvas background <ide> <del>In some use cases you would want a background image or color over the whole canvas. There is no build in support for this, the way you can achieve this is by writing a custom plugin. <add>In some use cases you would want a backgrou...
1
PHP
PHP
forgetinstance() docblock
4e7ebabd92763d4054ee36186a6ad2d040f61c50
<ide><path>src/Illuminate/Support/Facades/App.php <ide> * @method static string environmentFile() <ide> * @method static string environmentFilePath() <ide> * @method static string environmentPath() <add> * @method static void forgetInstance(string $abstract) <ide> * @method static string getCachedConfigPath() <ide>...
1
Javascript
Javascript
fix pureexpressiondependency bug
41a6f2af1a6723d006d5c95326e91697dfe48546
<ide><path>lib/dependencies/HarmonyImportDependencyParserPlugin.js <ide> module.exports = class HarmonyImportDependencyParserPlugin { <ide> harmonyAllExportDependentDependencies.add(dep); <ide> const currentTopLevelSymbol = <ide> /** @type {TopLevelSymbol} */ (parser.state.currentTopLevelSymbol); <del> cons...
5
Java
Java
revise settablelistenablefuture implementation
0640a32863c9a86511e4a3e0c7fe75e98e0f3f1e
<ide><path>spring-core/src/main/java/org/springframework/util/concurrent/SettableListenableFuture.java <ide> <ide> import org.springframework.util.Assert; <ide> <del>import java.util.concurrent.CancellationException; <del>import java.util.concurrent.CountDownLatch; <add>import java.util.concurrent.Callable; <ide> imp...
2
PHP
PHP
return id from redis queue push
18e6a1dfb3f14e9f7a42912fbab871acd5d6c947
<ide><path>src/Illuminate/Queue/RedisQueue.php <ide> public function push($job, $data = '', $queue = null) <ide> */ <ide> public function pushRaw($payload, $queue = null, array $options = array()) <ide> { <del> return $this->redis->rpush($this->getQueue($queue), $payload); <add> $this->redis->rpush($this->getQueu...
2
Go
Go
fix some style issues
01112989b71523df006b00f66b8585a18f634add
<ide><path>api/common.go <ide> import ( <ide> "mime" <ide> "path/filepath" <ide> "sort" <add> "strconv" <ide> "strings" <ide> <ide> "github.com/Sirupsen/logrus" <ide> func (r byPrivatePort) Less(i, j int) bool { return r[i].PrivatePort < r[j].Priv <ide> // e.g. "0.0.0.0:80->9090/tcp, 9988/tcp" <ide> // it's used ...
1
Ruby
Ruby
allow link_overwrite for old name too
17ca7527f49f6f83ec57563a3f503cc81ea1cc50
<ide><path>Library/Homebrew/formula.rb <ide> def link_overwrite?(path) <ide> rescue TapFormulaAmbiguityError, TapFormulaWithOldnameAmbiguityError <ide> return false # this keg belongs to another formula <ide> else <del> # this keg belongs to another formula <del> # but it is not an ali...
1
Ruby
Ruby
fix random ci fail due to non-deterministic order
5b28e42f65aa4dcb5dfcea76c5dcf564601a8853
<ide><path>activerecord/test/cases/calculations_test.rb <ide> def test_should_limit_calculation_with_offset <ide> end <ide> <ide> def test_limit_should_apply_before_count <del> accounts = Account.limit(4) <add> accounts = Account.order(:id).limit(4) <ide> <ide> assert_equal 3, accounts.count(:firm_id) <...
1
Javascript
Javascript
add test case for
664627272fc5a5a9ad298fc624f6785d87c49bd1
<ide><path>test/watchCases/scope-hoisting/caching-inner-source/0/index.js <add>it("should not crash when scope-hoisted modules change", function() { <add> require("./module").default.should.be.eql(WATCH_STEP); <add>}) <ide><path>test/watchCases/scope-hoisting/caching-inner-source/0/inner.js <add>export { x } from "./in...
7
Javascript
Javascript
remove internal variable from makeasync
7bc6aeac86e6ce09efba4b04190b7792fc72fded
<ide><path>lib/dns.js <ide> function makeAsync(callback) { <ide> } else { <ide> var args = new Array(arguments.length + 1); <ide> args[0] = callback; <del> for (var i = 1, a = 0; a < arguments.length; ++i, ++a) <del> args[i] = arguments[a]; <add> for (var i = 0; i < arguments.length; ++...
1
Text
Text
simplify wording in tracing apis doc
ff4928f85fb2125be7e8a7f787369ea85c6b5fe6
<ide><path>doc/api/tracing.md <ide> string that supports `${rotation}` and `${pid}`: <ide> node --trace-event-categories v8 --trace-event-file-pattern '${pid}-${rotation}.log' server.js <ide> ``` <ide> <del>Starting with Node.js 10.0.0, the tracing system uses the same time source <del>as the one used by `process.hrti...
1
Javascript
Javascript
remove redundant hashprefix params
627459b96d34e320668a51741ad9c2c6d292ea6a
<ide><path>test/ng/locationSpec.js <ide> describe('$location', function() { <ide> <ide> <ide> it('should throw error when invalid server url given', function() { <del> var locationUrl = new LocationHtml5Url('http://server.org/base/abc', 'http://server.org/base/', '/base'); <add> var locationUrl = new Lo...
1
Text
Text
add missing words in the swarm docs
db158e9182f86adc721d6c401782983bfe51fd49
<ide><path>docs/swarm/key-concepts.md <ide> running the task for the service. All nodes in the swarm cluster route ingress <ide> connections to a running task instance. <ide> <ide> Swarm mode has an internal DNS component that automatically assigns each service <del>in the swarm DNS entry. The swarm manager uses **in...
1
PHP
PHP
add a test for using an collection for options
aa30d4b196d30ebaa6149480e96467aac6a5237c
<ide><path>src/View/Input/Radio.php <ide> public function render($data) { <ide> 'label' => true, <ide> 'empty' => false, <ide> ]; <del> $options = (array)$data['options']; <add> if ($data['options'] instanceof Traversable) { <add> $options = iterator_to_array($data['options']); <add> } else { <add> $opti...
2
Python
Python
fix flaky test `test_set_dag_runs_action`
d0ffd31ba3a4e8cd27fb7305cc19c33cf637509f
<ide><path>tests/www/views/test_views_dagrun.py <ide> def test_delete_dagrun_permission_denied(session, client_dr_without_dag_edit, ru <ide> [ <ide> ( <ide> "clear", <del> [None, None], <add> {None}, <ide> "1 dag runs and 2 task instances were cleared", <ide> ...
1
Text
Text
fix typo in testing.md
9d001cd84c1239d708b1528587c183ef30e38c31
<ide><path>docs/api-guide/testing.md <ide> Extends [Django's existing `Client` class][client]. <ide> <ide> ## Making requests <ide> <del>The `APIClient` class supports the same request interface as Django's standard `Client` class. This means the that standard `.get()`, `.post()`, `.put()`, `.patch()`, `.delete()`, ...
1
Text
Text
change var to const and let
6814ad7f67ab201734db53843f38eabb1507e389
<ide><path>guide/english/javascript/loops/for-of-loop/index.md <ide> The `for...of` statement creates a loop iterating over iterable objects (includi <ide> <ide> ### Map <ide> ```javascript <del> var m = new Map(); <add> const m = new Map(); <ide> m.set(1, "black"); <ide> m.set(2, "red"); <ide> <del> ...
1
Python
Python
add docs for bigquery hook
fc522bd3feebd7386aeb61d1bb9b78448e1350d3
<ide><path>airflow/contrib/hooks/bigquery_hook.py <add>""" <add>This module contains a BigQuery Hook, as well as a very basic PEP 249 <add>implementation for BigQuery. <add>""" <add> <ide> import httplib2 <ide> import logging <ide> import pandas <ide> def __init__(self, <ide> <ide> def get_conn(self): <ide> ...
1
PHP
PHP
fix tests after rebase
30de95db54e3cf9ea6867491d7efe0553c420173
<ide><path>Cake/Test/TestCase/ORM/BehaviorTest.php <ide> public function doSomething() { <ide> * verifySettings <ide> */ <ide> public function verifySettings() { <add> parent::verifySettings(); <ide> } <ide> <ide> /** <ide> public function testImplementedFindersDisabled() { <ide> } <ide> <ide> /** <del> * testI...
2
Ruby
Ruby
use appropriate words for docs of model.none
80d3a0e16e8a3e7f02fc85a0136b52b3a1a19ebc
<ide><path>activerecord/lib/active_record/relation/query_methods.rb <ide> def lock(locks = true) <ide> # Any subsequent condition chained to the returned relation will continue <ide> # generating an empty relation and will not fire any query to the database. <ide> # <del> # Used in cases where a method o...
1
Ruby
Ruby
enhance active model assignment
285cba022ce37977f977376a20ca866197ef33bd
<ide><path>activemodel/lib/active_model/attribute_assignment.rb <ide> def _assign_attributes(attributes) <ide> end <ide> <ide> def _assign_attribute(k, v) <del> if respond_to?("#{k}=") <del> public_send("#{k}=", v) <add> setter = "#{k}=" <add> if respond_to?(setter) <add> ...
1
Java
Java
use math.min() in exponentialbackoff
490bdd11a562b665f1b8695d4b8f61f6bb7949a1
<ide><path>spring-core/src/main/java/org/springframework/util/backoff/ExponentialBackOff.java <ide> /* <del> * Copyright 2002-2018 the original author or authors. <add> * Copyright 2002-2020 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you ma...
1
Ruby
Ruby
remove deprecation warning
3d4004ab635f64952e1f6bf5d881ec0be7f37721
<ide><path>actionview/test/actionpack/controller/render_test.rb <ide> def teardown <ide> def case_sensitive_file_system? <ide> fname = '.case_sensitive_file_system_test' <ide> FileUtils.touch(fname) <del> !File.exists?(fname.upcase) <add> !File.exist?(fname.upcase) <ide> ensure <ide> FileUtils.rm_...
1
Javascript
Javascript
remove outdated v8 flag
501ae0e6e33b76d4d553fe233635f46183a7c25b
<ide><path>test/node-api/test_buffer/test.js <ide> 'use strict'; <del>// Flags: --expose-gc --no-concurrent-array-buffer-freeing --no-concurrent-array-buffer-sweeping <add>// Flags: --expose-gc --no-concurrent-array-buffer-sweeping <ide> <ide> const common = require('../../common'); <ide> const binding = require(`./bu...
1
Ruby
Ruby
improve observers documentation
7536731a9ac5668a81c2581697edf25e1341519e
<ide><path>activemodel/lib/active_model/observing.rb <ide> def observed_class <ide> end <ide> <ide> # Start observing the declared classes and their subclasses. <add> # Called automatically by the instance method. <ide> def initialize <ide> observed_classes.each { |klass| add_observer!(klass) } <i...
1
Javascript
Javascript
use projection matrix in frustum
9fcb357600446c2f0b161196c316c4c8daff7a55
<ide><path>examples/jsm/csm/CSM.js <ide> export default class CSM { <ide> <ide> initCascades() { <ide> <add> // TODO: Handle orthographic camera <ide> const camera = this.camera; <ide> const far = Math.min(camera.far, this.maxFar); <ide> this.mainFrustum = new Frustum( { <ide> export default class CSM { <ide>...
2
Ruby
Ruby
move schema dumper tests to the correct class
0f743bc59dc04f9108cefb46e22a56ed7ebf35bc
<ide><path>activerecord/test/cases/migration_test.rb <ide> def migrate(x); raise 'Something broke'; end <ide> refute Person.column_methods_hash.include?(:last_name) <ide> end <ide> <del> def test_dump_schema_information_outputs_lexically_ordered_versions <del> migration_path = MIGRATIONS_ROOT + '/valid_with_...
2
Ruby
Ruby
use a hash to store relation values
6311975fb3c02f50730fd1e11b8dba8dd9c05306
<ide><path>activerecord/lib/active_record/relation.rb <ide> def initialize(klass, table) <ide> @implicit_readonly = nil <ide> @loaded = false <ide> @default_scoped = false <del> <del> SINGLE_VALUE_METHODS.each {|v| instance_variable_set(:"@#{v}_value", nil)} <del> MULTI_VALUE_M...
5
Javascript
Javascript
use consistent quotes
3c31bfff6599cf68bda2552a92d982559bd64c5e
<ide><path>benchmark/querystring/querystring-stringify.js <ide> function main({ type, n }) { <ide> encodemany: { <ide> '\u0080\u0083\u0089': 'bar', <ide> '\u008C\u008E\u0099': 'quux', <del> xyzzy: '\u00A5q\u00A3r' <add> 'xyzzy': '\u00A5q\u00A3r' <ide> }, <ide> encodelast: { <ide> ...
14
Text
Text
update changelog for 1.11.2
302a1e61013a2c90ae94a4e7d3e49b9c8ed9d768
<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.11.2 (2016-05-31) <add> <add>### Networking <add> <add>- Fix a stale endpoint issue on overlay ne...
1
Ruby
Ruby
remove unused function from bump-cask-pr
ad7561955401b051f716dcd2676ecbf99067b703
<ide><path>Library/Homebrew/dev-cmd/bump-cask-pr.rb <ide> def bump_cask_pr <ide> GitHub.create_bump_pr(pr_info, args: args) <ide> end <ide> <del> def fetch_cask(contents, config: nil) <del> cask = Cask::CaskLoader.load(contents) <del> cask.config = config if config.present? <del> old_hash = cask.sha256...
1
Java
Java
fix copy+paste error
1b98d09855477df1d05a498e2749546fe0c1908d
<ide><path>spring-web/src/test/java/org/springframework/http/server/reactive/AbstractHttpHandlerIntegrationTests.java <ide> public void tearDown() throws Exception { <ide> <ide> <ide> /** <del> * Return an interval stream of with n number of ticks and buffer the <del> * emissions to avoid back pressure failures (e...
1
PHP
PHP
update busfake to use new batchfake
6299cd85d728ebb82da13f20abcdf4a7e98ef55b
<ide><path>src/Illuminate/Support/Testing/Fakes/BatchRepositoryFake.php <ide> <ide> use Carbon\CarbonImmutable; <ide> use Closure; <del>use Illuminate\Bus\Batch; <ide> use Illuminate\Bus\BatchRepository; <ide> use Illuminate\Bus\PendingBatch; <ide> use Illuminate\Bus\UpdatedBatchJobCounts; <del>use Illuminate\Support\...
1
Python
Python
update neural net tests
836fe1d8800c028e34920812773ec9426d716c90
<ide><path>spacy/tests/parser/test_neural_parser.py <ide> def test_build_model(parser): <ide> <ide> <ide> def test_predict_doc(parser, tok2vec, model, doc): <del> state = {} <del> state['tokvecs'] = tok2vec([doc]) <add> doc.tensor = tok2vec([doc]) <ide> parser.model = model <del> parser(doc, state=sta...
1
Text
Text
fix typo error and update index
e0db2fa4da8f4de861ff83e6f19e7e6d4251289d
<ide><path>docs/extend/index.md <ide> Currently, you can extend Docker by adding a plugin. This section contains the f <ide> * [Understand Docker plugins](plugins.md) <ide> * [Write a volume plugin](plugins_volume.md) <ide> * [Write a network plugin](plugins_network.md) <add>* [Write an authorization plugin](authorizat...
2
Ruby
Ruby
prefer rails.logger over rails_default_logger
75fa82418d54b36b6092767f2a2b5c1d5324441b
<ide><path>actionpack/lib/action_controller/failsafe.rb <ide> def log_failsafe_exception(exception) <ide> end <ide> <ide> def failsafe_logger <del> if defined?(::RAILS_DEFAULT_LOGGER) && !::RAILS_DEFAULT_LOGGER.nil? <del> ::RAILS_DEFAULT_LOGGER <add> if defined? Rails && Rails.logger...
4
Go
Go
change unused writecloser to writer
fd3f2e175fa6ddb606d2c681ff86a97faccfebbd
<ide><path>pkg/jsonlog/jsonlog.go <ide> func (jl *JSONLog) Format(format string) (string, error) { <ide> return fmt.Sprintf("[%s] %s", jl.Created.Format(format), jl.Log), nil <ide> } <ide> <del>func WriteLog(src io.Reader, dst io.WriteCloser, format string) error { <add>func WriteLog(src io.Reader, dst io.Writer, for...
1
PHP
PHP
remove bogus test
e097d9780a85f6534270c39761eba01c2774f837
<ide><path>tests/TestCase/View/Helper/FormHelperTest.php <ide> public function testInputDatetime() { <ide> $this->assertRegExp('/for\="created-month"/', $result); <ide> } <ide> <del>/** <del> * Test generating checkboxes in a loop. <del> * <del> * @return void <del> */ <del> public function testInputCheckboxesInLoo...
1
Python
Python
register errorhandlers for exceptions
668061a5fc928a5055815acf818b02baf1aef37b
<ide><path>flask/app.py <ide> def find_handler(handler_map): <ide> return handler <ide> <ide> # fall back to app handlers <del> return find_handler(self.error_handler_spec[None].get(code)) <add> handler = find_handler(self.error_handler_spec[None].get(code)) <add> if handler is...
2
Text
Text
add link to diagnostic tools
52483a0e5da42ce1eb6e7040e8bf747fb9369482
<ide><path>doc/contributing/diagnostic-tooling-support-tiers.md <ide> The tools are currently assigned to Tiers as follows: <ide> <ide> ## Tier 1 <ide> <del>| Tool Type | Tool/API Name | Regular Testing in Node.js CI | Integrated with Node.js | Target Tier | <del>| --------- | ----------------- | ----------------...
1
Python
Python
add missing line in distutils/system_info.py
83480b6eb106d8c7e1d9293d7adc988c7c670778
<ide><path>numpy/distutils/system_info.py <ide> def calc_info(self): <ide> dict_append(info, include_dirs=[h]) <ide> info['language'] = 'c' <ide> <add> atlas_version, atlas_extra_info = get_atlas_version(**atlas) <ide> dict_append(atlas, **atlas_extra_info) <ide> <ide> dict_...
1
PHP
PHP
$reservedmemory
fe3d1bff07215c4ca79a0ae202d15ba22f17318d
<ide><path>src/Illuminate/Foundation/Bootstrap/HandleExceptions.php <ide> class HandleExceptions <ide> /** <ide> * Reserved memory so that errors can be displayed properly on memory exhaustion. <ide> * <del> * @var string <add> * @var string|null <ide> */ <ide> public static $reservedMemo...
1
Text
Text
add missing comma in net documentation
1c67e741a12b7791adbc7bb5821650f5d1da30cf
<ide><path>doc/api/net.md <ide> The number of concurrent connections on the server. <ide> <ide> This becomes `null` when sending a socket to a child with <ide> [`child_process.fork()`][]. To poll forks and get current number of active <del>connections use asynchronous [`server.getConnections()`][] instead. <add>connec...
1
Python
Python
fix the module names of `numpy.typing` objects
77efd107aa51c8c82781702a607488ca31c4464e
<ide><path>numpy/typing/__init__.py <ide> <ide> .. automodule:: numpy.typing.mypy_plugin <ide> <add>.. currentmodule:: numpy.typing <add> <ide> Differences from the runtime NumPy API <ide> -------------------------------------- <ide>
1
Javascript
Javascript
add error log if collada file can't be parsed
f70703ac764751aef3086a29d02af3c17b073301
<ide><path>examples/js/loaders/ColladaLoader.js <ide> THREE.ColladaLoader.prototype = { <ide> <ide> var collada = getElementsByTagName( xml, 'COLLADA' )[ 0 ]; <ide> <add> var parserError = xml.getElementsByTagName( 'parsererror' )[ 0 ]; <add> if ( parserError !== undefined ) { <add> <add> console.error( 'Collad...
1
PHP
PHP
add more tests
9f4b0260f322517cbb1ee71ca916e908a9a9ff55
<ide><path>tests/Database/DatabaseEloquentBuilderTest.php <ide> public function testHasWithContraintsAndJoinAndHavingInSubquery() <ide> $this->assertEquals(['baz', 'quuuuuux', 'qux', 'quuux'], $builder->getBindings()); <ide> } <ide> <add> public function testHasWithContraintsAndHavingInSubqueryWithCount...
1
Javascript
Javascript
add identitytounicodemap class
6c8cca1284f061028bc5521b307d662ea831d0f0
<ide><path>src/core/fonts.js <ide> var ToUnicodeMap = (function ToUnicodeMapClosure() { <ide> return ToUnicodeMap; <ide> })(); <ide> <add>var IdentityToUnicodeMap = (function IdentityToUnicodeMapClosure() { <add> function IdentityToUnicodeMap(firstChar, lastChar) { <add> this.firstChar = firstChar; <add> this...
1
Text
Text
add fishrock123 to the tc
22aafa55971ef762863ec8badcd76228581d40c6
<ide><path>README.md <ide> information about the governance of the io.js project, see <ide> - Release GPG key: DD8F2338BAE7501E3DD5AC78C273792F7D83545D <ide> * **Thorsten Lorenz** ([@thlorenz](https://github.com/thlorenz)) &lt;thlorenz@gmx.de&gt; <ide> * **Stephen Belanger** ([@qard](https://github.com/qard)) &lt;adm...
1
Python
Python
remove legacy code in tf backend
26e6df8a98670802286978e1657526fe2afa61d5
<ide><path>keras/backend/tensorflow_backend.py <ide> def dot(x, y): <ide> (2, 4, 5) <ide> ``` <ide> """ <del> if hasattr(tf, 'unstack'): <del> unstack = tf.unstack <del> else: <del> unstack = tf.unpack <ide> if ndim(x) is not None and (ndim(x) > 2 or ndim(y) > 2): <ide> x...
1
Ruby
Ruby
convert formula test to spec
b0cd1c732d25b112e75facf48325f7841c8b6ac3
<ide><path>Library/Homebrew/test/formula_spec.rb <add>require "test/support/fixtures/testball" <add>require "formula" <add> <add>RSpec::Matchers.alias_matcher :follow_installed_alias, :be_follow_installed_alias <add>RSpec::Matchers.alias_matcher :have_any_version_installed, :be_any_version_installed <add>RSpec::Matcher...
3
Javascript
Javascript
run watch cases with more timeout
0db9d8f1077e43ef59f9beec1d1b29ad7584765e
<ide><path>test/WatchTestCases.test.js <ide> describe("WatchTestCases", () => { <ide> run = runs[runIdx]; <ide> setTimeout(() => { <ide> copyDiff(path.join(testDirectory, run.name), tempDirectory); <del> }, 50); <add> }, 1500); <ide> } else { <ide> watching.close();...
1
Javascript
Javascript
get the oes_texture_float_linear extension
557471058a6223dfde1d079d13115c881f49d9e9
<ide><path>src/renderers/WebGLRenderer.js <ide> THREE.WebGLRenderer = function ( parameters ) { <ide> var _gl; <ide> <ide> var _glExtensionTextureFloat; <add> var _glExtensionTextureFloatLinear; <ide> var _glExtensionStandardDerivatives; <ide> var _glExtensionTextureFilterAnisotropic; <ide> var _glExtensionCompre...
1
Javascript
Javascript
fix http2 benchmarks
1c4fa9a48ab08627475e3988483c18d946e81d80
<ide><path>benchmark/_test-double-benchmarker.js <ide> function run() { <ide> } <ide> } else { // HTTP/2 <ide> const client = http.connect(url); <del> client.on('error', (e) => { throw e; }); <add> client.on('error', () => {}); <ide> request(client.request(), client); <ide> } <ide> } <ide><path>be...
6
PHP
PHP
add typehints to shell hook methods
c37b8a257956ea30c4d9243b3df3ca8446632d28
<ide><path>src/Console/Command.php <ide> public function getOptionParser(): ConsoleOptionParser <ide> * @param \Cake\Console\ConsoleOptionParser $parser The parser to be defined <ide> * @return \Cake\Console\ConsoleOptionParser The built parser. <ide> */ <del> protected function buildOptionParser(Cons...
14
Javascript
Javascript
fix parseashtml link
b43c09c372a2aaf74e7c15bd44095b279a2f4632
<ide><path>src/ng/sce.js <ide> function $SceDelegateProvider() { <ide> * {@link ng.$sce#getTrusted $sce.getTrusted} behind the scenes on non-constant literals. <ide> * <ide> * As an example, {@link ng.directive:ngBindHtml ngBindHtml} uses {@link <del> * ng.$sce#parseHtml $sce.parseAsHtml(binding expression)}. Here'...
1
Go
Go
remove redundant warning
f3dc35169780e1555b4116986649b729cb80b5d1
<ide><path>pkg/sysinfo/sysinfo.go <ide> func New(quiet bool) *SysInfo { <ide> sysInfo := &SysInfo{} <ide> if cgroupMemoryMountpoint, err := cgroups.FindCgroupMountpoint("memory"); err != nil { <ide> if !quiet { <del> logrus.Warnf("%s", err) <add> logrus.Warnf("%v", err) <ide> } <ide> } else { <ide> _, err1...
1
Go
Go
check err and add print
130d1491b7d813937d30169829d95ad58e0b54a6
<ide><path>daemon/checkpoint.go <ide> func (daemon *Daemon) CheckpointCreate(name string, config types.CheckpointCreat <ide> } <ide> <ide> checkpointDir, err := getCheckpointDir(config.CheckpointDir, config.CheckpointID, name, container.ID, container.CheckpointDir(), true) <del> <ide> if err != nil { <ide> return...
1
PHP
PHP
add multibytepattern option to route
6617c140c37fe1d7b99e1efb8721568ca0dc20ce
<ide><path>src/Routing/Route/Route.php <ide> protected function _writeRoute() <ide> $parsed = preg_replace('#/\\\\\*$#', '(?:/(?P<_args_>.*))?', $parsed); <ide> $this->_greedy = true; <ide> } <add> $mode = ''; <add> if (!empty($this->options['multibytePattern'])) { <add> ...
3
Javascript
Javascript
use object.keys to improve performance
04468db44185e3d7968abdb23d77bf623cb5021b
<ide><path>src/Angular.js <ide> function copy(source, destination, stackSource, stackDest) { <ide> * Creates a shallow copy of an object, an array or a primitive <ide> */ <ide> function shallowCopy(src, dst) { <add> var i = 0; <ide> if (isArray(src)) { <ide> dst = dst || []; <ide> <del> for ( var i = 0; i ...
1
PHP
PHP
preserve language case
e8734f2828a73859532059d2f1002fb068297640
<ide><path>src/Shell/I18nShell.php <ide> <?php <ide> /** <del> * Internationalization Management Shell <del> * <ide> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <ide> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <ide> * <ide> public function main() <ide> public ...
2
Javascript
Javascript
fix flaky doctool and test
f4f856b2381d10de48534e0de97df142f3e29994
<ide><path>test/doctool/test-doctool-html.js <ide> const remark2rehype = require('remark-rehype'); <ide> const raw = require('rehype-raw'); <ide> const htmlStringify = require('rehype-stringify'); <ide> <del>function toHTML({ input, filename, nodeVersion }, cb) { <add>async function toHTML({ input, filename, nodeVersi...
3
Go
Go
remove panic in nat package on invalid hostport
12b6083c8f82db7e5db4c683cfe20151731ea851
<ide><path>api/client/port.go <ide> func (cli *DockerCli) CmdPort(args ...string) error { <ide> proto = parts[1] <ide> } <ide> natPort := port + "/" + proto <del> if frontends, exists := c.NetworkSettings.Ports[nat.Port(port+"/"+proto)]; exists && frontends != nil { <add> newP, err := nat.NewPort(proto, port) ...
11
Python
Python
improve executor validation in cli
1e2837ac5498e72186a75a7efddf47c059e4a058
<ide><path>airflow/cli/cli_parser.py <ide> class DefaultHelpParser(argparse.ArgumentParser): <ide> <ide> def _check_value(self, action, value): <ide> """Override _check_value and check conditionally added command""" <del> executor = conf.get('core', 'EXECUTOR') <del> if value == 'celery' and ...
2
Javascript
Javascript
split independent tests into separate files
26e47efbca9e3c2a334430aa3c17f1c2a499b75e
<ide><path>test/parallel/test-fs-watch-enoent.js <add>'use strict'; <add>const common = require('../common'); <add>const assert = require('assert'); <add>const fs = require('fs'); <add> <add>assert.throws(function() { <add> fs.watch('non-existent-file'); <add>}, function(err) { <add> assert(err); <add> assert(/non-e...
2
Javascript
Javascript
fix $flowfixme in flatlist
22a14199000ea994f24f6fe387ea26647af3c128
<ide><path>Libraries/Lists/FlatList.js <ide> const MetroListView = require('MetroListView'); // Used as a fallback legacy opt <ide> const React = require('React'); <ide> const View = require('View'); <ide> const VirtualizedList = require('VirtualizedList'); <add>const ListView = require('ListView'); <ide> <ide> const ...
1
Javascript
Javascript
drop the float mapping from cssprops
bbf334282b5c27394fc507b1778cf21850be7b93
<ide><path>src/css.js <ide> jQuery.extend( { <ide> <ide> // Add in properties whose names you wish to fix before <ide> // setting or getting the value <del> cssProps: { <del> "float": "cssFloat" <del> }, <add> cssProps: {}, <ide> <ide> // Get and set the style property on a DOM Node <ide> style: function( elem, ...
1
PHP
PHP
fail a response sequence when out of responses
37d03d6002c6218e6147c4ee85187673fc7b61f2
<ide><path>src/Illuminate/Http/Client/ResponseSequence.php <ide> <ide> namespace Illuminate\Http\Client; <ide> <add>use OutOfBoundsException; <add> <ide> class ResponseSequence <ide> { <ide> /** <ide> class ResponseSequence <ide> */ <ide> protected $responses; <ide> <add> /** <add> * Indicates th...
2
PHP
PHP
fix mockery test
22e60f4741666aa01ee625ce7aac0fb5c6fd4986
<ide><path>tests/View/ViewTest.php <ide> public function testRenderProperlyRendersView() <ide> <ide> public function testRenderSectionsReturnsEnvironmentSections() <ide> { <del> $view = m::mock('Illuminate\View\View[render]'); <del> $view->__construct(m::mock('Illuminate\View\Environment'), m::mock('Illuminate\Vie...
1
PHP
PHP
add missing space
f7b91c635dbac81b53090ee0b84ff8ae73b43b02
<ide><path>src/Illuminate/Queue/SyncQueue.php <ide> public function push($job, $data = '', $queue = null) <ide> { <ide> $queueJob->fire(); <ide> } <del> catch(Exception $e) <add> catch (Exception $e) <ide> { <ide> $this->handleFailedJob($queueJob); <ide>
1
Python
Python
add type hints for tfdistilbert
3f8360a7b68800dfc87d54a0f9d7ab16be531433
<ide><path>src/transformers/models/distilbert/modeling_tf_distilbert.py <ide> """ <ide> <ide> import warnings <add>from typing import Optional, Tuple, Union <ide> <add>import numpy as np <ide> import tensorflow as tf <ide> <ide> from ...activations_tf import get_tf_activation <ide> ) <ide> from ...modeling_tf_utils ...
1
Javascript
Javascript
use lowercase method to account for undefined type
066c049957a8af2fe449040eca2f1cb499655e32
<ide><path>src/ng/directive/input.js <ide> function addNativeHtml5Validators(ctrl, validatorName, badFlags, ignoreFlags, va <ide> function textInputType(scope, element, attr, ctrl, $sniffer, $browser) { <ide> var validity = element.prop(VALIDITY_STATE_PROPERTY); <ide> var placeholder = element[0].placeholder, noeve...
1
Ruby
Ruby
improve phone_to api documentation [ci-skip]
63edd5cd2fb776767bad755f3c42b7f62e1abb2e
<ide><path>actionview/lib/action_view/helpers/url_helper.rb <ide> def sms_to(phone_number, name = nil, html_options = {}, &block) <ide> content_tag("a", name || phone_number, html_options, &block) <ide> end <ide> <del> # Creates a TEL anchor link tag to the specified +phone_number+, which is <del> ...
1
Python
Python
fix first element in list being displayed as code
5c11e767a7312a80f70fa5100b7df8b4e391c4e2
<ide><path>keras/preprocessing/image_dataset.py <ide> def image_dataset_from_directory(directory, <ide> image files found in the directory. Labels should be sorted according <ide> to the alphanumeric order of the image file paths <ide> (obtained via `os.walk(directory)` in Python). <del> labe...
1