diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -23,7 +23,7 @@ type KoolYaml struct { var runCmd = &cobra.Command{ Use: "run [script]", - Short: "Runs a custom command defined at kool.yaml", + Short: "Runs a custom command defined at kool.yaml in the working directory or in the kool folder of the user's home directory", Args: cobra.MinimumNArgs(1), Run: runRun, D...
feat(run): Changed help message and fixed global script message
null
kool-dev/kool
MIT License
Go
@@ -16,5 +16,5 @@ afterEach(function (): void { test('[filesystem] shortcode', function () { $filesystem = filesystem(); $filesystem->file($this->tempDir . '/foo.txt')->put('Foo'); - $this->assertEquals("Foo", parsers()->shortcodes()->parse("(filesystem get:'". $this->tempDir . "/foo.txt')")); + $this->assertEquals("Fo...
feat(tests): upd tests for `filesystem` shortcode
null
flextype/flextype
MIT License
PHP
// limitations under the License. use common_expression::types::boolean::BooleanDomain; +use common_expression::types::nullable::NullableDomain; use common_expression::types::BooleanType; use common_expression::types::NullableType; use common_expression::vectorize_2_arg; @@ -73,7 +74,20 @@ pub fn register(registry: &mu...
feat(query): improve domain
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -31,6 +31,7 @@ import ( "github.com/keptn/keptn/cli/pkg/version" + apiutils "github.com/keptn/go-utils/pkg/api/utils" "github.com/keptn/keptn/cli/pkg/helm" "github.com/keptn/keptn/cli/pkg/platform" @@ -189,6 +190,10 @@ func doUpgradePreRunCheck(vChecker *version.KeptnVersionChecker) error { } } + if err = addWarning...
feat(cli): Add missing upstream warning during keptn upgrade
null
keptn/keptn
Apache License 2.0
Go
+<?php + +namespace Appwrite\Auth\OAuth2; + +use Appwrite\Auth\OAuth2; + +class Linkedin extends OAuth2 +{ + /** + * @var array + */ + protected $user = []; + + /** + * @var array + */ + protected $scopes = [ + 'r_liteprofile', + 'r_emailaddress', + ]; + + /** + * Documentation. + * + * OAuth: + * https://developer.lin...
feat: added Linkedin.php
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -7,8 +7,8 @@ pub fn format(schema: String, params: String) -> String { /// Docs: https://prisma.github.io/prisma-engines/doc/prisma_fmt/fn.get_config.html #[wasm_bindgen] -pub fn get_config(params: String) -> String { - prisma_fmt::get_config(params) +pub fn get_config(params: String) -> Result<String, JsError> { + ...
feat: 'get_config' now returns a 'Result' value. Contributes to
null
prisma/prisma-engines
Apache License 2.0
Rust
@@ -126,9 +126,13 @@ export const sendIdentityVerificationEmailMutation = mutationWithClientMutationI return sendIdentityVerificationEmailLoader({ user_id: userID, email, name }) .then((result) => { + const forceUrl = process.env["PRODUCTION_ENV"] + ? "https://artsy.net" + : "https://staging.artsy.net" + return { ...re...
feat: build URL based on env
null
artsy/metaphysics
MIT License
TypeScript
@@ -194,6 +194,16 @@ impl Route { pub fn iter(&self) -> impl Iterator<Item = &Address> { self.inner.iter() } + + /// Number of hops. + pub fn len(&self) -> usize { + self.inner.len() + } + + /// Returns true if the route is empty. + pub fn is_empty(&self) -> bool { + self.inner.is_empty() + } } impl Display for Route {...
feat(rust): add `len` function to `Route`
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -23,6 +23,9 @@ var ResourceRegistry []*schema.RegistryItem = []*schema.RegistryItem{ // FreeResources grouped alphabetically var FreeResources []string = []string{ + // Azure App Service + "azurerm_app_service_virtual_network_swift_connection", + // Azure Base "azurerm_resource_group", "azurerm_resource_provider_reg...
feat(azure): add free resource
null
infracost/infracost
Apache License 2.0
Go
@@ -1219,7 +1219,7 @@ class RenderFlexLayout extends RenderLayoutBox { String marginLeft = childStyle[MARGIN_LEFT]; String marginTop = childStyle[MARGIN_TOP]; - if (flexDirection == FlexDirection.row || flexDirection == FlexDirection.rowReverse) { + if (isHorizontalFlexDirection(flexDirection)) { if (marginLeft == 'aut...
feat: code simplify
null
openkraken/kraken
Apache License 2.0
Dart
@@ -657,5 +657,44 @@ namespace Bit.Client.Web.BlazorUI.Tests.Inputs Assert.AreEqual(bitTextField.ClassList.Contains($"bit-txt-invalid-{visualClass}"), !isInvalid); } + + [DataTestMethod, + DataRow(" bit"), + DataRow("bit "), + DataRow(" bit component "), + DataRow(" bit "), + ] + public void BitTextFieldTrimmedDefaultV...
feat(components): add tests for the Trim parameter in the BitTextField component
null
bitfoundation/bitframework
MIT License
C#
+#!/usr/bin/env python +# encoding: utf-8 + +# Shamelessly stolen from +# https://gist.github.com/TySkby/143190ad1b88c6115597c45f996b030c + +"""Easily put time restrictions on things + +Note: Requires Python 3.x + +Usage as a context manager: +``` +with timeout(10): + something_that_should_not_exceed_ten_seconds() +```...
feat: add timeout decorator
null
pyannote/pyannote-audio
MIT License
Python
@@ -24,10 +24,8 @@ use function media; use function registry; use function strings; -class Media extends Entries +class Media { - use Macroable; - /** * Constructor. * @@ -37,11 +35,13 @@ class Media extends Entries */ public function __construct(array $options = []) { - parent::__construct($options); - filesystem() - ...
feat(media): remove media class, use actions instead
null
flextype/flextype
MIT License
PHP
@@ -53,6 +53,12 @@ export const porterDuff = ( ]; }); +export const premultiplyAlpha = (col: Vec4Sym) => + vec4(mul($xyz(col), $w(col)), $w(col)); + +export const postmultiplyAlpha = (col: Vec4Sym) => + vec4(div($xyz(col), $w(col)), $w(col)); + // coefficient functions export const ZERO = () => FLOAT0;
feat(shader-ast-stdlib): add pre/postmultiplyAlpha() fns
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -116,7 +116,7 @@ DEF(TQTBackward, 5, true, false); DEF(PowC, 2, false, true); DEF(UniformRNG, 1, true, true); DEF(GaussianRNG, 1, true, true); - +DEF(ChecksumForward, 1, true, false); } // namespace megdnn // vim: syntax=cpp.doxygen
feat(dnn): add checksum opr and test
null
megengine/megengine
Apache License 2.0
C
@@ -65,7 +65,7 @@ public class QuickSeekPlugin: UICorePlugin { playback.seek(playback.position - 10) guard playback.position - 10 > 0.0 else { return } animatonHandler?.animateBackward() - core?.trigger(.didDoubleTouchMediaControl, userInfo: ["position": "left"]) + core?.activeContainer?.trigger(.didDoubleTouchMediaCon...
feat: triggering didDoubleTouchMediaControl event on container
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -21,7 +21,6 @@ use std::{ env, fmt::Debug, path::{Path, PathBuf}, - str::FromStr, sync::Arc, }; use thiserror::private::PathAsDisplay; @@ -474,7 +473,7 @@ async fn get_static( let mime = mime_guess::from_path(path).first_or_octet_stream(); response.headers_mut().insert( - "content-type", + header::CONTENT_TYPE, Head...
feat(Server): Redirect to token-less URL
null
stencila/stencila
Apache License 2.0
Rust
@@ -67,6 +67,7 @@ public final class FtCached implements Footprint { * Path to cache root. */ private final Path cache; + private final FtDefault origin; /** * Ctor. @@ -78,30 +79,27 @@ public final class FtCached implements Footprint { this.hash = hash; this.main = main; this.cache = cache; + this.origin = new FtDefau...
feat(#1633): use FtDefault inside FtCached
null
cqfn/eo
MIT License
Java
@@ -32,6 +32,7 @@ func NewMsgReceiver(stream ImmuServiceReceiver_Stream) *msgReceiver { type MsgReceiver interface { Read(data []byte) (n int, err error) + ReadFully() ([]byte, error) } type msgReceiver struct { @@ -43,6 +44,44 @@ type msgReceiver struct { msgSend bool } +// ReadFully reads the entire message that coul...
feat(pkg/stream): readFully method to read complete payload transmitted into chunks
null
codenotary/immudb
Apache License 2.0
Go
@@ -97,12 +97,29 @@ bool matchImage(Uint8List imageA, List<int> imageB, String filename) { return (diff * 10e7) < 10; } +bool matchFile(List<int> left, List<int> right) { + if (left.length != right.length) { + return false; + } + + for (int i = 0; i < left.length; i ++) { + if (left[i] != right[i]) { + return false; + ...
feat: use matchFile to speed up integration test performance
null
openkraken/kraken
Apache License 2.0
Dart
import org.jivesoftware.smackx.muc.packet.*; import org.jivesoftware.smackx.nick.packet.Nick; import org.jivesoftware.smackx.xdata.form.*; -import org.jivesoftware.smackx.xevent.*; import org.jivesoftware.smackx.xevent.packet.MessageEvent; import org.jxmpp.jid.*; import org.jxmpp.jid.impl.*; /** * The multi user chat s...
feat: Fixes xmpp ChatRoom managing if listeners
null
jitsi/jitsi
Apache License 2.0
Java
@@ -266,7 +266,8 @@ function handleSiteMap(compilation, { sitemapConfig }, target) { function handleConfigJS(compilation, options = {}, target) { const exportedConfig = { optimization: options.optimization || {}, - nativeCustomComponent: options.config ? options.config.nativeCustomComponent ? options.config.nativeCusto...
feat(miniapp): add debug option to open performance test
null
raxjs/rax-app
MIT License
JavaScript
@@ -77,7 +77,7 @@ func (cl *commandline) database(cmd *cobra.Command) { return err } - if err := cl.immuClient.CreateDatabase(cl.context, &schema.Database{ + if err := cl.immuClient.CreateDatabase(cl.context, &schema.DatabaseSettings{ DatabaseName: args[0], Replica: isReplica, }); err != nil {
feat(cmd/immuadmin): upgrade database creation with settings
null
codenotary/immudb
Apache License 2.0
Go
@@ -20,13 +20,27 @@ import ( var ( forwardableHeaders = []string{ + // Request ID "X-Request-Id", + // B3 multi-header propagation "X-B3-Traceid", "X-B3-Spanid", "X-B3-Parentspanid", "X-B3-Sampled", "X-B3-Flags", + // Lightstep "X-Ot-Span-Context", + // Datadog + "x-datadog-trace-id", + "x-datadog-parent-id", + "x-data...
feat: extend trace propagation to include cloud-specific headers & OTEL
null
istio/tools
Apache License 2.0
Go
+import fs from 'fs' import path from 'path' import {babel} from '@rollup/plugin-babel' import commonjs from '@rollup/plugin-commonjs' import json from '@rollup/plugin-json' import {nodeResolve} from '@rollup/plugin-node-resolve' +import {parse} from 'jsonc-parser' import {InputOptions, ModuleFormat, OutputOptions} fro...
feat(pkg-utils): respect `target` of tsconfig file
null
sanity-io/sanity
MIT License
TypeScript
@@ -55,6 +55,15 @@ class ConnectionMetadataSchema(OpenAPISchema): ) +class ConnectionMetadataSetRequestSchema(OpenAPISchema): + """Request Schema for set metadata.""" + + metadata = fields.Dict( + required=True, + description="Dictionary of metadata to set for connection.", + ) + + class ConnectionMetadataQuerySchema(O...
feat: set connection metadata from admin api
null
hyperledger/aries-cloudagent-python
Apache License 2.0
Python
+#include <stdio.h> +#include <stdlib.h> + +#include <algorithm> +// #include <gle/engine/cpplib/headers.hpp> +#include <cmath> +#include <string> +#include <vector> + +typedef std::string string; + +template <typename T> +inline double tg_euclidean_distance(std::vector<T> A, std::vector<T> B) { + int n = A.size(); + d...
feat(similarity): add euclidean distance algorithm
null
tigergraph/gsql-graph-algorithms
Apache License 2.0
C++
@@ -406,6 +406,7 @@ open class MediaControl(core: Core, pluginName: String = name) : hideModalPanel() hideAnimationEnded = true + handler.removeCallbacksAndMessages(null) core.trigger(InternalEvent.DID_HIDE_MEDIA_CONTROL.value) }
feat(media_control): clean hide handler when media control already hide
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -5,7 +5,7 @@ declare(strict_types=1); use Flextype\Foundation\Flextype; use Atomastic\Strings\Strings; -beforeAll(function() { +beforeEach(function() { // Create sandbox plugin filesystem()->directory(PATH['project'])->create(0755, true); filesystem()->directory(PATH['project'] . '/plugins')->create(0755, true); @@ ...
feat(tests): REVERT - try to use beforeAll and afterAll tests for Plugins
null
flextype/flextype
MIT License
PHP
@@ -80,6 +80,8 @@ public class App private String description; + private String appHubId; + private AppIcons icons; private AppDeveloper developer; @@ -174,6 +176,18 @@ public class App this.version = version; } + @JsonProperty( "app_hub_id" ) + @JacksonXmlProperty( localName = "app_hub_id", namespace = DxfNamespaces.D...
feat: export app_hub_id from application manifest in apps api
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -18,5 +18,15 @@ enum class InternalEvent (val value: String) { DID_DESTROY("didDestroy"), MEDIA_OPTIONS_READY("mediaOptionsReady"), MEDIA_OPTIONS_UPDATE("mediaOptionsUpdate"), - DID_UPDATE_OPTIONS("didUpdateOptions") + DID_UPDATE_OPTIONS("didUpdateOptions"), + + DID_TOUCH_MEDIA_CONTROL("didTouchMediaControl"), + ENA...
feat(media_control): create media control related internal events
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -66,30 +66,63 @@ const equalConfigB = { }, }; -test('New settings equal deprecated settings A', async () => { +async function setupSettingsService(mockConfig?: any) { const settings = app.injector.getServiceByClass(DataViewerSettingsService); const config = app.injector.getServiceByClass(ServerConfigResource); + if ...
feat(plugin-data-viewer): Add tests
null
dbeaver/cloudbeaver
Apache License 2.0
TypeScript
@@ -23,6 +23,8 @@ public class SourceSchedule extends GenericModel { /** * The crawl schedule in the specified **time_zone**. * + * - `five_minutes`: Runs every five minutes. + * - `hourly`: Runs every hour. * - `daily`: Runs every day between 00:00 and 06:00. * - `weekly`: Runs every week on Sunday between 00:00 and 0...
feat(Discovery): Add constants to Fequency interface in SourceSchedule
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
@@ -16,6 +16,7 @@ export const types = Object.assign({ 'fetching-concurrency': Number, 'frozen-shrinkwrap': Boolean, 'global-path': path, + 'global-pnpmfile': String, 'ignore-pnpmfile': Boolean, 'ignore-stop-requests': Boolean, 'ignore-upload-requests': Boolean,
feat: add global-pnpmfile config
null
pnpm/pnpm
MIT License
TypeScript
+#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <assert.h> +#include <libdiscord.h> + + +using namespace discord; + +void +on_ready(client *client, const user::dati *me) +{ + fprintf(stderr, "\n\nBash-Bot succesfully connected to Discord as %s#%s!\n\n", + me->username, me->d...
feat: add bot-bash.cpp
null
cee-studio/orca
MIT License
C++
@@ -51,6 +51,14 @@ class Forms '12' => 'col-12' ]; + /** + * Field class + * + * @var string + * @access private + */ + private $field_class = 'form-control'; + /** * Constructor * @@ -101,7 +109,7 @@ class Forms $property['attributes'] = Arr::keyExists($property, 'attributes') ? $property['attributes'] : []; // Create...
feat(core): add field_class for Forms class
null
flextype/flextype
MIT License
PHP
@@ -53,14 +53,29 @@ static void OnMotionNotify(LCUI_Event e, void *arg) LCUI_DestroyEvent(&sys_ev); } +#define MOUSE_WHEEL_DELTA 20 + static void OnButtonPress(LCUI_Event e, void *arg) { XEvent *ev = arg; LCUI_SysEventRec sys_ev; + + if (ev->xbutton.button == Button4) { + sys_ev.type = LCUI_MOUSEWHEEL; + sys_ev.wheel.x...
feat(linux): add mouse wheel event handing for x11
null
lc-soft/lcui
MIT License
C
@@ -40,6 +40,9 @@ public partial class SqliteConnection : DbConnection private bool _extensionsEnabled; private int? _defaultTimeout; + private static readonly StateChangeEventArgs _fromClosedToOpenEventArgs = new StateChangeEventArgs(ConnectionState.Closed, ConnectionState.Open); + private static readonly StateChangeE...
feat(sqliteConnection): cache eventargs
null
dotnet/efcore
MIT License
C#
@@ -127,9 +127,10 @@ class _ContractBase: return function_sig, input_args - def flatten(self) -> str: + def flatten(self) -> dict: """ - Return a single, deployable source code for this contract. + Return a dict with a single, deployable source code for this contract + and further information needed for verification ""...
feat: flatten returns more info for verification
null
eth-brownie/brownie
MIT License
Python
@@ -121,9 +121,9 @@ class Console(code.InteractiveConsole): include_default_pygments_style=False, ) if console_settings["auto_suggest"]: - kwargs["auto_suggest"] = TestAutoSuggest(locals_dict) + kwargs["auto_suggest"] = TestAutoSuggest(self, locals_dict) if console_settings["completions"]: - kwargs["completer"] = Conso...
feat: console autocompletion for multiline statements
null
eth-brownie/brownie
MIT License
Python
@@ -39,8 +39,8 @@ fn is_separator(c: char) -> bool { fn classify_separator(c: char) -> Option<SeparatorCategory> { match c { - ' ' | '\'' | '"' => Some(Soft), - '.' | ';' | ',' | '!' | '?' | '-' | '(' | ')' => Some(Hard), + ' ' | '\'' | ':' | '"' => Some(Soft), + '.' | ';' | ',' | '!' | '?' | '-' | '_' | '(' | ')' => S...
feat: Support underscore as a split character
null
meilisearch/meilisearch
MIT License
Rust
@@ -106,12 +106,15 @@ void disposePage(int32_t contextId) { assert(contextId < maxPoolSize); if (pageContextPool[contextId] == nullptr) return; + + // In order to avoid accessing pageContextPool when the page is being released. We need to clear the value in pageContextPool before releasing. + pageContextPool[contextId]...
feat: fix access pageContextPool bad access
null
openkraken/kraken
Apache License 2.0
C++
@@ -32,7 +32,7 @@ class Container(val loader: Loader, options: Options) : UIObject() { var options : Options = options set(options) { field = options - playback?.options = options + playback = null } override val viewClass: Class<*>
feat(player_load): Clean active playback
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -25,13 +25,15 @@ open class CAPWebView: UIView { private lazy var configuration = InstanceConfiguration(with: configDescriptor, isDebug: CapacitorBridge.isDevEnvironment) private lazy var assetHandler: WebViewAssetHandler = { - let handler = WebViewAssetHandler(router: _Router()) + let handler = WebViewAssetHandler(...
feat(ios): Add overrideable router var for CAPWebView
null
ionic-team/capacitor
MIT License
Swift
@@ -59,16 +59,16 @@ func TestAll(t *testing.T, provider spi.Provider) { } // TestProviderOpenStoreSetGetConfig tests common Provider OpenStore, SetStoreConfig, and GetStoreConfig functionality. -func TestProviderOpenStoreSetGetConfig(t *testing.T, provider spi.Provider) { - config := spi.StoreConfiguration{TagNames: []...
feat: Additional common storage tests
null
hyperledger/aries-framework-go
Apache License 2.0
Go
@@ -35,6 +35,8 @@ Options: Connects to the network and opens the brownie console. """ +_parser_cache: dict = {} + def main(): args = docopt(__doc__) @@ -158,8 +160,8 @@ class Console(code.InteractiveConsole): super().__init__(locals_dict) - # console dir method, for simplified and colorful output def _dir(self, obj=Non...
feat: cache results of _parse_document
null
eth-brownie/brownie
MIT License
Python
@@ -66,11 +66,10 @@ where self.arr.null_count() > 0 } - /// Returns the total size in bytes of the encoded data. Note, this method - /// is really an "accurate" estimation. It doesn't include for example the - /// size of the `Plain` struct receiver. + /// Returns an estimation of the total size in bytes used by this c...
feat: implement size on fixed_null encoding
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -8,7 +8,7 @@ import warnings from http import HTTPStatus from fastapi import FastAPI, Request -from fastapi.exceptions import RequestValidationError +from fastapi.exceptions import RequestValidationError, HTTPException from fastapi.middleware.cors import CORSMiddleware from fastapi.middleware.gzip import GZipMiddlew...
feat: error responses work
null
lnbits/lnbits
MIT License
Python
@@ -129,6 +129,7 @@ class InAppExample extends React.Component { } render() { return ( + <div> <div className="examples"> <Theme name={Theme.names.dark}> <div className="example"> @@ -200,6 +201,85 @@ class InAppExample extends React.Component { </TooltipPositioner> )} </Theme> + </div> + <Code + collapsible + lang="ja...
feat(site): add in app example for tooltip
null
pluralsight/design-system
Apache License 2.0
JavaScript
@@ -69,13 +69,15 @@ class Driver implements ExtendedCacheItemPoolInterface, AggregatablePoolInterfac { $file_path = $this->getFilePath($item->getKey(), true); - try{ - $content = include $file_path; - }catch (PhpfastcacheIOException $e){ - return null; - } + $value = null; + + set_error_handler(static function () {}); ...
feat(cache): add PHPArray cache driver
null
flextype/flextype
MIT License
PHP
@@ -105,6 +105,23 @@ class Builder extends BaseBuilder return $sql . 'SELECT * FROM dual'; } + //-------------------------------------------------------------------- + + /** + * Truncate statement + * + * Generates a platform-specific truncate string from the supplied data + * + * If the database does not support the t...
feat: add truncate method
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -7,6 +7,7 @@ DEBUG = env.bool('DEBUG', default=False) SQLALCHEMY_TRACK_MODIFICATIONS = env.bool('DEBUG', default=False) SECRET_KEY = env.str('SECRET_KEY', 'test') SQLALCHEMY_DATABASE_URI = env.str('SQLALCHEMY_DATABASE_URI') +SQLALCHEMY_POOL_SIZE = env.int('SQLALCHEMY_POOL_SIZE', 50) ROW_LIMIT = env.int('ROW_LIMIT') ...
feat(env): add SQLALCHEMY_POOL_SIZE in env
null
milvus-io/milvus
Apache License 2.0
Python
@@ -17,8 +17,15 @@ class ClosetManagementController extends Controller public function add(Request $request, Dispatcher $dispatcher, User $user) { $tid = $request->input('tid'); - /** @var Texture */ - $texture = Texture::findOrFail($tid); + $texture = Texture::find($tid); + if (!$texture) { + return json(trans('user.c...
feat(closet): add sanity check on closet management
null
bs-community/blessing-skin-server
MIT License
PHP
@@ -199,9 +199,12 @@ public class SystemSettingController String systemSettingValue = getSystemSettingOrTranslation( key, locale ); + Map<String, String> systemSettingsForJsonGeneration = new HashMap<>(); + systemSettingsForJsonGeneration.put( key, systemSettingValue ); + response.setContentType( MediaType.APPLICATION_...
feat: (2.34) Return JSON array with key:value instead only a value
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -24,6 +24,7 @@ type Props = { * - `accessibilityLabel`: accessibility label for the action, uses label by default if specified * - `color`: custom icon color of the action item * - `style`: pass additional styles for the fab item, for example, `backgroundColor` + * - `small`: should render small or standard `FAB`. D...
feat: add prop to FAB.Group component
null
callstack/react-native-paper
MIT License
TypeScript
@@ -38,6 +38,7 @@ class Z2MIntegration(Integration): async def event_callback(self, event_name: str, data: dict, kwargs: dict) -> None: self.controller.log(f"MQTT data event: {data}", level="DEBUG") action_key = self.kwargs.get("action_key", "action") + action_group_key = self.kwargs.get("action_group_key", "action_gro...
feat(device): add action groups for on z2m(mqtt)
null
xaviml/controllerx
MIT License
Python
@@ -10,9 +10,11 @@ import { svg } from "@thi.ng/hiccup-svg/svg"; import { text } from "@thi.ng/hiccup-svg/text"; import { resolve } from "@thi.ng/resolve-map"; import { fromEvent } from "@thi.ng/rstream/from/event"; +import { fromInterval } from "@thi.ng/rstream/from/interval"; import { Stream } from "@thi.ng/rstream/s...
feat(examples): add auto-refresh, add data credits
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -1013,7 +1013,7 @@ class EntriesController extends Controller array $file, string $upload_directory, string $allowed = 'jpeg, png, gif, jpg', - int $max_size = 3000000, + int $max_size = 5000000, string $filename = null, bool $remove_spaces = true, int $max_width = null,
feat(admin-plugin): increase upload limit for _uploadFile from 3mb to 5mb
null
flextype/flextype
MIT License
PHP
@@ -39,6 +39,9 @@ then # Ensure reproducible binary with a unique build user identifier export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --with-build-user=adoptium" + + # Disable CCache with --disable-ccache + export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --disable...
feat: disable CCache for jdk19+ as part of reproducible builds
null
adoptium/temurin-build
Apache License 2.0
Shell
@@ -5,11 +5,13 @@ declare(strict_types=1); namespace Pest\Repositories; use Closure; +use Pest\Exceptions\DatasetMissing; use Pest\Exceptions\ShouldNotHappen; use Pest\Exceptions\TestAlreadyExist; use Pest\Exceptions\TestCaseAlreadyInUse; use Pest\Exceptions\TestCaseClassOrTraitNotFound; use Pest\Factories\TestCaseFact...
feat: throw user-friendly exception for missing argument data
null
pestphp/pest
MIT License
PHP
use std::collections::HashMap; use std::collections::hash_map::Entry; -use value::{sort_key_value_pairs, KeyValuePairs, Value}; +use value::{sort_key_value_pairs, InlineTable, KeyValuePairs, Value}; use decor::{InternalString, Repr}; use key::Key; use array_of_tables::ArrayOfTables; @@ -135,6 +135,13 @@ impl Table { ) ...
feat(table): add append from inline table
null
toml-rs/toml
Apache License 2.0
Rust
import {WarningOutlineIcon} from '@sanity/icons' import {FieldPresence} from '@sanity/base/presence' -import React from 'react' +import React, {useMemo} from 'react' import {Badge, Box, Card, Flex, Text, Tooltip} from '@sanity/ui' import {FormFieldValidationStatus} from '@sanity/base/components' import styled from 'sty...
feat(form-builder): update `CellItem` design
null
sanity-io/sanity
MIT License
TypeScript
@@ -12,11 +12,15 @@ export function closestCustomElement(element: CustomElementHost<Element>): Custo } export function closestController(elementOrViewModel: Element | IViewModel): IController | undefined { - if ('$controller' in elementOrViewModel) { - return (elementOrViewModel as IViewModel).$controller; - } + // if ...
feat(router): use $au to find controller view model
null
aurelia/aurelia
MIT License
TypeScript
@@ -21,6 +21,8 @@ impl AboutWin { about_dialog.set_program_name("gxi"); about_dialog.set_website("https://github.com/Cogitri/gxi"); about_dialog.set_website_label(gettext("gxi's Github Repo").as_str()); + about_dialog.set_translator_credits("maxice8 - pt_BR"); + about_dialog.set_logo_icon_name("com.github.Cogitri.gxi")...
feat(about_win): display icon and translator credit
null
cogitri/tau
MIT License
Rust
#include <sys/types.h> #include <ifaddrs.h> #include <arpa/inet.h> -#include <boost/asio/ip/address.hpp> +#include <boost/asio.hpp> #include <boost/optional.hpp> #include <boost/optional/optional_io.hpp> +#include <boost/tokenizer.hpp> #include "../src/cache/descidx.h" #include "../src/util/crypto.h" #include "../src/u...
feat(test/test-dht): Cli-fy `get`
null
equalitie/ouinet
MIT License
C++
@@ -21,14 +21,14 @@ pub const SHIM_STACK_START: u64 = 0xFFFF_FF48_4800_0000; /// The size of the main kernel stack #[allow(clippy::integer_arithmetic)] -pub const SHIM_STACK_SIZE: u64 = bytes![8; MiB]; +pub const SHIM_STACK_SIZE: u64 = bytes![2; MiB]; /// The virtual address of the exception kernel stacks pub const SHI...
feat(shim-sev): adapt stack sizes from empirical measurements
null
enarx/enarx
Apache License 2.0
Rust
@@ -86,7 +86,10 @@ export class Service<App extends Overmind<any>> { }) } } - select(expr: any) { - return this.state$.pipe(map((value) => expr(value))) + select<T>(expr: (state: App['state']) => T): Observable<T> + select(): Observable<App['state']> { + return this.state$.pipe( + map((value) => (arguments[0] ? argumen...
feat(overmind-angular): allow selecting all state
null
cerebral/overmind
MIT License
TypeScript
@@ -126,16 +126,16 @@ pub mod pallet { pub enum Event<T: Config> { /// A new Gatekeeper is enabled on the blockchain GatekeeperAdded { - pubkey: WorkerPublicKey + pubkey: WorkerPublicKey, }, GatekeeperRemoved { - pubkey: WorkerPublicKey + pubkey: WorkerPublicKey, }, WorkerAdded { - pubkey: WorkerPublicKey + pubkey: Wor...
feat: add block time validation
null
phala-network/phala-blockchain
Apache License 2.0
Rust
+package main + +var cache = []int{0, 1, 2} + +func climbStairs(n int) int { + if n < len(cache) { + return cache[n] + } + for i := len(cache); i <= n; i++ { + cache = append(cache, cache[i-1]+cache[i-2]) + } + return cache[n] +} + +func main() { + fmt.Println(climbStairs(5)) +}
feat(leetcode): 70
null
asdf2014/algorithm
Apache License 2.0
Go
@@ -1047,6 +1047,7 @@ func NewApplicationDeleteCommand(clientOpts *argocdclient.ClientOptions) *cobra. if lowercaseAnswer == "y" || lowercaseAnswer == "yes" { _, err := appIf.Delete(context.Background(), &appDeleteReq) errors.CheckError(err) + fmt.Printf("application '%s' deleted\n", appName) } else { fmt.Println("The ...
feat: add printout of what has been deleted
null
argoproj/argo-cd
Apache License 2.0
Go
-<?php - -declare(strict_types=1); - -/** - * Flextype (https://flextype.org) - * Founded by Sergey Romanenko and maintained by Flextype Community. - */ - -namespace Flextype\Media; - -use Atomastic\Macroable\Macroable; -use Flextype\Entries; -use Sirius\Upload\Handler as UploadHandler; -use Throwable; - -use function ...
feat(media): remove media class
null
flextype/flextype
MIT License
PHP
@@ -102,12 +102,6 @@ export default function (intents: Intent[], tags: Tag[]): InvalidActionError[] { context.deleted.delete(tagId) } - // TODO - // if (intent.isTagDelete()) { - // context.deleted.add(tagId) - // context.remote.delete(tagId) - // context.created.delete(tagId) - // } } return errors
feat(tags): remove obsolete todo code
null
contentful/contentful-migration
MIT License
TypeScript
@@ -20,7 +20,8 @@ module.exports = (env) => { path: outputPath, filename: '[name].js', libraryTarget: 'umd', - globalObject: "typeof this !== 'undefined' ? this : window", + globalObject: + "typeof globalThis !== 'undefined' ? globalThis : typeof this !== 'undefined' ? this : typeof window !== 'undefined' ? window : ty...
feat: update global object webpack
null
simonbengtsson/jspdf-autotable
MIT License
JavaScript
@@ -50,6 +50,7 @@ export class TypeOrmLogger implements TypeOrmLoggerInterface { if (this.shouldDisplay('error')) { const sql = this.formatQueryWithParams(query, parameters); Logger.error(`Query error: ${sql}`, context); + Logger.verbose(error, context); } }
feat(core): Verbose query error logging
null
vendure-ecommerce/vendure
MIT License
TypeScript
-import { krakenWindow } from './kraken'; +import { EventTarget } from 'event-target-shim'; +import { krakenWindow, KrakenLocation } from './kraken'; -Object.defineProperty(global, 'onload', { + +function bindLegacyListeners(eventTarget: EventTarget, events: string[]) { + events.forEach((event: string) => { + Object.de...
feat: window extend EventTarget
null
openkraken/kraken
Apache License 2.0
TypeScript
@@ -106,6 +106,29 @@ void validate_accuracy(iallocator& allocator, const track_array_qvvf& raw_tracks context.decompress_tracks(track_writer_variable); } + if (num_samples != 0) + { + debug_track_writer track_writer_clamped(allocator, track_type8::qvvf, num_bones); + track_writer_clamped.initialize_with_defaults(raw_tr...
feat(tools): add regression tests to make sure clamping works during decompression
null
nfrechette/acl
MIT License
C++
@@ -15,10 +15,11 @@ void print_usage(void) { log_info( "\nUsage :\n" - "\tGet Global Commands : GET\n" - "\tCreate Global Command : CREATE <cmd_name>[<cmd_desc>]\n\n" - "PRESS ENTER TO CONTINUE"); - fgetc(stdin); // wait for input + "\tPrint Usage : HELP\n" + "\tList Commands : LIST <?guild_id>\n" + "\tCreate Command :...
feat(bot-slash-commands): add test for editing Application Commands
null
cee-studio/orca
MIT License
C
@@ -42,75 +42,75 @@ struct X8664DoubleReturn { /// This function is not be called from rust. #[naked] pub unsafe extern "sysv64" fn _syscall_enter() -> ! { - use crate::gdt::{USER_CODE_SEGMENT, USER_DATA_SEGMENT}; // TaskStateSegment.privilege_stack_table[0] const KERNEL_RSP_OFF: usize = size_of::<u32>(); // TaskStateS...
feat(shim-sev): syscall with lfence
null
enarx/enarx
Apache License 2.0
Rust
@@ -136,7 +136,7 @@ func (g *PlatformLinkGenerator) generateLoggingLink(entityGUID string) string { func (g *PlatformLinkGenerator) generateLoggingLauncherParams(entityGUID string) string { p := loggingLauncher{ - Query: fmt.Sprintf("\"entity.guid\":\"%s\"", entityGUID), + Query: fmt.Sprintf("\"entity.guid.INFRA\":\"%s...
feat: update entity guid to refer to infra entity
null
newrelic/newrelic-cli
Apache License 2.0
Go
+package org.eolang.maven; + +import java.io.File; +import java.io.IOException; +import java.nio.file.Path; +import org.hamcrest.MatcherAssert; +import org.hamcrest.Matchers; +import org.hamcrest.io.FileMatchers; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; + +class JavaFilesTest { + + ...
feat(#1634): add test skeleton
null
cqfn/eo
MIT License
Java
@@ -58,10 +58,9 @@ const ( type SimpleKVStore struct { path string c *cache.Cache + /* These 2 channels must be mapping one by one*/ ctrlCh chan CtrlType errCh chan error - - sync.RWMutex } func NewSimpleKVStore(path string, c *cache.Cache) *SimpleKVStore { @@ -101,16 +100,23 @@ func (m *SimpleKVStore) run() { err := m...
feat(kv): add returning error for kv methods
null
emqx/kuiper
Apache License 2.0
Go
import net.java.sip.communicator.impl.protocol.jabber.extensions.*; +import net.java.sip.communicator.util.*; import org.jivesoftware.smack.packet.*; import org.jivesoftware.smack.util.*; public class ColibriStatsExtension extends AbstractPacketExtension { + /** + * The logger instance used by this class. + */ + privat...
feat: Adds more convenience methods
null
jitsi/jitsi
Apache License 2.0
Java
@@ -8,7 +8,8 @@ POST: execute the pipeline in the body of the request and returns the transforme Run it with `FLASK_APP=playground FLASK_ENV=development flask run` """ import json -from typing import List +from glob import glob +from os.path import basename, splitext import pandas as pd from flask import Flask, Respons...
feat(playground): load all csv files in playground/datastore
null
toucantoco/weaverbird
BSD 3-Clause New or Revised License
Python
@@ -4,6 +4,17 @@ import { countOccurrences } from './tokens' import { NormalizedUtterance, Word } from './normalizer' import { leven } from '@nlpjs/similarity/src' +export const enum WordSimilarityAlgorithm { + LEVENSHTEIN, +} + +export class WordsDistance { + constructor(readonly algorithm = WordSimilarityAlgorithm.LE...
feat(contentful): export levenshtein distance
null
hubtype/botonic
MIT License
TypeScript
@@ -75,6 +75,14 @@ class Entries } foreach ($this->options['fields'] as $field) { + if (! isset($field['enabled'])) { + continue; + } + + if (! $field['enabled']) { + continue; + } + if (! isset($field['path'])) { continue; }
feat(entries): update logic for setting `enabled`, affected all fields
null
flextype/flextype
MIT License
PHP
@@ -69,7 +69,7 @@ class Yaml * * @return string A YAML string representing the original PHP value */ - public function encode($input, int $inline = 2, int $indent = 4, int $flags = 0) : string + public function encode($input, int $inline = 5, int $indent = 2, int $flags = 0) : string { return $this->_encode($input, $in...
feat(core): YAML set default inline = 5 and indent = 2
null
flextype/flextype
MIT License
PHP
@@ -157,7 +157,7 @@ $.fn.calendar = function(parameters) { var onShow = function () { //reset the focus date onShow module.set.focusDate(module.get.date()); - module.set.mode(settings.startMode); + module.set.mode(module.get.validatedMode(settings.startMode)); return settings.onShow.apply($container, arguments); }; var...
feat(calendar): avoid unnecessary redraw
null
fomantic/fomantic-ui
MIT License
JavaScript
@@ -1080,7 +1080,7 @@ class Flow(PostMixin, JAMLCompatible, ExitStack, metaclass=FlowType): ) for j in range(v.args.parallel): - r = node + r = v.args.uses if v.args.replicas > 1: r += f'_{i}_{j}' elif v.args.parallel > 1: @@ -1097,21 +1097,20 @@ class Flow(PostMixin, JAMLCompatible, ExitStack, metaclass=FlowType): mer...
feat(flow): add uses on flow plot
null
jina-ai/jina
Apache License 2.0
Python
@@ -35,7 +35,7 @@ function check(file: string) { sendGroupMsg.mockClear() const payload = require(`./fixtures/${file}`) const [name] = file.split('.', 1) - await app.githubWebhooks.receive({ id: Random.uuid(), name, payload }) + await app.github.receive({ id: Random.uuid(), name, payload }) if (snapshot[file]) { expect...
feat(github): support app.github server api
null
koishijs/koishi
MIT License
TypeScript
@@ -51,7 +51,7 @@ impl AsRef<str> for CacheStatus { impl CacheStatus { pub fn from_content(s: &[u8]) -> CacheStatus { - if s == MALFORMED_MARKER { + if s.starts_with(MALFORMED_MARKER) { CacheStatus::Malformed } else if s.is_empty() { CacheStatus::Negative @@ -209,7 +209,7 @@ impl Cache { log::trace!("File length: {}", ...
feat(cache): Be less strict about the contents of malformed cache files so they're easier to extend
null
getsentry/symbolicator
MIT License
Rust
@@ -127,7 +127,7 @@ class Cache } /** - * Fetches multiplay entries from the cache. + * Fetches multiplay items from the cache. * * @param array $keys Array of keys to retrieve from cache * @@ -164,7 +164,7 @@ class Cache * @param mixed $data The cache entry/data. * @param int $lifetime The lifetime in number of second...
feat(cache): Cache API improvements
null
flextype/flextype
MIT License
PHP
@@ -211,71 +211,9 @@ const ( YTM SegmentType = "ytm" ) -func (segment *Segment) shouldIncludeFolder() bool { - if segment.env == nil { - return true - } - cwdIncluded := segment.cwdIncluded() - cwdExcluded := segment.cwdExcluded() - return cwdIncluded && !cwdExcluded -} - -func (segment *Segment) isPowerline() bool { -...
feat: add segment writers at runtime
null
jandedobbeleer/oh-my-posh
MIT License
Go
@@ -104,6 +104,21 @@ class Parsedown extends \ParsedownToC if (!$this->builder->getConfig()->get('body.links.embed.enabled') ?? true) { return $link; } + // GitHub Gist link? + // https://regex101.com/r/QmCiAL/1 + $pattern = 'https:\/\/gist\.github.com\/[-a-zA-Z0-9_]+\/[-a-zA-Z0-9_]+'; + if (preg_match('/'.$pattern.'/i...
feat: embed GitHub Gist link
null
cecilapp/cecil
MIT License
PHP
@@ -202,6 +202,8 @@ defmodule Commanded.Aggregates.Aggregate do catch :exit, {reason, {GenServer, :call, [^name, :aggregate_state, ^timeout]}} when reason in [:normal, :noproc] -> + task = + Task.async(fn -> snapshot_options = application |> Config.get(:snapshotting) @@ -216,6 +218,15 @@ defmodule Commanded.Aggregates....
feat: respect timeout when rebuild aggregate state from events
null
commanded/commanded
MIT License
Elixir
@@ -12,9 +12,12 @@ namespace UnityGLTF /// </summary> public class GLTFComponent : MonoBehaviour, ILoadable { - const int GLTF_DOWNLOAD_THROTTLING_LIMIT = 3; - public static bool VERBOSE = false; + + public static int maxSimultaneousDownloads = 3; + public static float nearestDistance = float.MaxValue; + public static ...
feat: GLTFs load priority by main camera distance
null
decentraland/explorer
Apache License 2.0
C#
@@ -85,7 +85,7 @@ void HTMLParser::traverseHTML(GumboNode * node, ElementInstance* element) { parseProperty(newElement, &child->v.element); // eval javascript when <script>//code...</script>. - if (child->v.element.tag == GUMBO_TAG_SCRIPT && (GumboNode*) child->v.element.children.data[0] != nullptr) { + if (child->v.el...
feat: support script element has no text
null
openkraken/kraken
Apache License 2.0
C++
@@ -240,7 +240,10 @@ class VideoElement extends Element { @override void setProperty(String key, dynamic value) { super.setProperty(key, value); - if (key == 'src') { + if (key == 'src' || + key == '.style.width' || + key == '.style.height' + ) { removeVideoBox(); addVideoBox(); }
feat: rerender video when src/width/height changes
null
openkraken/kraken
Apache License 2.0
Dart
@@ -51,7 +51,7 @@ interface Dependencies { * * @return List of Maven Dependencies */ - List<Dependency> toList(); + Collection<Dependency> toList(); /** * Filtered dependencies. @@ -85,7 +85,7 @@ interface Dependencies { } @Override - public List<Dependency> toList() { + public Collection<Dependency> toList() { return ...
feat(#934): Dependencies. List -> Collection
null
cqfn/eo
MIT License
Java
@@ -4,6 +4,10 @@ import { Tag } from 'selfkey-ui'; const styles = theme => ({ icon: { + alignItems: 'center', + borderRadius: '5px', + display: 'flex', + justifyContent: 'center', height: '30px', width: '30px' }, @@ -94,6 +98,22 @@ export const MarketplaceServicesListItem = withStyles(styles)( return status === 'Inacti...
feat: added default icon for Exchanges list
null
selfkeyfoundation/identity-wallet
MIT License
JavaScript
+/* + * @lc app=leetcode id=6 lang=cpp + * + * [6] ZigZag Conversion + */ + +#include <iostream> +#include <string> +using namespace std; + +// @lc code=start +class Solution { + public: + string convert(string s, int numRows) { + char m[1010][1010] = {0}; + int maxJ = 0; + + int delta_i = 1, delta_j = 0; + int i = -1,...
feat: leetcode 6
null
upupming/algorithm
MIT License
C++