content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Ruby
Ruby
direct the user to xcode download
76ad14507ce71126d9446e08b99dbbb056bc296b
<ide><path>install_homebrew.rb <ide> def getc # NOTE only tested on OS X <ide> ohai "Installation successful!" <ide> <ide> warn "/usr/local/bin is not in your PATH." unless ENV['PATH'].split(':').include? '/usr/local/bin' <del>warn "Now install Xcode." unless Kernel.system "/usr/bin/which -s gcc" <add>warn "Now insta...
1
Ruby
Ruby
remove trailing whitespace
a2ec6252434c16599407ac91311611b8ee7a1e4f
<ide><path>lib/github_uploader.rb <ide> def authorized? <ide> end <ide> <ide> def token_path <del> File.expand_path(".github-upload-token", @root) <add> File.expand_path(".github-upload-token", @root) <ide> end <ide> <ide> def check_token
1
Python
Python
enable auto_delete for the result queues again
a08d194b3dabfec892b1bb8b110e74058fd8a90e
<ide><path>celery/backends/amqp.py <ide> class ResultPublisher(Publisher): <ide> delivery_mode = conf.RESULT_PERSISTENT and 2 or 1 <ide> serializer = conf.RESULT_SERIALIZER <ide> durable = conf.RESULT_PERSISTENT <del> auto_delete = False <add> auto_delete = True <ide> <ide> def __init__(self, con...
1
PHP
PHP
fix return type
0e7e8e52e9925662774e67ed24dd4f98ffd53cbd
<ide><path>src/Illuminate/Cache/CacheManager.php <ide> protected function createDatabaseDriver(array $config) <ide> * Create an instance of the DynamoDB cache driver. <ide> * <ide> * @param array $config <del> * @return \Illuminate\Cache\DynamoDbStore <add> * @return \Illuminate\Cache\Repositor...
1
Javascript
Javascript
favor === over ==
ae25ed3ccd8e5be2eb172af330f037fc06b4e6c9
<ide><path>benchmark/buffers/buffer-bytelength.js <ide> function main(conf) { <ide> } <ide> <ide> function buildString(str, times) { <del> if (times == 1) return str; <add> if (times === 1) return str; <ide> <ide> return str + buildString(str, times - 1); <ide> } <ide><path>benchmark/crypto/cipher-stream.js <ide>...
7
Text
Text
fix bazel incantations in docs
0f12d4a4188fa7fe4e2fe943d1035eec64a630df
<ide><path>im2txt/README.md <ide> available space for storing the downloaded and processed data. <ide> MSCOCO_DIR="${HOME}/im2txt/data/mscoco" <ide> <ide> # Build the preprocessing script. <del>bazel build im2txt/download_and_preprocess_mscoco <add>cd tensorflow-models/im2txt <add>bazel build //im2txt:download_and_pre...
3
Javascript
Javascript
add currentroutename to applicationcontroller
58adbb5c504f8abe8ae5a7fe293cd97ee749cda6
<ide><path>packages/ember-routing/lib/system/router.js <ide> Ember.Router = Ember.Object.extend({ <ide> var appController = this.container.lookup('controller:application'), <ide> path = Ember.Router._routePath(infos); <ide> <del> if (!('currentPath' in appController)) { <del> defineProperty(appCont...
2
Java
Java
expand the javadocs of the scheduler api
2875fefd28b18c9f54d6b487a976c7bcba7dc98b
<ide><path>src/main/java/io/reactivex/Scheduler.java <ide> <ide> /** <ide> * A {@code Scheduler} is an object that specifies an API for scheduling <del> * units of work with or without delays or periodically. <del> * You can get common instances of this class in {@link io.reactivex.schedulers.Schedulers}. <add> * uni...
2
Python
Python
resolve line-too-long in initializers
cefa783c3b017b7c012bb167d6d4034483e4676c
<ide><path>keras/initializers/__init__.py <ide> def populate_deserializable_objects(): <ide> LOCAL.ALL_OBJECTS["ZerosV2"] = initializers_v2.Zeros <ide> <ide> # Out of an abundance of caution we also include these aliases that have <del> # a non-zero probability of having been included in saved configs in th...
4
PHP
PHP
create relative symlinks by default
bced6d3fac1c081ef4f62dd94277984fc819f9d6
<ide><path>src/Illuminate/Foundation/Console/StorageLinkCommand.php <ide> namespace Illuminate\Foundation\Console; <ide> <ide> use Illuminate\Console\Command; <add>use Symfony\Component\HttpFoundation\Request; <ide> <ide> class StorageLinkCommand extends Command <ide> { <ide> class StorageLinkCommand extends Command ...
1
Ruby
Ruby
allow wildcard entries for launchctl
836efe621fc842ee5b7ff1a42f9b8bcba5020a86
<ide><path>Library/Homebrew/cask/artifact/abstract_uninstall.rb <ide> def uninstall_launchctl(*services, command: nil, **_) <ide> <ide> # if launchctl item contains a wildcard, find matching process(es) <ide> services.each do |service| <del> all_services.push(service) <del> next unles...
1
Python
Python
add simple test for surrounding brackets
487e020ebe4e00bfa3b9ee96e91e99e8d7500299
<ide><path>spacy/tests/tokenizer/test_urls.py <ide> def test_tokenizer_handles_suffixed_url(tokenizer, url, suffix): <ide> assert tokens[1].text == suffix <ide> <ide> <add>@pytest.mark.parametrize("url", URLS) <add>def test_tokenizer_handles_simple_surround_url(tokenizer, url): <add> tokens = tokenizer("(" + u...
1
Javascript
Javascript
improve test for data-uri
dd596ccf729b2f39d44b73bc54b53bd41c880146
<ide><path>test/unit/manipulation.js <ide> test( "Validate creation of multiple quantities of certain elements (#13818)", 4 <ide> <ide> asyncTest( "Insert script with data-URI (gh-1887)", 1, function() { <ide> Globals.register( "testFoo" ); <del> jQuery( "#qunit-fixture" ).append( "<script src=\"data:text/javascript,...
1
Javascript
Javascript
extract $browser.xhr into separate service
5ad0c7d0e4a2aff071d3afb181fa618c982ce991
<ide><path>src/angular-mocks.js <ide> angular.module.ngMock.$Browser = function() { <ide> self.$$lastUrl = self.$$url; // used by url polling fn <ide> self.pollFns = []; <ide> <add> // TODO(vojta): remove this temporary api <add> self.$$completeOutstandingRequest = noop; <add> self.$$incOutstandingRequestCount ...
5
Javascript
Javascript
fix 404 export
fbd933bd2264b63c9035935f8f37d9edabde28f4
<ide><path>server/export.js <ide> export default async function (dir, options, configuration) { <ide> } <ide> <ide> if (page === '/_error') { <del> defaultPathMap['404'] = { page } <add> defaultPathMap['/404'] = { page } <ide> continue <ide> } <ide>
1
Python
Python
use layernorm and selu in tok2vec
3ed203de2504edd2b5470ecfa4ef8a5b2e382b2a
<ide><path>spacy/_ml.py <ide> from thinc.neural._classes.convolution import ExtractWindow <ide> from thinc.neural._classes.static_vectors import StaticVectors <ide> from thinc.neural._classes.batchnorm import BatchNorm <add>from thinc.neural._classes.layernorm import LayerNorm as LN <ide> from thinc.neural._classes.res...
1
Text
Text
add link to developer docs code conventions
c8f5b752bb00e4d83a92e4919ec2688d47b9aada
<ide><path>CONTRIBUTING.md <ide> except: # noqa: E722 <ide> <ide> ### Python conventions <ide> <del>All Python code must be written **compatible with Python 3.6+**. <add>All Python code must be written **compatible with Python 3.6+**. More detailed <add>code conventions can be found in the [developer docs](https://g...
1
Python
Python
fix unicode header in tests
c4be9c36fe969a590e875aaba1d33ce940083967
<ide><path>spacy/tests/regression/test_issue758.py <add>from __future__ import unicode_literals <ide> from ... import load as load_spacy <ide> from ...attrs import LEMMA <ide> from ...matcher import merge_phrase <ide><path>spacy/tests/regression/test_issue995.py <add>from __future__ import unicode_literals <add> <ide> ...
2
PHP
PHP
use viewerrorbag instead of messagebag
38f8a4933543ef9390cfd0e0963359a6ad650e9c
<ide><path>src/Illuminate/View/View.php <ide> use Illuminate\Support\MessageBag; <ide> use Illuminate\Support\Str; <ide> use Illuminate\Support\Traits\Macroable; <add>use Illuminate\Support\ViewErrorBag; <ide> use Throwable; <ide> <ide> class View implements ArrayAccess, Htmlable, ViewContract <ide> public function ne...
2
Python
Python
add some tests to the slow suite
db0b2477ccb5f9ac44ec9656ff95659c58af953c
<ide><path>tests/test_modeling_bigbird_pegasus.py <ide> def test_generate_fp16(self): <ide> model.generate(**input_dict) <ide> model.generate(**input_dict, do_sample=True, early_stopping=False, num_return_sequences=3) <ide> <add> @slow <ide> def test_batched_forward_original_full(self): <ide> ...
2
Ruby
Ruby
remove unused argument
e2f3e0dc50a30c8600df6dc8106dca67d4cd0961
<ide><path>actionpack/test/controller/http_token_authentication_test.rb <ide> def show <ide> private <ide> <ide> def authenticate <del> authenticate_or_request_with_http_token do |token, options| <add> authenticate_or_request_with_http_token do |token, _| <ide> token == 'lifo' <ide> end...
1
Text
Text
fix small typo
c6108afdc7f731c5ca655aa4b1827080b836d42a
<ide><path>docs/docs/05-reusable-components.md <ide> class HelloMessage extends React.Component { <ide> React.render(<HelloMessage name="Sebastian" />, mountNode); <ide> ``` <ide> <del>The API is similar to `React.createClass` with the exception or `getInitialState`. Instead of providing a separate `getInitialState` m...
1
Text
Text
update signature algorithm in release doc
c5fc802abc54ca20e047c727868543c3d8cb4093
<ide><path>doc/releases.md <ide> however. <ide> computer. <ide> <ide> **e.** Sign the `SHASUMS256.txt` file using a command similar to: `gpg <del>--default-key YOURKEY --clearsign /path/to/SHASUMS256.txt`. You will be prompted <del>by GPG for your password. The signed file will be named `SHASUMS256.txt.asc`. <add>--de...
1
Python
Python
set version to v3.0.0rc5
e8674c5c42412d79ad4942113c74c047981f8288
<ide><path>spacy/about.py <ide> # fmt: off <ide> __title__ = "spacy-nightly" <del>__version__ = "3.0.0rc4" <add>__version__ = "3.0.0rc5" <ide> __download_url__ = "https://github.com/explosion/spacy-models/releases/download" <ide> __compatibility__ = "https://raw.githubusercontent.com/explosion/spacy-models/master/compa...
1
Java
Java
fix failing tests from reactor snapshot changes
d49a7a105d0b4a19abce778d128f35d3452e558d
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/result/method/SyncInvocableHandlerMethod.java <ide> public ParameterNameDiscoverer getParameterNameDiscoverer() { <ide> public HandlerResult invokeForHandlerResult(ServerWebExchange exchange, <ide> BindingContext bindingContext, Object... prov...
2
Python
Python
factorize some code using contextdecorator
191d953c99b2b437370612fb63b1247a4f543e5e
<ide><path>django/db/transaction.py <del>from functools import wraps <del> <ide> from django.db import ( <ide> connections, DEFAULT_DB_ALIAS, <ide> DatabaseError, Error, ProgrammingError) <del>from django.utils.decorators import available_attrs <add>from django.utils.decorators import ContextDecorator <ide> <i...
3
Text
Text
fix worker.resourcelimits type
c8ca99f7ab2f01bc1eff729a543e39d05d2aa775
<ide><path>doc/api/worker_threads.md <ide> When this function is used, no `'message'` event will be emitted and the <ide> added: v13.2.0 <ide> --> <ide> <del>* {Object|undefined} <add>* {Object} <ide> * `maxYoungGenerationSizeMb` {number} <ide> * `maxOldGenerationSizeMb` {number} <ide> * `codeRangeSizeMb` {numbe...
1
Python
Python
fix an error message in bigbird
5bc779ae287bf6940cdcfb2616b38d8776bab87f
<ide><path>src/transformers/models/big_bird/modeling_big_bird.py <ide> def torch_gather_b2(params, indices): <ide> if params.shape[:2] != indices.shape[:2]: <ide> raise ValueError( <ide> "Make sure that the first two dimensions of params and indices are identical, but...
2
Ruby
Ruby
use ternary instead of inline rescue
e92a87179a2f90d8a43731b67adcd0b0b104a0eb
<ide><path>Library/Homebrew/tab.rb <ide> def self.for_formula f <ide> def self.dummy_tab f=nil <ide> attributes = { <ide> :used_options => [], <del> :unused_options => (f.options.as_flags rescue []), <add> :unused_options => f ? f.options.as_flags : [], <ide> :built_as_bottle => false, <ide>...
1
Java
Java
fix issue with subscribe destination
1200755125f97c2f1035586081645bb244b06304
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/user/UserDestinationMessageHandler.java <ide> public void handleMessage(Message<?> message) throws MessagingException { <ide> } <ide> if (SimpMessageType.MESSAGE.equals(SimpMessageHeaderAccessor.getMessageType(message.getHeaders()))) { <id...
4
Python
Python
add place-holder for doc.glossary
9ad992f74222d99ed2f66c5e3e9a2a90cdc31cd2
<ide><path>numpy/doc/reference/glossary.py <add>""" <add> <add>================= <add>Glossary <add>================= <add> <add>Place-holder for a glossary. <add> <add>"""
1
Python
Python
calculate gst amount
d33f9b31fe96acf5201c39f565015444526a3e38
<ide><path>financial/price_plus_tax.py <add>""" <add>Calculate price plus tax of a good or service given its price and a tax rate. <add>""" <add> <add> <add>def price_plus_tax(price: float, tax_rate: float) -> float: <add> """ <add> >>> price_plus_tax(100, 0.25) <add> 125.0 <add> >>> price_plus_tax(125.50, ...
1
Text
Text
add build status from travis (#4)
95b5c479fc19a37465515b20bf1624853a91d87b
<ide><path>README.md <ide> ## freeCodeCamp Curriculum <ide> <add>[![Build Status](https://travis-ci.org/freeCodeCamp/curriculum.svg?branch=master)](https://travis-ci.org/freeCodeCamp/curriculum) <add> <ide> This package contains the "seed" files used in the freeCodeCamp Curriculum. <ide> <ide> ### Installation <ide> ...
1
Go
Go
increase concucrrent query limit
088c3cafb28355ff128092cc7f8fee7b1f443d2e
<ide><path>libnetwork/resolver.go <ide> const ( <ide> maxExtDNS = 3 //max number of external servers to try <ide> extIOTimeout = 4 * time.Second <ide> defaultRespSize = 512 <del> maxConcurrent = 50 <add> maxConcurrent = 100 <ide> logInterval = 2 * time.Second <ide> maxDNSID = 65536 <ide> ) ...
2
Javascript
Javascript
add filehandle sync() and datasync() tests
71ca076ca74b4e371c74c72d9556352adee654f6
<ide><path>test/parallel/test-fs-promises-file-handle-sync.js <add>'use strict'; <add>const common = require('../common'); <add>const assert = require('assert'); <add>const fixtures = require('../common/fixtures'); <add>const tmpdir = require('../common/tmpdir'); <add> <add>const { access, copyFile, open } = require('f...
1
Javascript
Javascript
update dynamicimport default, add test case
b254f350a7179d058704dc1226a34ac48b2f5c2f
<ide><path>lib/config/defaults.js <ide> const applyOutputDefaults = ( <ide> ); <ide> F(output.environment, "forOf", () => tp && optimistic(tp.forOf)); <ide> F(output.environment, "bigIntLiteral", () => tp && tp.bigIntLiteral); <del> F(output.environment, "dynamicImport", () => tp && tp.dynamicImport); <add> F( <add>...
5
Javascript
Javascript
fix more forwardref displaynames
d1336ab16efc26449509b938dd46cf606d3caf34
<ide><path>Libraries/Components/ActivityIndicator/ActivityIndicator.js <ide> type Props = $ReadOnly<{| <ide> * See http://facebook.github.io/react-native/docs/activityindicator.html <ide> */ <ide> const ActivityIndicator = ( <del> props: $ReadOnly<{| <del> ...Props, <del> forwardedRef?: ?React.Ref<'RCTActivity...
3
Java
Java
add methods to (un)register handlermethod mappings
8f558e7c73fd885676a3e9bfe77c9c24da59f30a
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMethodMapping.java <ide> import java.util.Map; <ide> import java.util.Set; <ide> import java.util.concurrent.ConcurrentHashMap; <add>import java.util.concurrent.locks.ReentrantReadWriteLock; <ide> <ide> import javax.servlet.S...
2
Text
Text
fix typo in threejs-scenegraph (#137)
48a6b71bc3212c22bf34267de7d0d5e030e80e28
<ide><path>threejs/lessons/threejs-scenegraph.md <ide> objects.push(earthMesh); <ide> <ide> Again we added more invisible scene graph nodes. The first, an `Object3D` called `earthOrbit` <ide> and added both the `earthMesh` and the `moonOrbit` to it, also new. We then added the `mooMesh` <del>to the `moonRobit`. The ne...
1
Python
Python
update error message for missing commands
b297fab062c9655012891f8b1c3da95bec04fc76
<ide><path>spacy/__main__.py <ide> def train_config(self, config): <ide> <ide> <ide> def __missing__(self, name): <del> print("\n Command %r does not exist\n" % name) <add> print("\n Command %r does not exist." <add> "\n Use the --help flag for a list of available commands.\n" % n...
1
Text
Text
fix indentation in console.md
1da88552ea6d7d4fb5b590b86109053419858f30
<ide><path>doc/api/console.md <ide> changes: <ide> * `stdout` {stream.Writable} <ide> * `stderr` {stream.Writable} <ide> * `ignoreErrors` {boolean} Ignore errors when writing to the underlying <del> streams. **Default:** `true`. <add> streams. **Default:** `true`. <ide> * `colorMo...
1
PHP
PHP
remove the context class
b7839662560f55937afcff1e2085c30d89fbe697
<ide><path>Cake/View/Input/Context.php <del><?php <del>/** <del> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <del> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <del> * <del> * Licensed under The MIT License <del> * For full copyright and license information, please see...
3
Javascript
Javascript
add better informations for the os/2 table
e448dce42b0a58830b83b05e16c7ab5f27b9dcd0
<ide><path>fonts.js <ide> var FontLoader = { <ide> } <ide> }; <ide> <add>var UnicodeRanges = [ <add> { "begin": 0x0000, "end": 0x007F }, // Basic Latin <add> { "begin": 0x0080, "end": 0x00FF }, // Latin-1 Supplement <add> { "begin": 0x0100, "end": 0x017F }, // Latin Extended-A <add> { "begin": 0x0180, "end": 0x0...
1
Javascript
Javascript
write pending data of opposite side
b5ddc0cf9658499e04c10b8e3158b81d2be0d5ac
<ide><path>lib/tls.js <ide> CryptoStream.prototype._read = function read(size) { <ide> <ide> // Try writing pending data <ide> if (this._pending !== null) this._writePending(); <add> if (this._opposite._pending !== null) this._opposite._writePending(); <ide> <ide> if (bytesRead === 0) { <ide> // EOF when c...
2
Python
Python
fix param error
4bafc43b0ebf65dc1e9df70c4fe1a81dfa2475cf
<ide><path>src/transformers/models/bert_generation/modeling_bert_generation.py <ide> def load_tf_weights_in_bert_generation( <ide> <ide> <ide> class BertGenerationEmbeddings(nn.Module): <del> """Construct the embeddings from word, position and token_type embeddings.""" <add> """Construct the embeddings from wor...
1
Python
Python
adjust importlib import
daf1d59d0f41d2ea89e0b996d22b5d4e84914fb5
<ide><path>rest_framework/settings.py <ide> from __future__ import unicode_literals <ide> from django.test.signals import setting_changed <ide> from django.conf import settings <del>from django.utils import importlib, six <add>try: <add> import importlib <add>except ImportError: <add> from django.utils import imp...
1
Python
Python
remove duplicate calls to get_output
926883ad108fe23867c29efc8e18687087113b0d
<ide><path>keras/models.py <ide> def compile(self, optimizer, loss, class_mode="categorical", theano_mode=None): <ide> self.y_train = self.get_output(train=True) <ide> self.y_test = self.get_output(train=False) <ide> <del> self.y_train = self.get_output(train=True) <del> self.y_test = sel...
1
Text
Text
add 2.1.0-beta.1 to changelog
647b84dc3819f4b1e48f1fa8b668a529992f9c4a
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### 2.1.0-beta.1 (August 16, 2015) <add> <add>- [#10173](https://github.com/emberjs/ember.js/pull/10173) [BUGFIX] Ensure non-singleton injections are not cached incorrectly. <add>- [#11966](https://github.com/emberjs/ember.js/pull/11966) [PERF] Refactor Meta. ...
1
Text
Text
update changelog for 2.15.0
ec9813ee9f6d6a6fdc5551eb7160f29f10367ad2
<ide><path>CHANGELOG.md <ide> Changelog <ide> ========= <ide> <add>### 2.15.0 [See full changelog](https://gist.github.com/ichernev/10e1c5bf647545c72ca30e9628a09ed3) <add>- Release Sept 12, 2016 <add> <add>## New Locales <add>* [#3255](https://github.com/moment/moment/pull/3255) [new locale] mi: Maori language <add>* ...
1
Javascript
Javascript
clarify documentation for scrollview component
cc1a4b0915f3a5c84d2866b0804f6799c112b755
<ide><path>Libraries/Components/ScrollView/ScrollView.js <ide> const ScrollView = React.createClass({ <ide> */ <ide> pagingEnabled: PropTypes.bool, <ide> /** <del> * When false, the content does not scroll. <add> * When false, the view cannot be scrolled via touch interaction. <ide> * The defa...
1
Javascript
Javascript
fix instructions in 'react-native init'
8c7f36021acb393bab11beaebfb2070ce4ef1b92
<ide><path>local-cli/generator/printRunInstructions.js <ide> var path = require('path'); <ide> <ide> function printRunInstructions(projectDir, projectName) { <ide> const absoluteProjectDir = path.resolve(projectDir); <del> const relativeProjectDir = path.relative(process.cwd(), absoluteProjectDir); <del> // If we'...
1
Text
Text
fix spelling of additionally
f22273a6bbdb466999d3c23c7b90325601116c45
<ide><path>guides/source/security.md <ide> values = { zip: entered_zip_code, qty: entered_quantity } <ide> Model.where("zip_code = :zip AND quantity >= :qty", values).first <ide> ``` <ide> <del>Aditionally, you can split and chain conditionals valid for your use case: <add>Additionally, you can split and chain conditi...
1
Ruby
Ruby
move maintain_test_schema temporarily back to core
0305815eb96c754405e802e36edac4f3032a0a3a
<ide><path>activerecord/lib/active_record.rb <ide> def self.global_executor_concurrency # :nodoc: <ide> singleton_class.attr_accessor :queues <ide> self.queues = {} <ide> <del> singleton_class.attr_accessor :maintain_test_schema <del> self.maintain_test_schema = nil <del> <ide> ## <ide> # :singleton-method: ...
2
Javascript
Javascript
note restriction in toggleclass
d803354d7cda2c4bdf6c3d159ac86657d70432ca
<ide><path>src/jqLite.js <ide> * - [`removeData()`](http://api.jquery.com/removeData/) <ide> * - [`replaceWith()`](http://api.jquery.com/replaceWith/) <ide> * - [`text()`](http://api.jquery.com/text/) <del> * - [`toggleClass()`](http://api.jquery.com/toggleClass/) <del> * - [`triggerHandler()`](http://api.jquery.com...
1
Java
Java
improve assertj usage in cache config tests
5ed0c848fe105b3756f248c98d8c40d85ae2e970
<ide><path>spring-context/src/test/java/org/springframework/cache/config/CacheAdviceParserTests.java <ide> package org.springframework.cache.config; <ide> <ide> import org.junit.jupiter.api.Test; <del> <ide> import org.springframework.beans.factory.BeanDefinitionStoreException; <ide> import org.springframework.context...
4
Java
Java
add @donotstrip to javascriptmodule interfaces
6464ef0a924a6d36e4009053186a71e6a4d84908
<ide><path>ReactAndroid/src/main/java/com/facebook/react/modules/core/DeviceEventManagerModule.java <ide> import android.net.Uri; <ide> import androidx.annotation.NonNull; <ide> import androidx.annotation.Nullable; <add>import com.facebook.proguard.annotations.DoNotStrip; <ide> import com.facebook.react.bridge.Argument...
4
Javascript
Javascript
make read()-based api sync
5eb954f660d4d102aebbb0abb497ed55ca722713
<ide><path>packager/src/node-haste/Module.js <ide> export type ConstructorArgs = { <ide> transformCode: ?TransformCode, <ide> }; <ide> <add>type DocBlock = {+[key: string]: string}; <add> <ide> class Module { <ide> <ide> path: string; <ide> class Module { <ide> _reporter: Reporter; <ide> _globalCache: ?Global...
1
PHP
PHP
use cakesession wrapper
c3e501b2d939f885c525b34e1a123023ab101f3b
<ide><path>lib/Cake/I18n/I18n.php <ide> App::uses('CakePlugin', 'Core'); <ide> App::uses('L10n', 'I18n'); <ide> App::uses('Multibyte', 'I18n'); <add>App::uses('CakeSession', 'Model/Datasource'); <ide> <ide> /** <ide> * I18n handles translation of Text and time format strings. <ide> public static function translate($s...
1
PHP
PHP
update exception type
094378ea3a51ade964d03180b838a5a1ac18ca10
<ide><path>src/Cache/Engine/FileEngine.php <ide> use Cake\Cache\CacheEngine; <ide> use Cake\Core\Configure; <ide> use Cake\Utility\Inflector; <del>use Exception; <add>use LogicException; <ide> <ide> /** <ide> * File Storage engine for cache. Filestorage is the slowest cache storage <ide> protected function _clearDire...
1
Javascript
Javascript
fix saucelabs config for edge and ie
bbaa8aa67546378ad94aa3a71c91d6631e560929
<ide><path>Gruntfile.js <ide> module.exports = function (grunt) { <ide> }, <ide> karma : { <ide> options: { <add> browserNoActivityTimeout: 60000, <add> browserDisconnectTimeout: 10000, <add> browserDisconnectTolerance: 2, <ide> fr...
1
Text
Text
add v3.1.4 to changelog.md
8974f23965dbd38f4ff4497f76e3d28c3ddb3abf
<ide><path>CHANGELOG.md <ide> - [#16462](https://github.com/emberjs/ember.js/pull/16462) [CLEANUP] Remove deprecated `MODEL_FACTORY_INJECTIONS`. <ide> - [emberjs/rfcs#286](https://github.com/emberjs/rfcs/blob/master/text/0286-block-let-template-helper.md) [FEATURE] Enabled block `let` handlebars helper by default. <ide...
1
Python
Python
avoid small positive integers in refcount test
b73f84f3c3782eaacde09ea4f8fb4f6abac338d2
<ide><path>numpy/core/tests/test_dtype.py <ide> def test_structured_object_item_setting(self, dt, pat, count, singleton): <ide> def test_structured_object_indexing(self, shape, index, items_changed, <ide> dt, pat, count, singleton): <ide> """Structured object referenc...
1
Text
Text
add docs about serialization
214209d2da82591f0bbb1ac81b2e6a413fe4819d
<ide><path>docs/internals/serialization.md <add>## Serialization in Atom <add> <add>When a window is refreshed or restored from a previous session, the view and its <add>associated objects are *deserialized* from a JSON representation that was stored <add>during the window's previous shutdown. For your own views and ob...
1
Ruby
Ruby
fix force_homebrew_on_linux behaviour."
9ad37ddc36c8438db97fdb3e4484d724e06eaffe
<ide><path>Library/Homebrew/extend/os/mac/software_spec.rb <ide> # typed: false <ide> # frozen_string_literal: true <ide> <del># The Library/Homebrew/extend/os/software_spec.rb conditional logic will need to be more nuanced <del># if this file ever includes more than `uses_from_macos`. <ide> class SoftwareSpec <ide> ...
2
Java
Java
add debug logging for batched animation operation
d304ca8da60f37792e38ab734975ecfb0a8f8047
<ide><path>ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedModule.java <ide> public void invalidate() { <ide> */ <ide> @Override <ide> public void queueAndExecuteBatchedOperations(final ReadableArray opsAndArgs) { <add> final int opBufferSize = opsAndArgs.size(); <add> <add> if (ANIMAT...
1
Javascript
Javascript
remove var in libraries/utilities/matrixmath.js
368518eff13c1f606db6c995763263a885af20f8
<ide><path>Libraries/Utilities/MatrixMath.js <ide> const MatrixMath = { <ide> ); <ide> <ide> // output values <del> var perspective = []; <add> let perspective = []; <ide> const quaternion = []; <ide> const scale = []; <ide> const skew = []; <ide> const MatrixMath = { <ide> } <ide> co...
1
Mixed
Python
remove the docs tests
80f6738b2af50f9812ae4159e23fc60dcaac7fcf
<ide><path>official/utils/docs/README.md <add># Docs generation scripts for TensorFlow Models <add> <add>The scripts here are used to generate api-reference pages for tensorflow.org. <add> <add>The scripts require tensorflow_docs, which can be installed directly from <add>github: <add> <add>``` <add>$> pip install -U g...
7
Python
Python
add error handling on url fetches
6fddf15f1f04487e098bf47f56d7224d2e82e335
<ide><path>keras/datasets/data_utils.py <ide> from __future__ import print_function <ide> <ide> import tarfile, inspect, os <del>from six.moves.urllib.request import urlretrieve <add>from six.moves.urllib.request import FancyURLopener <ide> <ide> from ..utils.generic_utils import Progbar <ide> <add>class ParanoidURL...
1
Mixed
Javascript
add getprompt to get the current prompt
60a97c0b42433df051fb5b665dcb62c3472a5328
<ide><path>doc/api/readline.md <ide> added: v0.1.98 <ide> The `rl.setPrompt()` method sets the prompt that will be written to `output` <ide> whenever `rl.prompt()` is called. <ide> <add>### `rl.getPrompt()` <add><!-- YAML <add>added: REPLACEME <add>--> <add> <add>* Returns: {string} the current prompt string <add> <ad...
5
Python
Python
remove legacy conv1d -> conv1d downcasing
6f789cc4ba300d261dbe68c12f81074dd239c790
<ide><path>keras/layers/convolutional.py <ide> def convolution_op(self, inputs, kernel): <ide> else: <ide> tf_padding = self.padding <ide> <del> tf_op_name = self.__class__.__name__ <del> if tf_op_name == 'Conv1D': <del> tf_op_name = 'conv1d' # Backwards compat. <del> <ide> return tf.nn.convo...
1
PHP
PHP
update testvalidator due to code style
94484cd78c314625192d5255ad7c5192dfb00a2b
<ide><path>tests/Validation/ValidationValidatorTest.php <ide> public function testValidateEach() <ide> $this->assertTrue($v->passes()); <ide> } <ide> <del> public function testValidateEachWithNonIndexedArray() <del> { <del> $trans = $this->getRealTranslator(); <del> $data = ['foobar' => [ <del> ...
1
Text
Text
add return value to util.promisify
9c44215a91a7d367030eea441e1feea4a95d2ded
<ide><path>doc/api/util.md <ide> added: v8.0.0 <ide> --> <ide> <ide> * `original` {Function} <add>* Returns: {Function} <ide> <ide> Takes a function following the common Node.js callback style, i.e. taking a <ide> `(err, value) => ...` callback as the last argument, and returns a version
1
Ruby
Ruby
remove github packages bulk upload logic
a28dda50629de70454d0ad91f966101310ff7074
<ide><path>Library/Homebrew/dev-cmd/bottle.rb <ide> def bottle_formula(f, args:) <ide> tab_json = Utils.safe_popen_read("tar", "xfO", f.local_bottle_path, tab_path) <ide> tab = Tab.from_file_content(tab_json, tab_path) <ide> <del> # TODO: most of this logic can be removed when we're done with bulk Git...
1
Javascript
Javascript
use es6 classes for elements
4a8a7ee8247c7c69e7e5f0a9388cdeb07e4fc197
<ide><path>src/core/core.animation.js <ide> 'use strict'; <ide> <del>var Element = require('./core.element'); <add>const Element = require('./core.element'); <add>const helpers = require('../helpers/index'); <ide> <del>var exports = Element.extend({ <del> chart: null, // the animation associated chart instance <del> ...
10
Javascript
Javascript
fix throws before timer module is loaded
8f41db6104deca82d74f55501a7f2689357fb45d
<ide><path>src/node.js <ide> <ide> // if we handled an error, then make sure any ticks get processed <ide> } else { <del> var t = setImmediate(process._tickCallback); <add> NativeModule.require('timers').setImmediate(process._tickCallback); <ide> } <ide> <ide> return caught;
1
Javascript
Javascript
reduce hasdata per @gibson042 review notes
fd43865c6d11a8901b2780a57418f652143f250a
<ide><path>src/data.js <ide> Data.prototype = { <ide> hasData: function( owner ) { <ide> var index = Data.index( this.owners, owner ); <ide> <del> if ( index > -1 ) { <del> return !jQuery.isEmptyObject( this.cache[ index ] ); <del> } <del> return false; <add> return index !== -1 && jQuery.isEmptyObject( this....
1
Java
Java
use constant for alignment of right and left
3da695fe88baadfefc4b740efc0e126169dd40ca
<ide><path>ReactAndroid/src/main/java/com/facebook/react/flat/RCTText.java <ide> */ <ide> /* package */ final class RCTText extends RCTVirtualText implements CSSNodeAPI.MeasureFunction { <ide> <add> // index of left and right in the Layout.Alignment enum since the base values are @hide <add> private static final in...
1
Javascript
Javascript
add e2e tests
b9479ee73b6e7a93b2947ab43ad095557db46247
<ide><path>Gruntfile.js <ide> module.exports = function(grunt) { <ide> keepalive: true, <ide> middleware: function(connect, options){ <ide> return [ <del> //uncomment to enable CSP <del> // util.csp(), <add> util.conditionalCsp(), <ide> ...
3
Javascript
Javascript
trim whitespace around an empty currency symbol
62743a54b79187e6c1325c0f6dec0f474147881d
<ide><path>src/ng/filter/filters.js <ide> function currencyFilter($locale) { <ide> fractionSize = formats.PATTERNS[1].maxFrac; <ide> } <ide> <add> // If the currency symbol is empty, trim whitespace around the symbol <add> var currencySymbolRe = !currencySymbol ? /\s*\u00A4\s*/g : /\u00A4/g; <add> <ide...
2
Javascript
Javascript
fix the last fix
02a35148d44010b683a26a99561160269b71063a
<ide><path>src/renderers/WebGLRenderer.js <ide> THREE.WebGLRenderer = function ( parameters ) { <ide> gonnaUse.length = material.numSupportedMorphTargets <ide> } else if (gonnaUse.length > material.numSupportedMorphNormals){ <ide> gonnaUse.sort(sortNumerical); <del> } else if (...
1
Go
Go
add implementation and test for setipforwarding()
80809c42c63cd78fd3e59d4e25cbc99b61fa2855
<ide><path>libnetwork/drivers/bridge/setup.go <ide> func (b *BridgeSetup) QueueStep(step SetupStep) { <ide> func SetupIPTables(i *Interface) error { <ide> return nil <ide> } <del> <del>func SetupIPForwarding(i *Interface) error { <del> return nil <del>} <ide><path>libnetwork/drivers/bridge/setup_ip_forwarding.go <add>...
3
Text
Text
remove broken bit of merge commit
996e58739831659fc78e1d66bdc87deafa727958
<ide><path>docs/topics/release-notes.md <ide> For older release notes, [please see the version 2.x documentation][old-release- <ide> [old-release-notes]: https://github.com/encode/django-rest-framework/blob/version-2.4.x/docs/topics/release-notes.md <ide> [3.6-release]: 3.6-announcement.md <ide> <del>[3.0.1-milestone]...
1
Go
Go
remove runtime options from config
e2779e11db113c5551094dba8079d44d8a210e41
<ide><path>runconfig/config.go <ide> package runconfig <ide> <ide> import ( <del> "encoding/json" <ide> "github.com/dotcloud/docker/engine" <ide> "github.com/dotcloud/docker/nat" <del> "github.com/dotcloud/docker/runtime/execdriver" <ide> ) <ide> <ide> // Note: the Config structure should hold only portable informa...
2
PHP
PHP
add test for expanded attributes
afb74be0b8cf18858bacb107057adac57ca1efa1
<ide><path>tests/TestCase/View/Helper/FormHelperTest.php <ide> public function testRadio() <ide> '/label', <ide> ]; <ide> $this->assertHtml($expected, $result); <add> <add> $result = $this->Form->radio( <add> 'Employee.gender', <add> [ <add> ['valu...
1
Javascript
Javascript
add tests for hotkeys when instruction is clicked
bc4edf518e1c2b2095352e8f6196a23b35ce6ea0
<ide><path>cypress/e2e/default/learn/challenges/multifile.js <ide> const selectors = { <ide> testButton: '[data-cy=run-tests-button]', <ide> monacoTabs: '.monaco-editor-tabs', <ide> signInButton: '#action-buttons-container a[href$="/signin"]', <del> submitButton: '[data-cy=submit-button]' <add> submitButton: '[...
1
PHP
PHP
start multi-checkbox rendering
72b9481a88e1a07b93f9ad166de45d132485a143
<ide><path>src/View/Input/MultiCheckbox.php <add><?php <add>/** <add> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <add> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <add> * <add> * Licensed under The MIT License <add> * For full copyright and license information, pleas...
2
Ruby
Ruby
fix a content_for test description
6f36168ecaa3fd68bfc8b5ead76e32aa8dc51252
<ide><path>actionview/test/template/capture_helper_test.rb <ide> def test_capture_doesnt_escape_twice <ide> assert_equal "&lt;em&gt;bar&lt;/em&gt;", string <ide> end <ide> <del> def test_capture_used_for_read <add> def test_content_for_used_for_read <ide> content_for :foo, "foo" <ide> assert_equal "foo...
1
Python
Python
add subscription extra for clearsdn
e5e1c023d9039503e53827a1a0a98b13281385e1
<ide><path>libcloud/compute/drivers/clearcenter.py <ide> def _get_extra_dict(data): <ide> extra['created_timestamp'] = data['created'][0] <ide> extra['monthly_cost_estimate'] = data['monthly_cost_estimate']['total'] <ide> <add> if data['subscription']: <add> extra['subscription_label'...
1
Text
Text
update react 18's overview
fbfe430cf0d21513eadb7be7e9c05a6ac6d5048a
<ide><path>docs/advanced-features/react-18/overview.md <ide> # React 18 <ide> <del>[React 18](https://reactjs.org/blog/2021/06/08/the-plan-for-react-18.html) adds new features including Suspense, automatic batching of updates, APIs like `startTransition`, and a new streaming API for server rendering with support for `...
2
Python
Python
spellcheck the modules. clarify an example
a4e99a7998a30d8e777510aaa5926b436a844f2b
<ide><path>numpy/polynomial/chebyshev.py <ide> def _cseries_to_zseries(c) : <ide> <ide> Parameters <ide> ---------- <del> c : 1-d ndarray <add> c : 1-D ndarray <ide> Chebyshev coefficients, ordered from low to high <ide> <ide> Returns <ide> ------- <del> zs : 1-d ndarray <add> zs :...
8
Javascript
Javascript
fix broken pipeline test
3140fdcd344648464c0f41e359bd83b65002cb91
<ide><path>test/parallel/test-stream-pipeline.js <ide> const net = require('net'); <ide> dst.readable = false; <ide> pipeline(src, dst, common.mustCall((err) => { <ide> assert(!err); <del> assert.strictEqual(dst.destroyed, true); <add> assert.strictEqual(dst.destroyed, false); <ide> })); <ide> src.end...
1
Python
Python
use list comprehension instead of filter()
42bf5642675feb6d4f3dcce4b8e92bcef42d4684
<ide><path>libcloud/compute/drivers/dimensiondata.py <ide> def _to_image(self, element, locations=None): <ide> if locations is None: <ide> locations = self.list_locations(location_id) <ide> <del> location = filter(lambda x: x.id == location_id, locations)[0] <add> location = [match_lo...
1
Python
Python
fix typo in comment
851ca95778ded1b4b97fa92ddd45ab5b43fdcd90
<ide><path>flask/helpers.py <ide> def flash(message, category='message'): <ide> # session.setdefault('_flashes', []).append((category, message)) <ide> # <ide> # This assumed that changes made to mutable structures in the session are <del> # are always in sync with the session object, which is not tru...
1
Python
Python
allow easy repacking of providers
4e05bbc92557f5eafaa37509387b2fb2b0ab3d4a
<ide><path>dev/provider_packages/prepare_provider_packages.py <ide> # those imports need to come after the above sys.path.insert to make sure that Airflow <ide> # sources are importable without having to add the airflow sources to the PYTHONPATH before <ide> # running the script <del>import tests.deprecated_classes # ...
1
Text
Text
add dunnhumby to inthewild.md
45a49e0f81cc592a4e6a95aa230560530d88a5c8
<ide><path>INTHEWILD.md <ide> Currently, **officially** using Airflow: <ide> 1. [Dotmodus](http://dotmodus.com) [[@dannylee12](https://github.com/dannylee12)] <ide> 1. [Drivy](https://www.drivy.com) [[@AntoineAugusti](https://github.com/AntoineAugusti)] <ide> 1. [Dropbox](https://www.dropbox.com) [[@AlexeySanko](https:...
1
Javascript
Javascript
move ember.typeof to metal
93ccb694a2668fbcc0e82e5cc398cc7975612763
<ide><path>packages/ember-metal/lib/utils.js <ide> require('ember-metal/core'); <ide> require('ember-metal/platform'); <add>require('ember-metal/array'); <ide> <ide> /** <ide> @module ember-metal <ide> if (needsFinallyFix) { <ide> return (finalResult === undefined) ? result : finalResult; <ide> }; <ide> } <add> ...
5
Mixed
Javascript
add labeloffset option to scales
7ee5af81af59e66a2f6e11c04cdb054c8cef934e
<ide><path>docs/01-Scales.md <ide> afterUpdate | Function | undefined | Callback that runs at the end of the update <ide> *gridLines*.zeroLineColor | Color | "rgba(0, 0, 0, 0.25)" | Stroke color of the grid line for the first index (index 0). <ide> *gridLines*.offsetGridLines | Boolean | false | If true, offset labels ...
8
Ruby
Ruby
use the correct route method
d6621cc2659127217c3c4a128f1ba76cf5c231e8
<ide><path>lib/templates/mailboxes/application_mailbox.rb <ide> # frozen_string_literal: true <ide> <ide> class ApplicationMailbox < ActionMailbox::Base <del> # route /something/i => :somewhere <add> # routing /something/i => :somewhere <ide> end
1
Javascript
Javascript
remove unused variable
1b05d7bc86d30d47d021cc37476fb0131490a74b
<ide><path>lib/timers.js <ide> TimerWrap.prototype[kOnTimeout] = function listOnTimeout(now) { <ide> continue; <ide> } <ide> <del> tryOnTimeout(timer, list); <add> tryOnTimeout(timer); <ide> } <ide> <ide> // If `L.peek(list)` returned nothing, the list was either empty or we have <ide> TimerWrap.p...
1
Text
Text
remove status column from client libraries page
896fbb470a5fa118039ccbd30c3bffdcc6c461ff
<ide><path>docs/reference/api/remote_api_client_libraries.md <ide> with the library maintainers. <ide> <ide> <table border="1" class="docutils"> <ide> <colgroup> <del> <col width="24%"> <del> <col width="17%"> <add> <col width="29%"> <add> <col width="23%"> <ide> <col width="48%"> <del> <col width...
1