message
stringlengths
6
474
diff
stringlengths
8
5.22k
Add modelID to Develco motion sensor DDF
{ "schema": "devcap1.schema.json", - "manufacturername": "Develco Products A/S", - "modelid": "MOSZB-140", + "manufacturername": ["Develco Products A/S", "Develco Products A/S"], + "modelid": ["MOSZB-130", "MOSZB-140"], "vendor": "Develco Products", - "product": "MOSZB-140 motion sensor pro", + "product": "MOSZB-130/14...
common CHANGE event pipe perms Only the owner should be able to read new events.
@@ -169,8 +169,8 @@ int pthread_mutex_timedlock(pthread_mutex_t *mutex, const struct timespec *absti /** permissions of all subscription SHMs */ #define SR_SUB_SHM_PERM 00666 -/** permissions of all event pipes */ -#define SR_EVPIPE_PERM 00666 +/** permissions of all event pipes (only owner read, anyone else write */ +...
Added --browsers-file command line option to man page.
-.TH goaccess 1 "MARCH 2017" Linux "User Manuals" +.TH goaccess 1 "NOVEMBER 2018" Linux "User Manuals" .SH NAME goaccess \- fast web log analyzer and interactive viewer. .SH SYNOPSIS @@ -527,6 +527,11 @@ e.g., 2a03:2880:2110:df07:face:b00c::1 => 2a03:2880:2110:df07:: Include static files that contain a query string. e....
Update repository links to the gitlab instance. Neither git.xiph.org not the jenkins instances are still online. Point people at the new gitlab instance and build status badge instead.
# Vorbis +[![GitLab Build Status](https://gitlab.xiph.org/xiph/vorbis/badges/master/pipeline.svg)](https://gitlab.xiph.org/xiph/vorbis/-/pipelines) [![Travis Build Status](https://travis-ci.org/xiph/vorbis.svg?branch=master)](https://travis-ci.org/xiph/vorbis) -[![Jenkins Build Status](https://mf4.xiph.org/jenkins/job/...
Add http_buffer description
static const char *TAG = "HTTP_CLIENT"; +/** + * HTTP Buffer + */ typedef struct { - char *data; - int len; - char *raw_data; - int raw_len; - char *output_ptr; + char *data; /*!< The HTTP data received from the server */ + int len; /*!< The HTTP data len received from the server */ + char *raw_data; /*!< The HTTP data...
Fix typos in log.h
@@ -15,7 +15,7 @@ enum { CLAP_LOG_ERROR = 3, CLAP_LOG_FATAL = 4, - // Those severities should be used to report misbehaviour. + // These severities should be used to report misbehaviour. // The plugin one can be used by a layer between the plugin and the host. CLAP_LOG_HOST_MISBEHAVING = 5, CLAP_LOG_PLUGIN_MISBEHAVING ...
Remove Busch-Jaeger mac address hack, causes nwk address conflicts Issue
@@ -11161,12 +11161,6 @@ void DeRestPluginPrivate::handleIeeeAddressReqIndication(const deCONZ::ApsDataIn stream.setByteOrder(QDataStream::LittleEndian); extAddr = apsCtrl->getParameter(deCONZ::ParamMacAddress); - // trick OTA client of busch jaeger switch to think this is a bj dongle - if ((ind.srcAddress().ext() & ma...
Fix alignment errors in 32-bit build with MSVC Changes the work_tree parameter in search.c functions from an array to a pointer. Fixes "formal parameter with requested alignment of 8 won't be aligned" errors.
@@ -95,7 +95,7 @@ static INLINE void copy_cu_coeffs(int x_local, int y_local, int width, lcu_t *fr /** * Copy all non-reference CU data from next level to current level. */ -static void work_tree_copy_up(int x_local, int y_local, int depth, lcu_t work_tree[MAX_PU_DEPTH + 1]) +static void work_tree_copy_up(int x_local, ...
SOVERSION bump to version 6.1.13
@@ -68,7 +68,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 6) set(SYSREPO_MINOR_SOVERSION 1) -set(SYSREPO_MICRO_SOVERSION 12) +set(SYSREPO_MICRO_S...
out_bigquery: code style change
@@ -308,7 +308,8 @@ struct flb_bigquery *flb_bigquery_conf_create(struct flb_output_instance *ins, flb_bigquery_conf_destroy(ctx); return NULL; } - ctx->uri = flb_sds_printf(&ctx->uri, FLB_BIGQUERY_RESOURCE_TEMPLATE, ctx->project_id, ctx->dataset_id, ctx->table_id); + ctx->uri = flb_sds_printf(&ctx->uri, FLB_BIGQUERY_R...
kadnode-ctl: respect linker flags
@@ -84,7 +84,7 @@ build/%.o : src/%.c src/%.h $(CC) $(CFLAGS) -c -o $@ $< kadnode-ctl: - $(CC) $(CFLAGS) src/kadnode-ctl.c -o build/kadnode-ctl + $(CC) $(CFLAGS) src/kadnode-ctl.c -o build/kadnode-ctl $(LFLAGS) libnss-kadnode.so.2: $(CC) $(CFLAGS) -fPIC -c -o build/ext-libnss.o src/ext-libnss.c
Updated "Validate Debug Unit" section.
Binary files a/CMSIS/DoxyGen/DAP/src/images/MDK_Validation.png and b/CMSIS/DoxyGen/DAP/src/images/MDK_Validation.png differ
Fix gpperfmon queries_history is showing 0 values for rows_out column Gpperfmon table rows_out queries_history shows zero values under column "rows_out", even though they returned several rows as output. This fix will decrease the possibility of occurance of this bug. But it is still possible due to gpperfmon harvest m...
@@ -1047,7 +1047,7 @@ static void extract_segments_exec(gpmon_packet_t* pkt) { rec->u.queryseg.sum_cpu_elapsed += pidrec->cpu_elapsed; rec->u.queryseg.sum_measures_rows_out += p->rowsout; - if (p->key.hash_key.segid == -1 && p->key.hash_key.nid == 1) + if (p->key.hash_key.segid == -1 && p->key.hash_key.nid == 1 && (int...
Support auto update certain R21 firmware versions
@@ -478,7 +478,7 @@ void DeRestPluginPrivate::queryFirmwareVersion() bool autoUpdate = false; // auto update factory fresh devices with too old or no firmware - if (fwVersion == FW_ONLY_R21_BOOTLOADER) + if (fwVersion == FW_ONLY_R21_BOOTLOADER || (fwVersion > 0 && fwVersion <= GW_AUTO_UPDATE_R21_FW_VERSION)) { autoUpda...
Update PhVerifyFileWithAdditionalCatalog for NT paths
@@ -675,12 +675,27 @@ INT_PTR CALLBACK PhpProcessGeneralDlgProc( { case IDC_COMPANYNAME_LINK: { - if (processItem->FileNameWin32) + if (processItem->FileName) + { + NTSTATUS status; + HANDLE fileHandle; + + status = PhCreateFile( + &fileHandle, + processItem->FileName, + FILE_READ_DATA | FILE_READ_ATTRIBUTES | SYNCHRON...
When peeking data in unsaved slot, just return 0
@@ -3229,10 +3229,16 @@ class ScriptBuilder { dataPeek = (slot = 0, variableSource: string, variableDest: string) => { const variableDestAlias = this.getVariableAlias(variableDest); const variableSourceAlias = this.getVariableAlias(variableSource); + const foundLabel = this.getNextLabel(); + this._addComment( `Store ${...
bin: fix abort() location on SIGSEGV signal
@@ -219,8 +219,8 @@ static void flb_signal_handler(int signal) case SIGSEGV: #ifdef FLB_HAVE_LIBBACKTRACE flb_stacktrace_print(); - abort(); #endif + abort(); default: break; }
build with dynamic modules to test a theory
/* These settings all affect linking, so use cautiously. */ #define JANET_SINGLE_THREADED -#define JANET_NO_DYNAMIC_MODULES +/* #define JANET_NO_DYNAMIC_MODULES */ #define JANET_NO_NANBOX /* #define JANET_API __attribute__((visibility ("default"))) */
reduce length of DEBUG ==> D WARNING ==> W ERROR ==> E and reduce the __FILE__ to print only the filename without path
*/ /** @file + + generic logging functions: + - OC_LOGipaddr + prints the endpoint information to stdout + - OC_LOGbytes + prints the bytes to stdout + - OC_DBG + prints information as Debug level + - OC_WRN + prints information as Warning level + - OC_ERR + prints information as Error level + + compile flags: + - OC_D...
docs/gadgets: Add missing "bash" to terminal snippets
@@ -25,14 +25,14 @@ We can use one or more of these parameters to choose which pods or containers will be inspected by our gadgets. For example: -``` +```bash $ kubectl gadget trace exec -n demo -l app=myapp ``` Will run the `exec` tracer for all pods in the `demo` namespace that have the `app=myapp` label. -``` +```ba...
apps/builtin/Makefile: Move the RWILDCARD function definition from apps/builtin/Makefile to nuttx/tools/Config.mk. It may have a broader usage than it does now.
@@ -60,12 +60,6 @@ endif ROOTDEPPATH = --dep-path . VPATH = -# RWILDCARD - Recursive wildcard used to get lists of files - -define RWILDCARD - $(foreach d,$(wildcard $1/*),$(call RWILDCARD,$d/)$(filter $(subst *,%,$2),$d)) -endef - # Registry entry lists PDATLIST = $(call RWILDCARD, registry, *.pdat)
fix: modify uncorrect head file from qsee_head.h to qsee_geap.h in platform of mbedtls
@@ -158,7 +158,7 @@ int mbedtls_platform_set_calloc_free( void * (*calloc_func)( size_t, size_t ), #endif /* MBEDTLS_PLATFORM_FREE_MACRO && MBEDTLS_PLATFORM_CALLOC_MACRO */ #else /* !MBEDTLS_PLATFORM_MEMORY */ #if defined (MBEDTLS_PLATFORM_QSEE_ENTROPY) - #include "qsee_head.h" + #include "qsee_heap.h" #define mbedtls_...
Changed GKeyData members to const as their value don't change up until hash insertion. Through the pointer.
@@ -168,13 +168,13 @@ typedef struct GRawData_ { * root value, i.e., Windows, and a unique key which is the combination of * date, IP and user agent */ typedef struct GKeyData_ { - void *data; - void *data_key; + const void *data; + const void *data_key; uint32_t data_nkey; uint32_t cdnkey; /* cache data nkey */ - void...
data BUGFIX adding default nodes into data tree when parsing In case the data from a specific module was not present, the default data nodes from such a module were created, but not connected with the original data tree, causing not only incorrect data tree, but also memory leaks.
@@ -339,7 +339,7 @@ lyd_parse_data(const struct ly_ctx *ctx, struct ly_in *in, LYD_FORMAT format, ui if (!mod) { break; } - if (first == *tree) { + if (!first || first == *tree) { /* make sure first2 changes are carried to tree */ first2 = tree; } else {
Fix coeff split in poly kernel
@@ -396,13 +396,11 @@ static complex float krn_poly(void* _data, int s, const double mpos[3]) complex float val = 0.; - for (int p = 0; p < data->P; p++) { - - if (data->coeff && (s == p)) - continue; - + if (data->coeff) + val = (*data->p)[s].coeff * (data->kspace ? kpolygon : xpolygon)((*data->p)[s].N, *(*data->p)[s]...
websockets: Set keepalive options after adding transport to the list To be in line with other code and mainly to support base/foundation transport used by both tcp and ssl transport layers
@@ -329,8 +329,8 @@ esp_websocket_client_handle_t esp_websocket_client_init(const esp_websocket_clie ESP_WS_CLIENT_MEM_CHECK(TAG, tcp, goto _websocket_init_fail); esp_transport_set_default_port(tcp, WEBSOCKET_TCP_DEFAULT_PORT); - esp_transport_tcp_set_keep_alive(tcp, &client->keep_alive_cfg); esp_transport_list_add(cli...
Add routine to colour convex_successors
@@ -1579,7 +1579,9 @@ int* get_common_parallel_dims(int scc_id, int* convex_successors, int num_convex v = succ_scc_offset+j; /* The vertex can be coloured if there is no self edge on j, * no edge between dimension j and k in the fcg, and there is - * no vertex adjecent to j that is already coloured. */ + * no vertex a...
vppinfra: Fix a bug related to path_search Type: fix
@@ -94,7 +94,7 @@ path_search (char *file) result = 0; if (i < vec_len (ps.path)) - result = (char *) format (0, "%s/%s%c", ps.path[i], file); + result = (char *) format (0, "%s/%s%c", ps.path[i], file, 0); path_search_free (&ps);
Fix default animation speed for new actors
@@ -1049,7 +1049,7 @@ const addActor: CaseReducer< spriteSheetId, direction: "down", moveSpeed: 1, - animSpeed: 3, + animSpeed: 15, paletteId: "", isPinned: false, collisionGroup: "",
MSR: fix string manipulation
@@ -165,7 +165,7 @@ translate() COMMAND=$(sed "s/\`[[:blank:]]*sudo\ /\`/" <<< "$COMMAND") if [ "${line: -1}" == "\\" ]; then - COMMAND="${COMMAND::-1}" + COMMAND="${COMMAND%?}" fi while [ "${line: -1}" == "\\" ]; do @@ -174,7 +174,7 @@ translate() line=$(sed "s/\`[[:blank:]]*sudo\ /\`/" <<< "$line") if [ "${line: -1}"...
Fixed ESP32 GPIO Uninitialize
@@ -147,18 +147,14 @@ bool CPU_GPIO_Initialize() bool CPU_GPIO_Uninitialize() { - gpio_input_state *pGpio; - - pGpio = gpioInputList.FirstNode(); - - // Clean up input state list - while (pGpio->Next() != NULL) + NANOCLR_FOREACH_NODE(gpio_input_state, pGpio, gpioInputList) { UnlinkInputState(pGpio); - pGpio = pGpio->Ne...
Use full filesystem paths
@@ -613,15 +613,15 @@ static void desktop_shortcuts_add(const char* display_name, const char* program_ } void windows_fetch_resource_images(void) { - _g_title_bar_image = load_image("titlebar7.bmp"); - _g_title_bar_x_filled = load_image("titlebar_x_filled2.bmp"); - _g_title_bar_x_unfilled = load_image("titlebar_x_unfil...
Typo fix for the intro page.
@@ -18,7 +18,7 @@ include: - HID Over GATT (HOG) - This is the official term for Bluetooth Low Energy HID devices. - Keymaps and layers with basic keycodes. -- Somem initial work on one "action", Mod-Tap. +- Some initial work on one "action", Mod-Tap. - Basic HID over USB - This somehow _conflicts_ with BLE at least on...
Added Cooja target config to rime-tsch example
#undef TSCH_LOG_CONF_ID_FROM_LINKADDR #define TSCH_LOG_CONF_ID_FROM_LINKADDR(addr) ((addr) ? (addr)->u8[LINKADDR_SIZE - 2] : 0) +#if CONTIKI_TARGET_COOJA +#define COOJA_CONF_SIMULATE_TURNAROUND 0 +#endif /* CONTIKI_TARGET_COOJA */ + + #endif /* __PROJECT_CONF_H__ */
cleanup cluster logic
@@ -46,10 +46,10 @@ void BedCluster::ClusterBed() { if (_bed->_status != BED_VALID) continue; + int distance = ((int) curr.start - end); + // new cluster, no overlap - if ( (((int) curr.start - end) > _maxDistance) || - (curr.chrom != prev.chrom) - ) + if ( (distance > _maxDistance) || (curr.chrom != prev.chrom) ) { cl...
AlpsT4USB category change It's a VoodooI2C companion that attaches to ALPS USB touchpads (found in HP Elite X2 G1/G2).
@@ -35,6 +35,7 @@ Kexts - [VoodooPS2Controller.kext](https://github.com/acidanthera/VoodooPS2) - [VoodooInput.kext](https://github.com/acidanthera/VoodooInput) - [VoodooSMBus.kext](https://github.com/leo-labs/VoodooSMBus) +- [AlpsT4USB.kext](https://github.com/blankmac/AlpsT4USB) ## Video and audio @@ -70,7 +71,6 @@ Ke...
Coverity: Check return value of strcmp return value of strcmp is not checked in some branches.
@@ -3541,8 +3541,8 @@ _printTocEntry(ArchiveHandle *AH, TocEntry *te, bool isData) /* Set up OID mode too */ if (strcmp(te->desc, "TABLE") == 0 || - strcmp(te->desc, "EXTERNAL TABLE") || - strcmp(te->desc, "FOREIGN TABLE")) + strcmp(te->desc, "EXTERNAL TABLE") == 0 || + strcmp(te->desc, "FOREIGN TABLE") == 0) _setWithO...
Fix array size bug in LMS7_Device::SetGFIRCoef()
@@ -918,7 +918,7 @@ int LMS7_Device::SetGFIRCoef(bool tx, size_t chan, lms_gfir_t filt, const float_ L = div; float_type max=0; - for (int i=0; i< (filt==LMS_GFIR3 ? 120 : 40); i++) + for (int i=0; i< count; i++) if (fabs(coef[i])>max) max=fabs(coef[i]);
add github.com/iancoleman/strcase
@@ -68,6 +68,9 @@ ALLOW .* -> vendor/github.com/getsentry/raven-go # configuration library ALLOW .* -> vendor/github.com/heetch/confita +# string case conversion library +ALLOW .* -> vendor/github.com/iancoleman/strcase + # PostgreSQL driver and toolkit for Go ALLOW .* -> vendor/github.com/jackc/pgx
interpreters: ficl: Add Apache License The initial contribution was missing a license.
+/*************************************************************************** + * apps/interpreters/ficl/src/nuttx.h + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copy...
Check OCLint: Analyze YAMBi plugin
@@ -25,6 +25,7 @@ oclint -p "@PROJECT_BINARY_DIR@" -enable-global-analysis -enable-clang-static-an "src/plugins/cpptemplate/"*.cpp \ "src/plugins/directoryvalue/"*.cpp \ "src/plugins/mini/mini.c" \ + "src/plugins/yambi/"*.cpp \ "src/plugins/yamlcpp/"*.{c,cpp} \ "src/plugins/yamlsmith/"*.{c,cpp} \ "src/plugins/yanlr/"*....
remove early return, amend comment
@@ -396,9 +396,8 @@ static void destroy_tunnel(struct st_h2o_http3_server_stream_t *stream) struct st_h2o_http3_server_conn_t *conn = get_conn(stream); if (stream->tunnel->datagram_flow_id != UINT64_MAX) { khiter_t iter = kh_get(stream, conn->datagram_flows, stream->tunnel->datagram_flow_id); - /* the tunnel wasn't est...
BugID:16846667: decoupled uspace with mbins modified: build_rules/aos_target_config.mk
@@ -331,14 +331,20 @@ endif # MBINS build support ifeq ($(MBINS),app) -COMPONENTS += mbins.umbins +ifeq ($(ENABLE_USPACE),1) COMPONENTS += mm COMPONENTS += uspace +else +COMPONENTS += mbins.umbins +endif AOS_SDK_DEFINES += BUILD_APP AOS_SDK_LDFLAGS += -Wl,-wrap,vprintf -Wl,-wrap,fflush -nostartfiles else ifeq ($(MBINS)...
web-ui: only unfold items with children
@@ -185,7 +185,7 @@ export default class TreeView extends React.Component { const tree = this const strategies = { click: [ function unfoldOnSelectionByPath (item) { - if (!this.isSelected(item)) { + if (!this.isSelected(item) && item.children && item.children.length > 0) { const newUnfolded = unfolded.filter(p => p !=...
Clarify documentation around pg_dump -t option The behavior is different for different types of objects, so make that more clear. Author: Ian Barwick
@@ -517,9 +517,7 @@ PostgreSQL documentation <listitem> <para> Dump only tables with names matching - <replaceable class="parameter">pattern</replaceable>. - For this purpose, <quote>table</quote> includes views, materialized views, - sequences, and foreign tables. Multiple tables + <replaceable class="parameter">patte...
Add SCE_KERNEL_ALLOC_MEMBLOCK_ATTR_HAS_ALIGNMENT to user header.
@@ -22,6 +22,10 @@ typedef enum SceKernelMemBlockType { SCE_KERNEL_MEMBLOCK_TYPE_USER_CDRAM_RW = 0x09408060 } SceKernelMemBlockType; +typedef enum SceKernelAllocMemBlockAttr { + SCE_KERNEL_ALLOC_MEMBLOCK_ATTR_HAS_ALIGNMENT = 0x00000004U +} SceKernelAllocMemBlockAttr; + typedef struct SceKernelAllocMemBlockOpt { SceSize...
arm/toolchain: update toolchain comment to avoid confusion 1. add 'ARM' prefix to choice menu 2. rename 'Generic Clang toolchain' to 'LLVM Clang toolchain' to avoid confuse with CONFIG_ARM_TOOLCHAIN_ARMCLANG
@@ -7,7 +7,7 @@ if ARCH_ARM comment "ARM Options" choice - prompt "Toolchain Selection" + prompt "ARM Toolchain Selection" default ARM_TOOLCHAIN_GNU_EABI config ARM_TOOLCHAIN_IAR @@ -39,7 +39,7 @@ config ARM_TOOLCHAIN_GNU_OABI This option should work for any GNU toolchain. config ARM_TOOLCHAIN_CLANG - bool "Generic Cla...
[tests] t/test_mod_ssi adjust to follow symlinks t/test_mod_ssi adjust to follow symlinks /tmp may be a symlink on MacOS
@@ -149,6 +149,7 @@ void test_mod_ssi (void) r.tmp_buf = buffer_init(); r.conf.errh = fdlog_init(NULL, -1, FDLOG_FD); r.conf.errh->fd = -1; /* (disable) */ + r.conf.follow_symlink = 1; handler_ctx * const hctx = handler_ctx_init(p, r.conf.errh); assert(NULL != hctx);
Check Environment: Fix infinitely running command
#!/usr/bin/env sh generate_random_string() { - cat /dev/urandom | LC_ALL=C tr -dc 'a-z' | fold -w 6 | head -n 1 + # While this command might not produce 6 pseudo random lower case letters, depending on the content of `/dev/urandom`, it should + # do so most of the time. Even if the output is a shorter string, this shou...
system/cu/cu_main.c: Fix nxstyle complaints.
@@ -159,7 +159,8 @@ static int enable_crlf_conversion(int fd) #endif } -static int set_baudrate(int fd, int rate, enum parity_mode parity, int rtscts) +static int set_baudrate(int fd, int rate, enum parity_mode parity, + int rtscts) { #ifdef CONFIG_SERIAL_TERMIOS int rc = 0; @@ -344,8 +345,8 @@ int main(int argc, FAR c...
parser json UPDATE invalid data errors
@@ -448,10 +448,18 @@ lydjson_value_type_hint(struct lyd_json_ctx *lydctx, enum LYJSON_PARSER_STATUS * if (*status_p == LYJSON_ARRAY) { /* only [null] */ LY_CHECK_RET(lyjson_ctx_next(lydctx->jsonctx, status_p)); - LY_CHECK_RET(*status_p != LYJSON_NULL, LY_EINVAL); + if (*status_p != LYJSON_NULL) { + LOGVAL(lydctx->json...
bootloader: Allows app partition length not 64KB aligned for NO SECURE BOOT
@@ -825,7 +825,7 @@ menu "Security features" endchoice menu "Potentially insecure options" - visible if SECURE_FLASH_ENCRYPTION_MODE_DEVELOPMENT || SECURE_BOOT_INSECURE + visible if SECURE_FLASH_ENCRYPTION_MODE_DEVELOPMENT || SECURE_BOOT_INSECURE || SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT # NOERROR # NOTE: Options in th...
workflow/docker/Dockerfile-compilation-testing-alinux2: clean up Note that protobuf is depent by protobuf-devel.
-FROM registry.cn-hangzhou.aliyuncs.com/alinux/aliyunlinux +FROM registry.cn-hangzhou.aliyuncs.com/alinux/aliyunlinux:latest LABEL maintainer="Shirong Hao <shirong@linux.alibaba.com>" -RUN yum install -y which wget git make autoconf libtool \ - libseccomp-devel binutils-devel alinux-release-experimentals protobuf \ - p...
cjoin: Update OSCORE security context initialization to the latest spec and test description values
const uint8_t cjoin_path0[] = "j"; -static const uint8_t masterSecret[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, \ - 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f}; +static const uint8_t masterSecret[] = {0xde, 0xad, 0xbe, 0xef, 0xca, 0xfe, 0xde, 0xad, \ + 0xbe, 0xef, 0xca, 0xfe, 0xde, 0xad, 0xbe, 0xef}; sta...
Add "memory mode capacity unusable" warning popup to HII create goal form.
@@ -5590,6 +5590,7 @@ GetActualRegionsGoalCapacities( if (NumDimmsOnSocket <= 0) { continue; } + /** Calculate volatile percent **/ ReturnCode = CalculateDimmCapacityFromPercent(pDimmsOnSocket, NumDimmsOnSocket, *pVolatilePercent, &ActualVolatileSize); if (EFI_ERROR(ReturnCode)) {
Restore MacOs build-conan Test.
@@ -40,13 +40,13 @@ jobs: conan build . -bf build --configure conan build . -bf build --build + - name: Test + run: | + cd build + source activate_run.sh + ctest --verbose + source deactivate_run.sh # test_package failed to find CelixConfig.cmake -# - name: Test -# run: | -# cd build -# source activate_run.sh -# ctest ...
interface: reset state on clog
@@ -3,7 +3,7 @@ import { compose } from 'lodash/fp'; import _ from 'lodash'; import create, { GetState, SetState, UseStore } from 'zustand'; import { persist } from 'zustand/middleware'; -import Urbit, { SubscriptionRequestInterface } from '@urbit/http-api'; +import Urbit, { SubscriptionRequestInterface, FatalError } f...
Use MCU_SERIES
@@ -36,7 +36,7 @@ void SystemClock_Config(void); void HAL_MspInit(void) { - #if defined(STM32F765xx) || defined(STM32F769xx) + #if defined(MCU_SERIES_F7) || defined(MCU_SERIES_H7) // Invalidate each cache before enabling it SCB_InvalidateICache(); SCB_InvalidateDCache();
Keeping some original variable names
@@ -117,15 +117,15 @@ lv_color_hsv_t lv_color_rgb_to_hsv(uint8_t r8, uint8_t g8, uint8_t b8) float g = g8 / 255.0; float b = b8 / 255.0; - float min = r < g ? (r < b ? r : b) : (g < b ? g : b); - float max = r > g ? (r > b ? r : b) : (g > b ? g : b); + float rgbMin = r < g ? (r < b ? r : b) : (g < b ? g : b); + float r...
Minor doc fix crt0 is now compiled into libos, so it doesn't need to be linked separately. [ci skip]
@@ -7,8 +7,7 @@ standalone executable with no operating system support and the MMU disabled. The 'kernel' runs as a user mode program loaded by os/kernel and makes system calls where necessary. -Both the crt0 and libos libraries must be linked against to use a specific -variant. The kernel version must be linked at an ...
Work around glGenerateMipmap on macOS;
@@ -1075,7 +1075,15 @@ void lovrTextureReplacePixels(Texture* texture, TextureData* textureData, int x, } if (texture->mipmaps) { +#if defined(__APPLE__) || defined(EMSCRIPTEN) // glGenerateMipmap doesn't work on big cubemap textures on macOS + if (texture->type != TEXTURE_CUBE || width < 2048) { glGenerateMipmap(textu...
ias: mark core idle in ias_idle_placeholder_on_core()
@@ -189,6 +189,7 @@ int ias_idle_placeholder_on_core(struct ias_data *sd, unsigned int core) ias_cleanup_core(core); cores[core] = sd; ias_gen[core]++; + bitmap_set(ias_idle_cores, core); sd->threads_active++; return 0; }
include/graphics/nxwidgets/cnxserver.hxx: Add Cursor methods to the CNxServer class.
#include <semaphore.h> #include <nuttx/nx/nx.h> +#include <nuttx/nx/nxcursor.h> #include "graphics/nxwidgets/cnxwindow.hxx" #include "graphics/nxwidgets/cnxtkwindow.hxx" @@ -181,6 +182,57 @@ namespace NXWidgets { return new CBgWindow(m_hNxServer, widgetControl); } + +#if defined(CONFIG_NX_SWCURSOR) || defined(CONFIG_NX...
nimble/ll: Fix misleading comment ...some leftovers from development phase
@@ -1158,11 +1158,8 @@ ble_ll_adv_aux_schedule_next(struct ble_ll_adv_sm *advsm) } /* - * In general we do not schedule next aux if current aux does not have - * AuxPtr in extended header as this means we do not need subsequent - * ADV_CHAIN_IND to be sent. - * However, if current aux is scannable we allow to schedule ...
Fix definition of TTimeInfo to workaround an MSVC issue MSVC 2015 complaints thus: cuda\methods\boosting_progress_tracker.cpp(79): error C2664: 'void std::__y1::vector>::push_back(TTimeInfo &&)': cannot convert argument 1 from 'initializer list' to 'const TTimeInfo &'
#include <catboost/libs/metrics/metric.h> struct TTimeInfo { + TTimeInfo(double passedTime, double remainingTime) + : PassedTime(passedTime) + , RemainingTime(remainingTime) + { + } + TTimeInfo() = default; double PassedTime = 0; double RemainingTime = 0; };
chip/stm32/pwm_chip.h: Format with clang-format BRANCH=none TEST=none
@@ -29,7 +29,10 @@ struct pwm_t { extern const struct pwm_t pwm_channels[]; /* Macro to fill in both timer ID and register base */ -#define STM32_TIM(x) {x, STM32_TIM_BASE(x)} +#define STM32_TIM(x) \ + { \ + x, STM32_TIM_BASE(x) \ + } /* Plain ID mapping for readability */ #define STM32_TIM_CH(x) (x)
common: don't disable -Wpedantic when using __int128 This doesn't seem to be necessary.
HEDLEY_DIAGNOSTIC_POP #endif -#if HEDLEY_HAS_WARNING("-Wpedantic") -# define SIMDE_DIAGNOSTIC_DISABLE_INT128 _Pragma("clang diagnostic ignored \"-Wpedantic\"") -#elif defined(HEDLEY_GCC_VERSION) -# define SIMDE_DIAGNOSTIC_DISABLE_INT128 _Pragma("GCC diagnostic ignored \"-Wpedantic\"") -#else -# define SIMDE_DIAGNOSTIC_...
lwip-2.0.2: enable static ARP entries
/// Disable locks (we lock the whole stack) #define SYS_LIGHTWEIGHT_PROT 0 + +/** ETHARP_SUPPORT_STATIC_ENTRIES==1: enable code to support static ARP table + * entries (using etharp_add_static_entry/etharp_remove_static_entry). + */ +#define ETHARP_SUPPORT_STATIC_ENTRIES 1 + /* -----------------------------------------...
Output CB/UB tags into BAM for the 1MM_CR option. Sort matrix.mtx output.
@@ -52,7 +52,9 @@ void SoloFeature::collapseUMI_CR(uint32 iCB, uint32 *umiArray) unordered_map <uint32, unordered_map<uint32,uint32>> umiGeneHash, umiGeneHash0; //UMI //Gene //Count - unordered_map <uint32,uint32> geneCounts; + map <uint32,uint32> geneCounts; //unordered_map to make it faster? + + unordered_map <uint32...
Fix logging in uip-ds6.c
@@ -99,9 +99,14 @@ uip_ds6_init(void) uip_ds6_neighbors_init(); uip_ds6_route_init(); - LOG_INFO("Init: %u neighbors\n%u default routers\n%u prefixes\n%u routes\n%u unicast addresses\n%u multicast addresses\n%u anycast addresses\n", - NBR_TABLE_MAX_NEIGHBORS, UIP_DS6_DEFRT_NB, UIP_DS6_PREFIX_NB, UIP_DS6_ROUTE_NB, - UIP...
Improve lxss cleanup
@@ -100,8 +100,7 @@ PPH_STRING PhGetWslDistributionFromPath( break; } - for (i = 0; i < distributionGuidList->Count; i++) - PhDereferenceObject(distributionGuidList->Items[i]); + PhDereferenceObjects(distributionGuidList->Items, distributionGuidList->Count); PhDereferenceObject(distributionGuidList); NtClose(keyHandle)...
fix warning in g++
@@ -141,7 +141,7 @@ typedef struct mi_cache_slot_s { static mi_cache_slot_t cache[MI_CACHE_MAX]; // = 0 -#define BITS_SET() (UINTPTR_MAX) +#define BITS_SET() ATOMIC_VAR_INIT(UINTPTR_MAX) static mi_bitmap_field_t cache_available[MI_CACHE_FIELDS] = { MI_CACHE_BITS_SET }; // zero bit = available! static mi_bitmap_field_t ...
gl4es.h: Fix if condition typo
@@ -108,7 +108,7 @@ static inline void errorGL() { // next glGetError will be from GL static inline void errorShim(GLenum error) { // next glGetError will be "error" from gl4es if(glstate->type_error && glstate->shim_error==GL_NO_ERROR) glstate->type_error = 1; - if(glstate->shim_error = GL_NO_ERROR) + if(glstate->shim...
Add the C++ guard
#define DILL_EXPORT #endif +#ifdef __cplusplus +extern "C" { +#endif + /******************************************************************************/ /* Helpers */ /******************************************************************************/ @@ -996,5 +1000,9 @@ DILL_EXPORT int dill_term_detach( #endif +#ifdef __c...
Don't read unsupported 'occupied to unoccupied delay' for Xiami motion sensor
@@ -4670,7 +4670,14 @@ bool DeRestPluginPrivate::processZclAttributes(Sensor *sensorNode) } } + if (sensorNode->mustRead(READ_OCCUPANCY_CONFIG) && tNow > sensorNode->nextReadTime(READ_OCCUPANCY_CONFIG)) + { + if (sensorNode->modelId().startsWith(QLatin1String("lumi.sensor_motion"))) + { + sensorNode->clearRead(READ_OCC...
Update cppcheck commit and pass predefined params to avoid impossible combinations of configs
git clone https://github.com/danmar/cppcheck.git || true cd cppcheck git fetch -git checkout 44d6066c6fad32e2b0332b3f2b24bd340febaef8 +git checkout 862c4ef87b109ae86c2d5f12769b7c8d199f35c5 make -j4 cd ../../../ # panda code -tests/misra/cppcheck/cppcheck -DCAN3 -DUID_BASE --suppressions-list=tests/misra/suppressions.tx...
Domain to asset verification
@@ -43,6 +43,8 @@ Additional fields may be added, but will be ignored by Ravencoin. "forsale_price": "5000 RVN", + "domain": "bitactivate.com", + "restricted": "rule144" } @@ -88,4 +90,6 @@ All fields are optional. Clients, explorers, and wallets are not obligated to di **forsale_price** - To give buyers an idea of the...
[libc] fix a typo
@@ -8,7 +8,7 @@ cwd = GetCurrentDir() CPPPATH = [cwd] group = [] -# sys/select.h does not exist in newlib 2.1.0 or lower version +# sys/select.h does not exist in newlib 2.2.0 or lower version if rtconfig.PLATFORM == 'gcc' and (CheckHeader(rtconfig, 'sys/select.h') == False): try: copy("../../../../common/nogcc/sys/sel...
Remove actor preview from scene cursor
@@ -3,11 +3,7 @@ import PropTypes from "prop-types"; import cx from "classnames"; import { connect } from "react-redux"; import { PlusIcon, ResizeIcon, CloseIcon, BrickIcon } from "../library/Icons"; -import SpriteSheetCanvas from "./SpriteSheetCanvas"; -import { - getSpriteSheetIds, - getScenesLookup -} from "../../re...
sysdeps/linux: implement sys_socketpair, sys_getsockopt
@@ -795,6 +795,20 @@ int sys_delete_module(const char *name, unsigned flags) { return 0; } +int sys_socketpair(int domain, int type_and_flags, int proto, int *fds) { + auto ret = do_syscall(SYS_socketpair, domain, type_and_flags, proto, fds, 0, 0); + if (int e = sc_error(ret); e) + return e; + return 0; +} + +int sys_g...
remove useless lockmode upgrade in inherit.c Since and have already processed the LOCKMODE correctly in addRangeTableEntryForRelation(), and no matter we use ORCA or Optimizer, we will get correct LOCKMODE in execution stage, so we don't need another LOCKMODE upgrade in expand_inherited_rtentry, just remove it.
@@ -114,28 +114,6 @@ expand_inherited_rtentry(PlannerInfo *root, RelOptInfo *rel, oldrelation = table_open(parentOID, NoLock); lockmode = rte->rellockmode; -#if 0 - // GPDB_12_MERGE_FIXME: We used to have this code in GPDB. Where does it belong now? - else if (oldrc) - { - /* - * Greenplum specific behavior: - * The im...
Added openSUSE dependency resolution
@@ -75,6 +75,11 @@ dependencies() { rm bin/glslangValidator glslang-master-linux-Release.zip fi ;; + "opensSUSE Leap"|"openSUSE Tumbleweed") + MANAGER_QUERY="zypper search" + MANAGER_INSTALL="zypper install" + DEPS="{gcc-c++,gcc-c++-31bit,meson,libpkgconf-devel,python3-Mako,libX11-devel,libX11-devel-32bit,glslang-devel...
StatusBar: converting more things to links Fixes urbit/landscape#509 and also adds same functionality to the rest of the StatusBar items
@@ -8,7 +8,7 @@ import { Text } from '@tlon/indigo-react'; import React, { useRef } from 'react'; -import { useHistory } from 'react-router-dom'; +import { Link, useHistory } from 'react-router-dom'; import { Sigil } from '~/logic/lib/sigil'; import { uxToHex } from '~/logic/lib/util'; import useContactState from '~/lo...
Added execve sysdep
@@ -253,7 +253,15 @@ int sys_fork(pid_t *child) { *child = ret; return 0; } -int sys_execve(const char *path, char *const argv[], char *const envp[]) STUB_ONLY +int sys_execve(const char *path, char *const argv[], char *const envp[]) { + int ret; + asm volatile ("syscall" + : "=a"(ret) + : "a"(11), "D"(path), "S"(argv)...
Refactor Hue motion sensor binding maintenance * Use more important occupied state value to decide if binding is active * Track reporting of sensitivity in ZclValue, prior versions repeatedly issued bind requests albeit the binding was active. Hue motion sensor lost issue:
@@ -788,7 +788,7 @@ bool DeRestPluginPrivate::sendConfigureReportingRequest(BindingTask &bt) return false; } - QDateTime now = QDateTime::currentDateTime(); + const QDateTime now = QDateTime::currentDateTime(); ConfigureReportingRequest rq; rq.zclSeqNum = zclSeq++; // to match in configure reporting response handler @@...
Fix issue where temp vectors sometimes don't work as colors;
@@ -462,7 +462,8 @@ void luax_optcolor(lua_State* L, int index, float color[4]) { color[3] = luax_optfloat(L, -1, 1.); lua_pop(L, 4); break; - case LUA_TUSERDATA: { + case LUA_TUSERDATA: + case LUA_TLIGHTUSERDATA: { VectorType type; float* v = luax_tovector(L, index, &type); if (type == V_VEC3) {
Don't enable TLS 1.3 with OpenSSL yet.
@@ -917,13 +917,13 @@ _httpTLSStart(http_t *http) // I - Connection to server TLS1_VERSION, // TLS/1.0 TLS1_1_VERSION, // TLS/1.1 TLS1_2_VERSION, // TLS/1.2 -#ifdef TLS1_3_VERSION - TLS1_3_VERSION, // TLS/1.3 - TLS1_3_VERSION // TLS/1.3 (max) -#else +//#ifdef TLS1_3_VERSION +// TLS1_3_VERSION, // TLS/1.3 +// TLS1_3_VER...
chore(docs): update the link of demos to the new location
@@ -65,8 +65,7 @@ You can choose from [many different ways of contributing](/CONTRIBUTING) such as All repositories of the LVGL project are hosted on GitHub: https://github.com/lvgl You will find these repositories there: -- [lvgl](https://github.com/lvgl/lvgl) The library itself with many [examples](https://github.com...
wsman-faults: fix a possible NULL dereferencing issue in wsman_get_fault_status_from_doc
@@ -611,7 +611,7 @@ wsman_get_fault_status_from_doc (WsXmlDocH doc, WsmanStatus *status) char *subcode_value_msg; char *start_pos; - if (strlen(subcode_value) == 0) + if (!subcode_value || strlen(subcode_value) == 0) return; subcode_value_msg = calloc(1, strlen(subcode_value));
Misra 17.7: The value returned by a function having non-void return type shall be used. We should hang on initial failed safety_set_mode
@@ -695,7 +695,13 @@ int main(void) { // default to silent mode to prevent issues with Ford // hardcode a specific safety mode if you want to force the panda to be in a specific mode - safety_set_mode(SAFETY_NOOUTPUT, 0); + int err = safety_set_mode(SAFETY_NOOUTPUT, 0); + if (err == -1) { + puts("Failed to set safety m...
nrf/bluetooth/ble_uart: Add mp_hal_stdio_poll function. This adds support for enabling MICROPY_PY_SYS_STDFILES when running UART over Bluetooth (NUS).
#include "lib/utils/interrupt_char.h" #include "py/runtime.h" +#if MICROPY_PY_SYS_STDFILES +#include "py/stream.h" +#endif + #if MICROPY_PY_BLE_NUS static ubluepy_uuid_obj_t uuid_obj_service = { @@ -136,6 +140,17 @@ void mp_hal_stdout_tx_strn_cooked(const char *str, mp_uint_t len) { mp_hal_stdout_tx_strn(str, len); } +...
Fix missing entry point error on Windows 7 The Duktape library invokes a function, GetSystemTimePreciseAsFileTime, that was added in Win8. This simply changes the build configuration to use a less precise function. Hopefully this doesn't impact timing in any games.
@@ -307,6 +307,8 @@ set(TIC80CORE_SRC add_library(tic80core STATIC ${TIC80CORE_SRC}) +target_compile_definitions(tic80core PRIVATE DUK_USE_DATE_NOW_WINDOWS) # Avoid API introduced after Win7 + target_include_directories(tic80core PRIVATE ${CMAKE_SOURCE_DIR}/include
Add routine to get convex parallel successors
@@ -1585,15 +1585,15 @@ int* get_convex_successors(int scc_id, PlutoProg *prog, { int i, num_successors, num_sccs; Graph *ddg; - Scc *sccs; int* convex_successors = NULL; + ddg = prog->ddg; - sccs = ddg->sccs; num_sccs = ddg->num_sccs; + num_successors=0; - for (i=scc_id+1; i<ddg->num_sccs; i++) { - if (sccs[i].is_para...
updates :dns to notify %eyre on new bindings
== += card $% [%tend wire ~] [%poke wire dock poke] + [%rule wire %turf %put turf] [%hiss wire [~ ~] %httr %hiss hiss:eyre] == :: +state: complete app state ?: =(for him) ~|(%bond-yoself !!) ?: =(our.bow him) - :: XX notify eyre/hood/acme etc ~& [%bound-us dom] - :- ~ + :- [[ost.bow %rule /bound %turf %put dom] ~] this...
file-server: scry for %base desk hash
== :: ++ on-leave on-leave:def -++ on-peek on-peek:def +++ on-peek + |= =path + ^- (unit (unit cage)) + |^ + ?+ path (on-peek:def path) + [%x %clay %base %hash ~] ``hash+!>(base-hash) + == + :: stolen from +trouble + :: TODO: move to a lib? + ++ base-hash + ^- @uv + =+ .^ ota=(unit [=ship =desk =aeon:clay]) + %gx /(sco...
Run install using sudo.
@@ -29,4 +29,4 @@ jobs: - name: "Run mod_wsgi-express test" run: scripts/run-single-test.sh - name: "Verify CMMI configure/make/make install" - run: ./configure && make && make install + run: ./configure && make && sudo make install
ble_mesh: Free beacon timer when deinit mesh
@@ -424,9 +424,7 @@ int bt_mesh_deinit(struct bt_mesh_deinit_param *param) bt_mesh_trans_deinit(param->erase); bt_mesh_net_deinit(param->erase); - if (IS_ENABLED(CONFIG_BLE_MESH_NODE)) { bt_mesh_beacon_deinit(); - } if (IS_ENABLED(CONFIG_BLE_MESH_PROXY)) { if (IS_ENABLED(CONFIG_BLE_MESH_NODE)) {
Add test for mongoc_ssl_opt_get_default ()
@@ -2644,6 +2644,22 @@ test_null_error_pointer_pooled (void *ctx) _test_null_error_pointer (true); } +#ifdef MONGOC_ENABLE_SSL +static void +test_set_ssl_opts (void) +{ + const mongoc_ssl_opt_t *opts = mongoc_ssl_opt_get_default (); + + ASSERT (opts->pem_file == NULL); + ASSERT (opts->pem_pwd == NULL); + ASSERT (opts->...
vxlan: fix interface naming Previous commit broke naming of vxlan interfaces. Type:fix Fixes:a4b0541f6
@@ -440,20 +440,22 @@ int vnet_vxlan_add_del_tunnel hw_addr[0] = 2; hw_addr[1] = 0xfe; + hash_set (vxm->instance_used, user_instance, 1); + + t->dev_instance = dev_instance; /* actual */ + t->user_instance = user_instance; /* name */ + t->flow_index = ~0; + if (ethernet_register_interface (vnm, vxlan_device_class.index...
fix: update the patch for localhost deployment
diff --git a/deploy/webhook-operator.yaml b/deploy/webhook-operator.yaml -index 6c4c0b67..b29950ed 100644 +index 2de0b5bb..b29950ed 100644 --- a/deploy/webhook-operator.yaml +++ b/deploy/webhook-operator.yaml @@ -1967,7 +1967,7 @@ metadata: @@ -35,10 +35,59 @@ index 6c4c0b67..b29950ed 100644 valueFrom: fieldRef: fieldP...