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
remove view system docs. they are mis-information
982346b1427db257d2565541187386e26c3af0a0
<ide><path>docs/advanced/view-system.md <del>## Atom's View System <del> <del>### SpacePen Basics <del> <del>Atom's view system is built around the [SpacePen] view framework. SpacePen <del>view objects inherit from the jQuery prototype, and wrap DOM nodes <del> <del>View objects are actually jQuery wrappers around DOM ...
2
Python
Python
add regression test for #768
0967eb07bea28d84bac696de2c5ea6630424d92a
<ide><path>spacy/tests/regression/test_issue768.py <add># coding: utf-8 <add>from __future__ import unicode_literals <add> <add>from ...language import Language <add>from ...attrs import LANG <add>from ...fr.language_data import TOKENIZER_EXCEPTIONS, STOP_WORDS <add>from ...language_data.punctuation import TOKENIZER_IN...
1
Python
Python
add tests for divmod
18aeffd93797df872539a9bd16efa4f67887f568
<ide><path>numpy/core/tests/test_multiarray.py <ide> def test_int_subclassing(self): <ide> numpy_int = np.int_(0) <ide> <ide> if sys.version_info[0] >= 3: <del> # On Py3k int_ should not inherit from int, because it's not fixed-width anymore <add> # On Py3k int_ should not inherit...
2
Javascript
Javascript
update basic tests
1122abef59a1f957ab5f838029b5731a869b5a99
<ide><path>packages/ember-application/tests/system/logging_test.js <ide> module("Ember.Application – logging of generated classes", { <ide> function visit(path) { <ide> stop(); <ide> <del> var promise = new Ember.RSVP.Promise(function(resolve, reject){ <del> var router = App.__container__.lookup('router:main'); ...
2
Ruby
Ruby
avoid extra scoping when using `relation#update`
c83e30da27eafde79164ecb376e8a28ccc8d841f
<ide><path>activerecord/lib/active_record/persistence.rb <ide> def instantiate_instance_of(klass, attributes, column_types = {}, &block) <ide> # When running callbacks is not needed for each record update, <ide> # it is preferred to use {update_all}[rdoc-ref:Relation#update_all] <ide> # for updating a...
3
Go
Go
sync minor changes between config and secret tests
348f412d850eea85541e57f5545ae3719931da5a
<ide><path>integration/config/config_test.go <ide> func TestConfigList(t *testing.T) { <ide> defer d.Stop(t) <ide> c := d.NewClientT(t) <ide> defer c.Close() <del> <ide> ctx := context.Background() <ide> <ide> // This test case is ported from the original TestConfigsEmptyList <ide> func TestConfigsCreateAndDelete...
2
Ruby
Ruby
move repeated pathname into setup
083448d55d90400c10fa352bf676f5cfe1c2c16d
<ide><path>Library/Homebrew/test/test_keg.rb <ide> def setup <ide> end <ide> <ide> @keg = Keg.new(keg) <add> @dst = HOMEBREW_PREFIX.join("bin", "helloworld") <ide> <ide> @mode = OpenStruct.new <ide> <ide> def test_linking_fails_when_already_linked <ide> end <ide> <ide> def test_linking_fails_when...
1
Go
Go
implement container.exportrw() on device-mapper
b0626f403b168b9020a802ec3bc4ad8c9bbc2486
<ide><path>container.go <ide> func (container *Container) Resize(h, w int) error { <ide> } <ide> <ide> func (container *Container) ExportRw() (Archive, error) { <del> return Tar(container.rwPath(), Uncompressed) <add> if err := container.EnsureMounted(); err != nil { <add> return nil, err <add> } <add> <add> image, e...
2
Javascript
Javascript
stop non-negative prop undershoot on animation
56426261f0ee97d6d2f903d08b137a6f5f2c0916
<ide><path>src/effects.js <ide> jQuery.extend( jQuery.fx, { <ide> } <ide> }); <ide> <del>// Adds width/height step functions <del>// Do not set anything below 0 <del>jQuery.each([ "width", "height" ], function( i, prop ) { <add>// Ensure props that can't be negative don't go there on undershoot easing <add>jQuery.eac...
2
Javascript
Javascript
fix example controller and style
2fe5a2def026ac1aa63a98be7135b93784677129
<ide><path>src/ng/anchorScroll.js <ide> * @example <ide> <example> <ide> <file name="index.html"> <del> <div ng-controller="MainCtrl"> <add> <div id="scrollArea" ng-controller="ScrollCtrl"> <ide> <a ng-click="gotoBottom()">Go to bottom</a> <ide> <a id="bottom"></a> You're at the b...
1
Javascript
Javascript
add preprocess for buck worker
bfc0e8c26f9e66c525401e92e801410a3ea8be39
<ide><path>local-cli/util/Config.js <ide> const RN_CLI_CONFIG = 'rn-cli.config.js'; <ide> import type {GetTransformOptions, PostMinifyProcess, PostProcessModules} from '../../packager/src/Bundler'; <ide> import type {HasteImpl} from '../../packager/src/node-haste/Module'; <ide> import type {TransformVariants} from '../...
4
Go
Go
replace use of deprecated functions
bf28003c99ef6900d0b006450cd9b6bdf3a23f72
<ide><path>libnetwork/drivers/windows/overlay/ov_endpoint_windows.go <ide> import ( <ide> "sync" <ide> <ide> "github.com/Microsoft/hcsshim" <del> "github.com/docker/docker/pkg/system" <add> "github.com/Microsoft/hcsshim/osversion" <ide> "github.com/docker/libnetwork/driverapi" <ide> "github.com/docker/libnetwork/d...
4
Text
Text
add an item to changelog
190a1141ccccde0d04b53347f2c60eafb244bb02
<ide><path>CHANGELOG.md <ide> * Fix a crash rendering into shadow root. ([@gaearon](https://github.com/gaearon) in [#11037](https://github.com/facebook/react/pull/11037)) <ide> * Suppress the new unknown tag warning for `<dialog>` element. ([@gaearon](http://github.com/gaearon) in [#11035](https://github.com/facebook/r...
1
PHP
PHP
update docblock and include strings
b960fd0d3d9e498219e21a88edc0fe18537c28ab
<ide><path>src/Illuminate/Console/Scheduling/ManagesFrequencies.php <ide> public function yearly() <ide> * Schedule the event to run yearly on a given month, day, and time. <ide> * <ide> * @param int $month <del> * @param int $dayOfMonth <add> * @param int|string $dayOfMonth <ide> * @p...
2
Ruby
Ruby
fix documentation for string#mb_chars
27b79f4c911fdfce186086cfaa6646f1c2083aa0
<ide><path>activesupport/lib/active_support/core_ext/string/multibyte.rb <ide> class String <ide> # <ide> # +mb_chars+ is a multibyte safe proxy for string methods. <ide> # <del> # In Ruby 1.8 and older it creates and returns an instance of the ActiveSupport::Multibyte::Chars class which <add> # It creates and ...
1
Ruby
Ruby
fix incorrect unsubscription
d9396a07ebe69b211365f14b8e2c7c10e75fb61c
<ide><path>railties/test/rack_logger_test.rb <ide> def finish(name, id, payload) <ide> def setup <ide> @subscriber = Subscriber.new <ide> @notifier = ActiveSupport::Notifications.notifier <del> notifier.subscribe 'request.action_dispatch', subscriber <add> @subscription = notifier.su...
1
Go
Go
enable some cp integration tests
088c3eeea8ae6e46bf698d0c99c98b92bc894063
<ide><path>integration-cli/docker_cli_cp_from_container_test.go <ide> import ( <ide> <ide> // Test for error when SRC does not exist. <ide> func (s *DockerSuite) TestCpFromErrSrcNotExists(c *check.C) { <del> testRequires(c, DaemonIsLinux) <ide> containerID := makeTestContainer(c, testContainerOptions{}) <ide> <ide> ...
3
PHP
PHP
remove useless $app arguments in bindshared
ffc947ae339ce7e66eecdfb2f2d1bc197ba6b356
<ide><path>src/Illuminate/Auth/Reminders/ReminderServiceProvider.php <ide> protected function registerCommands() <ide> return new RemindersTableCommand($app['files']); <ide> }); <ide> <del> $this->app->bindShared('command.auth.reminders.clear', function($app) <add> $this->app->bindShared('command.auth.reminders...
9
Ruby
Ruby
fix punctuation in `has_secure_password` docs
12f3da0ac327c2c6256252dc24c5551c83c48dc4
<ide><path>activemodel/lib/active_model/secure_password.rb <ide> class << self <ide> <ide> module ClassMethods <ide> # Adds methods to set and authenticate against a BCrypt password. <del> # This mechanism requires you to have a +XXX_digest+ attribute. <del> # Where +XXX+ is the attribute name of y...
1
Text
Text
fix sentence which ended abruptly
8d341c9705aa05bc3301f17bd5ef7a876c850ded
<ide><path>guide/portuguese/accessibility/accessibility-basics/index.md <ide> title: Accessibility Basics <ide> localeTitle: Noções básicas de acessibilidade <ide> --- <add> <ide> > "As Artes das Trevas são muitas, variadas, estão em constante mudança, e são eternas. Combatê-las é como combater um monstro de muitas cab...
1
Javascript
Javascript
relax the comparison for undefined properties
3c2e1c5e4d12529b1d69a6173c38097527dccc4f
<ide><path>src/Angular.js <ide> function equals(o1, o2) { <ide> } else { <ide> if (isScope(o1) || isScope(o2) || isWindow(o1) || isWindow(o2)) return false; <ide> keySet = {}; <del> length = 0; <ide> for(key in o1) { <del> if (key.charAt(0) === '$') continue; <del> <del> ...
2
Go
Go
improve consistency in log messages
d86a331fa498e184992205387f3270a59a5ce48b
<ide><path>libnetwork/resolver.go <ide> func (r *resolver) Start() error { <ide> r.server = s <ide> go func() { <ide> if err := s.ActivateAndServe(); err != nil { <del> logrus.WithError(err).Error("error starting packetconn dns server") <add> logrus.WithError(err).Error("[resolver] failed to start PacketConn DN...
1
Ruby
Ruby
deprecate additional arch functions
b670ab1c7b1bf3a2edecbbe0e12f8ab5b86732af
<ide><path>Library/Homebrew/hardware.rb <ide> def arch <ide> end <ide> <ide> def universal_archs <add> odeprecated "Hardware::CPU.universal_archs" <add> <ide> [arch].extend ArchitectureListExtension <ide> end <ide> <ide><path>Library/Homebrew/os/mac/architecture_list.rb <ide> # typed:...
4
PHP
PHP
convert language php 5.4 arrays
5f5cc828d3ab3e0b6c955eb944914eecec8ce1ad
<ide><path>resources/lang/en/reminders.php <ide> <?php <ide> <del>return array( <add>return [ <ide> <ide> /* <ide> |-------------------------------------------------------------------------- <ide> <ide> "reset" => "Password has been reset!", <ide> <del>); <add>];
1
PHP
PHP
add contract for bc
38420603d81b6f5cd763f602eb35d7a30f24726c
<ide><path>src/Illuminate/Contracts/Bus/SelfHandling.php <add><?php <add> <add>namespace Illuminate\Contracts\Bus; <add> <add>/** <add> * @deprecated since version 5.2. Remove from jobs since self-handling is default. <add> */ <add>interface SelfHandling <add>{ <add> // <add>}
1
Text
Text
add description of jagged arrays
c7499729e2029ef63308995800642c8a027a6a68
<ide><path>guide/english/csharp/array/index.md <ide> or simply: <ide> <ide> `var nameOfArray = new dataType {value1, value2, value3, value4};` <ide> <add>## Jagged Arrays <add> <add>Jagged arrays contain elements that are arrays itself. Example of declaration and initialization of jagged array: <add> <add>```csharp <...
1
Ruby
Ruby
remove another lolinject
6e1df2ca4631b8da6dae348af9d791f6e9aee1c5
<ide><path>activesupport/lib/active_support/cache/mem_cache_store.rb <ide> def initialize(*addresses) <ide> def read_multi(*names) <ide> options = names.extract_options! <ide> options = merged_options(options) <del> keys_to_names = names.inject({}){|map, name| map[escape_key(namespaced_key(...
1
Ruby
Ruby
fix missing methods in cask dsl
77d25da5e5420d2e17c721f010cc06704d1d20d5
<ide><path>Library/Homebrew/cask/dsl.rb <ide> def auto_updates(auto_updates = nil) <ide> end <ide> end <ide> <add> def respond_to_missing?(*) <add> super <add> end <add> <ide> def method_missing(method, *) <ide> if method <ide> Utils.method_missing_message(method, token) <ide> de...
3
Javascript
Javascript
test it too
39c370a19b266fd2286b25c32a602d54365bc734
<ide><path>test/TestCases.test.js <ide> describe("TestCases", function() { <ide> { name: "hot", plugins: [ <ide> new webpack.HotModuleReplacementPlugin() <ide> ]}, <add> { name: "hot-multi-step", plugins: [ <add> new webpack.HotModuleReplacementPlugin({ <add> multiStep: true <add> }) <add> ]}, <ide> {...
1
Python
Python
destroy selenium before live server threads
2c6079775e12366279dc0bb094ba860e4473be3c
<ide><path>django/contrib/admin/tests.py <ide> def setUpClass(cls): <ide> <ide> @classmethod <ide> def _tearDownClassInternal(cls): <del> super(AdminSeleniumWebDriverTestCase, cls)._tearDownClassInternal() <ide> if hasattr(cls, 'selenium'): <ide> cls.selenium.quit() <add> supe...
1
Javascript
Javascript
remove object3d child from scene too
914e1c4e959696545f44c3257e42576feff80d20
<ide><path>src/core/Object3D.js <ide> THREE.Object3D.prototype = { <ide> }, <ide> <ide> remove: function ( object ) { <add> var scene = this; <ide> <del> var childIndex = this.children.indexOf( object ); <add> var childIndex = this.children.indexOf( child ); <ide> <ide> if ( childIndex !== - 1 ) { <ide> <del...
1
Go
Go
fix golint errors for casing in api/client package
a465e26bb05083c247ba74e1092338c43c76be47
<ide><path>api/client/build.go <ide> func (cli *DockerCli) CmdBuild(args ...string) error { <ide> dockerfileName := cmd.String([]string{"f", "-file"}, "", "Name of the Dockerfile (Default is 'PATH/Dockerfile')") <ide> flMemoryString := cmd.String([]string{"m", "-memory"}, "", "Memory limit") <ide> flMemorySwap := cm...
8
Java
Java
add attributedoesnotexist modelresultmatcher
909577082d7e4a74780bf32bf0c54a1370c76b1f
<ide><path>spring-test-mvc/src/main/java/org/springframework/test/web/servlet/result/ModelResultMatchers.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");...
2
Python
Python
pin dill to fix examples
3fd7de49f4d53832621ef67cfd1825b000323250
<ide><path>setup.py <ide> "dataclasses", <ide> "datasets", <ide> "deepspeed>=0.6.4", <add> "dill<0.3.5", <ide> "fairscale>0.3", <ide> "faiss-cpu", <ide> "fastapi", <ide> def run(self): <ide> "parameterized", <ide> "psutil", <ide> "datasets", <add> "dill", <ide> ...
2
Ruby
Ruby
fix indentation [ci skip]
672c6cad78b102f5736f7a76ebe616e1e47ef557
<ide><path>activerecord/test/cases/scoping/default_scoping_test.rb <ide> def test_joins_not_affected_by_scope_other_than_default_or_unscoped <ide> end <ide> <ide> def test_unscoped_with_joins_should_not_have_default_scope <del> assert_equal Comment.joins(:post).sort_by(&:id), <del> SpecialPostWithDefault...
1
Javascript
Javascript
fix a crash with buildmeta of null
4d77f847db9bb8e9cae78c57682e416b22ffbe80
<ide><path>lib/RuntimeTemplate.js <ide> module.exports = class RuntimeTemplate { <ide> <ide> exportFromImport({ <ide> module, <add> request, <ide> exportName, <ide> originModule, <ide> asiSafe, <ide> isCall, <ide> callContext, <ide> importVar <ide> }) { <add> if(!module) return this.missingModule({ <...
5
Python
Python
fix backend regex
254fef67cf1f54f692871147e6b4fca1ff90347e
<ide><path>utils/check_inits.py <ide> <ide> <ide> # Matches is_xxx_available() <del>_re_backend = re.compile(r"is\_([a-z]*)_available()") <add>_re_backend = re.compile(r"is\_([a-z_]*)_available()") <ide> # Catches a line with a key-values pattern: "bla": ["foo", "bar"] <ide> _re_import_struct_key_value = re.compile(r...
1
Javascript
Javascript
add test for ascii data-uri
b9a818386aff5c745cd7ce3526fd1ee40896e42d
<ide><path>test/cases/resolving/data-uri/index.js <del>it("should require module from data-uri", function() { <add>it("should require js module from base64 data-uri", function() { <ide> const mod = require("data:text/javascript;charset=utf-8;base64,bW9kdWxlLmV4cG9ydHMgPSB7CiAgbnVtYmVyOiA0MiwKICBmbjogKCkgPT4gIkhlbGxvIH...
1
Python
Python
remove extraneous imports
a6b3c88c57bd5686dc35b2cf4cceb029b590886d
<ide><path>celery/task.py <ide> from celery.log import setup_logger <ide> from celery.registry import tasks <ide> from celery.messaging import TaskPublisher, TaskConsumer <del>from celery.models import TaskMeta <del>from django.core.cache import cache <ide> from datetime import timedelta <ide> from celery.backends impo...
1
PHP
PHP
remove unused variables and code
bc40ac7d3f5c3f5448225bff3f368db7902e9107
<ide><path>lib/Cake/Controller/Component/Acl/PhpAcl.php <ide> public function resolve($aco) { <ide> * @return void <ide> */ <ide> public function build(array $allow, array $deny = array()) { <del> $stack = array(); <ide> $this->_tree = array(); <ide> $tree = array(); <del> $root = &$tree; <ide> <ide> forea...
22
Text
Text
replace anonymous function with arrow function
9fe02af79425ae455e888ce2b99f86448d0053e6
<ide><path>doc/guides/writing-and-running-benchmarks.md <ide> function main(conf) { <ide> const http = require('http'); <ide> const len = conf.kb * 1024; <ide> const chunk = Buffer.alloc(len, 'x'); <del> const server = http.createServer(function(req, res) { <add> const server = http.createServer((req, res) => {...
1
PHP
PHP
create factory modifiers
1a4c410edfe723ab7d873392eab165e37fd65e33
<ide><path>src/Illuminate/Database/Eloquent/Factory.php <ide> public function __construct(Faker $faker) <ide> */ <ide> protected $definitions = []; <ide> <add> /** <add> * The model modifiers in the container. <add> * <add> * @var array <add> */ <add> protected $modifiers = []; <add> <id...
2
PHP
PHP
remove files resurrected in merge
211e4a577bbae594ea49044a8494fcbc122a5a8c
<ide><path>lib/Cake/Test/Case/Core/ObjectTest.php <del><?php <del>/** <del> * ObjectTest file <del> * <del> * PHP 5 <del> * <del> * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> <del> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <del> * <del> * Licensed under ...
6
Javascript
Javascript
add a button to show/hide the grid
4c9a7f6fd114ad0095cdafe0305c3f3dff8bb972
<ide><path>editor/js/Editor.js <ide> var Editor = function () { <ide> fogTypeChanged: new SIGNALS.Signal(), <ide> fogColorChanged: new SIGNALS.Signal(), <ide> fogParametersChanged: new SIGNALS.Signal(), <del> windowResize: new SIGNALS.Signal() <add> windowResize: new SIGNALS.Signal(), <add> <add> showGridChang...
3
Text
Text
add model_cards for dynabert
0a3b9733cb5b57a8550bd48e278d67f47a9afcf8
<ide><path>model_cards/huawei-noah/DynaBERT_MNLI/README.md <add>## DynaBERT: Dynamic BERT with Adaptive Width and Depth <add> <add>* DynaBERT can flexibly adjust the size and latency by selecting adaptive width and depth, and <add>the subnetworks of it have competitive performances as other similar-sized compressed mo...
2
Javascript
Javascript
remove extra space in wedge.js
cfafeb68580d7a230550a6758aa834f6bb3bd28a
<ide><path>packages/react-art/npm/Wedge.js <ide> var Shape = ReactART.Shape; <ide> var Path = ReactART.Path; <ide> <ide> /** <del> * Wedge is a React component for drawing circles, wedges and arcs. Like other <add> * Wedge is a React component for drawing circles, wedges and arcs. Like other <ide> * ReactART compone...
1
Javascript
Javascript
extract code to own method for faster jpx decoding
f6841d1720d9dbc52bd353ca63c3fba2cb141db9
<ide><path>src/core/jpx.js <ide> var JpxImage = (function JpxImageClosure() { <ide> } <ide> return ll; <ide> }; <add> Transform.prototype.expand = function expand(buffer, bufferPadding, step) { <add> // Section F.3.7 extending... using max extension of 4 <add> var i1 = bufferPadding - 1...
1
Javascript
Javascript
make util.debuglog() consistent with doc
3b0e800f18133674ae30b4c6cd5729c12fa054ff
<ide><path>lib/util.js <ide> exports.deprecate = internalUtil.deprecate; <ide> var debugs = {}; <ide> var debugEnviron; <ide> exports.debuglog = function(set) { <del> if (debugEnviron === undefined) <del> debugEnviron = process.env.NODE_DEBUG || ''; <add> if (debugEnviron === undefined) { <add> debugEnviron = n...
2
Mixed
Javascript
change the way the extra info appears
daeac82fdaebc6e2b7b447d09bfa03c01b20e425
<ide><path>utils/build/build.js <ide> function main() { <ide> <ide> var buffer = []; <ide> var sources = []; <add> <add> buffer.push('// You shouldn\'t edit this build file. \n'); <add> buffer.push('// The following source code is build from the src folder. \n'); <ide> <ide> if ( args.amd ){ <ide> buffer.push...
2
Python
Python
fix typo in documentation of loadtxt (closes )
7d25864a56bb8fb53face5cf1ad0721795e03a02
<ide><path>numpy/lib/npyio.py <ide> def loadtxt(fname, dtype=float, comments='#', delimiter=None, <ide> <ide> Also when a single column has to be read it is possible to use <ide> an integer instead of a tuple. E.g ``usecols = 3`` reads the <del> third column the same way as `usecols = (3,)`` wou...
1
Text
Text
update portuguese translation
f2ac393c47d39042816b4918a777f6ff61d0c9c4
<ide><path>guide/portuguese/javascript/await-promises/index.md <ide> --- <ide> title: Await Promises <del>localeTitle: Aguardar Promessas <add>localeTitle: Await Promises <ide> --- <del>## Aguardar Promessas <add>## Await Promises <ide> <del>Os [operadores](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refer...
1
PHP
PHP
revert "no truncate when drop table."
1686edf01624313962aa167a7001245dd4d044ae
<ide><path>lib/Cake/TestSuite/Fixture/CakeFixtureManager.php <ide> public function load(CakeTestCase $test) { <ide> $db = ConnectionManager::getDataSource($fixture->useDbConfig); <ide> $db->begin(); <ide> $this->_setupTable($fixture, $db, $test->dropTables); <del> if (!$test->dropTables) { <del> $fix...
1
Javascript
Javascript
replace google servers with localhost
6d937c01b00652b1a97136d96d8d9fd3925af420
<ide><path>test/parallel/test-dns-setserver-when-querying.js <ide> const common = require('../common'); <ide> <ide> const dns = require('dns'); <ide> <del>const goog = [ <del> '8.8.8.8', <del> '8.8.4.4', <del>]; <add>const localhost = [ '127.0.0.1' ]; <ide> <ide> { <ide> // Fix https://github.com/nodejs/node/iss...
1
Javascript
Javascript
condense uvgen as suggested by @anthornet in
d9379fc8a5034efd664c8dfd7e9ce39a98dd85ef
<ide><path>src/extras/geometries/ExtrudeGeometry.js <ide> THREE.ExtrudeGeometry.prototype.addShape = function( shape, options ) { <ide> <ide> var material = options.material; <ide> var extrudeMaterial = options.extrudeMaterial; <del> var uvGenerator = options.uvGenerator || null; <add> <add> // Use default WorldUVGe...
1
PHP
PHP
remove warning for orwhere()
075d8c1fe9bd193e294316e0cb3f4af07c5cf728
<ide><path>src/Database/Query.php <ide> public function andWhere($conditions, $types = []) <ide> */ <ide> public function orWhere($conditions, $types = []) <ide> { <del> deprecationWarning('Query::orWhere() is deprecated. Use Query::where() instead.'); <ide> $this->_conjugate('where', $condi...
1
Javascript
Javascript
improve short months
3683efa8942cd68b03fd699b1dceb9c3af628dac
<ide><path>src/locale/vi.js <ide> export default moment.defineLocale('vi', { <ide> months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split( <ide> '_' <ide> ), <del> monthsShort: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.sp...
2
Ruby
Ruby
fix microsecond precision of time#at_with_coercion
484253515c0e05760541dc48946361185c9e6904
<ide><path>activesupport/lib/active_support/core_ext/time/calculations.rb <ide> def current <ide> # instances can be used when called with a single argument <ide> def at_with_coercion(*args) <ide> if args.size == 1 && args.first.acts_like?(:time) <del> at_without_coercion(args.first.to_i) <add> ...
2
Ruby
Ruby
add help message for cargo
3dc0df5a774272766e2187b46df97742b3aec28a
<ide><path>Library/Homebrew/missing_formula.rb <ide> def blacklisted_reason(name) <ide> EOS <ide> when "tex", "tex-live", "texlive", "latex" then <<~EOS <ide> Installing TeX from source is weird and gross, requires a lot of patches, <del> and only builds 32-bit (and thus can't use Hom...
1
Ruby
Ruby
fix typo in example formula
ee1d8512bf4cd6deadfa8c7a55f189cac61c221a
<ide><path>Library/Contributions/example-formula.rb <ide> def install <ide> args << "--i-want-spam" if build.include? "enable-spam" <ide> args << "--qt-gui" if build.with? "qt" # "--with-qt" ==> build.with? "qt" <ide> args << "--some-new-stuff" if build.head? # if head is used instead of url. <del> args ...
1
Text
Text
add keyboard-layout to build-status.md
e90d538b017b4589a43c7a694cdd1f8c11ccac8e
<ide><path>docs/build-instructions/build-status.md <ide> | [Fs Plus](https://github.com/atom/fs-plus) | [![macOS Build Status](https://travis-ci.org/atom/fs-plus.svg?branch=master)](https://travis-ci.org/atom/fs-plus) | [![Windows Build Status](https://ci.appveyor.com/api/projects/status/gf2tleqp0hdek3o3/branch/master?...
1
PHP
PHP
fix spelling error
991a7630ad3a577d8380c92e6bf18141a95e8c9a
<ide><path>lib/Cake/Test/TestCase/Utility/MergeVariablesTraitTest.php <ide> public function testMergeVarsMixedModes() { <ide> } <ide> <ide> /** <del> * Test that merging variables with booleans in the class heirarchy <add> * Test that merging variables with booleans in the class hierarchy <ide> * doesn't cause issue...
1
Python
Python
fix a race condition in gce’s list_nodes()
b1d0731959637ab9df8876a3f3b9ad9fb2f38efd
<ide><path>libcloud/compute/drivers/gce.py <ide> def list_nodes(self, ex_zone=None): <ide> # The aggregated response returns a dict for each zone <ide> if zone is None: <ide> for v in response['items'].values(): <del> zone_nodes = [self._to_node(i) for i in <de...
1
Go
Go
make use of os.pathseparator
8ba64b383dee8827c70f9c0a0d71aa61d0f0c595
<ide><path>pkg/archive/archive_windows.go <ide> package archive <ide> <ide> import ( <ide> "fmt" <add> "os" <ide> "strings" <ide> <ide> "github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar" <ide> func CanonicalTarNameForPath(p string) (string, error) { <ide> if strings.Contains(p, "/") { ...
1
Text
Text
remove obsolete external link
c6f959a9d09f6d15e334d66d331994b01f9753c0
<ide><path>doc/api/addons.md <ide> console.log(addon.hello()); <ide> // Prints: 'world' <ide> ``` <ide> <del>Please see the examples below for further information or <del><https://github.com/arturadib/node-qt> for an example in production. <del> <ide> Because the exact path to the compiled Addon binary can vary depend...
1
Python
Python
fix copyright holder
91e4f7effb6c0911d2db68c9f17b40f484838538
<ide><path>django/utils/baseconv.py <del># Copyright (c) 2010 Taurinus Collective. All rights reserved. <add># Copyright (c) 2010 Guilherme Gondim. All rights reserved. <ide> # Copyright (c) 2009 Simon Willison. All rights reserved. <ide> # Copyright (c) 2002 Drew Perttula. All rights reserved. <ide> #
1
PHP
PHP
add withdisabledcache() header macro
5326287d60500757e99d474a8d4928186dc235fd
<ide><path>src/Network/Response.php <ide> public function charset($charset = null) <ide> * Sets the correct headers to instruct the client to not cache the response <ide> * <ide> * @return void <add> * @deprected 3.4.0 Use withDisabledCache() instead. <ide> */ <ide> public function disableCa...
2
Mixed
Python
improve control of training progress and logging
db419f6b2f31f603484d8cce2587f5fc2ad31825
<ide><path>spacy/cli/train.py <ide> from wasabi import msg <ide> import typer <ide> import logging <add>import sys <ide> <ide> from ._util import app, Arg, Opt, parse_config_overrides, show_validation_error <ide> from ._util import import_code, setup_gpu <ide> def train_cli( <ide> DOCS: https://nightly.spacy.io/ap...
5
Javascript
Javascript
remove redundant texture binds
77c7364298361a55deae254e185f1a083e7826be
<ide><path>src/renderers/WebGLRenderer.js <ide> THREE.WebGLRenderer = function ( parameters ) { <ide> <ide> } <ide> <del> _gl.activeTexture( _gl.TEXTURE0 + slot ); <del> _gl.bindTexture( _gl.TEXTURE_2D, texture.__webglTexture ); <add> state.activeTexture( _gl.TEXTURE0 + slot ); <add> state.bindTexture( _gl.TEXT...
4
PHP
PHP
fix two typos
881c6582c58a3bcea69bf4f16e6f1c1539d94661
<ide><path>src/Illuminate/Database/Capsule/Manager.php <ide> public function __construct(Container $container = null) <ide> <ide> // Once we have the container setup, we will setup the default configuration <ide> // options in the container "config" binding. This will make the database <del> // ...
1
Ruby
Ruby
ignore empty `patch` blocks
94138c0848d586fbe9c76327a45069036642b0fb
<ide><path>Library/Homebrew/software_spec.rb <ide> def recursive_requirements <ide> <ide> def patch(strip = :p1, src = nil, &block) <ide> p = Patch.create(strip, src, &block) <add> return if p.is_a?(ExternalPatch) && p.url.blank? <add> <ide> dependency_collector.add(p.resource) if p.is_a? ExternalPatch <i...
2
Go
Go
simplify code by using sendwpipe utility
29ddf2be1e9b9349865e3d0f34b1d4fc0b960ee3
<ide><path>pkg/beam/examples/beamsh/beamsh.go <ide> func GetHandler(name string) Handler { <ide> if attachment == nil { <ide> continue <ide> } <del> r, w, err := os.Pipe() <add> w, err := sendWPipe(out, payload) <ide> if err != nil { <del> attachment.Close() <del> return <del> } <del> ...
1
Mixed
Javascript
remove html legend that is mostly unsupported.
e96ad6f2491db9e7a94f734ca09330b296d47f52
<ide><path>docs/configuration/legend.md <ide> var chart = new Chart(ctx, { <ide> ``` <ide> <ide> Now when you click the legend in this chart, the visibility of the first two datasets will be linked together. <del> <del>## HTML Legends <del> <del>Sometimes you need a very complex legend. In these cases, it makes sense ...
8
Python
Python
address feedback from previous commit
0a00ad98e6216d2845a5dfb9e144e903b2f4f245
<ide><path>celery/beat.py <ide> def tick(self, event_t=event_t, min=min, heappop=heapq.heappop, <ide> return min(adjust(next_time_to_run) or max_interval, max_interval) <ide> <ide> def schedules_equal(self, a, b): <del> if a.keys() != b.keys(): <add> if set(a.keys()) != set(b.keys()): <ide> ...
1
Text
Text
show images in next_frame_prediction/readme.md
3d5ab03cab36814d8b1af81b3fcf98e32c3bf0df
<ide><path>next_frame_prediction/README.md <ide> Authors: Xin Pan (Github: panyx0718), Anelia Angelova <ide> <ide> <b>Results:</b> <ide> <del><left> <ide> ![Sample1](g3doc/cross_conv.png) <del></left> <del><left> <ide> ![Sample2](g3doc/cross_conv2.png) <del></left> <del> <del><left> <ide> ![Loss](g3doc/cross_conv3.pn...
1
Javascript
Javascript
update the `repl` for the new `readline` behavior
327286dbcdd91b9a6c983cdf307e36ac36acf05d
<ide><path>lib/repl.js <ide> function REPLServer(prompt, stream, eval, useGlobal, ignoreUndefined) { <ide> <ide> rli.setPrompt(self.prompt); <ide> <del> rli.on('end', function() { <add> rli.on('close', function() { <ide> self.emit('exit'); <ide> }); <ide> <ide> function REPLServer(prompt, stream, eval, use...
1
PHP
PHP
fix routing pipeline
7573abf0202cac49aa626d2186091f45097fff17
<ide><path>src/Illuminate/Pipeline/Pipeline.php <ide> public function via($method) <ide> */ <ide> public function then(Closure $destination) <ide> { <del> $destination = function ($passable) use ($destination) { <del> return $destination($passable); <del> }; <del> <ide> $pi...
2
Java
Java
add all non-file parts as request parameters
584dabbb3980dbed5272f79a61aa996d390e528c
<ide><path>spring-test/src/main/java/org/springframework/test/web/servlet/request/MockMultipartHttpServletRequestBuilder.java <ide> /* <del> * Copyright 2002-2020 the original author or authors. <add> * Copyright 2002-2021 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 ...
2
Python
Python
fix issues with undetected fortran compilers
47478cba842b48c43846d7f343261154b7f16b66
<ide><path>numpy/distutils/ccompiler.py <ide> def CCompiler_get_version(self, force=0, ok_status=[0]): <ide> version_cmd = self.version_cmd <ide> except AttributeError: <ide> return None <del> if not version_cmd or not version_cmd[0]: <add> if not version_cmd or not version_cmd[0] or None in v...
3
Ruby
Ruby
remove empty lines
324201d7b9f1cd8a79baea64cdbf0df2be60decd
<ide><path>railties/test/application/rake/notes_test.rb <ide> def teardown <ide> assert_equal ' ', line[1] <ide> end <ide> end <del> <ide> end <ide> <ide> test 'notes finds notes in default directories' do <ide> def teardown <ide> assert_equal 4, line_number.size <...
1
Ruby
Ruby
use accessors instead of manipulating the hash
b42c58636571ccbf4bfc23f89039f43e63c98211
<ide><path>actionpack/lib/action_controller/metal/live.rb <ide> def initialize(response) <ide> <ide> def write(string) <ide> unless @response.committed? <del> @response.headers["Cache-Control"] = "no-cache" <del> @response.headers.delete "Content-Length" <add> @response.set_hea...
1
PHP
PHP
update the tests for the exception of `insertat()`
96145faba813b189e0d81d74b67602db6a9d583c
<ide><path>src/View/Helper/BreadcrumbsHelper.php <ide> public function insertAfter($matchingTitle, $title, $url = null, array $options <ide> throw new LogicException(sprintf("No crumb matching '%s' could be found.", $matchingTitle)); <ide> } <ide> <del> return $this->insertAt($key, $title, $...
2
PHP
PHP
fix expression doc blocks
f10d092d968df1007be35d573f98c2d61702b599
<ide><path>src/Database/Expression/BetweenExpression.php <ide> class BetweenExpression implements ExpressionInterface, FieldInterface <ide> /** <ide> * Constructor <ide> * <del> * @param mixed $field The field name to compare for values in between the range. <add> * @param string|\Cake\Database\Ex...
7
Ruby
Ruby
add version number to cask json option
7e5addfb22661814a10253648719be9f4f8041dd
<ide><path>Library/Homebrew/cask/lib/hbc/cli/info.rb <ide> module Hbc <ide> class CLI <ide> class Info < AbstractCommand <del> option "--json-v1", :json, false <add> option "--json=VERSION", :json <ide> <ide> def initialize(*) <ide> super <ide> raise CaskUnspecifiedError if args.e...
1
Java
Java
fix resolvabletype isassignablefrom for <?>
5358cc0f5f412b541bdb7e8b89374d924eb12fa4
<ide><path>spring-core/src/main/java/org/springframework/core/ResolvableType.java <ide> private boolean isAssignableFrom(ResolvableType type, boolean checkingGeneric) { <ide> Assert.notNull(type, "Type must not be null"); <ide> <ide> // If we cannot resolve types, we are not assignable <del> if (resolve() == null...
2
Javascript
Javascript
fix stale scene cleanup
b4d15d3c5ac4542931e0f3d1b93b42109e523550
<ide><path>Libraries/NavigationExperimental/NavigationTransitioner.js <ide> class NavigationTransitioner extends React.Component<any, Props, State> { <ide> const prevTransitionProps = this._prevTransitionProps; <ide> this._prevTransitionProps = null; <ide> <del> const scenes = this.state.scenes.filter(isSce...
1
Text
Text
add updated scrimba link to word blank challenge
28575e987771914169c6e2e473a10bfc7c52c353
<ide><path>curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/word-blanks.english.md <ide> id: 56533eb9ac21ba0edf2244bb <ide> title: Word Blanks <ide> challengeType: 1 <del>videoUrl: 'https://scrimba.com/c/cP3vVsm' <add>videoUrl: 'https://scrimba.com/c/caqn8zuP' <ide> forumTopic...
1
Javascript
Javascript
add compiler v2.0 - not connected
8af4fde18246ac1587b471a549e70d5d858bf0ee
<ide><path>src/Angular.js <ide> function copy(source, destination){ <ide> return destination; <ide> } <ide> <add>/** <add> * Create a shallow copy of an object <add> * @param src <add> */ <add>function shallowCopy(src) { <add> var dst = {}, <add> key; <add> for(key in src) { <add> if (src.hasOwnProperty(ke...
10
Text
Text
add section about error handling
9359b1aa3664ca568b80a3bb067b929f26c12262
<ide><path>guide/english/swift/error-handling/index.md <add>--- <add>title: Error Handling <add>--- <add> <add># Error Handling <add> <add>You represent errors using any type that adopts the `Error` protocol. <add> <add>```Swift <add>enum PrinterError: Error { <add> case outOfPaper <add> case noToner <add> case onFir...
1
Text
Text
fix a typo
b0f727880a7a3e907470937b74a7e573615b57e5
<ide><path>activerecord/CHANGELOG.md <ide> <ide> *Justin George* <ide> <del>* The database adpters now converts the options passed thought `DATABASE_URL` <add>* The database adapters now converts the options passed thought `DATABASE_URL` <ide> environment variable to the proper Ruby types before using. Fo...
1
PHP
PHP
add some docs
8a41259903f66e718d7abdd160a7fa0fc097e0d8
<ide><path>lib/Cake/Routing/RouteCollection.php <ide> protected function _getNames($url) { <ide> $fallbacks = array( <ide> '%2$s:%3$s', <ide> '%2$s:_action', <del> '_controller::_action' <add> '_controller:_action' <ide> ); <ide> if ($plugin) { <ide> $fallbacks = array( <ide><path>lib/Cake/Routing/Ro...
2
Java
Java
provide a flag to disable spel support
1c75f95be092cf0b65e19ab71173f9473c1edc82
<ide><path>spring-context/src/main/java/org/springframework/context/event/ApplicationListenerMethodAdapter.java <ide> /* <del> * Copyright 2002-2019 the original author or authors. <add> * Copyright 2002-2020 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"...
3
PHP
PHP
list command
5fad1041f790ed4c1c565c1bc85a9ac2072d7a8e
<ide><path>src/Illuminate/Foundation/Console/RouteListCommand.php <ide> protected function getColumns() <ide> } <ide> <ide> if ($columns = $this->option('columns')) { <del> return array_intersect($availableColumns, $columns); <add> return array_intersect($availableColumns, $this->...
1
Text
Text
add missing entry for to 15.4.2 changelog
6b1c86020da4e5f15686134b712fe7c3efa86022
<ide><path>CHANGELOG.md <ide> <ide> ### React DOM <ide> <add>* Fixed a decimal point issue on uncontrolled number inputs. ([@nhunzaker](https://github.com/nhunzaker) in [#7750](https://github.com/facebook/react/pull/7750)) <ide> * Fixed rendering of textarea placeholder in IE11. ([@aweary](https://github.com/aweary) ...
1
Java
Java
fix replaysubject termination race
42fa5aab312a4bf38558d6ec07b0f4a7596e13f3
<ide><path>rxjava-core/src/main/java/rx/subjects/ReplaySubject.java <ide> import rx.Observer; <ide> import rx.functions.Action0; <ide> import rx.functions.Action1; <add>import rx.operators.NotificationLite; <ide> import rx.subjects.SubjectSubscriptionManager.SubjectObserver; <ide> <ide> /** <ide> public void onComplet...
1
Ruby
Ruby
remove options from keg#dylib_id_for
4d772042f7e16933ec851edd649e613a3fbbfbbe
<ide><path>Library/Homebrew/cmd/bottle.rb <ide> def bottle_formula(f) <ide> keg.lock do <ide> begin <ide> keg.relocate_install_names prefix, Keg::PREFIX_PLACEHOLDER, <del> cellar, Keg::CELLAR_PLACEHOLDER, :keg_only => f.keg_only? <add> cellar, Keg::CELLAR_PLACEHOLDER <ide> ke...
3
PHP
PHP
add missing docblock
752c177386ae1c4b9002e58508386d1dad2f13fe
<ide><path>src/Routing/Exception/MissingDispatcherFilterException.php <ide> class MissingDispatcherFilterException extends Exception <ide> { <ide> <add> /** <add> * {@inheritDoc} <add> */ <ide> protected $_messageTemplate = 'Dispatcher filter %s could not be found.'; <ide> }
1
Javascript
Javascript
remove functions from closures in color
e1bfbac95bcba147debae2c51d921d7ea0e24833
<ide><path>src/math/Color.js <ide> function Color( r, g, b ) { <ide> <ide> } <ide> <add>function hue2rgb( p, q, t ) { <add> <add> if ( t < 0 ) t += 1; <add> if ( t > 1 ) t -= 1; <add> if ( t < 1 / 6 ) return p + ( q - p ) * 6 * t; <add> if ( t < 1 / 2 ) return q; <add> if ( t < 2 / 3 ) return p + ( q - p ) * 6 * ( 2 ...
1
Ruby
Ruby
write sql queries to terminal
e267c0ee5e59812359b33676454178e788f798ec
<ide><path>guides/bug_report_templates/active_record_gem.rb <ide> # Activate the gem you are reporting the issue against. <ide> gem 'activerecord', '3.2.11' <ide> require 'active_record' <del>require "minitest/autorun" <add>require 'minitest/autorun' <add>require 'logger' <ide> <ide> # This connection will do for data...
2
Ruby
Ruby
use instance_eval for schema block
2e9c7759984573944592fb1bda5aeb7c58edba55
<ide><path>activeresource/lib/active_resource/base.rb <ide> class << self <ide> # <ide> # example: <ide> # class Person < ActiveResource::Base <del> # schema do |s| <add> # schema do <ide> # # define each attribute separately <del> # s.attribute 'name', :string <add> ...
3
Go
Go
use gotestyourself env patching
2b445a53c17ae6526c11a729cb6d1d1dc57490ff
<ide><path>client/client_test.go <ide> import ( <ide> "net/url" <ide> "os" <ide> "runtime" <del> "strings" <ide> "testing" <ide> <ide> "github.com/docker/docker/api" <ide> "github.com/docker/docker/api/types" <ide> "github.com/docker/docker/internal/testutil" <add> "github.com/gotestyourself/gotestyourself/env"...
1