content_type stringclasses 8
values | main_lang stringclasses 7
values | message stringlengths 1 50 | sha stringlengths 40 40 | patch stringlengths 52 962k | file_count int64 1 300 |
|---|---|---|---|---|---|
PHP | PHP | fix bug in form builder | 105541d3540aba4485f651ff7cec27745c920b53 | <ide><path>src/Illuminate/Html/FormBuilder.php
<ide> protected function getAction(array $options)
<ide> */
<ide> protected function getAppendage($method)
<ide> {
<add> $method = strtoupper($method);
<add>
<ide> if ($method == 'PUT' or $method == 'DELETE')
<ide> {
<del> $append = $this->hidden('_method', $met... | 1 |
Text | Text | add my focus | cd045b33c750011016c6c49456987d5156d26c93 | <ide><path>docs/focus/2018-03-19.md
<ide> - Adjusted teletype-server's caching directives in an effort to reduce or eliminate package initialization errors ([atom/teletype-server#47](https://github.com/atom/teletype-server/pull/47), [atom/teletype#318](https://github.com/atom/teletype/issues/318))
<ide> - Published... | 1 |
Mixed | Javascript | capitalize comment sentences | 50dd555910ed0338c35f27ee57e947b9ec95724c | <ide><path>.eslintrc.js
<ide> module.exports = {
<ide> 'brace-style': ['error', '1tbs', { allowSingleLine: true }],
<ide> 'capitalized-comments': ['error', 'always', {
<ide> line: {
<del> // Ignore all lines that have less characters than 62 and all lines that
<add> // Ignore all lines that ... | 200 |
Ruby | Ruby | kick boot_test back to life | 94a83007b60f6e7cdadd05513ccda9bfe689c719 | <ide><path>railties/test/boot_test.rb
<ide> require 'abstract_unit'
<ide> require 'initializer'
<del>require "#{File.dirname(__FILE__)}/../environments/boot"
<add>require "#{File.dirname(__FILE__)}/../lib/generator/templates/app/config/boot"
<ide> require 'rails/gem_dependency'
<ide>
<ide> class BootTest < Test::Unit:... | 1 |
Go | Go | add test on archive.go | c4fe5dad1deb45ecde460d7627523dbf032dc205 | <ide><path>pkg/archive/archive.go
<ide> func Tar(path string, compression Compression) (io.ReadCloser, error) {
<ide> return TarWithOptions(path, &TarOptions{Compression: compression})
<ide> }
<ide>
<del>func escapeName(name string) string {
<del> escaped := make([]byte, 0)
<del> for i, c := range []byte(name) {
<del... | 2 |
Java | Java | fix issue with requestbody(required=true) | de1a41ac275da81ead9dfd241c6ca1266adab75a | <ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessor.java
<ide> /*
<del> * Copyright 2002-2013 the original author or authors.
<add> * Copyright 2002-2014 the original author or authors.
<ide> *
<ide> * Licensed under the Apache License, Versi... | 3 |
Javascript | Javascript | improve template value for test message | f7436ba1358f6af30d7d9baffdbef8754573f0e5 | <ide><path>test/parallel/test-cluster-master-kill.js
<ide> if (cluster.isWorker) {
<ide> process.once('exit', () => {
<ide> assert.strictEqual(typeof pid, 'number',
<ide> `got ${pid} instead of a worker pid`);
<del> assert.strictEqual(alive, false, 'worker was alive after master died');
... | 1 |
Javascript | Javascript | update numberkeyframetrack inheritance | aaf9f49525dd42599b8729564691923749fc6d55 | <ide><path>src/animation/tracks/NumberKeyframeTrack.js
<del>import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
<del>import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
<add>import { KeyframeTrack } from '../KeyframeTrack.js';
<ide>
<ide> /**
<ide> *
<ide> import { KeyframeTr... | 1 |
Ruby | Ruby | move llvm method to failswithllvm | 962f4fa9ef4492fa62fc4c8aa6d827fa6d3f3590 | <ide><path>Library/Homebrew/formula.rb
<ide> def brew
<ide> validate_variable :name
<ide> validate_variable :version
<ide>
<del> handle_llvm_failure(fails_with_llvm?) if fails_with_llvm?
<add> fails_with_llvm?.handle_failure if fails_with_llvm?
<ide>
<ide> stage do
<ide> begin
<ide> def std_cm... | 2 |
PHP | PHP | use less inflection on aliasing. add tests | a85f9573e3eee515cc6a4ba1b5c56200f9aaa1cc | <ide><path>src/ORM/Locator/TableLocator.php
<ide> public function getConfig(?string $alias = null): array
<ide> * key in the registry. This means that if two plugins, or a plugin and app provide
<ide> * the same alias, the registry will only store the first instance.
<ide> *
<del> * @param string $al... | 2 |
Text | Text | clarify ambiguous rdev description | 584fc7e965d0425346325a03c3288c6f885ae649 | <ide><path>doc/api/fs.md
<ide> The numeric group identifier of the group that owns the file (POSIX).
<ide>
<ide> * {number|bigint}
<ide>
<del>A numeric device identifier if the file is considered "special".
<add>A numeric device identifier if the file represents a device.
<ide>
<ide> ### `stats.size`
<ide> | 1 |
Go | Go | move "unpause" to daemon/pause.go | 63bd4ad9d6d0c55691ff33cbfd24684ef91649e4 | <ide><path>daemon/daemon.go
<ide> func (daemon *Daemon) Install(eng *engine.Engine) error {
<ide> if err := eng.Register("pause", daemon.ContainerPause); err != nil {
<ide> return err
<ide> }
<add> if err := eng.Register("unpause", daemon.ContainerUnpause); err != nil {
<add> return err
<add> }
<ide> return nil
<... | 4 |
Javascript | Javascript | fix clicks in mobile safari | 4deb0d619c06e8f0d30f972a6412d65f19b7f921 | <ide><path>src/core/ReactDefaultInjection.js
<ide> var ChangeEventPlugin = require('ChangeEventPlugin');
<ide> var EventPluginHub = require('EventPluginHub');
<ide> var ReactInstanceHandles = require('ReactInstanceHandles');
<ide> var SimpleEventPlugin = require('SimpleEventPlugin');
<add>var MobileSafariClickEventPlug... | 3 |
Text | Text | update urls in readme.md to point to v7.3.0 | 79edf5b9f11bfa04232481f4654e8396286528f5 | <ide><path>README.md
<ide> Thanks to the awesome folks over at [Fastly][fastly], there's a free, CDN hosted version of Video.js that anyone can use. Add these tags to your document's `<head>`:
<ide>
<ide> ```html
<del><link href="//vjs.zencdn.net/7.2/video-js.min.css" rel="stylesheet">
<del><script src="//vjs.zencdn.n... | 1 |
PHP | PHP | add missing methods to the job contract | a38141968d3ce58f9b54b31ee970c14c7d48edbe | <ide><path>src/Illuminate/Contracts/Queue/Job.php
<ide> public function getName();
<ide> * @return string
<ide> */
<ide> public function getQueue();
<add>
<add> /**
<add> * Determine if the job has been deleted or released.
<add> *
<add> * @return bool
<add> */
<add> public function ... | 1 |
PHP | PHP | fix typo and cs error | b9f0f3c4e22026615b98db7b2ac416504e845604 | <ide><path>tests/TestCase/Console/Command/Task/TestTaskTest.php
<ide> public function testExecuteWithTwoArgs() {
<ide> $this->Task->execute();
<ide> }
<ide>
<del>
<ide> /**
<ide> * Test generating class options for table.
<ide> *
<ide> public function testGetRealClassname($type, $name, $expected) {
<ide> * @retu... | 1 |
Go | Go | remove engine from links | 7560018541192ebdfe16e39515f9a04b44635d84 | <ide><path>daemon/container.go
<ide> func (container *Container) setupLinkedContainers() ([]string, error) {
<ide> linkAlias,
<ide> child.Config.Env,
<ide> child.Config.ExposedPorts,
<del> daemon.eng)
<add> )
<ide>
<ide> if err != nil {
<ide> rollback()
<ide><path>links/links.go
<ide> import (
... | 3 |
Javascript | Javascript | use more `for...of` loops in the code-base | 60f6272ed9e5c81af12785334dac43babdba5f09 | <ide><path>src/core/catalog.js
<ide> class Catalog {
<ide>
<ide> const kidPromises = [];
<ide> let found = false;
<del> for (let i = 0, ii = kids.length; i < ii; i++) {
<del> const kid = kids[i];
<add> for (const kid of kids) {
<ide> if (!(kid instanceof Ref... | 16 |
Mixed | Ruby | restore original remote_ip algorithm | 75dcdbc84e53cd824c4f1c3e4cb82c40f27010c8 | <ide><path>actionpack/CHANGELOG.md
<ide> ## Rails 4.0.0 (unreleased) ##
<ide>
<add>* Return the last valid, non-private IP address from the X-Forwarded-For,
<add> Client-IP and Remote-Addr headers, in that order. Document the rationale
<add> for that decision, and describe the options that can be passed to the... | 5 |
Text | Text | fix incorrect bit of tutorial | 921c5840aa64c184bcfa6cc2344d0fdca406548b | <ide><path>docs/tutorial/3-class-based-views.md
<ide> So far, so good. It looks pretty similar to the previous case, but we've got be
<ide> comment = self.get_object(pk)
<ide> serializer = CommentSerializer(request.DATA, instance=comment)
<ide> if serializer.is_valid():
<del> ... | 1 |
Python | Python | fix a comment string | a36ce17c317f8f56f44242714e33b16b37e051ea | <ide><path>numpy/lib/utils.py
<ide> def memory_bounds(a):
<ide> nd_a = len(ashape)
<ide> bytes_a = int(ai['typestr'][2:])
<ide>
<del> # a_low points to first element of array
<del> # a_high points to last element of the array
<del>
<ide> a_low = a_high = a_data
<ide> if astrides is None: # contig... | 1 |
Go | Go | allow additional media-types | a6a539497ad4ff879d10ed8b588fb4dca0418fb4 | <ide><path>distribution/pull_v2.go
<ide> func (p *puller) pullSchema1(ctx context.Context, ref reference.Reference, unver
<ide> }
<ide>
<ide> func checkSupportedMediaType(mediaType string) error {
<del> supportedMediaTypes := []string{
<del> "application/vnd.oci.image.",
<del> "application/vnd.docker.",
<del> }
<del... | 2 |
Javascript | Javascript | add missing geometries to objectloader | 4e2ead55f8699af5f9bf72f89312af01194dc79e | <ide><path>src/loaders/ObjectLoader.js
<ide> Object.assign( ObjectLoader.prototype, {
<ide> break;
<ide>
<ide> case 'DodecahedronGeometry':
<add> case 'DodecahedronBufferGeometry':
<ide> case 'IcosahedronGeometry':
<add> case 'IcosahedronBufferGeometry':
<ide> case 'OctahedronGeometry':
<a... | 1 |
Java | Java | use resolvabletype in genericcollectntyperesolver | fdf0ef40c0735e2b5b48330e29f4d8914c838e3b | <ide><path>spring-core/src/main/java/org/springframework/core/GenericCollectionTypeResolver.java
<ide>
<ide> package org.springframework.core;
<ide>
<del>import java.lang.reflect.Array;
<ide> import java.lang.reflect.Field;
<del>import java.lang.reflect.GenericArrayType;
<del>import java.lang.reflect.MalformedParamet... | 1 |
Python | Python | use better variable names, move check to the top | 2ebdee24775b13d02b985ed146594357c89bec44 | <ide><path>libcloud/compute/base.py
<ide> def delete_key_pair(self, key_pair):
<ide> def wait_until_running(self, nodes, wait_period=3, timeout=600,
<ide> ssh_interface='public_ips', force_ipv4=True):
<ide> """
<del> Block until the provided nodes are considered running
<ad... | 1 |
Text | Text | improve common.mustcall() explanation | 9cfeccec4506f9a3c3cbd394db90f8fc1691b392 | <ide><path>test/README.md
<ide> Array of IPV6 hosts.
<ide> ### mustCall(fn[, expected])
<ide> * fn [<Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function)
<ide> * expected [<Number>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type... | 1 |
Text | Text | add model card | 326e6ebae78572a3136223156f78abbd8f499773 | <ide><path>model_cards/mrm8488/spanbert-base-finetuned-squadv1/README.md
<add>---
<add>language: english
<add>thumbnail:
<add>---
<add>
<add># SpanBERT base fine-tuned on SQuAD v1
<add>
<add>[SpanBERT](https://github.com/facebookresearch/SpanBERT) created by [Facebook Research](https://github.com/facebookresearch) and ... | 1 |
Ruby | Ruby | fix install_name massaging for keg-only brews | 870f36769ef747b4f8eb8d5444eb2739affb73a1 | <ide><path>Library/Homebrew/keg_fix_install_names.rb
<ide> class Keg
<ide> def fix_install_names
<ide> dylibs.each do |dylib|
<ide> bad_install_names_for dylib do |id, bad_names|
<del> # avoid the chmod change if unecessary—I'm not convinced it reverses right
<del> next if bad_names.empty? and... | 1 |
Java | Java | add generic composite filter | 47f45ff7435cc9be7a2ad0fbfe6e65312f348599 | <ide><path>org.springframework.web/src/main/java/org/springframework/web/filter/CompositeFilter.java
<add>/*
<add> * Copyright 2002-2011 the original author or authors.
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * you may not use this file except in compliance with the License... | 2 |
Python | Python | add missing deprecation dates and versions | 566c84bfda3ac656232600445442cdf74bc84569 | <ide><path>numpy/lib/function_base.py
<ide> def delete(arr, obj, axis=None):
<ide> # After removing the special handling of booleans and out of
<ide> # bounds values, the conversion to the array can be removed.
<ide> if obj.dtype == bool:
<add> # 2012-10-11, NumPy 1.8
<ide> warnings.warn("in ... | 1 |
Javascript | Javascript | avoid reserved property under es | f3a37ce8f8fef541f29a39c788d480a247aa3c5c | <ide><path>lib/util/propertyAccess.js
<ide> "use strict";
<ide>
<ide> const SAFE_IDENTIFIER = /^[_a-zA-Z$][_a-zA-Z$0-9]*$/;
<add>const RESERVED_IDENTIFER = [
<add> "break",
<add> "case",
<add> "catch",
<add> "class",
<add> "const",
<add> "continue",
<add> "debugger",
<add> "default",
<add> "delete",
<add> "do",
<add> ... | 1 |
Javascript | Javascript | remove dublicate classname from head (followup) | 4c6ec18d89150f0a8dcaf56bbc7a17d669be8342 | <ide><path>lib/head.js
<ide> function reduceComponents (components) {
<ide> return a.concat(b)
<ide> }, [])
<ide> .reverse()
<del> .concat(defaultHead())
<add> .concat(defaultHead(''))
<ide> .filter(Boolean)
<ide> .filter(unique())
<ide> .reverse()
<ide><path>test/integration/basic/pages... | 4 |
Javascript | Javascript | fix tab completion of inspector module | a6f3e8f3fe653c48a48c877feec1c24306c3248e | <ide><path>lib/internal/modules/cjs/helpers.js
<ide> const builtinLibs = [
<ide> 'stream', 'string_decoder', 'tls', 'tty', 'url', 'util', 'v8', 'vm', 'zlib'
<ide> ];
<ide>
<del>if (typeof process.binding('inspector').connect === 'function') {
<add>if (typeof process.binding('inspector').open === 'function') {
<ide> ... | 2 |
Python | Python | fix prediction with structured output | 677726b9d967bbdc354bb3bf9c350d360e59ab36 | <ide><path>keras/engine/training.py
<ide> def predict_function(iterator):
<ide> outputs = step_function(self, iterator)
<ide> for _ in tf.range(self._steps_per_execution - 1):
<ide> tf.autograph.experimental.set_loop_options(
<del> shape_invariants=[(
<del> t, tf_... | 1 |
Java | Java | fix javadoc in standardservletasyncwebrequest | c82a4450949287c7d426aa53fe198de2968be312 | <ide><path>spring-web/src/main/java/org/springframework/web/context/request/async/StandardServletAsyncWebRequest.java
<ide> *
<ide> * <p>The servlet and all filters involved in an async request must have async
<ide> * support enabled using the Servlet API or by adding an
<del> * <code><async-supported>true</as... | 1 |
Text | Text | remove the docs readme | dde69f8da44a9bca11929a386983991fae5f806a | <ide><path>docs/README.md
<del># Welcome to the Atom API Documentation
<add># Welcome to the Atom Docs
<ide>
<ide> 
<ide>
<del>## FAQ
<del>
<del>### Where do I start?
<del>
<del>Check out [EditorView][EditorView]... | 1 |
Java | Java | fix standard multipart binding + polish | cc4faa59902a18e22c9e554b7576883b89c6b36e | <ide><path>spring-web/src/main/java/org/springframework/web/bind/support/WebRequestDataBinder.java
<ide> package org.springframework.web.bind.support;
<ide>
<ide> import java.io.IOException;
<add>import java.util.List;
<add>import java.util.Map;
<ide>
<ide> import javax.servlet.ServletException;
<ide> import javax.se... | 3 |
Mixed | Ruby | stringify variables names for mysql connections | 7e8b06282354da82518f96e0aab38f04788237fa | <ide><path>activerecord/CHANGELOG.md
<add>* Stringify all variables keys of mysql connection configuration.
<add>
<add> When `sql_mode` variable for mysql adapters set in configuration as `String`
<add> was ignored and overwritten by strict mode option.
<add>
<add> Fixes #14895
<add>
<add> *Paul Nikitochk... | 4 |
Go | Go | fix cross compile for make cross | 93ed15075c43d521f05f4b8f96264efb7fe174e4 | <ide><path>execdriver/native/driver.go
<ide> import (
<ide> "github.com/dotcloud/docker/pkg/cgroups"
<ide> "github.com/dotcloud/docker/pkg/libcontainer"
<ide> "github.com/dotcloud/docker/pkg/libcontainer/nsinit"
<add> "github.com/dotcloud/docker/pkg/system"
<ide> "io/ioutil"
<ide> "os"
<ide> "os/exec"
<ide> func ... | 13 |
Python | Python | add the algorithms of image augmentation | 2f6a7ae1fa44514f52f9a97f83d7bbb2b18e53f2 | <ide><path>computer_vision/flip_augmentation.py
<add>import glob
<add>import os
<add>import random
<add>from string import ascii_lowercase, digits
<add>
<add>import cv2
<add>
<add>"""
<add>Flip image and bounding box for computer vision task
<add>https://paperswithcode.com/method/randomhorizontalflip
<add>"""
<add>
<ad... | 2 |
Javascript | Javascript | remove ie10 launcher from karma config | 7b6f541e9dd03ec8554b9f0c0739f4966c4a7e68 | <ide><path>karma.conf.js
<ide> module.exports = function(config) {
<ide>
<ide> // IE
<ide> if (runAll || process.env.SAUCE_IE) {
<del> customLaunchers.SL_IE10 = createCustomLauncher('internet explorer', 10, 'Windows 2012');
<ide> customLaunchers.SL_IE11 = createCustomLauncher('internet explorer', 11... | 1 |
Text | Text | fix small typos in readme | 571948434bf78ee1f270bb28d4b01d88f7955195 | <ide><path>README.md
<ide> or packaging just about any resource or asset.
<ide>
<ide> **TL; DR**
<ide>
<del>* Bundles both [CommonJs](http://wiki.commonjs.org/) and [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) modules (even combined).
<add>* Bundles both [CommonJS](http://wiki.commonjs.org/) and [AMD](https://g... | 1 |
Javascript | Javascript | fix flaky interval test | b88da496ef3ac9bf2a9dab101bb5827d9f41df04 | <ide><path>test/sequential/test-timers-set-interval-excludes-callback-duration.js
<ide> let first;
<ide> const t = setInterval(() => {
<ide> cntr++;
<ide> if (cntr === 1) {
<del> first = Timer.now();
<ide> common.busyLoop(100);
<add> first = Timer.now();
<ide> } else if (cntr === 2) {
<del> assert(Ti... | 1 |
Python | Python | fix url escaping | 650a91ac24cbd3e5b4ad5d7d7c6706fdf6160a78 | <ide><path>rest_framework/templatetags/rest_framework.py
<ide> def replace_query_param(url, key, val):
<ide> query_dict = QueryDict(query).copy()
<ide> query_dict[key] = val
<ide> query = query_dict.urlencode()
<del> return escape(urlparse.urlunsplit((scheme, netloc, path, query, fragment)))
<add> ret... | 1 |
PHP | PHP | consolidate model/alias shuffling | 62cfe3c97ddee77849a85160d12665304b3f0a9f | <ide><path>src/ORM/Behavior/TranslateBehavior.php
<ide> class TranslateBehavior extends Behavior
<ide> */
<ide> public function __construct(Table $table, array $config = [])
<ide> {
<del> $config += ['defaultLocale' => I18n::defaultLocale()];
<add> $config += [
<add> 'defaultLocale... | 1 |
Go | Go | move rest of cgroups functions into cgroups pkg | 7020e208c70dfca5ebc97d699553e4bf1c6ab0bb | <ide><path>pkg/cgroups/cgroups.go
<ide> func parseCgroupFile(subsystem string, r io.Reader) (string, error) {
<ide> func writeFile(dir, file, data string) error {
<ide> return ioutil.WriteFile(filepath.Join(dir, file), []byte(data), 0700)
<ide> }
<add>
<add>func (c *Cgroup) Apply(pid int) error {
<add> // We have two ... | 3 |
Java | Java | refine @testpropertysource merged annotation calls | c9479ff20f9e4ad2641928cd6a842ec55f2260d0 | <ide><path>spring-test/src/main/java/org/springframework/test/context/support/TestPropertySourceAttributes.java
<ide>
<ide> package org.springframework.test.context.support;
<ide>
<add>import java.util.ArrayList;
<add>import java.util.Arrays;
<ide> import java.util.List;
<ide>
<add>import org.apache.commons.logging.... | 2 |
Ruby | Ruby | prefer string#== over string#=== for clarity | 4257ea756b0a5fbec4719aebf5ff846105833e73 | <ide><path>actionpack/lib/action_dispatch/journey/route.rb
<ide> def initialize(verb)
<ide> @verb = verb
<ide> end
<ide>
<del> def call(request); @verb === request.request_method; end
<add> def call(request); @verb == request.request_method; end
<ide> end
<ide>
<ide> ... | 1 |
Javascript | Javascript | remove unused vars in childprocess tests | 2b1999b7c7b32931b14cc8df554fc4fa46950ecc | <ide><path>test/parallel/test-child-process-buffering.js
<ide> var common = require('../common');
<ide> var assert = require('assert');
<ide>
<del>var spawn = require('child_process').spawn;
<del>
<ide> var pwd_called = false;
<ide> var childClosed = false;
<ide> var childExited = false;
<ide><path>test/parallel/test-... | 12 |
Python | Python | add a new ovh driver for storage | ff9a5aa752705197476d885235f2ade8956911b8 | <ide><path>libcloud/storage/drivers/ovh.py
<add># Licensed to the Apache Software Foundation (ASF) under one or more
<add># contributor license agreements. See the NOTICE file distributed with
<add># this work for additional information regarding copyright ownership.
<add># The ASF licenses this file to You under the ... | 3 |
PHP | PHP | add option to inline slot content | f6a24ada98c683f49a1606757f7cb0242226057b | <ide><path>src/Illuminate/View/Concerns/ManagesComponents.php
<ide> protected function componentData($name)
<ide> * Start the slot rendering process.
<ide> *
<ide> * @param string $name
<add> * @param string|null $content
<ide> * @return void
<ide> */
<del> public function slot($name... | 3 |
Javascript | Javascript | use hashooks function internally | 1c816f0c591cd0242930e8605c5473416cc94241 | <ide><path>lib/internal/async_hooks.js
<ide> function defaultTriggerAsyncIdScope(triggerAsyncId, block, ...args) {
<ide> }
<ide> }
<ide>
<add>function hasHooks(key) {
<add> return async_hook_fields[key] > 0;
<add>}
<add>
<ide> function enabledHooksExist() {
<del> return async_hook_fields[kCheck] > 0;
<add> return... | 1 |
Text | Text | adjust table alignment for remark v13 | dbdd234e4bada1d006c5b62b99406383272f20e8 | <ide><path>BUILDING.md
<ide> Depending on the host platform, the selection of toolchains may vary.
<ide>
<ide> Binaries at <https://nodejs.org/download/release/> are produced on:
<ide>
<del>| Binary package | Platform and Toolchain |
<del>| --------------------... | 6 |
Java | Java | cleanup the worker | 1f8389fdc53253747ad9d961b29ad42179a9941f | <ide><path>src/test/java/rx/schedulers/NewThreadSchedulerTest.java
<ide> public final void testHandledErrorIsNotDeliveredToThreadHandler() throws Interru
<ide> @Test(timeout = 3000)
<ide> public void testNoSelfInterrupt() throws InterruptedException {
<ide> Scheduler.Worker worker = Schedulers.newThread... | 1 |
Javascript | Javascript | remove some useless var | df406d43a170de0da12b89637c3f541182d1dd46 | <ide><path>fonts.js
<ide> var Font = (function () {
<ide>
<ide> /** CMAP */
<ide> var charstrings = font.charstrings;
<del> cmap = createCMapTable(font.charstrings);
<add> cmap = createCMapTable(charstrings);
<ide> createTableEntry(otf, offsets, "cmap", cmap);
<ide>
<ide> /** HEAD */... | 1 |
Java | Java | remove duplicate word in javadoc | bc261fd9950aa34c4fabae77a9677fd6083be428 | <ide><path>spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinition.java
<ide> public MutablePropertyValues getPropertyValues() {
<ide> }
<ide>
<ide> /**
<del> * Return if there are property values values defined for this bean.
<add> * Return if there are property values defined ... | 1 |
Text | Text | fix image displayment | 061491460d12f0ec1de3172d9f29decbeaf77640 | <ide><path>im2txt/README.md
<ide> Full text available at: http://arxiv.org/abs/1609.06647
<ide> The *Show and Tell* model is a deep neural network that learns how to describe
<ide> the content of images. For example:
<ide>
<del><center>
<ide> 
<del></center>
<ide>
<ide> ... | 1 |
Ruby | Ruby | reduce object allocation during ar instantiation | 02f45d6e0ca0a3e6f5fc30b2c99bedee27484197 | <ide><path>activerecord/lib/active_record/base.rb
<ide> def convert_number_column_value(value)
<ide> end
<ide>
<ide> def populate_with_current_scope_attributes
<add> return unless self.class.scope_attributes?
<add>
<ide> self.class.scope_attributes.each do |att,value|
<ide> send("#... | 2 |
PHP | PHP | add decimal translation | 39f4830e92a7467b2a7fe6bc23d0ec14bc3b46a6 | <ide><path>lang/en/validation.php
<ide> 'date' => 'The :attribute is not a valid date.',
<ide> 'date_equals' => 'The :attribute must be a date equal to :date.',
<ide> 'date_format' => 'The :attribute does not match the format :format.',
<add> 'decimal' => 'The :attribute must have :decimal decimal places... | 1 |
PHP | PHP | update response to handle json requests as well | dfa2915aea00cd3f296e458c5f73b62824a86195 | <ide><path>src/Illuminate/Foundation/Http/FormRequest.php
<ide> protected function failedAuthorization()
<ide> */
<ide> public function response(array $errors)
<ide> {
<del> if ($this->ajax())
<add> if ($this->ajax() || $this->wantsJson())
<ide> {
<ide> return new JsonResponse($errors, 422);
<ide> } | 1 |
Javascript | Javascript | simplify annotation data passing | 995c5ba20509876b90edb76666fe4c75a0b7d0c7 | <ide><path>src/core/annotation.js
<ide> var Annotation = (function AnnotationClosure() {
<ide> }
<ide> },
<ide>
<del> getData: function Annotation_getData() {
<del> return this.data;
<del> },
<del>
<ide> isInvisible: function Annotation_isInvisible() {
<ide> var data = this.data;
<ide> ... | 3 |
PHP | PHP | remove @throws tags from i18n functions | e83159f3ff56b155f79002240bd42e2753d0a7a9 | <ide><path>src/I18n/functions.php
<ide> * @param string $singular Text to translate.
<ide> * @param array ...$args Array with arguments or multiple arguments in function.
<ide> * @return string|null The translated text, or null if invalid.
<del> * @throws \Aura\Intl\Exception
<ide> * @link https... | 1 |
Javascript | Javascript | remove blocking mode and blocking root | 553440bd1578ef71982c4a10e2cc8c462f33d9be | <ide><path>packages/react-dom/index.classic.fb.js
<ide> export {
<ide> unmountComponentAtNode,
<ide> createRoot,
<ide> createRoot as unstable_createRoot,
<del> createBlockingRoot,
<del> createBlockingRoot as unstable_createBlockingRoot,
<ide> unstable_flushControlled,
<ide> unstable_scheduleHydration,
<ide>... | 36 |
PHP | PHP | apply fixes from styleci | 4df49b483b3d7747f5bedcf396457ebe1dbf40b5 | <ide><path>tests/Mail/MailMailableDataTest.php
<ide> public function testMailableDataIsNotLost()
<ide> $testData = ['first_name' => 'James'];
<ide>
<ide> $mailable = new MailableStub;
<del> $mailable->build(function($m) use ($testData) {
<add> $mailable->build(function ($m) use ($testData... | 1 |
Javascript | Javascript | fix typo in image.android.js & image.ios.js | 58c3bc490143b8d7831a00289e2565f49f5389ef | <ide><path>Libraries/Image/Image.android.js
<ide> var Image = createReactClass({
<ide> }
<ide>
<ide> if (this.props.children) {
<del> throw new Error('The <Image> component cannot contain children. If you want to render content on top of the image, consider using aboslute positioning.');
<add> throw ... | 2 |
PHP | PHP | remove annotation for deprecated components | d37e378b76a99f38488cb5f2a074f4751061c582 | <ide><path>src/Controller/Controller.php
<ide> * - `afterFilter(EventInterface $event)`
<ide> * Called after each action is complete and after the view is rendered.
<ide> *
<del> * @property \Cake\Controller\Component\AuthComponent $Auth
<ide> * @property \Cake\Controller\Component\FlashComponent $Flash
<ide> * ... | 1 |
Python | Python | fix tf.name_scope support for keras nested layers | 7379f454e5c03d0e8c47bd2d94468839ec0c03d3 | <ide><path>keras/engine/base_layer.py
<ide> import tensorflow.compat.v2 as tf
<ide>
<ide> import collections
<del>import contextlib
<ide> import copy
<ide> import functools
<ide> import itertools
<ide>
<ide> _is_name_scope_on_model_declaration_enabled = False
<ide>
<del>_name_scope_unnester_stack = threading.local()... | 2 |
Python | Python | remove incubator from the path | c0a792308fdff86b0c6d1a6e8236538668003375 | <ide><path>setup.py
<ide> import libcloud.utils
<ide> libcloud.utils.SHOW_DEPRECATION_WARNING = False
<ide>
<del>HTML_VIEWSOURCE_BASE = 'https://svn.apache.org/viewvc/incubator/libcloud/trunk'
<add>HTML_VIEWSOURCE_BASE = 'https://svn.apache.org/viewvc/libcloud/trunk'
<ide> PROJECT_BASE_DIR = 'http://incubator.apache.o... | 1 |
PHP | PHP | add integration test | 6d1f8ce635c4ef8a71abf4f733d08ced092c0d1f | <ide><path>src/Illuminate/Database/Eloquent/Collection.php
<ide> public function load($relations)
<ide> return $this;
<ide> }
<ide>
<del> /**
<add> /**
<ide> * Load a set of relationship counts onto the collection.
<ide> *
<ide> * @param array|string $relations
<ide><path>tests/Inte... | 2 |
PHP | PHP | apply fixes from styleci | 96ebdd6aed761d83eeedfb3e7bf11ed5aa5cc0ff | <ide><path>tests/Integration/Queue/JobChainingTest.php
<ide> use Orchestra\Testbench\TestCase;
<ide> use Illuminate\Support\Facades\Queue;
<ide> use Illuminate\Queue\InteractsWithQueue;
<del>use Illuminate\Foundation\Bus\Dispatchable;
<ide> use Illuminate\Contracts\Queue\ShouldQueue;
<add>use Illuminate\Foundation\Bus\... | 1 |
PHP | PHP | add the setcacheheaders middleware | 6e9c0c885257d73d6af0dd60cf75a76266d3c66d | <ide><path>app/Http/Kernel.php
<ide> class Kernel extends HttpKernel
<ide> 'can' => \Illuminate\Auth\Middleware\Authorize::class,
<ide> 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
<ide> 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
<add> 'cache'... | 1 |
Go | Go | fix flakyness in testdockernetworkinternalmode | a2bb2144b3e0d49ac615976bfac462a307d85f0e | <ide><path>integration-cli/docker_cli_network_unix_test.go
<ide> func (s *DockerSuite) TestDockerNetworkInternalMode(c *check.C) {
<ide> c.Assert(waitRun("first"), check.IsNil)
<ide> dockerCmd(c, "run", "-d", "--net=internal", "--name=second", "busybox:glibc", "top")
<ide> c.Assert(waitRun("second"), check.IsNil)
<d... | 1 |
Javascript | Javascript | fix more lint issues | 892056bf97842b1bfe6a2e328df67d5a0043b79e | <ide><path>test/common.js
<ide> exports.indirectInstanceOf = function(obj, cls) {
<ide> exports.ddCommand = function(filename, kilobytes) {
<ide> if (process.platform == 'win32') {
<ide> return '"' + process.argv[0] + '" "' + path.resolve(exports.fixturesDir,
<del> 'create-file.js') + '" "' + filename + '" '... | 8 |
Go | Go | fix typo 'woudld' to 'would' | d92acd59108565ac2e552e9f04e873decd192e6d | <ide><path>daemon/build.go
<ide> func (rl *releaseableLayer) Commit(os string) (builder.ReleaseableLayer, error)
<ide> if err != nil {
<ide> return nil, err
<ide> }
<del> // TODO: An optimization woudld be to handle empty layers before returning
<add> // TODO: An optimization would be to handle empty layers before ... | 1 |
Javascript | Javascript | check queue size before starting animated batch | 75fb346e74a27f114486237a3626c3f2dee44e45 | <ide><path>Libraries/Animated/NativeAnimatedHelper.js
<ide> const API = {
<ide> },
<ide> disableQueue: function (): void {
<ide> invariant(NativeAnimatedModule, 'Native animated module is not available');
<del> const queueLength = queue.length;
<del> if (queueLength > 0) {
<del> if (Platform.OS === '... | 1 |
Java | Java | fix typo in flowableretrytest.java | cea706672d5f44f9be36c6e3914528ce9be86ced | <ide><path>src/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableRetryTest.java
<ide> public void run() {
<ide> }
<ide> }
<ide>
<del> /** Observer for listener on seperate thread. */
<add> /** Observer for listener on separate thread. */
<ide> static final class AsyncSubscriber<T... | 1 |
Java | Java | raise ise if @requestbody is used for form data | e9819b7535841a27586edfcbe83c5ab1adf47339 | <ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/AbstractMessageReaderArgumentResolver.java
<ide> /*
<del> * Copyright 2002-2018 the original author or authors.
<add> * Copyright 2002-2019 the original author or authors.
<ide> *
<ide> * Licensed under the Apache Licens... | 1 |
Ruby | Ruby | add variants to template class | c63b18de1865182e027a97ea4186717a71792b81 | <ide><path>actionview/lib/action_view/template.rb
<ide> class Template
<ide>
<ide> extend Template::Handlers
<ide>
<del> attr_accessor :locals, :formats, :virtual_path
<add> attr_accessor :locals, :formats, :variants, :virtual_path
<ide>
<ide> attr_reader :source, :identifier, :handler, :original_encod... | 3 |
Text | Text | update command example for commandregistry | b6c86ea2179027e06f834d7569a6110beb76e72f | <ide><path>docs/advanced/keymaps.md
<ide> can be expressed as keystroke patterns separated by spaces.
<ide> Commands are custom DOM events that are triggered when a keystroke matches a
<ide> binding. This allows user interface code to listen for named commands without
<ide> specifying the specific keybinding that trigg... | 1 |
Javascript | Javascript | remove unnecessary task config | 22829b552993cb7f751259e29448b37b054b29f5 | <ide><path>grunt/config/jsx/jsx.js
<ide> var debug = {
<ide> outputDir: "build/modules"
<ide> };
<ide>
<del>var jasmine = {
<del> rootIDs: [
<del> "all"
<del> ],
<del> getConfig: getDebugConfig,
<del> sourceDir: "vendor/jasmine",
<del> outputDir: "build/jasmine"
<del>};
<del>
<ide> var test = {
<ide> rootI... | 1 |
Javascript | Javascript | add type support for template base class | 6a919ba8ddfcd7b12aa1080d523fe5f7dfcd30af | <ide><path>lib/Chunk.js
<ide> class Chunk {
<ide> this.chunkReason = undefined;
<ide> /** @type {boolean} */
<ide> this.extraAsync = false;
<add> this.removedModules = undefined;
<ide> }
<ide>
<ide> /**
<ide><path>lib/Module.js
<ide> const ModuleReason = require("./ModuleReason");
<ide> const SortableSet = re... | 3 |
Javascript | Javascript | update ssaarenderpass.js | 8bf2f2186eb3967b182b00910b5994112bae3dc3 | <ide><path>examples/jsm/postprocessing/SSAARenderPass.js
<ide> import {
<ide> UniformsUtils,
<ide> WebGLRenderTarget
<ide> } from '../../../build/three.module.js';
<del>import { Pass, FullScreenQuad } from '../postprocessing/Pass.js';
<add>import { Pass, FullScreenQuad } from './Pass.js';
<ide> import { CopyShader } ... | 1 |
Python | Python | resolve line-too-long in distribute | b1105dca17670dcac229271e63d5073fe445b84c | <ide><path>keras/distribute/collective_all_reduce_strategy_test.py
<ide> def _model_fn():
<ide> def _get_dataset():
<ide> inputs = tf.expand_dims(tf.constant(range(10)), axis=1)
<ide> targets = tf.expand_dims(tf.constant(range(10)), axis=1)
<del> # Make global batch size 12 fo... | 30 |
Ruby | Ruby | remove blank else branch | eceabc8355905ae7c92d2182921441fe0ff11773 | <ide><path>activesupport/test/xml_mini/jdom_engine_test.rb
<ide> def assert_equal_rexml(xml)
<ide> assert_equal(hash, parsed_xml)
<ide> end
<ide> end
<del>
<del>else
<del> # don't run these test because we aren't running in JRuby
<ide> end | 1 |
Javascript | Javascript | fix typeerror in eventemitter warning | 254ab63832186ba2cfd87c9f2dfc0ce7a41a1989 | <ide><path>lib/events.js
<ide> function _addListener(target, type, listener, prepend) {
<ide> if (m && m > 0 && existing.length > m) {
<ide> existing.warned = true;
<ide> const w = new Error('Possible EventEmitter memory leak detected. ' +
<del> `${existing.length} ${typ... | 5 |
PHP | PHP | fix typehints in basic auth adapter | e2646b06332b934bcf93d1cc342b6c88a88bd84f | <ide><path>src/Http/Client/Auth/Basic.php
<ide> */
<ide> namespace Cake\Http\Client\Auth;
<ide>
<del>use Cake\Network\Http\Request;
<add>use Cake\Http\Client\Request;
<ide>
<ide> /**
<ide> * Basic authentication adapter for Cake\Network\Http\Client | 1 |
Python | Python | pass flake8 tests | 4adf3b9492d2b9f6c049e302c853049d62583a31 | <ide><path>other/password_generator.py
<ide> password = ''.join(random.choice(chars) for x in range(random.randint(min_length, max_length)))
<ide> print('Password: ' + password)
<ide> print('[ If you are thinking of using this passsword, You better save it. ]')
<add>
<add>
<ide> # ALTERNATIVE METHODS
<ide> # ctbi= ch... | 1 |
Go | Go | add refcounts to graphdrivers that use fsdiff | 7342060b070df67481f8da4f394a57cac1671d56 | <ide><path>daemon/graphdriver/counter.go
<add>package graphdriver
<add>
<add>import "sync"
<add>
<add>// RefCounter is a generic counter for use by graphdriver Get/Put calls
<add>type RefCounter struct {
<add> counts map[string]int
<add> mu sync.Mutex
<add>}
<add>
<add>// NewRefCounter returns a new RefCounter
<add... | 4 |
Text | Text | fix a typo in docs/basics/usagewithreact.md | 070f0659928b91ffabb550bcc4982a0b63c72b6e | <ide><path>docs/basics/UsageWithReact.md
<ide> I see the following presentational components and their props emerge from this b
<ide> - `onTodoClick(id: number)` is a callback to invoke when a todo is clicked.
<ide> * **`Todo`** is a single todo item.
<ide> - `text: string` is the text to show.
<del> - `completed:... | 1 |
Javascript | Javascript | avoid empty fixture in fs test | de8ef3f954622422ddb41775c06b278f0c8361a5 | <ide><path>test/parallel/test-fs-error-messages.js
<ide> 'use strict';
<ide> const common = require('../common');
<ide> const fixtures = require('../common/fixtures');
<add>const tmpdir = require('../common/tmpdir');
<ide> const assert = require('assert');
<ide> const fs = require('fs');
<add>
<add>tmpdir.refresh();
<a... | 1 |
Ruby | Ruby | update xcode chceck | 126b1c77e36cc2336f26dcaef4512418353b5562 | <ide><path>Library/Homebrew/cmd/doctor.rb
<ide> def check_for_latest_xcode
<ide> latest_xcode = case MacOS.version
<ide> when 10.5 then "3.1.4"
<ide> when 10.6 then "3.2.6"
<del> else "4.3"
<add> when 10.7 then "4.3.3"
<add> else nil
<add> end
<add> if latest_xcode.nil?
<add> return <<-EOS.unden... | 1 |
PHP | PHP | add returntypewillchange to count method | 1638472a7a5ee02dc9e808bc203b733785ac1468 | <ide><path>src/Illuminate/Database/Eloquent/Factories/Sequence.php
<ide> public function __construct(...$sequence)
<ide> *
<ide> * @return int
<ide> */
<add> #[\ReturnTypeWillChange]
<ide> public function count()
<ide> {
<ide> return $this->count; | 1 |
Ruby | Ruby | set exit code to failed always | 92e68049d1e09757d498021426a650dfc6405cc3 | <ide><path>Library/Homebrew/formula_installer.rb
<ide> def link(keg)
<ide> onoe "Failed to create #{f.opt_prefix}"
<ide> puts "Things that depend on #{f.name} will probably not build."
<ide> puts e
<add> Homebrew.failed = true
<ide> end
<ide> return
<ide> end
<ide> def lin... | 1 |
Text | Text | add proposed rfc 'updateable bundled packages' | f05a8b8e5e21ced254f9c075de7a0981ff634597 | <ide><path>docs/rfcs/001-updateable-bundled-packages.md
<add># Updateable Bundled Packages
<add>
<add>## Status
<add>
<add>Proposed
<add>
<add>## Summary
<add>
<add>> One paragraph explanation of the feature.
<add>
<add>This feature will enable an opt-in subset of bundled Atom packages to be updated with `apm` outside ... | 1 |
Java | Java | fix typos in javadoc in assertthrows | cb59d43a5fea8e541f30bb40b39e2c01ec8fcbc7 | <ide><path>spring-test/src/main/java/org/springframework/test/AssertThrows.java
<ide> /*
<del> * Copyright 2002-2012 the original author or authors.
<add> * Copyright 2002-2014 the original author or authors.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
<ide> * you may not use this... | 1 |
Go | Go | use unique names for container/rename_test.go | 90b514922bb6405bc06428702b1a55bb248bdac3 | <ide><path>integration/container/rename_test.go
<ide> import (
<ide> "time"
<ide>
<ide> "github.com/docker/docker/api/types"
<add> containertypes "github.com/docker/docker/api/types/container"
<ide> "github.com/docker/docker/api/types/network"
<ide> "github.com/docker/docker/integration/internal/container"
<ide> ... | 1 |
Python | Python | improve german tokenization | d1f703d78d1fa20078787d8655addd4a31c7c6a4 | <ide><path>spacy/lang/de/__init__.py
<ide>
<ide> from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
<ide> from .norm_exceptions import NORM_EXCEPTIONS
<add>from .punctuation import TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES
<ide> from .punctuation import TOKENIZER_INFIXES
<ide> from .tag_map import TAG_MAP
<ide> from ... | 3 |
Text | Text | move changelog entry to the top | 855c9897eb98ea4d77ec5036d15cdd1764698838 | <ide><path>activejob/CHANGELOG.md
<add>* While using `perform_enqueued_jobs` test helper enqueued jobs must be stored for the later check with
<add> `assert_enqueued_with`.
<add>
<add> *Dmitry Polushkin*
<add>
<ide> * `ActiveJob::TestCase#perform_enqueued_jobs` without a block removes performed jobs from the ... | 1 |
Text | Text | improve arabic translation | bea165b460c7875d9e5b21ad1835f30a3c2f55c2 | <ide><path>guide/arabic/react/jsx/index.md
<ide> localeTitle: JSX
<ide> ---
<ide> # JSX
<ide>
<del>> JSX مختصرة لـ JavaScript XML.
<add>> JSX اختصاراً لـ JavaScript XML.
<ide>
<del>JSX هو تعبير يستخدم عبارات HTML صالحة داخل JavaScript. يمكنك تعيين هذا التعبير لمتغير واستخدامه في مكان آخر. يمكنك الجمع بين تعبيرات Java... | 1 |
Python | Python | add typehints ciphers and bool alg | 9d745b6156636f9e3b35f1560ae9abec29d48772 | <ide><path>boolean_algebra/quine_mc_cluskey.py
<del>def compare_string(string1, string2):
<add>def compare_string(string1: str, string2: str) -> str:
<ide> """
<ide> >>> compare_string('0010','0110')
<ide> '0_10'
<ide> def compare_string(string1, string2):
<ide> return "".join(l1)
<ide>
<ide>
<del... | 25 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.