diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -26,6 +26,7 @@ import org.onosproject.lisp.ctl.LispRouterId;
import org.onosproject.lisp.ctl.LispRouterListener;
import org.onosproject.lisp.msg.protocols.LispMapNotify;
import org.onosproject.lisp.msg.protocols.LispMapRecord;
+import org.onosproject.lisp.msg.protocols.LispMapRegister;
import org.onosproject.lisp.ms... | fix: Store mapping information when receives MapRegister | null | opennetworkinglab/onos | Apache License 2.0 | Java |
@@ -49,6 +49,7 @@ func NewHandler(appLister applisters.ApplicationLister, namespace string, enable
appResourceTreeFn: appResourceTree,
allowedShells: allowedShells,
namespace: namespace,
+ enabledNamespaces: enabledNamespaces,
}
}
| fix: web terminal namespace handler | null | argoproj/argo-cd | Apache License 2.0 | Go |
@@ -7,7 +7,7 @@ const getUrlWithHash = hashName => {
return `${location.origin}${location.pathname}${location.search}${hash}`
}
-const checkHash = () => Boolean(window.location.hash)
+const checkHash = hash => window.location.hash.includes(hash)
const emptyFn = () => {}
@@ -24,10 +24,10 @@ export default BaseComponent ... | fix(molecule/modal): behaves only with defined hash | null | sui-components/sui-components | MIT License | JavaScript |
@@ -34,7 +34,6 @@ const removeQueryParams = (paramKeysToRemove: Array<string>) => {
};
const DatasourceHomePage = styled.div`
- max-height: 95vh;
.textBtn {
justify-content: center;
text-align: center;
| fix: datasources section overlap | null | appsmithorg/appsmith | Apache License 2.0 | TypeScript |
package me.melijn.melijnbot.commands.utility
import com.sun.management.OperatingSystemMXBean
-import me.melijn.melijnbot.MelijnBot
import me.melijn.melijnbot.internals.JvmUsage
import me.melijn.melijnbot.internals.command.AbstractCommand
import me.melijn.melijnbot.internals.command.CommandCategory
import me.melijn.meli... | fix: wrong variable in msg | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -39,6 +39,7 @@ public struct Permissions {
case offChain = "offchain"
case onChain = "onchain"
case peers
+ case signer
}
private let permissions: [Permissions.Domain: Permissions.AccessMode]
| fix: add missing macaroon permission | null | ln-zap/zap-ios | MIT License | Swift |
@@ -120,7 +120,7 @@ class CodeGenerator {
web3Load = Templates.define_web3_simple({url: connection, done: 'done();'});
} else {
let connectionList = "[" + this.contractsConfig.dappConnection.map((x) => '"' + x + '"').join(',') + "]";
- let isDev = (self.env === 'development');
+ let isDev = self.blockchainConfig.isDev;... | fix(code-generator): use isDev instead of checking env | null | embarklabs/embark | MIT License | JavaScript |
@@ -142,10 +142,16 @@ final class DappBrowserNavigationBar: UINavigationBar {
stackView.spacing = 4
addSubview(stackView)
+ let leadingAnchorConstraint = stackView.leadingAnchor.constraint(equalTo: layoutGuide.leadingAnchor, constant: 10)
+ let trailingAnchorConstraint = stackView.trailingAnchor.constraint(equalTo: lay... | fix: remove Auto Layout warnings upon startup | null | alphawallet/alpha-wallet-ios | MIT License | Swift |
*/
var __table_selector = function ( selector, a )
{
+ if ( $.isArray(selector) ) {
+ return $.map( selector, function (item) {
+ return __table_selector(item, a);
+ } );
+ }
+
// Integer is used to pick out a table by index
if ( typeof selector === 'number' ) {
return [ a[ selector ] ];
| fix: Arrays weren't working for `-api tables()` | null | datatables/datatablessrc | MIT License | JavaScript |
@@ -123,7 +123,7 @@ module Discordrb::API::Channel
channel_id,
:patch,
"#{Discordrb::API.api_base}/channels/#{channel_id}/messages/#{message_id}",
- { content: message, mentions: mentions, embed: embed, components: components }.to_json,
+ { content: message, mentions: mentions, embed: embed, components: components&.to_... | fix: update Discordrb::API::Channel#edit_message to call #to_a on components | null | shardlab/discordrb | MIT License | Ruby |
@@ -14,7 +14,7 @@ int FindNextGap(int x) {
return std::max(1, x);
}
-void CombSort(int b[], int l, int r) {
+void CombSort(int a[], int l, int r) {
// Init gap
int gap = n;
@@ -30,8 +30,8 @@ void CombSort(int b[], int l, int r) {
// Compare all elements with current gap
for (int i = l; i <= r - gap; ++i) {
- if (b[i] >... | fix: Revert `comb_sort` changes | null | thealgorithms/c-plus-plus | MIT License | C++ |
@@ -1287,7 +1287,7 @@ ACTOR Future<Void> respondToRecovered( TLogInterface tli, Promise<Void> recovery
}
finishedRecovery = false;
}
-
+ TraceEvent("TLogRespondToRecovered", tli.id()).detail("finished", finishedRecovery);
loop {
TLogRecoveryFinishedRequest req = waitNext( tli.recoveryFinished.getFuture() );
if(finished... | fix: do not update version if the log has been stopped | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -29,6 +29,7 @@ package org.hisp.dhis.tracker.preheat.supplier;
import java.util.ArrayList;
import java.util.List;
+import java.util.Objects;
import java.util.stream.Collectors;
import org.apache.commons.lang3.tuple.Pair;
@@ -54,7 +55,7 @@ public class ProgramStageInstanceProgramStageMapSupplier
private static final ... | fix: Remove duplicates from PS supplier in Preheat Phase | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -10,7 +10,7 @@ import com.netflix.spinnaker.keel.api.postdeploy.PostDeployAction
*/
class TagAmiPostDeployAction : PostDeployAction() {
override val type = "tag-ami"
- get() = "tag-ami"
+
override val id: String
get() = type
}
| fix(pr): remove unneeded get | null | spinnaker/keel | Apache License 2.0 | Kotlin |
@@ -272,11 +272,11 @@ int main(int argc, char **argv)
if (err)
return err;
if (env.user_threads_only && env.kernel_threads_only) {
- fprintf(stderr, "user_threads_only, kernel_threads_only cann't be used together.\n");
+ fprintf(stderr, "user_threads_only and kernel_threads_only cannot be used together.\n");
return 1;
... | fix: CLI option help typos in offcputime.c | null | iovisor/bcc | Apache License 2.0 | C |
@@ -19,7 +19,7 @@ func waitUntilServiceLogDetected(
logPatterns []string) error {
log.Debug("Waiting for service " + service + " to be ready...")
- err := utils.CheckUntil(5*time.Second, 1*time.Minute, func() (bool, error) {
+ err := utils.CheckUntil(interval, timeout, func() (bool, error) {
logs, err := dockerEnvironm... | fix(utils): fix suite setup timeout | null | authelia/authelia | Apache License 2.0 | Go |
@@ -301,19 +301,23 @@ static void X11Surface_Resize(LCUI_Surface surface, int width, int height)
static void X11Surface_SetCaptionW(LCUI_Surface surface, const wchar_t *wstr)
{
- int len;
+ size_t len;
+ char *caption;
+
LCUI_SurfaceTask task;
+
task = &surface->tasks[TASK_SET_CAPTION];
+ X11Surface_ReleaseTask(surface... | fix(display): memory leak from X11Surface_SetCaptionW() | null | lc-soft/lcui | MIT License | C |
@@ -76,7 +76,9 @@ BOAT_RESULT BoatRandom(BUINT8 *output, BUINT32 outputLen, void *rsvd)
(void)rsvd;
- return random_buffer(output, outputLen);
+ random_buffer(output, outputLen)
+
+ return BOAT_SUCCESS;
}
BOAT_RESULT BoatSignature(BoatWalletPriKeyCtx prikeyCtx,
| fix(L610): Return the correct BOAT_RESULT value | null | aitos-io/boat-x-framework | Apache License 2.0 | C |
@@ -90,16 +90,18 @@ module PactBroker
def overall_latest
self_join = {
Sequel[:pact_publications][:consumer_id] => Sequel[:pp2][:consumer_id],
- Sequel[:pact_publications][:provider_id] => Sequel[:pp2][:provider_id]
+ Sequel[:pact_publications][:provider_id] => Sequel[:pp2][:provider_id],
+ Sequel[:pact_publications][:... | fix: optimise query for calculating the latest overall pacts | null | pact-foundation/pact_broker | MIT License | Ruby |
@@ -73,7 +73,7 @@ func ScaleVMSS(tc *AzureTestClient, vmssName string, instanceCount int64) (err e
return err
}
parameters := azcompute.VirtualMachineScaleSet{
- Location: to.StringPtr(tc.GetLocation()),
+ Location: vmss.Location,
Sku: &azcompute.Sku{
Name: vmss.Sku.Name,
Capacity: to.Int64Ptr(instanceCount),
| fix: get vmss location from the previous vmss data model | null | kubernetes-sigs/cloud-provider-azure | Apache License 2.0 | Go |
@@ -144,7 +144,11 @@ class DeliveryConfigController(
when {
!sendConfigChangedNotification -> false
existing == null -> true
- DefaultResourceDiff(existing, new).hasChanges() -> true
+ DefaultResourceDiff(existing, new).also {
+ if (it.hasChanges()) {
+ log.debug("Found diffs in delivery config ${it.affectedRootPropert... | fix(config): exclude raw config in diff | null | spinnaker/keel | Apache License 2.0 | Kotlin |
@@ -660,7 +660,7 @@ public class MainWindow extends JFrame {
Action exitAction = new AbstractAction(NLS.str("file.exit"), ICON_CLOSE) {
@Override
public void actionPerformed(ActionEvent e) {
- dispose();
+ closeWindow();
}
};
| fix(gui): correct app close on menu exit action | null | skylot/jadx | Apache License 2.0 | Java |
@@ -45,7 +45,7 @@ class OrdersUnderUserVM(
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.doOnSubscribe {
- mutableProgress.value = true
+ mutableProgress.value = mutableAttendeesNumber.value == null
mutableNoTickets.value = false
}.subscribe({
order = it
| fix: Progress bar shows correctly in OrdersUnderUserFragment | null | fossasia/open-event-attendee-android | Apache License 2.0 | Kotlin |
@@ -689,13 +689,20 @@ void bar::handle(const evt::button_press& evt) {
m_buttonpress_pos = evt->event_x;
const auto deferred_fn = [&](size_t) {
- for (auto&& action : m_renderer->actions()) {
- if (action.button == m_buttonpress_btn && !action.active && action.test(m_buttonpress_pos)) {
+ /*
+ * Iterate over all define... | fix(renderer): Handle nested actions events properly | null | polybar/polybar | MIT License | C++ |
@@ -1093,7 +1093,7 @@ ACTOR Future<Void> runTests( Reference<AsyncVar<Optional<struct ClusterControlle
Reference<AsyncVar<Optional<struct ClusterInterface>>> ci, vector<TestSpec> tests, test_location_t at,
int minTestersExpected, StringRef startingConfiguration, LocalityData locality ) {
state int flags = (at == TEST_O... | fix: recruiting a cluster controller takes longer after restarting tests because we wait until files have recovered from disk before starting | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -416,6 +416,8 @@ class Renderer:
self.output.disable_bracketed_paste()
self._bracketed_paste_enabled = False
+ self.output.reset_cursor_shape()
+
# NOTE: No need to set/reset cursor key mode here.
# Flush output. `disable_mouse_support` needs to write to stdout.
@@ -740,7 +742,6 @@ class Renderer:
output.erase_down(... | fix: reset cursorshape correctly when application terminates | null | prompt-toolkit/python-prompt-toolkit | BSD 3-Clause New or Revised License | Python |
@@ -6,7 +6,6 @@ import me.melijn.melijnbot.database.DaoManager
import me.melijn.melijnbot.enums.ChannelRoleState
import me.melijn.melijnbot.internals.utils.awaitBool
import me.melijn.melijnbot.internals.utils.checks.getAndVerifyMusicChannel
-import me.melijn.melijnbot.internals.utils.isPremiumGuild
import me.melijn.mel... | fix: channelroles arent premium locked | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -282,9 +282,9 @@ JSValue Document::getElementsByClassName(QjsContext *ctx, JSValue this_val, int
traverseNode(document->m_documentElement, [ctx, className, &elements](NodeInstance *node) {
if (node->nodeType == NodeType::ELEMENT_NODE) {
auto element = reinterpret_cast<ElementInstance *>(node);
-// if(element->classN... | fix: revert document implementation | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -88,7 +88,7 @@ namespace Microsoft.Playwright.Tests
[PlaywrightTest("browsercontext-viewport.spec.ts", "should respect screensize")]
- [Test, Timeout(TestConstants.DefaultTestTimeout)]
+ [Test, Timeout(TestConstants.DefaultTestTimeout), SkipBrowserAndPlatform(skipFirefox: true)]
public async Task ShouldSupportScreen... | fix(test): screensize isn't supported on Firefox | null | microsoft/playwright-dotnet | MIT License | C# |
@@ -15,7 +15,7 @@ interface FilterListProps {
const FilterList = ({ prefixCls, value, onChange, dataSource }: FilterListProps) => (
<List
className={`${prefixCls}-filter-list`}
- value={value?.toString()}
+ value={value?.map((item) => `${item}`)}
model="multiple"
onChange={(changedKeys) => {
if (!changedKeys) {
| fix(table): fix table filter error | null | growingio/gio-design | Apache License 2.0 | TypeScript |
@@ -120,7 +120,7 @@ public class CodeNode extends JNode implements Comparable<CodeNode> {
}
public static final Comparator<CodeNode> COMPARATOR = Comparator
- .comparing(CodeNode::getJParent)
+ .comparing(CodeNode::makeLongString)
.thenComparingInt(CodeNode::getPos);
@Override
| fix(gui): results in usage search should be sorted by name (PR | null | skylot/jadx | Apache License 2.0 | Java |
@@ -254,9 +254,7 @@ class AlexaMediaSwitch(SwitchDevice, AlexaMedia):
@property
def should_poll(self):
"""Return the polling state."""
- return not (
- self.hass.data[DATA_ALEXAMEDIA]["accounts"][self.email]["websocket"]
- )
+ return True
@_catch_login_errors
async def async_update(self):
| fix: allow switches to poll to sync | null | custom-components/alexa_media_player | Apache License 2.0 | Python |
@@ -620,13 +620,18 @@ class TransactionReceipt:
internalGas = 0
is_internal = True
trace = self.trace
- for i in range(start, stop - 1):
+
+ is_gas_forwarded = trace[start]["depth"] > trace[start - 1]["depth"]
+ for i in range(start, stop):
# Track if we are on the same depth we started.
# Offsetting is required becaus... | fix: clean up gas_calculation | null | eth-brownie/brownie | MIT License | Python |
@@ -858,14 +858,17 @@ static uint32_t get_power_down_flags(void)
}
#endif
- // RTC_FAST_MEM is needed for deep sleep stub.
- // If RTC_FAST_MEM is Auto, keep it powered on, so that deep sleep stub
- // can run.
- // In the new chip revision, deep sleep stub will be optional,
- // and this can be changed.
+#if !CONFIG_E... | fix: RTC_FAST_MEM always power on if used for heap | null | espressif/esp-idf | Apache License 2.0 | C |
@@ -52,6 +52,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigu... | fix: register endpoint controller only when there are endpoints | null | vaadin/flow | Apache License 2.0 | Java |
@@ -385,7 +385,7 @@ class KrakenController {
String bundleURL =
_bundleURL ?? _bundlePath ?? getBundleURLFromEnv() ?? getBundlePathFromEnv();
- if (bundleURL == null && methodChannel == KrakenNativeChannel) {
+ if (bundleURL == null && methodChannel is KrakenNativeChannel) {
bundleURL = await (methodChannel as KrakenNa... | fix: fix getUrl from native API not work | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -127,9 +127,9 @@ frappe.views.CommunicationComposer = Class.extend({
this.setup_last_edited_communication();
this.setup_email_template();
- this.dialog.fields_dict.recipients.set_value(this.recipients || '');
- this.dialog.fields_dict.cc.set_value(this.cc || '');
- this.dialog.fields_dict.bcc.set_value(this.bcc || '... | fix: autoset recipient if email_field in doc | null | frappe/frappe | MIT License | JavaScript |
@@ -78,10 +78,10 @@ function getChangelogEntry (changelog: string, version: string) {
<td align="center" valign="middle">
<a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://raw.githubusercontent.com/pnpm/pnpm.github.io/main/static/img/users/bit.svg" width="80"></a>
</t... | fix: sponsors table in release notes | null | pnpm/pnpm | MIT License | TypeScript |
@@ -201,19 +201,59 @@ var es5_visitors = (function () {
*/
if (constructorFunctionName === returnIdentifierName && !!constructorFunctionName) {
var constructorFunctionScope = extendPath.node.body[1];
- var firstLineOfCtorFunction = constructorFunctionScope.body.body[0];
- if (types.isVariableDeclaration(firstLineOfCtor... | fix(sbg): parse the _super.call(this) call regardless of place in ctor | null | nativescript/android-runtime | Apache License 2.0 | JavaScript |
@@ -24,7 +24,7 @@ export interface Options {
saveFile?: boolean;
skipContent?: boolean;
skipContentModel?: boolean;
- skipEditorInferfaces?: boolean;
+ skipEditorInterfaces?: boolean;
skipRoles?: boolean;
skipWebhooks?: boolean;
useVerboseRenderer?: boolean;
| fix(types): fix typo in types.d.ts file | null | contentful/contentful-export | MIT License | TypeScript |
@@ -22,11 +22,9 @@ import {
getPersistedThemeChoice,
i18n,
pexecInCurrentTab,
- uiThemes,
- Theme
+ uiThemes
} from '@kui-shell/core'
-import { Loading } from '../../..'
import DropdownWidget, { Props as DropdownWidgetProps } from './DropdownWidget'
const strings = i18n('plugin-client-common')
@@ -35,7 +33,7 @@ type Pr... | fix(plugins/plugin-client-common): Theme switching from StatusStripe widget should be quiet | null | ibm/kui | Apache License 2.0 | TypeScript |
@@ -212,7 +212,7 @@ int main(int argc, char** argv)
{
std::shared_ptr<peer_probe> probe(new peer_probe());
probe->start(remote, my_node_id, chain_id);
- probes.push_back( probe );
+ probes.emplace_back( std::move( probe ) );
}
catch (const fc::exception&)
{
@@ -222,10 +222,7 @@ int main(int argc, char** argv)
if (!prob... | fix: waiting for a promise with a timeout can lead to the promise erroring out | null | bitshares-cnvote/newbitshares-core | MIT License | C++ |
@@ -156,7 +156,8 @@ impl Config {
/// `other` overrides `self`.
pub fn merge(&self, other: Self) -> Self {
Self {
- keybinds: self.keybinds.merge_keybinds(other.keybinds),
+ // TODO: merge keybinds in a way that preserves "unbind" attribute
+ keybinds: self.keybinds.clone(),
options: self.options.merge(other.options),
... | fix(config): unbind keys correctly | null | zellij-org/zellij | MIT License | Rust |
@@ -141,6 +141,9 @@ def send(user, room, content, type = "Content"):
def seen(message, user = None):
authenticate(user)
+ has_message = frappe.db.exists('Chat Message', message)
+
+ if has_message:
mess = frappe.get_doc('Chat Message', message)
mess.add_seen(user)
@@ -194,6 +197,9 @@ def mark_messages_as_seen(message_n... | fix: Chat message not found on refresh issue fix | null | frappe/frappe | MIT License | Python |
@@ -713,7 +713,7 @@ public class JdbcEventStore implements EventStore
ProgramType programType = ProgramType.fromValue( rowSet.getString( "p_type" ) );
- if ( programType == ProgramType.WITHOUT_REGISTRATION )
+ if ( programType == ProgramType.WITH_REGISTRATION )
{
eventRow.setEnrollment( rowSet.getString( "pi_uid" ) );
... | fix: Include enrollment followup in eventrow return | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -480,16 +480,19 @@ namespace SpeckleRhino
// gets objects by id directly or by applicaiton id user string
private List<RhinoObject> GetObjectsByApplicationId(string applicationId)
{
- var match = new List<RhinoObject>();
- RhinoObject obj = null;
+ // first try to find the object by app id user string
+ var match = ... | fix(rhino): update receive mode checks for user string before guid match | null | specklesystems/speckle-sharp | Apache License 2.0 | C# |
@@ -63,11 +63,7 @@ import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
@JsonDeserialize(builder = ResourceDocument.Builder.class)
@Script(
name="typeSort",
- script=
- "if (params.orderByType.containsKey(doc.resourceType.value)) {"
- + " return params.orderByType.get(doc.resourceType.value)"
- + "}"
- + "... | fix: refactor script | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
const util = require('util');
const assert = require('assert');
// @ts-ignore
-const wrapEmitter = require('emitter-listener');
+const wrapEmitter = require('./emitter-listener');
// @ts-ignore
const asyncHook = require('async-hook-jl');
const unset = require('./unset');
| fix(tracing): fix vendoring of emitter-listener for legacy cls context | null | instana/nodejs-sensor | MIT License | JavaScript |
@@ -27,7 +27,6 @@ class ChannelInfoCommand : AbstractCommand("command.channelinfo") {
}
val text = getTextChannelByArgsN(context, 0)
val voice = getVoiceChannelByArgsN(context, 0)
- val selfMember = context.selfMember
if (text != null) {
val eb = Embedder(context)
.setTitle("TextChannel Info")
@@ -45,6 +44,7 @@ class C... | fix: This message event did not happen in a text channel | null | toxicmushroom/melijn | MIT License | Kotlin |
#define INVALID_SOCKET -1
#endif
+#define MAX_N_INBOUND 20
+
struct list *g_threads;
pthread_rwlock_t g_threads_rwlock;
int g_nthread;
void (*dnet_connection_close_notify)(void *conn) = 0;
+static int g_n_inbound = 0;
static void dnet_thread_work(struct dnet_thread *t) {
char buf[0x100];
@@ -126,6 +129,7 @@ static void... | fix: limit inbound connections by 20 | null | xdagger/xdag | MIT License | C |
@@ -16,7 +16,7 @@ fi
rm -rf build dist || true
python -m build
-if [[ ! {RELEASE_SKIP_UPLOAD:-} ]]; then
+if [[ ! ${RELEASE_SKIP_UPLOAD:-} ]]; then
python -m twine upload 'dist/*'
fi
git restore src/datahub/__init__.py
| fix(ci): SKIP_RELEASE_UPLOAD flag was not being respected by python release script | null | linkedin/datahub | Apache License 2.0 | Shell |
@@ -67,6 +67,7 @@ class NewTokenViewController: UIViewController {
private let buttonsBar = ButtonsBar(configuration: .green(buttons: 1))
private let changeServerButton = UIButton()
private var scrollViewBottomAnchorConstraint: NSLayoutConstraint!
+ private var shouldFireDetectionWhenAppear: Bool
var server: RPCServerO... | fix: Using universal QR scanner to add custom token doesn't trigger token detection | null | alphawallet/alpha-wallet-ios | MIT License | Swift |
@@ -226,15 +226,8 @@ export class WalletController {
};
private enableReadonlyWallet = (readonlyWallet: ReadonlyWalletController) => {
- if (this.disableWalletConnect) {
- this.disableWalletConnect();
- this.disableWalletConnect = null;
- }
-
- if (this.disableExtension) {
- this.disableExtension();
- this.disableExten... | fix: walletconnect session process | null | anchor-protocol/anchor-web-app | Apache License 2.0 | TypeScript |
@@ -40,20 +40,6 @@ interface SwapCall {
value: string
}
-interface SwapCallEstimate {
- call: SwapCall
-}
-
-export interface SuccessfulCall extends SwapCallEstimate {
- call: SwapCall
- gasEstimate: BigNumber
-}
-
-interface FailedCall extends SwapCallEstimate {
- call: SwapCall
- error: Error
-}
-
const KLIMA_FEE = A... | fix(apps/pool): optimizations | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -21,7 +21,7 @@ fn main() {
let mut sum = 0;
while i < child_numbers.len() {
sum += child_numbers[i];
- i += 5;
+ i += 8;
}
println!("Sum of offset {} is {}", offset, sum);
}));
| fix(arc1): index mod should equal thread count | null | rust-lang/rustlings | MIT License | Rust |
@@ -12,6 +12,7 @@ rm libspdk.so
./configure --enable-debug \
--target-arch=nehalem \
--without-isal \
+ --with-iscsi-initiator \
--with-crypto \
--with-uring \
--disable-unit-tests \
@@ -26,7 +27,6 @@ find . -type f -name 'libspdk_sock_uring.a' -delete
find . -type f -name 'libspdk_ut_mock.a' -delete
find . -type f -na... | fix(spdk): restored iscsi initiator module in spdk binary | null | openebs/mayastor | Apache License 2.0 | Shell |
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
-cd $DIR && docker pull acryldata/datahub-upgrade:head && docker run --env-file ./env/docker.env --network="datahub_network" acryldata/datahub-upgrade:latest "$@"
\ No newline at end of file
+IMAGE=acryldata/datahub-upgrade:head
+cd $DI... | fix(nocode): Fix docker image tag for run_upgrade script | null | linkedin/datahub | Apache License 2.0 | Shell |
@@ -183,12 +183,12 @@ func UpdateKubeproxyConfig(mgr *manager.Manager, node *kubekeyapiv1alpha1.HostCf
"| /usr/local/bin/kubectl --kubeconfig /etc/kubernetes/admin.conf replace -f -\"", strconv.Itoa(mgr.Cluster.ControlPlaneEndpoint.Port)), 3, false); err != nil {
return errors.Wrap(errors.WithStack(err), "Failed to upd... | fix: a bug that kube-proxy will restart when add nodes | null | kubesphere/kubekey | Apache License 2.0 | Go |
@@ -14,6 +14,9 @@ fi
if [[ $TRAVIS_BRANCH == 'master' ]]; then
npm run semantic-release
+ echo "[DEBUG] NPM DEBUG"
+ cat /home/travis/build/jan-molak/serenity-js/npm-debug.log
+
echo "[DEBUG] CHANGELOG"
find packages -maxdepth 2 -name 'CHANGELOG.md' -print0 | xargs -0 -I % sh -c 'echo %; cat %'
| fix(ci): additional debug around releasing to npm | null | serenity-js/serenity-js | Apache License 2.0 | Shell |
@@ -484,11 +484,6 @@ const char* getInterfaceName(uint32_t _ip) {
void getNetworkTraffic(uint32_t ip, uint64_t& bytesSent, uint64_t& bytesReceived,
uint64_t& outSegs, uint64_t& retransSegs) {
INJECT_FAULT( platform_error, "getNetworkTraffic" ); // Even though this function doesn't throw errors, the equivalents for othe... | fix: machine metrics could sometimes default to 0, which cause underflows when compared with prior results | null | apple/foundationdb | Apache License 2.0 | C++ |
#include "fdbrpc/FailureMonitor.h"
#include "ClusterInterface.h"
+struct FailureMonitorClientState : ReferenceCounted<FailureMonitorClientState> {
+ std::set<NetworkAddress> knownAddrs;
+ double serverFailedTimeout;
+
+ FailureMonitorClientState() {
+ serverFailedTimeout = CLIENT_KNOBS->FAILURE_TIMEOUT_DELAY;
+ }
+};
+... | fix: Move failureMonitorClient state to a reference counted object. This avoids a race condition in the fdbcli as its shutting down that can cause it to crash | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -57,8 +57,8 @@ public class SpringBootProcessEngineLogger extends BaseLogger {
logInfo("021", "Auto-Deploying resources: {}", resources);
}
- public void enterLicenseKey(URL licenseKeyFile) {
- logInfo("030", "Setting up license key: {}", licenseKeyFile);
+ public void enterLicenseKey(String licenseKeySource) {
+ lo... | fix(spring-boot): change enterLicenseKey logger to take string argument | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
package com.getcapacitor.plugin;
+import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
+import android.os.Build;
import android.os.Bundle;
+import android.service.notification.StatusBarNotification... | fix(android): implement getDeliveredNotifications and removeDeliveredNotifications | null | ionic-team/capacitor | MIT License | Java |
@@ -39,7 +39,10 @@ Template.login.helpers({
},
showDemoUserHint: function () {
- return (!Meteor.userId() && GlobalSettings.createDemoAccount());
+ return (!Meteor.userId()
+ && GlobalSettings.createDemoAccount()
+ && AccountsTemplates.getState() === 'signIn' // only show demo hint on signIn sub-template
+ );
},
legalN... | fix: Hide demo-login hint when not on login sub-template. Closes | null | 4minitz/4minitz | MIT License | JavaScript |
@@ -77,7 +77,7 @@ class UserPreferencesFood extends AbstractUserPreferences {
result.addAll(groups.where((AttributeGroup g) => g.id == id));
}
result.addAll(groups.where(
- (AttributeGroup g) => _ORDERED_ATTRIBUTE_GROUP_IDS.contains(g.id)));
+ (AttributeGroup g) => !_ORDERED_ATTRIBUTE_GROUP_IDS.contains(g.id)));
return... | fix: - no more duplicates of attribute groups | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -92,7 +92,7 @@ ACL_IMPL_FILE_PRAGMA_PUSH
}
}
- #define ACL_ASSERT(expression, format, ...) if (!(expression)) acl::error_impl::on_assert_abort(#expression, __LINE__, __FILE__, (format), ## __VA_ARGS__)
+ #define ACL_ASSERT(expression, format, ...) do { if (!(expression)) acl::error_impl::on_assert_abort(#expression,... | fix(core): wrap assert if expression in do/while to avoid fallthrough | null | nfrechette/acl | MIT License | C |
// threads1.rs
// Make this compile! Execute `rustlings hint threads1` for hints :)
-// The idea is the thread spawned on line 21 is completing jobs while the main thread is
+// The idea is the thread spawned on line 22 is completing jobs while the main thread is
// monitoring progress until 10 jobs are completed. Beca... | fix(threads1): line number correction | null | rust-lang/rustlings | MIT License | Rust |
@@ -28,7 +28,8 @@ const { productName, gettingStarted } = theme
*/
const tellRendererToExecute = async (command: string, exec = 'qexec') => {
const { webContents } = await import('electron')
- const focusedWindow = webContents.getFocusedWebContents()
+ const focusedWindow = webContents.getFocusedWebContents() ||
+ webC... | fix(packages/app): linux OS menu items do not work | null | ibm/kui | Apache License 2.0 | TypeScript |
/*
* Medical Image Registration ToolKit (MIRTK)
*
- * Copyright 2013-2015 Imperial College London
- * Copyright 2013-2015 Andreas Schuh
+ * Copyright 2013-2017 Imperial College London
+ * Copyright 2013-2017 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ex... | fix: NiftiImageInfo constructor [IO] | null | biomedia/mirtk | Apache License 2.0 | C++ |
@@ -113,14 +113,18 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
eRoutingSignalType.Audio | eRoutingSignalType.Video,
eRoutingPortConnectionType.Hdmi, new Action(StopSharing), this);
- Output1 = new RoutingOutputPort(RoutingPortNames.AnyVideoOut,
+ Output1 = new RoutingOutputPort(RoutingPortName... | fix: Updated ZoomRoom constructor to build HdmiOutput1,2,3 | null | pepperdash/essentials | MIT License | C# |
@@ -8,10 +8,14 @@ defmodule Ash.Resource.Change.ManageRelationship do
end
def change(changeset, opts, _) do
- manage_opts = opts[:opts] || []
-
case Changeset.fetch_argument(changeset, opts[:argument]) do
{:ok, argument_value} ->
+ manage_opts =
+ opts[:opts]
+ |> Kernel.||([])
+ |> Keyword.put_new(:meta, [])
+ |> Keyw... | fix: set argument name in `manage_relationship` | null | ash-project/ash | MIT License | Elixir |
@@ -270,7 +270,7 @@ export class NavTreeResource extends CachedMapResource<string, string[]> {
withDetails: metadata.withDetails,
});
- navNodeInfo.hasChildren = navNodeChildren.length > 0;
+ navNodeInfo.hasChildren = navNodeInfo.hasChildren && navNodeChildren.length > 0;
return { navNodeChildren: navNodeChildren.slice... | fix(core-app): navigation node children detection | null | dbeaver/cloudbeaver | Apache License 2.0 | TypeScript |
@@ -35,7 +35,7 @@ export default class Container extends UIObject {
return {
'click': 'clicked',
'dblclick': 'dblClicked',
- 'doubleTap': 'dblClicked',
+ 'touchend': 'dblTap',
'contextmenu': 'onContextMenu',
'mouseenter': 'mouseEnter',
'mouseleave': 'mouseLeave'
@@ -124,6 +124,9 @@ export default class Container extend... | fix(container): handle double touch event | null | clappr/clappr-core | BSD 3-Clause New or Revised License | JavaScript |
@@ -37,7 +37,7 @@ export abstract class Button extends LitElement {
@property({type: Boolean}) hasIcon = false;
- @query('#button') buttonElement!: HTMLElement;
+ @query('.md3-button') buttonElement!: HTMLElement;
@queryAsync('md-ripple') ripple!: Promise<Ripple|null>;
@@ -71,14 +71,13 @@ export abstract class Button e... | fix(button): don't use ID for buttonEl query | null | material-components/material-components-web-components | Apache License 2.0 | TypeScript |
@@ -336,8 +336,8 @@ unsigned int Muon::stationGapMaskPull( float sigmaCut ) const
int Muon::nDigisInStation( int index, DigiRange range ) const
{
-
int nDigis(0);
+ std::map<int, int> me11DigisPerCh;
for ( auto & match : muMatches_ )
{
@@ -348,10 +348,36 @@ int Muon::nDigisInStation( int index, DigiRange range ) const
... | fix: merge digis from ME1/1a and ME1/1b | null | cms-sw/cmssw | Apache License 2.0 | C++ |
@@ -49,6 +49,8 @@ class AbstractDataLoader(torch.utils.data.DataLoader):
self._batch_size = self.step = self.model = None
self._init_batch_size_and_step()
index_sampler = None
+ self.generator = torch.Generator()
+ self.generator.manual_seed(config['seed'])
if not config['single_spec']:
index_sampler = torch.utils.data... | fix: fix dataloader random factors | null | rucaibox/recbole | MIT License | Python |
@@ -79,6 +79,34 @@ public open class SQLiteFormatter(
_parameters += ArgumentExpression(expr.limit ?: Int.MAX_VALUE, IntSqlType)
}
+ override fun visitUnion(expr: UnionExpression): UnionExpression {
+ when (expr.left) {
+ is SelectExpression -> visitQuery(expr.left)
+ is UnionExpression -> visitUnion(expr.left as Union... | fix(SQLite): UNION clause can only use `visitQuery` | null | kotlin-orm/ktorm | Apache License 2.0 | Kotlin |
@@ -861,6 +861,7 @@ public abstract class AbstractEventService implements EventService
return new ImportSummary( ImportStatus.ERROR, errors.toString() ).incrementIgnored();
}
+ programStageInstance.setAutoFields();
programStageInstanceService.deleteProgramStageInstance( programStageInstance );
if ( programStageInstance... | fix: update lastUpdated field when event is deleted | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -79,16 +79,14 @@ const Inner: React.FC = () => {
: true;
return (
- <div style={{ minHeight: 480, display: 'flex', flexDirection: 'column' }}>
<div
ref={ref}
+ style={{ minHeight: 480 }}
className={'react-page-editable react-page-editable-mode-' + mode}
>
{rowIds.length > 0
? rowIds.map((id) => <Row nodeId={id} key=... | fix: insert new not visible | null | react-page/react-page | MIT License | TypeScript |
@@ -23,6 +23,7 @@ defmodule Ash.Resource.Transformers.BelongsToAttribute do
case Transformer.build_entity(@extension, [:attributes], :attribute,
name: relationship.source_field,
type: relationship.field_type,
+ allow_nil?: not relationship.required?,
writable?: false,
private?: true,
primary_key?: relationship.primary_... | fix: derived belongs_to attributes are required if their parent is | null | ash-project/ash | MIT License | Elixir |
@@ -71,6 +71,7 @@ export class TdChipsComponent extends _TdChipsMixinBase implements IControlValue
private _chipRemoval: boolean = true;
private _focused: boolean = false;
private _tabIndex: number = 0;
+ private _touchendDebounce: number = 100;
_internalClick: boolean = false;
_internalActivateOption: boolean = false;... | fix(chips): mobile select | null | teradata/covalent | MIT License | TypeScript |
@@ -158,7 +158,7 @@ function createConfigToJsonString() {
jsonString="{ "
for K in "${!BUILD_CONFIG[@]}";
do
- jsonString+="\"$K\" : \"${BUILD_CONFIG[$K]}\", "
+ jsonString+="\"${PARAM_LOOKUP[$K]}\" : \"${BUILD_CONFIG[$K]}\", "
done
jsonString+=" \"Data Source\" : \"BUILD_CONFIG hashmap\"}"
echo "${jsonString}"
| fix: show key of BUILD_CONFIG not index of array | null | adoptium/temurin-build | Apache License 2.0 | Shell |
var fs = require('fs');
var json = JSON.parse(fs.readFileSync(__dirname + "/../package.json"), "utf8");
json.module = 'dist/async.mjs'
+// mark this as an ES6 module for browserify
+json.browserify = {
+ transform: [["babelify", { presets: ["@babel/preset-env"] }]]
+}
process.stdout.write(JSON.stringify(json, null, 2))... | fix: include config for browserify. Closes | null | caolan/async | MIT License | JavaScript |
@@ -17,6 +17,7 @@ export const SSD_SERVICES: string[] = [
'AmazonKinesisAnalytics',
'AmazonMQ',
'AmazonECS',
+ 'AmazonLightsail',
]
export const SSD_USAGE_TYPES: string[] = [
| fix: add amazon lightsail to list of ssd service types | null | cloud-carbon-footprint/cloud-carbon-footprint | Apache License 2.0 | TypeScript |
@@ -442,4 +442,4 @@ class DashboardChart(Document):
try:
json.loads(self.custom_options)
except ValueError as error:
- frappe.throw(_("Invalid json added in the custom options: %s" % error))
\ No newline at end of file
+ frappe.throw(_("Invalid json added in the custom options: {0}").format(error))
| fix: minor translation issue | null | frappe/frappe | MIT License | Python |
@@ -324,7 +324,7 @@ private void onAccept(byte[] buf, int off, int len)
int start = startFrame.getStart();
int len = (startFrame.getMaxSeen() - start) & 0xFFFF;
pkts = new RawPacket[len];
- for (int i = 0; i < len; i++)
+ for (int i = 0; i <= len; i++)
{
// Note that the ingress cache might not have the desired
// pack... | fix: Includes the max seen packet of a frame when piggybacking | null | jitsi/libjitsi | Apache License 2.0 | Java |
@@ -23,10 +23,18 @@ CMD_UPDATE_VERSION="lerna version ${PACKAGE_VERSION} --yes --exact --force-publi
CMD_PREPARE="yarn prepare"
CMD_PUBLISH_PACKAGES="lerna publish --repo-version ${PACKAGE_VERSION} --yes --exact --force-publish --no-git-tag-version --no-push --registry https://npm.lwcjs.org ${CANARY} --no-verify-access... | fix: update package version when releasing | null | salesforce/lwc | MIT License | Shell |
@@ -16,7 +16,7 @@ fi
# remove any excess brackets, space/tab characters and 'origin' branch and sort the tags
git_remote_tags () { git ls-remote --tags origin | grep -v '{}' | sort | tr -d [[:blank:]] ; }
-git_local_tags () { git show-ref --tags | grep -v '{}' | grep -v 'origin'| sort | tr -d [[:blank:]] ; }
+git_local... | fix: remove 'tags' line from local tags | null | influxdata/flux | MIT License | Shell |
@@ -84,7 +84,7 @@ class Mutator(BaseMutator):
data = dict()
for k, v in self._cache.items():
if torch.is_tensor(v):
- v = v.detach().cpu().numpy()
+ v = v.detach().cpu().numpy().tolist()
if isinstance(v, np.ndarray):
v = v.astype(np.float32).tolist()
data[k] = v
| fix: fix the bug in nni/nas/pytorch/mutator, line no. 87 issue#3525 | null | microsoft/nni | MIT License | Python |
import { RotationTip } from '../rotation-tip';
-import { InnerQuiet, SimulationResult, Reflect } from '@ffxiv-teamcraft/simulator';
+import { InnerQuiet, SimulationResult, Reflect, TrainedEye } from '@ffxiv-teamcraft/simulator';
import { RotationTipType } from '../rotation-tip-type';
export class UseInnerQuiet extends ... | fix: Don't suggest IQ when TE is used | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -275,9 +275,13 @@ class ContractContainer(_ContractBase):
compiler._get_solc_remappings(config["solc"]["remappings"]),
)
)
+ libs = {lib.strip("_") for lib in re.findall("_{1,}[^_]*_{1,}", self.bytecode)}
compiler_settings = {
"evmVersion": self._build["compiler"]["evm_version"],
"optimizer": config["solc"]["optimiz... | fix: add libraries for linkage with solc in verification info | null | eth-brownie/brownie | MIT License | Python |
using System;
+using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Authentication;
+using Microsoft.AspNetCore.Authentication.Cookies;
+using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mv... | fix: fixed the logic that the user does not have permission prompt | null | dotnetcore/wtm | MIT License | C# |
@@ -25,6 +25,7 @@ import org.fife.ui.rsyntaxtextarea.AbstractTokenMakerFactory;
import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea;
import org.fife.ui.rsyntaxtextarea.Token;
import org.fife.ui.rsyntaxtextarea.TokenMakerFactory;
+import org.fife.ui.rsyntaxtextarea.TokenTypes;
import org.fife.ui.rtextarea.SearchContext;
... | fix(gui): don't highlight whitespaces and special symbols | null | skylot/jadx | Apache License 2.0 | Java |
@@ -29,7 +29,7 @@ const BadgeBlock = ({ blockId, content, properties }) => (
overflowCount={type.isNumber(properties.overflowCount) ? properties.overflowCount : 100}
showZero={properties.showZero}
status={properties.status}
- text={properties.text}
+ text={content.text ? content.text() : properties.text}
title={propert... | fix(blocksAntd): Badge text can be an area | null | lowdefy/lowdefy | Apache License 2.0 | JavaScript |
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
+# copy steamclient to server dir to fix the below
+if [ ! -f "${serverfiles}/steamclient.so" ]; then
+ fixname="steamclient.so x86_64"
+ fn_fix_msg_start
+ if [ -f "${HOME}/.steam/steamcmd/linux64/steamclient.so" ]; then
+ cp "${HOME}/.steam/steamcmd/... | fix(untserver): fix steamclient.so issue | null | gameservermanagers/linuxgsm | MIT License | Shell |
@@ -28,7 +28,7 @@ public class FormLabelItem: FormItem {
/// :nodoc:
public func build(with builder: FormItemViewBuilder) -> AnyFormItemView {
- let label = UILabel()
+ let label = ADYLabel()
label.text = text
label.numberOfLines = 0
label.accessibilityIdentifier = identifier
@@ -40,8 +40,10 @@ public class FormLabelIt... | fix: avoid hijacking `delegate` on UILabel | null | adyen/adyen-ios | MIT License | Swift |
@@ -602,7 +602,15 @@ class Row:
is_table = frappe.get_meta(doctype).istable
is_update = self.import_type == UPDATE
- if is_table and is_update and doc.get("name") in INVALID_VALUES:
+ if is_table and is_update:
+ # check if the row already exists
+ # if yes, fetch the original doc so that it is not updated
+ # if no, c... | fix: Handle child table row additions | null | frappe/frappe | MIT License | Python |
@@ -59,6 +59,8 @@ import {
} from 'src/types'
import {labelSchema} from 'src/schemas/labels'
+import {LIMIT} from 'src/resources/constants'
+
export const getChecks = () => async (
dispatch: Dispatch<
Action | NotificationAction | ReturnType<typeof checkChecksLimits>
@@ -72,7 +74,9 @@ export const getChecks = () => asy... | fix: tech-debt workaround - add limit of 100 to checks fetches to show all checks | null | influxdata/influxdb | MIT License | TypeScript |
package registry
-import "context"
+import (
+ "context"
+ "sort"
+)
// Registrar is service registrar.
type Registrar interface {
@@ -45,3 +48,43 @@ type ServiceInstance struct {
// grpc://127.0.0.1:9000?isSecure=false
Endpoints []string `json:"endpoints"`
}
+
+// Equal returns whether i and o are equivalent.
+func (i... | fix(registry): ServiceInstance does not implement an Equal method for grpc Attributes | null | go-kratos/kratos | MIT License | Go |
@@ -32,13 +32,6 @@ class BoostListener(container: Container) : AbstractListener(container) {
}
private suspend fun onBoost(event: GuildUpdateBoostCountEvent) {
- val boosted = event.guild
- .findMembers { it.timeBoosted != null }
- .await()
- .maxByOrNull {
- it.timeBoosted?.toInstant()?.toEpochMilli() ?: 0
- } ?: retu... | fix: optimize the code flow for less rest calls and cache growth when users boost a guild | null | toxicmushroom/melijn | MIT License | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.