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
remove old drivers
104e138f4dd65e9cd0d4cc6fc6c3f6d5327880af
<ide><path>src/Illuminate/Cache/CacheManager.php <ide> protected function createNullDriver() <ide> return $this->repository(new NullStore); <ide> } <ide> <del> /** <del> * Create an instance of the WinCache cache driver. <del> * <del> * @param array $config <del> * @return \Illuminate\...
1
Javascript
Javascript
add taxfyle to showcase.js (apple "best new app")
d6042cbf2431075b2eaa697dd0c45629a2d8fe6f
<ide><path>website/src/react-native/showcase.js <ide> var featured = [ <ide> link: 'https://itunes.apple.com/us/app/start-medication-manager-for/id1012099928?mt=8', <ide> author: 'Iodine Inc.', <ide> }, <add> { <add> name: 'Taxfyle - taxes filed on-demand via licensed CPA', <add> icon: 'https://s3.amaz...
1
Ruby
Ruby
fix documentation of pathname#existence
223ba6f81de671b11ad3b26728b299ebcc0971b6
<ide><path>activesupport/lib/active_support/core_ext/pathname/existence.rb <ide> class Pathname <ide> # Returns the receiver if the named file exists otherwise returns +nil+. <ide> # <tt>pathname.existence</tt> is equivalent to <ide> # <del> # pathname.existence? ? object : nil <add> # pathname.exists? ? ...
1
Python
Python
fix some typing imports
8ca96b2c949d23dd9fbfc7896845aa79dd2f0181
<ide><path>numpy/_array_api/_array_object.py <ide> from ._creation_functions import asarray <ide> from ._dtypes import _boolean_dtypes, _integer_dtypes, _floating_dtypes <ide> <del>from typing import TYPE_CHECKING <add>from typing import TYPE_CHECKING, Any, Optional, Tuple, Union <ide> if TYPE_CHECKING: <del> from ...
7
Python
Python
update extra_kwargs on model serializer
af08c7024299e837a4b52edfd03f0d675f453a47
<ide><path>rest_framework/serializers.py <ide> def include_extra_kwargs(self, kwargs, extra_kwargs): <ide> if extra_kwargs.get('default') and kwargs.get('required') is False: <ide> kwargs.pop('required') <ide> <del> if kwargs.get('read_only', False): <del> extra_kwargs.pop('requir...
2
Python
Python
fix a typo
3e3bcade231f27a4e1ac3755e2279475009a39cf
<ide><path>libcloud/compute/base.py <ide> def __init__(self, id, name, state, public_ips, private_ips, <ide> :param image: Image of this node. (optional) <ide> :type size: :class:`.NodeImage: <ide> <del> :param extra: Optional provided specific attributes associated with <add> :param extr...
1
PHP
PHP
finish doc blocks
b865abfea9803978f5da51ae42b4fa8b09e3686f
<ide><path>src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php <ide> <ide> class BelongsToManyRelationship <ide> { <add> /** <add> * The related factory instance. <add> * <add> * @var \Illuminate\Database\Eloquent\Factories\Factory <add> */ <ide> protected $factory; <ide> <...
4
Python
Python
drop radix benchmark as it is not included yet
86565347e523951a7bc54658f0b06a258ae2e0a0
<ide><path>benchmarks/benchmarks/bench_function_base.py <ide> def time_select_larger(self): <ide> <ide> class Sort(Benchmark): <ide> params = [ <del> ['quick', 'merge', 'heap', 'radix', None], <add> ['quick', 'merge', 'heap', None], <ide> ['float32', 'int32', 'uint32'] <ide> ] <ide> p...
1
Go
Go
remove meaningless warnings on docker info
615681f5177cef974d516d5814195c768e773dd2
<ide><path>api/client/attach.go <ide> func (cli *DockerCli) CmdAttach(args ...string) error { <ide> <ide> cmd.ParseFlags(args, true) <ide> <del> stream, _, _, err := cli.call("GET", "/containers/"+cmd.Arg(0)+"/json", nil, nil) <add> serverResp, err := cli.call("GET", "/containers/"+cmd.Arg(0)+"/json", nil, nil) <ide...
21
Text
Text
add article for javascript string.valueof()
cc1ebb718d1d10a5eca4f16828ca173bcea3d259
<ide><path>guide/english/javascript/standard-objects/string/string-prototype-valueof/index.md <ide> title: String.prototype.valueOf <ide> --- <ide> ## String.prototype.valueOf <ide> <del>This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/javascript/standard-objects/string/string-prot...
1
PHP
PHP
add addtional options array for memcached
86c7d1ff5ec3d13c6a8f57b331ca363b0f56b6a9
<ide><path>lib/Cake/Cache/Engine/MemcachedEngine.php <ide> class MemcachedEngine extends CacheEngine { <ide> * - serialize = string, default => php. The serializer engine used to serialize data. <ide> * Available engines are php, igbinary and json. Beside php, the memcached extension <ide> * must be compiled ...
2
Javascript
Javascript
remove unnecessary export to make usage clearer.
f3e6545bf5e407262a3b1c062a8761c7da1631d6
<ide><path>examples/with-mobx/store.js <ide> class Store { <ide> } <ide> } <ide> <del>export function initializeStore(initialData = null) { <add>function initializeStore(initialData = null) { <ide> const _store = store ?? new Store() <ide> <ide> // If your page has Next.js data fetching methods that use a Mobx ...
1
Javascript
Javascript
use sortablesets for chunk.parents/blocks
b316bee0a669d2161e5cdcd63460ced2ba2d426c
<ide><path>lib/Chunk.js <ide> class Chunk { <ide> this._modules = new SortableSet(undefined, sortByIdentifier); <ide> this.entrypoints = []; <ide> this._chunks = new SortableSet(undefined, sortById); <del> this.parents = []; <del> this.blocks = []; <add> this._parents = new SortableSet(undefined, sortById); <a...
8
Ruby
Ruby
select correct python
23a38e0ff6beb26f86eca0c56b25d6100375b60d
<ide><path>Library/Homebrew/exceptions.rb <ide> def message <ide> end <ide> end <ide> <add>class FormulaAmbiguousPythonError < RuntimeError <add> def initialize(formula) <add> super <<-EOS.undent <add> The version of python to use with the virtualenv in the `#{formula.full_name}` formula <add> cannot b...
2
PHP
PHP
add a test for testvalidatemimetypes
b5accc88525e592aea50c717ded962bec2938314
<ide><path>tests/Validation/ValidationValidatorTest.php <ide> public function testValidateImage() <ide> $this->assertTrue($v->passes()); <ide> } <ide> <add> public function testValidateMimetypes() <add> { <add> $trans = $this->getRealTranslator(); <add> $uploadedFile = [__FILE__, '', nu...
1
Ruby
Ruby
convert exceptions test to spec
279831fc0e3241eda17b6007aef02299b3c82c9e
<ide><path>Library/Homebrew/test/exceptions_spec.rb <add>require "exceptions" <add> <add>describe MultipleVersionsInstalledError do <add> subject { described_class.new("foo") } <add> its(:to_s) { is_expected.to eq("foo has multiple installed versions") } <add>end <add> <add>describe NoSuchKegError do <add> subject {...
2
Javascript
Javascript
add cli bundle url params
6357931b61f955af5d72f235ad6b43fb897128b8
<ide><path>local-cli/bundle.js <ide> var blacklist = require('../packager/blacklist.js'); <ide> var ReactPackager = require('../packager/react-packager'); <ide> <ide> var OUT_PATH = 'iOS/main.jsbundle'; <add>var URL_PATH = '/index.ios.bundle?dev='; <ide> <ide> function getBundle(flags) { <ide> <ide> function getBund...
1
Ruby
Ruby
add missing require
f9872207564c9c9dd5b4c7ecf02f2387cbceed9a
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> require 'active_support/core_ext/hash/except' <ide> require 'active_support/core_ext/object/blank' <add>require 'active_support/core_ext/enumerable' <ide> require 'active_support/inflector' <ide> require 'action_dispatch/routing/redirection' <ide>
1
Ruby
Ruby
fix meaningless test case
24889666c7eee345f88a588108f38e6d5fe25482
<ide><path>actionpack/test/template/form_helper_test.rb <ide> def test_fields_for_object_with_bracketed_name_and_index <ide> end <ide> <ide> def test_form_builder_does_not_have_form_for_method <del> assert ! ActionView::Helpers::FormBuilder.instance_methods.include?('form_for') <add> assert !ActionView::Help...
1
Ruby
Ruby
remove calls to deprecated methods
9a3e29e126d9daf6175b4d2be50112d1c8771d17
<ide><path>activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb <ide> def delete_records(records) <ide> records.each { |record| @owner.connection.delete(interpolate_sql(sql, record)) } <ide> else <ide> relation = Arel::Table.new(@reflection.options[:join_t...
2
Python
Python
remove billiard c extension maxtasks warning
00405074652222c8ac181c45c1ac5357935cf665
<ide><path>celery/concurrency/prefork.py <ide> from __future__ import absolute_import <ide> <ide> import os <del>import sys <ide> <ide> from billiard import forking_enable <ide> from billiard.pool import RUN, CLOSE, Pool as BlockingPool <ide> #: List of signals to ignore when a child process starts. <ide> WORKER_SIGI...
1
Text
Text
fix some typos in nativecomponentsios.md
0e3d627ff0764508e69b832fbcb5b36d8b0b6fd5
<ide><path>docs/NativeComponentsIOS.md <ide> class MapView extends React.Component { <ide> } <ide> } <ide> <del>var RCTMap= requireNativeComponent('RCTMap', MapView); <add>var RCTMap = requireNativeComponent('RCTMap', MapView); <ide> <ide> MapView.propTypes = { <ide> /** <ide> MapView.propTypes = { <ide> * ang...
1
Ruby
Ruby
remove dummy object#try before aliasing it
95dfcc4f3c4bda74efe220e6dd5a11f58f29a501
<ide><path>activesupport/lib/active_support/core_ext/try.rb <ide> class Object <ide> def try(method, *args, &block) <ide> send(method, *args, &block) <ide> end <add> remove_method :try <ide> alias_method :try, :__send__ <ide> end <ide>
1
Javascript
Javascript
add hyperlinks to github prs for release notes
abb8e44a8efd5c7ea50765d87572eed405b74dad
<ide><path>docs/apache-airflow/static/gh-jira-links.js <ide> */ <ide> <ide> document.addEventListener('DOMContentLoaded', function() { <del> var el = document.getElementById('changelog'); <add> var el = document.getElementById('release-notes'); <ide> if (el !== null ) { <ide> // [AIRFLOW-...] <ide> el.inn...
2
Text
Text
fix typo in contributing guides
5a61ca63b9ef33cd814c703051bc777a6771f205
<ide><path>doc/contributing/releases.md <ide> reflect the newly used value. Ensure that the release commit removes the <ide> `-pre` suffix for the major version being prepared. <ide> <ide> It is current TSC policy to bump major version when ABI changes. If you <del>see a need to bump `NODE_MODULE_VERSION` outside of a...
2
Ruby
Ruby
upload bottles to archive.org
c11692ba780d7a5663aa693107d98d99a83d1050
<ide><path>Library/Homebrew/dev-cmd/pr-pull.rb <ide> def pr_pull_args <ide> description: "Message to include when autosquashing revision bumps, deletions, and rebuilds." <ide> flag "--artifact=", <ide> description: "Download artifacts with the specified name (default: `bottles`)." <add...
1
Javascript
Javascript
fix syntheticevent constructor comments
fa7461e25bb63188bc2a3d2eb5ea085dfc7c5f1a
<ide><path>src/renderers/dom/shared/syntheticEvents/SyntheticClipboardEvent.js <ide> var ClipboardEventInterface = { <ide> * @param {object} dispatchConfig Configuration used to dispatch this event. <ide> * @param {string} dispatchMarker Marker identifying the event target. <ide> * @param {object} nativeEvent Native...
4
Javascript
Javascript
deprecate the 'ini' module
c82d64649c93325392dd0f2d94cdb0de95c90680
<ide><path>lib/ini.js <add>var sys = require('sys'); <add> <add>sys.error('The "ini" module will be removed in future versions of Node, please extract it into your own code.'); <add> <ide> // TODO: <ide> // 1. Handle quoted strings, including line breaks, so that this: <ide> // foo = "bar
1
Python
Python
fix failing tests for azure batch
b609c119f43818f22256d0a43e274ba0ce35b51c
<ide><path>tests/providers/microsoft/azure/operators/test_azure_batch.py <ide> def setUp(self, mock_batch, mock_hook): <ide> batch_pool_vm_size=BATCH_VM_SIZE, <ide> batch_job_id=BATCH_JOB_ID, <ide> batch_task_id=BATCH_TASK_ID, <add> vm_node_agent_sku_id=self.test_node_agen...
1
Text
Text
fix formatting of changelog
b151a81a1a9219a66170340736992d54ad45274e
<ide><path>CHANGELOG.md <ide> Plus es-do locale and locale bugfixes <ide> <ide> ### 2.13.0 [See full changelog](https://gist.github.com/ichernev/0132fcf5b61f7fc140b0bb0090480d49) <ide> - Release April 18, 2016 <add> <ide> ## Enhancements: <ide> * [#2982](https://github.com/moment/moment/pull/2982) Add 'date' as alias ...
1
PHP
PHP
add deferred interface for service providers
36f7df7d589d095cea44d856a597e44d8eeccdf6
<ide><path>src/Illuminate/Contracts/Support/Deferred.php <add><?php <add> <add>namespace Illuminate\Contracts\Support; <add> <add>interface Deferred <add>{ <add> /** <add> * Get the services provided by the provider. <add> * <add> * @return array <add> */ <add> public function provides(); <add>} <...
2
Text
Text
update changelog [ci skip]
2d061c2c4fbd7ed4df9bd3368d94aba736663dab
<ide><path>actionpack/CHANGELOG.md <ide> We often want to render different html/json/xml templates for phones, <ide> tablets, and desktop browsers. Variants make it easy. <ide> <del> The request variant is a specialization of the request format, like :tablet, <del> :phone, or :desktop. <add> The reque...
1
Go
Go
add simple tool to test the deviceset commands
7fb3bfed03d4d2a88f0e76fd6b8425cc753f4547
<ide><path>devmapper/docker-device-tool/device_tool.go <add>package main <add> <add>import ( <add> "fmt" <add> "github.com/dotcloud/docker/devmapper" <add> "os" <add>) <add> <add>func usage() { <add> fmt.Printf("Usage: %s [snap new-id base-id] | [remove id] | [mount id mountpoint]\n", os.Args[0]) <add> os.Exit(1) <add>...
1
Text
Text
change http links to https in windows.md
98121f325ef03857fa24d9c9a315dd903dab63a3
<ide><path>docs/build-instructions/windows.md <del>See the [Hacking on Atom Core](http://flight-manual.atom.io/hacking-atom/sections/hacking-on-atom-core/#platform-windows) section in the [Atom Flight Manual](http://flight-manual.atom.io). <add>See the [Hacking on Atom Core](https://flight-manual.atom.io/hacking-atom/s...
1
Mixed
Ruby
serialize classes and modules with activejob
fbebeabd6d59280c3a8173b58657f755904b02db
<ide><path>activejob/CHANGELOG.md <add>* Allow `Class` and `Module` instances to be serialized. <add> <add> *Kevin Deisz* <add> <ide> * Log potential matches in `assert_enqueued_with` and `assert_performed_with` <ide> <ide> *Gareth du Plooy* <ide><path>activejob/lib/active_job/serializers.rb <ide> module Se...
5
Python
Python
update optimizers for tf2.
544625545afe2e9c2b358e356c11bb8be53ceb51
<ide><path>keras/optimizers.py <ide> <ide> import six <ide> import copy <add>import numpy as np <ide> from six.moves import zip <ide> <ide> from . import backend as K <ide> class SGD(Optimizer): <ide> learning_rate: float >= 0. Learning rate. <ide> momentum: float >= 0. Parameter that accelerates SGD ...
1
Ruby
Ruby
use params default
b8df3a9197252ec62f390ef1f8cd0e0e827c6252
<ide><path>activerecord/lib/active_record/connection_adapters/abstract_adapter.rb <ide> def current_savepoint_name <ide> <ide> protected <ide> <del> def log(sql, name) <del> name ||= "SQL" <add> def log(sql, name = "SQL") <ide> @instrumenter.instrument("sql.active_record", <ide>...
1
Python
Python
fix incorrect use of stringio to handle bytes
01e63f270a39f3b52f6c4c6fa4b72bf46d0c8349
<ide><path>numpy/linalg/lapack_lite/clapack_scrub.py <ide> from __future__ import division, absolute_import, print_function <ide> <ide> import sys, os <del>from io import StringIO <add>from io import BytesIO <ide> import re <ide> from plex import Scanner, Str, Lexicon, Opt, Bol, State, AnyChar, TEXT, IGNORE <ide> from...
1
PHP
PHP
improve error message when route filters fail
0c8ffd001436615916f4b823dabbc0a03c01cc65
<ide><path>src/Routing/Router.php <ide> use Cake\Http\ServerRequest; <ide> use Cake\Routing\Exception\MissingRouteException; <ide> use Cake\Utility\Inflector; <add>use Exception; <ide> use Psr\Http\Message\ServerRequestInterface; <add>use RuntimeException; <add>use Throwable; <ide> <ide> /** <ide> * Parses the reques...
2
PHP
PHP
fix a few request bugs
04f1c04afea8a7fc733e305e33e05411dc316399
<ide><path>src/Illuminate/Foundation/Application.php <ide> public function booted($callback) <ide> * @param \Symfony\Component\HttpFoundation\Request $request <ide> * @return void <ide> */ <del> public function run(SymfonyRequest $request) <add> public function run(SymfonyRequest $request = null) <ide> { <add>...
1
Go
Go
remove job from export
6b737752e342e30dd20417b18c92c9b4e1c4f8da
<ide><path>api/server/server.go <ide> func getContainersExport(eng *engine.Engine, version version.Version, w http.Res <ide> if vars == nil { <ide> return fmt.Errorf("Missing parameter") <ide> } <del> job := eng.Job("export", vars["name"]) <del> job.Stdout.Add(w) <del> if err := job.Run(); err != nil { <del> retur...
3
Go
Go
add zero padding for rfc5424 syslog format
fa6dabf8762da42ce02bf7f484bd6b2621e479d9
<ide><path>daemon/logger/syslog/syslog.go <ide> func rfc5424formatterWithAppNameAsTag(p syslog.Priority, hostname, tag, content <ide> // for multiple syntaxes, there are further restrictions in rfc5424, i.e., the maximum <ide> // resolution is limited to "TIME-SECFRAC" which is 6 (microsecond resolution) <ide> func rfc...
1
Ruby
Ruby
use a case statement in pathname#compression_type
607605dd8fef262b5c382a78eedef43edbdba27e
<ide><path>Library/Homebrew/extend/pathname.rb <ide> def version <ide> end <ide> <ide> def compression_type <del> # Don't treat jars or wars as compressed <del> return nil if self.extname == '.jar' <del> return nil if self.extname == '.war' <del> <del> # OS X installer package <del> return :pkg if s...
1
Text
Text
fix url for jawshooah
ebe50703cad152d73150d3f7701a43f26c7839e1
<ide><path>README.md <ide> This is our PGP key which is valid until May 24, 2017. <ide> ## Who Are You? <ide> Homebrew's lead maintainer is [Mike McQuaid](https://github.com/mikemcquaid). <ide> <del>Homebrew's current maintainers are [Misty De Meo](https://github.com/mistydemeo), [Andrew Janke](https://github.com/apja...
1
Javascript
Javascript
fix apollo example
a81913f1ba019c767da0d876a0b18f2922bd9d5e
<ide><path>examples/with-apollo/lib/apollo.js <ide> import React from 'react' <ide> import App from 'next/app' <add>import Head from 'next/head' <ide> import { ApolloProvider } from '@apollo/react-hooks' <ide> import createApolloClient from '../apolloClient' <ide> <ide> export const withApollo = ({ ssr = false } = {})...
1
Ruby
Ruby
improve error message for invalid regex to search
148da475710b882a17e044153102961919c48477
<ide><path>Library/Homebrew/cmd/search.rb <ide> def query_regexp(query) <ide> when %r{^/(.*)/$} then Regexp.new($1) <ide> else /.*#{Regexp.escape(query)}.*/i <ide> end <add> rescue RegexpError <add> odie "#{query} is not a valid regex" <ide> end <ide> <ide> def search_taps(rx)
1
Python
Python
update absmax.py (#602)
301493094ef1638fae09c24a2fc4880812839e87
<ide><path>Maths/absMax.py <del>from Maths.abs import absVal <del> <ide> def absMax(x): <ide> """ <ide> #>>>absMax([0,5,1,11]) <ide> def absMax(x): <ide> """ <ide> j =x[0] <ide> for i in x: <del> if absVal(i) > absVal(j): <add> if abs(i) > abs(j): <ide> j = i <ide> ret...
1
Text
Text
remove wrong usage in usingdocker.md
f46cf7329507351e107e3a84132f14ed02dc163b
<ide><path>docs/sources/userguide/usingdocker.md <ide> language powering Docker). <ide> <ide> Last stable version: 0.8.0 <ide> <del>### Seeing what the Docker client can do <add>## Get Docker command help <ide> <del>We can see all of the commands available to us with the Docker client by <del>running the `docker...
1
Java
Java
fix flaky tests
9807aae38ce5efdd5a953d297a2ba8da071123fd
<ide><path>src/test/java/io/reactivex/internal/operators/flowable/FlowableConcatTest.java <ide> public void subscribe(Subscriber<? super String> s) { <ide> ts.assertValues("hello", "hello"); <ide> } <ide> <del> @Test(timeout = 10000) <add> @Test(timeout = 30000) <ide> public void testIssue2890NoS...
5
Javascript
Javascript
pass opts to `eventemitter.init`
22792c8632fd17b151aa374c555b66bfc7c2022b
<ide><path>lib/domain.js <ide> Domain.prototype.bind = function(cb) { <ide> EventEmitter.usingDomains = true; <ide> <ide> const eventInit = EventEmitter.init; <del>EventEmitter.init = function() { <add>EventEmitter.init = function(opts) { <ide> ObjectDefineProperty(this, 'domain', { <ide> configurable: true, <id...
3
Javascript
Javascript
eliminate cached placeholdertextvnode
d92e0fc0a10acfaf53e3dd6cd9b88fd35a35acf0
<ide><path>src/text-editor-component.js <ide> class TextEditorComponent { <ide> this.pendingScrollLeftColumn = this.props.initialScrollLeftColumn <ide> <ide> this.measuredContent = false <del> this.placeholderTextVnode = null <del> <ide> this.queryGuttersToRender() <ide> this.queryMaxLineNumberDigit...
1
Ruby
Ruby
use hasandbelongstomany instead of habtm
34c77bcf2dea31decc3a0fe78874ab598d7e8651
<ide><path>activerecord/lib/active_record/associations.rb <ide> def has_and_belongs_to_many(name, scope = nil, options = {}, &extension) <ide> scope = nil <ide> end <ide> <del> habtm_reflection = ActiveRecord::Reflection::HABTMReflection.new(:has_and_belongs_to_many, name, scope, options, se...
2
Text
Text
clarify dockerignore semantics
899ecc11c521d536f26b2e2f062382930dd6ff99
<ide><path>docs/reference/builder.md <ide> that set `abc` to `bye`. <ide> <ide> ### .dockerignore file <ide> <del>If a file named `.dockerignore` exists in the root of `PATH`, then Docker <del>interprets it as a newline-separated list of exclusion patterns. Docker excludes <del>files or directories relative to `PATH`...
1
PHP
PHP
send an event when the user's email is verified
045cbfd95c611928aef1b877d1a3dc60d5f19580
<ide><path>src/Illuminate/Auth/Events/Verified.php <add><?php <add> <add>namespace Illuminate\Auth\Events; <add> <add>use Illuminate\Queue\SerializesModels; <add> <add>class Verified <add>{ <add> use SerializesModels; <add> <add> /** <add> * The verified user. <add> * <add> * @var \Illuminate\Contract...
3
Java
Java
fix code style
dde2c0e7b0435b4195d02699ef4c8f8d666480e2
<ide><path>src/main/java/io/reactivex/rxjava3/core/Flowable.java <ide> public final Flowable<T> onBackpressureLatest() { <ide> * <dd>{@code onBackpressureReduce} does not operate by default on a particular {@link Scheduler}.</dd> <ide> * </dl> <ide> * @param reducer the bi-function to call when there is...
3
Text
Text
remove unecessary comments [ci skip]
df17f7e374eb9cd4052deef23c67fb68997e53b3
<ide><path>guides/source/getting_started.md <ide> Rails.application.routes.draw do <ide> get 'welcome/index' <ide> <ide> # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html <del> <del> # Serve websocket cable requests in-process <del> # mount ActionCable.server => ...
1
PHP
PHP
add test for using automock and multiple redirects
61d6a720d6e7b761f210fac1186e2fe5891dc625
<ide><path>lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php <ide> public function testNoMocking() { <ide> * @return void <ide> */ <ide> public function testNoControllerReuse() { <add> $this->Case->autoMock = true; <ide> $result = $this->Case->testAction('/tests_apps/index', array( <ide> 'data' => array(...
1
Javascript
Javascript
rework the propagation system for event components
784ebd8fa919bbca41c2a2f5a3eda5be6961f32c
<ide><path>packages/react-dom/src/events/DOMEventResponderSystem.js <ide> import { <ide> HostComponent, <ide> } from 'shared/ReactWorkTags'; <ide> import type { <add> ReactEventResponder, <ide> ReactEventResponderEventType, <ide> ReactEventComponentInstance, <ide> ReactResponderContext, <ide> type ResponderTim...
9
Go
Go
remove jobs from daemon/networkdriver/bridge
53582321ee502335a9c3be4789bef984e09f77c4
<ide><path>api/client/port.go <ide> package client <ide> <ide> import ( <add> "encoding/json" <ide> "fmt" <ide> "strings" <ide> <del> "github.com/docker/docker/engine" <ide> "github.com/docker/docker/nat" <ide> flag "github.com/docker/docker/pkg/mflag" <ide> ) <ide> func (cli *DockerCli) CmdPort(args ...string) e...
11
PHP
PHP
add tests for operating on collections
8ccd63d46086e2f61786b4030030c7b0524c0ca4
<ide><path>tests/TestCase/View/Form/EntityContextTest.php <ide> */ <ide> namespace Cake\Test\TestCase\View\Form; <ide> <add>use Cake\Collection\Collection; <ide> use Cake\Network\Request; <ide> use Cake\ORM\Entity; <ide> use Cake\ORM\Table; <ide> use Cake\ORM\TableRegistry; <ide> use Cake\TestSuite\TestCase; <ide> us...
1
Text
Text
fix a typo
8d138eb7fa69ec0ca8d47220d56635d8acea2eba
<ide><path>project/RELEASE-CHECKLIST.md <ide> We recommend announcing the release candidate on: <ide> - In a comment on the pull request to notify subscribed people on GitHub <ide> - The [docker-dev](https://groups.google.com/forum/#!forum/docker-dev) group <ide> - The [docker-maintainers](https://groups.google.com/a/d...
1
PHP
PHP
fix property type
dc0d384752e9508bacd8941509ef18fc70bbf8fd
<ide><path>src/Database/Statement/StatementDecorator.php <ide> class StatementDecorator implements StatementInterface, Countable, IteratorAggre <ide> * Statement instance implementation, such as PDOStatement <ide> * or any other custom implementation. <ide> * <del> * @var \Cake\Database\StatementInte...
2
Javascript
Javascript
fix lazy methods on valuesseq
7fbd8fb6cc850110b43323c3c64bcbec7763eecf
<ide><path>dist/Immutable.js <ide> var ValuesSequence = function ValuesSequence(seq) { <ide> this.length = seq.length; <ide> }; <ide> ($traceurRuntime.createClass)(ValuesSequence, { <del> get: function(key, notSetValue) { <del> return this._seq.get(key, notSetValue); <del> }, <del> has: function(key) { <del> ...
3
Java
Java
fix broken links in javadoc
93efb20a53365fea87cf3ef422f06959fcf9c313
<ide><path>spring-context/src/main/java/org/springframework/cache/concurrent/ConcurrentMapCacheManager.java <ide> /* <del> * Copyright 2002-2020 the original author or authors. <add> * Copyright 2002-2021 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <...
24
Mixed
Javascript
fix unassigned deprecation code
1261b94a3facbf486c58b8e8b2682f0de8b4d107
<ide><path>doc/api/deprecations.md <ide> function for [`util.inspect()`][] is deprecated. Use [`util.inspect.custom`][] <ide> instead. For backwards compatibility with Node.js prior to version 6.4.0, both <ide> may be specified. <ide> <del><a id="DEP00XX"></a> <del>### DEP00XX: path.\_makeLong() <add><a id="DEP0080"><...
2
Javascript
Javascript
relax permissionsandroid enforcement
8db4de41e41f1983ac71f618fa29ce70e3d09eb5
<ide><path>Libraries/PermissionsAndroid/NativePermissionsAndroid.js <ide> export interface Spec extends TurboModule { <ide> ) => Promise<{[permission: PermissionType]: PermissionStatus}>; <ide> } <ide> <del>export default TurboModuleRegistry.getEnforcing<Spec>('PermissionsAndroid'); <add>export default TurboModuleRe...
2
PHP
PHP
add space (formatting)
f9615859856204035f0137241602303b498acf88
<ide><path>src/Database/Dialect/PostgresDialectTrait.php <ide> protected function _transformFunctionExpression(FunctionExpression $expression) <ide> ->name('') <ide> ->type('-') <ide> ->iterateParts(function ($p) { <del> if( is_string($p) ) { <add> if ( is_string($p) ) { <ide> $p = [ 'va...
1
Ruby
Ruby
inline id_key variable
9b8195b4b03e9ee70bde3072e364826f198d9fb2
<ide><path>lib/action_cable/server.rb <ide> def subscribe_channel(data) <ide> end <ide> <ide> def process_message(message) <del> id_key = message['identifier'] <del> <del> if @subscriptions[id_key] <del> @subscriptions[id_key].receive(ActiveSupport::JSON.decode message['data']) <add>...
1
Text
Text
update ios .xcodeproj path
365cdde1efd580977d2141e971a5e466c7699d05
<ide><path>docs/Tutorial.md <ide> After installing these dependencies there are two simple commands to get a React <ide> <ide> ## Development <ide> <del>For iOS, you can now open this new project (`AwesomeProject/AwesomeProject.xcodeproj`) in Xcode and simply build and run it with `⌘+R`. Doing so will also start a No...
1
Python
Python
fix relative import in top numpy.distutils
ccdfafcf58fdf3dc1d95acc090445e56267bd4ab
<ide><path>numpy/distutils/__init__.py <add>import sys <ide> <del>from __version__ import version as __version__ <add>if sys.version_info[0] < 3: <add> from __version__ import version as __version__ <add> # Must import local ccompiler ASAP in order to get <add> # customized CCompiler.spawn effective. <add> ...
1
Python
Python
add the data/ directory as package data
53d5bd62ee21137f9f4b271dd6b1102258aa4a70
<ide><path>setup.py <ide> def setup_package(): <ide> name=about['__title__'], <ide> zip_safe=False, <ide> packages=PACKAGES, <del> package_data={'': ['*.pyx', '*.pxd', '*.txt', '*.tokens']}, <add> package_data={'': ['*.pyx', '*.pxd', '*.txt', '*.tokens', 'data']...
1
Go
Go
fix diffs->diff typo in aufs.go
7a60b9063c109892f60165adb71682988d39d3d8
<ide><path>daemon/graphdriver/aufs/aufs.go <ide> aufs driver directory structure <ide> │   ├── 1 <ide> │   ├── 2 <ide> │   └── 3 <del>├── diffs // Content of the layer <add>├── diff // Content of the layer <ide> │   ├── 1 // Contains layers that need to be mounted for the id <ide> │   ├── 2 <ide> │   └── 3
1
PHP
PHP
fix missing line breaks
b7415525c8de61ff7261f4a5b45ab128aacb7a66
<ide><path>lib/Cake/Console/Command/Task/ModelTask.php <ide> public function fieldValidation($fieldName, $metaData, $primaryKey = 'id') { <ide> for ($i = 1, $m = $defaultChoice / 2; $i < $m; $i++) { <ide> $line = sprintf("%2d. %s", $i, $this->_validations[$i]); <ide> $optionText .= $line . str_repeat(" ",...
1
Mixed
Text
remove deprecated `missinghelpererror` proxy
a1ddde15ae0d612ff2973de9cf768ed701b594e8
<ide><path>actionpack/CHANGELOG.md <add>* Remove deprecated `AbstractController::Helpers::ClassMethods::MissingHelperError` <add> in favor of `AbstractController::Helpers::MissingHelperError`. <add> <add> *Yves Senn* <add> <ide> * Fix `assert_template` not being able to assert that no files were rendered. <id...
3
PHP
PHP
remove all indentation
917ee514d4bbd4162b6ddb385c643df97dcfa7d3
<ide><path>src/Illuminate/Mail/resources/views/html/button.blade.php <ide> <table class="action" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation"> <del> <tr> <del> <td align="center"> <del> <table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentat...
5
Text
Text
change text to title
c12c467ac960690ac3506d9998f54efb6375d2c4
<ide><path>docs/tutorials/essentials/part-4-using-data.md <ide> Redux action objects are required to have a `type` field, which is normally a de <ide> <ide> By default, the action creators generated by `createSlice` expect you to pass in one argument, and that value will be put into the action object as `action.payloa...
1
Javascript
Javascript
add optional harmony support to browser transform
e6c93f9246f2801e200864a74aec145410f13803
<ide><path>vendor/browser-transforms.js <ide> var headEl; <ide> <ide> var buffer = require('buffer'); <ide> var transform = require('jstransform').transform; <del>var visitors = require('./fbtransform/visitors').transformVisitors; <add>var visitors = require('./fbtransform/visitors'); <ide> var docblock = require('jst...
1
Python
Python
add tests for ner oracle with whitespace
3c1c0ec18ec702afbe03e24519cdb0c3a513c945
<ide><path>spacy/tests/parser/test_ner.py <ide> def test_doc_add_entities_set_ents_iob(en_vocab): <ide> assert [w.ent_iob_ for w in doc] == ["", "", "", "B"] <ide> doc.ents = [(doc.vocab.strings["WORD"], 0, 2)] <ide> assert [w.ent_iob_ for w in doc] == ["B", "I", "", ""] <add> <add> <add>def test_oracle_mov...
1
Javascript
Javascript
implement a bunch of rng tests including k-s test
0722f4006c2429fa389b745141ba5d0fb86f83f3
<ide><path>test/math/random-test.js <ide> var vows = require("vows"), <ide> <ide> var suite = vows.describe("d3.random"); <ide> <add>var STDDEV = 5; <add>var MEAN = 38; <add> <add> <add>/** <add> * Testing a random number generator is a bit more complicated than testing <add> * deterministic code, so we use a differe...
1
Javascript
Javascript
expose a new prop `transition` for scene renderer
55c308615ab08c45a4e4c7b274f5ce3b25bb4826
<ide><path>Libraries/NavigationExperimental/NavigationAnimatedView.js <ide> 'use strict'; <ide> <ide> const Animated = require('Animated'); <add>const Easing = require('Easing'); <ide> const NavigationPropTypes = require('NavigationPropTypes'); <ide> const NavigationScenesReducer = require('NavigationScenesReducer'); ...
4
PHP
PHP
use global functino
0c3d1fabe5a9319131aa4e9d74b27f29e74a50fb
<ide><path>database/factories/UserFactory.php <ide> class UserFactory extends Factory <ide> public function definition() <ide> { <ide> return [ <del> 'name' => $this->faker->name(), <del> 'email' => $this->faker->unique()->safeEmail(), <add> 'name' => fake()->name(), <ad...
1
Ruby
Ruby
fix syntax warning
affae7d904e1dd91c89f8126358a2d2fbbe49eeb
<ide><path>activerecord/lib/active_record/tasks/database_tasks.rb <ide> def load_schema_for(*args) <ide> This method was renamed to `#load_schema` and will be removed in the future. <ide> Use `#load_schema` instead. <ide> MSG <del> load_schema *args <add> load_schema(*args) <id...
1
PHP
PHP
handle old signature and trigger warning
d7b5af7db8e16736714cdc0a77d9aab76cd9794a
<ide><path>src/Error/Middleware/ErrorHandlerMiddleware.php <ide> class ErrorHandlerMiddleware implements MiddlewareInterface <ide> */ <ide> public function __construct($errorHandler = []) <ide> { <add> if (func_num_args() > 1) { <add> deprecationWarning( <add> 'The signatur...
1
Text
Text
fix inconsistency for pause and unpause
082f4919cac55f32674874d96d82a310f6b1522d
<ide><path>docs/reference/commandline/pause.md <ide> Options: <ide> --help Print usage <ide> ``` <ide> <del>The `docker pause` command suspends all processes in a container. On Linux, <del>this uses the cgroups freezer. Traditionally, when suspending a process the <del>`SIGSTOP` signal is used, which is observ...
4
PHP
PHP
add foreign key reflection to mysql driver
5268439d59e52530e32adbdbee31504aa0519878
<ide><path>lib/Cake/Database/Schema/MysqlSchema.php <ide> public function convertIndexDescription(Table $table, $row) { <ide> * <ide> * @return array List of sql, params <ide> */ <del> public function describeForeignKeySql($table) { <del> return ['', []]; <add> public function describeForeignKeySql($table, $config)...
2
PHP
PHP
implement the rest of the errortrap behavior
c57ee713509f8d849ea5ddccb1d7aaa2b9b495c4
<ide><path>src/Error/ErrorRendererInterface.php <ide> interface ErrorRendererInterface <ide> * @return string The output to be echoed. <ide> */ <ide> public function render(PhpError $error): string; <add> <add> /** <add> * Output to the renderers output stream <add> * <add> * @param string ...
6
Javascript
Javascript
remove unnecessary tokenizedbuffer methods
8be9375508cfdd7614d6b575894ebee350b941b7
<ide><path>src/tokenized-buffer.js <ide> class TokenizedBuffer { <ide> while (this.firstInvalidRow() != null && rowsRemaining > 0) { <ide> var endRow, filledRegion <ide> const startRow = this.invalidRows.shift() <del> const lastRow = this.getLastRow() <add> const lastRow = this.buffer.getLastR...
1
Text
Text
add note to avoid requiring config/initializers
f976dec24b497311af7f08c8924dcff34c3f1446
<ide><path>guides/source/configuring.md <ide> Some parts of Rails can also be configured externally by supplying environment v <ide> Using Initializer Files <ide> ----------------------- <ide> <del>After loading the framework and any gems in your application, Rails turns to loading initializers. An initializer is any ...
1
Text
Text
add a big fat warning
459451de8b6760034dd4bf7a782b7875441254a5
<ide><path>pkg/tarsum/tarsum_spec.md <ide> This document describes the algorithms used in performing the TarSum checksum <ide> calculation on filesystem layers, the need for this method over existing <ide> methods, and the versioning of this calculation. <ide> <add>## Warning <add> <add>This checksum algorithm is for ...
1
Javascript
Javascript
add missing android dangerous permissions
4b25a0aaa077caf9c437bcfeef8a226eda5a102e
<ide><path>Libraries/PermissionsAndroid/NativePermissionsAndroid.js <ide> export type PermissionType = <ide> | 'android.permission.BLUETOOTH_CONNECT' <ide> | 'android.permission.BLUETOOTH_SCAN' <ide> | 'android.permission.BLUETOOTH_ADVERTISE' <del> | 'android.permission.ACCESS_MEDIA_LOCATION'; <add> | 'android....
2
PHP
PHP
fix array types in docblock
c57cd1fcb4ba9cc9ba9907bdffbb05e5493a38d1
<ide><path>src/Database/Connection.php <ide> public function getSchemaCollection(): SchemaCollectionInterface <ide> * <ide> * @param string $table the table to insert values in <ide> * @param array $values values to be inserted <del> * @param array<string, string> $types list of associative array con...
6
Ruby
Ruby
use full path to du
89479912ecbfe343a7d002c9b71d2359cc1cbde2
<ide><path>Library/Homebrew/extend/pathname.rb <ide> def abv <ide> out='' <ide> n=`find #{to_s} -type f | wc -l`.to_i <ide> out<<"#{n} files, " if n > 1 <del> out<<`du -hd0 #{to_s} | cut -d"\t" -f1`.strip <add> out<<`/usr/bin/du -hd0 #{to_s} | cut -d"\t" -f1`.strip <ide> end <ide> <ide> # attempt...
1
Javascript
Javascript
fix arrayproxy arrangedobject handling - fixes ,
ffa4493782813ed92d06ea5ce0bed3c14df5ec5e
<ide><path>packages/ember-runtime/lib/system/array_proxy.js <ide> require('ember-runtime/system/object'); <ide> @submodule ember-runtime <ide> */ <ide> <add>var OUT_OF_RANGE_EXCEPTION = "Index out of range"; <add>var EMPTY = []; <ide> <ide> var get = Ember.get, set = Ember.set; <ide> <ide> Ember.ArrayProxy = Ember.O...
2
Ruby
Ruby
remove unused returning value `stream`
51b017652a4725f51e6ee01737f52ff63d5b8424
<ide><path>activerecord/lib/active_record/schema_dumper.rb <ide> def table(table, stream) <ide> stream.puts "# #{e.message}" <ide> stream.puts <ide> end <del> <del> stream <ide> end <ide> <ide> # Keep it for indexing materialized views
1
Text
Text
add example code for process.getgroups()
f59d4e05a209173406465a26330465413264a443
<ide><path>doc/api/process.md <ide> The `process.getgroups()` method returns an array with the supplementary group <ide> IDs. POSIX leaves it unspecified if the effective group ID is included but <ide> Node.js ensures it always is. <ide> <add>```js <add>if (process.getgroups) { <add> console.log(process.getgroups());...
1
Ruby
Ruby
remove support for rails server rails_env=env-name
dce0afd47f334f61a4ab22acccef7c5e9d6e8b0a
<ide><path>railties/lib/rails/commands/server.rb <ide> def parse!(args) <ide> <ide> opt_parser.parse! args <ide> <del> # Handle's environment like RAILS_ENV=production passed in directly <del> if index = args.index {|arg| arg.include?("RAILS_ENV")} <del> options[:environment] ||= args.d...
2
Java
Java
add factory methods to testsubscriber
76f001bc1211e126aa5ad18bc0acb4fd37cd929e
<ide><path>src/main/java/rx/observers/TestSubscriber.java <ide> public TestSubscriber() { <ide> this(-1); <ide> } <ide> <add> @Experimental <add> public static <T> TestSubscriber<T> create() { <add> return new TestSubscriber<T>(); <add> } <add> <add> @Experimental <add> public...
2
Python
Python
improve docs for consistency as markdown format
adaed1f84a0d980a660eb7d5ff271408374e5bef
<ide><path>examples/lstm_stateful.py <ide> def gen_uniform_amp(amp=1, xn=10000): <ide> -amp and +amp <ide> and of length xn <ide> <del> Arguments: <add> # Arguments <ide> amp: maximum/minimum range of uniform data <ide> xn: length of series <ide> """ <ide><path>keras/activations.py <i...
6
Python
Python
rename the call to the function too!
b298bce746abdebbaa81e21383a3202656662607
<ide><path>keras/engine/training.py <ide> def predict(self, <ide> 'information of where went wrong, or file a ' <ide> 'issue/bug to `tf.keras`.') <ide> callbacks.on_predict_end() <del> all_outputs = tf.__internal__.nest.map_structure_up_to(batch_outputs, potent...
1
Python
Python
fix flake8 errors
983f3a709f4531a16241c7838cafd5cf2702a829
<ide><path>libcloud/compute/drivers/vultr.py <ide> def require_api_key(self): <ide> <ide> try: <ide> return self.method \ <del> not in self.unauthenticated_endpoints[self.action] <add> not in self.unauthenticated_endpoints[self.action] <ide> except KeyError:...
1