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 link to latest cdn versions | e69a66fdcd02fe33a95ab0cb65ee7e8dd4b860d6 | <ide><path>guide/english/css/css-frameworks/css-framework-foundation/index.md
<ide> Here is a simple HTML template which includes the latest compiled and minified C
<ide> </html>
<ide> ```
<ide>
<del>This example makes use of a CDN that loads the default settings. If you'd like to customize the grid layout, change... | 1 |
Javascript | Javascript | fix the spellings | 08892fc0c488a4205f2880acda250af4a922aa51 | <ide><path>lib/_stream_duplex.js
<ide> // USE OR OTHER DEALINGS IN THE SOFTWARE.
<ide>
<ide> // a duplex stream is just a stream that is both readable and writable.
<del>// Since JS doesn't have multiple prototypal inheritance, this class
<del>// prototypally inherits from Readable, and then parasitically from
<add>//... | 1 |
Ruby | Ruby | remove deprecated method "table#primary_key" | ec083687a96af1f35f9fb9e75611cc4bf4f5bf81 | <ide><path>lib/arel/table.rb
<ide> def initialize name, engine = Table.engine
<ide> @columns = nil
<ide> @aliases = []
<ide> @table_alias = nil
<del> @primary_key = nil
<ide>
<ide> if Hash === engine
<ide> @engine = engine[:engine] || Table.engine
<ide> def initialize name, engine... | 3 |
Text | Text | remove legacy `-j` test.py option from building.md | 85a77b0cbf7913697bbfae56d17aa9b25894f10e | <ide><path>BUILDING.md
<ide> You can execute the entire suite of tests for a given subsystem
<ide> by providing the name of a subsystem:
<ide>
<ide> ```text
<del>$ tools/test.py -J child-process
<add>$ tools/test.py child-process
<ide> ```
<ide>
<ide> You can also execute the tests in a tests directory (such as `test... | 1 |
Ruby | Ruby | fix streaming downloads from s3/azure storage | 86938c495e282e6a61c16a9e1d77582e22c0a4fc | <ide><path>activestorage/lib/active_storage/service/azure_storage_service.rb
<ide> def upload(key, io, checksum: nil)
<ide> end
<ide> end
<ide>
<del> def download(key)
<add> def download(key, &block)
<ide> if block_given?
<ide> instrument :streaming_download, key do
<ide> stream... | 3 |
Ruby | Ruby | add api docs for run_load_hooks | 6a71188f9ce8f6a353fb3ce40dfadc5c1acb5260 | <ide><path>activesupport/lib/active_support/lazy_load_hooks.rb
<ide> # frozen_string_literal: true
<ide>
<ide> module ActiveSupport
<del> # lazy_load_hooks allows Rails to lazily load a lot of components and thus
<add> # LazyLoadHooks allows Rails to lazily load a lot of components and thus
<ide> # making the app ... | 1 |
Ruby | Ruby | remove any resource logic from respond_to | 7a4a679dbada2e1fcfc28db8c47dd32e03afc1af | <ide><path>actionpack/lib/action_controller/base/mime_responds.rb
<ide> def clear_respond_to
<ide> # Be sure to check respond_with and respond_to documentation for more examples.
<ide> #
<ide> def respond_to(*mimes, &block)
<del> options = mimes.extract_options!
<ide> raise ArgumentError, "respon... | 1 |
Text | Text | add playsimple games to "who uses apache airflow?" | 8986e7582c746f4f4f0f38308f196f292e5f3c22 | <ide><path>README.md
<ide> Currently **officially** using Airflow:
<ide> 1. [Pernod-Ricard](https://www.pernod-ricard.com/) [[@romain-nio](https://github.com/romain-nio)]
<ide> 1. [Plaid](https://www.plaid.com/) [[@plaid](https://github.com/plaid), [@AustinBGibbons](https://github.com/AustinBGibbons) & [@jeeyoungk](htt... | 1 |
PHP | PHP | add coverage for comma in email alias | d97cf79545b6fedf84de84a3f9f26f9e31a073d1 | <ide><path>lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
<ide> public function testAddresses() {
<ide> $this->CakeEmail->replyTo('replyto@cakephp.org', 'ReplyTo CakePHP');
<ide> $this->CakeEmail->readReceipt('readreceipt@cakephp.org', 'ReadReceipt CakePHP');
<ide> $this->CakeEmail->returnPath('returnpath@cak... | 1 |
Text | Text | add an example | 14a20147c66d5535fcbc28e7ca0e3033600796e9 | <ide><path>docs/upgrading/upgrading-your-package.md
<ide> class CommandPaletteView extends SelectListView
<ide> @panel?.hide()
<ide> ```
<ide>
<del>See the [SelectListView docs][SelectListView] for all the options.
<add>See the [SelectListView docs][SelectListView] for all the options. And check out the [conversio... | 1 |
Javascript | Javascript | follow gltfloader api for parse() | 87245cb81f80266dd66df4c4e41df1501f8d4d0a | <ide><path>examples/js/loaders/LDrawLoader.js
<ide> THREE.LDrawLoader = ( function () {
<ide>
<ide> },
<ide>
<del> parse: function ( text, onParsed ) {
<add> parse: function ( text, path, onLoad ) {
<ide>
<ide> // Async parse. This function calls onParse with the parsed THREE.Object3D as parameter
<ide>
<de... | 1 |
Python | Python | fix bug in platform detection | c81c7fa511502337f97b5190ab96910b31b68c54 | <ide><path>numpy/random/setup.py
<ide> def generate_libraries(ext, build_dir):
<ide> elif not is_msvc:
<ide> # Some bit generators require c99
<ide> EXTRA_COMPILE_ARGS += ['-std=c99']
<del> INTEL_LIKE = any([val in k.lower() for k in platform.uname()
<del> for val in ... | 1 |
Python | Python | raise error if passed a serializer instance | 7a0416c50bfd663b5690c563d7448f2a10d414d3 | <ide><path>rest_framework/response.py
<ide> from django.utils import six
<ide> from django.utils.six.moves.http_client import responses
<ide>
<add>from rest_framework.serializers import Serializer
<add>
<ide>
<ide> class Response(SimpleTemplateResponse):
<ide> """
<ide> def __init__(self, data=None, status=None,
... | 1 |
Ruby | Ruby | generalize file recognition | ea593cf61cf376ffb44f7c825c8734c79cff6850 | <ide><path>Library/Homebrew/patches.rb
<add>require 'stringio'
<add>
<ide> class Patches
<ide> include Enumerable
<ide>
<ide> def initialize patch_p, filename, url
<ide> @compression = nil
<ide> @url = nil
<ide>
<del> if url.kind_of? File # true when DATA is passed
<add> if url.kind_of? IO or url.kind... | 1 |
Python | Python | make dev data optional | 53cf2f1c0ed1adb5b14c23ebc05142e4b50dac70 | <ide><path>spacy/cli/train.py
<ide> def train(language, output_dir, train_data, dev_data, n_iter, tagger, parser, ner):
<ide> output_path = Path(output_dir)
<ide> train_path = Path(train_data)
<del> dev_path = Path(dev_data)
<add> dev_path = Path(dev_data) if dev_data else None
<ide> check_dirs(output... | 1 |
Go | Go | use request factory for registry ping | 55f0ca94e57fc8ec26a79061d04ddd3aeaecb94b | <ide><path>registry/endpoint.go
<ide> import (
<ide>
<ide> log "github.com/Sirupsen/logrus"
<ide> "github.com/docker/docker/registry/v2"
<add> "github.com/docker/docker/utils"
<ide> )
<ide>
<ide> // for mocking in unit tests
<ide> func (e *Endpoint) Path(path string) string {
<ide>
<ide> func (e *Endpoint) Ping() ... | 1 |
Go | Go | ignore sigurg on all platforms | 05f520dd3cf6730ca53910ada5fc24791ab2ead0 | <ide><path>pkg/signal/signal.go
<ide> import (
<ide> )
<ide>
<ide> // CatchAll catches all signals and relays them to the specified channel.
<del>// On Linux, SIGURG is not handled, as it's used by the Go runtime to support
<add>// SIGURG is not handled, as it's used by the Go runtime to support
<ide> // preemptable s... | 6 |
PHP | PHP | pass the table instance into createtablesql | 7aea6200ac05b0bf949ec094a4947086ffbfa3a1 | <ide><path>lib/Cake/Database/Schema/MysqlSchema.php
<ide> public function extraSchemaColumns() {
<ide> /**
<ide> * Generate the SQL to create a table.
<ide> *
<del> * @param string $table The name of the table.
<add> * @param Table $table Table instance
<ide> * @param array $columns The columns to go inside the tabl... | 5 |
Python | Python | add norwegian lemmatizer and tag_map | b9b3a40c78b28c5222e3d6b25da915d8dcddd438 | <ide><path>spacy/lang/nb/__init__.py
<ide>
<ide> from ..tokenizer_exceptions import BASE_EXCEPTIONS
<ide> from ..norm_exceptions import BASE_NORMS
<add>from .lemmatizer import LOOKUP
<add>from .tag_map import TAG_MAP
<ide> from ...language import Language
<ide> from ...attrs import LANG, NORM
<ide> from ...util import... | 4 |
Python | Python | fix the default master flag | c865727c09d7a1098c1949f6c640e75ba6b4d0ff | <ide><path>research/ptn/eval_rotator.py
<ide> flags.DEFINE_integer('save_summaries_secs', 15, '')
<ide> flags.DEFINE_integer('eval_interval_secs', 60 * 5, '')
<ide> # Scheduling
<del>flags.DEFINE_string('master', 'local', '')
<add>flags.DEFINE_string('master', '', '')
<ide>
<ide> FLAGS = flags.FLAGS
<ide> | 1 |
Python | Python | give useful repr to _lazyxcomaccess class | 1911c9211009499e8351b44feb58ca5efb56b090 | <ide><path>airflow/models/taskinstance.py
<ide> )
<ide> from urllib.parse import quote
<ide>
<add>import attr
<ide> import dill
<ide> import jinja2
<ide> import pendulum
<ide> def __next__(self):
<ide> return XCom.deserialize_value(next(self._it))
<ide>
<ide>
<add>@attr.define
<ide> class _LazyXComAccess(col... | 2 |
Text | Text | add v3.4.7 to changelog.md | 60a538c01e141569531c63673a6f9bbdad780a49 | <ide><path>CHANGELOG.md
<ide> - [#16978](https://github.com/emberjs/ember.js/pull/16978) [BUGFIX] Properly teardown alias
<ide> - [#16877](https://github.com/emberjs/ember.js/pull/16877) [CLEANUP] Allow routes to be named "array" and "object"
<ide>
<add>### v3.4.7 (December 7, 2018)
<add>
<add>- #17271 [BUGFIX] Update... | 1 |
Python | Python | fix lint issues in the official models | 5ddd7e55c9ab6ae10a1459afc6309a2a417398d9 | <ide><path>official/mnist/convert_to_records.py
<ide> def main(unused_argv):
<ide>
<ide> if __name__ == '__main__':
<ide> tf.logging.set_verbosity(tf.logging.INFO)
<del> FLAGS = parser.parse_args()
<del> tf.app.run()
<add> FLAGS, unparsed = parser.parse_known_args()
<add> tf.app.run(main=main, argv=[sys.argv[0]]... | 9 |
Javascript | Javascript | add fsstarttime for single runs | fbcc470bcf6a2fcf7494f6f720638d06a5166ea2 | <ide><path>lib/node/NodeEnvironmentPlugin.js
<ide> class NodeEnvironmentPlugin {
<ide> );
<ide> compiler.hooks.beforeRun.tap("NodeEnvironmentPlugin", compiler => {
<ide> if (compiler.inputFileSystem === inputFileSystem) {
<add> compiler.fsStartTime = Date.now();
<ide> inputFileSystem.purge();
<ide> }
<... | 2 |
Text | Text | fix ulimit command form | 98e5a8efcc390d2b5de18049e3227db7a257c232 | <ide><path>docs/reference/commandline/run.md
<ide> available in the default container, you can set these using the `--ulimit` flag.
<ide> `--ulimit` is specified with a soft and hard limit as such:
<ide> `<type>=<soft limit>[:<hard limit>]`, for example:
<ide>
<del> $ docker run --ulimit nofile=1024:1024 --rm debia... | 1 |
Ruby | Ruby | improve autosave documentation [ci skip] | ad050486ee237db3f3bed6af0ae7e3640bb41e92 | <ide><path>activerecord/lib/active_record/autosave_association.rb
<ide> module ActiveRecord
<ide> # post.save # => saves both post and comment
<ide> #
<ide> # post = Post.create(title: 'ruby rocks')
<del> # post.comments.create(body: 'hello world')
<del> # post.save # => saves both post and comment
<add... | 1 |
Java | Java | initialize rootview size to the display size | 588320831f1ecc6e26f344cc08f137b364da7ffc | <ide><path>ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java
<ide> import android.os.Build;
<ide> import android.os.Bundle;
<ide> import android.util.AttributeSet;
<add>import android.util.DisplayMetrics;
<ide> import android.view.DisplayCutout;
<ide> import android.view.KeyEvent;
<ide> import android.vi... | 1 |
PHP | PHP | add route callable test | 6641ac81c635afc34111dc74e20319e62198f542 | <ide><path>tests/Routing/RoutingRouteTest.php
<ide> public function testBasicDispatchingOfRoutes()
<ide> $router = $this->getRouter();
<ide> $router->get('foo/bar/åαф', function() { return 'hello'; });
<ide> $this->assertEquals('hello', $router->dispatch(Request::create('foo/bar/%C3%A5%CE%B1%D1%84', 'GET'))->getC... | 1 |
Javascript | Javascript | add back chart.ticks.formatters | 33c7d941f7caa5363f68ac2135a66d7c2328e196 | <ide><path>src/chart.js
<ide> Chart.Element = require('./core/core.element');
<ide> Chart.elements = require('./elements/index');
<ide> Chart.Interaction = require('./core/core.interaction');
<ide> Chart.platform = require('./platforms/platform');
<add>Chart.Ticks = require('./core/core.ticks');
<ide>
<ide> require('.... | 5 |
Javascript | Javascript | add try-catch for gltfbinaryextension | 2138f8154660b5dc760d598cd01bdf37786f88e5 | <ide><path>examples/js/loaders/GLTFLoader.js
<ide> THREE.GLTFLoader = ( function () {
<ide>
<ide> if ( magic === BINARY_EXTENSION_HEADER_MAGIC ) {
<ide>
<del> extensions[ EXTENSIONS.KHR_BINARY_GLTF ] = new GLTFBinaryExtension( data );
<add> try {
<add>
<add> extensions[ EXTENSIONS.KHR_BINARY_GLTF ] =... | 1 |
Python | Python | add stone unit of measuring weight | dc6e77338c9cac607e58c06b178a232643f3e87d | <ide><path>conversions/weight_conversion.py
<ide>
<ide> __author__ = "Anubhav Solanki"
<ide> __license__ = "MIT"
<del>__version__ = "1.0.0"
<add>__version__ = "1.1.0"
<ide> __maintainer__ = "Anubhav Solanki"
<ide> __email__ = "anubhavsolanki0@gmail.com"
<ide>
<ide> -> Wikipedia reference: https://en.wikipedia.org/wik... | 1 |
PHP | PHP | correct the option key | 0536e058f9aa6e52509f0085fbc30b6697b10a9b | <ide><path>lib/Cake/Network/CakeResponse.php
<ide> class CakeResponse {
<ide> *
<ide> * @param array $options list of parameters to setup the response. Possible values are:
<ide> * - body: the response text that should be sent to the client
<del> * - codes: additional allowable response codes
<add> * - statusCodes: ... | 1 |
PHP | PHP | fix container docblock | d4de66f78e30519cf5f03e177efc8fb25c2e26bd | <ide><path>src/Illuminate/Container/Container.php
<ide> public function makeWith($abstract, array $parameters = [])
<ide> * @param string $abstract
<ide> * @param array $parameters
<ide> * @return mixed
<add> *
<add> * @throws \Illuminate\Contracts\Container\BindingResolutionException
<ide> ... | 1 |
Text | Text | update the result of generate command [skip ci] | 923a0027902ba3829d08bb5350050ef71f7c0420 | <ide><path>guides/source/engines.md
<ide> create app/views/blorgh/articles/new.html.erb
<ide> create app/views/blorgh/articles/_form.html.erb
<ide> invoke test_unit
<ide> create test/controllers/blorgh/articles_controller_test.rb
<add>create test/system/blorgh/articles_test.rb
<ide> invoke hel... | 1 |
Text | Text | fix odd indentation [ci skip] | c02d9e5a3db4c7dc91c742536ec3cf665acb62fc | <ide><path>guides/source/getting_started.md
<ide> active_record_migrations.html).
<ide> We also have to permit the `:status` key as part of the strong parameter, in `app/controllers/articles_controller.rb`:
<ide>
<ide> ```ruby
<del>private
<add> private
<ide> def article_params
<ide> params.require(:comment... | 1 |
Javascript | Javascript | use common.mustcall in test-http-malformed-request | f6b2839bc396df2591952bc16cfe8c543c077f25 | <ide><path>test/parallel/test-http-malformed-request.js
<ide> // USE OR OTHER DEALINGS IN THE SOFTWARE.
<ide>
<ide> 'use strict';
<del>require('../common');
<del>const assert = require('assert');
<add>const common = require('../common');
<ide> const net = require('net');
<ide> const http = require('http');
<ide> const... | 1 |
Java | Java | fix regression in determinetransactionmanager | 961574bd17b2fe30f171646f54667b5895f0dcbf | <ide><path>spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAspectSupport.java
<ide> protected void clearTransactionManagerCache() {
<ide> * Determine the specific transaction manager to use for the given transaction.
<ide> */
<ide> protected PlatformTransactionManager determineTransa... | 1 |
Text | Text | remove outdated readme | 1044b124a56e023e69b0ad82931019aacb0aff93 | <ide><path>README-zh-CN.md
<del>[](https://nextjs.org)
<del>
<del><p align="center">
<del> <a aria-label="ZEIT logo" href="https://github.com/zeit">
<del> <img src="https://img.shields.io/badge/MADE%20BY%20ZEIT-000000.svg?st... | 1 |
PHP | PHP | refactor the creation of eloquent models | 104396130b1795f1b7257a63740ef1db42c0d073 | <ide><path>src/Illuminate/Database/Eloquent/Builder.php
<ide> public function getModels($columns = array('*'))
<ide> // also set the proper connection name for the model after we create it.
<ide> foreach ($results as $result)
<ide> {
<del> $models[] = $model = $this->model->newExisting();
<del>
<del> $model->... | 3 |
Javascript | Javascript | use gatsby link where applicable | 8134a480a5b1ab56f23968e522e7ff794a6a0cbb | <ide><path>client/src/client-only-routes/ShowSettings.js
<ide> import {
<ide> import { submitNewAbout, updateUserFlag, verifyCert } from '../redux/settings';
<ide> import { createFlashMessage } from '../components/Flash/redux';
<ide>
<del>import Spacer from '../components/helpers/Spacer';
<del>import Loader from '../c... | 1 |
Ruby | Ruby | fix a typo [ci skip] | 5850ea056054c0610ddc1461dcf71d26ff60fa70 | <ide><path>activerecord/test/cases/helper.rb
<ide> # Enable Identity Map only when ENV['IM'] is set to "true"
<ide> ActiveRecord::IdentityMap.enabled = (ENV['IM'] == "true")
<ide>
<del># Avoid deprecation warning setting dependent_restric_raises to false. The default is true
<add># Avoid deprecation warning setting de... | 1 |
Java | Java | add test with @schedules container annotation | c3dd9ff342b461c1194d50f8575e9582994fb07b | <ide><path>spring-context/src/test/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessorTests.java
<ide> * @author Mark Fisher
<ide> * @author Juergen Hoeller
<ide> * @author Chris Beams
<add> * @author Sam Brannen
<ide> */
<ide> public class ScheduledAnnotationBeanPostProcessorTests {... | 1 |
Javascript | Javascript | simplify validatermoptions() error handling | 94b090850389621172292e9c946388ca080e1ccb | <ide><path>lib/internal/fs/utils.js
<ide> const validateRmOptions = hideStackFrames((path, options, callback) => {
<ide> );
<ide>
<ide> lazyLoadFs().stat(path, (err, stats) => {
<del> if (err && err.code === 'ENOENT') {
<del> if (options.force) {
<add> if (err) {
<add> if (options.force && err.co... | 1 |
Python | Python | update error message | f39ec04cf53e8582609b771e17d2056e732d0c12 | <ide><path>libcloud/common/aws.py
<ide>
<ide> params['TagSpecification.1.Tag.Value'] = 'foo'
<ide> params['TagSpecification.2.Tag.Value'] = 'bar'
<add>
<add>See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html
<add>for details.
<ide> """.strip()
<ide>
<ide> | 1 |
Ruby | Ruby | add documentation for local_assigns [ci skip] | 3e66017b55fe2a94d3dbd50d5de8422f5724be4a | <ide><path>actionview/lib/action_view/base.rb
<ide> module ActionView #:nodoc:
<ide> # Headline: <%= headline %>
<ide> # First name: <%= person.first_name %>
<ide> #
<add> # The local variables passed to sub templates can be accessed as a hash using the <tt>local_assigns</tt> hash. This lets you access the
<... | 1 |
Python | Python | fix loading when no package found | adb0b7e43bcb40ead52834b0c03c3776a91cd1d7 | <ide><path>spacy/__init__.py
<ide>
<ide> def load(name, **overrides):
<ide> data_path = overrides.get('path', util.get_data_path())
<del> meta = parse_package_meta(data_path, name)
<del> lang = meta['lang'] if meta and 'lang' in meta else 'en'
<add> meta = parse_package_meta(data_path, name, require=False... | 2 |
Ruby | Ruby | remove dead code | 0e6410737539ae8d2417ce7dc0eb794eb87af064 | <ide><path>railties/test/application/assets_test.rb
<ide> def teardown
<ide> teardown_app
<ide> end
<ide>
<del> def app
<del> @app ||= Rails.application
<del> end
<del>
<ide> def precompile!
<ide> quietly do
<ide> Dir.chdir(app_path){ `bundle exec rake assets:precompile` } | 1 |
Ruby | Ruby | update clang version | a4cf3c273b1a78994c823b2c10eeb13a94ffd7a5 | <ide><path>Library/Homebrew/os/mac/xcode.rb
<ide> def uncached_version
<ide> when 51 then "5.1"
<ide> when 60 then "6.0"
<ide> when 61 then "6.1"
<del> else "6.1"
<add> when 70 then "7.0"
<add> else "7.0"
<ide> end
<ide> end
... | 1 |
Javascript | Javascript | fix flowfixme in swipeablequickactionbutton | fc6eb51996b35548d4b153f54b7ce5938b8416ed | <ide><path>Libraries/Experimental/SwipeableRow/SwipeableQuickActionButton.js
<ide> const View = require('View');
<ide>
<ide> const {PropTypes} = React;
<ide>
<add>import type {ImageSource} from 'ImageSource';
<add>
<ide> /**
<ide> * Standard set of quick action buttons that can, if the user chooses, be used
<ide> *... | 1 |
Go | Go | remove dead code for "inspect --pretty" | 4d87f9083bfb3147566997b3f48c4805229f7c94 | <ide><path>api/client/swarm/inspect.go
<ide> import (
<ide>
<ide> type inspectOptions struct {
<ide> format string
<del> // pretty bool
<ide> }
<ide>
<ide> func newInspectCommand(dockerCli *client.DockerCli) *cobra.Command {
<ide> func newInspectCommand(dockerCli *client.DockerCli) *cobra.Command {
<ide> Short: "... | 1 |
Ruby | Ruby | support non-master init.defaultbranch | af234779af9a8d83b6a7e68292cee369d5527ca9 | <ide><path>Library/Homebrew/test/cmd/install_spec.rb
<ide> repo_path.join("bin").mkpath
<ide>
<ide> repo_path.cd do
<del> system "git", "init"
<add> system "git", "-c", "init.defaultBranch=master", "init"
<ide> system "git", "remote", "add", "origin", "https://github.com/Homebrew/homebrew-foo"
... | 5 |
Python | Python | fix generation of v8 constants on freebsd | 3d67f895521cf905922d20af9b03e5c73c363868 | <ide><path>tools/genv8constants.py
<ide>
<ide> sys.exit()
<ide>
<del>pattern = re.compile('(00000000|0000000000000000) <(.*)>:');
<add>pattern = re.compile('([0-9a-fA-F]{8}|[0-9a-fA-F]{16}) <(.*)>:');
<ide> v8dbg = re.compile('^v8dbg.*$')
<ide> numpattern = re.compile('^[0-9a-fA-F]{2} $');
<ide> octets = 4
<ide> de... | 1 |
Text | Text | fix typos in italian translation | 1cdd931f59e1c0fabb77b88651c82d434c7e6396 | <ide><path>docs/italian/CONTRIBUTING.md
<ide> <td><a href="/docs/portuguese/CONTRIBUTING.md"> Português </a></td>
<ide> <td><a href="/docs/russian/CONTRIBUTING.md"> русский </a></td>
<ide> <td><a href="/docs/spanish/CONTRIBUTING.md"> Español </a></td>
<del> <td><a href="/docs/romanian/CON... | 1 |
PHP | PHP | fix bug in paginator | 5e59a72b5b8629ea78b961e96bc57e42290007e2 | <ide><path>laravel/database/query.php
<ide> public function paginate($per_page = 20, $columns = array('*'))
<ide> // retrieved the count from the table.
<ide> list($orderings, $this->orderings) = array($this->orderings, null);
<ide>
<del> $page = Paginator::page($total = $this->count($columns), $per_page);
<add> ... | 1 |
Javascript | Javascript | fix autocomplete when useglobal is false | 8e58c7557bd4ebec5240810c18f41d057534f3b2 | <ide><path>lib/repl.js
<ide> const { setImmediate } = require('timers');
<ide> // Lazy-loaded.
<ide> let processTopLevelAwait;
<ide>
<add>const globalBuiltins =
<add> new Set(vm.runInNewContext('Object.getOwnPropertyNames(globalThis)'));
<add>
<ide> const parentModule = module;
<ide> const replMap = new WeakMap();
<i... | 1 |
Javascript | Javascript | add sort test | 14cce3958d38bb990d4e208d0f40659a77123025 | <ide><path>test/unit/src/renderers/webgl/WebGLRenderLists.tests.js
<ide> export default QUnit.module( 'Renderers', () => {
<ide>
<ide> } );
<ide>
<del> QUnit.todo( 'push', ( assert ) => {
<add> QUnit.test( 'push', ( assert ) => {
<ide>
<ide> var list = new WebGLRenderList();
<del> var objA = { id: 'A' ... | 1 |
Text | Text | fix typo in webcrypto.md | f683cf901c8bc7d8183072f8554cf870f4a6ddbe | <ide><path>doc/api/webcrypto.md
<ide> The algorithms currently supported include:
<ide> * `'NODE-ED25519'`<sup>1</sup>
<ide> * `'NODE-ED448'`<sup>1</sup>
<ide>
<del><sup>1</sup> Non-standadrd Node.js extension
<add><sup>1</sup> Non-standard Node.js extension
<ide>
<ide> ### `subtle.unwrapKey(format, wrappedKey, unwra... | 1 |
Text | Text | suggest the wiki | 83f8afe273ceb26aed837a88bd8c3f3d4c8392e0 | <ide><path>ISSUE_TEMPLATE.md
<ide> --- Have a general question? ---
<ide>
<ide> First check out the Docs: https://facebook.github.io/immutable-js/docs/
<add>And check out the Wiki: https://github.com/facebook/immutable-js/wiki/
<ide> Search existing issues: https://g... | 1 |
Text | Text | update idea guidelines | 5a1b7c6ce7f9ad22197d9dba16f71e29e04a001c | <ide><path>import-into-idea.md
<del>The following has been tested against Intellij IDEA 12.0
<add>The following has been tested against Intellij IDEA 13.1
<ide>
<ide> ## Steps
<ide>
<ide> _Within your locally cloned spring-framework working directory:_
<ide>
<del>1. Generate IDEA metadata with `./gradlew :spring-oxm... | 1 |
Ruby | Ruby | make the each visitor top-down left-right | e08696421f37d7c0cf488c40bf1c21520f1a0db5 | <ide><path>actionpack/lib/action_dispatch/journey/visitors.rb
<ide> def initialize(block)
<ide> end
<ide>
<ide> def visit(node)
<del> super
<ide> block.call(node)
<add> super
<ide> end
<ide> end
<ide> | 1 |
Python | Python | fix timeseriesgenerator glitch | 5422fdd38baad36730cb6aeb946e17eeae6a551c | <ide><path>keras/preprocessing/sequence.py
<ide> def __init__(self, data, targets, length,
<ide> self.reverse = reverse
<ide> self.batch_size = batch_size
<ide>
<add> if self.start_index > self.end_index:
<add> raise ValueError('`start_index+length=%i > end_index=%i` '
<add> ... | 2 |
Python | Python | add test for limited imp loaders, #380 | b786eac5574e478d51314333fb6309456bff7b76 | <ide><path>flask/testsuite/config.py
<ide> :copyright: (c) 2011 by Armin Ronacher.
<ide> :license: BSD, see LICENSE for more details.
<ide> """
<add>from __future__ import with_statement
<add>
<ide> import os
<ide> import sys
<ide> import flask
<add>import pkgutil
<ide> import unittest
<add>from contextlib impo... | 1 |
Text | Text | read both types of bash completions | f8c574bbc08d4361bbb85a66194941f7f96a17cc | <ide><path>docs/Shell-Completion.md
<ide> To make Homebrew's completions available in `bash`, you must source the definiti
<ide>
<ide> ```sh
<ide> if type brew 2&>/dev/null; then
<del> source "$(brew --prefix)/etc/bash_completion.d/*"
<del>else
<del> echo "run: brew install git bash-completion"
<add> for COMPLETION... | 1 |
Mixed | Python | add cross-field validate method | ac2d39892d6b3fbbe5cd53b9ef83367249ba4880 | <ide><path>docs/api-guide/serializers.md
<ide> Deserialization is similar. First we parse a stream into python native datatype
<ide>
<ide> When deserializing data, you always need to call `is_valid()` before attempting to access the deserialized object. If any validation errors occur, the `.errors` and `.non_field_e... | 3 |
Ruby | Ruby | drop support for passing incomplete paths | e891bb42726679b7fb7e347b8bf4cabcff1bec22 | <ide><path>Library/Homebrew/formulary.rb
<ide> def initialize alias_path
<ide> # Loads formulae from disk using a path
<ide> class FromPathLoader < FormulaLoader
<ide> def initialize path
<del> # require allows filenames to drop the .rb extension, but everything else
<del> # in our codebase will requi... | 1 |
Java | Java | append suffx to user dest in simpmessagingtemplate | 7a5b3c1eed58b3d4b3051a8f19509e02a74e2ba9 | <ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessagingTemplate.java
<ide> public MessageChannel getMessageChannel() {
<ide> * @see org.springframework.messaging.simp.user.UserDestinationMessageHandler
<ide> */
<ide> public void setUserDestinationPrefix(String prefix) {
<del> As... | 3 |
Ruby | Ruby | simplify logical statement | 422b3d70d5aba24e6a8f94722db449d5647f22d3 | <ide><path>actionpack/lib/action_dispatch/routing/route_set.rb
<ide> def current_controller
<ide>
<ide> def use_recall_for(key)
<ide> if @recall[key] && (!@options.key?(key) || @options[key] == @recall[key])
<del> if named_route_exists?
<del> @options[key] = @recall.delete(key... | 1 |
Java | Java | fix concurrent reads issue in mimetypeutils cache | 1b93ea97ac4fb7011e4afb026bb32d0c589aa198 | <ide><path>spring-core/src/main/java/org/springframework/util/MimeTypeUtils.java
<ide> public V get(K key) {
<ide> }
<ide> this.lock.writeLock().lock();
<ide> try {
<add> // retrying in case of concurrent reads on the same key
<add> if (this.queue.remove(key)) {
<add> this.queue.add(key);
<add> r... | 1 |
Ruby | Ruby | remove unnecessary early return | f0fc15ade8cdff5ad50da4a6d5b900ab3cd1dd90 | <ide><path>Library/Homebrew/formula.rb
<ide> def stage
<ide>
<ide> def prepare_patches
<ide> active_spec.add_legacy_patches(patches)
<del> return if patchlist.empty?
<ide>
<ide> patchlist.grep(DATAPatch) { |p| p.path = path }
<ide> | 1 |
Text | Text | move sysctls docs to current api version | de22669377d074a2594de33be01ae4d9723283a8 | <ide><path>docs/reference/api/docker_remote_api.md
<ide> This section lists each version from latest to oldest. Each listing includes a
<ide> * `GET /images/search` now supports maximum returned search results `limit`.
<ide> * `POST /containers/{name:.*}/copy` is now removed and errors out starting from this API versi... | 3 |
Text | Text | expand anchor text [ci-skip] | 56d8d103d43d1600beb84f34d4da2982193ae5f4 | <ide><path>guides/source/routing.md
<ide> Deeply-nested resources quickly become cumbersome. In this case, for example, th
<ide> /publishers/1/magazines/2/photos/3
<ide> ```
<ide>
<del>The corresponding route helper would be `publisher_magazine_photo_url`, requiring you to specify objects at all three levels. Indeed, ... | 1 |
Python | Python | handle errors during create_url_adapter | ed9775fb77bc2291473c176937326aadd435f73c | <ide><path>flask/ctx.py
<ide> def __init__(self, app, environ, request=None, session=None):
<ide> if request is None:
<ide> request = app.request_class(environ)
<ide> self.request = request
<del> self.url_adapter = app.create_url_adapter(self.request)
<add> self.url_adapter = N... | 2 |
Python | Python | get buildbot running | eb1b0edf8256ded7c8aec9ae186a0f6af893d29d | <ide><path>build.py
<ide> def x(cmd):
<ide>
<ide> if install_mode == 'pip':
<ide> x('python setup.py sdist')
<del> x('pip install dist/*')
<add> dists = os.listdir('dist')
<add> assert len(dists) == 1
<add> x('pip install dist/%s' % dists[0])
<ide>
<ide> elif install_mode == 'setup-install':
<ide> ... | 1 |
Python | Python | remove workarounds for gh-9527 | 8948d651d2fd97ed6d1fad120c8619ed915df72c | <ide><path>numpy/linalg/linalg.py
<ide> def slogdet(a):
<ide> real_t = _realType(result_t)
<ide> signature = 'D->Dd' if isComplexType(t) else 'd->dd'
<ide> sign, logdet = _umath_linalg.slogdet(a, signature=signature)
<del> if isscalar(sign):
<del> sign = sign.astype(result_t)
<del> else:
<del> ... | 1 |
Python | Python | add a model.check_trainable_weights_consistency | cab77c8f23bf81eaa06aeeeb28a4da3b716f7bd7 | <ide><path>keras/engine/topology.py
<ide> from .. import initializers
<ide> from ..utils.io_utils import ask_to_proceed_with_overwrite
<ide> from ..utils.layer_utils import print_summary as print_layer_summary
<add>from ..utils.layer_utils import count_params
<ide> from ..utils.generic_utils import has_arg
<ide> from .... | 4 |
Ruby | Ruby | remove useless conditional | 67b1a7942e8b0bc2f30af78bbcb81c535a87e5dc | <ide><path>actionview/lib/action_view/renderer/partial_renderer.rb
<ide> def render_partial(view, template, block)
<ide> layout = find_template(layout.to_s, template_keys)
<ide> end
<ide>
<del> object = locals[as] if object.nil? # Respect object when object is false
<ide> local... | 1 |
Ruby | Ruby | use short hash for git last_commit | 45b3bfd11ac1d9d12d0e885576702eab2acc60cb | <ide><path>Library/Homebrew/download_strategy.rb
<ide> def source_modified_time
<ide> end
<ide>
<ide> def last_commit
<del> Utils.popen_read("git", "--git-dir", git_dir ,"rev-parse", "HEAD").chomp
<add> Utils.popen_read("git", "--git-dir", git_dir ,"rev-parse", "--short", "HEAD").chomp
<ide> end
<ide>
<id... | 1 |
Text | Text | fix typo in http2 endafterheaders description | 7643c5239dd12f5190c5bf2bb3cce7d11d12b3f8 | <ide><path>doc/api/http2.md
<ide> added: v10.11.0
<ide>
<ide> * {boolean}
<ide>
<del>Set the `true` if the `END_STREAM` flag was set in the request or response
<add>Set to `true` if the `END_STREAM` flag was set in the request or response
<ide> HEADERS frame received, indicating that no additional data should be rece... | 1 |
Python | Python | fix failing test in test_multi | 768562ffd48859febd9a5b07329fa661136128a2 | <ide><path>celery/tests/bin/test_multi.py
<ide> def test_info_not_verbose(self):
<ide> self.assertFalse(self.fh.getvalue())
<ide>
<ide> def test_error(self):
<del> self.t.say = Mock()
<add> self.t.carp = Mock()
<ide> self.t.usage = Mock()
<ide> self.assertEqual(self.t.error('f... | 1 |
Text | Text | update improved article, fixed references | 92d62218bf4a49d096f61d97760a9290698012ff | <ide><path>guide/english/computer-science/data-structures/index.md
<ide> title: Data Structures
<ide> ---
<ide> ## Data Structures
<ide>
<del>Data Structure is a way of collecting and organising data in such a way that we can perform operations on these data in an effective way. Data Structures is about rendering data... | 1 |
Text | Text | update changelog for 2.8.3 | 8eaae63c965adfe9aa66f7cdd63bf184712ac1e5 | <ide><path>CHANGELOG.md
<ide>
<ide> - No changes from 2.8.2.
<ide>
<add>### 2.8.3 (November 1, 2016)
<add>
<add>- [#14528](https://github.com/emberjs/ember.js/pull/14528) [BUGFIX] Fix memory leak (leaking component instances in the component registry).
<add>- [#14509](https://github.com/emberjs/ember.js/pull/14509) [... | 1 |
Javascript | Javascript | add backend placeholder to solution form | f247090895217636df6cd574aa3777a554983491 | <ide><path>client/src/templates/Challenges/projects/SolutionForm.js
<ide> import PropTypes from 'prop-types';
<ide>
<ide> import { Form } from '../../../components/formHelpers';
<ide> import {
<add> backend,
<ide> backEndProject,
<ide> frontEndProject,
<ide> pythonProject
<ide> const propTypes = {
<ide> updat... | 1 |
Python | Python | decrease refresh frequency | a5070b77177e55271a262fd856a194370fb36223 | <ide><path>celery/bin/celeryev.py
<ide> def abbrtask(S, max):
<ide> class CursesMonitor(object):
<ide> win = None
<ide> screen_width = None
<add> screen_delay = 0.1
<ide> selected_task = None
<ide> selected_position = 0
<ide> selected_str = "Selected: "
<ide> def resetscreen(self):
<ide> ... | 1 |
Text | Text | add apapirovski to tsc | 04195adaa953e339d71dff7ae59d5261a0294895 | <ide><path>README.md
<ide> For more information about the governance of the Node.js project, see
<ide>
<ide> * [addaleax](https://github.com/addaleax) -
<ide> **Anna Henningsen** <anna@addaleax.net> (she/her)
<add>* [apapirovski](https://github.com/apapirovski) -
<add>**Anatoli Papirovski** <apapirovski@mac.c... | 1 |
Javascript | Javascript | fix bug of "reopen project" menu | 21b4a2147a6a8e3899010f71576e522a408bcd41 | <ide><path>src/menu-helpers.js
<ide> function cloneMenuItem(item) {
<ide> item,
<ide> 'type',
<ide> 'label',
<add> 'id', // added for atom-i18n package, and used only internal.
<ide> 'enabled',
<ide> 'visible',
<ide> 'command',
<ide> function cloneMenuItem(item) {
<ide> 'before... | 2 |
PHP | PHP | add .phar to blocked php extensions | ccea1bfcbb37cf923dc1bb30cdbf2effbfb1619c | <ide><path>src/Illuminate/Validation/Concerns/ValidatesAttributes.php
<ide> protected function shouldBlockPhpUpload($value, $parameters)
<ide> }
<ide>
<ide> $phpExtensions = [
<del> 'php', 'php3', 'php4', 'php5', 'phtml',
<add> 'php', 'php3', 'php4', 'php5', 'phtml', 'phar',
<ide>... | 1 |
PHP | PHP | refresh the retryuntil timer on job retry | 72596ae3612bb6dfa21468f8d7d77f6cc545890d | <ide><path>src/Illuminate/Queue/Console/RetryCommand.php
<ide> protected function getJobIdsByRanges(array $ranges)
<ide> protected function retryJob($job)
<ide> {
<ide> $this->laravel['queue']->connection($job->connection)->pushRaw(
<del> $this->resetAttempts($job->payload), $job->queue
<add>... | 1 |
PHP | PHP | apply fixes from styleci | 71265318358ee150fe8b13f68a03cb9f869fb483 | <ide><path>tests/Container/ContainerTest.php
<ide> public function testContainerCanResolveClasses()
<ide> $this->assertInstanceOf(ContainerConcreteStub::class, $class);
<ide> }
<ide>
<del> public function testContainerCanCatchCircularDependency() {
<add> public function testContainerCanCatchCircularD... | 1 |
PHP | PHP | remove extra lines | eff1f84050c9e2711ce552000d24a47e7482c06d | <ide><path>app/Providers/ErrorServiceProvider.php
<ide> public function boot()
<ide> // even register several error handlers to handle different types of
<ide> // exceptions. If nothing is returned, the default error view is
<ide> // shown, which includes a detailed stack trace during debug.
<del>
<ide> App::er... | 2 |
Javascript | Javascript | add more error checking for font translation | 050acaf5e07ddddcea4892b649fe7f4352333429 | <ide><path>pdf.js
<ide> var CanvasGraphics = (function() {
<ide> constructor.prototype = {
<ide> translateFont: function(fontDict, xref, resources) {
<ide> var descriptor = xref.fetch(fontDict.get("FontDescriptor"));
<del> var fontName = descriptor.get("FontName").name;
<del> ... | 1 |
Python | Python | change version number on master to 1.8 | eee46518b869ae05490c085783fd5b09a40b2273 | <ide><path>setup.py
<ide> AUTHOR_EMAIL = "oliphant@enthought.com"
<ide> PLATFORMS = ["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"]
<ide> MAJOR = 1
<del>MINOR = 7
<add>MINOR = 8
<ide> MICRO = 0
<ide> ISRELEASED = False
<ide> VERSIO... | 1 |
Text | Text | add options description for send apis | 5d1578d85b6f09d827a6fe954d0617e1c13267b3 | <ide><path>doc/api/cluster.md
<ide> Workers will call `process.exit(0)` if the `'disconnect'` event occurs
<ide> on `process` and `.exitedAfterDisconnect` is not `true`. This protects against
<ide> accidental disconnection.
<ide>
<del>### worker.send(message\[, sendHandle\]\[, callback\])
<add>### worker.send(message\... | 2 |
Ruby | Ruby | fix last changeset to pass unittests | 2e175d35cd4fc4438f6d263c8fe205939cd4b95f | <ide><path>actionpack/lib/action_controller/assertions.rb
<ide> def assert_generates(expected_path, options, defaults={}, extras = {}, message=n
<ide> # Load routes.rb if it hasn't been loaded.
<ide> ActionController::Routing::Routes.reload if ActionController::Routing::Routes.empty?
<ide>
<del>... | 2 |
PHP | PHP | add test for inline attachments | f366a9ff834b96f3b971568916b40b06e1f8cc16 | <ide><path>lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
<ide> public function testSendNoTemplateWithAttachmentsAsBoth() {
<ide> $this->assertContains($expected, $result['message']);
<ide> }
<ide>
<add>/**
<add> * Test setting inline attachments and messages.
<add> *
<add> * @return void
<add> */
<add> public ... | 1 |
Javascript | Javascript | fix a grammar problem | 45a439c75ff92dbd38d8972256781a02666435db | <ide><path>lib/library/ModuleLibraryPlugin.js
<ide> class ModuleLibraryPlugin extends AbstractLibraryPlugin {
<ide> const { name } = library;
<ide> if (name) {
<ide> throw new Error(
<del> `Library name must unset. ${AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE}`
<add> `Library name must be unset. ${A... | 1 |
PHP | PHP | move view error binding to a service provider | ab6bd591304b87720ea39401a090db0b6e71ba55 | <ide><path>src/Illuminate/View/Middleware/ErrorBinder.php
<add><?php namespace Illuminate\View\Middleware;
<add>
<add>use Closure;
<add>use Illuminate\Support\ViewErrorBag;
<add>use Illuminate\Contracts\Routing\Middleware;
<add>use Illuminate\Contracts\View\Factory as ViewFactory;
<add>
<add>class ErrorBinder implement... | 2 |
Javascript | Javascript | bring bundle example up-to-date | 14bd4fb5c50d84a744d0a5fb60c902ade7396696 | <ide><path>examples/bundle/bundle-treemap.js
<del>var w = 960,
<del> h = 500,
<add>var width = 960,
<add> height = 500,
<ide> fill = d3.scale.ordinal().range(colorbrewer.Greys[9].slice(1, 4)),
<ide> stroke = d3.scale.linear().domain([0, 1e4]).range(["brown", "steelblue"]);
<ide>
<ide> var treemap = d3.la... | 1 |
Mixed | Go | fix nits in comments and log | a1ed5b7be248ed0bbf7a33d3ae1902965994cc53 | <ide><path>libnetwork/datastore/datastore.go
<ide> func makeDefaultScopes() map[string]*ScopeCfg {
<ide> var defaultRootChain = []string{"docker", "network", "v1.0"}
<ide> var rootChain = defaultRootChain
<ide>
<del>// DefaultScopes returns a map of default scopes and it's config for clients to use.
<add>// DefaultSco... | 10 |
Javascript | Javascript | update examples to use modules | 1534529f8ce746140bcd66725c748ae70bfb4fdb | <ide><path>src/ng/directive/input.js
<ide> var ngValueDirective = function() {
<ide> form will update the model only when the control loses focus (blur event). If `escape` key is
<ide> pressed while the input field is focused, the value is reset to the value in the current model.
<ide>
<del> <example name="ngMode... | 1 |
Ruby | Ruby | allow anonymous access in private registries | cc12738f8e31b5a674057a2945fdbda7c2c12825 | <ide><path>Library/Homebrew/download_strategy.rb
<ide> class CurlGitHubPackagesDownloadStrategy < CurlDownloadStrategy
<ide> def initialize(url, name, version, **meta)
<ide> meta ||= {}
<ide> meta[:headers] ||= []
<del> token = ENV.fetch("HOMEBREW_REGISTRY_ACCESS_TOKEN", "QQ==")
<del> meta[:headers] << ... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.