content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Javascript
Javascript
fix uiexplorer header
25f78020e1443518887c91ed5d77e3fc911c4609
<ide><path>Examples/UIExplorer/UIExplorerApp.ios.js <ide> class UIExplorerApp extends React.Component { <ide> _renderNavigation: Function; <ide> _renderOverlay: Function; <ide> _renderScene: Function; <add> _renderCard: Function; <ide> componentWillMount() { <ide> this._renderNavigation = this._renderNavig...
1
Javascript
Javascript
move query parameter cofiguration into the route
0738330bc1575b2515bdee1c9721e49b93c57cf5
<ide><path>packages/ember-routing-views/lib/views/link.js <ide> var LinkComponent = EmberComponent.extend({ <ide> return false; <ide> } <ide> <del> get(this, '_routing').transitionTo(get(this, 'targetRouteName'), get(this, 'models'), get(this, 'queryParams.values'), get(this, 'attrs.replace')); <add> v...
10
Java
Java
use pathpatternparser in function.server
febed19bf477321c4546f6c2c251eba73605727d
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/function/server/DefaultHandlerStrategiesBuilder.java <ide> public void applicationContext(ApplicationContext applicationContext) { <ide> applicationContext.getBeansOfType(HttpMessageReader.class).values().forEach(this::messageReader); <ide> ap...
3
Python
Python
use notimplementederror instead
7899015eee1a3b717e04ec3dc0e68cbff843b7b4
<ide><path>libcloud/storage/drivers/scaleway.py <ide> # See the License for the specific language governing permissions and <ide> # limitations under the License. <ide> <del>from libcloud.common.types import LibcloudError <ide> from libcloud.storage.drivers.s3 import S3SignatureV4Connection <ide> from libcloud.storage...
2
Javascript
Javascript
move nonambient generation to build script
c5de35c01751631e12557a73593433aab3f4420a
<ide><path>Gruntfile.js <ide> module.exports = function(grunt) { <ide> }); <ide> }); <ide> <add> grunt.registerTask('typedefs', function () { <add> var fileContents = fs.readFileSync('type-definitions/Immutable.d.ts', 'utf8'); <add> var nonAmbientSource = fileContents <add> .replace( <add> /de...
2
Python
Python
fix ticket 1679
67ed62e086f8979fa2c49e60ba5c89a3e8feae41
<ide><path>numpy/f2py/crackfortran.py <ide> def appenddecl(decl,decl2,force=1): <ide> return decl <ide> <ide> selectpattern=re.compile(r'\s*(?P<this>(@\(@.*?@\)@|[*][\d*]+|[*]\s*@\(@.*?@\)@|))(?P<after>.*)\Z',re.I) <del>nameargspattern=re.compile(r'\s*(?P<name>\b[\w$]+\b)\s*(@\(@\s*(?P<args>[\w\s,]*)\s*@\)@|)\s*(r...
1
Javascript
Javascript
convert `src/display/metadata.js` to es6 syntax
bc9afdf3c4d799c9d5ddd21351d74a2c990fcc0d
<ide><path>src/display/metadata.js <ide> * limitations under the License. <ide> */ <ide> <del>function fixMetadata(meta) { <del> return meta.replace(/>\\376\\377([^<]+)/g, function(all, codes) { <del> var bytes = codes.replace(/\\([0-3])([0-7])([0-7])/g, <del> function(code, d1, d2, ...
1
Javascript
Javascript
add 2nd argument to throws in test-assert
262400fd618b7a2ac90357c7c5fb253cb08f23ae
<ide><path>test/parallel/test-assert.js <ide> assert.throws(makeBlock(a.deepEqual, /a/igm, /a/im), <ide> /^AssertionError: \/a\/gim deepEqual \/a\/im$/); <ide> <ide> { <del> const re1 = /a/; <add> const re1 = /a/g; <ide> re1.lastIndex = 3; <del> assert.throws(makeBlock(a.deepEqual, re1, /a/)); <add>...
1
Javascript
Javascript
add parameters to text-decoder benchmark
86a5b71dc98bcd2e2eff59a9cdd64243b467136d
<ide><path>benchmark/util/text-decoder.js <ide> const bench = common.createBenchmark(main, { <ide> encoding: ['utf-8', 'latin1', 'iso-8859-3'], <ide> ignoreBOM: [0, 1], <ide> len: [256, 1024 * 16, 1024 * 512], <del> n: [1e6] <add> n: [1e2], <add> type: ['SharedArrayBuffer', 'ArrayBuffer', 'Buffer'] <ide> }); <...
1
Text
Text
make minor edits to pull request text
1efa8fe1aaf3c7bd827a70ffa414bc9e615e4ade
<ide><path>doc/guides/contributing/pull-requests.md <ide> repository includes changes to one or more of the following: <ide> * the documentation in `doc/api` <ide> * tests within the `test` directory. <ide> <del>If you are modifying code, please be sure to run `make lint` from time to <del>time to ensure that the chan...
1
Javascript
Javascript
fix an incorrect test setup
37249e4375dde042d573f1a18aabe188aa2de1fa
<ide><path>test/controller.line.tests.js <ide> describe('Line controller tests', function() { <ide> chartArea: { <ide> bottom: 200, <ide> left: xScale.left, <del> right: 200, <add> right: xScale.left + 200, <ide> top: 0 <ide> }, <ide> data: data,
1
Python
Python
add tests for oauth2 authentication
468b5e43e2582513c4ae862efa4511ea8313031e
<ide><path>rest_framework/tests/authentication.py <ide> from __future__ import unicode_literals <add>from django.core.urlresolvers import reverse <ide> from django.contrib.auth.models import User <ide> from django.http import HttpResponse <ide> from django.test import Client, TestCase <ide> from rest_framework import H...
1
Text
Text
modify javascript example in readme
ebe51482b57b55bdf55990517ec55feb12fbcc23
<ide><path>test/README.md <ide> Please follow the approach described bellow: <ide> * write your test code in `statsCases/` folder by creating a separate folder for it, for example `statsCases/some-file-import-stats/index.js` <ide> <ide> ```javascript <del>import(./someModule); <add>import("./someModule"); <ide> ``` <i...
1
Javascript
Javascript
remove typos in code example
42290bd66c38ce78122b66789eb3c898cd532dc8
<ide><path>lib/ember.js <ide> Ember.Array = Ember.Mixin.create(Ember.Enumerable, /** @scope Ember.Array.protot <ide> arr.indexOf("a", -1); // 4 <ide> arr.indexOf("b", 3); // -1 <ide> arr.indexOf("a", 100); // -1 <del> ```javascript <add> ``` <ide> <ide> @method indexOf <ide> @param {Ob...
4
Python
Python
use subprocess, not execv
e1f3bdf72c2f1ecb3e1da66902b3a1da998306f5
<ide><path>runtests.py <ide> def main(argv): <ide> if args.shell: <ide> shell = os.environ.get('SHELL', 'sh') <ide> print("Spawning a Unix shell...") <del> os.execv(shell, [shell] + extra_argv) <del> sys.exit(1) <add> subprocess.call([shell] + extra_argv) <add> sys.exit(0...
1
Javascript
Javascript
fix preview bug in case of long lines
2986068c5a168dc314b696d2cad4155675f741e5
<ide><path>lib/internal/repl/utils.js <ide> function setupPreview(repl, contextSymbol, bufferSymbol, active) { <ide> return; <ide> } <ide> <add> // Do not show previews in case the current line is longer than the column <add> // width. <add> // TODO(BridgeAR): Fix me. This should not be necessary. I...
1
Python
Python
save some changes
bbcfd6bae069aa8d59dbbd0be2fcb271084f3b13
<ide><path>research/object_detection/core/box_predictor.py <ide> def _predict(self, image_features, num_predictions_per_location, **params): <ide> pass <ide> <ide> <del>class KerasBoxPredictor(tf.keras.Model): <add>class KerasBoxPredictor(tf.keras.layers.Layer): <ide> """Keras-based BoxPredictor.""" <ide> <ide...
10
Ruby
Ruby
build fix for sharedgeneratortests
1206e88a7535d29487b416121c31b23762a12abd
<ide><path>railties/test/generators/shared_generator_tests.rb <ide> def test_dev_option <ide> generator([destination_root], :dev => true).expects(:bundle_command).with('install').once <ide> quietly { generator.invoke_all } <ide> rails_path = File.expand_path('../../..', Rails.root) <del> assert_file 'Gem...
1
Javascript
Javascript
make createclass 10-15% faster on complex specs
50c81d5fe68096fec9e4c5ff6c6cee73cd07704e
<ide><path>src/isomorphic/classic/class/ReactClass.js <ide> function validateTypeDef(Constructor, typeDef, location) { <ide> } <ide> } <ide> <del>function validateMethodOverride(proto, name) { <add>function validateMethodOverride(isAlreadyDefined, name) { <ide> var specPolicy = ReactClassInterface.hasOwnProperty(n...
1
Python
Python
improve model tester
f69eb24b5a88f057a70f6ca95e9374e4ed599959
<ide><path>tests/models/albert/test_modeling_albert.py <ide> class AlbertModelTester: <ide> def __init__( <ide> self, <ide> parent, <add> batch_size=13, <add> seq_length=7, <add> is_training=True, <add> use_input_mask=True, <add> use_token_type_ids=True, <add> ...
16
Javascript
Javascript
remove dead code
9f4d99f4eaa53ea4b186a2954b23ce4c86643947
<ide><path>src/ng/compile.js <ide> function $CompileProvider($provide) { <ide> } <ide> }; <ide> <del> var urlSanitizationNode = $document[0].createElement('a'), <del> startSymbol = $interpolate.startSymbol(), <add> var startSymbol = $interpolate.startSymbol(), <ide> endSymbol = $interpol...
1
Javascript
Javascript
give error message if `write()` cb called twice
d111d7b91c16ec420f231da4f6877a9b446de6d8
<ide><path>lib/_stream_writable.js <ide> const { getHighWaterMark } = require('internal/streams/state'); <ide> const { <ide> ERR_INVALID_ARG_TYPE, <ide> ERR_METHOD_NOT_IMPLEMENTED, <add> ERR_MULTIPLE_CALLBACK, <ide> ERR_STREAM_CANNOT_PIPE, <ide> ERR_STREAM_DESTROYED, <ide> ERR_STREAM_NULL_VALUES, <ide> funct...
2
PHP
PHP
apply fixes from styleci
334d5a618e7b76ef5c5d90151a05af22e0e32057
<ide><path>src/Illuminate/Http/Request.php <ide> public function userAgent() <ide> public function merge(array $input) <ide> { <ide> $this->getInputSource()->add($input); <del> <add> <ide> return $this; <ide> } <ide> <ide> public function merge(array $input) <ide> public functio...
1
PHP
PHP
remove duplicate test
8e51f90ac428d47821dfb7d1b1ed6b2b86541acc
<ide><path>tests/TestCase/I18n/TimeTest.php <ide> public function testTimeAgoInWordsWithFormat() <ide> $result = $time->timeAgoInWords(['format' => 'yyyy-MM-dd']); <ide> $this->assertEquals('on 2007-09-25', $result); <ide> <del> $time = new Time('2007-9-25'); <del> $result = $time->timeAg...
1
PHP
PHP
use old date format for monolog formatter instance
aa30f39716cdbad3b3200ea507d346fb570fb1ab
<ide><path>src/Illuminate/Log/LogManager.php <ide> class LogManager implements LoggerInterface <ide> */ <ide> protected $customCreators = []; <ide> <add> /** <add> * The date format for Monolog formatter instance. <add> * <add> * @var string <add> */ <add> protected $dateFormat = "Y-m-d ...
1
PHP
PHP
add ability to define model factories statically
fccfc6ec39d1740e26ba77354a68e14453820a10
<ide><path>config/bootstrap.php <ide> * @license http://www.opensource.org/licenses/mit-license.php MIT License <ide> */ <ide> <add>use Cake\Datasource\FactoryLocator; <ide> use Cake\Routing\Router; <ide> <ide> define('TIME_START', microtime(true)); <ide><path>src/Datasource/FactoryLocator.php <add><?php <add...
5
Text
Text
add note about websocket attach streams
d4a0a422da27493aab8f4e49c22aa9fe2f95e1b0
<ide><path>docs/api/version-history.md <ide> keywords: "API, Docker, rcli, REST, documentation" <ide> * The `Volume` type, as returned by `Added new `ClusterVolume` fields <ide> * Added a new `PUT /volumes{name}` endpoint to update cluster volumes (CNI). <ide> Cluster volumes are only supported if the daemon is a Sw...
1
Javascript
Javascript
remove unused code
e522c25fd4927e32d1d304d8ac4f77f4b03ab77c
<ide><path>docs/app/assets/js/angular-bootstrap/bootstrap-prettify.js <del>'use strict'; <del> <del>var directive = {}; <del>var service = { value: {} }; <del> <del>var DEPENDENCIES = { <del> 'angular.js': 'http://code.angularjs.org/' + angular.version.full + '/angular.min.js', <del> 'angular-resource.js': 'http://co...
7
Ruby
Ruby
fold dirlist helper into check_m4
28f89c59a2b39738df5a6fc85711be9af250fb53
<ide><path>Library/Homebrew/formula_installer.rb <ide> def paths <ide> @paths ||= ENV['PATH'].split(':').map{ |p| File.expand_path p } <ide> end <ide> <del> def in_aclocal_dirlist? <del> File.open("/usr/share/aclocal/dirlist") do |dirlist| <del> dirlist.grep(%r{^#{HOMEBREW_PREFIX}/share/aclocal$}).lengt...
1
Go
Go
fix bug in bridge driver
dd8570000504c1893fe0c14262624f585e0418b4
<ide><path>libnetwork/drivers/bridge/bridge.go <ide> func (d *driver) DeleteNetwork(nid string) error { <ide> <ide> // We only delete the bridge when it's not the default bridge. This is keep the backward compatible behavior. <ide> if !config.DefaultBridge { <del> err = netlink.LinkDel(n.bridge.Link) <add> if err ...
1
Go
Go
fix content-type for pushimagejsonindex
d93023daa9db2b6d38f7eefc8611e8226d75bbaf
<ide><path>registry/registry.go <ide> func (r *Registry) PushImageJSONIndex(indexEp, remote string, imgList []*ImgData <ide> if err != nil { <ide> return nil, err <ide> } <add> req.Header.Add("Content-type", "application/json") <ide> req.SetBasicAuth(r.authConfig.Username, r.authConfig.Password) <ide> req.Content...
1
Text
Text
restore proper ordering of docs in the sidebar
71c812ae0e4ba7fb33dc3a797e9fd9749e0482ba
<ide><path>docs/ComponentsAndAPIs.md <ide> title: Components and APIs <ide> layout: docs <ide> category: Guides <ide> permalink: docs/components-and-apis.html <del>next: handling-touches <add>next: platform-specific-code <ide> previous: more-resources <ide> --- <ide> <ide><path>docs/MoreResources.md <ide> title: More ...
3
Go
Go
add unit tests for the running state check
8c36e6920a9e17171dc67a79ab20d39886404e73
<ide><path>runtime_test.go <ide> func TestRestore(t *testing.T) { <ide> t.Fatal(err) <ide> } <ide> defer runtime1.Destroy(container1) <del> if len(runtime1.List()) != 1 { <del> t.Errorf("Expected 1 container, %v found", len(runtime1.List())) <add> <add> // Create a second container meant to be killed <add> contain...
1
Javascript
Javascript
add marker segment (plt, plm) and refactor tlm
3d01c345a1e43d96cc62256bc47edb75a55d6e16
<ide><path>src/core/jpx.js <ide> var JpxImage = (function JpxImageClosure() { <ide> context.QCC = []; <ide> context.COC = []; <ide> break; <del> case 0xFF55: // Tile-part lengths, main header (TLM) <del> var Ltlm = readUint16(data, position); // Marker s...
1
Ruby
Ruby
set verbose if --verbose
6c6e82a721f04f3aa4af66130d3e5d80ddb342c8
<ide><path>Library/Homebrew/superenv.rb <ide> def setup_build_environment <ide> ENV['CMAKE_FRAMEWORK_PATH'] = "#{MacOS.sdk_path}/System/Library/Frameworks" if MacSystem.xcode43_without_clt? <ide> ENV['CMAKE_INCLUDE_PATH'] = determine_cmake_include_path <ide> ENV['ACLOCAL_PATH'] = determine_aclocal_path <add...
1
Text
Text
add missing header in changelog [ci skip]
20d07ad548a72de1546eeb03635eb074bb0cfbc5
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### 2.11.0-beta.4 (December 14, 2016) <add> <ide> - [#14685](https://github.com/emberjs/ember.js/pull/14685) [BUGFIX] Fix `this.$()` returning `undefined` in `willDestroyElement`. <ide> - [#14717](https://github.com/emberjs/ember.js/pull/14717) [BUGFIX] Fix an...
1
Python
Python
check all output dimensions for compatibility
6b04add93209f557e265bbd04ab34d5491d463f0
<ide><path>keras/engine/training.py <ide> def check_array_lengths(X, Y, W): <ide> <ide> <ide> def check_loss_and_target_compatibility(targets, losses, output_shapes): <del> assert len(targets) == len(losses) == len(output_shapes) <ide> key_losses = {'mean_square_error', <ide> 'binary_crossent...
2
Text
Text
fix documentation of 'path' in tokenizer.to_disk
aa50aca519a793120401cbeb7f8f7b882da78038
<ide><path>website/docs/api/tokenizer.md <ide> the <ide> > tokenizer = nlp.Defaults.create_tokenizer(nlp) <ide> > ``` <ide> <del>| Name | Type | Description | <add>| Name | T...
1
Java
Java
fix scrollview bounce back bug in open source
36ca1a078acbaba770c196847254e7a6e80c6918
<ide><path>ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java <ide> <ide> import javax.annotation.Nullable; <ide> <add>import java.lang.reflect.Field; <add> <ide> import android.content.Context; <ide> import android.graphics.Canvas; <ide> import android.graphics.Color; <ide> import androi...
1
Javascript
Javascript
remove trailing comma
be6bf4cb16d9a79b2f9a6f78430b4af054e49f91
<ide><path>lang/is.js <ide> M : translate, <ide> MM : translate, <ide> y : translate, <del> yy : translate, <add> yy : translate <ide> }, <ide> ordinal : function (number) { <ide> return '.';
1
Javascript
Javascript
fix typo in test/parallel/test-icu-punycode.js
a1faa8d8521886c6a444ed2c6ba8cd735448bb8c
<ide><path>test/parallel/test-icu-punycode.js <ide> const assert = require('assert'); <ide> <ide> // Test hasConverter method <ide> assert(icu.hasConverter('utf-8'), <del> 'hasConverter should report coverter exists for utf-8'); <add> 'hasConverter should report converter exists for utf-8'); <ide> assert(!...
1
Javascript
Javascript
fix few early returns in parser.js
d2303493fe1a2376d5484c195609a2bef79e14ad
<ide><path>src/parser.js <ide> var Parser = (function parserParser() { <ide> return new PredictorStream(new FlateStream(stream), params); <ide> } <ide> return new FlateStream(stream); <del> } else if (name == 'LZWDecode' || name == 'LZW') { <add> } <add> if (name == 'LZWDecode' ...
1
Text
Text
add the guide contribution instructions
ce0c9ae9f945228877a41ab25cea04a3c6df1fc6
<ide><path>CONTRIBUTING.md <ide> If you would like work on these, follow along these guidelines: <ide> <ide> **[TODO]** <ide> <add>### [How to work on Curriculum Challenges.](/docs/how-to-work-on-curriculum-challenges.md) <add> <ide> #### Translate guide articles and curriculum challenges <ide> <ide> You can help us...
2
Python
Python
fix code style
66b2c6149ed0121b1064fe42615aaa8d75aa5d8b
<ide><path>tests/test_model_serializer.py <ide> class Meta: <ide> assert not serializer.is_valid() <ide> assert serializer.errors == {'name': ['unique choice model with this name already exists.']} <ide> <add> <ide> class TestFieldSource(TestCase): <del> <ide> def test_named_field_source(self):...
1
Javascript
Javascript
expose missing angular public methods
dbf8afcba0cfc0e341e3ebd2dadeba627c083f0a
<ide><path>src/AngularPublic.js <ide> angularService('$browser', function($log){ <ide> extend(angular, { <ide> // disabled for now until we agree on public name <ide> //'annotate': annotate, <del> 'element': jqLite, <ide> 'compile': compile, <ide> 'scope': createScope, <ide> 'copy': copy, <ide> extend(angula...
1
PHP
PHP
make note if route cache file exists
2101129d386268813b2ab70abb045a5f5551879f
<ide><path>src/Illuminate/Foundation/Console/RouteCacheCommand.php <ide> public function fire() <ide> return $this->error("Your application doesn't have any routes."); <ide> } <ide> <add> if ($this->laravel->routesAreCached()) <add> { <add> return $this->error("Route cache file already exists!"); <add> } <ad...
1
Python
Python
fix ja morph values
a3b7519aba438df736a269e44adeaef1d165d7ee
<ide><path>spacy/lang/ja/__init__.py <ide> import srsly <ide> from collections import namedtuple <ide> from thinc.api import Model <add>import re <ide> <ide> from .stop_words import STOP_WORDS <ide> from .syntax_iterators import SYNTAX_ITERATORS <ide> def __call__(self, text: str) -> Doc: <ide> # if there'...
2
Ruby
Ruby
fix directory leaks in formula prefix tests
f25f6fbb3981b64022b07e453a1583aa6915185a
<ide><path>Library/Homebrew/test/test_formula.rb <ide> def test_installed_prefix_head_installed <ide> prefix.mkpath <ide> assert_equal prefix, f.installed_prefix <ide> ensure <del> prefix.rmtree <add> f.rack.rmtree <ide> end <ide> <ide> def test_installed_prefix_devel_installed <ide> def test_insta...
1
Text
Text
add slack, forum links and remove google group
1dc96f358ec05eecd1dcd68686665b3ea1b578fc
<ide><path>README.md <ide> tests for CakePHP by doing the following: <ide> <ide> ## Get Support! <ide> <add>[Slack](http://cakesf.herokuapp.com/) - Join us on Slack. <add> <ide> [#cakephp](http://webchat.freenode.net/?channels=#cakephp) on irc.freenode.net - Come chat with us, we have cake. <ide> <del>[Google Group]...
1
PHP
PHP
add methods to support editor links
de37d43b8ee99e1d703e5c4a910c4cc57eb20357
<ide><path>src/Error/Debugger.php <ide> use Cake\Utility\Hash; <ide> use Cake\Utility\Security; <ide> use Cake\Utility\Text; <add>use Closure; <ide> use Exception; <ide> use InvalidArgumentException; <ide> use ReflectionObject; <ide> class Debugger <ide> protected $_defaultConfig = [ <ide> 'outputMask' => [...
2
Ruby
Ruby
use slice to avoid range allocation
9a4adb4b05dafa9d61ec88acdd089b79585ce10e
<ide><path>actionpack/lib/abstract_controller/rendering.rb <ide> def view_assigns <ide> variables = instance_variables <ide> variables -= protected_instance_variables <ide> variables -= DEFAULT_PROTECTED_INSTANCE_VARIABLES <del> variables.each { |name| hash[name[1..-1]] = instance_variable_get(n...
1
PHP
PHP
fix handling of `html` and `htm` extensions
54be88929a2eb328f4bb583955fa7fc93f345fe3
<ide><path>src/Controller/Component/RequestHandlerComponent.php <ide> public function beforeRender(Event $event) <ide> $response = $controller->getResponse(); <ide> $request = $controller->getRequest(); <ide> <del> $isRecognized = ( <del> !in_array($this->ext, ['html', 'htm']) && <del...
2
PHP
PHP
add failing test for
76aab0a6356f2f6be3cff496391670b01802afe1
<ide><path>lib/Cake/Test/Case/Cache/Engine/FileEngineTest.php <ide> public function testClearWithPrefixes() { <ide> $FileTwo->clear(false); <ide> } <ide> <add>/** <add> * Test that clear() also removes files with group tags. <add> * <add> * @return void <add> */ <add> public function testClearWithGroups() { <add> ...
1
Text
Text
fix typo in changelog
21567e538a408717468ce755bb1b054ecda1fb61
<ide><path>CHANGELOG-5.7.md <ide> - Fix `be` method in `InteractsWithAuthentication` trait ([#25873](https://github.com/laravel/framework/pull/25873)) <ide> - Fixes the error when $resource is null ([#25838](https://github.com/laravel/framework/pull/25838)) <ide> - Attach all disk attachments and not only first one in ...
1
Javascript
Javascript
fix most lint issues
8f3c3e39723dbcf58787f16af4c2b2c5125a650c
<ide><path>client/commonFramework.js <ide> var editor = (function(CodeMirror, emmetCodeMirror, common) { <ide> <ide> var tests = tests || []; <ide> <del>var libraryIncludes = "<script src='//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>" + <del> "<script src='/js/lib/chai/chai.js'></script>" ...
3
Text
Text
remove active record reference
9624081cbab605b9f41224b8f2503b074d59a40a
<ide><path>README.md <ide> [![Total Downloads](https://img.shields.io/packagist/dt/cakephp/cakephp.svg?style=flat-square)](https://packagist.org/packages/cakephp/cakephp) <ide> <ide> [CakePHP](http://www.cakephp.org) is a rapid development framework for PHP which <del>uses commonly known design patterns like Active Re...
1
Javascript
Javascript
checkpoint new test framework using vows
0e9589d1f246b85d85746810fdbe0ea34203bb43
<ide><path>test/core/select-test.js <add>require("../env"); <add>require("../../d3"); <add> <add>var vows = require("vows"), <add> assert = require("assert"); <add> <add>var suite = vows.describe("d3.select"); <add> <add>suite.addBatch({ <add> "style": { <add> topic: function() { <add> return d3.select("bod...
4
Javascript
Javascript
clear the translusion point before transcluding
eed299a31b5a6dd0363133c5f9271bf33d090c94
<ide><path>src/ng/directive/ngTransclude.js <ide> * @name ng.directive:ngTransclude <ide> * <ide> * @description <del> * Insert the transcluded DOM here. <add> * Directive that marks the insertion point for the transcluded DOM of the nearest parent directive that uses transclusion. <add> * <add> * Any existing conte...
2
Ruby
Ruby
add documentation for system tests
b44320254167152383b1fa8792cb17847a51fb49
<ide><path>actionpack/lib/system_test_case.rb <ide> require 'system_testing/driver_adapter' <ide> <ide> module Rails <add> # System tests are similar to Integration tests in that they incorporate multiple <add> # controllers and actions, but can be used to similate a real user experience. <add> # System tests are a...
9
Python
Python
improve nparray.ctypes example
b4f97068e60e9be62b3461bac4e0383a6c3ee216
<ide><path>numpy/core/_add_newdocs.py <ide> Examples <ide> -------- <ide> >>> import ctypes <add> >>> x = np.array([[0, 1], [2, 3]], dtype=np.int32) <ide> >>> x <ide> array([[0, 1], <del> [2, 3]]) <add> [2, 3]], dtype=int32) <ide> >>> x.ctypes.data <del> 30439712 <del> ...
1
Go
Go
update the testbuild with new format
15ea5a479a78d1011cda9bd55fd442d810234eb6
<ide><path>builder_test.go <ide> import ( <ide> <ide> const Dockerfile = ` <ide> # VERSION 0.1 <del># DOCKER-VERSION 0.1.6 <add># DOCKER-VERSION 0.2 <ide> <del>from docker-ut <del>run sh -c 'echo root:testpass > /tmp/passwd' <del>run mkdir -p /var/run/sshd <del>copy https://raw.github.com/dotcloud/docker/master/CHAN...
1
Javascript
Javascript
make proptypes define_many_merged
4fe784de1f0d59b8a234fe4595ed9ac1bb8ba59f
<ide><path>src/core/ReactCompositeComponent.js <ide> var ReactCompositeComponentInterface = { <ide> * @type {object} <ide> * @optional <ide> */ <del> propTypes: SpecPolicy.DEFINE_ONCE, <add> propTypes: SpecPolicy.DEFINE_MANY_MERGED, <ide> <ide> <ide>
1
Javascript
Javascript
use arrow function for callback in stream test
ac43427ba70740265923488899ad2d175d40ec41
<ide><path>test/sequential/test-stream-writable-clear-buffer.js <ide> const testStream = new StreamWritable(); <ide> testStream.cork(); <ide> <ide> for (let i = 1; i <= 5; i++) { <del> testStream.write(i, function() { <add> testStream.write(i, () => { <ide> assert.strictEqual( <ide> testStream._writableSta...
1
Go
Go
add gotestyourself to vendor
0a7ff351b76f369b1cb1bc741e54b0d9018e7410
<ide><path>vendor/github.com/gotestyourself/gotestyourself/icmd/command.go <add>/*Package icmd executes binaries and provides convenient assertions for testing the results. <add> */ <add>package icmd <add> <add>import ( <add> "bytes" <add> "fmt" <add> "io" <add> "os/exec" <add> "path/filepath" <add> "runtime" <add> "st...
3
Javascript
Javascript
hide children of offscreen after destroy effects
99eef9e2df7b6aade461a1a958eb3838239e72c4
<ide><path>packages/react-reconciler/src/ReactFiberCommitWork.new.js <ide> import { <ide> enableUpdaterTracking, <ide> enableCache, <ide> enableTransitionTracing, <add> enableFlipOffscreenUnhideOrder, <ide> } from 'shared/ReactFeatureFlags'; <ide> import { <ide> FunctionComponent, <ide> function commitMutation...
12
Javascript
Javascript
move function declaration to top-level
0b0b72c2fab5bdf32f5476e47a1e7f2da9db2064
<ide><path>lib/readline.js <ide> Interface.prototype._tabComplete = function() { <ide> return a.length > b.length ? a : b; <ide> }).length + 2; // 2 space padding <ide> var maxColumns = Math.floor(self.columns / width) || 1; <del> <del> function handleGroup(group) { <del> if (...
1
PHP
PHP
fix formrequest tests
f322d52ce9b41b6b543a49ad0196a7599e1c2f28
<add><path>tests/Foundation/FoundationFormRequestTest.php <del><path>tests/Foundation/FoundationFormRequestTestCase.php <ide> use Mockery as m; <ide> use Illuminate\Container\Container; <ide> <del>class FoundationFormRequestTestCase extends PHPUnit_Framework_TestCase <add>class FoundationFormRequestTest extends PHPUni...
1
Java
Java
fix typo in package-info.java
e3137f11dfc90743a13202ff1b4e12871761636f
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/package-info.java <ide> /** <del> * Generic support for SImple Messaging Protocols including protocols such as STOMP. <add> * Generic support for Simple Messaging Protocols including protocols such as STOMP. <ide> */ <ide> @NonNullApi <ide> @...
1
Javascript
Javascript
convert keyboardavoidingview to use export default
7f3f8680205d24b4c1001b54355af29596f169cf
<ide><path>Libraries/Components/Keyboard/KeyboardAvoidingView.js <ide> class KeyboardAvoidingView extends React.Component<Props, State> { <ide> } <ide> } <ide> <del>module.exports = KeyboardAvoidingView; <add>export default KeyboardAvoidingView; <ide><path>index.js <ide> module.exports = { <ide> return require('...
2
Python
Python
add a list of all api dicts which define the c api
726fb0abae756d03d023e80d35e2c237fe4160af
<ide><path>numpy/core/code_generators/numpy_api.py <ide> 'PyUFunc_FromFuncAndDataAndSignature': 31, <ide> 'PyUFunc_SetUsesArraysAsData': 32, <ide> } <add> <add># List of all the dicts which define the C API <add>full_api = ( <add> multiarray_global_vars, <add> multiarray_global_v...
1
Javascript
Javascript
simplify the `pdfdocument` constructor
6a78f20b17b39be0b17aea9eeb11498b82ff9b88
<ide><path>src/core/document.js <ide> import { <ide> FormatError, <ide> info, <ide> InvalidPDFException, <del> isArrayBuffer, <ide> isArrayEqual, <ide> OPS, <ide> PageActionEventType, <ide> import { <ide> } from "./core_utils.js"; <ide> import { Dict, isName, Name, Ref } from "./primitives.js"; <ide> impor...
1
Javascript
Javascript
add additional field for art reconciler
61349eb5a6cd23f49b330500aba17077f134d354
<ide><path>src/core/ReactComponent.js <ide> var ReactComponent = { <ide> // We keep the old element and a reference to the pending element <ide> // to track updates. <ide> this._currentElement = element; <add> // These two fields are used by the DOM and ART diffing algorithms <add> // respec...
1
Javascript
Javascript
fix missing movetos in svg paths
52e8e9b059e682dfecfa762957d3ffcccacbeddb
<ide><path>src/display/svg.js <ide> SVGGraphics = (function SVGGraphicsClosure() { <ide> constructPath: function SVGGraphics_constructPath(ops, args) { <ide> var current = this.current; <ide> var x = current.x, y = current.y; <del> current.path = this.svgFactory.createElement('svg:path'); <ide> ...
1
Javascript
Javascript
add support for common object methods to proxies
5411be10a02e09189a3db9feadd277ce9e014003
<ide><path>src/helpers/helpers.config.js <ide> export function _createResolver(scopes, prefixes = ['']) { <ide> override: (scope) => _createResolver([scope].concat(scopes), prefixes), <ide> }; <ide> return new Proxy(cache, { <add> /** <add> * A trap for getting property values. <add> */ <ide> get...
2
PHP
PHP
remove "mobile" detector
f6072396b4764b3b4c4a671b7efbda200489a977
<ide><path>src/Network/Request.php <ide> class Request implements \ArrayAccess { <ide> 'ssl' => array('env' => 'HTTPS', 'value' => 1), <ide> 'ajax' => array('env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest'), <ide> 'flash' => array('env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/')...
2
Python
Python
prepare 2.1.5 release
2fae46169239287796d44523deb5e2ac38712ba3
<ide><path>keras/__init__.py <ide> from .models import Model <ide> from .models import Sequential <ide> <del>__version__ = '2.1.4' <add>__version__ = '2.1.5' <ide><path>setup.py <ide> <ide> <ide> setup(name='Keras', <del> version='2.1.4', <add> version='2.1.5', <ide> description='Deep Learning for hu...
2
Text
Text
simplify code examples for dynamic api routes
a289d3805724099862ca477c4d4719d8e5078c4d
<ide><path>docs/api-routes/dynamic-api-routes.md <ide> For example, the API route `pages/api/post/[pid].js` has the following code: <ide> <ide> ```js <ide> export default function handler(req, res) { <del> const { <del> query: { pid }, <del> } = req <del> <add> const { pid } = req.query <ide> res.end(`Post: ${...
1
Ruby
Ruby
add tests for dependencies
cfc423e1839442f605072db14aac42f6f5fa6174
<ide><path>Library/Homebrew/rubocops/lines_cop.rb <ide> def audit_formula(_node, _class_node, _parent_class_node, body_node) <ide> problem "Use ENV instead of invoking '#{match[1]}' to modify the environment" <ide> end <ide> <del> # find_every_method_call_by_name(body_node, :depends_on)....
2
Python
Python
fix gzipfile wrapper to be <= 2.5 compatible
8fa2591fee88937b81c39a6c529fa66975f88856
<ide><path>numpy/lib/npyio.py <ide> def tell(self): <ide> f = GzipFile(f) <ide> elif isinstance(f, gzip.GzipFile): <ide> # cast to our GzipFile if its already a gzip.GzipFile <del> g = GzipFile(fileobj=f.fileobj) <del> g.name = f.name <del> g.mode = f.mode <ide> <del> f ...
1
Text
Text
update challengetype 10 to hidden
cdabd9073691d949d6d35076a92e306a07399a96
<ide><path>curriculum/challenges/english/07-scientific-computing-with-python/scientific-computing-with-python-projects/arithmetic-formatter.english.md <ide> id: 5e44412c903586ffb414c94c <ide> title: Arithmetic Formatter <ide> challengeType: 10 <add>isHidden: true <ide> isRequired: true <ide> --- <ide> <ide> We are sti...
17
Javascript
Javascript
remove unused {@installmodule} tags
cc1f7539d414038212b83dca86cf04f71731f24b
<ide><path>src/ngAnimate/animate.js <ide> * <ide> * The `ngAnimate` module provides support for JavaScript, CSS3 transition and CSS3 keyframe animation hooks within existing core and custom directives. <ide> * <del> * {@installModule animate} <ide> * <ide> * <div doc-module-components="ngAnimate"></div> <ide> * <...
7
Python
Python
add reconcile_metadata to reconcile_pods
3c374a42c0d123fc3af9559e15515fd6a4e8430c
<ide><path>airflow/kubernetes/pod_generator.py <ide> def reconcile_pods(base_pod: k8s.V1Pod, client_pod: Optional[k8s.V1Pod]) -> k8s. <ide> <ide> client_pod_cp = copy.deepcopy(client_pod) <ide> client_pod_cp.spec = PodGenerator.reconcile_specs(base_pod.spec, client_pod_cp.spec) <del> <del> clien...
2
Go
Go
move authconfig to registry types
818ee962196d668b6d405835c88c1ac6cdab7423
<ide><path>api/types/auth.go <ide> package types // import "github.com/docker/docker/api/types" <add>import "github.com/docker/docker/api/types/registry" <ide> <del>// AuthConfig contains authorization information for connecting to a Registry <del>type AuthConfig struct { <del> Username string `json:"username,omitempt...
4
Ruby
Ruby
add `formatter` module
75e8b59aad4814112a53119f68ed629d60b3f97b
<ide><path>Library/Homebrew/brew.rb <ide> def require?(path) <ide> Utils::Analytics.report_exception(e) <ide> onoe e <ide> if internal_cmd && defined?(OS::ISSUES_URL) <del> $stderr.puts "Please report this bug:" <del> $stderr.puts " #{Tty.underline}#{OS::ISSUES_URL}#{Tty.reset}" <add> $stderr.puts "#{...
18
Python
Python
update tokenizer exceptions for spanish
d60380418e78a76065305af21cba5f95fb32504a
<ide><path>spacy/es/tokenizer_exceptions.py <ide> <ide> TOKENIZER_EXCEPTIONS = { <ide> "accidentarse": [ <del> {ORTH: "accidentar", LEMMA: "accidentar", POS: AUX}, <del> {ORTH: "se", LEMMA: PRON_LEMMA, POS: PRON} <add> {ORTH: "accidentar", LEMMA: "accidentar", TAG: AUX}, <add> {ORTH: "s...
1
Java
Java
update javadoc of logformatutils
c5de5c99390a69f23e7682b7748c273b01a63907
<ide><path>spring-core/src/main/java/org/springframework/core/log/LogFormatUtils.java <ide> public abstract class LogFormatUtils { <ide> <ide> /** <del> * Variant of {@link #formatValue(Object, int, boolean)} and a convenience <del> * method that truncates at 100 characters when {@code limitLength} is set. <add> *...
1
Text
Text
update upgrade guide for https proxy setting
962f9ab7129f38024f73a75e2869feaa6eb2d260
<ide><path>UPGRADE_GUIDE.md <ide> # Upgrade Guide <ide> <add>### 0.18.x -> 0.19.0 <add> <add>#### HTTPS Proxies <add> <add>Routing through an https proxy now requires setting the `protocol` attribute of the proxy configuration to `https` <add> <ide> ### 0.15.x -> 0.16.0 <ide> <ide> #### `Promise` Type Declarations
1
Go
Go
tell the user not to run from osx
fe445a2447e701cc91ef77d7bcb0978a5d373940
<ide><path>docker/docker.go <ide> func main() { <ide> } <ide> <ide> if *flDaemon { <add> if runtime.GOOS != "linux" { <add> log.Fatalf("The Docker daemon is only supported on linux") <add> } <ide> if os.Geteuid() != 0 { <ide> log.Fatalf("The Docker daemon needs to be run as root") <ide> }
1
Python
Python
allow callables as the argument to runpython
fe9f342d8ceae96a03295e56ec743ed2e2e5fb51
<ide><path>django/db/migrations/operations/special.py <ide> import re <ide> import textwrap <ide> from .base import Operation <add>from django.utils import six <ide> <ide> <ide> class SeparateDatabaseAndState(Operation): <ide> class RunPython(Operation): <ide> reversible = False <ide> <ide> def __init__(self...
2
Ruby
Ruby
reimplement strategy and improve tests
5b770e99651c15e9835356a9a3d59a6ffcd91584
<ide><path>Library/Homebrew/livecheck/strategy/cpan.rb <ide> # typed: false <ide> # frozen_string_literal: true <ide> <del>require "uri" <del> <ide> module Homebrew <ide> module Livecheck <ide> module Strategy <ide> # The {Cpan} strategy identifies versions of software at <ide> # cpan.metacpan.org by...
2
Javascript
Javascript
reduce delay on gulp
20475ffcc45b0bf69d731828e652437745384146
<ide><path>gulpfile.js <ide> var gulp = require('gulp'), <ide> sync = require('browser-sync'), <ide> reload = sync.reload, <ide> inject = require('gulp-inject'), <del> reloadDelay = 7000; <add> reloadDelay = 3000; <ide> <ide> var paths = { <ide> server: './app.js',
1
Javascript
Javascript
fix randomint bias
4db9854d6e6f1adb9f7240d937e6d1aaeddd1e3d
<ide><path>lib/internal/crypto/random.js <ide> function randomInt(min, max, callback) { <ide> `<= ${RAND_MAX}`, range); <ide> } <ide> <del> const excess = RAND_MAX % range; <del> const randLimit = RAND_MAX - excess; <add> // For (x % range) to produce an unbiased value greater than ...
1
PHP
PHP
fix failing tests on apishell
b825a52459e59b384c62b44e1c0f7f694554c699
<ide><path>lib/Cake/Console/Command/ApiShell.php <ide> <?php <ide> /** <del> * API shell to get CakePHP core method signatures. <del> * <del> * Implementation of a Cake Shell to show CakePHP core method signatures. <del> * <del> * PHP 5 <del> * <ide> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <id...
2
Text
Text
change links to gitter channel
663d559fb49682ce002a924ad0b1c116cad1a333
<ide><path>README.md <ide> Our campers (students) start by working through our free, self-paced, browser-ba <ide> <ide> 80% of our campers are over 25, and nearly a fifth of our campers are women. <ide> <del>This code is running live at [FreeCodeCamp.com](http://www.FreeCodeCamp.com). We also have [Slack](http://free...
1
Javascript
Javascript
preserve reference fragment in chromium url router
a1671fa512f01b8dbb1fb90d65772f34b4360b6e
<ide><path>extensions/chromium/extension-router.js <ide> limitations under the License. <ide> var url = parseExtensionURL(details.url); <ide> if (url) { <ide> url = VIEWER_URL + '?file=' + url; <add> var i = details.url.indexOf('#'); <add> if (i > 0) { <add> url += details.url.slice(i); <...
1
Javascript
Javascript
remove information for ie7
f2f9843ea8dea803a7c48b1ed22a6be929e87f35
<ide><path>src/ng/directive/ngCloak.js <ide> * document; alternatively, the css rule above must be included in the external stylesheet of the <ide> * application. <ide> * <del> * Legacy browsers, like IE7, do not provide attribute selector support (added in CSS 2.1) so they <del> * cannot match the `[ng\:cloak]` sel...
1
Text
Text
fix portal link
706d2f4f9c52a27a2a1a8e423caf388cefec732c
<ide><path>docs/docs/portals.md <ide> Portals provide a first-class way to render children into a DOM node that exists <ide> ReactDOM.createPortal(child, container) <ide> ``` <ide> <del>The first argument (`child`) is any [renderable React child](/docs/react-component.html#render), such as an element, string, or fragm...
1
PHP
PHP
add missing property to controller
98ff98e2b3d535f2f9fe70f8778a092a19463442
<ide><path>src/Controller/Controller.php <ide> class Controller implements EventListener { <ide> */ <ide> public $viewClass = 'Cake\View\View'; <ide> <add>/** <add> * The path to this controllers view templates. <add> * Example `Articles` <add> * <add> * Set automatically using conventions in Controller::__construct...
1
Javascript
Javascript
expand test coverage for url.js
cad2a2f9f7da59c89112ab9e12efafeed5606ad6
<ide><path>test/parallel/test-url.js <ide> var parseTests = { <ide> path: '/Y' <ide> }, <ide> <add> // whitespace in the front <add> ' http://www.example.com/': { <add> href: 'http://www.example.com/', <add> protocol: 'http:', <add> slashes: true, <add> host: 'www.example.com', <add> hostname: '...
1
Text
Text
sync the initial docs from b2d
23dd221e5250398d4120a1f3d1bcb591923f4892
<ide><path>docs/sources/installation/mac.md <ide> $ ./boot2docker <ide> Usage: ./boot2docker [<options>] {help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|delete|download|version} [<args>] <ide> ``` <ide> <add>## Container port redirection <add> <add>The latest version of `boot2docker` sets up two...
2