message
stringlengths
6
474
diff
stringlengths
8
5.22k
parser json BUGFIX invalid metadata parsing
@@ -797,6 +797,8 @@ next_entry: LOG_LOCSET(snode, NULL, NULL, NULL); while (status != LYJSON_OBJECT_CLOSED) { + LY_CHECK_GOTO(status != LYJSON_OBJECT, representation_error); + lydjson_parse_name(lydctx->jsonctx->value, lydctx->jsonctx->value_len, &name, &name_len, &prefix, &prefix_len, &is_attr); lyjson_ctx_give_dynami...
out_http: fill body and size to test
@@ -402,11 +402,11 @@ static int compose_payload(struct flb_out_http *ctx, else if (ctx->out_format == FLB_HTTP_OUT_GELF) { return compose_payload_gelf(ctx, in_body, in_size, out_body, out_size); } - /* - Nothing to do, if the format is msgpack else { + /* Nothing to do, if the format is msgpack */ + *out_body = (void ...
Now remove people's presence when they get banished.
|= {s/ship a/audience} (~(put in a) [s %inbox]) ?~ sus +>.$ + :: if banished, remove their presences. + =? +>.$ !inv + %- so-deltas-our + %+ turn ~(tap in `(set ship)`sus) + |= s/ship + :+ %status so-cir + [s %remove ~] (so-delta-our %config so-cir %permit [add sus]) :: ++ so-admire ::< accept from
fix(obj): in obj event use the current target instead of target When the event is bubbling, use lv_event_get_current_target to get the obj that needs to be processed
@@ -699,7 +699,7 @@ static void lv_obj_event(const lv_obj_class_t * class_p, lv_event_t * e) LV_UNUSED(class_p); lv_event_code_t code = lv_event_get_code(e); - lv_obj_t * obj = lv_event_get_target(e); + lv_obj_t * obj = lv_event_get_current_target(e); if(code == LV_EVENT_PRESSED) { lv_obj_add_state(obj, LV_STATE_PRESSE...
fix: define new function strtolower instead of trying modify a string constant
@@ -545,6 +545,8 @@ static void *xmalloc(size_t); static void *xrealloc(void *, size_t); static char *xstrdup(char *); +static char *strtolower(char *); + static int isavailableimstyle(XIMStyle); static void setpreeditposition(); @@ -674,6 +676,17 @@ xstrdup(char *s) return s; } +char * +strtolower(char *orig) +{ + cha...
ssse3: formatting fixes
@@ -299,8 +299,8 @@ simde_mm_shuffle_epi8 (simde__m128i a, simde__m128i b) { r_.neon_i8 = vqtbl1q_s8(a_.neon_i8, vandq_u8(b_.neon_u8, vdupq_n_u8(0x8F))); #elif defined(SIMDE_ARM_NEON_A32V7_NATIVE) /* Mask out the bits we're not interested in. vtbl will result in 0 - for any values outside of [0, 15], so if the high bit...
zuse: comb through all notes in libraries, and move arms to zuse
:: :: ++no:dejs:format ++ no :: number as cord |=(jon=json ?>(?=([%n *] jon) p.jon)) + :: :: ++nu:dejs:format + ++ nu :: parse number as hex + |= jon=json + ?> ?=([%s *] jon) + (rash p.jon hex) :: :: ++of:dejs:format ++ of :: object as frond |* wer=(pole [cord fist]) =/ ten ~|(key+key.wer (wit.wer (~(get by jom) key.we...
cjoin: Always send to link-local address when joining
@@ -222,7 +222,6 @@ void cjoin_sendDone(OpenQueueEntry_t* msg, owerror_t error) { owerror_t cjoin_sendJoinRequest(open_addr_t* joinProxy) { OpenQueueEntry_t* pkt; - open_addr_t* prefix; owerror_t outcome; coap_option_iht options[5]; uint8_t tmp[10]; @@ -276,8 +275,9 @@ owerror_t cjoin_sendJoinRequest(open_addr_t* joinP...
Try resolve the OSX issue
# Build at a known-good commit COMMIT_ID=3fdf6a54c4c0762226afcbabda3b2016af5a8761 +whereis openssl + cd .. # git clone --branch master --single-branch --shallow-submodules --recurse-submodules --no-tags https://github.com/h2o/picotls git clone https://github.com/h2o/picotls
update format header to just scope instead of appscope
@@ -180,7 +180,7 @@ msgStart(proc_id_t *proc, config_t *cfg, which_transport_t who) if (!(json_root = cJSON_CreateObject())) goto err; if (who == CFG_LS) { - if (!cJSON_AddStringToObjLN(json_root, "format", "appscope")) goto err; + if (!cJSON_AddStringToObjLN(json_root, "format", "scope")) goto err; } else { if (!cJSON...
fix guest_size metadata for migration If the guest exceeds KVM_32BIT_GAP_START we have to remove the KVM_32BIT_GAP_SIZE from the guest_size since this is re-calculated at the destination.
@@ -812,6 +812,11 @@ void *migration_handler(void *arg) elf_entry, full_checkpoint}; + /* the guest size is calculated at the destination again */ + if ((guest_size-KVM_32BIT_GAP_SIZE) >= KVM_32BIT_GAP_START) { + metadata.guest_size -= KVM_32BIT_GAP_SIZE; + } + res = send_data(&metadata, sizeof(migration_metadata_t)); ...
Add fftgenerator as dependency to to 'all tests passed'
@@ -737,7 +737,7 @@ jobs: name: "all tests passed" needs: [commit-on-master-check, tutorial-setup-check, documentation-check, chipyard-rocket-run-tests, chipyard-hetero-run-tests, chipyard-boom-run-tests, chipyard-cva6-run-tests, chipyard-ibex-run-tests, - chipyard-sodor-run-tests, chipyard-dmirocket-run-tests, chipyar...
Update Snap QT for ChromeOS Wayland Support Added qt5wayland stage and build packages to possibly fix QT (GUI) support on ChromeOS Snap installing
@@ -165,6 +165,7 @@ parts: - qttools5-dev-tools - qt5-default - qtbase5-dev-tools + - qt5wayland stage-packages: - g++ - jq @@ -189,6 +190,7 @@ parts: - qttools5-dev-tools - qt5-default - qtbase5-dev-tools + - qt5wayland override-build: | set -x ARCH=$(uname -m)
tinyusb: Set CFG_TUSB_MCU for STM32F7 TinyUSB requires definition of CFG_TUSB_MCU. For STM32F7 it was not defined at all. Now it is defined and targets for STM32F7 with USB enabled can be used.
#if MYNEWT_VAL(MCU_STM32F4) #define CFG_TUSB_MCU OPT_MCU_STM32F4 +#elif MYNEWT_VAL(MCU_STM32F7) +#define CFG_TUSB_MCU OPT_MCU_STM32F7 #elif MYNEWT_VAL(MCU_STM32L4) #define CFG_TUSB_MCU OPT_MCU_STM32L4 #endif
ci: Fix target variable default value
@@ -319,6 +319,9 @@ class Example(IDFApp): if not config_name: config_name = "default" + if not target: + target = "esp32" + # Search for CI build folders. # Path format: $IDF_PATH/build_examples/app_path_with_underscores/config/target # (see tools/ci/build_examples_cmake.sh)
Writeup of FrameStreams protocol.
@@ -130,8 +130,62 @@ struct dt_io_thread { /* Frame Streams data transfer protocol encode for DNSTAP messages. * The protocol looks to be specified in the libfstrm library. + * + * Quick writeup for DNSTAP usage, from reading fstrm/control.h eloquent + * comments and fstrm/control.c for some bytesize details (the conte...
declaration cleanup
@@ -1224,8 +1224,7 @@ static int on_config_num_threads(h2o_configurator_command_t *cmd, h2o_configurat { conf.thread_map.size = 0; if (node->type == YOML_TYPE_SCALAR) { - size_t num_threads = 0; - size_t i; + size_t i, num_threads = 0; if (h2o_configurator_scanf(cmd, node, "%zu", &num_threads) != 0) return -1; h2o_vect...
fix the metadata value in packet.
@@ -289,7 +289,8 @@ void sixtop_request( // append 6p metadata packetfunctions_reserveHeaderSize(pkt,sizeof(uint16_t)); - *((uint8_t*)(pkt->payload)) = sixtop_vars.cb_sf_getMetadata(); + pkt->payload[0] = (uint8_t)( sixtop_vars.cb_sf_getMetadata() & 0x00FF); + pkt->payload[1] = (uint8_t)((sixtop_vars.cb_sf_getMetadata(...
VERSION bump to version 0.8.45
@@ -28,7 +28,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 8) -set(LIBNETCONF2_MICRO_VERSION 44) +set(LIBNETCONF2_MICRO_VERSION 45) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(LI...
VOM: mroute dump debug level fix
@@ -707,7 +707,7 @@ ip_mroute::event_handler::handle_populate(const client_db::key_t& key) ip_r.add(from_vpp(p.path, nh_proto_t::IPV6), itf_flags_t::from_vpp(p.itf_flags)); } - VOM_LOG(log_level_t::INFO) << "ip-mroute-dump: " << ip_r.to_string(); + VOM_LOG(log_level_t::DEBUG) << "ip-mroute-dump: " << ip_r.to_string(); ...
Fix typos in gui.h
@@ -80,7 +80,7 @@ typedef struct clap_window { }; } clap_window_t; -// Information to improve window resizement when initiated by the host or window manager. +// Information to improve window resizing when initiated by the host or window manager. typedef struct clap_gui_resize_hints { bool can_resize_horizontally; bool...
Fix clang compile error and warning
#include <stdlib.h> #include <string.h> #include <inttypes.h> +#include <errno.h> #include "picoquic_internal.h" #include "bytestream.h" @@ -464,7 +465,7 @@ int convert_svg(const picoquic_connection_id_t * cid, void * ptr) while (fgets(line, sizeof(line), appctx->f_template) != NULL) /* read a line */ { if (strcmp(line...
ctest: cleanup .gnupg see see
@@ -452,6 +452,20 @@ static void clean_temp_home (void) if (tempHome) { + size_t fileToCleanLen = tempHomeLen + 30; + char * fileToClean = elektraMalloc (fileToCleanLen); + snprintf (fileToClean, fileToCleanLen, "%s/.gnupg/random_seed", tempHome); + unlink (fileToClean); + snprintf (fileToClean, fileToCleanLen, "%s/.gn...
Fix tostring;
#include <stdbool.h> static int luax_meta__tostring(lua_State* L) { - lua_getfield(L, -1, "name"); + lua_getfield(L, -1, "__name"); lua_pushstring(L, (const char*) lua_touserdata(L, -1)); return 1; }
Update Git to 2.37.1
# The Hash parameter defaults below are calculated using Get-FileHash with the default SHA256 hashing algorithm Param( - [string]$GitURL = 'https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/Git-2.31.1-64-bit.exe', - [string]$GitHash = 'C43611EB73AD1F17F5C8CC82AE51C3041A2E7279E0197CCF5F739E9129C...
Clear pointer to stack when leaving function
@@ -14043,7 +14043,6 @@ sctp_lower_sosend(struct socket *so, SCTP_TCB_UNLOCK(stcb); hold_tcblock = false; error = sbwait(&so->so_snd); - if (error || so->so_error || be.error) { if (error == 0) { if (so->so_error != 0) { error = so->so_error; @@ -14053,11 +14052,12 @@ sctp_lower_sosend(struct socket *so, } } SOCKBUF_UN...
fixed compilation error when BUILD_EDITORS is not defined
@@ -180,14 +180,18 @@ static MenuOption VolumeOption = static s32 optionEmacsModeGet(void* data) { +#if defined(BUILD_EDITORS) StudioMainMenu* main = data; return main->options->emacsMode ? 1 : 0; +#endif } static void optionEmacsModeSet(void* data, s32 pos) { +#if defined(BUILD_EDITORS) StudioMainMenu* main = data; ma...
RTX5 (Component View): added ssel="1" attribute for the Running thread (Thread Events statistics)
<component name="Thread Events" brief="RTX Thread" no="0xF2" prefix="EvrRtx" info="RTX5 RTOS Thread Events" > <state name="Inactive" plot="off" /> <state name="Ready" plot="box" /> - <state name="Running" plot="box" bold="1" unique="1" /> + <state name="Running" plot="box" bold="1" unique="1" ssel="1" /> <state name="B...
Add a test case for the short password
@@ -25,7 +25,7 @@ my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0); plan tests => ($no_fips ? 0 : 3) # Extra FIPS related tests - + 13; + + 15; # We want to know that an absurdly small number of bits isn't support is(run(app([ 'openssl', 'genpkey', '-out', 'genrsatest.pem', @@ -103,6 +103,11 @@ ok(run(app([ 'open...
removed last preprocessor bound check
@@ -490,22 +490,12 @@ double ccl_sigmaM(ccl_cosmology * cosmo, double halomass, double a, int * status ccl_check_status(cosmo, status); } - // Check interpolation bounds - #ifdef CCL_BOUNDS_CHECK_INTERP - if ( (log10(halomass) < ccl_splines->LOGM_SPLINE_MIN) - || (log10(halomass) > ccl_splines->LOGM_SPLINE_MAX)){ - *st...
libc:lib_psfa_dddup2,add return check
@@ -89,8 +89,17 @@ int posix_spawn_file_actions_adddup2( /* NOTE: Workaround to avoid an error when executing dup2 action */ flags = fcntl(fd1, F_GETFD); + if (flags < 0) + { + return flags; + } + flags &= ~FD_CLOEXEC; - fcntl(fd1, F_SETFD, flags); + flags = fcntl(fd1, F_SETFD, flags); + if (flags < 0) + { + return fla...
perlasm/x86_64-xlate.pl: remove obsolete .picmeup synthetic directive.
# 7. Stick to explicit ip-relative addressing. If you have to use # GOTPCREL addressing, stick to mov symbol@GOTPCREL(%rip),%r??. # Both are recognized and translated to proper Win64 addressing -# modes. To support legacy code a synthetic directive, .picmeup, -# is implemented. It puts address of the *next* instruction...
Add self-generated test vector for x448 non-canonical values x25519 has such a test vector obtained from wycheproof but wycheproof does not have a corresponding x448 test vector. So add a self-generated test vector for that case.
@@ -807,6 +807,8 @@ PublicKeyRaw=Bob-448-PUBLIC-Raw:X448:3eb7a829b0cd20f5bcfc0b599b6feccf6da4627107b PrivPubKeyPair = Bob-448-Raw:Bob-448-PUBLIC-Raw +PublicKeyRaw=Bob-448-PUBLIC-Raw-NonCanonical:X448:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + Deriv...
Change the order of tests in the test driver. This puts simpler, passing tests before more complicated tests. Coverage and failing tests are now at the end. This should make tests more helpful in the event of a catastrophic failure.
@@ -25,32 +25,7 @@ typedef struct { const char *all_test_paths[] = { - TEST("call", "test_bad_call"), - TEST("call", "test_bad_keyargs"), - TEST("call", "test_bad_optargs"), - TEST("call", "test_call_pipe"), - TEST("call", "test_keyargs"), - TEST("call", "test_optargs"), - TEST("call", "test_varargs"), - TEST("class", ...
Reverse PhGetProcessIsBeingDebugged checks precedence
@@ -706,14 +706,26 @@ NTSTATUS PhGetProcessIsBeingDebugged( _Out_ PBOOLEAN IsBeingDebugged ) { - NTSTATUS status; + NTSTATUS status = STATUS_UNSUCCESSFUL; + BOOLEAN isBeingDebugged = FALSE; + PVOID debugHandle; - // NOTE: The ProcessDebugObjectHandle is always valid when the process is being debugged while the ProcessD...
WebPRescalerInit: add missing int64_t promotion large values of x_add and y_add may rollover an int causing a later assertion to fail in WebPRescalerExportRow due to fxy_scale incorrectly being set to 0. fixes: src/dsp/rescaler.c:178: void WebPRescalerExportRow(WebPRescaler *const): Assertion `wrk->src_height == wrk->d...
@@ -51,8 +51,9 @@ void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, // This is WEBP_RESCALER_FRAC(dst_height, x_add * y_add) without the cast. // Its value is <= WEBP_RESCALER_ONE, because dst_height <= wrk->y_add, and // wrk->x_add >= 1; - const uint64_t ratio = - (uint64_t)dst_height * WEB...
doc: release notes tweaks for v2.3
@@ -126,7 +126,7 @@ available in the `version-specific v2.1 documentation Fixed Issues Details ******************** -- :acrn-issue:`4958` - cleannup spin lock for hypervisor +- :acrn-issue:`4958` - clean up spin lock for hypervisor - :acrn-issue:`5316` - add default BAR GPA for vmsi over msi - :acrn-issue:`5346` - Hide...
fixed typo in input cosmologies
-3.2759e-01 5.9450e-02 6.167e-01 8.778e-01 9.630e-01 -1.0000e00 0.00000e00 0.000e00 +3.2759e-01 5.9450e-02 6.167e-01 8.778e-01 9.611e-01 -7.000e-01 6.722e-01 0.000e00 1.9827e-01 4.1627e-02 7.352e-01 7.113e-01 9.851e-01 -8.971e-01 3.247e-01 6.9606e-03 2.7631e-01 5.2441e-02 6.477e-01 8.631e-01 8.985e-01 -8.632e-01 8.285e...
Mount FLASH FS if SD card fails to mount.
@@ -190,6 +190,9 @@ static const char fresh_selftest_py[] = #endif void flash_error(int n) { + led_state(LED_RED, 0); + led_state(LED_GREEN, 0); + led_state(LED_BLUE, 0); for (int i = 0; i < n; i++) { led_state(LED_RED, 0); HAL_Delay(100); @@ -407,6 +410,7 @@ FRESULT exec_boot_script(const char *path, bool selftest, bo...
vere: bail on failed pier initialization
@@ -1210,7 +1210,13 @@ _pier_init(c3_w wag_w, c3_c* pax_c) u3_pier* u3_pier_stay(c3_w wag_w, u3_noun pax) { - u3_pier* pir_u = _pier_init(wag_w, u3r_string(pax)); + u3_pier* pir_u; + + if ( !(pir_u = _pier_init(wag_w, u3r_string(pax))) ) { + fprintf(stderr, "pier: stay: init fail\r\n"); + u3_king_bail(); + return 0; + ...
enclave-tls: solve a potential issue that -ldl -lc can't be found when using LVI binutils tool, SEARCH_DIR in linker ld doesn't include /usr/ lib/x86_64-linux-gnu as default library path in ubuntu. So the following error will happen: ld: cannot find -ldl ld: cannot find -lc Fixes:
@@ -31,6 +31,7 @@ endif Enclave_Tls_Root ?= /opt/enclave-tls Enclave_Tls_Libdir := $(Enclave_Tls_Root)/lib Enclave_Tls_Lib := $(Enclave_Tls_Libdir)/libenclave_tls.so +Global_Base_Libdir := /usr/lib/x86_64-linux-gnu # Determine the caller is from in-tree or out-of-tree ifeq ($(Topdir),) @@ -97,7 +98,7 @@ else endif Encl...
Avoid exiting shell on error when sourced
@@ -42,8 +42,9 @@ fi if [ ! -d "$XILINX_VIVADO" ]; then echo "XILINX_VIVADO is not set, please run $XILINX_ROOT/Vivado/<version>/settings64.sh" - exit -fi + # don't use exit here, as it will exit the shell when sourced, and the output is no longer visible +else + ####### Xilinx Vivado calls: which vivado # checking ver...
IP Route add/del API is MP safe
@@ -3370,6 +3370,12 @@ ip_api_hookup (vlib_main_t * vm) foreach_ip_api_msg; #undef _ + /* + * Mark the route add/del API as MP safe + */ + am->is_mp_safe[VL_API_IP_ADD_DEL_ROUTE] = 1; + am->is_mp_safe[VL_API_IP_ADD_DEL_ROUTE_REPLY] = 1; + /* * Set up the (msg_name, crc, message-id) table */
Fix luax_optu32;
@@ -105,7 +105,7 @@ typedef struct { #define luax_checkfloat(L, i) (float) luaL_checknumber(L, i) #define luax_optfloat(L, i, x) (float) luaL_optnumber(L, i, x) #define luax_tofloat(L, i) (float) lua_tonumber(L, i) -#define luax_optu32(L, i, x) lua_isnoneornil(L, i) ? (x) : luax_checku32(L, i) +#define luax_optu32(L, i...
web ui: refresh key name when add dialog is opened
@@ -38,7 +38,8 @@ export default class AddDialog extends Component { } componentWillReceiveProps (nextProps) { - if (this.state.name.length === 0 && nextProps.arrayKeyLength) { + const wasOpened = this.props.open === false && nextProps.open === true + if (wasOpened && nextProps.arrayKeyLength) { this.setState({ name: t...
always stop executing if safety mode fails to be set (suggested by jyoung8607)
@@ -118,6 +118,7 @@ void set_safety_mode(uint16_t mode, int16_t param) { int err = set_safety_hooks(mode, param); if (err == -1) { puts("Error: safety set mode failed\n"); + while (true); // ERROR: we can't continue if safety mode isn't succesfully set } else { switch (mode) { case SAFETY_NOOUTPUT: @@ -766,15 +767,7 @@...
fix skip endtime too short
from CheckSystem.Judgement import DiffCalculator +from EEnum.EReplay import Replays from Utils.skip import search_time, search_osrindex @@ -21,11 +22,13 @@ def get_offset(beatmap, start_index, end_index, replay_event): def find_time(starttime, endtime, replay, replay_start): starttime *= 1000 + starttime += replay[0][R...
Increase the stack size to fix the 520.omnetpp_r workload in SPECCPU2017.
*/ #define RUNTIME_MAX_THREADS 100000 -#define RUNTIME_STACK_SIZE 128 * KB -#define RUNTIME_GUARD_SIZE 128 * KB +#define RUNTIME_STACK_SIZE 256 * KB +#define RUNTIME_GUARD_SIZE 256 * KB #define RUNTIME_RQ_SIZE 32 #define RUNTIME_SOFTIRQ_LOCAL_BUDGET 16 #define RUNTIME_SOFTIRQ_REMOTE_BUDGET 1
ci: Use ARTIFACT_DOWNLOAD_ATTEMPTS and others from the project settings
@@ -16,9 +16,8 @@ variables: # GitLab-CI environment - # more attempts for more robust - GET_SOURCES_ATTEMPTS: "10" - ARTIFACT_DOWNLOAD_ATTEMPTS: "10" + # XXX_ATTEMPTS variables (https://docs.gitlab.com/ce/ci/yaml/README.html#job-stages-attempts) are not defined here. + # Use values from "CI / CD Settings" - "Variables...
CLEANUP: removed the dual "\r\n" in the test pipeline command.
@@ -113,13 +113,13 @@ $cmd = ""; for (my $i = 0; $i < $max_pipe_operation; $i++) { $cmd .= "lop insert lkey3 0 4 pipe\r\ndata\r\n"; } -$cmd .= "lop insert lkey3 0 4\r\ndata\r\n"; +$cmd .= "lop insert lkey3 0 4\r\ndata"; $rst = "RESPONSE 500\n"; for (my $i = 0; $i < $max_pipe_operation; $i++) { $rst .= "STORED\n"; } -$r...
short range: Fix uShortRangeDeinit() crash If short range handles hadn't been closed before calling uShortRangeDeinit() this would result in a double free that would crash on some platforms.
@@ -660,7 +660,6 @@ void uShortRangeDeinit() while (gpUShortRangePrivateInstanceList != NULL) { pInstance = gpUShortRangePrivateInstanceList; removeShortRangeInstance(pInstance); - free(pInstance); } // Unlock the mutex so that we can delete it
sse2: don't require constants for _mm_srai_epi{16,32} Fixes
@@ -5578,7 +5578,7 @@ simde_mm_srl_epi64 (simde__m128i a, simde__m128i count) { SIMDE_FUNCTION_ATTRIBUTES simde__m128i simde_mm_srai_epi16 (simde__m128i a, const int imm8) - SIMDE_REQUIRE_CONSTANT_RANGE(imm8, 0, 255) { + SIMDE_REQUIRE_RANGE(imm8, 0, 255) { /* MSVC requires a range of (0, 255). */ simde__m128i_private r...
add loadfileimpl to loadfile
@@ -31,23 +31,7 @@ xmake._PROJECT_DIR = _PROJECT_DIR xmake._PROJECT_FILE = "xmake.lua" xmake._WORKING_DIR = os.curdir() --- init loadfile -local _loadfile = _loadfile or loadfile -local _loadcache = {} -function loadfile(filepath) - - -- get absolute path - filepath = path.absolute(filepath) - - -- attempt to load scri...
fixes Use after free in http
@@ -751,14 +751,16 @@ finish: nni_aio_set_input(sc->cbaio, 1, h); nni_aio_set_input(sc->cbaio, 2, sc->conn); + // Set a reference -- this because the callback may be running + // asynchronously even after it gets removed from the server. + nni_atomic_inc64(&h->ref); + // Documented that we call this on behalf of the ca...
Added definitions for GEMM_PREFERED_SIZE and SWITCH_RATIO to the POWER9 and POWER10 specific sections of param.h.
@@ -2399,6 +2399,9 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define GEMM_DEFAULT_OFFSET_B 65536 #define GEMM_DEFAULT_ALIGN 0x0ffffUL +#define SWITCH_RATIO 16 +#define GEMM_PREFERED_SIZE 16 + #define SGEMM_DEFAULT_UNROLL_M 16 #define SGEMM_DEFAULT_UNROLL_N 8 #define DGEMM_DEFAULT_UNROL...
Init payload channel when cribl backend enabled
@@ -2024,7 +2024,7 @@ initCtl(config_t *cfg) } ctlTransportSet(ctl, trans, CFG_CTL); - if (cfgLogStream(cfg) && cfgPayEnable(cfg)) { + if (cfgLogStream(cfg) || cfgPayEnable(cfg)) { transport_t *trans = initTransport(cfg, CFG_LS); if (!trans) { ctlDestroy(&ctl);
[make] print debug level on build
@@ -158,6 +158,7 @@ $(info PLATFORM = $(PLATFORM)) $(info TARGET = $(TARGET)) $(info ARCH = $(ARCH)) $(info TOOLCHAIN_PREFIX = $(TOOLCHAIN_PREFIX)) +$(info DEBUG = $(DEBUG)) # include the top level module that includes basic always-there modules include top/rules.mk
odissey: pass client_encoding and datestyle for console clients
@@ -203,9 +203,17 @@ od_frontend_setup(od_client_t *client) client->key.key); if (rc == -1) return -1; - rc = shapito_be_write_parameter_status(stream, "", 1, "", 1); + /* pass client startup parameters */ + od_schemeroute_t *scheme_route; + scheme_route = client->scheme; + if (scheme_route->storage->storage_type == OD...
spa: spinner component uses ~landscape img src
@@ -10,7 +10,7 @@ export class Spinner extends Component { return ( <div className={classes + ' z-2 bg-white bg-gray0-d white-d'}> <img className="invert-d spin-active v-mid" - src="/~chat/img/Spinner.png" + src="/~landscape/img/Spinner.png" width={16} height={16} />
SOVERSION bump to version 2.3.7
@@ -63,7 +63,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_ # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) set(LIBYANG_MINOR_SOVERSION 3) -set(LIBYANG_MICRO_SOVERSION 6) +set(LIBYANG_MICRO_SOVERSION 7) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_MI...
some filename includes "error". so update the regex
@@ -18,7 +18,7 @@ except ImportError: sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) from find_build_apps import BuildItem, setup_logging -WARNING_REGEX = r"error|warning" +WARNING_REGEX = r"^\s+(?:error|warning)" IGNORE_WARNS = [ re.compile(r_str) for r_str in [
build CHANGE detect libyang version ... and refuse to compile with an old one.
@@ -45,6 +45,7 @@ set(SYSREPO_SOVERSION ${SYSREPO_MAJOR_SOVERSION}) # Version of libyang library that this sysrepo depends on set(LIBYANG_DEP_VERSION 1.0.119) +set(LIBYANG_DEP_SOVERSION 1.5.14) # options if((CMAKE_BUILD_TYPE_LOWER STREQUAL debug) OR (CMAKE_BUILD_TYPE_LOWER STREQUAL package)) @@ -194,11 +195,20 @@ if(HA...
backport mediatomb fix, but place it differently
@@ -1285,6 +1285,11 @@ parser_parse_requestline( http_parser_t * parser ) hmsg->method = HTTPMETHOD_SIMPLEGET; + /* remove excessive leading slashes, keep one slash */ + while ( url_str.length >= 2 && url_str.buf[0] == '/' && url_str.buf[1] == '/' ) { + url_str.buf++; + url_str.length--; + } /* store url */ hmsg->urlbu...
releases/README: typo Title level.
@@ -22,7 +22,7 @@ The purpose is twofold: that the released binary was created correctly, even if it becomes infeasible to re-build the binary. -# Verify assertions by the community +## Verify assertions by the community Inspect the `assertion.txt` file of the relevant subdir, e.g. [firmware-v4.1.0/assertion.txt](firmw...
Adjust button maps location 1) Try to load from user dir (for development / customization) 2) Fallback to location from package installations
@@ -681,10 +681,22 @@ DeRestPluginPrivate::DeRestPluginPrivate(QObject *parent) : addLightNode(node); } + const QStringList buttonMapLocations = { + deCONZ::getStorageLocation(deCONZ::ApplicationsDataLocation) + QLatin1String("/devices/button_maps.json") +#ifdef Q_OS_LINUX + , "/usr/share/deCONZ/devices/button_maps.jso...
Skip checked motion vectors in early termination Changes the second iteration of early termination to skip the motion vectors that were already checked in the first iteration.
@@ -375,13 +375,16 @@ static uint32_t calc_mvd_cost(const encoder_state_t *state, static bool early_terminate(inter_search_info_t *info) { - static const vector2d_t small_hexbs[5] = { - { 0, 0 }, - { 0, -1 }, { -1, 0 }, { 1, 0 }, { 0, 1 }, + static const vector2d_t small_hexbs[7] = { + { 0, -1 }, { -1, 0 }, { 0, 1 }, {...
shrink kernel heap to be less absurd size
@@ -26,7 +26,7 @@ void kmalloc_track_int(char* file, int line, uint32_t size); #define kmalloc(bytes) kmalloc_track(bytes) #define KHEAP_START 0xC0000000 -#define KHEAP_INITIAL_SIZE 0xF000000 +#define KHEAP_INITIAL_SIZE 0x000F0000 #define KHEAP_MAX_ADDRESS 0xDFFFF000 //#define KHEAP_MAX_ADDRESS 0xCFFFF000
BugID:24882677:[umesh2]delete service list iterator
@@ -78,12 +78,6 @@ typedef struct service_s { typedef void *net_interface_t; -#define UMESH_FOUND_LIST_ITERATOR(service) extern service_state_t *g_service_state;\ - list_for_each_entry(service, &g_service_state->found_service_list, linked_list, service_t) - -#define UMESH_SESSION_LIST_ITERATOR(session,service) list_for...
Add vector norm test
@@ -106,6 +106,12 @@ result = (np.linalg.norm(a)) ## Here is a problem ref_result = 16.881943016134134 print(math.isclose(result, ref_result, rel_tol=1E-6, abs_tol=1E-6)) +a = np.array([[0, 1, 2], [5, 4, 8], [4, 4, 8] ], dtype=np.int16) +result = (np.linalg.norm(a,axis=1)) +ref_result = np.array([2.236068, 10.24695, 9....
fix osr replay weird mouse position due to the last element of the replay
@@ -14,18 +14,16 @@ def setupReplay(osrfile, start_time, end_time): total_time = 0 start_index = 0 - end_index = 0 start_osr = max(0, start_time - 5000) - end_osr = end_time + 1000 for index in range(len(replay_data)): times = replay_info.play_data[index].time_since_previous_action total_time += times - if total_time >...
Use an accurate name for the ci skip list
@@ -8,9 +8,9 @@ fi changes=( `git diff --name-only --cached` ) # Load the patterns we want to skip into an array -mapfile -t blacklist < .ciignore +mapfile -t blocklist < .ciignore -for i in "${blacklist[@]}" +for i in "${blocklist[@]}" do # Remove the current pattern from the list of changes changes=( ${changes[@]/$i/...
Add `parso` to bundled modules list
@@ -53,7 +53,7 @@ except NameError: unicode = str -BUNDLED_MODULES = ['certifi', 'chardet', 'colorama', 'cycler', 'dateutil', 'distlib', 'idna', 'ipaddress', 'jedi', 'lockfile', 'matplotlib', 'numpy', 'pandas', 'setuptools', 'progress', 'pyparsing', 'pytoml', 'pytz', 'queue', 'requests', 'rubicon', 'six', 'stopit', 'ur...
debug_timer: always enable
@@ -15,12 +15,11 @@ volatile unsigned long systickcount = 0; #endif void debug_timer_init() { - if (!(CoreDebug->DEMCR & CoreDebug_DEMCR_TRCENA_Msk)) { + DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk; CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk; DWT->CYCCNT = 0; DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk; } -} uint32_t debug_timer_m...
Advance TimeLineID after standby promoted, which follows upstream. A timeline history file would be generated to track timeline change, and we copy the last wal file as wal file of current timeline. The split point in history file would take care of correct recovery. Author: Xiaoran Wang Author: Max Yang
@@ -7462,6 +7462,19 @@ StartupXLOG(void) writeTimeLineHistory(ThisTimeLineID, recoveryTargetTLI, curFileTLI, endLogId, endLogSeg); } + else if (ControlFile->state == DB_IN_STANDBY_PROMOTED) + { + /* + * If standby is promoted, we should advance timeline ID. + */ + ThisTimeLineID = findNewestTimeLine(recoveryTargetTLI) ...
Fix Error: chip/nuc_timerisr.c:105:20: error: unused function 'nuc_unlock' [-Werror,-Wunused-function]
* ****************************************************************************/ -#ifdef CONFIG_NUC_SYSTICK_CORECLK +#ifndef CONFIG_NUC_SYSTICK_CORECLK static inline void nuc_unlock(void) { putreg32(0x59, NUC_GCR_REGWRPROT); @@ -124,7 +124,7 @@ static inline void nuc_unlock(void) * **************************************...
Do not try to print error_domain or error_dname when printing errors. Resolves issue
@@ -1429,6 +1429,11 @@ process_rr(void) rr->owner->is_apex = 1; } + if (rr->owner == error_domain + || domain_dname(rr->owner) == error_dname) { + zc_error_prev_line("invalid owner name"); + return 0; + } if (!domain_is_subdomain(rr->owner, zone->apex)) { char s[MAXDOMAINLEN*5];
Fix skipping whitespaces when tuple/vector is empty.
@@ -175,12 +175,12 @@ static parser parse_value(heap h, completion c, err_internal err, character in) case '"': return combinate(h, closure(h, quoted_string, c, allocate_buffer(h, 8))); case '(': - return combinate(h, closure(h, is_end_of_tuple, h, c, allocate_tuple(), err)); + return ignore_whitespace(h, combinate(h, ...
top dir name changed
@@ -39,7 +39,7 @@ measurements for point-to-point and global communication operations for a range of message sizes. %prep -%setup -n imb +%setup -n mpi-benchmarks-%version # OpenHPC patches %patch1 -p0
revised fix windows compatible for
@@ -1215,7 +1215,7 @@ CNAME(BLASLONG m, BLASLONG n, BLASLONG k, float alpha, float * __restrict A, flo int sgemm_kernel_direct_performant(BLASLONG M, BLASLONG N, BLASLONG K) { - unsigned long mnk = M * N * K; + unsigned long long mnk = M * N * K; /* large matrixes -> not performant */ if (mnk >= 28 * 512 * 512) return ...
extmod/uzlib: Explicitly cast ptr-diff-expr to unsigned. The struct member "dest" should never be less than "destStart", so their difference is never negative. Cast as such to make the comparison explicitly unsigned, ensuring the compiler produces the correct comparison instruction, and avoiding any compiler warnings.
@@ -464,7 +464,7 @@ static int tinf_inflate_block_data(TINF_DATA *d, TINF_TREE *lt, TINF_TREE *dt) } } else { /* catch trying to point before the start of dest buffer */ - if (offs > d->dest - d->destStart) { + if (offs > (unsigned int)(d->dest - d->destStart)) { return TINF_DATA_ERROR; } d->lzOff = -offs;
Update user-question.md
@@ -9,6 +9,7 @@ assignees: '' <!-- - Use this issue template as a question about the deCONZ REST-API. + - Make sure not to remove any headers and fill the template completely. If you remove the headers, the issue will be auto-closed. - If you want to report a bug for the Phoscon App, please head over to: https://github...
update u-he forward url
@@ -111,7 +111,7 @@ and use to get a basic plugin experience: ## Plugins -- [u-he](https://u-he.com), synthesizers and effects +- [u-he](https://u-he.com/fwd/clap/), synthesizers and effects - [Surge](https://surge-synthesizer.github.io/), open source synthesizer and effect - CLAP is enabled in [nightly builds](https:/...
Add UNICODE_NULL
@@ -3687,7 +3687,6 @@ NTSTATUS PhpUnloadDriver( if (disposition == REG_CREATED_NEW_KEY) { static UNICODE_STRING imagePath = RTL_CONSTANT_STRING(L"\\SystemRoot\\system32\\drivers\\ntfs.sys"); - UNICODE_STRING valueName; ULONG dword; @@ -3702,7 +3701,7 @@ NTSTATUS PhpUnloadDriver( // Use a bogus name. RtlInitUnicodeStrin...
Skip set join if already set.
@@ -292,6 +292,10 @@ void cjoin_setIsJoined(bool newValue) { uint8_t array[5]; asn_t joinAsn; + if (cjoin_vars.isJoined == newValue) { + return; + } + cjoin_vars.isJoined = newValue; // Update Join ASN value
data tree UPDATE parse unknown op nodes as opaque Instead of being struct and retuning an error. Refs cesnet/libnetconf2#318
@@ -549,7 +549,7 @@ lyd_parse_op_(const struct ly_ctx *ctx, const struct lysc_ext_instance *ext, str LY_CHECK_ARG_RET(ctx, format == LYD_XML, parent, parent->schema->nodetype & (LYS_RPC | LYS_ACTION), tree, !op, LY_EINVAL); } - parse_opts = LYD_PARSE_ONLY | LYD_PARSE_STRICT; + parse_opts = LYD_PARSE_ONLY | LYD_PARSE_OP...
Fix for filesystems without symlink support
@@ -25,10 +25,16 @@ void ScriptStore::LoadAll() auto fPath = file.path(); + try + { if (is_symlink(fPath)) fPath = read_symlink(fPath); else if (is_symlink(fPath / "init.lua")) fPath = read_symlink(fPath / "init.lua").parent_path(); + } + catch (std::exception& e) + { + } fPath = absolute(fPath); auto fPathStr = fPath....
ADd OSCOAP error codes to opendefs.
@@ -256,7 +256,9 @@ enum { ERR_UNSUPPORTED_METADATA = 0x41, // the metadata type is not suppored ERR_JOINED = 0x42, // node joined ERR_SEQUENCE_NUMBER_OVERFLOW = 0x43, // OSCOAP sequence number reached maximum value - ERR_BUFFER_OVERFLOW = 0x44, // OSCOAP buffer overflow detected + ERR_BUFFER_OVERFLOW = 0x44, // OSCOAP...
VSCode added something.
"bit": "cpp", "format": "cpp", "forward_list": "cpp", - "stop_token": "cpp" + "stop_token": "cpp", + "*.rh": "cpp" }, "C_Cpp.default.cppStandard": "c++14", "C_Cpp.default.cStandard": "c99",
tools:fix host exerciser command line interrupt default value
@@ -323,7 +323,7 @@ public: // The Interrupt Vector Number for the device app_.add_option("--interrupt", he_interrupt_, "The Interrupt Vector Number for the device") - ->transform(CLI::Range(0, 3))->default_val("0"); + ->transform(CLI::Range(0, 4))->default_val("4"); app_.add_option("--perf", perf_, "enable perf counte...
Fixed formatting issue in table
@@ -11,7 +11,7 @@ GSL 2.4 & 1.9e-04 & 2.9e-07 & 8.4e-08 & 1.6e-07 & 1.5e-06 & 2.2e-06 & \--- & 0.0 CLASS & 0.0e+00 & 0.0e+00 & \--- & 0.0e+00 & 0.0e+00 & 0.0e+00 & \--- & \--- & 6.7e-11 \\[3pt] CODATA 2014 & 3.0e-05 & 1.4e-06 & 5.9e-06 & 1.6e-07 & 0.0e+00 & 8.4e-08 & \--- & \--- & \--- \\[3pt] IAU 2015 & 3.0e-05 & \---...
Rename degree 2 unit test to parabola
@@ -192,7 +192,7 @@ void derive_single_line_with_custom_knots(CuTest *tc) TS_END_TRY } -void derive_single_line_with_custom_knots_degree_2(CuTest *tc) +void derive_single_parabola_with_custom_knots(CuTest *tc) { tsBSpline spline = ts_bspline_init(); tsDeBoorNet net = ts_deboornet_init(); @@ -647,7 +647,7 @@ CuSuite* ge...
Fix Debian os-release name
@@ -60,7 +60,7 @@ dependencies() { DEPS="{glibc-devel.i686,libstdc++-devel.i686,libX11-devel.i686}" install ;; - *"buntu"|"Linux Mint"|"Debian"|"Zorin OS"|"Pop!_OS"|"elementary OS") + *"buntu"|"Linux Mint"|"Debian GNU/Linux"|"Zorin OS"|"Pop!_OS"|"elementary OS") MANAGER_QUERY="dpkg-query -s" MANAGER_INSTALL="apt instal...
Added value * TDuration
@@ -579,6 +579,11 @@ inline TDuration operator*(const TDuration& d, const T& t) noexcept { return TDuration::FromValue(d.GetValue() * t); } +template <class T> +inline TDuration operator*(const T& t, const TDuration& d) noexcept { + return d * t; +} + template <class T, std::enable_if_t<!std::is_same<TDuration, T>::val...
fixed system sfx speed
@@ -473,7 +473,7 @@ tic_flags* getBankFlags() void playSystemSfx(s32 id) { const tic_sample* effect = &impl.config->cart.bank0.sfx.samples.data[id]; - tic_api_sfx(impl.studio.tic, id, effect->note, effect->octave, -1, 0, MAX_VOLUME, 0); + tic_api_sfx(impl.studio.tic, id, effect->note, effect->octave, -1, 0, MAX_VOLUME,...
[mod_dirlisting] sort "../" to top (fixes (thx otovalek) x-ref: "mod_dirlisting javascript sort of ".." entries is broken"
@@ -703,8 +703,8 @@ static const char js_simple_table_resort[] = \ " var bt = get_inner_text(b.cells[sort_column]);\n" \ " var cmp;\n" \ " if (sort_column == name_column) {\n" \ -" if (at == '..') return -1;\n" \ -" if (bt == '..') return 1;\n" \ +" if (at == '../') return -1;\n" \ +" if (bt == '../') return 1;\n" \ " ...
Add instructions to uninstall
@@ -33,6 +33,12 @@ git pull ./install_release.sh ``` +To uninstall: + +```bash +sudo ninja -Cbuild-auto uninstall +``` + ## Branches @@ -295,11 +301,16 @@ After a successful build, you can install _scrcpy_ on the system: sudo ninja -Cx install # without sudo on Windows ``` -This installs two files: +This installs three...
inject fresh entropy on every restart
@@ -1293,6 +1293,18 @@ _pier_loop_wake(u3_pier* pir_u) { c3_l cod_l; + // inject fresh entropy + // + { + c3_w eny_w[16]; + c3_rand(eny_w); + + u3_noun wir = u3nt(u3_blip, c3__arvo, u3_nul); + u3_noun car = u3nc(c3__wack, u3i_words(16, eny_w)); + + _pier_writ_insert_ovum(pir_u, 0, u3nc(wir, car)); + } + cod_l = u3a_lus...
smtp_client: Fix heap leakage Freed all allocated resources by Mbed TLS at the end of routine
@@ -470,8 +470,12 @@ static void smtp_client_task(void *pvParameters) ret = 0; /* No errors */ exit: - mbedtls_ssl_session_reset(&ssl); mbedtls_net_free(&server_fd); + mbedtls_x509_crt_free(&cacert); + mbedtls_ssl_free(&ssl); + mbedtls_ssl_config_free(&conf); + mbedtls_ctr_drbg_free(&ctr_drbg); + mbedtls_entropy_free(&...
lwip/dhcp: change de-initialization value of netmask Netmask of IP_ADDR_ANY is 0.0.0.0, it causes wrong netif assignment due to wrong ip address comparsion with 0.0.0.0 netmask. ip_route may not work properly with netmask 0.0.0.0.
@@ -1211,9 +1211,11 @@ void dhcp_stop(struct netif *netif) } #endif /* LWIP_DHCP_AUTOIP_COOP */ + ip_addr_t ipaddr; netif_set_ipaddr(netif, IP_ADDR_ANY); netif_set_gw(netif, IP_ADDR_ANY); - netif_set_netmask(netif, IP_ADDR_ANY); + ipaddr.addr = IPADDR_NONE; + netif_set_netmask(netif, &ipaddr); if (dhcp->pcb != NULL) { ...
Update gitignore Add test/timing_load_creds
@@ -102,6 +102,7 @@ providers/common/include/prov/der_sm2.h /test/evp_extra_test2 /test/evp_pkey_ctx_new_from_name /test/threadstest_fips +/test/timing_load_creds # Certain files that get created by tests on the fly /test-runs