diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -13,13 +13,13 @@ fn simple_test() {
fn main() {
console_error_panic_hook::set_once();
wasm_logger::init(wasm_logger::Config::new(log::Level::Debug));
- dioxus_web::launch(APP);
+ dioxus_web::launch(app);
}
- static APP: Component = |cx| {
+ fn app(cx: Scope) -> Element {
cx.render(rsx! {
Router {
- onchange: move |r... | chore: fix web | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -22,9 +22,9 @@ import (
xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
)
-// FirewallParameters define the desired state of a Google Compute Engine VPC
-// Network. Most fields map directly to a Network:
-// https://cloud.google.com/compute/docs/reference/rest/v1/networks
+// FirewallParameters defin... | chore(firewall): remove unneccessary consts and fix comments | null | crossplane/provider-gcp | Apache License 2.0 | Go |
@@ -56,6 +56,10 @@ export default {
title: 'aliyun teamix',
path: 'https://formily.dg.aliyun-inc.com/',
},
+ {
+ title: 'antd-formily-boost',
+ path: 'https://github.com/fishedee/antd-formily-boost',
+ },
],
},
{
@@ -139,6 +143,10 @@ export default {
title: 'aliyun teamix',
path: 'https://formily.dg.aliyun-inc.com/',
}... | chore(docs): add antd-formily-boost link | null | alibaba/formily | MIT License | JavaScript |
//! Common test functions
-use grin_core::core::{Block, BlockHeader, KernelFeatures, Transaction};
use grin_core::core::hash::DefaultHashable;
+use grin_core::core::{Block, BlockHeader, KernelFeatures, Transaction};
use grin_core::libtx::{
build::{self, input, output},
proof::{ProofBuild, ProofBuilder},
@@ -147,9 +147,... | chore(test): remove deprecated try/r#try macro in favour of ? | null | mimblewimble/grin | Apache License 2.0 | Rust |
@@ -243,7 +243,7 @@ func (c *command) setAllFlags(cmd *cobra.Command) {
cmd.Flags().String(optionNameBlockHash, "", "block hash of the block whose parent is the block that contains the transaction hash")
cmd.Flags().Uint64(optionNameBlockTime, 15, "chain block time")
cmd.Flags().String(optionNameSwapDeploymentGasPrice,... | chore: warmup time increase | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -148,7 +148,6 @@ func (s *loggingMW) Export(ctx context.Context, opts ...ExportOptFn) (template *
s.logger.Error("failed to export template", zap.Error(err), dur)
return
}
- // todo: should these be Debug logs?
s.logger.Info("exported template", append(s.summaryLogFields(template.Summary()), dur)...)
}(time.Now())
r... | chore: remove crufty comments | null | influxdata/influxdb | MIT License | Go |
import eu.cloudnetservice.driver.service.ServiceTask;
import eu.cloudnetservice.node.Node;
import eu.cloudnetservice.node.TickLoop;
+import eu.cloudnetservice.node.cluster.NodeServer;
import eu.cloudnetservice.node.cluster.NodeServerProvider;
import eu.cloudnetservice.node.cluster.sync.DataSyncHandler;
import eu.cloudn... | chore: improve node selection when auto starting services | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
//! The logic for this was borrowed from <https://docs.rs/stack_dst/0.6.1/stack_dst/>. Unfortunately, this crate does not
//! support non-static closures, so we've implemented the core logic of `ValueA` in this module.
+#[allow(unused_imports)]
use smallbox::{smallbox, space::S16, SmallBox};
use crate::{innerlude::VNod... | chore: smallbox unused on miri ci | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -125,7 +125,7 @@ export class DefaultSkippingScene extends Scene {
this.append(
new CameraCancellingE({
scene: this,
- children: [3, 2, 1, 0].map(i => {
+ children: [3, 2, 1, 0].map((offsetIndex, i) => {
return new FlickeredFilledRect({
scene: this,
cssColor: `rgb(${valueTo}, ${valueTo}, ${valueTo})`,
@@ -135,7 +135... | chore: fix offsetDurationFrame | null | akashic-games/akashic-engine | MIT License | TypeScript |
@@ -77,11 +77,11 @@ internal class SchemaClassScanner(
do {
do {
// Require all implementors of discovered interfaces to be discovered or provided.
- handleInterfaceOrUnionSubTypes(getAllObjectTypesImplementingDiscoveredInterfaces()) { "Object type '${it.name}' implements a known interface, but no class could be found ... | chore: rename generic function | null | graphql-java-kickstart/graphql-java-tools | MIT License | Kotlin |
@@ -50,6 +50,7 @@ import java.nio.charset.StandardCharsets;
import java.util.function.BiFunction;
import java.util.function.Function;
+import org.apache.commons.lang3.ArrayUtils;
import org.hisp.dhis.webapi.json.JsonResponse;
import org.hisp.dhis.webapi.json.domain.JsonError;
import org.hisp.dhis.webapi.utils.ContextUt... | chore: setting content mime type via Header in spring Mvc tests | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -93,11 +93,11 @@ fun PluginVerificationResult.Verified.convertResultType(): VerificationResultTyp
when {
compatibilityProblems.isNotEmpty() -> VerificationResultTypeDto.PROBLEMS
directMissingMandatoryDependencies.isNotEmpty() -> VerificationResultTypeDto.PROBLEMS
+ internalApiUsages.isNotEmpty() -> VerificationResul... | chore(plugin verifier): treat `internalApiUsages` as problems | null | jetbrains/intellij-plugin-verifier | Apache License 2.0 | Kotlin |
@@ -42,7 +42,7 @@ public final class AwsServiceIdIntegration implements TypeScriptIntegration {
return shape -> {
Symbol symbol = symbolProvider.toSymbol(shape);
- if (!shape.isServiceShape()) {
+ if (!shape.isServiceShape() || !settings.generateClient()) {
return symbol;
}
| chore: don't update ssdk symbol visitor | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Java |
@@ -25,7 +25,7 @@ if ! command -v npm >/dev/null; then
exit 1
fi
-if [[ (-n $CI) && (-n $NPM_AUTH_TOKEN) && (! -f $HOME/.npmrc) ]]; then
+if [[ (-n $CI) && (-n $NPM_AUTH_TOKEN) ]]; then
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > $HOME/.npmrc
fi
| chore(ci): forcefully login NPM on CI if NPM_AUTH_TOKEN is set | null | microsoft/playwright | Apache License 2.0 | Shell |
@@ -89,12 +89,10 @@ open class FormViewController: UIViewController, Localizable, KeyboardObserver {
public func append<ItemType: FormItem>(_ item: ItemType) {
let view = itemManager.append(item)
- if let view = view as? AnyFormTextItemView {
- view.delegate = self
- }
+ view.applyIfNeeded(delegate: self)
- if isViewLo... | chore: fix auto-focusing in form control | null | adyen/adyen-ios | MIT License | Swift |
package org.camunda.bpm.engine.test.api.runtime.migration;
+import org.camunda.bpm.engine.repository.DiagramElement;
import org.camunda.bpm.model.bpmn.BpmnModelInstance;
import org.camunda.bpm.model.bpmn.builder.*;
import org.camunda.bpm.model.bpmn.instance.*;
import org.camunda.bpm.model.bpmn.instance.Process;
+import... | chore(modify/test): remove bpmn edge when removing sequence flow | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
import 'reflect-metadata';
import {
Application,
- http,
- Logger,
- RouteParameterResolverContext,
- RouteParameterResolverTag,
eventDispatcher,
+ http,
+ HttpAction,
httpWorkflow,
+ injectable,
JSONResponse,
- HttpAction,
- injectable
+ Logger,
+ RouteParameterResolverContext,
+ RouteParameterResolverTag
} from '@dee... | chore: server:listen -> server:start | null | deepkit/deepkit-framework | MIT License | TypeScript |
@@ -62,6 +62,8 @@ public class OSGiVaadinServletTest {
.mock(VaadinServletService.class);
Mockito.when(service.getDeploymentConfiguration())
.thenReturn(createDeploymentConfiguration());
+ Mockito.when(service.getClassLoader())
+ .thenReturn(Mockito.mock(ClassLoader.class));
return service;
}
};
| chore: mock VaadinServletService.getClassoader in OSGiVaadinServletTest | null | vaadin/flow | Apache License 2.0 | Java |
@@ -74,13 +74,13 @@ const Password = React.forwardRef<InputRef, PasswordProps>((props, ref) => {
[`${prefixCls}-${size}`]: !!size,
});
- const omittedProps = {
+ const omittedProps: InputProps = {
...omit(restProps, ['suffix', 'iconRender']),
type: visible ? 'text' : 'password',
className: inputClassName,
prefixCls: in... | chore: prefer using type-compatible-assigning over using type-assertion | null | ant-design/ant-design | MIT License | TypeScript |
@@ -671,10 +671,17 @@ const getTasksForRelease = (packageName: string, packageJSONFileContent) => {
// Common tasks for both published and unpublished packages.
+ // `configurations` don't have tests or build step.
+
+ if (!packageName.startsWith('configuration-')) {
tasks.push(
newTask('Install dependencies.', npmInst... | chore: Make release exclude tasks for configs | null | webhintio/hint | Apache License 2.0 | TypeScript |
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-__version__ = "0.8.0"
+__version__ = "1.2.0.dev"
| chore(version): fix dev version to a large number | null | megengine/megengine | Apache License 2.0 | Python |
@@ -412,7 +412,7 @@ public abstract class NodeUpdater implements FallibleCommand {
final String WORKBOX_VERSION = "6.5.0";
if (featureFlags.isEnabled(FeatureFlags.VITE)) {
- defaults.put("vite", "v2.9.1");
+ defaults.put("vite", "v2.9.13");
defaults.put("@rollup/plugin-replace", "3.1.0");
defaults.put("rollup-plugin-br... | chore: Upgrade to Vite 2.9.13 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -12,9 +12,6 @@ module.exports = function() {
const actual = this.result.fields[fieldName];
const expected = parseJson(expectedJson);
- console.log('expected:\n', JSON.stringify(expected, null, 2));
- console.log('actual:\n', JSON.stringify(actual, null, 2));
-
expect(actual).to.deep.equal(expected);
});
};
| chore: removes console.log statements from cucumber steps | null | apiaryio/gavel.js | MIT License | JavaScript |
@@ -108,7 +108,7 @@ const Impact = ({ press, files }) => (
<Container centered>
<div className={impactStyle.examples} id="skip-volunteers">
<p>
- The COVID Tracking project was cited in{' '}
+ The COVID Tracking Project was cited in{' '}
<strong>nearly 900 academic papers</strong>, including major medical
journals like... | chore: Ttypo and linting of homepage | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -12,6 +12,7 @@ import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.inject.Named;
+import org.apache.commons.codec.binary.Hex;
import org.apache.commons.io.IOUtils;
import org.gluu.oxauth.crypto.signature.SHA256withECDSASignatureVerification;
import org.gluu.oxauth.model.except... | chore: add u2f packed bytes dump | null | gluufederation/oxauth | MIT License | Java |
@@ -46,11 +46,13 @@ const docPkg = join(docRepoPath, 'package.json');
);
await fs.emptyDir(join(docRepoPath, 'web'));
await fs.copy(docsPath, join(docRepoPath, 'web'));
-
console.log(`> Copy From: \x1b[32;1m${docsPath}\x1b[0m`);
console.log(`> To: \x1b[32;1m${join(docRepoPath, 'web')}\x1b[0m`);
console.log(`> Update to... | chore: Update released scripts | null | uiwjs/uiw | MIT License | JavaScript |
@@ -10,7 +10,7 @@ import (
)
var (
- version = "1.6.2" // manually set semantic version number
+ version = "1.6.3" // manually set semantic version number
commitHash string // automatically set git commit hash
commitTime string // automatically set git commit time
| chore: bump version to v1.6.3 | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -129,9 +129,6 @@ export default class Card extends React.Component<CardProps, CardState> {
}
getAction(actions: React.ReactNode[]) {
- if (!actions || !actions.length) {
- return null;
- }
const actionList = actions.map((action, index) => (
<li style={{ width: `${100 / actions.length}%` }} key={`action-${index}`}>
<... | chore: remove unreachable code for Card | null | ant-design/ant-design | MIT License | TypeScript |
@@ -52,7 +52,12 @@ impl Debug for SplitInfo {
impl Display for SplitInfo {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
- write!(f, "{}[{}]", self.file.path, self.seq_in_file)
+ let n = self.file.num_splits;
+ if n > 1 {
+ write!(f, "{}[{}/{}]", self.file.path, self.seq_in_file + 1, n)
+ } else {
+ write!... | chore(format): refine Display for SplitInfo | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -66,7 +66,7 @@ public class RemovalTimeBatchTest {
// when
syncExec(
- historyService.setRemovalTimeToHistoricProcessInstancesAsync()
+ historyService.setRemovalTimeToHistoricProcessInstances()
.byQuery(query)
.absoluteRemovalTime(new Date())
.hierarchical()
| chore(engine): improve removal time batch operations api | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -1165,9 +1165,11 @@ impl SledStore {
tracing::info!("Found previously stored timeline for {r_id}, with end token {end_token:?}");
let stream = stream! {
- while let Ok(Some(item)) = db.room_timeline.get(&db.encode_key_with_counter(TIMELINE, &r_id, position)) {
+ while let Ok(Some(item)) =
+ db.room_timeline.get(&db.... | chore(sled): Fix line length overflow | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -14,6 +14,11 @@ class Gitlab extends OAuth
*/
protected $user = [];
+ /**
+ * @var array
+ */
+ protected $scopes = ['read_user'];
+
/**
* @return string
*/
@@ -27,12 +32,13 @@ class Gitlab extends OAuth
*/
public function getLoginURL(): string
{
- return 'https://gitlab.com/oauth/authorize?'.
- 'client_id='.urlenco... | chore: gitlab adapter fixes | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -9,6 +9,7 @@ import static io.flutter.plugins.firebase.core.FlutterFirebasePluginRegistry.reg
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.tasks.Task;
+import com.google.android.gms.tasks.TaskCompletionSource;
import com.google.android.gms.tasks.Tasks;
import... | chore(firebase_app_check, android): update deprecated `Tasks.call()` to `TaskCompletionSource` API | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Java |
@@ -99,7 +99,7 @@ public class LanguageTranslator extends BaseService {
}
builder.header("Accept", "application/json");
final JsonObject contentJson = new JsonObject();
- contentJson.add("text", {{corePackage}.util.GsonSingleton.getGson().toJsonTree(translateOptions.text()));
+ contentJson.add("text", com.ibm.cloud.sdk... | chore(Language Translator): Fix generator template error | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
-import java.awt.*;
-import javax.swing.JScrollPane;
-import javax.swing.SwingUtilities;
-
-/**
- * FlowLayout subclass that fully supports wrapping of components.
- */
-public class WrapLayout extends FlowLayout
-{
- private Dimension preferredLayoutSize;
-
- /**
- * Constructs a new <code>WrapLayout</code> with a lef... | chore: remove not needed file | null | skylot/jadx | Apache License 2.0 | Java |
@@ -160,9 +160,9 @@ public class ScheduleChangesTests
var result1 = Schedule.Spaced(30) & Schedule.Fibonacci(10) | Schedule.Recurs(5);
var result2 = OldSchedule.Spaced(30) & OldSchedule.Fibonacci(10) | OldSchedule.Recurs(5);
- // this is correct, fib schedule is 10,10,20,30,50 and the max of the with 30x5 is 30x4,50
+ ... | chore: small comment correction [ci] | null | louthy/language-ext | MIT License | C# |
package de.dytanic.cloudnet.common.registry;
+import com.google.common.collect.Multimap;
+import com.google.common.collect.Multimaps;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
-import java.util.List;
-import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
-impo... | chore(common): cleanup service registry | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -53,11 +53,11 @@ class AuthExampleApp extends StatelessWidget {
theme: ThemeData(primarySwatch: Colors.amber),
home: Scaffold(
body: LayoutBuilder(
- builder: (context, constraines) {
+ builder: (context, constraints) {
return Row(
children: [
Visibility(
- visible: constraines.maxWidth >= 1200,
+ visible: constrain... | chore(firebase_auth): fix typo "constraines" in example | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -311,10 +311,6 @@ func decodeGetDashboardsRequest(ctx context.Context, r *http.Request) (*getDashb
return req, nil
}
-type getDashboardsLinks struct {
- Self string `json:"self"`
-}
-
type getDashboardsResponse struct {
Links *platform.PagingLinks `json:"links"`
Dashboards []dashboardResponse `json:"dashboards"`
| chore(http): remove getDashboardsLinks | null | influxdata/influxdb | MIT License | Go |
@@ -78,7 +78,7 @@ print_all_changed_files
if [[ "$TEST_SUITE" == 'unit' ]]; then
# Only run unit tests if JS files changed
- check_for_testable_files '^packages/.+\.js$' '^test/unit/.+\.js$'
+ check_for_testable_files '^karma\.conf\.js$' '^packages/.+\.js$' '^test/unit/.+\.js$'
fi
if [[ "$TEST_SUITE" == 'lint' ]]; then... | chore: Run unit tests for PRs that change karma conf | null | material-components/material-components-web | MIT License | Shell |
// Licensed under the MIT License.
import { useContext, useMemo } from 'react';
+import get from 'lodash/get';
+import { SDKKinds } from '@botframework-composer/types';
import { EditorExtensionContext } from '../EditorExtensionContext';
import { TriggerUISchema } from '../types';
export function useTriggerConfig() {
- ... | chore: Hide triggers 'OnQnAMatch' and 'OnChooseIntent' in PVA env | null | microsoft/botframework-composer | MIT License | TypeScript |
@@ -168,22 +168,27 @@ export function getActiveRoutes(studio: Studio): ResultingMappingRoutes {
return routes
}
-export function getRoutedMappings(inputMappings: MappingsExt, mappingRoutes: ResultingMappingRoutes): MappingsExt {
- const outputMappings: MappingsExt = {}
+export function getRoutedMappings<M extends Mappi... | chore: refactor getRouteMappings into a generic (to allow passthrough of content on mapping) | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -75,6 +75,24 @@ literal_with_arg(::benchmark::State& state) {
state.SetItemsProcessed(state.iterations());
}
+static
+void
+literal_with_lazy_arg(::benchmark::State& state) {
+ root_logger_t root({});
+ logger_facade<root_logger_t> logger(root);
+
+ const auto path = "/porn.png";
+ while (state.KeepRunning()) {
+ lo... | chore: add benchmarks for lazy args | null | 3hren/blackhole | MIT License | C++ |
[ -z "$CONVENTIONAL_GITHUB_RELEASER_TOKEN" ] && echo "Need to set Token" && exit 1;
+[ -z "$1" ] && echo "Need to set version bump type" && exit 1;
cp package.json _package.json &&
cp package-lock.json _package-lock.json &&
-bump=`conventional-recommended-bump -p angular` &&
+bump=$1 &&
echo ${1:-$bump} &&
npm --no-git... | chore: set bump type explicitly when releasing | null | luin/ioredis | MIT License | Shell |
@@ -400,7 +400,6 @@ class FlameGraphRenderer extends React.Component<
}
render = () => {
- console.log('hey');
// This is necessary because the order switches depending on single vs comparison view
const tablePane = (
<div
| chore(flamegraph): remove console.log | null | pyroscope-io/pyroscope | Apache License 2.0 | TypeScript |
@@ -88,9 +88,7 @@ impl<T: Config> Pallet<T> {
let delta_time = now
.checked_sub(last_accrued_interest_time)
.ok_or(ArithmeticError::Underflow)?;
- borrow_index_new = Self::increment_index(borrow_rate, borrow_index, delta_time)
- .and_then(|r| r.checked_add(&borrow_index))
- .ok_or(ArithmeticError::Overflow)?;
+ borrow_... | chore(loans): refactor interest accrual function | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -1021,7 +1021,7 @@ func (t *TBtree) flushTree(cleanupPercentage float32, synced bool) (wN int64, wH
)
defer finishOutputFunc()
- expectedNewMinOffset := t.minOffset + int64((float32(t.committedNLogSize-t.minOffset)*cleanupPercentage)/100)
+ expectedNewMinOffset := t.minOffset + int64((float64(t.committedNLogSize-t.m... | chore(embedded/tbtree): use double for min offset calculation | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -146,8 +146,8 @@ func mockContext(agent string, tr map[string]chan payload, done chan struct{}) P
return provider
}
-// nolint: gocyclo, govet
-func ExampleSendProposal() {
+// nolint: gocyclo
+func ExampleClient_SendProposal() {
transport := map[string]chan payload{
Alice: make(chan payload),
Bob: make(chan payload... | chore: Introduce - example function names were changed | null | hyperledger/aries-framework-go | Apache License 2.0 | Go |
@@ -9,7 +9,7 @@ trap 'failure ${LINENO}' ERR
remote=https://$GIT_TOKEN@github.com/brainhubeu/react-carousel.git
-sed -i "s/__BUILD_INFO__/ (v2-beta, built on `date +'%Y-%m-%d %H:%M:%S'`)/g" docs-www/gatsby-docs-kit.yml
+sed -i "s/__BUILD_INFO__/ (master, built on `date +'%Y-%m-%d %H:%M:%S'`)/g" docs-www/gatsby-docs-kit... | chore: rename demo page from v2-beta to master | null | brainhubeu/react-carousel | MIT License | Shell |
@@ -67,7 +67,7 @@ public class FrontendTools {
* the installed version is older than {@link #SUPPORTED_NODE_VERSION}, i.e.
* {@value #SUPPORTED_NODE_MAJOR_VERSION}.{@value #SUPPORTED_NODE_MINOR_VERSION}.
*/
- public static final String DEFAULT_NODE_VERSION = "v18.11.0";
+ public static final String DEFAULT_NODE_VERSION... | chore: Upgrade to Node 18.12 LTS | null | vaadin/flow | Apache License 2.0 | Java |
-import * as React from 'react'
-import { motion } from 'framer-motion'
-
-interface IProps {
- show: boolean
-}
-interface IState {
- show: boolean
-}
-
-const AnimationContainer = (props?: React.ReactNode) => {
- return (
- <motion.div
- layout
- key={'animationContainer'}
- initial={{ opacity: 0 }}
- animate={{ opac... | chore: remove unused FadeInOut | null | onearmy/community-platform | MIT License | TypeScript |
@@ -101,7 +101,8 @@ void lv_table_set_cell_value(lv_obj_t * obj, uint16_t row, uint16_t col, const c
* @param fmt `printf`-like format
* @note New roes/columns are added automatically if required
*/
-void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint16_t row, uint16_t col, const char * fmt, ...);
+void lv_table_set_... | chore(format): add LV_FORMAT_ATTRIBUTE to lv_table_set_cell_value_fmt | null | lvgl/lvgl | MIT License | C |
@@ -51,7 +51,7 @@ describe('Box margin', () => {
await matchScreenshot();
});
- fit('should work with shorthand', async () => {
+ it('should work with shorthand', async () => {
const div = document.createElement('div');
setElementStyle(div, {
width: '100px',
| chore: fit to it | null | openkraken/kraken | Apache License 2.0 | TypeScript |
@@ -1871,6 +1871,10 @@ int SuperMediaPlayer::FillVideoFrame()
if (ret == STATUS_EOS) {
videoDecoderEOS = true;
+
+ if (mSeekFlag && mSeekNeedCatch) {
+ mSeekNeedCatch = false;
+ }
}
if (pFrame != nullptr) {
| chore(superMediaPlayer): set seekCatch false if video decoder eof | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -327,13 +327,6 @@ final class AwsProtocolUtils {
return true;
}
- if (!testCase.getId().matches("^RestJsonBody\\w+MalformedValueRejected.*")) {
- //TODO: trailing characters in untyped contexts not rejected yet
- if (testCase.hasTag("trailing_chars") || testCase.hasTag("hex")) {
- return true;
- }
- }
-
//TODO: requ... | chore: enable excess character tests | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Java |
@@ -884,12 +884,16 @@ impl MetaNode {
let as_leader_res = self.as_leader().await;
debug!("as_leader: is_err: {}", as_leader_res.is_err());
- let leader = as_leader_res?;
+ // Handle the request locally or return a ForwardToLeader error
+ let op_err = match as_leader_res {
+ Ok(leader) => {
let res = leader.handle_forwa... | chore(meta-service): ForwardToLeader error should be handled | null | datafuselabs/databend | Apache License 2.0 | Rust |
export const patchNotes = `### Bug Fixes
-* **chinese-mb:** fixed pricing autofill, **requires you to link your character again**.
-* **desktop:** fixed log autofill not filling in some cases.
-* **pricing:** fixed missing icon in marketboard fill buttons.`;
+* **db:** fixed reduction results reporter and reduction dat... | chore(release): 7.2.11 patch notes | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -74,7 +74,16 @@ pub struct Network {
conn_pool: Pool<ChannelManager>,
- back_off_policy: ExponentialBackoff,
+ /// delay increase ratio of meta
+ ///
+ /// should be not little than 1.0
+ back_off_ratio: f32,
+ /// min delay duration of back off
+ back_off_min_delay: Duration,
+ /// max delay duration of back off
+ ... | chore: remove embeded ExponentialBackOff | null | datafuselabs/databend | Apache License 2.0 | Rust |
import Foundation
+/// Declares common properties of an [ERC-20](https://eips.ethereum.org/EIPS/eip-20) complient smart contract.
+/// Default implementation of access to these properties is declared in the extension of this protocol.
public protocol ERC20BaseProperties: AnyObject {
var basePropertiesProvider: ERC20Bas... | chore: docs added to ERC20BaseProperties | null | skywinder/web3swift | Apache License 2.0 | Swift |
from __future__ import unicode_literals
-# imports - standard imports
-import json
-
# imports - module imports
from frappe.model.document import Document
from frappe import _
@@ -22,6 +19,7 @@ from frappe.chat.util import (
session = frappe.session
+
def is_direct(owner, other, bidirectional=False):
def get_room(owner... | chore: fix indentation and cleanup annoying spaces | null | frappe/frappe | MIT License | Python |
@@ -55,56 +55,164 @@ func (fi bindataFileInfo) Sys() interface{} {
}
var _templatesConsul_catalogTmpl = []byte(`[backends]
-{{range $index, $node := .Nodes}}
- [backends."backend-{{getBackend $node}}".servers."{{getBackendName $node $index}}"]
- url = "{{getAttribute "protocol" $node.Service.Tags "http"}}://{{getBacken... | chore(consulcatalog): gen templates | null | traefik/traefik | MIT License | Go |
@@ -324,6 +324,96 @@ describe('template-compiler.primary-bindable.spec.ts', function() {
throw new Error('Should not have run');
}
},
+ {
+ title: 'works with long name, in single binding syntax',
+ template: '<div square="5"></div>',
+ attrResources: () => {
+ @customAttribute({
+ name: 'square'
+ })
+ class Square {
... | chore(tests): add tests for long name with hyphen in multi bindings | null | aurelia/aurelia | MIT License | TypeScript |
import React from 'react'
+import { graphql, useStaticQuery } from 'gatsby'
import facilityDetailsStyle from './facility-details.module.scss'
import StateAlerts from './state-alert'
@@ -93,7 +94,22 @@ const fields = {
],
}
-const FacilityDetails = ({ facility, layer }) => (
+const FacilityDetails = ({ facility, layer }... | chore: Add state name | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -149,8 +149,8 @@ class ABIEncoderTest: XCTestCase {
}
func testConvertToBigUInt() {
- /// When negative value is serialized the first byte represents sign with decoded as a signed number
- /// but for unsigned numbers the first byte represents just one byte of a number, not a sign.
+ /// When negative value is seria... | chore: test comment typo + rephrasing | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -15,7 +15,7 @@ if [[ $TRAVIS_BRANCH == 'master' ]]; then
npm run semantic-release
echo "[DEBUG] CHANGELOG"
- cat packages/*/CHANGELOG.md
+ find packages -name 'CHANGELOG.md' -maxdepth 2 -print0 | xargs -0 -I % sh -c 'echo %; cat %'
npm run coverage:publish
fi
| chore(changelog): a bit of debug to find out more about the structure of the changelog files | null | serenity-js/serenity-js | Apache License 2.0 | Shell |
@@ -61,9 +61,13 @@ type TimeFunc func() time.Time
type Options struct {
ReadOnly bool
+ // Fsync during commit process
Synced bool
+
+ // Fsync frequency during commit process
SyncFrequency time.Duration
+ // Size of the in-memory buffer for write operations
WriteBufferSize int
FileMode os.FileMode
@@ -71,19 +75,34 @@ ... | chore(embedded/store): add in-line documentation for store options | null | codenotary/immudb | Apache License 2.0 | Go |
#!/usr/bin/env bash
set -euo pipefail
-# See if this version already exists on Docker Hub.
-function version_exists() {
- local output
- output=$(curl --silent "https://index.docker.io/v1/repositories/codercom/code-server/tags/$VERSION")
- if [[ $output == "Tag not found" ]]; then
- return 1
- else
- return 0
- fi
-}
-... | chore: allow overwriting Docker images | null | cdr/code-server | MIT License | Shell |
@@ -99,7 +99,6 @@ export class BaseReporter implements ReporterInternal {
}
onError(error: TestError) {
- if (!(error as any).__isNotAFatalError)
this._fatalErrors.push(error);
}
| chore: render readable title separator in errors | null | microsoft/playwright | Apache License 2.0 | TypeScript |
@@ -240,7 +240,7 @@ public class ServerMain {
}
record.$('\n').$();
} else {
- record.$('\t').$("http://").$ip(httpBindIP).$(':').$(httpBindPort).$('\n');
+ record.$('\t').$("http://").$ip(httpBindIP).$(':').$(httpBindPort).$('\n').$();
}
}
| chore: fix logging | null | questdb/questdb | Apache License 2.0 | Java |
@@ -15,8 +15,6 @@ if [ -z "$API_KEY" ]; then
exit 1
fi
-DEST="$CONFIGURATION_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH"
-
BUNDLE_FILE="$CONFIGURATION_BUILD_DIR/main.jsbundle"
if [ ! -f "$BUNDLE_FILE" ]; then
echo "Skipping source map upload because app has not been bundled."
| chore(react-native): Remove unused variable in shell script | null | bugsnag/bugsnag-js | MIT License | Shell |
@@ -63,6 +63,9 @@ public class DevProcessApplication extends ServletProcessApplication {
catch(Exception e) {
LOGGER.log(Level.WARNING, "Exception while generating demo data", e);
}
+ finally {
+ ClockUtil.reset();
+ }
}
}.start();
}
| chore(develop): reset ClockUtil | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -38,8 +38,12 @@ class ProprietaryHeadersRule(@Autowired rulesConfig: Config) {
.map { context.violation(responseDescription, it.value) }
private fun requestHeaders(context: Context): List<Parameter> = context.api.paths.values
- .flatMap { it.readOperations().flatMap { it.parameters.orEmpty().filter { "header" == it.... | chore: increase readability of higher order funtions | null | zalando/zally | MIT License | Kotlin |
@@ -38,7 +38,7 @@ class GameStat extends StatelessWidget {
children: [
Text(
'Game Over',
- style: Theme.of(context).textTheme.headline2,
+ style: Theme.of(context).textTheme.displayMedium,
),
ElevatedButton(
onPressed: () {
| chore: Clean up outdated code in `flame_bloc` | null | flame-engine/flame | MIT License | Dart |
@@ -3,7 +3,7 @@ namespace DCL.Configuration
{
public static class ApplicationSettings
{
- public static float version = 0.4f;
+ public static string version = "0.4.1";
}
public static class Environment
| chore: update build version to 0.4.1 | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -344,15 +344,6 @@ run_cleanup() {
SCRIPTS_TO_RUN+=" ${TEMP_FILE}"
fi
- if [[ -f "${SCENARIO_DIR}/flag.txt" ]]; then
- TEMP_FILE=$(mktemp)
- #echo "echo '$(cat "${SCENARIO_DIR}/flag.txt" | base64 -w0)' | base64 -d > /root/flag.txt" | tee "${TEMP_FILE}"
- echo "echo '$(base64 -w0 < "${SCENARIO_DIR}/flag.txt")' | base6... | chore: remove get_flags, get_flag_raw functions as not called, remove check for flags.txt file as not being created | null | kubernetes-simulator/simulator | Apache License 2.0 | Shell |
//! Supporting utilities for tests.
+use common_meta_types::anyerror::AnyError;
+use common_meta_types::MetaAPIError;
+use common_meta_types::MetaDataError;
+use common_meta_types::MetaDataReadError;
use common_meta_types::MetaError;
use common_proto_conv::FromToProto;
@@ -35,5 +39,11 @@ where
return Ok(s);
};
- unreac... | chore(meta-service): get_kv_data() has to return an error, because some test use it to detect absent key | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -169,7 +169,7 @@ final class XmlShapeSerVisitor extends DocumentShapeSerVisitor {
AwsProtocolUtils.writeXmlNamespace(context, valueMember, "workingNode");
writer.write("return acc.addChildNode(workingNode);");
});
- writer.write(", new __XmlNode($S));", valueName);
+ writer.write(", new __XmlNode($S))", valueName);
... | chore: fix extra colon for xml serializer | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Java |
@@ -100,6 +100,20 @@ public class AuditMatrixConfigurerTest
assertMatrixEnabled( AGGREGATE, CREATE, UPDATE, DELETE );
}
+ @Test
+ public void allDisabled()
+ {
+ when( config.getProperty( ConfigurationKey.AUDIT_METADATA_MATRIX ) ).thenReturn( "DISABLED" );
+ when( config.getProperty( ConfigurationKey.AUDIT_TRACKER_MATR... | chore: add unit test for Auditing | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -53,7 +53,7 @@ export interface LazyData {
}`.replace(/"/g, "'")
);
-const extractsHash = hashFiles.sync({ files: [path.join(__dirname, '../../apps/client/src/assets/extracts.json')] });
+const extractsHash = hashFiles.sync({ files: [path.join(__dirname, '../../apps/client/src/assets/extracts/extracts.json')] });
fs... | chore(ci): what about properly moving the file next time | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | JavaScript |
@@ -49,7 +49,7 @@ add_action('enqueue_block_editor_assets', function () {
*/
add_action('after_setup_theme', function () {
/**
- * Enable features from Soil when plugin is activated.
+ * Enable features from the Soil plugin if activated.
* @link https://roots.io/plugins/soil/
*/
add_theme_support('soil', [
| chore(theme): reword soil docblock | null | roots/sage | MIT License | PHP |
@@ -225,7 +225,7 @@ impl Lvol {
}
}
- // wipe the first MB if unmap is not supported on failure the operation
+ // wipe the first 8MB if unmap is not supported on failure the operation
// needs to be repeated
pub async fn wipe_super(&self) -> Result<(), Error> {
if !unsafe { self.0.as_ref().clear_method == LVS_CLEAR_WI... | chore: increase buffer size when wiping superblock | null | openebs/mayastor | Apache License 2.0 | Rust |
@@ -21,5 +21,4 @@ limitations under the License.
// This is the result of running "falco --list -N | sha256sum" and
// represents the fields supported by this version of Falco. It's used
// at build time to detect a changed set of fields.
-#define FALCO_FIELDS_CHECKSUM "afddd456b7304d09d640d15123539bc48db45c5a85794e1e1... | chore(userpsace/engine): update fields checksum | null | falcosecurity/falco | Apache License 2.0 | C |
@@ -149,7 +149,6 @@ public final class BoletoComponent: PaymentComponent, LoadingComponent, Presenta
if let emailItem = component.emailItem {
sendCopyByEmailItem.value = false
emailItem.value = shopperInformation.emailAddress ?? ""
- bind(sendCopyByEmailItem.publisher, to: emailItem, at: \.isHidden.wrappedValue, with: ... | chore: Remove email toggle binding on prefill | null | adyen/adyen-ios | MIT License | Swift |
@@ -139,10 +139,8 @@ dependencies {
// implementation("com.github.husnjak:IGDB-API-JVM:0.7")
implementation("io.lettuce:lettuce-core:5.3.4.RELEASE")
- implementation("org.codehaus.groovy:groovy:3.0.6")
-
- implementation("io.github.cdimascio:java-dotenv:5.3.1")
-
+ // https://github.com/cdimascio/dotenv-kotlin
+ implem... | chore(deps): remove unused deps and upgrade java-dotenv | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -521,7 +521,7 @@ impl KernelTrait for MicroKernel {
// Start async task to wait for result and send to receivers
let task_id = task.id.clone();
tokio::spawn(async move {
- tracing::debug!("Began exec_fork task `{}`", task_id);
+ tracing::trace!("Began exec_fork task `{}`", task_id);
let result = match fork.state().a... | chore(Microkernels): Demote some log entries to `TRACE` to reduce noise | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -513,9 +513,7 @@ impl Store {
Self::new(inner)
}
-}
-impl Store {
/// Create a new store, wrappning the given `StateStore`
pub fn new(inner: Arc<dyn StateStore>) -> Self {
Self {
| chore(base): Merge consecutive impls for the same type | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -11,8 +11,9 @@ defmodule Logflare.TestUtils do
end
def gen_bq_timestamp do
- inspect((DateTime.utc_now() |> DateTime.to_unix(:microsecond)) / 1_000_000_000_000_000) <>
- "E9"
+ micro = DateTime.utc_now() |> DateTime.to_unix(:microsecond)
+ exp_first_part = (micro / 1_000_000_000_000_000 )
+ Float.to_string(exp_first... | chore: correctly generate bigquery timestamp string according to the bigquery return value | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -67,7 +67,7 @@ const customPreloadPlugin = () => {
const result: any = {
...((modulepreload as any)({
index: resolve(__dirname, "dist", "index.html"),
- prefix: process.env.BASE_URL || "/",
+ prefix: process.env.BASE_URL || "",
}) as any),
enforce: "post",
}
| chore(new-client): Fixed customPreloadPlugin prefix | null | adaptiveconsulting/reactivetradercloud | Apache License 2.0 | TypeScript |
@@ -16,7 +16,7 @@ if [ -z "$CIRCLE_PULL_REQUEST" ]; then
fi
echo "Publishing to NPM with tag $NPM_TAG"
yarn publish:tag
- elif [[ "$CIRCLE_BRANCH" =~ ^run-e2e-with-rc\/.* ]]; then
+ elif [[ "$CIRCLE_BRANCH" =~ ^run-e2e-with-rc\/.* ]] || [[ "$CIRCLE_BRANCH" =~ ^release_rc\/.* ]]; then
yarn publish:rc
else
yarn publish:$... | chore: fix release script to run correct publish script | null | aws-amplify/amplify-cli | Apache License 2.0 | Shell |
import { ChainId } from '@sushiswap/chain'
-export const TRIDENT_ENABLED_NETWORKS = [ChainId.OPTIMISM, ChainId.POLYGON, ChainId.METIS, ChainId.KAVA, ChainId.BTTC]
+export const TRIDENT_ENABLED_NETWORKS = [
+ ChainId.OPTIMISM,
+ ChainId.POLYGON,
+ ChainId.METIS,
+ ChainId.KAVA,
+ ChainId.BTTC,
+ ChainId.ARBITRUM,
+]
exp... | chore(apps/swap): enable trident on arbitrum | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -7,7 +7,6 @@ import static com.box.sdk.UniqueTestFolder.removeUniqueFolder;
import static com.box.sdk.UniqueTestFolder.setupUniqeFolder;
import static com.box.sdk.UniqueTestFolder.uploadFileToUniqueFolderWithSomeContent;
import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.contai... | chore: Fix BoxTrashIT | null | box/box-java-sdk | Apache License 2.0 | Java |
@@ -238,10 +238,6 @@ export class TypeScriptFileUpdate {
return;
}
- const targetSource = this.targetSource.statements.slice(0, this.importsMeta.lastIndex);
- const newImportsMap = newImports.map(x => TsUtils.createIdentifierImport(x.imports, x.from));
- const targetSourceMeta = this.targetSource.statements.slice(this.... | chore(igx): Removed unneeded constants | null | igniteui/igniteui-cli | MIT License | TypeScript |
@@ -22,7 +22,7 @@ export {
kSerializeData
} from './utils/constants';
-export { APIRequest } from './api/request';
+export { API, APIRequest } from './api';
export { Composer } from './structures/shared/composer';
export { ICallbackServiceValidate } from './utils/callback-service';
| chore(vk): export api from module | null | negezor/vk-io | MIT License | TypeScript |
@@ -12,12 +12,14 @@ const SignInSSOPage: NextPageWithLayout = () => {
<div className="my-8 self-center text-sm">
<div>
- <span className="text-scale-1000">Don't have an enterprise account?</span>{' '}
- <Link href="/sign-up">
- <a className="underline text-scale-1200 hover:text-scale-1100 transition">
- Sign Up Now
+ <... | chore: update sso sign in page cta text and link | null | supabase/supabase | Apache License 2.0 | TypeScript |
@@ -106,8 +106,7 @@ export abstract class SimpleActivityTrackingVMBase {
}
describe('router config', function () {
- // eslint-disable-next-line mocha/no-skipped-tests
- describe.skip('monomorphic timings', function () {
+ describe('monomorphic timings', function () {
const routerOptionsSpecs: IRouterOptionsSpec[] = ([... | chore(router-lite): activated some skipped tests | null | aurelia/aurelia | MIT License | TypeScript |
-/*
- * Copyright (c) 2004-2021, University of Oslo
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice, this
- * list... | chore: remove unused attribute util | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
#!/bin/bash
set -e
-# configurable by environment variable
-RERUNS=${RERUNS:-100}
-
# path of this file
SCRIPT_PATH="$(cd $(dirname "$0")/$(dirname "$(readlink "$0")") && pwd)"
-# project root for this file
-PROJECT_ROOT="$( cd "$( echo "${SCRIPT_PATH}" | sed s+/scripts/ci++)" && pwd )"
+# This script is a temporary so... | chore(rerun): fix implementation | null | dcos/dcos-ui | Apache License 2.0 | Shell |
@@ -7,7 +7,7 @@ function error_exit
}
if [[ $# -eq 0 ]] ; then
- error_exit "use ``yarn release [major|minor|patch|x.x.x]``"
+ error_exit "use ``npm run release [major|minor|patch|x.x.x]``"
fi
currentVersion=$(json -f package.json version)
| chore(release): usage is with npm | null | algolia/autocomplete | MIT License | Shell |
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import org.objectweb.asm.tree.ClassNode;
+import org.objectweb.asm.tree.FieldInsnNode;
import org.objectweb.asm.tree.InsnList;
import org.objectweb.asm.tree.InsnNode;
import org.objectweb.asm.tree.LdcInsnNode;
@Override
public void transform(@NonNull Stri... | chore(wrapper): cleanup the epoll disabling transformer | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -30,7 +30,7 @@ JSTemplateElement::TemplateElementInstance::TemplateElementInstance(JSTemplateEl
std::string tagName = "template";
NativeString args_01{};
buildUICommandArgs(tagName, args_01);
- KRAKEN_LOG(VERBOSE) << "create template element.";
+
foundation::UICommandBuffer::instance(context->getContextId())
->addCo... | chore: delete comments | null | openkraken/kraken | Apache License 2.0 | C++ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.