message
stringlengths
6
474
diff
stringlengths
8
5.22k
anahera: Update thermal high/halt point BRANCH=none TEST=Thermal team verified thermal policy is expected.
@@ -128,11 +128,11 @@ __maybe_unused static const struct ec_thermal_config thermal_charger = #define THERMAL_REGULATOR \ { \ .temp_host = { \ - [EC_TEMP_THRESH_HIGH] = C_TO_K(52), \ - [EC_TEMP_THRESH_HALT] = C_TO_K(55), \ + [EC_TEMP_THRESH_HIGH] = C_TO_K(53), \ + [EC_TEMP_THRESH_HALT] = C_TO_K(56), \ }, \ .temp_host_re...
added more weak candidates
@@ -855,6 +855,21 @@ writepsk(pskstring); return; } /*===========================================================================*/ +static void keywritepreappend6(char *basestring) +{ +snprintf(pskstring, 64, "%s123456", basestring); +writepsk(pskstring); +snprintf(pskstring, 64, "123456%s", basestring); +writepsk(psk...
remove bug in simplelink boards name make -C tests/compile-all was emitting lots of ../../arch/platform/simplelink/Makefile.simplelink:28: *** Board 'launchpad/cc2650sensortag/cc1350' does not corresponding to any SimpleLink family. Make sure your BOARD variable is correct.. Stop.
@@ -104,9 +104,9 @@ do elif [[ "$platform" == "simplelink" ]] then # SimpleLink has multiple boards - BOARDS="launchpad/cc1310 launchpad/cc1350 launchpad/cc1350-4 launchpad/cc2650" - BOARDS+="sensortag/cc1350 sensortag/cc2650 srf06/cc13x0 srf06/cc26x0" - BOARDS+="launchpad/cc1312r1 launchpad/cc1352r1 launchpad/cc1352p1...
Fix contrib/fastrpz.patch to apply cleanly. It fixes for changes due to added libdynmod, but it does not compile, it conflicts with new rpz code.
20 July 2020: Wouter - Fix streamtcp to print packet data to stdout. This makes the stdout and stderr not mix together lines, when parsing its output. - - Fix contrib/fastrpz.patch to apply cleanly. + - Fix contrib/fastrpz.patch to apply cleanly. It fixes for changes + due to added libdynmod, but it does not compile, i...
Update talk ;help URL
:: :: prints help message :: - (sh-fact %txt "see http://urbit.org/docs/using/messaging/") + (sh-fact %txt "see https://urbit.org/docs/learn/arvo/arvo-internals/messaging/") -- :: ++ sh-pact
ci: Add test-integration-aks as requirement to release job. Fixes: ("ci: Run test on AKS clusters.")
@@ -673,6 +673,7 @@ jobs: - documentation-checks - lint - test-integration-minikube + - test-integration-aks - test-integration-aro - test-local-gadget - check-readme-up-to-date
Make test_nsalloc_long_prefix() robust vs allocation pattern changes
@@ -10575,30 +10575,16 @@ START_TEST(test_nsalloc_long_prefix) "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ" ":foo>"; int i; -#define MAX_ALLOC_COUNT 10 - 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 -...
MeteoFrance contribution: GRIB1 second order packing (Philippe's 2nd attempt)
@@ -1285,6 +1285,11 @@ static int pack_double_optimised(grib_accessor* a, const double* val, size_t *le compat_gribex, 1, &decimal_scale_factor, &binary_scale_factor, &reference_value)) != GRIB_SUCCESS) return ret; + + decimal = grib_power(decimal_scale_factor,10); + divisor = grib_power(-binary_scale_factor,2); + min ...
fix fpgadiag doc
@@ -370,7 +370,7 @@ copies 57535, 57536, 57537 ... up to 65535 cache lines, one line at a time. The test prints output in the comma separated values (CSV) format with the header suppressed. ```console -./fpgadiag --mode=lpbk1 --target=fpga -SV --bus-number=0x5e --begin=57535 +./fpgadiag --mode=lpbk1 --target=fpga -V --...
pg_upgrade: diff cluster data after `make installcheck` For installcheck, don't just diff the cluster schema before and after upgrade, but dump and diff the data too. Smoke tests (`make check`) remain unchanged; they will only compare master schemas.
@@ -21,6 +21,8 @@ NEW_DATADIR= DEMOCLUSTER_OPTS= PGUPGRADE_OPTS= +DUMP_OPTS= + # The normal ICW run has a gpcheckcat call, so allow this testrunner to skip # running it in case it was just executed to save time. gpcheckcat=1 @@ -30,10 +32,10 @@ gpcheckcat=1 # a failure. mirrors=0 -# Smoketesting pg_upgrade is done by j...
Fixed issue where lengthy static-file extension wouldn't account certain valid requests.
@@ -438,7 +438,7 @@ verify_static_content (const char *req) { const char *ext = NULL, *pch = NULL; int elen = 0, i; - if (strlen (req) < conf.static_file_max_len) + if ((req == NULL) || (*req == '\0')) return 0; for (i = 0; i < conf.static_file_idx; ++i) {
Ygdiff tool with ucompression support
}, "ygdiff": { "formula": { - "sandbox_id": 612924628, + "sandbox_id": 668511811, "match": "ygdiff" }, "executable": {
meta: automatically merge master into ops/group-timer
@@ -15,3 +15,13 @@ jobs: target_branch: release/next-js github_token: ${{ secrets.JANEWAY_BOT_TOKEN }} + merge-to-group-timer: + runs-on: ubuntu-latest + name: "Merge master to ops/group-timer" + steps: + - uses: actions/checkout@v2 + - uses: devmasx/merge-branch@v1.3.1 + with: + type: now + target_branch: ops/group-ti...
YAJL: Fix undefined behavior for negative value
@@ -413,7 +413,7 @@ void elektraGenOpen (yajl_gen g, const Key * cur, const Key * next) // calculate levels which are neither already handled // nor the last one - int levels = nextLevels - equalLevels - levelsToSkip; + int levels = (int) nextLevels - (int) (equalLevels + levelsToSkip); int actionRequired = equalLevels...
SOVERSION bump to version 5.2.5
@@ -39,7 +39,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 5) set(SYSREPO_MINOR_SOVERSION 2) -set(SYSREPO_MICRO_SOVERSION 4) +set(SYSREPO_MICRO_SO...
Make blake adhere to desired output length And makes sure to return in the correct byte order.
@@ -29,6 +29,8 @@ static void pretty_print_hex(char * headline, u3_noun u3qe_blake(u3_atom msg, u3_atom key, u3_atom out) { + c3_assert(_(u3a_is_cat(out))); + /* msg */ u3_noun men; /* msg length */ @@ -80,7 +82,7 @@ u3qe_blake(u3_atom msg, u3_atom key, u3_atom out) int ret; c3_y out_y[64]; ret = blake2b(out_y, // OUT:...
compiler-families/gnu-compilers: bump to gnu9 variant
%include %{_sourcedir}/OHPC_macros -%global gnu_version 8.3.0 -%global gnu_major_ver 8 -%global gnu_release 3 -%global pname gnu8-compilers +%global gnu_version 9.2.0 +%global gnu_major_ver 9 +%global pname gnu9-compilers # Define subcomponent versions required for build %global gmp_version 6.1.2 -%global mpc_version 1...
mvapich2: libibverbs-devel and librdmacm-devel provided by rdma-core-devel in latest centos
@@ -67,8 +67,7 @@ Buildrequires: rdma-core-devel Requires: prun%{PROJ_DELIM} BuildRequires: bison -BuildRequires: libibmad-devel libibverbs-devel -BuildRequires: librdmacm-devel +BuildRequires: libibmad-devel # Default library install path %define install_path %{OHPC_MPI_STACKS}/%{pname}-%{compiler_family}/%version
Update mailmap file.
# gives no duplicates. Michael R Sweet <michaelrsweet@gmail.com> msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> Michael R Sweet <michaelrsweet@gmail.com> Michael Sweet <msweet@msweet-imac.local> +Michael R Sweet <michaelrsweet@gmail.com> Michael R Sweet <michael.r.sweet@gmail.com> +Michael R Sweet <michaelrsweet@...
added caching of bucket data reading bucket data
@@ -1011,18 +1011,16 @@ linear_hash_get_record( return err_file_bad_seek; } - /* read record data elements */ - if (1 != fread(status, sizeof(ion_byte_t), 1, linear_hash->database)) { + /* cache record data from file */ + ion_byte_t * record = alloca(linear_hash->record_total_size); + if (1 != fread(record, linear_hash...
Updating proper issue ids
@@ -1650,7 +1650,7 @@ void CGContextSetLineWidth(CGContextRef context, CGFloat width) { */ void CGContextSetStrokeColor(CGContextRef context, const CGFloat* components) { NOISY_RETURN_IF_NULL(context); - // TODO #1592: based on the color space, we should be setting the fill color componenets. + // TODO #2041: based on ...
test: don't check if directory-value is set for yajl
@@ -160,11 +160,11 @@ for PLUGIN in $PLUGINS; do "$KDB" import $ROOT $PLUGIN < "$DATADIR"/two_value.$PLUGIN succeed_if "Could not run kdb import" + if [ "x$PLUGIN" != "xyajl" ]; then test "x$("$KDB" ls $ROOT)" = "xuser/tests/script user/tests/script/key" succeed_if "key name not correct" - if [ "x$PLUGIN" != "xyajl" ];...
doc/reference.html: Docmument that XML_GetBuffers(parser, 0) may be NULL Allocating zero bytes with XML_GetBuffers may return NULL or a non-NULL pointer depending on the current internal buffer state Document this behavior, as it can be surprising.
@@ -1115,7 +1115,8 @@ XML_GetBuffer(XML_Parser p, <div class="fcndef"> Obtain a buffer of size <code>len</code> to read a piece of the document into. A NULL value is returned if Expat can't allocate enough memory for -this buffer. This has to be called prior to every call to +this buffer. A NULL value may also be retur...
[lib][elf] add C++ header guards
*/ #pragma once +#include <lk/compiler.h> #include <lib/elf_defines.h> #include <sys/types.h> #include <stdbool.h> +__BEGIN_CDECLS + /* based on our bitness, support 32 or 64 bit elf */ #if IS_64BIT #define WITH_ELF64 1 @@ -54,3 +57,5 @@ void elf_close_handle(elf_handle_t *handle); status_t elf_load(elf_handle_t *handl...
firdes/autotest: adding check for estimating FIR filter parameters
@@ -261,6 +261,31 @@ void autotest_liquid_firdes_config() CONTEND_EQUALITY( liquid_getopt_str2firfilt("unknown-filter-type" ), LIQUID_FIRFILT_UNKNOWN); } +void autotest_liquid_firdes_estimate() +{ + float tol = 0.05f; // dB + + // Kaiser's method + CONTEND_DELTA( estimate_req_filter_len_Kaiser( 0.05f, 60.0f), 73.001403...
doc: describe the return from ossl_provider_forall_loaded() Also correct an incorrect statement about non-activated providers.
@@ -200,7 +200,7 @@ passed back to some of the provider functions. ossl_provider_forall_loaded() iterates over all the currently "activated" providers, and calls I<cb> for each of them. If no providers have been "activated" yet, it tries to activate all -available fallback providers and tries another iteration. +availa...
Windows compatibility for the dev-project
@@ -28,7 +28,7 @@ android { defaultConfig { externalNativeBuild { cmake { - arguments "-DSINGLE_LIBRARY:BOOL=ON", "-DANDROID_STL=c++_static", "-DWRAPPER_DIR='$projectDir/../../../generated/android-java/wrappers'" + arguments "-DSINGLE_LIBRARY:BOOL=ON", "-DANDROID_STL=c++_static", "-DSDK_CPP_DEFINES=''", "-DWRAPPER_DIR=...
Add links to custom coverage report. When multiple files were missing coverage it could be hard to locate the coverage report for a specific file. Add links for uncovered files to make this easier. Also move table titles out of the table so they are valid html.
@@ -11,6 +11,7 @@ use warnings FATAL => qw(all); use Carp qw(confess); use English '-no_match_vars'; +use Digest::SHA qw(sha1_hex); use Exporter qw(import); our @EXPORT = qw(); use File::Basename qw(dirname); @@ -102,6 +103,10 @@ sub coverageGenerate { $strFile = substr($strLine, 3); $rhCoverage->{$strFile} = undef; + ...
Improve IAS Zone enrollment
@@ -169,6 +169,14 @@ void DeRestPluginPrivate::handleDeviceAnnceIndication(const deCONZ::ApsDataIndic Event e(si->prefix(), RConfigReachable, si->id(), item); enqueueEvent(e); } + + item = si->item(RConfigEnrolled); // holds per device IAS state variable + + if (item) + { + item->setValue(IAS_STATE_INIT); + } + checkSe...
BugID:20263823: build 2ndboot by default Build 2nd bootloader by default while running "aos make".
@@ -347,7 +347,12 @@ endif all: $(BUILD_STRING) -$(BUILD_STRING): $(AOS_PRE_BUILD_TARGETS) main_app +$(BUILD_STRING): $(AOS_PRE_BUILD_TARGETS) +ifeq ($(AOS_SDK_2BOOT_SUPPORT),yes) +$(BUILD_STRING): main_app 2ndboot +else +$(BUILD_STRING): main_app +endif ifeq ($(IDE),keil) main_app: export-keil
TCPMv2: Do not send GetSnkCap if FRS is not enabled GetSnkCap is only needed for FastRoleSwap BRANCH=none TEST=PR_Swap DUT-DUT testing Tested-by: Denis Brockus
@@ -2574,8 +2574,17 @@ static void pe_snk_select_capability_run(int port) /* * Setup to get Device Policy Manager to * request Sink Capabilities for possible FRS - */ - pe_dpm_request(port, DPM_REQUEST_GET_SNK_CAPS); + * + * TODO(b:165822172) This should be called for + * FRS and non-FRS but there is a problem + * curr...
Fix coverity CID - Dereference after NULL check in fromdata_init()
@@ -375,6 +375,7 @@ static int fromdata_init(EVP_PKEY_CTX *ctx, int operation) return 1; not_supported: + if (ctx != NULL) ctx->operation = EVP_PKEY_OP_UNDEFINED; ERR_raise(ERR_LIB_EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE); return -2;
Fix a bug in check_ao_record_present This bug cause the test 'generate_ao_xlog' hang sometimes. If the current page cannot hold the remaining content (xlp_rem_len) of the record, find the next record in the next page.
@@ -459,6 +459,9 @@ check_ao_record_present(unsigned char type, char *buf, Size len, if (hdr->xlp_info & XLP_FIRST_IS_CONTRECORD) { elog(DEBUG1, "remaining length of record = %u", hdr->xlp_rem_len); + if (hdr->xlp_rem_len > XLOG_BLCKSZ - XLogPageHeaderSize(hdr)) + i += XLOG_BLCKSZ; + else i += MAXALIGN(XLogPageHeaderSi...
os/se/sss: Modify return value of sss wrapping layer Return success for sss_hal_init and sss_hal_deinit
@@ -483,13 +483,13 @@ static int hal_asn1_get_mpi(unsigned char **p, const unsigned char *end, hal_mpi int sss_hal_init(hal_init_param *params) { HWRAP_ENTER; - return HAL_NOT_SUPPORTED; + return HAL_SUCCESS; } int sss_hal_deinit(void) { HWRAP_ENTER; - return HAL_NOT_SUPPORTED; + return HAL_SUCCESS; } int sss_hal_free_...
tests: provide more output for failing test Print everything to the log as it happens so we can pinpoint the issue with intermittently failing tests.
@@ -15,16 +15,16 @@ CPID=$! test_handler () { sleep 2 - $1 2>&1 | grep -z -E "$2" >> $BASENAME.log 2>&1 + $1 2>&1 | tee $BASENAME.log + grep -z -E "$2" $BASENAME.log STATUS=$? if [ $STATUS -eq 0 ] ; then - cp $BASENAME.log $BASENAME.testlog printf "%-32s TEST OK\n" "$BASENAME" | tee $BASENAME.testlog; else kill_bg $CPI...
parallel-libs/scotch: fix destdir patch name
@@ -27,7 +27,7 @@ URL: http://www.labri.fr/perso/pelegrin/scotch/ Source0: http://gforge.inria.fr/frs/download.php/file/34618/%{base_pname}_%{version}.tar.gz Source1: scotch-Makefile.%{compiler_family}.inc.in Source2: scotch-rpmlintrc -Patch0: scotch-%{version}-destdir.patch +Patch0: scotch-6.0.4-destdir.patch BuildReq...
bugfix. about reference counter increment.
@@ -229,9 +229,11 @@ static void c_object_p(struct VM *vm, mrbc_value v[], int argc) mrbc_p_sub( &v[i] ); console_putchar('\n'); } + if (argc == 0) { SET_NIL_RETURN(); } else if (argc == 1) { + mrbc_incref( &v[1] ); SET_RETURN(v[1]); } else { mrbc_value value = mrbc_array_new(vm, argc); @@ -243,7 +245,6 @@ static void ...
dm-hook: fix on-init, rerun in on-load
== :: +$ state-0 [%0 base-state-0] ++$ state-1 [%1 base-state-0] ++$ versioned-state + $% state-0 + state-1 + == +$ card card:agent:gall +$ nodes (map index:store node:store) ++ orm orm:store -- :: -=| state-0 +=| state-1 =* state - %- agent:dbug ^- agent:gall ?. .^(? %gu (scry:io %graph-store ~)) ~ %+ skim ~(tap in ge...
fixed and added release notes
@@ -191,6 +191,7 @@ you up to date with the multi-language support provided by Elektra. - Added hint regarding WSL filesystem configuration (/doc/tutorials/contributing-windows.md) _(@tucek)_ - Fixed broken link in yanlr-plugin readme _(@lawli3t)_ - The example in the tutorial "mount-configuration-files" is adapted, so...
Fixed imu_selector selecting wrong IMU for magnetometer. The magnetometer would always give a value of 0 since for the MPU9250 the ICM20468 function was called, the ICM20468 always returns 0 since it doesnt have a magnetometer.
@@ -207,8 +207,8 @@ void cIMUDevice::mag_get_adc( void ) { case MPU9250: DEV1.mag_get_adc(); - memcpy(magRAW,DEV2.magRAW,3*sizeof(int16_t)); - memcpy(magADC,DEV2.magADC,3*sizeof(int16_t)); + memcpy(magRAW,DEV1.magRAW,3*sizeof(int16_t)); + memcpy(magADC,DEV1.magADC,3*sizeof(int16_t)); break; case ICM20468: DEV2.mag_get_...
Mark MacOS conan builds as experimental. Changing Clang to 11.1 doesn't work. I'm stuck with disabling this for now.
@@ -42,7 +42,7 @@ jobs: CONAN_ARCHS: [x86_64] CONAN_BUILD_TYPES: [Debug, Release] CONAN_APPLE_CLANG_VERSIONS: ['11.0'] - experimental: [false] + experimental: [true] include: - CONAN_ARCHS: x86_64 CONAN_BUILD_TYPES: 'Debug,Release'
added new tool: wlanresponse
@@ -23,7 +23,7 @@ Detailed description | wlanrcascan | Small, fast and simple passive WLAN channel assignment scanner (status output) | | pioff | Turns Raspberry Pi off via GPIO switch | | wlancapinfo | Shows info of pcap file | -| wlancap2hcx | Converts cap to hccapx (recommended for use with wlandump (many options an...
[CUDA] Fix llvm::createInternalizePass() for LLVM trunk
@@ -426,7 +426,15 @@ void pocl_cuda_link_libdevice(llvm::Module *module, llvm::legacy::PassManager passes; // Run internalize to mark all non-kernel functions as internal +#ifdef LLVM_OLDER_THAN_3_9 passes.add(llvm::createInternalizePass({kernel})); +#else + auto preserve_kernel = [=](const llvm::GlobalValue &GV) + { +...
append a marker to the syslog on boot
@@ -86,6 +86,10 @@ $(ISO_NAME): $(ISO_DIR)/boot/axle.bin $(ISO_DIR)/boot/grub/grub.cfg $(ISO_MAKER) -d ./i686-toolchain/lib/grub/i386-pc -o $@ $(ISO_DIR) run: $(ISO_NAME) + echo 'Run starting' > syslog.log + echo '' > syslog.log + echo '' > syslog.log + echo '' > syslog.log $(EMULATOR) $(EMFLAGS) -cdrom $^ dbg:
Update cpu list, outline cmake build, clarify scope of set_num_threads extension
@@ -46,7 +46,10 @@ Building OpenBLAS requires the following to be installed: Simply invoking `make` (or `gmake` on BSD) will detect the CPU automatically. To set a specific target CPU, use `make TARGET=xxx`, e.g. `make TARGET=NEHALEM`. -The full target list is in the file `TargetList.txt`. +The full target list is in t...
Fix for missing timer wait wakeups The guard counter should be the pre-incremented count as that serves as the 'target' count to identify when the callout is actually completed (via done_ctr). If the callout completes during the lock switch, no wait is required. Not sure how this ever worked before...
@@ -173,7 +173,7 @@ sctp_os_timer_stop(sctp_os_timer_t *c) } else { /* need to wait until the callout is finished */ sctp_os_timer_waiting = 1; - wakeup_cookie = sctp_os_timer_wait_ctr++; + wakeup_cookie = ++sctp_os_timer_wait_ctr; SCTP_TIMERQ_UNLOCK(); SCTP_TIMERWAIT_LOCK(); /*
parser: logfmt: use flb_tm
@@ -68,7 +68,7 @@ static int logfmt_parser(struct flb_parser *parser, size_t *map_size) { int ret; - struct tm tm = {0}; + struct flb_tm tm = {0}; const unsigned char *key = NULL; size_t key_len = 0; const unsigned char *value = NULL;
remove TINYUSB_FAMILT_PROJECT_NAME_INCLUDES_BOARD setting
@@ -35,11 +35,7 @@ endfunction() function(family_get_project_name OUTPUT_NAME DIR) get_filename_component(SHORT_NAME ${DIR} NAME) - if (TINYUSB_FAMILY_PROJECT_NAME_INCLUDES_BOARD OR NOT DEFINED TINYUSB_FAMILY_PROJECT_NAME_INCLUDES_BOARD) - set(${OUTPUT_NAME} ${TINYUSB_FAMILY_PROJECT_NAME_PREFIX}${BOARD}-${SHORT_NAME} P...
Correctly handle SSL3 Master Secret when calling providers We need to pass the SSL3 Master Secret down to the provider code in order for SSLv3 to work correctly. Fixes
@@ -675,6 +675,10 @@ int EVP_MD_CTX_ctrl(EVP_MD_CTX *ctx, int cmd, int p1, void *p2) params[0] = OSSL_PARAM_construct_utf8_string(OSSL_DIGEST_PARAM_MICALG, p2, p1 ? p1 : 9999); break; + case EVP_CTRL_SSL3_MASTER_SECRET: + params[0] = OSSL_PARAM_construct_octet_string(OSSL_DIGEST_PARAM_SSL3_MS, + p2, p1); + break; defau...
py/bc: Don't include mp_decode_uint funcs when not needed. These are now only needed when persistent code is disabled.
#define DEBUG_printf(...) (void)0 #endif +#if !MICROPY_PERSISTENT_CODE + mp_uint_t mp_decode_uint(const byte **ptr) { mp_uint_t unum = 0; byte val; @@ -71,6 +73,8 @@ const byte *mp_decode_uint_skip(const byte *ptr) { return ptr; } +#endif + STATIC NORETURN void fun_pos_args_mismatch(mp_obj_fun_bc_t *f, size_t expected,...
Only show the settings pane when there is a single printer.
@@ -500,6 +500,7 @@ _papplPrinterWebHome( _papplClientHTMLInfo(client, false, printer->dns_sd_name, printer->location, printer->geo_location, printer->organization, printer->org_unit, &printer->contact); + if (!(printer->system->options & PAPPL_SOPTIONS_MULTI_QUEUE)) _papplSystemWebSettings(client); papplClientHTMLPuts...
esp_hw_support: Fix coverity warnings in mac_addr API
@@ -74,8 +74,11 @@ static int get_idx(esp_mac_type_t type) return -1; } -static esp_err_t get_mac_addr_from_mac_table(uint8_t *mac, unsigned idx, bool silent) +static esp_err_t get_mac_addr_from_mac_table(uint8_t *mac, int idx, bool silent) { + if (idx == -1) { + return ESP_ERR_NOT_SUPPORTED; + } if (!(s_mac_table[idx]...
Fixed build error in DM testcase, incorrect variable naming
@@ -133,7 +133,7 @@ static int wifiAutoConnect(void) if (ret == -1) { printf("Timeout fail to get ip address\n"); return ret; - } else if (dhcp_ret == 0) { + } else if (ret == 0) { printf("No network interface\n"); return ret; }
Use tighter bounds to skip trials
@@ -1353,7 +1353,7 @@ void compress_block( // If attempting two planes is much worse than the best one plane result // then further two plane searches are unlikely to help so move on ... - if (errorval > (best_errorvals_for_pcount[0] * 2.0f)) + if (errorval > (best_errorvals_for_pcount[0] * 1.75f)) { break; } @@ -1399,...
cmake: fix vppapigen install permissons
# See the License for the specific language governing permissions and # limitations under the License. -install(FILES vppapigen.py RENAME vppapigen DESTINATION bin) +install( + FILES vppapigen.py + RENAME vppapigen + DESTINATION bin + PERMISSIONS + OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE + WORLD_R...
looks like we have to handle action frames, too
@@ -2192,6 +2192,12 @@ else if((pcapngframesout &PCAPNG_FRAME_EAP) == PCAPNG_FRAME_EAP) writeepb(fd_pcapng); } } +return; +} +/*===========================================================================*/ +static inline void process80211action() +{ + return; } /*========================================================...
Remove unneeded --config parameter.
@@ -47,7 +47,7 @@ jobs: shell: bash run: | ctest -C $BUILD_TYPE - cmake --build . --config $BUILD_TYPE --target memcheck + cmake --build . --target memcheck - name: Install working-directory: ${{runner.workspace}}/build
frsky: reset rx_rssi once we reach the lost packet threshold
@@ -497,6 +497,7 @@ static uint8_t frsky_d_handle_packet() { quic_debugf("FRSKY: failsafe"); max_sync_delay = 10 * SYNC_DELAY_MAX; failsafe = 1; + rx_rssi = 0; } // we could be comming here from STATE_TELEMETRY
implement scratchpad enhancments
@@ -602,6 +602,14 @@ applyrules(Client *c) c->h = c->mon->mh; centerwindow(); break;; + case 4: + selmon->sel = c; + c->tags = 1 << 20; + selmon->scratchvisible = 1; + c->issticky = 1; + c->isfloating = 1; + centerwindow(); + break;; case 1: c->isfloating = 1; break;; @@ -4472,6 +4480,8 @@ toggletag(const Arg *arg) voi...
build: update .clang-format Type: make
-# Minimal clang-format version is 8 +# Minimal clang-format version is 11 BasedOnStyle: GNU UseTab: Always @@ -28,3 +28,7 @@ StatementMacros: - 'VNET_DEVICE_CLASS_TX_FN' - '__clib_section' - '__clib_aligned' + +WhitespaceSensitiveMacros: + - 'WARN_ON' + - 'WARN_OFF'
parser: Select for not operator instead of naming value states.
@@ -3059,21 +3059,21 @@ static void expression_raw(lily_parse_state *parser) state = ST_BAD_TOKEN; } else if (lex->token == tk_left_parenth) { - if (state == ST_WANT_VALUE || state == ST_DEMAND_VALUE) { + if (state != ST_WANT_OPERATOR) { lily_es_enter_tree(parser->expr, tree_parenth); state = ST_DEMAND_VALUE; } - else ...
zephyr test: cleanup of test descriptions Delete the redundant text indicating that tests are for deprecated host commands. BRANCH=none TEST=none Code-Coverage: Zoss
@@ -41,9 +41,7 @@ static void host_event_set_wake_mask_helper(uint32_t mask) } /** - * @brief TestPurpose: Verify EC_CMD_HOST_EVENT_GET_WAKE_MASK get host command. - * - * EC_CMD_HOST_EVENT_GET_WAKE_MASK is deprecated. See ec_command.h for detauls. + * @brief TestPurpose: Verify EC_CMD_HOST_EVENT_GET_WAKE_MASK host com...
changelog entry for lms7 api clock fix
Release 17.01.1 (pending) ========================== +- LMS7 API: Fix CGEN clock config in LMS_SetClockFreq() - Fix debug assertion in FFT viewer wx format string - LMS7 API: Fix NCO down/upconvert for new chip rev - Fix NCO tuning sign in SoapyLMS7 for LMS7 silicon rev
Fix one more NULL dereference report from Coverity. Try (again) to get the Travis CI integration with Coverity working...
@@ -30,7 +30,7 @@ jobs: project: name: "michaelrsweet/pappl" description: "Printer Application Framework" - notification_email: msweet@msweet.org + notification_email: michael.r.sweet@gmail.com build_command_prepend: "./configure --enable-debug --enable-sanitizer && make clean" build_command: "make" branch_pattern: mas...
[CI] travis tasks cleaning
@@ -43,10 +43,8 @@ env: - TASK=default:distrib=ubuntu,17.04:build_configuration=Profiling:pkgs+=profiling, - - TASK=default:distrib=fedora,latest:ci_config=with_umfpack:pkgs-=atlas-lapack,python-env:pkgs+=openblas-lapacke,python3-env,umfpack - - TASK=default:pkgs-=atlas-lapack:pkgs+=openblas-lapacke, - - TASK=default:c...
gost_engine test: further cleanups and fixes Allow absolute paths for $SRCTOP and $BLDTOP. Do not build the gost_engine in tree.
@@ -14,18 +14,21 @@ set -e PWD="$(pwd)" -O_EXE="$PWD/$BLDTOP/apps" -O_BINC="$PWD/$BLDTOP/include" -O_SINC="$PWD/$SRCTOP/include" -O_LIB="$PWD/$BLDTOP" +SRCTOP="$(cd $SRCTOP; pwd)" +BLDTOP="$(cd $BLDTOP; pwd)" -unset OPENSSL_CONF - -if [ "$O_BINC" != "$O_SINC" ] ; then +if [ "$SRCTOP" != "$BLDTOP" ] ; then echo "Out of ...
In ripn jet, handle zero values correctly.
/* Divide, rounding up. */ -#define DIVCEIL(x,y) 1 + ((x - 1) / y); +#define DIVCEIL(x,y) \ + (x==0) ? 0 : \ + 1 + ((x - 1) / y); /* `ripn` breaks `atom` into a list of blocks, of bit-width `bits`. The
Sockeye: process overlay pcibus, not dram
@@ -262,7 +262,7 @@ add_process(S, Enum, NewS) :- OutId = ["OUT", "PROC0" | Id], node_enum_alias(OutId, Enum), - DRAM_ID = ["DRAM"], + PCIBUS_ID = ["PCIBUS"], add_PROC_MMU(S, Id, S1), % Mark MMU block remappable @@ -273,7 +273,7 @@ add_process(S, Enum, NewS) :- assert_conf_node(S1, MMU_IN_ID, MMU_OUT_ID, 21, NumSlots, ...
tests/float/float_parse.py: Add tests for accuracy of small decimals.
@@ -30,3 +30,7 @@ print(float('1e4294967301')) print(float('1e-4294967301')) print(float('1e18446744073709551621')) print(float('1e-18446744073709551621')) + +# check small decimals are as close to their true value as possible +for n in range(1, 10): + print(float('0.%u' % n) == n / 10)
Testnet Masternodes will enable on 7-Jan-2018
class CValidationState; -#define START_MASTERNODE_PAYMENTS_TESTNET 1515900783 //2018-1-14 03:33:03 GMT +#define START_MASTERNODE_PAYMENTS_TESTNET 1515283200 //Sat, 07 Jan 2018 00:00:00 GMT #define START_MASTERNODE_PAYMENTS 1515900783 //2018-1-14 03:33:03 GMT static const int64_t DARKSEND_COLLATERAL = (5000*COIN); // 5,...
Avoid double multiplication of alloc_count
@@ -74,7 +74,7 @@ void queueMultiCommand(client *c, uint64_t cmd_flags) { } if (c->mstate.count == c->mstate.alloc_count) { c->mstate.alloc_count = c->mstate.alloc_count < INT_MAX/2 ? c->mstate.alloc_count*2 : INT_MAX; - c->mstate.commands = zrealloc(c->mstate.commands, sizeof(multiCmd)*(c->mstate.alloc_count*2)); + c-...
Update: transbot_lidar.py: shorter response dist for obstacles
@@ -4,7 +4,7 @@ import numpy as np from time import sleep from sensor_msgs.msg import LaserScan -ResponseDist = 2.0 +ResponseDist = 1.0 LaserAngle = 30 #30 # 10~180 Right_warning = 0 Left_warning = 0
Add config/duration to IKEA Tradri motion sensor if not present
@@ -8110,6 +8110,10 @@ void DeRestPluginPrivate::handleOnOffClusterIndication(TaskItem &task, const deC qint64 duration = (timeOn + 5) / 10; item = s.item(RConfigDuration); + if (!item) + { + item = s.addItem(DataTypeUInt16, RConfigDuration); + } if (item && item->toNumber() != duration) { item->setValue((quint64) dura...
util/find-doc-nits: Better parsing of links When checking links, we need to peal away stuff that aren't part of the link proper first. That makes it easier to check the link itself.
@@ -450,12 +450,14 @@ sub check { # Make sure every link has a section. while ( $contents =~ /$markup_re/msg ) { my $target = $1; - next unless $target =~ /^L</; # Skip if not L<...>, or + next unless $target =~ /^L<(.*)>$/; # Skip if not L<...> + $target = $1; # Peal away L< and > + $target =~ s/\/[^\/]*$//; # Peal aw...
Update: typos fix
A mouse is an animal. It is dead if the cat eats it. -The cat is eating a mouse in the jungle. +The cat is eating a mouse in the garden. 70 What is in the garden? -Answer: <cat --> (in /1 garden)>. :|: occurrenceTime=4 creationTime=4 Truth: frequency=1.000000, confidence=0.900000 +//expected: Answer: <cat --> (in /1 ga...
Update comments for bit manipulation macros Bit manipulation code was updated but comments related to it were not. This commit updates the comments for the main macros, GET/SETFIELD, to make them match the code.
/* Find left shift from first set bit in mask */ #define MASK_TO_LSH(m) (__builtin_ffsl(m) - 1) -/* Extract field fname from val */ +/* Extract field from 'v' according to mask 'm' */ #define GETFIELD(m, v) (((v) & (m)) >> MASK_TO_LSH(m)) -/* Set field fname of oval to fval - * NOTE: oval isn't modified, the combined r...
Fix std.optparse maxargs check
@@ -72,8 +72,8 @@ const optparse = {args, def optusage(ctx.optargs[0], ctx.optdef) exit(1) ;; - if def.maxargs > 0 && ctx.args.len < def.minargs - put("error: expected at most {} args, got {}\n", def.minargs, ctx.args.len) + if def.maxargs > 0 && ctx.args.len > def.maxargs + put("error: expected at most {} args, got {}...
[components][dfs][fatfs] Add return 0 to get_fattime when RT_USING_LIBC not enable.
@@ -924,10 +924,12 @@ DRESULT disk_ioctl(BYTE drv, BYTE ctrl, void *buff) DWORD get_fattime(void) { + DWORD fat_time = 0; + +#ifdef RT_USING_LIBC time_t now; struct tm *p_tm; struct tm tm_now; - DWORD fat_time; /* get current time */ now = time(RT_NULL); @@ -947,6 +949,7 @@ DWORD get_fattime(void) (DWORD)tm_now.tm_hour...
fig bug 3279
@@ -115,7 +115,15 @@ module_exit(hello_exit); local include_cflag = false for _, cflag in ipairs(line:split("%s+")) do local has_cflag = false - if cflag:startswith("-f") or cflag:startswith("-m") + if cflag:startswith("-fplugin=") then + -- @see https://github.com/xmake-io/xmake/issues/3279 + local plugindir = cflag:s...
Update information in BRANCHES.md
# Maintained branches -At any point in time, we have a number of maintained branches consisting of: +At any point in time, we have a number of maintained branches, currently consisting of: - The [`master`](https://github.com/ARMmbed/mbedtls/tree/master) branch: this always contains the latest release, including all pub...
changed py.test to pytest
@@ -61,11 +61,11 @@ sanitize: test: -gcc -o vplanet src/*.c -lm -O3 -DGITVERSION=\"$(GITVERSION)\" - -py.test + -pytest coverage: -mkdir -p gcov && cd gcov && gcc -coverage -o ../vplanet ../src/*.c -lm - -py.test + -pytest -cd gcov && lcov --capture --directory . --output-file coverage.info && genhtml coverage.info --o...
Use uip-debug in ip64-ipv4-dhcp.c
#include <stdio.h> +#define DEBUG DEBUG_NONE +#include "net/ip/uip-debug.h" + PROCESS(ip64_ipv4_dhcp_process, "IPv4 DHCP"); uip_ipaddr_t uip_hostaddr; /* Needed because it is referenced by dhcpc.c */ @@ -48,7 +51,7 @@ uip_ipaddr_t uip_hostaddr; /* Needed because it is referenced by dhcpc.c */ void ip64_ipv4_dhcp_init(v...
window move gestures
@@ -1963,6 +1963,21 @@ movemouse(const Arg *arg) break; } } while (ev.type != ButtonRelease); + + if (ev.xmotion.y_root < 5) { + if (selmon->sel->isfloating) { + togglefloating(NULL); + } + } + + if (ev.xmotion.x_root > selmon->mx + selmon->mw - 5 && ev.xmotion.x_root < selmon->mx + selmon->mw + 1) { + c->isfloating = ...
Add mod2gbt 2.3 mac
Binary files a/buildTools/darwin-x64/mod2gbt/mod2gbt and b/buildTools/darwin-x64/mod2gbt/mod2gbt differ
rt946x: add missing new line in console log TEST=make BRANCH=kukui Tested-by: Ting Shen
@@ -659,7 +659,7 @@ int charger_set_input_current(int input_current) info->input_current_max, info->input_current_step, input_current); - CPRINTF("iin=%d", input_current); + CPRINTS("iin=%d", input_current); return rt946x_update_bits(RT946X_REG_CHGCTRL3, RT946X_MASK_AICR, reg_iin << RT946X_SHIFT_AICR);
Disable debug print in C testing
@@ -68,7 +68,7 @@ jobs: # Require CMake>=3.14 for the following build procedure - name: Test run: | - cmake -S . -B build -DUSE_SANITIZER="Address" -DCMAKE_BUILD_TYPE="Debug" + cmake -S . -B build -DUSE_SANITIZER="Address" cmake --build build -t check docs:
Remove dependencies on default libraries that break cross-compilation with new clang build
@@ -4546,12 +4546,12 @@ module _GO_BASE_UNIT: _BASE_UNIT { when ($OS_DARWIN) { GO_TOOLCHAIN_ENV += ${env:"CC=clang"} ${env:"PATH=$(DEFAULT_DARWIN_X86_64)/bin:$MACOS_SDK_RESOURCE_GLOBAL/usr/bin:$CCTOOLS_ROOT_RESOURCE_GLOBAL/bin"} GO_EXTLD = ++extld clang ++extldflags $LD_SDK_VERSION -undefined dynamic_lookup $C_FLAGS_PL...
maf: Fix quat_getDirection;
@@ -186,7 +186,7 @@ MAF quat quat_normalize(quat q) { MAF void quat_getDirection(quat q, float* x, float* y, float* z) { *x = -(2.f * q[0] * q[2] + 2.f * q[3] * q[1]); - *y = -(2.f * q[1] * q[2] + 2.f * q[3] * q[0]); + *y = -(2.f * q[1] * q[2] - 2.f * q[3] * q[0]); *z = -(1.f - 2.f * q[0] * q[0] - 2.f * q[1] * q[1]); }...
Skip binding uv_fs_get_system_error for now See
@@ -29,7 +29,7 @@ skipped+=( uv_req_type_name uv_pipe_chmod uv_process_get_pid uv_get_osfhandle uv_open_osfhandle uv_fs_get_type uv_fs_get_result uv_fs_get_ptr uv_fs_get_path uv_fs_get_statbuf uv_ip4_addr uv_ip6_addr uv_ip4_name uv_ip6_name uv_inet_ntop uv_inet_pton uv_dlopen uv_dlclose - uv_dlsym uv_dlerror uv_udp_usi...
pbio/drivebase: use common starters for drive Also, drop the synchronous start
@@ -269,54 +269,6 @@ static pbio_error_t pbio_drivebase_update(pbio_drivebase_t *db) { return drivebase_log_update(db, time_now, sum, sum_rate, sum_control, dif, dif_rate, dif_control); } -static pbio_error_t pbio_drivebase_signal_run(pbio_control_t *ctl, int32_t target_rate, int32_t time_now, int32_t count_now, int32_...
extra redeclared getSystemInfo is removed
@@ -39,8 +39,6 @@ private: virtual void getApplicationIconBadge(CMethodResult& oResult); virtual void setApplicationIconBadge( int value, CMethodResult& oResult); - virtual void getSystemInfo(CMethodResult& oResult); - virtual void setDoNotBackupAttribute( const rho::String& pathToFile, bool doNotBackup, rho::apiGenera...
[ci skip] [docs] Abe's comments 2
@@ -4,18 +4,10 @@ Quick Start Requirements ------------------------------------------- -Using Linux is recommended. -The provided scripts will not work on macOS out of the box, but they may be able to be modified to support it. +Chipyard is developed and tested on Linux-based systems. +It is possible to use this on mac...
Update the layout of packages
@@ -44,21 +44,9 @@ Install development tools for ARCN development: .. code-block:: none - sudo apt install gcc - git - make - gnu-efi - libssl-dev - libpciaccess-dev - uuid-dev - libsystemd-dev - libevent-dev - libxml2-dev - libusb-1.0-0-dev - python3 - python3-pip - libblkid-dev - e2fslibs-dev + sudo apt install gcc g...
nva/nvapy: Improve build dependency warning for python3 and/or cython Reflect that the absence of both, or either, dependency will mean nvapy won't be built due to un-met dependencies.
@@ -90,7 +90,7 @@ if (NOT DISABLE_NVA) install(TARGETS nvapy DESTINATION ${NVAPY_PATH}) endif (NVAPY_PATH) else(PC_PYTHON_FOUND AND CYTHON_EXECUTABLE) - message("Warning: nvapy won't be built because of un-met dependencies (python3 and cython)") + message("Warning: nvapy won't be built because of un-met dependencies (p...
SLW: Removing timebase related flags for stop4 When a core enters stop4, it does not loose decrementer and time base. Hence removing flags OPAL_PM_DEC_STOP and OPAL_PM_TIMEBASE_STOP.
@@ -601,8 +601,8 @@ static struct cpu_idle_states power9_cpu_idle_states[] = { .name = "stop4", .latency_ns = 100000, .residency_ns = 1000000, - .flags = 1*OPAL_PM_DEC_STOP \ - | 1*OPAL_PM_TIMEBASE_STOP \ + .flags = 0*OPAL_PM_DEC_STOP \ + | 0*OPAL_PM_TIMEBASE_STOP \ | 1*OPAL_PM_LOSE_USER_CONTEXT \ | 1*OPAL_PM_LOSE_HYP_...
OpenLinuxBoot: typo
@@ -50,7 +50,7 @@ BoundedAsciiStrCmp ( STATIC VOID -GetNextFragement ( +GetNextFragment ( IN CONST CHAR8 **Pos, OUT CONST CHAR8 **FragmentStart, OUT CONST CHAR8 **FragmentEnd, @@ -170,8 +170,8 @@ DoVersionCompare ( Pos2 = Version2; while (TRUE) { - GetNextFragement (&Pos1, &FragmentStart1, &FragmentEnd1, &IsAlphaFragme...
Fix compilation with system CXX
@@ -1169,6 +1169,7 @@ class GnuToolchain(Toolchain): self.env = self.tc.get_env() if self.tc.is_clang: + if self.tc.is_from_arcadia: self.env.setdefault(build.host.library_path_variable, []).append('{}/lib'.format(self.tc.name_marker)) target_triple = select(default=None, selectors=[ @@ -1202,6 +1203,7 @@ class GnuTool...
I added a link to the Mac OSX build on the 10.11 system to the executables download page for the 2.13.0 release.
<i>(Includes parallel VisIt with self-contained MPICH MPI. Works on Mac OS X 10.8.5 and later.)</i></td> <td><a href="http://portal.nersc.gov/project/visit/releases/2.13.0/VisIt-2.13.0.dmg">Download</a></td> </tr> + <tr> + <td>Mac OS X 10.11.6 - Intel 64 bit<br /> + Darwin 10.11.6, Darwin Kernel Version 15.6.0, clang-7...
eve: Lower VCCIO from 975 to 850 mV BRANCH=none TEST=power consumption is lower
@@ -348,7 +348,7 @@ static void board_pmic_init(void) i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992, 0x3e, 0x04); /* Set CSDECAYEN / VCCIO decays to 0V at assertion of SLP_S0# */ - i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992, 0x30, 0x4a); + i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992, 0x30, 0x7a); /* * Set V100ACNT / V1.00A...
Add sceSblRngPseudoRandomNumber function
@@ -42,6 +42,8 @@ int ksceSblAimgrGetConsoleId(SceConsoleId *cid); int ksceSblAimgrGetOpenPsId(SceOpenPsId *open_psid); int ksceSblAimgrGetPscode(ScePsCode *pscode); +int ksceSblRngPseudoRandomNumber(void *result, SceSize size); + int ksceSblDmac5AesCbcDec(const void *src, void *dst, int size, const void *key, int key_...