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
add special fp tests for fp16 umath
2fa2e2ee9608ed5e9ecb19dec6e421a3d83d0af2
<ide><path>numpy/core/tests/test_umath.py <ide> def test_exp_values(self): <ide> with np.errstate(under='raise', over='raise'): <ide> x = [np.nan, np.nan, np.inf, 0.] <ide> y = [np.nan, -np.nan, np.inf, -np.inf] <del> for dt in ['f', 'd', 'g']: <add> for dt in ['e'...
1
Go
Go
move build to a job
415379e45dadb32385771ceae701d8b9f204f2b8
<ide><path>api.go <ide> import ( <ide> "encoding/json" <ide> "expvar" <ide> "fmt" <del> "github.com/dotcloud/docker/archive" <ide> "github.com/dotcloud/docker/auth" <ide> "github.com/dotcloud/docker/engine" <ide> "github.com/dotcloud/docker/pkg/systemd" <ide> import ( <ide> "net/http" <ide> "net/http/pprof" <id...
2
Javascript
Javascript
improve compatibility with http/1
8c597df3502c26fba74c966168376c818b61b73b
<ide><path>lib/internal/http2/compat.js <ide> const { <ide> } = constants; <ide> <ide> let statusMessageWarned = false; <add>let statusConnectionHeaderWarned = false; <ide> <ide> // Defines and implements an API compatibility layer on top of the core <ide> // HTTP/2 implementation, intended to provide an interface th...
2
Text
Text
replace cs with csharp for language postfix
7d097e62ac561fb73eded825db1222f9c7a67c09
<ide><path>guide/arabic/csharp/null-coalescing-operator/index.md <ide> localeTitle: Null-coalescing Operator <ide> <ide> بما أن `name` `null` ، فسيتم تعيين `name` `clientName` "John Doe". <ide> <del>```cs <add>```csharp <ide> string name = null; <ide> <ide> string clientName = name ?? "John Doe"; <ide> <ide> Consol...
1
Java
Java
move initialization of mapbuffer so
e87cdc7fd45704b128c3511a7f8b85ddffac7b12
<ide><path>ReactAndroid/src/main/java/com/facebook/react/fabric/Binding.java <ide> import com.facebook.react.bridge.ReadableNativeMap; <ide> import com.facebook.react.bridge.RuntimeExecutor; <ide> import com.facebook.react.bridge.RuntimeScheduler; <add>import com.facebook.react.common.mapbuffer.MapBufferSoLoader; <ide>...
2
Javascript
Javascript
prevent deletion of editable region at bottom
f7ce54a154f2eb1590c366e644b911ab0bcad374
<ide><path>client/src/templates/Challenges/classic/Editor.js <ide> class Editor extends Component { <ide> if (editableBoundaries.length === 2) { <ide> this.showEditableRegion(editableBoundaries); <ide> <del> // TODO: is there a nicer approach/way of organising everything that <add> // TODO: is the...
1
Go
Go
use new plugin interfaces provided by plugin pkg
791700aed35905b9df1e732dc8e48d27c9ec363b
<ide><path>libnetwork/drivers/remote/driver.go <ide> package remote <ide> <ide> import ( <del> "errors" <ide> "fmt" <ide> "net" <ide> <add> "github.com/docker/docker/pkg/plugingetter" <ide> "github.com/docker/docker/pkg/plugins" <ide> "github.com/docker/libnetwork/datastore" <ide> "github.com/docker/libnetwork/d...
4
PHP
PHP
add a test for spaces
a15f006d86aa3ddc4498805040d6ef32cf5da6a9
<ide><path>tests/TestCase/Shell/Helper/TableHelperTest.php <ide> */ <ide> class TableHelperTest extends TestCase <ide> { <add> /** <add> * @var ConsoleOutput <add> */ <add> public $stub; <add> <add> /** <add> * @var ConsoleIo <add> */ <add> public $io; <add> <add> /** <add> * @var Ta...
1
Javascript
Javascript
improve comments for clarity
05c8b9d1a1cc5cf9723d70ee3f40611c503818d5
<ide><path>script/lib/copy-assets.js <ide> module.exports = function () { <ide> <ide> // Run a second copy pass for symlinked directories under node_modules. <ide> // We do this to ensure that symlinked repo-local bundled packages get <del> // copied to the output folder correctly. We also copy only the top-leve...
1
Javascript
Javascript
fix comment misspellings of transferred
5122456883071d3a06047293f17c6f86b7476113
<ide><path>test/addons/worker-buffer-callback/test.js <ide> const { MessageChannel } = require('worker_threads'); <ide> const { buffer } = require(`./build/${common.buildType}/binding`); <ide> <ide> // Test that buffers allocated with a free callback through our APIs are not <del>// transfered. <add>// transferred. <i...
2
Go
Go
move testpostcreatenull to integration-cli
308a23021d65282cdf471ef0708ba5998b48c247
<ide><path>integration-cli/docker_api_containers_test.go <ide> func TestContainerApiVerifyHeader(t *testing.T) { <ide> <ide> logDone("containers REST API - verify create header") <ide> } <add> <add>// Issue 7941 - test to make sure a "null" in JSON is just ignored. <add>// W/o this fix a null in JSON would be parsed ...
2
Javascript
Javascript
add initiatortype getter
350a6a8d59914eaf05b46f1ca1b7c356d4204add
<ide><path>lib/internal/perf/resource_timing.js <ide> class InternalPerformanceResourceTiming extends InternalPerformanceEntry { <ide> return this[kTimingInfo].endTime - this[kTimingInfo].startTime; <ide> } <ide> <add> get initiatorType() { <add> return this[kInitiatorType]; <add> } <add> <ide> get worker...
2
Javascript
Javascript
fix classes during the various animation phases
7dd94b959579c62de9c491928e97a0b8250161bb
<ide><path>src/ngAnimate/animate.js <ide> angular.module('ngAnimate', ['ng']) <ide> * | 3. $animate waits for the next digest to start the animation | class="my-animation ng-animate" | <ide> * | 4. the .ng-leave class is add...
1
Go
Go
buffer tar file on v2 push
629815b42472635c87ec6ce9ed4ec37019ae4ffa
<ide><path>graph/graph.go <ide> func (graph *Graph) Mktemp(id string) (string, error) { <ide> return dir, nil <ide> } <ide> <add>func (graph *Graph) newTempFile() (*os.File, error) { <add> tmp, err := graph.Mktemp("") <add> if err != nil { <add> return nil, err <add> } <add> return ioutil.TempFile(tmp, "") <add>} <a...
2
Python
Python
add lemma_lookup to language defaults
9620c1a640a52f1e560c122e2c737a16d00d5c2f
<ide><path>spacy/language.py <ide> class BaseDefaults(object): <ide> @classmethod <ide> def create_lemmatizer(cls, nlp=None): <del> return Lemmatizer(cls.lemma_index, cls.lemma_exc, cls.lemma_rules) <add> return Lemmatizer(cls.lemma_index, cls.lemma_exc, cls.lemma_rules, <add> ...
1
Javascript
Javascript
bring spline example up-to-date
3fd8ce206025133f449e73693955447f45f8966b
<ide><path>examples/spline/spline.js <del>var w = 960, <del> h = 500, <add>var width = 960, <add> height = 500, <ide> line = d3.svg.line(), <del> points = d3.range(1, 5).map(function(i) { return [i * w / 5, 50 + Math.random() * (h - 100)]; }), <add> points = d3.range(1, 5).map(function(i) { return [i * ...
1
Text
Text
remove changelog entry [ci skip]
d12b9b28972b326a7dd96cd27aa613ae0f47bdf8
<ide><path>activerecord/CHANGELOG.md <ide> <ide> *Sean Griffin* <ide> <del>* `has_many :through` associations will no longer save the through record <del> twice when added in an `after_create` callback defined before the <del> associations. <del> <del> Fixes #3798. <del> <del> *Sean Griffin* <del> <...
1
Go
Go
remove dead code from node update
cacaeab9db51f42c33872c6cce1adc3e55f1c9c5
<ide><path>api/client/node/accept.go <ide> import ( <ide> "github.com/docker/docker/cli" <ide> "github.com/docker/engine-api/types/swarm" <ide> "github.com/spf13/cobra" <del> "github.com/spf13/pflag" <ide> ) <ide> <ide> func newAcceptCommand(dockerCli *client.DockerCli) *cobra.Command { <del> var flags *pflag.FlagS...
5
Ruby
Ruby
fix broken test for postgresql
b37b6b728dbb32ed33b8aa156575bacfd8e70315
<ide><path>activerecord/test/models/person.rb <ide> class Insure <ide> <ide> def self.load mask <ide> INSURES.select do |insure| <del> (1 << INSURES.index(insure)) & mask > 0 <add> (1 << INSURES.index(insure)) & mask.to_i > 0 <ide> end <ide> end <ide>
1
Go
Go
avoid copy of sync.pool
ba3af336eb0bd5bd6082b41bb4ce0ea542c3f008
<ide><path>pkg/pools/pools.go <ide> const buffer32K = 32 * 1024 <ide> <ide> // BufioReaderPool is a bufio reader that uses sync.Pool. <ide> type BufioReaderPool struct { <del> pool sync.Pool <add> pool *sync.Pool <ide> } <ide> <ide> func init() { <ide> func init() { <ide> // newBufioReaderPoolWithSize is unexported b...
1
Java
Java
add backpressure to operatormaterialize
cc977395ee2a698b3e5c50fe2c722e2a5efffe1d
<ide><path>src/main/java/rx/internal/operators/OperatorMaterialize.java <ide> */ <ide> package rx.internal.operators; <ide> <add>import java.util.concurrent.atomic.AtomicLongFieldUpdater; <add> <ide> import rx.Notification; <ide> import rx.Observable.Operator; <add>import rx.Producer; <ide> import rx.Subscriber; <ide...
2
Text
Text
add streams to the pipeline function signature
7f2cf0f8da83d67eac47cf3cb1b8c0a98b518831
<ide><path>doc/api/stream.md <ide> const cleanup = finished(rs, (err) => { <ide> ``` <ide> <ide> ### `stream.pipeline(source[, ...transforms], destination, callback)` <add>### `stream.pipeline(streams, callback)` <ide> <!-- YAML <ide> added: v10.0.0 <ide> changes: <ide> changes: <ide> which are expect...
1
Javascript
Javascript
raise pummel/test-net-throttle write req size
67705555514d6f40fbb9a989c400f824f764e5f7
<ide><path>test/pummel/test-net-throttle.js <ide> var common = require('../common'); <ide> var assert = require('assert'); <ide> var net = require('net'); <ide> <del>var N = 160 * 1024; <add>var N = 1024 * 1024; <ide> var part_N = N / 3; <ide> var chars_recved = 0; <ide> var npauses = 0;
1
Text
Text
add missing error codes
fb477f3fa5c944e24b3b8275e4986ea3319b63a0
<ide><path>doc/api/errors.md <ide> Used when an invalid value for the `format` argument has been passed to the <ide> Used when an invalid crypto engine identifier is passed to <ide> [`require('crypto').setEngine()`][]. <ide> <add><a id="ERR_CRYPTO_HASH_DIGEST_NO_UTF16"></a> <add>### ERR_CRYPTO_HASH_DIGEST_NO_UTF16 <ad...
1
Go
Go
fix docker import on compressed data
e1c2eb0d35460c2de9cbf4a70439afa63b9d2be1
<ide><path>daemon/import.go <ide> import ( <ide> "github.com/docker/docker/dockerversion" <ide> "github.com/docker/docker/image" <ide> "github.com/docker/docker/layer" <add> "github.com/docker/docker/pkg/archive" <ide> "github.com/docker/docker/pkg/httputils" <ide> "github.com/docker/docker/pkg/progress" <ide> "g...
2
Javascript
Javascript
fix stickysectionheader re-render issue
872fbc27fe87af89f7c52a973eb3b307f85dfa2d
<ide><path>Libraries/Components/ScrollView/ScrollViewStickyHeader.js <ide> class ScrollViewStickyHeader extends React.Component { <ide> <ide> render() { <ide> const {measured, layoutHeight, layoutY, nextHeaderLayoutY} = this.state; <add> const inputRange: Array<number> = [-1, 0]; <add> const outputRange: A...
1
Javascript
Javascript
remove spurios module ref
7a9b81ef55295140f604907b75829a88e126bb0d
<ide><path>src/browser/__tests__/ReactEventEmitter-test.js <ide> "use strict"; <ide> <ide> require('mock-modules') <del> .dontMock('BrowserScroll') <ide> .dontMock('EventPluginHub') <ide> .dontMock('ReactMount') <ide> .dontMock('ReactEventEmitter')
1
PHP
PHP
add tests for count aggregate
d432cfcf57136129940d49be5ea37140e652d601
<ide><path>tests/Integration/Database/EloquentPaginateTest.php <ide> public function test_pagination_with_distinct() <ide> $query = Post::query()->distinct(); <ide> <ide> $this->assertEquals(6, $query->get()->count()); <add> $this->assertEquals(6, $query->count()); <ide> $this->assertEqu...
1
Text
Text
fix title of 'form helpers' guide
e6b8452e58a4f7d92bce13bef6060ec9fa6f7d60
<ide><path>guides/source/form_helpers.md <del>Rails Form helpers <del>================== <add>Form Helpers <add>============ <ide> <ide> Forms in web applications are an essential interface for user input. However, form markup can quickly become tedious to write and maintain because of form control naming and their nu...
1
Text
Text
create model card for pre-trained nli models.
00602f784069564082992b214a6fe1c551fec29c
<ide><path>model_cards/ynie/roberta-large-snli_mnli_fever_anli_R1_R2_R3-nli/README.md <add>--- <add>datasets: <add>- snli <add>- anli <add>- multi_nli <add>- multi_nli_mismatch <add>- fever <add>license: mit <add>--- <add>This is a strong pre-trained RoBERTa-Large NLI model. <add> <add>The training data is a combinat...
1
Javascript
Javascript
reduce duplication and reorder functions
aad60953ce1c68433b6ae74b6a62a55f80a45e6e
<ide><path>src/ng/directive/select.js <ide> var ngOptionsMinErr = minErr('ngOptions'); <ide> * used to identify the objects in the array. The `trackexpr` will most likely refer to the <ide> * `value` variable (e.g. `value.propertyName`). With this the selection is preserved <ide> * even when the option...
2
Ruby
Ruby
fix trash script
8779784d7092b6f1175eaf8c780c4d3cc88b4b16
<ide><path>Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb <ide> def trash_paths(*paths) <ide> set output to "" <ide> <ide> repeat with i from 1 to (count trashedItems) <del> set item i of trashedItems to POSIX path of (item i of trashedItems as string) <del> ...
1
Javascript
Javascript
mark the `comparator` parameter as optional
b5a5623fc7db40f32115e37546b7da1ef4d1c291
<ide><path>src/ng/filter/filter.js <ide> * <ide> * The final result is an array of those elements that the predicate returned true for. <ide> * <del> * @param {function(actual, expected)|true|undefined} comparator Comparator which is used in <add> * @param {function(actual, expected)|true|false} [comparator] Com...
1
PHP
PHP
fix some things
1d3a87bd7ec245ab320cff4f5eccebfa4ff1b947
<ide><path>src/Illuminate/Foundation/Providers/FormRequestServiceProvider.php <ide> public function boot() <ide> { <ide> $this->app->resolving(function(FormRequest $request, $app) <ide> { <del> // We will go ahead and initialize the request as well as set a few dependencies <del> // on this request instan...
2
Ruby
Ruby
remove content-length as well
8edd21c66fee41f755cf962e898646005ae866c0
<ide><path>actionpack/lib/action_controller/metal/head.rb <ide> def head(status, options = {}) <ide> self.status = status <ide> self.location = url_for(location) if location <ide> <del> if include_content_type?(self.status) <add> if include_content_headers?(self.status) <ide> self.content...
2
Python
Python
add a blank
f9c5014d061f3ad0d5e08ce56613810f0d6a5cf5
<ide><path>example_aliyun_ecs.py <ide> image = images[0] <ide> print('Use image %s' % image) <ide> <add> <ide> sgs = ecs.ex_list_security_groups() <ide> print('Found %d security groups' % len(sgs)) <ide> if len(sgs) == 0:
1
Ruby
Ruby
prevent linkapps from creating duplicate aliases
d56957d2f8692ec5a8d7391c3db2b4c0c1a4a727
<ide><path>Library/Contributions/cmds/brew-linkapps.rb <ide> def create_finder_alias(from, to) <ide> appname = File.basename(p, ".app") <ide> target = HOME_APPS+"/"+appname <ide> if File.exist? target <del> if File.symlink? target or finder_alias? target <add> if File.symlink?(target) ||...
1
Go
Go
require rest 1.25 or later
f811d5b1288583b4bb4b978e58ca0466236a9a30
<ide><path>api/common.go <ide> const ( <ide> // DefaultVersion of Current REST API <ide> DefaultVersion string = "1.25" <ide> <del> // MinVersion represents Minimum REST API version supported <del> MinVersion string = "1.12" <del> <ide> // NoBaseImageSpecifier is the symbol used by the FROM <ide> // command to spe...
10
Python
Python
replace stringtype in records.py by str
7a78927255b9b97293d07f7876f390f77bb3be47
<ide><path>numpy/core/records.py <ide> def _setfieldnames(self, names, titles): <ide> if (names): <ide> if (type(names) in [types.ListType, types.TupleType]): <ide> pass <del> elif (type(names) == types.StringType): <add> elif (type(names) == str): <ide> ...
1
Javascript
Javascript
implement usesyncexternalstore in fiber
06f98c168060ef0213526a1aee696a568cec7f54
<ide><path>packages/react-reconciler/src/ReactFiberHooks.new.js <ide> import { <ide> markRootMutableRead, <ide> } from './ReactFiberLane.new'; <ide> import { <add> DiscreteEventPriority, <ide> ContinuousEventPriority, <ide> getCurrentUpdatePriority, <ide> setCurrentUpdatePriority, <ide> export type UpdateQueue...
3
PHP
PHP
add ability to publish error views
cc188a561bc186ed4fc9811e8d60c71550ff8bbe
<ide><path>src/Illuminate/Foundation/Providers/FoundationServiceProvider.php <ide> class FoundationServiceProvider extends AggregateServiceProvider <ide> FormRequestServiceProvider::class, <ide> ]; <ide> <add> /** <add> * Boot the service provider. <add> */ <add> public function boot() <add> ...
1
Python
Python
fix static checks from sync_authors script
aa0118b0d2a4085f80663b14c1d58b54cab81319
<ide><path>scripts/ci/runners/sync_authors.py <ide> import requests <ide> import toml <ide> <del> <ide> # The list of users in the 'build-info' job looks like: <ide> # <ide> # contains(fromJSON('[ <ide> <ide> with open('ci.yml') as handle: <ide> <del> <ide> new_ci = re.sub( <ide> r''' <ide> ...
1
PHP
PHP
remove old code
ec969797878f2c731034455af2397110732d14c4
<ide><path>src/Illuminate/Queue/Jobs/JobName.php <ide> public static function resolve($name, $payload) <ide> return Arr::get($payload, 'data.commandName', $name); <ide> } <ide> <del> if ($name === 'Illuminate\Events\CallQueuedHandler@call') { <del> return $payload['data']['class']...
1
Python
Python
set version to v3.0.0rc3
084fc575aac63c3d52d73fae8ce6e33e4c98596c
<ide><path>spacy/about.py <ide> # fmt: off <ide> __title__ = "spacy-nightly" <del>__version__ = "3.0.0rc2" <add>__version__ = "3.0.0rc3" <ide> __download_url__ = "https://github.com/explosion/spacy-models/releases/download" <ide> __compatibility__ = "https://raw.githubusercontent.com/explosion/spacy-models/master/compa...
1
Javascript
Javascript
add tests for reactdebugtool and reactdomdebugtool
f89f94d1451a8a65dbaca97a7566c186ca26e6e0
<ide><path>src/isomorphic/ReactDebugTool.js <ide> var ReactDebugTool = { <ide> onUnmountComponent(internalInstance) { <ide> emitEvent('onUnmountComponent', internalInstance); <ide> }, <add> onTestEvent() { <add> emitEvent('onTestEvent'); <add> }, <ide> }; <ide> <ide> ReactDebugTool.addDevtool(ReactInvalid...
4
PHP
PHP
remove extra dash from reg-ex
9abeb4b99403a95c3a7c8e8a419dbba660849efb
<ide><path>src/Illuminate/Validation/Validator.php <ide> protected function validateAlphaNum($attribute, $value) <ide> */ <ide> protected function validateAlphaDash($attribute, $value) <ide> { <del> return preg_match('/^([-a-z0-9_-])+$/i', $value); <add> return preg_match('/^([a-z0-9_-])+$/i', $value); <ide> } <...
1
PHP
PHP
fix required field detection
99a9cc96693a62a8f64510fd7d312f760a40540b
<ide><path>lib/Cake/Test/Case/View/Helper/FormHelperTest.php <ide> class Contact extends CakeTestModel { <ide> 'imrequiredonupdate' => array('notEmpty' => array('rule' => 'alphaNumeric', 'on' => 'update')), <ide> 'imrequiredoncreate' => array('required' => array('rule' => 'alphaNumeric', 'on' => 'create')), <ide> ...
2
Text
Text
add attributes "action" "method" to article
09ccd61302bd22265cfa0ec0646b1263bbe715f2
<ide><path>guide/russian/css/forms/index.md <ide> HTML-форма содержит элементы формы. <ide> <ide> Элементы формы - это разные типы элементов ввода, такие как текстовые поля, флажки, переключатели, кнопки отправки и т. Д. <ide> <del>Внутри тегов формы есть также важный атрибут: -action: страница, на которую будут отпр...
1
Ruby
Ruby
add a test for classes with options
66274d6d03874160502c39ea05d8d117f00a6c3b
<ide><path>actionview/test/activerecord/polymorphic_routes_test.rb <ide> def test_with_class_list_of_one <ide> end <ide> end <ide> <add> def test_class_with_options <add> with_test_routes do <add> assert_equal "http://example.com/projects?foo=bar", polymorphic_url(@project.class, { :foo => :bar }) <add>...
1
Python
Python
shorten output when importerror due to app bug
7a7a163ff18c4491b8c2a6cd0630a6f4e4ce2984
<ide><path>flask/cli.py <ide> def locate_app(app_id): <ide> # Reraise the ImportError if it occurred within the imported module. <ide> # Determine this by checking whether the trace has a depth > 1. <ide> if sys.exc_info()[-1].tb_next: <del> raise <add> stack_trace = traceb...
1
PHP
PHP
add setmodel method to formbuilder
47f906120c578cec83d44744803e670acc57a2a7
<ide><path>src/Illuminate/Html/FormBuilder.php <ide> public function model($model, array $options = array()) <ide> return $this->open($options); <ide> } <ide> <add> /** <add> * Set model on form builder. <add> * <add> * @param mixed $model <add> * @return void <add> */ <add> public function setModel($model) ...
1
Ruby
Ruby
remove empty test
4f8777333d6afe15f821f59691f95aa5003e48cb
<ide><path>actionpack/test/template/record_tag_helper_test.rb <ide> def test_content_tag_for_collection <ide> assert_dom_equal expected, actual <ide> end <ide> <del> def test_content_tag_for_collection_is_html_safe <del> end <del> <ide> def test_div_for_collection <ide> post_1 = Post.new.tap { |post| pos...
1
PHP
PHP
remove unused import
2ab952145d92adc3b605234f7a6436f930465b81
<ide><path>src/Illuminate/Cache/DatabaseStore.php <ide> <ide> use Closure; <ide> use Exception; <del>use LogicException; <ide> use Illuminate\Contracts\Cache\Store; <ide> use Illuminate\Database\ConnectionInterface; <ide> use Illuminate\Contracts\Encryption\Encrypter as EncrypterContract;
1
Javascript
Javascript
remove ternary operator in react component
33ccd4107b772d30ec38a3efab37e889eb63ec12
<ide><path>client/src/templates/News/components/ArticleMeta.js <ide> function ArticleMeta({ <ide> <span className='meta-item'> <ide> <FontAwesomeIcon icon={faClock} /> {`${meta.readTime} minute read`} <ide> </span> <del> {viewCount >= 100 ? ( <add> {viewCount >= 100 && ( <ide> ...
1
Text
Text
capitalize header 4s
9fb5629b51072c4f44d201f81438aca6b96d6736
<ide><path>guide/english/react/your-first-app/index.md <ide> npm start <ide> Start up your editor or IDE of choice and edit the `App.js` file in the `src` folder. When created with the `react-create-app` tool, there will already be some code in this file. <ide> <ide> The code will consist of these parts: <del>#### imp...
1
Javascript
Javascript
cache the workdir per-repo
4b3ca21e2909802b6ba86de40c0d56548f811793
<ide><path>src/git-repository-async.js <ide> export default class GitRepositoryAsync { <ide> this.emitter = new Emitter() <ide> this.subscriptions = new CompositeDisposable() <ide> this.pathStatusCache = {} <del> this.workdir = null <ide> this.path = null <ide> <ide> // NB: These needs to happen...
1
Text
Text
fix minor formatting issue in 0.10 changelog
e1643ccc5a5ecf7cb779472d244459469c9971a1
<ide><path>doc/changelogs/CHANGELOG_V010.md <ide> https://github.com/nodejs/node/commit/8d045a30e95602b443eb259a5021d33feb4df079 <ide> * child_process: properly support optional args (cjihrig) <ide> * crypto: Disable autonegotiation for SSLv2/3 by default (Fedor Indutny, <ide> Timothy J Fontaine, Alexis Campailla) <a...
1
PHP
PHP
add more tests for mysql
b0eaecdc227012723b2a0c8e01eb5a0ec0968103
<ide><path>lib/Cake/Test/TestCase/Model/Datasource/Database/Driver/MysqlTest.php <ide> protected function _createTables($connection) { <ide> title VARCHAR(20) COMMENT 'A title', <ide> body TEXT, <ide> author_id INT(11) NOT NULL, <add>published BOOLEAN DEFAULT 0, <add>allow_comments TINYINT(1) DEFAULT 0, <ide> created D...
1
Text
Text
remove duplicate create role question
b97d57906cf66fb4986075780e13acad49d72ca7
<ide><path>guide/english/sql/sql-interview-questions/index.md <ide> The privilege to create view is CREATE VIEW <ide> ``` <ide> <ide> <del>### Create the role role_tables_and_views. <del>``` sql <del> CREATE ROLE role_tables_and_views <del>``` <del> <del> <ide> ### Grant to the role of the previous question th...
1
Java
Java
reduce access on headers for stomp messaging
9fab208fdd4a311f7d3f7587ca0dd6a1aafb553f
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageHeaderAccessor.java <ide> private StringBuilder getBaseLogMessage() { <ide> StringBuilder sb = new StringBuilder(); <ide> SimpMessageType messageType = getMessageType(); <ide> sb.append(messageType != null ? messageType.name()...
5
Python
Python
fix torchscript tests for gpt-neox
ac98a88fbc6377f93e8b7fbd244b0c3331bb82a0
<ide><path>src/transformers/models/gpt_neox/modeling_gpt_neox.py <ide> def __init__(self, config): <ide> ), <ide> ) <ide> self.register_buffer("masked_bias", torch.tensor(-1e9)) <del> self.rotary_emb = RotaryEmbedding(self.rotary_ndims, base=config.rotary_emb_base) <add> self.r...
1
Javascript
Javascript
remove unnecessary flow annotation
24dfb56113a214d98f29f69e2c26f67d7e947067
<ide><path>src/renderers/dom/client/ReactReconcileTransaction.js <ide> var TRANSACTION_WRAPPERS = [ <ide> * <ide> * @class ReactReconcileTransaction <ide> */ <del>function ReactReconcileTransaction(useCreateElement: boolean) { <add>function ReactReconcileTransaction(useCreateElement) { <ide> this.reinitializeTrans...
1
Mixed
Ruby
drop comments from structure.sql in postgresql
df050484cd3b5e888b50d2e0554a4077407459a8
<ide><path>activerecord/CHANGELOG.md <add>* Remove comments from structure.sql when using postgresql adapter to avoid <add> version-specific parts of the file. <add> <add> Fixes #28153. <add> <add> *Ari Pollak* <add> <ide> * Deprecate using `#quoted_id` in quoting. <ide> <ide> *Ryuta Kamizono* <ide><p...
3
Text
Text
fix links in packages/react-devtools/readme.md
cbf6178ed3b450774a11bd2ca7735c2073cd1bc4
<ide><path>packages/react-devtools/README.md <ide> If you're using React Native 0.43 or higher, it should connect to your simulator <ide> <ide> ### Integration with React Native Inspector <ide> <del>You can open the [in-app developer menu](https://reactnative.dev/docs/debugging.html#accessing-the-in-app-developer-men...
1
Text
Text
add documentation for atom nightly build process
7b711cda5e8bc69a9b51268a14b177764aabf6d6
<ide><path>script/vsts/README.md <add># Atom Release Build Documentation <add> <add>## Overview <add> <add>This folder contains build configuration and scripts for automating Atom's <add>release pipeline using [Visual Studio Team Services](https://azure.microsoft.com/en-us/services/visual-studio-team-services/). <add>V...
1
Mixed
Javascript
add filehandle to doc/type-parser.js
bff5d5b8f0c462880ef63a396d8912d5188bbd31
<ide><path>doc/api/fs.md <ide> the error raised if the file is not accessible. <ide> added: REPLACEME <ide> --> <ide> <del>* `file` {string|Buffer|URL|[FileHandle][]} filename or `FileHandle` <add>* `file` {string|Buffer|URL|FileHandle} filename or `FileHandle` <ide> * `data` {string|Buffer} <ide> * `options` {Object|...
2
Ruby
Ruby
fix a typo in absencevalidator
1c9a427ca9f63b2ed1f5a671d88b60d7cf805109
<ide><path>activemodel/lib/active_model/validations/absence.rb <ide> def validate_each(record, attr_name, value) <ide> <ide> module HelperMethods <ide> # Validates that the specified attributes are blank (as defined by <del> # Object#blank?). Happens by default on save. <add> # Object#present?). Ha...
1
Ruby
Ruby
remove param dup'ing logic
79ab81266327e4ee59810c8556091c6f4ee9cfe5
<ide><path>actionpack/lib/action_controller/test_case.rb <ide> def assign_parameters(routes, controller_path, action, parameters = {}) <ide> non_path_parameters = {}.with_indifferent_access <ide> <ide> parameters.each do |key, value| <del> if value.is_a?(Array) && (value.frozen? || value.any?(&:froz...
1
Text
Text
add link to article by chris olah.
c783a9e900fbd5b2fbca99b4331e5b8e2060c045
<ide><path>client/src/pages/guide/english/machine-learning/backpropagation/index.md <ide> High-Level: <ide> In-depth: <ide> * Lecture 4 CS231n [Introduction to Neural Networks](https://youtu.be/d14TUNcbn1k?t=354) <ide> * [In depth, wiki style article](https://brilliant.org/wiki/backpropagation/) <add>* [Article on com...
1
Javascript
Javascript
fix typo in comment
3c02fefe57e1f17ba08a1aca0c3d8633e0185a51
<ide><path>examples/js/controls/OrbitControls.js <ide> // <ide> // Orbit - left mouse / touch: one finger move <ide> // Zoom - middle mouse, or mousewheel / touch: two finger spread or squish <del>// Pan - right mouse, or arrow keys / touch: three finter swipe <add>// Pan - right mouse, or arrow keys / touc...
1
Ruby
Ruby
update asset test to match one in sprockets-rails
fd8b9bee47799af3b112e9d92d50739cec43da63
<ide><path>railties/test/application/assets_test.rb <ide> def show_detailed_exceptions?() true end <ide> test "assets raise AssetNotPrecompiledError when manifest file is present and requested file isn't precompiled if digest is disabled" do <ide> app_file "app/views/posts/index.html.erb", "<%= javascript_inc...
1
Text
Text
add changelog entry
25a14bf2bde90224debee343ebfbb882c02b9588
<ide><path>activejob/CHANGELOG.md <add>* Add support to define custom argument serializers. <add> <add> *Evgenii Pecherkin*, *Rafael Mendonça França* <ide> <ide> <ide> Please check [5-2-stable](https://github.com/rails/rails/blob/5-2-stable/activejob/CHANGELOG.md) for previous changes.
1
Python
Python
reduce overhead of np.linalg.norm for small arrays
5c740d0ca3d35c151c5120a551a69319ffac04d9
<ide><path>numpy/linalg/linalg.py <ide> def norm(x, ord=None, axis=None, keepdims=False): <ide> <ide> x = x.ravel(order='K') <ide> if isComplexType(x.dtype.type): <del> sqnorm = dot(x.real, x.real) + dot(x.imag, x.imag) <add> x_real = x.real <add> x_...
1
Python
Python
fix nested html dictionaries. closes
f9d1a34fdd4d8065acb2e9ab9ed4a7b0338b66bd
<ide><path>rest_framework/utils/html.py <ide> def parse_html_dict(dictionary, prefix=''): <ide> } <ide> } <ide> """ <del> ret = {} <add> ret = MultiValueDict() <ide> regex = re.compile(r'^%s\.(.+)$' % re.escape(prefix)) <ide> for field, value in dictionary.items(): <ide> match = re...
1
Javascript
Javascript
add getters/setters for private apis
045b07d51833076ea0e4b2f3d7cce94baaa550a5
<ide><path>lib/dgram.js <ide> Socket.prototype.getSendBufferSize = function() { <ide> }; <ide> <ide> <add>// Legacy private APIs to be deprecated in the future. <add>Object.defineProperty(Socket.prototype, '_handle', { <add> get() { <add> return this[kStateSymbol].handle; <add> }, <add> set(val) { <add> this...
1
Javascript
Javascript
kill children before cluster parent
454fbb803a1bef3bd53224b73fc48093c250d507
<ide><path>test/simple/test-debug-signal-cluster.js <ide> setTimeout(function testTimedOut() { <ide> }, 6000); <ide> <ide> process.on('exit', function onExit() { <del> pids.forEach(function(pid) { <add> // Kill processes in reverse order to avoid timing problems on Windows where <add> // the parent process is kille...
1
Javascript
Javascript
move thfeedlistview to right location
e14b24936d157bbfd27e622e403bf903cb9c4bae
<ide><path>Libraries/CustomComponents/ListView/THFeedListView.js <del>/** <del> * Copyright (c) 2015, Facebook, Inc. All rights reserved. <del> * <del> * Facebook, Inc. ("Facebook") owns all right, title and interest, including <del> * all intellectual property and other proprietary rights, in and to the React <del> *...
1
Mixed
Go
add support for multiples runtimes
7b2e5216b89b4c454d67473f1fa06c52a4624680
<ide><path>api/client/info.go <ide> func (cli *DockerCli) CmdInfo(args ...string) error { <ide> ioutils.FprintfIfNotEmpty(cli.out, "Logging Driver: %s\n", info.LoggingDriver) <ide> ioutils.FprintfIfNotEmpty(cli.out, "Cgroup Driver: %s\n", info.CgroupDriver) <ide> <del> fmt.Fprintf(cli.out, "Plugins: \n") <add> fmt.F...
25
Ruby
Ruby
fix skip message handling
61ff1d7e74243b9cb72057a951e22f2428e9f2d3
<ide><path>Library/Homebrew/dev-cmd/bump.rb <ide> def bump <ide> end <ide> <ide> def livecheck_result(formula) <del> skip_result = Livecheck.skip_conditions(formula, json: true, full_name: false, quiet: false) <del> if skip_result != false <del> return "skipped#{" - #{skip_result[:messages].join(", ")}"...
1
Text
Text
update changelog for 2.10.1
8b6655b4263f4cbc376ef0d3d85b832527af83f7
<ide><path>CHANGELOG.md <ide> Changelog <ide> ========= <ide> <add>### 2.10.1 <add> <add>* regression: Add moment.duration.fn back <add> <ide> ### 2.10.0 <ide> <ide> Ported code to es6 modules.
1
Text
Text
add airdna as airflow user
deebf44011b34aa6091363d2eb5a307fbf6270d3
<ide><path>README.md <ide> Currently **officially** using Airflow: <ide> 1. [AdBOOST](https://www.adboost.sk) [[AdBOOST](https://github.com/AdBOOST)] <ide> 1. [Agari](https://github.com/agaridata) [[@r39132](https://github.com/r39132)] <ide> 1. [Airbnb](http://airbnb.io/) [[@mistercrunch](https://github.com/mistercrunc...
1
Text
Text
update docs to use the new `docker daemon` command
e246f1e4eec3290f343627e73a926b940b77b121
<ide><path>docs/articles/basics.md <ide> when no `-H` was passed in. <ide> <ide> Run Docker in daemon mode: <ide> <del> $ sudo <path to>/docker -H 0.0.0.0:5555 -d & <add> $ sudo <path to>/docker daemon -H 0.0.0.0:5555 & <ide> <ide> Download an `ubuntu` image: <ide> <ide> You can use multiple `-H`, for example...
14
Javascript
Javascript
add an unbound output helper
91c78754bac4a1b1d32e991de68a1553b467178e
<ide><path>packages/sproutcore-handlebars/lib/helpers.js <ide> require("sproutcore-handlebars/helpers/binding"); <ide> require("sproutcore-handlebars/helpers/collection"); <ide> require("sproutcore-handlebars/helpers/view"); <add>require("sproutcore-handlebars/helpers/unbound"); <ide><path>packages/sproutcore-handlebar...
3
PHP
PHP
remove unused loop variable
21aa5cc1eb2eed1fa13ed240ff936a79f398b2d1
<ide><path>src/Illuminate/Support/MessageBag.php <ide> protected function transform($messages, $format, $messageKey) <ide> // We will simply spin through the given messages and transform each one <ide> // replacing the :message place holder with the real message allowing <ide> // the messages to be easily formatt...
1
PHP
PHP
add url option to first/last as well
30f6d35f113c099dfca9533fb95a0830b7c7ca09
<ide><path>src/View/Helper/PaginatorHelper.php <ide> protected function _toggledLink($text, $enabled, $options, $templates) <ide> * this method to return ''. <ide> * - `escape` Whether you want the contents html entity encoded, defaults to true <ide> * - `model` The model to use, defaults to PaginatorH...
2
Javascript
Javascript
remove debugging line
9e9674d45c025d20ed1480d485e905b51aedef98
<ide><path>src/obj.js <ide> var XRef = (function XRefClosure() { <ide> <ide> return dict; <ide> } catch (e) { <del> // log('(while reading XRef): ' + e); <del>error('(while reading XRef): ' + e); <add> log('(while reading XRef): ' + e); <ide> } <ide> <ide> warn('Indexing all PD...
1
Ruby
Ruby
remove 'nice' error message for missing envs
fae972c9d708179f8fb1b91e49800f1ff2031bf9
<ide><path>Library/Homebrew/brew.rb <ide> std_trap = trap("INT") { exit! 130 } # no backtrace thanks <ide> <ide> # check ruby version before requiring any modules. <del>unless ENV["HOMEBREW_REQUIRED_RUBY_VERSION"] <del> raise "HOMEBREW_REQUIRED_RUBY_VERSION was not exported! Please call bin/brew directly!" <del>end <...
1
Text
Text
list full class name
bf81a1cfd80191ef144d8fc30783804565bb844e
<ide><path>actionpack/CHANGELOG.md <del>* Remove deprecated `Metal#env`. <add>* Remove deprecated `ActionController::Metal#env`. <ide> <ide> *Rafael Mendonça França* <ide>
1
Python
Python
change error exception to rankwarning
533fba23cb556658fa8cc465c3385426ec3a8521
<ide><path>numpy/lib/polynomial.py <ide> <ide> __all__ = ['poly', 'roots', 'polyint', 'polyder', 'polyadd', <ide> 'polysub', 'polymul', 'polydiv', 'polyval', 'poly1d', <del> 'polyfit'] <add> 'polyfit', 'RankWarning'] <ide> <ide> import re <ide> import warnings <ide> _single_eps = MachAr...
1
Python
Python
improve type hinting to provider microsoft
d3c76da95250068161580036a86e26ee2790fa07
<ide><path>airflow/providers/microsoft/azure/operators/adls_list.py <ide> # specific language governing permissions and limitations <ide> # under the License. <ide> <del>from typing import Iterable <add>from typing import Any, Dict, Iterable, List <ide> <ide> from airflow.models import BaseOperator <ide> from airflow...
10
Python
Python
improve type-check for sequence
d6b5c5ebb410e3366c9d7aca41977a60134bfe10
<ide><path>keras/engine/training_generator.py <ide> import warnings <ide> import numpy as np <ide> <add>from .training_utils import is_sequence <ide> from .training_utils import iter_sequence_infinite <ide> from .. import backend as K <ide> from ..utils.data_utils import Sequence <ide> def fit_generator(model, <ide> ...
6
Javascript
Javascript
add comment re. opera bug
9d56825122983e904515de1922694c66c95e5b1f
<ide><path>d3.layout.js <ide> d3.layout.chord = function() { <ide> k = (2 * Math.PI - padding * n) / k; <ide> <ide> // Compute the start and end angle for each group and subgroup. <add> // Note: Opera has a bug reordering object literal properties! <ide> x = 0, i = -1; while (++i < n) { <ide> x0 =...
3
Go
Go
simplify integration test for link + hostname
dc605c8be76760951d0d12e67409602c7b4b7973
<ide><path>integration-cli/docker_cli_links_test.go <ide> func TestPingUnlinkedContainers(t *testing.T) { <ide> } <ide> <ide> func TestPingLinkedContainers(t *testing.T) { <del> cmd := exec.Command(dockerBinary, "run", "-d", "--name", "container1", "busybox", "sleep", "10") <del> out, _, err := runCommandWithOutput(cm...
1
PHP
PHP
use path helpers for console commands
d14395fd92253586627890c3c510d47f12a0240d
<ide><path>src/Illuminate/Foundation/Console/AppNameCommand.php <ide> protected function setComposerNamespace() <ide> protected function setDatabaseFactoryNamespaces() <ide> { <ide> $files = Finder::create() <del> ->in($this->laravel->databasePath().'/factories') <add> ...
5
Ruby
Ruby
copy license files with hyphens
c92c78d1af49ccc676d73605dd7cb80a886a1812
<ide><path>Library/Homebrew/metafiles.rb <ide> def list?(file) <ide> <ide> def copy?(file) <ide> file = file.downcase <del> return true if LICENSES.include? file.split(".").first <add> return true if LICENSES.include? file.split(/\.|-/).first <ide> <ide> ext = File.extname(file) <ide> file = File...
1
Text
Text
update changelog for 2.8.2
28ef7ad631a1247289c57df917436c07ef80accf
<ide><path>CHANGELOG.md <ide> Changelog <ide> ========= <ide> <add>### 2.8.2 <add> <add>Minor bugfixes: <add> <add>* [#1874](https://github.com/moment/moment/issues/1874) use `Object.prototype.hasOwnProperty` <add> instead of `obj.hasOwnProperty` (ie8 bug) <add>* [#1873](https://github.com/moment/moment/issues/1873) ...
1
PHP
PHP
fix failing test caused by changes in debug()
0bb9f3f99ed4b403bdd1b5f27beb62e40ea36476
<ide><path>lib/Cake/Test/Case/Error/ExceptionRendererTest.php <ide> public function testPDOException() { <ide> $ExceptionRenderer->render(); <ide> $result = ob_get_clean(); <ide> <del> $this->assertPattern('/<h2>Database Error<\/h2>/', $result); <del> $this->assertPattern('/There was an error in the SQL query/',...
1
Javascript
Javascript
fix legend generation when no datasets
3d6b47b0d5de5e341ec69f978864609f11d7ef63
<ide><path>src/controllers/controller.doughnut.js <ide> module.exports = function(Chart) { <ide> legend: { <ide> labels: { <ide> generateLabels: function(data) { <del> return data.labels.map(function(label, i) { <del> return { <del> text: label, <del> fillStyle: data.datasets[0].background...
2
Text
Text
update text about components in react.
bff9327059a10256e55ded8e9c44cb5cda82d527
<ide><path>guide/portuguese/react/component/index.md <ide> localeTitle: React - Componentes <ide> --- <ide> ## React - Componentes <ide> <del>Componentes são reutilizáveis ​​em react.js. Você pode injetar valor em adereços como dado abaixo: <add>Componentes são como funções JavaScript. Eles aceitam inputs (conhecido c...
1
Python
Python
use existence of glibc-version to clean up a test
56268d5cf8ded5ebe0b51cca6c23da4b0586807c
<ide><path>numpy/core/tests/test_umath.py <ide> def bad_arcsinh(): <ide> # The eps for float128 is 1-e33, so this is way bigger <ide> return abs((v1 / v2) - 1.0) > 1e-23 <ide> <del>if platform.machine() == 'aarch64' and bad_arcsinh(): <del> skip_longcomplex_msg = ('Trig functions of np.longcomplex values kn...
1