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
fix axis ids in documentation
bf724abe8b314c45bc706617a36f40521f3c0a83
<ide><path>docs/02-Line-Chart.md <ide> var data = { <ide> // The actual data <ide> data: [65, 59, 80, 81, 56, 55, 40], <ide> <del> // String - If specified, binds the dataset to a certain y-axis. If not specified, the first y-axis is used. <del> yAxisID: "y-axis-1", <add> // String - If specified, binds th...
2
Javascript
Javascript
add comment to webglbindingstates
11ae6232065d52fb0412172bf1f5014ae5023efc
<ide><path>src/renderers/webgl/WebGLBindingStates.js <ide> function WebGLBindingStates( gl, extensions, attributes, capabilities ) { <ide> <ide> } <ide> <add> // If we sacrifice some BufferGeometry/Attribute API flexibility <add> // needsUpdate() and saveCache() can be much simpler. See #16287 <add> <ide> function ...
1
Javascript
Javascript
fix disambiguous locator warning in e2e tests
8b568d7c38f9c99b2270671c0ce81cc1b823371e
<ide><path>src/ng/filter/filters.js <ide> <div ng-controller="ExampleController"> <ide> <input type="number" ng-model="amount"> <br> <ide> default currency symbol ($): <span id="currency-default">{{amount | currency}}</span><br> <del> custom currency identifier (USD$): <span>{{amount | ...
1
Javascript
Javascript
check fd 0,1,2 are used, not access mode
106d09ab7a2d63816346cb46277b218f05bcce92
<ide><path>test/parallel/test-stdio-closed.js <ide> const common = require('../common'); <ide> const assert = require('assert'); <ide> const spawn = require('child_process').spawn; <add>const fs = require('fs'); <ide> <ide> if (common.isWindows) { <ide> common.skip('platform not supported.'); <ide> return; <ide> }...
1
Python
Python
remove extraneous grc test file
d48c01a6f77a90db06e936ae903d1d0ea151ae31
<ide><path>spacy/lang/grc/test_text.py <del>import pytest <del> <del> <del>@pytest.mark.parametrize( <del> "text,match", <del> [ <del> ("ι", True), <del> ("α", True), <del> ("ϟα", True), <del> ("ἑκατόν", True), <del> ("ἐνακόσια", True), <del> ("δισχίλια", True), <del> ...
1
Text
Text
add line break
9b51c70d45e898af0fe17cd56c39cdf89feb8b49
<ide><path>guide/english/javascript/es6/destructuring/index.md <ide> const {first: firstName, last: lastName} = fullName; <ide> console.log(firstName, lastName); // John Smith <ide> ``` <ide> **Array Destructuring with rest** <add> <ide> When destructuring an array, you can unpack and assign the remaining part of it to...
1
Ruby
Ruby
avoid monkey patching redis
5aa9d16969cd03c5d3b87d471823979d751ae233
<ide><path>activesupport/lib/active_support/cache/redis_cache_store.rb <ide> <ide> module ActiveSupport <ide> module Cache <del> module ConnectionPoolLike <del> def with <del> yield self <del> end <del> end <del> <del> ::Redis.include(ConnectionPoolLike) <del> ::Redis::Distributed.includ...
1
Text
Text
revise agent.destroy() text
cde87ed761b47da2919a047d1be60a53cdc4541f
<ide><path>doc/api/http.md <ide> Destroy any sockets that are currently in use by the agent. <ide> <ide> It is usually not necessary to do this. However, if using an <ide> agent with `keepAlive` enabled, then it is best to explicitly shut down <del>the agent when it will no longer be used. Otherwise, <del>sockets may ...
1
Go
Go
add support for netbsd
6efa9e05756f709043790474e877e2df693e1922
<ide><path>pkg/system/stat_netbsd.go <add>package system // import "github.com/docker/docker/pkg/system" <add> <add>import "syscall" <add> <add>// fromStatT converts a syscall.Stat_t type to a system.Stat_t type <add>func fromStatT(s *syscall.Stat_t) (*StatT, error) { <add> return &StatT{size: s.Size, <add> mode: uint...
1
PHP
PHP
add tap helper and test
e54e797432a60f165bea2b8c84c62a65fd7f2ca3
<ide><path>src/Illuminate/Support/helpers.php <ide> function studly_case($value) <ide> } <ide> } <ide> <add>if (! function_exists('tap')) { <add> /** <add> * Call the given Closure with a given value then return the value. <add> * <add> * @param mixed $value <add> * @return mixed <add> */ ...
2
PHP
PHP
anticipate()
0cbd8d97eff2c02046f49ce2641dcde77b13be56
<ide><path>src/Illuminate/Console/Command.php <ide> public function ask($question, $default = null) <ide> * Prompt the user for input with auto completion. <ide> * <ide> * @param string $question <del> * @param array $choices <add> * @param array|callable $choices <ide> * @param stri...
1
Text
Text
update proptypes doc
4e0c57315afc2769fe13bbbb4235b0aa47343ca7
<ide><path>docs/contributing/codebase-overview.md <ide> While the code is separated in the source tree, the exact package boundaries are <ide> The "core" of React includes all the [top-level `React` APIs](/react/docs/top-level-api.html#react), for example: <ide> <ide> * `React.createElement()` <del>* `React.createClas...
1
Javascript
Javascript
fix float input, auto joint or split node
2f61147d63ac92d4dd43b87fc2ad44252e1d044d
<ide><path>examples/js/nodes/utils/SwitchNode.js <ide> <ide> THREE.SwitchNode = function( node, components ) { <ide> <del> THREE.GLNode.call( this, 'fv1' ); <add> THREE.GLNode.call( this ); <ide> <ide> this.node = node; <ide> this.components = components || 'x'; <ide> THREE.SwitchNode.prototype.generate = function...
1
Python
Python
allow output size different from state size
4b2093ef67ab9a267dc371e3a193749ad764f78e
<ide><path>keras/backend/tensorflow_backend.py <ide> def _step(input, state): <ide> new_state = tf.concat(1, new_states) <ide> return output, new_state <ide> <del> # state size is assumed to be the same as output size <del> # (always the case) <ide> _step.state...
1
Ruby
Ruby
remove broken `puts` from verbose `brew link`
ed83fa609b4c6c1ebe29d157ce564e1f85fa627a
<ide><path>Library/Homebrew/cmd/link.rb <ide> def link <ide> end <ide> <ide> print "Linking #{keg}... " do <del> puts if ARGV.verbose? <ide> puts "#{keg.link} symlinks created" <ide> end <ide> end
1
Ruby
Ruby
add dev_tools_path to path if not in path already
a69ec7a22bd521d5a48b955bab9c319e761a7851
<ide><path>Library/Homebrew/build.rb <ide> ENV.setup_build_environment <ide> # we must do this or tools like pkg-config won't get found by configure scripts etc. <ide> ENV.prepend 'PATH', "#{HOMEBREW_PREFIX}/bin", ':' unless ORIGINAL_PATHS.include? "#{HOMEBREW_PREFIX}/bin" <add> # this is a safety measur...
1
PHP
PHP
allow relative urls in to_asset
653770a3eb2bbe91fcc445c4a436665a3b218aaf
<ide><path>laravel/url.php <ide> protected static function convention($action, $parameters) <ide> */ <ide> public static function to_asset($url, $https = null) <ide> { <del> if (static::valid($url)) return $url; <add> if (static::valid($url) or starts_with($url, '//')) return $url; <ide> <ide> // If a base ass...
1
Go
Go
add deviceset singleton
ca2f7f955e697091f2b7bee9a33c6c4e106cecd0
<ide><path>runtime.go <ide> type Runtime struct { <ide> volumes *Graph <ide> srv *Server <ide> Dns []string <add> deviceSet DeviceSet <ide> } <ide> <ide> var sysInitPath string <ide> func (runtime *Runtime) getContainerElement(id string) *list.Element { <ide> return nil <ide> } <i...
4
Javascript
Javascript
use numeric identifiers when building a bundle
cb4fca3590cf887e8d246bdbc1ceef196617f510
<ide><path>Libraries/Utilities/Systrace.js <ide> var Systrace = { <ide> <ide> Systrace.setEnabled(global.__RCTProfileIsProfiling || false); <ide> <add>if (__DEV__) { <add> // This is needed, because require callis in polyfills are not processed as <add> // other files. Therefore, calls to `require('moduleId')` are ...
12
Javascript
Javascript
use arrow functions in callbacks
b5c5d206af8fd32f33953d564a151a5a20bfb5b1
<ide><path>test/parallel/test-stream-pipe-await-drain.js <ide> writer1._write = common.mustCall(function(chunk, encoding, cb) { <ide> cb(); <ide> }, 1); <ide> <del>writer1.once('chunk-received', function() { <add>writer1.once('chunk-received', () => { <ide> assert.strictEqual( <ide> reader._readableState.await...
1
Text
Text
improve some portuguese expressions.
538561756f77f7c7f4ef318ecad5128e8097e6c7
<ide><path>guide/portuguese/user-experience-design/customer-journey-map/index.md <ide> localeTitle: Mapa da jornada do cliente <ide> --- <ide> ## Mapa da jornada do cliente <ide> <del>Um mapa de jornada do cliente explica o potencial de orientação da experiência do cliente: desde o contato inicial, passando pelo proce...
1
Python
Python
handle properly values with str type in csvlogger
1a707ea11e9a71e5cdf8095c70cc9cb8574d10c0
<ide><path>keras/callbacks.py <ide> def on_epoch_end(self, epoch, logs=None): <ide> <ide> def handle_value(k): <ide> is_zero_dim_ndarray = isinstance(k, np.ndarray) and k.ndim == 0 <del> if isinstance(k, Iterable) and not is_zero_dim_ndarray: <add> if isinstance(k, six.string_...
1
Go
Go
fix typos in builder and client
ce0993270436c16a17e0afb08b9130556346b983
<ide><path>builder/dockerfile/instructions/commands.go <ide> import ( <ide> "github.com/docker/docker/api/types/strslice" <ide> ) <ide> <del>// KeyValuePair represent an arbitrary named value (useful in slice insted of map[string] string to preserve ordering) <add>// KeyValuePair represent an arbitrary named value (u...
2
Text
Text
improve api documentation text in readme
bd162b6dc0f4d25239e58564a3a3228947af85b3
<ide><path>README.md <ide> Listed under their version string which includes their date (in UTC time) and <ide> the commit SHA at the HEAD of the release. <ide> <ide> #### API Documentation <del><https://nodejs.org/api/> <ide> <del>Points to the API documentation of the latest Current release. <del>Version specific do...
1
PHP
PHP
use the console kernel
0a01aca6b4fcda26c8893d3cd5fa45578fc808ab
<ide><path>tests/TestCase.php <ide> public function createApplication() <ide> { <ide> $app = require __DIR__.'/../bootstrap/app.php'; <ide> <del> $app->make('Illuminate\Contracts\Http\Kernel')->bootstrap(); <add> $app->make('Illuminate\Contracts\Console\Kernel')->bootstrap(); <ide> <ide> return $app; <ide> }
1
Javascript
Javascript
increase error information in test-cli-syntax-*
914c49497cd92a9266cf5aaed1f425358d1023cc
<ide><path>test/sequential/test-cli-syntax-bad.js <ide> const syntaxErrorRE = /^SyntaxError: \b/m; <ide> const cmd = [node, ..._args].join(' '); <ide> exec(cmd, common.mustCall((err, stdout, stderr) => { <ide> assert.strictEqual(err instanceof Error, true); <del> assert.strictEqual(err.code, 1); <add...
3
Javascript
Javascript
relax timer check in test-report-uv-handles.js
80209cc4c991d4392f776a887c06f84c1319923b
<ide><path>test/report/test-report-uv-handles.js <ide> if (process.argv[2] === 'child') { <ide> } <ide> assert(handle.is_referenced); <ide> }, 3), <del> timer: common.mustCall(function timer_validator(handle) { <add> timer: common.mustCallAtLeast(function timer_validator(handle) { <ide> ...
1
Text
Text
remove refenrence to destroy_all_in_batches config
720f6b1ec21fb112522e664f86dfc28c5edbaefa
<ide><path>guides/source/configuring.md <ide> Allows specifying the Active Job queue to use for destroy jobs. When this option <ide> <ide> When true, will always include column names in `SELECT` statements, and avoid wildcard `SELECT * FROM ...` queries. This avoids prepared statement cache errors when adding columns ...
1
Ruby
Ruby
add example label to activesupport/configurable
f480b2cea69247239f6fc2ad171b231595cc08c6
<ide><path>activesupport/lib/active_support/configurable.rb <ide> def #{name}=(value); config.#{name} = value; end <ide> <ide> # Reads and writes attributes from a configuration <tt>OrderedHash</tt>. <ide> # <add> # Example: <add> # <ide> # require 'active_support/configurable' <ide> # ...
1
Javascript
Javascript
replace common.fixturesdir with fixtures
6af889615dfb04a39b658e54cf1e5b4b7906d624
<ide><path>test/parallel/test-fs-whatwg-url.js <ide> 'use strict'; <ide> <ide> const common = require('../common'); <add>const fixtures = require('../common/fixtures'); <ide> const assert = require('assert'); <ide> const path = require('path'); <ide> const fs = require('fs'); <ide> function pathToFileURL(p) { <ide> ...
1
Python
Python
use cudnn in convolution1d layer if available
65b048455ba3fdd756b0b615ad608eafece05e91
<ide><path>keras/layers/convolutional.py <ide> def get_output(self, train): <ide> X = T.reshape(X, (X.shape[0], X.shape[1], X.shape[2], 1)).dimshuffle(0, 2, 1, 3) <ide> <ide> border_mode = self.border_mode <del> if border_mode == 'same': <del> border_mode = 'full' <add> if on_g...
1
Mixed
Ruby
accept block in travel_back time helper
21f907bb51df95a26f129277fe817019b8c37f0a
<ide><path>activesupport/CHANGELOG.md <add>* Add block support to `ActiveSupport::Testing::TimeHelpers#travel_back`. <add> <add> *Tim Masliuchenko* <add> <ide> * Update `ActiveSupport::Messages::Metadata#fresh?` to work for cookies with expiry set when <ide> `ActiveSupport.parse_json_times = true`. <ide> <i...
3
PHP
PHP
simplify connect code for redis
4a4a35768b7b6d503333028b956039e70e6cd9a7
<ide><path>lib/Cake/Cache/Engine/RedisEngine.php <ide> public function init($settings = array()) { <ide> * @return boolean True if Redis server was connected <ide> */ <ide> protected function _connect() { <del> $return = false; <ide> try { <ide> $this->_Redis = new Redis(); <ide> if (!empty($this->settings[...
1
Python
Python
update regularizer tests
00e9d5b21979002558f27d070720b822e7d7a6ce
<ide><path>tests/keras/test_regularizers.py <ide> max_train_samples = 5000 <ide> max_test_samples = 1000 <ide> <del># the data, shuffled and split between tran and test sets <del>(X_train, y_train), (X_test, y_test) = mnist.load_data() <del>X_train = X_train.reshape(60000, 784)[:max_train_samples] <del>X_test = X_test...
1
PHP
PHP
remove tasks related to 2.x upgrades
ef0e816061a646003072741aad8f71d5e77d6eb6
<ide><path>lib/Cake/Console/Command/UpgradeShell.php <ide> <?php <ide> /** <del> * Upgrade Shell <del> * <del> * PHP 5 <del> * <ide> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <ide> * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) <ide> * <ide> * <ide> * @copy...
1
Text
Text
update changelog for 1.5.0-beta.4
dbbc9aa0fe9d22efaae1f1574bc465d2ea10e4c4
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### Ember 1.5.0-beta.4 (March 10, 2014) <add> <add>* Allow Ember Inspector to access models with custom resolver. <add>* [BUGFIX] Allow components with layoutName specified by parent class to specify templateName. <add>* [BUGFIX] Don't raise error when a destr...
1
Javascript
Javascript
replace harmonyinit calls by initfragments
dcebd57aa447128b0d520bdb4aafd38d898ed2f5
<ide><path>lib/ConstPlugin.js <ide> <ide> const { evaluateToString } = require("./JavascriptParserHelpers"); <ide> const NullFactory = require("./NullFactory"); <add>const CachedConstDependency = require("./dependencies/CachedConstDependency"); <ide> const ConstDependency = require("./dependencies/ConstDependency"); <...
16
Python
Python
save vectors init
1e38bea6e9e08eeae0bbae59776003a2fb0f9767
<ide><path>spacy/cli/init_model.py <ide> def init_model(lang, output_dir, freqs_loc=None, clusters_loc=None, jsonl_loc=No <ide> vectors_loc = ensure_path(vectors_loc) <ide> if vectors_loc and vectors_loc.parts[-1].endswith('.npz'): <ide> vectors_data = numpy.load(vectors_loc.open('rb')) <del> vec...
1
Python
Python
fix bug finally??!!"
94886747a73cd3143f1e040dd855842e8d5d7276
<ide><path>research/object_detection/dataset_tools/create_ava_tf_record.py <del># Copyright 2019 The MediaPipe Authors. <add># Copyright 2020 The TensorFlow Authors. All Rights Reserved. <ide> # <ide> # Licensed under the Apache License, Version 2.0 (the "License"); <ide> # you may not use this file except in complianc...
1
Python
Python
add a flag to disable remote control
0384c7f0c90f53a8c4bab1e4fda69f077a672790
<ide><path>celery/app/defaults.py <ide> def __repr__(self): <ide> 'DEFAULT_DELIVERY_MODE': Option(2, type='string'), <ide> 'EAGER_PROPAGATES_EXCEPTIONS': Option(False, type='bool'), <ide> 'ENABLE_UTC': Option(True, type='bool'), <add> 'ENABLE_REMOTE_CONTROL': Option(True, type='bool'), <i...
2
Text
Text
remove colors shown as keywords
40d7dc4af96658582b0a9710e71922239a75a201
<ide><path>curriculum/challenges/english/01-responsive-web-design/applied-visual-design/adjust-the-hue-of-a-color.md <ide> Change the `background-color` of each `div` element based on the class names (`g <ide> <ide> # --hints-- <ide> <del>Your code should use the `hsl()` function to declare the color `green`. <add>Yo...
1
Javascript
Javascript
use american spelling as per style guide
45307fde5c82488d1a12c1eeee24714d49745706
<ide><path>lib/buffer.js <ide> Buffer.prototype.readInt32BE = function readInt32BE(offset, noAssert) { <ide> // <ide> // An all-bits-one exponent is either a positive or negative infinity, if <ide> // the fraction is zero, or NaN when it is non-zero. The standard allows <del>// both quiet and signalling NaNs but since...
1
Python
Python
replace print with logger
ff5cdc086be1e0c3e2bbad8e3469b34cffb55a85
<ide><path>examples/pytorch/question-answering/utils_qa.py <ide> def postprocess_qa_predictions_with_beam_search( <ide> output_dir, "null_odds.json" if prefix is None else f"{prefix}_null_odds.json" <ide> ) <ide> <del> print(f"Saving predictions to {prediction_file}.") <add> l...
1
Text
Text
fix changes for 1.3.0-beta.13
6addac397d82119bd9caaf35c762f908c6a71dce
<ide><path>CHANGELOG.md <del>Reading git log since v1.3.0-beta.12 <del>Parsed 1 commits <del>Generating changelog to stdout ( undefined ) <ide> <a name="1.3.0-beta.13"></a> <ide> # 1.3.0-beta.13 idiosyncratic-numerification (2014-06-16) <ide>
1
Python
Python
add addition asserts to proxy tests
133d5633c151e1cdbf0c2af51bd622de9abe9d66
<ide><path>libcloud/test/test_connection.py <ide> def test_constructor(self): <ide> self.assertEqual(conn.proxy_scheme, 'http') <ide> self.assertEqual(conn.proxy_host, '127.0.0.2') <ide> self.assertEqual(conn.proxy_port, 3128) <add> self.assertEqual(conn.session.proxies, { <add> ...
1
PHP
PHP
create notificationfailed event
deeada07e03dc5a48b6d8c0cc7f493d58599d002
<ide><path>src/Illuminate/Notifications/Events/NotificationFailed.php <add><?php <add> <add>namespace Illuminate\Notifications\Events; <add> <add>class NotificationFailed <add>{ <add> /** <add> * The notifiable entity who received the notification. <add> * <add> * @var mixed <add> */ <add> public ...
1
Text
Text
remove hacktoberfest comment
88524556e7ac486385c571950a31606c299e04db
<ide><path>.github/PULL_REQUEST_TEMPLATE.md <del><!-- Please note that low quality PRs and PRs that do not follow our contributing guidelines will be marked as invalid for Hacktoberfest. --> <del> <ide> Checklist: <ide> <ide> <!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ...
1
Text
Text
enable multi lines
d661dc71343a64ac91393732c34fef21ecfd2963
<ide><path>.github/ISSUE_TEMPLATE.md <ide> This is a (multiple allowed): <ide> * [ ] feature-discussion (RFC) <ide> <ide> ## DESCRIPTIVE TITLE HERE <del>CakePHP Version: EXACT RELEASE VERSION OR COMMIT HASH, HERE. <del>Platform and Target: YOUR WEB-SERVER, DATABASE AND OTHER RELEVANT INFO AND HOW THE REQUEST IS BEING ...
1
Text
Text
add circular option documentation for grid lines
246b9a1a40b72e57ba256d679ca6e44f1cd82411
<ide><path>docs/axes/styling.md <ide> The grid line configuration is nested under the scale configuration in the `grid <ide> | Name | Type | Default | Description <ide> | -----| ---- | --------| ----------- <ide> | `display` | `Boolean` | `true` | If false, do not display grid lines for this axis. <add>| `circular` | `...
1
Javascript
Javascript
fix nits in test/fixtures/tls-connect.js
834a413eed7c5f6a415e00b14d499c5cb0a34fca
<ide><path>test/fixtures/tls-connect.js <ide> exports.debug = util.debuglog('test'); <ide> exports.tls = tls; <ide> <ide> // Pre-load keys from common fixtures for ease of use by tests. <del>const keys = exports.keys = { <add>exports.keys = { <ide> agent1: load('agent1', 'ca1'), <ide> agent2: load('agent2', 'agent...
1
Python
Python
raise exception when field source is a built-in
7179ea9984cae9bf20f69d4ddd48071f6e3de2fa
<ide><path>rest_framework/fields.py <ide> class empty: <ide> pass <ide> <ide> <add>class BuiltinSignatureError(Exception): <add> """ <add> Built-in function signatures are not inspectable. This exception is raised <add> so the serializer can raise a helpful error message. <add> """ <add> pass <add>...
2
Javascript
Javascript
remove unused variable in awdloader
feee8a9c023f645878c7a9ad01c6024a55b84b46
<ide><path>examples/js/loaders/AWDLoader.js <ide> num_subs = this.readU16(), <ide> geom, <ide> subs_parsed = 0, <del> props, <ide> buffer, <ide> skinW, skinI, <ide> geometries = []; <del> <del> props = this.parseProperties( { <del> 1: this._geoNrType, <del> 2: this._geoNrType <del> ...
1
Javascript
Javascript
fix meridiem parsing for bn,bo,dv,ml,si,tzl
a9ec578a391721e56b43db3d7bce3bbf47001255
<ide><path>src/locale/bn.js <ide> export default moment.defineLocale('bn', { <ide> }); <ide> }, <ide> meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, <del> isPM: function (input) { <del> return /^(দুপুর|বিকাল|রাত)$/.test(input); <add> meridiemHour : function (hour, meridiem) { <add> if (h...
6
Ruby
Ruby
create explicit folders for more language libs
6fbf1259707a359111ddf2478dfe3a62535744e0
<ide><path>Library/Homebrew/keg.rb <ide> def link <ide> $n=0 <ide> $d=0 <ide> <del> mkpaths=(1..9).collect {|x| "man/man#{x}"} <<'man'<<'doc'<<'locale'<<'info'<<'aclocal' <add> share_mkpaths=%w[aclocal doc info locale man]+(1..9).collect{|x|"man/man#{x}"} <ide> <ide> # yeah indeed, you have to force...
1
Text
Text
fix suspicious heading emphasis in n-api.md
7dd6d864cb3c4e5411bc8d29bfdf54b969126293
<ide><path>doc/api/n-api.md <ide> is sufficient and appropriate. Use of the `napi_make_callback` function <ide> may be required when implementing custom async behavior that does not use <ide> `napi_create_async_work`. <ide> <del>### *napi_open_callback_scope* <add>### napi_open_callback_scope <ide> <!-- YAML <ide> add...
1
Go
Go
remove locator check on endpoint force removal
64673bce0a1dec6a473f143620a605228ac76659
<ide><path>libnetwork/endpoint.go <ide> func (ep *endpoint) sbLeave(sb *sandbox, force bool, options ...EndpointOption) <ide> return nil <ide> } <ide> <del>func (n *network) validateForceDelete(locator string) error { <del> if n.Scope() == datastore.LocalScope { <del> return nil <del> } <del> <del> if locator == "" ...
1
Text
Text
update job reference in collaborator_guide.md
d4c81be4a0035b2d96cd62ae3a846d4435d941e6
<ide><path>COLLABORATOR_GUIDE.md <ide> that the tests are reliable. <ide> runs the standard V8 tests. Run it when updating V8 in Node.js or floating new <ide> patches on V8. <ide> <del>* [`node-test-commit-custom-suites`](https://ci.nodejs.org/job/node-test-commit-custom-suites/) <add>* [`node-test-commit-custom-suite...
1
Text
Text
update description and user stories
f353278905b5e27807cb22ddcca28eac2e5364c6
<ide><path>curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/file-metadata-microservice.md <ide> forumTopicId: 301506 <ide> ## Description <ide> <ide> <section id='description'> <del>Build a full stack JavaScript app that is functionally similar to this: <a href='https://file-meta...
1
Python
Python
move impersonation test back to quarantine
2811851f80d6f5852d2401f7c57d2e4520b4f2ab
<ide><path>tests/test_impersonation.py <ide> def create_user(): <ide> ) <ide> <ide> <del>@pytest.mark.heisentests <add>@pytest.mark.quarantined <ide> class TestImpersonation(unittest.TestCase): <ide> <ide> def setUp(self):
1
Javascript
Javascript
fix redirect link failures to /account
d9d44ae509d771b34ebe2a18919c8720cd0254fb
<ide><path>server/passport-providers.js <ide> var successRedirect = '/'; <ide> var failureRedirect = '/login'; <add>var linkFailureRedirect = '/account'; <ide> module.exports = { <ide> local: { <ide> provider: 'local', <ide> module.exports = { <ide> callbackURL: '/link/facebook/callback', <ide> callbackPa...
1
Text
Text
update documentation to stateless components
ec41af055753161341c0b32be12bcc1657719289
<ide><path>docs/docs/06-transferring-props.it-IT.md <ide> Nel resto di questo tutorial vengono illustrate le best practices, usando JSX e <ide> Nella maggior parte dei casi dovresti esplicitamente passare le proprietà. Ciò assicura che venga esposto soltanto un sottoinsieme dell'API interna, del cui funzionamento si è ...
7
Ruby
Ruby
improve wording in cache documentation [ci skip]
5103a5ef4b2ca822b7271d5bfe6892ed3960bca3
<ide><path>activesupport/lib/active_support/cache.rb <ide> def exist?(name, options = nil) <ide> # <ide> # Options are passed to the underlying cache implementation. <ide> # <del> # All implementations may not support this method. <add> # Some implementations may not support this method. <id...
1
PHP
PHP
fix failing tests on case-sensitive file systems
cdf32475d5ef4a53819247e547b7446f26b030e5
<ide><path>src/Console/ShellDispatcher.php <ide> public function findShell($shell) { <ide> * @return string|boolean Either the classname or false. <ide> */ <ide> protected function _shellExists($shell) { <del> $class = Inflector::camelize($shell); <add> $class = array_map('Cake\Utility\Inflector::camelize', explod...
1
PHP
PHP
change line length in emails
7ad11f59bbad6a66a06054dc0daa6bc0a31b7479
<ide><path>lib/Cake/Network/Email/CakeEmail.php <ide> protected function _encodeString($text, $charset) { <ide> * @param string $message Message to wrap <ide> * @return array Wrapped message <ide> */ <del> protected function _wrap($message) { <add> protected function _wrap($message, $wrapLength = CakeEmail::LINE_LEN...
2
Python
Python
add support for fujitsu compiler to numpy.
4950fd10e678faea859fc8d8bd5d7ea9df2007b1
<ide><path>numpy/distutils/fcompiler/__init__.py <ide> def wrap_unlinkable_objects(self, objects, output_dir, extra_dll_dir): <ide> 'intelvem', 'intelem', 'flang')), <ide> ('cygwin.*', ('gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95')), <ide> ('linux.*', ('gnu95', 'intel', 'lahey'...
3
PHP
PHP
allow various methods of passing token
939cc94812c1f2e6be155410681de1ddbd7d6b82
<ide><path>src/Illuminate/Auth/TokenGuard.php <ide> <ide> namespace Illuminate\Auth; <ide> <add>use Illuminate\Support\Str; <ide> use Illuminate\Http\Request; <ide> use Illuminate\Contracts\Auth\Guard; <ide> use Illuminate\Contracts\Auth\UserProvider; <ide> public function user() <ide> <ide> $user = null; <i...
1
Ruby
Ruby
fix regex for comments
bf4f871f23c1746c7dfd62ccab0c7bc054ce361c
<ide><path>activerecord/lib/active_record/connection_adapters/abstract_adapter.rb <ide> class AbstractAdapter <ide> include Savepoints <ide> <ide> SIMPLE_INT = /\A\d+\z/ <del> COMMENT_REGEX = %r{/\*(?:[^*]|\*[^/])*\*/}m <add> COMMENT_REGEX = %r{(?:--.*\n)*|/\*(?:[^*]|\*[^/])*\*/}m <ide> <ide> ...
1
Ruby
Ruby
remember the parameter hash we return
b7ac0790682e0a56b406127891dfefc15a5eaa64
<ide><path>actionpack/lib/action_dispatch/http/parameters.rb <ide> def path_parameters=(parameters) #:nodoc: <ide> # <ide> # {'action' => 'my_action', 'controller' => 'my_controller'} <ide> def path_parameters <del> get_header(PARAMETERS_KEY) || {} <add> get_header(PARAMETERS_KEY) || s...
1
Python
Python
fix recurrent layers issue
2082bafd183eb6fea4778701f4c2c047970014f4
<ide><path>keras/layers/recurrent.py <ide> def __init__(self, return_sequences=False, <ide> self.go_backwards = go_backwards <ide> self.stateful = stateful <ide> self.unroll = unroll <del> self.implementation = 0 <add> self.implementation = implementation <ide> self.support...
1
Ruby
Ruby
remove some 10.5 hacks
be9c5d5d16332ffa888853745c7792a0c8bffd9c
<ide><path>Library/Homebrew/download_strategy.rb <ide> def fetch_repo target, url, revision=nil, ignore_externals=false <ide> # cache as it will make any changes to get the right revision. <ide> svncommand = target.directory? ? 'up' : 'checkout' <ide> args = ['svn', svncommand] + fetch_args <del> # SVN s...
2
Javascript
Javascript
add gc test for disabled asynclocalstorage
96e70c4ce786f43de16a0267a92ee73abf218356
<ide><path>test/async-hooks/test-async-local-storage-gcable.js <add>'use strict'; <add>// Flags: --expose_gc <add> <add>// This test ensures that AsyncLocalStorage gets gced once it was disabled <add>// and no strong references remain in userland. <add> <add>const common = require('../common'); <add>const { AsyncLocalS...
1
Python
Python
check extra action func.__name__
1e383f103a1a84461e949e59b001ee61a2e0f7c4
<ide><path>rest_framework/viewsets.py <ide> def _is_extra_action(attr): <ide> return hasattr(attr, 'mapping') and isinstance(attr.mapping, MethodMapper) <ide> <ide> <add>def _check_attr_name(func, name): <add> assert func.__name__ == name, ( <add> 'Expected function (`{func.__name__}`) to match its attr...
2
Go
Go
fix panic in getremoteimagelayer
9c413e3e6f1c6bd6abada707c442862049d29743
<ide><path>registry/session.go <ide> func (r *Session) GetRemoteImageLayer(imgID, registry string, token []string, im <ide> for i := 1; i <= retries; i++ { <ide> res, client, err = r.doRequest(req) <ide> if err != nil { <del> res.Body.Close() <add> if res.Body != nil { <add> res.Body.Close() <add> } <ide>...
1
Ruby
Ruby
move type annotations into files
24ae318a3d5f0519f5fe29d08e01e8a044d99d87
<ide><path>Library/Homebrew/PATH.rb <add># typed: false <ide> # frozen_string_literal: true <ide> <ide> # Represention of a `*PATH` environment variable. <ide><path>Library/Homebrew/bintray.rb <add># typed: false <ide> # frozen_string_literal: true <ide> <ide> require "utils/curl" <ide><path>Library/Homebrew/brew.rb ...
300
Javascript
Javascript
fix copy material
0dac7b9c20a73a2cd82495de5ff041de637ec2dd
<ide><path>src/materials/MeshPhongMaterial.js <ide> THREE.MeshPhongMaterial = function ( parameters ) { <ide> THREE.MeshPhongMaterial.prototype = Object.create( THREE.Material.prototype ); <ide> THREE.MeshPhongMaterial.prototype.constructor = THREE.MeshPhongMaterial; <ide> <del>THREE.MeshPhongMaterial.prototype.clone ...
1
Javascript
Javascript
turn distdecode into a typed array
4d70cb4aaf2442ff001ccf2468595d6337bf19db
<ide><path>pdf.js <ide> var FlateStream = (function() { <ide> 0x00102, 0x00102, 0x00102 <ide> ]); <ide> <del> const distDecode = [ <del> [0, 1], <del> [0, 2], <del> [0, 3], <del> [0, 4], <del> [1, 5], <del> [1, 7], <del> [2, ...
1
PHP
PHP
remove explicit middleware implements
e968f3362a0f5c43c6ceb576508e0fed3aa6f21c
<ide><path>src/Illuminate/Session/Middleware/StartSession.php <ide> use Illuminate\Session\CookieSessionHandler; <ide> use Symfony\Component\HttpFoundation\Response; <ide> use Illuminate\Contracts\Routing\TerminableMiddleware; <del>use Illuminate\Contracts\Routing\Middleware as MiddlewareContract; <ide> <del>class Sta...
1
Ruby
Ruby
prefer cached_location method over @clone ivar
ddf6f51776c59edf07c5b06f8b8892d4660870be
<ide><path>Library/Homebrew/download_strategy.rb <ide> def initialize(name, resource) <ide> end <ide> <ide> def fetch <del> clear_cache unless @url.chomp("/") == repo_url or quiet_system "svn", "switch", @url, @clone <add> clear_cache unless @url.chomp("/") == repo_url or quiet_system "svn", "switch", @url, ...
1
Ruby
Ruby
fix tests in railties
d9b732fcadc001b6757e648761acf97833827b58
<ide><path>railties/test/railties/engine_test.rb <ide> class Engine < ::Rails::Engine <ide> env = Rack::MockRequest.env_for("/bukkits") <ide> response = Rails.application.call(env) <ide> <del> assert_equal ["HELLO WORLD"], response[2] <add> assert_equal rack_body(["HELLO WORLD"]), rack_body(respo...
2
Text
Text
remove reference to deprecated navigator.js
67a3b4c224eb4f46d6ab0659c3f4c6fb7d04d62f
<ide><path>docs/Navigation.md <ide> next: images <ide> previous: animations <ide> --- <ide> <del>This guide covers the various navigation components available in React Native. If you are just getting started with navigation, you will probably want to use React Navigation. <add>This guide covers the various navigation ...
1
Javascript
Javascript
make 'close' event async
7349d7fd998cba97f3b6c76376862ae81b5d6418
<ide><path>lib/dgram.js <ide> Socket.prototype.close = function() { <ide> this._stopReceiving(); <ide> this._handle.close(); <ide> this._handle = null; <del> this.emit('close'); <add> var self = this; <add> process.nextTick(function() { <add> self.emit('close'); <add> }); <ide> <ide> return this; <ide> ...
2
Python
Python
remove "bench" from testing modules `__init__`s
6126789e4addb609b6c99e46a338f5b0bb6f9be3
<ide><path>numpy/__init__.py <ide> def pkgload(*packages, **options): <ide> # no-one else in the world is using it (though I hope not) <ide> from .testing import Tester, _numpy_tester <ide> test = _numpy_tester().test <del> bench = _numpy_tester().bench <ide> <ide> # Allow distributors to run custom...
10
Ruby
Ruby
compare file mode directly
673f08f17e036b7fa200553ae9a6d0a9f73ca4ac
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def initialize(formula) <ide> end <ide> <ide> def audit_file <del> unless formula.path.stat.mode.to_s(8) == "100644" <add> unless formula.path.stat.mode == 0100644 <ide> problem "Incorrect file permissions: chmod 644 #{formula.path}" <ide> end <ide>
1
Javascript
Javascript
implement text onlongpress
f022681a1eb1f7ad63f86f376fcf9e578f1e126a
<ide><path>Libraries/Text/Text.js <ide> const Text = React.createClass({ <ide> * This function is called on press. <ide> */ <ide> onPress: React.PropTypes.func, <add> /** <add> * This function is called on long press. <add> */ <add> onLongPress: React.PropTypes.func, <ide> /** <ide> ...
1
Javascript
Javascript
improve http2 benchmark configs
82b1660b1d7921a9b7d55156bd67f17da34eb106
<ide><path>benchmark/http2/headers.js <ide> const PORT = common.PORT; <ide> const bench = common.createBenchmark(main, { <ide> n: [1e3], <ide> nheaders: [0, 10, 100, 1000], <del>}, { flags: ['--no-warnings'] }); <add> benchmarker: ['h2load'] <add>}, { flags: ['--no-warnings', '--expose-http2'] }); <ide> <ide> fun...
4
Javascript
Javascript
fix codemirror ssr
8049dddfdf40cc485b31ce0134b8a143eaee45b1
<ide><path>packages/learn/src/templates/Challenges/views/classic/Editor.js <ide> import { executeChallenge, updateFile } from '../../redux'; <ide> import 'codemirror/lib/codemirror.css'; <ide> import 'codemirror/theme/material.css'; <ide> <del>require('codemirror/mode/htmlmixed/htmlmixed'); <del>require('codemirror/mo...
1
Text
Text
add readme for model
0d491c61a9463182d1a0df70d61d01ee2e017917
<ide><path>threejs/resources/models/mountain_landscape/readme.md <add>This model is licensed [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/) <add>Author: [elsergio217](https://sketchfab.com/elsergio217)
1
PHP
PHP
add connection settings to cache config
8f6db28661f6e763c0cc95f141bad8f3a5553c62
<ide><path>config/cache.php <ide> 'database' => [ <ide> 'driver' => 'database', <ide> 'table' => 'cache', <add> 'connection' => null, <ide> ], <ide> <ide> 'file' => [ <ide> ], <ide> <ide> 'redis' => [ <del> 'driver' => 'redis' <add> 'driver' => 'redis', <add> 'connection' => 'default', <ide> ...
1
Text
Text
fix a typo in n-api documentation
f2cb78c4e7b799ad9f758d1c677f790bab636d72
<ide><path>doc/api/n-api.md <ide> must be called in order to determine if an exception is pending or not. <ide> <ide> When an exception is pending one of two approaches can be employed. <ide> <del>The first appoach is to do any appropriate cleanup and then return so that <add>The first approach is to do any appropria...
1
Javascript
Javascript
fix typo in new modulecache args
29febb9b1e6c17c61000d80ef3703f697c5c1a03
<ide><path>packager/react-packager/src/node-haste/index.js <ide> class DependencyGraph { <ide> depGraphHelpers: this._helpers, <ide> assetDependencies: this._assetDependencies, <ide> moduleOptions: this._opts.moduleOptions, <del> }, this._opts.platfomrs); <add> }, this._opts.platforms); <ide> <...
1
Text
Text
fix typo in migration guide
873223fc784bd761fb9b18159b7c99856003e7d7
<ide><path>docs/getting-started/v3-migration.md <ide> A number of changes were made to the configuration options passed to the `Chart` <ide> <ide> * Indexable options are now looping. `backgroundColor: ['red', 'green']` will result in alternating `'red'` / `'green'` if there are more than 2 data points. <ide> * The in...
1
PHP
PHP
fix variable name and docblock
76189fe7c8dafe8a1be63aab032c174db10f0ac2
<ide><path>src/Illuminate/Foundation/helpers.php <ide> function dispatch($job) <ide> * Get the path to a versioned Elixir file. <ide> * <ide> * @param string $file <add> * @param string $buildDirectory <ide> * @return string <ide> * <ide> * @throws \InvalidArgumentException <ide> ...
1
Python
Python
allow legacy optimizer in mg's optimizer factory
03c41a1ee62ef4fbffa68e84c919ec1bb5688389
<ide><path>official/modeling/optimization/optimizer_factory.py <ide> def build_optimizer( <ide> optimizer, **self._ema_config.as_dict()) <ide> if postprocessor: <ide> optimizer = postprocessor(optimizer) <del> if not isinstance(optimizer, tf.keras.optimizers.Optimizer): <del> # tf.keras.opti...
1
PHP
PHP
add collection@issingle method
b72178dbe9d8971c9f8bd1823cb1aa344bcb9637
<ide><path>src/Illuminate/Collections/Collection.php <ide> public function isEmpty() <ide> return empty($this->items); <ide> } <ide> <add> /** <add> * Determine if the collection contains a single element. <add> * <add> * @return bool <add> */ <add> public function isSingle() <add> ...
4
PHP
PHP
fix arguments type and add typehint
17be680352a5dd427cff2feaa3e27695843ceb82
<ide><path>src/ORM/Marshaller.php <ide> protected function _mergeAssociation($original, Association $assoc, $value, arra <ide> * Creates a new sub-marshaller and merges the associated data for a BelongstoMany <ide> * association. <ide> * <del> * @param \Cake\Datasource\EntityInterface $original The o...
1
Ruby
Ruby
use fc accessor
8828187b4c7d9b0220875d607fd5ff73d3894b89
<ide><path>Library/Homebrew/extend/ENV/shared.rb <ide> def userpaths! <ide> end <ide> <ide> def fortran <del> if self['FC'] <add> if fc <ide> ohai "Building with an alternative Fortran compiler" <ide> puts "This is unsupported." <del> self['F77'] ||= self['FC'] <add> self['F77'] ||= fc ...
1
Text
Text
add badges to readme
09034d9e177ff929eb94e7a3edb73b2e4993552d
<ide><path>README.md <ide> # Keras: Deep Learning library for Theano and TensorFlow <ide> <del>![Build status](https://api.travis-ci.org/fchollet/keras.svg) <add>[![Build Status](https://travis-ci.org/fchollet/keras.svg?branch=master)](https://travis-ci.org/fchollet/keras) <add>[![PyPI version](https://badge.fury.io/p...
1
Python
Python
fix input shape of ocr model
d4f6ff8a88e215875480da985de6b9acbb322f44
<ide><path>examples/image_ocr.py <ide> def speckle(img): <ide> # and a random amount of speckle noise <ide> <ide> def paint_text(text, w, h, rotate=False, ud=False, multi_fonts=False): <del> surface = cairo.ImageSurface(cairo.FORMAT_RGB24, w, h) <add> surface = cairo.ImageSurface(cairo.FORMAT_RGB24, width=w, hei...
1
Ruby
Ruby
remove extra sort from test
7f5dd5b629cf4e43d60a40db9b7d13af6d6dfe7f
<ide><path>activerecord/test/cases/migration/change_schema_test.rb <ide> def test_create_table_adds_id <ide> t.column :foo, :string <ide> end <ide> <del> assert_equal %w(foo id), connection.columns(:testings).map(&:name).sort <add> assert_equal %w(id foo), connection.columns(:testings)....
1
Ruby
Ruby
ask column if it is a pk
c1003d99b00b3afb5417b6853a3e2ba92638cbe8
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb <ide> def sql_type <ide> base.type_to_sql(type.to_sym, limit, precision, scale) <ide> end <ide> <add> def primary_key? <add> type == :primary_key <add> end <add> <ide> def to_sql <ide> ...
1