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
Mixed
Python
fix typos and minor inconsistencies
85e51a0f8f6bfbb2ca8c0b5e07f87e843313c3e9
<ide><path>docs/templates/faq.md <ide> conv_output = get_conv_output(input_data_dict) <ide> <ide> ### Isn't there a bug with Merge or Graph related to input concatenation? <ide> <del>Yes, there was a known bug with tensor concatenation in Thenao that was fixed early 2015. <add>Yes, there was a known bug with tensor c...
17
Python
Python
set default path for eucalyptus
b0b3f0a3c0311e960758c23a3a52f02e744010ac
<ide><path>libcloud/drivers/ec2.py <ide> class EucNodeDriver(EC2NodeDriver): <ide> <ide> def __init__(self, key, secret=None, secure=True, host=None, path=None, port=None): <ide> super(EucNodeDriver, self).__init__(key, secret, secure, host, port) <del> if path: <del> self.path = path <add> ...
1
Java
Java
add getcontextpath to serverhttprequest
0bace1b0ae7aec176607a8ffdbf3497bab7755a5
<ide><path>spring-web/src/main/java/org/springframework/http/server/reactive/ServerHttpRequest.java <ide> * Represents a reactive server-side HTTP request <ide> * <ide> * @author Arjen Poutsma <add> * @author Rossen Stoyanchev <ide> * @since 5.0 <ide> */ <ide> public interface ServerHttpRequest extends HttpRequest...
3
PHP
PHP
add command output to the finished event
545c30d9158fd79126b3d336a97f4c7a07739fac
<ide><path>src/Illuminate/Console/Application.php <ide> public function run(InputInterface $input = null, OutputInterface $output = null <ide> $exitCode = parent::run($input, $output); <ide> <ide> $this->events->fire( <del> new Events\CommandFinished($commandName, $input, $exitCode) <add> ...
2
Javascript
Javascript
add test for split
aa1ef3ba3b92d427272ebfa9326ceb7c1021aa76
<ide><path>test/core/split-test.js <add>require("../env"); <add>require("../../d3"); <add> <add>var vows = require("vows"), <add> assert = require("assert"); <add> <add>var suite = vows.describe("d3.split"); <add> <add>suite.addBatch({ <add> "split": { <add> topic: function() { <add> return d3.split; <add> ...
1
PHP
PHP
show publishable tags in addition to providers
117fe4501d93119022f2e653e55dd961dddb22ff
<ide><path>src/Illuminate/Foundation/Console/VendorPublishCommand.php <ide> class VendorPublishCommand extends Command <ide> */ <ide> protected $files; <ide> <add> /** <add> * The provider to publish. <add> * <add> * @var string <add> */ <add> protected $provider = null; <add> <add> /...
3
Mixed
Ruby
clarify no support for non pk id columns
220494185c84cf62d60ddcb1fa3527da9d758578
<ide><path>activerecord/lib/active_record/attribute_methods/primary_key.rb <ide> def to_key <ide> [key] if key <ide> end <ide> <del> # Returns the primary key value. <add> # Returns the primary key column's value. <ide> def id <ide> sync_with_transaction_state <ide> primar...
2
Java
Java
fix cursordrawable color tint for android 10+
e7a14b803fdc8840bbcde51d4bfa9cf9a85a8472
<ide><path>ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java <ide> <ide> import android.content.Context; <ide> import android.content.res.ColorStateList; <add>import android.graphics.BlendMode; <add>import android.graphics.BlendModeColorFilter; <ide> import android.graphics.Porte...
1
Javascript
Javascript
upgrade unsupportedfeaturewarning to es6
4220556089e0ed5b601ac523600480afe6b9c111
<ide><path>lib/UnsupportedFeatureWarning.js <ide> MIT License http://www.opensource.org/licenses/mit-license.php <ide> Author Tobias Koppers @sokra <ide> */ <del>function UnsupportedFeatureWarning(module, message) { <del> Error.call(this); <del> Error.captureStackTrace(this, UnsupportedFeatureWarning); <del> this.nam...
1
Python
Python
fix logic error when nm fails on 32-bit
3c1f89d91de3265e8e930809b08c2e39b18a4857
<ide><path>numpy/distutils/tests/test_mingw32ccompiler.py <ide> def test_build_import(): <ide> except FileNotFoundError: <ide> pytest.skip("'nm.exe' not on path, is mingw installed?") <ide> supported = out[out.find(b'supported targets:'):] <del> if sys.maxsize < 2**32 and b'pe-i386' not in supported:...
1
PHP
PHP
use contract for messagebag
ff3df6773e74fd9dd61a3b7b44b50b2b793f5e11
<ide><path>src/Illuminate/Support/ViewErrorBag.php <ide> <?php namespace Illuminate\Support; <ide> <ide> use Countable; <add>use Illuminate\Contracts\Support\MessageBag as MessageBagContract; <ide> <ide> class ViewErrorBag implements Countable { <ide> <ide> public function hasBag($key = 'default') <ide> * Get a Me...
1
Javascript
Javascript
fix some parser issues
294bcb33e6dc2d774deb4d6edbde2c1584e7bc20
<ide><path>lib/_debugger.js <ide> Protocol.prototype._newRes = function(raw) { <ide> this.res = { raw: raw || '', headers: {} }; <ide> this.state = 'headers'; <ide> this.reqSeq = 1; <add> this.execute(''); <ide> }; <ide> <ide> <ide><path>test/simple/test-debugger-client.js <ide> p.execute("Type: connect\r\n" +...
2
Javascript
Javascript
fix typo statemanager object in examples
6738647e3a5077db04c5fea4cc7c588f60dc6b2c
<ide><path>packages/ember-states/lib/state_manager.js <ide> require('ember-states/state'); <ide> And application code <ide> <ide> App = Ember.Application.create() <del> App.states = Ember.StateManager.create({ <add> App.appStates = Ember.StateManager.create({ <ide> initialState: 'aState', <id...
1
Python
Python
prepare 2.0.6 release
f120a56009606f4f07711511d1d7df2f85dfbc08
<ide><path>keras/__init__.py <ide> # Importable from root because it's technically not a layer <ide> from .layers import Input <ide> <del>__version__ = '2.0.5' <add>__version__ = '2.0.6' <ide><path>setup.py <ide> <ide> <ide> setup(name='Keras', <del> version='2.0.5', <add> version='2.0.6', <ide> desc...
2
Ruby
Ruby
pull `format` out of the options hash
39556884403ab5baa89574671f1a100c42792b02
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> def self.build(scope, set, path, as, controller, default_action, to, via, format <ide> options.delete :shallow_path <ide> options.delete :shallow_prefix <ide> options.delete :shallow <del> options.delete :format <id...
1
PHP
PHP
convert fixture task to use bake_compare
2535a03bb7dbcd9e7216d72dadda11320f9c694c
<ide><path>tests/TestCase/Shell/Task/FixtureTaskTest.php <ide> public function testImportRecordsFromDatabaseWithConditionsPoo() { <ide> <ide> $result = $this->Task->bake('Articles'); <ide> <del> $this->assertContains('namespace App\Test\Fixture;', $result); <del> $this->assertContains('use Cake\TestSuite\Fixture\...
7
Ruby
Ruby
use case statement
7fff04f4e8a5fcb8081adeeb81bbd7f866ac07ee
<ide><path>railties/lib/rails/source_annotation_extractor.rb <ide> def find_in(dir) <ide> <ide> if File.directory?(item) <ide> results.update(find_in(item)) <del> elsif item =~ /\.(builder|rb|coffee|rake)$/ <del> results.update(extract_annotations_from(item, /#\s*(#{tag}):?\s*(.*)$/)) <del> ...
1
Python
Python
fix batch normalization
c81d6ec93f6350eabec347acc4420456dc07312b
<ide><path>keras/layers/containers.py <ide> <ide> import theano.tensor as T <ide> from ..layers.core import Layer, Merge <add>from ..utils.theano_utils import ndim_tensor <ide> from six.moves import range <ide> <ide> <del>def ndim_tensor(ndim): <del> if ndim == 2: <del> return T.matrix() <del> elif ndim...
7
Javascript
Javascript
add tests for invokeguardedcallback
e577bfb1cedc56f93d8e5967088932e7100d4829
<ide><path>packages/react-dom/src/__tests__/ReactDOMConsoleErrorReporting-test.js <add>/** <add> * Copyright (c) Facebook, Inc. and its affiliates. <add> * <add> * This source code is licensed under the MIT license found in the <add> * LICENSE file in the root directory of this source tree. <add> */ <add> <add>'use str...
1
PHP
PHP
fix failing test
8485ffac3944f11bd4bde0fded157c984ad0fbfe
<ide><path>tests/TestCase/Console/Command/BakeShellTest.php <ide> public function testMain() { <ide> ->with($this->stringContains('The following commands')); <ide> $this->Shell->expects($this->at(3)) <ide> ->method('out') <del> ->with('controller'); <add> ->with('behavior'); <ide> $this->Shell->main(); <i...
1
Javascript
Javascript
annotate empty objects in xplat
abb21dd908729fa69daf2fa63366e488009b63bd
<ide><path>Libraries/Animated/AnimatedImplementation.js <ide> const parallel = function ( <ide> ): CompositeAnimation { <ide> let doneCount = 0; <ide> // Make sure we only call stop() at most once for each animation <del> const hasEnded = {}; <add> const hasEnded: {[number]: boolean} = {}; <ide> const stopToget...
9
Go
Go
use cobra built-in --version feature
0c3192da8c0686b1fe6aba393c1d3279e41c48a0
<ide><path>cli/cobra.go <ide> func SetupRootCommand(rootCmd *cobra.Command) { <ide> rootCmd.SetHelpTemplate(helpTemplate) <ide> rootCmd.SetFlagErrorFunc(FlagErrorFunc) <ide> rootCmd.SetHelpCommand(helpCommand) <add> rootCmd.SetVersionTemplate("Docker version {{.Version}}\n") <ide> <ide> rootCmd.PersistentFlags().B...
3
Python
Python
remove dev log
6b131205034c35b25535c39c0d7d4b550a485c10
<ide><path>glances/plugins/glances_fs.py <ide> def update(self): <ide> except UnicodeDecodeError: <ide> return self.stats <ide> <del> logger.info(fs_stat) <del> <ide> # Loop over fs <ide> for fs in fs_stat: <ide> fs_current = {}
1
Javascript
Javascript
fix variable leak
bc02d47b213785f9560f4b9c5426bc16124e89c3
<ide><path>lib/fs.js <ide> fs.readSync = function (fd, buffer, offset, length, position) { <ide> if (!Buffer.isBuffer(buffer)) { <ide> // legacy string interface (fd, length, position, encoding, callback) <ide> legacy = true; <del> encoding = arguments[3]; <add> var encoding = arguments[3]; <ide> po...
1
Text
Text
add gitter badge and use map art instead of logo
926151ff8b53042b9cd1b6755f59dcad011557d0
<ide><path>README.md <add><img src="https://s3.amazonaws.com/freecodecamp/wide-social-banner.png"> <add> <ide> [![Throughput Graph](https://graphs.waffle.io/freecodecamp/freecodecamp/throughput.svg)](https://waffle.io/freecodecamp/freecodecamp/metrics) <ide> <del>[![Stories in Ready](https://badge.waffle.io/FreeCodeCa...
1
PHP
PHP
remove the input flashing from filters
837b4802312b60b2c1338639cdc406ec6b7adbe7
<ide><path>application/filters.php <ide> <ide> 'after' => function($response) <ide> { <del> Input::flash(); <add> // Do stuff after every request to your application. <ide> }, <ide> <ide>
1
PHP
PHP
improve casting of integer routing parameters
50efa360d95f2c5a8cd5215c30f5bf5cf3a66b9e
<ide><path>src/Controller/ControllerFactory.php <ide> protected function coerceStringToType(string $argument, ReflectionNamedType $typ <ide> case 'float': <ide> return is_numeric($argument) ? (float)$argument : null; <ide> case 'int': <del> return ctype_digit($argu...
2
Javascript
Javascript
delay routing while contexts are loading
852f41faa7862cd3908ebee08041fef160c29f03
<ide><path>packages/ember-routing/lib/resolved_state.js <add>var get = Ember.get; <add> <add>Ember._ResolvedState = Ember.Object.extend({ <add> manager: null, <add> state: null, <add> match: null, <add> <add> object: Ember.computed(function(key, value) { <add> if (arguments.length === 2) { <add> this._objec...
4
Javascript
Javascript
parse json response on error
8025f96fa177f0d343297ee6e6e5b54cd9011380
<ide><path>common/utils/ajax-stream.js <ide> function getCORSRequest() { <ide> } <ide> } <ide> <add>function parseXhrResponse(responseType, xhr) { <add> switch (responseType) { <add> case 'json': <add> if ('response' in xhr) { <add> return xhr.responseType ? <add> xhr.response : <add> ...
1
Mixed
Javascript
support uint8array prime in createdh
0db49fef4152e3642c2a0686c30bf59813e7ce1c
<ide><path>doc/api/crypto.md <ide> The `key` is the raw key used by the `algorithm` and `iv` is an <ide> <!-- YAML <ide> added: v0.11.12 <ide> changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/11983 <add> description: The `prime` argument can be a `Uint8Array` now. <ide> - v...
3
Ruby
Ruby
reduce footprint of readline hack
0b425178ec51c076b0acddd7f38b3cc2302dfccd
<ide><path>Library/Homebrew/debrew.rb <del>def can_use_readline? <del> not ENV['HOMEBREW_NO_READLINE'] <del>end <del> <ide> require 'debrew/menu' <ide> require 'debrew/raise_plus' <del>require 'debrew/irb' if can_use_readline? <del> <del>class Object <del> include RaisePlus <del>end <ide> <del>def has_debugger? <add...
1
Javascript
Javascript
use common.buildtype in repl-domain-abort
2f47b6869ad4e5f49a8234edd2635fef6f0bb6c6
<ide><path>test/addons/repl-domain-abort/test.js <ide> const assert = require('assert'); <ide> const repl = require('repl'); <ide> const stream = require('stream'); <ide> const path = require('path'); <del>const buildType = process.config.target_defaults.default_configuration; <del>let buildPath = path.join(__dirname, ...
1
Javascript
Javascript
increase timeout for statstestcases
ad308f9d5ac064b4eb6b861c88087adfe38e7f14
<ide><path>test/StatsTestCases.test.js <ide> const tests = fs <ide> describe("StatsTestCases", () => { <ide> tests.forEach(testName => { <ide> it("should print correct stats for " + testName, done => { <del> jest.setTimeout(10000); <add> jest.setTimeout(30000); <ide> let options = { <ide> mode: "developme...
1
PHP
PHP
remove duplicate line
2dfb40bac053041dcbe2b59e963f8064ce36df54
<ide><path>lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php <ide> public function testAddMiddle() { <ide> $expected = array_merge(array($modelClass => array('name' => 'testAddMiddle', $parentField => '2')), $result); <ide> $this->assertSame($expected, $result); <ide> <del> $laterCount = $this->Tree->f...
1
Python
Python
improve cumsum documentation
99bb6a48ced27e5ce7bbf1fc7b606c5bd840af3a
<ide><path>numpy/core/fromnumeric.py <ide> def cumsum(a, axis=None, dtype=None, out=None): <ide> Arithmetic is modular when using integer types, and no error is <ide> raised on overflow. <ide> <add> ``cumsum(a)[-1]`` may not be equal to ``sum(a)`` for floating-point <add> values since ``sum`` may use a p...
1
Javascript
Javascript
update example to use a module
aecdd9d630aad424d487c91ff90463bd8e026660
<ide><path>src/ng/directive/ngInit.js <ide> * @param {expression} ngInit {@link guide/expression Expression} to eval. <ide> * <ide> * @example <del> <example> <add> <example module="initExample"> <ide> <file name="index.html"> <ide> <script> <del> function Ctrl($scope) { <del> $scope.list = [['...
1
Javascript
Javascript
display error informations to top left (#615)
ef06aeee450d57e1b05a37df4e73e0aeca8b1469
<ide><path>pages/_error-debug.js <ide> export default class ErrorDebug extends React.Component { <ide> `}</style> <ide> <style jsx>{` <ide> .errorDebug { <del> height: 100vh; <add> height: 100%; <ide> padding: 16px; <ide> box-sizing: border-box; <del> d...
1
PHP
PHP
fix code style
eb41172e22a28fcfa7e3ffbcc71e2d449a84fc6c
<ide><path>tests/View/Blade/BladeVerbatimTest.php <ide> public function testMultilineTemplatesWithRawBlocksAreRenderedInTheRightOrder() <ide> @include("users") <ide> @verbatim <ide> {{ $fourth }} @include("test") <del>@endverbatim <add>@endverbatim <ide> @php echo $fifth; @endphp'; <ide> <ide> $expected =...
1
Text
Text
remove duplicate options
686e092202514dfc3cf93a463e9177a80dd42133
<ide><path>doc/api/child_process.md <ide> changes: <ide> <ide> * `command` {string} The command to run, with space-separated arguments. <ide> * `options` {Object} <del> * `timeout` {number} (Default: `0`) <ide> * `cwd` {string} Current working directory of the child process. <ide> * `env` {Object} Environment key...
1
Ruby
Ruby
update to_param docs [ci skip]
03404936945b452b8e66e53e183973176dae8301
<ide><path>activesupport/lib/active_support/core_ext/object/to_param.rb <ide> def to_param <ide> end <ide> <ide> class NilClass <add> # Returns +self+. <ide> def to_param <ide> self <ide> end <ide> end <ide> <ide> class TrueClass <add> # Returns +self+. <ide> def to_param <ide> self <ide> end <ide> ...
1
Python
Python
set version to v2.1.0a11
4e8a07c7d343ae82b78bd7375785f9e150b3e64b
<ide><path>spacy/about.py <ide> # fmt: off <ide> <ide> __title__ = "spacy-nightly" <del>__version__ = "2.1.0a10" <add>__version__ = "2.1.0a11" <ide> __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and Cython" <ide> __uri__ = "https://spacy.io" <ide> __author__ = "Explosion AI"
1
Ruby
Ruby
show the right file when test raises
ccee7eea8e5a8a34256467dd1096ac549dd17362
<ide><path>railties/lib/rails/test_unit/reporter.rb <ide> def aggregated_results # :nodoc: <ide> filtered_results = results.dup <ide> filtered_results.reject!(&:skipped?) unless options[:verbose] <ide> filtered_results.map do |result| <del> result.failures.map { |failure| <del> "bin/ra...
2
PHP
PHP
use type constants in postgres schema
17381f2cba1ae1604db4b03b1671aea52aa828eb
<ide><path>src/Database/Schema/PostgresSchema.php <ide> namespace Cake\Database\Schema; <ide> <ide> use Cake\Database\Exception; <add>use Cake\Database\Schema\TableSchema; <ide> <ide> /** <ide> * Schema management/reflection features for Postgres. <ide> protected function _convertColumn($column) <ide> re...
1
PHP
PHP
update fixtureinjector with addwarning
eaca7ca34fb058e9fdd31bee5150a2a4a2649cd6
<ide><path>src/TestSuite/Fixture/FixtureInjector.php <ide> use PHPUnit_Framework_Test; <ide> use PHPUnit_Framework_TestListener; <ide> use PHPUnit_Framework_TestSuite; <add>use PHPUnit_Framework_Warning; <add> <ide> <ide> /** <ide> * Test listener used to inject a fixture manager in all tests that <ide> public functi...
1
Python
Python
remove unittest dependencies in numpy/f2py/tests
69bc7b19d2a665c8301c3df07aee61fc469ff4e3
<ide><path>numpy/f2py/tests/test_array_from_pyobj.py <ide> wrap = None <ide> <ide> <del>def setup(): <add>def setup_module(): <ide> """ <ide> Build the required testing extension module <ide> <ide> def has_shared_memory(self): <ide> return obj_attr[0] == self.arr_attr[0] <ide> <ide> <del>class test...
2
Java
Java
switch responseencodedhtmlescape default to true
3bfe4dcca7ec9e6b2bb2e21a5d5b7c6737f60216
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/support/RequestContext.java <ide> else if (localeResolver != null) { <ide> // context-param in web.xml, if any. <ide> this.defaultHtmlEscape = WebUtils.getDefaultHtmlEscape(this.webApplicationContext.getServletContext()); <ide> <add> // Determ...
1
Javascript
Javascript
handle esc key properly inside of the closebutton
f5fd94f61012af2269a5528746c7d62a7b435467
<ide><path>src/js/close-button.js <ide> */ <ide> import Button from './button'; <ide> import Component from './component'; <add>import keycode from 'keycode'; <ide> <ide> /** <ide> * The `CloseButton` is a `{@link Button}` that fires a `close` event when <ide> class CloseButton extends Button { <ide> */ <ide> ...
2
PHP
PHP
remove nonexistent params and returns
f46d93805d81d8e10133a410a511eb2dc0eb6f4b
<ide><path>src/Console/Command/UpgradeShell.php <ide> public function app_uses() { <ide> * Replace all the App::uses() calls with `use`. <ide> * <ide> * @param string $file The file to search and replace. <del> * @param boolean $dryRun Whether or not to do the thing <del> * @return mixed Replacement of uses call <id...
10
Text
Text
add caution to any type documentation
28b92c31a7638ef0fbf1dc62b597de0be3d85c20
<ide><path>guide/english/typescript/any-type/index.md <ide> title: Any Type <ide> <ide> The Any type instructs Typescript to suspend type checking for the specified variables. Useful when working with dynamic content for which you don't know the type, and for transitioning your codebase from Javascript to Typescript i...
1
Javascript
Javascript
drop the tests relying on applets
95c0a10e15477a5031185e2d656d896905562afa
<ide><path>test/unit/data.js <ide> test("jQuery.data(<embed>)", 25, function() { <ide> dataTests( document.createElement("embed") ); <ide> }); <ide> <del>test("jQuery.data(<applet>)", 25, function() { <del> dataTests( document.createElement("applet") ); <del>}); <del> <ide> test("jQuery.data(object/flash)", 25, funct...
1
Java
Java
address various extendedbeaninfo bugs
b50bb5071ac353e77e9d38c72f888de3add923b2
<ide><path>spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfo.java <ide> <ide> import org.apache.commons.logging.Log; <ide> import org.apache.commons.logging.LogFactory; <add>import org.springframework.core.BridgeMethodResolver; <ide> import org.springframework.util.Assert; <ide> import org.springfr...
2
Go
Go
remove bsdtar by checking magic
0425f65e6373dc38cd18a6d0f2a50671544ad4b2
<ide><path>archive.go <ide> package docker <ide> <ide> import ( <add> "bytes" <ide> "errors" <ide> "fmt" <add> "github.com/dotcloud/docker/utils" <ide> "io" <ide> "io/ioutil" <ide> "os" <ide> const ( <ide> Xz <ide> ) <ide> <add>func DetectCompression(source []byte) Compression { <add> for _, c := range source[:...
1
PHP
PHP
allow slackattachment color override
84842c1d845cd01a2def163539204cbc15a59821
<ide><path>src/Illuminate/Notifications/Channels/SlackWebhookChannel.php <ide> protected function attachments(SlackMessage $message) <ide> { <ide> return collect($message->attachments)->map(function ($attachment) use ($message) { <ide> return array_filter([ <del> 'color' => $messa...
2
PHP
PHP
add test for belongsto and hasone optimization
364c293e16c0f5286eee45b286e58d2e9ffa5396
<ide><path>lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php <ide> public function testReadOnlyCallingQueryAssociationWhenDefined() { <ide> $this->assertTrue(is_array($result)); <ide> } <ide> <add>/** <add> * test that queryAssociation() reuse already joined data for 'belongsTo' and 'hasOne' associations <add> ...
1
PHP
PHP
convert spaces to tab
441ad9252dcc16d03966ca7e961f1c798d89fb50
<ide><path>app/config/database.php <ide> 'password' => '', <ide> 'charset' => 'utf8', <ide> 'prefix' => '', <del> 'schema' => 'public', <add> 'schema' => 'public', <ide> ), <ide> <ide> 'sqlsrv' => array(
1
Javascript
Javascript
remove unused exports from stylesheettypes
b58e377961ddd278bfa36df0e15953f976875de6
<ide><path>Libraries/StyleSheet/StyleSheet.js <ide> import type { <ide> StyleSheetStyle as _StyleSheetStyle, <ide> Styles as _Styles, <ide> StyleSheet as _StyleSheet, <del> StyleValue as _StyleValue, <ide> StyleObj, <add> LayoutStyle <ide> } from 'StyleSheetTypes'; <ide> <ide> export type StyleProp = StyleOb...
3
Python
Python
fix sdist command
105a91975b55d28ab33718d9292bda6d28853acd
<ide><path>fabfile.py <ide> def make(): <ide> def sdist(): <ide> with virtualenv(VENV_DIR) as venv_local: <ide> with lcd(path.dirname(__file__)): <del> local('python -m pip install -U setuptools') <add> local('python -m pip install -U setuptools srsly') <ide> local('python ...
1
PHP
PHP
add removeall() method
74db983e93fd0ee5bcd3c935a393efea21a072b2
<ide><path>src/ORM/Associations.php <ide> public function remove($alias) { <ide> unset($this->_items[strtolower($alias)]); <ide> } <ide> <add>/** <add> * Remove all registered associations. <add> * <add> * Once removed associations will not longer be reachable <add> * <add> * @return void <add> */ <add> public func...
2
Javascript
Javascript
remove unused var
0d787ceeecb164ea09c12a35d768bbc6831c42e6
<ide><path>client/src/components/layouts/Guide.js <ide> import Spacer from '../helpers/Spacer'; <ide> <ide> import 'prismjs/themes/prism.css'; <ide> import './guide.css'; <del>import Footer from '../Footer'; <ide> <ide> const propTypes = { <ide> children: PropTypes.any,
1
Ruby
Ruby
fix a tiny typo in custom validators documentation
fd17ffc7a27c2fc5c3c2afb82c9e1909fd5ba7a1
<ide><path>activemodel/lib/active_model/validations/validates.rb <ide> module ClassMethods <ide> # <ide> # Additionally validator classes may be in another namespace and still used within any class. <ide> # <del> # validates :name, :'file/title' => true <add> # validates :name, :'film/ti...
1
Python
Python
update doc links for tensorboard/embeddings
63543a7e35639e8b0b8bce6bb3f80406bb925cf3
<ide><path>keras/callbacks.py <ide> def on_epoch_end(self, epoch, logs=None): <ide> class TensorBoard(Callback): <ide> """TensorBoard basic visualizations. <ide> <del> [TensorBoard](https://www.tensorflow.org/get_started/summaries_and_tensorboard) <add> [TensorBoard](https://www.tensorflow.org/guide/summarie...
1
Ruby
Ruby
fix postgresql distinct requirement in pluck test
2dd95a775c7aa9565f5b43f41ccf09a302ca1832
<ide><path>activerecord/test/cases/calculations_test.rb <ide> def test_pluck_loaded_relation_multiple_columns <ide> end <ide> <ide> def test_pluck_loaded_relation_sql_fragment <del> companies = Company.order(:id).limit(3).load <add> companies = Company.order(:name).limit(3).load <ide> assert_queries 1 do...
1
Python
Python
return none instead of raising xcomexception
6ef6a650dfab103c54cf380b2d8ed1034184d68a
<ide><path>airflow/models.py <ide> from airflow.executors import DEFAULT_EXECUTOR, LocalExecutor <ide> from airflow.configuration import conf <ide> from airflow.utils import ( <del> AirflowException, XComException, State, apply_defaults, provide_session, <add> AirflowException, State, apply_defaults, provide_sess...
2
Javascript
Javascript
remove config argument from usetransition
ddd1faa1972b614dfbfae205f2aa4a6c0b39a759
<ide><path>packages/react-debug-tools/src/ReactDebugHooks.js <ide> import type { <ide> } from 'react-reconciler/src/ReactInternalTypes'; <ide> import type {OpaqueIDType} from 'react-reconciler/src/ReactFiberHostConfig'; <ide> <del>import type {SuspenseConfig} from 'react-reconciler/src/ReactFiberTransition'; <ide> imp...
10
Javascript
Javascript
remove var in rntester
811a99caab4032c5780d6b6f0b93c862c93d8c17
<ide><path>RNTester/js/AnimatedGratuitousApp/AnExApp.js <ide> <ide> 'use strict'; <ide> <del>var React = require('react'); <del>var ReactNative = require('react-native'); <del>var {Animated, LayoutAnimation, PanResponder, StyleSheet, View} = ReactNative; <add>const React = require('react'); <add>const ReactNative = r...
7
Javascript
Javascript
correct scrolleventthrottle docs
a3ba25ed90b6896430f58a34eeaf831a953baeea
<ide><path>Libraries/Components/ScrollView/ScrollView.js <ide> var ScrollView = React.createClass({ <ide> scrollEnabled: PropTypes.bool, <ide> /** <ide> * This controls how often the scroll event will be fired while scrolling <del> * (in events per seconds). A higher number yields better accuracy for c...
1
Go
Go
move default apparmor policy into package
35e50119fc2a2a6d9bcdc95c000df8b66d6cb9d3
<ide><path>daemon/execdriver/native/apparmor.go <del>// +build linux <del> <del>package native <del> <del>import ( <del> "bufio" <del> "io" <del> "os" <del> "os/exec" <del> "path" <del> "strings" <del> "text/template" <del> <del> "github.com/docker/docker/pkg/aaparser" <del> "github.com/opencontainers/runc/libcontainer...
4
Javascript
Javascript
react partial sync
ee5cb5a880015c58a98f4cdcd3f3cc978196246d
<ide><path>Libraries/Renderer/implementations/ReactFabric-dev.fb.js <ide> function scheduleFibersWithFamiliesRecursively( <ide> if (staleFamilies.has(family)) { <ide> needsRemount = true; <ide> } else if (updatedFamilies.has(family)) { <del> needsRender = true; <add> if (tag ...
12
PHP
PHP
change access modifier on _stop() to protected
1d39b937858cb7bbaad299a208968c59c1a2f102
<ide><path>cake/libs/object.php <ide> public function dispatchMethod($method, $params = array()) { <ide> * @param $status see http://php.net/exit for values <ide> * @return void <ide> */ <del> public function _stop($status = 0) { <add> protected function _stop($status = 0) { <ide> exit($status); <ide> } <ide>
1
Text
Text
update instructions for translations
ffca835231869dcaa333c6b81fb72e045a4af07d
<ide><path>docs/style-guide-for-guide-articles.md <ide> The titles use a speacial YAML front matter syntax block as shown below. These c <ide> These are the specific front matter requirements: <ide> 1. The front matter block should be on the first line of the file. <ide> 2. The front matter block should not have whites...
1
Java
Java
refine eclipselink sql logging
4308a0404cf5ed9c1813c3320e0d86dfc085f06f
<ide><path>spring-orm/src/main/java/org/springframework/orm/jpa/vendor/EclipseLinkJpaVendorAdapter.java <ide> else if (getDatabase() != null) { <ide> PersistenceUnitProperties.DDL_DATABASE_GENERATION); <ide> } <ide> if (isShowSql()) { <del> jpaProperties.put(PersistenceUnitProperties.LOGGING_LEVEL, Level.FIN...
1
Ruby
Ruby
replace shallow mocks with ruby classes
f7bfb3db282f8333adb469b6d223b58523428d7d
<ide><path>activerecord/test/cases/fixtures_test.rb <ide> class TransactionalFixturesOnConnectionNotification < ActiveRecord::TestCase <ide> self.use_instantiated_fixtures = false <ide> <ide> def test_transaction_created_on_connection_notification <del> connection = stub(transaction_open?: false) <add> conne...
5
Go
Go
add a script to help reproduce #407
1ec6c223c9e3a22e9cf182d1d4d69f16a9d083f4
<ide><path>contrib/crashTest.go <add>package main <add> <add>import ( <add> "io" <add> "log" <add> "os" <add> "os/exec" <add> "time" <add>) <add> <add>const DOCKER_PATH = "/home/creack/dotcloud/docker/docker/docker" <add> <add>func runDaemon() (*exec.Cmd, error) { <add> cmd := exec.Command(DOCKER_PATH, "-d") <add> outP...
1
Text
Text
add header demarcation to action cable guide
41c3ebaf38eca7fb528c8439445ad52e815fb5b9
<ide><path>guides/source/action_cable_overview.md <ide> After reading this guide, you will know: <ide> * What Action Cable is and its integration on backend and frontend <ide> * How to setup Action Cable <ide> * How to setup channels <del>* Deployment and Architecture setup for running Action Cable <add>* Deployment...
1
Javascript
Javascript
feature flag to revert
d34b457ce2a2cee1160dbc90b93312ff9850958c
<ide><path>packages/react-reconciler/src/ReactFiberClassComponent.js <ide> import { <ide> requestCurrentTime, <ide> computeExpirationForFiber, <ide> scheduleWork, <add> flushPassiveEffects, <ide> } from './ReactFiberScheduler'; <add>import {revertPassiveEffectsChange} from 'shared/ReactFeatureFlags'; <ide> <ide...
12
PHP
PHP
fix doc block
f0430832ec658633882d21e5771bb5a0ebc3239d
<ide><path>src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php <ide> public function __construct(Application $app) <ide> * @return mixed <ide> * <ide> * @throws \Symfony\Component\HttpKernel\Exception\HttpException <del> * @throws \Illuminate\Foundation\Http\Exceptions\Main...
1
Ruby
Ruby
use style consistent with surrounding code
29164f348e6aacf9e5f8cff6aeaa43fedcf98645
<ide><path>activesupport/lib/active_support/parameter_filter.rb <ide> def value_for_key(key, value, parents = [], original_params = nil) <ide> # If we don't pop the current parent it will be duplicated as we <ide> # process each array value. <ide> parents.pop if deep_regexps <del> ...
1
Javascript
Javascript
remove unneeded scroll when we first load a page
ed7a10a8d54f283dfd5b9e2ea061cac0fff5f0b7
<ide><path>web/viewer.js <ide> var PDFView = { <ide> }, true); <ide> }, <ide> <del> setScale: function pdfViewSetScale(val, resetAutoSettings) { <add> setScale: function pdfViewSetScale(val, resetAutoSettings, noScroll) { <ide> if (val == this.currentScale) <ide> return; <ide> <ide> var pages = ...
1
Javascript
Javascript
ensure valid global scope
7bef701324e47973fb4b234f424b8f1c5a6d91c2
<ide><path>dist/immutable.js <ide> */ <ide> function universalModule() { <ide> var module = {}; <add> var global = {}; <ide> var $Object = Object; <ide> <ide> function createClass(ctor, methods, staticMethods, superClass) { <ide><path>dist/immutable.min.js <ide> * LICENSE file in the root directory of this sou...
3
Javascript
Javascript
update spec name
53ea43001945f2cac87c8d0639aef984bb9f93b8
<ide><path>spec/path-watcher-spec.js <ide> tempCb.track() <ide> const fs = promisifySome(fsCb, ['writeFile', 'mkdir', 'symlink', 'appendFile', 'realpath']) <ide> const temp = promisifySome(tempCb, ['mkdir']) <ide> <del>describe('PathWatcher', function () { <add>describe('watchPath', function () { <ide> let subs <ide...
1
Javascript
Javascript
accept animation.target.node=0 in gltf2loader
c2e03ce8162036e5856448264e9687912e98ee3e
<ide><path>examples/js/loaders/GLTF2Loader.js <ide> THREE.GLTF2Loader = ( function () { <ide> if ( sampler ) { <ide> <ide> var target = channel.target; <del> var name = target.node || target.id; // NOTE: target.id is deprecated. <add> var name = target.node !== undefined ? target.node : target.id;...
1
Javascript
Javascript
add deprecation warnings for a few ios components
174644846d7f0b2729d2a538695a42ae8c057946
<ide><path>Libraries/Components/TabBarIOS/TabBarIOS.android.js <ide> const StyleSheet = require('StyleSheet'); <ide> const TabBarItemIOS = require('TabBarItemIOS'); <ide> const View = require('View'); <ide> <add>let showedDeprecationWarning = false; <add> <ide> class DummyTabBarIOS extends React.Component<$FlowFixMePr...
7
Go
Go
remove unused canaccess() stub for windows
1fccb39316bf3a695fd13c05a2b0e2787dff64f1
<ide><path>pkg/idtools/idtools_windows.go <ide> const ( <ide> func mkdirAs(path string, _ os.FileMode, _ Identity, _, _ bool) error { <ide> return system.MkdirAll(path, 0) <ide> } <del> <del>// CanAccess takes a valid (existing) directory and a uid, gid pair and determines <del>// if that uid, gid pair has access (exe...
1
Python
Python
embed the tornado web server
47c1ed03f055b4d25d6c127c53d96b1701ffccfe
<add><path>celery/monitoring/__init__.py <del><path>celery/monitoring.py <ide> from carrot.connection import DjangoBrokerConnection <ide> <ide> from celery.events import EventReceiver <add>from celery.monitoring.web import WebServerThread <ide> <ide> HEARTBEAT_EXPIRE = 120 # Heartbeats must be at most 2 minutes apart...
2
Go
Go
enable v2 default push
770e9b6b819b495a933b2f467bf768a1b785d5ad
<ide><path>graph/pull.go <ide> func (s *TagStore) CmdPull(job *engine.Job) engine.Status { <ide> logName = utils.ImageReference(logName, tag) <ide> } <ide> <del> if len(repoInfo.Index.Mirrors) == 0 && ((repoInfo.Official && repoInfo.Index.Official) || endpoint.Version == registry.APIVersion2) { <add> if len(repoInf...
2
Ruby
Ruby
move lonely indifferent hash test
9578d574f3be8da966ee7355dfb1604936a103cb
<ide><path>activesupport/test/core_ext/hash_ext_test.rb <ide> def test_indifferent_merging_with_block <ide> assert_equal 5, merged[:b] <ide> end <ide> <add> def test_reverse_merge <add> hash = HashWithIndifferentAccess.new key: :old_value <add> hash.reverse_merge! key: :new_value <add> assert_equal :ol...
2
Text
Text
move readme simplification
2dacad831e89977d3ac95ffa3c21b0ef2eb8d585
<ide><path>CONTRIBUTING.md <del>All pull requests to the `master` branch will be closed. <del>======================================================== <del> <del>Please submit all pull requests to the `develop` branch. <del> <del>Language translations will not be merged without unit tests. <del>========================...
2
PHP
PHP
fix failing tests caused by cache/log changes
46a8a311004033e118896f496712fa09e27f50bb
<ide><path>lib/Cake/Console/Shell.php <ide> protected function _useLogger($enable = true) { <ide> 'types' => ['emergency', 'alert', 'critical', 'error', 'warning'], <ide> 'stream' => $this->stderr, <ide> ]); <del> Log::engine('stdout', $stdout); <del> Log::engine('stderr', $stderr); <add> Log::config('stdout...
6
Ruby
Ruby
remove duplicate 'quote_column_name' definition
c5f53ca33366062da987706704c27e516fe8cc3b
<ide><path>activerecord/lib/active_record/connection_adapters/mysql_adapter.rb <ide> def quoted_false <ide> "0" <ide> end <ide> <del> def quote_column_name(name) <del> "`#{name}`" <del> end <del> <ide> <ide> # DATABASE STATEMENTS ====================================== <ide> <ide>...
1
Javascript
Javascript
fix the release script
c3a529325f67bec0d707e647e7b407a803f50725
<ide><path>scripts/release/publish-commands/publish-to-npm.js <ide> const push = async ({cwd, dry, version}) => { <ide> // Update the @next tag to also point to it (so @next doens't lag behind). <ide> if (!isPrerelease) { <ide> await execUnlessDry( <del> `npm dist-tag add ${project}...
1
Python
Python
add xla support to ncf
f2b702a056ba08a2f2344425f116a673a302abdd
<ide><path>official/recommendation/data_preprocessing.py <ide> def deserialize(examples_serialized): <ide> items = tf.reshape(tf.decode_raw( <ide> features[movielens.ITEM_COLUMN], tf.uint16), (batch_size,)) <ide> <del> if params["use_tpu"]: <del> items = tf.cast(items, tf.int32) # TPU doesn't allo...
4
Ruby
Ruby
run the notes tests in isolation
f945d157f79af44e2096fcbc9aaa22e410919dca
<ide><path>railties/test/application/rake/notes_test.rb <ide> module ApplicationTests <ide> module RakeTests <ide> class RakeNotesTest < ActiveSupport::TestCase <add> include ActiveSupport::Testing::Isolation <add> <ide> def setup <ide> build_app <ide> require "rails/all" <add> s...
1
Text
Text
remove pypi version badge
df464c103efdc3f9672a33ceca9e13679796c999
<ide><path>README.md <ide> # Keras: Deep Learning library for TensorFlow and Theano <ide> <ide> [![Build Status](https://travis-ci.org/fchollet/keras.svg?branch=master)](https://travis-ci.org/fchollet/keras) <del>[![PyPI version](https://badge.fury.io/py/keras.svg)](https://badge.fury.io/py/keras) <ide> [![license](ht...
1
Text
Text
ask contributors to update the documentation
74acfa394ff07870dee94cccaad008fcb1fa3cca
<ide><path>guides/source/contributing_to_ruby_on_rails.md <ide> You can invoke `test_jdbcmysql`, `test_jdbcsqlite3` or `test_jdbcpostgresql` als <ide> <ide> The test suite runs with warnings enabled. Ideally, Ruby on Rails should issue no warnings, but there may be a few, as well as some from third-party libraries. Pl...
1
PHP
PHP
allow escaping of blade echos using @ sign
cb93bf3df8d25c04939462f81b75ddb9e4e6faa0
<ide><path>src/Illuminate/View/Compilers/BladeCompiler.php <ide> protected function compileEchos($value) <ide> */ <ide> protected function compileRegularEchos($value) <ide> { <del> $pattern = sprintf('/%s\s*(.+?)\s*%s/s', $this->contentTags[0], $this->contentTags[1]); <add> $pattern = sprintf('/(@)?%s\s*(.+?)\s*%...
2
Ruby
Ruby
update the documentation for engine and railtie
542946a0c2e8a694eac58a9cf50c8b9c734b5ef2
<ide><path>railties/lib/rails/engine.rb <ide> module Rails <ide> # # lib/my_engine.rb <ide> # module MyEngine <ide> # class Engine < Rails::Engine <del> # engine_name :my_engine <ide> # end <ide> # end <ide> # <ide> module Rails <ide> # Example: <ide> # <ide> # class MyEngine < ...
2
Javascript
Javascript
add more info link for warnedmissingnativeanimated
f9ab788c6bcf886170259c132ea4f9ef39e6bfd3
<ide><path>Libraries/Animated/src/AnimatedImplementation.js <ide> function shouldUseNativeDriver(config: AnimationConfig | EventConfig): boolean { <ide> 'Animated: `useNativeDriver` is not supported because the native ' + <ide> 'animated module is missing. Falling back to JS-based animation. To ' + <ide...
1
Text
Text
fix typo in activemodel changelog
aef6b7996741c21f7c95004017aeb805f8a4decb
<ide><path>activemodel/CHANGELOG.md <ide> * Validate multiple contexts on `valid?` and `invalid?` at once. <ide> <ide> Example: <del> <add> <ide> class Person <ide> include ActiveModel::Validations <del> <add> <ide> attr_reader :name, :title <ide> validates_presence_...
1
Ruby
Ruby
improve language and examples in railtie docs
74b44dfb86365c805a6fe610da3764e00b4f96aa
<ide><path>railties/lib/rails/railtie.rb <ide> require 'active_support/inflector' <ide> <ide> module Rails <del> # Railtie is the core of the Rails Framework and provides several hooks to extend <add> # Railtie is the core of the Rails framework and provides several hooks to extend <ide> # Rails and/or modify the ...
1
Ruby
Ruby
use #remove_possible_method instead
1c2dc92aaeee1b5247957f626343e767418c3780
<ide><path>activesupport/lib/active_support/core_ext/class/attribute.rb <ide> def #{name} <ide> val <ide> end <ide> <del> remove_method :#{name} if method_defined?(:#{name}) <add> remove_possible_method :#{name} <ide> def #{name} <ide> defined?(@#{name}) ? @#{name} : s...
1