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
Javascript
Javascript
update example to use ngmodel best practices
e13224b2dff2cbaeee5cc5845d81b37d4a4839c1
<ide><path>src/ng/directive/input.js <ide> var inputType = { <ide> <script> <ide> angular.module('checkboxExample', []) <ide> .controller('ExampleController', ['$scope', function($scope) { <del> $scope.value1 = true; <del> $scope.value2 = 'YES' <add> ...
1
Ruby
Ruby
remove invalid comment
bbbef23e1f7ece2eebe860d687931b8998b1a926
<ide><path>activerecord/lib/active_record/connection_adapters/mysql_adapter.rb <ide> def client_encoding <ide> end <ide> <ide> def exec_query(sql, name = 'SQL', binds = []) <del> # If the configuration sets prepared_statements:false, binds will <del> # always be empty, since the bind variable...
1
Text
Text
fix a typo in ar query interface [ci skip]
6140d0ca3fc763b20beeefd4a0b8212ebe9149a6
<ide><path>guides/source/active_record_querying.md <ide> articles, all the articles would still be loaded. By using `joins` (an INNER <ide> JOIN), the join conditions **must** match, otherwise no records will be <ide> returned. <ide> <del>NOTE: If an association is eager loaded as part of a join, any fields from a cus...
1
Python
Python
fix sub-classing of matrices.
ba41f2f5d864551b4462a9f53e8f23f626b11105
<ide><path>numpy/core/defmatrix.py <ide> def __new__(subtype, data, dtype=None, copy=True): <ide> intype = data.dtype <ide> else: <ide> intype = N.dtype(dtype) <del> new = data.view(matrix) <add> new = data.view(subtype) <ide> if intype != da...
1
Text
Text
change faq for dynamic routing
0e01435f648d266198ed5de0a64ca1603f76c5a0
<ide><path>packages/next/README.md <ide> - [Custom server and routing](#custom-server-and-routing) <ide> - [Disabling file-system routing](#disabling-file-system-routing) <ide> - [Dynamic assetPrefix](#dynamic-assetprefix) <add> - [Changing x-powered-by](#changing-x-powered-by) <ide> - [Dynamic Import](#...
1
Ruby
Ruby
remove useless empty string
308ed01f14d89f84793d471c40325dc5fe25efda
<ide><path>activesupport/lib/active_support/number_helper/number_to_phone_converter.rb <ide> module ActiveSupport <ide> module NumberHelper <ide> class NumberToPhoneConverter < NumberConverter <ide> def convert <del> str = '' <del> str << country_code(opts[:country_code]) <add> str = c...
1
Ruby
Ruby
remove duplicates from argv.named
6dbdc9ab0c5c87d94569bb418c4838edceff09b7
<ide><path>Library/Homebrew/ARGV+yeast.rb <ide> # <ide> module HomebrewArgvExtension <ide> def named <del> reject {|arg| arg[0..0] == '-'} <add> reject{|arg| arg[0..0] == '-'}.collect{|arg| arg.downcase}.uniq <ide> end <ide> def options <ide> select {|arg| arg[0..0] == '-'} <ide><path>Library/Homebrew/u...
2
Javascript
Javascript
remove messages in assert.strictequal
5843b2c945c66d3c21541ae9d15b9fbd9dde6622
<ide><path>test/parallel/test-tls-pfx-gh-5100-regr.js <ide> const server = tls.createServer({ <ide> requestCert: true, <ide> rejectUnauthorized: false <ide> }, common.mustCall(function(c) { <del> assert.strictEqual( <del> c.authorizationError, <del> null, <del> 'authorizationError must be null' <del> ); ...
1
Javascript
Javascript
fix synchronous thenable rejection
10a7a5b5ced683125d68584a78084faac3197846
<ide><path>packages/react-reconciler/src/ReactFiberLazyComponent.js <ide> export function readLazyComponentType<T>(lazyComponent: LazyComponent<T>): T { <ide> } <ide> }, <ide> ); <del> // Check if it resolved synchronously <del> if (lazyComponent._status === Resolved) { <del> re...
2
PHP
PHP
fix cs error
e4b4eedf9cff24e137090cfa7f6976eda9285fe3
<ide><path>src/Collection/Iterator/MapReduce.php <ide> public function emitIntermediate($val, $bucket): void <ide> */ <ide> public function emit($val, $key = null): void <ide> { <del> $this->_result[$key === null ? $this->_counter : $key] = $val; <add> $this->_result[$key ?? $this->_counter] ...
4
Python
Python
restore meta information for each search field.
3ca0b15b17182f046555da9348f5c58796b54851
<ide><path>rest_framework/filters.py <ide> def must_call_distinct(self, queryset, search_fields): <ide> """ <ide> Return True if 'distinct()' should be used to query the given lookups. <ide> """ <del> opts = queryset.model._meta <ide> for search_field in search_fields: <add> ...
2
Python
Python
remove log group from aws batch system test
52c9a888285e7b5a95fe015fb20e4f2754df437c
<ide><path>tests/system/providers/amazon/aws/example_batch.py <ide> BatchSensor, <ide> ) <ide> from airflow.utils.trigger_rule import TriggerRule <del>from tests.system.providers.amazon.aws.utils import ENV_ID_KEY, SystemTestContextBuilder, split_string <add>from tests.system.providers.amazon.aws.utils import ( <ad...
1
Text
Text
change node ls and service ls api and docs
48c3fcedfa95f7c12868b218bd831dac8e04864f
<ide><path>docs/reference/api/docker_remote_api_v1.24.md <ide> List nodes <ide> - **filters** – a JSON encoded value of the filters (a `map[string][]string`) to process on the <ide> nodes list. Available filters: <ide> - `id=<node id>` <add> - `label=<engine label>` <add> - `membership=`(`accepted`|`pending`)` <i...
4
Go
Go
remove unused runconfig.config.securityopt field
e39646d2e1becb652ff0a8a7d131067f38a94247
<ide><path>runconfig/config.go <ide> type Config struct { <ide> NetworkDisabled bool <ide> MacAddress string <ide> OnBuild []string <del> SecurityOpt []string <ide> Labels map[string]string <ide> } <ide>
1
Text
Text
fix a typo in the contributing.md
f6d90a912b8b29ab4d32c0892d1d501ebec509b0
<ide><path>CONTRIBUTING.md <ide> and built upon. <ide> #### Respect the stability index <ide> <ide> The rules for the master branch are less strict; consult the <del>[stability index](./doc/api/documentation..md#stability-index) for details. <add>[stability index](./doc/api/documentation.md#stability-index) for detail...
1
Go
Go
skip graphdriver data for snapshotters
313a7d716da2e98a7b7bdd8eaf5fdbd148f0dedd
<ide><path>daemon/inspect.go <ide> func (daemon *Daemon) getInspectData(container *container.Container) (*types.Con <ide> <ide> contJSONBase.GraphDriver.Name = container.Driver <ide> <add> if daemon.UsesSnapshotter() { <add> // Additional information only applies to graphDrivers, so we're done. <add> return contJS...
1
Javascript
Javascript
make pdfhistory optional in pdflinkservice
20881dc99abd520274766e9161d772c6277d8b17
<ide><path>web/pdf_link_service.js <ide> var PDFLinkService = (function () { <ide> } <ide> self.pdfViewer.scrollPageIntoView(pageNumber, dest); <ide> <del> // Update the browsing history. <del> self.pdfHistory.push({ <del> dest: dest, <del> hash: destString, ...
1
Javascript
Javascript
simplify socket constructor
aa6eaae0aa8ba46ca2a25bd0b1e8eec5498df847
<ide><path>lib/net.js <ide> function initSocket (self) { <ide> self.writable = false; <ide> } <ide> <del>function Socket (peerInfo) { <add>function Socket (fd) { <ide> process.EventEmitter.call(this); <ide> <del> if (peerInfo) { <add> if (fd) { <ide> initSocket(this); <ide> <del> this.fd = peerInfo.fd; ...
1
Go
Go
add test for restarting entire swarm cluster
ae4137ae3cc6ee479f5e7f86f9859b485473285a
<ide><path>integration-cli/docker_api_swarm_test.go <ide> package main <ide> <ide> import ( <ide> "net/http" <add> "os" <add> "path/filepath" <ide> "strconv" <ide> "strings" <add> "sync" <ide> "syscall" <ide> "time" <ide> <ide> func setGlobalMode(s *swarm.Service) { <ide> Global: &swarm.GlobalService{}, <ide> ...
1
Text
Text
update changelog for 2.7 beta 3
0ffcf8209be2e11b8f2fa5c4b5b7acc11a9fbc45
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### 2.7.0-beta.3 (July 5, 2016) <add> <add>- [#13768](https://github.com/emberjs/ember.js/pull/13768) [BUGFIX] Update route-recognizer to v0.2.0. This addresses a large number of per-existing bugs related to URL encoding. However, in doing so, it might inevita...
1
Javascript
Javascript
remove extra 'hours' from /donate page
b083b5891375639bf07bb12afe13c31c0f64c906
<ide><path>client/src/components/Donation/DonateForm.js <ide> class DonateForm extends Component { <ide> } <ide> <ide> convertToTimeContributed(amount) { <del> return `${numToCommas((amount / 100) * 50)} hours`; <add> return numToCommas((amount / 100) * 50); <ide> } <ide> <ide> getFormattedAmountLabel(a...
1
Mixed
Ruby
add a route to handle mandrill's webhook url check
fce29be3356269d2a0f586e15dcaf91ae680278a
<ide><path>actionmailbox/CHANGELOG.md <add>* Update Mandrill inbound email route to respond appropriately to HEAD requests for URL health checks from Mandrill. <add> <add> *Bill Cromie* <add> <ide> * Add way to deliver emails via source instead of filling out a form through the conductor interface. <ide> <ide> ...
6
Ruby
Ruby
update documentation to match change in [ci skip]
e57ad6dc03efd269d289fcd447aafcf6e3058904
<ide><path>activemodel/lib/active_model/validations/confirmation.rb <ide> module HelperMethods <ide> # <ide> # Configuration options: <ide> # * <tt>:message</tt> - A custom error message (default is: "doesn't match <del> # confirmation"). <add> # <tt>%{translated_attribute_name}</tt>"). ...
1
PHP
PHP
fix failing unit tests
4a08af5a338fb140d380f91b772b49130208bc04
<ide><path>tests/TestCase/Database/ConnectionTest.php <ide> public function testUpdateWithConditionsAndTypes() <ide> $title = 'changed the title!'; <ide> $body = new \DateTime('2012-01-01'); <ide> $values = compact('title', 'body'); <del> $this->connection->update('things', $values, ['id'...
2
Ruby
Ruby
fix one more time order_hacks method for oracle
237e580c4920b2414ef1bb72c14250688b479b9e
<ide><path>lib/arel/visitors/oracle.rb <ide> def order_hacks o <ide> /DISTINCT.*FIRST_VALUE/ === projection <ide> end <ide> end <del> # FIXME: previous version with join and split broke ORDER BY clause <add> # Previous version with join and split broke ORDER BY clause <ide> ...
2
PHP
PHP
use expectedexception annotations in the tests
b106c76dee0f7f2a40ab7c46428d2e69ed4b4fba
<ide><path>tests/Cache/ClearCommandTest.php <ide> public function testClearWithStoreOption() <ide> $this->runCommand($command, ['store' => 'foo']); <ide> } <ide> <add> /** <add> * @expectedException InvalidArgumentException <add> */ <ide> public function testClearWithInvalidStoreOption() <id...
9
Javascript
Javascript
replace string concatenation with template
8c6c06091888785f33da453c3e4177f6364f3c88
<ide><path>tools/doc/type-parser.js <ide> 'use strict'; <ide> const nodeDocUrl = ''; <ide> const jsDocPrefix = 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/'; <del>const jsDocUrl = jsDocPrefix + 'Reference/Global_Objects/'; <del>const jsPrimitiveUrl = jsDocPrefix + 'Data_structures'; <add>const jsDocUrl = `...
1
Python
Python
catch error in breeze when docker is not running
f662b7de8c5e61f640f150d4e68bde21dcdd09b4
<ide><path>dev/breeze/src/airflow_breeze/shell/enter_shell.py <ide> SOURCE_OF_DEFAULT_VALUES_FOR_VARIABLES, <ide> VARIABLES_IN_CACHE, <ide> check_docker_compose_version, <add> check_docker_is_running, <ide> check_docker_resources, <ide> check_docker_version, <ide> construct_env_variables_dock...
2
Go
Go
make network ls output order
838ed1866bf285759efdc01a97ae837f0f1c326a
<ide><path>api/client/network.go <ide> package client <ide> import ( <ide> "fmt" <ide> "net" <add> "sort" <ide> "strings" <ide> "text/tabwriter" <ide> <ide> func (cli *DockerCli) CmdNetworkLs(args ...string) error { <ide> if !*quiet { <ide> fmt.Fprintln(wr, "NETWORK ID\tNAME\tDRIVER") <ide> } <del> <add> sort....
2
Javascript
Javascript
remove duplicated word in comment
b2a77654b7761e6708844611d0464797211e52f4
<ide><path>lib/timers.js <ide> const TIMEOUT_MAX = 2147483647; // 2^31-1 <ide> // <ide> // Timers are crucial to Node.js. Internally, any TCP I/O connection creates a <ide> // timer so that we can time out of connections. Additionally, many user <del>// user libraries and applications also use timers. As such there may...
1
Text
Text
add comment about tf version to readme.md
754c5a90bc295fb5ef47e16298a65c268da0a698
<ide><path>im2txt/README.md <ide> approximately 10 times slower. <ide> First ensure that you have installed the following required packages: <ide> <ide> * **Bazel** ([instructions](http://bazel.io/docs/install.html)). <del>* **TensorFlow** ([instructions](https://www.tensorflow.org/versions/r0.10/get_started/os_setup....
1
PHP
PHP
fix wrong variable assignment
3240a2860f56f25271db33e25eadb1df34cfa8fa
<ide><path>src/Routing/RouteBuilder.php <ide> protected function _methodRoute($method, $template, $target, $name) <ide> $name = $this->_namePrefix . $name; <ide> } <ide> $options = [ <del> '_method' => $method, <ide> '_ext' => $this->_extensions, <ide> 'rou...
2
Python
Python
remove init form path
0a1ee109db2fc30d98e41b269a751b0d3dcd8168
<ide><path>spacy/cli/train.py <ide> def train_cli( <ide> config = util.load_config(config_path, overrides=overrides, interpolate=False) <ide> msg.divider("Initializing pipeline") <ide> with show_validation_error(config_path, hint_fill=False): <del> nlp = init_pipeline(config, output_path, use_gpu...
1
PHP
PHP
add default function
5691f12b63f3cbe41d950a26cc0f64d8ce4a7cd3
<ide><path>src/Illuminate/Support/ServiceProvider.php <ide> public function isDeferred() <ide> return $this->defer; <ide> } <ide> <add> /** <add> * Get a list of files that should be compiled for the package. <add> * <add> * @return array <add> */ <add> public static function compiles() <add> { <add> return []...
1
PHP
PHP
implement meridian select
afabfcad6c235975b88f6e098e704d545b153ff0
<ide><path>src/View/Input/DateTime.php <ide> class DateTime implements InputInterface { <ide> 'hour', <ide> 'minute', <ide> 'second', <add> 'meridian', <ide> ]; <ide> <ide> /** <ide> public function __construct($templates, $selectBox) { <ide> * <ide> * @param array $data Data to render with. <ide> * @return...
2
Ruby
Ruby
add notes for `define_model_callbacks` [ci skip]
f50430ee3e14fbde1dd83c38f55afe70e567f77d
<ide><path>activemodel/lib/active_model/callbacks.rb <ide> def self.extended(base) #:nodoc: <ide> # # obj is the MyModel instance that the callback is being called on <ide> # end <ide> # end <add> # <add> # NOTE: +method_name+ passed to `define_model_callbacks` must not end with <add> #...
2
Text
Text
add citation for model garden
f5e8557daa4b0f7a8f0bc8376bd1893090324955
<ide><path>official/README.md <ide> pip3 install --user -r official/requirements.txt <ide> ## Contributions <ide> <ide> If you want to contribute, please review the [contribution guidelines](https://github.com/tensorflow/models/wiki/How-to-contribute). <add> <add>## Citing TF Official Model Garden <add> <add>To cite t...
1
Ruby
Ruby
fix rubocop warnings
6d1d3ff013dbf8e6bedbb9710fa15f4749fcc4e3
<ide><path>Library/Homebrew/os/mac/cctools_mach.rb <ide> def parse_otool_L_output <ide> id = libs.shift[OTOOL_RX, 1] if path.dylib? <ide> libs.map! { |lib| lib[OTOOL_RX, 1] }.compact! <ide> <del> return id, libs <add> [id, libs] <ide> end <ide> end <ide>
1
PHP
PHP
fix conversion of empty string to empty array
4b643ba47e2f2a9910e1163a826abaeb3753ad1b
<ide><path>src/Controller/ControllerFactory.php <ide> protected function coerceStringToType(string $argument, ReflectionNamedType $typ <ide> case 'bool': <ide> return $argument === '0' ? false : ($argument === '1' ? true : null); <ide> case 'array': <del> return ex...
2
PHP
PHP
allow processing assets of only specified plugin
20c09860caa9e4029c4bf3ce890c27f0936a0230
<ide><path>src/Shell/PluginAssetsShell.php <ide> class PluginAssetsShell extends Shell { <ide> * fallback to copying the assets. For vendor namespaced plugin, parent folder <ide> * for vendor name are created if required. <ide> * <add> * @param string|string $name Name of plugin for which to symlink assets. <add> * ...
2
Text
Text
fix typo in cli.md for report-dir
641c466671556b179f1cdb7f9cbb36f4750c253d
<ide><path>doc/api/cli.md <ide> Write reports in a compact format, single-line JSON, more easily consumable <ide> by log processing systems than the default multi-line format designed for <ide> human consumption. <ide> <del>### --report-dir=directory`, `report-directory=directory` <add>### `--report-dir=directory`, `r...
1
Javascript
Javascript
remove unused var from stream2 test
c8eb62fcee0d4e26c5bfe9b3405b40d5d07793f5
<ide><path>test/parallel/test-stream2-readable-legacy-drain.js <ide> r.on('end', function() { <ide> <ide> var w = new Stream(); <ide> w.writable = true; <del>var writes = 0; <ide> var buffered = 0; <ide> w.write = function(c) { <del> writes += c.length; <ide> buffered += c.length; <ide> process.nextTick(drain); <...
1
Javascript
Javascript
fix fs.realpathsync on windows
8d70294c31da06ff04279e47739c57a1b57cd5aa
<ide><path>lib/fs.js <ide> if (isWindows) { <ide> // the same as path.resolve that fails if the path doesn't exists. <ide> <ide> // windows version <del> fs.realpathSync = function realpathSync(p) { <add> fs.realpathSync = function realpathSync(p, cache) { <ide> var p = path.resolve(p); <ide> if (cache &...
1
Javascript
Javascript
add getintoption function to reduce dupl
d4726d2f3f7a411b2d22d2ef04fe42f8d5e22fcf
<ide><path>lib/internal/crypto/sig.js <ide> Sign.prototype.update = function update(data, encoding) { <ide> return this; <ide> }; <ide> <add>function getPadding(options) { <add> return getIntOption('padding', RSA_PKCS1_PADDING, options); <add>} <add> <add>function getSaltLength(options) { <add> return getIntOption...
1
Javascript
Javascript
fix parallel/test-repl with new v8
6e9d1c868474273b3b5891508c28aa13f70ff465
<ide><path>test/parallel/test-repl.js <ide> function error_test() { <ide> expect: /^SyntaxError: Delete of an unqualified identifier in strict mode/ }, <ide> { client: client_unix, send: '(function() { "use strict"; eval = 17; })()', <ide> expect: /^SyntaxError: Unexpected eval or arguments in strict mo...
1
Go
Go
ignore ping errors in notary repository setup
5e11cd43aa21a9d0eb1f5f205f05dc7b14ee4d43
<ide><path>api/client/trust.go <ide> func (cli *DockerCli) getNotaryRepository(repoInfo *registry.RepositoryInfo, aut <ide> if err != nil { <ide> return nil, err <ide> } <add> <add> challengeManager := auth.NewSimpleChallengeManager() <add> <ide> resp, err := pingClient.Do(req) <ide> if err != nil { <del> return...
3
Ruby
Ruby
remove tests for #with_scope (it's now deprecated)
40a711ce29505e95d5033fe02c22ba7469206f06
<ide><path>activerecord/test/cases/associations/eager_test.rb <ide> def test_eager_with_has_many_and_limit_and_scoped_conditions_on_the_eagers <ide> end <ide> end <ide> <del> def test_eager_with_has_many_and_limit_and_scoped_and_explicit_conditions_on_the_eagers <del> Post.send(:with_scope, :find => { :condi...
13
Javascript
Javascript
use template instead of render buffer
f11e02afce4056734ec7ebb994a8860200cb384c
<ide><path>packages/ember-views/tests/system/ext_test.js <ide> import run from "ember-metal/run_loop"; <ide> import View from "ember-views/views/view"; <add>import { compile } from "ember-template-compiler"; <ide> <ide> QUnit.module("Ember.View additions to run queue"); <ide> <del>QUnit.skip("View hierarchy is done r...
1
Python
Python
update instace list
752688eb432106fe019868a75e842af8e820505e
<ide><path>contrib/scrape-ec2-prices.py <ide> 't2.micro', <ide> 't2.small', <ide> 't2.medium', <del> 't2.large' <add> 't2.large', <add> 'x1.32xlarge' <ide> ] <ide> <ide> # Maps EC2 region name to region name used in the pricing file
1
Go
Go
implement cleanup unix sockets after serving
0c0e9836c4bed0190718b0ddd0028790b19c200c
<ide><path>api/server/server.go <ide> func ServeApi(job *engine.Job) engine.Status { <ide> chErrors <- err <ide> return <ide> } <add> job.Eng.OnShutdown(func() { <add> if err := srv.Close(); err != nil { <add> log.Errorf("%s", err.Error()) <add> } <add> }) <ide> chErrors <- srv.Serve() <ide>...
2
Java
Java
fix checkstyle errors
2f732a8dea7c056a24afbafd59747118d56f5106
<ide><path>spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java <ide> import reactor.netty.http.client.HttpClientResponse; <ide> import reactor.netty.resources.ConnectionProvider; <ide> import reactor.netty.resources.LoopResources; <del>import reactor.netty.tcp.TcpClient; <i...
1
Javascript
Javascript
avoid unneeded .textcontent
47f2c1472303f7f439bc7b56daaf5c8e1066aea8
<ide><path>web/text_layer_builder.js <ide> var TextLayerBuilder = (function TextLayerBuilderClosure() { <ide> // We don't bother scaling single-char text divs, because it has very <ide> // little effect on text highlighting. This makes scrolling on docs with <ide> // lots of such divs a lot faster. <d...
1
PHP
PHP
rename some classes for consistency
8d80cc42fa368364a40d201cd2aea3b6b9147a12
<ide><path>src/Illuminate/Auth/Console/MakeRemindersCommand.php <ide> use Illuminate\Console\Command; <ide> use Illuminate\Filesystem\Filesystem; <ide> <del>class MakeRemindersCommand extends Command { <add>class RemindersTableCommand extends Command { <ide> <ide> /** <ide> * The console command name. <ide><path>s...
7
Ruby
Ruby
simplify ruby_version checking in tests
5aae2b27832abb0f2238300d055fbb5fe461e8f7
<ide><path>activerecord/test/cases/adapters/postgresql/range_test.rb <ide> def test_infinity_values <ide> assert_equal(-Float::INFINITY...Float::INFINITY, record.float_range) <ide> end <ide> <del> if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.6.0") <add> if RUBY_VERSION >= "2.6" <ide> def test_e...
3
Javascript
Javascript
add paypal donation to modals and certificates
585527d145b0c27c2f99809bd0ae9e063cc6439c
<ide><path>api-server/server/utils/donation.js <ide> export function createDonationObj(body) { <ide> const { <ide> resource: { <ide> id, <del> start_time, <add> status_update_time, <ide> subscriber: { email_address } = { <ide> email_address: null <ide> } <ide> export function c...
9
Javascript
Javascript
enable cache in test renderer
b1acff0cc27a4c9844cb8049fae2ec6576a0f956
<ide><path>packages/shared/forks/ReactFeatureFlags.test-renderer.www.js <ide> export const enableUpdaterTracking = false; <ide> export const enableSuspenseServerRenderer = false; <ide> export const enableSelectiveHydration = false; <ide> export const enableLazyElements = false; <del>export const enableCache = false; <a...
1
Text
Text
fix example jsx output
86bac33408de1e0284c27d5c82d4559301b831ae
<ide><path>docs/docs/06-transferring-props.md <ide> It's a common pattern in React to wrap a component in an abstraction. The outer <ide> You can use [JSX spread attributes](/react/docs/jsx-spread.html) to merge the old props with additional values: <ide> <ide> ```javascript <del>return <Component {...this.props} more...
1
Python
Python
fix lazy init to stop hiding errors in import
8560b55b5e6ee62f673ed63e159f89df4a702154
<ide><path>src/transformers/file_utils.py <ide> def __getattr__(self, name: str) -> Any: <ide> return value <ide> <ide> def _get_module(self, module_name: str): <del> return importlib.import_module("." + module_name, self.__name__) <add> try: <add> return importlib.import_module("....
1
Javascript
Javascript
replace console.log() with debuglog()
579e6b95aee561d8ddd3e3663fa7a588c6449334
<ide><path>test/parallel/test-process-exit-code.js <ide> 'use strict'; <ide> require('../common'); <ide> const assert = require('assert'); <add>const debug = require('util').debuglog('test'); <ide> <ide> const testCases = require('../fixtures/process-exit-code-cases'); <ide> <ide> if (!process.argv[2]) { <ide> } else...
1
Javascript
Javascript
add protractor tests for docs app
039b990d8dc73e59418114b49c36797e44127c76
<ide><path>protractor-conf.js <ide> exports.config = { <ide> <ide> specs: [ <ide> 'build/docs/ptore2e/**/*.js', <add> 'test/e2e/docsAppE2E.js' <ide> ], <ide> <ide> capabilities: { <ide><path>test/e2e/docsAppE2E.js <add>describe('docs.angularjs.org', function () { <add> describe('App', function () { <add...
2
Ruby
Ruby
add migrated_at column to schema_migrations table
c283cdd63cafdb04784cfcc5094da41c9268c20c
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb <ide> def dump_schema_information #:nodoc: <ide> def initialize_schema_migrations_table <ide> sm_table = ActiveRecord::Migrator.schema_migrations_table_name <ide> <del> unless table_exists?(sm_table) <add> ...
2
PHP
PHP
extract relativetimeformatter from time & date
1c6ac85d070357da524c09de6628f6d47078a44c
<ide><path>src/I18n/Date.php <ide> class Date extends MutableDate implements JsonSerializable <ide> */ <ide> public function timeAgoInWords(array $options = []) <ide> { <del> $date = $this; <del> <del> $options += [ <del> 'from' => static::now(), <del> 'timezone' => null...
4
Ruby
Ruby
prefer xcode 6.1 on 10.10
8205ebabcb3d090901e983b7946de1978df108f4
<ide><path>Library/Homebrew/os/mac.rb <ide> def preferred_arch <ide> "5.1" => { :clang => "5.1", :clang_build => 503 }, <ide> "5.1.1" => { :clang => "5.1", :clang_build => 503 }, <ide> "6.0" => { :clang => "6.0", :clang_build => 600 }, <add> "6.1" => { :clang => "6.0", :clang_build => 600 }...
2
Python
Python
improve tests for python integer special cases
d47b09c047c2128e820f4d4f27f10b3fd7d8b05b
<ide><path>numpy/core/tests/test_nep50_promotions.py <ide> def test_nep50_examples(): <ide> assert res.dtype == np.float64 <ide> <ide> <del>def test_nep50_without_warnings(): <del> # Test that avoid the "warn" method, since that may lead to different <del> # code paths in some cases. <del> # Set promotio...
1
Ruby
Ruby
relocate homebrew_repository when necessary
997ccb044d21fccb1a95ef4eefad0fa892289e02
<ide><path>Library/Homebrew/dev-cmd/bottle.rb <ide> def bottle_formula(f) <ide> tar_path = Pathname.pwd/tar_filename <ide> <ide> prefix = HOMEBREW_PREFIX.to_s <add> repository = HOMEBREW_REPOSITORY.to_s <ide> cellar = HOMEBREW_CELLAR.to_s <ide> <ide> ohai "Bottling #{filename}..." <ide> def bottle_...
3
Java
Java
introduce lookuppath in webflux request routing
cf1bc8119999e2bf3f41ae572f5b83536685ce5e
<ide><path>spring-web/src/main/java/org/springframework/web/cors/reactive/UrlBasedCorsConfigurationSource.java <ide> import org.springframework.util.PathMatcher; <ide> import org.springframework.web.cors.CorsConfiguration; <ide> import org.springframework.web.server.ServerWebExchange; <del>import org.springframework.we...
18
Text
Text
fix translate to russian
eec1a140a1b9f91edb737e147d165839c5b81f1e
<ide><path>guide/russian/agile/index.md <ide> localeTitle: Гибкие методологии <ide> В Agile акцент делается на «гибкость» - способность быстро реагировать на отзывы пользователей и другие изменяющиеся обстоятельства. <ide> <ide> <del>![Комикс от Commitstrip.com показывает как менеджер, объясняющий разработчику, что о...
1
Javascript
Javascript
reduce memory usage
d4f3a388f79123f7221e6ff08d2454c73f5d4e8e
<ide><path>examples/js/pmrem/PMREMCubeUVPacker.js <ide> THREE.PMREMCubeUVPacker = function ( cubeTextureLods, numLods ) { <ide> this.CubeUVRenderTarget = new THREE.WebGLRenderTarget( size, size, params ); <ide> this.CubeUVRenderTarget.texture.name = "PMREMCubeUVPacker.cubeUv"; <ide> this.CubeUVRenderTarget.texture.m...
1
Javascript
Javascript
write test for feb 29 0000 validity
9245568deb5b085278323bdee0ba0cbf3183975d
<ide><path>src/test/moment/is_valid.js <ide> test('array good month', function (assert) { <ide> } <ide> }); <ide> <add>test('Feb 29 0000 is valid', function (assert) { <add> // https://github.com/moment/moment/issues/3358 <add> assert.ok(moment({year:0, month:1, date:29}).isValid(), 'Feb 29 0000 must be vali...
1
Javascript
Javascript
pass explicit execargv to workers
bc4de008d3d9d8f1e8e3684513ea5175a747f27b
<ide><path>packager/src/JSTransformer/index.js <ide> function makeFarm(worker, methods, timeout, maxConcurrentWorkers) { <ide> return workerFarm( <ide> { <ide> autoStart: true, <add> execArgv: [], <ide> maxConcurrentCallsPerWorker: 1, <ide> maxConcurrentWorkers, <ide> maxCallsPerWorke...
4
Python
Python
fix failing test in testschedulerjob
5e0a2d772b2b095de277bedcaafce8dd98805d48
<ide><path>tests/jobs/test_scheduler_job.py <ide> def test_scheduler_loop_should_change_state_for_tis_without_dagrun( <ide> scheduler.processor_agent = processor <ide> <ide> with mock.patch.object(settings, "USE_JOB_SCHEDULE", False), conf_vars( <del> {('scheduler', 'clean_tis_without_dagrun...
1
Javascript
Javascript
make clone of materials
8d40dba44b5d711185994162c6cf1c52e5a78baf
<ide><path>src/materials/MeshFaceMaterial.js <ide> THREE.MeshFaceMaterial = function ( materials ) { <ide> THREE.MeshFaceMaterial.prototype.clone = function () { <ide> <ide> var material = new THREE.MeshFaceMaterial(); <del> material.materials = this.materials; <add> material.materials = this.materials.slice(0); <id...
1
Python
Python
remove broken link (resolves )
1a23a0f87e693011670ac8d869d2578ad20ef2b4
<ide><path>examples/training/train_textcat.py <ide> spacy.pipeline, and predictions are available via `doc.cats`. For more details, <ide> see the documentation: <ide> * Training: https://spacy.io/usage/training <del>* Text classification: https://spacy.io/usage/text-classification <ide> <ide> Compatible with: spaCy v2...
1
Python
Python
fix merge conflict
f28ef61a87f097b129b18792ae64f509ef636af1
<ide><path>examples/lstm_stateful.py <ide> def gen_uniform_amp(amp=1, xn=10000): <ide> -amp and +amp <ide> and of length xn <ide> <del> Arguments: <add> # Arguments <ide> amp: maximum/minimum range of uniform data <ide> xn: length of series <ide> """ <ide><path>keras/activations.py <i...
11
Ruby
Ruby
break conditional branches into separate methods
8e9e424fa99769b86c1d3df958ef534868543316
<ide><path>activerecord/lib/active_record/associations/association_scope.rb <ide> def join_type <ide> end <ide> <ide> def self.get_bind_values(owner, chain) <del> bvs = [] <del> chain.each_with_index do |reflection, i| <del> if reflection == chain.last <del> bvs << reflect...
1
PHP
PHP
update email.blade.php
3c397ea1f4c7af4346f4f83144ea8d3ff307f405
<ide><path>src/Illuminate/Notifications/resources/views/email.blade.php <ide> @component('mail::subcopy') <ide> @lang( <ide> "If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\n". <del> 'into your web browser: [:actionURL](:actionURL)', <add> 'into your web browser: ',...
1
Javascript
Javascript
refactor the code in test-http-connect
72a8488e8e0108e92422443364752b788d58ea56
<ide><path>test/parallel/test-http-connect.js <ide> 'use strict'; <ide> const common = require('../common'); <del>var assert = require('assert'); <del>var http = require('http'); <add>const assert = require('assert'); <add>const http = require('http'); <ide> <del>var serverGotConnect = false; <del>var clientGotConnect...
1
Java
Java
improve testrecursivescheduler2 determinism
ed30a269900bf1166819c48a161ffc13bd93e0be
<ide><path>rxjava-core/src/test/java/rx/concurrency/TestSchedulers.java <ide> public Subscription call(Scheduler scheduler, BooleanSubscription cancel) { <ide> observer.onNext(42); <ide> latch.countDown(); <ide> <del> try { <del> ...
1
Ruby
Ruby
improve the deprecation message for errors#on
bc1dd0b82eb994a9948c038e01db7ced5a48ffea
<ide><path>activemodel/lib/active_model/deprecated_error_methods.rb <ide> module ActiveModel <ide> module DeprecatedErrorMethods <ide> def on(attribute) <ide> message = "Errors#on have been deprecated, use Errors#[] instead.\n" <del> message << "Also note that the behaviour of Errors#[] has changed. Er...
1
Javascript
Javascript
add a fallback for fullstack cert
4c14e3f3965be359936fc05006773d9031ebc25d
<ide><path>api-server/server/boot/certificate.js <ide> import { <ide> infosecQaId, <ide> fullStackId <ide> } from '../utils/constantStrings.json'; <add>import { oldDataVizId } from '../../../config/misc'; <ide> import certTypes from '../utils/certTypes.json'; <ide> import superBlockCertTypeMap from '../utils/superB...
2
Mixed
Javascript
fix some typos
7ce9710f336c2ad2359466dc9357979c4d562446
<ide><path>docs/docs/configuration/legend.md <ide> The legend label configuration is nested below the legend configuration using th <ide> | `generateLabels` | `function` | | Generates legend items for each thing in the legend. Default implementation returns the text + styling for the color box. See [Legend Item](#legen...
6
PHP
PHP
apply scopes on increment/decrement
4a70fd555b6dd0c81acf5a45955c1b7e82ea375b
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> public function increment($column, $amount = 1, array $extra = []) <ide> { <ide> $extra = $this->addUpdatedAtColumn($extra); <ide> <del> return $this->query->increment($column, $amount, $extra); <add> return $this->toBase()->increm...
2
Ruby
Ruby
move anonymous class to the top, add documentation
fae8f72076c7feef271176636aef9e2dca3930fe
<ide><path>actionpack/lib/action_controller/base.rb <ide> require "action_controller/metal/params_wrapper" <ide> <ide> module ActionController <add> # The <tt>metal</tt> anonymous class is simple workaround the ordering issues there are with modules. <add> # They need to be included in specyfic order which makes it ...
1
Ruby
Ruby
simplify bind parameter logging
61b69338b27e3d865d4ca87269a7c12a74ea32da
<ide><path>activerecord/lib/active_record/log_subscriber.rb <ide> def sql(event) <ide> binds = nil <ide> <ide> unless (payload[:binds] || []).empty? <del> binds = " {" + payload[:binds].map { |col,v| <del> "#{col.name.inspect} => #{v.inspect}" <del> }.join(", ") + "}" <add> ...
2
Python
Python
set version to 2.0.17
db08b168a34ac1d32decb8d2b45e57b5f45f4b2f
<ide><path>spacy/about.py <ide> # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py <ide> <ide> __title__ = 'spacy' <del>__version__ = '2.0.17.dev1' <add>__version__ = '2.0.17' <ide> __summary__ = 'Industrial-strength Natural Language Processing (NLP) with Python and Cython' <ide> __uri__ = 'https:/...
1
Javascript
Javascript
remove old loader
a14d4d60eb4d7fcf9a20a23eeeff19a80dcce5bf
<ide><path>examples/js/loaders/ABINloader.js <del> <del>(function(){ <del> <del> <del>var Virtulous = {}; <del> <del> <del>Virtulous.KeyFrame = function( time, matrix ) { <del> <del> this.time = time; <del> this.matrix = matrix.clone(); <del> this.position = new THREE.Vector3(); <del> this.quaternion = new ...
1
Ruby
Ruby
upgrade virtualenv to 16.5.0
e3615add8c8289e3baa99d6b316ab78b54b3edc4
<ide><path>Library/Homebrew/language/python_virtualenv_constants.rb <ide> # frozen_string_literal: true <ide> <ide> PYTHON_VIRTUALENV_URL = <del> "https://files.pythonhosted.org/packages/37/db" \ <del> "/89d6b043b22052109da35416abc3c397655e4bd3cff031446ba02b9654fa" \ <del> "/virtualenv-16.4.3.tar.gz" <add> "https:...
1
Javascript
Javascript
add unstable_strictmodelevel to test renderer
de0ee76dbde0a5ec507cf4a62c9690f67b56d7b6
<ide><path>packages/react-test-renderer/src/ReactTestRenderer.js <ide> const {IsSomeRendererActing} = ReactSharedInternals; <ide> type TestRendererOptions = { <ide> createNodeMock: (element: React$Element<any>) => any, <ide> unstable_isConcurrent: boolean, <add> unstable_strictModeLevel: number, <ide> ... <ide> ...
1
Python
Python
fix seterr example for resetting to old settings
5803ec43faf46d5117ddddfc7026f098ea5b3b89
<ide><path>numpy/core/numeric.py <ide> def seterr(all=None, divide=None, over=None, under=None, invalid=None): <ide> >>> np.seterr(over='raise') <ide> {'over': 'ignore', 'divide': 'ignore', 'invalid': 'ignore', <ide> 'under': 'ignore'} <del> >>> np.seterr(all='ignore') # reset to default <add> >>> n...
1
Javascript
Javascript
fix uiexplorer list
38157f017583e3c787f5caca018ba6a49bd590fe
<ide><path>Examples/UIExplorer/js/UIExplorerExampleList.js <ide> const ds = new ListView.DataSource({ <ide> }); <ide> <ide> class UIExplorerExampleList extends React.Component { <del> constuctor(props: { <add> <add> state = {filter: ''}; <add> <add> constructor(props: { <ide> disableTitleRow: ?boolean, <ide> ...
1
Text
Text
add 1.7.4 release notes
e25f84296f459f5e1dc86c8720f655f906bc8845
<ide><path>CHANGELOG.md <add><a name="1.7.4"></a> <add># 1.7.4 interstellar-exploration (2018-09-07) <add> <add>## Bug Fixes <add>- **ngAria.ngClick:** prevent default event on space/enter only for non-interactive elements <add> ([61b335](https://github.com/angular/angular.js/commit/61b33543ff8e7f32464dec98a46bf0a35e9...
1
Javascript
Javascript
sanitize srcset attribute
ab80cd90661396dbb1c94c5f4dd2d11ee8f6b6af
<ide><path>src/ng/compile.js <ide> function $CompileProvider($provide, $$sanitizeUriProvider) { <ide> <ide> nodeName = nodeName_(this.$$element); <ide> <del> // sanitize a[href] and img[src] values <ide> if ((nodeName === 'a' && key === 'href') || <ide> (nodeName === 'img' && key ==...
4
Text
Text
add changelogs for cluster
dc10c1aa29db556fcb02918c6e565ece4a2128c0
<ide><path>doc/api/cluster.md <ide> It is not emitted in the worker. <ide> ### worker.disconnect() <ide> <!-- YAML <ide> added: v0.7.7 <add>changes: <add> - version: v7.3.0 <add> pr-url: https://github.com/nodejs/node/pull/10019 <add> description: This method now returns a reference to `worker`. <ide> --> <ide> ...
1
PHP
PHP
apply fixes from styleci
e68c3d81411fe0e167d851328a66b1d334034469
<ide><path>src/Illuminate/Routing/Router.php <ide> public function pushMiddlewareToGroup($group, $middleware) <ide> $this->middlewareGroups[$group] = []; <ide> } <ide> <del> if ( ! in_array($middleware, $this->middlewareGroups[$group])) { <add> if (! in_array($middleware, $this->middl...
1
Text
Text
add v3.14.0 to changelog
1ffa71d499e4a5dce7370304accae473936695c1
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <del>### v3.14.0-beta.5 (October 14, 2019) <add>### v3.14.0 (October 29, 2019) <ide> <del>- [#18476](https://github.com/emberjs/ember.js/pull/18476) [BUGFIX] Ensure model can be observed by sync observers <add>- [#18345](https://github.com/emberjs/ember.js/pull/18...
1
PHP
PHP
remove dead test
7d39beff68c5ebf5666e8433a76d84f779914c91
<ide><path>tests/test_app/templates/layout/rss/default.php <del><?php <del>echo $this->Rss->header(); <del> <del>if (!isset($channel)) { <del> $channel = []; <del>} <del>if (!isset($channel['title'])) { <del> $channel['title'] = $this->fetch('title'); <del>} <del> <del>echo $this->Rss->document( <del> $this->R...
1
Text
Text
remove subsystem from pull request template
c72e540cde6695176bd7d218a1ed6584e2a0b9c7
<ide><path>.github/PULL_REQUEST_TEMPLATE.md <ide> Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md <ide> - [ ] tests and/or benchmarks are included <ide> - [ ] documentation is changed or added <ide> - [ ] commit message follows [commit guidelines](https://github.com/nodejs/node/blob/maste...
1
Ruby
Ruby
add more tests for `find_signed/!` methods
21889ff55048737a2fa2a3c75412518e2b2aef51
<ide><path>activerecord/test/cases/signed_id_test.rb <ide> class SignedIdTest < ActiveRecord::TestCase <ide> assert_equal Company.first, Company.find_signed(Company.first.signed_id) <ide> end <ide> <del> test "raise UnknownPrimaryKey when model have no primary key" do <add> test "find signed record raises Unkn...
1
Go
Go
add swarmkit fields to stack service
13384ba34b8d57d9cc6e68ff9c8b0b72bc72f9c3
<ide><path>cli/command/stack/deploy.go <ide> import ( <ide> "io/ioutil" <ide> "os" <ide> "strings" <del> "time" <ide> <ide> "github.com/spf13/cobra" <ide> "golang.org/x/net/context" <ide> import ( <ide> "github.com/docker/docker/cli" <ide> "github.com/docker/docker/cli/command" <ide> servicecmd "github.com/doc...
2
Java
Java
avoid unescape for connect and connected frames
5d91560f9230a1673036ee0a9b5e4aa75c4f148c
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompDecoder.java <ide> private Message<byte[]> decodeMessage(ByteBuffer byteBuffer, @Nullable MultiValu <ide> StompCommand stompCommand = StompCommand.valueOf(command); <ide> headerAccessor = StompHeaderAccessor.create(stompComm...
2