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
add alex good to credits (whoop!)
72d72e4d3e497000bab8019151972b0e71f6957a
<ide><path>docs/topics/credits.md <ide> The following people have helped make REST framework great. <ide> * Alexander Lukanin - [alexanderlukanin13] <ide> * Yamila Moreno - [yamila-moreno] <ide> * Rob Hudson - [robhudson] <add>* Alex Good - [alexjg] <ide> <ide> Many thanks to everyone who's contributed to the project....
1
Python
Python
fix mypy issues in www/views.py
7570dfbf51cd83e6ddae0abf29c52b81715d2811
<ide><path>airflow/www/views.py <ide> from functools import wraps <ide> from json import JSONDecodeError <ide> from operator import itemgetter <del>from typing import Any, Callable, List, Optional, Set, Tuple, Union <add>from typing import Any, Callable, Dict, List, Optional, Set, Tuple, Union <ide> from urllib.parse i...
1
Ruby
Ruby
make `chown` recommendation consistent
ca5b7440c69a37b5f03f7b8949df27d8824d307d
<ide><path>Library/Homebrew/diagnostic.rb <ide> def check_access_usr_local <ide> <ide> You should probably change the ownership and permissions of /usr/local <ide> back to your user account. <del> sudo chown -R $(whoami):admin /usr/local <add> sudo chown -R $(whoami) /usr/local <ide> ...
1
PHP
PHP
add test for cachemanager
b74e66b1588e6517f93a759c301246aaaa5135d0
<ide><path>tests/Cache/CacheManagerTest.php <ide> <ide> use Illuminate\Cache\ArrayStore; <ide> use Illuminate\Cache\CacheManager; <add>use Illuminate\Cache\NullStore; <ide> use Illuminate\Config\Repository; <ide> use Illuminate\Container\Container; <add>use Illuminate\Contracts\Events\Dispatcher; <add>use Illuminate\E...
1
Java
Java
fix typos in log messages of nativeanimatedmodule
3c6c5f057a78bed7e69b0834ca0894f3b5261149
<ide><path>ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedModule.java <ide> public void disconnectAnimatedNodeFromView( <ide> if (ANIMATED_MODULE_DEBUG) { <ide> FLog.d( <ide> NAME, <del> "queue connectAnimatedNodeToView: disconnectAnimatedNodeFromView: " <del> ...
1
Javascript
Javascript
expose event statics
9d324f0441688cef6b9403f2492e6d41cc6a2fc2
<ide><path>lib/internal/event_target.js <ide> class Event { <ide> get bubbles() { return this.#bubbles; } <ide> get composed() { return this.#composed; } <ide> get eventPhase() { <del> return this[kTarget] ? 2 : 0; // Equivalent to AT_TARGET or NONE <add> return this[kTarget] ? Event.AT_TARGET : Event.NONE...
2
Ruby
Ruby
handle the case where 64bit time_t won't overflow
006cbb8fde3f20a684eabcfd11c53ae762cf8435
<ide><path>activesupport/test/core_ext/time_ext_test.rb <ide> def test_time_with_datetime_fallback <ide> assert_equal Time.time_with_datetime_fallback(:utc, 2005), Time.utc(2005) <ide> assert_equal Time.time_with_datetime_fallback(:utc, 2039), DateTime.civil(2039, 1, 1, 0, 0, 0, 0, 0) <ide> assert_equal Tim...
1
Text
Text
fix typo in dns docs
64b50468bbf04120980d6d46289131df421a693d
<ide><path>doc/api/dns.md <ide> An independent resolver for DNS requests. <ide> Note that creating a new resolver uses the default server settings. Setting <ide> the servers used for a resolver using <ide> [`resolver.setServers()`][`dns.setServers()`] does not affect <del>other resolver: <add>other resolvers: <ide> <i...
1
Go
Go
reduce the destroy timeout from 10 to 3 seconds
28fd289b448164b77affd8103c0d96fd8110daf9
<ide><path>runtime.go <ide> func (runtime *Runtime) Destroy(container *Container) error { <ide> return fmt.Errorf("Container %v not found - maybe it was already destroyed?", container.Id) <ide> } <ide> <del> if err := container.Stop(10); err != nil { <add> if err := container.Stop(3); err != nil { <ide> return er...
2
Text
Text
discourage error event
cf5f6af8d68995abe28da236e5d16194fce76a75
<ide><path>doc/api/events.md <ide> target.addEventListener('foo', handler4, { once: true }); <ide> ### `EventTarget` error handling <ide> <ide> When a registered event listener throws (or returns a Promise that rejects), <del>by default the error is forwarded to the `process.on('error')` event <del>on `process.nextTic...
1
Java
Java
allow async metadata in rsocketrequester
996f7290cf97df2938287630ca956fe5ac35fdc8
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/rsocket/DefaultRSocketRequester.java <ide> private DataBufferFactory bufferFactory() { <ide> <ide> private class DefaultRequestSpec implements RequestSpec { <ide> <del> private final MetadataEncoder metadataEncoder; <add> private final Metadat...
8
Javascript
Javascript
reset baseurl in protractor conf
b4db713cde8539d118c9bbae91c4ded1979b0ebf
<ide><path>protractor-jenkins-conf.js <ide> exports.config = { <ide> 'browserName': 'chrome' <ide> }, <ide> <del> baseUrl: 'http://localhost:8000/build/docs/', <add> baseUrl: 'http://localhost:8000/', <ide> <ide> framework: 'jasmine', <ide>
1
Javascript
Javascript
remove empty define({}) from build output
2c1b556d98da597b0490f204e3561f656987f17c
<ide><path>build/tasks/build.js <ide> module.exports = function( grunt ) { <ide> optimize: "none", <ide> // Include dependencies loaded with require <ide> findNestedDependencies: true, <add> // Avoid inserting define() placeholder <add> skipModuleInsertion: true, <ide> // Avoid breaking semicolons inser...
1
Ruby
Ruby
remove unnecessary `remove_file`
4e5a96dd292439e9bd525a645427b0a559a13608
<ide><path>railties/lib/rails/generators/rails/app/app_generator.rb <ide> def delete_application_record_skipping_active_record <ide> <ide> def delete_action_mailer_files_skipping_action_mailer <ide> if options[:skip_action_mailer] <del> remove_file "app/mailers/application_mailer.rb" <ide> ...
1
Text
Text
clarify behavior of fs.mkdir
13d2df530b613f5f41db3e9680fa85d55bea0f1e
<ide><path>doc/api/fs.md <ide> are given to the completion callback. <ide> <ide> The optional `options` argument can be an integer specifying mode (permission <ide> and sticky bits), or an object with a `mode` property and a `recursive` <del>property indicating whether parent folders should be created. <add>property i...
1
Javascript
Javascript
remove view keyword
7c6574ffdfa61d879cbdbac28c025601e10249d4
<ide><path>packages/ember-htmlbars/lib/env.js <del>import { environment, ENV } from 'ember-environment'; <add>import { environment } from 'ember-environment'; <ide> <ide> import { hooks } from 'htmlbars-runtime'; <ide> import assign from 'ember-metal/assign'; <ide> import debuggerKeyword from 'ember-htmlbars/keywords/...
17
PHP
PHP
use weak etag header in tests
d2aa969206aa1b7738b911cdaf29038f249b5066
<ide><path>test/data/etag.php <ide> $ts = $_REQUEST['ts']; <ide> $etag = md5($ts); <ide> <del>$ifNoneMatch = isset($_SERVER['HTTP_IF_NONE_MATCH']) ? stripslashes($_SERVER['HTTP_IF_NONE_MATCH']) : false; <add>$ifNoneMatch = isset($_SERVER['HTTP_IF_NONE_MATCH']) ? stripslashes($_SERVER['HTTP_IF_NONE_MATCH']) : ""; <add>...
1
Text
Text
add single executable application initiative
2de8dd15c185cdc5fa30dad9d303685ec1433e94
<ide><path>doc/contributing/strategic-initiatives.md <ide> agenda to ensure they are active and have the support they need. <ide> <ide> ## Current initiatives <ide> <del>| Initiative | Champion | Links | <del>| ------------------- | -----------------...
1
Text
Text
add url.format() example
1572a5b6cd16aeb6cafd338814ead76c0f198f1d
<ide><path>doc/api/url.md <ide> changes: <ide> The `url.format()` method returns a formatted URL string derived from <ide> `urlObject`. <ide> <add>```js <add>url.format({ <add> protocol: 'https', <add> hostname: 'example.com', <add> pathname: '/some/path', <add> query: { <add> page: 1, <add> format: 'json' <...
1
Javascript
Javascript
improve matrix3 closure performance
2b46f6288c2c570c0eea2471d9c79deff2a06ffd
<ide><path>src/math/Matrix3.js <ide> Object.assign( Matrix3.prototype, { <ide> <ide> applyToBufferAttribute: function () { <ide> <del> var v1; <add> var v1 = new Vector3(); <ide> <ide> return function applyToBufferAttribute( attribute ) { <ide> <del> if ( v1 === undefined ) v1 = new Vector3(); <del> <ide> ...
1
Text
Text
remove beta from observablehq
455f1f12c9013d727e1f7aa2b367b39fca9c2c4f
<ide><path>CHANGES.md <ide> <ide> D3 5.0 introduces only a few non-backwards-compatible changes. <ide> <del>D3 now uses [Promises](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Using_promises) instead of asynchronous callbacks to load data. Promises simplify the structure of asynchronous code, especially in...
1
Ruby
Ruby
remove unused values variable
e5772a1f56568547ca72ad053cb812cd22dbd466
<ide><path>lib/arel/visitors/to_sql.rb <ide> def visit_Arel_Nodes_UpdateStatement o, collector <ide> <ide> collector << "UPDATE " <ide> collector = visit o.relation, collector <del> values = false <ide> unless o.values.empty? <del> values = true <ide> collector << " SE...
1
Go
Go
add testcontainerapipause case
8636a219911536123decb547dab9bf50ebb2c8f8
<ide><path>integration-cli/docker_api_containers_test.go <ide> package main <ide> import ( <ide> "bytes" <ide> "encoding/json" <add> "github.com/docker/docker/api/types" <add> "github.com/docker/docker/pkg/stringid" <add> "github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar" <ide> "io" <ide>...
2
Javascript
Javascript
fix documentation for run.later
5395ccb5021c7509725cbe4b294a2b964fea7b54
<ide><path>packages/ember-metal/lib/run_loop.js <ide> run.sync = function() { <ide> target at the time the method is invoked. <ide> @param {Object} [args*] Optional arguments to pass to the timeout. <ide> @param {Number} wait Number of milliseconds to wait. <del> @return {Object} Timer information for use in c...
1
Javascript
Javascript
add links to docs for addons and top level api
db175052c00a65e6a852011f889c12fea50bb34b
<ide><path>src/addons/ReactComponentWithPureRenderMixin.js <ide> var shallowCompare = require('shallowCompare'); <ide> * complex data structures this mixin may have false-negatives for deeper <ide> * differences. Only mixin to components which have simple props and state, or <ide> * use `forceUpdate()` when you know...
17
Python
Python
add placeholders for extension methods
baac7377f7ad616d1e45b3456900be64c7d2ae8e
<ide><path>libcloud/dns/drivers/cloudflare.py <ide> def _ex_get_user_account_memberships(params): <ide> return self._paginate(_ex_get_user_account_memberships, <ide> self.MEMBERSHIPS_PAGE_SIZE) <ide> <add> def ex_get_zone_stats(self, zone, interval=30): <add> raise NotIm...
1
Javascript
Javascript
add sourcetype as a new mandatory option
3aa453d975794faa38f21a78c232628c6f4233db
<ide><path>jest/preprocessor.js <ide> module.exports = { <ide> platform: '', <ide> projectRoot: '', <ide> retainLines: true, <add> sourceType: 'unambiguous', // b7 required. detects module vs script mode <ide> }, <ide> src, <ide> plugins: [
1
PHP
PHP
add integration test for the caseexpression
820f52289bef9e3c477df411e8fc1f6a58e24bc1
<ide><path>tests/TestCase/Database/QueryTest.php <ide> public function testDirectIsNull() { <ide> $this->assertEquals(['name' => 'larry'], $results->fetch('assoc')); <ide> } <ide> <add>/** <add> * Tests that case statements work correctly for various use-cases. <add> * <add> * @return void <add> */ <add> public fun...
1
Go
Go
limit the amount of prints during normal runs
bc7fa7b95773d638754eb72e7921ac328acb2ad6
<ide><path>devmapper/deviceset_devmapper.go <ide> package devmapper <ide> <ide> import ( <add> "github.com/dotcloud/docker/utils" <ide> "encoding/json" <ide> "fmt" <ide> "io" <ide> func (devices *DeviceSetDM) ensureImage(name string, size int64) (string, error) <ide> } <ide> <ide> func (devices *DeviceSetDM) creat...
3
Javascript
Javascript
fix exceptions when running `grunt test --debug`
d76e3e1632d0748cdede1f4b0af89a37d00e0ae4
<ide><path>src/renderers/dom/client/__tests__/ReactMount-test.js <ide> describe('ReactMount', function() { <ide> var WebComponents = WebComponents; <ide> <ide> try { <del> if (WebComponents === undefined && jest !== undefined) { <add> if (WebComponents === undefined && typeof jest !== 'undefined') { <ide> ...
2
Text
Text
add changelog episode badge to readme
68b8c09095ea129d20206d98b042b07209f1b641
<ide><path>README.md <ide> It is tiny (2kB) and has no dependencies. <ide> [![npm downloads](https://img.shields.io/npm/dm/redux.svg?style=flat-square)](https://www.npmjs.com/package/redux) <ide> [![redux channel on discord](https://img.shields.io/badge/discord-%23redux%20%40%20reactiflux-61dafb.svg?style=flat-square)]...
1
PHP
PHP
add container tests
6bffe4eb623ec9235f4e290bb4a7c95dd25e4a76
<ide><path>tests/Container/ContainerTest.php <ide> public function testSharedConcreteResolution() <ide> { <ide> $container = new Container; <ide> $container->singleton('ContainerConcreteStub'); <del> $bindings = $container->getBindings(); <ide> <ide> $var1 = $container->make('Contain...
1
Javascript
Javascript
add flow typing to quickperformancelogger
bcfbdf4fbec1a05da151a2255f44a87b651965d6
<ide><path>Libraries/Performance/QuickPerformanceLogger.js <ide> * of patent rights can be found in the PATENTS file in the same directory. <ide> * <ide> * @providesModule QuickPerformanceLogger <add> * @flow <ide> */ <ide> <ide> 'use strict'; <ide> <del>var fixOpts = function(opts) { <del> var AUTO_SET_TIMEST...
1
Go
Go
match manifest list resolution with containerd
9adad264d2bf17bee8ec7b8a29d7112b3f503771
<ide><path>distribution/pull_v2.go <ide> func (p *puller) pullManifestList(ctx context.Context, ref reference.Named, mfst <ide> <ide> manifestMatches := filterManifests(mfstList.Manifests, platform) <ide> <del> if len(manifestMatches) == 0 { <del> errMsg := fmt.Sprintf("no matching manifest for %s in the manifest l...
2
Javascript
Javascript
sanitize values bound to a[href]
9532234bf1c408af9a6fd2c4743fdb585b920531
<ide><path>src/ng/compile.js <ide> function $CompileProvider($provide) { <ide> Suffix = 'Directive', <ide> COMMENT_DIRECTIVE_REGEXP = /^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/, <ide> CLASS_DIRECTIVE_REGEXP = /(([\d\w\-_]+)(?:\:([^;]+))?;?)/, <del> MULTI_ROOT_TEMPLATE_ERROR = 'Template must have ex...
3
Python
Python
remove __all__ export
c2469b813556780bb6d1545d5ca5e48a0e2c4280
<ide><path>spacy/language_data/punctuation.py <ide> r'(?<=[{a}"])[:<>=/](?=[{a}])'.format(a=ALPHA) <ide> ] <ide> ) <del> <del> <del>__all__ = ["TOKENIZER_PREFIXES", "TOKENIZER_SUFFIXES", "TOKENIZER_INFIXES"]
1
Go
Go
accept uppercase endpoint mode
8a0c5f157892efdfd5119410adedf0f04c9c16cf
<ide><path>api/client/service/opts.go <ide> func (e *endpointOptions) ToEndpointSpec() *swarm.EndpointSpec { <ide> } <ide> <ide> return &swarm.EndpointSpec{ <del> Mode: swarm.ResolutionMode(e.mode), <add> Mode: swarm.ResolutionMode(strings.ToLower(e.mode)), <ide> Ports: portConfigs, <ide> } <ide> } <ide> func...
1
PHP
PHP
apply fixes from styleci
fe1d67b0fbda54c78f3e1ee217a2fc36edd3c79c
<ide><path>tests/Auth/AuthTokenGuardTest.php <ide> public function testUserCanBeRetrievedByQueryStringVariable() <ide> $this->assertEquals(1, $guard->id()); <ide> } <ide> <del> <ide> public function testTokenCanBeHashed() <ide> { <ide> $provider = m::mock(UserProvider::class);
1
Javascript
Javascript
fix minor style issue
6df176d3f014effff3436f514ab9f5a03e0e80b4
<ide><path>examples/js/objects/Sky.js <ide> THREE.Sky.SkyShader = { <ide> "mieCoefficient": { value: 0.005 }, <ide> "mieDirectionalG": { value: 0.8 }, <ide> "sunPosition": { value: new THREE.Vector3() }, <del> "up": { value: new THREE.Vector3(0, 1, 0) } <add> "up": { value: new THREE.Vector3( 0, 1, 0 ) } <ide> ...
2
Javascript
Javascript
change splice to pop in annotation tests
b157d8b4786e9435483368ae45cef2626d3ae9d0
<ide><path>test/unit/annotation_spec.js <ide> describe('annotation', function() { <ide> <ide> // Remove the last invalid flag for the next iteration. <ide> if (!valid) { <del> flags -= invalidFieldFlags.splice(-1, 1); <add> flags -= invalidFieldFlags.pop(); <ide> ...
1
PHP
PHP
update doc blocks for email to return $this
a41d646b8ac412a58a5be97b2f06e753f5db765c
<ide><path>src/Network/Email/Email.php <ide> public function __construct($config = null) { <ide> * @param string|array $email Null to get, String with email, <ide> * Array with email as key, name as value or email as value (without name) <ide> * @param string $name Name <del> * @return array|\Cake\Network\Email\Em...
1
Text
Text
add troubleshooting and modification for linux
e7378912427c9ebad42242f0fec04c83d3e72f5e
<ide><path>docs/GettingStarted.md <ide> cd AwesomeProject <ide> react-native run-android <ide> ``` <ide> <del><block class="windows android" /> <add><block class="windows linux android" /> <ide> <ide> ### Troubleshooting Run <ide> <del>A common issue on Windows is that the packager is not started automatically when ...
1
Javascript
Javascript
remove streams forced optimization
541119c6ee5dc8dca1115569dd640e4753dcce40
<ide><path>benchmark/streams/readable-bigread.js <ide> 'use strict'; <ide> <ide> const common = require('../common'); <del>const v8 = require('v8'); <ide> const Readable = require('stream').Readable; <ide> <ide> const bench = common.createBenchmark(main, { <ide> function main(conf) { <ide> function noop() {} <ide> ...
5
Text
Text
add curl examples
5b03de8287b04177c30815f5c798fe5c69e0d122
<ide><path>docs/tutorial/2-requests-and-responses.md <ide> Here is the view for an individual snippet. <ide> snippet = Snippet.objects.get(pk=pk) <ide> except Snippet.DoesNotExist: <ide> return Response(status=status.HTTP_404_NOT_FOUND) <del> <add> <ide> if request.method == 'GE...
1
Python
Python
add gabor filter
424c2008473b00a8d3f31a9ad043526d95c31e69
<ide><path>digital_image_processing/filters/gabor_filter.py <add># Implementation of the Gaborfilter <add># https://en.wikipedia.org/wiki/Gabor_filter <add>import numpy as np <add>from cv2 import COLOR_BGR2GRAY, CV_8UC3, cvtColor, filter2D, imread, imshow, waitKey <add> <add> <add>def gabor_filter_kernel( <add> ksiz...
1
PHP
PHP
add deprecation warnings to routing features
2a434091878143ef30b26c8ead1b91f0dfc44817
<ide><path>src/Routing/RequestActionTrait.php <ide> trait RequestActionTrait <ide> */ <ide> public function requestAction($url, array $extra = []) <ide> { <add> deprecationWarning( <add> 'RequestActionTrait::requestAction() is deprecated. ' . <add> 'You should refactor to use V...
5
PHP
PHP
make return type a bit more precise
7affebd69bd212da4f7e0674b61c5df51d101b30
<ide><path>src/Illuminate/Contracts/Broadcasting/ShouldBroadcast.php <ide> <ide> namespace Illuminate\Contracts\Broadcasting; <ide> <add>use Illuminate\Broadcasting\Channel; <add> <ide> interface ShouldBroadcast <ide> { <ide> /** <ide> * Get the channels the event should broadcast on. <ide> * <del> ...
1
Text
Text
add changes for 1.7.0
fe600c03da9f62b071e1b4d426c288ced4869c30
<ide><path>CHANGELOG.md <add><a name="1.7.0"></a> <add># 1.7.0 nonexistent-physiology (2018-05-09) <add> <add>**Here are the full changes for the release of 1.7.0 that are not already released in the 1.6.x branch, <add>which includes commits from 1.7.0-rc.0 and commits from 1.7.0 directly.** <add> <add>1.7.0 is the las...
1
Text
Text
provide example for dict in validationerror detail
ef112f5017bb6d3d6a331ff485dbf6a9209fb8b4
<ide><path>docs/api-guide/exceptions.md <ide> By default this exception results in a response with the HTTP status code "429 T <ide> The `ValidationError` exception is slightly different from the other `APIException` classes: <ide> <ide> * The `detail` argument is mandatory, not optional. <del>* The `detail` argument ...
1
Go
Go
fix ip case for bridgeip
cb3bd91689b9beaaa4e287e126bc8150b5161c57
<ide><path>config.go <ide> func DaemonConfigFromJob(job *engine.Job) *DaemonConfig { <ide> AutoRestart: job.GetenvBool("AutoRestart"), <ide> EnableIptables: job.GetenvBool("EnableIptables"), <ide> EnableIpForward: job.GetenvBool("EnableIpForward"), <del> BridgeIP: ...
2
Mixed
Python
add xcom.get_one() method back
d0e010f1f7691d9ed2fd547ca0218f932e6e36b9
<ide><path>UPDATING.md <ide> with redirect_stdout(StreamLogWriter(logger, logging.INFO)), \ <ide> print("I Love Airflow") <ide> ``` <ide> <del>### Removal of XCom.get_one() <del> <del>This one is superseded by `XCom.get_many().first()` which will return the same result. <del> <ide> ### Changes to SQLSensor <ide> ...
3
Javascript
Javascript
evaluate only scripts with type text/javascript
d1558d7924dec1156784f3b4576880f72213f671
<ide><path>docs/src/templates/doc_widgets.js <ide> angular.module('ngdocs.directives', [], function($compileProvider) { <ide> //jqlite instead. jqlite's find() method currently supports onlt getElementsByTagName! <ide> var example = element.find('pre').eq(0), //doc-source <ide> scriptSrc = ...
1
Javascript
Javascript
add react native modules to module map + fix fbjs
240dfae28c81a05dab137a84e81e48c5ccecdcec
<ide><path>gulpfile.js <ide> var paths = { <ide> react: { <ide> src: [ <ide> 'src/**/*.js', <add> '!src/**/__benchmarks__/**/*.js', <ide> '!src/**/__tests__/**/*.js', <ide> '!src/**/__mocks__/**/*.js', <ide> '!src/shared/vendor/**/*.js', <ide> var paths = { <ide> }, <ide> }; <ide> ...
12
Python
Python
fix small typo on extractor.py
c99f4e3a7509a37125e9fa5f225cd31f2a42e503
<ide><path>research/delf/delf/python/examples/extractor.py <ide> def ExtractorFn(image, resize_factor=1.0): <ide> if hasattr(config, 'is_tf2_exported') and config.is_tf2_exported: <ide> predict = model.signatures['serving_default'] <ide> if config.use_local_features and config.use_global_features: <del>...
1
Mixed
Javascript
deprecate all previous private apis
fe069cca6a87bcbc7030e8a1e631a81ba8c49580
<ide><path>doc/api/deprecations.md <ide> Type: Documentation-only <ide> The `process.binding()` API is intended for use by Node.js internal code <ide> only. Use of `process.binding()` by userland code is unsupported. <ide> <add><a id="DEP0112"></a> <add>### DEP0112: dgram private APIs <add> <add>Type: Runtime <add> <a...
2
Javascript
Javascript
remove old code
60b1d20667b6855b6b9ff27c5513fc738af02045
<ide><path>src/linear-line-top-index.js <ide> class LineTopIndex { <ide> } <ide> <ide> splice (startRow, oldExtent, newExtent) { <del> let blocksHeight = 0 <ide> this.blocks.forEach(function (block) { <ide> if (block.row >= startRow) { <ide> if (block.row >= startRow + oldExtent) { <ide> class...
1
Python
Python
add saving tests
d1b40b169f3d70afe4db539d140d6ed374dab21e
<ide><path>tests/test_model_saving.py <ide> def test_loading_weights_by_name_and_reshape(): <ide> model.load_weights(fname, by_name=False, reshape=False) <ide> model.load_weights(fname, by_name=False, reshape=True) <ide> model.load_weights(fname, by_name=True, reshape=True) <del> os.remove(fname) <id...
1
Ruby
Ruby
convert download strategies test to spec
92710c50c65beccfc2fca744cc8ee1be19a87aad
<ide><path>Library/Homebrew/test/download_strategies_spec.rb <add>require "download_strategy" <add> <add>describe AbstractDownloadStrategy do <add> subject { described_class.new(name, resource) } <add> let(:name) { "foo" } <add> let(:url) { "http://example.com/foo.tar.gz" } <add> let(:resource) { double(Resource, u...
2
Python
Python
fix linter error
831849ea5d1a9ec0ce56f28f682cd06f8da736c5
<ide><path>doc/conftest.py <ide> def check_output(self, want, got, optionflags): <ide> break <ide> return OutputChecker.check_output(self, want, got, optionflags) <ide> <add> <ide> doctest.OutputChecker = SkipMatplotlibOutputChecker <ide> <ide> @pytest.fixture(autouse=True)
1
Javascript
Javascript
fix context access and double function call
7812ae75d578314c1a285e9644fc75812940eb1d
<ide><path>src/ng/parse.js <ide> function parser(text, json, $filter, csp){ <ide> text.substring(0, token.index) + "] can not be assigned to", token); <ide> } <ide> right = logicalOR(); <del> return function(self, locals){ <del> return left.assign(self, right(self, locals), locals); <a...
1
Javascript
Javascript
remove smallestlabelseparation from timescale
c283867f73a5caea271304dd42480383ccd515ba
<ide><path>src/scales/scale.time.js <ide> module.exports = function(Chart) { <ide> me.scaleSizeInUnits = me.lastTick.diff(me.firstTick, me.tickUnit, true); <ide> } <ide> <del> me.smallestLabelSeparation = me.width; <del> <del> helpers.each(me.chart.data.datasets, function(dataset, datasetIndex) { <del> f...
1
Ruby
Ruby
use inline gemfile dependency when reporting bugs
ebd806cf4bcfabae7cabfa23bb64916e607dd41c
<ide><path>guides/bug_report_templates/action_controller_master.rb <del>unless File.exist?('Gemfile') <del> File.write('Gemfile', <<-GEMFILE) <del> source 'https://rubygems.org' <del> gem 'rails', github: 'rails/rails' <del> gem 'arel', github: 'rails/arel' <del> GEMFILE <del> <del> system 'bundle' <del>end...
3
Ruby
Ruby
add missing require
d2cdbcbb18aaf667077eb46c2abc2cfd8690f919
<ide><path>Library/Homebrew/test/test_integration_cmds.rb <ide> require "testing_env" <ide> require "fileutils" <ide> require "pathname" <add>require "formula" <ide> <ide> class IntegrationCommandTests < Homebrew::TestCase <ide> def setup
1
Ruby
Ruby
prevent symbol gc
8dcfc5d0814942edfb8bb07366fd2a57bdea3512
<ide><path>activerecord/test/cases/finder_test.rb <ide> def test_find_passing_active_record_object_is_deprecated <ide> end <ide> <ide> def test_symbols_table_ref <add> gc_disabled = GC.disable if RUBY_VERSION >= '2.2.0' <ide> Post.where("author_id" => nil) # warm up <ide> x = Symbol.all_symbols.count <...
1
Javascript
Javascript
improve code coverage for sourcemap class
6c1aa01874f437cae920ea633c949a1325492353
<ide><path>test/parallel/test-source-map-api.js <ide> const { readFileSync } = require('fs'); <ide> assert.notStrictEqual(payload.sources, sourceMap.payload.sources); <ide> } <ide> <add>// findEntry() must return empty object instead error when <add>// receive a malformed mappings. <add>{ <add> const payload = JSON...
1
Python
Python
fix silly error. this makes more sense
bbfa404e4679f4229e44fd7e641e62fdd2e7bdd5
<ide><path>djangorestframework/__init__.py <del>__version__ = '0.3.2-dev' <add>__version__ = '0.3.3-dev' <ide> <ide> VERSION = __version__ # synonym
1
PHP
PHP
fix issue with nested named parameters
8b3c72f7c1c7c53ed22e6ec8565cbce7bc275894
<ide><path>lib/Cake/Routing/Route/CakeRoute.php <ide> <?php <ide> /** <del> * A single Route used by the Router to connect requests to <del> * parameter maps. <del> * <del> * Not normally created as a standalone. Use Router::connect() to create <del> * Routes for your application. <del> * <del> * PHP5 <del> * <ide> *...
2
PHP
PHP
add missing @throws
cc3c2366579710c01bbe3ed1caae27a7587c550d
<ide><path>src/Illuminate/Foundation/Exceptions/Handler.php <ide> public function __construct(Container $container) <ide> * Report or log an exception. <ide> * <ide> * @param \Exception $e <add> * @throws \Exception $e <ide> * @return void <ide> */ <ide> public function report(Except...
1
Javascript
Javascript
remove reference to scope
3fc95e06e78b3c0e3e124bc48963c9876f33a91f
<ide><path>src/ngRoute/directive/ngView.js <ide> ngRouteModule.directive('ngView', ngViewFillContentFactory); <ide> <pre>$location.path() = {{main.$location.path()}}</pre> <ide> <pre>$route.current.templateUrl = {{main.$route.current.templateUrl}}</pre> <ide> <pre>$route.current.params = {...
1
Javascript
Javascript
update code style
a5f3962ef6dae53b1bb0f19284773af2400fc56a
<ide><path>src/test/__tests__/ReactTestUtils-test.js <ide> describe('ReactTestUtils', function() { <ide> <ide> it('Test scryRenderedDOMComponentsWithClass with className contains \\n', function() { <ide> var renderedComponent = ReactTestUtils.renderIntoDocument( <del> <div>Hello <span className={`x <del> ...
1
Javascript
Javascript
save some bytes. close gh-1071
a270d638f84f4ac4ea419665249bdf7952671f09
<ide><path>src/css.js <ide> jQuery.extend({ <ide> // We should always get a number back from opacity <ide> var ret = curCSS( elem, "opacity" ); <ide> return ret === "" ? "1" : ret; <del> <ide> } <ide> } <ide> } <ide> if ( window.getComputedStyle ) { <ide> function setPositiveNumber( elem, value,...
1
Python
Python
add model_builder and feature_map_extractor back
a703fc0c979aad61ff8994b2098289259ba99d04
<ide><path>research/object_detection/builders/model_builder.py <add># Copyright 2017 The TensorFlow Authors. All Rights Reserved. <add># <add># Licensed under the Apache License, Version 2.0 (the "License"); <add># you may not use this file except in compliance with the License. <add># You may obtain a copy of the Lice...
3
PHP
PHP
add tests for interacts with database trait
402eface32dd131468948ac34022a2bb20702655
<ide><path>tests/Foundation/FoundationInteractsWithDatabaseTest.php <add><?php <add> <add>use Mockery as m; <add>use Illuminate\Database\Connection; <add>use Illuminate\Database\Query\Builder; <add>use Illuminate\Foundation\Testing\Concerns\InteractsWithDatabase; <add> <add>class FoundationInteractsWithDatabaseTest ext...
1
Javascript
Javascript
fix test-net-connect-timeout.js test
56ec4e4f3cf8ebea1152ef8c295276168175e7c6
<ide><path>lib/net_uv.js <ide> exports.Stream = Socket; // Legacy naming. <ide> Socket.prototype.setTimeout = function(msecs, callback) { <ide> if (msecs > 0) { <ide> timers.enroll(this, msecs); <del> if (typeof this.fd === 'number') { timers.active(this); } <add> timers.active(this); <ide> if (callback...
2
Python
Python
run the test_compare_ragged_with_masks on v2 only
ab5b8a771cfff14413fb8d01a8e5c24f653fb4ff
<ide><path>keras/layers/recurrent_v2_test.py <ide> def test_ragged(self, layer): <ide> lstm(embedded_inputs) <ide> <ide> @parameterized.parameters([rnn_v2.LSTM, rnn_v2.GRU]) <add> @testing_utils.run_v2_only <ide> def test_compare_ragged_with_masks(self, layer): <ide> vocab_size = 100 <ide> timestep = ...
1
Python
Python
add sample code create node uncustomised
096b6065f8454ff70b07dc45b9fc24619397ab8b
<ide><path>docs/examples/compute/dimensiondata/Nodes_Create_mcp2_Uncustomised.py <add>from pprint import pprint <add>from libcloud.compute.types import Provider <add>from libcloud.compute.providers import get_driver <add>import libcloud.security <add> <add># Get dimension data driver <add>libcloud.security.VERIFY_SSL_C...
1
Ruby
Ruby
register the interlock hook only if reloading
e3f54144d8b4575f179e36edb6855c3e442cfe4a
<ide><path>railties/lib/rails/application/finisher.rb <ide> def self.complete(_state) <ide> else <ide> # Default concurrency setting: enabled, but safe <ide> <del> if config.reloading_enabled? || !config.eager_load <add> if config.reloading_enabled? <ide> app.executor.re...
1
Ruby
Ruby
fix occurrences fixnum|bignum
ce03e7d991a703c8d2e9c721902f312ccaeb5123
<ide><path>actionview/test/template/date_helper_test.rb <ide> def test_distance_in_words_with_mixed_argument_types <ide> end <ide> <ide> def test_distance_in_words_doesnt_use_the_quotient_operator <del> rubinius_skip "Date is written in Ruby and relies on Fixnum#/" <del> jruby_skip "Date is written in Ruby a...
5
PHP
PHP
fix pcntl extension error for queue
40438b3b88d7164f3c18f463ee1587bde9ad8ef4
<ide><path>src/Illuminate/Queue/Console/ListenCommand.php <ide> <ide> namespace Illuminate\Queue\Console; <ide> <add>use RuntimeException; <ide> use Illuminate\Queue\Listener; <ide> use Illuminate\Console\Command; <ide> use Symfony\Component\Console\Input\InputOption; <ide> public function __construct(Listener $liste...
1
Python
Python
add the glances history script
3f16f409aa51f8e0929b250108c8e9069f6f48d5
<ide><path>glances/outputs/glances_history.py <add># -*- coding: utf-8 -*- <add># <add># This file is part of Glances. <add># <add># Copyright (C) 2014 Nicolargo <nicolas@nicolargo.com> <add># <add># Glances is free software; you can redistribute it and/or modify <add># it under the terms of the GNU Lesser General Publ...
1
Javascript
Javascript
fix handling of malicious getters (scrypt)
499533f72a2dce111d6fde9c21b90b51fff35ab6
<ide><path>lib/internal/crypto/scrypt.js <ide> function check(password, salt, keylen, options) { <ide> if (options && options !== defaults) { <ide> let has_N, has_r, has_p; <ide> if (has_N = (options.N !== undefined)) { <del> validateUint32(options.N, 'N'); <ide> N = options.N; <add> validateU...
2
Javascript
Javascript
fix haste module reference
2c7e89d17c78aef2548aa3c096d2325ba7551ece
<ide><path>Libraries/Utilities/__tests__/useRefEffect-test.js <ide> import type { <ide> MeasureInWindowOnSuccessCallback, <ide> MeasureLayoutOnSuccessCallback, <ide> MeasureOnSuccessCallback, <del>} from 'ReactNativeTypes'; <add>} from '../../Renderer/shims/ReactNativeTypes.js'; <ide> <ide> import View from '../...
1
Ruby
Ruby
allow tilde expansion to '$home'
a0261c4b394d661737e780607248174fb81996e2
<ide><path>Library/Homebrew/cask/artifact/abstract_artifact.rb <ide> def self.dirmethod <ide> <ide> def staged_path_join_executable(path) <ide> path = Pathname(path) <add> path = path.expand_path if path.to_s.start_with?("~") <ide> <ide> absolute_path = if path.absolute? <ide> p...
3
Python
Python
fix issue with lstm dynamic masking
fbd12f7d4436e26aa9fb78a9acdfcb5862e3486e
<ide><path>keras/backend/tensorflow_backend.py <ide> def rnn(step_function, inputs, initial_states, <ide> time step. <ide> states: list of tensors. <ide> Returns: <del> output: tensor with shape (samples, output_dim) (no time dimension), <add> ...
1
Javascript
Javascript
remove grammar argument from populateinjections
1ba18314f94d691e55c34bfed68dcde1408d4912
<ide><path>src/tree-sitter-language-mode.js <ide> class LanguageLayer { <ide> if (!grammar.injectionRegExp) return <ide> if (!this.currentParsePromise) this.currentParsePromise = Promise.resolve() <ide> this.currentParsePromise = this.currentParsePromise.then(async () => { <del> await this._populateInj...
1
Python
Python
use _umath_linalg for svd()
bbdca51cac02a9f9352f671229037afa139ac7b5
<ide><path>numpy/linalg/linalg.py <ide> def svd(a, full_matrices=1, compute_uv=1): <ide> <ide> Parameters <ide> ---------- <del> a : array_like <add> a : (..., M, N) array_like <ide> A real or complex matrix of shape (`M`, `N`) . <ide> full_matrices : bool, optional <ide> If True (def...
1
Python
Python
add trademark notice to the docs footer
4825a2d16734c1f2f8d4e0251f4836432aba938f
<ide><path>docs/conf.py <ide> # General information about the project. <ide> now = datetime.datetime.utcnow() <ide> project = u'Apache Libcloud' <del>copyright = u'2013 - %s, The Apache Software Foundation' % (now.year) <add>copyright = u'2013 - %s, The Apache Software Foundation. Apache Libcloud, Libcloud, Apache, the...
1
Text
Text
add missing code block
9409f8690279342bed1aa7084b086e62280e67e2
<ide><path>curriculum/challenges/english/14-responsive-web-design-22/learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet/61fd67a656743144844941cb.md <ide> Give your existing `span` the `class` attribute set to `flex`, and add two `span <ide> <ide> # --hints-- <ide> <del>Your existing span element should...
1
PHP
PHP
use the model key if set
5b347060545faf3dfd89bcd2d6759d0cfa230293
<ide><path>src/ORM/Behavior/TranslateBehavior.php <ide> public function initialize(array $config) <ide> $this->setupFieldAssociations( <ide> $this->_config['fields'], <ide> $this->_config['translationTable'], <del> $this->_config['model'] ? $this->_config['model'] : $this->_ta...
1
Go
Go
extract treesize to daemon build
b64c9b521ab4e4082ed874a23a493f4a266304d5
<ide><path>daemon/graphdriver/fsdiff.go <add>// +build daemon <add> <ide> package graphdriver <ide> <ide> import ( <ide><path>utils/utils.go <ide> import ( <ide> "strconv" <ide> "strings" <ide> "sync" <del> "syscall" <ide> <ide> log "github.com/Sirupsen/logrus" <ide> "github.com/docker/docker/dockerversion" <ide...
3
Javascript
Javascript
add missing license to unimplementedview.js
49e6d3965f8089f422df04378cf68bf69cf7369c
<ide><path>Libraries/Components/UnimplementedViews/UnimplementedView.js <ide> /** <del> * Common implementation for a simple stubbed view. Simply applies the view's styles to the inner <del> * View component and renders its children. <add> * Copyright (c) 2015-present, Facebook, Inc. <add> * All rights reserved. <add> ...
1
Javascript
Javascript
improve coverage for `module` getters
9e7d1a1c24888ee9f1290579c7170b1eb094d609
<ide><path>test/parallel/test-vm-module-errors.js <ide> const common = require('../common'); <ide> <ide> const assert = require('assert'); <ide> <del>const { SourceTextModule, createContext } = require('vm'); <add>const { SourceTextModule, createContext, Module } = require('vm'); <ide> <ide> async function createEmp...
1
PHP
PHP
reduce the number of templates used
de15f6835b46957d9c980ca79514d3356e43c6e7
<ide><path>Cake/View/Input/SelectBox.php <ide> protected function _renderOptions($options, $disabled, $selected, $escape) { <ide> 'content' => implode('', $groupOptions) <ide> ]); <ide> } else { <del> $template = 'option'; <del> $isSelected = $this->_isSelected($key, $selected); <del> $isDisabled =...
2
Text
Text
update accuracies for new a1 models
b132cb3036a44dc6ccf8093befb53591dc978e3c
<ide><path>website/docs/usage/_benchmarks-models.md <ide> import { Help } from 'components/typography'; import Link from 'components/link' <ide> <ide> | Pipeline | Parser | Tagger | NER | <ide> | ---------------------------------------------------------- | -----: | --...
1
PHP
PHP
add test for empty middleware groups
ad18afca429e8e2c5ba9eb00eceb0de1572a0d96
<ide><path>tests/Integration/Routing/FluentRoutingTest.php <ide> public function testMiddlewareRunWhenRegisteredAsArrayOrParams() <ide> $this->assertSame('1_2', $this->get('before_after')->content()); <ide> $this->assertSame('1_2', $this->get('both_before')->content()); <ide> $this->assertSame('...
1
Javascript
Javascript
fix usage of console.error to prevent transform
fe6e0741286345edb2aa23784c21f8ea611ebdea
<ide><path>packages/react-dom/src/client/ReactDOMRoot.js <ide> const defaultOnRecoverableError = <ide> reportError <ide> : (error: mixed) => { <ide> // In older browsers and test environments, fallback to console.error. <del> // eslint-disable-next-line react-internal/no-production-logging, rea...
1
Javascript
Javascript
add tests for `hashkey()`
028fa1abb240d367b7e4f1f21fcd45417450b686
<ide><path>test/ApiSpecs.js <ide> 'use strict'; <ide> <ide> describe('api', function() { <add> describe('hashKey()', function() { <add> it('should use an existing `$$hashKey`', function() { <add> var obj = {$$hashKey: 'foo'}; <add> expect(hashKey(obj)).toBe('foo'); <add> }); <add> <add> it('should ...
1
Ruby
Ruby
fix boolean test
46106755b7c8a783a53791e4ed2f5e98a0c40170
<ide><path>activerecord/test/base_test.rb <ide> def test_boolean <ide> end <ide> <ide> def test_boolean_cast_from_string <del> b_false = Booleantest.create({ "value" => "false" }) <add> b_false = Booleantest.create({ "value" => "0" }) <ide> false_id = b_false.id <del> b_true = Booleantest.create({ "va...
1
Text
Text
fix typo in heading
458f4b112be39f551d5106d6f867b673c2f240b5
<ide><path>guide/english/react/installation/index.md <ide> After you finish your project and are ready to deploy your App to production, yo <ide> `npm run build` <ide> to create an optimized build of your app in the `build`folder. <ide> <del>#### Usefull links <add>#### Useful links <ide> [Create React App repository]...
1
Python
Python
prepare new pypi release
c627fa5bbdb37d9f196486b27b5cec7445ab7704
<ide><path>keras/__init__.py <ide> # Importable from root because it's technically not a layer <ide> from .layers import Input <ide> <del>__version__ = '2.0.3' <add>__version__ = '2.0.4' <ide><path>setup.py <ide> <ide> <ide> setup(name='Keras', <del> version='2.0.3', <add> version='2.0.4', <ide> desc...
2