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
apply fixes from styleci
0131fd5a395949dceacb2ef57eb21fa0992a1680
<ide><path>src/Illuminate/Database/Eloquent/Relations/MorphMany.php <ide> public function match(array $models, Collection $results, $relation) <ide> * @param array $attributes <ide> * @return \Illuminate\Database\Eloquent\Model <ide> */ <del> public function forceCreate(array $attributes = []) <add...
1
PHP
PHP
add pdo try again as lost connection message
6f1fdddc9c9afc571f3aca51a67b58828a9e35f7
<ide><path>src/Illuminate/Database/DetectsLostConnections.php <ide> protected function causedByLostConnection(Throwable $e) <ide> 'Connection refused', <ide> 'running with the --read-only option so it cannot execute this statement', <ide> 'The connection is broken and recovery is not...
1
Python
Python
change rules.py back
fedd3f1d915afc7ebf31ee8fd9e69e0012ac344e
<ide><path>scipy/f2py/rules.py <ide> ], <ide> 'cleanupfrompyobj':[ # note that this list will be reversed <ide> '\t} /*if (capi_#varname#_tmp == NULL) ... else of #varname#*/', <del> {l_not(isintent_hide):"""\ <add> {l_not(l_or(isintent_out,isintent_hide)):"""\ <ide> \tif((PyObject *)cap...
1
Text
Text
add issue & pull request template files
2575ed0c1c7229afe01cb966ff715a791934abe8
<ide><path>.github/ISSUE_TEMPLATE.md <add>- [ ] I have read the [guidelines for contributing](https://github.com/chartjs/Chart.js/blob/master/CONTRIBUTING.md) <add>- [ ] I have included an example of my issue on a website such as [JS Bin](http://jsbin.com/), [JS Fiddle](http://jsfiddle.net/), or [Codepen](http://codepe...
2
PHP
PHP
add dropifexists() support for sql server
7ce580c88bbfc131a5562a8913a8a3c2d8e6546e
<ide><path>src/Illuminate/Database/Schema/Grammars/SqlServerGrammar.php <ide> public function compileDrop(Blueprint $blueprint, Fluent $command) <ide> return 'drop table '.$this->wrapTable($blueprint); <ide> } <ide> <add> /** <add> * Compile a drop table (if exists) command. <add> * <add> * @param \Illuminate\D...
1
PHP
PHP
update configuration examples
74b77a4d73a6de6c111da5ca783df86c7da62113
<ide><path>App/Config/cache.php <ide> * <ide> * File storage engine. <ide> * <del> * Cache::config('default', array( <add> * Configure::write('Cache.default', array( <ide> * 'engine' => 'File', //[required] <ide> * 'duration'=> 3600, //[optional] <ide> * 'probability'=> 100, //[optional] <ide> * <ide> * ...
1
Text
Text
add 1.4.1 changes
528d7f9568e3b53f3d7e90035d186ff175fdf089
<ide><path>CHANGELOG.md <add><a name="1.4.1"></a> <add># 1.4.1 hyperionic-illumination (2015-06-16) <add> <add> <add>## Bug Fixes <add> <add>- **$compile:** <add> - workaround for IE11 MutationObserver <add> ([f3b1d0b7](https://github.com/angular/angular.js/commit/f3b1d0b723298a5f8ea21d0704405649cce1b5fc), <add> [#...
1
Ruby
Ruby
fix universal builds on 32-bit cpus
7c158e2350fcf0e649e8c0896957dd698eb281cb
<ide><path>Library/Homebrew/extend/ENV.rb <ide> def universal_binary <ide> append_to_cflags '-arch i386 -arch x86_64' <ide> ENV.O3 if self['CFLAGS'].include? '-O4' # O4 seems to cause the build to fail <ide> ENV.append 'LDFLAGS', '-arch i386 -arch x86_64' <add> <add> # Can't mix "-march" for a 32-bit CPU...
2
Javascript
Javascript
remove $$scope ref
1268fc1a44e1359f670a586e6cbc6774736f0a2d
<ide><path>src/Angular.js <ide> function shivForIE(elementName) { <ide> return elementName; <ide> } <ide> <del>var $$scope = '$scope', <del> $boolean = 'boolean', <add>var $boolean = 'boolean', <ide> $console = 'console', <ide> $length = 'length', <ide> $...
2
Ruby
Ruby
move transactionmanager to bottom of class
62c75f4eacf6466a3bd1b22f97cda7ab7b597064
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/transaction.rb <ide> module ActiveRecord <ide> module ConnectionAdapters <del> class TransactionManager #:nodoc: <del> def initialize(connection) <del> @stack = [] <del> @connection = connection <del> end <del> <del> ...
1
Ruby
Ruby
improve reliability of homepage audit
59180ec370560d461d9fa44a3e510e9f1ea68375
<ide><path>Library/Homebrew/dev-cmd/audit.rb <ide> def audit_homepage <ide> end <ide> <ide> return unless @online <del> status_code, = curl_output "--connect-timeout", "15", "--output", "/dev/null", "--range", "0-0", <del> "--write-out", "%{http_code}", homepage <del> return...
1
Java
Java
request streaming for apache httpclient
14ab2c88cc512a92d82db1f8fbb22d53445c6aa2
<ide><path>spring-web/src/main/java/org/springframework/http/StreamingHttpOutputMessage.java <add>/* <add> * Copyright 2002-2013 the original author or authors. <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> ...
8
Javascript
Javascript
replace var with let
f4ea9189501743797d1ab8f5ed07027dd71f59bd
<ide><path>lib/internal/v8_prof_processor.js <ide> const scriptFiles = [ <ide> 'internal/deps/v8/tools/SourceMap', <ide> 'internal/deps/v8/tools/tickprocessor-driver' <ide> ]; <del>var script = ''; <add>let script = ''; <ide> <ide> scriptFiles.forEach((s) => { <ide> script += internalBinding('natives')[s] + '\n'...
1
Java
Java
remove use of @safevarargs (breaking java6 build)
a283deb5b791ddea0f94f55814b026ec9c9c5fcc
<ide><path>rxjava-core/src/main/java/rx/Observable.java <ide> public final static <T> Observable<T> from(Iterable<? extends T> iterable, Sched <ide> * @return an Observable that emits the item <ide> * @see <a href="https://github.com/Netflix/RxJava/wiki/Creating-Observables#from">RxJava Wiki: from()</a> <ide>...
1
Python
Python
fix broken 'binary content' in browseable api
4631b91e144ae758b4417f20b0379ce5b9179ee6
<ide><path>rest_framework/renderers.py <ide> def get_content(self, renderer, data, <ide> renderer_context['indent'] = 4 <ide> content = renderer.render(data, accepted_media_type, renderer_context) <ide> <del> if not isinstance(content, six.text_type): <del> return '[%d bytes of binary...
1
Java
Java
fix javadoc for functionx
b5c7957c485e6a97af64e71674765d8bd3e54e07
<ide><path>src/main/java/io/reactivex/functions/Function3.java <ide> * A functional interface (callback) that computes a value based on multiple input values. <ide> * @param <T1> the first value type <ide> * @param <T2> the second value type <del> * @param <T3> the second value type <add> * @param <T3> the third val...
7
PHP
PHP
improve illuminate\view\view test coverage
9f654456b101e1d57be8e4f307cff1f96d12a2c4
<ide><path>tests/View/ViewTest.php <ide> public function testSectionsAreNotFlushedWhenNotDoneRendering() <ide> $view->getEnvironment()->shouldReceive('flushSectionsIfDoneRendering')->once(); <ide> <ide> $this->assertEquals('contents', $view->render()); <add> $this->assertEquals('contents', (string)$view); <ide> ...
1
PHP
PHP
apply fixes from styleci
4cfbd5716115ec2e6497302badb34f581f8dc4d7
<ide><path>src/Illuminate/Database/Query/Grammars/PostgresGrammar.php <ide> protected function compileLock(Builder $query, $value) <ide> } <ide> <ide> /** <del> * @inheritdoc <add> * {@inheritdoc} <ide> */ <ide> public function compileInsert(Builder $query, array $values) <ide> {
1
Text
Text
expand documentation for --insecure-registries
48f7384d6365c59b4b61d527630aaf88af24f6dd
<ide><path>docs/sources/reference/commandline/cli.md <ide> expect an integer, and they can only be specified once. <ide> -H, --host=[] The socket(s) to bind to in daemon mode or connect to in client mode, specified using one or more tcp://host:port, unix:///path/to/socket, fd://* or f...
1
PHP
PHP
add array cast for method_cache data
638d2ea7b6d8641d1a3b4579060786c545aa2278
<ide><path>lib/Cake/Model/Datasource/DboSource.php <ide> public function cacheMethod($method, $key, $value = null) { <ide> return $value; <ide> } <ide> if (!$this->_methodCacheChange && empty(self::$methodCache)) { <del> self::$methodCache = Cache::read('method_cache', '_cake_core_'); <add> self::$methodCach...
1
Javascript
Javascript
remove deprecated buffer.get/.set methods
101bca988cebce584d5b6098c316a6e7bf89b69d
<ide><path>lib/buffer.js <ide> Buffer.prototype.fill = function fill(val, start, end) { <ide> }; <ide> <ide> <del>// XXX remove in v0.13 <del>Buffer.prototype.get = internalUtil.deprecate(function get(offset) { <del> offset = ~~offset; <del> if (offset < 0 || offset >= this.length) <del> throw new RangeError('In...
1
Python
Python
add docs to google cloud base hook
06208419a361ebc08008c60502aeb997c003bee8
<ide><path>airflow/contrib/hooks/gc_base_hook.py <ide> <ide> from airflow.hooks.base_hook import BaseHook <ide> from airflow.utils import AirflowException <del>from apiclient.discovery import build <ide> from oauth2client.client import SignedJwtAssertionCredentials, GoogleCredentials <ide> <ide> class GoogleCloudBase...
1
Mixed
Ruby
call assume_migrated_upto_version on connection
443f8dd5cdb273327a8b03a97c431de67c15ace6
<ide><path>activerecord/CHANGELOG.md <add>* Fix pending migrations error when loading schema and ActiveRecord::Base.table_name_prefix is not blank. <add> <add> Call assume_migrated_upto_version on connection to prevent it from first being picked up in method_missing. <add> In the base class, Migration, method_m...
3
Ruby
Ruby
retire check for gcc 4.0 under xcode 4.x
fbff2ee8538aac440e913706b3430c5315e3d1d8
<ide><path>Library/Homebrew/cmd/doctor.rb <ide> def check_gcc_versions <ide> EOS <ide> end <ide> <del> if gcc_40 == nil <del> puts <<-EOS.undent <del> We couldn't detect gcc 4.0.x. Some formulae require this compiler. <add> if MacOS.xcode_version < "4.0" <add> if gcc_40 == nil <add> puts <<-EOS...
1
Ruby
Ruby
add an option to silence puma in system tests
eba361824d9eb242f186bb711ef82381ac50ef9e
<ide><path>actionpack/lib/action_dispatch/system_testing/server.rb <ide> module ActionDispatch <ide> module SystemTesting <ide> class Server # :nodoc: <add> class << self <add> attr_accessor :silence_puma <add> end <add> <add> self.silence_puma = false <add> <ide> def run <ide> ...
1
Go
Go
use sysfs to set hairpin mode
2dd9a6fa754745a069c032ddb6de06e75c9d45bc
<ide><path>libnetwork/drivers/bridge/bridge.go <ide> package bridge <ide> import ( <ide> "errors" <ide> "fmt" <add> "io/ioutil" <ide> "net" <ide> "os/exec" <add> "path/filepath" <ide> "strconv" <ide> "sync" <add> "syscall" <ide> <ide> "github.com/Sirupsen/logrus" <ide> "github.com/docker/libnetwork/driverapi" ...
1
Python
Python
use python integer on _count_reduce_items
42dc6537497d563612eab053d9dbf497d210a5a7
<ide><path>numpy/core/_methods.py <ide> def _count_reduce_items(arr, axis, keepdims=False, where=True): <ide> axis = tuple(range(arr.ndim)) <ide> elif not isinstance(axis, tuple): <ide> axis = (axis,) <del> items = nt.intp(1) <add> items = 1 <ide> for ax in axis: <i...
1
Java
Java
resolve nested placeholders via propertyresolver
2ec7834124dfa32d7b90afbb23805433a4567bf5
<ide><path>spring-core/src/main/java/org/springframework/core/env/PropertySourcesPropertyResolver.java <ide> public <T> T getProperty(String key, Class<T> targetValueType) { <ide> Object value; <ide> if ((value = propertySource.getProperty(key)) != null) { <ide> Class<?> valueType = value.getClass(); <add> ...
3
Javascript
Javascript
fix quotes in example code
e6f4f4910629334eb4bd5a44f3852e602e20770a
<ide><path>packages/ember-routing/lib/system/route.js <ide> var Route = EmberObject.extend(ActionHandler, Evented, { <ide> <ide> ```javascript <ide> App.Router.map(function() { <del> this.route("index"); <add> this.route('index'); <ide> }); <ide> <ide> App.ApplicationRoute = Ember.Route.exte...
1
Javascript
Javascript
remove unused argument in test-util-inspect.js
c1a94646e734ff173c4848d81ea4d984263c348e
<ide><path>test/parallel/test-util-inspect.js <ide> assert.strictEqual(util.inspect(Object.create(Date.prototype)), 'Date {}'); <ide> <ide> // Test util.inspect.styles and util.inspect.colors. <ide> { <del> function testColorStyle(style, input, implicit) { <add> function testColorStyle(style, input) { <ide> cons...
1
PHP
PHP
detect lock wait timeout as deadlock
bc0f60b00b8c2c2fba2cc2c48b8a83a0d18f9c0d
<ide><path>src/Illuminate/Database/DetectsDeadlocks.php <ide> protected function causedByDeadlock(Exception $e) <ide> 'database table is locked', <ide> 'A table in the database is locked', <ide> 'has been chosen as the deadlock victim', <add> 'Lock wait timeout exceeded; t...
1
Python
Python
fix the test so it doesn't fail under python 2.5
4b755a8bc089a74907ab0efea70d3d41dd1072f5
<ide><path>libcloud/test/test_utils.py <ide> # See the License for the specific language governing permissions and <ide> # limitations under the License. <ide> <del># Allows unicode literals ('' == unicode) on Python 2, for compatibility with <del># Python 3 <del>from __future__ import unicode_literals <del> <ide> imp...
1
Go
Go
pass platform through into layer store
42c5c1a9ec14f00d5a5367131493cbd6de7d72b0
<ide><path>daemon/commit.go <ide> func (daemon *Daemon) Commit(name string, c *backend.ContainerCommitConfig) (str <ide> }() <ide> <ide> var parent *image.Image <add> os := runtime.GOOS <ide> if container.ImageID == "" { <ide> parent = new(image.Image) <ide> parent.RootFS = image.NewRootFS() <ide> func (daemon ...
18
Python
Python
handle recent tf api changes
5e73db6c00d62ac61cbae9056628a7683122b392
<ide><path>keras/backend/tensorflow_backend.py <ide> def batch_dot(x, y, axes=None): <ide> else: <ide> adj_x = None <ide> adj_y = None <del> out = tf.batch_matmul(x, y, adj_x=adj_x, adj_y=adj_y) <add> try: <add> out = tf.batch_matmul(x, y, adj_a=adj_x, adj_b=adj_y) <add> except TypeE...
4
Text
Text
add code preview for textcat_multilabel [ci skip]
cdc0d669c1715999fa0aaf44e90523ed5368cfa6
<ide><path>website/docs/api/textcategorizer.md <ide> architectures and their arguments and hyperparameters. <ide> %%GITHUB_SPACY/spacy/pipeline/textcat.py <ide> ``` <ide> <add>```python <add>%%GITHUB_SPACY/spacy/pipeline/textcat_multilabel.py <add>``` <add> <ide> ## TextCategorizer.\_\_init\_\_ {#init tag="method"} <i...
1
Text
Text
add davidcai1993 to collaborators
ddcd93aaeb1485b2b7ddd35f8e96dba1cc372cea
<ide><path>README.md <ide> more information about the governance of the Node.js project, see <ide> **Claudio Rodriguez** &lt;cjrodr@yahoo.com&gt; <ide> * [danbev](https://github.com/danbev) - <ide> **Daniel Bevenius** &lt;daniel.bevenius@gmail.com&gt; <add>* [DavidCai1993](https://github.com/DavidCai1993) - <add>**Davi...
1
PHP
PHP
remove depreated useroffset
49474778bd6a200265008d57ff742c977231f314
<ide><path>src/Utility/Time.php <ide> public static function toRSS($dateString, $timezone = null) { <ide> * - `end` => The end of relative time telling <ide> * - `relativeString` => The printf compatible string when outputting relative time <ide> * - `absoluteString` => The printf compatible string when outputting a...
1
Java
Java
delete unused imports and dead code in cglib fork
f732fab8206f83e012fa0f6f6b05089ef3f4d0c8
<ide><path>spring-core/src/main/java/org/springframework/cglib/beans/BulkBean.java <ide> */ <ide> package org.springframework.cglib.beans; <ide> <del>import java.lang.reflect.Constructor; <del>import java.lang.reflect.Method; <del>import java.lang.reflect.Modifier; <ide> import java.security.ProtectionDomain; <del>im...
5
PHP
PHP
improve blowfish docblocks
895fcac0cd2c942f5197027df74fcde949bf6151
<ide><path>lib/Cake/Controller/Component/Auth/BlowfishAuthenticate.php <ide> * }}} <ide> * <ide> * When configuring BlowfishAuthenticate you can pass in settings to which fields, model and additional conditions <del> * are used. See BlowfishAuthenticate::$settings for more information. <add> * are used. See FormAut...
2
Ruby
Ruby
remove reference to ruby 1.8.7
9f42f732a420ba77a5a2193cdc15ebb61ce2dda8
<ide><path>activesupport/lib/active_support/core_ext/array/wrap.rb <ide> class Array <ide> # <ide> # [*object] <ide> # <del> # which for +nil+ returns <tt>[nil]</tt> (Ruby 1.8.7) or <tt>[]</tt> (Ruby <del> # 1.9), and calls to <tt>Array(object)</tt> otherwise. <add> # which for +nil+ returns <tt>[]</tt>, and...
1
PHP
PHP
fix broken error message
d7fefb1f9a1eda6f1134e008de1fb33010e2cb43
<ide><path>lib/Cake/Cache/Cache.php <ide> public static function write($key, $value, $config = 'default') { <ide> "%s cache was unable to write '%s' to %s cache", <ide> $config, <ide> $key, <del> $settings['engine'] <add> get_class($engine) <ide> ), <ide> E_USER_WARNING <ide> );
1
Text
Text
remove version from docs. use latest
93f777821a9f9c0475f8669c165fa3149766c4b3
<ide><path>docs/getting-started/README.md <ide> First, we need to have a canvas in our page. <ide> Now that we have a canvas we can use, we need to include Chart.js in our page. <ide> <ide> ```html <del><script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script> <add><script src="https://cdn.jsdelivr.net/npm/c...
1
Go
Go
remove redundant config & secret integration tests
ef490e0368a5282ddfe50736d841f721e0c480c9
<ide><path>integration-cli/docker_cli_config_create_test.go <del>// +build !windows <del> <del>package main <del> <del>import ( <del> "io/ioutil" <del> "os" <del> "strings" <del> <del> "github.com/docker/docker/integration-cli/checker" <del> "github.com/go-check/check" <del>) <del> <del>func (s *DockerSwarmSuite) TestC...
2
Python
Python
fix sample_weight for binacc
b96f9fdc2d5d0d375809ad9c16608830b01fc59a
<ide><path>keras/metrics/metrics.py <ide> def binary_accuracy(y_true, y_pred, threshold=0.5): <ide> prediction values are 1 or 0. <ide> <ide> Returns: <del> Binary accuracy values. shape = `[batch_size, d0, .. dN-1]` <add> Binary accuracy values. shape = `[batch_size, d0, .. dN]` <ide> """ <ide> y_pr...
1
Go
Go
use global random *rand.rand instance in pkg
51cdcf3c9df04a34945c976cfe2bdbad6fee122a
<ide><path>pkg/namesgenerator/names-generator.go <ide> package namesgenerator <ide> <ide> import ( <ide> "fmt" <del> "math/rand" <ide> <ide> "github.com/docker/docker/pkg/random" <ide> ) <ide> var ( <ide> // Ada Yonath - an Israeli crystallographer, the first woman from the Middle East to win a Nobel prize in the...
2
Ruby
Ruby
add missing require for `ipaddr`
52a692fed072f9834561ecbeccaea1f6df0d1bf1
<ide><path>actionpack/test/dispatch/host_authorization_test.rb <ide> # frozen_string_literal: true <ide> <ide> require "abstract_unit" <add>require "ipaddr" <ide> <ide> class HostAuthorizationTest < ActionDispatch::IntegrationTest <ide> App = -> env { [200, {}, %w(Success)] }
1
Ruby
Ruby
remove unnecessary comment
4650a7916b94adde2fbc2271ad54692573d2d3de
<ide><path>lib/active_job/queue_adapters/resque_adapter.rb <ide> def queue(job, *args) <ide> end <ide> <ide> def queue_at(job, timestamp, *args) <del> # requires resque-scheduler <ide> Resque.enqueue_at timestamp, JobWrapper.new(job), job, *args <ide> end <ide> end
1
Ruby
Ruby
reduce pathname conversions in #include?
6524dfc17b95c2944829f8264300cf60d49f5250
<ide><path>Library/Homebrew/metafiles.rb <ide> def should_list? file <ide> <ide> private <ide> <del> def include? p <del> p = p.to_s # Might be a pathname <del> p = p.downcase <del> path = Pathname.new(p) <del> if @exts.include? path.extname <del> p = path.basename(path.extname) <add> def include...
1
Javascript
Javascript
throw error when pixels don't match
a21030a5024640738b3ba1069110dc73a5d8858a
<ide><path>src/image.js <ide> var PDFImage = (function pdfImage() { <ide> var opacityPos = 0; <ide> var length = width * height * 4; <ide> <add> // Is there a one-to-one correspondence between pixels in the loop below? <add> if (length !== 4*comps.length/3) <add> error('Number of image pix...
1
PHP
PHP
fix illegal offset caused by translatebehavior
beced84d2d96b7580c78c1243255b683a670de29
<ide><path>lib/Cake/Model/BehaviorCollection.php <ide> public function load($behavior, $config = array()) { <ide> $alias = $behavior; <ide> $behavior = $config['className']; <ide> } <add> $configDisabled = isset($config['enabled']) && $config['enabled'] === false; <add> unset($config['enabled'], $config['clas...
2
PHP
PHP
apply fixes from styleci
e045e7df6e407428534a914caa8ae58db53ca5b9
<ide><path>src/Illuminate/Console/Scheduling/CallbackEvent.php <ide> public function run(Container $container) <ide> return; <ide> } <ide> <del> register_shutdown_function(function() { <add> register_shutdown_function(function () { <ide> $this->removeMutex(); <ide> ...
1
Python
Python
check all deprecation messages in airflow.contrib
75790d8cc46b3482203619cd06bebae74e5837f7
<ide><path>airflow/contrib/utils/log/__init__.py <ide> # specific language governing permissions and limitations <ide> # under the License. <ide> """ <del>This module is deprecated. Please use `airflow.utils.log`. <add>This package is deprecated. Please use `airflow.utils.log`. <ide> """ <ide> <ide> import warnings <i...
2
Text
Text
use badges from shields.io
39a6e86e39a141fb6847605f968b129b6f72f7ba
<ide><path>README.md <ide> [![webpack](http://webpack.github.io/assets/logo.png)](http://webpack.github.io) <ide> <del>[![NPM version](https://badge.fury.io/js/webpack.png)](http://badge.fury.io/js/webpack) [![Gitter chat](http://img.shields.io/gitter/webpack/webpack.png)](https://gitter.im/webpack/webpack) [![Gittip ...
1
Text
Text
replace repl.it with replit.com
d8ca6db29e5c67d317522bfa0bce578b47f393bf
<ide><path>curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/exercise-tracker.md <ide> dashedName: exercise-tracker <ide> Build a full stack JavaScript app that is functionally similar to this: <https://exercise-tracker.freecodecamp.rocks/>. Working on this project will involve you...
75
Text
Text
fix atom engine semver in upgrading docs
4361b672148ed73a643031c9131b52198450bc0b
<ide><path>docs/upgrading/upgrading-your-package.md <ide> When you are deprecation free and all done converting, upgrade the `engines` fie <ide> ```json <ide> { <ide> "engines": { <del> "atom": ">=0.174.0, <2.0.0" <add> "atom": ">=0.174.0 <2.0.0" <ide> } <ide> } <ide> ```
1
Ruby
Ruby
use capture instead of yield in link_to_unless
e13e8dcf44fd27332ecd4e5c943d3d09efb58c96
<ide><path>actionpack/lib/action_view/helpers/url_helper.rb <ide> def link_to_unless_current(name, options = {}, html_options = {}, &block) <ide> def link_to_unless(condition, name, options = {}, html_options = {}, &block) <ide> if condition <ide> if block_given? <del> block.arity <= ...
1
Text
Text
add thanks for the react org
5ce1fea75ae39972ea4ee646b5899044fde4aa8d
<ide><path>docs/acknowledgements.md <ide> We'd like to thank all of our contributors: <ide> {% endfor %} <ide> </div> <ide> <del>In addition, we're grateful to [Jeff Barczewski](https://github.com/jeffbski) for allowing us to use the [react](https://www.npmjs.com/package/react) package name on npm and to [Christophe...
1
Javascript
Javascript
run eslint --fix
a093cfa158c741b8b86f4a4ec017a715650e9dbf
<ide><path>test/configCases/plugins/define-plugin/webpack.config.js <ide> module.exports = { <ide> "typeof suppe": "typeof wurst", <ide> wurst: "suppe", <ide> suppe: "wurst", <del> RUNTIMEVALUE_CALLBACK_ARGUMENT_IS_A_MODULE: DefinePlugin.runtimeValue(function(currentModule) { <del> return typeof currentMo...
1
Javascript
Javascript
use batchinator in windowedlistview
6fb149596aafbbe096e268427636305a185981ea
<ide><path>Libraries/Experimental/WindowedListView.js <ide> */ <ide> 'use strict'; <ide> <add>const Batchinator = require('Batchinator'); <ide> const IncrementalGroup = require('IncrementalGroup'); <ide> const React = require('React'); <ide> const ScrollView = require('ScrollView'); <ide> type Props = { <ide> */ <...
1
Python
Python
use min version for huggingface-hub dependency
7390d9de63903f786d99f3fa38c6e2aa6f650f7e
<ide><path>setup.py <ide> "flax>=0.3.4", <ide> "fugashi>=1.0", <ide> "GitPython<3.1.19", <del> "huggingface-hub==0.0.12", <add> "huggingface-hub>=0.0.12", <ide> "importlib_metadata", <ide> "ipadic>=1.0.0,<2.0", <ide> "isort>=5.5.4", <ide><path>src/transformers/dependency_versions_table.py ...
2
Java
Java
fix issue with new line handling in stompdecoder
3c0c0c0597e19b66d6cfebbf93b42f1c1fb2b4e5
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompDecoder.java <ide> /* <del> * Copyright 2002-2019 the original author or authors. <add> * Copyright 2002-2020 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> *...
2
Text
Text
fix example code in active job guide [ci skip]
ec1c608b5d16b4ebe81169fb64d5dce56dc3a096
<ide><path>guides/source/active_job_basics.md <ide> Here's what a job looks like: <ide> class GuestsCleanupJob < ActiveJob::Base <ide> queue_as :default <ide> <del> def perform <add> def perform(*args) <ide> # Do something later <ide> end <ide> end
1
Text
Text
add target in challeges link
ec761dbdfadbd9d501ab792875d32138236f712c
<ide><path>curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md <ide> You can nest links within other text elements. <ide> <ide> ```html <ide> <p> <del> Here's a <a target="_blank" href="http://freecodecamp.org"> link to freecodecamp.org</a> for you ...
1
Text
Text
add link to docker.com in readme.md
f63ec3d87467419a94f827939a1eaefa03b2f181
<ide><path>README.md <ide> Moby is NOT recommended for: <ide> <ide> - Application developers looking for an easy way to run their applications in containers. We recommend Docker CE instead. <ide> - Enterprise IT and development teams looking for a ready-to-use, commercially supported container platform. We recommend D...
1
Javascript
Javascript
refactor the line drawing code. tests are broken
05523b01b0207fd6d6ce00a45d8c6f773df4137d
<ide><path>src/elements/element.line.js <ide> <ide> <ide> Chart.elements.Line = Chart.Element.extend({ <del> draw: function() { <del> <del> var vm = this._view; <add> lineToNextPoint: function(previousPoint, point, nextPoint) { <ide> var ctx = this._chart.ctx; <del> var first = this._children[0]; <del> va...
1
PHP
PHP
simplify the code in the string class
f886d874a639410efbea6fec81e78e1bdc9b069c
<ide><path>lib/Cake/Utility/String.php <ide> public static function uuid() { <ide> } elseif ($node !== '127.0.0.1') { <ide> $node = ip2long($node); <ide> } else { <del> $node = null; <del> } <del> <del> if (empty($node)) { <ide> $node = crc32(Configure::read('Security.salt')); <ide> } <ide> <ide> publi...
1
Ruby
Ruby
add tap? method
4c0fd46329a3180d079f34377584ccd5568b99aa
<ide><path>Library/Homebrew/formula.rb <ide> def self.factory name <ide> Formulary.factory name <ide> end <ide> <add> def tap? <add> !!path.realpath.to_s.match(HOMEBREW_TAP_DIR_REGEX) <add> end <add> <ide> def tap <ide> if path.realpath.to_s =~ HOMEBREW_TAP_DIR_REGEX <ide> "#$1/#$2"
1
Ruby
Ruby
run actionview tests in parallel
df4ab6e1037361a5cddff33ac725a27595f19438
<ide><path>actionview/test/abstract_unit.rb <ide> def stderr_logger <ide> end <ide> <ide> class ActiveSupport::TestCase <add> parallelize <add> <ide> include ActiveSupport::Testing::MethodCallAssertions <ide> <ide> private <ide><path>actionview/test/active_record_unit.rb <ide> def setup <ide> self.able_to_...
2
PHP
PHP
add assertresponsesuccess() to also cover 3xx
10e23f44f819a793b3d6d35930757ff8055d6613
<ide><path>src/TestSuite/IntegrationTestCase.php <ide> public function assertResponseOk() <ide> $this->_assertStatus(200, 204, 'Status code is not between 200 and 204'); <ide> } <ide> <add> /** <add> * Asserts that the response status code is in the 2xx/3xx range. <add> * <add> * @return voi...
2
Ruby
Ruby
construct joins by walking the outer join tree
7894ae39c8313d83d64d5a058470ec1ef4ed22e1
<ide><path>activerecord/lib/active_record/associations/join_dependency.rb <ide> def apply_tables!(node) <ide> end <ide> <ide> def join_constraints(outer_joins) <del> outer_joins.each { |oj| merge_outer_joins! oj } <del> make_joins join_root <add> if outer_joins.any? <add> oj =...
1
Go
Go
add meminfo to the system pkg
e0c9d7b654221a0d4e5a310b0f9a0adb9ef69aa0
<ide><path>pkg/system/meminfo.go <add>package system <add> <add>// MemInfo contains memory statistics of the host system. <add>type MemInfo struct { <add> // Total usable RAM (i.e. physical RAM minus a few reserved bits and the <add> // kernel binary code). <add> MemTotal int64 <add> <add> // Amount of free memory. <ad...
4
Text
Text
improve the changelog entry
2c3362829f10a1c1d38dd14fc04d66f40de13a43
<ide><path>activerecord/CHANGELOG.md <ide> ## Rails 4.0.0 (unreleased) ## <ide> <del>* Fix a problem wrong exception is occured <del> when raising no translatable exception in PostgreSQL. <add>* Fix bug that raises the wrong exception when the exception handled by PostgreSQL adapter <add> doesn't respond to...
1
Ruby
Ruby
add passthrough method and tests
e88f6b9da9fab7dde364a8049b023b736b6ef002
<ide><path>Library/Homebrew/cli/args.rb <ide> def option_to_name(option) <ide> end <ide> <ide> def cli_args <del> return @cli_args unless @cli_args.nil? <add> return @cli_args if @cli_args <ide> <ide> @cli_args = [] <ide> processed_options.each do |short, long| <ide> ...
4
Javascript
Javascript
add some semicolons for linting.
8aed0cd67ec7c52a689bd729ad4ec9ee4a80b45b
<ide><path>src/isomorphic/classic/types/checkReactTypeSpec.js <ide> if ( <ide> // https://github.com/facebook/react/issues/7240 <ide> // Remove the inline requires when we don't need them anymore: <ide> // https://github.com/facebook/react/pull/7178 <del> ReactComponentTreeHook = require('ReactComponentTreeHook'...
3
Javascript
Javascript
fix ie9 canplaytype error. fixes #519
db97df69dcac407b011b04c1552c06a7d3bf4390
<ide><path>src/js/media/html5.js <ide> vjs.Html5.prototype.defaultMuted = function(){ return this.el_.defaultMuted; }; <ide> /* HTML5 Support Testing ---------------------------------------------------- */ <ide> <ide> vjs.Html5.isSupported = function(){ <del> return !!document.createElement('video').canPlayType; <add...
1
Go
Go
update systemd to match fs backend
5b094530c09bca403819c06635c2f7fbaf98b937
<ide><path>daemon/execdriver/native/configuration/parse.go <ide> var actions = map[string]Action{ <ide> "cgroups.memory_swap": memorySwap, // set the memory swap limit <ide> "cgroups.cpuset.cpus": cpusetCpus, // set the cpus used <ide> <add> "systemd.slice": systemdSlice, // set parent Sl...
4
Text
Text
add a readme.md with usage instructions
4433f7a6a15015cce40233b9d657bca22265e31c
<ide><path>script/update-server/README.md <add># Atom Update Test Server <add> <add>This folder contains a simple implementation of Atom's update server to be used for testing the update process with local builds. <add> <add>## How to use it <add> <add>1. Since you probably want to try upgrading an installed Atom relea...
1
PHP
PHP
add a dockblock
ac64ea3cd7a74c3f417c11942eb55cc37e4a1fc7
<ide><path>src/Console/CommandFactory.php <ide> <ide> use InvalidArgumentException; <ide> <add>/** <add> * This is a factory for creating Command and Shell instances. <add> * <add> * This factory can be replaced or extended if you need to customize building <add> * your command and shell objects. <add> */ <ide> class...
1
Mixed
Text
allow access to nested secrets by method calls
94d1d52c0307fdd2aeb8f62652a8a5f4a9ab99cc
<ide><path>activesupport/CHANGELOG.md <add>* Allow nested access to keys on `Rails.application.credentials` <add> <add> Previously only top level keys in `credentials.yml.enc` could be accessed with method calls. Now any key can. <add> <add> For example, given these secrets: <add> <add> ```yml <add> aws: ...
4
Python
Python
add rokenizer test for zero length string
0ae05f77ab568c155bc3ddc704f5c115ca7fc18b
<ide><path>tests/test_tokenizer.py <ide> def EN(): <ide> return English().tokenizer <ide> <add>def test_no_word(EN): <add> tokens = EN(u'') <add> assert len(tokens) == 0 <add> <ide> def test_single_word(EN): <ide> tokens = EN(u'hello') <ide> assert tokens[0].orth_ == 'hello'
1
Ruby
Ruby
add keg_only_style tests
bf491e5102f52847ba93aad0dc0f2976f86395d6
<ide><path>Library/Homebrew/test/dev-cmd/audit_spec.rb <ide> def caveats <ide> .to eq(["Don't recommend setuid in the caveats, suggest sudo instead."]) <ide> end <ide> <add> describe "#audit_keg_only_style" do <add> specify "keg_only_needs_downcasing" do <add> fa = formula_auditor "foo", <<-EOS.undent...
1
Python
Python
extract code present in both branches
0eb34b8f19b8585c53ebcdb6ed4d4d66aad7fa9b
<ide><path>numpy/core/numerictypes.py <ide> def _set_up_aliases(): <ide> ('clongfloat', 'clongdouble'), <ide> ('longcomplex', 'clongdouble'), <ide> ('bool_', 'bool'), <add> ('bytes_', 'string'), <add> ('string_', 'string'), <ide> ...
1
Python
Python
remove the docker timeout workaround
3154935138748a8ac89aa4c8fde848e31610941b
<ide><path>airflow/providers/docker/operators/docker_swarm.py <ide> """Run ephemeral Docker Swarm services""" <ide> from typing import List, Optional, Union <ide> <del>import requests <ide> from docker import types <ide> <ide> from airflow.exceptions import AirflowException <ide> def _stream_logs_to_output(self) -> N...
3
Ruby
Ruby
restore the entry#bytesize comments removed in
93e53886539fc837091bebe1a9071b93b2274635
<ide><path>activesupport/lib/active_support/cache.rb <ide> def expires_at=(value) <ide> end <ide> end <ide> <del> def bytesize # :nodoc: <add> # Returns the size of the cached value. This could be less than <add> # <tt>value.bytesize</tt> if the data is compressed. <add> def bytesize ...
1
Ruby
Ruby
use array maths rather than *args
e1beb7d2878cb55a045731b4a4c0c7a6046b3c09
<ide><path>activerecord/lib/active_record/associations/association_collection.rb <ide> def load_target <ide> if i <ide> @target.delete_at(i).tap do |t| <ide> keys = ["id"] + t.changes.keys + (f.attribute_names - t.attribute_names) <del> ...
1
Javascript
Javascript
add protection against directory traversal attacks
64cb8c6b982956da9cc41d0d61bbc4f98ab28ac1
<ide><path>test/webserver.js <ide> WebServer.prototype = { <ide> _handler: function (req, res) { <ide> var url = req.url.replace(/\/\//g, '/'); <ide> var urlParts = /([^?]*)((?:\?(.*))?)/.exec(url); <del> var pathPart = decodeURI(urlParts[1]), queryPart = urlParts[3]; <add> // guard against directory tr...
1
Java
Java
update javadoc of asynchandlerinterceptor
18039785aeacc3ca76c70014b11fb30923a54941
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/AsyncHandlerInterceptor.java <ide> /* <del> * Copyright 2002-2012 the original author or authors. <add> * Copyright 2002-2015 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * ...
2
Python
Python
update pavement.py and setup.py for numpy 1.13.0
b33a5ee781bb4a775e5ccef1fdf88b61339becba
<ide><path>pavement.py <ide> #----------------------------------- <ide> <ide> # Source of the release notes <del>RELEASE_NOTES = 'doc/release/1.12.0-notes.rst' <add>RELEASE_NOTES = 'doc/release/1.13.0-notes.rst' <ide> <ide> # Start/end of the log (from git) <del>LOG_START = 'maintenance/1.11.x' <add>LOG_START = 'main...
2
Text
Text
add documentation for `docker stack ps`
970ab9a224658e17894a7673189ad9d2491a592d
<ide><path>docs/reference/commandline/stack_config.md <ide> Displays the configuration of a stack. <ide> * [stack deploy](stack_deploy.md) <ide> * [stack rm](stack_rm.md) <ide> * [stack services](stack_services.md) <del>* [stack tasks](stack_tasks.md) <add>* [stack ps](stack_ps.md) <ide> * [stack ls](stack_ls.md) <ide>...
6
Java
Java
fix checks for already set padding
9724eaeb42da451305a057969fe4c6a24ea5fb36
<ide><path>ReactAndroid/src/main/java/com/facebook/react/flat/FlatARTSurfaceViewShadowNode.java <ide> public void resetPaddingChanged() { <ide> <ide> @Override <ide> public void setPadding(int spacingType, float padding) { <del> if (getPadding(spacingType) != padding) { <add> if (getStylePadding(spacingType)...
4
Go
Go
fix docker daemon restart with paused container
9a9724ad5616dc1a29efabe8082bde043c1a2bc9
<ide><path>daemon/daemon.go <ide> import ( <ide> "github.com/docker/docker/pkg/ioutils" <ide> "github.com/docker/docker/pkg/namesgenerator" <ide> "github.com/docker/docker/pkg/nat" <add> "github.com/docker/docker/pkg/signal" <ide> "github.com/docker/docker/pkg/stringid" <ide> "github.com/docker/docker/pkg/sysinfo"...
2
Javascript
Javascript
add etc1 compressed texture support
0dd332ed4bfe289361a37db7177aa7a1d24567ee
<ide><path>examples/js/loaders/DDSLoader.js <ide> THREE.DDSLoader.parse = function ( buffer, loadMipmaps ) { <ide> var FOURCC_DXT1 = fourCCToInt32( "DXT1" ); <ide> var FOURCC_DXT3 = fourCCToInt32( "DXT3" ); <ide> var FOURCC_DXT5 = fourCCToInt32( "DXT5" ); <add> var FOURCC_ETC1 = fourCCToInt32( "ETC1" ); <ide> <ide>...
5
Javascript
Javascript
remove duplicate line
0f95a93a2c1928c4524521c52cc4c88d48612fe4
<ide><path>lib/tls.js <ide> Server.prototype.setOptions = function(options) { <ide> if (options.secureProtocol) this.secureProtocol = options.secureProtocol; <ide> if (options.crl) this.crl = options.crl; <ide> if (options.ciphers) this.ciphers = options.ciphers; <del> if (options.secureProtocol) this.secureProt...
1
Javascript
Javascript
fix double fullscreenchange event
1c0fa32b3a866b17ae51fca6b67d81c37e0a1973
<ide><path>src/js/fullscreen-api.js <ide> const apiMap = [ <ide> <ide> const specApi = apiMap[0]; <ide> let browserApi; <del>let prefixedAPI = true; <add>let prefixedAPI = false; <ide> <ide> // determine the supported set of functions <ide> for (let i = 0; i < apiMap.length; i++) { <ide> if (browserApi) { <ide> F...
2
PHP
PHP
fix token bug in eloquent auth driver
6ba37d42d8a1ce757fd65af253b52e9ddd52a451
<ide><path>laravel/auth/drivers/eloquent.php <ide> public function retrieve($token) <ide> { <ide> return $this->model()->find($token); <ide> } <del> else if (get_class($token) == Config::get('auth.model')) <add> else if (is_object($token) and get_class($token) == Config::get('auth.model')) <ide> { <ide> r...
1
Python
Python
update ec2 constants
2dcf4340084539bcac598fb0991baccb33709c74
<ide><path>libcloud/compute/constants.py <ide> "name": "f1.2xlarge", <ide> "ram": 124928 <ide> }, <add> "f1.4xlarge": { <add> "bandwidth": 10, <add> "disk": 940, <add> "extra": { <add> "currentGeneration": "Yes", <add> "ecu": "52", <add> "inst...
1
Ruby
Ruby
remove ancient tests for cgi parsing bug
63b4fe53abec586e122cde629adde5000a517f9c
<ide><path>actionpack/test/controller/request/url_encoded_params_parsing_test.rb <ide> def teardown <ide> assert_parses expected, query <ide> end <ide> <del> test "parses params with non alphanumeric name" do <del> query = "a/b[c]=d" <del> expected = { "a/b" => { "c" => "d" }} <del> assert_parses ...
1
Javascript
Javascript
update $route to reflect $location changes
22cb600280cecabf719ba1878719c907aa01ba18
<ide><path>src/service/route.js <ide> * @property {Array.<Object>} routes Array of all configured routes. <ide> * <ide> * @description <del> * Watches `$location.hashPath` and tries to map the hash to an existing route <add> * Watches `$location.url()` and tries to map the path to an existing route <ide> * definiti...
6
PHP
PHP
fix incorrect pluralization of human
ac6d5cc70f2932de5eee17638ac7cd6c264ca9b0
<ide><path>lib/Cake/Test/Case/Utility/InflectorTest.php <ide> public function testInflectingSingulars() { <ide> * @return void <ide> */ <ide> public function testInflectingPlurals() { <add> $this->assertEquals(Inflector::pluralize('axman'), 'axmen'); <add> $this->assertEquals(Inflector::pluralize('man'), 'men'); <...
2
Javascript
Javascript
ignore dst for day, week, month and year diffs
5cf3e300465d2a465cba1902372aebd2f4649768
<ide><path>moment.js <ide> units = normalizeUnits(units); <ide> <ide> if (units === 'year' || units === 'month') { <add> // average number of days in the months in the given dates <ide> diff = (this.daysInMonth() + that.daysInMonth()) * 432e5; // 24 * 60 * 60 * 10...
2