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
fix wrong order of the 'div' command
21ee01eb7c75e3727dea6a1a498fa85c11e684d1
<ide><path>fonts.js <ide> CFF.prototype = { <ide> case "div": <ide> var num2 = aCharstring[i - 1]; <ide> var num1 = aCharstring[i - 2]; <del> aCharstring.splice(i - 2, 3, num2 / num1); <add> aCharstring.splice(i - 2, 3, num1 / num2); <ide> i -= 2; <ide...
1
Text
Text
add benchmark who-to-cc info
a528d0dd052be94ab56908a633372ef2609ad1dd
<ide><path>doc/onboarding-extras.md <ide> <ide> | subsystem | maintainers | <ide> | --- | --- | <add>| `benchmark/*` | @nodejs/benchmarking, @mscdex | <add>| `bootstrap_node.js` | @fishrock123 | <ide> | `lib/assert` | @nodejs/testing | <ide> | `lib/buffer` | @nodejs/buffer | <ide> | `lib/child_process` | @bnoordhuis, ...
1
Text
Text
clarify use of napi_experimental
f4586c902a721164c8af3c0e11db859f102dfe2e
<ide><path>doc/api/n-api.md <ide> listed as supporting a later version. <ide> version 1 but continued to evolve until Node.js 8.6.0. The API is different in <ide> versions prior to Node.js 8.6.0. We recommend N-API version 3 or later. <ide> <add>Each API documented for N-API will have a header named `added in:`, and A...
1
Text
Text
release notes for 1.2.12
5cc5cc13b9beb996e0173e97db5c0e04d0204dfb
<ide><path>CHANGELOG.md <add><a name="1.2.12"></a> <add># 1.2.12 cauliflower-eradication (2014-02-07) <add> <add> <add>## Bug Fixes <add> <add>- **$compile:** retain CSS classes added in cloneAttachFn on asynchronous directives <add> ([5ed721b9](https://github.com/angular/angular.js/commit/5ed721b9b5e95ae08450e1ae9d52...
1
Javascript
Javascript
remove unused htmlbars code in router
d2cd0d35fa487c3ae500e779c5751d50e96a2db7
<ide><path>packages/ember-routing/lib/system/router.js <ide> const EmberRouter = EmberObject.extend(Evented, { <ide> init() { <ide> this._super(...arguments); <ide> <del> this._activeViews = {}; <ide> this._qpCache = new EmptyObject(); <ide> this._resetQueuedQueryParameterChanges(); <ide> this._ha...
1
Text
Text
remove obsolete ref to sha1
f30221c7e1d626ddce3d923bc9da2ba880a7ceee
<ide><path>share/doc/homebrew/Tips-N'-Tricks.md <ide> renaming the file from <code>otp_src_R13B03</code> to <ide> download. This means instead of manually renaming a formula, you can <ide> run `mv the_tarball $(brew --cache -s $FORMULA)`. <ide> <del>You can also pre-cache the download by using the command `brew fetch...
1
Ruby
Ruby
update command line outputs
507fba73c493dc8d05fcd836e1a8f58471fe04d5
<ide><path>Library/Homebrew/cask/cmd/upgrade.rb <ide> def run <ide> *casks, <ide> force: args.force?, <ide> greedy: args.greedy?, <del> greedy_latest: args.greedy_latest, <del> greedy_auto_updates: args.greedy_auto_updates, <add> ...
2
PHP
PHP
get exception property only if it exists
052ebceb4a26b47d294600976d8756f77245eee2
<ide><path>src/Illuminate/Foundation/Testing/CrawlerTrait.php <ide> protected function assertPageLoaded($uri, $message = null) <ide> } catch (PHPUnitException $e) { <ide> $message = $message ?: "A request to [{$uri}] failed. Received status code [{$status}]."; <ide> <del> throw new HttpE...
1
Go
Go
add err handling, close fd
2281ce7e98ec983514450c33c0ef1d90262c3b4f
<ide><path>plugin/backend.go <ide> func (pm *Manager) List() ([]types.Plugin, error) { <ide> // Push pushes a plugin to the store. <ide> func (pm *Manager) Push(name string, metaHeader http.Header, authConfig *types.AuthConfig) error { <ide> p, err := pm.get(name) <add> if err != nil { <add> return err <add> } <ide> ...
4
Python
Python
fix the if
2b5c71b81773623c1d2ef280f6d406631727a34c
<ide><path>setup.py <ide> def _run_tests(self): <ide> for t in glob(pjoin(self._dir, test_path, 'test_*.py')): <ide> if (sys.version_info >= (3, 2) and sys.version_info < (3, 3) or <ide> sys.version_info >= (2, 5) and sys.version_info < (2, 6)) \ <del> ...
1
Go
Go
clarify doc for parsetimestamp
9cd67df5b283dc8cd13e85af8f191756fe1a6363
<ide><path>api/types/time/timestamp.go <ide> func GetTimestamp(value string, reference time.Time) (string, error) { <ide> return fmt.Sprintf("%d.%09d", t.Unix(), int64(t.Nanosecond())), nil <ide> } <ide> <del>// ParseTimestamps returns seconds and nanoseconds from a timestamp that has the <del>// format "%d.%09d", ti...
2
Javascript
Javascript
fix persistent history and env variable name
2e2fce0502399db5d0902a0d3eb9528e1d9420c4
<ide><path>lib/internal/repl.js <ide> module.paths = require('module')._nodeModulePaths(module.filename); <ide> <ide> function createRepl(env, cb) { <ide> const opts = { <del> useGlobal: true, <del> ignoreUndefined: false <add> ignoreUndefined: false, <add> terminal: process.stdout.isTTY, <add> useGlo...
1
Mixed
Python
add maskedlm for keras_nlp
96ca6e05d7d96d554cbb38bf7c7b6e14c1fc4031
<ide><path>official/nlp/keras_nlp/README.md <add># keras-nlp <add> <add>## Layers <add> <add>Layers are the fundamental building blocks for NLP models. They can be used to <add>assemble new layers, networks, or models. <add> <add>* [TransformerEncoderBlock](layers/transformer_encoder_block.py) implements <add> an ...
4
Javascript
Javascript
fix jshint task
6001a1e4e7d4a572e70cd55c049449ac85cbe134
<ide><path>gulpfile.js <ide> function releaseTask() { <ide> <ide> <ide> function jshintTask() { <del> return gulp.src(srcDir + '*.js') <add> return gulp.src(srcDir + '**/*.js') <ide> .pipe(jshint()) <ide> .pipe(jshint.reporter('default')); <ide> }
1
Go
Go
fix empty-lines (revive)
ecb4ed172b8ec01819c62b95d6ece5fe184637e1
<ide><path>builder/builder-next/adapters/containerimage/pull.go <ide> func (is *Source) Resolve(ctx context.Context, id source.Identifier, sm *session <ide> p := &puller{ <ide> src: imageIdentifier, <ide> is: is, <del> //resolver: is.getResolver(is.RegistryHosts, imageIdentifier.Reference.String(), sm, g), <add>...
8
Python
Python
set version to 2.1.0a2
5fc98ade04fef211cfc617129fb2103fabd0f1cc
<ide><path>spacy/about.py <ide> # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py <ide> <ide> __title__ = 'spacy-nightly' <del>__version__ = '2.1.0a1' <add>__version__ = '2.1.0a2' <ide> __summary__ = 'Industrial-strength Natural Language Processing (NLP) with Python and Cython' <ide> __uri__ = 'ht...
1
PHP
PHP
fix failing tests
89ecd95e55c16259f9222ea3e00dd1c6eeaa7293
<ide><path>lib/Cake/Controller/Component/Auth/BasicAuthenticate.php <ide> public function getUser(CakeRequest $request) { <ide> * <ide> * @param CakeRequest $request A request object. <ide> * @param CakeResponse $response A response object. <del> * @return boolean True <add> * @return void <add> * @throws Unauthoriz...
4
Javascript
Javascript
ensure failed assertions cause build to fail
8995125c1427545118f68e82eea2a622878af875
<ide><path>test/parallel/test-assert-async.js <ide> const wait = promisify(setTimeout); <ide> // Test assert.rejects() and assert.doesNotReject() by checking their <ide> // expected output and by verifying that they do not work sync <ide> <del>assert.rejects( <del> () => assert.fail(), <del> common.expectsError({ <d...
1
Javascript
Javascript
fix failing unit tests due to deferred teardown
8118866ef1c6838a5c08ac3b1a9d092fd023f835
<ide><path>packages/ember-application/tests/system/application_test.js <ide> test("acts like a namespace", function() { <ide> }); <ide> app.Foo = Ember.Object.extend(); <ide> equal(app.Foo.toString(), "TestApp.Foo", "Classes pick up their parent namespace"); <del> app.destroy(); <add> Ember.run(function() { <ad...
8
Python
Python
fix flake8 error
64febd83cc72fed286e9d5d0cdcd113e5ab1246a
<ide><path>celery/concurrency/asynpool.py <ide> def _select(readers=None, writers=None, err=None, timeout=0, <ide> errno = exc.errno <ide> except AttributeError: <ide> errno = exc.args[0] <del> <add> <ide> if errno == errno.EINTR: <ide> return set(), set(), 1 ...
1
PHP
PHP
remove deprecated test
d9670cae26efbb3214fb8f28aa266a62e036e699
<ide><path>tests/TestCase/View/Helper/FormHelperTest.php <ide> public function testCreateAutoUrl() <ide> */ <ide> public function testCreateNoUrl() <ide> { <del> $result = $this->Form->create(false, ['url' => false]); <add> $result = $this->Form->create(false, ['url' => ['action' => false]]);...
1
Text
Text
update vm.md for link linting
c4de76f7a66d285d5914e329663f65f4c6e69381
<ide><path>doc/api/vm.md <ide> flag enabled.* <ide> The `vm.SourceTextModule` class provides the [Source Text Module Record][] as <ide> defined in the ECMAScript specification. <ide> <del>### Constructor: new vm.SourceTextModule(code[, options]) <add>### Constructor: new vm.SourceTextModule(code\[, options\]) <ide> <...
1
Python
Python
fix valueerror typo
c2e4c9c034a3446de643fb4f8e96d21249abb7b9
<ide><path>numpy/polynomial/hermite_e.py <ide> def hermefit(x, y, deg, rcond=None, full=False, w=None): <ide> <ide> # check arguments. <ide> if deg < 0 : <del> raise valueerror, "expected deg >= 0" <add> raise ValueError, "expected deg >= 0" <ide> if x.ndim != 1: <ide> raise TypeError...
1
Javascript
Javascript
publish glimmer builds to s3
a233059b52fa865eac093f6076bf8736d49afe18
<ide><path>config/s3ProjectConfig.js <ide> function fileObject(baseName, extension, contentType, currentRevision, tag, date <ide> var obj = { <ide> contentType: contentType, <ide> destinations: { <add> glimmer: [ <add> "glimmer" + fullName, <add> "canary/shas/" + currentRevision + ...
1
Text
Text
add option to require 'process' to api docs
136c805b6e4dbcb8996ecad7a7d882fbf83e3e7c
<ide><path>doc/api/process.md <ide> <ide> The `process` object is a `global` that provides information about, and control <ide> over, the current Node.js process. As a global, it is always available to <del>Node.js applications without using `require()`. <add>Node.js applications without using `require()`. It can also...
1
Javascript
Javascript
remove memory fix
329d5e1d0328a5e638d4041e913fe1faccd919f3
<ide><path>src/manipulation.js <ide> jQuery.fn.extend({ <ide> // Hope ajax is available... <ide> jQuery.ajax({ <ide> url: node.src, <del> type: "GET", <ide> dataType: "script", <ide> async: false, <ide> global: false, <ide> jQuery.fn.extend({ <ide> } <id...
1
Javascript
Javascript
remove unused _valuedidchange function
7e07f49637323180f8896a6480aa449ebe48faf3
<ide><path>packages/sproutcore-handlebars/lib/controls/text_field.js <ide> SC.TextField = SC.View.extend( <ide> set(this, 'value', this.$().val()); <ide> }, <ide> <del> _valueDidChange: function() { <del> SC.run.once(this, this._updateElementValue); <del> }, <del> <ide> _updateElementValue: function() { <...
1
Text
Text
add github actions badge to readme
befff3eb7af36e0fef4cbec3bd9ef5575ee03b90
<ide><path>README.md <ide> # Apache Airflow <ide> <ide> [![PyPI version](https://badge.fury.io/py/apache-airflow.svg)](https://badge.fury.io/py/apache-airflow) <add>![Airflow](https://github.com/apache/airflow/workflows/Airflow/badge.svg) <ide> [![Build Status](https://travis-ci.org/apache/airflow.svg?branch=master)](...
1
Javascript
Javascript
move texture.image order
ae249e1bf75acb093a87d2ef32335968ad76e6cd
<ide><path>src/loaders/TextureLoader.js <ide> Object.assign( TextureLoader.prototype, { <ide> var loader = new ImageLoader( this.manager ); <ide> loader.setCrossOrigin( this.crossOrigin ); <ide> loader.setPath( this.path ); <del> loader.load( url, function ( image ) { <add> var image = loader.load( url, functio...
1
Text
Text
update example url for add_source
706063f1eef607746f264822194d1457051d4d68
<ide><path>guides/source/rails_application_templates.md <ide> end <ide> <ide> Adds the given source to the generated application's `Gemfile`. <ide> <del>For example, if you need to source a gem from `"http://code.whytheluckystiff.net"`: <add>For example, if you need to source a gem from `"http://gems.github.com"`: <i...
1
Text
Text
add reference to backbone-redux-migrator
55db7dd29e7750cd0f48f96736bec16cf8b577bf
<ide><path>docs/recipes/MigratingToRedux.md <ide> Your process will look like this: <ide> ## From Backbone <ide> <ide> Backbone's model layer is quite different from Redux, so we don't suggest mixing them. If possible, it is best that you rewrite your app's model layer from scratch instead of connecting Backbone to Re...
1
Go
Go
update sig message
ac9b06ae95f1da8407934036ab1e4019a96a6b21
<ide><path>server/server.go <ide> func InitServer(job *engine.Job) engine.Status { <ide> gosignal.Notify(c, os.Interrupt, syscall.SIGTERM, syscall.SIGQUIT) <ide> go func() { <ide> sig := <-c <del> log.Printf("Received signal '%v', exiting\n", sig) <add> log.Printf("Received signal '%v', starting shutdown of docke...
1
Javascript
Javascript
add test for enter-append
c88d9d14c9b4343e2dc78ae9ef2b1740c48b3d98
<ide><path>test/core/selection-append-test.js <ide> suite.addBatch({ <ide> } <ide> }); <ide> <del>// TODO enter().append() <add>suite.addBatch({ <add> "selectAll(div).data(…).enter()": { <add> topic: function() { <add> return d3.select("body"); <add> }, <add> "appends to the parent node": function(bod...
1
Javascript
Javascript
remove iterableforobject tests
3da5219649a7e2cd2a929468e97b7a11f7641590
<ide><path>packages/ember-glimmer/tests/unit/utils/iterable-test.js <ide> moduleFor('Iterable', class extends TestCase { <ide> } <ide> } <ide> <del> ['@test iterates over an object\'s own properties']() { <del> let iterator = iteratorForObject({ first: 'foo', second: 'bar' }); <del> <del> this.assert.deep...
1
Javascript
Javascript
remove mu support in component blueprints
4427edd2db29b4fda0a246ac695315f10e23f0eb
<ide><path>blueprints/component-test/index.js <ide> const isPackageMissing = require('ember-cli-is-package-missing'); <ide> const getPathOption = require('ember-cli-get-component-path-option'); <ide> <ide> const useTestFrameworkDetector = require('../test-framework-detector'); <del>const isModuleUnificationProject = r...
4
Text
Text
remove etw from diag tierlist
3786ef63b02c5b29a65de974d4b0846c732f6c40
<ide><path>doc/contributing/diagnostic-tooling-support-tiers.md <ide> The tools are currently assigned to Tiers as follows: <ide> | Tracing | trace\_gc | No | Yes | 1 | <ide> | Tracing | DTrace | No ...
1
Ruby
Ruby
make model.find_by! error consistent
afab1ef7c37a2d6a772c8f0c3a124313de816eb7
<ide><path>activerecord/lib/active_record/core.rb <ide> def find_by(*args) # :nodoc: <ide> end <ide> <ide> def find_by!(*args) # :nodoc: <del> find_by(*args) || raise(RecordNotFound.new("Couldn't find #{name}", name)) <add> find_by(*args) || where(*args).raise_record_not_found_exception! <ide...
2
Javascript
Javascript
add html5 srcdoc property for iframes
40547125f89255f35a43e5a995568744c0f65a60
<ide><path>src/browser/dom/DefaultDOMPropertyConfig.js <ide> var DefaultDOMPropertyConfig = { <ide> span: HAS_POSITIVE_NUMERIC_VALUE, <ide> spellCheck: null, <ide> src: null, <add> srcDoc: MUST_USE_PROPERTY, <ide> step: null, <ide> style: null, <ide> tabIndex: null, <ide> var DefaultDOMProper...
1
Go
Go
fix tests for pkg/archive
108bbd96cb6f9aaa2a761e1a33250f36d58882f9
<ide><path>pkg/archive/archive_test.go <ide> func TestCompressStreamBzip2Unsupported(t *testing.T) { <ide> } <ide> defer dest.Close() <ide> <del> _, err = CompressStream(dest, Xz) <add> _, err = CompressStream(dest, Bzip2) <ide> if err == nil { <del> t.Fatalf("Should fail as xz is unsupported for compression forma...
1
Javascript
Javascript
add some debug info in the netlify command
8f450ea0b4750253a2986fec8c10481b32afeaf3
<ide><path>build/netlify-docs.js <ide> const sh = require('shelljs'); <ide> <ide> const GIT_CONTAINS = `git tag --contains ${process.env.COMMIT_REF}`; <del> <ide> const output = sh.exec(GIT_CONTAINS, {async: false, silent:true}).stdout; <ide> <add>console.log('CONTAINS command:', GIT_CONTAINS); <add>console.log('BRAN...
1
PHP
PHP
implement ttl parameters for cache engines
0110ea823e1c06460dd4086cfab04da7cb889fa1
<ide><path>src/Cache/CacheEngine.php <ide> namespace Cake\Cache; <ide> <ide> use Cake\Core\InstanceConfigTrait; <add>use DateInterval; <ide> use Psr\SimpleCache\CacheInterface; <ide> <ide> /** <ide> protected function warning(string $message): void <ide> <ide> triggerWarning($message); <ide> } <add> <add...
11
Javascript
Javascript
use fetch as a polyfill
2fe3dd2e7d27789918079c66636c5161e22c5c33
<ide><path>Libraries/Network/fetch.js <ide> <ide> 'use strict'; <ide> <del>const whatwg = require('whatwg-fetch'); <add>// side-effectful require() to put fetch, <add>// Headers, Request, Response in global scope <add>require('whatwg-fetch'); <ide> <del>if (whatwg && whatwg.fetch) { <del> module.exports = whatwg; <...
1
Python
Python
catch attributeerror on missing "tasks" module
2b72d6346fc8f82c4e4da1b2b2edc841682f8da1
<ide><path>celery/loaders/djangoapp.py <ide> def find_related_module(app, related_name): <ide> <ide> module = importlib.import_module("%s.%s" % (app, related_name)) <ide> <del> return getattr(module, related_name) <add> try: <add> return getattr(module, related_name) <add> except AttributeError: <...
1
PHP
PHP
throw excption if file dumping fails
c1a1c30d30329a77d6acd67e4d4b941ffd317ba2
<ide><path>src/Filesystem/Filesystem.php <ide> public function dumpFile(string $filename, string $content): void <ide> $exits = file_exists($filename); <ide> <ide> if ($this->isStream($filename)) { <del> file_put_contents($filename, $content); <add> $success = @file_put_contents($...
1
Javascript
Javascript
improve test case
81913dc224833c8056d9d75f7fd84ac38866e104
<ide><path>test/configCases/output/inner-dirs-entries/a.js <del>import dummy from './dep'; <add>import dummy from 'dummy_module'; <ide> <del>it("should load", done => { <del> dummy(); <del> done(); <add>it("should load", () => { <add> expect(dummy()).toBe('this is just a dummy function'); <add> return import(...
5
Text
Text
fix typo in changelog entry for
7e356750591e103b2857fee111914a37114b60c6
<ide><path>activerecord/CHANGELOG.md <ide> * Restrict deletion of record when using `delete_all` with `uniq`, `group`, `having` <ide> or `offset`. <ide> <del> I these cases the generated query ignores them and that causes unintended <add> In these cases the generated query ignored them and that caused unin...
1
Python
Python
fix polynomial comparison. closes ticket #554
393473fbace1bb64ef73ab3ebd11a78db832dca1
<ide><path>numpy/core/tests/test_regression.py <ide> def check_numeric_random(self, level=rlevel): <ide> from numpy.oldnumeric.random_array import randint <ide> randint(0,50,[2,3]) <ide> <add> def check_poly_eq(self, level=rlevel): <add> """Ticket #554""" <add> x = N.poly1d([1,2,3]) <a...
2
Java
Java
support strict uri variable encoding
6f2c968925c28d7269e1dada1d97b7dff2d6cf07
<ide><path>spring-web/src/main/java/org/springframework/web/util/DefaultUriTemplateHandler.java <ide> <ide> package org.springframework.web.util; <ide> <add>import java.io.UnsupportedEncodingException; <ide> import java.net.URI; <ide> import java.net.URISyntaxException; <add>import java.util.HashMap; <ide> import jav...
2
Java
Java
reduce string creation in beanpropertyrowmapper
6316a353bb074b118ab71ad89fe60553c4d073c9
<ide><path>spring-jdbc/src/main/java/org/springframework/jdbc/core/BeanPropertyRowMapper.java <ide> protected String underscoreName(String name) { <ide> if (!StringUtils.hasLength(name)) { <ide> return ""; <ide> } <add> <ide> StringBuilder result = new StringBuilder(); <del> result.append(lowerCaseName(name.s...
1
Go
Go
add login check before pull user's repo
1b0b962b43afe2f0e07b31fe03e64db4e7d97854
<ide><path>commands.go <ide> func (cli *DockerCli) CmdPush(args ...string) error { <ide> return nil <ide> } <ide> <del> body, _, err := cli.call("GET", "/auth", nil) <del> if err != nil { <del> return err <del> } <del> <del> var out auth.AuthConfig <del> err = json.Unmarshal(body, &out) <add> username, err := cli....
1
Ruby
Ruby
extract the scope building to a class method
c1cd3424569cf76b0e19e2854ec2829d87ed02bd
<ide><path>activerecord/lib/active_record/associations/builder/association.rb <ide> def self.create_builder(model, name, scope, options, extension = nil) <ide> <ide> def initialize(name, scope, options, extension) <ide> @name = name <del> @scope = scope <ide> @options = options <ide> <ide> ...
2
PHP
PHP
use proper tests assertions
9522b1f18491c17f31c0aa57a3032364f5cf4216
<ide><path>tests/Bus/BusBatchTest.php <ide> public function test_jobs_can_be_added_to_the_batch() <ide> <ide> $this->assertEquals(3, $batch->totalJobs); <ide> $this->assertEquals(3, $batch->pendingJobs); <del> $this->assertTrue(is_string($job->batchId)); <add> $this->assertIsString($job->...
8
Javascript
Javascript
add continuous stress test
12a90e98bfc347d78e622f0839898c065ed31dc1
<ide><path>benchmark/http_bench.js <add>// Copyright Joyent, Inc. and other Node contributors. <add>// <add>// Permission is hereby granted, free of charge, to any person obtaining a <add>// copy of this software and associated documentation files (the <add>// "Software"), to deal in the Software without restriction, i...
1
PHP
PHP
remove unused file
9138f7810d72c55a8f9673cf18ae0c4ade175f6a
<ide><path>tests/test_app/Plugin/TestPlugin/config/Schema/schema.php <del><?php <del>/** <del> * TestAppSchema file <del> * <del> * Use for testing the loading of schema files from plugins. <del> * <del> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <del> * Copyright (c) Cake Software Foundation, Inc...
1
Javascript
Javascript
use a single brush for scatterplot matrix
6aad8c7c44bc77b329edbcb780f215efc1629dce
<ide><path>examples/splom/splom.js <ide> d3.json("flowers.json", function(flower) { <ide> .ticks(5) <ide> .tickSize(size * n); <ide> <add> // Brush. <add> var brush = d3.svg.brush() <add> .on("brushstart", brushstart) <add> .on("brush", brush) <add> .on("brushend", brushend); <add> <ide> ...
1
Go
Go
fix error code message upon error on push
30f009150f303ff496307778722ed5c2c3ad80c8
<ide><path>registry.go <ide> func (graph *Graph) PushRepository(stdout io.Writer, remote string, localRepo Re <ide> if errBody, err := ioutil.ReadAll(res2.Body); err != nil { <ide> return err <ide> } else { <del> return fmt.Errorf("Error: Status %d trying to push checksums %s: %s", res.StatusCode, remote, errB...
1
Text
Text
add new animated api to animation docs
bda7f7389a7b6d4d0bb92ca28f0627a2c775b327
<ide><path>docs/Animations.md <ide> permalink: docs/animations.html <ide> next: accessibility <ide> --- <ide> <del>Fluid, meaningful animations are essential to the mobile user <del>experience. Animation APIs for React Native are currently under heavy <del>development, the recommendations in this article are intended ...
1
Text
Text
improve promise terminology
271e04f5ba4eac406d3898fd844c72117762961d
<ide><path>doc/api/fs.md <ide> fs.unlink('/tmp/hello', (err) => { <ide> <ide> ## Promise example <ide> <del>Promise-based operations return a `Promise` that is resolved when the <add>Promise-based operations return a `Promise` that is fulfilled when the <ide> asynchronous operation is complete. <ide> <ide> ```js <id...
1
Python
Python
reset password hashers cache on settings_changed
2a09404792f9d369718143fdfbe9530fe2e60912
<ide><path>django/contrib/auth/hashers.py <ide> import hashlib <ide> <add>from django.dispatch import receiver <ide> from django.conf import settings <add>from django.test.signals import setting_changed <ide> from django.utils import importlib <ide> from django.utils.datastructures import SortedDict <ide> from django....
1
Javascript
Javascript
fix broken preventdefault test
5cec32492c52209ce11b38b8180f9bdb909d041b
<ide><path>test/ng/directive/formSpec.js <ide> describe('form', function() { <ide> describe('preventing default submission', function() { <ide> <ide> it('should prevent form submission', function() { <del> var startingUrl = '' + window.location; <del> doc = jqLite('<form name="myForm"><input type="subm...
1
Text
Text
hide solution from tests in portuguese challenge
4438eb0f331c8f5646935ce26f2202392e69154a
<ide><path>curriculum/challenges/portuguese/01-responsive-web-design/css-grid/use-grid-area-without-creating-an-areas-template.portuguese.md <ide> localeTitle: Usar área de grade sem criar um modelo de áreas <ide> <ide> ```yml <ide> tests: <del> - text: <code>item5</code> classe <code>item5</code> deve ter uma propri...
1
Javascript
Javascript
return consistent datastructure type
fc3fe304d9b15578a304927832efaea6d293cfa0
<ide><path>lib/ModuleGraph.js <ide> const WeakTupleMap = require("./util/WeakTupleMap"); <ide> * @returns {string} <ide> */ <ide> <del>const EMPTY_ARRAY = []; <add>const EMPTY_SET = new Set(); <ide> <ide> /** <ide> * @param {SortableSet<ModuleGraphConnection>} set input <ide> class ModuleGraph { <ide> */ <ide> ...
1
Javascript
Javascript
accept undefined scene.nodes
6c96a31043f2e41884c4471abfa07698013a0861
<ide><path>examples/js/loaders/GLTFLoader.js <ide> THREE.GLTFLoader = ( function () { <ide> <ide> if ( scene.extras ) _scene.userData = scene.extras; <ide> <del> var nodes = scene.nodes; <add> var nodes = scene.nodes || []; <ide> <ide> for ( var i = 0, l = nodes.length; i < l; i ++ ) { <ide>
1
Javascript
Javascript
fix typing of more resolver options
efc12cd5bffcc5161f7002a63506be893b8794e1
<ide><path>packager/react-packager/src/Resolver/index.js <ide> <ide> const DependencyGraph = require('../node-haste'); <ide> <del>const declareOpts = require('../lib/declareOpts'); <ide> const defaults = require('../../../defaults'); <ide> const pathJoin = require('path').join; <ide> <ide> type Options = { <ide> w...
1
Text
Text
fix partial spanish translations
15da2cf118de8187792e3635f24b39cb3e4d06d4
<ide><path>curriculum/challenges/spanish/02-javascript-algorithms-and-data-structures/basic-javascript/count-backwards-with-a-for-loop.spanish.md <ide> localeTitle: Contar hacia atrás con un bucle for <ide> --- <ide> <ide> ## Description <del><section id="description"> Un bucle for también puede contar hacia atrás, si...
1
Text
Text
suggest checkhost in checkserveridentity docs
1000eb168a06cc4403454c48dd1a2f8bdfd60275
<ide><path>doc/api/tls.md <ide> Verifies the certificate `cert` is issued to `hostname`. <ide> Returns {Error} object, populating it with `reason`, `host`, and `cert` on <ide> failure. On success, returns {undefined}. <ide> <add>This function is intended to be used in combination with the <add>`checkServerIdentity` op...
1
Python
Python
finalize context rcnn tf2 support
8b6a462814f8495c544d41973017d67e13112c44
<ide><path>research/object_detection/meta_architectures/context_rcnn_lib_tf2.py <ide> def call(self, box_features, context_features, valid_context_size): <ide> # box_features becomes [batch_size, max_num_proposals, channels]. <ide> box_features = tf.reduce_mean(box_features, [2, 3]) <ide> <del> with tf.name...
1
Ruby
Ruby
rename the variable to make more sense with a tree
86640e1ddca949913360247f473dc917484f6f9c
<ide><path>activerecord/lib/active_record/associations/join_dependency.rb <ide> def self.walk_tree(associations, hash) <ide> def initialize(base, associations, joins) <ide> @base_klass = base <ide> @table_joins = joins <del> @join_parts = Node.new JoinBase.new(base) <add> @jo...
1
Python
Python
pass decay_mask fn to optimizer
d1500d9151ae1b728aa3561f035d96f139d0f5ca
<ide><path>examples/flax/language-modeling/run_mlm_flax.py <ide> import jax <ide> import jax.numpy as jnp <ide> import optax <del>from flax import jax_utils <add>from flax import jax_utils, traverse_util <ide> from flax.training import train_state <ide> from flax.training.common_utils import get_metrics, onehot, shard ...
1
Ruby
Ruby
simplify some rails info methods
16c3ec7b2807f2f57d86399e6f62163a8962ec8b
<ide><path>railties/builtin/rails_info/rails/info.rb <ide> module Info <ide> mattr_accessor :properties <ide> class << (@@properties = []) <ide> def names <del> map { |name, value| name } <add> map &:first <ide> end <ide> <ide> def value_for(property_name) <del> if proper...
1
Ruby
Ruby
remove dead code
bb21d6ed7adc899435f32e297115fe98381e71d4
<ide><path>actionpack/lib/action_dispatch/routing/route_set.rb <ide> class NamedRouteCollection #:nodoc: <ide> def initialize <ide> @routes = {} <ide> @helpers = [] <del> @module = Module.new do <del> protected <del> <del> end <add> @module = Module.n...
1
Javascript
Javascript
refine the heuristics around beforeblur/afterblur
a152827ef697c55f89926f9b6b7aa436f1c0504e
<ide><path>packages/react-art/src/ReactARTHostConfig.js <ide> export function getPublicInstance(instance) { <ide> <ide> export function prepareForCommit() { <ide> // Noop <add> return null; <ide> } <ide> <ide> export function prepareUpdate(domElement, type, oldProps, newProps) { <ide> export function unmountEventL...
14
Ruby
Ruby
extract controller checks to methods
ddda5e70f79288f03a873cc8b4dbc6c086f4ad82
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> def default_controller_and_action <ide> end <ide> end <ide> <del> if controller.is_a?(String) && controller =~ %r{\A/} <del> raise ArgumentError, "controller name should not start with a slash" <...
1
Python
Python
use increasing batch sizes in ud-train
d7ce6527fbdfb52aa47a02c1fc2a7dd69faff932
<ide><path>spacy/cli/ud_train.py <ide> import spacy.util <ide> from ..tokens import Token, Doc <ide> from ..gold import GoldParse <add>from ..util import compounding <ide> from ..syntax.nonproj import projectivize <ide> from ..matcher import Matcher <ide> from collections import defaultdict, Counter <ide> random.seed(0...
1
Python
Python
fix convert_tokens_to_string calls
15d19ecfda5de8c4b50e2cd3129a16de281dbd6d
<ide><path>src/transformers/models/albert/tokenization_albert.py <ide> def _convert_id_to_token(self, index): <ide> return self.sp_model.IdToPiece(index) <ide> <ide> def convert_tokens_to_string(self, tokens): <del> out_string = "".join(tokens).replace(SPIECE_UNDERLINE, " ").strip() <del> ret...
6
Text
Text
add metadata for vm code generation options
54fbbb1037f92e7dc2ecd933e59586c3e6ab7796
<ide><path>doc/api/vm.md <ide> overhead. <ide> ### script.runInNewContext([sandbox[, options]]) <ide> <!-- YAML <ide> added: v0.3.1 <add>changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/19016 <add> description: The `contextCodeGeneration` option is supported now. <ide> --> <i...
1
Ruby
Ruby
use merge! instead reverse_merge! here
2c0add7103e967a7de2df42675eb49e093327c58
<ide><path>actionpack/lib/action_view/helpers/url_helper.rb <ide> def url_for(options = nil) <ide> options <ide> when nil, Hash <ide> options ||= {} <del> options = options.symbolize_keys.reverse_merge!(:only_path => options[:host].nil?) <add> options = { :only_path => opti...
1
Text
Text
declare all parameter types
40c85ff0634913f4c61e13cbb7cacb7e2c76120f
<ide><path>doc/api/console.md <ide> console.profileEnd('MyLabel'); <ide> <!-- YAML <ide> added: v8.0.0 <ide> --> <add>* `label` {string} <ide> <ide> This method does not display anything unless used in the inspector. Stops the <ide> current JavaScript CPU profiling session if one has been started and prints <ide><path...
15
Python
Python
exclude strings from v3.2+ source vector checks
ea450d652c32f65b947a1e1a498b45f29ed4dc29
<ide><path>spacy/language.py <ide> def create_pipe_from_source( <ide> if ( <ide> self.vocab.vectors.shape != source.vocab.vectors.shape <ide> or self.vocab.vectors.key2row != source.vocab.vectors.key2row <del> or self.vocab.vectors.to_bytes() != source.vocab.vectors.to_bytes()...
2
Ruby
Ruby
build fix for new routing inspector changes
a6c06217a55a75c33056cf7113cc189cb2134686
<ide><path>railties/test/application/rake_test.rb <ide> def test_rake_routes_calls_the_route_inspector <ide> RUBY <ide> <ide> output = Dir.chdir(app_path){ `rake routes` } <del> assert_equal "Prefix Verb URI Pattern Controller#Action\ncart GET /cart(.:format) cart#show\n", output <add> ass...
1
Python
Python
fix description of isinf in nan_to_num
86e87cb1e56108ce6b5e1faeb2469cbee804e22e
<ide><path>numpy/lib/type_check.py <ide> def nan_to_num(x): <ide> <ide> See Also <ide> -------- <del> isinf : Shows which elements are negative or negative infinity. <add> isinf : Shows which elements are positive or negative infinity. <ide> isneginf : Shows which elements are negative infinity. <ide...
1
Ruby
Ruby
add test to check we read new path correctly
36beec7b55f9f8e3181e31b7bcf8ef04e2907351
<ide><path>railties/test/application/configuration_test.rb <ide> def index <ide> end <ide> end <ide> <add> test "autoload paths will exclude changed path" do <add> app_file "config/webpacker.yml", <<-YAML <add> default: &default <add> source_path: app/webpack <add> check_yarn...
1
Ruby
Ruby
add trunk prefix to formula version
bc2a996f9ee3f9cef1789382854184e035307dad
<ide><path>tools/formulas/gyp.rb <ide> class Gyp < Formula <ide> homepage 'http://code.google.com/p/gyp/' <ide> url 'http://gyp.googlecode.com/svn/trunk', :revision => 1518 <del> version '1518' <add> version 'trunk-1518' <ide> head 'http://gyp.googlecode.com/svn/trunk' <ide> <ide> def install
1
Javascript
Javascript
remove obsolete tls test
5b3587dbc64cc298701b62f8767d37976d57a451
<ide><path>test/internet/test-tls-connnect-melissadata.js <del>'use strict'; <del>// Test for authorized access to the server which has a cross root <del>// certification between Starfield Class 2 and ValiCert Class 2 <del> <del>const common = require('../common'); <del>if (!common.hasCrypto) <del> common.skip('missin...
1
PHP
PHP
add skip if response is invalid
9011b42bb4329e67e40c864c80ac6ba88d92e934
<ide><path>lib/Cake/Test/Case/Network/Http/HttpSocketTest.php <ide> public function testVerifyPeer() { <ide> $this->markTestSkipped('Found valid certificate, was expecting invalid certificate.'); <ide> } catch (SocketException $e) { <ide> $message = $e->getMessage(); <add> $this->skipIf(strpos($message, 'Inva...
1
Text
Text
add colgate-palmolive to users list
0eec083adbbfa64493a760e1e1a196d07fa0666d
<ide><path>README.md <ide> Currently **officially** using Airflow: <ide> 1. [Classmethod, Inc.](https://classmethod.jp/) [[@shoito](https://github.com/shoito)] <ide> 1. [Cleartax](https://cleartax.in/) [[@anks](https://github.com/anks) & [@codebuff](https://github.com/codebuff)] <ide> 1. [Clover Health](https://www.clo...
1
Javascript
Javascript
fix a spelling bug in linesegmentsgeometry.js
a5a5351d0125c708bd7a96b6b7f459c3934957ad
<ide><path>examples/js/lines/LineSegmentsGeometry.js <ide> THREE.LineSegmentsGeometry.prototype = Object.assign( Object.create( THREE.Insta <ide> <ide> }, <ide> <del> fromLineSegements: function ( lineSegments ) { <add> fromLineSegments: function ( lineSegments ) { <ide> <ide> var geometry = lineSegments.geometry...
1
Ruby
Ruby
remove unused ivars left from close checks
8dba9f13ea91cc15c40a9b12e15ea65aae1024e4
<ide><path>actionpack/lib/action_dispatch/middleware/cookies.rb <ide> def initialize(secret = nil, host = nil, secure = false) <ide> @delete_cookies = {} <ide> @host = host <ide> @secure = secure <del> @closed = false <ide> @cookies = {} <ide> end <ide> <ide><path>actionpac...
2
Mixed
Text
add example for device-cgroup-rule to man
fc2fc6565a370c8403734254f2197081046704dd
<ide><path>man/generate.go <ide> func loadLongDescription(cmd *cobra.Command, path string) error { <ide> return err <ide> } <ide> cmd.Long = string(content) <add> <add> fullpath = filepath.Join(path, cmd.Name()+"-example.md") <add> if _, err := os.Stat(fullpath); err != nil { <add> continue <add> } <add> <a...
3
Javascript
Javascript
improve helper directives
6b7a1b82bc26bbf4640506a9a3cf37ebf254d3d2
<ide><path>docs/app/src/tutorials.js <ide> angular.module('tutorials', []) <ide> element.addClass('tutorial-nav'); <ide> element.append(templateMerge( <ide> '<a href="tutorial/{{prev}}"><li class="btn btn-primary"><i class="glyphicon glyphicon-step-backward"></i> Previous</li></a>\n' + <del> ...
1
Javascript
Javascript
add faster failure, and link to "
ebb79cdabaa8a9b4f095dac841955dae696cdd92
<ide><path>test/simple/test-fs-watch.js <ide> var assert = require('assert'); <ide> var path = require('path'); <ide> var fs = require('fs'); <ide> <del> <del>if (process.platform === 'darwin') { <del> assert(false, <del> 'This test is known to fail on OS X\n' + <del> 'See: https://github.com/joyent/n...
1
Java
Java
remove configurationclassparser from public api
6fcea8b99da45f287149796ef2598f0d71758793
<ide><path>org.springframework.context/src/main/java/org/springframework/context/annotation/ConfigurationClassPostProcessor.java <ide> public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) <ide> */ <ide> private void processConfigurationClasses(BeanDefinitionRegistry registry) { <ide> Con...
1
Text
Text
fix typo in fresh_when example [ci skip]
697688663fccd1ef38413cdeec6957fe8ba7f94f
<ide><path>actionpack/CHANGELOG.md <ide> <ide> # Before <ide> def index <del> @article = Article.all <del> fresh_when(etag: @articles, last_modified: @articles.maximum(:created_at)) <add> @articles = Article.all <add> fresh_when(etag: @articles, last_modified: @artic...
1
Text
Text
fix indentation for code block in changelog
f57092ad728fa1de06c4f5fd9d09dcc2c4738fd9
<ide><path>activerecord/CHANGELOG.md <ide> <ide> Example: <ide> <del> PriceEstimate.where(estimate_of: [Treasure.find(1), Car.find(2)]) <del> # => SELECT "price_estimates".* FROM "price_estimates" <del> WHERE (("price_estimates"."estimate_of_type" = 'Treasure' AND "price_estimates"."estimate_of_id" ...
1
Javascript
Javascript
fix broken segments in tubegeometry
e1ad0a648186dc94280877534ae4925f7cfac382
<ide><path>src/extras/geometries/TubeGeometry.js <ide> THREE.TubeGeometry = function(radius, segments, segmentsRadius, path, debug) { <ide> <ide> this.grid[i] = new Array(this.segmentsRadius); <ide> <del> u = i / this.segments; <add> u = i / ( this.segments - 1 ); <ide> <ide> var pos = this.path.getPointAt(u);...
1
Javascript
Javascript
write pending data on socket drain
60238cce12d5c0c45c54c18033a439ac12429a29
<ide><path>lib/tls.js <ide> function pipe(pair, socket) { <ide> // its data from the cleartext side, we have to give it a <ide> // light kick to get in motion again. <ide> socket.on('drain', function() { <add> if (pair.encrypted._pending) <add> pair.encrypted._writePending(); <add> if (pair.cleartext._...
1
PHP
PHP
add methods for determining if job has failed
fed36bd7e09658009d36d9dd568f19ddcb75172e
<ide><path>src/Illuminate/Queue/FailingJob.php <ide> class FailingJob <ide> */ <ide> public static function handle($connectionName, $job, $e = null) <ide> { <add> $job->markAsFailed(); <add> <ide> if ($job->isDeleted()) { <ide> return; <ide> } <ide><path>src/Illuminate/Qu...
3
PHP
PHP
return the insertid of released jobs
4a9e58918332bd33c71c931a3305f8a3a978b294
<ide><path>src/Illuminate/Queue/Jobs/DatabaseJob.php <ide> public function __construct(Container $container, DatabaseQueue $database, $job, <ide> * Release the job back into the queue. <ide> * <ide> * @param int $delay <del> * @return void <add> * @return mixed <ide> */ <ide> public fu...
1
Text
Text
use https url example for git clone commands.
fa57fb8aeb93c60dcb5eb75a7f88f61afaf35fb9
<ide><path>CONTRIBUTING.md <ide> Getting involved in triaging incoming issues is a good way to start contributing <ide> <ide> To start developing on Django REST framework, clone the repo: <ide> <del> git clone git@github.com:encode/django-rest-framework.git <add> git clone https://github.com/encode/django-rest-...
2
Javascript
Javascript
add examples of usage
1a8d83d6608f7c29116e4dc9dd565df21a4ae045
<ide><path>src/ng/cacheFactory.js <ide> function $CacheFactoryProvider() { <ide> * @name ng.$templateCache <ide> * <ide> * @description <del> * Cache used for storing html templates. <del> * <add> * The first time a template is used, it is loaded in the tempalte cache for quick retrieval. You can <add> * load temp...
1