diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -1325,3 +1325,91 @@ class SecondUser(HttpUser): self.assertEqual(0, proc.returncode) self.assertEqual(0, proc_worker.returncode) + + def test_worker_indexes(self): + content = ( + MOCK_LOCUSTFILE_CONTENT + + """ +class AnyUser(HttpUser): + host = "http://127.0.0.1:8089" + wait_time = between(0, 0.1) + @task + def my...
feat: add integration test for worker index
null
locustio/locust
MIT License
Python
+/* + * @lc app=leetcode id=3 lang=cpp + * + * [3] Longest Substring Without Repeating Characters + */ + +#include <set> +#include <map> +#include <string> +using namespace std; + +// @lc code=start +class Solution { +public: + int lengthOfLongestSubstring(string s) { + return lengthOfLongestSubstringMap(s); + } + // O...
feat: leetcode 3
null
upupming/algorithm
MIT License
C++
@@ -211,6 +211,8 @@ class DownloadIntentClean extends Base WHERE '.$where.' AND tt.taxonomy = \'shows\' GROUP BY tr.term_taxonomy_id + ORDER BY + downloads DESC '; error_log(print_r($sql, true));
feat(analytics): downloads by shows are ordered by download number
null
podlove/podlove-publisher
MIT License
PHP
@if($page->id && !Config::get('lorekeeper.text_pages.'.$page->key)) <a href="#" class="btn btn-danger float-right delete-page-button">Delete Page</a> @endif + @if($page->id) + <a href="{{ $page->url }}" class="btn btn-info float-right mr-md-2">View Page</a> + @endif </h1> {!! Form::open(['url' => $page->id ? 'admin/pag...
feat: adds "view page" button to sitepage edit
null
corowne/lorekeeper
MIT License
PHP
@@ -20,6 +20,7 @@ export class Dnd<T> extends Disablable<Dnd.EventArgMap<T>> { currentDropTarget: Cell | null = null dragElement: HTMLElement | null previewElement: HTMLElement | null + data?: T private rateX: number = 0 private rateY: number = 0 @@ -38,13 +39,10 @@ export class Dnd<T> extends Disablable<Dnd.EventArgMa...
feat(dnd): move data into options
null
antvis/x6
MIT License
TypeScript
@@ -28,6 +28,10 @@ class Parsedown extends \ParsedownToC /** {@inheritdoc} */ protected $regexAttribute = '(?:[#.][-\w:\\\]+[ ]*|[-\w:\\\]+(?:=(?:["\'][^\n]*?["\']|[^\s]+)?)?[ ]*)'; + protected $regexImage = "~^!\[.*?\]\(.*?\)~"; + + protected $regexLink = "~^\[.*?\]\(.*?\)~"; + /** @var Highlighter */ protected $highl...
feat: figure/caption to image and link with title
null
cecilapp/cecil
MIT License
PHP
package me.melijn.melijnbot.internals.utils.message import io.ktor.client.request.* +import io.sentry.Scope +import io.sentry.Sentry import kotlinx.coroutines.runBlocking import me.melijn.melijnbot.Container +import me.melijn.melijnbot.MelijnBot import me.melijn.melijnbot.internals.command.ICommandContext import me.mel...
feat: sentry scope and sentry handling
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -11,6 +11,7 @@ use crate::{ poison::{PoisonCabinet, PoisonPill}, }; use data_types2::{PartitionId, SequenceNumber, SequencerId}; +use metric::{Metric, U64Counter}; use observability_deps::tracing::{error, info}; use parking_lot::Mutex; use std::{collections::BTreeMap, sync::Arc, time::Duration}; @@ -101,6 +102,15 @@...
feat: add ingester lifecycle metrics
null
influxdata/influxdb_iox
Apache License 2.0
Rust
import markers from './markers' import { version, name } from '../package.json' +const dflts = { + text: 'grainline' +} + export default { name: name, version: version, @@ -13,13 +17,17 @@ export default { }, }, macros: { - grainline: function (so) { + grainline: function (so={}) { if (so === false) { delete this.point...
feat(plugin-grainline): Added support for custom text
null
freesewing/freesewing
MIT License
JavaScript
@@ -26,7 +26,7 @@ Config::setParam('cookieSamesite', Response::COOKIE_SAMESITE_NONE); function mapResponseFormatToClass(string $responseFormat): Filter { switch($responseFormat) { - case preg_match($responseFormat, "/0\.[0-6]\.\d/"): + case preg_match($responseFormat, "/0\.[0-6]\.\d?/"): return new V06(); default: retu...
feat: modified the regex
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -56,6 +56,10 @@ pub struct Shared { /// All settings which are used by the client #[derive(PartialEq, Clone, Debug, Deserialize, Serialize)] pub struct Client { + /// If set to true, all tasks will be restart in place, instead of creating a new task. + /// False is the default, as you'll lose the logs of the previou...
feat: Add 'restart_in_place' config flag for client
null
nukesor/pueue
MIT License
Rust
using Avalonia.OpenGL; using Avalonia.Platform; using Avalonia.Rendering; -using Avalonia.Threading; using JetBrains.Annotations; namespace Avalonia.LinuxFramebuffer @@ -51,11 +50,11 @@ void Initialize() } - internal static LinuxFramebufferLifetime Initialize<T>(T builder, IOutputBackend outputBackend) where T : AppBui...
feat: add overload thath accept IInputBackend to Linux AppBuilder
null
avaloniaui/avalonia
MIT License
C#
@@ -31,6 +31,7 @@ use futures_util::AsyncReadExt; use futures_util::StreamExt; use opendal::io_util::CompressAlgorithm; +use crate::processors::sources::input_formats::beyond_end_reader::BeyondEndReader; use crate::processors::sources::input_formats::input_context::InputContext; use crate::processors::sources::input_fo...
feat(copy): AligningStateTrait add fn read_beyond_end()
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -251,6 +251,7 @@ export const VirtualTableBody = (props: VirtualTableBodyProps) => { <div {...rowProps} style={{ + ...(rowProps.style ?? {}), height: `${rowHeight}px`, transform: `translateY(${virtualRow.start}px)`, position: 'absolute'
feat(AnalyticalTable): allow inline styles for rows in custom hooks
null
sap/ui5-webcomponents-react
Apache License 2.0
TypeScript
@@ -43,6 +43,7 @@ class Application(object): CONFIG_YML = '{experiment_dir}/config.yml' WEIGHTS_H5 = '{train_dir}/weights/{epoch:04d}.h5' + WEIGHTS_PT = '{train_dir}/weights/{epoch:04d}.pt' # created by "validate" mode VALIDATE_DIR = '{train_dir}/validate/{protocol}' @@ -58,10 +59,12 @@ class Application(object): app.t...
feat: add pytorch support to Application (w. new "backend" parameter)
null
pyannote/pyannote-audio
MIT License
Python
@@ -448,7 +448,10 @@ future<StatusOr<spanner_proto::ResultSet>> SessionPool::AsyncRefreshSession( std::string session_name) { spanner_proto::ExecuteSqlRequest request; request.set_session(std::move(session_name)); + // Single-use transaction with strong concurrency. request.set_sql("SELECT 1;"); + request.mutable_reque...
feat(spanner): send session-refresh request at low priority
null
googleapis/google-cloud-cpp
Apache License 2.0
C++
@@ -14,5 +14,9 @@ extension SolanaSDK { case testnet = "testnet" public var cluster: String {rawValue} + + public var isTestnet: Bool { + self != .mainnetBeta + } } }
feat: isTestnet checking method
null
p2p-org/solana-swift
MIT License
Swift
@@ -115,7 +115,7 @@ initWithErrorName:(NSString *_Nonnull)name * - Reads default to the BugsnagConfiguration apiKey value unless explicitly set. * - Writes are not persisted to BugsnagConfiguration. */ -@property(readwrite, copy, nonnull) NSString *apiKey; +@property(readwrite, copy, nullable) NSString *apiKey; /** * D...
feat: make apiKey nullable
null
bugsnag/bugsnag-cocoa
MIT License
C
@@ -552,6 +552,28 @@ const I18N_CONF = { usernameError: 'User name cannot be empty!', roleError: 'Role cannot be empty!', }, + PermissionsManagement: { + privilegeManagement: 'Permissions Management', + addPermission: 'Add Permission', + role: 'Role', + resource: 'Resource', + action: 'Action', + operation: 'Operation'...
feat: privilege management i18n
null
alibaba/nacos
Apache License 2.0
JavaScript
@@ -171,9 +171,10 @@ static bool read_metadata_file(const char* metadata_filename, const char*& out_m int main(int argc, char* argv[]) { -#if defined(_WIN32) && 0 - // Set the process affinity to physical core 6 (out of 12), on Ryzen 2950X it is the fastest core of the Die 1 - const DWORD_PTR physical_core_index = 6; +...
feat(decompression): on Windows we set the processor affinity for consistent results
null
nfrechette/acl
MIT License
C++
@@ -18,6 +18,9 @@ use tracing::trace; pub trait RetryPolicy<E>: Send + Sync + Debug { /// Whether to retry the request based on the given `error` fn should_retry(&self, error: &E) -> bool; + + /// Providers may include the `backoff` in the error response directly + fn backoff_hint(&self, error: &E) -> Option<Duration>;...
feat: detect requested backoff
null
gakonst/ethers-rs
Apache License 2.0
Rust
+export DOCKER_USER='localhost:32000' +export BUILD_VERSION='0.0.0' +cd ../.. +docker-compose build +docker-compose push + +microk8s kubectl delete --all deployments -n reactive-trader-local +microk8s kubectl delete --all services -n reactive-trader-local + +for f in ./services/kubernetes/*.yaml; do cat $f | /usr/bin/e...
feat: added a script for deploy on kubernetes locally
null
adaptiveconsulting/reactivetradercloud
Apache License 2.0
Shell
@@ -4,7 +4,7 @@ import { logger } from '@storybook/client-logger'; interface TagItem { name: string; - type: string; + type: { text: string }; description: string; default?: any; defaultValue?: any; @@ -24,8 +24,17 @@ interface Tag { interface CustomElements { tags: Tag[]; + modules?: [] } +interface Module { + declara...
feat: support Custom Elements Manifest v1
null
storybookjs/storybook
MIT License
TypeScript
@@ -32,6 +32,7 @@ import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.Map; +import java.util.Optional; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; @@ -158,11 +159,14 ...
feat(#1494): use Optional instead of Exception flow control
null
cqfn/eo
MIT License
Java
@@ -84,7 +84,7 @@ class SafeList<E> { } } - suspend fun forEach(function: (E) -> Unit) { + suspend fun forEach(function: suspend (E) -> Unit) { lock.withLock { val size = list.size for (i in 0 until size) {
feat: allow suspending function in SafeList forEach
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -142,7 +142,7 @@ function updateClient () { if (ssrTakeover) { ssrTakeover = false this.$root.__currentMeta = window.__Q_META__ - document.querySelector('script[data-qmeta-init]').remove() + document.body.querySelector('script[data-qmeta-init]').remove() return } @@ -211,7 +211,8 @@ function getServerMeta (app) { .j...
feat: Further Meta plugin work
null
quasarframework/quasar
MIT License
JavaScript
@@ -14,6 +14,8 @@ from frappe.www.printview import get_visible_columns import frappe.exceptions import frappe.integrations.utils from frappe.frappeclient import FrappeClient +from frappe.query_builder.utils import get_attr +from typing import get_type_hints class ServerScriptNotEnabled(frappe.PermissionError): pass @@ ...
feat: Added safe_qb for server scripts
null
frappe/frappe
MIT License
Python
-import React, {PropTypes} from 'react' +import PropTypes from 'prop-types' +import React from 'react' import cx from 'classnames' import ButtonBasic from '@schibstedspain/sui-button-basic'
feat(cover/basic): Migrate to PropTypes package
null
sui-components/sui-components
MIT License
JavaScript
@@ -12,7 +12,7 @@ function ButtonShare ({type, icon, onClick, shareText, url}) { const shareDefinitionByType = { facebook: { - src: `https://www.facebook.com/share.php?u=${parsedShareUrl}?opi=140&tti=1&pagination=1&RowGrid=2`, + src: `https://www.facebook.com/share.php?u=${parsedShareUrl}?opi=140&quote=${shareText}&tti...
feat(button/share): added the 'quote' param to facebook option
null
sui-components/sui-components
MIT License
JavaScript
+/** + * Component: SortableColumnHeader + * Added: 2018-07-08 + * JIRA: https://jira.mesosphere.com/browse/DCOS-39076 + */ +import * as React from "react"; +import { SortableColumnHeaderCellIcon } from "ui-kit-stage/SortableColumnHeaderCellIcon"; + +type SortDirection = "ASC" | "DESC" | null; + +export function Sortab...
feat(ui-kit-candidates): add SortableColumnHeader
null
dcos/dcos-ui
Apache License 2.0
TypeScript
+import logging.config +from pathlib import Path +import gym + + +def configure_logging(level: str = "INFO", file_path: Path = None, file_level: str = "DEBUG") -> None: + """ + Set the logging configuration + + This default config can be further edited to only enable logging + in specific modules, by providing the name...
feat(logging): Add a function to set logging configuration
null
rlberry-py/rlberry
MIT License
Python
@@ -200,6 +200,20 @@ int LCUITimer_Set( long int n_ms, void (*func)(void*), return timer->id; } +int LCUITimer_SetTimeout( long int n_ms, + void( *callback )(void*), + void *arg ) +{ + return LCUITimer_Set( n_ms, callback, arg, FALSE ); +} + +int LCUITimer_SetInterval( long int n_ms, + void( *callback )(void*), + void ...
feat(timer): add LCUITimer_SetTimeout() and LCUITimer_SetInterval()
null
lc-soft/lcui
MIT License
C
@@ -99,6 +99,13 @@ namespace metahelper_detail { return else_(if_constexpr_identity{}); } }; + + template <size_t skip, typename T, size_t isize, size_t... I> + decltype(auto) array_skip_impl(const std::array<T, isize>& arr, + std::index_sequence<I...>) { + static_assert(isize > skip, "invalid argument `skip`"); + retu...
feat(core): add array_skip
null
megengine/megengine
Apache License 2.0
C
+import React from 'react'; +import Graphin, { Utils, Behaviors } from '@antv/graphin'; + +const { ZoomCanvas } = Behaviors; + +const data = Utils.mock(10) + .circle() + .graphin(); +const layout = { + type: 'circular', +}; + +export default () => { + return ( + <div> + <Graphin data={data} layout={layout}> + <ZoomCanv...
feat: add graphin circle node docs
null
antvis/graphin
MIT License
TypeScript
+/* + Copyright 2020-2021 Lowdefy, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in wri...
feat(actions-core): Added Request action test
null
lowdefy/lowdefy
Apache License 2.0
JavaScript
@@ -36,6 +36,12 @@ namespace SendGrid.Helpers.Mail [JsonConverter(typeof(RemoveDuplicatesConverter<EmailAddress>))] public List<EmailAddress> Bccs { get; set; } + /// <summary> + /// Gets or sets the from email address. The domain must match the domain of the from email property specified at root level of the request b...
feat: Add From Email to Personalization
null
sendgrid/sendgrid-csharp
MIT License
C#
@@ -21,6 +21,7 @@ import com.ibm.watson.developer_cloud.natural_language_understanding.v1.model.De import com.ibm.watson.developer_cloud.natural_language_understanding.v1.model.ListModelsOptions; import com.ibm.watson.developer_cloud.natural_language_understanding.v1.model.ListModelsResults; import com.ibm.watson.devel...
feat(natural-language-understanding): Add manual tweaks
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
@@ -43,7 +43,7 @@ def get_diff(old, new, for_child=False): if not new: return None - blacklisted_fields = ["Markdown Editor"] + blacklisted_fields = ["Markdown Editor", "Text Editor", "Code", "HTML Editor"] # capture data import if set data_import = new.flags.via_data_import
feat: blacklist text editor, code and html editor
null
frappe/frappe
MIT License
Python
@@ -231,8 +231,9 @@ func (ps *PushSync) handler(ctx context.Context, p p2p.Peer, stream p2p.Stream) // forwarding replication storedChunk := false + defer func() { + if !storedChunk { if ps.warmedUp() && ps.topologyDriver.IsWithinDepth(chunkAddress) { - verifiedChunk, err := ps.validStamp(chunk, ch.Stamp) if err != nil...
feat: make forwarder storing non-blocking
null
ethersphere/bee
BSD 3-Clause New or Revised License
Go
@@ -62,7 +62,6 @@ export const RichLinkComponent = ({ if (error) { // Send the error to Sentry window?.guardian?.modules?.sentry?.reportError(error, 'rich-link'); - return null; } if (data) {
feat: Fallback to default on error
null
guardian/dotcom-rendering
Apache License 2.0
TypeScript
@@ -27,7 +27,7 @@ fn_install_server_files(){ elif [ "${shortname}" == "codwaw" ]; then remote_fileurl="http://linuxgsm.download/CallOfDutyWorldAtWar/codwaw-lnxded-1.7-full.tar.xz"; local_filedir="${tmpdir}"; local_filename="codwaw-lnxded-1.7-full.tar.xz"; chmodx="nochmodx" run="norun"; force="noforce"; md5="2c6be1bb66e...
feat(etl): update ET: Legacy to 2.77.1
null
gameservermanagers/linuxgsm
MIT License
Shell
@@ -168,7 +168,14 @@ class REST_API $links = []; foreach ($parsed['export'] as $group) { + if ($group['chapter']) { + $links[] = [ + 'type' => 'topic', + 'title' => $group['orig'] + ]; + } foreach ($group['subitems'] as $link) { + $link['type'] = 'link'; $links[] = $link; } } @@ -182,14 +189,19 @@ class REST_API } $lin...
feat(shownotes): import osf-chapters as topics
null
podlove/podlove-publisher
MIT License
PHP
@@ -56,7 +56,6 @@ func Load(g *gin.Engine, mw ...gin.HandlerFunc) *gin.Engine { { u.PUT("/:id", user.Update) u.POST("/follow", user.Follow) - u.POST("/unfollow", user.Unfollow) } return g
feat: merge follow and unfollow handler
null
go-eagle/eagle
MIT License
Go
@@ -34,8 +34,7 @@ import java.nio.file.Paths; import java.util.Collection; import java.util.List; import java.util.Set; -import java.util.concurrent.Callable; -import java.util.concurrent.Executors; +import java.util.function.Supplier; import java.util.stream.Collectors; import org.apache.maven.plugins.annotations.Life...
feat(#1347): replace callable with supplier
null
cqfn/eo
MIT License
Java
@@ -52,6 +52,7 @@ class ChannelInfoCommand : AbstractCommand("command.channelinfo") { .setTitle("VoiceChannel Info") .setDescription( "**Name** ${voice.name}\n" + + "**ID** ${voice.id}\n" + "**Creation Time** ${voice.timeCreated.asEpochMillisToDateTime(context.getTimeZoneId())}\n" + "**Position** ${voice.position}\n" +...
feat: add id to channelinfo
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -10,16 +10,17 @@ export default /* @ngInject */ ($stateProvider) => { url: '/activate', component: 'webHostingEmailActivate', resolve: { - domainNames: /* @ngInject */ ($q, Hosting, Domain) => + domainNames: /* @ngInject */ ($http, $q, Hosting, Domain) => $q .all({ domains: Domain.getDomains(), hostings: Hosting.get...
feat(hosting.email.activate): allow dns zone to activate email option
null
ovh/manager
BSD 3-Clause New or Revised License
JavaScript
@@ -14,6 +14,7 @@ import { Transaction, TransactionStatuses, TransactionTypes } from '../transacti import { ScraperCredentials } from './base-scraper'; const BASE_URL = 'https://online.bankotsar.co.il'; +const LONG_DATE_FORMAT = 'DD/MM/YYYY'; const DATE_FORMAT = 'DD/MM/YY'; interface ScrapedTransaction { @@ -71,7 +72,1...
feat(otsar hayal): support long date format in transactions
null
eshaham/israeli-bank-scrapers
MIT License
TypeScript
@@ -35,7 +35,10 @@ import yaafelib import warnings import numpy as np +from pyannote.core import Segment from pyannote.audio.features.utils import read_audio +from pyannote.audio.features.utils import get_audio_duration +from pyannote.audio.features.utils import RawAudio from pyannote.core.segment import SlidingWindow ...
feat: add YaafeFeatureExtractor.crop() for fast cropping
null
pyannote/pyannote-audio
MIT License
Python
@@ -82,12 +82,12 @@ public extension SolanaSDK { public let firstNormalSlot: UInt64 } struct Fee: Decodable { - public let feeCalculator: FeeCalculator? + public let feeCalculator: FeeCalculatorResponse? public let feeRateGovernor: FeeRateGovernor? public let blockhash: String? public let lastValidSlot: UInt64? } - str...
feat: rename struct FeeCalculator
null
p2p-org/solana-swift
MIT License
Swift
@@ -7,14 +7,15 @@ namespace kraken::binding::jsc { struct Uri { public: - std::string QueryString, Path, Protocol, Host, Port; + std::string QueryString, Path, Protocol, Host, Port, Fragment; static std::string toString(Uri& uri) { return uri.Protocol + "://" + uri.Host + (uri.Port == "" ? "" : ":" + uri.Port) + (uri.P...
feat: Uri parser to parse fragment
null
openkraken/kraken
Apache License 2.0
C
@@ -20,6 +20,9 @@ use Thunder\Shortcode\Shortcode\ShortcodeInterface; // Shortcode: [filesystem] parsers()->shortcodes()->addHandler('filesystem', static function (ShortcodeInterface $s) { + if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.filesystem.enabled')) { + return ''; + } $varsDelimeter = ...
feat(shortcodes): upd `filesystem` shortcode
null
flextype/flextype
MIT License
PHP
@@ -14,6 +14,10 @@ afterEach(function (): void { test('entries expression', function () { entries()->create('foo', ['title' => 'Foo']); - entries()->create('entries', ['test' => '[[ entries().fetch("foo").get("title") ]]']); + entries()->create('entries', ['test' => '[[ entries().fetch("foo").get("title") ]]', + 'test2...
feat(tests): improve tests for entries expressions
null
flextype/flextype
MIT License
PHP
@@ -28,6 +28,13 @@ class Contact(Document): self.name = self.name + '-' + link.link_name.strip() break + def on_update(self): + doc = self.get_doc_before_save() + for field in ['mobile_no', 'phone']: + old_number = doc.get(field) + if old_number and old_number != self.get(field): + frappe.cache().hdel('contact_with_num...
feat: Add a method to get contact based on phone number
null
frappe/frappe
MIT License
Python
@@ -136,16 +136,16 @@ func build(options buildOptions) (ret buildResult, err error) { return } - args := []string{"add"} + args := []string{"add", "--ignore-scripts"} for _, pkg := range options.packages { args = append(args, pkg.name+"@"+pkg.version) } start := time.Now() - err = exec.Command("yarn", args...).Run() + ...
feat: use pnpm
null
esm-dev/esm.sh
MIT License
Go
+/** + * Find how many times an element occurs within a sorted array. + * + * @example + * // returns 4 + * totalOccurrences([0,0,1,2,2,2,3,3,3,3,5,6,9,10], 3); + * + * @example + * // returns 0 + * totalOccurrences([0,0,1,2,2,2,3,3,3,3,5,6,9,10], 7); + * + * @param {Array} array - Sorted array of elements + * @param {...
feat: Array - JS - Find number of times an element occurs in a sorted array
null
rathoresrikant/hacktoberfestcontribute
MIT License
JavaScript
@@ -41,6 +41,11 @@ namespace ApiClient { */ attachmentAgent?: Agent apiRoot: string + /** + * @default 'bot' + * @see https://github.com/tdlight-team/tdlight-telegram-bot-api#user-mode + */ + apiMode: 'bot' | 'user' webhookReply: boolean } @@ -61,6 +66,7 @@ const DEFAULT_EXTENSIONS: Record<string, string | undefined> =...
feat(client): add `apiMode` option
null
telegraf/telegraf
MIT License
TypeScript
#pragma once -#include <libkern/OSAtomic.h> +#include <os/lock.h> namespace blackhole { inline namespace v1 { namespace detail { class spinlock_t { - OSSpinLock mutex; + os_unfair_lock mutex; public: constexpr spinlock_t() noexcept: - mutex(0) + mutex({0}) {} auto lock() noexcept -> void { - OSSpinLockLock(&mutex); + o...
feat: replace deprecated OSX stuff with modern one
null
3hren/blackhole
MIT License
C++
@@ -22,6 +22,8 @@ if (! function_exists('arrays_filter')) { { $collection = arrays($items); + ! isset($filter['return']) AND $filter['return'] = 'all'; + if (isset($filter['where'])) { if (is_array($filter['where'])) { foreach ($filter['where'] as $key => $value) {
feat(helpers): update ArraysFilterHelper return type
null
flextype/flextype
MIT License
PHP
+//@ts-check + +/** @typedef {{value: string}} CloudfrontValue */ +/** @typedef {{value: string, multiValue?: CloudfrontValue[]}} CloudfrontValueStructure */ + +/** @typedef {{[queryparam: string]: CloudfrontValueStructure}} CloudfrontQueryString */ +/** @typedef {{[header: string]: CloudfrontValueStructure}} Cloudfron...
feat(cdk): use JSDoc & ts-check for type safety
null
lwjgl/lwjgl3-www
BSD 3-Clause New or Revised License
JavaScript
@@ -23,7 +23,7 @@ func init() { return }(), } - return trojan.NewServer(ctx, fullServer) + return common.CreateObject(ctx, fullServer) })) common.Must(common.RegisterConfig((*ClientConfig)(nil), func(ctx context.Context, config interface{}) (interface{}, error) { @@ -40,6 +40,6 @@ func init() { }, }, } - return trojan....
feat: refine Trojan simplified config
null
v2fly/v2ray-core
MIT License
Go
@@ -78,6 +78,16 @@ impl std::fmt::Display for Identifier { } } +impl std::fmt::LowerHex for Identifier { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + for b in self.0.iter() { + write!(f, "{:02x}", b)?; + } + + Ok(()) + } +} + /// Information regarding the SEV-SNP platform's TCB version. #[de...
feat(sev): implement `LowerHex` for `Identifier`
null
enarx/enarx
Apache License 2.0
Rust
@@ -89,8 +89,9 @@ public extension SolanaSDK { return Single.zip( single, - calculateFee(confirmedTransaction: transactionInfo.transaction) - ).map { + calculateFee(transactionInfo: transactionInfo, feePayerPubkeys: p2pFeePayerPubkeys) + ) + .map { ParsedTransaction( status: status, signature: nil, @@ -480,7 +481,9 @@ ...
feat: mark transaction as paid by p2p.org
null
p2p-org/solana-swift
MIT License
Swift
@@ -29,27 +29,28 @@ class Entries * and maybe changed on fly. * * @var array - * @access public + * @access private */ private $storage = []; /** * Get storage * - * @param string Key + * @param string|int|null $key Key + * @param mixed $default Default value */ - public function getStorage(string $key) + public functi...
feat(entries): update methods getStorage() setStorage()
null
flextype/flextype
MIT License
PHP
@@ -130,11 +130,11 @@ json_error_cb(char *str, size_t len, void *p_err) https://discord.com/developers/docs/topics/opcodes-and-status-codes#json-json-error-codes */ int code = 0; //last error code received char message[256] = {0}; //meaning of the error received - - json_scanf(str, len, "[message]%s [code]%d", message,...
feat: show JSON payload for Discord detailed error message
null
cee-studio/orca
MIT License
C
@@ -38,7 +38,8 @@ class NativeSelect extends FormComponent public function defaultClasses(): string { return 'mt-1 block w-full pl-3 pr-10 py-2 text-base sm:text-sm shadow-sm - rounded-md border bg-white focus:ring-1 focus:outline-none'; + rounded-md border bg-white focus:ring-1 focus:outline-none + dark:bg-secondary-8...
feat: add native select dark mode
null
wireui/wireui
MIT License
PHP
-export type Tuple<T, N extends number> = [T, ...T[]] & { length: N }; +/** + * Defines a fixed sized, iterable tuple with elements of type `T` and + * length `N`. + */ +export type Tuple<T, N extends number> = [T, ...T[]] & { length: N } & Iterable< + T + >; +/** + * @deprecated merged w/ {@link Tuple} + */ export typ...
feat(api): add Drop, TupleLength, update Tuple
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -20,10 +20,12 @@ class PollingEventSourceTest extends AbstractEventSourceTestBase<PollingEventSource<SampleExternalResource, HasMetadata>, EventHandler> { + public static final int DEFAULT_WAIT_PERIOD = 100; + private PollingEventSource.GenericResourceFetcher<SampleExternalResource> resourceFetcher = mock(PollingEve...
feat: add additional test for PollingEventSource
null
java-operator-sdk/java-operator-sdk
Apache License 2.0
Java
+import classnames from 'classnames' import { tooltipClass } from '../styles' import ready from '../utils/dom/ready' @@ -32,7 +33,7 @@ function clickaway() { } export function show(props, id, innerStyle) { - const { position, style, tip, trigger, animation } = props + const { position, style, tip, trigger, animation, c...
feat: tooltip add classname
null
sheinsight/shineout
MIT License
JavaScript
@@ -365,7 +365,7 @@ function build_openssl { export PATH="$NDK_TOOLCHAIN_DIR/bin:$PATH" ./Configure ${SSL_TARGET} no-shared -no-ssl2 -no-ssl3 -no-comp -no-hw -no-engine -DAPP_PLATFORM=${PLATFORM} -D__ANDROID_API__=${NDK_PLATFORM} make depend - make build_libs + make build_libs > "$DIR/$BUILD_DIR/openssl.log" } function...
feat(scripts/build-android): Redirect openssl build output to logfile
null
equalitie/ouinet
MIT License
Shell
@@ -61,6 +61,9 @@ module Discordrb attr_reader :pinned alias_method :pinned?, :pinned + # @return [Integer] what the type of the message is + attr_reader :type + # @return [Server, nil] the server in which this message was sent. attr_reader :server @@ -79,6 +82,7 @@ module Discordrb @content = data['content'] @channel ...
feat: message types and chat input command check
null
shardlab/discordrb
MIT License
Ruby
@@ -37,6 +37,23 @@ impl RouterServer { remote_template: Option<RemoteTemplate>, trace_collector: Option<Arc<dyn TraceCollector>>, time_provider: Arc<dyn TimeProvider>, + ) -> Self { + Self::new_inner(remote_template, trace_collector, time_provider, false).await + } + + pub async fn for_testing( + remote_template: Optio...
feat: improve testing interface for the `router` crate
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -195,4 +195,13 @@ class Builder extends BaseBuilder return 'SELECT * FROM (SELECT inner_query.*, rownum rnum FROM (' . $sql . ') inner_query WHERE rownum < ' . ($this->QBOffset + $this->QBLimit + 1) . ')' . ($this->QBOffset ? ' WHERE rnum >= ' . ($this->QBOffset + 1) : ''); } + + /** + * Resets the query builder val...
feat: add reset select method
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -182,6 +182,15 @@ class Forms return $form; } + /** + * Get element name + * + * @param string $element Element + * + * @return string Returns form element name + * + * @access protected + */ protected function getElementName(string $element) : string { $pos = strpos($element, '.'); @@ -201,6 +210,18 @@ class Forms ...
feat(core): update docs part in Forms
null
flextype/flextype
MIT License
PHP
@@ -17,12 +17,9 @@ class RenderViewportBox extends RenderProxyBox this.background, }) : _viewportSize = viewportSize, super(child) { if (gestureClient != null) { - _verticalDragGestureRecognizer.onUpdate = gestureClient.gestureDragUpdateCallback; - _horizontalDragRecognizer.onUpdate = gestureClient.gestureDragUpdateCal...
feat: modify viewport
null
openkraken/kraken
Apache License 2.0
Dart
@@ -107,8 +107,8 @@ export default { { class: [ 'nav', - `nav-${this.navStyle}`, { + [`nav-${this.navStyle}`]: !this.noNavStyle, [`card-header-${this.navStyle}`]: this.card && !this.vertical, 'card-header': this.card && this.vertical, 'h-100': this.card && this.vertical, @@ -226,6 +226,10 @@ export default { type: Bool...
feat(tabs/noNavStyle): added related prop and check
null
bootstrap-vue/bootstrap-vue
MIT License
JavaScript
@@ -5,7 +5,7 @@ import { Text, Heading3 } from "../Type"; import { Flex } from "../Flex"; import { BrandingText } from "../Branding"; import { DefaultNDSThemeType } from "../theme.type"; -import { DropdownLink, DropdownText } from "../DropdownMenu"; +import { DropdownLink, DropdownText, DropdownButton } from "../Dropdo...
feat: allow custom rendered hamburger menu items to specify their own styles
null
nulogy/design-system
MIT License
TypeScript
@@ -63,12 +63,8 @@ class _SimpleInputPageState extends State<SimpleInputPage> { if (widget.helper.getSubtitle(appLocalizations) != null) Text(widget.helper.getSubtitle(appLocalizations)!), ListTile( - onTap: () { - if (widget.helper.addTerm(_controller.text)) { - setState(() => _controller.text = ''); - } - }, - leadin...
feat: - "add" taxonomized field improvements
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -31,6 +31,11 @@ const styles = (theme) => ({ @withStyles(styles) class ProductDetailPrice extends Component { static propTypes = { + /** + * CSS class name applied to the root element + */ + className: PropTypes.string, + /** * CSS classes */ @@ -58,14 +63,14 @@ class ProductDetailPrice extends Component { } render(...
feat: add className prop
null
reactioncommerce/example-storefront
Apache License 2.0
JavaScript
@@ -291,7 +291,7 @@ impl WriteDataPoint for DataPoint { } /// Possible value types -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq)] pub enum FieldValue { /// A true or false value Bool(bool),
feat: Make FieldValues implement PartialEq
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -24,7 +24,7 @@ function getDevPath(url: string): string { const plugin: Plugin<PluginOptions> = (options) => ({ name: '@ice/plugin-pha', setup: ({ onGetConfig, onHook, context, serverCompileTask, generator }) => { - const { template } = options || {}; + const { template = true } = options || {}; const { command, roo...
feat: default value of template should be true
null
alibaba/ice
MIT License
TypeScript
@@ -86,8 +86,45 @@ class UIStore { this.pdpSelectedOptionId = optionId; } - @action closeCart() { + /** + * @name openCart + * @summary Open the mini-cart drawer + * @returns {undefined} No return + */ + @action openCart = () => { + this.isCartOpen = true; + this.clearOpenCartTimeout(); + } + + /** + * @name closeCart ...
feat: add better cart state handling and delayed closing
null
reactioncommerce/example-storefront
Apache License 2.0
JavaScript
@@ -47,18 +47,16 @@ class Stackoverflow extends OAuth */ public function getAccessToken(string $code): string { - var_dump($code); - exit(); + $headers[] = 'Content-Type: application/x-www-form-urlencoded'; $accessToken = $this->request( 'POST', - 'https://www.googleapis.com/oauth2/'.$this->version.'/token?'. + 'https:...
feat: getAccessToken Done
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -17,7 +17,8 @@ const getClassName = props => classNames({ [props.className]: props.className, [props.css['ps-heading']]: true, - [props.css['ps-heading--' + props.size]]: props.size + [props.css['ps-heading--' + props.size]]: props.size, + [props.className]: props.className }) const Heading = props => {
feat(heading): allow overriding className
null
pluralsight/design-system
Apache License 2.0
JavaScript
@@ -84,9 +84,10 @@ pub fn position16< const C13: u8, const C14: u8, const C15: u8, const C16: u8 >(buf: &[u8]) -> usize { #[cfg(all(any(target_arch = "aarch64"), target_feature = "neon"))] - { return position_neon::<POSITIVE, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16>(buf); - } + + #[cfg(all...
feat(format): implement sse4.2 position
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -226,15 +226,15 @@ func (e *Engine) PrintDebug(startTime time.Time, version string) string { // console title timing titleStartTime := time.Now() title := e.getTitleTemplateText() - segmentTiming := &SegmentTiming{ + consoleTitleTiming := &SegmentTiming{ name: "ConsoleTitle", nameLength: 12, active: len(e.Config.Con...
feat(debug): color enabled/disabled
null
jandedobbeleer/oh-my-posh
MIT License
Go
@@ -192,21 +192,20 @@ class OverviewDetailTab extends mixin(StoreMixin) { * Get user if existent otherwise * return null * + * @param {String} mesosBuildUser * @returns {Component|Null} User string or null * * @memberOf OverviewDetailTab */ - getMesosBuildUser() { - const mesosConfig = MesosStateStore.get("lastMesosSta...
feat(DCOS-15151): Pass user build as argument as requested in code review
null
dcos/dcos-ui
Apache License 2.0
JavaScript
+/* + * Copyright 2018 IBM Corp. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applica...
feat(Assistant): Add ListMentionsOptions model
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
@@ -48,8 +48,6 @@ import org.eolang.parser.ParsingTrain; /** * Optimize XML files. * - * @todo #1336:30min Make a number of threads in `exec()` method configurable - * via mojo parameter `threads`. Default value should be set to 4. * @since 0.1 */ @Mojo( @@ -131,8 +129,8 @@ public final class OptimizeMojo extends SafeM...
feat(#1347): remove puzzle
null
cqfn/eo
MIT License
Java
@@ -39,6 +39,10 @@ export default defineReactivePlugin({ const vm = createChildApp({ name: 'LoadingBar', + + // hide App from Vue devtools + devtools: { hide: true }, + setup: () => () => h(QAjaxBar, props.value) }, parentApp).mount(el)
feat(LoadingBar): hide App from devtools
null
quasarframework/quasar
MIT License
JavaScript
@@ -117,6 +117,7 @@ const walkSchemaTypes = <SCHEMA extends z.ZodTypeAny>( case z.ZodFirstPartyTypeKind.ZodNativeEnum: case z.ZodFirstPartyTypeKind.ZodNumber: case z.ZodFirstPartyTypeKind.ZodObject: + case z.ZodFirstPartyTypeKind.ZodRecord: case z.ZodFirstPartyTypeKind.ZodString: { if (DEBUG_WALK_SCHEMA_TYPES) console....
feat(make-props): add ZodRecord to accepted types
null
3yourmind/kotti
MIT License
TypeScript
@@ -130,6 +130,28 @@ async def keys(cashu_id: str = Query(None)) -> dict[int, str]: return ledger.get_keyset(keyset_id=cashu.keyset_id) +@cashu_ext.get("/api/v1/{cashu_id}/keys/{idBase64Urlsafe}") +async def keyset_keys( + cashu_id: str = Query(None), idBase64Urlsafe: str = Query(None) +) -> dict[int, str]: + """ + Get...
feat: add /keys/{keyset} endpoint
null
lnbits/lnbits
MIT License
Python
@@ -136,10 +136,7 @@ class Apple extends OAuth2 */ public function getUserEmail(string $accessToken): string { - if (isset($this->claims['email']) && - !empty($this->claims['email']) && - isset($this->claims['email_verified']) && - $this->claims['email_verified'] === 'true') { + if (isset($this->claims['email']) && !em...
feat: update Apple OAuth provider
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -1509,6 +1509,10 @@ static cJSON_bool parse_array(cJSON * const item, parse_buffer * const input_buf success: input_buffer->depth--; + if (head != NULL) { + head->prev = current_item; + } + item->type = cJSON_Array; item->child = head; @@ -1681,6 +1685,10 @@ static cJSON_bool parse_object(cJSON * const item, parse_b...
feat: set list head's prev in parse_array and parse_object
null
davegamble/cjson
MIT License
C
@@ -24,6 +24,7 @@ export default class SwaggerUI extends React.Component { defaultModelExpandDepth: this.props.defaultModelExpandDepth, displayOperationId: this.props.displayOperationId, tryItOutEnabled: this.props.tryItOutEnabled, + showExtensions: this.props.showExtensions, showMutatedRequest: typeof this.props.showM...
feat(swagger-ui-react): add showExtensions option
null
swagger-api/swagger-ui
Apache License 2.0
JavaScript
@@ -529,6 +529,55 @@ SQL; //-------------------------------------------------------------------- + /** + * Stored Procedure. Executes a stored procedure + * + * @param string package name in which the stored procedure is in + * @param string stored procedure name to execute + * @param array parameters + * @return mixed...
feat: add call stored procedure method
null
codeigniter4/codeigniter4
MIT License
PHP
package software.amazon.smithy.aws.typescript.codegen; -import software.amazon.smithy.typescript.codegen.ApplicationProtocol; -import software.amazon.smithy.typescript.codegen.integration.ProtocolGenerator; +import java.util.List; +import software.amazon.smithy.codegen.core.SymbolProvider; +import software.amazon.smith...
feat: add start of HTTP protocol serde
null
aws/aws-sdk-js-v3
Apache License 2.0
Java
@@ -8,8 +8,8 @@ declare(strict_types=1); */ use Flextype\Flextype; -use Symfony\Component\Finder\Finder as Finder; use Intervention\Image\ImageManagerStatic as Image; +use Symfony\Component\Finder\Finder; if (! function_exists('flextype')) { /** @@ -25,7 +25,8 @@ if (! function_exists('app')) { /** * Get Flextype App. ...
feat(media): update helpers functions
null
flextype/flextype
MIT License
PHP
@@ -72,8 +72,9 @@ open class MediaControl(core: Core, pluginName: String = name) : LayoutInflater.from(applicationContext).inflate(R.layout.media_control, null) as FrameLayout } - open val invalidActivationKeys = listOf(Key.UNDEFINED) + open val keysNotAllowedToIteractWithMediaControl = listOf(Key.UNDEFINED) private va...
feat(media_control): make navigation keys open media control
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
+<?php + +use Flextype\Component\Filesystem\Filesystem; + +beforeEach(function() { + filesystem()->directory(PATH['project'] . '/entries')->create(); +}); + +afterEach(function (): void { + filesystem()->directory(PATH['project'] . '/entries')->delete(); +}); + +test('test PublishedAtField', function () { + flextype('e...
feat(tests): add tests for entry PublishedAtField
null
flextype/flextype
MIT License
PHP
@@ -16,10 +16,19 @@ class DecoratedPressAVPlayerViewController: AVPlayerViewController { return clapprPlayer.activePlayback?.isPaused ?? false } + private var isPlaying: Bool { + return clapprPlayer.activePlayback?.isPlaying ?? false + } + override func pressesBegan(_ presses: Set<UIPress>, with event: UIPressesEvent?)...
feat: trigger willPause when comming from Playing via remote control in tvos
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift