diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
/*
- * Copyright 2020 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2020-2021 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,6 +17,7 @@ package com.b2international.snowowl.snomed.co... | feat(config): add fields to RF2 export configuration | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -50,7 +50,7 @@ export * from './plugins/fields'
*/
// Inline Editing Components
-export { TinaField, TinaForm } from '@tinacms/form-builder'
+export * from '@tinacms/form-builder'
// Field/Input Component
export { Wysiwyg, Toggle, Select, Input } from '@tinacms/fields'
@@ -58,6 +58,8 @@ export { FieldMeta } from './... | feat(Modals): export all modal components | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -146,7 +146,10 @@ func (system *SparseR1CS) DivUnchecked(i1, i2 frontend.Variable) frontend.Variab
// Div returns i1 / i2
func (system *SparseR1CS) Div(i1, i2 frontend.Variable) frontend.Variable {
- // TODO check that later
+
+ // note that here we ensure that v2 can't be 0, but it costs us one extra constraint
+ s... | feat: handle non zero divisor in Div | null | consensys/gnark | Apache License 2.0 | Go |
* limitations under the License.
*/
-import { Registrar } from '@kui-shell/core'
+import { Arguments, Capabilities, Registrar } from '@kui-shell/core'
-/** For debugging the command line parser */
-export default (registrar: Registrar) => {
- registrar.listen('/kuiecho', ({ argvNoOptions }) => {
+function echo({ argvNo... | feat(plugins/plugin-core-support): initial `echo` support for proxy-less browser setups | null | ibm/kui | Apache License 2.0 | TypeScript |
@@ -375,13 +375,19 @@ class Collection
*
* @access public
*/
- public function slice(int $offset = 0, ?int $limit = null) : array
+ public function slice(int $offset = 0, ?int $length = null) : array
{
- $results = $this->matchCollection()->slice($offset, $limit);
+ // Match collection
+ $collection = $this->collection... | feat(element-queries): update slice() method | null | flextype/flextype | MIT License | PHP |
import defu from 'defu'
import LocalScheme from './local'
-import { getProp } from '../utilities'
-import jwtDecode from 'jwt-decode'
+import { getProp, addTokenPrefix } from '../utilities'
+import { TokenExpirationStatus, RefreshController } from '../refresh'
export default class RefreshScheme extends LocalScheme {
co... | feat(refresh scheme): use Refresh Controller and Token Status Expiration | null | nuxt-community/auth-module | MIT License | JavaScript |
@@ -26,12 +26,20 @@ extension UIDevice: Device {
return (name: systemName, version: systemVersion)
}
}
+#else
+private class EmptyDevice: Device {
+ let model = ""
+ let appVersion: String? = nil
+ let platform: Platform = (name: "", version: "")
+}
#endif
class DeviceProvider {
static var current: Device {
#if canImpo... | feat(Analytics): Adding empty device implementation | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -91,6 +91,19 @@ impl MockBufferSharedState {
})
.collect()
}
+
+ /// Provides a way to wipe messages (e.g. to simulate retention periods in Kafka)
+ ///
+ /// # Panics
+ /// - when sequencer does not exist
+ pub fn clear_messages(&self, sequencer_id: u32) {
+ let mut entries = self.entries.lock();
+ let entry_vec = ... | feat: add ability to clear messages from mocked write buffers | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
+package io.clappr.player.clocks
+
+import android.os.SystemClock
+
+typealias MonotonicClock = () -> Long
+
+val ClapprSystemClock: MonotonicClock = { SystemClock.uptimeMillis() }
\ No newline at end of file
| feat(monotonic_clock): create monotonic clock | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -42,23 +42,27 @@ func NewRandomLoadBalance() loadbalance.LoadBalance {
}
func (lb *randomLoadBalance) Select(invokers []protocol.Invoker, invocation protocol.Invocation) protocol.Invoker {
+
+ // Number of invokers
var length int
if length = len(invokers); length == 1 {
return invokers[0]
}
+
+ // Every invoker has ... | feat: RandomLoadBalance code optimization, update that how to judge the same weight | null | apache/dubbo-go | Apache License 2.0 | Go |
@@ -71,7 +71,11 @@ class BenchMeta {
// For the time being, our target benchmarks are part of the main repo
// And we will want to know what version of the repo we're testing with
+ // This won't work as intended when running a site not in our repo (!)
const gitHash = execToStr(`git rev-parse HEAD`)
+ // Git only suppo... | feat(gatsby-plugin-benchmark-reporting): Submit commit time of current git hash, too | null | gatsbyjs/gatsby | MIT License | JavaScript |
@@ -190,7 +190,7 @@ proto.writeFile = function writeFile(file, data) {
var cache = self._cache;
var fileData = cache.files[file];
var hasChanged = true;
- data == null ? '' : data;
+ data = data == null ? '' : data;
if (!fileData) {
fileData = cache.files[file] = {
index: ++cache.maxIndex,
| feat: Record the config change info | null | avwo/whistle | MIT License | JavaScript |
@@ -22,6 +22,7 @@ import (
type CloneOptions struct {
GroupName string
IncludeSubgroups bool
+ PreserveNamespace bool
WithMREnabled bool
WithIssuesEnabled bool
WithShared bool
@@ -88,7 +89,7 @@ Clone a GitLab repository/project
RunE: func(cmd *cobra.Command, args []string) error {
if nArgs := len(args); nArgs > 0 {
ctx... | feat(project.clone): add option to preserve namespaces by subdirectories | null | profclems/glab | MIT License | Go |
//! This module provides feature to upgrade deno executable
use deno_core::error::AnyError;
+use deno_core::futures::StreamExt;
use deno_runtime::deno_fetch::reqwest;
use deno_runtime::deno_fetch::reqwest::Client;
use semver_parser::version::parse as semver_parse;
use std::fs;
+use std::io::Write;
use std::path::Path;
... | feat(cli/upgrade): add download progress | null | denoland/deno | MIT License | Rust |
@@ -27,6 +27,7 @@ import com.jcabi.log.Logger;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
+import java.nio.file.Paths;
import org.cactoos.Scalar;
import org.cactoos.scalar.IoChecked;
import org.cactoos.text.IoCheckedText;
@@ -76,7 +77,7 @@ public final class FtCached implements F... | feat(#1633): remove relativize | null | cqfn/eo | MIT License | Java |
+#!/bin/bash
+
+WIDTH=432
+HEIGHT=488
+
+SCRIPT_DIR=$(dirname $0)
+MAPS_DIR=${SCRIPT_DIR}/../public/maps
+OUTPUT_DIR=${SCRIPT_DIR}/../public/projected_maps
+
+mkdir -p "${OUTPUT_DIR}"
+
+for file in ${MAPS_DIR}/*.json; do
+ fn=$(basename ${file})
+ topo2geo districts=- -i "$file" | geoproject "d3.geoMercator().fitSize(... | feat: Add script for pre-projecting maps | null | covid19india/covid19india-react | MIT License | Shell |
-use std::io::stdin;
+use std::io::{stdin, stdout, Write};
use hlt::parse::Decodable;
use hlt::entity::GameState;
use hlt::command::Command;
@@ -59,7 +59,8 @@ impl Game {
pub fn send_command_queue(&self, commands: Vec<Command>) {
for command in commands {
- print!("{}", command.encode())
+ let encoded = command.encode(... | feat: Remove useless formatting | null | halitechallenge/halite-ii | MIT License | Rust |
@@ -406,6 +406,9 @@ module.exports = function(req, res, next) {
resCors = 'enable';
} else if (resCors == '*' || resCors == 'enable') {
cors = null;
+ } else if (cors && !resCors) {
+ cors = null;
+ resCors = '*';
} else {
resCors = null;
}
| feat: resCors:// <=> resCors://* | null | avwo/whistle | MIT License | JavaScript |
@@ -873,7 +873,9 @@ exports.extend = function (newConf) {
});
if (config.headless) {
+ if (!config.pluginsMode) {
config.noGlobalPlugins = true;
+ }
config.pluginsOnlyMode = true;
config.disableWebUI = true;
delete config.rulesOnlyMode;
| feat: allow global plugins in headless mode | null | avwo/whistle | MIT License | JavaScript |
@if ($hasErrors($errors))
- <div {{ $attributes->merge(['class' => 'rounded-lg bg-negative-50 p-4']) }}>
- <div class="flex items-center pb-3 border-b-2 border-negative-200">
- <x-icon class="w-5 h-5 text-negative-400 flex-shrink-0 mr-3" name="exclamation-circle" />
+ <div {{ $attributes->merge(['class' => 'rounded-lg ... | feat: add errors dark mode | null | wireui/wireui | MIT License | PHP |
@@ -18,6 +18,7 @@ export type Formatter<TValue extends ValueType, TName extends NameType> = (
name: TName,
item: Payload<TValue, TName>,
index: number,
+ payload: Array<Payload<TValue, TName>>
) => [ReactNode, ReactNode] | ReactNode;
export interface Payload<TValue extends ValueType, TName extends NameType> {
@@ -38,7 ... | feat: add payload to formatter and labelFormatter in Tooltip, fix | null | recharts/recharts | MIT License | TypeScript |
@@ -18,17 +18,27 @@ const main = async (): Promise<void> => {
const documentHandler = new DocumentHandler(config.options)
router.post('/document', async (ctx) => {
+ try {
+ // create new document with contents of request body content in repository documents
const document = await documentHandler.newDocument(ctx.reques... | feat: wrap endpoints in try/catch | null | orca-group/spirit | Apache License 2.0 | TypeScript |
@@ -23,7 +23,8 @@ import com.ibm.watson.developer_cloud.service.model.GenericModel;
public class Environment extends GenericModel {
/**
- * Status of the environment.
+ * Current status of the environment. `resizing` is displayed when a request to increase the environment size has been
+ * made, but is still in the pro... | feat(Discovery): Add new Status and Size enums and requestedSize and searchStatus properties | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -10,7 +10,7 @@ declare(strict_types=1);
namespace Flextype\Console\Commands\Entries;
use Symfony\Component\Console\Command\Command;
-use Symfony\Component\Console\Input\InputOption;
+use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\O... | feat(console): use args for EntriesMoveCommand | null | flextype/flextype | MIT License | PHP |
@@ -217,15 +217,15 @@ const webCryptoDigestAlgorithms = [
"SHA-1",
] as const;
-type FNVAlgorithms = "FNV32" | "FNV32A" | "FNV64" | "FNV64A";
-type DigestAlgorithmName = WasmDigestAlgorithm | FNVAlgorithms;
+export type FNVAlgorithms = "FNV32" | "FNV32A" | "FNV64" | "FNV64A";
+export type DigestAlgorithmName = WasmDige... | feat(crypto): export algorithm types | null | denoland/deno_std | MIT License | TypeScript |
import os
+import re
+from collections import OrderedDict
from typing import Any, Dict, List
from commitizen import defaults
@@ -29,6 +31,10 @@ def parse_subject(text):
class ConventionalCommitsCz(BaseCommitizen):
bump_pattern = defaults.bump_pattern
bump_map = defaults.bump_map
+ changelog_pattern = r"^(BREAKING CHANG... | feat(cz/conventinal_commits): add changelog_map, changelog_pattern and implement process_commit | null | commitizen-tools/commitizen | MIT License | Python |
+import 'package:flutter/cupertino.dart';
+import 'package:flutter/widgets.dart';
+
+class CupertinoIconWrapper extends StatelessWidget {
+ const CupertinoIconWrapper({Key? key, required Icon this.icon}) : super(key: key);
+
+ final Widget icon;
+
+ @override
+ Widget build(BuildContext context) {
+ return Padding(
+ p... | feat: adds icon wrapper for cupertino icons | null | bluebubblesapp/bluebubbles-app | Apache License 2.0 | Dart |
@@ -2,6 +2,7 @@ package boot
import (
"fmt"
+ "github.com/jenkins-x/jx/pkg/boot"
"github.com/jenkins-x/jx/pkg/cmd/helper"
"github.com/jenkins-x/jx/pkg/cmd/opts"
"github.com/jenkins-x/jx/pkg/cmd/templates"
@@ -87,7 +88,11 @@ func (o *BootUpgradeOptions) Run() error {
return errors.Wrap(err, "failed to update version str... | feat: push upgrade changes and create PR | null | jenkins-x/jx | Apache License 2.0 | Go |
-import { Fn, IDeref, SEMAPHORE } from "@thi.ng/api";
+import { Fn, IDeref, NULL_LOGGER, SEMAPHORE } from "@thi.ng/api";
import { peek } from "@thi.ng/arrays";
import { implementsFunction, isFunction, isPlainObject } from "@thi.ng/checks";
import { illegalArity, illegalState } from "@thi.ng/errors";
@@ -328,7 +328,13 @... | feat(rstream): log error to console | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -318,6 +318,12 @@ void replica::execute_mutation(mutation_ptr &mu)
dassert(_private_log != nullptr, "");
}
break;
+ case partition_status::PS_PARTITION_SPLIT:
+ if (_split_states.is_caught_up) {
+ dcheck_eq(_app->last_committed_decree() + 1, d);
+ err = _app->apply_mutation(mu);
+ }
+ break;
case partition_status::P... | feat(split): add child partition execute mutation | null | apache/incubator-pegasus | Apache License 2.0 | C++ |
@@ -446,39 +446,39 @@ void do_decryption(SHORT_STDPARAMS)
void do_ipsec_encapsulation(SHORT_STDPARAMS) {
debug_mbuf(pd->wrapper,"START wrapper:");
- const int headers_length = 34;
- const int pad_length_length = 1;
- const int next_header_length = 1;
- const int esp_length = 8;
- const int iv_length = 8;
+ const int he... | feat: rename length to size | null | p4elte/t4p4s | Apache License 2.0 | C |
@@ -207,7 +207,10 @@ impl super::super::Thread for Thread {
EEXIT => ERESUME,
- _ => panic!("Unexpected AEX: {:?}", run.vector),
+ _ => panic!(
+ "Unexpected {:?}: address = {:>#016x}, error code = {:>#016b}",
+ run.vector, run.exception_addr, run.exception_error_code
+ ),
};
// Keep track of the CSSA
| feat(sgx): display full exception information | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -1458,6 +1458,13 @@ impl From<&[Option<&str>]> for Column {
}
}
+impl From<&[Option<String>]> for Column {
+ fn from(arr: &[Option<String>]) -> Self {
+ let other = arr.iter().map(|x| x.as_deref()).collect::<Vec<_>>();
+ Self::from(other.as_slice())
+ }
+}
+
impl From<&[&str]> for Column {
fn from(arr: &[&str]) -> S... | feat: add from String implementation | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -211,12 +211,18 @@ void diffuse_reduce(
// view factor and shade derate calculations assume isotropic sky
double Gbh = Gb_nor * cosd(solzen); // beam irradiance on horizontal surface
- double poa_sky_iso = Gdh * (1 + cosd(stilt)) / 2;
+ // double poa_sky_iso = Gdh * (1 + cosd(stilt)) / 2;
// sky diffuse reduction
-
... | feat(lib_pvshade): Modify diffuse self-shading algorithm to match the one described in PlantPredict's technical documentation | null | nrel/ssc | BSD 3-Clause New or Revised License | C++ |
@@ -160,11 +160,10 @@ export const NotificationCenterPopUps = translateWithTracker<IProps, IState, ITr
const containerScrollTop = container.scrollTop
const offsetTop = items[0].offsetTop || 0
- Velocity(container, {
- scrollTop: containerScrollTop + offsetTop - 10
- }, {
- queue: false,
- duration: 1000
+ container.scr... | feat: replace velocity animation with native scroll animation for better performance | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
//! See [the man pages](https://pubs.opengroup.org/onlinepubs/9699919799/functions/fstatvfs.html)
//! for more details.
use std::mem;
-use std::os::unix::io::AsRawFd;
+use std::os::unix::io::{AsFd, AsRawFd};
use libc::{self, c_ulong};
@@ -146,11 +146,11 @@ pub fn statvfs<P: ?Sized + NixPath>(path: &P) -> Result<Statvfs... | feat: I/O safety for 'sys/statvfs' | null | nix-rust/nix | MIT License | Rust |
@@ -23,10 +23,10 @@ class CsrfMiddleware
*/
public function __invoke(Request $request, Response $response, callable $next) : Response
{
- $post_data = $request->getParsedBody();
+ $data = $request->getParsedBody();
- if (isset($post_data[flextype('csrf')->getTokenName()])) {
- if (flextype('csrf')->isValid($post_data[f... | feat(middlewares): update csrf middleware | null | flextype/flextype | MIT License | PHP |
@@ -26,6 +26,7 @@ package org.eolang.maven;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
+import org.cactoos.text.TextOf;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.Test;
@@ -58,7 +59,7 @@ final class CopyMojoTest {
M... | feat(#1246): use load method in CopyMojoTest | null | cqfn/eo | MIT License | Java |
@@ -2748,6 +2748,19 @@ FORCE_INLINE __m128i _mm_mullo_epi32(__m128i a, __m128i b)
vmulq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b)));
}
+// Multiply the packed unsigned 16-bit integers in a and b, producing
+// intermediate 32-bit integers, and store the high 16 bits of the intermediate
+// integers in ... | feat: Implement _m_pmulhuw as macro and rewrite _mm_mulhi_pu16 | null | dltcollab/sse2neon | MIT License | C |
@@ -17,11 +17,15 @@ import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;
import net.minecraft.nbt.StringTag;
import net.minecraft.network.chat.Component;
+import net.minecraft.network.chat.HoverEvent;
import net.minecraft.network.chat.MutableComponent;
import net.minecraft.network.chat.Style;
+import... | feat: add on hover event in material list | null | creators-of-create/create | MIT License | Java |
@@ -34,6 +34,7 @@ import org.cactoos.text.TextOf;
import org.cactoos.text.UncheckedText;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
+import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
import org.junit.jupiter.params.ParameterizedTes... | feat(#1246): use Assertions.assertThrows | null | cqfn/eo | MIT License | Java |
+<?php
+
+/**
+ * YAWIK
+ *
+ * @see https://github.com/cross-solution/YAWIK for the canonical source repository
+ * @copyright https://github.com/cross-solution/YAWIK/blob/master/COPYRIGHT
+ * @license https://github.com/cross-solution/YAWIK/blob/master/LICENSE
+ */
+
+declare(strict_types=1);
+
+namespace Core\Queue\... | feat: add queue strategy to handle sending of mail | null | cross-solution/yawik | MIT License | PHP |
+const completionSpec: Fig.Spec = {
+ name: "cdk8s",
+ description: "CDK for K8s",
+ subcommands: [
+ {
+ name: "init",
+ description: "Create a new, empty CDK8S project",
+ args: {
+ name: "type",
+ description: "Select language you are using",
+ suggestions: [
+ {
+ name: "go-app",
+ },
+ {
+ name: "java-app",
+ },
+... | feat: add cdk8s completion spec | null | withfig/autocomplete | MIT License | TypeScript |
@@ -1156,7 +1156,7 @@ impl Default for Permissions {
env: Permissions::new_env(&None, false),
run: Permissions::new_run(&None, false),
ffi: Permissions::new_ffi(&None, false),
- hrtime: Permissions::new_hrtime(false, false),
+ hrtime: Permissions::new_hrtime(false),
}
}
}
@@ -1263,12 +1263,12 @@ impl Permissions {
}
}
... | feat: never prompt for hrtime permission | null | denoland/deno | MIT License | Rust |
@@ -161,6 +161,9 @@ namespace Cicada {
virtual void setUrlToUniqueIdCallback(UrlHashCB onUrlHash, void *userData)
{}
+ virtual void clearCache()
+ {}
+
protected:
std::atomic_bool mInterrupt{false};
SourceConfig mConfig{};
| feat(dataSource): add clear cache | null | alibaba/cicadaplayer | MIT License | C |
@@ -6,6 +6,7 @@ exports.getServerInfo = function getServerInfo(req) {
var info = {
version: config.version,
baseDir: config.baseDir,
+ username: config.username,
nodeVersion: process.version,
latestVersion: properties.get('latestVersion'),
host: util.hostname(),
| feat: Add username | null | avwo/whistle | MIT License | JavaScript |
@@ -3,10 +3,9 @@ package com.cicada.player.demo.view.ass;
import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
-import android.view.View;
import android.widget.RelativeLayout;
+import android.widget.TextView;
-import com.cicada.player.demo.R;
import com.cicada.player.utils... | feat(Android): RGBA color convertTo ARGB | null | alibaba/cicadaplayer | MIT License | Java |
@@ -422,13 +422,10 @@ pub unsafe extern "sysv64" fn _start() -> ! {
"or rax, r12",
"mov cr3, rax",
- // advance rip to kernel address space with {SHIM_VIRT_OFFSET}
- // clear overflow flag OF for adox
- "xor eax, eax",
// load trampoline address and correct with {SHIM_VIRT_OFFSET}
"lea rax, [rip + 50f]",
"mov rsi, {SHI... | feat(shim-sev): replace `adox` with `add` | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -49,6 +49,11 @@ using HostFunctionType =
using JSExceptionHandler = std::function<void(const jsa::JSError &error)>;
+/// A function which has this type can be registered as a class callable from
+/// Javascript using Function::createFromClassFunction().
+using HostClassType = std::function<Object(
+ JSContext &conte... | feat: add hostClassType | null | openkraken/kraken | Apache License 2.0 | C |
@@ -205,6 +205,7 @@ module.exports = {
},
waitAndGetInputValue: async (selector, page = metamaskWindow) => {
const element = await module.exports.waitFor(selector, page);
+ await expect(element).toHaveValue(/[a-zA-Z1-9]/);
const value = await element.inputValue();
return value;
},
| feat: waitAndGetInputValue toHaveValue | null | synthetixio/synpress | MIT License | JavaScript |
@@ -98,7 +98,25 @@ func (a *API) routeGRPC() {
}
func (a *API) routeGRPCWeb(router *mux.Router) {
- router.NewRoute().HeadersRegexp("Content-Type", "application/grpc-web.*").Handler(grpcweb.WrapServer(a.grpcServer))
+ router.NewRoute().HeadersRegexp("Content-Type", "application/grpc-web.*").Handler(
+ grpcweb.WrapServe... | feat: handle CORS for grpc-web | null | caos/zitadel | Apache License 2.0 | Go |
@@ -326,8 +326,15 @@ final class SnomedEclEvaluationRequest extends EclEvaluationRequest<BranchContex
}
protected Promise<Expression> eval(BranchContext context, final IdFilter idFilter) {
- final Collection<String> ids = idFilter.getIds();
- return Promise.immediate(SnomedDescriptionIndexEntry.Expressions.ids(ids));
+... | feat(snomed.ecl): Support NOT_EQUALS operator for description ID filter | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -60,6 +60,8 @@ open class MediaControl(core: Core, pluginName: String = name) : UICorePlugin(co
LayoutInflater.from(applicationContext).inflate(R.layout.media_control, null) as FrameLayout
}
+ open val blockListKey = mutableListOf(Key.UNDEFINED)
+
private val backgroundView: View by lazy { view.findViewById(R.id.bac... | feat(media_control): add blocked key list | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -20,7 +20,7 @@ var etcdTransport client.CancelableTransport = &http.Transport{
Proxy: http.ProxyFromEnvironment,
Dial: (&net.Dialer{
Timeout: 30 * time.Second,
- KeepAlive: 30 * time.Second,
+ KeepAlive: 15 * time.Second,
}).Dial,
TLSHandshakeTimeout: 10 * time.Second,
WriteBufferSize: 1024,
| feat: reduce etcd keep alive timeout | null | youzan/nsq | MIT License | Go |
@@ -6,6 +6,7 @@ from weaverbird.pipeline.conditions import (
Condition,
ConditionComboAnd,
ConditionComboOr,
+ DateBoundCondition,
InclusionCondition,
MatchCondition,
NullCondition,
@@ -41,6 +42,16 @@ def apply_condition(condition: Condition, df: DataFrame) -> Series:
return ~f
else:
return f
+
+ elif isinstance(condit... | feat(pandas): basic support for from/until operators | null | toucantoco/weaverbird | BSD 3-Clause New or Revised License | Python |
@@ -307,6 +307,12 @@ public class StreetRouter {
LOG.info("No street was found near the specified origin point of {}, {}.", lat, lon);
return false;
}
+
+ if (delay <0 ) {
+ // Modifications like PickupDelay return negative values when service is not provided for a given origin.
+ return false;
+ }
+
originSplit = spli... | feat(tnc): handle negative waiting times, which signal service not provided | null | conveyal/r5 | MIT License | Java |
+/*
+ * Copyright 2018 IBM Corp. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applica... | feat(Discovery): Add SearchStatus model | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -56,18 +56,20 @@ public class MemberLoggerService
var userResult = await _mediator.Send(new GetOrCreateUser.Request(guildID, user.ID, null, member.JoinedAt));
+ var sb = new StringBuilder();
+
+ if (!userResult.IsDefined(out var userData))
+ return Result.FromError(userResult.Error!);
+
var userFields = new List<Emb... | feat: Add join timestamp | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -34,9 +34,9 @@ class WebViewContainer extends StatefulWidget {
}
class _CardContainerState extends State<WebViewContainer> {
- //UserDataProvider _userDataProvider;
WebViewController _webViewController;
double _contentHeight = cardContentMinHeight;
+ String webCardUrl;
bool active;
Function hide;
@@ -46,6 +46,7 @@ c... | feat: add refreshTokenChannel | null | ucsd/campus-mobile | MIT License | Dart |
@@ -6,6 +6,7 @@ import yaml = require('js-yaml')
import {SHRINKWRAP_FILENAME, PRIVATE_SHRINKWRAP_FILENAME} from './constants'
import {Shrinkwrap} from './types'
import mkdirp = require('mkdirp-promise')
+import logger from './logger'
const writeFileAtomic = thenify(writeFileAtomicCB)
@@ -43,6 +44,10 @@ export default f... | feat: print warning when public/private shrinkwraps differ | null | pnpm/pnpm | MIT License | TypeScript |
@@ -135,17 +135,16 @@ impl FromStr for StageFileFormatType {
fn from_str(s: &str) -> std::result::Result<Self, String> {
match s.to_uppercase().as_str() {
"CSV" => Ok(StageFileFormatType::Csv),
- "TSV" => Ok(StageFileFormatType::Tsv),
+ "TSV" | "TABSEPARATED" => Ok(StageFileFormatType::Tsv),
"JSON" => Ok(StageFileForma... | feat(format): accept TapSeparated as alias for TSV | null | datafuselabs/databend | Apache License 2.0 | Rust |
//! This module contains the IOx implementation for using Azure Blob storage as
//! the object store.
-use crate::{path::cloud::CloudPath, ListResult, ObjectStoreApi};
+use crate::{
+ path::{cloud::CloudPath, DELIMITER},
+ ListResult, ObjectMeta, ObjectStoreApi,
+};
use async_trait::async_trait;
-use azure_core::HttpCl... | feat: Implement list_with_delimiter for Azure storage | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -1032,13 +1032,13 @@ struct NativeMouseEvent {
NativeEvent *nativeEvent;
- int64_t clientX;
+ double_t clientX;
- int64_t clientY;
+ double_t clientY;
- int64_t offsetX;
+ double_t offsetX;
- int64_t offsetY;
+ double_t offsetY;
};
class JSMouseEvent : public JSEvent {
| feat: modify type of member | null | openkraken/kraken | Apache License 2.0 | C |
@@ -49,6 +49,7 @@ use crate::sessions::QueryAffect;
use crate::sessions::SessionType;
const HEADER_QUERY_ID: &str = "X-DATABEND-QUERY-ID";
const HEADER_QUERY_STATE: &str = "X-DATABEND-QUERY-STATE";
+const HEADER_QUERY_PAGE_ROWS: &str = "X-DATABEND-QUERY-PAGE-ROWS";
pub fn make_page_uri(query_id: &str, page_no: usize) -... | feat(http handler): return num of rows of current page in header | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -388,7 +388,7 @@ extern crate serde_json;
pub use self::block::{BlockContext, BlockParams};
pub use self::context::Context;
pub use self::decorators::DecoratorDef;
-pub use self::error::{RenderError, TemplateError};
+pub use self::error::{MissingVariableError, RenderError, TemplateError};
pub use self::helpers::{Hel... | feat: export MissingVariableError | null | sunng87/handlebars-rust | MIT License | Rust |
@@ -79,7 +79,7 @@ describe('Terra Mirror Finance DAPP injection-[mainnet,smoke]', async () => {
await connectRequestWindow.click('#connect_request_button').catch(e => e)
try {
- await dappPage.waitForSelector('div[class*="Connected_button"]', { visible: true, timeout: 60000 })
+ await dappPage.waitForSelector('button[c... | feat: terra money finance dapp injection fix | null | liquality/wallet | MIT License | JavaScript |
@@ -22,6 +22,7 @@ public class TrainAcousticModelOptions extends GenericModel {
private String customizationId;
private String customLanguageModelId;
+ private Boolean strict;
/**
* Builder.
@@ -29,10 +30,12 @@ public class TrainAcousticModelOptions extends GenericModel {
public static class Builder {
private String cu... | feat(Speech to Text): Add strict param to TrainAcousticModelOptions | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -22,6 +22,8 @@ package executor
import (
"context"
"fmt"
+ "sort"
+ "strings"
"time"
"github.com/XiaoMi/pegasus-go-client/idl/admin"
@@ -66,6 +68,7 @@ func ListNodes(client *Client, table string) error {
for _, n := range nodes {
nodeList = append(nodeList, *n)
}
+ nodesSortByAddress(nodeList)
tabular.New(client, no... | feat: refine list_nodes, sequence sorted by node addr, and displays total nodes count | null | apache/incubator-pegasus | Apache License 2.0 | Go |
@@ -272,7 +272,15 @@ export const todoDefaultMenuItems: TodoMenuItems = {
},
};
-const TodoMenuSidebarItem = ({ iconPath, text, onClick, selected, getCountQuery, getCountFromRes }: any) => {
+const TodoMenuSidebarItem = ({
+ iconPath,
+ text,
+ onClick,
+ selected,
+ getCountQuery,
+ getCountFromRes,
+ hideIfEmpty,
+}:... | feat(todo): hide tags w 0 todos | null | unigraph-dev/unigraph-dev | MIT License | TypeScript |
@@ -47,6 +47,8 @@ import javax.servlet.http.HttpServletResponse;
import org.hisp.dhis.common.CodeGenerator;
import org.hisp.dhis.common.DhisApiVersion;
+import org.hisp.dhis.fieldfiltering.FieldFilterParams;
+import org.hisp.dhis.fieldfiltering.FieldFilterService;
import org.hisp.dhis.i18n.I18n;
import org.hisp.dhis.i1... | feat: support field filtering in /api/system/info | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
* "namespace"?:[<string>+],
* (<struct> | <enum>)
*
- * <struct> := "struct" : <string>, "fields": [ <field>+ ]
+ * <struct> := "struct" : <string>, "typedef" : <string>, "fields": [ <field>+ ]
*
*
* <field> := { "name"?:<string>,
* <field-loc> := "loc" : ("json" | "query" | "body" | "url)
*
*
- * <enum> := "enum" :<st... | feat: support typedef | null | cee-studio/orca | MIT License | C |
@@ -20,10 +20,89 @@ const testMenuLinks = [
icon: 'SpeedometerIcon',
},
},
+ {
+ name: 'mcng-categories',
+ menu: {
+ name: 'categories',
+ link: 'categories',
+ label: 'Menu.Categories.title',
+ icon: 'CategoryTreeIcon',
+ permissions: [
+ {
+ mode: 'view',
+ resource: 'products',
+ },
+ {
+ mode: 'manage',
+ resource... | feat(app-shell/dev): add more menu items for testing | null | commercetools/merchant-center-application-kit | MIT License | JavaScript |
@@ -10,6 +10,7 @@ export interface IGridOptions {
rowGap?: number
colWrap?: boolean
strictAutoFit?: boolean
+ onDigest?: (grid: Grid<HTMLElement>) => void
}
const SpanRegExp = /span\s*(\d+)/
@@ -36,23 +37,33 @@ const calcFactor = <T>(value: T | T[], breakpointIndex: number): T => {
}
}
-const calcChildSpans = (nodes: E... | feat(grid): support onDigest | null | alibaba/formily | MIT License | TypeScript |
@@ -82,7 +82,6 @@ class ExtractSlateFrame(pype.api.Extractor):
# create write node
write_node = nuke.createNode("Write")
file = fhead + "slate.png"
- name = "slate"
path = os.path.join(staging_dir, file).replace("\\", "/")
instance.data["slateFrame"] = path
write_node["file"].setValue(path)
@@ -91,17 +90,6 @@ class Ext... | feat(nuke): slate no need to be representation | null | pypeclub/openpype | MIT License | Python |
@@ -2,6 +2,7 @@ package limiter
import (
"go.uber.org/atomic"
+ "sync"
"time"
)
@@ -20,12 +21,35 @@ const (
HillClimbingOptionExtendPlus HillClimbingOption = 2
)
+var (
+ initialLimitation uint64 = 50
+ maxLimitation uint64 = 500
+ radicalPeriod uint64 = 1000
+ stablePeriod uint64 = 32000
+)
+
// HillClimbing is a limi... | feat(cluster): update hill climbing limiter | null | apache/dubbo-go | Apache License 2.0 | Go |
@@ -826,7 +826,7 @@ static void gen_enum_to_string(FILE *fp, struct jc_enum *e)
fprintf(fp, " if (v == %s) return \"%s\";\n",
item_name, item->name);
}
- fprintf(fp, "\n abort();\n");
+ fprintf(fp, "\n return (void*)0;\n");
fprintf(fp, "}\n");
}
| feat: return NULL instead of abort for strings that are not in the enum name set | null | cee-studio/orca | MIT License | C |
@@ -17,5 +17,5 @@ emitter()->addListener('onMediaFetchSingleHasResult', static function (): void {
return;
}
- media()->registry()->set('fetch.data.id', (string) strings(media()->registry()->get('fetch.id'))->trimSlashes());
+ media()->registry()->set('fetch.data.id', strings(media()->registry()->get('fetch.id'))->trim... | feat(media): updates for IdField | null | flextype/flextype | MIT License | PHP |
@@ -3,7 +3,6 @@ from pkgutil import walk_packages
from types import ModuleType
from typing import Any
-# import time
from colorama import Fore, Style
from config.config import groups_file
@@ -195,9 +194,15 @@ def run_check(check, audit_info, output_options):
f"\nCheck ID: {check.checkID} - {Fore.MAGENTA}{check.serviceN... | feat(check): handle errors | null | toniblyx/prowler | Apache License 2.0 | Python |
import 'package:flutterfire_ui/src/i10n/lang/es.dart';
-import 'lang/en.dart';
import '../i10n/lang/ar.dart';
+import 'lang/en.dart';
import 'lang/fr.dart';
+import 'lang/pt.dart';
abstract class FlutterFireUILocalizationLabels {
const FlutterFireUILocalizationLabels();
@@ -101,6 +102,7 @@ const localizations = <String... | feat(ui): add Portuguese localization support | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -84,6 +84,12 @@ type SPODSpec struct {
// to retrieve the container ID for a process ID. This can be helpful for
// nested environments, for example when using "kind".
HostProcVolumePath string `json:"hostProcVolumePath,omitempty"`
+ // StaticWebhookConfig indicates whether the webhook configuration and its
+ // rel... | feat: add a flag to select when the webhook config is statically deployed | null | kubernetes-sigs/security-profiles-operator | Apache License 2.0 | Go |
@@ -85,6 +85,7 @@ async fn write(req: hyper::Request<Body>, app: Arc<App>) -> Result<Option<Body>,
let body = str::from_utf8(&body).unwrap();
let mut points = line_parser::parse(body).expect("TODO: Unable to parse lines");
+ debug!("Parsed {} points", points.len());
app.db
.write_points(write_info.org, bucket_id, &mut ... | feat: Add some debug logging when receiving a write request | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -395,7 +395,7 @@ exports.extend = function(newConf) {
if (typeof newConf.mode === 'string') {
var mode = newConf.mode.trim().split('|');
mode.forEach(function(m) {
- if (/^(pureProxy|debug|nohost|strict|multiEnv|multienv)$/.test(m)) {
+ if (/^(pureProxy|debug|nohost|strict|multiEnv|multienv|encrypted)$/.test(m)) {
c... | feat: add -M encrypted to set encrypted password | null | avwo/whistle | MIT License | JavaScript |
@@ -23,6 +23,8 @@ type RunWatchOptions struct {
SkipInitial bool `long:"skip-initial" description:"If true will not execute the command immediately."`
Silent bool `long:"silent" description:"If true will not print any warning about restarting the command."`
+ SkipAndSilent bool `long:"skip-and-silent" short:"s" descrip... | feat: add --exclude to run_watch | null | loft-sh/devspace | Apache License 2.0 | Go |
@@ -44,7 +44,9 @@ def sync_for(app_name, force=0, sync_everything = False, verbose=False, reset_pe
("data_migration", "data_migration_mapping"),
("data_migration", "data_migration_plan_mapping"),
("data_migration", "data_migration_plan"),
+ ("desk", "onboarding_permission"),
("desk", "onboarding_step"),
+ ("desk", "onb... | feat: sync onboarding permissions | null | frappe/frappe | MIT License | Python |
@@ -42,6 +42,11 @@ public NewRepository(string name)
/// </summary>
public bool? HasIssues { get; set; }
+ /// <summary>
+ /// Optional. Gets or sets whether to enable projects for the new repository. The default is true.
+ /// </summary>
+ public bool? HasProjects { get; set; }
+
/// <summary>
/// Optional. Gets or se... | feat: Adding squash title to NewRepository | null | octokit/octokit.net | MIT License | C# |
@@ -248,6 +248,35 @@ class ContractConstructor:
return bytecode + eth_abi.encode_abi(types_list, data).hex()
+class InterfaceContainer:
+ """
+ Container class that provides access to interfaces within a project.
+ """
+
+ def __init__(self, project: Any) -> None:
+ self._project = project
+
+ def _add(self, name: str,... | feat: add InterfaceContainer and InterfaceConstructor | null | eth-brownie/brownie | MIT License | Python |
@@ -73,25 +73,12 @@ impl ReorgPlanner {
let ScanPlan {
plan_builder,
provider,
- } = self.scan_plan(chunks)?;
-
- // figure out the sort expression
- let sort_exprs = output_sort
- .iter()
- .map(|(column_name, sort_options)| Expr::Sort {
- expr: Box::new(column_name.as_expr()),
- asc: !sort_options.descending,
- nulls... | feat: Sort the output of split_plans as well | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -32,13 +32,10 @@ import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collection;
-import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.concurrent.Callable;
-import java.util.concurrent.ExecutionException;
import java.util.concurrent.E... | feat(#1347): split optimization pipeline to several separate methods | null | cqfn/eo | MIT License | Java |
@@ -8,7 +8,8 @@ import {
bootstrapTagProvider,
buefyTagProvider,
vuetifyTagProvider,
- getQuasarTagProvider
+ getQuasarTagProvider,
+ getExternalTagProvider
} from './externalTagProviders';
export { getComponentTags } from './componentTags';
export { IHTMLTagProvider } from './common';
@@ -87,6 +88,21 @@ export functio... | feat: add component-description.json read support | null | vuejs/vetur | MIT License | TypeScript |
+<?php
+
+declare(strict_types=1);
+
+test('test encode() method', function () {
+ $this->assertEquals("---\ntitle: Foo\n---\nBar",
+ flextype('frontmatter')
+ ->encode(['title' => 'Foo',
+ 'content' => 'Bar']));
+});
| feat(tests): add tests for Serializer Frontmatter encode | null | flextype/flextype | MIT License | PHP |
@@ -9,3 +9,4 @@ export { default as Chevron } from './icons/Chevron';
export { default as Check } from './icons/Check';
export { default as Search } from './icons/Search';
export { default as Menu } from './icons/Menu';
+export { default as Pill } from './elements/Pill';
| feat: exposes Pill component for re-use | null | payloadcms/payload | MIT License | TypeScript |
@@ -499,15 +499,15 @@ class Element extends Node
void dispose() {
super.dispose();
+ if (isRendererAttached) {
+ detach();
+ }
+
// Call dispose method of renderBoxModel when GC auto dispose element
if (renderBoxModel != null) {
renderBoxModel.dispose();
}
- if (isRendererAttached) {
- detach();
- }
-
if (parentElement... | feat: opt dispose timing | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -1206,6 +1206,7 @@ impl ExpressionVisitor for SupportVisitor {
Expr::BinaryExpr { op, .. } => {
match op {
Operator::Eq
+ | Operator::NotEq
| Operator::Lt
| Operator::LtEq
| Operator::Gt
@@ -1217,7 +1218,7 @@ impl ExpressionVisitor for SupportVisitor {
| Operator::And
| Operator::Or => Ok(Recursion::Continue(self)),... | feat: enable not eq operator | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -18,7 +18,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
struct kscan_mock_data {
kscan_callback_t callback;
- u8_t event_index;
+ u32_t event_index;
struct k_delayed_work work;
struct device *dev;
};
| feat(kscan_mock): Increase max number of events | null | zmkfirmware/zmk | MIT License | C |
@@ -407,16 +407,16 @@ fn testnet_genesis(
system_collateral_ceiling: vec![(default_pair(CurrencyId::KSM), 1000 * CurrencyId::KSM.one())],
secure_collateral_threshold: vec![(
default_pair(CurrencyId::KSM),
- FixedU128::checked_from_rational(150, 100).unwrap(),
- )], /* 150% */
+ FixedU128::checked_from_rational(360, 100... | feat: Collateralization thresholds upgrade | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -82,23 +82,29 @@ class Builder extends BaseBuilder
protected $limitUsed = false;
/**
- * FROM tables
+ * Insert batch statement
*
- * Groups tables in FROM clauses if needed, so there is no confusion
- * about operator precedence.
+ * Generates a platform-specific insert string from the supplied data.
*
- * Note: Th... | feat: add insert batch method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -409,11 +409,13 @@ open class AVFoundationPlayback: Playback {
trigger(.ready)
if let subtitles = self.subtitles {
- trigger(.subtitleAvailable, userInfo: ["subtitles": subtitles])
+ let hasDefault = selectDefaultSubtitleIfNeeded()
+ trigger(.subtitleAvailable, userInfo: ["subtitles": subtitles, "hasDefaultFromOptio... | feat: trigger audio and subtitle availablity event with new parameter on tvos playback | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -2,12 +2,9 @@ package telegram
import (
"context"
-
- "golang.org/x/xerrors"
)
-// Close closes underlying connection and saves session to storage
-// if provided.
+// Close closes underlying connection.
func (c *Client) Close(ctx context.Context) error {
c.cancel()
@@ -19,9 +16,5 @@ func (c *Client) Close(ctx conte... | feat(telegram): unnecessary session saving | null | gotd/td | MIT License | Go |
@@ -55,13 +55,11 @@ namespace megdnn {
*/
template <typename AlgoBase>
class AlgoConstructMixin {
-private:
- std::vector<std::unique_ptr<AlgoBase>> m_refhold;
protected:
+ std::vector<std::unique_ptr<AlgoBase>> m_refhold;
typename AlgoBase::Mapper m_all_algos_map;
public:
-
//! construct the algo which described by de... | feat(dnn/opencl): add heuristic rule for batched matmul | null | megengine/megengine | Apache License 2.0 | C |
@@ -28,6 +28,16 @@ class Markdown
$this->markdown = $markdown;
}
+ /**
+ * Get Markdown instance
+ *
+ * @access public
+ */
+ public function getInstance()
+ {
+ return $this->markdown;
+ }
+
/**
* Takes a MARKDOWN encoded string and converts it into a PHP variable.
*
@@ -62,7 +72,7 @@ class Markdown
return $this->mar... | feat(markdown): Get ability to access markdown parser instance | null | flextype/flextype | MIT License | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.