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
improve test stability for ticket. close gh-1328
9214c37bbaa79aa99c85c8043a870c8cec3d7b0f
<ide><path>test/unit/effects.js <ide> test("Do not append px to 'fill-opacity' #9548", 1, function() { <ide> }); <ide> }); <ide> <del>test("line-height animates correctly (#13855)", function() { <del> expect( 12 ); <del> stop(); <del> <add>asyncTest("line-height animates correctly (#13855)", 12, function() { <ide> v...
1
Ruby
Ruby
add built_on & arch information
b338398a8c002953d64852c51f0d7b5e9c419332
<ide><path>Library/Homebrew/development_tools.rb <ide> def curl_handles_most_https_certificates? <ide> def subversion_handles_most_https_certificates? <ide> true <ide> end <add> <add> def build_system_info <add> { <add> "os" => ENV["HOMEBREW_SYSTEM"], <add> "os_version" => OS...
4
Python
Python
add downgrade to some fab migrations
f964fd47de5435f5c354c6211d24bd2dfaaffa9e
<ide><path>airflow/migrations/versions/2c6edca13270_resource_based_permissions.py <ide> def remap_permissions(): <ide> appbuilder.sm.delete_action(old_action_name) <ide> <ide> <add>def undo_remap_permissions(): <add> """Unapply Map Airflow permissions""" <add> appbuilder = create_app(config={'FAB_UP...
3
PHP
PHP
add default value for fileengine
e768f1455ce40e0f92c049011a52fab00bcb9348
<ide><path>src/Cache/Engine/FileEngine.php <ide> public function get($key, $default = null) <ide> $key = $this->_key($key); <ide> <ide> if (!$this->_init || $this->_setKey($key) === false) { <del> return null; <add> return $default; <ide> } <ide> <ide> if ($this->...
2
Python
Python
extract tasklogreader from views.py
eb8683a7255e4efb7bc16c1209da4bc42f62e9bd
<ide><path>airflow/utils/log/log_reader.py <add># Licensed to the Apache Software Foundation (ASF) under one <add># or more contributor license agreements. See the NOTICE file <add># distributed with this work for additional information <add># regarding copyright ownership. The ASF licenses this file <add># to you un...
4
PHP
PHP
update doc block and remove inline assignment
a098ff28b8664a1c4c25445ac4a81e6660969903
<ide><path>lib/Cake/Model/Datasource/Database/Sqlserver.php <ide> public function value($data, $column = null) { <ide> * @param Model $model <ide> * @param array $queryData <ide> * @param integer $recursive <del> * @return array Array of resultset rows, or false if no rows matched <add> * @return array|false Array o...
2
Javascript
Javascript
fix stragglers that were not qunit 2 compatible
2b80a62e2893c2c937213f8fce419d647baff7c4
<ide><path>packages/ember-debug/tests/main_test.js <ide> import { <ide> <ide> let originalEnvValue; <ide> let originalDeprecateHandler; <add>let originalWarnHandler; <ide> let originalWarnOptions; <ide> let originalDeprecationOptions; <ide> <ide> moduleFor('ember-debug', class extends TestCase { <ide> <ide> orig...
4
Mixed
Go
add support for comment in .dockerignore
8913dace341c8fc9f9a3ab9518c8521c161b307f
<ide><path>builder/dockerignore/dockerignore.go <ide> func ReadAll(reader io.ReadCloser) ([]string, error) { <ide> var excludes []string <ide> <ide> for scanner.Scan() { <del> pattern := strings.TrimSpace(scanner.Text()) <add> // Lines starting with # (comments) are ignored before processing <add> pattern := scan...
3
PHP
PHP
extract method for if check
8a3726385171855986a6f9e1e30b09d796dfea3c
<ide><path>src/Illuminate/Validation/Validator.php <ide> protected function validateImage($attribute, $value) <ide> */ <ide> protected function validateMimes($attribute, $value, $parameters) <ide> { <del> if ( ! $value instanceof File || ($value instanceof UploadedFile && ! $value->isValid())) <add> if ( ! $this-...
1
Text
Text
make caveat in stream.md more concise
003e5b3404db3acb6f9e8e8e3f1ee6278855d586
<ide><path>doc/api/stream.md <ide> The `stream` module can be accessed using: <ide> const stream = require('stream'); <ide> ``` <ide> <del>While it is important for all Node.js users to understand how streams work, <del>the `stream` module itself is most useful for developers that are creating new <del>types of stream...
1
Javascript
Javascript
improve flow types
da0b139b56123bc1bb9d41399cefe8a33a820a82
<ide><path>Libraries/Components/TextInput/TextInput.js <ide> const warning = require('fbjs/lib/warning'); <ide> import type {TextStyleProp, ViewStyleProp} from 'StyleSheet'; <ide> import type {ColorValue} from 'StyleSheetTypes'; <ide> import type {ViewProps} from 'ViewPropTypes'; <del>import type {SyntheticEvent} from ...
1
Text
Text
move gireeshpunathil to tsc emeritus
4c746a6cfda980c1cd0de6246781c0083d9e416c
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Franziska Hinkelmann** &lt;franziska.hinkelmann@gmail.com&gt; (she/her) <ide> * [gabrielschulhof](https://github.com/gabrielschulhof) - <ide> **Gabriel Schulhof** &lt;gabriel.schulhof@intel.com&gt; <del>* [gireeshpunathi...
1
Javascript
Javascript
add segmentedcontrolios documentation to website
1c05aff424be56206daac12a540c7b925b7a76ce
<ide><path>website/server/extractDocs.js <ide> var components = [ <ide> '../Libraries/Components/Navigation/NavigatorIOS.ios.js', <ide> '../Libraries/Picker/PickerIOS.ios.js', <ide> '../Libraries/Components/ScrollView/ScrollView.js', <add> '../Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js',...
1
Ruby
Ruby
expose `mailbox_for` method
9f96d094a39100df53ea68b8bd6fa7fcafd96eac
<ide><path>actionmailbox/lib/action_mailbox/router.rb <ide> def add_route(address, to:) <ide> end <ide> <ide> def route(inbound_email) <del> if mailbox = match_to_mailbox(inbound_email) <add> if mailbox = mailbox_for(inbound_email) <ide> mailbox.receive(inbound_email) <ide> else <ide> ...
4
Javascript
Javascript
remove forced optimization from misc
7587a11adc5013721aae3e0bedb7fbd51e1ced5b
<ide><path>benchmark/misc/console.js <ide> const common = require('../common.js'); <ide> const assert = require('assert'); <ide> const Writable = require('stream').Writable; <ide> const util = require('util'); <del>const v8 = require('v8'); <del> <del>v8.setFlagsFromString('--allow_natives_syntax'); <ide> <ide> const ...
3
Ruby
Ruby
improve the error message
7b96fd008e332949b9d53ffe08e9de20dbff0e2d
<ide><path>Library/Homebrew/utils/fork.rb <ide> def self.safe_fork(&_block) <ide> Process.wait(pid) unless socket.nil? <ide> raise Marshal.load(data) unless data.nil? || data.empty? <ide> raise Interrupt if $CHILD_STATUS.exitstatus == 130 <del> raise "Suspicious failure" unless $C...
1
Python
Python
fix setup.py to work from a released tarball
87e12c1dfc90fae5d0a2576add0c1879df815740
<ide><path>pavement.py <ide> sys.path.insert(0, os.path.dirname(__file__)) <ide> try: <ide> setup_py = __import__("setup") <del> FULLVERSION = setup_py.FULLVERSION <add> FULLVERSION = setup_py.VERSION <add> # This is duplicated from setup.py <add> if os.path.exists('.git'): <add> GIT_REVISION = s...
2
Ruby
Ruby
offload more filtering to the search api
f7ef4964a72d3dfb8c631cafe83ba1e2a8a5dacc
<ide><path>Library/Homebrew/utils.rb <ide> def uri_escape(query) <ide> <ide> def issues_for_formula name <ide> # don't include issues that just refer to the tool in their body <del> issues_matching(name).select { |issue| issue["state"] == "open" } <add> issues_matching(name, :state => "open") <ide> end <...
1
Javascript
Javascript
add support for shadow dom
387a23df737fcf8d0faf8762b757b2a428c5a906
<ide><path>src/core/core.helpers.js <ide> module.exports = function() { <ide> // @see http://www.nathanaeljones.com/blog/2013/reading-max-width-cross-browser <ide> function getConstraintDimension(domNode, maxStyle, percentageProperty) { <ide> var view = document.defaultView; <del> var parentNode = domNode.parentNo...
2
Ruby
Ruby
update the documentation for engine and railtie
4bacc2a66d26b2e257718bb44c89583f79c138e8
<ide><path>railties/lib/rails/engine.rb <ide> module Rails <ide> # # lib/my_engine.rb <ide> # module MyEngine <ide> # class Engine < Rails::Engine <del> # engine_name :my_engine <ide> # end <ide> # end <ide> # <ide> module Rails <ide> # Example: <ide> # <ide> # class MyEngine < ...
2
PHP
PHP
add test for accept header
f6b33db02c1323c7e7fce1467724ed2a8ad85c14
<ide><path>lib/Cake/Test/Case/Network/CakeRequestTest.php <ide> public function testParseAcceptWithQValue() { <ide> $this->assertEquals($expected, $result); <ide> } <ide> <add>/** <add> * Test parsing accept with a confusing accept value. <add> * <add> * @return void <add> */ <add> public function testParseAcceptNo...
1
Javascript
Javascript
fix typos on comments
619ba0000124f2b1fce5d9c763f92419df556282
<ide><path>examples/with-dynamic-import/pages/index.js <ide> export default class Index extends React.Component { <ide> <div> <ide> <Header /> <ide> <del> {/* Load immediately, but in a sepeate bundle */} <add> {/* Load immediately, but in a separate bundle */} <ide> <DynamicCompone...
1
Ruby
Ruby
move argument to fix warning
57336ea68b13ec816c9403f03c437e3e503b2ca5
<ide><path>Library/Homebrew/cmd/commands.rb <ide> module Homebrew <ide> def commands <ide> # Find commands in Homebrew/cmd <add> with_directory = false <ide> cmds = (HOMEBREW_REPOSITORY/"Library/Homebrew/cmd"). <del> children(with_directory=false). <add> children(with_directory). <ide> ...
1
Javascript
Javascript
add alternative mapping using attributes
a170fc1a749effa98bfd1c2e1b30297ed47b451b
<ide><path>src/ng/directive/ngPluralize.js <ide> var ngPluralizeDirective = ['$locale', '$interpolate', function($locale, $interp <ide> restrict: 'EA', <ide> link: function(scope, element, attr) { <ide> var numberExp = attr.count, <del> whenExp = element.attr(attr.$attr.when), // this is because ...
2
Mixed
Java
add many fromx operators + marbles
26dacd72f1929c78d84da41ec80dc1ae3996c9f9
<ide><path>docs/Operator-Matrix.md <ide> Operator | ![Flowable](https://raw.github.com/wiki/ReactiveX/RxJava/images/opmat <ide> <a name='flattenStreamAsObservable'></a>`flattenStreamAsObservable`|![absent](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_off.png) <sup title='Use flatMapStream().'>([67](#no...
44
Text
Text
update the shape of y_train and y_test
6b8a3bcd79beb264794ea72fd7a86c64c3f27736
<ide><path>docs/templates/datasets.md <ide> from keras.datasets import cifar10 <ide> - __Returns:__ <ide> - 2 tuples: <ide> - __x_train, x_test__: uint8 array of RGB image data with shape (num_samples, 3, 32, 32) or (num_samples, 32, 32, 3) based on the `image_data_format` backend setting of either `channel...
1
Python
Python
fix vector linkage
5a7fd0fd3683fb5949f11e81109853020113ca1e
<ide><path>spacy/language.py <ide> from .lang.lex_attrs import LEX_ATTRS <ide> from . import util <ide> from .scorer import Scorer <add>from ._ml import link_vectors_to_models <ide> <ide> <ide> class BaseDefaults(object): <ide> def begin_training(self, get_gold_tuples=None, **cfg): <ide> self.voca...
1
PHP
PHP
add instanceconfig to consolehelpers
9791dcf159bd24086697cb518babea6c2b7baa78
<ide><path>src/Console/ConsoleIo.php <ide> public function setLoggers($enable) <ide> * object has not already been loaded, it will be loaded and constructed. <ide> * <ide> * @param string $name The name of the helper to render <del> * @return Cake\Console\Helper The created helper instance. <add> ...
4
PHP
PHP
update some grammar in controller
49bb441cefa648f2f20587fe6dd854ac66ac21e1
<ide><path>lib/Cake/Controller/Controller.php <ide> * <ide> * Controllers should provide a number of 'action' methods. These are public methods on the controller <ide> * that are not prefixed with a '_' and not part of Controller. Each action serves as an endpoint for <del> * performing a specific action on a resour...
1
Mixed
Text
add docs section for spacy.cli.train.train
2fd8d616e77cd48a60007a4c64ca49d5833c1fee
<ide><path>spacy/cli/train.py <del>from typing import Optional, Dict, Any <add>from typing import Optional, Dict, Any, Union <ide> from pathlib import Path <ide> from wasabi import msg <ide> import typer <ide> def train_cli( <ide> <ide> <ide> def train( <del> config_path: Path, <del> output_path: Optional[Path]...
4
Javascript
Javascript
remove deprecated argument
77dee25efd2fb114a56e83a165a97fef22c68316
<ide><path>benchmark/dns/lookup.js <ide> const common = require('../common.js'); <ide> const lookup = require('dns').lookup; <ide> <ide> const bench = common.createBenchmark(main, { <del> name: ['', '127.0.0.1', '::1'], <add> name: ['127.0.0.1', '::1'], <ide> all: ['true', 'false'], <ide> n: [5e6] <ide> });
1
Javascript
Javascript
restrict logging of errors with verbosity level
bdde3d66223181356e2101a39df15f925c11d776
<ide><path>src/shared/util.js <ide> function warn(msg) { <ide> // Fatal errors that should trigger the fallback UI and halt execution by <ide> // throwing an exception. <ide> function error(msg) { <del> // If multiple arguments were passed, pass them all to the log function. <del> if (arguments.length > 1) { <del> ...
1
Text
Text
add title and fix grammar
aff357387e8f66905253bbf46fed71ea5fd4869f
<ide><path>guide/portuguese/react/state-vs-props/index.md <ide> --- <ide> title: State vs Props <del>localeTitle: State vs Props <del>--- <ide>## State vs Props <del> <del>Quando começamos a trabalhar com os componentes do React, ouvimos frequentemente dois termos. Eles são `state` e `props` . Então, neste artigo, vamo...
1
Text
Text
fix a broken link
344b4bcb9578d163f8483ac7ec158d19e64e3a45
<ide><path>TRIAGING.md <ide> The following is done automatically so you don't have to worry about it: <ide> This process based on the idea of minimizing user pain <ide> [from this blog post](http://www.lostgarden.com/2008/05/improving-bug-triage-with-user-pain.html). <ide> <del>1. Open the list of [non triaged issues]...
1
Text
Text
improve chinese translation in euler-problem-2
304262a90f89aba88801551f1563dcf129d3609e
<ide><path>curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-2-even-fibonacci-numbers.chinese.md <ide> id: 5900f36e1000cf542c50fe81 <ide> challengeType: 5 <ide> title: 'Problem 2: Even Fibonacci Numbers' <ide> videoUrl: '' <del>localeTitle: 问题2:甚至斐波纳契数 <add>localeTitle: 问题2:斐波那契数列中的偶数 <ide> -...
1
Ruby
Ruby
remove useless to_param call
df3c78296a404e83df141dbeead506e4884f2a0f
<ide><path>actionpack/lib/action_dispatch/http/url.rb <ide> def normalize_host(_host, options) <ide> if subdomain == true || !options.key?(:subdomain) <ide> return _host if options[:domain].nil? <ide> <del> host << extract_subdomain(_host, tld_length).to_param <add> host << ...
1
Text
Text
add french translation
17bfe165606d65eaab1f3cb71dc40532b520dfd5
<ide><path>threejs/lessons/fr/threejs-setup.md <del>Title: Configuration de Three.js <add>Title: Installation de Three.js <ide> Description: Comment configurer votre environnement de développement pour Three.js <del>TOC: Configuration <add>TOC: Setup <ide> <ide> Cette article fait parti d'une série consacrée à Three.j...
1
Javascript
Javascript
add hacks to make react art not warn from devtools
7ecff6a437bb79d0129005df782d8829a457141a
<ide><path>src/renderers/shared/stack/reconciler/ReactMultiChild.js <ide> 'use strict'; <ide> <ide> var ReactComponentEnvironment = require('ReactComponentEnvironment'); <add>var ReactInstanceMap = require('ReactInstanceMap'); <ide> var ReactInstrumentation = require('ReactInstrumentation'); <ide> var ReactMultiChildU...
1
Mixed
Javascript
change this -> me in source files
5fae4dd3050fbd51da13ec1f5433d7f487758763
<ide><path>docs/01-Chart-Configuration.md <ide> maintainAspectRatio | Boolean | true | Maintain the original canvas aspect ratio <ide> events | Array[String] | `["mousemove", "mouseout", "click", "touchstart", "touchmove", "touchend"]` | Events that the chart should listen to for tooltips and hovering <ide> onClick | F...
22
Ruby
Ruby
remove unused require
99782bd2b85c58a95ebd1a104c08a52487de6dd6
<ide><path>activesupport/lib/active_support/encrypted_file.rb <ide> <ide> require "pathname" <ide> require "active_support/message_encryptor" <del>require "active_support/core_ext/string/strip" <del>require "active_support/core_ext/module/delegation" <ide> <ide> module ActiveSupport <ide> class EncryptedFile
1
PHP
PHP
remove unnecessary else statement
46529ae3f24f69c65e159c8cdb16ce21da36a44c
<ide><path>src/Illuminate/Foundation/Console/ExceptionMakeCommand.php <ide> protected function getStub() <ide> return $this->option('report') <ide> ? __DIR__.'/stubs/exception-render-report.stub' <ide> : __DIR__.'/stubs/exception-render.stub'; <del> } else { <del> ...
1
Text
Text
fix forgot import `applymiddleware`
3c4cc66fb70d7ca2641f2cfdbe1813179fb11959
<ide><path>docs/recipes/ConfiguringYourStore.md <ide> Let's add these to our existing `index.js`. <ide> import React from 'react' <ide> import { render } from 'react-dom' <ide> import { Provider } from 'react-redux' <del>import { createStore, compose } from 'redux' <add>import { applyMiddleware, createStore, compose }...
1
Go
Go
check return value of createsecretdir
426f4e48e3e53b2445835585d7957043a5fe6ab3
<ide><path>daemon/container_operations_unix.go <ide> func (daemon *Daemon) setupSecretDir(c *container.Container, hasSecretDir *bool) <ide> } <ide> <ide> if !*hasSecretDir { <del> daemon.createSecretDir(c) <add> if err := daemon.createSecretDir(c); err != nil { <add> return err <add> } <ide> *hasSecretDir = t...
1
Javascript
Javascript
update ember.deprecate in ember-template-compiler
0425ad642a10545865ed6aa1a70c8cb072b7297f
<ide><path>packages/ember-template-compiler/lib/plugins/deprecate-view-and-controller-paths.js <ide> function deprecatePath(moduleName, node, path) { <ide> } <ide> <ide> return noDeprecate; <del> }, { url: 'http://emberjs.com/deprecations/v1.x#toc_view-and-controller-template-keywords', id: (path.parts && pat...
5
Javascript
Javascript
remove unused epic
c79afa99b54a0960fe411c1b1047874f1d6beef9
<ide><path>common/app/Nav/redux/bin-epic.js <del>import { ofType } from 'redux-epic'; <del> <del>import { types } from './'; <del> <del>import { hidePane } from '../../Panes/redux'; <del> <del>export default function binEpic(actions) { <del> return actions::ofType(types.clickOnMap) <del> .map(() => hidePane('Map'))...
2
Python
Python
reenable the test_conv_kernel_mask_rect_kernel
235068530b193c0786e9a038223f341d7008058f
<ide><path>keras/utils/conv_utils_test.py <ide> def test_conv_kernel_mask_almost_full_stride(self, *input_shape): <ide> ), <ide> ) <ide> <del> def DISABLED_test_conv_kernel_mask_rect_kernel(self, *input_shape): <add> def test_conv_kernel_mask_rect_kernel(self, *input_shape): <ide> pad...
1
Python
Python
remove old serialization tests
7253b4e649a4c1778b01e3d0a709852b0d54fdaa
<ide><path>spacy/tests/serialize/test_codecs.py <del># coding: utf-8 <del>from __future__ import unicode_literals <del> <del>from ...serialize.packer import _BinaryCodec <del>from ...serialize.huffman import HuffmanCodec <del>from ...serialize.bits import BitArray <del> <del>import numpy <del>import pytest <del> <del> ...
4
Text
Text
add missing italics to list items in readme
21fcca7fdc8622567b79bc84c3921a9ae7c22501
<ide><path>README.md <ide> This is usually difficult for several reasons: <ide> typically don't work well with each other, requiring awkward <ide> custom integrations. <ide> <del> * Conflicting dependencies. Different applications may depend on <add> * *Conflicting dependencies*. Different applications may d...
1
Ruby
Ruby
add missing blacklisted formulae
0432feabd33e4fa02e5089783080e9568c982a77
<ide><path>Library/Homebrew/test/missing_formula_spec.rb <ide> expect("haskell-platform").to be_blacklisted <ide> end <ide> <add> specify "mysqldump-secure is blacklisted" do <add> expect("mysqldump-secure").to be_blacklisted <add> end <add> <add> specify "ngrok is blacklisted" do <add> ex...
1
Ruby
Ruby
remove private def
0fe2bb816f60f4daf5d0d24468af94be971d0eaf
<ide><path>actioncable/test/channel/stream_test.rb <ide> def send_confirmation <ide> transmit_subscription_confirmation <ide> end <ide> <del> private def pick_coder(coder) <del> case coder <del> when nil, "json" <del> ActiveSupport::JSON <del> when "custom" <del> DummyEncoder ...
9
Python
Python
fix issue #566
150e02d72e7db3832a816cbd9d62fefc969f81fe
<ide><path>spacy/language.py <ide> def create_tokenizer(cls, nlp=None): <ide> def create_tagger(cls, nlp=None): <ide> if nlp is None: <ide> return Tagger(cls.create_vocab(), features=cls.tagger_features) <del> elif nlp.path is None: <add> elif nlp.path is False: <ide> r...
1
Javascript
Javascript
remove error messages for readability
5ea88b74965adba15ad8233c78397e2d7ce5dd3a
<ide><path>test/addons/async-hooks-promise/test.js <ide> if (process.env.NODE_TEST_WITH_ASYNC_HOOKS) { <ide> // Baseline to make sure the internal field isn't being set. <ide> assert.strictEqual( <ide> binding.getPromiseField(Promise.resolve(1)), <del> 0, <del> 'Promise internal field used despite missing enabled A...
1
Python
Python
join code segments with newlines in between
afdbe1880e03014b8a1076005af858d4e52e85fa
<ide><path>weave/ext_tools.py <ide> def __init__(self,name,compiler=''): <ide> def add_function(self,func): <ide> self.functions.append(func) <ide> def module_code(self): <del> code = self.warning_code() + \ <del> self.header_code() + \ <del> self.support_code() + \ <...
1
Go
Go
remove some dead code
42b87e6a4b1f58fbd5383ce0c12206c994232732
<ide><path>libnetwork/types/types.go <ide> func (br badRequest) Error() string { <ide> } <ide> func (br badRequest) BadRequest() {} <ide> <del>type maskBadRequest string <del> <ide> type notFound string <ide> <ide> func (nf notFound) Error() string { <ide> func (ns noService) Error() string { <ide> } <ide> func (ns n...
1
Python
Python
fix gfile issue with numpy by using io library
f0de6d562e31dbac430c9360bf11b6610f73a327
<ide><path>compression/decoder.py <ide> python decoder.py --input_codes=output_codes.pkl --iteration=15 \ <ide> --output_directory=/tmp/compression_output/ --model=residual_gru.pb <ide> """ <add>import io <ide> import os <ide> <ide> import numpy as np <ide> def main(_): <ide> print '\nInput codes not found.\n' <id...
2
Javascript
Javascript
escape webpackcontext.id value
6c6eb3ae9816f342cf2843ea6131f07bcc335f58
<ide><path>lib/ContextModule.js <ide> ContextModule.prototype.source = function() { <ide> "};\n", <ide> "webpackContext.resolve = webpackContextResolve;\n", <ide> "module.exports = webpackContext;\n", <del> "webpackContext.id = " + this.id + ";\n" <add> "webpackContext.id = " + JSON.stringify(this.id) + ";...
1
Go
Go
fix potential race in volume creation
8d7c7bd2e3aba3bba72264d477c56444c5dc6350
<ide><path>daemon/volumes.go <ide> func (container *Container) parseVolumeMountConfig() (map[string]*Mount, error) <ide> return nil, err <ide> } <ide> // Check if a volume already exists for this and use it <del> vol := container.daemon.volumes.Get(path) <del> if vol == nil { <del> vol, err = container.daemo...
2
Javascript
Javascript
fix nativelinking split
b70152cdefcc6f8e9e519ffac591ab26f49dedc8
<ide><path>Libraries/Linking/Linking.js <ide> import Platform from '../Utilities/Platform'; <ide> import NativeLinkingManager from './NativeLinkingManager'; <ide> import NativeIntentAndroid from './NativeIntentAndroid'; <ide> import invariant from 'invariant'; <add>import nullthrows from 'nullthrows'; <ide> <ide> /** ...
3
Text
Text
add v3.13.2 to changelog
bc435eb0a11868f7e0f8381f9a4bb2ba7728d9e8
<ide><path>CHANGELOG.md <ide> - [#18381](https://github.com/emberjs/ember.js/pull/18381) Drop Node 6 and 11 support. <ide> - [#18410](https://github.com/emberjs/ember.js/pull/18410) Use ember-cli-htmlbars for inline precompilation if possible. <ide> <add>### v3.13.2 (September 25, 2019) <add> <add>- [#18429](https://g...
1
Ruby
Ruby
add head tests
a24a919a40f09930c5ef9f2fe811d16e83fa963a
<ide><path>Library/Homebrew/test/install_test.rb <ide> def test_install_keg_only_outdated <ide> cmd("install", "testball1", "--force") <ide> end <ide> <add> def test_install_head_installed <add> initial_env = ENV.to_hash <add> %w[AUTHOR COMMITTER].each do |role| <add> ENV["GIT_#{role}_NAME"] = "bre...
1
Go
Go
apply apparmor before restrictions
76fa7d588adfe644824d9a00dafce2d2991a7013
<ide><path>pkg/apparmor/apparmor.go <ide> func IsEnabled() bool { <ide> return false <ide> } <ide> <del>func ApplyProfile(pid int, name string) error { <add>func ApplyProfile(name string) error { <ide> if name == "" { <ide> return nil <ide> } <ide><path>pkg/apparmor/apparmor_disabled.go <ide> <ide> package appar...
5
Python
Python
multi doc update
8d8f26d02bd8710832931949b78b7619cef66273
<ide><path>celery/bin/multi.py <ide> # specify fully qualified nodenames <ide> $ celery multi start foo@worker.example.com bar@worker.example.com -c 3 <ide> <add> # fully qualified nodenames but using the current hostname <add> $ celery multi start foo@%h bar@%h <add> <ide> # Advanced example startin...
1
Text
Text
note ruby dependencies
e408cc8b246f1ad9bc3b7d0dada97967332631df
<ide><path>README.md <ide> messages back and forth over the websocket cable connection. This dependency may <ide> be alleviated in the future, but for the moment that's what it is. So be sure to have <ide> Redis installed and running. <ide> <add>The Ruby side of things is built on top of Faye-Websocket and Celluiod. <...
1
Java
Java
reduce memory consumption
9877a9e6b7d299dc32a447340bbbd0ee6a1076b5
<ide><path>spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java <ide> protected Advisor[] buildAdvisors(@Nullable String beanName, @Nullable Object[] <ide> <ide> List<Object> allInterceptors = new ArrayList<>(); <ide> if (specificInterceptors != null) { <del> allInte...
1
Text
Text
add v3.23.0-beta.2 to changelog
3a866f974b6605db8a9a2b32355a7388de6ed536
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.23.0-beta.2 (October 19, 2020) <add> <add>- [#19193](https://github.com/emberjs/ember.js/pull/19193) [BUGFIX] Ensure user lifecycle hooks are untracked <add>- [#19213](https://github.com/emberjs/ember.js/pull/19213) [BUGFIX] Update rendering engine to i...
1
Go
Go
add mae jemison to name generator
ac1d8bc760de76b815cffe4a2dfb03059f2d86bc
<ide><path>pkg/namesgenerator/names-generator.go <ide> var ( <ide> // Yeong-Sil Jang was a Korean scientist and astronomer during the Joseon Dynasty; he invented the first metal printing press and water gauge. https://en.wikipedia.org/wiki/Jang_Yeong-sil <ide> "jang", <ide> <add> // Mae Carol Jemison - is an Ame...
1
Go
Go
move sysinit to a submodule
db999667245926569b161747eed7e08b2ec1c34c
<ide><path>docker-init/docker-init.go <add>package main <add> <add>import ( <add> "github.com/dotcloud/docker/sysinit" <add>) <add> <add>var ( <add> GITCOMMIT string <add> VERSION string <add>) <add> <add>func main() { <add> // Running in init mode <add> sysinit.SysInit() <add> return <add>} <ide><path>docker/docker....
4
Ruby
Ruby
fix regression in
652c5bc865ebda25ead84c5cab04a4688b4e2b9a
<ide><path>Library/Homebrew/formula_installer.rb <ide> def pour <ide> end <ide> <ide> keg = Keg.new(formula.prefix) <add> tab = Tab.for_keg(keg) <add> Tab.clear_cache <ide> <del> unless formula.bottle_specification.skip_relocation? <del> tab = Tab.for_keg(keg) <del> Tab.clear_cache <del> ...
2
Python
Python
fix circular import in onnx.utils
b6a65ae52a6df67180be8f1e162a3d1829a51bc0
<ide><path>src/transformers/onnx/utils.py <ide> <ide> from ctypes import c_float, sizeof <ide> from enum import Enum <del>from typing import Optional, Union <add>from typing import TYPE_CHECKING, Optional, Union <ide> <del>from .. import AutoFeatureExtractor, AutoProcessor, AutoTokenizer <add> <add>if TYPE_CHECKING: ...
1
PHP
PHP
fix incorrect assertion
827dc77a1114be297ff4b8e2a651ee400740c059
<ide><path>lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php <ide> public function testPaginateOrderModelDefault() { <ide> <ide> $Controller->PaginatorControllerPost->order = 'PaginatorControllerPost.id'; <ide> $result = $Controller->Paginator->validateSort($Controller->PaginatorControllerPost, ar...
1
Go
Go
remove thin pool if 'initdevmapper' failed
ea22d7ab91e7febc69433b979160dda8a79ad46e
<ide><path>daemon/graphdriver/devmapper/deviceset.go <ide> func (devices *DeviceSet) enableDeferredRemovalDeletion() error { <ide> return nil <ide> } <ide> <del>func (devices *DeviceSet) initDevmapper(doInit bool) error { <add>func (devices *DeviceSet) initDevmapper(doInit bool) (retErr error) { <ide> // give oursel...
1
Ruby
Ruby
swallow resourcenotfound error on find_every
4dc05bc8a9824b9404cebecaba28f9f248f9995e
<ide><path>activeresource/lib/active_resource/base.rb <ide> def create(attributes = {}) <ide> # <ide> # StreetAddress.find(1, :params => { :person_id => 1 }) <ide> # # => GET /people/1/street_addresses/1.xml <add> # <add> # == Failure or missing data <add> # A failure to find the ...
2
Ruby
Ruby
add method fields_for_with_index to formhelper
7c562d5e460d97b18e4f3367b3cfb13401732920
<ide><path>actionpack/lib/action_view/helpers/form_helper.rb <ide> def apply_form_for_options!(object_or_array, options) #:nodoc: <ide> # ... <ide> # <% end %> <ide> # <add> # In addition, you may want to have access to the current iteration index. <add> # In that case, you can use a s...
2
Go
Go
allow anonymous pulls
96010e3ca134acb4707bbbb1fd8649d7de671229
<ide><path>commands.go <ide> func (srv *Server) CmdPull(stdin io.ReadCloser, stdout io.Writer, args ...string <ide> return nil <ide> } <ide> <del> if srv.runtime.authConfig == nil { <del> return fmt.Errorf("Please login prior to push. ('docker login')") <del> } <del> <ide> if srv.runtime.graph.LookupRemoteImage(r...
1
PHP
PHP
fix compatibility with php 5.2
c5092851d1e0caa960aa324cebac6405be946179
<ide><path>lib/Cake/Test/Case/Utility/SecurityTest.php <ide> public function testEncryptInvalidData() { <ide> Security::encrypt($txt, $key); <ide> } <ide> <del> <ide> /** <ide> * Test that short keys cause errors <ide> * <ide><path>lib/Cake/Utility/Security.php <ide> protected static function _crypt($password, $s...
2
Go
Go
use osl.initoscontext appropriately
64edd40fcccedaccccdc8091ad27c003786ce2b4
<ide><path>libnetwork/drivers/ipvlan/ipvlan_endpoint.go <ide> import ( <ide> "github.com/docker/libnetwork/driverapi" <ide> "github.com/docker/libnetwork/netlabel" <ide> "github.com/docker/libnetwork/netutils" <add> "github.com/docker/libnetwork/osl" <ide> "github.com/docker/libnetwork/types" <ide> "github.com/vis...
8
Python
Python
fix displacy output in evaluate cli
30e1a89aeb8004fc37023d98709bf9d76e04f37d
<ide><path>spacy/cli/evaluate.py <ide> def evaluate( <ide> <ide> if displacy_path: <ide> factory_names = [nlp.get_pipe_meta(pipe).factory for pipe in nlp.pipe_names] <del> docs = [ex.predicted for ex in dev_dataset] <add> docs = list(nlp.pipe(ex.reference.text for ex in dev_dataset[:displacy_...
1
Ruby
Ruby
update rubocop to 0.34.2
87769ee970c71e757ccc5637f315a93c2e0cb141
<ide><path>Library/Homebrew/cmd/style.rb <ide> def style <ide> ARGV.formulae.map(&:path) <ide> end <ide> <del> Homebrew.install_gem_setup_path! "rubocop", "0.34.1" <add> Homebrew.install_gem_setup_path! "rubocop", "0.34.2" <ide> <ide> args = [ <ide> "--format", "simple", "--force-exclusion",...
1
Ruby
Ruby
add backward compatibility for testing cookies
e864ff7259ed9e4c61a146c635aedc3c60779931
<ide><path>actionpack/lib/action_controller/test_case.rb <ide> def recycle! <ide> @method = @request_method = nil <ide> @fullpath = @ip = @remote_ip = nil <ide> @env['action_dispatch.request.query_parameters'] = {} <del> cookie_jar.reset! <add> @set_cookies ||= {} <add> @set_cookies.upd...
4
Java
Java
remove extraneous warning
750a46a12eefeb6c0723e91c169f53ac3a1c1990
<ide><path>ReactAndroid/src/main/java/com/facebook/react/bridge/BaseJavaModule.java <ide> public void onCatalystInstanceDestroy() { <ide> public boolean supportsWebWorkers() { <ide> ReactModule module = getClass().getAnnotation(ReactModule.class); <ide> if (module == null) { <del> FLog.w( <del> Re...
1
Go
Go
add tests for rmi
5cff374b140b4a836b7082d009bcfe9a6e96f1af
<ide><path>integration-cli/docker_cli_by_digest_test.go <ide> func (s *DockerRegistrySuite) TestDeleteImageByIDOnlyPulledByDigest(c *check.C) <ide> dockerCmd(c, "pull", imageReference) <ide> // just in case... <ide> <add> dockerCmd(c, "tag", imageReference, repoName+":sometag") <add> <ide> imageID := inspectField(c...
1
Javascript
Javascript
move nicenum to helpers.math, cleanup ie fallbacks
e3cdd7323a2a0813ac8d544f71410b2a2d452e4e
<ide><path>src/helpers/helpers.math.js <ide> import {isFinite as isFiniteNumber} from './helpers.core'; <ide> <add>/** <add> * @alias Chart.helpers.math <add> * @namespace <add> */ <add> <ide> export const PI = Math.PI; <ide> export const TAU = 2 * PI; <ide> export const PITAU = TAU + PI; <ide> export const HALF_PI = ...
2
Python
Python
check the allowed values for the logging level
3172be041e3de95f546123e3b66f06c6adcf32d5
<ide><path>airflow/configuration.py <ide> class AirflowConfigParser(ConfigParser): <ide> }, <ide> } <ide> <del> enums = {("core", "default_task_weight_rule"): WeightRule} <add> _available_logging_levels = ['CRITICAL', 'FATAL', 'ERROR', 'WARN', 'WARNING', 'INFO', 'DEBUG'] <add> enums_options = { <a...
3
Text
Text
fix code example in upgrading guide [ci skip]
52735e92454504a3d8ec873b63ed1665ba061208
<ide><path>guides/source/upgrading_ruby_on_rails.md <ide> However, you will need to make a change if you are using `form_for` to update <ide> a resource in conjunction with a custom route using the `PUT` HTTP method: <ide> <ide> ```ruby <del>resources :users, do <add>resources :users do <ide> put :update_name, on: :...
1
Ruby
Ruby
rewrote the tests for has_secure_password
19a4ef305d84f4aad633c25f850967bbc375da84
<ide><path>activemodel/test/cases/secure_password_new_test.rb <add>require 'cases/helper' <add>require 'models/user' <add>require 'models/visitor' <add> <add>require 'active_support/all' <add>class SecurePasswordTest < ActiveModel::TestCase <add> setup do <add> ActiveModel::SecurePassword.min_cost = true <add> <add...
3
Ruby
Ruby
rewrite postfix conditional
16fde6fbdb094d0e31f63d69f596461ba294000f
<ide><path>Library/Homebrew/formula_installer.rb <ide> def summary <ide> end <ide> <ide> def build_time <del> @build_time ||= Time.now - @start_time unless interactive? or @start_time.nil? <add> @build_time ||= Time.now - @start_time if @start_time && !interactive? <ide> end <ide> <ide> def sanitized_AR...
1
Ruby
Ruby
add missing require to `active_model/naming`
f96929ae5f3e7f98d25628184b07f3aa0579f4ff
<ide><path>activemodel/lib/active_model/naming.rb <ide> require "active_support/core_ext/hash/except" <ide> require "active_support/core_ext/module/introspection" <ide> require "active_support/core_ext/module/redefine_method" <add>require "active_support/core_ext/module/delegation" <ide> <ide> module ActiveModel <ide>...
1
Python
Python
fix broken master (isort fix)
164a7078b89e349cc7d23651542562309983f25e
<ide><path>airflow/www/views.py <ide> from sqlalchemy import and_, desc, func, or_, union_all <ide> from sqlalchemy.orm import joinedload <ide> from wtforms import SelectField, validators <del>from airflow.utils import json as utils_json <ide> <ide> import airflow <ide> from airflow import models, plugins_manager, set...
1
Ruby
Ruby
enforce https for debian's anonscm
4422bd1f341e57038a8852ca9f8c46c31dbdbcad
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_urls <ide> %r{^http://tools\.ietf\.org/}, <ide> %r{^http://launchpad\.net/}, <ide> %r{^http://bitbucket\.org/}, <add> %r{^http://anonscm\.debian\.org/}, <ide> %r{^http://cpan\.metacpan\.org/}, <ide> ...
1
Ruby
Ruby
fix a problem where nil was appearing in the list
2f98032fc92ce16125f8628b4d3c283f10494f4d
<ide><path>activesupport/lib/active_support/dependencies.rb <ide> def get(key) <ide> locked :concat, :each, :delete_if, :<< <ide> <ide> def new_constants_for(frames) <del> frames.map do |mod_name, prior_constants| <add> constants = [] <add> frames.each do |mod_name, prior_constants| <i...
1
Java
Java
fix warning in scrollview classes
d97a1a52c5df50ee649b7f89aa2067cac094381d
<ide><path>ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewHelper.java <ide> void onScroll( <ide> } <ide> <ide> // Support global native listeners for scroll events <del> private static Set<ScrollListener> sScrollListeners = <add> private static final Set<ScrollListener> sScrollListener...
1
Python
Python
add test for ticket #271
9e10fed57df87e3a934470df2487583382af020e
<ide><path>numpy/core/tests/test_regression.py <ide> def check_swap_real(self, level=rlevel): <ide> assert_equal(N.arange(4,dtype='<c8').imag.max(),0.0) <ide> assert_equal(N.arange(4,dtype='>c8').real.max(),3.0) <ide> assert_equal(N.arange(4,dtype='<c8').real.max(),3.0) <add> <add> def check...
1
PHP
PHP
fix return type
bc86a662357307dd0d061f190d4a7047b02d6edb
<ide><path>src/Http/Client/Adapter/Curl.php <ide> protected function createResponse($handle, $responseData): array <ide> * Execute the curl handle. <ide> * <ide> * @param resource $ch Curl Resource handle <del> * @return string <add> * @return string|bool <ide> */ <del> protected function...
1
Go
Go
use unique names for custom bridges
d2c6602cac9908072935e43b8e19d9105e3d209c
<ide><path>integration-cli/docker_cli_daemon_test.go <ide> func (s *DockerDaemonSuite) TestDaemonBridgeExternal(c *testing.T) { <ide> // which may happen if it was created with the same IP range. <ide> deleteInterface(c, "docker0") <ide> <del> bridgeName := "external-bridge" <add> bridgeName := "ext-bridge1" <ide> ...
1
Java
Java
introduce subprotocolhandler abstraction
9e20a25607aeb54dc0d636727fb67b92e00dab1e
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/handler/websocket/SubProtocolHandler.java <add>/* <add> * Copyright 2002-2013 the original author or authors. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance wit...
10
PHP
PHP
add array_prepend helper
91e3510b447629dd609850779e63511941a1c25a
<ide><path>src/Illuminate/Support/helpers.php <ide> function array_pluck($array, $value, $key = null) <ide> } <ide> } <ide> <add>if (! function_exists('array_prepend')) { <add> /** <add> * Push an item onto the beginning of an array. <add> * <add> * @param array $array <add> * @param mixed $...
1
Javascript
Javascript
fix texteditor tests
aa1f5dde83f5e4457de023a25fcf54306cc0b7af
<ide><path>spec/text-editor-spec.js <ide> describe('TextEditor', () => { <ide> }) <ide> }) <ide> <del> describe('when the editor is constructed with the grammar option set', () => { <del> beforeEach(async () => { <del> await atom.packages.activatePackage('language-coffee-script') <del> }) <del> <del>...
2
Ruby
Ruby
improve bottle test
e27bddc82ae85e94a2f0016b176ea2a9c6dd824d
<ide><path>Library/Homebrew/test/test_integration_cmds.rb <ide> require "bundler" <ide> require "testing_env" <add>require "core_formula_repository" <ide> <ide> class IntegrationCommandTests < Homebrew::TestCase <ide> def cmd_output(*args) <ide> def cmd_output(*args) <ide> ENV["HOMEBREW_BREW_FILE"] = HOMEBREW_...
1
Java
Java
android subpixel text
65e4e674fca7127fd7800ae011cab449561f475b
<ide><path>ReactAndroid/src/main/java/com/facebook/react/views/text/CustomStyleSpan.java <ide> private static void apply( <ide> } else { <ide> paint.setTypeface(Typeface.defaultFromStyle(want)); <ide> } <add> paint.setSubpixelText(true); <ide> } <ide> <ide> }
1
PHP
PHP
improve return type that may be null
b85f906bef8865f6d15525dbf2d9db6618c50d64
<ide><path>src/Illuminate/Cookie/CookieJar.php <ide> public function hasQueued($key, $path = null) <ide> * @param string $key <ide> * @param mixed $default <ide> * @param string|null $path <del> * @return \Symfony\Component\HttpFoundation\Cookie <add> * @return \Symfony\Component\HttpFounda...
2