message
stringlengths
6
474
diff
stringlengths
8
5.22k
documentation: Improve headings for compilation
@@ -427,7 +427,7 @@ For a list of available bindings see See help bar at bottom of `ccmake` for that option or: http://www.cmake.org/Wiki/CMake_Useful_Variables -### `BUILD_SHARED BUILD_FULL BUILD_STATIC` +#### `BUILD_SHARED`, `BUILD_FULL` and `BUILD_STATIC` `BUILD_SHARED` is the typical build you want to have on syste...
Use a mockup instead of screenshots
[![Download on the App Store](https://pisth.github.io/appstorebadge.svg)](https://itunes.apple.com/us/app/pyto-python-ide/id1436650069?l=fr&ls=1&mt=8) -![screenshots](docs/screenshots.png) +![screenshots](https://develobile.com/pyto/mockup.png) ``` Pyto is a Python 3.7 IDE for iPhone an iPad. You can run code directly ...
Update command line example I understand that it's only an example, but I think that it's clearer when it's a valid one.
@@ -165,7 +165,7 @@ Here you have some examples: * Scan all files in the */foo* directory and its subdirectories:: - yara -r /foo + yara /foo/bar/rules -r /foo * Defines three external variables *mybool*, *myint* and *mystring*::
fix, ignore _DEBUG in windows build. python3.7 do not have python37_d.dll.
@@ -53,7 +53,7 @@ IF (USE_SYSTEM_PYTHON) ELSEIF (_SYSTEM_PYTHON36) DECLARE_EXTERNAL_RESOURCE(EXTERNAL_PYTHON sbr:410161131) ELSEIF (_SYSTEM_PYTHON37) - DECLARE_EXTERNAL_RESOURCE(EXTERNAL_PYTHON sbr:616868704) + DECLARE_EXTERNAL_RESOURCE(EXTERNAL_PYTHON sbr:629042628) ENDIF() CFLAGS(GLOBAL "/I$EXTERNAL_PYTHON_RESOURCE_G...
goroh: drop unreachable code TEST=none BRANCH=none Tested-by: Eric Yilun Lin
@@ -38,15 +38,7 @@ int svdm_get_hpd_gpio(int port) int pd_snk_is_vbus_provided(int port) { - /* TODO(yllin): check SNK VBUS detection */ return ppc_is_vbus_present(port); - - /* - * (b:181203590#comment20) TODO(yllin): use - * PD_VSINK_DISCONNECT_PD for non-5V case. - */ - return charge_manager_get_vbus_voltage(port) >...
Add a test case about assigning to builtin constants Pallene already forbids this but I think it would be a good idea to add a test case for it.
@@ -405,7 +405,7 @@ describe("Assignment statement", function() ]], "LHS of assignment is not a mutable variable") end) - it("catches assignment to builtin (with correct type)", function () + it("catches assignment to builtin function (with correct type)", function () assert_error([[ function m.f(x: string) end @@ -416...
Remove unused LW locks
@@ -137,9 +137,7 @@ extern PGDLLIMPORT LWLockPadded *MainLWLockArray; #define CommitTsLock (&MainLWLockArray[39].lock) #define ReplicationOriginLock (&MainLWLockArray[40].lock) #define MultiXactTruncationLock (&MainLWLockArray[41].lock) -#define ContQuerySchedulerLock (&MainLWLockArray[42].lock) -#define IPCMessageBrok...
u8x16_compare_byte_mask - optimize to use 128bit registers as suggested by Nintin
@@ -49,30 +49,15 @@ u64x2_is_all_zero (u64x2 x) always_inline u32 u8x16_compare_byte_mask (u8x16 x) { - static int8_t const __attribute__ ((aligned (16))) xr[8] = - { - -7, -6, -5, -4, -3, -2, -1, 0}; - uint8x8_t mask_and = vdup_n_u8 (0x80); - int8x8_t mask_shift = vld1_s8 (xr); - - uint8x8_t lo = vget_low_u8 (x); - ui...
gpcloud: remove redundant CPP flags PG_CPPFLAGS already has them, don't make differences here.
@@ -2,6 +2,6 @@ COMMON_OBJS = gpreader.o gpwriter.o s3conf.o s3utils.o s3log.o s3url.o s3http_he COMMON_LINK_OPTIONS = -lstdc++ -lxml2 -lpthread -lcrypto -lcurl -lz -COMMON_CPP_FLAGS = -O2 -std=c++11 -Wall -fPIC -I/usr/include/libxml2 -I/usr/local/opt/openssl/include +COMMON_CPP_FLAGS = -std=c++11 -fPIC -I/usr/include/...
Added ksceAppMgrDestroyOtherAppByPid
@@ -26,6 +26,7 @@ modules: ksceAppMgrCloudDataSrcMount: 0x6D4D6FFE ksceAppMgrCloudDataVerifyHeader: 0x55D48190 ksceAppMgrDebugSettingNotifyUpdate: 0x7554330F + ksceAppMgrDestroyOtherAppByPid: 0xFC89D33D ksceAppMgrDrmClose: 0x088670A6 ksceAppMgrDrmOpen: 0xEA75D157 ksceAppMgrFakeSaveDataCreateMount: 0x12FC3FA8
News: Remove broken link
@@ -18,8 +18,7 @@ major updates in: ## XDG Compatibility -Elektra now is -[fully XDG 0.8](http://standards.freedesktop.org/basedir-spec/basedir-spec-0.8.html) +Elektra now is fully XDG 0.8 compliant. Following changes were necessary: - newly created configuration files for user/ now have the permissions
Docs: removed debug option from analyzedb and added skip_root_partition reference
[ <b>--gen_profile_only</b> ] [ <b>-p</b> <varname>parallel-level</varname> ] [ <b>--full</b> ] + [ <b>--skip_root_stats</b> ] [ <b>--skip_orca_root_stats</b> ] [ <b>-v</b> | <b>--verbose</b> ] - [ <b>--debug</b> ] [ <b>-a</b> ] <b>analyzedb</b> { <b>--clean_last</b> | <b>--clean_all</b> } <codeph>PGDATABASE</codeph>. ...
User: Please analysers
#include <UserBootServices.h> #include <stdio.h> +#include <stdlib.h> EFI_BOOT_SERVICES mBootServices = { .RaiseTPL = DummyRaiseTPL, @@ -23,7 +24,10 @@ EFI_SYSTEM_TABLE mSystemTable = { .ConOut = &mConOut }; -EFI_RUNTIME_SERVICES mRuntimeServices = { { 0 } }; +EFI_RUNTIME_SERVICES mRuntimeServices = { + { 0 }, + NULL +...
tcmur: when tcmu_notify_lock_lost just warning it Warning it instead of output one error message, the error message may confuse the users.
@@ -194,7 +194,7 @@ void tcmu_notify_lock_lost(struct tcmu_device *dev) struct tcmur_device *rdev = tcmu_get_daemon_dev_private(dev); pthread_mutex_lock(&rdev->state_lock); - tcmu_dev_err(dev, "Async lock drop. Old state %d\n", rdev->lock_state); + tcmu_dev_warn(dev, "Async lock drop. Old state %d\n", rdev->lock_state)...
interface: cleaned up util file
@@ -19,11 +19,6 @@ export function uuid() { return str.slice(0,-1); } -export function isPatTa(str) { - const r = /^[a-z,0-9,\-,\.,_,~]+$/.exec(str); - return Boolean(r); -} - /* Goes from: ~2018.7.17..23.15.09..5be5 // urbit @da @@ -88,23 +83,6 @@ export function hexToUx(hex) { return `0x${ux}`; } -function hexToDec(h...
[util/network] errno -> LastSystemError for dgram sockets.
@@ -372,12 +372,14 @@ protected: public: ssize_t SendTo(const void* msg, size_t len, const ISockAddr* toAddr) { ssize_t ret = toAddr->ResolveAddr(); - if (ret < 0) - return -errno; + if (ret < 0) { + return -LastSystemError(); + } ret = sendto((SOCKET) * this, (const char*)msg, (int)len, 0, toAddr->SockAddr(), toAddr->...
tinyusb: add 'extern C' bit to tusb_console.h Public headers need the "if __cplusplus, extern C" boilerplate. Otherwise, C++ sources which include the header will look for a name-mangled symbol and fail at link time. Closes Closes
#pragma once +#ifdef __cplusplus +extern "C" { +#endif + #include "esp_err.h" /** @@ -31,3 +35,7 @@ esp_err_t esp_tusb_init_console(int cdc_intf); * @return esp_err_t */ esp_err_t esp_tusb_deinit_console(int cdc_intf); + +#ifdef __cplusplus +} +#endif
Use typing.cast instead of unqualified cast
@@ -56,9 +56,10 @@ of BaseTarget in test_generation.py. import itertools import sys +import typing from abc import ABCMeta, abstractmethod -from typing import Iterator, List, Tuple, TypeVar, cast +from typing import Iterator, List, Tuple, TypeVar import scripts_path # pylint: disable=unused-import from mbedtls_dev impo...
Fixed memleaks if PID checks fail in nxt_port_incoming_port_mmap(). Memory allocated for "mem" and "mmap_handler" leaked in that case. Also removed one dead assigment of "hdr" pointer.
@@ -232,6 +232,18 @@ nxt_port_incoming_port_mmap(nxt_task_t *task, nxt_process_t *process, hdr = mem; + if (nxt_slow_path(hdr->src_pid != process->pid + || hdr->dst_pid != nxt_pid)) + { + nxt_log(task, NXT_LOG_WARN, "unexpected pid in mmap header detected: " + "%PI != %PI or %PI != %PI", hdr->src_pid, process->pid, + h...
Doc update for static linking of a model
@@ -22,6 +22,7 @@ You can build this library with command ```bash ya make -r catboost/libs/model_interface/ ``` +You can load your catboost model from file or initialize it from buffer in memory. ### C API We provide really simple model api in catboost/libs/model_interface. Just link ```libcatboostmodel.(so|dll|dylib)`...
HLS Sponge: Add mmio polling
@@ -34,9 +34,10 @@ static unsigned int dnut_trace = 0x0; static unsigned int dnut_config = 0x0; static struct dnut_action *actions = NULL; -#define dnut_trace_enabled() (dnut_trace & 0x1) -#define reg_trace_enabled() (dnut_trace & 0x2) -#define sim_trace_enabled() (dnut_trace & 0x4) +#define dnut_trace_enabled() (dnut_...
stm32/main: Remove need for first_soft_reset variable.
@@ -263,7 +263,7 @@ MP_NOINLINE STATIC bool init_flash_fs(uint reset_mode) { } #if MICROPY_HW_HAS_SDCARD -STATIC bool init_sdcard_fs(bool first_soft_reset) { +STATIC bool init_sdcard_fs(void) { bool first_part = true; for (int part_num = 1; part_num <= 4; ++part_num) { // create vfs object @@ -308,12 +308,12 @@ STATIC ...
fix clean static
@@ -72,7 +72,7 @@ CFLAGS="-fPIC -DPIC" CXXFLAGS="-fPIC -DPIC" FCFLAGS="-fPIC" FFLAGS="-fPIC" \ pushd src/lib ar x libpnetcdf.a mpif77 -shared -Wl,-soname=libpnetcdf.so.%{sonum} -o ../libpnetcdf.so.%{version} *.o -rm libnetcdf.a +rm libpnetcdf.a popd %install
Better memory leak tracking with jet codes.
@@ -378,9 +378,27 @@ _cj_kick_z(u3_noun cor, u3j_core* cop_u, u3j_harm* ham_u, u3_atom axe) return u3_none; } else { +#ifdef U3_MEMORY_DEBUG + c3_w cod_w; + + { + char soc_c[6]; + + memset(soc_c, 0, 6); + strncpy(soc_c, cop_u->cos_c, 5); + soc_c[5] = 0; + cod_w = u3i_string(soc_c); + + cod_w = u3a_lush(cod_w); + } +#en...
actions BUGIFX coverity project name
@@ -9,6 +9,9 @@ on: - master - devel +env: + COVERITY_PROJECT: sysrepo%2Fsysrepo + jobs: git-branch: name: Get git branch @@ -169,7 +172,7 @@ jobs: shell: bash working-directory: ${{ github.workspace }} run: | - wget -q https://scan.coverity.com/download/linux64 --post-data "token=$TOKEN&project=CESNET%2Flibyang" -O co...
avx512/div: add 256-bit fallbacks
@@ -47,7 +47,11 @@ simde_mm512_div_ps (simde__m512 a, simde__m512 b) { a_ = simde__m512_to_private(a), b_ = simde__m512_to_private(b); - #if defined(SIMDE_VECTOR_SUBSCRIPT_OPS) + #if SIMDE_NATURAL_VECTOR_SIZE_LE(256) + for (size_t i = 0 ; i < (sizeof(r_.m256) / sizeof(r_.m256[0])) ; i++) { + r_.m256[i] = simde_mm256_di...
Add %p to libc's debug printf
@@ -120,6 +120,10 @@ reswitch: switch (ch = *fmt++) { va_arg(ap, uint32_t) : va_arg(ap, uint32_t); kprintn(put, ul, 10, width, zwidth); break; + case 'p': + ul = va_arg(ap, ptrdiff_t); + kprintn(put, ul, 16, width, zwidth); + break; case 'x': ul = lflag ? va_arg(ap, uint32_t) : va_arg(ap, uint32_t);
recommend Vivado 2018.1 in README
@@ -52,7 +52,7 @@ As of now, the following FPGA cards can be used with SNAP: Development is usually done on a Linux (x86) computer. The required tools and packages are listed below. Web access to github is recommended to follow the build instructions. A real FPGA card is not required for the plain hardware development....
Use 802.15.4 frames v2 by default only for TSCH, else fall back to v1
#ifdef FRAME802154_CONF_VERSION #define FRAME802154_VERSION FRAME802154_CONF_VERSION #else /* FRAME802154_CONF_VERSION */ +/* Use frame v2 if TSCH is used, otherwise stick to v1 (more +frame-fileting-friendly on some platforms) */ +#if MAC_CONF_WITH_TSCH #define FRAME802154_VERSION FRAME802154_IEEE802154_2015 +#else /*...
servo: init hbridge even if ID check fails This will ensure motor states are set to zero. On stm32 devices, this also means we turn off the hbridge, so we safely stop if there was an ID or IO error during setup or init/reset.
@@ -95,6 +95,13 @@ static pbio_error_t pbio_servo_setup(pbio_servo_t *srv, pbio_direction_t directi // Get device ID pbio_iodev_type_id_t id; err = pbdrv_motor_get_id(srv->port, &id); + + // If no device is found on this port, always attempt to reset hbridge, in order to safely coast + if (err == PBIO_ERROR_NO_DEV) { +...
dev-tools/cmake: add build dep for sles (libbz2-devel)
@@ -35,6 +35,7 @@ BuildRequires: zlib-devel BuildRequires: pkgconfig %if 0%{?sles_version} || 0%{?suse_version} BuildRequires: libexpat-devel +BuildRequires: libbz2-devel %else BuildRequires: expat-devel
re-edited getstarted
sudo make install sudo ldconfig #optional: check installation documentation for more information ``` - [Installation documentation](/doc/INSTALL.md) documentation contains further information about available packages. + [Installation documentation](/doc/INSTALL.md) contains further information about available packages....
Check Env Dep: Do not require Bash Before this update `kdb run_all` would fail, if the current system does not include the `bash` shell.
-#!/usr/bin/env bash +#!/usr/bin/env sh OLD_IFS="$IFS" IFS="$(printf '\n+')" @@ -29,7 +29,12 @@ for env in $ENV; do NEW_VALUE=$(generate_random_string) export "$NAME"="$NEW_VALUE" > /dev/null 2>&1 NEW_PATHS="$($KDB mount-list-all-files 2> /dev/null)" - DIFF="$(comm -3 <(echo "$ORIG_PATHS" | sort 2> /dev/null) <(echo "$...
if AOMP points to trunk build, get rocm_agent_enumerator from /opt/rocm/bin. This change allow smoke tests to run with AOMP pointing to the trunk on systems with rocm installed.
@@ -70,7 +70,12 @@ else INSTALLED_GPU = $(shell $(AOMP)/bin/offload-arch -c | grep -oP gfx.+?\(?=:\)) # Default to rocm_agent_enumerator. Returns first GPU in list. else + ifneq ("$(wildcard $(AOMP)/bin/rocm_agent_enumerator)","") INSTALLED_GPU = $(shell $(AOMP)/bin/rocm_agent_enumerator | grep -m 1 -E gfx[^0]{1}.{2}) ...
unit-test: fix esp32 phy enable test case
#include <freertos/task.h> #include <freertos/semphr.h> #include "soc/soc_caps.h" +#include "esp_private/wifi.h" #if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32C3) @@ -52,6 +53,9 @@ static void test_phy_rtc_init(void) static IRAM_ATTR void test_phy_rtc_cache_task(void *arg) { + //power up wifi and bt mac bb power do...
nvm toggle debug logging function description update
@@ -2876,14 +2876,14 @@ NVM_API int nvm_debug_logging_enabled(); /** * @brief Toggle whether the native API library performs debug logging. * @param[in] enabled @n - * 0: Log native API errors only. @n - * 1: Log all native API traces. @n + * 0: Debug logger disabled. @n + * 1: Log warning and error debug traces to the...
VERSION bump to version 0.11.19
@@ -32,7 +32,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 11) -set(LIBNETCONF2_MICRO_VERSION 18) +set(LIBNETCONF2_MICRO_VERSION 19) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(L...
common/pstore_commands.c: Format with clang-format BRANCH=none TEST=none
@@ -23,8 +23,7 @@ pstore_command_get_info(struct host_cmd_handler_args *args) args->response_size = sizeof(*r); return EC_RES_SUCCESS; } -DECLARE_HOST_COMMAND(EC_CMD_PSTORE_INFO, - pstore_command_get_info, +DECLARE_HOST_COMMAND(EC_CMD_PSTORE_INFO, pstore_command_get_info, EC_VER_MASK(0)); static enum ec_status pstore_c...
Add Hornetsecurity to "who's using YARA"
@@ -65,6 +65,7 @@ helpful extension to YARA developed and open-sourced by Bayshore Networks. * [FSF](https://github.com/EmersonElectricCo/fsf) * [Guidance Software](http://www.guidancesoftware.com/endpointsecurity) * [Heroku](https://heroku.com) +* [Hornetsecurity](https://www.hornetsecurity.com/en/) * [InQuest](http:/...
add wget flag to example
@@ -74,7 +74,7 @@ bash -c "$(curl -fsSL https://zmkfirmware.dev/setup.sh)" <TabItem value="wget"> ``` -bash -c "$(wget https://zmkfirmware.dev/setup.sh -O -)" +bash -c "$(wget https://zmkfirmware.dev/setup.sh -O -)" '' --wget ``` </TabItem>
py/builtinimport: Don't overwrite "__main__" symbol in a module. For example, per strict mode (tentative name) conventions, __main__ is a startup function which should be defined by user. Instead, store original module name in "<module>" attribute, which hopefully never used by a user.
@@ -285,7 +285,7 @@ mp_obj_t mp_builtin___import__(size_t n_args, const mp_obj_t *args) { #if MICROPY_CPYTHON_COMPAT if (MP_OBJ_QSTR_VALUE(this_name_q) == MP_QSTR___main__) { // This is a module run by -m command-line switch, get its real name from backup attribute - this_name_q = mp_obj_dict_get(MP_OBJ_FROM_PTR(mp_glo...
kdb: better errors in kdbEnsure
@@ -1741,6 +1741,8 @@ static int ensureGlobalPluginMounted (KDB * handle, const char * pluginName, Key if (result == ELEKTRA_PLUGIN_STATUS_ERROR) { ELEKTRA_LOG_WARNING ("could not add plugin %s to list plugin", pluginName); + ELEKTRA_SET_VALIDATION_SEMANTIC_ERRORF (errorKey, "The global plugin %s couldn't be mounted (v...
ipsec: Mark the interface create reply deprecated Type: fix I should have done this wehn i marked the request as deprecated. The reply also needs to be marked deprecated so the API compliance script can remove it along with the request.
@@ -389,6 +389,7 @@ define ipsec_tunnel_if_add_del { @param sw_if_index - sw_if_index of new interface (for successful add) */ define ipsec_tunnel_if_add_del_reply { + option deprecated; u32 context; i32 retval; vl_api_interface_index_t sw_if_index;
fixed bug with event header size
@@ -631,8 +631,7 @@ _sist_rest_nuu(u3_ulog* lug_u, u3_uled led_u, c3_c* old_c) } c3_o fir_o = c3y; - c3_d pos_d; - c3_d new_d = c3_wiseof(u3_uled); + c3_d pos_d, new_d; while ( end_d != c3_wiseof(u3_uled) ) { c3_d tar_d; @@ -661,7 +660,7 @@ _sist_rest_nuu(u3_ulog* lug_u, u3_uled led_u, c3_c* old_c) // if (c3y == fir_o)...
spec: fix kdbSet cascading keys
@@ -736,6 +736,10 @@ static int processSpecKey (Key * specKey, Key * parentKey, KeySet * ks, const Co { Key * newKey = keyNew (strchr (keyName (specKey), '/'), KEY_CASCADING_NAME, KEY_END); copyMeta (newKey, specKey); + if (!isKdbGet) + { + keySetMeta (newKey, "internal/spec/remove", ""); + } ksAppendKey (ks, newKey); ...
fix minor problems in proxy configurator.
@@ -302,14 +302,14 @@ static int on_config_reverse_backends(h2o_configurator_command_t *cmd, h2o_confi sequence = 1; count = node->data.sequence.size; if (self->vars->keepalive_timeout == 0 && count > 1) { - h2o_configurator_errprintf(cmd, node, "for now we don't support multiple backends with keep-alive disabled"); + ...
Remove unnecessary whitelist in readBindingTable function
@@ -132,9 +132,6 @@ bool DeRestPluginPrivate::readBindingTable(RestNodeBase *node, quint8 startIndex else if (r && r->item(RAttrModelId)->toString().startsWith(QLatin1String("FLS-"))) { } - else if (checkMacVendor(node->address(), VENDOR_NETVOX)) - { - } else { node->clearRead(READ_BINDING_TABLE);
whoismac: Accept addresses with delimiters, eg or c0:a1:b5:12:34:56
@@ -474,20 +474,21 @@ while ((auswahl = getopt(argc, argv, "m:v:p:P:e:x:dh")) != -1) break; case 'm': - if(strlen(optarg) == 6) - { + switch (strlen(optarg)) + { + case 17: + case 8: + memmove(&optarg[5], &optarg[6], 2); + memmove(&optarg[2], &optarg[3], 4); + case 12: + optarg[6] = 0; + case 6: oui = strtoull(optarg, ...
Provide helpful message if -output option is invalid.
@@ -2283,7 +2283,24 @@ ReadCmdLineShowOptions( *pFormatType = XML; SET_FORMAT_ESX_CUSTOM_FLAG(pCmd->pShowCtx); } - else ReturnCode = EFI_INVALID_PARAMETER; + else { + // Print out syntax specific help message for invalid -output option + CHAR16 * pHelpStr = getCommandHelp(pCmd, TRUE); + CHAR16 *pSyntaxTokStr = CatSPrin...
stm32/sdram: Make MICROPY_HW_FMC_BA1,MICROPY_HW_FMC_A11 optional pins. This supports SDRAM having only 2 internal banks (using BA0 only), and only 11 (A0-A10) bits of address, such as IS42S16100H (512K x 16bit x 2bank).
@@ -73,7 +73,9 @@ bool sdram_init(void) { mp_hal_pin_config_alt_static_speed(MICROPY_HW_FMC_SDNRAS, MP_HAL_PIN_MODE_ALT, MP_HAL_PIN_PULL_NONE, MP_HAL_PIN_SPEED_VERY_HIGH, STATIC_AF_FMC_SDNRAS); mp_hal_pin_config_alt_static_speed(MICROPY_HW_FMC_SDNWE, MP_HAL_PIN_MODE_ALT, MP_HAL_PIN_PULL_NONE, MP_HAL_PIN_SPEED_VERY_HIGH...
chore: remove delay.h
<ClInclude Include="..\..\..\include\LCUI\thread.h" /> <ClInclude Include="..\..\..\include\LCUI\timer.h" /> <ClInclude Include="..\..\..\include\LCUI\util.h" /> - <ClInclude Include="..\..\..\include\LCUI\util\delay.h" /> <ClInclude Include="..\..\..\include\LCUI\util\dict.h" /> <ClInclude Include="..\..\..\include\LC...
Metaknight: Remove legacy board This removes the last remaining reference to metaknight_light. We already removed the board. BRANCH=None TEST=buildall passes
CHIP:=npcx CHIP_FAMILY:=npcx7 -# A limited metaknight_legacy boards are reworked with NPCX796FC variant. -# Set the modify the variant type to match. -ifeq ($(BOARD),metaknight_legacy) -CHIP_VARIANT:=npcx7m6fc -else CHIP_VARIANT:=npcx7m7fc -endif BASEBOARD:=dedede board-y=board.o battery.o led.o usb_pd_policy.o
Minor improvements in description of spilled counters in pg_stat_replication_slots view. Per a suggestion by Justin Pryzby. Discussion:
@@ -2614,10 +2614,9 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i <structfield>spill_count</structfield> <type>bigint</type> </para> <para> - Number of times transactions were spilled to disk while performing - decoding of changes from WAL for this slot. Transactions - may get spil...
include/ocpc.h: Format with clang-format BRANCH=none TEST=none
@@ -49,8 +49,8 @@ struct ocpc_data { * @return EC_SUCCESS on success, error otherwise. */ int ocpc_config_secondary_charger(int *desired_input_current, - struct ocpc_data *ocpc, - int voltage_mv, int current_ma); + struct ocpc_data *ocpc, int voltage_mv, + int current_ma); /** Get the runtime data from the various ADCs...
options/ansi: Implement %R and %T in strftime()
@@ -141,6 +141,18 @@ size_t strftime(char *__restrict dest, size_t max_size, return 0; p += chunk; c += 2; + }else if (*(c + 1) == 'R') { + auto chunk = snprintf(p, space, "%.2i:%.2i", tm->tm_hour, tm->tm_min); + if(chunk >= space) + return 0; + p += chunk; + c += 2; + }else if (*(c + 1) == 'T') { + auto chunk = snprin...
Correct data type for RConfigFanMode
@@ -276,7 +276,7 @@ void initResourceDescriptors() rItemDescriptors.emplace_back(ResourceItemDescriptor(DataTypeUInt16, RConfigDelay)); rItemDescriptors.emplace_back(ResourceItemDescriptor(DataTypeBool, RConfigDisplayFlipped)); rItemDescriptors.emplace_back(ResourceItemDescriptor(DataTypeUInt16, RConfigDuration)); - rI...
Doxygen for tsch-adaptive-sync.h
/***** External Variables *****/ -/* The neighbor last used as our time source */ +/** \brief The neighbor last used as our time source */ extern struct tsch_neighbor *last_timesource_neighbor; /********** Functions *********/ +/** + * \brief Updates timesync information for a given neighbor + * \param n The neighbor +...
Reset zombie delay to UINT64_MAX
@@ -3794,7 +3794,7 @@ int picoquic_prepare_next_packet(picoquic_quic_t* quic, if (cnx->client_mode) { /* Do not unilaterally delete the connection context, as it was set by the application */ - picoquic_reinsert_by_wake_time(cnx->quic, cnx, current_time + PICOQUIC_MICROSEC_WAIT_MAX); + picoquic_reinsert_by_wake_time(cn...
Test rate limited bootstrap using LCB_TYPE_CLUSTER as well as LCB_TYPE_BUCKET Tested-by: Build Bot
@@ -214,6 +214,15 @@ TEST_F(RateLimitTest, testRateLimitsKVMaxConnections) ASSERT_STATUS_EQ(LCB_SUCCESS, retry_connect_on_auth_failure(hw, &instance, username, "password")); + // max connections is per node so if we have multiple nodes, we need to force a connection to all of them to trigger + // an error + + lcb_CMDPI...
auth zone: default is https if no 'http://' given.
@@ -5916,16 +5916,16 @@ parse_url(char* url, char** host, char** file, int* port, int* ssl) /* parse http://www.example.com/file.htm * or http://127.0.0.1 (index.html) * or https://[::1@1234]/a/b/c/d */ - *ssl = 0; - *port = AUTH_HTTP_PORT; + *ssl = 1; + *port = AUTH_HTTPS_PORT; /* parse http:// or https:// */ if(strnc...
Fix missing main div in example file system
@@ -59,6 +59,7 @@ responseData[] = "" " <div class=\"container\">\n" " <h1>Welcome to web server hosted by ESP8266 Wi-Fi module!</h1>\n" " </div>\n" + " <div id=\"maindiv\"></div>" " <footer>\n" " <div class=\"container\">\n" " Copyright &copy; 2017. All rights reserved. Webserver is hosted on ESP8266.\n"
filter_kubernetes: validate metadata is a map
@@ -551,8 +551,10 @@ static int merge_meta(struct flb_kube_meta *meta, struct flb_kube *ctx, k = api_map.via.map.ptr[i].key; if (k.via.str.size == 8 && !strncmp(k.via.str.ptr, "metadata", 8)) { meta_val = api_map.via.map.ptr[i].val; + if (meta_val.type == MSGPACK_OBJECT_MAP) { meta_found = FLB_TRUE; } + } else if (k.vi...
config-tools: hide the 'update-pciids: download failed' message Use stderror to redirect error message to subprocess.DEVNULL to hide it when the "update pciids" command is called.
@@ -67,7 +67,7 @@ def check_deps(): # Try updating pci.ids for latest PCI device descriptions try: logger.info("Updating pci.ids for latest PCI device descriptions.") - res = subprocess.Popen(["update-pciids", "-q"]) + res = subprocess.Popen(["update-pciids", "-q"], stderr=subprocess.DEVNULL) if res.wait() != 0: logger...
refactor(hid): replace `kp_report` with `keyboard_report` Aligns with other existing conventions.
@@ -10,7 +10,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL); #include <zmk/hid.h> #include <dt-bindings/zmk/modifiers.h> -static struct zmk_hid_keyboard_report kp_report = { +static struct zmk_hid_keyboard_report keyboard_report = { .report_id = 1, .body = {.modifiers = 0, ._reserved = 0, .keys = {0}}}; static stru...
notifications: refactor group notification to match spec
@@ -12,6 +12,7 @@ import { import { Header } from './header'; import GlobalApi from '~/logic/api/global'; +import {useAssocForGroup} from '~/logic/state/metadata'; function describeNotification(description: string, plural: boolean) { switch (description) { @@ -52,23 +53,16 @@ export function GroupNotification(props: Gr...
riscv: Fixes GDB backtrace of interrupted threads Save missed SP value on stack
@@ -201,6 +201,17 @@ _interrupt_handler: save_general_regs save_mepc + /* Though it is not necessary we save GP and SP here. + * SP is necessary to help GDB to properly unwind + * the backtrace of threads preempted by interrupts (OS tick etc.). + * GP is saved just to have its proper value in GDB. */ + /* As gp registe...
[riscv-tests] Verify Xpulpv2 SIMD test cases
@@ -20,7 +20,7 @@ RVTEST_CODE_BEGIN # pv.avg.h TEST_RR_OP( 2, pv.avg.h, 0xDFA53D57, 0x2C5F4D25, 0x92EC2D89 ); TEST_RR_OP( 3, pv.avg.h, 0x18A2C49C, 0xD09FBFB6, 0x60A5C983 ); - TEST_RR_OP( 4, pv.avg.h, 0xD290A560, 0xE37F8F8F, 0xC1A2BB32 ); + TEST_RR_OP( 4, pv.avg.h, 0xD2902560, 0xE37F8F8F, 0xC1A2BB32 ); # pv.avg.sc.h TES...
Update build error on Ubuntu
@@ -99,7 +99,7 @@ if(PAL_IMPLEMENTATION STREQUAL "CPP11") pal/posix/NetworkInformationImpl.cpp ) endif() - if(BUILD_OBJC_WRAPPER) + if(APPLE AND BUILD_OBJC_WRAPPER) message("Include Wrappers") list(APPEND SRCS ../wrappers/obj-c/ODWLogger.mm
Add fast path for small xSYR with INCX==1
@@ -168,7 +168,28 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint n, FLOAT alpha, IDEBUG_START; FUNCTION_PROFILE_START(); - +#if 1 + if (incx == 1 && n < 100) { + BLASLONG i; + + if (uplo == 0) { + for (i = 0; i < n; i++){ + if (x[i] != ZERO) { + AXPYU_K(i + 1, 0, 0, alpha * x[i], x, 1, a, 1, NULL, ...
record: apply suggestions for the remove keys use case
-# Use Case: Possibility to delete keys in ansible-libelektra +# Use Case: Remove keys in ansible-libelektra ## Summary -- **Title:** Possibility to delete keys in ansible-libelektra +- **Title:** Remove keys in ansible-libelektra - **Scope:** ansible-libelektra - **Level:** User Goal -- **Actors:** User (usually sysad...
Update main.tex Change reference 2017arXiv170103592C into published version 2017A&A...602A..72C (JEC)
@@ -680,7 +680,7 @@ The Limber approximation works best for wide radial kernels and high $\ell$. \ccl incorporates natively routines to compute the $C^{ab}_\ell$ angular power spectra as described above without the Limber approximation. The algorithm performs first the integrals over $z$ for both tracers, and ends with...
make make_z3op_scalar fast
@@ -390,22 +390,27 @@ static void* gpu_constant(const void* vp, size_t size) static void make_z3op_scalar(md_z3op_t fun, unsigned int D, const long dims[D], const long ostr[D], complex float* optr, const long istr[D], const complex float* iptr, complex float val) { - complex float* valp = &val; + size_t size = CFL_SIZE...
esp32-sparrow-kit: enable support for MMCSD-SPI Add the necessary configs to the default nsh config file in order to enable support for MMCSD-SPI.
# modifications. # # CONFIG_ARCH_LEDS is not set +# CONFIG_ESP32_SPI2_DMA is not set +# CONFIG_MMCSD_HAVE_CARDDETECT is not set +# CONFIG_MMCSD_HAVE_WRITEPROTECT is not set +# CONFIG_MMCSD_MMCSUPPORT is not set # CONFIG_NSH_ARGCAT is not set # CONFIG_NSH_CMDOPT_HEXDUMP is not set # CONFIG_NSH_CMDPARMS is not set +# CON...
Change rendering order if NML models vs 2D billboards, for better backwards compatibility
@@ -136,7 +136,31 @@ namespace carto { opacity = layer->getOpacity(); } - // Prepare for drawing + // Gather/draw NML models + _nmlDrawDataBuffer.clear(); + for (const std::shared_ptr<BillboardDrawData>& drawData : billboardDrawDatas) { + if (auto nmlDrawData = std::dynamic_pointer_cast<NMLModelDrawData>(drawData)) { +...
start working on component structs
<Compile Include="Component\GUI\AtkUnitBase.cs" /> <Compile Include="Component\GUI\AtkUnitList.cs" /> <Compile Include="Component\GUI\AtkUnitManager.cs" /> + <Compile Include="FFXIVByteColor.cs" /> <Compile Include="FFXIVString.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup>
board/liara/led.c: Format with clang-format BRANCH=none TEST=none
@@ -20,12 +20,9 @@ const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids); */ struct pwm_led_color_map led_color_map[EC_LED_COLOR_COUNT] = { /* White, Amber */ - [EC_LED_COLOR_RED] = { 0, 0 }, - [EC_LED_COLOR_GREEN] = { 0, 0 }, - [EC_LED_COLOR_BLUE] = { 0, 0 }, - [EC_LED_COLOR_YELLOW] = { 0, 0 }, - [EC_LED_C...
added some weak pass candidates
@@ -80,9 +80,9 @@ size_t ca, cn, cs; char pskstring[PSKSTRING_LEN_MAX] = {}; -const char *adjectiv[] = { "ancient", "antique", "aquatic", "absurd", +const char *adjectiv[] = { "absurd", "ancient", "antique", "aquatic", "baby", "basic", "big", "bitter", "black", "blue", "bold", "bottled", "brave", "breezy", "bright", "b...
gfx: remove "GFXPrimitive" prefix in some functions for simplicity
@@ -607,7 +607,7 @@ func BezierRGBA(renderer *sdl.Renderer, vx, vy []int16, s int, r, g, b, a uint8) return C.bezierRGBA((*C.SDL_Renderer)(unsafe.Pointer(renderer)), _vx, _vy, _len, _s, _r, _g, _b, _a) == 0 } -func GFXPrimitiveSetFont(fontdata []byte, cw, ch uint32) { +func SetFont(fontdata []byte, cw, ch uint32) { _fo...
Hub: Remove multi-level hub bypass
@@ -1513,14 +1513,6 @@ static bool _parse_configuration_descriptor(uint8_t dev_addr, tusb_desc_configur uint16_t const drv_len = tu_desc_get_interface_total_len(desc_itf, assoc_itf_count, desc_end-p_desc); TU_ASSERT(drv_len >= sizeof(tusb_desc_interface_t)); - if (desc_itf->bInterfaceClass == TUSB_CLASS_HUB && dev->hub...
ChangeLog.txt: Change the release back to 7/21.
* apps/graphics/twm4ndx: Compile out cursor support if we are using a mouse From Gregory Nutt (2019-05-17). -7.31 2019-07-22 Gregory Nutt <gnutt@nuttx.org> +7.31 2019-07-21 Gregory Nutt <gnutt@nuttx.org> * Remove some cases in Kconfig files of 'comment' with 'depends on'. That is probably a good practice. I removed the...
Fix oic.if.ll removal for IPv4. Tested-by: Kishen Maloor
@@ -323,9 +323,7 @@ oc_do_ipv4_discovery(const oc_client_cb_t *ipv6_cb, const char *rt, memcpy(cb->token, ipv6_cb->token, cb->token_len); if (rt && strlen(rt) > 0) { - oc_concat_strings(&uri_query, "if=oic.if.ll&rt=", rt); - } else { - oc_new_string(&uri_query, "if=oic.if.ll", 12); + oc_concat_strings(&uri_query, "rt="...
Minor reformatting of gps.js.
@@ -72,9 +72,9 @@ function GPSCtrl($rootScope, $scope, $state, $http, $interval) { $scope.Quality = status.Quality; var solutionText = "No Fix"; - if (status.Quality == 2) { + if (status.Quality === 2) { solutionText = "GPS + SBAS (WAAS / EGNOS)"; - } else if (status.Quality == 1) { + } else if (status.Quality === 1) {...
zephyr/subsys/ap_pwrseq/x86_non_dsx_adlp_pwrseq_sm.c: Format with clang-format BRANCH=none TEST=none
@@ -20,8 +20,7 @@ static int check_pch_out_of_suspend(void) /* * Wait for SLP_SUS deasserted. */ - ret = power_wait_mask_signals_timeout(IN_PCH_SLP_SUS, - 0, + ret = power_wait_mask_signals_timeout(IN_PCH_SLP_SUS, 0, IN_PCH_SLP_SUS_WAIT_TIME_MS); if (ret == 0) { LOG_DBG("SLP_SUS now %d", power_signal_get(PWR_SLP_SUS));...
coll: bang on read again
@@ -1107,10 +1107,13 @@ static void coll_bind(t_coll *x, t_symbol *name) collcommon_editorhook); } else{ - //bang if you find collcommon existing already + //bang if you find collcommon existing already, + //but shouldn't be for no search + if(!nosearch){ x->x_filebang = 1; clock_delay(x->x_clock, 0); }; + }; x->x_comm...
Fix build options for SolarisStudio compilers
@@ -3,21 +3,29 @@ RANLIB = ranlib ifdef BINARY64 +ifeq ($(C_COMPILER), GCC) CCOMMON_OPT += -mcpu=v9 -m64 +else +CCOMMON_OPT += -m64 +endif ifeq ($(COMPILER_F77), g77) FCOMMON_OPT += -mcpu=v9 -m64 endif -ifeq ($(COMPILER_F77), f90) -FCOMMON_OPT += -xarch=v9 +ifeq ($(COMPILER_F77), f95) +FCOMMON_OPT += -m64 endif else +i...
armstubs: License is BSD-3-Clause All source files in the armstubs directory have a 3-clause BSD license. The Makefile doesn't appear to use any files from outside this directory during the build.
DESCRIPTION = "Boot strap code that the GPU puts on memory to start running the boot loader" -LICENSE = "Proprietary" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://armstub.S;beginline=1;endline=26;md5=9888f34ac06a676129416c952a6a521e"
Encoder readme tweaks
@@ -63,8 +63,6 @@ Be aware that the count is stored as an integer, if it is continually increased Often you are not interested in the exact count that the encoder is at, but rather if the count has changed since the last time you checked. This change can be read by calling `.delta()` at regular intervals. The returned ...
error.c re-generated.
@@ -215,8 +215,6 @@ const char * mbedtls_high_level_strerr( int error_code ) return( "CIPHER - Authentication failed (for AEAD modes)" ); case -(MBEDTLS_ERR_CIPHER_INVALID_CONTEXT): return( "CIPHER - The context is invalid. For example, because it was freed" ); - case -(MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED): - return( ...
[doc] minor update to *outdated* doc x-ref: "unknown config-key: auth.debug (ignored)" github: closes
@@ -21,6 +21,11 @@ Module: mod_auth Description =========== + +NOTE: latest documentation can be found at: +https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth + + Supported Methods ----------------- @@ -140,10 +145,6 @@ Configuration :: - ## debugging - # 0 for off, 1 for 'auth-ok' messages, 2 for verbose...
correct readme title
-# Pico Enviro+ MicroPython Examples <!-- omit in toc --> +# Pico Inky Frame MicroPython Examples <!-- omit in toc --> - [PicoGraphics](#picographics) - [Examples](#examples) @@ -25,6 +25,8 @@ Finally for examples loading images, you'll need `sdcard.mpy` from `common/lib`. ### Daily Activity [inky_frame_daily_activity....
[BSP] Add '-nostartfiles' to link flags.
@@ -37,7 +37,7 @@ if PLATFORM == 'gcc': CFLAGS = DEVICE + ' -Wall' AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -D__ASSEMBLY__' LINK_SCRIPT = 'link.lds' - LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,system_vectors'+\ + LFLAGS = DEVICE + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref...
Add minimal fuzz test for binary log
@@ -553,6 +553,7 @@ static char const* log_test_file = "log_test.txt"; static char const* log_fuzz_test_file = "log_fuzz_test.txt"; static char const* log_packet_test_file = "log_fuzz_test.txt"; static char const* binlog_test_file = "binlog_test.log"; +static char const* binlog_fuzz_test_file = "binlog_fuzz_test.log"; ...
Refactor check.go.
@@ -192,6 +192,46 @@ func (c *Checker) checkStatus(node *a.Node) error { return nil } +func (c *Checker) checkStructDecl(node *a.Node) error { + n := node.Struct() + id := n.Name() + if other, ok := c.structs[id]; ok { + return &Error{ + Err: fmt.Errorf("check: duplicate struct %q", id.String(c.tm)), + Filename: n.File...
oic; on oc_reset memset() g_encoder with 0.
@@ -31,7 +31,6 @@ static uint8_t oc_rep_objects_area[OS_MEMPOOL_BYTES(EST_NUM_REP_OBJECTS, sizeof(oc_rep_t))]; #endif -static const CborEncoder g_empty; static struct os_mbuf *g_outm; CborEncoder g_encoder, root_map, links_array; CborError g_err; @@ -60,7 +59,7 @@ oc_rep_finalize(void) void oc_rep_reset(void) { - g_enc...
documentation: move protocol api internal
@@ -64,6 +64,10 @@ if(INTERNAL_MFG) include(CMake/mfg.cmake) endif() +if(EXISTS CMake/internal.cmake) + include(CMake/internal.cmake) +endif() + message(BUILD_TYPE: ${CMAKE_BUILD_TYPE}) message(OS_TYPE: ${OS_TYPE}) message(LIB_TYPE: ${LIB_TYPE}) @@ -586,16 +590,6 @@ if(DOXYGEN_FOUND) WORKING_DIRECTORY ${ROOT}/output/${...
Fix new_fallback_tileset attributes. TCOD_NODISCARD is more reliable than using a C++ tag. This function needed to be inline.
@@ -46,8 +46,8 @@ TCOD_Tileset* TCOD_tileset_load_fallback_font_(int tile_width, int tile_height); #ifdef __cplusplus namespace tcod { namespace tileset { -[[nodiscard]] -auto new_fallback_tileset(const std::array<int, 2>& tile_size = {0, 12}) +TCOD_NODISCARD +inline auto new_fallback_tileset(const std::array<int, 2>& ...
fix /+ and /- with ship and case
=+ vez=(vang & (tope bem)) =< hood |% - ++ case + ++ case :: %clay revision %+ sear - |= a/coin - ?. ?=({$$ ?($da $ud $tas) *} a) ~ - [~ u=(^case a)] + |= a/coin ^- (unit ^case) + ?. ?=({$$ ^case} a) ~ + [~ u=p.a] nuck:so :: ++ mota ;~(pfix pat mota:vez) :: atom odor
Net-KVM: Handle memory allocation failure
@@ -107,6 +107,14 @@ VOID CGratuitousArpPackets::CreateNBL(PVOID packet, UINT size, bool isIPV4) } nbl->SourceHandle = m_Context->MiniportHandle; CGratARPPacketHolder *GratARPPacket = new (m_Context->MiniportHandle) CGratARPPacketHolder(nbl, m_Context->MiniportHandle, isIPV4); + if (!GratARPPacket) + { + DPrintf(0, ("[...
Limit QPACK encoder dynamic table capacity Previously the header table size was adopted unchecked from the remote's SETTINGS frame. In the worst case, this could lead to 2^32 - 1 bytes being allocated. With this commit, H2O_HTTP3_MAX_HEADER_TABLE_SIZE is used as an upper bound.
@@ -812,6 +812,9 @@ int h2o_qpack_parse_response(h2o_mem_pool_t *pool, h2o_qpack_decoder_t *qpack, i h2o_qpack_encoder_t *h2o_qpack_create_encoder(uint32_t header_table_size, uint16_t max_blocked) { + if (header_table_size > H2O_HTTP3_MAX_HEADER_TABLE_SIZE) + header_table_size = H2O_HTTP3_MAX_HEADER_TABLE_SIZE; + h2o_q...
py/obj.h: PRINT_EXC is no longer used, remove. TODO: Renumber other values.
@@ -409,7 +409,6 @@ typedef mp_obj_t (*mp_fun_kw_t)(size_t n, const mp_obj_t *, mp_map_t *); typedef enum { PRINT_STR = 0, PRINT_REPR = 1, - PRINT_EXC = 2, // Special format for printing exception in unhandled exception message PRINT_JSON = 3, PRINT_RAW = 4, // Special format for printing bytes as an undercorated strin...