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
fix signoff for linuxbrew-core
f01f3a9f5677e896b6b7a921ba491323efe5a23b
<ide><path>Library/Homebrew/dev-cmd/pr-pull.rb <ide> def signoff!(path, pr: nil, dry_run: false) <ide> if pr <ide> # This is a tap pull request and approving reviewers should also sign-off. <ide> tap = Tap.from_path(path) <del> trailers += GitHub.approved_reviews(tap.user, "homebrew-#{tap.repo}", p...
1
Python
Python
fix import errors
8845c0be88bf68fa0e42d05c7196cd52d897623b
<ide><path>rest_framework/compat.py <ide> def apply_markdown(text): <ide> # OAuth 2 support is optional <ide> try: <ide> import provider.oauth2 as oauth2_provider <add> <add> # Hack to fix submodule import issues <add> submodules = ['backends', 'forms','managers','models','urls','views'] <add> for s in sub...
3
Javascript
Javascript
replace the `xref.cache` array with a map instead
1cd9a28c8126e8461b7fe8c8a253d6d7ee328236
<ide><path>src/core/obj.js <ide> var XRef = (function XRefClosure() { <ide> this.pdfManager = pdfManager; <ide> this.entries = []; <ide> this.xrefstms = Object.create(null); <del> // prepare the XRef cache <del> this.cache = []; <add> this._cacheMap = new Map(); // Prepare the XRef cache. <ide> ...
1
Javascript
Javascript
insert description into editor
1ee5e24d0f310bc68234589108b3720c977c4605
<ide><path>client/src/templates/Challenges/classic/Editor.js <ide> import isEqual from 'lodash/isEqual'; <ide> <ide> import { <ide> canFocusEditorSelector, <add> consoleOutputSelector, <ide> executeChallenge, <ide> inAccessibilityModeSelector, <ide> saveEditorContent, <ide> const propTypes = { <ide> challen...
2
Javascript
Javascript
return boolean from child.send()
cf0130dc0df788bece8f905f7d295e15c0f523cc
<ide><path>lib/internal/child_process.js <ide> function setupChannel(target, channel) { <ide> handle: handle, <ide> message: message.msg, <ide> }); <del> return; <add> return this._handleQueue.length === 1; <ide> } <ide> <ide> var obj = handleConversion[message.typ...
2
Ruby
Ruby
move changed_attributes into dirty.rb
8cbd500035aa64a5440d5ccc44209cfd902118fc
<ide><path>activerecord/lib/active_record/attribute_methods/dirty.rb <ide> def reload(*) <ide> end <ide> end <ide> <add> def initialize_dup(other) # :nodoc: <add> super <add> init_changed_attributes <add> end <add> <ide> private <add> def initialize_internals_callback <add> ...
6
Ruby
Ruby
fix existing rule for github.io homepages
64448834a68ee1e183e5c2bf9504dadfa9431dc1
<ide><path>Library/Homebrew/dev-cmd/audit.rb <ide> def audit_homepage <ide> # exemptions as they are discovered. Treat mixed content on homepages as a bug. <ide> # Justify each exemptions with a code comment so we can keep track here. <ide> case homepage <del> when %r{^http://[^/]*github\.io/}, <add> ...
1
Javascript
Javascript
add items in the correct order
e387680c43945e3c755a3d728f659a678d9d99b1
<ide><path>examples/todomvc/src/reducers/todos.js <ide> export default function todos(state = initialState, action) { <ide> switch (action.type) { <ide> case ADD_TODO: <ide> return [ <add> ...state, <ide> { <ide> id: state.reduce((maxId, todo) => Math.max(todo.id, maxId), -1) + 1, <...
2
Mixed
Javascript
move wpt to its own testing module
ff001c12b032c33dd54c6bcbb0bdba4fe549ec27
<ide><path>benchmark/http/http_server_for_chunky_client.js <ide> var http = require('http'); <ide> var fs = require('fs'); <ide> var fork = require('child_process').fork; <ide> var common = require('../common.js'); <del>var test = require('../../test/common.js'); <add>var test = require('../../test/common'); <ide> var ...
22
Text
Text
add clover health to airflow users
92f3ea794b18e11525d2d0540d91474329373cc5
<ide><path>README.md <ide> Currently **officially** using Airflow: <ide> * Agari [@r39132](https://github.com/r39132) <ide> * [Bellhops](https://github.com/bellhops) <ide> * BlueApron [[@jasonjho](https://github.com/jasonjho) & [@matthewdavidhauser](https://github.com/matthewdavidhauser)] <add>* [Clover Health] (https:...
1
Ruby
Ruby
use real_mod_name on check for removed module
15874514fa5a9b380a23e05ee5d7d84165757e56
<ide><path>activesupport/lib/active_support/dependencies.rb <ide> def qualified_name_for(mod, name) <ide> # it is not possible to load the constant into from_mod, try its parent <ide> # module using +const_missing+. <ide> def load_missing_constant(from_mod, const_name) <del> unless qualified_const_defi...
1
Javascript
Javascript
fix istanbul crash
61a3bff8350db475ebcf258c2c4da7545dfa6b40
<ide><path>test/configCases/plugins/define-plugin/webpack.config.js <ide> module.exports = { <ide> TRUE: true, <ide> FALSE: false, <ide> UNDEFINED: undefined, <del> FUNCTION: function(a) { <add> FUNCTION: /* istanbul ignore next */ function(a) { <ide> return a + 1; <ide> }, <ide> CODE: "(1+2)", <...
1
Javascript
Javascript
enforce access to prototype from primordials
5c3944fa204f161335ace6e65834c57e7a4b27e9
<ide><path>lib/internal/freeze_intrinsics.js <ide> const { <ide> Array, <ide> ArrayBuffer, <add> ArrayBufferPrototype, <add> ArrayPrototype, <ide> ArrayPrototypeForEach, <add> ArrayPrototypePush, <ide> BigInt, <ide> BigInt64Array, <add> BigInt64ArrayPrototype, <add> BigIntPrototype, <ide> BigUint64Arra...
4
Javascript
Javascript
add hascrypto to tls-wrap-event-emmiter
5debcceafcdd73035d840f53deb931925691a3ab
<ide><path>test/parallel/test-tls-wrap-event-emmiter.js <ide> * Test checks if we get exception instead of runtime error <ide> */ <ide> <del>require('../common'); <add>const common = require('../common'); <add>if (!common.hasCrypto) { <add> common.skip('missing crypto'); <add> return; <add>} <ide> const assert = r...
1
Python
Python
raise exceptions instead of asserts
64743d0abe7a37e67be7c27618cbb030c070c07e
<ide><path>src/transformers/data/processors/utils.py <ide> def add_examples_from_csv( <ide> def add_examples( <ide> self, texts_or_text_and_labels, labels=None, ids=None, overwrite_labels=False, overwrite_examples=False <ide> ): <del> assert labels is None or len(texts_or_text_and_labels) == len(...
1
Text
Text
add comparison table with older brother in family
85b324bee56c32142cc131149d7a92281964641f
<ide><path>model_cards/mrm8488/bert-tiny-finetuned-squadv2/README.md <ide> The script for fine tuning can be found [here](https://github.com/huggingface/tr <ide> | **EM** | **48.60** | <ide> | **F1** | **49.73** | <ide> <add> <add>| Model ...
1
Javascript
Javascript
add coverage for systemerror set name
0f8d7a684f1a4885f14b5b5e1c5f675e2738712c
<ide><path>test/parallel/test-errors-systemerror.js <ide> const { ERR_TEST } = codes; <ide> assert.strictEqual(err.path, 'path'); <ide> assert.strictEqual(err.dest, 'path'); <ide> } <add> <add>{ <add> const ctx = { <add> code: 'ERR_TEST', <add> message: 'Error occurred', <add> syscall: 'syscall_test' <add...
1
Python
Python
add support for eu-north-1 in ec2
457d340d6e86d6a5c07661e3941fe6497335f56f
<ide><path>libcloud/compute/constants.py <ide> ], <ide> "signature_version": "4" <ide> }, <add> "eu-north-1": { <add> "api_name": "ec2_eu_north", <add> "country": "Stockholm", <add> "endpoint": "ec2.eu-north-1.amazonaws.com", <add> "id": "eu-north-1", <add> "ins...
1
Javascript
Javascript
add support for the contenteditable attribute
cccf9ad91d8b6626e1e20bd267c9cd0b6223f15c
<ide><path>src/attributes.js <ide> jQuery.extend({ <ide> rowspan: "rowSpan", <ide> colspan: "colSpan", <ide> usemap: "useMap", <del> frameborder: "frameBorder" <add> frameborder: "frameBorder", <add> contenteditable: "contentEditable" <ide> }, <ide> <ide> prop: function( elem, name, value ) { <ide><path>te...
2
PHP
PHP
fix lying docblocks
1950b298f68def0d47e66c1a258e25f14bbea716
<ide><path>src/Http/Session.php <ide> public function check(?string $name = null): bool <ide> * <ide> * @param string|null $name The name of the session variable (or a path as sent to Hash.extract) <ide> * @param mixed $default The return value when the path does not exist <del> * @return string|arra...
1
Java
Java
add consumewith to fluxexchangeresult
d742fc198abc8fee8477cea2d5761649b8ac40e3
<ide><path>spring-test/src/main/java/org/springframework/test/web/reactive/server/DefaultWebTestClient.java <ide> <ide> import org.springframework.core.ParameterizedTypeReference; <ide> import org.springframework.core.io.ByteArrayResource; <add>import org.springframework.core.io.buffer.DataBuffer; <ide> import org.spr...
3
Javascript
Javascript
remove stack trace from production
3bac2476279ca188f94b31c7f062b8019320163a
<ide><path>server/server.js <ide> R.keys(passportProviders).map(function(strategy) { <ide> * 500 Error Handler. <ide> */ <ide> <del>// if (process.env.NODE_ENV === 'development') { <del>if (true) { // eslint-disable-line <del> // NOTE(berks): adding pmx here for Beta test. Remove for production <del> app.use(pmx.e...
1
PHP
PHP
fix coding standards
6a8913361f6fc43cd3b06778bd81433b5a8af3f4
<ide><path>lib/Cake/Cache/Engine/MemcachedEngine.php <ide> public function init($settings = array()) { <ide> * Settings the memcached instance <ide> * <ide> */ <del> protected function _setOptions() <del> { <add> protected function _setOptions() { <ide> $this->_Memcached->setOption(Memcached::OPT_LIBKETAMA_COMPATI...
1
Text
Text
add autofocus to supported html attributes
a4c96d6e9c12e2b7438ba373f48b695f46cbbd6d
<ide><path>docs/docs/ref-04-tags-and-attributes.md <ide> These standard attributes are supported: <ide> <ide> ``` <ide> accept acceptCharset accessKey action allowFullScreen allowTransparency alt <del>async autoComplete autoPlay cellPadding cellSpacing charSet checked classID <add>async autoComplete autoFocus autoPlay...
1
Go
Go
clarify the need for named error
a40e337882dfe3f34af44a9f2aec2ed96dcce455
<ide><path>graph/graph.go <ide> func (graph *Graph) Create(layerData archive.ArchiveReader, containerID, contain <ide> <ide> // Register imports a pre-existing image into the graph. <ide> func (graph *Graph) Register(img *Image, layerData archive.ArchiveReader) (err error) { <add> <ide> if err := image.ValidateID(img...
1
Text
Text
fix example package error
7a5224afe469104fd35283a5fef7556563054214
<ide><path>libnetwork/README.md <ide> There are many networking solutions available to suit a broad range of use-cases <ide> epInfo, err := ep.DriverInfo() <ide> mapData, ok := epInfo[netlabel.PortMap] <ide> if ok { <del> portMapping, ok := mapData.([]netutils.PortBinding) <add> portMapping, ok := mapData.([]...
1
Ruby
Ruby
add method to env for setting up a debug build
85d7d4e16c0988edcceb127dbbe3b12af3655bdd
<ide><path>Library/Homebrew/extend/ENV.rb <ide> def Os <ide> remove_from_cflags(/-O./) <ide> append_to_cflags '-Os' <ide> end <add> def Og <add> # Sometimes you want a debug build <add> remove_from_cflags(/-O./) <add> append_to_cflags '-g -O0' <add> end <ide> <ide> def gcc_4_0_1 <ide> self['...
1
Python
Python
use class decorators to register types
c64850d729b5630582f85a7bd7baed21916aa992
<ide><path>celery/canvas.py <ide> <ide> Composing task workflows. <ide> <del> Documentation for these functions are in :mod:`celery`. <del> You should not import from this module directly. <add> Documentation for some of these types are in :mod:`celery`. <add> You should not import these from :mod:`ce...
1
Python
Python
update support properties
fc1a3b24cb5c96ef4847b84aa2fe441bd2c28769
<ide><path>utils/exporters/maya/plug-ins/threeJsFileTranslator.py <ide> def _exportMaterial(self, mat): <ide> "DbgName": mat.name(), <ide> "blending": "NormalBlending", <ide> "colorDiffuse": map(lambda i: i * mat.getDiffuseCoeff(), mat.getColor().rgb), <del> "colorAmbient"...
1
PHP
PHP
fix route naming issue
68cde6fbab28a369f7f090af1aeb1837f053f088
<ide><path>src/Illuminate/Routing/AbstractRouteCollection.php <ide> protected function addToSymfonyRoutesCollection(SymfonyRouteCollection $symfonyR <ide> throw new LogicException("Unable to prepare route [{$route->uri}] for serialization. Another route has already been assigned name [{$name}]."); <ide> ...
2
Text
Text
add changelog.md entry for [ci skip]
723f29c0dd172ae41d710b239e2a000b16aad01a
<ide><path>actionpack/CHANGELOG.md <add>* Add DSL for configuring Content-Security-Policy header <add> <add> The DSL allows you to configure a global Content-Security-Policy <add> header and then override within a controller. For more information <add> about the Content-Security-Policy header see MDN: <add> ...
1
Text
Text
standardize references to userland
f5a3f44f5c0381d4b0505b4b8ff3df8de6225444
<ide><path>CHANGELOG.md <ide> https://iojs.org/api/tls.html <ide> - Added async session storage events. <ide> - Added async SNI callback. <ide> - Added multi-key server support (for example, ECDSA+RSA server). <del>- Added optional callback to `checkServerIdentity` for manual certificate validation in user-land. <add>-...
2
Javascript
Javascript
fix figtabs sst race
6ae0b344e5c221657287d1fc1511be520a6f6e58
<ide><path>Libraries/Types/CoreEventTypes.js <ide> <ide> 'use strict'; <ide> <del>export type Layout = { <del> x: number, <del> y: number, <del> width: number, <del> height: number, <del>}; <del>export type LayoutEvent = { <del> nativeEvent: { <del> layout: Layout, <del> }, <del>}; <add>export type Layout = ...
1
Javascript
Javascript
add support for 404 handling via $route.otherwise
ce7ab3d1ee0e496c4b9838950b56fc1555b5bcf0
<ide><path>src/services.js <ide> angularServiceInject('$route', function(location) { <ide> if (params) extend(route, params); <ide> dirty++; <ide> return route; <add> }, <add> <add> /** <add> * @workInProgress <add> * @ngdoc method <add> * @name angula...
2
Javascript
Javascript
shorten config name in http benchmark
d3841ec8727cbc69d520fccbd3b95c90a4a6661b
<ide><path>benchmark/http/check_invalid_header_char.js <ide> const common = require('../common.js'); <ide> const _checkInvalidHeaderChar = require('_http_common')._checkInvalidHeaderChar; <ide> <add>// Put it here so the benchmark result lines will not be super long. <add>const LONG_AND_INVALID = 'Here is a value that...
1
Java
Java
extend conditional conversion support
f13e3ad72b813d35d3187394dc53f98a35003c9a
<ide><path>spring-core/src/main/java/org/springframework/core/convert/converter/ConditionalConversion.java <add>/* <add> * Copyright 2012 the original author or authors. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the Licens...
7
Javascript
Javascript
remove unused variables from https tests
fd395ba5c9924168880d212bb7b9bd02ceee45f5
<ide><path>test/parallel/test-https-agent-disable-session-reuse.js <ide> if (!common.hasCrypto) { <ide> const TOTAL_REQS = 2; <ide> <ide> const https = require('https'); <del>const crypto = require('crypto'); <ide> <ide> const fs = require('fs'); <ide> <ide><path>test/parallel/test-https-agent-servername.js <ide> 'u...
11
Javascript
Javascript
remove tests for jquery events
d0dc039a5d0bee7a1bbef0ab478fb13a0135cf15
<ide><path>packages/@ember/-internals/glimmer/tests/integration/components/input-angle-test.js <del>import { RenderingTestCase, moduleFor, runDestroy, runTask } from 'internal-test-helpers'; <add>import { moduleFor, RenderingTestCase, runDestroy, runTask } from 'internal-test-helpers'; <ide> import { EMBER_MODERNIZED_B...
2
Text
Text
move code not working? section back to readme.md
b4d4c19d055528329962e1903df4ae6be7c3f0c4
<ide><path>README.md <ide> Welcome to Free Code Camp's open source codebase and curriculum! <ide> <ide> Free Code Camp is an open-source community where you learn to code and help nonprofits. <ide> <del>You start by working through our self-paced, browser-based full stack JavaScript curriculum. <add>You start by wor...
1
Python
Python
add default name to emr serverless jobs
2ef15c5da0261a8b519913db4a0d0c3773a91e96
<ide><path>airflow/providers/amazon/aws/operators/emr.py <ide> class EmrServerlessStartJobOperator(BaseOperator): <ide> Its value must be unique for each request. <ide> :param config: Optional dictionary for arbitrary parameters to the boto API start_job_run call. <ide> :param wait_for_completion: If true...
2
Ruby
Ruby
use double quotes
289e3b90728cacdb96d61e721b30de566a0a8134
<ide><path>ci/ci_build.rb <ide> <ide> # for now, use the no-passwd sudoers approach (documented in ci_setup_notes.txt) <ide> # A security hole, but there is nothing valuable on rails CI box anyway. <del>build_results[:geminstaller] = system 'sudo geminstaller --config=#{root_dir}/ci/geminstaller.yml --exceptions' <add...
1
PHP
PHP
remove unused code and correct doc for modelclass
db9c3e5bf39113710910787997549b6c6e81f852
<ide><path>lib/Cake/Controller/Controller.php <ide> class Controller extends Object implements CakeEventListener { <ide> public $methods = array(); <ide> <ide> /** <del> * This controller's primary model class name, the Inflector::classify()'ed version of <add> * This controller's primary model class name, the Inflec...
1
Text
Text
add missing word in 'field.allow_null' docs
5fc35eb7eb1ce8ca91fa6364978b5e423b80a332
<ide><path>docs/api-guide/fields.md <ide> Defaults to `True`. <ide> <ide> Normally an error will be raised if `None` is passed to a serializer field. Set this keyword argument to `True` if `None` should be considered a valid value. <ide> <del>Note that setting this argument to `True` will imply a default value of `nu...
1
Go
Go
handle external network when deploying
6fff8454099092780655e8a2c7d71402ce547c5c
<ide><path>cli/command/stack/common.go <ide> func getServices( <ide> types.ServiceListOptions{Filters: getStackFilter(namespace)}) <ide> } <ide> <del>func getNetworks( <add>func getStackNetworks( <ide> ctx context.Context, <ide> apiclient client.APIClient, <ide> namespace string, <ide><path>cli/command/stack/depl...
3
Javascript
Javascript
replace fixturesdir with usage of fixtures module
fb31e074503145302acaaec49bbf779fdf067d83
<ide><path>test/parallel/test-tls-ecdh-disable.js <ide> // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE <ide> // USE OR OTHER DEALINGS IN THE SOFTWARE. <ide> <add>// Test that the usage of eliptic curves are not permitted if disabled during <add>// server initialization. <add> <ide> 'use s...
1
PHP
PHP
clarify invalid connection message
61c887fddd6706208be16da5e3e7f3a2ddf95953
<ide><path>src/Illuminate/Database/DatabaseManager.php <ide> protected function configuration($name) <ide> $connections = $this->app['config']['database.connections']; <ide> <ide> if (is_null($config = Arr::get($connections, $name))) { <del> throw new InvalidArgumentException("Database [{$na...
1
Text
Text
fix arch build instructions
3a3e4c1eb9e05a4c4ad34f7e7a6d0712afddb252
<ide><path>docs/build-instructions/linux.md <ide> Ubuntu LTS 12.04 64-bit is the recommended platform. <ide> ### Arch <ide> <ide> * `sudo pacman -S gconf base-devel git nodejs libgnome-keyring python2` <del>* `export python=/usr/bin/python2` before building Atom. <add>* `export PYTHON=/usr/bin/python2` before building...
1
PHP
PHP
implement a warning for large cookies
1f92036673ff4f66e4ff0b79a223d332f942e44f
<ide><path>src/Http/Cookie/CookieCollection.php <ide> public function addToRequest(RequestInterface $request, array $extraCookies = [] <ide> $cookies = array_merge($cookies, $extraCookies); <ide> $cookiePairs = []; <ide> foreach ($cookies as $key => $value) { <del> $cookiePairs[] = sp...
2
Javascript
Javascript
fix bugs in humanize and asyears
bcda4cf0c040047acd85bfe4864e6aead598eb38
<ide><path>moment.js <ide> years === 1 && ['y'] || ['yy', years]; <ide> <ide> args[2] = withoutSuffix; <del> args[3] = +msOrDuration > 0; <add> args[3] = +posNegDuration > 0; <ide> args[4] = lang; <ide> return substituteTimeAgo.apply({}, args); <ide> } <ide> ...
1
Text
Text
update korean translation to 5275244
6f434b35ade6a6ac776f9469aeadcd134f2bc4b1
<ide><path>docs/docs/02-displaying-data.ko-KR.md <ide> setInterval(function() { <ide> <ide> ## 컴포넌트들은 함수와 같습니다 <ide> <del>React 컴포넌트들은 매우 단순합니다. 당신은 그것들을 `props` 와 `state` (이것들은 나중에 언급할 것입니다) 를 받고 HTML을 렌더링하는 단순한 함수들로 생각해도 됩니다. 그것들은 너무 단순하기 때문에, 그것들의 작동을 이해하는 것 또한 쉽게 만듭니다. <add>React 컴포넌트들은 매우 단순합니다. 당신은 그것들을 `props`...
13
PHP
PHP
move empty check to a more general purpose place
39e9863a2588462cf9a523a2da8e32f166182d41
<ide><path>src/Database/Query.php <ide> protected function _makeJoin($table, $conditions, $type) <ide> */ <ide> public function where($conditions = null, $types = [], $overwrite = false) <ide> { <del> if (empty($conditions)) { <del> return $this; <del> } <ide> if ($overwrit...
1
Text
Text
remove broken links
29a64f2384f53760e9133d11a0c60e0d32ed9187
<ide><path>guides/source/rails_on_rack.md <ide> Resources <ide> <ide> * [Official Rack Website](http://rack.github.io) <ide> * [Introducing Rack](http://chneukirchen.org/blog/archive/2007/02/introducing-rack.html) <del>* [Ruby on Rack #1 - Hello Rack!](http://m.onkey.org/ruby-on-rack-1-hello-rack) <del>* [Ruby on Rack...
1
Java
Java
fix potential npe in uiviewoperationqueue
cfb90284d654664c705a04fe451e7a16f0779b4f
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/UIViewOperationQueue.java <ide> import com.facebook.react.bridge.ReactContext; <ide> import com.facebook.react.bridge.ReadableArray; <ide> import com.facebook.react.bridge.ReadableMap; <add>import com.facebook.react.bridge.SoftAssertions; <ide> import c...
1
Text
Text
fix consistency of component api document
b7860b7da4f87bbe4b66dd5f5b1be8ff698a71b4
<ide><path>docs/docs/ref-02-component-api.md <ide> replaceState(object nextState[, function callback]) <ide> Like `setState()` but deletes any pre-existing state keys that are not in nextState. <ide> <ide> <del>### forceUpdate() <add>### forceUpdate <ide> <ide> ```javascript <ide> forceUpdate([function callback]) <i...
1
Python
Python
fix newlines in diagnostics output of numpy.f2py
cbc25d2cc9ed50e8f0d026d1e2e4766378d1640f
<ide><path>numpy/f2py/capi_maps.py <ide> def getpydocsign(a, var): <ide> sigout = sig <ide> else: <ide> errmess( <del> 'getpydocsign: Could not resolve docsignature for "%s".\\n' % a) <add> 'getpydocsign: Could not resolve docsignature for "%s".\n' % a) <ide> return sig, si...
3
Javascript
Javascript
improve $location.hash() example
228281eecc703d1535e2e9871249a4ec8e2d9843
<ide><path>src/ng/location.js <ide> var locationPrototype = { <ide> * <ide> * <ide> * ```js <del> * // given url http://example.com/some/path?foo=bar&baz=xoxo#hashValue <add> * // given url http://example.com/#/some/path?foo=bar&baz=xoxo#hashValue <ide> * var hash = $location.hash(); <ide> * // => "h...
1
Text
Text
add 2.17.0-beta.5 to changelog
131bf7ba6c18d4ea711297e58764a7b05f7ba51a
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### 2.17.0-beta.5 (November 7, 2017) <add>- [#15797](https://github.com/emberjs/ember.js/pull/15797) [BUGFIX] Fix issues with using partials nested within other partials. <add>- [#15808](https://github.com/emberjs/ember.js/pull/15808) [BUGFIX] Fix a memory lea...
1
Go
Go
implement docker pull with standalone client lib
e78f02c4dbc3cada909c114fef6b6643969ab912
<ide><path>api/client/client.go <ide> package client <ide> import ( <ide> "io" <ide> <add> "github.com/docker/docker/api/client/lib" <ide> "github.com/docker/docker/api/types" <ide> "github.com/docker/docker/cliconfig" <ide> "github.com/docker/docker/pkg/parsers/filters" <ide> type apiClient interface { <ide> Ima...
10
Mixed
Javascript
add arraybuffer support
284871862ed0fc08ed2946be9ee005c16877d05d
<ide><path>doc/api/zlib.md <ide> Compression strategy. <ide> <!-- YAML <ide> added: v0.11.1 <ide> changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/16042 <add> description: The `dictionary` option can be an ArrayBuffer. <ide> - version: v8.0.0 <ide> pr-url: https://githu...
7
Ruby
Ruby
fix logger format with ruby 3.1
5f5bd542b3ad0e9eba69559f539ad6d7113e8e07
<ide><path>activesupport/test/clean_logger_test.rb <ide> def test_datetime_format <ide> @logger.formatter.datetime_format = "%Y-%m-%d" <ide> @logger.debug "debug" <ide> assert_equal "%Y-%m-%d", @logger.formatter.datetime_format <del> assert_match(/D, \[\d\d\d\d-\d\d-\d\d#\d+\] DEBUG -- : debug/, @out.str...
1
Ruby
Ruby
remove sqlite version support caveats [ci skip]
c699cbc4feac8ad9b52c3c4802083328383e7481
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb <ide> def truncate_tables(*table_names) # :nodoc: <ide> # end <ide> # <ide> # only post with title "first" is created. <del> # This works on MySQL and PostgreSQL. SQLite3 version >= '3.6.8' also <del> ...
1
Javascript
Javascript
simulate support of the int8array for ie9
cebf7836f47cc1be7cb6b0516f3327387f93613c
<ide><path>web/compatibility.js <ide> if (typeof PDFJS === 'undefined') { <ide> } <ide> <ide> window.Uint8Array = TypedArray; <add> window.Int8Array = TypedArray; <ide> <ide> // we don't need support for set, byteLength for 32-bit array <ide> // so we can use the TypedArray as well
1
Text
Text
add missing changelog item
6b99c6f9d376bacbb769264d743c405b495b03ad
<ide><path>CHANGELOG.md <ide> * Fix containing elements getting focused on SSR markup mismatch. ([@koba04](https://github.com/koba04) in [#11737](https://github.com/facebook/react/pull/11737)) <ide> * Fix `value` and `defaultValue` to ignore Symbol values. ([@nhunzaker](https://github.com/nhunzaker) in [#11741](https:/...
1
Text
Text
improve grammar in api description
230bce8e86c66751356b1469e0f918788dbff602
<ide><path>doc/api/tls.md <ide> Verifies the certificate `cert` is issued to `hostname`. <ide> Returns {Error} object, populating it with `reason`, `host`, and `cert` on <ide> failure. On success, returns {undefined}. <ide> <del>This function can be overwritten by providing alternative function as part of <del>the `op...
1
Mixed
Javascript
add middleware guide
673c23168492c3a2859ea6aa7184f0a80bdc1d8f
<ide><path>docs/guides/middleware.md <add># Middleware <add> <add>Middleware is a Video.js feature that allows interaction with and modification of how the `Player` and `Tech` talk to each other. For more in-depth information, check out our [feature spotlight](http://blog.videojs.com/feature-spotlight-middleware/). <ad...
2
Python
Python
remove redundant path
6145b7c15334f43d093c6bcd7fb2dd145ec0df98
<ide><path>spacy/cli/link.py <ide> def link_package(package_name, link_name, force=False): <ide> <ide> def symlink(model_path, link_name, force): <ide> model_path = Path(model_path) <del> if not Path(model_path).exists(): <add> if not model_path.exists(): <ide> util.sys_exit( <ide> "The d...
1
Python
Python
fix one more shlex.split
1176783310095c7c31ba9963a2aa1d1266c66707
<ide><path>spacy/cli/project.py <ide> def project_clone( <ide> run_command(["git", "-C", str(tmp_dir), "fetch"]) <ide> run_command(["git", "-C", str(tmp_dir), "checkout"]) <ide> shutil.move(str(tmp_dir / Path(name).name), str(project_dir)) <del> msg.good(f"Cloned project '{name}' from {repo}"...
1
Javascript
Javascript
make a method used externaly (in a test) public
1d7c990424e1e6f72fd2732901d8e6c413823852
<ide><path>Libraries/BatchedBridge/MessageQueue.js <ide> class MessageQueue { <ide> }; <ide> } <ide> <del> _getCallableModule(name: string) { <add> getCallableModule(name: string) { <ide> const getValue = this._lazyCallableModules[name]; <ide> return getValue ? getValue() : null; <ide> } <ide> class ...
2
Text
Text
update master documentation link in readme
b6321452738925983ba1306fb5396982d64f408a
<ide><path>README.md <ide> Choose the right framework for every part of a model's lifetime <ide> | [Quick tour: Fine-tuning/usage scripts](#quick-tour-of-the-fine-tuningusage-scripts) | Using provided scripts: GLUE, SQuAD and Text generation | <ide> | [Migrating from pytorch-transformers to transformers](#Migrating-fro...
1
Javascript
Javascript
use strict comparison when evaluating checked-ness
5ac7daea72ec31cf337d1d21b13f0d17ff33994f
<ide><path>src/ng/directive/input.js <ide> function radioInputType(scope, element, attr, ctrl) { <ide> if (doTrim) { <ide> value = trim(value); <ide> } <del> // Strict comparison would cause a BC <del> // eslint-disable-next-line eqeqeq <del> element[0].checked = (value == ctrl.$viewValue); <add>...
2
PHP
PHP
add test for new getassociation() being strict
8a612f2e009b9b66ddbd84aaee59f0cf4681b9e9
<ide><path>tests/TestCase/ORM/TableTest.php <ide> use Cake\ORM\TableRegistry; <ide> use Cake\TestSuite\TestCase; <ide> use Cake\Validation\Validator; <add>use InvalidArgumentException; <ide> <ide> /** <ide> * Used to test correct class is instantiated when using TableRegistry::get(); <ide> public function testAssocia...
1
Ruby
Ruby
fix incorrect comment
8aa537c9452d40aeaf25e6d7e0c5bb1205b05d1a
<ide><path>activesupport/lib/active_support/core_ext/string/output_safety.rb <ide> def to_yaml(*args) <ide> UNSAFE_STRING_METHODS.each do |unsafe_method| <ide> class_eval <<-EOT, __FILE__, __LINE__ + 1 <ide> def #{unsafe_method}(*args, &block) # def capitalize(*args, &block) <del> to_st...
1
Text
Text
add reactnext 2017 to conference list
b22387d4fe471255f17e26e898bc8c704920b084
<ide><path>docs/community/conferences.md <ide> September 6-7 in Wroclaw, Poland <ide> <ide> [Website](http://react-native.eu/) <ide> <add>### ReactNext 2017 <add>September 8-10 in Tel Aviv, Israel <add> <add>[Website](http://react-next.com/) - [Twitter](https://twitter.com/ReactNext) <add> <ide> ### React Boston 2017...
1
Python
Python
add test for 46d8a66
526be4082329d16ecf7b1fa40b81f2008396a325
<ide><path>spacy/tests/serialize/test_serialize_language.py <ide> <ide> from ..util import make_tempdir <ide> from ...language import Language <add>from ...tokenizer import Tokenizer <ide> <ide> import pytest <add>import re <ide> <ide> <ide> @pytest.fixture <ide> def test_serialize_language_meta_disk(meta_data): <i...
1
PHP
PHP
fix bug in lockout
407ee032a90e9e2a26774f4a346228f54a132eb7
<ide><path>src/Illuminate/Foundation/Auth/ThrottlesLogins.php <ide> protected function hasTooManyLoginAttempts(Request $request) <ide> { <ide> $attempts = $this->getLoginAttempts($request); <ide> <del> if ($attempts > 5) { <del> Cache::add($this->getLoginLockExpirationKey($request), time(...
1
Ruby
Ruby
fix build failures on pg
a69842447739d2f22657e347bad3b23c64b0c6b8
<ide><path>activerecord/lib/active_record/relation/predicate_builder.rb <ide> def expand_from_hash(attributes) <ide> expand_from_hash(query).reduce(&:and) <ide> end <ide> queries.reduce(&:or) <add> # FIXME: Deprecate this and provide a public API to force equality <add> ...
1
Javascript
Javascript
change warnings to use expectdev
4aa9cfb6ba33efb7bb823721df948f78444df673
<ide><path>src/addons/__tests__/ReactFragment-test.js <ide> describe('ReactFragment', () => { <ide> <ide> ReactFragment.create({1: <span />, 2: <span />}); <ide> <del> expect(console.error.calls.count()).toBe(1); <del> expect(console.error.calls.argsFor(0)[0]).toContain( <add> expectDev(console.error.cal...
42
Java
Java
make "single" support backpressure
c1ec1f4a4ee2dad56ecd0fee959e54d72c5c9734
<ide><path>rxjava-core/src/main/java/rx/internal/operators/OperatorSingle.java <ide> public void onNext(T value) { <ide> } else { <ide> this.value = value; <ide> isNonEmpty = true; <add> // Issue: https://github.com/Netflix/RxJava/pull/1527 <add...
2
Text
Text
add a section on introduction to lists
8df84d58e072cb1c89f1caf028304851700a56f6
<ide><path>guide/english/python/lists/index.md <ide> --- <ide> title: Lists <ide> --- <add> <ide> ## Lists <ide> Lists is one of the most common Python data structures you will encounter while programming in Python along with dictionary, tuple or set. <ide> <del>It is an ordered mutable collection, this means that yo...
1
PHP
PHP
use 403 status code
b6fc316b1ff1bb8df4288726e9784de03925a21c
<ide><path>src/Illuminate/Routing/Exceptions/InvalidSignatureException.php <ide> class InvalidSignatureException extends HttpException <ide> */ <ide> public function __construct() <ide> { <del> parent::__construct(401, 'Invalid signature.'); <add> parent::__construct(403, 'Invalid signature.'...
1
PHP
PHP
allow identifierexpression as argument in function
8df607657e3006b22761db1644e3e61cce00f9f2
<ide><path>src/Database/FunctionsBuilder.php <ide> public function dateDiff(array $args, array $types = []): FunctionExpression <ide> * Returns the specified date part from the SQL expression. <ide> * <ide> * @param string $part Part of the date to return. <del> * @param string $expression Expression...
1
Javascript
Javascript
fix challenge naming scheme
a7ba4bacf87e7b32166ab8c43ed4bc274a99e0b8
<ide><path>index.js <ide> Challenge.destroyAll(function(err, info) { <ide> challenges.forEach(function(file) { <ide> var challengeSpec = require('./challenges/' + file); <ide> var order = challengeSpec.order; <add> var block = challengeSpec.name; <add> <ide> var challenges = challengeSpec.challenges <i...
1
Ruby
Ruby
replace inline lambdas with named methods
b09bbdb8bf342b3f6d19a2cc2c8860019e39cac9
<ide><path>activerecord/lib/active_record/associations/collection_association.rb <ide> def create!(attributes = {}, options = {}, &block) <ide> # Add +records+ to this association. Returns +self+ so method calls may be chained. <ide> # Since << flattens its argument list and inserts each record, +push+ and ...
1
Python
Python
fix training_args.py barrier for torch_xla
6c5b20aa09af5a5e1d09aee266fd737ac4527f27
<ide><path>src/transformers/training_args.py <ide> def main_process_first(self, local=True, desc="work"): <ide> if not is_main_process: <ide> # tell all replicas to wait <ide> logger.debug(f"{self.process_index}: waiting for the {main_process_desc} to perform {des...
1
Mixed
Javascript
pass timestamp to ticks callback
b19fc0169facffc2a9a6715d98ccfc3dfba00e09
<ide><path>docs/axes/labelling.md <ide> To do this, you need to override the `ticks.callback` method in the axis configu <ide> <ide> The method receives 3 arguments: <ide> <del>* `value` - the tick value in the **internal data format** of the associated scale. <add>* `value` - the tick value in the **internal data fo...
4
Python
Python
set default backend to tf on windows
2b336756b661fe6d96856723f3d804c4db954c97
<ide><path>keras/backend/__init__.py <ide> if not os.path.exists(_keras_dir): <ide> os.makedirs(_keras_dir) <ide> <del># Set theano as default backend for Windows users since tensorflow is not available for Windows yet. <del>if os.name == 'nt': <del> _BACKEND = 'theano' <del>else: <del> _BACKEND = 'tensorflo...
1
PHP
PHP
add tests for self relationships
116c1ebbdd8d3f2ca7d27ce3afd1402337cd5390
<ide><path>tests/Database/DatabaseEloquentBuilderTest.php <ide> public function testOrHasNested() <ide> $this->assertEquals($builder->toSql(), $result); <ide> } <ide> <add> public function testSelfHasNested() <add> { <add> $model = new EloquentBuilderTestModelSelfRelatedStub(); <add> <add> ...
2
Javascript
Javascript
add more info, fix formatting
d59aeb4e0b5900a484de9c2fea12ce599810aac8
<ide><path>src/jqLite.js <ide> * <ide> * If jQuery is available, `angular.element` is an alias for the <ide> * [jQuery](http://api.jquery.com/jQuery/) function. If jQuery is not available, `angular.element` <del> * delegates to Angular's built-in subset of jQuery, called "jQuery lite" or "jqLite." <add> * delegates ...
1
Javascript
Javascript
add hascrypto check to tls-legacy-deprecated
b98004b79cc5c55922ecd03a4128ba0dfdd07f48
<ide><path>test/parallel/test-tls-legacy-deprecated.js <ide> // Flags: --no-warnings <ide> 'use strict'; <ide> const common = require('../common'); <add>if (!common.hasCrypto) { <add> common.skip('missing crypto'); <add> return; <add>} <ide> const assert = require('assert'); <ide> const tls = require('tls'); <ide>
1
Text
Text
add v3.6.0-beta.2 to changelog
e529ae76a1582b2213f8dc723db17e1dad8628b7
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.6.0-beta.2 (October 27, 2018) <add> <add>- [#17130](https://github.com/emberjs/ember.js/pull/17130) [BUGFIX] Ensure that timers scheduled after a system sleep are fired properly. <add>- [#17137](https://github.com/emberjs/ember.js/pull/17137) [BUGFIX] A...
1
Ruby
Ruby
add options to example usage
1fbc32d8423f0518f295f1fa4e7485b7db4600ff
<ide><path>Library/Homebrew/cmd/help.rb <ide> HOMEBREW_HELP = <<-EOS <ide> Example usage: <add> brew [info | home | options ] [FORMULA...] <ide> brew install FORMULA... <ide> brew uninstall FORMULA... <ide> brew search [foo] <ide> brew list [FORMULA...] <ide> brew update <ide> brew upgrade [FORMULA...] <de...
1
Python
Python
use setuptools for bdist_egg distributions
18b01010077b034556cdb73b751544a06f48dcdc
<ide><path>setup.py <ide> def setup_package(): <ide> FULLVERSION, GIT_REVISION = get_version_info() <ide> metadata['version'] = FULLVERSION <ide> else: <del> if (len(sys.argv) >= 2 and sys.argv[1] == 'bdist_wheel' or <add> if (len(sys.argv) >= 2 and sys.argv[1] in ('bdist_wheel', 'bdis...
1
Javascript
Javascript
add missing flag for signtool.exe
57a0de5b992adc890cec3db51e71d7fa078cd299
<ide><path>script/lib/code-sign.js <ide> module.exports = function (packagedAppPath) { <ide> childProcess.spawnSync(signtoolPath, [ <ide> 'sign', '/v', <ide> '/f', process.env.WIN_P12KEY_PATH, <del> '/p', process.env.WIN_P12KEY_PASSWORD <add> '/p', process.env.WIN_P12KEY_PASSWORD, <add> b...
1
Text
Text
fix translation error.
dfcd44eb092bb57048ce2cb6090a813d368f6434
<ide><path>curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/es6/create-an-export-fallback-with-export-default.chinese.md <ide> localeTitle: 使用导出默认值创建导出回退 <ide> --- <ide> <ide> ## Description <del><section id="description">在<code>export</code>课程中,您了解了称为<dfn>命名导出</dfn>的语法。这使您可以使多个函数和变量可用于其他文件。您...
3
PHP
PHP
fix whitespace for coding standards
69ab443ed601fd9c4f57d5907dda538473816f2f
<ide><path>lib/Cake/I18n/Multibyte.php <ide> * @license MIT License (http://www.opensource.org/licenses/mit-license.php) <ide> */ <ide> <add>if (!function_exists('mb_stripos')) { <add> <ide> /** <ide> * Find position of first occurrence of a case-insensitive string. <ide> * <ide> * @return integer|boolean T...
1
Ruby
Ruby
remove unused av helper fixtures from e10a2531
d6efc1edc1ac8f0bd2cef76f0eb8e512c36f9932
<ide><path>actionview/test/fixtures/helpers/fun/games_helper.rb <del>module Fun <del> module GamesHelper <del> def stratego() "Iz guuut!" end <del> end <del>end <ide>\ No newline at end of file <ide><path>actionview/test/fixtures/helpers/fun/pdf_helper.rb <del>module Fun <del> module PdfHelper <del> def foobar...
4
Go
Go
fix login and search tls configuration
e863a07b89599fd4a03d34491d67c09c6bc84444
<ide><path>registry/endpoint.go <ide> import ( <ide> "github.com/Sirupsen/logrus" <ide> "github.com/docker/distribution/registry/api/v2" <ide> "github.com/docker/distribution/registry/client/transport" <del> "github.com/docker/docker/pkg/tlsconfig" <ide> ) <ide> <ide> // for mocking in unit tests <ide> func scanFor...
3
PHP
PHP
fix cursor pagination with hasmanythrough
66c5afc3cb14f914990d8b8cbf79fa077887cb26
<ide><path>src/Illuminate/Database/Eloquent/Relations/HasManyThrough.php <ide> public function simplePaginate($perPage = null, $columns = ['*'], $pageName = 'p <ide> return $this->query->simplePaginate($perPage, $columns, $pageName, $page); <ide> } <ide> <add> /** <add> * Paginate the given query in...
1
Ruby
Ruby
check error number instead of a message
ac41b73d97a80f2552196516e29d7e3335e2d556
<ide><path>activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb <ide> <ide> module ActiveRecord <ide> module ConnectionHandling # :nodoc: <add> ER_BAD_DB_ERROR = 1049 <add> <ide> # Establishes a connection to the database that's used by all Active Record objects. <ide> def mysql2_connectio...
2
Javascript
Javascript
remove unnecessary comma in shadowmapviewer
a4ac61806c4cfd96665443ba98fc336f0e836165
<ide><path>examples/js/utils/ShadowMapViewer.js <ide> THREE.ShadowMapViewer = function ( light ) { <ide> x: 10, <ide> y: 10, <ide> width: 256, <del> height: 256, <add> height: 256 <ide> }; <ide> <ide> var camera = new THREE.OrthographicCamera( window.innerWidth / - 2, window.innerWidth / 2, window.innerHeigh...
1