diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -3,6 +3,7 @@ package unsubscribe
import (
"fmt"
+ "github.com/MakeNowJust/heredoc"
"github.com/profclems/glab/commands/cmdutils"
"github.com/profclems/glab/commands/mr/mrutils"
"github.com/profclems/glab/internal/utils"
@@ -17,6 +18,11 @@ func NewCmdUnsubscribe(f *cmdutils.Factory) *cobra.Command {
Short: `Unsubscri... | feat(commands/mr/unsubscribe): add EXAMPLES | null | profclems/glab | MIT License | Go |
@@ -40,18 +40,18 @@ class Forms
* @access private
*/
private $sizes = [
- '1/12' => 'w-1/12',
- '2/12' => 'w-2/12',
- '3/12' => 'w-3/12',
- '4/12' => 'w-4/12',
- '5/12' => 'w-5/12',
- '6/12' => 'w-6/12',
- '7/12' => 'w-7/12',
- '8/12' => 'w-8/12',
- '9/12' => 'w-9/12',
- '10/12' => 'w-10/12',
- '12/12' => 'w-full',
- '... | feat(core): update Forms API for new grid system | null | flextype/flextype | MIT License | PHP |
@@ -1147,8 +1147,9 @@ class RenderBoxModel extends RenderBox with
position -= getTotalScrollOffset();
}
- if (clipX || clipY) {
- return size.contains(position);
+ // Determine whether the hittest position is within the visible area of the node in scroll.
+ if ((clipX || clipY) && !size.contains(position)) {
+ return f... | feat: optimize hittest when the node is scroll | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -21,6 +21,7 @@ import cncf from "./images/cncf-white.svg";
import Gnhwrapper from "./gnh.style";
import { URL } from "../../Counters/index";
+import Counter from "../../../reusecore/Counter";
const Projects = () => {
const [performanceCount, setPerformanceCount] = useState(0);
@@ -52,19 +53,19 @@ const Projects = ()... | feat: Animated metrics on getnighthawk page | null | layer5io/layer5 | Apache License 2.0 | JavaScript |
@@ -28,7 +28,7 @@ pub use ockam_macros::{node, test};
// ---
// Export node implementation
-pub use ockam_node::{start_node, Context, Executor};
+pub use ockam_node::{start_node, Context, DelayedEvent, Executor};
// ---
mod delay;
| feat(rust): re-export `DelayedEvent` from ockam crate | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -12,14 +12,16 @@ const ContentWrapper = styled.div`
padding: 0 16px 16px 16px;
`;
+const ImageCard = ({ title, content, content: { data: image }, size, ...others }) => {
const supportedSizes = [CARD_SIZES.MEDIUM, CARD_SIZES.WIDE, CARD_SIZES.LARGE, CARD_SIZES.XLARGE];
+ const supportedSize = supportedSizes.includes(s... | feat(imagecard): add expand button | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -804,6 +804,14 @@ export type TokenBalance = {
*/
export type ParsedConfirmedTransactionMeta = ParsedTransactionMeta;
+/**
+ * Collection of addresses loaded by a transaction using address table lookups
+ */
+export type LoadedAddresses = {
+ writable: Array<PublicKey>;
+ readonly: Array<PublicKey>;
+};
+
/**
* Meta... | feat: handle `loadedAddresses` field in tx meta responses | null | solana-labs/solana-web3.js | MIT License | TypeScript |
@@ -3,6 +3,7 @@ import styled from 'styled-components'
import { shannonToCkb } from '../../../utils/util'
import { Transaction, InputOutput } from '../../../http/response/Transaction'
import ItemPoint from '../../../assets/grey_point.png'
+import { localeNumberString } from '../../../utils/number'
export const RewardPe... | feat: Localized number for TransactionReward component | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -153,6 +153,7 @@ public final class ParseMojo extends SafeMojo {
for (final Future<Object> completed : Executors.newFixedThreadPool(this.threads)
.invokeAll(tasks)) {
try {
+ waitComplete(completed);
completed.get();
} catch (final ExecutionException ex) {
throw new IllegalArgumentException(
@@ -182,6 +183,20 @@ pub... | feat(#1423): obvious thread interrupt | null | cqfn/eo | MIT License | Java |
@@ -3670,6 +3670,8 @@ export class $StringLiteral implements I$Node {
public readonly $kind = SyntaxKind.StringLiteral;
public readonly id: number;
+ public readonly Value: $String;
+
// http://www.ecma-international.org/ecma-262/#sec-string-literals-static-semantics-stringvalue
public readonly StringValue: $String;
//... | feat(aot): implement StringLiteral RS:Evaluation | null | aurelia/aurelia | MIT License | TypeScript |
@@ -129,12 +129,15 @@ func platformF(cmd *cobra.Command, args []string) {
authHandler.AuthorizationService = authSvc
authHandler.Logger = logger.With(zap.String("handler", "auth"))
+ assetHandler := http.NewAssetHandler()
+
platformHandler := &http.PlatformHandler{
BucketHandler: bucketHandler,
OrgHandler: orgHandler,
... | feat(cmd/idpd): use chronograf asset handler in idpd command | null | influxdata/influxdb | MIT License | Go |
@@ -71,6 +71,8 @@ parser.add_argument("-i", "--image", dest="image", default="none",
help="Specify diskless or clone image to be used, if using diskless/clone/clonedeploy boot.")
parser.add_argument("-e", "--extra-parameters", dest="extra_parameters", default="none",
help="Add extra parameters for boot chain, some addo... | feat: display kickstart file of node with bootset | null | bluebanquise/bluebanquise | MIT License | Python |
*/
package org.hisp.dhis.fileresource;
+import static java.lang.String.format;
+
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.file.Files;
import java.util.List;
-import java.util.Map;
import java.util.UUID;
+import lombok.AllArgsConstructor;
import lombok.extern.slf4... | feat: job progress tracking for image resize job | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -5,7 +5,7 @@ import { Events } from '#lib/types/Enums';
import { ApplyOptions } from '@sapphire/decorators';
@ApplyOptions<MusicCommand.Options>({
- aliases: ['replay'],
+ aliases: ['replay', 'loop', 'loopsong'],
description: LanguageKeys.Commands.Music.RepeatDescription,
extendedHelp: LanguageKeys.Commands.Music.Re... | feat(repeat): add loop as alias | null | skyra-project/skyra | Apache License 2.0 | TypeScript |
@@ -4,6 +4,7 @@ use btc_parachain_runtime::{
ReplaceConfig, Signature, SlaConfig, StakedRelayersConfig, SudoConfig, SystemConfig,
VaultRegistryConfig, DAYS, MINUTES, WASM_BINARY,
};
+use jsonrpc_core::serde_json::{self, json};
use sc_service::ChainType;
use sp_arithmetic::{FixedI128, FixedPointNumber, FixedU128};
use s... | feat: Define currencies in chainspec | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -304,7 +304,13 @@ class AdminServer(BaseAdminServer):
authorization_header = request.headers.get("Authorization")
path = request.path
- is_multitenancy_path = path.startswith("/multitenancy")
+ is_multitenancy_path = (
+ path.startswith("/multitenancy")
+ or path.startswith("/connections")
+ or path.startswith("/out... | feat: base wallet can access connections, oob, didexchange, mediation | null | hyperledger/aries-cloudagent-python | Apache License 2.0 | Python |
@@ -134,7 +134,7 @@ DropdownUser.propTypes = {
/**
* Hasnotifications to show a badge notification.
*/
- hasNotifications: PropTypes.bool,
+ hasNotifications: PropTypes.bool
}
DropdownUser.defaultProps = {
| feat(dropdown/user): remove comma | null | sui-components/sui-components | MIT License | JavaScript |
@@ -160,7 +160,11 @@ pub(super) fn build_webview<A: ApplicationExt + 'static>(
WindowUrl::Custom(url) => url.to_string(),
};
- let (webview_builder, callbacks, custom_protocol) = if webview.url == WindowUrl::App {
+ let is_local = match webview.url {
+ WindowUrl::App => true,
+ WindowUrl::Custom(url) => &url[0..8] == "... | feat(core): allow other windows to load local files | null | tauri-apps/tauri | Apache License 2.0 | Rust |
@@ -133,6 +133,10 @@ func (p *KoolPreset) Execute(args []string) (err error) {
}
if database != "" {
+ if database == "none" {
+ compose = removeComposeService(compose, "database")
+ compose = removeComposeVolume(compose, "db")
+ } else {
databaseKey := formatTemplateKey(database)
if compose, err = replaceComposeServic... | feat(preset): remove services if none is selected | null | kool-dev/kool | MIT License | Go |
@@ -173,9 +173,17 @@ public class ReminderCommands : CommandGroup
if (reminders.Count() > 5)
{
var chunkedReminders = reminders.Select
- (r => $"`{r.Id}` expiring {r.ExpiresAt.ToTimestamp()}:\n" +
- $"{r.MessageContent.Truncate(50, "[...]")}" +
- (r.IsReply ? $"\nReplying to [message](https://discordapp.com/channels/{r... | feat: clickable reminder listings | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -105,6 +105,7 @@ class UseOpenApiRule(rulesConfig: Config) {
val schema = ObjectTreeReader().read(schemaUrl)
JsonSchemaValidator(name.version, schema, schemaRedirects = mapOf(
referencedOnlineSchema to localResource,
+ "http://swagger.io/v2/schema.json" to Resources.getResource("schemas/openapi-2-schema.json").toStr... | feat(server): redirect swagger 2.0 schema to local copy to | null | zalando/zally | MIT License | Kotlin |
@@ -188,6 +188,10 @@ void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint16_t row, uint16_t col, con
table->row_h[row] = get_row_height(obj, row, font, letter_space, line_space,
cell_left, cell_right, cell_top, cell_bottom);
+ lv_coord_t minh = lv_obj_get_style_min_height(obj, LV_PART_ITEMS);
+ lv_coord_t maxh = lv_ob... | feat(style): handle min_width and max_width in lv_table LV_PART_ITEMS (cells) | null | lvgl/lvgl | MIT License | C |
@@ -16,6 +16,8 @@ use std::cmp::Ordering;
use std::fmt::Debug;
use croaring::Bitmap;
+
+use delorean_arrow::arrow;
use delorean_arrow::arrow::array::PrimitiveArrayOps;
use delorean_arrow::arrow::array::{Array, PrimitiveArray};
use delorean_arrow::arrow::datatypes::ArrowNumericType;
@@ -55,8 +57,8 @@ impl<T> FixedNull<T... | feat: add support for consuming arrow array | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -218,7 +218,7 @@ func (wfc *WorkflowController) Run(ctx context.Context, wfWorkers, workflowTTLWo
go leaderelection.RunOrDie(ctx, leaderelection.LeaderElectionConfig{
Lock: &resourcelock.LeaseLock{
LeaseMeta: metav1.ObjectMeta{Name: "workflow-controller", Namespace: wfc.namespace}, Client: wfc.kubeclientset.Coordina... | feat(controller): Adding Eventrecorder on LeaderElection | null | argoproj/argo-workflows | Apache License 2.0 | Go |
@@ -113,10 +113,11 @@ struct HashKey<'a> {
namespace: &'a str,
}
-/// A [`JumpHash`] sharder mapping a [`MutableBatch`] reference according to
-/// the namespace it is destined for.
-/// This currently doesn't use any information about the payload, just encodes that a MutableBatch
-/// will always be sharded to one `Ar... | feat: impl Sharder<()> for JumpHash | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -20,6 +20,7 @@ export interface FilterProps {
customKeyFilter?: FilterKeyFunctions
filterKeys?: FilterKeys
filterMode?: FilterMode
+ noFilter?: boolean
}
// Composables
@@ -37,6 +38,7 @@ export const makeFilterProps = propsFactory({
type: String as PropType<FilterMode>,
default: 'intersection',
},
+ noFilter: Boolea... | feat(filter.ts): add no-filter option | null | vuetifyjs/vuetify | MIT License | TypeScript |
@@ -58,9 +58,27 @@ class SequenceEmbedding(SequenceLabeling):
Defaults to CPU.
"""
- def __init__(self, model, feature_extraction, duration=1,
- min_duration=None, step=None, batch_size=32, source='audio',
- device=None):
+ @classmethod
+ def from_model_pt(cls, model_pt,
+ min_duration=None, step=None, source='audio',
... | feat: add SequenceEmbedding.from_model_pt method | null | pyannote/pyannote-audio | MIT License | Python |
@@ -19,11 +19,11 @@ private:
};
list<Item> item_list;
unordered_map<T, typename list<Item>::iterator> item_map;
- size_t max_size;
+ size_t max;
void reorder(const typename list<Item>::iterator it)
{
- if (it == item_list.begin() && size() > max_size)
+ if (it == item_list.begin() && size() > max)
{
item_map.erase(item... | feat(php5): (LRU class) add max_size method and contains method will reorder the list | null | baidu/openrasp | Apache License 2.0 | C |
@@ -11,8 +11,13 @@ from frappe.modules.export_file import export_to_files
class OnboardingSlide(Document):
def validate(self):
- if frappe.db.exists('Onboarding Slide', {'slide_type': 'Continue', 'name': ('!=', self.name)}):
- frappe.throw(_("An Onboarding Slide of Slide Type Continue already exists."))
+ if self.slide... | feat: added validation for slide with same order | null | frappe/frappe | MIT License | Python |
@@ -675,7 +675,12 @@ fn field_uinteger_value(i: &str) -> IResult<&str, u64> {
}
fn field_float_value(i: &str) -> IResult<&str, f64> {
- let value = alt((field_float_value_with_decimal, field_float_value_no_decimal));
+ let value = alt((
+ field_float_value_with_exponential_and_decimal,
+ field_float_value_with_exponent... | feat: add functions to suport scientific notations | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -52,7 +52,7 @@ _MODELS = {
# shasum -a 256 pipelines/dia_ami.zip
_PIPELINES = {
- 'dia_dihard': None,
+ 'dia_dihard': '9f347254e0cecaeed0c62b631858529d11a42636bcf9c616cc1261a70400184e',
'dia_ami': '81bb175bbcdbcfe7989e09dd9afbbd853649d075a6ed63477cd8c288a179e77b',
}
| feat: add dia_dihard pretrained diarization pipeline | null | pyannote/pyannote-audio | MIT License | Python |
@@ -162,12 +162,14 @@ open class Core: UIObject, UIGestureRecognizerDelegate {
fileprivate func addToContainer() {
#if os(iOS)
+ if shouldEnterInFullScreen {
renderCorePlugins()
renderMediaControlElements()
- if shouldEnterInFullScreen {
fullscreenHandler?.enterInFullscreen()
} else {
renderInContainerView()
+ renderCo... | feat: render mediaControl elements after core plugins | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -444,6 +444,16 @@ pub mod pallet {
withdrawn_amount: BalanceOf<T>,
total_collateral: BalanceOf<T>,
},
+ IncreaseLockedCollateral {
+ currency_pair: DefaultVaultCurrencyPair<T>,
+ delta: BalanceOf<T>,
+ new_collateral: BalanceOf<T>,
+ },
+ DecreaseLockedCollateral {
+ currency_pair: DefaultVaultCurrencyPair<T>,
+ del... | feat: added events tracking changes in total collateral per currency pair | null | interlay/interbtc | Apache License 2.0 | Rust |
+import { Action } from '@ngrx/store';
+
+export enum HeaderActionTypes {
+ ToggleShowSidebarAction = "[Foundation-Header] Toggle Show Sidebar Action"
+}
+
+export class ToggleShowSidebar implements Action {
+ readonly type = HeaderActionTypes.ToggleShowSidebarAction;
+
+ constructor() {}
+}
+
+export type HeaderAction... | feat(foundation-demo): add header actions | null | graycoreio/daffodil | MIT License | TypeScript |
@@ -154,7 +154,7 @@ fn_fastdl_preview(){
# Garry's Mod
if [ "${shortname}" == "gmod" ]; then
cd "${systemdir}" || exit
- allowed_extentions_array=( "*.ain" "*.bsp" "*.mdl" "*.mp3" "*.ogg" "*.otf" "*.pcf" "*.phy" "*.png" "*.vtf" "*.vmt" "*.vtx" "*.vvd" "*.ttf" "*.wav" )
+ allowed_extentions_array=( "*.ain" "*.bsp" "*.md... | feat(csgoserver): Add SVG support to FastDL | null | gameservermanagers/linuxgsm | MIT License | Shell |
@@ -107,6 +107,20 @@ namespace acl
}
}
+ AnimationClip(AnimationClip&& other)
+ : m_allocator(other.m_allocator)
+ , m_skeleton(other.m_skeleton)
+ , m_bones(other.m_bones)
+ , m_num_samples(other.m_num_samples)
+ , m_sample_rate(other.m_sample_rate)
+ , m_num_bones(other.m_num_bones)
+ , m_additive_base_clip(other.m_a... | feat: add move semantic support to AnimationClip | null | nfrechette/acl | MIT License | C |
@@ -153,6 +153,11 @@ impl InlineTable {
self.key_value_pairs.contains_key(key)
}
+ pub fn try_insert<V: Into<Value>>(&mut self, key: Key, value: V) -> &mut Value {
+ let kv = formatted::to_key_value(key.raw(), value.into());
+ &mut self.key_value_pairs.entry(key.into()).or_insert(kv).value
+ }
+
pub fn insert<V: Into<V... | feat(try_insert): add try_insert into inline_table | null | toml-rs/toml | Apache License 2.0 | Rust |
@@ -93,6 +93,28 @@ pegasus_server_impl::pegasus_server_impl(dsn::replication::replica *r)
_db_opts.pegasus_data = true;
// read rocksdb::Options configurations
+
+ _db_opts.use_direct_reads = dsn_config_get_value_bool(
+ "pegasus.server", "rocksdb_use_direct_reads", false, "rocksdb options.use_direct_reads");
+
+ _db_o... | feat(rocksdb): Select the option of Direct-IO in Rocksdb | null | apache/incubator-pegasus | Apache License 2.0 | C++ |
@@ -223,7 +223,8 @@ def get_user_msg(
]
# Get budget spent
- _msg["budget_spent"] = node.acc.user_budget(user_key=user.verify_key)
+ _msg["budget_spent"] = node.acc.user_budget(user_key=VerifyKey(user.verify_key.encode("utf-8"), encoder=HexEncoder))
+
return GetUserResponse(
address=msg.reply_to,
content=SyftDict(_msg)... | feat: verify_key | null | openmined/pysyft | Apache License 2.0 | Python |
@@ -12,9 +12,31 @@ export type DefaultValueGetter<TKey, TValue> = (key: TKey, metadata: MetadataMap
export class MetadataMap<TKey, TValue> {
private data: Map<TKey, TValue>;
+ private length: number;
constructor(private defaultValueGetter: DefaultValueGetter<TKey, TValue>) {
this.data = observable(new Map());
+ this.le... | feat(core): make MetadataMap iterable | null | dbeaver/cloudbeaver | Apache License 2.0 | TypeScript |
@@ -101,7 +101,7 @@ impl pallet_sudo::Config for TestRuntime {
}
parameter_types! {
- pub const HeadersToStore: u32 = 100800; // 10 * 60 * 24 * 7 => One week of headers
+ pub const HeadersToStore: u32 = 5;
pub const SessionLength: u64 = 5;
pub const NumValidators: u32 = 5;
}
| feat: adds ring buffer to relaychain | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -245,7 +245,7 @@ class Entries
}
// Get Cache ID for current requested entry
- $entryCacheID = $this->getCacheID($this->registry()->get('methods.fetch.params.id'));
+ $entryCacheID = $this->getCacheID($this->registry()->get('methods.fetch.params.id'), 'single');
// 1. Try to get current requested entry from the cach... | feat(entries): add ability to set salt for cache id | null | flextype/flextype | MIT License | PHP |
-var ServiceTableHeaderLabels = {
- cpus: "CPU",
- disk: "Disk",
- gpus: "GPU",
- mem: "Mem",
- name: "Name",
- status: "Status",
- version: "Version",
- instances: "Instances",
- regions: "Region"
+import { i18nMark } from "@lingui/react";
+
+const ServiceTableHeaderLabels = {
+ cpus: i18nMark("CPU"),
+ disk: i18nMark... | feat(ServiceTableHeaderLabels): mark for translation | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -260,10 +260,26 @@ extension AuthenticationProviderAdapter {
break
}
}
+ if self.isErrorCausedByBadRequest(error) {
+ let errorDescription = error._userInfo?["error"]?
+ .description.trimmingCharacters(in: .whitespaces) ?? "unknown error"
+ return AuthError.service(errorDescription,
+ AuthPluginErrorConstants.hosted... | feat(auth): handle errors returned from Social SignIn sessions | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -21,34 +21,33 @@ import { wrapFieldsWithMeta } from './wrapFieldWithMeta'
import { InputProps, ImageUpload } from '@tinacms/fields'
import { useCMS } from '@tinacms/react-tinacms'
+type FieldProps = any
interface ImageProps {
path: string
- previewSrc(form: any): string
+ previewSrc(form: any, field: FieldProps): st... | feat(image): previewSrc is given it's fields props | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
namespace OwenIt\Auditing\Tests;
+use Illuminate\Support\Facades\Config;
+use Illuminate\Support\Facades\Request;
use Mockery;
-use OwenIt\Auditing\Contracts\Auditable;
+use OwenIt\Auditing\Tests\Stubs\AuditableModelStub;
+use RuntimeException;
class AuditableTest extends AbstractTestCase
{
/**
- * Test the Auditable c... | feat(Auditable): added toAudit() tests | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -99,7 +99,7 @@ send_resume(struct discord_gateway *gw)
&gw->payload.seq_number);
ASSERT_S(ret < sizeof(payload), "Out of bounds write attempt");
- log_info("sending RESUME(%d bytes)", ret);
+ log_info("Sending RESUME(%d bytes)", ret);
ws_send_text(gw->ws, payload, ret);
gw->is_resumable = false; // reset
@@ -126,7 +... | feat: remove dynamic allocation for single thread event handling | null | cee-studio/orca | MIT License | C |
@@ -132,7 +132,8 @@ public void logDebug(String message)
return;
}
- if (message.indexOf("Closing TLS socket") != -1)
+ if (message.indexOf("Closing TLS socket") != -1
+ || message.indexOf("Socket output is already shutdown") != -1)
{
// let's find sip provider that uses TLS and fire connection failed
// to force it re... | feat: Adds one more cases to the closing TLS socket for re-register | null | jitsi/jitsi | Apache License 2.0 | Java |
@@ -514,6 +514,17 @@ public abstract class Participant<T extends WebDriver>
catch(Exception e)
{
Logger.getGlobal().log(Level.SEVERE, "Failed to saveHtmlSource to:" + fileName, e);
+
+ try
+ {
+ // will try the main page
+ FileUtils.openOutputStream(new File(outputDir, fileName))
+ .write(driver.getPageSource().replace... | feat: Add save main page if the other one fails | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
+#!/bin/bash
+# This script runs a visual regression test on all the images
+# generated from OSMD samples (npm run generate:current and npm run generate:blessed)
+#
+# inspired by Vexflow's visual regression tests.
+#
+# Prerequisites: ImageMagick
+#
+# On OSX: $ brew install imagemagick
+# On Linux: $ apt-get install... | feat(testing): add visual regression testing script, generating diffs for all OSMD samples | null | opensheetmusicdisplay/opensheetmusicdisplay | BSD 3-Clause New or Revised License | Shell |
+/**
+ * @file
+ * @brief Implements [Sub-set sum problem]
+ * (https://en.wikipedia.org/wiki/Subset_sum_problem) algorithm, which tells
+ * whether a subset with target sum exists or not.
+ *
+ * @details
+ * In this problem, we use dynamic programming to find if we can pull out a
+ * subset from an array whose sum is... | feat: add Subset Sum | null | thealgorithms/c-plus-plus | MIT License | C++ |
+<?php
+
+declare(strict_types=1);
+
+beforeEach(function() {
+ filesystem()->directory(PATH['project'] . '/entries')->create();
+});
+
+afterEach(function (): void {
+ filesystem()->directory(PATH['project'] . '/entries')->delete();
+});
+
+test('test entries_fetch shortcode', function () {
+ $this->assertTrue(flextyp... | feat(tests): add tests for Shortcode entries_fetch | null | flextype/flextype | MIT License | PHP |
-import { Trans } from "@lingui/macro";
-import { i18nMark } from "@lingui/react";
+import { Trans, t } from "@lingui/macro";
+import { i18nMark, withI18n } from "@lingui/react";
import { Confirm } from "reactjs-components";
import mixin from "reactjs-mixin";
import PropTypes from "prop-types";
@@ -53,16 +53,17 @@ clas... | feat(JobStopRunModal): Translate bare strings | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -25,6 +25,7 @@ double computeSwipeSlop(PointerDeviceKind kind) {
case PointerDeviceKind.touch:
return kSwipeSlop;
}
+ return kSwipeSlop;
}
typedef GestureSwipeCancelCallback = void Function();
@@ -255,8 +256,6 @@ class SwipeGestureRecognizer extends OneSequenceGestureRecognizer {
if (_state != _SwipeState.accepted) ... | feat: deal lint | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -103,7 +103,10 @@ export const updatableParams = [
'imageHeight',
'imageAlt',
'progressSteps',
- 'currentProgressStep'
+ 'currentProgressStep',
+ 'onClose',
+ 'onAfterClose',
+ 'onDestroy'
]
export const deprecatedParams = {
| feat: make onClose onAfterClose onDestroy updatable | null | sweetalert2/sweetalert2 | MIT License | JavaScript |
@@ -89,7 +89,7 @@ def runAndPublic(status):
elif status == 2:
val = os.system('ls -al')
# print(val)
- os.system("publish run && publish deploy")
+ os.system("publish deploy")
| feat: add topic | null | zhangferry/iosweeklylearning | MIT License | Python |
@@ -3667,7 +3667,8 @@ xloadfont(Font *f, FcPattern *pattern)
if (abs(haveattr - wantattr) > max_bold_weight_infelicity) {
f->badweight = 1;
}
- fputs("st: font weight does not match\n", stderr);
+ fprintf(stderr, "st: font weight does not match (%i != %i)\n",
+ haveattr, wantattr);
}
}
| feat(xst: xloadfont): more detailed warning message about font weight | null | gnotclub/xst | MIT License | C |
@@ -399,7 +399,7 @@ App::get('/v1/database/usage')
App::get('/v1/database/:collectionId/usage')
- ->desc('Get Database Usage')
+ ->desc('Get Database Usage for a collection')
->groups(['api', 'database'])
->label('scope', 'collections.read')
->label('sdk.auth', [APP_AUTH_TYPE_ADMIN])
| feat(usage): doc fix | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
* @typedef Breakpoint
*
* @type {Object}
- * @property {String} small
- * @property {String} medium
- * @property {String} large
+ * @property {Object} xxsmall
+ * @property {Object} xsmall
+ * @property {Object} small
+ * @property {Object} medium
+ * @property {Object} large
+ * @property {Object} xlarge
+ * @propert... | feat(yoga/tokens): add breakpoint definitions | null | gympass/yoga | MIT License | JavaScript |
@@ -12,6 +12,7 @@ use ReflectionException;
use ReflectionFunction;
use ReflectionNamedType;
use ReflectionParameter;
+use ReflectionUnionType;
/**
* @internal
@@ -165,9 +166,23 @@ final class Reflection
$arguments = [];
foreach ($parameters as $parameter) {
- /** @var ReflectionNamedType|null $type */
- $type = ($param... | feat: handle unions (PHP 8) | null | pestphp/pest | MIT License | PHP |
@@ -317,6 +317,10 @@ void JSBridge::handleModuleListener(const char *args) {
throw JSError(*context, "Failed to execute '__kraken_module_listener__': callback is not a function.");
}
+ if (std::string(args).substr(0, 5) == "Error") {
+ throw JSError(*context, args);
+ }
+
const String str = String::createFromAscii(*con... | feat: add global invokeModule error report | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -31,6 +31,7 @@ Pipeline
Usage:
pyannote-pipeline train [options] [(--forever | --trials=<trials>)] <experiment_dir> <database.task.protocol>
+ pyannote-pipeline best [options] <experiment_dir> <database.task.protocol>
pyannote-pipeline apply [options] <params.yml> <database.task.protocol> <output_dir>
pyannote-pipel... | feat: add "best" mode to pyannote-pipeline | null | pyannote/pyannote-audio | MIT License | Python |
@@ -16,6 +16,5 @@ public class SignUpRequestDto
public string? Password { get; set; }
[NotMapped]
- [Range(typeof(bool), "true", "true", ErrorMessage = "You must accept the privacy.")]
public bool IsAcceptPrivacy { get; set; }
}
| feat(template): remove data annotation validation for the checkbox on the signup page of the TodoTemplate project | null | bitfoundation/bitframework | MIT License | C# |
#!/usr/bin/env bash
+fail() {
+ echo "$1"
+ exit 1
+}
+checkInstalled() {
+ which "$1" || fail "ERROR: please install $1"
+}
-cd plugins
-./gradlew test publishToMavenLocal
+runGradleTaskInFolder() {
+ echo
+ echo "== cd $1 =="
+ cd $1 || fail "ERROR: Folder $1 doens't exist"
+ pwd
+
+ echo '$' "./gradlew $TASK"
+ ./gr... | feat: improve checkPlugins | null | jmfayard/refreshversions | MIT License | Shell |
@@ -135,18 +135,26 @@ impl FuseTable {
ctx.get_settings().get_max_threads()? as usize
}
ReadDataKind::BlockDataAdjustIORequests => {
- // Assume 160MB one block file.
- let block_file_size = 160 * 1024 * 1024_usize;
+ let conf = ctx.get_config();
+ let mut max_memory_usage = ctx.get_settings().get_max_memory_usage()? a... | feat(fuse): Make adjust io requetsts more gentle | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -55,7 +55,7 @@ class TwinRooms(RenderInterface2D, Model):
self.wall_eps = 0.05
# base reward position
- self.base_reward_pos = np.array([0.1, 0.8])
+ self.base_reward_pos = np.array([0.8, 0.8])
# rendering info
self.set_clipping_area((0, 2, 0, 1))
@@ -68,7 +68,7 @@ class TwinRooms(RenderInterface2D, Model):
def rese... | feat(twinrooms): update env | null | rlberry-py/rlberry | MIT License | Python |
@@ -39,6 +39,10 @@ COLOR_MAP = {
Severity.Trace: '#7554BF', # violet
Severity.Unknown: 'silver'
},
+ 'status': {
+ Status.Ack: 'skyblue',
+ Status.Shelved: 'skyblue'
+ },
'text': 'black'
}
| feat: add colors for Ack and Shelved statuses | null | alerta/alerta | Apache License 2.0 | Python |
@@ -47,6 +47,9 @@ export type ButtonProps = GetProps<typeof ButtonFrame> &
fontFamily?: SizableTextProps['fontFamily']
letterSpacing?: SizableTextProps['letterSpacing']
textAlign?: SizableTextProps['textAlign']
+
+ // all the other text controls
+ textProps?: Partial<SizableTextProps>
}
const ButtonFrame = styled(Sizab... | feat(tamagui): Add textProps back to Button | null | tamagui/tamagui | MIT License | TypeScript |
@@ -60,6 +60,7 @@ class ClosetController extends Controller
$request->input('q'),
fn (Builder $query, $search) => $query->like('item_name', $search)
)
+ ->orderBy('texture_tid', 'DESC')
->paginate((int) $request->input('perPage', 6));
}
| feat: sort closet by desc | null | bs-community/blessing-skin-server | MIT License | PHP |
@@ -54,8 +54,10 @@ public class JumpPlugin: UICorePlugin {
@objc func jumpSeek(xPosition: CGFloat) {
guard let activePlayback = core?.activePlayback,
+ let container = core?.activeContainer,
let coreViewWidth = core?.view.frame.width else { return }
+ container.trigger(InternalEvent.didTapQuickSeek.rawValue)
let didTap... | feat: trigger didTapQuickSeek on plugin | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -136,6 +136,84 @@ func TestMulFp12(t *testing.T) {
assert.SolvingSucceeded(r1cs, &witness)
}
+type fp12Square struct {
+ A E12
+ B E12 `gnark:",public"`
+}
+
+func (circuit *fp12Square) Define(curveID ecc.ID, cs *frontend.ConstraintSystem) error {
+ ext := GetBLS377ExtensionFp12(cs)
+ s := circuit.A.Square(cs, &circ... | feat: addition of unit test for cyclo square in std/../e12.go | null | consensys/gnark | Apache License 2.0 | Go |
@@ -2,14 +2,15 @@ package selector
import (
"context"
- "github.com/loft-sh/devspace/pkg/devspace/imageselector"
"sort"
"strings"
+ "github.com/loft-sh/devspace/pkg/devspace/imageselector"
+
"github.com/loft-sh/devspace/pkg/devspace/kubectl"
"github.com/loft-sh/devspace/pkg/util/hash"
"github.com/pkg/errors"
- k8sv1 "k... | feat: check if pod is evicated before listing it | null | loft-sh/devspace | Apache License 2.0 | Go |
@@ -9,7 +9,7 @@ use serde::{
ser::SerializeStruct,
Deserialize, Deserializer, Serialize, Serializer,
};
-use std::{fmt::Formatter, str::FromStr};
+use std::{fmt, fmt::Formatter, str::FromStr};
use thiserror::Error;
/// The block type returned from RPC calls.
@@ -579,6 +579,17 @@ impl FromStr for BlockNumber {
}
}
+impl... | feat: add display impl for BlockNumber | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
*/
package com.b2international.snowowl.core.rest.suggest;
+import java.util.ArrayList;
import java.util.List;
import java.util.Map;
-import java.util.stream.Collectors;
+import java.util.concurrent.TimeUnit;
import org.elasticsearch.common.Strings;
import org.springdoc.api.annotations.ParameterObject;
@@ -29,6 +30,7 @@... | feat(suggest): support batchSize and batchSizeTimeout configuration.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -127,7 +127,7 @@ export const getMenu = ({ DBAAS_LOGS_URL }) => [
subitems: [
{
id: 'training',
- beta: true,
+ new: true,
options: {
state: 'pci.projects.project.training',
},
| feat(sidebar): remove beta label for ai-training | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
@@ -19,11 +19,18 @@ limitations under the License.
import * as React from 'react'
import styled from 'styled-components'
+type Option =
+ | string
+ | {
+ value: string
+ label: string
+ }
+
interface SelectFieldProps {
label?: string
name: string
component: string
- options: string[]
+ options: Option[]
}
export inter... | feat: added Option type for Select/SelectField | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -14,15 +14,6 @@ public protocol AnyStore: class {
/// Type Erasure for the `Store` `state`
var anyState: State { get }
- /**
- Dispatches a `SideEffect` item
-
- - parameter dispatchable: the Side Effect to dispatch
- - returns: a promise parameterized to the side effect's return value, that is resolved when the dis... | feat: remove redundant dispatch<T: SideEffect> from the Store | null | bendingspoons/katana-swift | MIT License | Swift |
@@ -6,6 +6,7 @@ import (
"github.com/AlecAivazis/survey/v2"
"github.com/cli/cli/v2/api"
+ "github.com/cli/cli/v2/internal/ghinstance"
"github.com/cli/cli/v2/internal/ghrepo"
"github.com/cli/cli/v2/pkg/cmd/release/shared"
"github.com/cli/cli/v2/pkg/cmdutil"
@@ -21,6 +22,7 @@ type DeleteOptions struct {
TagName string
Sk... | feat(cmd/release): allow to delete release with its attached tag | null | cli/cli | MIT License | Go |
@@ -11,7 +11,7 @@ export function formatToBase64({
options = FORM_IMAGE_UPLOADER_DEFAULT_FORMAT_TO_BASE_64_OPTIONS
}) {
if (file) {
- const reader = new FileReader() //eslint-disable-line
+ const reader = new window.FileReader()
reader.readAsDataURL(file)
let originalBase64
| feat(molecule/photoUploader): fix FileReader lint (a different one!) | null | sui-components/sui-components | MIT License | JavaScript |
@@ -179,7 +179,7 @@ class HttpRunner(object):
"details": []
}
- for tests_result in tests_results:
+ for index, tests_result in enumerate(tests_results):
testcase, result = tests_result
testcase_summary = report.get_summary(result)
@@ -195,6 +195,12 @@ class HttpRunner(object):
report.aggregate_stat(summary["stat"]["te... | feat: save testcase log absolute path in summary.json | null | httprunner/httprunner | Apache License 2.0 | Python |
@@ -257,6 +257,26 @@ export class Botonic {
intents = res.intents
entities = res.entities
} catch (e) {}
+ } else if (this.conf.integrations.luis) {
+ let luis = this.conf.integrations.luis
+ try {
+ let luis_resp = await axios({
+ url: `https://${
+ luis.region
+ }.api.cognitive.microsoft.com/luis/v2.0/apps/${luis.app... | feat: add Microsoft LUIS integration | null | hubtype/botonic | MIT License | TypeScript |
@@ -54,7 +54,8 @@ fn main() {
}
fn walk(blocks: ShardedBlockStore, start: &Cid) -> Result<(), Error> {
- use ipfs_unixfs::dir::walk::{Walker, Walk, ContinuedWalk};
+ use ipfs_unixfs::dir::walk::{Walker, Walk, ContinuedWalk, FileSegment};
+ use sha2::{Digest, Sha256};
// The blockstore specific way of reading the block.... | feat: print sha256 in examples/get.rs | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
-import React, { useEffect } from 'react';
+import React, { Suspense, useEffect, lazy } from 'react';
import PublicationsList from './PublicationsList';
import { makeStyles, Box } from '@material-ui/core';
import Description from './Description';
@@ -12,7 +12,7 @@ import {
import Entities from './Entities';
import Cate... | feat: add lazy load to debug tool | null | opentargets/platform-app | Apache License 2.0 | JavaScript |
@@ -825,6 +825,58 @@ impl<'a> Default for OsValues<'a> {
}
}
+/// An iterator for getting multiple indices out of an argument via the [`ArgMatches::indices_of`]
+/// method.
+///
+/// # Examples
+///
+/// ```rust
+/// # use clap::{App, Arg};
+/// let m = App::new("myapp")
+/// .arg(Arg::with_name("output")
+/// .short(... | feat(Indices): implements an Indices<Item=&usize> iterator | null | clap-rs/clap | Apache License 2.0 | Rust |
@@ -13,6 +13,7 @@ import (
"github.com/influxdata/flux"
platform "github.com/influxdata/influxdb"
"github.com/influxdata/influxdb/kit/tracing"
+ "github.com/influxdata/influxdb/logger"
"github.com/influxdata/influxdb/task/options"
"github.com/prometheus/client_golang/prometheus"
"go.uber.org/zap"
@@ -673,7 +674,7 @@ fu... | feat(task): Add traceID to new run's | null | influxdata/influxdb | MIT License | Go |
@@ -22,7 +22,7 @@ import (
)
// VERSION of DiscordGo, follows Semantic Versioning. (http://semver.org/)
-const VERSION = "0.26.0"
+const VERSION = "0.26.1"
// New creates a new Discord session with provided token.
// If the token is for a bot, it must be prefixed with "Bot "
| feat(*): bump version to 0.26.1 | null | bwmarrin/discordgo | BSD 3-Clause New or Revised License | Go |
@@ -19,7 +19,6 @@ use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Request;
use Illuminate\Support\Str;
use OwenIt\Auditing\Contracts\UserResolver;
-use OwenIt\Auditing\Contracts\Audit as AuditContract;
use RuntimeException;
use UnexpectedValueException;
@@ -52,13 +51,11 @@ trait Auditable
}
/**
- ... | feat(Auditable): get the Audit implementation from the config | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -38,12 +38,14 @@ __author__ = "Christoph Dann <cdann@cdann.de>"
class Acrobot(RenderInterface2D, Model):
"""
+ Description:
Acrobot is a 2-link pendulum with only the second joint actuated.
Initially, both links point downwards. The goal is to swing the
end-effector at a height at least the length of one link above ... | feat(envs): minor changes | null | rlberry-py/rlberry | MIT License | Python |
@@ -26,6 +26,13 @@ export function expandMacro(pattern: string, arch: string | null | undefined, ap
}
return arch
+ case "author":
+ const companyName = appInfo.companyName
+ if (companyName == null) {
+ throw new InvalidConfigurationError(`cannot expand pattern "${pattern}": author is not specified`, "ERR_ELECTRON_BUI... | feat: author macro | null | electron-userland/electron-builder | MIT License | TypeScript |
// Each message component, and the message overall, implements the "Codec" trait
// allowing it to be encoded/decoded for transmission over a transport.
+pub const MAX_MESSAGE_SIZE: usize = 16348;
+
pub mod message {
use crate::message::Address::ChannelAddress;
use crate::message::MessageType::Payload;
@@ -567,6 +569,1... | feat(rust): implement function to get size of varint | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -123,11 +123,6 @@ class Entries
*/
public function fetch(string $id, array $options = []): Arrays
{
- // Slugify ID
- if (registry()->get('flextype.settings.slugify.enabled')) {
- $id = slugify()->slugify($id);
- }
-
// Entry data
$this->registry()->set('fetch.id', $id);
$this->registry()->set('fetch.options', $opti... | feat(entries): remove slugify for now from entries api | null | flextype/flextype | MIT License | PHP |
@@ -24,7 +24,7 @@ func DefaultValdConfig() ValdConfig {
return ValdConfig{
TssConfig: tss.DefaultConfig(),
BroadcastConfig: DefaultBroadcastConfig(),
- BatchSizeLimit: 15,
+ BatchSizeLimit: 250,
BatchThreshold: 3,
EVMConfig: evm.DefaultConfig(),
}
| feat(vald): increase default batch size limit from 15 to 250 | null | axelarnetwork/axelar-core | Apache License 2.0 | Go |
@@ -10,7 +10,7 @@ pub struct DeleteCommand {
node_opts: NodeOpts,
/// Terminate all nodes
- #[clap(long)]
+ #[clap(long, short)]
all: bool,
/// Should the node be terminated with SIGKILL instead of SIGTERM
| feat(rust): add `-a` short option for `node delete --all` | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -356,7 +356,9 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
.build()
player = ExoPlayerFactory.newSimpleInstance(applicationContext, rendererFactory, trackSelector).apply {
- setAudioAttributes(audioAttributes, true)
+ val handleAudioFocus = options.options[ClapprOption.HANDLE_AU... | feat(audio_focus): use option to configure audio focus | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -27,7 +27,7 @@ test('EntriesField for shop', function() {
->copy(ROOT_DIR . '/project/entries/shop');
$shop = entries()->fetch('shop');
-});
+})->skip();
test('EntriesField for catalog', function () {
@@ -70,7 +70,7 @@ test('EntriesField for catalog', function () {
$banner = entries()->fetch('banner');
$this->assert... | feat(tests): skip tests for EntriesField - for now | null | flextype/flextype | MIT License | PHP |
@@ -9,6 +9,7 @@ import (
"context"
"encoding/json"
"fmt"
+ "strings"
dataContainer "github.com/edgexfoundry/edgex-go/internal/core/data/container"
@@ -16,6 +17,7 @@ import (
"github.com/edgexfoundry/go-mod-bootstrap/v2/di"
"github.com/edgexfoundry/go-mod-core-contracts/v2/errors"
"github.com/edgexfoundry/go-mod-core-co... | feat(data): message topic should contain the event's deviceName | null | edgexfoundry/edgex-go | Apache License 2.0 | Go |
@@ -26,6 +26,12 @@ readonly GOMODCACHE="$(go env GOMODCACHE)"
readonly GO111MODULE="on"
readonly GOFLAGS="-mod=readonly"
readonly GOPATH="$(mktemp -d)"
+readonly REQUIRED_GO_VER="1.19"
+
+if [[ $(go version | grep ${REQUIRED_GO_VER} -c) -eq 0 ]]; then
+ echo "Go v${REQUIRED_GO_VER} is required to run code generation"
+... | feat: add guard check for go version | null | kubernetes-sigs/gateway-api | Apache License 2.0 | Shell |
@@ -201,7 +201,7 @@ func (nm *SNotificationManager) FetchCustomizeColumns(
var err error
for i := range rows {
- rows[i], err = objs[i].(*SNotification).getMoreDetails(ctx, query, rows[i])
+ rows[i], err = objs[i].(*SNotification).getMoreDetails(ctx, userCred, query, rows[i])
if err != nil {
log.Errorf("Notification.ge... | feat(notify): show only users under the domain in the recipient details of the message | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -530,6 +530,41 @@ class VerbosityTest extends BaseRollbarTest
);
}
+ /**
+ * Test verbosity of \Rollbar\Truncation\Truncation::registerStrategy
+ * in truncate method.
+ *
+ * @return void
+ */
+ public function testRollbarTruncation()
+ {
+ $rollbarLogger = $this->verboseRollbarLogger(array(
+ "access_token" => $th... | feat(dev options): test verbosity of truncation | null | rollbar/rollbar-php | MIT License | PHP |
@@ -101,7 +101,7 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
return MediaType.UNKNOWN
}
- private val syncBufferInSeconds = if (mediaType == MediaType.LIVE) DEFAULT_SYNC_BUFFER_IN_SECONDS else 0
+ private val syncBufferInSeconds = if (mediaType == MediaType.LIVE) DEFAULT_SYNC_BUFF... | feat(dvr_onpause): add dvr in use treshould in duration | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.