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
Mixed
Javascript
remove deprecated interaction modes
0228776e6649c18000876e43e4d44a2317a693a5
<ide><path>docs/general/interactions/modes.md <ide> var chart = new Chart(ctx, { <ide> }); <ide> ``` <ide> <del>## single (deprecated) <del>Finds the first item that intersects the point and returns it. Behaves like `'nearest'` mode with `intersect = true`. <del> <del>## label (deprecated) <del>See `'index'` mode. <de...
11
Text
Text
fix an error in resolution algorithm steps
6f39f105435ffd5e71ece41266ef3c256b29dc88
<ide><path>doc/api/modules.md <ide> require(X) from module at path Y <ide> 3. If X begins with './' or '/' or '../' <ide> a. LOAD_AS_FILE(Y + X) <ide> b. LOAD_AS_DIRECTORY(Y + X) <add> c. THROW "not found" <ide> 4. LOAD_NODE_MODULES(X, dirname(Y)) <ide> 5. LOAD_SELF_REFERENCE(X, dirname(Y)) <ide> 6. THROW "not ...
1
Ruby
Ruby
use gitrepositoryextension for 'path' in tap
68bbe6ee5fc723f154d4a2372997d5bd9682a554
<ide><path>Library/Homebrew/tap.rb <ide> def initialize(user, repo) <ide> @repo = repo <ide> @name = "#{@user}/#{@repo}".downcase <ide> @path = TAP_DIRECTORY/"#{@user}/homebrew-#{@repo}".downcase <add> @path.extend(GitRepositoryExtension) <ide> end <ide> <ide> # clear internal cache <ide> def clear_...
1
Python
Python
install json.gz files
96dd143a18aec72fff1c0743a4a6146b45403d65
<ide><path>setup.py <ide> def is_new_osx(): <ide> return False <ide> <ide> <del>PACKAGE_DATA = {"": ["*.pyx", "*.pxd", "*.txt", "*.tokens", "*.json"]} <add>PACKAGE_DATA = {"": ["*.pyx", "*.pxd", "*.txt", "*.tokens", "*.json", "*.json.gz"]} <ide> <ide> <ide> PACKAGES = find_packages()
1
Javascript
Javascript
use const in preferences.js
de6982e58e50fbe860a801023c26d9009dc2e96d
<ide><path>web/preferences.js <ide> * See the License for the specific language governing permissions and <ide> * limitations under the License. <ide> */ <add>/* eslint no-var: error, prefer-const: error */ <ide> <ide> let defaultPreferences = null; <ide> function getDefaultPreferences() { <ide> class BasePreferenc...
1
Javascript
Javascript
remove unused conditional stream
3439ccd2bfbe76cbddfd1416afbbec791f920a52
<ide><path>packages/ember-metal/lib/streams/conditional.js <del>import Stream from 'ember-metal/streams/stream'; <del>import { <del> read, <del> subscribe, <del> unsubscribe, <del> isStream <del>} from 'ember-metal/streams/utils'; <del> <del>export default function conditional(test, consequent, alternate) { <del> ...
1
Text
Text
add v3.8.0-beta.3 to changelog
0a2f4b4d8669d1522bc683f835b37744b7ced796
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.8.0-beta.3 (January 28, 2019) <add> <add>- [#17498](https://github.com/emberjs/ember.js/pull/17498) [BUGFIX] Don't remove dep keys in `didUnwatch` <add>- [#17499](https://github.com/emberjs/ember.js/pull/17499) [BUGFIX] Update to glimmer-vm 0.37.1. <add...
1
PHP
PHP
remove factory "types"
67b814b8350dbe0ca1682ca185f2ecef7dd67656
<ide><path>src/Illuminate/Database/Eloquent/Factory.php <ide> public static function construct(Faker $faker, $pathToFactories = null) <ide> return (new static($faker))->load($pathToFactories); <ide> } <ide> <del> /** <del> * Define a class with a given short-name. <del> * <del> * @param str...
3
Text
Text
remove note on oss/non-oss issue
9634bad79d3c17ee1b48a6c1e5a66d5ee8c5441a
<ide><path>examples/with-docker/README.md <ide> Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit. <ide> now --docker -e API_URL="https://example.com" <ide> ``` <ide> <del>>*Note: Multi-stage only works in OSS plan. [\[#962\]](https://github.com/zeit/now-cli/issues/962#issuecomment-383860...
1
Mixed
Text
move plugins out of experimental
c410222e42fb9195909390337bc129c6481e2453
<ide><path>cli/command/plugin/cmd.go <ide> func NewPluginCommand(dockerCli *command.DockerCli) *cobra.Command { <ide> cmd.SetOutput(dockerCli.Err()) <ide> cmd.HelpFunc()(cmd, args) <ide> }, <del> Tags: map[string]string{"experimental": ""}, <ide> } <ide> <ide> cmd.AddCommand( <ide><path>client/interface.go ...
27
PHP
PHP
apply fixes from styleci
94e8cb36af27c4e85b5e30cd0501b8448ed34909
<ide><path>src/Illuminate/Contracts/Queue/Job.php <ide> public function getConnectionName(); <ide> */ <ide> public function getQueue(); <ide> <del> /** <del> * Get the raw body string for the job. <del> * <del> * @return string <del> */ <del> public function getRawBody(); <add> ...
4
Javascript
Javascript
fix typo in trace_events_async_hooks.js
9545c48a5e90d53923feb485e2c02cd03126f8f2
<ide><path>lib/internal/trace_events_async_hooks.js <ide> const trace_events = process.binding('trace_events'); <ide> const async_wrap = process.binding('async_wrap'); <ide> const async_hooks = require('async_hooks'); <ide> <del>// Use small letters such that chrome://traceing groups by the name. <add>// Use small let...
1
PHP
PHP
update array notation
bddea2b34bfa89b07c0bd0b2043445f884832460
<ide><path>App/webroot/index.php <ide> $Dispatcher = new Dispatcher(); <ide> $Dispatcher->dispatch( <ide> Request::createFromGlobals(), <del> new Response(array('charset' => Configure::read('App.encoding'))) <add> new Response(['charset' => Configure::read('App.encoding')]) <ide> );
1
PHP
PHP
apply fixes from styleci
ebfa75fee5acef028a09f52a78a7069b1a09a723
<ide><path>src/Illuminate/Auth/SessionGuard.php <ide> public function logoutOtherDevices($password, $attribute = 'password') <ide> protected function rehashUserPassword($password, $attribute) <ide> { <ide> if (! Hash::check($password, $this->user()->{$attribute})) { <del> throw new InvalidArg...
1
Ruby
Ruby
add cask pre-release check
0279dda595248d6e0bc288387619d4784a1b8704
<ide><path>Library/Homebrew/cask/audit.rb <ide> def run! <ide> check_latest_with_auto_updates <ide> check_stanza_requires_uninstall <ide> check_appcast_contains_version <del> check_github_repository <ide> check_gitlab_repository <add> check_gitlab_repository_archived <add> check_g...
3
Javascript
Javascript
change colour => color
592014b705d6a7803601cee4d72e917817807431
<ide><path>examples/js/ShaderGodRays.js <ide> THREE.ShaderGodRays = { <ide> // Accumulate samples, making sure we dont walk past the light source. <ide> <ide> // The check for uv.y < 1 would not be necessary with "border" UV wrap <del> // mode, with a black border colour. I don't think this is currently ...
1
Java
Java
improve requestresponsebodymethodprocessor javadoc
2fc47d8752591da6d8533261c8ce858e0184a196
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessor.java <ide> * to the body of the request or response with an {@link HttpMessageConverter}. <ide> * <ide> * <p>An {@code @RequestBody} method argument is also validated if it is annotated <de...
1
Javascript
Javascript
add todo messages indicating desire to remove hack
9e4701a5ab9bbbf446e50e6e94e2c0f0ab5cdf39
<ide><path>src/ng/animate.js <ide> var $AnimateProvider = ['$provide', function($provide) { <ide> element = jqLite(element); <ide> <ide> if (runSynchronously) { <add> // TODO(@caitp/@matsko): Remove undocumented `runSynchronously` parameter, and always <add> // perform DOM manipulatio...
2
Go
Go
fix int format
c219311fd89b21aecc44895e3177ea3fc5b973d6
<ide><path>pkg/integration/utils_test.go <ide> func TestRandomUnixTmpDirPath(t *testing.T) { <ide> } <ide> } <ide> <del>func TestConsumeWithSpeedWith(t *testing.T) { <add>func TestConsumeWithSpeed(t *testing.T) { <ide> reader := strings.NewReader("1234567890") <ide> chunksize := 2 <ide> <ide> func TestConsumeWithS...
1
Javascript
Javascript
fix dom node warning
e5ba82a44b2f3badf29312c47a7bb80e978d4e46
<ide><path>src/utils/traverseAllChildren.js <ide> var traverseAllChildrenImpl = <ide> } else { <ide> if (type === 'object') { <ide> invariant( <del> children || children.nodeType !== 1, <add> !children || children.nodeType !== 1, <ide> 'traverseAllChildren(...):...
1
Text
Text
improve rendering of v4.4.5 changelog entry
8c1d5e58d4ddfbac20dfd3b0816d7593fad5d256
<ide><path>doc/changelogs/CHANGELOG_V4.md <ide> will be supported actively until April 2017 and maintained until April 2018. <ide> <ide> ### Notable Changes <ide> <del>* **buffer**: <del> * Buffer no longer errors if you call lastIndexOf with a search term longer than the buffer (Anna Henningsen) [#6511](https://git...
1
PHP
PHP
return new collection on values
b8d3f5f08f6cc3fa64015af1f4a062133b0d3d88
<ide><path>src/Illuminate/Support/Collection.php <ide> public function unique() <ide> */ <ide> public function values() <ide> { <del> $this->items = array_values($this->items); <del> <del> return $this; <add> return new static(array_values($this->items)); <ide> } <ide> <ide> /**
1
Javascript
Javascript
fix style errors
b1470249b4eaf257fa074f0d4fa052f980653ca4
<ide><path>packages/ember-metal/lib/streams/utils.js <ide> export function concat(array, separator) { <ide> } <ide> } <ide> <del>export function labelsFor(streams) { <add>export function labelsFor(streams) { <ide> var labels = []; <ide> <ide> for (var i=0, l=streams.length; i<l; i++) { <ide> export function l...
1
Ruby
Ruby
fix respond_to? documentation
2dc48cd4da730980dba46de2d5898666c5f99ed3
<ide><path>activerecord/lib/active_record/attribute_methods.rb <ide> def column_for_attribute(name) <ide> # end <ide> # <ide> # person = Person.new <del> # person.respond_to(:name) # => true <del> # person.respond_to(:name=) # => true <del> # person.respond_to(:name?) # => true <de...
1
Python
Python
add missing tutorials
f89665a0d09aeafdc98cdf5f5a3ad64099b725d4
<ide><path>fabfile.py <ide> def jade(source_name, out_dir): <ide> jade('blog/index.jade', 'blog/') <ide> jade('tutorials/index.jade', 'tutorials/') <ide> <del> for post_dir in (Path(__file__).parent / 'website' / 'src' / 'jade' / 'blog').iterdir(): <del> if post_dir.is_dir() \ <del> and (post_...
1
Text
Text
fix typo in crypto
4bc8f7542fe9b3fce62057e720154cef720d91f8
<ide><path>doc/api/crypto.md <ide> Returns information about a given cipher. <ide> Some ciphers accept variable length keys and initialization vectors. By default, <ide> the `crypto.getCipherInfo()` method will return the default values for these <ide> ciphers. To test if a given key length or iv length is acceptable f...
1
Text
Text
fix export clause
b48fc9657976091ff3833d340877aa5b761e3969
<ide><path>README.md <ide> wrong or incomplete. <ide> *Brought to you courtesy of our legal counsel. For more context, <ide> please see the Notice document.* <ide> <del>Transfers of Docker shall be in accordance with applicable export <del>controls of any country and all other applicable legal requirements. <del>Docke...
1
Go
Go
fix missing plugin name in message
b526964584d213074de7c5573a3373a58699c181
<ide><path>internal/test/daemon/plugin.go <ide> func (d *Daemon) PluginIsNotPresent(name string) func(poll.LogT) poll.Result { <ide> if err != nil { <ide> return poll.Error(err) <ide> } <del> return poll.Continue("plugin %q exists") <add> return poll.Continue("plugin %q exists", name) <ide> }) <ide> } <ide>
1
Python
Python
fix siamese layer
060fcd3ed072eb81a768d9e8da97ecb7b95c4702
<ide><path>keras/layers/core.py <ide> class Siamese(Layer): <ide> dot_axes: Same meaning as `dot_axes` argument of Merge layer <ide> ''' <ide> def __init__(self, layer, inputs, merge_mode='concat', <del> concat_axis=1, dot_axes=-1): <add> concat_axis=1, dot_axes=-1, is_gr...
1
Ruby
Ruby
add constants for regexes
fc7c2434710449088361c52046d13408c0c74729
<ide><path>Library/Homebrew/version.rb <ide> def self._parse(spec, detected_from_url:) <ide> end <ide> private_class_method :_parse <ide> <add> DOT_OPTIONAL = /(?:\d+(?:\.\d+)*)/.source.freeze <add> private_constant :DOT_OPTIONAL <add> <add> DOT_REQUIRED = /(?:\d+(?:\.\d+)+)/.source.freeze <add> private_consta...
1
Python
Python
add support for exporting gpt-j to onnx-trt
ae189ef99199d07bc7c6dfb79c46b411e05dfe61
<ide><path>src/transformers/models/gptj/modeling_gptj.py <ide> def rotate_every_two(x): <ide> return x.flatten(-2) # in einsum notation: rearrange(x, '... d j -> ... (d j)') <ide> <ide> <add>def duplicate_interleave(m): <add> """ <add> A simple version of `torch.repeat_interleave` for duplicating a matrix ...
1
Go
Go
replace usage of pkg/nat with go-connections/nat
056e7449039af522fa0a1567ef67916eaa0de93e
<ide><path>api/client/port.go <ide> import ( <ide> <ide> Cli "github.com/docker/docker/cli" <ide> flag "github.com/docker/docker/pkg/mflag" <del> "github.com/docker/docker/pkg/nat" <add> "github.com/docker/go-connections/nat" <ide> ) <ide> <ide> // CmdPort lists port mappings for a container. <ide><path>api/types/t...
26
PHP
PHP
remove unnecessary sqlite test
e224e394627f7994be32b19a4ac09822a878ac4f
<ide><path>tests/Database/DatabaseQueryBuilderTest.php <ide> public function testMySqlWrapping() <ide> } <ide> <ide> <del> public function testSQLiteOrderBy() <del> { <del> $builder = $this->getSQLiteBuilder(); <del> $builder->select('*')->from('users')->orderBy('email', 'desc'); <del> $this->assertEquals('select...
1
Java
Java
ensure annotationutils is compatible with java 6
0637864b3909ab13727cb228258b778a265da8d9
<ide><path>spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java <ide> private static <A extends Annotation> A findAnnotation(Class<?> clazz, Class<A> <ide> Set<Annotation> visited) { <ide> Assert.notNull(clazz, "Class must not be null"); <ide> <del> A annotation = clazz.getDeclaredA...
1
Javascript
Javascript
remove deleted files again
59212a538ed838d09e5a5d870f60e1cd66c2302c
<ide><path>src/core/ReactDOMNodeCache.js <del>/** <del> * Copyright 2013 Facebook, Inc. <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance with the License. <del> * You may obtain a copy of the License at <del> * <del> * http://www.apac...
2
Ruby
Ruby
fix typo in `--include-optional` output
fc40e2fa4006412ba96aad8729027d40c38c7129
<ide><path>Library/Homebrew/cmd/deps.rb <ide> def dep_display_name(dep) <ide> if ARGV.include?("--annotate") <ide> str = "#{str} [build]" if dep.build? <ide> str = "#{str} [test]" if dep.test? <del> str = "#{str} [optional" if dep.optional? <add> str = "#{str} [optional]" if dep.optional? ...
1
PHP
PHP
consolidate widget adding code within on method
7a7ab006427754be6d0ef8fd8d1b1fc6e805697f
<ide><path>src/View/Widget/WidgetLocator.php <ide> public function __construct(StringTemplate $templates, View $view, array $widget <ide> $this->_templates = $templates; <ide> $this->_view = $view; <ide> <del> if (!empty($widgets)) { <del> $this->add($widgets); <del> foreac...
1
Python
Python
make assertions only if actually chunking forward
678bb248d07c593c5ce94f49328835a90e0a8403
<ide><path>src/transformers/modeling_utils.py <ide> def forward(self, hidden_states): <ide> """ <ide> <ide> assert len(input_tensors) > 0, f"{input_tensors} has to be a tuple/list of tensors" <del> tensor_shape = input_tensors[0].shape[chunk_dim] <del> assert all( <del> input_tensor.shape[chunk_di...
1
Java
Java
fix memory leak in concurrentreferencehashmap
2b4c81e64240527c34d9896a13746596eab6e846
<ide><path>spring-core/src/main/java/org/springframework/util/ConcurrentReferenceHashMap.java <ide> public void clear() { <ide> } <ide> } <ide> <add> /** <add> * Remove any entries that have been garbage collected and are no longer referenced. <add> * Under normal circumstances garbage collected entries are autom...
1
Java
Java
fix merge bug
f35489c5fc44e8cd3614cf4f71ab6e8734084abc
<ide><path>rxjava-core/src/main/java/rx/internal/operators/OperatorMerge.java <ide> private void emit(T t, boolean complete) { <ide> emitted++; <ide> } <ide> } else { <del> if (producer.requested > 0) { <add> ...
1
Javascript
Javascript
remove usage of d3_array for efficiency
1bb3e9b02599f92a21a5b7b7b8f7492a1ba1e011
<ide><path>d3.js <ide> function d3_svg_mousePoints(container, events) { <ide> d3_mouse_bug44083 = !(ctm.f || ctm.e); <ide> svg.remove(); <ide> } <del> return events.map(function(e) { <add> var i = -1, <add> n = events.length, <add> points = []; <add> while (++i < n) { <add> var e = events[i]; ...
4
Python
Python
add more tests
2a4f6b942db5da321c627ebc1f0ca448bf491556
<ide><path>tests/keras/backend/test_backends.py <ide> class TestBackend(object): <ide> <ide> def test_linear_operations(self): <ide> check_two_tensor_operation('dot', (4, 2), (2, 4)) <add> check_two_tensor_operation('dot', (4, 2), (5, 2, 3)) <add> <ide> check_two_tensor_operation('batch_dot'...
2
Text
Text
update react functional component tutorial
d07a9de8203c72d2ff5d01e306954c536831cb18
<ide><path>docs/guides/react.md <ide> import "video.js/dist/video-js.css"; <ide> export const VideoJS = ( props ) => { <ide> <ide> const videoRef = React.useRef(null); <del> const { options } = props; <add> const playerRef = React.useRef(null); <add> const { options, onReady } = props; <ide> <del> // This separ...
1
Text
Text
add section on how to build debug build
030ef35bf026f32a3381187c405b4495bd8bf1d4
<ide><path>BUILDING.md <ide> To install this version of Node.js into a system directory: <ide> $ [sudo] make install <ide> ``` <ide> <add>#### Building a debug build <add> <add>If you run into an issue where the information provided by the JS stack trace <add>is not enough, or if you suspect the error happens outside ...
1
PHP
PHP
add sqlsrv as group connection
e26bd3ffb01f431935f207dc7a6fdcbd5600d6f7
<ide><path>config/database.php <ide> 'schema' => 'public', <ide> 'sslmode' => 'prefer', <ide> ], <add> <add> 'sqlsrv' => [ <add> 'driver' => 'sqlsrv', <add> 'host' => env('DB_HOST', 'localhost'), <add> 'database' => env('DB_DATABASE', 'forg...
1
Javascript
Javascript
give unresolved lazy() a name in component stack
3c7d52c3d6d316d09d5c2479c6851acecccc6325
<ide><path>packages/react-reconciler/src/__tests__/ReactLazy-test.internal.js <ide> let ReactFeatureFlags; <ide> let Suspense; <ide> let lazy; <ide> <add>function normalizeCodeLocInfo(str) { <add> return ( <add> str && <add> str.replace(/\n +(?:at|in) ([\S]+)[^\n]*/g, function(m, name) { <add> return '\n ...
1
Javascript
Javascript
add missing assertions
ff16d224ca81c07f3ef744e7a461b344af98ecf4
<ide><path>test/ng/directive/ngClassSpec.js <ide> describe('ngClass', function() { <ide> element.addClass('foo'); <ide> $rootScope.dynCls = ''; <ide> $rootScope.$digest(); <add> expect(element[0].className).toBe('ng-scope'); <ide> })); <ide> <ide> <ide> it('should convert undefined and null values ...
1
Ruby
Ruby
fix a doc regression [ci skip]
543b865586b10eb47b7b395e4438bc9d39f2dca4
<ide><path>activerecord/lib/active_record/callbacks.rb <ide> module ActiveRecord <ide> # * (6) <tt>after_save</tt> <ide> # * (7) <tt>after_commit</tt> <ide> # <del> # Check out ActiveRecord::Transactions for more details about <tt>after_commit</tt> and <ide> # Also, an <tt>after_rollback</tt> callback can be c...
1
Python
Python
add init and quit. clean the code. do stuff..
9aa5cbc1dbb5c04ccfac98d1be2bfd44502a6ee6
<ide><path>glances/glances.py <ide> def displayCaption(self): <ide> # Caption <ide> screen_x = self.screen.getmaxyx()[1] <ide> screen_y = self.screen.getmaxyx()[0] <del> msg = _("Press 'h' for help") <del> if (screen_y > self.caption_y and <del> screen_x > self.caption_x...
1
Text
Text
fix windows links
1254425ba8dc8262e943f7ad09f3e3487e0b2801
<ide><path>README.md <ide> Atom will automatically update when a new release is available. <ide> <ide> **Windows Requirements** <ide> * Windows 7 or later <del> * [Visual C++ 2010 Express][http://www.microsoft.com/visualstudio/eng/products/visual-studio-2010-express] <del> * [node.js - 32bit][http://nodejs.org/] <...
1
Javascript
Javascript
add crypto check to test-benchmark-http2
615160c38bc6c789f8215749291fea60aaae8db9
<ide><path>test/sequential/test-benchmark-http2.js <ide> 'use strict'; <ide> <ide> const common = require('../common'); <add>if (!common.hasCrypto) <add> common.skip('missing crypto'); <ide> <ide> if (!common.enoughTestMem) <ide> common.skip('Insufficient memory for HTTP/2 benchmark test');
1
Mixed
Javascript
prefix private controller methods with underscore
2f17dbcd701060c47818ea12d97ae6b813518277
<ide><path>docs/getting-started/v3-migration.md <ide> Animation system was completely rewritten in Chart.js v3. Each property can now <ide> <ide> #### Renamed private APIs <ide> <add>* `BarController.calculateBarIndexPixels` was renamed to `BarController._calculateBarIndexPixels` <add>* `BarController.calculateBarVal...
10
Text
Text
update changelog for the folding changes
afa92e51f65740793c150730afafe44c9b9880d7
<ide><path>CHANGELOG.md <ide> * Added: Inspect Element context menu <ide> * Fixed: Save As dialog now defaults to directory path of current editor <ide> * Fixed: Using toggle comment shortcut respects indentation level <add>* Fixed: Folding all will fold comments as well <add>* Added: Ability to fold all code at a give...
1
Javascript
Javascript
improve merging of resolve and parsing options
b3ec7754530fa6146dfe0211e014bcbbdacce065
<ide><path>lib/NormalModuleFactory.js <ide> const { <ide> const NormalModule = require("./NormalModule"); <ide> const RawModule = require("./RawModule"); <ide> const RuleSet = require("./RuleSet"); <del>const cachedMerge = require("./util/cachedMerge"); <add>const { cachedCleverMerge } = require("./util/cleverMerge"); ...
17
Javascript
Javascript
move sync task queue to its own module
dbe98a5aae79efce4de3eea95171d1ef70537fdb
<ide><path>packages/react-dom/src/events/ReactDOMEventListener.js <ide> import { <ide> import getEventTarget from './getEventTarget'; <ide> import {getClosestInstanceFromNode} from '../client/ReactDOMComponentTree'; <ide> <del>import { <del> enableLegacyFBSupport, <del> enableNewReconciler, <del>} from 'shared/React...
10
Text
Text
fix typo in registration-form
7af4a564c008b41c3ca2d7a738f8e9bf42a091b3
<ide><path>curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/step-023.md <ide> dashedName: step-23 <ide> <ide> # --description-- <ide> <del>For the terms and conditions, add an `input` of with a `type` of `checkbox` to the third `label` element. Also, as we do ...
1
PHP
PHP
change method order
ed12061a9a5e512a32c69db00cd6922db77533a1
<ide><path>src/Illuminate/Support/Traits/EnumeratesValues.php <ide> protected function equality($value) <ide> } <ide> <ide> /** <del> * Make a function that returns what's passed to it. <add> * Make a function using another function, by negating its result. <ide> * <add> * @param \Closure $c...
1
Python
Python
apply to_native on dictionary keys as well
a6806f03078fbdda598e10260f9d9bcdf07c1dce
<ide><path>rest_framework/fields.py <ide> def to_native(self, value): <ide> elif hasattr(value, '__iter__') and not isinstance(value, (dict, basestring)): <ide> return [self.to_native(item) for item in value] <ide> elif isinstance(value, dict): <del> return dict((k, self.to_native...
1
Java
Java
improve the package docs of i.r.schedulers
caefffa27e7c2e8d1a9f09bc51213f77ad5ae93e
<ide><path>src/main/java/io/reactivex/schedulers/package-info.java <ide> * limitations under the License. <ide> */ <ide> /** <del> * Scheduler implementations, value+time record class and the standard factory class to <del> * return standard RxJava schedulers or wrap any Executor-based (thread pool) instances. <add> ...
1
Text
Text
emphasize use of markdown in challenges
6d879e343993ab34ebb54bba4c5000ca97a848ae
<ide><path>docs/how-to-help-with-video-challenges.md <ide> If a question has not yet been added to a particular video challenge, it will ha <ide> <ide> ```yml <ide> question: <del> text: Question <add> text: | <add> Question <ide> answers: <del> - one <del> - two <del> - three <add> - | <add> o...
1
Text
Text
fix url/slug field signatures in docs
052e236fde3453b33a4e651293da84e7d302cefb
<ide><path>docs/api-guide/fields.md <ide> or `django.db.models.fields.TextField`. <ide> <ide> Corresponds to `django.db.models.fields.URLField`. Uses Django's `django.core.validators.URLValidator` for validation. <ide> <del>**Signature:** `CharField(max_length=200, min_length=None)` <add>**Signature:** `URLField(max...
1
PHP
PHP
improve code readability
efeaf217b01d15488fa7098ec41420057e8423ad
<ide><path>src/Utility/Security.php <ide> public static function insecureRandomBytes(int $length): string <ide> */ <ide> public static function engine($instance = null) <ide> { <del> if ($instance === null && static::$_instance === null) { <del> if (extension_loaded('openssl')) { <del> ...
2
Javascript
Javascript
fix unrelated test
ab90d08292acf8fe095fea6e921b9806996692a5
<ide><path>spec/workspace-spec.js <ide> describe('Workspace', () => { <ide> <ide> results.sort((a, b) => a.filePath.localeCompare(b.filePath)) <ide> <del> expect(results).toHaveLength(3) <add> expect(results.length).toBeGreaterThan(0) <ide> expect(results[0].filePath).toBe( <ide>...
1
Text
Text
fix some issues in 4.2 release notes
96e483aa1dac9f937a82c5a782bc2cb9c596b2ff
<ide><path>guides/source/4_2_release_notes.md <ide> Please refer to the [Changelog][railties] for detailed changes. <ide> * Introduced `Rails.gem_version` as a convenience method to return `Gem::Version.new(Rails.version)`. <ide> ([Pull Request](https://github.com/rails/rails/pull/14101)) <ide> <del>* Introduc...
1
Text
Text
add better documentation around url.parse
8a6c57de006e2af58d52bb8646b9b4a433f7f797
<ide><path>readme.md <ide> const handle = app.getRequestHandler() <ide> <ide> app.prepare().then(() => { <ide> createServer((req, res) => { <add> // Be sure to pass `true` as the second argument to `url.parse`. <add> // This tells it to parse the query portion of the URL. <ide> const parsedUrl = parse(req....
1
Javascript
Javascript
fix typo in scenario jsdocs
35bb19856cc8f3d8923305869c0d4ffa4a03aa8f
<ide><path>src/scenario/dsl.js <ide> angular.scenario.dsl('binding', function() { <ide> * Usage: <ide> * input(name).enter(value) enters value in input with specified name <ide> * input(name).check() checks checkbox <del> * input(name).select(value) selects the readio button with specified name/value <add> ...
1
Go
Go
add joan clarke to name collection
479b793a3efa1b07a9620ddd60c065c6b06e07c3
<ide><path>pkg/namesgenerator/names-generator.go <ide> var ( <ide> //Claude Shannon - The father of information theory and founder of digital circuit design theory. (https://en.wikipedia.org/wiki/Claude_Shannon) <ide> "shannon", <ide> <add> // Joan Clarke - Bletchley Park code breaker during the Second World War ...
1
Go
Go
add test verify container id
76a19bb3a95ef788cd889b36b0af3b79327ff431
<ide><path>integration-cli/docker_cli_run_test.go <ide> package main <ide> import ( <ide> "fmt" <ide> "os/exec" <add> "regexp" <ide> "strings" <ide> "testing" <ide> ) <ide> func TestMultipleVolumesFrom(t *testing.T) { <ide> <ide> logDone("run - multiple volumes from") <ide> } <add> <add>// this tests verifies the...
2
Ruby
Ruby
fix rubocop warnings
f1c64f1cdce6f2ce1d45d93e553ae2629c2e419f
<ide><path>Library/Homebrew/dev-cmd/pull.rb <ide> def force_utf8!(str) <ide> <ide> private <ide> <del> def publish_changed_formula_bottles(tap, changed_formulae_names) <add> def publish_changed_formula_bottles(_tap, changed_formulae_names) <ide> if ENV["HOMEBREW_DISABLE_LOAD_FORMULA"] <ide> raise "Need ...
1
Mixed
Ruby
add db_runtime to active job instrumentation
9574a39a7acf38453d08a31f56a9797c7e417e94
<ide><path>activejob/CHANGELOG.md <add>* `perform.active_job` notification payloads now include `:db_runtime`, which <add> is the total time (in ms) taken by database queries while performing a job. <add> This value can be used to better understand how a job's time is spent. <add> <add> *Jonathan Hefner* <ad...
7
Text
Text
add v3.25.0 to changelog
d58886db594226e954b8c5e4a94a5e392b72facd
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <del>### v3.25.0-beta.5 (February 02, 2021) <add>### v3.25.0 (February 08, 2021) <ide> <add>- [#19302](https://github.com/emberjs/ember.js/pull/19302) / [#19306](https://github.com/emberjs/ember.js/pull/19306) / [#19319](https://github.com/emberjs/ember.js/pull/19...
1
Python
Python
fix a test
fa06fd7c1b46198fe39d77a167164a4d676c4d17
<ide><path>libcloud/test/compute/test_openstack.py <ide> def test_ex_list_keypairs(self): <ide> self.assertEqual(keypair.name, 'key2') <ide> self.assertEqual( <ide> keypair.fingerprint, '5d:66:33:ae:99:0f:fb:cb:86:f2:bc:ae:53:99:b6:ed') <del> self.assertTrue(keypair.public_key > 10) <...
1
Ruby
Ruby
add missing require
7efb4d23c1022108319add6218ae9d9284936ac5
<ide><path>actionpack/lib/action_dispatch/http/content_security_policy.rb <ide> # frozen_string_literal: true <ide> <add>require "active_support/core_ext/object/deep_dup" <add> <ide> module ActionDispatch #:nodoc: <ide> class ContentSecurityPolicy <ide> class Middleware
1
PHP
PHP
fix bug in isclasscastable
0f693c992d0df1ee34716cdfc4d9c5a5bf9872b9
<ide><path>src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php <ide> protected function isJsonCastable($key) <ide> protected function isClassCastable($key) <ide> { <ide> return array_key_exists($key, $this->getCasts()) && <del> class_exists($class = $this->getCasts()[$key]) && <ad...
1
Ruby
Ruby
eliminate moar `array.count` from `brew upgrade`
e527c1c83ab9a6e2b17debe7017659922bf82fbb
<ide><path>Library/Homebrew/cmd/upgrade.rb <ide> def upgrade <ide> end <ide> <ide> if outdated.length > 1 <del> oh1 "Upgrading #{outdated.count} outdated package#{outdated.count.plural_s}, with result:" <add> oh1 "Upgrading #{outdated.length} outdated package#{outdated.length.plural_s}, with result:"...
1
Javascript
Javascript
fix a dangling link
071be609275558f177cdb28d8f8891bd1805af1c
<ide><path>src/ngAnimate/animateCss.js <ide> * unless you really need a digest to kick off afterwards. <ide> * <ide> * Keep in mind that, to make this easier, ngAnimate has tweaked the JS animations API to recognize when a runner instance is returned from $animateCss <del> * (so there is no need to call `runner.done...
1
Javascript
Javascript
remove common.port from test-net-timeout
794bfacb26c4059c2eab7efb475489b7010054c3
<ide><path>test/pummel/test-net-timeout.js <ide> // USE OR OTHER DEALINGS IN THE SOFTWARE. <ide> <ide> 'use strict'; <del>const common = require('../common'); <add>require('../common'); <ide> const assert = require('assert'); <ide> const net = require('net'); <ide> <ide> const echo_server = net.createServer((socket) ...
1
Ruby
Ruby
use has_key? rather than accessing the value
4e4a5af731b9a17f401d13d9dcd9e33ee99da186
<ide><path>Library/Homebrew/extend/ENV.rb <ide> def universal_binary <ide> <ide> def replace_in_cflags before, after <ide> CC_FLAG_VARS.each do |key| <del> self[key] = self[key].sub before, after if self[key] <add> self[key] = self[key].sub(before, after) if has_key?(key) <ide> end <ide> end <ide...
1
Python
Python
fix doc tests
39e76d76fd411d64b7481cd21227f32226c124e3
<ide><path>src/transformers/models/detr/modeling_detr.py <ide> def forward( <ide> ... if score > 0.9: <ide> ... print( <ide> ... f"Detected {model.config.id2label[label.item()]} with confidence " <del> ... f"{round(score.item(), 3)} at location {box}." ...
1
Ruby
Ruby
exclude more from build-from-source warning
2777369da798dad955d1dd03723425e8d105ebed
<ide><path>Library/Homebrew/formula_installer.rb <ide> def check_install_sanity <ide> <ide> if Homebrew.default_prefix? && !Homebrew::EnvConfig.developer? && <ide> !build_from_source? && !build_bottle? && <del> formula.tap&.core_tap? && !formula.bottle_unneeded? && <add> !installed_as_dependency...
1
PHP
PHP
apply fixes from styleci
ef0a884b608a9ce1e1a1f25c279cfb165b907d5f
<ide><path>tests/Support/SupportStringableTest.php <ide> public function testWhenEmpty() <ide> <ide> public function testWhenFalse() <ide> { <del> $this->assertSame('when', (string) $this->stringable('when')->when(false,function($stringable,$value){ <add> $this->assertSame('when', (string) $this-...
1
Go
Go
add all backend ip into service records if no vip
10fcb9dd2a50b6a284940b5937e6af1f6e5a9825
<ide><path>libnetwork/service_linux.go <ide> func (c *controller) addServiceBinding(name, sid, nid, eid string, vip net.IP, i <ide> // applications have access to DNS RR. <ide> n.(*network).addSvcRecords("tasks."+name, ip, nil, false) <ide> <add> // Add service name to vip in DNS, if vip is valid. Otherwise resort t...
1
Javascript
Javascript
fix a bug with concurrent intervals
1901673b06932075005f04ae5116132613349a1c
<ide><path>d3.js <ide> function d3_selection(groups) { <ide> <ide> // TODO filter, slice? <ide> <del> groups.transition = function() { <del> return d3_transition(groups); <add> groups.transition = function(name) { <add> return d3_transition(groups, name); <ide> }; <ide> <ide> return groups; <ide> } <de...
5
Go
Go
use stdlib tls dialer
2ac277a56f50d0ad1831603dccbca5c19ff717e9
<ide><path>client/hijack.go <ide> import ( <ide> "net/http" <ide> "net/http/httputil" <ide> "net/url" <del> "strings" <ide> "time" <ide> <ide> "github.com/docker/docker/api/types" <ide> "github.com/docker/go-connections/sockets" <ide> "github.com/pkg/errors" <ide> ) <ide> <del>// tlsClientCon holds tls informa...
4
Javascript
Javascript
use fixture files
ad9fbf96b2226c8d2598c137060a368bd75f0f55
<ide><path>node-tests/blueprints/service-test-test.js <ide> const chai = require('ember-cli-blueprint-test-helpers/chai'); <ide> const expect = chai.expect; <ide> <ide> const generateFakePackageManifest = require('../helpers/generate-fake-package-manifest'); <add>const fixture = require('../helpers/fixture'); <ide> <...
4
Text
Text
fix typo in adding_a_new_model readme
a5282ab4bcb0556be5bc9c82d3e17ed978419605
<ide><path>templates/adding_a_new_model/README.md <ide> You will also see a doc file and tests for your new models. First you should run <ide> <ide> ``` <ide> make style <del>maxke fix-copies <add>make fix-copies <ide> ``` <ide> <ide> and then you can start tweaking your model. You should:
1
Python
Python
update boto3 api calls in ecsoperator
2ab2cbf93df9eddfb527fcfd9d7b442678a57662
<ide><path>airflow/providers/amazon/aws/operators/ecs.py <ide> def _start_task(self): <ide> self.arn = response['tasks'][0]['taskArn'] <ide> <ide> def _try_reattach_task(self): <del> task_def_resp = self.client.describe_task_definition(self.task_definition) <add> task_def_resp = self.client.d...
2
Javascript
Javascript
add type for onlayout
9108f98ca72c1d72d843145f0f1fb8b010be1d35
<ide><path>Libraries/Components/Keyboard/KeyboardAvoidingView.js <ide> const View = require('View'); <ide> const ViewPropTypes = require('ViewPropTypes'); <ide> <ide> import type EmitterSubscription from 'EmitterSubscription'; <add>import type {ViewLayout, ViewLayoutEvent} from 'ViewPropTypes'; <ide> <del>type Rect =...
3
Javascript
Javascript
fix $digest example
4e65635f85f83f3e92e279563bb4f26eb05eb02e
<ide><path>src/ng/rootScope.js <ide> function $RootScopeProvider(){ <ide> scope.counter = 0; <ide> <ide> expect(scope.counter).toEqual(0); <del> scope.$watch('name', function(scope, newValue, oldValue) { <add> scope.$watch('name', function(newValue, oldValue) { <ide> ...
1
Javascript
Javascript
add ability to silence packager logs to stdout
d5445d5fbc5ea6d1ec01c9d4e7692613a216967f
<ide><path>local-cli/util/log.js <ide> */ <ide> 'use strict'; <ide> <add>var _enabled = true; <add> <add>function disable() { <add> _enabled = false; <add>} <add> <ide> function log(stream, module) { <ide> return function() { <add> if (!_enabled) { <add> return; <add> } <ide> const message = Array.p...
3
Ruby
Ruby
fix conditional in env.fortran
405ba3df68ce1e03800f67d631b76bbec2b1d14a
<ide><path>Library/Homebrew/extend/ENV/shared.rb <ide> def fortran <ide> flags_to_set = FC_FLAG_VARS.reject { |key| self[key] } <ide> flags_to_set.each {|key| self[key] = cflags} <ide> set_cpu_flags(flags_to_set) <del> elsif not self['FCFLAGS'] or self['FFLAGS'] <add> elsif values_at(*...
1
Go
Go
remove daemon dependency in containercreate()
03a170c48d660be72c387f1821ca48a713dd1cea
<ide><path>api/server/router/container/backend.go <ide> type copyBackend interface { <ide> <ide> // stateBackend includes functions to implement to provide container state lifecycle functionality. <ide> type stateBackend interface { <del> ContainerCreate(params *daemon.ContainerCreateConfig) (types.ContainerCreateResp...
6
Javascript
Javascript
name anonymous functions
e658f5b066e1861c6ab2ec76d9ae2a2d132aa5dd
<ide><path>lib/repl.js <ide> function REPLServer(prompt, <ide> <ide> self.eval = self._domain.bind(eval_); <ide> <del> self._domain.on('error', function(e) { <add> self._domain.on('error', function debugDomainError(e) { <ide> debug('domain error'); <ide> const top = replMap.get(self); <ide> internalUt...
1
Mixed
Ruby
add collection cache versioning
4f2ac80d4cdb01c4d3c1765637bed76cc91c1e35
<ide><path>activerecord/CHANGELOG.md <add>* Add `ActiveRecord::Relation#cache_version` to support recyclable cache keys via <add> the versioned entries in `ActiveSupport::Cache`. This also means that <add> `ActiveRecord::Relation#cache_key` will now return a stable key that does not <add> include the max tim...
5
Java
Java
remove stray head line
f651b7a504f9ec5c1c7f89ede072656d36def3d7
<ide><path>rxjava-core/src/main/java/rx/Observable.java <ide> public Subscription call(Observer<T> observer) { <ide> } <ide> <ide> /** <del><<<<<<< HEAD <ide> * Creates an Observable which produces buffers of collected values. This Observable produces connected <ide> * non-overlapping buffers. The cu...
1
Text
Text
add api challenges - spanish
f427fb4b91b1aeec7da37c8fc7b7d0d37266bb37
<ide><path>curriculum/challenges/spanish/05-apis-and-microservices/apis-and-microservices-projects/exercise-tracker.spanish.md <add>--- <add>id: 5a8b073d06fa14fcfde687aa <add>title: Exercise Tracker <add>localeTitle: Rastreador de ejercicios <add>challengeType: 4 <add>isRequired: true <add>--- <add> <add>## Description...
39
Java
Java
replace spaces with tabs
66bc214a79da1bcae850fc80fae7af2b1b912822
<ide><path>org.springframework.web/src/main/java/org/springframework/http/server/ServletServerHttpRequest.java <ide> public HttpHeaders getHeaders() { <ide> this.servletRequest.getCharacterEncoding() != null) { <ide> MediaType oldContentType = this.headers.getContentType(); <ide> Charset charSet = Charset....
1
Text
Text
fix tiny typo
7367bd53a908474f14f0f44f3744f2fcb1f4111c
<ide><path>docs/tutorial/quickstart.md <ide> Notice that we're using hyperlinked relations in this case, with `HyperlinkedMod <ide> <ide> ## Views <ide> <del>Right, we'd better right some views then. Open `quickstart/views.py` and get typing. <add>Right, we'd better write some views then. Open `quickstart/views.py`...
1
Ruby
Ruby
allow nested namespaces in routing
04823ff48fbde3ecf7849a1e1a3d3bcc4cc71aa8
<ide><path>actionpack/lib/action_controller/resources.rb <ide> def resource(*entities, &block) <ide> # It'll also create admin_product_tags_url pointing to "admin/products/#{product_id}/tags", which will look for <ide> # Admin::TagsController. <ide> def namespace(name, options = {}, &block) <del> with_...
2
Python
Python
get process stats
24d6dd71ce297eb583a63569047c40cd10f79dea
<ide><path>glances/glances.py <ide> def add(self, item_state, item_type, item_value, proc_list = []): <ide> # Add Top process sort depending on alert type <ide> if (item_type.startswith("MEM")): <ide> # MEM <del> sortby = 'mem_percent' <add> sortby = 'memory_percent' <i...
1