diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -14,7 +14,6 @@ import java.util.MissingResourceException;
import java.util.ResourceBundle;
import javax.enterprise.context.ApplicationScoped;
-import javax.enterprise.context.RequestScoped;
import javax.enterprise.event.Observes;
import javax.faces.context.FacesContext;
import javax.inject.Inject;
@@ -34,7 +33,7 @@ ... | fix: fix service scopes | null | gluufederation/oxauth | MIT License | Java |
@@ -1429,7 +1429,7 @@ void checkBetterDDOrRK(ClusterControllerData* self) {
TraceEvent("CC_HaltRK", self->id).detail("RKID", db.ratekeeper.get().id())
.detail("Excluded", rkWorker.priorityInfo.isExcluded)
.detail("Fitness", rkFitness).detail("BestFitness", bestFitnessForRK);
- self->recruitRatekeeper.trigger();
+ self-... | fix: recruit ratekeeper is not triggerred | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -105,4 +105,4 @@ class RandomNetworkDistillation(UncertaintyEstimator):
= self._get_embeddings(state)
diff = predicted_embedding.detach() - random_embedding.detach()
- return torch.norm(diff, p=2)
+ return torch.norm(diff, p=2).item()
| fix(rnd): return .item() in measure() method | null | rlberry-py/rlberry | MIT License | Python |
@@ -3,10 +3,11 @@ package start
import (
"context"
"errors"
- "github.com/caos/orbos/internal/api"
"runtime/debug"
"strings"
"time"
+
+ "github.com/caos/orbos/internal/api"
"github.com/caos/orbos/internal/executables"
"github.com/caos/orbos/internal/git"
"github.com/caos/orbos/internal/ingestion"
@@ -35,19 +36,39 @@ ty... | fix: read orbconfig with each orbiter iteration | null | caos/orbos | Apache License 2.0 | Go |
@@ -35,7 +35,7 @@ public static bool Raycast(VRTK_CustomRaycast customCast, Ray ray, out RaycastHi
}
else
{
- return Physics.Raycast(ray, out hitData, Mathf.Infinity, ~ignoreLayers);
+ return Physics.Raycast(ray, out hitData, length, ~ignoreLayers);
}
}
@@ -69,7 +69,7 @@ public static bool Linecast(VRTK_CustomRaycast c... | fix(Utilities): ensure custom raycast doesn't force infinity length | null | extendrealityltd/vrtk | MIT License | C# |
from allauth.socialaccount import app_settings
-from allauth.socialaccount.providers.base import ProviderAccount
+from allauth.socialaccount.providers.base import (
+ ProviderAccount,
+ ProviderException,
+)
from allauth.socialaccount.providers.oauth2.provider import OAuth2Provider
| fix(globus): Bad ProviderException handling | null | pennersr/django-allauth | MIT License | Python |
@@ -119,7 +119,7 @@ impl Config {
let mut curr = PathBuf::from(working_dir).canonicalize()?;
while curr.parent().is_some() {
if curr.join(CONFIG_FILE_NAME).is_file() {
- return Ok(curr);
+ return Ok(curr.join(CONFIG_FILE_NAME));
} else {
curr.pop();
}
@@ -127,7 +127,7 @@ impl Config {
// Have to check if the config cou... | fix: fix config resolution | null | dfinity/sdk | Apache License 2.0 | Rust |
@@ -315,8 +315,6 @@ class Page extends Item
*/
public function setPath(string $path): self
{
- $path = self::slugify(PrefixSuffix::sub($path));
-
// case of homepage
if ($path == 'index') {
$this->path = '';
| fix: do not double sub slug prefix | null | cecilapp/cecil | MIT License | PHP |
@@ -207,6 +207,10 @@ void JSBridge::evaluateByteCode(uint8_t *bytes, size_t byteLength) {
}
JSBridge::~JSBridge() {
+ if (disposeCallback != nullptr) {
+ disposeCallback(this);
+ }
+
if (!m_context->isValid()) return;
if (m_disposeCallback != nullptr) {
| fix: fix release not triggered | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -421,8 +421,7 @@ void ImageSimilarity::Initialize()
// -----------------------------------------------------------------------------
bool ImageSimilarity::SetWithoutPrefix(const char *param, const char *value)
{
-
- if (strcmp(param, "Foreground") == 0 || strcmp(param, "Foreground region")) {
+ if (strcmp(param, "Fo... | fix: Parsing of parameters in ImageSimilarity::Set [Registration] | null | biomedia/mirtk | Apache License 2.0 | C++ |
@@ -7,7 +7,6 @@ using ProTrans;
using UniInject;
using UniInject.Extensions;
using UniRx;
-using UnityEditor.VersionControl;
using UnityEngine;
using UnityEngine.UIElements;
using IBinding = UniInject.IBinding;
| fix: removed wrong import in SingSceneControl (probably inserted by IDE by accident) | null | ultrastar-deluxe/play | MIT License | C# |
@@ -49,7 +49,7 @@ async fn not_authorized_response_code() {
// Query failed: Can not send http request: Server responded with code 401
let client = TestClient::new_with_config(json!({
"network": {
- "endpoints": ["https://mainnet.evercloud.dev"]
+ "endpoints": ["mainnet.evercloud.dev"]
}
}));
@@ -67,7 +67,6 @@ async fn... | fix: Review comments | null | tonlabs/ton-sdk | Apache License 2.0 | Rust |
@@ -7296,9 +7296,9 @@ static size_t tokenize_command(char *command, int cmdlen, token_t *tokens, const
tokens[ntokens].length = e - s;
ntokens++;
*e = '\0';
- checked = e - command;
}
s = (++e);
+ checked = s - command;
} else {
e = command + cmdlen;
if (s != e) {
| fix: the miscalculated checked value in tokenize_command() | null | naver/arcus-memcached | Apache License 2.0 | C |
@@ -81,9 +81,7 @@ class AvModerationHandler(
chatRoom.setAvModerationEnabled(mediaType, enabled)
if (oldEnabledValue != enabled && enabled) {
logger.info(
- "Moderation had been enabled for conferenceJid=$conferenceJid, by=${
- incomingJson["actor"] as String
- }, for mediaType=$mediaType"
+ "Moderation for $mediaType ... | fix: Do not require that actor != null | null | jitsi/jicofo | Apache License 2.0 | Kotlin |
@@ -8,12 +8,16 @@ import { computed, getCurrentInstance } from 'vue-demi'
* @param key
* @param emit
*/
-export function useVModel<P extends object>(props: P, key: keyof P, emit?: (name: string, value: any) => void) {
+export function useVModel<P extends object, K extends keyof P>(
+ props: P,
+ key: K,
+ emit?: (name:... | fix(types): add return type for useVModel | null | vueuse/vueuse | MIT License | TypeScript |
@@ -39,7 +39,7 @@ describe('<LinePathAnnotation />', () => {
test('it should not render a label if label prop is undefined', () => {
const wrapper = shallow(<LinePathAnnotation />);
- expect(wrapper.prop('children').filter(c => !!c)).toHaveLength(1);
+ expect(wrapper.prop('children').filter((c?: React.ReactNode) => !!c... | fix(test/LinePathAnnotation): fix implicit any | null | airbnb/visx | MIT License | TypeScript |
@@ -51,9 +51,7 @@ export function autocomplete<TItem>({
});
const onResize = debounce(() => {
- if (!panel.hasAttribute('hidden')) {
setPanelPosition();
- }
}, 100);
function setPanelPosition() {
| fix(js): resize panel also when hidden | null | algolia/autocomplete | MIT License | TypeScript |
:attributes="$attributes->merge($getExtraAttributes())->class([
'filament-forms-radio-component',
'flex flex-wrap gap-3' => $isInline(),
- 'gap-2' => ! $isInline(),
+ 'space-y-2' => ! $isInline(),
])"
>
@php
| fix: Non-inline radio button spacing | null | laravel-filament/filament | MIT License | PHP |
@@ -21,5 +21,6 @@ hiddenimports = [
datas = (
hooks.collect_data_files("samcli")
+ hooks.collect_data_files("samtranslator")
+ + hooks.collect_data_files("aws_lambda_builders")
+ hooks.collect_data_files("text_unidecode")
)
| fix: include aws_lambda_builders package for java gradle | null | aws/aws-sam-cli | Apache License 2.0 | Python |
@@ -128,10 +128,10 @@ namespace modules {
ws_state = state::FOCUSED;
} else if (ws->urgent) {
ws_state = state::URGENT;
- } else if (!ws->visible || (ws->visible && ws->output != m_bar.monitor->name)) {
- ws_state = state::UNFOCUSED;
- } else {
+ } else if (ws->visible) {
ws_state = state::VISIBLE;
+ } else {
+ ws_stat... | fix(i3): Workspace state when visible on unfocused monitor | null | polybar/polybar | MIT License | C++ |
//! Miscellaneous types.
+use sp_std::fmt::Debug;
use codec::{Encode, Decode, FullCodec};
use sp_core::RuntimeDebug;
use sp_arithmetic::traits::{Zero, AtLeast32BitUnsigned};
@@ -160,9 +161,9 @@ impl WithdrawReasons {
}
/// Simple amalgamation trait to collect together properties for an AssetId under one roof.
-pub trai... | fix: add Debug to token traits | null | paritytech/substrate | Apache License 2.0 | Rust |
@@ -74,10 +74,15 @@ public class EntityUtils {
}
/**
- * Check if entity is removed (removed=true in Status aspect)
+ * Check if entity is removed (removed=true in Status aspect) and exists
*/
public static boolean checkIfRemoved(EntityService entityService, Urn entityUrn) {
try {
+
+ if (!entityService.exists(entityUr... | fix(recommendations): Check whether an entity exists before recommending | null | linkedin/datahub | Apache License 2.0 | Java |
@@ -18,6 +18,7 @@ import (
"fmt"
"github.com/lf-edge/ekuiper/pkg/ast"
"reflect"
+ "sort"
"testing"
)
@@ -307,6 +308,7 @@ func TestValidate(t *testing.T) {
t.Errorf("case %d: expect conditions %v but got %v", i, tt.c, tt.p.conditions)
continue
}
+ sort.Strings(tt.p.keys)
if !reflect.DeepEqual(tt.k, tt.p.keys) {
t.Errorf... | fix(test): sort the keys to make result consistent | null | emqx/kuiper | Apache License 2.0 | Go |
@@ -24,6 +24,15 @@ STANDARD_EXCLUSIONS = [
"*/patches/*",
]
+# tested via commands' test suite
+TESTED_VIA_CLI = [
+ "*/frappe/installer.py",
+ "*/frappe/build.py",
+ "*/frappe/database/__init__.py",
+ "*/frappe/database/db_manager.py",
+ "*/frappe/database/**/setup_db.py",
+]
+
FRAPPE_EXCLUSIONS = [
"*/tests/*",
"*/co... | fix: Exclude 'tested' files from coverage | null | frappe/frappe | MIT License | Python |
@@ -179,19 +179,23 @@ pub trait InputFormatPipe: Sized + Send + 'static {
let ctx_clone = ctx.clone();
let p = 3;
+ GlobalIORuntime::instance().spawn(async move {
+ for splits in ctx_clone.splits.chunks(p) {
+ let ctx_clone2 = ctx_clone.clone();
+ let data_tx2 = data_tx.clone();
+ let splits = splits.to_owned().clone()... | fix: optimize upsert table copied file info | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -140,6 +140,8 @@ lang = local("lang")
# This if block is never executed when running the code. It is only used for
# telling static code analyzer where to find dynamically defined attributes.
if typing.TYPE_CHECKING:
+ from frappe.utils.redis_wrapper import RedisWrapper
+
from frappe.database.mariadb.database import... | fix(typing): Add type hints for frappe.cache | null | frappe/frappe | MIT License | Python |
@@ -2771,8 +2771,13 @@ Document.prototype.populate = function populate() {
if (this.$session() != null) {
const session = this.$session();
paths.forEach(path => {
- path.options = path.options || {};
+ if (path.options == null) {
+ path.options = { session: session };
+ return;
+ }
+ if (!('session' in path.options)) {... | fix(document): handle overwriting `$session` in `execPopulate()` | null | automattic/mongoose | MIT License | JavaScript |
@@ -408,7 +408,6 @@ namespace DSharpPlus
this._ready = new AsyncEvent<DiscordClient, ReadyEventArgs>("READY", DiscordClient.EventExecutionLimit, this.EventErrorHandler);
this._resumed = new AsyncEvent<DiscordClient, ReadyEventArgs>("RESUMED", DiscordClient.EventExecutionLimit, this.EventErrorHandler);
this._channelCrea... | fix: Remove DMChannelEventArgs | null | dsharpplus/dsharpplus | MIT License | C# |
@@ -15,11 +15,14 @@ from __future__ import absolute_import
from typing import Optional, Iterator
from datetime import datetime
+import logging
from sagemaker.apiutils import _base_types
from sagemaker.lineage import _api_types
from sagemaker.lineage._api_types import AssociationSummary
+logger = logging.getLogger(__nam... | fix: deprecate tag logic on Association | null | aws/sagemaker-python-sdk | Apache License 2.0 | Python |
@@ -306,7 +306,7 @@ void discord_send_voice_state_update(
bool self_mute,
bool self_deaf,
struct discord_voice *p_vc);
-void discord_send_speaking(struct discord *client, struct discord_voice *vc, enum discord_voice_speaking_flags flag, int delay, int ssrc);
+void discord_send_speaking(struct discord_voice *vc, enum di... | fix: a function signature | null | cee-studio/orca | MIT License | C |
@@ -19,6 +19,7 @@ import org.camunda.bpm.engine.ProcessEngine;
import org.camunda.bpm.engine.ProcessEngineConfiguration;
import org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl;
import org.camunda.bpm.qa.upgrade.gson.ProcessInstanceModificationScenario;
+import org.camunda.bpm.qa.upgrade.gson.TaskFilterPr... | fix(engine): fix task filter properties with nested structures | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -217,9 +217,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options,
#endif
widget()->Init(std::move(params));
-#if defined(OS_WIN)
SetCanResize(resizable_);
-#endif
bool fullscreen = false;
options.Get(options::kFullscreen, &fullscreen);
| fix: mouse doesn't work on frameless browserwindows | null | electron/electron | MIT License | C++ |
#include <algorithm>
#include <iostream>
#include <vector>
-using namespace std;
-int n, m; // For number of Vertices (V) and number of edges (E)
-vector<vector<int>> G;
-vector<bool> visited;
-vector<int> ans;
+int number_of_vertices, number_of_edges; // For number of Vertices (V) and number of edges (E)
+std::vector<... | fix: linter warnings for topological_sort | null | thealgorithms/c-plus-plus | MIT License | C++ |
@@ -2520,7 +2520,10 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
};
- trilist.SetSigFalseAction(joinMap.CancelJoinAttempt.JoinNumber, () => trilist.SetBool(joinMap.MeetingPasswordRequired.JoinNumber, false));
+ trilist.SetSigFalseAction(joinMap.CancelJoinAttempt.JoinNumber, () => {
+ trilist.Se... | fix(essentials): Adds EndAllCalls to CancelJoinAttempt action | null | pepperdash/essentials | MIT License | C# |
@@ -5,6 +5,8 @@ namespace Shoko.Server.Utilities;
public static class LinuxFS
{
+ private static UnixUserInfo RealUser = UnixUserInfo.GetRealUser();
+
private static bool CanRun()
{
return Environment.OSVersion.Platform == PlatformID.MacOSX || Environment.OSVersion.Platform == PlatformID.Unix;
@@ -19,18 +21,28 @@ publi... | fix: conditionally set the file permissions if needed | null | shokoanime/shokoserver | MIT License | C# |
@@ -136,7 +136,8 @@ def _create_from_pipeline_dict(
pipeline_jobs_api_url = f'https://{region}-{_CAIPP_ENDPOINT_WITHOUT_REGION}/{_CAIPP_API_VERSION}/projects/{project_id}/locations/{region}/pipelineJobs'
# Preparing the request body for the Cloud Function processing
- full_pipeline_name = pipeline_dict.get('name')
+ pi... | fix(sdk): fix cloud scheduler's job name | null | kubeflow/pipelines | Apache License 2.0 | Python |
@@ -6,42 +6,35 @@ adapted from https://github.com/conveyal/leaflet-transit-editor/blob/master/lib/
and subsequently https://github.com/conveyal/scenario-editor/blob/master/lib/map/transit-editor/stop-layer.js
*/
-import { GridLayer, withLeaflet } from 'react-leaflet'
-import type {MapComponentProps, GridLayerProps} fro... | fix: stops layer | null | ibi-group/datatools-ui | MIT License | JavaScript |
@@ -11,6 +11,8 @@ COMMIT_MESSAGE=$(git log --format=oneline -n 1 $CIRCLE_SHA1)
# - the commit message does not contain `[skip publish]`
if [[ ! "$COMMIT_MESSAGE" =~ \[skip\ publish\] ]]; then
echo "Configuring npm for automation bot"
+
+ touch ~/$CIRCLE_WORKING_DIRECTORY/.npmrc
cat > ~/$CIRCLE_WORKING_DIRECTORY/.npmrc ... | fix: touch .npmrc file | null | commercetools/merchant-center-application-kit | MIT License | Shell |
@@ -107,7 +107,7 @@ describe('Receive tokens ["mainnet","smoke"]', async () => {
beforeEach(async () => {
browser = await puppeteer.launch(testUtil.getChromeOptions())
page = await browser.newPage()
- await page.goto(testUtil.extensionRootUrl)
+ await page.goto(testUtil.extensionRootUrl, { waitUntil: 'load', timeout: 6... | fix: Receive token test fix | null | liquality/wallet | MIT License | JavaScript |
@@ -19,11 +19,12 @@ func scaleDown(pools []*initializedPool, k8sClient *kubernetes.Client, uninitial
foundK8sNode, err := k8sClient.GetNode(id)
if macherrs.IsNotFound(err) {
err = nil
+ } else {
+ existingK8sNode = foundK8sNode
}
if err != nil {
return fmt.Errorf("getting node %s from kube api failed: %w", id, err)
}
-... | fix: only drain existing nodes | null | caos/orbos | Apache License 2.0 | Go |
@@ -469,7 +469,7 @@ export class SettingsService {
}
public get alarmVolume(): number {
- return Math.floor(+this.getSetting('alarm:volume', '0.5') * 1000) / 10;
+ return+this.getSetting('alarm:volume', '0.5');
}
public set alarmVolume(volume: number) {
@@ -485,7 +485,7 @@ export class SettingsService {
}
public get au... | fix(notifications): fixed an issue with notifications affecting autofill system | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -311,7 +311,8 @@ export const SegmentTimelineContainer = translateWithTracker<IProps, IState, ITr
props.timeScale !== nextProps.timeScale ||
!equalSets(props.segmentsIdsBefore, nextProps.segmentsIdsBefore) ||
!_.isEqual(props.countdownToSegmentRequireLayers, nextProps.countdownToSegmentRequireLayers) ||
- props.mini... | fix: minishelf reactivity issues | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -199,12 +199,17 @@ namespace ARKBreedingStats.Library
this.sex = sex;
this.levelsWild = levelsWild;
this.levelsDom = levelsDom ?? new int[Values.STATS_COUNT];
+ this.isBred = isBred;
if (isBred)
+ {
this.tamingEff = 1;
+ imprintingBonus = imprinting;
+ }
else
+ {
this.tamingEff = tamingEff;
- this.isBred = isBred;
-... | fix: use an imprinting of 0 when creating non bred creatures | null | cadon/arkstatsextractor | MIT License | C# |
@@ -243,7 +243,7 @@ public override void OnDeserializeDelta(NetworkReader reader)
// ClientToServer needs to set dirty in server OnDeserialize.
// no access check: server OnDeserialize can always
// write, even for ClientToServer (for broadcasting).
- AddOperation(Operation.OP_SET, i, oldItem, newItem, false);
+ AddOpe... | fix: SyncList callback for OP_SET index parameter fixed | null | vis2k/mirror | MIT License | C# |
@@ -53,6 +53,7 @@ public enum ValueType
{
TEXT( String.class, true ),
LONG_TEXT( String.class, true ),
+ MULTI_TEXT( String.class, true ),
LETTER( String.class, true ),
PHONE_NUMBER( String.class, false ),
EMAIL( String.class, false ),
@@ -77,8 +78,7 @@ public enum ValueType
URL( String.class, false ),
FILE_RESOURCE( S... | fix: move MULTI_TEXT valueType order | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -7,7 +7,7 @@ import { walletSelectors } from 'common/wallet';
import { pricesSelectors } from 'common/prices';
import { withStyles } from '@material-ui/core/styles';
import { Grid, Tab, Tabs, Button, Typography } from '@material-ui/core';
-import { WarningShieldIcon, CertificateIcon, success, warning } from 'selfkey... | fix: change icons in incorporation alert messages | null | selfkeyfoundation/identity-wallet | MIT License | JavaScript |
@@ -15,7 +15,11 @@ import (
)
func proxyPathPrefix(name string) string {
- return fmt.Sprintf("%sproxy/alertmanager/%s", config.Config.Listen.Prefix, name)
+ maybeSlash := ""
+ if !strings.HasSuffix(config.Config.Listen.Prefix, "/") {
+ maybeSlash = "/"
+ }
+ return fmt.Sprintf("%s%sproxy/alertmanager/%s", config.Confi... | fix(proxy): check for trailing slash on listen.prefix when proxy is on | null | prymitive/karma | Apache License 2.0 | Go |
@@ -793,7 +793,7 @@ std::pair<NetworkAddressList, NetworkAddressList> buildNetworkAddresses(const Cl
const NetworkAddress& currentPublicAddress = publicNetworkAddresses.back();
if (!currentPublicAddress.isValid()) {
- fprintf(stderr, "ERROR: %s is not valid a public ip address\n");
+ fprintf(stderr, "ERROR: %s is not a... | fix: missing argument to printf in fdbserver | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -112,6 +112,8 @@ nodes:
node, getNodeErr := k8sClient.GetNode(id)
if getNodeErr == nil {
machine.currentMachine.Node.Joined = true
+ machine.currentMachine.Node.Online = false
+ machine.currentMachine.Node.Maintaining = true
for _, cond := range node.Status.Conditions {
if cond.Type == v1.NodeReady {
machine.current... | fix: mark node as not online if not ready | null | caos/orbos | Apache License 2.0 | Go |
@@ -84,7 +84,6 @@ func (f *FutureSalt) Encode(b *bin.Buffer) error {
if f == nil {
return fmt.Errorf("can't encode future_salt#949d9dc as nil")
}
- b.PutID(FutureSaltTypeID)
b.PutInt(f.ValidSince)
b.PutInt(f.ValidUntil)
b.PutLong(f.Salt)
| fix(proto): future_salt remove typeid from encoder | null | gotd/td | MIT License | Go |
@@ -183,7 +183,7 @@ class BaseRecursiveDriver(BaseDriver):
self._depth_start = depth_range[0]
self._depth_end = depth_range[1]
if self._depth_end <= self._depth_start:
- self.logger.warning(f'invalid value for traversing, depth_range = {depth_range}')
+ self.logger.error(f'invalid value for traversing, depth_range = {d... | fix: update log level | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -379,7 +379,7 @@ class _ChatTitleState extends CustomState<ChatTitle, void, ConversationTileContr
}
return SizedBox(
- height: style.height! * style.fontSize! * 2,
+ height: style.height! * style.fontSize! * 1.5,
child: Align(
alignment: Alignment.center,
child: RichText(
| fix: reduced padding between chat title & pinned avatar | null | bluebubblesapp/bluebubbles-app | Apache License 2.0 | Dart |
@@ -7,14 +7,14 @@ pub struct SubCommand;
impl WholeStreamCommand for SubCommand {
fn name(&self) -> &str {
- "into column_path"
+ "into column-path"
}
fn signature(&self) -> Signature {
- Signature::build("into column_path").rest(
+ Signature::build("into column-path").rest(
"rest",
SyntaxShape::ColumnPath,
- "values t... | fix: change `into column_path` to `into column-path` (breaking change) | null | nushell/nushell | MIT License | Rust |
@@ -33,7 +33,7 @@ public final class Generalize implements Stmt {
}
public @NotNull Expr.Param toExpr(boolean explicit, @NotNull LocalVar ref) {
- return new Expr.Param(sourcePos, ref, type, explicit);
+ return new Expr.Param(ref.definition(), ref, type, explicit);
}
public @NotNull ImmutableSeq<Expr.Param> toExpr() {
| fix: generalize insertion position | null | aya-prover/aya-dev | MIT License | Java |
@@ -121,14 +121,14 @@ var deprecations = map[string]Deprecation{
MapFunc: nil,
},
"server.read_buffer_size": {
- Version: model.SemanticVersion{Major: 4, Minor: 37},
+ Version: model.SemanticVersion{Major: 4, Minor: 36},
Key: "server.read_buffer_size",
NewKey: "server.buffers.read",
AutoMap: true,
MapFunc: nil,
},
"ser... | fix(configuration): incorrect deprecated version | null | authelia/authelia | Apache License 2.0 | Go |
@@ -11,7 +11,7 @@ if ('getAppLevelAppearance' in systemPreferences) {
}
if ('getEffectiveAppearance' in systemPreferences) {
- const nativeEAGetter = systemPreferences.getAppLevelAppearance;
+ const nativeEAGetter = systemPreferences.getEffectiveAppearance;
Object.defineProperty(systemPreferences, 'effectiveAppearance'... | fix: systemPreferences.effectiveAppearance returning systemPreferences.getAppLevelAppearance() | null | electron/electron | MIT License | TypeScript |
@@ -159,10 +159,14 @@ struct ref_softmax_bwd_t : public gpu_primitive_t {
DECLARE_COMMON_PD_T("ref:any", ref_softmax_bwd_t);
status_t init(engine_t *engine) {
+ auto *compute_engine
+ = utils::downcast<compute::compute_engine_t *>(engine);
+
bool ok = desc()->prop_kind == prop_kind::backward_data
&& utils::one_of(desc(... | fix: gpu: ocl: add sub_group condition | null | oneapi-src/onednn | Apache License 2.0 | C++ |
@@ -798,7 +798,7 @@ static uint32_t lv_txt_iso8859_1_conv_wc(uint32_t c)
*/
static uint32_t lv_txt_iso8859_1_next(const char * txt, uint32_t * i)
{
- if(i == NULL) return txt[1]; /*Get the next char*/
+ if(i == NULL) return txt[0]; /*Get the next char*/
uint8_t letter = txt[*i];
(*i)++;
| fix(txt): fix returned value of lv_txt_iso8859_1_next(..., NULL) | null | lvgl/lvgl | MIT License | C |
@@ -17,12 +17,11 @@ var ActionComponent = IgeEntity.extend({
var action = actionList[i];
// if action is disabled
- if (!action || action.disabled == true || (ige.isClient && !action.runOnClient)) {
+ if (!action || action.disabled == true || (ige.isClient && ige.physics && !action.runOnClient)) {
continue;
}
var param... | fix: check for physics added | null | moddio/taro | MIT License | JavaScript |
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
+using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
@@ -209,13 +210,12 @@ private void updateDisplay()
private class Bar : CompositeDrawable
{
- pr... | fix(osu.Game): handle size changes in timing distribution graph | null | ppy/osu | MIT License | C# |
@@ -180,7 +180,6 @@ class Downloads_List_Table extends \Podlove\List_Table {
if ($which == 'bottom') { ?>
<div class="alignleft actions">
<em><?php echo $this->data_age() ?></em>
- <a href="">CSV EXPORT</a>
</div>
<script type="text/javascript">
| fix: remove broken csv export link | null | podlove/podlove-publisher | MIT License | PHP |
@@ -39,7 +39,7 @@ try {
////////////////////////////////////////////////////
// v3 Mail Send #
// POST /mail/send #
-// This endpoint has a helper, check it out [here](https://github.com/sendgrid/sendgrid-php/blob/master/lib/helpers/mail/README.md).
+// This endpoint has a helper, check it out [here](https://github.com... | fix: correct the mail helper readme link in example | null | sendgrid/sendgrid-php | MIT License | PHP |
@@ -257,12 +257,12 @@ void HPIFit::fitHPI(const MatrixXd& t_mat,
vecChIdcs(j) = iChIdx;
}
- //Generate seed point by projection the found channel position 3cm inwards
vecError.resize(iNumCoils);
double dError = std::accumulate(vecError.begin(), vecError.end(), .0) / vecError.size();
MatrixXd matCoilPos = MatrixXd::Zero... | fix: use seedpoints if bad fit again | null | mne-tools/mne-cpp | BSD 3-Clause New or Revised License | C++ |
@@ -66,8 +66,8 @@ import io.reactivex.rxjava3.subjects.ReplaySubject;
*/
final class SubscriptionProcessor {
private static final Logger LOG = Amplify.Logging.forNamespace("amplify:aws-datastore");
- private static final long TIMEOUT_SECONDS_PER_MODEL = 2;
- private static final long NETWORK_OP_TIMEOUT_SECONDS = 10;
+ ... | fix: increase timeout for subscriptions to be established on slow networks | null | aws-amplify/amplify-android | Apache License 2.0 | Java |
@@ -147,10 +147,16 @@ module.exports = function(config, env) {
webpackConfig = merge(webpackConfig, {
plugins: [new webpack.HotModuleReplacementPlugin()],
output: {
- publicPath: config.styleguidePublicPath
+ publicPath:
+ webpackConfig.output && webpackConfig.output.publicPath
+ ? webpackConfig.output.publicPath
+ : c... | fix: webpackConfig has priority on publicPath | null | vue-styleguidist/vue-styleguidist | MIT License | JavaScript |
@@ -247,13 +247,35 @@ public class HelloOpenXRGL {
xrGetOpenGLGraphicsRequirementsKHR(xrInstance, systemID, graphicsRequirements);
+ int minMajorVersion = XR_VERSION_MAJOR(graphicsRequirements.minApiVersionSupported());
+ int minMinorVersion = XR_VERSION_MINOR(graphicsRequirements.minApiVersionSupported());
+
+ int max... | fix(OpenXR): OpenXR + OpenGL example: Fix a memFree bug and better respect runtime OpenGL version requirements | null | lwjgl/lwjgl3 | BSD 3-Clause New or Revised License | Java |
#!/usr/bin/env bash
set -euo pipefail
-SOCK=/run/openvswitch/kube-ovn-daemon.sock
+CNI_SOCK=/run/openvswitch/kube-ovn-daemon.sock
+OVS_SOCK=/run/openvswitch/db.sock
-if [[ -e "$SOCK" ]]
+if [[ -e "$CNI_SOCK" ]]
then
echo "previous socket exists, remove and continue"
- rm ${SOCK}
+ rm ${CNI_SOCK}
fi
-./kube-ovn-daemon -... | fix: cniserver wait ovs ready | null | kubeovn/kube-ovn | Apache License 2.0 | Shell |
@@ -914,16 +914,6 @@ void WebContents::InitWithWebContents(content::WebContents* web_contents,
inspectable_web_contents_ = std::make_unique<InspectableWebContents>(
web_contents, browser_context->prefs(), is_guest);
inspectable_web_contents_->SetDelegate(this);
-
- if (web_preferences) {
- std::string color_name;
- if ... | fix: BrowserWindow transparency not working | null | electron/electron | MIT License | C++ |
@@ -156,7 +156,7 @@ public class AddressBookNettyHandler extends SimpleChannelInboundHandler<IMessag
unregisterAddresses(addresses);
break;
default:
- LOG.warn("Unexpected handler change request type '{}', ignoring.");
+ LOG.warn("Unexpected handler change request type '{}', ignoring.", type);
break;
}
}
| fix(netty): Fix formatted string issue in AddressBookNettyHandler | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
#!/usr/bin/env sh
-if ! [ -x "$ENARX_BIN" ]; then
- (cd ..; cargo build -q)
+if ! command -v "${ENARX_BIN[0]}" &> /dev/null; then
+ if [ -x $(dirname $0)/../target/release/enarx ]; then
+ ENARX_BIN=$(dirname $0)/../target/release/enarx
+ elif [ -x $(dirname $0)/../target/debug/enarx ]; then
ENARX_BIN=$(dirname $0)/../t... | fix: helper/test-enarx.sh | null | enarx/enarx | Apache License 2.0 | Shell |
@@ -146,7 +146,7 @@ def parse_alexa_entities(network_details: Optional[Dict[Text, Any]]) -> AlexaEnt
class AlexaCapabilityState(TypedDict):
name: Text
namespace: Text
- value: Union[int, Text, TypedDict()]
+ value: Union[int, Text, TypedDict]
AlexaEntityData = Dict[Text, List[AlexaCapabilityState]]
| fix: TypeError: _typeddict_new() missing typename | null | custom-components/alexa_media_player | Apache License 2.0 | Python |
@@ -195,8 +195,8 @@ abstract class Element extends Node
_updatePosition(newStyle);
} else if (newPosition != 'static') {
- int newZIndex = newStyle['zIndex'];
- int oldZIndex = _style['zIndex'];
+ int newZIndex = newStyle.zIndex;
+ int oldZIndex = _style.zIndex;
// zIndex change
if (newZIndex != oldZIndex) {
_updateZIn... | fix: zIndex support string as params | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -512,19 +512,28 @@ class Importer:
# if there are child doctypes, find the subsequent rows
if len(doctypes) > 1:
# subsequent rows either dont have any parent value set
- # or have the same value as the parent
+ # or have the same value as the parent row
# we include a row if either of conditions match
- parent_colu... | fix: Child row parsing logic | null | frappe/frappe | MIT License | Python |
@@ -2,7 +2,7 @@ const BASE_URL = 'http://localhost:3000/api/preview'
export default function resolveProductionUrl(doc) {
if (doc._type === 'article') {
- const slug = doc.slug.current
+ const slug = doc.slug?.current
if (slug === 'intro') {
return `${BASE_URL}?slug=/`
| fix(studio): add guard against missing slug | null | sanity-io/design | MIT License | JavaScript |
@@ -45,7 +45,7 @@ public abstract class CodeSystemVersionRestRequests {
.when()
.queryParams(Map.of(
"resource", CodeSystem.uri(codeSystemId).toString(),
- "sort", "version:desc",
+ "sort", "effectiveTime:desc",
"limit", 1
))
.get()
| fix: fix incorrect sort in getLatestVersion api helper | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -164,7 +164,7 @@ def check_release_on_github(app):
# Check if repo remote is on github
from subprocess import CalledProcessError
try:
- remote_url = subprocess.check_output("cd ../apps/{} && git ls-remote --get-url".format(app), shell=True)
+ remote_url = subprocess.check_output("cd ../apps/{} && git ls-remote --get... | fix(python3): subproess.check_output should always be decoded | null | frappe/frappe | MIT License | Python |
@@ -31,7 +31,7 @@ class KeyValueStore:
'"{}" != new key "{}"'.format(cache_key_file_path, old_key, key)
)
if cache_value_file_path.exists():
- old_data = cache_value_file_path.write_bytes()
+ old_data = cache_value_file_path.read_bytes()
if data != old_data:
# TODO: Add options to raise error when overwriting the value... | fix(sdk): fix bug in store_value_bytes when read old data. Fixes | null | kubeflow/pipelines | Apache License 2.0 | Python |
@@ -29,6 +29,8 @@ public static class SystemThemeProbe {
[DllImport("advapi32.dll", EntryPoint = "RegQueryValueEx")]
private static extern int RegQueryValueEx_DllImport(UIntPtr hKey, string lpValueName, int lpReserved, out uint lpType, byte[] lpData, ref int lpcbData);
private static readonly UIntPtr HKEY_CURRENT_USER ... | fix: Inherited theme on Windows11 was reversed | null | avaloniacommunity/material.avalonia | MIT License | C# |
@@ -21,7 +21,7 @@ readonly DIR="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
readonly ROOT_DIR="${DIR}/../../"
readonly TEMP_DIR="$(mktemp -d)"
readonly SSH_CONFIG_PATH="${TEMP_DIR}/ssh-connect.conf"
-readonly VAGRANT_IP="192.168.78.66"
+readonly VAGRANT_IP="192.168.56.2"
readonly CONFIG_PATH="${TEMP_DIR}/config"
read... | fix(vagrant): update ip for get-kubeconfig script | null | sumologic/sumologic-kubernetes-collection | Apache License 2.0 | Shell |
@@ -23,10 +23,10 @@ class CustomAttributeDoctor(BaseAction):
icon = '{}/ftrack/action_icons/PypeDoctor.svg'.format(
os.environ.get('PYPE_STATICS_SERVER', '')
)
- hierarchical_ca = ['handle_start', 'handle_end', 'fstart', 'fend']
+ hierarchical_ca = ['handleStart', 'handleEnd', 'frameStart', 'frameEnd']
hierarchical_alt... | fix(ftrack): custome attribute doctor was not respecting attributes after change of names | null | pypeclub/openpype | MIT License | Python |
import { Container, icons, keyframes, theme } from "@socialgouv/cdtn-ui";
+import { lightFormat } from "date-fns";
import Link from "next/link";
import { useRouter } from "next/router";
import React, { useEffect, useState } from "react";
@@ -12,7 +13,7 @@ export const HEADER_HEIGHT = "13.5rem";
export const MOBILE_HEAD... | fix(snapshots): use date-fns to format the date | null | socialgouv/code-du-travail-numerique | Apache License 2.0 | JavaScript |
@@ -27,8 +27,6 @@ func main() {
rootCmd, getRootValues := RootCommand()
rootCmd.Version = fmt.Sprintf("%s %s\n", version, gitCommit)
- takeoff := TakeoffCommand(getRootValues)
-
start := StartCommand()
start.AddCommand(
StartBoom(getRootValues),
@@ -51,7 +49,8 @@ func main() {
TeardownCommand(getRootValues),
ConfigComm... | fix: register start command | null | caos/orbos | Apache License 2.0 | Go |
@@ -80,6 +80,7 @@ struct LogRouterData {
Deque<std::pair<Version, Standalone<VectorRef<uint8_t>>>> messageBlocks;
Tag routerTag;
int logSet;
+ bool allowPops;
std::vector<Reference<TagData>> tag_data; //we only store data for the remote tag locality
@@ -98,7 +99,7 @@ struct LogRouterData {
return newTagData;
}
- LogRou... | fix: only let a log router pop if they tlog it is serving is fully recovered | null | apple/foundationdb | Apache License 2.0 | C++ |
import React, {Component} from 'react';
-import {View, FlatList} from 'react-native';
+import {View, FlatList, Pressable} from 'react-native';
import PropTypes from 'prop-types';
import compose from '../../../../libs/compose';
import withWindowDimensions, {windowDimensionsPropTypes} from '../../../../components/withWin... | fix(emoji-skintone): Added skinPicker to native | null | expensify/expensify.cash | MIT License | JavaScript |
package jadx.core.dex.visitors;
import java.util.List;
+import java.util.Objects;
import jadx.core.dex.attributes.AFlag;
import jadx.core.dex.attributes.AType;
@@ -216,6 +217,9 @@ public class ClassModifier extends AbstractVisitor {
MethodInfo callMth = ((InvokeNode) insn).getCallMth();
MethodNode wrappedMth = mth.root... | fix: don't remove synthetic method if args count or name not same | null | skylot/jadx | Apache License 2.0 | Java |
@@ -392,7 +392,7 @@ func Get` + strings.Title(table) + `Table() table.Table {
content += `{
Head: "` + strings.Title(model[fieldField].(string)) + `",
Field: "` + model[fieldField].(string) + `",
- TypeName: "` + GetType(model[typeField].(string)) + `",
+ TypeName: db.` + GetType(model[typeField].(string)) + `,
Sortabl... | fix: cli bug | null | goadmingroup/go-admin | Apache License 2.0 | Go |
@@ -46,6 +46,8 @@ angular.module('App').controller(
details: true,
};
+ this.newDisplayName = {};
+
this.$scope.taskState = {
lockAction: false,
changeRootPassword: false,
| fix(web): allow to rename private database service | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
@@ -550,8 +550,8 @@ func (self *SVpc) StartDeleteVpcTask(ctx context.Context, userCred mcclient.Toke
}
func (self *SVpc) getPrefix() []netutils.IPV4Prefix {
- ret := []netutils.IPV4Prefix{}
if len(self.CidrBlock) > 0 {
+ ret := []netutils.IPV4Prefix{}
blocks := strings.Split(self.CidrBlock, ",")
for _, block := range b... | fix: fail to create network in default vpc | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -46,7 +46,7 @@ class DatastoreMultipleDbTestCase extends DatastoreTestCase
if (self::$hasSetUp) {
return;
}
- self::$projectId = getenv('GOOGLE_PROJECT_ID');
+ self::$projectId = getenv('PROJECT_ID');
$config = [
'keyFilePath' => getenv('GOOGLE_CLOUD_PHP_TESTS_KEY_PATH'),
| fix(Datastore): migrate to env var PROJECT_ID | null | googleapis/google-cloud-php | Apache License 2.0 | PHP |
@@ -766,7 +766,12 @@ else if(ex.getXMPPError().getCondition() == registration_required)
+ nickname
+ ". The chat room requires registration.";
- logger.error(errorMessage, ex);
+ logger.error(errorMessage);
+
+ if (logger.isDebugEnabled())
+ {
+ logger.debug(errorMessage, ex);
+ }
OperationFailedException operationFail... | fix: Move a stacktrace for registration required to debug prints | null | jitsi/jitsi | Apache License 2.0 | Java |
@@ -211,6 +211,12 @@ void AtomBrowserMainParts::InitializeFeatureList() {
// Chromium drops support for the old sandbox implmentation.
disable_features += std::string(",") + features::kMacV2Sandbox.name;
#endif
+ // Disable creation of spare renderer process with site-per-process mode,
+ // it interferes with our proce... | fix: disable kSpareRendererForSitePerProcess feature | null | electron/electron | MIT License | C++ |
@@ -62,6 +62,7 @@ import app.notifee.core.utility.ObjectUtils;
import app.notifee.core.utility.ResourceUtils;
import app.notifee.core.utility.TextUtils;
import com.google.android.gms.tasks.Continuation;
+import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.... | fix(android): ensure alarmManager notifications are cancelled | null | invertase/notifee | Apache License 2.0 | Java |
@@ -31,7 +31,7 @@ public struct MessageContextSkill: Codable, Equatable {
/**
System context data used by the skill.
*/
- public var system: MessageContextSkillSystem?
+ public var system: [String: JSON]?
// Map each property name to the key that shall be used for encoding/decoding.
private enum CodingKeys: String, Cod... | fix(hand edit): keep system as a [String: JSON]? | null | watson-developer-cloud/swift-sdk | Apache License 2.0 | Swift |
@@ -73,9 +73,9 @@ const Slider = React.forwardRef<unknown, SliderSingleProps | SliderRangeProps>((
const [visibles, setVisibles] = React.useState<Visibles>({});
const toggleTooltipVisible = (index: number, visible: boolean) => {
- const temp = { ...visibles };
- temp[index] = visible;
- setVisibles(temp);
+ setVisibles... | fix: Slider tooltip visible abnormal | null | ant-design/ant-design | MIT License | TypeScript |
@@ -917,6 +917,13 @@ UBaseType_t x;
}
#endif /* tskSET_NEW_STACKS_TO_KNOWN_VALUE */
+ #if( configUSE_TRACE_FACILITY == 1 )
+ {
+ /* Zero the uxTaskNumber TCB member to avoid random value from dynamically allocated TCBs */
+ pxNewTCB->uxTaskNumber = 0;
+ }
+ #endif /* ( configUSE_TRACE_FACILITY == 1 ) */
+
/* Calculate ... | fix(FreeRTOS): Initialize uxTaskNumber at task initialization | null | espressif/esp-idf | Apache License 2.0 | C |
@@ -165,7 +165,7 @@ func NewRepoAddCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command {
Upsert: upsert,
}
- createdRepo, err := repoIf.CreateRepository(context.Background(), &repoCreateReq)
+ createdRepo, err := repoIf.Create(context.Background(), &repoCreateReq)
errors.CheckError(err)
fmt.Printf("repositor... | fix: Make CLI downwards compatible using old repository API | null | argoproj/argo-cd | Apache License 2.0 | Go |
@@ -4,6 +4,13 @@ cd $(dirname $0)
source ../ci/utils.sh
+requiredGitVersion="1.8.4"
+currentGitVersion="$(git --version | awk '{print $3}')"
+if [ "$(printf '%s\n' "$requiredGitVersion" "$currentGitVersion" | sort -V | head -n1)" = "$currentGitVersion" ]; then
+ echo "Please update your Git version. (foud version $curr... | fix(git): make git version check work | null | megengine/megengine | Apache License 2.0 | Shell |
@@ -85,8 +85,7 @@ public class SnomedConceptApiTest extends AbstractSnomedApiTest {
public void createConceptEmptyParent() {
assertCreateConcept(branchPath, createConceptRequestBody(""))
.statusCode(400)
- .body("message", equalTo("1 validation error"))
- .body("violations", hasItem("'destinationId' may not be empty (w... | fix(snomed): Update error message assertion in SnomedConceptApiTest | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -24,6 +24,7 @@ class ContinuousScanModel with ChangeNotifier {
<String, ScannedProductState>{};
final List<String> _barcodes = <String>[];
final ProductList _productList = ProductList.scanSession();
+ final ProductList _history = ProductList.history();
String? _latestScannedBarcode;
String? _latestFoundBarcode;
@@ -... | fix: - added the scanned product to history | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -95,8 +95,8 @@ namespace modules {
mount->bytes_free = b_free;
mount->bytes_used = b_used;
- mount->percentage_free = math_util::percentage(b_avail, 0UL, b_total);
- mount->percentage_used = math_util::percentage(b_used, 0UL, b_total);
+ mount->percentage_free = math_util::percentage<unsigned long, float>(b_avail, 0... | fix(fs): Value type | null | polybar/polybar | MIT License | C++ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.