diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -81,23 +81,27 @@ export class Subscription<A, B> implements
unsubscribe(sub?: Subscription<B, any>) {
if (!sub) {
if (this.parent) {
- return this.parent.unsubscribe(this);
+ const res = this.parent.unsubscribe(this);
+ this.state = State.DONE;
+ delete this.parent;
+ return res;
}
- return true;
+ return false;
}
i... | feat(rstream): update Subscription.unsubscribe() | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -29,7 +29,7 @@ describe('samples', () => {
});
it('connects mccoys\'s browser', () => {
- expect(browserChrome.getTitle()).to.equal('Sample: Meetings');
+ expect(browserChrome.getTitle()).to.equal('Webex JavaScript SDK Sample: Meetings Plugin');
browserChrome.execute((token) => {
// eslint-disable-next-line no-undef... | feat(samples): update end to end tests based on new html | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -203,39 +203,32 @@ class ImageElement extends Element {
/// Convert RenderIntrinsic to non repaint boundary
void _convertToNonRepaint() {
if (renderBoxModel != null && renderBoxModel.isRepaintBoundary) {
- RenderObject parent = renderBoxModel.parent;
- RenderBoxModel nonRepaintSelfBox = createRenderBoxModel(this, pr... | feat: code clean | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -12,7 +12,10 @@ import { listToTree } from "l2t";
*/
export const fetchDocumentationList = (): ThunkResult<LearnPageState> => async (dispatch) => {
try {
- const documentationList = await fetchV2("data:documentation/list.c.json", {});
+ const currentLanguage = localStorage.getItem("lang");
+ const documentationList ... | feat: add multilanguage support for the documentation or learn page | null | dzcode-io/dzcode.io | MIT License | TypeScript |
@@ -41,6 +41,11 @@ func Compile(curveID ecc.ID, zkpID backend.ID, circuit Circuit, initialCapacity
return nil, err
}
+ // sanity checks
+ if err := cs.sanityCheck(); err != nil {
+ return nil, err
+ }
+
switch zkpID {
case backend.GROTH16:
ccs, err = cs.toR1CS(curveID)
@@ -56,6 +61,50 @@ func Compile(curveID ecc.ID, zk... | feat: added sanity check in frontend.Compile to ensure constraint validity | null | consensys/gnark | Apache License 2.0 | Go |
@@ -28,7 +28,7 @@ fi
echo "OK"
echo -n "Toolchain ...... "
-TOOLCHAIN=`rustup default`
+TOOLCHAIN=$(rustup default)
if [[ $TOOLCHAIN = "nightly"* ]]
then
@@ -62,12 +62,26 @@ $PYTHON -m bench_wizard >/dev/null 2>&1 || {
exit 1
fi
}
-CURRENT_BENCH_VERSION=`$PYTHON -m bench_wizard version | tr -d '\n'`
+
+CURRENT_BENCH_VE... | feat: upgrade benchwizard as part of the perf check script | null | galacticcouncil/hydradx-node | Apache License 2.0 | Shell |
import React, { useState } from 'react'
-import { makeStyles, Avatar, TextField, Grid, Button, Hidden } from '@material-ui/core'
+import { makeStyles, Avatar, TextField, Grid, Button, Hidden, LinearProgress } from '@material-ui/core'
interface Props {
avatarLink: string,
@@ -39,6 +39,7 @@ const CommentInput: React.FC<P... | feat: add loading for send comments | null | oi-wiki/gatsby-oi-wiki | Apache License 2.0 | TypeScript |
@@ -83,10 +83,11 @@ open class Container: UIObject {
layerComposer.attachPlayback(playback.view)
#else
view.addSubviewMatchingConstraints(playback.view)
+ view.sendSubviewToBack(playback.view)
#endif
playback.render()
- view.sendSubviewToBack(playback.view)
+
}
fileprivate func renderPlugin(_ plugin: Plugin) {
| feat: only change playback's view positon on tvOS | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -73,6 +73,32 @@ namespace metahelper_detail {
static std::false_type test(...);
using type = decltype(test(reinterpret_cast<T*>(0)));
};
+
+ struct if_constexpr_identity {
+ template <typename T>
+ decltype(auto) operator()(T&& x) {
+ return std::forward<T>(x);
+ }
+ };
+
+ template <bool cond>
+ struct if_constexpr... | feat(core): add a naive if_constexpr for C++14 | null | megengine/megengine | Apache License 2.0 | C |
-#!/bin/bash
+#!/bin/sh
# Colors definition
readonly RED=$(tput setaf 1)
@@ -17,7 +17,7 @@ verify_podman_binary() {
# Add port as 9000:9000 as arg when the SO is MacOS or Win
add_host_port_arg (){
args="--net=host"
- if [[ "$OSTYPE" == "darwin"* ]] || uname -r | grep -q 'Microsoft'; then
+ if [ -z "${OSTYPE##*"darwin"*... | feat: make run_console_local.sh sh compatible | null | operator-framework/operator-lifecycle-manager | Apache License 2.0 | Shell |
@@ -75,6 +75,10 @@ const Demo = () => {
<h1>AtomUpload</h1>
<h2>Dynamic Behaviour</h2>
<div className="DemoAtomUpload-section DemoAtomUpload-section--responsive">
+ <p>
+ Click on the component or drag&drop some files to start upload
+ simulation
+ </p>
<DynamicStatusContainer
iconActive={IconActive}
textActive={textAc... | feat(META): little explanation demo | null | sui-components/sui-components | MIT License | JavaScript |
@@ -4,4 +4,10 @@ final class CoreLayer: Layer {
func attachPlugin(_ plugin: UICorePlugin) {
addSubview(plugin.view)
}
+
+ override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
+ let result = super.hitTest(point, with: event)
+ if result == self { return nil }
+ return result
+ }
}
| feat: Add passthrough on CoreLayer | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -727,6 +727,11 @@ class CloudVolume(object):
shape = self.mip_volume_size(mip)
return Bbox( offset, offset + shape )
+ def point_to_mip(self, pt, mip, to_mip):
+ pt = Vec(*pt)
+ downsample_ratio = self.mip_resolution(mip).astype(np.float32) / self.mip_resolution(to_mip).astype(np.float32)
+ return np.floor(pt * down... | feat: download_point lets you download a cutout from just a coordinate | null | seung-lab/cloud-volume | BSD 3-Clause New or Revised License | Python |
open class FullscreenButton: MediaControlPlugin {
- private var icon = UIImage.fromName("fullscreen", for: FullscreenButton.self)
+ private var fullscreenIcon = UIImage.fromName("fullscreen", for: FullscreenButton.self)
+ private var windowedIcon = UIImage.fromName("fullscreen_exit", for: FullscreenButton.self)
var but... | feat: changing button when player is on fullscreen mode | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -1274,6 +1274,11 @@ void replica_stub::get_local_replicas(std::vector<replica_info> &replicas)
for (auto &pairs : _replicas) {
replica_ptr &rep = pairs.second;
+ // child partition should not sync config from meta server
+ // because it is not ready in meta view
+ if (rep->status() == partition_status::PS_PARTITION_... | feat(split): add child partition check during config_sync | null | apache/incubator-pegasus | Apache License 2.0 | C++ |
@@ -88,6 +88,27 @@ function having_category() {
echo "Testing $(green "${category}")"
+# kernel version should be >= 3.19
+if having_category node; then
+ desired_kernel_version=3.19
+ version=$(uname -r | cut -c1-4)
+ if (( $(awk 'BEGIN {print ("'"$version"'" >= "'$desired_kernel_version'")}') )); then
+ status "kerne... | feat: updating kube ready state check: | null | cloudfoundry-incubator/kubecf | Apache License 2.0 | Shell |
@@ -13,6 +13,7 @@ waybar::modules::WorkspaceSelector::WorkspaceSelector(Bar &bar)
ipc_single_command(_ipcEventSocketfd, IPC_SUBSCRIBE, subscribe, &len);
_thread = [this] {
update();
+ _thread.sleep_for(chrono::milliseconds(250));
};
}
| feat(workspaces): add thread sleep | null | alexays/waybar | MIT License | C++ |
@@ -942,17 +942,25 @@ function parse(rulesMgr, text, root, append) {
}
}
+function isPattern(item) {
+ return PORT_PATTERN_RE.test(item) || NO_SCHEMA_RE.test(item) || isExactPattern(item) || isRegUrl(item) ||
+ isNegativePattern(item) || WEB_PROTOCOL_RE.test(item) || util.isRegExp(item);
+}
+
+function isHost(item) {
+... | feat: support such as mode: operaion1 operationX pattern1 pattern2 operationN patternX | null | avwo/whistle | MIT License | JavaScript |
-import { css, Global } from '@emotion/react';
+import { css } from '@emotion/react';
const snapStyles = css`
overflow-y: hidden;
@@ -10,23 +10,19 @@ type Props = {
};
export const Snap = ({ enriched }: Props) => {
- return (
- <div css={snapStyles}>
- {enriched?.embedCss !== undefined && (
- <Global styles={enriched?.... | feat: Sandbox Snap CSS and disable JS | null | guardian/dotcom-rendering | Apache License 2.0 | TypeScript |
@@ -619,20 +619,21 @@ export default class SimpleBar {
};
onPointerEvent = e => {
- let isWithinBoundsY, isWithinBoundsX;
- this.axis.x.scrollbar.rect = this.axis.x.scrollbar.el.getBoundingClientRect();
- this.axis.y.scrollbar.rect = this.axis.y.scrollbar.el.getBoundingClientRect();
+ let isWithinTrackXBounds, isWithin... | feat: add support for click on track | null | grsmto/simplebar | MIT License | JavaScript |
@@ -291,4 +291,10 @@ export type Settings = {
* results.
*/
readonly decompoundQuery?: boolean;
+
+ /**
+ * Specify on which attributes in your index Algolia should apply Japanese
+ * transliteration to make words indexed in Katakana or Kanji searchable in Hiragana.
+ */
+ readonly attributesToTransliterate?: readonly ... | feat(ts): add the attributesToTransliterate setting | null | algolia/algoliasearch-client-javascript | MIT License | TypeScript |
+package authorizer
+
+import (
+ "context"
+ "fmt"
+
+ "github.com/influxdata/influxdb"
+)
+
+var _ influxdb.AuthorizationService = (*AuthorizationService)(nil)
+
+// AuthorizationService wraps a influxdb.AuthorizationService and authorizes actions
+// against it appropriately.
+type AuthorizationService struct {
+ s ... | feat(authorizer): add authorization service | null | influxdata/influxdb | MIT License | Go |
@@ -176,7 +176,7 @@ public partial class BitPersonaDemo
new EnumParameter()
{
Id = "precence-status",
- Title = "BitPersonaPresence enum",
+ Title = "BitPersonaPresenceStatus enum",
EnumList = new List<EnumItem>()
{
new()
@@ -354,7 +354,7 @@ public partial class BitPersonaDemo
new EnumParameter()
{
Id = "bitpersona-siz... | feat(components): update the param tables of the BitPersona component demo page | null | bitfoundation/bitframework | MIT License | C# |
@@ -482,7 +482,7 @@ os() {
# - amzn, centos, rhel, fedora, ... -> fedora
# - opensuse-{leap,tumbleweed} -> opensuse
# - alpine -> alpine
-# - arch -> arch
+# - arch, manjaro, endeavouros, ... -> arch
#
# Inspired by https://github.com/docker/docker-install/blob/26ff363bcf3b3f5a00498ac43694bf1c7d9ce16c/install.sh#L111-L... | feat: install script support arch-like | null | cdr/code-server | MIT License | Shell |
@@ -4,8 +4,10 @@ import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
+import java.util.Optional;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMessage;
+
import lombok.RequiredArgsConstructor;
import org.burningokr.model.mai... | feat(MailService): MailService is now optional. Backend does not crash if SMTP information are missing | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -23,7 +23,7 @@ if (! function_exists('flextype')) {
if (! function_exists('app')) {
/**
- * Get Flextype app.
+ * Get Flextype App.
*/
function app() {
return flextype()->app();
@@ -32,7 +32,7 @@ if (! function_exists('app')) {
if (! function_exists('container')) {
/**
- * Get Flextype container.
+ * Get Flextype Co... | feat(helpers): update helpers | null | flextype/flextype | MIT License | PHP |
@@ -9,8 +9,8 @@ type TrappedAction<O> = (argv: TrappedArgv<O>, ...args: string[]) => ReturnType<
export interface UserTrap<T = any, K extends User.Field = never> {
fields: Iterable<K>
- get(data: Pick<User, K>): T
- set(data: Pick<User, K>, value: T): void
+ get?(data: Pick<User, K>): T
+ set?(data: Pick<User, K>, valu... | feat(eval): support optional getter/setter | null | koishijs/koishi | MIT License | TypeScript |
@@ -230,10 +230,19 @@ class Element extends Node
double offsetY = child.originalOffset.dy;
double offsetX = child.originalOffset.dx;
+ double childHeight = child.renderElementBoundary?.size?.height;
+ double childWidth = child.renderElementBoundary?.size?.width;
+
+ // Sticky element cannot exceed the boundary of its p... | feat: restrict sticky element offset boundary in its parent container | null | openkraken/kraken | Apache License 2.0 | Dart |
import UIKit
-public class JumpCorePlugin: JumpPlugin {
+public class QuickSeekCorePlugin: QuickSeekPlugin {
override open var pluginName: String {
- return "JumpCorePlugin"
+ return "QuickSeekCorePlugin"
}
override func removeGesture() {
@@ -33,7 +33,7 @@ public class JumpCorePlugin: JumpPlugin {
if gestureRecognizer.... | feat: renaming jump to quickSeek on QuickSeekCorePlugin | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -6,7 +6,7 @@ import AtomIcon, {ATOM_ICON_SIZES} from '@s-ui/react-atom-icon'
import {BASE_CLASS_NAME} from './config'
const ALTERNATIVE_ACTION_TEXT = '- o -'
-const BUTTON_COLOR = 'secondary'
+const BUTTON_COLOR = 'primary'
const BUTTON_SIZE = 'small'
const InitialState = ({
| feat(molecule/photoUploader): use primary color as defautl | null | sui-components/sui-components | MIT License | JavaScript |
@@ -175,13 +175,13 @@ func (client *Client) nonrevApplyUpdates(id irma.CredentialTypeIdentifier, count
save = true
}
if err == revocation.ErrorRevoked {
+ id := cred.CredentialType().Identifier()
+ hash := cred.attrs.Hash()
+ irma.Logger.Warn("credential %s %s revoked", id, hash)
attrs[i].Revoked = true
cred.attrs.Revo... | feat: irmaclient logs credential revocation event | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -102,9 +102,20 @@ impl CatalogCache {
testing: bool,
) -> Self {
let backoff_config = BackoffConfig::default();
- let ram_pool = Arc::new(ResourcePool::new(
+
+ // temporary experiment to prevent read buffers from evicting costly metadata
+ // TODO(marco): make this a proper config option
+ // TODO(marco): give the ... | feat: use two RAM pools in querier | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -46,6 +46,7 @@ class GlobalVarsTwigExtension extends Twig_Extension implements Twig_Extension_G
'PATH_CONFIG_DEFAULT' => PATH['config']['default'],
'PATH_CONFIG_SITE' => PATH['config']['site'],
'PATH_CACHE' => PATH['cache'],
+ 'PATH_LOGS' => PATH['logs'],
'FLEXTYPE_VERSION' => FLEXTYPE_VERSION,
'PHP_VERSION' => PHP_... | feat(core): add new Global Var PATH_LOGS for Twig Templates | null | flextype/flextype | MIT License | PHP |
@@ -331,9 +331,135 @@ const Devices = WebexPlugin.extend({
// Registration method members
- refresh() {}, // Refreshes the device's registration.
- register() {}, // Registers a device.
- unregister() {}, // Unregisters the device.
+ /**
+ * Refresh the current registered device if able.
+ *
+ * @returns {Promise<void,... | feat(internal-plugin-devices): create registration methods | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -10,8 +10,8 @@ import SEO from '../components/layout/seo'
import Footer from '../components/layout/footer'
import PressLogos from '../components/pages/homepage/press-logos'
import PressList from '../components/pages/homepage/press-list'
-import pbsMap from '../images/homepage-visualizations/pbs-map.png'
import nytGr... | feat(design): move nyt chart to far left | null | covid19tracking/website | Apache License 2.0 | JavaScript |
+/*
+ * Copyright (C) 2021 Alibaba Inc. All rights reserved.
+ * Author: Kraken Team.
+ */
+
+#ifndef KRAKENBRIDGE_GARBAGE_COLLECTED_H
+#define KRAKENBRIDGE_GARBAGE_COLLECTED_H
+
+#include <quickjs/quickjs.h>
+
+namespace kraken::binding::qjs {
+
+/**
+ * Base class for GC managed objects. Only descendent types of `Gar... | feat: add garbage_collected.h | null | openkraken/kraken | Apache License 2.0 | C |
+import json
+
+# ------------------------------------------------------------------------
+# Parameter classes
+#
+# IMPORTANT: Keep in sync with algorithm parameters of input [AllParamsFlat]
+# covid19_scenarios/src/algorithm/types/Param.types.ts
+
+class Object:
+ def marshalJSON(self):
+ return json.dumps(self, def... | feat: initial skeleton of script to collect json file of scenario initial condition | null | neherlab/covid19_scenarios | MIT License | Python |
@@ -3,6 +3,7 @@ from dbnd._vendor.marshmallow import fields, validate
class JobSchemaV2(ApiObjectSchema):
+ id = fields.Int()
name = fields.Str()
user = fields.Str()
ui_hidden = fields.Boolean()
| feat: archiving pipelines | null | databand-ai/dbnd | Apache License 2.0 | Python |
@@ -12,7 +12,7 @@ from six.moves import range
import numpy as np
from tqdm import tqdm
-from .lib import Vec, Bbox, mkdir, save_images, ExtractedPath
+from .lib import Vec, Bbox, mkdir, save_images, ExtractedPath, yellow
DEFAULT_PORT = 8080
@@ -91,6 +91,17 @@ def view(
resolution = getresolution(img, resolution)
offset... | feat(uViewer): convert 64-bit int data to float64 for display w/ warning | null | seung-lab/cloud-volume | BSD 3-Clause New or Revised License | Python |
@@ -430,9 +430,12 @@ class Page extends Item
*/
public function setVariable(string $name, $value): self
{
- if (is_bool($value)) {
- $value = $value ?: 0;
+ // cast some strings to boolean
+ $this->filterBool($value);
+ if (is_array($value)) {
+ array_walk_recursive($value, [$this, 'filterBool']);
}
+ // behavior for s... | feat: Converts variables to boolean | null | cecilapp/cecil | MIT License | PHP |
@@ -4,26 +4,23 @@ import XCTest
@testable import SolanaSwift
class BlockchainClientTests: XCTestCase {
- var accountStorage: InMemoryAccountStorage!
+ var account: Account!
override func setUp() async throws {
- accountStorage = InMemoryAccountStorage()
- let account = try await Account(
+ account = try await Account(
... | feat: remove InMemoryAccountStorage | null | p2p-org/solana-swift | MIT License | Swift |
@@ -94,6 +94,28 @@ function runSuite(e, p) {
}
}
+// runCheck is the default function invoked on a check_run:* event
+//
+// It determines which check is being requested (from the payload body)
+// and runs this particular check, or else throws an error if the check
+// is not found
+function runCheck(e, p) {
+ payload... | feat(brigade.js): add handlers for issue_comment and check_run:rerequested events | null | brigadecore/brigade | Apache License 2.0 | JavaScript |
@@ -8,6 +8,7 @@ defmodule Realtime.Repo do
@replicas %{
"fra" => Realtime.Repo.Replica.FRA,
+ "gru" => Realtime.Repo.Replica.IAD,
"iad" => Realtime.Repo.Replica.IAD,
"sin" => Realtime.Repo.Replica.SIN
}
| feat: enable Fly gru region nodes to read from closest db replica | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -634,10 +634,12 @@ def quickstart(
# Pull and possibly build the latest containers.
try:
+ click.echo("Pulling docker images...")
subprocess.run(
- [*base_command, "pull"],
+ [*base_command, "pull", "-q"],
check=True,
)
+ click.secho("Finished pulling docker images!")
except subprocess.CalledProcessError:
click.sech... | feat(cli): make docker compose quiet | null | linkedin/datahub | Apache License 2.0 | Python |
/*
- * Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2011-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.
@@ -30,6 +30,7 @@ import com.b2international.snowowl.snome... | feat(snomed): Populate value in SnomedRelationshipConverter; ignore.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -2460,6 +2460,7 @@ Collection.prototype.aggregate = function(pipeline, options, callback) {
opts.cursor ||
opts.out ||
opts.maxTimeMS ||
+ opts.hint ||
opts.allowDiskUse)
? args.pop()
: {};
@@ -2504,6 +2505,9 @@ Collection.prototype.aggregate = function(pipeline, options, callback) {
if (options.allowDiskUse) comman... | feat(aggregate): support hit field for aggregate command | null | mongodb/node-mongodb-native | Apache License 2.0 | JavaScript |
+<?php
+
+declare(strict_types=1);
+
+/**
+ * Flextype (https://flextype.org)
+ * Founded by Sergey Romanenko and maintained by Flextype Community.
+ */
+
+namespace Flextype\Console\Commands\Cache;
+
+use Symfony\Component\Console\Command\Command;
+use Symfony\Component\Console\Input\InputInterface;
+use Symfony\Compo... | feat(console): add CacheClearCommand | null | flextype/flextype | MIT License | PHP |
@@ -58,7 +58,7 @@ emitter()->addListener('onEntriesFetchSingleField', static function (): void {
$field['value'] = collectionFromQueryString($field['value']->toString());
}
} elseif (strings($field['value'])->contains('@type(string)')) {
- $field['value'] = (string) $field['value'];
+ $field['value'] = strings(strings(... | feat(directives): upd string type for `@type` directive | null | flextype/flextype | MIT License | PHP |
@@ -41,6 +41,20 @@ module.exports = {
width: 47,
height: 41,
svgPathData: "M33.5711631,37.4006129 L17.0454129,25.1275481 L44.568269,2.95134884 L33.5711631,37.4006129 Z M18.2200919,36.7673462 L17.6888487,27.4930292 L22.2657132,31.2155103 L18.2200919,36.7673462 Z M2.8972546,22.1740337 L44.0429697,2.42708706 L16.5201136,2... | feat(Icons): Add Azure and openstack icons | null | patternfly/patternfly-react | MIT License | JavaScript |
@@ -33,24 +33,28 @@ pub use crate::sys::time::timer::{Expiration, TimerSetTimeFlags};
use crate::unistd::read;
use crate::{errno::Errno, Result};
use libc::c_int;
-use std::os::unix::io::{AsRawFd, FromRawFd, RawFd};
+use std::os::unix::io::{AsFd, AsRawFd, BorrowedFd, FromRawFd, OwnedFd, RawFd};
/// A timerfd instance. ... | feat: I/O safety for 'sys/timerfd' | null | nix-rust/nix | MIT License | Rust |
@@ -205,7 +205,7 @@ fun getRoleByArgsN(context: ICommandContext, index: Int, sameGuildAsContext: Boo
val arg = context.args[index]
- role = if (arg.isPositiveNumber() && context.jda.shardManager?.getRoleById(arg) != null) {
+ role = if (DISCORD_ID.matches(arg) && context.jda.shardManager?.getRoleById(arg) != null) {
co... | feat: more mentions | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -89,6 +89,14 @@ export default class Connection {
// Don't print source code of getScriptSource responses
if (object.result && object.result.scriptSource) {
objectToLog = { ...object, result: { ...object.result, scriptSource: '<script source>' } };
+ } else if (
+ object.method === 'Debugger.scriptParsed' &&
+ objec... | feat: don't print sourceMapUrls that are data | null | microsoft/vscode-js-debug | MIT License | TypeScript |
@@ -55,7 +55,7 @@ mixin CSSFlexboxMixin {
renderFlexLayout.flexWrap = _getFlexWrap(flexWrap);
renderFlexLayout.justifyContent = _getJustifyContent(justifyContent, style, renderFlexLayout.flexDirection);
renderFlexLayout.alignItems = _getAlignItems(alignItems, style, renderFlexLayout.flexDirection);
- renderFlexLayout.r... | feat: clean flex alignment properties | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -59,4 +59,5 @@ public enum Event: String, CaseIterable {
case didChangeScreenOrientation = "Clappr:didChangeScreenOrientation"
case didDoubleTouchMediaControl = "Clappr:didDoubleTouchMediaControl"
case didUpdateBitrate = "Clappr:didUpdateBitrate"
+ case assetReady = "Clappr:assetReady"
}
| feat: create Clappr.assetReady event | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -47,24 +47,27 @@ def _elwise_apply(args, mode):
def _elwise(*args, mode):
args = convert_inputs(*args)
- if mode in (
- _ElwMod.TRUE_DIV,
+ if (
+ mode
+ in (
_ElwMod.EXP,
_ElwMod.POW,
_ElwMod.LOG,
_ElwMod.EXPM1,
_ElwMod.LOG1P,
- _ElwMod.TANH,
_ElwMod.ACOS,
_ElwMod.ASIN,
_ElwMod.ATAN2,
_ElwMod.COS,
- _ElwMod.H_SWISH... | feat(mge/elwise): removed back to fp32 mode | null | megengine/megengine | Apache License 2.0 | Python |
@@ -269,7 +269,7 @@ public class JSONRPCAPIClient: SolanaAPIClient {
let responseData = try await networkManager.requestData(request: try self.urlRequest(data: encodedParams))
// log
- LoggerSwift.Logger.log(event: .response, message: String(data: responseData, encoding: .utf8) ?? "")
+ Logger.log(event: .response, mes... | feat: remove LoggerSwift namespace | null | p2p-org/solana-swift | MIT License | Swift |
@@ -13,7 +13,6 @@ class CollectClips(api.ContextPlugin):
version = context.data.get("version", "001")
data = {}
for item in context.data.get("selection", []):
- self.log.debug("__ item: {}".format(item))
# Skip audio track items
# Try/Except is to handle items types, like EffectTrackItem
try:
@@ -23,8 +22,11 @@ class C... | feat(nukestudio): adding track to instance data | null | pypeclub/openpype | MIT License | Python |
declare(strict_types=1);
+// Add endpoints routes
require_once __DIR__ . '/endpoints/utils.php';
require_once __DIR__ . '/endpoints/entries.php';
require_once __DIR__ . '/endpoints/registry.php';
+
+// Add project routes
+if (filesystem()->file(PATH['project'] . '/routes/routes.php')->exists()) {
+ require_once PATH['p... | feat(routes): add ability to add project routes | null | flextype/flextype | MIT License | PHP |
@@ -11,7 +11,6 @@ import * as PayNote from './PayNote'
import PdfOverlay, { getPdfUrl, countImages } from './PdfOverlay'
import Extract from './Extract'
import withT from '../../lib/withT'
-import withMe from '../../lib/apollo/withMe'
import Discussion from '../Discussion/Discussion'
import DiscussionIconLink from '../... | feat(pdf): public pdf icon | null | orbiting/republik-frontend | BSD 3-Clause New or Revised License | JavaScript |
@@ -7,26 +7,6 @@ class KrakenRenderConstrainedBox extends RenderConstrainedBox {
@required BoxConstraints additionalConstraints,
}) : super(child: child, additionalConstraints: additionalConstraints);
- @override
- void layout(Constraints constraints, {bool parentUsesSize = false}) {
- Constraints additional = addition... | feat: del invalid layout | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -93,8 +93,18 @@ async def api_charge_delete(charge_id, wallet: WalletTypeInfo = Depends(get_key_
#############################BALANCE##########################
-@satspay_ext.get("/api/v1/charges/balance/{charge_id}")
-async def api_charges_balance(charge_id):
+@satspay_ext.get("/api/v1/charges/balance/{charge_ids}")... | feat: add endpoint for multiple charges balance; | null | lnbits/lnbits | MIT License | Python |
@@ -317,6 +317,14 @@ class Model(object):
def __repr__(self):
return "Model(reference={})".format(repr(self.reference))
+ def to_api_repr(self):
+ """Construct the API resource representation of this model.
+
+ Returns:
+ Dict[str, object]: Model reference represented as an API resource
+ """
+ return json_format.Messa... | feat: add to_api_repr method to Model | null | googleapis/python-bigquery | Apache License 2.0 | Python |
@@ -32,6 +32,14 @@ public class NetworkAnimator : NetworkBehaviour
[Tooltip("Animator that will have parameters synchronized")]
public Animator animator;
+
+ /// <summary>
+ /// Syncs animator.speed
+ /// </summary>
+ [SyncVar(hook = nameof(onAnimatorSpeedChanged))]
+ float animatorSpeed;
+ float previousSpeed;
+
// No... | feat: NetworkAnimator now syncs animator.speed | null | vis2k/mirror | MIT License | C# |
@@ -12,7 +12,7 @@ import 'package:flutter/rendering.dart';
import 'package:kraken/painting.dart';
import 'package:kraken/rendering.dart';
import 'package:kraken/css.dart';
-import 'package:kraken/kraken.dart';
+import 'package:kraken/launcher.dart';
// CSS Backgrounds: https://drafts.csswg.org/css-backgrounds/
// CSS I... | feat: remove import kraken.dart | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -262,7 +262,10 @@ class TransactionReceipt:
return web3.eth.blockNumber - self.block_number + 1
def replace(
- self, increment: Optional[float] = None, gas_price: Optional[Wei] = None,
+ self,
+ increment: Optional[float] = None,
+ gas_price: Optional[Wei] = None,
+ silent: Optional[bool] = None,
) -> "TransactionRe... | feat: add `silent` kwarg for tx.replace | null | eth-brownie/brownie | MIT License | Python |
@@ -89,7 +89,7 @@ public class GetBuildHandler {
this.environment = buildEnvironment(connection);
replyWithBuildEnvironment(this.environment);
org.gradle.tooling.model.GradleProject gradleProject = getGradleProject(connection);
- replyWithProject(getProjectData(gradleProject, gradleProject));
+ replyWithProject(getProj... | feat: Show task selectors | null | microsoft/vscode-gradle | MIT License | Java |
@@ -1621,6 +1621,16 @@ const completionSpec: Fig.Spec = {
isOptional: true,
},
},
+ {
+ name: "developer",
+ description: "Display the current state of Homebrew's developer mode",
+ args: {
+ name: "state",
+ description: "Turn Homebrew's developer mode on or off respectively",
+ suggestions: ["on", "off"],
+ isOptiona... | feat(brew): add `developer` subcommand | null | withfig/autocomplete | MIT License | TypeScript |
@@ -12,6 +12,7 @@ import 'lang/pt.dart';
import 'lang/nl.dart';
import 'lang/tr.dart';
import 'lang/id.dart';
+import 'lang/hi.dart';
abstract class FlutterFireUILocalizationLabels {
const FlutterFireUILocalizationLabels();
@@ -107,6 +108,7 @@ abstract class FlutterFireUILocalizationLabels {
const localizations = <Stri... | feat(ui): Add Hindi localization language support | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -18,6 +18,7 @@ package helper
import (
"fmt"
+ "io"
"runtime"
)
@@ -62,3 +63,8 @@ func init() {
func PrintfColor(color string, format string, args ...interface{}) {
fmt.Printf(color+format+Reset, args...)
}
+
+// PrintfColorW ...
+func PrintfColorW(w io.Writer, color string, format string, args ...interface{}) {
+ f... | feat(cmd/helper): add PrintfColorW to decouple writer capabilities | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -15,7 +15,7 @@ module.exports = (api, { target, entry, name, 'inline-vue': inlineVue }) => {
const isAsync = /async/.test(target)
// generate dynamic entry based on glob files
- const resolvedFiles = require('globby').sync([entry], { cwd: api.resolve('.') })
+ const resolvedFiles = require('globby').sync(entry.split... | feat: wc entry accepts multiple file patterns splited by ',' | null | vuejs/vue-cli | MIT License | JavaScript |
@@ -32,8 +32,8 @@ case $1 in
influxdb-ockamd)
# start the responder (sink) end, containing `influxdb` and `ockamd`, with configuration to
# send `influxdb` measurement data via `ockamd` over HTTP.
- docker run -d --network="host" --name="influxdb-ockamd" ockam/influxdb-ockamd:0.1.0 \
- --role=sink \
+ docker run -d --n... | feat: update demo script to support 0.10.0 demo | null | ockam-network/ockam | Apache License 2.0 | Shell |
@@ -449,6 +449,13 @@ export class Drawer {
this.renderRenderables(step, scope);
+ for (let moduleName in this.modules) {
+ const module = this.modules[moduleName];
+ if (typeof module.animateScene === 'function') {
+ module.animateScene(step);
+ }
+ }
+
return true;
}
| feat(Drawer.js): animateScene | null | codingame/codingame-game-engine | MIT License | JavaScript |
+package circuits
+
+import (
+ "math/big"
+
+ "github.com/consensys/gnark-crypto/ecc"
+ "github.com/consensys/gnark/frontend"
+)
+
+type assertIsDifferentCircuit struct {
+ X frontend.Variable
+ Y frontend.Variable `gnark:",public"`
+}
+
+func (circuit *assertIsDifferentCircuit) Define(curveID ecc.ID, cs *frontend.Con... | feat: test circuit for AssertIsDifferent | null | consensys/gnark | Apache License 2.0 | Go |
@@ -38,7 +38,6 @@ import com.thoughtworks.qdox.model.expression.Expression;
import com.thoughtworks.qdox.model.expression.FieldRef;
import net.datafaker.Faker;
import org.apache.commons.codec.digest.DigestUtils;
-import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils;
import java.util.*... | feat(enum): Support configuration interface in error code dictionary | null | smart-doc-group/smart-doc | Apache License 2.0 | Java |
@@ -396,6 +396,7 @@ open class AVFoundationPlayback: Playback {
}
open override func seekToLivePosition() {
+ guard canSeek else { return }
play()
seek(Double.infinity)
}
| feat: add canSeek check to seekToLivePosition | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -29,6 +29,12 @@ void HTMLParser::traverseHTML(GumboNode * node, ElementInstance* element) {
auto newElement = JSElement::buildElementInstance(m_context.get(), gumbo_normalized_tagname(child->v.element.tag));
element->internalAppendChild(newElement);
+ // eval javascript when <script>//code...</script>.
+ if (child->... | feat: eval javascript when <script>//code...</script> | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -12,53 +12,6 @@ public struct Account: Codable, Hashable {
self.secretKey = secretKey
}
- /// Create account with seed phrase
- /// - Parameters:
- /// - phrase: secret phrase for an account, leave it empty for new account
- /// - network: network in which account should be created
- /// - Throws: Error if the deriv... | feat: remove asynchronous creating account function | null | p2p-org/solana-swift | MIT License | Swift |
@@ -197,6 +197,11 @@ open class Player: UIViewController {
return baseObject.on(event.rawValue, callback: callback)
}
+ @discardableResult
+ open func listenTo<T: EventProtocol>(_ contextObject: T, eventName: String, callback: @escaping EventCallback) -> String {
+ return baseObject.listenTo(contextObject, eventName: e... | feat: exposing listenTo method on Player | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -366,9 +366,7 @@ impl ShareMeta {
}
pub fn get_grant_entry(&self, object: ShareGrantObject) -> Option<ShareGrantEntry> {
- if self.database.is_none() {
- return None;
- }
+ self.database.as_ref()?;
let database = self.database.as_ref().unwrap();
if database.object == object {
@@ -376,13 +374,8 @@ impl ShareMeta {
}
... | feat: add get_share_grant_objects API in ShareApi, make clippy happy | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -287,6 +287,7 @@ func (o ClusterSyncOptions) Params() (jsonutils.JSONObject, error) {
type ClusterDeployOptions struct {
IdentOptions
Force bool `help:"force deploy"`
+ Action string `help:"deploy action" choices:"run|upgrade-master-config"`
}
func (o ClusterDeployOptions) Params() (jsonutils.JSONObject, error) {
@@... | feat(climc): add action of k8s-cluster-deploy | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -40,6 +40,7 @@ define('PATH', [
'fieldsets' => ROOT_DIR . '/site/fieldsets',
'tokens' => ROOT_DIR . '/site/tokens',
'accounts' => ROOT_DIR . '/site/accounts',
+ 'uploads' => ROOT_DIR . '/site/uploads',
'config' => [
'default' => ROOT_DIR . '/flextype/config',
'site' => ROOT_DIR . '/site/config',
| feat(core): add new constant PATH['uploads'] | null | flextype/flextype | MIT License | PHP |
*/
package org.eolang;
-import java.util.stream.Stream;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.jupiter.params.ParameterizedTest;
-import org.junit.jupiter.params.provider.Arguments;
-import org.junit.jupiter.params.provider.MethodSource;
+import org.junit.jupiter.params.provid... | feat(#1717): use csv source | null | cqfn/eo | MIT License | Java |
@@ -15,6 +15,7 @@ if (registry()->get('flextype.settings.entries.fields.parsers.enabled')) {
function processParsersField(): void
{
+
if (entries()->registry()->get('fetch.data.cache.enabled') == null) {
$cache = false;
} else {
@@ -22,19 +23,14 @@ function processParsersField(): void
}
if (entries()->registry()->get('... | feat(fields): remove markdown parser from ParsersField, as it is planed to be decoupled | null | flextype/flextype | MIT License | PHP |
@@ -19,13 +19,13 @@ return [
],
Exception::TYPE_INVALID_ORIGIN => [
'name' => Exception::TYPE_INVALID_ORIGIN,
- 'description' => 'Invalid origin',
+ 'description' => 'The request originated from a non-whitelisted origin. If you trust this origin, please add it as a platform in the Appwrite console.',
'statusCode' => 40... | feat: add more descriptions | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -3,14 +3,26 @@ import 'dart:async';
import 'dart:convert';
import 'dart:typed_data';
import 'package:flutter/rendering.dart';
+import 'package:colorize/colorize.dart';
import 'package:flutter/foundation.dart' show debugDefaultTargetPlatformOverride, TargetPlatform;
import 'package:kraken/element.dart';
import 'packa... | feat: use kraken_test as entry and add js error listener | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -112,16 +112,16 @@ def to_numpy(current_file, precomputed, labels=None):
return y, labels
-def from_numpy(y, window, labels=None):
+def from_numpy(y, precomputed, labels=None):
"""Convert numpy array to annotation
Parameters
----------
- y : numpy.ndarray
- Binary (N, K) array where y[t, k] == 1 when labels[k] is ac... | feat: add support for 1-dimensional y | null | pyannote/pyannote-audio | MIT License | Python |
@@ -191,14 +191,12 @@ public final class ProbeMojo extends SafeMojo {
)
).forEach(
obj -> {
- if (!ProbeMojo.hasReservedChars(obj)) {
if (obj.length() > 1 && "Q.".equals(obj.substring(0, 2))) {
ret.add(obj.substring(2));
} else {
ret.add(obj);
}
}
- }
);
if (ret.isEmpty()) {
Logger.debug(
@@ -214,19 +212,6 @@ public fi... | feat(#1678): remove puzzle and unused function | null | cqfn/eo | MIT License | Java |
@@ -42,6 +42,7 @@ import org.apache.maven.plugin.AbstractMojo;
/**
* Fake maven workspace that executes Mojos in order to test
* their behaviour and results.
+ * NOT thread-safe.
* @since 0.28.12
*/
@SuppressWarnings("PMD.TooManyMethods")
| feat(#1337): add NOT thread-safe comment to javadoc | null | cqfn/eo | MIT License | Java |
@@ -7,6 +7,7 @@ open class Player: UIViewController {
static var hasAlreadyRegisteredPlaybacks = false
fileprivate var viewController: AVPlayerViewController?
private let baseObject = BaseObject()
+ private var tvRemoteGesture: UITapGestureRecognizer?
override open func viewDidLoad() {
core?.parentView = view
@@ -21,6 ... | feat: capture remote tv gesture to pause and play media triggering willPlay and willPause events | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -351,6 +351,7 @@ impl CsvReaderState {
let reader = csv_core::ReaderBuilder::new()
.delimiter(ctx.field_delimiter)
.quote(ctx.format_settings.quote_char)
+ .escape(ctx.format_settings.escape)
.terminator(match ctx.record_delimiter {
RecordDelimiter::Crlf => csv_core::Terminator::CRLF,
RecordDelimiter::Any(v) => csv_... | feat(csv): support escape | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -162,7 +162,7 @@ class Trainer:
def fit(self, model, batch_generator, restart=0, epochs=1000,
get_optimizer=None, get_scheduler=None, learning_rate='auto',
- log_dir=None, device=None):
+ log_dir=None, quiet=False, device=None):
"""Train model
Parameters
@@ -187,6 +187,8 @@ class Trainer:
log_dir : str, optional
Dir... | feat: add "quiet" option to Trainer.{fit|fit_iter} | null | pyannote/pyannote-audio | MIT License | Python |
@@ -7,6 +7,7 @@ import json
import time
import traceback
import frappe
+import sqlparse
def recorder_start():
# Need to record all calls to frappe.db.sql
@@ -138,7 +139,7 @@ def recorder(function):
"args": args,
"kwargs": kwargs,
"result": result,
- "query": query,
+ "query": sqlparse.format(query, keyword_case="upper"... | feat(recorder): Format SQL query with SQLParse | null | frappe/frappe | MIT License | Python |
@@ -29,8 +29,6 @@ class EntriesCopyCommand extends Command
{
$io = new SymfonyStyle($input, $output);
- $data = serializers()->json()->decode($input->getOption('data') ?? []);
-
if (entries()->copy($input->getOption('id'), $input->getOption('newID'))) {
$io->success('Entry ' . $input->getOption('id') . ' coppied to ' .... | feat(console): fix EntriesCopyCommand | null | flextype/flextype | MIT License | PHP |
@@ -2,6 +2,7 @@ package me.melijn.melijnbot.internals.web
import io.ktor.application.*
import io.ktor.http.*
+import io.ktor.request.*
import io.ktor.response.*
import io.ktor.routing.*
import io.ktor.server.engine.*
@@ -29,6 +30,7 @@ import me.melijn.melijnbot.internals.web.rest.stats.StatsResponseHandler
import me.me... | feat: testing route | null | toxicmushroom/melijn | MIT License | Kotlin |
-use std::fmt::Debug;
use codec::{Decode, Encode};
use sp_std::vec::Vec;
+use std::fmt::Debug;
use t3rn_sdk_primitives::signal::Signaller;
-// TODO: genesis
-// TODO: storage
-trait Precompile<Hash> {
+pub trait Precompile<T>
+where
+ T: frame_system::Config,
+{
/// Looks up a precompile function pointer
- fn lookup(de... | feat: update traits to be more ergonomic | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -262,8 +262,8 @@ Locale::setLanguageFromJSON('ba', __DIR__.'/config/locale/translations/ba.json')
Locale::setLanguageFromJSON('be', __DIR__.'/config/locale/translations/be.json');
Locale::setLanguageFromJSON('bg', __DIR__.'/config/locale/translations/bg.json');
Locale::setLanguageFromJSON('bn', __DIR__.'/config/loca... | feat(translations): fix incorrect language codes for czech and catalan | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+package me.melijn.melijnbot.commands.utility
+
+import io.ktor.client.request.*
+import me.melijn.melijnbot.internals.command.AbstractCommand
+import me.melijn.melijnbot.internals.command.CommandCategory
+import me.melijn.melijnbot.internals.command.ICommandContext
+
+class MavenCentralCommand : AbstractCommand("comma... | feat: beginning of a mvc cmd | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -26,6 +26,7 @@ export const defaultConfig = {
feedspub: false,
bazqux: false,
local: false,
+ feedbinDomain: 'https://feedbin.com',
},
refreshTimeout: 5 * 60 * 60,
// typical UA:
| feat: default feedbinDomain | null | diygod/rsshub-radar | MIT License | JavaScript |
@@ -24,8 +24,8 @@ const (
GrafanaProvisioningPluginsPath = "/etc/grafana/provisioning/plugins"
GrafanaProvisioningDashboardsPath = "/etc/grafana/provisioning/dashboards"
GrafanaProvisioningNotifiersPath = "/etc/grafana/provisioning/notifiers"
- PluginsInitContainerImage = "quay.io/integreatly/grafana_plugins_init"
- Pl... | feat: update init container image to 0.0.5 | null | grafana-operator/grafana-operator | Apache License 2.0 | Go |
@@ -480,6 +480,13 @@ module.exports = {
],
content: "styleguide/src/sections/StorefrontForms.md",
name: "Forms"
+ }),
+ generateSection({
+ componentNames: [
+ "AccountProfileInfo"
+ ],
+ content: "styleguide/src/sections/Account.md",
+ name: "Account"
})
]
}
| feat: initial add of AccountProfileInfo to nav | null | reactioncommerce/reaction-component-library | Apache License 2.0 | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.