message
stringlengths
6
474
diff
stringlengths
8
5.22k
Add SPI_3 to syscfg.restrictions.
@@ -401,8 +401,10 @@ syscfg.restrictions: - "!SPI_0_MASTER || (SPI_0_MASTER_PIN_SCK && SPI_0_MASTER_PIN_MOSI && SPI_0_MASTER_PIN_MISO)" - "!SPI_1_MASTER || (SPI_1_MASTER_PIN_SCK && SPI_1_MASTER_PIN_MOSI && SPI_1_MASTER_PIN_MISO)" - "!SPI_2_MASTER || (SPI_2_MASTER_PIN_SCK && SPI_2_MASTER_PIN_MOSI && SPI_2_MASTER_PIN_MIS...
dill: store width for session when it changes
%text (fore (tuba p.kyz) ~) %crud :: (send `dill-belt`[%cru p.kyz q.kyz]) (crud p.kyz q.kyz) - %blew (send %rez p.p.kyz q.p.kyz) + %blew (send(wid p.p.kyz) %rez p.p.kyz q.p.kyz) %heft (pass /whey %$ whey/~) %meld (dump kyz) %pack (dump kyz)
nshlib: nsh_netcmds.c should include netlib.h even if neither TCP nor UDP are enabled
#include <nuttx/net/sixlowpan.h> #endif -#if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \ - !defined(CONFIG_DISABLE_SIGNALS) +#ifdef CONFIG_NETUTILS_NETLIB # include "netutils/netlib.h" #endif #if defined(CONFIG_NET_UDP) && CONFIG_NFILE_DESCRIPTORS > 0 # include "netutils/netlib.h" -# include "netutil...
UserNotes: Fix process priorities not being properly restored after restart
@@ -173,7 +173,9 @@ PPH_STRING GetOpaqueXmlNodeText( _In_ mxml_node_t *node ) { - if (node->child && node->child->type == MXML_OPAQUE && node->child->value.opaque) + PCSTR string; + + if (string = mxmlGetOpaque(node)) { return PhConvertUtf8ToUtf16(node->child->value.opaque); } @@ -270,7 +272,7 @@ NTSTATUS LoadDb( comme...
Fix DCD_EVENT_XFER_COMPLETE was signaled, even after EP is closed
@@ -556,6 +556,9 @@ static void process_bus_reset(uint8_t rhport) /* When pipe0.buf has not NULL, DATA stage works in progress. */ _dcd.pipe0.buf = NULL; + USB0->TXIE = 1; /* Enable only EP0 */ + USB0->RXIE = 0; + /* Clear FIFO settings */ for (unsigned i = 1; i < DCD_ATTR_ENDPOINT_MAX; ++i) { USB0->EPIDX = i; @@ -660,...
show diff information on mismatching evals
import csv import json +import itertools import os import random import shutil +import sys from pandas import read_csv from copy import deepcopy import numpy as np @@ -165,7 +167,13 @@ def compare_evals_with_precision(fit_eval, calc_eval, rtol=1e-6, skip_last_colum header_fit = header_fit[:-1] if header_fit != header_c...
Fixed spelling in build-system.rst. Closes
@@ -76,7 +76,7 @@ An example project directory tree might look like this:: This example "myProject" contains the following elements: -- A top-level project Makefile. This Makefile set the ``PROJECT_NAME`` variable and (optionally) defines +- A top-level project Makefile. This Makefile sets the ``PROJECT_NAME`` variable...
syntax error fixed in nasatbus.py
@@ -30,7 +30,7 @@ class NAsatbus(Target): } - IMPORTANT NOTE: openocd must be version 0.9 or later. +# IMPORTANT NOTE: openocd must be version 0.9 or later. def flash(self, binobj): """ Use an external shell to push the ELF file using openocd. It seems
BugID:18078169:Fix unnecessary item in sdk mal makefile
@@ -44,7 +44,6 @@ $(call CompLib_Map, FEATURE_ALCS_ENABLED, \ ) $(call CompLib_Map, FEATURE_MAL_ENABLED, \ src/services/mdal/mal \ - src/services/mdal/ref-impl \ ) $(call CompLib_Map, FEATURE_SAL_ENABLED, \ src/services/mdal/sal \
vm: added proc_current() NULL check in _vm_munmap()
@@ -370,7 +370,8 @@ int _vm_munmap(vm_map_t *map, void *vaddr, size_t size) long offs; map_entry_t *e, *s; map_entry_t t; - process_t *proc = proc_current()->process; + thread_t *thr = proc_current(); + process_t *proc = (thr != NULL) ? thr->process : NULL; t.vaddr = vaddr; t.size = size;
Upgrade +IPD statement parsing to support manual TCP read data
@@ -244,21 +244,67 @@ espi_parse_cipstatus(const char* str) { */ espr_t espi_parse_ipd(const char* str) { - uint8_t conn; + uint8_t conn, is_data_ipd; size_t len; + esp_conn_p c; + + + /* + * First check if this string is "notification only" or actual "data packet". + * + * Take decision based on ':' character before d...
ruby: remove module name from ELEKTRA_README See for details.
@@ -620,7 +620,7 @@ int RUBY_PLUGIN_FUNCTION (Get) (ckdb::Plugin * handle, ckdb::KeySet * returned, keyNew (_MODULE_CONFIG_PATH "/exports/open", KEY_FUNC, RUBY_PLUGIN_FUNCTION (Open), KEY_END), keyNew (_MODULE_CONFIG_PATH "/exports/close", KEY_FUNC, RUBY_PLUGIN_FUNCTION (Close), KEY_END), keyNew (_MODULE_CONFIG_PATH "/...
Fixed min/max.
@@ -197,7 +197,7 @@ static bool eir_found(struct bt_data *data, void *user_data) LOG_DBG("Found existing connection"); split_central_process_connection(default_conn); } else { - param = BT_LE_CONN_PARAM(0x0005, 0x000a, 5, 400); + param = BT_LE_CONN_PARAM(0x0006, 0x000c, 5, 400); err = bt_conn_le_create(addr, BT_CONN_LE...
[kernel] update display method
@@ -59,8 +59,6 @@ GlobalFrictionContact::GlobalFrictionContact(int dimPb, SP::SolverOptions option { _gfc_driver = &gfc3d_driver; } - else - THROW_EXCEPTION("Wrong dimension value (must be 2 or 3) for FrictionContact constructor."); //Reset default storage type for numerics matrices. _numericsMatrixStorageType = NM_SPA...
OcAcpiLib: Make ACPI table count warning informational
@@ -575,7 +575,7 @@ AcpiInitContext ( } if (Context->NumberOfTables != DstIndex) { - DEBUG ((DEBUG_WARN, "OCA: Only %u ACPI tables out of %u were valid\n", DstIndex, Context->NumberOfTables)); + DEBUG ((DEBUG_INFO, "OCA: Only %u ACPI tables out of %u were valid\n", DstIndex, Context->NumberOfTables)); Context->NumberOf...
smooth text inputoverlay
@@ -74,7 +74,7 @@ class InputOverlay(Images): super().add_to_frame(background, x_offset, y_offset) center_x = int(x_offset - self.font_width / 2) center_y = int(self.font_height / 2 + y_offset) - cv2.putText(background, self.n, (center_x, center_y), cv2.FONT_HERSHEY_DUPLEX, self.font_scale, self.color, 1) + cv2.putText...
fix bufferoverflow
@@ -316,7 +316,7 @@ void bspline_coeff_derivative_n(unsigned int k, unsigned int n, unsigned int p, double v1[n - p - 1]; bspline_coeff_derivative(n, p, t1, v1, t, v); - bspline_coeff_derivative_n(k - 1, n - 1, p - 1, t2, v2, t1, v1); + bspline_coeff_derivative_n(k - 1, n - 2, p - 1, t2, v2, t1, v1); } }
graph-delete thread: fix %metadata-store scry and %hook reference to %push-hook
-/- spider, graph-view, graph=graph-store, *metadata-store, *group +/- spider, graph-view, graph=graph-store, met=metadata-store, *group /+ strandio, resource => |% ++ scry-metadata |= rid=resource =/ m (strand ,(unit resource)) - ;< paxs=(unit (set path)) bind:m - %+ scry:strandio ,(unit (set path)) + ;< group=(unit r...
freertos: silence the static analysis warning referencing the workitem
@@ -649,7 +649,7 @@ void taskYIELD_OTHER_CORE( BaseType_t xCoreID, UBaseType_t uxPriority ) BaseType_t i; if (xCoreID != tskNO_AFFINITY) { - if ( curTCB->uxPriority < uxPriority ) { + if ( curTCB->uxPriority < uxPriority ) { // NOLINT(clang-analyzer-core.NullDereference) IDF-685 vPortYieldOtherCore( xCoreID ); } }
Add readfuncs.c support for AppendRelInfo. This is made necessary by the fact that commit added AppendRelInfos to plan trees. I'd concluded that this extra code was not necessary because we don't transmit that data to parallel workers ... but I forgot about -DWRITE_READ_PARSE_PLAN_TREES. Per buildfarm.
@@ -1342,6 +1342,33 @@ _readOnConflictExpr(void) READ_DONE(); } +/* + * Stuff from pathnodes.h. + * + * Mostly we don't need to read planner nodes back in again, but some + * of these also end up in plan trees. + */ + +/* + * _readAppendRelInfo + */ +static AppendRelInfo * +_readAppendRelInfo(void) +{ + READ_LOCALS(App...
Ensure OSSL_PARAM_BLD_free() can accept a NULL All OpenSSL free functions should accept NULL.
@@ -125,6 +125,8 @@ static void free_all_params(OSSL_PARAM_BLD *bld) void OSSL_PARAM_BLD_free(OSSL_PARAM_BLD *bld) { + if (bld == NULL) + return; free_all_params(bld); sk_OSSL_PARAM_BLD_DEF_free(bld->params); OPENSSL_free(bld);
parallel-libs/petsc: configure.log file not in latest build
@@ -107,8 +107,6 @@ make make install DESTDIR=$RPM_BUILD_ROOT/%{install_path} -rm %{buildroot}%{install_path}/lib/petsc/conf/configure.log - # remove stock module file rm -rf %{buildroot}%{install_path}/lib/modules
OpenCanopy: Do not ASSERT for 0x0 resolution Fixes
@@ -33,8 +33,8 @@ struct GUI_POINTER_CONTEXT_ { EFI_ABSOLUTE_POINTER_PROTOCOL *AbsPointer; APPLE_EVENT_HANDLE AppleEventHandle; EFI_EVENT AbsPollEvent; - UINT32 MaxX; - UINT32 MaxY; + UINT32 MaxXPlus1; + UINT32 MaxYPlus1; GUI_PTR_POSITION CurPos; GUI_PTR_POSITION AbsLastDownPos; UINT32 OldEventExScale; @@ -198,14 +198,...
[docker-build] [with examples] Fix yml error
@@ -196,8 +196,8 @@ fedora-33:test: jupyterlab:configure: variables: - BLAS_ROOT=$CONDA_PREFIX - GMP_ROOT=$CONDA_PREFIX + BLAS_ROOT: $CONDA_PREFIX + GMP_ROOT: $CONDA_PREFIX IMAGE_NAME: $CI_REGISTRY_IMAGE/sources/jupyterlab cdash_submit: 1 user_file: $CI_PROJECT_DIR/$siconos_confs/siconos_notebook.cmake
Check for change of direction at cursor update
@@ -2490,6 +2490,15 @@ ikvdb_kvs_cursor_update(struct hse_kvs_cursor *cur, struct hse_kvdb_opspec *os) if (ev(cur->kc_err)) return cur->kc_err; + /* Check if this call is trying to change cursor direction. */ + if (os) { + bool os_reverse = kvdb_kop_is_reverse(os); + bool cur_reverse = cur->kc_flags && (cur->kc_flags &...
[BSP]fix F4-HAL bsp usbdriver
@@ -25,8 +25,10 @@ static struct ep_id _ep_pool[] = {0x0, USB_EP_ATTR_CONTROL, USB_DIR_INOUT, 64, ID_ASSIGNED }, {0x1, USB_EP_ATTR_BULK, USB_DIR_IN, 64, ID_UNASSIGNED}, {0x1, USB_EP_ATTR_BULK, USB_DIR_OUT, 64, ID_UNASSIGNED}, - {0x2, USB_EP_ATTR_INT, USB_DIR_OUT, 64, ID_UNASSIGNED}, {0x2, USB_EP_ATTR_INT, USB_DIR_IN, 6...
Fix typo setings -> settings
@@ -24,7 +24,7 @@ With: import UrbitInterface from '@urbit/http-api'; import { settings } from '@urbit/api'; const api: UrbitInterface = useApi(); -api.poke(setings.putEntry(bucket, key, value)); +api.poke(settings.putEntry(bucket, key, value)); ``` You may import single functions
Fixed an issue where groups comprised of edges were not being passed into Houdini properly.
@@ -4,35 +4,59 @@ def get_selected_components(component_type): components = [] sel_mask = -1 type_name = '' + expand = False - if component_type.lower() == 'vertex': + lwr_component_type = component_type.lower() + + if lwr_component_type == 'vertex': sel_mask = 31 type_name = 'vertices' - elif component_type.lower() ==...
nat: enable multiworker tests Type: fix
@@ -9,7 +9,6 @@ from io import BytesIO from time import sleep import scapy.compat -from framework import tag_fixme_vpp_workers from framework import VppTestCase, VppTestRunner from ipfix import IPFIX, Set, Template, Data, IPFIXDecoder from scapy.all import bind_layers, Packet, ByteEnumField, ShortField, \ @@ -862,7 +86...
Add missing dlinkMacPrefix in de_web_plugin_private.h
@@ -489,6 +489,7 @@ extern const quint64 macPrefixMask; extern const quint64 celMacPrefix; extern const quint64 bjeMacPrefix; extern const quint64 davicomMacPrefix; +extern const quint64 dlinkMacPrefix; extern const quint64 deMacPrefix; extern const quint64 emberMacPrefix; extern const quint64 embertecMacPrefix;
Crash in config_init_fcb() While specifying the flash layout NRF52840 and NRF52832 need to be distinguished. Seperate structs are define for each oen now.
@@ -43,6 +43,15 @@ static const struct hal_flash_funcs nrf52k_flash_funcs = { .hff_init = nrf52k_flash_init }; +#ifdef NRF52840_XXAA +const struct hal_flash nrf52k_flash_dev = { + .hf_itf = &nrf52k_flash_funcs, + .hf_base_addr = 0x00000000, + .hf_size = 1024 * 1024, /* XXX read from factory info? */ + .hf_sector_cnt = ...
doc: update TODO a bit see
@@ -35,16 +35,20 @@ Start arrays with _ (and not with #)? make KEY_END, ELEKTRA_PLUGIN_END also pointers and check them with sentinel, have a single way how to terminate vaargs -remove obsolete key/keyset flags +remove key/keyset flags +- that are obsolete/deprecated +- KDB_O_NOCASE (because it needs POSIX-only elektra...
Only print final log when aof is loaded successfully Skip the print on AOF_NOT_EXIST status.
@@ -6475,6 +6475,7 @@ void loadDataFromDisk(void) { int ret = loadAppendOnlyFiles(server.aof_manifest); if (ret == AOF_FAILED || ret == AOF_OPEN_ERR) exit(1); + if (ret != AOF_NOT_EXIST) serverLog(LL_NOTICE, "DB loaded from append only file: %.3f seconds", (float)(ustime()-start)/1000000); } else { rdbSaveInfo rsi = RD...
jenkins: upload debian packages again
@@ -728,6 +728,7 @@ def buildPackageDebianStretch() { sh "gbp buildpackage -sa" } } + publishDebianPackages() } } }] @@ -1051,7 +1052,6 @@ def isMaster() { * @param remote where the repository is located */ def publishDebianPackages(remote="a7") { - if(isMaster()) { // This path must coincide with the incoming dir on a...
[doc/freertos]: fixed doc of pxTaskGetStackStart() Closes
@@ -1499,9 +1499,7 @@ configSTACK_DEPTH_TYPE uxTaskGetStackHighWaterMark2( TaskHandle_t xTask ) PRIVIL * INCLUDE_pxTaskGetStackStart must be set to 1 in FreeRTOSConfig.h for * this function to be available. * - * Returns the highest stack memory address on architectures where the stack grows down - * from high memory, ...
doc: adjust "cities" example to be consistent with other SQL Reported-by: Discussion: Backpatch-through: 9.6
<programlisting> CREATE VIEW myview AS - SELECT city, temp_lo, temp_hi, prcp, date, location + SELECT name, temp_lo, temp_hi, prcp, date, location FROM weather, cities WHERE city = name; @@ -101,12 +101,12 @@ SELECT * FROM myview; <programlisting> CREATE TABLE cities ( - city varchar(80) primary key, + name varchar(80)...
Expose option to flip TextureData on load;
@@ -105,7 +105,8 @@ static int l_lovrDataNewTextureData(lua_State* L) { textureData = lovrTextureDataCreate(width, height, 0x0, format); } else { Blob* blob = luax_readblob(L, 1, "Texture"); - textureData = lovrTextureDataCreateFromBlob(blob, true); + bool flip = lua_isnoneornil(L, 2) ? true : lua_toboolean(L, 2); + te...
fsp/dump: Handle non-MPIPL scenario If MPIPL is not enabled then we will not create `/ibm,opal/dump` node and we should continue to parse/retrieve SYSDUMP. I missed this scenario when I fixed similar issue last time :-( Fixes: (fsp: Skip sysdump retrieval only in MPIPL boot)
@@ -830,11 +830,11 @@ static void check_ipl_sys_dump(void) if (!opal_node) return; dump_node = dt_find_by_path(opal_node, "dump"); - if (!dump_node) - return; + if (dump_node) { if (dt_find_property(dump_node, "mpipl-boot")) return; } + } dump_node = dt_find_by_path(dt_root, "ipl-params/platform-dump"); if (!dump_node)...
libhfuzz: order of includes
#include "libhfcommon/common.h" -#include "libhfuzz.h" - #include "libhfcommon/files.h" #include "libhfcommon/log.h" #include "libhfcommon/ns.h" +#include "libhfuzz/libhfuzz.h" #if defined(_HF_ARCH_LINUX)
show target process cmdline in debug mode
@@ -58,6 +58,26 @@ static void show_event_per_sec(h2o_tracer_t *tracer, time_t t0) } } +static void show_process(pid_t pid) +{ + char cmdline[256]; + char proc_file[256]; + snprintf(proc_file, sizeof(proc_file), "/proc/%d/cmdline", pid); + FILE *f = fopen(proc_file, "r"); + if (f == nullptr) { + fprintf(stderr, "Failed...
tests/run-tests: Run CPYTHON3 with -S flag. S is "don't imply 'import site' on initialization". This avoids sys.path minipulation and possibility of importing any module outside CPython standard library. This is required for clean-room testing, as CPython installtion may have user modules named "uio", "utime", etc.
@@ -430,7 +430,7 @@ def run_tests(pyb, tests, args, base_path="."): else: # run CPython to work out expected output try: - output_expected = subprocess.check_output([CPYTHON3, '-B', test_file]) + output_expected = subprocess.check_output([CPYTHON3, '-S', '-B', test_file]) if args.write_exp: with open(test_file_expected...
Updated lux formula for
@@ -501,7 +501,7 @@ static int drv_als_liteon_ltr568_set_default_config(i2c_dev_t* drv) value = LTR568_SET_BITSLICE(value, ALS_CONTR_REG_ALS_SAR, LTR568_ALS_SAR_DISABLE); value = LTR568_SET_BITSLICE(value, ALS_CONTR_REG_ALS_GAIN, LTR568_ALS_GAIN_1X); value = LTR568_SET_BITSLICE(value, ALS_CONTR_REG_IR_EN, LTR568_IR_ENA...
adds extra newline between headers and body
@@ -652,7 +652,7 @@ _cttp_creq_fire(u3_creq* ceq_u) } else { c3_c len_c[41]; - c3_w len_w = snprintf(len_c, 40, "Content-Length: %u\r\n", + c3_w len_w = snprintf(len_c, 40, "Content-Length: %u\r\n\r\n", ceq_u->bod_u->len_w); _cttp_creq_fire_body(ceq_u, _cttp_bod_new(len_w, len_c));
vere: do not use mainnet-proxy for galaxy booting Fallback to the default happens in dawn.c, which correctly points to roller.urbit.org, an endpoint that matches its request/response logic. Continuing to use an Ethereum endpoint instead of an L2 one will just result in 400s, since they don't speak the same language.
@@ -277,9 +277,6 @@ _main_getopt(c3_i argc, c3_c** argv) } } - c3_t imp_t = ((0 != u3_Host.ops_u.who_c) && - (4 == strlen(u3_Host.ops_u.who_c))); - if ( u3_Host.ops_u.gen_c != 0 && u3_Host.ops_u.nuu == c3n ) { fprintf(stderr, "-G only makes sense when bootstrapping a new instance\n"); return c3n; @@ -321,10 +318,6 @@ _...
Remove explicit wasm3.wasm output
@@ -35,7 +35,6 @@ if(WASIENV) set(CMAKE_C_COMPILER "wasicc") set(CMAKE_CXX_COMPILER "wasic++") - set(OUT_FILE "wasm3.wasm") set(APP_DIR "platforms/emscripten") #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Dd_m3LogOutput=0") #set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -flto -Wl,--lto-O3 -Wl,-z,stack-size=8388608")
sample/xgmplayer: fix typo on IMMEDIATLY
@@ -1765,7 +1765,7 @@ static void joyEvent(u16 joy, u16 changed, u16 state) void vint() { // do vblank process directly from the vint callback (easier to manage here) - SYS_doVBlankProcessEx(IMMEDIATLY); + SYS_doVBlankProcessEx(IMMEDIATELY); // set window visible from first row up to row 13 VDP_setWindowVPos(FALSE, 13)...
nrf52dk; add defines to turn on rapid led toggling when in serial bootloader.
@@ -50,6 +50,9 @@ extern uint8_t _ram_start; #define BOOT_SERIAL_DETECT_PIN 13 /* Button 1 */ #define BOOT_SERIAL_DETECT_PIN_CFG HAL_GPIO_PULL_UP #define BOOT_SERIAL_DETECT_PIN_VAL 0 + +#define BOOT_SERIAL_REPORT_PIN LED_BLINK_PIN +#define BOOT_SERIAL_REPORT_FREQ (MYNEWT_VAL(OS_CPUTIME_FREQ) / 4) #endif #define NFFS_AR...
Add NID_id_on_SmtpUTF8Mailbox to table of X.509 attributes
@@ -56,6 +56,7 @@ static const ASN1_STRING_TABLE tbl_standard[] = { {NID_SNILS, 1, 11, B_ASN1_NUMERICSTRING, STABLE_NO_MASK}, {NID_countryCode3c, 3, 3, B_ASN1_PRINTABLESTRING, STABLE_NO_MASK}, {NID_countryCode3n, 3, 3, B_ASN1_NUMERICSTRING, STABLE_NO_MASK}, - {NID_dnsName, 0, -1, B_ASN1_UTF8STRING, STABLE_NO_MASK} + {N...
nrf52820_microbit: set default UART baud rate to 115200
@@ -7,6 +7,7 @@ common: # - DELAY_FAST_CYCLES=2U # Fast delay needed to reach 8MHz SWD clock speed # - DAP_DEFAULT_SWJ_CLOCK=8000000 - BOARD_EXTRA_BUFFER=100 + - CDC_ACM_DEFAULT_BAUDRATE=115200 includes: - source/board/microbitv2/ - source/board/microbitv2/nrf52820/
Simplify ChangeLog entry for mbedtls_mpi_sub_abs fix.
Bugfix - * Fix mbedtls_mpi_sub_abs() to account for the possibility that the output - pointer could equal the first input pointer and if so to skip a memcpy() - call that would be redundant. Reported by Pascal Cuoq using TrustInSoft - Analyzer in #6701; observed independently by Aaron Ucko under Valgrind. + * Fix poten...
build: disable gcc warning stringop-overflow for gcc-10 or greater this warning causes build errors with gcc on ubuntu 22.04 Type: make
@@ -55,6 +55,10 @@ elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU") if (CMAKE_C_COMPILER_VERSION VERSION_LESS MIN_SUPPORTED_GNU_C_COMPILER_VERSION) set(COMPILER_TOO_OLD TRUE) endif() + set(GCC_STRING_OVERFLOW_WARNING_DISABLE_VERSION 10.0.0) + if (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL GCC_STRING_OVERFLOW_WARNING_DISA...
[esp_system]: added __cxx_eh_arena_size_get again * This function has been accidentally removed. It is necessary to provide the emergency exception memory pool size for C++ code. Since our libstdc++ always has exceptions enabled, this function must exist here even if -fno-exception is set for user code.
@@ -138,6 +138,21 @@ static IRAM_ATTR void _Unwind_SetNoFunctionContextInstall_Default(unsigned char static const char* TAG = "cpu_start"; +/** + * This function overwrites a the same function of libsupc++ (part of libstdc++). + * Consequently, libsupc++ will then follow our configured exception emergency pool size. + ...
opae.admin:mtd: address lint errors * Change how 'progress' object is tested as a file type. In Python 3, `open(...)` will return an object deriving from io.IOBase. Python 2 uses a `file` type object.
import fcntl import shutil import struct +import sys from opae.admin.utils.log import loggable from opae.admin.utils.progress import progress +if sys.version_info[0] == 3: + from io import IOBase as _ftype +else: + _ftype = file # noqa (Python 3 will report this as an error) + class mtd(loggable): """mtd encapsulates a...
WebView.executeJS should be available from NodeJS code
@@ -217,8 +217,6 @@ If you open your page in WebView, and after it makes a few jumps by linking (for <DESC>Execute JavaScript on the current page from your controller. For most mobile platforms, WebView.execute_js has been implemented via redirection to URL with 'javascript:' schema. If WebView.execute_js used in an AJ...
Minor style change, import <SceneCollisions /> hooks
-import React from "react"; +import React, { useEffect, useRef } from "react"; import { COLLISION_TOP, COLLISION_ALL, @@ -21,9 +21,9 @@ const SceneCollisions = ({ height, collisions, }: SceneCollisionsProps) => { - const canvas = React.useRef<HTMLCanvasElement>(null); + const canvas = useRef<HTMLCanvasElement>(null); -...
Maybe actually fix?
@@ -101,6 +101,17 @@ void parse_ctx_free(rt_parse_ctx_t *parse_ctx) { free(parse_ctx); } +long expected_row_count(rt_parse_ctx_t *parse_ctx) { + long expected_rows = parse_ctx->file->rows; + if (parse_ctx->args->row_offset > 0) + expected_rows -= parse_ctx->args->row_offset; + if (expected_rows < 0) + expected_rows = 0...
cleanup remove : 24.234.35.55:31333 88.99.254.6:16775 195.201.167.125:16800
5.189.132.84:16775 14.152.81.132:13655 -24.234.35.55:31333 45.76.37.252:13654 47.100.202.206:56600 47.104.147.94:13655 59.110.170.149:13655 82.53.153.199:9998 83.219.150.219:16775 -88.99.254.6:16775 88.198.100.226:13654 92.223.67.30:13655 92.223.72.45:16775 188.214.130.18:16775 192.99.147.126:16775 192.99.147.126:17775...
add moar quasar sysincls
- optional - variant - msl_utility +- source_filter: "^quasar/yandex_io/daemons/src/audiod/speex_port/" + includes: + - fixed_arm4.h + - fixed_arm5e.h + - fixed_bfin.h + - fixed_debug.h + - fixed_generic.h + - config.h + - os_support_custom.h +- source_filter: "^quasar/yandex_io/daemons/src/wifid/wpa_supplicant/" + inc...
Moved patchrepo in build_hipvdi.sh out of condition that checks for existence of a build dir. This will not always be true.
@@ -90,11 +90,11 @@ if [ "$1" == "install" ] ; then $SUDO rm $AOMP_INSTALL_DIR/testfile fi +patchrepo $AOMP_REPOS/$AOMP_HIPVDI_REPO_NAME if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then if [ -d "$BUILD_DIR/build/hipvdi" ] ; then - patchrepo $AOMP_REPOS/$AOMP_HIPVDI_REPO_NAME echo echo "FRESH START , CLEANING UP...
[ctest] put again tripop cdash
@@ -11,8 +11,8 @@ set(CTEST_NIGHTLY_START_TIME "20:00:00 CET") # https is needed on cdash server side set(CTEST_DROP_METHOD "https") -set(CTEST_DROP_SITE "my.cdash.org/") -# set(CTEST_DROP_SITE "cdash-tripop.inrialpes.fr") +#set(CTEST_DROP_SITE "my.cdash.org/") +set(CTEST_DROP_SITE "cdash-tripop.inrialpes.fr") set(CTES...
Configure flake8 For now, disable every check that is violated.
@@ -6,3 +6,38 @@ universal = 0 # -v: verbose output addopts = -s -v testpaths = pysam tests + +[flake8] +max-line-length = 100 +max-complexity = 23 +extend-ignore = E111, E117, E124, E125, E201, E202, E211, E225, E231, E265, E266, E302, E303, E305, E402, E501, E713, E722, E741, F401, F403, F405, F811, F821, F841, W291,...
Fixed an issue interposing __sprintf_chk and __fprintf_chk and passing var args.
@@ -4603,16 +4603,23 @@ pthread_create(pthread_t *thread, const pthread_attr_t *attr, EXPORTON int __fprintf_chk(FILE *stream, int flag, const char *format, ...) { - int rc; va_list ap; - va_start (ap, format); + int rc; - if (g_fn.__fprintf_chk) { - rc = g_fn.__fprintf_chk(stream, flag, format, ap); - } else { - rc = ...
Adding missing header references.
#include <psp2kern/bt.h> #include <psp2kern/ctrl.h> #include <psp2kern/display.h> +#include <psp2kern/power.h> #include <psp2kern/registrymgr.h> #include <psp2kern/sblacmgr.h> #include <psp2kern/sblaimgr.h> #include <psp2kern/sblauthmgr.h> +#include <psp2kern/syscon.h> +#include <psp2kern/uart.h> #include <psp2kern/udc...
Fix leak in key rotation test
@@ -3399,6 +3399,7 @@ void picoquic_delete_cnx(picoquic_cnx_t* cnx) } picoquic_crypto_context_free(&cnx->crypto_context_new); + picoquic_crypto_context_free(&cnx->crypto_context_old); for (picoquic_packet_context_enum pc = 0; pc < picoquic_nb_packet_context; pc++) {
GitHub: Fix fileheader workflow. The workflow must run on the actual change not on the merge in order to detect properly updated file header.
@@ -21,6 +21,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.sha }} - id: files uses: jitterbit/get-changed-files@v1 - name: Check changed files
add low-mem nufft tests
@@ -154,9 +154,41 @@ tests/test-nufft-over: traj phantom resize nufft nrmse +# test low-mem adjoin + +tests/test-nufft-lowmem-adjoint: zeros noise traj nufft nrmse + set -e; mkdir $(TESTS_TMP) ; cd $(TESTS_TMP) ;\ + $(TOOLDIR)/zeros 4 1 128 128 3 z.ra ;\ + $(TOOLDIR)/noise -s321 z.ra n2.ra ;\ + $(TOOLDIR)/traj -r -x128...
build BUGFIX installing removed header
@@ -276,7 +276,7 @@ install(TARGETS sysrepo DESTINATION ${CMAKE_INSTALL_LIBDIR}) install(FILES ${PROJECT_SOURCE_DIR}/src/sysrepo.h ${PROJECT_SOURCE_DIR}/src/sysrepo_types.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) install(FILES ${PROJECT_BINARY_DIR}/version.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/sysrepo) -install(FI...
Multiple reductions enabled.
@@ -43,5 +43,5 @@ int main() /// CHECK: DEVID:[[S:[ ]*]][[DEVID:[0-9]+]] SGN:8 /// CHECK: DEVID:[[S:[ ]*]][[DEVID:[0-9]+]] SGN:8 -/// CHECK: DEVID:[[S:[ ]*]][[DEVID:[0-9]+]] SGN:2 +/// CHECK: DEVID:[[S:[ ]*]][[DEVID:[0-9]+]] SGN:8
[LWIP] fixed select issues: pollset need clean.
@@ -52,7 +52,7 @@ int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struc /* Allocate the descriptor list for poll() */ if (npfds > 0) { - pollset = (struct pollfd *)rt_malloc(npfds * sizeof(struct pollfd)); + pollset = (struct pollfd *)rt_calloc(npfds, sizeof(struct pollfd)); if (!pollset) { r...
[io] add opacity management to contact objects
@@ -410,6 +410,7 @@ class InputObserver(): self.vview = vview self._opacity = 1.0 self._opacity_static = 1.0 + self._opacity_contact = 0.4 self._current_id = vtk.vtkIdTypeArray() self._renderer = vview.renderer self._renderer_window = vview.renderer_window @@ -473,6 +474,13 @@ class InputObserver(): for actor,_,_ in ac...
Remove .txt from ignored file extensions in u_select.py ...since CMakeLists.txt is an important file.
@@ -25,8 +25,9 @@ import u_data # Accesses the instance database # Prefix to put at the start of all prints PROMPT = "u_select: " -# A list of file extensions to throw away -EXT_DISCARD = ["md", "txt", "jpg", "png", "gitignore"] +# A list of file extensions to throw away (note that .txt +# is not included since "CMakeL...
uri_tcp_test when master bind fail we met a display issue about retval
@@ -173,6 +173,8 @@ wait_for_state_change (uri_tcp_test_main_t * utm, connection_state_t state) return 0; if (utm->state == STATE_FAILED) return -1; + if (utm->time_to_stop == 1) + return -1; } clib_warning ("timeout waiting for STATE_READY"); return -1; @@ -736,7 +738,7 @@ vl_api_bind_uri_reply_t_handler (vl_api_bind_...
[libcpu][arm] Add exception install function
extern long list_thread(void); #endif +static rt_err_t (*rt_exception_hook)(void *context) = RT_NULL; + +/** + * This function set the hook, which is invoked on fault exception handling. + * + * @param exception_handle the exception handling hook function. + */ +void rt_hw_exception_install(rt_err_t (*exception_handle)...
Include ID Context in context lookup.
@@ -242,7 +242,9 @@ void coap_receive(OpenQueueEntry_t *msg) { do { if (temp_desc->securityContext != NULL && temp_desc->securityContext->recipientIDLen == rcvdKidLen && - memcmp(rcvdKid, temp_desc->securityContext->recipientID, rcvdKidLen) == 0) { + memcmp(rcvdKid, temp_desc->securityContext->recipientID, rcvdKidLen) ...
landscape: check workspace in channel menu
@@ -34,7 +34,9 @@ export function ChannelMenu(props: ChannelMenuProps) { const history = useHistory(); const { metadata } = association; const app = metadata.module || association["app-name"]; - const baseUrl = `/~landscape${association?.["group-path"]}/resource/${app}${association["app-path"]}`; + const workspace = hi...
hslua-objectorientation: bump version to 2.2.0.1
cabal-version: 2.2 name: hslua-objectorientation -version: 2.2.0 +version: 2.2.0.1 synopsis: Object orientation tools for HsLua description: Expose Haskell objects to Lua with an object oriented interface.
Fixed some minor format issues
@@ -138,7 +138,7 @@ This issue can be solved by instead running ````sh python setup.py install --user --prefix= ```` -The issue is discussed in detail here (https://stackoverflow.com/questions/4495120/combine-user-with-prefix-error-with-setup-py-install) +The issue is discussed in detail [here](https://stackoverflow.co...
Make contrib/android/install_openssl.sh Code of Conduct compliant.
@@ -21,7 +21,6 @@ fi cd openssl-1.1.1d || exit 1 -# Damn OpenSSL devs... They just make the shit up as they go... if ! cp ../contrib/android/15-android.conf Configurations/; then echo "Failed to copy OpenSSL Android config" exit 1
Fix h09server too
@@ -1547,7 +1547,7 @@ int create_sock(Address &local_addr, const char *addr, const char *port, hints.ai_socktype = SOCK_DGRAM; hints.ai_flags = AI_PASSIVE; - if (strcmp("addr", "*") == 0) { + if (strcmp(addr, "*") == 0) { addr = nullptr; }
another try at checking for for maya version 2016.5
@@ -771,8 +771,9 @@ houdiniEngineCreateUI() -imageOverlayLabel "BA" -annotation "Tear off a copy of the asset's current output nodes" -command "houdiniEngine_bakeSelectedAssets"; - int $intVersion = $mayaVersion; - if($intVersion > 2016) { + + if( getApplicationVersionAsFloat() >= 2016.5 ) + { menuItem -label "Freeze A...
tests: fixed lagging ring buffer register function call
@@ -115,7 +115,7 @@ static void test_smart_flush() exit(EXIT_FAILURE); } - ret = flb_ring_buffer_register(rb, evl, window); + ret = flb_ring_buffer_add_event_loop(rb, evl, window); TEST_CHECK(ret == 0); if (ret) { exit(EXIT_FAILURE);
Fix irqtest build
--- irqtest - build library { + build drivermodule { target = "e1000n_irqtest_module", cFiles = [ "e1000n.c", "e1000n_hwinit.c", "e1000n_helpers.c", "test_instr_irqtest.c"], flounderBindings = [ "octopus", "e1000_devif" ], flounderDefs = [ "octopus", "e1000_devif" ], mackerelDevices = [ "e1000" ], - addLibraries = libD...
IAS: fix the ipc counter.
@@ -44,11 +44,13 @@ static void ias_ht_poll_one(struct ias_data *sd, struct thread *th) /* update unpaired IPC metrics */ run_us = ((float)cur_tsc - sd->ht_start_running_tsc[core]) / cycles_per_us; + if (run_us - us < WARMUP_US) + return; + if (!cores[sib]) { idle_us = ((float)cur_tsc - cores_idle_tsc[sib]) / cycles_pe...
fixed syrk_thread.c taken from wernsaar Stride calculation fix copied from
@@ -109,7 +109,7 @@ int CNAME(int mode, blas_arg_t *arg, BLASLONG *range_m, BLASLONG *range_n, int ( if (nthreads - num_cpu > 1) { di = (double)i; - width = ((BLASLONG)( sqrt(di * di + dnum) - di) + mask) & ~mask; + width = (BLASLONG)(( sqrt(di * di + dnum) - di + mask)/(mask+1)) * (mask+1); if ((width <= 0) || (width ...
YAML CPP: Fix Doxygen warning Before this change Doxygen would report the following warning: > found subsection command outside of section context! .
- infos/metadata = - infos/description = This storage plugin reads and writes data in the YAML format +# YAML CPP + ## Introduction The YAML CPP plugin reads and writes configuration data via the [yaml-cpp][] library.
SOVERSION bump to version 2.29.0
@@ -65,8 +65,8 @@ set(LIBYANG_MICRO_VERSION 27) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}) # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) -set(LIBYANG_MINOR_SOVERSION 28) -set(LIBYANG_MICRO_SOVERSION 8) +set(LIBYANG_MINOR_SOVERSION 29) +set(LIBYANG_MICRO...
Enable -Werror for C++ compiler
@@ -451,8 +451,7 @@ if test "x$werror" != "xno"; then # For C++ compiler AC_LANG_PUSH(C++) AX_CHECK_COMPILE_FLAG([-Wall], [CXXFLAGS="$CXXFLAGS -Wall"]) - # TODO separate option for -Werror and warnings? - #AX_CHECK_COMPILE_FLAG([-Werror], [CXXFLAGS="$CXXFLAGS -Werror"]) + AX_CHECK_COMPILE_FLAG([-Werror], [CXXFLAGS="$CX...
update readme documentation for new cmake option
@@ -67,7 +67,8 @@ Dependencies OpenEXR depends on [zlib](https://zlib.net). -PyIlmBase depends on [boost-python](https://github.com/boostorg/python). +PyIlmBase depends on [boost-python](https://github.com/boostorg/python) and +optionally on [numpy](http://www.numpy.org). In OpenEXR_Viewers: @@ -144,9 +145,9 @@ https:/...
in_dummy: fix context/destroy handling when configure fails (CID 164845)
@@ -112,7 +112,6 @@ static int configure(struct flb_in_dummy_config *ctx, &ctx->ref_msgpack, &ctx->ref_msgpack_size); if (ret != 0) { flb_error("[in_dummy] Unexpected error"); - config_destroy(ctx); return -1; } }
Config file parsing more forgiving, just ignores invalid ship names.
=((snag 1 txs) 'public') =((snag 2 txs) 'visible') %- ~(gas in *(set ship)) - %+ turn (slag 3 txs) - (cury slav %p) + %+ murn (slag 3 txs) + (cury slaw %p) -- ++ grad %txt --
MeteoFrance contribution: GRIB spectral complex packing (Added test)
@@ -16,7 +16,6 @@ files="regular_latlon_surface.grib2 \ regular_latlon_surface.grib1" for file in $files; do - infile=${data_dir}/$file outfile1=${infile}_decimalPrecision_1 outfile2=${infile}_decimalPrecision_2 @@ -26,5 +25,15 @@ for file in $files; do ${tools_dir}/grib_set -s changeDecimalPrecision=1 $infile $outfile...
abis/mlibc: add missing struct rusage members
struct rusage { struct timeval ru_utime; struct timeval ru_stime; + long int ru_maxrss; + long int ru_ixrss; + long int ru_idrss; + long int ru_isrss; + long int ru_minflt; + long int ru_majflt; + long int ru_nswap; + long int ru_inblock; + long int ru_oublock; + long int ru_msgsnd; + long int ru_msgrcv; + long int ru_...
Use now shared ECP_PUB_DER_MAX_BYTES define in pk_wrap.c
#include "mbedtls/ecp.h" #endif +#if defined(MBEDTLS_RSA_C) || defined(MBEDTLS_ECP_C) +#include "pkwrite.h" +#endif + #if defined(MBEDTLS_ECDSA_C) #include "mbedtls/ecdsa.h" #endif @@ -564,8 +568,7 @@ static int ecdsa_verify_wrap( void *ctx_arg, mbedtls_md_type_t md_alg, psa_status_t status; mbedtls_pk_context key; int...
common/vboot/vb21_lib.c: Format with clang-format BRANCH=none TEST=none
@@ -52,7 +52,6 @@ const struct vb21_packed_key *vb21_get_packed_key(void) static void read_rwsig_info(struct ec_response_rwsig_info *r) { - const struct vb21_packed_key *vb21_key; int rv; @@ -61,10 +60,14 @@ static void read_rwsig_info(struct ec_response_rwsig_info *r) r->sig_alg = vb21_key->sig_alg; r->hash_alg = vb21...
wicdec,icc: treat unsupported op as non-fatal ICC extraction via GetColorContexts may fail due to the operation not being supported with e.g., bitmaps.
@@ -134,7 +134,10 @@ static HRESULT ExtractICCP(IWICImagingFactory* const factory, IWICColorContext** color_contexts; IFS(IWICBitmapFrameDecode_GetColorContexts(frame, 0, NULL, &count)); - if (FAILED(hr) || count == 0) return hr; + if (FAILED(hr) || count == 0) { + // Treat unsupported operation as a non-fatal error. S...
doc: \123 and \x12 escapes in COPY are in database encoding. The backslash sequences, including \123 and \x12 escapes, are interpreted after encoding conversion. The docs failed to mention that. Backpatch to all supported versions. Reported-by: Andreas Grob Discussion:
@@ -628,12 +628,12 @@ COPY <replaceable class="parameter">count</replaceable> <row> <entry><literal>\</literal><replaceable>digits</replaceable></entry> <entry>Backslash followed by one to three octal digits specifies - the character with that numeric code</entry> + the byte with that numeric code</entry> </row> <row> ...
Fixes framework.c
@@ -974,11 +974,11 @@ celix_status_t fw_startBundle(framework_pt framework, long bndId, int options __ if (createCalled) { destroy(activator->userData, context); } - bundle_setContext(bundle, NULL); - bundle_setActivator(bundle, NULL); + bundle_setContext(entry->bnd, NULL); + bundle_setActivator(entry->bnd, NULL); bund...
Workaround anti replay fail of GnuTLS
@@ -947,6 +947,16 @@ int mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext( uint32_t obfuscated_ticket_age = (uint32_t)( now - session->ticket_received ); + /* Workaround for anti replay fail of GnuTLS server. + * + * The time unit of ticket age is milliseconds, but current unit is + * seconds. If the ticket was...
set irq priority for freertos
@@ -51,7 +51,10 @@ void board_init(void) SysTick_Config(SystemCoreClock / 1000); #elif CFG_TUSB_OS == OPT_OS_FREERTOS // If freeRTOS is used, IRQ priority is limit by max syscall ( smaller is higher ) -// NVIC_SetPriority(USB0_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY ); + NVIC_SetPriority(USB_OTG1_IRQn, confi...
GraphContent: fix emphasis
@@ -260,7 +260,20 @@ const renderers = { </Text> ); }, - + strong: ({ children }) => { + return ( + <Text fontWeight="bold"> + {children} + </Text> + ); + }, + emphasis: ({ children }) => { + return ( + <Text fontStyle="italic" fontSize="1" lineHeight={'20px'}> + {children} + </Text> + ) + }, blockquote: ({ children, t...