content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Text
Text
fix typo in guides/source/engines.md
d2d07b3adea8f443296dfb67c9c568d35d1e13bc
<ide><path>guides/source/engines.md <ide> Now people will only need to go to the root of the engine to see all the posts, <ide> <ide> ### Generating a comments resource <ide> <del>Now that the engine can create new blog posts, it only makes sense to add commenting functionality as well. To do get this, you'll need to...
1
Go
Go
fix the storing of setuid bits, etc
5ba24629610c27f08b54ff4c1f000ad6d787c156
<ide><path>archive/archive.go <ide> func addTarFile(path, name string, tw *tar.Writer) error { <ide> } <ide> <ide> func createTarFile(path, extractDir string, hdr *tar.Header, reader io.Reader) error { <add> // hdr.Mode is in linux format, which we can use for sycalls, <add> // but for os.Foo() calls we need the mode ...
1
Javascript
Javascript
use countdown in http-response-statuscode
f3f66a8d5a9b67216d19f6307b2a615f60185333
<ide><path>test/parallel/test-http-response-statuscode.js <ide> const common = require('../common'); <ide> const assert = require('assert'); <ide> const http = require('http'); <add>const Countdown = require('../common/countdown'); <ide> <ide> const MAX_REQUESTS = 13; <ide> let reqNum = 0; <ide> const server = http.Se...
1
Java
Java
remove unused code
da071c1fceb48ac32ebab105d04a204d1ac8642e
<ide><path>spring-web/src/main/java/org/springframework/web/util/UrlPathHelper.java <ide> public void setDefaultEncoding(String defaultEncoding) { <ide> } <ide> }; <ide> <del> <del> private static class HttpServletMappingHelper { <del> <del> <del> <del> } <ide> }
1
Javascript
Javascript
extend error context to resource and issuer
f2c0e59e06b6aa409e253cdf37ec20327c4d497a
<ide><path>lib/RuleSet.js <ide> RuleSet.normalizeRule = function(rule) { <ide> var newRule = {}; <ide> var useSource; <ide> var resourceSource; <add> var condition; <ide> <ide> if(rule.test || rule.include || rule.exclude) { <ide> checkResourceSource("test + include + exclude"); <del> var condition = { <add> c...
2
Javascript
Javascript
add more functions to the shadernode
31df72c8b528a8ef28c94fa926c843f789f3c0e5
<ide><path>examples/jsm/renderers/nodes/ShaderNode.js <ide> import VarNode from './core/VarNode.js'; <ide> // inputs <ide> import ColorNode from './inputs/ColorNode.js'; <ide> import FloatNode from './inputs/FloatNode.js'; <add>import IntNode from './inputs/IntNode.js'; <ide> import Vector2Node from './inputs/Vector2No...
2
PHP
PHP
fix cs error
b1c09ecd57c275d57677a1b6ec07e2595ce6e896
<ide><path>src/Http/Exception/RedirectException.php <ide> */ <ide> class RedirectException extends Exception <ide> { <del> <ide> /** <ide> * Headers to include in the response. <ide> *
1
Javascript
Javascript
use a test case that demonstrates the fix
0941cc9884e0a1a91fd1bc0ba8b4cff271a5eb14
<ide><path>src/renderers/dom/client/__tests__/ReactMount-test.js <ide> describe('ReactMount', function() { <ide> it('should account for escaping on a checksum mismatch', function () { <ide> var div = document.createElement('div'); <ide> var markup = React.renderToString( <del> <div>This markup contains a...
1
Python
Python
remove leftover doctestplus plugin
af39d67f78ec512d26d69ee32b3eb6966a1f86c8
<ide><path>doc/conftest.py <ide> def add_np(doctest_namespace): <ide> numpy.random.seed(1) <ide> doctest_namespace['np'] = numpy <ide> <del>pytest_plugins = ["pytest_doctestplus"]
1
Javascript
Javascript
fix url query update if searchparams changes
b465cd07fee443ef23b55d05b838379b4069bfa4
<ide><path>lib/internal/url.js <ide> function update(url, params) { <ide> if (!url) <ide> return; <ide> <del> url[context].query = params.toString(); <add> const ctx = url[context]; <add> const serializedParams = params.toString(); <add> if (serializedParams) { <add> ctx.query = serializedParams; <add> ...
2
Ruby
Ruby
add a translation helper
c9ed2c9bd24b9f4cdfcb692151f87ba900469e71
<ide><path>actionpack/lib/action_view/helpers/translation_helper.rb <add>require 'action_view/helpers/tag_helper' <add> <add>module ActionView <add> module Helpers <add> module TranslationHelper <add> def translate(*args) <add> key, locale, options = I18n.send :process_translate_arguments, *args <add> ...
2
Ruby
Ruby
remove the formats writer on templates
a213c4829ab0d87b2a7a74df0e35513c6ea6bdea
<ide><path>actionview/lib/action_view/template.rb <ide> def self.finalize_compiled_template_methods=(_) <ide> <ide> extend Template::Handlers <ide> <del> attr_accessor :locals, :formats, :variants, :virtual_path <add> attr_accessor :locals, :variants, :virtual_path <ide> <ide> attr_reader :source, :ide...
1
Ruby
Ruby
use homebrew_visual as pager if set
b31b14f7869c921f95f46d563ae13034113b5fe6
<ide><path>Library/Homebrew/cmd/cat.rb <ide> def cat <ide> raise "`brew cat` doesn't support multiple arguments" if args.remaining.size > 1 <ide> <ide> cd HOMEBREW_REPOSITORY <del> safe_system "cat", formulae.first.path, *Homebrew.args.passthrough <add> pager = ENV["HOMEBREW_VISUAL"] || "cat" <add> sa...
1
Ruby
Ruby
simplify conditions for superenv activation
722a5af4ebf68adb9fc3d2e828d054e228dcf5f0
<ide><path>Library/Homebrew/extend/ENV.rb <ide> require 'extend/ENV/super' <ide> <ide> def superenv? <del> return false if MacOS::Xcode.without_clt? && MacOS.sdk_path.nil? <del> return false unless Superenv.bin && Superenv.bin.directory? <del> return false if ARGV.env == "std" <del> true <add> Superenv.bin && Sup...
1
Ruby
Ruby
add support for external ocaml deps via opam
6672ef5f9f4c89353ec5ae8031bb826dcf486b36
<ide><path>Library/Homebrew/dependencies.rb <ide> class DependencyCollector <ide> # Define the languages that we can handle as external dependencies. <ide> LANGUAGE_MODULES = [ <del> :chicken, :jruby, :lua, :node, :perl, :python, :rbx, :ruby <add> :chicken, :jruby, :lua, :node, :ocaml, :perl, :python, :rbx, :...
2
Javascript
Javascript
rebuild distribution files
b061991389ffd7cb2b70ca650c2ed46728fde360
<ide><path>dist/immutable.js <ide> var ITERATOR_SYMBOL = REAL_ITERATOR_SYMBOL || FAUX_ITERATOR_SYMBOL; <ide> <ide> <del> function Iterator(next) { <add> function src_Iterator__Iterator(next) { <ide> this.next = next; <ide> } <ide> <del> Iterator.prototype.toString = function() { <add> src_Iterato...
1
Go
Go
extract daemon to its own package
48de91a33f097d4c20515088af1f5bcb9a98c5c9
<ide><path>integration-cli/check_test.go <ide> import ( <ide> <ide> "github.com/docker/docker/api/types/swarm" <ide> "github.com/docker/docker/cliconfig" <add> "github.com/docker/docker/integration-cli/daemon" <ide> "github.com/docker/docker/pkg/reexec" <ide> "github.com/go-check/check" <ide> ) <ide> type DockerSu...
39
Ruby
Ruby
add falcon to the available rack servers
de089db0330f6d9fdd5820d984f725a5de9e5d6c
<ide><path>railties/lib/rails/commands/server/server_command.rb <ide> class ServerCommand < Base # :nodoc: <ide> <ide> # Hard-coding a bunch of handlers here as we don't have a public way of <ide> # querying them from the Rack::Handler registry. <del> RACK_SERVERS = %w(cgi fastcgi webrick lsws scgi th...
1
Ruby
Ruby
improve readability of ar explain result
c1ea574b276389e565c38ff0584962afaefdeb2d
<ide><path>activerecord/lib/active_record/explain.rb <ide> def collecting_queries_for_explain # :nodoc: <ide> # Makes the adapter execute EXPLAIN for the tuples of queries and bindings. <ide> # Returns a formatted string ready to be logged. <ide> def exec_explain(queries) # :nodoc: <del> queries && que...
1
Javascript
Javascript
use var for all locales
4616c1d55c676cd51377bc6e1d12de037b872cdd
<ide><path>src/locale/ca-ES.js <ide> import "locale"; <ide> <del>d3.locale.ca_ES = d3.locale({ <add>var d3_locale_caES = d3.locale({ <ide> decimal: ",", <ide> thousands: ".", <ide> grouping: [3], <ide><path>src/locale/de-DE.js <ide> import "locale"; <ide> <del>d3.locale.de_DE = d3.locale({ <add>var d3_locale_de...
18
PHP
PHP
fix identation for entity clean() test
fb442f6f8a9222095a975968d2492b2f213ca6cc
<ide><path>tests/TestCase/ORM/TableTest.php <ide> public function testEntityClean() <ide> $entity->clean(); <ide> <ide> $this->assertEmpty($entity->errors()); <del> $this->assertFalse($entity->dirty()); <add> $this->assertFalse($entity->dirty()); <ide> $this->assertEquals([], $entity->i...
1
Ruby
Ruby
remove spdx-id as a attr_reader attribute
ba824d9488de3ad4e8efd58478f3ba3d9aaf1684
<ide><path>Library/Homebrew/dev-cmd/audit.rb <ide> def reverse_line_number(regex) <ide> class FormulaAuditor <ide> include FormulaCellarChecks <ide> <del> attr_reader :formula, :text, :problems, :new_formula_problems, :spdx_ids <add> attr_reader :formula, :text, :problems, :new_formula_problems <ide> <ide...
1
PHP
PHP
fix inconsistent type
6bc2d104c2fba91ba33e84bc6e487c448c6e1d19
<ide><path>src/Database/Schema/TableSchema.php <ide> public function indexes(): array <ide> /** <ide> * {@inheritDoc} <ide> */ <del> public function getIndex($name): array <add> public function getIndex($name): ?array <ide> { <ide> if (!isset($this->_indexes[$name])) { <ide> ...
1
Text
Text
move openssl maintenance guide to doc
5eb85dd972b1b69aebf16d331df6761847a31b2a
<ide><path>deps/openssl/README.md <ide> Please refer [config/opensslconf_asm.h](config/opensslconf_asm.h) for details. <ide> <ide> ### Upgrading OpenSSL <ide> <del>Please refer [config/README.md](config/README.md). <add>Please refer to [maintaining-openssl](../../doc/guides/maintaining-openssl.md). <add><path>doc/gui...
2
Text
Text
add documentation for project guidelines
90c15b1982dc57d258cf7cb098776e0601cb9a5c
<ide><path>dev/PROJECT_GUIDELINES.md <add><!-- <add> Licensed to the Apache Software Foundation (ASF) under one <add> or more contributor license agreements. See the NOTICE file <add> distributed with this work for additional information <add> regarding copyright ownership. The ASF licenses this file <add> to you und...
1
Ruby
Ruby
add available transformations to docs [ci skip]
0e883d163974cad2d7d0e0cfdc6cf38f1042571f
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb <ide> def add_column(name, type, options) <ide> # t.date <ide> # t.binary <ide> # t.boolean <add> # t.foreign_key <add> # t.json <add> # t.virtual <ide> # t.remove <ide> ...
1
Python
Python
set bigger maxdiff for ogrinspect tests
8eb84081ada2a1a71ca701c8d3f0db0d4c61ae28
<ide><path>django/contrib/gis/tests/inspectapp/tests.py <ide> <ide> <ide> class OGRInspectTest(TestCase): <add> maxDiff = 1024 <add> <ide> def test_poly(self): <ide> shp_file = os.path.join(TEST_DATA, 'test_poly', 'test_poly.shp') <ide> model_def = ogrinspect(shp_file, 'MyModel')
1
Javascript
Javascript
remove usage of require('util') in `esm/loader.js`
ad661ca209f68e7aa0e7396fe0d04499daeb71a9
<ide><path>lib/internal/modules/esm/loader.js <ide> const translators = require('internal/modules/esm/translators'); <ide> <ide> const FunctionBind = Function.call.bind(Function.prototype.bind); <ide> <del>const debug = require('util').debuglog('esm'); <add>const debug = require('internal/util/debuglog').debuglog('es...
1
Javascript
Javascript
change var to const in ./doc/addon-verify
bce27c2cf37ed96abecd7625ff1d22c72c3b99c8
<ide><path>tools/doc/addon-verify.js <ide> ${files[name].replace('Release', "' + common.buildType + '")} <ide> fs.mkdir(dir, function() { <ide> // Ignore errors <ide> <del> var done = once(ondone); <add> const done = once(ondone); <ide> var waiting = files.length; <ide> files.forEach(function(file)...
1
Text
Text
fix typo in readme.md
46dfe99e44887e40b821b0232dcfe6a52d31c3c4
<ide><path>examples/pytorch/README.md <ide> A few notes on this integration: <ide> ## Distributed training and mixed precision <ide> <ide> All the PyTorch scripts mentioned above work out of the box with distributed training and mixed precision, thanks to <del>the [Trainer API](https://huggingface.co/transformers/main...
1
Text
Text
update security release onboarding
dfdfd2471f66dbb70e977410e728eb7302d5132c
<ide><path>doc/contributing/security-steward-on-off-boarding.md <ide> to the project and not to use/disclose to their employer. <ide> * Add them to the security-stewards team in the GitHub nodejs-private <ide> organization. <add>* Add them to the [public website team](https://github.com/orgs/nodejs/teams/website). ...
1
Text
Text
add release notes for 1.7.1
05170bf3716359f81b32bf5113330dd6240a0cf7
<ide><path>CHANGELOG.md <add><a name="1.7.1"></a> <add># 1.7.1 momentum-defiance (2018-06-08) <add> <add> <add>## Bug Fixes <add>- **$compile:** support transcluding multi-element directives <add> ([789db8](https://github.com/angular/angular.js/commit/789db83a8ae0e2db5db13289b2c29e56093d967a), <add> [#15554](https://...
1
Ruby
Ruby
give higher priority to assets.cache_store
86e2f888e7a3b96f880ab33bfcf4fbf275a40544
<ide><path>actionpack/lib/sprockets/railtie.rb <ide> def asset_environment(app) <ide> env.logger = Rails.logger <ide> <ide> if env.respond_to?(:cache) <del> env.cache = Rails.cache <add> env.cache = assets.cache_store || Rails.cache <ide> end <ide> <ide> if assets.com...
1
Javascript
Javascript
decorate resolve and reject to clear timeout
fa3c6d22f7a5e0a963119109fccb8d86ad981c03
<ide><path>lib/adapters/http.js <ide> var enhanceError = require('../core/enhanceError'); <ide> <ide> /*eslint consistent-return:0*/ <ide> module.exports = function httpAdapter(config) { <del> return new Promise(function dispatchHttpRequest(resolve, reject) { <add> return new Promise(function dispatchHttpRequest(res...
1
Ruby
Ruby
add automatic tap repair
399388d8b9a29333135bd7bf2c4f7f159569d89b
<ide><path>Library/Homebrew/cmd/pull.rb <ide> def pull <ide> ohai 'Patch changed:' <ide> safe_system "git", "diff-tree", "-r", "--stat", revision, "HEAD" <ide> <add> safe_system "brew", "tap", "--repair" if tap_name <add> <ide> if ARGV.include? '--install' <ide> changed_formulae.each do ...
1
Javascript
Javascript
preserve assets from concatenated module
ab9e9383674ba84cddf4fd48d13c64c73282969a
<ide><path>lib/optimize/ConcatenatedModule.js <ide> class ConcatenatedModule extends Module { <ide> this.dependenciesErrors = []; <ide> this.warnings = []; <ide> this.errors = []; <add> this.assets = {}; <ide> for(const m of modules) { <ide> // populate dependencies <ide> m.dependencies.filter(dep => !mo...
1
Javascript
Javascript
check map.format for transparency in gltf2loader
08d40df55b87e14b1a5b7104cb715eab1b4d9f77
<ide><path>examples/js/loaders/GLTF2Loader.js <ide> THREE.GLTF2Loader = ( function () { <ide> <ide> } <ide> <del> // set transparent true if map baseColorTexture is specified because <del> // A channel values of it can be less than 1.0. <del> if ( materialParams.opacity < 1.0 || materialParam...
1
PHP
PHP
fix some compiled stuff
6020b7c2937df9cae48b5f4e3ebd0c623d1c79b1
<ide><path>src/Illuminate/Foundation/Console/Optimize/config.php <ide> $basePath.'/vendor/laravel/framework/src/Illuminate/Contracts/Auth/UserProvider.php', <ide> $basePath.'/vendor/laravel/framework/src/Illuminate/Auth/EloquentUserProvider.php', <ide> $basePath.'/vendor/laravel/framework/src/Illuminate/Con...
1
Ruby
Ruby
fix usage of lambda as a rack endpoint
dbacb95a2187e853c0615f30919a407744162595
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> def root(options = {}) <ide> # A pattern can also point to a +Rack+ endpoint i.e. anything that <ide> # responds to +call+: <ide> # <del> # match 'photos/:id', to: lambda {|hash| [200, {}, "Coming soon"] } <add> # ...
3
PHP
PHP
add line break for plain text mails
3dafb5a3840053420d850e1ccb249efc980af94e
<ide><path>src/Illuminate/Notifications/resources/views/email.blade.php <ide> @if (! empty($salutation)) <ide> {{ $salutation }} <ide> @else <del>@lang('Regards'),<br>{{ config('app.name') }} <add>@lang('Regards'),<br> <add>{{ config('app.name') }} <ide> @endif <ide> <ide> {{-- Subcopy --}}
1
Java
Java
improve tcp connection info logging
37b0ed9fcb74c42dd6a8de24834d5ac7e75392f6
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/ReactorNettyTcpStompClient.java <ide> public void shutdown() { <ide> this.tcpClient.shutdown(); <ide> } <ide> <add> @Override <add> public String toString() { <add> return "ReactorNettyTcpStompClient[" + this.tcpClient + "]"; <add> ...
4
Javascript
Javascript
fix error string in codegennativecomponent
deaaab908b24a0fae9fee73822198cc4972a98f4
<ide><path>Libraries/Utilities/codegenNativeComponent.js <ide> function codegenNativeComponent<Props>( <ide> componentNameInUse = options.paperComponentNameDeprecated; <ide> } else { <ide> throw new Error( <del> 'Failed to find native component for either "::_COMPONENT_NAME_::" or "::_COMPONENT_N...
1
Python
Python
add missing softirq stat against total cpu usage
6acd6cc6caf2df7e30eb2291b6d3a447e3555271
<ide><path>glances/glances.py <ide> def __update__(self, input_stats): <ide> if hasattr(self.cputime_new, 'irq'): <ide> self.cpu['irq'] = (self.cputime_new.irq - <ide> self.cputime_old.irq) * percent <add> if hasattr(self.cputime_...
1
Java
Java
add mockserverconfigurer to webtestclient
4db0ce12e1df049d651a03894b1307bd002833cf
<ide><path>spring-test/src/main/java/org/springframework/test/web/reactive/server/AbstractMockServerSpec.java <ide> <ide> private final List<WebFilter> filters = new ArrayList<>(4); <ide> <add> private final List<MockServerConfigurer> configurers = new ArrayList<>(4); <add> <ide> <ide> @Override <ide> public <T e...
4
Text
Text
add link to gulpjs
b59a8d94cc5f7253a4b8ad8be8d4b3072faf375e
<ide><path>docs/README.md <ide> $ npm install <ide> <ide> ### Instructions <ide> <del>The site requires React, so first make sure you've built the project (via `grunt`). <add>The site requires React, so first make sure you've built the project (via [`grunt`](http://gruntjs.com/getting-started)). <ide> <ide> Use Jeky...
1
Ruby
Ruby
add source modified time metadata
fab16b83e94cb38d9f90834c87b7f1604f19f14e
<ide><path>Library/Homebrew/tab.rb <ide> def self.clear_cache <ide> CACHE.clear <ide> end <ide> <del> def self.create(formula, compiler, stdlib, build) <add> def self.create(formula, compiler, stdlib, build, source_modified_time) <ide> attributes = { <ide> "used_options" => build.used_options.as_flag...
2
Python
Python
fix a encoding error
835f60d8b4b4948c908b10aaafa9828db3c3071a
<ide><path>utils/build/build.py <ide> def main(argv=None): <ide> sourcemap = sourcemapping = sourcemapargs = '' <ide> <ide> fd, path = tempfile.mkstemp() <del> tmp = open(path, 'w') <add> tmp = open(path, 'w', encoding="utf-8") <ide> sources = [] <ide> <ide> if args.amd: <ide> tmp.write('( function ( root, f...
1
PHP
PHP
fix vulnerability in encrypter mac address
65d9a061d9209694e8addd9c6ce94dcf5bfe7180
<ide><path>src/Illuminate/Encryption/Encrypter.php <ide> public function encrypt($value) <ide> // Once we have the encrypted value we will go ahead base64_encode the input <ide> // vector and create the MAC for the encrypted value so we can verify its <ide> // authenticity. Then, we'll JSON encode the data in a "...
1
Javascript
Javascript
fix collectionview.arraydidchange documentation
d7bcbf0628d6b177ea854ba7a9b274b4295caff1
<ide><path>packages/ember-views/lib/views/collection_view.js <ide> Ember.CollectionView = Ember.ContainerView.extend( <ide> This array observer is added in `contentDidChange`. <ide> <ide> @method arrayDidChange <del> @param {Array} addedObjects the objects that were added to the content <del> @param {Arr...
1
Go
Go
remove unused mock code and use gotest.tools
746c51b54f0d891333016012c3d04e6deb724757
<ide><path>registry/auth_test.go <ide> import ( <ide> <ide> "github.com/docker/docker/api/types" <ide> registrytypes "github.com/docker/docker/api/types/registry" <add> "gotest.tools/v3/assert" <ide> ) <ide> <ide> func buildAuthConfigs() map[string]types.AuthConfig { <ide> func TestResolveAuthConfigIndexServer(t *t...
3
Python
Python
fix edge cases of custom object deserialization
7e870a97eca4c8a3301a4686a04fc522997b68e9
<ide><path>keras/utils/generic_utils.py <ide> def deserialize_keras_object(identifier, module_objects=None, <ide> ': ' + class_name) <ide> if hasattr(cls, 'from_config'): <ide> arg_spec = inspect.getargspec(cls.from_config) <add> custom_objects = custom_ob...
2
Javascript
Javascript
add compatibility for htmlelement's dataset (#945)
d6e4607fd039c0f2ccb7c863d048cd4d9235ec9d
<ide><path>web/compatibility.js <ide> }); <ide> })(); <ide> <add>// HTMLElement dataset property <add>(function checkDatasetProperty() { <add> var div = document.createElement('div'); <add> if ('dataset' in div) <add> return; // dataset property exists <add> Object.defineProperty(HTMLElement.prototype, 'datase...
1
Javascript
Javascript
add e2e tests, bug fixes for testids
9fdbf6029eead8e80a285350293b1e3bf164c440
<ide><path>Libraries/Components/DatePicker/DatePickerIOS.ios.js <ide> class DatePickerIOS extends React.Component<Props> { <ide> return ( <ide> <View style={props.style}> <ide> <RCTDatePickerIOS <add> testID={props.testID} <ide> ref={picker => { <ide> this._picker = pick...
6
Python
Python
update boto3 to <1.19
5f07675db75024513e1f0042107838b64e5c777f
<ide><path>setup.py <ide> def write_version(filename: str = os.path.join(*[my_dir, "airflow", "git_version <ide> 'oss2>=2.14.0', <ide> ] <ide> amazon = [ <del> 'boto3>=1.15.0,<1.18.0', <add> 'boto3>=1.15.0,<1.19.0', <ide> 'watchtower~=1.0.6', <ide> 'jsonpath_ng>=1.5.3', <ide> ]
1
Mixed
Ruby
add ssl support for postgresql database tasks
4497abb4a9026bf98475824de3fb15ca9f549c13
<ide><path>activerecord/CHANGELOG.md <add>* Add ssl support for postgresql database tasks <add> <add> Add `PGSSLMODE`, `PGSSLCERT`, `PGSSLKEY` and `PGSSLROOTCERT` to pg_env from database config <add> when running postgresql database tasks. <add> <add> ```yaml <add> # config/database.yml <add> <add> produ...
3
PHP
PHP
fix issue with rendering elements inside blocks
6c902a19b3b436d9f6d436ba193c85e15dccb53d
<ide><path>lib/Cake/View/View.php <ide> protected function _render($viewFile, $data = array()) { <ide> $data = $this->viewVars; <ide> } <ide> $this->_current = $viewFile; <add> $initialBlocks = count($this->Blocks->unclosed()); <ide> <ide> $this->getEventManager()->dispatch(new CakeEvent('View.beforeRenderFi...
2
Ruby
Ruby
catch insecure bitbucket
64bcb5a07f74384fbd66daba7d03f1d271d02b68
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_homepage <ide> %r{^http://[^/.]+\.ietf\.org}, <ide> %r{^http://[^/.]+\.tools\.ietf\.org}, <ide> %r{^http://www\.gnu\.org/}, <del> %r{^http://code\.google\.com/} <add> %r{^http://code\.google\.com/}, <add> %r{^htt...
1
Javascript
Javascript
simplify dategetter() within the date filter
3eb0c8bc67644412f34e55945f4b538f87bbb003
<ide><path>src/filters.js <ide> function padNumber(num, digits, trim) { <ide> } <ide> function dateGetter(name, size, offset, trim) { <ide> return function(date) { <del> var value = date['get' + name].call(date); <add> var value = date['get' + name](); <ide> if (offset > 0 || value > -offset) <ide> va...
1
Javascript
Javascript
move timers to misc/timers
3761be3d99fc63858a5cf6f23f2374922d41be4b
<ide><path>benchmark/misc/timers.js <add>var common = require('../common.js'); <add> <add>var bench = common.createBenchmark(main, { <add> thousands: [500], <add> type: ['depth', 'breadth'] <add>}); <add> <add>function main(conf) { <add> var n = +conf.thousands * 1e3; <add> if (conf.type === 'breadth') <add> bre...
2
Javascript
Javascript
improve error wording
d1864fa43613bac18b55aaa8b2970bd411bb6657
<ide><path>packager/react-packager/src/Resolver/polyfills/require.js <ide> mod.module.hot.acceptCallback(); <ide> } else { <ide> console.log( <del> '[HMR] Module `' + id + '` cannot be accepted. ' + <del> 'Please reload bundle to get the updates.' <add> '[HMR] Module `' ...
1
Ruby
Ruby
update the tip formatter to handle multiline tips
e3dbe66e196069fde7d3ff118bd25a03184915fa
<ide><path>railties/guides/rails_guides/textile_extensions.rb <ide> def notestuff(body) <ide> end <ide> <ide> def tip(body) <del> body.gsub!(/^TIP[.:](.*)$/) do |m| <add> body.gsub!(/^TIP[.:](.*?)(\n\Z|\n\n+|\Z)/m) do |m| <ide> result = "<div class='info'><p>" <ide> result << $1.strip...
2
Ruby
Ruby
move loop invariants out of loop
9bab0869676e5c7edfa904090df52ef736f2dfda
<ide><path>Library/Homebrew/language/python.rb <ide> def self.setup_install_args(prefix) <ide> end <ide> <ide> def self.rewrite_python_shebang(python_path) <add> regex = %r{^#! ?/usr/bin/(env )?python([23](\.\d{1,2})?)$} <add> maximum_regex_length = 28 # the length of "#! /usr/bin/env pythonx.yyy$" <...
1
Mixed
Javascript
use trackballcontrols instead of orbitcontrols
e95a9252bcd683bd6d58e92f4b214526ca4aa799
<ide><path>threejs/lessons/resources/threejs-primitives.js <ide> function main() { <ide> return addElem(parent, 'div', className); <ide> } <ide> <del> document.querySelectorAll('[data-primitive]').forEach(createPrimitiveDOM); <del> document.querySelectorAll('[data-primitive-diagram]').forEach(createPrimitiveDi...
2
Text
Text
add myself to contributors
5c7c08c2e3acf49673d6e3d914b4259328792b12
<ide><path>.github/contributors/jerbob92.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
add spare space for growth for .npy files
15cb486664e110dfe73ed70a3b9c68915a69bd88
<ide><path>numpy/lib/format.py <ide> MAGIC_LEN = len(MAGIC_PREFIX) + 2 <ide> ARRAY_ALIGN = 64 # plausible values are powers of 2 between 16 and 4096 <ide> BUFFER_SIZE = 2**18 # size of buffer for reading npz files in bytes <add># allow growth within the address space of a 64 bit machine along one axis <add>GROWTH_AXIS...
2
Python
Python
add tests for np.sctype2char
0412b2a59cd94ff58da5631f373526f36c4fef60
<ide><path>numpy/core/tests/test_numerictypes.py <ide> def test_other(self, t): <ide> assert_equal(np.maximum_sctype(t), t) <ide> <ide> <add>class Test_sctype2char(object): <add> # This function is old enough that we're really just documenting the quirks <add> # at this point. <add> <add> def test_sc...
1
Python
Python
add benchmark for sorting random array
b728205741edbf770bda94be203fb7b24039c2ee
<ide><path>benchmarks/benchmarks/bench_function_base.py <ide> class Sort(Benchmark): <ide> ['quick', 'merge', 'heap'], <ide> ['float64', 'int64', 'uint64'], <ide> [ <add> ('random',), <ide> ('ordered',), <ide> ('reversed',), <ide> ('uniform',),
1
Python
Python
fix typeerror when raising typeerror
8894b81b166f6b0c200dde77a70fb360e95b0f7c
<ide><path>numpy/lib/stride_tricks.py <ide> def broadcast_arrays(*args, **kwargs): <ide> subok = kwargs.pop('subok', False) <ide> if kwargs: <ide> raise TypeError('broadcast_arrays() got an unexpected keyword ' <del> 'argument {}'.format(kwargs.pop())) <add> ...
1
Ruby
Ruby
require action_dispatch, not action_controller
2675ba9ef4ae1839f721aff77c255ee1cb8ac7ac
<ide><path>railties/lib/rails/commands/server.rb <del>require 'action_controller' <add>require 'action_dispatch' <ide> <ide> require 'fileutils' <ide> require 'optparse'
1
Text
Text
add zijian liu to collaborators
ecb78188a36f529e9095e9d21d4637d68e3e325c
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Luigi Pinca** &lt;luigipinca@gmail.com&gt; (he/him) <ide> * [lundibundi](https://github.com/lundibundi) - <ide> **Denys Otrishko** &lt;shishugi@gmail.com&gt; (he/him) <add>* [Lxxyx](https://github.com/Lxxyx) - <add>**Zij...
1
Javascript
Javascript
fix renderpage in production mode
8711a7d14e064604078a5cfd29eb90a1ab1f18c7
<ide><path>client/next-dev.js <ide> import 'react-hot-loader/patch' <add>import initNext, * as next from './' <ide> import initOnDemandEntries from './on-demand-entries-client' <ide> import initWebpackHMR from './webpack-hot-middleware-client' <ide> <del>const next = window.next = require('./') <add>window.next = next...
2
Go
Go
add socket activation for go apps
cfb7711a74dc4b54d879f79bc2f6435ed71163b9
<ide><path>pkg/socketactivation/activation.go <add>/* <add> Package to allow go applications to immediately start <add> listening on a socket, unix, tcp, udp but hold connections <add> until the application has booted and is ready to accept them <add>*/ <add>package socketactivation <add> <add>import ( <add> "fmt...
1
Javascript
Javascript
fix bad unittest
944fa78369653c25262c6e4d325efdd2a1f967b9
<ide><path>test/NormalModule.unittest.js <ide> describe("NormalModule", function() { <ide> resource, <ide> parser <ide> ); <add> normalModule.cacheable = true; <ide> }); <ide> describe("#identifier", function() { <ide> it("returns an identifier for this module", function() {
1
Javascript
Javascript
add `action` support to ember.textfield
da4aa8531f337811c69e86300d81352fc1dab241
<ide><path>packages/ember-handlebars/lib/controls/text_field.js <ide> Ember.TextField = Ember.View.extend(Ember.TextSupport, <ide> @type String <ide> @default null <ide> */ <del> size: null <add> size: null, <add> <add> /** <add> The action to be sent when the user presses the return key. <add> <add> ...
2
PHP
PHP
update phpdoc comments to match signature
8cd28a3a78eaf0097e7bcac29309646310cd277d
<ide><path>src/Illuminate/Log/LogManager.php <ide> public function extend($driver, Closure $callback) <ide> /** <ide> * Unset the given channel instance. <ide> * <del> * @param string|null $name <add> * @param string|null $driver <ide> * @return $this <ide> */ <ide> public functi...
2
Text
Text
changin the word "instalaciones" to "instalación"
abf91a30ed703a4acad6072f87363c136cfe75e6
<ide><path>guide/spanish/r/index.md <ide> localeTitle: R <ide> <ide> R es un lenguaje de programación de código abierto y un entorno de software para computación estadística y gráficos. Es uno de los idiomas principales utilizados por los científicos de datos y estadísticos por igual. Es compatible con la R Foundation...
1
Ruby
Ruby
use index_by and index_with wherever possible
d3599d8affa90b60b4e9ab24fdbd35477b5ac06d
<ide><path>actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb <ide> # frozen_string_literal: true <ide> <add>require "active_support/core_ext/enumerable" <add> <ide> module ActionView <ide> module CollectionCaching # :nodoc: <ide> extend ActiveSupport::Concern <ide> def expanded_cache_key...
17
Python
Python
remove unused import
ece9a009deb0202f4344881607426d651d89da38
<ide><path>keras/backend/tensorflow_backend.py <ide> from tensorflow.python.ops import control_flow_ops <ide> from tensorflow.python.ops import functional_ops <ide> from tensorflow.python.ops import ctc_ops as ctc <del>from tensorflow.python.ops import variables as tf_variables <ide> from tensorflow.python.client impor...
1
Ruby
Ruby
add tests for set_sequence_name etc
fd7ca98bb6218de42b821d48db083ea8c0e97d67
<ide><path>activerecord/lib/active_record/base.rb <ide> def inheritance_column <ide> if self == Base <ide> 'type' <ide> else <del> defined?(@inheritance_column) ? @inheritance_column : superclass.inheritance_column <add> (@inheritance_column ||= nil) || superclass.inheritance...
2
Mixed
Java
allow headless js tasks to retry
ac7ec4602fd4d8ec033a084df6a92437ea2d3a8a
<ide><path>Libraries/ReactNative/AppRegistry.js <ide> const createPerformanceLogger = require('../Utilities/createPerformanceLogger'); <ide> import type {IPerformanceLogger} from '../Utilities/createPerformanceLogger'; <ide> <ide> import NativeHeadlessJsTaskSupport from './NativeHeadlessJsTaskSupport'; <add>import Hea...
14
Ruby
Ruby
add homebrew-binary to search
583dd38b0887f8121cdd3ac65449665542987f6a
<ide><path>Library/Homebrew/cmd/search.rb <ide> def search <ide> %w{Homebrew science}, <ide> %w{Homebrew completions}, <ide> %w{Homebrew x11}, <add> %w{Homebrew binary}, <ide> ] <ide> <ide> def query_regexp(query)
1
Python
Python
add some more test for verify_hostname
01117eead5425c429c2ee3ba0dba1b4080871c67
<ide><path>libcloud/test/test_httplib_ssl.py <ide> def test_custom_ca_path_using_env_var_exist(self): <ide> self.assertEqual(libcloud.security.CA_CERTS_PATH, [file_path]) <ide> <ide> def test_verify_hostname(self): <add> # commonName <ide> cert1 = {'notAfter': 'Feb 16 16:54:50 2013 GMT', <id...
1
Java
Java
fix concat to allow multiple observers
21f7d526ad38506c0635576f54cc710c2e78a7f7
<ide><path>rxjava-core/src/main/java/rx/operators/OperationConcat.java <ide> public static <T> OnSubscribeFunc<T> concat(final Iterable<? extends Observable< <ide> } <ide> <ide> public static <T> OnSubscribeFunc<T> concat(final Observable<? extends Observable<? extends T>> sequences) { <del> return new ...
2
Javascript
Javascript
use weakmaps instead of mutating assets
bfc74252fd42a6134ddf2fe588fe614a29d736ab
<ide><path>lib/SourceMapDevToolPlugin.js <ide> const basename = name => { <ide> return name.substr(name.lastIndexOf("/") + 1); <ide> }; <ide> <add>const assetsCache = new WeakMap(); <add> <ide> const getTaskForFile = (file, chunk, options, compilation) => { <ide> const asset = compilation.assets[file]; <del> if (ass...
1
PHP
PHP
improve comments in db\connector
00fcaf2be9dbdb9de5ae474754eaf60770c71739
<ide><path>system/db/connector.php <ide> public static function connect($config) <ide> { <ide> // ----------------------------------------------------- <ide> // Check the application/db directory first. <add> // <add> // If the database doesn't exist there, maybe the full <add> // path was specified as th...
1
Javascript
Javascript
improve coverage of stream.readable
fc6e7e93e81aa70d55b374bd25a0d46f0f0523e3
<ide><path>test/parallel/test-streams-highwatermark.js <ide> const { inspect } = require('util'); <ide> readable._read = common.mustCall(); <ide> readable.read(0); <ide> } <add> <add>{ <add> // Parse size as decimal integer <add> ['1', '1.0', 1].forEach((size) => { <add> const readable = new stream.Readable({ ...
1
Javascript
Javascript
change some constructs to es2015
be40f6da65da88ec876d6258ab353af832372d65
<ide><path>lib/EnvironmentPlugin.js <ide> const DefinePlugin = require("./DefinePlugin"); <ide> <ide> class EnvironmentPlugin { <ide> constructor(keys) { <del> this.defaultValues = {}; <del> <ide> if(Array.isArray(keys)) { <ide> this.keys = keys; <add> this.defaultValues = {}; <ide> } else if(keys && typeof...
1
Ruby
Ruby
remove redundant check for is_a?(string)
4c4d5c7e6c028c6a29701abb0f64231ff284a466
<ide><path>actionpack/lib/action_view/path_set.rb <ide> def find(*args) <ide> end <ide> <ide> def find_all(path, prefixes = [], *args) <del> prefixes = Array.wrap(prefixes) if String === prefixes <add> prefixes = Array.wrap(prefixes) <ide> prefixes.each do |prefix| <ide> each do |resolv...
2
Ruby
Ruby
remove dead code
6ef13ec5d29b3ec66900c60bcfdf1ac5be8d20ac
<ide><path>lib/arel/table.rb <ide> class << self; attr_accessor :engine; end <ide> <ide> def initialize(name, as: nil, type_caster: nil) <ide> @name = name.to_s <del> @columns = nil <ide> @type_caster = type_caster <ide> <ide> # Sometime AR sends an :as parameter to table, to let the tab...
1
Javascript
Javascript
improve getdisplayname util
4d8e9cacdd5b3833ae4a52bfe1ae9ad0a6a3104d
<ide><path>lib/utils.js <ide> export function printAndExit (message, code = 1) { <ide> } <ide> <ide> export function getDisplayName (Component) { <add> if (typeof Component === 'string') { <add> return Component <add> } <add> <ide> return Component.displayName || Component.name || 'Unknown' <ide> } <ide> <ide>...
2
Text
Text
note the system requirements for v8 tests
d14d9f9edb38fc3140e829da3b3d62c6556179f4
<ide><path>doc/guides/maintaining-V8.md <ide> to be cherry-picked in the Node.js repository and V8-CI must test the change. <ide> * Run the Node.js [V8 CI][] in addition to the [Node.js CI][]. <ide> The CI uses the `test-v8` target in the `Makefile`, which uses <ide> `tools/make-v8.sh` to reconstruct a git tr...
1
PHP
PHP
add one more test for a reported problem
74c76d48acd35a1a00b9d49201b589ceffadfa23
<ide><path>tests/TestCase/ORM/TableTest.php <ide> class TableTest extends TestCase <ide> { <ide> <ide> public $fixtures = [ <del> 'core.users', 'core.categories', 'core.articles', 'core.authors', <del> 'core.tags', 'core.articles_tags' <add> 'core.comments', <add> 'core.users', <add> ...
1
PHP
PHP
add a session helper
60065df712ec06aefdd2b6639318af2ae99d9104
<ide><path>src/Illuminate/Foundation/helpers.php <ide> function secure_url($path, $parameters = array()) <ide> } <ide> } <ide> <add>if ( ! function_exists('session')) <add>{ <add> /** <add> * Get a value from the session. <add> * <add> * @param string $name <add> * @param mixed|null $default <add> * @return ...
1
Python
Python
remove duplicate decorator in wrong place
7d59e50d87d260c9459cbc890e3bce0592dd5f99
<ide><path>celery/bin/events.py <ide> def _run_evtop(app): <ide> raise click.UsageError("The curses module is required for this command.") <ide> <ide> <del>@handle_preload_options <ide> @click.command(cls=CeleryDaemonCommand) <ide> @click.option('-d', <ide> '--dump',
1
Go
Go
use string concatenation instead of sprintf
44c9ccc069c1bfda25ad6fb5932eeeceaa8de491
<ide><path>client/client.go <ide> func (cli *Client) getAPIPath(p string, query url.Values) string { <ide> var apiPath string <ide> if cli.version != "" { <ide> v := strings.TrimPrefix(cli.version, "v") <del> apiPath = fmt.Sprintf("%s/v%s%s", cli.basePath, v, p) <add> apiPath = cli.basePath + "/v" + v + p <ide> ...
4
Javascript
Javascript
fix comparison in _handlelinkedcheckchange
91ef878ca864a74571f525dd3b14445ef059fec4
<ide><path>src/dom/components/LinkedValueUtils.js <ide> function _handleLinkedValueChange(e) { <ide> */ <ide> function _handleLinkedCheckChange(e) { <ide> /*jshint validthis:true */ <del> this.props.checkedLink.requestChange(e.target.checked === 'true'); <add> this.props.checkedLink.requestChange(e.target.checked...
1
Python
Python
add import for textlexer.
e704dd2e404b31f77831eebbb44aa6042a42b332
<ide><path>rest_framework/compat.py <ide> def apply_markdown(text): <ide> <ide> try: <ide> import pygments <del> from pygments.lexers import get_lexer_by_name <add> from pygments.lexers import get_lexer_by_name, TextLexer <ide> from pygments.formatters import HtmlFormatter <ide> <ide> def pygments_h...
1
Mixed
Python
fix none uuid foreignkey serialization
20d1fdba697a590307ef65626bfb574a0c92bc96
<ide><path>docs/topics/release-notes.md <ide> You can determine your currently installed version using `pip freeze`: <ide> **Unreleased** <ide> <ide> * Dropped support for EOL Django 1.7 ([#3933][gh3933]) <add>* Fixed null foreign keys targeting UUIDField primary keys. ([#3936][gh3936]) <ide> <ide> ### 3.3.2 <ide> <...
4
Javascript
Javascript
fix segfault in pummel/test-tls-ci-reneg-attack
c492d43f4817eb65cd251749bd074df7bb4ebc28
<ide><path>lib/tls.js <ide> function onhandshakestart() { <ide> // Defer the error event to the next tick. We're being called from OpenSSL's <ide> // state machine and OpenSSL is not re-entrant. We cannot allow the user's <ide> // callback to destroy the connection right now, it would crash and burn. <del> ...
1
Mixed
Javascript
add split chunks example
5930cf54b92e6a839bf75f42b1eb32ace793b916
<ide><path>examples/many-pages/README.md <add># Info <add> <add>This example illustrates webpack's algorthim for automatic deduplication using `optimization.splitChunks`. <add> <add>This example application contains 7 pages, each of them importing 1-3 modules from the `node_modules` folder (vendor libs) and 0-3 modules...
27