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
add onpressin & onpressout props to text
1d924549cad75912191005c8f68dd73e15b07183
<ide><path>Libraries/Text/Text.js <ide> const Text: React.AbstractComponent< <ide> ellipsizeMode, <ide> onLongPress, <ide> onPress, <add> onPressIn, <add> onPressOut, <ide> onResponderGrant, <ide> onResponderMove, <ide> onResponderRelease, <ide> const Text: React.AbstractComponent< <ide> ...
2
Javascript
Javascript
add location change on successful job creation
d6f21b01e61ee42eb16c5f8e283617d4cffb0768
<ide><path>common/app/routes/Jobs/redux/save-job-saga.js <ide> import { Observable } from 'rx'; <add>import { push } from 'react-router-redux'; <ide> <ide> import { saveJobCompleted } from './actions'; <ide> import { saveJob } from './types'; <ide> export default ({ services }) => ({ dispatch }) => next => { <ide> ...
1
Text
Text
fix modelfield docs. closes #909
ffa27b840f66d24562de9f66a9ac7a4142da51db
<ide><path>docs/api-guide/fields.md <ide> A field that supports both read and write operations. By itself `WritableField` <ide> <ide> A generic field that can be tied to any arbitrary model field. The `ModelField` class delegates the task of serialization/deserialization to it's associated model field. This field c...
2
Go
Go
catch error on console creation
93f6cf035156d3b17cbf61f1a61926c068bd8e92
<ide><path>daemon/execdriver/native/driver.go <ide> func (d *driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, startCallba <ide> } else { <ide> term, err = execdriver.NewStdConsole(c, pipes) <ide> } <add> if err != nil { <add> return -1, err <add> } <ide> c.Terminal = term <ide> <ide> d.Lock()
1
Ruby
Ruby
add convenience methods for checking migrations
e5b39862cb4f8f3097cc8ab2dc606ddb1bd1febb
<ide><path>activerecord/lib/active_record/migration.rb <ide> def current_version <ide> end <ide> end <ide> <add> def needs_migration? <add> current_version != last_version <add> end <add> <add> def last_version <add> migrations(migrations_paths).last.try(:version)||0 <add> ...
2
PHP
PHP
remove test that wasn't reverted properly
288a307a42dbc67a93cd2e6e57d01dc67e096714
<ide><path>tests/TestCase/Error/Middleware/ErrorHandlerMiddlewareTest.php <ide> public function testHandleException() <ide> $this->assertContains('was not found', '' . $result->getBody()); <ide> } <ide> <del> /** <del> * Test rendering an error page holds onto the original request. <del> * <del>...
1
Python
Python
fix typo in test_dask_executor.py
f957de622e6b87567b874cdcd64e5a1f95143e0d
<ide><path>tests/executors/test_dask_executor.py <ide> def assert_tasks_on_executor(self, executor): <ide> if timezone.utcnow() > timeout: <ide> raise ValueError( <ide> 'The futures should have finished; there is probably ' <del> 'an error communciating...
1
Java
Java
fix event dispatcher timestamp sorting bug
f5a349021d3e9ccaf1a1590dc984c0ea16a177ca
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/events/EventDispatcher.java <ide> <ide> import java.util.ArrayList; <ide> import java.util.Arrays; <del>import java.util.Collections; <ide> import java.util.Comparator; <ide> import java.util.Map; <ide> <ide> public int compare(Event lhs, Event rhs) {...
1
Text
Text
add changelog for 15.6.2
e858ed5b14fe5f511ad2d2146e1607c84e308ca6
<ide><path>CHANGELOG.md <ide> <ide> </details> <ide> <add>## 15.6.2 (September 25, 2017) <add> <add>### All Packages <add>* Switch from BSD + Patents to MIT license <add> <add>### React DOM <add> <add>* Fix a bug where modifying `document.documentMode` would trigger IE detection in other browsers, breaking change eve...
1
Javascript
Javascript
add a space in donate text
033606ec8d15699deb2860256d19d3241f4c4d43
<ide><path>client/src/components/Supporters.js <ide> function Supporters({ isDonating, activeDonations }) { <ide> them to join the community. <ide> </Fragment> <ide> ) : ( <del> `Join ${donationsLocale} supporters. Your $5 / month` + <add> `Join ${dona...
1
Javascript
Javascript
remove special case for ngif and ngrepeat
5b620653f61ae3d9f1de8346de271752fa12f26f
<ide><path>src/ng/compile.js <ide> function $CompileProvider($provide) { <ide> } <ide> <ide> if (directiveValue = directive.transclude) { <del> // Special case ngRepeat so that we don't complain about duplicate transclusion, ngRepeat <del> // knows how to handle this on its own. <del>...
3
Ruby
Ruby
handle non-ascii output encoded as ascii
03488424cb8faf5d82f81767fa9a1442d5ce386a
<ide><path>Library/Contributions/cmd/brew-test-bot.rb <ide> def run <ide> failure = testcase.add_element 'failure' if step.failed? <ide> if step.has_output? <ide> # Remove invalid XML CData characters from step output. <del> output = REXML::CData.new step.output.delete("\000\a\b\e\f") <add> ...
1
Ruby
Ruby
apply suggestions from code review
457de40117188880f15a864d1ac3dd437274ea07
<ide><path>Library/Homebrew/extend/os/mac/keg_relocate.rb <ide> def prepare_relocation_to_locations <ide> end <ide> relocation.add_replacement_pair(:perl, PERL_PLACEHOLDER, perl_path) <ide> <del> openjdk = openjdk_dep_name_if_applicable <del> if openjdk <add> if (openjdk = openjdk_dep_name_if_applicab...
2
Javascript
Javascript
update sc reference to ember
86edd79b43134c8d20490b6979f6a21f8b77b39c
<ide><path>packages/ember-states/tests/state_manager_test.js <ide> test("it automatically transitions to a default state specified using the initia <ide> }); <ide> <ide> test("it reports the view associated with the current view state, if any", function() { <del> var view = SC.View.create(); <add> var view = Ember.V...
1
Javascript
Javascript
have faith in var hoisting
af95b35f27a16a9e1714c5e8efd2cd79e3f56b42
<ide><path>src/test/all.js <ide> require("./mock-timers"); <ide> <ide> exports.enableTest = function(testID) { <ide> describe(testID, function() { <del> var mockMap; <ide> beforeEach(function() { <ide> require("mock-modules").setMockMap(mockMap); <ide> }); <ide> <ide> require("mock-modules").cl...
1
Go
Go
fix minor typo
d56c2ea9edf0a6f5abfb5be8d241ecf8375054ff
<ide><path>libcontainerd/types_windows.go <ide> type Stats struct{} <ide> // Resources defines updatable container resource values. <ide> type Resources struct{} <ide> <del>// ServicingOption is an empty CreateOption with a no-op application that siginifies <del>// the container needs to be use for a Windows servicing...
1
Go
Go
remove manifest v2 schema 1 push tests
238180d292a27a4b7b7bb669867e04236b4acc43
<ide><path>integration-cli/docker_cli_push_test.go <ide> import ( <ide> "gotest.tools/v3/icmd" <ide> ) <ide> <del>// Pushing an image to a private registry. <del>func testPushBusyboxImage(c *testing.T) { <add>func (s *DockerRegistrySuite) TestPushBusyboxImage(c *testing.T) { <ide> repoName := fmt.Sprintf("%v/dockerc...
1
Javascript
Javascript
make tls.checkserveridentity() more strict
c34e58e68416b34a976dfae72c7123b3b334a6b0
<ide><path>lib/tls.js <ide> exports.convertALPNProtocols = function(protocols, out) { <ide> } <ide> }; <ide> <del>exports.checkServerIdentity = function checkServerIdentity(host, cert) { <del> // Create regexp to much hostnames <del> function regexpify(host, wildcards) { <del> // Add trailing dot (make hostname...
2
Ruby
Ruby
remove redundant namespacing
33ce424399b429be79c8cc6f009fd14530350721
<ide><path>Library/Homebrew/cask/audit.rb <ide> def check_untrusted_pkg <ide> return if tap.nil? <ide> return if tap.user != "Homebrew" <ide> <del> return unless cask.artifacts.any? { |k| k.is_a?(Hbc::Artifact::Pkg) && k.stanza_options.key?(:allow_untrusted) } <add> return unless cask.artifacts.a...
3
Ruby
Ruby
read runtime dependencies from more tabs
191724ce83b165479e2663625cf18ef4b50c11ee
<ide><path>Library/Homebrew/formula.rb <ide> def opt_or_installed_prefix_keg <ide> # @private <ide> def runtime_dependencies(read_from_tab: true) <ide> if read_from_tab && <del> installed_prefix.directory? && <ide> (keg = opt_or_installed_prefix_keg) && <ide> (tab_deps = keg.runtime_dependen...
1
Javascript
Javascript
stop editor competing with modal for focus
c483940da090d3ded148dfc6c179f6d6d352a768
<ide><path>client/src/templates/Challenges/classic/Editor.js <ide> import { connect } from 'react-redux'; <ide> import { createSelector } from 'reselect'; <ide> <ide> import { executeChallenge, updateFile } from '../redux'; <del>import { userSelector } from '../../../redux'; <add>import { userSelector, isDonationModal...
1
Python
Python
remove v2 test
5424b70e51277049fac470a5c5458830202d03f0
<ide><path>spacy/tests/test_misc.py <ide> def test_load_model_blank_shortcut(): <ide> util.load_model("blank:fjsfijsdof") <ide> <ide> <del>def test_load_model_version_compat(): <del> """Test warnings for various spacy_version specifications in meta. Since <del> this is more of a hack for v2, manually sp...
1
Ruby
Ruby
add tests which were incorrectly removed
b8d8ce7ba8e5e83e9b41e48fb6ef449bd36a97e3
<ide><path>railties/lib/rails/generators/erb/mailer/mailer_generator.rb <ide> def copy_view_files <ide> @action = action <ide> <ide> formats.each do |format| <del> @view_path = File.join(view_base_path, filename_with_extensions(action, format)) <del> template filename_with_ext...
3
Javascript
Javascript
improve allocation performance
13a4887ee94d61d990dd22100aa7c17c39e3200a
<ide><path>benchmark/buffers/buffer-from.js <ide> const bench = common.createBenchmark(main, { <ide> 'buffer', <ide> 'uint8array', <ide> 'string', <del> 'string-base64' <add> 'string-base64', <add> 'object' <ide> ], <ide> len: [10, 2048], <ide> n: [1024] <ide> function main(conf) { <ide> co...
2
Python
Python
clarify docs of np.resize()
2eb0b12b75363f539870a09e155bf8e7a6ca8afa
<ide><path>numpy/core/fromnumeric.py <ide> def resize(a, new_shape): <ide> reshaped_array : ndarray <ide> The new array is formed from the data in the old array, repeated <ide> if necessary to fill out the required number of elements. The <del> data are repeated in the order that they are st...
1
Java
Java
use unmodifiable set in abstractsockjssession
b42f258c54c84fe268002394ce37d8a2b8aed83d
<ide><path>spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/session/AbstractSockJsSession.java <ide> import java.util.Arrays; <ide> import java.util.Collections; <ide> import java.util.Date; <del>import java.util.HashMap; <add>import java.util.HashSet; <ide> import java.util.List; <ide> im...
1
Javascript
Javascript
fix typo in common/index.js
74cd70e568dafefdf16845e2e7738d053456d290
<ide><path>test/common/index.js <ide> const process = global.process; // Some tests tamper with the process global. <ide> const assert = require('assert'); <ide> const { exec, execSync, spawnSync } = require('child_process'); <ide> const fs = require('fs'); <del>// Do not require 'os' until needed so that test-os-chec...
1
Javascript
Javascript
use cmap.foreach instead of array.foreach
b0a8c0fa400d6e236c16f0c733eb0324d38e430f
<ide><path>src/core/evaluator.js <ide> var PartialEvaluator = (function PartialEvaluatorClosure() { <ide> if (cmap instanceof IdentityCMap) { <ide> return new IdentityToUnicodeMap(0, 0xFFFF); <ide> } <del> cmap = cmap.getMap(); <add> var map = []; <ide> // Convert UTF-16B...
1
Python
Python
fix pipeline tests
70fa1a8d2652fea2e079bb253fa62d478d00647c
<ide><path>src/transformers/pipelines/__init__.py <ide> def pipeline( <ide> <ide> # Retrieve the task <ide> if task in custom_tasks: <add> normalized_task = task <ide> targeted_task, task_options = clean_custom_task(custom_tasks[task]) <ide> if pipeline_class is None: <ide> i...
3
Text
Text
fix nits in dgram.md
ddcd2359f4adc9fe34e793ad5c1ed33ce500eed7
<ide><path>doc/api/dgram.md <ide> properties. <ide> ### socket.bind([port][, address][, callback]) <ide> <!-- YAML <ide> added: v0.1.99 <add>changes: <add> - version: v0.10 <add> description: The method was changed to an asynchronous execution model. <add> Legacy code would need to be changed to pas...
1
Java
Java
upgrade test to hibernate 5.2
016fa0eb39ac38d95f90bf62bce69aebf17c8f3e
<ide><path>spring-test/src/test/java/org/springframework/test/context/junit4/orm/repository/hibernate/HibernatePersonRepository.java <ide> /* <del> * Copyright 2002-2012 the original author or authors. <add> * Copyright 2002-2016 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Versi...
1
Ruby
Ruby
add generic flag. (#212)
bb7226060681d287619981940a78302beed1c1d6
<ide><path>Library/Homebrew/cmd/tests.rb <ide> def tests <ide> ENV["HOMEBREW_NO_ANALYTICS_THIS_RUN"] = "1" <ide> ENV["TESTOPTS"] = "-v" if ARGV.verbose? <ide> ENV["HOMEBREW_NO_COMPAT"] = "1" if ARGV.include? "--no-compat" <add> ENV["HOMEBREW_TEST_GENERIC_OS"] = "1" if ARGV.include? "--generic" <i...
1
Java
Java
fix typo in @componentscan javadoc
352ed517c5fd74f3549a36050c325b8a3fc00f28
<ide><path>spring-context/src/main/java/org/springframework/context/annotation/ComponentScan.java <ide> <ide> /** <ide> * Declares the type filter to be used as an {@linkplain ComponentScan#includeFilters() <del> * include filter} or {@linkplain ComponentScan#includeFilters() exclude filter}. <add> * include filt...
1
Text
Text
improve blurb about angularjs in readme.md
d3952b79c7d3fe024ba2cf886dc9225d3107d342
<ide><path>README.md <ide> synchronizes data from your UI (view) with your JavaScript objects (model) throu <ide> binding. To help you structure your application better and make it easy to test AngularJS teaches <ide> the browser how to do dependency injection and inversion of control. Oh yeah and it also helps with <i...
1
Javascript
Javascript
add a cache system to limit the amount of ram used
26bf2735fdacf9112975b30ba82314e8efd74ffd
<ide><path>web/viewer.js <ide> var kDefaultURL = 'compressed.tracemonkey-pldi-09.pdf'; <ide> var kDefaultScale = 150; <ide> <add>var kCacheSize = 20; <add> <add>var Cache = function(size) { <add> var data = []; <add> this.push = function(view) { <add> data.push(view); <add> if (data.length > size) <add> d...
1
Ruby
Ruby
ignore spill for certain system paths
80b555057c6518a27afb22aa8098910ed77984ac
<ide><path>Library/Homebrew/beer_events.rb <ide> def watch_out_for_spill <ide> spill = events.map { |e| e.files }.flatten <ide> spill.reject! { |f| File.mtime(f) < start } <ide> spill.reject! { |path| path =~ /^#{HOMEBREW_PREFIX}/ } <add> # irrelevent files that change a lot <add> spill.reje...
1
Text
Text
fix typos and auto-format [ci skip]
a9e5b840ee43746cd39213da9d27a01188be1904
<ide><path>website/docs/api/goldparse.md <ide> expects true examples of a label to have the value `1.0`, and negative examples <ide> of a label to have the value `0.0`. Labels not in the dictionary are treated as <ide> missing – the gradient for those labels will be zero. <ide> <del>| Name | Type | Descr...
2
PHP
PHP
remove unused use
eb61dd8a936c0a5a610a329c6b96c5f7d3a44bb3
<ide><path>tests/TestCase/ORM/TableTest.php <ide> use Cake\Event\Event; <ide> use Cake\Event\EventManager; <ide> use Cake\I18n\Time; <del>use Cake\ORM\Association\BelongsTo; <ide> use Cake\ORM\AssociationCollection; <ide> use Cake\ORM\Association\BelongsToMany; <ide> use Cake\ORM\Association\HasMany;
1
Ruby
Ruby
remove autoload for non-existent file
8d827325d08e2e080be3d1ed4a827eaa97d20bf9
<ide><path>actionpack/lib/action_dispatch/routing.rb <ide> module ActionDispatch <ide> # <ide> module Routing <ide> autoload :Mapper, 'action_dispatch/routing/mapper' <del> autoload :Route, 'action_dispatch/routing/route' <ide> autoload :RouteSet, 'action_dispatch/routing/route_set' <ide> autoload :R...
1
Ruby
Ruby
use real repo to run tests
6278e08aec7697f15bfdc1c9a1032f8612f5357b
<ide><path>Library/Homebrew/test/test_ENV.rb <ide> def setup <ide> class SuperenvTests < Homebrew::TestCase <ide> include SharedEnvTests <ide> <del> attr_reader :env, :bin <del> <ide> def setup <ide> @env = {}.extend(Superenv) <del> @bin = HOMEBREW_REPOSITORY/"Library/ENV/#{MacOS::Xcode.version}" <del> ...
3
PHP
PHP
return the index instead of the choice
fbb24e5eadbb47152645e25d5b63bbdffe023058
<ide><path>src/Illuminate/Console/Command.php <ide> public function choice($question, array $choices, $default = null, $attempts = f <ide> { <ide> $dialog = $this->getHelperSet()->get('dialog'); <ide> <del> $choice = $dialog->select($this->output, "<question>$question</question>", $choices, $default, $attempts); <...
1
Java
Java
add more unit tests
46544c38c74e9df451a880ceaf460ad786d2c26e
<ide><path>rxjava-core/src/test/java/rx/ObservableTests.java <ide> public void testRangeWithScheduler() { <ide> <ide> @Test <ide> public void testStartWithAction() { <del> TestScheduler scheduler = new TestScheduler(); <del> <ide> Action0 action = mock(Action0.class); <del> Observable<Voi...
1
Text
Text
add v3.25.0-beta.5 to changelog
002e4e86a763c6814e8035b411d41e384d76f61f
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.25.0-beta.5 (February 02, 2021) <add> <add>- [#19370](https://github.com/emberjs/ember.js/pull/19370) [BUGFIX] Update glimmer-vm to prevent errors for older inline precompilation <add> <ide> ### v3.25.0-beta.4 (February 01, 2021) <ide> <ide> - [#19363]...
1
Java
Java
extend websocket scope to event publication
a99ef6d9b2ca77f60e2838ff20a7957254a80fc4
<ide><path>spring-websocket/src/main/java/org/springframework/web/socket/messaging/StompSubProtocolHandler.java <ide> public void handleMessageFromClient(WebSocketSession session, <ide> headerAccessor.setUser(session.getPrincipal()); <ide> headerAccessor.setImmutable(); <ide> <del> if (this.eventPublisher !...
1
Go
Go
fix benchmarks and remove more unnecessary code
a06ad2792ab92d4f246e4b4cc4c3529eb060651e
<ide><path>daemon/logger/jsonfilelog/jsonfilelog.go <ide> import ( <ide> "github.com/docker/docker/daemon/logger" <ide> "github.com/docker/docker/daemon/logger/loggerutils" <ide> "github.com/docker/docker/pkg/jsonlog" <del> "github.com/docker/go-units" <add> units "github.com/docker/go-units" <ide> "github.com/pkg/...
5
Python
Python
fix escaping of html in displacy ent (closes )
80bdcb99c54e5e84ee746a7633633d434cb3728b
<ide><path>spacy/displacy/render.py <ide> def render_ents(self, text, spans, title): <ide> label = span["label"] <ide> start = span["start"] <ide> end = span["end"] <del> entity = text[start:end] <add> entity = escape_html(text[start:end]) <ide> frag...
2
Python
Python
add api conversion interface for dropout layer
1606dc6a110ea49e9ea095ff88d684f87e398aa7
<ide><path>keras/layers/core.py <ide> class Dropout(Layer): <ide> # References <ide> - [Dropout: A Simple Way to Prevent Neural Networks from Overfitting](http://www.cs.toronto.edu/~rsalakhu/papers/srivastava14a.pdf) <ide> """ <del> <add> @interfaces.legacy_dropout_support <ide> def __init__(self...
3
Text
Text
add axes challenge
f991a487a1a715651ec01be9f512dece0bdd370a
<ide><path>guide/english/certifications/data-visualization/data-visualization-with-d3/add-axes-to-a-visualization/index.md <ide> title: Add Axes to a Visualization <ide> --- <ide> ## Add Axes to a Visualization <ide> <del>This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certificati...
1
PHP
PHP
update doc block
226c9dc2ba0c9f8d79f816e523eafd8f94f37dfe
<ide><path>src/Routing/Route/Route.php <ide> public function setMethods(array $methods) <ide> } <ide> <ide> /** <del> * Set routing key patterns for routing parameters <add> * Set regexp patterns for routing parameters <ide> * <ide> * @param array $patterns The patterns to apply to routing el...
1
Ruby
Ruby
remove unnecessary require
98e10209243b1048d2e9f7deca1494dc5096d352
<ide><path>activerecord/lib/active_record/middleware/shard_selector.rb <ide> # frozen_string_literal: true <ide> <del>require "active_record/middleware/database_selector/resolver" <del> <ide> module ActiveRecord <ide> module Middleware <ide> # The ShardSelector Middleware provides a framework for automatically
1
Javascript
Javascript
allow bound outlet names
6e63de48f3a94aa4ef3e76b484074807faa8df77
<ide><path>packages/ember-htmlbars/lib/keywords/real_outlet.js <ide> <ide> import { get } from "ember-metal/property_get"; <ide> import ComponentNode from "ember-htmlbars/system/component-node"; <del>import { isStream } from "ember-metal/streams/utils"; <ide> import topLevelViewTemplate from "ember-htmlbars/templates/...
2
Javascript
Javascript
upgrade tapable for compilation
7787b4ad132f7ee1deda8f57f6a06ed0b32d1b3b
<ide><path>lib/Compilation.js <ide> <ide> const asyncLib = require("async"); <ide> const util = require("util"); <del>const Tapable = require("tapable-old"); <add>const Tapable = require("tapable").Tapable; <add>const SyncHook = require("tapable").SyncHook; <add>const SyncBailHook = require("tapable").SyncBailHook; <a...
3
Ruby
Ruby
add a comment for sanity of other people to come
e7facb35eb67836d446283bcb7d15d665b1bb668
<ide><path>activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb <ide> def test_habtm_respects_select_query_method <ide> end <ide> <ide> def test_join_table_alias <add> # FIXME: `references` has no impact on the aliases generated for the join <add> # query. The fact that we pass ...
1
Javascript
Javascript
eliminate vestigial yes and no
dc40aa710789e5789802a9d5045ff5787fc75da4
<ide><path>packages/ember-handlebars/lib/helpers/binding.js <ide> EmberHandlebars.registerHelper('bindAttr', function(options) { <ide> change, the correct class name will be reapplied to the DOM element. <ide> <ide> For example, if you pass the string "fooBar", it will first look up the <del> "fooBar" value of th...
19
Text
Text
add pgp key
2d8c307a3cfdb85dd462ab6acc0f1d24015b1a38
<ide><path>README.md <ide> Second, read the [Troubleshooting Checklist](https://github.com/Homebrew/homebre <ide> ## Security <ide> Please report security issues to security@brew.sh. <ide> <add>This is our PGP key which is valid until June 17, 2016. <add>* Key ID: `CE59E297` <add>* Fingeprint: `C657 8F76 2E23 441E C87...
1
Text
Text
add pronouns for ofrobots
2a6ab9b37bdb3cecfe124f5ffeac5093e298d4df
<ide><path>README.md <ide> For more information about the governance of the Node.js project, see <ide> * [MylesBorins](https://github.com/MylesBorins) - <ide> **Myles Borins** &lt;myles.borins@gmail.com&gt; (he/him) <ide> * [ofrobots](https://github.com/ofrobots) - <del>**Ali Ijaz Sheikh** &lt;ofrobots@google.com&gt; <...
1
Text
Text
add v3.15.0-beta.3 to changelog
fbae785fefebc8935e33315e23e76682a42fbd75
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.15.0-beta.3 (November 18, 2019) <add> <add>- [#18549](https://github.com/emberjs/ember.js/pull/18549) [BUGFIX] Add component reference to the mouse event handler deprecation warnings <add> <ide> ### v3.15.0-beta.2 (November 11, 2019) <ide> <ide> - [#18...
1
PHP
PHP
add virtual fields into __debuginfo() output
d6b0f18366791d861ab2ab3fb37654a32109af13
<ide><path>src/Datasource/EntityTrait.php <ide> public function __toString() <ide> */ <ide> public function __debugInfo() <ide> { <del> return $this->_properties + [ <add> $properties = $this->_properties; <add> foreach ($this->_virtual as $field) { <add> $properties[$field]...
2
Python
Python
fix merge layer docstring
66e59447995bcdf0c2adad98766efa666fb2684f
<ide><path>keras/engine/topology.py <ide> class Merge(Layer): <ide> model1.add(Dense(32, input_dim=32)) <ide> <ide> model2 = Sequential() <del> model2.add(Dense(32)) <add> model2.add(Dense(32, input_dim=32)) <ide> <ide> merged_model = Sequential() <ide> merged_model.add(Merge([model1, model2], m...
1
Python
Python
add smallest_normal to the array api finfo
90537b5dac1d0c569baa794967b919ae4f6fdcca
<ide><path>numpy/array_api/_data_type_functions.py <ide> class finfo_object: <ide> eps: float <ide> max: float <ide> min: float <del> # Note: smallest_normal is part of the array API spec, but cannot be used <del> # until https://github.com/numpy/numpy/pull/18536 is merged. <del> <del> # smallest_n...
1
Text
Text
fix code snippet and typo in tutorial
994bed5819c3d444f3bf89ce23798cabdcd49d18
<ide><path>docs/tutorials/essentials/part-6-performance-normalization.md <ide> const notificationsSlice = createSlice({ <ide> }, <ide> extraReducers(builder) { <ide> builder.addCase(fetchNotifications.fulfilled, (state, action) => { <add> state.push(...action.payload) <ide> // highlight-start <ide> ...
1
Javascript
Javascript
remove unused variables and helper function
4fffc17412c126590d1bc4cce8a0620af5d3a419
<ide><path>packages/ember-metal/lib/events.js <ide> var o_create = Ember.create, <ide> metaFor = Ember.meta, <ide> META_KEY = Ember.META_KEY, <ide> /* listener flags */ <del> ONCE = 1, SUSPENDED = 2, IMMEDIATE = 4; <add> ONCE = 1, SUSPENDED = 2; <ide> <ide> /* <ide> The event system uses a series o...
7
Ruby
Ruby
add update migration for double dashes
4065c1742dbcfb1105827f89a0026fe8b4578da5
<ide><path>Library/Homebrew/cmd/update-report.rb <ide> def update_report <ide> end <ide> <ide> migrate_legacy_cache_if_necessary <add> migrate_cache_entries_to_double_dashes <ide> migrate_legacy_keg_symlinks_if_necessary <ide> <ide> if !updated <ide> def migrate_legacy_cache_if_necessary <ide> ...
1
Ruby
Ruby
add missing require
05b7b80bcaeeb0357cdb6143fbeca1b3c73b5fb9
<ide><path>activestorage/lib/active_storage/downloading.rb <ide> # frozen_string_literal: true <ide> <add>require "tmpdir" <add> <ide> module ActiveStorage <ide> module Downloading <ide> private <ide> # Opens a new tempfile in #tempdir and copies blob data into it. Yields the tempfile. <del> def downl...
1
Python
Python
adjust textcat model
c99a65307037440406a3b35d04440bb671e931d8
<ide><path>spacy/ml/models/textcat.py <ide> def build_text_classifier_lowdata(width, pretrained_vectors, dropout, nO=None): <ide> model = ( <ide> StaticVectors(width) <ide> >> list2ragged() <del> >> with_ragged(0, Linear(width, vector_dim)) <ide> >> ParametricAtten...
1
PHP
PHP
fix different format of $results in afterfind
c246695518ec87fc3b45e5c645cc9c79f7869d39
<ide><path>lib/Cake/Model/Datasource/DboSource.php <ide> public function queryAssociation(Model $Model, Model $LinkModel, $type, $associa <ide> $this->_mergeAssociation($row, $merge, $association, $type); <ide> } <ide> } else { <add> if (!$prefetched && $LinkModel->useConsistentAfterFind) { <add> ...
4
Text
Text
fix typo in challenge
5e5015e47d52f08de4c24019a704f6670bd3a5ef
<ide><path>curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-184-triangles-containing-the-origin.md <ide> How many triangles are there containing the origin in the interior and having al <ide> <ide> # --hints-- <ide> <del>`trianglesConttainingOrigin()` should return `1725323624056`. <add>`t...
1
Python
Python
remove mock to debug kokoro failures
63f5827dbfb791fe39be36d3d0357e37ceb45765
<ide><path>official/recommendation/data_test.py <ide> import hashlib <ide> import os <ide> <del>import mock <ide> import numpy as np <ide> import scipy.stats <ide> import tensorflow as tf <ide> def mock_download(*args, **kwargs): <ide> return <ide> <del># The forkpool used by data producers interacts badly with the...
1
Ruby
Ruby
add hardware.is_64_bit? method
e339a2a73ffa0e8e5a8d63ca49089a24ec2835e9
<ide><path>Library/Homebrew/hardware.rb <ide> def self.processor_count <ide> @@processor_count ||= `/usr/sbin/sysctl -n hw.ncpu`.to_i <ide> end <ide> <add> def self.is_64_bit? <add> self.sysctl_bool("hw.cpu64bit_capable") <add> end <add> <ide> protected <ide> def self.sysctl_bool(property) <ide> resul...
1
Ruby
Ruby
use new xcode module
4eeb0e64413065c2454c206a2733a8010204b45a
<ide><path>Library/Homebrew/cmd/doctor.rb <ide> def check_git_newline_settings <ide> end <ide> <ide> def check_for_autoconf <del> return if MacOS::Xcode.version >= "4.3" <add> return unless MacOS::Xcode.provides_autotools? <ide> <ide> autoconf = which('autoconf') <ide> safe_autoconfs = %w[/usr/bin/autoconf /Dev...
3
Text
Text
fix lint errors for docs/recipes/
fa27b7faaebe7ad01c7e475fcb8179b0e34b8c00
<ide><path>docs/recipes/ComputingDerivedData.md <ide> Let's revisit the [Todos List example](../basics/UsageWithReact.md): <ide> #### `containers/App.js` <ide> <ide> ```js <del>import React, { Component, PropTypes } from 'react'; <del>import { connect } from 'react-redux'; <del>import { addTodo, completeTodo, setVisib...
5
Mixed
Ruby
add the new index before removing the old one
6eba8d27e6feecca88303df6500ef6b376344e29
<ide><path>activerecord/CHANGELOG.md <add>* `rename_index` adds the new index before removing the old one. This allows <add> to rename indexes on columns with a foreign key and prevents the following error: <add> <add> `Cannot drop index 'index_engines_on_car_id': needed in a foreign key constraint` <add> <add>...
3
PHP
PHP
add a method to forget all queued event handlers
2e3f5533a77837aa1b2781bc5ffa9fce01846827
<ide><path>src/Illuminate/Events/Dispatcher.php <ide> public function forget($event) <ide> unset($this->listeners[$event], $this->sorted[$event]); <ide> } <ide> <add> /** <add> * Forget all of the queued listeners. <add> * <add> * @return void <add> */ <add> public function forgetQueued() <add> { <add> foreach...
2
PHP
PHP
send parameters as urlencoded by default
02228fc6351a0ca9bed68dad9583205eb9df6a83
<ide><path>src/Network/Http/Adapter/Stream.php <ide> protected function _buildContent(Request $request, $options) <ide> if (is_array($content)) { <ide> $formData = new FormData(); <ide> $formData->addMany($content); <del> $type = 'multipart/form-data; boundary="' . $formData->...
6
Python
Python
remove unittest dependencies in numpy/core/tests
a3d0647c4be537e064703087bf09208f9f9a67ba
<ide><path>numpy/core/tests/test_abc.py <ide> from __future__ import division, absolute_import, print_function <ide> <del>from numpy.testing import TestCase, assert_, run_module_suite <add>from numpy.testing import assert_, run_module_suite <ide> <ide> import numbers <ide> from numpy.core.numerictypes import sctypes ...
30
PHP
PHP
extend controller by default
0cd9ee1e90b66bdb2a3e4c385fa4b416e3ca8afa
<ide><path>app/Http/Controllers/Auth/AuthController.php <ide> <?php namespace App\Http\Controllers\Auth; <ide> <add>use Illuminate\Routing\Controller; <ide> use Illuminate\Contracts\Auth\Guard; <del> <ide> use App\Http\Requests\Auth\LoginRequest; <ide> use App\Http\Requests\Auth\RegisterRequest; <ide> <ide> /** <ide>...
4
Java
Java
add enablewebreactive + webreactiveconfigurer
3533024ab87468a9edcd95e762458e6af9516ba9
<ide><path>spring-web-reactive/src/main/java/org/springframework/web/reactive/config/DelegatingWebReactiveConfiguration.java <add>package org.springframework.web.reactive.config; <add> <add>import java.util.List; <add> <add>import org.springframework.beans.factory.annotation.Autowired; <add>import org.springframework.c...
16
Text
Text
add type for url parameter
ed1d0241db210f484beb1cc5ee5bd191816f0048
<ide><path>docs/api-reference/next/router.md <ide> Handles client-side transitions, this method is useful for cases where [`next/li <ide> router.push(url, as, options) <ide> ``` <ide> <del>- `url` - The URL to navigate to <del>- `as` - Optional decorator for the path that will be shown in the browser URL bar. Before N...
1
Ruby
Ruby
fix ember-source to handle non-rcs
b0ca8033ac69e2c4e6dcdc08f036dc317079b705
<ide><path>lib/ember/version.rb <ide> module Ember <ide> # we might want to unify this with the ember version string, <ide> # but consistency? <ide> def rubygems_version_string <del> major, rc = VERSION.sub('-','.').scan(/(\d+\.\d+\.\d+\.rc)\.(\d+)/).first <add> if VERSION =~ /rc/ <add> major, rc = VER...
1
Javascript
Javascript
move reactelementvalidator to __dev__ block
d955ee9fae71e2037e9c876e2ab8cb537a8c7e43
<ide><path>src/isomorphic/React.js <ide> var ReactComponent = require('ReactComponent'); <ide> var ReactClass = require('ReactClass'); <ide> var ReactDOMFactories = require('ReactDOMFactories'); <ide> var ReactElement = require('ReactElement'); <del>var ReactElementValidator = require('ReactElementValidator'); <ide> va...
2
Ruby
Ruby
fix periodic timers
60173338ee0fb1667e226927e0034d50e3dd9d5a
<ide><path>lib/action_cable/channel/base.rb <ide> class Base <ide> <ide> on_unsubscribe :disconnect <ide> <del> attr_reader :params <add> attr_reader :params, :connection <ide> <ide> class_attribute :channel_name <ide> <ide> def disconnect <ide> end <ide> <ide> def broadcast(d...
1
Javascript
Javascript
remove unused webpack
36ba3c19d40d8a825a3fc38c8efcdc16a7796af3
<ide><path>webpack.config.base.js <ide> 'use strict'; <ide> <del>var webpack = require('webpack'); <del> <ide> module.exports = { <ide> module: { <ide> loaders: [
1
Text
Text
add pcmpl-homebrew for homebrew emacs plugin
30779c32838bdcad3d6bb5ecb6833962cbde6657
<ide><path>docs/Tips-N'-Tricks.md <ide> inline patches in Vim. <ide> highlighting for inline patches as well as a number of helper functions <ide> for editing formula files. <ide> <add>[pcmpl-homebrew](https://github.com/hiddenlotus/pcmpl-homebrew) provides completion <add>for emacs shell-mode and eshell-mode. <add> <...
1
Text
Text
fix module.children description
98117a84d9e98246c48d2b61d08f02ce575545ee
<ide><path>doc/api/modules.md <ide> added: v0.1.16 <ide> <ide> * {module[]} <ide> <del>The module objects required by this one. <add>The module objects required for the first time by this one. <ide> <ide> ### module.exports <ide> <!-- YAML
1
Javascript
Javascript
remove duplicate checks in pummel/test-timers
986ae1e96b7bcf98d79ec8363c173e4614223fb9
<ide><path>test/pummel/test-timers.js <ide> const common = require('../common'); <ide> const assert = require('assert'); <ide> <del>const WINDOW = 200; // Why is does this need to be so big? <add>const WINDOW = 200; // Why does this need to be so big? <ide> <ide> let interval_count = 0; <ide> <del>// Check that thes...
1
Ruby
Ruby
fix failing test
5a81dbf4894f112b73da160611c8be28b44c261f
<ide><path>actionpack/test/controller/new_base/base_test.rb <ide> class BaseTest < Rack::TestCase <ide> <ide> test "action methods" do <ide> assert_equal Set.new(%w( <add> index <ide> modify_response_headers <ide> modify_response_body_twice <del> index <ide> modify_respo...
1
Javascript
Javascript
replace multiline variable assignments
984b42329eff7eed66c36a05d0d79fc54000cba7
<ide><path>packages/ember-debug/lib/main.js <ide> Ember.deprecate = function(message, test) { <ide> try { __fail__.fail(); } catch (e) { error = e; } <ide> <ide> if (Ember.LOG_STACKTRACE_ON_DEPRECATION && error.stack) { <del> var stack, stackStr = ''; <add> var stack; <add> var stackStr = ''; <add> <ide> ...
20
Java
Java
add forwardedheaderfilter requestonly
5f868b493a7ba63c2dc2622475ecc29f34e4346b
<ide><path>spring-web/src/main/java/org/springframework/web/filter/ForwardedHeaderFilter.java <ide> public class ForwardedHeaderFilter extends OncePerRequestFilter { <ide> <ide> private boolean removeOnly; <ide> <add> private boolean requestOnly; <add> <ide> <ide> public ForwardedHeaderFilter() { <ide> this.path...
2
Python
Python
set version to v2.1.0a10
656edcb98400352d80e37d29fe88a53b85c18168
<ide><path>spacy/about.py <ide> # fmt: off <ide> <ide> __title__ = "spacy-nightly" <del>__version__ = "2.1.0a9" <add>__version__ = "2.1.0a10" <ide> __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and Cython" <ide> __uri__ = "https://spacy.io" <ide> __author__ = "Explosion AI"
1
Java
Java
introduce base class for webmvcconfiguration
00d57907a3589972aec8ce9a72c41b93511f257c
<ide><path>org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/annotation/EnableWebMvc.java <ide> <ide> import org.springframework.context.annotation.Configuration; <ide> import org.springframework.context.annotation.Import; <del>import org.springframework.stereotype.Controller; <ide> ...
7
Java
Java
fix absolute paths when transforming resources
2146e137873f51cddcff9b1d01bd6c229778098c
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceTransformerSupport.java <ide> protected Mono<String> resolveUrlPath(String resourcePath, ServerWebExchange exc <ide> */ <ide> protected String toAbsolutePath(String path, ServerWebExchange exchange) { <ide> String requestPath...
4
Python
Python
fix error messages and style
1d68a60bcf39a433186797f8ad6f25ecf72cc7ca
<ide><path>keras/layers/attention/multi_head_attention.py <ide> def _compute_causal_mask(self, query, value=None): <ide> return tf.linalg.band_part( # creates a lower triangular matrix <ide> tf.ones((1, q_seq_length, v_seq_length), tf.bool), -1, 0 <ide> ) <add> <add> def compute_output_s...
2
Python
Python
use getfqdn to make sure urls are fully qualified
181d37321ad08e3b87df2a1f87e16b8b74a24454
<ide><path>airflow/jobs.py <ide> def __init__( <ide> executor=executors.DEFAULT_EXECUTOR, <ide> heartrate=conf.getfloat('scheduler', 'JOB_HEARTBEAT_SEC'), <ide> *args, **kwargs): <del> self.hostname = socket.gethostname() <add> self.hostname = socket.getfqdn() <ide> ...
4
Go
Go
add api test for empty services list
65e72133a11ea3e6873f62039956bbd70548a5a7
<ide><path>integration-cli/daemon_swarm.go <ide> func (d *SwarmDaemon) listNodes(c *check.C) []swarm.Node { <ide> return nodes <ide> } <ide> <add>func (d *SwarmDaemon) listServices(c *check.C) []swarm.Service { <add> status, out, err := d.SockRequest("GET", "/services", nil) <add> c.Assert(err, checker.IsNil) <add> c...
2
Text
Text
add id property to common configuration
aed3d40263b77aa5014d8c3734e2dcbc9ca5122d
<ide><path>docs/02-Scales.md <ide> Name | Type | Default | Description <ide> type | String | Chart specific. | Type of scale being employed. Custom scales can be created and registered with a string key. Options: ["category"](#scales-category-scale), ["linear"](#scales-linear-scale), ["logarithmic"](#scales-logarithmic...
1
Ruby
Ruby
use identifiers for template equality
682368d4ba0bb4548f896d02bc4e038ee8ba6b4d
<ide><path>actionpack/lib/action_view/renderer/template_renderer.rb <ide> def determine_template(options) #:nodoc: <ide> with_fallbacks { find_template(options[:file], options[:prefix], false, keys) } <ide> elsif options.key?(:inline) <ide> handler = Template.handler_class_for_extension(options[:t...
5
Text
Text
move gibfahn to emeritus
8a57788efebe6e55242236119190b37bdf5b9d1b
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Jiawen Geng** &lt;technicalcute@gmail.com&gt; <ide> * [GeoffreyBooth](https://github.com/geoffreybooth) - <ide> **Geoffrey Booth** &lt;webmaster@geoffreybooth.com&gt; (he/him) <del>* [gibfahn](https://github.com/gibfahn)...
1
Ruby
Ruby
make detection of invalid plan locale-independent
d507ae2a74a6a995d90e8295a746c02d1df20a1a
<ide><path>activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb <ide> def exec_cache(sql, name, binds) <ide> # <ide> # Check here for more details: <ide> # https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/utils/cache/plancache.c#l573 <del> CACHE...
1
Java
Java
use t instead of value to allow for ide naming
5b6d1f8c8e9e4adc3fe31388811aa4876a5afba2
<ide><path>src/main/java/io/reactivex/MaybeObserver.java <ide> * <p> <ide> * The {@link Maybe} will not call this method if it calls {@link #onError}. <ide> * <del> * @param value <add> * @param t <ide> * the item emitted by the Maybe <ide> */ <del> void onSuccess(T value); ...
3
Javascript
Javascript
improve .from() error details
fc28761d771e676c57be92c99ab4e04f749c53f4
<ide><path>lib/buffer.js <ide> Buffer.from = function from(value, encodingOrOffset, length) { <ide> return fromArrayBuffer(value, encodingOrOffset, length); <ide> <ide> const valueOf = value.valueOf && value.valueOf(); <del> if (valueOf !== null && valueOf !== undefined && valueOf !== value) <del> re...
1