message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
filter out packets to self | |= [=lane =packet]
^+ event-core
::
+ ?: =(our sndr.packet)
+ ~& %alef-self
+ event-core
+ ::
%. [lane packet]
::
?. =(our rcvr.packet)
+ ~& %alef-on-hear-forward
on-hear-forward
::
?: encrypted.packet
+ ~& %alef-on-hear-shut
on-hear-shut
+ ~& %alef-on-hear-open
on-hear-open
:: +on-hear-forward: maybe forward a packet ... |
Documentation update only: add link to XPLR-IOT-1 on front page. | @@ -47,6 +47,7 @@ Hosts run `ubxlib` and interact with an attached periperal. A host platform cont
- [STM32F4 Discovery board](https://www.st.com/en/evaluation-tools/stm32f4discovery.html)
- [ESP32-DevKitC](https://www.espressif.com/en/products/devkits/esp32-devkitc/overview)
- [u-blox NINA-W1 EVK](https://www.u-blox.c... |
Always display text field on the console | @@ -90,7 +90,7 @@ class MovableTextField: NSObject, UITextFieldDelegate {
@objc private func keyboardWillShow(_ notification: NSNotification) {
if let keyboardFrame = (notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue {
let point = CGPoint(x: 0, y: (UIApplication.shared.keyWindow... |
Work with BIP39 mnemonics as outward-facing seeds
Then apply the password in turning them into internally usable seeds. | += nodes (map ship node)
+= uodes (map ship uode)
::
-+= node [meta=meta seed=@ux keys=wallet]
++= node [meta=meta seed=tape keys=wallet]
+= uode [meta=meta seed=@ux keys=edkeys]
::
-+= meta [typ=tape rev=@ud who=(unit ship)]
++= meta [typ=tape rev=@ud who=ship]
::
-+= wallet [public=@ux private=@ux chain=@ux]
++= wall... |
Update sim_common_files recipe to not use awk | @@ -173,7 +173,7 @@ harness_macro_temp: $(HARNESS_SMEMS_CONF) | top_macro_temp
# remove duplicate files and headers in list of simulation file inputs
########################################################################################
$(sim_common_files): $(sim_files) $(sim_top_blackboxes) $(sim_harness_blackboxes)... |
hdata/memory: Add newlines to debug messages
Missed a few. | @@ -528,13 +528,13 @@ static void parse_trace_reservations(struct HDIF_common_hdr *ms_vpd)
*/
if (!HDIF_get_idata(ms_vpd, MSVPD_IDATA_TRACE_AREAS, &size) || !size) {
- prlog(PR_DEBUG, "MS VPD: No trace areas found.");
+ prlog(PR_DEBUG, "MS VPD: No trace areas found\n");
return;
}
count = HDIF_get_iarray_size(ms_vpd, MS... |
Added reason messages for device disconnect | @@ -175,10 +175,14 @@ static void handle_transfer(struct libusb_transfer *transfer) {
SurviveContext *ctx = iface->ctx;
bool attemptReconnect = false;
if (!iface->shutdown && transfer->status == LIBUSB_TRANSFER_TIMED_OUT) {
+ SV_WARN("%f %s Device turned off: %d", survive_run_time(ctx), survive_colorize_codename(iface-... |
core/pci.c: cleanup pci_add_loc_code()
Minor cleanups to add clarity after commit
"PCI: create optional loc-code platform callback" | @@ -1385,42 +1385,37 @@ void pci_std_swizzle_irq_map(struct dt_node *np,
static void pci_add_loc_code(struct dt_node *np)
{
- struct dt_node *p = np->parent;
- const char *blcode = NULL;
+ struct dt_node *p;
+ const char *lcode = NULL;
- while (p) {
+ for (p = np->parent; p; p = p->parent) {
/* prefer slot-label by def... |
do not edit or merge pcapng files - this will remove optional comment fields | @@ -5615,6 +5615,8 @@ printf("%s %s (C) %s ZeroBeat\n"
"Run hcxdumptool -i interface --do_rcascan for at least 30 seconds, before you start an attack!\n"
"If hcxdumptool captured your password from WiFi traffic, you should check all your devices immediately!\n"
"It is not a good idea to merge a lot of small cap/pcap/pc... |
For PR : support for with interface name. | @@ -154,25 +154,36 @@ resolve_ifa_name(struct ifaddrs *ifas, const char *search_ifa, char ***ip_addres
for(ifa = ifas; ifa != NULL; ifa = ifa->ifa_next) {
sa_family_t family;
-#ifdef INET6 /* | address ip | % | ifa name | */
- char addr_buf[INET6_ADDRSTRLEN + 1 + IF_NAMESIZE + 1];
+ const char* atsign;
+#ifdef INET6 /*... |
[fuzzer] Run h3 fuzzer in CI | @@ -51,6 +51,7 @@ _fuzz:
_do-fuzz-extra:
./h2o-fuzzer-http1 -close_fd_mask=3 -runs=1 -max_len=16384 $(SRC_DIR)/fuzz/http1-corpus < /dev/null
./h2o-fuzzer-http2 -close_fd_mask=3 -runs=1 -max_len=16384 $(SRC_DIR)/fuzz/http2-corpus < /dev/null
+ ./h2o-fuzzer-http3 -close_fd_mask=3 -runs=1 -max_len=16384 $(SRC_DIR)/fuzz/ht... |
bump travis to bionic.
let us skip out on the OpenSSL build. Can use buildbots to ensure older
distros work. | sudo: required
-dist: xenial
+dist: bionic
language: cpp
arch:
- amd64
@@ -10,10 +10,7 @@ compiler:
install:
- sudo apt-get update -y
- - sudo apt-get install -y build-essential automake1.11 autoconf libevent-dev libseccomp-dev git tar wget libio-socket-ssl-perl
- - wget https://www.openssl.org/source/openssl-1.1.0g.ta... |
Add section on diagnosing pluginVsInstall testing errors. | @@ -413,6 +413,26 @@ how want to write their own Visit-based tests.
For more details about this, see: `Leveraging VisIt in Sim Code RegressionTesting <http://visitusers.org/index.php?title=Leveraging_VisIt_in_Sim_Code_Regression_Testing>`_
+Diagnosing pluginVsInstall failures
+-----------------------------------
+plugi... |
filter_geoip2: fix data types | @@ -166,7 +166,8 @@ static struct flb_hash *prepare_lookup_keys(msgpack_object *map,
mk_list_foreach_safe(head, tmp, &ctx->lookup_keys) {
lookup_key = mk_list_entry(head, struct geoip2_lookup_key, _head);
if (strncasecmp(key->via.str.ptr, lookup_key->key, lookup_key->key_len) == 0) {
- flb_hash_add(ht, lookup_key->key,... |
Update libuv repo url in README | @@ -5,7 +5,7 @@ luv
[](https://ci.appveyor.com/project/racker-buildbot/luv/branch/master)
-[libuv](https://github.com/joyent/libuv) bindings for
+[libuv](https://github.com/libuv/libuv) bindings for
[luajit](http... |
remove ApplyModelMulti from images robot | @@ -67,6 +67,14 @@ namespace NCB { // split due to CUDA-compiler inability to parse nested namespa
const TFeatureLayout* featureInfo = nullptr
) const = 0;
+ void CalcFlatTransposed(
+ TConstArrayRef<TConstArrayRef<float>> transposedFeatures,
+ TArrayRef<double> results,
+ const TFeatureLayout* featureInfo = nullptr
+ ... |
Fixed png file names in examples/EarthClimate | @@ -36,7 +36,7 @@ To run this example
Expected output
---------------
-.. figure:: MilankovitchSeasons.png
+.. figure:: EarthClimateSeasons.png
:width: 600px
:align: center
@@ -46,7 +46,7 @@ single year, as modeled by `poise`. Note that negative values in ice mass balanc
represent **potential** melting, i.e. this value... |
NSH set command: Eliminate useless argc check of SCRIPTS are enabled but ENVIRONMENT is disabled | @@ -324,9 +324,14 @@ int cmd_set(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
const char opts[] = NSH_NP_SET_OPTIONS;
int op;
+#ifndef CONFIG_DISABLE_ENVIRON
/* Support set [{+|-}{e|x|xe|ex}] [<name> <value>] */
if (argc == 2 || argc == 4)
+#else
+ /* Support set [{+|-}{e|x|xe|ex}] */
+
+#endif
{
if (strlen(argv... |
open(2): support O_APPEND | @@ -721,8 +721,8 @@ sysreturn open_internal(tuple root, char *name, int flags, int mode)
f->f.check = closure(h, file_check, f, fsf);
f->n = n;
f->length = length;
- f->offset = 0;
- thread_log(current, " fd %d, file length %d", fd, f->length);
+ f->offset = (flags & O_APPEND) ? length : 0;
+ thread_log(current, " fd %... |
removed calls to linear_hash_get_record and restored caching in split | @@ -328,16 +328,15 @@ split(
if (bucket.record_count > 0) {
record_loc = bucket_loc + sizeof(linear_hash_bucket_t);
fseek(linear_hash->database, bucket_loc + sizeof(linear_hash_bucket_t), SEEK_SET);
- /* fread(records, linear_hash->record_total_size, linear_hash->records_per_bucket, linear_hash->database); */
+ fread(r... |
Use constant for supported Uncrustify version
Define and report the supported Uncrustify version (and remove extra
newlines from version output). | @@ -22,6 +22,7 @@ import subprocess
import sys
from typing import List
+UNCRUSTIFY_SUPPORTED_VERSION = "0.75.1"
CONFIG_FILE = "codestyle.cfg"
UNCRUSTIFY_EXE = "uncrustify"
UNCRUSTIFY_ARGS = ["-c", CONFIG_FILE]
@@ -125,10 +126,11 @@ def main() -> int:
"""
Main with command line arguments.
"""
- uncrustify_version = get_... |
YAML CPP: Ignore `binary` meta key | @@ -112,7 +112,7 @@ YAML::Node createLeafNode (Key & key)
key.rewindMeta ();
while (Key meta = key.nextMeta ())
{
- if (meta.getName () == "array") continue;
+ if (meta.getName () == "array" || meta.getName () == "binary") continue;
if (meta.getName () == "type" && meta.getString () == "binary")
{
dataNode.SetTag ("tag... |
Added anonbalance to fetchbalance rpc | @@ -607,6 +607,7 @@ Value fetchbalance(const Array& params, bool fHelp)
"Returns an object containing various wallet balance info.");
Object obj, watchonly;
obj.push_back(Pair("totalbalance", ValueFromAmount(pwalletMain->GetBalance())));
+ obj.push_back(Pair("anonbalance", ValueFromAmount(pwalletMain->GetAnonBalance())... |
Don't report success from ec_export if OSSL_PARAM_BLD_to_param failed
If the call to OSSL_PARAM_BLD_to_param() failed then ec_export was
reporting success, even though it has never called the param_cb.
Found due to: | @@ -498,6 +498,8 @@ int ec_export(void *keydata, int selection, OSSL_CALLBACK *param_cb,
if (ok && (params = OSSL_PARAM_BLD_to_param(tmpl)) != NULL)
ok = param_cb(params, cbarg);
+ else
+ ok = 0;
end:
OSSL_PARAM_free(params);
OSSL_PARAM_BLD_free(tmpl);
|
Change to filter all arguments that begin with a '-' | @@ -258,10 +258,11 @@ done_processing:
return 1;
}
- int htif_argc = 1 + argc - optind;
- char** htif_argv = (char **) malloc((htif_argc) * sizeof (char *));
+ int htif_argc = 1;
+ char** htif_argv = new char*[argc];
htif_argv[0] = argv[0];
- for (int i = 1; optind < argc;) htif_argv[i++] = argv[optind++];
+ for (int i... |
imgmgr; imgmgr_read_info() was not checking image header magic unless
the optional ver parameter was passed in. | @@ -152,10 +152,13 @@ imgr_read_info(int image_slot, struct image_version *ver, uint8_t *hash,
goto end;
}
- if (ver != NULL) {
+ if (ver) {
memset(ver, 0xff, sizeof(*ver));
+ }
if (hdr->ih_magic == IMAGE_MAGIC) {
+ if (ver) {
memcpy(ver, &hdr->ih_ver, sizeof(*ver));
+ }
} else if (hdr->ih_magic == 0xffffffff) {
rc = 2... |
Tiny consolidation of identical LV_SIGNAL_PRESS_LOST code | @@ -1280,6 +1280,9 @@ static lv_res_t lv_cpicker_signal(lv_obj_t * cpicker, lv_signal_t sign, void * p
res = lv_event_send(cpicker, LV_EVENT_VALUE_CHANGED, NULL);
if(res != LV_RES_OK) return res;
}
+ } else if(sign == LV_SIGNAL_PRESS_LOST) {
+ ext->prev_hsv = ext->hsv;
+ lv_cpicker_invalidate(cpicker, false);
} else {
... |
Adds ASM Language check to the celix_container_embedded_bundles cmake function | @@ -95,6 +95,12 @@ All embedded bundle can be installed using the framework utils function
`celix_framework_utils_installEmbeddedBundles` (C) or `celix::installEmbeddedBundles` (C++).
]]
function(celix_target_embedded_bundle)
+ get_property(LANGUAGES GLOBAL PROPERTY ENABLED_LANGUAGES)
+ if (NOT "ASM" IN_LIST LANGUAGES)... |
mesh: typo in condition in comp_add_elem of cfg_srv
Vendor model IDs take up four (not two) bytes in the composition
this is port of | @@ -42,7 +42,7 @@ static int comp_add_elem(struct os_mbuf *buf, struct bt_mesh_elem *elem,
int i;
if (net_buf_simple_tailroom(buf) <
- 4 + (elem->model_count * 2) + (elem->vnd_model_count * 2)) {
+ 4 + (elem->model_count * 2) + (elem->vnd_model_count * 4)) {
BT_ERR("Too large device composition");
return -E2BIG;
}
|
Added newly reversed SceLsdb nids | @@ -5950,3 +5950,20 @@ modules:
nid: 0xF0812A7C
functions:
sceVideoExportFromFile: 0x4F60A3C8
+ SceLsdb:
+ nid: 0x19F82753
+ libraries:
+ SceLsdb:
+ kernel: false
+ nid: 0x6BC25E17
+ functions:
+ sceLsdbGetAppVer: 0x63AB6A8F
+ sceLsdbGetBootable: 0x46BF2766
+ sceLsdbGetCategory: 0x6469796F
+ sceLsdbGetDiscId: 0x1F569CF... |
Let CMake do 'make clean' | @@ -385,12 +385,7 @@ ${BTYPES}: ${BTYPESDEP}
endif
clean:
- for d in $(patsubst %,${BUILD_PKG_DIR}/%,src cli test samples) ; do \
- if test -f "$$d/Makefile"; then \
- $(MAKE) --no-print-directory -C "$$d" clean ;\
- fi ;\
- done
- find ${BUILD_PKG_DIR} -name \*.${BUILD_PKG_TYPE} -exec rm -f {} \;
+ $(MAKE) -C ${BUILD_... |
Add gesture GESTURE_ROTATE_CLOCKWISE* for Xiaomi Cube | @@ -6152,21 +6152,23 @@ void DeRestPluginPrivate::updateSensorNode(const deCONZ::NodeEvent &event)
if (i->modelId().startsWith(QLatin1String("lumi.sensor_cube")))
{
- qint32 buttonevent = ia->numericValue().real * 100;
+ const qint32 buttonevent = static_cast<qint32>(ia->numericValue().real * 100);
ResourceItem *item =... |
Fixed data race when writing to a self-pipe and attempting to stop the WS server. | @@ -308,8 +308,8 @@ stop_ws_server (GWSWriter * gwswriter, GWSReader * gwsreader) {
LOG (("Unable to write to self pipe on pipeout.\n"));
pthread_mutex_unlock (&gwsreader->mutex);
- pthread_mutex_lock (&gwswriter->mutex);
/* if it fails to write, force stop */
+ pthread_mutex_lock (&gwswriter->mutex);
if ((write (serve... |
neon/shl_n: Add scalar function implementations | @@ -34,6 +34,34 @@ HEDLEY_DIAGNOSTIC_PUSH
SIMDE_DISABLE_UNWANTED_DIAGNOSTICS
SIMDE_BEGIN_DECLS_
+SIMDE_FUNCTION_ATTRIBUTES
+int64_t
+simde_vshld_n_s64 (const int64_t a, const int n)
+ SIMDE_REQUIRE_CONSTANT_RANGE(n, 0, 63) {
+ return HEDLEY_STATIC_CAST(int64_t, a << n);
+}
+#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
+ #d... |
BugID:18050250:add sem/mutex/queue timeout test | @@ -93,6 +93,7 @@ _ssize_t _write_r(struct _reent *ptr, int fd, const void *buf, size_t nbytes)
uart_stdio.port = 0;
hal_uart_send(&uart_stdio, buf, nbytes, AOS_WAIT_FOREVER);
+ hal_uart_send(&uart_stdio, (void *)"\r", 1, AOS_WAIT_FOREVER);
return nbytes;
}
|
bluedroid: suppress some -Waddress-of-packed-member warnings | @@ -673,6 +673,13 @@ if(CONFIG_BT_ENABLED)
target_link_libraries(${COMPONENT_LIB} PRIVATE nimblelib)
endif()
+
+ set_source_files_properties(
+ "host/bluedroid/bta/gatt/bta_gattc_act.c"
+ "host/bluedroid/bta/gatt/bta_gattc_cache.c"
+ "host/bluedroid/btc/profile/std/gatt/btc_gatt_util.c"
+ "host/bluedroid/btc/profile/st... |
Add missing file in build_without_gradle.sh
Fixes <https://github.com/Genymobile/scrcpy/issues/1481>
PR <https://github.com/Genymobile/scrcpy/pull/1482> | @@ -42,6 +42,8 @@ echo "Generating java from aidl..."
cd "$SERVER_DIR/src/main/aidl"
"$ANDROID_HOME/build-tools/$BUILD_TOOLS/aidl" -o"$CLASSES_DIR" \
android/view/IRotationWatcher.aidl
+"$ANDROID_HOME/build-tools/$BUILD_TOOLS/aidl" -o"$CLASSES_DIR" \
+ android/content/IOnPrimaryClipChangedListener.aidl
echo "Compiling ... |
[sensor] fixed sensor cmd delay time | @@ -226,6 +226,7 @@ static void sensor_polling(int argc, char **argv)
rt_sensor_t sensor;
struct rt_sensor_data data;
rt_size_t res, i;
+ rt_int32_t delay;
dev = rt_device_find(argv[1]);
if (dev == RT_NULL)
@@ -237,6 +238,7 @@ static void sensor_polling(int argc, char **argv)
num = atoi(argv[2]);
sensor = (rt_sensor_t)... |
NAT64: Fix port byte order in nat64_free_out_addr_and_port | @@ -599,7 +599,7 @@ nat64_free_out_addr_and_port (struct nat64_db_s *db, ip4_address_t * addr,
case SNAT_PROTOCOL_##N: \
ASSERT (clib_bitmap_get_no_check (a->busy_##n##_port_bitmap, \
port_host_byte_order) == 1); \
- clib_bitmap_set_no_check (a->busy_##n##_port_bitmap, port, 0); \
+ clib_bitmap_set_no_check (a->busy_##... |
Tezos add 5% padding to fee estimation | @@ -75,9 +75,11 @@ tezosFeeBasisGetFee (BRTezosFeeBasis *feeBasis) {
return TEZOS_DEFAULT_FEE_MUTEZ;
} else {
// storage is burned and not part of the fee
- return TEZOS_MINIMAL_FEE_MUTEZ
+ BRTezosUnitMutez minimalFee = TEZOS_MINIMAL_FEE_MUTEZ
+ (int64_t)(TEZOS_MUTEZ_PER_GAS_UNIT * feeBasis->u.estimate.gasLimit)
+ (fee... |
board/lick/board.c: Format with clang-format
BRANCH=none
TEST=none | @@ -60,15 +60,15 @@ static void ppc_interrupt(enum gpio_signal signal)
/* ADC channels */
const struct adc_t adc_channels[] = {
- [ADC_TEMP_SENSOR_AMB] = {
- "TEMP_AMB", NPCX_ADC_CH0, ADC_MAX_VOLT, ADC_READ_MAX+1, 0},
- [ADC_TEMP_SENSOR_CHARGER] = {
- "TEMP_CHARGER", NPCX_ADC_CH1, ADC_MAX_VOLT, ADC_READ_MAX+1, 0},
+ [A... |
libhfuzz/main: make LIBHFUZZ_module_main as default visibility to avoid lto removal | * If this signature is visible inside a binary, it's probably a persistent-style fuzzing program.
* This mode of discover is employed by honggfuzz
*/
-__attribute__((used)) const char* LIBHFUZZ_module_main = _HF_PERSISTENT_SIG;
+__attribute__((visibility("default")))
+__attribute__((used))
+const char* LIBHFUZZ_module_... |
Deactive TagCloud waiting for Solr 9 see | %>
<li id="EntityExtractionConf"><a id="entityExtractionConf-AdminUI" class="ajax-link" href="?page=entityExtractionConf"></a></li>
<li id="STTEntitiesConfiguration"><a id="sttEntitiesConfiguration-AdminUI" class="ajax-link" href="?page=sttEntitiesConfiguration">Advanced Entitiy Extraction</a></li>
- <li id="tagCloudCo... |
OpenCoreUefi: Clarify in err msgs that OC is bootstrapping secure boot NVRAM values
Makes it easier for end users to realise that e.g. invalid NVRAM contents can cause failures here | @@ -506,13 +506,13 @@ OcLoadAppleSecureBoot (
Status = OcAppleImg4BootstrapValues (RealSecureBootModel, Config->Misc.Security.ApECID);
if (EFI_ERROR (Status)) {
- DEBUG ((DEBUG_ERROR, "OC: Failed to bootstrap IMG4 values - %r\n", Status));
+ DEBUG ((DEBUG_ERROR, "OC: Failed to bootstrap IMG4 NVRAM values - %r\n", Statu... |
dbuild.sh : Modify dbuild.sh to use docker when downloading the image
Download command does not use docker make cmd, using private make cmd.
So changed to use docker make cmd. In this case, we don't need to install make in host linux. | @@ -381,7 +381,7 @@ function DOWNLOAD()
{
# Currently supports ALL only, later this will have a menu
pushd ${OSDIR} > /dev/null
- ${BUILD_CMD} download $1 $2 $3 $4 $5
+ docker run --rm ${DOCKER_OPT} -v ${TOPDIR}:/root/tizenrt -w /root/tizenrt/os --privileged tizenrt/tizenrt:${DOCKER_VERSION} ${BUILD_CMD} download $1 $2... |
board/goroh/board.h: Format with clang-format
BRANCH=none
TEST=none | @@ -108,11 +108,7 @@ enum adc_channel {
ADC_CH_COUNT,
};
-enum usbc_port {
- USBC_PORT_C0 = 0,
- USBC_PORT_C1,
- USBC_PORT_COUNT
-};
+enum usbc_port { USBC_PORT_C0 = 0, USBC_PORT_C1, USBC_PORT_COUNT };
enum pwm_channel {
PWM_CH_LED_GREEN,
@@ -122,10 +118,7 @@ enum pwm_channel {
PWM_CH_COUNT,
};
-enum fan_channel {
- FA... |
khan: update docs | :: both modes take a thread start request consisting of a
:: namespace, thread name, and input data; they respond over the
:: same duct with either success or failure. %fard takes its
-:: input arguments as a vase and produces %arow, which contains
-:: a vase on success (or tang on failure). %fyrd takes an output
+:: i... |
Add some code for option -m to print capabilities. | @@ -80,7 +80,9 @@ struct mdev_ctx {
static struct mdev_ctx master_ctx;
#define MODE_SHOW_ACTION 0x0001
-#define MODE_2 0x0002
+#define MODE_SHOW_NVME 0x0002
+#define MODE_SHOW_CARD 0x0004
+#define MODE_SHOW_SDRAM 0x0008
/*
* Open AFU Master Device
@@ -357,6 +359,29 @@ _snap_m_init_exit:
return rc;
}
+static void snap_s... |
Fix an issue in provider_activate_fallbacks()
The above function was running while holding the store lock with a read
lock. Unfortunately it actually modifies the store, so a write lock is
required instead. | @@ -729,11 +729,26 @@ static int provider_forall_loaded(struct provider_store_st *store,
*/
static void provider_activate_fallbacks(struct provider_store_st *store)
{
- if (store->use_fallbacks) {
- int num_provs = sk_OSSL_PROVIDER_num(store->providers);
+ int use_fallbacks;
+ int num_provs;
int activated_fallback_coun... |
Fix: Prevent building game while build is in progress | @@ -23,15 +23,20 @@ const buildGameMiddleware: Middleware<{}, RootState> = (store) => (
next
) => async (action) => {
if (actions.buildGame.match(action)) {
- const { buildType, exportBuild, ejectBuild } = action.payload;
-
+ const state = store.getState();
const dispatch = store.dispatch.bind(store);
+
+ const { build... |
do not modify default TweakDB values | @@ -515,7 +515,7 @@ bool TweakDB::InternalCloneRecord(const std::string& acRecordName, const RED4ext
const auto* pDefaultFlatValue = pTDB->GetDefaultFlatValue(flatTypeName);
RED4ext::CStackType defaultStackType = pDefaultFlatValue->GetValue();
- flatID.SetTDBOffset(pPool->GetOrCreate(defaultStackType, pDefaultFlatValue... |
vere: improve streamslog event construction
Assemble as list of atoms, then rap once, instead of catting multiple
times.
Also fixes refcounts, probably. | @@ -1951,13 +1951,18 @@ _http_stream_slog(void* vop_p, c3_w pri_w, u3_noun tan)
if ( u3_none != wol ) {
u3_noun low = wol;
- u3_atom txt = u3_nul;
+ u3_noun paz = u3_nul;
while ( u3_nul != low ) {
- u3_atom lin = u3qc_cat(3, u3qc_rap(3, u3k(u3h(low))), c3_s2('\n', '\n'));
- txt = u3qc_cat(3, txt, u3qc_cat(3, u3i_string... |
SH2 - fixed placement of screen position overlay
A black overlay used for the "Screen Position" option was out of place. It was fixed by restoring the original width value. | @@ -105,6 +105,8 @@ void Init()
injector::WriteMemory(pattern.count(1).get(0).get<uint32_t>(2), &Screen.Width43, true);
pattern = hook::pattern("8B 0D ? ? ? ? D1 E9 85 C9 89 4C 24 10 DB 44 24 10"); //004DC103 toluca lake light (i == 330)
injector::WriteMemory(pattern.count(1).get(0).get<uint32_t>(2), &Screen.Width, tru... |
CONTRIBUTING: describe the C code style
Fixes: | @@ -42,6 +42,7 @@ Before submitting a PR, we suggest you could take a look at the PR rules here.
- [Workspace Preparation](#workspace-preparation)
- [Branch Definition](#branch-definition)
+- [Format C Codes](#format-c-codes)
- [Commit Rules](#commit-rules)
- [PR Description](#pr-description)
@@ -74,6 +75,41 @@ With ab... |
in_tail: include NULL bytes and don't stop processing | @@ -170,6 +170,7 @@ static int process_content(struct flb_tail_file *file, off_t *bytes)
int ret;
off_t processed_bytes = 0;
char *data;
+ char *end;
char *p;
void *out_buf;
size_t out_size;
@@ -189,7 +190,8 @@ static int process_content(struct flb_tail_file *file, off_t *bytes)
/* Parse the data content */
data = file... |
freertos: Fix missing affinity info in vTaskList
Show affinity info if CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID is set.
Closes
Closes | @@ -4975,7 +4975,11 @@ TCB_t *pxTCB;
pcWriteBuffer = prvWriteNameToBuffer( pcWriteBuffer, pxTaskStatusArray[ x ].pcTaskName );
/* Write the rest of the string. */
+#if configTASKLIST_INCLUDE_COREID
+ sprintf( pcWriteBuffer, "\t%c\t%u\t%u\t%u\t%hd\r\n", cStatus, ( unsigned int ) pxTaskStatusArray[ x ].uxCurrentPriority,... |
Copy Elixir files using CMake | @@ -18,4 +18,10 @@ else ()
target_link_libraries (nif_kdb elektra-core elektra-kdb)
target_link_libraries (nif_kdb erlang)
+
+ add_custom_command (
+ TARGET nif_kdb
+ PRE_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/elixir ${CMAKE_CURRENT_BINARY_DIR}/elixir)
+
endif ()
|
Rework HeapTupleHeader macros to reuse itemptr.h
The original definitions pointlessly disregarded existing ItemPointer
macros that do the same thing.
Reported-by: Michael Paquier
Discussion: | @@ -443,11 +443,10 @@ do { \
)
#define HeapTupleHeaderIndicatesMovedPartitions(tup) \
- (ItemPointerGetOffsetNumber(&(tup)->t_ctid) == MovedPartitionsOffsetNumber && \
- ItemPointerGetBlockNumberNoCheck(&(tup)->t_ctid) == MovedPartitionsBlockNumber)
+ ItemPointerIndicatesMovedPartitions(&(tup)->t_ctid)
#define HeapTupl... |
stm32/qspi: Handle bus acquisition.
When going out of memory-mapped mode to do a control transfer to the QSPI
flash, the MPU settings must be changed to forbid access to the memory
mapped region. And any ongoing transfer (eg memory mapped continuous read)
must be aborted. | @@ -139,6 +139,16 @@ STATIC int qspi_ioctl(void *self_in, uint32_t cmd) {
case MP_QSPI_IOCTL_INIT:
qspi_init();
break;
+ case MP_QSPI_IOCTL_BUS_ACQUIRE:
+ // Disable memory-mapped region during bus access
+ qspi_mpu_disable_all();
+ // Abort any ongoing transfer if peripheral is busy
+ if (QUADSPI->SR & QUADSPI_SR_BUSY... |
ss KDF: implement ctx dup operation | @@ -72,6 +72,7 @@ typedef struct {
static const unsigned char kmac_custom_str[] = { 0x4B, 0x44, 0x46 };
static OSSL_FUNC_kdf_newctx_fn sskdf_new;
+static OSSL_FUNC_kdf_dupctx_fn sskdf_dup;
static OSSL_FUNC_kdf_freectx_fn sskdf_free;
static OSSL_FUNC_kdf_reset_fn sskdf_reset;
static OSSL_FUNC_kdf_derive_fn sskdf_derive;... |
Add missing MT9M114 ID. | @@ -1001,6 +1001,7 @@ STATIC const mp_map_elem_t globals_dict_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_OV7725), MP_OBJ_NEW_SMALL_INT(OV7725_ID)},
{ MP_OBJ_NEW_QSTR(MP_QSTR_OV9650), MP_OBJ_NEW_SMALL_INT(OV9650_ID)},
{ MP_OBJ_NEW_QSTR(MP_QSTR_MT9V034), MP_OBJ_NEW_SMALL_INT(MT9V034_ID)},
+ { MP_OBJ_NEW_QSTR(MP_QSTR_MT9M114),... |
apps: SMP should be MCUmgr since SMP in BLE means something else | @@ -26,7 +26,7 @@ syscfg.vals:
# Default task settings
OS_MAIN_STACK_SIZE: 768
- # SMP is not supported in this app, so disable smp-over-shell.
+ # MCUmgr SMP is not supported in this app, so disable smp-over-shell.
SHELL_MGMT: 0
BLE_MESH: 1
|
libppd: Set Ricoh's "RIPrintMode" option as preset controlled by print-quality | @@ -2232,6 +2232,19 @@ ppdCacheAssignPresets(ppd_file_t *ppd,
else if (strcasecmp(c, "SpeedPrior") == 0)
properties->sets_draft = 10;
}
+ else if (strcasecmp(o, "RIPrintMode") == 0) /* Ricoh & OEM */
+ {
+ if (strcasecmp(c, "1rhit") == 0)
+ properties->sets_high = 7;
+ else if (strcasecmp(c, "6rhit") == 0)
+ properties... |
fs/procfs: check task status before get group info
When ps cmd is invoked during the task exit process, the group information of the task may be deleted.
So need check the task flag before get the task group information. | @@ -493,7 +493,6 @@ static ssize_t proc_status(FAR struct proc_file_s *procfile,
FAR struct tcb_s *tcb, FAR char *buffer,
size_t buflen, off_t offset)
{
- FAR struct task_group_s *group;
FAR const char *policy;
FAR const char *name;
size_t remaining;
@@ -543,12 +542,9 @@ static ssize_t proc_status(FAR struct proc_file_... |
write only FTS associationresponses to cap file | @@ -1385,13 +1385,14 @@ while(1)
else if(macf->subtype == MAC_ST_ASSOC_RESP)
{
if((macl +ASSOCIATIONRESF_SIZE) > pkh->len)
- continue;
- pcap_dump((u_char *) pcapout, pkh, h80211);
- if(wantstatusflag == true)
{
if(dotagwalk(payload +ASSOCIATIONRESF_SIZE, pkh->len -macl -ASSOCIATIONRESF_SIZE) == true)
+ {
+ pcap_dump((... |
sleep_mode/esp32: Fix a condition to keep power domain enabled during sleep mode | @@ -599,9 +599,9 @@ static uint32_t get_power_down_flags()
// These labels are defined in the linker script:
extern int _rtc_data_start, _rtc_data_end, _rtc_bss_start, _rtc_bss_end;
- if (s_config.pd_options[ESP_PD_DOMAIN_RTC_SLOW_MEM] == ESP_PD_OPTION_AUTO ||
- &_rtc_data_end > &_rtc_data_start ||
- &_rtc_bss_end > &_... |
conn: more docs cleanup, describe %ovum updates | **
** responses to %fyrd are either %fail if something went wrong
** in the driver, or %avow to indicate success or failure from
-** %khan. +avow is: (each (cask) goof).
+** %khan. $avow is: (each (cask) goof).
**
** %peek is a namespace read request (aka scry), and will be
** forwarded directly to arvo. its arguments ... |
renamed prop to prevent confusion | /= gas /$ fuel:html
/= content /% /collections-topic-full/
^- manx
-;div#edit(urb-component "TopicCreatePage", urb-coll "{(trip +<:s.bem.gas)}", urb-top "{(trip -:s.bem.gas)}", urb-top-text "{(trip (of-wain:format wat.info.content))}");
+;div#edit(urb-component "TopicCreatePage", urb-coll "{(trip +<:s.bem.gas)}", urb-t... |
Performance use strstr | @@ -436,12 +436,10 @@ static grib_accessor* _grib_find_accessor(grib_handle* h, const char* name)
char* grib_split_name_attribute(grib_context* c,const char* name,char* attribute_name)
{
/*returns accessor name and attribute*/
- char* p=0;
size_t size=0;
char* accessor_name=NULL;
- p=(char*)name;
- while ( *(p+1) != '\... |
Format the code with gofumpt | @@ -273,7 +273,8 @@ func (r *ReconcileSPOd) handleUpdatingStatus(
}
func (r *ReconcileSPOd) defaultProfiles(
- cfg *spodv1alpha1.SecurityProfilesOperatorDaemon) []*seccompprofileapi.SeccompProfile {
+ cfg *spodv1alpha1.SecurityProfilesOperatorDaemon,
+) []*seccompprofileapi.SeccompProfile {
defaultProfiles := bindata.D... |
Add github.com/coreos/go-systemd/journal to whitelist | @@ -18,6 +18,9 @@ ALLOW .* -> vendor/github.com/c2h5oh/datasize
# etcd client
ALLOW .* -> vendor/github.com/coreos/etcd
+# logging to systemd
+ALLOW .* -> vendor/github.com/coreos/go-systemd/journal
+
# mocking for database/sql
ALLOW .* -> vendor/github.com/DATA-DOG/go-sqlmock
|
Error if option prefix and index total are not both defined.
They are both required for indexed options. | @@ -2612,6 +2612,13 @@ foreach my $strCommand (sort(keys(%{$rhCommandDefine})))
####################################################################################################################################
foreach my $strKey (sort(keys(%hConfigDefine)))
{
+ # Error if prefix and index total are not both defined
... |
esp32: esp_intr_alloc: Fixed issue with level 5 not being called
Closes
Merges | @@ -118,7 +118,7 @@ const static int_desc_t int_desc[32]={
{ 3, INTTP_LEVEL, {INTDESC_NORMAL, INTDESC_NORMAL} }, //23
{ 4, INTTP_LEVEL, {INTDESC_RESVD, INTDESC_NORMAL} }, //24
{ 4, INTTP_LEVEL, {INTDESC_RESVD, INTDESC_RESVD } }, //25
- { 5, INTTP_LEVEL, {INTDESC_RESVD, INTDESC_RESVD } }, //26
+ { 5, INTTP_LEVEL, {INTDE... |
Explicitly note %install-from-clay as temporary | this
::
:: install privkey and cert .pem from /=home=/acme, ignores app state
+ ::TODO refactor this out of %acme, see also arvo#1151
::
%install-from-clay
=/ bas=path /(scot %p our.bow)/home/(scot %da now.bow)/acme
|
Pass the full handler context to creq instead of just the timeout config | @@ -39,14 +39,14 @@ struct connect_request {
h2o_multithread_receiver_t *getaddr_receiver;
h2o_iovec_t host;
char named_serv[sizeof(H2O_UINT16_LONGEST_STR)];
- uint64_t timeout;
+ struct st_handler_ctx_t *handler_ctx;
};
static void on_connect(h2o_socket_t *sock, const char *err)
{
struct connect_request *creq = sock->... |
ofdmflexframesync: not invoking callback if set to NULL | @@ -517,6 +517,12 @@ int ofdmflexframesync_rxheader(ofdmflexframesync _q,
_q->framesyncstats.fec0 = LIQUID_FEC_UNKNOWN;
_q->framesyncstats.fec1 = LIQUID_FEC_UNKNOWN;
+ // ignore callback if set to NULL
+ if (_q->callback == NULL) {
+ ofdmflexframesync_reset(_q);
+ break;
+ }
+
// invoke callback method
_q->callback(_q-... |
Update welcome.js
Add oxford comma | @@ -27,7 +27,7 @@ export class Welcome extends Component {
return ((!wasWelcomed && this.state.show) && (contacts.length !== 0)) ? (
<div className="ma4 pa2 bg-welcome-green bg-gray1-d white-d">
- <p className="f8 lh-copy">Each Group is a list of other Urbit IDs that share some set of modules: chats, links and notebook... |
fixup: keep coding style consistent. | @@ -1036,16 +1036,10 @@ static float* openxr_getDisplayFrequencies(uint32_t* count) {
}
static bool openxr_setDisplayFrequency(float frequency) {
- if (!state.features.refreshRate) {
- return false;
- }
-
+ if (!state.features.refreshRate) return false;
XrResult res = xrRequestDisplayRefreshRateFB(state.session, freque... |
Trim hashrate unit | @@ -244,7 +244,7 @@ namespace MiningCore.Api
foreach (var stat in response.Stats)
stat.PoolHashRate *= multiplier;
- response.HashrateUnit = FormatUtil.HashRateUnits[i];
+ response.HashrateUnit = FormatUtil.HashRateUnits[i].Trim();
}
await SendJson(context, response);
|
Fix multi line textbox button placement | }
.ScriptEventForm__InputRow {
+ display: block;
position: relative;
}
.ScriptEventForm__BtnRow {
position: absolute;
- right: 9px;
+ right: 4px;
bottom: 7px;
display: flex;
}
|
Rename xmlCharDup to xcsdup and tighten up the code | @@ -286,19 +286,21 @@ processingInstruction(void *userData, const XML_Char *target,
}
-static XML_Char *xmlCharDup(const XML_Char *s)
+static XML_Char *xcsdup(const XML_Char *s)
{
XML_Char *result;
- int len = 0;
+ int count = 0;
+ int numBytes;
/* Get the length of the string, including terminator */
- while (s[len++]... |
Completions: Add suggestions for option `version` | @@ -72,9 +72,16 @@ function __fish_kdb_add_option -d 'Add suggestions for a certain option to multi
complete -c kdb -n "$completion_function" -l $opt_long -s $opt_short -d "$description"
end
+# ===========
+# = Options =
+# ===========
+
function __fish_kdb_subcommand_option_verbose -d 'Check if the current subcommand ... |
[test] [bug-fix] run_openssl_client() should ignore child's SIGPIPE on STDIN instead of EOF test | @@ -847,16 +847,19 @@ sub run_openssl_client {
sleep $timeout;
$chld_in->autoflush(1);
+ my $sig_pipe = $SIG{PIPE};
+ $SIG{PIPE} = 'IGNORE';
if ($request_default) {
- $chld_in->eof() || print $chld_in <<"EOT";
+ print $chld_in <<"EOT";
GET $path HTTP/1.1\r
Host: $san:$port\r
Connection: close\r
\r
EOT
} elsif (defined ... |
tools/pyboard.py: Track raw REPL state via in_raw_repl variable. | @@ -255,6 +255,7 @@ class Pyboard:
def __init__(
self, device, baudrate=115200, user="micro", password="python", wait=0, exclusive=True
):
+ self.in_raw_repl = False
self.use_raw_paste = True
if device.startswith("exec:"):
self.serial = ProcessToSerial(device[len("exec:") :])
@@ -348,8 +349,11 @@ class Pyboard:
print(d... |
Plug memory leak in __DWriteTextLayoutApplyFont
Fixes | @@ -146,7 +146,8 @@ static inline HRESULT __DWriteTextFormatApplyParagraphStyle(const ComPtr<IDWrite
* Private helper that applies a CTFontRef to an IDWriteTextLayout within the specified range.
*/
static inline HRESULT __DWriteTextLayoutApplyFont(const ComPtr<IDWriteTextLayout>& textLayout, CTFontRef font, DWRITE_TEXT... |
On start background script immediately run first commands | @@ -101,6 +101,8 @@ UBYTE ScriptStartBg(BankPtr *events_ptr, UBYTE owner) {
script_ctxs[new_ctx].script_start_ptr = script_ctxs[new_ctx].script_ptr;
script_ctxs[new_ctx].owner = owner;
+ ScriptRestoreCtx(new_ctx);
+
return new_ctx;
}
|
Solve the problem that LOG_W() may not be recognized when the INPUT CAPTURE module is enabled,which may cause the compilation failure. | #include <rtdevice.h>
+#define DBG_TAG "incap"
+#define DBG_LVL DBG_WARNING
+#include <rtdbg.h>
+
static rt_err_t rt_inputcapture_init(struct rt_device *dev)
{
rt_err_t ret;
|
Error handling in fetcher and remote graph generation. | @@ -4545,7 +4545,7 @@ macro _RUN_JAVA(IN{input}[], OUT{output}[], OUT_NOAUTO{output}[], OUTPUT_INCLUDE
### @usage: FROM_SANDBOX([FILE] resource_id [AUTOUPDATED script] [RENAME <resource files>] OUT_[NOAUTO] <output files> [EXECUTABLE])
###
### Download the resource from the Sandbox, unpack (if not explicitly specified ... |
Libunit: waking another context with the RPC_READY message. | @@ -107,6 +107,8 @@ static int nxt_unit_get_outgoing_buf(nxt_unit_ctx_t *ctx,
uint32_t min_size, nxt_unit_mmap_buf_t *mmap_buf, char *local_buf);
static int nxt_unit_incoming_mmap(nxt_unit_ctx_t *ctx, pid_t pid, int fd);
+static void nxt_unit_awake_ctx(nxt_unit_ctx_t *ctx,
+ nxt_unit_ctx_impl_t *ctx_impl);
static void ... |
Xiaomi water leak sensor rely on IAS report for water level (2)
Update state.lastupdated timestamp. | @@ -8710,6 +8710,14 @@ void DeRestPluginPrivate::handleZclAttributeReportIndicationXiaomiSpecial(const
{
// don't update Mija devices
// e.g. lumi.sensor_motion always reports 1
+ sensor.updateStateTimestamp();
+ updated = true;
+ }
+ else if (sensor.modelId().startsWith(QLatin1String("lumi.sensor_wleak")))
+ {
+ // on... |
increase FD TX timeout to 5 seconds according to hcxlabtool experience | #define BEACONEXTLIST_MAX 256
#define FDNSECTIMERB 50000000L /* 5msec */
#define FDNSECTIMER 200000000L
-#define FDSECTXTIMER 2L
+#define FDSECTXTIMER 5L
#define RCA_SORT_BY_HIT 0
#define RCA_SORT_BY_COUNT 1
|
test/ctype_internal_test.c: portability fixup. | /*
* Even though the VMS C RTL claims to be C99 compatible, it's not entirely
- * so far (C RTL version 8.4). For the sake of these tests, we therefore
- * define our own.
+ * so far (C RTL version 8.4). Same applies to OSF. For the sake of these
+ * tests, we therefore define our own.
*/
-#if defined(__VMS) && __CRTL_... |
Fix broken JIRA link
Tested-by: Mark Nunberg | @@ -78,7 +78,7 @@ If you wish to link against OpenSSL, you should set the value of
## Bugs, Support, Issues
You may report issues in the library in our issue tracked at
-<http://couchbase.com/issues>. Sign up for an account and file an issue
+<https://issues.couchbase.com>. Sign up for an account and file an issue
agai... |
[libcxx] basic_string_view in . | @@ -54,5 +54,10 @@ _LIBCPP_BEGIN_NAMESPACE_STD
template <class T>
class _LIBCPP_TEMPLATE_VIS shared_ptr;
+ /* basic_string is already forward-declared in <iosfwd> */
+
+ template<class T, class Traits>
+ class basic_string_view;
+
_LIBCPP_END_NAMESPACE_STD
|
README.md: replace incorrect access token for the AppVeyor badge
The AppVeyor badge was still showing the build state for
the mspncp/openssl fork.
This commit fixes a forgotten todo from | @@ -207,13 +207,6 @@ All rights reserved.
<https://tools.ietf.org/html/rfc8446>
<!-- Logos and Badges -->
-<!--
- Note: The security token for the appveyor badge (the random number in
- the URL below) was obtained for the mspncp/openssl project.
- It needs to be replaced by the correct token by some core member
- (@lev... |
Better imitate the choice of which register to identify as ip
for tilegx. | @@ -53,8 +53,14 @@ tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp,
if (write)
{
+ if (ci->dwarf.use_prev_instr == 0) {
if (reg == UNW_TILEGX_PC)
c->dwarf.ip = *valp; /* update the IP cache */
+ }
+ else {
+ if (reg == UNW_TILEGX_R55)
+ c->dwarf.ip = *valp; /* update the IP cache */
+ }
return dwa... |
tools/gcc.lua: fix /usr/lib64 being used as search dir before project's libdir
Move the /usr/lib64 added by the compiler script after every other -L
declaration.
fixes | }
function gcc.getLibraryDirectories(cfg)
- local flags = config.mapFlags(cfg, gcc.libraryDirectories)
+ local flags = {}
-- Scan the list of linked libraries. If any are referenced with
-- paths, add those to the list of library search paths. The call
table.insert(flags, '-L' .. p.quoted(dir))
end
+ local gccFlags = c... |
past tense now for 1.3.1 release | @@ -73,8 +73,9 @@ used to distinguish RPM package names and module hierarchy.
In the case of a fresh install, \OHPC{} recipes default to installation of the
latest toolchains available in a given release branch. However, if upgrading a
previously installed system, administrators can {\em opt-in} to enable new
-variants... |
use CPPFLAGS before CFLAGS
this way, -Isrc/ is used *before* system-wide -I locations
like /opt/local/include/ for instance. | @@ -361,7 +361,7 @@ src/utils/bit_reader_utils.o: src/utils/endian_inl_utils.h
src/utils/bit_writer_utils.o: src/utils/endian_inl_utils.h
%.o: %.c $(HDRS)
- $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
examples/libanim_util.a: $(ANIM_UTIL_OBJS)
examples/libexample_util.a: $(EX_UTIL_... |
Testing: Additional scaleFactor/scaledValue tests | @@ -21,6 +21,19 @@ tempFilt=temp.${label}.filt
in=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
+set_lowerLimit_and_check()
+{
+ _llim=$1
+ _sfac=$2
+ _sval=$3
+
+ ${tools_dir}/grib_set -s lowerLimit=$_llim $tempGrib $temp2
+ grib_check_key_equals $temp2 \
+ scaleFactorOfLowerLimit,scaledValueOfLowerLimit,lowerLimit \
+ "$_sfac $_s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.