diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -271,7 +271,7 @@ if [ "${baseimage}" = "raspios_arm64" ]||[ "${baseimage}" = "debian_rpi64" ]; th
fi
echo "*** Remove unnecessary packages ***"
-sudo apt remove --purge -y libreoffice* oracle-java* chromium-browser nuscratch scratch sonic-pi plymouth python2 vlc
+sudo apt remove --purge -y libreoffice* oracle-java* ... | feat: removes preinstalled cups | null | rootzoll/raspiblitz | MIT License | Shell |
@@ -26,7 +26,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
public enum eExternalSourceType {camera, desktop, document_camera, mediaplayer, PC, whiteboard, other}
public enum eExternalSourceMode {Ready, NotReady, Hidden, Error}
- public class CiscoSparkCodec : VideoCodecBase, IHasCallHistory, IHas... | feat(essentials): Implements IHasDirectoryHistoryStack on CiscoSparkCodec | null | pepperdash/essentials | MIT License | C# |
use async_std::sync::Mutex;
+use chrono::Utc;
use lazy_static::lazy_static;
use pdatastructs::hyperloglog::HyperLogLog;
use serde::Serialize;
@@ -244,6 +245,53 @@ impl<N: Ord + std::hash::Hash + Serialize, B: Eq + std::hash::Hash> Serialize fo
}
}
+#[derive(Debug)]
+struct IntegerMetric {
+ min: i64,
+ max: i64,
+ tota... | feat: processing time metrics | null | curiefense/curiefense | Apache License 2.0 | Rust |
@@ -128,12 +128,13 @@ if (parsedArgs.help) {
(async function main() {
const packageManager: PackageManager =
parsedArgs.packageManager || detectInvokedPackageManager();
+
const { name, cli, preset, appName, style, nxCloud } = await getConfiguration(
parsedArgs
);
output.log({
- title: 'Nx is creating your workspace.',
... | feat(core): show version number when generating a new workspace | null | nrwl/nx | MIT License | TypeScript |
@@ -30,6 +30,8 @@ import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.util.List;
+import java.util.concurrent.Executors;
+import java.util.concurrent.TimeUnit;
import java.util.function.Predicate;
import org.apache.maven.execution.MavenSession;
import org.apache.maven.plugin.AbstractM... | feat(#1423): use waitAndInterrupt function instead of Timeout | null | cqfn/eo | MIT License | Java |
@@ -516,4 +516,11 @@ public abstract class Entity<T extends Entity<?>> {
throw new IllegalArgumentException(color + "is not a valid RGB integer.");
}
}
+
+ /**
+ * @return the Group or BufferedGroup which contains this entity
+ */
+ public Optional<ContainerBasedEntity<?>> getParent() {
+ return Optional.ofNullable(par... | feat(sdk): include getParent() in Entity | null | codingame/codingame-game-engine | MIT License | Java |
use crate::cli::CleanCommand;
use anyhow::{anyhow, bail, Result};
+use forc_pkg::manifest::ManifestFile;
use forc_util::{default_output_directory, find_manifest_dir};
use std::path::PathBuf;
use sway_utils::MANIFEST_FILE_NAME;
@@ -13,6 +14,7 @@ pub fn clean(command: CleanCommand) -> Result<()> {
} else {
std::env::curr... | feat: workspace support for `forc clean` | null | fuellabs/sway | Apache License 2.0 | Rust |
@@ -50,9 +50,9 @@ void main() {
final newSnap = File(path.join(snapshots.path, fixture + '.current.png'));
newSnap.writeAsBytes(screenPixels);
if (diffCounts == -1) {
- print('$err $fixture snapshot is NOT equal with old ones');
+ stderr.write('$err $fixture snapshot is NOT equal with old ones');
} else {
- print('$err... | feat: use stderr to out message | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -21,7 +21,8 @@ use futures::{
};
use generated_types::ingester::IngesterQueryRequest;
use iox_catalog::interface::Catalog;
-use iox_time::SystemProvider;
+use iox_time::{SystemProvider, TimeProvider};
+use metric::{Metric, U64Histogram, U64HistogramOptions};
use object_store::DynObjectStore;
use observability_deps::... | feat(ingester): emit query latency metrics | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -281,6 +281,11 @@ class EntriesController extends Controller
}
if ($this->entries->create($id, $data_result)) {
+
+ if (! Filesystem::has(PATH['uploads'] . '/entries/' . $id)) {
+ Filesystem::createDir(PATH['uploads'] . '/entries/' . $id);
+ }
+
$this->clearEntryCounter($parent_entry_id);
$this->flash->addMessage('s... | feat(admin-plugin): use PATH['uploads'] in EntriesContoller | null | flextype/flextype | MIT License | PHP |
@@ -63,9 +63,11 @@ void on_single(struct discord *client, const struct discord_message *msg)
discord_create_message(client, msg->channel_id, ¶ms, NULL);
}
-void send_batch(struct discord *client, const struct discord_message *msg)
+void send_batch(struct discord *client, struct discord_async_ret *ret)
{
- struct di... | feat(test-discord-async.c): add force error test case, and fix outdated portion | null | cee-studio/orca | MIT License | C |
@@ -196,6 +196,36 @@ impl BitSet {
pub fn bytes(&self) -> &[u8] {
&self.buffer
}
+
+ /// Return `true` if all bits in the [`BitSet`] are currently set.
+ pub fn is_all_set(&self) -> bool {
+ // An empty bitmap has no set bits.
+ if self.len == 0 {
+ return false;
+ }
+
+ // Check all the bytes in the bitmap that have a... | feat: is all set/unset BitSet query methods | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -31,4 +31,24 @@ class BasicPalette {
static const PaletteEntry green = PaletteEntry(Color(0xFF00FF00));
static const PaletteEntry blue = PaletteEntry(Color(0xFF0000FF));
static const PaletteEntry magenta = PaletteEntry(Color(0xFFFF00FF));
+ static const PaletteEntry brown = PaletteEntry(Color(0xFFA52A2A));
+ static ... | feat: New colours to pallete.dart | null | flame-engine/flame | MIT License | Dart |
@@ -8,3 +8,11 @@ def gym_make(env_name):
to ensure unified seeding with rlberry.
"""
return Wrapper(gym.make(env_name))
+
+def atari_make(env_name, **kwargs):
+ from stable_baselines3.common.env_util import make_atari_env
+ from stable_baselines3.common.vec_env import VecFrameStack
+ env = make_atari_env(env_id=env_nam... | feat(atari): Add atari_make function, which uses stable_baselines3 wrappers | null | rlberry-py/rlberry | MIT License | Python |
@@ -12,16 +12,16 @@ Repo.transaction(fn ->
|> Tenant.changeset(%{
"name" => tenant_name,
"external_id" => tenant_name,
- "jwt_secret" => "a1d99c8b-91b6-47b2-8f3c-aa7d9a9ad20f",
+ "jwt_secret" => System.get_env("API_JWT_SECRET", "a1d99c8b-91b6-47b2-8f3c-aa7d9a9ad20f"),
"extensions" => [
%{
"type" => "postgres_cdc_rls",
... | feat: default realtime-dev JWT secret to API_JWT_SECRET env var value | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -18,7 +18,7 @@ open class AVFoundationPlayback: Playback {
dynamic fileprivate var player: AVPlayer?
fileprivate var playerLayer: AVPlayerLayer?
- fileprivate var playerStatus: AVPlayerStatus = .unknown
+ fileprivate var playerStatus: AVPlayerItemStatus = .unknown
fileprivate var currentState = PlaybackState.idle
fi... | feat(avafoundationplayback): check for AVPlayerItemStatus instead of AVPlayerStatus | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -76,4 +76,10 @@ extension UIView {
layer.cornerRadius = radius
clipsToBounds = true
}
+
+ func setVerticalPoint(to point: CGFloat, duration: TimeInterval = 0) {
+ UIView.animate(withDuration: duration) {
+ self.frame.origin.y = point
+ }
+ }
}
| feat: create setVerticalPoint on UIView+Ext | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -222,8 +222,14 @@ open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate {
let orderedPlugins = sortPluginsIfNeeded(plugins)
orderedPlugins.forEach { plugin in
mediaControlView.addSubview(plugin.view, in: plugin.panel, at: plugin.position)
+ do {
+ try ObjC.catchException {
plugin.render()
}
+ } catch {
... | feat: catch exceptions when rendering mediacontrol plugins | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -49,17 +49,30 @@ export default class MysqlDatabase {
async start() {
this.pool = createPool(this.config)
- const tables = await this.select('information_schema.tables', ['TABLE_NAME'], 'TABLE_SCHEMA = ?', [this.config.database])
- const names = new Set(tables.map(data => data.TABLE_NAME))
- for (const name of Objec... | feat(mysql): alter table | null | koishijs/koishi | MIT License | TypeScript |
@@ -72,6 +72,8 @@ TEST(ARM_RUNTIME, CPUINFO_SDM8150) {
ASSERT_TRUE(cpuinfo_has_arm_neon_dot());
+ ASSERT_FALSE(cpuinfo_has_arm_i8mm());
+
for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) {
ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core);
}
@@ -148,6 +150,74 @@ TEST(ARM_RUNTIME, CPUINFO_SDM66... | feat(third_party): update cpuinfo | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -158,7 +158,7 @@ class UserPreferencesSettings extends AbstractUserPreferences {
style: themeData.textTheme.headline1,
),
subtitle: Text(
- packageInfo.version,
+ '${packageInfo.version}+${packageInfo.buildNumber}',
style: themeData.textTheme.subtitle2,
),
),
| feat: Show buildNumber in about this app | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
package com.absinthe.libchecker.constant
-const val RULES_VERSION = 2
-const val RULES_COUNT = 576
\ No newline at end of file
+const val RULES_VERSION = 3
+const val RULES_COUNT = 621
\ No newline at end of file
| feat: Update integrated rules bundle to v3 | null | libchecker/libchecker | Apache License 2.0 | Kotlin |
@@ -185,6 +185,7 @@ class Entries
if (isset($collection['pattern'])) {
if (boolval(preg_match_all('#^' . $collection['pattern'] . '$#', $id, $matches, PREG_OFFSET_CAPTURE))) {
$result = $collection;
+
}
}
}
@@ -842,9 +843,11 @@ class Entries
*
* @access public
*/
- public function setRegistry(array $registry = []): voi... | feat(entries): `setOptions` and `setRegistry` should return self | null | flextype/flextype | MIT License | PHP |
@@ -19,89 +19,138 @@ package db
import (
"crypto/sha256"
"encoding/binary"
+ "sync"
"github.com/codenotary/immudb/pkg/tree"
+
"github.com/dgraph-io/badger/v2"
)
-const uintBytes = 8
-
-var tsKey = []byte{reservedPrefix, 'T'}
-var tsKeyLen = len(tsKey)
-
var tsL0Prefix = []byte{
- reservedPrefix, 'T',
- 0x00, 0x00, 0x00... | feat: treestore with caching | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -684,13 +684,6 @@ class EntriesController extends Controller
'title' => __('admin_source'),
'attributes' => ['class' => 'navbar-item']
],
- ],
- 'buttons' => [
- 'save_entry' => [
- 'link' => 'javascript:;',
- 'title' => __('admin_save'),
- 'attributes' => ['class' => 'js-save-form-submit float-right btn']
- ],
]
]
... | feat(admin-plugin): remove save button on the media page | null | flextype/flextype | MIT License | PHP |
+<?php
+
+declare(strict_types=1);
+
+use Thunder\Shortcode\ShortcodeFacade;
+
+test('test getInstance() method', function () {
+ $this->assertInstanceOf(ShortcodeFacade::class, flextype('shortcode')->getInstance());
+});
| feat(tests): add tests for Shortcode getInstance() method | null | flextype/flextype | MIT License | PHP |
@@ -27,7 +27,16 @@ Event::Event(JSContext *context) : HostClass(context, "Event") {
}
JSValue Event::constructor(QjsContext *ctx, JSValue func_obj, JSValue this_val, int argc, JSValue *argv) {
- return HostClass::constructor(ctx, func_obj, this_val, argc, argv);
+ if (argc < 1) {
+ return JS_ThrowTypeError(ctx, "Failed... | feat: add constructor implementation for event | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -20,10 +20,17 @@ type ScrollHandler = UIEventHandler<HTMLOListElement>;
export const useAutoscroll = (
autoscrollChat: boolean
): [ScrollContainerRef, ScrollHandler] => {
- const [, virtualizaitonDispatch] = useContext(VirtualizationContext)
+ const [{ viewportScrollHeight, viewportScrollTop }, virtualizaitonDispatc... | feat: prevent scrolling back past the first/oldest message | null | lazerwalker/azure-mud | MIT License | TypeScript |
//! Because the change list references data internal to the vdom, it needs to be consumed by the renderer before the vdom
//! can continue to work. This means once a change list is generated, it should be consumed as fast as possible, otherwise the
//! dom will be blocked from progressing. This is enforced by lifetimes... | feat: cleanup edit module | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -224,8 +224,12 @@ final Dart_RegisterRequestBatchUpdate _registerRequestBatchUpdate = nativeDynami
void _requestBatchUpdate(Pointer<NativeFunction<NativeAsyncCallback>> callback, Pointer<Void> context) {
return requestBatchUpdate((Duration timeStamp) {
+ try {
DartAsyncCallback func = callback.asFunction();
func(con... | feat: dart ffi add setTimeout, setInterval, requestAnimationFrame error handle | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -15,7 +15,7 @@ public typealias Bignum = BInt
extension Bignum
{
/// Representation as Data
- var data: Data {
+ public var data: Data {
let n = limbs.count
var data = Data(count: n * 8)
data.withUnsafeMutableBytes { (ptr: UnsafeMutablePointer<UInt8>) -> Void in
| feat: public data | null | p2p-org/solana-swift | MIT License | Swift |
@@ -8,6 +8,7 @@ const networks: Record<string, ethers.providers.Network> = {
'arbitrum-rinkeby': { chainId: 421611, name: 'arbitrum-rinkeby' },
'arbitrum-one': { chainId: 42161, name: 'arbitrum-one' },
avalanche: { chainId: 43114, name: 'avalanche' },
+ bsc: { chainId: 56, name: 'bsc' },
};
/**
| feat: BSC support for eth-input-data | null | requestnetwork/requestnetwork | MIT License | TypeScript |
@@ -7,6 +7,8 @@ import (
"net"
"net/http"
"os"
+ "strconv"
+ "strings"
"time"
"github.com/go-acme/lego/v4/certcrypto"
@@ -16,10 +18,15 @@ import (
const (
// caCertificatesEnvVar is the environment variable name that can be used to
// specify the path to PEM encoded CA Certificates that can be used to
- // authenticate... | feat: extended support of cert pool | null | go-acme/lego | MIT License | Go |
@@ -196,7 +196,7 @@ impl<'a> From<Cow<'a, [u8]>> for String<'a> {
pub mod path {
use std::borrow::Cow;
- #[cfg(not(target_os = "windows"))]
+ #[cfg(not(any(target_os = "android", target_os = "windows")))]
use pwd::Passwd;
use quick_error::ResultExt;
@@ -275,7 +275,7 @@ pub mod path {
}
}
- #[cfg(target_os = "windows")]... | feat(git-config): add suppport for android | null | byron/gitoxide | Apache License 2.0 | Rust |
@@ -126,6 +126,9 @@ class trace:
record = self._seq[self._pc]
op_, ihandles, ohandles = record
if op != op_:
+ if op.type == "UniformRNG":
+ pass
+ else:
raise TraceMismatchError("op different from last time")
if len(ihandles) != len(args):
raise TraceMismatchError("op input size different from last time")
| feat(mge/imperative): add shufflenet example | null | megengine/megengine | Apache License 2.0 | Python |
@@ -10,25 +10,25 @@ declare(strict_types=1);
use Flextype\Support\Collection;
-if (! function_exists('collection')) {
+if (! function_exists('collect')) {
/**
* Create a collection from the given value.
*
* @param mixed $value
*/
- function collection($items) : Collection
+ function collect($items) : Collection
{
retur... | feat(element-queries): update collect() and collect_filter() | null | flextype/flextype | MIT License | PHP |
@@ -128,7 +128,8 @@ const SuiteTreeItem: React.FC<{
</div>
} loadChildren={() => {
const suiteChildren = suite?.suites.map((s, i) => <SuiteTreeItem key={i} suite={s} setSelectedTest={setSelectedTest} selectedTest={selectedTest} depth={depth + 1} showFileName={false}></SuiteTreeItem>) || [];
- const testChildren = suite... | feat(html report): show video inline | null | microsoft/playwright | Apache License 2.0 | TypeScript |
+#include <iostream>
+#include <vector>
+#include <set>
+
+int N; // denotes number of nodes;
+int parent[1000001];
+int siz[1000001];
+void make_set() { // function the initialize every node as it's own parent
+ for (int i = 1; i <= N; i++) {
+ parent[i] = i;
+ siz[i] = 1;
+ }
+}
+// To find the component where follow... | feat: add algorithm to check number of components with the help of Union Find Structure | null | thealgorithms/c-plus-plus | MIT License | C++ |
@@ -36,6 +36,10 @@ emitter()->addListener('onEntriesFetchSingleField', static function (): void {
$field = entries()->registry()->get('methods.fetch.field');
+ if (is_string($field['value']) && strings($field['value'])->contains('!textile')) {
+ return;
+ }
+
if (is_string($field['value'])) {
if (strings($field['value'... | feat(directives): add ability to disable textile using `!textile` | null | flextype/flextype | MIT License | PHP |
@@ -113,6 +113,7 @@ Status DBImpl::search(const std::string &group_id, size_t k, size_t nq,
index = read_index(file.location.c_str());
zilliz::vecwise::cache::CpuCacheMgr::GetInstance()->InsertItem(file.location, index);
}
+ LOG(DEBUG) << "Search Index Of Size: " << index->dim * index->ntotal * 4 /(1024*1024) << " M";
... | feat(db): merge file optimize | null | milvus-io/milvus | Apache License 2.0 | C++ |
@@ -18,8 +18,8 @@ struct DBMetaOptions {
struct Options {
Options();
- uint16_t memory_sync_interval = 10;
- uint16_t merge_trigger_number = 100;
+ uint16_t memory_sync_interval = 1;
+ uint16_t merge_trigger_number = 2;
size_t index_trigger_size = 1024*1024*256;
Env* env;
DBMetaOptions meta;
| feat(db): change default options values | null | milvus-io/milvus | Apache License 2.0 | C |
-import { useContext, useEffect, useState } from 'https://esm.sh/react'
+import React, { useContext, useEffect, useState } from 'https://esm.sh/react'
import { RouterContext } from './context.ts'
import { AsyncUseDenoError } from './error.ts'
import events from './events.ts'
@@ -52,3 +52,15 @@ export function useDeno<T... | feat: add withUseDeno HOC | null | alephjs/aleph.js | MIT License | TypeScript |
@@ -8,7 +8,8 @@ export default {
props: {
tileServerUrl: {
type: String,
- default: "http://{s}.tile.osm.org/{z}/{x}/{y}.png"
+ default:
+ "https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}"
},
center: {
type: [Array, Object],
@@ -18,6 +19,10 @@ export default ... | feat: more props for maxzoom and fly to | null | vuestorefront/storefront-ui | MIT License | JavaScript |
#include <cassert>
#include <functional>
#include <map>
+#include <set>
#include <unordered_map>
#include <vector>
#include <forward_list>
@@ -582,6 +583,15 @@ private:
class NodeInstance : public EventTargetInstance {
public:
+ enum class NodeFlag : uint32_t {
+ IsDocumentFragment = 1 << 0
+ };
+
+ mutable std::set<No... | feat: add flog of node | null | openkraken/kraken | Apache License 2.0 | C |
@@ -36,6 +36,10 @@ emitter()->addListener('onEntriesFetchSingleField', static function (): void {
$field = entries()->registry()->get('methods.fetch.field');
+ if (is_string($field['value']) && strings($field['value'])->contains('!markdown')) {
+ return;
+ }
+
if (is_string($field['value'])) {
if (strings($field['value... | feat(directives): add ability to disable markdown using `!markdown` | null | flextype/flextype | MIT License | PHP |
@@ -348,7 +348,7 @@ pub mod pallet {
ExecutorChosen {
executor: T::AccountId,
round: RoundIndex,
- total_stake: BalanceOf<T>,
+ total_counted: BalanceOf<T>,
},
/// Candidate requested to decrease a self bond.
CandidateBondLessRequested {
@@ -517,7 +517,7 @@ pub mod pallet {
impl<T: Config> Default for GenesisConfig<T> ... | feat: fn select_active_set() | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -23,7 +23,9 @@ import (
"strconv"
"strings"
+ "yunion.io/x/jsonutils"
"yunion.io/x/log"
+ "yunion.io/x/pkg/errors"
"yunion.io/x/pkg/util/netutils"
"yunion.io/x/onecloud/pkg/appsrv"
@@ -32,32 +34,79 @@ import (
"yunion.io/x/onecloud/pkg/httperrors"
)
-func addMetadataHandler(prefix string, app *appsrv.Application) {
... | feat(host): metadata: make vpc aware metadata handler | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -593,7 +593,7 @@ def _func_to_component_spec(func, extra_code='', base_image : str = None, packag
pre_func_code = '\n'.join(list(pre_func_definitions))
- arg_parse_code_lines = list(definitions) + arg_parse_code_lines
+ arg_parse_code_lines = sorted(list(definitions)) + arg_parse_code_lines
arg_parse_code_lines.appe... | feat(sdk): Add sorted function to definitions to make constant result | null | kubeflow/pipelines | Apache License 2.0 | Python |
@@ -4,16 +4,20 @@ import {
cartesian2,
madd2,
maddN,
+ mixCubic,
mixN2,
+ mixQuadratic,
Vec
} from "@thi.ng/vectors3";
import {
Arc,
Circle,
+ Cubic,
Ellipse,
IShape,
Line,
Polygon,
+ Quadratic,
Ray,
Rect,
Type
@@ -34,6 +38,10 @@ pointAt.addAll({
($: Circle, t) =>
cartesian2(null, [$.r, TAU * t], $.pos),
+ [Type.CUBIC]... | feat(geom): add pointAt() impls for Cubic/Quadratic | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -74,6 +74,8 @@ class Plugins
// Get plugins list
$pluginsList = $this->getPluginsList();
+ $pluginsList = arrays($pluginsList)->only(['box'])->toArray();
+
// Get plugins Cache ID
$pluginsCacheID = $this->getPluginsCacheID($pluginsList);
@@ -183,6 +185,8 @@ class Plugins
$this->includeEnabledPlugins();
+
+
emitter()... | feat(plugins): temporary mute plugins initalization for develoment | null | flextype/flextype | MIT License | PHP |
@@ -14,6 +14,12 @@ const snapshotProcessor = require('./processors/snapshot-processor');
module.exports = {
configs: {
recommended: {
+ plugins: [
+ 'jest'
+ ],
+ env: {
+ 'jest/globals': true
+ },
rules: {
'jest/no-disabled-tests': 'warn',
'jest/no-focused-tests': 'error',
| feat(recommended): add plugin and globals env | null | jest-community/eslint-plugin-jest | MIT License | JavaScript |
@@ -1192,6 +1192,9 @@ public virtual void OnServerAddPlayer(NetworkConnection conn)
? Instantiate(playerPrefab, startPos.position, startPos.rotation)
: Instantiate(playerPrefab);
+ // instantiating a "Player" prefab gives it the name "Player(clone)"
+ // => appending the connectionId is WAY more useful for debugging!
+... | feat: NetworkManager.OnServerAddPlayer instantiates with name "Player [connId=42]" instead of "Player (clone)" for easier debugging | null | vis2k/mirror | MIT License | C# |
@@ -710,6 +710,9 @@ void run_test_st(Args &env) {
}
} else if (env.use_fast_run) {
strategy = S::PROFILE | S::OPTIMIZED;
+ if (env.reproducible){
+ strategy = strategy | S::REPRODUCIBLE;
+ }
} else if (env.reproducible) {
strategy = S::HEURISTIC | S::REPRODUCIBLE;
}
| feat(mgb): load_and_run can set both fastrun and reproducible | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -775,11 +775,13 @@ addSBOMComponentFromFile() {
local description="${5}"
local name="${6}"
local propFile="${7}"
- if [ -e "${propFile}" ]; then
- local value=$(cat "${propFile}")
+ # always create component in sbom
"${javaHome}"/bin/java -cp "${classpath}" temurin.sbom.TemurinGenSBOM --addComponent --jsonFile "${js... | feat: always add sbom component, for those not have values set to "N.A" | null | adoptium/temurin-build | Apache License 2.0 | Shell |
+import type { UIntArray } from "@thi.ng/api";
import { peek } from "@thi.ng/arrays";
import { isNumber } from "@thi.ng/checks";
import { clamp0 } from "@thi.ng/math";
import { ClipRect, ImageOpts, SHADES_BLOCK } from "./api";
-import { Canvas } from "./canvas";
+import { canvas, Canvas } from "./canvas";
+import { FMT... | feat(text-canvas): add imageCanvas/String565() fns | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -1932,6 +1932,9 @@ public class PegasusTable implements PegasusTableInterface {
case ERR_PARENT_PARTITION_MISUSED:
message = " The partition split finished, is updating config!";
break;
+ case ERR_DISK_INSUFFICIENT:
+ message = " The replica server disk space is insufficient";
+ break;
}
promise.setFailure(
new PExc... | feat: handle ERR_DISK_INSUFFICIENT | null | apache/incubator-pegasus | Apache License 2.0 | Java |
@@ -182,12 +182,21 @@ class Entries
private function getCollectionOptions(string $id): array
{
$result = $this->options['collections']['default'];
+ $fieldsToInclude = [];
foreach ($this->options['collections'] as $collection) {
+ if (isset($collection['fields']['_include']['collection'])) {
+ $fieldsToInclude = $this-... | feat(entries): add `_include` directive for entries fields collections | null | flextype/flextype | MIT License | PHP |
@@ -50,11 +50,10 @@ where
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(
f,
- "[{}] size: {:?} rows: {:?} cardinality: {}, nulls: {} runs: {} ",
+ "[{}] size: {:?} rows: {:?} nulls: {} runs: {} ",
self.name(),
self.size(),
self.num_rows(),
- self.cardinality(),
self.null_count(),
self.run_... | feat: implement stat methods | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -14,6 +14,7 @@ use ioxd_router::create_router2_server_type;
use object_store::DynObjectStore;
use object_store_metrics::ObjectStoreMetrics;
use observability_deps::tracing::*;
+use panic_logging::make_panics_fatal;
use std::sync::Arc;
use thiserror::Error;
@@ -71,6 +72,9 @@ pub async fn command(config: Config) -> Re... | feat(router): fatal panics | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -20,7 +20,7 @@ const _renderComments = ({ icon, url, count }, Link) => {
const IconComment = icon || Commentsquare
return (
- <Link href={url} className='sui-CardArticle-comments'>
+ <Link href={url} className='sui-CardArticle-comments' title={count}>
<IconComment svgClass='sui-CardArticle-commentsIcon' />
{count}
<... | feat(card/article): include titles | null | sui-components/sui-components | MIT License | JavaScript |
@@ -147,6 +147,11 @@ export class Context {
return new Context(s => this.filter(s) && filter(s), this.app, this._plugin)
}
+ except(arg: Filter | Context) {
+ const filter = typeof arg === 'function' ? arg : arg.filter
+ return new Context(s => this.filter(s) && !filter(s), this.app, this._plugin)
+ }
+
match(session?:... | feat(cli): context selections in config file, fix | null | koishijs/koishi | MIT License | TypeScript |
#include "math.h"
/**
- * @namespace linear_algebra
- * @brief Linear Algebra algorithms
+ * @namespace numerical_methods
+ * @brief Numerical Methods algorithms
*/
-namespace linear_algebra {
+namespace numerical_methods {
/**
* @namespace gram_schmidt
* @brief Functions for [Gram Schmidt Orthogonalisation
@@ -173,7 +... | feat: move `gram_schmidt` to `numerical_methods` | null | thealgorithms/c-plus-plus | MIT License | C++ |
-open class ContainerPlugin: NSObject {
+open class ContainerPlugin: NSObject, Plugin {
+
@objc open weak var container: Container?
open class var type: PluginType { return .container }
@@ -25,4 +26,8 @@ open class ContainerPlugin: NSObject {
NSException(name: NSExceptionName(rawValue: "WrongContextType"), reason: "Con... | feat: container plugin conforms to plugin | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -126,12 +126,20 @@ def recorder(function):
# This must be done after collecting query from _cursor._executed
profile_result = function("SHOW PROFILE ALL")
+ # Collect EXPLAIN for executed query
+ if query.lower().strip()[0] in ("select", "update", "delete"):
+ # Only SELECT/UPDATE/DELETE queries can be "EXPLAIN"ed
+... | feat(recorder): Collect information from EXPLAIN EXTENDED | null | frappe/frappe | MIT License | Python |
@@ -2,8 +2,9 @@ use crate::Context;
use core::fmt::Display;
use minicbor::Encode;
use ockam_core::api::{assert_request_match, RequestBuilder};
+use ockam_core::compat::sync::Arc;
use ockam_core::compat::vec::Vec;
-use ockam_core::{Address, LocalInfo, Result, Route};
+use ockam_core::{Address, AllowAll, LocalInfo, Mailb... | feat(rust): fix access controls for api calls | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -2,16 +2,24 @@ package org.burningokr.applicationlisteners;
import java.time.LocalDateTime;
import java.util.Arrays;
+
import org.burningokr.repositories.ExtendedRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springfra... | feat(DemoWebsiteDatabaseDeleter): Added example on how to execute sql queries from code | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -4,13 +4,15 @@ from __future__ import unicode_literals
import unittest
-from frappe.utils.pdf import read_options_from_html
+import frappe.utils.pdf as pdfgen
+from PyPDF2 import PdfFileReader, PdfFileWriter
+import pdfkit, io
#class TestPdfBorders(unittest.TestCase):
-class TestPdfBorders(unittest.TestCase):
- def ... | feat: Refactored test and added tests for pdf encryption | null | frappe/frappe | MIT License | Python |
@@ -17,9 +17,9 @@ func NewCmdClose(f *cmdutils.Factory) *cobra.Command {
Use: "close [<id> | <branch>]",
Short: `Close merge requests`,
Long: ``,
- Args: cobra.MaximumNArgs(1),
Example: heredoc.Doc(`
$ glab mr close 1
+ $ glab mr close 1 2 3 4 # close multiple branches at once
$ glab mr close # use checked out branch
$... | feat(commands/mr/close): allow closing multiple merge requests | null | profclems/glab | MIT License | Go |
@@ -186,7 +186,7 @@ async fn test_simple_sql() -> Result<()> {
assert!(result.schema.is_some(), "{:?}", result);
assert_eq!(
result.schema.as_ref().unwrap().fields().len(),
- 1,
+ 2,
"{:?}",
result
);
@@ -204,7 +204,7 @@ async fn test_show_databases() -> Result<()> {
assert!(result.schema.is_some(), "{:?}", result);
as... | feat: fix http handler tests | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -271,7 +271,12 @@ pub fn tui_mode(
if config.grpc_enabled {
if let Some(address) = config.grpc_address.clone() {
let grpc = WalletGrpcServer::new(wallet.clone());
- handle.spawn(run_grpc(grpc, address, config.grpc_authentication.clone()));
+ handle.spawn(run_grpc(
+ grpc,
+ address,
+ config.grpc_authentication.clon... | feat: gracefully shutdown grpc server | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
/*
- * 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.
*/
package com.b2international.index.query;
+import java.i... | feat(index): add convenience method to perform single search on query | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -104,46 +104,67 @@ class Plugins
// Go through...
foreach ($plugins_list as $plugin) {
+
+ // Set plugin settings directory
+ $site_plugin_settings_dir = PATH['config']['site'] . '/plugins/' . $plugin['dirname'];
+
+ // Set default plugin settings and manifest files
$default_plugin_settings_file = PATH['plugins'] . ... | feat(core): add ability to override plugins default manifest and settings | null | flextype/flextype | MIT License | PHP |
@@ -5,23 +5,13 @@ use rand::prelude::*;
fn main() {
// for performance reasons, we want to cache these strings on the edge of js/rust boundary
- for &name in ADJECTIVES
- .iter()
- .chain(NOUNS.iter())
- .chain(COLOURS.iter())
- {
+ for &name in ADJECTIVES.iter().chain(NOUNS.iter()).chain(COLOURS.iter()) {
wasm_bindgen... | feat: use components instead of rebuilding the list each run | null | krausest/js-framework-benchmark | Apache License 2.0 | Rust |
@@ -25,6 +25,7 @@ export function doesNotExist (value: any): boolean {
* Returns false if the value is ok.
* Returns an EditorValidationIssue object if the value is not ok.
*/
+// eslint-disable-next-line complexity
export function validate (
field: GtfsSpecField,
value: any,
@@ -36,8 +37,8 @@ export function validate ... | feat(gtfs.yml and validation.js): Updated GTFS Spec for stops.txt and agency.txt | null | ibi-group/datatools-ui | MIT License | JavaScript |
@@ -7,6 +7,7 @@ import 'package:provider/provider.dart';
import 'package:share_plus/share_plus.dart';
import 'package:smooth_app/data_models/github_contributors_model.dart';
import 'package:smooth_app/data_models/user_preferences.dart';
+import 'package:smooth_app/database/local_database.dart';
import 'package:smooth_a... | feat: - "contribute" now links to "in app" to-be-completed page | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -205,6 +205,26 @@ async fn main_entrypoint() -> Result<()> {
format!("connected to endpoints {:#?}", conf.meta.endpoints)
}
);
+ println!(
+ "Memory: {}",
+ if conf.query.max_memory_limit_enabled {
+ format!(
+ "Memory: server memory limit to {} (bytes)",
+ conf.query.max_server_memory_usage
+ )
+ } else {
+ "unlimi... | feat: print memory limit and cluster info when query start | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -5,9 +5,4 @@ from __future__ import unicode_literals
import frappe
class TestBlogCategory(unittest.TestCase):
- def test_route(self):
- cat = frappe.new_doc("Blog Categroy", {
- "title": "Test Category Yet Another Category",
- })
- cat.insert()
- self.assertEqual(cat.route, 'blog/test-category-yet-another-category')... | feat: remove test | null | frappe/frappe | MIT License | Python |
@@ -6,6 +6,7 @@ import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Rectangle;
+import java.awt.event.ActionEvent;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
@@ -18,6 +19,7 @@ import java.util.Enumeration;
import java.util.H... | feat(gui): ctrl+c copy node string in search window | null | skylot/jadx | Apache License 2.0 | Java |
@@ -8,7 +8,7 @@ module.exports = (self, answer) => {
result = self.prompt([
InputValidate(
'multipleEntries',
- 'Type the name you want for your modules (entry files), separated by comma',
+ 'Type the name you want for your modules (entry files), separated by comma [example: \'app\']',
validate
)
]).then( (multipleEntr... | feat: add examples for single and multiple entries prompt | null | webpack/webpack-cli | MIT License | JavaScript |
+package putils
+
+import (
+ "strings"
+
+ "github.com/pterm/pterm"
+)
+
+// TableDataFromCSV converts CSV data into pterm.TableData.
+//
+// Usage:
+// pterm.DefaultTable.WithData(putils.TableDataFromCSV(csv)).Render()
+func TableDataFromCSV(csv string) (td pterm.TableData) {
+ for _, line := range strings.Split(csv,... | feat(putils): add function to convert CSV to `TableData` | null | pterm/pterm | MIT License | Go |
@@ -197,6 +197,9 @@ JSDocument::JSDocument(JSContext *context) : JSNode(context, "Document") {
JSElement::defineElement("script", [](JSContext *context) -> ElementInstance * {
return new JSScriptElement::ScriptElementInstance(JSScriptElement::instance(context));
});
+ JSElement::defineElement("template", [](JSContext *... | feat: template element should be defineElement | null | openkraken/kraken | Apache License 2.0 | C++ |
+/*
+ * Copyright 2020 The Terasology Foundation
+ *
+ * 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 applicab... | feat: added asteroid component | null | movingblocks/destinationsol | Apache License 2.0 | Java |
@@ -62,6 +62,10 @@ void HTMLParser::traverseHTML(GumboNode * node, ElementInstance* element) {
styleDeclarationInstance->internalSetProperty(styleKey, JSValueMakeString(m_context->context() ,JSStringCreateWithUTF8CString(s.substr(position + 1, s.length()).c_str())), nullptr);
}
}
+ } else {
+ std::string strName = attr... | feat: support parse HTML for property of element | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -19,6 +19,7 @@ const NewPatientForm = (props: Props) => {
const [isEditable] = useState(true)
const { onCancel, onSave } = props
const [approximateAge, setApproximateAge] = useState(0)
+ const [errorMessage, setError] = useState('')
const [patient, setPatient] = useState({
givenName: '',
familyName: '',
@@ -37,6 +38... | feat(patientform): added patient form error handling | null | hospitalrun/hospitalrun-frontend | MIT License | TypeScript |
@@ -5,17 +5,18 @@ import io.clappr.player.base.EventData
import io.clappr.player.base.keys.Action
import io.clappr.player.base.keys.Key
-data class InputKey(val key: Key, val action: Action)
+data class InputKey(val key: Key, val action: Action, val isLongPress: Boolean)
fun Bundle.extractInputKey(): InputKey? {
val ke... | feat(bundle_extension): get is long press inside extract input key extension | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -74,7 +74,7 @@ class Template extends View
if (\is_readable($this->path)) {
$template = \file_get_contents($this->path); // Include template file
} else if (!empty($this->content)) {
- $template = $this->print($this->content);
+ $template = $this->print($this->content, self::FILTER_NL2P);
} else {
throw new Exceptio... | feat(email-tempaltes): apply nl2p filters | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -388,7 +388,7 @@ public abstract class NodeUpdater implements FallibleCommand {
final String WORKBOX_VERSION = "6.2.0";
if (featureFlags.isEnabled(FeatureFlags.VITE)) {
- defaults.put("vite", "v2.7.0-beta.3");
+ defaults.put("vite", "v2.7.0-beta.5");
defaults.put("rollup-plugin-brotli", "3.1.0");
defaults.put("mkdir... | feat: Update to Vite 2.7.0-beta.5 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -120,9 +120,23 @@ func (o *ConsoleOutput) OnEvent(data map[string]interface{}) {
return
}
+ var state string
+ switch output.State {
+ case 1:
+ state = "initializing"
+ case 2:
+ state = "spawning"
+ case 3:
+ state = "running"
+ case 4:
+ state = "quitting"
+ case 5:
+ state = "stopped"
+ }
+
currentTime := time.N... | feat: convert state to string | null | httprunner/httprunner | Apache License 2.0 | Go |
@@ -92,19 +92,20 @@ export default class KlarnaV2PaymentStrategy implements PaymentStrategy {
return Promise.reject(new OrderFinalizationNotRequiredError());
}
- private _loadPaymentsWidget(options: PaymentInitializeOptions): Promise<KlarnaLoadResponse> {
+ private async _loadPaymentsWidget(options: PaymentInitializeOp... | feat(payment): Dispatch the thunk action to retrieve the payment method | null | bigcommerce/checkout-sdk-js | MIT License | TypeScript |
@@ -4560,8 +4560,8 @@ var props = {
// The "unitary tag" means that the tag node and its children
// must be sent to the native together.
-var isUnitaryTag = makeMap('cell,header,cell-slot,recycle-list', true);
-
+var isUnitaryTag = makeMap('cell,header,cell-slot,recycle-list,text,u-text', true);
+// fixed by xxxxxx
fu... | feat(weex): add text,u-text to unitary tag | null | dcloudio/uni-app | Apache License 2.0 | JavaScript |
@@ -33,17 +33,23 @@ import static org.hisp.dhis.dxf2.webmessage.WebMessageUtils.notFound;
import static org.springframework.http.CacheControl.noCache;
import java.io.IOException;
+import java.io.StringWriter;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
+import java.util.LinkedHash... | feat: attribute ID columns for metadata CSV | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -169,6 +169,13 @@ public class AnalystWorker implements Runnable {
/** Keep track of how many tasks per minute this worker is processing, broken down by scenario ID. */
ThroughputTracker throughputTracker = new ThroughputTracker();
+ /**
+ * This worker will only listen for inccoming single point requests if this fi... | feat(AnalystWorker): config flag to disable single point endpoint | null | conveyal/r5 | MIT License | Java |
@@ -26,7 +26,7 @@ class Parser
public static $parsers = [
'frontmatter' => [
'name' => 'frontmatter',
- 'ext' => 'html',
+ 'ext' => 'md',
],
'json' => [
'name' => 'json',
| feat(core): update site entries | null | flextype/flextype | MIT License | PHP |
@@ -60,7 +60,7 @@ const $readCSV = async (filePath: string, options?: CsvInputOptionsNode): Promis
}
const dataStream = request.get(filePath);
- const parseStream: any = Papa.parse(Papa.NODE_STREAM_INPUT, optionsWithDefaults);
+ const parseStream: any = Papa.parse(Papa.NODE_STREAM_INPUT, optionsWithDefaults as any);
da... | feat: added any because I couldn't get the typescript compiler to understand that skipEmptyLines is indeed an option | null | javascriptdata/danfojs | MIT License | TypeScript |
@@ -210,9 +210,12 @@ public class WebParticipantFactory
final ChromeOptions ops = new ChromeOptions();
ops.setCapability(CapabilityType.APPLICATION_NAME, options.getApplicationName());
+
// Force chrome to use English instead of system language.
- // At least work at version 83.0.4103.61 on win 10
- ops.addArguments("l... | feat: Forces en-us as chrome language | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
import UIKit
-public class JumpPlugin: UICorePlugin {
+public class QuickSeekPlugin: UICorePlugin {
var doubleTapGesture: UITapGestureRecognizer!
override open var pluginName: String {
- return "JumpPlugin"
+ return "QuickSeekPlugin"
}
private var activePlayback: Playback? {
return core?.activePlayback
}
- private var ... | feat: renaming jump to quickSeek on QuickSeekPlugin | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -415,7 +415,7 @@ impl<'a> Tokenizer<'a> {
}
Ok(())
}
- ch if '\u{20}' <= ch && ch <= '\u{10ffff}' && ch != '\u{7f}' => {
+ ch if ch == '\u{09}' || ('\u{20}' <= ch && ch <= '\u{10ffff}' && ch != '\u{7f}') => {
val.push(ch);
Ok(())
}
@@ -617,6 +617,8 @@ mod tests {
t(r#""\U00000000""#, "\0", false);
t(r#""\U000A0000""... | feat: support tabs in basic strings | null | toml-rs/toml | Apache License 2.0 | Rust |
@@ -188,6 +188,7 @@ class MeetingFragment : Fragment(), HMSEventListener {
private fun initVideoGrid() {
binding.viewPagerVideoGrid.apply {
+ offscreenPageLimit = 1
adapter = VideoGridAdapter(this@MeetingFragment) { video ->
// TODO: Implement Hero/Pin View
| feat(meeting): change offscreenPageLimit to 1 | null | 100mslive/100ms-android | MIT License | Kotlin |
@@ -174,6 +174,9 @@ class Forms
case 'heading':
$form_field = $this->headingField($field_id, $property);
break;
+ case 'routable_select':
+ $form_field = $this->routableSelectField($field_id, $field_name, [true => __('admin_yes'), false => __('admin_no')], (is_string($form_value) ? true : ($form_value ? true : false)),... | feat(core): Forms API - add new routable_select field | null | flextype/flextype | MIT License | PHP |
package com.absinthe.libchecker.ui.detail
+import android.content.BroadcastReceiver
+import android.content.Context
+import android.content.Intent
+import android.content.IntentFilter
import android.content.pm.PackageManager
import android.content.res.ColorStateList
import android.content.res.Configuration
@@ -23,6 +27... | feat: Register packages broadcast in detail page | null | libchecker/libchecker | Apache License 2.0 | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.