message
stringlengths
6
474
diff
stringlengths
8
5.22k
Clarify changes around modules
@@ -53,6 +53,11 @@ Open a pull request against the main `cpp_client_telemetry` repo. as `work-in-progress`, or mark it as [`draft`](https://github.blog/2019-02-14-introducing-draft-pull-requests/). * Make sure CLA is signed and CI is clear. +### Making Changes to Modules +* Navigate to lib/modules +* Check out a branch...
change parameter order of train() function to be consistant with other gbdt libraries
@@ -1948,20 +1948,30 @@ class CatBoostRegressor(CatBoost): return np.sqrt(np.mean(error)) -def train(pool=None, params=None, dtrain=None, logging_level=None, verbose=None, iterations=None, num_boost_round=None, evals=None, eval_set=None, plot=None): +def train(params=None, pool=None, iterations=None, evals=None, verbos...
Update src/libs/elektra/plugin.c
@@ -163,7 +163,7 @@ size_t elektraPluginGetFunction (Plugin * plugin, const char * name) if (strstr (name, "..") != NULL) { - // The sequence ".." is contained in the key. + // The sequence ".." is contained in the name. // For security and stability purposes we do not allow that. return 0; }
Fix usage of QNetworkAccessManager::sendCustomRequest() for Qt version >= 4.7 Issue
* */ +#include <QBuffer> #include <QString> #include <QVariantMap> #include <QRegExp> @@ -1622,7 +1623,10 @@ int DeRestPluginPrivate::handleWebHook(const RuleAction &action) { QNetworkRequest req(QUrl(action.address())); - if (webhookManager->sendCustomRequest(req, qPrintable(action.method()), qPrintable(action.body())...
Fix documentation for gdbstub module.
@@ -16,6 +16,12 @@ At this point, you can just poke around and see what happened, but you cannot co In order to do interactive debugging, add a call to `gdbstub.brk()` in your Lua code. This will trigger a break instruction and will trap into gdb as above. However, continuation is supported from a break instruction and...
vlib: add vlib_buffer_free_from_ring
@@ -433,6 +433,32 @@ vlib_buffer_free_one (vlib_main_t * vm, u32 buffer_index) vlib_buffer_free (vm, &buffer_index, /* n_buffers */ 1); } +/** \brief Free buffers from ring + + @param vm - (vlib_main_t *) vlib main data structure pointer + @param buffers - (u32 * ) buffer index ring + @param start - (u32) first slot in...
Adding a constant for the desired alignments
@@ -32,6 +32,8 @@ typedef char hashkey_t[64]; typedef char hashdata_t[256]; /* FIXME Make tables entry size a multiple of 64 bytes */ +#define HASHJOIN_ALIGNMENT 128 + typedef struct table1_s { hashkey_t name; /* 64 bytes */ uint32_t age; /* 4 bytes */
Remove CountSetBits function. This function is not being used anywhere.
@@ -272,22 +272,6 @@ TCOD_list_t TCOD_sys_get_directory_content(const char* path, const char* pattern } /* thread stuff */ -#ifdef TCOD_WINDOWS -/* Helper function to count set bits in the processor mask. */ -static DWORD CountSetBits(ULONG_PTR bitMask) { - DWORD L_SHIFT = sizeof(ULONG_PTR) * 8 - 1; - DWORD bitSetCount...
board/kinox/fw_config.h: Format with clang-format BRANCH=none TEST=none
* Source of truth is the project/brask/kinox/config.star configuration file. */ -enum ec_cfg_dp_display { - ABSENT = 0, - DB_HDMI = 1, - DB_DP = 2 -}; +enum ec_cfg_dp_display { ABSENT = 0, DB_HDMI = 1, DB_DP = 2 }; union kinox_cbi_fw_config { struct {
YAML: Fix buffer allocation
@@ -136,14 +136,16 @@ static parserType * readNumberChars (parserType * const parser, size_t numberCha while (parser->bufferCharsAvailable < numberChars && (numberCharsRead = getline (&line, &capacity, parser->file)) != -1) { + size_t bufferOffset = parser->buffer - parser->bufferBase; size_t bufferCharsAvailable = par...
extract @ () at ./deps/picotls
@@ -168,6 +168,7 @@ extern "C" { #define PTLS_ALERT_CERTIFICATE_UNKNOWN 46 #define PTLS_ALERT_ILLEGAL_PARAMETER 47 #define PTLS_ALERT_UNKNOWN_CA 48 +#define PTLS_ALERT_ACCESS_DENIED 49 #define PTLS_ALERT_DECODE_ERROR 50 #define PTLS_ALERT_DECRYPT_ERROR 51 #define PTLS_ALERT_PROTOCOL_VERSION 70 @@ -946,6 +947,9 @@ int p...
no movement when not animated
@@ -4437,7 +4437,7 @@ animleft(const Arg *arg) { animateclient(selmon->sel, selmon->mx + 2, selmon->my + bh + 2, (selmon->mw / 2) - 8, selmon->mh - bh - 8, 15, 0); return; } - + if (animated) { for(tempc = selmon->clients; tempc; tempc = tempc->next) { if (tempc->tags & 1 << selmon->pertag->curtag - 2 && !tempc->isfloa...
[test] Separate testcase for the travis
@@ -4066,12 +4066,17 @@ abi.register(oom, p, cp)` `{"Name":"oom"}`, ), ) - errMsg1 := "string length overflow" - errMsg2 := "not enough memory" + + errMsg := "string length overflow" + var travis bool + if os.Getenv("TRAVIS") == "true" { + errMsg = "not enough memory" + travis = true + } if err == nil { - t.Errorf("exp...
revert tneat changes
@@ -39,7 +39,7 @@ static uint16_t config_mode = 0; static uint16_t config_chargen_offset = 0; static uint16_t config_port = 23232; static uint16_t config_log_level = 1; -static uint16_t config_num_flows = 1; +static uint16_t config_num_flows = 5; static uint16_t config_max_flows = 100; static uint16_t config_max_server...
BugID:23251492: Add global rtp include path
@@ -427,6 +427,7 @@ AOS_SDK_INCLUDES += -I$(SOURCE_ROOT)/include \ -I$(SOURCE_ROOT)/include/network/nal/atparser \ -I$(SOURCE_ROOT)/include/network/nal/sal \ -I$(SOURCE_ROOT)/include/network/netmgr \ + -I$(SOURCE_ROOT)/include/network/rtp \ -I$(SOURCE_ROOT)/include/network/yloop ifeq ($(AOS_COMP_LORAWAN_4_4_2), y)
Add more comments on wuffsfmt's -l and -w flags
// wuffsfmt formats Wuffs programs. // // Without explicit paths, it rewrites the standard input to standard output. -// Otherwise, the -l or -w or both flags must be given. Given a file path, it -// operates on that file; given a directory path, it operates on all *.wuffs -// files in that directory, recursively. File...
Added missing #include <intrin.h> Fixes
@@ -2489,6 +2489,10 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString( #include <cstring> #include <utility> +#ifdef _MSC_VER + #include <intrin.h> // For functions like __popcnt, _BitScanForward etc. +#endif + /******************************************************************************* CONFIGURATION SECTION
replace old container reference
@@ -246,7 +246,7 @@ static void RoutingTB_Generate(service_t *service, uint16_t nb_node) // Asks for introduction for every found node (even the one detecting). uint16_t try_nb = 0; uint16_t last_node_id = RoutingTB_BigestNodeID(); - uint16_t last_cont_id = 0; + uint16_t last_service_id = 0; msg_t intro_msg; while ((la...
configs/imxrt1050-evk: Fix NXP download script If protected build config is enabled: Strip the last line from tinyara.hex Concatenate tinyara.hex and tinyara_user.hex into tinyara_prot.hex Flash tinyara_prot.hex onto device
@@ -40,6 +40,20 @@ done; #echo $IMXRT1050_USB_PATH #echo $OS_DIR_PATH -cp $OS_DIR_PATH/../build/output/bin/tinyara.hex $IMXRT1050_USB_PATH +CONFIG=${OS_DIR_PATH}/.config +if [ ! -f ${CONFIG} ]; then + echo "No .config file" + exit 1 +fi + +source ${CONFIG} -echo "Waiting until detecting usb memory again!!!" +if [[ "${C...
phb4: Call pci config filters
@@ -325,6 +325,12 @@ static int64_t phb4_pcicfg_read(struct phb4 *p, uint32_t bdfn, return OPAL_HARDWARE; } + /* Handle per-device filters */ + rc = pci_handle_cfg_filters(&p->phb, bdfn, offset, size, + (uint32_t *)data, false); + if (rc != OPAL_PARTIAL) + return rc; + /* Handle root complex MMIO based config space */ ...
[RTduino][stm32f410-nucleo] add English readme
## 1 RTduino - Arduino Ecosystem Compatibility Layer for RT-Thread -STM32F401 Nucleo board has support [RTduino](https://github.com/RTduino/RTduino). Users can use Arduino APIs, third party libraries and programming method to program on Blue Pill board. +STM32F401 Nucleo board has support [RTduino](https://github.com/R...
[kernel] throw an exception in fillHtrans if a dynamical system has boundary conditions first attempt to take into account bc. not completed yet
@@ -515,6 +515,7 @@ void OSNSMatrix::fillHtrans(DynamicalSystemsGraph & DSG, InteractionsGraph& inde leftInteractionBlock = inter.getLeftInteractionBlock(); double * array = &*leftInteractionBlock->getArray(); + //double * array_with_bc= nullptr; SP::DynamicalSystem ds1 = indexSet.properties(*ui).source; SP::DynamicalS...
Provide actions for the extra mouse buttons Bind APP_SWITCH to button 4 and expand notification panel on button 5. PR <https://github.com/Genymobile/scrcpy/pull/2258>
@@ -661,6 +661,14 @@ input_manager_process_mouse_button(struct input_manager *im, if (!im->forward_all_clicks) { int action = down ? ACTION_DOWN : ACTION_UP; + if (control && event->button == SDL_BUTTON_X1) { + action_app_switch(im->controller, action); + return; + } + if (control && event->button == SDL_BUTTON_X2 && d...
Fix condition in iteration over Dynamic section entry An entry with a DT_NULL tag (`d_tag`) not the section entry itself marks the end of the _DYNAMIC array
@@ -172,7 +172,7 @@ set_library(const char* libpath) // locate the .dynamic section for (i = 0; i < elf->e_shnum; i++) { if (sections[i].sh_type == SHT_DYNAMIC) { - for (dyn = (Elf64_Dyn *)((char *)buf + sections[i].sh_offset); dyn != DT_NULL; dyn++) { + for (dyn = (Elf64_Dyn *)((char *)buf + sections[i].sh_offset); dy...
native: Add basic ble_hw_rng implementation
#include <stdint.h> #include <assert.h> #include <string.h> +#include <stdlib.h> +#include <stdbool.h> #include "syscfg/syscfg.h" #include "os/os.h" #include "nimble/ble.h" /* We use this to keep track of which entries are set to valid addresses */ static uint8_t g_ble_hw_whitelist_mask; +static ble_rng_isr_cb_t rng_cb...
Fix to allow gradle only extensions to work.
@@ -23,7 +23,9 @@ class Dependency public function isAndroidProject() { - return FileSystem.exists( getAndroidProject() + "/project.properties" ); + var isAnt = FileSystem.exists( getAndroidProject() + "/project.properties" ); + var isGradle = FileSystem.exists( getAndroidProject() + "/build.gradle" ); + return isAnt |...
Don't act upon reception of default responses
void DeRestPluginPrivate::handleIasAceClusterIndication(const deCONZ::ApsDataIndication &ind, deCONZ::ZclFrame &zclFrame) { - Q_UNUSED(ind); + if (zclFrame.isDefaultResponse()) + { + return; + } QDataStream stream(zclFrame.payload()); stream.setByteOrder(QDataStream::LittleEndian);
Test that we don't have a memory leak in d2i_ASN1_OBJECT. Fixes Reworked test supplied by into a unit test.
#include <openssl/rand.h> #include <openssl/asn1t.h> +#include <openssl/obj_mac.h> #include "internal/numbers.h" #include "testutil.h" @@ -195,6 +196,30 @@ static int test_invalid_template(void) return 0; } +static int test_reuse_asn1_object(void) +{ + static unsigned char cn_der[] = { 0x06, 0x03, 0x55, 0x04, 0x06 }; +...
Allow checking variable IV/key size in cipher_info
@@ -542,6 +542,42 @@ static inline unsigned int mbedtls_cipher_info_get_block_size( return( info->MBEDTLS_PRIVATE(block_size) ); } +/** + * \brief This function returns a non-zero value if the key length for + * the given cipher is variable. + * + * \param info The cipher info structure. This may be \c NULL. + * + * \r...
VERSION bump to version 1.2.6
@@ -27,7 +27,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 1) set(SYSREPO_MINOR_VERSION 2) -set(SYSREPO_MICRO_VERSION 5) +set(SYSREPO_MICRO_VERSION 6) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MICR...
psock_socket: Add type field check behavior alignment to Linux Return EINVAL when type field include nonsupport bit
@@ -82,6 +82,11 @@ int psock_socket(int domain, int type, int protocol, FAR const struct sock_intf_s *sockif = NULL; int ret; + if (type & ~(SOCK_CLOEXEC | SOCK_NONBLOCK | SOCK_TYPE_MASK)) + { + return -EINVAL; + } + /* Initialize the socket structure */ psock->s_domain = domain;
rpi-base.inc: enable i2c-gpio overlay Adds support for software i2c controller on gpio pins RPI_EXTRA_CONFIG += "\ dtoverlay=i2c-gpio,bus=7,i2c_gpio_sda=6,i2c_gpio_scl=5 \ " Will configure a /dev/i2c-7 bus with sda=gpio#6 and slc=gpio#5 The overlay documentation can be found here:
@@ -31,6 +31,7 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \ overlays/justboom-both.dtbo \ overlays/justboom-dac.dtbo \ overlays/justboom-digi.dtbo \ + overlays/i2c-gpio.dtbo \ overlays/i2c-rtc.dtbo \ overlays/imx219.dtbo \ overlays/imx477.dtbo \
Simplify demuxer Call the same push_packet_to_sinks() in all cases, and make sc_demuxer_parse() return void.
@@ -69,7 +69,7 @@ push_packet_to_sinks(struct sc_demuxer *demuxer, const AVPacket *packet) { return true; } -static bool +static void sc_demuxer_parse(struct sc_demuxer *demuxer, AVPacket *packet) { uint8_t *in_data = packet->data; int in_len = packet->size; @@ -89,14 +89,6 @@ sc_demuxer_parse(struct sc_demuxer *demuxe...
Function grib_context_log(): errno value can potentially be overwritten
@@ -1012,6 +1012,7 @@ void grib_context_log(const grib_context* c, int level, const char* fmt, ...) else { char msg[1024]; va_list list; + const int errsv = errno; va_start(list, fmt); vsprintf(msg, fmt, list); @@ -1023,12 +1024,12 @@ void grib_context_log(const grib_context* c, int level, const char* fmt, ...) /* #if ...
Test that signal was successful
@@ -937,7 +937,12 @@ static inline void facil_cluster_signal_children(void) { cluster_uint2str(msg + 12, 0); FIO_HASH_FOR_LOOP(&facil_cluster_data.clients, i) { if (i->obj) { - write(sock_uuid2fd(i->key), msg, 16); + int attempt = write(sock_uuid2fd(i->key), msg, 16); + if (attempt > 0 && attempt != 16) { + fwrite("FAT...
Flattened ocf_core_info struct
@@ -22,14 +22,11 @@ struct ocf_core_info { /** Core size in bytes unit */ uint64_t core_size_bytes; - /** Fields refers ongoing flush operation */ - struct { /** Number of blocks flushed in ongoing flush operation */ uint32_t flushed; /** Number of blocks left to flush in ongoing flush operation */ uint32_t dirty; - };...
meta: test coverage for cas fixes
@@ -147,6 +147,41 @@ my $sock = $server->sock; #my $res = mget($sock, 'foo2', 's t v'); } +{ + diag "basic mset CAS"; + my $key = "msetcas"; + print $sock "ms $key 2\r\nbo\r\n"; + like(scalar <$sock>, qr/^HD/, "set test key"); + + my $res = mget($sock, $key, 'c'); + ok(get_flag($res, 'c'), "got a cas value back"); + + ...
Updated pdsc: RTOS2 header registration moved from RTX5 to API section
@@ -471,6 +471,7 @@ ARMv8-M Mainline based device with TrustZone <description>CMSIS-RTOS API for Cortex-M, SC000, and SC300</description> <files> <file category="doc" name="CMSIS/Documentation/RTOS2/html/index.html"/> + <file category="header" name="CMSIS/RTOS2/Include/cmsis_os2.h"/> </files> </api> <api Cclass="CMSIS ...
Fix wrong learn error computation when model shrinkage is on.
@@ -77,6 +77,7 @@ static void ScaleAllApproxes( } } allApproxes.push_back(&learnProgress->AveragingFold.BodyTailArr[0].Approx); + allApproxes.push_back(&learnProgress->AvrgApprox); const int learnApproxesCount = SafeIntegerCast<int>(allApproxes.size()); for (auto& testApprox : learnProgress->TestApprox) { allApproxes.p...
Apply memory overwrite fix from Unity's repo
@@ -288,6 +288,9 @@ namespace t2 HashAddSeparator(&sighash); } + // Roll back scratch allocator after scanning only - filenames are being retained between scans + MemAllocLinearScope alloc_scope(&thread_state->m_ScratchAlloc); + const ScannerData* scanner = node_data->m_Scanner; for (const FrozenFileAndHash& input : no...
Do not enable tap tests when the test os is 'sles'.
@@ -36,7 +36,7 @@ function configure() { if [ "$TEST_OS" == "sles" ]; then # TODO: remove this line as soon as the SLES image has zstd baked in CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --without-zstd" - ./configure --prefix=/usr/local/greenplum-db-devel --with-python --with-libxml --enable-orafce --enable-tap-tests --disabl...
[chainmaker][#436]add two null parameters
@@ -197,6 +197,9 @@ START_TEST(test_002Parameters_0002TxinitxFailureNullpara) rtnVal = BoatHlChainmakerTxInit(g_chaninmaker_wallet_ptr, NULL); ck_assert(rtnVal == BOAT_ERROR_COMMON_INVALID_ARGUMENT); + + rtnVal = BoatHlChainmakerTxInit(NULL, NULL); + ck_assert(rtnVal == BOAT_ERROR_COMMON_INVALID_ARGUMENT); } END_TEST
If selected sprite animation is hidden reset sub navigation to select root of state
@@ -250,6 +250,27 @@ export const NavigatorSprites = ({ ? `${selectedStateId}_group` : `${selectedStateId}_${highlightAnimationId}`; + useEffect(() => { + if (spriteAnimations.length > 0) { + const selected = spriteAnimations.find( + (a) => a.id === selectedNavigationId + ); + // If selected sprite animation is hidden ...
SOVERSION bump to version 1.3.17
@@ -48,7 +48,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 1) set(LIBNETCONF2_MINOR_SOVERSION 3) -set(LIBNETCONF2_MICRO_SOVERSION 16) +set(LIB...
Still trying to undo convergence changes...
@@ -2277,7 +2277,7 @@ void InitializeClimateParams(BODY *body, int iBody, int iVerbose) { RunningMeanTmp = daRunningMean[RunLen]; while (fabs(RunningMeanTmp - daRunningMean[RunLen]) > body[iBody].dSpinUpTol || - count <= RunLen) { + count <= iMaxIteration) { RunningMeanTmp = daRunningMean[RunLen]; PoiseSeasonal(body, i...
[externals] fix redefinition of CXSparse typedefs in clang
@@ -47,14 +47,14 @@ Documentation to be done #endif #endif -/* From cs.h */ #ifndef CS_INT + +/* From cs.h */ #ifdef CS_LONG #define CS_INT long #else #define CS_INT int #endif -#endif /* Treat CXSparse structs as opaque types. Users may #include "cs.h" * to use them outside Siconos. */ @@ -70,7 +70,6 @@ typedef struct...
configure: print utf-8 support
@@ -300,6 +300,7 @@ Your build configuration: Version : $VERSION Compiler flags : $CFLAGS Linker flags : $LIBS $LDFLAGS + UTF-8 support : $utf8 Dynamic buffer : $with_getline Geolocation : $geolocation Storage method : $storage
resolved conflict and merged
|- ^- (list telegram) ?~ gaz zeg ?: ?- -.tal :: after the end + $sd !! :: caught above $ud (lth +.tal num) $da (lth +.tal wen.i.gaz) == :: if past the range, we're done searching. zeg ?: ?- -.hed :: before the start + $sd !! :: caught above $ud (lth num +.hed) $da (lth wen.i.gaz +.hed) == =/ min =* hed hed.u.ran ?- -.h...
VPP crash when run "lb set interface nat4 in <intc>"
@@ -359,7 +359,7 @@ lb_set_interface_nat_command_fn (vlib_main_t * vm, unformat_input_t _line_input, *line_input = &_line_input; vnet_main_t * vnm = vnet_get_main(); clib_error_t * error = 0; - u32 * sw_if_index = 0; + u32 _sw_if_index, *sw_if_index = &_sw_if_index; u32 * inside_sw_if_indices = 0; int is_del = 0;
tests/thread: Make stress_aes.py test run on bare-metal ports. This is a long-running test, so make it run in reasonable time on slower, bare-metal ports.
@@ -235,7 +235,7 @@ class LockedCounter: count = LockedCounter() -def thread_entry(): +def thread_entry(n_loop): global count aes = AES(256) @@ -244,7 +244,7 @@ def thread_entry(): data = bytearray(128) # from now on we don't use the heap - for loop in range(5): + for loop in range(n_loop): # encrypt aes.set_key(key) a...
Partial revert (re-add strict version checking for KPH on Win10), Add missing 32bit KPH offsets
@@ -160,9 +160,7 @@ NTSTATUS KphInitializeDynamicPackage( Package->ResultingNtVersion = PHNT_REDSTONE5; break; default: - Package->BuildNumber = USHRT_MAX; - Package->ResultingNtVersion = PHNT_THRESHOLD; - break; + return STATUS_NOT_SUPPORTED; } Package->StructData.EgeGuid = 0x18; @@ -291,10 +289,16 @@ NTSTATUS KphInit...
messages: check for isOwn
@@ -122,7 +122,7 @@ export function ResourceSkeleton(props: ResourceSkeletonProps): ReactElement { ); const ExtraControls = () => { - if (workspace === '/messages' && !resource.startsWith('dm-')) { + if (workspace === '/messages' && isOwn && !resource.startsWith('dm-')) { return ( <Dropdown flexShrink={0}
Ensure timezone conversion works on timestamps (s,ms,us).
@@ -520,6 +520,21 @@ tm2time (const struct tm *src) { return timegm (&tmp) - src->tm_gmtoff; } +static void +set_tz (void) { + char tz[TZ_NAME_LEN] = { 0 }; + + if (!conf.tz_name) + return; + + snprintf (tz, TZ_NAME_LEN, "TZ=%s", conf.tz_name); + if ((putenv (tz)) != 0) { + LOG_DEBUG (("Can't set TZ env variable %s: %s...
libbarrelfish: Hakefile: libarrakis: build pmap_serialise.c
@@ -213,7 +213,7 @@ in arch_include _ = "" -- sources specific to the pmap implementation - pmap_unified_srcs = [ "pmap_slab_mgmt.c" ] + pmap_unified_srcs = [ "pmap_slab_mgmt.c", "pmap_serialise.c" ] pmap_srcs "x86_64" Config.LL = pmap_unified_srcs ++ [ "pmap_ll.c" ] pmap_srcs "x86_64" Config.ARRAY = pmap_unified_srcs ...
Add optimization options in .travis.yml
@@ -2,19 +2,34 @@ sudo: required language: c compiler: gcc env: -- HOST=x86_64-linux-gnu -- HOST=x86-linux-gnu -- HOST=arm-linux-gnueabihf -- HOST=aarch64-linux-gnu -- HOST=mipsel-linux-gnu -# Currently experiencing build failures here -#- HOST=powerpc64-linux-gnu +- HOST=x86_64-linux-gnu OPT=-O0 +- HOST=x86-linux-gnu ...
Remove unused variable 'homebridgeUpdate'
@@ -3345,7 +3345,6 @@ int DeRestPluginPrivate::putHomebridgeUpdated(const ApiRequest &req, ApiResponse QString homebridge; QString homebridgePin; QString homebridgeVersion; - bool homebridgeUpdate; bool changed = false; if (map.contains("homebridge"))
Executable name matching package name to allow build for debian
}, "electronPackagerConfig": { "name": "GB Studio", - "executableName": "gbstudio", + "executableName": "gb-studio", "packageManager": "yarn", "icon": "src/images/app/icon/app_icon", "darwinDarkModeSupport": true,
Fix sandbox_lib_detect_find_path._find function. Function sandbox_lib_detect_find_path._find function currently searches the first occurrence of substring path.pattern(path.translate(name)) within filepath. This behavior breaks in case one wants, e.g., to find packages named libsomething. The correct behavior would be ...
@@ -37,7 +37,18 @@ function sandbox_lib_detect_find_path._find(filedir, name) local filepath = results[1] if filepath then -- we need translate name first, https://github.com/xmake-io/xmake-repo/issues/1315 - local p = filepath:find(path.pattern(path.translate(name))) + local to_search = path.pattern(path.translate(nam...
release-script: fix issue where version codename not set on memcheck
@@ -13,6 +13,22 @@ BUILD_DIR="$SRC_DIR/build" PACKAGE_REVISION=${1:-1} + +find_version_codename() { + VERSION_CODENAME=$(grep "VERSION_CODENAME=" /etc/os-release | awk -F= {' print $2'} | sed s/\"//g) + if [ -z ${VERSION_CODENAME} ]; then + OS_ID=$(grep "^ID=" /etc/os-release | awk -F= {' print $2'} | sed s/\"//g) + VE...
Added ksceKernelSetPermission and changed ksceKernelEnterProcess to ksceKernelSetProcessId
@@ -2187,7 +2187,6 @@ modules: ksceKernelDeleteMutex: 0x0A912340 ksceKernelDeleteSema: 0x16A35E58 ksceKernelDeleteThread: 0xAC834F3F - ksceKernelEnterProcess: 0x0486F239 ksceKernelExitDeleteThread: 0x1D17DECF ksceKernelExitThread: 0x0C8A38E1 ksceKernelGetCallbackCount: 0x0892D8DF @@ -2215,6 +2214,8 @@ modules: ksceKern...
otatool: Fix a crash when imported as external python lib Closes:
@@ -31,7 +31,6 @@ try: except ImportError: COMPONENTS_PATH = os.path.expandvars(os.path.join('$IDF_PATH', 'components')) PARTTOOL_DIR = os.path.join(COMPONENTS_PATH, 'partition_table') - sys.path.append(PARTTOOL_DIR) from parttool import PARTITION_TABLE_OFFSET, PartitionName, PartitionType, ParttoolTarget @@ -102,7 +10...
stats: use vlib_stats_validate in collector Type: refactor
#include <vlib/unix/unix.h> #include <vlib/stats/stats.h> -static void -stat_validate_counter_vector2 (vlib_stats_entry_t *ep, u32 max1, u32 max2) -{ - counter_t **counters = ep->data; - int i; - vec_validate_aligned (counters, max1, CLIB_CACHE_LINE_BYTES); - for (i = 0; i <= max1; i++) - vec_validate_aligned (counters...
Updated note for 16.04 cuda install
@@ -123,7 +123,7 @@ sudo install rock_dkms sudo reboot sudo usermod -a -G video $LOGNAME ``` -To build aomp with support for nvptx GPUs, you must first install cuda 10. We recommend cuda 10.0. Cuda 10.1 will not work till aomp moves to the trunk development of LLVM 9. Once you download cuda 10.0 local install file, the...
Fix menu again (lost in merge)
@@ -17,7 +17,7 @@ UBYTE *script_ptr = 0; UWORD script_ptr_x = 0; UWORD script_ptr_y = 0; UBYTE *script_start_ptr = 0; -UBYTE script_cmd_args[6] = {0}; +UBYTE script_cmd_args[7] = {0}; UBYTE script_cmd_args_len; UBYTE (*script_update_fn)(); UBYTE script_stack_ptr = 0;
[kernel] change the simnpleMatrix display for the storage type
@@ -684,7 +684,7 @@ void SimpleMatrix::display() const { std::cout << "SimpleMatrix::display(): empty matrix" << std::endl; } - std::cout << "num = " << _num << "\t"; + std::cout << "SimpleMatrix storage type - num = " << _num << "\n"; if (_num == 1) { Siconos::algebra::print_m(*mat.Dense);
change sensor_2c
@@ -224,7 +224,7 @@ pbc.assignD.get('i2c')['check_assign'] = function (py2block, node, targets, valu var funcName = py2block.identifier(value.func.attr); var moduleName = py2block.identifier(value.func.value.id); if (value._astname === "Call" && ['MPU9250', 'SHT20', 'BMP280'].indexOf(funcName) != -1 - && ['mpu9250', 's...
Improve error message in HARNESS_FORK_END(). Also include expected exit status to make debugging easier.
@@ -205,7 +205,11 @@ End the fork block and check exit status for all child processes THROW_SYS_ERROR_FMT(AssertError, "unable to find child process %u", processIdx); \ \ if (WEXITSTATUS(processStatus) != HARNESS_FORK_CHILD_EXPECTED_EXIT_STATUS(processIdx)) \ - THROW_FMT(AssertError, "child %u exited with error %d", pr...
Bump ConBee I / RaspBee I firmware version to 0x26350500
@@ -84,7 +84,7 @@ DEFINES += GIT_COMMMIT=\\\"$$GIT_COMMIT\\\" # which shall be used in order to support all features for this software release (case sensitive) DEFINES += GW_AUTO_UPDATE_AVR_FW_VERSION=0x260b0500 DEFINES += GW_AUTO_UPDATE_R21_FW_VERSION=0x26420700 -DEFINES += GW_MIN_AVR_FW_VERSION=0x26330500 +DEFINES +=...
trace dump: add string and binary NOTE_DUMP_STRING NOTE_DUMP_BINARY And incubator-nuttx[trace: and sched note dump is together
@@ -608,6 +608,39 @@ static int trace_dump_one(FAR FILE *out, break; #endif +#ifdef CONFIG_SCHED_INSTRUMENTATION_DUMP + case NOTE_DUMP_STRING: + { + FAR struct note_string_s *nst; + + nst = (FAR struct note_string_s *)p; + trace_dump_header(out, note, ctx); + fprintf(out, "dump_string: %s\n", + nst->nst_data); + } + br...
In tail input, on 'Exit_On_EOF' case, call flb_engine_exit() Formerly this was calling flb_engine_shutdown(), which had the affect of not flushing/calling through the grace period.
@@ -139,8 +139,7 @@ static int in_tail_collect_static(struct flb_input_instance *i_ins, case FLB_TAIL_WAIT: if (file->config->exit_on_eof) { flb_info("[in_tail] file=%s ended, stop", file->name); - flb_engine_shutdown(config); - exit(0); + flb_engine_exit(config); } /* Promote file to 'events' type handler */ flb_debug...
motor_min_value: ensure we match previous versions
@@ -269,7 +269,8 @@ void motor_output_calc(float mix[4]) { // only apply digital idle if we are armed and not in motor test float motor_min_value = 0; if (!flags.on_ground && flags.arm_state && !flags.motortest_override) { - motor_min_value = (float)profile.motor.digital_idle * 0.01f; + // 0.0001 for legacy purposes, m...
graph-delete thread: properly remove entry from metadata-store and hook
(pure:m (need ugroup)) :: ++ delete-graph - |= rid=resource + |= [group-rid=resource rid=resource] =/ m (strand ,~) ^- form:m ;< =bowl:spider bind:m get-bowl:strandio (poke-our %graph-push-hook %push-hook-action !>([%remove rid])) ;< ~ bind:m %+ poke-our %metadata-hook - metadata-hook-action+!>([%remove (en-path:resour...
man: small formatting update
.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "KDB\-ELEKTRIFY\-GETENV" "1" "February 2018" "" "" +.TH "KDB\-ELEKTRIFY\-GETENV" "1" "March 2019" "" "" . .SH "NAME" \fBkdb\-elektrify\-getenv\fR \- elektrify the environment of applications . .SH "SYNOPSIS" -\fBkdb elektrify\-getenv\f...
Add component_check_test_requires_psa_disabled used to check if some tests requiring PSA to be disabled are presemt
@@ -873,7 +873,12 @@ component_check_doxygen_warnings () { tests/scripts/doxygen.sh } +component_check_test_requires_psa_disabled () { + msg "Check: tests requiring PSA to be disabled" + not grep -n 'depends.*!MBEDTLS_USE_PSA_CRYPTO' -R tests/suites/ + not grep -n 'requires.*disabled.*USE_PSA' tests/ssl-opt.sh tests/op...
Better shim for scripts on windows. Arguments should be passed in properly.
@@ -689,7 +689,8 @@ int main(int argc, const char **argv) { # Create a dud batch file when on windows. (when is-win (def name (last (string/split sep main))) - (def bat (string "@echo off\r\njanet %~dp0\\" name "%*")) + (def fullname (string binpath sep name)) + (def bat (string "@echo off\r\njanet " fullname " %*")) (...
cpfskmodem/example: removing used variables for carrier freq,phase offsets
@@ -29,8 +29,6 @@ void usage() printf(" -b <rolloff> : filter roll-off, default: 0.35\n"); printf(" -n <num> : number of data symbols, default: 80\n"); printf(" -s <snr> : SNR [dB], default: 40\n"); - printf(" -F <freq> : carrier frequency offset, default: 0\n"); - printf(" -P <phase> : carrier phase offset, default: 0...
build/configs/qemu/tc_64k/defconfig:Disable tash commands by default This patch eliminates the build error due to flash region overflow by '.text' section by ~8KB, by disabling below tash commands: - DATE - ENV GET/SET/UNSET - HEAPINFO/HEAPINFO_USER_GROUP - PS - UPTIME
@@ -776,20 +776,20 @@ CONFIG_SYSTEM_PREAPP_STACKSIZE=2048 CONFIG_SYSTEM_INFORMATION=y CONFIG_KERNEL_CMDS=y # CONFIG_FS_CMDS is not set -CONFIG_ENABLE_DATE_CMD=y -CONFIG_ENABLE_ENV_GET_CMD=y -CONFIG_ENABLE_ENV_SET_CMD=y -CONFIG_ENABLE_ENV_UNSET_CMD=y +# CONFIG_ENABLE_DATE_CMD is not set +# CONFIG_ENABLE_ENV_GET_CMD is n...
framework/media: Correct null pointer checking
@@ -58,7 +58,7 @@ int stream_info_create(stream_policy_t stream_policy, stream_info_t **stream_inf } *stream_info = (stream_info_t *)calloc(1, sizeof(stream_info_t)); - if (stream_info == NULL) { + if (*stream_info == NULL) { return -ENOMEM; } (*stream_info)->id = stream_info_id_generate();
spi_master: fix cmd test ci failure
@@ -838,7 +838,7 @@ void test_cmd_addr(spi_slave_task_context_t *slave_context, bool lsb_first) } //clean - vRingbufferReturnItem(slave_context->data_received, buffer); + vRingbufferReturnItem(slave_context->data_received, rcv_data); } TEST_ASSERT(spi_bus_remove_device(spi) == ESP_OK);
Added GeoIP2 Country database link to default config file.
@@ -631,6 +631,10 @@ static-file .flv # wget -N http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz # gunzip GeoLite2-City.mmdb.gz # +# For GeoIP2 Country database: +# wget -N http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz +# gunzip GeoLite2-Country.mmdb.gz +# # Note: `...
Utility: Fix minor mistakes in documentation
@@ -34,7 +34,7 @@ char * elektraLskip (char const * const text) * @brief This function removes trailing whitespace from the given string. * * The address stored in the parameter `end` of this function must either - * point to the last character of the string (the one before `'0'`) or `NULL`. + * point to the last chara...
scripts: fix link
@@ -357,4 +357,4 @@ The build script basically builds the applications, runs tests, installs everyth and restarts the backend. Finally, it can run the configuration script for the frontend, which updates the website content. -The current build script can be found [here](/scripts/build-homepage). +The current build scri...
doc:modfiy ubuntu build on 18.04
@@ -95,7 +95,7 @@ Install the necessary tools for the following systems: .. note:: Use ``gcc`` version 7.3.* or higher to avoid running into - issue `#1396 <https://github.com/projectacrn/acrn-hypervisor/issues/1396>`_. Follow these instructions to install the ``gcc-7`` package on Ubuntu 16.04: + issue `#1396 <https://...
init: Silence messages and call ourselves "OPAL"
@@ -808,8 +808,8 @@ void __noreturn __nomcount main_cpu_entry(const void *fdt) /* Call library constructors */ do_ctors(); - printf("SkiBoot %s starting...\n", version); - printf("initial console log level: memory %d, driver %d\n", + prlog(PR_NOTICE, "OPAL %s starting...\n", version); + prlog(PR_DEBUG, "initial console...
Fix WARMUP_TIME define
@@ -8545,7 +8545,7 @@ void DeRestPluginPrivate::taskToLocalData(const TaskItem &task) */ void DeRestPluginPrivate::delayedFastEnddeviceProbe() { - if (getUptime() < WARMUP_TIME_S) + if (getUptime() < WARMUP_TIME) { return; } @@ -9770,7 +9770,7 @@ void DeRestPlugin::checkZclAttributeTimerFired() LightNode *lightNode = &...
Fix LogWindow helper InputText styling
@@ -78,9 +78,17 @@ void LogWindow::Draw(const ImVec2& size) ImGui::PushStyleColor(ImGuiCol_Text, ImGui::GetStyleColorVec4(ImGuiCol_Text)); } + ImGui::PushStyleColor(ImGuiCol_FrameBg, ImVec4(0,0,0,0)); + ImGui::PushStyleColor(ImGuiCol_FrameBgHovered, ImVec4(0,0,0,0)); + ImGui::PushStyleColor(ImGuiCol_FrameBgActive, ImVe...
Very minor readability improvement for ai_check_lie().
@@ -29379,7 +29379,13 @@ int ai_check_warp() int ai_check_lie() { - if(self->drop && self->position.y == self->base && !self->velocity.y && validanim(self, ANI_RISEATTACK) && ((rand32() % (self->stalltime - _time + 1)) < 3) && (self->energy_status.health_current > 0 && _time > self->staydown.riseattack_stall)) + if(sel...
Get closer to typechecking generic args correctly.
@@ -638,7 +638,9 @@ tf(Type *orig) t = tylookup(orig); isgeneric = t->type == Tygeneric; ingeneric += isgeneric; + pushenv(orig->env); tyresolve(t); + popenv(orig->env); /* If this is an instantiation of a generic type, we want the params to * match the instantiation */ if (orig->type == Tyunres && t->type == Tygeneric...
BugID:17569460: Remove multiple define for monitor.
@@ -165,10 +165,6 @@ extern "C" * @param[in] with_fcs @n 80211 frame buffer include fcs(4 byte) or not * @param[in] rssi @n rssi of packet */ - typedef int (*awss_recv_80211_frame_cb_t)(char *buf, int length, - enum AWSS_LINK_TYPE link_type, - int with_fcs, signed char rssi); - awss_recv_80211_frame_cb_t g_ieee80211_ha...
get_metadata() now works using an URI
@@ -209,8 +209,8 @@ typedef struct clap_preset_provider { clap_preset_collection_info_t *out_info); // reads metadata from the given file and passes them to the metadata receiver - bool(CLAP_ABI *read_file_metadata)(const struct clap_preset_provider *provider, - const char *file_path, + bool(CLAP_ABI *get_metadata)(con...
send time correction through serial port always (will be controlled to print out in OV).
@@ -2226,11 +2226,7 @@ void synchronizePacket(PORT_RADIOTIMER_WIDTH timeReceived) { // log a large timeCorrection if ( - ieee154e_vars.isSync==TRUE && - ( - timeCorrection<-LIMITLARGETIMECORRECTION || - timeCorrection> LIMITLARGETIMECORRECTION - ) + ieee154e_vars.isSync==TRUE ) { openserial_printError(COMPONENT_IEEE802...
examples/slsiwifi: Fix build error for new heap replace mm_get_heap_info to mm_get_heap_with_index for checking heap information, because mm_get_heap needs allocated address for getting heap structure. heapinfo_parse() was changed to pass 3-params
@@ -57,6 +57,7 @@ sem_t g_sem_result; sem_t g_sem_join; static uint8_t g_join_result = 0; #define WPA_MAX_SSID_LEN (4*32+1) /* SSID encoded in a string - worst case is all 4-octet hex digits + '\0' */ +#define BASE_HEAP_INDEX 0 /**************************************************************************** * Defines @@ -...
Look for the prog_tag over entire fdinfo
@@ -617,23 +617,18 @@ int bpf_prog_get_tag(int fd, unsigned long long *ptag) /* fprintf(stderr, "failed to open fdinfo %s\n", strerror(errno));*/ return -1; } - fgets(fmt, sizeof(fmt), f); // pos - fgets(fmt, sizeof(fmt), f); // flags - fgets(fmt, sizeof(fmt), f); // mnt_id - fgets(fmt, sizeof(fmt), f); // prog_type - ...
correctly derive the levtype for lake (hydrology) vs other discipline for fixed surface combination 174/255 and 174/176
'o2d' = {typeOfFirstFixedSurface=170; typeOfSecondFixedSurface=255;} 'o2d' = {typeOfFirstFixedSurface=171; typeOfSecondFixedSurface=255;} 'o2d' = {typeOfFirstFixedSurface=174; typeOfSecondFixedSurface=255;} +'sfc' = {typeOfFirstFixedSurface=174; typeOfSecondFixedSurface=255; discipline=1;} 'o2d' = {typeOfFirstFixedSurf...
py/objint: Use MP_OBJ_IS_STR_OR_BYTES macro instead of 2 separate ones.
@@ -378,7 +378,7 @@ mp_obj_t mp_obj_int_binary_op_extra_cases(mp_binary_op_t op, mp_obj_t lhs_in, mp // true acts as 0 return mp_binary_op(op, lhs_in, MP_OBJ_NEW_SMALL_INT(1)); } else if (op == MP_BINARY_OP_MULTIPLY) { - if (MP_OBJ_IS_STR(rhs_in) || MP_OBJ_IS_TYPE(rhs_in, &mp_type_bytes) || MP_OBJ_IS_TYPE(rhs_in, &mp_t...
Added lock around unsubscribing process.
@@ -44,6 +44,9 @@ static csp_thread_handle_t telem_rx_handle; /* Mutex to lock subscribing process */ static csp_mutex_t subscribing_lock; +/* Mutex to lock unsubscribing process */ +static csp_mutex_t unsubscribing_lock; + /* Bool flag used to indicate telemetry up/down, used to start cleanup process */ static bool te...
Updated pre-defined Caddy log-format.
@@ -79,7 +79,7 @@ static const GPreConfLog logs = { /* Caddy JSON */ "{\"ts\":\"%x.%^\",\"request\":{\"remote_addr\":\"%h:%^\",\"proto\":\"%H\"," "\"method\":\"%m\",\"host\":\"%v\",\"uri\":\"%U\"," - "\"headers\":{\"User-Agent\":[\"%u\",\"%^\"]},\"tls\":{\"cipher_suite\":\"%k\"," + "\"headers\":{\"User-Agent\":[\"%u\"]...
docs: Change ESP_ERR_CHECK to ESP_ERROR_CHECK in provisioning examples Closes Closes Closes Closes
@@ -22,7 +22,7 @@ Initialization .scheme_event_handler = WIFI_PROV_SCHEME_BLE_EVENT_HANDLER_FREE_BTDM }; - ESP_ERR_CHECK( wifi_prov_mgr_init(config) ); + ESP_ERROR_CHECK( wifi_prov_mgr_init(config) ); The configuration structure ``wifi_prov_mgr_config_t`` has a few fields to specify the behavior desired of the manager ...
jenkins: remove comment that no longer is true
@@ -1043,8 +1043,6 @@ def cmemcheck(kdbtests=true) { } /* Helper for ctest to run tests without tests tagged as kdbtests. - * Also sets permissions on folders to be nonwriteable to see if any test - * non flagged with kdbtests tries to write to them. */ def cnokdbtest() { ctest("Test -LE kdbtests")
drag to other monitors tags
@@ -511,7 +511,6 @@ void animateclient(Client *c, int x, int y, int w, int h, int frames, int resetp } else { while (time < frames) { - fprintf(stderr, "float, %f", easeOutQuint(((double)time/frames))); resize(c, oldx + easeOutQuint(((double)time/frames)) * (x - oldx), oldy + easeOutQuint(((double)time/frames)) * (y - ...