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
Go
Go
make test work with rootless mode
e6591a9c7abf8bfef8e8c4f1f560c13acf342f4a
<ide><path>integration/container/daemon_linux_test.go <ide> func TestRestartDaemonWithRestartingContainer(t *testing.T) { <ide> defer d.Cleanup(t) <ide> <ide> d.StartWithBusybox(t, "--iptables=false") <del> defer d.Kill() <add> defer d.Stop(t) <ide> <ide> ctx := context.Background() <ide> client := d.NewClientT(t...
1
Javascript
Javascript
fix java classpath on windows
6e1b64176f91ef6049cd03dc666554b7e04a9000
<ide><path>lib/grunt/utils.js <ide> module.exports = { <ide> <ide> <ide> min: function(file, done) { <add> var classPathSep = (process.platform === "win32") ? ';' : ':'; <ide> var minFile = file.replace(/\.js$/, '.min.js'); <ide> var mapFile = minFile + '.map'; <ide> var mapFileName = mapFile.match(/...
1
Text
Text
remove local installation instructions
7dad182ed1f457258d9fd6f7a10e880669d8a268
<ide><path>share/doc/homebrew/Bottles.md <ide> If a bottle is available and usable it will be downloaded and poured automatical <ide> <ide> Bottles will not be used if the user requests it (see above), if the formula requests it (with `pour_bottle?`), if any options are specified on installation (bottles are all compi...
1
PHP
PHP
add count() and improve one() to resultset
862b2a2dc3815ed11d7fa95cdf99d84e45902957
<ide><path>Cake/ORM/ResultSet.php <ide> <ide> use Cake\Database\Exception; <ide> use Cake\Database\Type; <add>use \Countable; <ide> use \Iterator; <ide> use \JsonSerializable; <ide> use \Serializable; <ide> * queries required for eager loading external associations. <ide> * <ide> */ <del>class ResultSet implements ...
2
Javascript
Javascript
add configuration tab to aggrow
286b56fbd0852595c95a73212a520b8a0b53203a
<ide><path>local-cli/server/middleware/heapCapture/out/heapCapture.js <ide> var agData=this.data; <ide> var agNumRows=agData.length/numFields; <ide> var ag=new aggrow(agStrings,agStacks,agNumRows); <ide> <del>var idExpander=ag.addFieldExpander('Id', <add>ag.addFieldExpander('Id', <ide> function getId(row){ <ide> var i...
4
Java
Java
remove addressed todo
2fcab44de08bd09159fb7adea2531b16dea3e69b
<ide><path>org.springframework.beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java <ide> else if (propValue instanceof Map) { <ide> } <ide> // Pass full property name and old value in here, since we want full <ide> // conversion ability for map values. <del> // TODO method parameter nestin...
1
Javascript
Javascript
remove workaround for chrome bug fixed in v50
c3d5cc50cc929b06a22eea3dff699b28de6e798e
<ide><path>src/ng/compile.js <ide> function $CompileProvider($provide, $$sanitizeUriProvider) { <ide> compileNode = $compileNode[0]; <ide> replaceWith(jqCollection, sliceArgs($template), compileNode); <ide> <del> // Support: Chrome < 50 <del> // https://github.com/angular/...
1
Ruby
Ruby
improve test descriptions
174645fb9576c805c4900b1ff42aaf4174567a18
<ide><path>Library/Homebrew/test/rubocops/caveats_spec.rb <ide> describe RuboCop::Cop::FormulaAudit::Caveats do <ide> subject(:cop) { described_class.new } <ide> <del> context "When auditing caveats" do <del> it "When there is setuid mentioned in caveats" do <add> context "when auditing `caveats`" do <add> i...
6
Python
Python
use absolute import
b6f2dae92144087e924d54c67d65f660f13e6f48
<ide><path>numpy/add_newdocs.py <ide> # If you update these docstrings, please keep also the ones in <ide> # core/fromnumeric.py, core/defmatrix.py up-to-date. <ide> <del>from lib import add_newdoc <add>from numpy.lib import add_newdoc <ide> <ide> ##########################################################...
1
Javascript
Javascript
remove _tostring, always use name_key
f8f259a2e3c1d1c67207acd4027669185287c1db
<ide><path>packages/container/lib/container.js <del>import { dictionary, symbol, setOwner, OWNER } from 'ember-utils'; <add>import { dictionary, symbol, setOwner, OWNER, NAME_KEY } from 'ember-utils'; <ide> import { ENV } from 'ember-environment'; <ide> import { assert, deprecate, runInDebug } from 'ember-metal'; <ide>...
12
Javascript
Javascript
extract conditionpromise into async-spec-helpers
82f0003302a3b9ddf2f3993066ccb191442d9ee2
<ide><path>spec/async-spec-helpers.js <ide> export function afterEach (fn) { <ide> } <ide> }) <ide> <add>export function conditionPromise (condition) { <add> const timeoutError = new Error("Timed out waiting on condition") <add> Error.captureStackTrace(timeoutError, conditionPromise) <add> <add> return new Promi...
2
Text
Text
fix typo in `technical-priorities.md`
ccb8aae3932c13f33622203b2ffc5a33120e9d40
<ide><path>doc/contributing/technical-priorities.md <ide> project work towards well understood and defined processes for observing <ide> the behavior of Node.js applications as well as ensuring there are well <ide> supported tools to implement those processes (logging, metrics and tracing). <ide> This includes support ...
1
Javascript
Javascript
add support for linking scoped packages
6d65e8b4eded20512c3e76f31aa9dca9ce490b4a
<ide><path>local-cli/core/index.js <ide> const defaultRNConfig = { <ide> getDependencyConfig(packageName: string) { <ide> const platforms = this.getPlatformConfig(); <ide> const folder = path.join(process.cwd(), 'node_modules', packageName); <del> const rnpm = getRNPMConfig( <del> path.join(process.cw...
3
Python
Python
fix parser tests
f014138c1110e7dedef40ae9887a6589f0a06156
<ide><path>spacy/tests/parser/test_neural_parser.py <ide> def parser(vocab, arc_eager): <ide> <ide> @pytest.fixture <ide> def model(arc_eager, tok2vec): <del> return Parser.Model(arc_eager.n_moves, token_vector_width=tok2vec.nO) <add> return Parser.Model(arc_eager.n_moves, token_vector_width=tok2vec.nO)[0] <ide>...
1
Javascript
Javascript
remove unused var+operations in util.inspect
8eaa1ac46306c429ae40a02de79bdafd35f0867d
<ide><path>lib/util.js <ide> function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { <ide> <ide> <ide> function reduceToSingleString(output, base, braces) { <del> var numLinesEst = 0; <ide> var length = output.reduce(function(prev, cur) { <del> numLinesEst++; <del> if (cur.indexOf('\n') ...
1
Ruby
Ruby
add commit method to share option normalization
379ddf54c00723c816b0dd4aa78d0cd47f159772
<ide><path>actionpack/lib/action_dispatch/middleware/cookies.rb <ide> def initialize(parent_jar) <ide> def [](name) <ide> @parent_jar[name.to_s] <ide> end <del> end <ide> <del> class PermanentCookieJar < AbstractCookieJar # :nodoc: <ide> def []=(name, options) <ide> if options.i...
1
Javascript
Javascript
fix bugs in remove & data
bb5a6d06ccc3f13abc10bd7e15ab23f6ee3587a5
<ide><path>d3.js <ide> function d3_selection(groups) { <ide> for (i = 0; i < n; i++) { <ide> key = join.call(node = group[i], node.__data__, i); <ide> if (key in nodeByKey) { <del> exitNodes[j++] = group[i]; <add> exitNodes[j++] = group[i]; // duplicate key <ide> ...
3
Javascript
Javascript
rename the sh commands in the bin folder
3711c525a89787ce953e6c3c2c414e2fdf567433
<ide><path>src/main-process/squirrel-update.js <ide> const spawnUpdate = (args, callback) => <ide> const addCommandsToPath = callback => { <ide> const atomCmdName = execName.replace('.exe', '.cmd'); <ide> const apmCmdName = atomCmdName.replace('atom', 'apm'); <add> const atomShName = execName.replace('.exe', ''); ...
1
Javascript
Javascript
ensure require.main for cjs top-level loads
8ee604ca71dfa459ec2fe00495aeb51e12a20af1
<ide><path>lib/internal/modules/esm/loader.js <ide> class Loader { <ide> loaderInstance = translators.get(format); <ide> } <ide> <del> let inspectBrk = false; <del> if (process._breakFirstLine) { <del> delete process._breakFirstLine; <del> inspectBrk = true; <del> } <del> job = new Modu...
4
Ruby
Ruby
add missing require to try
c82b3a8104c20f2f46a12159a8d1f7782944bf80
<ide><path>activesupport/lib/active_support/core_ext/date_and_time/calculations.rb <add>require 'active_support/core_ext/object/try' <add> <ide> module DateAndTime <ide> module Calculations <ide> DAYS_INTO_WEEK = {
1
Text
Text
improve fields docs
3906ff0df5d1972a7226a4fdd0eebce9a026befa
<ide><path>docs/api-guide/fields.md <ide> Serializer fields handle converting between primative values and internal dataty <ide> <ide> **Note:** The serializer fields are declared in fields.py, but by convention you should import them using `from rest_framework import serializers` and refer to fields as `serializers.<...
1
Python
Python
remove boilerplate comments and unused variables
6752e9c737f87d196c10dc9742d6d8a18dbe14f3
<ide><path>sorts/cycle_sort.py <ide> def cycle_sort(array: list) -> list: <ide> >>> cycle_sort([]) <ide> [] <ide> """ <del> ans = 0 <add> array_len = len(array) <add> for cycle_start in range(0, array_len - 1): <add> item = array[cycle_start] <ide> <del> # Pass through the array to find ...
1
Go
Go
add chroot driver for testing
8e0741f5e40d107780a5be1f6ae0f4d30ba43d7d
<ide><path>container.go <ide> func (container *Container) Start() (err error) { <ide> } <ide> <ide> container.process = &execdriver.Process{ <del> ID: container.ID, <del> Privileged: container.hostConfig.Privileged, <del> Rootfs: root, <del> InitPath: "/.dockerinit", <del> Entrypoint: container.Pa...
6
PHP
PHP
move body serialization into the request
2e5201523d914d2102b06015902272955bfc1d8b
<ide><path>src/Http/Client/Adapter/Stream.php <ide> protected function _buildContext(Request $request, $options) <ide> protected function _buildHeaders(Request $request, $options) <ide> { <ide> $headers = []; <del> foreach ($request->headers() as $name => $value) { <del> $headers[] = "...
4
PHP
PHP
change typeboolean from tinyint to bit
3e8cc405eb4965966bfa85af9c583dff0b8158cd
<ide><path>src/Illuminate/Database/Schema/Grammars/SqlServerGrammar.php <ide> protected function typeDecimal(Fluent $column) <ide> */ <ide> protected function typeBoolean(Fluent $column) <ide> { <del> return 'tinyint'; <add> return 'bit'; <ide> } <ide> <ide> /**
1
Ruby
Ruby
fix strict loading on validations
bda9bc013b631af2e7dba3e20474f78a561610d6
<ide><path>activerecord/lib/active_record/associations/association.rb <ide> def create!(attributes = nil, &block) <ide> <ide> private <ide> def find_target <del> if owner.strict_loading? <add> if owner.strict_loading? && owner.validation_context.nil? <ide> Base.strict_loadin...
3
Python
Python
fix init_model if there's no vocab (closes )
8718ca8b1f173ebf1d710b1a463226526a8f9d8d
<ide><path>spacy/cli/init_model.py <ide> ftfy = None <ide> <ide> <add>DEFAULT_OOV_PROB = -20 <ide> msg = Printer() <ide> <ide> <ide> def open_file(loc): <ide> <ide> <ide> def read_attrs_from_deprecated(freqs_loc, clusters_loc): <del> with msg.loading("Counting frequencies..."): <del> probs, oov_prob...
1
Ruby
Ruby
set developer in env rather than stubbing
0c1d665568875ffccb660a65ff248b7ab98ec77c
<ide><path>Library/Homebrew/test/audit_test.rb <ide> def test_audit_class_github_gist_formula <ide> needs_compat <ide> require "compat/formula_specialties" <ide> <del> ARGV.stubs(:homebrew_developer?).returns false <add> ENV.delete("HOMEBREW_DEVELOPER") <ide> fa = shutup do <ide> formula_audito...
3
Text
Text
correct small english typo
2d450bd4e6a938cb2f724db5ff2f150eebd3a348
<ide><path>curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/serialization-of-a-user-object.md <ide> Serialization and deserialization are important concepts in regards to authentic <ide> <ide> To set this up properly, we need to have a serialize function and a deserialize function. In Passp...
1
PHP
PHP
add trait usepusherchannelsnames
30ebb1b80521efca6c65b3921bfd725d6c628b6f
<ide><path>src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php <ide> <ide> class PusherBroadcaster extends Broadcaster <ide> { <add> use UsePusherChannelsNames; <add> <ide> /** <ide> * The Pusher SDK instance. <ide> * <ide> public function getPusher() <ide> { <ide> return $this-...
3
Javascript
Javascript
fix bug in fs module autocompletion
2f497a67ad8797e89944d484b2e156fc1d6652f3
<ide><path>lib/repl.js <ide> function complete(line, callback) { <ide> d.name.startsWith(baseName)) <ide> .map((d) => d.name); <ide> completionGroups.push(filteredValue); <del> completeOn = filePath; <add> completeOn = baseName; <ide> } catch {} <ide> } <ide> <ide><p...
2
Javascript
Javascript
remove prefs.js file
27170ff858856e0913db68d1169f4307f65777c7
<ide><path>test/resources/firefox/prefs.js <del>user_pref("browser.shell.checkDefaultBrowser", false); <del>user_pref('extensions.autoDisableScopes', 14);
1
Go
Go
add output of integer argument
627839072c7f52a9fa4fe4e26f3e43a74481f998
<ide><path>pkg/mflag/example/example.go <ide> func main() { <ide> fmt.Printf("s/#hidden/-string: %s\n", str) <ide> fmt.Printf("b: %t\n", b) <ide> fmt.Printf("-bool: %t\n", b2) <add> fmt.Printf("-integer/-number: %d\n", i) <ide> fmt.Printf("s/#hidden/-string(via lookup): %s\n", flag.Lookup("s").Value.String()) ...
1
Text
Text
fix broken anchors markdown files
7640ba4e8ee239d6e2bbf950d53d624b9df93059
<ide><path>airflow/providers/apache/beam/README.md <ide> Release: 1.0.0 <ide> <ide> - [Provider package](#provider-package) <ide> - [Installation](#installation) <del>- [PIP requirements](#pip-requirements) <ide> - [Cross provider package dependencies](#cross-provider-package-dependencies) <ide> - [Provider class summ...
3
Ruby
Ruby
remove dead code
f233598d2da773c2024cbe62a199ddc70d9fd7a1
<ide><path>actionview/lib/action_view/digestor.rb <ide> module ActionView <ide> class Digestor <ide> cattr_reader(:cache) <ide> @@cache = Concurrent::Map.new <del> @@digest_monitor = Monitor.new <add> @@digest_mutex = Mutex.new <ide> <ide> class PerRequestDigestCacheExpiry < Struct.new(:...
1
PHP
PHP
use datetime objects internally
ed64d098454f94608633e2cb8bdc4b4b9d07d1e6
<ide><path>src/Http/Cookie/Cookie.php <ide> use Cake\Chronos\Chronos; <ide> use Cake\Utility\Hash; <ide> use DateTimeInterface; <add>use DateTimeImmutable; <add>use DateTimezone; <ide> use InvalidArgumentException; <ide> use RuntimeException; <ide> <ide> class Cookie implements CookieInterface <ide> /** <ide> ...
5
Javascript
Javascript
use template literal in error message
a26c1bfac90985ddae503605c3aa9c9e43f75ead
<ide><path>tools/doc/generate.js <ide> function next(er, input) { <ide> break; <ide> <ide> default: <del> throw new Error('Invalid format: ' + format); <add> throw new Error(`Invalid format: ${format}`); <ide> } <ide> }
1
Javascript
Javascript
remove runloop from abstract click helper
9208dd1ae96fc23b52e55f656981cc6d99b59e0d
<ide><path>packages/internal-test-helpers/lib/test-cases/abstract.js <ide> export default class AbstractTestCase { <ide> } <ide> <ide> click(selector) { <del> this.runTask(() => this.$(selector).click()); <add> return this.$(selector).click(); <ide> } <ide> <ide> textValue() {
1
Ruby
Ruby
fix select_tag to have the same behavior of select
c5d54be746473ce5610e5e6de51f6b9d2495c935
<ide><path>actionpack/lib/action_view/helpers/form_tag_helper.rb <ide> def form_tag(url_for_options = {}, options = {}, *parameters_for_url, &block) <ide> # ==== Options <ide> # * <tt>:multiple</tt> - If set to true the selection will allow multiple choices. <ide> # * <tt>:disabled</tt> - If set to tr...
2
Java
Java
add equals/hashcode for stomp subscription
f219680d42e4ccb80fefd3e72ef848bfc9ab5488
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/broker/DefaultSubscriptionRegistry.java <ide> public Expression getSelectorExpression() { <ide> return this.selectorExpression; <ide> } <ide> <add> @Override <add> public boolean equals(Object other) { <add> if (this == other) { <add...
1
Python
Python
remove unnecessary use of fusedlayernorm in xlnet
1dea291a0243ad0f17abb9b7bd6ddecdf6fbe516
<ide><path>transformers/modeling_xlnet.py <ide> def swish(x): <ide> ACT2FN = {"gelu": gelu, "relu": torch.nn.functional.relu, "swish": swish} <ide> <ide> <del>try: <del> from apex.normalization.fused_layer_norm import FusedLayerNorm as XLNetLayerNorm <del>except (ImportError, AttributeError) as e: <del> logger....
1
Ruby
Ruby
add documentation for [skip ci]
aa7690560525f1eb6e5d303ce59d742581517da8
<ide><path>actionpack/lib/action_dispatch/http/filter_parameters.rb <ide> module ActionDispatch <ide> module Http <ide> # Allows you to specify sensitive parameters which will be replaced from <ide> # the request log by looking in the query string of the request and all <del> # sub-hashes of the params has...
1
Text
Text
fix a typo
ac00e849fd9233ae04550d32bb37bb9f041aef4c
<ide><path>docs/docs/optimizing-performance.md <ide> Remember that you only need to do this for production builds. You shouldn't appl <ide> <ide> ### Rollup <ide> <del>For the most efficient Browserify production build, install a few plugins: <add>For the most efficient Rollup production build, install a few plugins:...
1
Text
Text
add missing translation to portuguese
ee5d130f04c3ac20e65fadcf4ee934bf7c4e8e7f
<ide><path>curriculum/challenges/portuguese/03-front-end-libraries/react/create-a-react-component.portuguese.md <ide> class MyComponent extends React.Component { <ide> super(props); <ide> } <ide> render() { <del> // change code below this line <add> // Mude o código depois dessa linha <ide> <ide> <del> ...
1
Python
Python
rewrite shape normalization in pad function
a4b96ad7649281de2c3a41292fcbab4c77c0743d
<ide><path>numpy/lib/arraypad.py <ide> def _pad_wrap(arr, pad_amt, axis=-1): <ide> return np.concatenate((wrap_chunk1, arr, wrap_chunk2), axis=axis) <ide> <ide> <del>def _normalize_shape(ndarray, shape, cast_to_int=True): <add>def _as_pairs(x, ndim, as_index=False): <ide> """ <del> Private function which d...
2
PHP
PHP
improve request uri detection
f6ea58ed96fc76eeb0439db3b7e1aea7d61b3bbb
<ide><path>laravel/request.php <ide> public static function uri() <ide> $uri = substr($uri, strlen($base)); <ide> } <ide> <del> if (strpos($uri, '/index.php') === 0) <add> $index = '/'.Config::$items['application']['index']; <add> <add> if (trim($index) !== '' and strpos($uri, $index) === 0) <ide> { <del> ...
1
PHP
PHP
simplify check for reverse phpunit aliases
54bb7ebfdb57873166774383306028879c00b873
<ide><path>tests/phpunit_aliases.php <ide> trigger_error(sprintf('Your PHPUnit Version must be at least 5.7.0 to use CakePHP Testsuite, found %s', \PHPUnit_Runner_Version::id()), E_USER_ERROR); <ide> } <ide> <del> if (!interface_exists('PHPUnit_Framework_Test') && class_exists('PHPUnit_Framework_TestCas...
1
Javascript
Javascript
return concrete file paths to the client
30cca276faebb7d7e35c10366f8ba00ef7aad188
<ide><path>packager/react-packager/src/AssetServer/__tests__/AssetServer-test.js <ide> describe('AssetServer', () => { <ide> type: 'png', <ide> name: 'b', <ide> scales: [1, 2, 4, 4.5], <add> files: [ <add> '/root/imgs/b@1x.png', <add> '/root/imgs/b@2x.png', <...
3
Text
Text
simplify process.binding() deprecation message
7d27f0e9d0570696962c301c08080396829c487f
<ide><path>doc/api/deprecations.md <ide> changes: <ide> <ide> Type: Documentation-only <ide> <del>The `process.binding()` API is intended for use by Node.js internal code <del>only. Use of `process.binding()` by userland code is unsupported. <add>`process.binding()` is for use by Node.js internal code only. <ide> <i...
1
PHP
PHP
revert a typehint
cb77b437e01eb4b9575ab751723725aa455e61cb
<ide><path>src/Event/Event.php <ide> class Event <ide> * <ide> * @param string $name Name of the event <ide> * @param object|null $subject the object that this event applies to (usually the object that is generating the event) <del> * @param array|null $data any value you wish to be transported with ...
1
Javascript
Javascript
use new config internally in metro
aaf797ad67b965f64450b199c554c65ad8dad351
<ide><path>local-cli/bundle/buildBundle.js <ide> const Server = require('metro/src/Server'); <ide> <ide> /* $FlowFixMe(site=react_native_oss) */ <ide> const outputBundle = require('metro/src/shared/output/bundle'); <del>const {convert} = require('metro-config'); <ide> const path = require('path'); <ide> const saveAsse...
3
Ruby
Ruby
remove unused homebrew_build_bottle
674259d691ef2380595539d0387030892e215917
<ide><path>Library/Homebrew/extend/ARGV.rb <ide> def build_universal? <ide> end <ide> <ide> def build_bottle? <del> include?("--build-bottle") || !ENV["HOMEBREW_BUILD_BOTTLE"].nil? <add> include?("--build-bottle") <ide> end <ide> <ide> def bottle_arch
1
Python
Python
use six for urlopen
268347eb11ab6cce0504ca7deeaa490766af0cc7
<ide><path>samples/outreach/blogs/Blog_Custom_Estimators.py <ide> import os <ide> import sys <ide> <del>if sys.version_info < (3, 0, 0): <del> from urllib import urlopen <del>else: <del> from urllib.request import urlopen <add>import six.moves.urllib.request as request <ide> <ide> tf.logging.set_verbosity(tf.lo...
1
Ruby
Ruby
fix database.yml merging
4a68792df7f2cecf9e6d9ddb18dfe761f553eb2a
<ide><path>activerecord/lib/active_record/database_configurations.rb <ide> def self.configs_for(env, configs = ActiveRecord::Base.configurations, &blk) # : <ide> # Given an env, spec and config creates DatabaseConfig structs with <ide> # each attribute set. <ide> def self.walk_configs(env_name, spec_name, c...
1
Python
Python
add regression test for issue 2179
899f1cf44212956ee6bfbb8377aa85ebd251edf2
<ide><path>spacy/tests/regression/test_issue2179.py <add>'''Test that spurious 'extra_labels' aren't created when initializing NER.''' <add>import pytest <add>from ... import blank <add> <add>@pytest.mark.xfail <add>def test_issue2179(): <add> nlp = blank('it') <add> ner = nlp.create_pipe('ner') <add> ner.add_...
1
Ruby
Ruby
ensure socket closure in very old test scripts
7baacb56a9a0d93c3347d0e0f1c284b2d7b5fdda
<ide><path>test/common.rb <ide> def wait_for_server(host, port) <ide> $stderr.print "." if $DEBUG <ide> $stderr.flush <ide> sleep 0.2 <add> ensure <add> socket.close <ide> end <ide> end <ide> end
1
Java
Java
add marble diagrams for various single operators
3562dfc5d2529efa5de41a7b8689f6847b3fb616
<ide><path>src/main/java/io/reactivex/Single.java <ide> public static <T> Flowable<T> concatArrayEager(SingleSource<? extends T>... sour <ide> /** <ide> * Concatenates a Publisher sequence of SingleSources eagerly into a single stream of values. <ide> * <p> <add> * <img width="640" height="307" src="h...
1
Text
Text
update the docs for switchable runtime
3d4f4c6995587145c19c13892f84cae81d2eb334
<ide><path>docs/advanced-features/react-18/switchable-runtime.md <ide> # Switchable Runtime (Alpha) <ide> <del>By default, Next.js uses Node.js as the runtime for page rendering, including pre-rendering, server-side rendering. <add>By default, Next.js uses Node.js as the runtime for page rendering, including pre-rende...
1
Text
Text
make minor edit to phrasing
6f4d95366d0c909b05d50fa08676f8f53d711914
<ide><path>docs/faq/CodeStructure.md <ide> Action creators are testable. The correctness of an inline action must be verifi <ide> <ide> Action creators are easier to document. The action creator's parameters enumerate the action's dependencies. And centralization of the action definition provides a convenient place fo...
1
Text
Text
fix typo in sample output
f3d5d9753a4c0f797dc43459508a31c263c576b4
<ide><path>docs/reference/commandline/commit.md <ide> svendowideit/testimage version3 f5283438590d 16 sec <ide> ```bash <ide> $ docker ps <ide> <del>ICONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES <add>CONTAINER I...
1
PHP
PHP
fix failing tests in postgres
b2f62f46c55d4a3f8fc363b2821e40e29084833e
<ide><path>lib/Cake/Model/Datasource/DboSource.php <ide> public function execute($sql, $options = array(), $params = array()) { <ide> */ <ide> protected function _execute($sql, $params = array(), $prepareOptions = array()) { <ide> $sql = trim($sql); <del> if (preg_match('/^(?:CREATE|ALTER|DROP)\s+TABLE/i', $sql)) ...
1
Ruby
Ruby
remove unnecessary nil check
4d5c1526665bda7ccd3948e388bec27001ddd1e7
<ide><path>Library/Homebrew/requirements/python_dependency.rb <ide> def python_short_version <ide> def which_python <ide> python = which python_binary <ide> return unless python <del> executable = `#{python} -c "import sys; print(sys.executable)"`.strip <del> return unless executable <del> Pathname.n...
1
Text
Text
correct inaccuracy in docker pull documentation
eb8e84c48a8a20895b78299dbc2d8429d092be8d
<ide><path>docs/sources/reference/commandline/cli.md <ide> use `docker pull`: <ide> # will pull the debian:latest image, its intermediate layers <ide> # and any aliases of the same id <ide> $ sudo docker pull debian:testing <del> # will pull the image named ubuntu:trusty, ubuntu:14.04 <del> # which is...
1
Ruby
Ruby
add comment to browser_like_accepts [ci skip]
39e3a75e932d009e6a623fd9cafa6e0eda039bb4
<ide><path>actionpack/lib/action_dispatch/http/mime_negotiation.rb <ide> def should_apply_vary_header? <ide> end <ide> <ide> private <add> # We use normal content negotiation unless you include */* in your list, <add> # in which case we assume you're a browser and send HTML. <ide> BRO...
1
Javascript
Javascript
exclude data-reactroot from tests when using fiber
9b6738805a85242dce3b836b4754d3286f2d590d
<ide><path>src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js <ide> describe('ReactDOMInput', () => { <ide> <ide> ReactTestUtils.renderIntoDocument(<input value="0" type="range" min="0" max="100" step="1" />); <ide> expect(log).toEqual([ <del> 'set data-reactroot', <add> ...(ReactDOMFe...
1
Python
Python
fix test_basic failure on windows
1a3d04754e46e9d38f8fe0b10139907799fda918
<ide><path>numpy/distutils/tests/test_exec_command.py <ide> def setUp(self): <ide> self.pyexe = get_pythonexe() <ide> <ide> def check_nt(self, **kws): <del> s, o = exec_command.exec_command('echo path=%path%') <add> s, o = exec_command.exec_command('cmd /C echo path=%path%') <ide> sel...
1
Python
Python
fix miscellaneous bugs and clean up code
4eb2fd489ac26b0f351bad4d51c7a117fca5a558
<ide><path>airflow/bin/cli.py <ide> def process_subdir(subdir): <ide> if "DAGS_FOLDER" in subdir: <ide> subdir = subdir.replace("DAGS_FOLDER", dags_folder) <ide> subdir = os.path.abspath(os.path.expanduser(subdir)) <del> if dags_folder.rstrip('/') not in subdir.rstrip('/'): <del> ...
5
PHP
PHP
add test to prove
dad681999ed7dfecec66fc77fe85436fdc7eb8b7
<ide><path>tests/TestCase/ORM/QueryTest.php <ide> public function testCount() { <ide> $this->assertEquals(2, $result->first()->id); <ide> } <ide> <add>/** <add> * test count with a beforeFind. <add> * <add> * @return void <add> */ <add> public function testCountBeforeFind() { <add> $table = TableRegistry::get('Art...
1
Text
Text
fix broken link in acceptable formulae
d78769743d66c2af3039c85cda69382945691abd
<ide><path>share/doc/homebrew/Acceptable-Formulae.md <ide> There are exceptions: <ide> openssl | OS X's openssl is deprecated <ide> libxml2 | Historically, OS X's libxml2 has been buggy <ide> <del>We also maintain [a tap](https://github.com/Homebrew/homebrew-dueps) that <add>We also maintain [a tap...
1
Go
Go
improve test for container list `ps`
1ee1dc2340ef030fc3ed132ff51d196536b46600
<ide><path>integration/server_test.go <ide> func TestImageInsert(t *testing.T) { <ide> } <ide> } <ide> <add>func TestListContainers(t *testing.T) { <add> eng := NewTestEngine(t) <add> srv := mkServerFromEngine(eng, t) <add> defer mkRuntimeFromEngine(eng, t).Nuke() <add> <add> config := docker.Config{ <add> Image: ...
1
Python
Python
fix spelling mistake in selu docs
86ce3cdd7d87d84532d08b0d6b65b3918a10ba5e
<ide><path>keras/activations.py <ide> def selu(x): <ide> """Scaled Exponential Linear Unit (SELU). <ide> <ide> SELU is equal to: `scale * elu(x, alpha)`, where alpha and scale <del> are pre-defined constants. The values of `alpha` and `scale` are <add> are predefined constants. The values of `alpha` and ...
1
Ruby
Ruby
handle macos versions >= 11.1 correctly
8598b1186a32c98e7ed292880ef135182825c42e
<ide><path>Library/Homebrew/extend/os/mac/extend/ENV/std.rb <ide> module Stdenv <ide> undef homebrew_extra_pkg_config_paths, x11 <ide> <ide> def homebrew_extra_pkg_config_paths <del> ["#{HOMEBREW_LIBRARY}/Homebrew/os/mac/pkgconfig/#{MacOS.version}"] <add> ["#{HOMEBREW_LIBRARY}/Homebrew/os/mac/pkgconfig/#{Mac...
10
Python
Python
update version numbers
be4903a1b27ffeb48b8768726b39719de365057d
<ide><path>spacy/about.py <ide> # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py <ide> <ide> __title__ = 'spacy' <del>__version__ = '0.100.6' <add>__version__ = '0.100.7' <ide> __summary__ = 'Industrial-strength NLP' <ide> __uri__ = 'https://spacy.io' <ide> __author__ = 'Matthew Honnibal' <ide> _...
1
Go
Go
standardize default logging tag value
f900e1cf47f6a18eaa4ce438cc8fc0623f2eaec0
<ide><path>daemon/logger/fluentd/fluentd.go <ide> func New(ctx logger.Context) (logger.Logger, error) { <ide> return nil, err <ide> } <ide> <del> tag, err := loggerutils.ParseLogTag(ctx, "{{.DaemonName}}.{{.ID}}") <add> tag, err := loggerutils.ParseLogTag(ctx, loggerutils.DefaultTemplate) <ide> if err != nil { <id...
6
PHP
PHP
add retry to http facade annotations
dd878c067ed2ef2ba3adf710e2f4e73effbb256f
<ide><path>src/Illuminate/Support/Facades/Http.php <ide> * @method static \Illuminate\Http\Client\PendingRequest contentType(string $contentType) <ide> * @method static \Illuminate\Http\Client\PendingRequest acceptJson() <ide> * @method static \Illuminate\Http\Client\PendingRequest accept(string $contentType) <add> ...
1
Python
Python
extend list of _num_words
3ff5a6a5c06c0010420de2ea279a86150578ef9a
<ide><path>spacy/lang/ru/lex_attrs.py <ide> """ <ide> ноль ноля нолю нолём ноле нулевой нулевого нулевому нулевым нулевом нулевая нулевую нулевое нулевые нулевых нулевыми <ide> <del>один первого первому единица одного одному первой первом первый первым одним одном во-первых <add>четверть четверти четвертью ч...
1
PHP
PHP
fix failing test in postgres
7318319331446a89adfa71dde46ac529860b51a7
<ide><path>tests/TestCase/Database/Schema/PostgresSchemaTest.php <ide> public function testDescribeTable() <ide> 'comment' => null, <ide> ], <ide> 'views' => [ <del> 'type' => 'integer', <add> 'type' => 'smallint', <ide> 'null' => tru...
1
Text
Text
remove homebrew cask documentation
5cae4532bfade512c156f8d4c6b84f9714e4fef3
<ide><path>Library/Homebrew/cask/CONDUCT.md <del># Contributor Covenant Code of Conduct <del> <del>## Our Pledge <del> <del>In the interest of fostering an open and welcoming environment, we as <del>contributors and maintainers pledge to making participation in our project and <del>our community a harassment-free exper...
51
Python
Python
add unique_together altering operation
67dcea711e92025d0e8676b869b7ef15dbc6db73
<ide><path>django/db/migrations/operations/__init__.py <del>from .models import CreateModel, DeleteModel, AlterModelTable <add>from .models import CreateModel, DeleteModel, AlterModelTable, AlterUniqueTogether <ide> from .fields import AddField, RemoveField, AlterField, RenameField <ide><path>django/db/migrations/opera...
7
Ruby
Ruby
simplify printing conflicts in `brew info`
4f809d0311ab6ca8da897d2a9830b9ecbf262d60
<ide><path>Library/Homebrew/cmd/info.rb <ide> def info_formula f <ide> end <ide> <ide> puts "Depends on: #{f.deps*', '}" unless f.deps.empty? <del> conflicts = [] <del> f.requirements.each do |dep| <del> conflicts << dep.formula if dep.is_a? ConflictRequirement <del> end <add> conflicts = f.co...
2
Java
Java
support "accept-patch" for options requests
97f3846971ec2e9338d8f3eccfe4ea30250e8647
<ide><path>spring-web/src/main/java/org/springframework/http/HttpHeaders.java <ide> /* <del> * Copyright 2002-2020 the original author or authors. <add> * Copyright 2002-2021 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use this f...
5
Ruby
Ruby
use any? to check for size
c4af5f00f602b9e1c3166872902265836daf321b
<ide><path>actionpack/lib/action_view/helpers/atom_feed_helper.rb <ide> module AtomFeedHelper <ide> # app/views/posts/index.atom.builder: <ide> # atom_feed do |feed| <ide> # feed.title("My great blog!") <del> # feed.updated(@posts[0].created_at) if @posts.length > 0 <add> #...
1
Text
Text
update userland and core.md
273b5d70c1b8f0851676ed863050c4948cab0335
<ide><path>docs/Basics/Userland and Core.md <ide> Userland and Core <ide> -------------------------- <ide> <del>TODO <add>Modularity of the JavaScript tools and libraries is a tricky subject. As [James Long put it](http://jlongster.com/Modularity), “people have strong opinions about this because modules are how we int...
1
Ruby
Ruby
escape paths in regexps
f8fb74ff76f4f6b779bcaccee94bdb442f2ea51a
<ide><path>Library/Homebrew/cmd/tap.rb <ide> def tap_ref(path) <ide> case path.to_s <ide> when HOMEBREW_TAP_PATH_REGEX <ide> "#$1/#$2/#{File.basename($3, '.rb')}" <del> when %r{^#{HOMEBREW_LIBRARY}/Formula/(.+)} <add> when %r{^#{Regexp.escape(HOMEBREW_LIBRARY.to_s)}/Formula/(.+)}o <ide> "Homeb...
3
Ruby
Ruby
use this.href, not unexisting url
7b235f0213599c4c20966f89889baba3b8ad7006
<ide><path>actionpack/lib/action_view/helpers/url_helper.rb <ide> def popup_javascript_function(popup) <ide> end <ide> <ide> def post_javascript_function <del> "f = document.createElement('form'); document.body.appendChild(f); f.method = 'POST'; f.action = url; f.submit();" <add> ...
2
PHP
PHP
add missed events to exceptionrenderer
b35ff7e2bf10654fa9c90411595aebec2078b4ca
<ide><path>lib/Cake/Error/ExceptionRenderer.php <ide> use Cake\Controller\ErrorController; <ide> use Cake\Core\Configure; <ide> use Cake\Error; <add>use Cake\Event\Event; <ide> use Cake\Network\Request; <ide> use Cake\Network\Response; <ide> use Cake\Routing\Router; <ide> protected function _getController($exception) {...
1
Text
Text
add hyperlinks for election methods
bac714a6005c6b9ad577599e20dfec26ec6d48ec
<ide><path>docs/Homebrew-Governance.md <ide> <ide> 1. The governance and operation of Homebrew is determined by the PLC. The PLC will represent Homebrew in all dealings with the Software Freedom Conservancy (SFC). The PLC has final authority in all matters related to the operation of Homebrew, and will comply with all...
1
PHP
PHP
remove unguard call
d0a6e8818a323ca5a9cc01fd2c6db0c1b09a6312
<ide><path>database/seeds/DatabaseSeeder.php <ide> <?php <ide> <ide> use Illuminate\Database\Seeder; <del>use Illuminate\Database\Eloquent\Model; <ide> <ide> class DatabaseSeeder extends Seeder <ide> { <ide> class DatabaseSeeder extends Seeder <ide> */ <ide> public function run() <ide> { <del> Mod...
1
Javascript
Javascript
add tests for fs/promises.js filehandle methods
126b03e2f9e5a695b025a1a70eb49b88de43d080
<ide><path>test/parallel/test-fs-promises-file-handle-append-file.js <add>'use strict'; <add> <add>const common = require('../common'); <add> <add>// The following tests validate base functionality for the fs/promises <add>// FileHandle.appendFile method. <add> <add>const fs = require('fs'); <add>const { open } = requi...
6
PHP
PHP
fix validate method
e8f31f149948cad5b3e42aeb5ff3ce1e1ab5514e
<ide><path>src/Illuminate/Contracts/Validation/Validator.php <ide> interface Validator extends MessageProvider <ide> */ <ide> public function validate(); <ide> <add> /** <add> * Return validated value. <add> * <add> * @return array <add> */ <add> public function validated(); <add> <ide> ...
4
Ruby
Ruby
drop redundant pathname creation
ecc01317b8756fa3bcf81b8d08830244a9454f6d
<ide><path>Library/Homebrew/cmd/versions.rb <ide> def version_for_sha sha <ide> <ide> def formula_for_sha sha, &block <ide> mktemp do <del> path = Pathname.new(Pathname.pwd+"#{name}.rb") <add> path = Pathname.pwd.join("#{name}.rb") <ide> path.write text_from_sha(sha) <ide> <ide> ...
1
Python
Python
update documentation of np.clip
e91f1441f69ea87bc64bec82cfac75eb06282ac3
<ide><path>numpy/core/fromnumeric.py <ide> def clip(a, a_min, a_max, out=None, **kwargs): <ide> is specified, values smaller than 0 become 0, and values larger <ide> than 1 become 1. <ide> <del> Equivalent to but faster than ``np.maximum(a_min, np.minimum(a, a_max))``. <add> Equivalent to but faster than...
1
Javascript
Javascript
fix comment from "read-only" to "shallow"
4c619ec421fc5080888bb68d21146da6d3219b21
<ide><path>lib/module.js <ide> Module._initPaths = function() { <ide> <ide> modulePaths = paths; <ide> <del> // clone as a read-only copy, for introspection. <add> // clone as a shallow copy, for introspection. <ide> Module.globalPaths = modulePaths.slice(0); <ide> }; <ide>
1
Go
Go
remove stubs for deprecated sequential functions
18ca7546f6dd4d018e30dff14f10eb0eebfb146b
<ide><path>pkg/system/filesys_deprecated.go <del>package system <del> <del>import ( <del> "os" <del> <del> "github.com/moby/sys/sequential" <del>) <del> <del>// CreateSequential is deprecated. <del>// <del>// Deprecated: use os.Create or github.com/moby/sys/sequential.Create() <del>func CreateSequential(name string) (*...
1
Ruby
Ruby
use key instead of token
2ea3ef9f775dc9432efa25ebe240c41cf74da1c0
<ide><path>lib/active_file/blob.rb <del># Schema: id, token, filename, content_type, metadata, byte_size, digest, created_at <add># Schema: id, key, filename, content_type, metadata, byte_size, digest, created_at <ide> class ActiveFile::Blob < ActiveRecord::Base <ide> self.table_name = "rails_active_file_blobs" <ide>...
1
Python
Python
fix mypy typing issues for airflow.executors
aa27d9f92ef261ce2bf2b0e1b3699c1ffd23307f
<ide><path>airflow/executors/base_executor.py <ide> class BaseExecutor(LoggingMixin): <ide> ``0`` for infinity <ide> """ <ide> <del> job_id: Optional[str] = None <add> job_id: Optional[int] = None <ide> <ide> def __init__(self, parallelism: int = PARALLELISM): <ide> super().__init__() <i...
3
Javascript
Javascript
handle pi with no value in xml parser
4544ebf38a3267ef09244af7abc6f49674398ddc
<ide><path>src/core/xml_parser.js <ide> class XMLParserBase { <ide> pos < s.length && <ide> !isWhitespace(s, pos) && <ide> s[pos] !== ">" && <add> s[pos] !== "?" && <ide> s[pos] !== "/" <ide> ) { <ide> ++pos; <ide><path>test/unit/xml_spec.js <ide> * limitations under the License....
2
Javascript
Javascript
add setview clearview functions
5e149ae75e6e3ab518d0c30c9808d28a36c74b01
<ide><path>examples/js/cameras/CombinedCamera.js <ide> THREE.CombinedCamera.prototype.copy = function ( source ) { <ide> return this; <ide> <ide> }; <add> <add>THREE.CombinedCamera.prototype.setViewOffset = function( fullWidth, fullHeight, x, y, width, height ) { <add> <add> this.view = { <add> fullWidth: fullWidth,...
1
Ruby
Ruby
remove == from acceptitem
a447252ac4c97b06df271c04ddd7530014dd8c86
<ide><path>actionpack/lib/action_dispatch/http/mime_type.rb <ide> def <=>(item) <ide> result = @index <=> item.index if result == 0 <ide> result <ide> end <del> <del> def ==(item) <del> @name == item.to_s <del> end <ide> end <ide> <ide> class AcceptList < Array #:nodoc: <...
1
Javascript
Javascript
make relative ref to sys in fs module
03f2bfe51f4051009b5f8c66114a3a44929f2ed4
<ide><path>lib/fs.js <del>var <del> sys = require('sys'), <del> events = require('events'), <del> fs = require('fs'); <add>var sys = require('./sys'), <add> events = require('events'); <ide> <ide> exports.Stats = process.Stats; <ide> <ide> var FileWriteStream = exports.FileWriteStream = function(path, options) ...
1