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
PHP
PHP
add octane cache store
3131f789ae05bb727e8f8b65981f6957391a5e3d
<ide><path>config/cache.php <ide> 'driver' => 'apc', <ide> ], <ide> <add> 'octane' => [ <add> 'driver' => 'octane', <add> ], <add> <ide> 'array' => [ <ide> 'driver' => 'array', <ide> 'serialize' => false,
1
Javascript
Javascript
add tests for native set
6d64f3b48811efe4ed961c63e1afb673621edf22
<ide><path>packages/ember-glimmer/tests/integration/syntax/each-test.js <ide> class ArrayDelegate { <ide> } <ide> } <ide> <add>const makeSet = (() => { <add> // IE11 does not support `new Set(items);` <add> let set = new Set([1,2,3]); <add> <add> if (set.size === 3) { <add> return items => new Set(items); <add...
1
Javascript
Javascript
use limit for array split
fa5bc5bc1f19dd3038540b74fda80bafb5217814
<ide><path>lib/WebpackOptionsValidationError.js <ide> const WebpackError = require("./WebpackError"); <ide> <ide> const getSchemaPart = (path, parents, additionalPath) => { <ide> parents = parents || 0; <del> path = path.split("/"); <del> path = path.slice(0, path.length - parents); <add> path = path.split("/", path....
2
PHP
PHP
add missing docblock
ee71973398875afffad81c2c601d6aacf4723cf0
<ide><path>src/Illuminate/Support/Traits/EnumeratesValues.php <ide> * @property-read HigherOrderCollectionProxy $min <ide> * @property-read HigherOrderCollectionProxy $partition <ide> * @property-read HigherOrderCollectionProxy $reject <add> * @property-read HigherOrderCollectionProxy $some <ide> * @property-read H...
1
Javascript
Javascript
undo the "forrige" to "sist" change, as advised in
67635b4f1b433bfee20cd6cefb8b47a2cd87f96d
<ide><path>locale/nb.js <ide> nextDay: '[i morgen kl.] LT', <ide> nextWeek: 'dddd [kl.] LT', <ide> lastDay: '[i går kl.] LT', <del> lastWeek: '[sist] dddd [kl.] LT', <add> lastWeek: '[forrige] dddd [kl.] LT', <ide> sameElse: 'L' <ide> }, <ide...
1
Python
Python
move trainers to core/
45da63a93fea59d886cd55cfa02d097d95998497
<ide><path>official/core/base_task_test.py <add># Lint as: python3 <add># Copyright 2020 The TensorFlow Authors. All Rights Reserved. <add># <add># Licensed under the Apache License, Version 2.0 (the "License"); <add># you may not use this file except in compliance with the License. <add># You may obtain a copy of the ...
4
Javascript
Javascript
fix toweb typo
79f4d5a34537def5c5555332eafabfd6577ccc5b
<ide><path>lib/internal/streams/readable.js <ide> Readable.fromWeb = function(readableStream, options) { <ide> }; <ide> <ide> Readable.toWeb = function(streamReadable) { <del> return lazyWebStreams().newStreamReadableFromReadableStream(streamReadable); <add> return lazyWebStreams().newReadableStreamFromStreamReadabl...
1
Javascript
Javascript
fix typo in skeleton
8583c8e13aba7afc8eae9dd838da74e2a8cd98e7
<ide><path>src/objects/Skeleton.js <ide> function Skeleton( bones, boneInverses, useVertexTexture ) { <ide> <ide> } else { <ide> <del> console.warn( 'THREE.Skeleton bonInverses is the wrong length.' ); <add> console.warn( 'THREE.Skeleton boneInverses is the wrong length.' ); <ide> <ide> this.boneInverses = ...
1
Javascript
Javascript
fix inaccurate spec description
76fe572a97890237da6d2552ed6921d4dce85da4
<ide><path>src/browser/ui/dom/components/__tests__/LocalEventTrapMixin-test.js <ide> describe('LocalEventTrapMixin', function() { <ide> ReactTestUtils = require('ReactTestUtils'); <ide> }); <ide> <del> it('does not fatal when trapping bubbled state on null', function() { <add> it('throws when trapping bubbled ...
1
Python
Python
add additional test back in (it works now)
689600e17d0e3734b29bf758e09068b7b4413437
<ide><path>spacy/tests/test_lemmatizer.py <ide> def test_tagger_warns_no_lookups(): <ide> nlp.vocab.lookups = Lookups() <ide> assert not len(nlp.vocab.lookups) <ide> tagger = nlp.create_pipe("tagger") <add> with pytest.warns(UserWarning): <add> tagger.begin_training() <ide> nlp.add_pipe(tagger...
1
Text
Text
add missing change to resolver ctor
75a96b4ad8a29da975b425b576c2efd73573af8b
<ide><path>doc/api/dns.md <ide> The following methods from the `dns` module are available: <ide> <!-- YAML <ide> added: v8.3.0 <ide> changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/39610 <add> description: The `options` object now accepts a `tries` option. <ide> - version:...
1
Python
Python
set version to 2.0.4.dev0
04650e38c7d1bf886d235bb3ace61a91c28cb60b
<ide><path>spacy/about.py <ide> # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py <ide> <ide> __title__ = 'spacy' <del>__version__ = '2.0.3' <add>__version__ = '2.0.4.dev0' <ide> __summary__ = 'Industrial-strength Natural Language Processing (NLP) with Python and Cython' <ide> __uri__ = 'https://s...
1
Ruby
Ruby
add a test case for
bd4f28a46dc3cafd00aabd7c7e6540b3d48593b2
<ide><path>activerecord/test/cases/json_shared_test_cases.rb <ide> def test_changes_in_place <ide> assert_not json.changed? <ide> end <ide> <add> def test_changes_in_place_ignores_key_order <add> json = klass.new <add> assert_not json.changed? <add> <add> json.payload = { "three" => "four", "one" => "t...
1
PHP
PHP
change the method to support array only
f9d2db1876504bf82a5d3fd13f95488a1f71c56f
<ide><path>src/TestSuite/TestCase.php <ide> public function loadFixtures() <ide> * Useful to test how plugins being loaded/not loaded interact with other <ide> * elements in CakePHP or applications. <ide> * <del> * @param string|array $plugins list of Plugins to load <add> * @param array $plugins...
41
Python
Python
adjust setup so that all extras run on windows
c5f3149f95855ac52d44b8a9bb0754e8e94792bd
<ide><path>setup.py <ide> ] <ide> extras["torch"] = ["torch>=1.0"] <ide> <del>extras["flax"] = ["jaxlib==0.1.55", "jax>=0.2.0", "flax==0.2.2"] <ide> if os.name == "nt": # windows <add> extras["retrieval"] = ["datasets"] # faiss is not supported on windows <ide> extras["flax"] = [] # jax is not supported on win...
1
Javascript
Javascript
add github api query to bug report template
b522638b994abfea16b981efdf88e11d1078c982
<ide><path>packages/react-devtools-shared/src/devtools/views/ErrorBoundary/ReportNewIssue.js <ide> <ide> import * as React from 'react'; <ide> import Icon from '../Icon'; <add>import {searchGitHubIssuesURL} from './githubAPI'; <ide> import styles from './shared.css'; <ide> <ide> function encodeURIWrapper(string: stri...
2
Javascript
Javascript
simplify promise nesting
9487db8be7f5453bde952bf9a6b5c4c0e1748c7f
<ide><path>examples/real-world/src/middleware/api.js <ide> const callApi = (endpoint, schema) => { <ide> <ide> return fetch(fullUrl) <ide> .then(response => <del> response.json().then(json => ({ json, response })) <del> ).then(({ json, response }) => { <del> if (!response.ok) { <del> return P...
1
Text
Text
fix minor typo and improve wording
1bcc37caec07c01ab385f562ffa56d2b2bb0a7d8
<ide><path>docs/sources/reference/builder.md <ide> To [*build*](../commandline/cli/#cli-build) an image from a source repository, <ide> create a description file called Dockerfile at the root of your repository. <ide> This file will describe the steps to assemble the image. <ide> <del>Then call `docker build` with the...
1
Text
Text
fix a typo in the flaky test template
b1704e43475d0af2019c1cb1da1cd610473168d6
<ide><path>.github/ISSUE_TEMPLATE/4-report-a-flaky-test.md <ide> labels: "CI / flaky test" <ide> <!-- <ide> Thank you for reporting a flaky test. <ide> <del>Flaky tests are tests that fail occaisonally in Node.js CI, but not consistently <del>enough to block PRs from landing, or that are failing in CI jobs or test mod...
1
Java
Java
fix lint warning in reactchoreographer
0df2530c9e2440e0e14337c37f6fa35b807ff917
<ide><path>ReactAndroid/src/main/java/com/facebook/react/modules/core/ReactChoreographer.java <ide> public enum CallbackType { <ide> <ide> private final int mOrder; <ide> <del> private CallbackType(int order) { <add> CallbackType(int order) { <ide> mOrder = order; <ide> } <ide>
1
Java
Java
fix tests in dispatcherservlettests
06679a5583e6e5bbd8ec10a12f665cdfc561cc19
<ide><path>spring-webmvc/src/test/java/org/springframework/web/servlet/DispatcherServletTests.java <ide> import javax.servlet.http.HttpServletRequestWrapper; <ide> import javax.servlet.http.HttpServletResponse; <ide> <add>import org.assertj.core.api.InstanceOfAssertFactories; <ide> import org.junit.jupiter.api.BeforeE...
1
Text
Text
fix position for some entries in 1.4.1
c61149213ba2c4999ae7f3e71a5f290a072357aa
<ide><path>CHANGELOG.md <ide> - prevent exception when using `watch` as isolated scope binding property in Firefox <ide> ([a6339d30](https://github.com/angular/angular.js/commit/a6339d30d1379689da5eec9647a953f64821f8b0), <ide> [#11627](https://github.com/angular/angular.js/issues/11627)) <add> - assign controll...
1
Javascript
Javascript
improve checks in test-path-parse-format
0700927832e167ac83183aefa0f63af02b6c3a75
<ide><path>test/parallel/test-path-parse-format.js <ide> 'use strict'; <del>const common = require('../common'); <add>require('../common'); <ide> const assert = require('assert'); <ide> const path = require('path'); <ide> <ide> const unixSpecialCaseFormatTests = [ <ide> <ide> const errors = [ <ide> {method: 'parse'...
1
Java
Java
remove duplicate assertion in matchwithnullpath()
bccc7a62f461d62f4fa98ea4f68f1e24da548b16
<ide><path>spring-core/src/test/java/org/springframework/util/AntPathMatcherTests.java <ide> public void match() { <ide> public void matchWithNullPath() { <ide> assertThat(pathMatcher.match("/test", null)).isFalse(); <ide> assertThat(pathMatcher.match("/", null)).isFalse(); <del> assertThat(pathMatcher.match("/",...
1
Text
Text
add link to dns definition
cba9f2e7a2ff04619ceba1350418469049d79b1c
<ide><path>doc/api/dns.md <ide> The `dns` module enables name resolution. For example, use it to look up IP <ide> addresses of host names. <ide> <del>Although named for the Domain Name System (DNS), it does not always use the DNS <del>protocol for lookups. [`dns.lookup()`][] uses the operating system facilities to <de...
1
Text
Text
change example title to dr
f0fd77648fb488c26852cd1494b69073e5766b65
<ide><path>website/docs/usage/rule-based-matching.md <ide> what you need for your application. <ide> > available corpus. <ide> <ide> For example, the corpus spaCy's [English models](/models/en) were trained on <del>defines a `PERSON` entity as just the **person name**, without titles like "Mr" <del>or "Dr". This makes...
1
PHP
PHP
add use statements for all fully qualified classes
5a77162a44a197f0e3751a5d00e1ed4d5847eeaa
<ide><path>src/Mailer/Transport/SmtpTransport.php <ide> use Cake\Network\Exception\SocketException; <ide> use Cake\Network\Socket; <ide> use Exception; <add>use RuntimeException; <ide> <ide> /** <ide> * Send mail using SMTP protocol <ide> protected function _smtpSend(?string $data, $checkCode = '250'): ?string <ide> ...
147
Javascript
Javascript
simplify err_require_esm message generation
f54254afedd5a2b4800854e7766d845e3803bef6
<ide><path>lib/internal/errors.js <ide> E('ERR_REQUIRE_ESM', <ide> filename : path.basename(filename); <ide> msg += <ide> '\nrequire() of ES modules is not supported.\nrequire() of ' + <del> `${filename} ${parentPath ? `from ${parentPath} ` : ''}` + <add> `${filename} from ${parentPa...
1
Python
Python
use consistent quoting and docstring style
cff3adf20230d47e7f77329262f38a7bf90820b0
<ide><path>libcloud/compute/base.py <ide> <ide> <ide> __all__ = [ <del> "Node", <del> "NodeState", <del> "NodeSize", <del> "NodeImage", <del> "NodeLocation", <del> "NodeAuthSSHKey", <del> "NodeAuthPassword", <del> "NodeDriver" <add> 'Node', <add> 'NodeState', <add> 'NodeSize', <add> ...
2
PHP
PHP
add test for removecolumn
5475631046088ff7fe5c5f8e5c83fe54f9c84893
<ide><path>tests/Database/DatabaseSchemaBlueprintTest.php <ide> public function testUnsignedDecimalTable() <ide> $blueprint = clone $base; <ide> $this->assertEquals(['alter table `users` add `money` decimal(10, 2) unsigned not null'], $blueprint->toSql($connection, new MySqlGrammar)); <ide> } <add> ...
1
PHP
PHP
add iscreate() method to context classes
53e500531e7fc9cd77291c60261a26b6dcdfc72c
<ide><path>src/View/Form/ArrayContext.php <ide> * like maxlength, step and other HTML attributes. <ide> * - `errors` An array of validation errors. Errors should be nested following <ide> * the dot separated paths you access your fields with. <add> * - `isCreate` A boolean that indicates whether or not this form...
5
Text
Text
fix typo in image optimization documentation
8b485e161df72b9f33e62f441a32607997ee98e4
<ide><path>docs/basic-features/image-optimization.md <ide> import profilePic from '../public/me.png' <ide> <ide> Dynamic `await import()` or `require()` are _not_ supported. The `import` must be static. Also note that static image support requires Webpack 5, which is enabled by default in Next.js applications. <ide> ...
1
Javascript
Javascript
add support for #each foo in bar
dd1851eea9fc6979570ba761cd1931c3a1ee7e57
<ide><path>packages/ember-handlebars/lib/helpers/collection.js <ide> Ember.Handlebars.registerHelper('collection', function(path, options) { <ide> } <ide> <ide> if (inverse && inverse !== Handlebars.VM.noop) { <del> var emptyViewClass = Ember.View; <del> <del> if (hash.emptyViewClass) { <del> emptyViewC...
7
Text
Text
replace wrong u+00a0 by common spaces
11a1bc11364ea88091b73cec5d5f69bdccb03ac1
<ide><path>doc/api/dgram.md <ide> If `msg` is a `String`, then it is automatically converted to a `Buffer` <ide> with `'utf8'` encoding. With messages that <ide> contain multi-byte characters, `offset` and `length` will be calculated with <ide> respect to [byte length][] and not the character position. <del>If `msg` i...
3
Text
Text
use bash highlighting instead of bat
c91ddbefd04ef19701884a7cf0b76000f2e2a7b2
<ide><path>docs/build-instructions/windows.md <ide> <ide> ## Instructions <ide> <del> ```bat <del> # Use the `Git Shell` app which was installed by GitHub for Windows. Also Make <del> # sure you have logged into the GitHub for Windows GUI App. <del> cd C:\ <del> git clone https://github.com/atom/atom/ <del> cd ...
1
Javascript
Javascript
fix typo in example
0921bd0816f1a146703ba3573e0c1ed2d76823e3
<ide><path>src/ngMock/angular-mocks.js <ide> angular.module('ngMockE2E', ['ng']).config(function($provide) { <ide> * <ide> * // adds a new phone to the phones array <ide> * $httpBackend.whenPOST('/phones').respond(function(method, url, data) { <del> * phones.push(angular.fromJSON(data)); <add> * ...
1
Ruby
Ruby
add block form for temporary change
f5d6d80d5bac2c83a89021481812b461c54cfba3
<ide><path>Library/Homebrew/extend/ENV/std.rb <ide> def determine_pkg_config_libdir <ide> paths.select { |d| File.directory? d }.join(File::PATH_SEPARATOR) <ide> end <ide> <add> # Removes the MAKEFLAGS environment variable, causing make to use a single job. <add> # This is useful for makefiles with race condit...
3
Ruby
Ruby
remove samesite=none restrictions for rack 2.1.0
28f81c05589e4be98b6500b2b915842c68846c41
<ide><path>actionpack/lib/action_dispatch/middleware/cookies.rb <ide> def handle_options(options) <ide> <ide> options[:path] ||= "/" <ide> options[:same_site] ||= request.cookies_same_site_protection <del> options[:same_site] = false if options[:same_site] == :none # TODO: Remove when...
2
Python
Python
bakcbone config update
842cdd4d60599ea21c4169bed7f6ef5334d32bb3
<ide><path>official/vision/beta/projects/yolo/configs/backbones.py <ide> # See the License for the specific language governing permissions and <ide> # limitations under the License. <ide> <del># Lint as: python3 <del> <ide> """Backbones configurations.""" <del> <ide> import dataclasses <del> <ide> from official.modeli...
3
Python
Python
move scores per type handling into util function
327f83573ac2ba8dc8e4d594c4f66019089610ea
<ide><path>spacy/cli/evaluate.py <del>from typing import Optional, List, Dict <add>from typing import Optional, List, Dict, Any, Union <ide> from wasabi import Printer <ide> from pathlib import Path <ide> import re <ide> def evaluate( <ide> displacy_path: Optional[Path] = None, <ide> displacy_limit: int = 25, <...
1
Python
Python
add xglm conversion script
7865f4d01f533759647048fb12607da6b33050e6
<ide><path>src/transformers/models/xglm/convert_xglm_original_ckpt_to_trfms.py <add>import argparse <add>from argparse import Namespace <add> <add>import torch <add>from torch import nn <add> <add>from transformers import XGLMConfig, XGLMForCausalLM <add> <add> <add>def remove_ignore_keys_(state_dict): <add> ignore_...
1
Javascript
Javascript
fix $destroy describe block titles
efaf59f9880de042e81a91149776785e8dd5547e
<ide><path>test/jQueryPatchSpec.js <ide> if (window.jQuery) { <ide> expect(spy2).toHaveBeenCalledTimes(1); <ide> }); <ide> <del> describe('$detach event', function() { <add> describe('$destroy event', function() { <ide> <ide> it('should fire on remove()', function() { <ide> doc.find('spa...
1
Javascript
Javascript
fix missing stacks in www warnings
3c54df0914f02fed146faa519a5a899d0e3af32e
<ide><path>packages/shared/consoleWithStackDev.js <ide> export function error(format, ...args) { <ide> } <ide> <ide> function printWarning(level, format, args) { <add> // When changing this logic, you might want to also <add> // update consoleWithStackDev.www.js as well. <ide> if (__DEV__) { <ide> const hasExi...
2
Javascript
Javascript
improve performance of nexttick
804d57db676d54e237a19d42bf443db2b9796525
<ide><path>lib/internal/process/next_tick.js <ide> function setupNextTick() { <ide> } while (tickInfo[kLength] !== 0); <ide> } <ide> <del> function TickObject(c, args) { <del> this.callback = c; <del> this.domain = process.domain || null; <del> this.args = args; <del> } <del> <ide> function nextTick...
1
PHP
PHP
remove brittle message check
54f002434adc0f800d500c204aa0f524fc7a96ea
<ide><path>src/Illuminate/Database/Query/Builder.php <ide> public function orHavingRaw($sql, array $bindings = []) <ide> public function orderBy($column, $direction = 'asc') <ide> { <ide> $direction = strtolower($direction); <add> <ide> if (! in_array($direction, ['asc', 'desc'], true)) { <del> ...
2
Python
Python
use fixture around f2py shared memory tests
cb7dca7c3c963ff14c4f58507d3672536c441921
<ide><path>numpy/f2py/tests/test_array_from_pyobj.py <ide> from __future__ import division, absolute_import, print_function <ide> <del>import unittest <ide> import os <ide> import sys <ide> import copy <ide> <add>import pytest <add> <ide> from numpy import ( <ide> array, alltrue, ndarray, zeros, dtype, intp, clon...
1
Javascript
Javascript
add perf markers in xmlhttprequest
71b8ececf9b298fbf99aa27d0e363b533411e93d
<ide><path>Libraries/Network/XMLHttpRequest.js <ide> <ide> const BlobManager = require('../Blob/BlobManager'); <ide> const EventTarget = require('event-target-shim'); <add>const GlobalPerformanceLogger = require('react-native/Libraries/Utilities/GlobalPerformanceLogger'); <ide> const RCTNetworking = require('./RCTNetw...
1
Text
Text
add contributor agreement
b91986b72670ce59ef3a2039b284a578b5e0dba3
<ide><path>.github/contributors/sorenlind.md <add># spaCy contributor agreement <add> <add>This spaCy Contributor Agreement (**"SCA"**) is based on the <add>[Oracle Contributor Agreement](http://www.oracle.com/technetwork/oca-405177.pdf). <add>The SCA applies to any contribution that you make to any product or project ...
1
PHP
PHP
allow dynamic access of route parameters
f8c1b19cd13f6700e110373a68c8a646776bb1a2
<ide><path>src/Illuminate/Routing/Route.php <ide> public function prepareForSerialization() <ide> unset($this->compiled); <ide> } <ide> <add> /** <add> * Dynamically access route parameters. <add> * <add> * @param string $key <add> * @return mixed <add> */ <add> public function __get($key) <add> { <add> ret...
1
Javascript
Javascript
remove unnecessary check for color library
13851c0209a1478184743d290b2ec07fc838a866
<ide><path>src/helpers/index.js <ide> import * as options from './helpers.options'; <ide> import * as math from './helpers.math'; <ide> import * as rtl from './helpers.rtl'; <ide> <del>const colorHelper = !color ? <del> function(value) { <del> console.error('Color.js not found!'); <del> return value; <del> } : <add>...
1
Python
Python
correct pep issue on string
9441ebbf1d6d9af73efb9df7e98dac3a3a13b052
<ide><path>glances/outputs/glances_curses.py <ide> def display(self, stats, cs_status=None): <ide> 'Examples:\n' + <ide> '- python\n' + <ide> '- .*python.*\n' + <del> '- \/usr\/lib.*\n' + <add> '- /usr/lib.*\n' + <ide> '- name...
1
Mixed
Go
support src in --secret
f70470b71e519012e91137a2512f40d5bb8d18af
<ide><path>cli/command/service/opts.go <ide> func (o *SecretOpt) Set(value string) error { <ide> <ide> value := parts[1] <ide> switch key { <del> case "source": <add> case "source", "src": <ide> spec.source = value <ide> case "target": <ide> tDir, _ := filepath.Split(value) <ide><path>docs/reference/comm...
2
PHP
PHP
fix coding standards
7a39b9285deb80308685c08327425100ecd343dd
<ide><path>Cake/Test/TestCase/Utility/FolderTest.php <ide> public function testInCakePath() { <ide> $result = $Folder->inCakePath($path); <ide> $this->assertFalse($result); <ide> <del> $path = DS . 'Cake' . DS . 'Config'; <add> $path = DS . 'Cake' . DS . 'Config'; <ide> $Folder->cd(ROOT . DS . 'Cake' . DS . '...
1
Javascript
Javascript
adjust jumplist projects to match file explorer
66d7503e6965dd8af8686ed1a66a9b798274e1e0
<ide><path>src/reopen-project-menu-manager.js <ide> export default class ReopenProjectMenuManager { <ide> { <ide> type: 'custom', <ide> name: 'Recent Projects', <del> items: this.projects.map(p => ({ <add> items: this.projects.map(project => ({ <ide> type: 'task', <del> ...
1
Javascript
Javascript
remove forced optimization from crypto
17c85ffd80a00289479a7355802cd264935e72d4
<ide><path>benchmark/crypto/get-ciphers.js <ide> function main(conf) { <ide> const v = conf.v; <ide> const method = require(v).getCiphers; <ide> var i = 0; <del> <del> common.v8ForceOptimization(method); <add> // first call to getChipers will dominate the results <add> if (n > 1) { <add> for (; i < n; i++) ...
1
Text
Text
add note about animation breaking change
8b7b62c974e8c4264b8858c42b0ca612ec46c761
<ide><path>CHANGELOG.md <ide> _Note: This release also contains all bug fixes available in [1.0.7](#1.0.7)._ <ide> <ide> ## Breaking Changes <ide> <del>- **$animator/ngAnimate:** <add>- **$animator/ngAnimate:** due to [11f712bc](https://github.com/angular/angular.js/commit/11f712bc3e310302eb2e8691cf6d110bdcde1810), <...
1
Javascript
Javascript
support callbacks in newresource
141d339fe35053b9bd971f8a6f25da934547bbac
<ide><path>lib/NormalModuleReplacementPlugin.js <ide> NormalModuleReplacementPlugin.prototype.apply = function(compiler) { <ide> nmf.plugin("before-resolve", function(result, callback) { <ide> if(!result) return callback(); <ide> if(resourceRegExp.test(result.request)) { <del> result.request = newResource; <...
1
Ruby
Ruby
remove unused assignments
d56f5c8db7e937cabd07ff192c386f2aefed33a4
<ide><path>actionpack/lib/action_dispatch/middleware/cookies.rb <ide> def initialize(app) <ide> end <ide> <ide> def call(env) <del> cookie_jar = nil <ide> status, headers, body = @app.call(env) <ide> <ide> if cookie_jar = env['action_dispatch.cookies'] <ide><path>activerecord/lib/active_recor...
4
Ruby
Ruby
remove ocaml support
aa1461b7d67e5c0f0f37420c8168b38f9784e28f
<ide><path>Library/Homebrew/dependency_collector.rb <ide> class DependencyCollector <ide> # Define the languages that we can handle as external dependencies. <ide> LANGUAGE_MODULES = Set[ <del> :jruby, :lua, :ocaml, :perl, :python, :python3, :ruby <add> :jruby, :lua, :perl, :python, :python3, :ruby <ide> ]....
1
Ruby
Ruby
simplify code branch, remove #tap
dccdee7e2d021e700c51fc4612ff617e645ccb51
<ide><path>actionpack/lib/action_controller/metal/url_for.rb <ide> def url_options <ide> (script_name = env["ROUTES_#{_routes.object_id}_SCRIPT_NAME"]) || <ide> (original_script_name = env['ORIGINAL_SCRIPT_NAME'.freeze]) <ide> <del> @_url_options.dup.tap do |options| <del> if original...
1
Javascript
Javascript
join multicast group *after* binding
aef62a03ee27ffb149950df5caccc2b4965169d8
<ide><path>test/simple/test-dgram-multicast-multi-process.js <ide> if (!cluster.isMaster) { <ide> var receivedMessages = []; <ide> var listenSocket = dgram.createSocket('udp4'); <ide> <del> listenSocket.addMembership(LOCAL_BROADCAST_HOST); <del> <ide> listenSocket.on('message', function(buf, rinfo) { <ide> ...
1
PHP
PHP
fix failing tests related to year rollover
656c24a5327426b326eb50ee00c51540227dce79
<ide><path>src/View/Widget/DateTimeWidget.php <ide> public function render(array $data, ContextInterface $context) <ide> */ <ide> protected function _deconstructDate($value, $options) <ide> { <del> if (empty($value)) { <add> if ($value === '' || $value === null) { <ide> return [ <...
2
Python
Python
add targets arg to fill-mask pipeline
bc820476a5c72060f810f825298befd5ec85da4d
<ide><path>src/transformers/pipelines.py <ide> def ensure_exactly_one_mask_token(self, masked_index: np.ndarray): <ide> f"No mask_token ({self.tokenizer.mask_token}) found on the input", <ide> ) <ide> <del> def __call__(self, *args, **kwargs): <add> def __call__(self, *args, targets=N...
2
Ruby
Ruby
limit => 1. references
230c5a060ba7fe3ac2f78f5975debd04e85167cb
<ide><path>activerecord/lib/active_record/base.rb <ide> def find_one(id, options) <ide> conditions = " AND (#{sanitize_sql(options[:conditions])})" if options[:conditions] <ide> options.update :conditions => "#{table_name}.#{primary_key} = #{quote(id,columns_hash[primary_key])}#{conditions}" <ide> ...
1
Python
Python
fix python 3 syntax errors (en masse)
c9202db93df8fded77dd098d7eb2e56dca1ccf42
<ide><path>research/neural_gpu/neural_gpu_trainer.py <ide> # ============================================================================== <ide> """Neural GPU.""" <ide> <add>from __future__ import print_function <add> <ide> import math <ide> import os <ide> import random <ide><path>research/neural_programmer/neural_p...
2
Text
Text
simplify cost function
c900cec85e4110b8610f49f8fd9990bffd51e360
<ide><path>guide/english/machine-learning/logistic-regression/index.md <ide> J(θ)=(1/m)∑Cost(hθ(x(i)),y(i)) , where summation is from i=1 to m. <ide> Where hθ(x) is = hypothetic value calculated in accordance with attributes and weights which are calculated and balanced via algorithm such as gradient descent. <ide> y...
1
Javascript
Javascript
fix a stray variable missed in 3d5587
ca4476adf97e8d869609ded000e660938783040d
<ide><path>packages/ember-states/lib/state_manager.js <ide> Ember.StateManager = Ember.State.extend( <ide> exitStates.shift(); <ide> } <ide> <del> currentState.pathsCache[name] = { <add> currentState.pathsCache[path] = { <ide> exitStates: exitStates, <ide> enterState...
1
Ruby
Ruby
remove struct#to_h backport
758e223c45fdd41bdb397e3830553d13686c8dc1
<ide><path>actionpack/lib/action_controller/metal/params_wrapper.rb <ide> require 'active_support/core_ext/hash/slice' <ide> require 'active_support/core_ext/hash/except' <ide> require 'active_support/core_ext/module/anonymous' <del>require 'active_support/core_ext/struct' <ide> require 'action_dispatch/http/mime_type'...
4
Python
Python
fix qa example for pt
1889e96c8c278a88cb55339e845800e1799f60da
<ide><path>src/transformers/file_utils.py <ide> def _prepare_output_docstrings(output_type, config_class): <ide> >>> tokenizer = {tokenizer_class}.from_pretrained('{checkpoint}') <ide> >>> model = {model_class}.from_pretrained('{checkpoint}', return_dict=True) <ide> <del> >>> inputs = tokenizer(...
1
Text
Text
fix typos and broken links in the docs
9a7182ba36d3a9f1e73f2d2cdc0011ae7837d672
<ide><path>docs/SUMMARY.md <ide> * [Usage](getting-started/usage.md) <ide> * [General](general/README.md) <ide> * [Responsive](general/responsive.md) <add> * [Pixel Ratio](general/device-pixel-ratio.md) <ide> * [Interactions](general/interactions/README.md) <ide> * [Events](general/interactions/events.md) <i...
10
Python
Python
fix bug in sparse_top_k_categorical_accuracy
02bc5010a04bb11c8e91835cc9775c8149dec754
<ide><path>keras/metrics.py <ide> def top_k_categorical_accuracy(y_true, y_pred, k=5): <ide> <ide> <ide> def sparse_top_k_categorical_accuracy(y_true, y_pred, k=5): <del> return K.mean(K.in_top_k(y_pred, K.cast(K.max(y_true, axis=-1), 'int32'), k), <add> # If the shape of y_true is (num_samples, 1), flatten to ...
2
Python
Python
remove unnecessary iterator in language.pipe
993758c58fba9d4611223f5dd6dcdb203cf67bba
<ide><path>spacy/language.py <ide> def pipe( <ide> <ide> DOCS: https://spacy.io/api/language#pipe <ide> """ <del> # raw_texts will be used later to stop iterator. <del> texts, raw_texts = itertools.tee(texts) <ide> if is_python2 and n_process != 1: <ide> user_warning(W...
1
Python
Python
simplify forking_enable selection
ffdec5efaeaa6ad37d812814a7b4153473da7929
<ide><path>celery/worker/__init__.py <ide> def on_timeout_cancel(R): <ide> def create(self, w, semaphore=None, max_restarts=None): <ide> threaded = not w.use_eventloop <ide> procs = w.min_concurrency <del> forking_enable = w.no_execv or not w.force_execv <add> forking_enable = w.no_exe...
1
Python
Python
fix python 2.6 in client/server mode
2a2c8938364938cbb0760614389d44b2820dd82a
<ide><path>glances/__init__.py <ide> def main(): <ide> server = GlancesServer(cached_time=core.cached_time, <ide> config=core.get_config(), <ide> args=args) <del> print("{} {}:{}".format(_("Glances server is running on"), args.bind, args.port)...
2
Text
Text
add xray focus
9d0cebcd9a4808c1da030da21a165429a58f3633
<ide><path>docs/focus/2018-03-12.md <ide> - Tree-sitter <ide> - Implemented some optimizations to make Tree-sitter parsers compile faster and produce smaller binaries (https://github.com/tree-sitter/tree-sitter/pull/137) (https://github.com/tree-sitter/tree-sitter/pull/140). <ide> - Xray <add> - Short week for a var...
1
Javascript
Javascript
fix failing tests
e707ec0b1ecc61634062e9911eaf974958a449a9
<ide><path>src/core/ReactCompositeComponent.js <ide> var ReactCompositeComponentMixin = { <ide> continue; <ide> } <ide> var method = this.__reactAutoBindMap[autoBindKey]; <del> this[autoBindKey] = ReactErrorUtils.guard( <del> this._bindAutoBindMethod(method), <add> this[autoBindKey]...
2
Javascript
Javascript
multiline variable declarations
f9eee1f2939fe07f4fccf13571c64b965bcd5300
<ide><path>packages/ember-metal/lib/utils.js <ide> export function setMeta(obj, property, value) { <ide> */ <ide> export function metaPath(obj, path, writable) { <ide> Ember.deprecate("Ember.metaPath is deprecated and will be removed from future releases."); <del> var _meta = meta(obj, writable), keyName, value; <ad...
1
Python
Python
add missing loss classes
ba78b1bf436c2e4d57b44fe7ded87ac2fef65c3d
<ide><path>keras/losses.py <ide> def get_config(self): <ide> class MeanSquaredError(LossFunctionWrapper): <ide> """Computes the mean of squares of errors between labels and predictions. <ide> <del> For example, if `y_true` is [0., 0., 1., 1.] and `y_pred` is [1., 1., 1., 0.] <del> then the mean squared error...
2
Javascript
Javascript
check parent of poseobject instead of camera
9ed629301d0200448f335ce38b95a95c6a5f7363
<ide><path>src/renderers/webvr/WebVRManager.js <ide> function WebVRManager( renderer ) { <ide> cameraL.matrixWorldInverse.fromArray( frameData.leftViewMatrix ); <ide> cameraR.matrixWorldInverse.fromArray( frameData.rightViewMatrix ); <ide> <del> var parent = camera.parent; <add> var parent = poseObject.parent; <...
1
Java
Java
expose methods to set position start|end
1227675e0a8000d6f6d5e46a9863e086446435af
<ide><path>ReactAndroid/src/main/java/com/facebook/csslayout/CSSNode.java <ide> import static com.facebook.csslayout.CSSLayout.POSITION_LEFT; <ide> import static com.facebook.csslayout.CSSLayout.POSITION_TOP; <ide> import static com.facebook.csslayout.Spacing.BOTTOM; <add>import static com.facebook.csslayout.Spacing.EN...
3
Go
Go
return error if basename is expanded to blank
c9542d313e2a52807644742e5fd684bc2de9f507
<ide><path>builder/dockerfile/dispatchers.go <ide> func (d *dispatchRequest) getImageOrStage(name string, platform *specs.Platform) <ide> } <ide> return imageMount.Image(), nil <ide> } <del>func (d *dispatchRequest) getFromImage(shlex *shell.Lex, name string, platform *specs.Platform) (builder.Image, error) { <del> n...
2
Javascript
Javascript
use strict equality in regression test
8badb6776123a5e56e0dd675e03c97d52746b279
<ide><path>test/sequential/test-regress-GH-877.js <ide> server.listen(common.PORT, '127.0.0.1', function() { <ide> }; <ide> <ide> var req = http.get(options, function(res) { <del> if (++responses == N) { <add> if (++responses === N) { <ide> server.close(); <ide> } <ide> res.resume...
1
Ruby
Ruby
remove default argument from make_relative_symlink
c2228c0d0f266b5984530ffc169ba247c5f18037
<ide><path>Library/Homebrew/keg.rb <ide> def resolve_any_conflicts dst, mode <ide> puts "Won't resolve conflicts for symlink #{dst} as it doesn't resolve into the Cellar" if ARGV.verbose? <ide> end <ide> <del> def make_relative_symlink dst, src, mode=OpenStruct.new <add> def make_relative_symlink dst, src, mod...
1
Python
Python
pass trino hook params to dbapihook
1884f2227d1e41d7bb37246ece4da5d871036c1f
<ide><path>airflow/providers/trino/hooks/trino.py <ide> # specific language governing permissions and limitations <ide> # under the License. <ide> import os <del>from typing import Any, Iterable, Optional <add>from typing import Any, Callable, Iterable, Optional <ide> <ide> import trino <ide> from trino.exceptions imp...
2
Java
Java
change this "try" to a try-with-resources
c0b4b5787fc7a685c82d237f09533c89eb6b1ab1
<ide><path>spring-beans/src/main/java/org/springframework/beans/factory/support/PropertiesBeanDefinitionReader.java <ide> public int loadBeanDefinitions(EncodedResource encodedResource, @Nullable String <ide> <ide> Properties props = new Properties(); <ide> try { <del> InputStream is = encodedResource.getResourc...
5
Python
Python
remove useless code
4bb90a5bfd762269adeee772e233a733a6d318a9
<ide><path>keras/models.py <ide> def evaluate(self, X, y, batch_size=128, show_accuracy=False, verbose=1): <ide> else: <ide> return tot_score/len(batches) <ide> <del> def save(self, fpath): <del> import cPickle <del> import types <del> <del> weights = [] <del> for l i...
1
Ruby
Ruby
add opt shortcuts to formula
452d671008db6d61b78e18f25db0c7308b8a24a2
<ide><path>Library/Homebrew/formula.rb <ide> def opt_prefix <ide> Pathname.new("#{HOMEBREW_PREFIX}/opt/#{name}") <ide> end <ide> <add> def opt_bin; opt_prefix+'bin' end <add> def opt_include; opt_prefix+'include' end <add> def opt_lib; opt_prefix+'lib' end <add> def opt_libexec; opt_prefix+'l...
1
Ruby
Ruby
remove outdated comment
3b1a1962f7cd4bd44a5e4de0098129ee1dce6dc6
<ide><path>Library/Homebrew/formula.rb <ide> def brew <ide> stage do <ide> begin <ide> patch <del> # we allow formulae to do anything they want to the Ruby process <del> # so load any deps before this point! And exit asap afterwards <ide> yield self <ide> ensure <ide> ...
1
Python
Python
remove todos that will never fulfill
3b56ba8d1134724c87a670e9d95a34d320c223d8
<ide><path>official/modeling/tf_utils.py <ide> def is_special_none_tensor(tensor): <ide> return tensor.shape.ndims == 0 and tensor.dtype == tf.int32 <ide> <ide> <del># TODO(hongkuny): consider moving custom string-map lookup to keras api. <ide> def get_activation(identifier): <ide> """Maps a identifier to a Pytho...
4
Ruby
Ruby
fix example url in text helper
b214ddd1c986a466923fd8a2f3dddff5bfe28637
<ide><path>actionpack/lib/action_view/helpers/text_helper.rb <ide> module TextHelper <ide> # if logged_in <ide> # concat "Logged in!" <ide> # else <del> # concat link_to('login', :action => login) <add> # concat link_to('login', :action => :login) <ide> ...
1
Ruby
Ruby
prefer composition over inheritence
6ea781c9a7913ddf75ecdb26a273e194df95b2dc
<ide><path>actionpack/lib/action_dispatch/http/headers.rb <ide> module ActionDispatch <ide> module Http <del> class Headers < ::Hash <add> class Headers <add> include Enumerable <add> <ide> @@env_cache = Hash.new { |h,k| h[k] = "HTTP_#{k.upcase.gsub(/-/, '_')}" } <ide> <ide> def initialize(*ar...
2
Python
Python
add missing region to scrape prices script
a250cce9b07a6bbbcdeafafb9828ed73c7c3ab8d
<ide><path>contrib/scrape-ec2-prices.py <ide> 'us-west-2': 'ec2_us_west_oregon', <ide> 'eu-west-1': 'ec2_eu_west', <ide> 'eu-west-2': 'ec2_eu_west_london', <add> 'eu-west-3': 'ec2_eu_west_3', <ide> 'eu-ireland': 'ec2_eu_west', <ide> 'eu-central-1': 'ec2_eu_central', <ide> 'ca-central-1': 'ec2...
1
Text
Text
translate documentation to italian
a4ec19500a75a38334e5886922e3c4e59b33a2f0
<ide><path>docs/docs/01-why-react.it-IT.md <add>--- <add>id: why-react-it-IT <add>title: Perché React? <add>permalink: why-react-it-IT.html <add>next: displaying-data-it-IT.html <add>--- <add>React è una libreria JavaScript per creare interfacce utente scritta da Facebook e Instagram. A molti piace pensare a React come...
42
Javascript
Javascript
fix polar area legends
7edcc0659bf3295532974d1d3569f3454290e8e7
<ide><path>src/charts/Chart.PolarArea.js <ide> <ide> var defaultConfig = { <ide> aspectRatio: 1, <del> legendTemplate: "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i = 0; i < data.datasets[0].data.length; i++){%><li><span style=\"background-color:<%=data.datasets[0].backgroundColor[i]%>\"><%if(data.la...
1
Mixed
Javascript
fix typos with misspell
62aaae02656ed14859588dc7edfe34118337e161
<ide><path>CHANGELOG.md <ide> ### 1.13.10 (September 6, 2015) <ide> <ide> - [#12104](https://github.com/emberjs/ember.js/pull/12104) [BUGFIX] Ensure `concatenatedProperties` are not stomped. <del>- [#12256](https://github.com/emberjs/ember.js/pull/12256) [BUGFIX] Ensure concat streams unsubscribe properly. Fixes memor...
27
Text
Text
add lance to collaborators
0b9e135c3eaf9b83671b1ecbaa1aa4ba700a8add
<ide><path>README.md <ide> information about the governance of the Node.js project, see <ide> * [joaocgreis](https://github.com/joaocgreis) - **João Reis** &lt;reis@janeasystems.com&gt; <ide> * [julianduque](https://github.com/julianduque) - **Julian Duque** &lt;julianduquej@gmail.com&gt; <ide> * [JungMinu](https://git...
1
Java
Java
resolve collection element types during conversion
5a1f924ac328827c31ced745a65867d4a1feca17
<ide><path>spring-core/src/main/java/org/springframework/core/convert/ClassDescriptor.java <ide> /* <del> * Copyright 2002-2011 the original author or authors. <add> * Copyright 2002-2012 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may n...
2
Text
Text
update documentation of `order`
5d94cacb91b96083485781f22d6b0dc44efaad9e
<ide><path>docs/charts/bar.md <ide> the color of the bars is generally set this way. <ide> | ---- | ---- <ide> | `clip` | How to clip relative to chartArea. Positive value allows overflow, negative value clips that many pixels inside chartArea. `0` = clip at chartArea. Clipping can also be configured per side: `clip: {...
5
PHP
PHP
remove unused variable, micro optimisation
90660350d77cb93055f0a3fca6698a62f4b258f4
<ide><path>src/I18n/Formatter/SprintfFormatter.php <ide> class SprintfFormatter implements FormatterInterface { <ide> * @return string The formatted message <ide> */ <ide> public function format($locale, $message, array $vars) { <del> $isString = is_string($message); <del> if ($isString && isset($vars['_singular']...
1
Javascript
Javascript
remove references to simple_property
49bd20f915892c3e6d002a4794eaacba7112b7e9
<ide><path>packages/ember-metal/lib/mixin.js <ide> function mergeMixins(mixins, m, descs, values, base) { <ide> } else { <ide> // impl super if needed... <ide> if (isMethod(value)) { <del> ovalue = descs[key] === Ember.SIMPLE_PROPERTY && values[key]; <add> ovalue = desc...
6