diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -222,15 +222,22 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => async action => } else if (updatedSessionData.status !== PENDING) { dispatch(hidePendingRecordingNotification(mode)); - if (updatedSessionData.status === ON - && (!oldSessionData || oldSessionData.status !== ON)) { + if (updatedSessio...
fix(recording): recording link
null
jitsi/jitsi-meet
Apache License 2.0
JavaScript
@@ -831,9 +831,6 @@ class RenderFlexLayout extends RenderBox double actualSize; double actualSizeDelta; - elementWidth = getElementWidth(nodeId); - elementHeight = getElementHeight(nodeId); - // Get layout width from children's width by flex axis double constraintWidth = _direction == Axis.horizontal ? idealSize : cros...
fix: no need to recal element height
null
openkraken/kraken
Apache License 2.0
Dart
@@ -25,7 +25,6 @@ fn main() { // If your language uses an external scanner written in C++, // then include this block of code: - /* let mut cpp_config = cc::Build::new(); cpp_config.cpp(true); cpp_config.include(&src_dir); @@ -36,5 +35,4 @@ fn main() { cpp_config.file(&scanner_path); cpp_config.compile("scanner"); prin...
fix: add scanner.cc for Rust
null
wilfred/difftastic
MIT License
Rust
@@ -145,7 +145,7 @@ def get_dict_from_hooks(fortype, name): return translated_dict def add_lang_dict(code): - """Extracts messages and returns Javascript code snippet to be appened at the end + """Extracts messages and returns Javascript code snippet to be append at the end of the given script :param code: Javascript c...
fix(translation): Update regex to extract context
null
frappe/frappe
MIT License
Python
@@ -127,7 +127,7 @@ def update_assignments(old, new, doctype): frappe.delete_doc('ToDo', todo.name) unique_assignments = list(set(old_assignments + new_assignments)) - frappe.db.set_value(doctype, new, '_assign', json.dumps(unique_assignments)) + frappe.db.set_value(doctype, new, '_assign', frappe.as_json(unique_assign...
fix: use frappe.as_json
null
frappe/frappe
MIT License
Python
@@ -680,7 +680,10 @@ class CSSText { } double offsetX = CSSLength.parseLength(shadowDefinitions[1]!, renderStyle, property).computedValue; double offsetY = CSSLength.parseLength(shadowDefinitions[2]!, renderStyle, property).computedValue; - double blurRadius = CSSLength.parseLength(shadowDefinitions[3]!, renderStyle, p...
fix: text-shadow with no blur-radius set
null
openkraken/kraken
Apache License 2.0
Dart
@@ -5284,6 +5284,11 @@ ACTOR Future<Void> startBlobManager(ClusterControllerData* self) { id_used); int64_t nextEpoch = wait(getNextBMEpoch(self)); + if (!self->masterProcessId.present() || + self->masterProcessId != self->db.serverInfo->get().master.locality.processId() || + self->db.serverInfo->get().recoveryState < ...
fix: check if the master has been killed while waiting for getNextBMEpoch
null
apple/foundationdb
Apache License 2.0
C++
@@ -8,6 +8,8 @@ iptables -t nat -D POSTROUTING -m set ! --match-set ovn40subnets src -m set --ma iptables -t nat -D POSTROUTING -m set ! --match-set ovn40subnets src -m set --match-set ovn40local-pod-ip-nat dst -j RETURN iptables -t nat -D POSTROUTING -m set --match-set ovn40subnets src -m set --match-set ovn40subnets ...
fix: add new iptable cleanup commands
null
kubeovn/kube-ovn
Apache License 2.0
Shell
@@ -23,7 +23,7 @@ class ArtistRepository extends Repository ->leftJoin('interactions', static function (JoinClause $join) use ($user): void { $join->on('interactions.song_id', '=', 'songs.id')->where('interactions.user_id', $user->id); }) - ->groupBy('artists.id') + ->groupBy(['artists.id', 'play_count']) ->isStandard(...
fix: 500 error on home
null
koel/koel
MIT License
PHP
@@ -51,7 +51,8 @@ export default Vue.extend({ style: { height: convertToUnit(this.height), maxHeight: convertToUnit(this.maxHeight) - } + }, + on: this.$listeners }, [ this.__cachedSizer, this.genContent()
fix(v-responsive): pass listeners to render
null
vuetifyjs/vuetify
MIT License
TypeScript
@@ -10,9 +10,9 @@ except ImportError: @Statement.from_func(historical=False, quantitative=False, use_globals=True) -def IsGitBehind(repo=None, fetch=False, **kwargs): +def IsGitBehind(root=None, fetch=False, **kwargs): "Check whether the GIT repository is behind" - repo = Repo(repo) + repo = Repo(root) if fetch: repo.r...
fix: Updated IsGitBehind repo
null
miksus/rocketry
MIT License
Python
@@ -115,17 +115,22 @@ public class FileUtils { public static void deleteDirIfExists(Path dir) { if (Files.exists(dir)) { + try { deleteDir(dir); + } catch (Exception e) { + LOG.error("Failed to delete dir: " + dir.toAbsolutePath(), e); + } } } - public static void deleteDir(Path dir) { + private static void deleteDir(P...
fix: check if directory exists before delete
null
skylot/jadx
Apache License 2.0
Java
@@ -141,11 +141,11 @@ renderer::renderer( } } - m_comp_bg = cairo::utils::str2operator(m_conf.get("settings", "compositing-background", ""s), CAIRO_OPERATOR_SOURCE); + m_comp_bg = cairo::utils::str2operator(m_conf.get("settings", "compositing-background", ""s), CAIRO_OPERATOR_OVER); m_comp_fg = cairo::utils::str2operat...
fix(renderer): Default all comp. operators to OVER
null
polybar/polybar
MIT License
C++
use axum::extract; use axum::http::StatusCode; use axum::response::Json; +use symbolic::common::ByteView; use tokio::fs::File; use crate::endpoints::symbolicate::SymbolicationRequestQueryParams; @@ -53,6 +54,17 @@ pub async fn handle_minidump_request( let minidump_file = minidump.ok_or((StatusCode::BAD_REQUEST, "missin...
fix: Discard minidumps with multipart form data
null
getsentry/symbolicator
MIT License
Rust
@@ -325,6 +325,13 @@ defmodule Ash.Actions.Load do ]) end + source_query = + if related_query.tenant do + Ash.Query.set_tenant(source_query, related_query.tenant) + else + source_query + end + with {:ok, new_query} <- true_load_query( relationship, @@ -466,6 +473,13 @@ defmodule Ash.Actions.Load do ) end + source_query...
fix: set source_query tenant in lateral join
null
ash-project/ash
MIT License
Elixir
@@ -591,8 +591,6 @@ bool app_stat(command_executor *e, shell_context *sc, arguments args) tp.append_data(row.recent_abnormal_count); tp.append_data(row.recent_write_throttling_delay_count); tp.append_data(row.recent_write_throttling_reject_count); - tp.append_data(row.recent_read_throttling_delay_count); - tp.append_da...
fix: shell app_stat removes unexpected columns
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -581,7 +581,7 @@ const WalletTransactions = () => { return ( <View style={styles.flex}> <StatusBar barStyle="light-content" backgroundColor={WalletGradient.headerColorFor(wallet.current.type)} /> - {wallet.current.chain === Chain.ONCHAIN && isHandOffUseEnabled && ( + {wallet.current.chain === Chain.ONCHAIN && wallet...
fix: Disable handoff for Multisig
null
bluewallet/bluewallet
MIT License
JavaScript
@@ -5,7 +5,7 @@ export const useStyles = makeStyles(theme => ({ padding: '0', ['& a']: { textDecoration: 'none', - color: theme.palette.primary.light, + color: 'inherit', }, '&:hover': { backgroundColor: theme.palette.grey[200],
fix: remove link color in strategies list
null
unleash/unleash
Apache License 2.0
TypeScript
@@ -240,8 +240,12 @@ namespace WalkingTec.Mvvm.Core if (col.FieldType?.IsNumber() == true) { cell = DR.CreateCell(ColIndex, CellType.Numeric); + try + { cell.SetCellValue(Convert.ToDouble(text)); } + catch { } + } else { cell = DR.CreateCell(ColIndex);
fix: fix the bug that export float with null value fails
null
dotnetcore/wtm
MIT License
C#
@@ -21,7 +21,7 @@ public class List extends Component { static final String LIST_SELECTOR = ".tc-list"; - static final String ADD_BTN_SELECTOR = ".btn-success"; + static final String ADD_BTN_SELECTOR = ".tc-actionbar-container .btn-primary"; static final String LIST_ITEMS_SELECTOR = ".tc-list-display-table div:first-ch...
fix(e2e): add button selector in list
null
talend/ui
Apache License 2.0
Java
@@ -193,7 +193,6 @@ def findall(obj, prs, forced_type=None, return pclss -# pylint: enable=unused-argument def find(obj, prs, forced_type=None, cls=anyconfig.models.processor.Processor): """ :param obj:
fix: enable pylint's unused-argument check
null
ssato/python-anyconfig
MIT License
Python
@@ -64,7 +64,7 @@ void AVFoundationVideoRender::setBackgroundColor(uint32_t color) } bool AVFoundationVideoRender::deviceRenderFrame(IAFFrame *frame) { - bool rendered = false; + bool converted = false; if (frame) { if (mConvertor == nullptr) { @@ -76,26 +76,30 @@ bool AVFoundationVideoRender::deviceRenderFrame(IAFFram...
fix(iOS): fix memory leak when be rendered at renderCallback
null
alibaba/cicadaplayer
MIT License
C++
@@ -318,7 +318,10 @@ namespace Cicada { } while (true); if (mNedParserPkt) { + int old_duration = pkt->duration; av_compute_pkt_fields(mCtx, mCtx->streams[pkt->stream_index], nullptr, pkt, AV_NOPTS_VALUE, AV_NOPTS_VALUE); + // the algorithm of duration was incorrect for mpegts, so restore it + pkt->duration = old_durat...
fix(avformatdemuxer): restore duration after recompute pkt fields for hls+ts
null
alibaba/cicadaplayer
MIT License
C++
@@ -12,7 +12,7 @@ const SkeletonAvatar = (props: AvatarProps) => { const renderSkeletonAvatar = ({ getPrefixCls }: ConfigConsumerProps) => { const { prefixCls: customizePrefixCls, className, active } = props; const prefixCls = getPrefixCls('skeleton', customizePrefixCls); - const otherProps = omit(props, ['prefixCls'])...
fix: SkeletonAvatar className
null
ant-design/ant-design
MIT License
TypeScript
@@ -55,5 +55,16 @@ func PromptCore(console io.Writer, args ...interface{}) int { if lfPos >= 0 { text = text[lfPos+1:] } + for { + pos := strings.Index(text, "\b") + if pos < 0 { + break + } + if pos > 0 { + text = text[:pos-1] + text[pos+1:] + } else { + text = text[1:] + } + } return int(readline.GetStringWidth(text)...
fix: wrong calculation of prompt length
null
zetamatta/nyagos
BSD 3-Clause New or Revised License
Go
@@ -282,7 +282,11 @@ func (s *Service) createCheck(ctx context.Context, tx Tx, c influxdb.CheckCreate t, err := s.createCheckTask(ctx, tx, c) if err != nil { - return err + return &influxdb.Error{ + Code: influxdb.EInvalid, + Msg: "Could not create task from check", + Err: err, + } } c.SetTaskID(t.ID)
fix(ui): improve error message for create check
null
influxdata/influxdb
MIT License
Go
@@ -164,7 +164,7 @@ function del_floating_ip() { if [ "$?" -eq 0 ];then exec_cmd "iptables -t nat -D EXCLUSIVE_DNAT -d $eip -j DNAT --to-destination $internalIp" exec_cmd "iptables -t nat -D EXCLUSIVE_SNAT -s $internalIp -j SNAT --to-source $eip" - exec_cmd "conntrack -D -d $eip" + conntrack -D -d $eip 2>/dev/nul || tr...
fix: delete fiprule failed at first time
null
kubeovn/kube-ovn
Apache License 2.0
Shell
set -euo pipefail -DOCKER_IMAGE=linkedin/datahub-ingestion:${DATAHUB_VERSION:-latest} +DOCKER_IMAGE=linkedin/datahub-ingestion:${DATAHUB_VERSION:-head} -docker pull --quiet $DOCKER_IMAGE +echo "+ Pulling $DOCKER_IMAGE" +docker pull $DOCKER_IMAGE +echo '+ Running ingestion' docker run --rm \ --network host \ --workdir=/...
fix(docker): use head tag for datahub-ingestion
null
linkedin/datahub
Apache License 2.0
Shell
@@ -126,6 +126,15 @@ macro_rules! completed { }; } +/// Tests Provider error for nonce too low issue through debug contents +fn is_nonce_too_low(e: &ProviderError) -> bool { + let debug_str = format!("{:?}", e); + + debug_str.contains("nonce too low") // Geth, Arbitrum, Optimism + || debug_str.contains("nonce is too lo...
fix: nonce too low for different providers
null
gakonst/ethers-rs
Apache License 2.0
Rust
@@ -617,6 +617,7 @@ class RenderBoxModel extends RenderBox // Copy overflow ..scrollListener = scrollListener + ..pointerListener = pointerListener ..clipX = clipX ..clipY = clipY ..enableScrollX = enableScrollX
fix: scroll fails when set single direction overflow to auto or scroll
null
openkraken/kraken
Apache License 2.0
Dart
import { ISchema } from '@formily/react'; import { uid } from '@formily/shared'; +import { useUpdateActionProps } from '../../block-provider/hooks'; +import { useSchemaTemplateManager } from '../SchemaTemplateManagerProvider'; + +const useUpdateSchemaTemplateActionProps = () => { + const props = useUpdateActionProps();...
fix: block template names updated in real time
null
nocobase/nocobase
Apache License 2.0
TypeScript
@@ -150,6 +150,13 @@ static void benchmark_convbias(Handle* handle, std::string int_name, .set_dtype(2, dtype::Int16()) .set_dtype(4, dtype::Int16()) .set_display(false); + benchmarker_int.set_times(RUNS) + .set_dtype(0, dtype::Int8()) + .set_dtype(1, dtype::Int8()) + .set_dtype(2, dtype::Int16()) + .set_dtype(4, dtype...
fix(dnn/test): fix nchw_nchw44 i8i8i16 benchmark
null
megengine/megengine
Apache License 2.0
C++
@@ -46,7 +46,9 @@ class ScriptElement extends Element { @override void connectedCallback() { super.connectedCallback(); - String src = getProperty('src'); + String? src = getProperty('src'); + if (src != null) { _fetchBundle(src); } } +}
fix: fix dart error when url is null
null
openkraken/kraken
Apache License 2.0
Dart
@@ -370,14 +370,6 @@ def test_solc_use_latest_patch_specific_included(testproject, network): ) == Version("0.4.26") -def test_abi_deployment_enabled_by_default(network, build): - network.connect("mainnet") - address = "0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e" - Contract.from_abi("abiTester", address, build["abi"]) -...
fix: remove tests
null
eth-brownie/brownie
MIT License
Python
@@ -613,7 +613,8 @@ it('should climb up to [role=button]', async ({ page }) => { it('should climb up to a anchor', async ({ page }) => { // For Firefox its not allowed to return anything: https://bugzilla.mozilla.org/show_bug.cgi?id=1392046 - await page.setContent(`<a href="javascript:(function(){window.__CLICKED=true}...
fix(edge): improve the anchor test
null
microsoft/playwright
Apache License 2.0
TypeScript
@@ -87,9 +87,8 @@ class Item extends ManualHelper if (isset($baseParam) && preg_match('/^BaseParam(\d+)$/', $key, $matches, PREG_OFFSET_CAPTURE)) { $valuePropName = 'BaseParamValue' . $matches[1][0]; $statName = $baseParam->Name_en; - $item->Stats = $item->Stats ?? array(); + $item->Stats = $item->Stats ?? new stdClass...
fix(stats): better implementation to make stats easily searchable
null
xivapi/xivapi.com
MIT License
PHP
@@ -157,7 +157,6 @@ export class TerminusBootstrapService implements OnApplicationBootstrap { * Gets called when the application gets bootstrapped. */ public onApplicationBootstrap() { - // httpServer for express, instance.server for fastify this.httpServer = this.refHost.httpAdapter.getHttpServer(); this.bootstrapTerm...
fix(@nestjs/terminus): Deprecated comment
null
nestjs/terminus
MIT License
TypeScript
@@ -78,9 +78,7 @@ export class ListDetailsPanelComponent implements OnChanges, OnInit { if (this.data !== null) { this.tiers = [[]]; this.topologicalSort(this.data).forEach(row => { - if (row.requires !== undefined) { this.tiers = this.setTier(row, this.tiers); - } }); } } @@ -132,7 +130,7 @@ export class ListDetailsPa...
fix: tiers display with non-crafts is now possible
null
ffxiv-teamcraft/ffxiv-teamcraft
MIT License
TypeScript
@@ -43,6 +43,7 @@ PriorityMuxer::PriorityMuxer(int ledCount) // forward timeRunner signal to prioritiesChanged signal & threading workaround connect(this, &PriorityMuxer::timeRunner, this, &PriorityMuxer::prioritiesChanged); connect(this, &PriorityMuxer::signalTimeTrigger, this, &PriorityMuxer::timeTrigger); + connect(...
fix: PriorityMuxer prioritiesUpdate emit
null
hyperion-project/hyperion.ng
MIT License
C++
package io.javaoperatorsdk.operator.processing.event; -import java.util.Collections; -import java.util.HashSet; -import java.util.Objects; -import java.util.Set; +import java.util.*; import java.util.concurrent.locks.ReentrantLock; import org.slf4j.Logger; @@ -25,7 +22,10 @@ public class EventSourceManager<R extends Ha...
fix: issue with event source start ordering
null
java-operator-sdk/java-operator-sdk
Apache License 2.0
Java
@@ -242,6 +242,7 @@ func (self *SGoogleGuestDriver) RequestStartOnHost(ctx context.Context, guest *m log.Errorf("failed to update google userdata") } } + guest.SetStatus(userCred, api.VM_RUNNING, "StartOnHost") return task.ScheduleRun(result) } return guest.SetStatus(userCred, api.VM_RUNNING, "StartOnHost")
fix(region): set google vm running after start
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -35,6 +35,11 @@ class SchedulerCycles(BaseComparable): s = s + " has " + comps.get(key, key) + " " + str(val) + " cycles" return s + @classmethod + def from_magic(cls, **kwargs): + kwargs = {key: int(value) for key, value in kwargs.items()} + return super(SchedulerCycles, cls).from_magic(**kwargs) + class SchedulerS...
fix: SchedulerCycle parsing
null
miksus/rocketry
MIT License
Python
@@ -2626,8 +2626,8 @@ defmodule Ash.Filter do concat(["#Ash.Filter<", to_doc(expression, opts), ">"]) end - defp sanitize(%BooleanExpression{op: op, left: left, right: right}) do - %{op | left: sanitize(left), right: sanitize(right)} + defp sanitize(%BooleanExpression{left: left, right: right} = expr) do + %{expr | lef...
fix: scrub values properly, same as last bug
null
ash-project/ash
MIT License
Elixir
@@ -420,8 +420,6 @@ static void map_set_px(lv_color_t * dest_buf, lv_coord_t dest_stride, const lv_a int32_t src_stride = lv_area_get_width(src_area); - dest_buf += dest_stride * clip_area->y1 + clip_area->x1; - src_buf += src_stride * (clip_area->y1 - src_area->y1); src_buf += (clip_area->x1 - src_area->x1); @@ -430,7...
fix(draw): fix set_px_cb memory write overflow crash
null
lvgl/lvgl
MIT License
C
@@ -4,6 +4,7 @@ import queryString from 'query-string' import { RouteComponentProps } from 'react-router-dom' import Content from '../../components/Content' import Search from '../../components/Search' +import i18n from '../../utils/i18n' const SearchPanel = styled.div` margin-top: 211px; @@ -48,7 +49,7 @@ export defau...
fix: fix i18n issues
null
nervosnetwork/ckb-explorer-frontend
MIT License
TypeScript
@@ -6,7 +6,7 @@ use influxdb_iox_client::{ connection::Builder, management::{ self, ClosePartitionChunkError, GetPartitionError, ListPartitionChunksError, - ListPartitionsError, NewPartitionChunkError, UnloadPartitionChunkError + ListPartitionsError, NewPartitionChunkError, UnloadPartitionChunkError, }, }; use std::con...
fix: Run rustfmt with Rust 1.54
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -157,8 +157,8 @@ struct TestServer { ready: Mutex<ServerState>, /// Handle to the server process being controlled server_process: Child, - /// When using Docker, the ID of the detached child - docker_id: Option<String>, + /// When using Docker, the name of the detached child + docker_name: Option<String>, /// HTTP A...
fix: Remove the test docker container by name rather than ID
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -75,13 +75,13 @@ final class SerializeListener $attributes = RequestAttributesExtractor::extractAttributes($request); - // TODO: 3.0 remove condition + // TODO: 3.0 adapt condition (remove legacy part) if ( - (!$this->resourceMetadataFactory || $this->resourceMetadataFactory instanceof ResourceMetadataFactoryInterfa...
fix: ignore non API Platform routes on SerializeListener
null
api-platform/core
MIT License
PHP
@@ -59,7 +59,7 @@ export class NgPackage { const main: string = `bundles/${this.meta.name}.umd.js`; const module: string = `${this.meta.scope}/${this.meta.name}.es5.js`; const es2015: string = `${this.meta.scope}/${this.meta.name}.js`; - const typings: string = `src/index.d.ts`; + const typings: string = `${this.flatMo...
fix: correctly locate `typings` file
null
ng-packagr/ng-packagr
MIT License
TypeScript
@@ -97,7 +97,7 @@ const sizeMapping: Record<ButtonSize, number> = { large: 20, }; -export const Button = React.forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => { +const ButtonElement = React.forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => { const { size = 'regular', appearance = 'basic', @@ -132,7 ...
fix(Button): fixes button re-rendering issue due to tooltip wrapping
null
innovaccer/design-system
MIT License
TypeScript
-// Type definitions for isomorphic-git 1.0.0 +// Type definitions for isomorphic-git 0.x.x // Project: isomorphic-git // Definitions by: William Hilton <wmhilton.com> export as namespace git; /*~ You can declare types that are available via importing the module */ +export interface CommitDescription { + oid: string, /...
fix: Update TypeScript library definition
null
isomorphic-git/isomorphic-git
MIT License
TypeScript
@@ -30,7 +30,7 @@ public class TabBar extends Component { * * @param driver Selenium WebDriver */ - TabBar(WebDriver driver) { + public TabBar(WebDriver driver) { super(driver, NAME, SELECTOR); } @@ -40,7 +40,7 @@ public class TabBar extends Component { * @param driver Selenium WebDriver * @param id Unique ID of the co...
fix(components/e2e): tabbar constructors should be public
null
talend/ui
Apache License 2.0
Java
@@ -16,14 +16,19 @@ package exporter import ( "fmt" + "sync" "testing" ) func TestNewCounter(t *testing.T) { N := 100 - exitCh := make(chan int64, N) + wg := sync.WaitGroup{} + wg.Add(N) + for i := 0; i < N; i++ { go func(i int64) { + defer wg.Done() + name := fmt.Sprintf("name_%d_gauge", i%2) label := fmt.Sprintf("lab...
fix: fix bug when execute exporter test by using sync.waitGroup
null
chubaofs/chubaofs
Apache License 2.0
Go
@@ -2,6 +2,7 @@ package aws import ( "github.com/cloudskiff/driftctl/pkg/resource" + "github.com/hashicorp/go-version" ) const AwsInstanceResourceType = "aws_instance" @@ -10,7 +11,10 @@ func initAwsInstanceMetaData(resourceSchemaRepository resource.SchemaRepositoryI resourceSchemaRepository.SetNormalizeFunc(AwsInstanc...
fix: disable instance_initiated_shutdown_behavior field
null
cloudskiff/driftctl
Apache License 2.0
Go
@@ -79,7 +79,7 @@ uint64_t meta_store::get_decree_from_readonly_db(rocksdb::DB *db, } auto status = db->Get(rd_opts, cf, key, &data); if (status.ok()) { - dassert(dsn::buf2uint64(data, *value), + dassert_f(dsn::buf2uint64(data, *value), "rocksdb {} get {} from meta column family got error value {}", db->GetName(), key,...
fix: compile failed under the "g++ (GCC) 4.8.5 (Red Hat 4.8.5-11)"
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -143,8 +143,7 @@ LCUI_DirEntry* LCUI_ReadDirW( LCUI_Dir *dir ) return NULL; } dir->entry.dirent = *d; - LCUI_DecodeString( dir->entry.name, d->d_name, - d->d_reclen + 1, ENCODING_UTF8 ); + LCUI_DecodeString( dir->entry.name, d->d_name, 0, ENCODING_UTF8 ); return &dir->entry; #endif }
fix(util): 'struct dirent' has no member named 'd_reclen'
null
lc-soft/lcui
MIT License
C
/* global alert */ import React from 'react'; -import { Image, TouchableOpacity } from 'react-native'; +import { Image, TouchableOpacity, Platform } from 'react-native'; import PropTypes from 'prop-types'; import { RNCamera } from 'react-native-camera'; import { SafeBlueArea } from '../../BlueComponents'; @@ -74,7 +74,...
fix: Import QR Code from screenshot not working
null
bluewallet/bluewallet
MIT License
JavaScript
@@ -19,7 +19,7 @@ module.exports = async (ctx) => { .get(); const item = await Promise.all( - list.map((item) => + list.slice(0, 10).map((item) => ctx.cache.tryGet(item.link, async () => { const res = await got.get(item.link); const s = cheerio.load(res.data);
fix: reduce request items
null
diygod/rsshub
MIT License
JavaScript
// This is a quiz for the following sections: // - Variables // - Functions +// - If // Mary is buying apples. One apple usually costs 2 Rustbucks, but if you buy // more than 40 at once, each apple only costs 1! Write a function that calculates
fix(quiz1): update to say quiz covers "If"
null
rust-lang/rustlings
MIT License
Rust
@@ -74,6 +74,7 @@ import static org.onosproject.k8snetworking.api.Constants.ROUTING_TABLE; import static org.onosproject.k8snetworking.api.Constants.SRC; import static org.onosproject.k8snetworking.util.K8sNetworkingUtil.getBclassIpPrefixFromCidr; import static org.onosproject.k8snetworking.util.K8sNetworkingUtil.getPr...
fix: handle GRE and GENEVE net type for handling node port service
null
opennetworkinglab/onos
Apache License 2.0
Java
@@ -699,6 +699,11 @@ impl FunctionBody { ast::Expr::PathExpr(path_expr) => { cb(path_expr.path().and_then(|it| it.as_single_name_ref())) } + ast::Expr::ClosureExpr(closure_expr) => { + if let Some(body) = closure_expr.body() { + body.syntax().descendants().map(ast::NameRef::cast).for_each(|it| cb(it)); + } + } ast::Exp...
fix: Extract Function misses locals used in closures
null
rust-lang/rust-analyzer
Apache License 2.0
Rust
@@ -8,7 +8,7 @@ plugin_add_command() { local plugin_name=$1 - if ! printf "%s" "$plugin_name" | grep --quiet --extended-regexp "^[a-zA-Z0-9_-]+$"; then + if ! printf "%s" "$plugin_name" | grep -q -E "^[a-zA-Z0-9_-]+$"; then display_error "$plugin_name is invalid. Name must match regex ^[a-zA-Z0-9_-]+$" exit 1 fi
fix: shorthand grep options for alpine support
null
asdf-vm/asdf
MIT License
Shell
@@ -293,25 +293,24 @@ class ViomiValetudoRobot extends MiioValetudoRobot { }); // If status is an error, mark it as such statusValue = stateAttrs.StatusStateAttribute.VALUE.ERROR; - } else if (status === undefined) { - // If it is not an error, but we don't have any status data, use the status code from the error - sta...
fix(vendor.viomi): Don't raise three events for a single error
null
hypfer/valetudo
Apache License 2.0
JavaScript
@@ -729,8 +729,14 @@ Cursor.prototype.each = deprecate(function(callback) { * @return {Promise} if no callback supplied */ Cursor.prototype.forEach = function(iterator, callback) { + // Rewind cursor state + this.rewind(); + + // Set current cursor to INIT + this.s.state = Cursor.INIT; + if (typeof callback === 'functi...
fix(cursor): remove deprecated notice on forEach
null
mongodb/node-mongodb-native
Apache License 2.0
JavaScript
@@ -14,9 +14,9 @@ class PluginManager: provider (str): The name of the cloud provider. """ - def __init__(self, paths, provider): + def __init__(self, resource, provider): path = pathlib.Path(__file__).parent.resolve() - path = path / paths + path = path / resource all_paths = [str(path)]
fix: Rename parameter to more appropriate name
null
foremast/foremast
Apache License 2.0
Python
@@ -278,7 +278,6 @@ pub fn analyze_finish<GH: Grasshopper>( }; } - if blocking { let acl_block = |reasons: Vec<BlockReason>, tags: &mut Tags| { secpol .acl_profile @@ -286,8 +285,9 @@ pub fn analyze_finish<GH: Grasshopper>( .to_decision(is_human, mgh, &reqinfo, tags, reasons) }; - let decision = if decision.challenge {...
fix: send challenge even if acl is inactive in sec pol profile
null
curiefense/curiefense
Apache License 2.0
Rust
class CallOAuthServerTask extends Task { - private const AUTH_ROUTE = '/v1/oauth/token'; - public function run(array $data, string $languageHeader = null): array { - $authFullApiUrl = config('apiato.api.url') . self::AUTH_ROUTE; + $authFullApiUrl = route('passport.token'); $headers = [ 'HTTP_ACCEPT' => 'application/jso...
fix: take into account the API prefix
null
apiato/apiato
MIT License
PHP
@@ -579,6 +579,10 @@ struct OprWeightPreprocessProxyImpl : public OprProxyProfilingBase<Opr> { } AlgoProxy<Opr, arity>::exec( opr, tensors, &preprocessed_filter, Base::W.workspace()); + //! as preprocess_tensors will call destructor at end of this function, + //! sync to wait worker consume preprocess_tensors, to preve...
fix(opencl/test): fix test weight preprocess filter UAF issue
null
megengine/megengine
Apache License 2.0
C
@@ -235,7 +235,7 @@ stream { {{ range $nat := .NATs }} } server { - listen {{ $nat.StatusPort }}; + listen {{ $nat.ProxyPort }}; proxy_protocol on; proxy_pass {{ $nat.Name }}; } @@ -442,7 +442,7 @@ http { //only to get a 5 digits port proxyPort := fmt.Sprintf("40%d", transport.FrontendPort) - if transport.FrontendPort ...
fix(orbiter): corrected used variable in template
null
caos/orbos
Apache License 2.0
Go
@@ -280,7 +280,12 @@ class ActivitiesCoordinator: Coordinator { let activity = Activity(id: Int.random(in: 0..<Int.max), rowType: .standalone, tokenObject: tokenObject, server: eachEvent.server, name: card.name, eventName: eachEvent.eventName, blockNumber: eachEvent.blockNumber, transactionId: eachEvent.transactionId, ...
fix: crash when we write and then read OpenSea data which is empty for a token
null
alphawallet/alpha-wallet-ios
MIT License
Swift
@@ -346,8 +346,12 @@ async function createJSHelperFiles() { } async function createAndroidHelperFiles() { - const configJsonObj = { profile: 'default', envName: 'amplify', syncEnabled: true }; - const configJsonStr = JSON.stringify(configJsonObj); + const configJsonObj = { + profile: 'default', + envName: 'amplify', + ...
fix: use relative path for xcode and android studio helper files
null
aws-amplify/amplify-cli
Apache License 2.0
JavaScript
@@ -101,7 +101,7 @@ func Release(flags Flags) error { return err } log.WithField("file", notes).Info("loaded custom release notes") - log.WithField("file", notes).Debugf("custon release notes: \n%s", string(bts)) + log.WithField("file", notes).Debugf("custom release notes: \n%s", string(bts)) ctx.ReleaseNotes = string(...
fix: Typo in debug message for custom release notes
null
goreleaser/goreleaser
MIT License
Go
@@ -141,15 +141,17 @@ export class Interpreter { } RemoveAttribute(root, name) { const node = this.nodes[root]; - node.removeAttribute(name); + if (name === "value") { node.value = ""; - } - if (name === "checked") { + } else if (name === "checked") { node.checked = false; - } - if (name === "selected") { + } else if (...
fix: add a check for dangerousinnerhtml in interpreter
null
dioxuslabs/dioxus
Apache License 2.0
JavaScript
@@ -18,6 +18,10 @@ int initBridge() { registerDartMethodsToCpp(); int contextId = -1; + + // We should schedule addPersistentFrameCallback() to the next frame because of initBridge() + // will be called from persistent frame callbacks and cause infinity loops. + Future.microtask(() { // Port flutter's frame callback in...
fix: schedule bridge persistent frame callbacks to the next frame
null
openkraken/kraken
Apache License 2.0
Dart
@@ -217,7 +217,7 @@ class ListRecords extends Page implements Tables\Contracts\HasTable ->authorize($resource::canCreate()) ->model($this->getModel()) ->modelLabel($this->getModelLabel()) - ->form($this->getCreateFormSchema()); + ->form(fn (): array => $this->getCreateFormSchema()); if ($resource::hasPage('create')) { ...
fix: use closures to mount the form only when actions are triggered
null
laravel-filament/filament
MIT License
PHP
@@ -7,7 +7,7 @@ from typing import List from django.contrib.auth.models import Group from django.core.management.base import BaseCommand -from django.db import IntegrityError +from django.db import IntegrityError, transaction from django.utils import timezone from django_countries import countries as Countries from fak...
fix: fake_database person generation
null
carpentries/amy
MIT License
Python
@@ -79,25 +79,33 @@ struct KillRegionWorkload : TestWorkload { g_simulator.killDataCenter( LiteralStringRef("2"), ISimulator::RebootAndDelete, true ); g_simulator.killDataCenter( LiteralStringRef("4"), ISimulator::RebootAndDelete, true ); + state bool first = true; loop { - TraceEvent("ForceRecovery_Begin"); - Void _ =...
fix: do not force a recovery if the master was already in the other region (and therefore already recovered)
null
apple/foundationdb
Apache License 2.0
C++
@@ -41,13 +41,17 @@ EOF exit 1 fi echo "Retrying..." - sleep 5 + sleep 10 done - sleep 60 + # Sleep to avoid a racing condition where `kubectl wait` below will fail + # immediately that the "echo" route is not found and can thus not be waited + # upon to complete. + sleep 30 - # wait for the route to become ready - kub...
fix: increase timeout when testing int cluster availability
null
knative/func
Apache License 2.0
Shell
@@ -273,7 +273,10 @@ def _try_to_get_extension(obj): else: return None - return path and get_file_extension(path) or None + if path: + return get_file_extension(path) + + return None def are_same_file_types(objs):
fix: correct for pylint's warn, consider-using-ternary, in .utils._try_to_get_extension
null
ssato/python-anyconfig
MIT License
Python
@@ -176,7 +176,7 @@ enum BridgeError: Error { self.isActive = true appStatePlugin?.fireChange(isActive: self.isActive) } - NotificationCenter.default.addObserver(forName: UIApplication.didEnterBackgroundNotification, object: nil, queue: OperationQueue.main) { (notification) in + NotificationCenter.default.addObserver(f...
fix(ios): fire appStateChange in incoming calls
null
ionic-team/capacitor
MIT License
Swift
@@ -76,6 +76,7 @@ class Config(object): config_file_list (list of str): the external config file, it allows multiple config files, default is None. config_dict (dict): the external parameter dictionaries, default is None. """ + self.compatibility_settings() self._init_parameters_category() self.yaml_loader = self._buil...
fix: fix numpy compatibility issue
null
rucaibox/recbole
MIT License
Python
/** * The ID of the OHB RTP header extension, or -1 if it is not enabled. */ - private byte extensionID = 8; + private byte extensionID = -1; /** * Initializes a new {@link OriginalHeaderBlockTransformEngine} instance.
fix: Disables the OHB extension unless signaled
null
jitsi/libjitsi
Apache License 2.0
Java
@@ -3,6 +3,7 @@ import json from typing import TYPE_CHECKING, Optional import grpc +from grpc import RpcError from jina.clients.base import BaseClient from jina.clients.helper import callback_exec @@ -51,6 +52,8 @@ class GRPCBaseClient(BaseClient): self.logger.error( f'Returned code is not expected! Exception: {respons...
fix: nicer error message for rpc errors
null
jina-ai/jina
Apache License 2.0
Python
@@ -562,7 +562,7 @@ Please, check out your currently set filters: # mean distance from the lateral edge to the center of the brain is # ~ PA:10 mm, LR:7.5 mm, and IS:5 mm (see DOI: 10.1089/089771503770802853) # roll movement is most likely to occur, so set to 7.5 mm - config.workflow.fd_radius = 7.5 if opts.fd_radius i...
fix: remove call to `opts.fd_radius`
null
poldracklab/mriqc
BSD 3-Clause New or Revised License
Python
@@ -12,8 +12,12 @@ NOW=`date +%Y-%m-%d.%H:%M:%S` if [ "$DEBUG" == "true" ]; then echo " #START### SCRIPT inc.settingsFolderSpecific.sh ($NOW) ##" >> $PATHDATA/../logs/debug.log; fi # Get folder name of currently played audio +if [ "x${FOLDER}" == "x" ] +then FOLDER=$(cat $PATHDATA/../settings/Latest_Folder_Played) + if...
fix: handling of FOLDER in playlistaddplay
null
miczflor/rpi-jukebox-rfid
MIT License
Shell
@@ -271,11 +271,8 @@ func (d *devPod) start(ctx *devspacecontext.Context, devPodConfig *latest.DevPod case <-ctx.Context.Done(): return nil case <-time.After(time.Second): - resp, _ := http.Get(url) - if resp != nil && resp.StatusCode != http.StatusBadGateway && resp.StatusCode != http.StatusServiceUnavailable { - time...
fix: timeout for open
null
loft-sh/devspace
Apache License 2.0
Go
@@ -261,8 +261,9 @@ function convertW3CpublicationLinksToReadiumManifestLink( } interface Iw3cPublicationManifest { - "@context"?: string; - "conformsTo"?: string; + "type"?: string | string[]; + "@context"?: string | string[]; + "conformsTo"?: string | string[]; "id"?: string; "url"?: string; "name"?: string | IW3cLoc...
fix(audiobooks): fallback on W3C publication manifest type when mandatory conformsTo is missing (PR Fixes
null
edrlab/thorium-reader
BSD 3-Clause New or Revised License
TypeScript
import * as React from "react" import { EventEmitter } from "events" -import { WindowLocation } from "@reach/router" +import { WindowLocation, NavigateFn } from "@reach/router" import { createContentDigest } from "gatsby-core-utils" +import { + ComposeEnumTypeConfig, + ComposeInputObjectTypeConfig, + ComposeInterfaceTy...
fix(gatsby): Improve `gatsby` TS types for `sourceNodes`
null
gatsbyjs/gatsby
MIT License
TypeScript
@@ -522,7 +522,8 @@ func (h *AuthHandlers) doLogin(ctx context.Context, w http.ResponseWriter, req * if err != nil { return errors.Wrap(err, "isUserTotpCredInitialed") } - authToken = clientman.NewAuthToken(token.GetTokenString(), isUserEnableTotp(userInfo), isTotpInit) + isIdpLogin := body.Contains("idp_driver") + aut...
fix: save sso login status in cookie
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -65,9 +65,6 @@ fn version_is_stable(version: &CrateVersion) -> bool { } /// Read latest version from Versions structure -/// -/// Assumes the version are sorted so that the first non-yanked version is the -/// latest, and thus the one we want. fn read_latest_version( versions: &[CrateVersion], flag_allow_prerelease:...
fix: fuzzy match origin crate first
null
killercup/cargo-edit
MIT License
Rust
@@ -418,7 +418,7 @@ private RawPacket doTransform(RawPacket pkt, boolean send) } } } - return pkt; + return pkt.getLength() == 0 ? null : pkt; } } }
fix: Instead of a zero length packet, return null
null
jitsi/libjitsi
Apache License 2.0
Java
@@ -314,10 +314,10 @@ func receiveContainerLogStream(tenant, project, workflow, workflowrun, stage, co } if fileutil.Exists(logFilePath) { - return fmt.Errorf("log file %s already exists", logFilePath) + log.Infof("log file %s already exists, append logs", logFilePath) } - file, err := os.OpenFile(logFilePath, os.O_RDW...
fix: append container logs
null
caicloud/cyclone
Apache License 2.0
Go
@@ -256,6 +256,17 @@ namespace BugsnagUnity using (var context = activity.Call<AndroidJavaObject>("getApplicationContext")) { JavaClient = new AndroidJavaObject("com.bugsnag.android.Client", context, configuration.JavaObject); + + // the bugsnag-android notifier uses Activity lifecycle tracking to + // determine if the...
fix: inForeground for android
null
bugsnag/bugsnag-unity
MIT License
C#
@@ -176,7 +176,7 @@ public class MultiOriginAssembler { job.templateTask, outputBucket, fileStorage, - "path", ""); + "path", "waitTime", "inVehicleTime", "totalTime"); csvResultWriters.add(pathCsvWriter); }
fix(path): set csv headers for travel-time components
null
conveyal/r5
MIT License
Java
@@ -201,7 +201,7 @@ export function updatePartRanks (rundownId: string): Array<Part> { return compareRanks(a._rank, b._rank) } else { const aRank = segmentRanks[a.segmentId] || -1 - const bRank = segmentRanks[a.segmentId] || -1 + const bRank = segmentRanks[b.segmentId] || -1 return compareRanks(aRank, bRank) } })
fix: typo in rank calculation
null
nrkno/tv-automation-server-core
MIT License
TypeScript
@@ -39,9 +39,7 @@ return [ 'primary_key' => 'id', 'foreign_key' => 'user_id', 'model' => App\User::class, - 'resolver' => function () { - return Auth::check() ? Auth::user()->getAuthIdentifier() : null; - }, + 'resolver' => App\User::class, ], /*
fix(config): set the default value of the resolver to a FQCN, instead of a Closure. - Fixes
null
owen-it/laravel-auditing
MIT License
PHP
@@ -114,7 +114,7 @@ class InCoordinator: Coordinator { keystore: keystore, tokensStorage: tokensStorage ) - transactionCoordinator.rootViewController.tabBarItem = UITabBarItem(title: NSLocalizedString("transactions.tabbar.item.title", value: "Transactions", comment: ""), image: R.image.feed(), selectedImage: nil) + tra...
fix: tab icon colors are wrong for iOS 10
null
alphawallet/alpha-wallet-ios
MIT License
Swift
@@ -178,13 +178,13 @@ fn main() { let cmd = format!("{:?}", &cargo_cmd); let mut child = cargo_cmd .stdout(Stdio::piped()) - .stderr(Stdio::piped()) + .stderr(Stdio::null()) .spawn() .unwrap(); let mut deps: HashMap<String, Vec<String>> = HashMap::new(); { - let child_stdout = child.stdout.as_mut().unwrap(); + let chil...
fix: ensure piped stdout/stderr are closed when exiting build command
null
lumen/lumen
Apache License 2.0
Rust
@@ -2,6 +2,7 @@ package hrp import ( "bytes" + "crypto/tls" "encoding/json" "fmt" "io/ioutil" @@ -47,7 +48,15 @@ func (r *Runner) SetDebug(debug bool) *Runner { func (r *Runner) SetProxyUrl(proxyUrl string) *Runner { log.Info().Str("proxyUrl", proxyUrl).Msg("[init] SetProxyUrl") - // TODO + p, err := url.Parse(proxyUrl...
fix: set proxy url
null
httprunner/httprunner
Apache License 2.0
Go
@@ -50,6 +50,7 @@ export default { }, permanent: Boolean, right: Boolean, + stateless: Boolean, temporary: Boolean, touchless: Boolean, width: { @@ -103,6 +104,15 @@ export default { ? this.$vuetify.application.top + this.$vuetify.application.bottom : this.$vuetify.application.bottom }, + reactsToMobile () { + return !...
fix(v-navigation-drawer): added stateless prop, fixed booting logic
null
vuetifyjs/vuetify
MIT License
JavaScript