diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
- *
+ * <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ * <p>
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ * <p>
... | fix(jupiter): better handle end response | null | gravitee-io/gravitee-api-management | Apache License 2.0 | Java |
@@ -108,10 +108,10 @@ export class DocsViewerComponent implements OnDestroy {
this._componentExamples.forEach((components) => examples.push(...components));
}
this._embeddedComponents.forEach((comp) => {
- const embeddedComponentElements = this.nextViewContainer.querySelectorAll('docs-source-example[example]');
+ const... | fix(docs): correct access of Nodelist | null | dynatrace-oss/barista | Apache License 2.0 | TypeScript |
@@ -83,8 +83,10 @@ function handleRequestTimeouts(req, res, next) {
res.end = function(chunk, encoding) {
clearTimeout(timeoutId);
+ if (!res.headersSent) {
res.end = end;
res.end(chunk, encoding);
+ }
};
next();
| fix: disable sending of response after timeout | null | tid-lab/aggie | MIT License | JavaScript |
@@ -32,6 +32,10 @@ namespace Files.App.Shell
}
}
}
+ if (!newMenuItems.Any(x => ".txt".Equals(x.Extension, StringComparison.OrdinalIgnoreCase)))
+ {
+ newMenuItems.Add(await CreateShellNewEntry(".txt", null, null, null));
+ }
return newMenuItems;
}
@@ -68,20 +72,23 @@ namespace Files.App.Shell
return null;
}
- private ... | fix: Added missing txt and zip options in the new file menu | null | files-community/files | MIT License | C# |
@@ -176,14 +176,18 @@ void ErrorMessageListener(v8::Local<v8::Message> message,
v8::Isolate* isolate = v8::Isolate::GetCurrent();
node::Environment* env = node::Environment::GetCurrent(isolate);
- // TODO(codebytere): properly emit the after() hooks now
- // that the exception has been handled.
- // See node/lib/intern... | fix: properly emit after hooks after exception | null | electron/electron | MIT License | C++ |
@@ -667,7 +667,7 @@ class LocalSession(Session):
logger.error(_module_import_error("yaml", "Local mode", "local"))
raise e
- self.config = yaml.load(open(sagemaker_config_file, "r"))
+ self.config = yaml.safe_load(open(sagemaker_config_file, "r"))
if self._disable_local_code and "local" in self.config:
self.config["loc... | fix: yaml safe_load sagemaker config | null | aws/sagemaker-python-sdk | Apache License 2.0 | Python |
@@ -426,12 +426,12 @@ public:
auto fitness = std::get<0>(workerIter->first);
auto used = std::get<1>(workerIter->first);
if (fitness > requiredFitness || used > requiredUsed) {
- requiredFitness = fitness;
- requiredUsed = used;
if (logServerSet->size() >= required && logServerSet->validate(policy)) {
bCompleted = true... | fix: requiredFitness was being set to one higher than the actual requirement | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -99,13 +99,12 @@ do
LD_LIBRARY_PATH=${BUILD_DIR}/dnn/cuda-stub:$LD_LIBRARY_PATH auditwheel repair -L ${NEW_LIB_PATH} ${BUILD_DIR}/staging/dist/Meg*.whl
else
mkdir -p ${SRC_DIR}/scripts/whl/manylinux2010/output/wheelhouse
- cd ${SRC_DIR}/scripts/whl/manylinux2010/output/wheelhouse
- mv ${BUILD_DIR}/staging/dist/Meg*$... | fix(whl/linux): fix mv failed if output have old whl | null | megengine/megengine | Apache License 2.0 | Shell |
@@ -260,7 +260,7 @@ ServerKnobs::ServerKnobs(bool randomize, ClientKnobs* clientKnobs) {
init( SHUTDOWN_TIMEOUT, 600 ); if( randomize && BUGGIFY ) SHUTDOWN_TIMEOUT = 60.0;
init( MASTER_SPIN_DELAY, 1.0 ); if( randomize && BUGGIFY ) MASTER_SPIN_DELAY = 10.0;
init( WAIT_FOR_GOOD_RECRUITMENT_DELAY, 0.1 );
- init( ATTEMPT_R... | fix: knob was set to incorrect value | null | apple/foundationdb | Apache License 2.0 | C++ |
/**
* Copyright (c) 2016, The National Archives <pronom@nationalarchives.gsi.gov.uk>
* All rights reserved.
- * <p>
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions are met:
- * <p>
+ *
* * Redistributions of source code must... | fix: minor license header error because of file reformating | null | digital-preservation/droid | BSD 3-Clause New or Revised License | Java |
@@ -24,6 +24,7 @@ class EventsViewModel(private val eventService: EventService, private val prefer
val error: LiveData<String> = mutableError
private val mutableShowShimmerEvents = MutableLiveData<Boolean>()
val showShimmerEvents: LiveData<Boolean> = mutableShowShimmerEvents
+ private var lastSearch = ""
var savedLocat... | fix: make search in EventsFragment works again | null | fossasia/open-event-attendee-android | Apache License 2.0 | Kotlin |
@@ -32,7 +32,6 @@ impl DeleteCommand {
if inner.nodes.is_empty() {
eprintln!("No nodes registered on this system!");
- std::process::exit(0);
}
inner.nodes.iter().map(|(name, _)| name.clone()).collect()
| fix(rust): fix `ockam node delete -a -f` when there are no nodes | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -372,31 +372,16 @@ public class TotemProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_ALARM, BitUtil.check(status, 32 - 5) ? Position.ALARM_GEOFENCE_EXIT : null);
position.set(Position.KEY_ALARM, BitUtil.check(status, 32 - 6) ? Position.ALARM_GEOFENCE_ENTER : null);
position.set(Position.KEY_A... | fix: Totem - remove individual bit decoding and store the whole status in KEY_STATUS | null | traccar/traccar | Apache License 2.0 | Java |
@@ -69,7 +69,7 @@ describe('packages/umi-ui-tasks/src/server/util/index.ts', () => {
love: 'love',
},
bin: 'umi',
- args: [],
+ args: ['build'],
});
});
});
| fix: ui tasks test case | null | umijs/umi | MIT License | TypeScript |
@@ -513,7 +513,6 @@ def plot_acf_pacf(config: Settings, series: pd.Series, figsize: tuple = (15, 5))
return plot_360_n0sc0pe(config)
-@manage_matplotlib_context()
def plot_timeseries_heatmap(
config: Settings, df: pd.DataFrame, figsize: Tuple[int, int] = (12, 5)
) -> plt.Axes:
| fix: plot not showing when run twice | null | ydataai/pandas-profiling | MIT License | Python |
@@ -270,14 +270,20 @@ class TextBoxComponent<T extends TextRenderer> extends TextComponent {
}
}
+ final Set<Image> cachedToRemove = {};
+
Future<void> redraw() async {
final newSize = _recomputeSize();
final cachedImage = cache;
- if (cachedImage != null) {
+ if (cachedImage != null && !cachedToRemove.contains(cachedI... | fix: TextBoxComponent's boxConfig timePerChar generates "Optimized Out" error | null | flame-engine/flame | MIT License | Dart |
@@ -47,7 +47,7 @@ struct DetailView: View, StoreAccessor, PersistenceAccessor {
)
DescScrollView(detail: detail)
ActionRow(
- detail: detail,
+ state: mangaState,
ratingAction: onUserRatingChanged
) {
onSimilarGalleryTap(title: detail.title)
@@ -74,7 +74,7 @@ struct DetailView: View, StoreAccessor, PersistenceAccessor ... | fix: Restore userRating feature | null | ehpanda-team/ehpanda | MIT License | Swift |
import re
+import click
from werkzeug.routing import Rule
@@ -35,7 +36,7 @@ class PathResolver():
return frappe.flags.redirect_location, RedirectPage(self.path)
endpoint = resolve_path(self.path)
- custom_renderers = frappe.get_hooks('page_renderer')
+ custom_renderers = self.get_custom_page_renderers()
renderers = cus... | fix: Custom page renderer logic | null | frappe/frappe | MIT License | Python |
@@ -1844,6 +1844,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
}
case "video camera line":
{
+ Status.Cameras.Clear();
+
JsonConvert.PopulateObject(responseObj.ToString(), Status.Cameras);
if (!_syncState.CamerasHaveBeenSetUp)
@@ -2763,6 +2765,10 @@ namespace PepperDash.Essentials.Devices.Comm... | fix(essentials): Fixes SetupCameras to not add duplicate cameras to the list | null | pepperdash/essentials | MIT License | C# |
@@ -140,7 +140,14 @@ export default class NashaOrderController {
capacityFocus() {
this.capacity.plans = this.plans
.filter(({ diskType }) => diskType === this.diskType.value)
- .sort(({ capacity: { value: a } }, { capacity: { value: b } }) => a - b);
+ .sort((planA, planB) => {
+ const capacityA = planA.capacity.value... | fix(nasha.order): sorting products by price | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
@@ -55,7 +55,7 @@ const outputFileComparator = compareByAll([
* @param {'debug' | 'release'} buildType
* @param {{arch?: string}} options
*/
-function findOutputFiles (bundleType, buildType, { arch }) {
+function findOutputFiles (bundleType, buildType, { arch } = {}) {
let files = glob.sync(`**/*.${bundleType}`, {
abso... | fix: optional arch parameter | null | apache/cordova-android | Apache License 2.0 | JavaScript |
@@ -4,7 +4,7 @@ export default function (expandedParentClass = '') {
return {
enter (el, done) {
el._parent = el.parentNode
-
+ el._height = el.style.height
addOnceEventListener(el, 'transitionend', done)
// Get height that is to be scrolled
@@ -14,14 +14,20 @@ export default function (expandedParentClass = '') {
expan... | fix(v-expansion-transition): do not overwrite user defined height | null | vuetifyjs/vuetify | MIT License | JavaScript |
@@ -212,6 +212,7 @@ void *S3Uploader::MainCollectResults(void *data) {
assert(info->mmf == NULL);
assert(info->origin_file == NULL);
}
+ delete info;
}
#ifdef _POSIX_PRIORITY_SCHEDULING
sched_yield();
@@ -434,7 +435,6 @@ bool S3Uploader::Peek(const std::string& path) {
assert(c == 'c');
ClosePipe(peek_ctrl.pipe_wait);
... | fix: delete a completed JobInfo to avoid memory leak in upload_s3 | null | cvmfs/cvmfs | BSD 3-Clause New or Revised License | C++ |
+import json
import os
import re
-import requests
import shlex
import subprocess
import sys
+import urllib.request
+def get_files_list(pr_number):
+ req = urllib.request.Request(f"https://api.github.com/repos/frappe/frappe/pulls/{pr_number}/files")
+ res = urllib.request.urlopen(req)
+ dump = json.loads(res.read().deco... | fix: Use urllib instead of requests | null | frappe/frappe | MIT License | Python |
@@ -14,6 +14,7 @@ import java.security.SecureRandom;
import java.security.KeyManagementException;
import java.security.KeyStore;
import java.security.KeyStoreException;
+import java.security.UnrecoverableKeyException;
import java.security.cert.CertificateException;
@@ -44,6 +45,9 @@ public class ElasticsearchSSLContext... | fix(metadata-service): actually load keys from keystore for elastic connections | null | linkedin/datahub | Apache License 2.0 | Java |
@@ -139,7 +139,7 @@ public static IConfiguration With<TService>(this IConfiguration configuration, F
/// <returns>The new instance without the services.</returns>
public static IConfiguration Without<TService>(this IConfiguration configuration)
{
- var items = configuration.Services.OfType<TService>();
+ var items = co... | fix: ConfigurationExtensions.Without<TService>() cast to IEnumerable<object> to call appropriate Without() overload | null | anglesharp/anglesharp | MIT License | C# |
@@ -11,7 +11,9 @@ pub struct Heap {
end: Address<usize, Page>,
brk: Address<usize, Page>,
brk_max: Address<usize, Page>,
- ledger: Ledger<4094>,
+ // FIXME: use a dynamic Ledger
+ // https://github.com/enarx/enarx/issues/2264
+ ledger: Ledger<8188>,
}
impl Heap {
| fix(shim-sgx): increase the number of heap ledger entries | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -53,7 +53,7 @@ class CommandClient(private val commandList: Set<AbstractCommand>, private val c
commandFinder(event)
} catch (t: Throwable) {
t.printStackTrace()
- t.sendInGuild(event.guild, shouldSend = false)
+ t.sendInGuild(if (event.isFromGuild) event.guild else null, shouldSend = false)
}
}
}
| fix: dm exceptions werent logged | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -275,7 +275,7 @@ impl Dictionary {
}
}
}
- _ => unreachable!(format!("operator {:?} not supported for row_ids_equal", op)),
+ _ => unreachable!("operator {:?} not supported for row_ids_equal", op),
}
} else if let cmp::Operator::NotEqual = op {
// special case - the column does not contain the value in the
@@ -410,7... | fix: Use a string literal with unreachable | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -777,11 +777,11 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
} else {
is_list_nav = true;
//For image view
- if($('.image-view-container').is(':visible')) {
+ if($page.find('.image-view-container').is(':visible')) {
is_image_view = true;
- this.list_items = $('.image-view-item').filter('... | fix: remove global selector | null | frappe/frappe | MIT License | JavaScript |
@@ -62,8 +62,8 @@ func (c *Certifier) getAuthorizations(order acme.ExtendedOrder) ([]acme.Authoriz
func (c *Certifier) deactivateAuthorizations(order acme.ExtendedOrder) {
for _, auth := range order.Authorizations {
- if err := c.core.Authorizations.Deactivate(auth); err != nil {
- log.Infof("Unable to deactivated auth... | fix: confusing message | null | go-acme/lego | MIT License | Go |
@@ -2180,6 +2180,7 @@ static void process_mop_get_complete(conn *c)
} else { /* ENGINE_ENOMEM */
STATS_NOKEY(c, cmd_mop_get);
mc_engine.v1->map_elem_release(mc_engine.v0, c, elem_array, elem_count);
+ if (respbuf != NULL)
free(respbuf);
if (c->ewouldblock)
c->ewouldblock = false;
@@ -10014,6 +10015,7 @@ static void pro... | fix: free the response string buffer only if it is not NULL | null | naver/arcus-memcached | Apache License 2.0 | C |
@@ -7103,11 +7103,14 @@ ACTOR Future<Void> changeFeedWaitLatest(ChangeFeedData* self, Version version) {
if (onEmpty.size()) {
wait(waitForAll(onEmpty));
+ }
+
+ if (self->mutations.isEmpty()) {
wait(delay(0));
}
// then, wait for client to have consumed up through version
- if (!self->mutations.isEmpty()) {
+ while (!... | fix: merge cursors can have more mutations sent to self->mutations after it goes empty | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -49,6 +49,7 @@ LLBC_LogJsonMsg::LLBC_LogJsonMsg(bool loggerInited, LLBC_Logger *logger, const c
, _lv(lv)
, _doc(*LLBC_GetObjectFromUnsafetyPool<LLBC_Json::Document>())
{
+ _doc.SetObject();
}
LLBC_LogJsonMsg::~LLBC_LogJsonMsg()
| fix: json log crash | null | lailongwei/llbc | MIT License | C++ |
@@ -43,7 +43,7 @@ if grep "${WEBHOOK_SECRET_NAME}" -w <cache_secret.txt; then
webhook_secret_exists=true
fi
-if [ "$webhook_config_exists" == "true" ] && [ "$webhook_config_exists" == "true" ]; then
+if [ "$webhook_config_exists" == "true" ] && [ "$webhook_secret_exists" == "true" ]; then
echo "Webhook config and secre... | fix(cache): cache-deployer should check both secret and config | null | kubeflow/pipelines | Apache License 2.0 | Shell |
@@ -1044,6 +1044,13 @@ func (self *SInstance) GetProjectId() string {
}
func (self *SInstance) GetError() error {
+ if self.Properties.InstanceView != nil {
+ for _, status := range self.Properties.InstanceView.Statuses {
+ if status.Code == "ProvisioningState/failed/AllocationFailed" {
+ return errors.Errorf("%s %s", ... | fix(region): show azure deploy failed error | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -206,6 +206,8 @@ namespace acl
}
else
metadada_header->track_name_offsets = invalid_ptr_offset();
+
+ metadada_header->parent_track_indices = invalid_ptr_offset(); // Not supported for scalar tracks
}
// Finish the raw buffer header
| fix(compression): make sure offset is invalid for scalar tracks | null | nfrechette/acl | MIT License | C |
@@ -1488,7 +1488,7 @@ struct TagPartitionedLogSystem : ILogSystem, ReferenceCounted<TagPartitionedLogS
while(lockNum < oldLogSystem->lockResults.size()) {
if(oldLogSystem->lockResults[lockNum].logSet->locality == remoteLocality) {
std::pair<Version,Version> versions = wait(TagPartitionedLogSystem::getDurableVersion(sel... | fix: the startVersion cannot be larger than the known committed version | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -27,25 +27,34 @@ import static org.junit.Assert.assertNotNull;
@RequiredHistoryLevel(ProcessEngineConfiguration.HISTORY_ACTIVITY)
public class HistoryCleanupOnConsecutiveEngineBootstrap {
- private static final String FIRST_ENGINE_NAME = "engineWithoutHistoryCleanupBatchWindow";
- private static final String SECOND_... | fix(engine): add additional step in historycleanupjob reconf test case | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
package org.burningokr.service.demoWebsite;
-import lombok.RequiredArgsConstructor;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.core.io.Resource;
-import org.springframework.scheduling.annotation.Scheduled;
-import org.springframework.stereotype.Service;
-import org.springfra... | fix(demo timer): entity manager now gets closed after sql query for the timer | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -13,11 +13,11 @@ enum EtherKeystoreError: LocalizedError {
}
// swiftlint:disable type_body_length
-///We use ECDSA keys (created and stored in the Secure Enclave), achieving symmetric encryption based on Diffie-Hellman to encrypt the HD wallet seed and raw private keys and store the ciphertext in the keychain.
+///... | fix: EtherKeystore class comments to say entropy and not seed | null | alphawallet/alpha-wallet-ios | MIT License | Swift |
import eu.cloudnetservice.node.command.annotation.Description;
import eu.cloudnetservice.node.command.exception.ArgumentNotAvailableException;
import eu.cloudnetservice.node.command.source.CommandSource;
+import eu.cloudnetservice.node.command.source.ConsoleCommandSource;
import java.text.DateFormat;
import java.text.S... | fix(node): require console sender for screen command | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -7,5 +7,6 @@ public class TodoItemDto
public DateTimeOffset Date { get; set; }
public bool IsDone { get; set; }
+ [JsonIgnore]
public bool IsInEditMode { get; set; }
}
| fix(templates): add the JsonIgnore attribute for IsInEditMode of the TodoItemDto class | null | bitfoundation/bitframework | MIT License | C# |
@@ -51,7 +51,7 @@ if [ "$TRAVIS_BRANCH" == "$TRAVIS_LATEST_RELEASE_WEBSITE_BRANCH" ]; then
# Remove all folders and files from gh-pages, but folder master
cd gh-pages
- find . -maxdepth 1 ! -name master -exec rm -rv "{}" \; || exit 0
+ find . -maxdepth 1 ! -name master ! -name .git -exec rm -rv "{}" \; || exit 0
cd ..
... | fix: skip deletion of .git folder | null | sap/ui5-webcomponents | Apache License 2.0 | Shell |
#!/usr/bin/env bash
# This is the revert patch from ./fixElectronBug.sh
+PWD="$(pwd)"
+# Note: This may return `/usr/local/bin/sed /usr/bin/sed` if both macOS Sed and GNU Sed are installed.
+SED_MAC_DIR="$(which -a sed)"
FIND='"${path.join(configurator.projectDir, "static").replace(\/\\\\\/g, "\\\\\\\\")}"'
REPLACE='pr... | fix: Apply fix for sed error on macOS to the symmetrical operation | null | openethereum/fether | BSD 3-Clause New or Revised License | Shell |
@@ -517,7 +517,7 @@ const TimeSeriesCard = ({
}
: {}),
timeScale: {
- addSpaceOnEdges: addSpaceOnEdges || 1,
+ addSpaceOnEdges: !isNil(addSpaceOnEdges) ? addSpaceOnEdges : 1,
},
}}
width="100%"
| fix(timeseriescard): respect 0 for addSpaceOnEdges | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -85,6 +85,8 @@ namespace MLAPI.SceneManagement
// Move ALL networked objects to the temp scene
MoveObjectsToDontDestroyOnLoad();
+ isSpawnedObjectsPendingInDontDestroyOnLoad = true;
+
// Switch scene
AsyncOperation sceneLoad = SceneManager.LoadSceneAsync(sceneName, LoadSceneMode.Single);
| fix: Spawning objects during scene switch on server | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
@@ -39,7 +39,14 @@ export default function goTo (
}
const startTime = performance.now()
- const targetLocation = getOffset(_target) - settings.offset!
+
+ let targetLocation: number
+ if (typeof _target === 'number') {
+ targetLocation = getOffset(_target) - settings.offset!
+ } else {
+ targetLocation = getOffset(_tar... | fix(goTo): goTo scrolls to container top | null | vuetifyjs/vuetify | MIT License | TypeScript |
@@ -835,7 +835,7 @@ namespace acl
unaligned_write(vector_u64, out_vector_data);
- uint32_t vector_u32 = static_cast<uint32_t>(vector_z) << (32 - num_bits);
+ uint32_t vector_u32 = vector_z << (32 - num_bits);
vector_u32 = byte_swap(vector_u32);
memcpy_bits(out_vector_data, num_bits * 2, &vector_u32, 0, num_bits);
@@ -8... | fix(math): remove redundant cast | null | nfrechette/acl | MIT License | C |
-import { Meteor } from 'meteor/meteor';
-
-import { check } from 'meteor/check'
global.emailAddressRegExpTest = /^[^\s@]+@([^\s@]+){2,}\.([^\s@]+){2,}$/;
global.emailAddressRegExpMatch = /([a-z0-9._-]+@[a-z0-9._-]{2,}\.[a-z0-9._-]{2,})/gi;
| fix: E2E: no imports in /lib/ allowed?! | null | 4minitz/4minitz | MIT License | JavaScript |
@@ -409,6 +409,17 @@ export default class JitsiRemoteTrack extends JitsiTrack {
});
this._trackStreamingStatusImpl.init();
+
+ // In some edge cases, both browser 'unmute' and bridge's forwarded sources events are received before a
+ // LargeVideoUpdate is scheduled for auto-pinning a new screenshare track. If there ar... | fix(connectivity): Fire trackStreaming status update on init | null | jitsi/lib-jitsi-meet | Apache License 2.0 | JavaScript |
* @file Defines core theme elements shared across all themes.
* These items can be overriden on a per theme basis.
*/
-
+import 'focus-visible/dist/focus-visible'
/**
* Colour palette
*
@@ -96,7 +96,7 @@ const buttons = {
'&:hover:enabled': {
bg: 'highlight',
},
- '&:focus': {
+ '&.focus-visible': {
bg: 'highlight',
},... | fix(ui): only focus elements when they receive it through tab | null | ln-zap/zap-desktop | MIT License | JavaScript |
@@ -8,6 +8,11 @@ if [ -z "$PR" ]; then
exit 1
fi
+function mergeable() {
+ local PRN=$1
+ hub api repos/{owner}/{repo}/pulls/$PRN | python -m json.tool | grep '"mergeable": true'
+}
+
function pr_state() {
local PRN=$1
hub api repos/{owner}/{repo}/pulls/$PRN | python -m json.tool | grep '"state"' | cut -d '"' -f 4
@@ -... | fix: [github scripts] make sure label exists after send comment | null | yunionio/yunioncloud | Apache License 2.0 | Shell |
@@ -12,16 +12,6 @@ defmodule Ash.DataLayer.Simple do
use Ash.Dsl.Extension, transformers: @transformers, sections: []
- alias Ash.Query.Operator.{
- Eq,
- GreaterThan,
- GreaterThanOrEqual,
- In,
- IsNil,
- LessThan,
- LessThanOrEqual
- }
-
def can?(_, :create), do: true
def can?(_, :update), do: true
def can?(_, :dest... | fix: fix simple data layer filtering | null | ash-project/ash | MIT License | Elixir |
@@ -2,6 +2,7 @@ package internet_speed
import (
"fmt"
+ "time"
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/plugins/inputs"
@@ -68,7 +69,7 @@ func (is *InternetSpeed) Gather(acc telegraf.Accumulator) error {
fields := make(map[string]interface{})
fields["download"] = s.DLSpeed
fields["upload"] = s.U... | fix: internet_speed input plugin not collecting/reporting latency | null | influxdata/telegraf | MIT License | Go |
@@ -432,7 +432,7 @@ defmodule Ash.Flow.Executor.AshEngine do
name: "Transaction #{inspect(name)}",
verbose?: opts[:verbose?],
tracer: opts[:tracer],
- failure_mode: :continue,
+ failure_mode: :stop,
transaction?: true
)
|> case do
| fix: transaction steps use `failure_mode: :stop` | null | ash-project/ash | MIT License | Elixir |
@@ -1448,7 +1448,7 @@ WIFIReturnCode_t WIFI_Ping( uint8_t * pucIPAddr,
(uint32_t)usCount,
ulIntervalMS);
- if( count < 0 )
+ if( count <= 0 )
return eWiFiFailure;
if( count != usCount )
| fix: Mediatek wifi_ping fail on zero | null | aws/amazon-freertos | MIT License | C |
@@ -80,7 +80,7 @@ if [ $os = linux ] || [ $os = Linux ]; then
VTK_VERSION=''
fi
if [ $WITH_FLTK = ON ]; then
- deps=(${deps[@]} libfltk1.3-dev libxinerama-dev)
+ deps=(${deps[@]} libxi-dev libxmu-dev libxinerama-dev libxcursor-dev libcairo-dev libfltk1.3-dev)
fi
fi
| fix: Install additional libraries required by FLTK [Viewer] | null | biomedia/mirtk | Apache License 2.0 | Shell |
@@ -32,6 +32,11 @@ interface Transaction {
createdAtBlock: string
createdAtTimestamp: string
token: Token
+ to: User
+}
+
+interface User {
+ id: string
}
interface Token {
@@ -145,6 +150,7 @@ const Streams: FC<Props> = (props) => {
<div key={transaction.id}>
{transaction.type} {``}
{transaction.amount} {``} {transacti... | fix: add recipient address to transactions | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -244,7 +244,6 @@ START_TEST(test_001CreateWallet_0008CreateOneTimeWalletFailureProtocolUnknown)
/* 2-2. verify the global variables that be affected */
ck_assert(g_boat_iot_sdk_context.wallet_list[0].is_used == false);
- BoatIotSdkDeInit();
}
END_TEST
| fix: delete BoatIotSdkDeInit(); in test_001CreateWallet_0008CreateOneTimeWalletFailureProtocolUnknown | null | aitos-io/boat-x-framework | Apache License 2.0 | C |
@@ -65,8 +65,8 @@ gboolean Watcher::handleRegisterHost(Watcher* obj,
}
watch = gfWatchNew(GF_WATCH_TYPE_HOST, service, bus_name, object_path, obj);
obj->hosts_ = g_slist_prepend(obj->hosts_, watch);
+ if (!sn_watcher_get_is_host_registered(obj->watcher_)) {
sn_watcher_set_is_host_registered(obj->watcher_, TRUE);
- if (... | fix: check before set is host registered | null | alexays/waybar | MIT License | C++ |
@@ -75,7 +75,7 @@ void init_imperative_rt(py::module m) {
.def("get_shape", &Interpreter::Channel::get_shape)
.def("_get_dev_tensor", &Interpreter::Channel::get_dev_tensor)
.def("apply_op", &Interpreter::Channel::apply_op)
- .def("sync", &Interpreter::Channel::sync);
+ .def("sync", &Interpreter::Channel::sync, py::call... | fix(imperative): release gil on sync | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -732,11 +732,16 @@ impl EditView {
layout.set_font_description(Some(&self.edit_font.borrow().font_desc));
layout.set_text(&line.text);
- let mut ix = 0;
- let attr_list = pango::AttrList::new();
+ // Pango attributes need to be added in reverse order of the style list
+ // Find the end index of the last style first
... | fix(editview): Apply pange style attributes properly | null | cogitri/tau | MIT License | Rust |
@@ -105,7 +105,7 @@ where
S: PartialSource,
{
fn try_get_or_create(&self, name: &str) -> Option<sync::Arc<dyn Renderable>> {
- let cache = self.cache.lock().expect("not to be poisoned and reused");
+ let mut cache = self.cache.lock().expect("not to be poisoned and reused");
if let Some(result) = cache.get(name) {
resul... | fix(liquid-lib): Make LazyStore cache parsed partials | null | cobalt-org/liquid-rust | MIT License | Rust |
@@ -4,12 +4,12 @@ set -e
channel=$(
cd "$(dirname "$0")";
node -p '
- let p;
- try {
- p = require("../lib/node_modules/@solana/web3.js/package.json");
- } catch (err) {
- p = require("../package.json");
- }
+ let p = [
+ "../lib/node_modules/@solana/web3.js/package.json",
+ "../@solana/web3.js/package.json",
+ "../pac... | fix: look harder for solana-web3.js install directory | null | solana-labs/solana-web3.js | MIT License | Shell |
@@ -7,7 +7,7 @@ const { publicFolder } = require('unleash-frontend');
const { defaultLogProvider, validateLogProvider } = require('./logger');
const version = require('./util/version');
-const THIRTY_DAYS = 30 * 24 * 60 * 60 * 1000;
+const TWO_DAYS = 2 * 24 * 60 * 60 * 1000;
function defaultDatabaseUrl() {
if (process.... | fix: default maxAge for session set to two days | null | unleash/unleash | Apache License 2.0 | JavaScript |
@@ -361,7 +361,7 @@ public class NodePackageAnalyzer extends AbstractNpmAnalyzer {
for (Map.Entry<String, JsonValue> entry : deps.entrySet()) {
String pathName = entry.getKey();
String name = pathName;
- final File base;
+ File base;
final int indexOfNodeModule = name.lastIndexOf(NODE_MODULES_DIRNAME);
if (indexOfNodeM... | fix: correct node_module path | null | jeremylong/dependencycheck | Apache License 2.0 | Java |
@@ -85,12 +85,11 @@ function setProviderStatus (that, providerId, message, isError) {
MdnsWs.prototype.connect = function (client) {
const that = this
- const providerId = `${that.options.providerId}.${client.options.hostname}:${client.options.port}`
client
.connect()
.then(() => {
- setProviderStatus(that, providerId,... | fix: SignalK connections dashboard links | null | signalk/signalk-server | Apache License 2.0 | JavaScript |
@@ -28,7 +28,7 @@ os.ui.IconsSVG = {
os.ui.Icons = {
DAYNIGHT: '<i class="fa fa-sun-o"></i><i class="fa fa-moon-o"></i>',
FEATURES: '<img src="' + os.ROOT + 'images/features-base.png" title="Feature layer"/>',
- STATE: '<i class="fa fa-bookmark" title="State file"/>',
+ STATE: '<i class="fa fa-bookmark ml-1" title="Sta... | fix(icons): fixes icon spacing in layers window | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -32,7 +32,7 @@ function getHttpServerArgs(opts: FileServerOptions) {
args.push(`-C ${opts.sslCert}`);
}
if (opts.sslKey) {
- args.push(`-K ${opts.sslCert}`);
+ args.push(`-K ${opts.sslKey}`);
}
if (opts.proxyUrl) {
args.push(`-P ${opts.proxyUrl}`);
| fix(web): pass opt.sslKey parameter to -K option of http-server | null | nrwl/nx | MIT License | TypeScript |
@@ -13,7 +13,7 @@ import {
trigger,
ITERATE_KEY,
pauseTracking,
- enableTracking
+ resetTracking
} from './effect'
import {
isObject,
@@ -64,7 +64,7 @@ const arrayInstrumentations: Record<string, Function> = {}
arrayInstrumentations[key] = function(this: unknown[], ...args: unknown[]) {
pauseTracking()
const res = meth... | fix(reactivity): use resetTracking instead of enableTracking | null | vuejs/vue-next | MIT License | TypeScript |
@@ -73,6 +73,7 @@ const StyledStatefulTable = styled(({ showHeader, data, ...rest }) => (
}
.bx--list-box__menu-item {
height: 2rem;
+ font-weight: normal;
}
.bx--table-toolbar {
| fix(select): select font-weight normal | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -171,6 +171,11 @@ class TokensCardViewController: UIViewController, TokenVerifiableStatusViewContr
navigationItem.leftBarButtonItem = UIBarButtonItem(image: R.image.backWhite(), style: .plain, target: self, action: #selector(didTapCancelButton))
}
+ override func viewWillAppear(_ animated: Bool) {
+ super.viewWillAp... | fix: Navigation bar is too tall (like with large title enabled) for NFT token views | null | alphawallet/alpha-wallet-ios | MIT License | Swift |
@@ -193,6 +193,7 @@ function getFullTrace(props, context) {
// This is true except for fit transforms, where reading in fullData is
// what we want
if (
+ fullTrace &&
fullTrace.transforms &&
!fullTrace.transforms.some(t => ['moving-average', 'fits'].includes(t.type)) &&
!props.fullDataArrayPosition
| fix: lib.getFullTrace> fullData mb empty | null | plotly/react-chart-editor | MIT License | JavaScript |
@@ -16,9 +16,11 @@ export const FormItem: any = (props) => {
return (
<BlockItem className={'nb-form-item'}>
<Item
- className={`${css`& .ant-space{
+ className={`${css`
+ & .ant-space {
flex-wrap: wrap;
- }`}`}
+ }
+ `}`}
{...props}
extra={
field.description ? (
@@ -185,13 +187,15 @@ FormItem.Designer = () => {
}}
/>
... | fix(client): non-empty judgment | null | nocobase/nocobase | Apache License 2.0 | TypeScript |
@@ -56,7 +56,6 @@ void ActivationBenchmark(const char *activation_type, int iters,
static void MICRO_BM##_##TYPE##_##N##_##H##_##W##_##C(int32_t iters) { \
const int32_t buffer_length = N * H * W * C; \
MACE_DEFINE_RANDOM_INPUT(float, input, buffer_length); \
- MACE_DEFINE_RANDOM_INPUT(float, input, buffer_length); \
f... | fix: delete activation tester's redundant code line | null | xiaomi/mace | Apache License 2.0 | C++ |
@@ -806,9 +806,6 @@ class RenderFlowLayoutBox extends RenderLayoutBox {
? 0
: _getChildCrossAxisOffset(flipCrossAxis, runCrossAxisExtent, childCrossAxisExtent);
if (flipMainAxis) childMainPosition -= childMainAxisExtent;
- Offset relativeOffset =
- _getOffset(childMainPosition + paddingLeft, crossAxisOffset + childCros... | fix: height of lines other than first line error | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -219,6 +219,10 @@ class LoginManager:
if not self.user:
return
+ from frappe.core.doctype.user.user import STANDARD_USERS
+ if self.user in STANDARD_USERS:
+ return False
+
reset_pwd_after_days = cint(frappe.db.get_single_value("System Settings",
"force_user_to_reset_password"))
| fix(auth): do not force standard users to reset password | null | frappe/frappe | MIT License | Python |
@@ -88,7 +88,6 @@ public class WebSocketService {
private static final String KEY_JSON_SUBSCRIBE = "Subscribe";
private static final String KEY_JSON_UNSUBSCRIBE = "Unsubscribe";
private static final String KEY_JSON_STATE = "State";
- private static final String KEY_JSON_EVENT = "Event";
private static final String KEY_... | fix: revert "Event" key in external request / no response for external event | null | personium/personium-core | Apache License 2.0 | Java |
@@ -540,7 +540,7 @@ func (c *Client) Voters(ctx context.Context, height *int64, pagePtr, perPagePtr
return nil, err
}
- totalCount := len(l.ValidatorSet.Validators)
+ totalCount := len(l.VoterSet.Voters)
perPage := validatePerPage(perPagePtr)
page, err := validatePage(pagePtr, perPage, totalCount)
if err != nil {
| fix: fix total voters count | null | line/ostracon | Apache License 2.0 | Go |
@@ -626,6 +626,7 @@ parse_availability(
if (pos < xend_pos) {
if ('@' == *pos) {
+ if (pos + 1 == xend_pos) { // keep the backward compatibility for now.
p->has_this = true;
pos++;
if (pos + 1 < xend_pos
@@ -635,6 +636,24 @@ parse_availability(
}
*next_pos_p = pos;
return 1;
+ } else
+ pos ++;
+
+ switch (*pos)
+ {
+ c... | fix: if NULL pointers and be renamed as both exist, NULL pointer should be treated as not available | null | cee-studio/orca | MIT License | C |
@@ -792,6 +792,9 @@ struct TagPartitionedLogSystem : ILogSystem, ReferenceCounted<TagPartitionedLogS
for(int i=0; i<logServers.size(); i++) {
if (tLogReply[i].isValid() && !tLogReply[i].isReady()) {
changes.push_back( ready(tLogReply[i]) );
+ if(buggify_lock_minimal_tlogs) {
+ changes.push_back( logFailed[i]->onChange(... | fix: we need to wait for log server failures if we have not locked all of the logs | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -36,6 +36,7 @@ import java.util.List;
import java.util.Map;
import java.util.UUID;
+import org.junit.Ignore;
import org.junit.Test;
import com.b2international.commons.exceptions.AlreadyExistsException;
@@ -399,6 +400,7 @@ public class SnomedRefSetMemberApiTest extends AbstractSnomedApiTest {
}
+ @Ignore
@Test
public... | fix(snomed): disable OWL expression test with invalid referenced .. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -2,6 +2,7 @@ import React, { Component, Fragment } from 'react'
import { graphql, compose } from 'react-apollo'
import { css } from 'glamor'
import gql from 'graphql-tag'
+import timeago from '../../lib/timeago'
import withT from '../../lib/withT'
import Loader from '../../components/Loader'
@@ -67,6 +68,7 @@ query ... | fix(Search): pass canonical date props to comments UI | null | orbiting/republik-frontend | BSD 3-Clause New or Revised License | JavaScript |
@@ -78,7 +78,14 @@ func (c *Client) handleMessage(b *bin.Buffer) error {
return c.handleAck(b)
case proto.GZIPTypeID:
return c.handleGZIP(b)
- case tg.UpdatesTypeID, tg.UpdateShortTypeID, tg.UpdateShortMessageTypeID:
+ // Handling all types of tg.UpdatesClass.
+ case tg.UpdatesTooLongTypeID,
+ tg.UpdateShortMessageType... | fix(telegram): list all types in handleUpdates case | null | gotd/td | MIT License | Go |
@@ -84,7 +84,7 @@ async function openReader(publication: Publication, manifestUrl: string) {
trackBrowserWindow(readerWindow);
const pathBase64 = manifestUrl.replace(/.*\/pub\/(.*)\/manifest.json/, "$1");
- const pathDecoded = new Buffer(decodeURIComponent(pathBase64), "base64").toString("utf8");
+ const pathDecoded = ... | fix: migrate deprecated "new Buffer()" API to "Buffer.from()" (PR | null | edrlab/thorium-reader | BSD 3-Clause New or Revised License | TypeScript |
@@ -185,7 +185,7 @@ class OptionalDependencyDescriptorCycleProblem(descriptorPath: String, private v
class ShortDescription : InvalidDescriptorProblem("description") {
override val level
- get() = Level.ERROR
+ get() = Level.WARNING
override val detailedMessage
get() = "Description is too short"
@@ -194,7 +194,7 @@ cla... | fix(descriptor checks): make additional checks warnings again so that existing bundled plugins are parsed successfully | null | jetbrains/intellij-plugin-verifier | Apache License 2.0 | Kotlin |
*/
private static int SIZE_MILLIS = cfg.getInt(NACK_CACHE_SIZE_MILLIS, 500);
- /**
- * Assumed rate of the RTP clock.
- */
- private static int RTP_CLOCK_RATE = 90000;
-
- /**
- * <tt>SIZE_MILLIS</tt> expressed as a number of ticks on the RTP clock.
- */
- private static int SIZE_RTP_CLOCK_TICKS
- = (RTP_CLOCK_RATE / 1... | fix: Cleans the cache according to system time | null | jitsi/libjitsi | Apache License 2.0 | Java |
@@ -373,6 +373,8 @@ class SpeakerDiarization(Pipeline):
clusters = self.cls_.fit_predict(affinity)
for speech_turn, cluster in zip(speech_turns, clusters):
+ # HACK find why fit_predict returns NaN sometimes and fix it.
+ cluster = -1 if np.isnan(cluster) else cluster
hypothesis[speech_turn] = cluster
return hypothesis... | fix: temporary workaround once affinity propagation is fixed | null | pyannote/pyannote-audio | MIT License | Python |
@@ -57,11 +57,14 @@ public class DefaultEclParser implements EclParser {
@Override
public ExpressionConstraint parse(String expression) {
- return parse(expression, Set.of());
+ return parse(expression, null);
}
@Override
public ExpressionConstraint parse(String expression, Collection<String> ignoredSyntaxErrorCodes) {... | fix: NPE in DefaultEclParser when no syntax errors are ignored | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -18,7 +18,7 @@ from rocketry.time.construct import get_before, get_between, get_full_cycle, get
from rocketry.args import Task, Session
from rocketry.log.utils import get_field_value
-class TaskStarted(BaseComparable):
+class TaskStarted(TaskStatusMixin):
"""Condition for whether a task has started
(for given period... | fix: Bug in TaskStarted() == 0 | null | miksus/rocketry | MIT License | Python |
@@ -390,7 +390,6 @@ async fn fee_estimate() {
assert!(matches!(err, OutputManagerError::NotEnoughFunds));
}
-#[ignore]
#[allow(clippy::identity_op)]
#[tokio::test]
async fn test_utxo_selection_no_chain_metadata() {
@@ -492,7 +491,7 @@ async fn test_utxo_selection_no_chain_metadata() {
let (_, tx, utxos_total_value) = o... | fix: resolve tests in output_manager_service_tests.rs (see issue | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
import React from 'react';
import ListItemIcon from '@material-ui/core/ListItemIcon';
import ListItemText from '@material-ui/core/ListItemText';
-import { useRouteMatch } from 'react-router-dom';
+import { useLocation } from 'react-router-dom';
import { ListItemLink } from 'tg.component/common/list/ListItemLink';
@@ -1... | fix(ProjectsMenu): menu items route matching | null | tolgee/tolgee-platform | Apache License 2.0 | TypeScript |
@@ -35,8 +35,8 @@ get5latestfile=$(echo -e "${get5scrapepath}" | xargs -n 1 -I @ sh -c "echo -e "b
get5downloadurl="https://ci.splewis.net/job/get5/lastSuccessfulBuild/artifact/${get5scrapepath}"
get5url="${get5downloadurl}"
# Oxide
-oxiderustlatestlink="https://umod.org/games/rust/download/develop" # fix for linux bui... | fix(mods): change url to new domain for oxide + redo last version fetch | null | gameservermanagers/linuxgsm | MIT License | Shell |
@@ -205,7 +205,7 @@ class EventDetailsFragment : Fragment() {
}
// Event Description Section
- val description = event.description.stripHtml()
+ val description = event.description.nullToEmpty().stripHtml()
if (!description.isNullOrEmpty()) {
setTextField(rootView.eventDescription, description)
| fix: convert null description to empty description | null | fossasia/open-event-attendee-android | Apache License 2.0 | Kotlin |
@@ -262,6 +262,7 @@ class ProductDetail extends Component {
}
const productPrice = this.determineProductPrice();
+ const compareAtDisplayPrice = (productPrice.compareAtPrice && productPrice.compareAtPrice.displayAmount) || null;
// Phone size
if (isWidthDown("sm", width)) {
@@ -273,7 +274,7 @@ class ProductDetail exten... | fix: use displayAmount from compareAtPrice object | null | reactioncommerce/example-storefront | Apache License 2.0 | JavaScript |
@@ -2507,11 +2507,17 @@ func (manager *SHostManager) totalCountQ(
q = q.Filter(cond(hosts.Field("enabled")))
}
if !isBaremetal.IsNone() {
- cond := sqlchemy.IsFalse
if isBaremetal.Bool() {
- cond = sqlchemy.IsTrue
+ q = q.Filter(sqlchemy.AND(
+ sqlchemy.IsTrue(hosts.Field("is_baremetal")),
+ sqlchemy.Equals(hosts.Field... | fix: baremetal usage should exclude converted hypervisor | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -606,6 +606,10 @@ impl Tab {
self.full_screen_ws.columns as u16,
self.full_screen_ws.rows as u16,
);
+ let hide_cursor = "\u{1b}[?25l";
+ stdout
+ .write_all(&hide_cursor.as_bytes())
+ .expect("cannot write to stdout");
for (kind, terminal) in self.panes.iter_mut() {
if !self.panes_to_hide.contains(&terminal.pid()) ... | fix(ux): hide cursor while rendering to prevent it from flickering around | null | zellij-org/zellij | MIT License | Rust |
@@ -512,6 +512,9 @@ class RenderFlexLayout extends RenderLayoutBox {
totalWeightedFlexShrink += childOriginalMainSize * childFlexShrink;
}
});
+ if (totalWeightedFlexShrink == 0) {
+ return 0;
+ }
int? childNodeId;
if (child is RenderTextBox) {
@@ -1321,7 +1324,8 @@ class RenderFlexLayout extends RenderLayoutBox {
/// ... | fix: exception in flex-shrink calculation | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -13,15 +13,15 @@ import logger from 'pnpm-logger'
const IS_WINDOWS = isWindows()
-export default async function linkAllBins (modules: string, binDir: string, preserveSymlinks: boolean) {
+export default async function linkAllBins (modules: string, binPath: string, preserveSymlinks: boolean) {
const pkgDirs = await g... | fix(bin): use real .bin directory path | null | pnpm/pnpm | MIT License | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.