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
Ruby
Ruby
remove build attribute from xcode dep
4c6defbcf6768094a4e73fbeb6671b9915611617
<ide><path>Library/Homebrew/requirements.rb <ide> <ide> class XcodeDependency < Requirement <ide> fatal true <del> build true <ide> <ide> satisfy(:build_env => false) { MacOS::Xcode.installed? } <ide>
1
Text
Text
add 2.12.2 to changelog.md
466960d48fcb83cd53a92f353eccb7461307ede2
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <del># 2.13.0-beta.2 (April 7, 2017) <add>### 2.13.0-beta.2 (April 7, 2017) <ide> <ide> - [#15111](https://github.com/emberjs/ember.js/pull/15111) / [#15029](https://github.com/emberjs/ember.js/pull/15029) [PERF] `factoryFor` should cache when possible. <ide> - [#...
1
Go
Go
fix serveraddress setting
d96832cbd2c62103944518866e1fc1219ce048d5
<ide><path>registry/auth.go <ide> func LoadConfig(rootPath string) (*ConfigFile, error) { <ide> return &configFile, err <ide> } <ide> authConfig.Auth = "" <del> configFile.Configs[k] = authConfig <ide> authConfig.ServerAddress = k <add> configFile.Configs[k] = authConfig <ide> } <ide> } <ide> retur...
1
PHP
PHP
use a template method to reduce duplicated code
3bae222307b003241a7e33ac972ede2427faf529
<ide><path>lib/Cake/Console/TaskRegistry.php <ide> public function __construct(Shell $Shell) { <ide> } <ide> <ide> /** <del> * Loads/constructs a task. Will return the instance in the registry if it already exists. <add> * Resolve a task classname. <ide> * <del> * You can alias your task as an existing task by setti...
4
Mixed
Python
improve random prefix generation in displacy arcs
4a6af0852a9da399b7d73279cfea00cbc3b5ca99
<ide><path>.github/contributors/willprice.md <add># spaCy contributor agreement <add> <add>This spaCy Contributor Agreement (**"SCA"**) is based on the <add>[Oracle Contributor Agreement](http://www.oracle.com/technetwork/oca-405177.pdf). <add>The SCA applies to any contribution that you make to any product or project ...
2
Javascript
Javascript
add ability to use custom elements inside tooltips
e9200e5bc04a0945215caf7cd02ddb68111454d1
<ide><path>src/tooltip.js <ide> Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) { <ide> <ide> Tooltip.prototype.setContent = function () { <ide> var tip = this.getTooltipElement() <del> var title = this.getTitle() <add> <add> if (this.options.tooltipClass) { <add> tip.classList.add(this...
1
Text
Text
update api docs for unmountandreleasereactrootnode
10f3d93df728274685b3ce16468862199b6876ff
<ide><path>docs/docs/ref-01-top-level-api.md <ide> If the React component was previously rendered into `container`, this will perfo <ide> If the optional callback is provided, it will be executed after the component is rendered or updated. <ide> <ide> <del>### React.unmountAndReleaseReactRootNode <add>### React.unmou...
1
Go
Go
adjust warnings for transient lb endpoint conds
ac0aa6485be2982d815d6a89c20fb2567449882b
<ide><path>libnetwork/service_linux.go <ide> func (n *network) addLBBackend(ip net.IP, lb *loadBalancer) { <ide> } <ide> ep, sb, err := n.findLBEndpointSandbox() <ide> if err != nil { <del> logrus.Errorf("error in addLBBackend for %s/%s for %v", n.ID(), n.Name(), err) <add> logrus.Errorf("addLBBackend %s/%s: %v", ...
1
Javascript
Javascript
keep strict mode even if code is inserted
b98debb80970643ddc848344ac92ae1be4f99643
<ide><path>lib/FunctionModuleTemplatePlugin.js <ide> FunctionModuleTemplatePlugin.prototype.apply = function(moduleTemplate) { <ide> defaultArguments.push("__webpack_require__"); <ide> } <ide> source.add("/***/ function(" + defaultArguments.concat(module.arguments || []).join(", ") + ") {\n\n"); <add> if(module...
4
Go
Go
fix docker run -it on windows
8c014db3027b1ddecd42389e24b9c46d5f7a93ae
<ide><path>cli/command/in.go <ide> package command <ide> <ide> import ( <ide> "errors" <del> "github.com/docker/docker/pkg/term" <ide> "io" <add> "os" <ide> "runtime" <add> <add> "github.com/docker/docker/pkg/term" <ide> ) <ide> <ide> // InStream is an input stream used by the DockerCli to read user input <ide> fu...
3
Ruby
Ruby
improve no formula output
021468c8c0b5d587d6102535be2d4dc66d3b5863
<ide><path>Library/Homebrew/dev-cmd/bump-formula-pr.rb <ide> def bump_formula_pr <ide> odie "Couldn't guess formula for sure: could be one of these:\n#{guesses}" <ide> end <ide> end <del> odie "No formula found!" unless formula <add> raise FormulaUnspecifiedError unless formula <ide> <ide> ...
1
Python
Python
improve test protocol for inputs_embeds in tf
cf62bdc962c53d9fb7a5820217f1bf844bb6da3b
<ide><path>transformers/tests/modeling_tf_common_test.py <ide> def test_inputs_embeds(self): <ide> try: <ide> x = wte([input_ids], mode="embedding") <ide> except: <del> if hasattr(self.model_tester, "embedding_size"): <del> ...
1
Text
Text
put positive case in if statement
39530535b98894bfc4552119c9ea7ee415913483
<ide><path>docs/intro.md <ide> configuration data options: <ide> ```coffeescript <ide> wrapGuideConfig = <ide> getGuideColumn: (path, defaultColumn) -> <del> if path.indexOf('.mm', path.length - 3) isnt -1 <del> return -1 # Disable the guide for Objective-C files <del> else <add> if path.indexOf('.mm', ...
1
Mixed
Javascript
add writablecorked property
de119131bc87cf4168c949ecbbf1c1504f96a499
<ide><path>doc/api/stream.md <ide> Is `true` after [`writable.end()`][] has been called. This property <ide> does not indicate whether the data has been flushed, for this use <ide> [`writable.writableFinished`][] instead. <ide> <add>##### writable.writableCorked <add><!-- YAML <add>added: REPLACEME <add>--> <add> <add...
4
Ruby
Ruby
reduce duplicate where removal to one loop
dbc5d2694f0c77ca9de43306602969fdd3dbd20e
<ide><path>activerecord/lib/active_record/relation/spawn_methods.rb <ide> def merge(r) <ide> <ide> merged_relation = merged_relation.joins(r.joins_values) <ide> <del> merged_wheres = @where_values.dup + r.where_values <del> <del> equality_wheres = merged_wheres.find_all { |w| <del> w.respond_to...
1
Javascript
Javascript
update benchmarks with new createchildprocess api
1a2762b78e496dac4cc9fd0fb4ffb1d4f036692b
<ide><path>benchmark/process_loop.js <ide> node.mixin(require("/utils.js")); <ide> function next (i) { <ide> if (i <= 0) return; <ide> <del> var child = node.createChildProcess("echo hello"); <add> var child = node.createChildProcess("echo", ["hello"]); <ide> <ide> child.addListener("output", function (chunk) {...
2
Go
Go
use prefix naming for inspect tests
3812a6a8466f639cfd538c05c3ff2730a70b1440
<ide><path>integration-cli/docker_api_inspect_test.go <ide> import ( <ide> "testing" <ide> ) <ide> <del>func TestInspectContainerResponse(t *testing.T) { <add>func TestInspectApiContainerResponse(t *testing.T) { <ide> runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "true") <ide> out, _, err := runComma...
1
PHP
PHP
remove elixir helper
cd17572c9d8e1e039b738d595d83cda5a43f938e
<ide><path>src/Illuminate/Foundation/helpers.php <ide> function dispatch_now($job, $handler = null) <ide> } <ide> } <ide> <del>if (! function_exists('elixir')) { <del> /** <del> * Get the path to a versioned Elixir file. <del> * <del> * @param string $file <del> * @param string $buildDirecto...
2
PHP
PHP
add ability to remove a defined join
f25eac3b46b9b3e23eb29e8e0e41ce6fdae29d36
<ide><path>src/Database/Query.php <ide> public function join($tables = null, $types = [], $overwrite = false) <ide> return $this; <ide> } <ide> <add> /** <add> * Remove a join if it has been defined. <add> * <add> * Useful when you are redefining joins or want to re-order <add> * the joi...
2
Javascript
Javascript
fix wrong type check in jquery.prop
213118c81e3c441a99f2e0d3b8753538ffbc9b46
<ide><path>src/jquery/jquery.js <ide> jQuery.extend({ <ide> return value.call( elem ); <ide> <ide> // Handle passing in a number to a CSS property <del> if ( value.constructor == Number && type == "css" ) <add> if ( value.constructor == Number && type == "curCSS" ) <ide> return value + "px"; <ide> <ide...
1
Ruby
Ruby
ensure postgresql previous version exists
f15f665b989aaa152e8bed11aacbdecb155021ec
<ide><path>Library/Homebrew/dev-cmd/audit.rb <ide> def audit_keg_only_style <ide> problem "keg_only reason should not end with a period." <ide> end <ide> <add> def audit_postgresql <add> return unless formula.name == "postgresql" <add> major_version = formula.version <add> ...
1
Javascript
Javascript
add weakset polyfill
06c40663a22e1a225d3308fd35487b27bdeef83d
<ide><path>packages/ember-metal/lib/is_proxy.js <del>const PROXIES = new WeakMap(); <add>import WeakSet from './weak_set'; <add> <add>const PROXIES = new WeakSet(); <ide> <ide> export function isProxy(object) { <ide> return PROXIES.has(object); <ide> } <ide> <ide> export function setProxy(object) { <del> return PR...
2
PHP
PHP
remove deprecated language line
4852f483466bdc83bac132421832d3eec07bcfaf
<ide><path>resources/lang/en/passwords.php <ide> | <ide> */ <ide> <del> 'password' => 'Passwords must be at least eight characters and match the confirmation.', <ide> 'reset' => 'Your password has been reset!', <ide> 'sent' => 'We have e-mailed your password reset link!', <ide> 'token' => 'This ...
1
PHP
PHP
apply fixes from styleci
15823659f213c20b74929e88b2c57248721d180b
<ide><path>src/Illuminate/Support/HtmlString.php <ide> public function toHtml() <ide> public function isEmpty() <ide> { <ide> return empty($this->html); <del> } <add> } <ide> <ide> /** <ide> * Get the HTML string.
1
Java
Java
fix prefixresourceresolver implementation
c4843577bab0a9ebf5277853dd70a2e01dd1facd
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/resource/PrefixResourceResolver.java <ide> public class PrefixResourceResolver extends AbstractResourceResolver { <ide> <ide> public PrefixResourceResolver(String prefix) { <ide> Assert.hasText(prefix, "prefix must not be null or empty"); <del> ...
2
Ruby
Ruby
add a handful of cache store tests
e59de6046cf01852e1b16e7a6a39de94aefa7e72
<ide><path>activesupport/lib/active_support/cache.rb <add>require 'benchmark' <add> <ide> module ActiveSupport <ide> module Cache <ide> def self.lookup_store(*store_option) <ide><path>activesupport/test/caching_test.rb <ide> def test_object_assigned_fragment_cache_store <ide> assert_equal "/path/to/cache/dire...
2
Javascript
Javascript
ignore items outside chart area for interaction
77cfac17859c0e086dc90b4c85ac2108581d56dc
<ide><path>src/core/core.interaction.js <ide> function getNearestItems(chart, position, axis, intersect, useFinalPosition) { <ide> } <ide> <ide> const center = element.getCenterPoint(useFinalPosition); <add> if (!_isPointInArea(center, chart.chartArea, chart._minPadding)) { <add> return; <add> } <id...
1
Javascript
Javascript
fix react warnings
84df87ef64b97ede858931437ee22a660ab8b412
<ide><path>Libraries/Components/Touchable/TouchableNativeFeedback.android.js <ide> var processColor = require('processColor'); <ide> <ide> var rippleBackgroundPropType = createStrictShapeTypeChecker({ <ide> type: React.PropTypes.oneOf(['RippleAndroid']), <del> color: PropTypes.string, <add> color: PropTypes.number...
1
Python
Python
fix comment with path of export_tfhub_lib_test.py
52531231b59559c247a87832ad3003aa046ce027
<ide><path>official/nlp/modeling/layers/text_layers_test.py <ide> def test_input(start, lengths): <ide> <ide> # This test covers the in-process behavior of a BertTokenizer layer. <ide> # For saving, restoring, and the restored behavior (incl. shape inference), <del># see export_tfub_test.py. <add># see nlp/tools/expor...
1
Text
Text
add docs for building with rollup
e69ff955f4960d4192107437f000e6bc08ffb804
<ide><path>docs/docs/installation.md <ide> If you use [Create React App](https://github.com/facebookincubator/create-react- <ide> <ide> #### Webpack <ide> <del>-Include both `DefinePlugin` and `UglifyJsPlugin` into your production Webpack configuration as described in [this guide](https://webpack.js.org/guides/produc...
2
Text
Text
fix demo for angular v8+.
8f930c5857e10974b4578e489c63bf7fb322a236
<ide><path>docs/guides/angular.md <ide> import videojs from 'video.js'; <ide> encapsulation: ViewEncapsulation.None, <ide> }) <ide> export class VjsPlayerComponent implements OnInit, OnDestroy { <del> @ViewChild('target') target: ElementRef; <add> @ViewChild('target', {static: true}) target: ElementRef; <ide> // ...
1
PHP
PHP
add tests for other ru plural rules
ed09383e6d7721375aee5a68156518759709f6c2
<ide><path>tests/TestCase/I18n/PluralRulesTest.php <ide> public function localesProvider() <ide> ['ru', 0, 2], <ide> ['ru', 1, 0], <ide> ['ru', 2, 1], <add> ['ru', 21, 0], <add> ['ru', 22, 1], <add> ['ru', 5, 2], <add> ['ru', 7, 2], <ide> ...
1
Python
Python
fix filename conversion for conllu
eca41f0cf6c8773813fc7e73096881d3eef38850
<ide><path>spacy/cli/converters/conllu2json.py <ide> def conllu2json(input_path, output_path, n_sents=10, use_morphology=False): <ide> docs.append(doc) <ide> sentences = [] <ide> <add> output_filename = input_path.parts[-1].replace(".conll", ".json") <ide> output_filename = input_path.pa...
1
Javascript
Javascript
add $name property
e0198c1cda768e8711fc182b4f42643ba11cad04
<ide><path>src/ng/directive/input.js <ide> var VALID_CLASS = 'ng-valid', <ide> * @property {boolean} $dirty True if user has already interacted with the control. <ide> * @property {boolean} $valid True if there is no error. <ide> * @property {boolean} $invalid True if at least one error on the control. <add> * @prop...
1
PHP
PHP
add custom message to response code assertions
4acf17fbae95ff55e8cb7d946fd8c43f1690f508
<ide><path>src/TestSuite/IntegrationTestCase.php <ide> public function viewVariable($name) <ide> * <ide> * @return void <ide> */ <del> public function assertResponseOk() <add> public function assertResponseOk($message) <ide> { <del> $this->_assertStatus(200, 204, 'Status code is not betw...
1
Text
Text
use appropriate `classname` attribute for jsx
1cd34dd640f868b405a834e6e1755711c2cfcd33
<ide><path>errors/next-script-for-ga.md <ide> import Script from 'next/script' <ide> <ide> function Home() { <ide> return ( <del> <div class="container"> <add> <div className="container"> <ide> <!-- Global site tag (gtag.js) - Google Analytics --> <ide> <Script <ide> src="https://www.google...
1
Text
Text
fix typo in transformer docs
165993d8e57f2bd0ea35f4792f414951dc6c4787
<ide><path>website/docs/api/transformer.md <ide> on the transformer architectures and their arguments and hyperparameters. <ide> > nlp.add_pipe("transformer", config=DEFAULT_CONFIG) <ide> > ``` <ide> <del>| Setting | Description ...
1
Python
Python
fix e302 flake8 warning (x3)
eed46f38b77b83cdd3df4c20a1a12e1d20a31dac
<ide><path>templates/adding_a_new_model/modeling_tf_xxx.py <ide> "xxx-large-uncased": "https://s3.amazonaws.com/models.huggingface.co/bert/xxx-large-uncased-tf_model.h5", <ide> } <ide> <add> <ide> #################################################### <ide> # TF 2.0 Models are constructed using Keras imperative API ...
3
Javascript
Javascript
remove redundant assignment in url.parse
4bd3620382a200736342b6c2adf12a3477e1d41f
<ide><path>lib/url.js <ide> Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { <ide> var p = this.port ? ':' + this.port : ''; <ide> var h = this.hostname || ''; <ide> this.host = h + p; <del> this.href += this.host; <ide> <ide> // strip [ and ] from the hostname <ide> //...
1
Javascript
Javascript
initialize tcpwrap when receiving socket
0d7a0216dc8e0d79bdc32aa7c48097bebfcba8eb
<ide><path>lib/net.js <ide> function Socket(options) { <ide> stream.Duplex.call(this, options); <ide> <ide> if (options.handle) { <add> // Initialize TCPWrap and PipeWrap <add> process.binding('tcp_wrap'); <add> process.binding('pipe_wrap'); <add> <ide> this._handle = options.handle; // private <ide> ...
2
Python
Python
fix documentation misstatement
88da562d1c02b2c1803b4bfb3fc81ba1470e0d5c
<ide><path>numpy/core/tests/test_regression.py <ide> def test_string_truncation(self): <ide> <ide> def test_string_truncation_ucs2(self): <ide> # Ticket #2081. Python compiled with two byte unicode <del> # can lead to truncation if numpy itemsize is adjusted <del> # for 4 byte unicode. <add> ...
1
Java
Java
add tryonerror to create/xemitter api
8bf04e968584ed49139af9f81854ae28b225e0b0
<ide><path>src/main/java/io/reactivex/CompletableEmitter.java <ide> public interface CompletableEmitter { <ide> * @return true if the downstream disposed the sequence <ide> */ <ide> boolean isDisposed(); <add> <add> /** <add> * Attempts to emit the specified {@code Throwable} error if the downstrea...
15
Go
Go
remove job from image_export
2a14b7dd35901167d83735a25ff626596391c4ed
<ide><path>api/server/server.go <ide> func (s *Server) getImagesGet(eng *engine.Engine, version version.Version, w htt <ide> if err := parseForm(r); err != nil { <ide> return err <ide> } <del> if version.GreaterThan("1.0") { <add> <add> useJSON := version.GreaterThan("1.0") <add> if useJSON { <ide> w.Header().Set...
3
Text
Text
remove warning from `response.writehead`
61e589f8ecff12451a71bc736812004bed302f6b
<ide><path>doc/api/http.md <ide> const server = http.createServer((req, res) => { <ide> }); <ide> ``` <ide> <del>`Content-Length` is given in bytes not characters. The above example <del>works because the string `'hello world'` contains only single byte characters. <del>If the body contains higher coded characters the...
1
Python
Python
add tests for the array api creation functions
3b91f476fbbecbd111f10efd0aae1df8eed5d667
<ide><path>numpy/_array_api/tests/test_creation_functions.py <add>from numpy.testing import assert_raises <add>import numpy as np <add> <add>from .. import all <add>from .._creation_functions import (asarray, arange, empty, empty_like, eye, from_dlpack, full, full_like, linspace, meshgrid, ones, ones_like, zeros, zeros...
1
Ruby
Ruby
add version method to top level modules
c07e1515f7c66f5599cbb3c7e9fe42e166bf3edc
<ide><path>actionmailer/lib/action_mailer/version.rb <ide> module ActionMailer <del> module VERSION #:nodoc: <del> MAJOR = 4 <del> MINOR = 0 <del> TINY = 0 <del> PRE = "beta1" <add> # Returns the version of the currently loaded ActionMailer as a Gem::Version <add> def self.version <add> Gem::Versio...
7
Javascript
Javascript
remove _node.matrixautoupdate = false;
96893766ca6adf918cb21a30e8abc4b3b7c18223
<ide><path>examples/js/loaders/GLTFLoader.js <ide> THREE.GLTFLoader = ( function () { <ide> <ide> if ( node.extras ) _node.userData = node.extras; <ide> <del> _node.matrixAutoUpdate = false; <del> <ide> if ( node.matrix !== undefined ) { <ide> <ide> matrix.fromArray( node.matrix );
1
Text
Text
remove example labels from buffer.md
acacf85fecae4a2b72e7cce2dff3a1ac21d40f97
<ide><path>doc/api/buffer.md <ide> impact* on performance. Use of the `--zero-fill-buffers` option is recommended <ide> only when necessary to enforce that newly allocated `Buffer` instances cannot <ide> contain potentially sensitive data. <ide> <del>Example: <del> <ide> ```txt <ide> $ node --zero-fill-buffers <ide> >...
1
Go
Go
check len inside public function
bb05c188927cdc7a5f86dceace3a4043b0dfeb28
<ide><path>builder/dockerfile/internals.go <ide> func (b *Builder) create() (string, error) { <ide> b.tmpContainers[c.ID] = struct{}{} <ide> fmt.Fprintf(b.Stdout, " ---> Running in %s\n", stringid.TruncateID(c.ID)) <ide> <del> if len(config.Cmd) > 0 { <del> // override the entry point that may have been picked up f...
3
Text
Text
add user token workflow
f34c125da4191dc8d3cbd27375436941911deb5e
<ide><path>docs/_sidebar.md <ide> - [Understand the curriculum file structure](curriculum-file-structure.md) <ide> - [Debug outgoing emails locally](how-to-catch-outgoing-emails-locally.md) <ide> - [Set up freeCodeCamp on Windows (WSL)](how-to-setup-wsl.md) <add> - [User Token Workflow](user-token-workflow.md) <...
2
PHP
PHP
remove redundant capture and fix linter errors
90f65b79d19d4a0ed0781cbf3df8b34d7cdfcb14
<ide><path>src/Error/Middleware/ErrorHandlerMiddleware.php <ide> public function process(ServerRequestInterface $request, RequestHandlerInterface <ide> public function handleException(Throwable $exception, ServerRequestInterface $request): ResponseInterface <ide> { <ide> if ($this->errorHandler === null...
2
Javascript
Javascript
normalize scroll wheel
5067e5df79656cc8f101c3842552a29a2df50efd
<ide><path>examples/js/controls/EditorControls.js <ide> THREE.EditorControls = function ( object, domElement ) { <ide> this.enabled = true; <ide> this.center = new THREE.Vector3(); <ide> this.panSpeed = 0.001; <del> this.zoomSpeed = 0.001; <add> this.zoomSpeed = 0.1; <ide> this.rotationSpeed = 0.005; <ide> <ide> ...
1
PHP
PHP
upgrade shell - 'configure' subcommand
b5d602e491b612b3d09ca4e86d5ed2a7d09ab847
<ide><path>cake/console/shells/upgrade.php <ide> public function basics() { <ide> $patterns = array( <ide> array( <ide> 'a(*) -> array(*)', <del> '/a\((.*)\)/', <add> '/\ba\((.*)\)/', <ide> 'array(\1)' <ide> ), <ide> array( <ide> public function request() { <ide> $this->_filesRegexpUpdate($pa...
1
Javascript
Javascript
add @flow to backhandler
471e8c168a07ec2f4efcd2cfa815232b1bc3cd26
<ide><path>Libraries/Utilities/BackHandler.android.js <ide> * LICENSE file in the root directory of this source tree. <ide> * <ide> * @format <add> * @flow <ide> */ <ide> <ide> 'use strict'; <ide> const DEVICE_BACK_EVENT = 'hardwareBackPress'; <ide> <ide> type BackPressEventName = $Enum<{ <ide> backPress: strin...
2
Ruby
Ruby
remove `engine` from `treemanager` and subclasses
98fc25991137ee09b6800578117f8c1c322680f2
<ide><path>lib/arel/crud.rb <ide> module Arel <ide> # FIXME hopefully we can remove this <ide> module Crud <ide> def compile_update values, pk <del> um = UpdateManager.new @engine <add> um = UpdateManager.new <ide> <ide> if Nodes::SqlLiteral === values <ide> relation = @ctx.from <ide> d...
17
Text
Text
add 0.66.4 changelog
896a5c92305066c4e2dc1abe2621c3f3120811be
<ide><path>CHANGELOG.md <ide> # Changelog <ide> <add>## v0.66.4 <add> <add>### Fixed <add> <add>#### iOS specific <add> <add>- Revert "Fix Deadlock in RCTi18nUtil (iOS)" ([70ddf46](https://github.com/facebook/react-native/commit/70ddf46c8afcd720e188b6d82568eac6ac8125e6) by [@Saadnajmi](https://github.com/Saadnajmi)) <...
1
Python
Python
fix formatting and remove unused imports
1101fd3855c90ece679e4b9af37c5f3f5dc343eb
<ide><path>spacy/en/__init__.py <ide> # coding: utf8 <del>from __future__ import unicode_literals, print_function <add>from __future__ import unicode_literals <ide> <del>from os import path <ide> from ..language import Language <ide> from ..lemmatizer import Lemmatizer <ide> from ..vocab import Vocab <ide> <ide> from...
1
Ruby
Ruby
install plists in formulainstaller, not build.rb
523f50862bf41886688521ae4a3acf68ca0c264b
<ide><path>Library/Homebrew/build.rb <ide> def install f <ide> f.prefix.mkpath <ide> f.install <ide> <del> # Install a plist if one is defined <del> unless f.startup_plist.nil? <del> unless f.plist_path.exist? <del> f.plist_path.write f.startup_plist <del> f.plist_path.ch...
2
Java
Java
fix javadoc warnings of buffer(publisher|callable)
f671b57b11845af04cc110792550ecc4f5464712
<ide><path>src/main/java/io/reactivex/Flowable.java <ide> public final <B, U extends Collection<? super T>> Flowable<U> buffer(Publisher<B <ide> * new buffer whenever the Publisher produced by the specified {@code boundaryIndicatorSupplier} emits an item. <ide> * <p> <ide> * <img width="640" height="395"...
2
PHP
PHP
fix function check
e80be6d389096a07175513c84101a4bef8c565cb
<ide><path>src/Illuminate/Support/helpers.php <ide> function object_get($object, $key, $default = null) <ide> } <ide> } <ide> <del>if ( ! function_exists('preg_replace_array')) <add>if ( ! function_exists('preg_replace_sub')) <ide> { <ide> /** <ide> * Replace a given pattern with each value in the array in sequent...
1
Java
Java
add buffercontent option to mockrestserviceserver
541ee13934cf8c1dfcbcfadce2bb6299bd25900c
<ide><path>spring-test/src/main/java/org/springframework/test/web/client/MockRestServiceServer.java <ide> /* <del> * Copyright 2002-2017 the original author or authors. <add> * Copyright 2002-2018 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * ...
2
Text
Text
add contributor agreement
a90ca0e1fbf2dff4f5750613240d95f1154e326f
<ide><path>.github/contributors/rafguns.md <add># spaCy contributor agreement <add> <add>This spaCy Contributor Agreement (**"SCA"**) is based on the <add>[Oracle Contributor Agreement](http://www.oracle.com/technetwork/oca-405177.pdf). <add>The SCA applies to any contribution that you make to any product or project <a...
1
Text
Text
add a note about expiring otp codes
241c4467eef7c2a8858c96d5dfe4e8ef84c47bad
<ide><path>scripts/release/README.md <ide> Once the canary has been checked out and tested locally, you're ready to publish <ide> scripts/release/publish.js --tags next <ide> ``` <ide> <add>If the OTP code expires while publishing, re-run this command and answer "y" to the questions about whether it was expected for a...
1
Javascript
Javascript
use getactiveelement module
3f2ba221ef3cb514d15680b7736c37b016aa2064
<ide><path>src/core/ReactInputSelection.js <ide> <ide> var ReactDOMSelection = require('ReactDOMSelection'); <ide> <add>var getActiveElement = require('getActiveElement'); <ide> var nodeContains = require('nodeContains'); <ide> <del>// It is not safe to read the document.activeElement property in IE if there's <del>...
1
PHP
PHP
fix docblock on argument type
87e71db68fbf0d34fa1b1a729360b90f92806a2a
<ide><path>src/Illuminate/Validation/Concerns/FormatsMessages.php <ide> protected function getMessage($attribute, $rule) <ide> * <ide> * @param string $attribute <ide> * @param string $lowerRule <del> * @param array $source <add> * @param array|null $source <ide> * @return string|nu...
1
Javascript
Javascript
return this (line)
306a8f1d9c4522292b8ffff5e285c150e84253db
<ide><path>src/math/Box3.js <ide> Box3.prototype = { <ide> this.max.set( maxX, maxY, maxZ ); <ide> <ide> return this; <add> <ide> }, <ide> <ide> setFromBufferAttribute: function ( attribute ) {
1
Java
Java
fix warnings due to unused import statements
51b307681a8ee7d89180f58f967856b9c4bf9232
<ide><path>spring-aop/src/test/java/org/springframework/aop/interceptor/CustomizableTraceInterceptorTests.java <ide> /* <del> * Copyright 2002-2012 the original author or authors. <add> * Copyright 2002-2013 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License")...
10
Text
Text
add info about baseoperatormeta to updating.md
a19ff1572c68f5821e290a3cab6f2d3798e094b1
<ide><path>UPDATING.md <ide> https://developers.google.com/style/inclusive-documentation <ide> <ide> --> <ide> <del>### Not-nullable conn_type collumn in connection table <add>### BaseOperator uses metaclass <add> <add>`BaseOperator` class uses a `BaseOperatorMeta` as a metaclass. This meta class is based on <add>`ab...
1
Python
Python
make layer and shape caches more robust
523e9845d7c11259feda86076c5ecadb7ed4075a
<ide><path>keras/layers/containers.py <ide> def cache_enabled(self, value): <ide> for l in self.layers: <ide> l.cache_enabled = value <ide> <add> @property <add> def layer_cache(self): <add> return super(Sequential, self).layer_cache <add> <add> @layer_cache.setter <add> def laye...
2
Javascript
Javascript
add donut.me chat apps to showcase
8f295f16b19d1346a683b1448684144c804a973c
<ide><path>website/src/react-native/showcase.js <ide> var apps = [ <ide> ], <ide> author: 'Genki Takiuchi (s21g Inc.)', <ide> }, <add> { <add> name: 'DONUT chatrooms for communities', <add> icon: 'http://a2.mzstatic.com/eu/r30/Purple49/v4/d4/2d/e5/d42de510-6802-2694-1b60-ca80ffa1e2cb/icon175x175.png', ...
1
Python
Python
replace tf.to_float, tf.to_int with tf.cast
b548c7fdba6289acabb2c16de3c28d7cce74e252
<ide><path>official/nlp/transformer/utils/metrics.py <ide> def padded_cross_entropy_loss(logits, labels, smoothing, vocab_size): <ide> # Calculate smoothing cross entropy <ide> with tf.name_scope("smoothing_cross_entropy", values=[logits, labels]): <ide> confidence = 1.0 - smoothing <del> low_confide...
1
Python
Python
build context strings out of [u|n]gettext
afbf913b90a820702a2a4cad669c25d8808a5843
<ide><path>django/utils/translation/trans_real.py <ide> def ugettext(message): <ide> return do_translate(message, 'ugettext') <ide> <ide> def pgettext(context, message): <del> result = ugettext("%s%s%s" % (context, CONTEXT_SEPARATOR, message)) <add> msg_with_ctxt = "%s%s%s" % (context, CONTEXT_SEPARATOR,...
1
Javascript
Javascript
add support for foveation
ee1812f926718cdd159943c5e5ef14fc629e5ddc
<ide><path>src/renderers/webxr/WebXRManager.js <ide> class WebXRManager extends EventDispatcher { <ide> <ide> }; <ide> <add> this.getFoveation = function () { <add> <add> if ( glProjLayer !== null ) { <add> <add> return glProjLayer.fixedFoveation; <add> <add> } <add> <add> if ( glBaseLayer !== null ) { <a...
1
Java
Java
fix negative letterspacing in fabric android
7935174d48b698edfaeea14bf8ea690106ee56f4
<ide><path>ReactAndroid/src/main/java/com/facebook/react/views/text/TextAttributeProps.java <ide> public class TextAttributeProps { <ide> private static final int DEFAULT_TEXT_SHADOW_COLOR = 0x55000000; <ide> <ide> protected float mLineHeight = Float.NaN; <del> protected float mLetterSpacing = Float.NaN; <ide> ...
2
PHP
PHP
add test case to prevent future regression
a3e131529a516a1c0ce8e652656c10fffd9f9933
<ide><path>tests/TestCase/ORM/RulesCheckerIntegrationTest.php <ide> namespace Cake\Test\TestCase\ORM; <ide> <ide> use Cake\ORM\Entity; <add>use Cake\ORM\RulesChecker; <ide> use Cake\ORM\TableRegistry; <ide> use Cake\TestSuite\TestCase; <ide> <ide> class RulesCheckerIntegrationTest extends TestCase <ide> * <ide> ...
1
PHP
PHP
apply fixes from styleci
d1683918a619c07305319e62f8c863c4ee7818c3
<ide><path>src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php <ide> public function whereBelongsTo($related, $relationshipName = null, $boolean = 'a <ide> } <ide> <ide> if ($relatedCollection->isEmpty()) { <del> throw new InvalidArgumentException("Collection given to whereBel...
1
Mixed
Ruby
add docs to serializers. update changelogs
696d01f7f4a8ed787924a41cce6df836cd73c46f
<ide><path>actionpack/lib/action_controller/metal/serialization.rb <ide> module ActionController <add> # Action Controller Serialization <add> # <add> # Overrides render :json to check if the given object implements +active_model_serializer+ <add> # as a method. If so, use the returned serializer instead of calling...
4
Text
Text
fix "opencollective" references
4c75c82a79737a0f4bb9867ca11fcaf6a2bfa0ca
<ide><path>docs/Homebrew-Governance.md <ide> <ide> ## 4. Project Leadership Committee <ide> <del>1. The financial administration of Homebrew, organisation of the AGM, enforcement of the code of conduct and removal of members are performed by the PLC. The PLC will represent Homebrew in all dealings with OpenCollective...
2
Javascript
Javascript
use fs rimraf to refresh tmpdir
4a5fb74fb15f41ebde50ccbb05c3ad25bf1dd499
<ide><path>test/common/tmpdir.js <ide> function rimrafSync(pathname, { spawn = true } = {}) { <ide> } <ide> } <ide> <del> try { <del> if (st.isDirectory()) <del> rmdirSync(pathname, null); <del> else <del> fs.unlinkSync(pathname); <del> } catch (e) { <del> debug(e); <del> switch (e.code) ...
1
PHP
PHP
fix plural form calculation for turkish
e2d248a07f3b1247f4a7a48867da06e95ddc999d
<ide><path>src/I18n/PluralRules.php <ide> class PluralRules <ide> 'th' => 0, <ide> 'ti' => 2, <ide> 'tk' => 1, <del> 'tr' => 0, <add> 'tr' => 1, <ide> 'uk' => 3, <ide> 'ur' => 1, <ide> 'vi' => 0, <ide><path>tests/TestCase/I18n/PluralRulesTest.php <ide> publi...
2
Javascript
Javascript
fix renderorder reflectorrtt
6787bbc2af6c5b91f231d60d208c1890185bcf6e
<ide><path>examples/js/objects/ReflectorRTT.js <ide> THREE.ReflectorRTT = function ( geometry, options ) { <ide> <ide> this.geometry.setDrawRange( 0, 0 ); // avoid rendering geometry <ide> <add> this.renderOrder = -Infinity; // render RTT first <add> <ide> }; <ide> <ide> THREE.ReflectorRTT.prototype = Object.create...
1
Javascript
Javascript
improve triangle closure performance
d5b9bc6806ea51490eed10ce56f550cf9459bb80
<ide><path>src/math/Triangle.js <ide> Object.assign( Triangle.prototype, { <ide> <ide> closestPointToPoint: function () { <ide> <del> var plane, edgeList, projectedPoint, closestPoint; <add> var plane = new Plane(); <add> var edgeList = [ new Line3(), new Line3(), new Line3() ]; <add> var projectedPoint = new Ve...
1
Javascript
Javascript
add test for @ngdoc function
9e37ebe635a37a12535922ac9902ebd492d7cba9
<ide><path>docs/spec/ngdocSpec.js <ide> describe('ngdoc', function(){ <ide> }); <ide> <ide> <add> describe('function', function(){ <add> it('should format', function(){ <add> var doc = new Doc({ <add> ngdoc:'function', <add> name:'some.name', <add> param: [ <add> ...
1
PHP
PHP
allow setting level (depth) of tree nodes on save
17264790d762e89189819ebc3cbdea5ef05ec22a
<ide><path>src/ORM/Behavior/TreeBehavior.php <ide> class TreeBehavior extends Behavior <ide> 'parent' => 'parent_id', <ide> 'left' => 'lft', <ide> 'right' => 'rght', <del> 'scope' => null <add> 'scope' => null, <add> 'level' => null <ide> ]; <ide> <ide> /** <ide> pu...
3
Javascript
Javascript
add docs to api
c207d4a7d6e383de4c9b1b1eedbda6f56860f1b7
<ide><path>src/api.js <ide> /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ <ide> /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ <ide> <add>/** <add> * This is the main entry point for loading a PDF and interacting with it. <add> * NOTE: If a URL is used to fetch t...
1
PHP
PHP
fix array syntax for php 5.3
5d5091f2fca543104c5635953ab36bbbe84a4c72
<ide><path>tests/View/ViewEnvironmentTest.php <ide> public function testComposersCanBeMassRegistered() <ide> $env->getDispatcher()->shouldReceive('listen')->once()->with('composing: foo', m::type('Closure')); <ide> $composers = $env->composers(array( <ide> 'foo' => 'bar', <del> 'baz@baz' => ['qux', 'foo'], <ad...
1
Javascript
Javascript
replace vars in child.js
18ce3a3b05018bd83d076365192584a4bb2c2763
<ide><path>lib/internal/cluster/child.js <ide> function rr(message, indexesKey, cb) { <ide> if (message.errno) <ide> return cb(message.errno, null); <ide> <del> var key = message.key; <add> let key = message.key; <ide> <ide> function listen(backlog) { <ide> // TODO(bnoordhuis) Send a message to the mast...
1
Javascript
Javascript
update parser helpers to be compatible with hooks
c8e60b43220e1a825d876bedb1f8698635c3530f
<ide><path>lib/APIPlugin.js <ide> class APIPlugin { <ide> <ide> const handler = parser => { <ide> Object.keys(REPLACEMENTS).forEach(key => { <del> parser.plugin(`expression ${key}`, NO_WEBPACK_REQUIRE[key] ? ParserHelpers.toConstantDependency(REPLACEMENTS[key]) : ParserHelpers.toConstantDependencyWithWebpac...
14
Mixed
Javascript
fix status bar default on android
6c501eb666db91286283c0faad748c6a43af5e78
<ide><path>Libraries/Components/StatusBar/StatusBar.js <ide> class StatusBar extends React.Component<Props> { <ide> static _defaultProps = createStackEntry({ <ide> animated: false, <ide> showHideTransition: 'fade', <del> backgroundColor: 'black', <add> backgroundColor: Platform.select({ <add> andro...
2
Python
Python
fix typo in comment (issue #596)
f0a09ec10fcaed37d226a4d8ee969cbd14d13f46
<ide><path>glances/core/glances_actions.py <ide> def run(self, stat_name, criticity, commands, mustache_dict=None): <ide> criticity, <ide> mustache_dict)) <ide> <del> ...
1
PHP
PHP
remove temporary variable
361992f1578bc1db37936845cdedf58af1047bf9
<ide><path>src/Illuminate/Foundation/Application.php <ide> public function isLocale($locale) <ide> */ <ide> public function registerCoreContainerAliases() <ide> { <del> $aliases = [ <add> foreach ([ <ide> 'app' => [\Illuminate\Foundation\Application::class, \Illum...
1
Text
Text
add v3.24.0 to changelog
df3c7a65d14822155c9876f50849fa123edc1219
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <del>### v3.24.0-beta.3 (December 21, 2020) <del> <del>- [#19280](https://github.com/emberjs/ember.js/pull/19280) [BUGFIX] Ensure aliases cause recompute of a computed property when used with `@each` in the dependent keys of that property <del> <del>### v3.24.0-bet...
1
Text
Text
add changelog for 5.5.12 release
266b60e56066617fe60acb145b79348a094852cb
<ide><path>CHANGELOG-5.5.md <ide> # Release Notes for 5.5.x <ide> <add>## v5.5.12 (2017-09-22) <add> <add>### Added <add>- Added "software" as an uncountable word ([#21324](https://github.com/laravel/framework/pull/21324)) <add> <add>### Fixed <add>- Fixed null remember token error on EloquentUserProvider ([#21328](ht...
1
Javascript
Javascript
add support for local plugins and plugin options
3187a788e17f79ad69da509748aeb64cdbac48f0
<ide><path>src/chart.js <ide> var Chart = require('./core/core.js')(); <ide> <ide> require('./core/core.helpers')(Chart); <ide> require('./core/core.canvasHelpers')(Chart); <add>require('./core/core.plugin.js')(Chart); <ide> require('./core/core.element')(Chart); <ide> require('./core/core.animation')(Chart); <ide> re...
5
PHP
PHP
fix behavior of --plugin param
c727444880b5fc7e63493cc46fec6063e7b347f7
<ide><path>lib/Cake/Console/Shell.php <ide> public function runCommand($command, $argv) { <ide> if (!empty($this->params['quiet'])) { <ide> $this->_useLogger(false); <ide> } <del> <add> if (!empty($this->params['plugin'])) { <add> CakePlugin::load($this->params['plugin']); <add> } <ide> $this->command = $c...
1
PHP
PHP
send full job back into redisqueue
16e862c1e22795acab869fa01ec5f8bcd7d400b3
<ide><path>src/Illuminate/Queue/Jobs/RedisJob.php <ide> public function delete() <ide> { <ide> parent::delete(); <ide> <del> $this->redis->deleteReserved($this->queue, $this->reserved); <add> $this->redis->deleteReserved($this->queue, $this); <ide> } <ide> <ide> /** <ide> public func...
3
Text
Text
clarify language in article
e59727cea76af92878b183099feb0f522763e586
<ide><path>client/src/pages/guide/english/bootstrap/fontawesome-icons/index.md <ide> title: Fontawesome Icons For Bootstrap <ide> --- <ide> ## Fontawesome Icons For Bootstrap <ide> <del>Bootstrap (version 4) have dropped Glyphicon icons font in their latest release. <del>Fontawesome Icons provide you with over 675 ic...
1
Javascript
Javascript
add copyhooks function
5a4a1cba2445d71aadf4ebf4350090dfdb32d871
<ide><path>lib/internal/async_hooks.js <ide> function storeActiveHooks() { <ide> // Don't want to make the assumption that kInit to kDestroy are indexes 0 to <ide> // 4. So do this the long way. <ide> active_hooks.tmp_fields = []; <del> active_hooks.tmp_fields[kInit] = async_hook_fields[kInit]; <del> active_hoo...
1
Text
Text
fix code snippet in essentials tutorial part-6
df18e8a96b7bdc31a8ceeba63db019354494f9b8
<ide><path>docs/tutorials/essentials/part-6-performance-normalization.md <ide> export const fetchNotifications = createAsyncThunk( <ide> const response = await client.get( <ide> `/fakeApi/notifications?since=${latestTimestamp}` <ide> ) <del> return response.notifications <add> return response.data <...
1
Text
Text
consolidate issue templates
25ee3e00f42e4b8dddebd378a40b6475f9d52a63
<ide><path>.github/ISSUE_TEMPLATE/bug_report.md <ide> --- <ide> name: "🐛 Bug Report" <del>about: You want to report a reproducible bug or regression in React Native. <add>about: Report a reproducible bug or regression in React Native. <ide> title: '' <ide> labels: 'Bug' <ide> <ide> --- <ide> <del>## 🐛 Bug Report <i...
5