message
stringlengths
6
474
diff
stringlengths
8
5.22k
os/svcall: Fix TZ context handling issue TZ context is freed but not updated in the task tcb. This will lead to reuse of old freed context. So, we set the tz_context in tcb to NULL.
@@ -568,6 +568,7 @@ int up_svcall(int irq, FAR void *context, FAR void *arg) case SYS_free_securecontext: { /* Free the secure context. */ TZ_FreeModuleContext_S(rtcb->tz_context); + rtcb->tz_context = NULL; } break; #endif
chat-js: fix unread indicators on small screens fixes
@@ -302,7 +302,7 @@ export class ChatScreen extends Component { <> {messageElem} <div key={'unreads'+ msg.uid} ref={this.setUnreadMarker} className="mv2 green2 flex items-center f9"> - <hr className="ma0 w2 b--green2 bt-0" /> + <hr className="dn-s ma0 w2 b--green2 bt-0" /> <p className="mh4"> New messages below </p>
Fix atomic_win32.h for VS2015 VS2015 issues this: atomic_win32.h(32): error: expected a ")" atomic_win32.h(32): error: expected an identifier atomic_win32.h(32): error: expected a ";"
@@ -29,7 +29,7 @@ namespace __atomic { template <typename _Tp> _Tp __create(); template <typename _Tp, typename _Td> -enable_if_t<sizeof(_Tp() = __create<_Td>()), char> +enable_if_t<sizeof(__create<_Tp>() = __create<_Td>()), char> __test_atomic_assignable(int); template <typename _Tp, typename _Up> __two __test_atomic_...
HW: Fixing direct access mode
@@ -1180,7 +1180,7 @@ BEGIN mmj_c_o.exploration_done <= exploration_done_q; mmj_c_o.max_sat <= to_integer(unsigned(snap_regs_q(SNAP_STATUS_REG)(SNAP_STAT_MAX_SAT_L DOWNTO SNAP_STAT_MAX_SAT_R))); mmj_c_o.last_seqno <= '1' WHEN context_seqno_hw_dout(CTX_SEQNO_CURRENT_INT_L DOWNTO CTX_SEQNO_CURRENT_INT_R) = context_seqno_...
admin/lmod: test explicitly calling out lua variant for Leap 15
@@ -42,8 +42,9 @@ BuildRequires: procps-ng Requires: lua-filesystem Requires: lua-posix %else -BuildRequires: lua-luafilesystem -BuildRequires: lua-luaposix +# SUSE Leap +BuildRequires: lua53-luafilesystem +BuildRequires: lua53-luaposix %endif BuildRequires: rsync
[platone][tests]changed tcase_platone.h file
#include "check.h" #include "boatlog.h" #include "boatiotsdk.h" -#include "boatiotsdk.h" +#include "protocolapi/api_platone.h" + +extern char g_platone_private_key_buf[1024]; +extern BoatKeypairPriKeyCtx_config g_keypair_config; +extern BoatPlatoneNetworkConfig g_platone_network_config; +extern BUINT8 g_binFormatKey[32...
[OpenGL] custom font file
#include "cpu.h" #include "mesa/util/macros.h" #include "mesa/util/os_time.h" +#include "file_utils.h" #include <chrono> #include <iomanip> @@ -104,12 +105,17 @@ void imgui_create(void *ctx) if (!font_size) font_size = 24; + if (!params.font_file.empty() && file_exists(params.font_file)) { + state.font = io.Fonts->AddF...
put title and id in collections updates
^- {tar/name:hall msg/cord} ::TODO :: + :: put post id and title in post message + =/ lin %- crip + ;: weld + (scow %da top) + "|" + %- trip + =< tit.info + %- need + (ta-get-topic col top) + == :: this can't be the best way to switch on top v com? ?~ com - [(circle-for col) 'TODO'] - [(circle-for-topic col top) 'TODO'...
[mod_webdav] clean up resources after do{}while(0)
@@ -4949,12 +4949,12 @@ mod_webdav_lock (connection * const con, const plugin_config * const pconf) } } + do { /*(resources are cleaned up after code block)*/ + if (NULL == lockdata.lockscope || NULL == lockdata.locktype) { /*(missing lockscope and locktype in lock request)*/ http_status_set_error(con, 422); /* Unproce...
Reset the module to the function on import end
@@ -1101,6 +1101,9 @@ static InterpretResult run(VM *vm) { } else { setcurrentFile(vm, "", 0); } + + vm->lastModule = frame->closure->function->module; + DISPATCH(); }
Provide 'config.rfconnected' and 'config.fwversion' for easier debugging.
@@ -591,7 +591,6 @@ void DeRestPluginPrivate::configToMap(const ApiRequest &req, QVariantMap &map) if (req.apiVersion() == ApiVersion_1_DDEL) { - map["rfconnected"] = gwRfConnected; map["permitjoin"] = (double)gwPermitJoinDuration; map["permitjoinfull"] = (double)gwPermitJoinResend; map["otauactive"] = isOtauActive(); ...
Fix bug with wrong read after write in STM32 I2C
@@ -302,6 +302,11 @@ HRESULT Library_win_dev_i2c_native_Windows_Devices_I2c_I2cDevice::NativeTransmit // get the size of the buffer by reading the number of elements in the CLR_RT_HeapBlock_Array palI2c->WriteSize = writeBuffer->m_numOfElements; } + else + { + // nothing to write, have to zero this + palI2c->WriteSize ...
[core] fix regex condition subst w/ mod_extforward (fixes x-ref: "1.4.40 regression: regexp subst vars mangled by config-glue condition caching"
@@ -603,8 +603,17 @@ static void config_cond_clear_node(server *srv, connection *con, data_config *dc if (con->cond_cache[dc->context_ndx].result != COND_RESULT_UNSET) { size_t i; + #if 0 + /* (redundant; matches not relevant unless COND_RESULT_TRUE) */ + switch (con->cond_cache[dc->context_ndx].local_result) { + case ...
Add dummy versions of new SSL functions for non-SSL builds This rectifies an oversight in commit which caused certain builds to fail, especially on Windows.
@@ -432,6 +432,24 @@ PQsslAttributeNames(PGconn *conn) return result; } + +PQsslKeyPassHook_type +PQgetSSLKeyPassHook(void) +{ + return NULL; +} + +void +PQsetSSLKeyPassHook(PQsslKeyPassHook_type hook) +{ + return; +} + +int +PQdefaultSSLKeyPassHook(char *buf, int size, PGconn *conn) +{ + return 0; +} #endif /* USE_SSL...
extmod/Matrix: return 1x1 matrix as scalar
@@ -515,6 +515,11 @@ STATIC mp_obj_t robotics_Matrix__mul(mp_obj_t lhs_obj, mp_obj_t rhs_obj) { } } + // If the result is a 1x1, return as scalar. + if (ret->m == 1 && ret->n == 1) { + return mp_obj_new_float_from_f(ret->data[0] * ret->scale); + } + return MP_OBJ_FROM_PTR(ret); }
[fabric][tests]add walletDeInit tests
@@ -522,6 +522,9 @@ START_TEST(test_003CreateWallet_0001CreateOneTimeWalletSuccess) ck_assert_int_eq(memcmp(g_fabric_wallet_ptr->account_info.prikeyCtx.pubkey_content, pubkey256R1, sizeof(pubkey256R1)), 0); rtnVal = fabric_checkNetworkData(g_fabric_wallet_ptr->network_info, networkConfig, 0); + + BoatHlfabricWalletDeIn...
Don't run if DAG root.
@@ -134,6 +134,11 @@ void cjoin_task_cb() { // don't run if not synch if (ieee154e_isSynch() == FALSE) return; + // don't run if DAG root + if (idmanager_getIsDAGroot() == TRUE) { + return; + } + // don't run if no route to DAG root if (icmpv6rpl_getPreferredParentIndex(&temp) == FALSE) { return; @@ -144,16 +149,9 @@ v...
Replace printf with print
@@ -42,7 +42,7 @@ try: if git_branch.index('develop') >= 0: version = "latest-develop" except Exception: - printf("Exception for index check") + print("Exception for index check") # For debugging purpose print("GIT BRANCH: " + git_branch)
examples: encoder_ctrl comment update
* Create a simple GUI to demonstrate how to control it with an encoder * using 'lv_group'. * + * Be sure in lv_conf.h: + * - LV_OBJ_GROUP 1 to enable groups + * - LV_APP_ENABLE 0 to disable applications because they might bother now + * * lv_group: * - you can create groups and add object to them * - it can be a focuse...
MPLS: cannot delete a path from the CLI
@@ -428,7 +428,7 @@ vnet_mpls_local_label (vlib_main_t * vm, } else { - fib_node_index_t lfe, fib_index; + fib_node_index_t fib_index; u32 fi; if (NULL == rpaths) @@ -469,6 +469,17 @@ vnet_mpls_local_label (vlib_main_t * vm, goto done; } + if (is_del) + { + fib_table_entry_path_remove2(fib_index, + &pfx, + FIB_SOURCE_C...
QLOGvis relative time support has been fixed so we can use it now
@@ -594,7 +594,6 @@ int qlog_connection_start(uint64_t time, const picoquic_connection_id_t * cid, i svg_context_t * ctx = (svg_context_t*)ptr; FILE * f = ctx->f_txtlog; - ctx->start_time = 0; // appctx->log_time; ctx->packet_count = 0; fprintf(f, "{ \"qlog_version\": \"draft-00\", \"title\": \"picoquic\", \"traces\": ...
For provided ciphers, EVP_CIPHER_CTX_ctrl() with EVP_CTRL_INIT always returns 1 This control command should never be used with provided methods, but since this is publically available, someone might still make the mistake. We make sure it returns 1 so as not to be overly disruptive.
@@ -1089,8 +1089,16 @@ int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) ptr, sz); break; + case EVP_CTRL_INIT: + /* + * TODO(3.0) EVP_CTRL_INIT is purely legacy, no provider counterpart + * As a matter of fact, this should be dead code, but some caller + * might still do a direct control call ...
Hexcolor Plugin: Implement rgb -> rgba expansion
* */ -#include <stdlib.h> #include "hexcolor.h" #include <kdberrors.h> #include <kdbhelper.h> #include <kdbtypes.h> #include <regex.h> +#include <stdlib.h> typedef enum { @@ -44,7 +44,8 @@ static HexVariant is_valid_key (Key * key, Key * parentKey) } int len = strlen (value); - switch(len) { + switch (len) + { case 4: ...
Bump version for 16.0-2 dev.
@@ -19,7 +19,7 @@ ROCM_VERSION=${ROCM_VERSION:-5.0.0} # Set the AOMP VERSION STRING AOMP_VERSION=${AOMP_VERSION:-"16.0"} -AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"1"} +AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"2"} AOMP_VERSION_STRING=${AOMP_VERSION_STRING:-"$AOMP_VERSION-$AOMP_VERSION_MOD"} export AOMP_VERSION_STRING AOMP_VER...
Put entire bucket_agg hashtable in executor-level memory context
@@ -314,12 +314,13 @@ bucket_agg_startup(FunctionCallInfo fcinfo) Oid type = AggGetInitialArgType(fcinfo); HASHCTL hctl; + old = MemoryContextSwitchTo(fcinfo->flinfo->fn_mcxt); + MemSet(&hctl, 0, sizeof(hctl)); hctl.hcxt = CurrentMemoryContext; hctl.keysize = sizeof(uint64); hctl.entrysize = sizeof(SetElement); - old =...
Apparently there isn't a default CLA
@@ -101,6 +101,6 @@ These are the features that have been requested so far. Even if any of them are ## License -The project requires that all the code is licensed under the MIT license. Please refrain from using or offering code that required a change to the licensing scheme. +The project requires that all the code is ...
board/delbin/board.c: Format with clang-format BRANCH=none TEST=none
@@ -314,23 +314,22 @@ static void ps8815_reset(int port) } gpio_set_level(ps8xxx_rst_odl, 0); - msleep(GENERIC_MAX(PS8XXX_RESET_DELAY_MS, - PS8815_PWR_H_RST_H_DELAY_MS)); + msleep(GENERIC_MAX(PS8XXX_RESET_DELAY_MS, PS8815_PWR_H_RST_H_DELAY_MS)); gpio_set_level(ps8xxx_rst_odl, 1); msleep(PS8815_FW_INIT_DELAY_MS); CPRINT...
parser xml BUGFIX minor fixes
@@ -1033,12 +1033,13 @@ lydxml_env_netconf_eventtime_validate(const struct lyd_node *node) const struct lys_module *mod; LY_ARRAY_COUNT_TYPE u; struct ly_err_item *err = NULL; - struct lysp_type *type_p; + struct lysp_type *type_p = NULL; struct lysc_pattern **patterns = NULL; const char *value; /* get date-and-time pa...
Enable fused core mode support in OPAL Previous commit added check for fused core mode and bailed out. The check can be removed since fused core mode is now supported in OPAL.
@@ -1284,10 +1284,6 @@ void __noreturn __nomcount main_cpu_entry(const void *fdt) /* Install the OPAL Console handlers */ init_opal_console(); - if(is_fused_core(mfspr(SPR_PVR))) { - prerror("CPU: Detected unsupported fused core mode\n"); - abort(); - } /* * Some platforms set a flag to wait for SBE validation to be * ...
Add variance penalty to late observations
@@ -498,23 +498,32 @@ void survive_kalman_tracker_integrate_observation(PoserData *pd, SurviveKalmanTr tracker->model.t = time; } + FLT R[] = {tracker->obs_pos_var, tracker->obs_pos_var, tracker->obs_pos_var, tracker->obs_rot_var, + tracker->obs_rot_var, tracker->obs_rot_var, tracker->obs_rot_var}; + if (oR) { + addnd(...
Extend build.yml with cache layer for libunwind
@@ -275,6 +275,15 @@ jobs: key: ${{ runner.os }}-${{ steps.env.outputs.arch }}-musl-${{ hashFiles('contrib/Makefile', 'contrib/musl/**') }} upload-chunk-size: 1000000 + # Cache the libunwind build. Use a key based on a hash of all the files + # used in the build. + - name: Setup libunwind Cache + uses: actions/cache@v3...
nvhw/xf: Fix LT rcp function.
@@ -877,8 +877,8 @@ uint32_t pgraph_celsius_lt_rcp(uint32_t x) { abort(); fx += 0x800000; fx >>= 10; - uint64_t s0 = pgraph_celsius_xf_rcp_lut[x >> 7 & 0x3f]; - uint64_t s1 = ((1u << 21) - s0 * x) * s0 >> 14; + uint64_t s0 = pgraph_celsius_xf_rcp_lut[fx >> 7 & 0x3f]; + uint64_t s1 = ((1u << 21) - s0 * fx) * s0 >> 14; s...
jna: error code test fix
@@ -13,15 +13,10 @@ public class ErrorCodeTest { private Key parentKey = Key.create("user/tests/javabinding"); private final String errorMeta = "trigger/error"; private final String warningMeta = "trigger/warnings"; - private NativeElektraPlugin errorPlugin; - - @Before - public void setup(){ - errorPlugin = new Native...
story: |story-set: better error message on missing desk
:: =/ our p.bec =? desk =(*^desk desk) q.bec :: use current desk if user didn't provide +?: !(~(has in .^((set ^desk) %cd /(scot %p our)/$/(scot %da now))) desk) + ~& >> "Error: desk {<desk>} does not exist." + helm-pass+[%d %noop ~] =? cas =(*case cas) da+now :: use current commit if cas not provided + =/ tak .^(tako:...
Return OE_BUFFER_TOO_SMALL after initializing collateral as much as possible
@@ -158,6 +158,11 @@ oe_result_t oe_get_quote_verification_collateral_ocall( oe_get_sgx_quote_verification_collateral_args_t args = {0}; bool buffer_too_small = false; + /* The value of any_buffer_too_small will be true if any buffer_too_small + * value becomes true. It is used to prevent terminating the collateral + *...
try blas lib finder
@@ -166,10 +166,8 @@ cd src --with-lapack-libs="mkl_core mkl_intel_lp64 mkl_sequential" \ --with-lapack-lib-dirs=$MKLROOT/intel64/lib \ %else - --with-blas-libs=openblas \ - --with-blas-lib-dirs=$OPENBLAS_LIB \ - --with-lapack-libs=openblas \ - --with-lapack-lib-dirs=$OPENBLAS_LIB \ + --with-blas \ + --with-lapack \ %e...
Fix ALIGNED keyword and grow alignment to 64B
@@ -375,8 +375,8 @@ void kvz_quant_flat_avx2(const encoder_state_t * const state, coeff_t *coef, coe if (!encoder->cfg.signhide_enable || ac_sum < 2) return; - coeff_t coef_reord[LCU_WIDTH * LCU_WIDTH >> 2] ALIGNED(32); - coeff_t q_coef_reord[LCU_WIDTH * LCU_WIDTH >> 2] ALIGNED(32); + ALIGNED(64) coeff_t coef_reord[LCU...
mapkit sdk 4 ios
@@ -54,7 +54,13 @@ ELSEIF (OS_DARWIN) ) ELSEIF (OS_IOS) # protobuf 2.6.1 + IF (HOST_OS_LINUX) DECLARE_EXTERNAL_RESOURCE(MAPKIT_SDK sbr:666724415) + ELSEIF (HOST_OS_DARWIN) + DECLARE_EXTERNAL_RESOURCE(MAPKIT_SDK sbr:731932280) + ELSE() + MESSAGE(FATAL_ERROR Unsupported platform) + ENDIF() CFLAGS( GLOBAL "-I$MAPKIT_SDK_R...
examples/nxhello/nxhello_main.c: Fix trivial typo in printf statement.
@@ -228,7 +228,7 @@ int nxhello_main(int argc, char *argv[]) ret = nx_requestbkgd(g_nxhello.hnx, &g_nxhellocb, NULL); if (ret < 0) { - printf("nxhello_main: nx_setbgcolor failed: %d\n", errno); + printf("nxhello_main: nx_requestbkgd() failed: %d\n", errno); g_nxhello.code = NXEXIT_NXREQUESTBKGD; goto errout_with_nx; }
arch/Kconfig: Remove unused configuration, CONFIG_FLASH_VSTART Remove unused configuration, CONFIG_FLASH_VSTART because we don't support MMU now.
@@ -848,18 +848,6 @@ config RAM_DDR_SIZE If the board uses external DDR RAM memory, you need to define the size of DDR RAM - -if BOOT_RUNFROMFLASH && ARCH_USE_MMU - -config FLASH_VSTART - hex "Boot FLASH start address (virtual)" - default 0x0 - ---help--- - The virtual start address of installed boot FLASH. "Boot" FLAS...
Fix udp multicast test when no exernal interfaces are available Fixes
@@ -179,7 +179,7 @@ return require('lib/tap')(function (test) assert(uv.udp_bind(server, bind_addr, TEST_PORT)) local _, err, errname = uv.udp_set_membership(server, multicast_addr, interface_addr, "join") if errname == "ENODEV" then - print("no ipv6 multicast route, skipping") + print("no multicast route, skipping") s...
BugID:16851775: Add a new interface declaration - hal_flash_addr2offset
@@ -153,5 +153,15 @@ int32_t hal_flash_enable_secure(hal_partition_t partition, uint32_t off_set, uin */ int32_t hal_flash_dis_secure(hal_partition_t partition, uint32_t off_set, uint32_t size); +/** + * Convert physical address to logic partition id and offset in partition + * + * @param[out] in_partition Point to the...
ci: If there is no sdkconfig, we have to generate one
@@ -121,12 +121,15 @@ build_template_app: - $BOT_LABEL_BUILD - $BOT_LABEL_REGULAR_TEST script: - - git clone https://github.com/espressif/esp-idf-template.git + # Set the variable for 'esp-idf-template' testing + - ESP_IDF_TEMPLATE_GIT=${ESP_IDF_TEMPLATE_GIT:-"https://github.com/espressif/esp-idf-template.git"} + - git...
test: Add flash_write_protect to default tests BRANCH=none TEST=make BOARD=krane -j tests
# found in the LICENSE file. # Device test binaries -test-list-y ?= pingpong timer_calib timer_dos timer_jump mutex utils utils_str +test-list-y ?= flash_write_protect pingpong timer_calib timer_dos timer_jump mutex utils utils_str #disable: powerdemo # Emulator tests
fix(keys): Replace GUI with Application / Context Menu This was a misrepresentation in the standardized keys that originated in earlier code.
/* Keyboard Pipe */ #define PIPE2 (LS(HID_USAGE_KEY_KEYBOARD_NON_US_BACKSLASH_AND_PIPE)) -/* Keyboard GUI (Windows / Command / Meta) */ -#define GUI (HID_USAGE_KEY_KEYBOARD_APPLICATION) -#define WIN (GUI) -#define COMMAND (GUI) -#define CMD (GUI) -#define META (GUI) +/* Keyboard Application (Context Menu) */ +#define K...
Specify ismin/ismax assembly kernels for POWER8 directly to fix utest failure in new ismin test - Makefile.L1 defaults look wrong
@@ -88,7 +88,10 @@ ZTRSMKERNEL_RT = ../generic/trsm_kernel_RT.c # #SMINKERNEL = ../arm/min.c #DMINKERNEL = ../arm/min.c -# + +ISMINKERNEL = imin.S +ISMAXKERNEL = imax.S + ifneq ($(__BYTE_ORDER__),"__ORDER_BIG_ENDIAN__") ifneq ($(GCCVERSIONGTEQ9),1) ISAMAXKERNEL = isamax_power8.S
xml parser BUGFIX skip elements for non-strict parsing
@@ -487,12 +487,19 @@ lydxml_data_r(struct lyd_xml_ctx *lydctx, struct lyd_node_inner *parent, struct goto cleanup; } mod = ly_ctx_get_module_implemented_ns(ctx, ns->uri); - if (!mod && (lydctx->options & LYD_OPT_STRICT)) { - LOGVAL(ctx, LY_VLOG_LINE, &xmlctx->line, LYVE_REFERENCE, "No module with namespace \"%s\" in t...
Add missing if clause to not build float16 code if the datatype is disabled
@@ -119,6 +119,7 @@ target_sources(CMSISDSPTransform PRIVATE arm_rfft_fast_f64.c) target_sources(CMSISDSPTransform PRIVATE arm_rfft_fast_init_f64.c) endif() +if ((NOT DISABLEFLOAT16)) if (NOT CONFIGTABLE OR ALLFFT OR RFFT_FAST_F16_32 OR RFFT_FAST_F16_64 OR RFFT_FAST_F16_128 OR RFFT_FAST_F16_256 OR RFFT_FAST_F16_512 OR ...
experiment with using non-c++ atomics on msvc
@@ -17,7 +17,7 @@ terms of the MIT license. A copy of the license can be found in the file // instead of passing the memory order as a parameter. // ----------------------------------------------------------------------------------------------- -#if defined(__cplusplus) +#if defined(__cplusplus) && !defined(_MSC_VER) /...
mesh: Fix build error when LPN is not enabled Some versions of gcc do not seem to compile out the inaccessible code in this case and instead give the following error: subsys/bluetooth/host/mesh/transport.c:419: undefined reference to `bt_mesh_lpn_poll' This happens at least when building samples/bluetooth/mesh for nati...
@@ -403,7 +403,8 @@ static int send_seg(struct bt_mesh_net_tx *net_tx, struct os_mbuf *sdu, } } - if (bt_mesh_lpn_established()) { + if (IS_ENABLED(CONFIG_BT_MESH_LOW_POWER) && + bt_mesh_lpn_established()) { bt_mesh_lpn_poll(); }
Modify FindOSMesa.cmake to install glapi and GLU libraries.
@@ -90,13 +90,10 @@ if (VISIT_OSMESA_DIR) set(OSMESA_INCLUDE_DIR ${VISIT_OSMESA_DIR}/include CACHE PATH "OSMesa include path") - find_library(GLAPI_LIBRARY glapi - PATH ${VISIT_OSMESA_DIR}/lib + find_library(GLAPI_LIBRARY glapi PATH ${VISIT_OSMESA_DIR}/lib NO_DEFAULT_PATH) - + if (GLAPI_LIBRARY) get_filename_component(...
fix typo in oidc_auth_checker
@@ -4138,7 +4138,7 @@ int oidc_auth_checker(request_rec *r) { r->user = NULL; if (oidc_dir_cfg_unauth_action(r) == OIDC_UNAUTH_PASS) return OK; - if if (oidc_request_state_get(r, OIDC_REQUEST_STATE_KEY_DISCOVERY) != NULL) + if (oidc_request_state_get(r, OIDC_REQUEST_STATE_KEY_DISCOVERY) != NULL) return OK; }
include/audio_codec.h: Format with clang-format BRANCH=none TEST=none
@@ -41,8 +41,8 @@ int audio_codec_capable(uint8_t cap); * EC_ERROR_INVAL if invalid cap. * EC_ERROR_BUSY if the shm_id has been registered. */ -int audio_codec_register_shm(uint8_t shm_id, uint8_t cap, - uintptr_t *addr, uint32_t len, uint8_t type); +int audio_codec_register_shm(uint8_t shm_id, uint8_t cap, uintptr_t *...
Add SceDebugForDriver functions
@@ -129,6 +129,69 @@ int ksceKernelGetMinimumAssertionLevel(void); */ int ksceKernelSetMinimumAssertionLevel(int level); +// process +typedef struct SceKernelDebugEventLog1 { // size is 0x1C + int data_0x40; + SceUID pid; + int budget_type; + int data_0x4C; //!< 0xA + char titleid[0xC]; +} __attribute__((packed)) SceKe...
out_azure_blob: fix missing initialization (CID 316380)
@@ -171,7 +171,7 @@ flb_sds_t azb_http_canonical_request(struct flb_azure_blob *ctx, flb_sds_t tmp = NULL; char *b64 = NULL; char *encoding; - char *ctype; + char *ctype = ""; unsigned char signature[32]; size = strlen(c->uri) + (mk_list_size(&c->headers) * 64) + 256;
netkvm: improve printout on packet receiption Instead of 3 printouts in 3 different RX cases make one printout with all the relevant information.
@@ -956,8 +956,6 @@ tPacketIndicationType ParaNdis_PrepareReceivedPacket( { *pnCoalescedSegmentsCount = PktGetTCPCoalescedSegmentsCount(pContext, pPacketInfo, pHeader->hdr.gso_size); NBLSetRSCInfo(pContext, pNBL, pPacketInfo, *pnCoalescedSegmentsCount, 0); - DPrintf(1, "RSC host packet, datalen %d, GSO type %d, mss %d,...
arm/rtl8720c: Remove up_trigger_irq since it is implemented in arm_trigger_irq.c
@@ -259,45 +259,6 @@ void up_enable_irq(int irq) } } -/**************************************************************************** - * Name: up_trigger_irq - * - * Description: - * Trigger an IRQ by software. - * - ****************************************************************************/ - -void up_trigger_irq(int...
Update gpconfig help doc
@@ -12,7 +12,7 @@ gpconfig -c <param_name> -v <value> [-m <master_value> | --masteronly] | -l [--skipvalidation] [--verbose] [--debug] -gpconfig -s <param_name> [--verbose] [--debug] +gpconfig -s <param_name> [--flag] [--verbose] [--debug] gpconfig --help @@ -121,6 +121,21 @@ files (gpstop -u) or restart the system (gp...
Change MQTT description and name
@@ -43,8 +43,8 @@ extern "C" { /** * \ingroup ESP_APPS - * \defgroup ESP_APP_MQTT_CLIENT_API Sequential, single thread MQTT client API - * \brief MQTT client API + * \defgroup ESP_APP_MQTT_CLIENT_API MQTT client API + * \brief Sequential, single thread MQTT client API * \{ */
Remove schwa's plugins on his request from the readme
- [Fundamental extensions](#fundamental-extensions) - [Support extensions](#support-extensions) - [Extra extensions](#extra-extensions) + - [Third-party extensions](#third-party-extensions) - [Adapters](#adapters) - [Resources](#resources) - [Examples](#examples) @@ -120,7 +121,6 @@ and use to get a basic plugin experi...
ci: temporarily disable s3 assign test
@@ -312,11 +312,21 @@ class AssignTest(object): console_log('\t{}'.format(job['name']), 'O') # failures + real_failure_group = [] if failed_to_assign: + for group in failed_to_assign: + if ('ESP32S3_IDF' in group.filters.values() # for example_test and custom_test + or ['ESP32S3_IDF'] in group.filters.values()): # for ...
[SH2] Added camera bounce fix Added code to PS2CameraSpeed that solves an issue with the PC version that caused the camera to bounce and move too quickly.
@@ -497,6 +497,20 @@ void Init() pattern = hook::pattern("74 ? D9 05 ? ? ? ? E8 ? ? ? ? 50 E8"); injector::WriteMemory<uint8_t>(pattern.count(1).get(0).get<uint32_t>(0), (uint8_t)0xEBi8, true); //0058C0E3 flesh lips cutscene fix + + //camera bounce fix + pattern = hook::pattern("E8 ? ? ? ? D8 4C 24 60 83 C4 04"); + sta...
panic() reports the error message
#include "assert.h" void _panic(const char* msg, const char* file, int line) { - printf("Kernel assertion in %s line %d", file, line); + printf("Kernel assertion in %s line %d: %s", file, line, msg); //enter infinite loop asm("cli"); do {} while (1);
Use statically allocated buffer for logging. This allows logging to be used even when enclave is out of memory
@@ -79,6 +79,7 @@ void oe_log_init_ecall(const char* enclave_path, uint32_t log_level) static void* _enclave_log_context = NULL; static oe_enclave_log_callback_t _enclave_log_callback = NULL; +static char _trace_buffer[OE_LOG_MESSAGE_LEN_MAX]; oe_result_t oe_enclave_log_set_callback( void* context, @@ -99,7 +100,7 @@ d...
Additional comments about routing instructions/routing engines.
@@ -55,39 +55,39 @@ namespace carto { */ ROUTING_ACTION_REACH_VIA_LOCATION, /** - * Enter roundabout. + * Enter roundabout. Used by Valhalla and OSRM. */ ROUTING_ACTION_ENTER_ROUNDABOUT, /** - * Leave roundabout. + * Leave roundabout. Used by Valhalla and OSRM. */ ROUTING_ACTION_LEAVE_ROUNDABOUT, /** - * Continue along...
specify statsfile's path to avoid multi statsfile and not found
@@ -34,7 +34,7 @@ script: - xmake -P core - export XMAKE_PROGRAM_DIR=$PWD/xmake - core/build/xmake lua versioninfo - - echo 'require("luacov")' > tmp + - echo "require('luacov.runner').init({['statsfile']='$PWD/luacov.stats.out',['reportfile']='$PWD/luacov.report.out'})" > tmp - cat xmake/core/_xmake_main.lua >> tmp - ...
newlib: change microseconds offset type
// Offset between FRC timer and the RTC. // Initialized after reset or light sleep. #if defined(CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER) && defined(CONFIG_ESP_TIME_FUNCS_USE_ESP_TIMER) -uint64_t s_microseconds_offset = 0; +int64_t s_microseconds_offset = 0; #endif #ifndef CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER
Use i32 instead of i8 for x/y offsets Doesn't matter too much, because this number isn't used in SIMD computation, only as a memory reference offset.
@@ -655,10 +655,10 @@ static INLINE void reconstruct_color_other(const encoder_control_t *encoder, const vector2d_t b_ofs = g_sao_edge_offsets[sao->eo_class][1]; // All limited to [-1, 1] - const int8_t a_xoff = a_ofs.x; - const int8_t a_yoff = a_ofs.y; - const int8_t b_xoff = b_ofs.x; - const int8_t b_yoff = b_ofs.y; ...
client_http_run_once polish
@@ -258,12 +258,10 @@ main(int argc, char *argv[]) ctx_flows[c]++; - ops[i].on_connected = on_connected; ops[i].on_error = on_error; ops[i].on_close = on_close; - flows[i].id = streams_going; flows[i].ctx_id = c; ops[i].userData = &flows[i]; @@ -311,10 +309,10 @@ main(int argc, char *argv[]) if (rc > 0) { /* there's st...
display: add option to display >1T iterations as 'T'
@@ -63,7 +63,9 @@ __attribute__((format(printf, 1, 2))) static void display_put(const char* fmt, . } static void display_printKMG(uint64_t val) { - if (val >= 1000000000UL) { + if (val >= 1000000000000ULL) { + display_put(" [%.02LfT]", (long double)val / 1000000000.0L); + } else if (val >= 1000000000UL) { display_put("...
Makefile: gard/pflash targets for CI build with HOSTCFLAGS/HOSTGCOVFLAGS This enables us to do coverage reports on gard/pflash.
@@ -180,10 +180,10 @@ include $(SRC)/libstb/Makefile.inc # hack for travis-ci and coverity gard: - (cd external/gard; make) + (cd external/gard; CFLAGS="$(HOSTCFLAGS) $(HOSTGCOVCFLAGS)" make) pflash: - (cd external/pflash; make) + (cd external/pflash; CFLAGS="$(HOSTCFLAGS) $(HOSTGCOVCFLAGS)" make) pflash-coverity: (cd ...
package cache dir
@@ -51,7 +51,7 @@ mkdir -p %{buildroot}%{install_path}/share mv %{buildroot}/usr/sbin/shine %{buildroot}%{install_path}/sbin/. mv %{buildroot}/usr/share/shine/shine.init.redhat %{buildroot}%{install_path}/share/. mv %{buildroot}/usr/share/vim %{buildroot}%{install_path}/share/. -rm %{buildroot}/var/cache/shine/conf/REA...
Update cmsis_os2.txt Added links in revision history and added comment on update configuration files. Renamed the section "RTX5 Specifics" to "RTX5 Specific API".
@@ -80,11 +80,14 @@ File/Folder | Content <tr> <td>V2.1.0</td> <td> + Updated configuration files: RTX_Config.h for the configuration settings and RTX_config.c for + implementing the \ref rtx5_specific. + Support for critical and uncritical sections (nesting safe): - - updated: osKernelLock, osKernelUnlock - - added: o...
VERSION bump to version 2.0.109
@@ -62,7 +62,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) # set version of the project set(LIBYANG_MAJOR_VERSION 2) set(LIBYANG_MINOR_VERSION 0) -set(LIBYANG_MICRO_VERSION 108) +set(LIBYANG_MICRO_VERSION 109) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}...
out_es: remove dummy debug line that generated garbage messages
@@ -406,7 +406,6 @@ static int elasticsearch_error_check(struct flb_http_client *c) goto done; } - msgpack_object_print(stdout, key); if (key.via.str.size != 6) { continue; }
Fix GuardEHCont check
@@ -389,7 +389,7 @@ VOID PvPeProperties( if (NT_SUCCESS(PhGetMappedImageLoadConfig32(&PvMappedImage, &config32)) && RTL_CONTAINS_FIELD(config32, config32->Size, GuardEHContinuationCount)) { - if (config32->GuardEHContinuationCount) + if (config32->GuardEHContinuationTable && config32->GuardEHContinuationCount) has_ehco...
FEC: fix silly memory corruption
@@ -65,8 +65,8 @@ static __attribute__((always_inline)) void add_fec_block(bpf_state *state, fec_b } static __attribute__((always_inline)) void remove_and_free_fec_block(picoquic_cnx_t *cnx, bpf_state *state, fec_block_t *fb){ - free_fec_block(cnx, fb, false); state->fec_blocks[fb->fec_block_number % MAX_FEC_BLOCKS] = ...
DDF: Philips motion sensor add more read/parse functions (wip)
"modelid": "SML001", "product": "SML001", "status": "Gold", + "sleeper": false, "md:known_issues": [ ], "subdevices": [ { "name": "config/delay" }, { - "name": "config/ledindication" + "name": "config/ledindication", + "read": {"cl": "0x0000", "at": "0x0033", "mf": "0x100b"}, + "parse": {"cl": "0x0000", "at": "0x0033",...
Remove platform-specific configuration
#ifndef PROJECT_CONF_H_ #define PROJECT_CONF_H_ - -#define QUEUEBUF_CONF_NUM 4 - -#define UIP_CONF_BUFFER_SIZE 140 - #define UIP_CONF_ROUTER 0 #define CMD_CONF_OUTPUT slip_radio_cmd_output #define NETSTACK_CONF_NETWORK slipnet_driver #define NETSTACK_CONF_FRAMER no_framer - -#define UART1_CONF_RX_WITH_DMA 1 - +/*------...
fix: a missing semicolon
@@ -1223,7 +1223,7 @@ static void gen_forward_declare(FILE *fp, struct jc_struct *s) fprintf(fp, "size_t %s_list_to_json(char *str, size_t len, struct %s **p);\n", t,t); - fprintf(fp, "void %s_use_default_inject_settings(struct %s *p)\n", t, t); + fprintf(fp, "void %s_use_default_inject_settings(struct %s *p);\n", t, t...
add test case that doesn't allow mixed array constructors and initalizer lists
@@ -711,6 +711,11 @@ describe("Titan parser", function() assert_statements_syntax_error([[ (x) = 42 ]], "ExpAssign") end) + it("does not allow mix array constructors and initalizer lists", function() + assert_expression_syntax_error([[ { x = 11, 22 } ]], "FieldFieldList") + assert_expression_syntax_error([[ { 11, y = 2...
Modify the indentation format
* Change Logs: * Date Author Notes * 2018-11-06 SummerGift first version - * 2019-04-09 jhb */ #include "board.h" -/** - * @brief System Clock Configuration - * @retval None - */ void SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct = {0}; @@ -44,8 +39,7 @@ void SystemClock_Config(void) } /**Initializes ...
Send an illegal parameter alert if the update type in a KeyUpdate is wrong Previously we sent a decode_error alert.
@@ -583,14 +583,19 @@ MSG_PROCESS_RETURN tls_process_key_update(SSL *s, PACKET *pkt) } if (!PACKET_get_1(pkt, &updatetype) - || PACKET_remaining(pkt) != 0 - || (updatetype != SSL_KEY_UPDATE_NOT_REQUESTED - && updatetype != SSL_KEY_UPDATE_REQUESTED)) { + || PACKET_remaining(pkt) != 0) { al = SSL_AD_DECODE_ERROR; SSLerr(...
esp_eth/CI: Fix app-test to start recv test after sock bound
@@ -37,8 +37,10 @@ def configure_eth_if(func): # type: (typing.Any) -> typing.Any @configure_eth_if -def check_eth_recv_packet(so): # type: (socket.socket) -> None +def check_eth_recv_packet(so, before_recv=None): # type: (socket.socket, typing.Any) -> None so.settimeout(10) + if before_recv is not None: + before_recv(...
Add zcli to ya tool.
"horadric": { "description": "Run horadric generator" }, + "zcli": { + "description": "Run zcli (console client for zephyr)" + }, "run_python_udf": { "description": "run_python_udf tool" }, } ] }, + "zcli": { + "tools": { + "zcli": { + "bottle": "zcli", + "executable": "zcli" + } + }, + "platforms": [ + { + "host": { +...
Added --hide-referer command line option to the config file.
@@ -441,6 +441,11 @@ double-decode false #enable-panel REMOTE_USER #enable-panel GEO_LOCATION +# Hide a referer but still count it. Wild cards are allowed. i.e., *.bing.com +# +#hide-referer *.google.com +#hide-referer bing.com + # Hour specificity. Possible values: `hr` (default), or `min` (tenth # of a minute). #
Make: show installation instructions after build
@@ -28,6 +28,9 @@ SUBDIRS_ALL = $(SUBDIRS) test ctest utest exports benchmark ../laswp ../bench .PHONY : all libs netlib $(RELA) test ctest shared install .NOTPARALLEL : all libs $(RELA) prof lapack-test install blas-test +# source: https://stackoverflow.com/questions/52674/simplest-way-to-reverse-the-order-of-strings-...
skeleton: clean up the description about using enclave-tls Fixes:
@@ -191,7 +191,7 @@ Please type the following code to solve the problem cp /etc/resolv.conf rootfs/etc/ ``` -## Run Enclave TLS client +## Run Enclave TLS client on sgx platform ```shell cd /opt/enclave-tls/bin @@ -201,14 +201,12 @@ cd /opt/enclave-tls/bin ./enclave-tls-client -a sgx_la -t openssl -c openssl ``` -## Ru...
reformat keys
@@ -107,7 +107,9 @@ static Key keys[] = { {MODKEY | ShiftMask, XK_Return, spawn, {.v = termcmd}}, {MODKEY, XK_b, togglebar, {0}}, {MODKEY, XK_j, focusstack, {.i = +1}}, + {MODKEY, XK_Down, focusstack, {.i = +1}}, {MODKEY, XK_k, focusstack, {.i = -1}}, + {MODKEY, XK_Up, focusstack, {.i = -1}}, {MODKEY|ControlMask, XK_j,...
[util] export Data() and Size() for TStringBuf in string.pxd.
@@ -5,6 +5,8 @@ cdef extern from "<util/generic/strbuf.h>" nogil: cdef cppclass TStringBuf: TStringBuf() except + TStringBuf(const char*) except + + char* Data() + size_t Size() cdef extern from "<util/generic/string.h>" nogil:
tests: move ip4 punt setup to its own class Move interface and packet setup for the ip4 punt test to its own class so that child classes can be created that use it. Type: test
@@ -1448,20 +1448,10 @@ class TestIPVlan0(VppTestCase): self.send_and_expect(self.pg0, pkts, self.pg1) -class TestIPPunt(VppTestCase): - """ IPv4 Punt Police/Redirect """ - - @classmethod - def setUpClass(cls): - super(TestIPPunt, cls).setUpClass() - - @classmethod - def tearDownClass(cls): - super(TestIPPunt, cls).tea...
[chainmaker][#436]add test_02InitSetTxParam_0005setTxParamFailureLongParam
@@ -130,6 +130,19 @@ START_TEST(test_02InitSetTxParam_0004setTxParamFailureShortParam) } END_TEST +START_TEST(test_02InitSetTxParam_0005setTxParamFailureLongParam) +{ + BSINT32 rtnVal; + BoatHlchainmakerTx tx_ptr; + + rtnVal = BoatHlchainmakerAddTxParam(&tx_ptr, 12, "key1", "vlaue1", "key2", "vlaue2", "key3", "vlaue3",...
xeonphi: stub implementation of the config changes
@@ -119,37 +119,21 @@ errval_t xeon_phi_hw_model_query_and_config(void *arg, retaddr]; */ - - - /* map the frame in the iommu space */ - -#if 0 - - if (id.base >= phi->apt.pbase && - ((id.base + id.bytes) <= (phi->apt.pbase + phi->apt.bytes))) { - - debug_printf("%s:%u = %lx -> %lx\n", __FUNCTION__, __LINE__, - id.base...
YAwn: Require additional plugins for MSR test
@@ -63,6 +63,8 @@ add_plugin (yawn ADD_TEST CPP_TEST TEST_README + TEST_REQUIRED_PLUGINS directoryvalue + yamlsmith SOURCES ${SOURCE_FILES} INCLUDE_DIRECTORIES ${YAEP_INCLUDE_DIR} LINK_LIBRARIES ${YAEP_LIBRARIES_CPP})
Update built-in README.
@@ -91,18 +91,19 @@ static const char fresh_main_py[] = ; static const char fresh_readme_txt[] = -"This is a Micro Python board\r\n" +"Thank you for supporting the OpenMV project!\r\n" "\r\n" -"You can get started right away by writing your Python code in 'main.py'.\r\n" +"To download the IDE, please visit:\r\n" +"http...
Return non-zero value on connection loss Make scrscpy to return 0 exit code only in case when the user closes its app, otherwise, i.e. in case of connection loss, return 1.
@@ -56,7 +56,7 @@ static int event_watcher(void *data, SDL_Event *event) { } #endif -static void event_loop(void) { +static SDL_bool event_loop(void) { #ifdef CONTINUOUS_RESIZING_WORKAROUND SDL_AddEventWatch(event_watcher, NULL); #endif @@ -65,10 +65,10 @@ static void event_loop(void) { switch (event.type) { case EVENT...
Handle platform differences in gmtime_s MSVC and C11 specify different arguments and return value meaning for gmtime_s.
@@ -74,6 +74,7 @@ void mbedtls_platform_zeroize( void *buf, size_t len ) #endif /* MBEDTLS_PLATFORM_ZEROIZE_ALT */ #if defined(MBEDTLS_HAVE_TIME_DATE) && !defined(MBEDTLS_PLATFORM_GMTIME_R_ALT) +#define __STDC_WANT_LIB_EXT1__ 1 #include <time.h> #if !defined(_WIN32) && (defined(unix) || \ defined(__unix) || defined(__u...
Add note about default number of available profiles and how to increase if desired
@@ -9,6 +9,10 @@ The bluetooth behavior allows management of various settings and states related between the keyboard and the host. By default, ZMK supports five "profiles" for selecting which bonded host computer/laptop/keyboard should receive the keyboard input; many of the commands here operation on those profiles. ...
specs: set package.cpath and package.path appropriately for luke. * spec/spec_helper.lua (package.cpath, package.path): Update to work with luke rather than autotools. (top_srcdir, top_builddir): Removed unused variables.
@@ -6,21 +6,13 @@ if os.getenv 'installcheck' == nil then -- directories to the module search paths. local std = require 'specl.std' - local top_srcdir = os.getenv 'top_srcdir' or '.' - local top_builddir = os.getenv 'top_builddir' or '.' - package.path = std.package.normalize ( - top_builddir .. '/lib/?.lua', - top_sr...
rm luax_pushpath;
@@ -89,21 +89,6 @@ Path luax_optpath(lua_State* L, int index, const char* fallback) { return path; } -void luax_pushpath(lua_State* L, Path path) { - for (int i = 0; i < 8; i++) { - if (path.pieces[i] == P_NONE) { - lua_pop(L, 1); - lua_concat(L, 2 * i - 1); - return; - } - - lua_pushstring(L, Subpaths[path.pieces[i]])...