diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -213,7 +213,7 @@ open class AVFoundationPlayback: Playback { if player == nil { setupPlayer() - let queue = DispatchQueue(label: "audioSelectionQueue", qos: .background) + let queue = DispatchQueue(label: "audioSelectionQueue", qos: .utility) queue.async { self.selectDefaultAudioIfNeeded() }
feat: adjusting quality of service to utility
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
-import { SearchIcon, StarIcon } from '@heroicons/react/solid' +import { ChevronDownIcon, SearchIcon, StarIcon } from '@heroicons/react/solid' import chains, { ChainId } from '@sushiswap/chain' import { Native, Token, Type } from '@sushiswap/currency' import { useDebounce, useOnClickOutside } from '@sushiswap/hooks' @@...
feat(apps/root): add chevron to search
null
sushiswap/sushiswap
MIT License
TypeScript
@@ -40,10 +40,14 @@ SmallVector<TensorPtr> apply_on_physical_tensor( ptr[i] = shp.shape[i]; } }else{ - mgb_assert(op_def.axis < shp.ndim); + int32_t axis = op_def.axis; + if (axis < 0) { + axis += shp.ndim; + } + mgb_assert(axis >= 0 && axis < (int32_t)shp.ndim); hv = HostTensorND(inp->comp_node(), {1}, dtype::Int32())...
feat(opr): add param(axis) for GetVarShape
null
megengine/megengine
Apache License 2.0
C++
@@ -27,11 +27,7 @@ const MoleculeAvatar = ({ ...others }) => { const baseClassName = 'sui-MoleculeAvatar' - const className = cx( - baseClassName, - classNameProp, - `${baseClassName}--${size}` - ) + const className = cx(baseClassName, `${baseClassName}--${size}`) const backgroundColor = useConvertStringToHex(name) con...
feat(molecule/avatar): remove className prop ext
null
sui-components/sui-components
MIT License
JavaScript
@@ -40,6 +40,7 @@ class CollectGizmo(pyblish.api.InstancePlugin): "handleEnd": handle_end, "frameStart": first_frame + handle_start, "frameEnd": last_frame - handle_end, + "colorspace": nuke.root().knob('workingSpaceLUT').value(), "version": int(version), "families": [instance.data["family"]] + instance.data["families"...
feat(nuke): adding colorspace to version data
null
pypeclub/openpype
MIT License
Python
@@ -93,6 +93,15 @@ class Duplicator source_object.dup.tap do |duplicate| @duplicated_objects[key] = duplicate duplicate.initialize_duplicate(self, key) + + # Set duplication source, if it's being tracked for this class. + if duplicate.class.method_defined?(:duplication_traceable) + traceable = DuplicationTraceable.dupl...
feat(duplication history): update duplicator to set duplication source during duplication
null
coursemology/coursemology2
MIT License
Ruby
<?php namespace Podlove\Settings; -use \Podlove\Model; - -class Modules { +class Modules +{ use \Podlove\HasPageDocumentationTrait; static $pagehook; - public function __construct( $handle ) { - + public function __construct($handle) + { Modules::$pagehook = add_submenu_page( /* $parent_slug*/$handle, /* $page_title */...
feat(modules): display module sections as cards
null
podlove/podlove-publisher
MIT License
PHP
+package com.absinthe.libchecker.database.entity + +import androidx.room.Entity + +@Entity(tableName = "rules_table") +class RuleEntity { + +} \ No newline at end of file
feat: Add RuleEntity
null
libchecker/libchecker
Apache License 2.0
Kotlin
@@ -232,7 +232,7 @@ public class Socket: NSObject, SolanaSocket { } /// Read message from socket one at a time - @discardableResult private func readMessage() async throws { + private func readMessage() async throws { try Task.checkCancellation() let message = try await task.receive() switch message {
feat: remove typo
null
p2p-org/solana-swift
MIT License
Swift
@@ -70,13 +70,16 @@ main() { local SCENARIO_DIR="scenario/${SCENARIO}/" - if ! is_master_accessible; then + if ! is_host_accessible 1000; then error "Cannot connect to ${MASTER_HOST}" fi - if ! is_node_accessible 1; then + if ! is_host_accessible 0; then + error "Cannot connect to ${MASTER_HOST}" + fi + if ! is_host_ac...
feat(perturb): unify connection checking functions into one function
null
kubernetes-simulator/simulator
Apache License 2.0
Shell
@@ -1958,6 +1958,11 @@ export const completionSpec: Fig.Spec = { description: "Manage Docker configs", // TODO Subcommands }, + { + name: "compose", + description: "Contains most of docker-compose features and flags", + // TODO Subcommands + }, { name: "container", description: "Manage containers",
feat: add 'compose' to docker spec
null
withfig/autocomplete
MIT License
TypeScript
+#include <stdio.h> +#include <string.h> +#include <stdlib.h> +#include <unistd.h> +#include "jqbs.c" +#include "json-scanf.h" + +static +void print_usage (char * prog) +{ + fprintf(stderr, "Usage: %s [-h|-s|-c] -o output-file input-file\n", + prog); + exit(EXIT_FAILURE); +} + +int main (int argc, char ** argv) +{ + si...
feat: add the main to invoke jqbs.c
null
cee-studio/orca
MIT License
C
@@ -180,7 +180,8 @@ impl Storage { /// Return full path including filename in the object store to save a chunk /// table file. /// - /// See [`parse_location`](Self::parse_location) for parsing. + /// **Important: The resulting path should be treated as a black box. It might vary over time and is an + /// implementatio...
feat: remove path parsing functionality
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -14,7 +14,8 @@ public partial class IconPage { allIcons = Enum.GetValues(typeof(BitIconName)) .Cast<BitIconName>() - .Select(v => v.GetName()) + .Select(i => i.GetName()) + .Where(n => n is not null) .ToList(); HandleClear(); base.OnInitialized();
feat(components): fix the empty space in the icon list of the Bit.BlazorUI demo project
null
bitfoundation/bitframework
MIT License
C#
@@ -12,8 +12,8 @@ use serde_json; use utils::releases::{get_xcode_release_name, infer_gradle_release_name}; use utils::xcode::{InfoPlist, XcodeProjectInfo}; -static CODEPUSH_BIN_PATH: &'static str = "code-push"; -static CODEPUSH_NPM_PATH: &'static str = "node_modules/.bin/code-push"; +static APPCENTER_BIN_PATH: &'stati...
feat: Switch from codepush to App Center CLI
null
getsentry/sentry-cli
BSD 3-Clause New or Revised License
Rust
@@ -82,8 +82,17 @@ class RNN(nn.Module): self.bias = bias self.dropout = dropout self.bidirectional = bidirectional - self.concatenate = concatenate + self.pool = pool + + if num_layers < 1: + msg = ('"bidirectional" must be set to False when num_layers < 1') + if bidirectional: + raise ValueError(msg) + msg = ('"conca...
feat: add support for RNN with no layer
null
pyannote/pyannote-audio
MIT License
Python
@@ -72,20 +72,27 @@ trait Auditable // When in strict mode, hidden and non visible attributes are excluded if ($this->getAuditStrict()) { + // Hidden attributes $this->auditableExclusions = array_merge($this->auditableExclusions, $this->hidden); - if (count($this->visible)) { + // Non visible attributes + if (!empty($t...
feat(Auditable): minor updates
null
owen-it/laravel-auditing
MIT License
PHP
+import { Tracker } from 'meteor/tracker' +import * as _ from 'underscore' +import * as React from 'react' + +export class MeteorReactComponent<IProps, IState> extends React.Component<IProps, IState> { + + private _subscriptions: {[id: string]: Meteor.SubscriptionHandle} = {} + private _computations: Array<Tracker.Comp...
feat: added MeteorReactComponent, which exposes subscribe & autorun, which will stop automatically on component unmount
null
nrkno/tv-automation-server-core
MIT License
TypeScript
@@ -27,7 +27,7 @@ class BlockchainClientTests: XCTestCase { func testPrepareSendingNativeSOL() async throws { let account = accountStorage.account! - let toPublicKey = "3h1zGmCwsRJnVk5BuRNMLsPaQu1y2aqXqXDWYCgrp5UG" + let toPublicKey = "6QuXb6mB6WmRASP2y8AavXh6aabBXEH5ZzrSH5xRrgSm" let apiClient = MockAPIClient() let bl...
feat: update sender
null
p2p-org/solana-swift
MIT License
Swift
@@ -27,7 +27,7 @@ use ockam_identity::{Identity, IdentityIdentifier, IdentityStateConst, IdentityV #[cfg(feature = "tag")] use crate::TypeTag; -pub const MAX_CREDENTIAL_VALIDITY: Duration = Duration::from_secs(6 * 3600); +pub const MAX_CREDENTIAL_VALIDITY: Duration = Duration::from_secs(30 * 24 * 3600); /// Type to rep...
feat(rust): temporarily increase crediation validity
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -246,7 +246,7 @@ ua_reqheader_str(struct user_agent *ua, char *buf, size_t bufsize) struct curl_slist *node = ua->req_header; size_t ret=0; while (NULL != node) { - ret += snprintf(buf+ret, bufsize-ret, "%s\n", node->data); + ret += snprintf(buf+ret, bufsize-ret, "%s\r\n", node->data); VASSERT_S(ret < bufsize, "[%s]...
feat: terminate request header lines with CRLF to facilitate parsing
null
cee-studio/orca
MIT License
C
@@ -290,7 +290,7 @@ impl<T: InputFormatTextBase> AligningStateTrait for AligningState<T> { let rows_to_skip = if split_info.seq_in_file == 0 { ctx.rows_to_skip } else { - 0 + (T::is_splittable() && split_info.num_file_splits > 1) as usize }; let path = split_info.file.path.clone();
feat(copy): skip one row if not first split
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -30,6 +30,10 @@ class TicketViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { itemView.orderRange.adapter = ArrayAdapter(itemView.context, R.layout.select_dialog_singlechoice, spinnerList) } + itemView.order.setOnClickListener { + itemView.orderRange.performClick() + } + if (ticket.price != null) { it...
feat: launch spinner on selecting order textView
null
fossasia/open-event-attendee-android
Apache License 2.0
Kotlin
@@ -333,15 +333,32 @@ const desktopSerpHandlers: Record<string, SerpHandler> = { return a?.firstChild?.textContent ?? null; }, actionTarget: '', - actionStyle: { + actionStyle: actionRoot => { + const style: CSSAttribute = { display: 'block', fontSize: '11px', lineHeight: '16px', padding: '0 4px', - '[data-ub-blocked="...
feat(google): filter related images
null
iorate/ublacklist
MIT License
TypeScript
@@ -175,23 +175,24 @@ func listen(ctx sdkClient.Context, txf tx.Factory, axelarCfg config.ValdConfig, bc := createBroadcaster(txf, axelarCfg, logger) - stateStore := NewStateStore(stateSource) - startBlock, err := stateStore.GetState() - if err != nil { - logger.Error(err.Error()) - startBlock = 0 - } - tmClient, err :...
feat: vald should start from latest block if the one in state is too old
null
axelarnetwork/axelar-core
Apache License 2.0
Go
@@ -61,6 +61,7 @@ namespace acl { std::unique_ptr<AnimationClip, Deleter<AnimationClip>> clip; std::unique_ptr<RigidSkeleton, Deleter<RigidSkeleton>> skeleton; + track_array_qvvf track_list; bool has_settings; algorithm_type8 algorithm_type; @@ -119,13 +120,13 @@ namespace acl if (!read_settings(&out_data.has_settings,...
feat(compression): read qvv track list from sjson files
null
nfrechette/acl
MIT License
C
@@ -104,6 +104,15 @@ func (output *Output) Balances() []*balance.Balance { return output.balances } +// ObjectStorageKey returns the key that is used to store the object in the database. +// It is required to match StorableObject interface. +func (output *Output) ObjectStorageKey() []byte { + return marshalutil.New(Out...
feat: started rewriting output model
null
iotaledger/goshimmer
Apache License 2.0
Go
@@ -52,7 +52,7 @@ public final class SnomedFhirCodeSystemLookupConverter implements FhirCodeSystem boolean requestedParent = request.containsProperty(CommonConceptProperties.PARENT.getCode()); String expandDescendants = requestedChild ? ",descendants(direct:true,expand(pt()))" : ""; String expandAncestors = requestedPa...
feat(fhir): sort SNOMED CT descriptions by typeId them by term..
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
+package org.kestra.webserver.controllers; + +import io.micronaut.http.HttpResponse; +import io.micronaut.http.annotation.Controller; +import io.micronaut.http.annotation.Get; +import lombok.extern.slf4j.Slf4j; + +@Slf4j +@Controller +public class MiscController { + @Get("/ping") + public HttpResponse<?> ping() { + ret...
feat(webserver): add a simple ping / pong for special readinessProbe
null
kestra-io/kestra
Apache License 2.0
Java
@@ -2,7 +2,7 @@ use ast; use scanner; use scanner::*; -use std::ffi::{CStr, CString}; +use std::ffi::{CString}; use std::str; use std::str::CharIndices; use wasm_bindgen::prelude::*; @@ -242,6 +242,20 @@ impl Parser { value: value, } } + fn parse_int_literal(&mut self) -> ast::IntegerLiteral { + let t = self.expect(T_I...
feat(rust): parse int and float literals
null
influxdata/flux
MIT License
Rust
@@ -127,7 +127,7 @@ class UsersController extends Controller $uuid = Uuid::uuid4()->toString(); // Get time - $time = time(); + $time = date($this->registry->get('settings.date_format'), time()); // Create accounts directory and account Filesystem::createDir(PATH['site'] . '/accounts/');
feat(admin-panel): Add date setup on user installation
null
flextype/flextype
MIT License
PHP
@@ -24,7 +24,16 @@ const SIZES = { const MoleculeDropdownList = forwardRef( ( - {children, onSelect, alwaysRender, size, value, visible, ...props}, + { + children, + onSelect, + alwaysRender, + size, + value, + visible, + onKeyDown, + ...props + }, forwardedRef ) => { const refDropdownList = useRef() @@ -63,8 +72,8 @@ ...
feat(components/molecule/dropdownList): add keyDown handler
null
sui-components/sui-components
MIT License
JavaScript
@@ -8,6 +8,7 @@ import ( "github.com/textileio/textile-go/repo" "github.com/textileio/textile-go/util" "github.com/textileio/textile-go/wallet/model" + "strings" ) // GetBlockDataKey returns the decrypted AES key for a block @@ -29,9 +30,25 @@ func (t *Thread) GetBlockData(path string, block *repo.Block) ([]byte, error...
feat(sizes): add size migrations
null
textileio/go-textile
MIT License
Go
@@ -51,7 +51,6 @@ function read (key, callback) { const mpTemplates = data['mpTemplates'] if (mpTemplates) { Object.keys(mpTemplates).forEach(name => { - console.log('read=>write', name) fs.writeFileSync(name, mpTemplates[name], 'utf-8') }) }
feat(cli): add json cache
null
dcloudio/uni-app
Apache License 2.0
JavaScript
@@ -618,17 +618,31 @@ SQL; */ public function error(): array { - if (! empty($this->mysqli->connect_errno)) + // oci_error() returns an array that already contains + // 'code' and 'message' keys, but it can return false + // if there was no error .... + if (is_resource($this->cursorId)) { - return [ - 'code' => $this->...
feat: add error method
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -171,6 +171,8 @@ auto waybar::modules::Bluetooth::update() -> void { tooltip_format = config_["tooltip-format"].asString(); } + format_.empty() ? event_box_.hide() : event_box_.show(); + auto update_style_context = [this](const std::string& style_class, bool in_next_state) { if (in_next_state && !label_.get_style_co...
feat: hide module if empty
null
alexays/waybar
MIT License
C++
+import {Package, File, Expression, ObjectExpression} from 'src/types/ast' + +/* + Helper functions for editing option statements and object expressions + from the AST of a flux program. + + option v = {a: 5, b: 6} // declaring an option in flux + + After parsing a flux program via wasm and getting an AST representatio...
feat: typescript api for editing flux options
null
influxdata/influxdb
MIT License
TypeScript
@@ -69,6 +69,9 @@ mixin BlocComponent<B extends BlocBase<S>, S> on Component { /// /// {@endtemplate} class FlameBlocGame extends FlameGame { + ///FlameBlocGame contructor with an optional [Camera] as a parameter to FlameGame + FlameBlocGame({Camera? camera}) : super(camera: camera); + @visibleForTesting /// Contains a...
feat: Optional Camera argument in FlameBlocGame
null
flame-engine/flame
MIT License
Dart
@@ -317,7 +317,13 @@ JSValueRef JSNode::insertBefore(JSContextRef ctx, JSObjectRef function, JSObject return nullptr; } + if (nodeInstance->hasNodeFlag(NodeInstance::NodeFlag::IsDocumentFragment)) { + while (nodeInstance->childNodes.size()) { + selfInstance->internalInsertBefore(nodeInstance->childNodes[0], referenceIn...
feat: insertBefore support documentFragment
null
openkraken/kraken
Apache License 2.0
C++
@@ -121,6 +121,8 @@ const ( LabelsResourceType = ResourceType("labels") // 11 // ViewsResourceType gives permission to one or more views. ViewsResourceType = ResourceType("views") // 12 + // BillingResourceType gives permission to one or more billings. + BillingResourceType = ResourceType("billing") // 13 ) // AllResou...
feat(influxdb): add billing resource type
null
influxdata/influxdb
MIT License
Go
@@ -52,7 +52,7 @@ KUBECTL="${REPO_ROOT}/hack/tools/bin/kubectl" cd "${REPO_ROOT}" && make "${KUBECTL##*/}" ## Install cert manager and wait for availability -"${KUBECTL}" apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.7.1/cert-manager.yaml +"${KUBECTL}" apply -f https://github.com/cert-manag...
feat: Upgrade Cert-Manager version to the latest
null
kubernetes-sigs/cluster-api-provider-gcp
Apache License 2.0
Shell
@@ -32,7 +32,6 @@ import java.util.LinkedList; import org.cactoos.Input; import org.cactoos.io.InputOf; import org.cactoos.io.ResourceOf; -import org.cactoos.scalar.Unchecked; import org.cactoos.text.TextOf; import org.cactoos.text.UncheckedText; import org.eolang.maven.hash.ChCached; @@ -63,73 +62,54 @@ final class Pr...
feat(#1679): refactor findsProbesViaOfflineHashFile test
null
cqfn/eo
MIT License
Java
+package crypto + +import ( + "io" + + "github.com/ernado/td/bin" +) + +func RandInt128(reader io.Reader) (bin.Int128, error) { + buf := make([]byte, bin.Word*4) + if _, err := io.ReadFull(reader, buf); err != nil { + return bin.Int128{}, err + } + b := &bin.Buffer{Buf: buf} + return b.Int128() +}
feat(crypto): add RandInt128
null
gotd/td
MIT License
Go
@@ -17,6 +17,7 @@ const URI = { services: '#/billing/autoRenew', support: '#/ticket', supportLevel: '#/useraccount/support/level', + userAccount: '#/useraccount/dashboard', userEmails: '#/useraccount/emails', }; @@ -54,6 +55,7 @@ export default { supportLevel: `${managerRoot.EU}/manager/dedicated/${URI.supportLevel}`, ...
feat(redirection): add user account constants
null
ovh/manager
BSD 3-Clause New or Revised License
JavaScript
use std::borrow::Cow; +use minicbor::bytes::ByteSlice; use minicbor::{Decode, Encode}; #[cfg(feature = "tag")] @@ -16,7 +17,7 @@ pub struct Project<'a> { #[b(2)] pub name: Cow<'a, str>, #[b(3)] pub space_name: Cow<'a, str>, #[b(4)] pub services: Vec<Cow<'a, str>>, - #[b(5)] pub access_route: Vec<u8>, + #[b(5)] pub acce...
feat(rust): change type of project's access_route field from vector to bytes
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -660,7 +660,7 @@ static void* dispatch_run(void *p_cxt) { struct discord_event_cxt *cxt = p_cxt; - log_info(ANSICOLOR("pthread %u is running to serve %s", ANSI_FG_RED), + log_info("thread " ANSICOLOR("%u", ANSI_BG_RED) " is serving %s", cxt->tid, cxt->p_gw->payload.event_name); (*cxt->on_event)(cxt->p_gw, &cxt->data...
feat: less annoying coloring
null
cee-studio/orca
MIT License
C
@@ -1225,6 +1225,43 @@ func (manager *SVpcManager) OrderByExtraFields( if err != nil { return nil, errors.Wrap(err, "SGlobalVpcResourceBaseManager.OrderByExtraFields") } + + if db.NeedOrderQuery([]string{query.OrderByNetworkCount}) { + var ( + wireq = WireManager.Query().SubQuery() + netq = NetworkManager.Query().SubQu...
feat(vpcs): list: add order_by_network_count
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -479,6 +479,14 @@ fn validate_dep( } /// Part of dependency validation, any checks related to the depenency's manifest content. fn validate_dep_manifest(dep: &Pinned, dep_manifest: &ManifestFile) -> Result<()> { + // Ensure that the dependency is a library. + if !matches!(dep_manifest.program_type()?, TreeType::Libr...
feat: check for dependency program type in dependency manifest validation
null
fuellabs/sway
Apache License 2.0
Rust
@@ -17,11 +17,9 @@ import javax.ws.rs.core.Response.Status; import org.camunda.bpm.engine.ProcessEngine; import org.camunda.bpm.engine.batch.Batch; -import org.camunda.bpm.engine.history.HistoricProcessInstanceQuery; import org.camunda.bpm.engine.rest.dto.SuspensionStateDto; import org.camunda.bpm.engine.rest.dto.histo...
feat(engine): Update suspend state batch process rest api
null
camunda/camunda-bpm-platform
Apache License 2.0
Java
@@ -46,6 +46,8 @@ export class CommentApiService { return 'keyresults'; case ViewCommentParentType.topicDraft: return 'topicDrafts'; + case ViewCommentParentType.objective: + return 'objectives'; default: return ''; }
feat(objective-comments): Added objective url path to frontend comment getParentObjectUrlPath
null
burningokr/burningokr
Apache License 2.0
TypeScript
@@ -332,6 +332,12 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options: player = ExoPlayerFactory.newSimpleInstance(rendererFactory, trackSelector) player?.playWhenReady = false + player?.repeatMode = options.options[ClapprOption.LOOP.value]?.let { loop -> + when (loop as? Boolean ?: false)...
feat(loop_video): Add capability to see a video in a loop
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -51,14 +51,28 @@ async fn run_impl(ctx: &Context, opts: CommandGlobalOpts, cmd: EnrollCommand) -> let cloud_opts = cmd.cloud_opts.clone(); let space = default_space(ctx, &opts, &cloud_opts, &node_name).await?; - let project = default_project(ctx, &opts, &cloud_opts, &node_name, &space).await?; + default_project(ctx,...
feat(rust): on `ockam enroll`, enroll the admin as a member of all their projects
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -33,3 +33,8 @@ func BenchmarkGenShortIDTimeConsuming(b *testing.B) { GenShortID() } } + +func TestRandomStr(t *testing.T) { + test := RandomStr(8) + t.Log(test) +}
feat: add func RandomStr
null
go-eagle/eagle
MIT License
Go
namespace OwenIt\Auditing\Exceptions; +use Throwable; + class AuditableTransitionException extends AuditingException { + /** + * Attribute incompatibilities. + * + * @var array + */ + protected $incompatibilities = []; + + /** + * {@inheritdoc} + */ + public function __construct($message = '', array $incompatibilities ...
feat(AuditableTransitionException): override constructor and add getIncompatibilities() method
null
owen-it/laravel-auditing
MIT License
PHP
@@ -37,6 +37,13 @@ os.alert.AlertManager = function() { * @private */ this.missedAlertsProcessed_ = false; + + /** + * Ensures that an alert is only sent once + * @type {Object<string, boolean>} + * @private + */ + this.onceMap_ = {}; }; goog.inherits(os.alert.AlertManager, goog.events.EventTarget); goog.addSingletonGe...
feat(alerts): allow alerts to only be sent once
null
ngageoint/opensphere
Apache License 2.0
JavaScript
@@ -215,10 +215,10 @@ class SwipeGestureRecognizer extends OneSequenceGestureRecognizer { ).distance * (movedHorizontalLocally.dx ?? 1).sign; if (_hasSufficientGlobalDistanceAndVelocityToAccept(event)) { - if (_globalVerticalDistanceMoved.abs() > kTouchSlop) { - _direction = (_globalVerticalDistanceMoved > 0) ? DIRECTI...
feat: modify _direction
null
openkraken/kraken
Apache License 2.0
Dart
@@ -85,6 +85,9 @@ pub struct Args { )] responder_public_key: Option<String>, + #[structopt(long, help = r#"Address used to reach "worker" on remote machine"#)] + worker_address: Option<String>, + // TODO: expose `control` and `control_port` once runtime configuration is needed. #[structopt( short, @@ -115,6 +118,7 @@ i...
feat(rust): add --worker-address arg back to cli
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -50,6 +50,9 @@ class _SummaryCardState extends State<SummaryCard> { // very high number for infinite rows. int totalPrintableRows = 10000; + // For some reason, special case for "label" attributes + final Set<String> _attributesToExcludeIfStatusIsUnknown = <String>{}; + @override Widget build(BuildContext context) {...
feat: (2) - same behavior for label attribute when mandatory or not
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -6,7 +6,6 @@ import 'package:flame/flame.dart'; import 'package:flame/sprite.dart'; import 'package:tiled/tiled.dart'; import 'package:xml/xml.dart'; - import 'flame_tsx_provider.dart'; import 'simple_flips.dart'; @@ -30,7 +29,7 @@ class RenderableTiledMap { this.batchesByLayer, this.destTileSize, ) { - _fillBatches...
feat: modifiable Layer and TileData in RenderableTileMap
null
flame-engine/flame
MIT License
Dart
@@ -168,6 +168,7 @@ namespace acl { default: case track_category8::scalarf: return m_desc.scalar.output_index; + case track_category8::transformf: return m_desc.transform.output_index; } } @@ -180,7 +181,8 @@ namespace acl switch (desc_type::category) { default: - case track_category8::scalarf: return m_desc.scalar; + ...
feat(compression): add transform track description
null
nfrechette/acl
MIT License
C
@@ -356,13 +356,23 @@ where info!(%db_name, ?range, ?window_every, ?offset, ?aggregate, ?window, predicate=%predicate.loggable(),"read_window_aggregate"); + let ob = self.metrics.requests.observation(); + let labels = &[ + KeyValue::new("operation", "read_window_aggregate"), + KeyValue::new("db_name", db_name.to_string...
feat: instrument read_window_aggregate
null
influxdata/influxdb_iox
Apache License 2.0
Rust
use crate::OckamError; -use hashbrown::HashMap; use ockam_vault_core::{Hasher, KeyIdVault, PublicKey, Secret, SecretVault, Signer, Verifier}; use std::ops::{Deref, DerefMut}; use std::sync::{Arc, Mutex}; @@ -15,6 +14,7 @@ mod change; use authentication::Authentication; pub use change::*; use history::ProfileChangeHisto...
feat(rust): use ockam_core hash_map instead of hashbrown
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -47,11 +47,23 @@ public final class PluginEntry { /** * Constructs with a CordovaPlugin already instantiated. + * + * @param service The name of the service + * @param pluginClass The plugin class name */ public PluginEntry(String service, CordovaPlugin plugin) { this(service, plugin.getClass().getName(), true, plug...
feat: overload PluginEntry constructor to set onload property
null
apache/cordova-android
Apache License 2.0
Java
@@ -37,7 +37,7 @@ JSDocument::~JSDocument() { JSValueRef JSDocument::createElement(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef *exception) { if (argumentCount < 1) { - throwJSError(ctx, "Failed to createElement: only accept 1 parameter."...
feat: modify printf
null
openkraken/kraken
Apache License 2.0
C++
@@ -20,3 +20,8 @@ test('test move() method', function () { $this->assertTrue(flextype('media_folders')->create('foo')); $this->assertTrue(flextype('media_folders')->move('foo', 'bar')); }); + +test('test copy() method', function () { + $this->assertTrue(flextype('media_folders')->create('foo')); + $this->assertTrue(fle...
feat(tests): add tests for MediaFolders copy() method
null
flextype/flextype
MIT License
PHP
@@ -127,4 +127,10 @@ mod tests { let v = vec![0, 0, 0, 0]; let _ = Color::try_from(&v[..]).unwrap(); } + #[test] + #[should_panic] + fn test_slice_insufficient_length() { + let v = vec![0, 0]; + let _ = Color::try_from(&v[..]).unwrap(); + } }
feat(try_from_into): Add insufficient length test
null
rust-lang/rustlings
MIT License
Rust
+// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. +// See the LICENCE file in the repository root for full licence text. + +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using osu.Framework.Graphics; +using osu.Game.Rulesets.Objects; +using osu.Game.Grap...
feat(hud/gameplay): implement Argon song progress density graph (SegmentedGraph)
null
ppy/osu
MIT License
C#
public static final String RTP_STREAM_ID_URN = "urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id"; + /** + * The URN which identifies the transmission time-offset extensions + * in {@link "https://tools.ietf.org/html/rfc5450"}. + */ + public static final String TOF_URN = "urn:ietf:params:rtp-hdrext:toffset"; + /** * The d...
feat: Adds a constant for the transmission time-offset header extension
null
jitsi/libjitsi
Apache License 2.0
Java
@@ -96,6 +96,7 @@ impl KafkaBufferProducer { cfg.set("message.max.bytes", "31457280"); cfg.set("queue.buffering.max.kbytes", "31457280"); cfg.set("request.required.acks", "all"); // equivalent to acks=-1 + cfg.set("compression.type", "snappy"); let producer: FutureProducer = cfg.create()?;
feat(iox): Enable snappy compression in the producer
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -91,7 +91,8 @@ class ForumSerializer extends AbstractSerializer 'defaultRoute' => $this->settings->get('default_route'), 'canViewForum' => $this->actor->can('viewForum'), 'canStartDiscussion' => $this->actor->can('startDiscussion'), - 'canSearchUsers' => $this->actor->can('searchUsers') + 'canSearchUsers' => $this->...
feat: expose assets base url to frontend forum model
null
flarum/core
MIT License
PHP
@@ -80,7 +80,6 @@ export default class SimpleBar { ); } - this.recalculate = throttle(this.recalculate, 64); this.onMouseMove = throttle(this.onMouseMove, 64); this.onWindowResize = debounce(this.onWindowResize, 64, { leading: true }); this.onStopScrolling = debounce(this.onStopScrolling, this.stopScrollDelay); @@ -309...
feat(core): replace throttle by RAQ to fix stuttering (ref
null
grsmto/simplebar
MIT License
JavaScript
@@ -306,6 +306,8 @@ namespace Cicada { int64_t pts = dynamic_cast<AVAFFrame *>(frame)->getInfo().pts; + int64_t timePosition = frame->getInfo().timePosition; + if (mFirstPts == INT64_MIN) { mFirstPts = pts; } @@ -378,6 +380,7 @@ namespace Cicada { // int plane_size = bps * filt_frame->nb_samples * (planar ? 1 : channel...
feat(audiofilter): passthrough timepos info
null
alibaba/cicadaplayer
MIT License
C++
@@ -25,6 +25,7 @@ use common_expression::types::NumberType; use common_expression::types::StringType; use common_expression::vectorize_with_builder_1_arg; use common_expression::vectorize_with_builder_2_arg; +use common_expression::vectorize_with_builder_4_arg; use common_expression::FunctionProperty; use common_expres...
feat(query): eliminate the allocation
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -8,10 +8,18 @@ import ( var defaultVolumeSize = 10 +func intPtr(i int64) *int64 { + return &i +} + func strPtr(s string) *string { return &s } +func floatPtr(f float64) *float64 { + return &f +} + func decimalPtr(d decimal.Decimal) *decimal.Decimal { return &d }
feat(google): add intPtr and floatPtr to utils
null
infracost/infracost
Apache License 2.0
Go
@@ -11,5 +11,27 @@ mkdir __tests__ touch __tests__/$COMPONENT.spec.jsx touch $COMPONENT.jsx + +{ +printf "import React from 'react'\n" +printf "import PropTypes from 'prop-types'\n" +printf "import classnames from 'classnames'\n\n" + +printf "import safeRest from '../../safeRest'\n\n" + +printf "import styles from './%...
feat(scaffold): Update script to include default text for Components.jsx
null
telus/tds-core
MIT License
Shell
#!/bin/bash set -eu -o pipefail +shopt -s expand_aliases # extract ordinal index from server ID [[ $HOSTNAME =~ -([0-9]+)$ ]] || (echo "invalid hostname" && exit 1) ordinal=${BASH_REMATCH[1]} # calculate server ID -offset="${INFLUXDB_IOX_ID_OFFSET:-0}" +offset="${INFLUXDB_IOX_ID_OFFSET:-1}" server_id=$((ordinal + offse...
feat: improve glue code
null
influxdata/influxdb_iox
Apache License 2.0
Shell
@@ -12,6 +12,7 @@ import ConfigurationMapValue from "#SRC/js/components/ConfigurationMapValue"; import Icon from "#SRC/js/components/Icon"; import AlertPanel from "#SRC/js/components/AlertPanel"; import AlertPanelHeader from "#SRC/js/components/AlertPanelHeader"; +import ClipboardTrigger from "#SRC/js/components/Clipbo...
feat(ServiceEndpointsTab): reflect store updates to connection container component
null
dcos/dcos-ui
Apache License 2.0
JavaScript
@@ -21,11 +21,15 @@ export interface WebGLExtensionMap { ANGLE_instanced_arrays: ANGLE_instanced_arrays; EXT_blend_minmax: EXT_blend_minmax; EXT_color_buffer_float: WEBGL_color_buffer_float; + EXT_color_buffer_half_float: EXT_color_buffer_half_float; + EXT_float_blend: EXT_float_blend; EXT_frag_depth: EXT_frag_depth; E...
feat(webgl): add more extensions to WebGLExtensionMap
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -5,4 +5,6 @@ describe eks_nodegroup('my-eks-nodegroup'), cluster: 'my-cluster' do it { should exist } its(:version) { should eq '1.17' } it { should be_active } + its(:nodegroup_arn) { should eq 'arn:aws:eks:us-west-2:012345678910:nodegroup/my-cluster/my-nodegroup/08bd000a' } + its(:node_role) { should eq 'arn:aws:i...
feat: extended spec
null
k1low/awspec
MIT License
Ruby
+// Copyright (c) 2017-2019, Lawrence Livermore National Security, LLC and +// other BLT Project Developers. See the top-level COPYRIGHT file for details +// +// SPDX-License-Identifier: (BSD-3-Clause) + +//---------------------------------------------------------------------- + +/* + fortran_mpi_test manages MPI_Init ...
feat: FRUIT MPI smoke test: add C++ driver
null
llnl/blt
BSD 3-Clause New or Revised License
C++
@@ -85,10 +85,11 @@ class EntriesFetchCommand extends Command $input->getOption('find-contains') and $options['find']['contains'] = $input->getOption('find-contains'); $input->getOption('find-not-contains') and $options['find']['not_contains'] = $input->getOption('find-not-contains'); $input->getOption('find-path') and...
feat(console): update command for EntriesFetch
null
flextype/flextype
MIT License
PHP
@@ -16,7 +16,6 @@ from .helper import guess_mime, array2pb, pb2array if False: from ..proto import jina_pb2 - class BaseConvertDriver(BaseRecursiveDriver): def __init__(self, target: str, override: bool = False, *args, **kwargs): @@ -101,17 +100,16 @@ class Buffer2NdArray(BaseConvertDriver): d.blob.CopyFrom(array2pb(np...
feat: add ndarray to uri driver
null
jina-ai/jina
Apache License 2.0
Python
@@ -241,9 +241,10 @@ public class JsonConfigurationService implements Serializable { public void diff(Object obj1, Object obj2) { // Make sure that 2 objects has same type + if (obj1 != null && obj2 != null) { if (obj1.getClass().equals(obj2.getClass())) { LdapOxTrustConfiguration ldapOxTrustConfiguration = getOxTrustC...
feat(oxtrust-server): added null checks in implentations
null
gluufederation/oxtrust
MIT License
Java
@@ -39,22 +39,18 @@ GO111MODULE=on go mod vendor # anything in this loop shopt -s nullglob -for cmd in cmd/* ; do - cd "$cmd" if [ ! -f Attribution.txt ]; then - echo "An Attribution.txt file for $cmd is missing, please add" + echo "An Attribution.txt file is missing, please add" EXIT_CODE=1 else # loop over every libr...
feat(all): added fix to test-attribution-txt.sh to look for attribution.txt in base only
null
edgexfoundry/edgex-go
Apache License 2.0
Shell
* THE SOFTWARE. */ -/* - * Description: - * What is this file about? - * - * Revision history: - * xxxx-xx-xx, author, first version - * xxxx-xx-xx, author, fix bug about xxx - */ - #include <dsn/dist/replication/mutation_log_tool.h> -#include "../lib/mutation_log.h" +#include <dsn/utility/time_utils.h> +#include "dist...
feat: refine mlog_dump output
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -108,14 +108,14 @@ function iter(i) { return; } - var collection = this.collection, - args = arguments, - _this = this, - debug = _this.conn.base.options.debug; + var collection = this.collection; + var args = arguments; + var _this = this; + var debug = _this.conn.base.options.debug; if (debug) { if (typeof debug =...
feat: pass collection as context to debug function
null
automattic/mongoose
MIT License
JavaScript
@@ -21,6 +21,7 @@ function* initialize(api: PodloveApiClient) { yield put(auphonic.setToken(result)) yield fork(initializeAuphonicApi) yield takeEvery(auphonic.SET_PRODUCTION, memorizeSelectedProduction, api) + yield takeEvery(auphonic.DESELECT_PRODUCTION, forgetSelectedProduction, api) } } @@ -274,6 +275,12 @@ functio...
feat: forget selected production when deselecting
null
podlove/podlove-publisher
MIT License
TypeScript
@@ -248,7 +248,7 @@ class Connection extends BaseConnection implements ConnectionInterface */ public function affectedRows(): int { - return $this->connID->affected_rows ?? 0; + return oci_num_rows($this->stmtId); } //--------------------------------------------------------------------
feat: add get affected rows method
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -58,14 +58,13 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options: private val trackGroupIndexKey = "trackGroupIndexKey" private val formatIndexKey = "formatIndexKey" private var needSetupMediaOptions = true - private var subtitleOff: MediaOption? = null private val bandwidthMeter = Def...
feat(drm_exoplayer): add DRM_LICENCE option
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
use std::sync::Arc; +use chrono::DateTime; +use chrono::Utc; use common_catalog::catalog::CATALOG_DEFAULT; use common_exception::Result; use common_meta_app::schema::CountTablesReq; @@ -27,30 +29,50 @@ use serde::Serialize; use crate::sessions::SessionManager; #[derive(Serialize, Deserialize, Eq, PartialEq, Debug, Defa...
feat: revise to tables info api
null
datafuselabs/databend
Apache License 2.0
Rust
import java.util.ArrayList; import java.util.Collections; import java.util.UUID; +import lombok.NonNull; public final class CloudNetCloudflareModule extends DriverModule { @@ -53,11 +54,11 @@ public static CloudNetCloudflareModule instance() { @ModuleTask(order = 127, event = ModuleLifeCycle.STARTED) public void loadCo...
feat(cloudflare): implement reloading to cloudflare module
null
cloudnetservice/cloudnet-v3
Apache License 2.0
Java
@@ -99,6 +99,16 @@ def get_data(): 'idx': 15, "description": "Build your profile and share posts with other users." }, + { + "module_name": 'Leaderboard', + "category": "Places", + "label": _('Leaderboard'), + "icon": "fa fa-trophy", + "type": 'link', + "link": '#social/users', + "color": '#FF4136', + 'standard': 1, + ...
feat: Add leaderboard to Places
null
frappe/frappe
MIT License
Python
@@ -542,11 +542,11 @@ public override bool GetControllerButtonState(ButtonTypes buttonType, ButtonPres case ButtonPressTypes.Press: case ButtonPressTypes.PressDown: case ButtonPressTypes.PressUp: - return IsAxisButtonPress(controllerReference, buttonType, pressType); + return (IsMouseAliasPress(isRightController, butto...
feat(SDK): support mouse button in Unity SDK
null
extendrealityltd/vrtk
MIT License
C#
@@ -23,6 +23,8 @@ logger: logging.Logger = logging.getLogger(__name__) P = ParamSpec("P") +MAX_QUERIES_TO_COMBINE_AT_ONCE = 40 + # We need to make sure that only one query combiner attempts to patch # the SQLAlchemy execute method at a time so that they don't interfere. @@ -286,6 +288,11 @@ class SQLAlchemyQueryCombine...
feat(ingest): profiling add upper bound on combined query size
null
linkedin/datahub
Apache License 2.0
Python
@@ -34,7 +34,9 @@ class Backend(BaseBackend): super().__init__(*args, **kwargs) self._tables = dict() - def do_connect(self, tables: MutableMapping[str, pl.LazyFrame]) -> None: + def do_connect( + self, tables: MutableMapping[str, pl.LazyFrame] | None = None + ) -> None: """Construct a client from a dictionary of `pola...
feat(polars): allow ibis.polars.connect() to function without any arguments
null
ibis-project/ibis
Apache License 2.0
Python
@@ -70,6 +70,37 @@ class SpriteAnimationData { }); } + /// Specifies the range of the sprite grid. + /// + /// Make sure your sprites are placed left-to-right and top-to-bottom + SpriteAnimationData.range({ + required int start, + required int end, + required int amount, + required List<double> stepTimes, + required Ve...
feat: Add range constructor on SpriteAnimationData
null
flame-engine/flame
MIT License
Dart
@@ -64,66 +64,14 @@ class ThemesController extends Controller public function activateProcess(Request $request, Response $response) : Response { // Get data from the request - $data = $request->getParsedBody(); - - $site_theme_settings_dir = PATH['config']['site'] . '/themes/'; - $site_theme_settings_file = PATH['confi...
feat(admin-plugin): remove complex logic for themes activation process
null
flextype/flextype
MIT License
PHP
@@ -28,13 +28,16 @@ package org.hisp.dhis.feedback; * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -import org.hisp.dhis.common.DxfNamespaces; - import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annot...
feat: Add 'errorProperties' to ErrorReport
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
-const iframe = (aid, page) => - `<iframe src="https://player.bilibili.com/player.html?aid=${aid}${page ? `&page=${page}` : ''}" width="650" height="477" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>`; +const iframe = (aid, page, bvid) => + `<iframe src="https://player.bil...
feat: bilibili bvid /video/page
null
diygod/rsshub
MIT License
JavaScript
@@ -806,6 +806,19 @@ func (s *SKVMGuestInstance) SaveDesc(desc jsonutils.JSONObject) error { return nil } +func (s *SKVMGuestInstance) GetVpcNIC() jsonutils.JSONObject { + nics, _ := s.Desc.GetArray("nics") + for _, nic := range nics { + vpcProvider, _ := nic.GetString("vpc", "provider") + if vpcProvider == compute.VPC...
feat(host): kvm: add GetVpcNIC
null
yunionio/yunioncloud
Apache License 2.0
Go