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 typos in web streams api documentation
3bae79087c6c64c65d7dc6c1076d8dc392d1d468
<ide><path>doc/api/webstreams.md <ide> method to acquire the async iterator and set the `preventCancel` option to <ide> The {ReadableStream} must not be locked (that is, it must not have an existing <ide> active reader). During the async iteration, the {ReadableStream} will be locked. <ide> <del>#### Transfering with ...
1
Mixed
Go
clarify meaning of docker attach
1922eac4cc7190e1f3fa98796e7613c3e5b8b2bd
<ide><path>cli/command/container/attach.go <ide> func NewAttachCommand(dockerCli *command.DockerCli) *cobra.Command { <ide> <ide> cmd := &cobra.Command{ <ide> Use: "attach [OPTIONS] CONTAINER", <del> Short: "Attach to a running container", <add> Short: "Attach local standard input, output, and error streams to ...
2
Ruby
Ruby
remove unused block arguments
7b1c78363032bd83b81c54f49ee258d82c3d4998
<ide><path>actionpack/lib/action_dispatch/http/request.rb <ide> def GET <ide> <ide> # Override Rack's POST method to support indifferent access <ide> def POST <del> get_header("action_dispatch.request.request_parameters") do |k| <add> get_header("action_dispatch.request.request_parameters") do <ide> ...
2
Javascript
Javascript
add prefix to the architecture overlay
d0c618a1f16d7ea7155bd66524d1faf30f30f5a4
<ide><path>Libraries/ReactNative/ReactNativeArchitectureIndicator.js <ide> const View = require('../Components/View/View'); <ide> const hasTurboModule = global.__turboModuleProxy != null; <ide> const isBridgeless = global.RN$Bridgeless === true; <ide> <add>// This is a temporary component to help with migration for th...
1
Javascript
Javascript
use relative path in source map for context module
14478b90c8d2735626b6f40fd0a9274e0a9e5225
<ide><path>lib/Compilation.js <ide> Or do you want to use the entrypoints '${name}' and '${runtime}' independently o <ide> dependencyTemplates, <ide> runtimeTemplate, <ide> runtime, <del> codeGenerationResults: results <add> codeGenerationResults: results, <add> compilation: this <ide> ...
7
Text
Text
fix readme for 0.10
22e14b1e81155e958bff24f14c59a28233b4202a
<ide><path>README.md <ide> export default class Counter { <ide> // and bind actions to the dispatcher with `bindActionCreators`. <ide> <ide> import React from 'react'; <del>import { Connector, bindActionCreators } from 'redux'; <add>import { bindActionCreators } from 'redux'; <add>import { Connector } from 'redux/reac...
1
Javascript
Javascript
set fahrenheit values to 1 decimal
c599797696da2d797915ea63b16e036e7b74a41c
<ide><path>glances/outputs/static/js/components/plugin-sensors/controller.js <ide> function GlancesPluginSensorsController($scope, GlancesStats, GlancesPluginHelpe <ide> <ide> _.forEach(stats, function (sensor) { <ide> if (convertToFahrenheit && sensor.type != 'battery' && sensor.type != 'fan_speed...
1
Ruby
Ruby
fix typo in documentation comment
47bf072330f4b62a125d7e93b8a11c8d92c84387
<ide><path>actionpack/lib/action_view/helpers/asset_tag_helper.rb <ide> def auto_discovery_link_tag(type = :rss, url_options = {}, tag_options = {}) <ide> # ==== Examples <ide> # <ide> # favicon_link_tag '/myicon.ico' <del> # # => <link href="/assets/favicon.ico" rel="shortcut icon" type="ima...
1
Javascript
Javascript
fix handling of val on ie with jquery
81e99799a8c999d8038dd27bf86bb8ca6a3add11
<ide><path>src/widgets.js <ide> function valueAccessor(scope, element) { <ide> } <ide> }, <ide> set: function(value) { <del> var oldValue = element.val(), <add> var oldValue = element[0].value, <ide> newValue = format(value); <ide> if (oldValue != newValue) { <del> element...
1
Python
Python
add a note about byte arrays
352b02f98f61127c4908bb0fe12e7e2fbc232def
<ide><path>libcloud/utils/files.py <ide> def read_in_chunks(iterator, chunk_size=None, fill_size=False): <ide> @type fill_size: C{bool} <ide> @param fill_size: If True, make sure chunks are chunk_size in length <ide> (except for last chunk). <add> <add> TODO: At some point in the future...
1
Javascript
Javascript
add mustcall to test-fs-readfile-pipe
fa3714d721e32acd16776d262ab970da405dbda4
<ide><path>test/parallel/test-fs-readfile-pipe.js <ide> const assert = require('assert'); <ide> const fs = require('fs'); <ide> <ide> if (process.argv[2] === 'child') { <del> fs.readFile('/dev/stdin', function(er, data) { <add> fs.readFile('/dev/stdin', common.mustCall(function(er, data) { <ide> assert.ifError(e...
1
Javascript
Javascript
fix bracket nit
3154ec4e38796c38fd27848dbd13447b463f508c
<ide><path>src/core.js <ide> var PDFDoc = (function PDFDocClosure() { <ide> <ide> messageHandler.on('page_error', function pdfDocError(data) { <ide> var page = this.pageCache[data.pageNum]; <del> if (page.displayReadyPromise) { <del> page.displayReadyPromise.reject(data.error);} <add> ...
1
Mixed
Text
add -h|--human flag to `docker history`
ae5cf30c7c6630d201ef14e2e460f4164f58a261
<ide><path>api/client/history.go <ide> import ( <ide> // Usage: docker history [OPTIONS] IMAGE <ide> func (cli *DockerCli) CmdHistory(args ...string) error { <ide> cmd := cli.Subcmd("history", "IMAGE", "Show the history of an image", true) <add> human := cmd.Bool([]string{"H", "-human"}, true, "Print sizes and dates i...
3
PHP
PHP
fix cs error
d1daf290267bac76e3ce80c6df2fb52c8f5ba757
<ide><path>src/ORM/Behavior/TreeBehavior.php <ide> public function afterSave(Event $event, Entity $entity) <ide> /** <ide> * Set level for descendents. <ide> * <del> * @param \Cake\ORM\Entity $entity <add> * @param \Cake\ORM\Entity $entity The entity whose descendents need to be updated. <ide> ...
1
Javascript
Javascript
change var to let in test-trace-events
fdac8f62581389ee3019d473a9c5c3f68ca4027e
<ide><path>test/parallel/test-trace-events-all.js <ide> const fs = require('fs'); <ide> const path = require('path'); <ide> <ide> const CODE = <del> 'setTimeout(() => { for (var i = 0; i < 100000; i++) { "test" + i } }, 1)'; <add> 'setTimeout(() => { for (let i = 0; i < 100000; i++) { "test" + i } }, 1)'; <ide> <id...
8
Go
Go
fix streaming json content-type for postbuild
30d6ff99fc6a22937b21bd9f35610d5f74a9b6e7
<ide><path>api/server/server.go <ide> func postBuild(eng *engine.Engine, version version.Version, w http.ResponseWrite <ide> } <ide> } <ide> <add> // This needs to be set before calls to streamJSON <add> job.SetenvBool("lineDelim", version.GreaterThanOrEqualTo("1.15")) <add> <ide> if version.GreaterThanOrEqualTo("...
1
Python
Python
update new test so that it fails without the fix
06521777bdf4419e5e6197e5815ba6a40d4a197f
<ide><path>keras/applications/applications_test.py <ide> def test_application_notop(self, app, last_dim): <ide> def test_application_notop_custom_input_shape(self, app, last_dim): <ide> output_shape = _get_output_shape( <ide> lambda: app( <del> weights=None, include_top=False, inp...
1
Ruby
Ruby
remove unused accessor
8e20737c5e88c4389f06a63161ebbf13b0958568
<ide><path>activerecord/test/cases/migration/column_positioning_test.rb <ide> module ActiveRecord <ide> class Migration <ide> class ColumnPositioningTest < ActiveRecord::TestCase <del> attr_reader :connection, :table_name <add> attr_reader :connection <ide> alias :conn :connection <ide> <ide> ...
1
Javascript
Javascript
use only websockets and xhr-polling
ddff347b91df7f13b6d1118410cfa15bf99b456d
<ide><path>karma-shared.conf.js <ide> module.exports = function(config, specificOptions) { <ide> <ide> <ide> if (process.env.TRAVIS) { <add> config.transports = ['websocket', 'xhr-polling']; <add> config.browserStack.build = 'TRAVIS ' + process.env.TRAVIS_BUILD; <add> <ide> // Debug logging into a file, t...
1
Go
Go
fix openfile parameters
141b9a74716c016029badf16aca21dc96975aaac
<ide><path>daemon/graphdriver/lcow/remotefs_file.go <ide> func (l *lcowfs) OpenFile(path string, flag int, perm os.FileMode) (_ driver.Fil <ide> flagStr := strconv.FormatInt(int64(flag), 10) <ide> permStr := strconv.FormatUint(uint64(perm), 8) <ide> <del> commandLine := fmt.Sprintf("%s %s %s %s", remotefs.RemotefsCm...
1
Javascript
Javascript
fix handling of multiple async focus events
ddfa83766478268391bc9da96683fc0d4973fcfe
<ide><path>src/event.js <ide> function leverageNative( el, type, expectSync ) { <ide> if ( ( event.isTrigger & 1 ) && this[ type ] ) { <ide> <ide> // Interrupt processing of the outer synthetic .trigger()ed event <del> if ( !saved ) { <add> // Saved data should be false in such cases, but might be a lefto...
2
Javascript
Javascript
pass geometry and material into super constructor
32c143f7d678af9f32678222b3538f94f86a2b3d
<ide><path>examples/js/lines/Line2.js <ide> console.warn( "THREE.Line2: As part of the transition to ES6 Modules, the files <ide> <ide> THREE.Line2 = function ( geometry, material ) { <ide> <del> THREE.LineSegments2.call( this ); <add> THREE.LineSegments2.call( this, geometry, material ); <ide> <ide> this.type = 'L...
4
Ruby
Ruby
add comment detailing options handling
03a72760ef8a7b3c04193ed51fa5398d38abbd96
<ide><path>Library/Homebrew/utils/curl.rb <ide> def curl_http_content_headers_and_checksum( <ide> ) <ide> file = Tempfile.new.tap(&:close) <ide> <add> # Convert specs to options. This is mostly key-value options, <add> # unless the value is a boolean in which case treat as as flag. <ide> spec...
1
Text
Text
fix eager load associations without pks [ci skip]
d8fbfee81e8923e2fec79da880eef263dcf16e91
<ide><path>activerecord/CHANGELOG.md <ide> ## Rails 4.0.0 (unreleased) ## <ide> <add>* Fix eagerly loading associations without primary keys. Fixes #4976. *Kelley Reynolds* <add> <ide> * Rails now raise an exception when you're trying to run a migration that has an invalid <ide> file name. Only lower case lett...
1
Javascript
Javascript
fix thumbnails to follow the require syntax
596109fa0a5d078f59852dea2e174ac55cc96f93
<ide><path>Examples/UIExplorer/ListViewGridLayoutExample.js <ide> var { <ide> } = React; <ide> <ide> var THUMB_URLS = [ <del> 'Thumbnails/like.png', <del> 'Thumbnails/dislike.png', <del> 'Thumbnails/call.png', <del> 'Thumbnails/fist.png', <del> 'Thumbnails/bandaged.png', <del> 'Thumbnails/flowers.png', <del> 'T...
2
Text
Text
fix nits in deprecated
78a5480dfd8dc1b304e38bc9c18854c4ef86de33
<ide><path>docs/deprecated.md <ide> The `docker import` command format 'file|URL|- [REPOSITORY [TAG]]' is deprecated <ide> The shorthand (`-h`) is less common than `--help` on Linux and cannot be used <ide> on all subcommands (due to it conflicting with, e.g. `-h` / `--hostname` on <ide> `docker create`). For this reas...
1
Go
Go
add gotestyourself to vendor
381a1c0a5ac99b6d7ab33a29150878b9a8008e95
<ide><path>vendor/github.com/gotestyourself/gotestyourself/poll/poll.go <add>/*Package poll provides tools for testing asynchronous code. <add> */ <add>package poll <add> <add>import ( <add> "fmt" <add> "time" <add>) <add> <add>// TestingT is the subset of testing.T used by WaitOn <add>type TestingT interface { <add> L...
1
Javascript
Javascript
add verifynopendingtasks method
f0c6ebc07653f6267acec898ccef5677884e3081
<ide><path>src/ngMock/angular-mocks.js <ide> function MockXhr() { <ide> * @description <ide> * <ide> * This service is just a simple decorator for {@link ng.$timeout $timeout} service <del> * that adds a "flush" method. <del> */ <add> * that adds a "flush" and "verifyNoPendingTasks" methods. <add> */ <ide> <del>/*...
2
Python
Python
add tests for border_mode == same
8e67b040e88abad2e9befca3748521ca1a0d5254
<ide><path>tests/auto/keras/layers/test_convolutional.py <ide> def test_convolution_1d(self): <ide> <ide> input = np.ones((nb_samples, nb_steps, input_dim)) <ide> for weight in [None, weights_in]: <del> for border_mode in ['valid', 'full']: <add> for border_mode in ['valid', 'full...
1
Javascript
Javascript
add note on checkbox inheriting from component
6153cd8b2f93a90f2862de7ce7aabad978c146a7
<ide><path>packages/ember-views/lib/views/checkbox.js <ide> import View from "ember-views/views/view"; <ide> @namespace Ember <ide> @extends Ember.View <ide> */ <add>// 2.0TODO: Subclass Component rather than View <ide> export default View.extend({ <ide> instrumentDisplay: '{{input type="checkbox"}}', <ide>
1
Javascript
Javascript
update jshint plugin
67afe3bf78d4a704b02603d800a6e2a0f904b8fc
<ide><path>Gruntfile.js <ide> module.exports = function(grunt) { <ide> nodeunit : { <ide> all : ["test/**/*.js"] <ide> }, <del> lint : { <del> files: [ <del> 'moment.js', <del> 'lang/**/*.js' <del> ] <del> }, <ide> jsh...
1
Python
Python
add ftpshook class
addfe48086fbb4aa057dfc53818294decdd940d1
<ide><path>airflow/contrib/hooks/ftp_hook.py <ide> def get_mod_time(self, path): <ide> conn = self.get_conn() <ide> ftp_mdtm = conn.sendcmd('MDTM ' + path) <ide> return datetime.datetime.strptime(ftp_mdtm[4:], '%Y%m%d%H%M%S') <add> <add> <add>class FTPSHook(FTPHook): <add> <add> def get_conn(...
1
Ruby
Ruby
fix tests for sqlite3adapter
d42b60a411c09dd9b69942dabbcdba6a05f259e8
<ide><path>activerecord/lib/active_record/validations/uniqueness.rb <ide> module ClassMethods <ide> # The following bundled adapters throw the ActiveRecord::RecordNotUnique exception: <ide> # * ActiveRecord::ConnectionAdapters::MysqlAdapter <ide> # * ActiveRecord::ConnectionAdapters::Mysql2Adapter <de...
4
PHP
PHP
fix error in comment
11b9f522398efd0b95de805082736471a0992f3c
<ide><path>laravel/lang.php <ide> public static function has($key, $language = null) <ide> * $line = Lang::line('validation.required')->get('sp'); <ide> * <ide> * // Return a default value if the line doesn't exist <del> * $line = Lang::line('validation.required', null, 'Default'); <add> * $line = Lang::lin...
1
PHP
PHP
apply fixes from styleci
73f7cd4772584bcb5dc297c9350a722d26f1248a
<ide><path>src/Illuminate/Console/Scheduling/ScheduleWorkCommand.php <ide> public function handle() <ide> $executions[] = $execution = new Process([ <ide> PHP_BINARY, <ide> defined('ARTISAN_BINARY') ? ARTISAN_BINARY : 'artisan', <del> 'schedule:...
1
Text
Text
add v3.11.0-beta.1 to changelog
3ef8521abb10cab42587d8bf058bd3035acb7228
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.11.0-beta.1 (May 13, 2019) <add> <add>- [#17842](https://github.com/emberjs/ember.js/pull/17842) / [#17901](https://github.com/emberjs/ember.js/pull/17901) [FEATURE] Implement the [Forwarding Element Modifiers with "Splattributes" RFC](https://github.co...
1
Javascript
Javascript
support more properties for image maps
5b17e757070cc8ee4ffb7cb064195588db75e4e6
<ide><path>src/browser/ui/dom/HTMLDOMPropertyConfig.js <ide> var HTMLDOMPropertyConfig = { <ide> contentEditable: null, <ide> contextMenu: MUST_USE_ATTRIBUTE, <ide> controls: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, <add> coords: null, <ide> crossOrigin: null, <ide> data: null, // For `<object />` ...
2
PHP
PHP
update use of getmock() in testcase
d29af6dd55ff62f9afde0454a5dc8377329c3666
<ide><path>src/TestSuite/TestCase.php <ide> public function getMockForModel($alias, array $methods = [], array $options = [] <ide> $options += ['alias' => $baseClass, 'connection' => $connection]; <ide> $options += TableRegistry::config($alias); <ide> <del> $mock = $this->getMock($options['class...
1
Text
Text
add caveat on pch errors
a9d8d1cab6d0196604e7ffcb4670ee675b093d69
<ide><path>docs/KnownIssues.md <ide> React Native Android depends on [Fresco](https://github.com/facebook/fresco) for <ide> <ide> Try running `react-native init` with `--verbose` and see [#2797](https://github.com/facebook/react-native/issues/2797) for common causes. <ide> <add>### Moving folder after iOS build <add>...
1
Text
Text
fix documentation typos
7da5784b10a9f085af98984e6e69e733e55ddbf5
<ide><path>docs/installation/linux/centos.md <ide> display your kernel version: <ide> $ uname -r <ide> 3.10.0-229.el7.x86_64 <ide> <del>Finally, is it recommended that you fully update your system. Please keep in <add>Finally, it is recommended that you fully update your system. Please keep in <ide> mind that ...
2
Python
Python
remove debugging log
b0ba85025c6c719f31a4dc6065120dc3693cd08e
<ide><path>official/modeling/hyperparams/base_config.py <ide> def _get_subconfig_type(cls, k) -> Type[params_dict.ParamsDict]: <ide> return subconfig_type <ide> <ide> def __post_init__(self, default_params, restrictions, *args, **kwargs): <del> logging.error('DEBUG before init %r', type(self)) <ide> super...
1
Python
Python
fix a bug in case of date equality
8eabc502af69e8c63e16e389bd51ea31a12fedc1
<ide><path>airflow/macros/hive.py <ide> def _closest_date(target_dt, date_list, before_target=None): <ide> :returns: The closest date <ide> :rtype: datetime.date or None <ide> ''' <del> fb = lambda d: d - target_dt if d > target_dt else datetime.timedelta.max <del> fa = lambda d: d - target_dt if d < ...
1
Python
Python
fix train.py for 1.0
080d29e092d6032d65541d78da53fb6122d1f71d
<ide><path>spacy/train.py <ide> def __init__(self, nlp, gold_tuples): <ide> self.gold_tuples = gold_tuples <ide> <ide> def epochs(self, nr_epoch, augment_data=None, gold_preproc=False): <del> def _epoch(): <del> for raw_text, paragraph_tuples in self.gold_tuples: <add> cached_golds...
1
Text
Text
add more info to the scrum guide and fix typos
1fefb703ebb164067ebe56c93b169fda46ec2e94
<ide><path>guide/english/agile/scrum/index.md <ide> The Scrum process is made up of the following items: <ide> - Product Backlog: It is the list of tasks a Team is supposed to finish within the current Sprint. It is decided by the Product Owner, in agreement with the Management as well as Delivery Team. <ide> <ide> ##...
1
Text
Text
add links to pr template
a2df178554814082d95d9b3b6d94af0b1fa7a30f
<ide><path>.github/pull_request_template.md <ide> Choose the right checklist for the change that you're making: <ide> <ide> - [ ] Related issues linked using `fixes #number` <ide> - [ ] Integration tests added <del>- [ ] Errors have a helpful link attached, see `contributing.md` <add>- [ ] Errors have a helpful link a...
1
Java
Java
prevent npe on themedreactcontext
f1b5fe1d3ea49294d8c89accfa27d76a1a97ccea
<ide><path>ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java <ide> public boolean getThemeData(int surfaceId, float[] defaultTextInputPadding) { <ide> SurfaceMountingManager surfaceMountingManager = <ide> mMountingManager.getSurfaceManagerEnforced(surfaceId, "getThemeData"); <ide> ...
1
Go
Go
migrate some update restart tests to api tests
5b65cee9150b343c97606adc525cf680fb330642
<ide><path>integration-cli/docker_cli_update_test.go <del>package main <del> <del>import ( <del> "strings" <del> "time" <del> <del> "github.com/docker/docker/integration-cli/checker" <del> "github.com/docker/docker/integration-cli/cli" <del> "github.com/go-check/check" <del> "github.com/gotestyourself/gotestyourself/ic...
2
Ruby
Ruby
remove unused gsub_app_file method from bukkit
644730981765ca1081b764a3a6dde93845430697
<ide><path>railties/test/isolation/abstract_unit.rb <ide> def app_file(path, contents) <ide> end <ide> end <ide> <del> def gsub_app_file(path, regexp, *args, &block) <del> path = "#{app_path}/#{path}" <del> content = File.read(path).gsub(regexp, *args, &block) <del> File.open(path, 'wb') { ...
1
Javascript
Javascript
do this different
6227203de7b9ddd84b9c12c67e6d94b2fc473d1d
<ide><path>src/main-process/parse-command-line.js <ide> module.exports = function parseCommandLine (processArgs) { <ide> args = { <ide> urlHandler: true, <ide> 'url-handler': true, <del> _: args._ <add> _: args._.slice(0, 1) <ide> } <ide> } <ide> <ide> module.exports = function parseCom...
1
Text
Text
clearify callback text in the tutorial
5ffd1db5706a223b49bebcbdcc0ff51abfd06981
<ide><path>docs/docs/tutorial.md <ide> var CommentBox = React.createClass({ <ide> }); <ide> ``` <ide> <del>Let's call the callback from the `CommentForm` when the user submits the form: <add>Now that `CommentBox` has made the callback available to `CommentForm` via the `onCommentSubmit` prop, the `CommentForm` can cal...
1
PHP
PHP
use qualified column names in pivot query
006ba38124df6a8a651546a0301d604665b394b7
<ide><path>src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php <ide> public function detach($ids = null, $touch = true) <ide> return 0; <ide> } <ide> <del> $query->whereIn($this->relatedPivotKey, (array) $ids); <add> $query->...
2
Java
Java
improve configuration changes in guavacachemanager
d47c5433cb2480df285b7a0901372615852d526e
<ide><path>spring-context-support/src/main/java/org/springframework/cache/guava/GuavaCacheManager.java <ide> /* <del> * Copyright 2002-2013 the original author or authors. <add> * Copyright 2002-2014 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> ...
2
Go
Go
fix race in test registry setup
de8ea06d7dab7c5278f84728f7e0aa69e3301ad0
<ide><path>integration-cli/docker_utils.go <ide> func setupRegistry(t *testing.T) func() { <ide> if err != nil { <ide> t.Fatal(err) <ide> } <add> <add> // Wait for registry to be ready to serve requests. <add> for i := 0; i != 5; i++ { <add> if err = reg.Ping(); err == nil { <add> break <add> } <add> time.Slee...
2
Python
Python
fix issues with custom pagination serializers
a51bca32fd26ae954228b9026b18ebeea81ad8e2
<ide><path>rest_framework/pagination.py <ide> def to_native(self, value): <ide> return replace_query_param(url, self.page_field, page) <ide> <ide> <add>class DefaultObjectSerializer(serializers.Field): <add> """ <add> If no object serializer is specified, then this serializer will be applied <add> as...
2
PHP
PHP
make addcomponent() also set the property
cd7cbe869a5fa988b7a3fc7bbe5c5e65ec6a3df8
<ide><path>src/Controller/Controller.php <ide> public function components() { <ide> } <ide> <ide> /** <del> * Add a component to the controller's registry <add> * Add a component to the controller's registry. <add> * <add> * This method will also set the component to a property. <add> * For example: <add> * <add> * `...
2
Text
Text
add v4.9.0 to changelog
70b98dac9e0b54b498c85d68162b560580654bc9
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <del>### v4.9.0-beta.4 (November 15, 2022) <add>### v4.9.0 (November 28, 2022) <ide> <add>- [#20274](https://github.com/emberjs/ember.js/pull/20274) [BUGFIX] Add some missing types to preview types <ide> - [#20256](https://github.com/emberjs/ember.js/pull/20256) [...
1
Ruby
Ruby
remove useless parens
4b5a3d7367ecdfcff1c2ffe1b299a9865d66ab7e
<ide><path>activesupport/lib/active_support/multibyte/unicode.rb <ide> def g_unpack(string) <ide> # Example: <ide> # Unicode.g_pack(Unicode.g_unpack('क्षि')) # => 'क्षि' <ide> def g_pack(unpacked) <del> (unpacked.flatten).pack('U*') <add> unpacked.flatten.pack('U*') <ide> end <id...
1
Ruby
Ruby
remove confusing validations comments [ci-skip]
8e91abbea1bccb34deea8ab7e48f46ec42b5db8e
<ide><path>activemodel/lib/active_model/validations/absence.rb <ide> def validate_each(record, attr_name, value) <ide> <ide> module HelperMethods <ide> # Validates that the specified attributes are blank (as defined by <del> # Object#present?). Happens by default on save. <add> # Object#present?). ...
4
Text
Text
fix typo in api routes documentation.
b3dbcbb5bbe6154dc1c16cf97d774be9089912b5
<ide><path>packages/next/README.md <ide> export default withRouter(MyLink) <ide> </ul> <ide> </details> <ide> <del>API routes provides a straightforward solution to build your **API** with Next.js. <add>API routes provide a straightforward solution to build your **API** with Next.js. <ide> Start by creating the `api...
1
PHP
PHP
add type-hints to artisan facade methods props
7f8db2a3e1dad10f4b933a86ba9d3e0706551d98
<ide><path>src/Illuminate/Support/Facades/Blade.php <ide> namespace Illuminate\Support\Facades; <ide> <ide> /** <del> * @method static void compile($path = null) <add> * @method static void compile(string|null $path = null) <ide> * @method static string getPath() <del> * @method static void setPath($path) <del> * @me...
1
Mixed
Go
add volume api/cli
b3b7eb2723461b1eb4be692f4bced0ae8ea9cb58
<ide><path>api/client/volume.go <add>package client <add> <add>import ( <add> "bytes" <add> "encoding/json" <add> "fmt" <add> "io" <add> "net/url" <add> "text/tabwriter" <add> "text/template" <add> <add> "github.com/docker/docker/api/types" <add> Cli "github.com/docker/docker/cli" <add> "github.com/docker/docker/opts" ...
49
Javascript
Javascript
provide support for element.one()
937caab6475e53a7ea0206e992f8a52449232e78
<ide><path>src/jqLite.js <ide> * - [`next()`](http://api.jquery.com/next/) - Does not support selectors <ide> * - [`on()`](http://api.jquery.com/on/) - Does not support namespaces, selectors or eventData <ide> * - [`off()`](http://api.jquery.com/off/) - Does not support namespaces or selectors <add> * - [`one()`](ht...
2
Text
Text
clarify parameter for napi_get_cb_info
a2dead41710d374d0e30fcf23cc92c3a1daced84
<ide><path>doc/api/n-api.md <ide> napi_status napi_get_cb_info(napi_env env, <ide> * `[in-out] argc`: Specifies the length of the provided `argv` array and <ide> receives the actual count of arguments. `argc` can <ide> optionally be ignored by passing `NULL`. <del>* `[out] argv`: Buffer to which the `napi_value` re...
1
Ruby
Ruby
fix pretty names
ca10e5005abcf36fba5760b60c0aeeefa5ca6505
<ide><path>Library/Homebrew/os/mac/version.rb <ide> def <=>(other) <ide> end <ide> <ide> def pretty_name <del> @version.split('_').map(&:capitalize).join(' ') <add> case @version <add> when "10.9" then "Mavericks" <add> when "10.8" then "Mountain Lion" <add> when "10.7" then "Lion" <ad...
1
Javascript
Javascript
check error msg test-writeint.js
6782577eef5d6bfe8ea5fad6c1b3b999d7a2ded1
<ide><path>test/parallel/test-writeint.js <ide> */ <ide> require('../common'); <ide> const assert = require('assert'); <add>const errorOutOfBounds = /^TypeError: "value" argument is out of bounds$/; <ide> <ide> function test8(clazz) { <ide> const buffer = new clazz(2); <ide> function test8(clazz) { <ide> /* Make ...
1
Javascript
Javascript
push correct timestamp format on account creation
cfc9e31f6273aedeadf406a8cae1a2930842de7f
<ide><path>common/models/user.js <ide> module.exports = function(User) { <ide> } <ide> <ide> if (user.progressTimestamps.length === 0) { <del> user.progressTimestamps.push({ timestamp: Date.now() }); <add> user.progressTimestamps.push(Date.now()); <ide> } <ide> return ...
1
PHP
PHP
fix delete processing
fd7a29db134c1ae6c1e734065ea4654e39b3c04f
<ide><path>src/Cache/Engine/RedisEngine.php <ide> public function clear($check) <ide> } <ide> $keys = $this->_Redis->getKeys($this->_config['prefix'] . '*'); <ide> <del> return !in_array(false, $this->deleteMany($keys)); <add> $result = []; <add> foreach ($keys as $key) { <add> ...
1
Ruby
Ruby
improve a path in _render_partial
4ac9d391d337d5a05a7aa93849405e21dd4bbf01
<ide><path>actionpack/lib/action_view/helpers/form_helper.rb <ide> class FormBuilder #:nodoc: <ide> <ide> attr_accessor :object_name, :object, :options <ide> <add> def self.model_name <add> @model_name ||= Struct.new(:partial_path).new(name.demodulize.underscore.sub!(/_builder$/, '')) <add> end...
2
Mixed
Ruby
show full route constraints in error message
892c539591c001285792b7865fe5d70846b0041b
<ide><path>actionpack/CHANGELOG.md <add>* Show full route constraints in error message <add> <add> When an optimized helper fails to generate, show the full route constraints <add> in the error message. Previously it would only show the contraints that were <add> required as part of the path. <add> <add> ...
4
Javascript
Javascript
fix new-library to copy to current project
c98fc33ce5a2ddabeb9f0ffc939e76a68479f23b
<ide><path>local-cli/library/library.js <ide> function library(argv, config, args) { <ide> return; <ide> } <ide> <del> const dest = f.replace(/Sample/g, args.name).replace(/^_/, '.'); <add> const dest = path.relative(source, f.replace(/Sample/g, args.name).replace(/^_/, '.')); <ide> copyAndReplace(...
1
Ruby
Ruby
remove broken require
bf8a4b000602a12ba04d105b9c97f900c410e341
<ide><path>activerecord/lib/active_record.rb <ide> require 'active_record/aggregations' <ide> require 'active_record/transactions' <ide> require 'active_record/timestamp' <del>require 'active_record/acts/list' <ide> require 'active_record/acts/tree' <ide> require 'active_record/acts/nested_set' <ide> require 'active_re...
1
Javascript
Javascript
add day marker character for japanese
0000b80448fcf74b1e1e75a3ade0175e6b7cb8f1
<ide><path>locale/ja.js <ide> lastWeek : '[前週]dddd LT', <ide> sameElse : 'L' <ide> }, <del> ordinalParse : /\d{1,2}日/, <del> ordinal : function (number, period) { <del> switch (period) { <del> case 'd': <del> case 'D': <del> case ...
2
Ruby
Ruby
use each instead of while loop
c9a4e1e1c932bbc69d35a2f544955c956552165d
<ide><path>Library/Homebrew/python_helper.rb <ide> def python_helper(options={:allowed_major_versions => [2, 3]}, &block) <ide> # check that no two python binaries are the same (which could be the case <ide> # because more than one `depends_on :python => 'module_name' may be present). <ide> filtered_python_reqs =...
1
Mixed
Javascript
make negative sign on remaining time optional
67e6ed6fd64f2a62d311721b8f786b63fb07f53b
<ide><path>docs/guides/options.md <ide> * [Standard &lt;video> Element Options](#standard-video-element-options) <ide> * [autoplay](#autoplay) <ide> * [More info on autoplay support and changes:](#more-info-on-autoplay-support-and-changes) <add> * [controlBar.remainingTimeDisplay.displayNegative](#controlbarrema...
3
Ruby
Ruby
send an accept header with the request
24a133f1199117f202639642577643cc9543d718
<ide><path>Library/Contributions/cmd/brew-gist-logs.rb <ide> def http <ide> end <ide> <ide> def make_request(path, data) <del> request = Net::HTTP::Post.new(path) <del> request['User-Agent'] = HOMEBREW_USER_AGENT <del> request['Content-Type'] = 'application/json' <add> headers = { <add> "User-Agent" => HOMEBR...
1
Python
Python
set version to v3.0.0a1
e1b3e8ee114ed74cccd802ed1e7a738fe8e316e5
<ide><path>spacy/about.py <ide> # fmt: off <ide> __title__ = "spacy-nightly" <del>__version__ = "3.0.0a0" <add>__version__ = "3.0.0a1" <ide> __release__ = True <ide> __download_url__ = "https://github.com/explosion/spacy-models/releases/download" <ide> __compatibility__ = "https://raw.githubusercontent.com/explosion/sp...
1
Go
Go
add fixes for integration-cli tests w/ --net none
c2fe26243906ad2641876e877d23a419bb4bdb75
<ide><path>integration-cli/docker_cli_events_test.go <ide> func TestEventsImageUntagDelete(t *testing.T) { <ide> <ide> func TestEventsImagePull(t *testing.T) { <ide> since := daemonTime(t).Unix() <add> testRequires(t, Network) <ide> <ide> defer deleteImages("hello-world") <ide> <ide><path>integration-cli/docker_cl...
3
Javascript
Javascript
fix typo in safearea documentation
58edf024a1ed3a71ef04f124546ee97496b6502f
<ide><path>Libraries/Components/SafeAreaView/SafeAreaView.ios.js <ide> type Props = ViewProps & { <ide> /** <ide> * Renders nested content and automatically applies paddings reflect the portion of the view <ide> * that is not covered by navigation bars, tab bars, toolbars, and other ancestor views. <del> * Moreover, ...
1
Text
Text
add docs [ci skip]
db9f8896f5f8e4c6bde1839a4f04a06babbf64fc
<ide><path>website/docs/api/matcher.md <ide> Find all token sequences matching the supplied patterns on the `Doc` or `Span`. <ide> > matches = matcher(doc) <ide> > ``` <ide> <del>| Name | Description ...
3
PHP
PHP
remove unused method
35cdb45de69303918949ff0360c0ddb9640be876
<ide><path>src/Console/Shell.php <ide> use Cake\Error; <ide> use Cake\Log\Engine\ConsoleLog; <ide> use Cake\Log\Log; <del>use Cake\Utility\ClassRegistry; <add>use Cake\Utility\ConventionsTrait; <ide> use Cake\Utility\File; <ide> use Cake\Utility\Inflector; <ide> use Cake\Utility\MergeVariablesTrait; <ide> public functi...
1
Python
Python
use popen with celeryexecutor
197a72210c212a5a69c56cf55938ab799e627b06
<ide><path>airflow/executors/celery_executor.py <ide> class CeleryConfig(object): <ide> @app.task <ide> def execute_command(command): <ide> logging.info("Executing command in Celery " + command) <del> rc = subprocess.Popen(command, shell=True).wait() <del> if rc: <del> logging.error(rc) <add> try: <...
1
PHP
PHP
fix typo in code comment
ae885e664bc0c8921566a334dcd75b1512f12134
<ide><path>src/Illuminate/Container/Container.php <ide> protected function resolve($abstract, $parameters = [], $raiseEvents = true) <ide> { <ide> $abstract = $this->getAlias($abstract); <ide> <del> // First we wil fire any event handlers that handle the "before" resolving of <add> // First w...
1
Text
Text
improve readability in csrf section of guide
705847578ef41f60e85ad6bd5a606bbadea99ce0
<ide><path>guides/source/security.md <ide> This attack method works by including malicious code or a link in a page that ac <ide> <ide> ![](images/csrf.png) <ide> <del>In the [session chapter](#sessions) you have learned that most Rails applications use cookie-based sessions. Either they store the session id in the c...
1
Javascript
Javascript
fix a lint error
14de6bc258762803301a74cf80e137ad25e97f5a
<ide><path>examples/jsm/loaders/GLTFLoader.js <ide> var GLTFLoader = ( function () { <ide> <ide> // Use an ImageBitmapLoader if imageBitmaps are supported. Moves much of the <ide> // expensive work of uploading a texture to the GPU off the main thread. <del> if (typeof createImageBitmap !== 'undefined') { <add> ...
2
Python
Python
fix bug regarding layer cache
080a8199f408eef9698330e67a2000d388e58cac
<ide><path>keras/layers/containers.py <ide> def __init__(self, layers=[]): <ide> self.add(layer) <ide> <ide> def __call__(self, X, mask=None, train=False): <add> #turn off layer cache temporarily <add> tmp_cache_enabled = self.cache_enabled <add> self.cache_enabled = False <ide> ...
1
Python
Python
improve verbose output of breeze
6f146e721c81e9304bf7c0af66fc3d203d902dab
<ide><path>dev/breeze/src/airflow_breeze/utils/run_utils.py <ide> from distutils.version import StrictVersion <ide> from functools import lru_cache <ide> from pathlib import Path <del>from typing import List, Mapping, Optional, Union <add>from typing import Dict, List, Mapping, Optional, Union <ide> <ide> from airflow...
1
Javascript
Javascript
update identicon colors
1348a5a037f0eb3cece2c3445c157706a6b20e09
<ide><path>client/src/components/profile/components/Camper.js <ide> function Camper({ <ide> // A lot of the user-profiles are still using the defunct service. <ide> const avatar = /example.com|identicon.org/.test(picture) ? ( <ide> <Identicon <del> bg={'#006400'} <add> bg={'#858591'} <ide> count...
1
Python
Python
use io.open instead of open for compatibility
871d07987b28f4e7657aef7364f776e30b0c7daa
<ide><path>doc/postprocess.py <ide> """ <ide> from __future__ import division, absolute_import, print_function <ide> <del>import re, optparse <add>import re <add>import optparse <add>import io <ide> <ide> def main(): <ide> p = optparse.OptionParser(__doc__) <ide> def main(): <ide> p.error('unknown mode %s...
1
Go
Go
handle non-tty mode
1a4fb0921919720ab379bc82b7508580057770ee
<ide><path>pkg/libcontainer/nsinit/exec.go <ide> import ( <ide> "syscall" <ide> ) <ide> <del>func execCommand(container *libcontainer.Container, args []string) (int, error) { <del> master, console, err := createMasterAndConsole() <del> if err != nil { <del> return -1, err <add>func execCommand(container *libcontaine...
4
Ruby
Ruby
remove default_validation_options from validations
379e468034a2d22fb3330694a080ff7375d2379a
<ide><path>activemodel/lib/active_model/validations.rb <ide> def self.included(base) # :nodoc: <ide> end <ide> <ide> module ClassMethods <del> DEFAULT_VALIDATION_OPTIONS = { :on => :save, :allow_nil => false, :allow_blank => false, :message => nil }.freeze <del> <ide> # Adds a validation method or b...
2
Python
Python
update pr -- merge with master
11679478ef17b56e559d5a12509d281c646f79a2
<ide><path>airflow/jobs.py <ide> def manage_slas(self, dag, session=None): <ide> session.commit() <ide> session.close() <ide> <add> def import_errors(self, dagbag): <add> session = settings.Session() <add> session.query(models.ImportError).delete() <add> for filename, stacktrace...
5
Javascript
Javascript
fix ambiguity in doc comment for isvalidelement
15a8f031838a553e41c0b66eb1bcf1da8448104d
<ide><path>packages/react/src/ReactElement.js <ide> export function cloneElement(element, config, children) { <ide> * Verifies the object is a ReactElement. <ide> * See https://reactjs.org/docs/react-api.html#isvalidelement <ide> * @param {?object} object <del> * @return {boolean} True if `object` is a valid compone...
1
PHP
PHP
use arraycache instead of mocks and file cache
e9d0d5838203d95a0df78f0679fbc2c8c527ba42
<ide><path>tests/TestCase/View/CellTest.php <ide> public function testCellInheritsController() <ide> */ <ide> public function testCachedRenderSimple() <ide> { <del> $mock = $this->getMockBuilder('Cake\Cache\CacheEngine')->getMock(); <del> $mock->method('init') <del> ->will($this->r...
1
Javascript
Javascript
repeat last command
60a1dbddd2a4f6341c0fbc26e3fcdf3f16bcbbe8
<ide><path>lib/_debugger.js <ide> Interface.prototype.controlEval = function(code, context, filename, callback) { <ide> try { <ide> // Repeat last command if empty line are going to be evaluated <ide> if (this.repl.rli.history && this.repl.rli.history.length > 0) { <del> if (code === '(\n)') { <del> ...
3
Javascript
Javascript
remove trailing commas
40ca7f2df7c3360f569d0208609729c1a587e484
<ide><path>test/core/transition-test.js <ide> var suite = vows.describe("transition"); <ide> suite.addBatch({ <ide> "select": require("./transition-test-select"), <ide> "selectAll": require("./transition-test-selectAll"), <del> "transition": require("./transition-test-transition"), <add> "transition": require("./...
1
Javascript
Javascript
set title using logic similar as download name
c67edabcb3a566a97c9610a93aa04284b10aadc7
<ide><path>web/app.js <ide> var PDFViewerApplication = { <ide> setTitleUsingUrl: function pdfViewSetTitleUsingUrl(url) { <ide> this.url = url; <ide> this.baseUrl = url.split('#')[0]; <del> try { <del> this.setTitle(decodeURIComponent( <del> pdfjsLib.getFilenameFromUrl(url)) || url); <del> } ...
2
Go
Go
add synchronization in server.containers
da853e98c94c9ce8001d3d1516ba0fd2614db3b0
<ide><path>server/server.go <ide> package server <ide> <ide> import ( <ide> "encoding/json" <add> "errors" <ide> "fmt" <ide> "io" <ide> "io/ioutil" <ide> func (srv *Server) Containers(job *engine.Job) engine.Status { <ide> } <ide> } <ide> <del> for _, container := range srv.daemon.List() { <add> errLast := err...
1
Javascript
Javascript
use tomatch in widgetspec
b28dee7fd540a6c46087e66fb2f6ca2307cf17c6
<ide><path>test/widgetsSpec.js <ide> describe("widget", function(){ <ide> var log = ""; <ide> log += element.attr('ng-exception') + ';'; <ide> log += element.hasClass('ng-exception') + ';'; <del> expect(log.match(/Expected ng:repeat in form of 'item in collection' but got 'i dont parse'./)).toBeT...
1
Python
Python
fix double wrapping + test
f882966004742ab6af9f03539a749d23792eeaae
<ide><path>src/transformers/trainer.py <ide> def _wrap_model(self, model, training=True): <ide> if self.deepspeed: <ide> return self.deepspeed <ide> <add> # train/eval could be run multiple-times - if already wrapped, don't re-wrap it again <add> if unwrap_model(model) is not model: <...
2
PHP
PHP
remove indefinite block
045e6f25a860763942c928c4e6d8857d59741486
<ide><path>src/Illuminate/Cache/Lock.php <ide> public function get($callback = null) <ide> return $result; <ide> } <ide> <del> /** <del> * Attempt to acquire the lock while blocking indefinitely. <del> * <del> * @param callable|null $calback <del> * @return bool <del> */ <del> p...
3