hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
37ce6f26cade61ad897ab586141f7afb0575e2cb | diff --git a/js/dataCollector/dataCollector.js b/js/dataCollector/dataCollector.js
index <HASH>..<HASH> 100644
--- a/js/dataCollector/dataCollector.js
+++ b/js/dataCollector/dataCollector.js
@@ -167,8 +167,9 @@ function tick(){
if (useMedia)
_setEvents(infoDict.calculator.getMediaEvents(... | Default events like position and gaze always collected, even when media is working | vadr-vr_VR-Analytics-JSCore | train | js,js |
e1ee01099c8c681afd003b7877d2f76077e7a669 | diff --git a/Kwf/Media/Output.php b/Kwf/Media/Output.php
index <HASH>..<HASH> 100644
--- a/Kwf/Media/Output.php
+++ b/Kwf/Media/Output.php
@@ -30,7 +30,8 @@ class Kwf_Media_Output
if (isset($data['contents'])) {
echo $data['contents'];
} else if (isset($data['file'])) {
- self:... | Remove readfile_chunked again
Causes Problem with some servers | koala-framework_koala-framework | train | php |
550163a47e9cad757ea71ba76461858e9ec0f3f4 | diff --git a/lib/spatial_features/unzip.rb b/lib/spatial_features/unzip.rb
index <HASH>..<HASH> 100644
--- a/lib/spatial_features/unzip.rb
+++ b/lib/spatial_features/unzip.rb
@@ -1,14 +1,9 @@
+require 'fileutils'
+
module SpatialFeatures
module Unzip
def self.paths(file_path, find: nil)
- dir = Dir.mktmpd... | Fix bug that prevented import of KMZs with folders
When unzipping, we are tasked with creating folders for all zipfile entries. If there is a subfoldered entry, we need to also create that folder too. | culturecode_spatial_features | train | rb |
64faaa268c768e42c268a1698120e27fd4b0fa38 | diff --git a/scapy.py b/scapy.py
index <HASH>..<HASH> 100755
--- a/scapy.py
+++ b/scapy.py
@@ -1619,7 +1619,7 @@ class ASN1_VIDEOTEX_STRING(ASN1_STRING):
class ASN1_UTC_TIME(ASN1_STRING):
tag = ASN1_Class_UNIVERSAL.UTC_TIME
-class ASN1_TIME_TICKS(ASN1_STRING):
+class ASN1_TIME_TICKS(ASN1_INTEGER):
tag = AS... | ASN1_TIME_TICKS wrongly typed as a string instead of an integer | secdev_scapy | train | py |
95ac5e1e2ae3d0ad6586cac0fe2063e8736a01f0 | diff --git a/sprite.go b/sprite.go
index <HASH>..<HASH> 100644
--- a/sprite.go
+++ b/sprite.go
@@ -102,16 +102,11 @@ func (s *Sprite) calcData() {
(*s.tri)[5].Position = Vec{}.Sub(horizontal).Add(vertical)
for i := range *s.tri {
+ (*s.tri)[i].Position = s.matrix.Project((*s.tri)[i].Position)
(*s.tri)[i].Colo... | why 2 loops and assign twice? one is enough | faiface_pixel | train | go |
ba68b35caeafdbc11a064829a8e0db063b8632d8 | diff --git a/holoviews/plotting/util.py b/holoviews/plotting/util.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/util.py
+++ b/holoviews/plotting/util.py
@@ -34,7 +34,7 @@ def get_sideplot_ranges(plot, element, main, ranges):
else:
framewise = plot.lookup_options(range_item.last, 'norm').options.... | Fix for adjoined plot ranges | pyviz_holoviews | train | py |
b5b9f8eae1795c3cd365ae6df696e5d6607f5259 | diff --git a/src/Layers/ImageMapLayer.js b/src/Layers/ImageMapLayer.js
index <HASH>..<HASH> 100644
--- a/src/Layers/ImageMapLayer.js
+++ b/src/Layers/ImageMapLayer.js
@@ -192,6 +192,9 @@ export var ImageMapLayer = RasterLayer.extend({
if (this.options.f === 'json') {
this.service.request('exportImage', para... | Fixes Issue <I> by adding token to url received from ArcGIS Server (#<I>)
* Fixes Issue <I> by adding token to url received from ArcGIS Server
* Removes trailing whitespace | Esri_esri-leaflet | train | js |
974e05ac079c21cb468c89ce8448ac1f805bd2ed | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -116,7 +116,7 @@ module.exports = function( grunt ) {
grunt.loadNpmTasks( 'grunt-contrib-clean' );
grunt.loadNpmTasks( 'grunt-jscs' );
- grunt.registerTask( 'default', ['sass'] );
+ grunt.registerTask( 'd... | Add more tasks to the default grunt task | aristath_kirki | train | js |
1879e9241a41825683bb7fb0be7c67eef942f4b1 | diff --git a/presto-main/src/main/java/com/facebook/presto/operator/aggregation/TypedHistogram.java b/presto-main/src/main/java/com/facebook/presto/operator/aggregation/TypedHistogram.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/main/java/com/facebook/presto/operator/aggregation/TypedHistogram.java
+++ b/pres... | Make fields final
They are effectively immutable, so there's no reason for them to be non-final | prestodb_presto | train | java |
d4be07fd8e496c3bcfdc6e414e3a77c0d2d421d4 | diff --git a/lib/Doctrine/MongoDB/Collection.php b/lib/Doctrine/MongoDB/Collection.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/MongoDB/Collection.php
+++ b/lib/Doctrine/MongoDB/Collection.php
@@ -846,15 +846,18 @@ class Collection
*/
protected function doAggregate(array $pipeline, array $options = arr... | Split command and client options for Collection::aggregate()
This mirrors changes done in 2f<I>a<I>e1e<I>fc<I>a<I>cbd8aefcd<I> for other command helpers. | doctrine_mongodb | train | php |
068ab6b5e18499d38ffb9196355962b9db8c4235 | diff --git a/bika/lims/setuphandlers.py b/bika/lims/setuphandlers.py
index <HASH>..<HASH> 100644
--- a/bika/lims/setuphandlers.py
+++ b/bika/lims/setuphandlers.py
@@ -225,6 +225,9 @@ class BikaGenerator:
mp = portal.bika_setup.manage_permission
mp('Access contents information', ['Authenticated'], 1)
... | Allow Authorized users access to bika_setup objects' revisions | senaite_senaite.core | train | py |
e30a8b4038c07c90d685edc994f2809426201975 | diff --git a/ontrack-web/src/app/extension/scm/scm.js b/ontrack-web/src/app/extension/scm/scm.js
index <HASH>..<HASH> 100644
--- a/ontrack-web/src/app/extension/scm/scm.js
+++ b/ontrack-web/src/app/extension/scm/scm.js
@@ -39,10 +39,11 @@ angular.module('ontrack.extension.scm', [
controller: function ($sco... | #<I> Submitting the pattern selection | nemerosa_ontrack | train | js |
4545eb1fb72cfdf4e28e2c9719abb7bc714bffb4 | diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ModelAttributeParameterExpander.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ModelAttributeParameterExpander.java
index <HASH>..<HASH> 100644
--- a/springfox-spring-web/... | Fixed expansion of recursive types
We dont expand collection item types we've already seen
(<I>) | springfox_springfox | train | java |
7c5fd5234244cc81a7c18ce6dca0bafd5f429b1a | diff --git a/lib/browser/managed-upload.js b/lib/browser/managed-upload.js
index <HASH>..<HASH> 100644
--- a/lib/browser/managed-upload.js
+++ b/lib/browser/managed-upload.js
@@ -303,10 +303,25 @@ WebFileReadStream.prototype._read = function _read(size) {
}
};
+function getBuffer(file) {
+ // Some browsers do no... | fix: use arrayBuffer first, fall back to FileReader if it does not work (#<I>) | ali-sdk_ali-oss | train | js |
19c84fb1b5316487c21d509ff13c644687e51d2a | diff --git a/tests/ui/unit/filters.tests.js b/tests/ui/unit/filters.tests.js
index <HASH>..<HASH> 100755
--- a/tests/ui/unit/filters.tests.js
+++ b/tests/ui/unit/filters.tests.js
@@ -237,9 +237,10 @@ describe('displayNumber filter', function() {
it('returns expected values', function() {
var displayPrec... | Bug <I> - Fix failing displayNumber test
Updates the test since after bug <I>, an infinity result returns
the infinity symbol rather than the string `Infinity`. | mozilla_treeherder | train | js |
964b5f7d5ed5f9fe3764c1ac6d383daa564de0d8 | diff --git a/tests/junit/org/jgroups/tests/CloseTest.java b/tests/junit/org/jgroups/tests/CloseTest.java
index <HASH>..<HASH> 100644
--- a/tests/junit/org/jgroups/tests/CloseTest.java
+++ b/tests/junit/org/jgroups/tests/CloseTest.java
@@ -1,4 +1,4 @@
-// $Id: CloseTest.java,v 1.7 2006/05/12 09:49:13 belaban Exp $
+// $... | added testDoubleClose() | belaban_JGroups | train | java |
a80de010fa5b9522b7841d92bb68bbf939eed2d8 | diff --git a/tests/unit/view-factory-test.php b/tests/unit/view-factory-test.php
index <HASH>..<HASH> 100644
--- a/tests/unit/view-factory-test.php
+++ b/tests/unit/view-factory-test.php
@@ -18,7 +18,9 @@ class View_Factory_Test extends TestCase {
protected function setUp() {
$this->view_factory = new View_Factory... | Update Configuration mocking in View Factory Test | gios-asu_nectary | train | php |
5f0a89900c40b83ffca507b3117729f2f1e56f4d | diff --git a/src/utils/Global.js b/src/utils/Global.js
index <HASH>..<HASH> 100644
--- a/src/utils/Global.js
+++ b/src/utils/Global.js
@@ -90,6 +90,20 @@ define(function (require, exports, module) {
}
};
+ // Shims for brackets.app when running in-browser
+ if (!global.brackets.app) {
+ ... | shims for app.showDeveloperTools and app.getElapsedMilliseconds so that brackets can initialize in-browser | adobe_brackets | train | js |
b8b5acaa0dbdaf854f34ef090ad48abf7d69cae2 | diff --git a/autofit/graphical/factor_graphs/numerical.py b/autofit/graphical/factor_graphs/numerical.py
index <HASH>..<HASH> 100644
--- a/autofit/graphical/factor_graphs/numerical.py
+++ b/autofit/graphical/factor_graphs/numerical.py
@@ -66,7 +66,7 @@ def numerical_func_jacobian(
for det, val in det_v... | bugfixing calculation of deterministic Jacobians | rhayes777_PyAutoFit | train | py |
57bfc6a01d714cf3eb7eb5497c10d5badcfcc68a | diff --git a/core/src/test/java/com/google/net/stubby/newtransport/MessageFramerTest.java b/core/src/test/java/com/google/net/stubby/newtransport/MessageFramerTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/google/net/stubby/newtransport/MessageFramerTest.java
+++ b/core/src/test/java/com/google/net/... | Remove dependency on ByteBuffers.
ByteBuffers is not generally available.
-------------
Created by MOE: <URL> | grpc_grpc-java | train | java |
c63712a2cb0704e592b8b8e015c8ae540585fd4f | diff --git a/lib/discourse/oneboxer.rb b/lib/discourse/oneboxer.rb
index <HASH>..<HASH> 100644
--- a/lib/discourse/oneboxer.rb
+++ b/lib/discourse/oneboxer.rb
@@ -163,7 +163,7 @@ module Discourse
doc = Nokogiri::HTML::fragment(doc) if doc.is_a?(String)
onebox_links = doc.search("a.onebox")
- if onebox... | change present to nil or empty | discourse_onebox | train | rb |
6d969064df77ecc1584c0d8d9dfe0e718519eee9 | diff --git a/lib/ripple-rest.rb b/lib/ripple-rest.rb
index <HASH>..<HASH> 100644
--- a/lib/ripple-rest.rb
+++ b/lib/ripple-rest.rb
@@ -59,7 +59,7 @@ class << RippleRest
# @api private
def post uri, args = {}
- wrap_error { RestClient.post "#{@endpoint}/#{uri}", args, :content_type => :json }
+ wrap_erro... | Enure that json is submitted when posting to ripple
Hash#to_json comes from rest-client | orzFly_ruby-ripple-rest | train | rb |
a52afc6c30682caee25f40a6898a94d4690274dc | diff --git a/Dev/CondorcetDocumentationGenerator/Generate.php b/Dev/CondorcetDocumentationGenerator/Generate.php
index <HASH>..<HASH> 100644
--- a/Dev/CondorcetDocumentationGenerator/Generate.php
+++ b/Dev/CondorcetDocumentationGenerator/Generate.php
@@ -90,8 +90,9 @@ class Generate
$str .= ($i > 0) ? ... | Documentation Generator: Representation of references (parameter) | julien-boudry_Condorcet | train | php |
7f398ac87ccbd90e644d897520298fd7058bd78b | diff --git a/hwt/hdlObjects/types/struct.py b/hwt/hdlObjects/types/struct.py
index <HASH>..<HASH> 100644
--- a/hwt/hdlObjects/types/struct.py
+++ b/hwt/hdlObjects/types/struct.py
@@ -17,13 +17,14 @@ class HStruct(HdlType):
@param name: optional name used for debugging purposes
"""
self.fields... | HStruct fix name propagation | Nic30_hwt | train | py |
02955a84d1754e4796fca52bedd7dd0f30f197bd | diff --git a/question/import_form.php b/question/import_form.php
index <HASH>..<HASH> 100644
--- a/question/import_form.php
+++ b/question/import_form.php
@@ -58,7 +58,7 @@ class question_import_form extends moodleform {
if (get_string_manager()->string_exists('pluginname_help', 'qformat_' . $shortname)) {... | MDL-<I> core_question: flexbox compatible separator for question types
* the br tag does not work well in a flexbox context, a <I>% with div
works in both clean and boost. | moodle_moodle | train | php |
84b0b9a6aed7b58247965ca4c635a2ad2ebd86c7 | diff --git a/federation.go b/federation.go
index <HASH>..<HASH> 100644
--- a/federation.go
+++ b/federation.go
@@ -17,6 +17,8 @@ type FederationDefinition struct {
ReconnectDelay int `json:"reconnect-delay"`
AckMode string `json:"ack-mode,omitempty"`
TrustUserId bool `json:"trust-user-id"`
+ Exchan... | Fix #<I>: Added support for Exchange and Queue in FederationDefinition | michaelklishin_rabbit-hole | train | go |
0b2bdce387747d992a74f0e2d0a3371e544eadc0 | diff --git a/dallinger/heroku/__init__.py b/dallinger/heroku/__init__.py
index <HASH>..<HASH> 100644
--- a/dallinger/heroku/__init__.py
+++ b/dallinger/heroku/__init__.py
@@ -4,6 +4,7 @@ from tools import (
app_name,
auth_token,
log_in,
+ open_logs,
scale_up_dynos
)
@@ -11,5 +12,6 @@ __all__ =... | Add tool to open Heroku logs | Dallinger_Dallinger | train | py,py |
8b68c9f4a8dbc2730ba3d5acdcf9ffc344598e3b | diff --git a/AssetConverter.php b/AssetConverter.php
index <HASH>..<HASH> 100644
--- a/AssetConverter.php
+++ b/AssetConverter.php
@@ -50,7 +50,7 @@ class AssetConverter extends \yii\web\AssetConverter
return parent::convert($asset, $basePath);
$result = substr($asset, 0, $pos + 1) . self::OUTPU... | Avoid PHP Warning, when source file does not exist (filemtime(): stat failed for ...) | cakebake_yii2-less.php | train | php |
1c2d0542be58c50d25cfda7d1bea1f4b6a5a2733 | diff --git a/src/Dropdown.js b/src/Dropdown.js
index <HASH>..<HASH> 100644
--- a/src/Dropdown.js
+++ b/src/Dropdown.js
@@ -90,6 +90,7 @@ class Dropdown extends React.Component {
const rootClasses = {
open: this.props.open,
+ disabled: this.props.disabled,
dropdown: !this.props.dropup,
d... | [fixed] Set the disabled css class so that the text is greyed out. | react-bootstrap_react-bootstrap | train | js |
6006774cf7fa41ee0db6a9c70d690fa670f776ea | diff --git a/lib/enrollib.php b/lib/enrollib.php
index <HASH>..<HASH> 100644
--- a/lib/enrollib.php
+++ b/lib/enrollib.php
@@ -1062,7 +1062,7 @@ abstract class enrol_plugin {
if (!is_null($status)) {
$ue->status = $status;
}
- $ue->modifier = $... | MDL-<I> enrol_user - changed modifier to modifierid which is used in database | moodle_moodle | train | php |
31a4ff4e800425d41d84544e5bccdb163bf62559 | diff --git a/lib/torquebox-sidekiq-service.rb b/lib/torquebox-sidekiq-service.rb
index <HASH>..<HASH> 100644
--- a/lib/torquebox-sidekiq-service.rb
+++ b/lib/torquebox-sidekiq-service.rb
@@ -1,10 +1,11 @@
# This is needed to make Sidekiq think it's working in a server capacity.
module Sidekiq
- class CLI
- end
+ c... | Sidekiq requires the Sidekiq::Shutdown class to be available now, but it's currently defined in the CLI class that we don't use. | mogotest_torquebox-sidekiq-service | train | rb |
2b98fb6aa6e779ad1c361c5b655b9e1311060ce6 | diff --git a/src/client/client.js b/src/client/client.js
index <HASH>..<HASH> 100644
--- a/src/client/client.js
+++ b/src/client/client.js
@@ -273,7 +273,14 @@ class _ClientImpl {
socketOpts,
});
} else if (multiplayer.transport !== undefined) {
- this.transport = multiplayer.transport... | change custom client transport to a constructor (#<I>)
I'm implementing a custom transport. Having a parameter that just override transport is not very useful as the transport will need access to things like the store (same way that local and socketio transport do). | nicolodavis_boardgame.io | train | js,js |
2c1b8808e338b3c6d61b76e14cbcfd7739c24cba | diff --git a/test/helper.js b/test/helper.js
index <HASH>..<HASH> 100644
--- a/test/helper.js
+++ b/test/helper.js
@@ -31,3 +31,5 @@ exports.SocketEventer = SocketEventer
exports.failingItemParser = function() {
throw new Error('FAIL!')
}
+
+exports.ltx = ltx
diff --git a/test/lib/http.js b/test/lib/http.js
inde... | Add test for <I>% coverage | xmpp-ftw_xmpp-ftw-http | train | js,js |
2c9b318b503bf9a72010bf0bc50aac5ca48603c1 | diff --git a/api/webserver/main.go b/api/webserver/main.go
index <HASH>..<HASH> 100644
--- a/api/webserver/main.go
+++ b/api/webserver/main.go
@@ -45,6 +45,8 @@ func main() {
repository.RunAgent()
m := pat.New()
+ m.Get("/services/instances", AuthorizationRequiredHandler(service.ListServiceInstances))
+
m.Post(... | api/webserver: register ListServiceInstances handler
This handler will answer for GET requests in the url
/services/instances. | tsuru_tsuru | train | go |
e87996bff038b28e3963134b69b124bf9d37b4e9 | diff --git a/spyder_profiler/widgets/profilergui.py b/spyder_profiler/widgets/profilergui.py
index <HASH>..<HASH> 100644
--- a/spyder_profiler/widgets/profilergui.py
+++ b/spyder_profiler/widgets/profilergui.py
@@ -657,8 +657,8 @@ class ProfilerDataTree(QTreeWidget):
while ancestor:
if (child_ite... | Fixes #<I>
Compare filename instead of "Diff" | spyder-ide_spyder | train | py |
d295ce570813601256f54be1c20fa153cdbb7e58 | diff --git a/cmd/disk-cache-backend.go b/cmd/disk-cache-backend.go
index <HASH>..<HASH> 100644
--- a/cmd/disk-cache-backend.go
+++ b/cmd/disk-cache-backend.go
@@ -205,9 +205,9 @@ func (c *diskCache) diskUsageLow() bool {
logger.LogIf(ctx, err)
return false
}
- usedPercent := (di.Used / di.Total) * 100
+ usedPer... | Fix disk cache usage percent for prometheus (#<I>)
Fixes: #<I> | minio_minio | train | go |
ddfdd69939ab18cfcdc4c5896c7f6d6372b0da0f | diff --git a/cms_search/search_indexes.py b/cms_search/search_indexes.py
index <HASH>..<HASH> 100644
--- a/cms_search/search_indexes.py
+++ b/cms_search/search_indexes.py
@@ -85,7 +85,7 @@ def page_index_factory(language_code, proxy_model):
def index_queryset(self):
# get the correct language an... | use the queryset from the super class
this makes it possible to define the "index_queryset" on the custom base class | beniwohli_django-cms-search | train | py |
7d58b68bc0b1c9bcc0d8d5e5fa71d98550e465e7 | diff --git a/cartoframes/utils/metrics.py b/cartoframes/utils/metrics.py
index <HASH>..<HASH> 100644
--- a/cartoframes/utils/metrics.py
+++ b/cartoframes/utils/metrics.py
@@ -115,7 +115,9 @@ def build_extra_metrics_data(decorated_function, *args, **kwargs):
credentials = get_credentials(credentials)
r... | No set user_id when no user is logged for reading public tables | CartoDB_cartoframes | train | py |
959f4c300cd457a50a99a94efdb1607c74478c98 | diff --git a/mod/choice/mod_form.php b/mod/choice/mod_form.php
index <HASH>..<HASH> 100644
--- a/mod/choice/mod_form.php
+++ b/mod/choice/mod_form.php
@@ -95,6 +95,7 @@ class mod_choice_mod_form extends moodleform_mod {
$features->groups = true;
$features->groupings = true;
$features->groupme... | MDL-<I> - hide grade category drop down. | moodle_moodle | train | php |
133ef6838cb94f9579dae9fb75635eda865bb0f8 | diff --git a/lib/z_k/threadpool.rb b/lib/z_k/threadpool.rb
index <HASH>..<HASH> 100644
--- a/lib/z_k/threadpool.rb
+++ b/lib/z_k/threadpool.rb
@@ -37,7 +37,7 @@ module ZK
callable ||= blk
# XXX(slyphon): do we care if the threadpool is not running?
- raise Exceptions::ThreadpoolIsNotRunningExceptio... | don't puke if Threadpool#defer is called and the threadpool isn't running. | zk-ruby_zk | train | rb,rb |
9ef166fc62f212bc4eb5b0da412ca46e03b9bd62 | diff --git a/lib/opal/compiler.rb b/lib/opal/compiler.rb
index <HASH>..<HASH> 100644
--- a/lib/opal/compiler.rb
+++ b/lib/opal/compiler.rb
@@ -108,7 +108,7 @@ module Opal
# method simply appends the filename and curent line number onto
# the message and issues a warning.
def warning(msg, line = nil)
- ... | Make filename in compiler warnings look better | opal_opal | train | rb |
a09b5fcaaefae65d5a08c5277887b2185794573c | diff --git a/spec/guard/notifiers/tmux_spec.rb b/spec/guard/notifiers/tmux_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/guard/notifiers/tmux_spec.rb
+++ b/spec/guard/notifiers/tmux_spec.rb
@@ -29,7 +29,7 @@ describe Guard::Notifier::Tmux do
context 'without the silent option' do
it 'shows an error m... | Fix textual changes on the specs. | guard_notiffany | train | rb |
7ba73a10d2f9859bff1d801047bd7976012eb876 | diff --git a/lib/private_class.rb b/lib/private_class.rb
index <HASH>..<HASH> 100644
--- a/lib/private_class.rb
+++ b/lib/private_class.rb
@@ -2,6 +2,12 @@ module RubyXL
class PrivateClass
private
+ def hash_to_array_of_hashes(hash)
+ if hash.is_a?(Hash)
+ hash = [hash]
+ end
+ end
+
... | added hash_to_array_of_hashes method in private_class | weshatheleopard_rubyXL | train | rb |
df2c25a78151ba4ab46052cff4fb7bfe052a816d | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -1212,6 +1212,26 @@ function runTests(options) {
});
}, true));
});
+ it('should unwatch relative paths', function(done) {
+ var spy = sinon.spy();
+ var fixturesDir = sysPath.basename(fixture... | Add test for unwatch of relative paths
gh-<I>
gh-<I> | paulmillr_chokidar | train | js |
bb8b04aeb4005c261283d0872b2bdca2fdb7e9b2 | diff --git a/lib/netuitived/metric_aggregator.rb b/lib/netuitived/metric_aggregator.rb
index <HASH>..<HASH> 100644
--- a/lib/netuitived/metric_aggregator.rb
+++ b/lib/netuitived/metric_aggregator.rb
@@ -7,6 +7,7 @@ module NetuitiveD
def initialize(apiEmissary)
@metrics = []
@samples = []
+ @tags... | Sending values of elementTags property split by comma and colon as tags | Netuitive_netuitived | train | rb |
fba9240eab9709442d53729aab842a431f6f4e8b | diff --git a/toytree/Toytree.py b/toytree/Toytree.py
index <HASH>..<HASH> 100644
--- a/toytree/Toytree.py
+++ b/toytree/Toytree.py
@@ -868,6 +868,23 @@ class ToyTree(object):
# return nself
+ def generate_axes(self, firstname=None, lastname=None, axes=None, color="green", opacity=.25):
+ ... | Fix for issue #<I> to add support for clade highlighting by names | eaton-lab_toytree | train | py |
7bad8c1665a3dedc05f3724da484842e0db04c7a | diff --git a/octarine-core/src/main/java/com/codepoetics/octarine/records/Record.java b/octarine-core/src/main/java/com/codepoetics/octarine/records/Record.java
index <HASH>..<HASH> 100644
--- a/octarine-core/src/main/java/com/codepoetics/octarine/records/Record.java
+++ b/octarine-core/src/main/java/com/codepoetics/oc... | Rune of warding against NPE | poetix_octarine | train | java |
bab7be5a3dfab2855a3672b786e206f7b0d3c064 | diff --git a/Command/RatioSaveCommand.php b/Command/RatioSaveCommand.php
index <HASH>..<HASH> 100644
--- a/Command/RatioSaveCommand.php
+++ b/Command/RatioSaveCommand.php
@@ -45,7 +45,7 @@ class RatioSaveCommand extends ContainerAwareCommand
protected function execute(InputInterface $input, OutputInterface $output... | Fix: A cast statement must be followed by a single space | TheBigBrainsCompany_TbbcMoneyBundle | train | php |
f493fcfef713c18ab5f95718811e364737361a55 | diff --git a/Lib/glyphsLib/builder/glyph.py b/Lib/glyphsLib/builder/glyph.py
index <HASH>..<HASH> 100644
--- a/Lib/glyphsLib/builder/glyph.py
+++ b/Lib/glyphsLib/builder/glyph.py
@@ -261,6 +261,8 @@ def to_glyphs_glyph(self, ufo_glyph, ufo_layer, master): # noqa: C901
def to_ufo_glyph_height_and_vertical_origin(s... | Add comment mentioning where implementation came from | googlefonts_glyphsLib | train | py |
f0487f6ced32c55fae9439e2aca74ab975408aa1 | diff --git a/tests/packages/test_locker.py b/tests/packages/test_locker.py
index <HASH>..<HASH> 100644
--- a/tests/packages/test_locker.py
+++ b/tests/packages/test_locker.py
@@ -637,6 +637,8 @@ lib-b = []
create_dependency_patch.assert_called_once_with(
"lib-b", {"develop": True, "path": "../libB"}, root... | test: fix tests for for older versions of python | sdispater_poetry | train | py |
4305166186fa3e7b12ef212adc49600cb075182d | diff --git a/website/.storybook/main.js b/website/.storybook/main.js
index <HASH>..<HASH> 100644
--- a/website/.storybook/main.js
+++ b/website/.storybook/main.js
@@ -10,4 +10,10 @@ module.exports = {
'storybook-addon-root-attribute/register',
],
framework: '@storybook/react',
+ staticDirs: [
+ ... | chore(storybook): wire storybook up with docusaurus | Unleash_unleash | train | js,js |
a63613b1f0a8d2e1971ea48540c359e2cbc5100d | diff --git a/src/vendor/swarm/RedisStorage.js b/src/vendor/swarm/RedisStorage.js
index <HASH>..<HASH> 100644
--- a/src/vendor/swarm/RedisStorage.js
+++ b/src/vendor/swarm/RedisStorage.js
@@ -23,7 +23,7 @@ var Storage = require('swarm/lib/Storage');
*
* @TODO storage opening by host
*/
-function RedisStorage (id, ... | Remove unused id from RedisStorage | ritzyed_ritzy | train | js |
839e39055e7efd21a3e98c5e9d81dd4792308fe0 | diff --git a/src/parse.js b/src/parse.js
index <HASH>..<HASH> 100644
--- a/src/parse.js
+++ b/src/parse.js
@@ -9,7 +9,7 @@ function _parseTokens(peekableTokens, getId, dictionary, onProgress) {
let node, property, identifier
while (!peekableTokens.peek().done) {
- let {type, value} = peekableTokens.p... | Report row & col when throwing errors | SabakiHQ_sgf | train | js |
6b91a7ac7c58eda77542d5f1d929caa69761b6cf | diff --git a/nestly/scons.py b/nestly/scons.py
index <HASH>..<HASH> 100644
--- a/nestly/scons.py
+++ b/nestly/scons.py
@@ -58,7 +58,7 @@ class SConsWrap(object):
try:
self.nest = self.checkpoints[name]
except KeyError:
- raise ValueError, "Don't have a checkpoint for level {}".... | Fixed build error with some pythons | fhcrc_nestly | train | py |
5e01f1352c115a5e38841277c7253b64b4ab3226 | diff --git a/src/Charcoal/Email/EmailAwareTrait.php b/src/Charcoal/Email/EmailAwareTrait.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Email/EmailAwareTrait.php
+++ b/src/Charcoal/Email/EmailAwareTrait.php
@@ -49,7 +49,7 @@ trait EmailAwareTrait
// Assuming nobody's gonna set an email that is just a dis... | update email regex required for php<I> | locomotivemtl_charcoal-email | train | php |
78cfc65c713bc8cd38a57d0d5e62225d28788f1c | diff --git a/lib/BaseWidget.js b/lib/BaseWidget.js
index <HASH>..<HASH> 100644
--- a/lib/BaseWidget.js
+++ b/lib/BaseWidget.js
@@ -13,6 +13,7 @@ function BaseWidget (opts) {
opts = _(baseWidgetOpts).merge(opts || {}).toObject();
if (!opts.screen) opts.screen = (opts.parent || {}).screen;
+ if (!opts.parent) op... | feat(opts): if opts.parent doesn’t exist, use opts.screen; export BaseWidget’s copy of blessed as BaseWidget.blessed | slap-editor_base-widget | train | js |
b06e55e9fa9a74739be1a1f14a90c3b74c4b675c | diff --git a/daemon/pod.go b/daemon/pod.go
index <HASH>..<HASH> 100644
--- a/daemon/pod.go
+++ b/daemon/pod.go
@@ -1004,6 +1004,7 @@ func hyperHandlePodEvent(vmResponse *types.VmResponse, data interface{},
if mypod.Status == types.S_POD_RUNNING { // not received finished pod before
stopLogger(mypod)
mypod.St... | Fix pod finishTime in PodEvent | hyperhq_hyperd | train | go |
070f258dd2fb816fbcdc4225f1db873cb3a4b70f | diff --git a/lib/DAV/objectTree.js b/lib/DAV/objectTree.js
index <HASH>..<HASH> 100644
--- a/lib/DAV/objectTree.js
+++ b/lib/DAV/objectTree.js
@@ -40,11 +40,9 @@ exports.jsDAV_ObjectTree = jsDAV_ObjectTree;
//if (!path || path=='.') return this.rootNode;
var currentNode = this.rootNode;
var c... | - Fix a major bug in objectTree. The getPathNode always return rootNode
- Fix a minor issue in jsdav.js | mikedeboer_jsDAV | train | js,js |
7ed075bbf0901dfce6ea281c4491748c1c10c7d0 | diff --git a/apis/net/index.js b/apis/net/index.js
index <HASH>..<HASH> 100644
--- a/apis/net/index.js
+++ b/apis/net/index.js
@@ -17,7 +17,7 @@ function NetworkApi(runner) {
var self = this;
this._runner = runner;
- this._connections = [];
+ this._connections = [null, null, null, null];
this._ports = [];
... | [FIX] Start counting socket file descriptors with number 4.
Fix assert due to reusing file descriptor 3. | codius-deprecated_codius-engine | train | js |
72762d12b54d8e585ca14e6ce4f96476e7bb34f9 | diff --git a/hazelcast/src/test/java/com/hazelcast/spi/discovery/DiscoverySpiTest.java b/hazelcast/src/test/java/com/hazelcast/spi/discovery/DiscoverySpiTest.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/spi/discovery/DiscoverySpiTest.java
+++ b/hazelcast/src/test/java/com/hazelcast/spi/d... | Fixed ambiguous assertEquals() with Java 8 in DiscoverySpiTest | hazelcast_hazelcast | train | java |
567d0600376759498908109d823bcd3561d66fd4 | diff --git a/src/shared/sagas/api.js b/src/shared/sagas/api.js
index <HASH>..<HASH> 100644
--- a/src/shared/sagas/api.js
+++ b/src/shared/sagas/api.js
@@ -67,10 +67,11 @@ const api = [
try {
let response;
if (parameterType === null) {
- response = yield getWebService().get(`params/${na... | set auth to false in getAdminParameters API call | Zoapp_front | train | js |
86592c76d74a78fac2b6224f7c882d2d594642a7 | diff --git a/src/Headers/Handler/HeaderHandler.php b/src/Headers/Handler/HeaderHandler.php
index <HASH>..<HASH> 100644
--- a/src/Headers/Handler/HeaderHandler.php
+++ b/src/Headers/Handler/HeaderHandler.php
@@ -168,6 +168,10 @@ class HeaderHandler implements SubscribingHandlerInterface, EventSubscriberInter
public... | allow to pass dom doc as header | goetas-webservices_soap-common | train | php |
a1466e13db48282b32860e8bf6eabe41fb247c34 | diff --git a/sendgrid/helpers/mail/mail.py b/sendgrid/helpers/mail/mail.py
index <HASH>..<HASH> 100644
--- a/sendgrid/helpers/mail/mail.py
+++ b/sendgrid/helpers/mail/mail.py
@@ -156,7 +156,7 @@ class Mail(object):
@property
def subject(self):
- """The global, or “message level”, subject of this Mail... | Remove smart quotes
Can't use these in Python 2 because we haven't declared an encoding. Oops. | sendgrid_sendgrid-python | train | py |
5f58be8b3e9235da556f935b08e5957d074a1ea1 | diff --git a/src/html/behaviors/HasAttribute.js b/src/html/behaviors/HasAttribute.js
index <HASH>..<HASH> 100644
--- a/src/html/behaviors/HasAttribute.js
+++ b/src/html/behaviors/HasAttribute.js
@@ -44,12 +44,17 @@ class HasAttribute {
}
changedCallback( oldVal, newVal ) {
- const newBehaviors = newV... | prevent empty strings from triggering the behavior-added loop | trusktr_infamous | train | js |
124a0a9bfbaf9bfefcd6d90df51a25befd845e8a | diff --git a/classes/Gems/Default/StaffAction.php b/classes/Gems/Default/StaffAction.php
index <HASH>..<HASH> 100644
--- a/classes/Gems/Default/StaffAction.php
+++ b/classes/Gems/Default/StaffAction.php
@@ -129,6 +129,14 @@ class Gems_Default_StaffAction extends Gems_Controller_BrowseEditAction
//@@TODO: Think... | Fix to prevent change of userclass while editing of users with a UserDefinition that is not yet or no longer supported like the OldStaffUSerDefinition | GemsTracker_gemstracker-library | train | php |
db42b40c4dde5b1b83eb36b9b6792225440a4664 | diff --git a/test/test_GalKin/test_light_profile.py b/test/test_GalKin/test_light_profile.py
index <HASH>..<HASH> 100644
--- a/test/test_GalKin/test_light_profile.py
+++ b/test/test_GalKin/test_light_profile.py
@@ -16,7 +16,7 @@ class TestLightProfile(object):
def test_draw_light(self):
lightProfile = Lig... | test accuracy improved in draw_light_profile | sibirrer_lenstronomy | train | py |
40c595de419364528ae2a98fd8fb06515dac40c5 | diff --git a/spec/ohai/plugins/platform_spec.rb b/spec/ohai/plugins/platform_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/ohai/plugins/platform_spec.rb
+++ b/spec/ohai/plugins/platform_spec.rb
@@ -45,7 +45,7 @@ describe Ohai::System, "plugin platform" do
describe "on lsb compliant distributions" do
before... | Should be lsb_dist_release | chef_ohai | train | rb |
8bbdc4e691933dd1b4ef93e1c18d1fcccaf29634 | diff --git a/src/extensions/scratch3_gdx_for/index.js b/src/extensions/scratch3_gdx_for/index.js
index <HASH>..<HASH> 100644
--- a/src/extensions/scratch3_gdx_for/index.js
+++ b/src/extensions/scratch3_gdx_for/index.js
@@ -775,6 +775,13 @@ class Scratch3GdxForBlocks {
}
getTilt (args) {
+ // When the... | Resolves #<I>: Vernier gdxfor tilt values should be 0 when disconnected. | LLK_scratch-vm | train | js |
f20fd20a06503e73a1eeb88e329f0de905282e6e | diff --git a/lib/express/plugins/view.js b/lib/express/plugins/view.js
index <HASH>..<HASH> 100644
--- a/lib/express/plugins/view.js
+++ b/lib/express/plugins/view.js
@@ -42,7 +42,7 @@ function cacheFiles(type) {
fs.readdirSync(dir).each(function(file){
file = dir + '/' + file
if (!fs.statSync(file).... | Fixed view support due to fs.readFile Buffers | expressjs_express | train | js |
8fd1592308feaf56643b9194719a93f9a01477c0 | diff --git a/routes/adminLogin.js b/routes/adminLogin.js
index <HASH>..<HASH> 100644
--- a/routes/adminLogin.js
+++ b/routes/adminLogin.js
@@ -8,9 +8,9 @@ var route = {
},
post: function (req, res) {
- res.redirect(req.linz.get('admin path'));
+ res.redirect((req.linz.get('admin path') === '' ? '/': req.linz.ge... | A couple of fixes on redirect, to support an 'admin path' of ''. | linzjs_linz | train | js,js |
4fab101f4eca1ce3107af419d5980a34e67fe185 | diff --git a/modules/feed/html/rollup.js b/modules/feed/html/rollup.js
index <HASH>..<HASH> 100644
--- a/modules/feed/html/rollup.js
+++ b/modules/feed/html/rollup.js
@@ -269,7 +269,7 @@ exports.create = function (api) {
}
function ensureMessageAndAuthor (item, cb) {
- if (item.type === 'message' && !item.me... | fix excluding of git messages from feed | ssbc_patchwork | train | js |
f60f7e669a9f1b89de7e68e1fdab7b65fec17ea8 | diff --git a/src/swagger3/open-api3.js b/src/swagger3/open-api3.js
index <HASH>..<HASH> 100644
--- a/src/swagger3/open-api3.js
+++ b/src/swagger3/open-api3.js
@@ -10,6 +10,9 @@ module.exports = {
};
function buildBodyValidation(dereferenced, originalSwagger, currentPath, currentMethod, middlewareOptions = {}) {
+ ... | adding a check for requestBody on current path and method before extracting the schema | Zooz_express-ajv-swagger-validation | train | js |
c8423984fe6d52848caf4f6b636352caaac94211 | diff --git a/src/Stagehand/TestRunner/Core/Transformation/Transformation.php b/src/Stagehand/TestRunner/Core/Transformation/Transformation.php
index <HASH>..<HASH> 100644
--- a/src/Stagehand/TestRunner/Core/Transformation/Transformation.php
+++ b/src/Stagehand/TestRunner/Core/Transformation/Transformation.php
@@ -80,7 ... | Changed the return value type of the setConfigurationPart() method to null. | piece_stagehand-testrunner | train | php |
226f2a5674c9d1d16801cfe7b8c5ac636e849b4a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,10 +14,10 @@ setup(
install_requires=[
'feedparser',
'requests',
- 'pytest-runner',
],
tests_require=[
"pytest",
+ "numpy",
],
# metadata for upload to PyPI
a... | Remove pytest-runner from install requirements, add numpy as test requirement | lukasschwab_arxiv.py | train | py |
43f17e9c395cc75daaee37312246ca02f84cae2c | diff --git a/gothic/gothic.go b/gothic/gothic.go
index <HASH>..<HASH> 100644
--- a/gothic/gothic.go
+++ b/gothic/gothic.go
@@ -99,6 +99,14 @@ var SetState = func(req *http.Request) string {
// This is used to prevent CSRF attacks, see
// http://tools.ietf.org/html/rfc6749#section-10.12
var GetState = func(req *http.... | fetch state from post param instead of url query param | markbates_goth | train | go |
64fac2713a6390148d6c9517ca58bdb58268228c | diff --git a/src/main/java/nl/hsac/fitnesse/fixture/slim/web/RichFacesTest.java b/src/main/java/nl/hsac/fitnesse/fixture/slim/web/RichFacesTest.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nl/hsac/fitnesse/fixture/slim/web/RichFacesTest.java
+++ b/src/main/java/nl/hsac/fitnesse/fixture/slim/web/RichFacesTest.ja... | Disable automatic checking for ajax attributes during repeatUntil call | fhoeben_hsac-fitnesse-fixtures | train | java |
15243857b6597067414adc43d72a4197d5100836 | diff --git a/src/AbstractResponse.php b/src/AbstractResponse.php
index <HASH>..<HASH> 100644
--- a/src/AbstractResponse.php
+++ b/src/AbstractResponse.php
@@ -142,7 +142,7 @@ abstract class AbstractResponse
* @param string $errorCode
* @return mixed
*/
- protected function withError($message, $erro... | Update method visibility to public for AbstractResponse::withError() | ellipsesynergie_api-response | train | php |
b63ac2ed45d68720c5af9b2c52d42339fb5e864e | diff --git a/lib/parse/model/object.rb b/lib/parse/model/object.rb
index <HASH>..<HASH> 100644
--- a/lib/parse/model/object.rb
+++ b/lib/parse/model/object.rb
@@ -459,10 +459,10 @@ module Parse
# Access the value for a defined property through hash accessor. This method
# returns nil if the key is not one of ... | Changes lookup restriction from field_map to fields.
This allows the hash accessor to also use columnized names. | modernistik_parse-stack | train | rb |
220e3ca1d3e4e3adac5061f22cde67b8b1ba230f | diff --git a/src/com/google/javascript/jscomp/TranspilationPasses.java b/src/com/google/javascript/jscomp/TranspilationPasses.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/TranspilationPasses.java
+++ b/src/com/google/javascript/jscomp/TranspilationPasses.java
@@ -96,12 +96,12 @@ public class ... | Rollfoward "Don't rewrite rest and spread during checks only builds"
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
361ae1ac4fed765b3f14712c9831e0cb6880f9ab | diff --git a/res/pending_release_notes.js b/res/pending_release_notes.js
index <HASH>..<HASH> 100644
--- a/res/pending_release_notes.js
+++ b/res/pending_release_notes.js
@@ -1,6 +1,6 @@
(function () {
"use strict";
- /*global xhr*/
+ /*global gpf*/
var
FIRST = 0,
NUMBER = 1,
@@ -9,12... | Pending release notes (embedded in an article) (#<I>) | ArnaudBuchholz_gpf-js | train | js |
d4c6bc9c2b4b95fb0b9c7019195be4736f83110e | diff --git a/src/Routing/DefaultResolver.php b/src/Routing/DefaultResolver.php
index <HASH>..<HASH> 100644
--- a/src/Routing/DefaultResolver.php
+++ b/src/Routing/DefaultResolver.php
@@ -40,6 +40,10 @@ class DefaultResolver
return $this->getScalarResponse($input);
}
+ if (! $field->isNonN... | Update DefaultResolver.php | railt_railt | train | php |
a361c5f807081aa2a41455228bf929cdffb70e3f | diff --git a/src/methods/each.js b/src/methods/each.js
index <HASH>..<HASH> 100644
--- a/src/methods/each.js
+++ b/src/methods/each.js
@@ -4,25 +4,20 @@ module.exports = function each(fn) {
let stop = false;
if (Array.isArray(this.items)) {
- this.items.forEach((item, key, array) => {
- if (!stop) {
- ... | Exit from for loop to reduce execution time
Using `forEach` doesn't give an option to break the loop so implement it ourselves then use `stop` to break from it.
I also like to support the asynchronous each? will it break library? | ecrmnn_collect.js | train | js |
b5bc1ded6e1d01b854bf6f9b5b5e9f3a53f5c66d | diff --git a/vendor/assets/javascripts/viewer.js b/vendor/assets/javascripts/viewer.js
index <HASH>..<HASH> 100644
--- a/vendor/assets/javascripts/viewer.js
+++ b/vendor/assets/javascripts/viewer.js
@@ -2022,6 +2022,11 @@ function updateViewarea() {
return;
var visible = PDFView.getVisiblePages();
var visibl... | Bob added alert when no pages are loaded. | cph_pdfjs-rails | train | js |
83dde846ff1d26afcedcdefc699449664769a7d1 | diff --git a/bootstrap/start.php b/bootstrap/start.php
index <HASH>..<HASH> 100644
--- a/bootstrap/start.php
+++ b/bootstrap/start.php
@@ -136,6 +136,18 @@ add_filter('themosisAdminGlobalObject', function($paths){
});
/*----------------------------------------------------*/
+// Load the WordPress Media API assets b... | Fix #<I>. The framework loads by default the WordPress Media API assets. | themosis_framework | train | php |
9fd53af8b7e7a9513d5ef67ee036896acc213a78 | diff --git a/lib/i18nliner/base.rb b/lib/i18nliner/base.rb
index <HASH>..<HASH> 100644
--- a/lib/i18nliner/base.rb
+++ b/lib/i18nliner/base.rb
@@ -45,4 +45,5 @@ module I18nliner
setting :inferred_key_format, :underscored_crc32
setting :infer_interpolation_values, true
setting :base_path, ... | configurable underscored key length (now <I> instead of <I>), fixes #3 | jenseng_i18nliner | train | rb,rb |
8ed30e97652806151b9062581f921a75e23aed26 | diff --git a/lib/rack/spriter.rb b/lib/rack/spriter.rb
index <HASH>..<HASH> 100644
--- a/lib/rack/spriter.rb
+++ b/lib/rack/spriter.rb
@@ -23,7 +23,9 @@ module Rack
private
def generate_css(env)
if Rack::Request.new(env).path =~ %r{stylesheets\/(.+)\.css$}
- generated_css($1)
+ name = $1
... | Middleware should ignore non-existent files.
Requesting a CSS file that has no .spriter equivalent shouldn't cause all the CSS and images to be regenerated. | reevoo_spriter | train | rb,rb |
778f57addef220e4c7b29ea98ebcece311bcc59a | diff --git a/lib/odf/hyperlink.rb b/lib/odf/hyperlink.rb
index <HASH>..<HASH> 100644
--- a/lib/odf/hyperlink.rb
+++ b/lib/odf/hyperlink.rb
@@ -20,9 +20,9 @@ require 'builder'
module ODF
class Hyperlink
- def initialize(text, opts = {})
+ def initialize(text, second = {})
@content = text
- @href ... | Accept link ref purely in second argument too
A little more input liberality | westonganger_rodf | train | rb,rb |
b4042e209ba714a96198f66a527a2af3b0e21770 | diff --git a/src/js/slide/slide.js b/src/js/slide/slide.js
index <HASH>..<HASH> 100644
--- a/src/js/slide/slide.js
+++ b/src/js/slide/slide.js
@@ -592,6 +592,10 @@ class Slide {
);
this.zoomLevels.update(this.width, this.height, this.panAreaSize);
+
+ pswp.dispatch('calcSlideSize', {
+ slide... | added calcSlideSize event (when size of slide is calculated, but before it's applied) | dimsemenov_PhotoSwipe | train | js |
0ff17954164bc759b3c0f76cd2eabb310fbc74e5 | diff --git a/squad/api/rest.py b/squad/api/rest.py
index <HASH>..<HASH> 100644
--- a/squad/api/rest.py
+++ b/squad/api/rest.py
@@ -512,7 +512,8 @@ class PatchSourceSerializer(serializers.HyperlinkedModelSerializer):
fields = '__all__'
extra_kwargs = {
'token': {'write_only': True},
- ... | api: rest: give write only access to _password field | Linaro_squad | train | py |
1d7ed2ec95532fbe010e5fc07e575e7e954fe2cf | diff --git a/lib/that_language.rb b/lib/that_language.rb
index <HASH>..<HASH> 100644
--- a/lib/that_language.rb
+++ b/lib/that_language.rb
@@ -32,6 +32,8 @@ module ThatLanguage
end
end
+ private
+
def detect
@detect ||= Detect.new(lookup_context)
end
diff --git a/spec/that_language_spec.... | Remove .lookup_context / .details from public API | Deradon_that_language | train | rb,rb |
c370264c0cc82a921640fbb856a88510fb8cf46b | diff --git a/test/create-servers-test.js b/test/create-servers-test.js
index <HASH>..<HASH> 100644
--- a/test/create-servers-test.js
+++ b/test/create-servers-test.js
@@ -35,6 +35,23 @@ test('only http', function (t) {
});
});
+test('only http, port 0', function (t) {
+ t.plan(4);
+ createServers({
+ log: co... | [test] Added functional unit test for #<I>. | indexzero_create-servers | train | js |
6942fa60691df6db92b97b65d0f6fa6468e585fe | diff --git a/lib/record_store/record.rb b/lib/record_store/record.rb
index <HASH>..<HASH> 100644
--- a/lib/record_store/record.rb
+++ b/lib/record_store/record.rb
@@ -86,17 +86,15 @@ module RecordStore
"[#{type}Record] #{fqdn} #{ttl} IN #{type} #{rdata_txt}"
end
- class << self
- protected
+ de... | Lint: ineffective access modifier
- protected access modifiers don't make singleton methods | Shopify_record_store | train | rb |
dfad7c459f70e74905543cd502b212aa6493e8a8 | diff --git a/is.go b/is.go
index <HASH>..<HASH> 100644
--- a/is.go
+++ b/is.go
@@ -46,7 +46,6 @@ import (
"path/filepath"
"reflect"
"strings"
- "testing"
)
// T reports when failures occur.
@@ -186,7 +185,7 @@ func (is *I) New(t T) *I {
// // TODO: test
// })
// }
-func (is *I) NewRelaxed(t *testing.T) ... | Refactor NewRelaxed method | matryer_is | train | go |
aaa847816c2363d3dc55e1bef7b1b1b12cae8a0b | diff --git a/tests/test_hunter.py b/tests/test_hunter.py
index <HASH>..<HASH> 100644
--- a/tests/test_hunter.py
+++ b/tests/test_hunter.py
@@ -16,6 +16,7 @@ except ImportError:
import pytest
+import hunter
from hunter import And
from hunter import Not
from hunter import Or
@@ -493,3 +494,9 @@ def test_predicate... | Assert that is run with proper backend. | ionelmc_python-hunter | train | py |
f8167ab36f9987403de53c6997dcbc170a841f84 | diff --git a/txscript/script.go b/txscript/script.go
index <HASH>..<HASH> 100644
--- a/txscript/script.go
+++ b/txscript/script.go
@@ -300,9 +300,6 @@ func calcSignatureHash(script []parsedOpcode, hashType SigHashType, tx *wire.Msg
// inputs that are not currently being processed.
txCopy := tx.Copy()
for i := ran... | txscript: Remove unneeded signature hash copies
These copies were likely left over from when MsgTx had no deep copy
functionality. | btcsuite_btcd | train | go |
8b3421e1e018f9801a73081da119c8d47a0c879a | diff --git a/WeaveData/src/WeavePathData.js b/WeaveData/src/WeavePathData.js
index <HASH>..<HASH> 100644
--- a/WeaveData/src/WeavePathData.js
+++ b/WeaveData/src/WeavePathData.js
@@ -695,7 +695,7 @@ weave.WeaveTreeNode.prototype.getChildren = function() {
return this
._eval('var lookup = ' + weaveTreeNodeLookup +... | fixed bug where WeaveTreeNode serial 0 was overwritten | WeaveTeam_WeaveJS | train | js |
72853438ac295b01e5b69e04977087223a181ecd | diff --git a/src/api/sql.js b/src/api/sql.js
index <HASH>..<HASH> 100644
--- a/src/api/sql.js
+++ b/src/api/sql.js
@@ -3,6 +3,9 @@
var root = this;
function SQL(options) {
+ if(cdb === this || window === this) {
+ return new SQL(options);
+ }
if(!options.user) {
throw new Error("user shou... | added the possibility of calling cartodb.SQL without new | CartoDB_carto.js | train | js |
36d43f249b46bb85c417575518fd71393139cecc | diff --git a/test/tests/functional/pool_tests.js b/test/tests/functional/pool_tests.js
index <HASH>..<HASH> 100644
--- a/test/tests/functional/pool_tests.js
+++ b/test/tests/functional/pool_tests.js
@@ -39,7 +39,7 @@ describe('Pool tests', function() {
}
});
- it.only('Should only listen on connect once', {
... | test(pool): remove .only in test
came in #<I> | mongodb-js_mongodb-core | train | js |
d3a8e591d3e66893c5eaf00d119ad1fa55e2b0f3 | diff --git a/src/Purekid/Mongodm/Model.php b/src/Purekid/Mongodm/Model.php
index <HASH>..<HASH> 100644
--- a/src/Purekid/Mongodm/Model.php
+++ b/src/Purekid/Mongodm/Model.php
@@ -256,6 +256,20 @@ abstract class Model
}
/**
+ * retrieve a record by MongoRef
+ * @param mixed $ref
+ * @return Purekid\Mongodm\Mod... | add a method that retrieve record by MongoRef | purekid_mongodm | train | php |
a81597717c26dda19e96fbae5541bfe18a5b0d28 | diff --git a/src/directives/resizemap.js b/src/directives/resizemap.js
index <HASH>..<HASH> 100644
--- a/src/directives/resizemap.js
+++ b/src/directives/resizemap.js
@@ -36,22 +36,27 @@ ngeo.resizemapDirective = function($window) {
var map = scope.$eval(prop);
goog.asserts.assertInstanceof(map, o... | Call renderSync after updateSize
This commit changes the resizemap directive's RAF callback to call map.renderSync after calling map.updateSize. updateSize is called in a RAF callback so it makes sense not to defer the render of the map to the next animation frame. | camptocamp_ngeo | train | js |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.