diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -3,6 +3,7 @@ package graphql_datasource
import (
"context"
"fmt"
+ "math"
"net/http"
"sync"
"time"
@@ -215,6 +216,9 @@ func (c *SubscriptionClient) newWSConnectionHandler(reqCtx context.Context, opti
if err != nil {
return nil, err
}
+ // Disable the maximum message size limit. Don't use MaxInt64 since
+ // the nhoo... | feat: disable graphql maximum subscription message size limit | null | jensneuse/graphql-go-tools | MIT License | Go |
@@ -744,7 +744,7 @@ where
let _ = database
.join()
.await
- .log_if_error("database background worker");
+ .log_if_error("database background worker while deleting database");
{
let mut state = self.shared.state.write();
@@ -797,7 +797,7 @@ where
let _ = database
.join()
.await
- .log_if_error("database background work... | feat: Improve log messages to be more specific | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -195,6 +195,10 @@ function tunnelProxy(server, proxy) {
parseUrl();
}
originPort = options.port;
+ if (_rules.ua) {
+ var ua = util.getMatcherValue(_rules.ua);
+ headers['user-agent'] = ua;
+ }
rules.getProxy(tunnelUrl, proxyUrl ? null : req, function(err, hostIp, hostPort) {
if (!proxyUrl) {
proxyUrl = _rules.proxy... | feat: support for custom ua to tunnel proxy | null | avwo/whistle | MIT License | JavaScript |
@@ -17,6 +17,8 @@ var hparser = require('hparser');
var createServer = http.createServer;
var formatHeaders = hparser.formatHeaders;
var getRawHeaderNames = hparser.getRawHeaderNames;
+var getRawHeaders = hparser.getRawHeaders;
+var STATUS_CODES = http.STATUS_CODES || {};
var QUERY_RE = /\?.*$/;
var REQ_ID_RE = /^\d{13... | feat: add req.writeHead to the ws request of plugin | null | avwo/whistle | MIT License | JavaScript |
@@ -66,6 +66,7 @@ data class CaseReferenceDocument(
@Indexed
override val definitionKey: String,
override val name: String,
+ @Indexed
override val applicationName: String,
@Indexed
override val tenantId: String? = null
@@ -92,6 +93,7 @@ data class ProcessReferenceDocument(
@Indexed
override val definitionKey: String,
... | feat: additional indexes | null | holunda-io/camunda-bpm-taskpool | Apache License 2.0 | Kotlin |
@@ -3349,10 +3349,10 @@ class Client(ClientWithProject):
def insert_rows(
self,
table: Union[Table, TableReference, str],
- rows: Union[Iterable[Tuple], Iterable[Dict]],
+ rows: Union[Iterable[Tuple], Iterable[Mapping[str, Any]]],
selected_fields: Sequence[SchemaField] = None,
**kwargs,
- ) -> Sequence[dict]:
+ ) -> Se... | feat: Add More Specific Type Annotations for Row Dictionaries | null | googleapis/python-bigquery | Apache License 2.0 | Python |
@@ -62,6 +62,12 @@ impl From<Identifier> for Vec<u8> {
}
}
+impl From<Vec<u8>> for Identifier {
+ fn from(vec: Vec<u8>) -> Self {
+ Identifier(vec)
+ }
+}
+
impl std::fmt::Display for Identifier {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
for b in self.0.iter() {
| feat(sev): implement `From<Vec<u8>>` for `Identifier` | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -60,6 +60,12 @@ if config_env() != :test do
queue_target = System.get_env("DB_QUEUE_TARGET", "5000") |> String.to_integer()
queue_interval = System.get_env("DB_QUEUE_INTERVAL", "5000") |> String.to_integer()
+ after_connect_query_args =
+ case System.get_env("DB_AFTER_CONNECT_QUERY") do
+ nil -> nil
+ query -> {Post... | feat: add after_connect to Realtime DB Repo config | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -21,9 +21,16 @@ import (
"context"
"dubbo.apache.org/dubbo-go/v3/cluster/cluster/base"
"dubbo.apache.org/dubbo-go/v3/cluster/directory"
+ "dubbo.apache.org/dubbo-go/v3/cluster/metrics"
"dubbo.apache.org/dubbo-go/v3/protocol"
+ "fmt"
+ "github.com/pkg/errors"
+ "math/rand"
+ "time"
)
+var ErrUnsupportedMetricsType = ... | feat(adasvc): add p2c load balance | null | apache/dubbo-go | Apache License 2.0 | Go |
@@ -126,6 +126,11 @@ pub fn Link<'a>(cx: Scope<'a, LinkProps<'a>>) -> Element {
if let Some(service) = svc {
log::trace!("Pushing route to {}", to);
service.push_route(to, cx.props.title.map(|f| f.to_string()), None);
+
+ #[cfg(feature = "web")]
+ {
+ web_sys::window().unwrap().scroll_to_with_x_and_y(0.0, 0.0);
+ }
} e... | feat: add scroll to 0 for web router | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -27,6 +27,7 @@ import java.nio.file.Path;
import java.nio.file.Paths;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
+import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
@@... | feat(#1377): add test case for differen hierarchies | null | cqfn/eo | MIT License | Java |
@@ -78,6 +78,9 @@ public class CAPBridgeViewController: UIViewController, CAPBridgeDelegate, WKScr
webView?.uiDelegate = self
webView?.navigationDelegate = self
+ if let allowsLinkPreview = (capConfig.getValue("ios.allowsLinkPreview") as? Bool) {
+ webView?.allowsLinkPreview = allowsLinkPreview
+ }
webView?.configurati... | feat(ios): add configuration option for allowsLinkPreview | null | ionic-team/capacitor | MIT License | Swift |
@@ -366,7 +366,7 @@ return [
],
[
'name' => '_APP_MAINTENANCE_EXECUTION_LOG_RETENTION',
- 'description' => 'The maximum time period . The default value is 1209600 seconds (14 days).',
+ 'description' => 'The maximum duration (in seconds) upto which to retain execution logs. The default value is 1209600 seconds (14 days... | feat: update env var description | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -48,6 +48,7 @@ type Service struct {
*UserService
*VariableService
*WriteService
+ DocumentService
}
// NewService returns a service that is an HTTP
@@ -76,6 +77,7 @@ func NewService(addr, token string) (*Service, error) {
Addr: addr,
Token: token,
},
+ DocumentService: NewDocumentService(httpClient),
}, nil
}
| feat(http): add document service to http Service | null | influxdata/influxdb | MIT License | Go |
@@ -1073,6 +1073,13 @@ module.exports = function(options, callback) {
addErrorHandler(req, client);
return client;
};
+ req.passThrough = function(uri) {
+ var client = req.request(uri, function(_res) {
+ res.writeHead(_res.statusCode, _res.statusMessage, _res.headers);
+ _res.pipe(res);
+ });
+ req.pipe(client);
+ };
... | feat: add req.passThrough | null | avwo/whistle | MIT License | JavaScript |
@@ -223,6 +223,10 @@ mutation_log_private::mutation_log_private(const std::string &dir,
_plock.lock();
+ if (dsn_unlikely(utils::FLAGS_enable_latency_tracer)) {
+ ADD_POINT(mu->_tracer);
+ }
+
// init pending buffer
if (nullptr == _pending_write) {
_pending_write = make_unique<log_appender>(mark_new_offset(0, true).sec... | feat: add tracer point in plog | null | apache/incubator-pegasus | Apache License 2.0 | C++ |
@@ -94,6 +94,7 @@ ACL_IMPL_FILE_PRAGMA_PUSH
#define ACL_ASSERT(expression, format, ...) if (!(expression)) acl::error_impl::on_assert_abort(#expression, __LINE__, __FILE__, (format), ## __VA_ARGS__)
#define ACL_HAS_ASSERT_CHECKS
+ #define ACL_NO_EXCEPT noexcept
#elif defined(ACL_ON_ASSERT_THROW)
@@ -139,6 +140,7 @@ ACL... | feat(core): add support for ACL_NO_EXCEPT when assertions are present | null | nfrechette/acl | MIT License | C |
@@ -12,15 +12,15 @@ namespace Flextype\Parsers\Shortcodes;
use Thunder\Shortcode\Shortcode\ShortcodeInterface;
use function arrays;
-use function content;
+use function entries;
use function parsers;
use function registry;
-// Shortcode: [content_fetch id="content-id" field="field-name" default="default-value"]
-parser... | feat(shortcodes): rename Content to Entries shortcode | null | flextype/flextype | MIT License | PHP |
@@ -144,7 +144,7 @@ public class SaltClientDockerTest {
assertNotNull(results);
assertEquals(2, results.size());
results.forEach((minion, result) -> {
- assertEquals("2018.3.2", result.result().get().getSalt().get("Salt"));
+ assertEquals("3002.2", result.result().get().getSalt().get("Salt"));
});
}
}
| feat: test against Salt 3002.2 | null | suse/salt-netapi-client | MIT License | Java |
@@ -37,7 +37,7 @@ import okhttp3.MultipartBody;
import okhttp3.RequestBody;
/**
- * IBM Watson Language Translator translates text from one language to another. The service offers multiple
+ * IBM Watson™ Language Translator translates text from one language to another. The service offers multiple
* domain-specif... | feat(language translator v2): Add generated updates | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -10,7 +10,7 @@ declare(strict_types=1);
namespace Flextype\Console\Commands\Entries;
use Symfony\Component\Console\Command\Command;
-use Symfony\Component\Console\Input\InputOption;
+use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\O... | feat(console): use args for EntriesHasCommand | null | flextype/flextype | MIT License | PHP |
@@ -146,6 +146,11 @@ impl MainWin {
application.add_action(&auto_indent_action);
}
+ /* Put keyboard shortcuts here*/
+ if let Some(app) = window.get_application() {
+ app.set_accels_for_action("app.find", &["<Primary>f"]);
+ }
+
window.show_all();
main_win
| feat(main_win): add shortcut for searching | null | cogitri/tau | MIT License | Rust |
@@ -484,14 +484,8 @@ pub mod pallet {
Error::<T>::ContractXtxKilledRunOutOfFunds
})?;
- // ToDo: This should be converting the side effect from local trigger to FSE
- let side_effects = Self::exec_in_xtx_ctx(
- local_xtx_ctx.xtx_id,
- local_xtx_ctx.local_state.clone(),
- local_xtx_ctx.full_side_effects.clone(),
- local... | feat: convert side effects from local trigger to side effects | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -310,10 +310,18 @@ class Ner extends Clonable {
};
}
let output = await this.decideRules(input);
+ if (this.cache.extractEnum) {
output = await this.cache.extractEnum.run(output);
+ }
+ if (this.cache.extractRegex) {
output = await this.cache.extractRegex.run(output);
+ }
+ if (this.cache.extractTrim) {
output = awa... | feat: default ner pipeline now detect existing extractors | null | axa-group/nlp.js | MIT License | JavaScript |
@@ -22,6 +22,7 @@ var getEncodeTransform = transproto.getEncodeTransform;
var getDecodeTransform = transproto.getDecodeTransform;
var URL_RE = /^https?:\/\/[^\s]+$/;
+var MAX_BODY_SIZE = 1024 * 256;
var sessionStorage = new LRU({
maxAge: 1000 * 60 * 12,
max: 1600
@@ -1309,6 +1310,7 @@ module.exports = async function(op... | feat: req.setHtml & req.setUrl | null | avwo/whistle | MIT License | JavaScript |
@@ -378,7 +378,7 @@ class Plugins
continue;
}
- include_once PATH['project'] . '/plugins/' . $pluginName . '/bootstrap.php';
+ include_once PATH['project'] . '/plugins/' . $pluginName . '/plugin.php';
}
}
}
| feat(plugins): use plugin.php as common point to access plugin feature | null | flextype/flextype | MIT License | PHP |
@@ -17,8 +17,8 @@ class WebsiteAnalytics(object):
def run(self):
columns = self.get_columns()
data = self.get_data()
- summary = self.get_report_summary()
chart = self.get_chart_data()
+ summary = self.get_report_summary()
return columns, data, None, chart, summary
def get_columns(self):
@@ -56,7 +56,7 @@ class Website... | feat: update website analytics report | null | frappe/frappe | MIT License | Python |
@@ -19,6 +19,7 @@ use Illuminate\Support\Facades\Config;
use Mockery;
use Orchestra\Testbench\TestCase;
use OwenIt\Auditing\Contracts\Auditable;
+use OwenIt\Auditing\Models\Audit;
use OwenIt\Auditing\Tests\Stubs\AuditableDriverStub;
use OwenIt\Auditing\Tests\Stubs\AuditableExcludeStub;
use OwenIt\Auditing\Tests\Stubs\A... | feat(Auditable): add Audit implementation tests | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -30,6 +30,14 @@ class V06 extends Filter {
$parsedResponse = $this->parseSession($content);
break;
+ case Response::MODEL_SESSION_LIST :
+ $parsedResponse = $this->parseSessionList($content);
+ break;
+
+ case Response::MODEL_LOG_LIST :
+ $parsedResponse = $this->parseLogList($content);
+ break;
+
case Response::MOD... | feat: parse log list | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -60,6 +60,8 @@ export enum GroupFlag {
noEmit = 4,
}
+export const groupFlags: (keyof typeof GroupFlag)[] = ['noCommand', 'noResponse', 'noEmit']
+
export type Group<K extends GroupField = GroupField> = Observed<Pick<GroupData, K | 'id'>>
export type GroupField = keyof GroupData
export const groupFields: GroupField[... | feat(plugin-common): optimize admin command | null | koishijs/koishi | MIT License | TypeScript |
@@ -47,9 +47,9 @@ namespace jsc {
namespace {
std::string JSStringToSTLString(JSStringRef str) {
size_t maxBytes = JSStringGetMaximumUTF8CStringSize(str);
- std::vector<char> buffer(maxBytes);
- JSStringGetUTF8CString(str, buffer.data(), maxBytes);
- return std::string(buffer.data());
+ char buffer[maxBytes];
+ JSStrin... | feat: optimize JSC version of JSA performance | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -17,6 +17,7 @@ struct LoginView: View, StoreAccessor {
@Environment(\.dismiss) var dismissAction
@FocusState private var focusedState: FocusedField?
+ @State var shouldRestoreFocus = false
@State var isLoggingIn = false
@State var username = ""
@State var password = ""
@@ -76,6 +77,25 @@ struct LoginView: View, Stor... | feat: Restore focus state when become active | null | ehpanda-team/ehpanda | MIT License | Swift |
@@ -23,6 +23,7 @@ use metrics::histogram;
use sqlparser::ast::Value;
use sqlparser::dialect::keywords::Keyword;
use sqlparser::dialect::Dialect;
+use sqlparser::dialect::GenericDialect;
use sqlparser::dialect::SnowflakeDialect;
use sqlparser::parser::Parser;
use sqlparser::parser::ParserError;
@@ -50,28 +51,30 @@ macro... | feat(list): support multiple dialect | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -3050,16 +3050,9 @@ namespace ts.Completions {
? checker.getUnionType([contextualType, completionsType!])
: contextualType;
- const properties = type.isUnion()
- ? checker.getAllPossiblePropertiesOfTypes(type.types.filter(memberType =>
- // If we're providing completions for an object literal, skip primitive, array-... | feat(44888): omit completions in an object expression with an instantiated class type | null | microsoft/typescript | Apache License 2.0 | TypeScript |
@@ -142,15 +142,24 @@ func Serve() {
registerAPI(storageDir, domain, cdnDomain, cdnDomainChina)
+ var certFile string
+ var keyFile string
+ if fileExists(path.Join(etcDir, "esm.sh.cert")) && fileExists(path.Join(etcDir, "esm.sh.key")) {
+ certFile = path.Join(etcDir, "esm.sh.cert")
+ keyFile = path.Join(etcDir, "esm.s... | feat: support custom cert | null | esm-dev/esm.sh | MIT License | Go |
@@ -27,7 +27,6 @@ JSObjectRef JSDocumentFragment::instanceConstructor(JSContextRef ctx, JSObjectRe
JSDocumentFragment::DocumentFragmentInstance::DocumentFragmentInstance(JSDocumentFragment *jsDocumentFragment)
: NodeInstance(jsDocumentFragment, NodeType::DOCUMENT_FRAGMENT_NODE) {
- nativeNode = new NativeNode(new Nativ... | feat: delete invalid initialization | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -163,10 +163,6 @@ class Forms
case 'visibility_select':
$form_element = $this->visibilitySelectField($form_element_name, ['draft' => __('admin_entries_draft'), 'visible' => __('admin_entries_visible'), 'hidden' => __('admin_entries_hidden')], (! empty($form_value) ? $form_value : 'visible'), $property);
break;
- // ... | feat(core): remove media_select field from Forms | null | flextype/flextype | MIT License | PHP |
@@ -241,6 +241,35 @@ class Forge extends \CodeIgniter\Database\Forge
//--------------------------------------------------------------------
+ /**
+ * Drop Table
+ *
+ * Generates a platform-specific DROP TABLE string
+ *
+ * @param string $table Table name
+ * @param boolean $if_exists Whether to add an IF EXISTS condi... | feat: add drop table method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -242,6 +242,30 @@ void CreatePushSubscription(
(std::move(client), argv.at(0), argv.at(1), argv.at(2), argv.at(3));
}
+void CreateOrderingSubscription(
+ google::cloud::pubsub::SubscriptionAdminClient client,
+ std::vector<std::string> const& argv) {
+ //! [START pubsub_enable_subscription_ordering] [enable-subscrip... | feat(pubsub): Implement pubsub_enable_subscription_ordering sample | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -13,6 +13,7 @@ pub enum DisplayType {
VirtualTextOk,
VirtualTextErr,
Terminal,
+ TerminalWithCode,
LongTempFloatingWindow,
TempFloatingWindow,
Api,
@@ -27,6 +28,7 @@ impl FromStr for DisplayType {
"VirtualTextOk" => Ok(VirtualTextOk),
"VirtualTextErr" => Ok(VirtualTextErr),
"Terminal" => Ok(Terminal),
+ "TerminalWit... | feat(display): own display for terminal with code | null | michaelb/sniprun | MIT License | Rust |
@@ -18,7 +18,6 @@ interface PermissionButtonProps extends ButtonProps {
*/
const PermissionButton = (props: PermissionButtonProps) => {
const { tooltip, popConfirm, isPermission, ...buttonProps } = props;
-
const _isPermission =
'isPermission' in props && props.isPermission
? 'disabled' in buttonProps
| feat(metadata): metadata permission | null | jetlinks/jetlinks-ui-antd | MIT License | TypeScript |
//! Support for capturing other fields
use serde::{de::DeserializeOwned, Deserialize, Serialize};
use serde_json::Map;
-use std::{collections::BTreeMap, ops::Deref};
+use std::{
+ collections::BTreeMap,
+ ops::{Deref, DerefMut},
+};
/// A type that is supposed to capture additional fields that are not native to ethereu... | feat: add DerefMut for OtherFields | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -73,7 +73,7 @@ impl Rule for RulePushDownLimitSort {
let mut sort_limit: logsort = sort.plan().clone().try_into()?;
sort_limit.limit = Some(sort_limit.limit.map_or(count, |c| cmp::max(c, count)));
let sort = SExpr::create_unary(RelOperator::Sort(sort_limit), sort.child(0)?.clone());
- state.add_result(s_expr.replace... | feat(query): fix sort limit bug | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -149,7 +149,7 @@ return [
],
Exception::OAUTH_PROVIDER_UNSUPPORTED => [
'name' => Exception::OAUTH_PROVIDER_UNSUPPORTED,
- 'description' => 'The chosen OAuth provider is unsupported.',
+ 'description' => 'The chosen OAuth provider is unsupported. Please check <a href="/docs/client/account?sdk=web-default#accountCrea... | feat: update descriptions of oauth errors | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -216,14 +216,20 @@ export class FormUtils {
controlConfig.config = optionsConfig;
}
+ let overrideTemplate;
if (overrides && overrides[field.name]) {
+ if (overrides[field.name].resultsTemplate) {
+ overrideTemplate = overrides[field.name].resultsTemplate;
+ controlConfig.config.resultsTemplate = overrideTemplate;
+... | feat(form): Allowing to override the templates of form controls | null | bullhorn/novo-elements | MIT License | TypeScript |
@@ -111,7 +111,10 @@ public abstract class PointSet {
* Constructor for a PointSet that initializes its cache of linkages upon deserialization.
*/
public PointSet() {
- this.linkageCache = CacheBuilder.newBuilder().maximumSize(LINKAGE_CACHE_SIZE).build(new LinkageCacheLoader());
+ this.linkageCache = CacheBuilder.newBu... | feat(PointSet): log warning when linkage is evicted | null | conveyal/r5 | MIT License | Java |
@@ -3,6 +3,7 @@ package it.unibo.tuprolog.solve
import it.unibo.tuprolog.Info
import kotlin.test.assertEquals
import kotlin.test.assertNotNull
+import kotlin.test.assertNotSame
import kotlin.test.fail
@Suppress("DEPRECATION")
@@ -56,6 +57,11 @@ class TestStaticFactoryImpl(private val expectations: TestStaticFactory.Exp... | feat(test): test availability of solver builders too | null | tuprolog/2p-kt | Apache License 2.0 | Kotlin |
@@ -183,7 +183,7 @@ public final class ProbeMojo extends SafeMojo {
new Mapped<>(
ProbeMojo::noPrefix,
new Filtered<>(
- obj -> !obj.isEmpty() && ProbeMojo.missesReservedChars(obj),
+ obj -> !obj.isEmpty(),
new XMLDocument(file).xpath(
"//metas/meta[head/text() = 'probe']/tail/text()"
)
| feat(#1678): update branch | null | cqfn/eo | MIT License | Java |
@@ -171,7 +171,9 @@ func setupLogger() {
func main() {
printVersion := pflag.Bool("version", false, "Print version and exit")
+ validateConfig := pflag.Bool("check-config", false, "Validate configuration and exit")
pflag.Parse()
+
if *printVersion {
fmt.Println(version)
return
@@ -204,6 +206,11 @@ func main() {
log.Fat... | feat(backend): add --check-config flag for validating configuration | null | prymitive/karma | Apache License 2.0 | Go |
@@ -235,7 +235,7 @@ def _decode_logs(logs: List) -> EventDict:
try:
events.extend(eth_event.decode_logs([item], topics_map, allow_undecoded=True))
except EventError as exc:
- warnings.warn(str(exc))
+ warnings.warn(f"{address}: {exc}")
if log_slice[-1] == logs[-1]:
break
| feat: show address in event warning | null | eth-brownie/brownie | MIT License | Python |
@@ -73,6 +73,7 @@ public class TabbedPane extends JTabbedPane {
}
});
interceptTabKey();
+ interceptCloseKey();
enableSwitchingTabs();
}
@@ -120,6 +121,34 @@ public class TabbedPane extends JTabbedPane {
});
}
+ private void interceptCloseKey() {
+ KeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventDispat... | feat(gui): added keyboard shortcut ctrl+w to close tab (#1765)(PR | null | skylot/jadx | Apache License 2.0 | Java |
@@ -121,8 +121,8 @@ class DatabaseQuery:
# if `filters` is a list of strings, its probably fields
filters, fields = fields, filters
+ self.locals = locals()
self.qb_fields, self.qb_filters = fields, filters
- self.ignore_permissions = ignore_permissions
if fields:
self.fields = fields
@@ -210,9 +210,12 @@ class Databas... | feat: Added locals object to execute & pluck to qb engine | null | frappe/frappe | MIT License | Python |
@@ -36,6 +36,7 @@ export type Props<T = AnyObject> = FinalFormProps<T> & {
successSubmitMessage?: ReactNode
failedSubmitMessage?: ReactNode
scrollOffsetTop?: number
+ 'data-testid'?: string
}
const getValidationErrors = (
@@ -71,6 +72,7 @@ export const Form = <T extends any = AnyObject>(props: Props<T>) => {
successSub... | feat: add possibility to pass data-testid for picasso-forms Form | null | toptal/picasso | MIT License | TypeScript |
@@ -102,6 +102,7 @@ open class Core: UIObject, UIGestureRecognizerDelegate {
}
open func attach(to parentView: UIView, controller: UIViewController) {
+ parentView.addSubviewMatchingConstraints(view)
self.layersCompositor = LayersCompositor(for: self.view)
self.parentController = controller
self.parentView = parentView... | feat: Set core view size at attach momment | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -100,6 +100,11 @@ impl RouterServer {
self.routers.write().remove(name).is_some()
}
+ /// Get registered router, if any.
+ pub fn router(&self, name: &str) -> Option<Arc<Router>> {
+ self.routers.read().get(name).cloned()
+ }
+
/// Resolver associated with this server.
pub fn resolver(&self) -> &Arc<Resolver> {
&sel... | feat: `RouterServer::router` | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -81,6 +81,11 @@ impl FilePath {
self.inner = mem::take(&mut self.inner).push_path(path)
}
+ /// Add a `PathPart` to the end of the path's directories.
+ pub fn push_part_as_dir(&mut self, part: &PathPart) {
+ self.inner = mem::take(&mut self.inner).push_part_as_dir(part);
+ }
+
/// Whether the prefix is the start of... | feat: Hook DirsAndFileName push_part_as_dir to FilePath | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -21,6 +21,8 @@ import (
type RunWatchOptions struct {
FailOnError bool `long:"fail-on-error" description:"If true the command will fail on an error while running the sub command"`
+ SkipInitial bool `long:"skip-initial" description:"If true will not execute the command immediately."`
+ Silent bool `long:"silent" des... | feat: add --skip-init & --silent to run_watch | null | loft-sh/devspace | Apache License 2.0 | Go |
@@ -234,6 +234,9 @@ export const unityInterface = {
ClearWearableCatalog() {
gameInstance.SendMessage('SceneController', 'ClearWearableCatalog')
},
+ ShowNewWearablesNotification(wearableNumber: number) {
+ gameInstance.SendMessage('HUDController', 'ShowNewWearablesNotification', wearableNumber.toString())
+ },
ShowNot... | feat: added call to send the number of new available wearables to the renderer | null | decentraland/explorer | Apache License 2.0 | TypeScript |
@@ -84,9 +84,10 @@ class EthereumBlockchainClient {
contract.transactionHash = receipt.transactionHash;
contract.log(`${contract.className.bold.cyan} ${__('deployed at').green} ${receipt.contractAddress.bold.cyan} ${__("using").green} ${receipt.gasUsed} ${__("gas").green} (txHash: ${receipt.transactionHash.bold.cyan})`... | feat(deployement): add back deployment message with hash | null | embarklabs/embark | MIT License | JavaScript |
@@ -79,6 +79,7 @@ void conv_compute_6x6_3x3(const float* input,
const float* bias,
const operators::ConvParam& param,
ARMContext* ctx) {
+ auto act_param = param.activation_param;
const int pad_h = (*param.paddings)[0];
const int pad_w = (*param.paddings)[2];
float* tmp_work_space =
@@ -296,7 +297,7 @@ void conv_comput... | feat: winograd support relu6 | null | paddlepaddle/paddle-lite | Apache License 2.0 | C++ |
using System;
using Avalonia.Platform;
+using System.ComponentModel;
+using System.Globalization;
namespace Avalonia.Media
{
/// <summary>
/// Defines a geometric shape.
/// </summary>
+ [TypeConverter(typeof(GeometryConverter))]
public abstract class Geometry : AvaloniaObject
{
/// <summary>
@@ -199,4 +202,32 @@ publi... | feat: Add GeometryConverter | null | avaloniaui/avalonia | MIT License | C# |
@@ -111,6 +111,7 @@ export class MdcIconButton implements AfterViewInit, OnDestroy {
new EventEmitter<MdcIconButtonChange>();
@HostBinding('class.mdc-icon-button') isHostClass = true;
+ @HostBinding('class.material-icons') isMaterialIcons = true;
@HostBinding('attr.aria-pressed') ariaPressed: string = 'false';
@HostBin... | feat(icon-button): Should use material-icons as default library | null | trimox/angular-mdc-web | MIT License | TypeScript |
@@ -9,17 +9,27 @@ import {
import { connectHits } from "instantsearch.js/es/connectors";
import { NgISInstance } from "../instantsearch/instantsearch-instance";
+import { bem } from "../utils";
+
+const cx = bem("hits");
@Component({
selector: "ngis-hits",
template: `
- <div class="hits">
+ <div class="${cx()}">
+ <div... | feat(hits): specificy correct css classes | null | algolia/angular-instantsearch | MIT License | TypeScript |
@@ -28,7 +28,7 @@ parsers()->shortcodes()->addHandler('registry', static function (ShortcodeInterf
return '';
}
- if ($s->getParameter('get') != null) {
+ if ($s->getParameter('get') != null && registry()->get('flextype.settings.parsers.shortcodes.shortcodes.registry.get.enabled') === true) {
$value = parsers()->shortc... | feat(shortcodes): add missed check for `registry` shortcode | null | flextype/flextype | MIT License | PHP |
@@ -214,33 +214,46 @@ interface Scope {
@JvmStatic
@JsName("of")
- fun of(vararg vars: String): Scope = of(*vars) {}
+ fun of(vararg vars: String): Scope = of(vars.map { Var.of(it) })
@JvmStatic
- @JsName("ofWithFunction")
- fun of(vararg vars: String, lambda: Scope.() -> Unit): Scope =
- of(*vars.map { Var.of(it) }.to... | feat: support the construction of scopes out of pre-existing Var iterables | null | tuprolog/2p-kt | Apache License 2.0 | Kotlin |
@@ -12,6 +12,11 @@ const String IMAGE = 'IMG';
const Map<String, dynamic> _defaultStyle = {'display': 'inline-block'};
+bool _isNumber(String str) {
+ RegExp regExp = new RegExp(r"^\d+$");
+ return regExp.hasMatch(str);
+}
+
class ImageElement extends Element {
ImageProvider image;
RenderImage imageBox;
@@ -19,6 +24,9 ... | feat: img element support property width and height | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -210,7 +210,11 @@ class AlexaMediaNotificationSensor(Entity):
)
self.hass.bus.async_fire(
"alexa_media_notification_event",
- event_data={"email": hide_email(self._account), "device": {"name": self._name}, "event": self._active[0]},
+ event_data={
+ "email": hide_email(self._account),
+ "device": {"name": self.name,... | feat: add name and entity_id to notification_event | null | custom-components/alexa_media_player | Apache License 2.0 | Python |
@@ -708,21 +708,10 @@ func revokeCertificate(params certification.RevokeCertificateParams) middleware.
preEnrollmentCode := params.PreEnrollmentCode
dose := params.Dose
- var filter map[string]interface{}
- filter = map[string]interface{}{
- "preEnrollmentCode": map[string]interface{}{
- "eq": preEnrollmentCode,
- },
-... | feat: Add dose as a optional parameter | null | egovernments/divoc | MIT License | Go |
@@ -142,7 +142,12 @@ mod decl {
}
#[pyimpl(with(IterNext, Constructor))]
- impl PyItertoolsCompress {}
+ impl PyItertoolsCompress {
+ #[pymethod(magic)]
+ fn reduce(zelf: PyRef<Self>) -> (PyTypeRef, (PyIter, PyIter)) {
+ (zelf.class().clone(), (zelf.data.clone(), zelf.selectors.clone()))
+ }
+ }
impl IterNextIterable f... | feat: itertools.compress.__reduce__ | null | rustpython/rustpython | MIT License | Rust |
@@ -237,7 +237,7 @@ pub fn check_record_delimiter(option: &mut String) -> Result<()> {
let o = option.as_str();
if o != "\n" && o != "\r\n" {
return Err(ErrorCode::InvalidArgument(
- "record_delimiter can only be '\n' or '\r\n'",
+ "record_delimiter can only be '\\n' or '\\r\\n'",
));
};
}
| feat(format): escape \r \n in error msg | null | datafuselabs/databend | Apache License 2.0 | Rust |
// limitations under the License.
use bstr::ByteSlice;
+use common_expression::types::NumberType;
use common_expression::types::StringType;
use common_expression::FunctionProperty;
use common_expression::FunctionRegistry;
@@ -39,5 +40,15 @@ pub fn register(registry: &mut FunctionRegistry) {
Ok(())
},
);
+ registry.regi... | feat(function): migrate bit_length functions to new expression framework | null | datafuselabs/databend | Apache License 2.0 | Rust |
+import hiero
+import re
+from pypeapp import config
+
+
+def create_tag(key, value):
+ """
+ Creating Tag object.
+
+ Args:
+ key (str): name of tag
+ value (dict): parameters of tag
+
+ Returns:
+ object: Tag object
+ """
+
+ tag = hiero.core.Tag(str(key))
+ tag.setNote(value['note'])
+ tag.setIcon(value['icon']['pat... | feat(nukestudio): creating Tags from presets | null | pypeclub/openpype | MIT License | Python |
@@ -56,6 +56,7 @@ context('Express checkout', () => {
it('setup most expensive delivery mode in config', () => {
cy.cxConfig({
checkout: {
+ express: true,
defaultDeliveryMode: ['MOST_EXPENSIVE'],
},
} as CheckoutConfig);
| feat: fix stability of e2e for EC | null | sap/spartacus | Apache License 2.0 | TypeScript |
@@ -831,10 +831,13 @@ Object.assign(frappe.utils, {
if (callNow) func.apply(context, args);
};
},
- get_form_link: function(doctype, name, html = false, display_text = null) {
+ get_form_link: function(doctype, name, html=false, display_text=null, query_params_obj=null) {
display_text = display_text || name;
name = enc... | feat: Get form link with query params | null | frappe/frappe | MIT License | JavaScript |
@@ -107,6 +107,91 @@ if (! function_exists('setBasePath')) {
}
}
+if (! function_exists('getBaseUrl')) {
+ /**
+ * Get the application base url.
+ *
+ * @return string Application base url.
+ */
+ function getBaseUrl(): string
+ {
+ $baseUrl = registry()->get('flextype.settings.base_url') ?? '';
+ $basePath = registry(... | feat(helpers): add new helper function `getAbsoluteUrl` and ``getBaseUrl | null | flextype/flextype | MIT License | PHP |
@@ -97,13 +97,10 @@ public class TdStack
ServerName = sqlServer.Name,
Sku = new SqlDatabaseSkuArgs
{
- Tier = "GeneralPurpose",
- Name = "GP_S_Gen5",
- Family = "Gen5",
- Capacity = 1
- },
- AutoPauseDelay = 60, // minutes
- MinCapacity = 0.5
+ Tier = "Basic",
+ Name = "Basic",
+ Capacity = 5
+ }
});
AppServicePlan app... | feat(template): switch the db plan to Basic in the IAC project | null | bitfoundation/bitframework | MIT License | C# |
+package com.chesire.nekome.core.settings
+
+import android.content.Context
+import androidx.annotation.StringRes
+import androidx.appcompat.app.AppCompatDelegate
+import com.chesire.nekome.core.R
+
+/**
+ * Themes that the application can be to set to use.
+ */
+enum class Theme(val value: Int, @StringRes val stringId... | feat: add enum class for selectable themes | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -14,6 +14,24 @@ type SectionPrinter struct {
TopPadding int
}
+// WithStyle returns a new SectionPrinter with a specific style.
+func (p SectionPrinter) WithStyle(style Style) *SectionPrinter {
+ p.Style = style
+ return &p
+}
+
+// WithLevel returns a new SectionPrinter with a specific level.
+func (p SectionPrinte... | feat: add options shorthands to `SectionPrinter` | null | pterm/pterm | MIT License | Go |
+#![feature(async_await, futures_api)]
+
+async fn echo_string(msg: String) -> String {
+ println!("String: {}", msg);
+ format!("{}", msg)
+}
+
+async fn echo_vec(msg: Vec<u8>) -> String {
+ println!("Vec<u8>: {:?}", msg);
+
+ String::from_utf8(msg).unwrap()
+}
+
+fn main() {
+ let mut app = tide::App::new(());
+ app.... | feat: add examples of how to extract a string or vec | null | http-rs/tide | Apache License 2.0 | Rust |
@@ -266,7 +266,7 @@ open class MediaControl(core: Core, pluginName: String = name) : UICorePlugin(co
lastInteractionTime = SystemClock.elapsedRealtime()
}
- private fun toggleVisibility() {
+ protected fun toggleVisibility() {
if (isEnabled) {
if (isVisible) {
hide()
| feat(media_control): change toggleVisibility() access modifier | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -1286,11 +1286,18 @@ impl<P: JsonRpcClient> Provider<P> {
self
}
+ /// Sets the default polling interval for event filters and pending transactions
+ /// (default: 7 seconds)
+ pub fn set_interval<T: Into<Duration>>(&mut self, interval: T) -> &mut Self {
+ self.interval = Some(interval.into());
+ self
+ }
+
/// Sets... | feat: add set_interval helper function | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -14,7 +14,7 @@ interface PlaybackSupportInterface : NamedType {
fun supportsSource(source: String, mimeType: String? = null): Boolean
}
-abstract class Playback(var source: String, var mimeType: String? = null, var options: Options = Options()) : UIObject(), NamedType {
+abstract class Playback(var source: String, v... | feat(player_load): Revert make options a var | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -261,6 +261,26 @@ export default class SceneSlate extends React.Component {
}
}
+const STYLES_RESET_SCENE_PAGE_PADDING = css`
+ padding: 0px;
+ @media (max-width: ${Constants.sizes.mobile}px) {
+ padding: 0px;
+ }
+`;
+
+const STYLES_DATAVIEWER_WRAPPER = (theme) => css`
+ width: 100%;
+ min-height: calc(100vh - ${th... | feat(SceneSlate): remove slate actions | null | filecoin-project/slate | MIT License | JavaScript |
@@ -365,62 +365,51 @@ class Connection extends BaseConnection implements ConnectionInterface
* @param string $table
* @return \stdClass[]
* @throws DatabaseException
- * @throws \LogicException
*/
public function _indexData(string $table): array
{
- $table = $this->protectIdentifiers($table, true, null, false);
-
- if ... | feat: add get index list method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -260,14 +260,19 @@ export class AppComponent implements OnInit {
startWith(this.translate.currentLang)
);
- this.pcapOutDated$ = combineLatest([language$, this.firebase.object('game_versions').valueChanges()]).pipe(
- map(([lang, value]) => {
+ const region$ = this.settings.regionChange$.pipe(
+ map(change => change... | feat(app): change pcapOutdated detection to region | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -12,13 +12,13 @@ let package = Package(
targets: [
.binaryTarget(
name: "WalletCore",
- url: "https://github.com/trustwallet/wallet-core/releases/download/3.0.6/WalletCore.xcframework.zip",
- checksum: "a3df0c2b30fc59ede0a2600266fc19b8c0cf655dbef3fb832488c8ddedcb6b93"
+ url: "https://github.com/trustwallet/wallet-co... | feat(ios): update Package.swift | null | trustwallet/wallet-core | MIT License | Swift |
-use ockam_core::{Address, Message, Result};
-
-use crate::{block_future, Context};
+use crate::Context;
+use ockam_core::{async_trait, compat::boxed::Box};
+use ockam_core::{Address, AsyncTryClone, Message, Result};
/// Wrapper for `Context` and `Address`
pub struct Handle {
@@ -8,17 +8,12 @@ pub struct Handle {
addre... | feat(rust): make handle async only | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -31,6 +31,7 @@ class CompositeGateway(BaseGateway):
gateway_kwargs = {k: v for k, v in kwargs.items() if k != 'runtime_args'}
gateway_kwargs['runtime_args'] = dict(vars(runtime_args))
gateway = gateway_cls(**gateway_kwargs)
+ gateway.streamer = self.streamer
self.gateways.append(gateway)
async def setup_server(self)... | feat: use single gateway streamer for CompositeGateway | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -36,7 +36,7 @@ emitter()->addListener('onEntriesFetchSingleHasResult', static function (): void
if (isset($body['options']['method']) &&
strpos($body['options']['method'], 'fetch') !== false &&
- is_callable([content(), $body['options']['method']])) {
+ is_callable([entries(), $body['options']['method']])) {
$fetchF... | feat(fields): update and fix logic for all entries fields | null | flextype/flextype | MIT License | PHP |
+<?php
+
+declare(strict_types=1);
+
+use Flextype\Foundation\Flextype;
+use Flextype\Foundation\Entries\Entries;
+use Atomastic\Strings\Strings;
+
+beforeEach(function() {
+ filesystem()->directory(PATH['project'] . '/entries')->create();
+});
+
+afterEach(function (): void {
+ filesystem()->directory(PATH['project'] ... | feat(tests): add tests for FlextypeHelper method | null | flextype/flextype | MIT License | PHP |
@@ -195,10 +195,12 @@ impl<T: Config> Optimistic<T> {
let (insurance, reserved_bond) =
(*sfx_bid.get_insurance(), *sfx_bid.expect_reserved_bond());
- <<T as Config>::Escrowed as EscrowTrait<T>>::Currency::unreserve(
+ <T as Config>::AccountManager::deposit_immediately(
&sfx_bid.executor,
insurance + reserved_bond + sfx... | feat: use multiasset monetary for optimistic dropped bids | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -252,7 +252,7 @@ class MessageReactionAddedListener(container: Container) : AbstractListener(cont
.setAuthor(author?.asTag ?: "deleted_user#0000", null, author?.effectiveAvatarUrl)
if (ogMessage.embeds.size > 0) {
val embed = ogMessage.embeds[0]
- eb.setTitle(embed.title, embed.url)
+ eb.setTitle(embed.title, ogMess... | feat: add jumpurl to title | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -82,8 +82,15 @@ dependencies {
compile("uk.co.datumedge:hamcrest-json:0.2")
compile("org.postgresql:postgresql:42.1.4")
compile("io.github.microutils:kotlin-logging:1.6.22")
+ compile("javax.xml.bind:jaxb-api:2.3.0")
+ compile("com.sun.xml.bind:jaxb-core:2.3.0")
+ compile("com.sun.xml.bind:jaxb-impl:2.3.0")
+ compil... | feat(github): JDK 11 compatible dependencies | null | zalando/zally | MIT License | Kotlin |
@@ -28,19 +28,19 @@ class BlockchainClientTests: XCTestCase {
func testPrepareSendingNativeSOL() async throws {
let account = accountStorage.account!
let toPublicKey = "6QuXb6mB6WmRASP2y8AavXh6aabBXEH5ZzrSH5xRrgSm"
- let apiClient = MockAPIClient()
+ let apiClient = MockAPIClient(testCase: #function)
let blockchain = B... | feat: completed first test case | null | p2p-org/solana-swift | MIT License | Swift |
@@ -212,7 +212,9 @@ function createDynamicallyTrackedCacheReducer<
actions.forEach((action) => {
if (type == action.type) {
- effectCause = `${type} handler`
+ effectCause = name as string
+ if (name != type) effectCause += ` (${type})`
+ effectCause += ' handler'
reaction(action.payload)
effectCause = undefined
}
@@ -... | feat(core): improve cause naming | null | artalar/reatom | MIT License | TypeScript |
@@ -11,7 +11,8 @@ import {
DaffCartPaymentDriver,
DaffCartShippingInformationDriver,
DaffCartShippingMethodsDriver,
- DaffCartPaymentMethodsDriver
+ DaffCartPaymentMethodsDriver,
+ DaffCartItemDriver
} from '@daffodil/cart/driver';
import { DaffTestingCartService } from './cart/cart.service';
@@ -24,6 +25,7 @@ import {... | feat(cart): provide cart item testing driver service | null | graycoreio/daffodil | MIT License | TypeScript |
@@ -1106,6 +1106,7 @@ pub async fn download(ep: &EndpointType, query_id: &str) -> Response {
get_uri(ep, &uri).await
}
+#[ignore]
#[tokio::test(flavor = "current_thread")]
async fn test_download_csv_with_names() -> Result<()> {
let _guard = TestGlobalServices::setup(ConfigBuilder::create().build()).await?;
@@ -1128,6 +... | feat(http handler): remove download related tests | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -666,6 +666,11 @@ mod range_functions {
let _ = range;
true
}
+ /// Returns true if the range contains no items.
+ #[rhai_fn(get = "is_empty", name = "is_empty", pure)]
+ pub fn is_empty_exclusive(range: &mut ExclusiveRange) -> bool {
+ range.is_empty()
+ }
/// Return the start of the inclusive range.
#[rhai_fn(get ... | feat(ranges): add `is_empty` function to inclusive/exclusive ranges | null | rhaiscript/rhai | Apache License 2.0 | Rust |
@@ -1296,6 +1296,117 @@ func (r *slicedReaderAt) ReadAt(bs []byte, off int64) (n int, err error) {
return available, nil
}
+func (s *ImmuStore) ExportTx(txID uint64, tx *Tx) ([]byte, error) {
+ err := s.ReadTx(txID, tx)
+ if err != nil {
+ return nil, err
+ }
+
+ mdBs := tx.Metadata().serialize()
+
+ var buf bytes.Buff... | feat(embedded/store): tx export and commit replicated | null | codenotary/immudb | Apache License 2.0 | Go |
+import logging
from typing import IO, Dict, List, Type, Union
+import jsonlines as jsl
import ujson
from datahub.ingestion.source.schema_inference.base import SchemaInferenceBase
@@ -27,11 +29,18 @@ _field_type_mapping: Dict[Union[Type, str], Type] = {
"mixed": UnionTypeClass,
}
+logger = logging.getLogger(__name__)
+... | feat(ingestion): schema inference for jsonlines in S3 | null | linkedin/datahub | 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.