diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -3183,8 +3183,8 @@ ACTOR Future<Void> storageServerCore( StorageServer* self, StorageServerInterfac if( self->db->get().recoveryState >= RecoveryState::FULLY_RECOVERED ) { self->logSystem = ILogSystem::fromServerDBInfo( self->thisServerID, self->db->get() ); if (self->logSystem) { - if(self->logSystem->getLogSystemC...
fix: poppedAllAfter was not set to a large enough version
null
apple/foundationdb
Apache License 2.0
C++
import { IDeref } from "@thi.ng/api"; import { EPS } from "@thi.ng/math"; -import { eqDelta4, values } from "@thi.ng/vectors"; +import { eqDelta4, stridedValues } from "@thi.ng/vectors"; import { Color, ColorMode, IColor } from "../api"; export abstract class AColor<T extends Color> implements IColor, IDeref<Color> { @...
fix(color): update/rename imports (vectors pkg)
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -12,7 +12,7 @@ const HomePage = (props) => { <Head> <meta property="og:title" content="FreeSewing.dev" key="title" /> <meta property="og:type" content="article" key='type' /> - <meta property="og:description" content="Documentation and tutorials for FreeSewing developers and contributors. Plus our Developers Blog" k...
fix(fs.dev): Key of OG on index page
null
freesewing/freesewing
MIT License
JavaScript
@@ -57,7 +57,6 @@ final class SendViewModel { var amount: Satoshi? { didSet { guard oldValue != amount else { return } - needsFeeUpdate = true updateLightningFee() updateSendButtonEnabled() } @@ -72,7 +71,6 @@ final class SendViewModel { let memo: String? let sendButtonEnabled = Observable(false) let validRange: Closed...
fix: don't require fee to send lightning payment
null
ln-zap/zap-ios
MIT License
Swift
@@ -53,7 +53,7 @@ namespace WalkingTec.Mvvm.Mvc var linktype = Type.GetType(entity.LinkedType); if (linktype != typeof(FileAttachment)) { - var subpros = Type.GetType(entity.LinkedType).GetProperties(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance).Where(x=>x.GetMemberType() == typeof(st...
fix: remove the BatchError field in codegen subfield list
null
dotnetcore/wtm
MIT License
C#
@@ -64,6 +64,7 @@ static void print_valb(FAR const char *buffer, FAR const char *name); static void print_vali2(FAR const char *buffer, FAR const char *name); static void print_ppgd(FAR const char *buffer, FAR const char *name); static void print_ppgq(FAR const char *buffer, FAR const char *name); +static void print_ca...
fix: sensor: add sensor type of cap
null
apache/incubator-nuttx-apps
Apache License 2.0
C
@@ -73,11 +73,6 @@ open class AVFoundationPlayback: Playback { return false } - return mediaGroup.options.flatMap({MediaOptionFactory.fromAVMediaOption($0, type: .audioSource)}) - } - - return false; - } open override var isPaused: Bool { return currentState == .paused @@ -87,6 +82,28 @@ open class AVFoundationPlayback...
fix(AVFoundationPlayback): revert to working version
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -451,10 +451,6 @@ async def login( Login has no specific packet, but happens when the osu! client sends a request without an 'osu-token' header. - Some notes: - this must be called with app.state.sessions.players._lock held. - we return a tuple of (response_bytes, user_token) on success. - Request format: username\n...
fix: remove (now) inaccurate note from login() function
null
osuakatsuki/bancho.py
MIT License
Python
@@ -548,6 +548,22 @@ bool DatabaseConfiguration::setInternal(KeyRef key, ValueRef value) { } else if (ck == LiteralStringRef("storage_migration_type")) { parse((&type), value); storageMigrationType = (StorageMigrationType::MigrationType)type; + } else if (ck == LiteralStringRef("proxies")) { + int proxiesCount; + parse...
fix: use DEFAULT_COMMIT_GRV_PROXIES_RATIO to pick the number of grv_proxies and commit_proxies after an upgrade
null
apple/foundationdb
Apache License 2.0
C++
@@ -46,8 +46,8 @@ const defNodeRestAPIPort = 25657 const defOutputDir = "./build" const defPrivateKeySeedFileName = "key_seed" const defProfilingPort = 25660 -const defPrometheusListenPort = 25660 -const defPrometheusTurnOn = false +const defPrometheusListenPort = 25661 +const defPrometheusTurnOn = true const defTxInde...
fix: Turn on prometheus exporter
null
line/lbm-sdk
Apache License 2.0
Go
@@ -275,6 +275,27 @@ func (api *preheatAPI) DeletePolicy(ctx context.Context, params operation.Delete return api.SendError(ctx, err) } + detectRunningExecutions := func(executions []*task.Execution) error { + for _, exec := range executions { + if exec.Status == job.RunningStatus.String() { + return fmt.Errorf("executi...
fix(preheat): check running executions when delete policy
null
goharbor/harbor
Apache License 2.0
Go
@@ -5,6 +5,7 @@ import dan200.computercraft.api.lua.LuaFunction; import dan200.computercraft.shared.util.NBTUtil; import de.srendi.advancedperipherals.common.blocks.tileentity.InventoryManagerTile; import de.srendi.advancedperipherals.common.configuration.AdvancedPeripheralsConfig; +import de.srendi.advancedperipherals...
fix: InventoryManagerPeripheral item stack NBT issue
null
seniorendi/advancedperipherals
Apache License 2.0
Java
@@ -70,7 +70,6 @@ export const fetchTransactions = () => dispatch => { // Receive IPC event for payments export const receiveTransactions = (event, { transactions }) => (dispatch, getState) => { dispatch({ type: RECEIVE_TRANSACTIONS, transactions }) - // If our current wallet address has been used, generate a new one. ...
fix(wallet): fetch balance after new transaction
null
ln-zap/zap-desktop
MIT License
JavaScript
@@ -183,7 +183,7 @@ void hotspot_partition_calculator::detect_hotkey_in_hotpartition(int data_type) const dsn::apps::hotkey_detect_action::type action) { FAIL_POINT_INJECT_F("send_hotkey_detect_request", [](dsn::string_view) {}); - auto request = std::make_unique<dsn::apps::hotkey_detect_request>(); + auto request = ds...
fix(hotspot): using dsn::make_unique instead of std::make_unique
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -67,8 +67,7 @@ function clean_test_root() { } function initialize_test { - TEST_TMP_NPM_SCRATCH_SPACE="$(mktemp -d)"; - trap "report_test_result; kill %1; rm -rf $TEST_TMP_NPM_SCRATCH_SPACE; cd $(pwd -P);" EXIT + trap "report_test_result; kill %1; cd $(pwd -P);" EXIT cd "$(dirname $0)" # cleanup environment @@ -120,...
fix(installation-tests): keep npm scratch space to debug tests
null
microsoft/playwright
Apache License 2.0
Shell
@@ -2,6 +2,7 @@ use syntax::{ ast::{ self, edit::{AstNodeEdit, IndentLevel}, + make, }, AstNode, SyntaxKind, TextRange, T, }; @@ -37,15 +38,42 @@ pub(crate) fn unwrap_block(acc: &mut Assists, ctx: &AssistContext<'_>) -> Option parent = parent.ancestors().find(|it| ast::MatchExpr::can_cast(it.kind()))? } - if matches!(p...
fix(ide-assists): unwrap block when it parent is let stmt
null
rust-lang/rust-analyzer
Apache License 2.0
Rust
@@ -188,7 +188,7 @@ final class HistoryCell: BondTableViewCell { setDate(failedPaymentEvent.date) descriptionLabel?.text = failedPaymentEvent.memo ?? failedPaymentEvent.paymentRequest descriptionLabel.textColor = UIColor.Zap.gray - setAmount(failedPaymentEvent.amount, completed: false) + setAmount(-failedPaymentEvent.a...
fix: display negative amount in failed payment events
null
ln-zap/zap-ios
MIT License
Swift
@@ -112,7 +112,7 @@ fn set_account_borrows<T: Config>(who: T::AccountId, asset_id: AssetIdOf<T>, bor ); TotalBorrows::<T>::insert(asset_id, borrow_balance); let amount: Amount<T> = Amount::new(borrow_balance, asset_id); - amount.burn_from(who)?; + amount.burn_from(&who).unwrap(); } fn assert_last_event<T: Config>(gener...
fix(loans): benchmark
null
interlay/interbtc
Apache License 2.0
Rust
/* - * Copyright 2018-2019 B2i Healthcare Pte Ltd, http://b2i.sg + * Copyright 2018-2021 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -227,19 +227,6 @@ public class TranslateRequest { retur...
fix(fhir): allow returning map targets for any target code systems
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -155,7 +155,7 @@ namespace Box.V2.Managers { var response = await ToResponseAsync<BoxCollection<T>>(request).ConfigureAwait(false); var newItems = response.ResponseObject; - allItemsCollection.Entries.AddRange(newItems.Entries); + allItemsCollection.Entries.AddRange(newItems.Entries ?? new List<T>()); allItemsCollec...
fix: Null Argument Exception in AutoPaginate
null
box/box-windows-sdk-v2
Apache License 2.0
C#
@@ -106,7 +106,10 @@ def fit_chainer(config: dict, iterator: Union[DataLearningIterator, DataFittingI (('fit_on' in component_config) and callable(getattr(component, 'partial_fit', None))): component: Estimator - targets = component_config.get('fit_on', component_config['fit_on_batch']) + try: + targets = component_con...
fix: partial fit will work without fit_on_batch parameter in config
null
deeppavlov/deeppavlov
Apache License 2.0
Python
@@ -37,7 +37,7 @@ class PathResolver(): endpoint = resolve_path(self.path) custom_renderers = self.get_custom_page_renderers() - renderers = custom_renderers + [StaticPage, WebFormPage, TemplatePage, ListPage, DocumentPage, PrintPage, NotFoundPage] + renderers = custom_renderers + [StaticPage, WebFormPage, ListPage, Do...
fix: Prioritize document page over template page
null
frappe/frappe
MIT License
Python
@@ -35,10 +35,9 @@ struct SpacingTokensView: View { ForEach(spacingTokens, id: \.0) { token in HStack { Color(.primaryColor) - .frame(width: .lg, height: .base) .frame( maxWidth: token.1, - maxHeight: .lg) + maxHeight: .base) Spacer() Text("\(token.0) = \(token.1.value, specifier: "%.0f")") }
fix: spacings preview
null
skyscanner/backpack-ios
Apache License 2.0
Swift
@@ -132,12 +132,14 @@ struct ReadingView: View { } .onChange(of: pageHandler.sliderValue) { sliderValue in Logger.info("pageHandler.sliderValue changed", context: ["sliderValue": sliderValue]) - let newValue = pageHandler.mapToPager( - index: .init(sliderValue), setting: setting - ) - if page.index != newValue { - page...
fix: Performance issue when dragging slider
null
ehpanda-team/ehpanda
MIT License
Swift
@@ -809,7 +809,7 @@ export class Grapher } set startHandleTimeBound(newValue: TimeBound) { - if (this.isOnMapTab) + if (this.onlySingleTimeSelectionPossible) this.timelineHandleTimeBounds = [newValue, newValue] else this.timelineHandleTimeBounds = [
fix: more correct check for timelineHandleTimeBounds setter
null
owid/owid-grapher
MIT License
TypeScript
@@ -513,7 +513,7 @@ func (manager *SCloudaccountManager) validateCreateData( } // check accountId uniqueness - if len(accountId) > 0 { + if len(accountId) > 0 && !input.SkipDuplicateAccountCheck { cnt, err := manager.Query().Equals("account_id", accountId).CountWithError() if err != nil { return input, httperrors.NewIn...
fix(region): skip account check
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -184,8 +184,8 @@ function emitDataEvents(req, res, proxy) { return; } resDone = true; - var useStream = isStream && !getZipType(info); info = info || (res._needGunzip ? { statusCode: res.statusCode, headers: '' } : res); + var useStream = isStream && !getZipType(info); var MAX_RES_BODY = isUnzipJs(info) ? MAX_RES_BO...
fix: Cannot read property 'headers' of undefined
null
avwo/whistle
MIT License
JavaScript
package chainclient import ( - "time" - "github.com/iotaledger/goshimmer/packages/ledgerstate" "github.com/iotaledger/hive.go/crypto/ed25519" "github.com/iotaledger/wasp/client" @@ -22,6 +20,7 @@ type Client struct { WaspClient *client.WaspClient ChainID iscp.ChainID KeyPair *ed25519.KeyPair + nonces map[ed25519.Public...
fix: use sequential nonce in chainclient
null
iotaledger/wasp
Apache License 2.0
Go
package main import ( - "fmt" "sync" "time" ) @@ -167,10 +166,12 @@ func (b *Block) renderDiamondSegment(text string) { } func (b *Block) renderText(text string) { + bg := b.activeSegment.background() + fg := b.activeSegment.foreground() defaultValue := " " - prefix := b.activeSegment.getValue(Prefix, defaultValue) - p...
fix: write post- and prefix separate
null
jandedobbeleer/oh-my-posh
MIT License
Go
@@ -320,7 +320,12 @@ const Defendant = () => { > <DefendantInfo defendant={defendant} - onDelete={index > 0 ? handleDeleteDefendant : undefined} + onDelete={ + workingCase.defendants && + workingCase.defendants.length > 1 + ? handleDeleteDefendant + : undefined + } onChange={handleUpdateDefendant} updateDefendantState=...
fix(j-s): Delete Defendant
null
island-is/island.is
MIT License
TypeScript
@@ -1079,6 +1079,7 @@ pub mod cli { tracing::warn!("Serving in insecure mode is dangerous and discouraged.") } + #[cfg(any(target_os = "linux", target_os = "macos"))] if let sudo::RunningAs::Root = sudo::check() { if root { tracing::warn!("Serving as root/administrator is dangerous and discouraged.")
fix(Server): On;y run sudo check on systems where it is available
null
stencila/stencila
Apache License 2.0
Rust
@@ -221,6 +221,7 @@ pub fn language_id_from_path(path: &Path) -> Option<&'static str> { "sh" | "bash" | "zsh" => "shellscript", "sql" => "sql", "swift" => "swift", + "svelte" => "svelte", "toml" => "toml", "ts" => "typescript", "tsx" => "typescriptreact",
fix: add svelte language_id
null
lapce/lapce
Apache License 2.0
Rust
@@ -100,7 +100,8 @@ export default function Zoom({ swiper, extendParams, on, emit }) { gesture.$imageEl = gesture.$slideEl .find(`.${params.containerClass}`) .eq(0) - .find('img, svg, canvas, picture, .swiper-zoom-target'); + .find('picture, img, svg, canvas, .swiper-zoom-target') + .eq(0); gesture.$imageWrapEl = gestu...
fix(zoom): use only one element to zoom
null
nolimits4web/swiper
MIT License
JavaScript
@@ -3,6 +3,7 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; +using Blazorise.Bootstrap; using Microsoft.Extensions.DependencyInjection; #endregion @@ -22,24 +23,8 @@ namespace Blazorise.Material public static IServiceProvider UseMaterialProviders( this IServiceProvid...
fix: material providers to bootstrap components
null
stsrki/blazorise
MIT License
C#
@@ -38,7 +38,7 @@ public enum ResourceAction { } } - throw new BadRequestException("Invalid value set clause action type '%s'. Only {%s} are allowed", action, + throw new BadRequestException("Invalid action type '%s'. Only {%s} are allowed", action, String.join(",", List.of(ResourceAction.values()) .stream() .map(actio...
fix: ResourceAction error message
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -40,7 +40,6 @@ void NativeBrowserViewViews::UpdateDraggableRegions( auto snapped_regions = mojo::Clone(regions); for (auto& snapped_region : snapped_regions) { snapped_region->bounds.Offset(offset); - snapped_region->draggable = true; } draggable_region_ = DraggableRegionsToSkRegion(snapped_regions);
fix: unclickable regions in some draggable BrowserViews
null
electron/electron
MIT License
C++
@@ -37,7 +37,7 @@ public class ToggleModule implements Module { return other != null && this.state == other.state && stringEquals(this.name, other.name); } - boolean stringEquals(String a, String b) { + private boolean stringEquals(String a, String b) { if (a == b) { return true; } else if (a != null && a.equals(b)) {
fix(toggle): privatisation of stringEquals
null
codingame/codingame-game-engine
MIT License
Java
@@ -174,12 +174,22 @@ struct MockDelay: Delay { case increase, decrease } let callback: (Command) -> Void + // NOTE: RUMM-737 private only doesn't compile due to "private initializer is inaccessible", probably a bug in Swift + private(set) var didReceiveCommand = false var current: TimeInterval { 0.0 } - func decrease(...
fix: MockDelay ignores commands after the first one
null
datadog/dd-sdk-ios
Apache License 2.0
Swift
@@ -177,11 +177,7 @@ class TransactionSendBoxContainer extends Component { }; handleCancelAction = () => { - if (this.state.cryptoCurrency !== 'custom') { - this.props.dispatch(push(`/main/transfer/${this.state.cryptoCurrency}`)); - } else { this.props.dispatch(push(`/main/dashboard`)); - } }; handleGasPriceChange = va...
fix(send-token): cancel action should go back to dashboard
null
selfkeyfoundation/identity-wallet
MIT License
JavaScript
@@ -57,7 +57,7 @@ impl Options { .with_span_events(FmtSpan::NEW | FmtSpan::CLOSE) .with_filter(env_filter); - let (flame_layer, _) = if let Some(ref profile) = self.logger.profile { + let (flame_layer, _guard) = if let Some(ref profile) = self.logger.profile { // Open `/dev/null` to reserve fd 3 on Unix, which `exec-wa...
fix: prevent flame graph guard drop
null
enarx/enarx
Apache License 2.0
Rust
@@ -205,6 +205,8 @@ class PytestBrownieRunner(PytestBrownieBase): if self.printer and report.when == "call": self.printer.finish(report.nodeid) + return super().pytest_report_teststatus(report) + def pytest_sessionfinish(self): self._sessionfinish("build/tests.json") if CONFIG.argv["gas"]:
fix: colorful output on skipped tests without xdist
null
eth-brownie/brownie
MIT License
Python
@@ -580,8 +580,8 @@ const SubmissionEditForm = (props) => { {question.type === questionTypes.Programming && !viewHistory ? renderExplanationPanel(questionId) : null} - {viewHistory ? null : renderQuestionGrading(questionId)} {viewHistory ? null : renderProgrammingQuestionActions(questionId)} + {viewHistory ? null : ren...
fix(submission form): fix programming question action button location
null
coursemology/coursemology2
MIT License
JavaScript
@@ -9,6 +9,10 @@ use crate::semantic::walk::Node; use std::collections::HashMap; use std::rc::Rc; +// OptionMap maps the name of a Flux option (including an optional package qualifier) +// to its corresponding option statement. +type OptionMap<'a> = HashMap<(Option<&'a str>, &'a str), &'a nodes::OptionStmt>; + /// This...
fix(semantic): fix semantic check for option reassignment
null
influxdata/flux
MIT License
Rust
@@ -100,7 +100,7 @@ declare module 'mongoose' { */ export function isValidObjectId(v: any): boolean; - export function model<T>(name: string, schema?: Schema<any>, collection?: string, skipInit?: boolean): Model<T>; + export function model<T>(name: string, schema?: Schema<T>, collection?: string, skipInit?: boolean): M...
fix: Mongoose slows down performance of VSCode (TSServer) by a lot
null
automattic/mongoose
MIT License
TypeScript
@@ -50,7 +50,7 @@ namespace PeanutButter.Utils /// <summary> /// "Zips" two collections together so you can enumerate over them. The - /// length of the enumeration is determined by the shortes collection + /// length of the enumeration is determined by the shortest collection /// </summary> /// <param name="left">left...
fix: typo in xmldoc
null
fluffynuts/peanutbutter
BSD 3-Clause New or Revised License
C#
@@ -187,13 +187,37 @@ func (rds *SDBInstance) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanc func (rds *SDBInstance) CreateIBackup(conf *cloudprovider.SDBInstanceBackupCreateConfig) (string, error) { params := map[string]string{ "DBInstanceId": rds.DBInstanceId, - "BackupMethod": "Snapshot", } + switch rds.En...
fix: aliyun rds backup create fix
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -172,7 +172,7 @@ message_ex *message_ex::copy_message_no_reply(const message_ex &old_msg) static_cast<char *>(dsn::tls_trans_malloc(sizeof(message_header))), [](char *c) { dsn::tls_trans_free(c); }); msg->header = reinterpret_cast<message_header *>(header_holder.get()); - msg->header = {}; // initialize to empty str...
fix(split): message header should not be empty
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -16,4 +16,8 @@ fn main() { println!(r#" | | | |_| \__ \ |_| | | | | | (_| \__ \ "#); println!(r#" |_| \__,_|___/\__|_|_|_| |_|\__, |___/ "#); println!(r#" |___/ "#); + println!(); + println!("This exercise compiles successfully. The remaining exercises contain a compiler"); + println!("or logic error. The central co...
fix(intro1): Add compiler error explanation
null
rust-lang/rustlings
MIT License
Rust
@@ -146,7 +146,7 @@ int32_t list::last() { * @brief Utility function to find the i th element of the list * @returns the i th element of the list */ -int32_t list::traverse(int index) { +int32_t list::traverse(int32_t index) { Node *current = head; int count = 0;
fix: ARM GCC compiler error
null
thealgorithms/c-plus-plus
MIT License
C++
@@ -878,13 +878,14 @@ impl UnaryExpr { ast::Operator::ExistsOperator => { Constraints::from(Constraint::Equal(self.typ.clone(), MonoType::Bool)) } - ast::Operator::AdditionOperator => { - Constraints::from(Constraint::Kind(self.argument.type_of().clone(), Addable)) - } - ast::Operator::SubtractionOperator => Constraint...
fix(semantic): constrain unary expressions to be same type as operand
null
influxdata/flux
MIT License
Rust
-import { Component, Input, Output, EventEmitter, OnInit, OnDestroy } from '@angular/core'; +import { + Component, + Input, + Output, + EventEmitter, + OnInit, + OnDestroy, + OnChanges +} from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import { Observable } from 'rxjs/Observable'; import...
fix: fix bug that lab shows wrong user
null
machinelabs/machinelabs
MIT License
TypeScript
@@ -33,6 +33,7 @@ public class CloudProcessInstanceImpl extends CloudRuntimeEntityImpl implements private ProcessInstanceStatus status; private String processDefinitionId; private String processDefinitionKey; + private String parentId; public CloudProcessInstanceImpl() { } @@ -129,4 +130,14 @@ public class CloudProcess...
fix: implement parentId
null
activiti/activiti-cloud
Apache License 2.0
Java
@@ -25,7 +25,7 @@ class Migration extends \Podlove\Modules\Base return; } ?> <div id="podlove_welcome"> - <h3> + <h3 style="color: white"> <?php echo __('This is the Podlove Publisher. Welcome!', 'podlove-podcasting-plugin-for-wordpress'); ?> </h3> <p>
fix(style): migration banner font color
null
podlove/podlove-publisher
MIT License
PHP
@@ -113,7 +113,7 @@ class Rpc(metaclass=_Singleton): f'"{key}" with value "{value}".', InvalidArgumentWarning, ) - print(f"Launching '{' '.join(cmd_list)}'...") + print(f"\nLaunching '{' '.join(cmd_list)}'...") out = DEVNULL if sys.platform == "win32" else PIPE self._rpc = psutil.Popen(cmd_list, stdin=DEVNULL, stdout=o...
fix: add newline before showing rpc launch info
null
eth-brownie/brownie
MIT License
Python
@@ -342,7 +342,7 @@ class ChatPresenter(chatActivity: ChatActivity) : IChatPresenter, IChatModel.OnR nonDeliveredMessages.add(Pair(query, newMessageIndex)) databaseRepository.updateDatabase(ChatArgs( prevId = newMessageIndex, - message = actual, + message = actual.trim(), date = DateTimeHelper.date, timeStamp = DateTim...
fix: Remove leading and trailing whitespaces in input text
null
fossasia/susi_android
Apache License 2.0
Kotlin
@@ -434,7 +434,8 @@ export default class XmppConnection extends Listenable { this.sendIQ( iq, result => resolve(result), - error => reject(error)); + error => reject(error), + timeout); } else { const deferred = { iq,
fix(XmppConnection): sendIQ2 pass the 'timeout'
null
jitsi/lib-jitsi-meet
Apache License 2.0
JavaScript
/* - * Copyright 2011-2021 B2i Healthcare Pte Ltd, http://b2i.sg + * Copyright 2011-2022 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,6 @@ import static com.google.common.collect....
fix(ecl): compile errors in description term evaluation
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -8,6 +8,7 @@ const recorder = require('./recorder'); const event = require('./event'); const WorkerStorage = require('./workerStorage'); const store = require('./store'); +global.codecept_dir = global.codecept_dir || process.cwd(); let container = { helpers: {}, @@ -157,7 +158,7 @@ function createHelpers(config) { f...
fix: global.codecept_dir is undefined
null
codeceptjs/codeceptjs
MIT License
JavaScript
@@ -587,6 +587,9 @@ void validate_db(iallocator& allocator, const track_array_qvvf& raw_tracks, cons ACL_ASSERT(rtm::scalar_near_equal(error_tier1.error, high_quality_tier_error_ref.error, threshold), "Database 01 should have the same error"); } + // Measure the tier error when stripping + validate_db_stripping(allocat...
fix(tools): make sure to test db stripping without splitting
null
nfrechette/acl
MIT License
C++
@@ -62,7 +62,7 @@ export function createServer(config: ServerConfig): Server { const app = new Koa<State, Context>() const server = resolveServer(config, app.callback()) const watcher = chokidar.watch(root, { - ignored: [/\bnode_modules\b/, /\b\.git\b/] + ignored: [/node_modules/, /\.git/] }) as HMRWatcher const resolv...
fix(dev): ignore .git file with hmr
null
vitejs/vite
MIT License
TypeScript
@@ -49,7 +49,7 @@ import org.hisp.dhis.scheduling.JobConfigurationService; import org.hisp.dhis.scheduling.JobParameters; import org.hisp.dhis.scheduling.JobService; import org.hisp.dhis.scheduling.SchedulingManager; -import org.springframework.scheduling.support.CronSequenceGenerator; +import org.springframework.sched...
fix: cron expression validation
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -23,6 +23,43 @@ const PropertyPaneConfig = [ validation: { type: ValidationTypes.ARRAY }, evaluationSubstitutionType: EvaluationSubstitutionType.SMART_SUBSTITUTE, }, + { + helpText: + "Bind the List.pageNo property in your API and call it onPageChange", + propertyName: "serverSidePaginationEnabled", + label: "Server...
fix: updated list widget property config
null
appsmithorg/appsmith
Apache License 2.0
TypeScript
@@ -355,7 +355,7 @@ pub struct EventHandler<'bump, T = ()> { pub callback: RefCell<Option<ExternalListenerCallback<'bump, T>>>, } -impl<'a> Default for EventHandler<'a> { +impl<'a, T> Default for EventHandler<'a, T> { fn default() -> Self { Self { callback: RefCell::new(None),
fix: enable default for any eventhandler
null
dioxuslabs/dioxus
Apache License 2.0
Rust
@@ -584,17 +584,21 @@ void ConnectionSTREAM::TransmitPacketsLoop(const ThreadData args) { IStreamChannel::Metadata meta; FPGA_DataPacket* pkt = reinterpret_cast<FPGA_DataPacket*>(&buffers[bi*bufferSize]); + bool badSamples = false; for(int ch=0; ch<chCount; ++ch) { int samplesPopped = args.channels[ch]->Read(samples[ch...
fix: Prevent retransmitting old data when TX FIFO is empty
null
myriadrf/limesuite
Apache License 2.0
C++
@@ -273,7 +273,7 @@ describe('DepartmentTabTeamComponent', () => { expect(departmentMapperMock.putDepartment$) .toHaveBeenCalled(); expect(component.department.okrMasterId) - .toBeUndefined(); + .toBeNull(); done(); }, 200); }); @@ -324,7 +324,7 @@ describe('DepartmentTabTeamComponent', () => { expect(departmentMapperM...
fix(department Master& Topic Sponsor): Tests adjusted
null
burningokr/burningokr
Apache License 2.0
TypeScript
@@ -186,7 +186,7 @@ var CalendarFetcher = function(url, reloadInterval, excludedEvents, maximumEntri // of dates we"re looking for. // kblankenship1989 - to fix issue #1798, converting all dates to locale time first, then converting back to UTC time var pastLocal = moment(past).subtract(past.getTimezoneOffset(), "minut...
fix: fixing copy / paste error on futureLocal
null
michmich/magicmirror
MIT License
JavaScript
@@ -378,7 +378,7 @@ internal void SetClientOwner(NetworkConnection conn) /// <para>Whenever an object is spawned with client authority, or the client authority status of an object is changed with AssignClientAuthority or RemoveClientAuthority, then this callback will be invoked.</para> /// <para>This callback is only i...
fix: making ClientAuthorityCallback an event
null
vis2k/mirror
MIT License
C#
@@ -334,7 +334,7 @@ fn setup_contents( definition: &Value, callback: &dyn Fn(&mut dyn V4Interaction, Vec<InteractionContents>, String, String) ) -> anyhow::Result<Option<(String, String, PluginConfiguration)>> { - match find_content_matcher(&content_type) { + match find_content_matcher(content_type) { Some(matcher) => ...
fix(FFI): broken build after upgrading pact_models
null
pact-foundation/pact-reference
MIT License
Rust
@@ -520,17 +520,31 @@ GenericImage<double> ConcatenateWorldDisplacement(const char *dx_name, const cha Transformation *ToLinearFFD(const GenericImage<double> &disp, double dx = .0, double dy = .0, double dz = .0) { - if (dx <= .0) dx = disp.GetXSize(); - if (dy <= .0) dy = disp.GetYSize(); - if (dz <= .0) dz = disp.Get...
fix: convert-dof reading displacements from input image [Applications]
null
biomedia/mirtk
Apache License 2.0
C++
@@ -394,14 +394,14 @@ static void gen_struct (FILE * fp, struct jc_struct *s) static void gen_open_namespace (FILE * fp, char ** p) { - for (int i; p[i]; i++) { + for (int i = 0; p[i]; i++) { fprintf(fp, "namespace %s {\n", p[i]); } } static void gen_close_namespace (FILE * fp, char ** p) { - for (int i; p[i]; i++) { +...
fix: initialize variables
null
cee-studio/orca
MIT License
C
@@ -41,7 +41,13 @@ class Zmqlet: self.logger = logger or get_logger(self.name, **vars(args)) self.send_recv_kwargs = vars(args) if args.compress_hwm > 0: - self.logger.info(f'compression is enabled and the high watermark is {args.compress_hwm} bytes') + try: + import lz4 + self.logger.success(f'compression is enabled a...
fix(zmqlet): add import check for lz4
null
jina-ai/jina
Apache License 2.0
Python
@@ -106,6 +106,10 @@ defmodule Ash.SatSolver do {op, filter_to_expr(left), filter_to_expr(right)} end + defp filter_to_expr(expr) do + raise ArgumentError, message: "Invalid filter expression #{inspect(expr)}" + end + def transform_and_solve(resource, expression) do expression |> consolidate_relationships(resource)
fix: raise better error w/ invalid filter expression
null
ash-project/ash
MIT License
Elixir
@@ -31,7 +31,7 @@ class Events { once (events, callback, context) { const wrapper = (...args) => { callback.apply(this, args) - this.off(events, callback, context) + this.off(events, wrapper, context) } this.on(events, wrapper, context)
fix(taro): once can not destory
null
nervjs/taro
MIT License
JavaScript
@@ -6,6 +6,7 @@ import ( "github.com/jesseduffield/generics/slices" "github.com/jesseduffield/lazygit/pkg/constants" "github.com/jesseduffield/lazygit/pkg/gui/style" + "github.com/mattn/go-runewidth" ) func (gui *Gui) informationStr() string { @@ -45,16 +46,16 @@ func (gui *Gui) handleInfoClick() error { width, _ := vi...
fix: fix collision of `Donate` and `Ask Question`
null
jesseduffield/lazygit
MIT License
Go
@@ -255,17 +255,19 @@ mod format { // SAFETY: the above buffer size check also made sure we are not going out of bounds // here let threads = unsafe { - &*(ptr::slice_from_raw_parts(threads_start, header.num_threads as usize) - as *const [RawThread]) + &*ptr::slice_from_raw_parts( + threads_start as *const RawThread, +...
fix: Apply clippy lint
null
getsentry/symbolicator
MIT License
Rust
@@ -24,7 +24,12 @@ func validatePGPKey(keyData string) (*appsv1.GnuPGPublicKey, error) { if err != nil { return nil, err } - defer f.Close() + defer func() { + err = f.Close() + if err != nil { + log.Errorf("error closing file %q: %v", f.Name(), err) + } + }() parsed, err := gpg.ValidatePGPKeys(f.Name()) if err != nil ...
fix: Add logic to handle for f.Close() for util/db
null
argoproj/argo-cd
Apache License 2.0
Go
@@ -31,7 +31,7 @@ type VNodeProps = PickNotAny<vue_1.VNodeProps, vue_2.VNodeProps>; type AllowedComponentProps = PickNotAny<vue_1.AllowedComponentProps, vue_2.AllowedComponentProps>; type PropType<T> = PickNotAny<vue_1.PropType<T>, vue_2.PropType<T>>; type EmitsOptions = PickNotAny<vue_1.EmitsOptions, vue_2.EmitsOption...
fix: cannot extract superset `DefineComponent` emit option type
null
johnsoncodehk/volar
MIT License
TypeScript
@@ -402,7 +402,9 @@ def encode_dict(d, encoding="utf-8"): def decode_dict(d, encoding="utf-8"): for key in d: if isinstance(d[key], str) and not isinstance(d[key], str): + d[key] = d[key].decode(encoding, "ignore") return d + @functools.lru_cache() def get_site_name(hostname): return hostname.split(':')[0]
fix: Resolved conflict issue
null
frappe/frappe
MIT License
Python
@@ -780,7 +780,7 @@ static int run(int argc, char** argv) if (!TEST_FLAG_) \ ERROR_MSG(func_name, expr) \ << "With expecitation\n" \ - << " Expected to throw an exception. But non are " \ + << " Expected to throw an exception. But none are " \ "thrown.\n\n"; \ } while (0);
fix: typo in drogon_test.h
null
an-tao/drogon
MIT License
C
@@ -113,6 +113,12 @@ namespace Blog.Core.Model.Models [SugarColumn(IsIgnore = true)] public bool hasChildren { get; set; } = true; + [SugarColumn(IsIgnore = true)] + public List<Permission> Children { get; set; } = new List<Permission>(); + + [SugarColumn(IsIgnore = true)] + public Modules Module { get; set; } + //publ...
fix: change seed logic about
null
anjoy8/blog.core
Apache License 2.0
C#
@@ -39,7 +39,7 @@ class NewPage extends AbstractCommand new InputArgument('path', InputArgument::OPTIONAL, 'Use the given path as working directory'), new InputOption('force', 'f', InputOption::VALUE_NONE, 'Override the file if already exist'), new InputOption('open', 'o', InputOption::VALUE_NONE, 'Open editor automati...
fix: `new:page` command
null
cecilapp/cecil
MIT License
PHP
@@ -22,5 +22,5 @@ from .serializable import Serializable class Estimator(Component, Serializable): @abstractmethod - def fit(self, x: list, y: list): + def fit(self, *args, **kwargs): pass
fix: estimator can be fitted on any amount of inputs
null
deeppavlov/deeppavlov
Apache License 2.0
Python
@@ -1774,7 +1774,8 @@ void SuperMediaPlayer::LiveTimeSync(int64_t delayTime) int64_t catchUpBufferDelta = std::max(mSet->highLevelBufferDuration, maxGopTime); - if (delayTime > mSuggestedPresentationDelay + 1000 * 1000 * 5 && getPlayerBufferDuration(false, false) > catchUpBufferDelta) { + if (delayTime > (mSuggestedPre...
fix(livetimesync): drop frame when buffer lenth large enough
null
alibaba/cicadaplayer
MIT License
C++
@@ -77,7 +77,7 @@ def application(request: Request): rollback = after_request(rollback) finally: - if request.method in ("POST", "PUT") and frappe.db and rollback: + if request.method in UNSAFE_HTTP_METHODS and frappe.db and rollback: frappe.db.rollback() frappe.rate_limiter.update()
fix: apply rollback to all HTTP methods that can write
null
frappe/frappe
MIT License
Python
@@ -23,8 +23,6 @@ import ( "strings" "testing" - "github.com/spf13/cobra" - "helm.sh/helm/v3/internal/test/ensure" "helm.sh/helm/v3/pkg/chart" "helm.sh/helm/v3/pkg/chart/loader" @@ -194,13 +192,6 @@ func TestSetAppVersion(t *testing.T) { } } -func setFlags(cmd *cobra.Command, flags map[string]string) { - dest := cmd.Fl...
fix: remove deadcode
null
helm/helm
Apache License 2.0
Go
@@ -158,6 +158,11 @@ public: updateColor(); } + bool isVisible() const override + { + return _letterVisible; + } + //LabelLetter doesn't need to draw directly. void draw(Renderer* /*renderer*/, const Mat4 & /*transform*/, uint32_t /*flags*/) override {
fix: LabelLetter::isVisible always returns false
null
c4games/engine-x
MIT License
C++
@@ -281,7 +281,7 @@ impl MemDB { ) -> Result<BoxStream<'_, String>, StorageError> { match self.series_map.tag_keys.get("_m") { Some(values) => { - let values = values.keys().cloned(); + let values = values.iter().cloned(); Ok(stream::iter(values).boxed()) } None => Ok(stream::empty().boxed()),
fix: Update after rebasing on the switch from BTreeMap to BTreeSet
null
influxdata/influxdb_iox
Apache License 2.0
Rust
var f = require('util').format; var test = require('./shared').assert; var setupDatabase = require('./shared').setupDatabase; +const { ReadPreference } = require('../../src'); const { Db } = require('../../src/db'); const expect = require('chai').expect; @@ -301,4 +302,10 @@ describe('MongoClient', function () { } }); ...
fix: use options for readPreference in client
null
mongodb/node-mongodb-native
Apache License 2.0
JavaScript
@@ -205,8 +205,11 @@ async function injectDelayedScripts(contentId, webId, { cache, scripts }) { assign(bridge.cache, cache); let needsInvoker; scripts::forEach(script => { - const { code, runAt } = script; + const { code, runAt, custom: { pathMap } } = script; const { id } = script.props; + if (pathMap) { + bridge.pat...
fix: use pathMap in delayed scripts
null
violentmonkey/violentmonkey
MIT License
JavaScript
@@ -64,30 +64,22 @@ downloader() { if [ "$1" = --check ]; then need_cmd "$_dld" elif [ "$_dld" = curl ]; then - if check_help_for curl --proto --tlsv1.3; then - # Some curl support the tls 1.3 flag but does not actually support it because - # libreSSL wasn't compiled with it. - if check_support_for "LibreSSL was built ...
fix: install.sh script limits to 1.2
null
dfinity/sdk
Apache License 2.0
Shell
@@ -7,6 +7,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; +import java.util.stream.Collectors; import javax.swing.BorderFactory; import javax.swing.JLabel; @@ -17,9 +18,12 @@ import javax.swing.WindowConstants; import jadx.api.CodePosition; import jadx...
fix(gui): find usage for overridden methods (#1349)(PR
null
skylot/jadx
Apache License 2.0
Java
@@ -21,7 +21,7 @@ public class JadxCLI { } catch (JadxArgsValidateException e) { LOG.error("Incorrect arguments: {}", e.getMessage()); result = 1; - } catch (Exception e) { + } catch (Throwable e) { LOG.error("Process error:", e); result = 1; } finally {
fix(cli): don't ignore critical errors
null
skylot/jadx
Apache License 2.0
Java
@@ -23,7 +23,7 @@ const minBalanceNewAccount = parseCurrencyUnit(currency.units[0], "0.1"); // Spendable balance for a non-ASA account const getSpendableBalance = (maxSpendable) => { maxSpendable = maxSpendable.minus(minFees); - invariant(maxSpendable.gt(minFees), "Spendable balance is too low"); + invariant(maxSpendab...
fix(Algorand specs): fix invariant related to max spendable balance
null
ledgerhq/ledger-live-common
Apache License 2.0
JavaScript
@@ -181,7 +181,6 @@ fn match_result_to_hyper_response( .header(hyper::header::ACCESS_CONTROL_ALLOW_ORIGIN, origin) .header(hyper::header::ACCESS_CONTROL_ALLOW_METHODS, "GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH") .header(hyper::header::ACCESS_CONTROL_ALLOW_HEADERS, "*") - .header(hyper::header::ACCES...
fix: access-control-allow-methods header was duplicated
null
pact-foundation/pact-reference
MIT License
Rust
@@ -103,7 +103,7 @@ bool fail_point::parse_from_string(string_view action) } sub_match = match[3]; - string_view task_type = sub_match.str(); + std::string task_type = sub_match.str(); if (task_type.compare("off") == 0) { _task = Off; } else if (task_type.compare("return") == 0) {
fix(asan): heap-use-after-free caused by using string_view in fail_point
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -459,6 +459,12 @@ func (db *DB) putSync( } } + // if we try to add a new item at a lesser radius than the last known eviction + // radius of the batch, we should not add the chunk to reserve, but to cache + if !withinRadius(db, item) { + return db.addToCache(batch, item) + } + found, err := db.pullIndex.Has(item) if...
fix: prevent reserve put for out of depth chunks
null
ethersphere/bee
BSD 3-Clause New or Revised License
Go
use std::ffi::c_void; use std::marker::PhantomData; -use std::mem::ManuallyDrop; +#[cfg(feature = "napi-6")] use std::sync::Arc; use neon_runtime::reference; @@ -32,7 +32,9 @@ unsafe impl Sync for NapiRef {} /// A `Root<T>` may be sent across threads, but the referenced object may /// only be accessed on the JavaScript...
fix(neon): Fix a leak from global event queue Arc not being dropped
null
neon-bindings/neon
Apache License 2.0
Rust
@@ -63,7 +63,7 @@ class Order(Model): if jh.is_live(): self.notify_submission() - if jh.is_debuggable('order_submission') or jh.is_live(): + if jh.is_debuggable('order_submission'): txt = f'{"QUEUED" if self.is_queued else "SUBMITTED"} order: {self.symbol}, {self.type}, {self.side}, {self.qty}' if self.price: txt += f'...
fix: allow logging of Order messages being optional
null
jesse-ai/jesse
MIT License
Python
@@ -59,14 +59,7 @@ const scripts = { const und = () => [['und', 1]]; -/** - * Class for managing languages. The main purpose is to guess the language of - * an utterance, but it also manage a list of languages indexed by both ISOs. - */ class Language { - /** - * Constructor of the class. - */ constructor() { this.lang...
fix: Fixed error in language guessing with non latin languages
null
axa-group/nlp.js
MIT License
JavaScript
@@ -220,7 +220,7 @@ public class DefaultFieldFilterService implements FieldFilterService .collect( Collectors.joining( "," ) ); } - if ( params.getObjects().isEmpty() ) + if ( params.getObjects().isEmpty() || objects.stream().allMatch( Objects::isNull ) ) { return collectionNode; }
fix: NPE when provided enrollment does not exist
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java