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
Text
Text
extend deprecation cycle to 3 releases by default
9414955c608834c20e3764e753854e667f2e0cbe
<ide><path>docs/deprecated.md <ide> weight=80 <ide> # Deprecated Engine Features <ide> <ide> The following list of features are deprecated in Engine. <add>To learn more about Docker Engine's deprecation policy, <add>see [Feature Deprecation Policy](index.md#feature-deprecation-policy). <add> <ide> <ide> ### Three arg...
2
Python
Python
add xfailing test for [ci skip]
3af0b2dd1c6573dd4a7e993c2ab05fd8c02742d3
<ide><path>spacy/tests/regression/test_issue1971.py <ide> def test_issue_1971_2(en_vocab): <ide> matcher.add("TEST", None, pattern1, pattern2) <ide> matches = matcher(doc) <ide> assert len(matches) == 2 <add> <add> <add>@pytest.mark.xfail <add>def test_issue_1971_3(en_vocab): <add> Token.set_extension("a...
1
Python
Python
add another call to gc.collect in break_cycles
382befec16270beb0b8de3ee15f411d231dbc9ec
<ide><path>numpy/testing/_private/utils.py <ide> def break_cycles(): <ide> <ide> gc.collect() <ide> if IS_PYPY: <del> # interpreter runs now, to call deleted objects' __del__ methods <add> # a few more, just to make sure all the finalizers are called <add> gc.collect() <ide> gc.col...
1
PHP
PHP
fix more doc blocks
817abe04fa3dcbbd194884c17fc54977bfa46375
<ide><path>src/ORM/Marshaller.php <ide> protected function _prepareDataAndOptions($data, $options) <ide> * @param \Cake\ORM\Association $assoc The association to marshall <ide> * @param array $value The data to hydrate <ide> * @param array $options List of options. <del> * @return mixed <add> * @...
1
Ruby
Ruby
extract function `intersection_of_dependents`
281a5986856f3505c23b45c786b5e98ec1643f07
<ide><path>Library/Homebrew/cmd/uses.rb <ide> def uses <ide> end <ide> <ide> use_runtime_dependents = args.installed? && <add> !used_formulae_missing && <ide> !args.include_build? && <ide> !args.include_test? && <ide> ...
1
Java
Java
remove redundant isbridgeless() checking
10830f4db94969b83b4e751be5429cc2fcacd8f0
<ide><path>ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContextBaseJavaModule.java <ide> protected final ReactApplicationContext getReactApplicationContext() { <ide> */ <ide> @ThreadConfined(ANY) <ide> protected @Nullable final ReactApplicationContext getReactApplicationContextIfActiveOrWarn() { <de...
3
Javascript
Javascript
remove string literal from strictequal
4970cd678e524981b6b3ecf5d23bc11c5403f645
<ide><path>test/parallel/test-stream-pipe-await-drain-push-while-write.js <ide> const writable = new stream.Writable({ <ide> write: common.mustCall(function(chunk, encoding, cb) { <ide> assert.strictEqual( <ide> readable._readableState.awaitDrain, <del> 0, <del> 'State variable awaitDrain is not c...
1
PHP
PHP
fix function namespacing
16a62193fcbdac7394dcde49d567dbde592731b2
<ide><path>laravel/bootstrap/core.php <ide> <?php namespace Laravel; <ide> <ide> /** <del> * Define all of the constants used by the framework. All of the <del> * core paths will be defined, as well as all of the paths which <del> * derive from those core paths. <add> * Define all of the constants used by the framewor...
3
Javascript
Javascript
normalize all line endings in an obj file
89b3d0babe1ce013d2cec1b12f2f6e2ec890e96d
<ide><path>examples/js/loaders/OBJLoader.js <ide> THREE.OBJLoader.prototype = { <ide> if ( text.indexOf( '\r\n' ) !== - 1 ) { <ide> <ide> // This is faster than String.split with regex that splits on both <del> text = text.replace( '\r\n', '\n' ); <add> text = text.replace( /\r\n/g, '\n' ); <ide> <ide> } <...
1
Go
Go
close the file
cf3ef262b161f1c3dd61f5689e2853c2e8ec8b70
<ide><path>daemon/volumes_unix.go <ide> func (daemon *Daemon) verifyVolumesInfo(container *container.Container) error { <ide> if err != nil { <ide> return errors.Wrap(err, "could not open container config") <ide> } <add> defer f.Close() <ide> var cv volumes <ide> if err := json.NewDecoder(f).Decode(&cv); err != n...
1
Python
Python
remove extra blank line
aa99d280524aceb22663c20df68ae724af3cb487
<ide><path>libcloud/common/base.py <ide> def makefile(self, *args, **kwargs): <ide> elif encoding in ['gzip', 'x-gzip']: <ide> body = decompress_data('gzip', body) <ide> <del> <ide> if r.chunked: <ide> ht += "%x\r\n" % (len(body)) <ide> ht += u(body)
1
Text
Text
add fs.open() multiple constants example
38f444060b0527afe5dccc44ee2db55c73c62e57
<ide><path>doc/api/fs.md <ide> The following constants are exported by `fs.constants`. <ide> <ide> Not every constant will be available on every operating system. <ide> <add>To use more than one constant, use the bitwise OR `|` operator. <add> <add>Example: <add> <add>```js <add>const fs = require('fs'); <add> <add>c...
1
Javascript
Javascript
fix normal_fragment_* examples
e03835d1f2ad4eedeada071fd57aa2ce6e9e487d
<ide><path>examples/js/nodes/materials/PhongNode.js <ide> THREE.PhongNode.prototype.build = function ( builder ) { <ide> <ide> var output = [ <ide> // prevent undeclared normal <del> "#include <normal_fragment>", <add> "#include <normal_fragment_begin>", <ide> <ide> // prevent undeclared material <ide> ...
2
PHP
PHP
call dump autoload when appropriate
8501a9e89e6a864d6a2a20ff6778d3cdcd51d340
<ide><path>src/Illuminate/Foundation/Console/RequestMakeCommand.php <ide> public function fire() <ide> ); <ide> <ide> $this->info('Request created successfully.'); <add> <add> $this->call('dump-autoload'); <ide> } <ide> <ide> /** <ide><path>src/Illuminate/Routing/Console/FilterMakeCommand.php <ide> public func...
2
Javascript
Javascript
increase timeout for progressplugin test
2bad4c7259768ec6f10f1af877d943f44f5eb791
<ide><path>test/ProgressPlugin.test.js <ide> const RunCompilerAsync = compiler => <ide> }); <ide> <ide> describe("ProgressPlugin", function () { <add> jest.setTimeout(10000); <ide> let stderr; <ide> let stdout; <ide>
1
Ruby
Ruby
remove compatibility module from docs [ci skip]
1db8438d10cfe111963684e3158a2d2adda05849
<ide><path>actionpack/lib/action_controller/template_assertions.rb <ide> # frozen_string_literal: true <ide> <ide> module ActionController <del> module TemplateAssertions <add> module TemplateAssertions # :nodoc: <ide> def assert_template(options = {}, message = nil) <ide> raise NoMethodError, <ide> ...
1
Text
Text
move changelog entry to the top
09f941c507455e5523cd2d990117c1fcf4f0ab9c
<ide><path>activerecord/CHANGELOG.md <add>* Raise `ActiveRecord::RecordNotDestroyed` when a replaced child marked with `dependent: destroy` fails to be destroyed. <add> <add> Fix #12812 <add> <add> *Brian Thomas Storti* <add> <ide> * Fix validation on uniqueness of empty association. <ide> <ide> *Evgeny ...
1
Python
Python
fix mypy errors for presto provider
9c05a951175c231478cbc19effb0e2a4cccd7a3b
<ide><path>airflow/providers/presto/hooks/presto.py <ide> # specific language governing permissions and limitations <ide> # under the License. <ide> import os <del>from typing import Any, Iterable, Optional <add>from typing import Any, Callable, Iterable, Optional <ide> <ide> import prestodb <ide> from prestodb.except...
1
Ruby
Ruby
replace bind values on calls to to_sql
b8264ef0b43802dbd658d947e1c043254c900cf4
<ide><path>activerecord/lib/active_record/connection_adapters/abstract_adapter.rb <ide> def initialize(connection, logger = nil, pool = nil) #:nodoc: <ide> @prepared_statements = false <ide> end <ide> <add> def bind_substitution_visitor <add> @bind_sub_visitor ||= visitor.dup.extend(Arel::Vis...
2
Javascript
Javascript
add tests verifying we don't swallow exceptions
c08469a7d6647fd1e4f0480713bdf2d9e49a719f
<ide><path>src/renderers/shared/stack/reconciler/__tests__/ReactErrorBoundaries-test.js <ide> describe('ReactErrorBoundaries', () => { <ide> <ide> BrokenComponentDidUpdate = class extends React.Component { <ide> static defaultProps = { <del> errorText: 'Hello' <add> errorText: 'Hello', <ide> ...
1
Python
Python
fix a `genericalias` test failure for python 3.9.0
263a97c620f9d469f1b35d42af048794b036e03b
<ide><path>numpy/typing/tests/test_generic_alias.py <ide> class TestGenericAlias: <ide> ("__call__", lambda n: n(shape=(1,), dtype=np.int64, buffer=BUFFER)), <ide> ("subclassing", lambda n: _get_subclass_mro(n)), <ide> ("pickle", lambda n: n == pickle.loads(pickle.dumps(n))), <del> ("__we...
1
Python
Python
refactor the test to not call internal methods
eaaf69900b59c98ba4e91123869a35f20af0d349
<ide><path>libcloud/test/compute/test_openstack.py <ide> def test_auth_host_passed(self): <ide> ex_tenant_name='admin') <ide> self.assertEqual(d._ex_force_auth_url, forced_auth) <ide> with requests_mock.Mocker() as mock: <add> body1 = ComputeFileFixtures('openstack').load('v1_slug...
1
Javascript
Javascript
add test from v0.4 dea49e3
49806864e489dd73bdda56ec66a1c8a9450fa4a7
<ide><path>test/pummel/test-net-write-callbacks.js <add>// Copyright Joyent, Inc. and other Node contributors. <add>// <add>// Permission is hereby granted, free of charge, to any person obtaining a <add>// copy of this software and associated documentation files (the <add>// "Software"), to deal in the Software withou...
1
Ruby
Ruby
allow subsecond resolution in `travel_to` helper
0ab5a3a4abeface5d96432995a5394d305b54303
<ide><path>activesupport/lib/active_support/testing/time_helpers.rb <ide> def travel(duration, &block) <ide> # <ide> # Note that the usec for the time passed will be set to 0 to prevent rounding <ide> # errors with external services, like MySQL (which will round instead of floor, <del> # leading ...
2
Javascript
Javascript
fix minimumviewtime in viewabilityhelper
d19d137cc18f10957b5ac64ac727d15fde57f018
<ide><path>Libraries/Lists/ViewabilityHelper.js <ide> export type ViewabilityConfig = {| <ide> class ViewabilityHelper { <ide> _config: ViewabilityConfig; <ide> _hasInteracted: boolean = false; <del> _lastUpdateTime: number = 0; <ide> _timers: Set<number> = new Set(); <ide> _viewableIndices: Array<number> = []...
1
Python
Python
remove reference to legacy graph model in tests
c0b32a9a04c761e03e082d4ff955702c6aa17003
<ide><path>tests/keras/test_callbacks.py <ide> def make_model(): <ide> assert np.allclose(float(K.get_value(model.optimizer.lr)), 0.1, atol=K.epsilon()) <ide> <ide> <del>@pytest.mark.skipif((K._BACKEND != 'tensorflow'), <add>@pytest.mark.skipif((K.backend() != 'tensorflow'), <ide> reason="Requ...
1
Mixed
Java
move mpsc queue to rx.internal.util
5b5d99f27f593155844bc0a9e2eca3a004f2a941
<add><path>rxjava-core/src/main/java/rx/internal/util/MpscPaddedQueue.java <del><path>rxjava-core/src/main/java/rx/observers/MpscPaddedQueue.java <del>/** <del> * Copyright 2014 Netflix, Inc. <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); you may not <del> * use this file except in comp...
5
Javascript
Javascript
remove worker from local-cli
cbb8d6f6281fc5100ba45fd164103048e927bc59
<ide><path>local-cli/util/Config.js <ide> export type ConfigT = { <ide> /** <ide> * Returns the path to the worker that is used for transformation. <ide> */ <del> getWorkerPath: () => string, <add> getWorkerPath: () => ?string, <ide> <ide> /** <ide> * An optional function that can modify the code and so...
2
Go
Go
use transactions for transactions
e9f37a011872fa89669dc105df27e1c6e16124b6
<ide><path>pkg/graphdb/graphdb.go <ide> func NewDatabase(conn *sql.DB) (*Database, error) { <ide> } <ide> db := &Database{conn: conn} <ide> <del> if _, err := conn.Exec(createEntityTable); err != nil { <add> // Create root entities <add> tx, err := conn.Begin() <add> if err != nil { <ide> return nil, err <ide> } ...
1
Ruby
Ruby
simplify buildenvironmentdsl test setup
9822faa56a1f99ab97b6e44bccf363c005172197
<ide><path>Library/Homebrew/test/test_build_environment.rb <ide> def test_env_block_with_argument <ide> <ide> class BuildEnvironmentDSLTests < Homebrew::TestCase <ide> def make_instance(&block) <del> Class.new do <del> extend BuildEnvironmentDSL <del> def env; self.class.env end <del> class_eval(&b...
1
Javascript
Javascript
fix issues for eslint 2.7.0
ffe5c8385eee009940dd59f5dd3832c792b1a7c2
<ide><path>test/parallel/test-async-wrap-disabled-propagate-parent.js <ide> const providers = Object.keys(async_wrap.Providers); <ide> const uidSymbol = Symbol('uid'); <ide> <ide> let cntr = 0; <del>let server; <ide> let client; <ide> <ide> function init(uid, type, parentUid, parentHandle) { <ide> function noop() { }...
5
Javascript
Javascript
sanitize linenumber in launcheditor
ab61a1fbac025e6985ae6b0a1ea34e378996848c
<ide><path>local-cli/server/util/launchEditor.js <ide> function launchEditor(fileName, lineNumber) { <ide> return; <ide> } <ide> <add> // Sanitize lineNumber to prevent malicious use on win32 <add> // via: https://github.com/nodejs/node/blob/c3bb4b1aa5e907d489619fb43d233c3336bfc03d/lib/child_process.js#L333 <a...
1
Python
Python
change parsing format to use ast via redbaron
8488a3afa97e12297bdb22586e17b4c0ddf54175
<ide><path>scripts/fix_ext_import.py <del>from lib2to3.fixer_base import BaseFix <del>from lib2to3.fixer_util import Name, syms <del> <del> <del>class FixExtImport(BaseFix): <del> <del> PATTERN = "fixnode='oldname'" <del> <del> def transform(self, node, results): <del> fixnode = results['fixnode'] <del> ...
3
PHP
PHP
remove uneeded assignement
e231709584dbd150d0e00d93fae086737b52132a
<ide><path>src/Controller/Controller.php <ide> public function render($view = null, $layout = null) <ide> $builder->template($this->request->params['action']); <ide> } <ide> <del> $this->View = $this->_view = $this->createView(); <del> $this->response->body($this->_view->render($view,...
1
Go
Go
fix a race condition in the integration tests
23022932440006aca0a954763bf8e3a5882f94d3
<ide><path>integration/graph_test.go <ide> func TestInterruptedRegister(t *testing.T) { <ide> Comment: "testing", <ide> Created: time.Now(), <ide> } <del> go graph.Register(nil, badArchive, image) <del> time.Sleep(200 * time.Millisecond) <ide> w.CloseWithError(errors.New("But I'm not a tarball!")) // (Nobody's pe...
1
Javascript
Javascript
remove unused profiler
53c4daa55709564319a41d5b51fd99667b2cca70
<ide><path>packages/next/build/profiler/profiler.js <del>import fs from 'fs' <del>import path from 'path' <del> <del>let maybeInspector <del>try { <del> maybeInspector = require('inspector') <del>} catch (e) { <del> console.log('Unable to CPU profile in < node 8.0') <del>} <del> <del>class Profiler { <del> construct...
1
Java
Java
delete unused imports in spring-test
2a3e62ddfc9021a9b8340349bd678c25dfd39e7c
<ide><path>spring-test/src/test/java/org/springframework/test/web/servlet/request/MockHttpServletRequestBuilderTests.java <ide> import java.io.IOException; <ide> import java.net.URI; <ide> import java.net.URISyntaxException; <del>import java.nio.charset.Charset; <ide> import java.nio.charset.StandardCharsets; <ide> imp...
1
Javascript
Javascript
copy the static directory for static file serving
c40ded0c12f4642b13123ba0e5d7170676ab850d
<ide><path>server/export.js <ide> export default async function (dir, options) { <ide> join(outDir, '_next', buildStats['app.js'].hash, 'app.js') <ide> ) <ide> <add> // Copy static directory <add> if (existsSync(join(dir, 'static'))) { <add> log(' copying "static" directory') <add> await cp( <add> ...
1
Text
Text
fix broken link in animation docs
9a89edbb226592a773e420a25447ad75e21376ba
<ide><path>docs/docs/09.1-animation.md <ide> You'll notice that when you try to remove an item `ReactCSSTransitionGroup` keep <ide> <ide> ### Animation Group Must Be Mounted To Work <ide> <del>In order for it to apply transitions to its children, the `ReactCSSTransitionGroup` must already be mounted in the DOM. The e...
1
Javascript
Javascript
increase scope of fbxtree variable
45dc88e930acd883ded7efe93ba375e1e3dd1849
<ide><path>examples/js/loaders/FBXLoader.js <ide> <ide> THREE.FBXLoader = ( function () { <ide> <add> var FBXTree; <add> <ide> function FBXLoader( manager ) { <ide> <ide> this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager; <ide> THREE.FBXLoader = ( function () { <ide> <ide> parse:...
1
Java
Java
use weak hash map for react scroll view helper
b673e352fb0ea44b545edf5a7e8c1b422180838a
<ide><path>ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewHelper.java <ide> import com.facebook.react.bridge.JSApplicationIllegalArgumentException; <ide> import com.facebook.react.bridge.ReactContext; <ide> import com.facebook.react.uimanager.UIManagerHelper; <del>import java.util.ArrayList; ...
1
PHP
PHP
apply fixes from styleci
a880574f5ada4c9aa0c9353a8cfae3e71f981e7a
<ide><path>tests/Foundation/Bootstrap/HandleExceptionsTest.php <ide> use Illuminate\Foundation\Application; <ide> use Illuminate\Foundation\Bootstrap\HandleExceptions; <ide> use Illuminate\Log\LogManager; <del>use Illuminate\Support\Str; <ide> use Mockery as m; <ide> use Monolog\Handler\NullHandler; <ide> use PHPUnit\F...
1
Javascript
Javascript
add si prefix formatting to d3.format
0ca32a8f69b0f8342d582cf930b7e2ef8a9cf7c9
<ide><path>d3.js <ide> d3.format = function(specifier) { <ide> precision = match[8], <ide> type = match[9], <ide> percentage = false, <del> integer = false; <add> integer = false, <add> si = false; <ide> <ide> if (precision) precision = precision.substring(1); <ide> <ide> d3.format ...
4
Python
Python
update the typing tests for `np.number` subclasses
b0c37b8ef3f9536608ad78ee94bcb5d8c87d2242
<ide><path>numpy/typing/tests/data/fail/scalars.py <add>import sys <ide> import numpy as np <ide> <ide> f2: np.float16 <ide> f8: np.float64 <add>c8: np.complex64 <ide> <ide> # Construction <ide> <ide> def func(a: np.float32) -> None: ... <ide> <ide> func(f2) # E: incompatible type <ide> func(f8) # E: incompatible...
2
Javascript
Javascript
flowify libraries/stylesheet and libraries/text
a343c4345e160e322e85451e43b4f0d756e3ea90
<ide><path>Libraries/StyleSheet/EdgeInsetsPropType.js <ide> * of patent rights can be found in the PATENTS file in the same directory. <ide> * <ide> * @providesModule EdgeInsetsPropType <add> * @flow <ide> */ <ide> 'use strict' <ide> <ide><path>Libraries/StyleSheet/LayoutPropTypes.js <ide> * of patent rights can ...
10
Python
Python
add input_shape parameter to initial layer
04ef5c2f3cc2ac899239d5f2b20de986a9153af1
<ide><path>official/mnist/mnist.py <ide> def create_model(data_format): <ide> # (a subclass of tf.keras.Model) makes for a compact description. <ide> return tf.keras.Sequential( <ide> [ <del> l.Reshape(input_shape), <add> l.Reshape( <add> target_shape=input_shape, <add> ...
1
Python
Python
remove unused import - bowlertool
02b71f9e8e2d784d11cc57e630c262e560ed1dbe
<ide><path>backport_packages/setup_backport_packages.py <ide> def change_import_paths_to_deprecated(): <ide> from bowler import LN, TOKEN, Capture, Filename, Query <ide> from fissix.pytree import Leaf <ide> from fissix.fixer_util import KeywordArg, Name, Comma <del> from bowler import BowlerTool <ide> <...
1
Ruby
Ruby
add `shims_path` helper method
2b6e58063694e2a676d647dfa247d61229623d62
<ide><path>Library/Homebrew/extend/ENV/super.rb <ide> def self.extended(base) <ide> base.run_time_deps = [] <ide> end <ide> <add> # The location of Homebrew's shims on this OS. <add> # @public <add> sig { returns(Pathname) } <add> def self.shims_path <add> HOMEBREW_SHIMS_PATH/"super" <add> end <add> <ide...
3
Javascript
Javascript
add cb error test for fs.close()
e22efba812b2a6c2ee6d35f4e11af5b08afd881d
<ide><path>test/parallel/test-fs-close-errors.js <ide> const fs = require('fs'); <ide> assert.throws(() => fs.close(input), errObj); <ide> assert.throws(() => fs.closeSync(input), errObj); <ide> }); <add> <add>{ <add> // Test error when cb is not a function <add> const fd = fs.openSync(__filename, 'r'); <add> <ad...
1
Python
Python
fix backprop of d_pad
e85e31cfbd43e88184ed08cb977e2acaf5752d86
<ide><path>spacy/_ml.py <ide> def _add_padding(self, Yf): <ide> <ide> def _backprop_padding(self, dY, ids): <ide> # (1, nF, nO, nP) += (nN, nF, nO, nP) where IDs (nN, nF) < 0 <del> d_feats = dY[ids] <del> ids = ids.reshape((ids.shape[0], ids.shape[1], 1, 1)) <del> d_feats *= ids < 0 <d...
1
Python
Python
add a todo comment
09a4f8c7fc961e9bf536060533a4fd26c35004d8
<ide><path>numpy/_array_api/_creation_functions.py <ide> def asarray(obj: Union[Array, bool, int, float, NestedSequence[bool|int|float], <ide> return obj <ide> if dtype is None and isinstance(obj, int) and (obj > 2**64 or obj < -2**63): <ide> # Give a better error message in this case. NumPy would c...
1
Javascript
Javascript
add tests for transition delay and duration
5764e49992131dae7f572a5dcacd1e5110deb63b
<ide><path>test/core/transition-test-delay.js <add>require("../env"); <add>require("../../d3"); <add> <add>var assert = require("assert"); <add> <add>module.exports = { <add> topic: function() { <add> return d3.select("body").selectAll() <add> .data(["foo", "bar"]) <add> .enter().append("div") <add> ...
3
Go
Go
add libtrust key identity management
ea6a480128316be5494284dbb688b58bd65e6f63
<ide><path>api/client/cli.go <ide> import ( <ide> flag "github.com/docker/docker/pkg/mflag" <ide> "github.com/docker/docker/pkg/term" <ide> "github.com/docker/docker/registry" <add> "github.com/docker/libtrust" <ide> ) <ide> <ide> type DockerCli struct { <ide> type DockerCli struct { <ide> in io.ReadCloser...
6
Ruby
Ruby
replace `hbc.load` with `caskloader.load`
ed10135da4fbabca2798afe949b6f5af9544ec9f
<ide><path>Library/Homebrew/cask/lib/hbc.rb <ide> def self.init <ide> Cache.ensure_cache_exists <ide> Caskroom.ensure_caskroom_exists <ide> end <del> <del> def self.load(ref) <del> CaskLoader.load(ref) <del> end <ide> end <ide><path>Library/Homebrew/cask/lib/hbc/cask_dependencies.rb <ide> def graph_depen...
27
Python
Python
fix typo preventing from launching webserver
8cb035a7cdd6276c2cdb29882ceadd41ae3d5189
<ide><path>airflow/bin/cli.py <ide> class CLIFactory(object): <ide> 'dag_id', 'task_id', 'execution_date', 'subdir', 'dry_run', <ide> 'task_params'), <ide> }, { <del> 'func': scheduler, <add> 'func': webserver, <ide> 'help': "Start a Airflow webs...
1
Javascript
Javascript
allow changing transitionleave from false to true
5e6e332d677df00b2d97b7caabfe5789b50a28ca
<ide><path>src/addons/transitions/ReactTransitionGroup.js <ide> var ReactTransitionGroup = React.createClass({ <ide> enter: this.props.transitionEnter, <ide> onDoneLeaving: this._handleDoneLeaving.bind(this, key) <ide> }, childMapping[key]); <add> } else { <add> // If there's no ...
2
Javascript
Javascript
use exit code 8 consistently
6808706c3b8baf8d4b867806acebda949f6d8f38
<ide><path>src/node.js <ide> try { <ide> if (!process._exiting) { <ide> process._exiting = true; <del> process.emit('exit', 1); <add> process.emit('exit', 8); <ide> } <ide> } catch (er) { <ide> // nothing to be done about it at this point. ...
2
Text
Text
fix broken links in commit-queue.md
92167e272be9dff7441f061ef8eac00bafa667e5
<ide><path>doc/guides/commit-queue.md <ide> of the commit queue: <ide> <ide> ## Implementation <ide> <del>The [action](/.github/workflows/commit_queue.yml) will run on scheduler <add>The [action](../../.github/workflows/commit-queue.yml) will run on scheduler <ide> events every five minutes. Five minutes is the small...
1
Python
Python
add blank line
5c1e7ae50d6242ce1f04d1a6482a85f443b6bc1e
<ide><path>numpy/ma/core.py <ide> def _recursive_or(a, b): <ide> _recursive_or(af, bf) <ide> else: <ide> af |= bf <add> <ide> _recursive_or(_data._mask, mask) <ide> else: <...
1
Ruby
Ruby
migrate some formula with hard-x11 dependencies
a1ba5a5da6ee62aab11c628b7d427091f8356b42
<ide><path>Library/Homebrew/tap_migrations.rb <ide> "apple-gcc42" => "homebrew/dupes", <ide> "appledoc" => "homebrew/boneyard", <ide> "appswitch" => "homebrew/binary", <add> "atari++" => "homebrew/x11", <ide> "authexec" => "homebrew/boneyard", <ide> "aws-iam-tools" => "homebrew/boneyard", <ide> "blackbox" ...
1
Javascript
Javascript
remove checks for armv6
62321267b05a8bb66915edc30587a421bcc82434
<ide><path>test/common/index.js <ide> function platformTimeout(ms) { <ide> <ide> const armv = process.config.variables.arm_version; <ide> <del> if (armv === '6') <del> return multipliers.seven * ms; // ARMv6 <del> <ide> if (armv === '7') <ide> return multipliers.two * ms; // ARMv7 <ide> <ide><path>test...
14
Text
Text
add shisama to collaborators
a49b672aad41e5f81a87d3df3d97589f031903e7
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Nikolai Vavilov** &lt;vvnicholas@gmail.com&gt; <ide> * [shigeki](https://github.com/shigeki) - <ide> **Shigeki Ohtsu** &lt;ohtsu@ohtsu.org&gt; (he/him) <add>* [shisama](https://github.com/shisama) - <add>**Masashi Hirano...
1
Python
Python
add as_uri method to azure block blob backend
fc689bde77415a04740501a9ff097a15e0529f17
<ide><path>celery/backends/azureblockblob.py <ide> __all__ = ("AzureBlockBlobBackend",) <ide> <ide> LOGGER = get_logger(__name__) <add>AZURE_BLOCK_BLOB_CONNECTION_PREFIX = 'azureblockblob://' <ide> <ide> <ide> class AzureBlockBlobBackend(KeyValueStoreBackend): <ide> def __init__(self, <ide> self._read_timeou...
2
Javascript
Javascript
fix linter errors
a46740261a773882d52ead11f3533ac29b759570
<ide><path>spec/tree-sitter-language-mode-spec.js <ide> describe('TreeSitterLanguageMode', () => { <ide> 'template_substitution > "}"': 'interpolation' <ide> }, <ide> injectionRegExp: 'javascript', <del> injectionPoints: [HTML_TEMPLATE_LITERAL_INJECTION_POINT, JSDOC_INJECTION_PO...
1
Javascript
Javascript
remove unnecessary quotes from minerr_url
91e139e52a0a9d2d47337c46c8bd9e04e7466358
<ide><path>lib/grunt/utils.js <ide> module.exports = { <ide> '--language_in ECMASCRIPT5_STRICT ' + <ide> '--minerr_pass ' + <ide> '--minerr_errors ' + errorFileName + ' ' + <del> '--minerr_url \'http://docs.angularjs.org/minerr/\' ' + <add> '--minerr_url http://...
1
PHP
PHP
remove useless space
71647bb8b9f2a0ac9e98cde496751f52a660fb00
<ide><path>src/Illuminate/Html/FormBuilder.php <ide> public function submit($value = null, $options = array()) <ide> */ <ide> public function button($value = null, $options = array()) <ide> { <del> if ( ! array_key_exists('type', $options) ) <add> if ( ! array_key_exists('type', $options)) <ide> { <ide> $opt...
1
Python
Python
apply suggestions from code review
9f9a34843016faea897cd591a5c4c104fa68c883
<ide><path>numpy/_globals.py <ide> def __repr__(self): <ide> class _CopyMode(enum.Enum): <ide> """ <ide> An enumeration for the copy modes supported <del> by numpy. The following three modes are supported, <add> by numpy.copy() and numpy.array(). The following three modes are supported, <ide> <ide> -...
1
Ruby
Ruby
add a failing test so we can make it happy again
53737eadd6ee69b81f50029908502fa43dc9fe95
<ide><path>activerecord/test/callbacks_test.rb <ide> def before_destroy <ide> end <ide> end <ide> <add>class CallbackCancellationDeveloper < ActiveRecord::Base <add> set_table_name 'developers' <add> def before_create <add> false <add> end <add>end <add> <ide> class CallbacksTest < Test::Unit::TestCase <ide> ...
1
Ruby
Ruby
ensure consistent timezone management
7ee76b85d5372f4c85e9947495ae4eeaa91436a5
<ide><path>Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb <ide> module MacOSZipExtension <ide> <ide> sig { override.params(unpack_dir: Pathname, basename: Pathname, verbose: T::Boolean).returns(T.untyped) } <ide> def extract_to_dir(unpack_dir, basename:, verbose:) <del> if merge_xattrs && con...
2
Python
Python
add bloom fixes for contrastive search
938cb04789afe44169fba3866bfc1d4a3eacd8ee
<ide><path>src/transformers/generation/utils.py <ide> def _expand_inputs_for_generation( <ide> <ide> return input_ids, model_kwargs <ide> <del> @staticmethod <del> def _extract_past_from_model_output(outputs: ModelOutput): <add> def _extract_past_from_model_output(self, outputs: ModelOutput, standard...
3
Ruby
Ruby
use subdirs to avoid checking for .ds_store
a3312d24a3457d3613ded1ad3db0dc7c794e8c2f
<ide><path>Library/Homebrew/formula.rb <ide> def to_hash <ide> end <ide> <ide> if rack.directory? <del> rack.children.each do |keg| <del> next if keg.basename.to_s == '.DS_Store' <add> rack.subdirs.each do |keg| <ide> tab = Tab.for_keg keg <ide> <ide> hsh["installed"] << {
1
Ruby
Ruby
remove unnecessary '|| {}'
93a85ce333db35b96a70ad02418db8866d89fc08
<ide><path>activerecord/lib/active_record/associations/collection_association.rb <ide> def insert_record(record, validate = true) <ide> def build_record(attributes, options) <ide> record = reflection.build_association <ide> record.assign_attributes(scoped.scope_for_create, :without_protectio...
1
Go
Go
add build tests covering extraction in chroot
e4ba82d50ee4642412a1e1bdf43a7b94fadd2428
<ide><path>integration-cli/docker_cli_build_test.go <ide> RUN cat /existing-directory-trailing-slash/test/foo | grep Hi` <ide> logDone("build - ADD tar") <ide> } <ide> <add>func TestBuildAddTarXz(t *testing.T) { <add> name := "testbuildaddtarxz" <add> defer deleteImages(name) <add> <add> ctx := func() *FakeContext { ...
2
PHP
PHP
fix the "testasseturlnorewrite" test
5a6f1259e34273eae8a28cb2aa4e8a5a58547e23
<ide><path>lib/Cake/Test/Case/View/HelperTest.php <ide> public function testAssetUrlNoRewrite() { <ide> 'here' => '/cake_dev/index.php/tasks', <ide> )); <ide> $result = $this->Helper->assetUrl('img/cake.icon.png', array('fullBase' => true)); <del> $this->assertEquals('http://localhost/cake_dev/app/webroot/img/c...
1
Javascript
Javascript
add gesture handling for the card stack
caac52095260beabd7038ec82a93847cc38b3f04
<ide><path>Examples/UIExplorer/NavigationExperimental/NavigationCardStackExample.js <ide> 'use strict'; <ide> <ide> const NavigationExampleRow = require('./NavigationExampleRow'); <add>const NavigationRootContainer = require('NavigationRootContainer'); <ide> const React = require('react-native'); <ide> <ide> const { ...
6
Text
Text
add translation kr/threejs-indexed-textures.md
c99ad7363cb220d8851dd818f5b33c31f5b477b5
<ide><path>threejs/lessons/kr/threejs-indexed-textures.md <add>Title: 피킹과 색상에 인덱스 텍스처 사용하기 <add>Description: 인덱스 텍스처를 사용해 피킹을 구현하고, 색상을 정하는 법을 알아봅니다 <add>TOC: 피킹과 색상에 인덱스 텍스처 사용하기 <add> <add>※ 이 글은 [HTML 요소를 3D로 정렬하기](threejs-align-html-elements-to-3d.html)에서 이어집니다. 이전 글을 읽지 않았다면 먼저 읽고 오기 바랍니다. <add> <add> <add>Three.j...
1
Text
Text
update doc about default `cache_store` [ci skip]
5d3320933584b1ebd3c46a0bab9af5c2ba8a5f16
<ide><path>guides/source/configuring.md <ide> These configuration methods are to be called on a `Rails::Railtie` object, such <ide> * `config.beginning_of_week` sets the default beginning of week for the <ide> application. Accepts a valid week day symbol (e.g. `:monday`). <ide> <del>* `config.cache_store` configures w...
1
Python
Python
migrate the swao plugin to psutil 2.0
7c75dc66d4790958579ba6bd49c9d700273346bb
<ide><path>glances/plugins/glances_memswap.py <ide> def msg_curse(self, args=None): <ide> ret.append(self.curse_add_line(msg)) <ide> msg = "{0}".format(format(self.auto_unit(self.stats['used'], '>6'))) <ide> ret.append(self.curse_add_line( <del> msg, self.get_alert_log(self.stats['use...
1
Python
Python
add doc about `attention_mask` on gpt2
74814574aeab5256ab3c6e428c247739aa0c869d
<ide><path>src/transformers/models/gpt2/modeling_gpt2.py <ide> class GPT2DoubleHeadsModelOutput(ModelOutput): <ide> - 1 for tokens that are **not masked**, <ide> - 0 for tokens that are **masked**. <ide> <add> If `past_key_values` is used, `attention_mask` needs to contain the maskin...
2
Text
Text
add a theme-variables.md doc
a595378850d10c670f667914567a8b5e7c3ddc31
<ide><path>docs/creating-a-package.md <ide> the command palette (`cmd-p`) and search for _styleguide_ or just <ide> `cmd-ctrl-shift-g`. <ide> <ide> If you do need styling, we try to keep only structural styles in the package <del>stylesheets. Colors and sizing should be taken from the active theme's <del>[ui-variables...
2
Python
Python
add dag_state to cli
032d64874dceabb912b6a836a9e3f7c18b3e66ba
<ide><path>airflow/bin/cli.py <ide> from airflow import jobs, settings, utils <ide> from airflow import configuration <ide> from airflow.executors import DEFAULT_EXECUTOR <del>from airflow.models import DagBag, TaskInstance, DagPickle, DagRun <add>from airflow.models import DagModel, DagBag, TaskInstance, DagPickle, Da...
3
Java
Java
expose current cached session count
0865abef83fedd24a48812e96a336301fba9fbed
<ide><path>spring-jms/src/main/java/org/springframework/jms/connection/CachingConnectionFactory.java <ide> /* <del> * Copyright 2002-2020 the original author or authors. <add> * Copyright 2002-2021 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> *...
1
Javascript
Javascript
add regression coverage for [closes ]
447b29466ef7bd0692627340b52ffbb565813040
<ide><path>packages/ember-handlebars/tests/loader_test.js <del>var originalLookup = Ember.lookup, lookup, Tobias; <add>var originalLookup = Ember.lookup, lookup, Tobias, App, view; <ide> <ide> module("test Ember.Handlebars.bootstrap", { <ide> setup: function() { <ide> module("test Ember.Handlebars.bootstrap", { <ide...
1
Go
Go
remove loopback setup for native driver
18ef3cc24a933cbf403c2aaf8b374cfc84a722a4
<ide><path>pkg/libcontainer/nsinit/mount.go <ide> func setupNewMountNamespace(rootfs string, bindMounts []libcontainer.Mount, cons <ide> if err := copyDevNodes(rootfs); err != nil { <ide> return fmt.Errorf("copy dev nodes %s", err) <ide> } <del> // In non-privileged mode, this fails. Discard the error. <del> setupL...
1
Ruby
Ruby
add support for reply-to field in mail_to helper
fecbed6fb136a2f951633bd5b9632e75cc46f804
<ide><path>actionview/lib/action_view/helpers/url_helper.rb <ide> def link_to_if(condition, name, options = {}, html_options = {}, &block) <ide> # * <tt>:body</tt> - Preset the body of the email. <ide> # * <tt>:cc</tt> - Carbon Copy additional recipients on the email. <ide> # * <tt>:bcc</tt> - Blind C...
2
PHP
PHP
add an `is` method to the arr class
70f1a5ddbaa213650f69d665fcf55d1eb7175084
<ide><path>src/Illuminate/Support/Arr.php <ide> public static function first($array, callable $callback, $default = null) <ide> return value($default); <ide> } <ide> <add> /** <add> * Determine whether the given value is array-like. <add> * <add> * @param mixed $value <add> * @return b...
2
Python
Python
add dag_state option in cli
9db00511da22c731d10cdc4ea40942c77b1b4008
<ide><path>airflow/bin/cli.py <ide> def task_state(args): <ide> print(ti.current_state()) <ide> <ide> <add>def dag_state(args): <add> """ <add> Returns the state of a DagRun at the command line. <add> <add> >>> airflow dag_state tutorial 2015-01-01T00:00:00.000000 <add> running <add> """ <add> d...
3
Javascript
Javascript
fix style in path.js
6063ea62dfef7dff10b850a5bc8258a2d0df30f6
<ide><path>lib/path.js <del> <ide> function validPathPart (p, keepBlanks) { <ide> return typeof p === "string" && (p || keepBlanks); <ide> } <ide> <add> <ide> exports.join = function () { <ide> var args = Array.prototype.slice.call(arguments); <ide> // edge case flag to switch into url-resolve-mode <ide> exports...
1
Java
Java
remove duplicate notificationlite
b195ff8aba9239c716f89aed3f7b8f840db3385f
<ide><path>rxjava-core/src/main/java/rx/subjects/AsyncSubject.java <ide> public static <T> AsyncSubject<T> create() { <ide> @Override <ide> public void call(SubjectObserver<T> o) { <ide> Object v = state.get(); <del> o.accept(v, state.nl); <del> Noti...
1
Ruby
Ruby
fix typo in documentation
103a31391b50e930b6cded6e73f721d0b4868697
<ide><path>actionpack/lib/action_dispatch/routing/url_for.rb <ide> def initialize(*) <ide> super <ide> end <ide> <del> # Hook overriden in controller to add request information <add> # Hook overridden in controller to add request information <ide> # with `default_url_options`. Application...
2
Ruby
Ruby
insert questionable syntax hack
745a1312dce936ddd519c2e151e889459243c543
<ide><path>Library/Homebrew/cmd/pull.rb <ide> def verify_bintray_published(formulae_names) <ide> # We're in the cache; make sure to force re-download <ide> while true do <ide> begin <del> retry_count <add> retry_count = retry_count <ide> curl url, "-o", filena...
1
Ruby
Ruby
use keyword argument in the find_in_batches api
f4e8d67367c7670ac5bbc75f001cd5c2b2deed30
<ide><path>activerecord/lib/active_record/relation/batches.rb <ide> module Batches <ide> # <ide> # NOTE: You can't set the limit either, that's used to control <ide> # the batch sizes. <del> def find_each(options = {}) <add> def find_each(start: nil, batch_size: 1000) <ide> if block_given? <del>...
1
Text
Text
remove the phrase as well
de499d6775efb433ff6b6ffb3503f67e18b54ee9
<ide><path>guides/source/active_job_basics.md <ide> NOTE: Using the asynchronous queue from a Rake task (for example, to <ide> send an email using `.deliver_later`) will generally not work because Rake will <ide> likely end, causing the in-process thread pool to be deleted, before any/all <ide> of the `.deliver_later` ...
1
Java
Java
remove unused imports
4368719476f08aa5a2b5ba6e92e2f7079837ae7f
<ide><path>local-cli/templates/HelloWorld/android/app/src/main/java/com/helloworld/MainApplication.java <ide> package com.helloworld; <ide> <ide> import android.app.Application; <del>import android.util.Log; <ide> <ide> import com.facebook.react.ReactApplication; <del>import com.facebook.react.ReactInstanceManager; <...
1
Text
Text
update atom banner in readme
b39454059e142ae84a9837270ae30d9ebec96875
<ide><path>README.md <del># Atom — Futuristic Text Editing <add># Atom — Futuristic Text Editing <ide> <del>![atomic](http://schlich.com/images/atomic-energy-lab.gif) <add>![atom](http://f.cl.ly/items/3h1L1O333p1d0W3D2K3r/atom-sketch.jpg) <ide> <ide> ## Building from source <ide> <ide> Requirements <ide> <ide> **M...
1
Javascript
Javascript
remove unused variables form http tests
abe8a344a5c00d25dd8a7b4a77085a2c29a5c0c6
<ide><path>test/parallel/test-http-1.0-keep-alive.js <ide> 'use strict'; <ide> var common = require('../common'); <del>var assert = require('assert'); <ide> var http = require('http'); <ide> var net = require('net'); <ide> <ide><path>test/parallel/test-http-304.js <ide> 'use strict'; <ide> var common = require('../com...
29
Text
Text
add fs declarations to stream doc js examples
755d805bf471423631fb8320b223298c88a61969
<ide><path>doc/api/stream.md <ide> Calling the [`stream.write()`][stream-write] method after calling <ide> <ide> ```js <ide> // write 'hello, ' and then end with 'world!' <add>const fs = require('fs'); <ide> const file = fs.createWriteStream('example.txt'); <ide> file.write('hello, '); <ide> file.end('world!'); <ide> ...
1
Javascript
Javascript
make promise usage nicer without mixing
9f8959d4607ba675dec5985412a874aa488d9e58
<ide><path>packages/ember-runtime/lib/mixins/deferred.js <ide> var get = Ember.get, <ide> @namespace Ember <ide> @extends Ember.Mixin <ide> */ <del>Ember.Deferred = Ember.Mixin.create({ <del> <add>Ember.DeferredMixin = Ember.Mixin.create({ <ide> /** <ide> Add handlers to be called when the Deferred object is...
5
Mixed
Ruby
return a hash rather than array from fetch_multi
c046e60965d6a9af9083579bcc7d52ca650d885f
<ide><path>activesupport/CHANGELOG.md <add>* Change the signature of `fetch_multi` to return a hash rather than an <add> array. This makes it consistent with the output of `read_multi`. <add> <add> *Parker Selbert* <add> <ide> * Introduce `Concern#class_methods` as a sleek alternative to clunky <ide> `mod...
3
Mixed
Javascript
add mediaevent handlers for video/audio components
bdf377ff021b8d1dfabde302f7e4398e394939d4
<ide><path>docs/docs/ref-05-events.md <ide> Number deltaX <ide> Number deltaY <ide> Number deltaZ <ide> ``` <add> <add>### Media Events <add> <add>Event names: <add> <add>``` <add>onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause ...
5