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
remove frugalware installation docs
9b8b6aa224d0e88bdd27e322ae1c922e3dfcbe12
<ide><path>docs/installation/index.md <ide> <!--[metadata]> <ide> +++ <add>aliases = ["/engine/installation/linux/frugalware/","/engine/installation/frugalware/"] <ide> title = "Install" <ide> description = "Lists the installation methods" <ide> keywords = ["Docker install "] <ide> Docker Engine is supported on Linux, ...
3
Ruby
Ruby
add test for e0e3adf
63ed6ca9989fbfcd2b323b98e4110c7504b8d3db
<ide><path>activerecord/test/cases/attribute_methods_test.rb <ide> def test_read_write_boolean_attribute <ide> # puts "" <ide> end <ide> <add> def test_read_overridden_attribute <add> topic = Topic.new(:title => 'a') <add> def topic.title() 'b' end <add> assert_equal 'a', topic[:title] <add> end <add>...
1
Javascript
Javascript
upgrade nodeenvironmentplugin to es6
efc576c8b744e7a015ab26f1f46932ba3ca7d4f1
<ide><path>lib/node/NodeEnvironmentPlugin.js <ide> MIT License http://www.opensource.org/licenses/mit-license.php <ide> Author Tobias Koppers @sokra <ide> */ <del>var NodeWatchFileSystem = require("./NodeWatchFileSystem"); <del>var NodeOutputFileSystem = require("./NodeOutputFileSystem"); <del>var NodeJsInputFileSyst...
1
PHP
PHP
add test for released jobs
e2067d33a002386280c63e559af932cda113d873
<ide><path>tests/Integration/Queue/UniqueJobTest.php <ide> public function testLockIsNotReleasedForJobRetries() <ide> $this->assertTrue($this->app->get(Cache::class)->lock($this->getLockKey($job), 10)->get()); <ide> } <ide> <add> public function testLockIsNotReleasedForJobReleases() <add> { <add> ...
1
Javascript
Javascript
add tests for path module
988174a6294ab863be2961267174901440100944
<ide><path>test/mjsunit/test-path.js <add>var path = require("path"); <add>process.mixin(require("./common")); <add> <add>var f = __filename; <add> <add>assert.equal(path.basename(f), "test-path.js"); <add>assert.equal(path.basename(f, ".js"), "test-path"); <add>assert.equal(path.extname(f), ".js"); <add>assert.equal(p...
1
Text
Text
put correct marker in the hint
63439b452514a970c264af03c57ab637ae4fa413
<ide><path>curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61b0a1b2af494934b7ec1a72.md <ide> const blueMarkerChildren = [...document.querySelector('.blue')?.children]; <ide> assert(blueMarkerChildren.every(child => child?.localName === 'div') && blueMarker...
1
Javascript
Javascript
cuechange handler not triggering correctly
15df4e16b4064984df3ba43036a7478137516317
<ide><path>src/js/tracks/text-track.js <ide> class TextTrack extends Track { <ide> return; <ide> } <ide> mode = newMode; <del> if (mode === 'showing') { <del> <add> if (mode !== 'disabled') { <ide> this.tech_.ready(() => { <ide> this.tech_.on('...
2
Javascript
Javascript
improve performance of tojs
43835aa4da6dfc32188bef8918a0541efcf2f9cc
<ide><path>perf/toJS.js <add>/** <add> * Copyright (c) 2014-present, Facebook, Inc. <add> * <add> * This source code is licensed under the MIT license found in the <add> * LICENSE file in the root directory of this source tree. <add> */ <add> <add>describe('toJS', () => { <add> const array32 = []; <add> for (let ii =...
3
Text
Text
use a lower case 'i' in the typescript reference
8f213db8001c89753ce7572900190ca0a4ba02fa
<ide><path>README.md <ide> Just add a reference with a relative path to the type declarations at the top <ide> of your file. <ide> <ide> ```javascript <del>///<reference path='./node_modules/immutable/dist/Immutable.d.ts'/> <add>///<reference path='./node_modules/immutable/dist/immutable.d.ts'/> <ide> import Immutable...
1
Go
Go
add more tests to strslice
cac8f4f0d057dd89fd2ef16e3a58e96d2fee2e70
<ide><path>pkg/stringutils/strslice_test.go <ide> package stringutils <ide> <ide> import ( <ide> "encoding/json" <add> "reflect" <ide> "testing" <ide> ) <ide> <ide> func TestStrSliceToString(t *testing.T) { <ide> } <ide> } <ide> } <add> <add>func TestStrSliceLen(t *testing.T) { <add> var emptyStrSlice *StrSlice ...
1
Python
Python
update head revision to 0.9.9
3f7fc98591d11b0a67372699371843f9fd019e36
<ide><path>numpy/version.py <del>version='0.9.7' <add>version='0.9.9' <ide> <ide> import os <ide> svn_version_file = os.path.join(os.path.dirname(__file__),
1
PHP
PHP
skip autoloaders for apciterator
59c3b73f7aefc55a6676473e83e371de60c38b53
<ide><path>lib/Cake/Cache/Engine/ApcEngine.php <ide> public function clear($check) { <ide> if ($check) { <ide> return true; <ide> } <del> if (class_exists('APCIterator')) { <add> if (class_exists('APCIterator', false)) { <ide> $iterator = new APCIterator( <ide> 'user', <ide> '/^' . preg_quote($this-...
1
Python
Python
fix automatic detection for msvcrt version
1012141a15a432c1c7a3f3d964c38ca04970bd1b
<ide><path>numpy/distutils/mingw32ccompiler.py <ide> def _build_import_library_x86(): <ide> _MSVCRVER_TO_FULLVER['100'] = "10.0.30319.460" <ide> # Python 3.7 uses 1415, but get_build_version returns 140 ?? <ide> _MSVCRVER_TO_FULLVER['140'] = "14.15.26726.0" <del> if hasattr(msvcrt, "CRT_A...
1
PHP
PHP
remove old url handling code
f334cd224effef8e6e6bd09c63d6895c887a4af7
<ide><path>src/Network/Request.php <ide> protected function _processGet($query, $queryString = '') <ide> return $query; <ide> } <ide> <del> /** <del> * Get the request uri. Looks in PATH_INFO first, as this is the exact value we need prepared <del> * by PHP. Following that, REQUEST_URI, PHP_SELF...
1
Ruby
Ruby
move flash into middleware
ead93c5be5b0f1945b7d0302f1aae4685ee3f2fb
<ide><path>actionpack/lib/action_controller/metal/compatibility.rb <ide> class << self <ide> @variables_added @request_origin @url <ide> @parent_controller @action_name <ide> @before_fi...
10
Javascript
Javascript
move function declaration out of conditional
7e7d5d38eae74ac92daf304624a81c951be6ebf6
<ide><path>lib/repl.js <ide> exports._builtinLibs = ['assert', 'buffer', 'child_process', 'cluster', <ide> 'string_decoder', 'tls', 'tty', 'url', 'util', 'vm', 'zlib']; <ide> <ide> <del>function REPLServer(prompt, stream, eval, useGlobal, ignoreUndefined) { <add>function REPLServer(prompt, stream, eval_, useGlobal,...
1
Java
Java
avoid reflection on optionalvalidatorfactorybean
cd2b7afc8751804fa97d28bbf95b41fe03347dac
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java <ide> import java.util.List; <ide> import java.util.Map; <ide> <del>import org.springframework.beans.BeanUtils; <ide> import org.springframework.beans.factory.BeanInitializationException; <ide> i...
3
Javascript
Javascript
remove unused expression arguments
79d2b9a5a6f2a57c33955e9ba8ddf24ebf3e63ff
<ide><path>src/ng/parse.js <ide> ASTCompiler.prototype = { <ide> 'getStringValue', <ide> 'ifDefined', <ide> 'plus', <del> 'text', <ide> fnString))( <ide> this.$filter, <ide> getStringValue, <ide> ifDefined, <del> plusFn, <del> expres...
1
Javascript
Javascript
add filter option for benchmark
ea7750bddd8051f39fa538905e05f9bf1d1afa5f
<ide><path>benchmark/common.js <ide> exports.PORT = process.env.PORT || 12346; <ide> // If this is the main module, then run the benchmarks <ide> if (module === require.main) { <ide> var type = process.argv[2]; <add> var testFilter = process.argv[3]; <ide> if (!type) { <del> console.error('usage:\n ./iojs bench...
1
Javascript
Javascript
eliminate double `getenv()`
4f1ae11a62b97052bc83756f8cb8700cc1f61661
<ide><path>lib/module.js <ide> Module._initPaths = function() { <ide> paths.unshift(path.resolve(homeDir, '.node_modules')); <ide> } <ide> <del> if (process.env['NODE_PATH']) { <add> var nodePath = process.env['NODE_PATH']; <add> if (nodePath) { <ide> var splitter = isWindows ? ';' : ':'; <del> paths =...
1
Javascript
Javascript
improve pushnotificationios documentation
7e445e6cfa46d87bfd85d7f39e3254a6bb5a60ee
<ide><path>Libraries/PushNotificationIOS/PushNotificationIOS.js <ide> const DEVICE_LOCAL_NOTIF_EVENT = 'localNotificationReceived'; <ide> * <ide> * [Manually link](docs/linking-libraries-ios.html#manual-linking) the PushNotificationIOS library <ide> * <del> * - Be sure to add the following to your `Header Search Pat...
1
Text
Text
fix typos [ci skip]
3bcecf8258d6b63ded2714672f92ad767423e41f
<ide><path>guides/source/migrations.md <ide> version to migrate to. <ide> ### Setup the Database <ide> <ide> The `rake db:setup` task will create the database, load the schema and initialize <del>it with seed data. <add>it with the seed data. <ide> <ide> ### Resetting the Database <ide> <ide> The `rake db:reset` tas...
1
Text
Text
remove experimental flag
5054e943d4590b3e426760be9bc5f96ef933ee1b
<ide><path>packages/next/README.md <ide> The [polyfills](https://github.com/zeit/next.js/tree/canary/examples/with-polyfi <ide> To enable AMP support for a page, first enable experimental AMP support in your `next.config.js` and then import `withAmp` from `next/amp` and wrap your page's component in it. <ide> <ide> ``...
1
PHP
PHP
unify namespaces for doc block params
8777df7774bdfa00eeb79cdbd9f2716660ccf743
<ide><path>src/Database/Dialect/SqlserverDialectTrait.php <ide> trait SqlserverDialectTrait { <ide> /** <ide> * Modify the limit/offset to TSQL <ide> * <del> * @param Cake\Database\Query $query The query to translate <del> * @return Cake\Database\Query The modified query <add> * @param \Cake\Database\Query $query The...
6
PHP
PHP
fix typo in database/connectionmanager
c43f375351b157d8c5f6c2f55a07a77f49a41bf8
<ide><path>lib/Cake/Database/ConnectionManager.php <ide> public static function config($key, $config = null) { <ide> * <ide> * @param string $name The connection name. <ide> * @return Connection A connection object. <del> * @throws Cake\Error\MissingDataSourceConfigException When config data is missing. <add> * @thr...
1
Java
Java
reset charset field in mockhttpservletresponse
5576321b04bd4112dd7414eff264cb46db931501
<ide><path>spring-test/src/main/java/org/springframework/mock/web/MockHttpServletResponse.java <ide> public boolean isCommitted() { <ide> public void reset() { <ide> resetBuffer(); <ide> this.characterEncoding = null; <add> this.charset = false; <ide> this.contentLength = 0; <ide> this.contentType = null; <id...
3
Text
Text
fix readme conflict
40290f85c356ba720e4415a2cf6e219d0eae0e87
<ide><path>readme.md <ide> Then run `now` and enjoy! <ide> <ide> Next.js can be deployed to other hosting solutions too. Please have a look at the ['Deployment'](https://github.com/zeit/next.js/wiki/Deployment) section of the wiki. <ide> <del><<<<<<< HEAD <del>Note: we recommend putting `.next`, or your custom dist f...
1
Ruby
Ruby
add advice about keychain credentials
8aaa95ee993187f763b0953d3720b5f6308472d3
<ide><path>Library/Homebrew/utils.rb <ide> def initialize(reset, error) <ide> GitHub #{error} <ide> Try again in #{pretty_ratelimit_reset(reset)}, or create a personal access token: <ide> #{Tty.em}https://github.com/settings/tokens/new?scopes=&description=Homebrew#{Tty.reset} <del> and ...
1
Text
Text
remove unused links from docs
d5c34aa8130164ecf07a786668a1272ddcf483af
<ide><path>docs/api-guide/authentication.md <ide> HTTP Signature (currently a [IETF draft][http-signature-ietf-draft]) provides a <ide> [http401]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2 <ide> [http403]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4 <ide> [basicauth]: http://...
15
PHP
PHP
remove unneccesary elseif
817015e6b306bc9b39087d9ac911f9147a8917b3
<ide><path>lib/Cake/Model/Datasource/CakeSession.php <ide> protected static function _startSession() { <ide> if (empty($_SESSION)) { <ide> $_SESSION = array(); <ide> } <del> } elseif (!isset($_SESSION)) { <del> session_start(); <ide> } else { <ide> session_start(); <ide> }
1
Python
Python
add test for doc.char_span
c606b4a42c9f87caea01d8d4308924f00d3c5d10
<ide><path>spacy/tests/spans/test_span.py <ide> def test_spans_are_hashable(en_tokenizer): <ide> span3 = tokens[0:2] <ide> assert hash(span3) == hash(span1) <ide> <add> <add>def test_spans_by_character(doc): <add> span1 = doc[1:-2] <add> span2 = doc.char_span(span1.start_char, span1.end_char, label='GPE...
1
PHP
PHP
allow multi-dimentional arrays
5ce38d712d381cff62849b935c1bc3a701331d9e
<ide><path>src/Illuminate/Pagination/AbstractPaginator.php <ide> public function url($page) <ide> } <ide> <ide> return $this->path.'?' <del> .http_build_query($parameters, null, '&') <add> .url_decode(http_build_query($parameters, null, '&')) <ide> ...
1
Go
Go
update push and pull to registry 2.1 specification
0336b0cdaa74ac03003c4a933eb866fb0cec8125
<ide><path>graph/manifest.go <ide> package graph <ide> <ide> import ( <ide> "encoding/json" <add> "errors" <ide> "fmt" <ide> "io" <ide> "io/ioutil" <ide> func (s *TagStore) CmdManifest(job *engine.Job) engine.Status { <ide> } <ide> <ide> // Resolve the Repository name from fqn to endpoint + name <del> _, remote...
6
Text
Text
use python -m for spacy validate
343fd2969d5c37799428f0b1fbc840667a2eb8a3
<ide><path>CONTRIBUTING.md <ide> even format them as Markdown to copy-paste into GitHub issues: <ide> * **Checking the model compatibility:** If you're having problems with a <ide> [statistical model](https://spacy.io/models), it may be because to the <ide> model is incompatible with your spaCy installation. In spaCy v...
1
Javascript
Javascript
fix tests after removed deprecations
cfab47a45d16da734e8fbcad77ee9636c1bc9d11
<ide><path>packages/@ember/-internals/glimmer/tests/integration/components/input-angle-test.js <ide> moduleFor( <ide> ['@test sends an action with `<Input @enter={{action "foo"}} />` when <enter> is pressed']( <ide> assert <ide> ) { <del> assert.expect(2); <add> assert.expect(1); <ide> <ide> ...
2
Python
Python
fix an error in fmax docstring
6acf2969b5b35551dc3363881f4067c18052777a
<ide><path>numpy/core/code_generators/ufunc_docstrings.py <ide> def add_newdoc(place, name, doc): <ide> Returns <ide> ------- <ide> y : ndarray or scalar <del> The minimum of `x1` and `x2`, element-wise. Returns scalar if <add> The maximum of `x1` and `x2`, element-wise. Returns scalar if <i...
1
Java
Java
fix touch target for views with z-index
6f092a4264591d543a1afca981b31ce0287d9b28
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactZIndexedViewGroup.java <add>// Copyright 2004-present Facebook. All Rights Reserved. <add> <add>package com.facebook.react.uimanager; <add> <add>/** <add> * ViewGroup that supports z-index. <add> */ <add>public interface ReactZIndexedViewGroup { <a...
3
Go
Go
move testforbiddencontextpath to integration-cli
686786f107582c27c69a6f40655c8fc52a8e4d00
<ide><path>integration-cli/docker_cli_build_test.go <ide> func TestBuildEntrypointRunCleanup(t *testing.T) { <ide> } <ide> logDone("build - cleanup cmd after RUN") <ide> } <add> <add>func TestBuldForbiddenContextPath(t *testing.T) { <add> name := "testbuildforbidpath" <add> defer deleteImages(name) <add> ctx, err := ...
2
Ruby
Ruby
close our connection when we are done
16e4d013d8a264aed99deeba18d96a1ac541a715
<ide><path>activerecord/test/cases/scoping/default_scoping_test.rb <ide> def test_default_scope_with_conditions_hash <ide> <ide> def test_default_scoping_with_threads <ide> 2.times do <del> Thread.new { assert DeveloperOrderedBySalary.all.to_sql.include?('salary DESC') }.join <add> Thread.new { <add> ...
2
Javascript
Javascript
add sourcefilename for swc compiled core files
04bbea2cbe2e1f365c00bb95ef0b6f855f10ccdf
<ide><path>packages/next/taskfile-swc.js <ide> module.exports = function (task) { <ide> <ide> const swcOptions = isClient ? swcClientOptions : swcServerOptions <ide> <add> const filePath = path.join(file.dir, file.base) <add> const fullFilePath = path.join(__dirname, filePath) <add> const distFilePath = ...
1
Ruby
Ruby
fix duration check for longer sleep
66fda6b8949cde07966ab098125e1da7969e9468
<ide><path>activesupport/test/notifications_test.rb <ide> def test_nested_events_can_be_instrumented <ide> assert_equal 2, @events.size <ide> assert_equal :awesome, @events.last.name <ide> assert_equal Hash[:payload => "notifications"], @events.last.payload <del> assert_in_delta 100, @events.last.duratio...
1
Ruby
Ruby
remove unused scp exception
774adaf43537c536ccdaaf0ffe0b208d737d44cc
<ide><path>Library/Homebrew/exceptions.rb <ide> def initialize(url) <ide> end <ide> end <ide> <del># Raised in {ScpDownloadStrategy#fetch}. <del>class ScpDownloadStrategyError < RuntimeError <del> def initialize(cause) <del> super "Download failed: #{cause}" <del> end <del>end <del> <ide> # Raised by {#safe_sys...
1
Javascript
Javascript
add missing formcontroller extern definitions
1d5e18b062c3e33b2a8d96aa58d905ed2cd48649
<ide><path>closure/angular.js <ide> angular.NgModelController.prototype.$viewValue; <ide> */ <ide> angular.FormController = function() {}; <ide> <add>/** <add> * @param {*} control <add> */ <add>angular.FormController.prototype.$addControl = function(control) {}; <add> <ide> /** <ide> * @type {boolean} <ide> */ <id...
1
Javascript
Javascript
remove extra space
5eae4d03254f3fb6871cd40a5360381520b77495
<ide><path>packages/ember-views/lib/views/text_field.js <ide> @module ember <ide> @submodule ember-views <ide> */ <del>import { computed } from "ember-metal/computed"; <add>import { computed } from "ember-metal/computed"; <ide> import environment from "ember-metal/environment"; <ide> import create from "ember-metal/pl...
1
Java
Java
add @functionalinterface to messagepostprocessor
6a7e58ac82e4e2c5e31031587da45428c1b46e89
<ide><path>spring-jms/src/main/java/org/springframework/jms/core/MessagePostProcessor.java <ide> * @see JmsTemplate#convertAndSend(javax.jms.Destination, Object, MessagePostProcessor) <ide> * @see org.springframework.jms.support.converter.MessageConverter <ide> */ <add>@FunctionalInterface <ide> public interface Mes...
2
Text
Text
add e-book `mastering software development in r`
8f285d07920a476a23bfe6fe0d8ee209bb3741c9
<ide><path>guide/english/r/index.md <ide> Now install it on your computer. For help in installation refer to reference sec <ide> * [Coursera -allows to audit course for free but certification is paid.](https://www.coursera.org/learn/r-programming) <ide> * [DataCamp -allows to complete the introductory part for free.]...
1
Go
Go
use direct registry url
a152f37674df3f2a31e60cbfb764fa348333e805
<ide><path>registry/auth.go <ide> import ( <ide> "github.com/docker/docker/utils" <ide> ) <ide> <del>// Where we store the config file <del>const CONFIGFILE = ".dockercfg" <add>const ( <add> // Where we store the config file <add> CONFIGFILE = ".dockercfg" <ide> <del>// Only used for user auth + account creation <de...
2
Python
Python
copy tarballs and superpack into release dir
c7927eb658b9616b42368e9496cb0304bdd2e4ae
<ide><path>pavement.py <ide> import sys <ide> import subprocess <ide> import re <add>import shutil <ide> try: <ide> from hash import md5 <ide> except ImportError: <ide> DMG_CONTENT = paver.path.path('numpy-macosx-installer') / 'content' <ide> <ide> # Where to put the final installers, as put on sourceforge <del>IN...
1
Text
Text
add changelog entry for
0c0a69b5fa2bc5c004d7e9406e635bb1d696a4a3
<ide><path>railties/CHANGELOG.md <add>* Replace `chromedriver-helper` gem with `webdrivers` in default Gemfile. <add> `chromedriver-helper` is deprecated as of March 31, 2019 and won't <add> recieve any further updates. <add> <add> *Guillermo Iguaran‮* <add> <ide> * Applications running in `:zeitwerk` mode t...
1
PHP
PHP
remove unnecessary is_null check
c15fd12dc866a602dbc27a03366fa3b53bd06466
<ide><path>src/Illuminate/Database/Eloquent/Model.php <ide> public function touchOwners() <ide> { <ide> $this->$relation()->touch(); <ide> <del> if ( ! is_null($this->$relation)) <add> if ($this->$relation instanceof Model) <ide> { <del> if ($this->$relation instanceof Model) <del> { <del> $this-...
1
Javascript
Javascript
switch arguments in strictequal
8272e7fba46688deabcedb284da384e12030906c
<ide><path>test/parallel/test-vm-create-and-run-in-context.js <ide> const vm = require('vm'); <ide> // Run in a new empty context <ide> let context = vm.createContext(); <ide> let result = vm.runInContext('"passed";', context); <del>assert.strictEqual('passed', result); <add>assert.strictEqual(result, 'passed'); <ide> ...
1
Go
Go
move 'auth' to the registry subsystem
3d605683b3d272982399635a55ee81b2a7535e81
<ide><path>builtins/builtins.go <ide> import ( <ide> api "github.com/dotcloud/docker/api/server" <ide> "github.com/dotcloud/docker/daemon/networkdriver/bridge" <ide> "github.com/dotcloud/docker/engine" <add> "github.com/dotcloud/docker/registry" <ide> "github.com/dotcloud/docker/server" <ide> ) <ide> <ide> func Re...
4
PHP
PHP
apply fixes from styleci
befcfbcf1b0ed79e5d585b443fa06b88686d782a
<ide><path>tests/Validation/ValidationValidatorTest.php <ide> public function testDisplayableAttributesAreReplacedInCustomReplacers() <ide> $v->addExtension('alliteration', function ($attribute, $value, $parameters, $validator) { <ide> $other = array_get($validator->getData(), $parameters[0]); <ide>...
1
PHP
PHP
update authenticatesession.php
a7b21b84732e8d1139003d30f72a5cc20a2f726d
<ide><path>src/Illuminate/Session/Middleware/AuthenticateSession.php <ide> public function handle($request, Closure $next) <ide> } <ide> } <ide> <del> if (! $request->session()->has('password_hash_'.$this->auth->getDefaultDriver())) { <add> if (! $request->session()->has('password_has...
1
Javascript
Javascript
remove command from hotkeys
a7c42446be65043bfcd154e3a47d63e896ffa7c1
<ide><path>client/src/templates/Challenges/classic/Editor.js <ide> class Editor extends Component { <ide> label: 'Run tests', <ide> keybindings: [ <ide> /* eslint-disable no-bitwise */ <del> monaco.KeyMod.chord(monaco.KeyMod.CtrlCmd | monaco.KeyCode.Enter) <add> monaco.KeyMod.chord(mon...
2
Python
Python
add roberta to run_ner.py
4e5f88b74fa914a5f45aec3260977acfc3513536
<ide><path>examples/run_ner.py <ide> <ide> from transformers import AdamW, WarmupLinearSchedule <ide> from transformers import WEIGHTS_NAME, BertConfig, BertForTokenClassification, BertTokenizer <add>from transformers import RobertaConfig, RobertaForTokenClassification, RobertaTokenizer <ide> <ide> logger = logging.g...
1
Javascript
Javascript
fix failing unit tests after rebase
c4839016aa566a21958e4649b9878615f2d2a284
<ide><path>packages/sproutcore-handlebars/lib/controls/button.js <ide> SC.Button = SC.View.extend({ <ide> tagName: 'button', <ide> <ide> targetObject: function() { <del> var target = this.get('target'); <add> var target = get(this, 'target'); <ide> <ide> if (SC.typeOf(target) === "string") { <ide> ...
5
Text
Text
add another backer url
d78686b42102bd25ecade0ac9006dc9baf150c39
<ide><path>SUPPORTERS.md <ide> These wonderful people supported our Kickstarter by giving us £10 or more: <ide> * [Slobodan Miskovic](https://miskovic.ca) <ide> * [Kurt Ostergaard](http://KurtOstergaard.com) <ide> * [Simply Business](http://www.simplybusiness.co.uk/) <del>* Tate Johnson <add>* [Tate Johnson](http://tat...
1
PHP
PHP
fix missing round bracket
fc38e00289d848163c4da024877f31951c55b353
<ide><path>src/Illuminate/Cache/FileStore.php <ide> public function put($key, $value, $minutes) <ide> protected function createCacheDirectory($path) <ide> { <ide> try { <del> if (!file_exists(dirname($path)) { <add> if (!file_exists(dirname($path))) { <ide> $this->f...
1
Ruby
Ruby
remove pointless `private`
409e7e4fc5332bf6199ac927d816c51f1d6a3307
<ide><path>activerecord/lib/active_record/attribute_set/builder.rb <ide> def build_from_database(values = {}, additional_types = {}) <ide> attributes = LazyAttributeHash.new(types, values, additional_types) <ide> AttributeSet.new(attributes) <ide> end <del> <del> private <ide> end <ide> ...
1
Go
Go
notify agentinitdone after joining the cluster
8a1092fe78c533fa8104315f5b874758351f196c
<ide><path>libnetwork/agent.go <ide> func (c *controller) agentSetup() error { <ide> } <ide> return false <ide> }) <del> <del> if c.agent != nil { <del> close(c.agentInitDone) <del> } <ide> } <ide> } <add> <ide> if remoteAddr != "" { <ide> if err := c.agentJoin(remoteAddr); err != nil { <ide> ...
1
Ruby
Ruby
allow optional override
93d46c6d6c69d5279404bce211cb2f48120076f9
<ide><path>Library/Homebrew/extend/pathname.rb <ide> def install_symlink_p(src, new_basename) <ide> alias old_write write <ide> <ide> # We assume this pathname object is a file, obviously <del> def write(content, *open_args) <del> raise "Will not overwrite #{self}" if exist? <add> def write(content, overwrite...
1
Text
Text
update key event property - closes issue
86aedfc8c4c821014a70f967445257c3068dec7f
<ide><path>docs/tutorials/fundamentals/part-5-ui-and-react.md <ide> const Header = () => { <ide> const handleKeyDown = e => { <ide> const trimmedText = e.target.value.trim() <ide> // If the user pressed the Enter key: <del> if (e.which === 13 && trimmedText) { <add> if (e.key === 'Enter' && trimmedText)...
1
Python
Python
add a protocol for representing nested sequences
5580a4c4ba3bab701c17bca56d77105eedfa75c9
<ide><path>numpy/typing/__init__.py <ide> class _32Bit(_64Bit): ... # type: ignore[misc] <ide> class _16Bit(_32Bit): ... # type: ignore[misc] <ide> class _8Bit(_16Bit): ... # type: ignore[misc] <ide> <add>from ._nested_sequence import _NestedSequence <ide> from ._nbit import ( <ide> _NBitByte, <ide> _NBitSh...
2
Ruby
Ruby
remove deprecation comment
18bb644ce72cc70ef0c2d9f1d354269a8982ad2d
<ide><path>Library/Homebrew/cmd/tap.rb <ide> def tap_args <ide> assumptions, so taps can be cloned from places other than GitHub and <ide> using protocols other than HTTPS, e.g. SSH, git, HTTP, FTP(S), rsync. <ide> EOS <del> # odeprecated "brew tap --full" <ide> switch "--full", <ide> ...
1
Javascript
Javascript
add picture to xjs.knowntags
5f56f4ac36136fe2c61ee14a292c192298dd863d
<ide><path>vendor/fbtransform/transforms/xjs.js <ide> var knownTags = { <ide> param: true, <ide> path: true, <ide> pattern: false, <add> picture: true, <ide> polygon: true, <ide> polyline: true, <ide> pre: true,
1
PHP
PHP
fix more failing tests
5815cf8b9c5ad8b232507f39ae5ecab21b5146a5
<ide><path>lib/Cake/Test/TestCase/Routing/DispatcherTest.php <ide> public function testDispatchBasic() { <ide> $this->assertEquals($expected, $Dispatcher->controller->name); <ide> <ide> $expected = array('0' => 'home'); <del> $this->assertSame($expected, $controller->request->params['pass']); <add> $this->assert...
3
Ruby
Ruby
move generic assertions into actiondispatch
7b3b7cb2ab1ccf96d4c8a1bafd87dbfbd2ac8c84
<ide><path>actionpack/lib/action_controller/testing/integration.rb <ide> module Integration #:nodoc: <ide> # Integration::Session directly. <ide> class Session <ide> include Test::Unit::Assertions <del> include ActionController::TestCase::Assertions <add> include ActionDispatch::Assertions <ide>...
11
PHP
PHP
fix loose matching when validating route schemes
8e2e5fea08e26530ee3a8965de78c57329a50d6f
<ide><path>src/Illuminate/Routing/Route.php <ide> public function methods() <ide> */ <ide> public function httpOnly() <ide> { <del> return in_array('http', $this->action); <add> return in_array('http', $this->action, true); <ide> } <ide> <ide> /** <ide> public function httpsOnly() <ide> */ <ide> public func...
2
Ruby
Ruby
fix syntactical issues
6d4bce4baafcb34c11cbca12b0d75458a0111ed9
<ide><path>Library/Homebrew/dev-cmd/bump.rb <ide> def parse_livecheck_response(response) <ide> end <ide> <ide> def display(outdated_packages) <del> ohai "Outdated formulae\n" <del> <add> ohai "Outdated formulae" <add> puts <ide> outdated_packages.each do |formula, package_details| <ide> ohai for...
2
PHP
PHP
remove unrequired method getlayout
2b621879bae4669c27201f057106665e62456fa5
<ide><path>src/Illuminate/Routing/Controller.php <ide> public function callAction($method, $parameters) <ide> return $response; <ide> } <ide> <del> /** <del> * Get the layout used by the controller. <del> * <del> * @return \Illuminate\View\View|null <del> */ <del> public function getLayout() <del> { <del> retu...
1
PHP
PHP
add the ability to add automatic fields
44fee92558f540433d92ae5adfee37fae262977d
<ide><path>src/ORM/Association.php <ide> protected function _dispatchBeforeFind($query) { <ide> protected function _appendFields($query, $surrogate, $options) { <ide> $options['fields'] = $surrogate->clause('select') ?: $options['fields']; <ide> $target = $this->_targetTable; <del> if (empty($options['fields'])) ...
3
Javascript
Javascript
allow relative links in docs
43b2cd45f0b42efb67497a6471f3a1b26d792bd9
<ide><path>docs/spec/ngdocSpec.js <ide> describe('ngdoc', function(){ <ide> expect(doc.links).toContain('api/angular.link'); <ide> }); <ide> <add> describe('convertUrlToAbsolute', function() { <add> var doc; <add> <add> beforeEach(function() { <add> doc = new Doc({section: 'se...
2
Python
Python
allow specification of terms to fit in hermfit
acc294dcd7d3998f8f2b82cad8f3ed6db48c1f00
<ide><path>numpy/polynomial/hermite.py <ide> def hermfit(x, y, deg, rcond=None, full=False, w=None): <ide> y-coordinates of the sample points. Several data sets of sample <ide> points sharing the same x-coordinates can be fitted at once by <ide> passing in a 2D-array that contains one dataset pe...
1
Ruby
Ruby
provide access to the application's keygenerator
0479bff32dfb26a420b9ab4e2c2e6c2ed17550a3
<ide><path>railties/lib/rails/application.rb <ide> def reload_routes! <ide> routes_reloader.reload! <ide> end <ide> <add> <add> # Return the application's KeyGenerator <add> def key_generator <add> # number of iterations selected based on consultation with the google security <add> # team. De...
2
Javascript
Javascript
add 10 to ylabelwidth on set, rather than on use
5ab5e8400afad4ea3e3d3d47531465984f31a2ee
<ide><path>src/Chart.Core.js <ide> for (var i=0; i<=this.steps; i++){ <ide> this.yLabels.push(template(this.templateString,{value:(this.min + (i * this.stepValue)).toFixed(stepDecimalPlaces)})); <ide> } <del> this.yLabelWidth = (this.display && this.showLabels) ? longestText(this.ctx,this.font,this.yLabels)...
1
Python
Python
exclude everything under apidocs/*
5e5f7a5f603361ff4f7e56de5308668f60ce3053
<ide><path>docs/conf.py <ide> # List of patterns, relative to source directory, that match files and <ide> # directories to ignore when looking for source files. <ide> exclude_patterns = [ <del> 'apidocs/modules.rst', # generated during build (orphan) <add> 'apidocs/*', # generated during build (orphans) <ide> ...
1
Python
Python
add armpl as blas/lapack provider
10113d6cf392e6a2077687dff386d2765700904d
<ide><path>numpy/distutils/system_info.py <ide> def get_info(name, notfound_action=0): <ide> 1 - display warning message <ide> 2 - raise error <ide> """ <del> cl = {'atlas': atlas_info, # use lapack_opt or blas_opt instead <add> cl = {'armpl': armpl_info, <add> 'blas_armpl': blas_armpl_i...
1
Text
Text
remove the getting started section
564ae2b98287d346ee2a9705858db5115448d46f
<ide><path>readme.md <ide> <ide> Next.js is a minimalistic framework for server-rendered React applications. <ide> <add>**Visit https://learnnextjs.com to get started with Next.js.** <add> <add>--- <add> <ide> <!-- START doctoc generated TOC please keep comment here to allow auto update --> <ide> <!-- DON'T EDIT THIS...
1
Go
Go
fix error in rmi when conflict
dea29e7c999b7ef76a816867a2cb75c2da658fa2
<ide><path>api_test.go <ide> func TestDeleteImages(t *testing.T) { <ide> t.Errorf("Expected %d images, %d found", len(initialImages)+1, len(images)) <ide> } <ide> <del> req, err := http.NewRequest("DELETE", "/images/test:test", nil) <add> req, err := http.NewRequest("DELETE", "/images/"+unitTestImageID, nil) <ide> ...
2
Javascript
Javascript
add string-hash to compilation for styled-jsx
b04923775b9046e35a5e9c3bc7568ae4ec8182cf
<ide><path>packages/next/build/webpack.js <ide> function externalsConfig (dir, isServer) { <ide> return externals <ide> } <ide> <del> const notExternalModules = ['next/app', 'next/document', 'next/error', 'http-status'] <add> const notExternalModules = ['next/app', 'next/document', 'next/error', 'http-status',...
1
Javascript
Javascript
implement tty.readstream and tty.writestream
87d898929ff18a5167ecaec32446bd64b0b07750
<ide><path>lib/tty.js <del>var spawn = require('child_process').spawn; <add> <ide> var binding = process.binding('stdio'); <ide> <add>if (process.platform === 'win32') { <add> exports = module.exports = require('tty_win32'); <add>} else { <add> exports = module.exports = require('tty_posix'); <add>} <ide> <ide> exp...
3
Text
Text
add future changelog for 15.6.0 addon release
e2cf6f61c2a3636b5291dd692f7f61c10657cc47
<ide><path>CHANGELOG.md <ide> <ide> ### React Addons <ide> <del>* Remove PropTypes dependency from ReactLink. ([@gaearon](https://github.com/gaearon) in [#9766](https://github.com/facebook/react/pull/9766)) <del>* Fix issue where environment variable was not being transformed by browserify. ([@mridgway](https://gi...
1
PHP
PHP
replace attributes for arrays in validation
d3efa151cf1922b891134bffaf952533ad51e6a7
<ide><path>src/Illuminate/Validation/Validator.php <ide> protected function getAttribute($attribute) <ide> // The developer may dynamically specify the array of custom attributes <ide> // on this Validator instance. If the attribute exists in this array <ide> // it takes precedence over all othe...
2
Javascript
Javascript
fix loopprotect comment detection
4cc3d0e4a428bfdafb046f6d3e6d7efe39b3dbbd
<ide><path>public/js/lib/loop-protect/loop-protect.js <ide> if (typeof DEBUG === 'undefined') { DEBUG = true; } <ide> } <ide> } <ide> j -= 1; <del> } while (j !== 0); <add> } while (j >= 0); <ide> <ide> return false; <ide> } <ide> if (typeof DEBUG === 'undefined') { DEBUG = true; } <ide...
1
PHP
PHP
update doc for findornew method
e76168d60dfcda3341503998e21ac0608caed92c
<ide><path>src/Illuminate/Database/Eloquent/Model.php <ide> public static function all($columns = ['*']) <ide> * <ide> * @param mixed $id <ide> * @param array $columns <del> * @return \Illuminate\Support\Collection|static <add> * @return \Illuminate\Database\Eloquent\Model|static <ide> *...
1
Javascript
Javascript
remove timer in test-dgram-send-empty-array
968fc72ad163cd635f6f33ad598048e327a7a791
<ide><path>test/parallel/test-dgram-send-empty-array.js <ide> if (common.isOSX) { <ide> <ide> const client = dgram.createSocket('udp4'); <ide> <del>const timer = setTimeout(function() { <del> throw new Error('Timeout'); <del>}, common.platformTimeout(200)); <del> <ide> client.on('message', common.mustCall(function o...
1
Javascript
Javascript
fix handling of incorrect uid/gid in spawn
22789fd6d0a53a986073373136c269016d4267c8
<ide><path>lib/child_process.js <ide> const { <ide> ERR_INVALID_OPT_VALUE, <ide> ERR_OUT_OF_RANGE <ide> } = require('internal/errors').codes; <del>const { validateString } = require('internal/validators'); <add>const { validateString, isInt32 } = require('internal/validators'); <ide> const child_process = require('...
2
Ruby
Ruby
use xargs to batch file arguments
d8a6863283048cd2cc1f7fb78178b2fc19420e0c
<ide><path>Library/Homebrew/keg_relocate.rb <ide> def text_files <ide> # file with that fix is only available in macOS Sierra. <ide> # http://bugs.gw.com/view.php?id=292 <ide> with_custom_locale("C") do <del> path.find do |pn| <del> next if pn.symlink? || pn.directory? <del> next if Metaf...
1
Go
Go
fix issue with cp to container volume dir
e6eef7eb4911252c38c829775aa0d510a432476a
<ide><path>pkg/chrootarchive/chroot_linux.go <ide> func chroot(path string) (err error) { <ide> if err := mount.MakeRPrivate("/"); err != nil { <ide> return err <ide> } <del> // ensure path is a mountpoint <del> if err := mount.MakePrivate(path); err != nil { <del> return err <add> <add> if mounted, _ := mount.Mou...
1
Javascript
Javascript
turn non cta buttons to ghost
c413995a4f7876b77717fff29babeb0461f9c7c4
<ide><path>client/src/templates/Challenges/components/CompletionModal.js <ide> export class CompletionModal extends Component { <ide> block={true} <ide> bsSize='lg' <ide> bsStyle='primary' <del> className='btn-primary-invert' <add> className='btn-inver...
4
PHP
PHP
fix some docblocks
ed86dcda3078d0cd470199b7cf4853d8b2cde808
<ide><path>src/Illuminate/Mail/Mailable.php <ide> class Mailable implements MailableContract <ide> /** <ide> * Send the message using the given mailer. <ide> * <del> * @param MailerContract $mailer <add> * @param \Illuminate\Contracts\Mail\Mailer $mailer <ide> * @return void <ide> */...
1
Ruby
Ruby
leave all our tests as order_dependent! for now
2f52f969885b2834198de0045748436a4651a94e
<ide><path>actionmailer/test/abstract_unit.rb <ide> def jruby_skip(message = '') <ide> end <ide> <ide> require 'mocha/setup' # FIXME: stop using mocha <add> <add># FIXME: we have tests that depend on run order, we should fix that and <add># remove this method call. <add>require 'active_support/test_case' <add>ActiveSu...
7
Text
Text
add builder dev-report for 2017-05-07
63c16a443a9d5728dec19ae5de4abb61bdb9441c
<ide><path>reports/builder/2017-05-07.md <add># Development Report for May 07, 2017 <add> <add> <add>### Quality: Dependency interface switch <add> <add>Proposal for [switching the dependency interface](https://github.com/moby/moby/issues/32904) for current builder package. That should fix the current problems with dat...
1
Javascript
Javascript
remove indirection in checking proptypes
a8d37a7aa0033d1af9eb886509a96f778881fe12
<ide><path>src/isomorphic/classic/element/ReactElementValidator.js <ide> var ReactCurrentOwner = require('ReactCurrentOwner'); <ide> var ReactElement = require('ReactElement'); <ide> <del>var checkReactTypeSpec = require('checkReactTypeSpec'); <del> <ide> var canDefineProperty = require('canDefineProperty'); <ide> var...
5
Javascript
Javascript
remove unnecessary assignments with _extend
dce37dc35b48f1de9f69e11e68deae73a20b6c7a
<ide><path>lib/_http_agent.js <ide> Agent.prototype.addRequest = function addRequest(req, options) { <ide> } <ide> <ide> options = util._extend({}, options); <del> options = util._extend(options, this.options); <add> util._extend(options, this.options); <ide> <ide> if (!options.servername) { <ide> options...
4
Python
Python
add support for listing user objects.
6f646fd107aa0a09bc020b3dedd627c65664af34
<ide><path>airflow/www/views.py <ide> class CustomUserStatsChartView(UserStatsChartView): <ide> route_base = "/userstatschartview" <ide> method_permission_name = { <ide> 'chart': 'read', <add> 'list': 'read', <ide> } <ide> base_permissions = [permissions.ACTION_CAN_READ] <ide> <ide> clas...
1
PHP
PHP
tweak a few things
4c78958b5b7de2b80a1b7a2699a7218d3caf478f
<ide><path>app/Console/Commands/Inspire.php <ide> <ide> class Inspire extends Command <ide> { <add> <ide> /** <ide> * The console command name. <ide> * <ide><path>app/Console/Kernel.php <ide> <ide> class Kernel extends ConsoleKernel <ide> { <add> <ide> /** <ide> * The Artisan commands provided ...
17
Ruby
Ruby
move pathename property tests to separate file
e4766639dc00f3844e4ab18fbd36d90633549dcf
<ide><path>Library/Homebrew/test/test_bucket.rb <ide> def test_pathname_plus_yeast <ide> abcd.cp HOMEBREW_CACHE <ide> assert orig_abcd.exist? <ide> <del> foo1=HOMEBREW_CACHE+'foo-0.1.tar.gz' <del> FileUtils.cp ABS__FILE__, foo1 <del> assert foo1.file? <del> <del> ass...
1
Python
Python
add stringstore test for api docs
804dbb8d258c2c5e58c0b7fcdff21c68d818706a
<ide><path>spacy/tests/stringstore/test_stringstore.py <ide> import pytest <ide> <ide> <add>def test_stringstore_from_api_docs(stringstore): <add> apple_hash = stringstore.add('apple') <add> assert apple_hash == 8566208034543834098 <add> assert stringstore[apple_hash] == u'apple' <add> <add> assert u'appl...
1