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
use argv.include? instead of argv.flag?
1ead0d4fe556cd7a671ea2f66f72354f4a40fc8c
<ide><path>Library/Homebrew/cmd/tests.rb <ide> module Homebrew <ide> def tests <ide> (HOMEBREW_LIBRARY/"Homebrew/test").cd do <ide> ENV["TESTOPTS"] = "-v" if ARGV.verbose? <del> ENV["HOMEBREW_TESTS_COVERAGE"] = "1" if ARGV.flag? "--coverage" <add> ENV["HOMEBREW_TESTS_COVERAGE"] = "1" if ARGV.inclu...
1
PHP
PHP
add tests for
a8672ed3022d019577de0c8c444b9787f5584be4
<ide><path>tests/TestCase/ORM/TableTest.php <ide> public function testSaveUpdatePrimaryKeyNotModified() { <ide> ->will($this->returnValue($query)); <ide> <ide> $statement = $this->getMock('\Cake\Database\Statement\StatementDecorator'); <del> $statement->expects($this->once())->method('rowCount') <del> ->will($...
1
Go
Go
move hijack to it's own file
8c9192cd76ad46bda3d0ec5ba7eb4a30669afb40
<ide><path>api/client/hijack.go <add>package client <add> <add>import ( <add> "crypto/tls" <add> "fmt" <add> "io" <add> "net" <add> "net/http" <add> "net/http/httputil" <add> "os" <add> "runtime" <add> "strings" <add> <add> "github.com/dotcloud/docker/api" <add> "github.com/dotcloud/docker/dockerversion" <add> "github....
2
Javascript
Javascript
fix context-switching #each
a82291a8b484236215623b6ecd77b50494184e1f
<ide><path>packages/ember-htmlbars/lib/env.js <ide> import bindShadowScope from "ember-htmlbars/hooks/bind-shadow-scope"; <ide> import bindSelf from "ember-htmlbars/hooks/bind-self"; <ide> import bindScope from "ember-htmlbars/hooks/bind-scope"; <ide> import bindLocal from "ember-htmlbars/hooks/bind-local"; <add>import...
5
PHP
PHP
register the schedulelistcommand
34060336c9cb9b0cb5940cbac791dcd82bc9a4f5
<ide><path>src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php <ide> use Illuminate\Cache\Console\ClearCommand as CacheClearCommand; <ide> use Illuminate\Cache\Console\ForgetCommand as CacheForgetCommand; <ide> use Illuminate\Console\Scheduling\ScheduleFinishCommand; <add>use Illuminate\Console\Scheduling\Sc...
1
Python
Python
fix style issues in backend/theano_backend.py
577735597212a111028c2c39db2f621823346ab5
<ide><path>keras/backend/theano_backend.py <ide> def placeholder(shape=None, ndim=None, dtype=_FLOATX, sparse=False, name=None): <ide> '''Instantiate an input data placeholder variable. <ide> ''' <ide> if shape is None and ndim is None: <del> raise Exception('Specify either a shape or ndim value.') <...
1
Mixed
Ruby
remove implicit coercion deprecation of durations
a91ea1d51048342d13fc73f9b09ce4cfd086bb34
<ide><path>activesupport/CHANGELOG.md <add>* Remove implicit coercion deprecation of durations <add> <add> In #28204 we deprecated implicit conversion of durations to a numeric which <add> represented the number of seconds in the duration because of unwanted side <add> effects with calculations on durations ...
3
Python
Python
fix infixes in french
3d4bd96e8a36814132e99874c9b461f0639f2fd5
<ide><path>spacy/fr/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'''(?...
1
Mixed
Go
allow duration strings as --since/--until
4e3b21f99e7fb7fac0075be2e7190d5f07c9ee66
<ide><path>api/client/events.go <ide> package client <ide> <ide> import ( <ide> "net/url" <add> "time" <ide> <ide> "github.com/docker/docker/opts" <ide> flag "github.com/docker/docker/pkg/mflag" <ide> func (cli *DockerCli) CmdEvents(args ...string) error { <ide> return err <ide> } <ide> } <add> ref := time.N...
8
Python
Python
fix integration tests
ebe3f30f1122a97d4d88855ab5a73618332d81b2
<ide><path>keras/backend/tensorflow_backend.py <ide> def control_dependencies(control_inputs): <ide> """A context manager that specifies control dependencies. <ide> <ide> # Arguments <del> control_inputs: A list of Operation or Tensor objects which must be executed <del> or computed before runnin...
5
Go
Go
fix seccomp output in `docker info`
a3b9dd89a1b19e7f84617b91f3756ae816c11035
<ide><path>daemon/info.go <ide> func (daemon *Daemon) SystemInfo() (*types.Info, error) { <ide> if sysInfo.AppArmor { <ide> securityOptions = append(securityOptions, "apparmor") <ide> } <del> if sysInfo.Seccomp { <add> if sysInfo.Seccomp && supportsSeccomp { <ide> securityOptions = append(securityOptions, "seccom...
4
Text
Text
update readme to make node.js description clearer
6d443083e8b2057cca0b52e58cd332fc030aa87a
<ide><path>README.md <ide> </a> <ide> </p> <ide> <del>Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. For <del>more information on using Node.js, see the [Node.js Website][]. <add>Node.js is an open-source, cross-platform, JavaScript runtime environment. It <add>executes JavaScript code outsi...
1
Javascript
Javascript
remove unused assignment
7f25fe8b67eeb05a44b107378a2f3e59e4d8f2f9
<ide><path>lib/fs.js <ide> function rmdirSync(path, options) { <ide> return rimrafSync(pathModule.toNamespacedPath(path), options); <ide> } <ide> <del> options = validateRmdirOptions(options); <add> validateRmdirOptions(options); <ide> const ctx = { path }; <ide> binding.rmdir(pathModule.toNamespacedPath(p...
1
Ruby
Ruby
encourage users to user super to override methods
8f7d9eb043dbbca9e4b424c77e643312a9927eac
<ide><path>activerecord/lib/active_record/base.rb <ide> module ActiveRecord #:nodoc: <ide> # All column values are automatically available through basic accessors on the Active Record <ide> # object, but sometimes you want to specialize this behavior. This can be done by overwriting <ide> # the default accessors ...
1
PHP
PHP
apply fixes from styleci
ba562657ab6f44117645e77cef0f946441b15a37
<ide><path>src/Illuminate/Support/Stringable.php <ide> public function afterLast($search) <ide> */ <ide> public function append(...$values) <ide> { <del> return new static($this->value . implode('', $values)); <add> return new static($this->value.implode('', $values)); <ide> } <ide> <ide...
1
Javascript
Javascript
replace projectroots with projectroot + watchroots
c5ce7626977a7650e8dce335f2ce78b94839a2a8
<ide><path>local-cli/bundle/buildBundle.js <ide> async function buildBundle( <ide> : defaultProvidesModuleNodeModules; <ide> <ide> const terminal = new Terminal(process.stdout); <del> <ide> const server = new Server({ <ide> asyncRequireModulePath: config.getAsyncRequireModulePath(), <ide> assetExts: ...
6
Javascript
Javascript
use consistent types in jsdoc @returns
c241ef1a124798c0bc6fe5cde36f8cc7cb37f29e
<ide><path>lib/assert.js <ide> function innerFail(obj) { <ide> * @param {string | Error} [message] <ide> * @param {string} [operator] <ide> * @param {Function} [stackStartFn] <del> * @returns {never} <ide> */ <ide> function fail(actual, expected, message, operator, stackStartFn) { <ide> const argsLen = arguments....
4
Mixed
Javascript
add multi part library example #221
14875d5778a6b679e490970acf3a9fdf79cfbcc3
<ide><path>examples/multi-part-library/README.md <add> <add># webpack.config.js <add> <add>``` javascript <add>var path = require("path"); <add>module.exports = { <add> entry: { <add> alpha: "./alpha", <add> beta: "./beta" <add> }, <add> output: { <add> path: path.join(__dirname, "js"), <add> filename: "MyLibrary.[...
6
PHP
PHP
add test case, fix inconsistent indentation
a703c4d5397ac1bebf03e4d16453023e3743ee7a
<ide><path>src/Illuminate/Validation/Validator.php <ide> protected function validate($attribute, $rule) <ide> } <ide> <ide> /** <del> * Returns the data which was valid. <del> * <add> * Returns the data which was valid. <add> * <ide> * @return array <ide> */ <ide> public function valid() <ide> { <ide> ...
2
Text
Text
add known issues to v1.7.0/1.7.1 changelog
391cae3595e5b426be50cf26a2ae02c346c2a63f
<ide><path>CHANGELOG.md <ide> will be removed at a later point. (Roman Reiss) [#1363](https://github.com/iojs/ <ide> <ide> * **build**: A syntax error in the Makefile for release builds caused 1.7.0 to be DOA and unreleased. (Rod Vagg) [#1421](https://github.com/iojs/io.js/pull/1421). <ide> <add>### Known issues <add...
1
Javascript
Javascript
add strict equalities in src/core/obj.js
ee0c0dd8a9848cb41d4a8a850af62790b1620fc3
<ide><path>src/core/obj.js <ide> var Dict = (function DictClosure() { <ide> get: function Dict_get(key1, key2, key3) { <ide> var value; <ide> var xref = this.xref; <del> if (typeof (value = this.map[key1]) != 'undefined' || key1 in this.map || <del> typeof key2 == 'undefined') { <add> ...
1
Ruby
Ruby
remove code duplication
44ea48efc3c2a759026ac95aac981aa78afaf320
<ide><path>activerecord/lib/active_record/migration.rb <ide> def run <ide> raise UnknownMigrationVersionError.new(@target_version) if migration.nil? <ide> unless (up? && migrated.include?(migration.version.to_i)) || (down? && !migrated.include?(migration.version.to_i)) <ide> begin <del> ddl...
1
Ruby
Ruby
dump datetime precision always in mysql
3432d6b03e8d5a7aae873520013489e853e9a631
<ide><path>activerecord/lib/active_record/connection_adapters/mysql/schema_dumper.rb <ide> def schema_limit(column) <ide> end <ide> <ide> def schema_precision(column) <del> return if /\Adatetime\b/.match(column.sql_type) && column.precision == 6 <del> return if /\Atime(?:stamp...
4
Python
Python
add global_step to reduce_aggregated_logs()
48192d5453df4164d15d40ca9de61aa8e7f3ef31
<ide><path>official/core/base_task.py <ide> def aggregate_logs(self, state, step_logs): <ide> """Optional aggregation over logs returned from a validation step.""" <ide> pass <ide> <del> def reduce_aggregated_logs(self, aggregated_logs): <add> def reduce_aggregated_logs(self, <add> ...
12
PHP
PHP
create getter for the http route middlewares
8412218059b94c3f781fdeee3f0eb507a66550d4
<ide><path>src/Illuminate/Foundation/Http/Kernel.php <ide> public function getMiddlewareGroups() <ide> return $this->middlewareGroups; <ide> } <ide> <add> /** <add> * Get the application's route middleware. <add> * <add> * @return array <add> */ <add> public function getRouteMiddlewar...
2
Ruby
Ruby
show latest version
91fffeeff6a5b1d9fd042716035a14698bc674be
<ide><path>Library/Homebrew/cmd/info.rb <ide> def info_formula(f, args:) <ide> specs = [] <ide> <ide> if (stable = f.stable) <del> s = "stable #{stable.version}" <add> latest_version = if ENV["HOMEBREW_JSON_CORE"].present? <add> BottleAPI.latest_pkg_version(f.name).version || stable.version <a...
1
Python
Python
fix #726 - get_lr in examples
59cefd4f985b7221846189690ead3300ff864b3d
<ide><path>examples/run_bert_squad.py <ide> def main(): <ide> optimizer.zero_grad() <ide> global_step += 1 <ide> if args.local_rank in [-1, 0]: <del> tb_writer.add_scalar('lr', optimizer.get_lr()[0], global_step) <add> ...
3
Javascript
Javascript
put comment back in correct spot
93ee8f85f66e3dcfc9b213ae9733ae12a513953e
<ide><path>src/core/core.js <ide> // High pixel density displays - multiply the size of the canvas height/width by the device pixel ratio, then scale. <ide> Chart.helpers.retinaScale(this); <ide> <del> // Always bind this so that if the responsive state changes we still work <ide> if (config) { <ide> this.co...
1
Javascript
Javascript
improve stream error messages
560a589e75c12cfd2c2813622a70271c962f6e0e
<ide><path>lib/_stream_readable.js <ide> function maybeReadMore_(stream, state) { <ide> // for virtual (non-string, non-buffer) streams, "length" is somewhat <ide> // arbitrary, and perhaps not very meaningful. <ide> Readable.prototype._read = function(n) { <del> this.emit('error', new Error('not implemented')); <add>...
3
Python
Python
calrify tiny/xmin in finfo and machar (gh-16253)
0eb532de60c9caaaa568ea294e7e1427265b6552
<ide><path>numpy/core/getlimits.py <ide> class finfo: <ide> The approximate decimal resolution of this type, i.e., <ide> ``10**-precision``. <ide> tiny : float <del> The smallest positive usable number. Type of `tiny` is an <del> appropriate floating point type. <add> The small...
2
Python
Python
set version for 2.0.2 release
49fd5a646f329be1147b43b8c2c611f1424abe22
<ide><path>spacy/about.py <ide> # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py <ide> <ide> __title__ = 'spacy' <del>__version__ = '2.0.2.dev1' <add>__version__ = '2.0.2' <ide> __summary__ = 'Industrial-strength Natural Language Processing (NLP) with Python and Cython' <ide> __uri__ = 'https://s...
1
Ruby
Ruby
add configuration option for driver adapter
0dc63281da1c7075ce63d8dba62e4230d72bfc2a
<ide><path>actionpack/lib/system_testing/base.rb <ide> module SystemTesting <ide> module Base <ide> include TestHelper <ide> include DriverAdapter <add> <add> ActiveSupport.run_load_hooks(:system_testing, self) <ide> end <ide> end <ide><path>actionpack/lib/system_testing/driver_adapter.rb <ide> module Sy...
4
Python
Python
do some basic testing of the recorder
eb5e50215a630ed028eca2d85d4131e9e186377d
<ide><path>tests/migrations/tests.py <del>from django.test import TransactionTestCase <add>from django.test import TransactionTestCase, TestCase <ide> from django.db import connection <ide> from django.db.migrations.graph import MigrationGraph, CircularDependencyError <ide> from django.db.migrations.loader import Migra...
1
Text
Text
move 8 collaborators to emeriti
4db84724cadddb85c7690310cc2cb8f02c78cbee
<ide><path>README.md <ide> For more information about the governance of the Node.js project, see <ide> **Ilkka Myller** &lt;ilkka.myller@nodefield.com&gt; <ide> * [indutny](https://github.com/indutny) - <ide> **Fedor Indutny** &lt;fedor.indutny@gmail.com&gt; <del>* [isaacs](https://github.com/isaacs) - <del>**Isaac Z. ...
1
Text
Text
add contributer aggreement
ada4712250a8e02b13a2bbf06f0e150348494a6d
<ide><path>.github/contributors/fsonntag.md <add># spaCy contributor agreement <add> <add>This spaCy Contributor Agreement (**"SCA"**) is based on the <add>[Oracle Contributor Agreement](http://www.oracle.com/technetwork/oca-405177.pdf). <add>The SCA applies to any contribution that you make to any product or project <...
1
Python
Python
fix typo timeouttimer -> timeouttimer
64526470221e72f4c4782fae38030a33d3e2fa97
<ide><path>celery/task.py <ide> def join(self, timeout=None): <ide> the :class:`celery.timer.TimeoutError` exception. <ide> <ide> """ <del> timeout_timer = TimeOutTimer(timeout) # Timeout timer starts here. <add> timeout_timer = TimeoutTimer(timeout) # Timeout timer starts here. <ide> ...
1
Ruby
Ruby
use direction instead of rtl flag
5020c2e3022ad9f07c29679f489cdb836425c552
<ide><path>guides/rails_guides.rb <ide> edge = `git rev-parse HEAD`.strip unless version <ide> <ide> RailsGuides::Generator.new( <del> edge: edge, <del> version: version, <del> all: env_flag["ALL"], <del> only: env_value["ONLY"], <del> kindle: env_flag["KINDLE"], <del> language: env_value["GUI...
2
Javascript
Javascript
increase information logged to messagequeue.spy
f445ac8ef1f0f4666f36ced70e5ee3b74dd00924
<ide><path>Libraries/BatchedBridge/BatchedBridge.js <ide> * <ide> * @providesModule BatchedBridge <ide> * @flow <add> * @format <ide> */ <ide> 'use strict'; <ide> <ide> const MessageQueue = require('MessageQueue'); <add> <ide> const BatchedBridge = new MessageQueue(); <ide> <ide> // Wire up the batched bridge on ...
4
Go
Go
add retry checks to testswarmpublishadd
7bd1c1195998c10c732ccfa67c568e634d58166e
<ide><path>integration-cli/daemon_swarm.go <ide> func (d *SwarmDaemon) checkLeader(c *check.C) (interface{}, check.CommentInterfa <ide> } <ide> return fmt.Errorf("no leader"), check.Commentf("could not find leader") <ide> } <add> <add>func (d *SwarmDaemon) cmdRetryOutOfSequence(args ...string) (string, error) { <add>...
2
Go
Go
fix tests which didn't cleanup properly
acf58362cb957bf4d02af460935a9c5febd112f4
<ide><path>auth/auth_test.go <ide> func TestCreateAccount(t *testing.T) { <ide> } <ide> <ide> func setupTempConfigFile() (*ConfigFile, error) { <del> root, err := ioutil.TempDir("", "docker-test") <add> root, err := ioutil.TempDir("", "docker-test-auth") <ide> if err != nil { <ide> return nil, err <ide> } <ide> fu...
2
Javascript
Javascript
display error messages on more problems
b40af3555b2be14311c6d7cf4cc28dc750d72387
<ide><path>src/core.js <ide> function getPdf(arg, callback) { <ide> if ('error' in params) <ide> xhr.onerror = params.error || undefined; <ide> <del> xhr.onreadystatechange = function getPdfOnreadystatechange() { <del> if (xhr.readyState === 4 && xhr.status === xhr.expected) { <del> var data = (xhr.mozR...
2
Python
Python
add test for object array creation
747579e371dc1515d76df0a10f474f58786ebe22
<ide><path>numpy/core/tests/test_regression.py <ide> def check_chararray_rstrip(self,level=rlevel): <ide> x[0] = 'a ' <ide> x = x.rstrip() <ide> assert_equal(x[0], 'a') <add> <add> def check_object_array_shape(self,level=rlevel): <add> """Ticket #239""" <add> assert_eq...
1
Ruby
Ruby
add magic token to hide commands from man page
9b36e8377142241218cb472dcaf64561f70b96e9
<ide><path>Library/Homebrew/cmd/help.rb <ide> def command_help(path) <ide> line.slice(2..-1). <ide> sub(/^ \* /, "#{Tty.highlight}brew#{Tty.reset} "). <ide> gsub(/`(.*?)`/, "#{Tty.highlight}\\1#{Tty.reset}"). <del> gsub(/<(.*?)>/, "#{Tty.em}\\1#{Tty.reset}") <del> end.join <ad...
3
Javascript
Javascript
add test for reading a large file through a pipe
5ecdc0314d87354166b282501435b2f6fd2248ab
<ide><path>test/parallel/test-fs-readfile-pipe-large.js <add>var common = require('../common'); <add>var assert = require('assert'); <add>var path = require('path'); <add> <add>// simulate `cat readfile.js | node readfile.js` <add> <add>// TODO: Have some way to make this work on windows. <add>if (process.platform === ...
2
Go
Go
implement docker pause with standalone client lib
55333e8f9018585f28f13231a3073e2746d7c969
<ide><path>api/client/lib/pause.go <add>package lib <add> <add>// ContainerPause pauses the main process of a given container without terminating it. <add>func (cli *Client) ContainerPause(containerID string) error { <add> resp, err := cli.post("/containers/"+containerID+"/pause", nil, nil, nil) <add> ensureReaderClose...
2
Javascript
Javascript
add a default content type for path requests
f9b897de4b5cc438515cbb54519fbdf6242f5858
<ide><path>src/ng/http.js <ide> function isSuccess(status) { <ide> function $HttpProvider() { <ide> var JSON_START = /^\s*(\[|\{[^\{])/, <ide> JSON_END = /[\}\]]\s*$/, <del> PROTECTION_PREFIX = /^\)\]\}',?\n/; <add> PROTECTION_PREFIX = /^\)\]\}',?\n/, <add> CONTENT_TYPE_APPLICATION_JSON = {'Conte...
2
Text
Text
fix incorrect link to babel preset
045cd9e248731fc1aa55b37eb9735b914a7b507a
<ide><path>docs/api/createStore.md <ide> console.log(store.getState()) <ide> <ide> * It is up to you to choose the state format. You can use plain objects or something like [Immutable](http://facebook.github.io/immutable-js/). If you’re not sure, start with plain objects. <ide> <del>* If your state is a plain object,...
1
Text
Text
use a dot before patch release number for rcs
d46ac110cd540090392adf30668fdc00a7001aea
<ide><path>Releases.md <ide> Before cutting a release branch, make sure CI systems [Travis](https://travis-ci <ide> <ide> Before executing the following script, make sure you have: <ide> - An Android emulator / Genymotion device running <del>- No packager running in any of the projects <add>- No packager running in a...
1
Mixed
Ruby
remove recordtaghelper, add extraction notices
01e94ef3b12922b77e55a067866d7a1fa62f1759
<ide><path>actionview/CHANGELOG.md <add>* Extracted `ActionView::Helpers::RecordTagHelper` to external gem <add> (`record_tag_helper`) and added removal notices. <add> <add> *Todd Bealmear* <add> <ide> * Allow to pass a string value to `size` option in `image_tag` and `video_tag`. <ide> <ide> This makes ...
5
Text
Text
change improper translation
406fdfe6b48a7ec9423ed8b08ee2e7cc78e0411f
<ide><path>guide/chinese/react/index.md <ide> --- <ide> title: React <del>localeTitle: 应对 <add>localeTitle: React <ide> --- <del># 应对 <add># React <ide> <del>React是一个用于构建用户界面的JavaScript库。它被Stack Overflow 2017年开发者调查中的“框架,图书馆和其他技术”类别评为最受欢迎。 1 <add>React是一个用于构建用户界面的JavaScript库。在Stack Overflow 2017年开发者调查别评为最受欢迎的“框架,库和其他技术...
1
Java
Java
fix concurrency issue in testdispatcherservlet
119e793994796bc4e7ebfd7d57fe3b219c07c68b
<ide><path>spring-test/src/main/java/org/springframework/mock/web/MockAsyncContext.java <ide> import javax.servlet.http.HttpServletRequest; <ide> import javax.servlet.http.HttpServletResponse; <ide> <add>import org.apache.commons.logging.Log; <ide> import org.springframework.beans.BeanUtils; <add>import org.springfram...
2
Text
Text
add thumbtack to organizations using airflow
a9286f31d2a122a7fe24475a55271256fca91305
<ide><path>README.md <ide> Currently **officially** using Airflow: <ide> * [SimilarWeb](https://www.similarweb.com/) [[@similarweb](https://github.com/similarweb)] <ide> * [SmartNews](https://www.smartnews.com/) [[@takus](https://github.com/takus)] <ide> * Stripe [@jbalogh] <add>* [Thumbtack](https://www.thumbtack.com/...
1
Javascript
Javascript
add routestack in second argument
1abd12b68be6358761411272117c830c1afd306a
<ide><path>Libraries/CustomComponents/Navigator/Navigator.js <ide> var Navigator = React.createClass({ <ide> propTypes: { <ide> /** <ide> * Optional function that allows configuration about scene animations and <del> * gestures. Will be invoked with the route and should return a scene <del> * configu...
1
PHP
PHP
add same-site to config
a15f3ca8a9861563bdc6cc4838338e29f4ae28e4
<ide><path>config/session.php <ide> <ide> 'http_only' => true, <ide> <add> /* <add> |-------------------------------------------------------------------------- <add> | Same-site Cookies <add> |-------------------------------------------------------------------------- <add> | <add> | Here you may...
1
Java
Java
synthesize nested maps into annotations
f17173f6d5fb167db1c0a6905c23e52caace939b
<ide><path>spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java <ide> public static <A extends Annotation> A synthesizeAnnotation(A annotation, Annota <ide> * that are annotated with {@link AliasFor @AliasFor}. <ide> * <p>The supplied map must contain a key-value pair for every attribu...
3
Java
Java
add null check
47ff92873bc35345a0e0a743be4939527a27f896
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/result/method/InvocableHandlerMethod.java <ide> private void logArgumentErrorIfNecessary( <ide> <ide> // Leave stack trace for later, if error is not handled.. <ide> String message = cause.getMessage(); <del> if (!message.contains(parameter....
1
Java
Java
fix cache generics warnings; polish whitespace
8abb3150420d03e7c8cd3f483bf8a411e6fbcc0e
<ide><path>org.springframework.context/src/test/java/org/springframework/cache/config/AbstractAnnotationTests.java <ide> <ide> /** <ide> * Abstract annotation test (containing several reusable methods). <del> * <add> * <ide> * @author Costin Leau <ide> */ <ide> public abstract class AbstractAnnotationTests { <ide>...
6
Ruby
Ruby
fix granular swapping for primary_abstract_class
741d029606e96181ba3fc6ee5f0b30ea9e9450e8
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb <ide> def establish_connection(config, owner_name: Base, role: ActiveRecord::Base.curr <ide> existing_pool_config = pool_manager.get_pool_config(role, shard) <ide> <ide> if existing_pool_config && existing_pool...
4
Javascript
Javascript
reset effect list when we recompute children
43645a658625317d56ce526591bc143ab31b6009
<ide><path>src/renderers/shared/fiber/ReactFiber.js <ide> exports.cloneFiber = function(fiber : Fiber, priorityLevel : PriorityLevel) : Fi <ide> // extra memory if needed. <ide> let alt = fiber.alternate; <ide> if (alt) { <del> // Whenever we clone, we do so to get a new work in progress. <del> // This ensu...
3
Go
Go
show right tag for container in ps
e45deceb462351f841aa077819fdef3166381c50
<ide><path>daemon/list.go <ide> import ( <ide> "strconv" <ide> "strings" <ide> <add> "github.com/docker/docker/graph" <ide> "github.com/docker/docker/pkg/graphdb" <ide> <ide> "github.com/docker/docker/engine" <add> "github.com/docker/docker/pkg/parsers" <ide> "github.com/docker/docker/pkg/parsers/filters" <ide> ...
2
Text
Text
update doc version #
43438d630308fb81662d6549ec74ddf49c33cd99
<ide><path>docs/07-Advanced.md <ide> The bar controller has a special property that you should be aware of. To correc <ide> <ide> ### Creating Plugins <ide> <del>Starting with v2.0.3, you can create plugins for chart.js. To register your plugin, simply call `Chart.pluginService.register` and pass your plugin in. <add...
1
Javascript
Javascript
add function for checking url
084a8bca031bf8d7aff49f51083afac5b0d5c503
<ide><path>src/core.js <ide> var Page = (function PageClosure() { <ide> return null; <ide> return item.get(name); <ide> } <add> function isValidUrl(url) { <add> if (!url) <add> return false; <add> var colon = url.indexOf(':'); <add> if (colon < 0) <add> ...
1
Python
Python
add ui endpoint to get "next run datasets" info
1789f595f2de8ce441bb73c01527e1f25e9809dc
<ide><path>airflow/www/views.py <ide> from airflow.models.dag import DAG, get_dataset_triggered_next_run_info <ide> from airflow.models.dagcode import DagCode <ide> from airflow.models.dagrun import DagRun, DagRunType <del>from airflow.models.dataset import Dataset <add>from airflow.models.dataset import Dataset, Datas...
3
Ruby
Ruby
fix lingering references to book
b4120d0a3069e60ddcd2505e3212a4267edc1f88
<ide><path>activerecord/test/cases/encryption/encryptable_record_test.rb <ide> require "models/traffic_light_encrypted" <ide> <ide> class ActiveRecord::Encryption::EncryptableRecordTest < ActiveRecord::EncryptionTestCase <del> fixtures :books, :posts <add> fixtures :encrypted_books, :posts <ide> <ide> test "encry...
1
Javascript
Javascript
support persistent cache
6a7978f1bc3bd83e37756e97f01a640df0b56e33
<ide><path>lib/dependencies/URLDependency.js <ide> "use strict"; <ide> <ide> const RuntimeGlobals = require("../RuntimeGlobals"); <add>const makeSerializable = require("../util/makeSerializable"); <ide> const ModuleDependency = require("./ModuleDependency"); <ide> <ide> /** @typedef {import("webpack-sources").Replace...
2
Text
Text
fix minor issues in airflow release guide
42bbeb0f37c47bd6ed7e04d494fc22b6273d8ace
<ide><path>dev/README_RELEASE_AIRFLOW.md <ide> also performs image verification before pushing the images. <ide> Subject: <ide> <ide> ``` <del>[VOTE] Airflow 2.0.2rc3 <add>[VOTE] Release Airflow 2.0.2 from 2.0.2rc1 <ide> ``` <ide> <ide> Body: <ide> <ide> ``` <del>Hey all, <add>Hey fellow Airflowers, <ide> <ide> I h...
1
Javascript
Javascript
move multicolumn out to separate example
0b3d28f8f17f71fbe0b889ec430005d9e4f01db4
<add><path>packages/rn-tester/js/examples/FlatList/FlatList-multiColumn.js <del><path>packages/rn-tester/js/examples/MultiColumn/MultiColumnExample.js <ide> */ <ide> <ide> 'use strict'; <add>import type {RNTesterModuleExample} from '../../types/RNTesterTypes'; <ide> const RNTesterPage = require('../../components/RNTe...
4
PHP
PHP
remove header setting
0f2db34406f6fb0aab98de10e3d2fce5a8f97fc6
<ide><path>src/Illuminate/Routing/Router.php <ide> public static function toResponse($request, $response) <ide> $response->setNotModified(); <ide> } <ide> <del> if (! $response->headers->has('Permissions-Policy')) { <del> $response->headers->set('Permissions-Policy', 'interest-coh...
1
Go
Go
add more todo's for image list, and reformat
a1bc0a6d79187344e1be3b27f3710400fd6dc38c
<ide><path>daemon/containerd/image_list.go <ide> var acceptedImageFilterTags = map[string]bool{ <ide> // Images returns a filtered list of images. <ide> // <ide> // TODO(thaJeztah): sort the results by created (descending); see https://github.com/moby/moby/issues/43848 <add>// TODO(thaJeztah): implement opts.ContainerC...
1
Javascript
Javascript
move reactelementtype to shared
890d52bafc5f6bfad122a59b80c695473c3fa6c1
<add><path>src/shared/ReactElementType.js <del><path>src/isomorphic/classic/element/ReactElementType.js <ide> <ide> 'use strict'; <ide> <del>import type { ReactInstance } from 'ReactInstanceType'; <del> <ide> export type Source = { <ide> fileName: string, <ide> lineNumber: number, <ide> export type ReactElement =...
1
Text
Text
add native modules (ios) guide
822e6591778a9151c5ba08bd78b255b09918a81c
<ide><path>docs/NativeModulesIOS.md <add>--- <add>id: nativemodulesios <add>title: Native Modules (iOS) <add>layout: docs <add>category: Guides <add>permalink: docs/nativemodulesios.html <add>next: activityindicatorios <add>--- <add> <add>Sometimes an app needs access to platform API, and React Native doesn't have a co...
2
Python
Python
use normalize_axis_index in np.roll
b6850e9c00055666fe9bd5f984750743ffcb85d2
<ide><path>numpy/core/numeric.py <ide> def roll(a, shift, axis=None): <ide> return roll(a.ravel(), shift, 0).reshape(a.shape) <ide> <ide> else: <add> axis = _validate_axis(axis, a.ndim, allow_duplicate=True) <ide> broadcasted = broadcast(shift, axis) <ide> if broadcasted.ndim > 1: <i...
1
Text
Text
add note to parallelize make
cffbb326a2893348f137f8c53b141a61274742b1
<ide><path>BUILDING.md <ide> To build Node.js: <ide> <ide> ```console <ide> $ ./configure <del>$ make <add>$ make -j4 <ide> ``` <ide> <add>Running `make` with the `-j4` flag will cause it to run 4 compilation jobs <add>concurrently which may significantly reduce build time. The number after `-j` <add>can be changed t...
1
Text
Text
alter description of build a city skyline step 102
d425994852e1cb1bb57b44b363b22cd4c6f8f14c
<ide><path>curriculum/challenges/english/14-responsive-web-design-22/learn-css-variables-by-building-a-city-skyline/5d822fd413a79914d39e992f.md <ide> dashedName: step-102 <ide> <ide> # --description-- <ide> <del>Add `display: flex` and `flex-wrap: wrap` to the window container. This will put your windows side by side...
1
Ruby
Ruby
ensure no full stops at the end of desc
640b1e9dcb3fb96f6a54c0d63da4fb1985351a83
<ide><path>Library/Homebrew/rubocops/formula_desc_cop.rb <ide> def audit_formula(_node, _class_node, _parent_class_node, body_node) <ide> # - Checks for correct usage of `command-line` in `desc` <ide> # - Checks description starts with a capital letter <ide> # - Checks if `desc` contains the formula n...
2
Text
Text
edit process.title note for brevity and clarity
607183efff97a78e4daf9b624b7d973b207db9f9
<ide><path>doc/api/process.md <ide> allowed for longer process title strings by also overwriting the `environ` <ide> memory but that was potentially insecure and confusing in some (rather obscure) <ide> cases. <ide> <del>Assigning a value to `process.title` _may_ not reflect an accurate <del>(or any) label within the ...
1
Ruby
Ruby
restrict `rpath` test to `--strict`
39923cdb7f037e719aa32da96088c5603a080595
<ide><path>Library/Homebrew/linkage_checker.rb <ide> def display_test_output(puts_output: true, strict: false) <ide> display_items "Broken dependencies", @broken_deps, puts_output: puts_output <ide> display_items "Unwanted system libraries", @unwanted_system_dylibs, puts_output: puts_output <ide> display_it...
1
Javascript
Javascript
fix return description
7cd79b6f8f153d77f910cf5bdf73037223687aa2
<ide><path>src/ngMock/angular-mocks.js <ide> angular.mock.$IntervalProvider = function() { <ide> /** <ide> * @ngdoc method <ide> * @name $interval#cancel <del> * @description <del> * <del> * Clears the interval. <ide> * <del> * @param {promise} The promise of the interval to cancel. <...
1
Javascript
Javascript
add known_issues test for
e8bb9e68c0260d453d650508e56d08006be72c9f
<ide><path>test/known_issues/test-vm-data-property-writable.js <add>'use strict'; <add>// Refs: https://github.com/nodejs/node/issues/10223 <add> <add>require('../common'); <add>const vm = require('vm'); <add>const assert = require('assert'); <add> <add>const context = vm.createContext({}); <add> <add>const code = ` <a...
1
Javascript
Javascript
fix performanceobserver 'gc' crash
ea0154814a6151739129b1f13674d96135a6f1e8
<ide><path>lib/internal/perf/observe.js <ide> const kDeprecationMessage = <ide> const kTypeSingle = 0; <ide> const kTypeMultiple = 1; <ide> <add>let gcTrackingInstalled = false; <add> <ide> const kSupportedEntryTypes = ObjectFreeze([ <ide> 'function', <ide> 'gc', <ide> function maybeIncrementObserverCount(type) { ...
2
Go
Go
fix a timeout bug in sender/receiver
dfdc03b061d5bd5a7557f077b500304d4da26d2e
<ide><path>engine/remote.go <ide> func (rcv *Receiver) Run() error { <ide> f.Close() <ide> return err <ide> } <add> f.Close() <add> defer peer.Close() <ide> cmd := data.Message(p).Get("cmd") <ide> job := rcv.Engine.Job(cmd[0], cmd[1:]...) <ide> stdout, err := beam.SendRPipe(peer, data.Empty().Set("cmd",...
2
Javascript
Javascript
dashify challenge block property on seed
4ea8c019f07a753a17123d428089c85ec7f30184
<ide><path>index.js <ide> Observable.combineLatest( <ide> challenge.helpRoom = helpRoom; <ide> challenge.order = order; <ide> challenge.suborder = index + 1; <del> challenge.block = blockName; <add> challenge.block = dasherize(blockName); <ide> chall...
1
Javascript
Javascript
add tls.tlssocket to typemap
8698f691c162c87342f3533539040966ee337acd
<ide><path>tools/doc/type-parser.js <ide> const typeMap = { <ide> 'cluster.Worker': 'cluster.html#cluster_class_worker', <ide> 'dgram.Socket': 'dgram.html#dgram_class_dgram_socket', <ide> 'net.Socket': 'net.html#net_class_net_socket', <add> 'tls.TLSSocket': 'tls.html#tls_class_tls_tlssocket', <ide> 'EventEmitt...
1
Javascript
Javascript
remove the caching variable
97c4033ebf2cf0e67c2ad0ad5dd50ea627d0efae
<ide><path>lib/readline.js <ide> Interface.prototype._tabComplete = function(lastKeypressWasTab) { <ide> maxColumns = 1; <ide> } <ide> var group = []; <del> for (var i = 0, compLen = completions.length; i < compLen; i++) { <add> for (var i = 0; i < completions.length; i++) { <ide...
1
Ruby
Ruby
add documention for utc_offset method
073043ff03d749bf4e929dda3f5e614c8109a129
<ide><path>activesupport/lib/active_support/values/time_zone.rb <ide> def initialize(name, utc_offset = nil, tzinfo = nil) <ide> @current_period = nil <ide> end <ide> <add> # Returns the offset of this time zone in seconds. <ide> def utc_offset <ide> if @utc_offset <ide> @utc_offset
1
PHP
PHP
fix typo in route\finder comment
253e529c411f43df779b585bbdb15f0ef0187ca7
<ide><path>system/route/loader.php <ide> class Loader { <ide> public static function load($uri) <ide> { <ide> // -------------------------------------------------------------- <del> // If a single routes is being used, return it. <add> // If a single route file is being used, return it. <ide> // ---------------...
1
Python
Python
remove mock test file on teardown
3fa8975f7d1da76e6d04e52b3dcb9557a56af140
<ide><path>libcloud/test/storage/test_google_storage.py <ide> def setUp(self): <ide> super(GoogleStorageTests, self).setUp() <ide> self.driver_type.jsonConnectionCls.conn_class = GoogleStorageJSONMockHttp <ide> <add> def tearDown(self): <add> self._remove_test_file() <add> <ide> def test_...
2
PHP
PHP
extract base class out of subclasses
4f8d1c41d6d0fe426c87a831eea451d7bcbb4acd
<ide><path>lib/Cake/Console/TaskCollection.php <ide> <ide> use Cake\Core\App; <ide> use Cake\Error; <add>use Cake\Utility\ObjectRegistry; <ide> <ide> /** <ide> * Collection object for Tasks. Provides features <ide> * for lazily loading tasks. <ide> */ <del>class TaskCollection { <del> <del>/** <del> * Map of loade...
4
Ruby
Ruby
revert some warning removals related to ruby 2.0
ded5f5b261b324767406baca41193c08c966008a
<ide><path>activesupport/lib/active_support/core_ext/date/calculations.rb <ide> class Date <ide> include DateAndTime::Calculations <ide> <del> @beginning_of_week_default = nil <del> <ide> class << self <ide> attr_accessor :beginning_of_week_default <ide> <ide><path>activesupport/lib/active_support/core_ext/t...
3
Javascript
Javascript
upgrade loaderplugin to es6
14d48beb7552027a3ecb39d990e73e784e5fc887
<ide><path>lib/dependencies/LoaderPlugin.js <ide> MIT License http://www.opensource.org/licenses/mit-license.php <ide> Author Tobias Koppers @sokra <ide> */ <del>var LoaderDependency = require("./LoaderDependency"); <add>"use strict"; <ide> <del>function LoaderPlugin() {} <del>module.exports = LoaderPlugin; <del> <d...
1
Python
Python
ignore the result of periodictask's by default
386edbaa903244944048d39b1ecdbfcfdfcdee45
<ide><path>celery/task/base.py <ide> class PeriodicTask(Task): <ide> """ <ide> abstract = True <ide> run_every = timedelta(days=1) <add> ignore_result = True <ide> type = "periodic" <ide> <ide> def __init__(self):
1
Python
Python
fix morphological features in en tag_map
7afe56a3602e4a7876f5c87ac5b4f3531fd60487
<ide><path>spacy/lang/en/tag_map.py <ide> "Number": "sing", <ide> "Person": "three", <ide> }, <del> "WDT": {POS: ADJ, "PronType": "int,rel"}, <del> "WP": {POS: NOUN, "PronType": "int,rel"}, <del> "WP$": {POS: ADJ, "Poss": "yes", "PronType": "int,rel"}, <del> "WRB": {POS: ADV, "PronType":...
1
Ruby
Ruby
remove unnecessary .sort
0bb7c4d3ed91648f6326bf40486e511f52e06f43
<ide><path>Library/Homebrew/cmd/prune.rb <ide> def prune <ide> end <ide> end <ide> <del> dirs.sort.reverse_each do |d| <add> dirs.reverse_each do |d| <ide> if ARGV.dry_run? && d.children.empty? <ide> puts "Would remove (empty directory): #{d}" <ide> else
1
Javascript
Javascript
fix subarray error for ie9
567dd330e1dea440e0bb5f57706578278609a351
<ide><path>web/compatibility.js <ide> } <ide> <ide> function subarray(start, end) { <del> return this.slice(start, end); <add> return new TypedArray(this.slice(start, end)); <ide> } <ide> <ide> function setArrayOffset(array, offset) {
1
PHP
PHP
remove deprecated pluck methods
093a29e3ab85957998f60a4e73291bab23d3af3f
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> public function value($column) <ide> } <ide> } <ide> <del> /** <del> * Get a single column's value from the first result of a query. <del> * <del> * This is an alias for the "value" method. <del> * <del> * @param string ...
2
Javascript
Javascript
fix typo in test-tls-cnnic-whitelist
a34f1e32453951d026a3b58a30b83df065060612
<ide><path>test/parallel/test-tls-cnnic-whitelist.js <ide> function loadPEM(n) { <ide> } <ide> <ide> const testCases = [ <del> { // Test 0: for the check of a cert not existed in the whitelist. <add> { // Test 0: for the check of a cert not in the whitelist. <ide> // agent7-cert.pem is issued by the fake CNNIC r...
1
Ruby
Ruby
pass path directly to standardloader when possible
e008ceb332ddf88a8079d504adebaaead215a4ec
<ide><path>Library/Homebrew/formulary.rb <ide> def get_formula <ide> <ide> # Loads formulae from Homebrew's provided Library <ide> class StandardLoader < FormulaLoader <del> def initialize name <del> super name, Formula.path(name) <add> def initialize name, path=Formula.path(name) <add> super <ide>...
1
PHP
PHP
fix empty data for components
f5119062ab054aba21c2fbd55e9f7363b8c7b814
<ide><path>src/Illuminate/View/Compilers/Concerns/CompilesComponents.php <ide> protected function compileComponent($expression) <ide> { <ide> [$component, $data] = strpos($expression, ',') !== false <ide> ? array_map('trim', explode(',', trim($expression, '()'), 2)) <del> ...
1
Python
Python
fix push_to_hub for tpus
ba15fe7995a02357ecea6e7024918f6915564c36
<ide><path>src/transformers/trainer.py <ide> def push_to_hub(self, commit_message: Optional[str] = "add model", **kwargs) -> <ide> Returns: <ide> The url of the commit of your model in the given repository. <ide> """ <del> if not self.args.should_save: <del> return <ide> <...
1
Python
Python
fix missing para.
6714b755f4938e998907e3d949c832f77a76fadc
<ide><path>rest_framework/tests/fields.py <ide> class Meta: <ide> <ide> serializer = URLFieldSerializer(data={}) <ide> self.assertEqual(serializer.is_valid(), True) <del> self.assertEqual(getattr(serializer.fields['url_field'], 'max_length'), 20 <del> <ide>\ No newline a...
1