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
Python
Python
solve the issue #52 with python 2.x
b93dcb46b97a84e7d37af23639c6d43fa0aa4eb1
<ide><path>glances/glances.py <ide> from __future__ import generators <ide> <ide> __appname__ = 'glances' <del>__version__ = "1.4.1" <add>__version__ = "1.4" <ide> __author__ = "Nicolas Hennion <nicolas@nicolargo.com>" <ide> __licence__ = "LGPL" <ide>
1
Java
Java
apply promotions for v2.1
2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0
<ide><path>src/main/java/io/reactivex/Completable.java <ide> public final Throwable blockingGet(long timeout, TimeUnit unit) { <ide> * <dt><b>Scheduler:</b></dt> <ide> * <dd>{@code cache} does not operate by default on a particular {@link Scheduler}.</dd> <ide> * </dl> <add> * <p>History: 2.0.4 - e...
22
Ruby
Ruby
fix rubocop warnings
2c5beb0effd113bd0342f052d735d697e3e5af95
<ide><path>Library/Homebrew/cmd/upgrade.rb <ide> def upgrade <ide> end <ide> <ide> (ARGV.resolved_formulae - outdated).each do |f| <del> versions = f.installed_kegs.map { |keg| keg.version } <add> versions = f.installed_kegs.map(&:version) <ide> if versions.empty? <ide> onoe...
1
Python
Python
remove shebang from test modules
666553e6b27683d7336dafb93100041c6079a97a
<ide><path>numpy/core/tests/test_arrayprint.py <del>#!/usr/bin/env python <ide> # -*- coding: utf-8 -*- <ide> from __future__ import division, absolute_import, print_function <ide> <ide><path>numpy/distutils/tests/test_misc_util.py <del>#!/usr/bin/env python <ide> from __future__ import division, absolute_import, prin...
3
Text
Text
add more details on legend sort function
148114b03ba8eef45c07e8c987992aa2abeef1cb
<ide><path>docs/configuration/legend.md <ide> Namespace: `options.plugins.legend.labels` <ide> | `padding` | `number` | `10` | Padding between rows of colored boxes. <ide> | `generateLabels` | `function` | | Generates legend items for each thing in the legend. Default implementation returns the text + styling for the c...
1
Javascript
Javascript
change var to const
65ea3fd3432506e4a795fc53bb7f29437102a540
<ide><path>examples/testAll.js <ide> * Runs an ordered set of commands within each of the build directories. <ide> */ <ide> <del>var fs = require('fs') <del>var path = require('path') <del>var { spawnSync } = require('child_process') <add>const fs = require('fs') <add>const path = require('path') <add>const { spawnS...
1
Javascript
Javascript
simplify foreach() usage
0132cddb6f4cc7797c127438378a39cce7aa930f
<ide><path>test/sequential/test-http-max-http-headers.js <ide> function once(cb) { <ide> } <ide> <ide> function finished(client, callback) { <del> 'abort error end'.split(' ').forEach((e) => { <add> ['abort', 'error', 'end'].forEach((e) => { <ide> client.on(e, once(() => setImmediate(callback))); <ide> }); <id...
1
Javascript
Javascript
fix regression introduced in fe804d9b
48334dc0b1b8211f07b2fac5a00a41be58c0c3ee
<ide><path>src/node.js <ide> <ide> var cwd = process.cwd(); <ide> var path = requireNative('path'); <del> <del> // Make process.argv[0] and process.argv[1] into full paths. <del> if ('/\\'.indexOf(process.argv[0].charAt(0)) < 0 <del> && process.argv[0].charAt(1) != ':') { <add> var isWindows = process.pla...
1
Javascript
Javascript
improve heading type detection in json.js
7fcb52c7b2236cbd7db1dc63274a2670fcd2fb9d
<ide><path>tools/doc/json.js <ide> function cloneValue(src) { <ide> } <ide> <ide> <del>// These parse out the contents of an H# tag. <add>// This section parse out the contents of an H# tag. <add> <add>// To reduse escape slashes in RegExp string components. <add>const r = String.raw; <add> <add>const eventPrefix = '...
1
Java
Java
add support for flux<part> in bodyextractors
4525c6a5371dbae3a618b54d2b0393d97a1529b7
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractors.java <ide> */ <ide> public abstract class BodyExtractors { <ide> <del> private static final ResolvableType FORM_TYPE = <add> private static final ResolvableType FORM_MAP_TYPE = <ide> ResolvableType.forClassWithGenerics...
3
Python
Python
set dropout rate to 0.2
cb16b78b0d3e7fc91eb0e7c8da725e4d5780aec5
<ide><path>spacy/cli/train.py <ide> def train( <ide> # Batch size starts at 1 and grows, so that we make updates quickly <ide> # at the beginning of training. <ide> dropout_rates = util.decaying( <del> util.env_opt("dropout_from", 0.1), <del> util.env_opt("dropout_to", 0.1), <add> util....
1
Text
Text
fix typo s/postgressql/postgresql/ [ci skip]
2d040e756ed1d97c0f70e8542807ae13d5fc1b5b
<ide><path>activerecord/CHANGELOG.md <ide> <ide> * Add setting for enumerating column names in SELECT statements. <ide> <del> Adding a column to a PostgresSQL database, for example, while the application is running can <add> Adding a column to a PostgreSQL database, for example, while the application is runni...
2
Javascript
Javascript
remove unauthenticated routes
ef0a801c908f8cc512a9babc57982b2fee95d306
<ide><path>api-server/server/boot/donate.js <ide> const log = debug('fcc:boot:donate'); <ide> <ide> export default function donateBoot(app, done) { <ide> let stripe = false; <del> const { User } = app.models; <ide> const api = app.loopback.Router(); <ide> const donateRouter = app.loopback.Router(); <ide> <ide>...
3
Python
Python
fix get_mathlib when path argument is none
a81039b7ec0834840468937a00317d85a3515eb8
<ide><path>numpy/distutils/misc_util.py <ide> def get_mathlibs(path=None): <ide> """Return the MATHLIB line from config.h <ide> """ <ide> if path is None: <del> path = get_numpy_include_dirs()[0] <add> path = os.path.join(get_numpy_include_dirs()[0], 'numpy') <ide> config_file = os.path.jo...
1
Python
Python
fix a typo in a comment
5246a5a44ebc52a2d2df88ca41d8a69b09c987c3
<ide><path>rest_framework/utils/field_mapping.py <ide> def get_field_kwargs(field_name, model_field): <ide> if not isinstance(validator, validators.MaxValueValidator) <ide> ] <ide> <del> # Ensure that max_value is passed explicitly as a keyword arg, <add> # Ensure that min_val...
1
Go
Go
extract daemon statscollector to its own package
835971c6fdaf6ea35a0e7e45f6d9a09fd5f03ce1
<ide><path>daemon/daemon.go <ide> import ( <ide> "github.com/docker/docker/container" <ide> "github.com/docker/docker/daemon/events" <ide> "github.com/docker/docker/daemon/exec" <del> "github.com/docker/docker/daemon/initlayer" <del> "github.com/docker/docker/dockerversion" <del> "github.com/docker/docker/plugin" <d...
11
Python
Python
add python 3.6 to show warnings error message
6eda4e90fe93e8c3454725ab02c2a8eb507f2337
<ide><path>libcloud/test/test_utils.py <ide> from io import FileIO as file <ide> <ide> <del>def show_warning(msg, cat, fname, lno, line=None): <add>def show_warning(msg, cat, fname, lno, file=None, line=None): <ide> WARNINGS_BUFFER.append((msg, cat, fname, lno)) <ide> <ide> original_func = warnings.showwarni...
1
Javascript
Javascript
add intersectsvisiblerowrange on texteditorelement
a5a80448cb20f198656d62eafae8afba0a77e96b
<ide><path>spec/text-editor-element-spec.js <ide> describe('TextEditorElement', () => { <ide> }) <ide> ) <ide> <add> describe('::intersectsVisibleRowRange(start, end)', () => { <add> it('returns true if the given row range intersects the visible row range', async () => { <add> const element = buildTextE...
2
Text
Text
update translation bucket-sort
0dfdfef52f50c53d1ee26414825926b30a074042
<ide><path>guide/portuguese/algorithms/sorting-algorithms/bucket-sort/index.md <ide> Vamos dar uma olhada mais de perto. <ide> Considere que é necessário criar uma matriz de listas, ou seja, de buckets. Os elementos agora precisam ser inseridos nesses buckets com base em suas propriedades. Cada um desses buckets pode s...
1
Python
Python
check python version before starting triggerer
f0e2143de688fbe2099d0e188e57fdbfaf6c12ed
<ide><path>airflow/cli/cli_parser.py <ide> from functools import lru_cache <ide> from typing import Callable, Dict, Iterable, List, NamedTuple, Optional, Union <ide> <del>from airflow import settings <add>from airflow import PY37, settings <ide> from airflow.cli.commands.legacy_commands import check_legacy_command <id...
2
Python
Python
support conflict response for google cloud's api
532ce827ce8f4d67080c0e39bfe4950f24e9f8e5
<ide><path>libcloud/common/google.py <ide> def _get_error(self, body): <ide> code = err.get('code') <ide> message = err.get('message') <ide> else: <del> code = None <add> code = err.get('reason', None) <ide> message = body.get('error_description', err) <...
1
Ruby
Ruby
use github.user for github history link
1e22bb4ee18e3c0ed5ba36c9bd8f760810a3ae2e
<ide><path>Library/Homebrew/brew.h.rb <ide> def install <ide> def info name <ide> require 'formula' <ide> <del> user=`cd #{HOMEBREW_PREFIX}; git remote -v show`.scan(/github.com:(.*)\/.*fetch/).to_s <add> user=`git config --global github.user`.chomp <ide> user='mxcl' if user.empty? <add> # FIXME it would be nic...
1
Python
Python
remove problematic test
bdebbef45552d698d390aa430b527ee27830f11b
<ide><path>spacy/tests/regression/test_issue2626.py <del>from __future__ import unicode_literals <del>import pytest <del>import spacy <del> <del>@pytest.mark.skip <del>def test_issue2626(): <del> '''Check that this sentence doesn't cause an infinite loop in the tokenizer.''' <del> nlp = spacy.blank('en') <del> ...
1
Javascript
Javascript
throw error if improperly defined factory
9b7967dca1eb675aef59822ba626c4c004fc5835
<ide><path>packages/container/lib/container.js <ide> Container.prototype = { <ide> validateFullName(fullName); <ide> <ide> if (this.factoryCache.has(normalizedName)) { <del> throw new Error("Attempted to register a factoryInjection for a type that has already been looked up. ('" + normalizedName + "', '" ...
2
Javascript
Javascript
remove period for eslint `passhref` docs link.
ad5e9bd644e1e69e5108883b5a59033710561f86
<ide><path>packages/eslint-plugin-next/lib/rules/link-passhref.js <ide> module.exports = { <ide> attributes.value('passHref') !== true <ide> ? 'must be set to true' <ide> : 'is missing' <del> }. See https://nextjs.org/docs/messages/link-passhref.`, <add> ...
2
Go
Go
use the arch info from base image
92b17b10bad1f1788419b70db5d6ed9cdf8d15ef
<ide><path>image/image.go <ide> func (img *Image) RunConfig() *container.Config { <ide> return img.Config <ide> } <ide> <add>// BaseImgArch returns the image's architecture. If not populated, defaults to the host runtime arch. <add>func (img *Image) BaseImgArch() string { <add> arch := img.Architecture <add> if arch ...
1
Javascript
Javascript
normalize class access for svg
48096048cf92bcada9b8c4f54d7002fbcf239416
<ide><path>src/service/compiler.js <ide> function $CompileProvider($provide) { <ide> var element = cloneConnectFn <ide> ? JQLitePrototype.clone.call(templateElement) // IMPORTANT!!! <ide> : templateElement; <del> element.data('$scope', scope).addClass('ng-scope'); <add> safeAdd...
2
Python
Python
remove interactive support. no one uses it
5f88e3d40e2c2efc530607691f822e5f73315861
<ide><path>numpy/distutils/core.py <ide> def _command_line_ok(_cache=[]): <ide> _cache.append(ok) <ide> return ok <ide> <del>def _exit_interactive_session(_cache=[]): <del> if _cache: <del> return # been here <del> _cache.append(1) <del> print '-'*72 <del> raw_input('Press ENTER to close the...
2
Javascript
Javascript
remove metrolistview from sectionlist
4a5221884f7dfd431840c09f860451739bf8a98f
<ide><path>Libraries/Lists/SectionList.js <ide> */ <ide> 'use strict'; <ide> <del>const MetroListView = require('MetroListView'); <ide> const Platform = require('Platform'); <ide> const React = require('React'); <ide> const ScrollView = require('ScrollView'); <ide> class SectionList<SectionT: SectionBase<any>> extend...
1
Javascript
Javascript
remove usage of require('util')
5b59b5f525ac4c17e34f88a2eb672687004e606c
<ide><path>lib/internal/url.js <ide> 'use strict'; <ide> <del>const util = require('util'); <add>const { inspect } = require('internal/util/inspect'); <ide> const { <ide> encodeStr, <ide> hexTable, <ide> class URLSearchParams { <ide> this[context] = null; <ide> } <ide> <del> [util.inspect.custom](recurseTi...
1
Javascript
Javascript
initialize ngmodeloptions in prelink
fbf5ab8f17d28efeadb492c5a252f0778643f072
<ide><path>src/ng/directive/input.js <ide> var ngModelDirective = function() { <ide> return { <ide> require: ['ngModel', '^?form', '^?ngModelOptions'], <ide> controller: NgModelController, <del> link: function(scope, element, attr, ctrls) { <del> // notify others, especially parent forms <add> link...
2
Text
Text
add french translation
6756b017b5baccc75e99c4069047918aa1a0ebf5
<ide><path>threejs/lessons/fr/threejs-textures.md <add>Title: Three.js Textures <add>Description: Using textures in three.js <add>TOC: Textures <add> <add>Cet article fait partie d'une série consacrée à Three.js. <add>Le premier article s'intitule [Principes de base](threejs-fundamentals.html). <add>L'[article précéden...
1
Ruby
Ruby
run `brew style`
8a4f26f9522522ea938e79cb9e4651968f50045f
<ide><path>Library/Homebrew/dev-cmd/test-bot.rb <ide> def homebrew <ide> test "brew", "update-test", "--commit=HEAD" <ide> end <ide> <add> test "brew", "style" <ide> test "brew", "readall", "--syntax" <ide> <ide> coverage_args = [] <ide> def homebrew <ide> test "brew...
1
Ruby
Ruby
fix some doublethink in the xcode module
de1eabf22c0137e4e0ad8c34cc47fd86cb78e557
<ide><path>Library/Homebrew/macos/xcode.rb <ide> def prefix <ide> end <ide> <ide> def installed? <del> # Telling us whether the Xcode.app is installed or not. <del> @installed ||= V4_BUNDLE_PATH.exist? || <del> V3_BUNDLE_PATH.exist? || <del> MacOS.app_with_bundle_id(V4_BUNDLE_ID) || <del> MacO...
1
Ruby
Ruby
implement linkage repair
d44290571931b5c83934b31d97b58b8e2bc32c06
<ide><path>Library/Homebrew/cmd/reinstall.rb <ide> require "formula_installer" <ide> require "development_tools" <ide> require "messages" <add>require "reinstall" <ide> <ide> module Homebrew <ide> module_function <ide> def reinstall <ide> end <ide> Homebrew.messages.display_messages <ide> end <del> <del> ...
4
Ruby
Ruby
set resource version when missing
85f424b270e32d43b1695727ab621c274bb5166a
<ide><path>Library/Homebrew/software_spec.rb <ide> def initialize <ide> def owner= owner <ide> @name = owner.name <ide> @resource.owner = self <del> resources.each_value { |r| r.owner = self } <add> resources.each_value do |r| <add> r.owner = self <add> r.version ||= version <add> end <...
1
Go
Go
implement docker tag with standalone client lib
21ffdf0e0e402cfc00f2bb1476fb2a8510418ec0
<ide><path>api/client/lib/image_tag.go <add>package lib <add> <add>import "net/url" <add> <add>// ImageTagOptions hold parameters to tag an image <add>type ImageTagOptions struct { <add> ImageID string <add> RepositoryName string <add> Tag string <add> Force bool <add>} <add> <add>// ImageTag...
2
Go
Go
use spf13/cobra for docker tag
ba7324ffcb23ba314fbab335a816004c4af7f3f3
<ide><path>api/client/commands.go <ide> func (cli *DockerCli) Command(name string) func(...string) error { <ide> "rm": cli.CmdRm, <ide> "save": cli.CmdSave, <ide> "stats": cli.CmdStats, <del> "tag": cli.CmdTag, <ide> "update": cli.CmdUpdate, <ide> "version": cli.CmdVersion, <ide> }[name] <ide...
5
Javascript
Javascript
move param tag outside of main description
cddd48fe207257080ed23837dd334e1bf7aceaea
<ide><path>src/ng/directive/form.js <ide> function FormController(element, attrs, $scope, $animate) { <ide> * submitted. Note that `ngClick` events will occur before the model is updated. Use `ngSubmit` <ide> * to have access to the updated model. <ide> * <del> * @param {string=} name Name of the form. If specified,...
1
Text
Text
add initial doc for contributing to packages
459c11b602611021d6ba0f29cee3a64871297655
<ide><path>docs/contributing.md <add># Contributing to Atom Packages <add> <add>The following is a set of guidelines for contributing to Atom packages, which <add>are hosted in the [Atom Organization](https://github.com/atom) on GitHub. If <add>you're unsure which package is causing your problem or if you're having an ...
1
Text
Text
switch case with same code for multiple values
597ba0b9beee9daaa32477f86af4b2afa24d9c9f
<ide><path>guide/english/c/switch/index.md <ide> switch (n) <ide> case constant2: <ide> // code to be executed if n is equal to constant2; <ide> break; <add> <add> case constant3: <add> case constant4: <add> // code to be executed if n is either equal to constant3 or constant4 <add>...
1
PHP
PHP
fix wording and remove trailing spaces
4ea6c158d1519677d4af6f2cf2d7f766d8efe2f8
<ide><path>lib/Cake/Model/Model.php <ide> public function validates($options = array()) { <ide> <ide> /** <ide> * Returns an array of fields that have failed the validation of the current model. <del> * <add> * <ide> * Additionally it populates the validationErrors property of the model with the same array. <ide> ...
1
Javascript
Javascript
fix hmr for reducers now that we use babel 6
803e7fd241744c90402be2c45b9c844da5a25a9f
<ide><path>examples/async/store/configureStore.js <ide> export default function configureStore(initialState) { <ide> if (module.hot) { <ide> // Enable Webpack hot module replacement for reducers <ide> module.hot.accept('../reducers', () => { <del> const nextRootReducer = require('../reducers') <add> ...
5
Javascript
Javascript
add parsing of double sided extra effect elements
c49a2071502252156c890be191af8b03b7aaf319
<ide><path>examples/js/loaders/ColladaLoader.js <ide> THREE.ColladaLoader.prototype = { <ide> case 'technique': <ide> data.technique = parseEffectTechnique( child ); <ide> break; <add> <add> case 'extra': <add> data.extra = parseEffectExtra( child ); <add> ...
1
Go
Go
use https to get the latest docker version
734b4566df879c2c071a9785d69b2c9c51d76b06
<ide><path>utils/utils.go <ide> func ParseHost(defaultHost string, defaultPort int, defaultUnix, addr string) (s <ide> } <ide> <ide> func GetReleaseVersion() string { <del> resp, err := http.Get("http://get.docker.io/latest") <add> resp, err := http.Get("https://get.docker.io/latest") <ide> if err != nil { <ide> re...
1
Javascript
Javascript
fix spaces to tabs
c0eeaedaa4225314c28f28ffe760600a0f9aeb67
<ide><path>examples/js/exporters/ColladaExporter.js <ide> THREE.ColladaExporter.prototype = { <ide> <ide> type = 'constant'; <ide> <del> if ( m.map !== null ) { <add> if ( m.map !== null ) { <ide> <del> // The Collada spec does not support diffuse texture maps with ...
1
Mixed
Javascript
improve file insertion
538e7c787b75cbfba490eca5002e73405a647dc6
<ide><path>client/gatsby-node.js <ide> exports.createPages = function createPages({ graphql, actions, reporter }) { <ide> head <ide> tail <ide> history <add> fileKey <ide> } <ide> solutions { <ide> ...
6
Ruby
Ruby
fix constant reference
a463398a8b30454e532029d67fc481ee5b71b25a
<ide><path>Library/Homebrew/extend/ENV.rb <ide> def fortran <ide> self['FC'] = which 'gfortran' <ide> self['F77'] = self['FC'] <ide> <del> FC_FLAG_VARS.each {|key| self[key] = cflags} <del> set_cpu_flags(FC_FLAG_VARS) <add> HomebrewEnvExtension::FC_FLAG_VARS.each {|key| self[key] = cflags} <...
1
Python
Python
add reference to slides for rmsprop
5d38b04415fd27d9b0608ea297ac1dcaa49aa81f
<ide><path>keras/optimizers.py <ide> class RMSprop(Optimizer): <ide> rho: float >= 0. <ide> epsilon: float >= 0. Fuzz factor. <ide> decay: float >= 0. Learning rate decay over each update. <add> <add> # References <add> - [rmsprop: Divide the gradient by a running average of its recent...
1
PHP
PHP
retain flash also for redirect
b7c55c3ff3d8315063757a0a8e89d66696fe1c0c
<ide><path>src/TestSuite/IntegrationTestTrait.php <ide> public function controllerSpy(EventInterface $event, ?Controller $controller = n <ide> } <ide> $this->_controller = $controller; <ide> $events = $controller->getEventManager(); <add> $events->on('Controller.beforeRedirect', function ...
1
Text
Text
js intermediate algorithm guide
d331ad1fcd8988eb416bb9bf830b356cbca69a39
<ide><path>guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sorted-union/index.md <ide> uniteUnique([1, 3, 2], [5, 2, 1, 4], [2, 1]); <ide> <ide> ### Code Explanation: <ide> <del>* We first use `concat()` with an empty array `<a href='http://exploringjs.com/es6...
1
Ruby
Ruby
move compilerselector logic into build env setup
1ae81f0bf70d7fe0b39cc05ae53b51514a9d3435
<ide><path>Library/Homebrew/build.rb <ide> def install <ide> ENV.keg_only_deps = keg_only_deps.map(&:to_s) <ide> ENV.deps = deps.map { |d| d.to_formula.to_s } <ide> ENV.x11 = reqs.any? { |rq| rq.kind_of?(X11Dependency) } <del> ENV.setup_build_environment <add> ENV.setup_build_environment(f) ...
4
Go
Go
limit the amount of prints during normal runs
6094257b28f2e4b5e1a6616c77961b5cec0c9195
<ide><path>devmapper/deviceset_devmapper.go <ide> package devmapper <ide> <ide> import ( <add> "github.com/dotcloud/docker/utils" <ide> "encoding/json" <ide> "fmt" <ide> "io" <ide> func (devices *DeviceSetDM) ensureImage(name string, size int64) (string, error) <ide> } <ide> <ide> func (devices *DeviceSetDM) creat...
3
Ruby
Ruby
add missing models requires to activerecord tests
e79eaac56e51fc1961998388e8a6f384fe277113
<ide><path>activerecord/test/cases/fixtures_test.rb <ide> require "models/computer" <ide> require "models/course" <ide> require "models/developer" <add>require "models/dog_lover" <ide> require "models/dog" <ide> require "models/doubloon" <ide> require "models/essay" <ide><path>activerecord/test/cases/nested_attributes_...
2
Javascript
Javascript
add webgl2 to detector
3f0dfd9f1f78af1f3be23c61cd3d4ec8574560dd
<ide><path>examples/js/Detector.js <ide> var Detector = { <ide> <ide> } <ide> <add> } )(), <add> webgl2: ( function () { <add> <add> try { <add> <add> var canvas = document.createElement( 'canvas' ); return !! ( window.WebGL2RenderingContext && ( canvas.getContext( 'webgl2' ) ) ); <add> <add> } catch ( e ) { <a...
1
Text
Text
fix some syntax error
18724726c24728c0dd2bdb4981254a100568185f
<ide><path>docs/reference/commandline/swarm_init.md <ide> This flag sets the validity period for node certificates. <ide> <ide> ### `--dispatcher-heartbeat` <ide> <del>This flags sets the frequency with which nodes are told to use as a <add>This flag sets the frequency with which nodes are told to use as a <ide> peri...
2
Go
Go
move mount namespace after network
b10b950b110c93db34a399753706dc79c71b94d3
<ide><path>pkg/libcontainer/nsinit/init.go <ide> package nsinit <ide> <ide> import ( <ide> "fmt" <add> "os" <add> "syscall" <add> <ide> "github.com/dotcloud/docker/pkg/libcontainer" <ide> "github.com/dotcloud/docker/pkg/libcontainer/apparmor" <ide> "github.com/dotcloud/docker/pkg/libcontainer/capabilities" <ide> ...
1
Javascript
Javascript
remove unneeded comma in ambiantlight
3abc44cceb5d10905092384b98a6d1c51a267180
<ide><path>src/lights/AmbientLight.js <ide> AmbientLight.prototype = Object.assign( Object.create( Light.prototype ), { <ide> <ide> constructor: AmbientLight, <ide> <del> isAmbientLight: true, <add> isAmbientLight: true <ide> <ide> } ); <ide>
1
Text
Text
add missing periods in documentation.md
2553377d118f8762bbb665936e4ce41eb84bf3bb
<ide><path>doc/api/documentation.md <ide> and in the process of being redesigned. <ide> The stability indices are as follows: <ide> <ide> ```txt <del>Stability: 0 - Deprecated <del>This feature is known to be problematic, and changes may be planned. Do <del>not rely on it. Use of the feature may cause warnings to be e...
1
Go
Go
remove builder dependency from the api
d12b7c7e3e5566f49f81189b757bcd0e4ef09956
<ide><path>api/server/router/build/backend.go <ide> package build <ide> import ( <ide> "io" <ide> <del> "github.com/docker/docker/builder" <add> "github.com/docker/docker/api/types/backend" <ide> "github.com/docker/engine-api/types" <ide> "golang.org/x/net/context" <ide> ) <ide> type Backend interface { <ide> // b...
5
Go
Go
patch 64bit alignment on 32bit systems
af2e82d054a2276e5ff76fd3fb90915cad5a0a55
<ide><path>builder/builder-next/adapters/containerimage/pull.go <ide> type resolverCache struct { <ide> } <ide> <ide> type cachedResolver struct { <add> counter int64 // needs to be 64bit aligned for 32bit systems <ide> timeout time.Time <ide> remotes.Resolver <del> counter int64 <ide> } <ide> <ide> func (cr *cache...
1
Python
Python
raise badrequest if static file name is invalid
9f1be8e795ace494018689c87d8a5e5601313e4d
<ide><path>flask/helpers.py <ide> from urlparse import quote as url_quote <ide> <ide> from werkzeug.datastructures import Headers <del>from werkzeug.exceptions import NotFound <add>from werkzeug.exceptions import BadRequest, NotFound <ide> <ide> # this was moved in 0.7 <ide> try: <ide> def download_file(filename)...
2
Ruby
Ruby
add intel cpus to optimization_flags
12b5de391ed51c433a402a55afa7675d3ad823d6
<ide><path>Library/Homebrew/os/linux/hardware.rb <ide> module LinuxCPUs <del> OPTIMIZATION_FLAGS = {}.freeze <add> OPTIMIZATION_FLAGS = { <add> :penryn => '-march=core2 -msse4.1', <add> :core2 => '-march=core2', <add> :core => '-march=prescott', <add> }.freeze <ide> def optimization_flags; OPTIMIZATION_FL...
1
Ruby
Ruby
update documentation for run_callbacks
c97b18a347e75aadcd6fff85ecb1ba822b02e4d8
<ide><path>activesupport/lib/active_support/callbacks.rb <ide> module Callbacks <ide> # order. <ide> # <ide> # If the callback chain was halted, returns +false+. Otherwise returns the <del> # result of the block, or +true+ if no block is given. <add> # result of the block, nil if no callbacks have bee...
1
Text
Text
add comment for net.server's error event
52ddb41c6006cfae93099e628aa040371e0512de
<ide><path>doc/api/net.md <ide> added: v0.1.90 <ide> <ide> * {Error} <ide> <del>Emitted when an error occurs. The [`'close'`][] event will be called directly <del>following this event. See example in discussion of `server.listen`. <add>Emitted when an error occurs. Unlike [`net.Socket`][], the [`'close'`][] <add>ev...
1
Javascript
Javascript
combine source maps
53a2c5a7fc14dd7b6a32ed27080534eefd2362f8
<ide><path>server/build/plugins/combine-assets-plugin.js <add>import { ConcatSource } from 'webpack-sources' <add> <ide> // This plugin combines a set of assets into a single asset <ide> // This should be only used with text assets, <ide> // otherwise the result is unpredictable. <ide> export default class CombineAsset...
6
Python
Python
use compact traceback for errors reporting
a7567efa8d6fd008ba0a48f0e8fa7028703af386
<ide><path>runtests.py <ide> <ide> <ide> PYTEST_ARGS = { <del> 'default': ['tests'], <del> 'fast': ['tests', '-q'], <add> 'default': ['tests', '--tb=short'], <add> 'fast': ['tests', '--tb=short', '-q'], <ide> } <ide> <ide> FLAKE8_ARGS = ['rest_framework', 'tests', '--ignore=E501']
1
PHP
PHP
remove the type hint from the signature
6c2892f04dcbbd0c294cf60f2b82e4351d3231cc
<ide><path>src/Illuminate/Foundation/Application.php <ide> public function abort($code, $message = '', array $headers = []) <ide> /** <ide> * Register a terminating callback with the application. <ide> * <del> * @param \Closure $callback <add> * @param mixed $callback <ide> * @return $thi...
1
Javascript
Javascript
use chrome on mac
95cdb53e83994d14d6f30716d47ba0f8c33e491c
<ide><path>protractor-travis-conf.js <ide> config.sauceKey = process.env.SAUCE_ACCESS_KEY; <ide> <ide> config.multiCapabilities = [{ <ide> 'browserName': 'chrome', <add> 'platform': 'OS X 10.9', <ide> 'name': 'Angular E2E', <ide> 'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER, <ide> 'build': process.env.T...
1
Java
Java
add sap hana to common jpa database platforms
504e2768de904cd9c653e9f22b6d99a0ec26697a
<ide><path>spring-orm/src/main/java/org/springframework/orm/jpa/vendor/AbstractJpaVendorAdapter.java <ide> public abstract class AbstractJpaVendorAdapter implements JpaVendorAdapter { <ide> <ide> /** <ide> * Specify the target database to operate on, as a value of the {@code Database} enum: <del> * DB2, DERBY, H2,...
4
Text
Text
make link to configuring guide relative [ci skip]
b5397600144a640f0958c7665d300a725ba4df76
<ide><path>guides/source/testing.md <ide> Notice the 'E' in the output. It denotes a test with error. <ide> NOTE: The execution of each test method stops as soon as any error or an <ide> assertion failure is encountered, and the test suite continues with the next <ide> method. All test methods are executed in random or...
1
Ruby
Ruby
add regression test for nameerror#name
bd3fde093112275bef5ab71bfac7ca17e43af8b8
<ide><path>activesupport/lib/active_support/dependencies.rb <ide> def const_missing(const_name) <ide> # top-level constant. <ide> def guess_for_anonymous(const_name) <ide> if Object.const_defined?(const_name) <del> raise NameError.new "#{const_name} cannot be autoloaded from an anonymous cl...
2
Text
Text
add documentation for shallow testing
f6804d2504ae4112cfc5fa509f5a539c363f577e
<ide><path>docs/docs/10.4-test-utils.md <ide> next: clone-with-props.html <ide> <ide> `React.addons.TestUtils` makes it easy to test React components in the testing framework of your choice (we use [Jest](http://facebook.github.io/jest/)). <ide> <add>## Shallow rendering <add> <add>Shallow rendering allows you to ren...
1
PHP
PHP
fix merge conflicts
40e2cf765ba603d03f7c37c8f3edde537d4b22d6
<ide><path>src/Illuminate/Http/Request.php <ide> public function only($keys) <ide> { <ide> $keys = is_array($keys) ? $keys : func_get_args(); <ide> <del> return array_only($this->all(), $keys) + array_fill_keys($keys, null); <add> $results = []; <add> <add> $input = $this->all(); <add> <add> foreach ($keys as $...
2
Ruby
Ruby
move the validations helpermethods to its own file
bfd4e6a0bc70e54d768b89c4ae8000cf50a87ec3
<ide><path>activemodel/lib/active_model/validations/helper_methods.rb <add>module ActiveModel <add> module Validations <add> module HelperMethods <add> private <add> def _merge_attributes(attr_names) <add> options = attr_names.extract_options!.symbolize_keys <add> attr_names.flatten! <...
2
Text
Text
use new mailing list
c6f8887deb892f9ad34cb70a97aa195d40b040e0
<ide><path>docs/New-Maintainer-Checklist.md <ide> If they accept, follow a few steps to get them set up: <ide> - Ask them to sign in to [Bintray](https://bintray.com) using their GitHub account and they should auto-sync to [Bintray's Homebrew organisation](https://bintray.com/homebrew/organization/edit/members) as a me...
1
Go
Go
remove daemon.vxsubnets duplicate code
3c5932086af51f57c497690ce3cf18a906b700cf
<ide><path>daemon/cluster/cluster.go <ide> var errSwarmCertificatesExpired = errors.New("Swarm certificates have expired. T <ide> // NetworkSubnetsProvider exposes functions for retrieving the subnets <ide> // of networks managed by Docker, so they can be filtered. <ide> type NetworkSubnetsProvider interface { <del> V4...
3
Text
Text
fix incorrect link in version-history.md
6d66743ae3da148adbd29fb7e0c0433e93fec12b
<ide><path>docs/api/version-history.md <ide> keywords: "API, Docker, rcli, REST, documentation" <ide> <ide> ## v1.37 API changes <ide> <del>[Docker Engine API v1.37](https://docs.docker.com/engine/api/v1.36/) documentation <add>[Docker Engine API v1.37](https://docs.docker.com/engine/api/v1.37/) documentation <ide> ...
1
Text
Text
update doc for options.ticks.maxtickslimit
3d15e1ff54045e7f449139a2fc8e70e29d558fd2
<ide><path>docs/01-Scales.md <ide> The radial linear scale extends the core scale class with the following tick tem <ide> <ide> //Number - The backdrop padding to the side of the label in pixels <ide> backdropPaddingX: 2, <add> <add> //Number - Limit the maximum number of ticks <add> maxTicksLimit: 11, <ide> ...
1
Python
Python
return the correct error code from breeze shell
9fd54b7397f81cf71325a98099d44fa33555c612
<ide><path>dev/breeze/src/airflow_breeze/commands/developer_commands.py <ide> def run_shell(verbose: bool, dry_run: bool, shell_params: ShellParams) -> RunCom <ide> get_console().print(f"[red]Error {command_result.returncode} returned[/]") <ide> if verbose: <ide> get_console().print(command_...
1
Go
Go
fix race condition during socket creation
24c73ce2d3d572313fe56bad08819e0ca8b74d26
<ide><path>api/server/server.go <ide> func ListenAndServe(proto, addr string, job *engine.Job) error { <ide> } <ide> } <ide> <add> var oldmask int <add> if proto == "unix" { <add> oldmask = syscall.Umask(0777) <add> } <add> <ide> if job.GetenvBool("BufferRequests") { <ide> l, err = listenbuffer.NewListenBuffer(...
1
Python
Python
fix elasticsearch breaking the build
b7ca0dd23a3071c6e44aeb1dabca9928dde38702
<ide><path>setup.py <ide> def write_version(filename: str = os.path.join(*[dirname(__file__), "airflow", " <ide> 'pydruid>=0.4.1,<=0.5.8', <ide> ] <ide> elasticsearch = [ <del> 'elasticsearch>7', <add> 'elasticsearch>7, <7.6.0', <ide> 'elasticsearch-dbapi==0.1.0', <ide> 'elasticsearch-dsl>=5.0.0', <id...
1
PHP
PHP
clarify api doc
87991412bd13892844dcd9171c2ff05a4e8cc427
<ide><path>src/Controller/Controller.php <ide> class Controller implements EventListener { <ide> public $View; <ide> <ide> /** <del> * These properties are settable directly on Controller and passed to the View as options. <add> * These properties are will be passed from the controller properties to the View as optio...
1
Go
Go
remove redundant ip_forward check
6a0050d0f0600cf17c0fe5dcca0d24d65e70d818
<ide><path>daemon/create.go <ide> func (daemon *Daemon) Create(config *runconfig.Config, hostConfig *runconfig.Hos <ide> if err := daemon.mergeAndVerifyConfig(config, img); err != nil { <ide> return nil, nil, err <ide> } <del> if !config.NetworkDisabled && daemon.SystemConfig().IPv4ForwardingDisabled { <del> warni...
1
Javascript
Javascript
add lang to payload if payload doesn't exist
63875316d9df4983c477600dac427f1bed899ae2
<ide><path>common/app/Router/redux/add-lang-enhancer.js <ide> import { langSelector } from './'; <ide> <ide> // This enhancers sole purpose is to add the lang prop to route actions so that <del>// they do not need to be explicitally added when using a RFR route action. <add>// they do not need to be explicitly added w...
1
Java
Java
apply compiler conventions to test fixtures
51fa98a1b2a1e63ce3d0bbfe72db187b727437cb
<ide><path>buildSrc/src/main/java/org/springframework/build/compile/CompilerConventionsPlugin.java <ide> /* <del> * Copyright 2002-2019 the original author or authors. <add> * Copyright 2002-2020 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * y...
3
Python
Python
add type hints
7e2ecf2e48e1b988463a021849ca4ae85991e055
<ide><path>libcloud/common/vultr.py <ide> # See the License for the specific language governing permissions and <ide> # limitations under the License. <ide> <del>from typing import Dict <add>from typing import Dict, Optional, Any <ide> <ide> from libcloud.common.base import ConnectionKey, JsonResponse <ide> from libc...
3
Python
Python
add dns example
d8e3d5e4d693de2c73dcc0554d5ecca802c98875
<ide><path>example_dns.py <add># Licensed to the Apache Software Foundation (ASF) under one or more <add># contributor license agreements. See the NOTICE file distributed with <add># this work for additional information regarding copyright ownership. <add># The ASF licenses this file to You under the Apache License, V...
1
PHP
PHP
add method to contract
b257d849d0010c9c6571a4b7c62be948470c95d8
<ide><path>src/Illuminate/Contracts/Events/Dispatcher.php <ide> public function until($event, $payload = array()); <ide> */ <ide> public function fire($event, $payload = array(), $halt = false); <ide> <add> /** <add> * Get the event that is currently firing. <add> * <add> * @return string <add> */ <add> public ...
1
PHP
PHP
fix typhint to avoid test failure
00a6259067a990f3df8fa82feac24e540b80f93c
<ide><path>src/Collection/CollectionInterface.php <ide> public function last(); <ide> * @param iterable $items Items list. <ide> * @return \Cake\Collection\CollectionInterface <ide> */ <del> public function append(iterable $items): CollectionInterface; <add> public function append($items): Collecti...
2
Python
Python
fix constant string values
f010a00959c486572466557876b30e29642d899d
<ide><path>libcloud/compute/types.py <ide> class Provider(object): <ide> @cvar ABIQUO: Abiquo driver <ide> """ <ide> DUMMY = 'dummy' <del> EC2 = 'ec2' <add> EC2 = 'ec2_us_east' <ide> RACKSPACE = 'rackspace' <ide> SLICEHOST = 'slicehost' <ide> GOGRID = 'gogrid' <ide> class Provider(object):...
1
Python
Python
fix module id generation on windows
36f017afaf034ff858b86ad0655032b229d9c8f8
<ide><path>tools/js2c.py <ide> def JS2C(source, target): <ide> lines = ExpandMacros(lines, macros) <ide> lines = CompressScript(lines, do_jsmin) <ide> data = ToCArray(s, lines) <del> id = '/'.join(re.split('/|\\\\', s)[1:]).split('.')[0] <add> <add> # On Windows, "./foo.bar" in the .gyp file is passed...
1
Javascript
Javascript
move premultiplied_alpha chunk
218d8e5b252a5de6af3960865fceb361a7a82c2c
<ide><path>examples/js/effects/OutlineEffect.js <ide> THREE.OutlineEffect = function ( renderer, parameters ) { <ide> <ide> " gl_FragColor = vec4( outlineColor, outlineAlpha );", <ide> <del> " #include <premultiplied_alpha_fragment>", <ide> " #include <tonemapping_fragment>", <ide> " #include <encodings_fragme...
11
PHP
PHP
fix updateorinsert method for query builder
ad3bdfe0a7eeeacec18c1a6a73bcfe873e1c1edc
<ide><path>src/Illuminate/Database/Query/Builder.php <ide> public function updateOrInsert(array $attributes, array $values = []) <ide> return $this->insert(array_merge($attributes, $values)); <ide> } <ide> <add> if (empty($values)) { <add> return true; <add> } <add> <ide> ...
2
Javascript
Javascript
add new line on ctrl+d
197690972c3cb8d193bfa3e1a99f3d8b4c414ee1
<ide><path>lib/repl.js <ide> function REPLServer(prompt, <ide> return; <ide> } <ide> if (!self.editorMode || !self.terminal) { <add> // Before exiting, make sure to clear the line. <add> if (key.ctrl && key.name === 'd' && <add> self.cursor === 0 && self.line.length === 0) { <add> ...
2
Ruby
Ruby
remove assertion, leave command
d843f70a3501e05d81777ef9d0e8612fcaa1a659
<ide><path>Library/Homebrew/test/test_tap.rb <ide> def test_tap <ide> assert_match "Unpinned homebrew/foo", cmd("tap-unpin", "homebrew/foo") <ide> assert_match "Tapped", cmd("tap", "homebrew/bar", path/".git") <ide> assert_match "Untapped", cmd("untap", "homebrew/bar") <del> assert_match /.*/, cmd("tap",...
1
Javascript
Javascript
add container to event listener signature
1000f6135efba4f8d8ebffedeb7b472f532a8475
<ide><path>packages/legacy-events/ReactGenericBatching.js <ide> import {invokeGuardedCallbackAndCatchFirstError} from 'shared/ReactErrorUtils'; <ide> let batchedUpdatesImpl = function(fn, bookkeeping) { <ide> return fn(bookkeeping); <ide> }; <del>let discreteUpdatesImpl = function(fn, a, b, c) { <del> return fn(a, b...
5
Python
Python
fix docstrings in exceptions.py
5cf25854459284a8466cc85ff1f5cfbf5a9cc95e
<ide><path>airflow/exceptions.py <ide> class BackfillUnfinished(AirflowException): <ide> Raises when not all tasks succeed in backfill. <ide> <ide> :param message: The human-readable description of the exception <del> :zparam ti_status: The information about all task statuses <add> :param ti_status: The ...
1
Python
Python
add japanese model
410fb7ee437b649c8bd291da84db5dc7cd65db45
<ide><path>spacy/lang/ja/__init__.py <ide> from collections import namedtuple <ide> <ide> from .stop_words import STOP_WORDS <add>from .syntax_iterators import SYNTAX_ITERATORS <ide> from .tag_map import TAG_MAP <add>from .tag_orth_map import TAG_ORTH_MAP <add>from .tag_bigram_map import TAG_BIGRAM_MAP <ide> from ...a...
8
Ruby
Ruby
fix doc typo on dispatcher.dispatch. closes [fxn]
a3e57ad11ece0238849747f22d355747a81eb281
<ide><path>actionpack/lib/action_controller/dispatcher.rb <ide> module ActionController <ide> class Dispatcher <ide> class << self <ide> # Backward-compatible class method takes CGI-specific args. Deprecated <del> # in favor of Dispatcher.new(output, request, response).dispatch! <add> # in favor o...
1