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 another missing deprecation
25696ad470ef11db4c31f5179039c976b283d221
<ide><path>src/Http/Response.php <ide> public function withCache($since, $time = '+1 day') <ide> */ <ide> public function sharable($public = null, $time = null) <ide> { <add> deprecationWarning( <add> 'Response::sharable() is deprecated. ' . <add> 'Use withSharable() instead.' ...
1
Text
Text
add lpinca to collaborators
1e0bfacc28bf7f370e54ef6656e51746bad44b7b
<ide><path>README.md <ide> more information about the governance of the Node.js project, see <ide> **Minwoo Jung** &lt;jmwsoft@gmail.com&gt; <ide> * [lance](https://github.com/lance) - <ide> **Lance Ball** &lt;lball@redhat.com&gt; <add>* [lpinca](https://github.com/lpinca) - <add>**Luigi Pinca** &lt;luigipinca@gmail.co...
1
Text
Text
remove 1.0 roadmap link from readme
40534fa6d73af616ca55a2a861be798583fc3c0c
<ide><path>README.md <ide> Visit [atom.io](https://atom.io) to learn more or visit the [Atom forum](https:/ <ide> Follow [@AtomEditor](https://twitter.com/atomeditor) on Twitter for important <ide> announcements. <ide> <del>Visit [issue #3684](https://github.com/atom/atom/issues/3684) to learn more <del>about the Atom...
1
PHP
PHP
use dotenv exception
1b7608c781cd7f61ee7f9fdca182909d397088d1
<ide><path>src/Illuminate/Foundation/Bootstrap/DetectEnvironment.php <ide> <?php namespace Illuminate\Foundation\Bootstrap; <ide> <ide> use Dotenv; <add>use InvalidArgumentException; <ide> use Illuminate\Contracts\Foundation\Application; <ide> <ide> class DetectEnvironment { <ide> class DetectEnvironment { <ide> */...
1
Text
Text
fix translation errors
b4cf3654cf9a50bb5e77e437de308ebb7c800687
<ide><path>curriculum/challenges/russian/01-responsive-web-design/applied-visual-design/adjust-the-height-of-an-element-using-the-height-property.russian.md <ide> localeTitle: Отрегулируйте высоту элемента с пом <ide> --- <ide> <ide> ## Description <del><section id="description"> Вы можете указать высоту элемента, исп...
1
Text
Text
add v3.25.1 to changelog
3a7c034cdc81c3ed05508f64c630e2041995d2f8
<ide><path>CHANGELOG.md <ide> - [#19298](https://github.com/emberjs/ember.js/pull/19298) [BUGFIX] Route serialize did not extract param off proxy <ide> - [#19326](https://github.com/emberjs/ember.js/pull/19326) [BUGFIX] Lazily setup the router in non-application tests for <LinkTo> component <ide> <add>### v3.25.1 (Feb...
1
Javascript
Javascript
remove extra console output from test-os.js
23fc082409e46b5d85d66c74affb7a9422f8f489
<ide><path>test/parallel/test-os.js <ide> if (common.isWindows) { <ide> } <ide> <ide> const endianness = os.endianness(); <del>console.log('endianness = %s', endianness); <ide> is.string(endianness); <ide> assert.ok(/[BL]E/.test(endianness)); <ide> <ide> const hostname = os.hostname(); <del>console.log('hostname = %s...
1
Ruby
Ruby
fix a typo in plist_options
5f1abcf84210d20fe8276d0216a7c8e39f326398
<ide><path>Library/Homebrew/formula.rb <ide> def patch(strip = :p1, src = nil, &block) <ide> # <pre>plist_options :manual => "foo"</pre> <ide> # <ide> # Or perhaps you'd like to give the user a choice? Ooh fancy. <del> # <pre>plist_options :startup => "true", :manual => "foo start"</pre> <add> # <pre>...
1
Text
Text
add v3.7.1 to changelog
5a89657ad11d77a7b75ff3a67a06c1c33abb9ae6
<ide><path>CHANGELOG.md <ide> - [#17357](https://github.com/emberjs/ember.js/pull/17357) Allow notifyPropertyChange to be imported from @ember/object <ide> - [#17413](https://github.com/emberjs/ember.js/pull/17413) Fix missing import in instance-initializer blueprint for ember-mocha <ide> <add>### v3.7.1 (January 21, ...
1
PHP
PHP
return null instead of true
fee9b11d0f2c17eb70c75bf20821645cf9e3d35f
<ide><path>src/Controller/Component/AuthComponent.php <ide> public function initialize(Event $event) { <ide> * of login form data. <ide> * <ide> * @param Event $event The startup event. <del> * @return bool|\Cake\Network\Response <add> * @return void|\Cake\Network\Response <ide> */ <ide> public function startup(Ev...
2
Text
Text
fix minor typos in project readme
2ca64ad88a3d770f59c0bf12c570d3eb80ccac77
<ide><path>README.md <ide> For access to artifacts or a distribution zip, see the [Spring Framework Artifac <ide> <ide> ## Documentation <ide> <del>The Spring Framework maintains reference documentation ([published](https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/) and [source](src/doc...
1
PHP
PHP
add skeleton methods for widget features
4677cb9b19254789c7f4f13277998ca79d8d47dd
<ide><path>src/View/Helper/FormHelper.php <ide> public function inputDefaults($defaults = null, $merge = false) { <ide> return $this->_inputDefaults; <ide> } <ide> <add>/** <add> * Add a new widget to FormHelper. <add> * <add> * Allows you to add or replace widget instances with custom code. <add> * <add> * @param ...
1
Javascript
Javascript
fix coding style in src/core/stream.js
6883362a844187a1f94ba0eb0bf1e9306b5154fa
<ide><path>src/core/stream.js <ide> <ide> var Stream = (function StreamClosure() { <ide> function Stream(arrayBuffer, start, length, dict) { <del> this.bytes = arrayBuffer instanceof Uint8Array ? arrayBuffer : <del> new Uint8Array(arrayBuffer); <add> this.bytes = (arrayBuffer instanceof Uint8Array ? <add>...
1
Python
Python
use inan in polimorf tagset conversion
c3e6cee17a61a165fc7e30a1d17fb73d8d0e1017
<ide><path>spacy/lang/pl/tag_map.py <ide> "adj:sg:acc:m1.m2:com": {POS: ADJ, "Number": "sing", "Case": "acc", "Gender": "Masc", "Animacy": "hum|anim", "Degree": "cmp"}, <ide> "adj:sg:acc:m1.m2:pos": {POS: ADJ, "Number": "sing", "Case": "acc", "Gender": "Masc", "Animacy": "hum|anim", "Degree": "pos"}, <ide> ...
1
Python
Python
update version for v3.9.2 release
ac4c78967ad96ccf6c46e6464b6e9298cfbb7734
<ide><path>rest_framework/__init__.py <ide> """ <ide> <ide> __title__ = 'Django REST framework' <del>__version__ = '3.9.1' <add>__version__ = '3.9.2' <ide> __author__ = 'Tom Christie' <ide> __license__ = 'BSD 2-Clause' <ide> __copyright__ = 'Copyright 2011-2019 Encode OSS Ltd'
1
Javascript
Javascript
update jsdoc strings
a456508e60eb6f717376b9f40381465fb7d6922f
<ide><path>controllers/api.js <ide> exports.getTwilio = function(req, res, next) { <ide> /** <ide> * POST /api/twilio <ide> * Twilio API example. <add> * @param telephone <ide> */ <ide> <ide> exports.postTwilio = function(req, res, next) { <ide><path>controllers/contact.js <ide> exports.getContact = function(req, r...
3
Python
Python
add the ability to list resource groups
58d8bff883196b7dcc228848082439a83395e427
<ide><path>libcloud/compute/drivers/azure_arm.py <ide> def __repr__(self): <ide> % (self.id, self.name, self.location)) <ide> <ide> <add>class AzureResourceGroup(object): <add> """Represent an Azure resource group.""" <add> <add> def __init__(self, id, name, location, extra): <add> self.i...
1
Ruby
Ruby
remove dead code now that attr is not used anymore
b26638ef041953992010590b31615c519fa0ea7d
<ide><path>lib/arel/visitors/to_sql.rb <ide> def visit_Arel_Nodes_Values o, collector <ide> collector << "VALUES (" <ide> <ide> len = o.expressions.length - 1 <del> o.expressions.zip(o.columns).each_with_index { |(value, attr), i| <add> o.expressions.each_with_index { |value, i| <ide> ...
1
Text
Text
add decimal schema on docs
c667788be7d7f13b74afcc96994526c3d748054b
<ide><path>laravel/documentation/database/schema.md <ide> Command | Description <ide> `$table->string('name', 100);` | VARCHAR equivalent with a length <ide> `$table->integer('votes');` | INTEGER equivalent to the table <ide> `$table->float('amount');` | FLOAT equivalent to the table <add>`$table->decimal('amoun...
1
Python
Python
update loadbalancer example
9b23ad4b1254762f9b43e8474537ed99a001133d
<ide><path>example_loadbalancer.py <ide> def main(): <ide> time.sleep(30) <ide> <ide> # fetch list of nodes <del> nodes = balancer.list_nodes() <add> nodes = balancer.list_members() <ide> print nodes <ide> <ide> # remove first node <del> balancer.detach_node(nodes[0]) <add> balancer.de...
1
Text
Text
improve line chart docs
e81299ded4b7a6af9f2bf52e31129d9d96f51a3f
<ide><path>docs/03-Line-Chart.md <ide> title: Line Chart <ide> anchor: line-chart <ide> --- <ide> ### Introduction <del>A line chart is a way of plotting data points on a line. <del> <del>Often, it is used to show trend data, and the comparison of two data sets. <add>A line chart is a way of plotting data points on a l...
1
Java
Java
apply "switch expressions" where applicable
32cd73261a3094a289b8d0d62f76c8e413fe3f86
<ide><path>spring-context/src/main/java/org/springframework/format/datetime/standard/DateTimeFormatterFactory.java <ide> /* <del> * Copyright 2002-2021 the original author or authors. <add> * Copyright 2002-2022 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "Licen...
4
Java
Java
improve freemarker macro support in spring-webflux
cc4593fda838103c8838a88e7893a44484b82327
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/result/view/freemarker/FreeMarkerView.java <ide> import java.io.OutputStreamWriter; <ide> import java.io.Writer; <ide> import java.nio.charset.Charset; <add>import java.util.HashMap; <ide> import java.util.Locale; <ide> import java.util.Map; <ide>...
3
Text
Text
fix some links
d5f9cf81e33e3453c6863406a5478b86171730a5
<ide><path>doc/api/dns.md <ide> added: v0.1.27 <ide> * `hostname` {string} <ide> * `callback` {Function} <ide> - `err` {Error} <del> - `records` {string[][]} <add> - `records` <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type" class="type">&lt;string[][]&gt;</a> <ide> <id...
2
Javascript
Javascript
remove test suite that was broken anyway
7601ccf96d03b206c18e306219a9fe4a0c6a003b
<ide><path>test/TestCasesMinimizedHashedModules.test.js <del>const { describeCases } = require("./TestCases.template"); <del> <del>describe("TestCases", () => { <del> describeCases({ <del> name: "minimized-hashed-modules", <del> mode: "production", <del> minimize: true, <del> optimization: { <del> moduleIds: "has...
1
PHP
PHP
apply fixes from styleci
a5af1c60c90e1d933b818fd0c7233f238b5348b6
<ide><path>src/Illuminate/Foundation/Testing/Concerns/InteractsWithConsole.php <ide> trait InteractsWithConsole <ide> * <ide> * @var array <ide> */ <del> public $expectedChoices = []; <add> public $expectedChoices = []; <ide> <ide> /** <ide> * Call artisan command and return code.
1
Text
Text
add missing dot
6b49d4744c204d9d572ef2540f092c6195a56bb2
<ide><path>docs/getting-started.md <ide> Create two directories `pages` and `public` at the root of your application: <ide> <ide> Next.js is built around the concept of [pages](/docs/basic-features/pages.md). A page is a [React Component](https://reactjs.org/docs/components-and-props.html) exported from a `.js`, `.jsx...
1
Ruby
Ruby
use https for issue url
83080be4c1c84290bed5ed077bcb37f243c106d4
<ide><path>Library/Homebrew/os.rb <ide> def self.linux? <ide> end <ide> <ide> if OS.mac? <del> ISSUES_URL = "http://git.io/brew-troubleshooting" <add> ISSUES_URL = "https://git.io/brew-troubleshooting" <ide> PATH_OPEN = "/usr/bin/open" <ide> elsif OS.linux? <ide> ISSUES_URL = "https://github.com/Ho...
1
Javascript
Javascript
improve short months
49985ebf937c2f6dc9ae5c7721fb4f14262cc99e
<ide><path>src/locale/kn.js <ide> numberMap = { <ide> <ide> export default moment.defineLocale('kn', { <ide> months : 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split('_'), <del> monthsShort : 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬ_ಅಕ್ಟೋಬ_ನವೆಂ...
2
Javascript
Javascript
fix vertex normal
2a5e8f901d52c2f9afc2599f989609912eb75c09
<ide><path>examples/jsm/nodes/accessors/NormalNode.js <ide> NormalNode.prototype.generate = function ( builder, output ) { <ide> <ide> case NormalNode.LOCAL: <ide> <del> result = 'geometryNormal'; <add> if ( builder.isShader( 'vertex' ) ) result = 'objectNormal'; <add> else result = 'geometryNormal'; <ide> <...
1
Javascript
Javascript
add dispose() for selectionhelper
cef1c28b9f57b28791ac74766ee47dc0ac468290
<ide><path>examples/jsm/interactive/SelectionHelper.js <ide> class SelectionHelper { <ide> <ide> this.isDown = false; <ide> <del> this.renderer.domElement.addEventListener( 'pointerdown', function ( event ) { <add> this.pointerdownEvent = function ( event ) { <ide> <ide> this.isDown = true; <ide> this.onSe...
1
PHP
PHP
fix morphto lazy eager loading
a02877f4a610cdc546787b3f40c697778d4c4ae7
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> public function getRelation($name) <ide> // and error prone. We don't want constraints because we add eager ones. <ide> $relation = Relation::noConstraints(function () use ($name) { <ide> try { <del> return $this->g...
3
Javascript
Javascript
remove callbacklist field from fiber
d4e971a26606e44e9dcd862512b9a9eece350e14
<ide><path>src/renderers/shared/fiber/ReactFiber.js <ide> export type Fiber = { <ide> <ide> // A queue of state updates and callbacks. <ide> updateQueue: UpdateQueue | null, <del> // A list of callbacks that should be called during the next commit. <del> callbackList: UpdateQueue | null, <add> <ide> // The sta...
4
Ruby
Ruby
increase spec timeout to 30 seconds
8666d8fa18494e73713a130378f842959882d1f8
<ide><path>Library/Homebrew/test/cask/system_command_spec.rb <ide> } <ide> <ide> it "returns without deadlocking" do <del> wait(15).for { <add> wait(30).for { <ide> described_class.run(command, options) <ide> }.to be_a_success <ide> end
1
Python
Python
avoid one more use of descr
ae14f151d2534dfa1b632ed156fe8e7fc9753de2
<ide><path>numpy/lib/recfunctions.py <ide> def get_fieldspec(dtype): <ide> # .descr returns a nameless field, so we should too <ide> return [('', dtype)] <ide> else: <del> # extract the titles of the fields <del> name_titles = {} <del> for d in dtype.descr: <del> name...
1
Javascript
Javascript
add benchmark for dns.promises.lookup()
f98679f3b29383b504c5f79cf9bc5879efd3cb5d
<ide><path>benchmark/dns/lookup-promises.js <add>'use strict'; <add> <add>const common = require('../common.js'); <add>const { lookup } = require('dns').promises; <add> <add>const bench = common.createBenchmark(main, { <add> name: ['127.0.0.1', '::1'], <add> all: ['true', 'false'], <add> n: [5e6] <add>}); <add> <add...
1
Javascript
Javascript
treat navigation to empty hash as hash navigate
c6bd6ef9973b935df116eaafec1cd57555aa1b93
<ide><path>lib/router/router.js <ide> export default class Router { <ide> <ide> onlyAHashChange (as) { <ide> if (!this.asPath) return false <del> const [ oldUrlNoHash ] = this.asPath.split('#') <add> const [ oldUrlNoHash, oldHash ] = this.asPath.split('#') <ide> const [ newUrlNoHash, newHash ] = as.spl...
3
Javascript
Javascript
add failing test
c89294e8fa1bf9e3a15c0d88599b631afce63ddc
<ide><path>test/configCases/library/type-assign/index.js <add>it("should define global object with property", function () { <add> expect(MyLibrary["answer"]).toEqual(42); <add>}); <add> <add>export default { <add> answer: 42 <add>}; <ide><path>test/configCases/library/type-assign/webpack.config.js <add>/** @type {impor...
2
Python
Python
add callback for consumer start
40e02ed82d41248f614a6c704d3c4a10b437952e
<ide><path>celery/worker/__init__.py <ide> class Namespace(bootsteps.Namespace): <ide> 'celery.worker.autoscale', <ide> 'celery.worker.autoreload', <ide> 'celery.worker.consumer', <del> 'celery.worker.mediator') <add>...
1
PHP
PHP
add failing test to fix
838ba24e96261379600536cb85fdf92020d7ab94
<ide><path>tests/TestCase/Model/Behavior/CounterCacheBehaviorTest.php <ide> public function testDelete() { <ide> $this->assertEquals(1, $after->get('post_count')); <ide> } <ide> <add>/** <add> * Testing update simple counter caching when updating a record association <add> * <add> * @return void <add> */ <add> publ...
1
PHP
PHP
extract base class for exception rendering
c3225d38272aedd1450c5e34ba4ffa9bf135eda8
<ide><path>lib/Cake/Console/ConsoleErrorHandler.php <ide> */ <ide> namespace Cake\Console; <ide> <del>use Cake\Core\Configure; <ide> use Cake\Error\FatalErrorException; <ide> use Cake\Error\BaseErrorHandler; <del>use Cake\Error\ErrorHandler; <ide> <ide> /** <ide> * Error Handler for Cake console. Does simple printi...
6
Java
Java
test @jmslistener as a merged composed annotation
4742aa0bfeaa96737baa407029fbddfd6bc16087
<ide><path>spring-jms/src/test/java/org/springframework/jms/annotation/EnableJmsTests.java <ide> /* <del> * Copyright 2002-2015 the original author or authors. <add> * Copyright 2002-2016 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may n...
1
Text
Text
add medialoader to components list
65dc81a4e1b94e28b4e64ece66a51e447a6d18a7
<ide><path>docs/guides/components.md <ide> The default component structure of the Video.js player looks something like this <ide> <ide> ```tree <ide> Player <add>├── MediaLoader (has no UI) <ide> ├── PosterImage <ide> ├── TextTrackDisplay <ide> ├── LoadingSpinner
1
Javascript
Javascript
add proper source for tohalf
54d2c68d934f8bd696d555b5322df750d9f76581
<ide><path>examples/js/Half.js <ide> /** <del> * @author Prashant Sharma / spidersharma03 <add> * Source: http://gamedev.stackexchange.com/questions/17326/conversion-of-a-number-from-single-precision-floating-point-representation-to-a/17410#17410 <ide> */ <ide> <ide> THREE.toHalf = (function() {
1
Javascript
Javascript
fix couple of missing semi-colons
f39420e7d7aca2a97eaa01853991facf65dcbd6e
<ide><path>src/Angular.js <ide> var version = { <ide> minor: "NG_VERSION_MINOR", <ide> dot: "NG_VERSION_DOT", <ide> codeName: '"NG_VERSION_CODENAME"' <del>} <add>}; <ide><path>src/Browser.js <ide> function Browser(window, document, body, XHR, $log) { <ide> var script = self.addJs(url.replace('JSON_CALLBACK'...
6
Go
Go
assign id as name when all else fails
8227ea35cfc6a8e7e3da7baed5bfa8a62e304df5
<ide><path>runtime.go <ide> func (runtime *Runtime) restore() error { <ide> // Any containers that are left over do not exist in the graph <ide> for _, container := range containers { <ide> // Try to set the default name for a container if it exists prior to links <del> name := generateRandomName(runtime) <add> n...
2
Text
Text
remove lineheight property from scaletitle
09a12f8bffe5da968183e10ddb7c9b0fa5db4e21
<ide><path>docs/docs/axes/labelling.md <ide> The scale label configuration is nested under the scale configuration in the `sc <ide> | `display` | `boolean` | `false` | If true, display the axis title. <ide> | `align` | `string` | `'center'` | Alignment of the axis title. Possible options are `'start'`, `'center'` and `...
1
Python
Python
revise documentation for the basic functions
175d90a3e1aedaecc296e3661df5b18bcf5b1749
<ide><path>numpy/polynomial/chebyshev.py <ide> # functions and do minimal error checking. <ide> # <ide> <del>def _cseries_to_zseries(cs) : <add>def _cseries_to_zseries(c) : <ide> """Covert Chebyshev series to z-series. <ide> <ide> Covert a Chebyshev series to the equivalent z-series. The result is <ide> def _...
6
Javascript
Javascript
add dgeni processor for protractor
cd508678cd9baffd2bc0c9e11ae724a7b2ff70bb
<ide><path>docs/config/index.js <ide> module.exports = function(config) { <ide> require('./processors/keywords'), <ide> require('./processors/versions-data'), <ide> require('./processors/pages-data'), <add> require('./processors/protractor-generate'), <ide> require('./processors/index-page') <ide> ...
4
Javascript
Javascript
remove type check for event type
04688614f70470dba1f7512844fd2c4008d9d8bd
<ide><path>lib/events.js <ide> EventEmitter.prototype.emit = function(type) { <ide> EventEmitter.prototype.addListener = function(type, listener) { <ide> var m; <ide> <del> if (typeof type !== 'string') <del> throw TypeError('type must be a string'); <ide> if (typeof listener !== 'function') <ide> throw Ty...
2
Java
Java
add timeout settings in sseintegrationtests
0f6505e32f795646a06d5fd6d490147d43ffdf0c
<ide><path>spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/SseIntegrationTests.java <ide> public void sseAsString() throws Exception { <ide> <ide> TestSubscriber <ide> .subscribe(result) <del> .await() <add> .await(Duration.ofSeconds(5)) <ide> .assertValues("...
1
Javascript
Javascript
improve the code in test-pipe.js
fc103bbdc8f392619c74b8269b749ad863742915
<ide><path>test/sequential/test-pipe.js <ide> 'use strict'; <del>var common = require('../common'); <del>var assert = require('assert'); <del>var http = require('http'); <del>var net = require('net'); <add>const common = require('../common'); <add>const assert = require('assert'); <add>const http = require('http'); <ad...
1
Mixed
Javascript
consider all 2xx responses as ok, not just 200
5343deb3da0e667599fe66d8efa3566b4e337a24
<ide><path>CHANGELOG.md <ide> <ide> ### Bug Fixes <ide> - Fixed cookies which contained unescaped '=' would not show up in cookie service. <add>- Consider all 2xx responses as OK, not just 200 <ide> <ide> <ide> <ide><path>src/service/xhr.js <ide> angularServiceInject('$xhr', function($browser, $error, $log){ <ide> ...
3
Javascript
Javascript
remove prototype extensions example
f34d66901205b8088821c14e1c78a77a6edd0a82
<ide><path>packages/ember-metal/lib/run_loop.js <ide> run.join = function() { <ide> <ide> ```javascript <ide> App.RichTextEditorComponent = Ember.Component.extend({ <del> initializeTinyMCE: function() { <add> initializeTinyMCE: Ember.on('didInsertElement', function() { <ide> tinymce.init({ <ide> ...
1
Ruby
Ruby
add support for bulk change_table revert
7cad3c7728071cad2541722038b793aab1a11e16
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb <ide> def schema_creation # :nodoc: <ide> SchemaCreation.new(self) <ide> end <ide> <add> def bulk_change_table(table_name, operations) # :nodoc: <add> sql_fragments = [] <add> non_combinable_ope...
4
Ruby
Ruby
improve tests to use add_foreign_key dsl
9d21ef9388cd16a9c1e8d356a1ba15895451c873
<ide><path>activerecord/test/cases/associations/belongs_to_associations_test.rb <ide> def test_reflect_the_most_recent_change <ide> <ide> unless current_adapter?(:MysqlAdapter, :Mysql2Adapter) <ide> class BelongsToWithForeignKeyTest < ActiveRecord::TestCase <del> def setup <del> ActiveRecord::Schema.define do <del...
1
Text
Text
fix some links in http2.md
6763fb2f0ee4fa663e720a1e37570c8a8e18d03b
<ide><path>doc/api/http2.md <ide> in order to use the `'http2'` module. <ide> <ide> The Core API provides a low-level interface designed specifically around <ide> support for HTTP/2 protocol features. It is specifically *not* designed for <del>compatibility with the existing [HTTP/1][] module API. However, the [Compat...
1
Javascript
Javascript
fix several lint warnings
0a3694ce48be8991839c42aab2586202a12d43aa
<ide><path>Libraries/Components/MapView/MapView.js <ide> var MapView = React.createClass({ <ide> * @platform ios <ide> */ <ide> image: Image.propTypes.source, <del> <add> <ide> /** <ide> * annotation id <ide> */ <ide><path>Libraries/Components/View/ViewStylePropTypes.js <id...
7
Javascript
Javascript
add resource to response for error interceptors
823c7edb84e2698f035a6712e32dfb4e95be888c
<ide><path>src/ngResource/resource.js <ide> function shallowClearAndCopy(src, dst) { <ide> * [requestType](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#responseType). <ide> * - **`interceptor`** - `{Object=}` - The interceptor object has two optional methods - <ide> * `response` and `respons...
2
Java
Java
make getters and setters null-safety consistent
fb4ddb0746a3f194091043de328875596736427a
<ide><path>spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJExpressionPointcutAdvisor.java <ide> public class AspectJExpressionPointcutAdvisor extends AbstractGenericPointcutAdv <ide> private final AspectJExpressionPointcut pointcut = new AspectJExpressionPointcut(); <ide> <ide> <del> public void setE...
201
Javascript
Javascript
verify the request id parameter
4f20f5f1bb6b07a40bb4246577a8746a2e577e61
<ide><path>src/fonts.js <ide> var FontLoader = { <ide> // The postMessage() hackery was added to work around chrome bug <ide> // 82402. <ide> <add> var requestId = request.id; <add> // Validate the requestId parameter -- the value used to construct HTML. <add> if (!/^[\w\-]+$/.test(requestId...
1
Text
Text
add modifications in the translated documentation
1ceed6c64312e93576220724d32056e5ccb298f9
<ide><path>curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-all-or-none.portuguese.md <ide> videoUrl: '' <ide> localeTitle: Verificar tudo ou nada <ide> --- <ide> <del>## Description <del><section id="description"> Às vezes, os padrões que você deseja pesquisa...
1
Ruby
Ruby
remove extra white spaces on activesupport docs
dd6c3676af3fa6019c53a59f62c4fd14966be728
<ide><path>activesupport/lib/active_support/benchmarkable.rb <ide> module Benchmarkable <ide> # Allows you to measure the execution time of a block <ide> # in a template and records the result to the log. Wrap this block around <ide> # expensive operations or possible bottlenecks to get a time reading <del>...
8
Python
Python
remove function overhead in area
093a56e3c28dee1d1abd67f735c7f686de459c9b
<ide><path>maths/area.py <ide> Find the area of various geometric shapes <ide> """ <ide> from math import pi <del>from typing import Union <ide> <ide> <del>def surface_area_cube(side_length: Union[int, float]) -> float: <add>def surface_area_cube(side_length: float) -> float: <ide> """ <ide> Calculate the Sur...
1
Javascript
Javascript
add test case
744aa27943fa2eb3746817d508f5d2a5f9421453
<ide><path>test/configCases/library/type-assign/index.js <ide> it("should define global object with property", function () { <add> require("./module"); <ide> expect(MyLibrary["answer"]).toEqual(42); <ide> }); <ide> <ide><path>test/configCases/library/type-assign/module.js <add>"use strict";
2
Text
Text
remove superfluous filenaming convention
cb9232dd84e4f22f72ab2a5c680c6169118be145
<ide><path>doc/api/synopsis.md <ide> Windows PowerShell: <ide> Next, create a new source file in the `projects` <ide> folder and call it `hello-world.js`. <ide> <del>In Node.js it is considered good style to use <del>hyphens (`-`) or underscores (`_`) to separate <del> multiple words in filenames. <del> <ide> Open `h...
1
Ruby
Ruby
remove the explicit order set for the initializer
fe13e711627ffe304a85b711cd16d10b1d2e29f4
<ide><path>actionview/lib/action_view/railtie.rb <ide> class Railtie < Rails::Railtie # :nodoc: <ide> end <ide> end <ide> <del> initializer "action_view.setup_action_pack", before: :add_view_paths do |app| <add> initializer "action_view.setup_action_pack" do |app| <ide> ActiveSupport.on_load(:act...
1
Java
Java
add withfiles support to testcompiler
9c12833e160aa6d964d1c323c0af8d8847f01e12
<ide><path>spring-core-test/src/main/java/org/springframework/aot/test/generator/compile/TestCompiler.java <ide> package org.springframework.aot.test.generator.compile; <ide> <ide> import java.io.PrintStream; <add>import java.util.ArrayList; <ide> import java.util.List; <ide> import java.util.Locale; <ide> import java...
1
Ruby
Ruby
add failing test
e174923d29328be9e5373d334ebdb25390687983
<ide><path>activerecord/test/cases/relation_scoping_test.rb <ide> def test_reverse_order <ide> assert_equal Developer.order("id DESC").to_a.reverse, Developer.order("id DESC").reverse_order <ide> end <ide> <add> def test_reverse_order_with_arel_node <add> assert_equal Developer.order("id DESC").to_a.reverse,...
1
PHP
PHP
fix bug in relationship hydration
5e1fd17b4b1f64659799fa07076e1e4d7a67ea8d
<ide><path>src/Illuminate/Database/Eloquent/Model.php <ide> public function relationsToArray() <ide> $key = snake_case($key); <ide> } <ide> <del> $attributes[$key] = $relation; <add> // If the relation value has been set, we will set it on this attributes <add> // list for returning. If it was not arrayab...
1
Javascript
Javascript
fix incorrect merge
69cfc6ff57de6c91ea3d7e43c50c77ebd131a8f9
<ide><path>lib/ChunkGraph.js <ide> class ChunkGraph { <ide> integrateChunks(chunkA, chunkB) { <ide> // Decide for one name (deterministic) <ide> if (chunkA.name && chunkB.name) { <del> if (chunkA.hasEntryModule() === chunkB.hasEntryModule()) { <add> if ( <add> this.getNumberOfEntryModules(chunkA) > 0 === <a...
1
Python
Python
update lxdcontainerdriver class
30cc09f6418ecf77ba2c6aa0f1cb6b6aa9e9d67d
<ide><path>libcloud/container/drivers/lxd.py <ide> # See the License for the specific language governing permissions and <ide> # limitations under the License. <ide> <del>from libcloud.container.base import (Container, ContainerDriver, ContainerImage) <add>import base64 <add>import re <add> <add> <add>try: <add> im...
1
Java
Java
add json, html, and xml requestpredicates
a31429be2b8c5b890040f0fee3cccbe97e5d8d48
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RequestPredicates.java <ide> import org.springframework.web.reactive.function.BodyExtractor; <ide> import org.springframework.web.server.WebSession; <ide> import org.springframework.web.util.ParsingPathMatcher; <add>import org.spri...
2
PHP
PHP
improve csrf validation errors
d097fb2b31e60d8cc94554c4575e24cfe180cde3
<ide><path>src/Http/Middleware/CsrfProtectionMiddleware.php <ide> protected function _validateToken(ServerRequestInterface $request): void <ide> $cookie = Hash::get($request->getCookieParams(), $this->_config['cookieName']); <ide> <ide> if (!$cookie) { <del> throw new InvalidCsrfTokenExcepti...
1
Javascript
Javascript
remove invalid comment from css
4f724333923c7eb46dbef595b2fd9ccf86b8db39
<ide><path>src/ng/directive/ngIf.js <ide> padding:10px; <ide> } <ide> <del> /&#42; <del> The transition styles can also be placed on the CSS base class above <del> &#42;/ <ide> .animate-if.ng-enter, .animate-if.ng-leave { <ide> -webkit-transition:all cubic-bezier(0.250, 0.4...
1
Python
Python
resolve line-too-long in estimator
ba2b102dc6aadc84abe6906feef8737f9c989389
<ide><path>keras/estimator/__init__.py <ide> def model_to_estimator( <ide> ): <ide> """Constructs an `Estimator` instance from given keras model. <ide> <del> If you use infrastructure or other tooling that relies on Estimators, you can <del> still build a Keras model and use model_to_estimator to convert the...
1
Javascript
Javascript
use writev on chunked encoding
2eddd7411234bf633df6a7bdb9c120ed89853324
<ide><path>lib/_http_outgoing.js <ide> OutgoingMessage.prototype.write = function(chunk, encoding, callback) { <ide> else <ide> len = chunk.length; <ide> <del> if (this.connection) <add> if (this.connection && !this.connection.corked) { <ide> this.connection.cork(); <add> var con...
1
Java
Java
remove @ignore from 404 status code tests
84e3ad342b37afbaf9fa88d6116737830f1a857a
<ide><path>spring-web-reactive/src/test/java/org/springframework/web/reactive/handler/SimpleUrlHandlerMappingIntegrationTests.java <ide> import java.util.HashMap; <ide> import java.util.Map; <ide> <del>import org.junit.Ignore; <ide> import org.junit.Test; <ide> import org.reactivestreams.Publisher; <ide> import reacto...
1
PHP
PHP
apply fixes from styleci
aa29193a2f60dd4af3d4824a7582d526dc8bd31a
<ide><path>tests/Integration/Support/AuthFacadeTest.php <ide> namespace Illuminate\Tests\Integration\Support; <ide> <ide> use Illuminate\Support\Facades\Auth; <del>use RuntimeException; <ide> use Orchestra\Testbench\TestCase; <add>use RuntimeException; <ide> <ide> class AuthFacadeTest extends TestCase <ide> {
1
Text
Text
update changelog.md for 3.20.2
ef9f971fe94de3f5823b51060d0e16fceb4a236c
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.20.2 (July 26, 2020) <add> <add>- [#19056](https://github.com/emberjs/ember.js/pull/19056) Update Glimmer rendering engine to 0.54.2. Fixes an issue with (private for now) destroyables work to enable the destroyables polyfill to work more appropriately....
1
Mixed
Javascript
add getsystemerrormap() impl
802171057f337c2fadcb472f5bb85f2614b6f721
<ide><path>doc/api/util.md <ide> fs.access('file/that/does/not/exist', (err) => { <ide> }); <ide> ``` <ide> <add>## `util.getSystemErrorMap()` <add><!-- YAML <add>added: REPLACEME <add>--> <add> <add>* Returns: {Map} <add> <add>Returns a Map of all system error codes available from the Node.js API. <add>The mapping be...
4
PHP
PHP
add __debuginfo() methods to more objects
dcc936601e174ca729162f33f9c1f7b508dfad73
<ide><path>src/Form/Form.php <ide> protected function _execute(array $data) <ide> { <ide> return true; <ide> } <add> <add> /** <add> * Get the printable version of a Form instance. <add> * <add> * @return array <add> */ <add> public function __debugInfo() <add> { <add> $s...
6
Java
Java
add unit tests to publishsubject
0d420d7a132ae72db7e3f1acdb72eda209606968
<ide><path>rxjava-core/src/main/java/rx/subjects/PublishSubject.java <ide> <ide> import org.junit.Test; <ide> <add>import org.mockito.Mockito; <ide> import rx.Notification; <ide> import rx.Observable; <ide> import rx.Observer; <ide> import rx.Subscription; <add>import rx.testing.UnsubscribeTester; <ide> import rx.uti...
1
Javascript
Javascript
remove module argument
71b1c6aa8dbb741d5dabc2ea69dc7799688b493e
<ide><path>test/configCases/deep-scope-analysis/remove-export-scope-hoisting/webpack.config.js <ide> module.exports = { <ide> this.hooks.compilation.tap("Test", compilation => { <ide> compilation.hooks.dependencyReference.tap( <ide> "Test", <del> (ref, dep, module) => { <add> (ref, dep) => { <add> ...
2
Javascript
Javascript
fix testcases for new behavior
d082f437522354201d20eff8863c1f99d4fe47d5
<ide><path>test/configCases/split-chunks/chunk-filename-delimiter-default/b.js <ide> const c = require("./commons"); <add>require("./c"); <ide> <ide> module.exports = "b" + c; <ide><path>test/configCases/split-chunks/chunk-filename-delimiter-default/index.js <del>it("should run", function() { <del> Promise.all( <del> ...
3
Go
Go
remove call to waitclose()
f74d12012c21349b2bd51d9c395a99331ff0a9a5
<ide><path>daemon/graphdriver/devmapper/deviceset.go <ide> func (devices *DeviceSet) deactivateDevice(info *DevInfo) error { <ide> logrus.Debugf("[devmapper] deactivateDevice(%s)", info.Hash) <ide> defer logrus.Debugf("[devmapper] deactivateDevice END(%s)", info.Hash) <ide> <del> // Wait for the unmount to be effect...
1
Python
Python
reduce timeout to speed up tests
5b0b64aae6dc4d45cc405dc055e6da2d850dad37
<ide><path>libcloud/compute/drivers/vultr.py <ide> class rate_limited: <ide> :param int retries: Number of retries. <ide> """ <ide> <del> def __init__(self, sleep=1, retries=1): <add> def __init__(self, sleep=0.5, retries=1): <ide> self.sleep = sleep <ide> self.retries = retries <ide> <i...
3
Python
Python
add missing types to fshook
d4eeede1fa65d626c6ce0d17f2c3c61f6b003162
<ide><path>airflow/hooks/filesystem.py <ide> class FSHook(BaseHook): <ide> Extra: {"path": "/tmp"} <ide> """ <ide> <del> def __init__(self, conn_id='fs_default'): <add> def __init__(self, conn_id: str = 'fs_default'): <ide> super().__init__() <ide> conn = self.get_connection(conn_id) <ide...
1
Java
Java
use list<t> instead of supplier<stream<t>>
31d1e26c95ebaf179a20ffe9b1328a21857954c3
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractor.java <ide> <ide> package org.springframework.web.reactive.function; <ide> <add>import java.util.List; <ide> import java.util.Map; <ide> import java.util.Optional; <del>import java.util.function.Supplier; <del>import java.u...
28
Java
Java
add logs in rn android
f3d0a67a73948747a7fe7f14e503e8208d049383
<ide><path>ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java <ide> private void scheduleMountItem( <ide> ReactMarker.logFabricMarker(ReactMarkerConstants.FABRIC_COMMIT_END, null, commitNumber); <ide> <ide> if (ENABLE_FABRIC_LOGS) { <del> FLog.e( <add> FLog.i( <ide> ...
1
Ruby
Ruby
keep state around for nested calls to #suppress
25801cfe78a124e868d7be068febf628d5fc1247
<ide><path>activerecord/lib/active_record/suppressor.rb <ide> module Suppressor <ide> <ide> module ClassMethods <ide> def suppress(&block) <add> previous_state = SuppressorRegistry.suppressed[name] <ide> SuppressorRegistry.suppressed[name] = true <ide> yield <ide> ensure <del> ...
2
Javascript
Javascript
implement "old" lifecycle hooks
168a72ac081f9544b8463d4c04d4b98fa0265d0a
<ide><path>packages/ember-glimmer/lib/components/curly-component.js <ide> class CurlyComponentManager { <ide> } <ide> <ide> didCreate({ component }) { <del> // component.trigger('didInsertElement'); <add> component.trigger('didInsertElement'); <ide> // component.trigger('didRender'); <ide> component....
3
Text
Text
improve description of urlobject.query
8f05611a5c2c552e7001f77c6ae6a4fd166f7fdd
<ide><path>doc/api/url.md <ide> No decoding of the `path` is performed. <ide> <ide> ### urlObject.query <ide> <del>The `query` property is either the "params" portion of the query string ( <del>everything *except* the leading ASCII question mark (`?`), or an object <del>returned by the [`querystring`][] module's `par...
1
PHP
PHP
add hasnot and wherehasnot method
c7e15e9b652f4cbb3de46919ba9eb1f66b9b47cc
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> class Builder { <ide> * <ide> * @var array <ide> */ <del> protected $eagerLoad = array(); <add> protected $eagerLoad = []; <ide> <ide> /** <ide> * All of the registered builder macros. <ide> * <ide> * @var array <ide> */ <del> protected $macr...
1
Python
Python
add hyperparameter search to trainer
3a7fdd3f5214d1ec494379e7c65b4eb08146ddb0
<ide><path>src/transformers/__init__.py <ide> from .hf_argparser import HfArgumentParser <ide> <ide> # Integrations <del>from .integrations import is_comet_available, is_tensorboard_available, is_wandb_available <add>from .integrations import ( <add> is_comet_available, <add> is_optuna_available, <add> is_ray...
5
Go
Go
remove unused method resolveindex
19858ff1b1c9a6e2e0a57c1e0f972934822306b6
<ide><path>registry/service.go <ide> type Service interface { <ide> LookupPullEndpoints(hostname string) (endpoints []APIEndpoint, err error) <ide> LookupPushEndpoints(hostname string) (endpoints []APIEndpoint, err error) <ide> ResolveRepository(name reference.Named) (*RepositoryInfo, error) <del> ResolveIndex(name ...
1
Python
Python
fix vocab size
d064009b72c4a29cd66b6c633dcd8c3ad5ab6dca
<ide><path>transformers/convert_xlm_roberta_original_pytorch_checkpoint_to_pytorch.py <ide> def convert_roberta_checkpoint_to_pytorch(roberta_checkpoint_path, pytorch_dump_ <ide> roberta = FairseqRobertaModel.from_pretrained(roberta_checkpoint_path, bpe = 'sentencepiece') <ide> roberta.eval() # disable dropout...
1
Go
Go
fix error message in container creation
8a68315c38d7e62b140e145766e842de07d0422d
<ide><path>daemon/daemon.go <ide> func (daemon *Daemon) ImageHistory(name string) ([]*types.ImageHistory, error) { <ide> func (daemon *Daemon) GetImageID(refOrID string) (image.ID, error) { <ide> // Treat as an ID <ide> if id, err := digest.ParseDigest(refOrID); err == nil { <add> if _, err := daemon.imageStore.Get(...
2
Ruby
Ruby
ensure response.stream is closed
c41b768a7846ee7ca4a1249a33603971359c2eb3
<ide><path>actionpack/lib/action_controller/metal/live.rb <ide> module ActionController <ide> # response.stream.write "hello world\n" <ide> # sleep 1 <ide> # } <add> # ensure <ide> # response.stream.close <ide> # end <ide> # end
1
Ruby
Ruby
fix mistype when calling argumenterror
90ec1f75e83ea98393fc6312e01636b8abef32b1
<ide><path>activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb <ide> def type_to_sql(type, limit: nil, precision: nil, scale: nil, array: nil, enum_t <ide> else raise ArgumentError, "No integer type has byte size #{limit}. Use a numeric with scale 0 instead." <ide> ...
1