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
PHP
PHP
simplify else cases
a90cb29c0f6f40b1605f97f0bba8bc74fff70955
<ide><path>lib/Cake/Model/Datasource/Database/Mysql.php <ide> public function listSources($data = null) { <ide> if (!$result) { <ide> $result->closeCursor(); <ide> return array(); <del> } else { <del> $tables = array(); <del> <del> while ($line = $result->fetch(PDO::FETCH_NUM)) { <del> $tables[] = $line...
17
Javascript
Javascript
add test case
5ff9a1486f321122595d94cf9159aebff994c721
<ide><path>test/Defaults.unittest.js <ide> describe("Defaults", () => { <ide> process.chdir(cwd); <ide> } <ide> ); <add> <add> test( <add> "array defaults", <add> { <add> output: { <add> enabledChunkLoadingTypes: ["require", "..."], <add> enabledWasmLoadingTypes: ["...", "async-node"] <add> } <add> }...
1
Javascript
Javascript
apply split methods to their usages
524043032189e95fac724da49d316e44cec76c68
<ide><path>lib/APIPlugin.js <ide> class APIPlugin { <ide> parser.plugin(`evaluate typeof ${key}`, ParserHelpers.evaluateToString(REPLACEMENT_TYPES[key])); <ide> }); <ide> IGNORES.forEach(key => { <del> parser.plugin(key, ParserHelpers.returnTrue); <add> parser.plugin(key, ParserHelpers.skipTraversa...
6
Go
Go
remove unused config check
c38d2d4601f8523a4f9c031fca5de9e5ab00ddf5
<ide><path>libnetwork/drivers/bridge/bridge.go <ide> func (d *driver) Config(option map[string]interface{}) error { <ide> } <ide> <ide> if config.EnableIPForwarding { <del> return setupIPForwarding(config) <add> return setupIPForwarding() <ide> } <ide> <ide> return nil <ide><path>libnetwork/drivers/bridge/error...
4
Text
Text
document the behavior of console.assert()
4cee226eb41f2c2e3c71800facc0cbaa2f06ecb5
<ide><path>doc/api/console.md <ide> changes: <ide> * `...message` {any} All arguments besides `value` are used as error message. <ide> <ide> A simple assertion test that verifies whether `value` is truthy. If it is not, <add>or `value` is not passed, <ide> `Assertion failed` is logged. If provided, the error `message`...
1
PHP
PHP
allow multiple folders for migrations
615ba9a6ead3608ef2cf6956c85a6fc71ac37e57
<ide><path>src/Illuminate/Database/Console/Migrations/MigrateCommand.php <ide> public function fire() <ide> // we will use the path relative to the root of this installation folder <ide> // so that migrations may be run for any path within the applications. <ide> if (! is_null($path = $this->inp...
8
Text
Text
use https clone url for docker/docker in arm.md
cddd28817001bc07104bf7f3481b6e74fd43caa9
<ide><path>project/ARM.md <ide> The Makefile does include logic to determine on which OS and architecture the Do <ide> Based on OS and architecture it chooses the correct Dockerfile. <ide> For the ARM 32bit architecture it uses `Dockerfile.armhf`. <ide> <del>So for example in order to build a Docker binary one has to ...
1
Text
Text
update tf install link
5ca1ef4900c75cbab20b1a6e43d55a99839eec8e
<ide><path>im2txt/README.md <ide> Oriol Vinyals, Alexander Toshev, Samy Bengio, Dumitru Erhan. <ide> Full text available at: http://arxiv.org/abs/1609.06647 <ide> <ide> ## Contact <del>***Author:*** Chris Shallue (shallue@google.com). <add>***Author:*** Chris Shallue <ide> <del>***Pull requests and issues:*** @cshall...
1
Javascript
Javascript
convert `src/core/jpg.js` to use standard classes
69dea39a42463d4fac4235853ce781f82f2fe23b
<ide><path>src/core/jpg.js <ide> class EOIMarkerError extends BaseException {} <ide> * (partners.adobe.com/public/developer/en/ps/sdk/5116.DCT_Filter.pdf) <ide> */ <ide> <del>const JpegImage = (function JpegImageClosure() { <del> // prettier-ignore <del> const dctZigZag = new Uint8Array([ <add>// prettier-ignore...
1
Go
Go
remove job from history api
5c7c3fea6caf43d51344faaf190b869db1b44f46
<ide><path>api/server/server.go <ide> func getImagesHistory(eng *engine.Engine, version version.Version, w http.Respon <ide> return fmt.Errorf("Missing parameter") <ide> } <ide> <del> var job = eng.Job("history", vars["name"]) <del> streamJSON(job, w, false) <del> <del> if err := job.Run(); err != nil { <add> name ...
4
Javascript
Javascript
fix instagram email
a5e1830d5fa9d2292c1624b5d999f60309ba1063
<ide><path>config/passport.js <ide> passport.use(new InstagramStrategy(secrets.instagram,function(req, accessToken, <ide> // Similar to Twitter API, assigns a temporary e-mail address <ide> // to get on with the registration process. It can be changed later <ide> // to a valid e-mail address in Profil...
2
Text
Text
add bridgear to collaborators
e9c026369628834a806e36b42780db44a5017613
<ide><path>README.md <ide> more information about the governance of the Node.js project, see <ide> **Ben Noordhuis** &lt;info@bnoordhuis.nl&gt; <ide> * [brendanashworth](https://github.com/brendanashworth) - <ide> **Brendan Ashworth** &lt;brendan.ashworth@me.com&gt; <add>* [BridgeAR](https://github.com/BridgeAR) - <add...
1
Text
Text
kick travis into action
c07cdbdaca16e226c2e042443994a7579964faf3
<ide><path>README.md <ide> OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. <ide> [markdown]: http://pypi.python.org/pypi/Markdown/ <ide> [pyyaml]: http://pypi.python.org/pypi/PyYAML <ide> [django-filter]: http://pypi.python.org/pypi/django-filter <del>
1
Javascript
Javascript
add fallback shim for abortcontroller
8dcedba15a4a0f5545e3b386355000208884b24f
<ide><path>packages/react-dom/src/__tests__/ReactDOMFizzServerBrowser-test.js <ide> // Polyfills for test environment <ide> global.ReadableStream = require('web-streams-polyfill/ponyfill/es6').ReadableStream; <ide> global.TextEncoder = require('util').TextEncoder; <del>global.AbortController = require('abort-controller...
4
PHP
PHP
fix failing tests
fa8298dd83e4cc3c41c97933563676b98ac12b06
<ide><path>Cake/Test/TestCase/ORM/Association/HasManyTest.php <ide> public function testEagerLoaderWithDefaults() { <ide> ->will($this->returnValue($query)); <ide> <ide> $query->expects($this->once())->method('andWhere') <del> ->with(['Article.author_id in' => $keys]) <add> ->with(['Article.author_id IN' => $...
1
Text
Text
add draft of "consolidate core atom packages" rfc
6479e7f6c01117fb0d8e76abf26b48c06a560800
<ide><path>docs/rfcs/003-consolidate-core-packages.md <add># Consolidate Core Atom Packages <add> <add>## Status <add> <add>Proposed <add> <add>## Summary <add> <add>Atom's official distribution is comprised of 91 core packages which provide its built-in functionality. These packages currently live in their own indepe...
1
Text
Text
fix typo in actionpack changelog [ci skip]
4824971f36a92ca152d618aac5a4e8a5dd54422d
<ide><path>actionpack/CHANGELOG.md <ide> *Edouard Chin* <ide> <ide> * Allow `ActionController::Parameters` instances as an argument to URL <del> helper methods. An `ArguemntError` will be raised if the passed parameters <add> helper methods. An `ArgumentError` will be raised if the passed parameters <ide> ...
1
Javascript
Javascript
convert var to let/const
2decfe97dc74b580f2b6e4b0af38c43708773cc6
<ide><path>packages/events/EventPluginHub.js <ide> import type {AnyNativeEvent} from './PluginModuleType'; <ide> * Internal queue of events that have accumulated their dispatches and are <ide> * waiting to have their dispatches executed. <ide> */ <del>var eventQueue: ?(Array<ReactSyntheticEvent> | ReactSyntheticEven...
14
Text
Text
remove info for deprecated database switching
dfb4c1114baa2a8b196b33a1cddb303bb49c7a83
<ide><path>guides/source/active_record_multiple_databases.md <ide> The "role" in the `connected_to` call looks up the connections that are connecte <ide> connection handler (or role). The `reading` connection handler will hold all the connections <ide> that were connected via `connects_to` with the role name of `readin...
1
Javascript
Javascript
allow deeper trees
fdaefc1103f1d1d8c7fb7c2d428a20990383ff91
<ide><path>src/renderers/shared/reconciler/ReactInstanceHandles.js <ide> var SEPARATOR_LENGTH = SEPARATOR.length; <ide> /** <ide> * Maximum depth of traversals before we consider the possibility of a bad ID. <ide> */ <del>var MAX_TREE_DEPTH = 100; <add>var MAX_TREE_DEPTH = 10000; <ide> <ide> /** <ide> * Creates a D...
1
Text
Text
add uv_threadpool_size link definition
0ff0c70e44581ebff6327a9f95e3d49a6ec1609d
<ide><path>doc/api/zlib.md <ide> Decompress a chunk of data with [Unzip][]. <ide> [Inflate]: #zlib_class_zlib_inflate <ide> [Memory Usage Tuning]: #zlib_memory_usage_tuning <ide> [Unzip]: #zlib_class_zlib_unzip <add>[`UV_THREADPOOL_SIZE`]: cli.html#cli_uv_threadpool_size_size <ide> [options]: #zlib_class_options <ide> ...
1
Javascript
Javascript
relax chunk count expectations
cc26957cc30d89619d3b9be85f5301111e17615a
<ide><path>test/parallel/test-fs-read-stream-concurrent-reads.js <ide> const fs = require('fs'); <ide> const filename = fixtures.path('loop.js'); // Some small non-homogeneous file. <ide> const content = fs.readFileSync(filename); <ide> <del>const N = 1000; <add>const N = 2000; <ide> let started = 0; <ide> let done =...
1
Javascript
Javascript
remove unnecessary xss check introduced by
c7488c7dd5ea697facc96202417cd1c4363a4ee7
<ide><path>lib/helpers/isURLSameOrigin.js <ide> 'use strict'; <ide> <ide> var utils = require('./../utils'); <del>var isValidXss = require('./isValidXss'); <ide> <ide> module.exports = ( <ide> utils.isStandardBrowserEnv() ? <ide> module.exports = ( <ide> function resolveURL(url) { <ide> var href = url...
4
Javascript
Javascript
add api to get a view's client rects
89da7c29a1a46c9fd31b1c68f44ad77310139d20
<ide><path>packages/ember-views/lib/main.js <ide> Ember Views <ide> import Ember from "ember-runtime"; <ide> import jQuery from "ember-views/system/jquery"; <ide> import { <del> isSimpleClick <add> isSimpleClick, <add> getViewClientRects, <add> getViewBoundingClientRect <ide> } from "ember-views/system/utils"; <ide...
3
PHP
PHP
add shell in the option list
9e3da12b073398db5a30d5920a4abc264fc69169
<ide><path>src/Shell/Task/TestTask.php <ide> public function getOptionParser() { <ide> 'Helper', 'helper', <ide> 'Component', 'component', <ide> 'Behavior', 'behavior', <add> 'Shell', 'shell', <ide> 'Cell', 'cell', <ide> ] <ide> ])->addArgument('name', [
1
Go
Go
add check for empty list not producing an error
1a7ffe4fe45642c7482e206e15ae50eeba85e02a
<ide><path>integration/secret/secret_test.go <ide> func TestSecretList(t *testing.T) { <ide> defer c.Close() <ide> ctx := context.Background() <ide> <add> configs, err := c.SecretList(ctx, types.SecretListOptions{}) <add> assert.NilError(t, err) <add> assert.Check(t, is.Equal(len(configs), 0)) <add> <ide> testName0...
1
Javascript
Javascript
remove unreachable execsync() code
dd13d71eb3ee34d84ca9059d40616bd0b44ca0ed
<ide><path>lib/child_process.js <ide> exports.execFileSync = execFileSync; <ide> <ide> function execSync(command /*, options*/) { <ide> var opts = normalizeExecArgs.apply(null, arguments); <del> var inheritStderr = opts.options ? !opts.options.stdio : true; <add> var inheritStderr = !opts.options.stdio; <ide> <id...
1
Ruby
Ruby
add missing information about attributes method
ae8070e21be405331a1ad97f59c4e43d45f10eb3
<ide><path>activemodel/lib/active_model/attribute_methods.rb <ide> class MissingAttributeError < NoMethodError <ide> # A minimal implementation could be: <ide> # <ide> # class Person <del> # <ide> # include ActiveModel::AttributeMethods <ide> # <ide> # attribute_method_affix :prefix => ...
1
PHP
PHP
specify behavior of configrequest more precisely
f4a423e880f66ed3610fdaf20b31fe42d1cae4c8
<ide><path>src/TestSuite/IntegrationTestTrait.php <ide> public function enableRetainFlashMessages(): void <ide> * <ide> * You can call this method multiple times to append into <ide> * the current state. <add> * Sub-keys like 'headers' will be reset, though. <ide> * <ide> * @param array $da...
1
Javascript
Javascript
force the latest version of selenium
ed4a1fddce0c7e2f756b07e8be348320ae29de6b
<ide><path>karma-shared.conf.js <ide> module.exports = function(config, specificOptions) { <ide> // SauceLabs config for local development. <ide> sauceLabs: { <ide> testName: specificOptions.testName || 'AngularJS', <del> startConnect: true <add> startConnect: true, <add> options: { <add> ...
1
Ruby
Ruby
move documentation around a bit
fe9773414a29317ac8fa6c0c911bb88eb2819f40
<ide><path>activerecord/lib/active_record/enum.rb <ide> module ActiveRecord <ide> # Declare an enum attribute where the values map to integers in the database, but can be queried by name. Example: <ide> # <ide> # class Conversation < ActiveRecord::Base <del> # enum status: [:active, :archived] <del> # <de...
1
Ruby
Ruby
fix typo in implicit_render
9cb7a22811a72ee69d236d05bf17bc30de863e50
<ide><path>actionpack/lib/action_controller/metal/implicit_render.rb <ide> def default_render(*args) <ide> "action but none of them were suitable for this request.\n\n" \ <ide> "This usually happens when the client requested an unsupported format " \ <ide> "(e.g. requesting HTML content fr...
1
Javascript
Javascript
add "location" param to `open()`
52606171bfa837071c2c18ceeae9bc316b110475
<ide><path>spec/workspace-spec.js <ide> describe('Workspace', () => { <ide> }) <ide> <ide> it('constructs the view with the same panes', () => { <del> const getRightDockActivePane = () => atom.workspace.getRightDock().getActivePane() <ide> const pane1 = atom.workspace.getRightDock().getActiv...
2
Java
Java
add constructors to messagehandlingexception
0e7b94f9e906b6944ef17c33eb4e4f0e04d403e6
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/MessageHandlingException.java <ide> /* <del> * Copyright 2002-2013 the original author or authors. <add> * Copyright 2002-2014 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> ...
1
Mixed
Javascript
use samevaluezero in deepstrictequal
ea2e6363f221c1c6ca5b04b295bd6d17ecca355b
<ide><path>doc/api/assert.md <ide> parameter is undefined, a default error message is assigned. <ide> <!-- YAML <ide> added: v1.2.0 <ide> changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/15036 <add> description: NaN is now compared using the [SameValueZero][] comparison. <ide...
3
Text
Text
update the challenge helpers
c23043ffd2ea77cdace1018221ab96c70cfbc87d
<ide><path>docs/how-to-work-on-practice-projects.md <ide> If you want to create new steps, the following tools simplify that process. <ide> <ide> ## create-next-step <ide> <del>A one-off script that will automatically add the next step based on the last step in the project. The challenge seed code will use the previo...
1
Text
Text
fix punctuation and wrapping in buffer.md
08155554bce6351d399c1a5e88f5007bf3255ac1
<ide><path>doc/api/buffer.md <ide> changes: <ide> uint32 anymore. <ide> --> <ide> <del>* `offset` {integer} Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. <add>* `offset` {integer} Number of bytes to skip before starting to read. Must <add> satisfy `0 ...
1
Text
Text
remove doc proposal
9f67978513aef3dfab7e9d2ca96a55481123323a
<ide><path>docs/proposals/atom-docs.md <del>## Atom Documentation Format <del> <del>This document describes our documentation format, which is markdown with <del>a few rules. <del> <del>### Philosophy <del> <del>1. Method and argument names **should** clearly communicate its use. <del>1. Use documentation to enhance an...
1
Python
Python
fix py3k compat with functools.reduce
fd4a66cfc7888775d20b18665d63156cf3dae13a
<ide><path>rest_framework/filters.py <ide> returned by list views. <ide> """ <ide> from __future__ import unicode_literals <del> <ide> from django.db import models <ide> from rest_framework.compat import django_filters <add>from functools import reduce <ide> import operator <ide> <ide> FilterSet = django_filters and d...
1
PHP
PHP
run schedule after booting app
6a9aa29278e13274549d8205f2b21a2d2cb70e98
<ide><path>src/Illuminate/Foundation/Console/Kernel.php <ide> public function __construct(Application $app, Dispatcher $events) <ide> { <ide> $this->app = $app; <ide> $this->events = $events; <del> $this->defineConsoleSchedule(); <add> <add> $this->app->booted(function() <add> { <add> $this->defineConsoleSche...
1
Text
Text
add fspromises.readfile() example
624dadb00706a9fc08f919ac72941cdaba7e3ec9
<ide><path>doc/api/fs.md <ide> platform-specific. On macOS, Linux, and Windows, the promise will be rejected <ide> with an error. On FreeBSD, a representation of the directory's contents will be <ide> returned. <ide> <add>An example of reading a `package.json` file located in the same directory of the <add>running cod...
1
Javascript
Javascript
use standard for instead for of
2c32a6f18961904cfb8366e48ed56db984571928
<ide><path>examples/js/loaders/GLTFLoader.js <ide> THREE.GLTFLoader = ( function () { <ide> <ide> var keys = Object.keys( attributes ).sort(); <ide> <del> for ( var key of keys ) { <add> for ( var i = 0, il = keys.length; i < il; i ++ ) { <ide> <del> attributesKey += key + attributes[ key ]; <add> attributes...
1
Javascript
Javascript
add missing jsdocs for pdfjs globals
7ebec6c5a447a66e3b0cc1cf814139dc7207a47b
<ide><path>src/display/api.js <ide> PDFJS.maxImageSize = PDFJS.maxImageSize === undefined ? -1 : PDFJS.maxImageSize; <ide> * @var {Boolean} <ide> */ <ide> PDFJS.disableFontFace = PDFJS.disableFontFace === undefined ? <del> false : <del> PDFJS.disableFontFace; <add> ...
1
Python
Python
remove changes introduced as part of libcloud-278
0f75f5d76a9f3beb42ed92f03fa6bc208125e8a5
<ide><path>libcloud/compute/ssh.py <ide> def delete(self, path): <ide> sftp.close() <ide> <ide> def run(self, cmd): <del> if cmd[0] != '/': <del> # If 'cmd' based on relative path, <del> # set the absoute path joining the HOME path <del> sftp = self.client.open_sftp(...
2
Ruby
Ruby
add python27 dependency
31ed0d6505f26d70350d348980f477e3a66440d9
<ide><path>Library/Homebrew/requirements.rb <ide> class GitDependency < Requirement <ide> default_formula 'git' <ide> satisfy { which('git') } <ide> end <add> <add>class Python27Dependency < Requirement <add> fatal true <add> default_formula 'python' <add> satisfy do <add> # Note that python -V outputs to std...
1
Javascript
Javascript
fix common.pipe path bug
8e268c70dd5b5d98658544a5d46cd8d8d4b17481
<ide><path>test/common/index.js <ide> Object.defineProperty(exports, 'hasFipsCrypto', { <ide> const localRelative = path.relative(process.cwd(), `${exports.tmpDir}/`); <ide> const pipePrefix = exports.isWindows ? '\\\\.\\pipe\\' : localRelative; <ide> const pipeName = `node-test.${process.pid}.sock`; <del> expor...
1
Javascript
Javascript
increase test-crypto.js strictness
e21126d20f10b319593b755312dea13cd39f048a
<ide><path>test/parallel/test-crypto.js <ide> assert.throws(function() { <ide> }, /^TypeError: Data must be a string or a buffer$/); <ide> <ide> <del>function assertSorted(list) { <add>function validateList(list) { <add> // The list must not be empty <add> assert(list.length > 0); <add> <add> // The list should be...
1
Javascript
Javascript
add missing var
e283a95ab5c629ed9cc4c15d9ffda92006d4bfd5
<ide><path>packages/sproutcore-views/lib/views/view.js <ide> SC.View = SC.Object.extend( <ide> // Normalize property path to be suitable for use <ide> // as a class name. For exaple, content.foo.barBaz <ide> // becomes bar-baz. <del> parts = property.split('.'); <add> var parts = property.sp...
1
Javascript
Javascript
improve the code in test-fs-read-stream
7a46b992d292654c093639df3605e818827026b6
<ide><path>test/parallel/test-fs-read-stream-fd.js <ide> const common = require('../common'); <ide> const fs = require('fs'); <ide> const assert = require('assert'); <ide> const path = require('path'); <del>var file = path.join(common.tmpDir, '/read_stream_fd_test.txt'); <del>var input = 'hello world'; <del>var output ...
1
Go
Go
add regression test
e592f1b298c778d0b9adfd6751f5fe1843a7001d
<ide><path>server.go <ide> func (srv *Server) deleteImage(img *Image, repoName, tag string) ([]APIRmi, erro <ide> parsedRepo := strings.Split(repoAndTag, ":")[0] <ide> if strings.Contains(img.ID, repoName) { <ide> repoName = parsedRepo <del> if len(strings.Split(repoAndTag, ":")) > 1 { <add> if len(srv....
2
Java
Java
fix custom config with older httpclient
7a6ec6952357d23b3f17694236a253f385b14e10
<ide><path>spring-web/src/main/java/org/springframework/http/client/HttpComponentsClientHttpRequest.java <ide> public URI getURI() { <ide> return this.httpRequest.getURI(); <ide> } <ide> <add> HttpContext getHttpContext() { <add> return httpContext; <add> } <ide> <ide> @Override <ide> protected ClientHttpRespon...
3
Text
Text
change my site address
2b34e67af7a9481595dd3fd78ed39469236e9d03
<ide><path>docs/Kickstarter-Supporters.md <ide> These wonderful people supported our Kickstarter by giving us £10 or more: <ide> * [Andrew Brown](http://pvalu.es) <ide> * [Bethany Sumner](http://www.bethanysumner.com/) <ide> * [Orta](http://orta.io) <del>* [Michał Gołębiowski](https://mgol.eu) <add>* [Michał Gołębiowsk...
1
Text
Text
update required compiler level for aix
94596560c2556fae614ef237ed0ff2f749b14651
<ide><path>BUILDING.md <ide> Depending on host platform, the selection of toolchains may vary. <ide> * GCC 4.9.4 or newer <ide> * Clang 3.4.2 or newer <ide> <add>#### AIX <add>* GCC 6.3 or newer <add> <ide> #### Windows <ide> <ide> * Visual Studio 2017 or the Build Tools thereof
1
Text
Text
add note about rewrites query updating
7cd9ffc519c7b81f198dc6171c4c59418c5f15f3
<ide><path>docs/api-reference/next.config.js/rewrites.md <ide> module.exports = { <ide> } <ide> ``` <ide> <add>Note: for static pages from the [Automatic Static Optimization](/docs/advanced-features/automatic-static-optimization.md) or [prerendering](/docs/basic-features/data-fetching.md#getstaticprops-static-generati...
1
Go
Go
check content type along with content length
8266c381d62a0790c489e27cc93ed8f4618d03c7
<ide><path>api/server/server.go <ide> func postContainersStart(eng *engine.Engine, version version.Version, w http.Res <ide> ) <ide> <ide> // allow a nil body for backwards compatibility <del> if r.Body != nil { <add> if r.Body != nil && r.ContentLength > 0 { <ide> if !api.MatchesContentType(r.Header.Get("Content-...
1
Ruby
Ruby
remove marshal support from schemacache
65f2eeaaf5774f0891fff700f4defb0b90a05789
<ide><path>activerecord/lib/active_record/connection_adapters/schema_cache.rb <ide> def clear_data_source_cache!(name) <ide> @data_sources.delete name <ide> end <ide> <del> def marshal_dump <del> # if we get current version during initialization, it happens stack over flow. <del> @vers...
2
Ruby
Ruby
add the class name to the assertion message
f8964bd546b925fda49aa4dc76f14acf7bf84022
<ide><path>activesupport/test/core_ext/duplicable_test.rb <ide> def test_duplicable <ide> end <ide> <ide> RAISE_DUP.each do |v| <del> assert_raises(TypeError) do <add> assert_raises(TypeError, v.class.name) do <ide> v.dup <ide> end <ide> end
1
Ruby
Ruby
raise a useful exception for incomplete formulae
a05bb488073cc8974d263576ca61706c76e110d0
<ide><path>Library/Homebrew/formula.rb <ide> def determine_active_spec <ide> when @head && ARGV.build_head? then @head # --HEAD <ide> when @devel && ARGV.build_devel? then @devel # --devel <ide> when @bottle && install_bottle?(self) then @bottle # bottle available <add> when @stable ...
2
Go
Go
fix deadlock on plugin shutdown
4d009084de8cad94a180130eb57efa2a98df6d98
<ide><path>integration-cli/docker_cli_daemon_experimental_test.go <ide> func (s *DockerDaemonSuite) TestDaemonRestartWithPluginEnabled(c *check.C) { <ide> c.Assert(out, checker.Contains, "true") <ide> } <ide> <del>// TestDaemonRestartWithPluginEnabled tests state restore for a disabled plugin <add>// TestDaemonRestar...
2
Python
Python
fix dict_keys equality test for python 3
613df5c6501f715c0775229f34fcba9f4291c05d
<ide><path>rest_framework/utils/mediatypes.py <ide> def precedence(self): <ide> return 0 <ide> elif self.sub_type == '*': <ide> return 1 <del> elif not self.params or self.params.keys() == ['q']: <add> elif not self.params or list(self.params.keys()) == ['q']: <ide> ...
1
Java
Java
update copyright header
991eb4858e48535c04fe2cc42ed7778fdb2ed965
<ide><path>spring-beans/src/main/java/org/springframework/beans/factory/support/PropertiesBeanDefinitionReader.java <ide> /* <del> * Copyright 2002-2017 the original author or authors. <add> * Copyright 2002-2018 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "Lice...
18
Python
Python
remove redundent function in backtracking sudoku
c824b90ead698da4f10ac38e431844d96af109b6
<ide><path>backtracking/sudoku.py <ide> def is_safe(grid: Matrix, row: int, column: int, n: int) -> bool: <ide> return True <ide> <ide> <del>def is_completed(grid: Matrix) -> bool: <del> """ <del> This function checks if the puzzle is completed or not. <del> it is completed when all the cells are assigne...
1
Javascript
Javascript
add key to footer wrapper in windowedlistview
58db9f399633a18a5ef0119a52dbbadb15b3dff4
<ide><path>Libraries/Experimental/WindowedListView.js <ide> class WindowedListView extends React.Component { <ide> lastRow === this.props.data.length - 1; <ide> if (this.props.renderFooter) { <ide> rows.push( <del> <View style={showFooter ? styles.include : styles.remove}> <add> <View <a...
1
Python
Python
implement ldap authentication
6ea9e9fa98c0fbd391a8b33e79e1267687570223
<ide><path>airflow/__init__.py <ide> import os <ide> import sys <ide> <del>from airflow.configuration import conf, AirflowConfigException <add>import airflow.configuration <add> <ide> from airflow.models import DAG <ide> from flask.ext.admin import BaseView <ide> from importlib import import_module <ide> from airflow....
9
Go
Go
move top job
812798a7d6659178300d00c470a19c7fe5e68d1c
<ide><path>api.go <ide> func getContainersTop(srv *Server, version float64, w http.ResponseWriter, r *ht <ide> if err := parseForm(r); err != nil { <ide> return err <ide> } <del> procsStr, err := srv.ContainerTop(vars["name"], r.Form.Get("ps_args")) <del> if err != nil { <del> return err <del> } <del> return write...
2
Text
Text
use serial comma in report docs
3d0a0b6825972dd690aff1896f219c0bcfdcdb14
<ide><path>doc/api/report.md <ide> Node.js report completed <ide> <ide> When a report is written, start and end messages are issued to stderr <ide> and the filename of the report is returned to the caller. The default filename <del>includes the date, time, PID and a sequence number. The sequence number helps <add>incl...
1
Java
Java
add getqueryparams to serverhttprequest
a7f32cd5280f78848017538cd824fc57122f6ce0
<ide><path>spring-web-reactive/src/main/java/org/springframework/http/server/reactive/AbstractServerHttpRequest.java <ide> <ide> import java.net.URI; <ide> import java.net.URISyntaxException; <del>import java.util.List; <del>import java.util.Map; <add>import java.util.regex.Matcher; <add>import java.util.regex.Pattern...
4
Go
Go
add experimental docker stack commands
71104bb592dc98467d3828394eabcbe50ca22ae4
<ide><path>api/client/bundlefile/bundlefile.go <add>// +build experimental <add> <add>package bundlefile <add> <add>import ( <add> "encoding/json" <add> "io" <add> "os" <add>) <add> <add>// Bundlefile stores the contents of a bundlefile <add>type Bundlefile struct { <add> Version string <add> Services map[string]Servi...
13
Javascript
Javascript
change formatmessage parameter to getstack
9993fdd957248beb8950cb3a6986ddcff7437ea0
<ide><path>src/isomorphic/classic/types/checkPropTypes.js <ide> var loggedTypeFailures = {}; <ide> * @param {object} values Runtime values that need to be type-checked <ide> * @param {string} location e.g. "prop", "context", "child context" <ide> * @param {string} componentName Name of the component for error messag...
2
Javascript
Javascript
add additional test case for css order in dev
906da4c9ec76c0f75b3d7301cf23b3ab6131cb5e
<ide><path>test/integration/css/test/index.test.js <ide> describe('CSS Support', () => { <ide> ) <ide> expect(currentColor).toMatchInlineSnapshot(`"rgb(0, 0, 255)"`) <ide> }) <add> <add> it('should have the correct color (css ordering) during hot reloads', async () => { <add> let browser <add> ...
1
Java
Java
use fixed gmt time-zone for websession clock
ba3a12e4ccadb561603869dd208629296d6a6473
<ide><path>spring-web/src/main/java/org/springframework/web/server/session/DefaultWebSessionManager.java <ide> <ide> import java.time.Clock; <ide> import java.time.Instant; <add>import java.time.ZoneId; <ide> import java.util.List; <ide> import java.util.UUID; <ide> <ide> public class DefaultWebSessionManager impleme...
1
Text
Text
add changelog entry for 3110cae [ci skip]
f1e625f85385f820ea69b092fe1d5d241c4f4c41
<ide><path>activejob/CHANGELOG.md <add>* Allow passing multiple exceptions to `retry_on`, and `discard_on`. <add> <add> *George Claghorn* <add> <ide> * Pass the error instance as the second parameter of block executed by `discard_on`. <ide> <ide> Fixes #32853.
1
Text
Text
update docs with minimum node version 14.x
df35cf32d4ec454ad8cbe62ebc7c6ad164479a1b
<ide><path>docs/getting-started.md <ide> If you have questions about anything related to Next.js, you're always welcome t <ide> <ide> #### System Requirements <ide> <del>- [Node.js 12.22.0](https://nodejs.org/) or later <add>- [Node.js 14.0.0](https://nodejs.org/) or newer <ide> - MacOS, Windows (including WSL), and ...
2
Ruby
Ruby
push arg checking up
960398cb261ba1a1ee331d79976be486f957cd78
<ide><path>actionpack/lib/action_dispatch/http/url.rb <ide> def extract_subdomain(host, tld_length = @@tld_length) <ide> end <ide> <ide> def url_for(options) <add> unless options[:host] || options[:only_path] <add> raise ArgumentError, 'Missing host to link to! Please provide the :h...
1
Javascript
Javascript
save window options when opening a window
ab1bc2e173b762018e0b50e7f38983f2edaf9eff
<ide><path>src/main-process/atom-application.js <ide> class AtomApplication extends EventEmitter { <ide> window.browserWindow.removeListener('blur', blurHandler) <ide> }) <ide> window.browserWindow.webContents.once('did-finish-load', blurHandler) <add> this.saveCurrentWindowOptions(false) <ide>...
1
Javascript
Javascript
add continuous build
8ef676c18f0805b6868c6b44623f35bcd1811870
<ide><path>Gruntfile.js <ide> module.exports = function(grunt) { <ide> return !s_ignoreRE.test(filename); <ide> } <ide> <add> const s_isMdRE = /\.md$/i; <add> function mdsOnly(filename) { <add> return s_isMdRE.test(filename); <add> } <add> <ide> function notFolder(filename) { <ide> return !fs.statSyn...
2
PHP
PHP
add webp to image validation rule
0ecc2589023f8d0b51353c2cdd04f683342e1a61
<ide><path>src/Illuminate/Validation/Concerns/ValidatesAttributes.php <ide> public function validateLte($attribute, $value, $parameters) <ide> */ <ide> public function validateImage($attribute, $value) <ide> { <del> return $this->validateMimes($attribute, $value, ['jpeg', 'png', 'gif', 'bmp', 'svg']...
2
Javascript
Javascript
update styles on build indicator container
ca85cc9973e4e90419bc5062e0d1803deca064f3
<ide><path>packages/next/client/dev-build-watcher.js <ide> export default function initializeBuildWatcher () { <ide> let shadowRoot <ide> let prefix = '' <ide> <add> // Make sure container is fixed and on a high zIndex so it shows <add> shadowHost.style.position = 'fixed' <add> shadowHost.style.bottom = '10px' ...
1
Javascript
Javascript
remove `flushdiscreteupdates` from end of event
78120032d4ca7ee8611d630d7c67e7808885dfe9
<ide><path>packages/react-dom/src/__tests__/ReactDOMNestedEvents-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> * @emails react-core <a...
7
Javascript
Javascript
combine register and cache methods
b5f7c9e2d526b17b9962976bb704dce8779d7362
<ide><path>src/data/Data.js <ide> Data.uid = 1; <ide> <ide> Data.prototype = { <ide> <del> register: function( owner ) { <del> var value = {}; <del> <del> // If it is a node unlikely to be stringify-ed or looped over <del> // use plain assignment <del> if ( owner.nodeType ) { <del> owner[ this.expando ] = value...
1
Text
Text
remove extra 10
48a00493502b41fa1b5a12cfc6f7a6918650fb03
<ide><path>docs/guides/setup.md <ide> You can download the Video.js source and host it on your own servers, or use the <ide> <ide> ### CDN Version ### <ide> ```html <del><link href="//vjs.zencdn.net/4.10.10.0/video-js.css" rel="stylesheet"> <del><script src="//vjs.zencdn.net/4.10.10.0/video.js"></script> <add><link hr...
1
Java
Java
report errors from onerror to plugin when done
7791076a21d8b3d4462b320188f8263da59f2c0e
<ide><path>src/main/java/io/reactivex/internal/operators/flowable/FlowableAny.java <ide> */ <ide> package io.reactivex.internal.operators.flowable; <ide> <add>import io.reactivex.plugins.RxJavaPlugins; <ide> import org.reactivestreams.*; <ide> <ide> import io.reactivex.exceptions.Exceptions; <ide> public void onNext...
23
Javascript
Javascript
clear the meta cache without using observers
d6b061a3fd303e665ab506e836691421ea1a3ead
<ide><path>packages/ember-views/lib/views/view.js <ide> var get = Ember.get, set = Ember.set; <ide> var guidFor = Ember.guidFor; <ide> var a_forEach = Ember.EnumerableUtils.forEach; <ide> var a_addObject = Ember.EnumerableUtils.addObject; <add>var meta = Ember.meta; <ide> <ide> var childViewsProperty = Ember.computed(...
1
PHP
PHP
move shared code down to driver
f13f32fa4a3b341d804e394e556a61e7476b67b2
<ide><path>lib/Cake/Database/Driver.php <ide> public function supportsQuoting() { <ide> return true; <ide> } <ide> <add>/** <add> * Escapes values for use in schema definitions. <add> * <add> * @param mixed $value The value to escape. <add> * @return string String for use in schema definitions. <add> */ <add> publi...
3
Python
Python
add tests for the new `generic` constructors
4d931c5a158f8c98eef87d2d35b4e91aa93d9a69
<ide><path>numpy/tests/typing/pass/scalars.py <add>import datetime as dt <ide> import numpy as np <ide> <ide> <ide> # Construction <add>class D: <add> def __index__(self) -> int: <add> return 0 <add> <add> <ide> class C: <del> def __complex__(self): <add> def __complex__(self) -> complex: <ide> ...
1
Javascript
Javascript
test privateencrypt/publicdecrypt + padding
2fed83dee884c3bddafa67bb53abf507db1a8ba3
<ide><path>test/parallel/test-crypto-rsa-dsa.js <ide> const decryptError = { <ide> }, encryptedBuffer); <ide> assert.strictEqual(decryptedBufferWithPassword.toString(), input); <ide> <add> // Now with explicit RSA_PKCS1_PADDING. <add> encryptedBuffer = crypto.privateEncrypt({ <add> padding: crypto.constants.R...
1
Ruby
Ruby
add therubyracer gem commented in default gemfile
94bcdd60eaecd81e243731ac62af56b68f91b9fe
<ide><path>railties/lib/rails/generators/app_base.rb <ide> def assets_gemfile_entry <ide> group :assets do <ide> gem 'sass-rails', :git => 'https://github.com/rails/sass-rails.git' <ide> gem 'coffee-rails', :git => 'https://github.com/rails/coffee-rails.git' <del> ...
2
PHP
PHP
fix record removal from session storage
fa2be1e46ce1af220dd45e40d9ef745540414135
<ide><path>src/Auth/Storage/SessionStorage.php <ide> public function set(array $user) <ide> */ <ide> public function remove() <ide> { <del> unset($this->_user); <add> $this->_user = null; <ide> <ide> $this->_session->delete($this->_config['key']); <ide> $this->_session->renew...
2
Javascript
Javascript
represent cid chars using integers, not strings
adf58ed6870302fd87a8a0fa25f24c0e4e0716e9
<ide><path>src/core/cmap.js <ide> var CMap = (function CMapClosure() { <ide> // where nBytePairs are ranges e.g. [low1, high1, low2, high2, ...] <ide> this.codespaceRanges = [[], [], [], []]; <ide> this.numCodespaceRanges = 0; <add> // Map entries have one of two forms. <add> // - cid chars are 16-bit...
3
Ruby
Ruby
synchronize keg#link and #unlink counts
3822267d2c9981192b909a1fb74d997f536cb579
<ide><path>Library/Homebrew/extend/pathname.rb <ide> def rmdir <ide> $d+=1 <ide> end <ide> def mkpath <add> return if exist? <ide> super <ide> puts "mkpath #{to_s}" if ARGV.verbose? <ide> $d+=1
1
Ruby
Ruby
remove the todo note for arel#lock
aefa975fdde01b1beaacbe065fe4b2bad69295d3
<ide><path>activerecord/lib/active_record/base.rb <ide> def default_select(qualified) <ide> end <ide> <ide> def construct_finder_arel(options = {}, scope = scope(:find)) <del> # TODO add lock to Arel <ide> validate_find_options(options) <ide> <ide> relation = arel_table.
1
Javascript
Javascript
add blacklist to usernames
c2f408fb56937b85e653114e4502dbe0cdcf99c2
<ide><path>common/models/user.js <del>var Rx = require('rx'); <ide> var debug = require('debug')('freecc:user:remote'); <del> <del>function destroyById(id, Model) { <del> return Rx.Observable.create(function(observer) { <del> Model.destroyById(id, function(err) { <del> if (err) { return observer.onError(err); ...
3
Javascript
Javascript
fix typo in comment
6ea749170b6d59b8dfb8bbbb8d05d986099e7830
<ide><path>packages/react-reconciler/src/ReactFiberCompleteWork.new.js <ide> function completeWork( <ide> // Don't count time spent in a timed out Suspense subtree as part of the base duration. <ide> const primaryChildFragment = workInProgress.child; <ide> if (prima...
2
Text
Text
convert inline code tags to markdown
c89c163a0e7df7b29ba33608742eaba09a058090
<ide><path>guides/source/action_controller_overview.md <ide> To send a hash you include the key name inside the brackets: <ide> </form> <ide> ``` <ide> <del>When this form is submitted, the value of +params[:client]+ will be <tt>{"name" => "Acme", "phone" => "12345", "address" => {"postcode" => "12345", "city" => "Car...
25
Javascript
Javascript
fix cache errors
f421d2b0565513e947ceef46e44980fbc9ff86dc
<ide><path>packager/react-packager/src/DependencyResolver/Cache/index.js <ide> class Cache { <ide> .then(values => { <ide> var json = Object.create(null); <ide> Object.keys(data).forEach((key, i) => { <add> if (!values[i]) { <add> return; <add> } <add> <ide> ...
1
PHP
PHP
attach all disk attachments and not only first one
d618cf3326468086ae9ab5ba1ee556be6182a481
<ide><path>src/Illuminate/Mail/Mailable.php <ide> protected function buildDiskAttachments($message) <ide> FilesystemFactory::class <ide> )->disk($attachment['disk']); <ide> <del> return $message->attachData( <add> $message->attachData( <ide> $storage->g...
1
Python
Python
show error if running with -b option on windows
bd4de0302e6c90d634c41f69007caa2a74dc1c7f
<ide><path>celery/apps/worker.py <ide> def __init__(self, concurrency=None, loglevel=None, logfile=None, <ide> self.hostname = hostname or socket.gethostname() <ide> self.discard = discard <ide> self.run_clockservice = run_clockservice <add> if self.app.IS_WINDOWS and self.run_clockservic...
1
Java
Java
fix javadoc formatting issues for headings
508d2c7a77e004afc7eb2f028a2345244c62939b
<ide><path>spring-core/src/main/java/org/springframework/util/AntPathMatcher.java <ide> public Map<String, String> extractUriTemplateVariables(String pattern, String pa <ide> * the first pattern contains a file extension match (e.g., {@code *.html}). <ide> * In that case, the second pattern will be merged into the ...
4
PHP
PHP
fix passedparams with non string scalar values
94de0857f33b20026791e190bb2725a882c88ea4
<ide><path>src/Controller/ControllerFactory.php <ide> protected function getActionArgs(Closure $action, array $passedParams): array <ide> // Use any passed params as positional arguments <ide> if ($passedParams) { <ide> $argument = array_shift($passedParams); <del> ...
2
PHP
PHP
remove unused methods
9a4f743ad67073229d8fa1cec645c62d97265331
<ide><path>src/Illuminate/Database/Query/Builder.php <ide> public function orWhereNotIn($column, $values) <ide> return $this->whereNotIn($column, $values, 'or'); <ide> } <ide> <del> /** <del> * Add a where in with a sub-select to the query. <del> * <del> * @param string $column <del> ...
2