diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -181,8 +181,6 @@ pub(super) async fn explain(
// r[p2] = <value of constant>
r.insert(p2, opcode_to_type(&opcode));
n.insert(p2, n.get(&p2).copied().unwrap_or(false));
-
- println!("[x] <?> set column {} as INTEGER", p2);
}
OP_NOT => {
| fix(sqlite): remove errant `println!()` in `sqlite/explain.rs` | null | launchbadge/sqlx | Apache License 2.0 | Rust |
LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
-static enum usb_dc_status_code usb_status;
+static enum usb_dc_status_code usb_status = USB_DC_UNKNOWN;
static struct device *hid_dev;
-int zmk_usb_hid_send_report(const u8_t *report, size_t len)
+static K_SEM_DEFINE(hid_sem, 1, 1);
+
+static void in_ready_cb(void)
{
- if... | fix(usb): Restore write semaphore, release it on write failures | null | zmkfirmware/zmk | MIT License | C |
@@ -29,9 +29,9 @@ public class TableTest extends StorybookTest {
assertThat(headers, hasSize(5));
assertThat(headers.get(0).getText(), equalToIgnoringCase("id"));
assertThat(headers.get(1).getText(), equalToIgnoringCase("name"));
- assertThat(headers.get(2).getText(), equalToIgnoringCase("created"));
- assertThat(heade... | fix(Table): e2e tests | null | talend/ui | Apache License 2.0 | Java |
@@ -40,7 +40,9 @@ final class ConnectRemoteNodeViewModel: NSObject {
}
private func updateUI(certificate: String, macaroon: Data, url: URL?) {
- urlString.value = url?.absoluteString
+ if let url = url, url.absoluteString != "" {
+ urlString.value = url.absoluteString
+ }
self.certificate = certificate
self.macaroon = ... | fix: scanning zapconnect qrcode without url removes current url | null | ln-zap/zap-ios | MIT License | Swift |
@@ -85,7 +85,7 @@ func CreateMasterVMSS(cs *api.ContainerService) VirtualMachineScaleSetARM {
addCustomTagsToVMScaleSets(cs.Properties.MasterProfile.CustomVMTags, &virtualMachine)
if hasAvailabilityZones {
- virtualMachine.Zones = &masterProfile.AvailabilityZones
+ virtualMachine.Zones = &[]string{"[parameters('availab... | fix: availabilityZones value in template to read from parameter | null | azure/aks-engine | MIT License | Go |
@@ -18,6 +18,7 @@ class OrdersUnderUserVM(private val orderService: OrderService, private val even
val order = MutableLiveData<List<Order>>()
val event = MutableLiveData<List<Event>>()
val progress = MutableLiveData<Boolean>()
+ val eventIdAndTimes = mutableMapOf<Long, Int>()
private var eventId: Long = -1
private val ... | fix: show correct no of tickets in order under user fragment | null | fossasia/open-event-attendee-android | Apache License 2.0 | Kotlin |
@@ -45,7 +45,7 @@ class RemotesMixin():
self.git(
"pull",
remote,
- branch if not remote_branch else "{}:{}".format(branch, remote_branch)
+ branch if not remote_branch else "{}:{}".format(remote_branch, branch)
)
def push(self, remote=None, branch=None, force=False, remote_branch=None, set_upstream=False):
| fix: pull direction fix | null | timbrel/gitsavvy | MIT License | Python |
@once
@push('scripts')
<script src="//unpkg.com/dayjs@1.10.4/dayjs.min.js"></script>
- <script src="//unpkg.com/dayjs@1.10.4/plugin/localeData.js"></script>
+ <script src="//unpkg.com/dayjs@1.10.4/locale/{{ strtolower(str_replace('_', '-', app()->getLocale())) }}.js"></script>
<script>
- dayjs.extend(window.dayjs_plugi... | fix: use locale object in dayjs | null | laravel-filament/filament | MIT License | PHP |
@@ -669,6 +669,7 @@ func getUserInfo(ctx context.Context, s *mcclient.ClientSession, token mcclient.
query := jsonutils.NewDict()
query.Add(jsonutils.JSONNull, "effective")
query.Add(jsonutils.JSONNull, "include_names")
+ query.Add(jsonutils.JSONNull, "include_system")
query.Add(jsonutils.NewInt(0), "limit")
query.Add(... | fix: system account user fail to login apigateway | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -11,7 +11,7 @@ export const useFilterOptions = (collectionName: string) => {
const { getCollectionFields, getInterface } = useCollectionManager();
const fields = getCollectionFields(collectionName);
const field2option = (field, depth) => {
- if (nonfilterable.length && depth !== 1 && nonfilterable.includes(field.nam... | fix: not showing unfilterable fields | null | nocobase/nocobase | Apache License 2.0 | TypeScript |
@@ -160,6 +160,7 @@ LCUI_AppDriver LCUI_CreateWinAppDriver(void)
MessageBoxW(NULL, str, win.class_name, MB_ICONERROR);
return NULL;
}
+ app->id = LCUI_APP_WINDOWS;
app->GetData = WIN_GetData;
app->ProcessEvents = WIN_ProcessEvents;
app->BindSysEvent = WIN_BindSysEvent;
| fix: the return value of LCUI_GetAppId() is incorrect | null | lc-soft/lcui | MIT License | C |
@@ -78,6 +78,7 @@ const deployData = `{
"CDS_WORKFLOW": "{{.cds.workflow}}",
"CDS_PROJECT": "{{.cds.project}}",
"CDS_VERSION": "{{.cds.version}}",
+ "CDS_SEMVER": "{{.cds.semver}}",
"CDS_GIT_REPOSITORY": "{{.git.repository}}",
"CDS_GIT_HASH": "{{.git.hash}}"
}
| fix(plugin): add CDS_SEMVER metadata | null | ovh/cds | BSD 3-Clause New or Revised License | Go |
@@ -45,8 +45,7 @@ class ExtractReviewLutData(pype.api.Extractor):
# assign to representations
instance.data["lutPath"] = os.path.join(
- exporter.stagingDir, exporter.file).replace("\\", "/").replace(
- "C:/", "C\\:/")
+ exporter.stagingDir, exporter.file).replace("\\", "/")
instance.data["representations"] += data["re... | fix(nuke): the path was only working with C: | null | pypeclub/openpype | MIT License | Python |
@@ -140,7 +140,7 @@ class Parsedown extends \ParsedownToC
/**
* Should be responsive?
*/
- if ($this->builder->getConfig()->get('body.images.responsive.enabled')) {
+ if ($asset['type'] == 'image' && $this->builder->getConfig()->get('body.images.responsive.enabled')) {
if ($srcset = Image::buildSrcset(
$assetResized ??... | fix: try to apply responsive on image asset only | null | cecilapp/cecil | MIT License | PHP |
@@ -2470,7 +2470,7 @@ func (self *SHost) getGuestsResource(status string) *SHostGuestResourceUsage {
return &stat
}
-func (self *SHost) getMoreDetails(ctx context.Context, out api.HostDetails) api.HostDetails {
+func (self *SHost) getMoreDetails(ctx context.Context, out api.HostDetails, showReason bool) api.HostDetails... | fix: hide host prepare fail reason | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -146,7 +146,7 @@ extension AuthPluginErrorConstants {
static let signInUsernameError: AuthPluginValidationErrorString = (
"username",
"Username is required to signIn",
- "Make sure that a valid username is passed during sigIn"
+ "Make sure that a valid username is passed during signIn"
)
static let signUpUsernameErr... | fix(Auth): Fixing a typo in the Auth error message | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -98,7 +98,7 @@ char * update_my_fork(dati *d)
d->handle.ok_cb = log;
- d->body.size = json_ainject(&d->body.start, NULL, "(sha):s", sha);
+ d->body.size = json_ainject(&d->body.start, "(sha):s", sha);
fprintf(stderr, "PATCH: %.*s %d\n", d->body.size, d->body.start, d->body.size);
user_agent::run(&d->ua_data, &d->han... | fix: json_ainject has one less size_t pointer argument which can be misused | null | cee-studio/orca | MIT License | C++ |
@@ -256,7 +256,7 @@ func (h *Handler) Export(ctx *context.Context) {
f.SetActiveSheet(index)
// TODO: support any numbers of fields.
- orders := []string{"A", "B", "C", "Driver", "E", "F", "G", "H", "I", "J", "K",
+ orders := []string{"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K",
"L", "M", "N", "O", "P", "Q", ... | fix(admin): export error | null | goadmingroup/go-admin | Apache License 2.0 | Go |
@@ -35,19 +35,6 @@ function nextFetchTimeStr(minutes: number) {
.replace('T', ' ');
}
-function gotBugWorkaround(req) {
- req.prependOnceListener('cacheableResponse', (cacheableResponse) => {
- const fix = () => {
- if (!cacheableResponse.req) {
- return;
- }
- cacheableResponse.complete = cacheableResponse.req.res.com... | fix: remove workaround with got@12 | null | fengkx/noderssbot | MIT License | TypeScript |
@@ -384,7 +384,7 @@ class ImageElement extends Element {
_replaceImage(info: imageInfo);
_frameCount++;
- if (!_imageLoaded) {
+ if (!_imageLoaded && !_shouldLazyLoading) {
_imageLoaded = true;
if (sync) {
// `synchronousCall` happens when caches image and calling `addListener`.
| fix: fix lazy image load event | null | openkraken/kraken | Apache License 2.0 | Dart |
use syntect::highlighting::{Color, FontStyle, Style, StyleModifier};
-pub const LIGHT_THEMES: [&str; 4] = [
+pub const LIGHT_THEMES: [&str; 5] = [
"GitHub",
"Monokai Extended Light",
"OneHalfLight",
"ansi-light",
+ "Solarized (light)",
];
pub const DEFAULT_LIGHT_THEME: &str = "GitHub";
| fix: designate Solarized (light) as a light theme | null | dandavison/delta | MIT License | Rust |
@@ -23,6 +23,11 @@ class Game {
* @type {GameCode}
*/
this.code = result ? result.code : 'Not Found';
+ /**
+ * Name of game
+ * @type {GameString}
+ */
+ this.name = result ? result.name : 'Not Found';
/**
* Whether the game is found
* @type {boolean}
@@ -35,19 +40,7 @@ class Game {
* @return {GameString}
*/
toString ... | fix(Game): Game name returning Not Found | null | hypixel-api-reborn/hypixel-api-reborn | MIT License | JavaScript |
@@ -26,7 +26,7 @@ trait HasIcon
public function getIcon(): ?string
{
- return $this->icon;
+ return $this->evaluate($this->icon);
}
public function getIconPosition(): string
| fix: evaluate Closures passed to getIcon() | null | laravel-filament/filament | MIT License | PHP |
using System;
+using System.IO;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Text;
using System.Threading.Tasks;
@@ -22,7 +23,7 @@ namespace Files.App.Filesystem.StorageItems
public StorageProvider Provider => null;
public abstract DateTimeOffset DateCreated { get; }
- public abstract FileAttribute... | fix: Fixed issue where preview of ANSI text didn't work | null | files-community/files | MIT License | C# |
@@ -11,6 +11,7 @@ import me.melijn.melijnbot.internals.translation.MESSAGE_INTERACT_MEMBER_HIARCHY
import me.melijn.melijnbot.internals.translation.PLACEHOLDER_USER
import me.melijn.melijnbot.internals.translation.i18n
import me.melijn.melijnbot.internals.utils.*
+import me.melijn.melijnbot.internals.utils.checks.getAn... | fix: split big descriptions | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -193,6 +193,36 @@ group:
}
}
+func TestNewGroupResultSet_GroupNone_NoDataReturnsNil(t *testing.T) {
+ newCursor := func() (reads.SeriesCursor, error) {
+ return &sliceSeriesCursor{
+ rows: newSeriesRows(
+ "aaa,tag0=val00",
+ "aaa,tag0=val01",
+ )}, nil
+ }
+
+ rs := reads.NewGroupResultSet(context.Background(), &da... | fix(storage): Add unit tests to verify nil cursor | null | influxdata/influxdb | MIT License | Go |
@@ -187,7 +187,7 @@ class ContestController extends Controller
$header['problems'][] = $problem->ncode;
}
}
-
+ $user = auth()->user();
//body
if($contest->rule == 1){
$body = [];
@@ -216,7 +216,7 @@ class ContestController extends Controller
];
}
$userBody['extra'] = [
- 'owner' => isset($userBody['remote']) && $userB... | fix: avoid query to user table | null | zsgsdesign/noj | MIT License | PHP |
@@ -57,12 +57,15 @@ post_bitbucket_comment () {
infracost_cmd="infracost --no-color"
if [ ! -z "$tfjson" ]; then
+ echo "WARNING: we do not recommend using tfjson as it doesn't work with this diff script, use tfdir instead."
infracost_cmd="$infracost_cmd --tfjson $tfjson"
fi
if [ ! -z "$tfplan" ]; then
+ echo "WARNING:... | fix(ci): add warning notes to diff.sh | null | infracost/infracost | Apache License 2.0 | Shell |
@@ -6,13 +6,6 @@ pushd $DIR
echo "Regenerating flatbuffers code..."
-# Will move this to docker if it works
-sudo apt install g++
-curl -Lo bazel-4.0.0-installer-linux-x86_64.sh https://github.com/bazelbuild/bazel/releases/download/4.0.0/bazel-4.0.0-installer-linux-x86_64.sh
-ls -lrta
-chmod +x bazel-4.0.0-installer-li... | fix: Remove installation of bazel from flatbuffers checking script | null | influxdata/influxdb_iox | Apache License 2.0 | Shell |
@@ -223,12 +223,14 @@ abstract class Node extends EventTarget implements RenderObjectNode, LifecycleCa
@mustCallSuper
Node removeChild(Node child) {
- if (childNodes.contains(child)) {
// Not remove node type which is not present in RenderObject tree such as Comment
// Only append node types which is visible in RenderO... | fix: renderer attached to unmount | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -29,9 +29,28 @@ use std::time::{Duration, SystemTime};
use std::u32;
use tempfile::TempDir;
-const HTTP_BASE: &str = "http://localhost:8080";
-const API_BASE: &str = "http://localhost:8080/api/v2";
-const GRPC_URL_BASE: &str = "http://localhost:8082/";
+// These port numbers are chosen to not collide with a developm... | fix: Avoid clashing ports when running e2e tests | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
-# typed: strict
+# typed: true
# frozen_string_literal: true
require "tapioca/ruby_ext/forking_patch"
@@ -18,7 +18,6 @@ module Tapioca
!ENV["NO_FORK"] && Process.respond_to?(:fork)
end
- sig { void }
def run
serialized = T.unsafe(self).run_in_isolation do
super
| fix: Incorrect Sorbet signature for `def run` | null | shopify/tapioca | MIT License | Ruby |
using System;
using System.Collections;
using System.Collections.Generic;
+using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@@ -30,10 +31,11 @@ using System.IO;
using System.Runtime.Serialization;
using System.Security.AccessControl;
+using Amazon.Runtime;
using Am... | fix: ensure downloaded file path is always in target directory when using S3.IO | null | aws/aws-sdk-net | Apache License 2.0 | C# |
double GetDifficulty(const CBlockIndex* blockindex)
{
+ // Floating point number that is a multiple of the minimum difficulty,
+ // minimum difficulty = 1.0.
+ if (blockindex == NULL)
+ {
+ if (pindexBestHeader == NULL)
return 1.0;
+ else
+ blockindex = GetLastBlockIndex(pindexBestHeader, false);
+ }
+
+ int nShift = (... | fix: shows correct difficulty | null | navcoin/navcoin-core | MIT License | C++ |
@@ -71,10 +71,10 @@ defmodule Ash.Actions.ManagedRelationships do
current_value =
case Map.get(changeset.data, relationship.name) do
%Ash.NotLoaded{} ->
- case relationship.cardinality do
- :many -> []
- :one -> nil
- end
+ nil
+
+ other when is_list(other) ->
+ Enum.at(other, 0)
other ->
other
| fix: don't use list inputs in belongs_to managed | null | ash-project/ash | MIT License | Elixir |
@@ -335,6 +335,9 @@ class HomeFragment : Fragment() {
if (roomName.isEmpty()) {
allOk = false
binding.containerRoomName.error = "Room Name cannot be empty"
+ } else if (!roomName.matches(Regex("^[a-zA-Z.-:_]+$"))) {
+ allOk = false
+ binding.containerRoomName.error = "Can contain only alphabets, numbers and . - : _"
}
... | fix: validate room-name | null | 100mslive/100ms-android | MIT License | Kotlin |
@@ -26,7 +26,8 @@ export const input = style({
left: 0,
opacity: 0,
position: 'absolute',
- top: 0,
+ top: '50%',
+ transform: 'translateY(-50%)',
width: checkboxSize,
})
export const label = style({
| fix(island-ui): Align input box with visual box | null | island-is/island.is | MIT License | TypeScript |
@@ -54,6 +54,8 @@ public class MainActivity extends BaseActivity<IMainPresenter> implements Naviga
private MainActivityBinding binding;
private MainNavHeaderBinding headerBinding;
+ private int lastSelectedNavItemId;
+
@Override
protected void onCreate(Bundle savedInstanceState) {
OrgaApplication
@@ -174,7 +176,11 @@ p... | fix: Don't reload the page on selected the same menu item | null | fossasia/open-event-organizer-android | Apache License 2.0 | Java |
@@ -26,13 +26,6 @@ class RenderIntrinsic extends RenderBoxModel
return heightDefined ? BoxSizeType.specified : BoxSizeType.intrinsic;
}
- // Set clipX and clipY to true for background cannot overflow beyond the boundary of replaced element
- @override
- bool get clipX => true;
-
- @override
- bool get clipY => true;
-
... | fix: remove clip for renderIntrinsic | null | openkraken/kraken | Apache License 2.0 | Dart |
-import roundMm from "../roundMm";
-import formatImperial from "../formatImperial";
+import roundMm from '../roundMm'
+import formatImperial from '../formatImperial'
-const formatMm = (val, units, format = "html") => {
- val = roundMm(val);
- if (units === "imperial") {
- if (val == 0) return formatImperial("", 0, fals... | fix: formatMm will now round imperial values that aren't a clean fraction | null | freesewing/freesewing | MIT License | JavaScript |
@@ -3,13 +3,17 @@ import { GeneralField } from '@formily/core'
export const mapStatus = (props: any, field: GeneralField) => {
const takeStatus = () => {
if (!field) return
- if (field['loading'] || field?.['validating']) return 'loading'
+ if (field['loading'] || field['validating']) return 'loading'
if (field['invali... | fix(next): fix mapStatus takeState | null | alibaba/formily | MIT License | TypeScript |
@@ -379,8 +379,11 @@ ValueRefList concat_rule(
ValueRefList identity_rule_helper(
const OpDef& op, const Span<ValueRef>& inputs, const FormatTransformation& t) {
// mgb_assert(inputs.size() == 1);
- auto& src = inputs[0].cast(t.value_type());
- return t.wrap_outputs(imperative::apply(op, t.unwrap_inputs(inputs)), src.f... | fix(imperative/amp): fix distributed backward callback for nhwc amp | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -74,8 +74,8 @@ lv_obj_t * lv_msgbox_create(lv_obj_t * parent, const char * title, const char *
lv_obj_t * obj = lv_obj_class_create_obj(&lv_msgbox_class, parent);
LV_ASSERT_MALLOC(obj);
- lv_obj_class_init_obj(obj);
if(obj == NULL) return NULL;
+ lv_obj_class_init_obj(obj);
lv_msgbox_t * mbox = (lv_msgbox_t *)obj;
i... | fix(msgbox): do not execute init obj when obj == NULL | null | lvgl/lvgl | MIT License | C |
@@ -1028,6 +1028,8 @@ static void create_additive_base_clip(const Options& options, track_array_qvvf&
// Convert the animation clip to be relative to the bind pose
const uint32_t num_bones = clip.get_num_tracks();
const uint32_t num_samples = clip.get_num_samples_per_track();
+ IAllocator& allocator = *clip.get_allocat... | fix(tools): properly populate bind pose | null | nfrechette/acl | MIT License | C++ |
@@ -260,10 +260,8 @@ mod tests {
let src = vec![7, 6, 2 << (61 - 1), 4, 3, 2, 1];
let mut encoded = vec![];
- match encode_all(&src, &mut encoded) {
- Ok(_) => assert!(false), // TODO(edd): fix this silly assertion
- Err(_) => (),
- }
+ let result = encode_all(&src, &mut encoded);
+ assert_eq!(result.unwrap_err().to_st... | fix: Assert on an expected error rather than failing if we get Ok | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -97,6 +97,7 @@ namespace T3.Gui.Windows.TimeLine
var compositionSymbolUi = SymbolUiRegistry.Entries[_compositionOp.Symbol.Id];
var symbolChildUi = compositionSymbolUi.ChildUis.Single(child => child.Id == clip.Id);
+ var originalName = symbolChildUi.SymbolChild.ReadableName;
Vector2 newPos = symbolChildUi.PosOnCanvas... | fix: When splitting TimeClips the times are correctly set | null | still-scene/t3 | MIT License | C# |
@@ -37,11 +37,19 @@ def set_workfiles():
workdir = os.environ["AVALON_WORKDIR"]
workfiles.show(workdir)
project = hiero.core.projects()[-1]
+
+ # set project root with backward compatibility
+ try:
+ project.setProjectDirectory(active_project_root)
+ except Exception:
+ # old way of seting it
project.setProjectRoot(act... | fix(nks): preparing for new version api setProjectDirectory root | null | pypeclub/openpype | MIT License | Python |
@@ -554,7 +554,7 @@ public final class ByteSequenceCompiler {
* These can be part of an anchoring sequence in DROID (if not too big), but not in PRONOM:
*/
- case RANGE: case SET: case ALL_BITMASK: {
+ case RANGE: case SET: case ALL_BITMASK: case ANY: {
if (anchorStrategy.canBePartOfAnchor(child)) {
length++; // treat ... | fix: a sequence consisting of just ?? would not compile | null | digital-preservation/droid | BSD 3-Clause New or Revised License | Java |
@@ -297,10 +297,10 @@ public class SnowOwlApiConfig extends WebMvcConfigurationSupport {
converters.add(new ByteArrayHttpMessageConverter());
converters.add(new ResourceHttpMessageConverter());
converters.add(new CsvMessageConverter());
- // XXX using null value here to allow custom XmlFactory implementations to be inj... | fix(api): change order of message converters otherwise requests .. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -618,7 +618,14 @@ public final class StructuralRules {
System.arraycopy(conjCompound.term, 0, newTerm, 0, index);
System.arraycopy(conjCompound.term, index + 1, newTerm, index, newTerm.length - index);
final Term cont = Conjunction.make(newTerm, conjCompound.getTemporalOrder(), conjCompound.getIsSpatial());
- final ... | fix: StructuralRules: Allow spatial sequences to be manipulated in case of goals, questions and quests too, also not throwing exceptions for these cases anymore | null | opennars/opennars | MIT License | Java |
@@ -105,7 +105,7 @@ impl ConnectionPool {
.get_with_meta(connection_string.to_string())
.await
.map_err(|e| Arc::new(e) as ConnectionError)?;
- debug!(was_cached=%res.cached, %connection_string, "getting IOx write client");
+ debug!(was_cached=%res.cached, %connection_string, "getting IOx client");
Ok(res.result)
}
| fix: debug msg | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -9,7 +9,7 @@ import Foundation
import SwiftBTC
struct SuggestedPeers: Decodable {
- private static let url = URL(string: "http://zap.jackmallers.com/api/v1/suggested-peers")! // swiftlint:disable:this force_unwrapping
+ private static let url = URL(string: "https://resources.zaphq.io/api/v1/suggested-nodes")! // swi... | fix: update suggested-nodes uri | null | ln-zap/zap-ios | MIT License | Swift |
@@ -15,7 +15,6 @@ helm upgrade -i gloo gloo/gloo --version ${GLOO_VER} \
--set discovery.enabled=false
kubectl -n gloo-system rollout status deployment/gloo
-kubectl -n gloo-system rollout status deployment/gateway
kubectl -n gloo-system get all
echo '>>> Installing Flagger'
| fix(gloo): Update tests to not check gateway deployment. Was removed from >1.12.x | null | fluxcd/flagger | Apache License 2.0 | Shell |
// elements: the value of the current item and the next item. The last item is a value called `Nil`.
//
// Step 1: use a `Box` in the enum definition to make the code compile
-// Step 2: create both empty and non-empty cons lists of by replacing `unimplemented!()`
+// Step 2: create both empty and non-empty cons lists ... | fix(box1): fix comment typo | null | rust-lang/rustlings | MIT License | Rust |
@@ -298,6 +298,9 @@ mixin CSSBoxMixin on RenderStyleBase {
void updateBorder(String property, {Color borderColor, double borderWidth}) {
Border border = decoration.border as Border;
+ bool isBorderWidthChange = property == BORDER_TOP_WIDTH || property == BORDER_RIGHT_WIDTH ||
+ property == BORDER_BOTTOM_WIDTH || proper... | fix: border-width change should trigger relayout | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -239,6 +239,9 @@ namespace acl
segment_streams(allocator, lossy_clip_context, settings.segmenting);
+ if (lossy_clip_context.num_segments > uint32_t(std::numeric_limits<uint16_t>::max()))
+ return error_result("Too many segments");
+
// If we have a single segment, skip segment range reduction since it won't help
if... | fix(compression): fail gracefully if we have too many segments (65536 or more) | null | nfrechette/acl | MIT License | C |
@@ -175,11 +175,12 @@ export function getResolvedPieces (part: Part): Piece[] {
piece: Piece
}> = []
+ let unresolvedIds: string[] = []
_.each(tlResolved.objects, (obj0) => {
const obj = obj0 as any as TimelineObjRundown
const id = (obj.metadata || {}).pieceId
- if (obj0.resolved.resolved) {
+ if (obj0.resolved.resolve... | fix: Log unresolved ids when resolving pieces | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -95,6 +95,6 @@ fn quicknav_short(palette: Palette) -> LinePart {
Style::new().paint("/"),
Style::new().fg(green_color).bold().paint("hjkl"),
Style::new().paint("/"),
- Style::new().fg(green_color).bold().paint("+-"),
+ Style::new().fg(green_color).bold().paint("+->"),
])
}
| fix(ui): add missing closing > | null | zellij-org/zellij | MIT License | Rust |
@@ -59,12 +59,16 @@ func TestTangle_AttachTransaction(t *testing.T) {
}
tangle.Events.TransactionAttached.Attach(events.NewClosure(func(cachedTransaction *transaction.CachedTransaction, cachedTransactionMetadata *transactionmetadata.CachedTransactionMetadata) {
+ cachedTransactionMetadata.Release()
+
cachedTransaction.... | fix: fixed test of tangle | null | iotaledger/goshimmer | Apache License 2.0 | Go |
@@ -129,6 +129,9 @@ ACTOR Future<Void> handleIOErrors( Future<Void> actor, IClosable* store, UID id,
} else {
wait(onClosed);
}
+ if(e.isError() && e.getError().code() == error_code_broken_promise && !storeError.isReady()) {
+ wait(delay(0.00001 + FLOW_KNOBS->MAX_BUGGIFIED_DELAY));
+ }
if(storeError.isReady()) throw st... | fix: if we get a broken_promise from the actor, wait to get the real error from the store | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -1746,7 +1746,13 @@ int pluto_auto_transform(PlutoProg *prog) {
}
/* if there are any unsatisfied deps, they have to be
* distributed at the inner most level */
+ pluto_dep_satisfaction_reset(prog);
+ for (i = 0; i < prog->num_hyperplanes; i++) {
+ dep_satisfaction_update(prog, i);
+ }
if (!deps_satisfaction_check(p... | fix: incorrect cut at the last level | null | bondhugula/pluto | MIT License | C |
@@ -4557,7 +4557,7 @@ namespace
std::string val_as_string = value.isConvertibleTo(Json::stringValue) ? value.asString().c_str() : "value not convertible to string";
std::string err_msg = "Unable to convert json value '" + val_as_string + "' for the field: '" + field +"'";
- return std::move(err_msg);
+ return err_msg;
... | fix(userspace/libsinsp): pessimizing-move | null | draios/sysdig | Apache License 2.0 | C++ |
@@ -293,10 +293,18 @@ defmodule Ash.Actions.Create do
if action.manual? do
{:ok, nil}
else
+ belongs_to_attrs =
+ changeset.resource
+ |> Ash.Resource.Info.relationships()
+ |> Enum.filter(&(&1.type == :belongs_to))
+ |> Enum.map(& &1.source_field)
+
final_check =
changeset.resource
|> Ash.Resource.Info.attributes()
- ... | fix: ignore belongs_to in preflight attribute check | null | ash-project/ash | MIT License | Elixir |
@@ -555,7 +555,7 @@ def get_representation_path_with_anatomy(repre_doc, anatomy):
"""
try:
- template = repre_doc["data"]["template"]
+ template = repre_doc["data"]["template"].replace("\\", "/")
except KeyError:
raise InvalidRepresentationContext((
| fix: Template path wrong normpath for cross platform | null | pypeclub/openpype | MIT License | Python |
@@ -313,6 +313,14 @@ discord_embed_add_field(struct discord_embed *embed, char name[], char value[],
log_error("Reach embed fields threshold (max %d)", EMBED_MAX_FIELDS);
return;
}
+ if (IS_EMPTY_STRING(name)) {
+ log_error("Missing 'name'");
+ return;
+ }
+ if (IS_EMPTY_STRING(value)) {
+ log_error("Missing 'value'");... | fix: return from discord_embed_add_field() if name or value is empty | null | cee-studio/orca | MIT License | C |
-// Copyright 2022 Datafuse Labs.
+// Copyright 2023 Datafuse Labs.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
| fix(query): fix copyright | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -286,11 +286,9 @@ impl<Method: HashMethod + PolymorphicKeysHelper<Method> + Send + 'static> Proces
}
// We pull the first unsplitted data block
- if !self.initialized_all_inputs {
- if !self.initialize_all_inputs()? {
+ if !self.initialized_all_inputs && !self.initialize_all_inputs()? {
return Ok(Event::NeedData);
}... | fix(query): make lint | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -630,7 +630,7 @@ export const ESSENCE_SHOP = {
},
fresh_tools_kuudra: {
name: "Fresh Tools",
- description: "2-10% chance to double the speed of repairing Elle's Ballista for 5s during the Kuudra Boss Fight.",
+ description: "2-15% chance to double the speed of repairing Elle's Ballista for 5s during the Kuudra Boss... | fix: POTM Lore && Fresh Tools perk | null | skycryptwebsite/skycrypt | MIT License | JavaScript |
@@ -11,7 +11,7 @@ export const addressIndex: Writable<number> = writable(0)
export const balance: Writable<bigint> = writable(0n)
export const timestamp: Writable<number> = writable()
-export const timeToFinished: Readable<number> = derived(timestamp, $timestamp => calculateRoundLengthLeft($timestamp));
+export const t... | fix: show all logs in a round | null | iotaledger/wasp | Apache License 2.0 | TypeScript |
@@ -188,7 +188,7 @@ impl Settings {
// Initial settings.
{
let mut settings_mut = settings.write();
- for value in values.clone() {
+ for value in values {
let name = value.user_setting.name.clone();
settings_mut.insert(name, value);
}
@@ -203,18 +203,15 @@ impl Settings {
// Overwrite settings from metasrv
{
let tenan... | fix(setting): fix unit-test | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -314,19 +314,20 @@ func (s *Server) handleStartAuth(w http.ResponseWriter, r *http.Request) {
}
func (s *Server) startAuth(user *User, auth string) (irma.KeyshareAuthChallenge, error) {
- err := s.core.ValidateJWT(user.Secrets, auth)
- if err == nil {
+ jwtErr := s.core.ValidateJWT(user.Secrets, auth)
+ if jwtErr ==... | fix: shadowed err in keyshareserver.Server.startAuth() | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -6,6 +6,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.Build.Locator;
using Microsoft.DocAsCode.Common;
+using Microsoft.DocAsCode.Exceptions;
using Microsoft.DocAsCode.Metadata.ManagedReference;
using Microsoft.DocAsCode.Plugins;
@@ -15,8 +16,10 @@ namespace Microsoft.DocAsCode
{
static RunMe... | fix: fail when no .NET Core SDK found | null | dotnet/docfx | MIT License | C# |
@@ -101,7 +101,6 @@ export const ClientUpdater = () => {
return
}
- console.log('write')
client.writeData({
id: 'ClientPreference:local',
data: { feedSortType: 'icymi' },
| fix(component): remove console.log | null | thematters/matters-web | Apache License 2.0 | TypeScript |
@@ -13,7 +13,7 @@ import {
declare namespace nanoexpress {
// eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style
interface IRecord {
- [key: string]: string | IRecord;
+ [key: string]: string | string[] | IRecord;
}
export type RecordString = IRecord;
export type SwaggerOptions = IRecord;
| fix: swagger ts fix and add docs, fixes | null | nanoexpress/nanoexpress | Apache License 2.0 | TypeScript |
@@ -22,7 +22,7 @@ impl Generator for Bash {
buf,
format!(
"_{name}() {{
- local i cur prev opts cmds
+ local i cur prev opts cmd
COMPREPLY=()
cur=\"${{COMP_WORDS[COMP_CWORD]}}\"
prev=\"${{COMP_WORDS[COMP_CWORD-1]}}\"
| fix: Make cmd a local var in bash completion | null | clap-rs/clap | Apache License 2.0 | Rust |
@@ -50,17 +50,31 @@ impl LinkHandler {
}
pub fn output_osc8(&self, link_anchor: Option<LinkAnchor>) -> Option<String> {
- link_anchor.map(|link| match link {
+ link_anchor
+ .map(|link| match link {
LinkAnchor::Start(index) => {
- let link = self.links.get(&index).unwrap();
+ let link = self.links.get(&index);
+
+ let ... | fix(stability): avoid link handler panic on bad index | null | zellij-org/zellij | MIT License | Rust |
@@ -95,7 +95,8 @@ func (c *Kubectl) Apply(targetNamespace string, slug string, yamlDoc []byte, dry
}
if dryRun {
- args = append(args, "--dry-run=server")
+ // SC-42122: server dry run is incompatible with legacy operators that don't support it, i.e. openebs 1.12.0
+ args = append(args, "--dry-run=client")
}
if wait {
... | fix: client-side dry run to support legacy operators | null | replicatedhq/kots | Apache License 2.0 | Go |
@@ -66,9 +66,6 @@ export const fetchTransactionsByBlockHash = (blockHash: string, page: number, pa
},
})
.then((res: AxiosResponse) => res.data)
- .catch(() => {
- throw new Error(`${blockHash}${page}${page_size}`)
- })
}
export const fetchBlockByHash = (hash: string) => {
| fix: remove fetcher catch error | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -26,7 +26,7 @@ def test_path_func():
:rtype: pathlib.Path
"""
temp_path = get_ths_js("ths.js")
- assert isinstance(temp_path, pathlib.WindowsPath)
+ assert isinstance(temp_path, pathlib.Path)
if __name__ == "__main__":
| fix(test.py): fix test.py | null | jindaxiang/akshare | MIT License | Python |
@@ -850,6 +850,9 @@ impl TableData {
.await
.context(CatalogSnafu)?;
+ // remember "persisted" state
+ self.tombstone_max_sequence_number = Some(sequence_number);
+
// modify one partition at a time
for data in self.partition_data.values_mut() {
data.buffer_tombstone(executor, table_name, tombstone.clone())
@@ -1499,8 ... | fix: memorize max persisted tombstone | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -59,8 +59,12 @@ with open("${KUBECF_VALUES}") as fp:
new_stemcell_semver = get_semver(built_image_splitted2[1])
existing_stemcell_semver = get_semver(values['releases']["${BUILDPACK_NAME}"]['stemcell']['version'].split("-")[0])
-# Only update if new stemcell version is higher.
-if new_stemcell_semver > existing_stem... | fix: adding check for buildpack version for bump | null | cloudfoundry-incubator/kubecf | Apache License 2.0 | Shell |
@@ -474,6 +474,11 @@ public class MLAPIEditor : EditorWindow
boldStyle.normal.textColor = new Color(0.3f, 1f, 0.3f);
EditorGUILayout.LabelField("Installed", boldStyle);
+ if (EditorApplication.isUpdating || EditorApplication.isCompiling)
+ {
+ GUI.enabled = false;
+ }
+
// This is installed
if (GUILayout.Button("Reinst... | fix: Fixed editor freezing when installing a transport while in compilation | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
@@ -98,7 +98,7 @@ main() {
if [[ "${IS_FORCE}" != 1 ]]; then
if ! is_special_scenario; then
warning "Scenario ${FOUND_SCENARIO} already deployed"
- #exit 103
+ exit 103
fi
fi
fi
| fix(perturb): exit correctly on duplicate scenario | null | kubernetes-simulator/simulator | Apache License 2.0 | Shell |
@@ -134,6 +134,9 @@ class Serve extends AbstractCommand
// (re)builds before serve
$buildProcess->run($processOutputCallback);
+ if ($buildProcess->isSuccessful()) {
+ $this->fs->dumpFile(Util::joinFile($this->getPath(), self::TMP_DIR, 'changes.flag'), time());
+ }
if ($buildProcess->getExitCode() !== 0) {
return 1;
}
| fix(server): reload browser on first build | null | cecilapp/cecil | MIT License | PHP |
@@ -550,7 +550,7 @@ declare module 'netlify-cms-core' {
registerEditorComponent: (options: EditorComponentOptions) => void;
registerEventListener: (
eventListener: CmsEventListener,
- options: CmsEventListenerOptions,
+ options?: CmsEventListenerOptions,
) => void;
registerLocale: (locale: string, phrases: CmsLocalePhr... | fix(types): mark registerEventListener options as optional | null | netlify/netlify-cms | MIT License | TypeScript |
@@ -239,10 +239,10 @@ public static PacketMap getPacketsFci(ByteArrayBuffer fciBuffer)
*/
private static int readSymbol(byte[] buf, int off, int i)
{
- int chunkType = buf[off] & 0x80 >> 7;
+ int chunkType = (buf[off] & 0x80) >> 7;
if (chunkType == CHUNK_TYPE_VECTOR)
{
- int symbolType = buf[off] & 0x40 >> 6;
+ int sym... | fix: Fixes precedence-related bugs | null | jitsi/libjitsi | Apache License 2.0 | Java |
@@ -99,7 +99,7 @@ function preloadRequire (module) {
if (loadedModules.has(module)) {
return loadedModules.get(module)
}
- throw new Error('module not found')
+ throw new Error(`module not found: ${module}`)
}
// Process command line arguments.
| fix: report module name when require fails in sandboxed renderers | null | electron/electron | MIT License | JavaScript |
@@ -26,18 +26,16 @@ max_positive_value = {
DOCTYPES_FOR_DOCTYPE = ('DocType', 'DocField', 'DocPerm', 'DocType Action', 'DocType Link')
-_classes = {}
-
def get_controller(doctype):
"""Returns the **class** object of the given DocType.
For `custom` type, returns `frappe.model.document.Document`.
:param doctype: DocType ... | fix: Store classes in cache per site | null | frappe/frappe | MIT License | Python |
@@ -279,8 +279,8 @@ public class TopicSubscriptionIT {
List<ExternalTask> handledTasks = handler.getHandledTasks();
assertThat(handledTasks.size()).isEqualTo(2);
- assertThat(handledTasks.get(0).getProcessDefinitionVersionTag()).isEqualTo(PROCESS_DEFINITION_VERSION_TAG);
- assertThat(handledTasks.get(1).getProcessDefin... | fix(client): fix failing tests | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -130,7 +130,7 @@ public class WeavingClassFileTransformer implements ClassFileTransformer {
return true;
}
// proxies under JDK 7+ start with com/sun/proxy/$Proxy
- if (className.startsWith("jdk/proxy2/$Proxy") || className.startsWith("com/sun/proxy/$Proxy")) {
+ if (className.matches("^jdk/proxy\\d+/\\$Proxy.*") ||... | fix: do not weave proxies using a regexp | null | glowroot/glowroot | Apache License 2.0 | Java |
@@ -168,14 +168,6 @@ impl Binary {
None
}
- /// Clear any cached requires of this binary
- async fn clear(&self) {
- REQUIRES
- .lock()
- .await
- .retain(|_, installation| installation.name != self.name);
- }
-
/// Resolve the path and version of a binary
pub fn resolve(&mut self) {
// Collect the directories for prev... | fix(Binaries): Do not clear `REQUIRES` map to avoid deadlock | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -183,9 +183,7 @@ open class MessageTestTarget @JvmOverloads constructor(
}
override fun prepareVerifier(verifier: IProviderVerifier, testInstance: Any) {
- verifier.projectClassLoader = Supplier {
- classLoader ?: testInstance.javaClass.classLoader
- }
+ verifier.projectClassLoader = Supplier { classLoader }
verifie... | fix: previous change was failing on JDK 9+ [JUnit + Spring + Maven] | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
@@ -347,7 +347,7 @@ public abstract class DexInsnFormat {
public void skip(DexInsnData insn, SectionReader in) {
int elemSize = in.readUShort();
int size = in.readInt();
- if (size == 1) {
+ if (elemSize == 1) {
in.skip(size + size % 2);
} else {
in.skip(size * elemSize);
| fix: correct parsing for array-data-payload | null | skylot/jadx | Apache License 2.0 | Java |
@@ -539,7 +539,7 @@ MaceStatus Conv2dK3x3S2<float>::DoCompute(
vi0n = vld1q_f32(in_base + in_offset + 8); // [8.9.10.11]
vi1n = vld1q_f32(in_base + in_offset + p.in_width + 8);
- vi2n = vld1q_f32(in_base + in_offset + 2 * p.in_width + 8);
+ vi2n = (float32x4_t){(in_base + in_offset + 2 * p.in_width + 8)[0], 0.0, 0.0, 0... | fix: Fix neon conv segment fault issue | null | xiaomi/mace | Apache License 2.0 | C++ |
@@ -27,11 +27,9 @@ class GetImageCest
* @author Phalcon Team <team@phalcon.io>
* @since 2018-11-13
*/
- public function imageAdapterGdGetImageFromJpg(UnitTester $I)
+ public function imageAdapterGdGetImage(UnitTester $I)
{
- $I->wantToTest('Image\Adapter\Gd - getImage() - from jpg image');
-
- $this->checkJpegSupport($... | fix(tests): removed unnecessary check | null | phalcon/cphalcon | BSD 3-Clause New or Revised License | PHP |
@@ -56,6 +56,14 @@ const keydownHandler = (instance, e, dismissWith) => {
return // This instance has already been destroyed
}
+ // Ignore keydown during IME composition
+ // https://developer.mozilla.org/en-US/docs/Web/API/Document/keydown_event#ignoring_keydown_during_ime_composition
+ // https://github.com/sweetaler... | fix: ignore keydown during IME composition | null | sweetalert2/sweetalert2 | MIT License | JavaScript |
@@ -97,10 +97,6 @@ send() {
}
## Produce the jobs to run.
-
-# Create build indices topic with infinite retention
-send "$BUILD_INDICES_HISTORY_TOPIC" "--config retention.ms=-1 --topic $BUILD_INDICES_HISTORY_TOPIC"
-
send "$METADATA_AUDIT_EVENT_NAME" "--topic $METADATA_AUDIT_EVENT_NAME"
send "$METADATA_CHANGE_EVENT_NAM... | fix(kafka-setup): Remove reference to non-existing topic | null | linkedin/datahub | Apache License 2.0 | Shell |
@@ -568,7 +568,8 @@ class Table(DictArray):
raise ImportError("pandas not installed")
index = None if self._row_ids is None else self.template.names[0]
- df = DataFrame(data=self.asarray(), columns=self.header, index=index)
+ data = dict(zip(self.header, self.asarray().T.tolist()))
+ df = DataFrame(data=data, index=ind... | fix: fix table conversion to pandas DataFrame | null | cogent3/cogent3 | BSD 3-Clause New or Revised License | Python |
@@ -14,13 +14,11 @@ check_help_for() {
# fail to find these options to force fallback
if check_cmd sw_vers; then
case "$(sw_vers -productVersion)" in
- 10.13*) ;; # High Sierra
- 10.14*) ;; # Mojave
10.15*) ;; # Catalina
11.*) ;; # Big Sur
12.*) ;; # Monterey
*)
- warn "Detected OS X platform older than 10.13 (High Sie... | fix: High Sierra, Mojave no longer supported | null | dfinity/sdk | Apache License 2.0 | Shell |
@@ -58,6 +58,11 @@ func run(ctx context.Context) error {
dispatcher.OnNewMessage(func(ctx tg.UpdateContext, u *tg.UpdateNewMessage) error {
switch m := u.Message.(type) {
case *tg.Message:
+ if m.Out {
+ // Skipping updates from self.
+ return nil
+ }
+
switch peer := m.PeerID.(type) {
case *tg.PeerUser:
user := ctx.Us... | fix(gotdecho): skip updates from self | null | gotd/td | MIT License | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.