message
stringlengths
6
474
diff
stringlengths
8
5.22k
lyb printer REFACTOR of lyb_print_node_opaq
static LY_ERR lyb_print_schema_hash(struct ly_out *out, struct lysc_node *schema, struct hash_table **sibling_ht, struct lylyb_ctx *lybctx); static LY_ERR lyb_print_attributes(struct ly_out *out, const struct lyd_node_opaq *node, struct lylyb_ctx *lybctx); +static LY_ERR lyb_print_subtree(struct ly_out *out, const stru...
Prevented building if project not loaded
@@ -394,8 +394,9 @@ export const buildGame = ({ ejectBuild = false } = {}) => async (dispatch, getState) => { const state = getState(); - if (state.console.status === "running") { + if (!state.document.loaded || state.console.status === "running") { // Can't build while previous build still in progress + // or loading ...
chat-hook: correctly poke chat-view on fix case and fix path
:: ~ :- =- [%pass /fixdm %agent [our.bol %chat-view] %poke %chat-view-action -] - !> ^- action:store + !> ^- action:view [%delete path] =/ new-dm /(scot %p our.bol)/(crip (weld "dm--" (trip (scot %p ship)))) =/ mailbox=(unit mailbox:store) (chat-scry path) (zing [(trip (scot %p our.bol)) " <-> " (trip (scot %p ship)) ~...
Make pipes non-blocking, assert that read never blocks
@@ -361,8 +361,10 @@ static int from_pipe_read(h2o_sendvec_t *vec, void *dst, size_t len) ssize_t ret; while ((ret = read(self->pipe_reader.fds[0], dst, len)) == -1 && errno == EINTR) ; - if (ret <= 0) + if (ret <= 0) { + assert(errno != EAGAIN); return 0; + } dst += ret; len -= ret; vec->len -= ret; @@ -644,7 +646,7 @...
input_chunk: validate chunks and adjust size if required
#include <fluent-bit/flb_info.h> #include <fluent-bit/flb_input.h> #include <fluent-bit/flb_input_chunk.h> +#include <fluent-bit/flb_input_plugin.h> #include <fluent-bit/flb_storage.h> #include <fluent-bit/flb_time.h> #include <fluent-bit/flb_router.h> @@ -319,16 +320,15 @@ int flb_input_chunk_place_new_chunk(struct fl...
apps/blestress - remove extra SDU lenght info removed appending length of pattern data, as that is performed either way by functions called by l2cap API
@@ -837,14 +837,6 @@ rx_stress_10_l2cap_event(struct ble_l2cap_event *event, void *arg) MODLOG_DFLT(INFO, "Data buf %s\n", data_buf ? "OK" : "NOK"); assert(data_buf != NULL); - /* The first 2 bytes of data is the size of appended pattern data. */ - rc = os_mbuf_append(data_buf, (uint8_t[]) {data_len >> 8, data_len}, - ...
nimble/ll/css: Fix conn event end time calculation Proper end time is obviously slot duration from start time.
@@ -521,13 +521,13 @@ ble_ll_sched_conn_central_new(struct ble_ll_conn_sm *connsm, ble_ll_sched_css_set_conn_anchor(connsm); sch->start_time = connsm->anchor_point - g_ble_ll_sched_offset_ticks; + sch->end_time = connsm->anchor_point; sch->remainder = connsm->anchor_point_usecs; OS_EXIT_CRITICAL(sr); - sch->end_time = ...
vcl: fix only first epoll listen session be registered If configure listen port more than 1 with epoll in nginx, only first listen port can be registered successed in nginx worker process. Type: fix
@@ -51,7 +51,6 @@ typedef struct vls_local_ pthread_mutex_t vls_mt_mq_mlock; pthread_mutex_t vls_mt_spool_mlock; volatile u8 select_mp_check; - volatile u8 epoll_mp_check; } vls_process_local_t; static vls_process_local_t vls_local; @@ -1336,16 +1335,9 @@ vls_epoll_create (void) static void vls_epoll_ctl_mp_checks (vcl...
DDF correct Tuya RH3040 motion sensor Support versions: TUYATEC-zn9wyqtr TUYATEC-lakq7nse TUYATEC-53o41joc
{ "schema": "devcap1.schema.json", "doc:path": "tuya/rh3040_motion_sensor.md", - "doc:hdr": "Motion sensor ESS-SI-PIR-6101", - "manufacturername": "$MF_TUYA", - "modelid": "RH3040", - "product": "Motion Sensor (ESS-SI-PIR-6101)", - "status": "Bronze", + "doc:hdr": "Motion sensor RH3040", + "manufacturername": ["TUYATEC...
test_pwm: relax the requirement of mcpwm test
@@ -169,9 +169,9 @@ static void mcpwm_start_stop_test(mcpwm_unit_t unit, mcpwm_timer_t timer) TEST_ESP_OK(mcpwm_stop(unit, timer)); usleep(10000); // wait until timer stopped pulse_number = mcpwm_pcnt_get_pulse_number(TEST_PWMA_PCNT_UNIT, 100); - TEST_ASSERT_INT_WITHIN(0, 0, pulse_number); + TEST_ASSERT_INT_WITHIN(2, 0...
baseboard/mtscp-rv32i/baseboard.c: Format with clang-format BRANCH=none TEST=none
@@ -26,7 +26,9 @@ struct mpu_entry mpu_entries[NR_MPU_ENTRIES] = { { 0x70000000, 0x80000000, MPU_ATTR_W | MPU_ATTR_R }, #ifdef CHIP_VARIANT_MT8195 { 0x10000000, 0x11400000, MPU_ATTR_C | MPU_ATTR_W | MPU_ATTR_R }, - {CONFIG_PANIC_DRAM_BASE, CONFIG_PANIC_DRAM_BASE + CONFIG_PANIC_DRAM_SIZE, MPU_ATTR_W | MPU_ATTR_R}, + { C...
Toyota: less torque error allowance to meet Corolla acceptable behavior
@@ -9,7 +9,7 @@ const int32_t MAX_TORQUE = 1500; // max torque cmd allowed ever // packet is sent at 100hz, so this limit is 1000/sec const int32_t MAX_RATE_UP = 10; // ramp up slow const int32_t MAX_RATE_DOWN = 25; // ramp down fast -const int32_t MAX_TORQUE_ERROR = 500; // max torque cmd in excess of torque motor +co...
stm32/mboot: Use additional CFLAGS to compile string0.c. This is the same as but applied to mboot's Makefile.
@@ -57,6 +57,10 @@ CFLAGS_MCU_h7 = $(CFLAGS_CORTEX_M) -mtune=cortex-m7 -mcpu=cortex-m7 CFLAGS_MCU_l4 = $(CFLAGS_CORTEX_M) -mtune=cortex-m4 -mcpu=cortex-m4 CFLAGS_MCU_wb = $(CFLAGS_CORTEX_M) -mtune=cortex-m4 -mcpu=cortex-m4 +# Standard C functions like memset need to be compiled with special flags so +# the compiler doe...
[DeviceDriver][pm] Update pm driver.
@@ -238,7 +238,15 @@ void rt_pm_request(rt_ubase_t mode) * if not, it has already called in rt_pm_exit() */ if (pm->current_mode < PM_SLEEP_MODE_START) + { + pm->ops->exit(pm); + } + else if (pm->exit_count) + { + /* call exeit when global interrupt is disable */ pm->ops->exit(pm); + pm->exit_count = 0; + } /* update c...
Fix section numbering.
@@ -15,12 +15,13 @@ TABLE OF CONTENTS: 4.1. Declarations 4.2. Data Types 4.3. Literal Values - 4.4. Control Constructs and Blocks - 4.5. Expressions - 4.6. Type Inference - 4.7. Generics - 4.8. Traits - 4.9. Packages and Uses + 4.4. Blocks + 4.5. Control Constructs + 4.6. Expressions + 4.7. Type Inference + 4.8. Generi...
disable non-universal checks in hyundai safety
@@ -19,10 +19,14 @@ const CanMsg HYUNDAI_TX_MSGS[] = { // TODO: missing checksum for wheel speeds message,worst failure case is // wheel speeds stuck at 0 and we don't disengage on brake press +// TODO: refactor addr check to cleanly re-enable commented out checks for cars that have them AddrCheckStruct hyundai_rx_chec...
Fix unknown type name 'size_t' error freertos build fails complaining that size_t is an unknown type. 'size_t' is defined in stddef.h so is is included in the oc_clock_util header file to resolve the error. Tested-by: IoTivity Jenkins
#define OC_CLOCK_UTIL_H #include "oc_config.h" +#include <stddef.h> + size_t oc_clock_time_rfc3339(char *out_buf, size_t out_buf_len); size_t oc_clock_encode_time_rfc3339(oc_clock_time_t time, char *out_buf,
Clarify output requirements
* - Bignum parameters called \p A, \p B, ... are inputs and are not * modified by the function. * - Bignum parameters called \p X, \p Y, ... are outputs or input-output. - * The initial content of output-only parameters is ignored. These will - * have the type #mbedtls_mpi_mod_residue. + * The initial bignum value of o...
test/recipes/90-test_shlibload.t: Skip when address sanitizer enabled Because this test loads the shared libraries dynamically, there are cases where that results in errors because the ASAN library wasn't loaded first. That makes this test unsuitable in an ASAN build.
@@ -23,6 +23,7 @@ plan skip_all => "Test only supported in a shared build" if disabled("shared"); plan skip_all => "Test is disabled on AIX" if config('target') =~ m|^aix|; plan skip_all => "Test is disabled on NonStop" if config('target') =~ m|^nonstop|; plan skip_all => "Test only supported in a dso build" if disable...
zephyr/shim/include/power/power.h: Format with clang-format BRANCH=none TEST=none
#include <zephyr/devicetree.h> #include <zephyr/drivers/gpio.h> -#define POWER_SIGNAL_LIST_NODE \ - DT_NODELABEL(power_signal_list) +#define POWER_SIGNAL_LIST_NODE DT_NODELABEL(power_signal_list) -#define SYSTEM_DT_POWER_SIGNAL_CONFIG \ - DT_NODE_EXISTS(POWER_SIGNAL_LIST_NODE) +#define SYSTEM_DT_POWER_SIGNAL_CONFIG DT_...
Including hl 1&2 to the list
@@ -14,7 +14,7 @@ This library is based on glshim (https://github.com/lunixbochs/glshim) but as no The focus is on compatibility and speed with a wide selection of game and software. -It has been tested successfully of a large selection of games and software, including: Minecraft, OpenMW, SeriousSam (both First and Sec...
param build set: add errors to failure returns
@@ -73,8 +73,10 @@ int ossl_param_build_set_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, return OSSL_PARAM_BLD_push_BN_pad(bld, key, bn, sz); p = OSSL_PARAM_locate(p, key); if (p != NULL) { - if (sz > p->data_size) + if (sz > p->data_size) { + ERR_raise(ERR_LIB_CRYPTO, CRYPTO_R_TOO_SMALL_BUFFER); return 0; + } p->data_si...
Update before.targets Try to auto-detect latest Win 10 SDK
</PropertyGroup> <PropertyGroup Label="Globals"> <PlatformToolset>v141</PlatformToolset> - <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion> + <!-- Customers may override WindowsTargetPlatformVersion before auto-detection of latest Win 10 SDK --> + <LatestTargetPlatformVersion>$([Microsoft.Build...
Update checksum to match RMT assembly
@@ -101,4 +101,4 @@ static const CLR_RT_MethodHandler method_lookup[] = { }; const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_nanoFramework_Hardware_Esp32_Rmt = - {"nanoFramework.Hardware.Esp32.Rmt", 0xD80A6E8D, method_lookup, {100, 0, 3, 0}}; + {"nanoFramework.Hardware.Esp32.Rmt", 0x9A53BB44, method_lookup, {100, ...
add: roundpd instruction
@@ -547,6 +547,30 @@ void Run660F(x86emu_t *emu) break; } break; + case 0x09: // roundpd GX, EX, u8 + nextop = F8; + GET_EX; + tmp8u = F8; + switch((tmp8u & 4) ? ((emu->mxcsr >> 13) & 3) : (tmp8u & 3)) + { + case ROUND_Nearest: + GX.d[0] = nearbyint(EX->d[0]); + GX.d[1] = nearbyint(EX->d[1]); + break; + case ROUND_Down...
Add init.lua to search path of require replacement
@@ -252,10 +252,23 @@ void LuaSandbox::InitializeIOForEnvironment(sol::environment& aEnvironment, cons { auto absPath = absolute(acRootPath / acPath).make_preferred(); if (!exists(absPath)) - absPath += ".lua"; + { + auto absPath2 = absPath; + absPath2 += ".lua"; + if (exists(absPath2)) + absPath = absPath2; + else + {...
config_tools: add default value for virtio console add default value for virtio console
@@ -137,8 +137,8 @@ export default { this.defaultVal = [] } this.defaultVal.push({ - "use_type": "", - "backend_type": "", + "use_type": "Virtio console", + "backend_type": "stdio", "output_file_path": "", "sock_file_path": "", "tty_device_path": "",
remove should continue when 1 frame not found because
@@ -164,10 +164,7 @@ class YImages: should_continue = os.path.isfile(path + self.filename + self.delimiter + str(counter) + self.settings.format) should_continue = should_continue or os.path.isfile(path + self.filename + self.delimiter + str(counter) + self.settings.x2 + self.settings.format) - if not self.frames: - sh...
[quorum][#690]add inlcde file
@@ -70,4 +70,8 @@ boatiotsdk.h is the wrapper header file for 3rd application to include. #include "protocolapi/api_venachain.h" #endif +#if PROTOCOL_USE_QUORUM == 1 +#include "protocolapi/api_quorum.h" +#endif + #endif
ORB: Quantize angle and fix rotation
@@ -315,6 +315,9 @@ static int comp_angle(image_t *img, kp_t *kp, int *u_max, float *a, float *b) angle += 360; } + // Quantize angle to 15 degrees + angle = angle - (angle % 15); + *a = cos_table[angle]; *b = sin_table[angle]; return angle; @@ -407,7 +410,7 @@ array_t *orb_find_keypoints(image_t *img, bool normalized,...
Fix to use mrb_data_check_get_ptr instead of DATA_PTR and set channel as MRB_TT_DATA
#include <mruby/error.h> #include <mruby/hash.h> #include <mruby/string.h> +#include <mruby/class.h> #include "h2o/mruby_.h" #include "embedded.c.h" @@ -90,7 +91,7 @@ static mrb_value channel_initialize_method(mrb_state *mrb, mrb_value self) static mrb_value channel_notify_method(mrb_state *mrb, mrb_value self) { struc...
Jenkinsfile: Run Results stage only after validation.
@@ -398,6 +398,10 @@ echo """Stage schedule: } stage('Results') { + when { + expression { return CORE_VALIDATION } + beforeOptions true + } steps { dir('results') { deleteDir()
[hardware] Clean traces before starting the simulation
@@ -108,13 +108,13 @@ $(buildpath)/compile.tcl: bender $(config_mk) $(shell find src -type f) $(shell # Simulation .PHONY: sim -sim: compile +sim: clean-dasm compile cd $(buildpath) && \ $(questa_cmd) vsim $(questa_args) $(library).$(top_level) -do ../scripts/run.do ./scripts/return_status.sh $(buildpath)/transcript .P...
added additional information about monitor mode and full packet injection
@@ -5662,6 +5662,8 @@ printf("%s %s (C) %s ZeroBeat\n" " WARNING:\n" " hcxdumptool may not work as expected on virtual NETLINK interfaces\n" " do not report issues related to iw\n" + " It is mandatory that chipset and driver support monitor mode and full packet injection!\n" + " Running a virtual machine, it is mandato...
Add a timeout on Send_data TX allocation
@@ -641,9 +641,13 @@ void Luos_SendData(container_t *container, msg_t *msg, void *bin_data, uint16_t msg->header.size = size - sent_size; // Send message + uint32_t tickstart = Luos_GetSystick(); while (Luos_SendMsg(container, msg) == FAILED) { + // No more memory space available Luos_Loop(); + // 500 here represent 50...
Test codecov integration
@@ -40,6 +40,7 @@ before_install: - cmake .. && make -j2 && sudo make install - cd .. && popd - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; sudo apt-get install -y clang-format-8 cppcheck; fi + - if [ "$TRAVIS_OS_NAME" = "linux" -a "$CC" = "gcc" -a "$TRAVIS_ARCH" = "amd64" ]; then pip install --us...
Change hadoop URL to apache archive
@@ -38,7 +38,7 @@ function gen_env(){ cd "\${1}/gpdb_src/gpAux" source gpdemo/gpdemo-env.sh - wget -P /tmp http://www-us.apache.org/dist/hadoop/common/hadoop-2.7.3/hadoop-2.7.3.tar.gz + wget -P /tmp http://archive.apache.org/dist/hadoop/common/hadoop-2.7.3/hadoop-2.7.3.tar.gz tar zxf /tmp/hadoop-2.7.3.tar.gz -C /tmp ex...
Drop unnecessary restriction for luaimport results The results of functions imported into lua must only be pushed on the stack; only the arguments must be read from the stace. The `FromLuaStack` restriction on most instances was dropped.
@@ -66,15 +66,15 @@ class LuaImport a where luaimport' :: StackIndex -> a -> Lua CInt luaimportargerror :: StackIndex -> String -> a -> Lua CInt -instance (FromLuaStack a, ToLuaStack a) => LuaImport (IO a) where +instance ToLuaStack a => LuaImport (IO a) where luaimportargerror n msg x = luaimportargerror n msg (liftIO...
Component/bt: fix strncp error in blufi
@@ -223,6 +223,10 @@ static void example_event_callback(esp_blufi_cb_event_t event, esp_blufi_cb_para break; case ESP_BLUFI_EVENT_REQ_CONNECT_TO_AP: BLUFI_INFO("BLUFI requset wifi connect to AP\n"); + /* there is no wifi callback when the device has already connected to this wifi + so disconnect wifi before connection....
Fix PhQueryRegistryUlong64 type check
@@ -3459,9 +3459,14 @@ ULONG64 PhQueryRegistryUlong64( if (NT_SUCCESS(PhQueryValueKey(KeyHandle, &valueName, KeyValuePartialInformation, &buffer))) { - if (buffer->Type == REG_DWORD || buffer->Type == REG_QWORD) + if (buffer->Type == REG_DWORD) + { + if (buffer->DataLength == sizeof(ULONG)) + ulong64 = *(PULONG)buffer-...
add a test for h3s-accept::conn-uuid
@@ -64,6 +64,9 @@ subtest "h2olog", sub { my @events = map { decode_json($_) } split /\n/, $trace; is scalar(grep { $_->{type} && $_->{tid} && $_->{seq} } @events), scalar(@events), "each event has type, tid and seq"; + + my($h3s_accept) = grep { $_->{type} eq "h3s-accept" } @events; + ok is_uuidv4($h3s_accept->{"conn-...
drivers/nrf51: add missing include of os_cputime.h
#include <assert.h> #include "syscfg/syscfg.h" #include "os/os.h" +/* Keep os_cputime explicitly to enable build on non-Mynewt platforms */ +#include "os/os_cputime.h" #include "ble/xcvr.h" #include "nimble/ble.h" #include "nimble/nimble_opt.h"
include/driver/accelgyro_bmi260.h: Format with clang-format BRANCH=none TEST=none
#define BMI260_TAP_1 0x3e #define BMI260_TAP_1_EN BIT(0) #define BMI260_TAP_1_SENSITIVITY_OFFSET 1 -#define BMI260_TAP_1_SENSITIVITY_MASK \ - (0x7 << BMI260_TAP_1_SENSITIVITY_OFFSET) +#define BMI260_TAP_1_SENSITIVITY_MASK (0x7 << BMI260_TAP_1_SENSITIVITY_OFFSET) /* Features page 2 */ #define BMI260_ORIENT_1 0x30 #defin...
Update startinstantos fair enough, even more clear separation fr runtime temp files for instantos.
# try to obtain a temp dir unique to the user, to enable # instantOS xsessions for concurrent users on the same machine if [ -z "${XDG_RUNTIME_DIR}" ]; then - RTD=/tmp/${UID} + RTD=/tmp/instantos/${UID} [[ -d "${RTD}" ]] || mkdir -p "${RTD}" else RTD=${XDG_RUNTIME_DIR}
Comment change: exclude unreachable condition from coverage
@@ -1295,7 +1295,7 @@ XmlUtf8Encode(int c, char *buf) }; if (c < 0) - return 0; + return 0; /* LCOV_EXCL_LINE: this case is always eliminated beforehand */ if (c < min2) { buf[0] = (char)(c | UTF8_cval1); return 1;
session: fix application_lookup_name fail due to app_by_name default hash type wrong Type: fix
@@ -1753,6 +1753,7 @@ application_init (vlib_main_t * vm) /* Add a certificate with index 0 to support legacy apis */ (void) app_cert_key_pair_alloc (); app_main.last_crypto_engine = CRYPTO_ENGINE_LAST; + app_main.app_by_name = hash_create_vec (0, sizeof (u8), sizeof (uword)); return 0; }
stop jenkins
@@ -242,24 +242,25 @@ siconos_frama_c = siconos_default.copy()( # # 4. dispatch based on hostname and distrib type (to min. disk requirement) # -known_tasks = {'siconos---vm0': - (siconos_gcc_asan, - siconos_serialization, - siconos_profiling, - siconos_gcc_asan_latest, - siconos_debian_mechanisms), - - 'siconos---vm1'...
compiler.h: Add a new attribute nosanitize_undefined This allow us to disable UBSan for particular function.
# define nosanitize_address __attribute__ ((no_sanitize_address)) +/* The nosanitize_undefined attribute informs GCC don't sanitize it */ + +# define nosanitize_undefined __attribute__((no_sanitize("undefined"))) + /* The nostackprotect_function attribute disables stack protection in * sensitive functions, e.g., stack ...
update kernel version for lustre/sles12 sp3
BuildRequires: kernel-source BuildRequires: kernel-default-devel -%define sles_kernel 4.4.21-69-default +%define sles_kernel 4.4.73-5-default %define kdir /lib/modules/%{sles_kernel}/source/ %define kobjdir /lib/modules/%{sles_kernel}/build/ %endif
options/elf: Define various missing structs
@@ -103,6 +103,38 @@ typedef struct { Elf64_Word vda_next; /* Offset in bytes to next verdaux entry */ } Elf64_Verdaux; +typedef struct { + Elf64_Half vn_version; + Elf64_Half vn_cnt; + Elf64_Word vn_file; + Elf64_Word vn_aux; + Elf64_Word vn_next; +} Elf64_Verneed; + +typedef struct { + Elf64_Word vna_hash; + Elf64_Ha...
libcommon/log: Use O_TRUNC instead of O_APPEND for logs
@@ -70,7 +70,7 @@ bool logInitLogFile(const char* logfile, enum llevel_t ll) { return true; } - log_fd = open(logfile, O_CREAT | O_RDWR | O_APPEND, 0640); + log_fd = open(logfile, O_CREAT | O_RDWR | O_TRUNC, 0640); if (log_fd == -1) { log_fd = STDERR_FILENO; PLOG_E("Couldn't open logfile open('%s')", logfile);
Doc: Cleanup vmcfg in user guides Acked-by: Anthony Xu
@@ -42,13 +42,6 @@ Here are descriptions for each of these ``acrn-dm`` command line parameters: - Enable guest to write io port 0xf4 to exit guest. It's mainly used by guest unit test. - * - :kbd:`--dump <vm_idx>` - - The option dumps detailed configuration of a VM with built-in configurations. - - Example:: - - --dump...
use dict instead of if to check hitobject type
@@ -10,19 +10,18 @@ class HitObjectManager: self.prepareslider = PrepareSlider(path, diff, self.time_preempt, opacity, scale, colors, movedown, moveright) self.hitobject = [] self.interval = 1000 / 60 - self.IS_CIRCLE = 0 - # self.IS_CIRCLESLIDER = 1 - self.IS_SLIDER = 2 + self.CIRCLE = 0 + self.SLIDER = 1 def add_slid...
Lock rocm-device-libs SHA to prevent build failure.
@@ -219,6 +219,7 @@ if [ "$AOMP_MAJOR_VERSION" == "12" ] ; then #AOMP_LIBDEVICE_REPO_SHA="f16f5b1b90a21943306b87e160654b5738c8a884" elif [ "$AOMP_MAJOR_VERSION" == "13" ] ; then AOMP_LIBDEVICE_REPO_BRANCH=${AOMP_LIBDEVICE_REPO_BRANCH:-amd-stg-open} + AOMP_LIBDEVICE_REPO_SHA="fe625ec4ed2f2345e3890f3095cb42c88e93faec" el...
gitlab-ci: correct dependencies for UBSan integration test
@@ -211,9 +211,9 @@ Integration_Test_UBSan: stage: test2 script: - AUTOCLEAN=0 CFLAGS="-O3 -ffast-math -fsanitize=undefined -fsanitize=address" make test - needs: [Build] + needs: [Build_UBSan] dependencies: - - Build + - Build_UBSan
fix(draw_rect):bottom border lost if enable clip_corner
@@ -1129,7 +1129,7 @@ void draw_border_generic(const lv_area_t * clip_area, const lv_area_t * outer_ar if(mask_any) { blend_area.x1 = draw_area.x1; blend_area.x2 = draw_area.x2; - for(h = draw_area.y1; h < draw_area.y2; h++) { + for(h = draw_area.y1; h <= draw_area.y2; h++) { if(!top_side && h < core_area.y1) continue;...
xive: Fix definition of VC_SCRUB_OFFSET Off by one on one bit
#define VC_SCRUB_WANT_DISABLE PPC_BIT(1) #define VC_SCRUB_WANT_INVAL PPC_BIT(2) /* EQC and SBC only */ #define VC_SCRUB_BLOCK_ID PPC_BITMASK(28,31) -#define VC_SCRUB_OFFSET PPC_BITMASK(41,63) +#define VC_SCRUB_OFFSET PPC_BITMASK(40,63) #define X_VC_IVC_CACHE_ENABLE 0x221 #define VC_IVC_CACHE_ENABLE 0x988 #define VC_IVC...
Extract event processing out of event_loop() To avoid too many levels of nested blocks, move the event handling logic in a separate function.
@@ -68,20 +68,21 @@ is_apk(const char *file) { return ext && !strcmp(ext, ".apk"); } -static SDL_bool -event_loop(void) { -#ifdef CONTINUOUS_RESIZING_WORKAROUND - SDL_AddEventWatch(event_watcher, NULL); -#endif - SDL_Event event; - while (SDL_WaitEvent(&event)) { - switch (event.type) { +enum event_result { + EVENT_RES...
Add a link to wiki 3.0 upgrade notes Provide a link to the 3.0 upgrade notes so that users of the alpha/beta/ final releases can understand the differences between this version and previous versions.
@@ -118,6 +118,9 @@ document. * [NOTES.VMS](NOTES.VMS) * [NOTES.WIN](NOTES.WIN) +Specific notes on upgrading to OpenSSL 3.0 from previous versions, as well as +known issues are available on the OpenSSL +[wiki](https://wiki.openssl.org/index.php/OpenSSL_3.0). Documentation =============
NumPy lookup logic is only in newer versions of cmake than our minimum We are doing the numpy lookup manually for now
@@ -34,8 +34,8 @@ find_package(IlmBase ${OPENEXR_VERSION} EXACT REQUIRED CONFIG) find_package(Python REQUIRED) # now determine which (or both), and compile for both -find_package(Python2 COMPONENTS Interpreter Development NumPy) -find_package(Python3 COMPONENTS Interpreter Development NumPy) +find_package(Python2 COMPO...
Reset nb_retransmit number when handshake done.
@@ -2145,8 +2145,9 @@ int picoquic_prepare_packet_client_init(picoquic_cnx_t* cnx, picoquic_path_t * p cnx->tls_stream[1].send_queue == NULL && cnx->tls_stream[2].send_queue == NULL) { cnx->cnx_state = picoquic_state_client_ready_start; - if (ret == 0) { - /* Signal the application */ + /* Reset the HS retransmission c...
cmdline: set only the first byte of cmdline_txt
@@ -245,7 +245,7 @@ bool cmdlineParse(int argc, char* argv[], honggfuzz_t* hfuzz) { .tmOut = 10, .tmoutVTALRM = false, }, - .cmdline_txt = {}, + .cmdline_txt[0] = '\0', .useScreen = true, .useVerifier = false, .mutationsPerRun = 6U,
add random redirect uri for all public clients
@@ -83,7 +83,8 @@ struct oidc_account* updateAccountWithPublicClientInfo( "Using public client with id '%s' and secret '%s'", client_id, client_secret); list_t* redirect_uris = - createList(0, "http://localhost:8080", "http://localhost:4242", NULL); + createList(0, "http://localhost:8080", "http://localhost:4242", + "h...
BLE Host - Corrections for heartrate PR (591). * Make ble_hs_id_use_addr() private to net/nimble/host * Remove call to ble_hs_id_use_addr() in blehr app * Remove duplicate ble_hs_id_infer_auto() prototype X-Original-Commit:
@@ -33,9 +33,6 @@ int ble_hs_id_copy_addr(uint8_t id_addr_type, uint8_t *out_id_addr, int *out_is_nrpa); int ble_hs_id_infer_auto(int privacy, uint8_t *out_addr_type); -int ble_hs_id_infer_auto(int privacy, uint8_t *out_addr_type); -int ble_hs_id_use_addr(uint8_t addr_type); - #ifdef __cplusplus } #endif
websocket_client : fix some issues for websocket client 1. will post twice disconnect event when read error 2. will block `timeout` times when set disable_auto_connect 3. When `esp_websocket_client_stop` before `esp_websocket_client_send*`, if the `esp_websocket_client_send*` fails, the status will change to 'WEBSOCKET...
@@ -46,6 +46,11 @@ static const char *TAG = "WEBSOCKET_CLIENT"; action; \ } +#define ESP_WS_CLIENT_STATE_CHECK(TAG, a, action) if ((a->state) < WEBSOCKET_STATE_INIT) { \ + ESP_LOGE(TAG,"%s:%d (%s): %s", __FILE__, __LINE__, __FUNCTION__, "Websocket already stop"); \ + action; \ + } + const static int STOPPED_BIT = BIT0;...
ci/lint: Don't cache in go setup This prevents any errors in the CI run. The caching of the go setup also tries to get and cache our code See
@@ -53,12 +53,7 @@ jobs: uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} - cache: true id: go - - name: Install debian packages - # ALERT This action must be run after code was checkout otherwise it will - # not find this file. - uses: ./.github/actions/install-debian-packages - name: Lint uses: golan...
Updated documentation with new houdiniAsset flag.
@@ -90,6 +90,7 @@ houdiniAsset [-syncHidden] [-syncTemplatedGeos] [-autoSyncId string] +[-parmHelp string] <table> <tr> @@ -157,6 +158,11 @@ houdiniAsset <td>assetNode </td> <td>Returns the current autoSyncId for this asset, used internally to determine whether there is already an autoSync running, or whether another o...
framework/eventloop: fix loop closing procedure. If eventloop_loop_stop is called although there are active events in loop, it is failed to close loop. So all handles should be closed with calling uv_close.
#include <debug.h> #include <unistd.h> #include <libtuv/uv.h> +#include <libtuv/uv__types.h> #include <eventloop/eventloop.h> #include "eventloop_internal.h" @@ -92,15 +93,31 @@ int eventloop_loop_run(void) return ret; } +/* A function for closing each handle in loop called by iteration in uv_walk. */ +static void even...
cmake: stable fixes, bump patch to 1
@@ -28,7 +28,7 @@ endif() # and must be set manually when non-patch releases are created. set(VERSION_MAJOR 16) set(VERSION_MINOR 12) -set(VERSION_PATCH 0) +set(VERSION_PATCH 1) # the ABI compatibility number should be incremented when the ABI changes # the format is to use the same major and minor, but to have an incr...
adding x11 XScreenCount
@@ -909,7 +909,7 @@ GO(XRootWindow, pFpi) GO(XRotateBuffers, iFpi) GO(XRotateWindowProperties, iFpppii) //GO(XSaveContext -//GO(XScreenCount +GO(XScreenCount, iFp) //GO(XScreenNumberOfScreen GO(XScreenOfDisplay, pFpi) // _XScreenOfWindow
works in VS, sometimes
-<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <OutputType>Library</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> -...
first draft of 0.7.2 changelog
@@ -6,6 +6,28 @@ title: Changelog See the AppScope repo to view [all issues](https://github.com/criblio/appscope/issues). +## AppScope 0.7.2 + +2021-08-17 - Maintenance Pre-Release + +- **Improvement**: [#444](https://github.com/criblio/appscope/pull/444) Add experimental support for Arm64 architecture, with limitation...
update svn (1.10.4)
}, "svn110": { "formula": { - "sandbox_id": 289699987, + "sandbox_id": 368201676, "match": "svn" }, "executable": {
[build] scripts/ci-build.sh add --with-maxminddb
@@ -22,6 +22,7 @@ case "${build}" in --with-webdav-props --with-webdav-locks --with-gdbm \ --with-memcached --with-lua --with-libev --with-libunwind \ --with-krb5 \ + --with-maxminddb \ --with-nettle \ --with-gnutls \ --with-mbedtls \ @@ -43,6 +44,7 @@ case "${build}" in --with-webdav-props --with-webdav-locks --with-g...
interface: display last item of thread properly
@@ -64,7 +64,9 @@ class PostFlatFeed extends React.Component<PostFeedProps, PostFeedState> { } const first = flatGraph.peekLargest()?.[0]; + const last = flatGraph.peekSmallest()?.[0]; const post = node?.post; + const isLast = last ? indexEqual(index, last) : false; if (indexEqual(index, (first ?? [bigInt.zero]))) { if...
SOVERSION bump to version 6.1.5
@@ -68,7 +68,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 6) set(SYSREPO_MINOR_SOVERSION 1) -set(SYSREPO_MICRO_SOVERSION 4) +set(SYSREPO_MICRO_SO...
+traverse passed a test
=> push-r rip => .(a `(tree item)`a) + :: + |- ^+ self ?: =(~ stack) ~& %rip-stack-gone self - :: =^ direction self pop ?- direction - %l ~& %rip-popped-l rip - %r ~& %rip-popped-r - => pop - => ?: ?=([[%l *] *] stack) - push-l - push-r + %l ~& %rip-popped-l + => push-r rip + :: + %r ~& %rip-popped-r + $ == :: apply .f...
restore cp framework
@@ -58,6 +58,7 @@ namespace "build" do target_lib = $targetdir + '/libfcm-push.a' target_app = File.join($app_path, 'project', 'iphone') + cp_r File.join(iphone_path, 'Frameworks'), target_app cp_r File.join($app_path, 'GoogleService-Info.plist'), target_app rm_rf 'build'
make: Trim IDF_VER to fit a 32-bit field Closes:
@@ -270,10 +270,11 @@ endif # If we have `version.txt` then prefer that for extracting IDF version ifeq ("$(wildcard ${IDF_PATH}/version.txt)","") -IDF_VER := $(shell cd ${IDF_PATH} && git describe --always --tags --dirty) +IDF_VER_T := $(shell cd ${IDF_PATH} && git describe --always --tags --dirty) else -IDF_VER := `c...
Get rid of warnings. (Unused variables, suggested parentheses)
@@ -1658,8 +1658,8 @@ static void search_pu_inter(encoder_state_t * const state, // Don't add duplicates to list bool active_L0 = cur_pu->inter.mv_dir & 1; bool active_L1 = cur_pu->inter.mv_dir & 2; - if (active_L0 && !fracmv_within_tile(info, cur_pu->inter.mv[0][0], cur_pu->inter.mv[0][1]) || - active_L1 && !fracmv_wi...
freertos: Fix loss of precision in pdTICKS_TO_MS Closes Closes Updated commit message]
@@ -41,7 +41,7 @@ typedef void (* TaskFunction_t)( void * ); #endif #ifdef ESP_PLATFORM #ifndef pdTICKS_TO_MS - #define pdTICKS_TO_MS( xTicks ) ( ( uint32_t ) ( xTicks ) * 1000 / configTICK_RATE_HZ ) + #define pdTICKS_TO_MS( xTicks ) ( ( TickType_t ) ( ( uint64_t ) ( xTicks ) * 1000 / configTICK_RATE_HZ ) ) #endif #end...
Pipe output to tty also so we can see runtime errors
@@ -19,7 +19,7 @@ jobs: - name: Make dictu and run tests (No HTTP) run: | make debug DISABLE_HTTP=1 - ./dictu tests/runTests.du --disable-http | grep -q 'Total memory usage: 0' + ./dictu tests/runTests.du | tee /dev/tty | grep -q 'Total memory usage: 0' - name: Remove build directory run: | rm -rf build @@ -27,7 +27,7 ...
fix FCM dependencies
@@ -6,13 +6,9 @@ android: - ext/android/ApplicationManifestAdds.erb library_deps: [extras/google/google_play_services/libproject/google-play-services_lib] source_list: ext/android/ext_java.files - maven_deps: ['com.android.support:appcompat-v7:25.2.0'] - maven_deps: ['com.google.android.gms:play-services:11.0.2'] - mav...
update helpers/bazaar-mcpha.sh
@@ -5,7 +5,7 @@ cp -a projects/$project/bazaar $project arm-linux-gnueabihf-gcc -shared -Wall -fPIC -Os -s $project/src/main.c -o $project/controllerhf.so server=mcpha-server -arm-linux-gnueabihf-gcc -static -O3 -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard projects/$project/server/$server...
Fixing ESP cmake
@@ -240,7 +240,7 @@ set(ENV{IDF_PATH} ${esp_idf_dir}) # Fetch sdkconfig.defaults and modify the custom partition table csv path file(READ "${board_dir}/sdkconfig.defaults" file_sdkconfig_default) -string(REGEX REPLACE "partitions_example.csv" "${board_dir}/partitions_example.csv" file_sdkconfig_default "${file_sdkconfi...
remove unused TX msg for toyota safety
@@ -32,7 +32,7 @@ const int TOYOTA_GAS_INTERCEPTOR_THRSLD = 845; const CanMsg TOYOTA_TX_MSGS[] = {{0x283, 0, 7}, {0x2E6, 0, 8}, {0x2E7, 0, 8}, {0x33E, 0, 7}, {0x344, 0, 8}, {0x365, 0, 7}, {0x366, 0, 7}, {0x4CB, 0, 8}, // DSU bus 0 {0x128, 1, 6}, {0x141, 1, 4}, {0x160, 1, 8}, {0x161, 1, 7}, {0x470, 1, 4}, // DSU bus 1 {...
Updater: Fix changelog author label
@@ -158,9 +158,9 @@ BOOLEAN PhpUpdaterExtractCoAuthorName( // Co-Authored-By: NAME <EMAIL> - if ((authoredByNameIndex = PhFindStringInString(CommitMessage, 0, L"Co-Authored-By:")) == -1) + if ((authoredByNameIndex = PhFindStringInString(CommitMessage, 0, L"Co-Authored-By:")) == SIZE_MAX) return FALSE; - if ((authoredBy...
0.3.0: update vs2017 project
<ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> <CharacterSet>Unicode</CharacterSet> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v141</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'" Label...
Add -fomit-frame-pointer
@@ -96,19 +96,24 @@ elseif(WIN32) # Uncomment this if you want to disassemble the release build, # for example: dumpbin /DISASM wasm3.exe /out:wasm3.S - #set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /DEBUG:FULL") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /STACK:8388608") # stack size else() set(C...
Tools sidebar can close submenu by clicking outside of menu options
@@ -46,6 +46,13 @@ class ToolsSidebar extends Component { }); }; + closeAdd = (e) => { + e.stopPropagation(); + this.setState({ + add: false + }); + }; + setTool = id => e => { e.stopPropagation(); this.props.setTool(id); @@ -75,6 +82,7 @@ class ToolsSidebar extends Component { })} > <PlusIcon /> + {add && <MenuOverlay...
Fix bad reference to PTLS_WITHOUT_FUSION
@@ -147,7 +147,7 @@ ptls_cipher_suite_t* picoquic_cipher_suites[] = { #endif NULL }; -#ifndef DPTLS_WITHOUT_FUSION +#ifndef PTLS_WITHOUT_FUSION #if !defined(_WINDOWS) || defined(_WINDOWS64) /* Definition of fusion versions of AESGCM */ ptls_cipher_suite_t picoquic_fusion_aes128gcmsha256 = { PTLS_CIPHER_SUITE_AES_128_GC...
De-duplicate the wuffs_gif_decode test function
@@ -205,54 +205,9 @@ wuffs_gif_decode(uint64_t* n_bytes_out, CHECK_STATUS("initialize", wuffs_gif__decoder__initialize(&dec, sizeof dec, WUFFS_VERSION, wuffs_initialize_flags)); - - wuffs_base__image_config ic = ((wuffs_base__image_config){}); - wuffs_base__frame_config fc = ((wuffs_base__frame_config){}); - - uint32_t...
[dpos] add undo list for confirm infos
@@ -41,6 +41,7 @@ type pLibStatus struct { genesisInfo *blockInfo confirmsRequired uint16 confirms *list.List + undo *list.List plib map[string][]*blockInfo // BP-wise proposed LIB map } @@ -48,6 +49,7 @@ func newPlibStatus(confirmsRequired uint16) *pLibStatus { return &pLibStatus{ confirmsRequired: confirmsRequired, c...
doc UPDATE function changed
@@ -186,7 +186,7 @@ typedef LY_ERR (*lyplg_ext_data_snode_clb)(struct lysc_ext_instance *ext, const * This callback is used only for nested data definition (with a standard YANG schema parent). * * @param[in] ext Compiled extension instance. - * @param[in] sibling First sibling parsed by ::lyplg_ext_data_parse_clb. + *...
lv_style_h: bad funcion declaration fixed
@@ -136,14 +136,12 @@ lv_style_t * lv_style_get(lv_style_name_t style_name, lv_style_t * copy); */ void lv_style_cpy(lv_style_t * dest, const lv_style_t * src); -void lv_style_anim_create(lv_style_anim_t * anim); - /** - * Used by the style animations to set the values of a style according to start and end style. - * @...
Add linker script section for D3SRAM4.
@@ -157,6 +157,15 @@ SECTIONS } >OMV_DMA_MEMORY + #if defined(OMV_SRAM4_ORIGIN) + /* D3 SRAM4 memory */ + .d3_sram (NOLOAD) : + { + . = ALIGN(4); + *(.d3_sram_buffer) + } >SRAM4 + #endif + /* Initialized data sections */ .data : AT ( _sidata ) {
Testing: process options with getopt
@@ -22,24 +22,31 @@ void usage(const char* prog) int main(int argc,char* argv[]) { - int err = 0; + int err = 0, opt = 0; codes_handle* h = NULL; codes_bufr_keys_iterator* kiter = NULL; char* input_filename = NULL; + const char* prog = argv[0]; FILE* f = NULL; int iterator_mode = ITER_ALL_KEYS; - /*grib_context* c = gr...
DM USB: xHCI: fix emulation code for MFINDEX register The old logic to emulate MFINDEX register is not right, this patch is used to fix it. Acked-by: Yu Wang
@@ -3614,13 +3614,16 @@ pci_xhci_rtsregs_read(struct pci_xhci_vdev *xdev, uint64_t offset) if (offset == XHCI_MFINDEX) { clock_gettime(CLOCK_MONOTONIC, &t); - time_diff = (t.tv_sec - xdev->init_time.tv_sec) * 1000000 - + (t.tv_nsec - xdev->init_time.tv_nsec) / 1000; - xdev->init_time = t; - value = time_diff / 125; + /...
peview: Removed unused parameter
@@ -222,7 +222,7 @@ INT WINAPI wWinMain( if (NT_SUCCESS(status)) { status = PhLoadMappedImageEx( - PhGetString(PvFileName), + NULL, fileHandle, &PvMappedImage );
virtio: fix the index issue Type: fix Fixes:
@@ -707,13 +707,19 @@ retry: if (vif->type == VIRTIO_IF_TYPE_TAP) n_left = virtio_interface_tx_inline (vm, node, vif, vring, - VIRTIO_IF_TYPE_TAP, buffers, n_left); + VIRTIO_IF_TYPE_TAP, + &buffers[frame->n_vectors - n_left], + n_left); else if (vif->type == VIRTIO_IF_TYPE_PCI) n_left = virtio_interface_tx_inline (vm, ...