content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Ruby
Ruby
run `brew audit` before uploading
9057a630212d95b57e7ee5492f7662a2340ff288
<ide><path>Library/Homebrew/dev-cmd/pr-upload.rb <ide> def pr_upload <ide> <ide> safe_system HOMEBREW_BREW_FILE, *bottle_args <ide> <add> # Check the bottle commits did not break `brew audit` <add> unless args.no_commit? <add> audit_args = ["bottle", "--merge", "--write"] <add> audit_args << "--ve...
1
Go
Go
allow user in builder
a3c4ab9b657018cf6fc33e70a44c790563c16043
<ide><path>builder/dockerfile/evaluator_windows.go <ide> import "fmt" <ide> // a command not supported on the platform. <ide> func platformSupports(command string) error { <ide> switch command { <del> case "user", "stopsignal": <add> case "stopsignal": <ide> return fmt.Errorf("The daemon on this platform does not su...
2
Javascript
Javascript
manage percent character at unescape
3b925219c341062a9fc648049e217fea79f0ea3d
<ide><path>lib/querystring.js <ide> function unescapeBuffer(s, decodeSpaces) { <ide> hexHigh = unhexTable[currentChar]; <ide> if (!(hexHigh >= 0)) { <ide> out[outIndex++] = 37; // '%' <add> continue; <ide> } else { <ide> nextChar = s.charCodeAt(++index); <ide> hexLow = u...
2
Javascript
Javascript
verify registry built for ember.application
00e517f36eba5db96f420f758647e53d233780a0
<ide><path>packages/ember-application/tests/system/application_test.js <ide> /*globals EmberDev */ <ide> import VERSION from 'ember/version'; <ide> import { ENV, context } from 'ember-environment'; <add>import isEnabled from 'ember-metal/features'; <ide> import run from 'ember-metal/run_loop'; <ide> import libraries fr...
1
Python
Python
fix part of ticket #893
2c7654ad26fb9e374ce062461d3986c31d609a49
<ide><path>numpy/ma/core.py <ide> def get_data(a, subok=True): <ide> if not subok: <ide> return data.view(ndarray) <ide> return data <add> <ide> getdata = get_data <ide> <ide> def fix_invalid(a, mask=nomask, copy=True, fill_value=None): <ide> def __init__ (self, mbfunc, fillx=0, filly=0): <ide> ...
1
PHP
PHP
move view\error to view\exception
c1b5187c8b71d15ae8c561d47500dfba3408fc07
<ide><path>src/Error/ExceptionRenderer.php <ide> use Cake\Network\Response; <ide> use Cake\Routing\Router; <ide> use Cake\Utility\Inflector; <del>use Cake\View\Error\MissingViewException; <add>use Cake\View\Exception\MissingViewException; <ide> use Exception; <ide> <ide> /** <ide><path>src/View/Cell.php <ide> use Cake...
18
Go
Go
use pivot_root instead of chroot"
82f797f14096430c3edbace1cd30e04a483ec41f
<ide><path>pkg/libcontainer/nsinit/mount.go <ide> package nsinit <ide> import ( <ide> "fmt" <ide> "github.com/dotcloud/docker/pkg/system" <del> "io/ioutil" <ide> "os" <ide> "path/filepath" <ide> "syscall" <ide> func setupNewMountNamespace(rootfs, console string, readonly bool) error { <ide> if err := system.Chdir...
1
PHP
PHP
move abstract method to top
29bb5c44d19038c80f90cd573fc519277767e344
<ide><path>src/Illuminate/Foundation/Publishing/Publisher.php <ide> public function __construct(Filesystem $files, $publishPath) <ide> $this->publishPath = $publishPath; <ide> } <ide> <add> /** <add> * Get the source directory to publish. <add> * <add> * @param string $package <add> * ...
1
Text
Text
fix syntax typo in changelog
34489b2c50308052a2d180b4207a7b081c5e6173
<ide><path>railties/CHANGELOG.md <ide> view templates too. This change will enable view template caching by <ide> adding this to the generated `environments/test.rb`: <ide> <del> ````ruby <add> ```ruby <ide> config.action_view.cache_template_loading = true <del> ```` <add> ``` <ide> <ide...
1
PHP
PHP
remove unset() and clean up tests
6ea4e739a8e933d2e641888557e158a652e545c0
<ide><path>src/Database/Connection.php <ide> public function __construct($config) <ide> public function __destruct() <ide> { <ide> if ($this->_transactionStarted && class_exists('Cake\Log\Log')) { <del> Log::warning('The connection is going to be closed but the transaction is still active.');...
2
Text
Text
fix the link for sharing images via repositories
c76f8ff1d4f0bbc273eca7cba4447b06e2da9c0c
<ide><path>docs/reference/commandline/tag.md <ide> periods and dashes. A tag name may not start with a period or a dash and may <ide> contain a maximum of 128 characters. <ide> <ide> You can group your images together using names and tags, and then upload them <del>to [*Share Images via Repositories*](../../tutorials/...
1
PHP
PHP
use str class instead of string helper functions
15251e41212ee47cf2f4be13dd36d07c1a892925
<ide><path>src/Illuminate/Auth/DatabaseUserProvider.php <ide> <ide> namespace Illuminate\Auth; <ide> <add>use Illuminate\Support\Str; <ide> use Illuminate\Contracts\Auth\UserProvider; <ide> use Illuminate\Database\ConnectionInterface; <ide> use Illuminate\Contracts\Hashing\Hasher as HasherContract; <ide> public funct...
44
Python
Python
extend lemmatizer rules for all upos tags
4fa96705379b10b761a7097b1adb12145402cb1f
<ide><path>spacy/lemmatizer.py <ide> from .symbols import NOUN, VERB, ADJ, PUNCT, PROPN <ide> from .errors import Errors <ide> from .lookups import Lookups <add>from .parts_of_speech import NAMES as UPOS_NAMES <ide> <ide> <ide> class Lemmatizer(object): <ide> def __call__(self, string, univ_pos, morphology=None): <id...
1
Ruby
Ruby
fix comment typo
d345483de164e062727f95d3fbd575433d735548
<ide><path>Library/Homebrew/formulary.rb <ide> require "tap" <ide> <ide> # The Formulary is responsible for creating instances of Formula. <del># It is not meant to be used directy from formulae. <add># It is not meant to be used directly from formulae. <ide> <ide> class Formulary <ide> FORMULAE = {}
1
Javascript
Javascript
move the contents of these files into angular.js
af0ad6561c0d75c4f155b07e9cfc36a983af55bd
<ide><path>angularFiles.js <ide> angularFiles = { <ide> 'src/Angular.js', <ide> 'src/loader.js', <ide> 'src/AngularPublic.js', <del> 'src/JSON.js', <ide> 'src/jqLite.js', <ide> 'src/apis.js', <ide> <ide><path>src/Angular.js <ide> function bind(self, fn) { <ide> } <ide> } <ide> <add> <add>func...
5
Go
Go
fix imagetree test
08623dc216227d6377cb4558caedd75cacf68755
<ide><path>commands.go <ide> func (cli *DockerCli) CmdImages(args ...string) error { <ide> } <ide> <ide> var outs []APIImages <del> err = json.Unmarshal(body, &outs) <del> if err != nil { <add> if err := json.Unmarshal(body, &outs); err != nil { <ide> return err <ide> } <ide> <del> var startImageArg = cm...
2
Ruby
Ruby
find version number in *-src.tarball
a3668bef76d66cd3295280b771d2ff2ffac0b58d
<ide><path>Library/Homebrew/pathname+yeast.rb <ide> def version <ide> # eg. foobar4.5.1 <ide> /((\d+\.)*\d+)$/.match stem <ide> return $1 if $1 <del> <add> <ide> # eg foobar-4.5.0-bin <del> /-((\d+\.)*\d+-bin)$/.match stem <add> /-((\d+\.)+\d+)-(bin|src)$/.match stem <ide> return $1 if $1 ...
2
Text
Text
simplify meteor readme
30f169af10b038e79e1334aaf667c2dddb391f67
<ide><path>meteor/README.md <ide> Packaging [Moment](momentjs.org) for [Meteor.js](http://meteor.com). <ide> <del> <del># Meteor <del> <del>If you're new to Meteor, here's what the excitement is all about - <del>[watch the first two minutes](https://www.youtube.com/watch?v=fsi0aJ9yr2o); you'll be hooked by 1:28. <del>...
1
Text
Text
add a note to `buf.fill()` description
c1ac57888199ba13df7eda4912cdb53dcfb5a2ee
<ide><path>doc/api/buffer.md <ide> console.log(b.toString()); <ide> // Prints: hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh <ide> ``` <ide> <del>`value` is coerced to a `uint32` value if it is not a string or integer. <add>`value` is coerced to a `uint32` value if it is not a string, `Buffer`, or <add>integer. I...
1
Ruby
Ruby
inline a method used by render_partial. closes
e9a4e4d88b6377ce1b6167149ea45767018dac65
<ide><path>actionpack/lib/action_view/partials.rb <ide> def add_counter_to_local_assigns!(partial_name, local_assigns) <ide> end <ide> <ide> def add_object_to_local_assigns!(partial_name, local_assigns, object) <del> local_assigns[partial_name.intern] ||= unwrap_object(object) || controller.instance...
1
Javascript
Javascript
fix dead link in pushnotificationios docs
6068c07e989613a59648d8e62171202c904249ba
<ide><path>Libraries/PushNotificationIOS/PushNotificationIOS.js <ide> var NOTIF_REGISTER_EVENT = 'remoteNotificationsRegistered'; <ide> * Handle push notifications for your app, including permission handling and <ide> * icon badge number. <ide> * <del> * To get up and running, [configure your notifications with Appl...
1
Javascript
Javascript
improve _http_outgoing coverage
f4d174aa0da662761c846d9d88b68e0471c84c64
<ide><path>test/parallel/test-http-outgoing-internal-headernames-getter.js <ide> const common = require('../common'); <ide> <ide> const { OutgoingMessage } = require('http'); <add>const assert = require('assert'); <ide> <ide> const warn = 'OutgoingMessage.prototype._headerNames is deprecated'; <ide> common.expectWarn...
1
Javascript
Javascript
use special nodename_ impl only for ie<9
0d2d7025e60095afc3497c6cd4a4af9e0cd9b90e
<ide><path>src/Angular.js <ide> function HTML(html, option) { <ide> }; <ide> } <ide> <del>if (msie) { <add>if (msie < 9) { <ide> nodeName_ = function(element) { <ide> element = element.nodeName ? element : element[0]; <ide> return (element.scopeName && element.scopeName != 'HTML' ) ? uppercase(element....
2
Ruby
Ruby
use the content_type method on the request object
27daea82d77a81a866ca20f547ab66e0f47d6380
<ide><path>actionpack/lib/action_controller/metal.rb <ide> def content_type=(type) <ide> end <ide> <ide> def content_type <del> headers["Content-Type"] <add> request.content_type <ide> end <ide> <ide> def location
1
Javascript
Javascript
add fragment as a named export to react
4ce5da7aee90a373f2f36d1beb559097af30952e
<ide><path>packages/react-dom/src/__tests__/ReactDOMServerIntegration-test.js <ide> describe('ReactDOMServerIntegration', () => { <ide> expect(parent.childNodes[2].tagName).toBe('P'); <ide> }); <ide> <add> itRenders('a fragment with one child', async render => { <add> let e = await render(<React.Frag...
10
Go
Go
make ipam work even without a backing store
4289ea637a9025837327fa733cc4fac27715ff49
<ide><path>libnetwork/ipam/allocator.go <ide> func NewAllocator(lcDs, glDs datastore.DataStore) (*Allocator, error) { <ide> {localAddressSpace, lcDs}, <ide> {globalAddressSpace, glDs}, <ide> } { <del> if aspc.ds == nil { <del> continue <del> } <ide> a.initializeAddressSpace(aspc.as, aspc.ds) <ide> } <ide> ...
2
Javascript
Javascript
remove create-subscription from the list
df5d32f230fea7b2ca1e1ddcb78efd6c3f8d7ef2
<ide><path>ReactVersions.js <ide> const ReactVersion = '18.1.0'; <ide> const nextChannelLabel = 'next'; <ide> <ide> const stablePackages = { <del> 'create-subscription': ReactVersion, <ide> 'eslint-plugin-react-hooks': '4.5.0', <ide> 'jest-react': '0.13.1', <ide> react: ReactVersion,
1
Go
Go
add better comments to utils/stdcopy.go
e32debcf5fb6bf056a871930a8a88d545653e96f
<ide><path>utils/stdcopy.go <ide> func (w *StdWriter) Write(buf []byte) (n int, err error) { <ide> return n - StdWriterPrefixLen, err <ide> } <ide> <del>// NewStdWriter instanciate a new Writer based on the given type `t`. <del>// the utils package contains the valid parametres for `t`: <add>// NewStdWriter instancia...
1
Ruby
Ruby
add two new unpack strategies
2a63d363c2d49c6fbf4f6f5a53cd73701a63e997
<ide><path>Library/Homebrew/unpack_strategy.rb <ide> class UnpackStrategy <ide> def self.strategies <ide> @strategies ||= [ <ide> JarUnpackStrategy, <add> LuaRockUnpackStrategy, <add> MicrosoftOfficeXmlUnpackStrategy, <ide> ZipUnpackStrategy, <ide> XarUnpackStrategy, <ide> Compre...
1
Java
Java
eliminate need for rxjava in json encoder
b11bef7a26bb7733868df2b92d6e0f41856d71d6
<ide><path>spring-web-reactive/src/main/java/org/springframework/reactive/codec/encoder/JsonObjectEncoder.java <ide> <ide> package org.springframework.reactive.codec.encoder; <ide> <del>import java.nio.ByteBuffer; <del> <ide> import org.reactivestreams.Publisher; <del>import reactor.rx.Promise; <del>import rx.Observa...
1
Go
Go
fix private pulls on buildkit
c693d45acf74b87680ace0db8615f97bd6853598
<ide><path>builder/builder-next/adapters/containerimage/pull.go <ide> func (is *imageSource) ID() string { <ide> <ide> func (is *imageSource) getResolver(ctx context.Context, rfn resolver.ResolveOptionsFunc, ref string) remotes.Resolver { <ide> opt := docker.ResolverOptions{ <del> Client: tracing.DefaultClient,...
1
Text
Text
fix typo in rails 5.0 release notes – “when when”
4c0c7cba2b112765ac9e515e353c7daadffd3d8a
<ide><path>guides/source/5_0_release_notes.md <ide> Please refer to the [Changelog][active-record] for detailed changes. <ide> gem. ([Pull Request](https://github.com/rails/rails/pull/21161)) <ide> <ide> * Removed support for the legacy `mysql` database adapter from core. Most users should <del> be able to us...
1
Text
Text
move changelog to right place [skip ci]
75216b533b301d89c3bb04768a2d0da511ee1a4e
<ide><path>activerecord/CHANGELOG.md <del>* Save many-to-many objects based on association primary key. <del> <del> Fixes #20995. <del> <del> *himesh-r* <del> <ide> * Fix an issue when preloading associations with extensions. <ide> Previously every association with extension methods was transformed into a...
1
Text
Text
add freshbooks to list of user
875b9ff321449414af3f59b3a9b3bfaa26287220
<ide><path>README.md <ide> Currently **officially** using Airflow: <ide> * Chartboost [[@cgelman](https://github.com/cgelman) & [@dclubb](https://github.com/dclubb)] <ide> * [Cotap](https://github.com/cotap/) [[@maraca](https://github.com/maraca) & [@richardchew](https://github.com/richardchew)] <ide> * Easy Taxi [[@ca...
1
Javascript
Javascript
remove sauce labs stuff for now
db299ed7614396d01a933bfb851be6e5906e598b
<ide><path>grunt/config/webdriver-jasmine.js <del>// https://saucelabs.com/docs/platforms <del> <del>var browsers = [ <del> { browserName: 'chrome', platform: 'linux' }, <del> <del> // { browserName: 'android', platform: 'Linux', version: '4.0', 'device-type': 'tablet', 'device-orientation': 'portrait' }, <del> //...
1
Text
Text
release notes for 1.7.9
27460db1dbb4b957825f774c0ab22803a98b714b
<ide><path>CHANGELOG.md <add><a name="1.7.9"></a> <add># 1.7.9 pollution-eradication (2019-11-19) <add> <add>## Bug Fixes <add>- **angular.merge:** do not merge __proto__ property <add> ([726f49](https://github.com/angular/angular.js/commit/726f49dcf6c23106ddaf5cfd5e2e592841db743a)) <add>- **ngStyle:** correctly remov...
1
Text
Text
set status to "accepted"
16f442e932e044b344cb24e46e3a61e27b736561
<ide><path>docs/rfcs/004-decoration-ordering.md <ide> <ide> ## Status <ide> <del>Proposed <add>Accepted <ide> <ide> ## Summary <ide>
1
Ruby
Ruby
define activemodel api compliance
5ffaaa71d149c9807260c950c9a61d01fe734827
<ide><path>actionpack/lib/action_controller/routing/generation/polymorphic_routes.rb <ide> def polymorphic_url(record_or_hash_or_array, options = {}) <ide> end <ide> <ide> record = extract_record(record_or_hash_or_array) <add> record = record.to_model if record.respond_to?(:to_model) <ide> ...
17
PHP
PHP
use implode instead of alias
6b190c3d0862f9de9432edf28e939cb5e3f8637d
<ide><path>src/Illuminate/Database/Query/Grammars/Grammar.php <ide> protected function whereRowValues(Builder $query, $where) <ide> { <ide> $values = $this->parameterize($where['values']); <ide> <del> return '('.join(', ', $where['columns']).') '.$where['operator'].' ('.$values.')'; <add> ret...
1
Javascript
Javascript
add git revision to extension manifests
94810b2b5acc6b860df4dfa2881b62030806d518
<ide><path>shells/browser/shared/build.js <ide> <ide> const AdmZip = require('adm-zip'); <ide> const { execSync } = require('child_process'); <add>const { readFileSync, writeFileSync } = require('fs'); <ide> const { copy, ensureDir, move, remove } = require('fs-extra'); <ide> const { join } = require('path'); <add>con...
2
Javascript
Javascript
fix typo in a comment
c34602007cc53211697ba7cda0b6a60a558c0bd9
<ide><path>src/ngAnimate/animate.js <ide> angular.module('ngAnimate', ['ng']) <ide> } <ide> } <ide> <del> //it is less complicated to use a flag than managing and cancelling <add> //it is less complicated to use a flag than managing and canceling <ide> //timeouts containing mult...
1
Java
Java
add doonevent to single & completable
eddc153f936069c7ab94a214d04adc88fd76d93a
<ide><path>src/main/java/io/reactivex/Completable.java <ide> public final Completable doOnError(Consumer<? super Throwable> onError) { <ide> Functions.EMPTY_ACTION, Functions.EMPTY_ACTION); <ide> } <ide> <add> /** <add> * Returns a Completable which calls the given onEvent callback with the ...
6
Javascript
Javascript
remove unused vendor assert.js
9139df5779f6354aee03d06c458c78764a20a4be
<ide><path>vendor/assert.js <del>// http://wiki.commonjs.org/wiki/Unit_Testing/1.0 <del>// <del>// THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8! <del>// <del>// Originally from narwhal.js (http://narwhaljs.org) <del>// Copyright (c) 2009 Thomas Robinson <280north.com> <del>// <del>// Permission is hereby granted, f...
1
Text
Text
add element to create-a-stack tests
f5eb0d55fbcf5b9b2609673dcc1e5ba438043cc7
<ide><path>curriculum/challenges/english/10-coding-interview-prep/data-structures/create-a-stack-class.md <ide> The `peek` method should return the top element of the stack <ide> assert( <ide> (function () { <ide> var test = new Stack(); <add> test.push('CS61'); <ide> test.push('CS50'); <del> return tes...
1
Javascript
Javascript
check links in api docs
91837e9fbbd27fce37719b2decaf3a3196a31171
<ide><path>tools/doc/checkLinks.js <ide> function findMarkdownFilesRecursively(dirPath) { <ide> <ide> if ( <ide> entry.isDirectory() && <del> entry.name !== 'api' && <ide> entry.name !== 'build' && <ide> entry.name !== 'changelogs' && <ide> entry.name !== 'deps' &&
1
Javascript
Javascript
remove onevent compatibility
ed926da691b223c23e62f8e5cdf28152038ee2b9
<ide><path>src/events.js <ide> emitter.listeners = function (type, listener) { <ide> * See events.cc <ide> */ <ide> emitter.emit = function (type, args) { <del> if (this["on" + type] instanceof Function) { <del> this["on" + type].apply(this, args); <del> } <ide> if (!this._events) return; <ide> if (!this._...
12
Ruby
Ruby
fix env.m32 when ldflags already exists
7ec2874746bf504425946045bcbae7a103f151f8
<ide><path>Library/Homebrew/extend/ENV.rb <ide> def cxx <ide> <ide> def m64 <ide> append_to_cflags '-m64' <del> ENV['LDFLAGS'] += '-arch x86_64' <add> ENV.append 'LDFLAGS', '-arch x86_64' <ide> end <ide> def m32 <ide> append_to_cflags '-m32' <del> ENV['LDFLAGS'] += '-arch i386' <add> ENV.appe...
1
PHP
PHP
check route before calling method
ab569fb44bdb83ba250fa1cd800b6543a1414ee0
<ide><path>src/Illuminate/Http/Request.php <ide> public function __get($key) <ide> { <ide> return $this->input($key); <ide> } <del> else <add> elseif ( ! is_null($this->route())) <ide> { <ide> return $this->route()->parameter($key); <ide> }
1
Text
Text
add subtitle to the list of all esm imports
655c635191328f5e4d0ddf2adb9ff46d0760f301
<ide><path>docs/getting-started/integration.md <ide> import { <ide> Filler, <ide> Legend, <ide> Title, <del> Tooltip <add> Tooltip, <add> SubTitle <ide> } from 'chart.js'; <ide> <ide> Chart.register( <ide> Chart.register( <ide> Filler, <ide> Legend, <ide> Title, <del> Tooltip <add> Tooltip, <add> Sub...
1
Text
Text
add guide for converting a textmate bundle
220fe36167111a2e5fe4871f71b4cec6646432af
<ide><path>docs/converting-a-textmate-bundle.md <add>## Converting a TextMate Bundle <add> <add>This guide will show you how to convert a [TextMate][TextMate] bundle to an <add>Atom package. <add> <add>Converting a TextMate bundle will allow you to use its editor preferences, <add>snippets, and colorization inside Atom...
1
PHP
PHP
handle array keys with dots, fixes
75e8cf11296c8754fc16ed118ef7aac7dbbdfcf9
<ide><path>src/Illuminate/Validation/Validator.php <ide> public function __construct(TranslatorInterface $translator, array $data, array <ide> { <ide> $this->translator = $translator; <ide> $this->customMessages = $messages; <del> $this->data = $this->parseData($data); <add> $this->dat...
2
Javascript
Javascript
remove test for modifier capabilities deprecation
4c633b00e2567ea5a7a4178d770d332854f763a7
<ide><path>packages/@ember/-internals/glimmer/tests/integration/custom-modifier-manager-test.js <ide> moduleFor( <ide> runTask(() => set(this.context, 'truthy', true)); <ide> } <ide> <del> '@test requires modifier capabilities'() { <del> class WithoutCapabilities extends CustomModifierManager { <del>...
1
Ruby
Ruby
improve text_executable heuristic
dd4302ae9bd75f05be2b9a1a3b44f8925d1ea700
<ide><path>Library/Homebrew/extend/pathname.rb <ide> def compression_type <ide> end <ide> <ide> def text_executable? <del> %r[^#!\s*.+] === open('r') { |f| f.readline } <del> rescue EOFError <del> false <add> %r[^#!\s*\S+] === open('r') { |f| f.read(1024) } <ide> end <ide> <ide> def incremental_hash...
1
Text
Text
add small improvements to the webpacker guide
31ad146c16bec0e1e27088d48b5cbf513c50e3ee
<ide><path>guides/source/webpacker.md <ide> Webpacker <ide> ========= <ide> <del>This guide will show you how to install and use Webpacker to package JavaScript, CSS, and other assets for the client-side of your Rails application. <add>This guide will show you how to install and use Webpacker to package JavaScript, C...
1
Text
Text
add area/bundles tothe list of area labels
b94d429f19b900850c3c4a91083d87dc190d4b98
<ide><path>project/ISSUE-TRIAGE.md <ide> have: <ide> |---------------------------| <ide> | area/api | <ide> | area/builder | <add>| area/bundles | <ide> | area/cli | <ide> | area/daemon | <ide> | area/distribution |
1
Python
Python
remove unneeded import
0c7b0805b45c887733ff11a386267d5a4c6a7ecb
<ide><path>numpy/lib/recfunctions.py <ide> from numpy import ndarray, recarray <ide> from numpy.ma import MaskedArray <ide> from numpy.ma.mrecords import MaskedRecords <del> <ide> from numpy.lib._iotools import _is_string_like <ide> <del>import sys <del>if sys.version_info[0] >= 3: <del> iterizip = zip <del> <ide> ...
1
Javascript
Javascript
remove yellow box from systrace
d334cdd5907359d2af0f36efd0e351bba0ec14d3
<ide><path>Libraries/ReactNative/AppContainer.js <ide> class AppContainer extends React.Component { <ide> <ide> componentDidMount(): void { <ide> if (__DEV__) { <del> this._subscription = RCTDeviceEventEmitter.addListener( <del> 'toggleElementInspector', <del> () => { <del> const Insp...
1
Python
Python
fix warnings imports in fixtures tests
65c557115f6e76293c39ce7b73b62216911f9489
<ide><path>tests/fixtures_model_package/tests.py <ide> from __future__ import unicode_literals <ide> <add>import warnings <add> <ide> from django.core import management <ide> from django.db import transaction <ide> from django.test import TestCase, TransactionTestCase <ide> def test_loaddata(self): <ide> ) <id...
2
Python
Python
remove outdated merge exception
5648119b667bf932d6f502e4c2b7c44bbbe80047
<ide><path>keras/layers/core.py <ide> def __init__(self, layers, mode='sum'): <ide> ''' <ide> if len(layers) < 2: <ide> raise Exception("Please specify two or more input layers (or containers) to merge") <del> elif len(layers) > 2 and mode == 'mul': <del> raise Exception("E...
1
Ruby
Ruby
update 10.11 clang expectation
b505c65b78fdb481c1c40f7a1655663aabf56548
<ide><path>Library/Homebrew/os/mac/xcode.rb <ide> def installed? <ide> <ide> def latest_version <ide> case MacOS.version <del> when "10.11" then "700.0.65" <add> when "10.11" then "700.0.72" <ide> when "10.10" then "602.0.53" <ide> when "10.9" then "600.0.57" <ide> ...
1
Python
Python
fix typo in example of dprreader
b5995badc97230c1c57a612bcf6e76d3cb64be70
<ide><path>src/transformers/models/dpr/modeling_dpr.py <ide> def forward( <ide> ... return_tensors='pt' <ide> ... ) <ide> >>> outputs = model(**encoded_inputs) <del> >>> start_logits = outputs.stat_logits <add> >>> start_logits = outputs.start_logits...
1
PHP
PHP
add merge method
9a912d6f7da4d15144d73afc9213a5ef0f8db3e2
<ide><path>src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php <ide> protected function filter($data) <ide> } <ide> <ide> if (is_numeric($key) && $value instanceof MergeValue) { <del> return $this->merge($data, $index, $this->filter($value->data), $numericKeys); <add> ...
1
PHP
PHP
add atom and textmate editor urls
aa8975c9624082fc2287359f95a68bc0f2990d64
<ide><path>src/Error/Debugger.php <ide> class Debugger <ide> * @var array <ide> */ <ide> protected $editors = [ <del> 'sublime' => 'subl://open?url=file://{file}&line={line}', <del> 'phpstorm' => 'phpstorm://open?file={file}&line={line}', <del> 'macvim' => 'mvim://open/?url=file://{fi...
1
Python
Python
fix formatting and remove unused code
d7898d586f6186459f3e8b4c016a78872fd159bc
<ide><path>spacy/util.py <ide> import re <ide> import os.path <ide> import pathlib <del> <ide> import six <ide> from .attrs import TAG, HEAD, DEP, ENT_IOB, ENT_TYPE <ide> <add> <ide> try: <ide> basestring <ide> except NameError: <ide> def split_data_name(name): <ide> return name.split('-', 1) if '-' in name el...
1
Javascript
Javascript
fix optimizer bailing on performdocumentupdate
ada645aaa16c51b49357b161d81af51903d07cc3
<ide><path>src/view-registry.js <ide> class ViewRegistry { <ide> this.nextUpdatePromise = null <ide> this.resolveNextUpdatePromise = null <ide> <del> let writer <del> while ((writer = this.documentWriters.shift())) { writer() } <add> var writer = this.documentWriters.shift() <add> while (writer) { ...
1
Javascript
Javascript
add skewx and skewy to the transform style options
74f467b00a12ba2ff7008443b958e445d74dfa8d
<ide><path>Libraries/StyleSheet/TransformPropTypes.js <ide> var TransformPropTypes = { <ide> ReactPropTypes.shape({scaleX: ReactPropTypes.number}), <ide> ReactPropTypes.shape({scaleY: ReactPropTypes.number}), <ide> ReactPropTypes.shape({translateX: ReactPropTypes.number}), <del> ReactPropTypes.sh...
3
Javascript
Javascript
remove circular dependencies from helpers
b6c22d269a16097bc8c55d7cc01d37b7369391d4
<ide><path>src/helpers/helpers.canvas.js <del>import { <del> isArray, isNullOrUndef, PI, TAU, HALF_PI, QUARTER_PI, <del> TWO_THIRDS_PI, RAD_PER_DEG <del>} from './index'; <add>import {isArray, isNullOrUndef} from './helpers.core'; <add>import {PI, TAU, HALF_PI, QUARTER_PI, TWO_THIRDS_PI, RAD_PER_DEG} from './helpers.ma...
3
Ruby
Ruby
remove the mounted_helpers respond_to check
1e7f28c985b8df78058403f6ee5df42427ccc8c1
<ide><path>actionpack/lib/action_dispatch/testing/integration.rb <ide> def initialize(app) <ide> if app.respond_to?(:routes) <ide> singleton_class.class_eval do <ide> include app.routes.url_helpers <del> include app.routes.mounted_helpers if app.routes.respond_to?(:mounted_helpe...
1
Javascript
Javascript
remove unused code
59e5de59d75a8d02ef64fa72c774bcf1eb89ea86
<ide><path>lib/APIPlugin.js <ide> const REPLACEMENT_TYPES = { <ide> __webpack_nonce__: "string" // eslint-disable-line camelcase <ide> }; <ide> <del>const IGNORES = []; <del> <ide> class APIPlugin { <del> <ide> apply(compiler) { <ide> compiler.plugin("compilation", (compilation, params) => { <ide> compilation.d...
4
Javascript
Javascript
remove some hardcoded glue
4d155983c51127001df51c3e3598b642b6a6a7e8
<ide><path>fonts.js <ide> var Font = (function () { <ide> idDeltas + idRangeOffsets + glyphsIds); <ide> }; <ide> <del> function createOS2Table() { <add> function createOS2Table(properties) { <ide> return "\x00\x03" + // version <ide> "\x02\x24" + // xAvgCharWidth <ide> ...
2
Ruby
Ruby
add stable url, tag and revision to json output
82fde4e1e520934635aa9a6212c7954e9d68a134
<ide><path>Library/Homebrew/formula.rb <ide> def to_hash <ide> "head" => head&.version&.to_s, <ide> "bottle" => !bottle_specification.checksums.empty?, <ide> }, <add> "urls" => { <add> "stable" => { <add> "url" => stable.url, <add> "tag" ...
1
Text
Text
translate description section to arabic
de1ab3dc65700d33362514498e0a1bd072094fd2
<ide><path>curriculum/challenges/arabic/01-responsive-web-design/basic-css/add-different-padding-to-each-side-of-an-element.arabic.md <ide> localeTitle: '' <ide> --- <ide> <ide> ## Description <del>undefined <add>احياناً تحتاج إلى إجراء تعديل على عنصر ما بحيث أن يكون كل واحد من جهاته له <code>padding</code> بِسُمكٍ مخ...
1
PHP
PHP
fix inverted condition
fd50f0aadf3e81fd336c0ddaf0b4058650ac7ad1
<ide><path>src/Network/Response.php <ide> public function sendHeaders() <ide> $this->_setCookies(); <ide> $this->_sendHeader("{$this->_protocol} {$this->_status} {$codeMessage}"); <ide> <del> if (in_array($this->_status, [304, 204])) { <add> if (!in_array($this->_status, [304, 204])) { <i...
1
Text
Text
add docs about the keybindings tab
61021b6a13bca0fec55a7279752a478b918582fc
<ide><path>docs/customizing-atom.md <ide> By default, `~/.atom/keymap.cson` is loaded when Atom is started. It will always <ide> be loaded last, giving you the chance to override bindings that are defined by <ide> Atom's core keymaps or third-party packages. <ide> <add>You'll want to know all the commands available to...
1
Javascript
Javascript
remove deprecated lifecycles usage
ba61267015567bf180dd3272a295dc262b3e2c97
<ide><path>Libraries/Animated/createAnimatedComponent.js <ide> function createAnimatedComponent<Props: {+[string]: mixed, ...}, Instance>( <ide> ); <ide> <ide> class AnimatedComponent extends React.Component<Object> { <add> constructor(props) { <add> super(props); <add> this._waitForUpdate(); <add> ...
2
Javascript
Javascript
fix arguments order in assert.strictequal()
e201c305f0c2f9abec9f3c8511879252426104ca
<ide><path>test/parallel/test-http-1.0.js <ide> function test(handler, request_generator, response_validator) { <ide> <ide> { <ide> function handler(req, res) { <del> assert.strictEqual('1.0', req.httpVersion); <del> assert.strictEqual(1, req.httpVersionMajor); <del> assert.strictEqual(0, req.httpVersionMin...
1
Javascript
Javascript
leave top level scope when traversing class nodes
b8815a941596c1167b3dcbdc05d082687185e8b3
<ide><path>lib/Parser.js <ide> class Parser extends Tapable { <ide> if(classy.superClass) <ide> this.walkExpression(classy.superClass); <ide> if(classy.body && classy.body.type === "ClassBody") { <del> for(const methodDefinition of classy.body.body) <add> const wasTopLevel = this.scope.topLevelScope; <add> ...
3
Go
Go
fix ineffassign linting
ddd8a6572d36a6d0db2aa21d697018f419a7b424
<ide><path>integration-cli/docker_api_containers_test.go <ide> func (s *DockerSuite) TestContainerAPIDeleteRemoveVolume(c *check.C) { <ide> c.Assert(waitRun(id), checker.IsNil) <ide> <ide> source, err := inspectMountSourceField(id, vol) <add> c.Assert(err, checker.IsNil) <ide> _, err = os.Stat(source) <ide> c.Asse...
20
Java
Java
add doonterminate to single/maybe for consistency
6e266af1000083f25dcae9defdcfe41e4ea2b97b
<ide><path>src/main/java/io/reactivex/Maybe.java <ide> public final Maybe<T> doOnSubscribe(Consumer<? super Disposable> onSubscribe) { <ide> )); <ide> } <ide> <add> /** <add> * Returns a Maybe instance that calls the given onTerminate callback <add> * just before this Maybe completes normally or...
6
Javascript
Javascript
remove unused parameters and fix jslint warnings
b321768f595d2290a9ec80d2b96e46d0feb3b62c
<ide><path>src/evaluator.js <ide> var PartialEvaluator = (function partialEvaluator() { <ide> var font = xref.fetchIfRef(fontRef); <ide> assertWellFormed(isDict(font)); <ide> if (!font.translated) { <del> font.translated = self.translateFont(font, xref, resources, handler, <del> ...
1
Javascript
Javascript
fix retina scale when display size is implicit
6b449a9e7c56d873edc28b3e2dcf976b2ea27404
<ide><path>src/core/core.controller.js <ide> module.exports = function(Chart) { <ide> <ide> canvas.width = chart.width = newWidth; <ide> canvas.height = chart.height = newHeight; <del> <del> helpers.retinaScale(chart); <del> <ide> canvas.style.width = newWidth + 'px'; <ide> canvas.style.height = newHeigh...
4
Python
Python
fix encode plus
3d57c51111054adb01b2ea94bfd45237eb282431
<ide><path>transformers/tokenization_utils.py <ide> def prepare_for_model(self, ids, pair_ids=None, max_length=None, add_special_tok <ide> return_tensors: (optional) can be set to 'tf' or 'pt' to return respectively TensorFlow tf.constant <ide> or PyTorch torch.Tensor instead of a list of py...
1
Ruby
Ruby
avoid duplicate coverage reports
65203bbd1ea4513b4db3b7ed151626e1338ae70a
<ide><path>Library/Homebrew/dev-cmd/test-bot.rb <ide> # as raw bytes instead of re-encoding in UTF-8. <ide> # --fast: Don't install any packages, but run e.g. audit anyway. <ide> # --keep-tmp: Keep temporary files written by main installs and tests that are run. <del># -...
1
Text
Text
add changelog entry for [ci skip]
7b9ca16394faf535535e2d926a7e2db7f4766f76
<ide><path>activerecord/CHANGELOG.md <add>* Allow `where` references association names as joined table name aliases. <add> <add> ```ruby <add> class Comment < ActiveRecord::Base <add> enum label: [:default, :child] <add> has_many :children, class_name: "Comment", foreign_key: :parent_id <add> end <...
1
Text
Text
add dash to handle apostrophe in title
f8b48cf3caa96c531f1bb572d9ad8986a03fe367
<ide><path>docs/faq/Performance.md <ide> hide_title: true <ide> ## Table of Contents <ide> <ide> - [How well does Redux “scale” in terms of performance and architecture?](#how-well-does-redux-scale-in-terms-of-performance-and-architecture) <del>- [Won't calling “all my reducers” for each action be slow?](#wont-calling...
1
Java
Java
allow customization of spel method resolution
90bed9718f17bfd8f3d9dbe6cd2b3cf7ed2e6573
<ide><path>org.springframework.expression/src/main/java/org/springframework/expression/spel/support/ReflectiveMethodResolver.java <ide> /* <del> * Copyright 2002-2010 the original author or authors. <add> * Copyright 2002-2011 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version ...
2
Go
Go
move "create" to daemon/create.go
80f3272ee9957c537271462a688a7de88aaa92c0
<ide><path>daemon/create.go <add>package daemon <add> <add>import ( <add> "github.com/docker/docker/engine" <add> "github.com/docker/docker/graph" <add> "github.com/docker/docker/pkg/parsers" <add> "github.com/docker/docker/runconfig" <add>) <add> <add>func (daemon *Daemon) ContainerCreate(job *engine.Job) engine.Statu...
4
Javascript
Javascript
add getattributens to domstubs for svg example
4f22ba54bf9779226dfee4c44d5c7bcd056e5662
<ide><path>examples/node/domstubs.js <ide> function DOMElement(name) { <ide> <ide> DOMElement.prototype = { <ide> <add> getAttributeNS: function DOMElement_getAttributeNS(NS, name) { <add> return name in this.attributes ? this.attributes[name] : null; <add> }, <add> <ide> setAttributeNS: function DOMElement_se...
1
Javascript
Javascript
remove unused assignment
1d525f55bc9f090a167acc286529b9a424dd0d5a
<ide><path>lib/fs.js <ide> function rmdir(path, options, callback) { <ide> path = pathModule.toNamespacedPath(getValidatedPath(path)); <ide> <ide> if (options && options.recursive) { <del> options = validateRmOptions( <add> validateRmOptions( <ide> path, <ide> { ...options, force: true }, <ide> ...
1
Python
Python
modernize tokenizer tests for contractions
aafc894285f1a3bb5fd6c2bb3ce8e65da5bb408e
<ide><path>spacy/tests/tokenizer/test_contractions.py <ide> from __future__ import unicode_literals <add>from ...en import English <ide> import pytest <ide> <add>@pytest.fixture <add>def en_tokenizer(): <add> return English.Defaults.create_tokenizer() <ide> <del>def test_possess(en_tokenizer): <del> tokens = en...
1
Ruby
Ruby
add new unit tests
dd898e58b836c0d39b705a5043dd90294d7543c1
<ide><path>Library/Homebrew/test/keg_relocate/grep_spec.rb <add># typed: false <add># frozen_string_literal: true <add> <add>require "keg_relocate" <add> <add>describe Keg do <add> subject(:keg) { described_class.new(HOMEBREW_CELLAR/"foo/1.0.0") } <add> <add> let(:dir) { HOMEBREW_CELLAR/"foo/1.0.0" } <add> let(:text...
1
Javascript
Javascript
add blueprints for mu instance initializer
ab27246721029814ca3feb1264d09f3965b7d734
<ide><path>blueprints/instance-initializer-test/index.js <ide> const path = require('path'); <ide> const stringUtils = require('ember-cli-string-utils'); <ide> <ide> const useTestFrameworkDetector = require('../test-framework-detector'); <add>const isModuleUnificationProject = require('../module-unification').isModule...
11
Go
Go
use containerd/sys to detect usernamespaces
4534a7afc31abb39730f41e9311f0eee6b4eda25
<ide><path>daemon/daemon.go <ide> import ( <ide> "github.com/containerd/containerd/defaults" <ide> "github.com/containerd/containerd/pkg/dialer" <ide> "github.com/containerd/containerd/remotes/docker" <add> "github.com/containerd/containerd/sys" <ide> "github.com/docker/docker/api/types" <ide> containertypes "gith...
8
Text
Text
remove precomputing style
e09378d92dbaef3e3a9bb32e70b5482cc39eb48b
<ide><path>docs/DirectManipulation.md <ide> that call back to the `TouchableOpacity` component. <ide> `TouchableHighlight`, in contrast, is backed by a native view and only <ide> requires that we implement `setNativeProps`. <ide> <del>## Precomputing style <del> <del>We learned above that `setNativeProps` is a wrapper...
1
Javascript
Javascript
add tred.com to the showcase page
e99c001d58a6257941f36b8f63d0f8ae3fffc6d7
<ide><path>website/src/react-native/showcase.js <ide> var featured = [ <ide> infoLink: 'https://techcrunch.com/2016/02/01/refinery29-debuts-its-first-app-a-morning-news-round-up-called-refinery29-am/', <ide> infoTitle: 'Refinery29 debuts its first app', <ide> }, <add> { <add> name: 'TRED - Sell your car f...
1
Ruby
Ruby
simplify verbose pathname extension
56fa23e07ee4ee27cd22babb1c1ce57bb5d2a7c6
<ide><path>Library/Homebrew/cleaner.rb <ide> def clean_file_permissions path <ide> # Clean a single folder (non-recursively) <ide> def clean_dir d <ide> d.find do |path| <del> path.extend(NoiseyPathname) if ARGV.verbose? <add> path.extend(NoisyPathname) if ARGV.verbose? <ide> <ide> if path.dire...
1
Javascript
Javascript
simplify logic for mutable workinprogresssources
21dc41c3205b4f721ba97d2e54f1d3b5c38cb79a
<ide><path>packages/react-reconciler/src/ReactMutableSource.new.js <ide> import {isPrimaryRenderer} from './ReactFiberHostConfig'; <ide> // Work in progress version numbers only apply to a single render, <ide> // and should be reset before starting a new render. <ide> // This tracks which mutable sources need to be res...
2
Ruby
Ruby
remove some warnings
900758145d65438190a69f0fd227f62e01fa7bd2
<ide><path>railties/test/application/configuration_test.rb <ide> def assert_utf8 <ide> end <ide> <ide> test "Use key_generator when secret_key_base is set" do <del> make_basic_app do |app| <del> app.secrets.secret_key_base = 'b3c631c314c0bbca50c1b2843150fe33' <del> app.config.session_store :...
1
Ruby
Ruby
fix variable not initialized warnings
879918b586535e2a76f345113fa1282daaf395ac
<ide><path>activesupport/test/concern_test.rb <ide> module Baz <ide> extend ActiveSupport::Concern <ide> <ide> class_methods do <add> attr_accessor :included_ran, :prepended_ran <add> <ide> def baz <ide> "baz" <ide> end <del> <del> def included_ran=(value) <del> @included_r...
1
Go
Go
add benchmarks on trucnindex.delete
7c8445826fdce3e46253a6e194a33407ed9bd154
<ide><path>pkg/truncindex/truncindex_test.go <ide> func BenchmarkTruncIndexGet500(b *testing.B) { <ide> } <ide> } <ide> <add>func BenchmarkTruncIndexDelete100(b *testing.B) { <add> var testSet []string <add> for i := 0; i < 100; i++ { <add> testSet = append(testSet, utils.GenerateRandomID()) <add> } <add> b.ResetTim...
1