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
reduce explicit branches in dependency expansion
27f2aa5f2c0a9ee5679fcbd5cd6f0d31a6b0bd29
<ide><path>Library/Homebrew/formula_installer.rb <ide> def pour_bottle? install_bottle_options={:warn=>false} <ide> true <ide> end <ide> <del> def install_bottle_for_dep?(dep, build) <add> def install_bottle_for?(dep, build) <add> return pour_bottle? if dep == f <ide> return false if build_from_source? ...
1
Javascript
Javascript
use expressioncompile function directly
1aa99c08e9ccd515a333478f00b361f40c622002
<ide><path>src/apis.js <ide> var angularArray = { <ide> descending = $.charAt(0) == '-'; <ide> $ = $.substring(1); <ide> } <del> var get = $ ? angular['Function']['compile']($) : identity; <add> var get = $ ? expressionCompile($).fnSelf : identity; <ide> return reverse(function(a,b...
1
Javascript
Javascript
replace closure functions with arrow functions
93fb60d550df49b0b96fa49675e416e21a5c1824
<ide><path>test/parallel/test-http-write-callbacks.js <ide> let clientEndCb = false; <ide> let clientIncoming = ''; <ide> const clientIncomingExpect = 'asdffoobar'; <ide> <del>process.on('exit', function() { <add>process.on('exit', () => { <ide> assert(serverEndCb); <ide> assert.strictEqual(serverIncoming, serverI...
1
Ruby
Ruby
drop space between "-isystem" and path
6fc6dd791badba63e708623c6db5ecd3d8cb4ac6
<ide><path>Library/Homebrew/extend/ENV/std.rb <ide> def setup_build_environment(formula=nil) <ide> <ide> unless HOMEBREW_PREFIX.to_s == '/usr/local' <ide> # /usr/local is already an -isystem and -L directory so we skip it <del> self['CPPFLAGS'] = "-isystem #{HOMEBREW_PREFIX}/include" <add> self['CP...
1
Java
Java
implement tostring() for synthesized annotations
1e50d8d5c2ea044885c4f98198b96a773f3e8c97
<ide><path>spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java <ide> static AnnotationAttributes getAnnotationAttributes(AnnotatedElement annotatedEl <ide> AnnotationAttributes attrs = new AnnotationAttributes(annotationType); <ide> for (Method method : getAttributeMethods(annotationT...
3
Go
Go
remove racy test causing tests to stall
a9d6eef2386a3d08840e2a30bd8d6f2ae3679688
<ide><path>integration-cli/docker_cli_start_test.go <del>package main <del> <del>import ( <del> "os/exec" <del> "testing" <del>) <del> <del>// Regression test for #3364 <del>func TestDockerStartWithPortCollision(t *testing.T) { <del> runCmd := exec.Command(dockerBinary, "run", "--name", "fail", "-p", "25:25", "busybox"...
1
Ruby
Ruby
use guard clauses
84b2276fd866342cd84c6ada8ffc13c5c209c3cf
<ide><path>Library/Homebrew/cask/lib/hbc/cli/search.rb <ide> def self.render_results(exact_match, partial_matches, search_term) <ide> ohai "Exact match" <ide> puts exact_match <ide> end <del> unless partial_matches.empty? <del> if extract_regexp search_term <del> o...
7
Javascript
Javascript
update the license url in the header
323270f6dcc4fdbef0e6d81f5e37b315fbffc599
<ide><path>src/intro.js <ide> * <ide> * Copyright 2010, John Resig <ide> * Dual licensed under the MIT or GPL Version 2 licenses. <del> * http://docs.jquery.com/License <add> * http://jquery.org/license <ide> * <ide> * Includes Sizzle.js <ide> * http://sizzlejs.com/
1
Text
Text
remove code sample
110df65101894d5f3396ece4549e3acb55337bef
<ide><path>guides/source/getting_started.md <ide> create test/controllers/articles_controller_test.rb <ide> invoke helper <ide> create app/helpers/articles_helper.rb <ide> invoke test_unit <del>invoke assets <del>invoke scss <del>create app/assets/stylesheets/articles.scss <ide> ``` <ide> <ide> The ...
1
Go
Go
add kill for other drivers on restart
5b9069bd990dca0a35d8e490c6f6b56d27163bb8
<ide><path>runtime/runtime.go <ide> func (runtime *Runtime) Register(container *Container) error { <ide> if container.State.IsGhost() { <ide> utils.Debugf("killing ghost %s", container.ID) <ide> <add> existingPid := container.State.Pid <ide> container.State.SetGhost(false) <ide> container.State.SetStopped...
1
Python
Python
replace f-string in root setup.py
ca11e4e2ebde67743c3ce09ccd265ffd855dbf4f
<ide><path>setup.py <ide> <ide> # The first version not in the `Programming Language :: Python :: ...` classifiers above <ide> if sys.version_info >= (3, 10): <add> fmt = "NumPy {} may not yet support Python {}.{}." <ide> warnings.warn( <del> f"NumPy {VERSION} may not yet support Python " <del> f"...
1
Python
Python
update examples and demo
9d54084ce18ff9e14f87356d83fff25f636a57b8
<ide><path>demos/compute_demo.py <ide> def get_demo_driver(provider_name='RACKSPACE', *args, **kwargs): <ide> >>> driver.load_nodes() <ide> >>> images = driver.load_images() <ide> >>> sizes = driver.load_sizes() <del> <add> <ide> # And maybe do more than that: <ide> >>> node = driver.create_node...
3
PHP
PHP
use $this in closure
afe7528cc296b0ea873a1f608a819df70e0a6496
<ide><path>tests/Mail/MailMailerTest.php <ide> public function testGlobalFromIsRespectedOnAllMessages() <ide> $view->shouldReceive('render')->once()->andReturn('rendered.view'); <ide> $this->setSwiftMailer($mailer); <ide> $mailer->alwaysFrom('taylorotwell@gmail.com', 'Taylor Otwell'); <del> ...
1
Python
Python
set version to 2.0.14
8612b758903216f81b05c6f50da22698696b4243
<ide><path>spacy/about.py <ide> # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py <ide> <ide> __title__ = 'spacy' <del>__version__ = '2.0.14.dev1' <add>__version__ = '2.0.14' <ide> __summary__ = 'Industrial-strength Natural Language Processing (NLP) with Python and Cython' <ide> __uri__ = 'https:/...
1
Python
Python
fix fine tuning
18b64e79ecdb13ac37e9d0d62324668ca57bf644
<ide><path>spacy/_ml.py <ide> def Tok2Vec(width, embed_size, preprocess=None): <ide> >> uniqued(embed, column=5) <ide> >> drop_layer( <ide> Residual( <del> (ExtractWindow(nW=1) >> BN(Maxout(width, width*3))) <add> (Extract...
1
Javascript
Javascript
add path to the module object
d0043136e5d01517a3bf5e86ae725e2f74519909
<ide><path>lib/internal/modules/cjs/loader.js <ide> function updateChildren(parent, child, scan) { <ide> children.push(child); <ide> } <ide> <del>function Module(id, parent) { <add>function Module(id = '', parent) { <ide> this.id = id; <add> this.path = path.dirname(id); <ide> this.exports = {}; <ide> this....
1
PHP
PHP
use a relative path to the plugins file
053bb058fd072a4e19cf12712780aa5b2ac7aaad
<ide><path>src/Core/Plugin.php <ide> protected static function _loadConfig() <ide> return; <ide> } <ide> <del> $vendorFile = ROOT . DS . 'vendor' . DS . 'cakephp-plugins.php'; <add> $vendorFile = dirname(dirname(dirname(dirname(__DIR__)))) . DS . 'cakephp-plugins.php'; <ide> i...
1
Javascript
Javascript
allow operation with handlebars runtime only
a2fee026a5e38522b4ec8e858d13c4c4a825be8a
<ide><path>packages/ember-handlebars/lib/ext.js <ide> Ember.Handlebars.helpers = objectCreate(Handlebars.helpers); <ide> @constructor <ide> */ <ide> Ember.Handlebars.Compiler = function() {}; <del>Ember.Handlebars.Compiler.prototype = objectCreate(Handlebars.Compiler.prototype); <add> <add>// Handlebars.Compiler does...
1
PHP
PHP
fix version number
8c1baedfa603b5c217b7881989b40b1633a2982c
<ide><path>tests/TestCase/Http/UriTest.php <ide> * <ide> * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) <ide> * @link https://cakephp.org CakePHP(tm) Project <del> * @since 4.3.0 <add> * @since 4.4.0 <ide> * @license https://opensource.org/l...
1
Python
Python
fix comma spelling from coma to comma (#722)
dd9f0b3f2e859d24a2dd442fe2bd45fd08a9ac86
<ide><path>searches/linear_search.py <ide> def linear_search(sequence, target): <ide> <ide> <ide> if __name__ == '__main__': <del> user_input = raw_input('Enter numbers separated by coma:\n').strip() <add> user_input = raw_input('Enter numbers separated by comma:\n').strip() <ide> sequence = [int(item) for ...
1
PHP
PHP
correct collection sort key test
20b12e7e5ef705633cea1eb768eca9b9578c3f0c
<ide><path>tests/Support/SupportCollectionTest.php <ide> public function testSortKeys() <ide> { <ide> $data = new Collection(['b' => 'dayle', 'a' => 'taylor']); <ide> <del> $this->assertEquals(['a' => 'taylor', 'b' => 'dayle'], $data->sortKeys()->all()); <add> $sortData = $data->sortKeys()->a...
1
Ruby
Ruby
fix example in migration docs [ci skip]
07a3c2103c0db8f960ea2ba2a8748a2fe2bed206
<ide><path>activerecord/lib/active_record/migration.rb <ide> def initialize <ide> # <ide> # class AddSystemSettings < ActiveRecord::Migration <ide> # def up <del> # create_table system_settings: do |t| <add> # create_table :system_settings do |t| <ide> # t.string :name <ide> # ...
1
PHP
PHP
add test for database type injection
2bdec07d81bff40f29f698aaa2d3e625eb9f8e07
<ide><path>tests/TestCase/Database/TypeTest.php <ide> public function testMapAndBuild() <ide> $this->assertInstanceOf($fooType, $type); <ide> $this->assertEquals('foo', $type->getName()); <ide> $this->assertEquals('text', $type->getBaseType()); <add> <add> $fooType = new FooType(); <add> ...
1
PHP
PHP
remove getmock() deprecations
197d2d773439c9acc5f4717858c82c432d3c4bf5
<ide><path>tests/TestCase/ORM/Association/BelongsToManyTest.php <ide> class BelongsToManyTest extends TestCase <ide> public function setUp() <ide> { <ide> parent::setUp(); <del> $this->tag = $this->getMock( <del> 'Cake\ORM\Table', <del> ['find', 'delete'], <del> [...
13
Java
Java
expose method to set custom baseline function
9c2caaac3e0a0f932ff67e4e80f90b6c5626b56f
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNode.java <ide> import com.facebook.yoga.YogaDirection; <ide> import com.facebook.yoga.YogaFlexDirection; <ide> import com.facebook.yoga.YogaJustify; <add>import com.facebook.yoga.YogaBaselineFunction; <ide> import com.facebook.yoga.YogaMeasu...
1
PHP
PHP
keep layout in line with other new pages
387156f2fb9b6e1ea983c1c94747a6f0f49fe1c5
<ide><path>resources/views/home.blade.php <ide> @extends('layouts.app') <ide> <ide> @section('content') <del><div class="row"> <del> <div class="col-sm-10 col-sm-offset-1"> <del> <div class="panel panel-default"> <del> <div class="panel-heading">Dashboard</div> <del> <div class="panel-body"> <del> <del> Applic...
1
Go
Go
move functions to be in line with "secret" tests
25424cf7722ca6da3b4c7f667ec83a6d0e63fd1b
<ide><path>integration/config/config_test.go <ide> import ( <ide> "gotest.tools/v3/skip" <ide> ) <ide> <add>func TestConfigInspect(t *testing.T) { <add> skip.If(t, testEnv.DaemonInfo.OSType == "windows") <add> <add> defer setupTest(t)() <add> d := swarm.NewSwarm(t, testEnv) <add> defer d.Stop(t) <add> c := d.NewClien...
1
Python
Python
extend unicode character block for sinhala
a3509f67d48d8ba9f7eb83201ef38de4165cd50f
<ide><path>spacy/lang/char_classes.py <ide> _russian_upper = r"ЁА-Я" <ide> _russian = r"ёа-яЁА-Я" <ide> <del>_sinhala = r"\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6" <add>_sinhala = r"\u0D80-\u0DFF" <ide> <ide> _tatar_lower = r"әөүҗңһ" <ide> _tatar_upper = r"ӘӨҮҖҢҺ" <ide><path>spacy/tests/pipeline/tes...
2
Text
Text
add getir to in the wild!
dee304b222d355b03794aa063f39e3ee13997730
<ide><path>INTHEWILD.md <ide> Currently, **officially** using Airflow: <ide> 1. [GeneCards](https://www.genecards.org) [[@oferze](https://github.com/oferze)] <ide> 1. [Gentner Lab](http://github.com/gentnerlab) [[@neuromusic](https://github.com/neuromusic)] <ide> 1. [Get Simpl](https://getsimpl.com/) [[@rootcss](https:...
1
Text
Text
update some words to commons spanish words
2a61d4327cd618f4a2d8870e7361c9875b03ab2f
<ide><path>curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.spanish.md <ide> localeTitle: Convertir una imagen en un enlace <ide> --- <ide> <ide> ## Description <del><section id="description"> Puede hacer que los elementos en los enlaces por los nidos de ellos dentr...
1
Javascript
Javascript
fix skeleton.pose() bug
d2933332783b3b0d113f048dfb8dd7cc5999320b
<ide><path>src/objects/Skeleton.js <ide> Object.assign( THREE.Skeleton.prototype, { <ide> <ide> if ( bone ) { <ide> <del> if ( bone.parent ) { <add> if ( bone.parent instanceof THREE.Bone ) { <ide> <ide> bone.matrix.getInverse( bone.parent.matrixWorld ); <ide> bone.matrix.multiply( bone.matrixWorl...
1
Text
Text
update title to reference packages too
133bf0cedb9e5ed93ddd2039ebedc9826c9ce251
<ide><path>docs/upgrading/upgrading-your-ui-theme.md <del># Upgrading your UI Theme <add># Upgrading your UI Theme or Package Stylesheets <ide> <del>In addition to changes in Atom's scripting API, we'll also be making some breaking changes to Atom's DOM structure, requiring style sheets in both packages and themes to ...
1
Javascript
Javascript
fix another outlet assertion
793613059d3e029e17b38a89c67d592b4f535164
<ide><path>packages/ember-htmlbars/lib/keywords/real_outlet.js <ide> import merge from "ember-metal/merge"; <ide> import { get } from "ember-metal/property_get"; <ide> import ComponentNode from "ember-htmlbars/system/component-node"; <add>import { isStream } from "ember-metal/streams/utils"; <ide> import topLevelViewTe...
2
Python
Python
fix dummy doctest to work with pypy
503bbe3359668f7e3e8b3311f255e345623c1247
<ide><path>libcloud/storage/drivers/dummy.py <ide> def download_object_as_stream(self, obj, chunk_size=None): <ide> ... iterator=DummyFileObject(5, 10), extra={}) <ide> >>> stream = container.download_object_as_stream(obj) <ide> >>> stream #doctest: +ELLIPSIS <del> <closed file '<unini...
1
Ruby
Ruby
fix error with absolute alias paths
0a7063ac511df5f325b63588ef3524ca2b70d4fe
<ide><path>Library/Homebrew/formulary.rb <ide> def self.loader_for(ref, from: nil) <ide> return TapLoader.new(ref, from: from) <ide> end <ide> <del> return FromPathLoader.new(ref) if File.extname(ref) == ".rb" && Pathname.new(ref).expand_path.exist? <add> pathname_ref = Pathname.new(ref) <add> retur...
1
PHP
PHP
relax email validation rules even more
dc34d80f6f622e883b8c7db9ef489bd514c8701f
<ide><path>lib/Cake/Network/Email/CakeEmail.php <ide> class CakeEmail { <ide> <ide> /** <ide> * Regex for email validation <del> * If null, filter_var() will be used. <add> * <add> * If null, filter_var() will be used. Use the emailPattern() method <add> * to set a custom pattern.' <ide> * <ide> * @var string <ide>...
2
Text
Text
fix reference to googletest test fixture
5947862801a98b885ead6b8d24e29a383345b726
<ide><path>doc/guides/writing-tests.md <ide> Nightly coverage reports for the Node.js master branch are available at <ide> [all maintained branches]: https://github.com/nodejs/lts <ide> [directory structure overview]: https://github.com/nodejs/node/blob/master/test/README.md#test-directories <ide> [node.green]: https:/...
1
Ruby
Ruby
extend ssl checks
51956d343a5b38a683db9afe51e39dabbd715ac0
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_urls <ide> problem "Savannah homepages should be https:// links (URL is #{homepage})." <ide> end <ide> <add> if homepage =~ %r[^http://((?:trac|tools|www)\.)?ietf\.org] <add> problem "ietf homepages should be https:// links (URL is #{homepage})...
1
Javascript
Javascript
use const in view_history.js
cf5af97b0240a95dfbd0a5e7e3425ce60ee7350c
<ide><path>web/view_history.js <ide> * See the License for the specific language governing permissions and <ide> * limitations under the License. <ide> */ <add>/* eslint no-var: error, prefer-const: error */ <ide> <ide> const DEFAULT_VIEW_HISTORY_CACHE_SIZE = 20; <ide> <ide> class ViewHistory { <ide> this.cach...
1
Python
Python
move tests under correct test class
e1aa7d92721fd09c1188a04f546711c69fbb45ed
<ide><path>tests/jobs/test_scheduler_job.py <ide> def test_mapped_dag(self, dag_id, session): <ide> dr.refresh_from_db(session) <ide> assert dr.state == DagRunState.SUCCESS <ide> <add> def test_should_mark_dummy_task_as_success(self): <add> dag_file = os.path.join( <add> os.path.di...
1
Javascript
Javascript
add a css class while the element is held down
52a55ec61895951999cb0d74e706725b965e9c9f
<ide><path>src/ngMobile/directive/ngClick.js <ide> <ide> /** <ide> * @ngdoc directive <del> * @name ngMobile.directive:ngTap <add> * @name ngMobile.directive:ngClick <ide> * <ide> * @description <del> * Specify custom behavior when element is tapped on a touchscreen device. <del> * A tap is a brief, down-and-up tou...
2
Ruby
Ruby
use the formula stored in the bottle
3ed832d4f0465aa9d938d3f4867ad12aaf394710
<ide><path>Library/Homebrew/exceptions.rb <ide> def initialize(resource) <ide> # raised when a single patch file is not found and apply hasn't been specified <ide> class MissingApplyError < RuntimeError; end <ide> <del>class BottleVersionMismatchError < RuntimeError <del> def initialize(bottle_file, bottle_version, f...
3
Javascript
Javascript
fix eslint issues
54ecdd9d7e1a838521d5660253d8004d760048cf
<ide><path>src/lib/create/check-overflow.js <ide> import { YEAR, MONTH, DATE, HOUR, MINUTE, SECOND, MILLISECOND, WEEK, WEEKDAY } f <ide> import getParsingFlags from '../create/parsing-flags'; <ide> <ide> export default function checkOverflow (m) { <del> var overflow; <del> var a = m._a; <add> var overflow, <a...
86
PHP
PHP
fix lengthawarepaginator docblocks
5f40dc6e547043d5fd9b8f7d1baaaeec4d953c53
<ide><path>src/Illuminate/Pagination/LengthAwarePaginator.php <ide> protected function setCurrentPage($currentPage, $pageName) <ide> * <ide> * @param string $view <ide> * @param array $data <del> * @return string <add> * @return \Illuminate\Support\HtmlString <ide> */ <ide> public fu...
1
Text
Text
use dfn instead of code tag
bfa5c2628832edd6bb2711b7785ede8aa188a070
<ide><path>curriculum/challenges/english/01-responsive-web-design/applied-visual-design/change-an-elements-relative-position.english.md <ide> forumTopicId: 301044 <ide> <ide> ## Description <ide> <section id='description'> <del>CSS treats each HTML element as its own box, which is usually referred to as the <code>CSS ...
75
Python
Python
improve history perf
bd6e682aa781ba934b28ddff76b3b6f1d7f2f516
<ide><path>glances/attribute.py <ide> def history_reset(self): <ide> def history_add(self, value): <ide> """Add a value in the history <ide> """ <del> if self._history_max_size is None or self.history_len() < self._history_max_size: <del> self._history.append(value) <del> el...
1
PHP
PHP
add unit tests for droptimestamps() function
00f62c86e2d03e5ede76496780975c1c0f9163e8
<ide><path>tests/Database/DatabaseMySqlSchemaGrammarTest.php <ide> public function testDropForeign() <ide> } <ide> <ide> <add> public function testDropTimestamps() <add> { <add> $blueprint = new Blueprint('users'); <add> $blueprint->dropTimestamps(); <add> $statements = $blueprint->toSql($this->getConnection(), $...
3
Text
Text
add changelog entry for 42c3537 [ci skip]
54c2c6de1769570ecc13ddfb733e80e1086a21ef
<ide><path>actionview/CHANGELOG.md <add>* Mark arrays of translations as trusted safe by using the `_html` suffix. Example: <add> <add> en: <add> foo_html: <add> - "One" <add> - "<strong>Two</strong>" <add> - "Three &#128075; &#128578;" <add> <add> *Juan Broullon* <...
1
Javascript
Javascript
use spies instead of monkey patching
f2e2475c62bb442cecac4b453c75bdc4c7243511
<ide><path>spec/text-editor-component-spec.js <ide> describe('TextEditorComponent', () => { <ide> fakeWindow.appendChild(element) <ide> jasmine.attachToDOM(fakeWindow) <ide> <del> component.getWindowInnerWidth = () => fakeWindow.getBoundingClientRect().width <del> component.getWindowInnerHeight =...
1
Text
Text
remove some incorrect bash symbols
2d1d4684f0fc752aae7e41af03a0f1589f11ee00
<ide><path>docs/userguide/networking/get-started-overlay.md <ide> $ docker network create \ <ide> <ide> # Create an nginx service and extend the my-multi-host-network to nodes where <ide> # the service's tasks run. <del>$ $ docker service create --replicas 2 --network my-multi-host-network --name my-web nginx <add>$ d...
2
Python
Python
add tests for caching of get/head requests using
44f280c3abf3832a4a43be4fc52dc807f4cb6a70
<ide><path>rest_framework/runtests/settings.py <ide> } <ide> } <ide> <add>CACHES = { <add> 'default': { <add> 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', <add> } <add>} <add> <ide> # Local time zone for this installation. Choices can be found here: <ide> # http://en.wikipedia.org/wiki/...
2
Javascript
Javascript
add cases for unescape & unescapebuffer
02acea92d22217e11b9eb59abf9ff261a56d1a9e
<ide><path>test/parallel/test-querystring.js <ide> const qsNoMungeTestCases = [ <ide> ['trololol=yes&lololo=no', {'trololol': 'yes', 'lololo': 'no'}] <ide> ]; <ide> <add>const qsUnescapeTestCases = [ <add> ['there is nothing to unescape here', <add> 'there is nothing to unescape here'], <add> ['there%20are%20sev...
1
Javascript
Javascript
add mdn link for iterator
0c712b67434b250f48460c06dce6877dd439a7eb
<ide><path>tools/doc/type-parser.js <ide> 'use strict'; <ide> const nodeDocUrl = ''; <del>const jsDocUrl = 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/' + <del> 'Reference/Global_Objects/'; <del>const jsPrimitiveUrl = 'https://developer.mozilla.org/en-US/docs/Web/' + <del> ...
1
Javascript
Javascript
fix handling of keywords in bind helpers
eb0fa874223641e8905077f2ab89e1676cea5117
<ide><path>packages/ember-handlebars/lib/helpers/binding.js <ide> function bind(property, options, preserveContext, shouldDisplay, valueNormalizer <ide> inverse = options.inverse, <ide> view = data.view, <ide> currentContext = this, <del> pathRoot, path, normalized, <del> observer, i; <add> ...
2
Text
Text
add player.dispose() api documentation to api.md
a726b075382ee628ae5d494ecf14d1609d0dabde
<ide><path>docs/api.md <ide> myPlayer.cancelFullScreen(); <ide> ``` <ide> <ide> <add>### dispose() ### <add>Destroys the video player and does any necessary cleanup. This is especially helpfull if you are dynamically adding and removing videos to/from the DOM. Use after removing videos from the DOM <add>```js <add>my...
1
Python
Python
improve style of some comments
9adb43e44b46a287db94370d5081c542bf91f5db
<ide><path>keras/engine/training.py <ide> def _fit_loop(self, f, ins, out_labels=None, batch_size=32, <ide> batch_ids = index_array[batch_start:batch_end] <ide> try: <ide> if isinstance(ins[-1], float): <del> # do not slice the training phase fl...
1
Javascript
Javascript
handle ctrl/cmd+g for html findbar
a15d3d6622ec28fa4fbb710cbc3373ff68a79221
<ide><path>web/viewer.js <ide> window.addEventListener('keydown', function keydown(evt) { <ide> } <ide> } <ide> <add> // CTRL or META with or without SHIFT. <add> if (cmd == 1 || cmd == 8 || cmd == 5 || cmd == 12) { <add> switch (evt.keyCode) { <add> case 71: // g <add> if (!PDFView.supportsInte...
1
Javascript
Javascript
remove outdated unittest
fbd97de07bb063620185533e8967b94b474f3463
<ide><path>test/RecordIdsPlugin.test.js <del>/* globals describe, before, it */ <del>"use strict"; <del> <del>const should = require("should"); <del>const path = require("path"); <del> <del>const webpack = require("../lib/webpack"); <del>const identifierUtils = require("../lib/util/identifier"); <del> <del>describe("Re...
1
Ruby
Ruby
check undeclared dependencies for `--test`
080ddd8804be14f4b18f9558b58270456ff313c2
<ide><path>Library/Homebrew/dev-cmd/linkage.rb <ide> <ide> module Homebrew <ide> def linkage <del> found_broken_dylibs = false <ide> ARGV.kegs.each do |keg| <ide> ohai "Checking #{keg.name} linkage" if ARGV.kegs.size > 1 <ide> result = LinkageChecker.new(keg) <ide> if ARGV.include?("--test")...
1
Java
Java
use assertthat from hamcrest instead of junit 4
c79fdfb66871a6bb2d643f0d4a0296bbb4c0bac0
<ide><path>spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AbstractAspectJAdvisorFactoryTests.java <ide> import org.springframework.util.ObjectUtils; <ide> <ide> import static org.hamcrest.Matchers.*; <add>import static org.hamcrest.MatcherAssert.assertThat; <ide> import static org.junit.Assert.*; ...
102
PHP
PHP
improve doc block
8f0c385874d3baa35709be402ef40af339743f3d
<ide><path>src/ORM/Associations.php <ide> public function keys() { <ide> /** <ide> * Get an array of associations matching a specific type. <ide> * <del> * @param string $class <del> * @return array <add> * @param string $class The type of associations you want. For example 'BelongsTo' <add> * @return array An array ...
1
Python
Python
add update stats time
877f31cbad9f6928e81a4737e2df5dc6f72f6d96
<ide><path>glances/__init__.py <ide> def start(config, args): <ide> <ide> # Start the main loop <ide> logger.debug("Glances started in {} seconds".format(start_duration.get())) <del> mode.serve_forever() <add> if args.stdout_issue: <add> # Serve once for issue/test mode <add> mode.serve_is...
3
PHP
PHP
fix coding standards in config/
b06e15ce6f3c045d9a7e431aadbaac66a84e1a3a
<ide><path>lib/Cake/Config/routes.php <ide> * <ide> * You can disable the connection of default routes by deleting the require inside APP/Config/routes.php. <ide> */ <del> $prefixes = Router::prefixes(); <add>$prefixes = Router::prefixes(); <ide> <del> if ($plugins = CakePlugin::loaded()) { <del> App::uses('Plugin...
1
Text
Text
remove old system_errors
e02f511dccaf41f103403936359d43ce2ad86d1e
<ide><path>doc/api/errors.md <ide> The number of frames captured by the stack trace is bounded by the smaller of <ide> `Error.stackTraceLimit` or the number of available frames on the current event <ide> loop tick. <ide> <del>System-level errors are generated as augmented `Error` instances, which are <del>detailed [he...
2
Text
Text
add user import. refs #599
075b8c1037588a590360ab5290b25648367a26c5
<ide><path>docs/tutorial/4-authentication-and-permissions.md <ide> Because `'snippets'` is a *reverse* relationship on the User model, it will not <ide> <ide> We'll also add a couple of views to `views.py`. We'd like to just use read-only views for the user representations, so we'll use the `ListAPIView` and `Retriev...
1
Javascript
Javascript
remove opacity property
88f399263d2718975f94fd5d2ca1cdc30db9e651
<ide><path>examples/js/loaders/SVGLoader.js <ide> THREE.SVGLoader.prototype = Object.assign( Object.create( THREE.Loader.prototype <ide> <ide> } <ide> <del> path.opacity = style.opacity || 1.0; <del> <ide> transformPath( path, currentTransform ); <ide> <ide> paths.push( path );
1
Javascript
Javascript
'(
9c27acebf97605027a38ea06d0262a3523396100
<ide><path>src/renderers/webgl/WebGLMaterials.js <del>import { BackSide } from "../../constants"; <add>import { BackSide } from "../../constants.js"; <ide> <ide> /** <del> * @author taphos / https://github.com/taphos <add> * @author mrdoob / http://mrdoob.com/ <ide> * <ide> * This is a helper which deals with webgl ...
1
Ruby
Ruby
remove request and cookies helper methods
7191b038d829a1b5ae917ebb9298091c41f065b0
<ide><path>lib/action_cable/server.rb <ide> def worker_pool <ide> self.class.worker_pool <ide> end <ide> <del> def request <del> @request ||= ActionDispatch::Request.new(env) <del> end <del> <del> def cookies <del> request.cookie_jar <del> end <del> <ide> private <ide> def bro...
1
PHP
PHP
remove unused methods
4e29066129d270771ea4a4a894d440f7bcd90547
<ide><path>src/Console/Command/Task/ProjectTask.php <ide> public function bake($path) { <ide> return true; <ide> } <ide> <del>/** <del> * Enables Configure::read('Routing.prefixes') in /app/Config/routes.php <del> * <del> * @param string $name Name to use as admin routing <del> * @return bool Success <del> */ <del>...
2
Ruby
Ruby
add test for installrenamed module
3b7c5af4315acdd8160d2308445a8ef6fe5141e6
<ide><path>Library/Homebrew/test/test_pathname.rb <ide> require 'testing_env' <ide> require 'tmpdir' <ide> require 'extend/pathname' <add>require 'install_renamed' <ide> <ide> class PathnameExtensionTests < Homebrew::TestCase <ide> include FileUtils <ide> def test_install_creates_intermediate_directories <ide> @...
1
PHP
PHP
fix cs errors
3913bc0996fdb0eb13b2b9916cdb0e740418511e
<ide><path>src/Http/Runner.php <ide> */ <ide> namespace Cake\Http; <ide> <del>use Psr\Http\Message\ServerRequestInterface; <ide> use Psr\Http\Message\ResponseInterface; <add>use Psr\Http\Message\ServerRequestInterface; <ide> <ide> /** <ide> * Executes the middleware stack and provides the `next` callable <ide><path...
2
PHP
PHP
add strict typing to i18n\number
c60c23ace4cc6d39accf74f1e192f84d7bde4f4c
<ide><path>src/I18n/Number.php <ide> <?php <add>declare(strict_types=1); <ide> /** <ide> * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) <ide> * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) <ide> class Number <ide> * <ide> * - `locale`: The locale name to use f...
2
Javascript
Javascript
add failing tests
36b612e8af0d10ad2178b3d20ba5c3319a9a6a1b
<ide><path>test/configCases/parsing/harmony-this/abc.js <ide> function returnThis() { <del> if(typeof this === "undefined") return "undefined"; <add> if (typeof this === "undefined") return "undefined"; <ide> return this; <ide> } <ide> <ide> var a = returnThis; <ide> var b = returnThis; <ide> <del>export { <del> a, ...
2
Python
Python
add kl divergence to metrics
999f4028295217324be0fe12487444fc510ca6f2
<ide><path>keras/metrics.py <ide> def binary_crossentropy(y_true, y_pred): <ide> return K.mean(K.binary_crossentropy(y_pred, y_true)) <ide> <ide> <add>def kullback_leibler_divergence(y_true, y_pred): <add> y_true = K.clip(y_true, K.epsilon(), 1) <add> y_pred = K.clip(y_pred, K.epsilon(), 1) <add> return ...
1
Javascript
Javascript
improve the code in test-crypto-dh
5520e40af3c3f8780ae012e8b244d4c305152870
<ide><path>test/parallel/test-crypto-dh.js <ide> let key2 = dh2.generateKeys('hex'); <ide> let secret1 = dh1.computeSecret(key2, 'hex', 'base64'); <ide> let secret2 = dh2.computeSecret(key1, 'latin1', 'buffer'); <ide> <del>assert.strictEqual(secret1, secret2.toString('base64')); <add>assert.strictEqual(secret2.toStrin...
1
PHP
PHP
add commented code
69d0c504e3ff01e0fd219e02ebac9b1c22151c2a
<ide><path>app/Providers/RouteServiceProvider.php <ide> class RouteServiceProvider extends ServiceProvider <ide> */ <ide> public const HOME = '/home'; <ide> <add> /** <add> * The controller namespace for the application. <add> * <add> * @var string|null <add> */ <add> // protected $names...
1
Ruby
Ruby
link binaries in sbin as well as bin
1c5564264514535a951ee0129022e3ff8925e778
<ide><path>Library/Homebrew/brew.h.rb <ide> def prune <ide> $d=0 <ide> <ide> dirs=Array.new <del> paths=%w[bin etc lib include share].collect {|d| HOMEBREW_PREFIX+d} <add> paths=%w[bin sbin etc lib include share].collect {|d| HOMEBREW_PREFIX+d} <ide> <ide> paths.each do |path| <ide> path.find do |path| <i...
3
Java
Java
update netty4clienthttprequestfactory buffer size
fd426aaa4df5ae08b448d21541d375f9a9d5b3a6
<ide><path>spring-web/src/main/java/org/springframework/http/client/Netty4ClientHttpRequest.java <ide> /* <del> * Copyright 2002-2014 the original author or authors. <add> * Copyright 2002-2015 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you...
2
PHP
PHP
allow base url
1a383120a5b39c501cef9cab2a835ea076cc0eb6
<ide><path>src/Illuminate/Http/Client/PendingRequest.php <ide> class PendingRequest <ide> */ <ide> protected $factory; <ide> <add> /** <add> * The base URL for the request. <add> * <add> * @var string <add> */ <add> protected $baseUrl = ''; <add> <ide> /** <ide> * The request bo...
1
Go
Go
move plugin shutdown after layerstore shtudown
4b400ecc4df4bcf245f1f751a7fd0c9c193d9dbf
<ide><path>daemon/daemon.go <ide> func (daemon *Daemon) Shutdown() error { <ide> }) <ide> } <ide> <del> // Shutdown plugins after containers. Don't change the order. <add> if daemon.layerStore != nil { <add> if err := daemon.layerStore.Cleanup(); err != nil { <add> logrus.Errorf("Error during layer Store.Cleanup...
1
Javascript
Javascript
add test for functor
d756660748bddaba66e9a642b5c1fd4ec05d4bc7
<ide><path>test/core/functor-test.js <add>require("../env"); <add>require("../../d3"); <add> <add>var vows = require("vows"), <add> assert = require("assert"); <add> <add>var suite = vows.describe("d3.functor"); <add> <add>suite.addBatch({ <add> "functor": { <add> topic: function() { <add> return d3.functor...
1
Go
Go
fix testcases that expect trailing whitespace
e16e9775d48b6cd0cc7b4a66114d1b9680aa2f31
<ide><path>cli/command/container/ps.go <ide> func runPs(dockerCli *command.DockerCli, opts *psOptions) error { <ide> if len(dockerCli.ConfigFile().PsFormat) > 0 && !opts.quiet { <ide> format = dockerCli.ConfigFile().PsFormat <ide> } else { <del> format = "table" <add> format = formatter.TableFormatKey <ide> ...
8
Python
Python
pass platformversion only for fargate launch type
068ded96cd279dcd51f5b6d1e96f09205ecf40c8
<ide><path>airflow/contrib/operators/ecs_operator.py <ide> def execute(self, context): <ide> 'overrides': self.overrides, <ide> 'startedBy': self.owner, <ide> 'launchType': self.launch_type, <del> 'platformVersion': self.platform_version, <ide> } <add> <add> ...
2
Javascript
Javascript
drop stray sample.js file
20f4c613256439962905eaba22c635cad729ffad
<ide><path>spec/sample.js <del>undefined <ide>\ No newline at end of file
1
Text
Text
add build fix from
7f6a4cccaf82627810a0d3d42118f125e4b240e4
<ide><path>docs/build-instructions/windows.md <ide> If none of this works, do install Github for Windows and use its Git shell. Make <ide> * https://github.com/TooTallNate/node-gyp/issues/297 <ide> * https://code.google.com/p/gyp/issues/detail?id=393 <ide> <add>* `script/build` stops at installing runas with '...
1
Text
Text
react proptypes challenge, improve test text
3d7af80047bac1e62e9652e8b7498659b2027a72
<ide><path>curriculum/challenges/english/03-front-end-libraries/react/use-proptypes-to-define-the-props-you-expect.english.md <ide> tests: <ide> testString: assert((function() { const mockedComponent = Enzyme.mount(React.createElement(ShoppingCart)); return mockedComponent.find('ShoppingCart').length === 1; })()); ...
1
Javascript
Javascript
remove react redundant imports on examples
44d74e399f70f04b16526a9466e0c8ddf72023fd
<ide><path>examples/analyze-bundles/pages/index.js <del>import React from 'react' <ide> import Link from 'next/link' <ide> import faker from 'faker' <ide> <ide><path>examples/api-routes-apollo-server-and-client-auth/apollo/client.js <del>import React from 'react' <ide> import Head from 'next/head' <ide> import { Apoll...
9
Javascript
Javascript
add guard to errorutils mock
4a226fc1af835db125cd7cf5a40c765096761753
<ide><path>Libraries/Utilities/__mocks__/ErrorUtils.js <ide> function reportError(error) { <ide> var ErrorUtils = { <ide> apply: jest.genMockFunction().mockImplementation(execute), <ide> applyWithGuard: jest.genMockFunction().mockImplementation(execute), <add> guard: jest.genMockFunction().mockImplementation(callb...
1
Javascript
Javascript
fix experimental syntax
21e2eae7903eab8fbfa90cd92a58db301e922973
<ide><path>packages/ember-glimmer/tests/integration/syntax/experimental-syntax-test.js <ide> import { moduleFor, RenderingTest } from '../../utils/test-case'; <ide> import { strip } from '../../utils/abstract-test-case'; <ide> import { _registerMacros, _experimentalMacros } from 'ember-glimmer'; <del>import { compileEx...
1
Javascript
Javascript
improve class transform
5f135a7f11f833233a938722615ca5e8f991fdb7
<ide><path>dist/immutable.js <ide> function Iterable(value) { <ide> return isIterable(value) ? value : Seq(value); <ide> } <del> createClass(Iterable); <del> <ide> <ide> <del> function KeyedIterable(value) { <add> createClass(KeyedIterable, Iterable); <add> function KeyedIterable(value) { <ide> ...
3
Javascript
Javascript
fix a typo.
b3f15f8d5c7f3923ead925e7d9e24724777141cc
<ide><path>server/render.js <ide> export async function renderScriptError (req, res, page, error, customFields, op <ide> res.setHeader('Content-Type', 'text/javascript') <ide> res.end(` <ide> window.__NEXT_REGISTER_PAGE('${page}', function() { <del> var error = new Error('Page not exists: ${page}')...
1
Text
Text
update urls in releasing_rails.md [ci skip]
da412b02f395c7b7a64c9d407bfebc2ec8094c58
<ide><path>RELEASING_RAILS.md <ide> Today is mostly coordination tasks. Here are the things you must do today: <ide> Do not release with a Red CI. You can find the CI status here: <ide> <ide> ``` <del>http://travis-ci.org/rails/rails <add>https://travis-ci.org/rails/rails <ide> ``` <ide> <ide> ### Is Sam Ruby happy? ...
1
Text
Text
update webassembly strategy with wasm web api
0f82afaac0cafd5298c3087e93fd7f625b043377
<ide><path>doc/contributing/maintaining-web-assembly.md <ide> APIs as important: <ide> * WebAssembly System Interface (WASI). This provides the ability for <ide> WebAssembly to interact with the outside world. Node.js currently <ide> has an implementation (see below for more details). <del>* WebAssembly streaming A...
1
Python
Python
execute message tests by default
1c7057f09cfe4c1d27439b6ef9b1549ee0fa9496
<ide><path>tools/test.py <ide> def ExpandCommand(args): <ide> return ExpandCommand <ide> <ide> <del>BUILT_IN_TESTS = ['simple', 'pummel', 'internet'] <add>BUILT_IN_TESTS = ['simple', 'pummel', 'message', 'internet'] <ide> <ide> <ide> def GetSuites(test_root):
1
Ruby
Ruby
convert softwarespec test to spec
1be7852493cee7f7af9b31cef4547aca23bebb0b
<ide><path>Library/Homebrew/test/software_spec_spec.rb <add>require "software_spec" <add> <add>RSpec::Matchers.alias_matcher :have_defined_resource, :be_resource_defined <add>RSpec::Matchers.alias_matcher :have_defined_option, :be_option_defined <add> <add>describe SoftwareSpec do <add> let(:owner) { double(name: "som...
2
Ruby
Ruby
open incomplete download in append mode
6a406763f306d88c52729343b4a65e9050f8981f
<ide><path>Library/Homebrew/cask/lib/hbc/download_strategy.rb <ide> def fetch <ide> else <ide> had_incomplete_download = temporary_path.exist? <ide> begin <del> File.open(temporary_path, "w+") do |f| <add> File.open(temporary_path, "a+") do |f| <ide> f.flock(File::LOC...
1
Go
Go
move image into sub pkg
82a5439835b0bff3ab3dfb169415948dae504d56
<ide><path>container.go <ide> import ( <ide> "github.com/dotcloud/docker/engine" <ide> "github.com/dotcloud/docker/execdriver" <ide> "github.com/dotcloud/docker/graphdriver" <add> "github.com/dotcloud/docker/image" <ide> "github.com/dotcloud/docker/links" <ide> "github.com/dotcloud/docker/nat" <ide> "github.com/d...
14
PHP
PHP
fix tests that need to change error reporting
245b5eb095116aefc6b8f808be38f9e09d4af735
<ide><path>src/Error/BaseErrorHandler.php <ide> use RuntimeException; <ide> use Throwable; <ide> <del> <ide> /** <ide> * Base error handler that provides logic common to the CLI + web <ide> * error/exception handlers. <ide><path>tests/TestCase/Error/ErrorHandlerTest.php <ide> */ <ide> class ErrorHandlerTest extends...
2
Text
Text
add step for updating doc branch
da3a52746b3ec43049dc3a8ca58b44d0188f043e
<ide><path>hack/RELEASE-CHECKLIST.md <ide> git push origin $VERSION <ide> It's very important that we don't make the tag until after the official <ide> release is uploaded to get.docker.io! <ide> <del>### 10. Go to github to merge the `bump_$VERSION` into release <add>### 10. Go to github to merge the `bump_$VERSION` ...
1
Python
Python
add --list option to migrate command
9f6e6009a44f26b9acfe3aadf76da7c29627a00b
<ide><path>django/core/management/commands/migrate.py <add># encoding: utf8 <add>from __future__ import unicode_literals <ide> from optparse import make_option <ide> from collections import OrderedDict <ide> from importlib import import_module <ide> from django.core.management.sql import custom_sql_for_model, emit_post...
2