content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Python
Python
show dag serialization errors in the ui.
5d328a2f7ea578d6c8ab8160eb1d4b231b690d9b
<ide><path>airflow/exceptions.py <ide> class SerializedDagNotFound(DagNotFound): <ide> """Raise when DAG is not found in the serialized_dags table in DB""" <ide> <ide> <add>class SerializationError(AirflowException): <add> """A problem occurred when trying to serialize a DAG""" <add> <add> <ide> class TaskNotF...
4
Go
Go
fix issues with running volume tests as non-root
d15734ec3c10eda667b716f67e18d5d86e708e3e
<ide><path>volume/local/local_test.go <ide> func TestGetAddress(t *testing.T) { <ide> <ide> func TestRemove(t *testing.T) { <ide> skip.If(t, runtime.GOOS == "windows", "FIXME: investigate why this test fails on CI") <del> skip.If(t, os.Getuid() != 0, "skipping test that requires root") <ide> rootDir, err := ioutil.T...
3
Javascript
Javascript
use tmp directory in chdir test
9aa6a437cdeb037f8df2129f9b29230c0f4b8c2f
<ide><path>test/parallel/test-process-chdir.js <add>'use strict'; <add> <add>const common = require('../common'); <add>const assert = require('assert'); <add>const fs = require('fs'); <add>const path = require('path'); <add> <add>assert.notStrictEqual(process.cwd(), __dirname); <add>process.chdir(__dirname); <add>asser...
2
Javascript
Javascript
remove trailing whitespace in ptor template
84d9a574169e40013f605549074fbf8057466ad5
<ide><path>docs/config/templates/protractorTests.template.js <ide> describe("{$ doc.description $}", function() { <ide> browser.get("{$ doc.pathPrefix $}/{$ doc.examplePath $}"); <ide> }); <ide> <del>{$ doc.innerTest $} <del>}); <add>{$ doc.innerTest $} <add>}); <ide>\ No newline at end of file
1
Javascript
Javascript
prevent property access throws during close
71a2a2caa69865add8065cb0e282096e3f4d78f6
<ide><path>lib/net.js <ide> Socket.prototype._getpeername = function() { <ide> } <ide> if (!this._peername) { <ide> this._peername = this._handle.getpeername(); <add> // getpeername() returns null on error <add> if (this._peername === null) { <add> return {}; <add> } <ide> } <ide> return this....
2
Python
Python
add donate link
44dc32243e486364ebffde6afc8583c68ea874c0
<ide><path>docs/conf.py <ide> html_theme = 'flask' <ide> html_context = { <ide> 'project_links': [ <add> ProjectLink('Donate to Pallets', 'https://psfmember.org/civicrm/contribute/transact?id=20'), <ide> ProjectLink('Flask Website', 'https://palletsprojects.com/p/flask/'), <ide> ProjectLink('...
1
Python
Python
add tests for quote+multichar comments
2912231adb4b4b1a89a48277d352f9c93248282f
<ide><path>numpy/lib/npyio.py <ide> def _read(fname, *, delimiter=',', comment='#', quote='"', <ide> if quote is not None: <ide> raise ValueError( <ide> "when multiple comments or a multi-character comment is " <del> "given, quotes are not supported. In this case the ...
2
Go
Go
improve some tests
9b39cab510d140bd939cc80a13409efa87ab6e3d
<ide><path>daemon/config/config_test.go <ide> func TestReloadSetConfigFileNotExist(t *testing.T) { <ide> // doesn't exist the daemon still will be reloaded. <ide> func TestReloadDefaultConfigNotExist(t *testing.T) { <ide> skip.If(t, os.Getuid() != 0, "skipping test that requires root") <del> reloaded := false <ide> d...
1
Text
Text
write 0.14 blog post
2bedb4ae963e78b3d2deef1540cd0e58b0c20869
<ide><path>docs/_posts/2015-10-07-react-v0.14.md <ide> --- <del>title: "React v0.14 Release Candidate" <add>title: "React v0.14" <ide> author: spicyj <ide> --- <ide> <del>We’re happy to announce our first release candidate for React 0.14! We gave you a [sneak peek in July](/react/blog/2015/07/03/react-v0.14-beta-1.htm...
2
Text
Text
include code to hide archived comments
6f3f39acc25c6224d01d06180c6e87cf335e3b5c
<ide><path>guides/source/getting_started.md <ide> Then, in our `index` action template (`app/views/articles/index.html.erb`) we wo <ide> <%= link_to "New Article", new_article_path %> <ide> ``` <ide> <add>Similarly, in our comment partial view (`app/views/comments/_comment.html.erb`) we would used the `archived?` meth...
1
Text
Text
update the docs
693606a75c54d9731b748797f21961d0a5322896
<ide><path>examples/README.md <ide> pip install -r ./examples/requirements.txt <ide> | [Multiple Choice](#multiple-choice) | Examples running BERT/XLNet/RoBERTa on the SWAG/RACE/ARC tasks. <ide> | [Named Entity Recognition](#named-entity-recognition) | Using BERT for Named Entity Recognition (NER) on the CoNLL 2003 da...
1
Javascript
Javascript
remove unnecessary assignment of exports
f31fc9398d1da30aa219968caaac5bd4ca56e6f2
<ide><path>lib/internal/errors.js <ide> function isStackOverflowError(err) { <ide> err.message === maxStack_ErrorMessage; <ide> } <ide> <del>module.exports = exports = { <add>module.exports = { <ide> dnsException, <ide> errnoException, <ide> exceptionWithHostPort, <ide><path>lib/os.js <ide> function net...
3
Python
Python
fix failing pylint check on master
0655d51a39d763ca6c00abf081fa4916661bc3b8
<ide><path>docs/exts/docs_build/fetch_inventories.py <ide> from docs.exts.docs_build.docs_builder import ( # pylint: disable=no-name-in-module <ide> get_available_providers_packages, <ide> ) <del>from docs.exts.docs_build.third_party_inventories import THIRD_PARTY_INDEXES <add>from docs.exts.docs_build.third_party...
2
Ruby
Ruby
remove set names, set collation using variable
1d09067b479354956806a8b28c8ce5422cccd60a
<ide><path>activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb <ide> def configure_connection <ide> wait_timeout = 2147483 unless wait_timeout.is_a?(Integer) <ide> variables["wait_timeout"] = wait_timeout <ide> <add> # Set the collation of the connection character ...
1
Javascript
Javascript
implement modeltype guessing
7050fae731d96fddbe2ab3640e0786f4d8928bd4
<ide><path>packages/ember-application/lib/system/application.js <ide> Ember.Application = Ember.Namespace.extend( <ide> ... <ide> }); <ide> <del> App.initialize(stateManager); <add> App.initialize(router); <ide> <del> stateManager.get('postsController') // <App.PostsController:ember12...
7
Ruby
Ruby
fix comment typo in debugger.rb
cb97312801fdbd800c1e5cf0565d4b67c1625d40
<ide><path>activesupport/lib/active_support/core_ext/kernel/debugger.rb <ide> module Kernel <ide> unless respond_to?(:debugger) <del> # Starts a debugging session if the +debugger+ gem has been loaded (call rails server --debugger to do load it). <add> # Starts a debugging session if the +debugger+ gem has been...
1
PHP
PHP
move http exceptions into the http package
a53a14b0f7eaab8ca0c7ec050f5ca7b66473dce7
<ide><path>src/Http/Exception/BadRequestException.php <add><?php <add>/** <add> * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) <add> * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) <add> * <add> * Licensed under The MIT License <add> * Redistributions of files must retain ...
28
PHP
PHP
fix property name
fae7fe5a016ade7579906a2844ef5a5cc5c8e716
<ide><path>src/Cache/Engine/RedisEngine.php <ide> protected function _connect() <ide> { <ide> try { <ide> $this->_Redis = new \Redis(); <del> if (!empty($this->settings['unix_socket'])) { <del> $return = $this->_Redis->connect($this->settings['unix_socket']); <add> ...
1
Text
Text
suggest buffer.alloc instead of buffer#fill
ad6a6450c928f036fce12fdf1177b2856d551082
<ide><path>doc/api/buffer.md <ide> A zero-length `Buffer` will be created if `size <= 0`. <ide> <ide> Unlike [`ArrayBuffers`][`ArrayBuffer`], the underlying memory for `Buffer` instances <ide> created in this way is *not initialized*. The contents of a newly created `Buffer` <del>are unknown and *could contain sensiti...
1
Python
Python
fix mypy issues in aws sensors
b15027410b4a985c15b1d7b2b2a0eedf2173f416
<ide><path>airflow/providers/amazon/aws/sensors/s3.py <ide> def poke(self, context: 'Context'): <ide> s3_objects = self.get_files(s3_hook=self.get_hook()) <ide> if not s3_objects: <ide> return False <del> check_fn = self.check_fn if self.check_fn_user is None else self.check_fn_user <...
1
Javascript
Javascript
use changedtouches instead of touches
bd90a2f1bf1f0764b261ba92c468ffb11750d905
<ide><path>d3.js <ide> function d3_svg_mousePoint(container, e) { <ide> return [point.x, point.y]; <ide> }; <ide> d3.svg.touches = function(container) { <del> var touches = d3.event.touches; <add> var touches = d3.event.changedTouches; <ide> return touches ? d3_array(touches).map(function(touch) { <ide> var p...
3
Java
Java
disconnect all if upstream terminates
02442238766e644ee05fbbd1340d58ae25f91275
<ide><path>src/main/java/rx/internal/operators/OnSubscribeRefCount.java <ide> public void call(final Subscriber<? super T> subscriber) { <ide> } <ide> } else { <ide> try { <del> // handle unsubscribing from the base subscription <del> subscriber.add(disconne...
2
Python
Python
add function for and gate
bd490614a69cc9cdff367cb4a1775dd063c6e617
<ide><path>boolean_algebra/and_gate.py <add>""" <add>An AND Gate is a logic gate in boolean algebra which results to 1 (True) if both the <add>inputs are 1, and 0 (False) otherwise. <add> <add>Following is the truth table of an AND Gate: <add> ------------------------------ <add> | Input 1 | Input 2 | Output | <a...
1
PHP
PHP
add test for atmoic save of translatebehavior
12ebf8b427890dd1db1c32c49e087108968b3f1d
<ide><path>lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php <ide> public function testSaveAssociatedMultipleLocale() { <ide> $this->assertCount(2, $result['Content']); <ide> } <ide> <add>/** <add> * testSaveAssociatedAtomic method <add> * <add> * @return void <add> */ <add> public function testSaveAssoci...
1
Python
Python
use unittest2 and assertraisesregexp instead
2bcbefb0ec95f1905545e5adce2dd88bb5bae0ed
<ide><path>libcloud/test/test_httplib_ssl.py <ide> <ide> import os <ide> import sys <del>import unittest <ide> import os.path <ide> import warnings <ide> <ide> from libcloud.utils.py3 import reload <ide> from libcloud.httplib_ssl import LibcloudHTTPSConnection <ide> <add>from libcloud.test import unittest <add> <ide...
1
Javascript
Javascript
remove spaces from object braces
07cfd6602842efb957b4ab6ab5100bcfb397fc97
<ide><path>grunt/config/browserify.js <ide> var LICENSE_TEMPLATE = <ide> */'; <ide> <ide> function minify(src) { <del> return UglifyJS.minify(src, { fromString: true }).code; <add> return UglifyJS.minify(src, {fromString: true}).code; <ide> } <ide> <ide> // TODO: move this out to another build step maybe. <ide><pa...
39
Text
Text
add trivikr to collaborators
6a958d2bf83d45833b09faca1139b293ad289396
<ide><path>README.md <ide> For more information about the governance of the Node.js project, see <ide> **Tobias Nießen** &lt;tniessen@tnie.de&gt; <ide> * [trevnorris](https://github.com/trevnorris) - <ide> **Trevor Norris** &lt;trev.norris@gmail.com&gt; <add>* [trivikr](https://github.com/trivikr) - <add>**Trivikram Ka...
1
Go
Go
protect environment for system integration tests
d43dac2202667a407f4c5ab061c04b0ea334aa20
<ide><path>integration/system/main_test.go <ide> func TestMain(m *testing.M) { <ide> } <ide> <ide> func setupTest(t *testing.T) func() { <del> environment.ProtectImages(t, testEnv) <add> environment.ProtectAll(t, testEnv) <ide> return func() { testEnv.Clean(t) } <ide> }
1
Python
Python
add failing test
2b199f7588bd72ebdb309313b723d40cbb9b63c8
<ide><path>tests/test_model_serializer.py <ide> class Meta: <ide> """) <ide> self.assertEqual(unicode_repr(TestSerializer()), expected) <ide> <add> def test_nested_hyperlinked_relations_star(self): <add> class TestSerializer(serializers.HyperlinkedModelSerializer): <add> class Meta...
1
PHP
PHP
fix missing html encoding in debugger
6eb1be09caac8ecee07db3af05fb1fe8a54ed4ba
<ide><path>src/Error/Debugger.php <ide> public function outputError($data) <ide> <ide> if (!empty($tpl['escapeContext'])) { <ide> $context = h($context); <add> $data['description'] = h($data['description']); <ide> } <ide> <ide> $infoData = compact('code', 'context', 'tra...
2
Javascript
Javascript
update flakey relay analytics test
7f5bc717120829580e5bb01788ec3dc4e220d71d
<ide><path>test/integration/relay-analytics/test/index.test.js <ide> function runTest() { <ide> ) <ide> // INP metric is only reported on pagehide or visibilitychange event, so refresh the page <ide> await browser.refresh() <del> const INP = parseInt(await browser.eval('localStorage.getItem("INP")'), 10)...
1
Ruby
Ruby
push is_a checks up the stack
e956172b8b6badb04f89593fdbe4b762924a8092
<ide><path>actionpack/lib/action_controller/metal/strong_parameters.rb <ide> def convert_value_to_parameters(value) <ide> end <ide> <ide> def each_element(object) <del> if object.is_a?(Array) <del> object.map { |el| yield el }.compact <del> elsif fields_for_style?(object) <del> ...
1
Go
Go
remove minsky and stallman
77d3c68f97cf7977965abefae3e7b3a00a3dd223
<ide><path>pkg/namesgenerator/names-generator.go <ide> var ( <ide> // Johanna Mestorf - German prehistoric archaeologist and first female museum director in Germany - https://en.wikipedia.org/wiki/Johanna_Mestorf <ide> "mestorf", <ide> <del> // Marvin Minsky - Pioneer in Artificial Intelligence, co-founder of the...
1
PHP
PHP
add missing model parameters
95057279face026e90c2b92e00d04029767be8e4
<ide><path>Cake/Test/TestCase/View/Helper/PaginatorHelperTest.php <ide> public function testNumbersRouting() { <ide> $this->assertTags($result, $expected); <ide> } <ide> <add>/** <add> * Test that numbers() works with the non default model. <add> * <add> * @return void <add> */ <add> public function testNumbersNonD...
2
Text
Text
create model cards for qg models
82ce8488bbccaf7eadc1b659151c52c0b66d4b27
<ide><path>model_cards/valhalla/t5-base-e2e-qg/README.md <add>--- <add>datasets: <add>- squad <add>tags: <add>- question-generation <add>widget: <add>- text: "Python is a programming language. It is developed by Guido Van Rossum and released in 1991. </s>" <add>license: "MIT" <add>--- <add> <add>## T5 for question-gene...
7
PHP
PHP
apply fixes from styleci
92e0e93072163d8b07b89c4e46307f713209787d
<ide><path>tests/Mail/MailManagerTest.php <ide> <ide> namespace Illuminate\Tests\Mail; <ide> <del>use Illuminate\Mail\MailManager; <ide> use Orchestra\Testbench\TestCase; <ide> <ide> class MailManagerTest extends TestCase <ide> public function testEmptyTransportConfig($transport) <ide> <ide> $this->expectEx...
1
PHP
PHP
remove incorrect return
82c3db492f0421e874aef8e097ac052c30b65f67
<ide><path>src/Illuminate/View/Compilers/BladeCompiler.php <ide> public function aliasComponent($path, $alias = null) <ide> */ <ide> public function include($path, $alias = null) <ide> { <del> return $this->aliasInclude($path, $alias); <add> $this->aliasInclude($path, $alias); <ide> } <id...
1
Python
Python
write a proper implementation for base16
abf0909b6877d64c3adc9d666b85aa38bcd98566
<ide><path>ciphers/base16.py <del>import base64 <del> <del> <del>def base16_encode(inp: str) -> bytes: <add>def base16_encode(data: bytes) -> str: <ide> """ <del> Encodes a given utf-8 string into base-16. <add> Encodes the given bytes into base16. <ide> <del> >>> base16_encode('Hello World!') <del> b'...
1
Javascript
Javascript
add more types to module
22c4756c9e12ef66dd7004d9580fac6b685e962d
<ide><path>lib/AsyncDependenciesBlock.js <ide> module.exports = class AsyncDependenciesBlock extends DependenciesBlock { <ide> } <ide> <ide> /** <add> * Sorts items in this module <add> * @param {boolean=} sortChunks sort the chunks too <ide> * @returns {void} <ide> */ <del> sortItems() { <add> sortItems(sortC...
10
Text
Text
rearrange pr template
d1622176094300c2426607ddf951506e5cb62f72
<ide><path>.github/PULL_REQUEST_TEMPLATE.md <ide> Thank you for sending the PR! We appreciate you spending the time to work on these changes. <del>Help us understand your motivation by explaining why you decided to make this change. <add>Help us understand your motivation by explaining why you decided to make this chan...
1
Javascript
Javascript
make lazytransform compabile with streams1
1ae172b272f17fe8bb82a0f79b8d7e0bc2fb17ec
<ide><path>lib/internal/streams/lazy_transform.js <ide> module.exports = LazyTransform; <ide> <ide> function LazyTransform(options) { <ide> this._options = options; <add> this.writable = true; <add> this.readable = true; <ide> } <ide> util.inherits(LazyTransform, stream.Transform); <ide> <ide><path>test/parallel/...
2
Javascript
Javascript
use prototypes for `d3.rgb()` and `d3.hsl()`
a5911601090292c128f5c3f20c66c8de89bab376
<ide><path>d3.js <ide> d3.rgb = function(r, g, b) { <ide> }; <ide> <ide> function d3_rgb(r, g, b) { <del> return { <del> r: r, g: g, b: b, <del> toString: d3_rgb_format, <del> brighter: d3_rgb_brighter, <del> darker: d3_rgb_darker <del> }; <add> return new d3_Rgb(r, g, b); <add>} <add> <add>function d3_...
4
Javascript
Javascript
move env assignment into parsecommandline
324e8d6c7a2bae45a313eb911158aa9122acdbdc
<ide><path>src/main-process/main.js <ide> console.log = require('nslog') <ide> <ide> function start () { <ide> const args = parseCommandLine(process.argv.slice(1)) <del> args.env = process.env <ide> setupAtomHome(args) <ide> setupCompileCache() <ide> <ide><path>src/main-process/parse-command-line.js <ide> modu...
2
Java
Java
remove old touch processing for fabric
3b6d8af2908985c5be6200319d82c5594c22d889
<ide><path>ReactAndroid/src/main/java/com/facebook/react/config/ReactFeatureFlags.java <ide> public static boolean isMapBufferSerializationEnabled() { <ide> <ide> public static boolean enableScrollViewSnapToAlignmentProp = true; <ide> <del> public static boolean useDispatchUniqueForCoalescableEvents = false; <del>...
9
Javascript
Javascript
fix one failing ie 6/7 test - issue
28c38ea5b7003b7e287a3e1ef54d6698410170da
<ide><path>packages/ember-handlebars/tests/handlebars_test.js <ide> test("should not enter an infinite loop when binding an attribute in Handlebars" <ide> Ember.run(function() { <ide> parentView.appendTo('#qunit-fixture'); <ide> }); <del> equal(parentView.$('a').attr('href'), 'test'); <add> <add> // Use match...
1
Javascript
Javascript
implement feedback from merge party
7b7e20e2297f63b26dd1dbd3455b63e06b6c591e
<ide><path>packages/ember-glimmer/lib/environment.js <ide> export default class Environment extends GlimmerEnvironment { <ide> <ide> getComponentDefinition(path, symbolTable) { <ide> let name = path[0]; <del> let finalizer = _instrumentStart('render.compile', instrumentationPayload, name); <add> let finali...
3
Ruby
Ruby
add args and options to lazy url block
267040e5df2ea6981d07e4f1d39a26a4c46eee5c
<ide><path>Library/Homebrew/cask/dsl.rb <ide> def url(*args, **options) <ide> <ide> set_unique_stanza(:url, args.empty? && options.empty? && !block_given?) do <ide> if block_given? <del> LazyObject.new { URL.new(*yield, from_block: true, caller_location: caller_location) } <add> LazyObj...
2
Javascript
Javascript
update oss transformer
ce2bb0fe162d904ed31bd8d7f91a8648858dea3f
<ide><path>packager/transformer.js <ide> 'use strict'; <ide> <ide> const babel = require('babel-core'); <del>const inlineRequires = require('fbjs-scripts/babel/inline-requires'); <add>const inlineRequires = require('fbjs-scripts/babel-6/inline-requires'); <ide> <ide> function transform(src, filename, options) { <ide>...
1
Text
Text
update working_groups.md to include intl
a441aa6e1d625d6722f641274e2ea74cdf9688d2
<ide><path>WORKING_GROUPS.md <ide> back in to the TSC. <ide> * [Addon API](#addon-api) <ide> * [Starting a Working Group](#starting-a-wg) <ide> * [Bootstrap Governance](#bootstrap-governance) <add>* [Intl](#Intl) <ide> <ide> ### [Website](https://github.com/nodejs/website) <ide> <ide> to date and of high quality. <id...
1
Ruby
Ruby
remove noisy nodoc for ruby 1.8.4
e720ba0b5f40ca1714a9c59b74da8ab0a0d3e00e
<ide><path>activesupport/lib/active_support/dependencies.rb <ide> module Dependencies #:nodoc: <ide> mattr_accessor :log_activity <ide> self.log_activity = false <ide> <del> # :nodoc: <ide> # An internal stack used to record which constants are loaded by any block. <ide> mattr_accessor :constant_watch_stack...
1
Ruby
Ruby
fix tty output for progress bar
56a8f8f99d73ea2b40b460e48105008b3c4ffdef
<ide><path>Library/Homebrew/livecheck/livecheck.rb <ide> def livecheck_formulae(formulae_to_check, args) <ide> formulae_to_check.length <ide> end <ide> <del> $stderr.puts Formatter.headline("Running checks", color: :blue) <add> Tty.with($stderr) do |stderr| <add> stderr.puts Fo...
2
Go
Go
use designated test domains (rfc2606) in tests
97a5b797b6f4c3f600d134e2fdd130bbaa2a617e
<ide><path>cmd/dockerd/daemon_test.go <ide> func TestLoadDaemonConfigWithEmbeddedOptions(t *testing.T) { <ide> <ide> func TestLoadDaemonConfigWithRegistryOptions(t *testing.T) { <ide> content := `{ <del> "allow-nondistributable-artifacts": ["allow-nondistributable-artifacts.com"], <del> "registry-mirrors": ["https:...
6
Javascript
Javascript
use hooks instead of applyplugins
6192e5b4131ca630ae7f71bd2eca23b99e82d391
<ide><path>lib/Compilation.js <ide> class Compilation extends Tapable { <ide> chunkGroup.checkConstraints(); <ide> } <ide> } <del> <del> applyPlugins(name, ...args) { <del> this.hooks[name.replace(/[- ]([a-z])/g, match => match[1].toUpperCase())].call(...args); <del> } <ide> } <ide> <add>Compilation.prototype.a...
2
Ruby
Ruby
fix the test to check for the right config
b5a52ad55b4827e627edb57e952151274dd53ded
<ide><path>railties/test/application/configuration_test.rb <ide> def index <ide> end <ide> end <ide> <del> test "autoload paths will exclude changed path" do <del> app_file "config/webpacker.yml", <<-YAML <del> default: &default <del> source_path: app/webpack <del> check_yarn...
1
Javascript
Javascript
replace basis+beta with bundle+tension
cb3ffebc896eb316a6332ecdc2a6b8c71caf2a8d
<ide><path>d3.js <ide> d3.svg.line = function() { <ide> y = d3_svg_lineY, <ide> interpolate = "linear", <ide> interpolator = d3_svg_lineInterpolators[interpolate], <del> tension = .7, <del> beta = 1; <add> tension = .7; <ide> <ide> function line(d) { <ide> return d.length < 1 ? n...
7
Java
Java
add nullable annotation into mounting manager
6f63b054b604a676df7d6500c4cf84f4d91df95b
<ide><path>ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.java <ide> private static class ViewState { <ide> final int mReactTag; <ide> final boolean mIsRoot; <ide> @Nullable final ViewManager mViewManager; <del> public ReactStylesDiffMap mCurrentProps = null; <del> publi...
1
PHP
PHP
fix integration test
09da3b0c19d7d8b06382d2ccdaf63c1fd3bd3a09
<ide><path>tests/TestCase/TestSuite/EmailAssertTraitTest.php <ide> public function testFunctional() <ide> $this->assertEmailAttachmentsContains('TestUserMailer.php'); <ide> $this->assertEmailAttachmentsContains('TestMailer.php', [ <ide> 'file' => dirname(dirname(__DIR__)) . DS . 'test_app' ....
1
PHP
PHP
update html alias. closes
24f0d9a5b824d2a4a0a56611f9cb82cf9878e002
<ide><path>app/config/app.php <ide> 'File' => 'Illuminate\Support\Facades\File', <ide> 'Form' => 'Illuminate\Support\Facades\Form', <ide> 'Hash' => 'Illuminate\Support\Facades\Hash', <del> 'Html' => 'Illuminate\Support\Facades\Html', <add> 'HTML' => 'Illumi...
1
Text
Text
move changelog entry to top
07acf7b13d98eb8e3dc6628952ca908a020bbdce
<ide><path>activesupport/CHANGELOG.md <ide> ## Rails 4.0.0 (unreleased) ## <ide> <add>* Fix skipping of filters defined by objects in `ActiveSupport::Callbacks::Callback`. <add> <add> *Ben McRedmond* <add> <ide> * An `ActiveSupport::Subscriber` class has been extracted from <ide> `ActiveSupport::LogSubscrib...
1
Python
Python
add test for chord-in-chain
5c34f472baec3445c478118eb921bcc0bec405c9
<ide><path>t/integration/test_canvas.py <ide> def test_chain_chord_chain_chord(self, manager): <ide> res = c.delay() <ide> assert res.get(timeout=TIMEOUT) == 7 <ide> <add> @pytest.mark.xfail(reason="Issue #6176") <add> def test_chord_in_chain_with_args(self, manager): <add> try: <add> ...
1
Ruby
Ruby
improve detection of gitlab tag
184c80b16df08901689897383e73c8811289cb9a
<ide><path>Library/Homebrew/dev-cmd/audit.rb <ide> def audit_specs <ide> owner = Regexp.last_match(1) <ide> repo = Regexp.last_match(2) <ide> <add> tag = url.match(%r{^https://gitlab\.com/[\w-]+/[\w-]+/-/archive/([^/]+)/}) <add> .to_a <add> .second <add> ta...
1
Javascript
Javascript
add inverted prop in sectionlistexample
541485c7feff9fc081c0dcf89600687e8a34ca74
<ide><path>RNTester/js/SectionListExample.js <ide> class SectionListExample extends React.PureComponent<{}, $FlowFixMeState> { <ide> filterText: '', <ide> logViewable: false, <ide> virtualized: true, <add> inverted: false, <ide> }; <ide> <ide> _scrollPos = new Animated.Value(0); <ide> class SectionL...
1
PHP
PHP
enclose postgresql schema name with double quotes
b825a3c197249f468f3525f5ffd4c2f0987e8a66
<ide><path>src/Illuminate/Database/Connectors/PostgresConnector.php <ide> public function connect(array $config) <ide> { <ide> $schema = $config['schema']; <ide> <del> $connection->prepare("set search_path to {$schema}")->execute(); <add> $connection->prepare("set search_path to \"{$schema}\"")->execute(); <i...
2
Javascript
Javascript
remove reference to `angular.copy`
ef1a9d2cda4a5e60248bf609938429e0dadff1ff
<ide><path>src/ng/directive/ngModel.js <ide> var ngModelOptionsDirective = function() { <ide> restrict: 'A', <ide> controller: ['$scope', '$attrs', function($scope, $attrs) { <ide> var that = this; <del> this.$options = angular.copy($scope.$eval($attrs.ngModelOptions)); <add> this.$options = cop...
1
Javascript
Javascript
remove unneeded arguments special handling
db21266427c1228065dd0576cf59e47ce4485f4e
<ide><path>lib/assert.js <ide> const compare = process.binding('buffer').compare; <ide> const util = require('util'); <ide> const Buffer = require('buffer').Buffer; <del>const pSlice = Array.prototype.slice; <ide> const pToString = (obj) => Object.prototype.toString.call(obj); <ide> <ide> // 1. The assert module provi...
2
PHP
PHP
handle null/true/false in datetime value handling
5f43d315d0ccad9a02b1723fcbc33e42704d091e
<ide><path>src/View/Widget/DateTime.php <ide> protected function _deconstructDate($value, $options) { <ide> try { <ide> if (is_string($value)) { <ide> $date = new \DateTime($value); <add> } elseif (is_bool($value) || $value === null) { <add> $date = new \DateTime(); <ide> } elseif (is_int($value)) { <i...
2
Javascript
Javascript
remove superfluous nexttick during server binding
6cc0c9e6a9a26d6604990993003aa8c7b8dcae0e
<ide><path>lib/net.js <ide> function listen(self, address, port, addressType) { <ide> self._listen2(address, port, addressType); <ide> }); <ide> } else { <del> process.nextTick(function() { <del> self._listen2(address, port, addressType); <del> }); <add> self._listen2(address, port, addressTyp...
1
PHP
PHP
fix typo and failing test
9fffa4799fa1772301e2f4a0ba7b66b031b5c505
<ide><path>src/Collection/CollectionTrait.php <ide> public function append($items) { <ide> * [ <ide> * 1 => 'foo', <ide> * 2 => 'bar', <del> * 3 => 'baz, <add> * 3 => 'baz', <ide> * ]; <ide> * <ide> * $combined = (new Collection($items))->combine('id', 'name', 'parent'); <ide><path>tests/TestCase/ORM/QueryTest.ph...
2
Ruby
Ruby
move testball definition to separate file
1f82fe4dc7acb1edd81fa41b9fa3829c7d1b9c12
<ide><path>Library/Homebrew/test/test_checksums.rb <ide> require 'extend/ARGV' # needs to be after test/unit to avoid conflict with OptionsParser <ide> ARGV.extend(HomebrewArgvExtension) <ide> <del>require 'formula' <add>require 'test/testball' <ide> require 'utils' <ide> <ide> <del>class TestBall <Formula <del> # ...
4
Text
Text
add a missing backtick
8dcd2d2ba87f4677b1348ada1959d526c9769722
<ide><path>docs/Shell-Completion.md <ide> You must configure your shell to enable its completion support. This is because <ide> <ide> ## Configuring Completions in `bash` <ide> <del>To make Homebrew's completions available in `bash`, you must source the definitions as part of your shell's startup. Add the following t...
1
Text
Text
use "long term support" in collaborator guide
58bd04632402f24b4db3b11991df05ee7dba0602
<ide><path>doc/guides/collaborator-guide.md <ide> * [Technical HOWTO](#technical-howto) <ide> * [Troubleshooting](#troubleshooting) <ide> * [I made a mistake](#i-made-a-mistake) <del> * [Long term support](#long-term-support) <add> * [Long Term Support](#long-term-support) <ide> * [What is LTS?](#what-is-lt...
1
Ruby
Ruby
fix logic error in pr-automerge
9370c7cca702b9535b78f328b60a14bb70bbc15d
<ide><path>Library/Homebrew/dev-cmd/pr-automerge.rb <ide> def pr_automerge <ide> <ide> publish_args = ["pr-publish"] <ide> publish_args << "--tap=#{tap}" if tap <del> publish_args << "--autosquash" unless args.no_autosquash? <add> publish_args << "--no-autosquash" if args.no_autosquash? <ide> if args...
1
Python
Python
add test for ascii filenames
4f905ac9e6e75975acbda7ad943751da07c409ec
<ide><path>spacy/tests/test_misc.py <ide> def test_create_symlink_windows( <ide> symlink_to(symlink, symlink_target) <ide> <ide> assert not symlink.exists() <add> <add> <add>def test_ascii_filenames(): <add> """Test that all filenames in the project are ASCII. <add> See: https://twitter.com/_...
1
Ruby
Ruby
update documentation for collectionproxy
38886f3ed11d182a0b2ce97d8aa41e961c3dd43b
<ide><path>activerecord/lib/active_record/associations/collection_proxy.rb <ide> module Associations <ide> # <tt>@owner</tt>, the collection of its posts as <tt>@target</tt>, and <ide> # the <tt>@reflection</tt> object represents a <tt>:has_many</tt> macro. <ide> # <del> # This class has most of the basi...
1
Javascript
Javascript
remove invokeguardedcallback from commit phase
a8f5e77b921c890c215fb1c7e24a06f38598deb1
<ide><path>packages/react-dom/src/__tests__/ReactDOM-test.js <ide> describe('ReactDOM', () => { <ide> } <ide> }); <ide> <del> it('throws in DEV if jsdom is destroyed by the time setState() is called', () => { <del> class App extends React.Component { <del> state = {x: 1}; <del> componentDidUpdate()...
4
Javascript
Javascript
remove extra hyphen in option description
1c6b431bf8392cf4de14aa58e2de9d528257b099
<ide><path>src/main-process/parse-command-line.js <ide> module.exports = function parseCommandLine (processArgs) { <ide> 'Do not load packages from ~/.atom/packages or ~/.atom/dev/packages.' <ide> ) <ide> options.boolean('benchmark').describe('benchmark', 'Open a new window that runs the specified benchmarks.')...
1
Text
Text
add a link to the list of supported events
01f10eb7baa6683a569254b00281585f32c86fd3
<ide><path>docs/docs/10.4-test-utils.md <ide> ReactTestUtils.Simulate.keyDown(node, {key: "Enter", keyCode: 13, which: 13}); <ide> <ide> *Note that you will have to provide any event property that you're using in your component (e.g. keyCode, which, etc...) as React is not creating any of these for you.* <ide> <del>`...
1
Text
Text
clarify arch support for power platforms
71911be1def6eb885845354c3c85cf3c65f3d1ce
<ide><path>BUILDING.md <ide> Support is divided into three tiers: <ide> | Windows | Tier 1 | >= Windows 7 or >= Windows2008R2 | x86, x64 | | <ide> | SmartOS | Tier 2 | >= 15 < 16.4 | x86, x64 | see note1 | <ide> | FreeBSD | T...
1
Python
Python
kick travis again
d7417022f34bdf86a5c52b3b2bfd083a5ff33efd
<ide><path>rest_framework/__init__.py <ide> <ide> VERSION = __version__ # synonym <ide> <del> <ide> # Header encoding (see RFC5987) <ide> HTTP_HEADER_ENCODING = 'iso-8859-1'
1
Go
Go
remove engine.job from builder.cmdbuildconfig
ae4063585e7936780154101f7fe416a080c6ff7c
<ide><path>api/server/form.go <add>package server <add> <add>import ( <add> "net/http" <add> "strconv" <add> "strings" <add>) <add> <add>func boolValue(r *http.Request, k string) bool { <add> s := strings.ToLower(strings.TrimSpace(r.FormValue(k))) <add> return !(s == "" || s == "0" || s == "no" || s == "false" || s == ...
7
Javascript
Javascript
remove caps in spanish month and days
63047bbf6c684acd305fcaf7d929f832970ed532
<ide><path>locale/es.js <ide> }(this, function (moment) { 'use strict'; <ide> <ide> <del> var monthsShortDot = 'Ene._Feb._Mar._Abr._May._Jun._Jul._Ago._Sep._Oct._Nov._Dic.'.split('_'), <del> monthsShort = 'Ene_Feb_Mar_Abr_May_Jun_Jul_Ago_Sep_Oct_Nov_Dic'.split('_'); <add> var monthsShortDot = 'ene._feb._...
3
Ruby
Ruby
fix core formula alias check
57b230dd5c9ff01f59b2c6e0f8c527bbc95b9dce
<ide><path>Library/Homebrew/dev-cmd/audit.rb <ide> def audit_deps <ide> end <ide> <ide> if @@aliases.include?(dep.name) && <del> (core_formula? || !dep_f.versioned_formula?) <add> (dep_f.core_formula? || !dep_f.versioned_formula?) <ide> problem "Dependency '#{dep.name}' is...
1
PHP
PHP
correct doc block
7439e7c2304969158b6946a010a5035fccf8b887
<ide><path>src/Console/ConsoleOptionParser.php <ide> public function toArray() { <ide> * Get or set the command name for shell/task. <ide> * <ide> * @param array|\Cake\Console\ConsoleOptionParser $parser ConsoleOptionParser or spec to merge with. <del> * @return string|$this If reading, the value of the command. If ...
1
PHP
PHP
fix style ci
5b258fac3068261c20d40f924928a3a499f89384
<ide><path>src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php <ide> public function __construct(Pusher $pusher) <ide> public function auth($request) <ide> { <ide> if (Str::startsWith($request->channel_name, ['private-', 'presence-']) && <del> !$request->user() <add> ! $...
1
Javascript
Javascript
add tests for nested `classnamebindings` paths
ed6ed9ebb070de6e689ac415d46496a0accb9aee
<ide><path>packages/ember-glimmer/tests/integration/components/class-bindings-test.js <ide> moduleFor('ClassNameBindings integration', class extends RenderingTest { <ide> this.assertComponentElement(this.firstChild, { tagName: 'div', attrs: { 'class': classes('ember-view foo enabled sad') }, content: 'hello' }); <i...
1
Java
Java
remove unused imports
4e95378fc636687a5b4275a2101f0ba4520b0aff
<ide><path>spring-webflux/src/test/java/org/springframework/web/reactive/socket/WebSocketIntegrationTests.java <ide> import java.util.List; <ide> import java.util.Map; <ide> import java.util.concurrent.atomic.AtomicReference; <del>import java.util.logging.Level; <ide> <ide> import org.apache.commons.logging.Log; <ide>...
1
Go
Go
return registy status code in error
3043c2641990d94298c6377b7ef14709263a4709
<ide><path>api.go <ide> func postImagesCreate(srv *Server, version float64, w http.ResponseWriter, r *ht <ide> if image != "" { //pull <ide> if err := srv.ImagePull(image, tag, w, sf, &auth.AuthConfig{}); err != nil { <ide> if sf.Used() { <del> w.Write(sf.FormatError(err)) <add> w.Write(sf.FormatError(err, ...
5
PHP
PHP
allow the registration of custom database drivers
7e33ec5f34003281123dd4f5bf6cd0f5a88e2893
<ide><path>laravel/database.php <ide> class Database { <ide> */ <ide> public static $connections = array(); <ide> <add> /** <add> * The third-party driver registrar. <add> * <add> * @var array <add> */ <add> public static $registrar = array(); <add> <ide> /** <ide> * Get a database connection. <ide> * <ide...
3
Text
Text
update the encoding instructions
72ea06232f2304fbdc9d67efbe11288b97ae941a
<ide><path>skip_thoughts/README.md <ide> import numpy as np <ide> import os.path <ide> import scipy.spatial.distance as sd <ide> from skip_thoughts import configuration <del>from skip_thoughts import combined_encoder <add>from skip_thoughts import encoder_manager <ide> <ide> In [1]: <ide> # Set paths to the model. <id...
1
Mixed
Javascript
begin normalizing fixtures use
7535a94c8a54bb6346c8e60dbae1c32d6f508212
<ide><path>test/common/README.md <ide> Decrements the `Countdown` counter. <ide> Specifies the remaining number of times `Countdown.prototype.dec()` must be <ide> called before the callback is invoked. <ide> <add>## Fixtures Module <add> <add>The `common/fixtures` module provides convenience methods for working with <...
125
Text
Text
fix the wrong hash url in adding-languages.md file
296f8b65b4959d514eb91ddceb9c05736a5f5fcb
<ide><path>.github/contributors/lizhe2004.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
Go
Go
update code for use of urlutil pkg
5794b5373ef26846b3cc5e48e651208771d12b19
<ide><path>api/client/commands.go <ide> import ( <ide> "github.com/docker/docker/pkg/term" <ide> "github.com/docker/docker/pkg/timeutils" <ide> "github.com/docker/docker/pkg/units" <add> "github.com/docker/docker/pkg/urlutil" <ide> "github.com/docker/docker/registry" <ide> "github.com/docker/docker/runconfig" <ide...
3
Python
Python
add regression test for #555
64d31855e5168513d343a4478a4805ac3fe9927a
<ide><path>numpy/core/tests/test_regression.py <ide> def check_poly_eq(self, level=rlevel): <ide> assert x != y <ide> assert x == x <ide> <add> def check_rand_seed(self, level=rlevel): <add> """Ticket #555""" <add> for l in np.arange(4): <add> np.random.seed(l) <add> <add> <...
1
Go
Go
fix spelling error in names-generator.go
0cad90911f8b9fab9b9acc940b5759ee1939306e
<ide><path>pkg/namesgenerator/names-generator.go <ide> var ( <ide> // Dorothy Hodgkin was a British biochemist, credited with the development of protein crystallography. She was awarded the Nobel Prize in Chemistry in 1964. https://en.wikipedia.org/wiki/Dorothy_Hodgkin <ide> "hodgkin", <ide> <del> // Erna Schneid...
1
PHP
PHP
add support for extra template params
25bcfaaab5c581aa8980c1f6fc6ad279b1ab3bde
<ide><path>src/View/StringTemplate.php <ide> public function format($name, array $data) <ide> if ($template === null) { <ide> return null; <ide> } <add> <add> if (isset($data['templateParams'])) { <add> $data += $data['templateParams']; <add> unset($data['templat...
2
PHP
PHP
remove failing test
76ea8f148f0ba49efe579ee9c158622dc55e032e
<ide><path>tests/TestCase/View/HelperTest.php <ide> public function testMultiDimensionValue() { <ide> $this->assertEquals(100, $result); <ide> } <ide> <del>/** <del> * testDomId method <del> * <del> * @return void <del> */ <del> public function testDomId() { <del> $result = $this->Helper->domId('Foo.bar'); <del> ...
1
PHP
PHP
remove unsued import
b19dd062bb2e454514b6eda89ef495a157d93219
<ide><path>tests/TestCase/Auth/BasicAuthenticateTest.php <ide> use Cake\I18n\Time; <ide> use Cake\Network\Exception\UnauthorizedException; <ide> use Cake\Network\Request; <del>use Cake\ORM\Entity; <ide> use Cake\ORM\TableRegistry; <ide> use Cake\TestSuite\TestCase; <del>use Cake\Utility\Security; <ide> <ide> /** <ide>...
98
Text
Text
add v3.2.2 to changelog
244b647ebcb984d813a4d93d5d39037dddcd9d08
<ide><path>CHANGELOG.md <ide> - [#16691](https://github.com/emberjs/ember.js/pull/16691) [DEPRECATION] [emberjs/rfcs#237](https://github.com/emberjs/rfcs/pull/237) Implement `Ember.Map`, `Ember.MapWithDefault`, and `Ember.OrderedSet` deprecation. <ide> - [#16692](https://github.com/emberjs/ember.js/pull/16692) [DEPRECA...
1
PHP
PHP
add typehint and missing full stops
36bea7f486c896bd374f1b0df92b2b51150ced4d
<ide><path>src/View/Helper/PaginatorHelper.php <ide> public function last($last = 'last >>', array $options = array()) { <ide> return $out; <ide> } <ide> /** <del> * Returns the meta-links for a paginated result set <add> * Returns the meta-links for a paginated result set. <ide> * <ide> * `echo $this->Paginator->...
2
Text
Text
add 1.11.0 changelog
7303bd61ceba33ae403565520233d60bf04bafda
<ide><path>CHANGELOG.md <ide> <ide> - [#3852](https://github.com/emberjs/ember.js/pull/3852) [BREAKING BUGFIX] Do not assume null Ember.get targets always refer to a global <ide> <del>### 1.11.0-beta.1 (February 06, 2015) <del> <add>### 1.11.0 (March 28, 2015) <add> <add>- [#10736](https://github.com/emberjs/ember.js...
1