content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Python
Python
refuse datasets 2.5.0 while waiting for a patch
114295c010dd9c94d48add7a0f091ba6ebdf482b
<ide><path>setup.py <ide> "codecarbon==1.2.0", <ide> "cookiecutter==1.7.3", <ide> "dataclasses", <del> "datasets", <add> "datasets!=2.5.0", <ide> "deepspeed>=0.6.5", <ide> "dill<0.3.5", <ide> "evaluate>=0.2.0", <ide><path>src/transformers/dependency_versions_table.py <ide> "codecarbon"...
2
Text
Text
uppercase the es6 word
25fa070622078efdd383e118bf2dd03cdaab3a8a
<ide><path>guide/english/redux/redux-reducers/index.md <ide> const actions = [ <ide> ] <ide> ``` <ide> <del>you can generate new state based on those list of actions. How would we do that? By using a reducer function, like so: <add> <add>You can generate new state based on those list of actions. How would we do that? ...
1
Javascript
Javascript
add geometrycollection support to d3.geo.bounds
9ae8feea6f05862a9c76c897d5a99334b25a0b18
<ide><path>d3.chart.min.js <del>(function(){function a(a){return[0,a.length-1]}function b(a){return[d3.quantile(a,.25),d3.quantile(a,.5),d3.quantile(a,.75)]}function c(a){return a.ranges}function d(a){return a.markers}function e(a){return a.measures}function f(a){return function(b){return"translate("+a(b)+",0)"}}functi...
4
PHP
PHP
fix cs after 282f6c80
ab0da785290cd05acc2830873c86cca61619486d
<ide><path>src/Error/BaseErrorHandler.php <ide> public function register() <ide> } <ide> $this->handleFatalError( <ide> $error['type'], <del> $error['message'], <add> $error['message'], <ide> $error['file'], <ide> $erro...
1
Javascript
Javascript
drop unused code
2cb9069bd09ed9b4754eabb3f2edb02604676c91
<ide><path>packages/ember-htmlbars/lib/keywords/customized_outlet.js <ide> export default { <ide> setupState(state, env, scope, params, hash) { <ide> var read = env.hooks.getValue; <ide> var viewClass = readViewFactory(read(hash.view), env.container); <del> var outletName = read(params[0]) || 'main'; <del>...
1
Text
Text
add short read
f67d87faad50e8985dd29ba9bd87988a65972bc2
<ide><path>guide/english/computational-genomics/index.md <ide> This section will focus on the various data structures and algorithms that are u <ide> Introduction to Computational Genomics by Matthew W. Hahn <ide> <ide> A great starter book for beginners <add> <add> <add>### Short reads <add> <add>Data Structures and...
1
Ruby
Ruby
reduce need for interpolating `appdir` in casks
df3bbd0299b964e5bc759130a10fce93422a08f8
<ide><path>Library/Homebrew/cask/artifact/moved.rb <ide> def move(force: false, command: nil, **options) <ide> command.run!("/bin/mv", args: [source, target], sudo: true) <ide> end <ide> <add> FileUtils.ln_sf target, source <add> <ide> add_altname_metadata(target, source.basename, comm...
6
Javascript
Javascript
fix bug where cachegroup index was inverted
35c7801b5e5320b0830e84ca10a3dfdab0999847
<ide><path>lib/optimize/SplitChunksPlugin.js <ide> const compareEntries = (a, b) => { <ide> const diffSizeReduce = aSizeReduce - bSizeReduce; <ide> if (diffSizeReduce) return diffSizeReduce; <ide> // 4. by cache group index <del> const indexDiff = a.cacheGroupIndex - b.cacheGroupIndex; <add> const indexDiff = b.cach...
1
Javascript
Javascript
remove navexperimental from uiexplorer
761d528153e26390e4d6d3caabc70341812a8617
<ide><path>Examples/UIExplorer/js/UIExplorerActions.js <ide> */ <ide> 'use strict'; <ide> <del>export type UIExplorerListWithFilterAction = { <del> type: 'UIExplorerListWithFilterAction', <del> filter: ?string; <add>export type UIExplorerBackAction = { <add> type: 'UIExplorerBackAction', <add>}; <add> <add>export ...
7
Text
Text
fix small language nits
b606dac461070c368f688c929a6ff0af6a5570e4
<ide><path>docs/_posts/2014-07-28-community-roundup-20.md <ide> layout: post <ide> author: Lou Husson <ide> --- <ide> <del>It's an exciting time for React as there are now more commits from open source contributors than Facebook engineers! Keep up the good work :) <add>It's an exciting time for React as there are now ...
1
PHP
PHP
add a wordwrap function
80765d4a4474df5460d0aaecd388f6364a7f6ff3
<ide><path>src/Utility/Text.php <ide> public static function wrap($text, $options = []) <ide> return $wrapped; <ide> } <ide> <add> /** <add> * Wraps a complete block of text to a specific width, can optionally wrap <add> * at word breaks. <add> * <add> * ### Options <add> * <add> ...
2
Mixed
Javascript
fix docs for react.children.map, .foreach, .only
827c44fcd332443d8ac615d7f70895c6edda1b10
<ide><path>docs/docs/ref-01-top-level-api.md <ide> next: component-api.html <ide> #### React.Children.map <ide> <ide> ```javascript <del>array React.Children.map(object children, function fn [, object context]) <add>object React.Children.map(object children, function fn [, object context]) <ide> ``` <ide> <del>Invoke...
2
Ruby
Ruby
add libpcap to list
e757d7c9563fb30e0d5b06ffeb6e42e3160d7e0a
<ide><path>Library/Homebrew/brew.h.rb <ide> def make url <ide> force_text = "If you really want to make this formula use --force." <ide> <ide> case name.downcase <del> when /vim/, /screen/ <add> when 'vim', 'screen' <ide> raise <<-EOS <ide> #{name} is blacklisted for creation <ide> Apple distributes this pro...
1
Ruby
Ruby
add bind values to the manager class
f0ba9e4e56cf4dfa266147fad7e8f58ca577d614
<ide><path>lib/arel/tree_manager.rb <ide> class TreeManager <ide> <ide> attr_reader :ast, :engine <ide> <add> attr_accessor :bind_values <add> <ide> def initialize engine <ide> @engine = engine <ide> @ctx = nil <add> @bind_values = [] <ide> end <ide> <ide> def to_dot <ide><path...
2
Text
Text
remove the old reference to `jsonresponse`
adaf97a739dc2c29589b25052daac04d5d706c1b
<ide><path>docs/tutorial/2-requests-and-responses.md <ide> The wrappers also provide behaviour such as returning `405 Method Not Allowed` r <ide> <ide> ## Pulling it all together <ide> <del>Okay, let's go ahead and start using these new components to write a few views. <del> <del>We don't need our `JSONResponse` clas...
1
Javascript
Javascript
remove feature flag enablestricteffects
987292815c68be0fd5916d1f9b0d6c983e2db7ce
<ide><path>packages/react-reconciler/src/ReactFiber.new.js <ide> import { <ide> import { <ide> createRootStrictEffectsByDefault, <ide> enableCache, <del> enableStrictEffects, <ide> enableProfilerTimer, <ide> enableScopeAPI, <ide> enableLegacyHidden, <ide> export function createHostRootFiber( <ide> let mode...
24
Ruby
Ruby
add formula? method and sandbox core
6e887fbf5ac5bc1fb551a3e4222ad1804b490def
<ide><path>Library/Homebrew/sandbox.rb <ide> <ide> class Sandbox <ide> SANDBOX_EXEC = "/usr/bin/sandbox-exec".freeze <add> SANDBOXED_TAPS = [ <add> "homebrew/core", <add> ].freeze <ide> <ide> def self.available? <ide> OS.mac? && File.executable?(SANDBOX_EXEC) <ide> end <ide> <add> def self.formula?(f...
2
Python
Python
fix shebang to use python3 by default
50ad9fe9294bd177d349f8feb0c5a27689e5b5c1
<ide><path>tools/test.py <del>#!/usr/bin/env python <add>#!/usr/bin/env python3 <ide> # <ide> # Copyright 2008 the V8 project authors. All rights reserved. <ide> # Redistribution and use in source and binary forms, with or without
1
Python
Python
fix typo in meshgrid example
85a2a7776e8cc01ce3efdc92e262a7764f5fc061
<ide><path>numpy/lib/function_base.py <ide> def meshgrid(*xi, copy=True, sparse=False, indexing='xy'): <ide> <ide> >>> x = np.linspace(-5, 5, 101) <ide> >>> y = np.linspace(-5, 5, 101) <del> >>> # full coorindate arrays <add> >>> # full coordinate arrays <ide> >>> xx, yy = np.meshgrid(x, y) <ide> ...
1
Text
Text
fix lint errors for examples/introduction
4e6ee825aee3753b0999b195a57f3f51ed1ec31e
<ide><path>docs/introduction/PriorArt.md <ide> Does it make sense to use Redux together with Rx? Sure! They work great together <ide> function toObservable(store) { <ide> return { <ide> subscribe({ onNext }) { <del> let dispose = store.subscribe(() => onNext(store.getState())); <del> onNext(store.getSta...
2
PHP
PHP
add array typehinting in method signatures
ad9b866f7f63662977147d3bb5bf287659cb1e57
<ide><path>src/Console/Helper.php <ide> public function __construct(ConsoleIo $io, array $config = []) <ide> * @param array $args The arguments for the helper. <ide> * @return void <ide> */ <del> abstract public function output($args); <add> abstract public function output(array $args); <ide> } <id...
13
Go
Go
pull parent layers first before children
7301fbe035ca450e2aea86b8f2467cffd3fac18b
<ide><path>server.go <ide> func (srv *Server) pullImage(r *registry.Registry, out io.Writer, imgID, endpoin <ide> // FIXME: Try to stream the images? <ide> // FIXME: Launch the getRemoteImage() in goroutines <ide> <del> for _, id := range history { <add> for i := len(history) - 1; i >= 0; i-- { <add> id := history[...
1
Javascript
Javascript
prevent aborted event when already completed
1980a36dd45997e9dee03fe11688319c2f5c3644
<ide><path>lib/_http_client.js <ide> function socketCloseListener() { <ide> var parser = socket.parser; <ide> if (req.res && req.res.readable) { <ide> // Socket closed before we emitted 'end' below. <del> req.res.emit('aborted'); <add> if (!req.res.complete) req.res.emit('aborted'); <ide> var res = re...
1
Ruby
Ruby
add missing require for compact_blank
c1659150a7f76baa757aec4b3d5f90d6c330911f
<ide><path>activerecord/lib/active_record/database_configurations/connection_url_resolver.rb <ide> # frozen_string_literal: true <ide> <add>require "active_support/core_ext/enumerable" <add> <ide> module ActiveRecord <ide> class DatabaseConfigurations <ide> # Expands a connection string into a hash.
1
Javascript
Javascript
remove outdated comment re assert()
cb53cfd8b58907074af464b0a94a550d0969b6b7
<ide><path>src/node.js <ide> <ide> var assert; <ide> startup.processAssert = function() { <del> // Note that calls to assert() are pre-processed out by JS2C for the <del> // normal build of node. They persist only in the node_g build. <del> // Similarly for debug(). <ide> assert = process.assert = fun...
1
Javascript
Javascript
use modularize.js to generate jsm
16ffe39a867ee15723a7ffb2c97e773f3920cd29
<ide><path>examples/js/loaders/TGALoader.js <ide> THREE.TGALoader = function ( manager ) { <ide> <del> THREE.Loader.call( this, manager ); <add> THREE.DataTextureLoader.call( this, manager ); <ide> <ide> }; <ide> <del>THREE.TGALoader.prototype = Object.assign( Object.create( THREE.Loader.prototype ), { <add>THREE.TG...
2
Mixed
Python
add dtype to graph inputs
aeb954dd49cdc72b520c35f177c31407e9bc9d06
<ide><path>docs/sources/models.md <ide> Arbitrary connection graph. It can have any number of inputs and outputs, with e <ide> model = keras.models.Graph() <ide> ``` <ide> - __Methods__: <del> - __add_input__(ndim=2): Add an input with shape dimensionality `ndim`. Use `ndim=2` for vector input (`(samples, features)`...
2
Ruby
Ruby
fix sharelock issues
b3d78e8c23e3cbd5325719474efb9f7ee4168f72
<ide><path>activesupport/lib/active_support/concurrency/share_lock.rb <ide> def start_exclusive(purpose: nil, compatible: [], no_wait: false) <ide> return false if no_wait <ide> <ide> loose_shares = @sharing.delete(Thread.current) <del> @waiting[Thread.current] = compatible if ...
1
Text
Text
add troubleshooting guide to sidebar
26ef0b0f33b142fbb87a4d8b643231ac305409a7
<ide><path>docs/Troubleshooting.md <ide> id: troubleshooting <ide> title: Troubleshooting <ide> layout: docs <del>category: Quick Start <add>category: Guides <ide> permalink: docs/troubleshooting.html <add>next: native-modules-ios <add>previous: upgrading <ide> --- <ide> <add> <ide> These are some common issues you ma...
2
Go
Go
move supportsmultiplelowerdir to utils
d5687079ad8ad27c467ef5c8758a73c519b45d9b
<ide><path>daemon/graphdriver/overlay2/check.go <ide> func doesSupportNativeDiff(d string) error { <ide> <ide> return nil <ide> } <del> <del>// supportsMultipleLowerDir checks if the system supports multiple lowerdirs, <del>// which is required for the overlay2 driver. On 4.x kernels, multiple lowerdirs <del>// are a...
3
Text
Text
add morph to token api docs
fcd3a4abe3a5b0c9d296456f134a7de6fd187edf
<ide><path>website/docs/api/token.md <ide> The L2 norm of the token's vector representation. <ide> | `pos_` | str | Coarse-grained part-of-speech from the [Universal POS tag set](https://universaldependencies.org/docs/u/pos/). ...
1
Ruby
Ruby
fix wrong typo in test
36efba05206aef9e587cb971a67d931cd941b90a
<ide><path>actionmailer/test/base_test.rb <ide> class BaseTest < ActiveSupport::TestCase <ide> assert_equal("multipart/mixed", email.mime_type) <ide> end <ide> <del> test "set mime type to text/html when attachment is inclued and body is set" do <add> test "set mime type to text/html when attachment is include...
1
Go
Go
remove redundant error message
894266c1bbdfeb53bf278f3cb762945bac69e592
<ide><path>api/client/kill.go <ide> func (cli *DockerCli) CmdKill(args ...string) error { <ide> var errs []string <ide> for _, name := range cmd.Args() { <ide> if err := cli.client.ContainerKill(name, *signal); err != nil { <del> errs = append(errs, fmt.Sprintf("Failed to kill container (%s): %s", name, err)) <ad...
17
PHP
PHP
add mask setting to filelog
278700677ae2ee3cc57644397c8ee0da715b552f
<ide><path>lib/Cake/Log/Engine/FileLog.php <ide> class FileLog extends BaseLog { <ide> 'types' => null, <ide> 'scopes' => array(), <ide> 'rotate' => 10, <del> 'size' => 10485760 // 10MB <add> 'size' => 10485760, // 10MB <add> 'mask' => null, <ide> ); <ide> <ide> /** <ide> class FileLog extends BaseLog { <ide...
2
Text
Text
add internal link in governance.md
874839c6dc42f4b0bb92db7cc5bdf756d771e35e
<ide><path>GOVERNANCE.md <ide> responsibility for the change. In the case of pull requests proposed <ide> by an existing Collaborator, an additional Collaborator is required <ide> for sign-off. Consensus should be sought if additional Collaborators <ide> participate and there is disagreement around a particular <del>mo...
1
Javascript
Javascript
add internal [@@ refresh()] function
bb5575aa75fd3071724d5eccde39a3041e1af57a
<ide><path>lib/internal/http2/core.js <ide> const { <ide> const { <ide> kTimeout, <ide> setUnrefTimeout, <del> validateTimerDuration <add> validateTimerDuration, <add> refreshFnSymbol <ide> } = require('internal/timers'); <ide> <del>const { _unrefActive } = require('timers'); <del> <ide> const { ShutdownWrap, W...
5
Go
Go
use bitmask for conflict checking
883be4893049aa97cb874d239cf6b06325fc74f2
<ide><path>daemon/image_delete.go <ide> import ( <ide> "github.com/docker/engine-api/types" <ide> ) <ide> <add>type conflictType int <add> <add>const ( <add> conflictDependentChild conflictType = (1 << iota) <add> conflictRunningContainer <add> conflictActiveReference <add> conflictStoppedContainer <add> conflictHard...
1
Go
Go
remove unused "testutil" package
47af9f625d3f9e94729ec5aee4abcce813914d07
<ide><path>pkg/testutil/pkg.go <del>package testutil
1
PHP
PHP
add assertions for
b4323b32ab8267493d5a45e046a071c210d38f56
<ide><path>tests/TestCase/ORM/Behavior/TranslateBehaviorTest.php <ide> public function testFindSingleLocaleBelongstoLoadInto() <ide> $entity = $table->get(1); <ide> $result = $table->loadInto($entity, ['Authors']); <ide> $this->assertSame($entity, $result); <add> $this->assertNotEmpty($en...
1
Ruby
Ruby
implement inferred cvs dependency
1f190890fd60f9e66aeaf71c4c42473334cc514a
<ide><path>Library/Homebrew/dependency_collector.rb <ide> def resource_dep(spec, tags) <ide> Dependency.new("fossil", tags) <ide> when strategy <= BazaarDownloadStrategy <ide> Dependency.new("bazaar", tags) <add> when strategy <= CVSDownloadStrategy <add> Dependency.new("cvs", tags) if MacOS.ver...
2
Javascript
Javascript
add mustcall to net-connect-buffer test
73a686f1bbacbdb40d552388d22a815340ae012a
<ide><path>test/parallel/test-net-connect-buffer.js <ide> const tcp = net.Server(common.mustCall((s) => { <ide> buf += d; <ide> }); <ide> <del> s.on('end', function() { <add> s.on('end', common.mustCall(function() { <ide> console.error('SERVER: end', buf); <ide> assert.strictEqual(buf, "L'État, c'est m...
1
Mixed
Javascript
expose async_wrap providers
d10085bcb1f4c5695a54a532c8aa23d5391fb627
<ide><path>doc/api/async_hooks.md <ide> const server = net.createServer((conn) => { <ide> Promise contexts may not get valid `triggerAsyncId`s by default. See <ide> the section on [promise execution tracking][]. <ide> <add>### `async_hooks.asyncWrapProviders` <add> <add><!-- YAML <add>added: REPLACEME <add>--> <add> <...
4
Javascript
Javascript
simplify regex a bit, update comments
796539369ef1a808ccd6b250ec2b2a327cf7bd37
<ide><path>src/animation/PropertyBinding.js <ide> Object.assign( PropertyBinding, { <ide> // be matched to parse the rest of the track name. <ide> var directoryRe = /((?:[\w-]+[\/:])*)/; <ide> <del> // Target node. May contain word characters (a-zA-Z0-9_) and '.' or '-' <del> // characters, but must begin and en...
2
Go
Go
add support for xz compression
3c5d2e4661e76e83e35637561153578ddd87f249
<ide><path>archive.go <ide> const ( <ide> Uncompressed Compression = iota <ide> Bzip2 <ide> Gzip <add> Xz <ide> ) <ide> <ide> func (compression *Compression) Flag() string { <ide> func (compression *Compression) Flag() string { <ide> return "j" <ide> case Gzip: <ide> return "z" <add> case Xz: <add> return "J"...
1
Text
Text
add starkwang to collaborators
35d8ef5a85cac82e5acf8c8f50b320d62682cb68
<ide><path>README.md <ide> For more information about the governance of the Node.js project, see <ide> **Roman Reiss** &lt;me@silverwind.io&gt; <ide> * [srl295](https://github.com/srl295) - <ide> **Steven R Loomis** &lt;srloomis@us.ibm.com&gt; <add>* [starkwang](https://github.com/starkwang) - <add>**Weijia Wang** &lt;...
1
Text
Text
add upgrade note on execution_date -> run_id
1ee65bb8ae9f98233208ebb7918cf9aa1e01823e
<ide><path>UPDATING.md <ide> Before updating to this 2.2 release you will have to manually resolve any incons <ide> <ide> As part of this change the `clean_tis_without_dagrun_interval` config option under `[scheduler]` section has been removed and has no effect. <ide> <add>### TaskInstance and TaskReschedule now defi...
1
PHP
PHP
add absolute path to cake/vendors
f799d1c056ec818f43de6e7685e5245b4362131f
<ide><path>lib/Cake/Core/App.php <ide> protected static function _packageFormat() { <ide> '%s' . 'locale' . DS <ide> ), <ide> 'Vendor' => array( <del> '%s' . 'Vendor' . DS, VENDORS <add> '%s' . 'Vendor' . DS, <add> dirname(dirname(CAKE)) . DS . 'vendors' . DS, <add> VENDORS <ide> ), <id...
1
Ruby
Ruby
add tests for relation#only
e3246ef5b50d48aa86ee41a161b42611a936f4fb
<ide><path>activerecord/test/cases/relations_test.rb <ide> def test_except <ide> assert_equal Post.all, all_posts.all <ide> end <ide> <add> def test_only <add> relation = Post.where(:author_id => 1).order('id ASC').limit(1) <add> assert_equal [posts(:welcome)], relation.all <add> <add> author_posts = r...
1
Text
Text
add twitter follow button
a3e552156943ad4131aa07bd546f445e4f852e4d
<ide><path>docs/index.md <ide> For support please see the [REST framework discussion group][group], try the `# <ide> <ide> [Paid support is available][paid-support] from [DabApps][dabapps], and can include work on REST framework core, or support with building your REST framework API. Please [contact DabApps][contact...
1
Javascript
Javascript
move netinfo js module to fb internal
5a30c2a2052ba76e88dbf71b5b5c92966591bf26
<ide><path>Libraries/Network/NetInfo.js <del>/** <del> * Copyright (c) Facebook, Inc. and its affiliates. <del> * <del> * This source code is licensed under the MIT license found in the <del> * LICENSE file in the root directory of this source tree. <del> * <del> * @format <del> * @flow <del> */ <del> <del>'use strict'...
5
Java
Java
remove "preparereact" call from the android bridge
80f9e1f7de407ea417cecb04b3ba20b05696b478
<ide><path>ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java <ide> public interface ReactInstanceEventListener { <ide> private final @Nullable JSBundleLoader mBundleLoader; <ide> private final @Nullable String mJSMainModulePath; /* path to JS bundle root on packager server */ <ide> private f...
1
Go
Go
move network aspect of links into driver as a job
167403988dca37060edf37abbdd28360ee0d5d4a
<ide><path>container.go <ide> func (container *Container) Start() (err error) { <ide> } <ide> <ide> if len(children) > 0 { <del> panic("todo crosbymichael") <del> /* <del> linking is specific to iptables and the bridge we need to move this to a job <del> <del> container.activeLinks = make(map[st...
3
Python
Python
introduce various linting fixes to `numpy.typing`
afd99d7c76b4caeee419d09f1d2bed661226a59e
<ide><path>numpy/typing/__init__.py <ide> Timedelta64 <ide> ~~~~~~~~~~~ <ide> <del>The `~numpy.timedelta64` class is not considered a subclass of `~numpy.signedinteger`, <del>the former only inheriting from `~numpy.generic` while static type checking. <add>The `~numpy.timedelta64` class is not considered a subclass of...
7
Text
Text
add missing yaml tag in `esm.md`
18b833455ceb6eb3d319d47ca017eb4158cc3d9d
<ide><path>doc/api/esm.md <ide> would provide the exports interface for the instantiation of `module.wasm`. <ide> <ide> ## Top-level `await` <ide> <del><!-- <add><!-- YAML <ide> added: v14.8.0 <ide> --> <ide>
1
Ruby
Ruby
push options inside the scope object
20ec0d2aaee0878f819c1d2278e078b1039aee3e
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> module ActionDispatch <ide> module Routing <ide> class Mapper <ide> URL_OPTIONS = [:protocol, :subdomain, :domain, :host, :port] <del> SCOPE_OPTIONS = [:path, :shallow_path, :as, :shallow_prefix, :module, <del> :con...
1
Go
Go
fix login/logout with creds store
0eccc3838e4aac5318e98dcbfbe2100e253462de
<ide><path>api/client/login.go <ide> import ( <ide> "github.com/docker/docker/cliconfig/credentials" <ide> flag "github.com/docker/docker/pkg/mflag" <ide> "github.com/docker/docker/pkg/term" <del> "github.com/docker/engine-api/client" <ide> "github.com/docker/engine-api/types" <ide> ) <ide> <ide> func (cli *Docker...
3
Text
Text
add note about inline plugins and registration
d6972abd48b4012d38a7b0cc7133aee25ea90112
<ide><path>docs/docs/developers/plugins.md <ide> var chart3 = new Chart(ctx, {}); <ide> <ide> Plugins can also be defined directly in the chart `plugins` config (a.k.a. *inline plugins*): <ide> <add>> Note: *inline* plugins are not registered. Some plugins require registering, i.e. can't be used *inline*. <add> <ide>...
1
Javascript
Javascript
recognize shadow dom in attachment checks
9b77def560212d12fef2d0b9c12aa50727e3e5d7
<ide><path>src/core/isAttached.js <add>define( [ <add> "../core", <add> "../var/documentElement", <add> "../selector" // jQuery.contains <add>], function( jQuery, documentElement ) { <add> "use strict"; <add> <add> var isAttached = function( elem ) { <add> return jQuery.contains( elem.ownerDocument, elem ); <add> },...
8
Javascript
Javascript
fix code comment
b71a406d25679acbc154bd75c8feab9fc4047569
<ide><path>packages/ember-metal/lib/set_properties.js <ide> var changeProperties = Ember.changeProperties, <ide> observers will be buffered. <ide> <ide> @method setProperties <del> @param target <del> @param {Hash} properties <del> @return target <add> @param self <add> @param {Object} hash <add> @return sel...
1
Text
Text
fix a small typo in the readme.
a7b2b8caa529458d2fcab8ae90c3163d8836e12b
<ide><path>README.md <ide> map1.get('b') + " vs. " + map2.get('b') // 2 vs. 50 <ide> <ide> ### Browser <ide> <del>Immutable.js has no depenencnies, which makes it predictable to include in a Browser. <add>Immutable.js has no dependencies, which makes it predictable to include in a Browser. <ide> <ide> It's highly re...
1
PHP
PHP
remove unneeded elseif
1d5c21ad8bca813ec94ded483934568c3bb6b3e6
<ide><path>src/Database/Expression/CaseExpression.php <ide> protected function _addExpressions($conditions, $values, $types) <ide> $value = $keyValues[$k]; <ide> array_push($this->_values, $value); <ide> continue; <del> } elseif ($value === 'identifier') { <add...
1
Text
Text
update membership procedures
7bc427405a475e8aabb4fbd31367f375a88ed6ab
<ide><path>docs/Homebrew-Leadership-Responsibilities.md <ide> - Book a group dinner (which Homebrew pays for) and check for any dietary requirements <ide> - Ask someone to bring a conference/table microphone for people to be able to remotely participate in AGM <ide> - February after the AGM: <del> - Add the minute...
2
Java
Java
fix single.using, add unit tests and coverage
4f878d56988d572257309dad1a1d0c9fe601f3d8
<ide><path>src/main/java/io/reactivex/internal/operators/single/SingleLift.java <ide> package io.reactivex.internal.operators.single; <ide> <ide> import io.reactivex.*; <del>import io.reactivex.plugins.RxJavaPlugins; <add>import io.reactivex.exceptions.Exceptions; <add>import io.reactivex.internal.disposables.EmptyDis...
8
Mixed
Text
remove deprecated file `rails/rack/debugger
7563bf7b46e6f04e160d664e284a33052f9804b8
<ide><path>railties/CHANGELOG.md <add>* Remove deprecated file `rails/rack/debugger`. <add> <add> *Rafael Mendonça França* <add> <ide> * Remove deprecated `config.serve_static_files`. <ide> <ide> *Rafael Mendonça França* <ide><path>railties/lib/rails/rack/debugger.rb <del>require "active_support/deprecation...
2
Mixed
Go
support simple syntax --secret foo
a257f674ba22d325e7ad59541723c3ee4e9adc27
<ide><path>cli/command/service/opts_test.go <ide> package service <ide> <ide> import ( <del> "os" <ide> "reflect" <ide> "testing" <ide> "time" <ide> <ide> "github.com/docker/docker/api/types/container" <del> "github.com/docker/docker/opts" <ide> "github.com/docker/docker/pkg/testutil/assert" <ide> ) <ide> <ide>...
5
Ruby
Ruby
pass options to rails_blob_url
835e27289a8a3e7006856fc3177a286652cda9d6
<ide><path>activestorage/config/routes.rb <ide> route_for(:rails_service_blob, blob.signed_id, blob.filename, options) <ide> end <ide> <del> resolve("ActiveStorage::Blob") { |blob, options| route_for(:rails_blob, blob) } <add> resolve("ActiveStorage::Blob") { |blob, options| route_for(:rails_blob, ...
1
Text
Text
separate unrelated info about child_process.exec()
449f73b7ffd60e7dd140b360e4b53dc2428f4aef
<ide><path>doc/api/child_process.md <ide> exec('echo "The \\$HOME variable is $HOME"'); <ide> **Never pass unsanitized user input to this function. Any input containing shell <ide> metacharacters may be used to trigger arbitrary command execution.** <ide> <del>```js <del>const { exec } = require('child_process'); <del...
1
PHP
PHP
fix coding standards and improve assertions
38f2e89b20628aa81637d0c92afabfa3e71da632
<ide><path>tests/TestCase/Utility/XmlTest.php <ide> public function testBuildEmptyTag() <ide> */ <ide> public function testLoadHtml() <ide> { <del> $html_file = CORE_TESTS . 'Fixture/sample.html'; <del> $html = file_get_contents($html_file); <add> $htmlFile = CORE_TESTS . 'Fixture/samp...
1
Javascript
Javascript
add colors to debuglog()
a03458396b35c455f01a7429456fd8f0b5d7a4f4
<ide><path>lib/internal/util/debuglog.js <ide> 'use strict'; <ide> <del>const { format } = require('internal/util/inspect'); <add>const { inspect, format, formatWithOptions } = require('internal/util/inspect'); <ide> <ide> // `debugs` is deliberately initialized to undefined so any call to <ide> // debuglog() before ...
2
Javascript
Javascript
fix tests when spaces are in path
5ad93ab573dbe9555db0c1b9ab26de6672e7cb07
<ide><path>test/simple/test-cli-eval.js <ide> assert = require('assert'); <ide> child = require('child_process'); <ide> <del>nodejs = process.execPath; <add>nodejs = '"' + process.execPath + '"'; <ide> <ide> if (module.parent) { <ide> // signal we've been loaded as a module <ide><path>test/simple/test-error-reporti...
6
Javascript
Javascript
check typeof value
e549660ade46b14a73480859057759d41f7cf5eb
<ide><path>lib/EnvironmentPlugin.js <ide> class EnvironmentPlugin { <ide> }); <ide> } <ide> <del> defs[`process.env.${key}`] = value === undefined ? "undefined" : JSON.stringify(value); <add> defs[`process.env.${key}`] = typeof value === undefined ? "undefined" : JSON.stringify(value); <ide> <ide> retur...
1
Python
Python
allow string for ex_boot_disk on create_node
8664118c877a43f1434a576bd46223707589b078
<ide><path>libcloud/compute/drivers/gce.py <ide> def create_node(self, name, size, image, location=None, <ide> :type ex_metadata: ``dict`` or ``None`` <ide> <ide> :keyword ex_boot_disk: The boot disk to attach to the instance. <del> :type ex_boot_disk: :class:`StorageVolume` or ``str`` ...
1
PHP
PHP
fix lint errors
5cc635f95b131b9f36633a4e62e2a81d120bc92b
<ide><path>src/Http/ServerRequest.php <ide> public function __set($name, $value) <ide> "Setting {$name} as a property will be removed in 4.0.0. " . <ide> "Use {$method} instead." <ide> ); <add> <ide> return $this->{$name} = $value; <ide> } <ide> th...
3
Javascript
Javascript
add hook types for templates
84c915b1918339aa6c95a037e3e11c43fc1155d7
<ide><path>lib/AmdMainTemplatePlugin.js <ide> class AmdMainTemplatePlugin { <ide> } <ide> }; <ide> <del> for (const template of [mainTemplate, chunkTemplate]) { <del> template.hooks.renderWithEntry.tap( <del> "AmdMainTemplatePlugin", <del> onRenderWithEntry <del> ); <del> } <add> mainTemplate.hooks.r...
8
Python
Python
add extended info
8e92419f3b300323dc5916941bc3379a280813bc
<ide><path>glances/core/glances_processes.py <ide> def __get_process_stats(self, proc, <ide> procstat = proc.as_dict(attrs=['pid']) <ide> <ide> if mandatory_stats: <add> procstat['mandatory_stats'] = True <add> <ide> # Process CPU, MEM percent and name <ide> procstat...
2
PHP
PHP
handle model instance in authorize middleware
89b296b58b1fd8cd4a1c0e3993f091b5322caaf8
<ide><path>src/Illuminate/Auth/Middleware/Authorize.php <ide> <ide> use Closure; <ide> use Illuminate\Contracts\Auth\Access\Gate; <add>use Illuminate\Database\Eloquent\Model; <ide> use Illuminate\Contracts\Auth\Factory as Auth; <ide> <ide> class Authorize <ide> protected function getGateArguments($request, $models) <...
2
Mixed
Javascript
release notes for 1.0.0rc5 reality-distortion
e9ccec76a6694e2da4af3efbdad93aa6f01113f2
<ide><path>CHANGELOG.md <del><a name="v1.0.0rc4"></a> <del># v1.0.0rc4 insomnia-induction (2012-04-05) <add><a name="1.0.0rc5"></a> <add># 1.0.0rc5 reality-distortion (2012-04-12) <add> <add> <add>## Bug Fixes <add> <add>- **$location:** properly rewrite urls in html5 mode with base url set + don't rewrite links to <ad...
2
Text
Text
add note about clienterror writable handling
5bb4d01fbe1242c89eda198b92c0899da3736dbd
<ide><path>doc/api/http.md <ide> ensure the response is a properly formatted HTTP response message. <ide> correctly; <ide> * `rawPacket`: the raw packet of current request. <ide> <add>In some cases, the client has already received the response and/or the socket <add>has already been destroyed, like in case of `ECONN...
1
PHP
PHP
list work with middleware
cd46f5fcf99d448d96a9066aff39cb69e20c0c62
<ide><path>src/Illuminate/Foundation/Console/RouteListCommand.php <ide> class RouteListCommand extends Command { <ide> * @var array <ide> */ <ide> protected $headers = array( <del> 'Domain', 'URI', 'Name', 'Action', 'Before Filters', 'After Filters' <add> 'Domain', 'URI', 'Name', 'Action', 'Middleware' <ide> );...
1
Javascript
Javascript
reduce benchmark cases in test-benchmark-buffer
5f720bebe799bdcc365a8908f77d87d60f7d34f9
<ide><path>test/sequential/test-benchmark-buffer.js <ide> runBenchmark('buffers', <ide> [ <ide> 'aligned=true', <ide> 'args=1', <add> 'buffer=fast', <ide> 'encoding=utf8', <ide> 'len=2', <ide> 'method=',
1
Javascript
Javascript
remove react.autobind from examples
5db3a0e481d0b439ba87321a19d9b7b7b7e1ef15
<ide><path>docs/_js/examples/markdown.js <ide> var MarkdownEditor = React.createClass({\n\ <ide> getInitialState: function() {\n\ <ide> return {value: 'Type some *markdown* here!'};\n\ <ide> },\n\ <del> handleInput: React.autoBind(function() {\n\ <add> handleInput: function() {\n\ <ide> this.setState({val...
2
Ruby
Ruby
fix random ci fail due to non-deterministic order
419cda7cd240fbc226fc56ed06a71cc3a600fd45
<ide><path>activerecord/test/cases/batches_test.rb <ide> def test_find_in_batches_should_not_error_by_default <ide> end <ide> <ide> def test_find_in_batches_should_not_ignore_the_default_scope_if_it_is_other_then_order <del> special_posts_ids = SpecialPostWithDefaultScope.all.map(&:id).sort <add> default_sco...
1
Javascript
Javascript
clarify the purpose of ngform
549166740b944b2af45632bd04d7f360a24b2784
<ide><path>src/ng/directive/form.js <ide> function FormController(element, attrs, $scope, $animate) { <ide> * does not allow nesting of form elements. It is useful to nest forms, for example if the validity of a <ide> * sub-group of controls needs to be determined. <ide> * <add> * Note: the purpose of `ngForm` is to...
1
Text
Text
remove personal pronoun usage in errors.md
c37c21b6ef2ef13f45b99e88bf625a452c6c9c0a
<ide><path>doc/api/errors.md <ide> added: v13.10.0 <ide> --> <ide> <ide> The TLS socket must be connected and securily established. Ensure the 'secure' <del>event is emitted, before you continue. <add>event is emitted before continuing. <ide> <ide> <a id="ERR_TLS_INVALID_PROTOCOL_METHOD"></a> <ide> ### `ERR_TLS_INVAL...
1
Javascript
Javascript
fix possible issue reflectnode with vertex shader
a19b279b8236e215c6f31d0b8c2ba18d3348e205
<ide><path>examples/jsm/nodes/accessors/ReflectNode.js <ide> */ <ide> <ide> import { TempNode } from '../core/TempNode.js'; <add>import { PositionNode } from './PositionNode.js'; <add>import { NormalNode } from './NormalNode.js'; <ide> <ide> function ReflectNode( scope ) { <ide> <ide> ReflectNode.prototype.generate...
1
Ruby
Ruby
add tests for `current_preventing_writes`
0919871bda924c750bcf86135fa697021d4c1705
<ide><path>activerecord/test/cases/base_prevent_writes_test.rb <ide> class BasePreventWritesTest < ActiveRecord::TestCase <ide> <ide> assert_match %r/\AWrite query attempted while in readonly mode: INSERT /, conn2_error.message <ide> end <add> <add> test "current_preventing_writes" do <add> ActiveRec...
1
Python
Python
update invalid token case
1712c00001b57110b13d3e2fa926da0ef8ce3c5a
<ide><path>rest_framework/authentication.py <ide> def authenticate(self, request): <ide> return self.authenticate_credentials(token) <ide> <ide> def authenticate_credentials(self, key): <add> model = self.get_model() <ide> try: <del> token = self.get_model().objects.select_related...
2
Mixed
Ruby
add reload_association to documentation [ci skip]
f2810f1dab649b2999fa0ad991ddabb416c5be74
<ide><path>activerecord/lib/active_record/associations.rb <ide> def association_instance_set(name, association) <ide> # build_other(attributes={}) | X | | X <ide> # create_other(attributes={}) | X | | X <ide> # create_other!(attribut...
2
Python
Python
add compatibility with both 0.8 and 0.9 api
3484a373a12b69a8e9c194ffc24b4cb854e10b7f
<ide><path>glances/exports/glances_influxdb.py <ide> from glances.exports.glances_export import GlancesExport <ide> <ide> from influxdb import InfluxDBClient, client <add>from influxdb.influxdb08 import InfluxDBClient as InfluxDBClient_Legacy <ide> <ide> <ide> class Export(GlancesExport): <ide> def init(self): <ide>...
1
Mixed
Python
remove trailing spaces
a481bfa231ce1dc4eeaec2a1c1db740e267f663e
<ide><path>DIRECTORY.md <ide> * [Base32](https://github.com/TheAlgorithms/Python/blob/master/ciphers/base32.py) <ide> * [Base64 Cipher](https://github.com/TheAlgorithms/Python/blob/master/ciphers/base64_cipher.py) <ide> * [Base85](https://github.com/TheAlgorithms/Python/blob/master/ciphers/base85.py) <add> * [Be...
2
Go
Go
fix assertportlist normalizing being too strict
c8599a6537016dc27d01f756c6747aa709554a45
<ide><path>integration-cli/docker_cli_port_test.go <ide> func assertPortList(c *testing.T, out string, expected []string) error { <ide> // of the CLI used an incorrect output format for mappings on IPv6 addresses <ide> // for example, "80/tcp -> :::80" instead of "80/tcp -> [::]:80". <ide> oldFormat := func(mapping ...
1
Javascript
Javascript
add test cases for
4fb2ac5be1ec2be2c1d97b7c70be8423dbae2db4
<ide><path>test/simple/test-util-inspect.js <ide> assert.ok(ex.indexOf('[type]') != -1); <ide> // GH-1941 <ide> // should not throw: <ide> assert.equal(util.inspect(Object.create(Date.prototype)), '{}') <add> <add>// GH-1944 <add>assert.doesNotThrow(function () { <add> var d = new Date(); <add> d.toUTCString = null; ...
1
Javascript
Javascript
add ast transform to validate `...attributes`
647ae44b8f130b79689d10a47041897c5da20a53
<ide><path>packages/ember-template-compiler/lib/plugins/assert-splattribute-expression.js <add>import { assert } from '@ember/debug'; <add>import calculateLocationDisplay from '../system/calculate-location-display'; <add>import { EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION } from '@ember/canary-features'; <add> <add>export ...
3
Python
Python
resolve line-too-long in utils
80ee2fa4e1db2dda14370110830db82be3eb97b7
<ide><path>keras/tools/pip_package/create_pip_helper.py <ide> def verify_python_files_in_pip(pip_root, bazel_root): <ide> python_files = set(fnmatch.filter(files, "*.py")) <ide> python_test_files = set(fnmatch.filter(files, "*test.py")) <ide> python_benchmark_files = set(fnmatch.filter(files, "*...
32
Mixed
Python
add overwrite parameter to models.save_weights()
08547d2582ce3071495d2f992381a5dbba605882
<ide><path>docs/sources/models.md <ide> model = keras.models.Sequential() <ide> - __Return__: loss over the data, or tuple `(loss, accuracy)` if `accuracy=True`. <ide> - __test__(X, y, accuracy=False): Single performance evaluation on one batch. if accuracy==False, return tuple (loss_on_batch, accuracy_on_b...
2
Mixed
Ruby
remove more references to white list
2c5c452d8cf3ee8e042aa4c0187b32a88d0da025
<ide><path>actionpack/lib/action_controller/metal/strong_parameters.rb <ide> def unpermitted_keys(params) <ide> # --- Filtering ---------------------------------------------------------- <ide> # <ide> <del> # This is a white list of permitted scalar types that includes the ones <add> # This is a ...
2
Python
Python
fix memory issues in language.evaluate
b57be94c78998f0ad2abc69fe0a8f486e2a1f75b
<ide><path>spacy/language.py <ide> def evaluate( <ide> <ide> DOCS: https://nightly.spacy.io/api/language#evaluate <ide> """ <add> examples = list(examples) <ide> validate_examples(examples, "Language.evaluate") <ide> if batch_size is None: <ide> batch_size = self.batc...
3
Go
Go
add test for rest api container rename
8f752ffeafd2f8c08035a5e39220fe17c9309fd7
<ide><path>integration-cli/docker_api_containers_test.go <ide> func (s *DockerSuite) TestStartWithTooLowMemoryLimit(c *check.C) { <ide> c.Assert(status, check.Equals, http.StatusInternalServerError) <ide> c.Assert(strings.Contains(string(b), "Minimum memory limit allowed is 4MB"), check.Equals, true) <ide> } <add> <a...
1
Ruby
Ruby
integrate brew list with brew cask list
28c0962430bb33806bb4870ba394192e606d26f5
<ide><path>Library/Homebrew/cmd/list.rb <ide> require "metafiles" <ide> require "formula" <ide> require "cli/parser" <add>require "cask/cmd" <ide> <ide> module Homebrew <ide> module_function <ide> def list_args <ide> switch "--pinned", <ide> description: "Show the versions of pinned formulae, or o...
1
Javascript
Javascript
remove proptypes from incrementalpresenter
0625c348cc8fe189e56d7b83ab000a87b8ba8a4f
<ide><path>Libraries/Components/View/ViewPropTypes.js <ide> type DirectEventProps = $ReadOnly<{| <ide> * <ide> * See http://facebook.github.io/react-native/docs/view.html#onlayout <ide> */ <del> onLayout?: ?(event: LayoutEvent) => void, <add> onLayout?: ?(event: LayoutEvent) => mixed, <ide> <ide> /** <ide...
2