content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Ruby
Ruby
reduce duplication when generating translations
c946b2a30038701cdff3ed6e22b8fdcbe2ee3b7d
<ide><path>actionview/lib/action_view/helpers/tags.rb <ide> module Tags #:nodoc: <ide> <ide> eager_autoload do <ide> autoload :Base <add> autoload :Translator <ide> autoload :CheckBox <ide> autoload :CollectionCheckBoxes <ide> autoload :CollectionRadioButtons <ide><path>act...
4
Text
Text
немного поправил текст
9010fbc8f0422dd9f2dcef118217b0651d327061
<ide><path>guide/russian/css/css-frameworks/css-framework-bootstrap/index.md <ide> --- <ide> title: CSS Framework Bootstrap <del>localeTitle: Исходный код CSS Framework <add>localeTitle: CSS фреймворк Bootstrap <ide> --- <del># Исходный код CSS Framework <add># CSS фреймворк Bootstrap <ide> <del>Bootstrap - это самый ...
1
Java
Java
drop support for standalone "l" in cronexpression
4d670ee25d8a1e615883dfb4468919c2b43c33b0
<ide><path>spring-context/src/main/java/org/springframework/scheduling/support/CronExpression.java <ide> private CronExpression( <ide> * </li> <ide> * <li> <ide> * In the "day of week" field, {@code L} stands for "the last day of the <del> * week", and uses the <del> * {@linkplain java.util.Locale#getDefault() ...
4
Javascript
Javascript
remove duplicate code
67793318310b06fa916bfc44774f035b7960b332
<ide><path>lib/dns.js <ide> function onlookup(err, addresses) { <ide> if (err) { <ide> return this.callback(dnsException(err, 'getaddrinfo', this.hostname)); <ide> } <del> if (this.family) { <del> this.callback(null, addresses[0], this.family); <del> } else { <del> this.callback(null, addresses[0], isIP...
1
Python
Python
add regression test for #859
c4f16c66d1c61181dd52c5543b40fec5ea33c10d
<ide><path>spacy/tests/regression/test_issue859.py <add># encoding: utf8 <add>from __future__ import unicode_literals <add> <add>import pytest <add> <add> <add>@pytest.mark.xfail <add>@pytest.mark.parametrize('text', ["aaabbb@ccc.com\nThank you!"]) <add>def test_issue859(en_tokenizer, text): <add> """Test that no ex...
1
Javascript
Javascript
return a promise from pane.destroyactiveitem
56926695ba359cd10eeba50ed349c8f1853d8160
<ide><path>src/pane.js <ide> class Pane { <ide> } <ide> <ide> // Public: Destroy the active item and activate the next item. <add> // <add> // Returns a {Promise} that resolves when the item is destroyed. <ide> destroyActiveItem () { <del> this.destroyItem(this.activeItem) <del> return false <add> ret...
1
Text
Text
add docs for biluo_to_iob and iob_to_biluo.
9cf3fa9711dfff94e88d6e137a52ebabdcceaad8
<ide><path>website/docs/api/top-level.md <ide> This method was previously available as `spacy.gold.spans_from_biluo_tags`. <ide> | `tags` | A sequence of [BILUO](/usage/linguistic-features#accessing-ner) tags with each tag describing one token. Each tag string will be of the form of either `""`, `"O"` or `"{action...
1
Ruby
Ruby
fix tests from rails.png removal
c959798571b4060b19712e022f4236d75b2b7cfd
<ide><path>railties/test/application/assets_test.rb <ide> def assert_no_file_exists(filename) <ide> end <ide> <ide> test "assets routes have higher priority" do <add> app_file "app/assets/images/rails.png", "notactuallyapng" <ide> app_file "app/assets/javascripts/demo.js.erb", "a = <%= image_path('r...
1
Javascript
Javascript
improve support for new execution contexts
ae1b0ca7a598438330854ccd83bae13db3e7d2b0
<ide><path>lib/assert.js <ide> function expectedException(actual, expected) { <ide> return false; <ide> } <ide> <del> if (expected instanceof RegExp) { <add> if (Object.prototype.toString.call(expected) == '[object RegExp]') { <ide> return expected.test(actual); <ide> } else if (actual instanceof expecte...
2
Text
Text
prefer environment over mode
0dc9b59d2edf1983fca04280cacce3232c6164cb
<ide><path>guides/source/action_view_overview.md <ide> more examples and information. <ide> <ide> #### Template Caching <ide> <del>By default, Rails will compile each template to a method in order to render it. When you alter a template, Rails will check the file's modification time and recompile it in development mo...
4
Python
Python
document some choices in the ssh client
6e53bfff2edaee590cb1d70ba333e7a9a82c203a
<ide><path>libcloud/compute/ssh.py <ide> def delete(self, path): <ide> return True <ide> <ide> def run(self, cmd): <add> """ <add> Note: This function is based on paramiko's exec_command() <add> method. <add> """ <ide> extra = {'_cmd': cmd} <ide> self.logger.debu...
1
Javascript
Javascript
remove function hastextdecoder in encoding.js
25dc25b1111a9bdb8b60064eb0afe73873e96b83
<ide><path>lib/internal/encoding.js <ide> Object.defineProperties( <ide> value: 'TextEncoder' <ide> } }); <ide> <del>const { hasConverter, TextDecoder } = <add>const TextDecoder = <ide> process.binding('config').hasIntl ? <ide> makeTextDecoderICU() : <ide> makeTextDecoderJS(); <ide> <del>function ...
1
Javascript
Javascript
add view config for androidhorizontalscrollview
b7fac14b6457ae49412cf7d0923250ce0f4f59ce
<ide><path>Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js <add>/** <add> * Copyright (c) Facebook, Inc. and its affiliates. <add> * <add> * This source code is licensed under the MIT license found in the <add> * LICENSE file in the root directory of this source tree. <add> * <add> * @form...
2
Python
Python
fix syntaxerror in test_leak.py
3ade3cb57ecfc58067f0f38132220313690090a6
<ide><path>funtests/suite/test_leak.py <ide> def get_rsize(self, cmd=GET_RSIZE): <ide> shlex.split(cmd % {'pid': os.getpid()}), <ide> stdout=subprocess.PIPE).communicate()[0].strip()) <ide> except OSError, exc: <del> raise SkipTest('Can't execute co...
1
PHP
PHP
fix cache clearing for apcengine
a30f911725ad85a684882e87d3c9603fdfdc826b
<ide><path>src/Cache/Engine/ApcEngine.php <ide> public function clear($check) <ide> if ($check) { <ide> return true; <ide> } <del> $iterator = new APCUIterator( <del> '/^' . preg_quote($this->_config['prefix'], '/') . '/', <del> APC_ITER_NONE <del> ); <del...
1
PHP
PHP
apply fixes from styleci
3c6febb810af2128c479b402c36859d7572665cc
<ide><path>src/Illuminate/Validation/Rules/RequiredIf.php <ide> <ide> namespace Illuminate\Validation\Rules; <ide> <del>use Closure; <del> <ide> class RequiredIf <ide> { <ide> /**
1
Mixed
Javascript
fix the spelling of "separate"
02616b9f17b336762ad061dc96b0688affd79b79
<ide><path>docs/06-Advanced.md <ide> npm install -g gulp <ide> <ide> This will install the local development dependencies for Chart.js, along with a CLI for the JavaScript task runner <a href="http://gulpjs.com/" target="_blank">gulp</a>. <ide> <del>Now, we can run the `gulp build` task, and pass in a comma seperated...
3
Javascript
Javascript
add link to ngmodelcontroller
a53e466b80162b6b7b70956f08ef3ca4cf1043f0
<ide><path>src/ng/directive/input.js <ide> var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ <ide> * <ide> * @description <ide> * Is a directive that tells Angular to do two-way data binding. It works together with `input`, <del> * `select`, `textarea`. You can easily write your own di...
1
Javascript
Javascript
improve code coverage
e4b883312857115c7cdf18a5c419530357c79b4b
<add><path>test/cases/parsing/issue-4608-1/index.js <del><path>test/cases/parsing/issue-4608/index.js <ide> it("should find var declaration in control statements", function() { <ide> <ide> require("fail"); <ide> }()); <add> <add> (function() { <add> with({ a: 1 }) { <add> var require = f; <add> } <add> <add> r...
4
Text
Text
fix typo in readme.md
1072ed9238ac48b6be5a7db8546103ec50a92c0d
<ide><path>README.md <ide> Files: <ide> * `dist/Chart.bundle.js` <ide> * `dist/Chart.bundle.min.js` <ide> <del>The bundled build includes Moment.js in a single file. You should use this version if you require time axes and want to include a single file. You should not use this build if your application already include...
1
PHP
PHP
add ability to pretty print response
420609a83efd0eb59b7c3643d30e7242333837cb
<ide><path>src/Illuminate/Foundation/Testing/Constraints/HasInDatabase.php <ide> public function failureDescription($table) <ide> { <ide> return sprintf( <ide> "a row in the table [%s] matches the attributes %s.\n\n%s", <del> $table, $this->toString(), $this->getAdditionalInfo($table)...
1
Ruby
Ruby
organize compiler methods
f2e076e5cc87e25602c07c030c47ecf048906176
<ide><path>Library/Homebrew/macos.rb <ide> def default_compiler <ide> end <ide> end <ide> <del> def gcc_42_build_version <del> @gcc_42_build_version ||= if File.exist? "#{dev_tools_path}/gcc-4.2" \ <del> and not Pathname.new("#{dev_tools_path}/gcc-4.2").realpath.basename.to_s =~ /^llvm/ <del> `#{de...
1
Javascript
Javascript
add test for moment#locale(false)
6307ac453a8ea440b2ee811337ea761dbd40dca2
<ide><path>test/moment/locale.js <ide> exports.locale = { <ide> m.lang("fr"); <ide> test.equal(m.locale(), "fr", "m.lang(key) changes instance locale"); <ide> <add> test.done(); <add> }, <add> <add> "moment#locale(false) resets to global locale" : function (test) { <add> var m = mom...
1
PHP
PHP
fix mail tags silently failing
faf384276ee437c556eabc1fed4c6262ce8103d2
<ide><path>src/Illuminate/View/Compilers/ComponentTagCompiler.php <ide> protected function componentString(string $component, array $attributes) <ide> // component and pass the component as a view parameter to the data so it <ide> // can be accessed within the component and we can render out the view. <...
1
Python
Python
fix use_cache value assign
07c2607d4d453e250888f14232bbccce6302fd69
<ide><path>src/transformers/models/prophetnet/modeling_prophetnet.py <ide> def forward( <ide> >>> last_hidden_states = outputs.last_hidden_state # main stream hidden states <ide> >>> last_hidden_states_ngram = outputs.last_hidden_state_ngram # predict hidden states <ide> """ <del> ...
1
Javascript
Javascript
add batch of known issue tests
10bc673123f29692b7dae5e306a155ed0210e413
<ide><path>test/known_issues/test-child-process-max-buffer.js <add>'use strict'; <add>// Refs: https://github.com/nodejs/node/issues/1901 <add>const common = require('../common'); <add>const assert = require('assert'); <add>const cp = require('child_process'); <add>const unicode = '中文测试'; // Length = 4, Byte length = 1...
5
Text
Text
add a daytime for daily stand up meetings
9004e1ce299b97192b767c41a15aa8912e410743
<ide><path>guide/english/agile/daily-standup-and-daily-scrum/index.md <ide> title: Daily Stand-Up and Daily Scrum <ide> <ide> The Daily Stand-Up (DSU) or Daily Scrum meeting is one of the integral parts of scrum methodology. <ide> <del>As the name suggests, you hold the meeting daily, at the same time and, for a co-l...
1
Javascript
Javascript
fix subsequent end calls to not throw
a4e923f5c13b80bf43ecfca4e9be483535011dbe
<ide><path>lib/internal/http2/compat.js <ide> class Http2ServerResponse extends Stream { <ide> cb = encoding; <ide> encoding = 'utf8'; <ide> } <add> if (stream === undefined || stream.finished === true) { <add> return false; <add> } <ide> if (chunk !== null && chunk !== undefined) { <ide>...
2
Java
Java
add msdn links
21e7523bd0f6cc845cf65729df9e6960b9ee38f3
<ide><path>rxjava-core/src/main/java/rx/observables/BlockingObservable.java <ide> public Iterator<T> getIterator() { <ide> * @return the first item emitted by the source {@link Observable} <ide> * @throws IllegalArgumentException <ide> * if source contains no elements <add> * @see <a href=...
1
Python
Python
handle typeerror in _generate_str for coefs
66365a57ff9b68a191fd232dc823cc2cf69d267f
<ide><path>numpy/polynomial/_polybase.py <ide> def _generate_string(self, term_method): <ide> out += " " <ide> power = str(i + 1) <ide> # Polynomial coefficient <del> if coef >= 0: <add> try: <add> if coef >= 0: <add> next_term ...
2
Python
Python
update numpy.extract docstring
5856a12a3aa3f0474bfd5b7c0c24a32b15728580
<ide><path>numpy/lib/function_base.py <ide> def extract(condition, arr): <ide> This is equivalent to ``np.compress(ravel(condition), ravel(arr))``. If <ide> `condition` is boolean ``np.extract`` is equivalent to ``arr[condition]``. <ide> <add> Note that `place` does the exact opposite of `extract`. <add> <...
1
Ruby
Ruby
use clearer variable name in examples
ced2b25036f9456212dc8d980d2c43b20f0dce2c
<ide><path>activemodel/lib/active_model/serializers/json.rb <ide> module JSON <ide> # of +as_json+. If true (the default) +as_json+ will emit a single root <ide> # node named after the object's type. For example: <ide> # <del> # konata = User.find(1) <del> # konata.as_json <add> # ...
2
Text
Text
fix wrong example of api exec
221fa4c3d11973f6b973daf26fd962554945fc68
<ide><path>docs/reference/api/docker_remote_api_v1.20.md <ide> Sets up an exec instance in a running container `id` <ide> "Tty": false, <ide> "Cmd": [ <ide> "date" <del> ], <add> ] <ide> } <ide> <ide> **Example response**: <ide> interactive session with ...
1
PHP
PHP
fix incompatible signature
e7dddf809546ddc7ca63ba868b8cc863b614ac20
<ide><path>src/Shell/Task/UnloadTask.php <ide> */ <ide> namespace Cake\Shell\Task; <ide> <add>use Cake\Console\ConsoleOptionParser; <ide> use Cake\Console\Shell; <ide> use Cake\Filesystem\File; <ide> <ide> protected function _modifyBootstrap($plugin) <ide> * <ide> * @return \Cake\Console\ConsoleOptionParse...
1
Ruby
Ruby
hide homebrew_bundle_* env vars
7c04c34a88924b1edf9268be9a3faf870b78c080
<ide><path>Library/Homebrew/system_config.rb <ide> def dump_verbose_config(f = $stdout) <ide> unless ENV["HOMEBREW_ENV"] <ide> ENV.sort.each do |key, value| <ide> next unless key.start_with?("HOMEBREW_") <add> next if key.start_with?("HOMEBREW_BUNDLE_") <ide> next if boring_ke...
1
Go
Go
move remote api client to api/
ee59ba969fdd1837fe0151638cc01637e18139c3
<add><path>api/client.go <del><path>commands.go <del>package docker <add>package api <ide> <ide> import ( <ide> "bufio" <ide> import ( <ide> "encoding/json" <ide> "errors" <ide> "fmt" <del> "github.com/dotcloud/docker/api" <ide> "github.com/dotcloud/docker/archive" <ide> "github.com/dotcloud/docker/auth" <ide> ...
3
Python
Python
fix lazy translation of listfield errors
19ca86d8d69d37d0e953837fbba1c1934d31dc75
<ide><path>rest_framework/fields.py <ide> def __init__(self, *args, **kwargs): <ide> super().__init__(*args, **kwargs) <ide> self.child.bind(field_name='', parent=self) <ide> if self.max_length is not None: <del> message = self.error_messages['max_length'].format(max_length=self.max_l...
3
Ruby
Ruby
add support for 7zip archives
32b1d46c966c790f1a04b1848ebc25b1170f5295
<ide><path>Library/Homebrew/download_strategy.rb <ide> def stage <ide> when :rar <ide> raise "You must install unrar: brew install unrar" unless which "unrar" <ide> quiet_safe_system 'unrar', 'x', {:quiet_flag => '-inul'}, @tarball_path <add> when :p7zip <add> raise "You must install 7zip: brew ...
2
PHP
PHP
apply a middleware only once
185447cbd5374770d98cf8d869996c05dcb6e09e
<ide><path>src/Illuminate/Routing/Route.php <ide> public function middleware($middleware = null) <ide> $middleware = [$middleware]; <ide> } <ide> <del> $this->action['middleware'] = array_merge( <add> $this->action['middleware'] = array_unique(array_merge( <ide> (array) Ar...
2
Ruby
Ruby
move cpu variant to sh.brew.cpu.variant
e627885e16b5ea2df0414ddc5dd6f5a44abe4d13
<ide><path>Library/Homebrew/github_packages.rb <ide> def upload_bottle(user, token, skopeo, formula_full_name, bottle_hash, dry_run:) <ide> <ide> created_date = bottle_hash["bottle"]["date"] <ide> formula_annotations_hash = { <add> "com.github.package.type" => GITHUB_PACKAGE_TYPE, <ide> ...
1
Text
Text
add v3.8.2 to changelog.md
5eca0045b4ef3606923e4b124034f6063a813b6f
<ide><path>CHANGELOG.md <ide> - [#17874](https://github.com/emberjs/ember.js/pull/17874) [BUGFIX] Fix issue with `event.stopPropagation()` in component event handlers when jQuery is disabled. <ide> - [#17876](https://github.com/emberjs/ember.js/pull/17876) [BUGFIX] Fix issue with multiple `{{action}}` modifiers on the ...
1
Python
Python
add training call argument for multiheadattention
229f1dd5a31655a810809965d6b1019e03c29362
<ide><path>official/nlp/modeling/layers/talking_heads_attention.py <ide> def _compute_attention(self, <ide> query_tensor, <ide> key_tensor, <ide> value_tensor, <del> attention_mask=None): <add> att...
1
Javascript
Javascript
use fixtures in test-process-warnings
cd64b4166b4001bdcd45ac808e2c9715956d52e1
<ide><path>test/sequential/test-process-warnings.js <ide> 'use strict'; <ide> <del>const common = require('../common'); <add>require('../common'); <add>const fixtures = require('../common/fixtures'); <ide> const assert = require('assert'); <ide> const execFile = require('child_process').execFile; <del>const warnmod = ...
1
Text
Text
update collaborator email in readme
4d47bba467f380ee16cb6e7239d530811b9c03e2
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> * [gibfahn](https://github.com/gibfahn) - <ide> **Gibson Fahnestock** &lt;gibfahn@gmail.com&gt; (he/him) <ide> * [indutny](https://github.com/indutny) - <del>**Fedor Indutny** &lt;fedor.indutny@gmail.com&gt; <add>**Fedor I...
1
Ruby
Ruby
use copy instead of export for release
cf0467c6425a528acfe2cb14709253a8a4a99b37
<ide><path>release.rb <ide> VERSION = ARGV.first <ide> PACKAGES = %w(activesupport activerecord actionpack actionmailer activeresource) <ide> <del># Checkout source <del># `rm -rf release && svn export http://dev.rubyonrails.org/svn/rails/trunk release` <add># Copy source <add>`mkdir release` <add>(PACKAGES + %w(rail...
1
Text
Text
fix small typo in 15.11.0 release
ed633f239f4a16af255d5dd21b112cf7f2f446d7
<ide><path>doc/changelogs/CHANGELOG_V15.md <ide> <ide> ### Notable Changes <ide> <del>* [[`a3e3156b52`](https://github.com/nodejs/node/commit/a3e3156b52)] - **(SEMVER-MINOR)** **crypto**: make FIPS related options always awailable (Vít Ondruch) [#36341](https://github.com/nodejs/node/pull/36341) <add>* [[`a3e3156b52`...
1
Python
Python
fix test_utils.py for python 3.7
dce7f20e95e6bd3fc07517c0b2daf3942a34ddf7
<ide><path>numpy/testing/tests/test_utils.py <ide> def test_simple(self): <ide> lambda: assert_string_equal("foo", "hello")) <ide> <ide> <del>def assert_warn_len_equal(mod, n_in_context, py3_n_in_context=None): <add>def assert_warn_len_equal(mod, n_in_context, py34=None, py37=None): <ide> ...
1
Ruby
Ruby
prefer method sensors over actual ddl changes
8037c51083c99c3f8925a6236a9969e697fab410
<ide><path>activerecord/test/cases/migration_test.rb <ide> def test_add_table_with_decimals <ide> assert_raise(ActiveRecord::StatementInvalid) { BigNumber.find(:first) } <ide> end <ide> <del> def test_migrator <del> assert !Person.column_methods_hash.include?(:last_name) <del> assert !Reminder.table_exist...
2
Ruby
Ruby
fix go_cache cleanup
9102c120bb0ab57added0ea60edcc160ce37e136
<ide><path>Library/Homebrew/cleanup.rb <ide> def nested_cache? <ide> directory? && %w[go_cache glide_home java_cache npm_cache gclient_cache].include?(basename.to_s) <ide> end <ide> <add> def go_cache_directory? <add> # Go makes its cache contents read-only to ensure cache integrity, <add> # whi...
1
Text
Text
remove changelog entry for
38bda383ee24c30e5a68db1f01c740b9d7dfad98
<ide><path>railties/CHANGELOG.md <ide> <ide> *Gabe Kopley* <ide> <del>* `Rails.version` now returns an instance of `Gem::Version` <del> <del> *Charlie Somerville* <del> <ide> * Don't generate a scaffold.css when --no-assets is specified <ide> <ide> *Kevin Glowacz*
1
Java
Java
remove unused var
888a1e63d5b0c7cd943846345754c12b1d6f1999
<ide><path>ReactAndroid/src/main/java/com/facebook/react/bridge/CatalystInstanceImpl.java <ide> public PendingJSCall( <ide> private boolean mInitialized = false; <ide> private volatile boolean mAcceptCalls = false; <ide> <del> private boolean mJSBundleHasStartedLoading; <ide> private boolean mJSBundleHasLoaded;...
1
Go
Go
remove job from commit
c8529fde5f6f2e4b62f9c1b3382fd814c11a7639
<ide><path>api/server/server.go <ide> func postCommit(eng *engine.Engine, version version.Version, w http.ResponseWrit <ide> if err := parseForm(r); err != nil { <ide> return err <ide> } <del> var ( <del> config engine.Env <del> job = eng.Job("commit", r.Form.Get("container")) <del> stdoutBuffer =...
4
Ruby
Ruby
replace if ! with unless
ea14396c455b0816e87abe424275290fc4b09b32
<ide><path>actionmailer/lib/action_mailer/old_api.rb <ide> def create_parts <ide> <ide> # If this is a multipart e-mail add the mime_version if it is not <ide> # already set. <del> @mime_version ||= "1.0" if !@parts.empty? <add> @mime_version ||= "1.0" unless @parts.empty? <ide> end...
7
Python
Python
add tuple and set to allowed listfield data types
b9316154b163ee6ecf2005f986f40f7fe7ef5bcc
<ide><path>rest_framework/fields.py <ide> from __future__ import unicode_literals <add>from sets import Set <ide> <ide> import collections <ide> import copy <ide> def to_internal_value(self, data): <ide> """ <ide> if html.is_html_input(data): <ide> data = html.parse_html_list(data) <del> ...
1
PHP
PHP
backport the better faker default
3a2cfbc2f4f59e4c602781a8a49931c487d65f55
<ide><path>database/factories/ModelFactory.php <ide> $factory->define(App\User::class, function (Faker\Generator $faker) { <ide> return [ <ide> 'name' => $faker->name, <del> 'email' => $faker->email, <add> 'email' => $faker->safeEmail, <ide> 'password' => bcrypt(str_random(10)), <ide> ...
1
Javascript
Javascript
update error message on unrecognized commands
16a97c80274ef50493b30e1b4871ba4bbae1f447
<ide><path>react-native-cli/index.js <ide> if (cli) { <ide> default: <ide> console.error( <ide> 'Command `%s` unrecognized. ' + <del> 'Did you mean to run this inside a react-native project?', <add> 'Make sure that you have run `npm install` and that you are inside a react-native project.', <ide> ...
1
Javascript
Javascript
fix typo that happened during rebasing
168da8d55782f3b34e2a6aa0c4dd0587696afdbd
<ide><path>packages/react-reconciler/src/ReactFiberWorkLoop.new.js <ide> export function isInterleavedUpdate(fiber: Fiber, lane: Lane) { <ide> // defensive coding measure in case a new update comes in between when <ide> // rendering has finished and when the interleaved updates are transferred <ide> /...
2
Ruby
Ruby
exclude template files for rdoc api [ci skip]
a77ad86ff1be70dee945e6425b3209ab8da72cd4
<ide><path>railties/lib/rails/api/task.rb <ide> class Task < RDoc::Task <ide> CHANGELOG.md <ide> MIT-LICENSE <ide> lib/**/*.rb <del> ) <add> ), <add> :exclude => 'lib/rails/generators/rails/**/templates/**/*.rb' <ide> } <ide> } <ide>
1
Python
Python
use mongodb color for mongotos3operator
cddbf9c11d092422e6695d7a5a5c859fdf140753
<ide><path>airflow/providers/amazon/aws/transfers/mongo_to_s3.py <ide> class MongoToS3Operator(BaseOperator): <ide> """ <ide> <ide> template_fields = ('s3_bucket', 's3_key', 'mongo_query', 'mongo_collection') <add> ui_color = '#589636' <ide> # pylint: disable=too-many-instance-attributes <ide> <ide> ...
1
Javascript
Javascript
use willdestroy in stead of destroy
aca371cb177d504cf844fb81b7de70578e29e611
<ide><path>packages/@ember/-internals/runtime/lib/mixins/-proxy.js <ide> export default Mixin.create({ <ide> m.writableTag(() => combine([DirtyableTag.create(), UpdatableTag.create(CONSTANT_TAG)])); <ide> }, <ide> <del> destroy() { <del> this._super(...arguments); <add> willDestroy() { <ide> this.set('c...
1
Ruby
Ruby
remove unused variable
d89a696d83cd325656e30a99cb4ba8342ffb39c9
<ide><path>Library/Homebrew/test/test_formula.rb <ide> def test_installed_alias_with_core <ide> def test_installed_alias_with_tap <ide> tap = Tap.new("user", "repo") <ide> name = "foo" <del> full_name = "#{tap.user}/#{tap.repo}/#{name}" <ide> path = "#{tap.path}/Formula/#{name}.rb" <ide> f = formul...
1
Java
Java
replace foreach with putall
2afe560e41c52c51a36314de3884416a9b1ed432
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/BindingContext.java <ide> /* <del> * Copyright 2002-2020 the original author or authors. <add> * Copyright 2002-2022 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may...
4
Javascript
Javascript
handle tick callbacks after each tick
4e5fe2d45aef5aacf4a6c6c2db28f0b9cc64f123
<ide><path>src/node.js <ide> <ide> if (domain) domain.exit(); <ide> <add> // process the nextTicks after each time we get called. <add> process._tickCallback(); <ide> return ret; <ide> }; <ide> }; <ide> var nextTickQueue = []; <ide> var nextTickIndex = 0; <ide> var inTick = fal...
3
Ruby
Ruby
remove rbx support
d4db443b1926b97660399f361e0b7a98ea24c608
<ide><path>Library/Homebrew/dependency_collector.rb <ide> class DependencyCollector <ide> # Define the languages that we can handle as external dependencies. <ide> LANGUAGE_MODULES = Set[ <del> :chicken, :jruby, :lua, :node, :ocaml, :perl, :python, :python3, :rbx, :ruby <add> :chicken, :jruby, :lua, :node, :o...
3
Text
Text
add translation kr/threejs-tips.md
a9a96cfb8af23788ac97d77176ca1842daf2e865
<ide><path>threejs/lessons/kr/threejs-tips.md <add>Title: Three.js 팁 <add>Description: Three.js를 쓸 때 필요할 수도 있는 것들 <add>TOC: # <add> <add>이 글은 Three.js의 팁에 관한 글들 중 너무 짧아 별도의 글로 분리하기 애매한 글들을 묶은 것입니다. <add> <add>--- <add> <add><a id="screenshot" data-toc="스크린샷 찍기"></a> <add> <add># 캔버스의 스크린샷 찍기 <add> <add>브라우저에서 스크린샷을 찍을 ...
1
Text
Text
update russian localization
7c186f3a501cbeb5f929a8e9184df7502bfd0741
<ide><path>curriculum/challenges/russian/06-information-security-and-quality-assurance/advanced-node-and-express/registration-of-new-users.russian.md <ide> localeTitle: Регистрация новых пользователей <ide> <ide> ## Description <ide> <section id='description'> <del>As a reminder, this project is being built upon the f...
1
PHP
PHP
add config key
44b427f771e76489db693034a1120b8b0f349dbf
<ide><path>src/Illuminate/Foundation/Console/ProviderMakeCommand.php <ide> class ProviderMakeCommand extends GeneratorCommand { <ide> */ <ide> protected $type = 'Provider'; <ide> <add> /** <add> * Set the configuration key for the namespace. <add> * <add> * @var string <add> */ <add> protected $configKey = 'pro...
1
Javascript
Javascript
reduce duplication in `alternatecs.getrgbbuffer`
c5c0a00dcad7a1372e8aa3c1a0a6c644346ba87d
<ide><path>src/core/colorspace.js <ide> var AlternateCS = (function AlternateCSClosure() { <ide> var scaled = new Float32Array(numComps); <ide> var tinted = new Float32Array(baseNumComps); <ide> var i, j; <del> if (usesZeroToOneRange) { <del> for (i = 0; i < count; i++) { <del> fo...
1
Python
Python
add default values in docs
6538c2568124fac7eb70220b06a6b13fd6823e4e
<ide><path>keras/layers/dense_attention.py <ide> class Attention(BaseDenseAttention): <ide> causal: Boolean. Set to `True` for decoder self-attention. Adds a mask such <ide> that position `i` cannot attend to positions `j > i`. This prevents the <ide> flow of information from the future towards the past...
1
Javascript
Javascript
improve parserange, add test cases
3b55455b26a933c51bed0c055c1c63aed59f45c8
<ide><path>lib/util/semver.js <ide> exports.versionLt = versionLt; <ide> */ <ide> exports.parseRange = str => { <ide> const splitAndConvert = str => { <del> return str.split(".").map(item => (`${+item}` === item ? +item : item)); <add> return str <add> .split(".") <add> .map(item => (item !== "NaN" && `${+item}...
2
Javascript
Javascript
fix failing switch e2e tests
bb09866cba11119336a5415ad79569eb4e4277e3
<ide><path>RNTester/e2e/__tests__/Switch-test.js <ide> const jestExpect = require('expect'); <ide> <ide> describe('Switch', () => { <del> beforeAll(async () => { <add> beforeEach(async () => { <ide> await device.reloadReactNative(); <ide> await element(by.id('explorer_search')).replaceText('<Switch>'); <ide>...
1
PHP
PHP
use facade so we dont break the signature
66ce56a6605136110aeac3946020c8f55fbd4b65
<ide><path>src/Illuminate/Foundation/Auth/ResetsPasswords.php <ide> public function getReset($token = null) <ide> * <ide> * If no token is present, display the link request form. <ide> * <del> * @param string|null $token <ide> * @param \Illuminate\Http\Request $request <add> * @param st...
1
Python
Python
fix infixes in spanish and portuguese
41a4766c1c4b86f07a8cd2a038b2848329b1ae5e
<ide><path>spacy/es/language_data.py <ide> '''.strip().split('\n') <ide> <ide> <del>TOKENIZER_INFIXES = tuple() <add>TOKENIZER_INFIXES = (r'''\.\.\.+ (?<=[a-z])\.(?=[A-Z]) (?<=[a-zA-Z])-(?=[a-zA-z]) ''' <add> r'''(?<=[a-zA-Z])--(?=[a-zA-z]) (?<=[0-9])-(?=[0-9]) ''' <add> r'''(?...
2
Ruby
Ruby
add action view to active model api documentation
b970ade2520de0ae9723ba35b6b2038991610c24
<ide><path>activemodel/lib/active_model/model.rb <ide> module ActiveModel <ide> # == Active \Model \Basic \Model <ide> # <ide> # Includes the required interface for an object to interact with <del> # Action Pack, using different Active Model modules. <add> # Action Pack and Action View, using different Active M...
1
Python
Python
add algorithm for creating hamming numbers
b3d9281591df03768fe062cc0517ee0d4cc387f0
<ide><path>maths/hamming_numbers.py <add>""" <add>A Hamming number is a positive integer of the form 2^i*3^j*5^k, for some <add>non-negative integers i, j, and k. They are often referred to as regular numbers. <add>More info at: https://en.wikipedia.org/wiki/Regular_number. <add>""" <add> <add> <add>def hamming(n_eleme...
1
Javascript
Javascript
add react.timeout to getcomponentname
fe747a51c1fdedd87c4e9e281441f2d8d04e02b3
<ide><path>packages/shared/getComponentName.js <ide> import { <ide> REACT_PROFILER_TYPE, <ide> REACT_PROVIDER_TYPE, <ide> REACT_STRICT_MODE_TYPE, <add> REACT_TIMEOUT_TYPE, <ide> } from 'shared/ReactSymbols'; <ide> <ide> function getComponentName(fiber: Fiber): string | null { <ide> function getComponentName(fib...
1
Javascript
Javascript
add test case for issue 12993
3b65860614a10b7ac1209e0a947d4693c84537f2
<ide><path>test/configCases/issues/issue-12993/dynamic.js <add>export default "dynamic"; <ide><path>test/configCases/issues/issue-12993/index.js <add>import(/* webpackPrefetch: true */ "./dynamic.js"); <add> <add>export const main = "main"; <add> <add>it("library output should be accurate value", done => { <add> expect...
3
Text
Text
fix markdown formatting
c718eb282b2d0d9479e566f1d8c3dd856eee8334
<ide><path>README.md <ide> are VMWare's vmdk, Oracle Virtualbox's vdi, and Amazon EC2's ami. In theory thes <ide> automatically package their application into a "machine" for easy distribution and deployment. In practice, that almost never <ide> happens, for a few reasons: <ide> <del> * *Size*: VMs are very large whic...
1
Text
Text
add solution to accessibility challenge
0a2aa3dcfa0e232e52c2dd4269fc0753b734eb0c
<ide><path>curriculum/challenges/english/01-responsive-web-design/applied-accessibility/standardize-times-with-the-html5-datetime-attribute.english.md <ide> tests: <ide> ## Solution <ide> <section id='solution'> <ide> <del>```js <del>// solution required <add>```html <add><body> <add> <header> <add> <h1>Tournament...
1
Text
Text
fix deprecation number
1bd32087eee4b7fc59732aeb6e1003737ac98f07
<ide><path>doc/api/deprecations.md <ide> Use [`asyncResource.runInAsyncScope()`][] API instead which provides a much <ide> safer, and more convenient, alternative. See <ide> https://github.com/nodejs/node/pull/18513 for more details. <ide> <del><a id="DEP0098"></a> <del>### DEP0098: async context-unaware node::MakeCal...
1
Javascript
Javascript
fix ability to add child after closure compiled
93f8737fc79bb571d1b4595c4f952f078f2458b5
<ide><path>src/js/component.js <ide> vjs.Component.prototype.addChild = function(child, options){ <ide> <ide> // Add the UI object's element to the container div (box) <ide> // Having an element is not required <del> if (typeof component.el === 'function' && component.el()) { <del> this.el_.appendChild(compone...
1
Python
Python
send task_id and task_name to kwargs of task
a806fdd6ea8bc8142c80275a5eab09be47aaba16
<ide><path>celery/worker.py <ide> from celery.log import setup_logger <ide> from celery.registry import tasks <ide> from celery.process import ProcessQueue <del>from celery.models import PeriodicTaskMeta <add>from celery.models import RetryTask, PeriodicTaskMeta <ide> import multiprocessing <ide> import simplejson <ide...
1
Java
Java
support "accept-patch" for unsupported media type
a2d91a562de7ab3e0d4ccbe2b1dbadb8f5324156
<ide><path>spring-web/src/main/java/org/springframework/web/server/UnsupportedMediaTypeStatusException.java <ide> /* <del> * Copyright 2002-2018 the original author or authors. <add> * Copyright 2002-2021 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <...
8
Text
Text
fix typo in worker_threads.md
0577fe3f2690bff0f7cf1a60613cdc3d50b59e4a
<ide><path>doc/api/worker_threads.md <ide> Depending on how a `Buffer` instance was created, it may or may <ide> not own its underlying `ArrayBuffer`. An `ArrayBuffer` must not <ide> be transferred unless it is known that the `Buffer` instance <ide> owns it. In particular, for `Buffer`s created from the internal <del>`...
1
Text
Text
fix broken link
3851d9065fd2cdf4b3dbef4a11667e4a224a5113
<ide><path>docs/api-reference/next/server.md <ide> description: Learn about the server-only helpers for Middleware and Edge API Rou <ide> <ide> The `NextRequest` object is an extension of the native [`Request`](https://developer.mozilla.org/en-US/docs/Web/API/Request) interface, with the following added methods and pr...
1
Java
Java
promote lift implementations to top-level types.
c0e12e5f75d64e0cf65d5c8680b67e240a432dfd
<ide><path>src/main/java/io/reactivex/Flowable.java <ide> public final Flowable<T> doOnLifecycle(final Consumer<? super Subscription> onSu <ide> Objects.requireNonNull(onSubscribe, "onSubscribe is null"); <ide> Objects.requireNonNull(onRequest, "onRequest is null"); <ide> Objects.requireNonNull(...
6
Java
Java
fix concurrentmodificationexception on undertow
2950958f35de1a6d5a265017c5111f640b9887aa
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/function/DefaultServerRequest.java <ide> import java.util.ArrayList; <ide> import java.util.Arrays; <ide> import java.util.Collections; <del>import java.util.Enumeration; <ide> import java.util.List; <ide> import java.util.Locale; <ide> import java....
1
Javascript
Javascript
require externals plugin for node-webkit target
bbc46a6c0bb9ab0231937921d6365eb9c7284e37
<ide><path>lib/WebpackOptionsApply.js <ide> WebpackOptionsApply.prototype.process = function(options, compiler) { <ide> case "node-webkit": <ide> var JsonpTemplatePlugin = require("./JsonpTemplatePlugin"); <ide> var NodeTargetPlugin = require("./node/NodeTargetPlugin"); <add> var ExternalsPlugin = require("./...
1
Text
Text
add nodejs logo to guide
ea1f5c63bed30cdeffc931c955d716cd55669582
<ide><path>guide/english/nodejs/index.md <ide> --- <ide> title: Node.js <ide> --- <add> <add><img src="https://nodejs.org/static/images/logos/nodejs-new-pantone-black.png" height="123" width="201"> <add> <add> <ide> ## Node.js <ide> <ide> Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js ...
1
Javascript
Javascript
use the new naming format for snapshots on macos
6b696d632941c18a683d01eaf0bf3dc38daf6ca7
<ide><path>script/lib/generate-startup-snapshot.js <ide> module.exports = function(packagedAppPath) { <ide> <ide> const snapshotBinaries = ['v8_context_snapshot.bin', 'snapshot_blob.bin']; <ide> for (let snapshotBinary of snapshotBinaries) { <del> const destinationPath = path.join( <add> let destinat...
1
Text
Text
remove extraneous line
06e1b218c990a681dba65a623f15cdb27f188a32
<ide><path>docs/how-to-translate-files.md <ide> The translation workflow is split into two main activities: <ide> <ide> - **Translating** curriculum files, documentation and UI elements like buttons, labels, etc.: <ide> <del> As a translator you can sign up on [our translation platform](https://translate.freecodecam...
1
Ruby
Ruby
add cleanup test
61614d35294c8faffaeb5c7f0ec6dea78dbbc30f
<ide><path>Library/Homebrew/test/test_integration_cmds.rb <ide> def test_cellar_formula <ide> cmd("--cellar", testball) <ide> end <ide> <add> def test_cleanup <add> assert_equal HOMEBREW_CACHE.to_s, <add> cmd("cleanup") <add> end <add> <ide> def test_env <ide> assert_match...
1
Javascript
Javascript
improve js logging
8b2e79dc68c555ce9cdc874372a3e71ef1ba42ae
<ide><path>packager/react-packager/src/DependencyResolver/haste/polyfills/console.js <ide> 'use strict'; <ide> <ide> var OBJECT_COLUMN_NAME = '(index)'; <add> var LOG_LEVELS = { <add> trace: 0, <add> log: 1, <add> info: 2, <add> warn: 3, <add> error: 4 <add> }; <ide> <ide> function setupConsole...
1
PHP
PHP
address feedback from review
62314dcbb700d3c085efebc9ff6d0ffe96f15794
<ide><path>src/Core/functions.php <ide> function deprecationWarning($message, $stackFrame = 2) <ide> if (!(error_reporting() & E_USER_DEPRECATED)) { <ide> return; <ide> } <add> <ide> $trace = debug_backtrace(); <ide> if (isset($trace[$stackFrame])) { <ide> $frame ...
2
Javascript
Javascript
add todo about broken check
548ba83d7ec9fbf2485a3a8d83f6534670e09ffa
<ide><path>Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js <ide> function setUpCollections(): void { <ide> function setUpDevTools(): void { <ide> if (__DEV__) { <ide> // not when debugging in chrome <add> // TODO(t12832058) This check is broken <ide> if (!window.document) { <i...
1
Go
Go
improve gettimestamp parsing
48cfe3f0872647bf0f52e6ba65022e1859e808e8
<ide><path>api/types/time/timestamp.go <ide> func GetTimestamp(value string, reference time.Time) (string, error) { <ide> } <ide> <ide> if err != nil { <del> // if there is a `-` then it's an RFC3339 like timestamp otherwise assume unixtimestamp <add> // if there is a `-` then it's an RFC3339 like timestamp <ide> ...
6
Go
Go
prefer windows over linux in a manifest list
ddcdb7255d960a4b2049439245a4f887b26af891
<ide><path>distribution/pull_v2_windows.go <ide> func filterManifests(manifests []manifestlist.ManifestDescriptor, p specs.Platfo <ide> if (manifestDescriptor.Platform.Architecture == runtime.GOARCH) && <ide> ((p.OS != "" && manifestDescriptor.Platform.OS == p.OS) || // Explicit user request for an OS we know we s...
1
Ruby
Ruby
make variable names consistent with other code
ab0368cb3422648ed38d7d4dee183f3dd7dc66bb
<ide><path>Library/Homebrew/cmd/test-bot.rb <ide> def single_commit? start_revision, end_revision <ide> end <ide> end <ide> <del> def skip formula <del> puts "#{Tty.blue}==>#{Tty.white} SKIPPING: #{formula}#{Tty.reset}" <add> def skip formula_name <add> puts "#{Tty.blue}==>#{Tty.white} SKIPPI...
1
PHP
PHP
fix double encoding in jshelper request methods
75f654b87bc91286baae58eb89f3f5d04cf20e13
<ide><path>lib/Cake/Test/Case/View/Helper/JqueryEngineHelperTest.php <ide> public function testRequest() { <ide> $this->assertEquals($expected, $result); <ide> } <ide> <add>/** <add> * Test that querystring arguments are not double escaped. <add> * <add> * @return void <add> */ <add> public function testRequestWith...
4
Ruby
Ruby
create the tmpdir under test
e201b9d45514c310b8194b3f0d9b8d5d711a1216
<ide><path>activesupport/test/file_update_checker_with_enumerable_test_cases.rb <ide> def touch(files) <ide> end <ide> <ide> def setup <del> @tmpdir = Dir.mktmpdir <add> @tmpdir = Dir.mktmpdir(nil, __dir__) <ide> <ide> @files = %w(foo.rb bar.rb baz.rb).map {|f| "#{@tmpdir}/#{f}"} <ide> FileUtils.tou...
1