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
PHP
PHP
add method to contract
53ac15248368ebda4a809b08ec0f25218ee9e6d5
<ide><path>src/Illuminate/Contracts/Encryption/Encrypter.php <ide> public function encrypt($value, $serialize = true); <ide> * @throws \Illuminate\Contracts\Encryption\DecryptException <ide> */ <ide> public function decrypt($payload, $unserialize = true); <add> <add> /** <add> * Get the encryption ...
2
PHP
PHP
add a sequence builder to the new http client
391a1ad63ac4577a5d7730c67ccad3bd9dcf50e0
<ide><path>src/Illuminate/Http/Client/Factory.php <ide> public static function response($body = null, $status = 200, $headers = []) <ide> * @param array $responses <ide> * @return \Illuminate\Http\Client\ResponseSequence <ide> */ <del> public static function sequence(array $responses) <add> publi...
3
Text
Text
release notes for 1.3.0-beta.19 rafter-ascension
b93601e691e6f5e042b1d26e04bd330fab9e1120
<ide><path>CHANGELOG.md <add><a name="1.3.0-beta.19"></a> <add># 1.3.0-beta.19 rafter-ascension (2014-08-22) <add> <add> <add>## Bug Fixes <add> <add>- **$compile:** <add> - use the correct namespace for transcluded SVG elements <add> ([ffbd276d](https://github.com/angular/angular.js/commit/ffbd276d6def6ff35bfdb30553...
1
Python
Python
add failed testcase for fieldvalidation
dc1c57d595c3917e3fed9076894d5fa88ec083c9
<ide><path>rest_framework/tests/serializer.py <ide> def validate_content(self, attrs, source): <ide> self.assertFalse(serializer.is_valid()) <ide> self.assertEquals(serializer.errors, {'content': [u'Test not in value']}) <ide> <add> incomplete_data = { <add> 'email': 'tom@example.com'...
1
Javascript
Javascript
restore hyphen requirement for component lookup
5014201d48e3777b7578b2d9e44619f92cad0eae
<ide><path>packages/ember-application/tests/system/dependency_injection/custom_resolver_test.js <ide> QUnit.module("Ember.Application Dependency Injection – customResolver", { <ide> resolveTemplate(resolvable) { <ide> var resolvedTemplate = this._super(resolvable); <ide> if (resolvedTemplate) { re...
3
Javascript
Javascript
remove unused requires in eslint config
5b30f6ebfc2392603cdf0b225d112b2f4f26cc98
<ide><path>.eslintrc.js <del>var fs = require('fs'); <del>var path = require('path'); <del> <del>var options = { <add>module.exports = { <ide> root: true, <ide> parserOptions: { <ide> ecmaVersion: 6, <ide> var options = { <ide> 'comma-dangle': 'off', <ide> }, <ide> }; <del> <del>module.exports = options;
1
Javascript
Javascript
fix an broken question
82cfdb88facd946926a40822b6939737e0ebddc4
<ide><path>lib/_debugger.js <ide> Interface.prototype.yesNoQuestion = function(prompt, cb) { <ide> cb(false); <ide> } else { <ide> console.log('Please answer y or n.'); <del> self.restartQuestion(cb); <add> self.yesNoQuestion(prompt, cb); <ide> } <ide> }); <ide> };
1
Javascript
Javascript
update externalmodule.js for umd2
e044598a98aca665726916fe90b6026f52401490
<ide><path>lib/ExternalModule.js <ide> ExternalModule.prototype.source = function(dependencyTemplates, outputOptions, r <ide> str = "module.exports = require(" + JSON.stringify(request[0]) + ")" + request.slice(1).map(function(r) { <ide> return "[" + JSON.stringify(r) + "]"; <ide> }).join("") + ";"; <del> } ...
1
Ruby
Ruby
remove double scoping blocks and just use one
ce5f27b04b1ff25eed520a3d06b3b9c150536e21
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> def resource(*resources, &block) <ide> return self <ide> end <ide> <del> controller(resource.controller) do <del> namespace(resource.name) do <del> with_scope_level(:resource, resource) do <del> ...
1
Javascript
Javascript
use old new buffer api for node 4
16a5831620e0f3c3fbba51c704952f827b040706
<ide><path>lib/optimize/ConcatenatedModule.js <ide> class ConcatenatedModule extends Module { <ide> exportName = true; <ide> } else { <ide> const exportData = match[2]; <del> exportName = Buffer.from(exportData, "hex").toString("utf-8"); <add> exportName = new Buffer(exportData, "hex").t...
1
Java
Java
introduce isnotempty() aliases in stringutils
47f8d435e621163f56727891bb2e874e76e1f9b8
<ide><path>spring-core/src/main/java/org/springframework/util/StringUtils.java <ide> * @author Rob Harrop <ide> * @author Rick Evans <ide> * @author Arjen Poutsma <add> * @author Sam Brannen <ide> * @since 16 April 2001 <ide> */ <ide> public abstract class StringUtils { <ide> public abstract class StringUtils { <i...
1
Python
Python
fix more lint issues
4ad7558fd056c13f2df1c3213cf95e50fca5df13
<ide><path>libcloud/compute/drivers/kubevirt.py <ide> from libcloud.container.drivers.kubernetes import VALID_RESPONSE_CODES <ide> <ide> from libcloud.common.base import KeyCertificateConnection, ConnectionKey <del>from libcloud.common.types import InvalidCredsError, ProviderError <add>from libcloud.common.types impor...
1
Javascript
Javascript
fix failing offset tests
fad0e221818f0a78550584b3c0a16a6808ecd921
<ide><path>test/unit/offset.js <ide> testIframe("offset/static", "static", function( $ ) { <ide> }); <ide> <ide> testIframe("offset/fixed", "fixed", function( $ ) { <add> // IE is collapsing the top margin of 1px; detect and adjust accordingly <add> var ie = $("#fixed-1").position().top === 2; <add> <ide> expect(34);...
1
Javascript
Javascript
fix message update in modulerestoreerror
59250743bae013f2050aa2c4c3a98bad9426a9bc
<ide><path>lib/ModuleRestoreError.js <ide> class ModuleRestoreError extends WebpackError { <ide> message += err; <ide> } <ide> } else { <del> message = String(err); <add> message += String(err); <ide> } <ide> <ide> super(message);
1
Javascript
Javascript
reset player ui on player#reset
175f77325346af9ec5fa7f090eba8be2076a54e2
<ide><path>src/js/control-bar/time-controls/remaining-time-display.js <ide> class RemainingTimeDisplay extends TimeDisplay { <ide> * @listens Player#durationchange <ide> */ <ide> updateContent(event) { <del> if (!this.player_.duration()) { <add> if (typeof this.player_.duration() !== 'number') { <ide> ...
4
PHP
PHP
check the instance of the thrown exception
c71213673fff3a83471ade4535087c77d2d2f4d9
<ide><path>tests/Integration/Http/ThrottleRequestsTest.php <ide> use Orchestra\Testbench\TestCase; <ide> use Illuminate\Support\Facades\Route; <ide> use Illuminate\Routing\Middleware\ThrottleRequests; <add>use Illuminate\Http\Exceptions\ThrottleRequestsException; <ide> <ide> /** <ide> * @group integration <ide> publi...
1
Ruby
Ruby
remove example file
703a2e8da1d3a68b3902d9024c6f0d1cd32435aa
<ide><path>activemodel/examples/validations.rb <del>require File.expand_path('../../../load_paths', __FILE__) <del>require 'active_model' <del> <del>class Person <del> include ActiveModel::Conversion <del> include ActiveModel::Validations <del> <del> validates :name, presence: true <del> <del> attr_accessor :name <...
1
Javascript
Javascript
fix regexp in managed paths
adea157a9139079379ecbf420687b0fef4c2b7f7
<ide><path>lib/config/defaults.js <ide> const applySnapshotDefaults = (snapshot, { production, futureDefaults }) => { <ide> return [path.resolve(match[1], "unplugged")]; <ide> } <ide> } else { <del> const match = /^(.+?[\\/]node_modules)[\\/]/.exec( <add> const match = /^(.+?[\\/]node_modules[\\/])/.e...
2
Ruby
Ruby
fix typo in xquartz comment
82ecc01ac0944e1c9071352b2ef2f3b4fcb36d6c
<ide><path>Library/Homebrew/macos/xquartz.rb <ide> def provided_by_apple? <ide> end <ide> <ide> # This should really be private, but for compatibility reasons it must <del> # remain public. New code should use MacOS::XQuartz.{bin,lib,include} <add> # remain public. New code should use MacOS::X11.{bin,lib,include...
1
Python
Python
reformat the code for pep8
697d8d0bb502183e61919d3a5a6119cbe577e072
<ide><path>libcloud/common/google.py <ide> def parse_body(self): <ide> body = self.body <ide> json_error = True <ide> <del> if self.status in [httplib.OK, httplib.CREATED, httplib.ACCEPTED, httplib.CONFLICT]: <add> valid_http_codes = [ <add> httplib.OK, <add> ...
1
Go
Go
replace consul with boltdb in test
25594c33b949fb21ec8ce48bb926279db1e802c1
<ide><path>libnetwork/drivers/overlay/overlay_test.go <ide> import ( <ide> "fmt" <ide> "net" <ide> "os" <add> "path/filepath" <ide> "syscall" <ide> "testing" <ide> "time" <ide> <del> "golang.org/x/sys/unix" <del> <ide> "github.com/docker/docker/libnetwork/datastore" <ide> "github.com/docker/docker/libnetwork/d...
1
PHP
PHP
unskip a secured form test
1a9b98951a453a6528d4e69f0643fdaa147aaaa2
<ide><path>src/View/Helper/FormHelper.php <ide> protected function _magicOptions($fieldName, $options, $allowOverride) { <ide> $fieldDef = $context->attributes($fieldName); <ide> <ide> if ($options['type'] === 'number' && !isset($options['step'])) { <del> if ($type === 'decimal') { <del> $decimalPlaces = subs...
2
Javascript
Javascript
reset test results before execution
43a4fa8cb03beb26c786655fd48c9b50aa300aa4
<ide><path>client/src/templates/Challenges/redux/execute-challenge-saga.js <ide> export function* executeChallengeSaga() { <ide> } <ide> <ide> const consoleProxy = yield channel(); <add> <ide> try { <ide> yield put(initLogs()); <ide> yield put(initConsole('// running tests')); <add> // reset tests to ...
1
Text
Text
remove default parameter value from header
55d9833ebf038f100fe14f9d75a81b082eeaf048
<ide><path>doc/api/cluster.md <ide> if (cluster.isMaster) { <ide> } <ide> ``` <ide> <del>### `worker.kill([signal='SIGTERM'])` <add>### `worker.kill([signal])` <ide> <!-- YAML <ide> added: v0.9.12 <ide> --> <ide> <ide> * `signal` {string} Name of the kill signal to send to the worker <del> process. <add> process. *...
1
Python
Python
add support for texture folder
932ee2d443e2661103629d82dac4ab936796275d
<ide><path>utils/exporters/blender/addons/io_three/__init__.py <ide> EnumProperty, <ide> BoolProperty, <ide> FloatProperty, <del> IntProperty <add> IntProperty, <add> StringProperty <ide> ) <ide> <ide> from . import constants <ide> bl_info = { <ide> 'name': "Three.js Format", <ide> 'author...
10
Javascript
Javascript
add ios 11 support test results
60cc6c9fbf9188eb3ce45f0cd97e8af7f9f54263
<ide><path>test/unit/support.js <ide> testIframe( <ide> "reliableMarginLeft": false, <ide> "scrollboxSize": true <ide> }; <add> } else if ( /iphone os 11_/i.test( userAgent ) ) { <add> expected = { <add> "ajax": true, <add> "boxSizingReliable": true, <add> "checkClone": true, <add> "checkOn": true, <ad...
1
Javascript
Javascript
remove globalobject hack from test case
85e078d7e8d8a12a28b9711e2accb30e43140399
<ide><path>test/configCases/target/chunk-loading-per-entry/webpack.config.js <ide> const base = { <ide> chunkLoading: "import-scripts" <ide> } <ide> }, <del> output: { <del> globalObject: "(typeof self === 'undefined' ? window : self)" <del> }, <ide> target: "web" <ide> }; <ide>
1
Javascript
Javascript
reduce ascii checks in makeinlineimage()
ffae848f4ea24c58f45ed14102a2670627f49ca4
<ide><path>src/core/parser.js <ide> FlateStream, isArray, isCmd, isDict, isInt, isName, isNum, isRef, <ide> isString, Jbig2Stream, JpegStream, JpxStream, LZWStream, Name, <ide> NullStream, PredictorStream, Ref, RunLengthStream, warn, info, <del> StreamType, MissingDataExceptio...
1
Mixed
Javascript
allow use of abortcontroller with on
df1023bb224d7ac79315308e2b9b18f3b3b01d39
<ide><path>doc/api/events.md <ide> Value: `Symbol.for('nodejs.rejection')` <ide> <ide> See how to write a custom [rejection handler][rejection]. <ide> <del>## `events.on(emitter, eventName)` <add>## `events.on(emitter, eventName[, options])` <ide> <!-- YAML <ide> added: <ide> - v13.6.0 <ide> added: <ide> <ide> * `e...
3
Javascript
Javascript
add queue typing
6b583e375103a66ce7de857dced19f572f620f48
<ide><path>lib/util/Queue.js <ide> "use strict"; <ide> <del>module.exports = class Queue { <add>/** <add> * @template T <add> */ <add>class Queue { <add> /** <add> * @param {IterableIterator<T>=} items The initial elements. <add> */ <ide> constructor(items) { <add> /** @private @type {Set<T>} */ <ide> this.set =...
1
Text
Text
update a typo in the guide's requested updated
5d0ae7efb921c6abf742e96f7b65a6c282b0c952
<ide><path>guides/source/active_storage_overview.md <ide> message.video.open do |file| <ide> end <ide> ``` <ide> <del>It's important to know that the file are not yet available in the `after_create` commit but in the `after_create_commit` only <add>It's important to know that the file are not yet available in the `aft...
1
Text
Text
add 1.4.6 changes
4dd10fd964ca7904fe3f89a128fc1438a555ba93
<ide><path>CHANGELOG.md <add><a name="1.4.6"></a> <add># 1.4.6 multiplicative-elevation (2015-09-17) <add> <add> <add>## Bug Fixes <add> <add>- **$animate:** invalid CSS class names should not break subsequent elements <add> ([c3a654b7](https://github.com/angular/angular.js/commit/c3a654b7c8e585b8fb9f90ece10ef54d19fd7...
1
Python
Python
show rss memory usag at start and end of benchmark
ce89e3dc37505dab3dcbb3342ba547a2baf70a81
<ide><path>celery/utils/compat.py <ide> def emit(self, record): <ide> stat = os.stat(self.baseFilename) <ide> self.dev, self.ino = stat[ST_DEV], stat[ST_INO] <ide> logging.FileHandler.emit(self, record) <add> <add> <add>############## format(int, ',d') #######...
2
Text
Text
fix process.stdin example
86ae2c182b425e08e8a98fcd47220d452cc94f53
<ide><path>doc/api/process.md <ide> a [Readable][] stream. <ide> process.stdin.setEncoding('utf8'); <ide> <ide> process.stdin.on('readable', () => { <del> const chunk = process.stdin.read(); <del> if (chunk !== null) { <add> let chunk; <add> // Use a loop to make sure we read all available data. <add> while ((chu...
1
PHP
PHP
remove parameter that does nothing
0b8569fea17c0a0c64320d9919a658d11f141017
<ide><path>tests/TestCase/View/Helper/FormHelperTest.php <ide> public function testCreateEndGetNoSecurity() { <ide> ]); <ide> $this->assertNotContains('testKey', $result); <ide> <del> $result = $this->Form->end('Save'); <add> $result = $this->Form->end(); <ide> $this->assertNotContains('testKey', $result); <id...
1
Text
Text
fix error notes in `buffer.from()` variants
e4c6c3bf2e6f8ee8f2d1d9b95fc731a5ac224fdf
<ide><path>doc/api/buffer.md <ide> Allocates a new `Buffer` using an `array` of octets. <ide> const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]); <ide> ``` <ide> <del>A `TypeError` will be thrown if `array` is not an `Array`. <add>A `TypeError` will be thrown if `array` is not an `Array` or other type <add>...
1
Ruby
Ruby
define symbol#to_proc for ruby 1.8.6
0949d952dc1a0eda002108b35c7fda38df7448fc
<ide><path>Library/Homebrew/extend/symbol.rb <add>class Symbol <add> def to_proc <add> proc { |obj, *args| obj.send(self, *args) } <add> end unless method_defined?(:to_proc) <add>end <ide><path>Library/Homebrew/global.rb <ide> require 'extend/pathname' <ide> require 'extend/ARGV' <ide> require 'extend/string' <add...
2
Go
Go
remove tp4 support from test code
b0e24c73931d70ef543a3d69c41b0add7130cb80
<ide><path>integration-cli/docker_api_containers_test.go <ide> func (s *DockerSuite) TestStartWithTooLowMemoryLimit(c *check.C) { <ide> } <ide> <ide> func (s *DockerSuite) TestContainerApiRename(c *check.C) { <del> // TODO Windows: Enable for TP5. Fails on TP4. <add> // TODO Windows: Debug why this sometimes fails on ...
9
Ruby
Ruby
fix typographical error
abed77fb30b13e154a0f6cd2fc334d53bbae734b
<ide><path>actionpack/lib/action_dispatch/routing.rb <ide> module ActionDispatch <ide> # <ide> # controller 'geocode' do <ide> # get 'geocode/:postalcode' => :show, constraints: { <del> # postalcode: /# Postcode format <add> # postalcode: /# Postalcode format <ide> # \d{5} #Prefix <...
1
Go
Go
enable image push when files have spaces
2c8522b0a3ccaea946cc459ec650625235c8f4ad
<ide><path>daemon/graphdriver/lcow/lcow.go <ide> func (fgc *fileGetCloserFromSVM) Get(filename string) (io.ReadCloser, error) { <ide> return nil, fmt.Errorf("inconsistency detected: couldn't get short container path for %+v in utility VM %s", fgc.mvd, fgc.svm.config.Name) <ide> } <ide> file := path.Join(actualConta...
1
Text
Text
add poojadurgad to collaborators
68b6c1a30d3a153bf9ba55f1fad477d78f4cf682
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Ali Ijaz Sheikh** &lt;ofrobots@google.com&gt; (he/him) <ide> * [oyyd](https://github.com/oyyd) - <ide> **Ouyang Yadong** &lt;oyydoibh@gmail.com&gt; (he/him) <add>* [PoojaDurgad](https://github.com/PoojaDurgad) - <add>**P...
1
PHP
PHP
fix tests for pr
ebe243b596c2e56508c0ef28c6bce94abbc2b6b9
<ide><path>tests/Database/DatabaseEloquentModelTest.php <ide> public function testCloneModelMakesAFreshCopyOfTheModel() <ide> public function testModelObserversCanBeAttachedToModels() <ide> { <ide> EloquentModelStub::setEventDispatcher($events = m::mock('Illuminate\Events\Dispatcher')); <del> $events->shouldReceiv...
1
PHP
PHP
fix error when clearing filecache
b999b4d9ae90cc187965dd1ca442585a5138127e
<ide><path>lib/Cake/Cache/Engine/FileEngine.php <ide> protected function _clearDirectory($path, $now, $threshold) { <ide> continue; <ide> } <ide> $filePath = $path . $entry; <add> if (is_dir($filePath)) { <add> continue; <add> } <ide> $file = new SplFileObject($path . $entry, 'r'); <ide> <ide> i...
1
Python
Python
skip some test_multi_gpu_data_parallel_forward
9edff453621d0f8f02b36cae6766cd102f852201
<ide><path>tests/models/beit/test_modeling_beit.py <ide> <ide> from transformers import BeitConfig <ide> from transformers.models.auto import get_values <del>from transformers.testing_utils import require_torch, require_vision, slow, torch_device <add>from transformers.testing_utils import require_torch, require_torch...
2
PHP
PHP
add warnings that were missed before
e2d81d4c8baeadc4a9bd51063f628c441882ac41
<ide><path>src/Mailer/Email.php <ide> public function getFrom() <ide> */ <ide> public function from($email = null, $name = null) <ide> { <add> deprecationWarning('Email::from() is deprecated. Use Email::setFrom() or Email::getFrom() instead.'); <ide> if ($email === null) { <ide> ...
1
Ruby
Ruby
add an integration test for dym
76e7ddc6e0d32bb4caaa01043c5c03c0396cf8d2
<ide><path>actionpack/lib/action_controller/metal/exceptions.rb <ide> def initialize(error) <ide> end <ide> <ide> def corrections <del> maybe_these = @error.routes.named_routes.helper_names.grep(/#{@error.route_name}/) <del> maybe_these -= [@error.method_name.to_s] # remove exact match <del> ...
2
Ruby
Ruby
remove plain method
38c0bf7dfa7ed110b6c1c1205bbb04c9040065ee
<ide><path>activemodel/lib/active_model/attribute_methods.rb <ide> def match(method_name) <ide> def method_name(attr_name) <ide> @method_name % attr_name <ide> end <del> <del> def plain? <del> prefix.empty? && suffix.empty? <del> end <ide> end <ide> ...
1
Javascript
Javascript
add imperative api to statusbar
edbe6a2b248fa552da6ab4a9d4e274766a10ad04
<ide><path>Examples/UIExplorer/StatusBarExample.js <ide> const showHideTransitions = [ <ide> 'slide', <ide> ]; <ide> <add>function getValue(values: Array<any>, index: number): any { <add> return values[index % values.length]; <add>} <add> <ide> const StatusBarExample = React.createClass({ <ide> getInitialState():...
3
Go
Go
check existence of network chain before creating
6cff09f710e64fec53ced2b289864bf89bc5ac9c
<ide><path>libnetwork/drivers/overlay/filter.go <ide> func rawIPTables(args ...string) error { <ide> return nil <ide> } <ide> <add>func chainExists(cname string) bool { <add> if err := rawIPTables("-L", cname); err != nil { <add> return false <add> } <add> <add> return true <add>} <add> <ide> func setupGlobalChain()...
3
Python
Python
fix weight save
b2ab55611bbb01875cdac7a58717291ebccb1d4d
<ide><path>tests/keras/test_models.py <ide> def test_siamese_1(): <ide> model.get_config(verbose=0) <ide> <ide> # test weight saving <del> fname = 'test_merge_sum_temp.h5' <add> fname = 'test_siamese_1.h5' <add> model.save_weights(fname, overwrite=True) <ide> left = Sequential() <ide> left.add...
1
Python
Python
add missing packages to setup.py after refactoring
e524a8cb29fa5d748ff4347dc04d0381da09e3fb
<ide><path>setup.py <ide> def run(self): <ide> requires=([], ['ssl', 'simplejson'],)[pre_python26], <ide> packages=[ <ide> 'libcloud', <del> 'libcloud.drivers' <add> 'libcloud.common', <add> 'libcloud.compute', <add> 'libcloud.compute.drivers', <add> 'libcloud.drivers'...
1
Python
Python
fix exception handling in list_records
ea472407ada12b9a5e6832ccada7723a317bfafd
<ide><path>libcloud/dns/drivers/linode.py <ide> def list_zones(self): <ide> <ide> def list_records(self, zone): <ide> params = {'api_action': 'domain.resource.list', 'DOMAINID': zone.id} <del> data = self.connection.request(API_ROOT, params=params).objects[0] <add> <add> try: <add> ...
1
Javascript
Javascript
set charset as 'utf-8' in sourcemap plugin
af4c2e88c04df94d47057a667e682cb1e8c76a32
<ide><path>lib/EvalSourceMapDevToolModuleTemplatePlugin.js <ide> EvalSourceMapDevToolModuleTemplatePlugin.prototype.apply = function(moduleTempla <ide> } <ide> sourceMap.sourceRoot = ""; <ide> sourceMap.file = module.id + ".js"; <del> var footer = self.sourceMapComment.replace(/\[url\]/g, "data:application/json;...
2
Javascript
Javascript
remove workaround for unsupported openssls
ba7551cad8abd2e460763b06efa4207be96a7a19
<ide><path>test/parallel/test-https-agent-session-eviction.js <ide> const { readKey } = require('../common/fixtures'); <ide> if (!common.hasCrypto) <ide> common.skip('missing crypto'); <ide> <del>const assert = require('assert'); <ide> const https = require('https'); <del>const { OPENSSL_VERSION_NUMBER, SSL_OP_NO_TI...
1
Java
Java
fix spelling of word 'recommendation'
9b87ea017bc58c0921c0ba20cc1ff099c42eea67
<ide><path>spring-web/src/main/java/org/springframework/http/HttpHeaders.java <ide> * @author Sebastien Deleuze <ide> * @author Brian Clozel <ide> * @author Juergen Hoeller <add> * @author Josh Long <ide> * @since 3.0 <ide> */ <ide> public class HttpHeaders implements MultiValueMap<String, String>, Serializable { ...
1
PHP
PHP
move tests around
b9859682318c937938da60d79ec15d66e3a7c0a1
<ide><path>tests/TestCase/Routing/RouteCollectionTest.php <ide> public function testParseRequest() <ide> ]; <ide> $this->assertEquals($expected, $result); <ide> <del> $request = new ServerRequest(['url' => '/b/the-thing?one=two']); <del> $result = $this->collection->parseRequest($request)...
1
Python
Python
fix french tag map
9d13288f730c212aecc38255b3a777e0555e34ca
<ide><path>spacy/lang/fr/tag_map.py <ide> from __future__ import unicode_literals <ide> <ide> from ...symbols import POS, PUNCT, ADJ, CCONJ, NUM, DET, ADV, ADP, X, VERB <del>from ...symbols import NOUN, PROPN, PART, INTJ, SPACE, PRON <add>from ...symbols import NOUN, PROPN, PART, INTJ, SPACE, PRON, AUX, SCONJ <ide> <...
1
Ruby
Ruby
use active_vault as the table prefix
3a92cbf6b358c983f3b1b9f628fb441e051a9984
<ide><path>lib/active_vault/blob.rb <ide> <ide> # Schema: id, key, filename, content_type, metadata, byte_size, checksum, created_at <ide> class ActiveVault::Blob < ActiveRecord::Base <del> self.table_name = "rails_blobs" <add> self.table_name = "active_vault_blobs" <ide> <ide> has_secure_token :key <ide> store...
2
PHP
PHP
add test for
f0f1531faca68553012fd2ffe9153e0c7af76a79
<ide><path>lib/Cake/Test/Case/Routing/RouterTest.php <ide> public function testCanLeavePlugin() { <ide> $this->assertEquals('/admin/other/posts/index', $result); <ide> } <ide> <add>/** <add> * Test that URL's fail to parse when they are prefixed with // <add> * <add> * @return void <add> */ <add> public function te...
1
Python
Python
fix wildcard import
14a9c3ee7a40e5384194305f44d7b930f3f52a4f
<ide><path>spacy/language_data/tag_map.py <ide> # coding: utf8 <ide> from __future__ import unicode_literals <ide> <del>from ..symbols import * <add>from ..symbols import POS, ADV, NOUN, ADP, PRON, SCONJ, PROPN, DET, SYM, INTJ <add>from ..symbols import PUNCT, NUM, AUX, X, CONJ, ADJ, VERB, PART, SPACE <ide> <ide> <i...
1
Go
Go
remove rc4 from the list of registry cipher suites
37846bff586e6f3d6bf35b66cce560ce4c57a619
<ide><path>registry/registry.go <ide> import ( <ide> "github.com/docker/docker/autogen/dockerversion" <ide> "github.com/docker/docker/pkg/parsers/kernel" <ide> "github.com/docker/docker/pkg/timeoutconn" <add> "github.com/docker/docker/pkg/tlsconfig" <ide> "github.com/docker/docker/pkg/transport" <ide> "github.com/...
1
Java
Java
integrate class proxy generation in aot processing
7c2453c3738426327d1f489006775c619c497694
<ide><path>spring-context/src/main/java/org/springframework/context/aot/ApplicationContextAotGenerator.java <ide> <ide> package org.springframework.context.aot; <ide> <add>import java.util.function.Supplier; <add> <ide> import org.springframework.aot.generate.GenerationContext; <ide> import org.springframework.beans....
7
Java
Java
fix code style
b238cc80ba3eb1041e737bb09bb34e7854c66ab2
<ide><path>src/main/java/io/reactivex/internal/operators/flowable/FlowableReduceSeedSingle.java <ide> protected void subscribeActual(SingleObserver<? super R> observer) { <ide> <ide> Subscription s; <ide> <del> public ReduceSeedObserver(SingleObserver<? super R> actual, BiFunction<R, ? super T, R> redu...
3
Python
Python
remove an unused function
801918603cb075f96ff6c08a6fc6fb165f1eecda
<ide><path>flask/helpers.py <ide> json_available = False <ide> <ide> <del>from werkzeug import Headers, wrap_file, is_resource_modified, cached_property <add>from werkzeug import Headers, wrap_file, cached_property <ide> from werkzeug.exceptions import NotFound <ide> <ide> from jinja2 import FileSystemLo...
1
Text
Text
add extra step to contributing steps
988f5d102d1feaed825ff6da4527b37b8b198095
<ide><path>contributing.md <ide> Our Commitment to Open Source can be found [here](https://zeit.co/blog/oss) <ide> <ide> 1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device. ...
1
PHP
PHP
fix coding standards
063a3eab1ae067230ab079be8ec00624a1300b3a
<ide><path>lib/Cake/Database/Schema/MysqlSchema.php <ide> namespace Cake\Database\Schema; <ide> <ide> use Cake\Database\Schema\Table; <add>use Cake\Error; <ide> <ide> /** <ide> * Schema dialect/support for MySQL <ide> class MysqlSchema { <ide> * <ide> * @var Cake\Database\Driver\Mysql <ide> */ <del> protected $dr...
6
Javascript
Javascript
fix --debug-brk on symlinked scripts
ccf7b41a69a8037f721a3eb495c2a82a53613634
<ide><path>lib/module.js <ide> Module.prototype.require = function(path) { <ide> }; <ide> <ide> <add>// Resolved path to process.argv[1] will be lazily placed here <add>// (needed for setting breakpoint when called with --debug-brk) <add>var resolvedArgv; <add> <add> <ide> // Returns exception if any <ide> Module.pro...
1
Ruby
Ruby
ensure prefix in routes are generated properly
542878304dd53bb8bd8962c61dd9404f2ba57ec7
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> def action_path(name, path = nil) <ide> <ide> def prefix_name_for_action(action, as) <ide> if as.present? <del> "#{as}_" <add> as.to_s <ide> elsif as <del> "" <add> ni...
1
Javascript
Javascript
clarify possible options and fired events
494277e3d3668699133fc796e5bf632258e34802
<ide><path>src/ng/animate.js <ide> var $AnimateProvider = ['$provide', /** @this */ function($provide) { <ide> * ); <ide> * ``` <ide> * <add> * <div class="alert alert-warning"> <add> * **Note**: Generally, the events that are fired correspond 1:1 to `$animate` method names, <add> ...
2
Python
Python
add head_mask/decoder_head_mask for tf bart models
1867d9a8d79e9d36496553a6f7b6857e4f33cdfd
<ide><path>src/transformers/models/bart/modeling_tf_bart.py <ide> def call( <ide> key_value_states: Optional[tf.Tensor] = None, <ide> past_key_value: Optional[Tuple[Tuple[tf.Tensor]]] = None, <ide> attention_mask: Optional[tf.Tensor] = None, <add> layer_head_mask: Optional[tf.Tensor] = No...
32
Text
Text
clarify release process for new releasers
2f169ad58aefe7c9406fd2062da33172f87e3792
<ide><path>doc/contributing/releases.md <ide> failed build if you start again! <ide> Jenkins collects the artifacts from the builds, allowing you to download and <ide> install the new build. Make sure that the build appears correct. Check the <ide> version numbers, and perform some basic checks to confirm that all is w...
1
PHP
PHP
fix deprecation warnings for event class
370c687456b27cd92469973c0f5a3edcce6330f0
<ide><path>src/Event/Event.php <ide> public function __get($attribute) <ide> { <ide> $method = 'get' . ucfirst($attribute); <ide> deprecationWarning( <del> "Event::${$attribute} is deprecated. " . <add> "Event::\${$attribute} is deprecated. " . <ide> "Use Event::{$m...
1
Ruby
Ruby
fix typo in i18n_railtie.rb
70e3d1ea9d22c23f3d60fd1b5afad2a288a14221
<ide><path>activesupport/lib/active_support/i18n_railtie.rb <ide> def self.init_fallbacks(fallbacks) <ide> ActiveSupport::Deprecation.warn(<<-MSG.squish) <ide> Using I18n fallbacks with an empty `defaults` sets the defaults to <ide> include the `default_locale`. This behavior will change in ...
1
Text
Text
update language list and file link
edde1b7bf0217e76e962ec653ddaebc673292827
<ide><path>docs/how-to-work-on-localized-client-webapp.md <ide> Some of these files are translated on our translation platform (Crowdin), some a <ide> <ide> ## Testing the client app in a world language <ide> <del>You can test the client app in any language available in the [list of languages here](https://github.com...
1
Text
Text
fix a tiny typo
1ee55a3b38ad2bcf4dea5d2dcc4f5371c84588c2
<ide><path>laravel/documentation/controllers.md <ide> <ide> Controllers are classes that are responsible for accepting user input and managing interactions between models, libraries, and views. Typically, they will ask a model for data, and then return a view that presents that data to the user. <ide> <del>The usage ...
1
Javascript
Javascript
fix path resolution for states
4c3107d23844580eb81147c84af3a8fc21c48664
<ide><path>packages/ember-states/lib/state.js <del>var get = Ember.get, set = Ember.set; <add>var get = Ember.get, set = Ember.set, getPath = Ember.getPath; <ide> <ide> Ember.State = Ember.Object.extend({ <ide> isState: true, <ide> parentState: null, <ide> start: null, <add> name: null, <add> path: Ember.compu...
3
Javascript
Javascript
remove debug messages from module loading
a0f2b8a0c5da9de9d7f52ea0312b1a6ffc53277c
<ide><path>src/main.js <ide> node.path = new function () { <ide> this.target = target; <ide> <ide> this.load = function (base_directory, callback) { <del> node.debug("sub.load from <" + base_directory + "> " + this.toString()); <add> //node.debug("sub.load from <" + base_directory + "> " + this.toS...
2
PHP
PHP
apply seteventmanager() in tests
2172466db1d6d82f417f81e2f942f2a68e0dde4b
<ide><path>tests/TestCase/Controller/ComponentRegistryTest.php <ide> public function testLoadWithEnableFalse() <ide> $mock->expects($this->never()) <ide> ->method('attach'); <ide> <del> $this->Components->getController()->eventManager($mock); <add> $this->Components->getController()->...
5
PHP
PHP
remove unused dependencies
01e1ed09682f22034df90fe4b60e9fe739e304b6
<ide><path>Cake/View/Helper/PaginatorHelper.php <ide> */ <ide> namespace Cake\View\Helper; <ide> <del>use Cake\Core\App; <del>use Cake\Error; <del>use Cake\Utility\Inflector; <ide> use Cake\View\Helper; <ide> use Cake\View\StringTemplate; <ide> use Cake\View\View;
1
PHP
PHP
add tests for match()
655bbe9b6e473b28e6853dacb1b1f205678c36d5
<ide><path>src/Routing/ScopedRouteCollection.php <ide> public function parse($url) { <ide> list($url, $queryParameters) = explode('?', $url, 2); <ide> parse_str($queryParameters, $queryParameters); <ide> } <del> $out = array(); <add> $out = []; <ide> for ($i = 0, $len = count($this->_routes); $i < $len; $i+...
2
Ruby
Ruby
add bottle_hash method
04804c6db5ad4912efb946313930abee97d7fcf8
<ide><path>Library/Homebrew/formula.rb <ide> def to_hash <ide> "revision" => stable.specs[:revision], <ide> } <ide> <del> if bottle_defined? <del> bottle_spec = stable.bottle_specification <del> bottle_info = { <del> "rebuild" => bottle_spec.rebuild, <del> "cellar" ...
1
PHP
PHP
improve api docs for event
4853264e31b8a28127349ce66b6df71fcb5e92c3
<ide><path>src/Event/Event.php <ide> public function getName(): string <ide> /** <ide> * Returns the subject of this event <ide> * <add> * If the event has no subject an exception will be raised. <add> * <ide> * @return object <add> * @throws \Cake\Core\Exception\Exception; <ide> * @...
1
Python
Python
fix wrong variable in test_build.py exception
3248aa7d59afbb4c649ffd40e95b17e63de77c94
<ide><path>numpy/linalg/tests/test_build.py <ide> def __init__(self): <ide> except OSError: <ide> raise RuntimeError("command %s cannot be run" % self.cmd) <ide> <del> def get_dependencies(self, file): <del> p = Popen(self.cmd + [file], stdout=PIPE, stderr=PIPE) <add> def get_dependenc...
1
Java
Java
make new bridge default in oss
c89c25f27d115c1928104b06dbe6eabf005995a6
<ide><path>ReactAndroid/src/androidTest/java/com/facebook/react/testing/ReactAppTestActivity.java <ide> public void loadApp( <ide> ReactInstanceManager.Builder builder = <ide> ReactTestHelper.getReactTestFactory().getReactInstanceManagerBuilder() <ide> .setApplication(getApplication()) <del> .s...
2
Python
Python
fix mypy errors in airflow utils
efd365274a548e7dd859ca1823da6a7c417a34f1
<ide><path>airflow/utils/dag_cycle_tester.py <ide> # under the License. <ide> """DAG Cycle tester""" <ide> from collections import defaultdict, deque <del>from typing import TYPE_CHECKING <add>from typing import TYPE_CHECKING, Deque, Dict <ide> <ide> from airflow.exceptions import AirflowDagCycleException <ide> <ide>...
14
Javascript
Javascript
add tab id to tooltip
351d5f662a77b27f4ca2a79982aed8da109c9696
<ide><path>src/devtools/views/TabBar.js <ide> export default function TabBar({ <ide> <ide> if (title) { <ide> button = ( <del> <Tooltip className={tooltipStyles.Tooltip} label={title}> <add> <Tooltip key={id} className={tooltipStyles.Tooltip} label={title}> <ide> {...
1
Text
Text
fix header on migration page
0a6e0c43d9442926691cd7a842dcf55fc555c505
<ide><path>docs/migration.md <ide> weight=79 <ide> +++ <ide> <![end-metadata]--> <ide> <del># Migrate to Engine 1.10 <add># Migrate to Engine 1.10 <ide> <ide> Starting from version 1.10 of Docker Engine, we completely change the way image <ide> data is addressed on disk. Previously, every image and layer used a rando...
1
Text
Text
fix a broken link
04d0d384357331877c2cb78132be066233ea7046
<ide><path>docs/Installation.md <ide> Uninstallation is documented in the [FAQ](FAQ.md). <ide> <a name="1"><sup>1</sup></a> Not all formulae have CPU or OS requirements, but <ide> you can assume you will have trouble if you don’t conform. Also, you can find <ide> PowerPC and Tiger branches from other users in the fork ...
1
Ruby
Ruby
add tests for formula path shortucut 3
063cbe7acdb0af0a4cd9bd35f29f89bc0d638d4a
<ide><path>Library/Homebrew/rubocops/lines_cop.rb <ide> def audit_formula(_node, _class_node, _parent_class_node, body_node) <ide> problem "\"\#\{share}#{match[1]}\" should be \"\#{#{match[2]}}\"" <ide> end <ide> <del> formula_path_strings(body_node, :share) do |p| <del> if ma...
2
Java
Java
rearrange order of managechildren
5f027ec64d6764fbbb9813fabb373194dec79db7
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.java <ide> public synchronized void manageChildren( <ide> } <ide> } <ide> <add> if (tagsToDelete != null) { <add> for (int i = 0; i < tagsToDelete.length; i++) { <add> int tagToDelete = tagsToDelete[i...
1
Javascript
Javascript
improve input validation
fc7b0dda85c006e5830a0e34645d769e20b894d2
<ide><path>lib/child_process.js <ide> function _convertCustomFds(options) { <ide> function normalizeSpawnArguments(file /*, args, options*/) { <ide> var args, options; <ide> <add> if (typeof file !== 'string' || file.length === 0) <add> throw new TypeError('"file" argument must be a non-empty string'); <add> <id...
3
Javascript
Javascript
fix resolution of outer props with react.memo()
0c7189d92370717ce8c48cf4846b3a101056e772
<ide><path>packages/react-reconciler/src/ReactFiberBeginWork.js <ide> function updateMemoComponent( <ide> ): null | Fiber { <ide> if (current === null) { <ide> let type = Component.type; <del> if (isSimpleFunctionComponent(type) && Component.compare === null) { <add> if ( <add> isSimpleFunctionComponen...
2
Ruby
Ruby
fix variable in pythonpath
431f23db32e29827252d1bbdc809ec72039b3749
<ide><path>Library/Homebrew/requirements/python_requirement.rb <ide> def pour_bottle? <ide> end <ide> <ide> if python_binary == "python" <del> ENV["PYTHONPATH"] = "#{HOMEBREW_PREFIX}/lib/python#{version}/site-packages" <add> ENV["PYTHONPATH"] = "#{HOMEBREW_PREFIX}/lib/python#{short_version}/site-pack...
1
PHP
PHP
make an eloquent collection
0fdd6241f236508d24b3c09d11d054056b45254f
<ide><path>src/Illuminate/Database/Eloquent/FactoryBuilder.php <ide> public function make(array $attributes = array()) <ide> $results[] = $this->makeInstance($attributes); <ide> } <ide> <del> return collect($results); <add> return new Collection($results); <ide> ...
1
Ruby
Ruby
fix sparkle detection if content type is missing
71759035dd82b40b7ad8a4a1f30e917b4306e6c8
<ide><path>Library/Homebrew/livecheck/strategy/sparkle.rb <ide> def self.match?(url) <ide> xml = url.end_with?(".xml") <ide> xml ||= begin <ide> headers = Strategy.page_headers(url) <del> content_type = headers["content-type"]&.split(";", 2)&.first <del> ["applicati...
1
Python
Python
fix missing seedsequence import
8a0c54ac0442dd1bf7d60f3ea5e2c578ae71959f
<ide><path>numpy/random/tests/test_direct.py <ide> assert_raises) <ide> import pytest <ide> <del>from numpy.random import (Generator, MT19937, PCG64, Philox, RandomState) <add>from numpy.random import ( <add> Generator, MT19937, PCG64, Philox, RandomState, SeedSequence <add>) <ide> from num...
1
Mixed
Go
add wildcard support to copy/add
acd40d50799a117c4e7c318abdbc8c14b9eb1632
<ide><path>builder/internals.go <ide> func (b *Builder) commit(id string, autoCmd []string, comment string) error { <ide> type copyInfo struct { <ide> origPath string <ide> destPath string <del> hashPath string <add> hash string <ide> decompress bool <ide> tmpDir string <ide> } <ide> func (b *Builde...
3
Javascript
Javascript
fix merge error
aa06e18df113d33c238a03289361d5dc6a6a1ff6
<ide><path>test/Stats.test.js <ide> describe("Stats", () => { <ide> 336, <ide> ], <ide> "emitted": true, <add> "info": Object { <add> "size": 111, <add> }, <ide> "name": "chunkB.js", <ide> "size": 111, <ide> }, <ide> describe("Stats", () =>...
1
Java
Java
move instance methods before static methods
de3e07b3203581242c701f86ffc49cd010d44fca
<ide><path>spring-web-reactive/src/main/java/org/springframework/web/reactive/function/Configuration.java <ide> */ <ide> public interface Configuration { <ide> <add> // Instance methods <add> <add> /** <add> * Supply a {@linkplain Stream stream} of {@link HttpMessageReader}s to be used for request <add> * body conv...
3
PHP
PHP
expand help in view task
345c4e60a5cb629f6b17c37a0ef16f1f715355d5
<ide><path>src/Console/Command/Task/ViewTask.php <ide> public function getTemplate($action) { <ide> public function getOptionParser() { <ide> $parser = parent::getOptionParser(); <ide> <del> $parser->description( <del> __d('cake_console', 'Bake views for a controller, using built-in or custom templates.') <del> ...
1