message
stringlengths
6
474
diff
stringlengths
8
5.22k
cooja: remove non-required build flags These flags are no longer required after the mapfile dependency was removed from Cooja.
@@ -53,8 +53,8 @@ ifeq ($(HOST_OS),Darwin) else JAVA_OS_NAME = linux CC = gcc - CFLAGS += -fPIC -fcommon - LDFLAGS += -shared -Wl,-zdefs -Wl,-Map=$(MAPFILE) + CFLAGS += -fPIC + LDFLAGS += -shared -Wl,-zdefs LDFLAGS += -Wl,-T$(CONTIKI_NG_RELOC_PLATFORM_DIR)/cooja/cooja.ld endif @@ -107,10 +107,6 @@ CFLAGSNO += -Werror e...
Use path variables: cc26x0-cc13x0
-CPU_ABS_PATH = arch/cpu/cc26x0-cc13x0 +CPU_ABS_PATH = $(CONTIKI_NG_ARCH_CPU_DIR)/cc26x0-cc13x0 TI_XXWARE = $(CONTIKI_CPU)/$(TI_XXWARE_PATH) ifeq (,$(wildcard $(TI_XXWARE)/*)) @@ -57,7 +57,7 @@ ifdef PORT BSL_FLAGS += -p $(PORT) endif -BSL = $(CONTIKI)/tools/cc2538-bsl/cc2538-bsl.py +BSL = $(CONTIKI_NG_TOOLS_DIR)/cc253...
Sidebar: do not crash on lastUpdated sorting
@@ -20,11 +20,11 @@ function sidebarSort( const lastUpdated = (a: string, b: string) => { const aAssoc = associations[a]; const bAssoc = associations[b]; - const aModule = aAssoc?.metadata?.module || aAssoc?.["app-name"]; - const bModule = bAssoc?.metadata?.module || bAssoc?.["app-name"]; + const aAppName = aAssoc?.["a...
SOVERSION bump to version 2.8.4
@@ -63,7 +63,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_ # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) set(LIBYANG_MINOR_SOVERSION 8) -set(LIBYANG_MICRO_SOVERSION 3) +set(LIBYANG_MICRO_SOVERSION 4) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_MI...
tp: remove comments
@@ -176,11 +176,6 @@ int flb_tp_thread_start_all(struct flb_tp *tp) int flb_tp_thread_stop(struct flb_tp *tp, struct flb_tp_thread *th) { - //int ret; - //(void) pthread_t tid; - //(void) struct flb_worker *w; - - return 0; }
Docs: Re-add measurements of single key presses
@@ -6159,6 +6159,9 @@ functioning. Feature highlights: it is possible to set a slightly lower value on faster platforms and slightly higher value on slower platforms for more responsive input. + Pressing keys one after the other results in delays of at least \texttt{6} and + \texttt{10} milliseconds for the same platfo...
Return upon CLASS error
@@ -381,6 +381,7 @@ static void ccl_cosmology_compute_power_class(ccl_cosmology * cosmo, int * statu *status = CCL_ERROR_CLASS; strcpy(cosmo->status_message ,"ccl_power.c: ccl_cosmology_compute_power_class(): Error computing CLASS power spectrum\n"); ccl_free_class_structs(cosmo, &ba,&th,&pt,&tr,&pm,&sp,&nl,&le,status)...
Fix incorrect method for FLT_CTL_CREATE
@@ -53,9 +53,16 @@ typedef struct _FILTER_PORT_EA } FILTER_PORT_EA, *PFILTER_PORT_EA; #define FLT_PORT_EA_NAME "FLTPORT" + +typedef struct _FILTER_LOADUNLOAD +{ + USHORT Length; + WCHAR Name[ANYSIZE_ARRAY]; +} FILTER_LOADUNLOAD, *PFILTER_LOADUNLOAD; + #define FLT_CTL_LOAD CTL_CODE(FILE_DEVICE_DISK_FILE_SYSTEM, 1, METHO...
test: fix coverity & improper use of negative values
@@ -122,7 +122,8 @@ static int validate_client_hello(BIO *wbio) int cookie_found = 0; unsigned int u = 0; - len = BIO_get_mem_data(wbio, (char **)&data); + if ((len = BIO_get_mem_data(wbio, (char **)&data)) < 0) + return 0; if (!PACKET_buf_init(&pkt, data, len)) return 0; @@ -391,6 +392,9 @@ static int validate_ccs(BIO...
[scripts][x86] spiff up the qemu x86 script to handle a virtio disk and net device
@@ -8,6 +8,8 @@ function HELP { echo "-l : legacy mode build (386 emulated machine)" echo "-m <memory in MB>" echo "-s <number of cpus>" + echo "-d <disk image> : a virtio block device" + echo "-n : a virtio network device" echo "-g : with graphics" echo "-k : use KVM" echo "-h for help" @@ -19,18 +21,23 @@ DO_64BIT=0 ...
tls: allow picotls to use secp elliptic curves Fix typos in macros for elliptic curves over prime field. Type: fix Fixes:
@@ -117,13 +117,13 @@ picotls_start_listen (tls_ctx_t * lctx) #ifdef PTLS_OPENSSL_HAVE_X25519 &ptls_openssl_x25519, #endif -#ifdef PTLS_OPENSSL_HAVE_SECP256r1 +#ifdef PTLS_OPENSSL_HAVE_SECP256R1 &ptls_openssl_secp256r1, #endif -#ifdef PTLS_OPENSSL_HAVE_SECP384r1 +#ifdef PTLS_OPENSSL_HAVE_SECP384R1 &ptls_openssl_secp384...
fix typo and remove duplicate macro
@@ -103,10 +103,6 @@ extern "C" { RSA_pkey_ctx_ctrl(ctx, (EVP_PKEY_OP_SIGN|EVP_PKEY_OP_VERIFY), \ EVP_PKEY_CTRL_GET_RSA_PSS_SALTLEN, 0, plen) -# define EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen(ctx, len) \ - EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, \ - EVP_PKEY_CTRL_RSA_PSS_SALTLEN, len, NULL) - # def...
[test] Add an infinite recursive call test
@@ -514,10 +514,13 @@ function infiniteLoop() end return t end +function infiniteCall() + infiniteCall() +end function catch() return pcall(infiniteLoop) end -abi.register(infiniteLoop, catch)` +abi.register(infiniteLoop, infiniteCall, catch)` err = bc.ConnectBlock( NewLuaTxAccount("ktlee", 100), @@ -557,6 +560,23 @@ a...
docs(grid) typo fix
@@ -27,7 +27,7 @@ With the following functions you can easily set a Grid layout on any parent. ### Grid descriptors -First you need to describe the size of rows and columns. It can be done by declaring 2 arrays and the the track sizes in them. The last element must be `LV_GRID_TEMPLATE_LAST`. +First you need to describ...
TEST: Adapt test/evp_pkey_provided_test.c to check the key size This is for the case where we build keys from user data
@@ -126,7 +126,10 @@ static int test_fromdata_rsa(void) goto err; if (!TEST_true(EVP_PKEY_key_fromdata_init(ctx)) - || !TEST_true(EVP_PKEY_fromdata(ctx, &pk, fromdata_params))) + || !TEST_true(EVP_PKEY_fromdata(ctx, &pk, fromdata_params)) + || !TEST_int_eq(EVP_PKEY_bits(pk), 32) + || !TEST_int_eq(EVP_PKEY_security_bits...
modpupdevices: return Color enum, not ints
@@ -60,22 +60,14 @@ STATIC mp_obj_t pupdevices_ColorAndDistSensor_color(mp_obj_t self_in) { pb_iodevice_assert_type_id(self->iodev, PBIO_IODEV_TYPE_ID_COLOR_DIST_SENSOR); switch(pupdevices_ColorAndDistSensor_combined_mode(self->iodev, 0)) { - case 0: - return mp_obj_new_int(PBIO_LIGHT_COLOR_BLACK); - case 3: - return m...
Ensure env vars aren't messed up for future tests after tls.
@@ -131,17 +131,18 @@ endtest # # tls # +# This was written to ensure that #761 stays fixed starttest tls -export SCOPE_EVENT_DEST=tcp://127.0.0.1:9109 -export SCOPE_EVENT_TLS_ENABLE=true -export SCOPE_EVENT_TLS_VALIDATE_SERVER=false -export SCOPE_EVENT_TLS_CA_CERT_PATH=/usr/local/scope/cert.pm # tcpserver receives ove...
ansi: properly implement imaxabs() and imaxdiv()
static const char *__mlibc_digits = "0123456789abcdefghijklmnopqrstuvwxyz"; -intmax_t imaxabs(intmax_t) { - __ensure(!"Not implemented"); - __builtin_unreachable(); +intmax_t imaxabs(intmax_t num) { + return num < 0 ? -num : num; } -imaxdiv_t imaxdiv(intmax_t, intmax_t) { - __ensure(!"Not implemented"); - __builtin_unr...
Remove unnecessary usage of $(wildcard )
@@ -227,7 +227,7 @@ else ifeq ($(MAKE_ROUTING),MAKE_ROUTING_NULLROUTING) MODULES += os/net/routing/nullrouting endif -MODULEDIRS = $(MODULES_REL) ${wildcard ${addprefix $(CONTIKI)/, $(MODULES)}} +MODULEDIRS = $(MODULES_REL) ${addprefix $(CONTIKI)/, $(MODULES)} UNIQUEMODULES = $(call uniq,$(MODULEDIRS)) MODULES_SOURCES ...
tests: fix DEBUG=attach multiple worker config Type: fix
@@ -6,6 +6,7 @@ import sys from sanity_run_vpp import SanityTestCase from shutil import rmtree +from cpu_config import available_cpus gdb_path = '/usr/bin/gdb' @@ -40,6 +41,8 @@ def start_vpp_in_gdb(): rmtree(SanityTestCase.tempdir) print("Creating temp dir '%s'." % SanityTestCase.tempdir) os.mkdir(SanityTestCase.tempd...
Fix missing DebugInformationFormat when symbols are set to full
function m.debugInformationFormat(cfg) local value local tool, toolVersion = p.config.toolset(cfg) - if (cfg.symbols == p.ON) or (cfg.symbols == "FastLink") then + if (cfg.symbols == p.ON) or (cfg.symbols == "FastLink") or (cfg.symbols == "Full") then if cfg.debugformat == "c7" then value = "OldStyle" elseif (cfg.archi...
Package: Bootstrap Premake in cloned repository
os.rmdir(pkgName) print("Cloning source code") - z = os.executef("git clone .. %s", pkgName) + local z = execQuiet("git clone .. %s -b %s --recurse-submodules", pkgName, branch) if not z then error("clone failed", 0) end os.chdir(pkgName) - z = os.executef("git checkout %s", branch) - if not z then - error("unable to c...
Display of path was not working properly in playback/record in windows
@@ -48,6 +48,7 @@ int g_playback_mode = 0; char g_recordings_dir[PATH_MAX]; char g_recording_filename[PATH_MAX]; char g_recording_fullpath[PATH_MAX]; +CHAR16 g_recording_fullpath_u[PATH_MAX]; typedef enum { DefaultMode, @@ -79,6 +80,8 @@ EFI_STATUS init_protocol_shell_parameters_protocol(int argc, char *argv[]) char *p...
Don't set Xiaomi battery automatically to 100 %, wait for reports Use null if unknown.
@@ -2158,7 +2158,7 @@ static int sqliteLoadAllSensorsCallback(void *user, int ncols, char **colval , c if (!sensor.modelId().startsWith(QLatin1String("lumi.ctrl_ln2"))) { item = sensor.addItem(DataTypeUInt8, RConfigBattery); - item->setValue(100); + //item->setValue(100); // wait for report } if (!sensor.item(RStateTem...
fix ide compile error
@@ -210,10 +210,10 @@ G_END_DECLS #define SUPPORT_PC9821 #define SUPPORT_CRT31KHZ #endif -#define SUPPORT_IDEIO #else #define SUPPORT_CRT15KHZ #endif +#define SUPPORT_IDEIO #if !defined(SUPPORT_PC9821) #define SUPPORT_BMS #endif
Update doc/std/image-decoders.md
@@ -21,7 +21,7 @@ wuffs_base__io_buffer src = etc; wuffs_gif__decoder* dec = etc; wuffs_base__image_config ic; -const char* status = wuffs_gif__decoder__decode_image_config(dec, &ic, &src); +wuffs_base__status status = wuffs_gif__decoder__decode_image_config(dec, &ic, &src); // Error checking (inspecting the status var...
do not reconnect if there is a FatalError
@@ -14,6 +14,7 @@ import { SSEOptions, PokeHandlers, Message, + FatalError, } from './types'; import { hexString } from './utils'; @@ -291,7 +292,7 @@ export class Urbit { }, onerror: (error) => { console.warn(error); - if (this.errorCount++ < 4) { + if (!(error instanceof FatalError) && this.errorCount++ < 4) { this.o...
Updated last four PMU functions to return void.
@@ -185,12 +185,12 @@ __STATIC_INLINE uint32_t ARM_PMU_Get_CCNTR(void); __STATIC_INLINE uint32_t ARM_PMU_Get_EVCNTR(uint32_t num); __STATIC_INLINE uint32_t ARM_PMU_CNTR_Get_OVSSET(uint32_t mask); -__STATIC_INLINE uint32_t ARM_PMU_CNTR_Set_OVSCLR(uint32_t mask); +__STATIC_INLINE void ARM_PMU_CNTR_Set_OVSCLR(uint32_t mas...
clean depended on distclean => now it's otherway round
@@ -224,6 +224,7 @@ $(PICOBJDIR)/%.o : $(LIBDIR)/%.c # Linking $(BINDIR)/$(AGENT): create_obj_dir_structure $(AGENT_OBJECTS) $(BINDIR) + @echo "Linking: $(BIN_PATH) " @$(LINKER) $(AGENT_OBJECTS) $(AGENT_LFLAGS) -o $@ @echo "Linking "$@" complete!" @@ -622,7 +623,7 @@ create_picobj_dir_structure: $(PICOBJDIR) # Cleaners...
doccords: deco remove double comment
:> %hello :> %world :> -++ say-goodbye :< say bye to someone +++ say-goodbye :> describe product of function :> |= :> .txt: departing friend
Update SceFace (add some NIDs)
@@ -1085,6 +1085,8 @@ modules: sceFaceAttribute: 0x67F0585A sceFaceAttributeGetWorkingMemorySize: 0xA905A467 sceFaceDetection: 0xF3045394 + sceFaceDetectionEx: 0xD9603C69 + sceFaceDetectionGetDefaultParam: 0xE5689BD1 sceFaceDetectionGetWorkingMemorySize: 0xF24B851D sceFaceDetectionLocal: 0x7D71725D sceFaceEstimatePoseR...
Disable fork safety by default.
@@ -82,7 +82,7 @@ option(OPTION_BUILD_SCRIPTS "Build scripts." ON) option(OPTION_BUILD_SERIALS "Build serials." ON) option(OPTION_BUILD_DETOURS "Build detours." ON) option(OPTION_BUILD_PORTS "Build ports." OFF) -option(OPTION_FORK_SAFE "Enable fork safety." ON) +option(OPTION_FORK_SAFE "Enable fork safety." OFF) option...
refactor: improve the code clarity
void ** ntl_malloc_init (size_t nelems, size_t elem_size, void (*init)(void * elem_p)) { - char * p = (char *)malloc((nelems + 1) * sizeof(void *) // indices + void ** p = malloc((nelems + 1) * sizeof(void *) // indices + nelems * elem_size); // elements - char * elem_start = p + (nelems + 1) * sizeof(void *); - void *...
proxy: exposed resp:elapsed() I'm a bit concerned that the compile warning popped up only after I started changing something else. Need to upgrade my OS again? :(
@@ -984,6 +984,7 @@ int proxy_register_libs(void *ctx, LIBEVENT_THREAD *t, void *state) { {"vlen", mcplib_response_vlen}, {"code", mcplib_response_code}, {"line", mcplib_response_line}, + {"elapsed", mcplib_response_elapsed}, {"__gc", mcplib_response_gc}, {NULL, NULL} };
py/objobject: object___init__: Accept (and ignore) any args. In CPython, whether function accepts just 1 arg, or any depends on whether object's type defines __init__ method (if not, any args are accepted). TODO: Re-add such a check.
@@ -42,11 +42,13 @@ STATIC mp_obj_t object_make_new(const mp_obj_type_t *type, size_t n_args, size_t } #if MICROPY_CPYTHON_COMPAT -STATIC mp_obj_t object___init__(mp_obj_t self) { - (void)self; +STATIC mp_obj_t object___init__(size_t n_args, const mp_obj_t *args, mp_map_t *kwargs) { + (void)n_args; + (void)args; + (voi...
Fix compile errors encountered on Windows.
@@ -202,9 +202,23 @@ avtANSYSFileFormat::ActivateTimestep() // Changed interface to InterpretFormatString to accept field count arg. // **************************************************************************** +int +get_errno() +{ + int eno = 0; +#ifdef WIN32 + _get_errno(&eno); +#else + eno = errno; +#endif + retur...
BugID:17865306: Allow to build apps that moved to test/develop
@@ -20,6 +20,7 @@ COMPONENT_DIRECTORIES := . \ network \ tools \ test \ + test/develop \ device \ security @@ -280,7 +281,7 @@ $(foreach comp, $(COMPONENTS), $(if $(wildcard $(APPDIR)/$(comp) $(CUBE_AOS_DIR) # Find the matching platform and application from the build string components PLATFORM_FULL :=$(strip $(foreach ...
Look at color-supported for Color key in TXT record (Issue
@@ -1928,7 +1928,7 @@ register_printer( if (!is_print3d) { TXTRecordSetValue(&ipp_txt, "product", (uint8_t)strlen(product), product); - TXTRecordSetValue(&ipp_txt, "Color", 1, printer->pinfo.ppm_color ? "T" : "F"); + TXTRecordSetValue(&ipp_txt, "Color", 1, ippGetBoolean(ippFindAttribute(printer->pinfo.attrs, "color-sup...
fixed, added cmake variables to mark as advanced and separated mark as advanced into 2 categories
@@ -398,6 +398,12 @@ set ( mark_as_advanced ( FORCE # The following settings might be relevant to a few users: + DISCOUNT_DIR + DREDD_EXECUTABLE + GO_EXECUTABLE + Qt5QmlModels_DIR + TARGET_LUA_CMOD_FOLDER + TARGET_LUA_LMOD_FOLDER GTEST_ROOT BUILD_GMOCK BUILD_GTEST @@ -417,6 +423,8 @@ mark_as_advanced ( LIBGCRYPT_INCLUD...
Do not strip PYTEST binaries built with -d Note: mandatory check (NEED_CHECK) was skipped
@@ -912,7 +912,9 @@ module PYTEST_BIN: PYTEST_COMMON { ### Is only used together with the macro END() ### Documentation: https://wiki.yandex-team.ru/yatool/test/#testynapytest module PYTEST: PYTEST_BIN { - + when ($BUILD_TYPE == "DEBUG") { + NO_STRIP=yes + } } module GTEST: BASE_PROGRAM {
bugfix for legacy board
@@ -21,7 +21,7 @@ int detect_with_pull(GPIO_TypeDef *GPIO, int pin, int mode) { set_gpio_pullup(GPIO, pin, mode); for (volatile int i=0; i<PULL_EFFECTIVE_DELAY; i++); int ret = get_gpio_input(GPIO, pin); - set_gpio_pullup(GPIOB, pin, PULL_NONE); + set_gpio_pullup(GPIO, pin, PULL_NONE); return ret; } @@ -45,6 +45,11 @@ ...
Update highlevel-bindings.md
@@ -33,7 +33,7 @@ preserving the goals. If you decide to write a binding, proceed with this tutorial. If not, designing an API to meet our goals is up to you. While designing the API you should keep in mind that you can -always utilise the code-generator like the C API does. +always use code-generator (`kdb gen`) templ...
Support Xiaomi special attribute 0xff02 (2) Fix processing the attribute, the reading of 'length' is only used by datatype character string.
@@ -8119,7 +8119,11 @@ void DeRestPluginPrivate::handleZclAttributeReportIndicationXiaomiSpecial(const quint16 a; stream >> a; stream >> dataType; + + if (dataType == deCONZ::ZclCharacterString) + { stream >> length; + } if (a == 0xff01 && dataType == deCONZ::ZclCharacterString) {
Improved PHP configure test.
# Copyright (C) NGINX, Inc. +$echo "checking for PHP ..." >> $NXT_AUTOCONF_ERR + +nxt_found=no + NXT_PHP_CONFIG="${NXT_PHP}-config" + +if /bin/sh -c "${NXT_PHP_CONFIG} --version" >> $NXT_AUTOCONF_ERR 2>&1; then + NXT_PHP_VERSION="`${NXT_PHP_CONFIG} --version`" NXT_PHP_INCLUDE="`${NXT_PHP_CONFIG} --includes`" NXT_PHP_LI...
Fix PhGetRemoteMappedImageDirectoryEntry reading invalid image data
@@ -656,6 +656,7 @@ BOOLEAN PhGetRemoteMappedImageDirectoryEntry( NTSTATUS status; PIMAGE_DATA_DIRECTORY dataDirectory; PVOID dataBuffer; + PVOID dataLength; if (RemoteMappedImage->Magic == IMAGE_NT_OPTIONAL_HDR32_MAGIC) { @@ -684,13 +685,17 @@ BOOLEAN PhGetRemoteMappedImageDirectoryEntry( return FALSE; } - dataBuffer ...
Removing extra fields, MVP is signal quality parameters
@@ -530,7 +530,6 @@ definitions: If a cell modem is present on a piksi device, this message will be send periodically to update the host on the status of the modem and its various parameters. - AT+CPIN? AT+CCID AT+CSQ AT+CREG? AT+CGREG? AT+COPS? fields: - signal_strength: type: s8 @@ -539,18 +538,7 @@ definitions: - si...
zephyr: sample: Add flash for full.bin Previous commits added the full.bin target. Add a flash_full target to be able to flash this full image for testing.
@@ -142,6 +142,9 @@ flash_hello1: flash_hello2: $(PYOCD_FLASHTOOL) -a 0x80000 signed-hello2.bin +flash_full: + $(PYOCD_FLASHTOOL) -ce -a 0 full.bin + check: @if [ -z "$$ZEPHYR_BASE" ]; then echo "Zephyr environment not set up"; false; fi @if [ -z "$(BOARD)" ]; then echo "You must specity BOARD=<board>"; false; fi
VirtualScroller: correct lazy loading with small chats Fixes urbit/landscape#523
@@ -119,12 +119,14 @@ export default class VirtualScroller<T> extends Component<VirtualScrollerProps<T } componentDidMount() { - if(true) { + if(this.props.size < 100) { + this.loaded.top = true; + this.loaded.bottom = true; + } + this.updateVisible(0); this.resetScroll(); this.loadRows(false); - return; - } } // manip...
ci: test_idf_tools use system python
@@ -204,20 +204,25 @@ test_idf_py: - cd ${IDF_PATH}/tools/test_idf_py - ./test_idf_py.py +# Test for create virtualenv. It must be invoked from Python, not from virtualenv. +# Use docker image system python without any extra dependencies test_idf_tools: - extends: .host_test_template + extends: + - .host_test_template ...
crypto: improve ipsecmb engine performance Type: improvement This patch improves ipsecmb engine performance by disabling safety features: SAFE_DATA, SAFE_PARAM, and SAFE_LOOKUP.
@@ -30,6 +30,9 @@ endef define ipsec-mb_build_cmds @make -C $(ipsec-mb_src_dir) -j \ SHARED=n \ + SAFE_PARAM=n \ + SAFE_LOOKUP=n \ + SAFE_DATA=n \ PREFIX=$(ipsec-mb_install_dir) \ NASM=$(ipsec-mb_install_dir)/bin/nasm \ EXTRA_CFLAGS="-g -msse4.2" > $(ipsec-mb_build_log)
Fix typo in platform name
{ "version": 1, - "platform-name": "discrete_pci3", + "platform-name": "discrete_pcie3", "description": "First generation CCI-P-based discrete PCIe Gen3 cards", "comment": [
config tool:add debug mode limitation for PMU In release mode, "GUEST_FLAG_PMU_PASSTHROUGH" is not generated for specific VM.
@@ -22,7 +22,7 @@ policies = [ GuestFlagPolicy(".//nested_virtualization_support = 'y'", "GUEST_FLAG_NVMX_ENABLED"), GuestFlagPolicy(".//security_vm = 'y'", "GUEST_FLAG_SECURITY_VM"), GuestFlagPolicy(".//vm_type = 'RTVM'", "GUEST_FLAG_RT"), - GuestFlagPolicy(".//vm_type = 'RTVM' and .//load_order = 'PRE_LAUNCHED_VM'", ...
Docs deploy badge.
# Zephyr Mechanical Keyboard (ZMK) Firmware +[![Netlify Status](https://api.netlify.com/api/v1/badges/942d61a9-87c0-4c23-9b51-f5ed0bce495d/deploy-status)](https://app.netlify.com/sites/zmk/deploys) + This project is a complete work in progress, with absolutely nothing functioning yet. The goal is to explore a new MK fi...
Support flash progress at 160x120 res
@@ -38,11 +38,11 @@ struct { void draw() { if(!this->message.empty()) { screen.pen = Pen(0, 0, 0, 150); - screen.rectangle(Rect(0, 215, 320, 25)); + screen.rectangle(Rect(0, screen.bounds.h - 25, screen.bounds.w, 25)); screen.pen = Pen(255, 255, 255); - screen.text(this->message, minimal_font, Point(5, 220)); - uint32_...
Unclash clashing reason codes in ssl.h
@@ -2650,7 +2650,7 @@ int ERR_load_SSL_strings(void); # define SSL_R_INAPPROPRIATE_FALLBACK 373 # define SSL_R_INCONSISTENT_COMPRESSION 340 # define SSL_R_INCONSISTENT_EXTMS 104 -# define SSL_R_INVALID_ALERT 205 +# define SSL_R_INVALID_ALERT 209 # define SSL_R_INVALID_COMMAND 280 # define SSL_R_INVALID_COMPRESSION_ALGO...
Fix a leftover in a tutorial
@@ -291,10 +291,10 @@ Note that `errno` is set to `ETIMEDOUT` if the deadline is reached. Since we're Now note that the third connection to the greetserver is closed immediately without even given user a chance to enter their name. This is a common use case for network servers. When the server is being shut down we wan...
feat(L503): fix L503 platone demo boat_platone_demo.c
@@ -53,9 +53,6 @@ __BOATSTATIC BOAT_RESULT platone_createKeypair(BCHAR *keypairName) UtilityHexToBin(binFormatKey, 32, native_demoKey, TRIMBIN_TRIM_NO, BOAT_FALSE); keypair_config.prikey_content.field_ptr = binFormatKey; keypair_config.prikey_content.field_len = 32; - /* default is internal generation */ - keypair_conf...
mesh/cfg_srv.c: Fix Vendor Model Subscription Get procedure Invalid argument was passed to bt_mesh_model_tree_walk.
@@ -1748,6 +1748,7 @@ static void mod_sub_get_vnd(struct bt_mesh_model *model, struct os_mbuf *buf) { struct os_mbuf *msg = NET_BUF_SIMPLE(BT_MESH_TX_SDU_MAX); + struct mod_sub_list_ctx visit_ctx; struct bt_mesh_model *mod; struct bt_mesh_elem *elem; u16_t company, addr, id; @@ -1789,8 +1790,10 @@ static void mod_sub_g...
[core] mark select http_kv.[ch] funcs attr nonnull
@@ -69,16 +69,24 @@ __attribute_pure__ const char *get_http_method_name(http_method_t i); #if 0 /*(unused)*/ +__attribute_nonnull__ __attribute_pure__ int get_http_version_key(const char *s, size_t slen); #endif +__attribute_nonnull__ __attribute_pure__ http_method_t get_http_method_key(const char *s, size_t slen); +__...
mcserver: clarify when flush_start is assigned on new connection Tested-by: Mark Nunberg
@@ -633,13 +633,15 @@ Server::start_errored_ctx(State next_state) return; } else { /* Not closed but don't have a current context */ - flush_start = (mcreq_flushstart_fn)server_connect; if (has_pending()) { if (!lcbio_timer_armed(io_timer)) { /* TODO: Maybe throttle reconnection attempts? */ lcbio_timer_rearm(io_timer,...
Added compressed disp8 calculation for MVEX instructions
@@ -2597,6 +2597,71 @@ static void ZydisSetAVXInformation(ZydisDecoderContext* context, const ZydisInstructionDefinitionMVEX* def = (const ZydisInstructionDefinitionMVEX*)definition; + // Compressed disp8 scale + info->avx.compressedDisp8Scale = 1; + switch (def->functionality) + { + case ZYDIS_MVEX_FUNC_INVALID: + cas...
runtime: duplicate ACK detection bug fix
@@ -332,9 +332,11 @@ void tcp_rx_conn(struct trans_entry *e, struct mbuf *m) if (wraps_lt(c->pcb.snd_wl1, seq) || (c->pcb.snd_wl1 == seq && wraps_lte(c->pcb.snd_wl2, ack))) { + uint32_t old_wnd = c->pcb.snd_wnd; c->pcb.snd_wnd = win > 1 ? win - 2 : 0; // reserve 1 byte for FIN and one byte for the sequence number on an...
solidus escaping isn't strictly required
@@ -742,8 +742,7 @@ static void write_safe_str(FIOBJ dest, const FIOBJ str) { } while (len) { char *restrict writer = (char *)t.data; - while (len && - (src[0] > 32 && src[0] != '"' && src[0] != '\\' && src[0] != '/')) { + while (len && (src[0] > 32 && src[0] != '"' && src[0] != '\\')) { len--; writer[end++] = *(src++)...
menu: add uafind to select ua by aor toggling through a list becomes a bit cumbersome with multiple UAs with uafind you can select them by aor
@@ -403,6 +403,30 @@ static int cmd_ua_next(struct re_printf *pf, void *unused) } +static int cmd_ua_find(struct re_printf *pf, void *arg) +{ + const struct cmd_arg *carg = arg; + struct ua *ua = NULL; + + if (str_isset(carg->prm)) { + ua = uag_find_aor(carg->prm); + } + + if (!ua) { + warning("menu: ua_find failed: %s...
Split armv7 into armv7 and armv7hf
@@ -35,7 +35,7 @@ function(printopt optName optVal optArch tgtArch) endif() endfunction() -set(VALID_ARCH aarch64 armv7 x64) +set(VALID_ARCH aarch64 armv7 armv7hf x64) set(ARCH x64 CACHE STRING "Target architecture") set_property(CACHE ARCH PROPERTY STRINGS ${VALID_ARCH}) @@ -66,8 +66,8 @@ if(${ISA_SSE2} AND ${ARCH} MA...
chunk-trace: check return value of flb_sds_printf.
@@ -267,13 +267,19 @@ struct flb_chunk_trace *flb_chunk_trace_new(struct flb_input_chunk *chunk) return NULL; } + trace->trace_id = flb_sds_create(""); + if (flb_sds_printf(&trace->trace_id, "%s%d", trace->ctxt->trace_prefix, + trace->ctxt->trace_count++) == NULL) { + pthread_mutex_unlock(&f_ins->chunk_trace_lock); + f...
Do serial setup earlier: int 14h spoils DS register on Hyper-V.
@@ -8,6 +8,11 @@ init: bits 16 org base + ;; serial setup + mov ax, 0x00e3 ; AH = 0, AL = 9600 baud, 8N1 + xor dx, dx + int 0x14 + ;; set up our data segments xor ax, ax mov ds, ax @@ -16,11 +21,6 @@ init: ;; setting a20 allows us to address all of 'extended' memory call seta20 - ;; serial setup? - mov ax, 0x00e3 ; AH ...
Update galaxy table for changes committed only in jael.
0w0 :: 46, ~hex, James Torre 0w0 :: 47, ~feb, urbit.org 0wK.GoKEY.rMjfn.ZcvFQ.n4BmX :: 48, ~pyl, Michael Hartl (oldkey) - 0w0 :: 49, ~dul, Curtis Yarvin - 0w0 :: 50, ~het, Curtis Yarvin + 0w0 :: 49, ~dul, Galen Wolfe-Pauly + 0w0 :: 50, ~het, Galen Wolfe-Pauly 0w0 :: 51, ~mev, Curtis Yarvin 0w0 :: 52, ~rut, Curtis Yarvi...
Disable caller-saves flag for gcc >= 9.3
@@ -91,6 +91,14 @@ if(CMAKE_COMPILER_IS_GNUCXX) add_compile_options(-fvisibility=hidden) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden") + #disable gcc caller-saves flag for O2-O3 + #workaround fix for gcc 9.3+ + if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")...
newlib: Move _gettimeofday_r call in clock_gettime Merges:
@@ -414,10 +414,10 @@ int clock_gettime (clockid_t clock_id, struct timespec *tp) return -1; } struct timeval tv; - _gettimeofday_r(NULL, &tv, NULL); uint64_t monotonic_time_us = 0; switch (clock_id) { case CLOCK_REALTIME: + _gettimeofday_r(NULL, &tv, NULL); tp->tv_sec = tv.tv_sec; tp->tv_nsec = tv.tv_usec * 1000L; bre...
baseboard/ite_evb/baseboard.c: Format with clang-format BRANCH=none TEST=none
@@ -42,8 +42,10 @@ const struct fan_rpm fan_rpm_0 = { }; const struct fan_t fans[] = { - { .conf = &fan_conf_0, - .rpm = &fan_rpm_0, }, + { + .conf = &fan_conf_0, + .rpm = &fan_rpm_0, + }, }; BUILD_ASSERT(ARRAY_SIZE(fans) == CONFIG_FANS); @@ -123,11 +125,9 @@ __override struct keyboard_scan_config keyscan_config = { #i...
[SH2] updated camera inconsistency fix Old: 640x480 New: 512x448 This makes the camera position the same as the PS2 version for all resolutions.
@@ -347,24 +347,24 @@ void Init() //solves camera pan inconsistency for different resolutions //solves camera tilt inconsistency for different resolutions auto pattern = hook::pattern("51 E8 ? ? ? ? 89 44 24 00 DB 44 24 00 D9 1D"); //47CD30 - struct Ret640 + struct Ret512 { void operator()(injector::reg_pack& regs) { -...
kernel elf sections are reserved from PMM # Conflicts: # src/kernel/pmm/pmm.c
@@ -162,6 +162,19 @@ void pmm_init() { //map out framebuffer pmm_reserve_mem_region(pmm, info->framebuffer.address, info->framebuffer.size); pmm_reserve_mem_region(pmm, info->initrd_start, info->initrd_size); + + // TODO(PT): Rename this boot_info field as it's an ELF section header table, not a symbol table + multiboo...
docs: Add note about downloading HTML schematics BRANCH=none TEST=view in gitiles
# Dragonclaw Fingerprint Development Board Schematics -The schematics are in the [HTML file] and viewable with any browser. +The schematics are in the [HTML file][schematic] and viewable with any browser. +Note that you'll need to download and save the HTML file from +[this link][schematic]; you cannot view it directly...
Make CS Loader implementation dependant of DOTNET_COMMAND.
@@ -31,20 +31,20 @@ message(STATUS "Plugin ${target} implementation") if(DOTNET_VERSION VERSION_EQUAL "2.0" OR DOTNET_VERSION VERSION_GREATER "2.0") add_custom_target(${target} ALL - COMMAND dotnet restore ${CMAKE_CURRENT_SOURCE_DIR}/source/project.csproj - COMMAND dotnet publish ${CMAKE_CURRENT_SOURCE_DIR}/source/proj...
Run pgindent on zstd_compression.c.
@@ -114,11 +114,12 @@ zstd_compress(PG_FUNCTION_ARGS) if (ZSTD_isError(dst_length_used)) { - if (ZSTD_getErrorCode(dst_length_used) == ZSTD_error_dstSize_tooSmall) { + if (ZSTD_getErrorCode(dst_length_used) == ZSTD_error_dstSize_tooSmall) + { /* * This error is returned when "compressed" output is bigger than - * uncom...
Set last drag point based on diffs
@@ -412,15 +412,20 @@ static lv_res_t lv_rotary_signal(lv_obj_t * rotary, lv_signal_t sign, void * par lv_coord_t drag_x_diff = p.x -ext->last_press_point.x; lv_coord_t drag_y_diff = p.y -ext->last_press_point.y; + if (LV_MATH_ABS(drag_x_diff) > ext->threshold) { + if (drag_x_diff > 0) drag_x_diff = ext->threshold; + e...
dispatch_removelistener: make error message a bit more distinctive
@@ -375,7 +375,7 @@ dispatch_removelistener(listener *lsnr) break; if (c == MAX_LISTENERS) { /* not found?!? */ - logerr("dispatch: cannot find listener!\n"); + logerr("dispatch: cannot find listener to remove!\n"); pthread_rwlock_unlock(&listenerslock); return; }
doc: Improve readability of section in High-Level API tutorial
@@ -37,7 +37,7 @@ default = 1.1 ``` In Elektra a specification is defined through the metadata of keys in the `spec` namespace. The specification above contains metadata for -three keys the parent key (`@`), `@/mydouble` and `@/myfloatarray/#`. The `#` at the end of `myfloatarray/#` indicates that it is an array. +thre...
clear warnings for driver ens210 ccs811
#include <vfs_register.h> #include <hal/base.h> #include "common.h" -#include "hal/sensor.h" +#include "sensor.h" +#include "sensor_drv_api.h" +#include "sensor_hal.h" #define CCS811_I2C_ADDR1 (0x5A) /* When ADDR is high the 7bit I2C address is 0x5B */ #define CCS811_I2C_ADDR_TRANS(n) ((n)<<1) @@ -214,8 +216,6 @@ stati...
[apps] Align loops to wider intruction cache lines
@@ -75,8 +75,8 @@ RISCV_LLVM_TARGET ?= --target=$(RISCV_TARGET) --sysroot=$(GCC_INSTALL_DIR)/$(RI RISCV_WARNINGS += -Wunused-variable -Wconversion -Wall -Wextra # -Werror RISCV_FLAGS_COMMON_TESTS ?= -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -I$(CURDIR)/common -static RISCV_FLAGS_COMMON ?= $(RISCV_FLAGS_COMMON_TESTS) -std...
admin/nagios: bump to v4.4.3
%global _hardened_build 1 Name: %{pname}%{PROJ_DELIM} -Version: 4.4.1 +Version: 4.4.3 Release: 1%{?dist} Summary: Host/service/network monitoring program Group: %{PROJ_NAME}/admin
Fixed copy amount..
@@ -429,7 +429,7 @@ LIBXSMM_API_DEFINITION libxsmm_dnn_err_t libxsmm_dnn_internal_create_conv_handle matcopyback_descriptor.m = handle->ifhp; if (handle->buffer_format == LIBXSMM_DNN_TENSOR_FORMAT_LIBXSMM) { matcopy_descriptor.n = handle->ifwp * handle->ifmblock; - matcopyback_descriptor.n = (handle->ifwp + 2*handle->d...
docs: remove features merged into i3
@@ -107,7 +107,3 @@ bar { height 25 } ``` - -### Borders - -You can define a border width of each block for each individual side by sending the `border_top`, `border_left`, `border_bottom` and `border_right` keys in the i3bar JSON protocol. Each value, if absent, defaults to `1`, and a value of `0` hides the border for...
Switch entry point for Sandbox binary tasks. ISSUE:
@@ -1672,7 +1672,7 @@ module JTEST_FOR: JTEST { } module SANDBOX_TASK: PY_PROGRAM { - PY_MAIN(sandbox.sdk2.internal.cli) + PY_MAIN(sandbox.taskbox.binary) PEERDIR(sandbox/bin sandbox/sdk2) SET_APPEND(NO_CHECK_IMPORTS_FOR_VALUE api.*) SET_APPEND(NO_CHECK_IMPORTS_FOR_VALUE kernel.*)
FEATURE: Check engine configurations.
#define ACTION_BEFORE_WRITE(c, k, l) #define ACTION_AFTER_WRITE(c, r) +static EXTENSION_LOGGER_DESCRIPTOR *logger; + /* * vbucket static functions */ @@ -99,6 +101,11 @@ default_get_info(ENGINE_HANDLE* handle) return &get_handle(handle)->info.engine_info; } +static int check_configuration(struct engine_config *conf) +{...
always make tls_client_get_id available
@@ -204,11 +204,6 @@ static void tls_handle( int rc, int fd ) { int tls_client_get_id( uint8_t id[], size_t len, const char query[] ) { uint8_t hash[32]; - // Reject query if TLS client is disabled - if( g_client_enable == 0 ) { - return 0; - } - // Match dot in query, e.g. 'example.com' if( strchr( query, '.' ) ) { mb...
rmt_legacy: don't use early log in isr handler ...but use ESP_DRAM_LOGx instead Closes
@@ -817,10 +817,10 @@ static void IRAM_ATTR rmt_driver_isr_default(void *arg) BaseType_t res = xRingbufferSendFromISR(p_rmt->rx_buf, (void *)addr, item_len * 4, &HPTaskAwoken); #endif if (res == pdFALSE) { - ESP_EARLY_LOGE(TAG, "RMT RX BUFFER FULL"); + ESP_DRAM_LOGE(TAG, "RMT RX BUFFER FULL"); } } else { - ESP_EARLY_LO...
Alternative CSR checks in x509_csr_check when USE_PSA_CRYPTO The X509write x509_csr_check reference file depends on mbedtls_test_rnd_pseudo_rand being used to match the pre-generated data. This calls x509_crt_verifycsr() like in x509_csr_check_opaque() when MBEDTLS_USE_PSA_CRYPTO is defined. Notably using PSA_ALG_DETER...
@@ -93,6 +93,8 @@ void x509_csr_check( char * key_file, char * cert_req_check_file, int md_type, memset( &rnd_info, 0x2a, sizeof( mbedtls_test_rnd_pseudo_info ) ); + USE_PSA_INIT( ); + mbedtls_pk_init( &key ); TEST_ASSERT( mbedtls_pk_parse_keyfile( &key, key_file, NULL, mbedtls_test_rnd_std_rand, NULL ) == 0 ); @@ -117...
rpi-config: Add support for CM4 host USB By default in case of CM4 IO board, the USB ports (header + built-in) are disabled. In order to enable them the DWC2 mode needs to be set to host.
@@ -204,6 +204,12 @@ do_deploy() { echo "dtoverlay=dwc2,dr_mode=peripheral" >> $CONFIG fi + # DWC2 USB host mode support + if [ "${ENABLE_DWC2_HOST}" = "1" ]; then + echo "# Enable USB host mode" >> $CONFIG + echo "dtoverlay=dwc2,dr_mode=host" >> $CONFIG + fi + # AT86RF23X support if [ "${ENABLE_AT86RF}" = "1" ]; then ...
Warning if learning rate > 1
#include "enums.h" #include "overfitting_detector_options.h" #include <catboost/libs/logging/logging_level.h> +#include <catboost/libs/logging/logging.h> #include <util/system/types.h> namespace NCatboostOptions { @@ -65,6 +66,9 @@ namespace NCatboostOptions { } CB_ENSURE(!(ApproxOnFullHistory.GetUnchecked() && Boostin...
detail on the available examples It is not easy to find documentation on existing NVMe examples, hope this would improve a bit Thanks
@@ -148,6 +148,11 @@ through an AXI master interface. In the SNAP configuration step the existence of # NVMe support For FPGA cards with NVMe flash attached, the SNAP framework supports the integration of up to two Flash drives. Via the SNAP configuration option 'Enable NVMe' the instantiation of the NVMe host controll...
Add extra tests for cls.py
@@ -354,6 +354,26 @@ def check_cls(cosmo): assert_( all_finite(ccl.angular_cl(cosmo, nc1, lens1, ell_arr)) ) assert_( all_finite(ccl.angular_cl(cosmo, nc1, lens2, ell_arr)) ) + # Check get_internal_function() + a_scl = 0.5 + a_lst = [0.2, 0.4, 0.6, 0.8, 1.] + a_arr = np.linspace(0.2, 1., 5) + assert_( all_finite(nc1.ge...
Don't define doxygen groups for CPUs and platforms in the modules.txt These will be define in new doxygen-group.txt files within the respective platform/CPU dir.
@@ -8,31 +8,6 @@ CPU, device drivers and platform code * \ingroup arch */ -/** - * \addtogroup cc2538dk The cc2538 Development Kit platform - * \ingroup platform - */ - -/** - * \addtogroup cooja COOJA network simulator node - * \ingroup platform - */ - -/** - * \addtogroup jn516x The JN516x Board - * \ingroup platform...
options/posix: Properly impl. pthread_key_delete()
@@ -156,14 +156,16 @@ struct __mlibc_key_data { frg::hash_map<int, void *, frg::hash<int>, MemoryAllocator> values; }; -int pthread_key_create(pthread_key_t *key, void (*destructor) (void *)) { +int pthread_key_create(pthread_key_t *out_key, void (*destructor) (void *)) { SCOPE_TRACE(); - - *key = frg::construct<__mlib...
Improve PhGetProcessWorkingSetInformation
@@ -1617,9 +1617,43 @@ NTSTATUS PhGetProcessWorkingSetInformation( ) { NTSTATUS status; - PVOID buffer; + PMEMORY_WORKING_SET_INFORMATION buffer; SIZE_T bufferSize; + ULONG attempts = 0; + + bufferSize = 0x8000; + buffer = PhAllocate(bufferSize); + + status = NtQueryVirtualMemory( + ProcessHandle, + NULL, + MemoryWorki...
Travis: Install OCLint Recently OCLint was removed from the macOS build images: .
@@ -309,6 +309,8 @@ before_install: brew install yaml-cpp # Unfortunately Xerces 3.2 causes multiple problems if we translate Elektra with GCC on macOS brew install xerces-c + # OCLint complains about unknown compiler warning options, if we use GCC as compiler. + brew cask install oclint fi brew install bison brew inst...
tree data helpers BUGFIX move iterator Refs
@@ -592,6 +592,9 @@ lyd_node_schema(const struct lyd_node *node) /* get schema node */ schema = lys_find_child(schema, mod ? mod : schema->module, LYD_NAME(iter), 0, 0, 0); } + + /* remember to move to the descendant */ + prev_iter = iter; } while (schema && (iter != node)); return schema;
Pthreads installation should be handled by CmDaB, no need to do this here.
@@ -224,15 +224,7 @@ if (NOT MSVC) endif() endif() else() - if (NOT DOWNLOAD_AND_BUILD_DEPS) find_package (PTHREADS4W CONFIG REQUIRED) - else() - find_package (PTHREADS4W CONFIG) - - if (NOT PTHREADS4W_CONFIG) - CmDaB_install (pthreads4w) - endif() - endif() endif() # # Determine if pthread_rwlock_t is available
Fix button events for Sengled E1E-G7F switch
@@ -4643,6 +4643,8 @@ void DeRestPluginPrivate::checkSensorButtonEvent(Sensor *sensor, const deCONZ::A } else if (ind.clusterId() == SENGLED_CLUSTER_ID) { + ok = false; + if (buttonMap.zclParam0 == pl0) { ok = true;