content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Text
Text
add v3.1.0-beta.1 to changelog.md
b3786610acdad73be20092876bf60f0b17af83c3
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.1.0-beta.1 (February 14, 2018) <add> <add>- [emberjs/rfcs#276](https://github.com/emberjs/rfcs/blob/master/text/0276-named-args.md) [FEATURE named-args] enabled by default. <add>- [emberjs/rfcs#278](https://github.com/emberjs/rfcs/blob/master/text/0278-...
1
Python
Python
add type hints for pegasus
deb61e5f073308cc3386c4777e41e28668aadc85
<ide><path>src/transformers/models/pegasus/modeling_pegasus.py <ide> def get_position_embeddings(self) -> Tuple[nn.Embedding]: <ide> @replace_return_docstrings(output_type=Seq2SeqModelOutput, config_class=_CONFIG_FOR_DOC) <ide> def forward( <ide> self, <del> input_ids=None, <del> attention...
1
Text
Text
add contributor agreement
d000b4323aca9cd1a2c893b9ade771824411dd1a
<ide><path>.github/contributors/calumcalder.md <add># spaCy contributor agreement <add> <add>This spaCy Contributor Agreement (**"SCA"**) is based on the <add>[Oracle Contributor Agreement](http://www.oracle.com/technetwork/oca-405177.pdf). <add>The SCA applies to any contribution that you make to any product or projec...
1
Go
Go
improve error message for non-running containers
b1a3a5580285b58d643ff0c09c263f78d1088f37
<ide><path>server.go <ide> func (srv *Server) ImageHistory(name string) ([]APIHistory, error) { <ide> <ide> func (srv *Server) ContainerTop(name, psArgs string) (*APITop, error) { <ide> if container := srv.runtime.Get(name); container != nil { <add> if !container.State.IsRunning() { <add> return nil, fmt.Errorf("C...
1
Java
Java
avoid deprecated number constructors on jdk 9
d07381e862728d10feb861b0c8e070328ac875aa
<ide><path>spring-context/src/main/java/org/springframework/scripting/config/ScriptingDefaultsParser.java <ide> public BeanDefinition parse(Element element, ParserContext parserContext) { <ide> LangNamespaceUtils.registerScriptFactoryPostProcessorIfNecessary(parserContext.getRegistry()); <ide> String refreshCheck...
6
Ruby
Ruby
reset schema properly after schema changing test
3412d4a1e7c1b696444119528ea2a0466b180ce9
<ide><path>activerecord/test/cases/locking_test.rb <ide> def test_destroy_dependents <ide> assert_raises(ActiveRecord::RecordNotFound) { LegacyThing.find(t.id) } <ide> ensure <ide> remove_counter_column_from(Person, 'legacy_things_count') <add> LegacyThing.connection.remove_column LegacyThing.table_name, '...
1
Python
Python
fix test.py after v8 upgrade
b5c172138c8c27048f969ea9891f93474d937e19
<ide><path>tools/test.py <ide> import time <ide> import threading <ide> from Queue import Queue, Empty <del> <del>sys.path.append(dirname(__file__) + "/../deps/v8/tools"); <ide> import utils <ide> <ide> VERBOSE = False <ide><path>tools/utils.py <add># Copyright 2008 the V8 project authors. All rights reserved. <add># ...
2
Ruby
Ruby
handle nil import_name
686f829f2f5584939c989b58d93e8e17b4d60fcc
<ide><path>Library/Homebrew/requirements/language_module_dependency.rb <ide> class LanguageModuleDependency < Requirement <ide> fatal true <ide> <del> def initialize language, module_name, import_name=module_name <add> def initialize language, module_name, import_name=nil <ide> @language = language <ide> @...
1
Ruby
Ruby
fix missing `command` method
40a0b8b10ab6ba1ef8e3b0acc2eeef7c8dd494b6
<ide><path>Library/Homebrew/cask/cmd.rb <ide> def initialize(command, *args) <ide> @args = args <ide> end <ide> <del> def run(*_args) <add> def run(*) <ide> purpose <ide> usage <ide> <ide> def run(*_args) <ide> raise ArgumentError, "help does not take arguments." if @...
1
Python
Python
fix _array2string for strustured array (issue )
3d75c3f5165d958ff109a4f877aeb18d77ce279f
<ide><path>numpy/core/arrayprint.py <ide> def _boolFormatter(x): <ide> def repr_format(x): <ide> return repr(x) <ide> <del>def _array2string(a, max_line_width, precision, suppress_small, separator=' ', <del> prefix="", formatter=None): <del> <del> if max_line_width is None: <del> max_lin...
2
Ruby
Ruby
use jenkins env, add step.passed?
fafa62d1d2a2bb517263f89beff9f57fa35a9753
<ide><path>Library/Contributions/cmd/brew-test-bot.rb <ide> def status_upcase <ide> @status.to_s.upcase <ide> end <ide> <add> def passed? <add> @status == :passed <add> end <add> <ide> def failed? <ide> @status == :failed <ide> end <ide> def current_branch <ide> @category = __method__ <ide> ...
1
Text
Text
add changlog entry for
28b4ffc37917f0552ef6537a15511b37b320d156
<ide><path>actionpack/CHANGELOG.md <add>* Fix `ActionDispatch::RemoteIp::GetIp#calculate_ip` to only check for spoofing <add> attacks if both `HTTP_CLIENT_IP` and `HTTP_X_FORWARDED_FOR` are set. <add> <add> Fixes #10844 <add> <add> *Tamir Duberstein* <add> <ide> * Strong parameters should permit nested num...
1
Text
Text
shorten template instructions
28bb1960a40fea21494f9cc707b19901962a1561
<ide><path>.github/PULL_REQUEST_TEMPLATE.md <del>Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: <add>Thanks for submitting a PR! Please read these instructions carefully: <ide> <del>> **Unless you are a React Native release maintainer and cherry-pic...
2
Java
Java
introduce routerfunction visitor
2841ef5d05a1070e517c5c2b03f6e9ee60983b0f
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/function/server/PathResourceLookupFunction.java <ide> else if (resource instanceof ClassPathResource) { <ide> return true; <ide> } <ide> <add> @Override <add> public String toString() { <add> return String.format("%s -> %s", this.pattern, thi...
5
Ruby
Ruby
fix random ci fail due to cross-second time delay
fa2584fc2b11284c45d66a1764b455ed99c65d73
<ide><path>activejob/lib/active_job/test_helper.rb <ide> def flush_enqueued_jobs(only: nil, except: nil, queue: nil, at: nil) <ide> <ide> def prepare_args_for_assertion(args) <ide> args.dup.tap do |arguments| <del> arguments[:at] = round_time_arguments(arguments[:at]) if arguments[:at] <add> ...
1
Javascript
Javascript
preserve symlinks when requiring
de1dc0ae2eb52842b5c5c974090123a64c3a594c
<ide><path>lib/module.js <ide> function readPackage(requestPath) { <ide> return pkg; <ide> } <ide> <del>function tryPackage(requestPath, exts) { <add>function tryPackage(requestPath, exts, isMain) { <ide> var pkg = readPackage(requestPath); <ide> <ide> if (!pkg) return false; <ide> <ide> var filename = path....
8
Javascript
Javascript
use indices instead of indicies
78cd472c68b039a653eecda94cad00e8e3ee687f
<ide><path>lib/buildChunkGraph.js <ide> const visitModules = ( <ide> const blockModules = blockModulesMap.get(block); <ide> <ide> if (blockModules !== undefined) { <del> // Buffer items because order need to be reverse to get indicies correct <add> // Buffer items because order need to be reverse t...
1
Javascript
Javascript
remove useless getlibuvnow in internal/timers
22f5c0892b2e78ccd5173df603e54cdca3b27eec
<ide><path>lib/internal/timers.js <ide> module.exports = { <ide> kRefed, <ide> initAsyncResource, <ide> setUnrefTimeout, <del> validateTimerDuration, <del> getLibuvNow: internalBinding('timers').getLibuvNow, <add> validateTimerDuration <ide> }; <ide> <ide> var timers; <ide><path>test/parallel/test-timers-now....
3
Python
Python
update paddle example
d75fe7c19a0b8fb8c86efbd02743eb653afe043f
<ide><path>examples/paddle/sentiment_bilstm/__main__.py <del>def write_parameter(outfile, feats): <del> """ <del> From https://github.com/baidu/Paddle/issues/490 <del> <del> outfile: Output file name with string type. **Note**, it should be the same as it in the above config. <del> feats: Parameter with flo...
2
Ruby
Ruby
fix capture_stderr style
14099ffaf3016f126ad95c869ac5dbecf5837eee
<ide><path>Library/Homebrew/utils.rb <ide> def ignore_interrupts(opt = nil) <ide> end <ide> <ide> def capture_stderr <del> old, $stderr = $stderr, StringIO.new <add> old = $stderr <add> $stderr = StringIO.new <ide> yield <ide> $stderr.string <ide> ensure
1
PHP
PHP
add http method short-forms
2737d174631509843df98eb59309f64a7a020d8c
<ide><path>src/Routing/RouteBuilder.php <ide> public function resources($name, $options = [], $callback = null) <ide> } <ide> } <ide> <add> /** <add> * Create a route that only responds to GET requests. <add> * <add> * @param string $template The URL template to use. <add> * @param array...
2
Python
Python
fix broken test and lint
baf956e5cfe47b9b375dfd64cfc30c5a21513ce4
<ide><path>libcloud/test/compute/test_maxihost.py <ide> from libcloud.utils.py3 import httplib <ide> <ide> from libcloud.compute.drivers.maxihost import MaxihostNodeDriver <del>from libcloud.compute.base import Node, KeyPair <del>from libcloud.compute.types import NodeState <add>from libcloud.compute.base import Node ...
1
Javascript
Javascript
add test case for
21d6395a141f1e725cdf707b606b05f079f48b92
<ide><path>packages/react-reconciler/src/ReactFiberBeginWork.js <ide> function beginWork( <ide> renderExpirationTime, <ide> ); <ide> } else { <add> // An update was scheduled on this fiber, but there are no new props <add> // nor legacy context. Set this to false. If an update queue or conte...
2
Text
Text
update http urls to https in readme.md
0028241fb4c19d04066b006bca4f3e0b3b403d90
<ide><path>README.md <ide> and set your expectations accordingly. <ide> The Node.js project maintains multiple types of releases: <ide> <ide> * **Current**: Released from active development branches of this repository, <del> versioned by [SemVer](http://semver.org/) and signed by a member of the <add> versioned by [...
1
Text
Text
add raisinten as a triager
27a63ee87020ff09136a4d16830e97902b7acb15
<ide><path>README.md <ide> maintaining the Node.js project. <ide> <ide> * [PoojaDurgad](https://github.com/PoojaDurgad) - <ide> **Pooja Durgad** &lt;Pooja.D.P@ibm.com&gt; <add>* [RaisinTen](https://github.com/RaisinTen) - <add>**Darshan Sen** &lt;raisinten@gmail.com&gt; <ide> <ide> ### Release Keys <ide>
1
Ruby
Ruby
use encoding.default_external, not _internal
91ffddca57d754f024b90d981acb146a5e9f5ab9
<ide><path>activesupport/lib/active_support/multibyte/utils.rb <ide> module Multibyte #:nodoc: <ide> if Kernel.const_defined?(:Encoding) <ide> # Returns a regular expression that matches valid characters in the current encoding <ide> def self.valid_character <del> VALID_CHARACTER[Encoding.default...
2
Javascript
Javascript
improve description of caching
84c04b0b6856ee0cc42867bc4e8ab8e583e54d11
<ide><path>src/ng/http.js <ide> function $HttpProvider() { <ide> * <ide> * Object containing default values for all {@link ng.$http $http} requests. <ide> * <del> * - **`defaults.cache`** - {Object} - an object built with {@link ng.$cacheFactory `$cacheFactory`} <del> * that will provide the cache for all ...
1
Java
Java
make text in text inputs selectable
c456accbeda8b6c3aa01a0d713cd9998eef2c61b
<ide><path>ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java <ide> public void clearFocus() { <ide> <ide> @Override <ide> public boolean requestFocus(int direction, Rect previouslyFocusedRect) { <add> // Always return true if we are already focused. This is used by android in cert...
1
Javascript
Javascript
make use of declared variable
4efda14b499fa1dbc115f17bb3bf42385a00e239
<ide><path>src/ng/directive/ngRepeat.js <ide> var ngRepeatDirective = ngDirective({ <ide> // Same as lastOrder but it has the current state. It will become the <ide> // lastOrder on the next iteration. <ide> nextOrder = new HashQueueMap(), <del> arrayLength, <add> ...
1
PHP
PHP
fix srid mysql schema
2e9d90bad11dbaf33e4a7cedcdcbb60419f85a25
<ide><path>src/Illuminate/Database/Schema/Grammars/MySqlGrammar.php <ide> class MySqlGrammar extends Grammar <ide> */ <ide> protected $modifiers = [ <ide> 'Unsigned', 'Charset', 'Collate', 'VirtualAs', 'StoredAs', 'Nullable', <del> 'Default', 'Increment', 'Comment', 'After', 'First', 'Srid', <ad...
2
Java
Java
remove no-op classes in web-related java config
a40d25a760249e59e9c077648f844591c3acac8b
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java <ide> import org.springframework.context.ApplicationContextAware; <ide> import org.springframework.context.annotation.Bean; <ide> import org.springframework.lang.Nullable; <del>import org.springfr...
4
Ruby
Ruby
use gcc 12 for runtime libraries
66fa1f7e6aacaa84f9cc50e384a7bd8504b98a99
<ide><path>Library/Homebrew/extend/os/linux/compilers.rb <ide> class CompilerSelector <ide> sig { returns(String) } <ide> def self.preferred_gcc <del> OS::LINUX_PREFERRED_GCC_FORMULA <add> OS::LINUX_PREFERRED_GCC_COMPILER_FORMULA <ide> end <ide> end <ide><path>Library/Homebrew/extend/os/linux/dependency_col...
5
Python
Python
fix documentation of array
f9d1cd5265b013042b5909adf92ca5ea168aaee3
<ide><path>numpy/add_newdocs.py <ide> <ide> add_newdoc('numpy.core.multiarray', 'array', <ide> """ <del> array(object, dtype=None, copy=True, order=None, subok=False, ndmin=True) <add> array(object, dtype=None, copy=True, order=None, subok=False, ndmin=0) <ide> <ide> Create an array. <ide>
1
Ruby
Ruby
use process.pid rather than $$
decafdd57a2c992a15df894cc43cd0a7ff6ea985
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb <ide> def initialize(pools = Hash.new { |h,k| h[k] = {} }) <ide> end <ide> <ide> def connection_pools <del> @connection_pools[$$] <add> @connection_pools[Process.pid] <ide> end <ide> <ide> d...
3
PHP
PHP
fix all() not working with plugins
4923387c552af184c3cede96518eb6ba28d9e57e
<ide><path>src/Console/Command/Task/ControllerTask.php <ide> public function main($name = null) { <ide> * @return void <ide> */ <ide> public function all() { <del> $controllersCreated = 0; <ide> foreach ($this->listAll() as $table) { <del> $controller = $this->_controllerName($table); <del> $this->bake($contr...
2
Javascript
Javascript
apply promises api to third appendfile test
16d63e629d433c27d431260322fd3cd53f910e0c
<ide><path>test/parallel/test-fs-append-file.js <ide> const throwNextTick = (e) => { process.nextTick(() => { throw e; }); }; <ide> .catch(throwNextTick); <ide> } <ide> <del>// test that appendFile accepts buffers <del>const filename3 = join(tmpdir.path, 'append3.txt'); <del>fs.writeFileSync(filename3, currentFile...
1
Go
Go
fix error when make lint
1adcfa9aa11b765c6b3eb1fcbae2d5fb722077c4
<ide><path>libnetwork/networkdb/networkdb_test.go <ide> func (db *NetworkDB) verifyNodeExistence(t *testing.T, node string, present bool <ide> time.Sleep(50 * time.Millisecond) <ide> } <ide> <del> t.Error(fmt.Sprintf("%v(%v): Node existence verification for node %s failed", db.config.Hostname, db.config.NodeID, nod...
1
Javascript
Javascript
add support to jsx transform for <hyphenated-tags>
5eb57fa51b4702e76e8c71535b695a216b803eb2
<ide><path>vendor/fbtransform/transforms/__tests__/react-test.js <ide> * See the License for the specific language governing permissions and <ide> * limitations under the License. <ide> * <del> * @emails javascript@lists.facebook.com <add> * @emails jeffmo@fb.com <ide> */ <ide> "use strict"; <ide> <ide> require('m...
2
Python
Python
add privileged option in dockeroperator
3064bf04429f86ff2b527704603ef3ca9b9fe22f
<ide><path>airflow/providers/docker/operators/docker.py <ide> class DockerOperator(BaseOperator): <ide> :param tty: Allocate pseudo-TTY to the container <ide> This needs to be set see logs of the Docker container. <ide> :type tty: bool <add> :param privileged: Give extended privileges to this contain...
2
Python
Python
fix test_fetcher when setup is updated
7bd16b87762480b0c61ee517770ff7c037620b74
<ide><path>utils/tests_fetcher.py <ide> def infer_tests_to_run(output_file, diff_with_last_commit=False, filters=None): <ide> print(f"\n### IMPACTED FILES ###\n{_print_list(impacted_files)}") <ide> <ide> # Grab the corresponding test files: <del> test_files_to_run = [] <del> for f in impacted_files: <del...
1
Text
Text
simplify download instruction
aa630279e672c882e3c74acd1cd7e56c63536722
<ide><path>examples/basic-css/README.md <ide> Download the example: <ide> <ide> ```bash <del>curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz next.js-master/examples/basic-css <del>cd next.js-master/examples/basic-css <add>curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --str...
12
Javascript
Javascript
fix error and callback handling
ca2179f0c23dd0e0662c13053c5c54cf9c2870d3
<ide><path>lib/FileSystemInfo.js <ide> class FileSystemInfo { <ide> if (cache !== undefined) { <ide> const resolved = getResolvedTimestamp(cache); <ide> if (resolved !== undefined) return callback(null, resolved); <del> this._resolveContextTimestamp(cache, callback); <add> return this._resolveContextTimesta...
1
Ruby
Ruby
hide `update` from `brew cask help`
c31f959ec1955999d4be4446914eaab2e715058a
<ide><path>Library/Homebrew/compat/hbc/cli/update.rb <ide> def self.run(*_ignored) <ide> exit result.exit_status <ide> end <ide> <add> def self.visible <add> false <add> end <add> <ide> def self.help <del> Formatter.warning("deprecated: use `brew update` instead") <add> ...
1
Javascript
Javascript
render highlights behind lines
3d21ac0742dc5fdc9c18585d81ba601e730151e9
<ide><path>src/text-editor-component.js <ide> class TextEditorComponent { <ide> } <ide> <ide> renderLineTiles () { <del> const children = [] <ide> const style = { <ide> position: 'absolute', <ide> contain: 'strict', <ide> overflow: 'hidden' <ide> } <ide> <add> const children = [] <...
1
Go
Go
remove windowsdiff driver
dd0fc2be8b8b0bbac3d3a478ae6939d9b742612d
<ide><path>daemon/graphdriver/driver_windows.go <ide> var ( <ide> // Slice of drivers that should be used in order <ide> priority = []string{ <ide> "windowsfilter", <del> "windowsdiff", <del> "vfs", <ide> } <ide> ) <ide> <ide><path>daemon/graphdriver/windows/windows.go <ide> import ( <ide> "github.com/Sirupsen...
2
Ruby
Ruby
let change_make_var! append to existing value
5474cf1a95616243f5592c8c5951048ea5cbafe3
<ide><path>Library/Homebrew/utils.rb <ide> module HomebrewInreplaceExtension <ide> # Looks for Makefile style variable defintions and replaces the <ide> # value with "new_value", or removes the definition entirely. <ide> # See inreplace in utils.rb <del> def change_make_var! flag, new_value <del> new_value = ...
1
Python
Python
redefine alphabetic characters
33af52599e3aac9834ec2f104556e6ef67bce968
<ide><path>spacy/language_data/punctuation.py <ide> # coding: utf8 <ide> from __future__ import unicode_literals <ide> <del>import re <del> <del> <del>_ALPHA_LOWER = """ <del>a ä à á â ǎ æ ã å ā ă ą b c ç ć č ĉ ċ c̄ d ð ď e é è ê ë ė ȅ ȩ ẽ ę f g ĝ ğ h i ı <del>î ï í ī ì ȉ ǐ į ĩ j k ķ l ł ļ m n ñ ń ň ņ o ö ó ò ő ô õ œ ...
1
Ruby
Ruby
fix arguments order on assertion
a3f030686bbcfb215ae5635e1c7a92d0346db732
<ide><path>activemodel/test/cases/errors_test.rb <ide> def test_no_key <ide> test "delete returns the deleted messages" do <ide> errors = ActiveModel::Errors.new(Person.new) <ide> errors.add(:name, :invalid) <del> assert_equal errors.delete(:name), ["is invalid"] <add> assert_equal ["is invalid"], error...
1
Ruby
Ruby
use direct 'available?' logic
1b084b5aa021d5399f4bc560ccab715766f09c16
<ide><path>Library/Homebrew/requirements/gpg2_requirement.rb <ide> class GPG2Requirement < Requirement <ide> # GPGTools installs GnuPG 2.0.x as a `gpg` symlink pointing <ide> # to `gpg2`. Our `gnupg` installs only a non-symlink `gpg`. <ide> # The aim is to retain support for any version above 2.0. <del> satisfy(...
1
Text
Text
fix indentation in `configuring.md` [ci skip]
789fa4d9342ea8baee2dde1109c8e1db695cab11
<ide><path>guides/source/configuring.md <ide> The schema dumper adds two additional configuration options: <ide> Rendered recordings/threads/_thread.html.erb in 1.5 ms [cache miss] <ide> ``` <ide> <del> By default it is set to `false` which results in following output: <add> By default it is set to `false`...
1
Text
Text
add note about email sync to contributing.md
6d4c68523d235545f14e1961dcef68d174b00d55
<ide><path>CONTRIBUTING.md <ide> who you are: <ide> $ git config --global user.name "J. Random User" <ide> $ git config --global user.email "j.random.user@example.com" <ide> ``` <add>Please make sure this local email is also added to your <add>[GitHub email list](https://github.com/settings/emails) so that your commits...
1
Javascript
Javascript
fix live editor examples on home page
b46b6a8db90c2316c3e9e7d77ab6d620a6b4f775
<ide><path>docs/_js/live_editor.js <ide> var CodeMirrorEditor = React.createClass({ <ide> } <ide> <ide> return ( <del> <div class={this.props.className}> <add> <div className={this.props.className}> <ide> {editor} <ide> </div> <ide> ); <ide> var ReactPlayground = React.createClass({...
1
Python
Python
try different drop_layer structure in tok2vec
4ab0c8c8e9b3320675e6a5e20d39db0be7fa0210
<ide><path>spacy/_ml.py <ide> def backward(dYp_ids, sgd=None): <ide> return Yfp, backward <ide> <ide> <del>def drop_layer(layer, factor=1.0): <add>def drop_layer(layer, factor=2.): <ide> def drop_layer_fwd(X, drop=0.): <ide> drop *= factor <ide> mask = layer.ops.get_dropout_mask((1,), drop...
1
PHP
PHP
enable subcommands to use spaces
0c8ce430a2c0347ca316435570fe41fa607936fe
<ide><path>src/Console/CommandRunner.php <ide> public function run(array $argv, ConsoleIo $io = null) <ide> array_shift($argv); <ide> <ide> $io = $io ?: new ConsoleIo(); <del> $name = $this->resolveName($commands, $io, array_shift($argv)); <add> <add> list($name, $argv) = $this->longestCo...
2
Ruby
Ruby
convert descriptions test to spec
66735b91a316e2d56ad484699178496da5c83656
<ide><path>Library/Homebrew/test/descriptions_spec.rb <add>require "descriptions" <add> <add>describe Descriptions do <add> subject { described_class.new(descriptions_hash) } <add> let(:descriptions_hash) { {} } <add> <add> it "can print description for a core Formula" do <add> descriptions_hash["homebrew/core/fo...
2
Text
Text
update russian translation
2b4277b5da8d67db3362bec8211d013504f2e2e3
<ide><path>curriculum/challenges/russian/01-responsive-web-design/applied-accessibility/add-an-accessible-date-picker.russian.md <ide> id: 587d778b367417b2b2512aa8 <ide> title: Add an Accessible Date Picker <ide> challengeType: 0 <ide> videoUrl: '' <del>localeTitle: Добавить доступную дату выбора <add>localeTitle: Доба...
1
Javascript
Javascript
fix spelling of letter (leter)
5d44dad43f9e53d39b5179862f552fc0b9a19d40
<ide><path>Examples/UIExplorer/NavigationExperimental/NavigationTicTacToeExample.js <ide> const { <ide> type GameGrid = Array<Array<?string>>; <ide> <ide> const evenOddPlayerMap = ['O', 'X']; <del>const rowLeterMap = ['a', 'b', 'c']; <add>const rowLetterMap = ['a', 'b', 'c']; <ide> <ide> function parseGame(game: stri...
1
Python
Python
fix imports in test_io.py and test_recfunctions.py
e79d6e306c675eee852a8ebaa26a137d4296841a
<ide><path>numpy/lib/tests/test_io.py <ide> <ide> import numpy as np <ide> import numpy.ma as ma <del>from numpy.lib._iotools import (ConverterError, ConverterLockError, <del> ConversionWarning) <add>from numpy.lib._iotools import ( <add> ConverterError, ConverterLockError, Conversion...
2
Mixed
Java
implement image.defaultsource property on android
b0fa3228a77d89d6736da6fcae5dd32f74f3052c
<ide><path>Libraries/Image/Image.android.js <ide> var Image = createReactClass({ <ide> * See https://facebook.github.io/react-native/docs/image.html#blurradius <ide> */ <ide> blurRadius: PropTypes.number, <add> /** <add> * See https://facebook.github.io/react-native/docs/image.html#defaultsource <ad...
3
Javascript
Javascript
catch xr.supportssession() rejection
d6907618cd3e4ca8963dfd526f445ddede17026a
<ide><path>examples/js/vr/WebVR.js <ide> var WEBVR = { <ide> <ide> stylizeElement( button ); <ide> <del> navigator.xr.supportsSession( 'immersive-vr' ).then( showEnterXR ); <add> navigator.xr.supportsSession( 'immersive-vr' ).then( showEnterXR ).catch( showVRNotFound ); <ide> <ide> return button; <ide>
1
PHP
PHP
add return typehint
f565d2a7d04901b2c69f12494610695e61c94740
<ide><path>src/Console/ConsoleIo.php <ide> public function success($message = null, int $newlines = 1, int $level = self::N <ide> * @return void <ide> * @throws \Cake\Console\Exception\StopException <ide> */ <del> public function abort($message, $code = Command::CODE_ERROR) <add> public function ab...
1
PHP
PHP
introduce restorelock function
50a69b7a5e94ea187a4c689087e659d85eedb456
<ide><path>src/Illuminate/Cache/MemcachedStore.php <ide> public function lock($name, $seconds = 0, $owner = null) <ide> return new MemcachedLock($this->memcached, $this->prefix.$name, $seconds, $owner); <ide> } <ide> <add> /** <add> * Restore a lock instance using the owner identifier. <add> * <...
5
Ruby
Ruby
improve performance of multibyte utils
67d8b9743add53f908ca417c641c4a54dd326c7d
<ide><path>activesupport/lib/active_support/multibyte/utils.rb <ide> def self.verify(string) <ide> def self.verify(string) <ide> if expression = valid_character <ide> # Splits the string on character boundaries, which are determined based on $KCODE. <del> string.split(//).all? { |c| exp...
1
Ruby
Ruby
check sbin too
87686d861051f25018288d6dab1333daef2e038f
<ide><path>Library/Homebrew/formula_installer.rb <ide> def caveats <ide> @show_summary_heading = true <ide> else <ide> audit_bin <add> audit_sbin <ide> audit_lib <ide> check_manpages <ide> check_infopages <ide> def check_non_libraries <ide> def audit_bin <ide> return unless ...
1
Ruby
Ruby
add missing comment out [ci skip]
58156a803e9bc0ad972da5a4d0766f1c24398e33
<ide><path>activesupport/lib/active_support/core_ext/enumerable.rb <ide> module Enumerable <ide> # <ide> # [5, 15, 10].sum # => 30 <ide> # ['foo', 'bar'].sum # => "foobar" <del> # [[1, 2], [3, 1, 5]].sum => [1, 2, 3, 1, 5] <add> # [[1, 2], [3, 1, 5]].sum # => [1, 2, 3, 1, 5] <ide> # <ide> # The default ...
1
Javascript
Javascript
fix usages of workspace.panecontainer
233c29d998808f4522b47aa1f61f273ddecfdc6e
<ide><path>spec/workspace-spec.js <ide> describe('Workspace', () => { <ide> pane4 = workspace.getPanes().filter(p => p !== pane1)[0] <ide> expect(workspace.getActivePane()).toBe(pane4) <ide> expect(pane4.items).toEqual([editor]) <del> expect(workspace.paneContainer...
2
Python
Python
add missing tokenproxy migration
995188f8c5bfdd0da29a7f9ca01898dfce5f0b37
<ide><path>rest_framework/authtoken/migrations/0003_tokenproxy.py <add># Generated by Django 3.1.1 on 2020-09-28 09:34 <add> <add>from django.db import migrations <add> <add> <add>class Migration(migrations.Migration): <add> <add> dependencies = [ <add> ('authtoken', '0002_auto_20160226_1747'), <add> ] <ad...
1
Javascript
Javascript
extend timeout in debug mode
11136bf334cc22c34f7b5969f33d0b9f37342754
<ide><path>test/common.js <ide> exports.spawnPwd = function(options) { <ide> }; <ide> <ide> exports.platformTimeout = function(ms) { <add> if (process.config.target_defaults.default_configuration === 'Debug') <add> ms = 2 * ms; <add> <ide> if (process.arch !== 'arm') <ide> return ms; <ide> <ide><path>test/s...
2
Text
Text
verb tense correction [ci skip]
2cec7ccc691f9abaa480e23f57c4003f766c876d
<ide><path>guides/source/engines.md <ide> Blorgh.author_class = "User" <ide> WARNING: It's very important here to use the `String` version of the class, <ide> rather than the class itself. If you were to use the class, Rails would attempt <ide> to load that class and then reference the related table. This could lead to...
1
Javascript
Javascript
flow strict touchableopacity
69213eea9512c81ed998d240a6f5a3be05346b48
<ide><path>Libraries/Components/AppleTV/TVViewPropTypes.js <ide> <ide> 'use strict'; <ide> <del>type TVParallaxPropertiesType = $ReadOnly<{| <add>export type TVParallaxPropertiesType = $ReadOnly<{| <ide> /** <ide> * If true, parallax effects are enabled. Defaults to true. <ide> */ <ide><path>Libraries/Compon...
2
Ruby
Ruby
use string#lines instead of to_a in ruby 1.9
8e68ec4dcceb606853a50d41076c7d5e118089b7
<ide><path>railties/lib/commands/plugin.rb <ide> class RecursiveHTTPFetcher <ide> def initialize(urls_to_fetch, level = 1, cwd = ".") <ide> @level = level <ide> @cwd = cwd <del> @urls_to_fetch = urls_to_fetch.to_a <add> @urls_to_fetch = RUBY_VERSION >= '1.9' ? urls_to_fetch.lines : urls_to_fetch.to_a <i...
1
Text
Text
add documentation for jsonp response
cf6e2a768b7bb93e884873429f5f50489a507002
<ide><path>laravel/documentation/views/home.md <ide> Sometimes you will need a little more control over the response sent to the brow <ide> <ide> return Response::json(array('name' => 'Batman')); <ide> <add>#### Returning a JSONP response: <add> <add> return Response::jsonp(array('name' => 'Batman')); <add> <ide> ##...
1
Javascript
Javascript
fix usages of reactcomponentwithpurerendermixin
a2cfea1934ab3682b2597a53de0b2b00a319832f
<ide><path>Libraries/CustomComponents/NavigationExperimental/NavigationHeader.js <ide> const NavigationHeaderStyleInterpolator = require('NavigationHeaderStyleInterpol <ide> const NavigationHeaderTitle = require('NavigationHeaderTitle'); <ide> const NavigationPropTypes = require('NavigationPropTypes'); <ide> const Reac...
1
Javascript
Javascript
fix branding violation resolvercacheplugin
4571fdab69d0aca5cdd5dad290fc56b16eb29340
<ide><path>lib/cache/ResolverCachePlugin.js <ide> const objectToString = (object, excludeContext) => { <ide> <ide> class ResolverCachePlugin { <ide> /** <del> * @param {Compiler} compiler Webpack compiler <add> * @param {Compiler} compiler webpack compiler <ide> * @returns {void} <ide> */ <ide> apply(compiler)...
1
PHP
PHP
add solevalue method to query builders
1846fb3e88818cfd3ec78150666a51295feddf7d
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> public function value($column) <ide> } <ide> } <ide> <add> /** <add> * Get a single column's value from the first result of a query if it's the sole matching record. <add> * <add> * @param string|\Illuminate\Database\Query\Expres...
2
Javascript
Javascript
remove the istvos check
6075d64acf6f8d74e18ef6568c9438f73fe56d44
<ide><path>Libraries/Utilities/Platform.ios.js <ide> const Platform = { <ide> get isPad(): boolean { <ide> return this.constants.interfaceIdiom === 'pad'; <ide> }, <del> /** <del> * Deprecated, use `isTV` instead. <del> */ <del> // $FlowFixMe[unsafe-getters-setters] <del> get isTVOS(): boolean { <del> ...
1
Javascript
Javascript
add more unit tests
cd5e51db59a65710824b18ac0f1294f4f9aaf706
<ide><path>test/unit/src/math/Quaternion.tests.js <ide> export default QUnit.module( 'Maths', () => { <ide> } ); <ide> <ide> QUnit.test( "x", ( assert ) => { <add> <ide> var a = new Quaternion(); <del> assert.ok(a.x === 0, "Passed!"); <add> assert.ok( a.x === 0, "Passed!" ); <ide> <del> a = new Quaternio...
1
Javascript
Javascript
clarify comment in compose.js
a7f0a923bbe881d7052af4536a4b5ffb8ae23af8
<ide><path>src/compose.js <ide> /** <del> * Composes single-argument functions from right to left. <add> * Composes single-argument functions from right to left. The rightmost <add> * function can take multiple arguments as it provides the signature for <add> * the resulting composite function. <ide> * <ide> * @param...
1
PHP
PHP
fix documentation of controller callbacks
38951b210903ea255ac9ecb4c99f381f854eb76e
<ide><path>src/Controller/Controller.php <ide> public function isAction($action) <ide> * or perform logic that needs to happen before each controller action. <ide> * <ide> * @param Event $event An Event instance <del> * @return void <add> * @return \Cake\Network\Response|null <ide> * @link h...
1
PHP
PHP
use "iterable" type hint and is_iterable() check
844b24c3605f409ed6fcfc7417b928d0c5fdc316
<ide><path>src/Collection/Collection.php <ide> namespace Cake\Collection; <ide> <ide> use ArrayIterator; <del>use InvalidArgumentException; <ide> use IteratorIterator; <ide> use Serializable; <del>use Traversable; <ide> <ide> /** <ide> * A collection is an immutable list of elements with a handful of functions to <i...
25
Python
Python
fix tf template
570218878a502469f2ce62a33bc62be9b3f89b4a
<ide><path>templates/adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}/test_modeling_tf_{{cookiecutter.lowercase_modelname}}.py <ide> class TF{{cookiecutter.camelcase_modelname}}ModelTest(TFModelTesterMixin, unitte <ide> ) <ide> <ide> test_head_masking = False <add> test_onnx = False <ide>...
1
Ruby
Ruby
move the testqueue tests to the proper file
08f57bfb8f46e9f521b7d324fc47fe00d93f42bf
<ide><path>activesupport/test/queueing/test_queue_test.rb <ide> def test_drain <ide> assert job.ran?, "The job runs synchronously when the queue is drained" <ide> assert_equal job.thread_id, Thread.current.object_id <ide> end <add> <add> class IdentifiableJob <add> def initialize(id) <add> @id = id <...
2
Python
Python
add dist_info to valid setup.py commands
9b3f65096ee6bee277552da987ce296985baa96d
<ide><path>setup.py <ide> def parse_setuppy_commands(): <ide> '--maintainer', '--maintainer-email', '--contact', <ide> '--contact-email', '--url', '--license', '--description', <ide> '--long-description', '--platforms', '--classifiers', <del> ...
1
Javascript
Javascript
add inline @type tag
0b4a41af58fbc75122e18146a890a0a7c8dbd947
<ide><path>docs/config/index.js <ide> module.exports = function(config) { <ide> require('./tag-defs/tutorial-step') <ide> ]); <ide> <add> config.append('processing.inlineTagDefinitions', [ <add> require('./inline-tag-defs/type') <add> ]); <add> <ide> config.set('processing.search.ignoreWordsFile', path.re...
2
Text
Text
del the extra dot
73770c00fc322929215108a44049e51f1d89cae5
<ide><path>docs/reference/commandline/run.md <ide> Options: <ide> -m, --memory string Memory limit <ide> --memory-reservation string Memory soft limit <ide> --memory-swap string Swap limit equal to memory plus swap: '-1' to enable unlimited swap <del> --memory-swappiness int ...
1
PHP
PHP
add missing standard http codes
55218815e8048a995f0719142ddf6b1429b7458f
<ide><path>src/Network/Response.php <ide> class Response <ide> protected $_statusCodes = [ <ide> 100 => 'Continue', <ide> 101 => 'Switching Protocols', <add> 102 => 'Processing', <ide> 200 => 'OK', <ide> 201 => 'Created', <ide> 202 => 'Accepted', <ide> 203 => '...
1
PHP
PHP
update dispatchesjobs.php
9d902d3581ac32549d02058b04b6a1944ff198ed
<ide><path>src/Illuminate/Foundation/Bus/DispatchesJobs.php <ide> public function dispatchNow($job) <ide> } <ide> <ide> /** <del> * Dispatch a command to its appropriate handler in the current process. <add> * Dispatch a job to its appropriate handler in the current process. <ide> * <ide> * Q...
1
Java
Java
update javadoc on uritemplatehandler property
4f28c28287d9715bf1a7a9693a809b099003ae88
<ide><path>spring-web/src/main/java/org/springframework/web/client/RestTemplate.java <ide> /* <del> * Copyright 2002-2017 the original author or authors. <add> * Copyright 2002-2018 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use...
2
Javascript
Javascript
add link to transcludefn description
356e6b18d6287cdcea14b57ee525e7921f95a480
<ide><path>src/ng/compile.js <ide> * any other controller. <ide> * <ide> * * `transcludeFn` - A transclude linking function pre-bound to the correct transclusion scope. <del> * This is the same as the `$transclude` <del> * parameter of directive controllers, see there for details. <add> * This is t...
1
Javascript
Javascript
use full path for cmd.exe on win32
c08da463adab71c05017ad6fe81927fa66e2e11e
<ide><path>lib/child_process.js <ide> function normalizeExecArgs(command /*, options, callback */) { <ide> } <ide> <ide> if (process.platform === 'win32') { <del> file = 'cmd.exe'; <add> file = process.env.comspec || 'cmd.exe'; <ide> args = ['/s', '/c', '"' + command + '"']; <ide> // Make a shallow c...
1
Java
Java
fix broken test in mvcnamespacetests
6b0a62569bfb5c8e20746eead6723a3ea23e443f
<ide><path>spring-webmvc/src/test/java/org/springframework/web/servlet/config/MvcNamespaceTests.java <ide> import java.lang.annotation.Retention; <ide> import java.lang.annotation.RetentionPolicy; <ide> import java.lang.reflect.Method; <add>import java.text.DateFormat; <add>import java.text.SimpleDateFormat; <ide> impo...
1
PHP
PHP
fix a few bugs
9acf685b749ac065f7b4ba52ded5eb5bcbc2bf4e
<ide><path>src/Illuminate/Exception/Handler.php <ide> use ReflectionFunction; <ide> use Illuminate\Contracts\Support\ResponsePreparer; <ide> use Illuminate\Contracts\Exception\Handler as HandlerContract; <add>use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; <ide> use Symfony\Component\HttpKernel\Except...
2
Java
Java
fix a typo
8b8afe3def341da37c4db03f04ac87414326b34f
<ide><path>spring-beans/src/main/java/org/springframework/beans/factory/ListableBeanFactory.java <ide> public interface ListableBeanFactory extends BeanFactory { <ide> * by other means than bean definitions. <ide> * <p>This version of {@code getBeanNamesForType} matches all kinds of beans, <ide> * be it singleton...
1
Text
Text
update description of `external`
b4ae0cb97a1a0968cacd34390606d9acf49baf1f
<ide><path>doc/api/util.md <ide> added: v10.0.0 <ide> * Returns: {boolean} <ide> <ide> Returns `true` if the value is a native `External` value. <del>A native `External` value is a special type of object whose <del>data is not stored within the JavaScript managed heap <del>and does not conform to standard JavaScript t...
1
Python
Python
simplify hypothesis config
ba315034759fbf91c61bb55390edc86e7b2627f3
<ide><path>numpy/_pytesttester.py <ide> def __call__(self, label='fast', verbose=1, extra_argv=None, <ide> import pytest <ide> import warnings <ide> <del> # Imported after pytest to enable assertion rewriting <del> import hypothesis <del> <ide> module = sys.modules[self.module_nam...
2
PHP
PHP
remove redundant collection
b18678b80d6379edd15a841d90c7be8c7d20a734
<ide><path>src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php <ide> protected function cleanArray(array $data, $keyPrefix = '') <ide> $data[$key] = $this->cleanValue($keyPrefix.$key, $value); <ide> } <ide> <del> return collect($data)->all(); <add> return $data; <ide> ...
1
Text
Text
add the manifest.in
1e59f60e6ade34dd07882d0c60238964bc9ae725
<ide><path>README.md <del>[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=nicolargo&url=https://github.com/nicolargo/glances&title=Glances&language=&tags=github&category=software) <del> <del>============================= <del>Glances -- Eye on your s...
2
Javascript
Javascript
remove unnecessary resolvercachekey
80c5127dc13de3abc9e5c9894d0edddd6737a668
<ide><path>packages/container/lib/container.js <ide> export default class Container { <ide> return { [OWNER]: this.owner }; <ide> } <ide> <del> _resolverCacheKey(name) { <del> return this.registry.resolverCacheKey(name); <del> } <del> <ide> /** <ide> Given a fullName, return the corresponding factory. ...
2
Ruby
Ruby
clarify comments about sanitized_allowed_tags
95acea5498f1e9ac43cf87b55578e0a8d576680b
<ide><path>actionview/lib/action_view/helpers/sanitize_helper.rb <ide> module SanitizeHelper <ide> # Add table tags to the default allowed tags <ide> # <ide> # class Application < Rails::Application <del> # config.action_view.sanitized_allowed_tags = 'table', 'tr', 'td' <add> # con...
1
Java
Java
fix generics t[] in zip & combinelatest
9966209d74fdd33d54f633a444c95c601aa21955
<ide><path>src/main/java/io/reactivex/Flowable.java <ide> public static int bufferSize() { <ide> * Combines a collection of source Publishers by emitting an item that aggregates the latest values of each of <ide> * the source Publishers each time an item is received from any of the source Publishers, where th...
14