message
stringlengths
6
474
diff
stringlengths
8
5.22k
Moved MN Release date.
class CValidationState; #define START_MASTERNODE_PAYMENTS_TESTNET 1515283200 //Sat, 07 Jan 2018 00:00:00 GMT -#define START_MASTERNODE_PAYMENTS 1519862400 //Thu, 01 Mar 2018 00:00:00 GMT +#define START_MASTERNODE_PAYMENTS 1520985600 //Wed, 14 Mar 2018 00:00:00 GMT #define POS_STAKE_FIX_BLOCK 9900000 //Needs to be worke...
BugID:23251461: update websoc example on new API
@@ -149,6 +149,23 @@ static void on_socket_received_pong(rws_socket socket) LOGI(TAG, "intance %d socket received pong!", instance->id); } +static void on_socket_send_ping(rws_socket socket) +{ + websoc_instance_ptr instance = NULL; + + instance = find_websoc_instance(socket); + if (instance == NULL) + return; + + if (...
lv_label_set_text_id must be declared conditionally otherwise lv_micropython would create a wrapper to an undefined function
@@ -128,7 +128,9 @@ void lv_label_set_static_text(lv_obj_t * label, const char * text); * @param label pointer to a label object * @param txt_id ID of the text */ +#if USE_LV_MULTI_LANG void lv_label_set_text_id(lv_obj_t * label, uint32_t txt_id); +#endif /** * Set the behavior of the label with longer text then the ob...
Mention LLC_TRIPLE
@@ -193,6 +193,10 @@ use ";" as separator (you'll have to escape it for bash). will find the suitable compiled library based on detected CPU features, so it cannot fail (at worst it'll degrade to SSE2 library). +- ``-DLLC_TRIPLE=<something>`` Controls what target triple pocl is built for. + You can set this manually in...
Add png chunk loading
@@ -84,6 +84,34 @@ void tic_cart_load(tic_cartridge* cart, const u8* buffer, s32 size) { memset(cart, 0, sizeof(tic_cartridge)); const u8* end = buffer + size; + u8 *chunk_cart = NULL; + + // check if this cartridge is in PNG format + if (!memcmp(buffer, "\x89PNG", 4)) + { + s32 siz; + const u8* ptr = buffer + 8; + // ...
fix the binary.t test count changing stats counters/etc was always changing the test count. annoying, stop counting.
use strict; use warnings; -use Test::More tests => 4994; +use Test::More; use FindBin qw($Bin); use lib "$Bin/lib"; use MemcachedTest; @@ -514,6 +514,8 @@ my %stats = $mc->stats('detail dump'); ok($@->einval, "Invalid key length"); } +done_testing(); + # #################################################################...
publish: remove header-bar render from index.js
import React from 'react'; import ReactDOM from 'react-dom'; -import { HeaderBar } from '/components/lib/header-bar'; import { Root } from '/components/root'; import { api } from '/api'; import { store } from '/store'; @@ -12,10 +11,6 @@ api.setAuthTokens({ subscription.start(); -ReactDOM.render(( - <HeaderBar /> -), d...
Make PROTO_LIBRARY multimodule This is needed primarilly for testng and for getting rid of custom PROTO_POLICY support in favor of general multimodule one. By now in ya.make parsing. This switches only definition. Internals still use .PROTO_POLICY property, not PEERDIR_TAGS variable as it will be eventually
@@ -1349,11 +1349,6 @@ module PY_PACKAGE: UNION { .ALLOWED=GRPC } -### Definition of the project - proto library. More detailed documentation here. -### https://wiki.yandex-team.ru/yatool/proto_library/ -module PROTO_LIBRARY: LIBRARY { -} - PY_NAMESPACE_VALUE= macro PY_NAMESPACE(Arg) { SET(PY_NAMESPACE_VALUE $Arg) @@ -...
client: use PRId macros instead of PRIi This shouldn't really matter for printf, but mingw complains about %lli. In any case, using %i is semi-bogus for printf since it only has a significant meaning for the scanf function family. Let's just use %d.
@@ -205,7 +205,7 @@ static void process_client_message_impl(struct server_ctx *sctx, struct client_c struct client_ctx *process_client_message(struct server_ctx *ctx, const criterion_protocol_msg *msg) { if (msg->version != PROTOCOL_V1) { - handler_error(ctx, "%s", "", "Received message using invalid protocol version n...
gall: revive %hood and %dojo on poke
:: ?. |(!is-running is-blocked) (mo-apply agent routes deal) - :: %hood or %dojo must run; wake them up + :: if agent must be running, revive all needed agents and apply :: ?: ?=(?(%hood %dojo) agent) - ~> %slog.2^leaf/"gall: force load {<agent>}" + |^ ^+ mo-core + =. mo-core (force-install %hood) + =. mo-core (force-i...
libhfuzz/memcmp: simplify some functions:
@@ -24,7 +24,7 @@ static inline int HF_strcmp(const char* s1, const char* s2, uintptr_t addr) { v++; } instrumentUpdateCmpMap(addr, v); - return (s1[i] - s2[i]); + return ((unsigned char)s1[i] - (unsigned char)s2[i]); } static inline int HF_strcasecmp(const char* s1, const char* s2, uintptr_t addr) { @@ -47,21 +47,20 @...
getting-started-guide: update Clear Linux version to min required
@@ -45,7 +45,7 @@ Set up a Clear Linux Operating System Currently, an installable version of ARCN does not exist. Therefore, we need to setup a base Clear Linux OS to bootstrap ACRN. ACRN requires -Clear Linux version 21190 or newer. +Clear Linux version 21260 or newer. 1. Follow this `Clear Linux installation guide <h...
Document obscure brightness task before turning a light on
@@ -916,12 +916,15 @@ int DeRestPluginPrivate::setLightState(const ApiRequest &req, ApiResponse &rsp) if (!isOn && hasBri && taskRef.onTime == 0) { + // if a light is off and should transition from 0 to new brightness + // turn light on at lowest brightness first TaskItem task; copyTaskReq(taskRef, task); task.transiti...
armv8: another missing path
@@ -27,7 +27,7 @@ let arch = "armv8" "-Wmissing-field-initializers", "-Wredundant-decls", "-Werror" ] ], - optIncludes = [ NoDep SrcTree "src" "/kernel/include", NoDep SrcTree "src" "/include" ], + optIncludes = [ NoDep SrcTree "src" "/kernel/include", NoDep SrcTree "src" "/include", NoDep SrcTree "src" "/include/arch/...
Remove unused scalar bilinear_infill
@@ -1973,48 +1973,6 @@ void compute_quantized_weights_for_decimation( uint8_t* dec_weight_uquant, quant_method quant_level); -/** - * @brief Compute the infilled weight for a texel index in a decimated grid. - * - * @param di The weight grid decimation to use. - * @param weights The decimated weight values to use. - * ...
Avoid uninitialised variable warning for jobs
@@ -31,7 +31,7 @@ my $srctop = $ENV{SRCTOP} || $ENV{TOP}; my $bldtop = $ENV{BLDTOP} || $ENV{TOP}; my $recipesdir = catdir($srctop, "test", "recipes"); my $libdir = rel2abs(catdir($srctop, "util", "perl")); -my $jobs = $ENV{HARNESS_JOBS}; +my $jobs = $ENV{HARNESS_JOBS} // 1; $ENV{OPENSSL_CONF} = rel2abs(catdir($srctop, ...
Fix ObjectsEqual
@@ -1362,14 +1362,26 @@ bool CLR_RT_HeapBlock::ObjectsEqual( // boxed primitive or enum type obj = &rightObj[1]; } + else + { + // boxed value type + obj = rightObj; + } return ObjectsEqual(*leftObj, *obj, false); } else + { + if (rightObj == NULL) + { + return false; + } + else { return ObjectsEqual(*leftObj, *rightOb...
Fix remove last designated initializer in `lv_color.h`
@@ -626,7 +626,7 @@ static inline uint8_t lv_color_brightness(lv_color_t color) /* The most simple macro to create a color from R,G and B values */ #if LV_COLOR_DEPTH == 1 -#define LV_COLOR_MAKE(r8, g8, b8) (_LV_COLOR_MAKE_TYPE_HELPER{.full = (uint8_t)((b8 >> 7) | (g8 >> 7) | (r8 >> 7))}) +#define LV_COLOR_MAKE(r8, g8,...
libbpf-tools: Fix cachestat with kernel 5.15 The tool cachestat is broken on kernel 5.15 due to kernel function renaming. Fix the tool by detecting symbol existence. See and
@@ -142,12 +142,31 @@ int main(int argc, char **argv) libbpf_set_strict_mode(LIBBPF_STRICT_ALL); libbpf_set_print(libbpf_print_fn); - obj = cachestat_bpf__open_and_load(); + obj = cachestat_bpf__open(); if (!obj) { - fprintf(stderr, "failed to open and/or load BPF object\n"); + fprintf(stderr, "failed to open BPF objec...
sys/log: Add append_mbuf handler to log_fcb
@@ -32,18 +32,17 @@ static struct flash_area sector; static int log_fcb_rtr_erase(struct log *log, void *arg); static int -log_fcb_append(struct log *log, void *buf, int len) +log_fcb_start_append(struct log *log, int len, struct fcb_entry *loc) { struct fcb *fcb; - struct fcb_entry loc; struct fcb_log *fcb_log; - int ...
ROADMAP: add Graphene support in enclave runtime
@@ -17,7 +17,7 @@ This document provides the roadmap of Inclavare Containers project. ## Enclave Runtimes -- Support more enclave runtimes such as [WAMR](https://github.com/bytecodealliance/wasm-micro-runtime), [sgx-lkl](https://github.com/lsds/sgx-lkl), [enarx](https://github.com/enarx/enarx), [openenclave](https://gi...
Remove test on global
@@ -574,10 +574,11 @@ static int integrity_check(grib_handle* handle, const grib_util_grid_spec2* spec /* specified_as_global==1 means the client passed in the key "global" and wants the output to be global * deduced_as_global==1 means we inspected the resulting message and deduced from its geometry that it's global */...
Avoid unnecessary node replace first gossip loop Nodes were unncessarily getting replaced when we compared private ip address with hostname. This change is to avoid that replace
@@ -796,7 +796,7 @@ gossip_loop(void *arg) log_debug(LOG_VERB, "Gossip is running ..."); if (gn_pool.seeds_provider != NULL && gn_pool.seeds_provider(sp->ctx, seeds_buf) == DN_OK) { - log_notice("Got seed nodes '%.*s'", mbuf_length(seeds_buf), seeds_buf->pos); + log_info("Got seed nodes '%.*s'", mbuf_length(seeds_buf),...
Added conditional for reduce...
@@ -1082,7 +1082,7 @@ LIBXSMM_API_DEFINITION libxsmm_dnn_err_t libxsmm_dnn_internal_create_conv_handle * handle->fm_lp_block * libxsmm_dnn_typesize(handle->datatype); /* minibatch parallel execution of weight update kernel */ - if (1) { /* ((handle->ifmblock == 1) || ((handle->blocksifm * handle->blocksofm) < handle->d...
DM USB: xHCI: Refine drd code to fix a potential NULL pointer issue. Refine DM DRD code and modify some logical judgement to avoid potential NULL pointer issue. Acked-by: Yu Wang
@@ -3504,6 +3504,16 @@ pci_xhci_parse_extcap(struct pci_xhci_vdev *xdev, char *opts) } else rc = -2; + if (((struct pci_xhci_excap *)(xdev->excap_ptr))->start + == EXCAP_GROUP_END) { + xdev->excap_write = NULL; + xdev->excap_ptr = excap_group_dft; + xdev->vid = XHCI_PCI_VENDOR_ID_DFLT; + xdev->pid = XHCI_PCI_DEVICE_ID_...
better/faster parsing of identifiers
@@ -932,32 +932,10 @@ ACVP_RESULT acvp_run_vectors_from_file(ACVP_CTX *ctx, const char *req_filename, /* track first vector set with file count */ if (n == 1) { - ACVP_STRING_LIST *vs_entry = NULL; - - rsp_val = json_value_init_object(); - rsp_obj = json_value_get_object(rsp_val); - - if (!rsp_obj) { - json_value_free(...
Geocoder autocomplete related fixes
@@ -48,14 +48,7 @@ namespace carto { namespace geocoding { Query query; query.options = options; - query.tokenList = TokenList<std::string>::build(safeQueryString); - if (_autocomplete && !safeQueryString.empty()) { - char lastChar = safeQueryString.back(); - const std::string& lastToken = query.tokenList.at(query.toke...
Added conflict flag to vive driver
@@ -2021,11 +2021,13 @@ void survive_data_cb(SurviveUSBInterface *si) { } #else + if (si->transfer) { int r = update_feature_report_async(si->transfer->dev_handle, 0, vive_magic_raw_mode_1, sizeof(vive_magic_raw_mode_1)); if (r != sizeof(vive_magic_raw_mode_1)) { SV_WARN("Could not send raw mode to %s (%d)", obj->coden...
crota: correct BBR address Check the BBR FW configure XML, EC need to follow the XML to configure it. The BBR FW was downloaded in Kit 723523. BRANCH=none TEST=verified TBT can be recognized on port0 and port1.
/* * see b/174768555#comment22 */ -#define USBC_PORT_C0_BB_RETIMER_I2C_ADDR 0x56 -#define USBC_PORT_C1_SOC_BB_RETIMER_I2C_ADDR 0x57 +#define USBC_PORT_C0_BB_RETIMER_I2C_ADDR 0x58 +#define USBC_PORT_C1_SOC_BB_RETIMER_I2C_ADDR 0x54 /* Type-C connector facing Burnside Bridge retimer */ -#define USBC_PORT_C1_BB_RETIMER_I2C...
Improve comment locations.
@@ -90,9 +90,10 @@ storageRemoteFilterGroup(IoFilterGroup *filterGroup, const Variant *filterList) } /*********************************************************************************************************************************** -Write storage info into the protocol. This function is not called unless the info exi...
Add smarter layout logic for Qnav items
@@ -104,15 +104,37 @@ void qnav_stack_push(Qblock* qb, int height, int width) { } #endif int left; + int top = 0; + int totalheight = height + 2, totalwidth = width + 3; if (qnav_stack.count > 0) { WINDOW* w = qnav_stack.blocks[qnav_stack.count - 1]->outer_window; - left = getbegx(w) + getmaxx(w) + 0; + int prev_y, pre...
flash: remove default_profile for now
#include "project.h" #include "rx.h" -extern const profile_t default_profile; +// todo: restore this functionality somehow +//extern const profile_t default_profile; extern profile_t profile; extern float accelcal[]; extern float *pids_array[3]; @@ -216,10 +217,11 @@ void flash_load(void) { cbor_decoder_init(&enc, buff...
Remove thread protection on memory
@@ -367,20 +367,16 @@ mem_realloc(void* ptr, size_t size) { size_t oldSize; if (ptr == NULL) { /* If pointer is not valid */ - ESP_CORE_PROTECT(); newPtr = mem_alloc(size); /* Only allocate memory */ - ESP_CORE_UNPROTECT(); return newPtr; } - ESP_CORE_PROTECT(); oldSize = mem_getusersize(ptr); /* Get size of old pointe...
Remove obsolete writeStatementAssign0 return value
@@ -101,7 +101,7 @@ func (g *gen) writeStatementAssign(b *buffer, op t.ID, lhs *a.Expr, rhs *a.Expr, } else if err != errNoSuchBuiltin { return err } else { - if _, err := g.writeStatementAssign0(b, op, lhs, rhs); err != nil { + if err := g.writeStatementAssign0(b, op, lhs, rhs); err != nil { return err } couldSuspend ...
Improve error message This patch decorates error message to notice it by user ease.
@@ -14,6 +14,8 @@ module RMagick attr_reader :headers def initialize + @stdout = $stdout.dup + setup_paths_for_homebrew configure_compile_options assert_can_compile! @@ -52,7 +54,7 @@ module RMagick if have_header('wand/MagickWand.h') headers << 'wand/MagickWand.h' else - exit_failure "\nCan't install RMagick #{RMAGICK...
Use HasHierarchicalBusTopology mixin
@@ -22,6 +22,7 @@ import freechips.rocketchip.util.{DontTouch} * Base top with periphery devices and ports, and a BOOM + Rocket subsystem */ class System(implicit p: Parameters) extends Subsystem + with HasHierarchicalBusTopology with HasAsyncExtInterrupts with CanHaveMasterAXI4MemPort with CanHaveMasterAXI4MMIOPort @@...
Temporarily leak duplicates on intermediate roads. This cures the 6+-minute duplicate-triggered boot times we've seen since the previous fix in unification.
@@ -586,6 +586,8 @@ _sang_x(u3_noun a, u3_noun b) } /* _sung_one(): pick a unified pointer for identical (a) and (b). +** +** Assumes exclusive access to noun memory. */ static void _sung_one(u3_noun* a, u3_noun* b) @@ -609,40 +611,54 @@ _sung_one(u3_noun* a, u3_noun* b) if ( _(asr_o) && _(bsr_o) ) { // - // both are s...
ioam: declare export_node instead of defining it in header file
@@ -83,7 +83,7 @@ _(IOAM_EXPORT_IP6_ENABLE_DISABLE, ioam_export_ip6_enable_disable) ioam_export_main_t ioam_export_main; -vlib_node_registration_t export_node; +extern vlib_node_registration_t export_node; /* Action function shared between message handler and debug CLI */
tools: remove cap from opae spec file
@@ -120,10 +120,6 @@ mv %_topdir/tmpBRoot $RPM_BUILD_ROOT mkdir -p /etc/ld.so.conf.d echo "@LDCONFIG_DIR@" > /etc/ld.so.conf.d/opae-c.conf ldconfig -if [ -x %{_sbindir}/setcap ]; -then - %{_sbindir}/setcap "38,cap_sys_ptrace,cap_syslog+eip" %{_bindir}/host_exerciser -fi %postun @CPACK_RPM_SPEC_POSTUNINSTALL@
Removed support to read .z files directly vcf-validator was unable to read .z files directly from windows this has been tested seperatly works fine on linux and mac removing this support as this .z compression technique is rarely used
@@ -179,8 +179,6 @@ namespace ebi uncompressed_input.push(boost::iostreams::bzip2_decompressor()); } else if(file_ext == GZ) { uncompressed_input.push(boost::iostreams::gzip_decompressor()); - } else if(file_ext == ZLIB) { - uncompressed_input.push(boost::iostreams::zlib_decompressor()); } uncompressed_input.push(input...
sysdeps/linux: implement sys_fadvise
@@ -61,6 +61,13 @@ int sys_anon_free(void *pointer, size_t size) { return sys_vm_unmap(pointer, size); } +int sys_fadvise(int fd, off_t offset, off_t length, int advice) { + auto ret = do_syscall(NR_fadvise64, fd, offset, length, advice); + if(int e = sc_error(ret); e) + return e; + return 0; +} + int sys_open(const ch...
webd: update dependencies
"optional": true }, "glob-parent": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", - "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glo...
reference to new Wireshark documentation
@@ -817,8 +817,8 @@ if(ancientdumpfileformat == true) "It is recommended to use PCAP Next Generation dump file format (or pcapng for short) instead.\n" "The PCAP Next Generation dump file format is an attempt to overcome the limitations\n" "of the currently widely used (but limited) libpcap (cap, pcap) format.\n" - "ht...
Fix - linking command works on busybox.
@@ -283,7 +283,7 @@ install: $(JANET_TARGET) $(JANET_LIBRARY) $(JANET_STATIC_LIBRARY) build/janet.pc cp $(JANET_TARGET) '$(DESTDIR)$(BINDIR)/janet' mkdir -p '$(DESTDIR)$(INCLUDEDIR)/janet' cp -r build/janet.h '$(DESTDIR)$(INCLUDEDIR)/janet' - ln -sf -t '$(DESTDIR)$(INCLUDEDIR)' janet.h janet/janet.h + ln -sf -T ./janet...
odissey: minor CMakeLists.txt fixes
@@ -53,5 +53,6 @@ endif() message (STATUS "") message (STATUS "Odissey (version: ${OD_VERSION_GIT} ${OD_VERSION_BUILD})") message (STATUS "") -message (STATUS "BUILD_DEBIAN: ${BUILD_DEBIAN}") message (STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") +message (STATUS "BUILD_DEBIAN: ${BUILD_DEBIAN}") +message (STATUS "")
android: adding comment
@@ -44,7 +44,7 @@ import com.rhomobile.rhodes.util.ContextFactory; public class RhoCryptImpl { private static final String TAG = "RhoCryptJava"; - private static final boolean DEBUG = false; + private static final boolean DEBUG = true; byte[] m_dbKeyData; String m_strDBPartition; @@ -60,7 +60,7 @@ public class RhoCrypt...
Testing: Test directory traversal
@@ -26,6 +26,7 @@ label="grib_to_netcdf_test" tempGrib=temp.${label}.grib tempNetcdf=temp.${label}.nc tempText=temp.${label}.txt +tempDir=temp.${label}.dir have_netcdf4=0 @@ -124,5 +125,15 @@ grep -q "GRIB message 2 has different resolution" $tempText rm -f $tempGrib2 +echo "Test directory traversal ..." +# -----------...
Added GeoIP2 to README.md.
@@ -192,13 +192,13 @@ GoAccess has minimal requirements, it's written in C and requires only ncurses. However, below is a table of some optional dependencies in some distros to build GoAccess from source. -Distro | NCurses | GeoIP (opt) | OpenSSL (opt) ----------------------- | -----------------|------------------| ---...
Use a timer for observing files
@@ -296,12 +296,12 @@ class DocumentBrowserViewController: UIViewController, UICollectionViewDataSourc collectionView.reloadData() // Directory observer - DispatchQueue.global(qos: .background).async { + _ = Timer.scheduledTimer(withTimeInterval: 0.5, repeats: false, block: { (timer) in var files = self.scripts - while...
stm32l4: Fixed EXTI configuration functions
@@ -570,7 +570,7 @@ void _stm32_nvicSystemReset(void) int _stm32_extiMaskInterrupt(u32 line, u8 state) { u32 t; - volatile u32 *base = line > 32 ? stm32_common.exti + exti_imr1 : stm32_common.exti + exti_imr2; + volatile u32 *base = (line < 32) ? (stm32_common.exti + exti_imr1) : (stm32_common.exti + exti_imr2); if (li...
nimble/ll: Fix creating connections with all-zero IRK If peer was added using LE Add Device To Resolving List Command and provided peer IRK is all zeros we should stil accept connection with it's public (or static random) random even if in network privacy mode. This was affecting TP/CON/INI/BV-08-C qualification test c...
@@ -2770,10 +2770,17 @@ ble_ll_conn_is_peer_adv(uint8_t addr_type, uint8_t *adva, int index) case BLE_HCI_CONN_PEER_ADDR_RANDOM: if (addr_type == connsm->peer_addr_type) { #if (MYNEWT_VAL(BLE_LL_CFG_FEAT_LL_PRIVACY) == 1) - /* Peer uses its identity address. Let's verify privacy mode*/ + /* Peer uses its identity addre...
vec4: fix parameter name for NEON
@@ -252,7 +252,7 @@ glm_vec4_abs(vec4 v, vec4 dest) { #if defined( __SSE__ ) || defined( __SSE2__ ) glmm_store(dest, glmm_abs(glmm_load(v))); #elif defined(CGLM_NEON_FP) - vst1q_f32(dest, vabsq_f32(vld1q_f32(a))); + vst1q_f32(dest, vabsq_f32(vld1q_f32(v))); #else dest[0] = fabsf(v[0]); dest[1] = fabsf(v[1]);
in_exec: use flb_calloc to fill NULL
@@ -219,7 +219,7 @@ static int in_exec_init(struct flb_input_instance *in, int ret = -1; /* Allocate space for the configuration */ - ctx = flb_malloc(sizeof(struct flb_exec)); + ctx = flb_calloc(1, sizeof(struct flb_exec)); if (!ctx) { return -1; }
ectool: Allow a negative value for battery charge rate A negative value indicates the battery is discharging, so allow ectool to display it. TEST=cros deploy dut1 ec-utils BRANCH=none
@@ -8021,9 +8021,8 @@ int cmd_battery(int argc, char *argv[]) printf(" Present voltage %u mV\n", val); val = read_mapped_mem32(EC_MEMMAP_BATT_RATE); - if (!is_battery_range(val)) - goto cmd_error; - printf(" Present current %u mA\n", val); + /* Current can be negative */ + printf(" Present current %d mA\n", val); val =...
OcBootManagementLib: Disable boot option reporting as it is broken
@@ -694,6 +694,7 @@ OcGetDefaultBootEntry ( return NULL; } +#if 0 STATIC VOID InternalReportLoadOption ( @@ -780,6 +781,7 @@ InternalReportLoadOption ( &LoadOptionNo ); } +#endif EFI_STATUS InternalLoadBootEntry ( @@ -875,10 +877,12 @@ InternalLoadBootEntry ( } if (!EFI_ERROR (Status)) { +#if 0 InternalReportLoadOption...
Update the documentation for collections
@@ -191,8 +191,8 @@ var myDict["key2"] = nil; // {"key": false, "key1": true, "key3": nil} Converts a given dictionary to a string. ```js -{"1": 1, 1: "1"}.toString(); // '{"1": 1, 1: \'1\'}' -{"1": {1: "1", "1": 1}, 1: "1"}.toString(); // '{"1": {"1": 1, 1: \'1\'}, 1: \'1\'}' +{"1": 1, 1: "1"}.toString(); // '{"1": 1,...
hv: don't remap msi for pt devices if lapic_pt Since lapic is passed through, MSI/MSIx should be configured with the vector allocated within guest OS, instead of physical vector allocated in hypervisor. Acked-by: Anthony Xu
@@ -541,7 +541,13 @@ int32_t ptirq_msix_remap(struct acrn_vm *vm, uint16_t virt_bdf, info->pmsi_data.full = 0U; } else { /* build physical config MSI, update to info->pmsi_xxx */ + if (is_lapic_pt(vm)) { + /* for vm with lapic-pt, keep vector from guest */ + ptirq_build_physical_msi(vm, info, info->vmsi_data.bits.vecto...
Manual NRST pulse shaping Automatic generation via argument two of the jtag_reset function seem doesn't to work
@@ -1751,7 +1751,12 @@ int stlink_reset(stlink_t *sl, enum reset_type type) { if (type == RESET_HARD || type == RESET_AUTO) { // hardware target reset - if (sl->version.stlink_v > 1) { stlink_jtag_reset(sl, STLINK_JTAG_DRIVE_NRST_PULSE); } + if (sl->version.stlink_v > 1) { + stlink_jtag_reset(sl, STLINK_JTAG_DRIVE_NRST...
add drbg to murl build
@@ -3,7 +3,7 @@ CFLAGS+=-g -DUSE_MURL -O0 -fPIC -Wall LDFLAGS+=-Lmurl INCDIRS+=-I. -Isrc -SOURCES=src/acvp.c src/acvp_aes.c src/acvp_des.c src/acvp_hash.c src/acvp_transport.c src/acvp_util.c src/parson.c +SOURCES=src/acvp.c src/acvp_aes.c src/acvp_des.c src/acvp_hash.c src/acvp_drbg.c src/acvp_transport.c src/acvp_uti...
garg360: add covertible SKU ID (again) BRANCH=octopus TEST=make buildall -j Tested-by: Henry Sun
@@ -210,10 +210,10 @@ unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); static int board_is_convertible(void) { /* - * Garg360: 37 + * Garg360: 37, 38 * Unprovisioned: 255 */ - return sku_id == 37 || sku_id == 255; + return sku_id == 37 || sku_id == 38 || sku_id == 255; } static void board_update_sensor_co...
str: use memcpy to silent gcc warning
@@ -38,7 +38,7 @@ static inline char *flb_strdup(const char *s) if (!str) { return NULL; } - strncpy(str, s, len); + memcpy(str, s, len); str[len] = '\0'; return str; @@ -52,7 +52,7 @@ static inline char *flb_strndup(const char *s, size_t n) if (!str) { return NULL; } - strncpy(str, s, n); + memcpy(str, s, n); str[n] =...
Update doc/std/compression-decoders.md for bzcat
@@ -41,10 +41,16 @@ In Wuffs syntax, the `base.io_transformer` methods are: ## Examples +- [example/bzcat](/example/bzcat) - [example/toy-genlib](/example/toy-genlib) - [example/zcat](/example/zcat) +## [Quirks](/doc/note/quirks.md) + +- [Zlib decoder quirks](/std/zlib/decode_quirks.wuffs) + + ## Related Documentation ...
cmake: Fix for Python files executed directly, not via PYTHON variable ESP-IDF commit:
@@ -5,9 +5,9 @@ endif() # Set some global esptool.py variables # # Many of these are read when generating flash_app_args & flash_project_args -set(ESPTOOLPY "${CMAKE_CURRENT_LIST_DIR}/esptool/esptool.py" --chip esp32) -set(ESPSECUREPY "${CMAKE_CURRENT_LIST_DIR}/esptool/espsecure.py") -set(ESPEFUSEPY "${CMAKE_CURRENT_LI...
Fix potentially uninitialized variable in lv_label_is_char_under_pos
@@ -596,7 +596,7 @@ bool lv_label_is_char_under_pos(const lv_obj_t * label, lv_point_t * pos) { lv_txt_cmd_state_t cmd_state = LV_TXT_CMD_STATE_WAIT; uint32_t i = line_start; uint32_t i_current = i; - uint32_t letter; + uint32_t letter = 0; while(i <= new_line_start - 1) { letter = lv_txt_encoded_next(txt, &i); /*Be ca...
Update: english_to_narsese.py: Allow events to go through as Narsese events
@@ -219,7 +219,7 @@ while True: print("\n") isQuestion = line.endswith("?") isGoal = line.endswith("!") - isCommand = line.startswith("*") or line.startswith("//") or line.isdigit() or line.startswith('(') or line.startswith('<') + isCommand = line.startswith("*") or line.startswith("//") or line.isdigit() or line.star...
dill: sync to %kids on galaxies
?: ?=(%qit -.bit) (dump %logo ~) (done %blit [bit ~]) - :: XX move :: - ++ sein + ++ sponsor ^- ship =/ dat=(unit (unit cage)) (rof `[our ~ ~] j/[[our sein/da/now] /(scot %p our)]) ++ mere :: continue init ^+ . =/ myt (flop (fall tem ~)) - =/ can (clan:title our) =. tem ~ - =. +> (pass / %g %jolt %base ram) - =? +> ?=(...
[shell]list_mutex show suspended Threads
@@ -408,7 +408,7 @@ long list_mutex(void) maxlen = RT_NAME_MAX; - rt_kprintf("%-*.s owner hold suspend thread priority\n", maxlen, item_title); + rt_kprintf("%-*.s owner hold priority suspend thread \n", maxlen, item_title); object_split(maxlen); rt_kprintf(" -------- ---- -------- --------------\n"); @@ -433,15 +433,3...
u3: refactors address layout macros, combines darwin/aarch64
# endif /** Address space layout. + *** + *** NB: 2^29 words == 2GB **/ # if defined(U3_OS_linux) # ifdef __LP64__ # else # define U3_OS_LoomBase 0x36000000 # endif -# define U3_OS_LoomBits 29 // ie, 2^29 words == 2GB -# elif defined(U3_OS_osx) && defined(U3_CPU_aarch64) || defined(U3_OS_mingw) +# define U3_OS_LoomBits...
doc: Adds RTC Watchdog Timeout article in fatal errors
@@ -279,6 +279,27 @@ If :doc:`IDF Monitor <tools/idf-monitor>` is used, GDB is started automatically The GDB prompt can be used to inspect CPU registers, local and static variables, and arbitrary locations in memory. It is not possible to set breakpoints, change the PC, or continue execution. To reset the program, exit...
Add 'PSIGNW' instruction.
GM.sw[i] = (tmp32s>32767)?32767:((tmp32s<-32768)?-32768:tmp32s); } break; + case 0x09: /* PSIGNW Gm, Em */ + nextop = F8; + GET_EM; + for (int i=0; i<4; ++i) { + if (EM->sw[i] < 0) { + GM.sw[i] = -GM.sw[i]; + } else if (EM->sw[i] == 0) { + GM.sw[i] = 0; + } + } + break; case 0x0B: /* PMULHRSW Gm, Em */ nextop = F8; GET...
Tiny fix kdf135 ikev1 psk macro
#define ACVP_KDF135_IKEV1_PSK_BIT_MIN 8 #define ACVP_KDF135_IKEV1_PSK_BIT_MAX 8192 #define ACVP_KDF135_IKEV1_PSK_BYTE_MAX (ACVP_KDF135_IKEV1_PSK_BIT_MAX >> 3) -#define ACVP_KDF135_IKEV1_PSK_STR_MAX (ACVP_KDF135_IKEV1_PSK_BYTE_MAX >> 2) +#define ACVP_KDF135_IKEV1_PSK_STR_MAX (ACVP_KDF135_IKEV1_PSK_BIT_MAX >> 2) /* * END...
use native atomic increment function on Solaris
#include <openssl/crypto.h> #include "internal/cryptlib.h" +#if defined(__sun) +# include <atomic.h> +#endif + #if defined(OPENSSL_THREADS) && !defined(CRYPTO_TDEBUG) && !defined(OPENSSL_SYS_WINDOWS) # ifdef PTHREAD_RWLOCK_INITIALIZER @@ -162,6 +166,12 @@ int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWL...
fix amount2xdags call
@@ -94,7 +94,7 @@ int rpc_account_callback(void *data, xdag_hash_t hash, xdag_amount_t amount, xda cJSON* address = cJSON_CreateString(xdag_hash2address(hash)); char str[128] = {0}; - sprintf(str, "%.9Lf", xdag_amount2xdag(amount) + (long double)xdag_amount2cheato(amount) / 1000000000); + sprintf(str, "%.9Lf", amount2x...
Improve connection curves
@@ -48,8 +48,15 @@ const calculateTransitionCoords = ({ const x2 = destX + (event.args.x || 0) * 8 + 5; const y1 = 20 + startY + (entityY + entityHeight / 2) * 8; const y2 = 20 + destY + (event.args.y || 0) * 8 + 5; - const qx = x1 < x2 ? ((x1 + x2) * 1) / 2.1 : ((x1 + x2) * 1) / 1.9; - const qy = y1 < y2 ? ((y1 + y2) ...
permutation not yet working
@@ -185,6 +185,6 @@ void main() SDR *mySDR = getTerm(1); printSDRFull(mySDR); //not ready yet: - //applySeqPermutation(mySDR, true); - printSDRFull(mySDR); + SDR sdr2 = applySeqPermutation(*mySDR, true); + printSDRFull(&sdr2); }
ev-io binding: fix news
@@ -54,10 +54,10 @@ You can also read the news [on our website](https://www.libelektra.org/news/0.8. We added even more functionality, which could not make it to the highlights: -- New I/O bindings for [ev](https://www.libelektra.org/bindings/io_ev) have been +- A new I/O binding for [ev](https://www.libelektra.org/bin...
BugID:18744724:modify the the name of low power function
@@ -79,7 +79,7 @@ int ota_service_start(ota_service_t *ctx) { int ret = 0; #ifdef AOS_COMP_PWRMGMT - pwrmgmt_suspend_lowpower(); + pwrmgmt_lowpower_suspend(); #endif ota_ctx = ctx; #if defined OTA_CONFIG_SECURE_DL_MODE @@ -148,7 +148,7 @@ EXIT: param->upg_status = OTA_FINISH; } #ifdef AOS_COMP_PWRMGMT - pwrmgmt_resume_...
upstream: put timed out busy connection on destroy queue
@@ -649,7 +649,7 @@ int flb_upstream_conn_timeouts(struct mk_list *list) } /* Iterate every busy connection */ - mk_list_foreach(u_head, &uq->busy_queue) { + mk_list_foreach_safe(u_head, tmp, &uq->busy_queue) { u_conn = mk_list_entry(u_head, struct flb_upstream_conn, _head); drop = FLB_FALSE; @@ -674,6 +674,7 @@ int fl...
Update Character::NameID offset and remove // ??
@@ -53,11 +53,11 @@ public unsafe partial struct Character [FieldOffset(0x1A48)] public fixed byte FreeCompanyTag[6]; [FieldOffset(0x1A50)] public uint TargetObjectID; - [FieldOffset(0x1A4)] public uint NameID; //?? + [FieldOffset(0x1AAC)] public uint NameID; [FieldOffset(0x1AC8)] public ushort CurrentWorld; [FieldOffs...
Tools: gdbgui is not supported on Python 3.11 This is a follow-up of with additional check. Related to
# Python package requirements for gdbgui support ESP-IDF. # This feature can be enabled by running "install.{sh,bat,ps1,fish} --enable-gdbgui" -gdbgui +# gdbgui is not supported on Python 3.11. See https://github.com/cs01/gdbgui/issues/447 +gdbgui; python_version < "3.11"
Fix ZCLDB to load
@@ -1805,7 +1805,7 @@ Note: It does not clear or delete previous weekly schedule programming configura <attribute-set id="0x4000" description="ELKO specific" mfcode="0x1002"> <attribute id="0x4001" name="Unknown" type="u16" access="rw" required="m" mfcode="0x1002"></attribute> <attribute id="0x4002" name="Unknown name ...
Testing: remove temp files
@@ -1390,7 +1390,7 @@ userDateTimeStart=2457896.88347 userDateStart=20170523 userTimeStart=91212 20170 EOF diff ${f}.log.ref ${f}.log - +rm -f $f.log ${f}.log.ref #----------------------------------------------------------- # Test: change ref val using operator 203YYY
ossl_cmp_certreq_new(): Fix POPO key mismatch in case newPkey is just public key
@@ -334,7 +334,12 @@ OSSL_CMP_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int type, if (type != OSSL_CMP_PKIBODY_P10CR) { EVP_PKEY *privkey = OSSL_CMP_CTX_get0_newPkey(ctx, 1); - if (privkey == NULL) + /* + * privkey is NULL in case ctx->newPkey does not include a private key. + * We then may try to use ctx->pkey as f...
Silence warning over ignored return value (CID 187932) We deliberately ignore the return value.
@@ -2772,7 +2772,7 @@ unix_cli_listen_read_ready (clib_file_t * uf) /* Disable Nagle, ignore any errors doing so eg on PF_LOCAL socket */ one = 1; - setsockopt (client.fd, IPPROTO_TCP, TCP_NODELAY, + (void) setsockopt (client.fd, IPPROTO_TCP, TCP_NODELAY, (void *) &one, sizeof (one)); client_name = (char *) format (0, ...
lv_gauge: fix invalidation with angle offset
@@ -207,7 +207,7 @@ void lv_gauge_set_value(lv_obj_t * gauge, uint8_t needle_id, int32_t value) lv_coord_t x_ofs = gauge->coords.x1 + r + left + pad; lv_coord_t y_ofs = gauge->coords.y1 + r + top + pad; uint16_t angle = lv_linemeter_get_scale_angle(gauge); - int16_t angle_ofs = 90 + (360 - angle) / 2; + int16_t angle_o...
Fix using h2o_strdup with a size larger than the string
@@ -119,7 +119,8 @@ void h2o_configurator_define_headers_commands(h2o_globalconf_t *global_conf, h2o size_t prefix_len = strlen(prefix); #define DEFINE_CMD_NAME(name, suffix) \ - char *name = h2o_strdup(NULL, prefix, prefix_len + sizeof(suffix) - 1).base; \ + char *name = h2o_mem_alloc(prefix_len + sizeof(suffix)); \ +...
nimble/phy/nrf5x: Enable LNA on "start now" rx LNA was not enabled properly if RX was started "now".
@@ -786,6 +786,10 @@ ble_phy_set_start_now(void) nrf_rtc_cc_set(NRF_RTC0, 0, now + 3); nrf_rtc_event_enable(NRF_RTC0, RTC_EVTENSET_COMPARE0_Msk); +#if PHY_USE_FEM_LNA + phy_fem_enable_lna(); +#endif + /* Enable PPI */ phy_ppi_rtc0_compare0_to_timer0_start_enable();
Fix memory leak from previous xml change Memory leak occurring in PrinterSetMsg from Printer.c. Result from corner case introduced with previous change to xml output for goal configuration commands.
@@ -1259,8 +1259,12 @@ EFI_STATUS EFIAPI PrinterSetMsg( if (EFI_ERROR(Status)) { pPrintCtx->BufferedObjectLastError = Status; } - } pPrintCtx->BufferedMsgCnt++; + } + else { + //here to handle the case where printer is unbuffered and XML == pPrintCtx->FormatType + FREE_POOL_SAFE(FullMsg); + } ReturnCode = EFI_SUCCESS; ...
Update 02-map-view.md
@@ -18,7 +18,7 @@ CARTO SDK MapView has various configuration options and settings, some of them a * Parameters to limit interaction: zooming, panning rotating, tilting, touches * Finetune performance - number of threads/workers to load data. Set bigger for multi-core devices -* Set custom map and sky background patter...
hw/mcu/native: Unmap memory-mapped files when done This prevents memory exhaustion when sysinit is called repeatedly (e.g., when running hundreds of thousands of unit tests).
@@ -117,6 +117,10 @@ flash_native_file_open(char *name) } } + if (file_loc != NULL) { + munmap(file_loc, native_flash_dev.hf_size); + } + file_loc = mmap(0, native_flash_dev.hf_size, PROT_READ | PROT_WRITE, MAP_SHARED, file, 0); assert(file_loc != MAP_FAILED);
Fix oeutil's README's formatting issues and OpenSSL instructions
@@ -7,9 +7,9 @@ OEUTIL Usage: `oeutil <command> <options>` +----- -oeutil generate-evidence -===== +## oeutil generate-evidence `oeutil generate-evidence` can generate the following files in binary format, or dump them in readable text, and verify them: @@ -40,35 +40,40 @@ where `options` are: Note that parameters are ...
Fixed driver exception for invoking NvdimmLabelProtocol functions after reloading drivers by properly uninstalling NvdimmLabelProtocol.
@@ -1708,6 +1708,16 @@ NvmDimmDriverDriverBindingStop( if (EFI_ERROR(ReturnCode)) { NVDIMM_WARN("Failed to uninstall the child device security command protocol, error = " FORMAT_EFI_STATUS ".\n", ReturnCode); } + + ReturnCode = gBS->UninstallMultipleProtocolInterfaces( + gDimmsUefiData[Index].DeviceHandle, + &gEfiNvdim...
acrn-config: refine the 'vm_name' parameter for launch script Use post_vm_id$(relative id) to identify each post-launched VM to make sure simultaneous launching successfully. Acked-by: Victor Sun
@@ -50,12 +50,12 @@ def tap_uos_net(names, virt_io, vmid, config): print("#vm-name used to generate uos-mac address", file=config) print("mac=$(cat /sys/class/net/e*/address)", file=config) - print("vm_name=vm$1", file=config) + print("vm_name=post_vm_id$1", file=config) print("mac_seed=${mac:9:8}-${vm_name}", file=con...
hash_set_free: Always free the full list
@@ -425,9 +425,6 @@ hash_set_free(struct hash_set *hs) struct hash_set_part *part; struct hash_set_part *tmp; - if (!hs->curr_part) - return; - list_for_each_entry_safe (part, tmp, &hs->part_list, part_link) free(part); }
Use GOLD linker for lto when musl is off.
@@ -1477,9 +1477,12 @@ class Linker(object): """ self.tc = tc self.build = build + if self.tc.is_from_arcadia and self.build.host.is_linux and not (self.build.target.is_apple or self.build.target.is_android or self.build.target.is_windows): + if self.tc.is_clang: - self.type = Linker.LLD + # DEVTOOLSSUPPORT-47 LLD cann...
Auto update certain old RaspBee if they are factory new (2)
@@ -416,7 +416,7 @@ void DeRestPluginPrivate::queryFirmwareVersion() // auto update factory fresh devices with too old firmware if (gwDeviceName == QLatin1String("RaspBee") && - !gwSdImageVersion.isEmpty() && nodes.empty() && sensors.empty()) + !gwSdImageVersion.isEmpty() && nodes.empty() && sensors.size() < 2) { if (f...
arch/arm/cxd56xx: do not clear enabled callback event on card insertion
@@ -3360,11 +3360,6 @@ void cxd56_sdhci_mediachange(struct sdio_dev_s *dev) if (cdstatus != priv->cdstatus) { - if (priv->cdstatus & SDIO_STATUS_PRESENT) - { - priv->cbevents &= SDIOMEDIA_INSERTED; - } - mediachange = 1; }
pbio/control: log passive control states
void pbio_control_update(pbio_control_t *ctl, int32_t time_now, int32_t count_now, int32_t rate_now, int32_t count_est, int32_t rate_est, pbio_actuation_t actuation_prev, int32_t control_prev, pbio_actuation_t *actuation_now, int32_t *control_now) { - // If control is not active, log only state data and exit + // If co...
SOVERSION bump to version 5.0.1
@@ -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 0) -set(SYSREPO_MICRO_SOVERSION 0) +set(SYSREPO_MICRO_SO...
Checks on shifted version for CLAP_VERSION_EQ per alex suggestion
#error CLAP_VERSION_EQ is inconsistent #endif +#if CLAP_VERSION_EQ(CLAP_VERSION_MAJOR + 1, CLAP_VERSION_MINOR, CLAP_VERSION_REVISION) +#error CLAP_VERSION_EQ is inconsistent (MAJOR) +#endif +#if CLAP_VERSION_EQ(CLAP_VERSION_MAJOR, CLAP_VERSION_MINOR + 1, CLAP_VERSION_REVISION) +#error CLAP_VERSION_EQ is inconsistent (M...