message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix vpp-ext-deps package version in stable branch
@@ -20,7 +20,7 @@ MAKE_ARGS ?= -j BUILD_DIR ?= $(CURDIR)/_build INSTALL_DIR ?= $(CURDIR)/_install PKG_VERSION ?= $(shell git describe --abbrev=0 | cut -d- -f1 | cut -dv -f2) -PKG_SUFFIX ?= $(shell git log --oneline $$(git describe --abbrev=0).. . | wc -l) +PKG_SUFFIX ?= $(shell git log --oneline v$(PKG_VERSION)-rc0.. ....
config tool: Fix combined cpu_affinity warning Service vm could have the combination of big and little core cpu_affinity setting, fix the assert.
</xs:annotation> </xs:assert> - <xs:assert test="every $vm in vm satisfies + <xs:assert test="every $vm in /acrn-config/vm[load_order != 'SERVICE_VM'] satisfies count(distinct-values(processors//thread[cpu_id = $vm//cpu_affinity/pcpu_id]/core_type)) &lt;= 1"> <xs:annotation acrn:severity="error" acrn:report-on="$vm//cp...
OpenCoreKernel: Correct %s to %a for KEXT name
@@ -144,7 +144,7 @@ OcKernelLoadKextsAndReserve ( ); if (Kext->ImageData == NULL) { - DEBUG ((DEBUG_ERROR, "OC: Image %s is missing for kext %s\n", FullPath, BundlePath)); + DEBUG ((DEBUG_ERROR, "OC: Image %s is missing for kext %a\n", FullPath, BundlePath)); Kext->Enabled = FALSE; continue; }
multiheaded test + count on command line
@@ -7,6 +7,7 @@ import random import struct from panda.lib.panda import Panda from hexdump import hexdump +from itertools import permutations def get_test_string(): return "test"+os.urandom(10) @@ -28,11 +29,12 @@ def run_test_w_pandas(pandas): h = map(lambda x: Panda(x), pandas) print h - h[0].set_controls_allowed(Tru...
Added ksceKernelRemapBlock to headers
@@ -112,6 +112,16 @@ int ksceKernelFreeMemBlock(SceUID uid); */ int ksceKernelGetMemBlockBase(SceUID uid, void **basep); +/** + * Changes the block type + * + * @param[in] uid - SceUID of the memory block to change + * @param[in] type - Type of the memory to change to + * + * @return 0 on success, < 0 on error. + */ +i...
ecalib: add debug_level argument
@@ -75,6 +75,7 @@ int main_ecalib(int argc, char* argv[]) OPT_INT('n', &conf.numsv, "", "()"), OPT_FLOAT('v', &conf.var, "variance", "Variance of noise in data."), OPT_SET('a', &conf.automate, "Automatically pick thresholds."), + OPT_INT('d', &debug_level, "level", "Debug level"), }; cmdline(&argc, argv, 2, 3, usage_st...
Always unlink pending write requests when entering close_wait Seen on a stream in `H2O_HTTP3_SERVER_STREAM_STATE_CLOSE_WAIT`: ``` SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /build/lib/core/request.c:406:62 in h2o: /build/lib/http3/server.c:988: void run_delayed(h2o_timer_t *): Assertion `stream->req_body !...
@@ -432,6 +432,8 @@ static void set_state(struct st_h2o_http3_server_stream_t *stream, enum h2o_http assert(conn->delayed_streams.recv_body_blocked.prev == &stream->link || !"stream is not registered to the recv_body list?"); break; case H2O_HTTP3_SERVER_STREAM_STATE_CLOSE_WAIT: { + if (h2o_linklist_is_linked(&stream->...
Fix: on_all_written() would fire although neat_write() fails to write data
@@ -5132,6 +5132,9 @@ nt_write_to_lower_layer(struct neat_ctx *ctx, struct neat_flow *flow, #endif if (rv < 0 ) { nt_log(ctx, NEAT_LOG_WARNING, "%s - sending failed - %s", __func__, strerror(errno)); + if (errno == ENOENT) { + flow->isClosing = 1; + } if (errno != EWOULDBLOCK) { return NEAT_ERROR_IO; }
add missing .patch suffix
@@ -24,7 +24,7 @@ Group: %{PROJ_NAME}/dev-tools Source: https://sourceware.org/pub/%{pname}/%{pname}-%{version}.tar.bz2 Source1: OHPC_macros %ifarch aarch64 -Patch1: revVEX3352 +Patch1: revVEX3352.patch Patch2: rev16269.v3.13.0.patch Patch3: rev16309.patch Patch4: thunderx_always_use_fallback_LLSC.patch
Add optimization flags for native builds
@@ -20,6 +20,30 @@ endif CFLAGSNO = -Wall -g -I/usr/local/include $(CFLAGSWERROR) CFLAGS += $(CFLAGSNO) +### Are we building with code size optimisations? +SMALL ?= 0 + +# The optimizations on native platform cannot be enabled in GCC (not Clang) versions less than 7.2 +GCC_IS_CLANG := $(shell gcc --version 2> /dev/null...
Emitter: Closure transform shouldn't use the self var. Instead, rely on how self is always at position 0.
@@ -1126,9 +1126,10 @@ static void perform_closure_transform(lily_emit_state *emit, lily_u16_pos(emit->closure_spots) / 2, s->reg_spot, f->line_num); - if (emit->class_block_depth && function_block->self) { - uint16_t self_spot = find_closed_sym_spot(emit, - emit->function_depth, (lily_sym *)function_block->self); + if...
Put parenthesis at right location
#include "picotls.h" #include "picoquic_internal.h" #include "picotls/openssl.h" -#if (!defined(_WINDOWS) || defined(_WINDOWS64) && !defined(PTLS_WITHOUT_FUSION) +#if (!defined(_WINDOWS) || defined(_WINDOWS64)) && !defined(PTLS_WITHOUT_FUSION) #include "picotls/fusion.h" #endif #include "tls_api.h"
notifications: Updated README.md
- infos/needs = - infos/provides = - infos/recommends = -- infos/placements = postgetstorage precommit -- infos/status = global nodep libc experimental unfinished nodoc concept unittest +- infos/placements = postgetstorage postcommit +- infos/status = global libc unittest concept unfinished experimental nodoc - infos/m...
Add test case for parsing H3 "Post" request.
@@ -243,6 +243,11 @@ static uint8_t qpack_test_get_ats2[] = { 0xa1, 0x72, 0x1e, 0x9f, 0xd1, 0xc1, 0xd7 }; +static uint8_t qpack_test_post_zzz[] = { + QPACK_TEST_HEADER_BLOCK_PREFIX, 0xC0 | 20, 0x50 | 1, + 0x80 | 3, QPACK_TEST_HEADER_QPACK_PATH +}; + static uint8_t qpack_test_string_index_html[] = { QPACK_TEST_HEADER_IN...
Fix build with system python
+#include <Python.h> + #include "helpers.h" #include <catboost/libs/helpers/exception.h> #include <catboost/libs/helpers/interrupt.h> #include <catboost/libs/data_types/groupid.h> -#include <Python.h> - extern "C" PyObject* PyCatboostExceptionType; void ProcessException() {
docket: fix "do we have this glob yet" check We were incorrectly assuming we were comparing against a unit value. Also makes a ~| more useful.
=. by-base (~(put by by-base) base.href.docket desk.diff) :: if the glob specification is unchanged, keep it :: - ?: &(?=(^ pre) =(href.docket.u.pre `href.docket)) + :: + ?: &(?=(^ pre) =(href.docket.u.pre href.docket)) [~[add-fact:cha] state] :: if the glob spec changed, but we already host it, keep it :: (this is the...
TCPMv2: Modal Operations should clear in dfp_discovery_init BRANCH=none TEST=dock specified in bug should be able to PR_Swap Tested-by: Denis Brockus
@@ -5601,6 +5601,8 @@ uint8_t pd_get_src_cap_cnt(int port) void pd_dfp_discovery_init(int port) { + PE_CLR_FLAG(port, PE_FLAGS_MODAL_OPERATION); + memset(pe[port].discovery, 0, sizeof(pe[port].discovery)); memset(pe[port].partner_amodes, 0, sizeof(pe[port].partner_amodes));
doc: checkbashism needed in dev env see
@@ -71,6 +71,12 @@ You have some options to avoid running them as root: 4. Use the XDG resolver (see `scripts/configure-xdg`) and set the environment variable `XDG_CONFIG_DIRS`, currently lacks `spec` namespaces, see #734. + +## Environment + +- The script `checkbashisms` is needed to check for bashism, it is part of `...
Aomp12 extras needs ranch aomp-dev
@@ -166,7 +166,7 @@ if [ "$AOMP_MAJOR_VERSION" == "12" ] ; then AOMP_PROJECT_REPO_NAME=${AOMP_PROJECT_REPO_NAME:-llvm-project} AOMP_PROJECT_REPO_BRANCH=${AOMP_PROJECT_REPO_BRANCH:-amd-stg-open} AOMP_EXTRAS_REPO_NAME=${AOMP_EXTRAS_REPO_NAME:-aomp-extras} - AOMP_EXTRAS_REPO_BRANCH=${AOMP_EXTRAS_REPO_BRANCH:-amd-stg-open}...
Remove obsolete version test when returning CA names.
@@ -506,15 +506,15 @@ STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx) STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s) { if (!s->server) { /* we are in the client */ - if (((s->version >> 8) == SSL3_VERSION_MAJOR) && (s->s3 != NULL)) - return (s->s3->tmp.ca_names); + if (s->s3 != NULL) + re...
Show info if your game has problems with sync added dropped frames counter
#define OFFSET_TOP ((TIC80_FULLHEIGHT-TIC80_HEIGHT)/2) #define POPUP_DUR (TIC_FRAMERATE*2) +#define DESYNC_FRAMES 10 #if defined(TIC80_PRO) #define TIC_EDITOR_BANKS (TIC_BANKS) @@ -232,7 +233,7 @@ static struct FileSystem* fs; bool quitFlag; - bool deSync; + s32 deSync; s32 argc; char **argv; @@ -323,7 +324,7 @@ static...
add delay before optical calibration starts.
import serial import random import argparse +import time def program_cortex(teensy_port="COM15", scum_port="COM18", binary_image="./code.bin", boot_mode='optical', skip_reset=False, insert_CRC=False, @@ -104,6 +105,8 @@ def program_cortex(teensy_port="COM15", scum_port="COM18", binary_image="./code. # Display confirmat...
pybricks.hubs.CityHub: Enable button access. If you disable the stop button: hub.system.set_stop_button(None) Then you can read the button state: if hub.button.pressed(): print("Button is pressed!")
typedef struct _hubs_CityHub_obj_t { mp_obj_base_t base; + mp_obj_t button; mp_obj_t light; } hubs_CityHub_obj_t; +static const pb_obj_enum_member_t *cityhub_buttons[] = { + &pb_Button_CENTER_obj, +}; + STATIC mp_obj_t hubs_CityHub_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) { ...
parser yin BUGFIX check returned value properly
@@ -299,7 +299,7 @@ yin_parse(struct ly_ctx *ctx, const char *data, struct lysp_module **mod_p) /* check if root element is module or submodule */ ret = lyxml_get_element(&xml_ctx, &data, &prefix, &prefix_len, &name, &name_len); - LY_CHECK_ERR_RET(ret != LY_SUCCESS, LOGMEM(xml_ctx.ctx), LY_EMEM); + LY_CHECK_GOTO(ret !=...
updated version to 3.5.127.1
#define MAT_VERSION_HPP // WARNING: DO NOT MODIFY THIS FILE! // This file has been automatically generated, manual changes will be lost. -#define BUILD_VERSION_STR "3.5.117.1" -#define BUILD_VERSION 3,5,117,1 +#define BUILD_VERSION_STR "3.5.127.1" +#define BUILD_VERSION 3,5,127,1 #ifndef RESOURCE_COMPILER_INVOKED #incl...
shortening readme
@@ -9,17 +9,12 @@ is capable scanning the entire public IPv4 address space in under 45 minutes. With a 10gigE connection and PF_RING, ZMap can scan the IPv4 address space in under 5 minutes. -While previous network tools have been designed to scan small network segments, -ZMap is specifically architected to scan the en...
Add missing function to macpong.
@@ -168,6 +168,9 @@ bool icmpv6rpl_isPreferredParent(open_addr_t* address) { dagrank_t icmpv6rpl_getMyDAGrank(void) { return 0; } +bool icmpv6rpl_daoSent(void) { + return TRUE; +} void icmpv6rpl_setMyDAGrank(dagrank_t rank) { return; } void icmpv6rpl_killPreferredParent(void) { return; } void icmpv6rpl_updateMyDAGrankA...
OcMachoLib: Retrieve symbol section via Section instead of Value.
@@ -555,7 +555,11 @@ MachoRelocateSymbol64 ( // Symbols are relocated when they describe sections. // if (MachoSymbolIsSection (Symbol)) { - Section = MachoGetSectionByAddress64 (Context, Symbol->Value); + if (Symbol->Section > MAX_SECT) { + return FALSE; + } + + Section = MachoGetSectionByIndex64 (Context, (Symbol->Se...
VERSION bump to version 2.0.264
@@ -61,7 +61,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) # set version of the project set(LIBYANG_MAJOR_VERSION 2) set(LIBYANG_MINOR_VERSION 0) -set(LIBYANG_MICRO_VERSION 263) +set(LIBYANG_MICRO_VERSION 264) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}...
Better duplicated resource handling
@@ -25,6 +25,11 @@ public abstract class Resource return Compiler.addResource(resource, true); } + public static Resource findResource(Resource resource) + { + return Compiler.findResource(resource); + } + public abstract int internalHashCode(); public abstract boolean internalEquals(Object obj); @@ -32,7 +37,8 @@ publ...
Fix detection of running as an application (don't depend on "-psn" command-line option) and send log to system log.
#if !_WIN32 # include <libgen.h> #endif // !_WIN32 +#include <syslog.h> // @@ -103,7 +104,6 @@ papplMainloop( }; #ifdef __APPLE__ const char *server_argv[7]; // New command arguments - char logfile[1024]; // Log file path #endif // __APPLE__ @@ -134,20 +134,20 @@ papplMainloop( #ifdef __APPLE__ // When you click on the...
hv: fix potential buffer overflow in vpic_set_pinstate() Input 'pin' should be less than 'NR_VPIC_PINS_TOTAL' Acked-by: Eddie Dong
@@ -405,6 +405,10 @@ static void vpic_set_pinstate(struct acrn_vpic *vpic, uint8_t pin, uint8_t old_lvl; bool lvl_trigger; + if (pin >= NR_VPIC_PINS_TOTAL) { + return; + } + i8259 = &vpic->i8259[pin >> 3U]; old_lvl = i8259->pin_state[pin & 0x7U]; if (level) {
upstream: upon create url, set properly tls flags for https
@@ -139,6 +139,9 @@ struct flb_upstream *flb_upstream_create_url(struct flb_config *config, } else if (strcasecmp(prot, "https") == 0) { tmp_port = 443; + if ((flags & FLB_IO_TLS) == 0) { + flags |= FLB_IO_TLS; + } } } else {
os/Makefile.unix: remove duplicate prerequisite remove duplicate prerequisite for include/arch/board target
@@ -346,7 +346,7 @@ include/arch: Make.defs # Link the configs/<board-name>/include directory to include/arch/board -include/arch/board: include/arch Make.defs include/arch +include/arch/board: include/arch Make.defs @echo "LN: include/arch/board to $(BOARD_DIR)/include" $(Q) $(DIRLINK) $(TOPDIR)/$(BOARD_DIR)/include i...
TCPMv2: Enable Data Reset on Voxel Perform Data Reset during mode entry and exit. Support receiving Data Reset as DFP. TEST=Enter and exit modes with Godzilla Creek. BRANCH=none
#define CONFIG_USB_PD_USB4 #define USBC_PORT_C0_BB_RETIMER_I2C_ADDR 0x40 #define USBC_PORT_C1_BB_RETIMER_I2C_ADDR 0x41 +#define CONFIG_USB_PD_DATA_RESET_MSG /* USB Type A Features */ #define USB_PORT_COUNT 1
doc: Copyedit upgrading_configuration.rst Grammatical and formatting cleanup
Upgrading ACRN Configurations to Recent Releases ################################################ -The configurations files, introduced in :ref:`acrn_config_data`, are refined -every release for richer features, clearer organizations, and more user friendly -representations. Due to the strict validation ACRN adopts, co...
Add comment on the performance of resuming locals
@@ -348,8 +348,10 @@ func (g *gen) writeResumeSuspend1(b *buffer, n *a.Var, suspend bool, initBoolTyp // This generated code explicitly initializes bool typed variables, // in order to avoid ubsan (undefined behavior sanitizer) warnings. // - // In general, we don't zero-initialize all of the v_etc local - // variables...
fuzzer: Move fuzzer->origFileName generation to specific functions
@@ -66,6 +66,7 @@ static void fuzz_getFileName(honggfuzz_t * hfuzz, char *fileName) static bool fuzz_prepareFileDynamically(honggfuzz_t * hfuzz, fuzzer_t * fuzzer) { + fuzzer->origFileName = "[DYNAMIC]"; struct dynfile_t *dynfile; { @@ -104,6 +105,7 @@ static bool fuzz_prepareFileDynamically(honggfuzz_t * hfuzz, fuzzer...
eagerly evaluate "eyre: execute" error info to avoid issues from lazy traps in defunct requests
|= {tea/whir bek/beak sil/silk:ford} %+ pass-note tea :^ %f %exec our - `[bek [%dude |.(leaf+"eyre: execute {<tea>}") sil]] + `[bek [%dude [|.(+)]:[%leaf "eyre: execute {<tea>}"] sil]] :: ++ fail |= {sas/@ud dep/@uvH mez/tang}
Fixed hard coded path to CUDA
@@ -109,7 +109,7 @@ fi if [ "$AOMP_BUILD_CUDA" == 1 ] ; then NVPTXGPUS_DEFAULT="30,32,35,50,60,61" if [ -f $CUDA/version.txt ] ; then - if [ `head -1 /usr/local/cuda/version.txt | cut -d " " -f 3 | cut -d "." -f 1` -ge 9 ] ; then + if [ `head -1 $CUDA/version.txt | cut -d " " -f 3 | cut -d "." -f 1` -ge 9 ] ; then NVPT...
Solve minor bug in detection of async functions in typescript loader.
@@ -300,8 +300,8 @@ function ts_loader_trampoline_discover_signature(checker, node) { for (let i = 0; i < params.length; ++i) { const param = params[i]; const type = checker.getTypeAtLocation(param); - args.push(param.name.escapedText ? param.name.escapedText : 'undefined'); - types.push(type.intrinsicName ? type.intri...
Vector Math section in C++ header.
@@ -104,6 +104,14 @@ public: #endif }; + + +/*! @name Vector Math + * + * Wrapper classes for TinySpline's vector math. + * + * @{ + */ class TINYSPLINECXX_API Vector3 { public: Vector3(); @@ -135,6 +143,7 @@ public: private: real vals[3]; }; +/*! @} */
binding/java: HelloElektra - added check key available example
@@ -90,6 +90,58 @@ public class HelloElektra { exampleSetMetaKeys(); exampleSetArrayMetaKey(); + + exampleCheckKeyAvailableInKDB(); + } + + private static void exampleCheckKeyAvailableInKDB() { + // Example 11: Check whether the keys are already available in the key database + System.out.println("Example 11"); + Key pa...
Fix test_dtd_attr_handling() to work with builds
@@ -1976,7 +1976,7 @@ END_TEST /* Test handling of attribute declarations */ typedef struct AttTest { - const XML_Char *definition; + const char *definition; const XML_Char *element_name; const XML_Char *attr_name; const XML_Char *attr_type; @@ -1994,15 +1994,15 @@ verify_attlist_decl_handler(void *userData, { AttTest ...
cooja: remove commented out code Showing an example with commented out code right after a dozen lines that does the same thing is not helpful. Remove the commented out code.
@@ -115,9 +115,6 @@ SIM_INTERFACE_NAME(leds_interface); SIM_INTERFACE_NAME(cfs_interface); SIM_INTERFACE_NAME(eeprom_interface); SIM_INTERFACES(&vib_interface, &moteid_interface, &rs232_interface, &simlog_interface, &beep_interface, &radio_interface, &button_interface, &pir_interface, &clock_interface, &leds_interface,...
xcopy: increase the RCR_OP_MAX_SEGMENT_LEN to 16MB The old value is 1024, this sg_xcopy will fail when we increase the target device block size from 514 to 4096. The error log as: "bpt too large (max 0 blocks)"
#define RCR_OP_MAX_TARGET_DESC_COUNT 0x02 #define RCR_OP_MAX_SEGMENT_DESC_COUNT 0x01 #define RCR_OP_MAX_DESC_LIST_LEN 1024 -#define RCR_OP_MAX_SEGMENT_LEN 1024 +#define RCR_OP_MAX_SEGMENT_LEN 16777216 #define RCR_OP_TOTAL_CONCURR_COPIES 0x01 #define RCR_OP_MAX_CONCURR_COPIES 0x01 #define RCR_OP_DATA_SEG_GRAN_LOG2 0x09
integrationtest/TestOomkill: Validate json output
@@ -32,6 +32,7 @@ import ( dnsTypes "github.com/kinvolk/inspektor-gadget/pkg/gadgets/trace/dns/types" execTypes "github.com/kinvolk/inspektor-gadget/pkg/gadgets/trace/exec/types" mountTypes "github.com/kinvolk/inspektor-gadget/pkg/gadgets/trace/mount/types" + oomkillTypes "github.com/kinvolk/inspektor-gadget/pkg/gadget...
temporarily make defualt to NOT build sphinx docs
@@ -741,7 +741,7 @@ OPTION(VISIT_CREATE_SOCKET_RELAY_EXECUTABLE "Create a separate executable that f OPTION(VISIT_RPATH_RELATIVE_TO_EXECUTABLE_PATH "Install rpath relative to executable location using \$ORIGIN tag" OFF) OPTION(VISIT_FORTRAN "Enable compilation of Fortran example progams" OFF) OPTION(VISIT_DATA_MANUAL_E...
fix(sensortest): move set_interval and batch before activate. modify coding style err.
@@ -273,37 +273,37 @@ int main(int argc, FAR char *argv[]) goto open_err; } - ret = ioctl(fd, SNIOC_ACTIVATE, 1); + ret = ioctl(fd, SNIOC_SET_INTERVAL, &interval); if (ret < 0) { ret = -errno; if (ret != -ENOTTY) { - printf("Failed to enable sensor:%s, ret:%s\n", + printf("Failed to set interval for sensor:%s, ret:%s\n...
rpmsg_socket: release tx buffer when send_oncopy failed
@@ -1010,6 +1010,7 @@ static ssize_t rpmsg_socket_send_continuous(FAR struct socket *psock, conn->ept.dest_addr); if (ret < 0) { + rpmsg_release_tx_buffer(&conn->ept, msg); break; } @@ -1109,6 +1110,10 @@ static ssize_t rpmsg_socket_send_single(FAR struct socket *psock, nxmutex_unlock(&conn->sendlock); ret = rpmsg_send...
publish: dark mode border on invite items
@@ -28,7 +28,7 @@ export class SidebarInvite extends Component { const { props } = this; return ( - <div className='pa3 bb b--gray4'> + <div className='pa3 bb b--gray4 b--gray2-d'> <div className='w-100 v-mid'> <p className="dib f9 mono gray4-d"> {props.invite.text}
fix for adding history asset not working if there was an imtermediate shape in upstream history
@@ -34,9 +34,15 @@ validateInputObjects(string $objects[], continue; } // actually, by the time we get here, we probably only have shapes - // so the transform check can probably dgo + // so the transform check can probably go if(`objectType -isAType "mesh" $object`) { + if(`getAttr ($object + ".intermediateObject")` =...
Remove warning in case coap_engine_init is called twice
@@ -363,7 +363,6 @@ coap_engine_init(void) { /* avoid initializing twice */ if(is_initialized) { - LOG_DBG("already running - double initialization?\n"); return; } is_initialized = 1;
api: adding missing rollup dependency
"@urbit/eslint-config": "^1.0.3", "babel-eslint": "^10.1.0", "eslint-plugin-react": "^7.24.0", + "rollup": "^2.59.0", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.30.0",
Add declaration for node and file loaders in plugin.in.
#define METACALL_PLUGINS_H 1 #cmakedefine OPTION_BUILD_PLUGINS_C 1 +#cmakedefine OPTION_BUILD_PLUGINS_CS 1 #cmakedefine OPTION_BUILD_PLUGINS_JSM 1 #cmakedefine OPTION_BUILD_PLUGINS_JS 1 +#cmakedefine OPTION_BUILD_PLUGINS_NODE 1 +#cmakedefine OPTION_BUILD_PLUGINS_MOCK 1 #cmakedefine OPTION_BUILD_PLUGINS_PY 1 #cmakedefin...
plugins: in_tcp: removed unnecessary event zero call
@@ -102,8 +102,6 @@ static int in_tcp_init(struct flb_input_instance *in, return -1; } - MK_EVENT_ZERO(&ctx->downstream->event); - ctx->evl = config->evl; /* Collect upon data available on the standard input */
Fix rule lt, gt operators
@@ -1292,11 +1292,11 @@ void DeRestPluginPrivate::triggerRuleIfNeeded(Rule &rule) } else if (c->op() == RuleCondition::OpGreaterThan) { - if (c->numericValue() < item->toNumber()) { ok = false; break; } + if (item->toNumber() <= c->numericValue()) { ok = false; break; } } else if (c->op() == RuleCondition::OpLowerThan)...
Fix incorrect capacity adjustment in Oevent list Was capped at 16 instead of properly growing as it should have.
@@ -20,7 +20,10 @@ void oevent_list_copy(Oevent_list const* src, Oevent_list* dest) { Oevent* oevent_list_alloc_item(Oevent_list* olist) { Usz count = olist->count; if (olist->capacity == count) { - Usz capacity = count < 16 ? 16 : orca_round_up_power2(count); + // Note: no overflow check, but you're probably out of me...
docker: Add Elixir dependencies to bullseye
@@ -24,6 +24,8 @@ RUN apt-get update && apt-get -y install \ dnsutils \ doxygen \ ed \ + elixir \ + erlang \ flex \ gawk \ ghostscript \
sim: Fix ordering on TlvFlags This enum ended up with some fields out of order. Fix the order. No impact to the code, as each enum entry has a specific value, this just makes the whole enum more consistent.
@@ -67,8 +67,8 @@ pub enum TlvFlags { PIC = 0x01, NON_BOOTABLE = 0x02, ENCRYPTED_AES128 = 0x04, - RAM_LOAD = 0x20, ENCRYPTED_AES256 = 0x08, + RAM_LOAD = 0x20, } /// A generator for manifests. The format of the manifest can be either a
chat: resize sigils to 32px, container to 60px fixes urbit/landscape#588
@@ -11,7 +11,8 @@ import { Text, BaseImage, ColProps, - Icon + Icon, + Center } from '@tlon/indigo-react'; import RichText from './RichText'; import { ProfileStatus } from './ProfileStatus'; @@ -44,16 +45,19 @@ const ProfileOverlay = (props: ProfileOverlayProps) => { onDismiss, ...rest } = props; - const hideAvatars = ...
[hardware] Revert removing of module parameters
@@ -23,14 +23,6 @@ module mempool_tile #( parameter int unsigned ICacheSizeByte = 512 * NumCoresPerTile , // Total Size of instruction cache in bytes parameter int unsigned ICacheSets = NumCoresPerTile , // Number of sets parameter int unsigned ICacheLineWidth = 32 * NumCoresPerTile , // Size of each cache line in bits...
cleaning up dcmp_sync_files
@@ -990,7 +990,7 @@ static void dcmp_sync_files(strmap* src_map, strmap* dst_map, return 1; } - /* copy files that are only in the destination directory, + /* get files that are only in the destination directory, * and then remove those files */ dcmp_only_dst(src_map, dst_map, dst_list, dst_remove_list); mfu_flist_summ...
examples/apache-httpd: bump nghttp2 version to 1.29.0
@@ -10,7 +10,7 @@ diff -Nur httpd/compile_and_install.sh httpd.new/compile_and_install.sh +HFUZZ_DIR="/home/jagger/src/honggfuzz" +# Change this to a directory where apache should be installed into +INSTALL_PREFIX="$(realpath "$PWD/../dist")" -+NGHTTP2_VER=1.27.0 ++NGHTTP2_VER=1.29.0 +APR_VER=1.6.3 +APR_UTIL_VER=1.6.1 ...
give more pages on sbrk
@@ -324,14 +324,16 @@ void* sbrk(int increment) { current->prog_break += increment; + page_t* new = get_page(brk, 1, current_directory); + if (!new->frame) { + alloc_frame(new, 1, 1); + } + + memset(brk, 0, increment); + //map this new memory //mmap(brk, increment, 0, 0, 0); - /* - printf("sbrk(%x) gives chunk @ %x\n",...
Document cross-compile considerations for NonStop x86 builds. Fixes
@@ -78,12 +78,65 @@ The current OpenSSL default memory model uses the default platform address model. If you need a different address model, you must specify the appropriate c99 options for compile (`CFLAGS`) and linkers (`LDFLAGS`). +Cross Compiling on Windows +-------------------------- + +To configure and compile Op...
Simplify posix_fadvise dispatch with musl. There's no point in looking up posix_fadvise dynamically with musl, thus all dynamic dispatch helper code could be moved to glibc branch and bypassed altogether.
#include <dlfcn.h> #include <util/generic/singleton.h> -typedef int (*TPosixFadvisePtr)(int, off_t, off_t, int); +static int PosixFadvise(int fd, off_t offset, off_t len, int advice) { +#if defined(_musl_) + return ::posix_fadvise(fd, offset, len, advice); +#else + // Lookup implementation dynamically for ABI compatibi...
Update build.yml Fails without splitreus62 shield and without itself added?
@@ -8,7 +8,7 @@ jobs: name: Build Test strategy: matrix: - board: [proton_c, nice_nano, bluemicro52840_v1] + board: [proton_c, nice_nano] shield: - corne_left - corne_right @@ -16,8 +16,6 @@ jobs: - kyria_right - lily58_left - lily58_right - - splitreus62_left - - splitreus62_right include: - board: proton_c shield: cl...
qcom: Increase the delay between powering on the switchcap and the PMIC Measured the delay on Herobrine IOB + Trogdor MLB is ~200ms. Pick a larger delay 300ms. BRANCH=None TEST=Booted AP successfully.
@@ -126,9 +126,12 @@ BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT); /* * Delay between power-on the system and power-on the PMIC. * Some latest PMIC firmware needs this delay longer, for doing a cold - * reboot. Did an experiment; it should be 120ms+. Set it with margin. + * reboot. + * + * Measured...
naive: l2 csv first data collation collects block number, gas prices, and timestamps into one structure. not finished.
=/ block-jar=(jar @ud @ux) (block-tx-jar l2-logs) ;< timestamps=(map @ud @da) bind:m (get-timestamps blocks) ;< gas-prices=(map @ux @ud) bind:m (get-gas-prices tx-hashes) - (pure:m !>(block-jar)) - :: ++ collate-roll-data - :: |= $: blocks=(list @ud) + =/ rolling (collate-roll-data blocks block-jar timestamps gas-price...
Fixing cpu temp for core 2 duo CPUs
@@ -296,6 +296,8 @@ bool CPUStats::GetCpuFile() { } else if ((name == "zenpower" || name == "k10temp") && find_temp_input(path, input, "Tdie")) { break; + } else if (name == "atk0110" && find_temp_input(path, input, "CPU Temperature")){ + break; } }
Bug fix for reading adios files from SST
@@ -152,13 +152,6 @@ avtADIOS2BaseFileFormat::avtADIOS2BaseFileFormat(const char *filename) io.SetEngine(engineType); reader = io.Open(getFile(filename), adios2::Mode::Read); - cout<<"avtADIOS2BaseFileFormat::avtADIOS2BaseFileFormat: "<<filename<<endl; -#ifdef MDSERVER - cout<<" Ctor: MDSERVER"<<endl; -#else - cout<<" ...
Further fix: if the tunnel wasn't established, it's not in datagram_flows either
@@ -396,7 +396,9 @@ static void destroy_tunnel(struct st_h2o_http3_server_stream_t *stream) struct st_h2o_http3_server_conn_t *conn = get_conn(stream); if (stream->tunnel->datagram_flow_id != UINT64_MAX) { khiter_t iter = kh_get(stream, conn->datagram_flows, stream->tunnel->datagram_flow_id); - assert(iter != kh_end(co...
prd: Validate _opal_queue_msg() return value On safer side, validate _opal_queue_msg() return value. Acked-by: Jeremy Kerr
@@ -162,6 +162,7 @@ static void send_next_pending_event(void) { struct proc_chip *chip; uint32_t proc; + int rc; uint8_t event; assert(!prd_msg_inuse); @@ -182,7 +183,6 @@ static void send_next_pending_event(void) if (!event) return; - prd_msg_inuse = true; prd_msg->token = 0; prd_msg->hdr.size = sizeof(*prd_msg); @@ -...
ULDObjectInfo ComponentType was removed during migration
@@ -8,5 +8,6 @@ namespace FFXIVClientStructs.Component.GUI.ULD [FieldOffset(0x0)] public uint Id; [FieldOffset(0x4)] public int NodeCount; [FieldOffset(0x8)] public AtkResNode** NodeList; + [FieldOffset(0x10)] public ComponentType ComponentType; } }
LimeRFE: Fix CMake requiring GUI
@@ -32,7 +32,7 @@ include(CMakeDependentOption) cmake_dependent_option(ENABLE_LIMERFE "Enable LimeRFE support" ON "ENABLE_LIBRARY" OFF) add_feature_info(LimeRFE ENABLE_LIMERFE "LimeRFE support") -if(ENABLE_LIMERFE) +if(ENABLE_LIMERFE AND ENABLE_GUI) target_compile_definitions(LimeSuiteGUI PUBLIC "LIMERFE") endif() @@ -...
Add AddonMateriaRetrieveDialog There's some sort of inheritance with these materia addons, but problem for later.
@@ -2246,6 +2246,9 @@ classes: Client::UI::AddonMateriaAttachDialog: inherits_from: Component::GUI::AtkUnitBase vtbl: 0x1417EB910 + Client::UI::AddonMateriaRetrieveDialog: + inherits_from: Component::GUI::AtkUnitBase + vtbl: 0x1417EBB30 Client::UI::AddonMiragePrismMiragePlate: inherits_from: Component::GUI::AtkUnitBase...
RTX5 (Documentation): Hardware requirements for Cortex-A systems added
@@ -1143,7 +1143,6 @@ The interface files to the processor hardware are: \subsection tpCortexM3_M4_M7_M33 Cortex-M3/M4/M7/M33 target processor -RTX assumes a fully function-able processor and uses the following hardware features: Hardware Requirement | Description :--------------------------|:--------------------------...
moved energest init to after the rtimer init
@@ -258,6 +258,8 @@ initialize(void) /* rtimers needed for radio cycling */ rtimer_init(); +/* we can initialize the energest arrays here */ + energest_init(); /* after the timer intitialisation we start the cpu measurement */ ENERGEST_ON(ENERGEST_TYPE_CPU); @@ -463,9 +465,6 @@ main(void) uip_ds6_nbr_t *nbr; #endif /* ...
[fuzzer] Make logging optional for h3 fuzzer This commit introduces an environment variable H2O_FUZZER_LOG_ACCESS to control access logging during fuzzer runs. Default is off, and it could be turned on by setting it to non-zero integer for debugging.
@@ -89,12 +89,12 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { if (!init_done) { h2o_hostconf_t *hostconf; - h2o_access_log_filehandle_t *logfh = h2o_access_log_open_handle("/dev/stdout", NULL, H2O_LOGCONF_ESCAPE_APACHE); + h2o_access_log_filehandle_t *logfh = NULL; h2o_pathconf_t *pathco...
pybricks.common.IMU: Add changelog entry. Fixes
## [Unreleased] +### Fixed +- Fixed `imu.angular_velocity` returning the values of `imu.acceleration`. + +[support#885]: https://github.com/pybricks/support/issues/885 + ## [3.2.0] - 2022-12-20 ### Changed
Correct comment on CMake var setting
@@ -243,13 +243,13 @@ include(NF_API_Namespaces) if(API_Windows.Devices.Gpio) - set(HAL_USE_GPIO_OPTION TRUE CACHE INTERNAL "HAL SPI for Windows.Devices.Gpio") + set(HAL_USE_GPIO_OPTION TRUE CACHE INTERNAL "HAL GPIO for Windows.Devices.Gpio") # this API requires nanoFramework.Runtime.Events set(API_nanoFramework.Runtim...
[io] correct syntax error due to a wrong manipulation
@@ -906,6 +906,7 @@ class MechanicsHdf5(object): def add_convex_shape(self, name, points, insideMargin=None, outsideMargin=None, + avoid_internal_edge_contact=False): """ Add a convex shape defined by a list of points.
Modified to include install script for os x cli tools
@@ -22,6 +22,7 @@ RAVEND_BIN=$(top_builddir)/src/$(RAVEN_DAEMON_NAME)$(EXEEXT) RAVEN_QT_BIN=$(top_builddir)/src/qt/$(RAVEN_GUI_NAME)$(EXEEXT) RAVEN_CLI_BIN=$(top_builddir)/src/$(RAVEN_CLI_NAME)$(EXEEXT) RAVEN_WIN_INSTALLER=$(PACKAGE)-$(PACKAGE_VERSION)-win$(WINDOWS_BITS)-setup$(EXEEXT) +RAVEN_CLI_INSTALL=$(top_builddir...
Release GIL while doing checking script modification time.
@@ -3837,14 +3837,17 @@ static int wsgi_reload_required(apr_pool_t *pool, request_rec *r, if (!r || strcmp(r->filename, filename)) { apr_finfo_t finfo; - if (apr_stat(&finfo, filename, APR_FINFO_NORM, - pool) != APR_SUCCESS) { + apr_status_t status; + + Py_BEGIN_ALLOW_THREADS + status = apr_stat(&finfo, filename, APR_F...
build: make bench is phony
@@ -33,7 +33,7 @@ CFLAGS := $(CFLAGS) ################################################################################ -.PHONY: all test clean mrproper +.PHONY: all bench test clean mrproper ################################################################################
SOVERSION bump to version 3.5.1
@@ -67,7 +67,7 @@ set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION # with backward compatible change and micro version is connected with any internal change of the library. set(LIBNETCONF2_MAJOR_SOVERSION 3) set(LIBNETCONF2_MINOR_SOVERSION 5) -set(LIBNETCONF2_MICRO_SOVERSION 0) +set(LIBN...
[bootloader] In WITH_BOOTLOADER mode, assert jump back to bootlaoder.
#include "luos_hal.h" #include "msg_alloc.h" #include "stdbool.h" +#ifdef WITH_BOOTLOADER + #include "bootloader_core.h" +#endif /******************************************************************************* * Function @@ -54,6 +57,13 @@ _CRITICAL __attribute__((weak)) void Luos_assert(char *file, uint32_t line) // w...
pull-hook: rewatch missing subscriptions
push-hook-name=term == :: -:: $state-0: state for the pull hook +:: $base-state-0: state for the pull hook :: :: .tracking: a map of resources we are pulling, and the ships that :: we are pulling them from. :: .inner-state: state given to internal door :: -+$ state-0 ++$ base-state-0 $: %0 tracking=(map resource ship) ...
Fix engine crash when deleting plots after export to tetrahedralized vtk Don't call delete on 'ds'.
@@ -212,6 +212,11 @@ avtVTKWriter::WriteHeaders(const avtDatabaseMetaData *md, // // Mark C. Miller, Mon Mar 9 19:50:57 PDT 2020 // Add output of expressions +// +// Kathleen Biagas, Fri Mar 12, 2021 +// Remove deletion of ds when tetrahedralizing, as it causes engine to +// crash when deleting plots after an export. +...
OcDevicePathLib: Add missed NULL check
@@ -468,7 +468,7 @@ OcFixAppleBootDevicePath ( // Must be set to 0xFFFF if the device is directly connected to the // HBA. This rule has been established by UEFI 2.5 via an Erratum and // has not been followed by Apple thus far. - // Reference: appendSATADevicePathNodeForIOMedia + // Reference: AppleACPIPlatform.kext, ...
io-libs/netcdf-cxx: add disable of filter-testing
@@ -90,6 +90,7 @@ export LDFLAGS="-L$HDF5_LIB -L$NETCDF_LIB" --enable-ncgen4 \ --with-pic \ --disable-doxygen \ + --disable-filter-testing \ --disable-static || { cat config.log && exit 1; } make %{?_smp_mflags}
Mark the second uppercasing in streqci() as unreacheable for coverage tests
@@ -1019,7 +1019,11 @@ streqci(const char *s1, const char *s2) if (ASCII_a <= c1 && c1 <= ASCII_z) c1 += ASCII_A - ASCII_a; if (ASCII_a <= c2 && c2 <= ASCII_z) - c2 += ASCII_A - ASCII_a; + /* The following line will never get executed. streqci() is + * only called from two places, both of which guarantee to put + * upp...
bin: fix return type for flb_cf_section_property_add.
@@ -611,7 +611,7 @@ static int set_property(struct flb_cf *cf, struct flb_cf_section *s, char *kv) int sep; char *key; char *value; - struct cfl_array *tmp; + struct cfl_variant *tmp; len = strlen(kv); sep = mk_string_char_search(kv, '=', len);
gamepad: disable gamepad_battery_icon by default
@@ -584,7 +584,7 @@ parse_overlay_config(struct overlay_params *params, params->enabled[OVERLAY_PARAM_ENABLED_frametime] = true; params->enabled[OVERLAY_PARAM_ENABLED_fps_only] = false; params->enabled[OVERLAY_PARAM_ENABLED_gamepad_battery] = false; - params->enabled[OVERLAY_PARAM_ENABLED_gamepad_battery_icon] = true; ...
Suspend RConfigCoolSetpoint type check
@@ -1167,8 +1167,8 @@ int DeRestPluginPrivate::changeSensorConfig(const ApiRequest &req, ApiResponse & } else if (rid.suffix == RConfigCoolSetpoint) { - if (map[pi.key()].type() == QVariant::Double) - { + //if (map[pi.key()].type() == QVariant::Double) + //{ qint16 coolsetpoint = map[pi.key()].toInt(&ok); if (addTaskTh...
Fix env handling to allow scope attach to work with -n flag.
@@ -902,16 +902,13 @@ main(int argc, char **argv, char **env) } // add the env vars we want in the library - char *env; dprintf(fd, "SCOPE_LIB_PATH=%s\n", libdirGetLibrary()); - if ((env = getenv("SCOPE_EXEC_PATH"))) { - dprintf(fd, "SCOPE_EXEC_PATH=%s\n", env); - } - if ((env = getenv("SCOPE_CONF_PATH"))) { - dprintf(...
Add missing docs Added missing docs for `loadfile`, `loadstring`, `ltype`, and `tostring`.
@@ -735,17 +735,41 @@ loadbuffer bs name = liftLua $ \l -> B.useAsCString name $ \namePtr -> toStatus <$> luaL_loadbuffer l str (fromIntegral len) namePtr --- | See <https://www.lua.org/manual/5.3/manual.html#luaL_loadfile luaL_loadfile>. -loadfile :: ByteString -> Lua Status -loadfile f = liftLua $ \l -> - B.useAsCStr...
Patched up fatal error of id 33's coming through on HMD
@@ -2097,6 +2097,9 @@ void survive_data_cb(SurviveUSBInterface *si) { fprintf(stderr, "\n"); } + } else if (id == 33) { + SV_ERROR(SURVIVE_ERROR_HARWARE_FAULT, "USB lightcap report is of an unexpected type for %s: %d (0x%02x)", + obj->codename, id, id); } else { SV_ERROR(SURVIVE_ERROR_HARWARE_FAULT, "USB lightcap repor...
Add aditional info to Acid Cam about OpenCV.
@@ -130,7 +130,7 @@ As you can see, there are plenty of uses. **METACALL** introduces a new model of ## 3.1 Known Projects Using MetaCall -- **[Acid Cam](https://www.facebook.com/AcidCam/)**: A software for video manipulation that distorts videos for generating art. [Acid Cam CLI](https://github.com/lostjared/acidcam-c...