message
stringlengths
6
474
diff
stringlengths
8
5.22k
util/iteflash.md: Clarify i2c-pseudo installation After installing i2c-pseudo, servod will need to be restarted. Clarify that in the documentation. TEST=none BRANCH=none
@@ -108,6 +108,8 @@ Reflashing with Servo Micro also requires the * `$ cd src/platform/ec/extra/i2c_pseudo` * `$ ./install` +**NOTE**: You will need to restart servod after installation. + If the above fails, your system may be missing packages necessary for building kernel modules. Consult your Linux distribution's do...
comment out vs2017 pipeline
@@ -8,39 +8,6 @@ trigger: - dev jobs: -- job: - displayName: Windows-2017 - pool: - vmImage: - vs2017-win2016 - strategy: - matrix: - Debug: - BuildType: debug - cmakeExtraArgs: -A x64 -DCMAKE_BUILD_TYPE=Debug -DMI_DEBUG_FULL=ON - MSBuildConfiguration: Debug - Release: - BuildType: release - cmakeExtraArgs: -A x64 -DCM...
inverse of quaternion
@@ -196,6 +196,20 @@ glm_quat_conjugate(versor q, versor dest) { dest[3] = -dest[3]; } +/*! + * @brief inverse of non-zero quaternion + * + * @param[in] q quaternion + * @param[out] dest inverse quaternion + */ +CGLM_INLINE +void +glm_quat_inv(versor q, versor dest) { + versor conj; + glm_quat_conjugate(q, conj); + glm...
avoid of reallocating resource for copy statement in udf
@@ -1499,6 +1499,7 @@ DoCopy(const CopyStmt *stmt, const char *queryString) initStringInfo(&(cstate->executor_err_context)); } + QueryResource *savedResource = NULL; if (is_from) /* copy from file to database */ { bool pipe = (cstate->filename == NULL); @@ -1590,7 +1591,6 @@ DoCopy(const CopyStmt *stmt, const char *que...
sim/alsa: don't let siwtch out when open alsa mixer
@@ -772,12 +772,13 @@ out: static int sim_mixer_open(struct sim_audio_s *priv) { snd_mixer_selem_id_t *sid = NULL; + irqstate_t flags = up_irq_save(); int ret; ret = snd_mixer_open(&priv->mixer, 0); if (ret < 0) { - return ret; + goto fail; } ret = snd_mixer_attach(priv->mixer, "default"); @@ -841,9 +842,11 @@ static i...
unix/mpconfigport_coverage: Enable range (in)equality comparison.
#define MICROPY_ENABLE_SCHEDULER (1) #define MICROPY_PY_DELATTR_SETATTR (1) #define MICROPY_PY_REVERSE_SPECIAL_METHODS (1) +#define MICROPY_PY_BUILTINS_RANGE_BINOP (1) #define MICROPY_PY_BUILTINS_HELP (1) #define MICROPY_PY_BUILTINS_HELP_MODULES (1) #define MICROPY_PY_SYS_GETSIZEOF (1)
BugID:22589103: Fix new line issue.
@@ -38,6 +38,7 @@ def process_component_test(source_directory): components = re.findall(r"COMPONENTS\s+\:\=\s+.+\n", config_mk_str)[0] for name in components.split(" "): + name = name.strip() if name.endswith("_test"): location = name + "_LOCATION\s+\:\=\s+.+" # find all source code files related to test components @@ ...
HW: Adding checks for git executable and repository also to hardware/noHDK_Makefile
@@ -73,6 +73,17 @@ check_donut_settings: echo "Please source donut_settings before calling make!"; \ exit 1; \ fi + @if [ -z `which git 2> /dev/null` ]; then \ + echo "The SNAP framework make process relies on git."; \ + echo "Please make sure that you have installed git and that"; \ + echo "the environment variable PA...
Remove duplicated string.format logic in c_declaration comments
@@ -142,12 +142,13 @@ end -- @returns A syntactically valid variable declaration local function c_declaration(cvar) + local comment if cvar.comment then - return string.format("%s %s /* %s */", cvar.ctyp, cvar.name, - cvar.comment) + comment = string.format(" /* %s */", cvar.comment) else - return string.format("%s %s"...
use CURRENT_SOURCE_DIR instead of SOURCE_DIR in cmake
@@ -237,7 +237,7 @@ endif() include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/compat - ${CMAKE_SOURCE_DIR}/include + ${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_BINARY_DIR}/include ${ONIG_INCLUDE_DIR} ${OPENSSL_INCLUDE_DIR} @@ -406,7 +406,6 @@ message(STATUS "${Blue}CMAKE_BUILD_TYPE${...
travis: Build PYBD_SF2 board as part of the stm32 job.
@@ -33,6 +33,7 @@ jobs: - make ${MAKEOPTS} -C mpy-cross - make ${MAKEOPTS} -C ports/stm32 - make ${MAKEOPTS} -C ports/stm32 BOARD=PYBV11 MICROPY_PY_WIZNET5K=5200 MICROPY_PY_CC3K=1 + - make ${MAKEOPTS} -C ports/stm32 BOARD=PYBD_SF2 - make ${MAKEOPTS} -C ports/stm32 BOARD=STM32F769DISC - make ${MAKEOPTS} -C ports/stm32 B...
Add --dump-on-trap flag
@@ -132,7 +132,7 @@ M3Result repl_dump(IM3Runtime runtime) uint32_t len; uint8_t* mem = m3_GetMemory(runtime, &len, 0); if (mem) { - FILE* f = fopen ("dump.bin", "wb"); + FILE* f = fopen ("wasm3_dump.bin", "wb"); if (!f) { return "cannot open file"; } @@ -237,6 +237,7 @@ int main (int i_argc, const char* i_argv[]) IM3E...
Initialize PSA crypto in test_suite_pk for RSA verify tests
@@ -345,6 +345,8 @@ void mbedtls_pk_check_pair( char * pub_file, char * prv_file, int ret ) { mbedtls_pk_context pub, prv, alt; + USE_PSA_INIT(); + mbedtls_pk_init( &pub ); mbedtls_pk_init( &prv ); mbedtls_pk_init( &alt ); @@ -373,6 +375,7 @@ void mbedtls_pk_check_pair( char * pub_file, char * prv_file, int ret ) mbedt...
sicslowpan: removing unused option SICSLOWPAN_USE_FIXED_HDRLEN
#endif /* SICSLOWPAN_CONF_MAC_MAX_PAYLOAD */ /** \brief Fixed size of a frame header. This value is - * used in case framer returns an error or if SICSLOWPAN_USE_FIXED_HDRLEN - * is defined. - */ + * used in case framer returns an error */ #ifndef SICSLOWPAN_FIXED_HDRLEN #define SICSLOWPAN_FIXED_HDRLEN 21 #endif @@ -15...
Fixed memory leak in module.c.
@@ -228,8 +228,6 @@ void FinalizeModule(BODY *body,CONTROL *control,MODULE *module,int iBody) { iNumModules++; if (body[iBody].bSpiNBody) iNumModules++; - if (body[iBody].bMagmOc) - iNumModules++; if (body[iBody].bEqtide && body[iBody].bStellar) { iNumModuleMulti++; }
nimble/ll/css: Fix updating ref connsm after disconnection We should look for new reference connsm in critical section since ref connsm can be also accessed from isr code.
@@ -2077,6 +2077,7 @@ ble_ll_conn_end(struct ble_ll_conn_sm *connsm, uint8_t ble_err) /* If current connection was reference for CSS, we need to find another * one. It does not matter which one we'll pick. */ + OS_ENTER_CRITICAL(sr); if (connsm == g_ble_ll_conn_css_ref) { SLIST_FOREACH(g_ble_ll_conn_css_ref, &g_ble_ll_...
ble_mesh: example: Fix sensor data wrong iteration
@@ -563,10 +563,11 @@ static void example_ble_mesh_sensor_client_cb(esp_ble_mesh_sensor_client_cb_even if (data_len != ESP_BLE_MESH_SENSOR_DATA_ZERO_LEN) { ESP_LOG_BUFFER_HEX("Sensor Data", data + mpid_len, data_len + 1); length += mpid_len + data_len + 1; + data += mpid_len + data_len + 1; } else { length += mpid_len;...
Release Notes for v1.8
@@ -47,6 +47,7 @@ This table describes all MsQuic releases, both officially supported (LTSC or SAC | PRE | [prerelease/1.5](https://github.com/microsoft/msquic/tree/prerelease/1.5) | N/A | Jul 16 2021 | N/A | N/A | | PRE | [prerelease/1.6](https://github.com/microsoft/msquic/tree/prerelease/1.6) | N/A | Jul 28 2021 | N...
flash: fix comment
@@ -124,7 +124,7 @@ void flash_save(void) { #endif -#ifdef RX_FRSKY //currently starts at address 57 +#ifdef RX_FRSKY //currently starts at address 66 extern frsky_bind_data frsky_bind; for (int i = 0; i < sizeof(frsky_bind_data) / 4; i++) { writeword(i + 66, frsky_bind.raw[i]);
Updated README.md to reflect the latest dependency.
@@ -200,7 +200,7 @@ build GoAccess from source. Distro | NCurses | GeoIP (opt) |GeoIP2 (opt) | OpenSSL (opt) ---------------------- | -----------------|------------------|---------------------- | ------------------- -**Ubuntu/Debian** | libncursesw5-dev | libgeoip-dev | libmaxminddb-dev | libssl-dev +**Ubuntu/Debian** ...
Update LICENSE file (new authors / dates), no other changes
@@ -2,7 +2,7 @@ Libevhtp is available for use under the following license, commonly known as the 3-clause (or "modified") BSD license: ============================== -Copyright (c) 2010-2016 Mark Ellzey & Marcus Sundberg +Copyright (c) 2010-2017 Nathan French, Dan Henderson, Marcus Sundberg Redistribution and use in so...
doc: update decision
@@ -54,6 +54,10 @@ are: ## Decision +Implementation delayed after 1.0. + +Best implementation candidate was: + 1. Provide a function `int genconf (KeySet * ks, Key * errorKey)` where `ks` is filled with a list of all variants with the essential configuration (subkeys `config`) and the changed parts of the contract (sub...
Fix module definition conflicts between LAPACK and ReLAPACK for
@@ -75,10 +75,10 @@ endif () set(SUBDIRS ${BLASDIRS}) if (NOT NO_LAPACK) - list(APPEND SUBDIRS lapack) if(BUILD_RELAPACK) list(APPEND SUBDIRS relapack/src) endif() + list(APPEND SUBDIRS lapack) endif () # set which float types we want to build for @@ -224,6 +224,14 @@ set_target_properties(${OpenBLAS_LIBNAME} PROPERTIE...
Exit janet if `import-rules` fails.
(def currenv (proto-flatten @{} (fiber/getenv (fiber/current)))) (loop [k :keys currenv :when (keyword? k)] (put env k (currenv k))) - (dofile path :env env) + (dofile path :env env :exit true) (when-let [rules (env :rules)] (merge-into (getrules) rules))) #
linkchecker: merge without commit
@@ -199,7 +199,7 @@ linux_task: else git clone https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR git fetch origin pull/$CIRRUS_PR/head:pull/$CIRRUS_PR - git merge --no-ff $CIRRUS_CHANGE_IN_REPO + git merge --no-commit --no-ff $CIRRUS_CHANGE_IN_REPO fi script:
filter_parser: fix multiple parser registration
@@ -94,6 +94,8 @@ static int configure(struct filter_parser_ctx *ctx, { int ret; char *tmp; + struct mk_list *head; + struct flb_config_prop *p; ctx->key_name = NULL; ctx->reserve_data = FLB_FALSE; @@ -105,15 +107,20 @@ static int configure(struct filter_parser_ctx *ctx, if (tmp) { ctx->key_name = flb_strdup(tmp); ctx-...
writes only successfully started servers to .http.ports
@@ -650,8 +650,8 @@ _http_start(u3_http* htp_u) } if ( c3y == htp_u->sec && 0 == tls_u ) { - uL(fprintf(uH, "secure server error %u: no tls config\n", htp_u->sev_l)); - // c3_assert(0); + uL(fprintf(uH, "http: secure server error: no tls config\n")); + htp_u->por_w = 0; return; } @@ -674,6 +674,7 @@ _http_start(u3_http...
The internal comgr for 4.1 is old and does not work, so use external branch amd-stg-open
<project path="roctracer" name="compute/ec/roctracer" /> <project path="ROCgdb" name="compute/ec/rocm-gdb" /> <project path="ROCdbgapi" name="compute/ec/rocm-dbgapi" /> -<project path="rocm-compilersupport" name="lightning/ec/support" /> +<!-- <project path="rocm-compilersupport" name="lightning/ec/support" /> --> <pro...
Switch to v2 URL for offline packages (compressed using shared dictionaries)
@@ -32,7 +32,7 @@ namespace carto { std::string baseURL; if (packageSource.type == "map") { - baseURL = MAP_PACKAGE_LIST_URL + NetworkUtils::URLEncode(packageSource.id) + "/1/packages.json"; + baseURL = MAP_PACKAGE_LIST_URL + NetworkUtils::URLEncode(packageSource.id) + "/2/packages.json"; } else if (packageSource.type ...
Fix an off by one error in zzlStrtod When vlen = sizeof(buf), the statement buf[vlen] = '\0' accessing the buffer buf is an off by one error.
@@ -721,8 +721,8 @@ zskiplistNode *zslLastInLexRange(zskiplist *zsl, zlexrangespec *range) { double zzlStrtod(unsigned char *vstr, unsigned int vlen) { char buf[128]; - if (vlen > sizeof(buf)) - vlen = sizeof(buf); + if (vlen > sizeof(buf) - 1) + vlen = sizeof(buf) - 1; memcpy(buf,vstr,vlen); buf[vlen] = '\0'; return s...
filter: remove unused msgpack macro
@@ -51,9 +51,6 @@ static inline int prop_key_check(char *key, char *kv, int k_len) return -1; } -#define msgpack_pack_append_buffer(user, buf, len) \ - (*(user)->callback)((user)->data, (const char*)buf, len) - /* * If a filter plugin returned a new buffer, we need to replace the * old buffer comming from the input ins...
release GIL while making predictions
@@ -2356,14 +2356,15 @@ cdef class _CatBoost: cpdef _get_float_feature_indices(self): return [feature.FlatFeatureIndex for feature in self.__model.ObliviousTrees.FloatFeatures] - cpdef _base_predict(self, _PoolBase pool, str prediction_type, int ntree_start, int ntree_end, int thread_count, verbose): + cpdef _base_pred...
Update CONTRIBUTING.md with forum information
@@ -20,14 +20,18 @@ Any code added to LittlevGL must be licensed under [MIT](https://choosealicense. If you borrow code from another project, please make sure to add their copyright notice to your contribution. -### Where can I write my question and remarks? +### Where do I ask questions, give feedback, or report bugs?...
[mod_nss] fix acme-tls/1 challenge bootstrap ALPN requires SNI, but ALPN hook appears to be called before SNI hook in NSS, so set flag in ALPN hook, and handle acme-tls/1 ALPN in SNI hook
@@ -1320,14 +1320,7 @@ mod_nss_alpn_select_cb (void *arg, PRFileDesc *ssl, case 3: if (buffer_string_is_empty(hctx->conf.ssl_acme_tls_1)) continue; - if (0 == mod_nss_acme_tls_1(hctx)) hctx->alpn = MOD_NSS_ALPN_ACME_TLS_1; - else { - log_error(hctx->r->conf.errh, __FILE__, __LINE__, - "failed to set acme-tls/1 certific...
hv:fix crash issue when handling HC_NOTIFY_REQUEST_FINISH Input 'vcpu_id' and the state of target vCPU should be validated properly: - 'vcpu_id' shall be less than 'vm->hw.created_vcpus' instead of 'MAX_VCPUS_PER_VM'. - The state of target vCPU should be "VCPU_PAUSED", and reject all other states. Acked-by: Eddie Dong
@@ -548,12 +548,12 @@ int32_t hcall_notify_ioreq_finish(uint16_t vmid, uint16_t vcpu_id) dev_dbg(ACRN_DBG_HYCALL, "[%d] NOTIFY_FINISH for vcpu %d", vmid, vcpu_id); - if (vcpu_id >= MAX_VCPUS_PER_VM) { + if (vcpu_id >= target_vm->hw.created_vcpus) { pr_err("%s, failed to get VCPU %d context from VM %d\n", __func__, vcpu...
Use development specific versions in master Avoids issues like
@@ -47,8 +47,8 @@ typedef long long ssize_t; #define HIREDIS_MAJOR 1 #define HIREDIS_MINOR 0 -#define HIREDIS_PATCH 0 -#define HIREDIS_SONAME 1.0.0-rc1 +#define HIREDIS_PATCH 1 +#define HIREDIS_SONAME 1.0.1-dev /* Connection type can be blocking or non-blocking and is set in the * least significant bit of the flags fie...
session BUGFIX check for errors when generating capabilities Fixes
@@ -1287,6 +1287,9 @@ nc_send_hello_io(struct nc_session *session) sid = NULL; } else { cpblts = nc_server_get_cpblts_version(session->ctx, LYS_VERSION_1); + if (!cpblts) { + return NC_MSG_ERROR; + } io_timeout = NC_SERVER_HELLO_TIMEOUT * 1000; sid = &session->id;
comment - pixwidth - 425
@@ -984,7 +984,8 @@ static void *comment_new(t_symbol *s, int ac, t_atom *av){ x->x_edit = x->x_glist->gl_edit; x->x_textbuf = 0; x->x_rcv_set = x->x_flag = 0; - x->x_pixwidth = x->x_fontsize = x->x_bbpending = x->x_fontface = x->x_bold = x->x_italic = 0; + x->x_pixwidth = 425; + x->x_fontsize = x->x_bbpending = x->x_f...
fix(obj) Add missing getter and setter for user_data * fix(obj) Add missing getter and setter for user_data This is needed for Micropython bindings, which stores a reference to the Python object which wraps the LVGL object. * Added comments to lv_obj_[get/set]_user_data
@@ -263,6 +263,18 @@ void lv_obj_clear_state(lv_obj_t * obj, lv_state_t state); */ void lv_obj_set_base_dir(lv_obj_t * obj, lv_bidi_dir_t dir); +/** + * Set the user_data field of the object + * @param obj pointer to an object + * @param user_data pointer to the new user_data. + */ +#if LV_USE_USER_DATA +static inline ...
page: Use padding when focus an child item
@@ -495,14 +495,14 @@ void lv_page_focus(lv_obj_t * page, const lv_obj_t * obj, lv_anim_enable_t anim_ lv_coord_t scrlable_y = lv_obj_get_y(ext->scrl); lv_coord_t page_h = lv_obj_get_height(page); - lv_coord_t top_err = -(scrlable_y + obj_y); - lv_coord_t bot_err = scrlable_y + obj_y + obj_h - page_h; - lv_style_int_t ...
configurator: update configurator dependencies to latest version update configurator dependencies to latest version
@@ -1014,9 +1014,9 @@ magic-string@^0.25.7: sourcemap-codec "^1.4.4" minimist@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" - integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIX...
CORE: Fix a couple of bugs in algorithm_do_this() The call of ossl_provider_query_operation() used |data->operation_id|, when |cur_operation| should be used. If any ossl_provider_query_operation() call returned NULL, the loop was stopped, when it should just continue on to the next operation.
@@ -37,11 +37,11 @@ static int algorithm_do_this(OSSL_PROVIDER *provider, void *cbdata) cur_operation <= last_operation; cur_operation++) { const OSSL_ALGORITHM *map = - ossl_provider_query_operation(provider, data->operation_id, + ossl_provider_query_operation(provider, cur_operation, &no_store); if (map == NULL) - br...
schema BUGFIX freeing compiled type structure Fix the order of the freeing due to necessary access of one of the components when freeing the default values of the type.
@@ -597,6 +597,14 @@ lysc_type_free(struct ly_ctx *ctx, struct lysc_type *type) if (--type->refcount) { return; } + FREE_ARRAY(ctx, type->exts, lysc_ext_instance_free); + if (type->dflt) { + type->plugin->free(ctx, type->dflt); + lysc_type_free(ctx, type->dflt->realtype); + free(type->dflt); + type->dflt = NULL; + } + ...
SOVERSION bump to version 5.4.10
@@ -45,7 +45,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 5) set(SYSREPO_MINOR_SOVERSION 4) -set(SYSREPO_MICRO_SOVERSION 9) +set(SYSREPO_MICRO_SO...
Fix void returns in windows FFI - address
@@ -687,7 +687,7 @@ JANET_CORE_FN(cfun_ffi_signature, uint32_t ref_stack_count = 0; ret.spec = JANET_WIN64_REGISTER; uint32_t next_register = 0; - if (ret_size != 1 && ret_size != 2 && ret_size != 4 && ret_size != 8) { + if (ret_size != 0 && ret_size != 1 && ret_size != 2 && ret_size != 4 && ret_size != 8) { ret.spec =...
Fixed issue where it would not parse subsequent requests coming from stdin. Specifically requests with the same timestamp upon using --restore.
@@ -2702,8 +2702,6 @@ pre_process_log (GLog * glog, char *line, int dry_run) { cleanup: free_glog (logitem); - ht_insert_last_parse (0, glog->lp); - return ret; } @@ -2884,6 +2882,23 @@ set_initial_persisted_data (GLog * glog, const char *fn) { return 0; } +static void +persist_last_parse (GLog * glog) { + /* insert la...
candump.c: Must not extern optind, et al optined, et al, are not longer simple globals variables (after incubator-nuttx PR 3170). Redundantly externing them in application code now results in compilation errors.
@@ -111,8 +111,6 @@ const int canfd_on = 1; const char anichar[MAXANI] = {'|', '/', '-', '\\'}; const char extra_m_info[4][4] = {"- -", "B -", "- E", "B E"}; -extern int optind, opterr, optopt; - static volatile int running = 1; static void print_usage(char *prg)
optimize pool connection
@@ -123,6 +123,7 @@ static struct pollfd *g_fds; static connection_list_element *g_connection_list_head = NULL; static connection_list_element *g_accept_connection_list_head = NULL; static miner_list_element *g_miner_list_head = NULL; +static uint32_t g_connection_changed = 0; static pthread_mutex_t g_descriptors_mutex...
Test availability of ya tools. This tests that all tools listed in `ya tool --help` are available. `pyndexer` tool seems to be unavailable and unused (last download 6 months ago).
"yp-util": {"description": "Run YP useful stuff"}, "yndexer": {"description": "Run Yndexer"}, "ytyndexer": {"description": "Run YtYndexer"}, - "pyndexer": {"description": "Run Python Yndexer"}, "ymakeyndexer": {"description": "Run ymake ydx converter"}, "transfer-manager": { "description": "Run Transfer Manager client"...
bumped up yp_util
}, "yp-util": { "formula": { - "sandbox_id": [465559857], + "sandbox_id": [479064308], "match": "yp_util" }, "executable": {
Update demand.c Fixing bug in get_category_name when category_name is NULL
@@ -119,7 +119,12 @@ void set_pattern_index(list_node_t *lnode, int pattern_index) char *get_category_name(list_node_t *lnode) // Be advised: caller must free memory returned { - return strdup(get_demand_data(lnode)->category_name); + char *temp = get_demand_data(lnode)->category_name; + + if (temp) + return strdup(tem...
btc: switch feepicker
@@ -63,8 +63,7 @@ export default class Send extends Component { } componentDidMount(){ - // TODO switch this to bitcoin - if (this.props.network === 'testnet'){ + if (this.props.network === 'bitcoin'){ let url = "https://bitcoiner.live/api/fees/estimates/latest"; fetch(url).then(res => res.json()).then(n => { let estim...
Configure: verifying the Ruby library path. An attempt to build a Ruby module for a custom Ruby installation that has the same major version as the system Ruby may unexpectedly cause the use of the system Ruby library. This closes issue on GitHub.
@@ -70,25 +70,31 @@ if /bin/sh -c "$NXT_RUBY -v" >> $NXT_AUTOCONF_ERR 2>&1; then NXT_RUBY_LIBNAME=`$NXT_RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG["RUBY_SO_NAME"])'` NXT_RUBY_LIBSCONF=`$NXT_RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG["LIBS"])'` + NXT_RUBY_LIBPATH=`$NXT_RUBY -r rbconfig -e 'printf("%s",RbCo...
web-ui: refresh tree-view when any change is made
@@ -23,13 +23,12 @@ export default class TreeView extends React.Component { } componentWillReceiveProps = (nextProps) => { - if (this.props.data !== nextProps.data) { - this.setState({ data: nextProps.data }) - } - - if (this.props.kdb !== nextProps.kdb) { // kdb updated - // force re-render of tree view - this.setStat...
config_tools: add passthru devices for logical partition scenario on ehl add passthru devices for logical partition scenario on ehl.
<target_uart_id>1</target_uart_id> </communication_vuart> <pci_devs> - <pci_dev/> - <pci_dev/> + <pci_dev>00:17.0 SATA controller: Intel Corporation Device 4b63 (rev 10)</pci_dev> + <pci_dev>00:1d.1 Ethernet controller: Intel Corporation Device 4ba0 (rev 10)</pci_dev> </pci_devs> <mmio_resources> <TPM2>n</TPM2> <target...
posix: fixed renaming error in cbuffer
@@ -42,7 +42,7 @@ int _cbuffer_write(cbuffer_t *buf, const void *data, size_t sz) hal_memcpy(buf->data + buf->w, data, bytes = min(sz, buf->sz - buf->w)); if (bytes < sz && buf->r) { - buf += bytes; + data += bytes; sz -= bytes; hal_memcpy(buf->data, data, min(sz, buf->r)); bytes += min(sz, buf->r); @@ -70,7 +70,7 @@ i...
fix(docs): Add missing underglow on/off defines
@@ -22,6 +22,8 @@ Here is a table describing the action for each define: | Define | Action | | --------------- | ---------------------------------------------------------------------------------------------- | +| `RGB_ON` | Turns the RGB feature on | +| `RGB_OFF` | Turns the RGB feature off | | `RGB_TOG` | Toggles the ...
docs: Document USB-C alt modes Document the implementation of the USB PD DPM, particularly DP and TBT3 alt modes and USB4. TEST=View rendered Markdown in Gitiles BRANCH=none
@@ -29,7 +29,9 @@ operate in many different modes. This includes but isn't limited to: * USB SuperSpeed mode (up to 4 lanes for USB data) * DisplayPort Alternate Mode (up to 4 lanes for DisplayPort data) * Dock Mode (2 lanes for USB data, and 2 lanes for DisplayPort) + * Thunderbolt 3 (TBT3) Alternate Mode (4 lanes for...
envydis/gf100: Correctly decode (atomic) reduction ops
@@ -1905,10 +1905,10 @@ static struct insn tabm[] = { { 0xf800000000000004ull, 0xf800000000000007ull, N("vset"), PDST, PDSTN, T(vsetop), T(vsrc1), T(us32_6), SRC1, T(vsrc2), T(us32_5), T(vs2), T(setlop) }, - { 0x1000000000000005ull, 0xf800000000000207ull, T(redop), N("u32"), T(gmem), DST }, + { 0x1000000000000005ull, 0...
Add missing headers to Autotools. Fixes
@@ -114,10 +114,14 @@ pkginclude_HEADERS = \ ../../include/libtcod.h \ ../../include/txtfield.h \ ../../include/libtcod_int.h \ + ../../include/libtcod_portability.h \ + ../../include/libtcod_utility.h \ + ../../include/libtcod_version.h \ ../../include/wrappers.h \ ../../include/list.h \ ../../include/zip.h \ ../../in...
apps/nshlib/nsh_netcmds.c: Fix some alignment in output of 'arp -t' command.
@@ -1125,10 +1125,10 @@ int cmd_arp(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) arptab[i].at_ethaddr.ether_addr_octet[5]); #ifdef CONFIG_SYSTEM_TIME64 - nsh_output(vtbl, "%12s %17s 0x%" PRIx64 "\n", + nsh_output(vtbl, "%-12s %-17s 0x%" PRIx64 "\n", ipaddr, ethaddr, (uint64_t)arptab[i].at_time); #else - nsh_outp...
Docker: Install ANTLR in Debian Stretch
@@ -78,6 +78,7 @@ RUN apt-get update \ dnsutils \ virtualenv \ bison \ + uuid-dev \ && rm -rf /var/lib/apt/lists/* RUN cabal update && cabal install hspec QuickCheck @@ -98,6 +99,30 @@ RUN echo '\ /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/\n\ /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/\n' > /etc/ld.so...
Create and install openblas.pc in cmake builds
@@ -227,3 +227,12 @@ install (FILES ${INCLUDE_FILES} DESTINATION include) if(NOT MSVC) install (TARGETS ${OpenBLAS_LIBNAME}_static DESTINATION lib) endif() + +include(FindPkgConfig QUIET) +if(PKG_CONFIG_FOUND) + set(prefix ${CMAKE_INSTALL_PREFIX}) + set(libdir ${CMAKE_INSTALL_PREFIX}/lib) + set(includedir ${CMAKE_INSTA...
Print in s_client/s_server
@@ -230,6 +230,9 @@ static const char *get_sigtype(int nid) case EVP_PKEY_EC: return "ECDSA"; + case NID_ED25519: + return "Ed25519"; + default: return NULL; } @@ -265,13 +268,13 @@ static int do_print_sigalgs(BIO *out, SSL *s, int shared) BIO_puts(out, ":"); sstr = get_sigtype(sign_nid); if (sstr) - BIO_printf(out, "%...
win32: fix alert_play_file
@@ -190,22 +190,25 @@ void alert_vibrate(int duration_ms) { void alert_play_file(char* file_name, char *media_type) { - String path = RHODESAPP().getRhoRootPath() + file_name; + RAWLOGC_INFO("AlertImpl", "OnAlertPlayFile: trying to play file"); + String path = file_name; #if QT_VERSION >= 0x050000 QMediaPlayer* player ...
odissey: make sure server is connected before terminate
@@ -435,9 +435,11 @@ od_router(void *arg) assert(router->clients > 0); router->clients--; + if (machine_connected(server->io)) { if (instance->is_shared) machine_io_attach(server->io); od_backend_terminate(server); + } od_backend_close(server); msg_close->status = OD_ROK;
[CI] sends ctrl-z to work around profiling output hang
@@ -8,17 +8,28 @@ var actions = runner.actions var args = ['-A', '../arvo', '-csgPSF', 'zod', 'zod']; var urbit = new Urbit(args); +// vere hangs (always?) with run in travis-ci with -P +// so we send ^Z if we hang for ~s30 +function exit() { + setTimeout(function(){ + urbit.pty.write('\x1a'); + urbit.pty.on('exit', fu...
Makefile: add -Wno-embedded-directive to Darwin arch
@@ -115,7 +115,8 @@ else ifeq ($(OS),Darwin) -x objective-c -pedantic -fblocks \ -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized \ -Wreturn-type -Wpointer-arith -Wno-gnu-case-range -Wno-gnu-designator \ - -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-attributes + -Wno-deprecated-declarations -W...
Make sure the handler is properly initialized (if initialize wasn't called)
@@ -95,6 +95,7 @@ static VALUE iodine_engine_register2(VALUE self, VALUE engine) { Registry.add(engine); Data_Get_Struct(engine, iodine_engine_s, e); if (e->p) { + e->handler = engine; pubsub_engine_register(e->p); return Qtrue; } @@ -143,6 +144,7 @@ static VALUE iodine_engine_reset2(VALUE self, VALUE engine) { iodine_...
86 PR49 patch
@@ -52,7 +52,6 @@ Source2: mkl_boost_ublas_gemm.hpp Source3: mkl_boost_ublas_matrix_prod.hpp Source100: baselibs.conf Source101: OHPC_macros -Patch1: PR49.patch %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?rhel} BuildRequires: bzip2-devel @@ -98,7 +97,6 @@ see the boost-doc package. %prep %setup -q -n %{pname}_%...
bin: allow a successful exit upon SIGTERM
@@ -149,13 +149,15 @@ static void flb_signal_handler(int signal) case SIGQUIT: case SIGHUP: #endif - case SIGTERM: flb_engine_shutdown(config); #ifdef FLB_HAVE_MTRACE /* Stop tracing malloc and free */ muntrace(); #endif _exit(EXIT_SUCCESS); + case SIGTERM: + flb_engine_exit(config); + break; default: break; }
yin parser BUGFIX use correct value for insubstmt_index in extension
@@ -370,8 +370,9 @@ yin_parse_simple_elements(struct yin_parser_ctx *ctx, struct yin_arg_record *att const char ***values, enum YIN_ARGUMENT arg_type, uint8_t arg_flags, struct lysp_ext_instance **exts) { const char **value; - struct yin_subelement subelems[1] = {{YANG_CUSTOM, NULL, 0}}; LY_ARRAY_NEW_RET(ctx->xml_ctx.c...
x84_64: It's only 'mcontext_t'. Fixes warning: ``` src/x86_64/Gos-linux.c:141:36: warning: initialization from incompatible pointer type struct mcontext_t *sc_mcontext = &((struct ucontext*)sc)->uc_mcontext; ^ ``` Introduced-in:
@@ -138,7 +138,7 @@ x86_64_sigreturn (unw_cursor_t *cursor) { struct cursor *c = (struct cursor *) cursor; struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr; - struct mcontext_t *sc_mcontext = &((struct ucontext*)sc)->uc_mcontext; + mcontext_t *sc_mcontext = &((struct ucontext*)sc)->uc_mcontext; /* Copy ...
Updated FW inconsistent message to align with what the FW diagnostic test reports
//Fw #string STR_FW_SUCCESS #language en "The firmware consistency and settings check succeeded." #string STR_FW_NO_MANAGEABLE_DIMMS #language en "The firmware consistency and settings check detected that there are no manageable DCPMMs." -#string STR_FW_INCONSISTENT #language en "The firmware consistency and settings c...
kernel/sim-armv7: Fix os_arch_frame_init symbol type Without symbol type GNU ld does not properly detect call to ARM code from Thumb code and does not generate proper instruction to switch modes which results in a crash.
.p2align 4, 0x90 /* align on 16-byte boundary and fill with NOPs */ .globl os_arch_frame_init + .type os_arch_frame_init, %function /* * void os_arch_frame_init(struct stack_frame *sf) */
test: add a test of jqbs-gen
@@ -143,3 +143,13 @@ add_executable(test-jqbs.exe common/json-printf.c test/test-jqbs.c) target_link_libraries(test-jqbs.exe m) + +add_executable(test-jqbs-gen.exe + common/orka-utils.c + common/json-actor.c + common/ntl.c + common/json-string.c + common/json-scanf.c + common/json-printf.c + test/test-jqbs-gen.c) +targ...
doc: clarify locking and async of OPAL_SENSOR_READ Reported-by: Robert Lippert
@@ -11,6 +11,9 @@ service processor for example. In this case, the call will return OPAL_ASYNC_COMPLETION and the token parameter will be used to wait for the completion of the request. +The OPAL API doesn't enforce alimit on the number of sensor calls that can +be in flight. + Parameters ---------- @@ -32,7 +35,9 @@ O...
Notifications: Disable test on ASAN enabled Linux Currently the ASAN enabled Linux build reports some memory leaks in the test `testlib_notification`. This commit addresses issue
include (LibAddMacros) -if (BUILD_TESTING) +set (ASAN_LINUX (ENABLE_ASAN AND CMAKE_SYSTEM_NAME MATCHES "Linux")) + +if (BUILD_TESTING AND NOT ${ASAN_LINUX}) add_headers (HDR_FILES) @@ -28,4 +30,4 @@ if (BUILD_TESTING) endforeach (file ${TESTS}) -endif (BUILD_TESTING) +endif (BUILD_TESTING AND NOT ${ASAN_LINUX})
add MI_SECURE_FULL=ON as a cmake option to include double free mitigation
@@ -10,6 +10,7 @@ option(MI_SEE_ASM "Generate assembly files" OFF) option(MI_CHECK_FULL "Use full internal invariant checking in DEBUG mode" OFF) option(MI_USE_CXX "Use the C++ compiler to compile the library" OFF) option(MI_SECURE "Use security mitigations (like guard pages and randomization)" OFF) +option(MI_SECURE_F...
android-x86 target: Add -latomic Fixes again after being broken by CLA: trivial
@@ -261,6 +261,7 @@ my %targets = ( bn_ops => add("RC4_INT"), asm_arch => 'x86', perlasm_scheme => "android", + ex_libs => add(threads("-latomic")), }, "android-x86_64" => { inherit_from => [ "android" ],
Mention SCRCPY_ICON_PATH envvar in README
@@ -830,6 +830,8 @@ To override the path of the `scrcpy-server` file, configure its path in [useful]: https://github.com/Genymobile/scrcpy/issues/278#issuecomment-429330345 +To override the icon, configure its path in `SCRCPY_ICON_PATH`. + ## Why _scrcpy_?
Trying to solve badges link in README.
<a href="https://github.com/metacall/core/blob/master/README.md#install">Install</a> | <a href="https://github.com/metacall/core/blob/master/docs/README.md">Docs</a> </div> -<div align="center"> - <a href="#badges"></a> - +<div id="badges" align="center"> <a href="https://t.me/joinchat/BMSVbBatp0Vi4s5l4VgUgg" alt="Disc...
Document sleep in 32Blit.cpp
@@ -657,6 +657,8 @@ int main(int argc, char *argv[]) } printf("Sending complete.\n"); + // Add a short delay to avoid PROG and SAVE hanging at 99% complete + // See https://github.com/pimoroni/32blit-beta/pull/154 #ifdef WIN32 Sleep(1000); #else
Adjust TERM socket object size
@@ -765,9 +765,9 @@ DILL_EXPORT int ws_response_key( /******************************************************************************/ #if defined(__i386__) -# define TERM_SIZE 44 +# define TERM_SIZE 68 #else -# define TERM_SIZE 128 +# define TERM_SIZE 104 #endif DILL_EXPORT int term_attach(
Remove unused check that data has finished loading
@@ -1785,11 +1785,6 @@ void Script_TextWithAvatar_b() { } UBYTE ScriptLastFnComplete_b() { - /* - if (last_fn == Script_LoadData_b && !fading) { - return TRUE; - } - */ /* if (last_fn == Script_CameraMoveTo_b && SceneCameraAtDest()) {
Update e100.cpp Alaska generator supports delay equal to 0.
@@ -119,7 +119,7 @@ void e100::external_loopback(uint32_t source_port, uint32_t destination_port) } if (packet_length_ > 0) eth_->write(eth_ctrl_reg::gen_pkt_length, source_port, packet_length_); - if (packet_delay_ > 0) eth_->write(eth_ctrl_reg::gen_pkt_delay, source_port, packet_delay_); + if (packet_delay_ >= 0) eth...
Allow confirm of tentative slot.
@@ -343,28 +343,30 @@ imgmgr_state_write(struct mgmt_cbuf *cb) return MGMT_ERR_EINVAL; } - /* Validate arguments. */ - if ((hash_len == 0) && !confirm) { + /* Determine which slot is being operated on. */ + if (hash_len == 0) { + if (confirm) { + slot = 0; + } else { + /* A 'test' without a hash is invalid. */ return M...
[imgui] Remove XInput dependency
@@ -20,7 +20,7 @@ target("RED4ext") add_includedirs("vendor/RED4ext/src/red4ext.sdk/", { public = true }) target("cyber_engine_tweaks") - add_defines("KIERO_USE_MINHOOK=1", "KIERO_INCLUDE_D3D12=1") + add_defines("KIERO_USE_MINHOOK=1", "KIERO_INCLUDE_D3D12=1", "IMGUI_IMPL_WIN32_DISABLE_GAMEPAD") set_kind("shared") set_f...
nrf: Clean up source by removing tabs, trailing spaces, non-ASCII chars.
@@ -299,8 +299,7 @@ void HardFault_Handler(void) reg = SCB->HFSR; reg2 = SCB->CFSR; bfar = SCB->BFAR; - for (int i = 0; i < 0; i++) - { + for (int i = 0; i < 0; i++) { (void)reg; (void)reg2; (void)bfar;
testing sleep to address nginx test failures
@@ -13,7 +13,9 @@ class TestGetUrl(ApplicationTest): self.url = url def do_run(self, scoped): + time.sleep(5) benchmark_results = run_apache_benchmark(url=self.url, requests=self.requests) + time.sleep(5) test_result = validate_ab(benchmark_results) @@ -36,8 +38,9 @@ class TestPostToUrl(ApplicationTest): self.post_file...
[voting-reward] prevent seg. fault
@@ -367,7 +367,11 @@ func (tv *topVoters) powerOf(addr types.AccountID) *big.Int { } func (tv *topVoters) lowest() *votingPower { - return tv.members.Right().Value.(*votingPower) + lowest := tv.members.Right() + if lowest == nil { + return nil + } + return lowest.Value.(*votingPower) } func (tv *topVoters) update(v *vo...
Leaf: Use array conversion in `set` direction
@@ -355,16 +355,25 @@ int LeafDelegate::convertToDirectories (CppKeySet & keys) int LeafDelegate::convertToLeaves (CppKeySet & keys) { CppKeySet notArrayParents; + CppKeySet arrayParents; + CppKeySet arrays; CppKeySet directories; CppKeySet leaves; - tie (ignore, notArrayParents) = splitArrayParentsOther (keys); + tie ...
parser: fix fractional tz parser for format 'hh:mm'
@@ -690,6 +690,7 @@ int flb_parser_time_lookup(char *time_str, size_t tsize, int flb_parser_frac_tzone(char *str, int len, double *frac, int *tmdiff) { int ret; + int tz_len; char *p; char *end; double d; @@ -700,11 +701,13 @@ int flb_parser_frac_tzone(char *str, int len, double *frac, int *tmdiff) return -1; } *frac =...
Assume values fresh with greater delay since some reporting uses 300 as max report timeout
@@ -282,7 +282,7 @@ void PollManager::pollTimerFired() { NodeValue &val = restNode->getZclValue(clusterId, attrId); - if (val.timestampLastReport.isValid() && val.timestampLastReport.secsTo(now) < 240) + if (val.timestampLastReport.isValid() && val.timestampLastReport.secsTo(now) < 360) { fresh++; }
moonbuggy: enable ADS control interrupt enable interrupt handle power sequence control pin 5v: ADS_5VS_V2_ADP_PRESENT_L 12v: BJ_ADP_PRESENT_L BRANCH=cros/main TEST=build BOARD PASS and EE check is PASS.
@@ -382,6 +382,11 @@ static void board_init(void) */ if (board_version < 2) button_disable_gpio(BUTTON_RECOVERY); + + /* ADS GPIO interrupt enable*/ + gpio_enable_interrupt(GPIO_ADS_5VS_V2_ADP_PRESENT_L); + gpio_enable_interrupt(GPIO_BJ_ADP_PRESENT_L); + } DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
sim: remove unused variable in sim_saveusercontext()
({ \ irqstate_t flags = up_irq_flags(); \ uint32_t *env = (uint32_t *)saveregs + JB_FLAG; \ - int ret; \ \ env[0] = flags & UINT32_MAX; \ env[1] = (flags >> 32) & UINT32_MAX; \ \ - ret = setjmp(saveregs); \ - ret; \ + setjmp(saveregs); \ }) #define sim_fullcontextrestore(restoreregs) \ do \
set handshakecounter to 0 on multiple cap input
@@ -1901,6 +1901,7 @@ reassociationresponseframecount = 0; authenticationframecount = 0; deauthenticationframecount = 0; disassociationframecount = 0; +handshakecount = 0; actionframecount = 0; atimframecount = 0; eapolframecount = 0; @@ -2098,7 +2099,7 @@ printf("%s %s (C) %s ZeroBeat\n" "0100 M3\n" "1000 M4\n" "\n" -...
Build: Export make
@@ -243,3 +243,4 @@ jobs: COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} COVERITY_SCAN_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }} COVERITY_BUILD_COMMAND: ../build_oc.tool --skip-tests --skip-package RELEASE + MAKE: /usr/bin/make
http: implement receive_request in c
#include "h2olog.h" +const char *HTTP_BPF = R"( +enum { + HTTP_EVENT_RECEIVE_REQ +}; + +struct event_t { + uint8_t type; + uint64_t conn_id; + uint64_t req_id; + union { + uint32_t http_version; + }; +}; + +BPF_PERF_OUTPUT(events); + +int trace_receive_request(struct pt_regs *ctx) { + struct event_t ev = {}; + ev.type ...
do not return on error from requie_uri
@@ -1423,8 +1423,6 @@ htp__require_uri_(evhtp_connection_t * c) if (c != NULL && c->request != NULL && c->request->uri == NULL) { evhtp_assert(htp__uri_new_(&c->request->uri) == 0); - - return -1; } return 0;