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
Mixed
Ruby
treat blank uuid values as nil
1f432c54658cf54608a6e37b70b8dc8e40521502
<ide><path>activerecord/CHANGELOG.md <add>* Treat blank UUID values as `nil`. <add> <add> Example: <add> <add> Sample.new(uuid_field: '') #=> <Sample id: nil, uuid_field: nil> <add> <add> *Dmitry Lavrov* <add> <ide> * Enable support for materialized views on PostgreSQL >= 9.3. <ide> <ide> *Dave Le...
3
Ruby
Ruby
add missing require
38b5af6595338cb2212980062d9aaf51241878cc
<ide><path>actionpack/lib/action_dispatch/http/response.rb <ide> require 'active_support/core_ext/module/attribute_accessors' <ide> require 'action_dispatch/http/filter_redirect' <add>require 'action_dispatch/http/cache' <ide> require 'monitor' <ide> <ide> module ActionDispatch # :nodoc:
1
Ruby
Ruby
revert some stuff to use the new sanitizers
d4cd7e2a44b2c19df31f7cb0ce03b957f3a359af
<ide><path>actionview/lib/action_view/helpers/sanitize_helper.rb <ide> module ClassMethods #:nodoc: <ide> end <ide> <ide> # A class to vendor out the full, link and white list sanitizers <del> # Can be set to either HTML::Scanner or HTML::Sanitizer <add> # Can be set to either HTML::Depre...
1
PHP
PHP
add @trigger to functions docs when event added
26b9d9449a1fb47005ed77d436ec343f88fe34ef
<ide><path>src/Error/ExceptionRenderer.php <ide> public function __construct(Exception $exception) { <ide> * a bare controller will be used. <ide> * <ide> * @return \Cake\Controller\Controller <add> * @triggers Controller.startup $controller <ide> */ <ide> protected function _getController() { <ide> if (!$reques...
14
Python
Python
improve text generation doc
89514f0541f312945854236132a5f4ea2516fa86
<ide><path>src/transformers/generation_tf_utils.py <ide> def greedy_search( <ide> >>> tokenizer = AutoTokenizer.from_pretrained("gpt2") <ide> >>> model = TFAutoModelForCausalLM.from_pretrained("gpt2") <ide> <del> >>> # set pad_token_id to eos_token_id because GPT2 does not have a EOS token <add>...
2
Python
Python
remove unnecessary models.py file
468cdd16edabbb327c7dde877f3b0a18bea082b9
<ide><path>rest_framework/models.py <del># Just to keep things like ./manage.py test happy
1
PHP
PHP
move reponse header setting
2173b46d18c4a0dd8d0348bf727ce9ff90f893e4
<ide><path>src/Error/ExceptionRenderer.php <ide> protected function _getController($exception) { <ide> } <ide> $response = new Response(); <ide> <del> if (method_exists($exception, 'responseHeader')) { <del> $response->header($exception->responseHeader()); <del> } <del> <ide> try { <ide> $controller = new...
1
Go
Go
move inspect from server to daemon
603e00a3a7644caf118d3efd0932500b4dfc4de3
<ide><path>api/server/server.go <ide> func getContainersLogs(eng *engine.Engine, version version.Version, w http.Respo <ide> } <ide> <ide> var ( <del> job = eng.Job("inspect", vars["name"], "container") <add> job = eng.Job("container_inspect", vars["name"]) <ide> c, err = job.Stdout.AddEnv() <ide> ) <ide>...
9
Javascript
Javascript
use const/let in more places
bb3c22c66f84e4a69ce99ccce2701db48a84df08
<ide><path>packages/react-dom/src/client/ReactDOM.js <ide> import { <ide> DOCUMENT_FRAGMENT_NODE, <ide> } from '../shared/HTMLNodeType'; <ide> import {ROOT_ATTRIBUTE_NAME} from '../shared/DOMProperty'; <del>var { <add>const { <ide> createElement, <ide> createTextNode, <ide> setInitialProperties, <ide> var { <id...
9
Javascript
Javascript
flow type scrollview
b1276622791d5dbe4199bb075f473908c3e62b31
<ide><path>Libraries/Components/ScrollView/InternalScrollViewType.js <add>/** <add> * Copyright (c) 2015-present, Facebook, Inc. <add> * <add> * This source code is licensed under the MIT license found in the <add> * LICENSE file in the root directory of this source tree. <add> * <add> * @format <add> * @flow <add> */ ...
4
Mixed
Javascript
add deprecation code to expectwarning
8fb4ea9f75c8c82c46286bd5ca0c1115c4a5e956
<ide><path>test/common/README.md <ide> Indicates if there is more than 1gb of total memory. <ide> returned function has not been called exactly `exact` number of times when the <ide> test is complete, then the test will fail. <ide> <del>### expectWarning(name, expected) <add>### expectWarning(name, expected, code)...
29
Java
Java
keep nativeids immutable in reactfindviewutil
ee0c69dfa66de2a5dd320a85c6d9294f38733352
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/util/ReactFindViewUtil.java <ide> public static void notifyViewRendered(View view) { <ide> } <ide> } <ide> <del> Iterator<Map.Entry<OnMultipleViewsFoundListener, Set<String>>> <del> viewIterator = mOnMultipleViewsFoundListener.entry...
1
Ruby
Ruby
use xcode frontpage
ff8520e61be2b1ad36b676abfb426d5b95a71043
<ide><path>Library/Homebrew/exceptions.rb <ide> def initialize(formulae) <ide> elsif MacOS.version == "10.9" <ide> xcode_text = <<-EOS.undent <ide> To continue, you must install Xcode from: <del> https://developer.apple.com/downloads/ <add> https://developer.apple.com/xco...
1
Python
Python
add test for gh-2757
7678c988f88305bfb9be516700e8e05d902f1631
<ide><path>numpy/ma/tests/test_regression.py <ide> from numpy.testing import * <ide> import numpy as np <add>import numpy.ma as ma <ide> <ide> rlevel = 1 <ide> <ide> def test_set_fill_value_unicode_py3(self): <ide> a.fill_value = 'X' <ide> assert_(a.fill_value == 'X') <ide> <add> def test_var_sets...
1
Python
Python
join fft threads before getting values
b8aedd0e69e862a74cba896bb0dbb1d2748c4edf
<ide><path>numpy/fft/tests/test_fftpack.py <ide> def worker(args, q): <ide> for i in range(self.threads)] <ide> [x.start() for x in t] <ide> <add> [x.join() for x in t] <ide> # Make sure all threads returned the correct value <ide> for i in range(self.threads): <ide> ...
1
Javascript
Javascript
remove unneeded eslint config for `hot` directory
ae88961fb2efccaf9fb3e716894651302af2ca60
<ide><path>.eslintrc.js <ide> module.exports = { <ide> env: { <ide> browser: true <ide> } <del> }, { <del> files: ["hot/**/*.js"], <del> env: { <del> node: true <del> }, <del> rules: { <del> "node/exports-style": ["off"] <del> } <ide> } <ide> ] <ide> };
1
Python
Python
remove two redundant empty lines
e41bf1e18104bfc2e482aa9f066c3ee7793666b4
<ide><path>tests/conftest.py <ide> def ensure_clean_request_context(): <ide> request.addfinalizer(ensure_clean_request_context) <ide> <ide> <del> <ide> @pytest.fixture(params=(True, False)) <ide> def limit_loader(request, monkeypatch): <ide> """Patch pkgutil.get_loader to give loader without get_filename or a...
2
Ruby
Ruby
move `repo_var` method to `tap` class
54834ccbe3b97707bae1482d3bc10039ec1c01d6
<ide><path>Library/Homebrew/cmd/update-report.rb <ide> def initialize(var_name) <ide> def initialize(tap) <ide> @tap = tap <ide> <del> initial_revision_var = "HOMEBREW_UPDATE_BEFORE#{repo_var}" <add> initial_revision_var = "HOMEBREW_UPDATE_BEFORE#{tap.repo_var}" <ide> @initial_revision = ENV[initial_re...
3
Ruby
Ruby
don’t reorder “basic” artifacts
02362259a54c0b8d7399e7b19f0a56519cb1b9d1
<ide><path>Library/Homebrew/cask/lib/hbc/artifact.rb <ide> <ide> module Hbc <ide> module Artifact <del> # NOTE: Order is important here! <del> # <del> # The `uninstall` stanza should be run first, as it may <del> # depend on other artifacts still being installed. <del> # <del> # We want to extract ...
2
Text
Text
convert osx into os x
91c4fbb7bfe8851130f746911e34b9d190bb4572
<ide><path>docs/sources/installation/binaries.md <ide> In general, a 3.8 Linux kernel (or higher) is preferred, as some of the <ide> prior versions have known issues that are triggered by Docker. <ide> <ide> Note that Docker also has a client mode, which can run on virtually any <del>Linux kernel (it even builds on OS...
3
Python
Python
remove loss_update system
752037c1404be5cc277435e3d9bef2177b6a0eb6
<ide><path>keras/layers/containers.py <ide> def __init__(self, layers=[]): <ide> self.params = [] <ide> self.regularizers = [] <ide> self.constraints = [] <del> self.loss_updates = [] <ide> <ide> for layer in layers: <ide> self.add(layer) <ide> def add(self, layer): <...
3
Ruby
Ruby
add restart notice where missing
668872efd85291895d3e68f3a5af312973a1be74
<ide><path>railties/configs/initializers/new_rails_defaults.rb <add># Be sure to restart your server when you modify this file. <add> <ide> # These settings change the behavior of Rails 2 apps and will be defaults <ide> # for Rails 3. You can remove this initializer when Rails 3 is released. <ide> <ide><path>railties/...
2
Go
Go
reduce redundant parsing of mountinfo
e8513675a20e2756e6c2915604605236d1a94d65
<ide><path>daemon/graphdriver/aufs/aufs.go <ide> func (a *Driver) unmount(m *data) error { <ide> } <ide> <ide> func (a *Driver) mounted(m *data) (bool, error) { <del> return mountpk.Mounted(m.path) <add> var buf syscall.Statfs_t <add> if err := syscall.Statfs(m.path, &buf); err != nil { <add> return false, nil <add> ...
1
Javascript
Javascript
fix stats and bintestcases after adding "built at"
152575c2b0584a6648bd9030ccdeb53ae3517c49
<ide><path>lib/Stats.js <ide> class Stats { <ide> newline(); <ide> } <ide> if(typeof obj.time === "number") { <del> colors.normal("Built at: "); <del> colors.bold(new Date(obj.builtAt)); <del> newline(); <ide> colors.normal("Time: "); <ide> colors.bold(obj.time); <ide> colors.normal("ms"); <ide><p...
2
PHP
PHP
fix doc blocks,
3ace1f03af1c604c7015d4f1bc3b25653586b654
<ide><path>src/I18n/DateFormatTrait.php <ide> public static function setJsonEncodeFormat($format): void <ide> * ``` <ide> * <ide> * @param string $time The time string to parse. <del> * @param string|array|null $format Any format accepted by IntlDateFormatter. <add> * @param string|int|array|null...
2
Text
Text
remove unnecessary leading commas
417458da9b3ef0a68373d84c361bd05ec140d779
<ide><path>doc/api/test.md <ide> same as [`it([name], { skip: true }[, fn])`][it options]. <ide> Shorthand for marking a test as `TODO`, <ide> same as [`it([name], { todo: true }[, fn])`][it options]. <ide> <del>## `before([, fn][, options])` <add>## `before([fn][, options])` <ide> <ide> <!-- YAML <ide> added: v18.8....
1
Ruby
Ruby
avoid uninitialized variable warning
74d7664b607a7ca2770c937a832b3339d7bf8203
<ide><path>actionpack/lib/action_view/helpers/date_helper.rb <ide> def to_datetime_select_tag(options = {}, html_options = {}) <ide> private <ide> def datetime_selector(options, html_options) <ide> datetime = value(object) || default_datetime(options) <add> @auto_index ||= nil <ide> <i...
1
Python
Python
fix error when num_proxies is greater than one
cc13ee0577fb3de9602da634ab9c835749da49c4
<ide><path>rest_framework/throttling.py <ide> def get_ident(self, request): <ide> if num_proxies == 0 or xff is None: <ide> return remote_addr <ide> addrs = xff.split(',') <del> client_addr = addrs[-min(num_proxies, len(xff))] <add> client_addr = addrs[-min(...
1
Go
Go
add getparentdeathsignal() to pkg/system
002aa8fc207d803349777cde61426603976ca8ee
<ide><path>pkg/system/calls_linux.go <ide> package system <ide> import ( <ide> "os/exec" <ide> "syscall" <add> "unsafe" <ide> ) <ide> <ide> func Chroot(dir string) error { <ide> func ParentDeathSignal(sig uintptr) error { <ide> return nil <ide> } <ide> <add>func GetParentDeathSignal() (int, error) { <add> var sig ...
1
Javascript
Javascript
handle success responses better
ca70573bd8ec5aafc9146584d5bead9e3e5bab4b
<ide><path>packages/learn/src/redux/app/failed-updates-epic.js <ide> import uuid from 'uuid/v4'; <ide> <ide> import { types, onlineStatusChange, isOnlineSelector } from './'; <ide> import postUpdate$ from '../../templates/Challenges/utils/postUpdate$'; <add>import { isGoodXHRStatus } from '../../templates/Challenges/u...
1
Python
Python
add examples for complex dtypes
7e81231f49a1c2508a1b9fbe8649babf1707846d
<ide><path>numpy/lib/type_check.py <ide> def _getmaxmin(t): <ide> <ide> def nan_to_num(x, copy=True): <ide> """ <del> Replace nan with zero and inf with finite numbers. <add> Replace nan with zero and inf with large finite numbers. <ide> <del> Returns an array or scalar replacing Not a Number (NaN) with ...
1
Python
Python
fix chords with chained groups
01dd66ceb5b9167074c2f291b165055e7377641b
<ide><path>celery/canvas.py <ide> def _traverse_tasks(self, tasks, value=None): <ide> task = stack.popleft() <ide> if isinstance(task, group): <ide> stack.extend(task.tasks) <add> elif isinstance(task, _chain) and isinstance(task.tasks[-1], group): <add> ...
2
Python
Python
fix tests pt/tf
128bdd4c3549e2a1401af87493ff6be467c79c14
<ide><path>pytorch_transformers/modeling_tf_pytorch_utils.py <ide> def convert_tf_weight_name_to_pt_weight_name(tf_name, start_prefix_to_remove='') <ide> ##################### <ide> ### PyTorch => TF 2.0 <ide> <del>def load_pytorch_checkpoint_in_tf2_model(tf_model, pytorch_checkpoint_path, tf_inputs=DUMMY_INPUTS, allo...
1
Javascript
Javascript
fix more lint errors
8f5e4216dc2a25fc43ce569d2b75a6105f009b43
<ide><path>src/text-editor-component.js <ide> /* global ResizeObserver */ <ide> <ide> const etch = require('etch') <del>const {CompositeDisposable} = require('event-kit') <ide> const {Point, Range} = require('text-buffer') <ide> const LineTopIndex = require('line-top-index') <ide> const TextEditor = require('./text-ed...
1
Javascript
Javascript
give better stack diagnostics on exceptions
07c11c03cc7f6d182eab9b50e2f3908ee397f70f
<ide><path>src/deferred/exceptionHook.js <ide> jQuery.Deferred.exceptionHook = function( error, stack ) { <ide> // Support: IE 8 - 9 only <ide> // Console exists when dev tools are open, which can happen at any time <ide> if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { <del>...
2
PHP
PHP
add dd() and dump() to the request object
858ff9b2264c204c007b37079300499c9c178380
<ide><path>src/Illuminate/Http/Concerns/InteractsWithInput.php <ide> use Illuminate\Support\Str; <ide> use SplFileInfo; <ide> use stdClass; <add>use Symfony\Component\VarDumper\VarDumper; <ide> <ide> trait InteractsWithInput <ide> { <ide> protected function retrieveItem($source, $key, $default) <ide> <ide> re...
1
Javascript
Javascript
add unit tests for player.duration()
1e80e59614a748d35607dd63ac994ae99eb061e2
<ide><path>test/unit/player.test.js <ide> QUnit.test('should add a class with major version', function(assert) { <ide> <ide> player.dispose(); <ide> }); <add> <add>QUnit.test('player.duration() returns NaN if player.cache_.duration is undefined', function(assert) { <add> const player = TestHelpers.makePlayer(); <ad...
1
Ruby
Ruby
teach audit about new patches implementation
4f051abc3e2072af9f650b13269491d158b38157
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_specs <ide> "#{name} resource #{resource.name.inspect}: #{problem}" <ide> } <ide> end <add> <add> spec.patches.select(&:external?).each { |p| audit_patch(p) } <ide> end <ide> end <ide> <ide> def audit_patches <del> Patches...
2
Java
Java
fix typo in exception message
8a1f9f8aa37370868ea12be6e2feed8049f97e2b
<ide><path>spring-tx/src/main/java/org/springframework/transaction/event/ApplicationListenerMethodTransactionalAdapter.java <ide> static TransactionalEventListener findAnnotation(Method method) { <ide> TransactionalEventListener annotation = AnnotationUtils <ide> .findAnnotation(method, TransactionalEventListener...
1
PHP
PHP
update method documentation
8c211754a6d6d00dbaa5f46e3ae70378c02e6025
<ide><path>src/Illuminate/Foundation/Testing/AssertionsTrait.php <ide> public function assertRedirectedToAction($name, $parameters = [], $with = []) <ide> } <ide> <ide> /** <del> * Assert that the session has a given list of values. <add> * Assert that the session has a given value. <ide> * <ide> ...
1
Javascript
Javascript
fix typeerror when stream is closed
ab89024ddc777ff888df0e239355f563e4cfa2a8
<ide><path>lib/tty.js <ide> ObjectSetPrototypeOf(ReadStream, net.Socket); <ide> <ide> ReadStream.prototype.setRawMode = function(flag) { <ide> flag = !!flag; <del> const err = this._handle.setRawMode(flag); <add> const err = this._handle?.setRawMode(flag); <ide> if (err) { <ide> this.emit('error', errors.err...
2
Python
Python
use cpu converter in sum_resources()
a8f90ed5bc7df45445fdf30d0961d12dcccd9946
<ide><path>libcloud/container/drivers/kubernetes.py <ide> def sum_resources(self, *resource_dicts): <ide> total_cpu = 0 <ide> total_memory = 0 <ide> for rd in resource_dicts: <del> cpu = rd.get("cpu", "0") <del> is_in_milli_format = "m" in cpu <del> if is_in_milli_format: <del> ...
1
Javascript
Javascript
add locale es-us
c4703dc8b1f72cbd1e520b283af53f6bde8ec123
<ide><path>src/locale/es-us.js <add>//! moment.js locale configuration <add>//! locale : Spanish(United State) [es-us] <add>//! author : bustta : https://github.com/bustta <add> <add>import moment from '../moment'; <add> <add>var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),...
2
Ruby
Ruby
reduce object allocation
f888448ed289fd7b32c30e48ff3c3b9334ed1d22
<ide><path>actionview/lib/action_view/template.rb <ide> def handle_render_error(view, e) #:nodoc: <ide> <ide> def locals_code #:nodoc: <ide> # Double assign to suppress the dreaded 'assigned but unused variable' warning <del> @locals.map { |key| "#{key} = #{key} = local_assigns[:#{key}];" }.join <...
1
Go
Go
use beam.router to simplify 'trace'
30424f4e3a40ec21ac25e5c3f9ef45c3109c9f06
<ide><path>pkg/beam/examples/beamsh/builtins.go <ide> func CmdExec(args []string, stdout, stderr io.Writer, in beam.Receiver, out beam <ide> } <ide> <ide> func CmdTrace(args []string, stdout, stderr io.Writer, in beam.Receiver, out beam.Sender) { <del> for { <del> p, a, err := in.Receive() <del> if err != nil { <del...
1
Text
Text
explain the configuration of the framework
1310e580644f458069161b5b7df6c8c0f7812f7f
<ide><path>README.md <ide> The channel has been instructed to stream everything that arrives at `web_notifi <ide> across the wire, and unpacked for the data argument arriving to `#received`. <ide> <ide> <add>## Configuration <add> <add>The only must-configure part of Action Cable is the Redis connection. By default, ...
1
Text
Text
add changelog.md entry for
1600c67ff99c572ca947b2d1b1e781b6070621b5
<ide><path>actioncable/CHANGELOG.md <add>* Create notion of an `ActionCable::SubscriptionAdapter`. <add> Separate out Redis functionality into `AC::SA::Redis`, <add> and add a PostgreSQL adapter as well. Configuration file <add> for ActionCable was changed from `config/redis/cable.yml` <add> to `config/ca...
1
Javascript
Javascript
remove a hash symbol from split method
b5ce9ca6fc3cec5dd048ee76b8a0819938d9e1b5
<ide><path>client/commonFramework/bindings.js <ide> window.common = (function(global) { <ide> public: true, <ide> files: {} <ide> }; <del> var queryIssue = window.location.href.toString().split('#?')[0]; <add> var queryIssue = window.location.href.toString().split('?')[0]; <ide> va...
1
Javascript
Javascript
add key to navigationscenerendererprops
472f815e45295e37f34c65320524907fda8b7c8a
<ide><path>Examples/UIExplorer/NavigationExperimental/NavigationAnimatedExample.js <ide> class NavigationAnimatedExample extends React.Component { <ide> return ( <ide> <NavigationCard <ide> {...props} <del> key={'card_' + props.scene.navigationState.key} <ide> renderScene={this._renderS...
5
Go
Go
return error on invalid --change command
3210d13fc8fb93263a7a5eadef0a0f133087a889
<ide><path>builder/job.go <ide> package builder <ide> import ( <ide> "bytes" <ide> "encoding/json" <del> "fmt" <ide> "io" <ide> "io/ioutil" <ide> "os" <ide> import ( <ide> "github.com/docker/docker/utils" <ide> ) <ide> <add>// whitelist of commands allowed for a commit <add>var validCommitCommands = map[string]b...
1
Javascript
Javascript
check args on sourcetextmodule cacheddata
766b3c18a91f5a4bd55615ac9de5793c09b15005
<ide><path>test/parallel/test-vm-module-errors.js <ide> async function checkInvalidOptionForEvaluate() { <ide> }); <ide> } <ide> <add>function checkInvalidCachedData() { <add> [true, false, 'foo', {}, Array, function() {}].forEach((invalidArg) => { <add> const message = 'The "options.cachedData" property must be...
1
Python
Python
change define_list to define_string
a32bf6356d795b5a06567491e93d410972b6b97e
<ide><path>research/object_detection/export_inference_graph.py <ide> flags.DEFINE_string('input_type', 'image_tensor', 'Type of input node. Can be ' <ide> 'one of [`image_tensor`, `encoded_image_string_tensor`, ' <ide> '`tf_example`]') <del>flags.DEFINE_list('input_shape', None, ...
1
PHP
PHP
fix syntax errors and remove unnecessary casts
ca703f7e9d6d131cb2d6e49d7a238f33e0f05c3a
<ide><path>src/Console/ConsoleInputArgument.php <ide> public function usage(): string <ide> */ <ide> public function isRequired(): bool <ide> { <del> return (bool)$this->_required; <add> return $this->_required; <ide> } <ide> <ide> /** <ide><path>src/Console/ConsoleInputOption.php <i...
3
Javascript
Javascript
use original error for cancelling pending streams
c197c78230e4fe9363569af091130e0e98eb4c7a
<ide><path>lib/internal/http2/core.js <ide> class Http2Session extends EventEmitter { <ide> <ide> // Destroy any pending and open streams <ide> const cancel = new errors.Error('ERR_HTTP2_STREAM_CANCEL'); <add> if (error) { <add> cancel.cause = error; <add> if (typeof error.message === 'string') <a...
2
Javascript
Javascript
update dataset metadata when axisid changes
9eecdf4da1bf79169642edd93275236d1aa9851b
<ide><path>src/core/core.datasetController.js <ide> helpers.extend(DatasetController.prototype, { <ide> linkScales: function() { <ide> var me = this; <ide> var meta = me.getMeta(); <add> var chart = me.chart; <add> var scales = chart.scales; <ide> var dataset = me.getDataset(); <add> var scalesOpts = chart.op...
2
Javascript
Javascript
fix some docs
5f014971b1c92894b67a0456828f688861ac430c
<ide><path>packages/ember-runtime/lib/system/core_object.js <ide> CoreObject.PrototypeMixin = Mixin.create({ <ide> <ide> /** <ide> Override to implement teardown. <add> <add> @method willDestroy <ide> */ <ide> willDestroy: Ember.K, <ide> <ide><path>packages/ember-views/lib/views/component.js <ide> Ember...
3
Javascript
Javascript
remove debugger statement from an e2e test
19ba6510d02317311fd1af3a173bc9eb970615bc
<ide><path>src/ng/directive/ngClass.js <ide> function classDirective(name, selector) { <ide> expect(ps.get(1).getAttribute('class')).toBe(''); <ide> element(by.model('style')).clear(); <ide> element(by.model('style')).sendKeys('red'); <del> browser.debugger(); <ide> expect(ps...
1
Text
Text
fix minor grammar error in readme
e614851c53109701d277caacb941201b83c50845
<ide><path>README.md <ide> So, what are you waiting for? <ide> <ide> #### [Watch the 30 Free Videos!](https://egghead.io/series/getting-started-with-redux) <ide> <del>If you enjoyed my course, consider supporting Egghead by [buying a subscription](https://egghead.io/pricing). Subscribers have access to the source co...
1
Python
Python
apply zip fixer
0dfe67afd1ee9e4c905bf119673f6e634221f21b
<ide><path>doc/sphinxext/numpydoc/compiler_unparse.py <ide> if sys.version_info[0] >= 3: <ide> from io import StringIO <ide> else: <del> from io import StringIO <add> from StringIO import StringIO <ide> <ide> def unparse(ast, single_line_functions=False): <ide> s = StringIO() <ide> def _And(self, t): <id...
13
Javascript
Javascript
remove double check of string type
35109ddaf254137ab11383fddd1a00a7f1b77916
<ide><path>lib/_http_outgoing.js <ide> OutgoingMessage.prototype.setHeader = function(name, value) { <ide> if (!common._checkIsHttpToken(name)) <ide> throw new TypeError( <ide> 'Header name must be a valid HTTP Token ["' + name + '"]'); <del> if (typeof name !== 'string') <del> throw new TypeError('"nam...
1
Go
Go
fix debug in startservicevmifnotrunning()
b7a95a3ce4c731c0fca204435be758ea89d6050f
<ide><path>daemon/graphdriver/lcow/lcow.go <ide> func (d *Driver) startServiceVMIfNotRunning(id string, mvdToAdd []hcsshim.Mapped <ide> // Use the global ID if in global mode <ide> id = d.getVMID(id) <ide> <del> title := fmt.Sprintf("lcowdriver: startservicevmifnotrunning %s:", id) <add> title := "lcowdriver: startS...
1
Ruby
Ruby
repair the command option
47699614fd4c5dce4d0c1216f09756c84c653f1b
<ide><path>Library/Homebrew/dev-cmd/edit.rb <ide> def edit <ide> else <ide> <<~EOS <ide> #{path} doesn't exist on disk. \ <del> Run #{Formatter.identifier("brew create --set-name #{path.basename} $URL")} \ <add> Run #{Formatter.identifier("brew create --formula --set-...
1
Javascript
Javascript
fix rgb output
78a12767f0223cf429df04099353b7c0437915c0
<ide><path>examples/jsm/exporters/USDZExporter.js <ide> function buildMaterial( material, textures ) { <ide> float outputs:g <ide> float outputs:b <ide> float outputs:a <del> float3 outputs:rgba <add> float3 outputs:rgb <ide> }`; <ide> <ide> }
1
Text
Text
fix image size
325d29bad377f2c9d871160abc67578132278f88
<ide><path>threejs/lessons/threejs-post-processing-3dlut.md <ide> We'll also add a background image like we covered in [backgrounds and skyboxs](t <ide> <ide> Now that we have a scene we need a 3DLUT. The simplest 3DLUT is a 2x2x2 identity LUT where *identity* means nothing happens. It's like multiplying by 1 or doing...
1
Javascript
Javascript
remove event handlers when menu item is removed
259ce71ee707ce93f4868ce0db8ee7405d76ab44
<ide><path>src/js/menu/menu.js <ide> class Menu extends Component { <ide> this.focusedChild_ = -1; <ide> <ide> this.on('keydown', this.handleKeyPress); <add> <add> // All the menu item instances share the same blur handler provided by the menu container. <add> this.boundHandleBlur_ = Fn.bind(this, this.h...
2
Javascript
Javascript
fix similar typos in core.controller & element
57979a22708364d16eb58373910de374d736ecb0
<ide><path>src/core/core.controller.js <ide> <ide> //Declare root variable - window in the browser, global on the server <ide> var root = this, <del> previous = root.Chart, <add> Chart = root.Chart, <ide> helpers = Chart.helpers; <ide> <ide> <ide><path>src/core/core.element.js <ide> <ide> //Declare root vari...
2
Javascript
Javascript
fix inverse block in compat helpers
c7f67e8806354e36497f68ec5644405c4d2b5e1f
<ide><path>packages/ember-htmlbars/lib/compat/helper.js <ide> function HandlebarsCompatibleHelper(fn) { <ide> handlebarsOptions.fn = function() { <ide> options.template.yield(); <ide> }; <add> <add> if (options.inverse) { <add> handlebarsOptions.inverse = function() { <add> opti...
2
Javascript
Javascript
write otf header using a string, not an array
c09ee48094b504028cf2f55976842bb3149bad1e
<ide><path>fonts.js <ide> var Font = (function () { <ide> convert: function font_convert(aFont, aProperties) { <ide> var otf = new Uint8Array(kMaxFontFileSize); <ide> <del> function createOpenTypeHeader(aFile, aOffsets, aNumTables) { <add> function s2a(s) { <add> var a = []; <add> for...
1
Text
Text
add new deployment info
836f37b09b0209d9c4a0af942f0e2a8641a2df7e
<ide><path>README.md <ide> If you want to see a really cool real-time dashboard check out this [live exampl <ide> Deployment <ide> ---------- <ide> <add>Once you are ready to deploy your app, you will need to create an account with a cloud platform to host it. These are not <add>the only choices, but they are my top p...
1
Ruby
Ruby
add missing fixtures file
ffa56f73d5ae98fe0b8b6dd2ca6f0dffac9d9217
<ide><path>activerecord/test/cases/associations/has_many_through_associations_test.rb <ide> class HasManyThroughAssociationsTest < ActiveRecord::TestCase <ide> fixtures :posts, :readers, :people, :comments, :authors, :categories, :taggings, :tags, <ide> :owners, :pets, :toys, :jobs, :references, :companies...
1
PHP
PHP
remove unused httpexception
f22647f8048961d75bd0944f12d38097fb4bc81f
<ide><path>src/Illuminate/Foundation/Testing/HttpException.php <del><?php <del> <del>namespace Illuminate\Foundation\Testing; <del> <del>use PHPUnit\Framework\ExpectationFailedException; <del> <del>class HttpException extends ExpectationFailedException <del>{ <del> // <del>}
1
Text
Text
update eventlooputilization documentation
6eb15ce8a3bebeda605b88972ae007bafb3a1133
<ide><path>doc/api/perf_hooks.md <ide> added: v8.5.0 <ide> If `name` is not provided, removes all `PerformanceMark` objects from the <ide> Performance Timeline. If `name` is provided, removes only the named mark. <ide> <del>### `performance.eventLoopUtilization([util1][,util2])` <add>### `performance.eventLoopUtilizat...
1
Text
Text
use headings to enable links
ab57dc840f7036a92487d5523cdf8ec832f486f5
<ide><path>README.md <ide> Atom will automatically update when a new release is available. <ide> ## Building <ide> <ide> <del>**OS X Requirements** <add>### OS X Requirements <ide> * OS X 10.8 or later <ide> * [node.js](http://nodejs.org/) <ide> * Command Line Tools for [Xcode](https://developer.apple.com/xcode...
1
Python
Python
add more operators to example dags for cloud tasks
9042a585539a18953d688fff455438f4061732d1
<ide><path>airflow/providers/google/cloud/example_dags/example_tasks.py <ide> and deletes Queues and creates, gets, lists, runs and deletes Tasks in the Google <ide> Cloud Tasks service in the Google Cloud. <ide> """ <del> <del> <add>import os <ide> from datetime import datetime, timedelta <ide> <ide> from google.api_...
4
Text
Text
add troubleshoot document libudev in ubuntu 14.04
47a2e576333d88af80e3c0b88295728621ef920d
<ide><path>docs/build-instructions/linux.md <ide> Ubuntu LTS 12.04 64-bit is the recommended platform. <ide> ``` <ide> <ide> ## Troubleshooting <add> <add> * On Ubuntu 14.04 LTS when you get error message <add> <add> <add> ```sh <add> /usr/local/share/atom/atom: error while loading shared libraries: libudev.so.0...
1
Go
Go
move docker info to the job api
51e2c1794b50295607c6eddb29edf39d40816a88
<ide><path>api.go <ide> func getImagesViz(srv *Server, version float64, w http.ResponseWriter, r *http.R <ide> } <ide> <ide> func getInfo(srv *Server, version float64, w http.ResponseWriter, r *http.Request, vars map[string]string) error { <del> return writeJSON(w, http.StatusOK, srv.DockerInfo()) <add> srv.Eng.ServeH...
5
Javascript
Javascript
remove double ending line
10cad8712e1ba4942fd88b20e0dc5a838425684a
<ide><path>blueprints/service-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js <ide> module('<%= friendlyTestDescription %>', function(hooks) { <ide> assert.ok(service); <ide> }); <ide> }); <del> <ide><path>node-tests/fixtures/service-test/rfc232.js <ide> module('Unit | Service | foo', function...
2
PHP
PHP
move the authorize middleware into foundation
65907a6be614554b7b55d53aab24bbdf3a7e2b1e
<add><path>src/Illuminate/Foundation/Auth/Access/Middleware/Authorize.php <del><path>src/Illuminate/Auth/Access/Middleware/Authorize.php <ide> <?php <ide> <del>namespace Illuminate\Auth\Access\Middleware; <add>namespace Illuminate\Foundation\Auth\Access\Middleware; <ide> <ide> use Closure; <ide> use Illuminate\Contra...
2
Text
Text
synch security.md with website
5c347887d909a82326c46d2e00e41756405128da
<ide><path>SECURITY.md <ide> handling your submission. <ide> After the initial reply to your report, the security team will endeavor to keep <ide> you informed of the progress being made towards a fix and full announcement, <ide> and may ask for additional information or guidance surrounding the reported <del>issue. T...
1
Javascript
Javascript
add test to show econnrefused works
1dbbaa7fa09e3bff48c5d7d9f6baf47fee49cc7b
<ide><path>test/simple/test-net-connect-handle-econnrefused.js <add>var common = require('../common'); <add>var net = require('net'); <add>var assert = require('assert'); <add> <add> <add>// Hopefully nothing is running on common.PORT <add>var c = net.createConnection(common.PORT); <add> <add>c.on('connect', function (...
1
Mixed
Go
fix readme flag and expose orphan network peers
9b7922ff6e97cfc7b5fcac69a3d1fc00910f564b
<ide><path>libnetwork/cmd/diagnostic/README.md <ide> Remember to use the full network ID, you can easily find that with `docker netwo <ide> **Service discovery and load balancer:** <ide> <ide> ```bash <del>$ diagnostiClient -c sd -v -net n8a8ie6tb3wr2e260vxj8ncy4 -a <add>$ diagnostiClient -t sd -v -net n8a8ie6tb3wr2e2...
3
Javascript
Javascript
expose documentinfo in viewer
102469d20cd4a62f3f2a4b69cecccc657e2e6836
<ide><path>web/viewer.js <ide> var PDFView = { <ide> <ide> this.metadata = null; <ide> var metadata = pdf.catalog.metadata; <del> var info = pdf.info; <add> var info = this.documentInfo = pdf.info; <ide> var pdfTitle; <ide> <ide> if (metadata) {
1
Ruby
Ruby
relation#merge special case of from clause
d76e3e12800414551ec42e17832227b820402007
<ide><path>activerecord/lib/active_record/relation/merger.rb <ide> def merge_single_values <ide> end <ide> <ide> def merge_clauses <del> if relation.from_clause.empty? && !other.from_clause.empty? <del> relation.from_clause = other.from_clause <del> end <add> relat...
2
Javascript
Javascript
add suspenselist to react-is
90bde6505e43434596ff6398c2c8acb67ced815b
<ide><path>packages/react-is/index.experimental.js <add>/** <add> * Copyright (c) Facebook, Inc. and its affiliates. <add> * <add> * This source code is licensed under the MIT license found in the <add> * LICENSE file in the root directory of this source tree. <add> * <add> * @flow <add> */ <add> <add>'use strict'; <ad...
4
PHP
PHP
fix failing test for postgres
467b0f1c45d04eeaeee55e04c24aa00fbb49e0be
<ide><path>lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php <ide> public function _findTotals($state, $query, $results = array()) { <ide> $query['fields'] = array('author_id'); <ide> $this->virtualFields['total_posts'] = "COUNT({$this->alias}.id)"; <ide> $query['fields'][] = 'total_posts'; <d...
1
PHP
PHP
use collection class to simplify entity handling
1ce283a9a41fc69992a91221696be9e226d1ebe0
<ide><path>src/View/Form/EntityContext.php <ide> */ <ide> namespace Cake\View\Form; <ide> <add>use Cake\Collection\Collection; <ide> use Cake\Network\Request; <ide> use Cake\ORM\Entity; <ide> use Cake\ORM\TableRegistry; <ide> use Cake\Utility\Inflector; <ide> use Cake\Validation\Validator; <del>use IteratorAggregate;...
2
Python
Python
make presto and trino compatible with airflow 2.1
5164cdbe98ad63754d969b4b300a7a0167565e33
<ide><path>airflow/providers/presto/hooks/presto.py <ide> def generate_presto_client_info() -> str: <ide> ) <ide> for format_map in AIRFLOW_VAR_NAME_FORMAT_MAPPING.values() <ide> } <add> # try_number isn't available in context for airflow < 2.2.5 <add> # https://github.com/apache/airflow/issue...
2
PHP
PHP
add "redirector" property on "formrequest"
059656e04a4ab0ea1fd1fe6afb2dba1cc6cfd7b4
<ide><path>src/Illuminate/Foundation/Http/FormRequest.php <ide> class FormRequest extends Request implements ValidatesWhenResolved { <ide> */ <ide> protected $container; <ide> <add> /** <add> * The redirector instance. <add> * <add> * @var Redirector <add> */ <add> protected $redirector; <add> <ide> /** <ide> ...
1
Java
Java
restore short-circuiting in equals implementation
b5529f3f2bcf69c89a0a6a52c4f6b0034dc7f61e
<ide><path>spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinition.java <ide> public boolean equals(@Nullable Object other) { <ide> } <ide> AbstractBeanDefinition that = (AbstractBeanDefinition) other; <ide> boolean rtn = ObjectUtils.nullSafeEquals(getBeanClassName(), that.getB...
1
Java
Java
add single.mergearray & mergearraydelayerror
78c70d6a5365cb8db532d23397d5a0b4c114b72a
<ide><path>src/main/java/io/reactivex/rxjava3/core/Maybe.java <ide> public static <T> Flowable<T> merge( <ide> } <ide> <ide> /** <del> * Merges an array sequence of {@link MaybeSource} instances into a single {@link Flowable} sequence, <add> * Merges an array of {@link MaybeSource} instances into a sin...
4
PHP
PHP
remove monologconfigurator infrastructure
b6f7cfbc1efcc3866eef336b6cb4f9ac1b221c32
<ide><path>src/Illuminate/Foundation/Application.php <ide> class Application extends Container implements ApplicationContract, HttpKernelIn <ide> */ <ide> protected $deferredServices = []; <ide> <del> /** <del> * A custom callback used to configure Monolog. <del> * <del> * @var callable|null <d...
1
Ruby
Ruby
revert an installed? guard removal
7166289ad757641e54812bde742ea8c883510b0b
<ide><path>Library/Homebrew/os/mac/xcode.rb <ide> def version <ide> def detect_version <ide> # CLT isn't a distinct entity pre-4.3, and pkgutil doesn't exist <ide> # at all on Tiger, so just count it as installed if Xcode is installed <del> return MacOS::Xcode.version if MacOS::Xcode.versio...
1
PHP
PHP
use closures instead of callable for body parsers
b145714a44f5901ff3a68590b25e08483df494df
<ide><path>src/Http/Middleware/BodyParserMiddleware.php <ide> use Cake\Http\Exception\BadRequestException; <ide> use Cake\Utility\Exception\XmlException; <ide> use Cake\Utility\Xml; <add>use Closure; <ide> use Psr\Http\Message\ResponseInterface; <ide> use Psr\Http\Message\ServerRequestInterface; <ide> use Psr\Http\Serv...
2
Java
Java
update copyright date
2c89ff934ddd5b7efa14f715c4ec6a67bab7fd69
<ide><path>spring-context-support/src/main/java/org/springframework/scheduling/quartz/SchedulerFactoryBean.java <ide> /* <del> * Copyright 2002-2018 the original author or authors. <add> * Copyright 2002-2021 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"...
2
Ruby
Ruby
add uses_from_macos since bound
eb303dd65438417c20c860bf1c5246d0535dc9bf
<ide><path>Library/Homebrew/extend/os/mac/software_spec.rb <ide> class SoftwareSpec <ide> undef uses_from_macos <ide> <del> def uses_from_macos(deps) <add> def uses_from_macos(deps, bounds = {}) <ide> @uses_from_macos_elements ||= [] <del> @uses_from_macos_elements << deps <add> <add> if deps.is_a?(Hash)...
7
Text
Text
update links and add new public spinenet link
90afb5b8611c449afd09647632b1d95b71f51b66
<ide><path>official/projects/deepmac_maskrcnn/README.md <ide> SpienNet-143 | Hourglass-52 | `deep_mask_head_rcnn_voc_spinenet143_hg52.yaml` | <ide> This model takes Image + boxes as input and produces per-box instance <ide> masks as output. <ide> <del>* [Mask-RCNN SpineNet backbone](https://storage.cloud.google.com/...
1
Javascript
Javascript
transmit glsl "defines" in shaderpass
b1673f3716e7b0a7142d2b356c9ad4435ce544fc
<ide><path>examples/js/postprocessing/ShaderPass.js <ide> THREE.ShaderPass = function ( shader, textureID ) { <ide> <ide> this.material = new THREE.ShaderMaterial( { <ide> <add> defines: shader.defines || {}, <ide> uniforms: this.uniforms, <ide> vertexShader: shader.vertexShader, <ide> fragmentShader: ...
1
Text
Text
add nielsen to airflow users list
5cfacfc6bc092777bd9ac0c95d0ee5b4eda53f7b
<ide><path>README.md <ide> Currently **officially** using Airflow: <ide> 1. [Newzoo](https://www.newzoo.com) [[@newzoo-nexus](https://github.com/newzoo-nexus)] <ide> 1. [NEXT Trucking](https://www.nexttrucking.com/) [[@earthmancash2](https://github.com/earthmancash2), [@kppullin](https://github.com/kppullin)] <ide> 1. ...
1
Ruby
Ruby
improve relocatable debugging
c20f6395bbadef014f78e774e1526fecf2c12bfc
<ide><path>Library/Homebrew/cmd/bottle.rb <ide> require 'cmd/versions' <ide> require 'utils/inreplace' <ide> require 'erb' <add>require 'open3' <add>require 'extend/pathname' <ide> <ide> class BottleMerger < Formula <ide> # This provides a URL and Version which are the only needed properties of <ide> class << self <...
1
Python
Python
add version for compatibility
cf99fa7dabdcab1566d8497e830c648131a9df4d
<ide><path>airflow/migrations/versions/13eb55f81627_for_compatibility.py <add>"""maintain history for compatibility with earlier migrations <add> <add>Revision ID: 13eb55f81627 <add>Revises: 1507a7289a2f <add>Create Date: 2015-08-23 05:12:49.732174 <add> <add>""" <add> <add># revision identifiers, used by Alembic. <add...
1