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
pass composer instance into failedtablecommand
d545979398ea73135254ee238e5e6d689b77bfb6
<ide><path>src/Illuminate/Queue/ConsoleServiceProvider.php <ide> public function register() <ide> <ide> $this->app->singleton('command.queue.failed-table', function($app) <ide> { <del> return new FailedTableCommand($app['files']); <add> return new FailedTableCommand($app['files'], $app['composer']); <ide> })...
1
Text
Text
add 1.10.0 to changelog
10397828ed488475afeb0d38f0d33a68760c70fa
<ide><path>CHANGELOG.md <ide> - [#10350](https://github.com/emberjs/ember.js/pull/10350) Make meta.cache & meta.cacheMeta lazy [@ebryn](https://github.com/ebryn) <ide> - [#10353](https://github.com/emberjs/ember.js/pull/10353) Avoid creating context bindings for collection views [@mmun](https://github.com/mmun) <ide> ...
1
Javascript
Javascript
add support for dumping current react hierarchy
f13322c8204735e8353dbd1a3b66fab5f1d65c5a
<ide><path>Libraries/AppRegistry/AppRegistry.js <ide> var AppRegistry = { <ide> console.log(msg); <ide> BugReporting.init(); <ide> BugReporting.addSource('AppRegistry.runApplication' + runCount++, () => msg); <add> BugReporting.addFileSource('react_hierarchy.txt', () => require('dumpReactTree')()); <ide>...
3
Text
Text
move changelog entry for to railties [ci-skip]
c267be43d36d3b443b797a5555deadd29857ac58
<ide><path>activesupport/CHANGELOG.md <ide> <ide> *Jean Boussier* <ide> <del>* Add `Rails.application.message_verifiers` as a central point to configure <del> and create message verifiers for an application. <del> <del> This allows applications to, for example, rotate old `secret_key_base` <del> values...
2
Javascript
Javascript
fix merge with symbol font fix (part 2)
31d8d13ba294f2e16ca984aedd932a23748b33f5
<ide><path>src/fonts.js <ide> var Font = (function FontClosure() { <ide> // Moving all symbolic font glyphs into 0xF000 - 0xF0FF range. <ide> if (this.isSymbolicFont) { <ide> for (var i = 0, ii = glyphs.length; i < ii; i++) { <del> var cid = i + 1; <del> var code = glyphs...
1
Text
Text
add faq to reduce noise in issues
dbdc4b761b51c59c90e05fe2fb8977d2182ba992
<ide><path>.github/ISSUE_TEMPLATE.md <ide> Bug Reports: <ide> Provide a *minimal* test case, see https://webkit.org/test-case-reduction/ <ide> Use the latest shipping version of jQuery in your test case! <ide> We prefer test cases on http://jsbin.com or http://jsfiddle.net <add> <add>Frequently Reported Issues: <...
1
Javascript
Javascript
bring clock example up-to-date
cdaf99e66330002fabdbebe12144281997e3f6d3
<ide><path>examples/clock/clock.js <ide> // Based on http://vis.stanford.edu/protovis/ex/clock.html <ide> // Based on http://blog.pixelbreaker.com/polarclock <ide> <del>var w = 960, <del> h = 700, <del> r = Math.min(w, h) / 1.8, <del> s = .09, <add>var width = 960, <add> height = 700, <add> radius = Mat...
1
Python
Python
add early stopping
ccbe381dcdf2d43b2d88d33ba3dcf4680fe116a8
<ide><path>keras/callbacks.py <ide> def __init__(self, filepath, verbose=0, save_best_only=False): <ide> self.best_val_loss = np.Inf <ide> <ide> def on_epoch_end(self, epoch, logs={}): <del> '''currently, on_epoch_end receives epoch_logs from keras.models.Sequential.fit <del> which does only ...
2
Go
Go
remove timeoutconn package
4d8ce0ef4a1ebf992906056f46b3f664b0bd30a4
<ide><path>pkg/timeoutconn/timeoutconn.go <del>// Package timeoutconn provides overridden net.Conn that supports deadline (timeout). <del>package timeoutconn <del> <del>import ( <del> "net" <del> "time" <del>) <del> <del>// New creates a net.Conn with a timeout for every Read operation. <del>func New(netConn net.Conn, ...
2
Javascript
Javascript
reset updaterange.count to -1 after updatebuffer
a40b7d287bca89bef9f8cb331e041471765bde2e
<ide><path>src/renderers/webgl/WebGLAttributes.js <ide> function WebGLAttributes( gl ) { <ide> gl.bufferSubData( bufferType, updateRange.offset * array.BYTES_PER_ELEMENT, <ide> array.subarray( updateRange.offset, updateRange.offset + updateRange.count ) ); <ide> <del> updateRange.count = 0; // reset range <ad...
1
Text
Text
fix typos in rails 5.0 release notes [ci skip]
e477cad2754d4c6d08b61c67951fe6db5d3b2298
<ide><path>guides/source/5_0_release_notes.md <ide> Highlights in Rails 5.0: <ide> <ide> * Action Cable <ide> * Rails API <del>* Active Rcord Attributes API <add>* Active Record Attributes API <ide> * Test Runner <ide> * Exclusive use of `rails` CLI over Rake <ide> * Sprockets 3 <ide> Please refer to the [Changelog][r...
1
Javascript
Javascript
update documentation for permissionsandroid
9c2a5cdbc309c0b00d62c52ba1bc0835451af327
<ide><path>Libraries/PermissionsAndroid/PermissionsAndroid.js <ide> type PermissionStatus = 'granted' | 'denied' | 'never_ask_again'; <ide> * <ide> * ### Example <ide> * ``` <add> * import { PermissionsAndroid } from 'react-native'; <add> * <ide> * async function requestCameraPermission() { <ide> * try { <ide> ...
1
Javascript
Javascript
convert the sidebar to es6 syntax
26ad82f5c2dcc866f85fedf0563f65998c8a6391
<ide><path>web/pdf_sidebar.js <ide> import { mozL10n } from './ui_utils'; <ide> import { RenderingStates } from './pdf_rendering_queue'; <ide> <del>var UI_NOTIFICATION_CLASS = 'pdfSidebarNotification'; <add>const UI_NOTIFICATION_CLASS = 'pdfSidebarNotification'; <ide> <del>var SidebarView = { <add>const SidebarView =...
1
Javascript
Javascript
ensure app doesn't crash when module is absent
22475ed38d181754d64a69f3d2143fa7d4b22a35
<ide><path>Libraries/ReactNative/I18nManager.js <ide> <ide> import NativeI18nManager from './NativeI18nManager'; <ide> <add>const i18nConstants = NativeI18nManager <add> ? NativeI18nManager.getConstants() <add> : { <add> isRTL: false, <add> doLeftAndRightSwapInRTL: true, <add> }; <add> <ide> module.exp...
2
Ruby
Ruby
extract common logic into a method
7293cac8548fb8083f718922d8d3ca9b3a18767f
<ide><path>activerecord/lib/active_record/attribute_methods.rb <ide> def instance_method_already_implemented?(method_name) <ide> raise DangerousAttributeError, "#{method_name} is defined by ActiveRecord" <ide> end <ide> <del> if superclass == Base <add> if active_record_super == Base <i...
7
PHP
PHP
adjust code doc
451f08565d7d491328fe3fa7be7e142f5c81ebd3
<ide><path>src/Illuminate/Testing/Fluent/Concerns/Matching.php <ide> public function whereAllType(array $bindings): self <ide> } <ide> <ide> /** <del> * Asserts that all values exist and match their expected values. <add> * Asserts that the property matches their expected values. <ide> * <ide> ...
1
Ruby
Ruby
add ast helper functions for editing formulae
aaf7bc2bc5533f2ab177374193ad260f97b79985
<ide><path>Library/Homebrew/test/utils/ast_spec.rb <add># typed: false <add># frozen_string_literal: true <add> <add>require "utils/ast" <add> <add>describe Utils::AST do <add> let(:initial_formula) do <add> <<~RUBY <add> class Foo < Formula <add> url "https://brew.sh/foo-1.0.tar.gz" <add> licens...
3
Go
Go
add nil ipam driver
ac1ec348ffcb30048d0d0141158493c29ca45afe
<ide><path>libnetwork/drivers.go <ide> import ( <ide> "github.com/docker/libnetwork/netlabel" <ide> <ide> builtinIpam "github.com/docker/libnetwork/ipams/builtin" <add> nullIpam "github.com/docker/libnetwork/ipams/null" <ide> remoteIpam "github.com/docker/libnetwork/ipams/remote" <ide> ) <ide> <ide> func initIpams...
4
Text
Text
fix some typos for plugin
6353f993d9c5e05ae5cc1c235de7d23cae7c5bd7
<ide><path>docs/reference/commandline/index.md <ide> read the [`dockerd`](dockerd.md) reference page. <ide> |:--------|:-------------------------------------------------------------------| <ide> | [plugin create](plugin_create.md) | Create a plugin from a rootfs and configuration | <ide> | [plugin disable](plugin_disab...
9
PHP
PHP
add tests to cover
f67d786311c12331a0fccf8cb5695ff0a51ecef3
<ide><path>tests/Fixture/TranslatesFixture.php <ide> class TranslatesFixture extends TestFixture <ide> ['locale' => 'eng', 'model' => 'Authors', 'foreign_key' => 1, 'field' => 'name', 'content' => 'May-rianoh'], <ide> ['locale' => 'dan', 'model' => 'NumberTrees', 'foreign_key' => 1, 'field' => 'name', '...
3
Ruby
Ruby
remove extra whitespaces
24724288812c8c8892536d0519c019d8a3aea8d1
<ide><path>activeresource/lib/active_resource/http_mock.rb <ide> class InvalidRequestError < StandardError; end #:nodoc: <ide> # requests. <ide> # <ide> # To test your Active Resource model, you simply call the ActiveResource::HttpMock.respond_to <del> # method with an attached block. The block declares a set o...
1
Java
Java
provide dedicated @componentscan processing
856da7edb984cd8ad5643a376e536f40e06d8faa
<ide><path>org.springframework.context/src/main/java/org/springframework/context/annotation/ComponentScanAnnotationParser.java <add>/* <add> * Copyright 2002-2011 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 c...
3
Python
Python
fix cli for python 2
1a53fcc685f9cd1584339105e50514a7520bf08c
<ide><path>spacy/__main__.py <ide> # coding: utf8 <del>from __future__ import unicode_literals, print_function <add># <add>from __future__ import print_function <add># NB! This breaks in plac on Python 2!! <add>#from __future__ import unicode_literals, <ide> <ide> import plac <ide> from spacy.cli import download as c...
1
Mixed
Javascript
assign deprecation codes
82a73470506111ecc6361b9e0b0bb01f6377a531
<ide><path>doc/api/deprecations.md <ide> Assigning properties to the top-level `this` as an alternative <ide> to `module.exports` is deprecated. Developers should use `exports` <ide> or `module.exports` instead. <ide> <del>### DEP00XX: crypto.fips is deprecated and replaced. <add><a id="DEP0093"></a> <add>### DEP0093:...
4
Ruby
Ruby
give a better error message for misspelled helpers
8d7cf75684d5e76ef635f92125a51cb4c1c0fd3b
<ide><path>actionpack/lib/abstract_controller/helpers.rb <ide> def modules_for_helpers(args) <ide> rescue LoadError => e <ide> raise AbstractController::Helpers::MissingHelperError.new(e, file_name) <ide> end <del> file_name.camelize.constantize <add> <add> mo...
3
PHP
PHP
remove elements constant
08316c529273fc8a8ce3e4d38261fc10c9b03673
<ide><path>lib/Cake/bootstrap.php <ide> */ <ide> define('APPLIBS', APP.'Lib'.DS); <ide> <del>/** <del> * Path to the application's view's elements directory. <del> * It's supposed to hold pieces of PHP/HTML that are used on multiple pages <del> * and are not linked to a particular layout (like polls, footers and so ...
1
Python
Python
add inline keyword check
2626ceabbc90c7e30aa4b86d91aa8d8a3bb0863e
<ide><path>numpy/core/scons_support.py <del>#! Last Change: Wed Jul 30 02:00 PM 2008 J <add>#! Last Change: Fri Mar 13 01:00 PM 2009 J <ide> <ide> """Code to support special facilities to scons which are only useful for <ide> numpy.core, hence not put into numpy.distutils.scons""" <ide> def define_no_smp(): <ide> ...
1
Python
Python
fix pydocstyle warning
2e6c84327f23747bad5345179d82237827e2fd8b
<ide><path>celery/app/task.py <ide> def retry(self, args=None, kwargs=None, exc=None, throw=True, <ide> **options (Any): Extra options to pass on to :meth:`apply_async`. <ide> <ide> Raises: <add> <ide> celery.exceptions.Retry: <ide> To tell the worker that the task has b...
1
Ruby
Ruby
convert string test to spec
81d105d9a4cbdba1072c3828d173dcaac4bcc2a6
<ide><path>Library/Homebrew/test/string_spec.rb <add>require "extend/string" <add> <add>describe String do <add> describe "#undent" do <add> it "removes leading whitespace, taking the first line as reference" do <add> string = <<-EOS.undent <add> hi <add>........my friend over <add> there <add>...
2
Javascript
Javascript
emit error on domain unhandled rejections
cd3134029ebda16d37dcf6a10093bba9dff196e9
<ide><path>lib/internal/process/promises.js <ide> function unhandledRejection(promise, reason) { <ide> maybeUnhandledPromises.set(promise, { <ide> reason, <ide> uid: ++lastPromiseId, <del> warned: false <add> warned: false, <add> domain: process.domain <ide> }); <ide> // This causes the promise t...
3
Text
Text
update changelog for io.js v3.3.0
a06e11d9d334d1bf67d39ee961fcb5a46c28ec39
<ide><path>CHANGELOG.md <ide> # Node.js ChangeLog <ide> <add>## 2015-09-02, Version 3.3.0, @rvagg <add> <add>### Notable changes <add> <add>* **build**: Add a `--link-module` option to `configure` that can be used to bundle additional JavaScript modules into a built binary (Bradley Meck) [#2497](https://github.com/nod...
1
Python
Python
return node on create node
54e2243d5cd8a5ffcbc6ef62cef1fb35e2478ddb
<ide><path>libcloud/compute/drivers/solusvm.py <ide> def create_node(self, vttype='openvz', user_id=31, nodegroup_id=1, <ide> <ide> data = json.dumps({"virtual_machine": server_params}) <ide> <add> # upon successfull machine creation, <add> # response is 201 with empty body <add> # attemp...
1
PHP
PHP
move aliases to compatbility shims
d553414eb7b09d87f0841d1b7b950f1b319976de
<ide><path>config/bootstrap.php <ide> <ide> define('TIME_START', microtime(true)); <ide> <del>// @deprecated Backward compatibility with 2.x series <del>if (PHP_VERSION_ID < 70000) { <del> class_alias('Cake\Utility\Text', 'Cake\Utility\String'); <del>} <del> <del>// @deprecated Backward compatibility with 2.x, 3.0...
7
PHP
PHP
fix null return
7848377efcc2e09cfab3239c7a93f85beeece11f
<ide><path>src/Illuminate/Http/Client/PendingRequest.php <ide> public function buildStubHandler() <ide> ->first(); <ide> <ide> if (is_null($response)) { <del> return Factory::response(); <add> return $handler($request, $options); <ide> ...
1
Ruby
Ruby
use present rather than any
ea7b5ff99e44aac0fc643e02dc4d046ab99ecdc7
<ide><path>activerecord/lib/active_record/relation.rb <ide> def merge(r) <ide> select(r.send(:select_clauses).join(', ')). <ide> eager_load(r.eager_load_associations). <ide> preload(r.associations_to_preload). <del> from(r.send(:sources).any? ? r.send(:from_clauses) : nil) <add> fr...
1
PHP
PHP
apply fixes from styleci
92aff02c1f023f333a4ad5e91955e67c8efbe32a
<ide><path>src/Illuminate/Http/Resources/MergeValue.php <ide> public function __construct($data) <ide> { <ide> $this->data = $data instanceof Collection ? $data->all() : $data; <ide> } <del> <ide> }
1
Text
Text
fix the description of 'close' event
20f8a222598b3e9659bd61e2cbb732d1e1afa43b
<ide><path>doc/api/fs.md <ide> added: v0.1.93 <ide> added: v0.1.93 <ide> --> <ide> <del>Emitted when the `ReadStream`'s underlying file descriptor has been closed <del>using the `fs.close()` method. <add>Emitted when the `ReadStream`'s underlying file descriptor has been closed. <ide> <ide> ### Event: 'open' <ide> <!...
1
Python
Python
remove outdated sqlcheckoperator docstring
86242247155a582f771a380b4c2d94bce80d6929
<ide><path>airflow/operators/sql.py <ide> class SQLCheckOperator(BaseOperator): <ide> publishing dubious data, or on the side and receive email alerts <ide> without stopping the progress of the DAG. <ide> <del> Note that this is an abstract class and get_db_hook <del> needs to be defined. Whereas a get_d...
1
Text
Text
add info about co-maintainers in readme
a43829c2fd2887ef1fff6b4a021992659d8a3dbe
<ide><path>README.md <ide> There are a number of small backwards incompatible changes with version 2.0.0. [ <ide> <ide> ## [Contributing](https://github.com/moment/moment/blob/develop/CONTRIBUTING.md) <ide> <add>We're looking for co-maintainers! If you want to become a master of time please <add>write to [ichernev](h...
1
Javascript
Javascript
fix minor grammatical errors
e6a2527cdfa6a7ef22ecf6a456e7aa48ddec23ce
<ide><path>src/ng/rootElement.js <ide> * @description <ide> * The root element of Angular application. This is either the element where {@link <ide> * ng.directive:ngApp ngApp} was declared or the element passed into <del> * {@link angular.bootstrap}. The element represent the root element of application. It is also...
1
Javascript
Javascript
add example on components
f7f347329efbff66a66477282f21fe6fef651498
<ide><path>Libraries/Components/ActivityIndicator/ActivityIndicator.js <ide> type DefaultProps = { <ide> <ide> /** <ide> * Displays a circular loading indicator. <add> * <add> * ### Example <add> * <add> * ```ReactNativeWebPlayer <add> * import React, { Component } from 'react' <add> * import { <add> * ActivityIndi...
3
Text
Text
fix small typo
0bc1b2fece72930529976d03aa1218eeaab2e3e3
<ide><path>guide/english/certifications/javascript-algorithms-and-data-structures/basic-data-structures/check-if-an-object-has-a-property/index.md <ide> title: Check if an Object has a Property <ide> ## Check if an Object has a Property <ide> <ide> Method: <del>- The simplest way to complete this challenge is to creat...
1
PHP
PHP
remove exit() from consoleerrorhandler
88637b5df5e58ba1a94c6d484de1f8b31beba4a7
<ide><path>App/Console/cake.php <ide> */ <ide> include dirname(__DIR__) . '/Config/bootstrap.php'; <ide> <del>return Cake\Console\ShellDispatcher::run($argv); <add>exit(Cake\Console\ShellDispatcher::run($argv)); <ide><path>lib/Cake/Console/ConsoleErrorHandler.php <ide> <?php <ide> /** <del> * ErrorHandler for Console...
6
Text
Text
add v3.13.1 to changelog.md
af661414bf9ee5e8ac5565e15a280e330ce69510
<ide><path>CHANGELOG.md <ide> - [#18381](https://github.com/emberjs/ember.js/pull/18381) Drop Node 6 and 11 support. <ide> - [#18410](https://github.com/emberjs/ember.js/pull/18410) Use ember-cli-htmlbars for inline precompilation if possible. <ide> <add>### v3.13.1 (September 23, 2019) <add> <add>- [#18273](https://g...
1
Ruby
Ruby
fix typo in ar callbacks
55df1df937f096bbdae29f8af965f204f08943b8
<ide><path>activerecord/lib/active_record/callbacks.rb <ide> module ActiveRecord <ide> # <ide> # Callbacks are hooks into the life cycle of an Active Record object that allow you to trigger logic <ide> # before or after an alteration of the object state. This can be used to make sure that associated and <del> # ...
1
Python
Python
clean the trainer state
29baa8fabe15393ec4451beceee6d025881ec992
<ide><path>src/transformers/__init__.py <ide> from .tokenization_xlnet import SPIECE_UNDERLINE, XLNetTokenizer <ide> <ide> # Trainer <del>from .trainer_utils import EvalPrediction, set_seed <add>from .trainer_utils import EvalPrediction, TrainerState, set_seed <ide> from .training_args import TrainingArguments <ide> f...
4
Text
Text
add code of conduct
2418c198035bf49c21d917e1db04c562851bc17b
<ide><path>CODE_OF_CONDUCT.md <add># Contributor Code of Conduct <add> <add>As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities. <add> <add>We...
1
PHP
PHP
add mixin support to eloquent builder
7cb1ff67b7cba591394760e6743710abe8959377
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> use Illuminate\Support\Arr; <ide> use Illuminate\Support\Str; <ide> use Illuminate\Support\Traits\ForwardsCalls; <add>use ReflectionClass; <add>use ReflectionMethod; <ide> <ide> /** <ide> * @property-read HigherOrderBuilderProxy $orWhere <ide> public stati...
1
Text
Text
fix spacing issue
eb06bb7288b6a5d9e79806c2e920099cf4a94638
<ide><path>guides/source/upgrading_ruby_on_rails.md <ide> this gem such as `whitelist_attributes` or `mass_assignment_sanitizer` options. <ide> ``` <ide> <ide> * Rails 4.0 has deprecated `ActiveRecord::Fixtures` in favor of `ActiveRecord::FixtureSet`. <add> <ide> * Rails 4.0 has deprecated `ActiveRecord::TestCase` in ...
1
Javascript
Javascript
flip tuple order of usetransition
a632f7de3bd35eaf6d5082054af4da92dd37cf20
<ide><path>packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js <ide> const tests = { <ide> const [state4, dispatch2] = React.useReducer(); <ide> const [state5, maybeSetState] = useFunnyState(); <ide> const [state6, maybeDispatch] = useFunnyReducer(); <del> ...
15
Text
Text
clarify guidelines for nglocale changes
8dc08fb1d793cf8ba3072d21d18e37545d28f452
<ide><path>CONTRIBUTING.md <ide> If you find a bug in the source code or a mistake in the documentation, you can <ide> submitting an issue to our [GitHub Repository][github]. Even better you can submit a Pull Request <ide> with a fix. <ide> <del>***Localization Issue:*** *Angular.js uses the [Google Closure I18N libra...
1
Ruby
Ruby
remove detail initialization metaprogramming
737b718ea0c88d3f6c139343f957f386e06fffc9
<ide><path>actionview/lib/action_view/lookup_context.rb <ide> class LookupContext #:nodoc: <ide> <ide> def self.register_detail(name, &block) <ide> self.registered_details << name <del> initialize = registered_details.map { |n| "@details[:#{n}] = details[:#{n}] || default_#{n}" } <add> Accessors::D...
1
Go
Go
remove byhash hack
6128dcea4a9bbe808baba4e18c9c4fee3a265532
<ide><path>graphdriver/devmapper/deviceset.go <ide> func (devices *DeviceSet) deactivatePool() error { <ide> func (devices *DeviceSet) deactivateDevice(hash string) error { <ide> utils.Debugf("[devmapper] deactivateDevice(%s)", hash) <ide> defer utils.Debugf("[devmapper] deactivateDevice END") <del> var devname strin...
1
Javascript
Javascript
use cached peername to resolve remote fields
30666f22ca5041a991ab9e7311916ac218ed4c0f
<ide><path>lib/net.js <ide> function onread(nread, buffer) { <ide> <ide> <ide> Socket.prototype._getpeername = function() { <del> if (!this._handle || !this._handle.getpeername) { <del> return {}; <del> } <ide> if (!this._peername) { <add> if (!this._handle || !this._handle.getpeername) { <add> return ...
2
Javascript
Javascript
add react-dom to dist/ in npm package
cdd80969748273b35e35fdcd066e09b691d2072f
<ide><path>grunt/tasks/npm-react.js <ide> var dist = dest + 'dist/'; <ide> var distFiles = [ <ide> 'react.js', 'react.min.js', 'JSXTransformer.js', <ide> 'react-with-addons.js', 'react-with-addons.min.js', <add> 'react-dom.js', 'react-dom.min.js', <ide> ]; <ide> <ide> function buildRelease() {
1
Python
Python
break some long lines in numpy/f2py/*.py
d676616cb5ddde980734e2b60569a69912983940
<ide><path>numpy/f2py/auxfuncs.py <ide> def debugcapi(var): <ide> <ide> <ide> def _isstring(var): <del> return 'typespec' in var and var['typespec'] == 'character' and (not isexternal(var)) <add> return 'typespec' in var and var['typespec'] == 'character' and \ <add> not isexternal(var) <ide> <ide> ...
8
Javascript
Javascript
wrap the project child elements in panel
8f5415d65769b966192b7123e46cc81467a6adad
<ide><path>editor/js/Sidebar.Project.js <ide> Sidebar.Project = function ( editor ) { <ide> <ide> var container = new UI.Panel(); <ide> container.setBorderTop( '0' ); <add> container.setPadding( '0' ); <ide> container.setPaddingTop( '20px' ); <ide> <add> var projectsettings = new UI.Panel(); <add> projectsettings....
1
Javascript
Javascript
implement the fix
43c447edd0c23db5a9acc477befa77a42826d1a3
<ide><path>server/index.js <del>import { resolve, join } from 'path' <add>import { resolve, join, sep } from 'path' <ide> import { parse as parseUrl } from 'url' <ide> import { parse as parseQs } from 'querystring' <ide> import fs from 'fs' <ide> export default class Server { <ide> } <ide> <ide> async serveStatic ...
1
Javascript
Javascript
remove usage of require('util')
e5383adb25a74d1d3588cc447b13a158d0b54852
<ide><path>lib/internal/encoding.js <ide> class TextEncoder { <ide> }); <ide> obj.encoding = this.encoding; <ide> // Lazy to avoid circular dependency <del> return require('util').inspect(obj, opts); <add> return require('internal/util/inspect').inspect(obj, opts); <ide> } <ide> } <ide> <ide> funct...
1
Python
Python
add relative positional embedding to kerasbert
c3c2386ca1b0b7fff18e30b0d055486761de6be0
<ide><path>official/nlp/modeling/layers/position_embedding.py <ide> # from __future__ import google_type_annotations <ide> from __future__ import print_function <ide> <add>import math <add> <ide> import tensorflow as tf <ide> <ide> from official.modeling import tf_utils <ide> def call(self, inputs): <ide> posit...
3
Python
Python
fix typo in featureextractionpipeline docstring
747907dc5e93a23cf5699bf228752526592884d6
<ide><path>src/transformers/pipelines.py <ide> def _forward(self, inputs, return_tensors=False): <ide> class FeatureExtractionPipeline(Pipeline): <ide> """ <ide> Feature extraction pipeline using Model head. This pipeline extracts the hidden states from the base transformer, <del> which can be used as featur...
1
Ruby
Ruby
test clear_changes_information rather than reload
8937c722172595cfad007c686ed5c4a1b79397cc
<ide><path>activemodel/test/cases/attributes_dirty_test.rb <ide> class DirtyModel <ide> def save <ide> changes_applied <ide> end <del> <del> def reload <del> clear_changes_information <del> end <ide> end <ide> <ide> setup do <ide> def reload <ide> assert_predicate @model, :size_changed...
2
Python
Python
add tf bert files
bffd17a43d74b228670c2146c284023f250fc85f
<ide><path>pytorch_transformers/file_utils.py <ide> def url_to_filename(url, etag=None): <ide> Convert `url` into a hashed filename in a repeatable way. <ide> If `etag` is specified, append its hash to the url's, delimited <ide> by a period. <add> If the url ends with .h5 (Keras HDF5 weights) ands '.h5' ...
5
Go
Go
improve validation for volume specs
120241937e67238fd98b839886751bda70129ba8
<ide><path>cli/compose/convert/volume.go <ide> func convertVolumeToMount(volumeSpec string, stackVolumes volumes, namespace Nam <ide> // TODO: split Windows path mappings properly <ide> parts := strings.SplitN(volumeSpec, ":", 3) <ide> <add> for _, part := range parts { <add> if strings.TrimSpace(part) == "" { <add...
2
PHP
PHP
add cli tools for loading/unloading of plugins
2107d61c6c244175105a87d3860483096b8e4d20
<ide><path>src/Shell/PluginShell.php <ide> */ <ide> class PluginShell extends Shell <ide> { <del> <ide> /** <del> * Contains tasks to load and instantiate <add> * Tasks to load <ide> * <ide> * @var array <ide> */ <del> public $tasks = ['Assets']; <add> public $tasks = [ <add> 'A...
5
Java
Java
add replyto annotation
55dae74f156c1c8326e182e5f1eb7a162cba56a8
<add><path>spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/ReplyTo.java <del><path>spring-messaging/src/main/java/org/springframework/messaging/simp/MessageHolder.java <ide> * limitations under the License. <ide> */ <ide> <del>package org.springframework.messaging.simp; <add>package o...
7
PHP
PHP
fix several autoloads in tests
5fe2b0be1e06ef608ebc158fcad1956ba90b7f8c
<ide><path>tests/Auth/AuthAccessGateTest.php <ide> use Illuminate\Auth\Access\Response; <ide> use Illuminate\Auth\Access\HandlesAuthorization; <ide> <del>class GateTest extends TestCase <add>class AuthAccessGateTest extends TestCase <ide> { <ide> /** <ide> * @expectedException \InvalidArgumentException <ide><...
13
Ruby
Ruby
display detailed information in inline reporting
4f8c36ab707b7a262cd9b37d4a71e6234d9f8f3c
<ide><path>railties/lib/rails/test_unit/reporter.rb <ide> def record(result) <ide> if output_inline? && result.failure && (!result.skipped? || options[:verbose]) <ide> io.puts <ide> io.puts <del> io.puts result.failures.map(&:message) <add> io.puts format_failures(result) <ide> ...
5
Python
Python
fix zerigo tests
d679c372f098e94b79c8f1e167c3c17a29d07d4e
<ide><path>libcloud/test/dns/test_zerigo.py <ide> def _api_1_1_zones_xml_INVALID_CREDS(self, method, url, body, headers): <ide> <ide> def _api_1_1_zones_xml(self, method, url, body, headers): <ide> body = self.fixtures.load('list_zones.xml') <del> return (httplib.OK, body, {'x-query-count': 1}, <add...
1
Ruby
Ruby
remove another unused require
bba4d2dd8ce6a0616a0b5d6458a528abd06caa98
<ide><path>activestorage/lib/active_storage/service/gcs_service.rb <ide> # frozen_string_literal: true <ide> <ide> gem "google-cloud-storage", "~> 1.11" <del> <ide> require "google/cloud/storage" <del>require "net/http" <ide> <ide> module ActiveStorage <ide> # Wraps the Google Cloud Storage as an Active Storage ser...
1
Ruby
Ruby
add a couple more version tests
b7066b6e74c5ee2d6d0029e4f988134cdb1e7a77
<ide><path>Library/Homebrew/test/test_versions.rb <ide> def test_wwwoffle_version <ide> def test_synergy_version <ide> assert_version_detected '1.3.6p2', 'http://synergy.googlecode.com/files/synergy-1.3.6p2-MacOSX-Universal.zip' <ide> end <add> <add> def test_fontforge_version <add> assert_version_detected ...
1
Text
Text
add f3n67u to triagers
440d95a878a1a19bf72a2685fc8fc0f47100b510
<ide><path>README.md <ide> maintaining the Node.js project. <ide> <ide> * [Ayase-252](https://github.com/Ayase-252) - <ide> **Qingyu Deng** <<i@ayase-lab.com>> <add>* [F3n67u](https://github.com/F3n67u) - <add> **Feng Yu** <<F3n67u@outlook.com>> (he/him) <ide> * [himadriganguly](https://github.com/himadriganguly) -...
1
Text
Text
fix toc title
4952cf90600ae810c1ed11599e02c59da9aa72e8
<ide><path>threejs/lessons/threejs-backgrounds.md <ide> Title: Three.js Backgrounds and Skyboxes <ide> Description: How to add a background in THREE.js <ide> Category: solutions <del>TOC: Load a .GLTF file <add>TOC: Add a Background or Skybox <ide> <ide> Most of the articles here use a solid color for a background. <i...
1
Ruby
Ruby
add test for prepare/prepack removal
027419effe57b424eb76ca2151e7effa26e33c8c
<ide><path>Library/Homebrew/test/language/node_spec.rb <ide> end <ide> end <ide> <add> describe "#std_pack_for_installation" do <add> npm_pack_cmd = "npm pack --ignore-scripts" <add> <add> it "removes prepare and prepack scripts" do <add> path = Pathname("package.json") <add> path.atomic_write("...
1
PHP
PHP
fix some namespacing bugs
94d7982f78fa1c1d8581117feae9992ea62dc21a
<ide><path>src/Illuminate/Console/GeneratorCommand.php <ide> protected function getNamespaceWithSuffix($type, $name) <ide> { <ide> $suffix = $this->getNamespaceSuffix($name); <ide> <del> return trim($this->laravel['config']['namespaces.'.$type].'\\'.$suffix, '\\'); <add> return trim($this->laravel['config']['name...
1
Javascript
Javascript
improve tests that use discrete events
9c32622cf04e70dd40463ece25e83b7cc311b0ed
<ide><path>packages/react-dom/src/__tests__/ReactDOMHooks-test.js <ide> let React; <ide> let ReactDOM; <ide> let Scheduler; <add>let act; <ide> <ide> describe('ReactDOMHooks', () => { <ide> let container; <ide> describe('ReactDOMHooks', () => { <ide> React = require('react'); <ide> ReactDOM = require('react-...
8
Python
Python
start a paver file to help for release purpose
874a4055ec84ea9886abc4252fe994c9cf5ac168
<ide><path>pavement.py <add>import os <add>import subprocess <add>try: <add> from hash import md5 <add>except ImportError: <add> import md5 <add> <add>import sphinx <add> <add>import distutils <add>import numpy.distutils <add> <add>try: <add> from paver.tasks import VERSION as _PVER <add> if not _PVER >= '1...
1
Python
Python
fix task id deduplication in @task_group
f881e1887c9126408098919ecad61f94e7a9661c
<ide><path>airflow/decorators/base.py <ide> Collection, <ide> Dict, <ide> Generic, <add> Iterator, <ide> Mapping, <ide> Optional, <ide> Sequence, <ide> from airflow.utils.task_group import TaskGroup, TaskGroupContext <ide> <ide> <del>def validate_python_callable(python_callable): <add>def v...
2
Ruby
Ruby
fix direct uploads to local service
2d20a7696a761b1840bc2fbe09a2fd4bff2a779f
<ide><path>activestorage/app/controllers/active_storage/disk_controller.rb <ide> # Always go through the BlobsController, or your own authenticated controller, rather than directly <ide> # to the service url. <ide> class ActiveStorage::DiskController < ActionController::Base <add> skip_forgery_protection <add> <ide> ...
3
Java
Java
fix checkstyle violation
2b6117c0c2e6ec841116b5a21f4b98bc8a08ad47
<ide><path>spring-core/src/main/java/org/springframework/util/FileCopyUtils.java <ide> public static String copyToString(@Nullable Reader in) throws IOException { <ide> private static void close(Closeable closeable) { <ide> try { <ide> closeable.close(); <del> } catch (IOException ex) { <add> } <add> catch (IO...
1
PHP
PHP
improve error when insert query cannot be compiled
0e182ca620a4d0fcd5ca428d62ac9bec27974d16
<ide><path>src/Database/QueryCompiler.php <ide> namespace Cake\Database; <ide> <ide> use Cake\Database\Expression\QueryExpression; <add>use Cake\Database\Exception as DatabaseException; <ide> use Closure; <ide> use Countable; <ide> <ide> protected function _buildUnionPart(array $parts, Query $query, ValueBinder $gene...
2
Python
Python
fix test.py --shell
ede1a7ceb4e5ef6ae28cfc14bd8a3a26f7521515
<ide><path>tools/test.py <ide> def GetTestStatus(self, context, sections, defs): <ide> <ide> class Context(object): <ide> <del> def __init__(self, workspace, buildspace, verbose, vm, args, expect_fail, <add> def __init__(self, workspace, verbose, vm, args, expect_fail, <ide> timeout, processor, suppr...
1
Python
Python
remove users of `numpy.compat.strchar`
d5c841a7e55311e77a539f43f3dab58a68a1c9c1
<ide><path>numpy/core/tests/test_multiarray.py <ide> from decimal import Decimal <ide> <ide> import numpy as np <del>from numpy.compat import strchar <ide> import numpy.core._multiarray_tests as _multiarray_tests <ide> from numpy.testing import ( <ide> assert_, assert_raises, assert_warns, assert_equal, assert_alm...
1
Text
Text
translate 02.2-jsx-spread.md to japanese
829ce68cd7c658a438c7053192d585d66dc6243d
<ide><path>docs/docs/02.2-jsx-spread.ja-JP.md <add>--- <add>id: jsx-spread <add>title: JSXの拡張属性 <add>permalink: jsx-spread-ja-JP.html <add>prev: jsx-in-depth-ja-JP.html <add>next: jsx-gotchas-ja-JP.html <add>--- <add> <add>以下のように、コンポーネントにどのようなプロパティを配置したいか前もって全て分かっている場合は、JSXを使うことは簡単です。 <add> <add>```javascript <add> va...
1
Ruby
Ruby
add test to column alias in `exists?` sql
6cc5e9aa81870a8a4ef1582b34abfb4deff7d115
<ide><path>activerecord/lib/active_record/relation/finder_methods.rb <ide> def first! <ide> # Person.last # returns the last object fetched by SELECT * FROM people <ide> # Person.where(["user_name = ?", user_name]).last <ide> # Person.order("created_on DESC").offset(5).last <del> # Person.last(3)...
2
Javascript
Javascript
add the live key, fix setup breaks
8276d477a6c3b71ddab58578e71d52af4d5845f7
<ide><path>client/src/components/Donation/Donation.js <del>/* global STRIPE_PUBLIC_KEY */ <ide> import React, { Component } from 'react'; <ide> import PropTypes from 'prop-types'; <ide> import { bindActionCreators } from 'redux'; <ide> const propTypes = { <ide> show: PropTypes.bool <ide> }; <ide> <del>const stripeKe...
1
Javascript
Javascript
simplify the import path of axioserror
7c60c6282af765b9060bdebd72ebf997e5e667b2
<ide><path>lib/axios.js <ide> import CancelToken from'./cancel/CancelToken.js'; <ide> import isCancel from'./cancel/isCancel.js'; <ide> import {VERSION} from './env/data.js'; <ide> import toFormData from './helpers/toFormData.js'; <del>import AxiosError from '../lib/core/AxiosError.js'; <add>import AxiosError from './c...
1
Text
Text
add teletype highlights from last week
e4382b1b0f99c2fd411c29dbb610a271b618048c
<ide><path>docs/focus/2018-03-12.md <ide> - Sanitize stderr from git in error notifications [#1331](https://github.com/atom/github/pull/1331) <ide> - Upgrade MacOS build to CircleCI 2.0 [#1334](https://github.com/atom/github/pull/1334) <ide> - Begin packaging bundled GPG binaries akin to the way we handle git [at...
1
PHP
PHP
rewmove unused imports of configure class
82db65bdd439eb891c6f87db7bb402610245e2e1
<ide><path>tests/TestCase/Cache/CacheTest.php <ide> use Cake\Cache\Cache; <ide> use Cake\Cache\CacheRegistry; <ide> use Cake\Cache\Engine\FileEngine; <del>use Cake\Core\Configure; <ide> use Cake\Core\Plugin; <ide> use Cake\TestSuite\TestCase; <ide> <ide><path>tests/TestCase/Console/ConsoleIoTest.php <ide> namespace Ca...
31
Go
Go
fix isvalidparent logic
1cf4b2b8bd92562ffe8d7cce8a705efb3ef32ba7
<ide><path>image/cache/cache.go <ide> func isValidParent(img, parent *image.Image) bool { <ide> if len(parent.History) >= len(img.History) { <ide> return false <ide> } <del> if len(parent.RootFS.DiffIDs) >= len(img.RootFS.DiffIDs) { <add> if len(parent.RootFS.DiffIDs) > len(img.RootFS.DiffIDs) { <ide> return fals...
2
Ruby
Ruby
fix code style
82535696fad17f62c6f82fc4d7f43b9f02225da2
<ide><path>Library/Homebrew/livecheck/strategy/sparkle.rb <ide> class Sparkle <ide> def self.match?(url) <ide> return false unless url.match?(%r{^https?://}) <ide> <del> xml = url.end_with?('.xml') <add> xml = url.end_with?(".xml") <ide> xml ||= begin <ide> hea...
1
Javascript
Javascript
remove an unnecessary `undefined` in wpt
0525a147b2fb5bad45a9e91a4f1f0b0effcf97e7
<ide><path>test/common/wpt.js <ide> class ResourceLoader { <ide> } <ide> <ide> class StatusRule { <del> constructor(key, value, pattern = undefined) { <add> constructor(key, value, pattern) { <ide> this.key = key; <ide> this.requires = value.requires || []; <ide> this.fail = value.fail;
1
Text
Text
add v3.15.0-beta.1 to changelog
1a1c1e703f65454c5626dfe0902129fdd6ff7646
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.15.0-beta.1 (October 31, 2019) <add> <add>- [#17948](https://github.com/emberjs/ember.js/pull/17948) [DEPRECATION] Deprecate `Component#isVisible` per [RFC #324](https://github.com/emberjs/rfcs/blob/master/text/0324-deprecate-component-isvisible.md). <a...
1
Text
Text
add link to practice website
cd852622565a516400bf625734465f752c02a07b
<ide><path>guide/english/git/git-branch/index.md <ide> man git-branch <ide> - The `git commit` command: <a href='https://guide.freecodecamp.org/git/git-commit/' target='_blank' rel='nofollow'>fCC Guide</a> <ide> - The `git stash` command: <a href='https://guide.freecodecamp.org/git/git-stash/' target='_blank' rel='nofo...
1
Python
Python
fix trainer callback
1d5ea34f6abd0b62ed89a8d5fa4cc14ed970cf67
<ide><path>src/transformers/trainer_callback.py <ide> def on_prediction_step(self, args, state, control, eval_dataloader=None, **kwarg <ide> <ide> def on_evaluate(self, args, state, control, **kwargs): <ide> if state.is_local_process_zero: <del> self.prediction_bar.close() <add> if se...
1
PHP
PHP
fix typo in comment
8640c80dc92d57caf1ab3b4d6d87e6ef749893b5
<ide><path>tests/TestCase/ORM/Behavior/TranslateBehaviorShadowTableTest.php <ide> public function testFindWithBTMAssociations() <ide> * <ide> * The parent test expects description translations in only some of the records <ide> * that's incompatible with the shadow-translate behavior, since the schema <de...
1
Text
Text
remove reference to "backspace" regex
4a7571492d1a7e4436e9131d46c30cfc31d631fe
<ide><path>curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.english.md <ide> videoUrl: 'https://scrimba.com/c/cvmqRh6' <ide> <ide> ## Description <ide> <section id='description'> <del>Quotes are not the only characters that can be <dfn>escaped</dfn...
1
PHP
PHP
refactor the request class
3d684136b8c7d5d9f598e090627029cd792b2afc
<ide><path>system/request.php <ide> public static function uri() <ide> { <ide> if ( ! is_null(static::$uri)) return static::$uri; <ide> <add> $uri = static::raw_uri(); <add> <add> if (strpos($uri, $base = parse_url(Config::get('application.url'), PHP_URL_PATH)) === 0) <add> { <add> $uri = substr($uri, strlen($...
1
Python
Python
update json imports
d740bae95a30d473e9de0019bc31475900caa435
<ide><path>rest_framework/fields.py <ide> import datetime <ide> import decimal <ide> import inspect <del>import json <ide> import re <ide> import uuid <ide> from collections import OrderedDict <ide> ) <ide> from rest_framework.exceptions import ErrorDetail, ValidationError <ide> from rest_framework.settings import api_...
6
Python
Python
move view to admin and fix print statement
a7aa4c767c055c765e9e8ab97a70ac8d4b2a9df6
<ide><path>airflow/models.py <ide> class Variable(Base): <ide> val = Column(Text) <ide> <ide> def __repr__(self): <del> return '"{}" : {}'.format(self.key, self.key) <add> return '{} : {}'.format(self.key, self.val) <ide><path>airflow/www/app.py <ide> class VariableView(LoginMixin, ModelView): <i...
2