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
move event things around
125d1a19a211c51d5ee52ec0c1cc1f538eb44d5c
<ide><path>packages/react-dom/src/client/ReactDOMComponent.js <ide> import { <ide> listenToReactEvent, <ide> mediaEventTypes, <ide> listenToNonDelegatedEvent, <del>} from '../events/DOMModernPluginEventSystem'; <add>} from '../events/DOMPluginEventSystem'; <ide> import {getEventListenerMap} from './ReactDOMCompon...
29
Java
Java
fix issue with failing test from previous commit
5a365074c2bddb3e4517ec5eceb39d4e6ca85b56
<ide><path>spring-orm/src/main/java/org/springframework/orm/hibernate3/support/OpenSessionInViewFilter.java <ide> protected void doFilterInternal( <ide> closeSession(sessionHolder.getSession(), sessionFactory); <ide> } <ide> else { <del> if (!chain.pop()) { <add> if (chain.isAsyncStarted()) { <ide>...
1
Ruby
Ruby
remove unnecessary comment
bd9953f11e8e72f8a8a507182d7328f3c8802e27
<ide><path>railties/test/generators/assets_generator_test.rb <ide> require 'generators/generators_test_helper' <ide> require 'rails/generators/rails/assets/assets_generator' <ide> <del># FIXME: Silence the 'Could not find task "using_coffee?"' message in tests due to the public stub <ide> class AssetsGeneratorTest < R...
1
Javascript
Javascript
add type checking to makecallback()
1f40b2a63616efe0e4c0744a1f630161526e4236
<ide><path>lib/fs.js <ide> function maybeCallback(cb) { <ide> // for callbacks that are passed to the binding layer, callbacks that are <ide> // invoked from JS already run in the proper scope. <ide> function makeCallback(cb) { <del> if (typeof cb !== 'function') { <add> if (cb === undefined) { <ide> return rethr...
2
Text
Text
remove gpt2 in readme
886cb59ae7cf106f8cb5314df21593a2c8631ff5
<ide><path>official/nlp/README.md <ide> model weights, usage scripts and conversion utilities for the following models: <ide> <ide> * [XLNet](xlnet) <ide> <del>* GPT2 (comming soon) <del> <ide> * [Transformer for translation](../transformer)
1
Javascript
Javascript
restore apply as a fallback
9f32ac807b0e32f242d8960df80dadc77f65ab96
<ide><path>packages/ember-metal/lib/logger.js <ide> function consoleMethod(name) { <ide> logToConsole = method.bind(consoleObj); <ide> logToConsole.displayName = 'console.' + name; <ide> return logToConsole; <add> } else if (typeof method.apply === 'function') { <add> logToConsole = function()...
1
Java
Java
fix failing tests
ce69855274e93b436c378e808f746f0d1cc2e538
<ide><path>spring-web/src/main/java/org/springframework/web/method/annotation/ExceptionHandlerMethodResolver.java <ide> public boolean hasExceptionMappings() { <ide> * @return a Method to handle the exception, or {@code null} if none found <ide> */ <ide> public Method resolveMethod(Exception exception) { <del> re...
1
Ruby
Ruby
use a separate class for gnu compiler failures
4580d86809095a236839d1de55e47e5dc98b7987
<ide><path>Library/Homebrew/compilers.rb <ide> def major_version <ide> end <ide> <ide> class CompilerFailure <del> attr_reader :name, :major_version <add> attr_reader :name <ide> attr_rw :cause, :version <ide> <ide> # Allows Apple compiler `fails_with` statements to keep using `build` <ide> def self.create(spec...
1
Text
Text
add credit to committer of pull request
a774354dfea6dfe9b0caff2ab1df52a1f73716be
<ide><path>activemodel/CHANGELOG.md <ide> <ide> * Trim down Active Model API by removing `valid?` and `errors.full_messages` *José Valim* <ide> <del>* When `^` or `$` are used in the regular expression provided to `validates_format_of` and the :multiline option is not set to true, an exception will be raised. Thi...
1
Python
Python
set version to v3.0.4
3b911ee5ef2240919b66a0ce55a5d387ceb6f904
<ide><path>spacy/about.py <ide> # fmt: off <ide> __title__ = "spacy" <del>__version__ = "3.0.3" <add>__version__ = "3.0.4" <ide> __download_url__ = "https://github.com/explosion/spacy-models/releases/download" <ide> __compatibility__ = "https://raw.githubusercontent.com/explosion/spacy-models/master/compatibility.json"...
1
Python
Python
add ent_id and norm to docbin strings
fe3a4aa846dcfde51eb3343cd04560da2b5ba705
<ide><path>spacy/tests/serialize/test_serialize_doc.py <ide> def test_serialize_doc_span_groups(en_vocab): <ide> <ide> <ide> def test_serialize_doc_bin(): <del> doc_bin = DocBin(attrs=["LEMMA", "ENT_IOB", "ENT_TYPE"], store_user_data=True) <add> doc_bin = DocBin(attrs=["LEMMA", "ENT_IOB", "ENT_TYPE", "NORM", "E...
2
PHP
PHP
apply fixes from styleci
fcbc27782447c2baf938b808bc4bc49b5e45ccd3
<ide><path>src/Illuminate/Foundation/Console/Presets/Preset.php <ide> protected static function updatePackages() <ide> <ide> file_put_contents( <ide> base_path('package.json'), <del> json_encode($packages, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT) . PHP_EOL <add> json_encode...
1
PHP
PHP
update message for phpunit3.6
99caa98df3beeec080654ef31eee7d363e9e7018
<ide><path>lib/Cake/Console/Command/TestsuiteShell.php <ide> public function getOptionParser() { <ide> ))->addOption('fixture', array( <ide> 'help' => __d('cake_console', 'Choose a custom fixture manager.'), <ide> ))->addOption('debug', array( <del> 'help' => __d('cake_console', 'More verbose output.'), <add> ...
1
Ruby
Ruby
fix legacy fallback for parameterized mailers
5d6578d15bb5d3bfe3751a6493b9e3fe99618408
<ide><path>actionmailer/lib/action_mailer/parameterized.rb <ide> def enqueue_delivery(delivery_method, options = {}) <ide> if processed? <ide> super <ide> else <del> job = @mailer_class.delivery_job <add> job = delivery_job_class <ide> args = arguments...
3
Ruby
Ruby
add record class to error message
5c03aff4fc9905a5e3134492a62bdda741f19390
<ide><path>activerecord/lib/active_record/persistence.rb <ide> def verify_readonly_attribute(name) <ide> <ide> def _raise_record_not_destroyed <ide> @_association_destroy_exception ||= nil <del> raise @_association_destroy_exception || RecordNotDestroyed.new("Failed to destroy the record", self) <add> ...
2
Javascript
Javascript
prevent unnecessary re-renders
b0f18cacc78a027b3411ed36d12a7991c4f5cc9c
<ide><path>client/src/templates/Challenges/classic/Editor.js <ide> class Editor extends Component { <ide> <ide> // TODO: tabs should be dynamically created from the challengeFiles <ide> // TODO: a11y fixes. <add> // TODO: is the key necessary? Try switching themes without it. <ide> return ( <ide> ...
1
Text
Text
add changelogs for zlib
adcd0bd9b457668930e0d5105426929a9b1b8fbd
<ide><path>doc/api/zlib.md <ide> Compression strategy. <ide> ## Class Options <ide> <!-- YAML <ide> added: v0.11.1 <add>changes: <add> - version: v5.11.0 <add> pr-url: https://github.com/nodejs/node/pull/6069 <add> description: The `finishFlush` option is supported now. <ide> --> <ide> <ide> <!--type=misc--> <i...
1
Javascript
Javascript
move free socket error handling to agent
2bf02285a39550ef85bb5f3d7fe13655ff44dcf1
<ide><path>lib/_http_agent.js <ide> class ReusedHandle { <ide> } <ide> } <ide> <add>function freeSocketErrorListener(err) { <add> const socket = this; <add> debug('SOCKET ERROR on FREE socket:', err.message, err.stack); <add> socket.destroy(); <add> socket.emit('agentRemove'); <add>} <add> <ide> function Agent(o...
2
Ruby
Ruby
show casks in install not found output
a481729ade5f3c2be9980a3b4259bdc61d37e275
<ide><path>Library/Homebrew/cmd/install.rb <ide> def install <ide> # formula was found, but there's a problem with its implementation). <ide> $stderr.puts e.backtrace if Homebrew::EnvConfig.developer? <ide> ofail e.message <del> rescue FormulaOrCaskUnavailableError => e <del> if e.name == "updog" <add> ...
3
Javascript
Javascript
resolve promise in test
33e63fe64f238227481b83fc401a1a2371013995
<ide><path>test/addons-napi/test_promise/test.js <ide> common.crashOnUnhandledRejection(); <ide> test_promise.concludeCurrentPromise(Promise.resolve('chained answer'), true); <ide> } <ide> <del>assert.strictEqual(test_promise.isPromise(test_promise.createPromise()), true); <add>const promiseTypeTestPromise = test_pr...
1
PHP
PHP
update pluralizer.php
769ccaebc520a84f59ba62d8639b75f5081c03cf
<ide><path>src/Illuminate/Support/Pluralizer.php <ide> class Pluralizer <ide> 'emoji', <ide> 'equipment', <ide> 'fish', <add> 'furniture', <ide> 'gold', <ide> 'information', <ide> 'knowledge', <ide> class Pluralizer <ide> 'species', <ide> 'swine', <...
1
PHP
PHP
add missing parent calls
72c3059d94702e51555a10cad8c0707f85488b4a
<ide><path>lib/Cake/Test/Case/BasicsTest.php <ide> class BasicsTest extends CakeTestCase { <ide> * @return void <ide> */ <ide> public function setUp() { <add> parent::setUp(); <ide> App::build(array( <ide> 'Locale' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Locale' . DS) <ide> )); <del> $this->_langua...
28
Javascript
Javascript
remove unused callback argument
d2ea4cf0ed82ff2ecc42f67e286249e9ec8fe049
<ide><path>test/sequential/test-http-max-http-headers.js <ide> const test2 = common.mustCall(() => { <ide> client.resume(); <ide> }); <ide> <del> finished(client, common.mustCall((err) => { <add> finished(client, common.mustCall(() => { <ide> server.close(test3); <ide> })); <ide> }));
1
Text
Text
use https for codesniffer shield
fd4f8fc7d5009dfa5b0f366797cb2d2282449d8e
<ide><path>README.md <ide> [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.txt) <ide> [![Build Status](https://img.shields.io/travis/cakephp/cakephp/master.svg?style=flat-square)](https://travis-ci.org/cakephp/cakephp) <ide> [![Coverage Status](https://img.shiel...
1
PHP
PHP
add constants to check the type of association
f3b4fdef1a60cb471cebb15facc5835db942a400
<ide><path>Cake/ORM/Association.php <ide> abstract class Association { <ide> */ <ide> const STRATEGY_SELECT = 'select'; <ide> <add> const ONE_TO_ONE = 'oneToOne'; <add> <add> const ONE_TO_MANY = 'oneToMany'; <add> <add> const MANY_TO_MANY = 'manyToMany'; <add> <ide> /** <ide> * Name given to the association, it usu...
3
Python
Python
replace assignment with augmented assignment
9f36d12693475031e9875256d6a9810dcd952889
<ide><path>glances/plugins/glances_wifi.py <ide> def msg_curse(self, args=None, max_width=None): <ide> hotspotname = i['ssid'] <ide> # Add the encryption type (if it is available) <ide> if i['encrypted']: <del> hotspotname = hotspotname + ' {}'.format(i['encryption_typ...
1
Go
Go
remove collections package
31f0a61a3dfabe363d08d4ff55e8a1efb29d84eb
<ide><path>pkg/collections/orderedintset.go <del>package collections <del> <del>import ( <del> "sort" <del> "sync" <del>) <del> <del>// OrderedIntSet is a thread-safe sorted set and a stack. <del>type OrderedIntSet struct { <del> sync.Mutex <del> set []int <del>} <del> <del>// NewOrderedSet returns an initialized Order...
2
PHP
PHP
remove option that no longer works
378a10673362eb36c3f392f0baea9c55fa1d988a
<ide><path>src/View/Helper/FormHelper.php <ide> public function inputs($fields = null, $blacklist = null, $options = array()) { <ide> * <ide> * - `type` - Force the type of widget you want. e.g. `type => 'select'` <ide> * - `label` - Either a string label, or an array of options for the label. See FormHelper::label(...
1
Ruby
Ruby
fix flakey tests in insert_all_test.rb
d890142dd9d2d5ed89c12eff027091ee80b581fd
<ide><path>activerecord/test/cases/insert_all_test.rb <ide> def test_upsert_all_respects_updated_at_precision_when_touched_implicitly <ide> skip unless supports_insert_on_duplicate_update? && supports_datetime_with_precision? <ide> <ide> Book.insert_all [{ id: 101, name: "Out of the Silent Planet", published_o...
1
Javascript
Javascript
improve yellowbox output format
eae4fe810f43266ee54a3bb89558621324d7a326
<ide><path>Libraries/ReactNative/YellowBox.js <ide> function sprintf(format, ...args) { <ide> return format.replace(/%s/g, match => args[index++]); <ide> } <ide> <del>function updateWarningMap(format, ...args): void { <add>function updateWarningMap(...args): void { <ide> if (console.disableYellowBox) { <ide> r...
1
Javascript
Javascript
add meta.fixable to fixable lint rules
ee0b44fd93fa695e902a725cbe3da2f18c032c55
<ide><path>tools/eslint-rules/async-iife-no-unused-result.js <ide> const message = <ide> '(e.g. with `.then(common.mustCall())`)'; <ide> <ide> module.exports = { <add> meta: { <add> fixable: 'code' <add> }, <ide> create: function(context) { <ide> let hasCommonModule = false; <ide> return { <ide><path>...
8
PHP
PHP
build http queries with rfc3986
ba6535590535a089473a78509d6814cf185682ca
<ide><path>src/Illuminate/Http/Request.php <ide> public function fullUrlWithQuery(array $query) <ide> $question = $this->getBaseUrl().$this->getPathInfo() == '/' ? '/?' : '?'; <ide> <ide> return count($this->query()) > 0 <del> ? $this->url().$question.http_build_query(array_merge($this->quer...
7
Python
Python
fix a bug in evaluating accuracy
fefb70b217af9d9a5de780873db218fffaaf9544
<ide><path>examples/mnist_siamese_graph.py <ide> def create_base_network(input_dim): <ide> def compute_accuracy(predictions, labels): <ide> '''Compute classification accuracy with a fixed threshold on distances. <ide> ''' <del> return labels[predictions.ravel() < 0.5].mean() <add> return np.mean(labels ==...
1
Ruby
Ruby
add clt clang for 10.13
08cee5a0d5dfb1bcdd71630a43b2218fc11142fe
<ide><path>Library/Homebrew/os/mac/xcode.rb <ide> def latest_version <ide> # on the older supported platform for that Xcode release, i.e there's no <ide> # CLT package for 10.11 that contains the Clang version from Xcode 8. <ide> case MacOS.version <add> when "10.13" then "900.0.22.8" <id...
1
Ruby
Ruby
make part of bash error regex optional
1a32ba3d2bdc43d38d7aaece9ea87947745a4d87
<ide><path>Library/Homebrew/test/system_command_spec.rb <ide> it "unsets them" do <ide> expect { <ide> command.run! <del> }.to raise_error(/C: parameter null or not set/) <add> }.to raise_error(/C: parameter (null or )?not set/) <ide> end <ide> end <ide>
1
Python
Python
resolve line-too-long in models
f0fc6f798937a7a5fdab469c0f16bdde7cfc4ccd
<ide><path>keras/models/cloning.py <ide> def _clone_functional_model(model, input_tensors=None, layer_fn=_clone_layer): <ide> to build the model upon. If not provided, <ide> placeholders will be created. <ide> layer_fn: callable to be applied on non-input layers in the model. By <del> ...
3
Javascript
Javascript
evaluate arguments in function's scope
f22fffdd4709c069ca00401854dad898cdf2b22e
<ide><path>lib/Parser.js <ide> class Parser extends Tapable { <ide> } <ide> <ide> walkForInStatement(statement) { <del> if (statement.left.type === "VariableDeclaration") <add> if (statement.left.type === "VariableDeclaration") { <ide> this.walkVariableDeclaration(statement.left); <del> else this.walkPattern(s...
1
Ruby
Ruby
remove unecesarry exception variable
2b9e04b6f9b21087a8b44c4b3758d0b3ae1e7e12
<ide><path>activestorage/lib/active_storage/service/azure_storage_service.rb <ide> def upload(key, io, checksum: nil) <ide> instrument :upload, key, checksum: checksum do <ide> begin <ide> blobs.create_block_blob(container, key, io, content_md5: checksum) <del> rescue Azure::Core::Http::HTTPError...
1
Ruby
Ruby
use file.dirname in most cleaner tests
0d818645971a59527c4205408c9f2f49afb12a6e
<ide><path>Library/Homebrew/test/cleaner_spec.rb <ide> it "removes '.la' files" do <ide> file = f.lib/"foo.la" <ide> <del> f.lib.mkpath <add> file.dirname.mkpath <ide> touch file <ide> <ide> cleaner.clean <ide> it "removes 'perllocal' files" do <ide> file = f.lib/"perl5/darwi...
1
Python
Python
use apache.spark provider without kubernetes
f9c9e9c38f444a39987478f3d1a262db909de8c4
<ide><path>airflow/providers/apache/spark/hooks/spark_submit.py <ide> <ide> try: <ide> from airflow.kubernetes import kube_client <del>except ImportError: <add>except (ImportError, NameError): <ide> pass <ide> <ide>
1
Text
Text
add v3.28.0-beta.5 to changelog
55d012c49bb6af87b9f0841457c1380f0006292d
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.28.0-beta.5 (June 14, 2021) <add> <add>- [#19597](https://github.com/emberjs/ember.js/pull/19597) [BUGFIX] Fix `<LinkTo>` with nested children <add> <ide> ### v3.28.0-beta.4 (June 7, 2021) <ide> <ide> - [#19586](https://github.com/emberjs/ember.js/pull...
1
Go
Go
simplify code to make function more readable
a6379399818402be12b9d29e343d348031cbe62f
<ide><path>daemon/exec.go <ide> func (d *Daemon) ExecExists(name string) (bool, error) { <ide> // with the exec instance is stopped or paused, it will return an error. <ide> func (d *Daemon) getExecConfig(name string) (*exec.Config, error) { <ide> ec := d.execCommands.Get(name) <add> if ec == nil { <add> return nil, ...
1
PHP
PHP
resolve ambiguous column names for sqlite
010bbc6764f26576a4c42f47aa4a68ca14d9f213
<ide><path>lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php <ide> public function testJoinsAfterFind() { <ide> <ide> $User->Article = $Article; <ide> $User->find('first', array( <del> 'fields' => array('User.*', 'Article.*'), <add> 'fields' => array( <add> 'Article.id', <add> 'Article.user_id', <add...
1
Javascript
Javascript
use passive flag to schedule onpostcommit
8b2d3783e58d1acea53428a10d2035a8399060fe
<ide><path>packages/react-reconciler/src/ReactFiberBeginWork.new.js <ide> import { <ide> ContentReset, <ide> DidCapture, <ide> Update, <add> Passive, <ide> Ref, <ide> Deletion, <ide> ForceUpdateForLegacySuspense, <ide> function updateProfiler( <ide> renderLanes: Lanes, <ide> ) { <ide> if (enableProfile...
3
Java
Java
add shortcuts for elements with no annotations
1733d0111d1fb0b253b0085be9347d269548bac4
<ide><path>spring-core/src/main/java/org/springframework/core/annotation/AnnotatedElementUtils.java <ide> public static boolean isAnnotated(AnnotatedElement element, final String annotat <ide> Assert.notNull(element, "AnnotatedElement must not be null"); <ide> Assert.hasLength(annotationName, "annotationName must n...
1
Python
Python
improve trapz docstring
dbed464aa31069a90637a540cc464e6a59feec30
<ide><path>numpy/lib/function_base.py <ide> def _trapz_dispatcher(y, x=None, dx=None, axis=None): <ide> <ide> @array_function_dispatch(_trapz_dispatcher) <ide> def trapz(y, x=None, dx=1.0, axis=-1): <del> """ <add> r""" <ide> Integrate along the given axis using the composite trapezoidal rule. <ide> <del> ...
1
Java
Java
fix exception mock request builder
0eeb6717e09a81e58ba206fce3176b9b22f23f44
<ide><path>spring-test-mvc/src/main/java/org/springframework/test/web/servlet/request/MockHttpServletRequestBuilder.java <ide> public final MockHttpServletRequest buildRequest(ServletContext servletContext) <ide> <ide> for (Entry<String, List<String>> entry : this.uriComponents.getQueryParams().entrySet()) { <ide> ...
2
Javascript
Javascript
fix import path
9a72fea4854f1a12dbd81b7779afd77f99331b7e
<ide><path>packages/ember-glimmer/tests/integration/helpers/closure-action-test.js <ide> import run from 'ember-metal/run_loop'; <ide> import { computed } from 'ember-metal/computed'; <ide> import isEnabled from 'ember-metal/features'; <ide> import { subscribe, unsubscribe } from 'ember-metal/instrumentation'; <del>imp...
1
Text
Text
put release script specifics in details
d71b467bbe8ffa5cacb54ff70b7329256b7f9c0a
<ide><path>doc/guides/releases.md <ide> $ ./tools/release.sh -i ~/.ssh/node_id_rsa <ide> <ide> `tools/release.sh` will perform the following actions when run: <ide> <add><details> <add> <ide> **a.** Select a GPG key from your private keys. It will use a command similar <ide> to: `gpg --list-secret-keys` to list your ...
1
Python
Python
add missing "self" parameter to class method
b5b1c111c4bdb813f89636912d2668fd0e1dffb3
<ide><path>celery/backends/cassandra.py <ide> def __init__(self, servers=None, keyspace=None, column_family=None, <ide> <ide> self._column_family = None <ide> <del> def _retry_on_error(func): <add> def _retry_on_error(self, func): <ide> def wrapper(*args, **kwargs): <ide> self = args...
1
Text
Text
add reactfoo 2017 to list of upcoming conferences
7e297e9b20d75ee9cc39aadf7e83133af1869881
<ide><path>docs/community/conferences.md <ide> September 8-10 in Tel Aviv, Israel <ide> <ide> [Website](http://react-next.com/) - [Twitter](https://twitter.com/ReactNext) <ide> <add>### ReactFoo 2017 <add>September 14 in Bangalore, India <add> <add>[Website](https://reactfoo.in/2017/) <add> <ide> ### React Boston 201...
1
Python
Python
remove unnecessary test skips
65add6679d5eebe5c8baadb02b4c105da388e0e5
<ide><path>rest_framework/compat.py <ide> The `compat` module provides support for backwards compatibility with older <ide> versions of Django/Python, and compatibility wrappers around optional packages. <ide> """ <del>import sys <del> <ide> from django.conf import settings <ide> from django.views.generic import View <...
2
Go
Go
remove ipopt as it's no longer used
21dac5e441d608260e700984fd6219753f038b28
<ide><path>opts/ip.go <del>package opts // import "github.com/docker/docker/opts" <del> <del>import ( <del> "fmt" <del> "net" <del>) <del> <del>// IPOpt holds an IP. It is used to store values from CLI flags. <del>type IPOpt struct { <del> *net.IP <del>} <del> <del>// NewIPOpt creates a new IPOpt from a reference net.I...
2
Mixed
Javascript
add isdisturbed helper
4832d1c02c8caf3269c5e3f7bfe750f65885c34c
<ide><path>doc/api/stream.md <ide> added: v11.4.0 <ide> Is `true` if it is safe to call [`readable.read()`][stream-read], which means <ide> the stream has not been destroyed or emitted `'error'` or `'end'`. <ide> <add>##### `readable.readableAborted` <add><!-- YAML <add>added: REPLACEME <add>--> <add> <add>> Stability...
8
Javascript
Javascript
simplify function process.emitwarning
d01a06a916efd30844e1e0a38e79dc0054fc4451
<ide><path>lib/internal/process/warning.js <ide> function writeToFile(message) { <ide> } <ide> <ide> function doEmitWarning(warning) { <del> return () => process.emit('warning', warning); <add> process.emit('warning', warning); <ide> } <ide> <ide> let traceWarningHelperShown = false; <ide> function emitWarning(warn...
1
Java
Java
add destinationusernameprovider interface
e4ad2b352e35a0cdbc5d4834f9689a13162c8d19
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/user/DefaultUserDestinationResolver.java <ide> protected boolean checkDestination(String destination, String requiredPrefix) { <ide> return true; <ide> } <ide> <del> protected String getTargetDestination(String origDestination, String targ...
5
Javascript
Javascript
emit errors on close whilst async action
5795e835a1021abdf803e1460501487adbac8d7c
<ide><path>lib/_tls_wrap.js <ide> function loadSession(self, hello, cb) { <ide> if (err) <ide> return cb(err); <ide> <add> if (!self._handle) <add> return cb(new Error('Socket is closed')); <add> <ide> // NOTE: That we have disabled OpenSSL's internal session storage in <ide> // `node_crypto....
2
Text
Text
fix boolean error in form helpers guide
8efd634cabd1ce876a7c1770b120ffaa87d70098
<ide><path>guides/source/form_helpers.md <ide> end <ide> <ide> ### Preventing Empty Records <ide> <del>It is often useful to ignore sets of fields that the user has not filled in. You can control this by passing a `:reject_if` proc to `accepts_nested_attributes_for`. This proc will be called with each hash of attribu...
1
PHP
PHP
fix an error when no options are provided
d669082f8beb602b8c2cd53d20ec45c8e33693cf
<ide><path>lib/Cake/Routing/Router.php <ide> public static function promote($which = null) { <ide> * a list of query string parameters. <ide> * @return string Full translated URL with base path. <ide> */ <del> public static function url($url = null, $options = false) { <add> public static function url($url = null,...
2
PHP
PHP
fix a bunch of failing tests/errors
dd02aeec159f6e91d6be2628d9eeccc91ffdb4a6
<ide><path>lib/Cake/Console/Command/Task/ExtractTask.php <ide> public function execute() { <ide> $this->_extractCore = strtolower($response) === 'y'; <ide> } <ide> <del> if (!empty($this->params['exclude-plugins']) && $this->_isExtractingApp()) { <del> $this->_exclude = array_merge($this->_exclude, App::path('...
13
Javascript
Javascript
avoid bind and properly clean up in compat
0d762af48ea4cc298d59724ef5c9d06ff2c6a066
<ide><path>lib/internal/http2/compat.js <ide> const { <ide> } = require('internal/errors').codes; <ide> const { kSocket } = require('internal/http2/util'); <ide> <del>const kFinish = Symbol('finish'); <ide> const kBeginSend = Symbol('begin-send'); <ide> const kState = Symbol('state'); <ide> const kStream = Symbol('str...
1
Ruby
Ruby
rename outdated_keg to linked_keg
710db1fb720adcbb93bcf51f5f14f3dcb970a96a
<ide><path>Library/Homebrew/formula_installer.rb <ide> def install_dependency(dep, inherited_options) <ide> df = dep.to_formula <ide> tab = Tab.for_formula(df) <ide> <del> outdated_keg = Keg.new(df.linked_keg.realpath) if df.linked_keg.directory? <add> linked_keg = Keg.new(df.linked_keg.realpath) if df.l...
1
PHP
PHP
rearrange check order
2e12e8ac272699172bbc928c3f203202dc8fa855
<ide><path>src/Illuminate/Database/Query/Builder.php <ide> protected function invalidOperatorAndValue($operator, $value) <ide> { <ide> $isOperator = in_array($operator, $this->operators); <ide> <del> return $isOperator && ! in_array($operator, ['=', '<>', '!=']) && is_null($value); <add> retu...
1
Text
Text
add corsearch to in the wild
b7692098918aa2c9f4124bd2710fa673f4c5eb40
<ide><path>INTHEWILD.md <ide> Currently, **officially** using Airflow: <ide> 1. [Compass](https://www.compass.com) [[@wdhorton](https://github.com/wdhorton)] <ide> 1. [ConnectWise](https://www.connectwise.com/) [[@jacobeturpin](https://github.com/jacobeturpin)] <ide> 1. [ContaAzul](https://www.contaazul.com) [[@bern4rd...
1
Python
Python
add tests for yandex hook
a6b04d7b9a6117c66e8b586fe9fd2a955827a0e7
<ide><path>tests/providers/yandex/hooks/test_yandex.py <add># <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 fi...
2
Javascript
Javascript
mover vector3 legacy code
80bfa452412ab24774c9268fb3f71fa9408586cc
<ide><path>src/Three.Legacy.js <ide> Object.defineProperties( THREE.Box3.prototype, { <ide> } <ide> } ); <ide> <add>// <add> <add>Object.defineProperties( THREE.Vector3.prototype, { <add> setEulerFromRotationMatrix: { <add> value: function () { <add> console.error( 'THREE.Vector3: .setEulerFromRotationMatrix() has...
2
Python
Python
add compatibility for py-cpuinfo 7.0.0 or higher
ca8e2c3a94279646655a2f78cb9a598e8b758ed3
<ide><path>glances/plugins/glances_quicklook.py <ide> def update(self): <ide> stats['cpu_name'] = cpu_info.get('brand', 'CPU') <ide> if 'hz_actual_raw' in cpu_info: <ide> stats['cpu_hz_current'] = cpu_info['hz_actual_raw'][0] <add> elif 'hz_actual' ...
1
PHP
PHP
apply fixes from styleci
06ddd7c7f350d4b4b9cfacf04b87d57f76c7d909
<ide><path>src/Illuminate/Database/Eloquent/Relations/MorphTo.php <ide> protected function gatherKeysByType($type, $keyType) <ide> return $keyType !== 'string' <ide> ? array_keys($this->dictionary[$type]) <ide> : array_map(function ($modelId) { <del> ...
1
Text
Text
add whitlockjc to collaborators
e6f6f347744e30dbbfbcde9fc2ce3fde450108cd
<ide><path>README.md <ide> information about the governance of the Node.js project, see <ide> * [thlorenz](https://github.com/thlorenz) - **Thorsten Lorenz** &lt;thlorenz@gmx.de&gt; <ide> * [tunniclm](https://github.com/tunniclm) - **Mike Tunnicliffe** &lt;m.j.tunnicliffe@gmail.com&gt; <ide> * [vkurchatkin](https://git...
1
PHP
PHP
fix reflection exceptions
c6e8357e19b10a800df8a67446f23310f4e83d1f
<ide><path>src/Illuminate/Routing/Router.php <ide> public function gatherRouteMiddleware(Route $route) <ide> return true; <ide> } <ide> <add> if (! class_exists($name)) { <add> return false; <add> } <add> <ide> $reflection = new ReflectionCla...
1
Text
Text
add packages list for archlinux [ci skip]
1565821c3432b5723909bf8b3b08d4230efa42f6
<ide><path>guides/source/development_dependencies_install.md <ide> If you are on Fedora or CentOS, you can run <ide> $ sudo yum install libxml2 libxml2-devel libxslt libxslt-devel <ide> ``` <ide> <add>If you are running Arch Linux, you're done with: <add> <add>```bash <add>$ sudo pacman -S lixml2 libxslt <add>``` <add...
1
Go
Go
update testupdatepidslimit to be more atomic
1101568fa11cb00d8f8de3ff8953c581c351928f
<ide><path>integration/container/update_linux_test.go <ide> import ( <ide> "testing" <ide> "time" <ide> <del> "github.com/docker/docker/api/types" <ide> containertypes "github.com/docker/docker/api/types/container" <ide> "github.com/docker/docker/client" <ide> "github.com/docker/docker/integration/internal/contai...
2
Python
Python
add node_use_openssl check to install.py
471aa19ffa5f61d3f50fa6566b283c7ee0e9d74a
<ide><path>tools/install.py <ide> def headers(action): <ide> if 'false' == variables.get('node_shared_libuv'): <ide> subdir_files('deps/uv/include', 'include/node/', action) <ide> <del> if 'false' == variables.get('node_shared_openssl'): <add> if 'true' == variables.get('node_use_openssl') and \ <add> 'fal...
1
Ruby
Ruby
fix relocation of frameworks
06634edab7f5dee0904cc779ef8c2c109815766c
<ide><path>Library/Homebrew/keg_relocate.rb <ide> class Keg <ide> PREFIX_PLACEHOLDER = "".freeze <ide> CELLAR_PLACEHOLDER = "".freeze <ide> <add> # Matches framework references like `XXX.framework/Versions/YYY/XXX` and <add> # `XXX.framework/XXX`, both with or without a slash-delimited prefix. <add> FRAMEWORK_R...
1
PHP
PHP
fix cluster resolution
f21ab706def178635410b2a17a9bee38e4bf2f9b
<ide><path>src/Illuminate/Redis/Connectors/PhpRedisConnector.php <ide> class PhpRedisConnector <ide> * @param array $config <ide> * @param array $clusterOptions <ide> * @param array $options <del> * @return \Illuminate\Redis\PredisConnection <add> * @return \Illuminate\Redis\PhpRedisConnect...
3
Javascript
Javascript
prefer textcontent to innertext
309a88bcf62c1c64a2b91c0eb753c19209a425b2
<ide><path>src/dom/getTextContentAccessor.js <ide> var contentKey = null; <ide> */ <ide> function getTextContentAccessor() { <ide> if (!contentKey && ExecutionEnvironment.canUseDOM) { <del> contentKey = 'innerText' in document.createElement('div') ? <del> 'innerText' : <del> 'textContent'; <add> // P...
1
Ruby
Ruby
remove unused constant
c937ddb5cec87168c4eb0d6c3030f771e80c2e72
<ide><path>actionpack/lib/action_controller/metal/renderers.rb <ide> module All <ide> extend ActiveSupport::Concern <ide> include Renderers <ide> <del> INCLUDED = [] <ide> included do <ide> self._renderers = RENDERERS <del> INCLUDED << self <ide> end <ide> end <ide>
1
Javascript
Javascript
display possible circular compiler dependencies
ccaca5fa17e6efdfd43cfa1735423ddb923a52b3
<ide><path>lib/MultiCompiler.js <ide> module.exports = class MultiCompiler extends Tapable { <ide> validateDependencies(callback) { <ide> const edges = []; <ide> const missing = []; <add> const sortEdges = (e1, e2) => { <add> return e1.source.name.localeCompare(e2.source.name) || <add> e1.target.name.localeC...
1
Python
Python
add werkzeug to flask --version
3fd51c65fb4774b10848715b62ec284a0b86a6b1
<ide><path>flask/cli.py <ide> from functools import update_wrapper <ide> from operator import attrgetter <ide> from threading import Lock, Thread <add>import werkzeug <ide> <ide> import click <ide> from werkzeug.utils import import_string <ide> def locate_app(script_info, module_name, app_name, raise_if_not_found=True...
1
Javascript
Javascript
add missing import. fixes
3952ae4683616f7a2e0be4c11229185ad40ade1f
<ide><path>src/layout/chord.js <ide> import "../arrays/range"; <ide> import "../math/trigonometry"; <add>import "layout"; <ide> <ide> d3.layout.chord = function() { <ide> var chord = {}, <ide><path>test/layout/chord-test.js <add>var vows = require("vows"), <add> load = require("../load"), <add> assert = requir...
2
Text
Text
remove the specific timing from the readme
d01a7239339760ef410ca689aead1de0ba438a6a
<ide><path>resnet/README.md <ide> bazel-bin/resnet/resnet_main --train_data_path=cifar10/data_batch* \ <ide> --dataset='cifar10' \ <ide> --num_gpus=1 <ide> <del># Note that training takes about 5 hours on a K40 GPU, but the training script will not produce any ...
1
Javascript
Javascript
fix odd grammar in api docs
e569f8fc4d82fd340b4752ae6764047fbbfe989a
<ide><path>src/dock.js <ide> module.exports = class Dock { <ide> return this.paneContainer.getTextEditors() <ide> } <ide> <del> // Essential: Get the active item if it is an {TextEditor}. <add> // Essential: Get the active item if it is a {TextEditor}. <ide> // <del> // Returns an {TextEditor} or `undefined...
1
Javascript
Javascript
remove references to cache
27a6f36738ef4b1c9809ea8681dd3ab1d32990b3
<ide><path>src/file-system-blob-store.js <ide> class FileSystemBlobStore { <ide> constructor (directory) { <ide> this.inMemoryBlobs = new Map() <ide> this.blobFilename = path.join(directory, 'BLOB') <del> this.mapFilename = path.join(directory, 'MAP') <add> this.blobMapFilename = path.join(directory, 'M...
2
Text
Text
fix reactiflux url
d715e134478a0ddec1581dd8298f270813b507fd
<ide><path>.github/SUPPORT.md <ide> If you'd like to discuss topics related to the future of React Native, please ch <ide> <ide> If you want to participate in casual discussions about the use of React Native, consider participating in one of the following forums: <ide> <del>- [Reactiflux Discord Server](https://www.r...
1
Java
Java
add putifabsent on cache abstraction
3e74d3b2fbea16c55805b9b73c182bdc02e70b83
<ide><path>spring-context-support/src/main/java/org/springframework/cache/ehcache/EhCacheCache.java <ide> * <ide> * @author Costin Leau <ide> * @author Juergen Hoeller <add> * @author Stephane Nicoll <ide> * @since 3.1 <ide> */ <ide> public class EhCacheCache implements Cache { <ide> public final Ehcache getNative...
12
Javascript
Javascript
preserve object prototypes when cloning
51be3447170fc648c3b5bc3002c963be62bccdf9
<ide><path>src/helpers/helpers.core.js <ide> export function clone(source) { <ide> } <ide> <ide> if (isObject(source)) { <del> const target = {}; <add> const target = Object.create(source); <ide> const keys = Object.keys(source); <ide> const klen = keys.length; <ide> let k = 0; <ide><path>test/specs/helpers....
2
Javascript
Javascript
fix missing param in url benchmark
e7913e450ce5b94f95379c0e7f0ed9dd9da7c6c9
<ide><path>test/parallel/test-benchmark-url.js <ide> runBenchmark('url', <ide> 'to=ascii', <ide> 'prop=href', <ide> 'n=1', <add> 'param=one' <ide> ], <ide> { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
1
PHP
PHP
add deprecations for controller
0eee967d26437bb5679766418a9a166088ff91ad
<ide><path>src/Controller/Component/AuthComponent.php <ide> public function initialize(array $config) <ide> $this->setEventManager($controller->getEventManager()); <ide> $this->response =& $controller->response; <ide> $this->session = $controller->request->getSession(); <add> <add> if ($t...
7
Javascript
Javascript
support custom types
dbd85a08d9274689973aa24e4c4e4d7ee669c913
<ide><path>packages/legacy-events/ReactSyntheticEventType.js <ide> import type {EventPriority} from 'shared/ReactTypes'; <ide> import type {TopLevelType} from './TopLevelEventTypes'; <ide> <ide> export type DispatchConfig = {| <del> dependencies: Array<TopLevelType>, <del> phasedRegistrationNames?: {| <del> bubbl...
6
Javascript
Javascript
allow longer time to connect
c4c9614e9611c3693c2a86c4231c929e2bc49490
<ide><path>lib/internal/inspector/_inspect.js <ide> class NodeInspector { <ide> this.stdout.write(' ok\n'); <ide> }, (error) => { <ide> debuglog('connect failed', error); <del> // If it's failed to connect 10 times then print failed message <del> if (connectionAtt...
1
Text
Text
add table header in intl.md
0ac2d0fafd2ce9aa451802f8b53d7d809939c1da
<ide><path>doc/api/intl.md <ide> in [BUILDING.md][]. <ide> An overview of available Node.js and JavaScript features for each `configure` <ide> option: <ide> <del>| | `none` | `system-icu` | `small-icu` | `full-icu` | <add>| F...
1
Java
Java
fix view translations in android
b12117a03847f8ead4a202c863a0000abe6abd34
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java <ide> public void setScaleY(T view, float scaleY) { <ide> @Deprecated <ide> @ReactProp(name = PROP_TRANSLATE_X, defaultFloat = 1f) <ide> public void setTranslateX(T view, float translateX) { <del> view.setTranslationX(trans...
1
Ruby
Ruby
reduce allocations in dependency construction
b32202033881d93849f4c44a837389e8a9d450ef
<ide><path>Library/Homebrew/dependency.rb <ide> class Dependency <ide> <ide> attr_reader :name, :tags <ide> <del> def initialize(name, *tags) <add> def initialize(name, tags=[]) <ide> @name = name <del> @tags = tags.flatten.compact <add> @tags = tags <ide> end <ide> <ide> def to_s <ide><path>Librar...
9
Python
Python
reduce timeout in test canvas
c57100beb179621f4f8f4f33098d0d748ad54a0e
<ide><path>t/integration/test_canvas.py <ide> def is_retryable_exception(exc): <ide> return isinstance(exc, RETRYABLE_EXCEPTIONS) <ide> <ide> <del>TIMEOUT = 120 <add>TIMEOUT = 60 <add> <add> <add>flaky = pytest.mark.flaky(reruns=5, reruns_delay=1, cause=is_retryable_exception) <ide> <ide> <ide> class test_link_...
2
Javascript
Javascript
add more info to invalid hook call error message
2b93d686e359c7afa299e2ec5cf63160a32a1155
<ide><path>packages/react-debug-tools/src/__tests__/ReactHooksInspection-test.js <ide> describe('ReactHooksInspection', () => { <ide> expect(() => { <ide> ReactDebugTools.inspectHooks(Foo, {}, FakeDispatcherRef); <ide> }).toThrow( <del> 'Hooks can only be called inside the body of a function componen...
10
Python
Python
fix t5 error message
783b0dd5891174922ff6bc9874350063bd9a0135
<ide><path>src/transformers/models/t5/modeling_t5.py <ide> def forward( <ide> if input_ids is not None and inputs_embeds is not None: <ide> err_msg_prefix = "decoder_" if self.is_decoder else "" <ide> raise ValueError( <del> f"You cannot specify both {err_msg_prefix}inputs...
2
Ruby
Ruby
update ruby-macho to 1.2.0
99bf57d366b93dad617246dfe10867b6a34ab2b2
<ide><path>Library/Homebrew/vendor/macho/macho.rb <ide> # The primary namespace for ruby-macho. <ide> module MachO <ide> # release version <del> VERSION = "1.1.0".freeze <add> VERSION = "1.2.0".freeze <ide> <ide> # Opens the given filename as a MachOFile or FatFile, depending on its magic. <ide> # @param filen...
11
Javascript
Javascript
fix ie8 bug
c027289e38dc2d5dfe69920ec91a09e7fc02471c
<ide><path>moment.js <ide> ['YYYY-MM-DD', /\d{4}-\d{2}-\d{2}/], <ide> ['GGGG-[W]WW-E', /\d{4}-W\d{2}-\d/], <ide> ['GGGG-[W]WW', /\d{4}-W\d{2}/], <del> ['YYYY-DDD', /\d{4}-\d{3}/], <add> ['YYYY-DDD', /\d{4}-\d{3}/] <ide> ], <ide> <ide> // iso tim...
2
Javascript
Javascript
execute render after $digest cycle
6f7018d52fa4f9f9c7fa8e3035317d1239efb20f
<ide><path>src/ng/directive/select.js <ide> var selectDirective = ['$compile', '$parse', function($compile, $parse) { <ide> optionsExp = attr.ngOptions, <ide> nullOption = false, // if false, user will not be able to select it (used by ngOptions) <ide> emptyOption, <add> renderS...
1
Text
Text
add badges to the top of readme.md
46bcee0978fe507891a8e3b8892437fafed28c08
<ide><path>README.md <ide> # The Algorithms - Python <!-- [![Build Status](https://travis-ci.org/TheAlgorithms/Python.svg)](https://travis-ci.org/TheAlgorithms/Python) --> <del> <del>[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/TheAlgorithms/100) &nbsp; <del>[![Gitter chat](ht...
1