message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix record_element_end_handler() to work for builds
@@ -6531,7 +6531,7 @@ record_element_end_handler(void *userData, { CharData *storage = (CharData *)userData; - CharData_AppendXMLChars(storage, "/", 1); + CharData_AppendXMLChars(storage, XCS("/"), 1); CharData_AppendXMLChars(storage, name, -1); }
Send scroll events as a touchscreen Scroll events were sent with a mouse input device. When scrolling on a list, this could cause the whole list to be focused, and drawn with the focus color as background. Send scroll events with a touchscreen input device instead (like motion events). Fixes <https://github.com/Genymob...
@@ -215,7 +215,7 @@ public class Controller { MotionEvent event = MotionEvent .obtain(lastTouchDown, now, MotionEvent.ACTION_SCROLL, 1, pointerProperties, pointerCoords, 0, 0, 1f, 1f, DEVICE_ID_VIRTUAL, 0, - InputDevice.SOURCE_MOUSE, 0); + InputDevice.SOURCE_TOUCHSCREEN, 0); return injectEvent(event); }
grib_set fails randomly: Unable to set stepRange
@@ -614,7 +614,7 @@ static int pack_long(grib_accessor* a, const long* val, size_t *len) { char buff[100]; size_t bufflen=100; - char sval[100]; + char sval[100] = {0}; char* p=sval; size_t svallen=100; grib_accessor_g1step_range* self = (grib_accessor_g1step_range*)a;
Fix typo in BREAKING.md
+ Changed and renamed `RWops.RWseek()` to `RWops.Seek()` (0ee14f91) + Changed and renamed `RWops.RWread()` to `RWops.Read()` and `RWops.Read2` (0ee14f91) + Changed and renamed `RWops.RWtell()` to `RWops.Tell()` (0ee14f91) -+ Changed and renamed `RWops.RWwrite()` to `RWops.Write()` and `RWops.Write` (0ee14f91) ++ Change...
Update spec tests lists
@@ -91,9 +91,9 @@ def formatValueRaw(num, t): return str(num) def formatValueHex(num, t): - if t == "f32": + if t == "f32" or t == "i32": return "{0:#0{1}x}".format(int(num), 8+2) - elif t == "f64": + elif t == "f64" or t == "i64": return "{0:#0{1}x}".format(int(num), 16+2) else: return str(num) @@ -217,8 +217,8 @@ def...
hw: drivers: hash_kinetis: fix small buffer hashing Hashing a message with multiple blocks of length<=64 block length) was broken due to proper usage of the mmCAU padding. This commit fixes the handling of the pad data.
@@ -68,6 +68,8 @@ kinetis_hash_start(struct hash_dev *hash, void *ctx, uint16_t algo) return 0; } +#define MIN(a, b) ((a) < (b) ? (a) : (b)) + static int kinetis_hash_update(struct hash_dev *hash, void *ctx, uint16_t algo, const void *inbuf, uint32_t inlen) @@ -76,21 +78,35 @@ kinetis_hash_update(struct hash_dev *hash,...
[kernel] fix bug of initialization
using namespace RELATION; // #define DEBUG_NOCOLOR -// #define DEBUG_STDOUT -// #define DEBUG_MESSAGES +#define DEBUG_STDOUT +#define DEBUG_MESSAGES #include "debug.h" int LsodarOSI::count_NST = 0; @@ -242,6 +242,8 @@ void LsodarOSI::initializeDynamicalSystem(Model& m, double t, SP::DynamicalSyste { LagrangianDS& lds =...
Update minor changes in travis for npm deploy.
@@ -93,6 +93,6 @@ deploy: on: master # TODO: Change to master or tags - provider: script script: - - NPM_API_KEY=${NPM_KEY} npm publish $TRAVIS_BUILD_DIR/source/ports/node_port --access public # TODO: --tag <tag> + - npm publish $TRAVIS_BUILD_DIR/source/ports/node_port --access public # TODO: --tag <tag> skip_cleanup: ...
Add +=byts type. Similar to octs, but for "normal" byte order as found in most @ except
:::: 2q: molds and mold builders :: :: :: :: ++= byts [wid=@ud dat=@] :: bytes, MSB first ++ char @t :: UTF8 byte ++ cord @t :: UTF8, LSB first ++ date {{a/? y/@ud} m/@ud t/tarp} :: parsed date
board/npcx_evb_arm/board.c: Format with clang-format BRANCH=none TEST=none
/******************************************************************************/ /* ADC channels. Must be in the exactly same order as in enum adc_channel. */ const struct adc_t adc_channels[] = { - [ADC_CH_0] = {"ADC0", NPCX_ADC_CH0, ADC_MAX_VOLT, ADC_READ_MAX+1, 0}, - [ADC_CH_1] = {"ADC1", NPCX_ADC_CH1, ADC_MAX_VOLT,...
Base cpp tasklet class generation added. NTasklet -> NTaskletReg for all the staff that generates code. Added TTaskletComponents - common class for tasklet descriptor analysis. ISSUE:
@@ -4523,7 +4523,8 @@ macro TASKLET() { # CPP SET_APPEND(CPP_PROTO_OPTS $_PROTO_PLUGIN_ARGS_BASE(tasklet_cpp tasklet/gen/cpp)) - SET_APPEND(PROTO_HEADER_INCLUDE tasklet/runtime/cpp/execute.h) + SET_APPEND(CPP_PROTO_OUTS \${output;hide;noauto;norel;nopath;noext;suf=.tasklet.h:File}) + SET(CPP_PROTO_SUFFIXES $CPP_PROTO_S...
chat-cli: support per-target glyph unbinding
[%leave target] :: nuke target :: [%bind glyph target] :: bind glyph - [%unbind glyph] :: unbind glyph + [%unbind glyph (unit target)] :: unbind glyph [%what (unit $@(char target))] :: glyph lookup :: [%settings ~] :: show active settings :: +unbind-glyph: remove all binding for glyph :: ++ unbind-glyph - |= =glyph ::T...
VERSION bump to version 2.1.76
@@ -64,7 +64,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 2) set(SYSREPO_MINOR_VERSION 1) -set(SYSREPO_MICRO_VERSION 75) +set(SYSREPO_MICRO_VERSION 76) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI...
Move from TCHAR to whchar_t, since GetModuleFileName takes a LPWSTR, not a TCHAR*
*/ #include "pal/PAL.hpp" +#include "utils/Utils.hpp" #include <Windows.h> @@ -46,7 +47,7 @@ namespace PAL_NS_BEGIN { DWORD curBufferLength = MAX_PATH; bool getFileNameSucceeded = false; - std::vector<TCHAR> curExeFullPathBuffer(curBufferLength); + std::vector<wchar_t> curExeFullPathBuffer(curBufferLength); // Try incr...
Added missing stream argument to error message. Found by Coverity (CID 353386).
@@ -871,7 +871,8 @@ nxt_unit_process_new_port(nxt_unit_ctx_t *ctx, nxt_unit_recv_msg_t *recv_msg) if (nxt_slow_path(ioctl(recv_msg->fd, FIONBIO, &nb) == -1)) { nxt_unit_alert(ctx, "#%"PRIu32": new_port: ioctl(%d, FIONBIO, 0) " - "failed: %s (%d)", recv_msg->fd, strerror(errno), errno); + "failed: %s (%d)", + recv_msg->...
parser yang BUGFIX double free
@@ -2081,8 +2081,9 @@ parse_type_pattern_modifier(struct lysp_yang_ctx *ctx, struct lysp_restr *restr) assert(buf[0] == LYSP_RESTR_PATTERN_ACK); buf[0] = LYSP_RESTR_PATTERN_NACK; - LY_CHECK_GOTO(ret = lydict_insert_zc(PARSER_CTX(ctx), buf, &restr->arg.str), cleanup); + ret = lydict_insert_zc(PARSER_CTX(ctx), buf, &rest...
ble_mesh: Update lightness last state when actual state is changed
@@ -192,6 +192,15 @@ int bt_mesh_update_binding_state(struct bt_mesh_model *model, bt_mesh_server_stop_transition(&srv->actual_transition); srv->state->lightness_actual = value->light_lightness_actual.lightness; + /** + * Whenever the Light Lightness Actual state is changed with a non-transactional + * message or a com...
time_format examples
@@ -27,6 +27,11 @@ frame_timing ### Display the current system time # time +### Time formatting examples +# time_format = %H:%M +# time_format = [ %T %F ] +# time_format = %X # locally formatted time, because of limited glyph range, missing characters may show as '?' (e.g. japanese) + ### Change the hud font size (defa...
Add debugging for CMake NodeJS as an option.
@@ -35,6 +35,8 @@ if(NODEJS_INCLUDE_DIR) set(NODEJS_FIND_QUIETLY TRUE) endif() +option(NODEJS_CMAKE_DEBUG "Print paths for debugging NodeJS dependencies." OFF) + # Include package manager include(FindPackageHandleStandardArgs)
Change size utility to parse sysv output format
@@ -30,17 +30,23 @@ def get_reference_binary(): def run_size(binary): - args = ["size", binary] + args = ["size", "--format=sysv", binary] result = sp.run(args, stdout=sp.PIPE, stderr=sp.PIPE, check=True, universal_newlines=True) - lines = result.stdout.splitlines() - assert len(lines) == 2 - values = lines[1].split() ...
Fix mDNSResponder compile errors.
@@ -779,12 +779,13 @@ _papplPrinterUnregisterDNSSDNoLock( { DNSServiceRefDeallocate(printer->dns_sd_ipp_ref); printer->dns_sd_ipp_ref = NULL; - printer->dns_sd_loc_ref = NULL; + printer->dns_sd_ipp_loc_ref = NULL; } if (printer->dns_sd_ipps_ref) { DNSServiceRefDeallocate(printer->dns_sd_ipps_ref); printer->dns_sd_ipps_...
apps/graphics/littlevgl/Makefile: Fix a dependency timestamp problem.
@@ -104,7 +104,7 @@ $(LVGL_UNPACKNAME): $(LVGL_TARBALL) $(APPDIR)/include/graphics/lvgl.h: $(LVGL_UNPACKNAME) lvgl/lvgl.h @echo "CP: lvgl/lvgl.h" - $(Q) cp -a lvgl/lvgl.h $(APPDIR)/include/graphics/lvgl.h + $(Q) cp lvgl/lvgl.h $(APPDIR)/include/graphics/lvgl.h $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@)
Added line directing user to onine man page to print_usage function.
@@ -28,6 +28,7 @@ static void print_usage(void) printf(" -v, --verbose - verbose output\n"); printf(" -q, --quiet - quiet output\n"); printf("\n"); + printf("For more information see https://mpifileutils.readthedocs.io.\n"); fflush(stdout); }
[mod_expire] look up expire fallback "" explicitly equivalent to prior code, but more direct (legibile in code) to look up empty string than to walk array. Might be marginally faster to walk array when the list is short, but the lookup is also fairly quick in that case, too.
@@ -352,7 +352,7 @@ CONNECTION_FUNC(mod_expire_handler) { vb = http_header_response_get(con, HTTP_HEADER_CONTENT_TYPE, CONST_STR_LEN("Content-Type")); ds = (NULL != vb) ? (data_string *)array_match_key_prefix(p->conf.expire_mimetypes, vb) - : (data_string *)array_match_key_prefix_klen(p->conf.expire_mimetypes, CONST_ST...
esp_psram: improve mapping log when physical range is larger After this commit, when physical address is larger than vaddr range, driver will still map as much as it can, but also give a verbose level log to show the actual mapped size
@@ -159,8 +159,8 @@ esp_err_t esp_psram_init(void) //----------------------------------Map the PSRAM physical range to MMU-----------------------------// intptr_t vaddr_start = mmu_get_psram_vaddr_start(); if (vaddr_start + psram_available_size > mmu_get_psram_vaddr_end()) { - ESP_EARLY_LOGV(TAG, "Virtual address not e...
admin/lmod: retain some changes from
@@ -101,11 +101,7 @@ make DESTDIR=$RPM_BUILD_ROOT install ######################################################################## # NOOP if running under known resource manager -if [ ! -z "\$SLURM_NODELIST" ];then - return -fi - -if [ ! -z "\$PBS_NODEFILE" ];then +if [ ! -z "\$SLURM_NODELIST" ] | [ ! -z "\$PBS_NODEFIL...
Fixed inconcsistent file name Closes
@@ -384,7 +384,7 @@ Command usage examples: .. highlight:: none -1. Collect SystemView tracing data to files "pro-cpu.SVDat" and "pro-cpu.SVDat". The files will be saved in "openocd-esp32" directory. +1. Collect SystemView tracing data to files "pro-cpu.SVDat" and "app-cpu.SVDat". The files will be saved in "openocd-es...
test/test_test.c: add CRYPTO_memcmp regression test.
@@ -531,6 +531,10 @@ static int test_bn_output(int n) return 1; } +static int test_memcmp(void) +{ + return CRYPTO_memcmp("ab","cd",2); +} int setup_tests(void) { @@ -553,6 +557,7 @@ int setup_tests(void) ADD_TEST(test_messages); ADD_TEST(test_single_eval); ADD_TEST(test_output); + ADD_TEST(test_memcmp); ADD_ALL_TESTS(...
Fixed CI test failure because env variable value contains | Different CI have different env variable settings. Previous commit works on some platforms, however failed on others. For test cases robustness, here I don't seperate 'variable=value' to 2 columns, just process the whole row as one column.
@@ -112,9 +112,9 @@ drop external table check_env; -- end_ignore CREATE EXTERNAL WEB TABLE table_env (name TEXT, val TEXT ) - EXECUTE E'env | sed ''s/=/|/''' ON SEGMENT 0 - FORMAT 'TEXT' (DELIMITER '|'); -SELECT name, val FROM table_env WHERE name LIKE 'GP_QUERY%' ORDER BY name ASC; + EXECUTE E'env' ON SEGMENT 0 + FORM...
add internal get_number functons to crypto/evp.h
@@ -934,4 +934,16 @@ EC_KEY *evp_pkey_get0_EC_KEY_int(const EVP_PKEY *pkey); RSA *evp_pkey_get0_RSA_int(const EVP_PKEY *pkey); # endif +/* Get internal identification number routines */ +int evp_asym_cipher_get_number(const EVP_ASYM_CIPHER *cipher); +int evp_cipher_get_number(const EVP_CIPHER *cipher); +int evp_kdf_get...
added instruction for new PR
@@ -9,6 +9,18 @@ We welcome community contributions to vcf-validator! To build tool locally, foll New to open source? Here are a selection of issues we've made especially for first-timers. follow this [link](https://github.com/EBIvariation/vcf-validator/issues?q=is%3Aissue+is%3Aopen+label%3Abeginner) +## Making a New P...
Make test_nsalloc_long_uri() robust vs allocation pattern changes
@@ -10637,29 +10637,16 @@ START_TEST(test_nsalloc_long_uri) "'>" "</foo:e>"; int i; -#define MAX_ALLOC_COUNT 15 - int repeated = 0; +#define MAX_ALLOC_COUNT 40 for (i = 0; i < MAX_ALLOC_COUNT; i++) { - /* Repeat some tests with the same allocation count to - * catch cached allocations not freed by XML_ParserReset() - *...
Adds a missing null check
@@ -1640,6 +1640,7 @@ void fw_removeServiceListener(framework_pt framework, bundle_pt bundle, celix_se fw_getService(framework, framework->bundle, ref, (const void **) &hook); + if (hook != NULL) { arrayList_create(&infos); arrayList_add(infos, &info); hook->removed(hook->handle, infos); @@ -1647,6 +1648,7 @@ void fw_r...
common BUGFIX wrong string format used
@@ -103,15 +103,15 @@ void ly_vlog(const struct ly_ctx *ctx, enum LY_VLOG_ELEM elem_type, const void * #define LY_CHECK_ARG_RET(CTX, ...) GETMACRO4(__VA_ARGS__, LY_CHECK_ARG_RET3, LY_CHECK_ARG_RET2, LY_CHECK_ARG_RET1)(CTX, __VA_ARGS__) #define LY_VCODE_INCHAR LYVE_SYNTAX, "Invalid character 0x%x." -#define LY_VCODE_INS...
VMS build file template: adapt for when someone disabled 'makedepend'
@@ -640,7 +640,7 @@ EOF my $depbuild = $disabled{makedepend} ? "" : " /MMS=(FILE=${objd}${objn}.tmp-D,TARGET=$obj.OBJ)"; - return <<"EOF"; + return <<"EOF" $obj.OBJ : $deps ${before} SET DEFAULT $forward @@ -649,11 +649,14 @@ $obj.OBJ : $deps $incs_off SET DEFAULT $backward ${after} + - PURGE $obj.OBJ +EOF + . ($disabl...
py/emitnative: Use macros instead of raw offsetof for slot locations. Old globals are now stored in the second slot (ip in mp_code_state_t) to make things simpler for viper.
#define CAN_USE_REGS_FOR_LOCALS(emit) ((emit)->scope->exc_stack_size == 0) // Indices within the local C stack for various variables +#define LOCAL_IDX_FUN_OBJ(emit) (offsetof(mp_code_state_t, fun_bc) / sizeof(uintptr_t)) +#define LOCAL_IDX_OLD_GLOBALS(emit) (offsetof(mp_code_state_t, ip) / sizeof(uintptr_t)) #define L...
ya: add yoimports tool
}, "lkvm": { "description": "kvmtool is a userland tool for creating and controlling KVM guests" + }, + "yoimports": { + "description": "Go imports formatting tool" } }, "toolchain": { } ] }, + "yoimports": { + "tools": { + "yoimports": { + "bottle": "yoimports", + "executable": "yoimports" + } + }, + "platforms": [ + ...
test_config: fix the bug that will generate !!python/unicode As an example, [7964999 example_test_002_](https://gitlab.espressif.cn:6688/espressif/esp-idf/-/jobs/7964999/artifacts/file/examples/test_configs/example_test_002_.yml)
@@ -62,4 +62,4 @@ class Job(dict): file_name = os.path.join(file_path, self["name"] + ".yml") if "case group" in self: with open(file_name, "w") as f: - yaml.dump(self["case group"].output(), f, default_flow_style=False) + yaml.safe_dump(self["case group"].output(), f, encoding='utf-8', default_flow_style=False)
Fix GPIO declarations for NETDUINO3_WIFI
@@ -66,24 +66,24 @@ typedef struct { #if STM32_HAS_GPIOE || defined(__DOXYGEN__) gpio_setup_t PEData; #endif -#if STM32_HAS_GPIOF || defined(__DOXYGEN__) - gpio_setup_t PFData; -#endif -#if STM32_HAS_GPIOG || defined(__DOXYGEN__) - gpio_setup_t PGData; -#endif +// #if STM32_HAS_GPIOF || defined(__DOXYGEN__) +// gpio_se...
Fix copy paste of actors scripts
@@ -981,13 +981,13 @@ const addActor: CaseReducer< paletteId: "", isPinned: false, collisionGroup: "", + ...(action.payload.defaults || {}), script: [], startScript: [], updateScript: [], hit1Script: [], hit2Script: [], hit3Script: [], - ...(action.payload.defaults || {}), id: action.payload.actorId, x: clamp(action.pa...
nxlooper: nxlooper should wait call buffer returned before close
@@ -330,7 +330,8 @@ static void *nxlooper_loopthread(pthread_addr_t pvarg) FAR struct ap_buffer_s **recordbufs = NULL; unsigned int prio; ssize_t size; - bool running = true; + int running = 2; + bool streaming = true; int x; int ret; @@ -495,6 +496,11 @@ static void *nxlooper_loopthread(pthread_addr_t pvarg) /* An aud...
Get rid of unused else bodies.
@@ -44,21 +44,13 @@ std::vector<uint8_t> BondSplicer::splice() const bond_lite::CompactBinaryProtocolWriter writer(output); if (!m_packages.empty()) { - for (PackageInfo const& package : m_packages) { if (!package.records.empty()) { - for (Span const& record : package.records) { writer.WriteBlob(m_buffer.data() + recor...
doc: clarify RGB LCD PSRAM bandwidth risk Closes
@@ -14,7 +14,7 @@ In ``esp_lcd``, an LCD panel is represented by :cpp:type:`esp_lcd_panel_handle_t - ``RGB LCD panel`` - is simply based on a group of specific synchronous signals indicating where to start and stop a frame. - ``Controller based LCD panel`` involves multiple steps to get a panel handle, like bus allocat...
sim: Add runall command Add a `runall` command that will run all combinations of devices and alignments. Jira:
@@ -11,6 +11,7 @@ extern crate error_chain; use docopt::Docopt; use rand::{Rng, SeedableRng, XorShiftRng}; use rustc_serialize::{Decodable, Decoder}; +use std::fmt; use std::mem; use std::process; use std::slice; @@ -30,6 +31,7 @@ Mcuboot simulator Usage: bootsim sizes bootsim run --device TYPE [--align SIZE] + bootsim...
net/oic; make requests_entry() function pointer optional during init.
@@ -81,7 +81,9 @@ oc_main_init(oc_handler_t *handler) OC_LOG_INFO("oic: Initialized\n"); #ifdef OC_CLIENT + if (handler->requests_entry) { handler->requests_entry(); + } #endif initialized = true;
board/palkia/board.c: Format with clang-format BRANCH=none TEST=none
#define CPRINTF(format, args...) cprintf(CC_USBCHARGE, format, ##args) static const uint8_t actual_key_mask[KEYBOARD_COLS_MAX] = { - 0x01, 0x68, 0xbd, 0x03, 0x7e, 0xff, 0xff, - 0xff, 0xff, 0x03, 0xfd, 0x48, 0x03, 0xff, - 0xf7, 0x16 /* full set */ + 0x01, 0x68, 0xbd, 0x03, 0x7e, 0xff, 0xff, 0xff, + 0xff, 0x03, 0xfd, 0x4...
Re-added mpfit to the poser list
@@ -29,13 +29,12 @@ ifdef USE_ASAN CFLAGS+=-fsanitize=address -fsanitize=undefined endif - - -SBA:=redist/sba/sba_chkjac.c redist/sba/sba_crsm.c redist/sba/sba_lapack.c redist/sba/sba_levmar.c redist/sba/sba_levmar_wrap.c redist/minimal_opencv.c src/poser_epnp.c src/poser_sba.c src/epnp/epnp.c src/poser_general_optimiz...
filter_expect: add validation for 'key_val_eq' operation
@@ -365,9 +365,21 @@ static int rule_apply(struct flb_expect *ctx, msgpack_object map) } if (val->type == FLB_RA_STRING) { - + if (flb_sds_cmp(val->val.string, rule->expect, + flb_sds_len(rule->expect)) != 0) { + json = flb_msgpack_to_json_str(size, &map); + flb_plg_error(ctx->ins, + "exception on rule #%i 'key_val_eq'...
usrsock: fix usrsock close hang when net not ready reason: ept NULL when close request and poll event occur simultaneously
@@ -284,12 +284,12 @@ static int usrsock_rpmsg_close_handler(struct rpmsg_endpoint *ept, if (req->usockid >= 0 && req->usockid < CONFIG_NETUTILS_USRSOCK_NSOCK_DESCRIPTORS) { + pthread_mutex_lock(&priv->mutex); priv->pfds[req->usockid].ptr = NULL; priv->epts[req->usockid] = NULL; /* Signal and wait the poll thread to wa...
Add new macros to the SWIG interface Tested-by: IoTivity Jenkins
@@ -44,7 +44,8 @@ typedef enum { OC_STATUS_GATEWAY_TIMEOUT, OC_STATUS_PROXYING_NOT_SUPPORTED, __NUM_OC_STATUS_CODES__, - OC_IGNORE + OC_IGNORE, + OC_PING_TIMEOUT } oc_status_t; %rename(OCResponse) oc_response_t;
sha/asm/sha512p8-ppc.pl: add POWER8 performance data. [skip ci]
# for sha1-ppc.pl - 73%. 100% means that multi-process result equals # to single-process one, given that all threads end up on the same # physical core. +# +###################################################################### +# Believed-to-be-accurate results in cycles per processed byte [on +# little-endian system]...
[numerics] fix curious allocation bug in test (to be checked carefully)
#include "NumericsFwd.h" // for SolverOptions #include "SolverOptions.h" // for SolverOptions, solver_option... #include "frictionContact_test_utils.h" // for build_test_collection +#include "numerics_verbose.h" #include "test_utils.h" // for TestCase TestCase * build_test_collection(int n_data, const char ** data_coll...
changes: add note about application output formatting differences. Fixes
@@ -134,6 +134,15 @@ OpenSSL 3.0 Previously (in 1.1.1) they would return -2. For key types that do not have parameters then EVP_PKEY_param_check() will always return 1. + * The output from the command line applications may have minor + changes. These are primarily changes in capitalisation and white + space. However, i...
refactor the filter macro generator
@@ -826,8 +826,7 @@ def get_event_type_len(usdt, providers): probes = filter(lambda probe: probe.provider in providers_set, usdt.enumerate_probes()) return 1 + max(map(lambda probe: len("%s__%s" % (probe.provider, probe.name)), probes)) -def generate_filter_expr(candidates): - # where `s` is a macro argument, and `l` i...
Change cert file to server2-sha256.crt
@@ -79,7 +79,7 @@ fi if [ -n "${OPENSSL_NEXT:-}" ]; then O_NEXT_SRV="$OPENSSL_NEXT s_server -www -cert data_files/server5.crt -key data_files/server5.key" - O_NEXT_SRV_RSA="$OPENSSL_NEXT s_server -www -cert data_files/server2.crt -key data_files/server2.key" + O_NEXT_SRV_RSA="$OPENSSL_NEXT s_server -www -cert data_file...
Fixes test which assumed 64-bit pointer size
@@ -1333,7 +1333,7 @@ testHUF (const std::string& tempdir) { uint64_t esize = internal_exr_huf_compress_spare_bytes (); uint64_t dsize = internal_exr_huf_decompress_spare_bytes (); - EXRCORE_TEST (esize == 65537 * (8 + 8 + 8 + 4)); + EXRCORE_TEST (esize == 65537 * (8 + 8 + sizeof(void*) + 4)); EXRCORE_TEST (dsize == (6...
fix forward declaration using c11 features (???)
@@ -66,11 +66,11 @@ typedef const char* (*WrenResolveModuleFn)(WrenVM* vm, const char* importer, const char* name); // Forward declare -typedef struct WrenLoadModuleResult WrenLoadModuleResult; +struct WrenLoadModuleResult; // Called after loadModuleFn is called for module [name]. The original returned result // is han...
Add HRGN_FULL
@@ -1085,7 +1085,7 @@ LRESULT CALLBACK PhpGraphWndProc( updateRegion = (HRGN)wParam; - if (updateRegion == (HRGN)1) // HRGN_FULL + if (updateRegion == HRGN_FULL) updateRegion = NULL; // Themed border
Address Tiangang PR feedback
@@ -233,8 +233,7 @@ def get_base_prefix(type_name): def get_identifier_prefix(identifier): direct_identifier = re.sub(r"^p+", "", identifier) indirection = "p" * (len(identifier) - len(direct_identifier)) - for key in TYPE_PREFIXES: - prefix = TYPE_PREFIXES[key] + for prefix in TYPE_PREFIXES.values(): if re.match(r"^" ...
plugin node_instanceid BUGFIX of doxygen
/** * @page howtoDataLYB LYB Binary Format - * @subsection howtoDataLYBTypesInstanceIdentifier node-instance-identifier (ietf-netconf-acm) + * @subsection howtoDataLYBTypesNodeInstanceIdentifier node-instance-identifier (ietf-netconf-acm) * * | Size (B) | Mandatory | Type | Meaning | * | :------ | :-------: | :--: | :-...
Yan LR: Add MSR example containing nested maps
@@ -26,16 +26,21 @@ kdb ls /tests/yanlr #> user/tests/yanlr/key # Add a new key-value pair +# Add new key-value pairs # Yan LR actually uses the YAML Smith plugin to write data kdb set /tests/yanlr/new brand +kdb set /tests/yanlr/dance/gavin 'Dance!' kdb ls /tests/yanlr +#> user/tests/yanlr/dance/gavin #> user/tests/ya...
ruby-version -> ruby
@@ -240,7 +240,7 @@ jobs: ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1'] exclude: - os: windows-latest - ruby-version: '2.3' + ruby: '2.3' steps: - uses: actions/checkout@v3
add mbox control act led
*/ #include <rtthread.h> +#include <rtdevice.h> +#include <board.h> +#include "mbox.h" + +void set_led(int state) //set state LED nyala atau mati +{ + if (state==1) //LED nyala + { + mbox[0] = 8*4; // length of the message + mbox[1] = MBOX_REQUEST; // this is a request message + + mbox[2] = 0x00038041; // get serial nu...
openssl-dgst.pod.in: Fix documentation of -list option Mention openssl list -digest-algorithms, NOT -digest-commands. Move option -list just after the related option -digest. Fix HTML formatting of section 'Examples' by adding missing newlines and add 2 examples variant to clarify syntax of the command.
@@ -9,11 +9,11 @@ openssl-dgst - perform digest operations B<openssl> B<dgst>|I<digest> [B<-I<digest>>] +[B<-list>] [B<-help>] [B<-c>] [B<-d>] [B<-debug>] -[B<-list>] [B<-hex>] [B<-binary>] [B<-xoflen> I<length>] @@ -47,7 +47,7 @@ The generic name, B<openssl dgst>, may be used with an option specifying the algorithm to...
Fix handle properties window icon
@@ -1262,7 +1262,7 @@ INT_PTR CALLBACK PhpHandleGeneralDlgProc( context->ListViewHandle = GetDlgItem(hwndDlg, IDC_LIST); context->ParentWindow = GetParent(hwndDlg); - PhSetApplicationWindowIcon(hwndDlg); + PhSetApplicationWindowIcon(context->ParentWindow); PhSetListViewStyle(context->ListViewHandle, FALSE, TRUE); PhSet...
add check for overflowing size allocation
@@ -694,8 +694,13 @@ void* _mi_malloc_generic(mi_heap_t* heap, size_t size) mi_attr_noexcept // huge allocation? mi_page_t* page; if (mi_unlikely(size > MI_LARGE_SIZE_MAX)) { + if (mi_unlikely(size >= (SIZE_MAX - MI_MAX_ALIGN_SIZE))) { + page = NULL; + } + else { page = mi_huge_page_alloc(heap,size); } + } else { // ot...
repair hard fault return bug before modify,when exception hook returns true,programs can't return to normal execution flow
; * 2013-06-18 aozima add restore MSP feature. ; * 2013-06-23 aozima support lazy stack optimized. ; * 2018-07-24 aozima enhancement hard fault exception handler. +; * 2021-02-15 lizhirui repair hard fault return bug ; */ ;/** @@ -235,11 +236,6 @@ MemManage_Handler ENDIF STMFD r0!, {lr} ; push exec_return register - TS...
libuv: binding for h2o_evloop_get_execution_time_nanosec
@@ -67,6 +67,12 @@ static inline uint64_t h2o_now_nanosec(h2o_loop_t *loop) return uv_now(loop) * 1000000; } +static inline uint64_t h2o_evloop_get_execution_time_nanosec(h2o_loop_t *loop) +{ + /* unsupported at the moment */ + return 0; +} + inline void h2o_timer_init(h2o_timer_t *timer, h2o_timer_cb cb) { memset(time...
nvbios/power: Add missing POWER TOPOLOGY table name usage Taken from
@@ -1093,7 +1093,7 @@ int envy_bios_parse_power_unk3c(struct envy_bios *bios) { unk3c->valid = !err; break; default: - ENVY_BIOS_ERR("Unknown UNK3C table version 0x%x\n", unk3c->version); + ENVY_BIOS_ERR("Unknown POWER TOPOLOGY table version 0x%x\n", unk3c->version); return -EINVAL; }; @@ -1115,11 +1115,11 @@ void envy...
rofi command
@@ -84,7 +84,7 @@ static const char *dswitchcmd[] = {"dswitch", NULL}; static const char *sucklessshutdowncmd[] = {"sucklessshutdown", NULL}; static const char *notifycmd[] = {"deadcenter", NULL}; static const char *rangercmd[] = { "st", "-e", "sh", "-c", "ranger", NULL }; -static const char *slingscold[] = { "slingsco...
firpfbchr: removing restriction on channels being even
@@ -127,8 +127,8 @@ FIRPFBCHR() FIRPFBCHR(_create_kaiser)(unsigned int _M, float _as) { // validate input - if (_M < 2 || _M % 2) - return liquid_error_config("firpfbchr_%s_create_kaiser(), number of channels must be greater than 2 and even", EXTENSION_FULL); + if (_M < 2) + return liquid_error_config("firpfbchr_%s_cre...
link checker: Only let http links pass if whitelisted
@@ -49,6 +49,7 @@ TRIES=5 check() { link=$(echo "$1" | grep -oE "(https|http|ftp):[^|]*") + secure_link=$(echo "$1" | grep -oE "(https|ftp):[^|]*") files=$(echo "$1" | grep -oE "\|.*" | sed 's/|/ /g') if echo "$link" | grep -Eqf "$WHITELIST"; then @@ -60,6 +61,10 @@ check() { echo "check the link format of $1" return f...
PKCS5 PBE: free allocations on unlikely / impossible failure path
@@ -91,7 +91,7 @@ int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen, goto err; mdsize = EVP_MD_size(md); if (mdsize < 0) - return 0; + goto err; for (i = 1; i < iter; i++) { if (!EVP_DigestInit_ex(ctx, md, NULL)) goto err;
Remove duplicate postExecutionUnitOperation call Accidentally introduced when merging unstable in
@@ -7373,7 +7373,6 @@ unsigned int delKeysInSlot(unsigned int hashslot) { moduleNotifyKeyspaceEvent(NOTIFY_GENERIC, "del", key, server.db[0].id); postExecutionUnitOperations(); decrRefCount(key); - postExecutionUnitOperations(); j++; server.dirty++; }
Optimize array slice for fast-array cases Performance results: Intel: 0m27s -> 0m7s ARM: 5m42s -> 1m26s JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi
@@ -802,6 +802,30 @@ ecma_builtin_array_prototype_object_slice (ecma_value_t arg1, /**< start */ /* 9. */ uint32_t n = 0; + if (ecma_op_object_is_fast_array (obj_p)) + { + ecma_extended_object_t *ext_from_obj_p = (ecma_extended_object_t *) obj_p; + + if (ext_from_obj_p->u.array.u.hole_count < ECMA_FAST_ARRAY_HOLE_ONE +...
fix removing keys while searching
import { FIND_KEY_REQUEST, FIND_KEY_SUCCESS, FIND_KEY_FAILURE, - CLEAR_SEARCH, CLEAR_SEARCH_FINAL, + CLEAR_SEARCH, CLEAR_SEARCH_FINAL, DELETE_KEY_SUCCESS, } from '../actions' const initialState = { @@ -36,6 +36,11 @@ export default function batchUndoReducer (state = initialState, action) { case CLEAR_SEARCH_FINAL: retu...
vere: warn on invalid behn doze
@@ -64,8 +64,7 @@ _behn_ef_doze(u3_behn* teh_u, u3_noun wen) teh_u->alm = c3n; } - if ( (u3_nul != wen) && - (c3y == u3du(wen)) && + if ( (c3y == u3du(wen)) && (c3y == u3ud(u3t(wen))) ) { struct timeval tim_tv; @@ -76,6 +75,8 @@ _behn_ef_doze(u3_behn* teh_u, u3_noun wen) teh_u->alm = c3y; uv_timer_start(&teh_u->tim_u, ...
far cry crash fix for release build
@@ -39,8 +39,6 @@ struct Screen this->fHudOffsetReal = (this->fWidth - this->fHeight * (4.0f / 3.0f)) / 2.0f; this->fHudScale = 1.0f / (((4.0f / 3.0f)) / (this->fAspectRatio)); this->fHudOffset = (((600.0f * this->fAspectRatio) - 800.0f) / 2.0f) / this->fHudScale; - this->fFMVOffsetH = (((600.0f * this->fFMVAspectRatio...
prereq changes for KDFs
@@ -719,16 +719,16 @@ int main(int argc, char **argv) rv = acvp_enable_kdf135_tls_cap(ctx, ACVP_KDF135_TLS, &app_kdf135_tls_handler); CHECK_ENABLE_CAP_RV(rv); - rv = acvp_enable_kdf135_tls_prereq_cap(ctx, ACVP_KDF135_TLS, ACVP_KDF135_TLS_PREREQ_SHA, value); + rv = acvp_enable_prereq_cap(ctx, ACVP_KDF135_TLS, ACVP_PRERE...
iommu: adding changes to the headers
@@ -133,13 +133,17 @@ int32_t driverkit_iommu_get_nodeid(struct iommu_client *cl); * * @param cl the iommu client * @param dst destination vnode to map into - * @param slot the slot to map into * @param src the source capability to be mapped + * @param slot the slot to map into + * @param attr attributes for the mappin...
nimble/ll: Minor code cleanup
@@ -3143,9 +3143,9 @@ ble_ll_adv_sec_done(struct ble_ll_adv_sm *advsm) assert(advsm->aux_active); aux = AUX_CURRENT(advsm); + aux_next = AUX_NEXT(advsm); if (advsm->aux_not_scanned) { - aux_next = AUX_NEXT(advsm); ble_ll_sched_rmv_elem(&aux_next->sch); } @@ -3160,7 +3160,7 @@ ble_ll_adv_sec_done(struct ble_ll_adv_sm *a...
remove incorrect region_count comment
@@ -181,7 +181,6 @@ static bool mi_region_commit_blocks(mem_region_t* region, size_t idx, size_t bit else { // failed, another thread allocated just before us! // we assign it to a later slot instead (up to 4 tries). - // note: we don't need to increment the region count, this will happen on another allocation for(size...
Init CLIP sensors to 0/false on startup
@@ -1852,7 +1852,7 @@ static int sqliteLoadAllSensorsCallback(void *user, int ncols, char **colval , c item->setValue(100); } - if (stateCol >= 0) + if (stateCol >= 0 && !isClip) { sensor.jsonToState(QLatin1String(colval[stateCol])); }
libretro: allow mingw cross compile
@@ -550,8 +550,8 @@ else ifeq ($(platform), windows_msvc2005_x86) # Windows else TARGET := $(TARGET_NAME)_libretro.dll - CC = gcc - CXX = g++ + CC ?= gcc + CXX ?= g++ SHARED := -shared -static-libgcc -static-libstdc++ -Wl,-version-script=link.T DISABLE_GCC_SECURITY_FLAGS = 1 endif
Replace non-ASCII character in source file
@@ -316,7 +316,7 @@ uint16_t ossl_ifc_ffc_compute_security_bits(int n) /* * Look for common values as listed in standards. - * These values are not exactly equal to the results from the foruml in + * These values are not exactly equal to the results from the formulae in * the standards but are defined to be canonical. ...
adding libc sigblock, siggetmask, sigsetmask, sigvec
@@ -1515,12 +1515,12 @@ GO(sigaddset, iFpi) // __sigaddset GOW(sigaltstack, iFpp) // sigandset -// sigblock // Weak +GOW(sigblock, iFi) GO(sigdelset, iFpi) // __sigdelset GO(sigemptyset, iFp) GO(sigfillset, iFp) -// siggetmask +GO(siggetmask, iFv) // sighold // sigignore // siginterrupt @@ -1542,12 +1542,12 @@ GOW(sigp...
gen: add todo item to +help for doccords
|= a=* ^- [cord path] [;;(@t a) (welp (slag len pax) /[nam])] -- -:: +::TODO: make this work with doccords :- %say |= [[now=time @ our=ship ^] typ=$@(~ [p=term ~]) ~] =/ pax=path /(scot %p our)/base/(scot %da now)/gen :: XX hardcoded
fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
@@ -2577,7 +2577,7 @@ test cases: - ID: BTSTK_GAP_14007 <<: *GAP_CASE test point 2: BLE set random address test - summary: BLE set random address as resolvable private address + summary: BLE set random address as resolvable private address and cannot be scan initial condition: BLE_INIT_SMP steps: | 1. SSC1 set adv para...
Start work on Early Hints support
@@ -722,6 +722,7 @@ static fio_cstr_s http1pr_status2str(uintptr_t status) { HTTP_SET_STATUS_STR(100, "Continue"), HTTP_SET_STATUS_STR(101, "Switching Protocols"), HTTP_SET_STATUS_STR(102, "Processing"), + HTTP_SET_STATUS_STR(103, "Early Hints"), HTTP_SET_STATUS_STR(200, "OK"), HTTP_SET_STATUS_STR(201, "Created"), HTTP...
Add Valgrind to Dockerfile
@@ -29,6 +29,7 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E03280 srecord \ uml-utilities \ unzip \ + valgrind \ wget \ > /dev/null \ && apt-get -qq clean
Brace on newline changes
@@ -54,7 +54,8 @@ static void detect_cpu_isa() } g_cpu_has_avx2 = 0; - if (num_id >= 7) { + if (num_id >= 7) + { __cpuidex(data, 7, 0); // AVX2 = Bank 7, EBX, bit 5 g_cpu_has_avx2 = data[1] & (1 << 5) ? 1 : 0; @@ -94,7 +95,9 @@ static void detect_cpu_isa() int cpu_supports_sse42() { if (g_cpu_has_sse42 == -1) + { detec...
Add test-all target (build all tests).
@@ -61,7 +61,10 @@ distclean: clean ############################################################################## # tests -.PHONY: test test-noaccel +.PHONY: test-all test test-noaccel + +test-all: + $(Q) $(MAKE) -C test test test-noaccel: mkfs boot stage3 $(Q) $(MAKE) -C test test
update ya tool arc calculate log of element with inherited copy info taken into account status for stage with new item and empty base tree cache informational local username for OAuth provider
}, "arc": { "formula": { - "sandbox_id": [350557867], + "sandbox_id": [351914840], "match": "arc" }, "executable": {
nimble/plna: Fix bypass on SKY66112
#include "controller/ble_ll_plna.h" #define NO_BYPASS \ - ((MYNEWT_VAL(SKY66112_TX_BYPASS) >= 0) && \ - (MYNEWT_VAL(SKY66112_RX_BYPASS) >= 0)) + ((MYNEWT_VAL(SKY66112_TX_BYPASS) == 0) && \ + (MYNEWT_VAL(SKY66112_RX_BYPASS) == 0)) static void sky66112_bypass(uint8_t enabled)
vfs: fix select return value when non-permanent fd closed
@@ -37,7 +37,7 @@ static const char *TAG = "vfs"; #define VFS_MAX_COUNT 8 /* max number of VFS entries (registered filesystems) */ #define LEN_PATH_PREFIX_IGNORED SIZE_MAX /* special length value for VFS which is never recognised by open() */ -#define FD_TABLE_ENTRY_UNUSED (fd_table_t) { .permanent = false, .vfs_index ...
Moved date setting from tm struct to its own routine.
@@ -996,6 +996,14 @@ spec_err (GLogItem * logitem, int code, const char spec, const char *tkn) { return 1; } +static void +set_tm_dt_logitem(GLogItem *logitem, struct tm tm) +{ + logitem->dt.tm_year = tm.tm_year; + logitem->dt.tm_mon = tm.tm_mon; + logitem->dt.tm_mday = tm.tm_mday; +} + #pragma GCC diagnostic warning "...
ci: make flash performance test alternative
@@ -902,6 +902,7 @@ static void test_write_large_buffer(const esp_partition_t* part, const uint8_t * read_and_check(part, source, length); } +#if !CONFIG_SPIRAM typedef struct { uint32_t us_start; size_t len; @@ -1043,8 +1044,9 @@ static void test_flash_read_write_performance(const esp_partition_t *part) free(data_read...
Fix build to deal with removal of streq function.
@@ -14,8 +14,8 @@ const strcaseeq = {a : byte[:], b : byte[:] -> bool var ca, cb while a.len == 0 || b.len == 0 - (ca, a) = std.strstep(a) - (cb, b) = std.strstep(b) + (ca, a) = std.charstep(a) + (cb, b) = std.charstep(b) if std.tolower(ca) != std.tolower(cb) -> false ;;
sixtop: add a comment why RC_ERR_BUSY is used instead of RC_RESET
@@ -269,6 +269,15 @@ sixp_input(const uint8_t *buf, uint16_t len, const linkaddr_t *src_addr) LOG_ERR("6P: sixp_input() fails because another request [peer_addr:"); LOG_ERR_LLADDR((const linkaddr_t *)src_addr); LOG_ERR_(" seqno:%u] is in process\n", sixp_trans_get_seqno(trans)); + /* + * Although RFC 8480 says in Secti...
framework/media: Add onPlaybackStopped in notifyObserver. add onPlaybackStopped.
@@ -558,6 +558,9 @@ void MediaPlayerImpl::notifyObserver(player_observer_command_t cmd, ...) case PLAYER_OBSERVER_COMMAND_PAUSED: pow.enQueue(&MediaPlayerObserverInterface::onPlaybackPaused, mPlayerObserver, mPlayer); break; + case PLAYER_OBSERVER_COMMAND_STOPPED: + pow.enQueue(&MediaPlayerObserverInterface::onPlayback...