message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix incorrect output with Delete Dimm CMD
@@ -211,7 +211,7 @@ DeleteDimm( if (EFI_ERROR(ReturnCode)) { goto Finish; } - PRINTER_SET_MSG(pPrinterCtx, ReturnCode, L"Erasing DIMM (" FORMAT_STR L").", DimmStr); + PRINTER_PROMPT_MSG(pPrinterCtx, ReturnCode, L"Erasing DIMM " FORMAT_STR L".", DimmStr); ReturnCode = PromptYesNo(&Confirmation); if (!EFI_ERROR(ReturnCod...
Ensure that static apps use the proc name of the app and not the scope executable.
#include <sys/wait.h> #include <dlfcn.h> #include <sys/utsname.h> +#include <limits.h> +#include <errno.h> + #include "fn.h" +#include "dbg.h" #include "scopeelf.h" #include "scopetypes.h" -#include <limits.h> -#include <errno.h> #define DEVMODE 0 #define __NR_memfd_create 319 @@ -418,6 +420,8 @@ main(int argc, char **...
HV: Fix modularization vm config code lost CAT code Previous change 'HV: modularization vm config code', commit id lost CAT code when move sanitize_vm_config() from vm.c to vm_config.c
#include <errno.h> #include <acrn_common.h> #include <page.h> +#include <logmsg.h> +#include <cat.h> #ifndef CONFIG_PARTITION_MODE #include <sos_vm.h> @@ -119,6 +121,16 @@ int32_t sanitize_vm_config(void) /* Nothing to do for a UNDEFINED_VM, break directly. */ break; } + + if ((vm_config->guest_flags & CLOS_REQUIRED) !...
Fix Joint:getType returning nil for DistanceJoints;
@@ -20,6 +20,7 @@ int l_lovrPhysicsInit(lua_State* L) { map_init(&JointTypes); map_set(&JointTypes, "ball", JOINT_BALL); + map_set(&JointTypes, "distance", JOINT_DISTANCE); map_set(&JointTypes, "hinge", JOINT_HINGE); map_set(&JointTypes, "slider", JOINT_SLIDER);
hw/mcu/nordic: Add enable/disable ADC channel functions This commit adds two helper functions to simply enable/disable an ADC channel. This main purpose of adding these is to increment the number of active channels and connect/disconnect PSELP/PSELN without having to reconfigure the entire channel.
@@ -627,4 +627,20 @@ void nrfx_saadc_limits_set(uint8_t channel, int16_t limit_low, int16_t limit_hig nrf_saadc_int_enable(int_mask); } } + +void nrfx_enable_adc_chan(int chan, nrf_saadc_input_t pselp, + nrf_saadc_input_t pseln) +{ + NRFX_ASSERT(m_cb.active_channels < NRF_SAADC_CHANNEL_COUNT); + ++m_cb.active_channels;...
GA: Use python executable to get include and lib.
@@ -83,7 +83,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9] + python: [3.5, 3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 @@ -104,7 +104,7 @@ jobs: - name: Configure CMake shell: bash working-directory: ${{runner.workspace}}/build - run: cmake $GITHUB_WORKSPACE -A...
Update board.h Fix wrong parameters for onboard Flash memory.
PIN_PUPDR_FLOATING(GPIOA_AN4) | \ PIN_PUPDR_FLOATING(GPIOA_AN1) | \ PIN_PUPDR_FLOATING(GPIOA_AN3) | \ - PIN_PUPDR_PULLDOWN(GPIOA_FLASH_HOLD) | \ + PIN_PUPDR_FLOATING(GPIOA_FLASH_HOLD) | \ PIN_PUPDR_FLOATING(GPIOA_TX4) | \ PIN_PUPDR_FLOATING(GPIOA_RX4) | \ PIN_PUPDR_FLOATING(GPIOA_OTG_FS_DM) | \ PIN_ODR_LOW(GPIOA_AN4) |...
Remove frametime when using fps_only param
@@ -485,15 +485,6 @@ void HudElements::fps_only(){ ImGui::TableNextRow(); ImGui::TableNextColumn(); ImGui::TextColored(HUDElements.colors.text, "%.0f", HUDElements.sw_stats->fps); } - if (HUDElements.params->enabled[OVERLAY_PARAM_ENABLED_frametime]){ - ImGui::TableNextColumn(); - right_aligned_text(HUDElements.colors.t...
When migrating player sprites to default per scene type set the player spritesheet to have an 16x8px bounding box to match GBS2 functionality
@@ -1048,6 +1048,15 @@ const migrateFrom200r7To200r8Sprites = (data) => { const migrateFrom200r6To200r7Settings = (data) => { return { ...data, + spriteSheets: data.spriteSheets.map((spriteSheet) => { + if (spriteSheet.id !== data.settings.playerSpriteSheetId) { + return spriteSheet; + } + return { + ...spriteSheet, + ...
qlog: update the output format to draft-02
@@ -26,12 +26,16 @@ import json PACKET_LABELS = ["initial", "0rtt", "handshake", "1rtt"] def handle_packet_lost(events, idx): - return [events[idx]["time"], "recovery", "packet_lost", { - "packet_type": PACKET_LABELS[events[idx]["packet-type"]], + return { + "time": events[idx]["time"], + "name": "recovery:packet_lost"...
LPC55xx: fix dumb inverted assert condition in flash_is_readable().
@@ -221,7 +221,7 @@ void hic_power_target(void) bool flash_is_readable(uint32_t addr, uint32_t length) { // Make sure the core clock is less than 100 MHz, or flash commands won't work. - util_assert(SystemCoreClock > 100000000); + util_assert(SystemCoreClock < 100000000); // Return true if the address is within interna...
rpi-base: Rename the rpi0w dtb This change is following the rename in the kernel: commit Author: Phil Elwell Date: Tue May 28 16:36:04 2019 +0100
@@ -40,7 +40,7 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \ " RPI_KERNEL_DEVICETREE ?= " \ - bcm2708-rpi-0-w.dtb \ + bcm2708-rpi-zero-w.dtb \ bcm2708-rpi-b.dtb \ bcm2708-rpi-b-plus.dtb \ bcm2709-rpi-2-b.dtb \
added `shallow` for all the submodules
[submodule "vendor/blip-buf"] path = vendor/blip-buf url = https://github.com/nesbox/blip-buf.git + shallow = true [submodule "vendor/curl"] path = vendor/curl url = https://github.com/curl/curl.git + shallow = true [submodule "vendor/dirent"] path = vendor/dirent url = https://github.com/tronkko/dirent.git + shallow =...
Fixup. Clarify distance units in labels
"FIELD_SOURCE": "Source", "FIELD_X_POSITION": "X Position", "FIELD_Y_POSITION": "Y Position", - "FIELD_DISTANCE_PU": "Distance in Pixel Units", + "FIELD_DISTANCE_PU": "Distance in Tile Units", "FIELD_USE_COLLISIONS": "Use Collisions", "FIELD_ORDER": "Order", "FIELD_HORIZONTAL_FIRST": "Horizontal First", "EVENT_IF_ACTOR...
requires ethereum gateway (with -e) for non-fake galaxy boot
@@ -221,6 +221,12 @@ _main_getopt(c3_i argc, c3_c** argv) return c3n; } + if ( (0 == u3_Host.ops_u.fak_c) && (0 == u3_Host.ops_u.eth_c) && imp_t ) { + fprintf(stderr, "can't create a new galaxy without specifying " + "the Ethereum gateway with -e\n"); + return c3n; + } + if ( u3_Host.ops_u.arv_c == 0 && imp_t ) { fprin...
docs: saiph-c download does not work, disable it now
@@ -181,9 +181,6 @@ $ gcc myBot.c -o myBot.out -pthread -ldiscord -lcurl -lcrypto -lm ## Debugging Memory Errors -* The recommended method: - Use [SaiphC](docs/SAIPHC.md) to build your bot and run the generated executable. All runtime memory errors will be reported. - * The convenient method: Using valgrind which canno...
Make Shortcuts run in full screen on iPhone
@@ -253,6 +253,8 @@ class EditorSplitViewController: SplitViewController { } } + private var willRun: Bool? + // MARK: - Split view controller override func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool { @@ -379,7 +381,11 @@ class EditorSplitViewController: SplitViewController { return } - if (...
The Quest has thumbsticks, not touchpads. Fix constants.
@@ -165,13 +165,14 @@ static bool vrapi_getVelocity(Device device, vec3 velocity, vec3 angularVelocity return true; } +// Notice: Quest has a thumbstick, Go has a touchpad static bool buttonDown(BridgeLovrButton field, DeviceButton button, bool *result) { if (bridgeLovrMobileData.deviceType == BRIDGE_LOVR_DEVICE_QUEST)...
Update portserial_m.c add macro to aviod compile error with: rt_pin_mode(MODBUS_MASTER_RT_CONTROL_PIN_INDEX, PIN_MODE_OUTPUT);
@@ -57,7 +57,9 @@ BOOL xMBMasterPortSerialInit(UCHAR ucPORT, ULONG ulBaudRate, UCHAR ucDataBits, * set 485 mode receive and transmit control IO * @note MODBUS_MASTER_RT_CONTROL_PIN_INDEX need be defined by user */ +#if defined(RT_MODBUS_MASTER_USE_CONTROL_PIN) rt_pin_mode(MODBUS_MASTER_RT_CONTROL_PIN_INDEX, PIN_MODE_OU...
remove FCLK_CLK0 from bare_metal_test
+# Create clk_wiz +cell xilinx.com:ip:clk_wiz:5.3 pll_0 { + PRIMITIVE PLL + PRIM_IN_FREQ.VALUE_SRC USER + PRIM_IN_FREQ 125.0 + PRIM_SOURCE Differential_clock_capable_pin + CLKOUT1_USED true + CLKOUT1_REQUESTED_OUT_FREQ 125.0 + USE_RESET false +} { + clk_in1_p adc_clk_p_i + clk_in1_n adc_clk_n_i +} + # Create processing...
[io] mechanics_run.py: fix typo
@@ -775,7 +775,7 @@ class MechanicsHdf5Runner(siconos.io.mechanics_hdf5.MechanicsHdf5): siconos.io.mechanics_hdf5.data(self.log_data() [fun.__name__], 'timing', 1), endt) - if (isinstance(output, numbers.Number)) + if (isinstance(output, numbers.Number)): siconos.io.mechanics_hdf5.add_line( siconos.io.mechanics_hdf5.da...
Add section about download failures
@@ -96,6 +96,24 @@ Here are some examples. :: opt/spack/cray-sles15-zen2/gcc-11.2.0/hdf5-1.8.22-c3djozhlmrvy7wpu46f36qeakemiactw opt/spack/cray-sles15-zen2/gcc-11.2.0/cmake-3.14.7-nnahgnkkl2d2ty2us46we75pnjepci35 +Working around recurring download failures +------------------------------------------ + +Depending on con...
listen on all the available interfaces (not just on 127.0.0.1)
dyn_o_mite: - dyn_listen: 127.0.0.1:8101 + dyn_listen: 0.0.0.0:8101 data_store: 0 - listen: 127.0.0.1:8102 + listen: 0.0.0.0:8102 dyn_seed_provider: simple_provider servers: - 127.0.0.1:22122:1
in_systemd: workaround for systemd tail/skip issue 9934
@@ -183,9 +183,16 @@ struct flb_systemd_config *flb_systemd_config_create(struct flb_input_instance * } if (ctx->read_from_tail == FLB_TRUE) { - /* Jump to the end and skip last entry */ sd_journal_seek_tail(ctx->j); - sd_journal_next_skip(ctx->j, 1); + /* + * Skip up to 350 records until the end of journal is found. +...
[numerics] fix correct rule for relative error evaluation in VI
@@ -80,7 +80,10 @@ int variationalInequality_computeError( *error = cblas_dnrm2(n , wtmp , incx); /* Computes error */ - *error = *error / (norm_q + 1.0); + if (fabs(norm_q) > DBL_EPSILON) + *error /= norm_q; + + DEBUG_PRINTF("error = %e\n",*error); if (*error > tolerance) { if (verbose > 1)
actions: path not set in step
@@ -60,10 +60,6 @@ jobs: echo "JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk.jdk/Contents/Home" >> $GITHUB_ENV echo "/usr/local/opt/openjdk/bin" >> $GITHUB_PATH sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk - which java - which javac - java --version - javac...
Fix multiview limit; When multiview is not supported (although technically lovr requires it), the renderSize limit for array layers was zero, which meant no render passes would work. Instead, make sure it's at least 1, which is more correct.
@@ -1885,7 +1885,7 @@ bool gpu_init(gpu_config* config) { config->limits->textureLayers = limits->maxImageArrayLayers; config->limits->renderSize[0] = limits->maxFramebufferWidth; config->limits->renderSize[1] = limits->maxFramebufferHeight; - config->limits->renderSize[2] = multiviewProperties.maxMultiviewViewCount; +...
Added a heapmem reallocation test.
@@ -186,6 +186,50 @@ UNIT_TEST(max_alloc) UNIT_TEST_END(); } /*****************************************************************************/ +UNIT_TEST_REGISTER(reallocations, "Heapmem reallocations"); +UNIT_TEST(reallocations) +{ +#define INITIAL_SIZE 100 + + UNIT_TEST_BEGIN(); + + uint8_t *ptr1 = heapmem_realloc(NULL...
stm32/mboot: Fix mp_hal_delay_us() and add mp_hal_ticks_ms().
// These bits are used to detect valid application firmware at APPLICATION_ADDR #define APP_VALIDITY_BITS (0x00000003) +// For 1ms system ticker. +static volatile uint32_t systick_ms; + // Global dfu state dfu_context_t dfu_context SECTION_NOZERO_BSS; @@ -104,6 +107,10 @@ uint32_t get_le32(const uint8_t *b) { return b[...
nshlib: Remove a dangling function that is no longer used after last mount/df chagnes
#include "nsh.h" #include "nsh_console.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Priv...
BugID:19144184:[WhiteScan] [716664] [CONSTANT_EXPRESSION_RESULT] /home/iot/WhiteScan/platform/arch/xtensa/lx6/backtrace.c
@@ -58,7 +58,7 @@ static int windowed_register_backtrace(uint32_t pc, uint32_t sp, while (lvl++ < BACK_TRACE_LIMIT) { psp = backtrace_sp; - if ((backtrace_sp > 0x3fffffff0UL) || ((backtrace_sp & 0xf) != 0)) + if ((backtrace_sp > 0x3ffffff0UL) || ((backtrace_sp & 0xf) != 0)) break; backtrace_sp = *((uint32_t*) (backtrac...
config-tool: find pci hole based on all pci hostbridge Not all pci hostbridge has a device on it. Remove the logic which assumes there is at least one device. Acked-by: Anthony Xu
@@ -301,25 +301,17 @@ def get_pt_devs_io_port_passthrough(board_etree, scenario_etree): return dev_list def get_pci_hole_native(board_etree): - resources = board_etree.xpath(f"//bus[@type = 'pci']/device[@address]/resource[@type = 'memory' and @len != '0x0']") resources_hostbridge = board_etree.xpath("//bus/resource[@t...
ci regression. reverting
@@ -191,7 +191,7 @@ From RhoElements 2.1 onwards the default value was changed to work out of the bo </PARAMS> </METHOD> - <METHOD name="currentLocation" runInThread="ui"> + <METHOD name="currentLocation"> <DESC>Returns the relative url (location) of the current page(without server and port); the last URL loaded to Web...
add decrypt test command
int usage(int argc, char **argv, const char *msg) { fprintf(stderr, "Usage: %s %s\n", argv[0], - msg ? msg : "[ sign | verify | jwk2cert | key2jwk | enckey | hash_base64url | timestamp | uuid ] <options>"); + msg ? msg : "[ sign | verify | decrypt | jwk2cert | key2jwk | enckey | hash_base64url | timestamp | uuid ] <opt...
abis/linux: Add struct ip_mreq
@@ -39,6 +39,11 @@ struct sockaddr_in6 { uint32_t sin6_scope_id; }; +struct ip_mreq { + struct in_addr imr_multiaddr; + struct in_addr imr_interface; +}; + struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned ipv6mr_interface;
driver/retimer/tdp142.c: Format with clang-format BRANCH=none TEST=none
static enum ec_error_list tdp142_write(int offset, int data) { - return i2c_write8(TDP142_I2C_PORT, - TDP142_I2C_ADDR, - offset, data); - + return i2c_write8(TDP142_I2C_PORT, TDP142_I2C_ADDR, offset, data); } static enum ec_error_list tdp142_read(int offset, int *regval) { - return i2c_read8(TDP142_I2C_PORT, - TDP142_I...
Fix typo in reorderbuffer.c. Author: Zhijie Hou Discussion:
@@ -2119,13 +2119,13 @@ ReorderBufferProcessTXN(ReorderBuffer *rb, ReorderBufferTXN *txn, * Mapped catalog tuple without data, emitted while * catalog table was in the process of being rewritten. We * can fail to look up the relfilenode, because the - * relmapper has no "historic" view, in contrast to normal - * the no...
For ppc gcc, implement 64-bit compare_exchange and fetch_add with asm. While xlc defines __64BIT__, gcc does not. Due to this oversight in commit gcc builds continued implementing 64-bit atomics by way of intrinsics. Back-patch to v13, where that commit first appeared. Discussion:
@@ -32,14 +32,14 @@ typedef struct pg_atomic_uint32 } pg_atomic_uint32; /* 64bit atomics are only supported in 64bit mode */ -#ifdef __64BIT__ +#if SIZEOF_VOID_P >= 8 #define PG_HAVE_ATOMIC_U64_SUPPORT typedef struct pg_atomic_uint64 { volatile uint64 value pg_attribute_aligned(8); } pg_atomic_uint64; -#endif /* __64BI...
ds lyb BUGFIX init path
@@ -617,6 +617,8 @@ srlyb_get_path(const char *plg_name, const char *mod_name, sr_datastore_t ds, ch int r = 0, rc; const char *prefix; + *path = NULL; + switch (ds) { case SR_DS_STARTUP: if (SR_STARTUP_PATH[0]) {
bluedroid: use the new socket registering API
#include <sys/fcntl.h> #include "esp_vfs.h" #include "esp_vfs_dev.h" +#include "lwip/opt.h" // just for LWIP_SOCKET_OFFSET +/** + * BTC_SPP_FDS is the number of file descriptors this VFS driver registers + */ +#define BTC_SPP_FDS 32 #if (defined BTC_SPP_INCLUDED && BTC_SPP_INCLUDED == TRUE) @@ -828,7 +833,7 @@ static s...
ARMv8: setting l0page tables for when doing PSCI boot
@@ -1162,6 +1162,7 @@ static struct sysret handle_debug_syscall(int msg) } #include <psci.h> +#include <barrelfish_kpi/arm_core_data.h> /* XXX - function documentation is inconsistent. */ /** @@ -1237,6 +1238,8 @@ void sys_syscall(uint64_t a0, uint64_t a1, uint64_t a2, uint64_t a3, case SYSCALL_DEBUG: if (a1 == DEBUG_P...
preinitialize CLASS parser reduces Valgrind errors from 6574 to 22 :)
@@ -263,6 +263,12 @@ static double ccl_get_class_As(ccl_cosmology *cosmo, struct file_content *fc, in static void ccl_fill_class_parameters(ccl_cosmology * cosmo, struct file_content * fc, int parser_length, int * status) { + // initialize fc fields + //silences Valgrind's "Conditional jump or move depends on uninitial...
ngtcp2_unreachable: Handle EINTR
#include "ngtcp2_unreachable.h" #include <stdio.h> +#include <errno.h> #ifdef HAVE_UNISTD_H # include <unistd.h> #endif /* HAVE_UNISTD_H */ @@ -58,7 +59,8 @@ void ngtcp2_unreachable_fail(const char *file, int line, const char *func) { } #ifndef WIN32 - write(STDERR_FILENO, buf, (size_t)rv); + while (write(STDERR_FILENO...
Tests: added more tests for "query" routing pattern.
@@ -1342,19 +1342,27 @@ class TestRouting(TestApplicationProto): assert self.get(url='/?a=b&c=d e')['status'] == 200 def test_routes_match_query_array(self): - self.route_match({ - "query": ["foo", "bar"] - }) + self.route_match({"query": ["foo", "bar"]}) - assert self.get()['status'] == 404, 'arr' - assert self.get(ur...
[lwIP] Remove the unnecessary log in SConscript.
@@ -69,7 +69,6 @@ path = [GetCurrentDir() + '/src', if not GetDepend('RT_USING_POSIX') or not GetDepend('RT_USING_DFS_NET'): path += [GetCurrentDir() + '/src/include/posix'] - print('include /src/include/posix') if GetDepend(['RT_LWIP_SNMP']): src += snmp_src
README: Fixed typos. These closes closes closes issues on GitHub.
@@ -179,7 +179,7 @@ current working directory. ##### Mercurial Repository - 1. If don't already have the Mercurial software, download and install it. + 1. If you don't already have the Mercurial software, download and install it. For example, on Ubuntu systems, run this command: ``` @@ -194,7 +194,7 @@ current working ...
CI: simplify script tests
TESTS=$(wildcard ??-*.sh) TESTLOGS=$(patsubst %.sh,%.testlog,$(TESTS)) -FAILLOGS=$(patsubst %.sh,%.faillog,$(TESTS)) CONTIKI=../.. tests: $(TESTLOGS) -report: clean tests - @echo | grep -s -e '' - $(TESTLOGS) $(FAILLOGS) > $@ || true - -summary: report +summary: clean tests ifeq ($(TESTS),) @echo No tests > $@ else - @...
doc: fixup missing .
@@ -292,7 +292,7 @@ Thanks to Michael Zronek and Vanessa Kos. test is not tagged as such. *(Lukas Winkler)* - Remove `elektra-gcc-configure-debian-withspace` test. We now test for compatibility of spaced build paths during normal tests. *(Lukas Winkler)* -- Check for source formatting during early test stages *(Lukas W...
Adding correction to documentation As picked up in review, this commit modifies the documentation by removing some wording that is now superfluous given the removal of the mode parameter.
@@ -714,11 +714,6 @@ int mbedtls_rsa_rsaes_oaep_encrypt( mbedtls_rsa_context *ctx, * hold the decryption of the particular ciphertext provided, * the function returns \c MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE. * - * - * \note Alternative implementations of RSA need not support - * mode being set to #MBEDTLS_RSA_PUBLIC and mi...
Updated MSVC project.
<ClCompile Include="..\..\libxml\ruby_xml_xpath_context.c" /> <ClCompile Include="..\..\libxml\ruby_xml_xpath_expression.c" /> <ClCompile Include="..\..\libxml\ruby_xml_xpath_object.c" /> - <ClCompile Include="..\..\libxml\ruby_xml_xpointer.c" /> </ItemGroup> <ItemGroup> <ClInclude Include="..\..\libxml\ruby_libxml.h" ...
Add abbreviated terms to system requirements files Add abbreviated terms table to BoAT_System_Requirements_en.md.
### Overview This technical paper describes the system requirements of the BoAT Framework (C language version) for cellular modules. BoAT is an SDK that runs on the module's application processor. For the OpenCPU cellular module, BoAT is linked and called by the application as a library. For non-OpenCPU cellular module...
oc_cloud:persist CloudConf if provisioned via API
@@ -167,6 +167,8 @@ oc_cloud_provision_conf_resource(oc_cloud_context_t *ctx, const char *server, ctx->store.status = OC_CLOUD_INITIALIZED; ctx->cps = OC_CPS_READYTOREGISTER; + cloud_store_dump_async(&ctx->store); + if (ctx->cloud_manager) { cloud_reconnect(ctx); }
Restore original nsAttsSize if reallocation fails
@@ -3264,6 +3264,7 @@ storeAtts(XML_Parser parser, const ENCODING *enc, int j; /* hash table index */ unsigned long version = nsAttsVersion; int nsAttsSize = (int)1 << nsAttsPower; + unsigned char oldNsAttsPower = nsAttsPower; /* size of hash table must be at least 2 * (# of prefixed attributes) */ if ((nPrefixes << 1)...
Weather -> clock in clock tile's readme
-# Weather tile for Urbit +# Clock tile for Urbit To install this on your Urbit planet: 1. In your Urbit's Dojo, run |mount % 2. Write in the filepath to your Urbit's pier in the urbitrc-sample file in this repository, then copy it to .urbitrc in this directory. 3. Run `npm install` in terminal in this directory. 4. Ru...
Change directory change directory 2
@@ -534,6 +534,8 @@ ALLOW yt/jaeger/plugin -> vendor/github.com/gogo ALLOW yabs/telephony/platform/internal/rtp -> vendor/github.com/wernerd/GoRTP # CONTRIB-1518 client for monkey-patched Apache Pulsar by TuyaInc. responsible: jock@ +ALLOW alice/iot/adapters/tuya_adapter -> vendor/github.com/TuyaInc/tuya_pulsar_sdk_go ...
Register reset in the PIM to help timing closure.
@@ -167,6 +167,13 @@ module platform_shim_ccip_std_afu // Instantiate the AFU // ==================================================================== + // Add a timing stage to reset + logic afu_cp2af_softReset_q = 1'b1; + always @(posedge `PLATFORM_PARAM_CCI_P_CLOCK) + begin + afu_cp2af_softReset_q <= afu_cp2af_softRe...
replace libretro-common 45
@@ -709,7 +709,7 @@ SOURCES_C += $(NP2_PATH)/sdl2/libretro/libretro-common/compat/compat_strcasestr ifeq ($(platform), switch) SOURCES_C += $(NP2_PATH)/sdl2/libretro/libretro-common/rthreads/switch_pthread.c -else +else ifeq (,$(filter $(platform),ngc wii wiiu)) SOURCES_C += $(NP2_PATH)/sdl2/libretro/libretro-common/rt...
[CI] travis: add cxx11 flag for opensuse
@@ -36,8 +36,8 @@ env: - TASK=default:distrib=ubuntu,18.04 - TASK=default:distrib=debian,latest - TASK=default:distrib=fedora,latest:pkgs-=atlas-lapack,:pkgs+=openblas-lapacke, - - TASK=default:distrib=opensuse,42.3:pkgs-=atlas-lapack,:pkgs+=openblas-lapacke, - - TASK=default:distrib=opensuse,42.3:ci_config=with_mumps-...
docs: Corrects OpenOCD command usage in logtrace readme
@@ -107,21 +107,21 @@ To run the example and retrieve the log from the host, do the following: 6. In telnet execute the following command: ``` - esp32 apptrace start file://adc0.log file://adc1.log 0 9000 5 0 0 + esp32 apptrace start file://adc.log 0 9000 5 0 0 ``` - This command should collect 9000 bytes of log data a...
in_tail: fix process_content when FLB_REGEX is false file->buf_data should have been data, which was missed in
@@ -265,7 +265,7 @@ static int process_content(struct flb_tail_file *file, off_t *bytes) #else flb_time_get(&out_time); flb_tail_file_pack_line(out_sbuf, out_pck, &out_time, - file->buf_data, len, file); + data, len, file); #endif go_next:
kernel/binary_manager_load : Add Debug message for checking g_sem_list If g_sem_list is empty, it means there is no kernel semaphore which used by threads. For checking this, added the debug message.
@@ -547,7 +547,10 @@ void binary_manager_release_binary_sem(int bin_idx) flags = irqsave(); sem = (sem_t *)sq_peek(&g_sem_list); - while (sem) { + if (sem == NULL) { + bmdbg("g_sem_list is empty.\n"); + } else { + do { #if CONFIG_SEM_PREALLOCHOLDERS > 0 for (holder = sem->hhead; holder; holder = holder->flink) #else @@...
herm: accept old /view/* wires
?+ wire !! :: pass on dill blits for the session :: - [%dill @ ~] + [?(%view %dill) @ ~] ::NOTE /view for backwards compat =* ses i.t.wire ?. ?=([%dill %blit *] sign-arvo) ~| [%unexpected-sign [- +<]:sign-arvo]
Update inaccurate comments.
@@ -130,7 +130,7 @@ protocolLocalParam(ProtocolStorageType protocolStorageType, unsigned int hostId, // Add the host id kvPut(optionReplace, VARSTR(CFGOPT_HOST_ID_STR), VARUINT(hostId)); - // Add the storage type + // Add the remote type kvPut(optionReplace, VARSTR(CFGOPT_REMOTE_TYPE_STR), VARSTR(protocolStorageTypeStr...
[Makefile] Compile unit tests with the `minpool` flavor
@@ -103,15 +103,13 @@ riscv-isa-sim: update_opcodes ../configure --prefix=$(ISA_SIM_INSTALL_DIR) && make && make install # Unit tests for verification -MINPOOL_CONFIG = num_cores=16 num_cores_per_tile=4 - .PHONY: test build_test clean_test test: build_test export PATH=$(ISA_SIM_INSTALL_DIR)/bin:$$PATH; \ make -C $(RISC...
Update sgemm_kernel_16x4_skylakex_3.c
-#if defined(__apple_build_version__) && __clang_major__ == 11 && __clang_minor__ == 0 && __clang_patchlevel__ == 3 -#pragma clang optimize "O2" -#endif - - /* %0 = "+r"(a_pointer), %1 = "+r"(b_pointer), %2 = "+r"(c_pointer), %3 = "+r"(ldc_in_bytes), %4 for k_count, %5 for c_store */ /* r10 to assist prefetch, r12 = k ...
Fix incorrect error code in StartupReplicationOrigin(). ERRCODE_CONFIGURATION_LIMIT_EXCEEDED was used for checksum failure, use ERRCODE_DATA_CORRUPTED instead. Reported-by: Tatsuhito Kasahara Author: Tatsuhito Kasahara Backpatch-through: 9.6, where it was introduced Discussion:
@@ -791,7 +791,7 @@ StartupReplicationOrigin(void) FIN_CRC32C(crc); if (file_crc != crc) ereport(PANIC, - (errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED), + (errcode(ERRCODE_DATA_CORRUPTED), errmsg("replication slot checkpoint has wrong checksum %u, expected %u", crc, file_crc)));
Bump stackage version.
-resolver: lts-14.4 +resolver: lts-14.21 packages: - king @@ -11,9 +11,8 @@ extra-deps: - flat-0.3.4@sha256:002a0e0ae656ea8cc02a772d0bcb6ea7dbd7f2e79070959cc748ad1e7138eb38 - base58-bytestring-0.1.0@sha256:a1da72ee89d5450bac1c792d9fcbe95ed7154ab7246f2172b57bd4fd9b5eab79 - lock-file-0.7.0.0@sha256:3ad84b5e454145e1d92806...
Fix case where value is not an number in eventVariableSetToValue
@@ -39,7 +39,7 @@ const compile = (input, helpers) => { if (value === 1) { const { variableSetToTrue } = helpers; variableSetToTrue(input.variable); - } else if (value === 0) { + } else if (value === 0 || isNaN(value)) { const { variableSetToFalse } = helpers; variableSetToFalse(input.variable); } else {
Add test script for RSA signature
@@ -8835,6 +8835,36 @@ run_test "TLS1.3: minimal feature sets - openssl" \ -c "<= parse finished message" \ -c "HTTP/1.0 200 ok" +requires_openssl_tls1_3 +requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL +requires_config_disabled MBEDTLS_USE_PSA_CRYPTO +run_test "TLS1.3: Test client hello msg work - openss...
hslua-aeson: Update repo URL, homepage
@@ -4,7 +4,7 @@ version: 2.0.1 synopsis: Allow aeson data types to be used with lua. description: This package provides instances to push and receive any datatype encodable as JSON to and from the Lua stack. -homepage: https://github.com/tarleb/hslua-aeson#readme +homepage: https://hslua.org/ license: MIT license-file:...
Tests: test/test_flowprobe.py Fix TypeError. TypeError: not all arguments converted during string formatting
@@ -72,7 +72,7 @@ class VppCFLOW(VppObject): (self._intf, self._datapath)) def object_id(self): - return "ipfix-collector-%s" % (self._src, self.dst) + return "ipfix-collector-%s-%s" % (self._src, self.dst) def query_vpp_config(self): return self._configured
dpdk: fix coverity Coverity does not seem happy about exotic control flows in switch/case statements Type: fix Fixes:
@@ -495,6 +495,8 @@ dpdk_lib_init (dpdk_main_t * dm) xd->flags |= DPDK_DEVICE_FLAG_TX_OFFLOAD | DPDK_DEVICE_FLAG_INTEL_PHDR_CKSUM; } + xd->port_type = port_type_from_speed_capa (&dev_info); + break; case VNET_DPDK_PMD_CXGBE: case VNET_DPDK_PMD_MLX4: case VNET_DPDK_PMD_QEDE:
Fixed example 5
@@ -51,11 +51,11 @@ extract_kv_to_files(struct hse_kvs *kvs, int file_cnt, char **files) snprintf(outfile, sizeof(outfile), "%s.%s", files[i], "out"); snprintf(pfx, sizeof(pfx), "%s|", files[i]); - printf("filename is:%s", outfile); + printf("filename is:%s\n", outfile); fd = open(outfile, O_RDWR | O_CREAT); if (fd < 0...
Zoul platform.c: include stdlib.h
#include <stdint.h> #include <string.h> #include <stdio.h> +#include <stdlib.h> /*---------------------------------------------------------------------------*/ /* Log configuration */ #include "sys/log.h"
Remove LwIP from 201910.00 changelog on master
- Contains bug fixes and enhancements in ESP NIMBLE stack. - Contains bug fixes in ESP Bluedroid stack. -#### Enable lwIP full duplex feature -- The same socket may be used by multiple tasks concurrently. - ## 201908.00 08/26/2019 ### New Features
cheza: Fix triggering PPC interrupt Cheza only has PPC on port-0. Passing only 0 to the interrupt handler. BRANCH=none TEST=Plug a charger to port-0; it charges.
@@ -115,9 +115,8 @@ static void anx74xx_cable_det_interrupt(enum gpio_signal signal) static void ppc_interrupt(enum gpio_signal signal) { - int port = (signal == GPIO_USB_C0_SWCTL_INT_ODL) ? 0 : 1; - - sn5s330_interrupt(port); + /* Only port-0 uses PPC chip */ + sn5s330_interrupt(0); } /* ADC channels */
apps/iperf: fix not displaying bandwidth in udp This patch allows iperf to display bandwidth/transfer in udp rx.
@@ -2430,6 +2430,11 @@ static void iperf_print_results(struct iperf_test *test) } else { iprintf(test, report_bw_format, sp->socket, start_time, end_time, ubuf, nbuf, report_receiver); } + } else { + if (test->json_output) + cJSON_AddItemToObject(json_summary_stream, "receiver", iperf_json_printf("socket: %d start: %f ...
rename tasking_installed() to tasking_is_active(), tasking_install() to tasking_init()
@@ -172,7 +172,7 @@ void list_task(task_t* task) { } void block_task_context(task_t* task, task_state reason, void* context) { - if (!tasking_installed()) return; + if (!tasking_is_active()) return; task->state = reason; task->block_context = context; @@ -188,7 +188,7 @@ void block_task(task_t* task, task_state reason)...
[fixup] Add CHANGES entry
release branch. Changes between 1.1.0h and 1.1.1 [xx XXX xxxx] + *) Make ec_group_do_inverse_ord() more robust and available to other + EC cryptosystems, so that irrespective of BN_FLG_CONSTTIME, SCA + mitigations are applied to the fallback BN_mod_inverse(). + When using this function rather than BN_mod_inverse() dire...
[ya tool] use arcadia version of godoc
"ygdiff": { "description": "Run ygdiff tool", "visible": false }, "crypta": { "description": "Run Crypta client" }, "go": { "description": "Run go tool (1.12.9)" }, - "godoc": { "description": "Run godoc tool (1.12.9)" }, "gofmt": { "description": "Run gofmt tool (1.12.9)" }, "go_1.13": { "description": "Run go tool (1...
Fix stdbool.h include for VS 2013 and higher
@@ -38,7 +38,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define NULL 0 #endif -#if defined(HAVE_STDBOOL_H) +#if defined(HAVE_STDBOOL_H) || (defined(_MSC_VER) && _MSC_VER >= 1800) #include <stdbool.h> #else #ifndef __cplusplus
o2d related latest fix as per
@@ -3872,7 +3872,7 @@ uerra, eswi-enfo:total_cloud_cover_sfc maximum value 96.4844 is not in [100,100] {NULL, }, }, - {&daily_average, &given_level, &has_bitmap}, + {&daily_average, &predefined_level, &has_bitmap}, }, { "northward_sea_water_velocity_o2d.s2", @@ -3892,7 +3892,7 @@ uerra, eswi-enfo:total_cloud_cover_sfc ...
admin/genders: bump to v1.27
%define pname genders Name: %{pname}%{PROJ_DELIM} -Version: 1.22 +Version: 1.27 Release: 1%{?dist} Summary: Static cluster configuration database License: GPL -Source: https://github.com/chaos/genders/releases/download/genders-1-22-1/%{pname}-%{version}.tar.gz +Source: https://github.com/chaos/genders/releases/download...
Skip correct number of points when looking for end of cubic
@@ -182,7 +182,7 @@ void GraphicsPath::closeLine(int inCommand0, int inData0) break; case pcCubicTo: - point+=1; + point+=2; // Fall through... case pcWideLineTo: case pcCurveTo:
Changed fiducial values for tests/radheat_thermint.
@@ -14,11 +14,11 @@ def test_radheat_thermint(): output = GetOutput(path=cwd) # Check - assert np.isclose(output.log.final.earth.TMan, 2256.1804,atol=200) - assert np.isclose(output.log.final.earth.TCore, 5009.8424,atol=200) # !!! - assert np.isclose(output.log.final.earth.RIC, 1221e3,atol=30e3) # !!! - assert np.isclo...
clarify dependancy
@@ -45,10 +45,10 @@ Ubuntu packages can be found at: https://launchpad.net/~jhli/+archive/ubuntu/lib Alternately, -DSAFECLIB_SRC_DOWNLOAD_AND_STATIC_LINK=ON to download sources and statically link to safeclib -### ndctl +### libndctl -ipmctl requires ndctl as a dependency on Linux-based systems. +ipmctl depends on libn...
Added version to upnp
@@ -140,7 +140,7 @@ endif() set_target_properties (upnp_shared PROPERTIES OUTPUT_NAME upnp EXPORT_NAME UPNP::Shared - VERSION ${UPNP_VERSION} + VERSION ${UPNP_SOMAJOR} SOVERSION ${UPNP_VERSION_MAJOR} PUBLIC_HEADER "${UPNP_HEADERS}" ) @@ -213,6 +213,7 @@ endif() set_target_properties (upnp_static PROPERTIES OUTPUT_NAME ...
linop: only free if non-NULL
@@ -462,6 +462,8 @@ struct linop_s* linop_loop(unsigned int D, const long dims[D], struct linop_s* o */ void linop_free(const struct linop_s* op) { + if (NULL == op) + return; operator_free(op->forward); operator_free(op->adjoint); operator_free(op->normal);
Move GC collect after loading unit test function.
@@ -26,8 +26,8 @@ for module in sorted(os.listdir(SCRIPT_DIR)): test_passed = True test_path = "/".join((mod_path, test)) try: - gc.collect() exec(open(test_path).read()) + gc.collect() if unittest(DATA_DIR, TEMP_DIR) == False: raise Exception() except Exception as e:
fixed bug in FluxOutGlobal unit
@@ -2230,7 +2230,7 @@ void InitializeOutputPoise(OUTPUT *output,fnWriteOutput fnWrite[]) { */ output[OUT_FLUXOUTGLOBAL].bNeg = 1; output[OUT_FLUXOUTGLOBAL].dNeg = 1; - sprintf(output[OUT_FLUXINGLOBAL].cNeg,"W/m^2"); + sprintf(output[OUT_FLUXOUTGLOBAL].cNeg,"W/m^2"); output[OUT_FLUXOUTGLOBAL].iNum = 1; output[OUT_FLUXOU...
* CMakeLists fixes for last cmake version
@@ -8,6 +8,8 @@ unset(CHANGELOG_LAST_VERSION) unset(CHANGELOG_LAST_MESSAGE) include(DebChangelog) +project(${PROJECT_NAME} C) + set(PROJECT_NAME "ejdb2") set(PROJECT_VENDOR "Softmotions (https://softmotions.com)") set(PROJECT_WEBSITE "https://github.com/Softmotions/ejdb") @@ -18,8 +20,6 @@ set(CHANGELOG_MESSAGE ${CHANG...
Remove the callable? predicate. Many times are callable now in some circumstances, so the predicate is not that useful.
(defn indexed? "Check if x is an array or tuple." [x] (def t (type x)) (if (= t :array) true (= t :tuple))) -(defn callable? "Check if x is a function or cfunction." [x] - (def t (type x)) - (if (= t :function) true (= t :cfunction))) (defn true? "Check if x is true." [x] (= x true)) (defn false? "Check if x is false."...
Disable FreeBSD 13 builds on Cirrus CI. Build have begin failing with this error: ld-elf.so.1: /usr/local/bin/rsync: Undefined symbol "locale_charset" There does not appear to be a new version so hopefully this is a transient error. Disable for now to free the build pipeline.
@@ -45,19 +45,19 @@ freebsd_12_task: # FreeBSD 13 # ---------------------------------------------------------------------------------------------------------------------------------- -freebsd_13_task: - freebsd_instance: - image_family: freebsd-13-1 - cpu: 4 - memory: 4G +# freebsd_13_task: +# freebsd_instance: +# imag...
ci: Fix cleanup process for integration-tests We moved the inspektor-gadget integration tests to a new directory resulting in the test process named differently i.e inspektor-gadget.test rather than integration.test.
@@ -40,7 +40,7 @@ runs: # Forward the SIGINT directly to test process but wait for current # active jobs since we can only wait for current shell child process. echo "IntegrationTestsJob: Notifying the integration tests process about the cancellation" - kill -2 $(pidof integration.test) > /dev/null + kill -2 $(pidof in...
Fix incorrect enums being used Fix memory leak due to aead_abort() using incorrect enums to identify algorithm used. Fix incorrect return on failure to check tag on aead_verify()
@@ -948,7 +948,7 @@ psa_status_t mbedtls_psa_aead_verify( psa_aead_operation_t *operation, { if( do_tag_check && safer_memcmp(tag, check_tag, tag_length) != 0 ) { - status = MBEDTLS_ERR_GCM_AUTH_FAILED; + status = PSA_ERROR_INVALID_SIGNATURE; } } @@ -962,8 +962,8 @@ psa_status_t mbedtls_psa_aead_abort( psa_aead_operati...
Document and rename heightmap same_size function. Now returns false when either parameter is NULL.
@@ -50,9 +50,11 @@ static bool in_bounds(const TCOD_heightmap_t *hm, int x, int y) { if (y < 0 || y >= hm->h) return false; return true; } - -static bool same_size(const TCOD_heightmap_t *hm1, const TCOD_heightmap_t *hm2) { - return hm1->w == hm2->w && hm1->h == hm2->h; +/** + Returns true if these heighmaps have the s...
Use progress_cb in genrsa
static int verbose = 0; -static int genrsa_cb(EVP_PKEY_CTX *ctx); - typedef enum OPTION_choice { OPT_COMMON, #ifndef OPENSSL_NO_DEPRECATED_3_0 @@ -180,7 +178,7 @@ opthelp: if (!init_gen_str(&ctx, "RSA", eng, 0, NULL, NULL)) goto end; - EVP_PKEY_CTX_set_cb(ctx, genrsa_cb); + EVP_PKEY_CTX_set_cb(ctx, progress_cb); EVP_PK...
SOVERSION bump to version 7.12.1
@@ -73,7 +73,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 7) set(SYSREPO_MINOR_SOVERSION 12) -set(SYSREPO_MICRO_SOVERSION 0) +set(SYSREPO_MICRO_S...
common/i2c_bitbang.c: Format with clang-format BRANCH=none TEST=none
@@ -281,9 +281,8 @@ static int i2c_read_byte(const struct i2c_port_t *i2c_port, uint8_t *byte, } static int i2c_bitbang_xfer(const struct i2c_port_t *i2c_port, - const uint16_t addr_flags, - const uint8_t *out, int out_size, - uint8_t *in, int in_size, int flags) + const uint16_t addr_flags, const uint8_t *out, + int o...
decisions: clarify sentence by removing rationale
@@ -27,7 +27,7 @@ The main purpose of the decision process is to get a common understanding of the - For reviewers: - Prefer to directly give suggestions how to change sentences. - General questions should be asked in the root of "Conversation" and not at vaguely related sentences in the review. -- Decision PRs do not ...