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
Ruby
Ruby
add inflight checks and server shutdown
b22c4e2a1cc0d8d094e19b5901908ace54cd812e
<ide><path>activesupport/lib/active_support/testing/parallel_server.rb <del># frozen_string_literal: true <del> <del>require "drb" <del>require "drb/unix" unless Gem.win_platform? <del> <del>module ActiveSupport <del> module Testing <del> class Parallelization # :nodoc: <del> class Server <del> include ...
5
Text
Text
clarify docker attach
da1dbd2093ec040f05f4daf9fc8ca28dc8262ec8
<ide><path>docs/reference/commandline/attach.md <ide> using `CTRL-p CTRL-q` key sequence. <ide> It is forbidden to redirect the standard input of a `docker attach` command <ide> while attaching to a tty-enabled container (i.e.: launched with `-t`). <ide> <add>While a client is connected to container's stdio using `doc...
1
Ruby
Ruby
fix unused variable
9d1573c0405ead882a38d2bb70cfd66f76c06ccf
<ide><path>Library/Homebrew/compat/hbc/cli.rb <ide> class CLI <ide> EOS <ide> end) <ide> <del> option "--caskroom=PATH", (lambda do |value| <add> option "--caskroom=PATH", (lambda do |*| <ide> odisabled "`brew cask` with the `--caskroom` flag" <ide> end) <ide> end
1
PHP
PHP
add postgres table escaping and regression test
f55331d0f47415e4da6d6bf0fc0f1f4f950acd60
<ide><path>src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php <ide> public function compileDropIfExists(Blueprint $blueprint, Fluent $command) <ide> */ <ide> public function compileDropAllTables($tables) <ide> { <del> return 'drop table '.implode(',', $tables).' cascade'; <add> retur...
2
Javascript
Javascript
remove unused modules
fdeb862f2bc41d6d26e2fae8c588c4fc698e0cae
<ide><path>lib/_http_client.js <ide> const util = require('util'); <ide> const net = require('net'); <ide> const url = require('url'); <del>const EventEmitter = require('events'); <ide> const HTTPParser = process.binding('http_parser').HTTPParser; <ide> const assert = require('assert').ok; <ide> const common = require(...
3
Python
Python
fix bug in blackman docstring
1cf7e661bced0b4ea3ea2e4fa1a4d08dc271e83c
<ide><path>numpy/lib/function_base.py <ide> def bartlett(M): <ide> >>> response = 20*log10(mag) <ide> >>> response = clip(response,-100,100) <ide> >>> plt.plot(freq, response) <del> >>> plt.title("Frequency response of Bartlett window") <add> >>> plt.title("Frequency response of Blackman window") <ide...
1
Text
Text
impose moratorium on remote registry access
24f7d0afc9b62da1684e5bf9998ad927aec37cb0
<ide><path>ROADMAP.md <ide> lacking for many, we cannot make it a priority yet for the above reasons. <ide> <ide> Again, this is not about saying that the Dockerfile syntax is done, it's about making choices about <ide> what we want to do first! <add> <add>## 2.3 Remote Registry Operations <add> <add>A large amount of...
1
Javascript
Javascript
remove applyastemplate function
5050eed9bfb31b326b65ccec6040ae3bf7fdc0ca
<ide><path>lib/dependencies/ModuleDependencyTemplateAsRequireId.js <ide> class ModuleDependencyTemplateAsRequireId { <ide> content = require("./WebpackMissingModule").module(dep.request); <ide> source.replace(dep.range[0], dep.range[1] - 1, content); <ide> } <del> <del> applyAsTemplateArgument(name, dep, source) ...
1
Ruby
Ruby
restore test deliveries for actionmailer
64edb6cb19863ab78ecea88cf15ed5fd19046ab6
<ide><path>actionpack/test/controller/assert_select_test.rb <ide> def xml() <ide> <ide> def setup <ide> super <add> @old_delivery_method = ActionMailer::Base.delivery_method <add> @old_perform_deliveries = ActionMailer::Base.perform_deliveries <ide> ActionMailer::Base.delivery_method = :test <ide> ...
1
Javascript
Javascript
remove fellback in width/height csshook
d66c3b6d84c2af1132727c5be335bc2860dcbda9
<ide><path>src/css.js <ide> jQuery.curCSS = jQuery.css; <ide> jQuery.each(["height", "width"], function( i, name ) { <ide> jQuery.cssHooks[ name ] = { <ide> get: function( elem, computed, extra ) { <del> var val, fellback = false; <add> var val; <ide> <ide> if ( computed ) { <ide> if ( elem.offsetWidth !...
1
Javascript
Javascript
remove compiled coffee file from src dir
dd1e617a41720e50ca8e9747a1e2526f927812c8
<ide><path>spec/app/range-spec.js <del>(function() { <del> var Point, Range; <del> <del> Range = require('range'); <del> <del> Point = require('point'); <del> <del> describe("Range", function() { <del> describe("constructor", function() { <del> return it("ensures that @start <= @end", function() { <del> ...
1
Javascript
Javascript
add desktop.ini to ignored names
5301c556698c68432f74511dd00f2b98f350efe8
<ide><path>src/config-schema.js <ide> const configSchema = { <ide> properties: { <ide> ignoredNames: { <ide> type: 'array', <del> default: ['.git', '.hg', '.svn', '.DS_Store', '._*', 'Thumbs.db'], <add> default: ['.git', '.hg', '.svn', '.DS_Store', '._*', 'Thumbs.db', 'desktop.ini'], <id...
1
Text
Text
translate 2 docs into japanese
574b906f9b43a78fbd4759a25e95b2fd036c749c
<ide><path>docs/docs/getting-started.jp.md <add>--- <add>id: getting-started-ja <add>title: 始めてみましょう <add>next: tutorial-ja.html <add>redirect_from: "docs/index-ja.html" <add>--- <add> <add>## JSFiddle <add> <add>React でのハッキングを始めるにあたり、一番簡単なものとして次の JSFiddle で動いている Hello World の例を取り上げます。 <add> <add> * **[React JSFiddle](...
2
Python
Python
fix various typos
3d85402ca548957030685c451c96b05342454906
<ide><path>keras/layers/core.py <ide> class AutoEncoder(Layer): <ide> encoder = containers.Sequential([Dense(16, input_dim=32), Dense(8)]) <ide> decoder = containers.Sequential([Dense(16, input_dim=8), Dense(32)]) <ide> <del> autoencoder = Sequential() <del> autoencoder.add(AutoEncoder(encoder=encoder, d...
2
Go
Go
use dockercmdindir in build tests
372f9bb58b820b85ed1975ea713958b684c17e94
<ide><path>integration-cli/docker_cli_build_test.go <ide> import ( <ide> ) <ide> <ide> func TestBuildCacheADD(t *testing.T) { <del> buildDirectory := filepath.Join(workingDirectory, "build_tests", "TestBuildCacheADD", "1") <del> buildCmd := exec.Command(dockerBinary, "build", "-t", "testcacheadd1", ".") <del> buildCmd...
1
Text
Text
add 1.13.0 - 1.13.8 + 2.0.0 to changelog.md
d34aaed42c7471744254eafdedeb5c8e3e077d2b
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### 2.0.0 (August 13, 2015) <add> <add>- [#12036](https://github.com/emberjs/ember.js/pull/12036) Cleanup CP Set and Volatile <add>- [#11993](https://github.com/emberjs/ember.js/pull/11993) [CLEANUP] Remove `Ember.TrackedArray` and `Ember.SubArray`. <add>- [#...
1
Text
Text
add v3.14.0-beta.3 to changelog
1db41748d5563538add872084d8ebedd2eb420e2
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.14.0-beta.3 (October 1, 2019) <add> <add>- [#18429](https://github.com/emberjs/ember.js/pull/18429) [BUGFIX] Fix incorrect error message for octane features. <add> <ide> ### v3.14.0-beta.2 (September 24, 2019) <ide> <ide> - [#18273](https://github.com/...
1
Python
Python
improve input validation in graph.compile
f3fd56db501f75b72db253a4e1d06792b81c2a60
<ide><path>keras/models.py <ide> def compile(self, optimizer, loss, sample_weight_modes={}): <ide> you will need to set the sample weight mode for this output <ide> to "temporal". <ide> ''' <add> assert type(loss) is dict, 'The "loss" argument should be a dictionary.' <add...
1
Text
Text
add prompt of $
638546d1206dd229c5e00df0725de6966725b2e0
<ide><path>docs/installation/linux/SUSE.md <ide> The `docker` package creates a new group named `docker`. Users, other than <ide> `root` user, must be part of this group to interact with the <ide> Docker daemon. You can add users with this command syntax: <ide> <del> sudo /usr/sbin/usermod -a -G docker <username> <...
1
Python
Python
raise validation error on invalid timezone parsing
bf7fcc495b36a692570f6fe9210c96e746f75bf8
<ide><path>rest_framework/fields.py <ide> def to_internal_value(self, value): <ide> if input_format.lower() == ISO_8601: <ide> try: <ide> parsed = parse_datetime(value) <del> except (ValueError, TypeError): <del> pass <del> ...
2
Java
Java
delete dead code in annotationattributes
53dd88437e81f8ef3c95ed36671048c2a7d4738e
<ide><path>spring-core/src/main/java/org/springframework/core/annotation/AnnotationAttributes.java <ide> package org.springframework.core.annotation; <ide> <ide> import java.lang.annotation.Annotation; <del>import java.lang.reflect.AnnotatedElement; <ide> import java.lang.reflect.Array; <ide> import java.util.Iterator...
1
PHP
PHP
add driver parameter for new doctrine connection
0cf3027150a1d7d519f00ce0282ac29b8cd4c64e
<ide><path>src/Illuminate/Database/Connection.php <ide> public function getDoctrineSchemaManager() <ide> public function getDoctrineConnection() <ide> { <ide> if (is_null($this->doctrineConnection)) { <del> $data = ['pdo' => $this->getPdo(), 'dbname' => $this->getConfig('database')]; <add> ...
1
Go
Go
allow compilation (again)
fa22255b2dcfa46572d25cb4647e424232daaba6
<ide><path>libnetwork/sandbox/namespace_unsupported.go <add>// +build !linux <add> <add>package sandbox <add> <add>// GC triggers garbage collection of namespace path right away <add>// and waits for it. <add>func GC() { <add>}
1
Text
Text
fix some small formatting issues [ci-skip]
680ce0189654db6d1b8a1dfb3f9a0d51cb8db171
<ide><path>guides/source/contributing_to_ruby_on_rails.md <ide> The new configuration allows you to conditionally implement the new behavior: <ide> def changed_method <ide> if ActiveJob.existing_behavior <ide> # Existing behavior <del> else <add> else <ide> # New behavior <ide> end <ide> end <ide> As a l...
1
Javascript
Javascript
log timer identifiers in systrace
a1f31d12fde29db43f5af5d23c0d403c0bd22003
<ide><path>Libraries/JavaScriptAppEngine/System/JSTimers/JSTimers.js <ide> // in dependencies. NativeModules > BatchedBridge > MessageQueue > JSTimersExecution <ide> const RCTTiming = require('NativeModules').Timing; <ide> const JSTimersExecution = require('JSTimersExecution'); <add>const parseErrorStack = require('par...
2
Ruby
Ruby
fix analytics string to test for ci
30c4663066b2b95b54fb0bbece8cb13fd8545735
<ide><path>Library/Homebrew/test/utils/analytics_spec.rb <ide> described_class.clear_os_arch_prefix_ci <ide> end <ide> <add> ci = ", CI" if ENV["CI"] <add> <ide> it "returns OS_VERSION and prefix when HOMEBREW_PREFIX is a custom prefix on intel" do <ide> allow(Hardware::CPU).to receive...
1
Python
Python
improve error message
2b3beeff21ffca1c97fc8807838d0a4b1d7518da
<ide><path>libcloud/compute/ssh.py <ide> def _get_pkey_object(self, key): <ide> else: <ide> return key <ide> <del> msg = 'Invalid or unsupported key type' <add> msg = ('Invalid or unsupported key type (only RSA, DSS and ECDSA keys' <add> ' are supported)') <ide> ...
1
Text
Text
update changelog for 16.4.0
fa7fa812c70084e139d13437fb204fcdf9152299
<ide><path>CHANGELOG.md <del>## [Unreleased] <del><details> <del> <summary> <del> Changes that have landed in master but are not yet released. <del> Click to see more. <del> </summary> <add>## 16.4.0 (May 23, 2018) <ide> <ide> ### React <ide> <ide> <ide> * The [new host config shape](https://github.com/faceb...
1
Python
Python
add tests for zeros, ones, empty and filled
5991bbeb417719663178ecf4ac283d8f538f48fd
<ide><path>numpy/core/tests/test_numeric.py <ide> def test_basic(self): <ide> assert_almost_equal(std(A)**2,real_var) <ide> <ide> <add>class TestCreationFuncs(TestCase): <add> <add> def setUp(self): <add> self.dtypes = ('b', 'i', 'u', 'f', 'c', 'S', 'a', 'U', 'V') <add> self.orders = {'C': 'c...
1
Ruby
Ruby
add path name to brew edit error message
c8a8b797306237404e6670dfd3cabe1edcf0639d
<ide><path>Library/Homebrew/dev-cmd/edit.rb <ide> def edit <ide> next path if path.exist? <ide> <ide> raise UsageError, "#{path} doesn't exist on disk. " \ <del> "Run #{Formatter.identifier("brew create $URL")} to create a new Formula!" <add> "Run #{Formatter.i...
1
Javascript
Javascript
improve formatting of inline code
cb192293f42f0be4d17598bba39ac1f95982e39b
<ide><path>src/ngAnimate/animate.js <ide> * # Usage <ide> * <ide> * To see animations in action, all that is required is to define the appropriate CSS classes <del> * or to register a JavaScript animation via the myModule.animation() function. The directives that support animation automatically are: <add> * or to re...
1
Text
Text
simplify wording to make more sense
e5b4ae17a0cbb48693a8b75738c54fe1d73799da
<ide><path>curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/count-backwards-with-a-for-loop.md <ide> for (var i = 10; i > 0; i -= 2) { <ide> } <ide> ``` <ide> <del>`ourArray` will now contain `[10,8,6,4,2]`. Let's change our initialization and final expression so we can count...
1
Ruby
Ruby
modify tests for zsh completions
0e97793f9196279ef44d327571cf31617da2195e
<ide><path>Library/Homebrew/test/completions_spec.rb <ide> def delete_completions_setting(setting: "linkcompletions") <ide> '--hide[Act as if none of the specified hidden are installed. hidden should be a comma-separated list of formulae]' \\ <ide> '--quiet[Make some output more quiet]' \\ <...
1
Javascript
Javascript
remove broken endpoints
604e29c4bcda71330a13cc30163370d0b42d7636
<ide><path>api-server/src/server/boot/randomAPIs.js <ide> module.exports = function (app) { <ide> router.get('/u/:email', unsubscribeDeprecated); <ide> router.get('/unsubscribe/:email', unsubscribeDeprecated); <ide> router.get('/ue/:unsubscribeId', unsubscribeById); <del> router.get( <del> '/the-fastest-web-p...
1
PHP
PHP
fix duplicate method call
7e857d30e9759dd0eb6c43c4e54a475aab67fefa
<ide><path>src/Datasource/Paginator.php <ide> public function paginate($object, array $params = [], array $settings = []) <ide> <ide> $pagingParams = $this->buildParams($data); <ide> $alias = $object->getAlias(); <del> $this->_pagingParams = [$alias => $this->buildParams($data)]; <add> $t...
1
PHP
PHP
apply fixes from styleci
eb50ed3a69950f337459ff9b45e3916d96801d84
<ide><path>src/Illuminate/Log/Writer.php <ide> use Monolog\Formatter\LineFormatter; <ide> use Monolog\Handler\ErrorLogHandler; <ide> use Monolog\Logger as MonologLogger; <del>use Monolog\Handler\RotatingFileHandler; <ide> use Illuminate\Log\Events\MessageLogged; <add>use Monolog\Handler\RotatingFileHandler; <ide> use I...
1
Mixed
Ruby
change the behavior of route defaults
f1d8f2af72e21d41efd02488f1c2dcf829e17783
<ide><path>actionpack/CHANGELOG.md <ide> ## Rails 4.0.0 (unreleased) ## <ide> <add>* Change the behavior of route defaults so that explicit defaults are no longer <add> required where the key is not part of the path. For example: <add> <add> resources :posts, bucket_type: 'posts' <add> <add> will be req...
7
Python
Python
fix post-mortem in v0.11
eba7aae107cb3b482e13b0e88908436fe69a3109
<ide><path>deps/v8/tools/gen-postmortem-metadata.py <ide> { 'name': 'SmiShiftSize', 'value': 'kSmiShiftSize' }, <ide> { 'name': 'PointerSizeLog2', 'value': 'kPointerSizeLog2' }, <ide> <add> { 'name': 'OddballFalse', 'value': 'Oddball::kFalse' }, <add> { 'name': 'OddballTrue', ...
1
Ruby
Ruby
uniformize the desc problems
18bda1c9b18f53879263a7893f5359ba96b75bff
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_desc <ide> end <ide> <ide> if desc =~ /^([Aa]n?)\s/ <del> problem "Please remove the indefinite article \"#{$1}\" from the beginning of the description" <add> problem "Description shouldn't start with an indefinite article (#{$1})" <ide> en...
1
Javascript
Javascript
add test for issue #460
49ef31403da93b08f88ee47f1eff3f1cd5017d5f
<ide><path>packages/ember-metal/tests/binding/sync_test.js <ide> testBoth("bindings should do the right thing when binding is in prototype", func <ide> equal(get(obj, 'selection'), 'a'); <ide> }); <ide> <add>testBoth("binding with transform should only fire one change when set", function (get, set) { <add> var a, b...
1
PHP
PHP
replace \r\n with a proper php_eol
93b56001c5045a8327a154b6a6534d5faf860bbd
<ide><path>src/Illuminate/Routing/Console/ControllerMakeCommand.php <ide> protected function buildFormRequestReplacements(array $replace, $modelClass) <ide> <ide> $namespacedRequests = $namespace.'\\'.$storeRequestClass.';'; <ide> if ($storeRequestClass != $updateRequestClass) { <del> $names...
1
Javascript
Javascript
add test case
684d3755418763cc2f671635f5d1de8d41c9afd0
<ide><path>test/watchCases/plugins/automatic-prefetch-plugin-9485/0/delayed.js <add>})] <ide><path>test/watchCases/plugins/automatic-prefetch-plugin-9485/0/foo/0.js <add>module.exports = '0'; <ide><path>test/watchCases/plugins/automatic-prefetch-plugin-9485/0/foo/a.js <add>module.exports = "This "; <ide><path>test/watc...
11
Python
Python
fix model loading for leakyrelu layer
c73ba916f6295586324a298316b5774a53505d8a
<ide><path>keras/layers/advanced_activations.py <ide> def call(self, inputs): <ide> return K.relu(inputs, alpha=self.alpha) <ide> <ide> def get_config(self): <del> config = {'alpha': self.alpha} <add> config = {'alpha': float(self.alpha)} <ide> base_config = super(LeakyReLU, self).get...
1
Python
Python
add option to predict on test set
5ff9cd158a08f6bcfa5c635c0a2eb6d79e4ef9c2
<ide><path>examples/run_ner.py <ide> def train(args, train_dataset, model, tokenizer, labels, pad_token_label_id): <ide> if args.local_rank in [-1, 0] and args.logging_steps > 0 and global_step % args.logging_steps == 0: <ide> # Log metrics <ide> if args.local_ran...
2
Python
Python
remove unnecessary import of mock
24244939700a061f206db148786a4611040d57b8
<ide><path>spacy/tests/parser/test_neural_parser.py <ide> # coding: utf8 <ide> from __future__ import unicode_literals <ide> from thinc.neural import Model <del>from mock import Mock <ide> import pytest <ide> import numpy <ide>
1
PHP
PHP
fix code and test
9d14fbb21290b0948a46b449e7aa92361eb1df2c
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> public function where($column, $operator = null, $value = null, $boolean = 'and' <ide> { <ide> if ($column instanceof Closure) <ide> { <del> $query = $this->model->newQuery(); <add> // Get a new query builder instance but avoid including any soft <a...
2
Text
Text
change the title of the tip block to note
a6eaaf771f60575927d368bf9b6d48a87c14f902
<ide><path>docs/charts/area.md <ide> <ide> Both [line](./line.mdx) and [radar](./radar.mdx) charts support a `fill` option on the dataset object which can be used to create space between two datasets or a dataset and a boundary, i.e. the scale `origin`, `start,` or `end` (see [filling modes](#filling-modes)). <ide> <...
4
Javascript
Javascript
fix an issue with bar charts that are not stacked
37cfbdb8028b24715589620e9e1ed191486f410a
<ide><path>src/Chart.Bar.js <ide> <ide> var offset = 0; <ide> <del> for (j = datasetIndex; j < datasets.length; j++) { <add> for (var j = datasetIndex; j < self.data.datasets.length; j++) { <ide> if (j === datasetIndex &...
1
PHP
PHP
remove the serve command
84c42305e562c5710fd45e9082ea1ed5c57705b0
<ide><path>src/Illuminate/Foundation/Console/ServeCommand.php <del><?php namespace Illuminate\Foundation\Console; <del> <del>use Illuminate\Console\Command; <del>use Symfony\Component\Console\Input\InputOption; <del> <del>class ServeCommand extends Command { <del> <del> /** <del> * The console command name. <del> * <...
2
Go
Go
remove debug messages
8d6df3a7e2080d4fad9743beb159f12caa0ff6f7
<ide><path>engine/job.go <ide> func (job *Job) DecodeEnv(src io.Reader) error { <ide> // encoding/json decodes integers to float64, but cannot encode them back. <ide> // (See http://golang.org/src/pkg/encoding/json/decode.go#L46) <ide> if fval, ok := v.(float64); ok { <del> job.Logf("Converted to float: %v->%v"...
2
Java
Java
add support for show layout bounds
7df627f9be5fdcf05bb2d5244e1fe44102b299eb
<ide><path>ReactAndroid/src/main/java/com/facebook/react/flat/AbstractDrawCommand.java <ide> package com.facebook.react.flat; <ide> <ide> import android.graphics.Canvas; <add>import android.graphics.Color; <ide> <ide> /** <ide> * Base class for all DrawCommands. Becomes immutable once it has its bounds set. Until th...
4
Python
Python
add test for __array_interface__
47161378d8e4eb892846f7b0156fa2344fd11ee2
<ide><path>numpy/core/tests/test_multiarray.py <ide> def __array_interface__(self): <ide> f.iface['shape'] = (2,) <ide> assert_raises(ValueError, np.array, f) <ide> <add> # test scalar with no shape <add> class ArrayLike(object): <add> array = np.array(1) <add> __array_interface__ = array._...
1
Python
Python
fix defaults for ud-train
3eb9f3e2b84361de37e8c7d08df75b2ead01aea0
<ide><path>spacy/cli/ud_train.py <ide> def initialize_pipeline(nlp, docs, golds, config, device): <ide> ######################## <ide> <ide> class Config(object): <del> def __init__(self, vectors=None, max_doc_length=10, multitask_tag=True, <del> multitask_sent=True, multitask_dep=True, multitask_vec...
1
Go
Go
fix typos in daemon_unix.go
25c9bd81f6d293996856daeb19108ebb2522416b
<ide><path>daemon/daemon_unix.go <ide> func configureMaxThreads(config *Config) error { <ide> return nil <ide> } <ide> <del>// configureKernelSecuritySupport configures and validate security support for the kernel <add>// configureKernelSecuritySupport configures and validates security support for the kernel <ide> fu...
1
Go
Go
fix flaky test testtransfer
2f4aa9658408ac72a598363c6e22eadf93dbb8a7
<ide><path>distribution/xfer/transfer_test.go <ide> func TestTransfer(t *testing.T) { <ide> if p.Current != 0 { <ide> t.Fatalf("got unexpected progress value: %d (expected 0)", p.Current) <ide> } <del> } else if p.Current != val+1 { <add> } else if p.Current <= val { <ide> t.Fatalf("got unexpected ...
1
Text
Text
add lint disabling comment for collaborator list
25d48a63c045a8c52f560e050710176a5a4ee304
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> <ide> ### TSC (Technical Steering Committee) <ide> <add><!--lint disable prohibited-strings--> <ide> * [addaleax](https://github.com/addaleax) - <ide> **Anna Henningsen** &lt;anna@addaleax.net&gt; (she/her) <ide> * [apap...
1
Python
Python
reduce np.testing to is_pypy
e52472411e6596808963e1a34d7b9ef0a1f6ef41
<ide><path>numpy/f2py/tests/test_abstract_interface.py <ide> from . import util <ide> from numpy.f2py import crackfortran <ide> <del>from numpy.testing import assert_ <del> <ide> <ide> class TestAbstractInterface(util.F2PyTest): <ide> sources = [util.getpath("tests", "src", "abstract_interface", "foo.f90")] <ide>...
23
Javascript
Javascript
preserve error types during translation
f5fd24a61f8f77b1090c8278cc6446739ff44f9c
<ide><path>web/app.js <ide> const PDFViewerApplication = { <ide> <ide> return loadingErrorMessage.then(msg => { <ide> this.error(msg, { message }); <del> throw new Error(msg); <add> throw exception; <ide> }); <ide> } <ide> );
1
Javascript
Javascript
improve console logging
0f6762ba50b92a16fa11f10142b4416aace57f5e
<ide><path>Libraries/Utilities/PerformanceLogger.js <ide> let timespans: {[key: string]: Timespan} = {}; <ide> let extras: {[key: string]: any} = {}; <ide> const cookies: {[key: string]: number} = {}; <ide> <del>const PRINT_TO_CONSOLE = false; <add>const PRINT_TO_CONSOLE: false = false; // Type as false to prevent acc...
1
Python
Python
update examples in stack docstrings
ab12dc87f4717fc0fdeca314cd32cd5924928595
<ide><path>numpy/core/shape_base.py <ide> def vstack(tup): <ide> Examples <ide> -------- <ide> >>> a = np.array([1, 2, 3]) <del> >>> b = np.array([2, 3, 4]) <add> >>> b = np.array([4, 5, 6]) <ide> >>> np.vstack((a,b)) <ide> array([[1, 2, 3], <del> [2, 3, 4]]) <add> [4, 5, 6...
1
Python
Python
add numpy prefix
84a5dc190a21757c14bcbd6f2a114f7f27546a96
<ide><path>numpy/core/_add_newdocs.py <ide> <ide> See Also <ide> -------- <del> linspace : Evenly spaced numbers with careful handling of endpoints. <del> ogrid: Arrays of evenly spaced numbers in N-dimensions. <del> mgrid: Grid-shaped arrays of evenly spaced numbers in N-dimensions. <add> numpy.li...
2
Java
Java
initialize native modules in a separate thread
8bd570b7baf229e19c70955b631ad5b322ab91a0
<ide><path>ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java <ide> public void onNewIntent(Intent intent) { <ide> currentContext.getNativeModule(DeviceEventManagerModule.class); <ide> deviceEventManagerModule.emitNewIntentReceived(uri); <ide> } <del> <ide> currentCont...
1
Javascript
Javascript
add code for generating remote assets
a75fef48bfb440a22fdc9605d4e677b87ebf290f
<ide><path>local-cli/core/Constants.js <ide> 'use strict'; <ide> <ide> const ASSET_REGISTRY_PATH = 'react-native/Libraries/Image/AssetRegistry'; <add>const ASSET_SOURCE_RESOLVER_PATH = <add> 'react-native/Libraries/Image/AssetSourceResolver'; <ide> <del>module.exports = {ASSET_REGISTRY_PATH}; <add>module.exports = {...
1
Go
Go
remove uses of pkg/urlutil.isurl()
87206a10b9b3d95b768d1c0b6ea19c8bce92c749
<ide><path>daemon/logger/splunk/splunk.go <ide> import ( <ide> "github.com/docker/docker/daemon/logger" <ide> "github.com/docker/docker/daemon/logger/loggerutils" <ide> "github.com/docker/docker/pkg/pools" <del> "github.com/docker/docker/pkg/urlutil" <ide> "github.com/google/uuid" <ide> "github.com/sirupsen/logrus...
1
Java
Java
change parallel to use long instead of int
36dceba61a98e5b63026576b9fa84d860e91dd2e
<ide><path>rxjava-core/src/main/java/rx/operators/OperatorParallel.java <ide> <ide> private final Scheduler scheduler; <ide> private final Func1<Observable<T>, Observable<R>> f; <add> private final int degreeOfParallelism; <ide> <ide> public OperatorParallel(Func1<Observable<T>, Observable<R>> f, Sched...
2
Python
Python
expose all the pipeline argument on serve command
3b29322d4c197fec46ae48f62aa2870d00d0852a
<ide><path>transformers/commands/serving.py <ide> def serve_command_factory(args: Namespace): <ide> Factory function used to instantiate serving server from provided command line arguments. <ide> :return: ServeCommand <ide> """ <del> nlp = pipeline(args.task, args.model) <del> return ServeCommand(nlp,...
1
PHP
PHP
fix save with habtm returning false
a8e410ee20008c2fb6e38867b2da59d1ccf63da9
<ide><path>lib/Cake/Model/Model.php <ide> public function save($data = null, $validate = true, $fieldList = array()) { <ide> if (empty($this->data[$this->alias][$this->primaryKey])) { <ide> unset($this->data[$this->alias][$this->primaryKey]); <ide> } <del> $fields = $values = array(); <add> $joined = $fields =...
2
Ruby
Ruby
add quiet flag
ff4544eebd4fb711b44b80bdd6e569caf1dce9a8
<ide><path>Library/Homebrew/cmd/update-report.rb <ide> def update_report_args <ide> switch "--preinstall", <ide> description: "Run in 'auto-update' mode (faster, less output)." <ide> switch :force <add> switch :quiet <ide> switch :debug <ide> switch :verbose <ide> hide_from_ma...
1
PHP
PHP
use foreach instead of array_filter
2c36545960acbdf32a48b9aa852deb85a3f4c52a
<ide><path>src/ORM/ResultSet.php <ide> protected function _groupResult($row) { <ide> if ($assoc['canBeJoined']) { <ide> $results[$alias] = $this->_castValues($target, $results[$alias]); <ide> <del> $hasData = array_filter($results[$alias], function ($v) { <del> return $v !== null; <del> }); <add> $...
1
Javascript
Javascript
unify attribute bindings logic and fix some bugs
3a07b4df1ee579b9fb92eb26db495120c37a870f
<ide><path>packages/ember-handlebars/lib/helpers/binding.js <ide> Ember.Handlebars.registerHelper('bindAttr', function(options) { <ide> return; <ide> } <ide> <del> var currentValue = elem.attr(attr); <del> <del> // A false result will remove the attribute from the element. This is <del> //...
4
PHP
PHP
incorporate feedback thus far
b160b2c72410c67d6ddc88ce100f61282f7f7c1d
<ide><path>src/Database/Type/DateTimeType.php <ide> use Cake\Database\Driver; <ide> use Cake\Database\Type; <ide> use DateTimeInterface; <del>use DateTimeImmutable; <ide> use Exception; <ide> use RuntimeException; <ide> <ide> public function toPHP($value, Driver $driver) <ide> */ <ide> public function marshal...
2
Javascript
Javascript
add --expose_internals switch
99a2dd03cd286176d639ec898a08f27c1567f85c
<ide><path>benchmark/common.js <ide> Benchmark.prototype._run = function() { <ide> } <ide> <ide> const child = child_process.fork(require.main.filename, childArgs, { <del> env: childEnv <add> env: childEnv, <add> execArgv: ['--expose_internals'].concat(process.execArgv) <ide> }); <ide> c...
2
Javascript
Javascript
show time when zero
20fe1ed007d72ab16d70883bd8d0fd2e69258610
<ide><path>lib/Stats.js <ide> Stats.jsonToString = function jsonToString(obj, useColors) { <ide> bold(obj.version); <ide> newline(); <ide> } <del> if(obj.time) { <add> if(typeof obj.time === "number") { <ide> normal("Time: "); <ide> bold(obj.time); <ide> normal("ms");
1
Python
Python
use invalid_data key for error message. closes
003c42b0f51f9bfa93964be69fb8cb68b7394280
<ide><path>rest_framework/serializers.py <ide> from django.db.models.fields import FieldDoesNotExist <ide> from django.utils import six <ide> from django.utils.datastructures import SortedDict <add>from django.utils.translation import ugettext_lazy as _ <ide> from rest_framework.exceptions import ValidationError <ide> ...
2
Javascript
Javascript
add mymuesli to website showcase
fc52a65e64ec3082753772992bca65dc886d9f57
<ide><path>website/src/react-native/showcase.js <ide> var featured = [ <ide> linkPlayStore: 'https://play.google.com/store/apps/details?id=com.movielala.trailers', <ide> author: 'MovieLaLa' <ide> }, <add> { <add> name: 'MyMuesli', <add> icon: 'https://lh3.googleusercontent.com/1dCCeiyjuWRgY-Cnv-l-lOA1s...
1
Java
Java
fix mockhttpservletrequest reference in javadoc
cf4e77907f7056cbee60efb5842989d9266f091d
<ide><path>spring-test/src/main/java/org/springframework/mock/web/MockHttpServletMapping.java <ide> /** <ide> * Mock implementation of {@link HttpServletMapping}. <ide> * <del> * <p>Currently not exposed in {@link MockHttpServletMapping} as a setter to <add> * <p>Currently not exposed in {@link MockHttpServletRequest...
1
PHP
PHP
implement contract on manager
68ac51a3c85d039799d32f53a045328e14debfea
<ide><path>src/Illuminate/Foundation/helpers.php <ide> function base_path($path = '') <ide> * Hash the given value against the bcrypt algorithm. <ide> * <ide> * @param string $value <del> * @param array $options <add> * @param array $options <ide> * @return string <ide> */ <ide> ...
2
Python
Python
fix error with driver param
e2f2818e0198e2caa96befa61990daa20565d83c
<ide><path>libcloud/compute/drivers/openstack.py <ide> class OpenStack_2_Router(object): <ide> A Virtual Router. <ide> """ <ide> <del> def __init__(self, id, name, status, extra=None): <add> def __init__(self, id, name, status, driver, extra=None): <ide> self.id = str(id) <ide> self.name ...
1
PHP
PHP
add assertnothingpushed method to queuefake
331850ecb54c140358cba5f5e9141e830491812c
<ide><path>src/Illuminate/Support/Testing/Fakes/QueueFake.php <ide> public function assertNotPushed($job, $callback = null) <ide> ); <ide> } <ide> <add> /** <add> * Assert that no jobs were pushed. <add> * <add> * @return void <add> */ <add> public function assertNothingPushed() <add>...
2
Ruby
Ruby
use better duration aliases in tests
c7135d2c8ebf2263ebb82dfe1723c7435676e11f
<ide><path>actionmailer/test/message_delivery_test.rb <ide> def test_should_enqueue_and_run_correctly_in_activejob <ide> <ide> test "should enqueue a delivery with a delay" do <ide> travel_to Time.new(2004, 11, 24, 01, 04, 44) do <del> assert_performed_with(job: ActionMailer::DeliveryJob, at: Time.current +...
1
Text
Text
fix variable notation
07e813a3b3e05121e4d17b9bbb77ed7db5d3d907
<ide><path>docs/Common-Issues.md <ide> If, however, you do not have a `.curlrc` or removing it did not work, let’s se <ide> The cask is outdated. Let’s fix it: <ide> <ide> 1. Look around the app’s website and find out what the latest version is. It will likely be expressed in the URL used to download it. <del>2. Take ...
1
Go
Go
remove hacked windows oci spec, compile fixups
02309170a5fb97d40260d0ee9e24b44be8c780b2
<ide><path>daemon/exec_linux.go <ide> import ( <ide> "github.com/docker/docker/daemon/caps" <ide> "github.com/docker/docker/daemon/exec" <ide> "github.com/docker/docker/libcontainerd" <add> "github.com/opencontainers/runtime-spec/specs-go" <ide> ) <ide> <ide> func execSetPlatformOpt(c *container.Container, ec *exec...
17
Javascript
Javascript
remove var in rntester
5af577439b9c58ab3891bc651fb5ca71a68df841
<ide><path>RNTester/js/VibrationExample.js <ide> <ide> 'use strict'; <ide> <del>var React = require('react'); <del>var ReactNative = require('react-native'); <del>var { <add>const React = require('react'); <add>const ReactNative = require('react-native'); <add>const { <ide> StyleSheet, <ide> View, <ide> Text, <...
10
Text
Text
fix typo in link in example's readme
c6ec289c55063b4e7a8eb0ad78df93660cbbefd7
<ide><path>examples/with-jest-react-testing-library/README.md <ide> yarn create next-app --example with-jest-react-testing-library with-rtl-app <ide> Download the example: <ide> <ide> ```bash <del>curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-jest <add>cur...
1
Text
Text
add changelog for 0.70.1
2f94476c01ec5e14f4866e3380a36221e975231d
<ide><path>CHANGELOG.md <ide> # Changelog <ide> <add>## v0.70.1 <add> <add>### Added <add> <add>- Add more debugging settings for *HermesExecutorFactory* ([32d12e89f8](https://github.com/facebook/react-native/commit/32d12e89f864a106433c8e54c10691d7876333ee) by [@Kudo](https://github.com/Kudo)) <add>- Support TypeScrip...
1
Go
Go
fix data space reporting from kb/mb to kb/mb
a327d9b91edf6d36ee5b286ebe968bcca6658f5b
<ide><path>daemon/graphdriver/devmapper/driver.go <ide> import ( <ide> "github.com/docker/docker/daemon/graphdriver" <ide> "github.com/docker/docker/pkg/log" <ide> "github.com/docker/docker/pkg/mount" <add> "github.com/docker/docker/pkg/units" <ide> ) <ide> <ide> func init() { <ide> func (d *Driver) Status() [][2]s...
1
Javascript
Javascript
expose pendingrequests and configuration object
fdcc2dbfd37d14ca5f3c830b589c091611ab54bd
<ide><path>src/service/http.js <ide> function transform(data, fns, param) { <ide> * @requires $exceptionHandler <ide> * @requires $cacheFactory <ide> * <add> * @property {Array.<XhrFuture>} pendingRequests Array of pending requests. <add> * <ide> * @description <ide> */ <ide> function $HttpProvider() { <ide> funct...
2
Javascript
Javascript
use push() for readable.wrap()
530585b2d10eea72e71007cb5d8ab18149653c99
<ide><path>lib/_stream_readable.js <ide> Readable.prototype.wrap = function(stream) { <ide> state.ended = true; <ide> if (state.decoder) { <ide> var chunk = state.decoder.end(); <del> if (chunk && chunk.length) { <del> state.buffer.push(chunk); <del> state.length += chunk.length; <del> ...
1
Javascript
Javascript
fix typos in example descriptions
77154a7581776b82744ec79603817aea9083fe8c
<ide><path>Examples/UIExplorer/ToastAndroidExample.android.js <ide> var ToastExample = React.createClass({ <ide> <ide> statics: { <ide> title: 'Toast Example', <del> description: 'Example that demostrates the use of an Android Toast to provide feedback.', <add> description: 'Example that demonstrates the u...
2
Text
Text
add changelog entry for
2d2f35ddf24bca89ef8c8e012bb230b721b40294
<ide><path>actionpack/CHANGELOG.md <add>* Use a case insensitive URI Regexp for #asset_path. <add> <add> This fix a problem where the same asset path using different case are generating <add> different URIs. <add> <add> Before: <add> <add> image_tag("HTTP://google.com") <add> # => "<img alt=\"G...
1
Javascript
Javascript
fix incorrect assumptions on uid and gid
42c740212d6c0b910463414ee7d9865e3fc0bb0c
<ide><path>test/parallel/test-child-process-spawnsync-validation-errors.js <ide> const spawnSync = require('child_process').spawnSync; <ide> const signals = process.binding('constants').os.signals; <ide> <ide> let invalidArgTypeError; <add>let invalidArgTypeErrorCount = 62; <ide> <ide> if (common.isWindows) { <ide> ...
1
Javascript
Javascript
support marginheight and marginwidth attributes
96bd155cbdf03c67d88f1facb13fabfa86e094d4
<ide><path>src/browser/ui/dom/HTMLDOMPropertyConfig.js <ide> var HTMLDOMPropertyConfig = { <ide> list: MUST_USE_ATTRIBUTE, <ide> loop: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, <ide> manifest: MUST_USE_ATTRIBUTE, <add> marginHeight: MUST_USE_ATTRIBUTE, <add> marginWidth: MUST_USE_ATTRIBUTE, <ide> max...
1
Go
Go
add the variable maps to the api functions
ff67da9c867d82192020e3840bd588acc959bcd3
<ide><path>api.go <ide> func httpError(w http.ResponseWriter, err error) { <ide> } <ide> } <ide> <del>func getAuth(srv *Server, w http.ResponseWriter, r *http.Request) ([]byte, error) { <add>func getAuth(srv *Server, w http.ResponseWriter, r *http.Request, vars map[string]string) ([]byte, error) { <ide> var out auth...
2
Go
Go
complete the "--graph" / "-g" deprecation
b58de39ca78a42e01f4e0d80c53ed11f8357be83
<ide><path>cmd/dockerd/config.go <ide> func installCommonConfigFlags(conf *config.Config, flags *pflag.FlagSet) error { <ide> <ide> // Deprecated flags / options <ide> <del> // "--graph" is "soft-deprecated" in favor of "data-root". This flag was added <del> // before Docker 1.0, so won't be removed, only hidden, to...
3
PHP
PHP
add more detail to doc blocks
3afcd7ace7af639c94cb76cc8b65b16230632e06
<ide><path>src/Validation/Validator.php <ide> public function allowEmptyString($field, $when = true, $message = null) <ide> /** <ide> * Requires a field to be not be an empty string. <ide> * <del> * Creates rules that are complements to allowEmptyString() <add> * Opposite to allowEmptyString() <id...
1
Text
Text
fix typo in docs
76e6a3dfadd68902544663e51056c48da804ffb1
<ide><path>docs/recipes/ReducingBoilerplate.md <ide> export const removeTodo = makeActionCreator('REMOVE_TODO', 'id'); <ide> See [redux-action-utils](https://github.com/insin/redux-action-utils) and [redux-actions](https://github.com/acdlite/redux-actions) for examples of such utilities. <ide> <ide> Note that such uti...
1
Java
Java
fix padding for text views in fabric
7b2030bceaa67789f330b3838c07505263169821
<ide><path>ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.java <ide> /** <ide> * Copyright (c) Facebook, Inc. and its affiliates. <ide> * <del> * This source code is licensed under the MIT license found in the <del> * LICENSE file in the root directory of this source tree. <add> * <p>Thi...
3
Python
Python
fix indexerror in dimensiondata list_images
0a502252161f8b8c48aecef5c8be7d300bf00e07
<ide><path>libcloud/compute/drivers/dimensiondata.py <ide> def _to_images(self, object, el_name='osImage'): <ide> images = [] <ide> locations = self.list_locations() <ide> <add> # The CloudControl API will return all images <add> # in the current geographic region (even ones in <add> ...
1
Java
Java
return wrapped subscription
95ce9aaae00621ce0bc45d89ae89ad6bf867c773
<ide><path>rxjava-core/src/main/java/rx/Observable.java <ide> public final Subscription subscribe(Subscriber<? super T> observer) { <ide> if (isInternalImplementation(observer)) { <ide> onSubscribeFunction.call(observer); <ide> } else { <del> onSubscribeFunction.ca...
1
PHP
PHP
fix lint errors
f70f533d075445bd54f9231925d3b0de8c9aa9c9
<ide><path>src/Http/Middleware/CsrfProtectionMiddleware.php <ide> protected function _createToken(): string <ide> public function createToken(): string <ide> { <ide> $value = Security::randomString(static::TOKEN_VALUE_LENGTH); <add> <ide> return $value . hash_hmac('sha1', $value, Security::getSa...
3