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
Ruby
Ruby
fix style of this file
9015e37ce6335a227dd60fbfc505457a12481489
<ide><path>actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb <ide> def redirect_to(location) <ide> if uri.relative? || uri.scheme == "http" || uri.scheme == "https" <ide> body = "<html><body>You are being <a href=\"#{ERB::Util.unwrapped_html_escape(location)}\">redirected</a>.</body><...
1
PHP
PHP
remove middleware from password reset
4036f17416549758816894dc52dc54eabcc13914
<ide><path>app/Http/Controllers/Auth/ForgotPasswordController.php <ide> class ForgotPasswordController extends Controller <ide> */ <ide> <ide> use SendsPasswordResetEmails; <del> <del> /** <del> * Create a new controller instance. <del> * <del> * @return void <del> */ <del> public functio...
2
PHP
PHP
add options argument to temporaryurl()
868d6dc59b5512eddc9bceb9a81abadf1672366b
<ide><path>src/Illuminate/Filesystem/FilesystemAdapter.php <ide> protected function getLocalUrl($path) <ide> * <ide> * @param string $path <ide> * @param \DateTimeInterface $expiration <add> * @param array $options <ide> * @return string <ide> */ <del> public function temporaryUrl(...
1
Python
Python
make median work for empty arrays (issue )
5caf4c932e43c47d73fad761e3257bb0d4551cc2
<ide><path>numpy/lib/function_base.py <ide> def _median(a, axis=None, out=None, overwrite_input=False): <ide> indexer[axis] = slice(index-1, index+1) <ide> <ide> # Check if the array contains any nan's <del> if np.issubdtype(a.dtype, np.inexact): <add> if np.issubdtype(a.dtype, np.inexact) and sz > 0...
2
Javascript
Javascript
optimize speed of zerofill and add benchmarks
89e3d05d45d44b8ad9aeb17c988e610853896bbd
<ide><path>benchmarks/zeroFill.js <add>var Benchmark = require('benchmark'); <add> <add>module.exports = { <add> name: 'zeroFill', <add> tests: { <add> zeroFillMath: { <add> setup: function() { <add> var zeroFillMath = function(number, targetLength, forceSign) { <add> var absNumber = '' + Ma...
2
Javascript
Javascript
resolve junction targets relative to their parent
764c5c7fd176c90513406797182cde1d0f24e1cf
<ide><path>lib/fs.js <ide> fs.readlinkSync = function(path) { <ide> return binding.readlink(pathModule._makeLong(path)); <ide> }; <ide> <del>function preprocessSymlinkDestination(path, type) { <add>function preprocessSymlinkDestination(path, type, linkPath) { <ide> if (!isWindows) { <ide> // No preprocessing i...
2
Text
Text
add article for balanced-brackets
90036cc711a81bf3f8c32b6ee568f333b55f100d
<ide><path>guide/english/certifications/coding-interview-prep/rosetta-code/balanced-brackets/index.md <ide> This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/ <ide> <a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide ...
1
Javascript
Javascript
fix flakiness in test-http2-client-upload
09b0b1bd484c3bcdfa932c8712680f0bfbc2db02
<ide><path>test/parallel/test-http2-client-upload.js <ide> fs.readFile(loc, common.mustCall((err, data) => { <ide> <ide> server.listen(0, common.mustCall(() => { <ide> const client = http2.connect(`http://localhost:${server.address().port}`); <add> <add> let remaining = 2; <add> function maybeClose() { <ad...
1
Mixed
Java
add various concatxdelayerror operators
9283700d3a04d495b0845f947ed119c1ed10ee94
<ide><path>docs/Operator-Matrix.md <ide> Operator | ![Flowable](https://raw.github.com/wiki/ReactiveX/RxJava/images/opmat <ide> <a name='compose'></a>`compose`|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png...
11
PHP
PHP
add `force` option to some generators
897e48d14860db18c9285187ca6c29e150b9ff30
<ide><path>src/Illuminate/Foundation/Console/MailMakeCommand.php <ide> class MailMakeCommand extends GeneratorCommand <ide> */ <ide> public function fire() <ide> { <del> if (parent::fire() === false) { <add> if (parent::fire() === false && !$this->option('force')) { <ide> return; ...
3
Python
Python
update train method
9b55d97a8ff440ee5dcb591c9703a57af480ae1a
<ide><path>spacy/train.py <ide> import random <ide> from .gold import GoldParse <ide> from .scorer import Scorer <add>from .gold import merge_sents <ide> <ide> <ide> class Trainer(object): <ide> def __init__(self, nlp, gold_tuples): <ide> self.nlp = nlp <ide> self.gold_tuples = gold_tuples <ide> <del...
1
Go
Go
resolve the graphdriver to show
7cf322dffc5e9a4ea495ec08e0b0594cad01da92
<ide><path>docker/daemon.go <ide> func mainDaemon() { <ide> if err != nil { <ide> log.Fatal(err) <ide> } <add> log.Infof("docker daemon: %s %s; execdriver: %s; graphdriver: %s", <add> dockerversion.VERSION, <add> dockerversion.GITCOMMIT, <add> d.ExecutionDriver().Name(), <add> d.GraphDriver().String(), ...
1
Javascript
Javascript
use constant for global guid prefix
c384ba00af6ea1d8ddf85b932564d2cf57ff0b7e
<ide><path>packages/ember-metal/lib/utils.js <ide> require('ember-metal/array'); <ide> @module ember-metal <ide> */ <ide> <add>/** <add> @private <add> <add> Prefix used for guids through out Ember. <add> <add>*/ <add>Ember.GUID_PREFIX = 'ember'; <add> <ide> <ide> var o_defineProperty = Ember.platform.definePro...
4
Ruby
Ruby
remove a ruby_version check, add a fixme comment
cf4080a9e0517efc16a71b686e80c3ebcc38f5a2
<ide><path>Library/Homebrew/extend/pathname.rb <ide> def verify_checksum expected <ide> raise ChecksumMismatchError.new(self, expected, actual) unless expected == actual <ide> end <ide> <del> if '1.9' <= RUBY_VERSION <del> alias_method :to_str, :to_s <del> end <add> # FIXME eliminate the places where we re...
1
Text
Text
remove misplaced summarization documentation
4b82c485de187896a38c441587b7bd4d04f2821e
<ide><path>examples/README.md <ide> pip install -r ./examples/requirements.txt <ide> | [Multiple Choice](#multiple-choice) | Examples running BERT/XLNet/RoBERTa on the SWAG/RACE/ARC tasks. <ide> | [Named Entity Recognition](#named-entity-recognition) | Using BERT for Named Entity Recognition (NER) on the CoNLL 2003 da...
1
Javascript
Javascript
throw an error for unexpected agent values
fc7025c9c011f266c6bd73e1fb634eb5f519c5cb
<ide><path>lib/_http_client.js <ide> function ClientRequest(options, cb) { <ide> var defaultAgent = options._defaultAgent || Agent.globalAgent; <ide> if (agent === false) { <ide> agent = new defaultAgent.constructor(); <del> } else if ((agent === null || agent === undefined) && <del> typeof options...
2
Python
Python
display docker command in the curses interface
ad5974962d082e1729da8545a3c26fa20d273f26
<ide><path>glances/plugins/glances_docker.py <ide> def msg_curse(self, args=None): <ide> ret.append(self.curse_add_line(msg)) <ide> # Command <ide> msg = ' {0}'.format(container['Command']) <del> ret.append(self.curse_add_line(msg)) <add> ret.append(self.cur...
1
Javascript
Javascript
add test for circular refs in deepequals
6394ba28c82335cdb6e3578728957cd3eb9f72f1
<ide><path>test/simple/test-assert.js <ide> a.throws(makeBlock(thrower, TypeError), function(err) { <ide> return true; <ide> } <ide> }); <add> <add> <add>// GH-207. Make sure deepEqual doesn't loop forever on circular refs <add> <add>var b = {}; <add>b.b = b; <add> <add>var c = {}; <add>c.b = c; <add> <add>var go...
1
PHP
PHP
fix issue
46fd7dd7d794eb5fe6406198880d06a1b33d85e7
<ide><path>src/Illuminate/Database/Eloquent/Model.php <ide> public function morphTo($name = null, $type = null, $id = null) <ide> // If the type value is null it is probably safe to assume we're eager loading <ide> // the relationship. When that is the case we will pass in a dummy query as <ide> ...
1
Text
Text
make scope and naming of pull requests clearer
f0d907be664c848425cbde019f4291ee333105f5
<ide><path>docs/how-to-open-a-pull-request.md <add># How to open a Pull Request <add> <add>## How to prepare a good Pull Request title: <add> <add>When opening a Pull Request(PR), use the following scope table to decide what to title your PR in the following format: <add>`fix/feat/chore/refactor/docs/perf (scope): PR T...
2
Python
Python
add test for sin/cos for strided large inputs
02a7aee4adeb22ecc3a166811989ab9c5d5960f6
<ide><path>numpy/core/tests/test_umath.py <ide> def test_strided_float32(self): <ide> sizes = np.arange(2,100) <ide> for ii in sizes: <ide> x_f32 = np.float32(np.random.uniform(low=0.01,high=88.1,size=ii)) <add> x_f32_large = x_f32.copy() <add> x_f32_large[3:-1:4] = 120...
1
PHP
PHP
add typehint to setpdo method
3d690c30a86a965d463f4c3410f57c198fd0d7a7
<ide><path>src/Illuminate/Database/Connection.php <ide> public function getPdo() <ide> /** <ide> * Change the value of the currently used PDO connection. <ide> * <del> * @param mixed $pdo <add> * @param PDO|null $pdo <ide> */ <del> public function setPdo($pdo) <add> public function setPdo(PDO $pdo = null) <ide...
1
Python
Python
add maskedarray creation from non nd-array back in
b31a3a3fb05910abc2ee55d63255efdb2a2c383e
<ide><path>numpy/ma/core.py <ide> def __new__(cls, data=None, mask=nomask, dtype=None, copy=False, <ide> _data = ndarray.view(_data, type(data)) <ide> else: <ide> _data = ndarray.view(_data, cls) <add> <add> # Handle the case where data is not a subclass of ndarray, but <add> ...
2
Python
Python
allow relative paths in the filesystem backend
3508e1f2c3bff01952fc004047fb3f1fa15f370d
<ide><path>celery/backends/filesystem.py <ide> def __init__(self, url=None, open=open, unlink=os.unlink, sep=os.sep, <ide> def _find_path(self, url): <ide> if not url: <ide> raise ImproperlyConfigured(E_NO_PATH_SET) <del> if url.startswith('file:///'): <del> return url[7:] <ide...
1
PHP
PHP
simplify class name
af91bb42e3a18bcf5d30fe451718200dea9563e8
<ide><path>src/Datasource/QueryTrait.php <ide> use BadMethodCallException; <ide> use Cake\Collection\Iterator\MapReduce; <ide> use Cake\Datasource\Exception\RecordNotFoundException; <add>use Cake\Datasource\ResultSetDecorator; <ide> <ide> /** <ide> * Contains the characteristics for an object that is attached to a re...
1
Go
Go
fix merge issue
42d1c36a5c775a37a0173cf315086fde1c1b7dd8
<ide><path>tags_test.go <ide> func TestLookupImage(t *testing.T) { <ide> t.Errorf("Expected 1 image, none found") <ide> } <ide> <del> if img, err := runtime.repositories.LookupImage(unitTestImageName + ":" + DEFAULT_TAG); err != nil { <add> if img, err := runtime.repositories.LookupImage(unitTestImageName + ":" + D...
1
Javascript
Javascript
add hostcomponent type to reactnative
db8afe4f6318dba422177a2054204ef089570ad8
<ide><path>packages/react-native-renderer/src/NativeMethodsMixin.js <ide> export default function( <ide> measureLayout: function( <ide> relativeToNativeNode: number | Object, <ide> onSuccess: MeasureLayoutOnSuccessCallback, <del> onFail: () => void /* currently unused */, <add> onFail?: () => ...
5
Python
Python
add helpful error message in flatten
f2f4f4ec48a3ae49f3f345f5e0eda60084d606a8
<ide><path>keras/layers/core.py <ide> def __init__(self, **kwargs): <ide> @property <ide> def output_shape(self): <ide> input_shape = self.input_shape <add> if not all(input_shape[1:]): <add> raise Exception('The shape of the input to "Flatten" ' <add> 'is no...
1
Java
Java
update javadoc for throttlelast
b75b37c513b537025c939ced498d747c233bea38
<ide><path>rxjava-core/src/main/java/rx/Observable.java <ide> public static Observable<Long> interval(long interval, TimeUnit unit, Scheduler <ide> } <ide> <ide> /** <del> * Throttles the {@link Observable} by dropping values which are followed by newer values before the timer has expired. <del> * ...
1
Javascript
Javascript
fix problems with empty component id registration
795290d1b080c5c5960c24389333870bfe5931b5
<ide><path>src/core/ReactCompositeComponent.js <ide> var ReactCompositeComponentMixin = assign({}, <ide> } <ide> } <ide> <add> var renderedElement = this._renderValidatedComponent(); <add> if (renderedElement === ReactEmptyComponent.emptyElement) { <add> ReactEmptyComponent.registerNullC...
5
Text
Text
add babel version to blog post
4b3b56f36a692722c59376a1140670968c9f8bef
<ide><path>docs/_posts/2015-09-10-react-v0.14-rc1.md <ide> These builds are also available in the `react` and `react-dom` packages on bower <ide> <ide> - #### Compiler optimizations <ide> <del> React now supports two compiler optimizations that can be enabled in Babel. Both of these transforms **should be enabled ...
1
Javascript
Javascript
improve assertion message in internet dgram test
f04f4aef1014e207356abc1f57c197732de118d2
<ide><path>test/internet/test-dgram-send-cb-quelches-error.js <ide> function callbackOnly(err) { <ide> } <ide> <ide> function onEvent(err) { <del> assert.fail('Error should not be emitted if there is callback'); <add> assert.fail(`Error should not be emitted if there is callback: ${err}`); <ide> } <ide> <ide> funct...
1
Javascript
Javascript
simplify the data stored on `pdfobjects`-instances
f4712bc0ad967af3b153e760749da935a7b1f448
<ide><path>src/display/api.js <ide> class PDFObjects { <ide> return (this.#objs[objId] = { <ide> capability: createPromiseCapability(), <ide> data: null, <del> resolved: false, <ide> }); <ide> } <ide> <ide> class PDFObjects { <ide> // If there is a callback, then the get can be async and...
1
Ruby
Ruby
fix error message
2f679153ee6c77ee1248047dad37d4070dd5f021
<ide><path>Library/Contributions/cmd/brew-gist-logs.rb <ide> def post path, data <ide> <ide> class HTTP_Error < RuntimeError <ide> def initialize response <del> super "Error: HTTP #{response.code} #{response.message}" <add> super "HTTP #{response.code} #{response.message}" <ide> end <ide> end <ide>
1
Ruby
Ruby
fix clang version output on linux
25fe428ed27e89cd5ff9f7c6aee9d32e2e73faa7
<ide><path>Library/Homebrew/extend/os/mac/system_config.rb <ide> module SystemConfig <ide> class << self <ide> include SystemCommand::Mixin <ide> <del> undef describe_homebrew_ruby <add> undef describe_homebrew_ruby, describe_clang <ide> <ide> def describe_homebrew_ruby <ide> s = describe_homebr...
2
Javascript
Javascript
fix exception in getfoldablerangefornode
3d11c1726428766bf9e5b5ec292125950d123f72
<ide><path>src/tree-sitter-language-mode.js <ide> class TreeSitterLanguageMode { <ide> if (index === -1) continue <ide> foldStart = children[index].endPosition <ide> } <add> } else { <add> foldStart = new Point(node.startPosition.row, Infinity) <ide> } <ide> <ide> le...
1
Python
Python
remove remaining pylint disables
cad854288aec6f33cf5766d8098e90f3abf75878
<ide><path>airflow/www/views.py <ide> def index(self): <ide> dags_query = dags_query.filter(DagModel.tags.any(DagTag.name.in_(arg_tags_filter))) <ide> <ide> dags_query = dags_query.filter(DagModel.dag_id.in_(filter_dag_ids)) <del> # pylint: enable=no-member <ide> <ide> ...
2
Javascript
Javascript
add lut loaders
5e176f8f2887becd164873d6669457c02545c6f4
<ide><path>examples/jsm/loaders/LUT3dlLoader.js <add>// http://download.autodesk.com/us/systemdocs/help/2011/lustre/index.html?url=./files/WSc4e151a45a3b785a24c3d9a411df9298473-7ffd.htm,topicNumber=d0e9492 <add> <add>import { <add> Loader, <add> FileLoader, <add> Vector3, <add> DataTexture, <add> DataTexture3D, <add> R...
2
Go
Go
remove old tag format
8228d0e2bbd3a42755a84e11455b51a5caf61a94
<ide><path>api/client/commands.go <ide> func (cli *DockerCli) CmdTag(args ...string) error { <ide> if err := cmd.Parse(args); err != nil { <ide> return nil <ide> } <del> if cmd.NArg() != 2 && cmd.NArg() != 3 { <add> if cmd.NArg() != 2 { <ide> cmd.Usage() <ide> return nil <ide> } <ide> <del> var repository, ta...
1
PHP
PHP
add support for streamed reads
06fa47c09419eacd7c82bfedaca41a0956ae6dc9
<ide><path>src/Illuminate/Filesystem/FilesystemManager.php <ide> public function createS3Driver(array $config) <ide> <ide> $options = $config['options'] ?? []; <ide> <add> $streamReads = $config['stream_reads'] ?? false; <add> <ide> return $this->adapt($this->createFlysystem( <del> n...
1
Javascript
Javascript
fix minor typographical error
27a8824b50aa78e9a082b4377ca09250382a8655
<ide><path>src/ng/filter/filters.js <ide> var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+ <ide> * (e.g. `"h o''clock"`). <ide> * <ide> * @param {(Date|number|string)} date Date to format either as Date object, milliseconds (string or <del> * number) or various ISO 8601 datetime ...
1
Ruby
Ruby
remove extra whitespace
44f12bbba08071178ec256c03eecadacdf35dccf
<ide><path>actionpack/test/controller/flash_test.rb <ide> def test_redirect_to_with_adding_flash_types <ide> <ide> class FlashIntegrationTest < ActionDispatch::IntegrationTest <ide> SessionKey = '_myapp_session' <del> Generator = ActiveSupport::DummyKeyGenerator.new('b3c631c314c0bbca50c1b2843150fe33') <add> Gene...
1
Ruby
Ruby
remove dead code
e8210450ad141176efdc29895b835a0e132d14d5
<ide><path>actionpack/lib/action_dispatch/routing/polymorphic_routes.rb <ide> def action_prefix(options) <ide> def routing_type(options) <ide> options[:routing_type] || :url <ide> end <del> <del> def build_route_part(record, inflection) <del> if record.is_a?(Symbol) || record.i...
1
PHP
PHP
move nest() over
239f52c48ca124ee51820a04619778a5f176c0ea
<ide><path>lib/Cake/Test/Case/Utility/Set2Test.php <ide> public function testGet() { <ide> <ide> $result = Set2::get($data, '1.Article'); <ide> $this->assertEquals($data[1]['Article'], $result); <add> <add> $result = Set2::get($data, array('1', 'Article')); <add> $this->assertEquals($data[1]['Article'], $result)...
2
Javascript
Javascript
avoid negative layout dimensions
1a1e677699f7b466c970529bbb988dde81f0ad9c
<ide><path>src/core/core.layouts.js <ide> export default { <ide> } <ide> <ide> const padding = toPadding(chart.options.layout.padding); <del> const availableWidth = width - padding.width; <del> const availableHeight = height - padding.height; <add> const availableWidth = Math.max(width - padding.width...
2
Javascript
Javascript
allow static classes in bindattr
ce385e3294be019215c555511c7f393aebc02e41
<ide><path>packages/ember-handlebars/lib/helpers/binding.js <ide> EmberHandlebars.bindClasses = function(context, classBindings, view, bindAttrId) <ide> <ide> property = split[0]; <ide> <del> var val = getPath(context, property); <add> var val = property !== '' ? getPath(context, property) : true; <ide> <i...
2
PHP
PHP
remove redundancy in regex
49d11d3a7c34a4d00027602eb309b53d378cc98e
<ide><path>src/View/StringTemplate.php <ide> protected function _compileTemplates(array $templates = []): void <ide> } <ide> <ide> $template = str_replace('%', '%%', $template); <del> preg_match_all('#\{\{([\w\._]+)\}\}#', $template, $matches); <add> preg_match_all('#\{\{(...
1
Mixed
Go
use argv0 as reexec implementation for dockerinit
73210671764fc3de133a627205582e069e1ff43d
<ide><path>daemon/execdriver/driver.go <ide> var ( <ide> ErrDriverNotFound = errors.New("The requested docker init has not been found") <ide> ) <ide> <del>var dockerInitFcts map[string]InitFunc <del> <del>type ( <del> StartCallback func(*Command) <del> InitFunc func(i *InitArgs) error <del>) <del> <del>...
13
Ruby
Ruby
remove unused require
aec2b8b363dc907aa1a48cef3d7608ffae1ba2ab
<ide><path>activesupport/lib/active_support/test_case.rb <ide> require "active_support/testing/constant_lookup" <ide> require "active_support/testing/time_helpers" <ide> require "active_support/testing/file_fixtures" <del>require "active_support/core_ext/kernel/reporting" <ide> <ide> module ActiveSupport <ide> class...
1
Go
Go
fix bind-mounts only partially removed
b4283209d55289abb2c5b63df949a27c2704f5af
<ide><path>volumes/repository.go <ide> func (r *Repository) Delete(path string) error { <ide> return err <ide> } <ide> <del> if volume.IsBindMount { <del> return nil <del> } <del> <del> if err := r.driver.Remove(volume.ID); err != nil { <del> if !os.IsNotExist(err) { <del> return err <add> if !volume.IsBindMoun...
1
Ruby
Ruby
reinstate dom_id in controllers
ea4f8ef33f08a69a68f6b95f392e63ea9cc13602
<ide><path>actionpack/lib/action_controller/base.rb <ide> class Base < Metal <ide> include ActionController::Verification <ide> include ActionController::RequestForgeryProtection <ide> include ActionController::Streaming <add> include ActionController::RecordIdentifier <ide> include ActionController:...
2
Javascript
Javascript
remove unnecessary import
f884c987e29acef83a40164b681950a7fd8bf047
<ide><path>src/auto-update-manager.js <ide> 'use babel' <ide> <ide> import {Emitter, CompositeDisposable} from 'event-kit' <del>import {ipcRenderer} from 'electron' <ide> <ide> export default class AutoUpdateManager { <ide> constructor ({applicationDelegate}) {
1
PHP
PHP
fix empty session
e9ed079a6a3b51508273488c1f90fe95a47e9dcc
<ide><path>src/Illuminate/Session/FileSessionHandler.php <ide> public function read($sessionId) <ide> { <ide> if ($this->files->exists($path = $this->path.'/'.$sessionId)) { <ide> if (filemtime($path) >= Carbon::now()->subMinutes($this->minutes)->getTimestamp()) { <del> return $th...
1
Ruby
Ruby
add some implicit path tests to subscriber
13d76b6170886493369f94693e61364044e4316a
<ide><path>actionpack/test/template/subscriber_test.rb <ide> def test_render_partial_template <ide> assert_match /Rendered test\/_customer.erb/, @logger.logged(:info).last <ide> end <ide> <add> def test_render_partial_with_implicit_path <add> @view.stubs(:controller_path).returns("test") <add> @view.rende...
1
Python
Python
fix documentation in projectedadaptivelogsoftmax
d7dabfeff515d8714adeb182107a74be87d77149
<ide><path>src/transformers/modeling_transfo_xl_utilities.py <ide> def forward(self, hidden, labels=None, keep_order=False): <ide> labels :: [len*bsz] <ide> Return: <ide> if labels is None: <del> out :: [len*bsz] Negative log likelihood <del> ...
1
Text
Text
add 3.4.6 and 3.5.1 to the changelog.md
19f5c8919052d1acea9147b341dbbc8009c34f59
<ide><path>CHANGELOG.md <ide> - [#17025](https://github.com/emberjs/ember.js/pull/17025) / [#17034](https://github.com/emberjs/ember.js/pull/17034) / [#17036](https://github.com/emberjs/ember.js/pull/17036) / [#17038](https://github.com/emberjs/ember.js/pull/17038) / [#17040](https://github.com/emberjs/ember.js/pull/17...
1
Text
Text
update changelog with reverts
b5725434c6b01f5e25841d0d5165fd5b68187dca
<ide><path>CHANGELOG.md <ide> be found. <ide> <ide> - Fix Docker client exiting with an "Unrecognized input header" error [#20706](https://github.com/docker/docker/pull/20706) <ide> - Fix Docker exiting if Exec is started with both `AttachStdin` and `Detach` [#20647](https://github.com/docker/docker/pull/20647) <del>-...
1
Python
Python
adjust error message
8ac5f222531dcb602d08118693618598bc0c045d
<ide><path>spacy/errors.py <ide> class Errors: <ide> "issue tracker: http://github.com/explosion/spaCy/issues") <ide> <ide> # TODO: fix numbering after merging develop into master <del> E900 = ("Could not run the full 'nlp' pipeline for evaluation. If you specified " <del> "frozen compone...
2
Javascript
Javascript
use a plain object for the the error stack
70b31adffabf0e7fb57c06e02b4f75bf1a212f5e
<ide><path>lib/console.js <ide> Console.prototype.timeEnd = function timeEnd(label) { <ide> <ide> <ide> Console.prototype.trace = function trace(...args) { <del> // TODO probably can to do this better with V8's debug object once that is <del> // exposed. <del> var err = new Error(); <del> err.name = 'Trace'; <del...
1
PHP
PHP
add server and baseapplication
91234f42b03054136d05dee14fa2427fb7cd4b34
<ide><path>src/Http/BaseApplication.php <add><?php <add>/** <add> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <add> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <add> * <add> * Licensed under The MIT License <add> * For full copyright and license information, please se...
7
Ruby
Ruby
add missing require
fa132efe8232ad374f30532c9ed25f7414f89483
<ide><path>activerecord/test/cases/associations/inverse_associations_test.rb <ide> require "models/author" <ide> require "models/post" <ide> require "models/department" <add>require "models/hotel" <ide> <ide> class AutomaticInverseFindingTests < ActiveRecord::TestCase <ide> fixtures :ratings, :comments, :cars
1
Ruby
Ruby
update doc (closes )
b7aa22355413e4c160dbbe280006022bb193cce5
<ide><path>actionpack/lib/action_view/helpers/capture_helper.rb <ide> def capture(*args, &block) <ide> # for elements that will be fragment cached. <ide> # <ide> # The deprecated way of accessing a content_for block is to use an instance variable <del> # named <tt>@content_for_#{name_of_the_conte...
1
Python
Python
replace assertion with valueerror exception
a5be95413f99ada138f9d396eb4bd6a7216f640a
<ide><path>src/transformers/generation_flax_logits_process.py <ide> def __call__(self, input_ids: jnp.ndarray, scores: jnp.ndarray, cur_len: int, ** <ide> for processor in self: <ide> function_args = inspect.signature(processor.__call__).parameters <ide> if len(function_args) > 3: <del> ...
1
Javascript
Javascript
add buffergeometry de-duplication to gltf parser
b3c37c589fc81781babc4d576ff512de5b97c8f8
<ide><path>examples/js/loaders/GLTFLoader.js <ide> THREE.GLTFLoader = ( function () { <ide> <ide> } <ide> <add> function isPrimitiveEqual ( a, b ) { <add> <add> if ( a.indices !== b.indices ) { <add> <add> return false; <add> <add> } <add> <add> var attribA = a.attributes || {}; <add> var attribB = b.attribute...
1
Javascript
Javascript
use await correctly
9d44771895e25704be5841b32103927edf6eea43
<ide><path>scripts/publish-native.js <ide> const cwd = process.cwd() <ide> <ide> // Copy binaries to package folders, update version, and publish <ide> let nativePackagesDir = path.join(cwd, 'packages/next/build/swc/npm') <del> let platforms = await readdir(nativePackagesDir).filter( <add> let platforms ...
1
Javascript
Javascript
add intersection to enumerable utils
f3789b7acdd9c025c33b0519304036ebc11769ef
<ide><path>packages/ember-metal/lib/array.js <ide> /*jshint newcap:false*/ <add>require('ember-metal/enumerable_utils'); <ide> <ide> /** <ide> @module ember-metal <ide> Ember.ArrayPolyfills = { <ide> indexOf: arrayIndexOf <ide> }; <ide> <del>var utils = Ember.EnumerableUtils = { <del> map: function(obj, callback, ...
3
PHP
PHP
fix misspelling in mailer contract
c066baf94e8c28d0c4dc5728c2381ab5a3758d39
<ide><path>src/Illuminate/Contracts/Mail/Mailer.php <ide> public function to($users); <ide> public function bcc($users); <ide> <ide> /** <del> * Send a new message when only a raw text part. <add> * Send a new message with only a raw text part. <ide> * <ide> * @param string $text <ide> ...
1
Go
Go
fix the events, pull test to use v2 local server
be5de5bcb8d39515e374219aa95bd2ac855d6918
<ide><path>integration-cli/docker_cli_events_test.go <ide> func TestEventsImageUntagDelete(t *testing.T) { <ide> <ide> func TestEventsImagePull(t *testing.T) { <ide> since := daemonTime(t).Unix() <add> testRequires(t, Network) <ide> <ide> defer deleteImages("hello-world") <ide>
1
Javascript
Javascript
use common.mustnotcall in test-crypto-random
112ef23bba80c947799f3cc85c407543acb6c703
<ide><path>test/parallel/test-crypto-random.js <ide> const expectedErrorRegexp = /^TypeError: size must be a number >= 0$/; <ide> [crypto.randomBytes, crypto.pseudoRandomBytes].forEach(function(f) { <ide> [-1, undefined, null, false, true, {}, []].forEach(function(value) { <ide> assert.throws(function() { f(value...
1
Ruby
Ruby
fix failing asset test
dbe28f3cb0c3957b2fb5847b2b205a5359481924
<ide><path>railties/test/application/assets_test.rb <ide> def precompile! <ide> app_file "app/assets/javascripts/app.js", "alert();" <ide> <ide> require "#{app_path}/config/environment" <del> class ::PostsController < ActionController::Base ; end <add> class ::PostsController < ActionController::...
1
Javascript
Javascript
add usecreateindex to mongoose connection options
cf916f99061b3e72604bc4937a86a9c6b6274f35
<ide><path>examples/with-mongodb-mongoose/utils/dbConnect.js <ide> async function dbConnect() { <ide> useNewUrlParser: true, <ide> useUnifiedTopology: true, <ide> useFindAndModify: false, <add> useCreateIndex: true, <ide> }) <ide> } <ide>
1
Javascript
Javascript
add broken test for
74c02066fe0e963722b0d7d5a78c703fd14c0275
<ide><path>test/simple/test-regress-GH-1726.js <add>// Copyright Joyent, Inc. and other Node contributors. <add>// <add>// Permission is hereby granted, free of charge, to any person obtaining a <add>// copy of this software and associated documentation files (the <add>// 'Software'), to deal in the Software without re...
1
PHP
PHP
fix bug in eloquent model update routine
eb8f512c44f8060a2f3043e6fcd6e7d1a5177c59
<ide><path>src/Illuminate/Database/Eloquent/Model.php <ide> public function save() <ide> */ <ide> protected function performUpdate($query) <ide> { <del> // If the updating event returns false, we will cancel the update operation so <del> // developers can hook Validation systems into their models and cancel this ...
2
Javascript
Javascript
remove extraneous parentheses from `new` operator
3941be193a3391ab90272738bc17337c0cf5f58e
<ide><path>d3.js <ide> (function(){d3 = {version: "1.17.0"}; // semver <ide> if (!Date.now) Date.now = function() { <del> return +new Date(); <add> return +new Date; <ide> }; <ide> if (!Object.create) Object.create = function(o) { <ide> /** @constructor */ function f() {} <ide> f.prototype = o; <del> return new ...
6
Ruby
Ruby
remove duplicate test
96ac7e4cdee004bcd19cb63b3e3396329e3b39ed
<ide><path>activejob/test/cases/test_helper_test.rb <ide> def test_assert_performed_jobs_with_except_and_queue_options <ide> end <ide> end <ide> <del> def test_assert_performed_jobs_with_except_and_queue_options_failuree <add> def test_assert_performed_jobs_with_except_and_queue_options_failure <ide> error...
1
Python
Python
update all examples with new api
2bd4c295d6cae124f2cffce0e7343dc2c18d7eee
<ide><path>examples/addition_rnn.py <ide> # -*- coding: utf-8 -*- <ide> from __future__ import print_function <ide> from keras.models import Sequential, slice_X <del>from keras.layers.core import Activation, Dense, RepeatVector <add>from keras.layers.core import Activation, TimeDistributedDense, RepeatVector <ide> from...
17
PHP
PHP
fix a docblock in the controller class
958efea5bdfd9bd2076604af1b843c5a55e00d0a
<ide><path>laravel/routing/controller.php <ide> public static function call($destination, $parameters = array()) <ide> /** <ide> * Resolve a controller name to a controller instance. <ide> * <del> * @param Container $container <add> * @param string $container <ide> * @param string $controller <i...
1
Text
Text
fix position of `fs.readsync()`
2011f2c6dc13c6148c5d581d636c809f796f7572
<ide><path>doc/api/fs.md <ide> object with an `encoding` property specifying the character encoding to use for <ide> the link path passed to the callback. If the `encoding` is set to `'buffer'`, <ide> the link path returned will be passed as a `Buffer` object. <ide> <add>## fs.readSync(fd, buffer, offset, length, posi...
1
Javascript
Javascript
enable throwonmodulecollision for jest-haste-map
122b239ce0c1df1918c17fbd8413c5d00d265465
<ide><path>packager/src/node-haste/DependencyGraph.js <ide> class DependencyGraph extends EventEmitter { <ide> resetCache: opts.resetCache, <ide> retainAllFiles: true, <ide> roots: opts.roots, <add> throwOnModuleCollision: true, <ide> useWatchman: opts.useWatchman, <ide> watch: opts.w...
2
Ruby
Ruby
add uuid primary key support
bc8ebefe9825dbff2cffa29ff015a1e7a31f9812
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb <ide> def columns; @columns_hash.values; end <ide> <ide> # Appends a primary key definition to the table definition. <ide> # Can be called multiple times, but this is probably not a good idea. <del> def primar...
5
Text
Text
add v3.3.0-beta.2 to changelog
1de74dc28634cbfc14bab974d14db37ba0aab67e
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.3.0-beta.2 (June 11, 2018) <add>- [#16709](https://github.com/emberjs/ember.js/pull/16709) [BUGFIX] Avoid ordered set deprecation in @ember/ordered-set addon <add>- [#16715](https://github.com/emberjs/ember.js/pull/16715) [BUGFIX] Update glimmer-vm to 0...
1
Javascript
Javascript
use minerr to throw exception
aad29cbbf0b101bc5e793a66df7e368c7968cad8
<ide><path>src/ngResource/resource.js <ide> 'use strict'; <ide> <add>var ngResourceMinErr = minErr('ngResource'); <add> <ide> /** <ide> * @ngdoc overview <ide> * @name ngResource <ide> angular.module('ngResource', ['ng']). <ide> break; <ide> case 0: break; <ide> default: <del> ...
1
Javascript
Javascript
add weeksinyear and isoweeksinyear
3e0fd9d7d2b645f7a396dfe1a4d3334a8e438e16
<ide><path>moment.js <ide> return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); <ide> } <ide> <add> function weeksInYear(year, dow, doy) { <add> return weekOfYear(moment([year, 11, 31 + dow - doy]), dow, doy).week; <add> } <add> <ide> function daysInYear(year) { <ide> return...
2
PHP
PHP
add throttle middleware
1d0853b638a6fb0594cc0a3b5154072aa76e9e2e
<ide><path>app/Http/Kernel.php <ide> class Kernel extends HttpKernel <ide> 'auth' => \App\Http\Middleware\Authenticate::class, <ide> 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, <ide> 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, <add> 't...
1
Java
Java
remove support for declaring class proxies hints
9846d28ae625fffb0105c0e15f175935aba64fa2
<ide><path>spring-core/src/main/java/org/springframework/aot/hint/ClassProxyHint.java <del>/* <del> * Copyright 2002-2022 the original author or authors. <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance with the License. <del> * You m...
4
Python
Python
fix libcloud_debug mode
4e382378fccb78702b85f357363f5c660f2d7c17
<ide><path>libcloud/common/base.py <ide> class fakesock: <ide> def __init__(self, s): <ide> self.s = s <ide> def makefile(self, mode, foo): <del> return StringIO.StringIO(self.s) <add> return StringIO(self.s) <ide> rr = r <ide> if r.c...
1
Javascript
Javascript
parse certificates separately
5fe16ada3d3cbf16431056c9f750180de007e496
<ide><path>tools/challenge-md-parser/tests-to-data.js <ide> function plugin() { <ide> ); <ide> tests.question.text = mdToHTML(tests.question.text); <ide> } <del> if (tests.tests) { <add> // since tests are overloaded (they're both a list of projects and <add> // actual t...
1
PHP
PHP
apply fixes from styleci
8a39838353ccd460a93252b9c7c114e9790d24a7
<ide><path>src/Illuminate/Support/Testing/Fakes/MailFake.php <ide> <ide> namespace Illuminate\Support\Testing\Fakes; <ide> <del>use Illuminate\Support\Collection; <del>use Illuminate\Container\Container; <ide> use Illuminate\Contracts\Mail\Mailer; <ide> use Illuminate\Contracts\Mail\Mailable; <ide> use PHPUnit_Framew...
1
PHP
PHP
use expression instead of numeric value
142a84d83793b84f644d4c0d495dea40e18514bf
<ide><path>src/Illuminate/Database/Query/Grammars/Grammar.php <ide> protected function whereNotExists(Builder $query, $where) <ide> */ <ide> protected function whereIn(Builder $query, $where) <ide> { <del> if (empty($where['values'])) return '0'; <add> if (empty($where['values'])) return '0=1'; <ide> <ide> $va...
2
Java
Java
fix contextpath request matching with pathpatterns
5a4a677fbd05373d4a63c9b161128cb61cbc9feb
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractUrlHandlerMapping.java <ide> /* <del> * Copyright 2002-2020 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
Mixed
Go
provide option to enabled deferred device deletion
51e059e7e90f37848596a0b6ec83f7835e6e4131
<ide><path>daemon/graphdriver/devmapper/deviceset.go <ide> var ( <ide> logLevel = devicemapper.LogLevelFatal <ide> driverDeferredRemovalSupport = false <ide> enableDeferredRemoval = false <add> enableDeferredDeletion = false <ide> ) <ide> <ide> const deviceSetMetaFile string = "devi...
4
PHP
PHP
fix failing test in databasesession
a2a3b02c10064c462dac34f741d484b2fe43f62c
<ide><path>Cake/Network/Session/DatabaseSession.php <ide> public function __construct() { <ide> $modelAlias = Configure::read('Session.handler.model'); <ide> <ide> if (empty($modelAlias)) { <del> $this->_table = TableRegistry::get('Sessions', [ <del> 'table' => 'cake_sessions', <del> ]); <add> $config = T...
1
Python
Python
remove unused ioerror exception var
90a0c9e6354c9a6da26f18675b0e8482c2a9e281
<ide><path>libcloud/ssh.py <ide> def put(self, path, contents=None, chmod=None): <ide> if part != "": <ide> try: <ide> sftp.mkdir(part) <del> except IOError, e: <del> # so, there doens't seem to be a way to <add> except IOE...
1
Java
Java
add create shortcut to rsocketstrategies
c456950bc3d2611e34154afc87193b3cc9e1f7a8
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/rsocket/RSocketStrategies.java <ide> default <T> Decoder<T> decoder(ResolvableType elementType, @Nullable MimeType mi <ide> */ <ide> ReactiveAdapterRegistry reactiveAdapterRegistry(); <ide> <add> /** <add> * Return a builder to create a new {@...
4
Python
Python
specialize loadtxt packer for uniform-dtype data
009e4cad006f705635d35309fdeac434dd734c17
<ide><path>numpy/lib/npyio.py <ide> def floatconv(x): <ide> <ide> # not to be confused with the flatten_dtype we import... <ide> def _loadtxt_flatten_dtype_internal(dt): <del> """Unpack a structured data-type, and produce re-packing info.""" <add> """Unpack a structured data-type, and produce a packer function."...
1
Javascript
Javascript
handle undefined input to mergekeyset
5b1e4c0324c984be96d4792b1ed13d457862a5bd
<ide><path>src/addons/transitions/ReactTransitionGroup.js <ide> var ReactTransitionGroupMixin = { <ide> 'getTransitionConfig() method.' <ide> ); <ide> <del> // don't animate undefined children <del> if (typeof sourceChildren === 'undefined') { <del> return; <del> } <del> <ide> var children ...
3
Text
Text
fix typo in doughnut documentation
faad02331393b5ae4f07eafc119002fa21966118
<ide><path>docs/charts/doughnut.md <ide> The following values are supported for `borderAlign`. <ide> * `'center'` (default) <ide> * `'inner'` <ide> <del>When `'center'` is set, the borders of arcs next to each other will overlap. When `'inner'` is set, it is guaranteed that all the borders are not overlap. <add>When `...
1
Javascript
Javascript
move resource acquisition to mutation phase
71f2c8cf1583f65224bce37bb2ef69e533671183
<ide><path>packages/react-reconciler/src/ReactFiberCommitWork.new.js <ide> function commitLayoutEffectOnFiber( <ide> committedLanes, <ide> ); <ide> <del> if (flags & Update) { <del> const newResource = finishedWork.memoizedState; <del> if (current !== null) { <del> ...
2
Javascript
Javascript
use shorthand properties
db9c556f507ea2510a603ca526d6cd1e79cfac2d
<ide><path>test/fixtures/tls-connect.js <ide> exports.connect = function connect(options, callback) { <ide> <ide> const server = {}; <ide> const client = {}; <del> const pair = { <del> server: server, <del> client: client, <del> }; <add> const pair = { server, client }; <ide> <ide> tls.createServer(opt...
40
Ruby
Ruby
remove trailing whitespace
69054b06b583da2bd13fc4b784c6802ee92d25be
<ide><path>Library/Homebrew/cmd/tap.rb <ide> def tap <ide> opoo "`brew tap --full` is now a no-op!" <ide> # odeprecated "`brew tap --full`" <ide> end <del> <add> <ide> if args.shallow? <ide> opoo "`brew tap --shallow` is now a no-op!" <ide> # odeprecated "`brew tap --sh...
1