diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -122,12 +122,16 @@ func (ms *MQTTClient) Connect(connHandler MQTT.OnConnectHandler, lostHandler MQT } c := MQTT.NewClient(opts) - if token := c.Connect(); token.WaitTimeout(5*time.Second) && token.Error() != nil { + token := c.Connect() + // timeout + if !token.WaitTimeout(5 * time.Second) { + conf.Log.Errorf("The c...
fix(mqtt): connect timeout should be an error
null
emqx/kuiper
Apache License 2.0
Go
@@ -140,7 +140,7 @@ export default class Tab extends React.PureComponent<Props, State> { this.props.onCloseTab(this.props.idx) }} > - <Close16 focusable="false" width="12" height="16" preserveAspectRatio="xMidYMid meet" aria-hidden="true" /> + <Close16 focusable="false" width={12} height={16} preserveAspectRatio="xMidY...
fix(plugins/plugin-client-common): Tab uses strings rather than numbers for Close16 dimensions
null
ibm/kui
Apache License 2.0
TypeScript
@@ -49,12 +49,7 @@ defmodule Ash.Type.Atom do {:ok, value} end - def cast_input(value, _) when is_binary(value) do - {:ok, String.to_existing_atom(value)} - rescue - ArgumentError -> - :error - end + def cast_input(_value, _), do: :error @impl true def cast_stored(value, _) when is_atom(value) do @@ -68,6 +63,8 @@ defm...
fix: don't turn strings to atoms in `:atom` type
null
ash-project/ash
MIT License
Elixir
@@ -133,7 +133,7 @@ open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate { } listenTo(context, event: .didHideDrawerPlugin) { [weak self] _ in - let statesToShow: [PlaybackState] = [.playing, .paused] + let statesToShow: [PlaybackState] = [.playing, .paused, .idle] self?.isDrawerActive = false guard let s...
fix: show media control when drawer closes
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -133,20 +133,26 @@ void Editor::BackToPreviousInput(Context* ctx) { ctx->PopInput(); } -void Editor::BackToPreviousSyllable(Context* ctx) { +static bool pop_input_by_syllable(Context* ctx) { size_t caret_pos = ctx->caret_pos(); if (caret_pos == 0) - return; + return false; if (auto cand = ctx->GetSelectedCandidate()...
fix(editor): `back_syllable` should reopen selected words
null
rime/librime
BSD 3-Clause New or Revised License
C++
@@ -64,7 +64,7 @@ func Run(s *SchedulerServer) error { debug := o.GetOptions().LogLevel == "debug" - auth.AsyncInit(s.AuthInfo, debug, true, startSched) + auth.AsyncInit(s.AuthInfo, debug, true, "", "", startSched) return startHTTP(s) }
fix: scheduler start auth interface
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -61,10 +61,10 @@ enum BiometricAuthentication { alertWindow.rootViewController?.present(alertController, animated: true, completion: nil) #else let localAuthenticationContext = LAContext() - localAuthenticationContext.localizedFallbackTitle = L10n.Scene.pin.biometric.fallback.title + localAuthenticationContext.local...
fix: device build
null
ln-zap/zap-ios
MIT License
Swift
@@ -235,12 +235,12 @@ class MethodChannelFirebaseMessaging extends FirebaseMessagingPlatform { } try { - Map<String, int> response = await (channel + Map<String, int>? response = await channel .invokeMapMethod<String, int>('Messaging#getNotificationSettings', { 'appName': app.name, - }) as FutureOr<Map<String, int>>); ...
fix(firebase_messaging): fix getNotificationSettings for null safety
null
firebaseextended/flutterfire
BSD 3-Clause New or Revised License
Dart
@@ -956,7 +956,12 @@ internal static void SendSpawnMessage(NetworkIdentity identity, NetworkConnectio internal static void SendChangeOwnerMessage(NetworkIdentity identity, NetworkConnection conn) { - if (identity.serverOnly) return; + // Don't send if identity isn't spawned or only exists on server + if (identity.netId...
fix: SendChangeOwnerMessage robustness
null
vis2k/mirror
MIT License
C#
@@ -264,9 +264,9 @@ fun getStateFromMap( val begin = rolePerm.dropLast(2) if (lPermission.startsWith(begin, true)) { nPermState = getSuitableResult - } break } + } } else { if (lPermission == rolePerm) { nPermState = getSuitableResult @@ -279,9 +279,10 @@ fun getStateFromMap( } if (category != null) { if (commands.firs...
fix: permission break at wrong location
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -80,7 +80,6 @@ std::string FloatToString(const FloatType v, const int32_t precision) { return stream.str(); } -std::once_flag backend_prepared; void PrepareBackend() { LOG(INFO) << "Prepare QNN backend."; auto log_level = static_cast<QnnLog_Level_t>( @@ -96,7 +95,7 @@ void PrepareBackend() { QnnWrapper::QnnWrapper(R...
fix: fix PrepareBackend only called once when creat mace engine multi times
null
xiaomi/mace
Apache License 2.0
C++
@@ -563,7 +563,7 @@ START_TEST(test_002InitWallet_0001SetEIP155CompSuccess) /* 2-2. verify the global variables that be affected */ ck_assert(wallet_ptr->network_info.eip155_compatibility == wallet.eip155_compatibility); - BoatIotSdkDeInit(); + BoatFree(wallet_ptr); } END_TEST
fix: replace BoatIotSdkDeInit(); with BoatFree(); in test_002InitWallet_0001SetEIP155CompSuccess
null
aitos-io/boat-x-framework
Apache License 2.0
C
@@ -453,6 +453,9 @@ def msgprint( out.as_list = 1 if sys.stdin and sys.stdin.isatty(): + if out.as_list: + msg = [_strip_html_tags(msg) for msg in out.message] + else: msg = _strip_html_tags(out.message) if flags.print_messages and out.message:
fix: TypeError when using frappe.throw() or frappe.msgprint() with lists
null
frappe/frappe
MIT License
Python
@@ -28,7 +28,7 @@ use super::{ update_read_marker, Flow, HandleEventResult, TimelineEventHandler, TimelineEventKind, TimelineEventMetadata, TimelineItemPosition, }, - find_event_by_txn_id, Profile, TimelineItem, TimelineKey, + find_event_by_id, find_event_by_txn_id, Profile, TimelineItem, TimelineKey, }; use crate::{ev...
fix(sdk): Update add_event_id logs to make more sense
null
matrix-org/matrix-rust-sdk
Apache License 2.0
Rust
@@ -8,7 +8,8 @@ extension CurrencyRate { guard let feeInDouble = Double(fee) else { return nil } - guard let price = rates.filter({ $0.code == symbol }).first else { + let symbol = symbol.lowercased() + guard let price = rates.filter({ $0.code.lowercased() == symbol }).first else { return nil } let formattedFee = Numbe...
fix: Gas fee estimate in fiat should be displayed when editing custom gas for transaction on mainnet
null
alphawallet/alpha-wallet-ios
MIT License
Swift
@@ -112,16 +112,16 @@ class ContextManager extends Clonable { await database.update(this.settings.tableName, clone, { upsert: true, }); - if (this.onCtxUpdate) { - logger.debug(`emmitting event onCtxUpdate...`); - await this.onCtxUpdate(clone); - } } else { this.contextDictionary[id] = clone; } } else { this.contextDic...
fix: move ctx update event
null
axa-group/nlp.js
MIT License
JavaScript
@@ -77,12 +77,15 @@ func newListCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { client.SetStateMask() results, err := client.Run() + if err != nil { + return err + } if client.Short { for _, res := range results { fmt.Fprintln(out, res.Name) } - return err + return nil } return outfmt.Write(out, newRelea...
fix(cli): helm list was ignoring some errors
null
helm/helm
Apache License 2.0
Go
@@ -355,7 +355,7 @@ impl std::error::Error for TreeConstructionFailed {} impl<'a> PostOrderIterator<'a> { fn render_directory( - links: &mut BTreeMap<String, Leaf>, + links: &BTreeMap<String, Leaf>, buffer: &mut Vec<u8>, ) -> Result<Leaf, TreeConstructionFailed> { use crate::pb::{FlatUnixFs, PBLink, UnixFs, UnixFsType}...
fix: remove unneeded mut in render_directory
null
rs-ipfs/rust-ipfs
Apache License 2.0
Rust
@@ -101,7 +101,7 @@ public class AtlasService { private String atlasmapCatalogName = "atlasmap-catalog.adm"; private String atlasmapCatalogFilesName = "adm-catalog-files.gz"; - private String atlasmapGenericMappingsName = "atlasmapping-UI"; + private String mappingFileNamePrefix = "atlasmapping"; private String baseFol...
fix: regression: older .adm file fails to be loaded
null
atlasmap/atlasmap
Apache License 2.0
Java
@@ -146,7 +146,7 @@ object GcToolResults { fun listAllTestCases(results: ToolResultsStep): List<TestCase> { var response = listTestCases(results) - val testCases = response.testCases.toMutableList() + val testCases = response.testCases.orEmpty().toMutableList() while (response.nextPageToken != null) { response = listTe...
fix: Fix NPE in GcToolResults
null
flank/flank
Apache License 2.0
Kotlin
@@ -241,9 +241,9 @@ pub enum TableFunctionParam { } pub fn table_function_param(i: Input) -> IResult<TableFunctionParam> { - let named = map(rule! { Ident ~ "=>" ~ #expr }, |(name, _, value)| { + let named = map(rule! { #ident ~ "=>" ~ #expr }, |(name, _, value)| { TableFunctionParam::Named { - name: name.text().to_str...
fix(parser): allow table_function_param to be keyword
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -271,16 +271,29 @@ namespace seal // calculate -(a*s + e) (mod q) and store in c[0] for (size_t i = 0; i < coeff_mod_count; i++) { + if (is_ntt_form) { + dyadic_product_coeffmod( + secret_key.data().data() + i * coeff_count, + destination.data(1) + i * coeff_count, + coeff_count, + coeff_modulus[i], + destination.da...
fix: encrypt_zero_asymmetric handles is_ntt_form == false correctly
null
microsoft/seal
MIT License
C++
@@ -22,7 +22,7 @@ namespace MLAPI.NetworkedVar object newValue = field.GetValue(fieldInstance); object oldValue = value; - if (newValue != oldValue || isDirty) + if (!Equals(newValue, oldValue) || isDirty) { isDirty = true;
fix: Fixed SyncedVars being updated when not dirty
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
@@ -19,6 +19,13 @@ export function isPostLollipopMR1() { } return isPostLollipopMR1Var; } +let isPostMarshmallowVar: boolean = undefined; +export function isPostMarshmallow() { + if (isPostMarshmallowVar === undefined) { + isPostMarshmallowVar = android.os.Build.VERSION.SDK_INT >= 23; + } + return isPostMarshmallowVar;...
fix: missing from last commits
null
nativescript-community/ui-material-components
Apache License 2.0
TypeScript
@@ -44,6 +44,7 @@ open class TxAwareAccumulatingCommandSender( send() } } + /** * Execute send if flag is set to send outside the TX. */ @@ -67,9 +68,6 @@ open class TxAwareAccumulatingCommandSender( } } - /** - * Send commands on commit only. - */ private fun send() { // iterate over messages and send them commands.ge...
fix: smell removed
null
holunda-io/camunda-bpm-taskpool
Apache License 2.0
Kotlin
@@ -143,6 +143,12 @@ public class DatabendProvider extends SQLProviderAdapter<DatabendGlobalState, Da s.execute("USE " + databaseName); globalState.getState().logStatement("USE " + databaseName); } + +// try (Statement s = con.createStatement()) { +// s.execute("set enable_planner_v2 = 0;"); +// globalState.getState()....
fix: insert appropriate constants
null
sqlancer/sqlancer
MIT License
Java
@@ -190,7 +190,7 @@ class ChatSettingsFragment : PreferenceFragmentCompat(), ISettingsView { val itemSettings = menu.findItem(R.id.menu_settings) itemSettings.isVisible = false val itemAbout = menu.findItem(R.id.menu_about) - itemAbout.isVisible = true + itemAbout.isVisible = false super.onPrepareOptionsMenu(menu) }
fix: Remove menu from ChatSettingsFragment
null
fossasia/susi_android
Apache License 2.0
Kotlin
@@ -36,7 +36,7 @@ public final class Json extends ForwardingMap<String, Object> { public Json(Map<String, Object> source) { super(); - this.source = source; + this.source = source == null ? Map.of() : source; } @Override
fix(common): handle null argument when creating Json object
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -44,7 +44,7 @@ typedef uint64_t u64_snowflake_t; ///< snowflake datatype #define MAX_EMAIL_LEN 254 + 1 #define MAX_REGION_LEN 16 + 1 #define MAX_REASON_LEN 512 + 1 -#define MAX_MESSAGE_LEN 4000 + 1 +#define MAX_MESSAGE_LEN 2000 + 1 #define MAX_PAYLOAD_LEN 4096 + 1 /* EMBED LIMITS
fix: MAX_MESSAGE_LEN for bots is 2000
null
cee-studio/orca
MIT License
C
+using System; using System.IO; +using System.Text; namespace Amazon.Lambda.Annotations.SourceGenerator.FileIO { @@ -8,16 +10,65 @@ namespace Amazon.Lambda.Annotations.SourceGenerator.FileIO public bool Exists(string path) => Directory.Exists(path); + /// <summary> + /// This method mimics the behaviour of <see href="h...
fix: Add GetRelativePath method to DirectoryManager class
null
aws/aws-lambda-dotnet
Apache License 2.0
C#
@@ -102,7 +102,7 @@ def batch_process_documents( field_value = get_text(form_field.field_value, document) print("Extracted key value pair:") print(f"\t{field_name}, {field_value}") - for paragraph in document.pages: + for paragraph in page.paragraphs: paragraph_text = get_text(paragraph.layout, document) print(f"Paragr...
fix: Parsing pages, but should be paragraphs
null
googlecloudplatform/python-docs-samples
Apache License 2.0
Python
@@ -33,7 +33,7 @@ pub fn apply_3( arguments: Vec<Term>, ) -> Term { let native = unsafe { - let ptr = transmute::<DynamicCallee, *const c_void>(dynamic_call); + let ptr = transmute::<DynamicCallee, *const c_void>(callee); Native::from_ptr(ptr, arguments.len() as Arity) };
fix: typo in apply/2 of rt_full
null
lumen/lumen
Apache License 2.0
Rust
@@ -13,8 +13,6 @@ class TextArea extends React.Component { state = { isCollapsed: false, rows: this.DEFAULT_ROWS_NUMBER, - value: - 'The wild fox jumps into the next fence once its done in a very rThe wild fox jumps into the next fence once its done in a very rThe wild fox jumps into the next fence once its done in a v...
fix(textarea): removes unnecessary code
null
commercetools/ui-kit
MIT License
JavaScript
@@ -84,6 +84,10 @@ public class RedirectAction else { redirectUrl = "../" + startModule + "/"; + if ( redirectUrl.endsWith( "dhis-web-dataentry/" ) ) + { + redirectUrl += "index.action"; + } return SUCCESS; } }
fix: add index.action suffix for data entry redirect
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -37,11 +37,20 @@ func Init(ctx context.Context, m *gorpmapper.Mapper, store cache.Store, db *gorp } } - var result = RunningStorageUnits{ - m: m, - db: db, - cache: store, - config: config, + if config.SyncNbElements <= 0 || config.SyncNbElements > 1000 { + config.SyncNbElements = 100 + } + + if config.SyncSeconds <...
fix(cdn): missing default config panic
null
ovh/cds
BSD 3-Clause New or Revised License
Go
@@ -193,7 +193,7 @@ window.addEventListener('load',function(){ return; } - if(img.size/1024 > 1024){ + if(img&&img.size/1024 > 1024){ $('#tip-text').text('The selected img id too large'); return; }
fix: img.size
null
zsgsdesign/noj
MIT License
PHP
@@ -20,6 +20,8 @@ module.exports = async (name, starter = 'default') => { } const url = `https://github.com/${starter}.git` + const developCommand = 'gridsome develop' + const buildCommand = 'gridsome build' const tasks = new Tasks([ { @@ -89,8 +91,15 @@ module.exports = async (name, starter = 'default') => { child.on(...
fix(cli): show error message if install fails
null
gridsome/gridsome
MIT License
JavaScript
@@ -181,9 +181,10 @@ export class NovoChipsElement implements OnInit, ControlValueAccessor { } this._items.next(this.items); const valueToSet = this.source && this.source.valueFormatter ? this.source.valueFormatter(this.items) : this.items.map((i) => i.value); - if (Helpers.isBlank(this.value) && !Helpers.isBlank(value...
fix(Chips): pushed a refactor for checking if the value has changed when setting items
null
bullhorn/novo-elements
MIT License
TypeScript
@@ -30,16 +30,16 @@ fontforge_python_extension_loaded () { python -c "import fontforge" >/dev/null 2>&1 } -check_xcode () { - xcodebuildxxx -version >/dev/null 2>&1 - check_error 'Xcode command line tools not found.\nInstall Xcode from AppStore or run `xcode-select --install` without installing Xcode.' +check_xcodebuil...
fix: fix script
null
youzan/zent
MIT License
Shell
@@ -135,6 +135,7 @@ static JSValue simulatePointer(QjsContext *ctx, JSValueConst this_val, int argc, uint32_t length; JSValue lengthValue = JS_GetPropertyStr(ctx, inputArrayValue, "length"); JS_ToUint32(ctx, &length, lengthValue); + JS_FreeValue(ctx, lengthValue); auto **mousePointerList = new MousePointer *[length]; @...
fix: fix simulate pointer mem leaks
null
openkraken/kraken
Apache License 2.0
C++
@@ -267,12 +267,17 @@ defmodule Ash.Type do Code.ensure_compiled!(type) + if Ash.Type.embedded_type?(type) do + action = constraints[:create_action] || Ash.Resource.Info.primary_action!(type, :create) + Ash.Generator.action_input(type, action) + else if function_exported?(type, :generator, 1) do type.generator(constrai...
fix: use create generators for embedded types
null
ash-project/ash
MIT License
Elixir
@@ -58,7 +58,7 @@ export function InlineSearch() { hideHidden: ctxMenuState.value.hideHidden, }) .then((res: any) => { - const results = [...res.top, ...res.entities] + const resultsTop = res.top .filter((el: any) => el.type['unigraph.id'] !== '$/schema/embed_block') .map((el: any) => ({ name: new UnigraphObject(el['un...
fix(search): inline search differentiate between top matches and recent updated
null
unigraph-dev/unigraph-dev
MIT License
TypeScript
@@ -39,7 +39,6 @@ auto waybar::modules::Cpu::update() -> void { auto icons = std::vector<std::string>{state}; fmt::dynamic_format_arg_store<fmt::format_context> store; store.push_back(fmt::arg("load", cpu_load)); - store.push_back(fmt::arg("load", cpu_load)); store.push_back(fmt::arg("usage", total_usage)); store.push_...
fix: cpu_load pushed twice to the vector
null
alexays/waybar
MIT License
C++
@@ -34,7 +34,7 @@ function stringify(value: unknown, replacer: (this: any, key: string, value: any * @param res Response * @param app App */ -export const jsonp = (req: Request, res: Response) => (obj: unknown, opts?: JSONPOptions) => { +export const jsonp = (req: Request, res: Response) => (obj: unknown, opts: JSONPOp...
fix: handle a case when opts aren't passed
null
talentlessguy/tinyhttp
MIT License
TypeScript
@@ -9,9 +9,10 @@ export const VAppBarTitle = defineComponent({ props: { ...VToolbarTitle.props }, - setup (_, { slots }) { + setup (props, { slots }) { useRender(() => ( <VToolbarTitle + { ... props } class="v-app-bar-title" v-slots={ slots } />
fix(VAppBarTitle): pass props to VToolbarTitle
null
vuetifyjs/vuetify
MIT License
TypeScript
@@ -120,12 +120,11 @@ BSINT32 BoatWalletCreate( BoatProtocolType protocol_type, const BCHAR *wallet_na BoatLog(BOAT_LOG_NORMAL, "Too many wallets was loaded."); return BOAT_ERROR; } - if( wallet_name_str != NULL ) - { + + if( wallet_config_ptr != NULL ) { - /* create a persiststore wallet */ - + /* private key context ...
fix: update boatwalletCreate to fix one-time wallet failed
null
aitos-io/boat-x-framework
Apache License 2.0
C
@@ -41,7 +41,7 @@ internal static class DictionaryExtensions } } - value = default; + value = default(TV); return false; } }
fix(DictionaryExtensions): fix build issue with litteral 'default'
null
tpierrain/nfluent
Apache License 2.0
C#
@@ -191,7 +191,6 @@ class SmoothActionButtonsBar extends StatelessWidget { Widget build(BuildContext context) { return Row( mainAxisAlignment: MainAxisAlignment.spaceAround, - crossAxisAlignment: CrossAxisAlignment.center, children: _buildActions( context, positiveAction: positiveAction, @@ -319,7 +318,6 @@ class _Smoo...
fix: align the buttons to bottom
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -56,9 +56,12 @@ mixin CSSDecoratedBoxMixin { CSSStyleDeclaration style, String property) { + BoxDecoration oldBox = renderBoxModel.decoration; + if (property == BACKGROUND || property == BACKGROUND_COLOR) { Color bgColor = CSSBackground.getBackgroundColor(style); - if (bgColor != null) { + // If there has gradient, ...
fix: background gradient not work
null
openkraken/kraken
Apache License 2.0
Dart
@@ -271,7 +271,7 @@ public class HttpURLConnectionClient implements ClientInterface { CertificateFactory certificateFactory = CertificateFactory.getInstance("X.509"); X509Certificate cert = (X509Certificate) certificateFactory.generateCertificate(certificateInput); - KeyStore keyStore = KeyStore.getInstance("JKS"); + K...
fix: Android - java.security.KeyStoreException: JKS not found
null
adyen/adyen-java-api-library
MIT License
Java
@@ -492,7 +492,7 @@ impl<T: TableViewItem<H>, H: Eq + Hash + Copy + Clone + 'static> TableView<T, H> /// Returns the index of the currently selected item within the underlying /// storage vector. pub fn item(&self) -> Option<usize> { - if self.items.is_empty() { + if self.items.is_empty() || self.focus > self.rows_to_i...
fix(TUI): Fixed panic when changing order of items in TableView before the number of items in the table is reduced
null
mimblewimble/grin
Apache License 2.0
Rust
@@ -1637,6 +1637,8 @@ func TestPodExists(t *testing.T) { assert.NoError(t, err) assert.Len(t, pods.Items, 1) + // Sleep 1 second to wait for informer getting pod info + time.Sleep(time.Second) existingPod, doesExist, err := woc.podExists(pod.ObjectMeta.Name) assert.NoError(t, err) assert.NotNil(t, existingPod)
fix(controller): TestPodExists unit test, add delay to wait for informer getting pod info
null
argoproj/argo-workflows
Apache License 2.0
Go
@@ -98,7 +98,6 @@ if [ "$2" != 0 ]; then if [ -z "$(grep "$GlobalTV" /tmp/Proxy_Group)" ]\ || [ -z "$(grep "$AsianTV" /tmp/Proxy_Group)" ]\ || [ -z "$(grep "$Proxy" /tmp/Proxy_Group)" ]\ -# || [ -z "$(grep "$AdBlock" /tmp/Proxy_Group)" ]\ || [ -z "$(grep "$Others" /tmp/Proxy_Group)" ]\ || [ -z "$(grep "$Domestic" /tmp/...
fix: cannot use ConnersHua rules
null
vernesong/openclash
MIT License
Shell
@@ -42,6 +42,7 @@ import ( "github.com/argoproj/argo-workflows/v3/util/diff" envutil "github.com/argoproj/argo-workflows/v3/util/env" errorsutil "github.com/argoproj/argo-workflows/v3/util/errors" + "github.com/argoproj/argo-workflows/v3/util/expr/argoexpr" "github.com/argoproj/argo-workflows/v3/util/expr/env" "github....
fix: Use EvalBool instead of explicit casting
null
argoproj/argo-workflows
Apache License 2.0
Go
@@ -397,10 +397,10 @@ read_root_hints(struct iter_hints* hints, char* fname) delegpt_free_mlc(dp); return 1; } + delegpt_log(VERB_QUERY, dp); if(!hints_insert(hints, c, dp, 0)) { return 0; } - delegpt_log(VERB_QUERY, dp); return 1; stop_read:
fix: passed to proc after free
null
nlnetlabs/unbound
BSD 3-Clause New or Revised License
C
@@ -93,6 +93,7 @@ impl DataAccessor for Local { tokio::fs::create_dir_all(parent).await?; let mut new_file = tokio::fs::File::create(path).await?; new_file.write_all(&content).await?; + new_file.flush().await?; Ok(()) } @@ -118,6 +119,7 @@ impl DataAccessor for Local { while let Some(Ok(v)) = s.next().await { new_file....
fix: should flush explicitly when using tokio file
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -49,7 +49,7 @@ export class NgExpressEngineDecorator { */ static get( ngExpressEngine: NgExpressEngine, - optimizationOptions?: SsrOptimizationOptions + optimizationOptions?: SsrOptimizationOptions | null ): NgExpressEngine { const result = decorateExpressEngine(ngExpressEngine, optimizationOptions); return result; ...
fix: Improper typing for decorateExpressEngine
null
sap/spartacus
Apache License 2.0
TypeScript
@@ -9,6 +9,13 @@ registry_config_dir = os.path.join(config_dir, "registry") registry_config_template_path = os.path.join(templates_dir, "registry", "config.yml.jinja") registry_conf = os.path.join(config_dir, "registry", "config.yml") +levels_map = { + 'debug': 'debug', + 'info': 'info', + 'warning': 'warn', + 'error':...
fix: registry log level rendering issue
null
goharbor/harbor
Apache License 2.0
Python
@@ -1092,7 +1092,21 @@ struct CreateTenantImpl { wait(self->ctx.setCluster(tr, existingEntry.get().assignedCluster.get())); return true; } else { - // The previous creation is permanently failed, so create it again from scratch + // The previous creation is permanently failed, so cleanup the tenant and create it again ...
fix: cleanup the metadata for a tenant creation that is permanently failed and is being replaced
null
apple/foundationdb
Apache License 2.0
C
const got = require('@/utils/got'); const cheerio = require('cheerio'); const url = require('url'); +const { addNoReferrer } = require('@/utils/common-utils'); const host = 'https://leetcode.com'; @@ -42,6 +43,9 @@ module.exports = async (ctx) => { const response = await got.get(itemUrl); const $ = cheerio.load(respons...
fix: leetcode article image path
null
diygod/rsshub
MIT License
JavaScript
describe('Search feature', () => { beforeEach(() => { cy.cognitoLogin({ - cognitoUsername: Cypress.env('COGNITO_USERNAME'), - cognitoPassword: Cypress.env('COGNITO_PASSWORD'), + cognitoUsername: Cypress.env('cognitoUsername'), + cognitoPassword: Cypress.env('cognitoPassword'), }) })
fix(ci): search feature e2e tests
null
island-is/island.is
MIT License
TypeScript
@@ -112,7 +112,7 @@ export interface AutocompleteOptions<TItem> * * @default document.body */ - panelContainer: string | HTMLElement; + panelContainer?: string | HTMLElement; getSources?: ( params: GetSourcesParams<TItem> ) => MaybePromise<Array<AutocompleteSource<TItem>>>;
fix(js): make `panelContainer` optional
null
algolia/autocomplete
MIT License
TypeScript
@@ -208,6 +208,8 @@ void asio_udp_provider::send_message(message_ex *request) // we do not handle failure here, rpc matcher would handle timeouts } }); + request->add_ref(); + request->release_ref(); } asio_udp_provider::asio_udp_provider(rpc_engine *srv, network *inner_provider)
fix: fix memory leak in asio_udp_provider
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -321,7 +321,8 @@ run_cleanup() { fi TEMP_FILE=$(mktemp) - echo "echo '$(cat "${SCENARIO_DIR}/challenge.txt")' > /opt/challenge.txt" | tee "${TEMP_FILE}" +# echo "echo '$(cat "${SCENARIO_DIR}/challenge.txt")' > /opt/challenge.txt" | tee "${TEMP_FILE}" + echo "echo 'cat "${SCENARIO_DIR}/challenge.txt"' > /opt/challeng...
fix: Removed call to hr function from run_file_on_host, hr function causing Inappropriate ioctl for device errors
null
kubernetes-simulator/simulator
Apache License 2.0
Shell
@@ -126,7 +126,7 @@ class Yaml protected function _decode(string $input, int $flags = 0) : array { // Try native PECL YAML PHP extension first if available. - if (function_exists('yaml_parse') && $this->$native) { + if (function_exists('yaml_parse') && $this->native) { // Safely decode YAML. $saved = @ini_get('yaml.dec...
fix(serializers): fix YAML native parser
null
flextype/flextype
MIT License
PHP
@@ -186,8 +186,8 @@ class SessionClientTests: XCTestCase { XCTAssertEqual(recordCount, 2) let events = await analyticsClient.recordedEvents XCTAssertEqual(events.count, 2) - XCTAssertEqual(events.first?.eventType, SessionClient.Constants.Events.stop) - XCTAssertEqual(events.last?.eventType, SessionClient.Constants.Even...
fix(Analytics): Fixing flaky unit test
null
aws-amplify/amplify-ios
Apache License 2.0
Swift
@@ -28,12 +28,6 @@ JSObjectRef JSDocumentFragmentElement::instanceConstructor(JSContextRef ctx, JSO JSDocumentFragmentElement::DocumentFragmentElementInstance::DocumentFragmentElementInstance(JSDocumentFragmentElement *jsDocumentFragmentElement) : ElementInstance(jsDocumentFragmentElement, "documentfragment", false), n...
fix: DocumentFragment don't need create in dart
null
openkraken/kraken
Apache License 2.0
C++
@@ -25,7 +25,8 @@ export class PreviewAppController extends EventEmitter implements IPreviewAppCon private $previewDevicesService: IPreviewDevicesService, private $previewQrCodeService: IPreviewQrCodeService, private $previewSdkService: IPreviewSdkService, - private $prepareDataService: PrepareDataService + private $pr...
fix: before-preview-sync hook has incorrect args
null
nativescript/nativescript-cli
Apache License 2.0
TypeScript
+import 'package:auto_size_text/auto_size_text.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/app_localizations.dart'; import 'package:flutter_svg/flutter_svg.dart'; @@ -56,8 +57,9 @@ class ScanExample extends StatelessWidget { child: Padding( padding: EdgeInsets.only( left: screenS...
fix: Onboarding text is weirdly cropped
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
pnpm install pnpm --workspace-root run build -pnpm -r --workspace-root --filter=lowdefy start build --config-directory ../docs --server-directory ../server --no-next-build +pnpm -r --workspace-root --filter="!@lowdefy/lowdefy" --filter=lowdefy start build --config-directory ../docs --server-directory ../server --no-nex...
fix(docs): Update docs build script
null
lowdefy/lowdefy
Apache License 2.0
Shell
@@ -415,10 +415,6 @@ if [ "${clNode}" != "${choice}" ]; then if [ "${choice}" = "on" ]; then echo "# turning ON" - # also make sure that CLN GRPC is on for WebAPI - /home/admin/config.scripts/cl-plugin.cln-grpc.sh install - /home/admin/config.scripts/cl-plugin.cln-grpc.sh on - /home/admin/config.scripts/cl.install.sh o...
fix: check cln-grpc after cln is installed
null
rootzoll/raspiblitz
MIT License
Shell
@@ -162,13 +162,13 @@ public virtual void ForceTeleport(Vector3 destinationPosition, Quaternion? desti { DestinationMarkerEventArgs teleportArgs = BuildTeleportArgs(null, destinationPosition, destinationRotation); StartTeleport(this, teleportArgs); + Quaternion updatedRotation = SetNewRotation(destinationRotation); Cal...
fix(Locomotion): set rotation before teleport
null
extendrealityltd/vrtk
MIT License
C#
@@ -34,34 +34,28 @@ togglbutton.render('.pane_header:not(.toggl)', { observe: true }, function ( elem.insertBefore(link, elem.querySelector('.btn-group')); }); -togglbutton.render('[data-test-id="customer-context-tab-navigation"]', { observe: true }, function ( - elem -) { - // Manual check for existence in this SPA. -...
fix(zendesk): Fix stop not working
null
toggl/track-extension
Apache License 2.0
JavaScript
@@ -15,13 +15,14 @@ function emailer(array $overrides = []): Email $config = [ 'userAgent' => setting('Email.userAgent'), 'protocol' => setting('Email.protocol'), - 'mailpath' => setting('Email.mailpath'), + 'mailPath' => setting('Email.mailPath'), 'SMTPHost' => setting('Email.SMTPHost'), 'SMTPUser' => setting('Email.S...
fix: email config params
null
codeigniter4/shield
MIT License
PHP
@@ -8,8 +8,13 @@ set -x ls -al pwd +sudo npm cache clean -f +sudo npm install -g n +sudo n stable +node --version + npm install -g npm@latest -npm install -U node +# npm install -U node # npm install lts/* npm install --save-dev @semantic-release/commit-analyzer npm install --save-dev @semantic-release/git
fix: semantic release script, update node to latest stable
null
ambianic/ambianic-edge
Apache License 2.0
Shell
@@ -16,7 +16,8 @@ export default /* @ngInject */ ($stateProvider) => { : 'app.account.billing.autorenew.configure-renew-impossible'; } return null; - }), + }) + .catch(() => null), translations: { value: ['.'], format: 'json' }, resolve: { addPaymentMean: /* @ngInject */ ($state) => () =>
fix(billing.autorenew): catch if call to migration fails
null
ovh/manager
BSD 3-Clause New or Revised License
JavaScript
@@ -29,7 +29,7 @@ defmodule Ash.Resource.Validation.Confirm do def validate(changeset, opts) do confirmation_value = Changeset.get_argument(changeset, opts[:confirmation]) || - Changeset.get_attribute(changeset, opts[:value]) + Changeset.get_attribute(changeset, opts[:confirmation]) value = Changeset.get_argument(chang...
fix: Use proper options in `confirm` change
null
ash-project/ash
MIT License
Elixir
@@ -59,7 +59,7 @@ final class PayloadArgumentResolver implements ArgumentValueResolverInterface return $inputClass === $class || is_subclass_of($inputClass, $class); } - public function resolve(Request $request, ArgumentMetadata $argument): \Generator + public function resolve(Request $request, ArgumentMetadata $argume...
fix: avoid unneeded use of covariance to keep compatibility with PHP < 7.4
null
api-platform/core
MIT License
PHP
@@ -8,32 +8,32 @@ public static class LogArea /// <summary> /// The log event comes from the property system. /// </summary> - public const string Property = "Property"; + public const string Property = nameof(Property); /// <summary> /// The log event comes from the binding system. /// </summary> - public const string...
fix(LogArea): Replace string with nameof
null
avaloniaui/avalonia
MIT License
C#
@@ -64,7 +64,7 @@ func TimestampRequest(message string, sigs []*big.Int, disclosed [][]*big.Int, n } r, err := gabi.RepresentToPublicKey(pk, disclosed[i], nil) if err != nil { - return nil, err + return nil, "", err } dlreps[i] = r.Value() }
fix: missing return param due to rebase
null
privacybydesign/irmago
Apache License 2.0
Go
@@ -12,7 +12,7 @@ import ( ) func AdaptFunc(masterkey, providerID, orbID string, whitelist dynamic.WhiteListFunc) orbiter.AdaptFunc { - return func(monitor mntr.Monitor, desiredTree *tree.Tree, currentTree *tree.Tree) (queryFunc orbiter.QueryFunc, destroyFunc orbiter.DestroyFunc, migrate bool, err error) { + return fun...
fix: remove compile errors
null
caos/orbos
Apache License 2.0
Go
@@ -859,7 +859,6 @@ fn record_symbolication_metrics( metrics: StacktraceMetrics, modules: &[CompleteObjectInfo], stacktraces: &[CompleteStacktrace], - method: &'static str, ) { let origin = origin.to_string(); @@ -883,7 +882,7 @@ fn record_symbolication_metrics( for m in modules { metric!( counter("symbolication.debug_...
fix: Remove metrics tagging
null
getsentry/symbolicator
MIT License
Rust
@@ -237,7 +237,11 @@ fn_info_parms_ut(){ fn_info_parms_vh(){ port=${port:-"0"} + if [ "${public}" != "0" ]; then queryport=$((port + 1)) + else + querymode="1" + fi gameworld=${gameworld:-"NOT SET"} serverpassword=${serverpassword:-"NOT SET"} servername=${servername:-"NOT SET"}
fix(valheim): disable queryport if public is set to 0
null
gameservermanagers/linuxgsm
MIT License
Shell
@@ -32,7 +32,7 @@ export default () => { if (value === 'null') { value = null; } else if (value === 'undefined') { - value = 'undefined'; + value = undefined; } body[key] = value; }); @@ -44,7 +44,7 @@ export default () => { file.filename = filename; file.encoding = encoding; file.mime = mime; - file.extension = filena...
fix(middleware): fixes 2 bugs for file-upload
null
nanoexpress/nanoexpress
Apache License 2.0
JavaScript
@@ -351,7 +351,7 @@ public abstract class NodeUpdater implements FallibleCommand { // Constructable style sheets is only implemented for chrome, // polyfill needed for FireFox et.al. at the moment - defaults.put("construct-style-sheets-polyfill", "2.4.16"); + defaults.put("construct-style-sheets-polyfill", "3.0.4"); de...
fix: Update polyfill version
null
vaadin/flow
Apache License 2.0
Java
#include <string> #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.h" +#include "printing/buildflags/buildflags.h" #include "shell/browser/extensions/electron_extension_web_contents_observer.h" #include "shell/browser/extensions/electron_messaging_delegate.h" +#if BUILDFLAG(ENA...
fix: pdf download not working
null
electron/electron
MIT License
C++
@@ -40,6 +40,10 @@ def _new_site(db_name, site, mariadb_root_username=None, mariadb_root_password=N reinstall=False, db_type=None): """Install a new Frappe site""" + if os.path.exists(site): + print('Site {0} already exists'.format(site)) + sys.exit(1) + if not db_name: db_name = '_' + hashlib.sha1(site.encode()).hexdi...
fix: Check if site exists before new-site
null
frappe/frappe
MIT License
Python
@@ -876,6 +876,7 @@ def write(*args) # Check for a cell reference in A1 notation and substitute row and column row_col_args = row_col_notation(args) token = row_col_args[2] || '' + token = token.to_s if token.instance_of?(Time) # Match an array ref. if token.respond_to?(:to_ary)
fix: issue Worksheet#write raises with Time instance token
null
cxn03651/write_xlsx
MIT License
Ruby
@@ -96,7 +96,7 @@ func (d *dependencyUpdateCmd) run() error { Getters: getter.All(settings), } if d.verify { - man.Verify = downloader.VerifyIfPossible + man.Verify = downloader.VerifyAlways } if settings.Debug { man.Debug = true
fix(helm): Fix the bug in helm dependency update -verify
null
helm/helm
Apache License 2.0
Go
@@ -19,6 +19,11 @@ export default class EditProjectBounds extends Component { map: PropTypes.object } + componentDidMount () { + const {map} = this.context + map.fitBounds([this.sw(), this.ne()], {maxZoom: 13}) + } + ne () { const {bounds} = this.props const {north, east} = bounds
fix(bounds): reinstate automatic zoom to selected bounds in edit-bounds component
null
conveyal/analysis-ui
MIT License
JavaScript
@@ -112,48 +112,66 @@ class ActivitiesViewController: UIViewController { return container } -// swiftlint:disable function_body_length - private func createPseudoActivity(fromTransactionRow transactionRow: TransactionRow) -> Activity? { - let token: TokenObject + private func extractTokenAndActivityName(fromTransaction...
fix: ERC20 approvals should appear as activities in Activity tab
null
alphawallet/alpha-wallet-ios
MIT License
Swift
@@ -126,6 +126,12 @@ static void read_rule_exceptions( const YAML::Node& item, rule_loader::rule_info& v) { + // An exceptions property with nothing in it is allowed + if(item.IsNull()) + { + return; + } + THROW(!item.IsSequence(), "Rule exceptions must be a sequence"); for (auto &ex : item) {
fix: allow empty exceptions property
null
falcosecurity/falco
Apache License 2.0
C++
@@ -117,8 +117,8 @@ public class LocalRules { boolean useNewBeliefTerm = false; if(newBelief.getTerm().hasInterval()) { - final Term cterm = replaceIntervals(newBelief.getTerm()); - final Concept c = nal.memory.concept(cterm); + final Term cterm = replaceIntervals(oldBelief.getTerm()); //oldBelief since concept <a --> ...
fix: LocalRules: Use oldBelief concept, for the case that the "super-concept" was removed
null
opennars/opennars
MIT License
Java
@@ -332,18 +332,6 @@ public class RunContext { return this.storageInterface.get(uri); } - if (uri.getScheme().equals("file")) { - return new FileInputStream(uri.getPath()); - } - - if (uri.getScheme().equals("http")) { - try { - return uri.toURL().openStream(); - } catch (IOException e) { - throw new RuntimeException(e...
fix(core): uriToInputStream from RunContext can load only kestra url
null
kestra-io/kestra
Apache License 2.0
Java
#include <iostream> #include <stdexcept> -/** - * Global constant for pi to work with Windows environment - */ -const double pi = 3.14159265358979323846; - /** * Class Complex to represent complex numbers as a field. */ @@ -30,8 +25,8 @@ class Complex { /** * Complex Constructor which initialises the complex number whi...
fix: Taken onboard some suggested changes
null
thealgorithms/c-plus-plus
MIT License
C++
@@ -20,10 +20,24 @@ module Onebox private def video_html(og) + escaped_url = ::Onebox::Helpers.normalize_url_for_output(url) + <<-HTML - <video width='#{og.video_width}' height='#{og.video_height}' #{og.title_attr} poster="#{og.get_secure_image}" controls loop> - <source src='#{og.video_secure_url}' type='video/mp4'> -...
fix: show poster image for google-photos video links
null
discourse/onebox
MIT License
Ruby
define(function() { return function () { - document.addEventListener('DOMContentLoaded', () => { + document.addEventListener('DOMContentLoaded', function () { new FastClick(document.body) }, false) }
fix(Fastclick): fixed syntax error in IE11 due to the ES6 arrow function
null
quasarframework/quasar
MIT License
JavaScript
@@ -63,7 +63,7 @@ function makeCheck (n, done) { } module.exports = (common) => { - describe('.pubsub', function () { + describe.only('.pubsub', function () { this.timeout(80 * 1000) const getTopic = () => 'pubsub-tests-' + hat() @@ -205,7 +205,7 @@ module.exports = (common) => { } ipfs1.pubsub - .subscribe(topic, {}, ...
fix: many fixes for pubsub tests with new async unsubscribe
null
ipfs-inactive/interface-js-ipfs-core
MIT License
JavaScript
@@ -84,7 +84,7 @@ export function satoshisToBits(satoshis) { export function satoshisToMillisatoshis(satoshis) { if (isEmptyAmount(satoshis)) return null - return satoshisToBits(satoshis) * 1000 || 0 + return satoshis * 1000 || 0 } export function satoshisToFiat(satoshis, price) {
fix(wallet): satoshi to millisatoshi conversion
null
ln-zap/zap-desktop
MIT License
JavaScript
@@ -6,6 +6,7 @@ import ( "errors" "fmt" "io" + "math" "net" nethttp "net/http" _ "net/http/pprof" // needed to add pprof to our binary. @@ -293,7 +294,7 @@ func buildLauncherCommand(l *Launcher, cmd *cobra.Command) { { DestP: &l.memoryBytesQuotaPerQuery, Flag: "query-memory-bytes", - Default: 10 * 1024 * 1024, // 10MB ...
fix(launcher): se default memory limit for query to unlimited
null
influxdata/influxdb
MIT License
Go