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
Text
Text
add 3.26.1 to changelog.md
3b9eee2e6e08885ab6f93b0ce81f0e6be5a870c7
<ide><path>CHANGELOG.md <ide> - [#19441](https://github.com/emberjs/ember.js/pull/19441) Add automated publishing of weekly alpha releases to NPM <ide> - [#19462](https://github.com/emberjs/ember.js/pull/19462) Use `positional` and `named` as the argument names in `ember g helper` blueprint <ide> <add>### v3.26.1 (Mar...
1
Javascript
Javascript
improve a comment explaining ie11 fullscreen bug
8e4aac8cb03ffb88373ea99629165d82ff5eccdd
<ide><path>src/css.js <ide> function getWidthOrHeight( elem, name, extra ) { <ide> isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; <ide> <ide> // Support: IE11 only <del> // Fix for edge case in IE 11. See gh-1764 <add> // In IE 11 fullscreen elements inside of an iframe have <add> //...
1
Text
Text
add commsworld logo
745f5abc55fccdf7fb27b7ac4889bf8c8bcb5187
<ide><path>README.md <ide> Our Jenkins CI installation is hosted by [DigitalOcean](https://m.do.co/c/7e39c3 <ide> <ide> ![DigitalOcean](https://cloud.githubusercontent.com/assets/125011/26827038/4b7b5ade-4ab3-11e7-811b-fed3ab0e934d.png) <ide> <add>Our physical hardware is hosted by [Commsworld](https://www.commsworld...
1
Text
Text
add guide section about events and the emitter
e3eadc310de43a0debed49e0a9bcc4ad67cb27d9
<ide><path>docs/upgrading/upgrading-your-package.md <ide> atom.commands.dispatch workspaceElement, 'a-package:toggle' <ide> atom.commands.dispatch editorElement, 'find-and-replace:show' <ide> ``` <ide> <add>## Eventing and Disposables <add> <add>A couple large things changed with respect to events: <add> <add>1. All m...
1
Javascript
Javascript
add mouseover method to the ngscenario dsl
2f437e89781cb2b449abb685e36b26ca1cf0fff5
<ide><path>src/ngScenario/dsl.js <ide> angular.scenario.dsl('select', function() { <ide> * Usage: <ide> * element(selector, label).count() get the number of elements that match selector <ide> * element(selector, label).click() clicks an element <add> * element(selector, label).mouseover() mouseover an eleme...
2
Text
Text
fix typos in docs/templates/datasets.md
d3f4397797e566cd2ee1c9c6c1abadc67082a64d
<ide><path>docs/templates/datasets.md <ide> from keras.datasets import imdb <ide> <ide> - __Arguments:__ <ide> <del> - __path__: if you do have the data locally (at `'~/.keras/datasets/' + path`), if will be downloaded to this location (in cPickle format). <add> - __path__: if you do not have the data locally (...
1
Java
Java
add simpleannotationmeta classes and readers
7fbf3f97cdeffd7e60a7dc9b19ca59ce73cd1cea
<ide><path>spring-core/src/main/java/org/springframework/core/type/classreading/AbstractRecursiveAnnotationVisitor.java <ide> /* <del> * Copyright 2002-2018 the original author or authors. <add> * Copyright 2002-2019 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "...
18
Ruby
Ruby
add documentation to generated routes
bfafa999ddaa203224ac0222203517a0d2a3f6bf
<ide><path>guides/code/getting_started/config/routes.rb <ide> # just remember to delete public/index.html. <ide> root :to => "welcome#index" <ide> <del> # See how all your routes lay out with "rake routes" <add> # See how all your routes lay out by running `$ rake routes` <add> # or by visiting `/rails/info/rou...
2
Text
Text
post about 0.11.1
223f22a30d097e1c878d14cf666858e3bb3046c9
<ide><path>doc/blog/release/v0.11.1.md <add>date: Fri Apr 19 09:11:40 PDT 2013 <add>version: 0.11.1 <add>category: release <add>title: Node v0.11.1 (Unstable) <add>slug: node-v0-11-1-unstable <add> <add>2013.04.19, Version 0.11.1 (Unstable) <add> <add>* V8: upgrade to 3.18.0 <add> <add>* uv: Upgrade to v0.11.1 <add> <a...
1
Javascript
Javascript
add namedchunkgroups tests
e85d9d84478da447d93634832c780debed5d8d21
<ide><path>test/Stats.test.js <ide> const webpack = require(".."); <ide> const MemoryFs = require("memory-fs"); <ide> <del>describe("Stats", () => { <del> it("should print env string in stats", done => { <del> const compiler = webpack({ <del> context: __dirname, <del> entry: "./fixtures/a" <del> }); <add>const c...
2
PHP
PHP
add space between lines of code
4a38f403c75208cecab46ae2f05410cf351e741a
<ide><path>src/Illuminate/Validation/Validator.php <ide> protected function validateRequiredIf($attribute, $value, $parameters) <ide> $this->requireParameterCount(2, $parameters, 'required_if'); <ide> <ide> $data = array_get($this->data, $parameters[0]); <add> <ide> $values = array_slice($parameters, 1); <ide> ...
1
Ruby
Ruby
dry actionmailer code
971f4ff829f7ead6381e0fead93b33104b037cdd
<ide><path>actionmailer/lib/action_mailer/base.rb <ide> class Base < AbstractController::Base <ide> # Alias controller_path to mailer_name so render :partial in views work. <ide> alias :controller_path :mailer_name <ide> <del> # Add a part to a multipart message, with the given content-type. The <del> # ...
1
Go
Go
remove unused id field from builder
a6abd57b83dc0aaf0cedeeb488c8a41262e46b7d
<ide><path>api/types/backend/backend.go <ide> type ContainerCommitConfig struct { <ide> Changes []string <ide> } <ide> <del>// ProgressWriter is an interface <del>// to transport progress streams. <add>// ProgressWriter is a data object to transport progress streams to the client <ide> type ProgressWriter struct { <i...
2
Ruby
Ruby
avoid shadowed variable
310918f6a194bf5752fe1025930881756f5d8a8e
<ide><path>actionview/lib/action_view/helpers/asset_tag_helper.rb <ide> def image_tag(source, options = {}) <ide> end <ide> <ide> if options[:srcset] && !options[:srcset].is_a?(String) <del> options[:srcset] = options[:srcset].map do |src, size| <del> src_path = path_to_image(src, s...
1
Ruby
Ruby
move `shared_examples` and `matcher` into specs
b7135eec493c1b2cad69b934bbf0d1aefbcbf8ab
<ide><path>Library/Homebrew/cask/spec/cask/audit_spec.rb <ide> describe Hbc::Audit do <del> include AuditMatchers <add> def include_msg?(messages, msg) <add> if msg.is_a?(Regexp) <add> Array(messages).any? { |m| m =~ msg } <add> else <add> Array(messages).include?(msg) <add> end <add> end <add> <a...
4
Python
Python
add tests for deprecation warnings
830126cd7c5853daf50a9bf4bd3ac649096182b6
<ide><path>numpy/core/tests/test_deprecations.py <add>""" <add>"Tests related to deprecation warnings. Also a convenient place <add>to document how deprecations should eventually be turned into errors. <add>""" <add>import numpy as np <add>import warnings <add> <add> <add>def check_for_warning(f, category): <add> ra...
1
Text
Text
add kontent example to preview section
7aa397f32ed9a22c83d477b2dc441ce9e5f96afd
<ide><path>docs/advanced-features/preview-mode.md <ide> description: Next.js has the preview mode for statically generated pages. You ca <ide> <li><a href="https://github.com/vercel/next.js/tree/canary/examples/cms-buttercms">ButterCMS Example</a> (<a href="https://next-blog-buttercms.now.sh/">Demo</a>)</li> <ide> ...
1
Go
Go
allow spaces in network names
85b22fabbe2d3a961eec8d7c999ead041450734b
<ide><path>libnetwork/config/config.go <ide> import ( <ide> "github.com/docker/libnetwork/osl" <ide> ) <ide> <del>// RestrictedNameChars collects the characters allowed to represent a network or endpoint name. <del>const restrictedNameChars = `[a-zA-Z0-9][a-zA-Z0-9_.-]` <add>// restrictedNameRegex represents the regu...
2
Javascript
Javascript
add setin to record
8f4dabb1301e9ec4e3cb1db6d6d54314d5b9a4d0
<ide><path>dist/immutable.js <ide> RecordPrototype.merge = MapPrototype.merge; <ide> RecordPrototype.mergeWith = MapPrototype.mergeWith; <ide> RecordPrototype.mergeDeep = MapPrototype.mergeDeep; <ide> RecordPrototype.mergeDeepWith = MapPrototype.mergeDeepWith; <add>RecordPrototype.setIn = MapPrototype.setIn; <ide> Reco...
3
Javascript
Javascript
fix linting errors
9ba7a10f85302d10ea36a2dbe8bdfd8efb45a2ba
<ide><path>examples/with-refnux/helpers/getStore.js <ide> let storeMemoized = null <ide> <ide> const getStore = (initialState) => { <ide> let store = null <del> if (typeof window == 'undefined') { <add> if (typeof window === 'undefined') { <ide> store = createStore(initialState) <ide> } else { <ide> if (...
8
Javascript
Javascript
remove async transitions
b5ff0edb41f50e1f55446c14605fb566aa419ed4
<ide><path>packages/ember-states/lib/state_manager.js <ide> require('ember-states/state'); <ide> robotManager.send('beginExtermination', allHumans) <ide> robotManager.getPath('currentState.name') // 'rampaging' <ide> <del> ## Async transitions <del> When a state's `enter` and `exit` methods are called th...
2
Javascript
Javascript
add queue microtask to host configs
aa736a0fa6e22f902bd7a98dcb9b24d8c4310e35
<ide><path>packages/react-art/src/ReactARTHostConfig.js <ide> export function getChildHostContext() { <ide> export const scheduleTimeout = setTimeout; <ide> export const cancelTimeout = clearTimeout; <ide> export const noTimeout = -1; <add>export function queueMicrotask(callback: Function) { <add> invariant(false, 'No...
7
Python
Python
add assertinhtml method to testcase
dc704516c240011a9aeda17f631ade35c65cda58
<ide><path>django/test/testcases.py <ide> def assertHTMLNotEqual(self, html1, html2, msg=None): <ide> safe_repr(dom1, True), safe_repr(dom2, True)) <ide> self.fail(self._formatMessage(msg, standardMsg)) <ide> <add> def assertInHTML(self, needle, haystack, count = None, msg_prefix=''): <a...
1
Javascript
Javascript
add issue link in deprecation message
8b85100ff34a67de5dac37a0b0c06d330be3006e
<ide><path>moment.js <ide> }, <ide> <ide> min: deprecate( <del> "moment().min is deprecated, use moment.min instead", <add> "moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548", <ide> function (other) { <ide>...
1
Python
Python
fix broken test introduced by r17526
06da2be00fb371a27e10ce37821643914c93adc6
<ide><path>django/contrib/auth/tests/tokens.py <ide> def test_date_length(self): <ide> p0 = PasswordResetTokenGenerator() <ide> <ide> # This will put a 14-digit base36 timestamp into the token, which is too large. <del> tk1 = p0._make_token_with_timestamp(user, 175455491841851871349) <del> ...
1
Text
Text
add changelog entry for "rendering ..." logging
82aa20adc080ad705fc4a7643bca9e40fb6a6b9a
<ide><path>actionview/CHANGELOG.md <add>* Added log "Rendering ...", when starting to render a template to log that <add> we have started rendering something. This helps to easily identify the origin <add> of queries in the log whether they came from controller or views. <add> <add> *Vipul A M and Prem Sichanugr...
1
Python
Python
fix data_utils.py when name ends with `.tar.gz`
2f1149dbdb96c10c9839f0d909876aef2e362c02
<ide><path>keras/utils/data_utils.py <ide> import hashlib <ide> import multiprocessing.dummy <ide> import os <add>import pathlib <ide> import queue <ide> import random <ide> import shutil <ide> def get_file(fname=None, <ide> raise ValueError("Invalid origin '{}'".format(origin)) <ide> <ide> if untar: <add> ...
2
Java
Java
fix layout animations for views with a transform
ee737e7d1c2b60d2226bc9fcab372ce98b5976f1
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/layoutanimation/PositionAndSizeAnimation.java <ide> public PositionAndSizeAnimation(View view, int x, int y, int width, int height) { <ide> mView = view; <ide> <del> mStartX = view.getX(); <del> mStartY = view.getY(); <add> mStartX = vie...
1
Javascript
Javascript
fix lint issue
e462d0d29818db75ca5d6897d0e008937e4d57c5
<ide><path>src/text-editor-component.js <ide> class TextEditorComponent { <ide> this.textDecorationBoundaries = [] <ide> this.pendingScrollTopRow = this.props.initialScrollTopRow <ide> this.pendingScrollLeftColumn = this.props.initialScrollLeftColumn <del> this.tabIndex = this.props.element && this.props...
1
Ruby
Ruby
remove obsolete code to fix tests
255e991cc32da3141afc1a50e1f643d8e028a9f6
<ide><path>Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb <ide> def run <ide> end <ide> <ide> if value.nil? || (value.respond_to?(:to_a) && value.to_a.empty?) || <del> (value.respond_to?(:to_h) && value.to_h.empty?) || <ide> (value.respond_to?(:to_s) && value.to_s == ...
1
Text
Text
clarify require() os independence
be6596352b2a1b8648dc266b5be81b6a1be180d6
<ide><path>doc/api/modules.md <ide> Used to import modules, `JSON`, and local files. Modules can be imported <ide> from `node_modules`. Local modules and JSON files can be imported using <ide> a relative path (e.g. `./`, `./foo`, `./bar/baz`, `../foo`) that will be <ide> resolved against the directory named by [`__dirn...
1
Go
Go
use strconv instead of fmt.sprintf()
56e64270f39a17e12abde344e55ab123675b6af5
<ide><path>daemon/config/config.go <ide> type CommonConfig struct { <ide> <ide> DNSConfig <ide> LogConfig <del> BridgeConfig // bridgeConfig holds bridge network specific configuration. <add> BridgeConfig // BridgeConfig holds bridge network specific configuration. <ide> NetworkConfig <ide> registry.ServiceOptions...
7
Go
Go
extract mknod, umask, lstat to pkg/system
3d2fae353f6ddc819d3a3c4db80887a40ac6f5f0
<ide><path>pkg/archive/archive.go <ide> func createTarFile(path, extractDir string, hdr *tar.Header, reader io.Reader, L <ide> mode |= syscall.S_IFIFO <ide> } <ide> <del> if err := syscall.Mknod(path, mode, int(mkdev(hdr.Devmajor, hdr.Devminor))); err != nil { <add> if err := syscall.Mknod(path, mode, int(syste...
9
Javascript
Javascript
fix todo comments
665fbd0ca866985b93e46350dcd35beb209f70ed
<ide><path>lib/Compilation.js <ide> class Compilation extends Tapable { <ide> var unusedIds = []; <ide> var nextFreeModuleId = 0; <ide> var usedIds = []; <del> // TODO <add> // TODO consider Map when performance has improved https://gist.github.com/sokra/234c077e1299b7369461f1708519c392 <ide> var usedIdMap = ...
2
PHP
PHP
add test asserting immutable/mutable datetime
5c21e5f3813ac0606d48437b5aa234171465d051
<ide><path>tests/TestCase/ORM/Behavior/TimestampBehaviorTest.php <ide> */ <ide> namespace Cake\Test\TestCase\ORM\Behavior; <ide> <add>use Cake\Database\Type; <ide> use Cake\Event\Event; <ide> use Cake\I18n\Time; <ide> use Cake\ORM\Behavior\TimestampBehavior; <ide> public function testModifiedPresent() <ide> $...
1
Go
Go
fix incorrect handling of "**/foo" pattern
90f8d1b6756825093f92547f6141bd196c5a3a80
<ide><path>pkg/fileutils/fileutils.go <ide> func (pm *PatternMatcher) Matches(file string) (bool, error) { <ide> <ide> if !match && parentPath != "." { <ide> // Check to see if the pattern matches one of our parent dirs. <del> if len(pattern.dirs) <= len(parentPathDirs) { <del> match, _ = pattern.match(strin...
2
Text
Text
add link to the show action in the getting started
5f5f3a8216f5c8f2c484f80eec6ee69cd28d5977
<ide><path>guides/source/getting_started.md <ide> And then finally, add the view for this action, located at <ide> <tr> <ide> <td><%= article.title %></td> <ide> <td><%= article.text %></td> <add> <td><%= link_to 'Show', article_path(article) %></td> <ide> </tr> <ide> <% end %> <ide> </table>
1
Javascript
Javascript
add internal createdeferredpromise()
17467d15f8e0494579c32acf576240a346e82c2b
<ide><path>lib/child_process.js <ide> const { <ide> ObjectAssign, <ide> ObjectDefineProperty, <ide> ObjectPrototypeHasOwnProperty, <del> Promise, <ide> RegExpPrototypeTest, <ide> SafeSet, <ide> StringPrototypeSlice, <ide> const { <ide> const { <ide> promisify, <ide> convertToValidSignal, <add> createD...
3
Ruby
Ruby
move the header hash to the super class
fcf5e178dd6384cb5f9e99c0026ba958e426a03f
<ide><path>actionpack/lib/action_controller/metal/live.rb <ide> def call_on_error <ide> end <ide> <ide> class Response < ActionDispatch::Response #:nodoc: all <del> class Header < DelegateClass(Hash) # :nodoc: <del> def initialize(response, header) <del> @response = response <del> ...
2
Text
Text
fix extra changelog entry added in 959d46e
81c5c9971abe7a42a53ddbfede2683081a67e9d1
<ide><path>activesupport/CHANGELOG.md <ide> <ide> *Matt Swanson* <ide> <del>* Add `urlsafe` option to `ActiveSupport::MessageVerifier` initializer <del> <ide> * Fix `NoMethodError` on custom `ActiveSupport::Deprecation` behavior. <ide> <ide> `ActiveSupport::Deprecation.behavior=` was supposed to accept a...
1
Javascript
Javascript
remove duplicate expression
362dd1786f585594de8295144dd161dc425e6676
<ide><path>docs/config/services/deployments/production.js <ide> var cdnUrl = googleCdnUrl + versionInfo.cdnVersion; <ide> // docs.angularjs.org and code.angularjs.org need them. <ide> var versionPath = versionInfo.currentVersion.isSnapshot ? <ide> 'snapshot' : <del> (versionInfo.currentVersion.version || versionInfo...
1
Text
Text
update backend docs
90f76daf11a8376670928dacd555c69c683e12d4
<ide><path>docs/templates/backend.md <ide> Keras is a model-level library, providing high-level building blocks for develop <ide> <ide> At this time, Keras has three backend implementations available: the **TensorFlow** backend, the **Theano** backend, and the **CNTK** backend. <ide> <del>- [TensorFlow](http://www.te...
1
Go
Go
fix the tests, too
0d871840b202fc31418990bbcbe0df1c4ad689fb
<ide><path>integration/api_test.go <ide> import ( <ide> "fmt" <ide> "github.com/dotcloud/docker" <ide> "github.com/dotcloud/docker/api" <add> "github.com/dotcloud/docker/dockerversion" <ide> "github.com/dotcloud/docker/engine" <ide> "github.com/dotcloud/docker/utils" <ide> "io" <ide> func TestGetVersion(t *testin...
2
Text
Text
remove non-latest builds
83141df210fa420d5bf0470d46acdecd5b777ff8
<ide><path>CONTRIBUTING.md <ide> this bug already. <ide> demo should be fully operational with the exception of the bug you want to <ide> demonstrate. The more pared down, the better. <ide> Preconfigured starting points for the latest Ember: [JSFiddle](http://jsfiddle.net/DCrHG/) | [JSBin](http://jsbin.com/ucanam/54/ed...
1
Ruby
Ruby
push reduction visitors to a reduction base class
a6a7c75ff486657909e20e2f48764136caa5e87e
<ide><path>lib/arel/visitors/depth_first.rb <ide> def initialize block = nil <ide> @block = block || Proc.new <ide> end <ide> <del> def accept object <del> visit object <del> end <del> <ide> private <ide> <del> def visit object <del> send dispatch[object.class], object...
6
PHP
PHP
apply fixes from styleci
4be74e19a6282a789070b6da81f70e1a886b7176
<ide><path>src/Illuminate/View/Compilers/Concerns/CompilesConditionals.php <ide> protected function compileEndunless() <ide> { <ide> return '<?php endif; ?>'; <ide> } <del> <add> <ide> /** <ide> * Compile the if-isset statements into valid PHP. <ide> *
1
Ruby
Ruby
fetch new tags for git repos when cached
d518fca81c7ecebcb56feaabdb142dfd322b429c
<ide><path>Library/Homebrew/download_strategy.rb <ide> def fetch <ide> safe_system 'git', 'clone', @url, @clone # indeed, leave it verbose <ide> else <ide> puts "Updating #{@clone}" <del> Dir.chdir(@clone) { quiet_safe_system 'git', 'fetch', @url } <add> Dir.chdir(@clone) do <add> quiet...
1
Python
Python
correct an issue with unitest on python 3.x
0ecbb12444794eaa9c62e51f7146871429ce6c6c
<ide><path>glances/plugins/glances_wifi.py <ide> <ide> # Python 3 is not supported (see issue #1377) <ide> if PY3: <del> import_error_tag = False <add> import_error_tag = True <ide> logger.warning("Wifi lib is not compliant with Python 3, Wifi plugin is disabled") <ide> <ide>
1
Javascript
Javascript
add coverage for dns exception
743c28104f3db504963409e8e91700e430131221
<ide><path>test/parallel/test-dns-resolve-promises.js <add>// Flags: --expose-internals <add>'use strict'; <add>require('../common'); <add>const assert = require('assert'); <add>const { internalBinding } = require('internal/test/binding'); <add>const cares = internalBinding('cares_wrap'); <add>const { UV_EPERM } = inte...
1
Python
Python
add mongo_db param to function doc string
454ca2ff92d221e4163e5024fc0fc797dc9bad84
<ide><path>airflow/providers/mongo/sensors/mongo.py <ide> class MongoSensor(BaseSensorOperator): <ide> >>> mongo_sensor = MongoSensor(collection="coll", <ide> ... query={"key": "value"}, <ide> ... mongo_conn_id="mongo_default", <add> ... ...
1
Python
Python
add perf stats for processcount
a1f11a72d2a9c5d4cb6103530c34dcf94ad2407f
<ide><path>glances/plugins/glances_processcount.py <ide> def __init__(self, args=None, config=None): <ide> <ide> # Note: 'glances_processes' is already init in the glances_processes.py script <ide> <add> @GlancesPlugin._log_result_decorator <ide> def update(self): <ide> """Update processes stat...
1
Ruby
Ruby
add documentation for inheritance_column method
294219226175f8d17fb0348ceaba51caa5936ec3
<ide><path>activerecord/lib/active_record/model.rb <ide> def arel_engine <ide> def abstract_class? <ide> false <ide> end <del> <add> <add> # Defines the name of the table column which will store the class name on single-table <add> # inheritance situations. <ide> def inheritanc...
1
Javascript
Javascript
add a way to disable fonts that won't load
2feec66b746513f004f8e6707974e7bf3a3050e0
<ide><path>fonts.js <ide> var kMaxWaitForFontFace = 1000; <ide> var fontCount = 0; <ide> var fontName = ""; <ide> <add>/** <add> * If for some reason one want to debug without fonts activated, it just need <add> * to turn this pref to true/false. <add> */ <add>var kDisableFonts = false; <add> <ide> /** <ide> * Hold ...
2
PHP
PHP
add the url method for sanity
ef81c531512de75214e3723fa0725c2b64ad6395
<ide><path>src/Illuminate/Filesystem/FilesystemAdapter.php <ide> use Illuminate\Support\Collection; <ide> use League\Flysystem\AdapterInterface; <ide> use League\Flysystem\FilesystemInterface; <add>use League\Flysystem\AwsS3v3\AwsS3Adapter; <ide> use League\Flysystem\FileNotFoundException; <ide> use Illuminate\Contract...
1
Ruby
Ruby
eliminate the duplication code of `statementpool`
f9e27bc582fc66e04f11d42cb420636654872cba
<ide><path>activerecord/lib/active_record/connection_adapters/mysql_adapter.rb <ide> class MysqlAdapter < AbstractMysqlAdapter <ide> ADAPTER_NAME = 'MySQL'.freeze <ide> <ide> class StatementPool < ConnectionAdapters::StatementPool <del> def initialize(connection, max = 1000) <del> super <de...
4
Javascript
Javascript
pass arrays of languages
eaff269698124dedabd13054754782afb76bf8b6
<ide><path>moment.js <ide> return value; <ide> } <ide> <add> function normalizeLanguage(key) { <add> return key.toLowerCase().replace('_', '-'); <add> } <add> <ide> /************************************ <ide> Languages <ide> ************************************/ <ide> // de...
2
Javascript
Javascript
add setpath method to fontloader
eb70fbc5547b9894ce997ab64e78c6cda6e73d5d
<ide><path>src/loaders/FontLoader.js <ide> Object.assign( FontLoader.prototype, { <ide> var scope = this; <ide> <ide> var loader = new FileLoader( this.manager ); <add> loader.setPath( this.path ); <ide> loader.load( url, function ( text ) { <ide> <ide> var json; <ide> Object.assign( FontLoader.prototype, {...
1
Javascript
Javascript
fix racey-ness in tls-inception
e1bf6709dc720fa06359ccd745d81cafc37dbd39
<ide><path>test/parallel/test-tls-inception.js <ide> a = tls.createServer(options, function (socket) { <ide> var dest = net.connect(options); <ide> dest.pipe(socket); <ide> socket.pipe(dest); <add> <add> dest.on('close', function() { <add> socket.destroy(); <add> }); <ide> }); <ide> <ide> // the "target" se...
1
Ruby
Ruby
pull the port out of the options hash once
a64914de4c41473c4bfecec1c69cfc931ccb6281
<ide><path>actionpack/lib/action_dispatch/http/url.rb <ide> def add_trailing_slash(path) <ide> def build_host_url(options) <ide> protocol = options[:protocol] <ide> host = options[:host] <add> port = options[:port] <ide> if match = host.match(HOST_REGEXP) <ide> ...
1
PHP
PHP
fix coding style
8b578b8ca1444653f01b415edbe43f5cb579a9aa
<ide><path>src/Illuminate/Database/DetectsLostConnections.php <ide> protected function causedByLostConnection(Exception $e) <ide> 'SSL connection has been closed unexpectedly', <ide> 'Deadlock found when trying to get lock', <ide> 'Error writing data to the connection', <del> ...
1
PHP
PHP
remove unused class from test
4a4a6f6a79fdb3a29445dd8b0614f59bdd1e833c
<ide><path>tests/Foundation/FoundationExceptionsHandlerTest.php <ide> use Mockery as m; <ide> use PHPUnit\Framework\TestCase; <ide> use Illuminate\Container\Container; <del>use Illuminate\Foundation\Application; <ide> use Illuminate\Config\Repository as Config; <ide> use Illuminate\Foundation\Exceptions\Handler; <ide> ...
1
Text
Text
use the javascript console to check the value...
9d09a129063466d5e77be6d76f1e0582d96dd9e5
<ide><path>guide/english/certifications/javascript-algorithms-and-data-structures/debugging/use-the-javascript-console-to-check-the-value-of-a-variable/index.md <ide> title: Use the JavaScript Console to Check the Value of a Variable <ide> --- <ide> ## Use the JavaScript Console to Check the Value of a Variable <ide> ...
1
Javascript
Javascript
fix arguments order in assertions
6eda924c189e44a36fc97a7cfae41b69483d5bfb
<ide><path>test/parallel/test-process-env.js <ide> const assert = require('assert'); <ide> <ide> // changes in environment should be visible to child processes <ide> if (process.argv[2] === 'you-are-the-child') { <del> assert.strictEqual(false, 'NODE_PROCESS_ENV_DELETED' in process.env); <del> assert.strictEqual('42...
1
PHP
PHP
add class_alias for old cake\utility\number
bef6bb76657c6dc09623cbd4ded8294b5d9d229f
<ide><path>config/bootstrap.php <ide> class_alias('Cake\Network\Exception\UnauthorizedException', 'Cake\Error\Unauthor <ide> class_alias('Cake\Filesystem\File', 'Cake\Utility\File'); <ide> class_alias('Cake\Filesystem\Folder', 'Cake\Utility\Folder'); <ide> class_alias('Cake\I18n\Time', 'Cake\Utility\Time'); <add>class_...
1
Ruby
Ruby
add suffix for bottles to avoid cache confusion
1efd33cac090936616e9873ae58ae540d0581517
<ide><path>Library/Contributions/examples/brew-bottle.rb <ide> # Get the latest version <ide> version = `brew list --versions #{formula}`.split.last <ide> source = HOMEBREW_CELLAR + formula + version <del> filename = formula + '-' + version + '.tar.gz' <add> filename = formula + '-' + version + '-bottle.tar.gz'...
1
Python
Python
fix attributeerror in numpy/distutils
9b59edebeadddf8012459e401434353b2de8babb
<ide><path>numpy/distutils/ccompiler.py <ide> def CCompiler_customize(self, dist, need_cxx=0): <ide> a, b = 'cc', 'c++' <ide> self.compiler_cxx = [self.compiler[0].replace(a, b)]\ <ide> + self.compiler[1:] <del> elif not self.compiler_cxx: <...
1
Python
Python
apply lxml elementtree import pattern properly
1588cc738ce472c329f1bba81bdef5ca977e9d64
<ide><path>libcloud/storage/drivers/azure_blobs.py <ide> import os <ide> import binascii <ide> <del>from xml.etree.ElementTree import Element, SubElement <add>try: <add> from lxml import etree as ET <add>except ImportError: <add> from xml.etree import ElementTree as ET <ide> <ide> from libcloud.utils.py3 import...
1
Javascript
Javascript
add mustcall to test-net-eaddrinuse test
a4fff9a72f036a5e5dfa88757d1dd0796e1e2dad
<ide><path>test/parallel/test-net-eaddrinuse.js <ide> // USE OR OTHER DEALINGS IN THE SOFTWARE. <ide> <ide> 'use strict'; <del>require('../common'); <add>const common = require('../common'); <ide> const assert = require('assert'); <ide> const net = require('net'); <ide> <ide> const server1 = net.createServer(function...
1
Ruby
Ruby
add tests to
e5e42a3687801a1dc1c3e36ea784a7a1479a9230
<ide><path>actionview/test/template/asset_tag_helper_test.rb <ide> def test_image_alt <ide> [nil, '/', '/foo/bar/', 'foo/bar/'].each do |prefix| <ide> assert_equal 'Rails', image_alt("#{prefix}rails.png") <ide> assert_equal 'Rails', image_alt("#{prefix}rails-9c0a079bdd7701d7e729bd956823d153.png") <add> ...
1
PHP
PHP
fix invalid method calls
45b5031b8e3428362b2b9ea74b7b1ba5bfd942cc
<ide><path>src/Console/ConsoleInput.php <ide> public function read() <ide> public function dataAvailable($timeout = 0) <ide> { <ide> $readFds = [$this->_input]; <del> $readyFds = stream_select($readFds, null, null, $timeout); <add> $writeFds = null; <add> $errorFds = null; <add> ...
1
Python
Python
add a py3k version of pyod
54d51ba9375a62a504bac2d560358e07e5f8d078
<ide><path>numpy/core/setup_common.py <ide> def pyod(filename): <ide> We only implement enough to get the necessary information for long double <ide> representation, this is not intended as a compatible replacement for od. <ide> """ <del> out = [] <del> <del> fid = open(filename, 'r') <del> try: <d...
1
Ruby
Ruby
fix the doc for `strict_loading!` [ci skip]
ab06682534f63257f33ad81e4c87931e36658cb7
<ide><path>activerecord/lib/active_record/core.rb <ide> def strict_loading? <ide> # Sets the record to strict_loading mode. This will raise an error <ide> # if the record tries to lazily load an association. <ide> # <del> # user = User.first.strict_loading! <add> # user = User.first <add> # u...
1
PHP
PHP
remove a "feature"
6877cb78b5f7c66a714826b3ea09dadef09d4c93
<ide><path>src/Illuminate/Database/Eloquent/Model.php <ide> public function load($relations) <ide> { <ide> if (is_string($relations)) $relations = func_get_args(); <ide> <del> $query = $this->newQuery()->wi@th($relations); <add> $query = $this->newQuery()->with($relations); <ide> <ide> $query->eagerLoadRelatio...
1
PHP
PHP
use config for verification expiry time
df153ce876e644c74357dd1310dedd983dc40446
<ide><path>src/Illuminate/Auth/Notifications/VerifyEmail.php <ide> public function toMail($notifiable) <ide> protected function verificationUrl($notifiable) <ide> { <ide> return URL::temporarySignedRoute( <del> 'verification.verify', Carbon::now()->addMinutes(60), ['id' => $notifiable->getKey...
1
Text
Text
update the call for contributions section
a7621b15bfa86bb7476684980b44c60aee2dd9c4
<ide><path>README.md <ide> Tests can then be run after installation with: <ide> Call for Contributions <ide> ---------------------- <ide> <del>NumPy appreciates help from a wide range of different backgrounds. <del>Work such as high level documentation or website improvements are valuable <del>and we would like to gro...
1
Javascript
Javascript
add basic middleware api to default dispatcher
9109b5fef099111f9886842f9a175c30b638c06a
<ide><path>examples/components/Counter.js <ide> export default class Counter { <ide> }; <ide> <ide> render() { <del> const { increment, decrement, counter } = this.props; <add> const { increment, incrementIfOdd, decrement, counter } = this.props; <ide> return ( <ide> <p> <ide> Clicked: {cou...
5
Go
Go
remove container dependency for links
fc952e0de94aa4283c677ce6c153b1a766db2fc0
<ide><path>container.go <ide> func (container *Container) Start() (err error) { <ide> container.activeLinks = nil <ide> } <ide> <del> for p, child := range children { <del> link, err := NewLink(container, child, p, runtime.eng) <add> for linkAlias, child := range children { <add> if !child.State.IsRunning()...
3
Text
Text
add hdf5 inputs to faq
40e91020ddb96935e7ed8ea4881884235b4c7168
<ide><path>docs/templates/getting-started/faq.md <ide> - [How can I use stateful RNNs?](#how-can-i-use-stateful-rnns) <ide> - [How can I remove a layer from a Sequential model?](#how-can-i-remove-a-layer-from-a-sequential-model) <ide> - [How can I use pre-trained models in Keras?](#how-can-i-use-pre-trained-models-in-k...
1
Ruby
Ruby
preserve existing metadata when analyzing a blob
704a7e425ca99af1b778c764a86e5388647631dd
<ide><path>activestorage/app/models/active_storage/blob.rb <ide> def download(&block) <ide> # You won't ordinarily need to call this method from a Rails application. New blobs are automatically and asynchronously <ide> # analyzed via #analyze_later when they're attached for the first time. <ide> def analyze <del>...
3
PHP
PHP
add runtime for seeders
b648c2e8377023c8fbe89c8068fe20364dc580a3
<ide><path>src/Illuminate/Database/Seeder.php <ide> public function call($class, $silent = false) <ide> <ide> foreach ($classes as $class) { <ide> $seeder = $this->resolve($class); <add> $name = get_class($seeder); <ide> <ide> if ($silent === false && isset($this->command)) ...
2
Javascript
Javascript
fix caching crash in concatenatedmodule
38c7cf2d85ef21cbcf0b35d9833f0555df80aa01
<ide><path>lib/InvalidDependenciesModuleWarning.js <ide> "use strict"; <ide> <ide> const WebpackError = require("./WebpackError"); <add>const makeSerializable = require("./util/makeSerializable"); <ide> <ide> /** @typedef {import("./Dependency").DependencyLocation} DependencyLocation */ <ide> /** @typedef {import("./...
8
Python
Python
fix typos in __repr__
9b6110e3519272b91f9d51ca58a09ba25fd4aa3a
<ide><path>libcloud/common/openstack_identity.py <ide> def __init__(self, version, status, updated, url): <ide> <ide> def __repr__(self): <ide> return (('<OpenStackIdentityVersion version=%s, status=%s, ' <del> 'updated=%s, url=%s' % <add> 'updated=%s, url=%s>' % <ide> ...
1
Text
Text
improve instructions in rothko-painting
59f21b1d8ff14dc230de54d262847f7e91a979e9
<ide><path>curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-012.md <ide> dashedName: step-12 <ide> <ide> Write a new rule using the `.frame` class selector. <ide> <del>Give the `.frame` a border with the shorthand `border: 50px solid black;` declarat...
12
Text
Text
add article by ellen lupton
b51957033676a5c2c2d30cb1c30d289590aa34f9
<ide><path>guide/english/typography/kerning-and-tracking/index.md <ide> One should also consider the positive and negative ground when tracking and kern <ide> #### More Information: <ide> <!-- Please add any articles you think might be helpful to read before writing the article --> <ide> <add>- ["Thinking With Type" b...
1
PHP
PHP
fix cs for easier 3.x/4.x comparison/merge
44a78128e7262959c5f8b6bc7dd7766b68822edf
<ide><path>config/config.php <ide> */ <ide> $versionFile = file(CORE_PATH . 'VERSION.txt'); <ide> return [ <del> 'Cake.version' => trim(array_pop($versionFile)) <add> 'Cake.version' => trim(array_pop($versionFile)), <ide> ]; <ide><path>src/Auth/BaseAuthenticate.php <ide> abstract class BaseAuthenticate implement...
300
Java
Java
introduce support for sorted properties
c39c4211df15500996142a265d7afcc31c23c6f8
<ide><path>spring-core/src/main/java/org/springframework/core/CollectionFactory.java <ide> public String getProperty(String key) { <ide> }; <ide> } <ide> <add> /** <add> * Create a variant of {@link java.util.Properties} that sorts properties <add> * alphanumerically based on their keys. <add> * <add> * <p>This...
3
Ruby
Ruby
simplify re-definition of `targets`
fa635db8a1bd7494c355416421d52f87cdd0491c
<ide><path>Library/Homebrew/formula.rb <ide> def time <ide> # universal binaries in a {Formula}'s {Keg}. <ide> sig { params(targets: T.nilable(T.any(Pathname, String))).void } <ide> def deuniversalize_machos(*targets) <del> if targets.blank? <del> targets = any_installed_keg.mach_o_files.select do |file| ...
1
PHP
PHP
allow port on remote host
3f7c47cb243be3ba201bf75c6c0c38e7b96b43b3
<ide><path>src/Illuminate/Remote/SecLibGateway.php <ide> class SecLibGateway implements GatewayInterface { <ide> */ <ide> protected $host; <ide> <add> /** <add> * The SSH port on the server. <add> * <add> * @var int <add> */ <add> protected $port = 22; <add> <ide> /** <ide> * The authentication credential se...
1
Python
Python
fix progress bar
edfea3a513349ca575d77c62ab1b708030542823
<ide><path>spacy/train.py <ide> def _epoch(indices): <ide> golds = self.make_golds(docs, paragraph_tuples) <ide> all_docs.extend(docs) <ide> all_golds.extend(golds) <del> for batch in tqdm.tqdm(partition_all(12, zip(all_docs, all_golds))): <add> ...
1
Ruby
Ruby
remove unused code
4abb8c9d5bccca0e3c092031d87d000a21f57723
<ide><path>actionpack/lib/action_controller/test_case.rb <ide> def process(action, *args) <ide> end <ide> @response.prepare! <ide> <del> @assigns = @controller.respond_to?(:view_assigns) ? @controller.view_assigns : {} <del> <ide> if flash_value = @request.flash.to_session_value <ide> ...
1
Ruby
Ruby
make flag lists into constants
a458555ccb5d4d34befabde63eddacdd7a4613a8
<ide><path>Library/Homebrew/extend/ENV.rb <ide> require 'hardware' <ide> <ide> module HomebrewEnvExtension <del> # -w: keep signal to noise high <ide> SAFE_CFLAGS_FLAGS = "-w -pipe" <add> CC_FLAG_VARS = %w{CFLAGS CXXFLAGS OBJCFLAGS OBJCXXFLAGS} <add> FC_FLAG_VARS = %w{FCFLAGS FFLAGS} <add> DEFAULT_FLAGS = '-marc...
1
Text
Text
use the reduce method to analyze data
a489ac9df8e569354f33b7564380f28bb4d98be8
<ide><path>curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md <ide> However, before we get there, let's practice using <code>reduce</code> first. <ide> <ide> ## Instructions <ide> <section id='instructions'> <del>The variab...
1
Javascript
Javascript
add mimetype type to source object when possible
62ff3f66a50c0a908188de9c140011e7c5fd44dc
<ide><path>src/js/utils/filter-source.js <ide> * @module filter-source <ide> */ <ide> import {isObject} from './obj'; <add>import {MimetypesKind} from './mimetypes'; <add>import * as Url from '../utils/url.js'; <ide> <ide> /** <ide> * Filter out single bad source objects or multiple source objects in an <ide> const...
3
Text
Text
correct a broken link and its context
fcc706343f9d3cbe0781bd83250e39c2dad5379f
<ide><path>README.md <ide> An example on how to use this class is given in the [`extract_features.py`](./ex <ide> - the masked language modeling logits, and <ide> - the next sentence classification logits. <ide> <del>An example on how to use this class is given in the [`run_lm_finetuning.py`](./examples/run_lm_fin...
1
Ruby
Ruby
fix oom with large bottles
ac9af0dbbc3b466dbef58ffd3a7ee14b1cec87db
<ide><path>Library/Homebrew/github_packages.rb <ide> <ide> require "utils/curl" <ide> require "json" <add>require "zlib" <ide> <ide> # GitHub Packages client. <ide> # <ide> class GitHubPackages <ide> <ide> URL_REGEX = %r{(?:#{Regexp.escape(URL_PREFIX)}|#{Regexp.escape(DOCKER_PREFIX)})([\w-]+)/([\w-]+)}.freeze <ide...
1
Text
Text
update installation instructions on the blog
3d52856bb6e833c06ce885d10715069662c92a38
<ide><path>docs/_posts/2016-11-16-react-v15.4.0.md <ide> You can learn more about snapshot testing in [this Jest blog post](https://faceb <ide> <ide> ## Installation <ide> <del>We recommend using React from `npm` and using a tool like browserify or webpack to build your code into a single bundle. To install the two p...
1
Javascript
Javascript
simplify jquery#offsetparent method
74ae5444832b2fb966768a97281d2ad8c088bc58
<ide><path>src/offset.js <ide> jQuery.fn.extend({ <ide> }; <ide> }, <ide> <add> // This method will return documentElement in the following cases: <add> // 1) For the element inside the iframe without offsetParent, this method will return <add> // documentElement of the parent window <add> // 2) For the hidden o...
1
Java
Java
add infer_method constant and update @bean javadoc
870d9034174ed9373619c13fcc71f0cf3bc57d30
<ide><path>org.springframework.context/src/main/java/org/springframework/context/annotation/Bean.java <ide> * The optional name of a method to call on the bean instance upon closing the <ide> * application context, for example a {@code close()} method on a {@code DataSource}. <ide> * The method must have no argum...
2
Text
Text
reflect recent changes to tap commands
add10c64f12d65e7d1950633c991c1c78ca59b27
<ide><path>docs/Homebrew-linuxbrew-core-Maintainer-Guide.md <ide> running `git push your-fork master` <ide> After merging changes, we must rebuild bottles for all the PRs that <ide> had conflicts. <ide> <del>To do this, tap `Linuxbrew/homebrew-developer` and run the following <add>To do this, tap `Homebrew/homebrew-li...
1
Javascript
Javascript
handle emit before constructor call
d345c1173ac9c7ba861039707a142e187651f71d
<ide><path>lib/events.js <ide> EventEmitter.prototype.emit = function(type) { <ide> } <ide> } <ide> <add> if (!this._events) <add> this._events = {}; <add> <ide> handler = this._events[type]; <ide> <ide> if (typeof handler === 'undefined') <ide><path>test/simple/test-event-emitter-subclass.js <ide> var ...
2