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
fix typo in changelog [ci skip]
4aa25d4c76b5487caf2b35e677b72ece595f400f
<ide><path>activemodel/CHANGELOG.md <del>* Remove deprecated `Validatior#setup` without replacement. <add>* Remove deprecated `Validator#setup` without replacement. <ide> <ide> See #10716. <ide>
1
Text
Text
modify url because installation directory removed
56cca9292252efbcecad69fc965d63d99fda5e5e
<ide><path>docs/reference/commandline/run.md <ide> specified volumes for the container. <ide> <ide> By bind-mounting the docker unix socket and statically linked docker <ide> binary (refer to [get the linux binary]( <del>../../installation/binaries.md#get-the-linux-binary)), <add>https://docs.docker.com/engine/install...
1
Javascript
Javascript
add @scope so properties are picked up by jsdoc
bc75b1ac96b5c675aa27397250c5c02b1e0e46a7
<ide><path>packages/ember-viewstates/lib/view_state.js <ide> var get = Ember.get, set = Ember.set; <ide> `view` that references the `Ember.View` object that was interacted with. <ide> <ide> **/ <del>Ember.ViewState = Ember.State.extend({ <add>Ember.ViewState = Ember.State.extend( <add>/** @scope Ember.ViewState.pr...
1
Text
Text
fix inaccurate callback documentation
a441eabc25a129d1137c0584c52428d905c1f464
<ide><path>guides/source/active_record_callbacks.md <ide> WARNING. When a transaction completes, the `after_commit` or `after_rollback` ca <ide> <ide> WARNING. The code executed within `after_commit` or `after_rollback` callbacks is itself not enclosed within a transaction. <ide> <del>WARNING. Using both `after_creat...
1
PHP
PHP
add assertsessionhasinput to testresponse
422754fb7b28fe6c75ee57f1dd476eaadc2a4c40
<ide><path>src/Illuminate/Foundation/Testing/TestResponse.php <ide> public function assertSessionHasAll(array $bindings) <ide> return $this; <ide> } <ide> <add> /** <add> * Assert that the session has a given value in the flashed input array. <add> * <add> * @param string|array $key <add> ...
1
Go
Go
move imageservice to new package
2b1a2b10afce6ba251d096cfdbd642fc436120ef
<ide><path>daemon/cluster/executor/backend.go <ide> type Backend interface { <ide> GetAttachmentStore() *networkSettings.AttachmentStore <ide> } <ide> <add>// ImageBackend is used by an executor to perform image operations <ide> type ImageBackend interface { <ide> PullImage(ctx context.Context, image, tag, platform ...
36
PHP
PHP
remove obsolete statement
86147568a4c8be0fa7643fca7fc70a585e371e05
<ide><path>src/Http/Cookie/CookieInterface.php <ide> public function getExpiry(); <ide> /** <ide> * Get the timestamp from the expiration time <ide> * <del> * Timestamps are integer as large timestamps can overflow MAX_INT <del> * in 32bit systems. <del> * <ide> * @return int|null The exp...
1
PHP
PHP
add addhttpcookie to verifycsrftoken
76af90b50ca98c9fcafb0f33552ee5c7a9f8ff58
<ide><path>app/Http/Middleware/VerifyCsrfToken.php <ide> class VerifyCsrfToken extends Middleware <ide> protected $except = [ <ide> // <ide> ]; <add> <add> /** <add> * Indicates whether the XSRF-TOKEN cookie should be set on the response. <add> * <add> * @var bool <add> */ <add> ...
1
Javascript
Javascript
increase test timeout
086a4c17803d0efe288f127844c305166f634a1f
<ide><path>test/Stats.test.js <ide> describe("Stats", () => { <ide> actual.should.be.eql(expected); <ide> done(); <ide> }); <del> }); <add> }, 10000); <ide> }); <ide> describe("Error Handling", () => { <ide> describe("does have", () => {
1
Javascript
Javascript
remove comment about missing android support
eef56de3763258739977ec2b3148c9b364953869
<ide><path>Libraries/CameraRoll/CameraRoll.js <ide> var ASSET_TYPE_OPTIONS = [ <ide> 'Photos', // default <ide> ]; <ide> <del> <ide> // Flow treats Object and Array as disjoint types, currently. <ide> deepFreezeAndThrowOnMutationInDev((GROUP_TYPES_OPTIONS: any)); <ide> deepFreezeAndThrowOnMutationInDev((ASSET_TYPE_O...
1
Javascript
Javascript
fix broken example tabs
666137d6359c9474c9912fc81ebc4d8f478cc1b5
<ide><path>docs/app/assets/js/angular-bootstrap/bootstrap.js <ide> directive.runnableExample = ['$templateCache', '$document', function($templateCa <ide> <ide> return { <ide> restrict: 'C', <add> scope : true, <ide> controller : ['$scope', function($scope) { <ide> $scope.setTab = function(index) { <...
1
Ruby
Ruby
use tap with block parameter
02902e00ab9fc67812accf72d61847c65cd25615
<ide><path>railties/lib/rails/info.rb <ide> def to_s <ide> alias inspect to_s <ide> <ide> def to_html <del> (table = '<table>').tap do <add> '<table>'.tap do |table| <ide> properties.each do |(name, value)| <ide> table << %(<tr><td class="name">#{CGI.escapeHTML(name.to_s...
1
Java
Java
remove setjsentrypoint from reactrootview
de09fd53bd41716142364e769e72b363bb3d3405
<ide><path>ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java <ide> private void attachRootViewToInstance( <ide> UIManager uiManagerModule = UIManagerHelper.getUIManager(mCurrentReactContext, rootView.getUIManagerType()); <ide> final int rootTag = uiManagerModule.addRootView(rootView); <ide...
2
Text
Text
use offsetheight to get height value
316d56ba11a95cb16982d9a86382f8d00ea5e099
<ide><path>curriculum/challenges/english/01-responsive-web-design/applied-visual-design/adjust-the-height-of-an-element-using-the-height-property.english.md <ide> Add a <code>height</code> property to the <code>h4</code> tag and set it to 25px <ide> ```yml <ide> tests: <ide> - text: Your code should change the <code>...
1
Javascript
Javascript
show first component stack in context warning
57333ca33a0619ff2334e4eb19139b4c7e9830f7
<ide><path>packages/react-reconciler/src/ReactStrictModeWarnings.js <ide> if (__DEV__) { <ide> ReactStrictModeWarnings.flushLegacyContextWarning = () => { <ide> ((pendingLegacyContextWarning: any): FiberToFiberComponentsMap).forEach( <ide> (fiberArray: FiberArray, strictRoot) => { <add> if (fiberArra...
6
Text
Text
update virtualenv notes
ebbaff0853d49cd436b416beeb28220922bfc977
<ide><path>docs/tutorial/1-serialization.md <ide> <ide> This tutorial will walk you through the building blocks that make up REST framework. It'll take a little while to get through, but it'll give you a comprehensive understanding of how everything fits together. <ide> <del>## Getting started <add>## Setting up a ...
1
Javascript
Javascript
delete an unused field
a8964649bb6332cf1f8d723f81ce97cc5a1886ff
<ide><path>packages/react-reconciler/src/ReactFiberNewContext.new.js <ide> export function readContext<T>(context: ReactContext<T>): T { <ide> currentlyRenderingFiber.dependencies = { <ide> lanes: NoLanes, <ide> firstContext: contextItem, <del> <del> // TODO: This is an old field. Delete it...
2
Ruby
Ruby
fix rubocop violations
12ddee0ce80458ea0217e82798c0ff2a02f7a7fc
<ide><path>railties/lib/rails/application/dummy_erb_compiler.rb <ide> def make_compiler(trim_mode) <ide> class DummyCompiler < ERB::Compiler # :nodoc: <ide> def compile_content(stag, out) <ide> case stag <del> when '<%=' <add> when "<%=" <ide> out.push "_erbout << 'dummy_compiler'" <ide> end <ide>...
1
Javascript
Javascript
report stats in benchmark/net-pipe
d1556fbdd298b58774f8560ac990cebb3e2875a6
<ide><path>benchmark/net-pipe.js <ide> // test the speed of .pipe() with sockets <ide> <ide> var net = require('net'); <add>var N = parseInt(process.argv[2]) || 100; <ide> var start; <ide> <ide> function Writer() { <ide> Writer.prototype.on = function() {}; <ide> Writer.prototype.once = function() {}; <ide> Writer.pr...
1
Javascript
Javascript
remove unused variable
aefbd6f9f34a325a36c2c57c96904f15d06c3d51
<ide><path>src/scales/scale.time.js <ide> class TimeScale extends Scale { <ide> : determineUnitForFormatting(me, ticks.length, timeOpts.minUnit, me.min, me.max)); <ide> me._majorUnit = !tickOpts.major.enabled || me._unit === 'year' ? undefined <ide> : determineMajorUnit(me._unit); <del> me._numIndices = ticks....
1
Javascript
Javascript
remove showcase submission callout
ac92d3e81e0e6b65e159c0d2b50f04c789e8e34d
<ide><path>website/src/react-native/showcase.js <ide> const showcase = React.createClass({ <ide> </div> <ide> <ide> <div className="inner-content"> <del> <p>Some of these are hybrid native/React Native apps. If you built a popular application using React Native, we'd love to have y...
1
Javascript
Javascript
add test for pr
a2ea7a4962ba677d74baaf8b850bf6e9d17877ef
<ide><path>test/integration/render-error-on-module-error/pages/_error.js <add>export default function Error() { <add> return <p id="error-p">Error Rendered</p> <add>} <ide><path>test/integration/render-error-on-module-error/pages/index.js <add>if (typeof window !== 'undefined') { <add> throw new Error('fail module ev...
3
Javascript
Javascript
run all $log tests in ie9 & non-ie9 logging mode
667d4734fcf7a58a58d29bd87fac32a7831df184
<ide><path>test/ng/logSpec.js <ide> describe('$log', function() { <ide> var $window, logger, log, warn, info, error, debug; <ide> <del> <del> <ide> beforeEach(module(function($provide) { <ide> $window = { <ide> navigator: {userAgent: window.navigator.userAgent}, <ide> describe('$log', function() { <ide> ...
1
Python
Python
add basic support for tf optimizers
650c2c8cf9d711d35ab0ca7d1653ef53cbedaab3
<ide><path>keras/optimizers.py <ide> def optimizer_from_config(config, custom_objects={}): <ide> 'adam': Adam, <ide> 'adamax': Adamax, <ide> 'nadam': Nadam, <add> 'tfoptimizer': TFOptimizer, <ide> } <ide> class_name = config['class_name'] <ide> if class_name in custom_objects:...
1
Javascript
Javascript
improve `readfile` performance
e65308053c871352be948b9001737df01aad1965
<ide><path>lib/fs.js <ide> <ide> 'use strict'; <ide> <add>const SlowBuffer = require('buffer').SlowBuffer; <ide> const util = require('util'); <ide> const pathModule = require('path'); <ide> <ide> fs.existsSync = function(path) { <ide> fs.readFile = function(path, options, callback_) { <ide> var callback = maybeCa...
1
Go
Go
remove redundant file close
3dca62cfb1e7c6404cb4730425919f66c680b409
<ide><path>profiles/apparmor/apparmor.go <ide> func InstallDefault(name string) error { <ide> defer os.Remove(profilePath) <ide> <ide> if err := p.generateDefault(f); err != nil { <del> f.Close() <ide> return err <ide> } <ide>
1
Javascript
Javascript
use animated.event implementation in animatedmock
fc9c326912d9b76f3db9390aaffbf4b1570c73a8
<ide><path>Libraries/Animated/AnimatedMock.js <ide> const {AnimatedEvent, attachNativeEvent} = require('./AnimatedEvent'); <ide> const AnimatedImplementation = require('./AnimatedImplementation'); <ide> const AnimatedInterpolation = require('./nodes/AnimatedInterpolation'); <ide> const AnimatedNode = require('./nodes/A...
1
Python
Python
check weights length
531a8eabe222c3831cc5b55bafc81d2aa36f0672
<ide><path>keras/optimizers.py <ide> def set_weights(self, weights): <ide> ValueError: in case of incompatible weight shapes. <ide> """ <ide> params = self.weights <add> if len(params) != len(weights): <add> raise ValueError('Length of the specified weight list (' + <add> ...
1
Text
Text
carry man page for 14637
ae45ffc1feef4f2d859f7083a8d64a42c0e74c73
<ide><path>man/docker-load.1.md <ide> Restores both images and tags. <ide> Print usage statement <ide> <ide> **-i**, **--input**="" <del> Read from a tar archive file, instead of STDIN <add> Read from a tar archive file, instead of STDIN. The tarball may be compressed with gzip, bzip, or xz. <ide> <ide> # EXAMP...
1
Javascript
Javascript
fix normalized cid fonts for direct write 6.1
dc914fe7ce8f362cfddfa5bb58877043d55dfe1b
<ide><path>src/fonts.js <ide> var CFFFont = (function CFFFontClosure() { <ide> this.properties = properties; <ide> <ide> var parser = new CFFParser(file, properties); <del> var cff = parser.parse(true); <add> var cff = parser.parse(); <ide> var compiler = new CFFCompiler(cff); <ide> this.readExtr...
1
PHP
PHP
remove unused import
b1381f2d876ba4cec4dbdea84ae0fb6ccce0bb79
<ide><path>src/Illuminate/Support/Stringable.php <ide> use Illuminate\Support\Traits\Macroable; <ide> use Illuminate\Support\Traits\Tappable; <ide> use JsonSerializable; <del>use League\CommonMark\GithubFlavoredMarkdownConverter; <ide> use Symfony\Component\VarDumper\VarDumper; <ide> <ide> class Stringable implements ...
1
Text
Text
add a section on converting a selectlistview
ed9c62f883b5d303123ba3a2d09b733bba08df25
<ide><path>docs/upgrading/upgrading-your-package.md <ide> Sometimes it is as simple as converting the requires at the top of each view pag <ide> {TextEditorView} = require 'atom-space-pen-views' <ide> ``` <ide> <add>If you are using the lifecycle hooks, you will need to update code as well. <add> <add>### Upgrading to...
1
Mixed
Javascript
return worker reference from disconnect()
5d146021811c41def88208e60977eddbf0d6f125
<ide><path>doc/api/cluster.md <ide> It is not emitted in the worker. <ide> added: v0.7.7 <ide> --> <ide> <add>* Returns: {Worker} A reference to `worker`. <add> <ide> In a worker, this function will close all servers, wait for the `'close'` event on <ide> those servers, and then disconnect the IPC channel. <ide> <ide...
5
Ruby
Ruby
handle non-tty stdin
2cf2c020ba04f57ac9e77712df6a25525744715b
<ide><path>Library/Homebrew/utils/tty.rb <ide> def strip_ansi(string) <ide> end <ide> <ide> def width <del> (`/bin/stty size`.split[1] || 80).to_i <add> width = `/bin/stty size 2>/dev/null`.split[1] <add> width ||= `/usr/bin/tput cols 2>/dev/null`.split[0] <add> width ||= 80 <add> width.to_i <ide> ...
1
Text
Text
add a note about production mode for npm installs
9ddb4d4a78bde6ecdd7bf87c4beffb910b4d51d0
<ide><path>docs/downloads.md <ide> React.renderComponent(...); <ide> <ide> If you'd like to use any [add-ons](/react/docs/addons.html), use `var React = require('react/addons');` instead. <ide> <add>**Note:** by default, React will be in development mode. To use React in production mode, set the environment variable ...
2
PHP
PHP
stop event propagation when returning response
7f2d68172fa1c6d520a556ff1e841a3048bbb0a5
<ide><path>src/Controller/Component/AuthComponent.php <ide> public function initialize(Event $event) { <ide> * of login form data. <ide> * <ide> * @param Event $event The startup event. <del> * @return bool <add> * @return bool|\Cake\Network\Response <ide> */ <ide> public function startup(Event $event) { <ide> $...
2
Javascript
Javascript
remove ai_v4mapped hint flag on freebsd"
df1994fe53754bd0a191239a704c6a656f210392
<ide><path>lib/dns.js <ide> exports.lookup = function lookup(hostname, options, callback) { <ide> hints !== (exports.ADDRCONFIG | exports.V4MAPPED)) { <ide> throw new TypeError('invalid argument: hints must use valid flags'); <ide> } <del> <del> // FIXME(indutny): V4MAPPED on FreeBSD results in EAI...
1
PHP
PHP
add test case for assertnoredirect
76468c67fa9702db77ce255e9028cf528f8843db
<ide><path>tests/TestCase/TestSuite/IntegrationTestCaseTest.php <ide> public function testAssertRedirect() { <ide> $this->assertRedirect(['controller' => 'Tasks', 'action' => 'index']); <ide> } <ide> <add>/** <add> * Test the location header assertion. <add> * <add> * @return void <add> */ <add> public function tes...
1
Ruby
Ruby
update rack fixture to be ruby 1.9 compat
4185a4a5f5e53b55c9ba3757a837d33fb91f4091
<ide><path>actionpack/test/controller/integration_test.rb <ide> class MetalTest < ActionController::IntegrationTest <ide> class Poller <ide> def self.call(env) <ide> if env["PATH_INFO"] =~ /^\/success/ <del> [200, {"Content-Type" => "text/plain", "Content-Length" => "12"}, "Hello World!"] <add> ...
1
Javascript
Javascript
add feature to trigger an error boundary
8b4201535c6068147d61d0ed3f02d21d6dcd6927
<ide><path>packages/react-devtools-shared/src/__tests__/inspectedElement-test.js <ide> describe('InspectedElement', () => { <ide> `); <ide> }); <ide> }); <add> <add> describe('error boundary', () => { <add> it('can toggle error', async () => { <add> class ErrorBoundary extends React.Component<any> ...
18
Javascript
Javascript
fix missing tooltip value in radar charts
89af7b1383fffd477e0f6245770920e36450ac58
<ide><path>src/controllers/controller.radar.js <ide> defaults._set('radar', { <ide> }); <ide> <ide> module.exports = DatasetController.extend({ <add> /** <add> * @private <add> */ <add> _getValueScaleId: function() { <add> return this.chart.scale.id; <add> }, <add> <add> /** <add> * @private <add> */ <add> _getIn...
2
PHP
PHP
improve api docs for http client authentication
34a6ec7d6025b4b108c40646754e6e856cf0ad83
<ide><path>src/Http/Client.php <ide> class Client implements ClientInterface <ide> * @var array<string, mixed> <ide> */ <ide> protected $_defaultConfig = [ <add> 'auth' => null, <ide> 'adapter' => null, <ide> 'host' => null, <ide> 'port' => null, <ide> class Client implement...
1
Javascript
Javascript
update serialized format to new glimmer-vm output
0627ae68cbbfbc7179f39ad0ed7eee670d5f371a
<ide><path>packages/ember-application/tests/system/visit_test.js <ide> moduleFor('Application - visit()', class extends ApplicationTestCase { <ide> <ide> [`@test _renderMode: rehydrate`](assert) { <ide> <del> let initialHTML = `<!--%+block:0%--><!--%+block:1%--><!--%+block:2%--><!--%+block:3%--><!--%+block:4%-->...
1
Javascript
Javascript
reset hydration state after reentering
6f3c8332d8b2f92784a731e6cc6a707a92495a23
<ide><path>packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js <ide> describe('ReactDOMServerPartialHydration', () => { <ide> expect(container.lastChild.nodeType).toBe(8); <ide> expect(container.lastChild.data).toBe('unrelated comment'); <ide> }); <add> <add> it('can hydrate TWO ...
5
Javascript
Javascript
define ember.coreobject#willdestroy. fixes
711740794ec5cebd20f3783f723ba5ce4d30570a
<ide><path>packages/ember-runtime/lib/system/core_object.js <ide> CoreObject.PrototypeMixin = Mixin.create({ <ide> return this; <ide> }, <ide> <add> willDestroy: Ember.K, <add> <ide> /** <ide> @private <ide>
1
Javascript
Javascript
simplify flushing mechanism
e688fe6b7e60d3dd50f0aa922a1ab74d85cb39b5
<ide><path>lib/zlib.js <ide> function Zlib(opts, mode) { <ide> this._level = level; <ide> this._strategy = strategy; <ide> this._chunkSize = chunkSize; <del> this._flushFlag = flush; <del> this._scheduledFlushFlag = Z_NO_FLUSH; <del> this._origFlushFlag = flush; <add> this._defaultFlushFlag = flush; <ide> t...
3
Python
Python
release version 2.1.1
c6f297719e43380011e76ad6d070b7a27d4d1dce
<ide><path>src/flask/__init__.py <ide> from .templating import render_template as render_template <ide> from .templating import render_template_string as render_template_string <ide> <del>__version__ = "2.1.1.dev0" <add>__version__ = "2.1.1"
1
Java
Java
add api to register collection converters
0579e61a653ea81a3a5ef3dffd94fb5c4579028d
<ide><path>spring-core/src/main/java/org/springframework/core/convert/support/DefaultConversionService.java <ide> public static void addDefaultConverters(ConverterRegistry converterRegistry) { <ide> } <ide> } <ide> <add> /** <add> * Add collection converters. <add> * @param converterRegistry the registry of conve...
1
Javascript
Javascript
add a clear error when renderers clash in tests
0442e8275f02d500cdc2e8b8b703286a67d7ad1d
<ide><path>scripts/jest/setupHostConfigs.js <ide> inlinedHostConfigs.forEach(rendererInfo => { <ide> return; <ide> } <ide> jest.mock(`react-reconciler/inline.${rendererInfo.shortName}`, () => { <del> jest.mock(shimHostConfigPath, () => <del> require.requireActual( <add> let hasImportedShimmedConfig =...
1
Javascript
Javascript
remove unused code in module.js
3b9cc424a4240c10003dca71c5a7478232e3d0d8
<ide><path>lib/module.js <ide> function readPackage(requestPath) { <ide> return false; <ide> } <ide> <del> if (json === '') <del> return packageMainCache[requestPath] = undefined; <del> <ide> try { <ide> var pkg = packageMainCache[requestPath] = JSON.parse(json).main; <ide> } catch (e) {
1
Javascript
Javascript
add makerist app
9e8f194dffb8069b2647b6ccad9124a42583040c
<ide><path>website/src/react-native/showcase.js <ide> var apps = [ <ide> link: 'https://itunes.apple.com/us/app/lumpen-radio/id1002193127?mt=8', <ide> author: 'Joshua Habdas', <ide> }, <add> { <add> name: 'Makerist Mediathek', <add> icon: 'http://a5.mzstatic.com/eu/r30/Purple3/v4/fa/5f/4c/fa5f4ce8-5aaa...
1
Javascript
Javascript
add filtering to e2e tests
34ee8250b5f81ebf79f9903aa4868c6c0d0d9959
<ide><path>RNTester/e2e/__tests__/Button-test.js <ide> */ <ide> <ide> /* global device, element, by, expect */ <add>const { <add> openComponentWithLabel, <add> openExampleWithTitle, <add>} = require('../e2e-helpers'); <ide> <ide> describe('Button', () => { <ide> beforeAll(async () => { <ide> await device.rel...
13
PHP
PHP
remove redundant listtablesandviews method
2dcd35c3aaf858c6f0456aa276d89a3482bd4440
<ide><path>src/Database/Schema/Collection.php <ide> * <ide> * Used to access information about the tables, <ide> * and other data in a database. <del> * <del> * @method array<string> listTablesAndViews() Get the list of tables available in the current connection. <del> * This will include any views in the schema. <d...
13
Javascript
Javascript
add simpler failing tls throttle test
33e8e3d799f7b04991728218bb1c411e01ffcfe2
<ide><path>test/simple/test-tls-throttle.js <add>// Server sends a large string. Client counts bytes and pauses every few <add>// seconds. Makes sure that pause and resume work properly. <add>var common = require('../common'); <add>var assert = require('assert'); <add>var tls = require('tls'); <add>var fs = require('fs...
1
Javascript
Javascript
fix fatal error
5a8c0286933507a05a85d2595d3b31d0934610fa
<ide><path>scripts/locales.js <ide> var args = process.argv.slice(2); <ide> function help() { <ide> console.log(process.argv[1], '[list|mention|find-commenters] ARGS'); <ide> console.log(); <del> console.log(" list show all authors in all locales"); <del> console.log(" mention show all author...
1
Javascript
Javascript
pick all the nits!!!1!
fe8008e67c7264f7ba4f0f2841622f42ca61dea3
<ide><path>Gruntfile.js <ide> module.exports = function(grunt) { <ide> 'webdriver-jasmine:local', <ide> <ide> 'sauce-tunnel', <del> // 'webdriver-jasmine:saucelabs_ios', // uncomment once tests pass on iOS <ide> 'webdriver-jasmine:saucelabs_android', <ide> 'webdriver-jasmine:saucelabs_firefox', <del...
1
Python
Python
fix imagedatagenerator preprocessing_function
738819de0b7e6bc45abed8d0640f02b81c6ac4e9
<ide><path>keras/preprocessing/image.py <ide> def standardize(self, x): <ide> # Returns <ide> The inputs, normalized. <ide> """ <del> if self.preprocessing_function: <del> x = self.preprocessing_function(x) <ide> if self.rescale: <ide> x *= self.rescale ...
2
Ruby
Ruby
add modify_build_environment method
5a62582b39b7df44c8068970728f0a2f800bf39f
<ide><path>Library/Homebrew/build.rb <ide> end <ide> <ide> def install f <del> ENV.x11 if f.external_deps.any? { |dep| dep.is_a? X11Dependency } <add> f.external_deps.each { |dep| dep.modify_build_environment } <ide> <ide> f.recursive_deps.uniq.each do |dep| <ide> dep = Formula.factory dep <ide><path>Library/...
2
Javascript
Javascript
fix deprecation for ember.handlebars.safestring
8c341bc1d3f311cadcddd61d021c1908e75e86e4
<ide><path>packages/ember-htmlbars/lib/compat.js <ide> import Ember from 'ember-metal/core'; <del>import { deprecateFunc } from 'ember-metal/debug'; <add>import { htmlSafe } from 'ember-htmlbars/utils/string'; <add>import { deprecate } from 'ember-metal/debug'; <ide> import { <del> SafeString, <ide> escapeExpression...
2
Ruby
Ruby
generate master.key even when require_master_key
1740b1f2cb8104435b6041ec6bfaabe58a6d74e6
<ide><path>activesupport/lib/active_support/encrypted_file.rb <ide> def key <ide> read_env_key || read_key_file || handle_missing_key <ide> end <ide> <add> # Returns truthy if #key is truthy. Returns falsy otherwise. Unlike #key, <add> # does not raise MissingKeyError when +raise_if_missing_key+ is tru...
6
Text
Text
add key value pairs to javascript objects
893ac48f25820d34d7d4962fa68c7e6c3c77d05a
<ide><path>curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-data-structures/add-key-value-pairs-to-javascript-objects.portuguese.md <ide> console.log(foods); <ide> <section id='solution'> <ide> <ide> ```js <del>// solution required <add>foods.bananas = 13; <add>foods.grapes = 35; <ad...
1
Javascript
Javascript
improve crypto test coverage
0ab98f1e603cc580fce94818bd75ee0295a6a99e
<ide><path>test/parallel/test-crypto-sign-verify.js <ide> const certPem = fixtures.readSync('test_cert.pem', 'ascii'); <ide> const keyPem = fixtures.readSync('test_key.pem', 'ascii'); <ide> const modSize = 1024; <ide> <add>{ <add> const Sign = crypto.Sign; <add> const instance = Sign('SHA256'); <add> assert(instanc...
1
Javascript
Javascript
add test for negative stream drain counter
5d3c51d937fe887b3bc16344b519d1ad20fa9ff6
<ide><path>test/simple/test-stream2-readable-legacy-drain.js <add>// Copyright Joyent, Inc. and other Node contributors. <add>// <add>// Permission is hereby granted, free of charge, to any person obtaining a <add>// copy of this software and associated documentation files (the <add>// "Software"), to deal in the Softw...
1
Javascript
Javascript
run crypto benchmark only once in tests
6168959546f84449f6c12efbc65189c9b45a4130
<ide><path>benchmark/crypto/aes-gcm-throughput.js <ide> const bench = common.createBenchmark(main, { <ide> }); <ide> <ide> function main({ n, len, cipher }) { <add> // Default cipher for tests. <add> if (cipher === '') <add> cipher = 'aes-128-gcm'; <ide> const message = Buffer.alloc(len, 'b'); <ide> const key...
3
Java
Java
fix non-deterministic unit test
be9841a2925b02e893e48f7ab3e9d04f6964326b
<ide><path>rxjava-core/src/test/java/rx/operators/OperationParallelMergeTest.java <ide> public void testParallelMerge() { <ide> <ide> @Test <ide> public void testNumberOfThreads() { <del> final ConcurrentHashMap<String, String> threads = new ConcurrentHashMap<String, String>(); <del> Observable.m...
1
Python
Python
add note about mailing list
60b1591efa7ddcf3ae7fa2982102d457fb74b388
<ide><path>setup.py <ide> def get_package_data(package): <ide> license='BSD', <ide> description='A lightweight REST framework for Django.', <ide> author='Tom Christie', <del> author_email='tom@tomchristie.com', <add> author_email='tom@tomchristie.com', # SEE NOTE BELOW (*) <ide> packages=get_pack...
1
Go
Go
remove import of opencontainers/runc in windows
4d1d486202a7c3977e51275c2efdba922375b0cd
<ide><path>daemon/daemon_windows.go <ide> import ( <ide> winlibnetwork "github.com/docker/libnetwork/drivers/windows" <ide> "github.com/docker/libnetwork/netlabel" <ide> "github.com/docker/libnetwork/options" <del> blkiodev "github.com/opencontainers/runc/libcontainer/configs" <add> specs "github.com/opencontainers/...
1
Javascript
Javascript
provide buffer to connection.setsession
4266f5cf2ebe171b5b32ce780bed3c307d3a1a94
<ide><path>lib/tls.js <ide> exports.connect = function(/* [port, host], options, cb */) { <ide> }); <ide> <ide> if (options.session) { <del> pair.ssl.setSession(options.session); <add> var session = options.session; <add> if (typeof session === 'string') <add> session = new ...
1
Ruby
Ruby
simplify curlgithubpackagesdownloadstrategy usage
8144fdef783623e3501eb475cf14414ec3dc3dad
<ide><path>Library/Homebrew/download_strategy.rb <ide> def curl(*args, **options) <ide> # <ide> # @api public <ide> class CurlGitHubPackagesDownloadStrategy < CurlDownloadStrategy <del> attr_accessor :checksum, :name <add> attr_writer :resolved_basename <ide> <del> private <del> <del> def _fetch(url:, resolved_url...
2
Python
Python
fix fab install command
eaef36e4a50e46a81904afafcbf90edef6736a13
<ide><path>fabfile.py <ide> def install(): <ide> def make(): <ide> with lcd(path.dirname(__file__)): <ide> with virtualenv(VENV_DIR) as venv_local: <add> venv_local('pip install wheel') <ide> venv_local('pip install cython') <ide> venv_local('pip install murmurhash') <del>...
1
PHP
PHP
escape path in sendoutputto()
6b5571b08d7696b02844f8b211fa2cd52c46c585
<ide><path>src/Illuminate/Console/Scheduling/Event.php <ide> use GuzzleHttp\Client as HttpClient; <ide> use Illuminate\Contracts\Mail\Mailer; <ide> use Symfony\Component\Process\Process; <add>use Symfony\Component\Process\ProcessUtils; <ide> use Illuminate\Contracts\Container\Container; <ide> use Illuminate\Contracts\F...
2
Text
Text
add notable-change to onboarding.md exercise
77d3f141cf465613f0bcd270c6bd2bcd9c962f92
<ide><path>doc/onboarding.md <ide> needs to be pointed out separately during the onboarding. <ide> -1` <ide> * Collaborators are in alphabetical order by GitHub username. <ide> * Optionally, include your personal pronouns. <del>* Label your pull request with the `doc` subsystem label. <add>* Label your pull request...
1
Javascript
Javascript
move call to fs.realpathsync to compilecache
00a020d1750c89bf3f65eafaa7e0649664452ba8
<ide><path>spec/package-transpilation-registry-spec.js <ide> describe("PackageTranspilationRegistry", () => { <ide> jsSpec._transpilerSource = "js-transpiler-source" <ide> coffeeSpec._transpilerSource = "coffee-transpiler-source" <ide> <del> const oldFsRealpathSync = fs.realpathSync.bind(fs) <del> ...
3
Ruby
Ruby
support implicit render and blank render
49834e088bf8d02a4f75793a42868f2aea8749a4
<ide><path>actionpack/lib/action_controller/abstract/base.rb <ide> def process(action_name) <ide> <ide> private <ide> <add> # It is possible for respond_to?(action_name) to be false and <add> # respond_to?(:action_missing) to be false if respond_to_action? <add> # is overridden in a subclass. For ins...
6
Go
Go
add todos for driver changes
5c30c4379af20b3cbd2d20cc9f0ccb6f04ac63ab
<ide><path>execdriver/driver.go <ide> type Info interface { <ide> type Driver interface { <ide> Run(c *Process, startCallback StartCallback) (int, error) // Run executes the process and blocks until the process exits and returns the exit code <ide> Kill(c *Process, sig int) error <del> Wait(id string) error // Wait o...
1
Ruby
Ruby
fix class_eval without __file__ and __line__
414008f98e6eefb6efe14a93b6a969fbae3d339f
<ide><path>actionpack/lib/action_dispatch/routing/route_set.rb <ide> def define_mounted_helper(name) <ide> end <ide> end <ide> <del> MountedHelpers.class_eval <<-RUBY <add> MountedHelpers.class_eval(<<-RUBY, __FILE__, __LINE__ + 1) <ide> def #{name} <ide> @#{name} ...
5
Python
Python
fix a bag merge
e4defb886a27a45d4dd84760d868341d16b68a9b
<ide><path>libcloud/compute/drivers/vcloud.py <ide> def __new__(cls, key, secret=None, secure=True, host=None, port=None, <ide> elif api_version == '1.5': <ide> cls = VCloud_1_5_NodeDriver <ide> elif api_version == '5.1': <del> cls = VCloud_1_5_NodeDriver <add> ...
1
Javascript
Javascript
remove trailing whitespace
c1576fcf9744882fa59c2876fb4fd44720140307
<ide><path>src/core/React.js <ide> ReactDefaultInjection.inject(); <ide> <ide> var React = { <ide> DOM: ReactDOM, <del> Props: ReactProps, <add> Props: ReactProps, <ide> initializeTouchEvents: function(shouldUseTouch) { <ide> ReactMount.useTouchEvents = shouldUseTouch; <ide> },
1
Go
Go
fix some issues in logfile reader and rotation
e87e9e6ad6ba501cc42a2ef47ac18c88a68f258f
<ide><path>daemon/logger/loggerutils/logfile.go <ide> type LogFile struct { <ide> <ide> type makeDecoderFunc func(rdr io.Reader) func() (*logger.Message, error) <ide> <del>//NewLogFile creates new LogFile <add>// NewLogFile creates new LogFile <ide> func NewLogFile(logPath string, capacity int64, maxFiles int, compre...
1
Text
Text
fix webcrypto hmac generatekey example
29789f78b2dd929f0be5daf6a37f56ffe8ee111b
<ide><path>doc/api/webcrypto.md <ide> const { subtle } = require('crypto').webcrypto; <ide> (async function() { <ide> <ide> const key = await subtle.generateKey({ <del> name: 'hmac', <del> length: 123 <add> name: 'HMAC', <add> hash: 'SHA-256', <add> length: 256 <ide> }, true, ['sign', 'verify']); <i...
1
Javascript
Javascript
fix output path for the fabric provider
b174ccffad9da3e11336b4b8c82958e683b7e330
<ide><path>scripts/generate-artifacts.js <ide> function main(appRootDir, outputPath) { <ide> <ide> const schemaPaths = {}; <ide> <add> const iosOutputDir = path.join( <add> outputPath ? outputPath : appRootDir, <add> 'build/generated/ios', <add> ); <add> <ide> // 5. For each codegen-enabled li...
1
Ruby
Ruby
remove is_a? check when ignoring tables
17efb3b919e8eff1ca5da49b12e3c1f607eb93e3
<ide><path>activerecord/lib/active_record/schema_dumper.rb <ide> def remove_prefix_and_suffix(table) <ide> <ide> def ignored?(table_name) <ide> ['schema_migrations', ignore_tables].flatten.any? do |ignored| <del> case ignored <del> when String; remove_prefix_and_suffix(table_name) == ig...
2
Go
Go
add a check for size field in custom format string
55cdb6dcd0f709301573ddb9f3348f9288572b91
<ide><path>api/client/formatter/formatter.go <ide> type ImageContext struct { <ide> func (ctx ContainerContext) Write() { <ide> switch ctx.Format { <ide> case tableFormatKey: <del> ctx.Format = defaultContainerTableFormat <ide> if ctx.Quiet { <ide> ctx.Format = defaultQuietFormat <add> } else { <add> ctx.For...
4
Javascript
Javascript
use missing validator
826566e78a4f6248254b7dd6fb85f37ea3978530
<ide><path>lib/vm.js <ide> function getContextOptions(options) { <ide> } <ide> <ide> function isContext(object) { <del> if (typeof object !== 'object' || object === null) { <del> throw new ERR_INVALID_ARG_TYPE('object', 'Object', object); <del> } <add> validateObject(object, 'object', { allowArray: true }); <add...
1
Javascript
Javascript
support "jsonp" in output.librarytarget
58424e0824e80d954c9741d0b28b38b3b6b96805
<ide><path>lib/ExternalModule.js <ide> ExternalModule.prototype.source = function(dependencyTemplates, outputOptions, r <ide> var request = this.request; <ide> if(typeof request === "object") request = request[this.type]; <ide> switch(this.type) { <del> case "var": <del> case "assign": <del> str = "module.exports =...
3
Java
Java
introduce configurableconversionservice interface
8227cb624308e68c34cc2140ea63e8fc4f5cbd9f
<ide><path>org.springframework.core/src/main/java/org/springframework/core/convert/support/ConfigurableConversionService.java <add>/* <add> * Copyright 2002-2011 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 co...
5
Javascript
Javascript
handle unknown message type in worker threads
e8f31191902a8304f77f7ed4377f10de91aca103
<ide><path>test/parallel/test-worker-message-not-serializable.js <ide> // expected. <ide> <ide> const common = require('../common'); <del>common.skipIfWorker(); <ide> <ide> const assert = require('assert'); <ide> <del>const { Worker, isMainThread } = require('worker_threads'); <del>if (isMainThread) { <del> const w...
2
Ruby
Ruby
ensure `foreign_keys` assertions after alter table
dc796a0d407dfaf84abd464fc1aa2966cddb51e0
<ide><path>activerecord/test/cases/migration/foreign_key_test.rb <ide> class Astronaut < ActiveRecord::Base <ide> end <ide> <ide> def test_change_column_of_parent_table <del> foreign_keys = ActiveRecord::Base.connection.foreign_keys("astronauts") <ide> rocket = Rocket.create!(name: "...
1
Javascript
Javascript
move tls-connect into benchmark/tls
bafc51c0f9bbd178e347ff2ea9d110e2f1a4202e
<ide><path>benchmark/tls-connect.js <del> <del>var assert = require('assert'), <del> fs = require('fs'), <del> path = require('path'), <del> tls = require('tls'); <del> <del> <del>var target_connections = 10000, <del> concurrency = 10; <del> <del>for (var i = 2; i < process.argv.length; i++) { <del> switch...
2
Mixed
Ruby
send disconnect message during remote disconnect
2d0f9c5844fb6f3ca3dbead71e5e641b8b561827
<ide><path>actioncable/CHANGELOG.md <add>* `ActionCable.server.remote_connections.where(...).disconnect` now sends `disconnect` message <add> before closing the connection with the reconnection strategy specified (defaults to `true`). <ide> <add> *Vladimir Dementyev* <ide> <ide> Please check [7-0-stable](https:/...
7
Python
Python
remove batchwise metrics
a56b1a55182acf061b1eb2e2c86b48193a0e88f7
<ide><path>keras/metrics.py <ide> def poisson(y_true, y_pred): <ide> def cosine_proximity(y_true, y_pred): <ide> y_true = K.l2_normalize(y_true, axis=-1) <ide> y_pred = K.l2_normalize(y_pred, axis=-1) <del> return -K.mean(y_true * y_pred) <add> return - K.mean(y_true * y_pred) <ide> <ide> <del>def matth...
1
Java
Java
generalize rsocketrequester data methods
d6b5c2005849e0676781ec1086bf8fc994e1a2c4
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/rsocket/DefaultRSocketRequester.java <ide> public ResponseSpec data(Object data) { <ide> } <ide> <ide> @Override <del> public <T, P extends Publisher<T>> ResponseSpec data(P publisher, Class<T> dataType) { <del> Assert.notNull(publisher, "'...
2
PHP
PHP
apply fixes from styleci
4074394582767906b2e7b5939d34e1eb78e28ff4
<ide><path>src/Illuminate/Database/Query/Grammars/SqlServerGrammar.php <ide> public function supportsSavepoints() <ide> { <ide> return true; <ide> } <del> <add> <ide> /** <ide> * Compile the SQL statement to define a savepoint. <ide> *
1
PHP
PHP
fix eloquent model relation doc blocks
15489ab9d8fb3287271c9f85ecf0c59886e11f38
<ide><path>src/Illuminate/Database/Eloquent/Model.php <ide> public function belongsTo($related, $foreignKey = null, $otherKey = null, $relat <ide> } <ide> <ide> /** <del> * Define an polymorphic, inverse one-to-one or many relationship. <add> * Define a polymorphic, inverse one-to-one or many relationship. <ide> ...
1
Ruby
Ruby
handle non-existent path
b54b022f73628360e109586013b6b22aacd92f5d
<ide><path>Library/Homebrew/keg.rb <ide> def self.find_some_installed_dependents(kegs) <ide> <ide> # if path is a file in a keg then this will return the containing Keg object <ide> def self.for(path) <del> path = path.realpath <del> until path.root? <del> return Keg.new(path) if path.parent.parent == H...
1
Javascript
Javascript
flow type refreshcontrol
84c541661729dd20ab260c7468e48abbbe82affb
<ide><path>Libraries/Components/RefreshControl/RefreshControl.js <ide> export type RefreshControlProps = $ReadOnly<{| <ide> /** <ide> * Called when the view starts refreshing. <ide> */ <del> onRefresh?: ?Function, <add> onRefresh?: ?() => void, <ide> <ide> /** <ide> * Whether the view should be indicati...
1
Text
Text
remove cjihrig from tc
6190a2236b3a9de49e2e6918ff32c601d15559dd
<ide><path>README.md <ide> information about the governance of the io.js project, see <ide> * **Trevor Norris** ([@trevnorris](https://github.com/trevnorris)) &lt;trev.norris@gmail.com&gt; (Technical Committee) <ide> * **Chris Dickinson** ([@chrisdickinson](https://github.com/chrisdickinson)) &lt;christopher.s.dickinso...
1
Mixed
Ruby
add request exclusion to host authorization
1f767407cb46c847a528525d4fe01136428c16f8
<ide><path>actionpack/CHANGELOG.md <add>* Allow `ActionDispatch::HostAuthorization` to exclude specific requests. <add> <add> Host Authorization checks can be skipped for specific requests. This allows for health check requests to be permitted for requests with missing or non-matching host headers. <add> <add> ...
5
Java
Java
improve error messages in the test consumers
7e7b223ccf4af4ef594677f04e731998914190b9
<ide><path>src/main/java/io/reactivex/rxjava3/observers/BaseTestConsumer.java <ide> public final U assertNoErrors() { <ide> */ <ide> @NonNull <ide> public final U assertError(@NonNull Throwable error) { <del> return assertError(Functions.equalsWith(error)); <add> return assertError(Functions....
3
Text
Text
add documentation about template partial caching
49f6c47e418ff1626c6e8c408d11f839d28ceb31
<ide><path>guides/source/caching_with_rails.md <ide> With `touch` set to true, any action which changes `updated_at` for a game <ide> record will also change it for the associated product, thereby expiring the <ide> cache. <ide> <add>### Shared Partial Caching <add> <add>It is possible to share partials and associated...
1