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
Javascript
Javascript
split overridenative method into separate methods
083a86c363f61c7861cb592ae59e982a8241cc2e
<ide><path>src/js/tech/html5.js <ide> class Html5 extends Tech { <ide> } <ide> <ide> /** <del> * Attempt to force override of native audio/video tracks. <add> * Attempt to force override of tracks for the given type <ide> * <add> * @param {String} type - Track type to override, possible values include 'Au...
3
Mixed
Go
unify workdir handling
f42033ba9484ab31611bb1e4a0416beb3aa956da
<ide><path>container/container.go <ide> func (container *Container) SetupWorkingDirectory(rootUID, rootGID int) error { <ide> <ide> container.Config.WorkingDir = filepath.Clean(container.Config.WorkingDir) <ide> <del> // If can't mount container FS at this point (e.g. Hyper-V Containers on <del> // Windows) bail out...
6
Python
Python
move attrs tests from unit to root and modernise
01f36ca3fff38b916201fb9a2073ed5fd379b649
<ide><path>spacy/tests/test_attrs.py <add># coding: utf-8 <add>from __future__ import unicode_literals <add> <add>from ..attrs import intify_attrs, ORTH, NORM, LEMMA, IS_ALPHA <add> <add>import pytest <add> <add> <add>@pytest.mark.parametrize('text', ["dog"]) <add>def test_attrs_key(text): <add> assert intify_attrs(...
2
Javascript
Javascript
fix code splitting on windows
54ab3bc5be3f2e1313a3af6f6d7461cf1c61778d
<ide><path>build/webpack.js <ide> export default async function getBaseWebpackConfig (dir: string, {dev = false, i <ide> // Because _app.js is used on every page we don't want to <ide> // duplicate them in other bundles. <ide> const chunks = module.getChunks() <add> const appBundl...
1
Text
Text
remove obsolete wiki references from building
452d73df23f3283797f1e1099a1fddc635643d45
<ide><path>BUILDING.md <ide> $ make <ide> <ide> ### `Intl` (ECMA-402) support: <ide> <del>[Intl](https://github.com/nodejs/node/wiki/Intl) support is <add>[Intl](https://github.com/nodejs/node/blob/master/doc/api/intl.md) support is <ide> enabled by default, with English data only. <ide> <ide> #### Default: `small-i...
1
Text
Text
update changelog for linter changes. closes
4f6cb03adde9ddf800e2ecf6fa87b07d436b74e8
<ide><path>CHANGELOG.md <ide> CHANGELOG <ide> ========= <ide> <ide> ## HEAD (Unreleased) <del>_(none)_ <add>* @misteroneill, @BrandonOCasey, and @pagarwal123 updates all the code to pass the linter ([view](https://github.com/videojs/video.js/pull/3459)) <add>* @misteroneill added ghooks to run linter on git push ([vie...
1
PHP
PHP
add bitwise not operator
9b7491e31381bad1216d018973563d996c77c082
<ide><path>src/Illuminate/Database/Query/Builder.php <ide> class Builder <ide> public $operators = [ <ide> '=', '<', '>', '<=', '>=', '<>', '!=', '<=>', <ide> 'like', 'like binary', 'not like', 'ilike', <del> '&', '|', '^', '<<', '>>', <add> '&', '|', '^', '<<', '>>', '&~', <ide> ...
1
Text
Text
fix v14.x link maintaining openssl guide
3a4f9649304776db7a3a62ebbc0cb477c60c6355
<ide><path>doc/contributing/maintaining-openssl.md <ide> currently need to generate four PRs as follows: <ide> of this guide. <ide> * a PR for 16.x following the instructions in the v16.x-staging version <ide> of this guide. <del>* a PR for 14.x following the instructions in the v14.x-staging version <add>* a PR fo...
1
PHP
PHP
add documentation and fix typos
da5d343aa7c9258c54dbd5e917cc92b3618a033e
<ide><path>Cake/ORM/Behavior.php <ide> class Behavior implements EventListener { <ide> * <ide> * @var array <ide> */ <del> protected static $_reflectionMethods; <add> protected static $_reflectionMethods = []; <ide> <ide> /** <ide> * Contains configuration settings. <ide> public function implementedEvents() { <ide...
1
Ruby
Ruby
add support for callbacks
c16c7a8de4e543a92de10a138bdd7caa5ac902d7
<ide><path>actionpack/lib/action_controller/abstract/base.rb <ide> def initialize <ide> <ide> def process(action_name) <ide> @_action_name = action_name <del> send(action_name) <add> process_action <ide> self.response_obj[:body] = self.response_body <ide> self <ide> end <ide> ...
6
Text
Text
use default title, labels
cf0dd8ba7876380baeb103158017ed8c497005f8
<ide><path>.github/ISSUE_TEMPLATE/discussion.md <ide> --- <ide> name: 🗣 Start a Discussion <ide> about: Use https://github.com/react-native-community/discussions-and-proposals to propose changes or discuss feature requests. <add>title: [Discussion] <add>labels: "For Discussion" <ide> --- <ide> <ide> Use https://githu...
3
Text
Text
remove duplicate breaking change for 1.3.0-rc.5
86a33613534715547ac5e2a5aec490e8b4fa3d55
<ide><path>CHANGELOG.md <ide> Now: `$locationChangeStart` -> `$routeChangeStart` <ide> <ide> Fixes #5581 <ide> Closes #5714 <del>Closes #9502- **ngAnimate:** due to [667183a8](https://github.com/angular/angular.js/commit/667183a8c79d6ffce571a2be78c05dc76503b222), <del> <del> <del>The $animate class API will always def...
1
PHP
PHP
restore exception catching on result
4c46c2294f135264dce48d4d178af4a45a9bf6fb
<ide><path>src/Illuminate/Console/Application.php <ide> public function call($command, array $parameters = []) <ide> <ide> $this->setCatchExceptions(false); <ide> <del> return $this->run(new ArrayInput($parameters->toArray()), $this->lastOutput); <add> $result = $this->run(new ArrayInput($parame...
1
Javascript
Javascript
remove redundant unref calls
d9b56fe2950af7463438a47b90e5d65ce8aafde5
<ide><path>lib/timers/promises.js <ide> function setTimeout(after, value, options = {}) { <ide> } <ide> let oncancel; <ide> const ret = new Promise((resolve, reject) => { <del> const timeout = new Timeout(resolve, after, args, false, true); <del> if (!ref) timeout.unref(); <add> const timeout = new Timeo...
1
Java
Java
fix toflowable marbles and descriptions
fbbae6c37bca0a22e32aad6f2901cf65fc460d8a
<ide><path>src/main/java/io/reactivex/Flowable.java <ide> public final T blockingSingle(T defaultItem) { <ide> } <ide> <ide> /** <del> * Returns a {@link Future} representing the single value emitted by this {@code Flowable}. <add> * Returns a {@link Future} representing the only value emitted by this ...
2
Javascript
Javascript
use update lane priority in work loop
e0fd9e67fce5748990ff4a4d0802878ded230771
<ide><path>packages/react-reconciler/src/ReactFiberWorkLoop.new.js <ide> export function requestUpdateLane(fiber: Fiber): Lane { <ide> // To do that, we're replacing it with an update lane priority. <ide> const schedulerPriority = getCurrentPriorityLevel(); <ide> <del> // The old behavior was using the priority l...
2
Python
Python
remove unicode declarations
f12a46472c6d5f5cf05a2576ccffe1ca82d2f37e
<ide><path>spacy/lang/eu/__init__.py <del># coding: utf8 <del>from __future__ import unicode_literals <del> <ide> from .stop_words import STOP_WORDS <ide> from .lex_attrs import LEX_ATTRS <ide> from .punctuation import TOKENIZER_SUFFIXES <ide><path>spacy/lang/eu/examples.py <del># coding: utf8 <del>from __future__ impo...
18
Text
Text
update devops docs
30a6b5975fc8c2bc11c6458108a60a59291b6e4f
<ide><path>docs/devops.md <ide> Let us know, if you have feedback or queries, and we will be happy to clarify. <ide> <ide> ## How do we build, test and deploy the codebase? <ide> <del>Our codebase is continuously built, tested and deployed to **separate sets of infrastructure (Servers, Databases, CDNs, etc.)**. This...
1
Python
Python
update core.py with f-strings (issue )
fcaf5b3739831cae342c6acdbc30e1a5124b9982
<ide><path>numpy/ma/core.py <ide> def _scalar_heuristic(arr, elem): <ide> dout._fill_value.flat[0]).all(): <ide> warnings.warn( <ide> "Upon accessing multidimensional field " <del> f"{indx:s}, need...
1
Python
Python
remove unused import
7198cf1c8aa9d3d63772b263ec0cce1cbca15083
<ide><path>spacy/cli/model.py <ide> from pathlib import Path <ide> from preshed.counter import PreshCounter <ide> <del>from ..vocab import Vocab, write_binary_vectors <add>from ..vocab import write_binary_vectors <ide> from .. import util <ide> <ide>
1
PHP
PHP
fix more tests for sqlserver
69b23e49f240bf09c13857196510cf6b1c9faa41
<ide><path>tests/TestCase/Database/Schema/TableSchemaTest.php <ide> public function testConstraintForeignKey() <ide> */ <ide> public function testConstraintForeignKeyTwoColumns() <ide> { <add> $this->getTableLocator()->clear(); <ide> $table = $this->getTableLocator()->get('Orders'); <ide> ...
2
Javascript
Javascript
run ajax tests in swarm
7bef99e94d0fa6a9885403760e30a59ef32e96a4
<ide><path>test/data/testrunner.js <ide> jQuery.noConflict(); // Allow the test to run with other libs or jQuery's. <ide> } <ide> <ide> // (Temporarily) Disable Ajax tests to reduce network strain <del> isLocal = QUnit.isLocal = true; <add> // isLocal = QUnit.isLocal = true; <ide> <ide> document.write("<scr" + "ip...
1
Ruby
Ruby
fix a wrong correction
dcdbcdf81c5d32948d71a5f9036e1401c770e5de
<ide><path>activerecord/test/cases/arel/select_manager_test.rb <ide> def test_join_sources <ide> @m2.where(table[:age].lt(99)) <ide> end <ide> <del> it "should interact two managers" do <add> it "should intersect two managers" do <ide> # FIXME should this intersect "managers" or "statem...
1
Javascript
Javascript
use paths without fragment and query
0197867237cd1ef4c1e13d5fcafc71f4585bff9d
<ide><path>lib/FileSystemInfo.js <ide> class FileSystemInfo { <ide> return callback(); <ide> } <ide> resolveResults.set(key, undefined); <del> resolveContext(context, path, resolverContext, (err, result) => { <add> resolveContext(context, path, resolverContext, (err, _, result) => { <ide> ...
1
Text
Text
add link to user guide to end of 14.04 section
823cb1281060981a537b4d36315bf0a02074b2a2
<ide><path>docs/sources/installation/ubuntulinux.md <ide> To verify that everything has worked as expected: <ide> <ide> Which should download the `ubuntu` image, and then start `bash` in a container. <ide> <add>Type `exit` to exit <add> <add>**Done!**, continue with the [User Guide](/userguide/). <add> <add> <ide> ##...
1
Javascript
Javascript
add test case for req-res close ordering
ddac3bd14f14d1e830cf3b5fbd78483e1a87e8eb
<ide><path>test/parallel/test-http-req-res-close.js <ide> const common = require('../common'); <ide> const http = require('http'); <ide> const assert = require('assert'); <ide> <del>const server = http.Server(common.mustCall((req, res) => { <del> let resClosed = false; <del> <del> res.end(); <del> let resFinished =...
1
Ruby
Ruby
fix rollback of primarykey-less tables
f634c1fcf4796f633685f6801e260e0e792e547e
<ide><path>activerecord/lib/active_record/transactions.rb <ide> def restore_transaction_record_state(force = false) #:nodoc: <ide> thaw unless restore_state[:frozen?] <ide> @new_record = restore_state[:new_record] <ide> @destroyed = restore_state[:destroyed] <del> write_attribute...
2
Text
Text
add mafintosh to collaborators
d54f651910ffca2e50fad42dfec825d2339b1b6b
<ide><path>README.md <ide> For more information about the governance of the Node.js project, see <ide> **James M Snell** &lt;jasnell@gmail.com&gt; (he/him) <ide> * [joyeecheung](https://github.com/joyeecheung) - <ide> **Joyee Cheung** &lt;joyeec9h3@gmail.com&gt; (she/her) <add>* [mafintosh](https://github.com/mafintosh...
1
PHP
PHP
fix failing tests from bad merge
c9ba7d0d69ea202139f3ede6dc7b9b008118d3e9
<ide><path>tests/TestCase/Cache/Engine/MemcachedEngineTest.php <ide> public function testSaslAuthException() { <ide> ); <ide> <ide> $this->setExpectedException('PHPUnit_Framework_Error_Warning'); <del> $MemcachedEngine->init($settings); <add> $MemcachedEngine->init($config); <ide> } <ide> <ide> /**
1
Java
Java
suspend reading when no demand
0fbfa643856b07eb0d952905e527765fbd5c274f
<ide><path>spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerReadPublisher.java <ide> public final void onError(Throwable t) { <ide> @Nullable <ide> protected abstract T read() throws IOException; <ide> <add> /** <add> * Suspend reading. Defaults to no-op. <add> */ <add> protected v...
3
Ruby
Ruby
fix rubocop warnings
264afb67dfe275d6bc82f4d8ea700f770513a5b1
<ide><path>Library/Homebrew/dev-cmd/audit.rb <ide> def without_patch <ide> @text.split("\n__END__").first <ide> end <ide> <del> def has_DATA? <add> def data? <ide> /^[^#]*\bDATA\b/ =~ @text <ide> end <ide> <del> def has_END? <add> def end? <ide> /^__END__$/ =~ @text <ide> end <ide> <del> def h...
2
Text
Text
add resources section to readme.md
256f87e9542ec841693a0af3e260527790a39530
<ide><path>README.md <ide> These are the available config options for making requests. Only the `url` is re <ide> { <ide> // `url` is the server URL that will be used for the request <ide> url: '/user', <del> <add> <ide> // `method` is the request method to be used when making the request <ide> method: 'get',...
1
Ruby
Ruby
check argv.include?("--skip-homebrew") once
7ce0a2dedbb580501557168cacf14e27525cd2ad
<ide><path>Library/Homebrew/cmd/test-bot.rb <ide> def initialize(argument, options={}) <ide> @steps = [] <ide> @tap = options[:tap] <ide> @repository = Homebrew.homebrew_git_repo @tap <del> @skip_homebrew = ARGV.include?("--skip-homebrew") || options[:skip_homebrew] <add> @skip_homebrew = op...
1
Mixed
Text
instrument each load config initializer
251923c7a85a303d74b41255c39d8928ffa109ea
<ide><path>guides/source/active_support_instrumentation.md <ide> INFO. Cache stores my add their own keys <ide> } <ide> ``` <ide> <add>Railties <add>-------- <add> <add>### load_config_initializer.railties <add> <add>| Key | Value | <add>| -------------- | ---...
4
Javascript
Javascript
detect sneaky no-content replacewith input
4b27ae16a2b911f75b341b56d9d939bc65a9657a
<ide><path>src/manipulation.js <ide> jQuery.extend({ <ide> return clone; <ide> }, <ide> <del> buildFragment: function( elems, context, scripts, selection ) { <add> buildFragment: function( elems, context, scripts, selection, ignored ) { <ide> var elem, tmp, tag, wrap, contains, j, <ide> fragment = context.crea...
2
Python
Python
add flops computation into run_experiment
4bd2888b8d2b0015a8fd28c8b9d3d3f275fd55ff
<ide><path>official/core/train_lib.py <ide> def timeout_fn(): <ide> logging.info('Number of trainable params in model: %f Millions.', <ide> num_params / 10.**6) <ide> <add> flops = train_utils.try_count_flops(trainer.model) <add> if flops is not None: <add> logging.info('FLOPs (multi-adds) in...
2
Javascript
Javascript
remove nonprofits seeding procedures
cda1ab780e396f27ddf5a6499f417caa34e8b21f
<ide><path>nonprofits.js <del>/* eslint-disable no-process-exit */ <del>require('babel/register'); <del>require('dotenv').load(); <del> <del>var Rx = require('rx'); <del>var app = require('../server/server'); <del> <del>var Nonprofits = app.models.Nonprofit; <del>var nonprofits = require('./nonprofits.json'); <del>var ...
1
Javascript
Javascript
avoid clone()
904e56e78e4dd85e86bc36498e6a8a53bab6414d
<ide><path>src/cameras/StereoCamera.js <ide> import { PerspectiveCamera } from './PerspectiveCamera.js'; <ide> <ide> const _eyeRight = /*@__PURE__*/ new Matrix4(); <ide> const _eyeLeft = /*@__PURE__*/ new Matrix4(); <add>const _projectionMatrix = /*@__PURE__*/ new Matrix4(); <ide> <ide> class StereoCamera { <ide> <i...
1
Python
Python
fix etree import
b352e504cce0bec552598c666a7791fa96561d1e
<ide><path>libcloud/storage/drivers/s3.py <ide> if libcloud.utils.py3.DEFAULT_LXML: <ide> from lxml.etree import Element, SubElement <ide> else: <del> from xml.etree import Element, SubElement <add> from xml.etree.ElementTree import Element, SubElement <ide> except ImportError: <del> fr...
1
PHP
PHP
fix bug in subscriber command
1176cd8a6442e574cd9c6461cfe1f5df6bbe1c06
<ide><path>src/Illuminate/Queue/Console/SubscribeCommand.php <ide> protected function getPushType() <ide> { <ide> if ($this->option('type')) return $this->option('type'); <ide> <del> return $this->getQueue()->push_type; <add> try <add> { <add> return $this->getQueue()->push_type; <add> } <add> catch (\Except...
1
Javascript
Javascript
add example in list
8d9130d3ddee37bd78c0aaf6de6da27e8f4c0c74
<ide><path>examples/files.js <ide> var files = { <ide> "webgl_simple_gi", <ide> "webgl_skinning_simple", <ide> "webgl_sprites", <add> "webgl_sprites_nodes", <ide> "webgl_terrain_dynamic", <ide> "webgl_test_memory", <ide> "webgl_test_memory2",
1
Go
Go
lock agent access in adddriverwatches
8653b7278614a069de978dcf669cab28eae7f342
<ide><path>libnetwork/agent.go <ide> func (n *network) addDriverWatches() { <ide> <ide> c := n.getController() <ide> for _, tableName := range n.driverTables { <del> ch, cancel := c.agent.networkDB.Watch(tableName, n.ID(), "") <ide> c.Lock() <add> if c.agent == nil { <add> c.Unlock() <add> return <add> } <a...
1
Ruby
Ruby
add support for casks
6794a78087991f84efc8f0a959a85c411733f3a3
<ide><path>Library/Homebrew/cask/dsl.rb <ide> <ide> require "locale" <ide> require "lazy_object" <add>require "livecheck" <ide> <ide> require "cask/artifact" <ide> <ide> class DSL <ide> :version, <ide> :appdir, <ide> :discontinued?, ...
6
PHP
PHP
use short array here
833a0e2dd9b85ba1d6cb7a925fcc353f319af2f4
<ide><path>src/Illuminate/Routing/Router.php <ide> public function dispatchToRoute(Request $request, $runMiddleware = true) <ide> return $route; <ide> }); <ide> <del> $this->events->fire('router.matched', array($route, $request)); <add> $this->events->fire('router.matched', [$route, $request]); <ide> <ide> /...
1
PHP
PHP
add getuploadedfiles and tests
be47f25214ec6a2a0e2bc9617976100b2521c6d4
<ide><path>src/Network/Request.php <ide> class Request implements ArrayAccess <ide> */ <ide> protected $emulatedAttributes = ['webroot', 'base', 'params']; <ide> <add> /** <add> * Array of Psr\Http\Message\UploadedFileInterface objects. <add> * <add> * @var array <add> */ <add> protected...
2
Mixed
Javascript
add a function to filter items out of the legend
3f2d7efc70409f9a8fd70ea093bf008f592132af
<ide><path>docs/01-Chart-Configuration.md <ide> fontColor | Color | "#666" | Font color inherited from global configuration <ide> fontFamily | String | "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif" | Font family inherited from global configuration <ide> padding | Number | 10 | Padding between rows of colored box...
3
Javascript
Javascript
change comment color to increase contrast
67e9ca4945d0ee511b72e73006bbef5e9333ac34
<ide><path>website/src/js/monokaiTheme.js <ide> module.exports = { <ide> { <ide> types: ['comment', 'prolog', 'doctype', 'cdata'], <ide> style: { <del> color: '#778090' <add> color: '#c6cad2' <ide> } <ide> }, <ide> {
1
Python
Python
remove guards around b/143684500
ca9dcdd437e608caf09930ea143d4a7b01a6c006
<ide><path>keras/optimizer_v2/adadelta_test.py <ide> <ide> from absl.testing import parameterized <ide> import numpy as np <del>from tensorflow.python.framework import test_util <ide> from keras import combinations <ide> from keras.optimizer_v2 import adadelta <ide> <del>_DATA_TYPES = [tf.half, tf.float32, tf.float64...
3
Text
Text
add linkedin to inthewild.md
409a4de858385c14d0ea4f32b8c4ad1fcfb9d130
<ide><path>INTHEWILD.md <ide> Currently, **officially** using Airflow: <ide> 1. [Liberty Global](https://www.libertyglobal.com/) [[@LibertyGlobal](https://github.com/LibertyGlobal/)] <ide> 1. [liligo](http://liligo.com/) [[@tromika](https://github.com/tromika)] <ide> 1. [LingoChamp](http://www.liulishuo.com/) [[@haitao...
1
Javascript
Javascript
fix typo in linear scale
ecd3b58b281cf604ad871f91f167d4374e5cc75e
<ide><path>src/scales/scale.linear.js <ide> <ide> if (this.options.labels.userCallback) { <ide> // If the user provided a callback for label generation, use that as first priority <del> label = this.options.lables.userCallback(tick, index, ticks); <add> label = this.options.labels.userCallback(tick, i...
1
PHP
PHP
change == to === for string comparison
ef14b13e396e0d70740b554ab76ac65214514b79
<ide><path>src/View/Helper/FormHelper.php <ide> public function input($fieldName, array $options = []) <ide> $options = $this->_parseOptions($fieldName, $options); <ide> $options += ['id' => $this->_domId($fieldName)]; <ide> <del> if (strtolower($options['type']) == 'input') { <add> if (s...
1
Javascript
Javascript
add signature for makewebpackerror
2ffb1a838e1a962c7bee0ea48dc7994bea090aaa
<ide><path>lib/Cache.js <ide> class Cache { <ide> const gotHandlers = []; <ide> this.hooks.get.callAsync(identifier, etag, gotHandlers, (err, result) => { <ide> if (err) { <del> callback(makeWebpackError(err)); <add> callback(makeWebpackError(err, "Cache.hooks.get")); <ide> return; <ide> } <ide> ...
3
Text
Text
add a changelog entry for [ci skip]
e2b21620e9711b5a9754a0cad8ee607887d56ea6
<ide><path>railties/CHANGELOG.md <add>* Add a public API to register new folders for `rake notes`: <add> <add> config.annotations.register_directories('spec', 'features') <add> <add> *John Meehan* <add> <ide> * Do not run `bundle install` when generating a new plugin. <ide> <ide> Since bundler 1.12.0...
1
Text
Text
use the docker hub as the product name
30cde97e5c9a35d47dd666e461c0ce83f2f69581
<ide><path>docs/security/trust/trust_sandbox.md <ide> Finally, you'll need to have `git` installed on your local system or VM. <ide> ## What is in the sandbox? <ide> <ide> If you are just using trust out-of-the-box you only need your Docker Engine <del>client and access to Docker's own public hub. The sandbox mimics a...
2
Go
Go
remove inmemory container map
b9b5dc37e37e67d1cd46d9a3448c96e3f57ef4bc
<ide><path>daemon/daemon.go <ide> func (daemon *Daemon) restore() error { <ide> alive bool <ide> ec uint32 <ide> exitedAt time.Time <add> process libcontainerdtypes.Process <ide> ) <ide> <del> alive, _, err = daemon.containerd.Restore(context.Background(), c.ID, c.InitializeStdio) <add> ...
9
Ruby
Ruby
use uninstall --force
3f08b8881b9a7ddebbe3e4fcd2e036e7f2ea01d0
<ide><path>Library/Homebrew/cmd/cleanup-installed.rb <ide> def cleanup_installed <ide> current_formulae = `brew list`.lines.map(&:strip) <ide> uninstall_formulae = current_formulae - kept_formulae <ide> return if uninstall_formulae.empty? <del> safe_system "brew", "uninstall", *uninstall_formulae <add> ...
1
Python
Python
fix wrong spelling of ufunc
723a67a4ac8facfd30c75a7c2380b3f08d76d03c
<ide><path>numpy/doc/ufuncs.py <ide> >>> np.array([0,2,3,4]) + np.array([1,1,-1,2]) <ide> array([1, 3, 2, 6]) <ide> <del>The unfunc module lists all the available ufuncs in numpy. Documentation on <add>The ufunc module lists all the available ufuncs in numpy. Documentation on <ide> the specific ufuncs may be found i...
1
Go
Go
remove unnecessary var decls
cec31abfea0576a9899b861a239ddf9dc1d7672a
<ide><path>daemon/create_unix.go <ide> import ( <ide> <ide> // createContainerPlatformSpecificSettings performs platform specific container create functionality <ide> func createContainerPlatformSpecificSettings(container *Container, config *runconfig.Config, hostConfig *runconfig.HostConfig, img *image.Image) error {...
1
Python
Python
add __wrapped__ property to _taskdecorator
a71e4b789006b8f36cd993731a9fb7d5792fccc2
<ide><path>airflow/decorators/base.py <ide> def __call__(self, *args, **kwargs) -> XComArg: <ide> op.doc_md = self.function.__doc__ <ide> return XComArg(op) <ide> <add> @property <add> def __wrapped__(self) -> Function: <add> return self.function <add> <ide> @cached_property <ide> ...
2
Javascript
Javascript
improve coverage of lib/_http_client.js
0ca6d21dfcfa91c5591616761426a79cec6048b5
<ide><path>test/parallel/test-http-createConnection.js <ide> const http = require('http'); <ide> const net = require('net'); <ide> const assert = require('assert'); <ide> <add>function commonHttpGet(fn) { <add> if (typeof fn === 'function') { <add> fn = common.mustCall(fn); <add> } <add> return new Promise((reso...
2
Text
Text
add a guide for doing releases
f4e3512076f05b81ddc8047665b4526259ea4a03
<ide><path>Releases.md <add>The list of releases with notes can be found at: <add>https://github.com/facebook/react-native/releases <add> <add>## Cut a release branch <add> <add>- Make sure iOS and Android Getting Started flow works on master. <add>- Publish to Maven Central: <add> - Edit `ReactAndroid/gradle.properti...
1
PHP
PHP
add test for progresshelper output with options
7349342044a50c194c8427d2c7ef418d20e02631
<ide><path>tests/TestCase/Shell/Helper/ProgressHelperTest.php <ide> public function testOutputSuccess() <ide> $this->assertEquals($expected, $this->stub->messages()); <ide> } <ide> <add> /** <add> * Test output with options <add> * <add> * @return void <add> */ <add> public function t...
1
Text
Text
remove member name
79fcc28fafb4a591dde05c0c91214fc45af1fd82
<ide><path>docs/FAQ.md <ide> If you have queries about the stack, architecture of the codebase, translations, <ide> | Nicholas Carrigan | [@nhcarrigan](https://forum.freecodecamp.org/u/nhcarrigan) | <ide> | Oliver Eyton-Williams | [@ojeytonwilliams](https://forum.freecodecamp.org/u/ojeytonwilliams...
1
PHP
PHP
use bootstrap 4 by default
12d789de8472dbbd763cb680e896b3d419f954c0
<ide><path>src/Illuminate/Pagination/AbstractPaginator.php <ide> abstract class AbstractPaginator implements Htmlable <ide> * <ide> * @var string <ide> */ <del> public static $defaultView = 'pagination::default'; <add> public static $defaultView = 'pagination::bootstrap-4'; <ide> <ide> /** <id...
1
Python
Python
whitespace changes for readability
2727198f9433ecc0214e2af531e132fafbdcdcc4
<ide><path>keras/layers/embeddings.py <ide> def __init__(self, input_dim, output_dim, init='uniform', weights=None, W_regula <ide> <ide> self.input = T.imatrix() <ide> self.W = self.init((self.input_dim, self.output_dim)) <del> T.set_subtensor(self.W[0,:], mask_val) <add> T.set_subtensor(...
2
Text
Text
add pr to the change log for v15.6
7842ff97c26ad2551b8e4810a9bda96bbffc922f
<ide><path>CHANGELOG.md <ide> <ide> ### React <ide> <add>* Add deprecation warnings and separate module for React.DOM factory helpers. ([@nhunzaker](https://github.com/nhunzaker) in [#8356](https://github.com/facebook/react/pull/8356)) <ide> * Fix bug where controlled number input mistakenly allowed period. ([@nhunz...
1
Mixed
Ruby
preserve default url options when generating urls
db870f222e7ba4402590ee2f4143bcd40c3dbc56
<ide><path>actionpack/CHANGELOG.md <add>* Preserve default url options when generating URLs <add> <add> Fixes an issue that would cause default_url_options to be lost when <add> generating URLs with fewer positional arguments than parameters in the <add> route definition. <add> <add> *Tekin Suleyman* <add...
3
Ruby
Ruby
address intermittent ci failure
7bf2075aa14b13361c84fff494e6bcf82465be60
<ide><path>activerecord/test/cases/relations_test.rb <ide> def test_typecasting_where_with_array <ide> ids = Author.pluck(:id) <ide> slugs = ids.map { |id| "#{id}-as-a-slug" } <ide> <del> assert_equal Author.all.to_a, Author.where(id: slugs).to_a <add> assert_equal Author.where(id: ids).to_a, Author.wher...
1
Text
Text
fix spanish translations for bootstrap buttons
28f4d54be1a4a91726d70c5a356133ff7a4335e7
<ide><path>guide/spanish/bootstrap/buttons/index.md <ide> localeTitle: Botones <ide> --- <ide> ## Botones <ide> <del>El marco de Bootstrap le proporciona varias opciones de estilo para los botones. Estos estilos le ayudan a proporcionar una representación visual al usuario de lo que puede hacer el botón. <add>El frame...
1
Go
Go
move pkg to cli/compose/convert
643fd775edb0a05d649f4d484e966428eb3a6b09
<ide><path>cli/command/stack/common.go <ide> import ( <ide> "github.com/docker/docker/api/types" <ide> "github.com/docker/docker/api/types/filters" <ide> "github.com/docker/docker/api/types/swarm" <add> "github.com/docker/docker/cli/compose/convert" <ide> "github.com/docker/docker/client" <ide> "github.com/docker/...
10
Text
Text
surround tags with code tags
d9b3fc3346e48568b184dcdeda5aab0ca82336f5
<ide><path>client/src/pages/guide/english/html/tables/index.md <ide> title: Tables <ide> --- <ide> ### Defining an HTML Table <ide> <del>An HTML table is defined with the <table> tag. <add>An HTML table is defined with the `<table>` tag. <ide> <del>Each table row is defined with the <tr> tag. Inside a row there may b...
1
Python
Python
implement separate checking for stdout and stderr
92770f4c6d6b74ee8788e621b67e757c1a21138e
<ide><path>numpy/distutils/exec_command.py <ide> def _exec_command( command, use_shell=None, use_tee = None, **env ): <ide> argv = [os.environ['COMSPEC'],'/C'] + argv <ide> using_command = 1 <ide> <del> _has_fileno = _supports_fileno(sys.stdout) <del> if _has_fileno: <add> _so_...
2
PHP
PHP
add $this->_domid to field
08b68ea0adb59df5c92d502c0331683bcbfc5b75
<ide><path>src/View/Helper/FormHelper.php <ide> public function error(string $field, $text = null, array $options = []): string <ide> <ide> return $this->formatTemplate('error', [ <ide> 'content' => $error, <del> 'id' => $field . '-error', <add> 'id' => $this->_domId($field) ....
1
PHP
PHP
use php 5.4 closures see
5c6c2bb3de560d6ff119b9107a2036416372891a
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> protected function loadRelation(array $models, $name, Closure $constraints) <ide> */ <ide> public function getRelation($relation) <ide> { <del> $me = $this; <del> <ide> // We want to run a relationship query without any constrains so that we will <ide...
6
Text
Text
update changelog for 1.4.0 and 1.5.0-beta.1
52be8919216abc125d59df0a96c3f51695d1253e
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### Ember 1.5.0-beta.1 (February 14, 2014) <add> <add>* [FEATURE ember-handlebars-log-primitives] <add>* [FEATURE ember-testing-routing-helpers] <add>* [FEATURE ember-testing-triggerEvent-helper] <add>* [FEATURE computed-read-only] <add>* [FEATURE ember-metal-...
1
Javascript
Javascript
replace symbol.hasinstance by symbolhasinstance
48d986c40f7faee312e8482dd35d78d9a448859c
<ide><path>lib/_stream_writable.js <ide> const { <ide> ObjectDefineProperty, <ide> ObjectSetPrototypeOf, <ide> Symbol, <add> SymbolHasInstance, <ide> } = primordials; <ide> <ide> module.exports = Writable; <ide> ObjectDefineProperty(WritableState.prototype, 'buffer', { <ide> // Test _writableState for inheritan...
2
Javascript
Javascript
add babel helpers necessary for es2015 imports
ffea7793aff0961ebc22007d650ce36f7c2e61cb
<ide><path>packager/react-packager/src/Resolver/polyfills/babelHelpers.js <ide> /* eslint-disable strict */ <ide> <ide> // Created by running: <del>// require('babel-core').buildExternalHelpers('_extends classCallCheck createClass createRawReactElement defineProperty get inherits objectWithoutProperties possibleConstr...
1
Python
Python
fix train command line args
6e8dce2c05cf81ad3123e9b8b064f630184ce615
<ide><path>spacy/cli/train.py <ide> def train(_, lang, output_dir, train_data, dev_data, n_iter=20, n_sents=0, <ide> if no_entities and 'entities' in pipeline: pipeline.remove('entities') <ide> <ide> nlp = lang_class(pipeline=pipeline) <del> corpus = GoldCorpus(train_path, dev_path) <add> corpus = GoldCo...
1
Python
Python
create new databases from the orm
5588c3fe6e5641e651d20d08fa43fe508e265d2f
<ide><path>airflow/migrations/versions/0080_2_0_2_change_default_pool_slots_to_1.py <ide> def upgrade(): <ide> <ide> def downgrade(): <ide> """Unapply Change default ``pool_slots`` to ``1``""" <add> conn = op.get_bind() <add> if conn.dialect.name == 'mssql': <add> # DB created from ORM doesn't set a s...
9
Javascript
Javascript
add more markers on atom-environment
b59d6d838f230f4bd074b7364bdab28baded2241
<ide><path>src/atom-environment.js <ide> const TextEditor = require('./text-editor') <ide> const TextBuffer = require('text-buffer') <ide> const TextEditorRegistry = require('./text-editor-registry') <ide> const AutoUpdateManager = require('./auto-update-manager') <add>const StartupTime = require('./startup-time') <ide...
1
Ruby
Ruby
add audit for head default branch
d75320069f37d757030c8e55d219fadd2107f8ba
<ide><path>Library/Homebrew/resource_auditor.rb <ide> def audit_urls <ide> end <ide> end <ide> <add> def audit_head_branch <add> return if !@online || !@strict || spec_name != :head || !Utils::Git.remote_exists?(url) <add> <add> branch = Utils.popen_read("git", "ls-remote", "--symref", url, "HEA...
1
Python
Python
make third argument to recarray.__new__ a keyword
bedbd80af325f1f234a1ffc6acc7fcd429528b3e
<ide><path>numpy/core/records.py <ide> def __setattr__(self, attr, val): <ide> # the fields (and any subfields) <ide> <ide> class recarray(sb.ndarray): <del> def __new__(subtype, shape, formats, names=None, titles=None, <add> def __new__(subtype, shape, dtype=formats, names=None, titles=None, <ide> ...
1
PHP
PHP
apply fixes from styleci
a03088928d1d6b3680c10727d169817324e45967
<ide><path>tests/Validation/ValidationValidatorTest.php <ide> public function testValidateMimetypes() <ide> <ide> $file = $this->getMockBuilder('Symfony\Component\HttpFoundation\File\UploadedFile')->setMethods(['guessExtension'])->setConstructorArgs($uploadedFile)->getMock(); <ide> $file->expects($this...
1
Python
Python
add test for is_jwt_expired method
0da8abecccd6da8cde25a3a5a5809d56e5488c81
<ide><path>libcloud/common/gig_g8.py <ide> def is_jwt_expired(jwt): <ide> claimsdata = claimsdata.decode('utf-8') <ide> data = json.loads(claimsdata) <ide> # check if it's about to expire in the next minute <del> return data['exp'] < time.time() - 60 <add> return data['exp'] < time.time() + 60 <id...
2
Javascript
Javascript
use attributebindings instead of renderbuffer
f2702e91bcbb9fa1ba4527c0e5eededb5f0aac39
<ide><path>packages/sproutcore-handlebars/lib/controls/button.js <ide> SC.Button = SC.View.extend({ <ide> classNameBindings: ['isActive'], <ide> <ide> tagName: 'button', <add> attributeBindings: ['type'], <ide> type: 'button', <ide> <del> renderBuffer: function(tagName) { <del> return SC.RenderBuffer(tag...
1
Javascript
Javascript
correct monthsshort "feb" to "fev"
bbaa2fa180db5d535a00cf08e322545ca592d9ff
<ide><path>lang/pt.js <ide> (function () { <ide> var lang = { <ide> months : "Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"), <del> monthsShort : "Jan_Feb_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"), <add> monthsShort : ...
1
Python
Python
implement replace_listeners for source in config
82d3caf8611b60a73471c73e9b0993fea06b32cd
<ide><path>spacy/language.py <ide> def from_config( <ide> # model with the same vocab as the current nlp object <ide> source_nlps[model] = util.load_model(model, vocab=nlp.vocab) <ide> source_name = pipe_cfg.get("component", pipe_name) <add> ...
1
Javascript
Javascript
add roles to custom inputs
29cdaee2b6e853bc3f8882a00661698d146ecd18
<ide><path>src/ngAria/aria.js <ide> ngAriaModule.directive('ngShow', ['$aria', function($aria) { <ide> return $aria.config(normalizedAttr) && !elem.attr(attr); <ide> } <ide> <add> function shouldAttachRole(role, elem) { <add> return !elem.attr('role') && (elem.attr('type') === role) && (elem[0].nodeName !== ...
2
Mixed
Ruby
add range to list of supported arguments for jobs
61fb58f6a7f852d765d616d1da41d17851ec7afc
<ide><path>activejob/lib/active_job/arguments.rb <ide> def initialize #:nodoc: <ide> # currently support String, Integer, Float, NilClass, TrueClass, FalseClass, <ide> # BigDecimal, Symbol, Date, Time, DateTime, ActiveSupport::TimeWithZone, <ide> # ActiveSupport::Duration, Hash, ActiveSupport::HashWithIndifferent...
3
Javascript
Javascript
fix flaky test-dns-any.js
fb74e98243e3fabd5fa45587cf1c68948673662e
<ide><path>test/internet/test-dns-any.js <ide> function processResult(res) { <ide> return types; <ide> } <ide> <del>TEST(async function test_google(done) { <del> function validateResult(res) { <del> const types = processResult(res); <del> assert.ok( <del> types.A && types.AAAA && types.MX && types.NS && ...
1
Go
Go
remove unecessary memeory limit within tests
6ebb2491314afb3be4b0b82d14ddba743ec460de
<ide><path>container_test.go <ide> func TestIdFormat(t *testing.T) { <ide> defer nuke(runtime) <ide> container1, err := runtime.Create( <ide> &Config{ <del> Image: GetTestImage(runtime).Id, <del> Cmd: []string{"/bin/sh", "-c", "echo hello world"}, <del> Memory: 33554432, <add> Image: GetTestImage(runtim...
1
Javascript
Javascript
add a missing common.mustcall
a4dce9ab86a29534ba91c5c46df4983ee265b532
<ide><path>test/parallel/test-process-getactiverequests.js <ide> 'use strict'; <ide> <del>require('../common'); <add>const common = require('../common'); <ide> const assert = require('assert'); <ide> const fs = require('fs'); <ide> <ide> for (let i = 0; i < 12; i++) <del> fs.open(__filename, 'r', () => {}); <add> f...
1
Python
Python
fix lint error (trailing whitespace)
0cc529052ae35227dc6a06ca21a6ffba1112350f
<ide><path>official/resnet/ctl/ctl_imagenet_main.py <ide> def get_input_dataset(flags_obj, strategy): <ide> <ide> if strategy: <ide> train_ds = strategy.experimental_distribute_dataset(train_ds) <del> <add> <ide> test_ds = None <ide> if not flags_obj.skip_eval: <ide> test_ds = input_fn( <ide><path>offi...
2
Text
Text
add prerequisites information for arch
9e805b1fbf3ae7658dfbf2aca22d6d2f1e099474
<ide><path>BUILDING.md <ide> Installation via Linux package manager can be achieved with: <ide> * Fedora: `sudo dnf install python gcc-c++ make` <ide> * CentOS and RHEL: `sudo yum install python gcc-c++ make` <ide> * OpenSUSE: `sudo zypper install python gcc-c++ make` <add>* Arch Linux, Manjaro: `sudo pacman -S python ...
1
Javascript
Javascript
fix chrome (pre v25) mutationobserver memory leak
d39c1e1754eb93d8ac06d9ae50e1ead66cf7d310
<ide><path>packages/rsvp/lib/main.js <ide> define("rsvp", <ide> var element = document.createElement('div'); <ide> observer.observe(element, { attributes: true }); <ide> <add> // Chrome Memory Leak: https://bugs.webkit.org/show_bug.cgi?id=93661 <add> window.addEventListener('unload', function(){ ...
1
Go
Go
add godoc to fix linting validation
9d726f1c18216a127572310fccb0fab8fcfdc678
<ide><path>api/types/filters/parse.go <ide> func NewArgs(initialArgs ...KeyValuePair) Args { <ide> return args <ide> } <ide> <add>// Keys returns all the keys in list of Args <ide> func (args Args) Keys() []string { <ide> keys := make([]string, 0, len(args.fields)) <ide> for k := range args.fields { <ide><path>daem...
2
Javascript
Javascript
replace magic numbers by named constants
d8d84eee18800f60e477e6ad6fb35c14f054f7f9
<ide><path>lib/fs.js <ide> const { <ide> assertEncoding, <ide> stringToFlags <ide> } = internalFS; <add>const { <add> CHAR_FORWARD_SLASH, <add> CHAR_BACKWARD_SLASH, <add>} = require('internal/constants'); <ide> <ide> Object.defineProperty(exports, 'constants', { <ide> configurable: false, <ide> if (isWindows) ...
1
Go
Go
add bytespipe datastructure to ioutils
24310b5b4ab600ab5cb046d2f2ceaaa086b30be3
<ide><path>pkg/ioutils/bytespipe.go <add>package ioutils <add> <add>const maxCap = 10 * 1e6 <add> <add>// BytesPipe is io.ReadWriter which works similary to pipe(queue). <add>// All written data could be read only once. Also BytesPipe trying to adjust <add>// internal []byte slice to current needs, so there won't be ov...
2
Python
Python
modernize python 2 code to get ready for python 3
e31c780d94acc0c3041f0b790dff3466262f4867
<ide><path>ciphers/playfair_cipher.py <ide> def decode(ciphertext, key): <ide> plaintext = "" <ide> <ide> # https://en.wikipedia.org/wiki/Playfair_cipher#Description <del> for char1, char2 in chunk(ciphertext, 2): <add> for char1, char2 in chunker(ciphertext, 2): <ide> row1, col1 = divmod(table.i...
17
PHP
PHP
fix more phpstan errors
e6f5789b3b990c9afc281f829794d1ef83b42781
<ide><path>src/Database/Connection.php <ide> use Cake\Database\Log\QueryLogger; <ide> use Cake\Database\Retry\ReconnectStrategy; <ide> use Cake\Database\Schema\CachedCollection; <del>use Cake\Database\Schema\CollectionInterface as SchemaCollectionInterface; <ide> use Cake\Database\Schema\Collection as SchemaCollection;...
1