message
stringlengths
6
474
diff
stringlengths
8
5.22k
king: update stackage resolver to lts-16.15 This allows us to drop flat/urbit-hob as they're now in the package set, web3/vinyl need to be added to account for urbit-azimuth's dependencies.
-resolver: lts-14.21 +resolver: lts-16.15 packages: - lmdb-static @@ -15,11 +15,11 @@ packages: - urbit-noun-core extra-deps: - - flat-0.3.4@sha256:002a0e0ae656ea8cc02a772d0bcb6ea7dbd7f2e79070959cc748ad1e7138eb38 - base58-bytestring-0.1.0@sha256:a1da72ee89d5450bac1c792d9fcbe95ed7154ab7246f2172b57bd4fd9b5eab79 - lock-fi...
fix passing ARCH to make-packages
@@ -62,6 +62,7 @@ while :; do lowerI="$(echo $1 | tr "[:upper:]" "[:lower:]")" case $lowerI in -a|-arch|--arch) + shift ARCH=$1 ;; -d|-debug|--debug)
Patch up aoco_compression in Adopted CCP group [ci skip]
@@ -135,6 +135,12 @@ groups: - cs_crash_recovery_11_20 - cs_crash_recovery_21_30 - cs_crash_recovery_31_42 + - cs_aoco_compression_large_01 + - cs_aoco_compression_large_02 + - cs_aoco_compression_large_03 + - cs_aoco_compression_large_04 + - cs_aoco_compression_small + - cs_aoco_compression_small_serial - DPM_backup-r...
Added connection helper functions for argument
@@ -136,6 +136,7 @@ esp_conn_send(esp_conn_p conn, const void* data, size_t btw, size_t* bw, uint32_ * \param[in] conn: Pointer to connection to set argument * \param[in] arg: Pointer to argument * \return espOK on success, member of \ref espr_t enumeration otherwise + * \sa esp_conn_get_arg */ espr_t esp_conn_set_arg(...
docs/develop: Fix module/source name in Makefile of native example.
@@ -165,10 +165,10 @@ The file ``Makefile`` contains: MPY_DIR = ../../.. # Name of module - MOD = features0 + MOD = factorial # Source files (.c or .py) - SRC = features0.c + SRC = factorial.c # Architecture to build for (x86, x64, armv7m, xtensa, xtensawin) ARCH = x64
HV: PAE: Add stac()/clac() in local_gva2gpa_pae Accessing memory of guest will cause page fault when SMAP is enabled. This patch stac()/clac() correspondingly to get rid of this situation. Acked-by: Eddie Dong
@@ -215,7 +215,9 @@ static int32_t local_gva2gpa_pae(struct acrn_vcpu *vcpu, struct page_walk_info * base = (uint64_t *)gpa2hva(vcpu->vm, addr); if (base != NULL) { index = (gva >> 30U) & 0x3UL; + stac(); entry = base[index]; + clac(); if ((entry & PAGE_PRESENT) != 0U) { pw_info->level = 2U;
Disable code style correction in check_config.h Code style correction currently messes up check_names.py
#ifndef MBEDTLS_CHECK_CONFIG_H #define MBEDTLS_CHECK_CONFIG_H +/* *INDENT-OFF* */ /* * We assume CHAR_BIT is 8 in many places. In practice, this is true on our * target platforms, so not an issue, but let's just be extra sure. */ typedef int mbedtls_iso_c_forbids_empty_translation_units; +/* *INDENT-ON* */ #endif /* MB...
reduced heap size to 121kB
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 ) #define configMAX_PRIORITIES ( 7 ) #define configMINIMAL_STACK_SIZE ( ( uint16_t ) 256 ) -#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 125 * 1024 ) ) +#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 121 * 1024 ) ) #define configMAX_TASK_NAME_LEN ( 16 ) #define configUSE_T...
Support reading binding table for als FLS based devices, regardless of MAC address
@@ -120,10 +120,15 @@ bool DeRestPluginPrivate::readBindingTable(RestNodeBase *node, quint8 startIndex return false; } + Resource *r = dynamic_cast<Resource*>(node); + // whitelist if ((node->address().ext() & macPrefixMask) == deMacPrefix) { } + else if (r && r->item(RAttrModelId)->toString().startsWith(QLatin1String(...
Include new getters in test suites
@@ -19,6 +19,7 @@ static int check_cipher_info( mbedtls_cipher_type_t type, const mbedtls_cipher_info_t *info ) { size_t key_bitlen; + int block_size, iv_size; TEST_ASSERT( info != NULL ); TEST_EQUAL( type, mbedtls_cipher_info_get_type( info ) ); @@ -33,8 +34,14 @@ static int check_cipher_info( mbedtls_cipher_type_t ty...
cmake BUGFIX do not error out on custom CMAKE_BUILD_TYPE * Discovered while trying to package version 2.0.0 on Gentoo Linux, where we use `CMAKE_BUILD_TYPE=Gentoo`, so don't error out on `CMAKE_BUILD_TYPE` different than the ones specified in `CMakeLists.txt`
@@ -35,8 +35,6 @@ elseif ("${BUILD_TYPE_UPPER}" STREQUAL "ABICHECK") set(CMAKE_BUILD_TYPE "ABICheck" CACHE STRING "Build Type" FORCE) elseif ("${BUILD_TYPE_UPPER}" STREQUAL "DOCONLY") set(CMAKE_BUILD_TYPE "DocOnly" CACHE STRING "Build Type" FORCE) -else () - message(FATAL_ERROR "Unknown CMAKE_BUILD_TYPE \"${CMAKE_BUILD...
add some pin flag
@@ -11,7 +11,7 @@ Blockly.Blocks.servo_move = { this.setColour(Blockly.Blocks.actuator.HUE); this.appendValueInput("PIN", Number) .appendField(Blockly.MIXLY_SERVO) - .appendField(Blockly.MIXLY_PIN) + .appendField(Blockly.MIXLY_PIN + " #") .setCheck(Number); this.appendValueInput("DEGREE", Number) .setCheck(Number) @@ -...
update iot onenet
@@ -13,13 +13,16 @@ pbc.assignD.get('iot')['check_assign'] = function(py2block, node, targets, value } pbc.assignD.get('iot')['create_block'] = function(py2block, node, targets, value){ + pbc.pinType = "pins_callback"; + var subblock = py2block.convert(value.args[5]); + pbc.pinType = null; return block("iot_onenet_conn...
doc UPDATE subscriptions information
@@ -26,7 +26,8 @@ extern "C" { /** * @brief Initialize NACM and its callbacks. * - * Needs to be called only **once** in each process. + * Needs to be called only **once** in each process. Subscriptions created in @p sub need to be unsubscribed separately + * and before calling ::sr_nacm_destroy(). * * @param[in] sessi...
vlib: fix coverity 277203 Fix integer overflow. Type: fix
@@ -109,7 +109,7 @@ test_dma_command_fn (vlib_main_t *vm, unformat_input_t *input, u32 port_allocator_seed; - fill_random_data (from, cfg.max_transfers * rsz); + fill_random_data (from, (uword) cfg.max_transfers * rsz); b = vlib_dma_batch_new (vm, config_index); vlib_dma_batch_set_cookie (vm, b, 0x12345678);
config: use new 'plugin' context
#include <fluent-bit/flb_macros.h> #include <fluent-bit/flb_config.h> #include <fluent-bit/flb_parser.h> +#include <fluent-bit/flb_plugin.h> #include <fluent-bit/flb_plugins.h> #include <fluent-bit/flb_slist.h> #include <fluent-bit/flb_io_tls.h> #include <fluent-bit/flb_worker.h> #include <fluent-bit/flb_scheduler.h> #...
Fix error handling in rand_drbg_new
@@ -295,10 +295,7 @@ static RAND_DRBG *rand_drbg_new(int secure, return drbg; err: - if (drbg->secure) - OPENSSL_secure_free(drbg); - else - OPENSSL_free(drbg); + RAND_DRBG_free(drbg); return NULL; }
zephyr: Update documents with CBI FW_CONFIG feature Add the CBI FW_CONFIG feature to the documentation. TEST=none BRANCH=none
@@ -59,6 +59,7 @@ EC Feature | Ne [Configure GPIO](./zephyr_gpio.md) | yes [Configure Batteries (TODO)](./zephyr_template.md) | no [Configure CrOS Board Information (CBI) (TODO)](./zephyr_template.md) | no +[Configure CrOS CBI FW CONFIG](./zephyr_fw_config.md) | no [Configure Keyboard (TODO)](./zephyr_template.md) | no...
OcBootManagementLib: Only ASSERT if the last FilePath node is trailed
@@ -949,19 +949,25 @@ InternalDevicePathIsTrailed ( ) { CONST FILEPATH_DEVICE_PATH *FilePath; + CONST FILEPATH_DEVICE_PATH *FilePathWalker; UINTN PathNameSize; UINTN PathNameLength; ASSERT (DevicePath != NULL); ASSERT (IsDevicePathValid (DevicePath, 0)); - FilePath = (FILEPATH_DEVICE_PATH *)( + FilePathWalker = NULL; +...
[hardware] Adapt mempool to new instruction cache
@@ -185,19 +185,21 @@ module mempool_tile #( .FETCH_DW (DataWidth ), .FILL_AW (AddrWidth ), .FILL_DW (ICacheLineWidth ), - .EARLY_ENABLED (1 ), /// Make the early cache latch-based. This reduces latency at the cost of /// increased combinatorial path lengths and the hassle of having latches in /// the design. - .EARLY_...
Travis: Remove `FAST` build This update should improve the overall build time on Travis.
@@ -13,13 +13,6 @@ cache: matrix: include: - # FAST: Do not install any dependencies - - - os: osx - osx_image: xcode9.3beta - compiler: clang - env: [ FAST=ON ] - # ASAN: Enable AddressSanitizer - os: osx @@ -81,7 +74,7 @@ before_install: brew install ninja fi - | - if [[ "$TRAVIS_OS_NAME" == "osx" && "$FAST" != "ON" ...
improved warning in case of detection of too many deauthentications, because that can cause that an ACCESS POINT reset the EAPOL TIMER, renew the ANONCE and set the PMKID to zero
@@ -653,7 +653,7 @@ if(eapolmsgtimestamperrorcount > 0) if((deauthenticationcount +disassociationcount) > 100) { printf("\nWarning: too many disauthentication/disassociation frames detected!\n" - "That can cause that an ACCESS POINT reset the EAPOL TIMER and renew the ANONCE.\n" + "That can cause that an ACCESS POINT r...
use new development branch instead of master to build the trunk
@@ -30,7 +30,7 @@ else # These default values change if this is a trunk build. AOMP_VERSION=${AOMP_VERSION:-"11.0"} AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"T"} - AOMP_PROJECT_REPO_BRANCH=${AOMP_PROJECT_REPO_BRANCH:-master} + AOMP_PROJECT_REPO_BRANCH=${AOMP_PROJECT_REPO_BRANCH:-AOMP-200127} AOMP_COMGR_REPO_BRANCH=${AOMP_C...
updating deploy location
@@ -56,7 +56,7 @@ env: global: - ANDROID_NDK_HOME=$HOME/android-ndk-r12b - BUILD_ARTEFACTS_DIR=$HOME/build_artefacts - - S3_JOB_DIR="$TRAVIS_COMMIT"/travis-"$TRAVIS_JOB_NUMBER"_"$TRAVIS_OS_NAME" + - S3_JOB_DIR="$TRAVIS_COMMIT"/"travis-$TRAVIS_JOB_NUMBER"_"$TRAVIS_OS_NAME" - S3_DEPLOY_DIR="$TRAVIS_REPO_SLUG"/"$TRAVIS_BR...
schema compile REFACTOR use for macro
@@ -6483,7 +6483,7 @@ lys_compile_deviations(struct lysc_ctx *ctx, struct lysp_module *mod_p) devs[i]->flags = flags; } /* add deviates into the deviation's list of deviates */ - for (d = dev->deviates; d; d = d->next) { + LY_LIST_FOR(dev->deviates, d) { LY_ARRAY_NEW_GOTO(ctx->ctx, devs[i]->deviates, dp_new, ret, clean...
libc/mutex: Modify the initialization for mutex attr robust if CONFIG_PTHREAD_MUTEX_UNSAFE is not enabled, pthread_mutexattrinit doesn't initialize the robust member. So make initialization for robust to PTHREAD_MUTEX_ROBUST
@@ -119,7 +119,7 @@ int pthread_mutexattr_init(FAR pthread_mutexattr_t *attr) attr->type = PTHREAD_MUTEX_DEFAULT; #endif -#ifdef CONFIG_PTHREAD_MUTEX_BOTH +#ifndef CONFIG_PTHREAD_MUTEX_UNSAFE #ifdef CONFIG_PTHREAD_MUTEX_DEFAULT_UNSAFE attr->robust = PTHREAD_MUTEX_STALLED; #else
king: Fix spinner bugs.
@@ -610,7 +610,7 @@ processWork processWork serf maxSize q onResp spin = do vDoneFlag <- newTVarIO False vInFlightQueue <- newTVarIO empty - recvThread <- async (recvLoop serf vDoneFlag vInFlightQueue) + recvThread <- async (recvLoop serf vDoneFlag vInFlightQueue spin) flip onException (print "KILLING: processWork" >> ...
sysrepo BUGFIX check internal module in replace_config
@@ -2689,6 +2689,10 @@ sr_replace_config(sr_session_ctx_t *session, const char *module_name, struct lyd if (!ly_mod) { sr_errinfo_new(&err_info, SR_ERR_NOT_FOUND, "Module \"%s\" was not found in sysrepo.", module_name); goto cleanup; + } else if (!strcmp(ly_mod->name, SR_YANG_MOD)) { + sr_errinfo_new(&err_info, SR_ERR_...
BugID:17918353: Optimize the reference of CLI uart
#include "cli_adapt.h" #include "cli_err.h" +#ifndef STDIO_UART +#define CLI_UART 0 +#else +#define CLI_UART STDIO_UART +#endif + int32_t cli_task_create(const char *name, void (*fn)(void *), void *arg, uint32_t stack, uint32_t priority) { @@ -32,7 +38,7 @@ int32_t cli_getchar(char *inbuf) uint32_t recv_size = 0; memse...
data_flash: do more work per loop
@@ -218,6 +218,7 @@ sdcard_do_more: #endif #ifdef USE_M25P16 +flash_do_more: switch (state) { case STATE_DETECT: if (!m25p16_is_ready()) { @@ -248,16 +249,16 @@ sdcard_do_more: case STATE_IDLE: if (to_write >= PAGE_SIZE) { state = STATE_START_WRITE; - break; + goto flash_do_more; } if (should_flush == 1 && to_write > 0...
pr_crictl: enhance CI/CD error handling Fixes:
@@ -31,16 +31,18 @@ jobs: echo "rune_test=$rune_test" >> $GITHUB_ENV - name: Build and install packages - run: docker exec $rune_test bash -c "cp -r /root/inclavare-containers /root/inclavare-containers-$RUNE_VERSION; - tar zcf v$RUNE_VERSION.tar.gz inclavare-containers-$RUNE_VERSION; - cd /root/inclavare-containers-$R...
nco/autotest: printing output values for comparison (verbose)
@@ -47,6 +47,11 @@ void nco_crcf_phase_test(float _theta, float c = nco_crcf_cos(nco); float s = nco_crcf_sin(nco); + if (liquid_autotest_verbose) { + printf("cos(%8.5f) = %8.5f (%8.5f) e:%8.5f, sin(%8.5f) = %8.5f (%8.5f) e:%8.5f\n", + _theta, _cos, c, _cos-c, _theta, _sin, s, _sin-s); + } + // run tests CONTEND_DELTA(...
Usless read removed.
@@ -385,10 +385,6 @@ esp_err_t WL_Flash::updateV1_V2() WL_RESULT_CHECK(result); ESP_LOGD(TAG, "%s - move_count= 0x%08x, pos= 0x%08x", __func__, this->state.move_count, this->state.pos); - result = this->flash_drv->read(this->addr_state1, &this->state, sizeof(wl_state_t)); - WL_RESULT_CHECK(result); - ESP_LOGI(TAG, "%s ...
HV: init_paging() wrongly calcuate the size of hypervisor when relocation is enabled, the calcuation of HV size in init_paging routine is not right. As a result, it doesn't enable NX bit for many pages which don't belong to hypervisor text section.
@@ -290,7 +290,7 @@ void init_paging(void) CONFIG_HV_RAM_SIZE + (((hv_hpa & (PDE_SIZE - 1UL)) != 0UL) ? PDE_SIZE : 0UL), PAGE_CACHE_WB, PAGE_CACHE_MASK | PAGE_USER, &ppt_mem_ops, MR_MODIFY); - size = ((uint64_t)&ld_text_end - CONFIG_HV_RAM_START); + size = ((uint64_t)&ld_text_end - hv_hpa); text_end = hv_hpa + size; /*...
[stm32f0xx] Fix UART3/4 interrupts The IRQ handler was being misdefined, so the correct ISR was not being invoked.
@@ -222,14 +222,14 @@ void stm32_USART2_IRQ(void) #endif #ifdef ENABLE_UART3 -void stm32_USART3_IRQ(void) +void stm32_USART3_4_IRQ(void) { stm32_uart_rx_irq(USART3, stm32_get_rxbuf(3)); } #endif #ifdef ENABLE_UART4 -void stm32_USART4_IRQ(void) +void stm32_USART3_4_IRQ(void) { stm32_uart_rx_irq(USART4, stm32_get_rxbuf(4...
[amc] Update service name of file server
@@ -89,9 +89,9 @@ static void _amc_core_put_service_to_sleep(const char* source_service, uint32_t tasking_block_task(service->task, block_reason); } -static void _amc_core_file_manager_map_initrd(const char* source_service) { - // Only file_manager is allowed to invoke this code! - assert(!strncmp(source_service, "com....
Serialise builds of the .a files on Windows This is a workaround for an issue with mkstemp() in older MinGW releases that causes simultaneous creation of .a files in the same directory to fail. Fixes
@@ -186,6 +186,14 @@ static: libmbedcrypto.a libmbedx509.a libmbedtls.a shared: libmbedcrypto.$(DLEXT) libmbedx509.$(DLEXT) libmbedtls.$(DLEXT) +# Windows builds under Mingw can fail if make tries to create archives in the same +# directory at the same time - see https://bugs.launchpad.net/gcc-arm-embedded/+bug/1848002...
Update Dockerfile with missing packages
@@ -60,6 +60,11 @@ RUN apt-get update \ pkg-config \ && rm -rf /var/lib/apt/lists/* +# The following packages are required for validating Python files. +# The version of Pylint is set to 2.4.4 to match CI. +RUN python3 -m pip install \ + packaging mypy pylint==2.4.4 + # Jinja2 and jsonschema is required for driver disp...
Update INSTALL.md Add info on building conda environment.
@@ -175,6 +175,29 @@ $ pip uninstall pyccl For quick introduction to `CCL` in Python look at notebooks in **_tests/_**. +## Conda installation + +In this case, first, you should create a CCL environment with conda and activate it as follows: + +````sh +$ conda create --name CCL +$ conda activate CCL +```` + +Next, inst...
Completions: Remove double occurrence of plugin
@@ -241,7 +241,7 @@ function __fish_kdb_print_resolver_plugins -d 'Print a list of available resolve end function __fish_kdb_print_storage_plugins -d 'Print a list of available storage plugins' - set -l formats constants crypto_botan crypto_gcrypt crypto_openssl desktop dpkg dump fcrypt hosts line ini json ini ni passw...
stm32/main: run gc_init always Before this change, the gc would eventually trigger after running the same program several times, but we should start from a clean state each time.
@@ -312,12 +312,12 @@ int main(int argc, char **argv) { pbio_init(); +soft_reset: + #if MICROPY_ENABLE_GC gc_init(heap, heap + sizeof(heap)); #endif -soft_reset: - #if MICROPY_ENABLE_COMPILER // Enter the REPL if button was clicked again right after boot if (wait_for_button_press(500)) {
fix for blockwise transfer data out of scope before calling the resource callbacks. solution: free contents after callback verified with cloud_proxy (to be released)
@@ -813,13 +813,6 @@ oc_ri_invoke_coap_entity_handler(void *request, void *response, uint8_t *buffer, entity_too_large = true; bad_request = true; } - -#if defined(OC_BLOCK_WISE) - /* Free request_state cause it isn't used any more - */ - oc_blockwise_free_request_buffer(*request_state); - *request_state = NULL; -#endi...
Android build script fix for Python 3.x
@@ -13,7 +13,7 @@ ANDROID_TOOLCHAINS = { 'mips64': 'mips64el-linux-android' } -ANDROID_ABIS = ANDROID_TOOLCHAINS.keys() +ANDROID_ABIS = list(ANDROID_TOOLCHAINS.keys()) def javac(args, dir, *cmdArgs): return execute(args.javac, dir, *cmdArgs)
mpi-families/libfabric: add guard for libpsm2-devel requirement as it is not available on aarch64
@@ -30,7 +30,9 @@ BuildRequires: rdma-core-devel infiniband-diags-devel %if 0%{?rhel} Buildrequires: rdma-core-devel libibmad-devel %endif +%ifarch x86_64 BuildRequires: libpsm2-devel >= 10.2.0 +%endif # Default library install path %define install_path %{OHPC_MPI_STACKS}/%{pname}/%version
Use struct for count and first appearance line
@@ -24,6 +24,13 @@ namespace ebi { namespace vcf { + + struct ErrorSummary + { + size_t appearances; + size_t first_appearance_line; + }; + /** * Class that tells whether an error should be written or skipped. * @@ -43,16 +50,16 @@ namespace ebi class SummaryTracker { public: - std::map<std::string, std::pair<long, siz...
groups: pass invites to group filter
@@ -16,8 +16,8 @@ export class HeaderBar extends Component { // spinnerClasses = "spin-active"; // } - let invites = (this.props.invites && this.props.invites.contacts) - ? this.props.invites.contacts + let invites = (this.props.invites) + ? this.props.invites : {}; return (
test_external_oqsprovider: Use working checkout of liboqs Fixes
@@ -50,8 +50,9 @@ if [ ! -d $SRCTOP/oqs-provider/oqs ]; then # https://github.com/open-quantum-safe/liboqs/wiki/Customizing-liboqs ( cd $SRCTOP/oqs-provider \ - && git clone --depth 1 --branch main https://github.com/open-quantum-safe/liboqs.git \ + && git clone --shallow-since=2022-07-01 --branch main https://github.c...
Fix incorect timeout description in LimeSuite.h
@@ -1349,7 +1349,7 @@ API_EXPORT int CALL_CONV LMS_StopStream(lms_stream_t *conf); * @param samples sample buffer. * @param sample_count Number of samples to read * @param meta Metadata. See the ::lms_stream_meta_t description. - * @param timeout_ms how long to wait for data before timing out(0=infinite). + * @param ti...
Test XML declaration in external entity processing
@@ -3739,6 +3739,12 @@ START_TEST(test_external_entity_values) NULL, XML_ERROR_PARTIAL_CHAR }, + { + "<?xml version='1.0' encoding='utf-8'?>\n", + NULL, + NULL, + XML_ERROR_NONE + }, { NULL, NULL, NULL, XML_ERROR_NONE } }; int i;
HW: Adding checksum for N250S PSL version 007
@@ -37,6 +37,7 @@ if [ $# -gt 1 ]; then '5bf24f90f52e6959e8e6082245a2ac3c') export PSL_DCP_TYPE="N250S";; '3a2d162828aed3cb271d1151be9bfdde') export PSL_DCP_TYPE="N250S";; # with reset fix 20171220 'd7196d64990594f6c267aa8192a41573') export PSL_DCP_TYPE="N250S";; # with reset fix 20180212 + vivado 2017.4 + '714ee9a2f54...
OcAppleBootCompatLib: Warn about too large memory map
@@ -423,6 +423,10 @@ OcGetMemoryMap ( // during hibernate wake to be able to iterate memory map. // BootCompat->ServiceState.MemoryMapDescriptorSize = *DescriptorSize; + + if (*MemoryMapSize > EFI_PAGE_SIZE) { + DEBUG ((DEBUG_INFO, "OCABC: Memory map exceeds 4K - %u, booting may fail\n", (UINT32) *MemoryMapSize)); + } ...
Prototype animating enum.
@@ -117,6 +117,17 @@ movement restirctions are here! #define DEFAULT_ATK_DROPV_X 1.2 #define DEFAULT_ATK_DROPV_Z 0 +// Caskey, Damon V. +// 2019-01-27 +// +// Flags for animation status. +typedef enum +{ + ANIMATING_REVERSE = -1, + ANIMATING_NONE = 0, + ANIMATING_FORWARD = 1 +} e_animating; + // Caskey, Damon V. // 201...
Migrate old sound effect instructions (work still to be done on making these more flexible)
import { inputDec, textSpeedDec } from "./helpers"; -import { decOct, hexDec } from "../helpers/8bit"; +import { decHex, decOct, hexDec } from "../helpers/8bit"; import trimlines from "../helpers/trimlines"; import { is16BitCType } from "../helpers/engineFields"; import { @@ -1273,6 +1273,27 @@ class ScriptBuilder { th...
Allow edge / branch based application creation
@@ -22,9 +22,11 @@ cd $1 if [[ -z "${FIO_BRANCH}" ]]; then FIO_URL=$(curl -s https://api.github.com/repos/boazsegev/facil.io/releases/latest | grep tarball_url | cut -d '"' -f 4) else - FIO_URL=$(https://github.com/boazsegev/facil.io/archive/${FIO_BRANCH}.tar.gz) + FIO_URL=https://github.com/boazsegev/facil.io/archive/...
kevin: disable reporting of unneeded host events Disable reporting of EC events to the linux kernel that are not used by kevin's kernel. BRANCH=none TEST=make buildall passes, lid close puts AP into suspend, lid open turns on display
EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_RTC)) +/* + * Define the host events which are to be reported to the kernel. + * + * Linux 4.4 kernel uses EC_HOST_EVENT_PD_MCU, EC_HOST_EVENT_USB_MUX, + * and EC_HOST_EVENT_RTC and all enabled WAKE events. + * + * Linux 3.18 kernel uses ...
config.spec: add missing smart_gaps inverse_outer comment
@@ -91,7 +91,7 @@ state SMART_BORDERS: enabled = 'no_gaps' -> call cfg_smart_borders($enabled) -# smart_gaps on|off +# smart_gaps on|off|inverse_outer state SMART_GAPS: enabled = '1', 'yes', 'true', 'on', 'enable', 'active' -> call cfg_smart_gaps($enabled)
Add TypeTrait<int>
@@ -33,6 +33,19 @@ struct TypeTrait #define TYPETRAIT(T) TypeTrait<typename RemoveConst<T>::type> +template<> +struct TypeTrait<int> +{ + typedef int Type; + typedef int ComponentType; + + static const int numComponents = 1; + static const ComponentType &getComponent(const Type &o, size_t i) + { return o; } + static Co...
Parser: Drop impossible block->prev == NULL checks. I used grep to make sure this is all of them. These tests have been obsolete for likely 1-2 years, possibly more. Whenever __main__ started being a file block instead of a call block, these all became impossible to reach.
@@ -3897,8 +3897,7 @@ static void keyword_import(lily_parse_state *parser, int multi) { lily_lex_state *lex = parser->lex; lily_block *block = parser->emit->block; - if (block->block_type != block_file && - block->prev != NULL) + if (block->block_type != block_file) lily_raise_syn(parser->raiser, "Cannot import a file ...
Add VPATH to Makefile. This allows builds in a separate directory without copying the source.
@@ -153,13 +153,14 @@ SRCS = \ #################################################################################################################################### CC = @CC@ CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ +CPPFLAGS = @CPPFLAGS@ -I@srcdir@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ #####################################...
typos in the elastic test
@@ -3,7 +3,7 @@ ENV discovery.type=single-node RUN yum -y update && \ yum -y install centos-release-scl && \ - yum -y install rh-python38 python-virtualenv + yum -y install rh-python38 python-virtualenv which RUN mkdir /opt/test-runner/ /opt/test-runner/logs/ @@ -23,7 +23,7 @@ ENV SCOPE_EVENT_HTTP=true COPY ./test_runn...
[ci] remove x1000 bsp from ci
@@ -132,7 +132,7 @@ env: - RTT_BSP='zynq7000' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='frdm-k64f' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='fh8620' RTT_TOOL_CHAIN='sourcery-arm' - - RTT_BSP='x1000' RTT_TOOL_CHAIN='sourcery-mips' +# - RTT_BSP='x1000' RTT_TOOL_CHAIN='sourcery-mips' - RTT_BSP='xplorer4330/M4' RTT_TOOL_CHAI...
Fix lovr.filesystem.getAppdataDirectory;
@@ -125,7 +125,7 @@ int l_lovrFilesystemExists(lua_State* L) { int l_lovrFilesystemGetAppdataDirectory(lua_State* L) { char buffer[1024]; - if (lovrFilesystemGetExecutablePath(buffer, sizeof(buffer))) { + if (lovrFilesystemGetAppdataDirectory(buffer, sizeof(buffer))) { lua_pushnil(L); } else { lua_pushstring(L, buffer)...
[add] stm32/stm32h747-st-discovery CI
@@ -103,6 +103,7 @@ env: - RTT_BSP='stm32/stm32g431-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32/stm32h743-atk-apollo' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32/stm32h743-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm' + - RTT_BSP='stm32/stm32h747-st-discovery' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32/...
Update docs of logical replication for commit Forgot to update the logical replication configuration settings page. After commit table synchronization workers also started using replication origins to track the progress and the same should be reflected in docs. Author: Amit Kapila Discussion:
<para> The subscriber also requires the <varname>max_replication_slots</varname> to be set. In this case it should be set to at least the number of - subscriptions that will be added to the subscriber. - <varname>max_logical_replication_workers</varname> must be set to at - least the number of subscriptions, again plus...
Silence some warnings about pointer signedness.
@@ -790,7 +790,7 @@ static int parsermark(void *p, size_t size) { janet_mark(parser->args[i]); } if (parser->flag & JANET_PARSER_GENERATED_ERROR) { - janet_mark(janet_wrap_string(parser->error)); + janet_mark(janet_wrap_string((const uint8_t *) parser->error)); } return 0; } @@ -928,7 +928,7 @@ static Janet cfun_parse_...
Extend `scope start` with retrieve process by name get process list which are on allow list
@@ -6,6 +6,7 @@ import ( "os" "github.com/criblio/scope/libscope" + "github.com/criblio/scope/util" "gopkg.in/yaml.v2" ) @@ -62,6 +63,20 @@ func (rc *Config) Start() error { fmt.Println("Start parsing Allow Process List") for i, alllowProc := range startCfg.AllowProc { // TODO Remove the Printf below + // Attach + allP...
roller-rpc: make force field optional
++ process-rpc |= [id=@t params=(map @t json) action=l2-tx over-quota=$-(@p ?)] ^- [(unit cage) response:rpc] - ?. =((lent ~(tap by params)) 5) + ?. ?| =((lent ~(tap by params)) 4) + =((lent ~(tap by params)) 5) + == [~ ~(params error:json-rpc id)] + =? params =((lent ~(tap by params)) 4) + (~(put by params) 'force' b+...
disconn callback works
@@ -33,6 +33,15 @@ uint32_t sendData[0x14] = {0}; uint32_t recvData[0x40] = {0}; static int ICACHE_FLASH_ATTR spi_comm(char *dat, int len, uint32_t *recvData, int recvDataLen) { + // blink the led during SPI comm + if (GPIO_REG_READ(GPIO_OUT_ADDRESS) & (1 << pin)) { + // set gpio low + gpio_output_set(0, (1 << pin), 0,...
compiler-families/arm-compilers-devel: update Arm compatibility package to detect generic module and load
%{!?PROJ_DELIM: %global PROJ_DELIM -ohpc} %define pname arm-compilers-devel -%define year 2017 Summary: OpenHPC compatibility package for Arm HPC compiler Name: %{pname}%{PROJ_DELIM} -Version: %{year} +Version: 1.3.4 Release: 1 License: Apache-2.0 URL: https://github.com/openhpc/ohpc @@ -109,6 +108,17 @@ if [ ! -n "${m...
removes mandatory puthon dependency
include(BuildSWIG) include(UseSWIG) -find_package(PythonLibsNew REQUIRED) -find_package(NumPy REQUIRED) +find_package(PythonLibsNew) +find_package(NumPy) include_directories(BEFORE ${PYTHON_INCLUDE_DIRS} ${NUMPY_INCLUDE_DIRS}) # We also build a static library only for linking the python module
fix small popups appearing without border
@@ -2327,7 +2327,8 @@ manage(Window w, XWindowAttributes *wa) && (c->x + (c->w / 2) < c->mon->wx + c->mon->ww)) ? bh : c->mon->my); c->bw = borderpx; - if (!c->isfloating && &monocle == c->mon->lt[c->mon->sellt]->arrange) { + if (!c->isfloating && &monocle == c->mon->lt[c->mon->sellt]->arrange && + c->w > c->mon->mw - ...
documentation: fix spelling of man pages
@@ -204,7 +204,7 @@ This field type supports following attributes: .IP "\(bu" 4 \fBname\fR (string) for the visible name of the menu point (i\.e\. button text) .IP "\(bu" 4 -\fBref\fR (string) for the dynamic URL part (i\.e\. a resource of the URL, e\.g\. \fBhttp://example\.com/manpages\fR for the subsequent example) +...
stm32/main: move MPY_MAIN_MODULE This reduces the guards to the relevant piece only. This makes it clearer that there are two variants of get_user_program, which you can choose using a compile flag in the make file. So it will either get the program from flash, or from bluetooth.
@@ -94,24 +94,8 @@ bool wait_for_button_press(uint32_t time_out) { return false; } -#ifdef PYBRICKS_MPY_MAIN_MODULE -extern uint32_t __user_flash_start; - -// Get user program stored in rom -static uint32_t get_user_program(uint8_t **buf) { - - wait_for_button_press(0); - mp_print_str(&mp_plat_print, "\nLoading program...
hv: refine coding style for ucode.c - reduce exit points for 'acrn_update_ucode()' function. Acked-by: Eddie Dong
@@ -34,7 +34,7 @@ static inline size_t get_ucode_data_size(const struct ucode_header *uhdr) void acrn_update_ucode(struct acrn_vcpu *vcpu, uint64_t v) { - uint64_t gva, fault_addr; + uint64_t gva, fault_addr = 0UL; struct ucode_header uhdr; size_t data_size; int32_t err; @@ -50,18 +50,12 @@ void acrn_update_ucode(struc...
aligned page title
/*=======0=========1=========2=========3=========4=========5=========6=========7=========8=========9=========0=========1====*/ /** -\page packIndexFile CMSIS-Pack Index Files +\page packIndexFile Pack Index Files CMSIS-Pack is designed as a web-based distribution network. Each provider of a CMSIS-Pack (also referred to...
SOVERSION bump to version 2.20.20
@@ -66,7 +66,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_ # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) set(LIBYANG_MINOR_SOVERSION 20) -set(LIBYANG_MICRO_SOVERSION 19) +set(LIBYANG_MICRO_SOVERSION 20) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG...
testcase/task_manager: Remove unnecessary free() task_manager_unicast will free the user data automatically. So don't need to free in callback.
@@ -79,7 +79,6 @@ static void sync_test_cb(tm_msg_t *info) if (strncmp(info->msg, TM_SYNC_SEND_MSG, info->msg_size) == 0) { reply_msg.msg = malloc(strlen(TM_SYNC_RECV_MSG)); if (reply_msg.msg != NULL) { - free(info->msg); reply_msg.msg_size = strlen(TM_SYNC_RECV_MSG) + 1; memcpy(reply_msg.msg, TM_SYNC_RECV_MSG, reply_m...
adding missing levtype concept
# Concept marsLevtype 'sfc' = {typeOfFirstFixedSurface=1; typeOfSecondFixedSurface=255;} +'sfc' = {typeOfFirstFixedSurface=1; typeOfSecondFixedSurface=8;} +'o2d' = {typeOfFirstFixedSurface=1; typeOfSecondFixedSurface=9;} 'sfc' = {typeOfFirstFixedSurface=7; typeOfSecondFixedSurface=255;} 'sfc' = {typeOfFirstFixedSurface...
fixes to install in MacOS X, it still fails to install in python3.5
@@ -9,7 +9,7 @@ help_msg= "Usage : class_install.py [options]\n" help_msg+="Options :\n" help_msg+=" -h, --help : This help\n" help_msg+=" -c, --c-comp= : which C compiler to use (default: gcc)\n" - +help_msg+=" -omp, --enable-openmp: enable OpenMP (default: yes if Linux)\n" #Current directory dir_path=os.path.dirname(...
win32: ruby project update
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_RubyCompiler|Win32'">true</ExcludedFromBuild> </ClCompile> <ClCompile Include="..\..\shared\ruby\ext\rho\rhoruby.c" /> + <ClCompile Include="..\..\shared\ruby\ext\io\wait\wait.c" /> + <ClCompile Include="..\..\shared\ruby\ext\io\nonblock\nonblock.c" /...
board/npcx_evb/board.h: Format with clang-format BRANCH=none TEST=none
#ifndef __ASSEMBLER__ -enum adc_channel { - ADC_CH_0 = 0, - ADC_CH_1, - ADC_CH_2, - ADC_CH_COUNT -}; +enum adc_channel { ADC_CH_0 = 0, ADC_CH_1, ADC_CH_2, ADC_CH_COUNT }; enum pwm_channel { PWM_CH_FAN,
CLEANUP: invalid ZK config data message more specifically.
@@ -1186,8 +1186,9 @@ static int get_client_config_data(char *buf, int buff_len, char *host_buf, int64 /* go to the starting point of the server host string */ serverp = memchr(startp, ';', length); if (!serverp) { + /* need to check whether client port is in the zoo.cfg.dynamic file not zoo.cfg file. */ arcus_conf.log...
[minip] fix warning in new changes Building with -Werror locally.
@@ -148,7 +148,7 @@ status_t udp_send_iovec(const iovec_t *iov, uint iov_count, udp_socket_t *handle udp->chksum = rfc768_chksum(ip, udp); #endif - LTRACEF("packet paylod len %zu\n", len); + LTRACEF("packet paylod len %ld\n", len); minip_tx_handler(p);
Updated CHANGELOG.md for Release v1.3.1
@@ -132,15 +132,17 @@ Release date: 2017-02-25 Major changes and added features: -* Added preliminary support for STM32L011 to see it after probe (chipid `0x457`) (@xor-gate) -* Stripped full paths to source files in log (commit [#2c0ab7f](https://github.com/texane/stlink/commit/2c0ab7f0eb6cfda5cfbdc08bb9f6760d27c2b667...
nimble/ll: Add missing return
@@ -2694,6 +2694,7 @@ ble_ll_init_rx_pkt_in(uint8_t pdu_type, uint8_t *rxbuf, */ if (aux_data && !ble_ll_scan_aux_data_unref(aux_data)) { BLE_LL_ASSERT(0); + return; } #endif
Update links to support channels
Feeling stuck? There are many ways to find help. -* Ask a question on [GIS StackExchange](https://gis.stackexchange.com/questions/tagged/carto) using the `CARTO` tag. -* [Report an issue](https://github.com/CartoDB/cartodb.js/issues) in Github. +* [Report an issue](https://github.com/CartoDB/mobile-sdk/issues) in Githu...
doc: update debian buster repo and INSTALL info, remove obsolete wheezy entry
@@ -41,22 +41,22 @@ To use the debian repository of the latest builds from master put following line For Stretch: ``` -deb [trusted=yes] https://debian-stretch-repo.libelektra.org/ stretch main -deb-src [trusted=yes] https://debian-stretch-repo.libelektra.org/ stretch main +deb [trusted=yes] https://debian-buster-repo....
doc: fix definition lists in opal-imc-counters
@@ -35,9 +35,15 @@ Parameters Returns ------- -OPAL_PARAMETER - In case of unsupported ``type`` -OPAL_HARDWARE - If any error in setting up the hardware. -OPAL_SUCCESS - On succesfully initialized or even if init operation is a no-op. + +OPAL_PARAMETER + In case of unsupported ``type`` + +OPAL_HARDWARE + If any error i...
Remove some more CMS key downgrades Fixes
@@ -862,13 +862,6 @@ int cms_main(int argc, char **argv) key = load_key(keyfile, keyform, 0, passin, e, "signing key"); if (key == NULL) goto end; - - /* - * TODO: Remove this when CMS has full support for provider-native - * EVP_PKEYs - */ - if (EVP_PKEY_get0(key) == NULL) - goto end; } in = bio_open_default(infile, '...
Remove check bindings for client clusters
@@ -4169,12 +4169,15 @@ void DeRestPluginPrivate::checkSensorButtonEvent(Sensor *sensor, const deCONZ::A sensor->modelId() == QLatin1String("Double gangs remote switch") || //Legrand micro module sensor->modelId() == QLatin1String("Shutters central remote switch") || // legrand shutter switch sensor->modelId() == QLati...
mpls: Fix the fragmentation in mpls-output. Type: fix the MTU needs to be adjusted to account for the label stack, since the size of fragments produced is stack+mtu. these changes are to the use of the stack variable 'mtu' most of the patch results from appeasing checkstyle.
@@ -411,6 +411,7 @@ mpls_frag (vlib_main_t * vm, u32 pi0, adj_index0; ip_frag_error_t error0 = IP_FRAG_ERROR_NONE; i16 encap_size; + u16 mtu; u8 is_ip4; pi0 = to_next[0] = from[0]; @@ -421,25 +422,21 @@ mpls_frag (vlib_main_t * vm, adj_index0 = vnet_buffer (p0)->ip.adj_index[VLIB_TX]; adj0 = adj_get (adj_index0); - /* ...
doc: change version info
@@ -5,6 +5,20 @@ Using Windows as Guest VM on ACRN ################################# This tutorial describes how to launch Windows as a Guest (WaaG) VM on the ACRN hypervisor. +Verified version +**************** +* Clear Linux version: 32030 +* ACRN-hypervisor tag: v1.5 (acrn-2020w01.1-140000p) +* ACRN-kernel tag: acrn...
elf: Don't use .gnu_debuglink if it doesn't exist Some binaries contain a gnu_debuglink, even though the actual file it points to doesn't exist. In those cases, continue to use the existing binary instead of trying to load the debuglink file.
@@ -386,6 +386,8 @@ elf_w (load_debuglink) (const char* file, struct elf_image *ei, int is_local) { int ret; Elf_W (Shdr) *shdr; + Elf_W (Ehdr) *prev_image = ei->image; + off_t prev_size = ei->size; if (!ei->image) { @@ -420,7 +422,6 @@ elf_w (load_debuglink) (const char* file, struct elf_image *ei, int is_local) if (m...
fix: add ck_assert in 'test_007Transfer_0001TransferSuccess'
@@ -99,8 +99,6 @@ START_TEST(test_006GetBalance_0003GetFailureNullWallet) } END_TEST - - START_TEST(test_007Transfer_0001TransferSuccess) { BOAT_RESULT result; @@ -108,7 +106,8 @@ START_TEST(test_007Transfer_0001TransferSuccess) BoatIotSdkInit(); - ethereumWalletPrepare(); + result = ethereumWalletPrepare(); + ck_asser...
Restore `config/temperature` on Xiaomi motion sensor RTCGQ11LM
"modelid": "lumi.sensor_motion.aq2", "vendor": "Xiaomi", "product": "Aqara motion sensor RTCGQ11LM", - "sleeper": false, + "sleeper": true, "status": "Gold", "subdevices": [ { { "name": "config/reachable" }, + { + "name": "config/temperature", + "awake": true, + "parse": { + "at": "0xff01", + "ep": 1, + "eval": "Item.v...
RichText: pass props correctly
@@ -29,8 +29,8 @@ const RichText = React.memo(({ remoteContentPolicy, ...props }) => ( } return <BaseAnchor target='_blank' rel='noreferrer noopener' borderBottom='1px solid' {...props}>{props.children}</BaseAnchor>; }, - paragraph: (props) => { - return <Text display='block' mb='2' {...props}>{props.children}</Text>; ...
Recalculate and set group state when calling a scene Group state depends of the state of lights in the group
@@ -2300,12 +2300,13 @@ int DeRestPluginPrivate::recallScene(const ApiRequest &req, ApiResponse &rsp) return REQ_READY_SEND; } - // turning 'on' the group is also a assumtion but a very likely one - if (groupOn && !group->isOn()) - { - group->setIsOn(true); - updateEtag(group->etag); - } + bool groupOnChanged = false; ...
Bugfix bedtools closest: Do not segfault when b file is empty. Only try to print a null record when the record type is known. In case of an empty b file, the record type can not be determined. This fixes "Segmentation fault with closestBed":
@@ -510,9 +510,11 @@ void RecordOutputMgr::null(bool queryType, bool dbType) default: break; } + if (dummyRecord) { dummyRecord->printNull(_outBuf); delete dummyRecord; } +} void RecordOutputMgr::printKey(const Record *key, const string & start, const string & end) {
Remove some extra search paths.
["./:all:.:native:" :native] ["./:all:/:name:.:native:" :native] [":sys:/:all:.:native:" :native] - [":sys:/:all:/:name:.:native:" :native] ["./:all:.jimage" :image] - ["./:all:/:name:.jimage" :image] [":sys:/:all:.jimage" :image] - [":sys:/:all:/:name:.jimage" :image] [":all:" :source]]) (var module/*syspath*
Fix grammar in monitoring.sgml This is related to progress reporting for ANALYZE and partitioned tables. Author: Amit Langote Discussion:
@@ -3706,7 +3706,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid, <note> <para> Note that when <command>ANALYZE</command> is run on a partitioned table, - all of its partitions are also recursively analyzed as also mentioned on + all of its partitions are also recursively analyzed as also mentioned in <xref lin...