content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Text
Text
update the uri of devtools tutorial
8ac3fada4e282be0ade4bc4ba5065ffcea2165a3
<ide><path>docs/creating-a-theme.md <ide> _styleguide_, or use the shortcut `cmd-ctrl-shift-g`. <ide> [atom]: https://atom.io/ <ide> [package.json]: ./creating-a-package.html#package-json <ide> [less-tutorial]: https://speakerdeck.com/danmatthews/less-css <del>[devtools-tutorial]: https://developers.google.com/chrome-d...
1
PHP
PHP
fix bug in database connection
b0b0fb6f762f360da2e89c0267bc9ee86fa65142
<ide><path>src/Illuminate/Database/Connection.php <ide> public function getName() <ide> */ <ide> public function getConfig($option) <ide> { <del> return array_get($config, $option); <add> return array_get($this->config, $option); <ide> } <ide> <ide> /**
1
Python
Python
fix issue with wrapper logic
37217e85b80c389208cd3396c2cdc4b89bd46bcf
<ide><path>scripts/flaskext_migrate.py <ide> def fix(ast): <ide> <ide> if __name__ == "__main__": <ide> input_file = sys.argv[1] <del> fix(input_file) <add> ast = read_source(input_file) <add> ast = fix_imports(ast) <add> write_source(ast, input_file)
1
Go
Go
remove unnecessary else branch in getpoolname()
553b50bd37ade60bfafe5d5cc10f984251741f44
<ide><path>daemon/graphdriver/devmapper/deviceset.go <ide> func (devices *DeviceSet) oldMetadataFile() string { <ide> func (devices *DeviceSet) getPoolName() string { <ide> if devices.thinPoolDevice == "" { <ide> return devices.devicePrefix + "-pool" <del> } else { <del> return devices.thinPoolDevice <ide> } <add>...
1
Python
Python
fix header for assert_array_almost_equal
0259a4972a81295353407dfaf4ba5adcb34a42db
<ide><path>numpy/testing/utils.py <ide> def assert_almost_equal(actual,desired,decimal=7,err_msg='',verbose=True): <ide> from numpy.core import ndarray <ide> if isinstance(actual, ndarray) or isinstance(desired, ndarray): <ide> return assert_array_almost_equal(actual, desired, decimal, err_msg) <del> ...
1
Python
Python
assert fromfile ending earlier in pyx processing
4c877be5fc4075595e15b4a451f76e128376de00
<ide><path>tools/cythonize.py <ide> def process_tempita_pyx(fromfile, tofile): <ide> except ImportError: <ide> raise Exception('Building %s requires Tempita: ' <ide> 'pip install --user Tempita' % VENDOR) <add> assert fromfile.endswith('.pyx.in') <ide> with open(fromfile, "r")...
1
Javascript
Javascript
fix "function statements" in strict mode builds
88ba7ebcc77e5ff0a38954d298b6478960d0702a
<ide><path>Libraries/polyfills/console.js <ide> INSPECTOR_LEVELS[LOG_LEVELS.error] = 'error'; <ide> // strip method printing to originalConsole. <ide> const INSPECTOR_FRAMES_TO_SKIP = __DEV__ ? 2 : 1; <ide> <del>if (global.nativeLoggingHook) { <del> function getNativeLogFunction(level) { <del> return function() { ...
1
Text
Text
fix minor typos in readme
0c47e4092b61793a83fed7ac9525e3b602935f21
<ide><path>README.md <ide> They are based on the official release schedule of Python and Kubernetes, nicely <ide> [Python Developer's Guide](https://devguide.python.org/#status-of-python-branches) and <ide> [Kubernetes version skew policy](https://kubernetes.io/docs/setup/release/version-skew-policy/). <ide> <del>1. W...
1
Javascript
Javascript
remove setmaxlisteners in test-crypto-random
f07f4207522075fb5b3062afac24a19ecbb83825
<ide><path>test/parallel/test-crypto-random.js <ide> const { inspect } = require('util'); <ide> const kMaxUint32 = Math.pow(2, 32) - 1; <ide> const kMaxPossibleLength = Math.min(kMaxLength, kMaxUint32); <ide> <del>// Bump, we register a lot of exit listeners <del>process.setMaxListeners(256); <del> <ide> common.expect...
1
Ruby
Ruby
add failing test for wrong database connection
a58543dbb1ea52f3cb0c98d054ffd7bc7a373765
<ide><path>railties/test/application/test_runner_test.rb <ide> def test_rake_passes_TESTOPTS_to_minitest <ide> end <ide> <ide> def test_running_with_ruby_gets_test_env_by_default <add> # Subshells inherit `ENV`, so we need to ensure `RAILS_ENV` is set to <add> # nil before we run the tests in the tes...
1
Javascript
Javascript
fetch csrf cookie and set headers lazily
ffcf8294f1fc6f96b540ad38f7b4a5a8b350de9c
<ide><path>client/src/redux/cookieValues.js <ide> import cookies from 'browser-cookies'; <ide> <del>export const _csrf = typeof window !== 'undefined' && cookies.get('_csrf'); <ide> export const jwt = <ide> typeof window !== 'undefined' && cookies.get('jwt_access_token'); <ide><path>client/src/utils/ajax.js <ide> im...
2
Mixed
Go
update flag usages and docs for max restart count
5ad4879d2a5ee5af95c8b8ab701a621c8b49609a
<ide><path>docs/sources/reference/commandline/cli.md <ide> removed before the image is removed. <ide> format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort <ide> (use 'docker port' to see the actual mapping) <ide> --pri...
2
Text
Text
add v3.5.0-beta.4 to changelog
7c45f2066931bb779ced201797b5a8ff7eef0322
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <del>### v3.6.0-beta.1 (Unreleased) <add>### v3.5.0-beta.4 (October 1, 2018) <ide> <del>- [#17003](https://github.com/emberjs/ember.js/pull/17003) / [#17013](https://github.com/emberjs/ember.js/pull/17013) [BUGFIX] Fix rendering of empty content with `{{{...}}}` a...
1
Javascript
Javascript
upgrade requireensureplugin to es6
a589fa6d2b354b825a035171f6b9e8c1f3707635
<ide><path>lib/dependencies/RequireEnsurePlugin.js <ide> Author Tobias Koppers @sokra <ide> */ <ide> "use strict"; <del>var RequireEnsureItemDependency = require("./RequireEnsureItemDependency"); <del>var RequireEnsureDependency = require("./RequireEnsureDependency"); <del>var ConstDependency = require("./ConstDepende...
1
PHP
PHP
update toresponse return type
8fd18a33e56e4d16dd176a0342109844606fdbcd
<ide><path>src/Illuminate/Contracts/Support/Responsable.php <ide> interface Responsable <ide> * Create an HTTP response that represents the object. <ide> * <ide> * @param \Illuminate\Http\Request $request <del> * @return \Illuminate\Http\Response <add> * @return \Symfony\Component\HttpFoundatio...
1
Python
Python
fix tests for py2/3 compat
9923a6ce9013693ea1723e7895b3cab638d719fd
<ide><path>tests/test_serializer_bulk_update.py <ide> """ <ide> from __future__ import unicode_literals <ide> from django.test import TestCase <add>from django.utils import six <ide> from rest_framework import serializers <ide> <ide> <ide> def test_invalid_list_datatype(self): <ide> serializer = self.BookSeri...
1
Ruby
Ruby
use full path to sqlite database in tests
dd93a5f4598b420710fb4a9a2628abfd98799fb6
<ide><path>railties/test/application/initializers/frameworks_test.rb <ide> def from_bar_helper <ide> require "#{app_path}/config/environment" <ide> orig_database_url = ENV.delete("DATABASE_URL") <ide> orig_rails_env, Rails.env = Rails.env, 'development' <del> database_url_db_name = "db/da...
2
Python
Python
change psoftplus defaults to be nearer relu
2ada7d16cb90e6b8239a8d863c3294f03f372bbc
<ide><path>keras/layers/advanced_activations.py <ide> from ..layers.core import Layer <del>from ..utils.theano_utils import shared_zeros, shared_ones <add>from ..utils.theano_utils import shared_zeros, shared_ones, shared_scalars <ide> import theano.tensor as T <ide> <ide> class LeakyReLU(Layer): <ide> class Psoftplus...
2
Python
Python
fix inputexample docstring
ea8eba35e2984882c3cd522ff669eb8060941a94
<ide><path>src/transformers/data/processors/utils.py <ide> class InputExample(object): <ide> Args: <ide> guid: Unique id for the example. <ide> text_a: string. The untokenized text of the first sequence. For single <del> sequence tasks, only this sequence must be specified. <add> s...
1
Javascript
Javascript
use template literal for string concat
9cbfd5b580acfe4a5b0406bbf6221052afa4a01a
<ide><path>test/parallel/test-repl-persistent-history.js <ide> const replDisabled = '\nPersistent history support disabled. Set the ' + <ide> 'user-writable path to enable.\n'; <ide> const convertMsg = '\nConverted old JSON repl history to line-separated ' + <ide> 'history.\nThe ...
1
PHP
PHP
implement styled dumper based on symfony dumper
8d6bff9fc0d923201b95fe6349af4adc129a7a5a
<ide><path>src/Illuminate/Support/Debug/Dumper.php <add><?php namespace Illuminate\Support\Debug; <add> <add>use Symfony\Component\VarDumper\Cloner\VarCloner; <add>use Symfony\Component\VarDumper\Dumper\CliDumper; <add> <add>class Dumper { <add> <add> /** <add> * Var dump a value elegantly. <add> * <add> ...
3
Python
Python
fix mypy error at maths
d009cea391414bfef17520ba6b64e4c2d97163ed
<ide><path>maths/greedy_coin_change.py <ide> """ <ide> <ide> <del>def find_minimum_change(denominations: list[int], value: int) -> list[int]: <add>def find_minimum_change(denominations: list[int], value: str) -> list[int]: <ide> """ <ide> Find the minimum change from the given denominations and value <ide> ...
3
Text
Text
clarify readable.unshift null/eof
273d38b1980fe308583c430eaeb837b8e6b3d204
<ide><path>doc/api/stream.md <ide> changes: <ide> * `encoding` {string} Encoding of string chunks. Must be a valid <ide> `Buffer` encoding, such as `'utf8'` or `'ascii'`. <ide> <del>Passing `chunk` as `null` signals the end of the stream (EOF), after which no <del>more data can be written. <add>Passing `chunk` as `n...
1
Javascript
Javascript
remove legacy_handlebars_tag flag
3d0fbece8afe03610db33ed07a864e18772933d3
<ide><path>packages/ember-handlebars/lib/loader.js <ide> require("ember-handlebars/ext"); <ide> Ember.Handlebars.bootstrap = function(ctx) { <ide> var selectors = 'script[type="text/x-handlebars"], script[type="text/x-raw-handlebars"]'; <ide> <del> if (Ember.ENV.LEGACY_HANDLEBARS_TAGS) { selectors += ', script[type...
2
Java
Java
remove ioexception from handshakehandler
13ce20b1ca14320dd3ddab516aff495753a2feae
<ide><path>spring-websocket/src/main/java/org/springframework/web/socket/server/DefaultHandshakeHandler.java <ide> public String[] getSupportedProtocols() { <ide> <ide> @Override <ide> public final boolean doHandshake(ServerHttpRequest request, ServerHttpResponse response, <del> WebSocketHandler webSocketHandler, ...
11
Text
Text
add function to "map manual"
84c27f7db109f266cc47509452a4a7641d7a54cc
<ide><path>client/src/pages/guide/english/cplusplus/map/index.md <ide> d => 40 <ide> ## Creating map object <ide> ` map<string, int> myMap; ` <ide> <add>## Get Size <add>Get size of map with size function <add>``` <add>map<int, int > myMap; <add>myMap[100] = 3 <add>count << "size of map is " << myMap.size() << '\n'; ...
1
PHP
PHP
fix warning on empty data
d711364db4d7ecd5aeb0143d4e57acdd7ba28859
<ide><path>src/Controller/Component/RequestHandlerComponent.php <ide> public function startup(EventInterface $event): void <ide> $this->ext = 'ajax'; <ide> } <ide> <del> if ( <del> !$request->is(['get', 'head', 'options']) <del> && $request->getParsedBody() === [] <del>...
2
Python
Python
update the version string
990e640643e2beb4e6c13ac2e54298af97a2c334
<ide><path>libcloud/__init__.py <ide> <ide> __all__ = ["__version__", "enable_debug"] <ide> <del>__version__ = "0.5.0-dev" <add>__version__ = "0.5.0" <ide> <ide> def enable_debug(fo): <ide> """
1
Javascript
Javascript
convert throws to assertions in `registry`
3b22f49e857f959edc8b5bfeca5dbfff47b38b25
<ide><path>packages/container/lib/registry.js <ide> export default class Registry { <ide> */ <ide> register(fullName, factory, options = {}) { <ide> assert('fullName must be a proper full name', this.validateFullName(fullName)); <del> <del> if (factory === undefined) { <del> throw new TypeError(`Attemp...
2
Javascript
Javascript
add rollbar keys
3c50f7651c3e4032def54abd983545d45f528cb3
<ide><path>client/gatsby-node.js <ide> exports.onCreateWebpackConfig = ({ plugins, actions }) => { <ide> process.env.HOME_PATH || 'http://localhost:3000' <ide> ), <ide> STRIPE_PUBLIC_KEY: JSON.stringify(process.env.STRIPE_PUBLIC_KEY || ''), <add> ROLLBAR_CLIENT_ID: JSON.stringify(proces...
1
Python
Python
remove outdated entries in f2py
76b5875855e09479efca5034790a4500b138afc2
<ide><path>numpy/f2py/rules.py <ide> * This file is auto-generated with f2py (version:#f2py_version#). <ide> * f2py is a Fortran to Python Interface Generator (FPIG), Second Edition, <ide> * written by Pearu Peterson <pearu@cens.ioc.ee>. <del> * See http://cens.ioc.ee/projects/f2py2e/ <ide> * Generation date: """ +...
1
Ruby
Ruby
fix license output
5cae3f409640c2afbb1f87eaf99e790aba735f35
<ide><path>Library/Homebrew/dev-cmd/bottle.rb <ide> def bottle_formula(f, args:) <ide> "tap_git_revision" => tap_git_revision, <ide> "tap_git_remote" => tap_git_remote, <ide> "desc" => f.desc, <del> "license" => f.license, <add> "license" =...
1
PHP
PHP
fix docblock errors
a1ce05ed97f666a88a2f8c7b8e899524ce6e845c
<ide><path>src/Collection/Iterator/ReplaceIterator.php <ide> class ReplaceIterator extends Collection <ide> /** <ide> * A reference to the internal iterator this object is wrapping. <ide> * <del> * @var \Iterator <add> * @var \Traversable <ide> */ <ide> protected $_innerIterator; <ide> <...
3
PHP
PHP
improve exception logging
fc50df40808fb7939c6c1d26ce94bb477019d759
<ide><path>src/Error/ExceptionRenderer.php <ide> protected function _outputMessage(string $template): Response <ide> } <ide> <ide> return $this->_outputMessageSafe('error500'); <del> } catch (Throwable $e) { <del> return $this->_outputMessageSafe('error500'); <add> } ca...
1
Java
Java
fix compiler warnings
23bda9a5a74780dd2c56829caa23766e5ffbbb31
<ide><path>spring-test/src/main/java/org/springframework/test/web/reactive/server/JsonPathAssertions.java <ide> public boolean equals(Object obj) { <ide> "to avoid being used in error instead of JsonPathAssertions#isEqualTo(String)."); <ide> } <ide> <add> @Override <add> public int hashCode() { <add> return supe...
2
Python
Python
correct eos_token_id settings in generate
5ec368d79ecfa1467358f5b42da2cecbe23d6b0d
<ide><path>src/transformers/generation_utils.py <ide> def generate( <ide> <ide> pad_token_id = pad_token_id if pad_token_id is not None else self.config.pad_token_id <ide> eos_token_id = eos_token_id if eos_token_id is not None else self.config.eos_token_id <add> if eos_token_id is None and hasa...
2
Go
Go
fix invalid argument error on push
48ec176cd51da20e23564941da2d9906a7779d28
<ide><path>pkg/archive/archive.go <ide> func NewTempArchive(src Archive, dir string) (*TempArchive, error) { <ide> return nil, err <ide> } <ide> size := st.Size() <del> return &TempArchive{f, size, 0}, nil <add> return &TempArchive{File: f, Size: size}, nil <ide> } <ide> <ide> type TempArchive struct { <ide> *os....
2
Ruby
Ruby
fix closing tag [ci skip]
ad3f47dc2f27a74b43c29ae66820f15239c81f21
<ide><path>actionpack/lib/action_view/helpers/tag_helper.rb <ide> module TagHelper <ide> # thus accessed as <tt>dataset.userId</tt>. <ide> # <ide> # Values are encoded to JSON, with the exception of strings and symbols. <del> # This may come in handy when using jQuery's HTML5-aware <tt>.data()<tt...
1
Ruby
Ruby
move browser checking to its own class
f52e17f1c3b59f4301a84da5ed4f46a77363f29d
<ide><path>actionpack/lib/action_dispatch/system_test_case.rb <ide> require "capybara/minitest" <ide> require "action_controller" <ide> require "action_dispatch/system_testing/driver" <add>require "action_dispatch/system_testing/browser" <ide> require "action_dispatch/system_testing/server" <ide> require "action_dispat...
4
Javascript
Javascript
remove opt defaults, simplify load()
3e1542b48599d705f4038f7448f61f0907e549e0
<ide><path>packager/src/Bundler/index.js <ide> const ModuleTransport = require('../lib/ModuleTransport'); <ide> const imageSize = require('image-size'); <ide> const path = require('path'); <ide> const denodeify = require('denodeify'); <add>const defaults = require('../../defaults'); <ide> <ide> const { <ide> sep: pa...
3
Javascript
Javascript
fix treatment of some values as non-empty"
0f39ef4ca11bf0c6c6891dec3fa0d2d3d16513cb
<ide><path>lib/url.js <ide> Object.defineProperty(Url.prototype, 'port', { <ide> return null; <ide> }, <ide> set: function(v) { <del> if (isConsideredEmpty(v)) { <add> if (v === null) { <ide> this._port = -1; <ide> if (this._host) <ide> this._host = null; <ide> Object.defineProperty(Ur...
2
Javascript
Javascript
normalize whitespace for transformed jsx code
60d7a02d44d8ce893e338f0ff6ae4812c9b5331a
<ide><path>vendor/fbtransform/transforms/react.js <ide> var renderXJSExpressionContainer = <ide> var renderXJSLiteral = require('./xjs').renderXJSLiteral; <ide> var quoteAttrName = require('./xjs').quoteAttrName; <ide> <add>var trimLeft = require('./xjs').trimLeft; <add> <ide> /** <ide> * Customized desugar processor...
2
Java
Java
fix memory leak in reactive multipart parser
60f47f44894ea405e9425a34f5a4a53c8ca1cacc
<ide><path>spring-web/src/main/java/org/springframework/http/codec/multipart/SynchronossPartHttpMessageReader.java <ide> public void accept(FluxSink<Part> emitter) { <ide> catch (IOException ex) { <ide> listener.onError("Exception thrown providing input to the parser", ex); <ide> } <add> finally { <add>...
1
Javascript
Javascript
add myself as author
f1dd1daf22c8640de503b70fe5be0594200e9422
<ide><path>src/renderers/WebGLRenderer2.js <ide> * @author mrdoob / http://mrdoob.com/ <ide> * @author alteredq / http://alteredqualia.com/ <ide> * @author szimek / https://github.com/szimek/ <add> * @author gero3 / https://github.com/gero3/ <ide> */ <ide> <ide> THREE.WebGLRenderer2 = function ( parameters ) { <id...
1
Javascript
Javascript
support beta release versions
452d1cd66e8109fd5d19189207ac4be16ad827b5
<ide><path>compare-master-to-stable.js <ide> then(function (tags) { <ide> sort(semver.rcompare); <ide> }). <ide> then(function (tags) { <del> var major = tags[0].split('.')[0] + '.x'; <add> var major = tags[0].split('.')[0]; <ide> return tags. <ide> filter(function (ver) { <del> return semver.satisfies...
1
Text
Text
add changes for 1.3.0-beta.13
1e4f5ccd3cc7be0beb10144d31501bf047ad8e9e
<ide><path>CHANGELOG.md <add>Reading git log since v1.3.0-beta.12 <add>Parsed 1 commits <add>Generating changelog to stdout ( undefined ) <add><a name="1.3.0-beta.13"></a> <add># 1.3.0-beta.13 idiosyncratic-numerification (2014-06-16) <add> <add> <add>## Bug Fixes <add> <add>- **jqLite:** change expando property to a m...
1
Ruby
Ruby
check git available
31ddce85e7d37eac032e0dd80a6f45cd2ff1d4f8
<ide><path>Library/Homebrew/utils.rb <ide> def self.system(cmd, *args) <ide> end <ide> <ide> def self.git_origin <add> return unless Utils.git_available? <ide> HOMEBREW_REPOSITORY.cd { `git config --get remote.origin.url 2>/dev/null`.chuzzle } <ide> end <ide> <ide> def self.git_head <add> return unl...
1
Javascript
Javascript
return object, not just code
e89c93f4f76bcd2030b30750a08dfec2cb2b3f02
<ide><path>jest/preprocessor_DO_NOT_USE.js <ide> babelRegisterOnly([]); <ide> <ide> const transformer = require('metro-react-native-babel-transformer'); <ide> module.exports = { <del> process(src /*: string */, file /*: string */) /*: string */ { <add> process(src /*: string */, file /*: string */) /*: {code: string...
1
Ruby
Ruby
call #name rather than relying on implicit #to_s
175336202475325a6a1b13372f93d7d44dd55385
<ide><path>Library/Homebrew/cmd/pull.rb <ide> def pull <ide> unless ARGV.include?('--bottle') <ide> changed_formulae.each do |f| <ide> next unless f.bottle <del> opoo "#{f} has a bottle: do you need to update it with --bottle?" <add> opoo "#{f.name} has a bottle: do you need to...
1
Javascript
Javascript
name anonymous functions in _http_incoming
239ff06126474ec1035a676b4cb3423bcb2c4165
<ide><path>lib/_http_incoming.js <ide> util.inherits(IncomingMessage, Stream.Readable); <ide> exports.IncomingMessage = IncomingMessage; <ide> <ide> <del>IncomingMessage.prototype.setTimeout = function(msecs, callback) { <add>IncomingMessage.prototype.setTimeout = function setTimeout(msecs, callback) { <ide> if (ca...
1
PHP
PHP
fix failing tests
08cfa33602f796d2114861d5408635005cb4a5b1
<ide><path>src/Controller/Component/RequestHandlerComponent.php <ide> public function beforeRender(EventInterface $event): void <ide> $response->checkNotModified($request) <ide> ) { <ide> $controller->setResponse($response); <del> <ide> $event->stopPropagation(); <add> <add> ...
2
Javascript
Javascript
fix jslint error
5773438913ffff104ae1f4907e35f925299090d3
<ide><path>test/parallel/test-sync-io-option.js <ide> if (process.argv[2] === 'child') { <ide> // Prints 4 WARNINGS for --trace-sync-io. 1 for each sync call <ide> // inside readFileSync <ide> assert.equal(cntr1, 4); <del> } else if (execArgv[0] === ' ') <add> } else if (execArgv[0] ==...
1
PHP
PHP
remove another method i missed earlier
6047bb43bdb91883414e3b019586f09ffa5eea3f
<ide><path>src/Core/Plugin.php <ide> public static function configPath(string $name): string <ide> return $plugin->getConfigPath(); <ide> } <ide> <del> /** <del> * Loads the bootstrapping files for a plugin, or calls the initialization setup in the configuration <del> * <del> * @param string...
1
Javascript
Javascript
fix global restore
d7f2ce3a9ab4920def12fc561a7c948255257429
<ide><path>index.js <ide> var document = require("jsdom").jsdom("<html><head></head><body></body></html>") <ide> <ide> // stash globals <ide> if ("window" in global) globals.window = global.window; <del>if ("document" in global) globals.document = global.document; <ide> global.window = window; <add>if ("document" in g...
1
Ruby
Ruby
fix usage of undefined variable
fa3c55aa650e815ce548e1276845171def2847f4
<ide><path>Library/Homebrew/utils/analytics.rb <ide> def report_analytics_event(category, action, label=analytics_anonymous_prefix_an <ide> <ide> def report_analytics_exception(exception, options={}) <ide> if exception.is_a? BuildError <del> report_analytics_event("BuildError", e.formula.full_name) <add> repor...
1
Text
Text
fix minor typo
bf957c6c5096da7887fc0e6df45f8a286cf83202
<ide><path>docs/docs/flux-overview.md <ide> case 'TODO_CREATE': <ide> break; <ide> ``` <ide> <del>The arguments for `waitFor()` are an array of dipatcher registry indexes, and a final callback to invoke after the callbacks at the given indexes have completed. Thus the store that is invoking `waitFor()` can depend ...
1
Mixed
Python
deprecate .model in related routers/permissions
4d8c63abc996bcb44d7a68dd7a7234b0d9f148a0
<ide><path>docs/api-guide/permissions.md <ide> This permission is suitable if you want to your API to allow read permissions to <ide> <ide> ## DjangoModelPermissions <ide> <del>This permission class ties into Django's standard `django.contrib.auth` [model permissions][contribauth]. When applied to a view that has a ...
4
Go
Go
add support for base path in docker cli -h
47a7f770f42bc0fd9b0a594b72a8f20fb4b874d1
<ide><path>api/client/cli.go <ide> import ( <ide> "fmt" <ide> "io" <ide> "net/http" <add> "net/url" <ide> "reflect" <ide> "strings" <ide> "text/template" <ide> type DockerCli struct { <ide> proto string <ide> // addr holds the client address. <ide> addr string <add> // basePath holds the path to prepend to the...
5
Javascript
Javascript
remove unused variables from tls tests
3d2356762296ee6bf8fc98a7d8e4d07cbac278d1
<ide><path>test/parallel/test-tls-0-dns-altname.js <ide> if (!common.hasCrypto) { <ide> var tls = require('tls'); <ide> <ide> var fs = require('fs'); <del>var net = require('net'); <ide> <ide> var common = require('../common'); <ide> <ide><path>test/parallel/test-tls-async-cb-after-socket-end.js <ide> <ide> var com...
21
Javascript
Javascript
implement the `detach` method
1a05daf5dc67813528afdb88086766dc22b6c0df
<ide><path>src/jqLite.js <ide> * - [`contents()`](http://api.jquery.com/contents/) <ide> * - [`css()`](http://api.jquery.com/css/) <ide> * - [`data()`](http://api.jquery.com/data/) <add> * - [`detach()`](http://api.jquery.com/detach/) <ide> * - [`empty()`](http://api.jquery.com/empty/) <ide> * - [`eq()`](http://ap...
2
Ruby
Ruby
remove unnecessary path parameters
f7233b27f2683560fed58ee9accb95ad43b0a148
<ide><path>activerecord/lib/active_record/associations.rb <ide> module Associations # :nodoc: <ide> <ide> # These classes will be loaded when associations are created. <ide> # So there is no need to eager load them. <del> autoload :Association, 'active_record/associations/association' <del> aut...
1
PHP
PHP
fix "@since" tag
a120ac6e0d83896b47e624986a9e0d0e8d96e6c6
<ide><path>tests/TestCase/Http/Middleware/SessionCsrfProtectionMiddlewareTest.php <ide> * <ide> * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <ide> * @link http://cakephp.org CakePHP(tm) Project <del> * @since 3.5.0 <add> * @since 4.2.0 <ide> * @l...
1
Javascript
Javascript
avoid recursion for nested plain objects
8c594a61c1d169689c5877181054598af9769ff4
<ide><path>lib/serialization/PlainObjectSerializer.js <ide> <ide> "use strict"; <ide> <add>const writeObject = (obj, write, values) => { <add> const keys = Object.keys(obj); <add> for (const key of keys) { <add> const value = obj[key]; <add> if ( <add> value !== null && <add> typeof value === "object" && <add> ...
1
Python
Python
handle fortran compiler on open-solaris
bc3cfee0148369b1a58cc8b2490c0be5cc1feb18
<ide><path>numpy/distutils/command/scons.py <ide> def dist2sconsfc(compiler): <ide> return 'g77' <ide> elif compiler.compiler_type == 'gnu95': <ide> return 'gfortran' <add> elif compiler.compiler_type == 'sun': <add> return 'sunf77' <ide> else: <ide> # XXX: Just give up for now...
1
Java
Java
fix failing tests
bbd3f902d0ed2c309623f62f760ef63c15282141
<ide><path>spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/DefaultStompSessionTests.java <ide> import org.springframework.messaging.Message; <ide> import org.springframework.messaging.MessageDeliveryException; <ide> import org.springframework.messaging.converter.MessageConversionException; <add>...
1
Python
Python
ensure path on read_json
070e026ed98f4c016ab9ff2c355b4bd9d7c807c1
<ide><path>spacy/util.py <ide> def read_json(location): <ide> location (Path): Path to JSON file. <ide> RETURNS (dict): Loaded JSON content. <ide> """ <add> location = ensure_path(location) <ide> with location.open('r', encoding='utf8') as f: <ide> return ujson.load(f) <ide>
1
Mixed
Javascript
remove unused err_socket_cannot_send error
331d63624007be4bf49d6d161bdef2b5e540affa
<ide><path>doc/api/errors.md <ide> value. <ide> While using [`dgram.createSocket()`][], the size of the receive or send `Buffer` <ide> could not be determined. <ide> <del><a id="ERR_SOCKET_CANNOT_SEND"></a> <del>### `ERR_SOCKET_CANNOT_SEND` <del> <del>Data could be sent on a socket. <del> <ide> <a id="ERR_SOCKET_CLOSE...
2
Javascript
Javascript
fix path for windows machines
0c2e45acc3b8d99d3176b8b82fbffe6bed67de68
<ide><path>gulpfile.js <ide> gulp.task('serve', function(cb) { <ide> script: paths.server, <ide> ext: '.js .json', <ide> ignore: paths.serverIgnore, <del> exec: './node_modules/.bin/babel-node', <add> exec: path.join(__dirname, 'node_modules/.bin/babel-node'), <ide> env: { <ide> 'NODE_ENV': ...
1
Javascript
Javascript
add sectionseparatorcomponent support
a141e63ee44dea0cf782e4a383410af3e50b19a2
<ide><path>Examples/UIExplorer/js/SectionListExample.js <ide> const { <ide> renderSmallSwitchOption, <ide> } = require('./ListExampleShared'); <ide> <del>const SectionHeaderComponent = ({section}) => <add>const SectionHeaderComponent = ({section}) => ( <ide> <View> <ide> <Text style={styles.headerText}>SECTION...
3
Javascript
Javascript
add support for image xobjs with imagemask
62afa95fe10cde938412911374c33afbf3d3a816
<ide><path>pdf.js <ide> var PartialEvaluator = (function() { <ide> args = [ objId, w, h ]; <ide> } else { <ide> // Needs to be rendered ourself. <del> var inline = false; <del> var imageObj = new PDFImage(xref, resources, image, inlin...
1
Text
Text
add a reference to the list of openssl flags
d3d4aceb96fced82710e1cdb3dfc7224f830df48
<ide><path>doc/api/crypto.md <ide> the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL. <ide> <ide> ### Other OpenSSL constants <ide> <add>See the [list of SSL OP Flags][] for details. <add> <ide> <table> <ide> <tr> <ide> <th>Constant</th> <ide> the `crypto`, `tls`, and `https` module...
1
Python
Python
fix gpt2config parameters in gpt2modeltester
b518aaf193938247f698a7c4522afe42b025225a
<ide><path>tests/test_modeling_gpt2.py <ide> def get_config(self, gradient_checkpointing=False): <ide> n_embd=self.hidden_size, <ide> n_layer=self.num_hidden_layers, <ide> n_head=self.num_attention_heads, <del> intermediate_size=self.intermediate_size, <del> hid...
1
Javascript
Javascript
add ios 12 textcontenttype options
644fc57fad4b163e96c3b3d6ec441c7b566d2d43
<ide><path>Libraries/Components/TextInput/TextInput.js <ide> type IOSProps = $ReadOnly<{| <ide> | 'telephoneNumber' <ide> | 'username' <ide> | 'password' <add> | 'newPassword' <add> | 'oneTimeCode' <ide> ), <ide> scrollEnabled?: ?boolean, <ide> |}>; <ide> const TextInput = createReactClass({ <ide>...
1
Text
Text
add changelog entry for [ci skip]
2b2e04150680498f043720de34f82e6dc647c14a
<ide><path>activesupport/CHANGELOG.md <add>* Deprecate `capture` and `quietly`. <add> <add> These methods are not thread safe and may cause issues when used in threaded environments. <add> To avoid problems we are deprecating them. <add> <add> *Tom Meier* <add> <ide> * `DateTime#to_f` now preserves the fra...
1
Text
Text
add a readme
b905b41285e0919928ba18887ccc7504ff67b13d
<ide><path>neural_programmer/README.md <add>Implementation of the Neural Programmer model described in https://openreview.net/pdf?id=ry2YOrcge <add> <add>Download the data from http://www-nlp.stanford.edu/software/sempre/wikitable/ Change the data_dir FLAG to the location of the data <add> <add>Training: python neural_...
1
Text
Text
add common.wpt to test readme
3fffebbde3221323d45f72a22a936120fe43de58
<ide><path>test/README.md <ide> The realpath of the 'tmp' directory. <ide> * return [&lt;String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) <ide> <ide> Name of the temp directory used by tests. <add> <add>### WPT <add> <add>A port of parts of <add>[W3C testharness.js](https:/...
1
Java
Java
simplify use of headers for sockjsclient requests
b7bdd724b2eab6959eade7868cfb1ecf21aa118b
<ide><path>spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/AbstractXhrTransport.java <ide> <ide> import org.springframework.http.HttpHeaders; <ide> import org.springframework.http.HttpStatus; <del>import org.springframework.http.MediaType; <ide> import org.springframework.http.ResponseEntit...
17
Javascript
Javascript
improve test coverage for comparisons
c3bd65146e95968edf81b70f51823e0f44e701f2
<ide><path>test/parallel/test-assert-deep.js <ide> assertOnlyDeepEqual( <ide> new Map([[null, undefined]]), <ide> new Map([[undefined, null]]) <ide> ); <add> <ide> assertOnlyDeepEqual( <ide> new Set([null, '']), <ide> new Set([undefined, 0]) <ide> assertNotDeepOrStrict( <ide> new Set(['']), <ide> new Set(['...
1
Go
Go
remove duplicate rootfstoapitype
4ceea53b5e6a86c39122e99f6ffbc1142d28a174
<ide><path>daemon/daemon_unix.go <ide> import ( <ide> "github.com/docker/docker/container" <ide> "github.com/docker/docker/daemon/config" <ide> "github.com/docker/docker/daemon/initlayer" <del> "github.com/docker/docker/image" <ide> "github.com/docker/docker/opts" <ide> "github.com/docker/docker/pkg/containerfs" <...
3
PHP
PHP
add docblock examples for attachments
8414d37e48d1e2eb839be28ec1a97632a46bc5ce
<ide><path>lib/Cake/Network/Email/CakeEmail.php <ide> public function messageId($message = null) { <ide> } <ide> <ide> /** <del> * Attachments <add> * Add attachments to the email message <add> * <add> * Attachments can be defined in a few forms depending on how much control you need: <add> * <add> * Attach a single ...
1
Text
Text
add a link to some documentation about exec
7f1ea7129e7b87e60ea4b1e4449b0541f6f432c9
<ide><path>docs/sources/articles/dockerfile_best-practices.md <ide> beginning user will then be forced to learn about `ENTRYPOINT` and <ide> `--entrypoint`. <ide> <ide> In order to avoid a situation where commands are run without clear visibility <del>to the user, make sure your script ends with something like `exec "...
1
Javascript
Javascript
handle case when regexp is false in context
9f21fed24791e0c1ba4a9e6249d3fc50d1168a35
<ide><path>lib/ContextModuleFactory.js <ide> ContextModuleFactory.prototype.create = function(context, dependency, callback) <ide> }; <ide> <ide> ContextModuleFactory.prototype.resolveDependencies = function resolveDependencies(fs, resource, recursive, regExp, callback) { <add> if(!regExp || !resource) <add> return c...
1
Java
Java
reset mbean servers after jruby and jmx tests
0d73d199ec645f6d332d3283b72a531b26575cf6
<ide><path>spring-context/src/test/java/org/springframework/jmx/AbstractMBeanServerTests.java <ide> import org.springframework.beans.factory.xml.XmlBeanDefinitionReader; <ide> import org.springframework.context.ConfigurableApplicationContext; <ide> import org.springframework.context.support.GenericApplicationContext; <...
4
PHP
PHP
allow string for parameters
e44933af48548502f79d6b8049824205fa229b91
<ide><path>src/Illuminate/Routing/PendingResourceRegistration.php <ide> public function name($method, $name) <ide> /** <ide> * Override the route parameter names. <ide> * <del> * @param array $parameters <add> * @param array|string $parameters <ide> * @return \Illuminate\Routing\PendingRe...
2
Text
Text
fix broken external link in security guide
d23fb68e3d4b8cc81e877266aefce95dac562699
<ide><path>guides/source/security.md <ide> In December 2006, 34,000 actual user names and passwords were stolen in a [MySpa <ide> <ide> INFO: _CSS Injection is actually JavaScript injection, because some browsers (IE, some versions of Safari and others) allow JavaScript in CSS. Think twice about allowing custom CSS in...
1
Text
Text
update example output for node inspect
dcb052c12bf6e67184d0cb6a69daf39c25666cfe
<ide><path>docs/reference/commandline/node_inspect.md <ide> Example output: <ide> $ docker node inspect --pretty self <ide> ID: e216jshn25ckzbvmwlnh5jr3g <ide> Hostname: swarm-manager <add> Joined at: 2016-06-16 22:52:44.9910662 +0000 utc <ide> Status: <...
2
Go
Go
relax dns search to accept empty domain
804b00cd7d1f084a872211e5043d255c454c8e51
<ide><path>docker/docker.go <ide> func main() { <ide> flSocketGroup = flag.String([]string{"G", "-group"}, "docker", "Group to assign the unix socket specified by -H when running in daemon mode\nuse '' (the empty string) to disable setting of a group") <ide> flEnableCors = flag.Bool([]string{"#api-en...
7
Javascript
Javascript
remove dependency on window.settimeout
021bdf3922b6525bd117e59fb4945b30a5a55341
<ide><path>src/Angular.js <ide> function bootstrap(element, modules) { <ide> }]); <ide> modules.unshift('ng'); <ide> var injector = createInjector(modules); <del> injector.invoke(['$rootScope', '$rootElement', '$compile', '$injector', <del> function(scope, element, compile, injector) { <add> inj...
3
Go
Go
remove redundant return nil
9788822421255a0516a0e3ce2ac32b1ec9d7d894
<ide><path>daemon/cluster/cluster.go <ide> func (c *Cluster) RemoveService(input string) error { <ide> return err <ide> } <ide> <del> if _, err := state.controlClient.RemoveService(ctx, &swarmapi.RemoveServiceRequest{ServiceID: service.ID}); err != nil { <del> return err <del> } <del> return nil <add> _, err = sta...
1
Javascript
Javascript
remove moz statements from requestanimationframe
7d09bd30f9fc2c265588323817b541fd26b9abe0
<ide><path>src/ngAnimate/animate.js <ide> angular.module('ngAnimate', ['ng']) <ide> */ <ide> .factory('$$animateReflow', ['$window', '$timeout', function($window, $timeout) { <ide> var requestAnimationFrame = $window.requestAnimationFrame || <del> $window.mozRequestAnimatio...
1
Java
Java
remove todos related to profile logging
150838bfc13a136ef0baf943e378a8ebb5f3549f
<ide><path>org.springframework.beans/src/main/java/org/springframework/beans/factory/xml/DefaultBeanDefinitionDocumentReader.java <ide> /* <del> * Copyright 2002-2010 the original author or authors. <add> * Copyright 2002-2011 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version ...
5
Javascript
Javascript
fix the type of svggraphics
d72bbecee23c0bca0998b9dce64179c1a2691a62
<ide><path>src/display/svg.js <ide> import { <ide> import { DOMSVGFactory } from "./display_utils.js"; <ide> import { isNodeJS } from "../shared/is_node.js"; <ide> <add>/** @type {any} */ <ide> let SVGGraphics = function () { <ide> throw new Error("Not implemented: SVGGraphics"); <ide> };
1
Go
Go
update documents of `detect`
0bbd476ceb8da679f818df529cc917ec807a16af
<ide><path>builder/remotecontext/detect.go <ide> import ( <ide> const ClientSessionRemote = "client-session" <ide> <ide> // Detect returns a context and dockerfile from remote location or local <del>// archive. progressReader is only used if remoteURL is actually a URL <del>// (not empty, and not a Git endpoint). <add...
1
PHP
PHP
add allteststest for skeleton app
0661d7832b2b12ba76a3dd407fc75d39c62028ca
<ide><path>lib/Cake/Console/Templates/skel/Test/Case/AllTestsTest.php <add><?php <add>/** <add> * AllTests file <add> * <add> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <add> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <add> * <add> * Licensed under The MIT License <...
1
Ruby
Ruby
replace array#shuffle.first with array#sample
2b6bacd1927830e23bf99ed319a067c004ae92ac
<ide><path>actionpack/lib/action_dispatch/journey/gtg/transition_table.rb <ide> def visualizer(paths, title = 'FSM') <ide> erb = File.read File.join(viz_dir, 'index.html.erb') <ide> states = "function tt() { return #{to_json}; }" <ide> <del> fun_routes = paths.shuffle.first(3).map...
1
Ruby
Ruby
allow strings as update assignments
3e6ad6e5838d20c946d7a286cb34be12aae177ff
<ide><path>lib/arel/engines/sql/relations/writes.rb <ide> def to_sql(formatter = nil) <ide> protected <ide> <ide> def assignment_sql <del> assignments.collect do |attribute, value| <del> "#{engine.quote_column_name(attribute.name)} = #{attribute.format(value)}" <del> end.join(",\n") <add> i...
1
Java
Java
add option to always append 'must-revalidate'
68d4a70f8e7315d227b7727b087a65e64f4b0f9e
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/support/WebContentGenerator.java <ide> /* <del> * Copyright 2002-2012 the original author or authors. <add> * Copyright 2002-2013 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide>...
1
Javascript
Javascript
use memorize util instead of lazyrequire
faea05d195a0733ba6cbb34d3cf00fbaf5527818
<ide><path>lib/asset/AssetModulesPlugin.js <ide> <ide> "use strict"; <ide> <add>const memorize = require("../util/memorize"); <ide> const validateOptions = require("schema-utils"); <ide> const { compareModulesByIdentifier } = require("../util/comparators"); <ide> <ide> const { compareModulesByIdentifier } = require(...
5
PHP
PHP
add support for "where value" subqueries
2227c446fcecb365346a08de203c1997de96a931
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> public function whereKeyNot($id) <ide> */ <ide> public function where($column, $operator = null, $value = null, $boolean = 'and') <ide> { <del> if ($column instanceof Closure) { <add> if ($column instanceof Closure && is_null($oper...
2
Go
Go
fix a race in cleaning up after journald followers
52c0f36f7b7aa794932fa41dfe50dc85f78e6146
<ide><path>daemon/logger/journald/read.go <ide> func (s *journald) followJournal(logWatcher *logger.LogWatcher, config logger.Re <ide> s.readers.mu.Lock() <ide> delete(s.readers.readers, logWatcher) <ide> s.readers.mu.Unlock() <add> C.sd_journal_close(j) <add> close(logWatcher.Msg) <ide> }() <ide> // Wait unt...
1