diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -130,11 +130,13 @@ pub struct ChainConfig {
#[serde(skip_serializing_if = "Option::is_none")]
pub merge_netsplit_block: Option<u64>,
- /// The Shanghai hard fork block.
+ /// Shanghai switch time.
#[serde(skip_serializing_if = "Option::is_none")]
- pub shanghai_block: Option<u64>,
+ pub shanghai_time: Option<u64>,
-... | feat(core): switch shanghaiBlock to shanghaiTime | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -57,6 +57,7 @@ use crate::Address;
/// An Access Control type that allows messages from the given source address to go through
#[derive(Debug)]
+// FIXME: @ac rename
pub struct AllowSourceAddress(pub Address);
#[async_trait]
@@ -72,15 +73,21 @@ impl AccessControl for AllowSourceAddress {
/// An Access Control type t... | feat(rust): change `AllowDestinationAddress` access control logic | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -61,6 +61,14 @@ class Entries
'member_of' => Comparison::MEMBER_OF,
'start_with' => Comparison::STARTS_WITH,
'ends_with' => Comparison::ENDS_WITH,
+
+ // alternative comparison syntax
+ 'eq' => Comparison::EQ,
+ 'neq' => Comparison::NEQ,
+ 'lt' => Comparison::LT,
+ 'lte' => Comparison::LTE,
+ 'gt' => Comparison::GT,... | feat(core): add alternative comparison syntax for Entries API | null | flextype/flextype | MIT License | PHP |
@@ -2,6 +2,7 @@ import React, {Component} from 'react'
import PropTypes from 'prop-types'
const STATUS_OK = 200
+const COMPLETED = 4
class ServiceMarkdown extends Component {
state = {html: ''}
@@ -13,11 +14,15 @@ class ServiceMarkdown extends Component {
const markedLibrary = require('marked')
const marked = markedLib... | feat(services/markdown): use async ajax request | null | sui-components/sui-components | MIT License | JavaScript |
@@ -318,7 +318,7 @@ open class Player: AVPlayerViewController {
Loader.shared.register(playbacks: playbacks)
}
- private class func register(plugins: [Plugin.Type]) {
+ open class func register(plugins: [Plugin.Type]) {
Loader.shared.register(plugins: plugins)
}
| feat: change register(plugins:) function from private to open on Player (tvOS) | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -49,45 +49,64 @@ class Forms
*/
public function fetch(array $fieldset, array $values = [], Request $request, Response $response) : string
{
- $form = '';
- $form .= Form::open(null, ['id' => 'form']);
+ $form = Form::open(null, ['id' => 'form']);
$form .= $this->_csrfHiddenField();
$form .= $this->_actionHiddenField... | feat(core): update Forms class | null | flextype/flextype | MIT License | PHP |
@@ -10,12 +10,28 @@ import RxSwift
extension SolanaSDK {
public func getTokensList() -> Single<[Token]> {
- if let cache = supportedTokensCache {
- return .just(cache)
+ let getCacheTokensRequest = Single<[Token]?>
+ .create { [weak self] observer in
+ if let cache = self?.supportedTokensCache {
+ observer(.success(cac... | feat: method getTokensList | null | p2p-org/solana-swift | MIT License | Swift |
/* eslint-disable max-params */
import {createSelector} from 'reselect';
+import {orderBy} from 'lodash';
const getActivities = (state) => state.conversation.get(`activities`);
const getParticipants = (state) => state.conversation.get(`participants`);
@@ -16,25 +17,28 @@ export const getReadReceipts = createSelector(
c... | feat(react-container-read-receipts): add sort so typing participants get priority | null | webex/react-widgets | MIT License | JavaScript |
@@ -264,7 +264,7 @@ fn main() {
fn spawn_watch_shell(failed_exercise_hint: &Arc<Mutex<Option<String>>>) {
let failed_exercise_hint = Arc::clone(failed_exercise_hint);
- println!("Type 'hint' or open the corresponding README.md file to get help or type 'clear' to clear the screen.");
+ println!("Welcome to watch mode! Y... | feat: add more watch commands | null | rust-lang/rustlings | MIT License | Rust |
@@ -58,7 +58,6 @@ void main() async {
KrakenWebView.initialize();
// Set render font family AlibabaPuHuiTi to resolve rendering difference.
CSSText.DEFAULT_FONT_FAMILY_FALLBACK = ['AlibabaPuHuiTi'];
- CSSText.DEFAULT_FONT_SIZE = 16.0;
setObjectElementFactory(customObjectElementFactory);
List<FileSystemEntity> specs = s... | feat: delete fontSize override in tests | null | openkraken/kraken | Apache License 2.0 | Dart |
'use strict';
module.exports = [
- '$scope', 'decisionList', 'Views', 'localConf', '$translate',
- function($scope, decisionList, Views, localConf, $translate) {
+ '$scope', 'decisionList', 'Views', //'localConf', '$translate',
+ function($scope, decisionList, Views /*, localConf, $translate*/) {
$scope.loadingState = ... | feat(cockpit): move DRD sorting logic to platform-ee | null | camunda/camunda-bpm-platform | Apache License 2.0 | JavaScript |
@@ -72,6 +72,62 @@ public class ConfigHelper {
private String aiCodeExtension;
private String stubGenerator;
private Integer level;
+ private List<TestCase> testCases = new ArrayList<>();
+ private String criteria;
+ private Map<Integer, String> criteriaLanguageMap = new HashMap<Integer, String>();
+ private String sor... | feat(sdk): add test cases and opti fields to QuestionConfig | null | codingame/codingame-game-engine | MIT License | Java |
@@ -42,6 +42,8 @@ import org.cactoos.Scalar;
import org.cactoos.experimental.Threads;
import org.cactoos.io.InputOf;
import org.cactoos.io.OutputTo;
+import org.cactoos.iterable.Filtered;
+import org.cactoos.iterable.Mapped;
import org.cactoos.number.SumOf;
import org.eolang.maven.footprint.Footprint;
import org.eolang... | feat(#1564): replace stream approach with OOP aproach using cactoos | null | cqfn/eo | MIT License | Java |
@@ -9,14 +9,26 @@ sudo apt-get install jq
# Loop through each package, install from npm and copy the workflow-ui.json from root of the package if it exists
cat site/plugins.json | jq ".[] | select(.workflow == true) | .package" | while read PACKAGE
do
- echo "Installing $PACKAGE"
- # remove the quotes from the package ... | feat: copy workflow ui scripts from package | null | netlify/plugins | MIT License | Shell |
declare(strict_types=1);
use Flextype\Foundation\Flextype;
+use Flextype\Foundation\Entries\Entries;
use Atomastic\Strings\Strings;
beforeEach(function() {
@@ -24,3 +25,12 @@ test('test getInstance() method', function () {
$this->assertInstanceOf(Flextype::class, $firstCall);
$this->assertSame($firstCall, $secondCall);... | feat(tests): add tests for Flextype::container() method | null | flextype/flextype | MIT License | PHP |
@@ -17,4 +17,16 @@ class AuditableModelStub extends Model implements AuditableContract
{
return '127.0.0.1';
}
+
+ /**
+ * Set the value of the Audit driver.
+ *
+ * @param string $driver
+ *
+ * @return void
+ */
+ public function setAuditDriver($driver)
+ {
+ $this->auditDriver = $driver;
+ }
}
| feat(AuditableModelStub): implement setAuditDriver() method | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -60,7 +60,7 @@ namespace Elders.Cronus.Projections.Rebuilding
{
foreach (AggregateCommit arCommit in stream.Commits)
{
- await progressTracker.CompleteActionWithProgressSignalAsync(() => index.IndexAsync(arCommit, Data.Version)).ConfigureAwait(false);
+ await progressTracker.CompleteActionWithProgressSignalAsync(() ... | feat: Fix previous feature build | null | elders/cronus | Apache License 2.0 | C# |
@@ -15,10 +15,13 @@ namespace modules {
temperature_module::temperature_module(const bar_settings& bar, string name_)
: timer_module<temperature_module>(bar, move(name_)) {
m_zone = m_conf.get(name(), "thermal-zone", 0);
+ m_path = m_conf.get(name(), "hwmon-path", ""s);
m_tempwarn = m_conf.get(name(), "warn-temperature... | feat(temperature): Add hwmon sysfs support | null | polybar/polybar | MIT License | C++ |
@@ -70,7 +70,7 @@ const EDiscovery = SparkPlugin.extend({
* @param {int} size - Number of records to retrieve
* @returns {Promise<ResponseEntity<Array<ReportRecord>>>} Http Response containing a list of report records
*/
- getReports(offset, size) {
+ getReports({offset, size}) {
return this.request({
method: 'GET',
se... | feat(ediscovery): updating api paramters to be optional | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -14,6 +14,7 @@ import (
bls12381fr "github.com/consensys/gnark-crypto/ecc/bls12-381/fr"
bn254fr "github.com/consensys/gnark-crypto/ecc/bn254/fr"
"github.com/consensys/gnark-crypto/ecc/bn254/fr/kzg"
+ kzgg "github.com/consensys/gnark-crypto/kzg"
"github.com/consensys/gnark/backend"
"github.com/consensys/gnark/backend... | feat: modified example/benchmark with setup and run options | null | consensys/gnark | Apache License 2.0 | Go |
@@ -43,6 +43,8 @@ class StackedRNN(nn.Module):
Input feature dimension.
n_classes : int
Set number of classes.
+ instance_normalize : boolean, optional
+ Apply mean/variance normalization on input sequences.
rnn : {'LSTM', 'GRU'}, optional
Defaults to 'LSTM'.
recurrent : list, optional
@@ -58,17 +60,18 @@ class Stacked... | feat: add "instance_normalize" option to StackedRNN | null | pyannote/pyannote-audio | MIT License | Python |
@@ -267,6 +267,31 @@ impl DictionaryRLE {
}
}
+ pub fn with_dictionary(dictionary: BTreeSet<Option<String>>) -> Self {
+ let mut _self = Self {
+ entry_index: BTreeMap::new(),
+ entry_row_ids: BTreeMap::new(),
+ index_entry: BTreeMap::new(),
+ map_size: 0,
+ run_lengths: Vec::new(),
+ run_length_size: 0,
+ total: 0,
+ ... | feat: support pre-populating dictionary | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
import { DebugLogger, deepAssign, InvalidConfigurationError, log } from "builder-util"
import { statOrNull } from "builder-util/out/fs"
-import { readJson } from "fs-extra-p"
+import { readJson, pathExists } from "fs-extra-p"
import { Lazy } from "lazy-val"
import * as path from "path"
import { getConfig as _getConfig,... | feat(electron-webpack): config discovered through JS file | null | electron-userland/electron-builder | MIT License | TypeScript |
@@ -186,12 +186,14 @@ class MediaControl(core: Core) : UICorePlugin(core, name = name) {
}
override fun hide() {
+ core.trigger(InternalEvent.WILL_HIDE_MEDIA_CONTROL.value)
if (isEnabled && isPlaybackIdle) return
visibility = Visibility.HIDDEN
backgroundView.visibility = View.INVISIBLE
controlsPanel.visibility = View.I... | feat(media_control): fix point where event triggers in MediaControl | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -144,6 +144,53 @@ TEST_F(LoggingClientTest, InsertObjectMedia) {
InsertObjectMediaRequest("foo-bar", "baz", "the contents"));
}
+TEST_F(LoggingClientTest, ListBuckets) {
+ std::vector<BucketMetadata> items = {
+ internal::BucketMetadataParser::FromString(
+ R"""({
+ "name": "response-bucket-b1",
+ "id": "response-bu... | feat(storage): Add ListBuckets test for storage::internal::LoggingClient | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -9,6 +9,7 @@ import com.conveyal.analysis.models.OpportunityDataset;
import com.conveyal.analysis.models.Project;
import com.conveyal.analysis.models.RegionalAnalysis;
import com.conveyal.analysis.persistence.Persistence;
+import com.conveyal.analysis.results.CsvResultWriter;
import com.conveyal.analysis.util.JsonUt... | feat(paths): add endpoint for csv result download | null | conveyal/r5 | MIT License | Java |
@@ -86,6 +86,7 @@ internal class OAuth2Provider(
private val logger = KotlinLogging.logger {}
private val namespaceMapping = mapProperty("tock_custom_namespace_mapping", emptyMap())
private val customRolesMapping = mapProperty("tock_custom_roles_mapping", emptyMap())
+ private val userRoleAttribute = property("tock_oau... | feat(oauth2): Allow to set custom attribute to read | null | theopenconversationkit/tock | Apache License 2.0 | Kotlin |
package io.clappr.player.plugin.control
import android.annotation.SuppressLint
-import android.annotation.TargetApi
import android.content.Context
-import android.os.Build
import android.os.Bundle
import android.os.Handler
import android.os.SystemClock
| feat(background_media_control_tv): remove unnecessary imports | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
import React, { Component } from "react";
import PropTypes from "prop-types";
import styled from "styled-components";
-import Button from "../../Button/v1";
import { applyTheme } from "../../../utils";
const Item = styled.div`
- border-bottom: solid 1px #f5f5f5;
+ border-bottom: solid 1px ${applyTheme("color_black05")}... | feat: working out CartItem mobile layout | null | reactioncommerce/reaction-component-library | Apache License 2.0 | JavaScript |
@@ -70,10 +70,13 @@ StatusOr<Row> PartialResultSetSource::NextRow() {
}
std::vector<Value> values;
+ values.reserve(fields.size());
+ auto iter = buffer_.begin();
for (auto const& field : fields) {
- values.push_back(FromProto(field.type(), std::move(buffer_.front())));
- buffer_.pop_front();
+ values.push_back(FromPro... | feat: attempt to speed up hot loop in NextRow (googleapis/google-cloud-cpp-spanner#1052) | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -463,13 +463,29 @@ public class ConfigHelper {
defaultConfig.configDetected = isPresentConfigIni(gameConfig, defaultConfig);
}
- // copy english statement & welcome to french if not translated
+
questionsConfig.values().stream().forEach(c -> {
+ // copy english statement, welcome, criteria to french if not translate... | feat(sdk): translate criteria and test cases | null | codingame/codingame-game-engine | MIT License | Java |
@@ -139,6 +139,20 @@ impl Room {
pub fn remove_timeline(&self) {
*self.timeline.write().unwrap() = None;
}
+
+ pub fn retry_decryption(&self, session_ids: Vec<String>) {
+ let timeline = match &*self.timeline.read().unwrap() {
+ Some(t) => Arc::clone(t),
+ None => {
+ error!("Timeline not set up, can't retry decryption... | feat(bindings): Add decryption retrying to matrix-sdk-ffi | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -53,12 +53,6 @@ type s3Backup struct {
Date time.Time
}
-type s3Backups []s3Backup
-
-func (a s3Backups) Len() int { return len(a) }
-func (a s3Backups) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
-func (a s3Backups) Less(i, j int) bool { return a[i].Date.Before(a[j].Date) }
-
func GetPostgresDB(client *kommons.Clien... | feat: change db restore to allow restoring old s3 database | null | flanksource/karina | Apache License 2.0 | Go |
@@ -319,7 +319,7 @@ open class Store<S: State, D: SideEffectDependencyContainer>: PartialStore<S> {
*/
@discardableResult
override public func dispatch<T: SideEffect>(_ dispatchable: T) -> Promise<T.ReturnValue> {
- return self.enqueueSideEffect(dispatchable).then { $0 as! T.ReturnValue }
+ return self.enqueueSideEffec... | feat: restore support for interceptors | null | bendingspoons/katana-swift | MIT License | Swift |
+package com.networknt.content;
+
+import com.networknt.config.Config;
+import com.networknt.handler.MiddlewareHandler;
+import com.networknt.utility.ModuleRegistry;
+import io.undertow.Handlers;
+import io.undertow.server.HttpHandler;
+import io.undertow.server.HttpServerExchange;
+import io.undertow.util.Headers;
+
+... | feat(networknt/content): add business logic to get content type header value from request or keep config type | null | networknt/light-4j | Apache License 2.0 | Java |
@@ -794,12 +794,6 @@ class AtClientImpl implements AtClient {
Future<String?> notifyChange(NotificationParams notificationParams) async {
String? notifyKey = notificationParams.atKey.key;
- // Check for internet. Since notify invoke remote secondary directly, network connection
- // is mandatory.
- if (!await NetworkUt... | feat: remove network availability check from AtClientImpl.notifyChange() | null | atsign-foundation/at_client_sdk | BSD 3-Clause New or Revised License | Dart |
@@ -376,6 +376,7 @@ const (
ViewPropertyTypeTable = "table"
ViewPropertyTypeXY = "xy"
ViewPropertyTypeMosaic = "mosaic"
+ ViewPropertyTypeBand = "band"
)
// ViewProperties is used to mark other structures as conforming to a View.
@@ -491,6 +492,12 @@ func UnmarshalViewPropertiesJSON(b []byte) (ViewProperties, error) {
... | feat(bandChart): Update backend | null | influxdata/influxdb | MIT License | Go |
@@ -82,9 +82,9 @@ export class Trie<K extends ArrayLike<any>, T> {
for (let i = 0, n = key.length; i < n; i++) {
const k = key[i].toString();
const next = node.next[k];
- node = !next ? (node.n++, (node.next[k] = new Trie<K, T>())) : next;
+ node = !next ? (node.n++, (node.next[k] = this.makeChild())) : next;
}
- if (!... | feat(associative): update Trie to allow custom value sets | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -19,7 +19,16 @@ package org.activiti.api.process.runtime;
import org.activiti.api.process.model.ProcessDefinition;
import org.activiti.api.process.model.ProcessInstance;
-import org.activiti.api.process.model.payloads.*;
+import org.activiti.api.process.model.payloads.DeleteProcessPayload;
+import org.activiti.api.p... | feat: update process instance is added to ProcessAdminRuntime | null | activiti/activiti | Apache License 2.0 | Java |
@@ -21,6 +21,7 @@ export * from "../tab-navigation-base/tab-navigation-base";
export * from "../tab-navigation-base/tab-strip";
export * from "../tab-navigation-base/tab-strip-item";
+const maxTabsCount = 5;
const majorVersion = iosUtils.MajorVersion;
const isPhone = device.deviceType === "Phone";
@@ -490,6 +491,9 @@ e... | feat(bottom-navigation-ios): limit to 5 items | null | nativescript/nativescript | MIT License | TypeScript |
@@ -6,8 +6,6 @@ open class AVFoundationPlayback: Playback {
"m3u8": "application/x-mpegurl",
]
- private var kvoBufferingContext = 0
-
private(set) var seekToTimeWhenReadyToPlay: TimeInterval?
private var selectedCharacteristics: [AVMediaCharacteristic] = []
@@ -267,15 +265,12 @@ open class AVFoundationPlayback: Playba... | feat: handle buffer state changes with newer kvo syntax | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -91,11 +91,12 @@ class Button extends BaseButton
];
}
- protected function getSizes(): array
+ protected function sizes(): array
{
return [
'xs' => 'text-xs px-2.5 py-1.5',
'sm' => 'text-sm leading-4 px-3 py-2',
+ BaseButton::DEFAULT => 'text-sm px-4 py-2',
'md' => 'text-base px-4 py-2',
'lg' => 'text-base px-6 py-3... | feat: add default button size | null | wireui/wireui | MIT License | PHP |
@@ -28,6 +28,7 @@ import com.jcabi.log.VerboseProcess;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.nio.charset.StandardCharsets;
+import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
@@ -48,7 +49,6 @@ import org.eolang.maven.util.Home;
impo... | feat(#1723): repair objectionary in SnippetTest | null | cqfn/eo | MIT License | Java |
+import {
+ BaseExtensionOptions,
+ CommandFunction,
+ CommandParams,
+ Extension,
+ ExtensionManagerParams,
+ getPluginMeta,
+ getPluginState,
+ isNumber,
+ isString,
+ PosParams,
+ Transaction,
+} from '@remirror/core';
+import { Plugin } from 'prosemirror-state';
+import { Decoration, DecorationSet } from 'prosemirr... | feat: new position tracker extension | null | remirror/remirror | MIT License | TypeScript |
@@ -35,6 +35,8 @@ public enum MouseInputMode
public bool resetHandsAtSwitch = true;
[Tooltip("Whether mouse movement always acts as input or requires a button press.")]
public MouseInputMode mouseMovementInput = MouseInputMode.Always;
+ [Tooltip("Lock the mouse cursor to the game window when the mouse movement key is p... | feat(Simulator): allow the simulator to lock the cursor when in use | null | extendrealityltd/vrtk | MIT License | C# |
@@ -12,18 +12,26 @@ namespace Flextype;
use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
+/**
+ * Validate auth token
+ */
+function validate_auth_token($request, $flextype) : bool
+{
+ return isset($request->getQueryParams()['auth_token']) && $request->getQuer... | feat(core): add validate_auth_token() for api | null | flextype/flextype | MIT License | PHP |
@@ -31,8 +31,11 @@ pub enum ParseError {
#[snafu(display("error building response: {:?}", source))]
ResponseError { source: response::Error },
- #[snafu(display("value {:?} not supported for flag {:?}", value, flag))]
- UnsupportedFlagValue { value: String, flag: String },
+ #[snafu(display(
+ "value {} not supported f... | feat: improve error message on `storage` `--format` parse errors | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -4,6 +4,7 @@ import os
import re
import shutil
import stat
+import sys
import tempfile
from contextlib import contextmanager
@@ -12,6 +13,7 @@ from typing import TYPE_CHECKING
from typing import Any
from typing import Iterator
from typing import Mapping
+from typing import cast
from poetry.utils.constants import REQ... | feat: added helper method to receive win folders | null | python-poetry/poetry | MIT License | Python |
@@ -37,3 +37,10 @@ async def setup(context: InjectionContext):
).provide(context.settings, context.injector)
await web_resolver.setup(context)
registry.register(web_resolver)
+
+ if context.settings.get("resolver.universal"):
+ universal_resolver = ClassProvider(
+ "aries_cloudagent.resolver.default.universal.Universal... | feat: load universal resolver when appropriate | null | hyperledger/aries-cloudagent-python | Apache License 2.0 | Python |
+// leetcode 300 [longest_increasing_subsequence](https://leetcode.com/problems/longest-increasing-subsequence)
+fn longest_increasing_subsequence(nums: Vec<i32>) -> i32 {
+ if nums.len() <= 1 { return nums.len() as i32; }
+
+ let mut dp = vec![1; nums.len()];
+ let mut max_list = 1;
+
+ for i in 0..nums.len() {
+ for ... | feat(geektime_algo): add 42 dynamic programming | null | wangzheng0822/algo | Apache License 2.0 | Rust |
@@ -106,7 +106,8 @@ pub struct SchemaValidator<C = Arc<InstrumentedCache<MemoryNamespaceCache>>> {
catalog: Arc<dyn Catalog>,
cache: C,
- service_limit_hit: U64Counter,
+ service_limit_hit_tables: U64Counter,
+ service_limit_hit_columns: U64Counter,
schema_conflict: U64Counter,
}
@@ -116,12 +117,13 @@ impl<C> SchemaVal... | feat(metrics): separate service limit counters | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
+<?php
+
+declare(strict_types=1);
+
+/**
+ * Flextype (http://flextype.org)
+ * Founded by Sergey Romanenko and maintained by Flextype Community.
+ */
+
+namespace Flextype;
+
+use Doctrine\Common\Collections\ArrayCollection;
+use Doctrine\Common\Collections\Criteria;
+use Doctrine\Common\Collections\Expr\Comparison;
... | feat(element-queries): initial Collections class commit | null | flextype/flextype | MIT License | PHP |
/*
- * (C) Copyright IBM Corp. 2018, 2021.
+ * (C) Copyright IBM Corp. 2021.
*
* 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
@@ -72,6 +72,11 @@ public class MessageContextGlobalSystem extends G... | feat(assistant-v2): add sessionStartTime & state properties to MessageContextGlobalSystem | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -173,6 +173,12 @@ class AgentManager:
Directory where to store data.
parallelization: {'thread', 'process'}, default: 'process'
Whether to parallelize agent training using threads or processes.
+ max_workers: None or int, default: None
+ Number of processes/threads used in a call to fit().
+ If None and parallelizat... | feat(manager): Argument max_workers to set max number of workers in fit() method of AgentManager | null | rlberry-py/rlberry | MIT License | Python |
@@ -277,6 +277,9 @@ abstract class Element extends Node
parentElement.renderLayoutElement.insert(renderBoxModel, after: preNonPositionedObject);
needsReposition = false;
+
+ // @TODO reposition positioned children
+
// from static to !static
} else {
// change non position element to position element, add stack node
@@... | feat: reposition children when position update | null | openkraken/kraken | Apache License 2.0 | Dart |
@if ($leftLabel)
<span class="mr-2 text-sm font-medium">{{ $leftLabel }}</span>
@endif
+
<input {{ $attributes->class([
- 'block sm:text-sm rounded-md transition ease-in-out duration-100 focus:outline-none',
- 'text-primary-600 focus:ring-primary-600',
+ 'block sm:text-sm rounded-sm transition ease-in-out duration-100 ... | feat: add checkbox dark mode | null | wireui/wireui | MIT License | PHP |
@@ -98,6 +98,10 @@ export default class AppStore extends Store {
ipcRenderer.on('autoUpdate', (event, data) => {
if (data.available) {
this.updateStatus = this.updateStatusTypes.AVAILABLE;
+
+ if (isMac) {
+ app.dock.bounce();
+ }
}
if (data.available !== undefined && !data.available) {
| feat(Mac): Add dock bounce when new update is available | null | meetfranz/franz | Apache License 2.0 | JavaScript |
@@ -24,6 +24,10 @@ export class KmsEthereumSigner extends Signer {
}
async getAddress(): Promise<string> {
+ // publicKeyHex is not available when using web3provider
+ if (this.controllerKey.meta?.account) {
+ return this.controllerKey.meta?.account
+ }
return computeAddress('0x' + this.controllerKey.publicKeyHex)
}
| feat(did-provider-ethr): Using meta account | null | uport-project/veramo | Apache License 2.0 | TypeScript |
@@ -53,19 +53,25 @@ const fixtures = [
},
{
- name: "(func (result i32))",
+ name: "(type (func))",
+ node: t.typeInstructionFunc([], []),
+ expected: [0x60, 0x00, 0x00]
+ },
+
+ {
+ name: "(type (func (result i32)))",
node: t.typeInstructionFunc([], ["i32"]),
expected: [0x60, 0x00, 0x01, 0x7f]
},
{
- name: "(func (par... | feat(wasm-gen): add empty TypeInstruction test | null | xtuc/webassemblyjs | MIT License | JavaScript |
@@ -34,10 +34,24 @@ extension APIRequest {
}
}
+ if let error = (try? JSONDecoder().decode(JsonRpcErrorObject.self, from: data))?.error {
+ guard let parsedErrorCode = error.parsedErrorCode else {
+ throw Web3Error.nodeError(desc: "\(error.message)\nError code: \(error.code)")
+ }
+ let description = "\(parsedErrorCode... | feat: added support for JSON RPC Error object | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -31,7 +31,7 @@ Speaker embedding
Usage:
pyannote-speaker-embedding train [--database=<db.yml> --subset=<subset> --from=<epoch> --for=<epochs> --gpu] <experiment_dir> <database.task.protocol>
- pyannote-speaker-embedding validate [--database=<db.yml> --subset=<subset> --from=<epoch> --to=<epoch> --every=<epoch> --chr... | feat: add --batch option to "validate" mode | null | pyannote/pyannote-audio | MIT License | Python |
@@ -59,6 +59,15 @@ if ! which hub > /dev/null; then
exit 1
fi
+function version_lt() {
+ test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" != "$1"
+}
+
+if version_lt "$(hub version | awk '/hub/ {print $3}')" "2.13.0"; then
+ echo "Please install 'hub' with version 2.13.0+ from https://github.com/github/hub/rele... | feat(scripts): add prompt of `hub` version | null | yunionio/yunioncloud | Apache License 2.0 | Shell |
@@ -41,6 +41,7 @@ export function createAutocompleteDom<TItem extends BaseItem>({
autocomplete.setQuery('');
autocomplete.setIsOpen(false);
autocomplete.refresh();
+ document.body.classList.remove('aa-Detached');
}
const rootProps = propGetters.getRootProps({
@@ -136,6 +137,7 @@ export function createAutocompleteDom<TI... | feat(js): add `aa-Detached` CSS class on Detached mode | null | algolia/autocomplete | MIT License | TypeScript |
@@ -284,10 +284,20 @@ namespace acl
// Constructs a context instance from a settings instance.
DecompressionContext(const DecompressionSettingsType& settings);
+ //////////////////////////////////////////////////////////////////////////
+ // Returns the compressed clip bound to this context instance.
+ const Compressed... | feat(decompression): adding useful functions and missing comment | null | nfrechette/acl | MIT License | C |
@@ -109,6 +109,7 @@ open class Core: UIObject, UIGestureRecognizerDelegate {
parentView.addSubviewMatchingConstraints(view)
layerComposer.attachContainer(containerView)
+ layerComposer.attachOverlay(overlayView)
layerComposer.compose(inside: view)
self.parentController = controller
@@ -118,11 +119,8 @@ open class Core:... | feat: attach overlay view on LayerComposer | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -112,7 +112,7 @@ impl FuseTable {
Ok(Ok(partitions)) => Ok(partitions),
Ok(Err(error)) => Err(error),
Err(cause) => Err(ErrorCode::PanicError(format!(
- "Maybe panic while in commit insert. {}",
+ "Maybe panic while in eval index. {}",
cause
))),
}?;
| feat(cluster): update error message | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -91,8 +91,6 @@ public class CodegenEngine {
vue3FilePath("views/${table.moduleName}/${classNameVar}/${classNameVar}.data.ts"))
.put(vue3TemplatePath("api/api.ts"),
vue3FilePath("api/${table.moduleName}/${classNameVar}/index.ts"))
- .put(vue3TemplatePath("api/types.ts"),
- vue3FilePath("api/${table.moduleName}/${clas... | feat: vue3 codegen | null | yunaiv/ruoyi-vue-pro | MIT License | Java |
@@ -24,29 +24,24 @@ import (
"text/template"
"time"
- terraformv1beta1 "github.com/oam-dev/terraform-controller/api/v1beta1"
- kerrors "k8s.io/apimachinery/pkg/api/errors"
-
- yaml2 "k8s.io/apimachinery/pkg/util/yaml"
-
- "github.com/oam-dev/kubevela/pkg/oam/util"
-
- common2 "github.com/oam-dev/kubevela/apis/core.oam.... | feat: optimize addon enable experience | null | oam-dev/kubevela | Apache License 2.0 | Go |
+<?php
+
+declare(strict_types=1);
+
+beforeEach(function() {
+ filesystem()->directory(PATH['project'] . '/uploads')->create();
+ filesystem()->directory(PATH['project'] . '/uploads/.meta')->create();
+});
+
+afterEach(function (): void {
+ filesystem()->directory(PATH['project'] . '/uploads/.meta')->delete();
+ files... | feat(tests): add tests for MediaFilesMeta update() method | null | flextype/flextype | MIT License | PHP |
@@ -517,6 +517,18 @@ SQL;
//--------------------------------------------------------------------
+ /**
+ * Get cursor. Returns a cursor from the database
+ *
+ * @return resource
+ */
+ public function getCursor()
+ {
+ return $this->cursorId = oci_new_cursor($this->connID);
+ }
+
+ //----------------------------------... | feat: add get cursor method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -216,8 +216,9 @@ fn gen_options(cmd: &Command, indent: usize) -> String {
buffer.push_str(&format!("{:indent$}],\n", "", indent = indent + 4));
}
- #[allow(deprecated)]
- if option.is_multiple_occurrences_set() {
+ if let ArgAction::Set | ArgAction::Append | ArgAction::Count =
+ option.get_action()
+ {
buffer.push_s... | feat(clap_complete_fig): Switch to using `ArgAction` | null | clap-rs/clap | Apache License 2.0 | Rust |
+use crate::error::VaultFailError;
+use crate::types::{PublicKey, SecretKey, SecretKeyAttributes, SecretKeyContext};
+use c_bindings::*;
+use std::cell::Cell;
+use zeroize::Zeroize;
+
+// TODO: Should be thread-safe?
+/// Represents a single instance of an Ockam vault context
+#[derive(Debug)]
+pub struct CVault {
+ co... | feat(rust): add dummy cvault | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -58,6 +58,7 @@ require('electron-reload')(__dirname, {
});
/// #endif
+const isLinux = process.platform === 'linux';
const isDarwin = process.platform === 'darwin';
const isDevelop = process.env.NODE_ENV === 'development';
const gotTheLock = app.requestSingleInstanceLock();
@@ -77,7 +78,9 @@ const createWindow = () ... | feat: Enabled auto update on Linux | null | sprout2000/elephicon | MIT License | TypeScript |
@@ -64,9 +64,16 @@ export default {
const instance = currentTarget &&
currentTarget.__vue__ &&
currentTarget.__vue__.$getComponentDescriptor(currentTarget.__vue__, false)
- $event = processEvent.call(this, $event.type, $event, {}, findUniTarget($event, this.$el) || $event.target,
- $event.currentTarget)
+ const $origEv... | feat(wxs): support preventDefault,stopPropagation | null | dcloudio/uni-app | Apache License 2.0 | JavaScript |
@@ -3,6 +3,7 @@ package list
import (
"fmt"
+ "github.com/MakeNowJust/heredoc"
"github.com/profclems/glab/pkg/api"
"github.com/profclems/glab/commands/cmdutils"
@@ -18,6 +19,11 @@ func NewCmdList(f *cmdutils.Factory) *cobra.Command {
Short: `List labels in repository`,
Long: ``,
Aliases: []string{"ls"},
+ Example: here... | feat(commands/label/list): add EXAMPLES | null | profclems/glab | MIT License | Go |
@@ -11,7 +11,7 @@ from tqdm import tqdm
from cloudvolume import compression
from cloudvolume.exceptions import UnsupportedProtocolError
-from cloudvolume.lib import mkdir, scatter
+from cloudvolume.lib import mkdir, scatter, jsonify
from cloudvolume.threaded_queue import ThreadedQueue, DEFAULT_THREADS
from cloudvolume.... | feat: make storage.put_json accept numpy arrays | null | seung-lab/cloud-volume | BSD 3-Clause New or Revised License | Python |
/*
- * Copyright 2011-2021 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2011-2022 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,12 +18,6 @@ package com.b2international.snowowl.cor... | feat(core): Initialize Netty server channel in RepositoryPlugin | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -472,6 +472,7 @@ open class AVFoundationPlayback: Playback {
updateState(.idle)
player?.pause()
releaseResources()
+ clearObjects()
trigger(.didStop)
}
@@ -481,7 +482,11 @@ open class AVFoundationPlayback: Playback {
playerLayer = nil
player?.replaceCurrentItem(with: nil)
player = nil
+ }
+
+ private func clearObjec... | feat: call clearObjects on AVFoundationPlayback.stop and reset playerStatus | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -47,5 +47,35 @@ namespace PepperDash.Essentials.Core
[JsonProperty("andWhenVacatedState")]
public bool? AndWhenVacatedState { get; set; }
+
+ // PoE Sensors: CenOdtCPoe
+
+ /// <summary>
+ /// Sets the sensitivity level for US while sensor is in occupied state
+ /// 1 = low; 2 = medium; 3 = high; 4 = xlow; 5 = 2xlow... | feat: Add configuraiton values for setting ultrasonic (US) and PIR sensor sensitivity from configuration | null | pepperdash/essentials | MIT License | C# |
@@ -436,4 +436,17 @@ class CommitMessage implements TaskInterface
return true;
}
+
+ /**
+ * Gets a clean subject line from the commit message
+ *
+ * @param $context
+ * @return string
+ */
+ private function getSubjectLine($context)
+ {
+ $commitMessage = $context->getCommitMessage();
+ $lines = $this->getCommitMessa... | feat: Add private getSubjectLine() to extract duplicated logic | null | phpro/grumphp | MIT License | PHP |
@@ -56,7 +56,10 @@ fn_install_mono_repo(){
monoautoinstall="1"
fi
elif [ "${distroid}" == "centos" ]; then
- if [ "${distroversion}" == "7" ]; then
+ if [ "${distroversion}" == "8" ]; then
+ cmd="rpm --import 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF';su -c 'curl ... | feat(install): Add mono support for RHEL 8 | null | gameservermanagers/linuxgsm | MIT License | Shell |
+import { Env, CISource } from "../ci_source"
+
+export class LocalRepo implements CISource {
+ private readonly env: Env
+
+ constructor(env: Env) {
+ const defaults = {
+ repo: process.cwd(),
+ pr: undefined,
+ }
+
+ this.env = { ...env, ...defaults }
+ }
+ get name(): string {
+ return "local repo"
+ }
+
+ get isCI(... | feat(provider): add local repo as a provider | null | danger/danger-js | MIT License | TypeScript |
@@ -95,6 +95,22 @@ class Builder extends BaseBuilder
protected function _insertBatch(string $table, array $keys, array $values): string
{
$keys = implode(', ', $keys);
+ $has_primary_key = in_array('PRIMARY', array_column($this->db->getIndexData($table), 'type'), true);
+
+ // ORA-00001 measures
+ if ($has_primary_key)... | feat: insertBatch for auto increment | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -36,6 +36,7 @@ import java.util.concurrent.atomic.AtomicInteger;
import java.util.function.Function;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
+import javax.annotation.concurrent.NotThreadSafe;
import org.apache.maven.plugin.AbstractMojo;
/**
@@ -44,6 +45,7 @@ import org.apache.maven.plugin... | feat(#1337): add NotThreadSafe annotation | null | cqfn/eo | MIT License | Java |
+__copyright__ = "Copyright (c) 2020 Jina AI Limited. All rights reserved."
+__license__ = "Apache-2.0"
+
+import numpy as np
+
+from .. import BaseNumericEncoder
+from ...decorators import batching
+
+
+class TSNEEncoder(BaseNumericEncoder):
+ """
+ :class:`TSNEEncoder` encodes data from an ndarray in size `B x T` int... | feat(executor): add numeric tsne | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -50,6 +50,7 @@ export SideNav from './components/SideNav';
// Dashboard
export Dashboard from './components/Dashboard/Dashboard';
+export DashboardHeader from './components/Dashboard/DashboardHeader';
export DashboardGrid from './components/Dashboard/DashboardGrid';
export Card from './components/Card/Card';
export ... | feat(dashboardheader): export / expose header | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -1228,6 +1228,146 @@ void *sceKernelGetThreadTLSAddr(SceUID thid, int key);
*/
void *sceKernelGetTLSAddr(int key);
+/* RWLock */
+
+/** Additional options used when creating rwlock. */
+typedef struct SceKernelRWLockOptParam {
+ /** Size of the ::SceKernelRWLockOptParam structure */
+ SceSize size;
+} SceKernelRWLoc... | feat: add RWLock | null | vitasdk/vita-headers | MIT License | C |
@@ -374,6 +374,7 @@ SELECT DISTINCT
,'Free list stalls/sec'
,'Buffer cache hit ratio'
,'Buffer cache hit ratio base'
+ ,'Database Pages'
,'Backup/Restore Throughput/sec'
,'Total Server Memory (KB)'
,'Target Server Memory (KB)'
| feat(inputs.sqlserver): get database pages performance counter | null | influxdata/telegraf | MIT License | Go |
@@ -83,9 +83,39 @@ function process_cmd_properties {
then
OS_TYPE="$(uname -s)"
case "${OS_TYPE}" in
- Linux*) echo ${TOOL_INPUT_USED} | base64 -d > ${TOOL_INPUT_FILE};;
- Darwin*) echo ${TOOL_INPUT_USED} | base64 --decode > ${TOOL_INPUT_FILE};;
- *) exit -1;;
+ Linux*)
+ # Since the pipe is used in a couple places whe... | feat: add support for environment variable | null | ibm/fhir | Apache License 2.0 | Shell |
#!/bin/bash
# Quickstarts DataHub by pulling all images from dockerhub and then running the containers locally. No images are
-# built locally. Note: by default this pulls the latest (head) version; you can change this to a specific version by setting
-# the DATAHUB_VERSION environment variable.
-export DATAHUB_VERSION... | feat(quickstart): use versioned docker images when on a release tag | null | linkedin/datahub | Apache License 2.0 | Shell |
+// 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;
+using osu.Framework.Allocation;
+using osu.Framework.Bindables;
+using osu.Framework.Graphics;
+using osu.Framework.Graphics.Colour;
+using osu.Framewo... | feat(hud/gameplay): Add Argon variant of `SongProgressBar` | null | ppy/osu | MIT License | C# |
@@ -179,7 +179,7 @@ App::init(function ($utopia, $request, $project) {
break;
default:
- throw new Exception('Unsupported authentication route', Exception::USER_AUTH_METHOD_UNSUPPORTED);
+ throw new Exception('Unsupported authentication route', 501, Exception::USER_AUTH_METHOD_UNSUPPORTED);
break;
}
| feat: use general server errors in shared API controller | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -267,7 +267,7 @@ func applyPolicies(e *casbin.Enforcer) error {
{"maintainer", "/stamps/*/*", "POST"},
{"maintainer", "/stamps/topup/*/*", "PATCH"},
{"maintainer", "/stamps/dilute/*/*", "PATCH"},
- {"maintainer", "/stake", "GET"},
+ {"maintainer", "/stake", "(GET)|(DELETE)"},
{"maintainer", "/stake/*", "POST"},
{"ma... | feat: stake withdraw role | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -9,13 +9,13 @@ use Appwrite\Extend\Exception;
return [
Exception::TYPE_PROJECT_NOT_FOUND => [
'name' => Exception::TYPE_PROJECT_NOT_FOUND,
- 'description' => 'The requested project could not be found. Please check the value of the `X-Appwrite-Project` header to ensure the correct project ID is being used.',
+ 'descr... | feat: improve description | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+const quickmailGenerators: Record<string, Fig.Generator> = {
+ templates: {
+ script: "quickmail template listall",
+ postProcess: (output, context) => {
+ if (output.startsWith("fatal:")) {
+ return [];
+ }
+ const items = output.split("\n");
+ return items.map((item) => {
+ return {
+ name: item,
+ icon: `fig://icon... | feat: implement quickmail spec | null | withfig/autocomplete | MIT License | TypeScript |
@@ -88,6 +88,10 @@ func NewCmdUpdate(f *cmdutils.Factory) *cobra.Command {
l.AssigneeID = gitlab.Int(user.ID)
}
+ if removeSource, _ := cmd.Flags().GetBool("remove-source-branch"); removeSource {
+ l.RemoveSourceBranch = gitlab.Bool(true)
+ }
+
mr, err = api.UpdateMR(apiClient, repo.FullName(), mr.IID, l)
if err != nil... | feat: Add ability to mark branch to be deleted from update | null | profclems/glab | MIT License | Go |
@@ -4,11 +4,12 @@ import (
"encoding/base64"
"errors"
"fmt"
+ "time"
+
"github.com/keptn/go-utils/pkg/common/fileutils"
"github.com/keptn/go-utils/pkg/common/httputils"
"github.com/keptn/keptn/cli/pkg/credentialmanager"
"github.com/keptn/keptn/cli/pkg/logging"
- "time"
apimodels "github.com/keptn/go-utils/pkg/api/model... | feat: Add warning for missing upstream | null | keptn/keptn | Apache License 2.0 | Go |
@@ -102,6 +102,9 @@ func (e *Executor) ListTaskNames(allTasks bool) {
for _, t := range e.Taskfile.Tasks {
if (allTasks || t.Desc != "") && !t.Internal {
s = append(s, strings.TrimRight(t.Task, ":"))
+ for _, alias := range t.Aliases {
+ s = append(s, strings.TrimRight(alias, ":"))
+ }
}
}
// sort and print all task na... | feat: include aliases in --list --silent output | null | go-task/task | MIT License | Go |
@@ -296,7 +296,7 @@ type MixinType = 'app' | 'page' | 'component'
export function injectMixins (mixins: object | Array<object>, options?: MixinType | MixinType[] | { types?: MixinType | MixinType[], stage?: number }): void
-export function watch (expr: string | (() => any), handler: WatchHandler | WatchOptWithHandler, ... | feat: add declare for composition api | null | didi/mpx | Apache License 2.0 | TypeScript |
@@ -21,13 +21,14 @@ async def app():
async def client(app) -> AsyncClient:
async with AsyncClient(
app=app,
- base_url="http://localhost",
+ base_url="http://localhost", # TODO: Use base_url from config
headers={"Content-Type": "application/json"},
) as client:
yield client
@pytest.fixture
async def test_user_creation(... | feat: todos in conftest | null | openmined/pysyft | Apache License 2.0 | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.