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
Text
Text
add eventtarget link to worker_threads
5f4fa0756b6961cf73a224f4307eaba13b9f9d40
<ide><path>doc/api/worker_threads.md <ide> structured data, memory regions and other `MessagePort`s between different <ide> [`Worker`][]s. <ide> <ide> With the exception of `MessagePort`s being [`EventEmitter`][]s rather <del>than `EventTarget`s, this implementation matches [browser `MessagePort`][]s. <add>than [`Even...
1
Python
Python
fix serialization of hashing layer
a5770601eba163cefbd97de89993ff07cf9cf430
<ide><path>keras/layers/preprocessing/hashing.py <ide> from keras.engine import base_preprocessing_layer <ide> from tensorflow.python.util.tf_export import keras_export <ide> <del># Default key from tf.sparse.cross_hashed <del>_DEFAULT_SALT_KEY = [0xDECAFCAFFE, 0xDECAFCAFFE] <del> <ide> <ide> @keras_export('keras.lay...
2
Javascript
Javascript
remove the constructor in the `stattimer` class
bab1097db31e1d9a2b3588d2db8dcb079e4ba061
<ide><path>src/display/display_utils.js <ide> function getPdfFilenameFromUrl(url, defaultFilename = "document.pdf") { <ide> } <ide> <ide> class StatTimer { <del> constructor() { <del> this.started = Object.create(null); <del> this.times = []; <del> } <add> started = Object.create(null); <add> <add> times = [...
1
Python
Python
add more tests for new memmap object attributes
20ccf3a5b25f25262bc2b23e092337ae4e7a4f1a
<ide><path>numpy/core/tests/test_memmap.py <ide> def test_open_with_filename(self): <ide> del fp <ide> os.unlink(tmpname) <ide> <add> def test_attributes(self): <add> offset = 1 <add> mode = "w+" <add> fp = memmap(self.tmpfp, dtype=self.dtype, mode=mode, <add> ...
1
Javascript
Javascript
log used ports
267fcc999c43bf2b6a50bc531e5f7c2f356fcb96
<ide><path>lib/browser-stack/start-tunnel.js <ide> var tunnel = new BrowserStackTunnel({ <ide> hosts: hosts <ide> }); <ide> <del> <add>console.log('Starting tunnel on ports', PORTS.join(', ')); <ide> tunnel.start(function(error) { <del> console.log('** callback **') <ide> if (error) { <ide> console.error('Can...
1
PHP
PHP
add some meta data to the notification mails
477273c72be8b253b6421c69f3e37b5bf4c3a185
<ide><path>src/Illuminate/Notifications/Channels/MailChannel.php <ide> use Illuminate\Contracts\Mail\Mailer; <ide> use Illuminate\Contracts\Mail\Mailable; <ide> use Illuminate\Notifications\Notification; <add>use Illuminate\Contracts\Queue\ShouldQueue; <ide> <ide> class MailChannel <ide> { <ide> public function send($...
1
Javascript
Javascript
remove old require
86266b27607cafa7678f45cb7047e4a7d974b0fd
<ide><path>packages/ember-routing/lib/helpers.js <ide> require('ember-routing/helpers/link_to'); <ide> require('ember-routing/helpers/outlet'); <ide> require('ember-routing/helpers/render'); <ide> require('ember-routing/helpers/action'); <del>require('ember-routing/helpers/control');
1
Javascript
Javascript
increase timeout for test
e81a2d0d5767ded8dfc62733f46abd0ddf783b53
<ide><path>test/hotCases/chunks/dynamic-system-import/index.js <ide> it("should import a changed chunk (dynamic import)", function(done) { <ide> chunk2.value.should.be.eql(2); <ide> done(); <ide> }).catch(done); <del> }, 100); <add> }, 300); <ide> }).catch(done); <ide> });
1
PHP
PHP
use templateparams in basicwidget
4d33d697cfc66ac32b7d93e55289b2be0e4c2ce6
<ide><path>src/View/Widget/BasicWidget.php <ide> public function render(array $data, ContextInterface $context) <ide> 'val' => null, <ide> 'type' => 'text', <ide> 'escape' => true, <add> 'templateParams' => [] <ide> ]; <ide> $data['value'] = $data['val']; <...
2
Ruby
Ruby
add tests for `cleanup_python_site_packages`
c6428d9def384358a48eee9fa87e0273e7662b69
<ide><path>Library/Homebrew/test/cleanup_spec.rb <ide> end <ide> end <ide> end <add> <add> describe "::cleanup_python_site_packages" do <add> context "when cleaning up Python modules" do <add> let(:foo_module) { (HOMEBREW_PREFIX/"lib/python3.99/site-packages/foo") } <add> let(:foo_pycache) { (...
1
Python
Python
fix unexpected behaviour from bad mocking
305851aa9114653acafbf6e16fde12f2ea55ff99
<ide><path>t/unit/tasks/test_tasks.py <ide> def test_apply(self): <ide> f.get() <ide> <ide> def test_apply_simulates_delivery_info(self): <del> self.task_check_request_context.request_stack.push = Mock() <del> <del> self.task_check_request_context.apply( <del> priority=4, <del>...
1
Ruby
Ruby
fix reference to opt_linked/optlinked
98248a44a499dc3d55f4ed64eb773f76643bd65e
<ide><path>Library/Homebrew/cask/installer.rb <ide> def missing_cask_and_formula_dependencies <ide> else <ide> cask_or_formula.try(:installed?) <ide> end <del> installed && (cask_or_formula.respond_to?(:opt_linked?) ? cask_or_formula.opt_linked? : true) <add> installed && (cask_o...
1
Ruby
Ruby
remove useless conditional
68926dd5ee355bab8bc37ed40384126c9f1f2633
<ide><path>railties/lib/rails/code_statistics.rb <ide> def print_line(name, statistics) <ide> m_over_c = (statistics["methods"] / statistics["classes"]) rescue m_over_c = 0 <ide> loc_over_m = (statistics["codelines"] / statistics["methods"]) - 2 rescue loc_over_m = 0 <ide> <del> start = if TEST_TY...
1
Text
Text
fix a typo in with-reasonml-todo example
c13d1bca27087512adb491b661e8df6fa726f686
<ide><path>examples/with-reasonml-todo/README.md <ide> # Example app using ReasonML & ReasonReact components <ide> <del>This example builds upon the original `with-reasonml` example to sho how a <add>This example builds upon the original `with-reasonml` example to show how a <ide> global state object can be used to tr...
1
Java
Java
fix wrong javadoc example
159da04eed43fe643f6df8a0af65f6b3801ca919
<ide><path>spring-context/src/main/java/org/springframework/context/annotation/Primary.java <ide> * } <ide> * <ide> * &#064;Component <del> * public class JdbcFooRepository { <add> * public class JdbcFooRepository extends FooRepository { <ide> * <del> * public JdbcFooService(DataSource dataSource) { <add> * ...
1
Ruby
Ruby
add test to avoid regression of 1bfc5b4
974467d70d337d4c60414c792e275d367143217b
<ide><path>actionpack/test/dispatch/routing_test.rb <ide> def self.call(params, request) <ide> scope(':version', :version => /.+/) do <ide> resources :users, :id => /.+?/, :format => /json|xml/ <ide> end <add> <add> get "products/list" <ide> end <ide> <ide> get 'sprockets.j...
1
Javascript
Javascript
bring treemap examples up-to-date
30ad8bcc551925532d4b90e168fc3b77f2632a2c
<ide><path>examples/treemap/treemap-svg.js <del>var w = 960, <del> h = 500, <add>var width = 960, <add> height = 500, <ide> color = d3.scale.category20c(); <ide> <ide> var treemap = d3.layout.treemap() <ide> .padding(4) <del> .size([w, h]) <add> .size([width, height]) <ide> .value(function(d) {...
2
Text
Text
add missing period at the end of a paragraph
4c26157dac948f83e7ec252520760e66dd26ad85
<ide><path>README.md <ide> Laravel is a web application framework with expressive, elegant syntax. We belie <ide> - [Robust background job processing](https://laravel.com/docs/queues). <ide> - [Real-time event broadcasting](https://laravel.com/docs/broadcasting). <ide> <del>Laravel is accessible, yet powerful, providi...
1
Javascript
Javascript
add multiple editors example
68ceef68e1177dc0d26177aafeca6e11370b66d9
<ide><path>examples/with-slate/CustomKeygenEditor/index.js <add>import React from 'react' <add>import Plain from 'slate-plain-serializer' <add>import { KeyUtils } from 'slate' <add>import { Editor } from 'slate-react' <add> <add>class CustomKeygenEditor extends React.Component { <add> constructor (props) { <add> su...
3
Python
Python
remove cchardet dependency
3572707af2b44e6211dd60ff821204257842e47f
<ide><path>libcloud/common/base.py <ide> import binascii <ide> import time <ide> <del>import cchardet <del> <ide> from libcloud.utils.py3 import ET <ide> <ide> import libcloud <ide> def request( <ide> stream=False, <ide> json=None, <ide> retry_failed=None, <del> autodetect_response_enco...
2
PHP
PHP
fix bug with eager loading
13b93d100e8eae06a633d07883c5f5f5220a7690
<ide><path>src/Illuminate/Database/Eloquent/Relations/Relation.php <ide> public function getAndResetWheres() <ide> */ <ide> public function removeFirstWhereClause() <ide> { <del> array_shift($this->getBaseQuery()->wheres); <add> $first = array_shift($this->getBaseQuery()->wheres); <add> <add> $bindings = $this->...
1
Python
Python
update train_ner_standalone example
cbb1fbef80a15fe2f8415cd698d9f8b78c48ef04
<ide><path>examples/training/train_ner_standalone.py <ide> from pathlib import Path <ide> import random <ide> import json <add>import tqdm <add> <ide> from thinc.neural.optimizers import Adam <ide> from thinc.neural.ops import NumpyOps <del>import tqdm <ide> <ide> from spacy.vocab import Vocab <ide> from spacy.pipelin...
1
Ruby
Ruby
remove unused require
f31b4758d9a10c4c4065dc66d9a5322bbdf09f66
<ide><path>activerecord/lib/active_record/type/adapter_specific_registry.rb <ide> # frozen_string_literal: true <ide> <del>require "active_model/type/registry" <del> <ide> module ActiveRecord <ide> # :stopdoc: <ide> module Type
1
Text
Text
add missing information regarding callbacks
52a7873863644905e0e5ce48b8eadbdd6468dbce
<ide><path>guides/source/active_record_querying.md <ide> The primary operation of `Model.find(options)` can be summarized as: <ide> * Convert the supplied options to an equivalent SQL query. <ide> * Fire the SQL query and retrieve the corresponding results from the database. <ide> * Instantiate the equivalent Ruby obje...
1
Python
Python
remove usage of exec_command in config.py
13463193f573cf0356a57383960d4110d8032f88
<ide><path>numpy/distutils/command/config.py <ide> import os, signal <ide> import warnings <ide> import sys <add>import subprocess <ide> <ide> from distutils.command.config import config as old_config <ide> from distutils.command.config import LANG_EXT <ide> from distutils import log <ide> from distutils.file_util imp...
1
Python
Python
add note on * import
dfb8225447597fb22544c1e67e2677d15f92d698
<ide><path>rest_framework/serializers.py <ide> from django.forms import widgets <ide> from django.utils.datastructures import SortedDict <ide> from rest_framework.compat import get_concrete_model <add> <add># Note: We do the following so that users of the framework can use this style: <add># <add># example_field = ...
1
Ruby
Ruby
enable partial updates by default
2ce1be3ac4823ccdfbe36ff5548a562aa5106d2e
<ide><path>activerecord/lib/active_record/dirty.rb <ide> def self.included(base) <ide> base.alias_method_chain :reload, :dirty <ide> <ide> base.superclass_delegating_accessor :partial_updates <del> base.partial_updates = false <add> base.partial_updates = true <ide> end <ide> <ide> ...
1
Text
Text
add changelog for
d8a53b49a7490eb0115fcf6f7f4c872a5393e251
<ide><path>activerecord/CHANGELOG.md <add>* Save many-to-many objects based on association primary key. <add> <add> Fixes #20995. <add> <add> *himesh-r* <add> <ide> * Fix an issue when preloading associations with extensions. <ide> Previously every association with extension methods was transformed into a...
1
Ruby
Ruby
update default app files in app_generator_test
0b1313b41fc49a387733d327fd95a36b14f65abe
<ide><path>railties/test/generators/app_generator_test.rb <ide> Gemfile <ide> Rakefile <ide> config.ru <add> app/assets/config/manifest.js <add> app/assets/images <ide> app/assets/javascripts <add> app/assets/javascripts/application.js <add> app/assets/javascripts/cable.js <add> app/assets/javascripts/chan...
1
PHP
PHP
add helper for bootstrap 3
c919402d5847830c1b2a39529cac90251f838709
<ide><path>src/Illuminate/Pagination/AbstractPaginator.php <ide> public static function defaultSimpleView($view) <ide> static::$defaultSimpleView = $view; <ide> } <ide> <add> /** <add> * Indicate that Bootstrap 3 styling should be used for generated links. <add> * <add> * @return void <add> ...
1
Ruby
Ruby
pass app config to controller helper proxy
719f1d68e4945332f71dc8ad93141780e60929b5
<ide><path>actionpack/lib/action_controller/metal/helpers.rb <ide> def helper_attr(*attrs) <ide> <ide> # Provides a proxy to access helpers methods from outside the view. <ide> def helpers <del> @helper_proxy ||= ActionView::Base.new.extend(_helpers) <add> @helper_proxy ||= begin <add> ...
2
Java
Java
fix inputstream reading for http range requests
b35d44bd4c4f2f12d6c337bc96f53f246df3c4c0
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java <ide> private void copyRange(InputStream in, OutputStream out, long start, long end) t <ide> out.write(buffer, 0, (int) bytesToCopy); <ide> bytesToCopy = 0; <ide> } <del> if (bytesRead < buffer.l...
1
Python
Python
change more np.min/np.max to np.amin/np.amax
ad6d423acf45c0b06b478e898a6ddaf358e0c0a3
<ide><path>numpy/core/fromnumeric.py <ide> def argmax(a, axis=None, out=None): <ide> <ide> >>> x = np.array([[4,2,3], [1,0,3]]) <ide> >>> index_array = np.argmax(x, axis=-1) <del> >>> # Same as np.max(x, axis=-1, keepdims=True) <add> >>> # Same as np.amax(x, axis=-1, keepdims=True) <ide> >>> np.take_...
1
Python
Python
fix lint errors
cd534f50bf628c855b1cb58317cc4890a52cbd27
<ide><path>celery/app/trace.py <ide> # We know what we're doing... <ide> <ide> <del> <del> <del> <ide> __all__ = ( <ide> 'TraceInfo', 'build_tracer', 'trace_task', <ide> 'setup_worker_optimizations', 'reset_worker_optimizations', <ide><path>celery/concurrency/eventlet.py <ide> warnings.warn(Runtim...
4
Javascript
Javascript
handle the empty string in errordisplay
3c0c7165e26ec53bc408a6cca367e11f0433682a
<ide><path>docs/component-spec/errorDisplaySpec.js <ide> describe("errorDisplay", function () { <ide> beforeEach(inject(function ($injector) { <ide> var $rootScope = $injector.get('$rootScope'), <ide> $compile = $injector.get('$compile'); <del> <add> <ide> $location = $injector.get('$location'); <id...
2
Javascript
Javascript
fix jshint error
bfc5431e664986f8fb2871a066e50d5de4727f74
<ide><path>packages/ember-views/lib/views/component.js <ide> import { set } from "ember-metal/property_set"; <ide> import isNone from 'ember-metal/is_none'; <ide> <ide> import { computed } from "ember-metal/computed"; <del>import { bool } from "ember-metal/computed_macros"; <ide> <ide> /** <ide> @module ember
1
Javascript
Javascript
reduce copies done by resource
eefb920d0e0345485a8eb120aeecc3b1aa9f6719
<ide><path>src/Resource.js <ide> ResourceFactory.prototype = { <ide> throw "Expected between 0-3 arguments [params, data, callback], got " + arguments.length + " arguments."; <ide> } <ide> <del> var value = action.isArray ? [] : new Resource(data); <add> var value = this instanceof Reso...
1
Javascript
Javascript
fix prettier 2.8 issues
d324fc9be0823613795f81bb703190204ef3fda2
<ide><path>tests/node/app-boot-test.js <ide> QUnit.module('App Boot', function (hooks) { <ide> hasExistence: true, <ide> }); <ide> <del> this.template('components/foo-bar', '\ <add> this.template( <add> 'components/foo-bar', <add> '\ <ide> <p>The files are *inside* the computer?!</p>\ <...
1
Javascript
Javascript
remove unused supportmultiview on material
d374632473fa476c94acd0c98f769048c28c5cff
<ide><path>src/materials/Material.js <ide> function Material() { <ide> this.visible = true; <ide> <ide> this.toneMapped = true; <del> this.supportsMultiview = true; <ide> this.userData = {}; <ide> <ide> this.needsUpdate = true;
1
PHP
PHP
remove throwable type hints
a5b537b3624e228cecd255341edc4314ebceb416
<ide><path>src/Illuminate/Contracts/Queue/Job.php <ide> <ide> namespace Illuminate\Contracts\Queue; <ide> <del>use Throwable; <del> <ide> interface Job <ide> { <ide> /** <ide> public function getName(); <ide> * @param \Throwable $e <ide> * @return void <ide> */ <del> public function failed(Thr...
9
Javascript
Javascript
fix index -> start
b4575e143d7438d0c0d00be65a1a76ce0a87db83
<ide><path>src/renderers/WebGLRenderer.js <ide> THREE.WebGLRenderer = function ( parameters ) { <ide> <ide> } else { <ide> <del> _gl.drawArrays( mode, offsets[i].index, offsets[i].count ); <add> _gl.drawArrays( mode, offsets[ i ].start, offsets[i].count ); <ide> <ide> } <ide> <ide> _this.in...
1
Python
Python
use explicit einsum_path whenever it is given
59fec4619403762a5d785ad83fcbde5a230416fc
<ide><path>numpy/core/einsumfunc.py <ide> def einsum_path(*operands, optimize='greedy', einsum_call=False): <ide> if path_type is None: <ide> path_type = False <ide> <add> explicit_einsum_path = False <ide> memory_limit = None <ide> <ide> # No optimization or a named path algorithm <ide> def ei...
2
Ruby
Ruby
allow plain http mirrors
629dbb7c593f97538d59691173add17d47657939
<ide><path>Library/Homebrew/rubocops/extend/formula.rb <ide> def on_class(node) <ide> # @param urls [Array] url/mirror method call nodes <ide> # @param regex [Regexp] pattern to match URLs <ide> def audit_urls(urls, regex) <del> urls.each do |url_node| <add> urls.each_with_index do |url_...
2
Javascript
Javascript
add benchmark for node -p
c5817abff5033da7c09302256a331e64473422a8
<ide><path>benchmark/misc/print.js <add>'use strict'; <add>const common = require('../common.js'); <add>const { spawn } = require('child_process'); <add> <add>const bench = common.createBenchmark(main, { <add> dur: [1], <add> code: ['1', '"string"', 'process.versions', 'process'] <add>}); <add> <add>function spawnPro...
2
Mixed
Ruby
introduce concern#class_methods and kernel#concern
b16c36e688970df2f96f793a759365b248b582ad
<ide><path>activesupport/CHANGELOG.md <add>* Introduce `Concern#class_methods` as a sleek alternative to clunky <add> `module ClassMethods`. Add `Kernel#concern` to define at the toplevel <add> without chunky `module Foo; extend ActiveSupport::Concern` boilerplate. <add> <add> # app/models/concerns/authe...
7
Go
Go
add restore network functionality
deffc572ced3909c0ecd77dd21686e0e67c0ea33
<ide><path>daemon/container.go <ide> func (container *Container) buildHostnameAndHostsFiles(IP string) error { <ide> return container.buildHostsFiles(IP) <ide> } <ide> <del>func (container *Container) AllocateNetwork() error { <add>func (container *Container) AllocateNetwork() (err error) { <ide> mode := container.h...
1
PHP
PHP
add configuration wrapper
eb28bc997df0e4cb44123f90558b1f3f5d1711f8
<ide><path>src/Core/Configuration.php <add><?php <add>declare(strict_types=1); <add> <add>/** <add> * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) <add> * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) <add> * <add> * Licensed under The MIT License <add> * For full copyrigh...
2
Python
Python
integrate initialize settings
78396d137fa2faced8a0a612ed5009fa52e3b721
<ide><path>spacy/language.py <ide> def initialize( <ide> name="tokenizer", <ide> ) <ide> self.tokenizer.initialize(get_examples, nlp=self, **tok_settings) <add> proc_settings = settings.get("components", {}) <ide> for name, proc in self.pipeline: <ide> ...
2
PHP
PHP
remove un-used classes from import
cbda6e1d86b57751ee7dab99ee1d4c32d4abd32a
<ide><path>src/Illuminate/Foundation/Testing/ApplicationTrait.php <ide> <?php namespace Illuminate\Foundation\Testing; <ide> <del>use Illuminate\Http\Request; <del>use InvalidArgumentException; <del>use Symfony\Component\DomCrawler\Form; <del>use Symfony\Component\DomCrawler\Crawler; <ide> use Illuminate\Contracts\Aut...
1
Python
Python
remove locks for upgrades in mssql
04ca4ec124020c9970700c573ef52e345667b9fe
<ide><path>airflow/utils/session.py <ide> def create_global_lock(session=None, pg_lock_id=1, lock_name='init', mysql_lock_ <ide> session.connection().execute(f"select GET_LOCK('{lock_name}',{mysql_lock_timeout});") <ide> <ide> if dialect.name == 'mssql': <del> session.connection().execut...
1
PHP
PHP
add typehints to mailer
382d91d1fd47bb3b37966e1d9bbb181b4e249f83
<ide><path>src/Mailer/AbstractTransport.php <ide> */ <ide> abstract class AbstractTransport <ide> { <del> <ide> use InstanceConfigTrait; <ide> <ide> /** <ide> abstract class AbstractTransport <ide> * @param \Cake\Mailer\Email $email Email instance. <ide> * @return array <ide> */ <del> abstra...
12
Text
Text
add a missing changelog entry for [ci skip]
ec4b44b1a4052fea1404cf27c8a30f613426e2d8
<ide><path>activerecord/CHANGELOG.md <add>* An `ArgumentError` is now raised on a call to `Relation#where.not(nil)`. <add> <add> User.where.not(nil) <add> <add> # Before <add> # => 'SELECT `users`.* FROM `users` WHERE (NOT (NULL))' <add> <add> # After <add> # => ArgumentError, 'Inv...
1
Javascript
Javascript
add test for ease
e3886060b956e5d1ec203bd19b05a1a62c1be4a9
<ide><path>d3.js <ide> function d3_ease_sin(t) { <ide> } <ide> <ide> function d3_ease_exp(t) { <del> return t ? Math.pow(2, 10 * (t - 1)) - 1e-3 : 0; <add> return Math.pow(2, 10 * (t - 1)); <ide> } <ide> <ide> function d3_ease_circle(t) { <ide><path>d3.min.js <del>(function(){function ct(){return"circle"}function c...
4
Python
Python
use date_extract_sql() for datefields
1c360dbbf56b76e1df7c945458ae2987306fcfcd
<ide><path>django/db/models/lookups.py <ide> class Range(Between): <ide> <ide> <ide> class DateLookup(BuiltinLookup): <del> <ide> def process_lhs(self, qn, connection, lhs=None): <add> from django.db.models import DateTimeField <ide> lhs, params = super(DateLookup, self).process_lhs(qn, connection,...
1
Mixed
Text
update api documentation to add labels in commit
c61fa8471a567b4890e0861f8aaff91a68c42e4f
<ide><path>docs/sources/reference/api/docker_remote_api_v1.19.md <ide> Create a new image from a container's changes <ide> "Volumes": { <ide> "/tmp": {} <ide> }, <add> "Labels": { <add> "key1": "value1", <add> "key2": "value2" <add> }, ...
3
Javascript
Javascript
fix runtime feature flags
84ff4a84994716a4bf9d6764b0dc0f7d1e3ad025
<ide><path>broccoli/packages.js <ide> module.exports.emberLicense = function _emberLicense() { <ide> module.exports.emberFeaturesES = function _emberFeaturesES(production = false) { <ide> let FEATURES = production ? RELEASE : DEBUG; <ide> let content = stripIndent` <del> const FEATURES = ${JSON.stringify(FEATURE...
6
Text
Text
highlight breaking changes in 0.14.0
166d68ca1cb8f2604fed4ff60b40a443dc8a12e2
<ide><path>CHANGELOG.md <ide> <ide> ### 0.14.0 (Aug 27, 2016) <ide> <del>- Updating TypeScript definitions ([#419](https://github.com/mzabriskie/axios/pull/419)) <add>- **BREAKING** Updating TypeScript definitions ([#419](https://github.com/mzabriskie/axios/pull/419)) <add>- **BREAKING** Replacing `agent` option with...
1
Javascript
Javascript
fix verb conjugation in deprecation message
ddfaafa9b0d94daf183390a08e8a4b11d05a65fd
<ide><path>lib/repl.js <ide> function REPLServer(prompt, <ide> ObjectDefineProperty(this, 'inputStream', { <ide> get: pendingDeprecation ? <ide> deprecate(() => this.input, <del> 'repl.inputStream and repl.outputStream is deprecated. ' + <add> 'repl.inputStream and repl.outputS...
2
Ruby
Ruby
add error#full_message test; fix typos
24fee97581824e6c8fde166ef15b3a28038a9ab8
<ide><path>activemodel/test/cases/errors_test.rb <ide> def test_has_key? <ide> test 'full_message should return the given message with the attribute name included' do <ide> person = Person.new <ide> assert_equal "name can not be blank", person.errors.full_message(:name, "can not be blank") <add> assert_equ...
3
Ruby
Ruby
add documentation for inflector.inflections
9546ee299952c86329c4854f9b3776382c0575ff
<ide><path>activesupport/lib/active_support/inflector.rb <ide> def clear(scope = :all) <ide> <ide> extend self <ide> <add> # Yields a singleton instance of Inflector::Inflections so you can specify additional <add> # inflector rules. <add> # <add> # Example: <add> # Inflector.inflections do |inflect| <add> ...
1
Python
Python
change message property
47b3f5d8337faf2b2e9b5af315709f81f96a4232
<ide><path>glances/plugins/glances_monitor.py <ide> def msg_curse(self, args=None): <ide> msg = "{0:13} ".format(_("RUNNING") if m['count'] >= 1 else _("NOT RUNNING")) <ide> ret.append(self.curse_add_line(msg)) <ide> msg = "{0}".format(m['result'] if m['count'] >= 1 else "") <del> ...
1
Python
Python
add kili tests and also fix a bug in the driver
08e9162b364249c4505cc66d994315f6ee80d424
<ide><path>libcloud/compute/drivers/kili.py <ide> def __init__(self, *args, **kwargs): <ide> self.region = kwargs.pop('region', None) <ide> self.get_endpoint_args = kwargs.pop('get_endpoint_args', None) <ide> super(KiliCloudConnection, self).__init__(*args, **kwargs) <add> self._auth_vers...
2
PHP
PHP
apply fixes from styleci
9bd19df052be07f33e87242d8c110d0ea5027da4
<ide><path>src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php <ide> protected function addCastAttributesToArray(array $attributes, array $mutatedAtt <ide> } <ide> <ide> if ($this->isEnumCastable($key)) { <del> $attributes[$key] = isset($attributes[$key] ) ? $attributes[$...
1
Ruby
Ruby
keep a cache on the alias object
621c24323ea3226206ed65a16070b97a24a5bc2f
<ide><path>activerecord/lib/active_record/associations/join_dependency.rb <ide> def join_constraints <ide> class Aliases <ide> def initialize(tables) <ide> @tables = tables <add> @alias_cache = tables.each_with_object({}) { |table,h| <add> h[table.name] = table.columns.each_w...
3
Text
Text
update index.md sentence structure and grammar
c5234cff482c14d0f24bbc39edae0b46a8865202
<ide><path>guide/english/html/index.md <ide> To create a link the `<a>` tag is used. The href attribute holds the URL address <ide> <ide> **Inputs** <ide> <del>There are many possible ways a user can give input/s like: <add>There are many possible ways a user can give input/s, such as: <ide> <ide> ```html <ide> <inp...
1
Ruby
Ruby
skip this on oracle
a8dae084c9c1250d7d4a5a70800114b57fbceff6
<ide><path>activerecord/test/cases/calculations_test.rb <ide> def test_should_limit_calculation_with_offset <ide> end <ide> <ide> def test_limit_with_offset_is_kept <add> return if current_adapter?(:OracleAdapter) <add> <ide> queries = assert_sql { Account.limit(1).offset(1).count } <ide> assert_equal 1...
1
Java
Java
cancel webasyncmanager thread on request timeout
8b7a670821793a1bd15cea0fb388deaf88cd2d0e
<ide><path>spring-web/src/main/java/org/springframework/web/context/request/async/CallableInterceptorChain.java <ide> <ide> import java.util.List; <ide> import java.util.concurrent.Callable; <add>import java.util.concurrent.Future; <ide> <ide> import org.apache.commons.logging.Log; <ide> import org.apache.commons.log...
3
Text
Text
update translation flood-fill
45658e77fb5437d94af6b6ebe4d918d0e70e2b0c
<ide><path>guide/portuguese/algorithms/flood-fill/index.md <ide> localeTitle: Algoritmo de preenchimento de inundações <ide> <ide> O preenchimento de inundação é um algoritmo usado principalmente para determinar uma área limitada conectada a um determinado nó em uma matriz multidimensional. Isto é uma grande semelhanç...
1
Javascript
Javascript
add more settings to test-benchmark-dgram
098b5b6ee3a2b28e24f3f5adc89615db172d7369
<ide><path>test/parallel/test-benchmark-dgram.js <ide> require('../common'); <ide> <ide> const runBenchmark = require('../common/benchmark'); <ide> <del>runBenchmark('dgram', ['dur=0.1', 'chunks=2']); <add>runBenchmark('dgram', ['address=true', <add> 'chunks=2', <add> 'dur=...
1
Javascript
Javascript
remove unneeded unit test
46140fbf72674be5e8d5facb24e3d77eea0969d2
<ide><path>test/Stats.unittest.js <ide> const packageJson = require("../package.json"); <ide> describe( <ide> "Stats", <ide> () => { <del> describe("formatFilePath", () => { <del> it("emit the file path and request", () => { <del> const mockStats = new Stats({ <del> children: [], <del> errors: ["firstEr...
1
Javascript
Javascript
use global or this instead of window
265430d2d65cb962896aebf77cd9ba994e4c8f04
<ide><path>locale/af.js <ide> } else if (typeof exports === 'object') { <ide> module.exports = factory(require('../moment')); // Node <ide> } else { <del> factory(window.moment); // Browser global <add> factory((typeof global !== undefined ? global : this).moment); // Browser global <ide> ...
78
Ruby
Ruby
fix docs for singleton resources
c49cd7f18afb7fdc116290416d744c152018bb6d
<ide><path>actionpack/lib/action_controller/resources.rb <ide> def resources(*entities, &block) <ide> # controllers and views. <tt>map.resource :account</tt> produces the following named routes and helpers: <ide> # <ide> # Named Route Helpers <del> # account account_url(id), hash_for_account...
1
Text
Text
add changelog for 0.70
9c05f42d7fb085ff85c964c46b86fbac8bdbbec6
<ide><path>CHANGELOG.md <ide> # Changelog <ide> <add>## 0.70.0 <add> <add>### Breaking <add> <add>- Remove jest/preprocessor from the react-native package ([0301cb285b](https://github.com/facebook/react-native/commit/0301cb285b2e85b48a397fe58d565196654d9754) by [@motiz88](https://github.com/motiz88)) <add>- Remove non...
1
Text
Text
specify shape of post elements
7e38ce1dd048d66e4686082d8d2070ea8b38f020
<ide><path>docs/advanced/ExampleRedditAPI.md <ide> export default class Posts extends Component { <ide> } <ide> <ide> Posts.propTypes = { <del> posts: PropTypes.array.isRequired <add> posts: PropTypes.arrayOf(PropTypes.shape({ <add> title: PropTypes.string.isRequired <add> }).isRequired).isRequired <ide> } <ide>...
1
Ruby
Ruby
fix rubocop offense
1933fbaecf5efa982c4214fed51d88d120ffe236
<ide><path>activesupport/lib/active_support/subscriber.rb <ide> def start(name, id, payload) <ide> end <ide> <ide> def finish(name, id, payload) <del> event = event_stack.pop <add> event = event_stack.pop <ide> event.finish! <ide> event.payload.merge!(payload) <ide>
1
PHP
PHP
return $this instead of void
aded1d39c0d2d1ea8e22ce8b236169d41db488ca
<ide><path>src/View/Form/ContextFactory.php <ide> public static function createWithDefaults(array $providers = []) <ide> * can be used to overwrite existing providers. <ide> * @param callable $check A callable that returns an object <ide> * when the form context is the correct type. <del> * @retu...
1
Python
Python
add equality support for project/modelstate
05656f2388b1989c9e99e1ff2aae8b2e1c805af2
<ide><path>django/db/migrations/state.py <ide> def from_app_cache(cls, app_cache): <ide> models[(model_state.app_label, model_state.name.lower())] = model_state <ide> return cls(models) <ide> <add> def __eq__(self, other): <add> if set(self.models.keys()) != set(other.models.keys()): <add...
2
Ruby
Ruby
fix rubocop warnings
990ee4f36c1d65f712c3ff05ba011cf8d92cba32
<ide><path>Library/Homebrew/cmd/info.rb <ide> def print_info <ide> end <ide> else <ide> ARGV.named.each_with_index do |f, i| <del> puts unless i == 0 <add> puts unless i.zero? <ide> begin <ide> if f.include?("/") || File.exist?(f) <ide> info_formula Formulary....
1
Javascript
Javascript
use spec reporter to know which specs hang
fe8aabd908d6038b9b0474f6449835807fbcf262
<ide><path>spec/main-process/mocha-test-runner.js <ide> import {assert} from 'chai' <ide> export default function (testPaths) { <ide> global.assert = assert <ide> <del> const mocha = new Mocha({reporter: 'dot'}) <add> const mocha = new Mocha({reporter: 'spec'}) <ide> for (let testPath of testPaths) { <ide> i...
1
Javascript
Javascript
convert the dateadapter to es6
dac52d189e362fa6463bce2f3985b2cd934bb03d
<ide><path>src/core/core.adapters.js <ide> <ide> 'use strict'; <ide> <del>import helpers from '../helpers'; <add>import {extend} from '../helpers/helpers.core'; <ide> <add>/** <add> * @return {*} <add> */ <ide> function abstract() { <del> throw new Error( <del> 'This method is not implemented: either no adapter can...
1
Text
Text
add html example code and a codepen link
bc5d441b217d931d5a913c5b04d19f4781fb41d3
<ide><path>guide/english/certifications/responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field/index.md <ide> title: Add Placeholder Text to a Text Field <ide> <ide> `placeholder` is an attribute, not a tag. It can be used together with the attribute `text` of the `input` tag to create a text ...
1
Javascript
Javascript
avoid bool coercion in `registry`
a8a8059de482d6f636b99d1d1c82c5341a4da684
<ide><path>packages/container/lib/registry.js <ide> export default class Registry { <ide> resolve(fullName, options) { <ide> assert('fullName must be a proper full name', this.validateFullName(fullName)); <ide> let factory = resolve(this, this.normalize(fullName), options); <del> if (factory === undefined ...
1
Javascript
Javascript
remove registerwidget and use event instead
e0c9551fd7c716d9d71ed6f4f1d2f5911f53032c
<ide><path>src/directive/form.js <ide> function FormController($scope, name) { <ide> $scope.$on('$destroy', function(event, widget) { <ide> if (!widget) return; <ide> <del> if (widget.widgetId) { <add> if (widget.widgetId && form[widget.widgetId] === widget) { <ide> delete form[widget.widgetId]; <ide...
3
Go
Go
move pkg/templates away
9ef3b535974612b137abae062b7a8a0f7e969871
<ide><path>daemon/logger/awslogs/cloudwatchlogs.go <ide> package awslogs <ide> <ide> import ( <del> "bytes" <ide> "fmt" <ide> "os" <ide> "regexp" <ide> import ( <ide> "github.com/docker/docker/daemon/logger" <ide> "github.com/docker/docker/daemon/logger/loggerutils" <ide> "github.com/docker/docker/dockerversion"...
6
Python
Python
remove six dependency for dictionnaries iterators
545b75f9e221d84f4470df657493dd63c92f6c6a
<ide><path>object_detection/utils/visualization_utils.py <ide> import PIL.ImageColor as ImageColor <ide> import PIL.ImageDraw as ImageDraw <ide> import PIL.ImageFont as ImageFont <del>import six <ide> import tensorflow as tf <ide> <ide> <ide> def visualize_boxes_and_labels_on_image_array(image, <ide> cl...
1
Javascript
Javascript
fix an issue wher buffers don't get deleted
1c568ed1f547b94b2aa5315ec24a91ec34fe5e13
<ide><path>src/renderers/webgl/WebGLGeometries.js <ide> * @author mrdoob / http://mrdoob.com/ <ide> */ <ide> <del>THREE.WebGLGeometries = function ( gl, info ) { <add>THREE.WebGLGeometries = function ( gl,properties, info ) { <ide> <ide> var geometries = {}; <ide> <ide> THREE.WebGLGeometries = function ( gl, info )...
2
Python
Python
add python 3.7 to classifiers.
de3929fb3334262bbf57980fff41d3f8c6f2b8b4
<ide><path>setup.py <ide> def get_version(package): <ide> 'Programming Language :: Python :: 3.4', <ide> 'Programming Language :: Python :: 3.5', <ide> 'Programming Language :: Python :: 3.6', <add> 'Programming Language :: Python :: 3.7', <ide> 'Topic :: Internet :: WWW/HTTP', <i...
1
Ruby
Ruby
use stable branch for --edge option when possible
776277080552e110df504fe36f6ecb32a8d165de
<ide><path>railties/lib/rails/generators/app_base.rb <ide> def rails_gemfile_entry <ide> GemfileEntry.path("rails", Rails::Generators::RAILS_DEV_PATH) <ide> ] <ide> elsif options.edge? <add> edge_branch = Rails.gem_version.prerelease? ? "main" : [*Rails.gem_version.segments.first(...
3
Javascript
Javascript
remove rkmodal and portal
551c154261a29bd0a209bd00f7c086f80664c3ff
<ide><path>Libraries/Portal/Portal.js <del>/** <del> * Copyright (c) 2013-present, Facebook, Inc. <del> * All rights reserved. <del> * <del> * This source code is licensed under the BSD-style license found in the <del> * LICENSE file in the root directory of this source tree. An additional grant <del> * of patent right...
2
Javascript
Javascript
use async directory processing in cp()
d0c11765331edc457a3f5023c21cbe3f89fa6d17
<ide><path>lib/internal/fs/cp/cp-sync.js <ide> const { <ide> existsSync, <ide> lstatSync, <ide> mkdirSync, <del> readdirSync, <add> opendirSync, <ide> readlinkSync, <ide> statSync, <ide> symlinkSync, <ide> function mkDirAndCopy(srcMode, src, dest, opts) { <ide> } <ide> <ide> function copyDir(src, dest, o...
2
Python
Python
use getter setter
1b21c9c4edd6fcc8a948726c1b3641f18de63354
<ide><path>keras/optimizer_v2/optimizer_v2.py <ide> def apply_grad_to_update_var(var, grad): <ide> # context. (eager updates execute immediately) <ide> with backend._current_graph(update_ops).as_default(): # pylint: disable=protected-access <ide> with tf.control_dependencies([tf.group(update_...
1
Java
Java
replace remaining use of block operator
4454ffd2b103b939a890ea7330bf192a32eec622
<ide><path>spring-web/src/test/java/org/springframework/http/server/reactive/MultipartIntegrationTests.java <ide> <ide> import org.junit.Test; <ide> import reactor.core.publisher.Mono; <add>import reactor.test.StepVerifier; <ide> <ide> import org.springframework.core.io.ClassPathResource; <del>import org.springframew...
3
Javascript
Javascript
use synclane for discrete event hydration
1fafac002838ad2d75ee9eca527c356b040285ff
<ide><path>packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js <ide> describe('ReactDOMServerPartialHydration', () => { <ide> expect(container.textContent).toBe('Click meHello'); <ide> <ide> // We're now partially hydrated. <del> a.click(); <add> await act(async () => { <add>...
5
Text
Text
clarify http.clientrequest path description
2e125cc2f3979817bc61c8445af56205935634b2
<ide><path>doc/api/http.md <ide> Limits maximum response headers count. If set to 0, no limit will be applied. <ide> added: v0.4.0 <ide> --> <ide> <del>* {string} The request path. Read-only. <add>* {string} The request path. <ide> <ide> ### request.removeHeader(name) <ide> <!-- YAML
1
Python
Python
fix some doctests
1763770bd9e0d487cc12fe0624abd30a9c3b4cfb
<ide><path>src/transformers/models/regnet/modeling_regnet.py <ide> <ide> # Image classification docstring <ide> _IMAGE_CLASS_CHECKPOINT = "facebook/regnet-y-040" <del>_IMAGE_CLASS_EXPECTED_OUTPUT = "'tabby, tabby cat'" <add>_IMAGE_CLASS_EXPECTED_OUTPUT = "tabby, tabby cat" <ide> <ide> REGNET_PRETRAINED_MODEL_ARCHIVE_...
3
Text
Text
update documentation location
c294c94c029259f7e0fa12a45d858950b5d43466
<ide><path>README.md <ide> <ide> ![atom](https://s3.amazonaws.com/speakeasy/apps/icons/27/medium/7db16e44-ba57-11e2-8c6f-981faf658e00.png) <ide> <del>Check out our [documentation on the docs tab](https://github.com/github/atom/docs). <add>Check out our [documentation in this <add>repo](https://github.com/github/atom/...
1
Javascript
Javascript
fix merge error
e35332611f8bedbb3ab2ce51c8f8969fa6547072
<ide><path>packages/ember-handlebars/tests/views/collection_view_test.js <ide> test("should give its item views the property specified by itemPropertyBinding", <ide> equal(view.$('ul li').length, 3, "adds 3 itemView"); <ide> <ide> view.$('ul li').each(function(i, li){ <del> equals($(li).text(), "baz", "creates ...
1
Javascript
Javascript
add tests for camera
761f98dd5b79868d75468a7388a0cd83c74c4d09
<ide><path>test/unit/cameras/Camera.js <ide> module( "Camera" ); <ide> <ide> test( "lookAt", function() { <del> var obj = new THREE.Camera(); <del> obj.lookAt(new THREE.Vector3(0, 1, -1)); <add> var cam = new THREE.Camera(); <add> cam.lookAt(new THREE.Vector3(0, 1, -1)); <ide> <del> ok( obj.rotation.x * (180 / Math.P...
1
Ruby
Ruby
generate a new key for each service test
56b9d0fd3a281f97463edf556d0f4b6b283d715d
<ide><path>activestorage/test/service/azure_storage_service_test.rb <ide> class ActiveStorage::Service::AzureStorageServiceTest < ActiveSupport::TestCase <ide> include ActiveStorage::Service::SharedServiceTests <ide> <ide> test "signed URL generation" do <del> url = @service.url(FIXTURE_KEY, expires_in: 5...
6
Ruby
Ruby
extract method in github module
5439813c2712ab02191dfeb77df589d2a001e93b
<ide><path>Library/Homebrew/utils.rb <ide> def open url, headers={}, &block <ide> end <ide> end <ide> <add> def each_issue_matching(query, &block) <add> uri = URI.parse("https://api.github.com/legacy/issues/search/mxcl/homebrew/open/#{query}") <add> open(uri) { |f| Utils::JSON.load(f.read)['issues'].each(...
1