message
stringlengths
6
474
diff
stringlengths
8
5.22k
bindings: Added text that clarifies language bindings update concerning error codes
@@ -29,6 +29,8 @@ Since error codes and crucial parts Elektra's core implementation will not chang The existing code will be refactored so that error macros directly call macros. +When adding a new error code, language bindings have to be adapted accordingly such as the Rust or Java Binding. + ## Rationale - Updates to...
Add comment affirming use of memcmp for comparing reset tokens.
@@ -598,7 +598,15 @@ int picoquic_parse_header_and_decrypt( } else if (ph->ptype == picoquic_packet_1rtt_protected) { - /* This may be a stateless reset */ + /* This may be a stateless reset. + * Note that the QUIC specification says that we must use a constant time + * comparison function for the stateless token. It t...
Fix SEGV when REST API is called for non existing sensor id
@@ -653,7 +653,7 @@ int DeRestPluginPrivate::changeSensorConfig(const ApiRequest &req, ApiResponse & TaskItem task; QString id = req.path[3]; Sensor *sensor = id.length() < MIN_UNIQUEID_LENGTH ? getSensorNodeForId(id) : getSensorNodeForUniqueId(id); - Device *device = sensor->parentResource() ? static_cast<Device*>(sen...
ELM327: allow all addresses between 0.700 and 0x800
@@ -12,7 +12,7 @@ static int elm327_tx_hook(CAN_FIFOMailBox_TypeDef *to_send) { //Check valid 29 bit send addresses for ISO 15765-4 //Check valid 11 bit send addresses for ISO 15765-4 if ((addr != 0x18DB33F1) && ((addr & 0x1FFF00FF) != 0x18DA00F1) && - ((addr != 0x7DF) && ((addr & 0x1FFFFFF8) != 0x7E0))) { + ((addr & 0...
config: initialize events structures
@@ -106,9 +106,14 @@ struct flb_config *flb_config_init() config = flb_calloc(1, sizeof(struct flb_config)); if (!config) { - perror("malloc"); + flb_errno(); return NULL; } + + MK_EVENT_ZERO(&config->ch_event); + MK_EVENT_ZERO(&config->event_flush); + MK_EVENT_ZERO(&config->event_shutdown); + config->is_running = FLB_...
CI: Add Pico LiPo 4MB
@@ -62,6 +62,8 @@ jobs: board: PICO - name: tiny2040 board: PIMORONI_TINY2040 + - name: picolipo_4mb + board: PIMORONI_PICOLIPO_4MB - name: picolipo_16mb board: PIMORONI_PICOLIPO_16MB
Change check condition order
@@ -8831,8 +8831,8 @@ run_test "TLS1.3: Test client hello msg work - openssl" \ -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \ -c "ECDH curve: x25519" \ -c "=> ssl_tls1_3_process_server_hello" \ - -c "Certificate verification flags clear" \ - -c "<= parse encrypted extensions" + -c "<= pa...
perf-tools/scalasca: bump to v2.5
Summary: Toolset for performance analysis of large-scale parallel applications Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} -Version: 2.4 +Version: 2.5 Release: 1%{?dist} License: BSD Group: %{PROJ_NAME}/perf-tools URL: http://www.scalasca.org -Source0: http://apps.fz-juelich.de/scalasca/releases/scalas...
sysrepo UPDATE do not allow setting umask bits for data Refs
@@ -1814,6 +1814,11 @@ sr_set_module_ds_access(sr_conn_ctx_t *conn, const char *module_name, int mod_ds (!owner && !group && !perm), NULL, err_info); mod_shm = SR_CONN_MOD_SHM(conn); + if (perm & SR_UMASK) { + SR_LOG_WRN("Ignoring permission bits %03o forbidden by Sysrepo umask.", SR_UMASK); + perm &= ~SR_UMASK; + } + ...
add libinput config for keyboard add send_events support
@@ -94,6 +94,28 @@ static bool input_has_seat_configuration(struct sway_input_manager *input) { return false; } +static void input_manager_libinput_config_keyboard( + struct sway_input_device *input_device) { + struct wlr_input_device *wlr_device = input_device->wlr_device; + struct input_config *ic = input_device_get_...
Fix viewer crash when zooming in on Mesh plot while watching simulation update
@@ -327,7 +327,7 @@ avtGeometryDrawable::ShiftByVector(const double vec[3]) for (int i = 0 ; i < nActors ; i++) { if (actors[i] != NULL && actors[i]->IsA("vtkActor") && - mapper->ActorIsShiftable(i)) + mapper != NULL && mapper->ActorIsShiftable(i)) { // VTK is ridiculous -- needs const. double v[3];
Remove exit() calls from main() to make it cleaner and more testable.
@@ -17,6 +17,8 @@ Main int main(int argListSize, const char *argList[]) { + bool error = false; + TRY_BEGIN() { // Load the configuration @@ -28,36 +30,36 @@ main(int argListSize, const char *argList[]) if (cfgCommandHelp()) { cmdHelp(); - exit(0); } // Display version // -----------------------------------------------...
reset to system locale to properly convert wide chars to utf8
#include <lauxlib.h> #include <lualib.h> +#include <locale.h> + #define FRAME_SIZE (TIC80_FULLWIDTH * TIC80_FULLHEIGHT * sizeof(u32)) #define POPUP_DUR (TIC_FRAMERATE*2) @@ -1808,6 +1810,7 @@ static void studioClose() Studio* studioInit(s32 argc, char **argv, s32 samplerate, const char* folder, System* system) { + setl...
filter_record_modifier: add error check for flb_strndup(#5103)
@@ -101,10 +101,21 @@ static int configure(struct record_modifier_ctx *ctx, sentry = mk_list_entry_first(mv->val.list, struct flb_slist_entry, _head); mod_record->key_len = flb_sds_len(sentry->str); mod_record->key = flb_strndup(sentry->str, mod_record->key_len); + if (mod_record->key == NULL) { + flb_errno(); + flb_fr...
add a reference to libuv's error constants
@@ -133,6 +133,7 @@ success, or sometimes nothing at all. These cases are documented below. ### `uv.errno` A table value which exposes error constants as a map, where the key is the error name (without the `UV_` prefix) and its value is a negative number. +See Libuv's [Error constants](https://docs.libuv.org/en/v1.x/er...
tests: internal: env: windows support. Windows doesn't support setenv/unsetenv. This patch is to modify to use putenv/_putenv .
@@ -33,6 +33,7 @@ void test_translate_long_env() char *long_env = "ABC_APPLICATION_TEST_TEST_ABC_FLUENT_BIT_SECRET_FLUENTD_HTTP_HOST"; char long_env_ra[4096] = {0}; char *env_val = "aaaaa"; + char putenv_arg[4096] = {0}; size_t ret_size; int ret; @@ -41,14 +42,22 @@ void test_translate_long_env() TEST_MSG("long_env_ra ...
krane: Fix g-sensor reference point. bmi160 on krane rev3 is rotated. TEST=sysjump rw; boot into UI and see UI rotates accordingly. BRANCH=None Commit-Ready: Yilun Lin Tested-by: Yilun Lin
@@ -356,6 +356,15 @@ static struct mutex g_lid_mutex; static struct bmi160_drv_data_t g_bmi160_data; +#ifdef BOARD_KRANE +/* Matrix to rotate accelerometer into standard reference frame */ +const mat33_fp_t lid_standard_ref_rev3 = { + {0, FLOAT_TO_FP(-1), 0}, + {FLOAT_TO_FP(1), 0, 0}, + {0, 0, FLOAT_TO_FP(1)} +}; +#end...
os: Modify dbuild.sh to work aroung on centos linux dbuild.sh doesn't work out on centos linux with permission problem. Add --privileged option to fix it
@@ -431,7 +431,7 @@ function BUILD() fi fi echo "Docker Image Version : ${DOCKER_VERSION}" - docker run --rm ${DOCKER_OPT} -v ${TOPDIR}:/root/tizenrt -w /root/tizenrt/os tizenrt/tizenrt:${DOCKER_VERSION} ${BUILD_CMD} $1 2>&1 | tee build.log + docker run --rm ${DOCKER_OPT} -v ${TOPDIR}:/root/tizenrt -w /root/tizenrt/os ...
delayedFastEnddeviceProbe() don't interfere with Device code Prevent sending ZDP requests twice.
@@ -15272,6 +15272,11 @@ void DeRestPluginPrivate::delayedFastEnddeviceProbe(const deCONZ::NodeEvent *eve if (!hasNodeDescriptor) { + if (DEV_TestManaged()) + { + return; // Device code handles this + } + DBG_Printf(DBG_INFO, "[1] get node descriptor for 0x%016llx\n", sc->address.ext()); if (ZDP_NodeDescriptorReq(sc->a...
Check for parameters types in 'pasteboard'
@@ -9,7 +9,7 @@ from UIKit import UIPasteboard as __UIPasteboard__, UIImage from typing import List from __check_type__ import check try: - from rubicon.objc import ObjCClass + from rubicon.objc import ObjCClass, ObjCInstance except ValueError: def ObjCClass(class_name): return None @@ -45,6 +45,9 @@ def set_string(tex...
Update library.json for Platform.IO
"platforms": "*", "export": { "exclude": [ + ".github", + "dev" "docs", "**/.vs", "**/Debug", - "third_party/embedded-libs/st_hal/CMSIS/Lib/ARM" + "build", ] } } \ No newline at end of file
pci: add missing flounder dependency
("pci_iommu", ["rpcclient"])], flounderTHCStubs = [ "octopus" ], flounderBindings = [ "pci", "pci_iommu", "octopus", - "kaluga" ], + "kaluga", "int_route_controller" ], flounderExtraBindings = [("pci_iommu", ["rpcclient"])], mackerelDevices = [ "pci_hdr0", "pci_hdr1", "ht_config", "pci_sr_iov_cap", "pci_e1000_msix_cap"...
pngdec: set memory functions use png_create_read_struct_2 to set a malloc function allowing the code to fail on large allocations while fuzzing
#include <stdio.h> #ifdef WEBP_HAVE_PNG +#ifndef PNG_USER_MEM_SUPPORTED +#define PNG_USER_MEM_SUPPORTED // for png_create_read_struct_2 +#endif #include <png.h> #include <setjmp.h> // note: this must be included *after* png.h #include <stdlib.h> @@ -32,6 +35,18 @@ static void PNGAPI error_function(png_structp png, png_...
build: Add datestring to image tag
// TODO have a per plugin/binding deps in Dockerfile for easier maintanence // TODO add warnings plugins to scan for compiler warnings +// # Imports # +import java.text.SimpleDateFormat + // # Set Variables # CMPVERSION = '0.8.22' VERSION = '0.8.23' @@ -88,7 +91,6 @@ TEST_NOKDB = 'nokdb' TEST_ALL = 'all' TEST_INSTALL =...
Regenerate grammar.c
@@ -1142,7 +1142,7 @@ yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, void *yyscanne unsigned long int yylno = yyrline[yyrule]; int yynrhs = yyr2[yyrule]; int yyi; - YYFPRINTF (stderr, "Reducing stack by rule %d (line %" PRIu64 "):\n", + YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", yy...
doc: OPENSSL_CORE_CTX should never be cast to OSSL_LIB_CTX
@@ -220,10 +220,14 @@ the thread that is stopping and gets passed the provider context as an argument. This may be useful to perform thread specific clean up such as freeing thread local variables. -core_get_libctx() retrieves the library context in which the library +core_get_libctx() retrieves the core context in whi...
Docs - clarify ldapsearchattribute usage
@@ -255,7 +255,7 @@ ldapsearchattribute : Attribute to match against the user name in the search when doing search+bind authentication. ldapsearchfilter -: Beginning with Greenplum 6.22, this attribute enables you to provide a search filter to use when doing search+bind authentication. Occurrences of `$username` will b...
fib: fib path realloc during midchain stack Type: fix
@@ -645,14 +645,16 @@ fib_path_last_lock_gone (fib_node_t *node) ASSERT(0); } -static void +static fib_path_t* fib_path_attached_next_hop_get_adj (fib_path_t *path, vnet_link_t link, dpo_id_t *dpo) { + fib_node_index_t fib_path_index; fib_protocol_t nh_proto; adj_index_t ai; + fib_path_index = fib_path_get_index(path);...
Make sure mesh is created before using it later during sync
@@ -277,6 +277,9 @@ SyncOutputGeometryPart::createOutputMesh( dstPlug = partMeshFn.findPlug("inMesh"); status = myDagModifier.connect(srcPlug, dstPlug); CHECK_MSTATUS_AND_RETURN_IT(status); + + status = myDagModifier.doIt(); + CHECK_MSTATUS(status); } MPlug mayaSGAttributePlug;
bugfix: dual core chip haven't started the pro cpu in the bootloader, so no workaround is needed
@@ -44,7 +44,7 @@ void bootloader_sha256_data(bootloader_sha256_handle_t handle, const void *data, copy_words = MIN(word_len, copy_words); // Wait for SHA engine idle - while (REG_READ(SHA_256_BUSY_REG) != 0) { } + while (_DPORT_REG_READ(SHA_256_BUSY_REG) != 0) { } // Copy to memory block for (size_t i = 0; i < copy_wo...
Completions: Modify function to print subcommand We modify the logic of `_fish_kdb_no_subcommand` to create a new function `fish_kdb_subcommand`. The new function also prints the subcommand if it finds one. This functionality allows us to determine the current `kdb` subcommand.
@@ -9,19 +9,21 @@ function __input_includes -d 'Check if the current command buffer contains one o return 1 end -function __fish_kdb_no_subcommand -d 'Check if the current commandline buffer does not contain a subcommand' +function __fish_kdb_subcommand -d 'Check for and print the current kdb subcommand' set -l input (...
test: added metakey test for arrays
@@ -190,6 +190,20 @@ static void testexportmissing (const char * file) PLUGIN_CLOSE (); } +static void testKeyMetaKeyIsSet (const char * file) +{ + Key * parentKey = keyNew ("user:/tests/csvstorage", KEY_VALUE, srcdir_file (file), KEY_END); + KeySet * conf = ksNew (10, keyNew ("system:/delimiter", KEY_VALUE, ";", KEY_E...
Use get_corename for SPARC as well
@@ -1116,7 +1116,7 @@ int main(int argc, char *argv[]){ #ifdef FORCE printf("CORE=%s\n", CORENAME); #else -#if defined(INTEL_AMD) || defined(POWER) || defined(__mips__) || defined(__arm__) || defined(__aarch64__) || defined(ZARCH) +#if defined(INTEL_AMD) || defined(POWER) || defined(__mips__) || defined(__arm__) || def...
fix multi monitor bug
@@ -1987,7 +1987,8 @@ motionnotify(XEvent *e) tagwidth = gettagwidth(); // detect mouse hovering over other monitor - if ((m = recttomon(ev->x_root, ev->y_root, 1, 1)) != mon && mon) { + m = recttomon(ev->x_root, ev->y_root, 1, 1); + if (m && m != selmon) { unfocus(selmon->sel, 1); selmon = m; focus(NULL);
doc: fix redis link
@@ -21,7 +21,7 @@ changes in the Elektra state. - [ZeroMQ](http://zeromq.org/): small and popular library for pub/sub - [nanomsg](http://nanomsg.org/): from the same author as ZeroMQ, even smaller - http://nanomsg.org/documentation-zeromq.html -- [redis](http://redis.io/topics/pubsub): requires a running redis server +...
Work CI-CD Change build counter variable to reset it. ***NO_CI***
@@ -192,7 +192,7 @@ jobs: variables: DOTNET_NOLOGO: true # creates a counter and assigns it to the revision variable - REVISION: $[counter('STM32_versioncounter', 1000)] + REVISION: $[counter('STM32_versioncounter_1_7_1', 1000)] GNU_GCC_TOOLCHAIN_PATH: $(Agent.TempDirectory)\GNU_Tools_ARM_Embedded HelperPackageVersion:...
OcBootManagementLib: Resolve uninit issue in improved builtin picker renderer
@@ -151,12 +151,14 @@ OcShowSimpleBootMenu ( BOOLEAN PlayedOnce; BOOLEAN PlayChosen; - Code[1] = '\0'; + Code[1] = L'\0'; TimeOutSeconds = BootContext->PickerContext->TimeoutSeconds; ASSERT (BootContext->DefaultEntry != NULL); ChosenEntry = (INTN) (BootContext->DefaultEntry->EntryIndex - 1); OldChosenEntry = ChosenEntr...
fix type error when class_name none
@@ -31,7 +31,7 @@ def icon_for_window(window): else: # xwayland support class_name = window.window_class - if len(class_name) > 0: + if class_name is not None and len(class_name) > 0: class_name = class_name.lower() if class_name in WINDOW_ICONS: return WINDOW_ICONS[class_name]
Fix a lot of issues related to resizable windows
@@ -168,16 +168,22 @@ class EditorSplitViewController: SplitViewController { } } else { + if EditorSplitViewController.shouldShowConsoleAtBottom { + arrangement = .vertical + } + + if firstChild != editor || secondChild != console { + for view in view.subviews { view.removeFromSuperview() } - viewDidLoad() - super.view...
test: Reconf unit test cases run on mock driver
@@ -59,7 +59,7 @@ using namespace common_test; * Then the return value FPGA_OK if set or *..........Returns error code */ -TEST(LibopaecReconfCommonMOCKHW, gbs_reconf_01) { +TEST(LibopaecReconfCommonMOCK, gbs_reconf_01) { fpga_handle h; uint64_t usrlclock_high = 0; @@ -93,7 +93,7 @@ TEST(LibopaecReconfCommonMOCKHW, gbs...
profile: remove embeds from bio
@@ -49,7 +49,7 @@ export function ViewProfile(props: any) { justifyContent="center" width="100%"> <Center flexDirection="column" maxWidth='32rem'> - <RichText width='100%'> + <RichText width='100%' disableRemoteContent> {(contact?.bio ? contact.bio : "")} </RichText> </Center>
Remove file name from spec error
@@ -151,7 +151,7 @@ describe("Scope analysis: ", function() local x: integer = 0 return m ]], - "__test__.pln:2:31: scope error: type 'x' is not declared") + "type 'x' is not declared") end) end)
API consistency: pappl_printer_testpage_cb_t -> pappl_pr_testpage_cb_t
@@ -286,7 +286,7 @@ typedef bool (*pappl_pr_rwriteline_cb_t)(pappl_job_t *job, pappl_pr_options_t *o // Write a line of raster graphics callback typedef bool (*pappl_pr_status_cb_t)(pappl_printer_t *printer); // Update printer status callback -typedef const char *(*pappl_printer_testpage_cb_t)(pappl_printer_t *printer,...
Fix z-index of the searchBar
height: 30px; border: 1px solid #fbfbfb; transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; - -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; } + -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; + z-index: 3; + } body .searchBarWidget .sea...
Documentation: Fix a typo in an environment variable name. Should be XDG_CACHE_HOME, not XDG_CACHE_DIR.
@@ -22,7 +22,7 @@ pocl. If this is set to an existing directory, pocl uses it as the cache directory for all compilation results. This allows reusing compilation results between pocl invocations. If this env is not set, then the - default cache directory will be used, which is ``$XDG_CACHE_DIR/pocl/kcache`` + default c...
vm: stop earlier during page fault in debug builds
@@ -663,6 +663,11 @@ static void map_pageFault(unsigned int n, exc_context_t *ctx) vaddr = hal_exceptionsFaultAddr(n, ctx); paddr = (void *)((unsigned long)vaddr & ~(SIZE_PAGE - 1)); +#ifdef PAGEFAULTSTOP + process_dumpException(n, ctx); + __asm__ volatile ("1: b 1b"); +#endif + hal_cpuEnableInterrupts(); thread = proc...
add PLATFORM_HAS_BUTTON to coojamote header files
@@ -148,6 +148,10 @@ typedef unsigned long clock_time_t; #define COOJA_BTN_PIN 3 #define BUTTON_HAL_CONF_DEBOUNCE_DURATION 0 + +/* Notify various examples that we have Buttons */ +#define PLATFORM_HAS_BUTTON 1 +#define PLATFORM_SUPPORTS_BUTTON_HAL 1 /*--------------------------------------------------------------------...
Fixed a twitching of window when run AeroSnap
@@ -173,6 +173,7 @@ char MoveClient(ClientNode *np, int startx, int starty) /* Determine if we are at a border for desktop switching. */ sp = GetCurrentScreen(np->x + np->width / 2, np->y + np->height / 2); atLeft = atTop = atRight = atBottom = 0; + MaxFlags flags = MAX_NONE; if(event.xmotion.x_root <= sp->x) { atLeft ...
Allow full uint64 range for LocKeys
@@ -388,10 +388,36 @@ void Scripting::PostInitializeStage1() luaVm.new_usertype<gamedataLocKeyWrapper>("LocKey", sol::constructors<gamedataLocKeyWrapper(uint64_t)>(), - sol::call_constructor, sol::constructors<gamedataLocKeyWrapper(uint64_t)>(), sol::meta_function::to_string, &gamedataLocKeyWrapper::ToString, sol::meta...
yin parser ADD parsing of meta tags
@@ -35,6 +35,31 @@ enum YIN_ARGUMENT { YIN_ARG_TAG, }; +LY_ERR +parse_text_element(struct lyxml_context *xml_ctx, const char **data, const char **value) +{ + LY_ERR ret = LY_SUCCESS; + char *buf = NULL, *out = NULL; + size_t buf_len = 0, out_len = 0; + int dynamic; + + const char *prefix, *name; + size_t prefix_len, na...
Fix warnings in SceneSelect proptypes
@@ -2,10 +2,10 @@ import React, { Component } from "react"; import PropTypes from "prop-types"; import Select, { components } from "react-select"; import { connect } from "react-redux"; +import memoize from "lodash/memoize"; import { SceneShape, BackgroundShape } from "../../reducers/stateShape"; import { assetFilename...
Fix system failure when nc == NULL
@@ -182,26 +182,18 @@ netconn_evt(esp_evt_t* evt) { pbuf = esp_evt_conn_recv_get_buff(evt); /* Get received buff */ esp_conn_recved(conn, pbuf); /* Notify stack about received data */ - nc->rcv_packets++; /* Increase number of received packets */ - /* - * First increase reference number to prevent - * other thread to p...
[numerics] uncomment rolling tests that were wrongly commented
@@ -56,8 +56,8 @@ int main (int argc, char *argv[]) printf("%i tests for %i data files.\n", number_of_tests, n_data); - //int out = run_test_collection(collection, number_of_tests, rollingFrictionContact_test_function); - int out = 0; + int out = run_test_collection(collection, number_of_tests, rollingFrictionContact_t...
[utilities][ulog] Increase the usec check time.
@@ -268,6 +268,8 @@ RT_WEAK rt_size_t ulog_formater(char *log_buf, rt_uint32_t level, const char *ta } #endif /* ULOG_USING_COLOR */ + log_buf[log_len] = '\0'; + #ifdef ULOG_OUTPUT_TIME /* add time info */ { @@ -288,7 +290,7 @@ RT_WEAK rt_size_t ulog_formater(char *log_buf, rt_uint32_t level, const char *ta { long old_...
docs: add note for MALLOC_CAP_DMA for ESP32-S2 according to customer feedback
@@ -129,7 +129,11 @@ External RAM use has the following restrictions: * When flash cache is disabled (for example, if the flash is being written to), the external RAM also becomes inaccessible; any reads from or writes to it will lead to an illegal cache access exception. This is also the reason why ESP-IDF does not by...
VCL: cleanup misc. issues in vppcom Fix vppcom_select crash when n_bits == 0 Enhance debug output Remove port byte-swapping during accept
@@ -1014,7 +1014,7 @@ vl_api_accept_session_t_handler (vl_api_accept_session_t * mp) session->state = STATE_ACCEPT; session->is_cut_thru = 0; session->is_server = 1; - session->port = ntohs (mp->port); + session->port = mp->port; session->peer_addr.is_ip4 = mp->is_ip4; clib_memcpy (&session->peer_addr.ip46, mp->ip, siz...
[CI] Fix order of the commit references in the git diff call
@@ -27,7 +27,7 @@ fi echo "Comparing HEAD to $base" # Check for clang format -files=$(git diff --name-only HEAD $base) +files=$(git diff --name-only $base HEAD) EXIT_STATUS=0 # Only check C and C++ files for clang-format compatibility @@ -44,6 +44,6 @@ done # Check for trailing whitespaces and tabs echo "Checking for t...
cmake: Add include directory of LibCrypto to public s2n interface s2n.h includes SSL include files. If the prefix to the SSL includes isn't included in s2n's public interface include directories, then external projects depending on s2n must link against LibCrypto explicitly.
@@ -121,6 +121,7 @@ target_link_libraries(s2n PRIVATE LibCrypto::Crypto PRIVATE ${OS_LIBS}) target_include_directories(s2n PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>) target_include_directories(s2n PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/api> $<INSTALL_INTERFACE:include>) +target_include_directo...
BugID:19151001: Enable get device info for discover device.
@@ -178,11 +178,11 @@ const struct awss_cmp_couple awss_local_couple[] = { {AWSS_LC_INIT_SUC, TOPIC_AWSS_GET_CONNECTAP_INFO_UCAST, awss_process_ucast_get_connectap_info}, #ifndef AWSS_DISABLE_REGISTRAR {AWSS_LC_INIT_BIND, TOPIC_NOTIFY, awss_enrollee_suc_monitor}, - {AWSS_LC_INIT_BIND, TOPIC_NOTIFY, awss_enrollee_suc_mo...
picked up a few more mis-replaced jet hints having been bound they'll stay bound, but these seem less crucial, being mostly called from already inside the other compiler jets
== :: ++ cons :: make formula cell - ~/ %clhp + ~/ %cons |= {vur/nock sed/nock} ^- nock ?: ?=({{$0 *} {$0 *}} +<) %rest rest %tack tack %toss toss - %zpgr wrap + %wrap wrap == =+ :* fan=*(set {type hoon}) rib=*(set {type type hoon}) [(mate p.mox `_p.mox`[~ p.geq]) [[q.geq q.i.men] q.mox]] :: ++ wrap - ~/ %zpgr + ~/ %wr...
[build] meson misdetects mempcpy on some platforms (thx devnexen) x-ref: "Meson misdetects some functions with mingw-w64" "Solaris build fix proposal" "netbsd meson build fix"
@@ -130,7 +130,7 @@ conf_data.set('HAVE_MADVISE', compiler.has_function('madvise', args: defs)) conf_data.set('HAVE_MALLOC_TRIM', compiler.has_function('malloc_trim', args: defs)) conf_data.set('HAVE_MALLOPT', compiler.has_function('mallopt', args: defs)) conf_data.set('HAVE_MEMCPY', compiler.has_function('memcpy', arg...
Enable DBGMCU only if DEBUG=1
@@ -168,10 +168,14 @@ void SystemInit(void) /* dpgeorge: enable 8-byte stack alignment for IRQ handlers, in accord with EABI */ SCB->CCR |= SCB_CCR_STKALIGN_Msk; + #if !defined(NDEBUG) #if defined(MCU_SERIES_F4) || defined(MCU_SERIES_F7) DBGMCU->CR |= DBGMCU_CR_DBG_SLEEP; #elif defined(MCU_SERIES_H7) DBGMCU->CR |= DBGM...
apps/cmp.c: Improve safeguard assertion on consistency of cmp_options[] and cmp_vars[]
@@ -2153,7 +2153,16 @@ static int read_config(void) * would not make sense within the config file. * Moreover, these two options and OPT_VERBOSITY have already been handled. */ + int n_options = OSSL_NELEM(cmp_options) - 1; + for (i = start - OPT_HELP, opt = &cmp_options[start]; + opt->name; i++, opt++) + if (!strcmp(o...
Also distribute test/mod_h2test/Makefile.in, so people don't need to run autoreconf on distributed tarball.
@@ -18,6 +18,7 @@ DIST_SUBDIRS = mod_http2 ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = test/e2e test/unit test/Makefile.in test/Makefile.am \ + test/mod_h2test/Makefile.in \ test/mod_h2test/Makefile.am \ test/mod_h2test/mod_h2test.c \ test/mod_h2test/mod_h2test.h
superuser_reserved_connections default has changed from 3 to 10
@@ -9123,7 +9123,7 @@ statement_mem = rg_perseg_mem / max_expected_concurrent_queries</codeblock></li> <tbody> <row> <entry colname="col1">integer &lt; <i>max_connections</i></entry> - <entry colname="col2">3</entry> + <entry colname="col2">10</entry> <entry colname="col3">local<p>system</p><p>restart</p></entry> </row...
Disable compiler optimizations in debug mode
@@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.4) cmake_policy(SET CMP0065 NEW) +SET(CMAKE_C_FLAGS_DEBUG "-O0 -g") +SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g") + option(RPI4ARM64 "Set to ON if targeting an RaspberryPI4 device with multiarch arm64 and armhf" ${RPI4ARM64}) option(RK3326 "Set to ON if targeting an Rockchip RK33...
Fix Model destructor memory issues; Memory leaks. Freeing things that weren't allocated.
@@ -192,18 +192,35 @@ Model* lovrModelCreate(ModelData* data) { void lovrModelDestroy(void* ref) { Model* model = ref; + + if (model->buffers) { for (uint32_t i = 0; i < model->data->bufferCount; i++) { lovrRelease(Buffer, model->buffers[i]); } + free(model->buffers); + } + + if (model->meshes) { for (uint32_t i = 0; i...
FIX: add config_failstop tag to deleted_znode code
@@ -507,7 +507,7 @@ arcus_read_ZK_children(zhandle_t *zh, const char *zpath, watcher_fn watcher, return 1; /* The caller must free strv */ } -#ifdef DELETED_ZNODE +#if defined(CONFIG_FAILSTOP) && defined(DELETED_ZNODE) static int check_znode_existence(struct String_vector *strv, char *znode_name) { @@ -1796,7 +1796,7 @...
Import missing Applicative operators Required for GHC 7.8.
@@ -31,7 +31,7 @@ module Scripting.Lua.Aeson #if MIN_VERSION_base(4,8,0) #else -import Control.Applicative ((<$>), (<*>), (*>)) +import Control.Applicative ((<$>), (<*>), (*>), (<*)) #endif import Control.Monad (zipWithM_) import Data.HashMap.Lazy (HashMap)
crsf: send filtered volts instead of comp
@@ -81,10 +81,10 @@ uint8_t Battery remaining ( percent ) uint32_t crsf_tlm_frame_battery_sensor(uint8_t *buf) { buf[1] = CRSF_FRAME_BATTERY_SENSOR_PAYLOAD_SIZE + CRSF_FRAME_LENGTH_TYPE_CRC; buf[2] = CRSF_FRAMETYPE_BATTERY_SENSOR; - buf[3] = (int)(state.vbatt_comp * 10) >> 8; - buf[4] = (int)(state.vbatt_comp * 10); - ...
Initialize gc_mark_timestamp to zero to avoid garbage values.
@@ -176,6 +176,7 @@ vl_msg_api_alloc_internal (int nbytes, int pool, int may_return_null) rv = clib_mem_alloc (nbytes); rv->q = 0; + rv->gc_mark_timestamp = 0; svm_pop_heap (oldheap); pthread_mutex_unlock (&am->vlib_rp->mutex);
interface: div is not a self-closing tag
"theme_color": "%23000000"}' /> </head> <body> - <div id="root"/> + <div id="root"></div> <script src="/~landscape/js/channel.js"></script> <script src="/~landscape/js/session.js"></script> <script src="/~landscape/js/bundle/index.8e25dc41456a44c967da.js"></script>
Fix dual boot.
=/ dat .^(@t %cx pax) [(met 3 dat) dat] == - =/ all (~(tap by dir.lon) ~) + =/ all ~(tap by dir.lon) |- ^- mode:clay ?~ all hav $(all t.all, hav ^$(tyl [p.i.all tyl]))
unneed debuging message
@@ -96,7 +96,7 @@ ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags) struct sockaddr *from = (struct sockaddr *)msg->msg_name; int *addrlen = &(msg->msg_namelen); - printf("\n[Received IOTIVITY Packet][%s:%d] \n", __FUNCTION__, __LINE__); + //printf("\n[Received IOTIVITY Packet][%s:%d] \n", __FUNCTION__, __LINE...
testcase: Add MediaPlayer start, pause, stop utc Add simple start, pause, stop call test
@@ -101,6 +101,44 @@ TEST_F(SimpleMediaPlayerTest, unprepare) mp->destroy(); } +TEST_F(SimpleMediaPlayerTest, start) +{ + mp->create(); + mp->setDataSource(std::move(source)); + mp->prepare(); + + EXPECT_EQ(mp->start(), media::PLAYER_OK); + + mp->unprepare(); + mp->destroy(); +} + +TEST_F(SimpleMediaPlayerTest, pause) ...
Docs: Fix long lines in the coredump documentation
@@ -92,15 +92,33 @@ There are no special requirements for partition name. It can be chosen according sub-type should be 'coredump'. Also when choosing partition size note that core dump data structure introduces constant overhead of 20 bytes and per-task overhead of 12 bytes. This overhead does not include size of TCB ...
openssl.pod: Add documentation for using the loader_attic engine
@@ -615,6 +615,12 @@ L<config(5)/Engine Configuration>. The engine will be used for key ids specified with B<-key> and similar options when an option like B<-keyform engine> is given. +A special case is the C<loader_attic> engine, which +is meant just for internal OpenSSL testing purposes and +supports loading keys, pa...
naive: cast to _pending when updating pending-state
::TODO maybe want to cache locally, refresh on %fact from azimuth? :: ++ pending-state - ^- (quip pend-tx ^state:naive) + ^- [_pending ^state:naive] :: load current, canonical state :: =+ .^ nas=^state:naive
Update CHANGES.md and trailer.tmpl
@@ -5,6 +5,8 @@ Changes in CUPS v2.4.2 (TBA) ---------------------------- - Fixed conditional jump based on uninitialized value in cups/ppd.c (Issue #329) +- Fixed CSS related issues in CUPS Web UI (Issue #344) +- Fixed copyright in CUPS Web UI trailer template (Issue #346) - mDNS hostname in device uri is not resolved...
tests: move ip6 punt setup to its own class Move interface and packet setup for the ip6 punt test to its own class so that child classes can be created that use it. Type: test
@@ -2179,20 +2179,10 @@ class TestIP6LoadBalance(VppTestCase): self.send_and_expect_one_itf(self.pg0, port_pkts, self.pg3) -class TestIP6Punt(VppTestCase): - """ IPv6 Punt Police/Redirect """ - - @classmethod - def setUpClass(cls): - super(TestIP6Punt, cls).setUpClass() - - @classmethod - def tearDownClass(cls): - supe...
Added COPYFILE and COPYDIR tokens
copy = function(v) return "cp -rf " .. path.normalize(v) end, + copyfile = function(v) + return "cp -f " .. path.normalize(v) + end, + copydir = function(v) + return "cp -rf " .. path.normalize(v) + end, delete = function(v) return "rm -f " .. path.normalize(v) end, return "IF EXIST " .. src .. "\\ (xcopy /Q /E /Y /I "...
change the states in main function.
@@ -107,6 +107,12 @@ int mote_main(void) { if (app_vars.txpk_txDone){ + if (app_vars.time_in_second == BEACON_PERIOD) { + + app_vars.state = S_LISTEN_PROBE; + break; + } + app_vars.txpk_txDone = 0; // led leds_error_toggle(); @@ -166,14 +172,8 @@ void cb_scTimerCompare(void) { if (app_vars.state == S_SEND_BEACON) { - i...
[drivers/spi_flash_sfud] accept the error from spi read or write in spi_write_read function.
@@ -151,11 +151,11 @@ static sfud_err spi_write_read(const sfud_spi *spi, const uint8_t *write_buf, si if(rtt_dev->rt_spi_device->bus->mode & RT_SPI_BUS_MODE_QSPI) { qspi_dev = (struct rt_qspi_device *) (rtt_dev->rt_spi_device); if (write_size && read_size) { - if (rt_qspi_send_then_recv(qspi_dev, write_buf, write_size...
zephyr/shim/src/cbi/cros_cbi_fw_config.c: Format with clang-format BRANCH=none TEST=none
@@ -87,8 +87,7 @@ BUILD_ASSERT(TOTAL_FW_CONFIG_NODES_SIZE <= 32, DT_FOREACH_CHILD_STATUS_OKAY(inst, OR_FIELD_SHIFT_MASK) #define TOTAL_BITS_SET \ - (0 DT_FOREACH_STATUS_OKAY(CBI_FW_CONFIG_COMPAT, \ - FIELDS_ALL_BITS_SET)) + (0 DT_FOREACH_STATUS_OKAY(CBI_FW_CONFIG_COMPAT, FIELDS_ALL_BITS_SET)) BUILD_ASSERT(BIT_COUNT(TOT...
Check manual setting of hash salt
@@ -1510,6 +1510,8 @@ START_TEST(test_set_foreign_dtd) "<doc>&entity;</doc>"; char dtd_text[] = "<!ELEMENT doc (#PCDATA)*>"; + /* Check hash salt is passed through too */ + XML_SetHashSalt(parser, 0x12345678); XML_SetParamEntityParsing(parser, XML_PARAM_ENTITY_PARSING_ALWAYS); XML_SetUserData(parser, dtd_text); XML_Set...
Rename w variable in bitmap_foreach_set to avoid name conflicts
@@ -31,7 +31,7 @@ void bitmap_copy(bitmap dest, bitmap src); __w &= ~(1ull << (bit)), bit = lsb(__w), i = (offset) + (bit)) #define bitmap_foreach_set(b, i) \ - bitmap_foreach_word((b), w, s) bitmap_word_foreach_set(w, __bit, (i), s) + bitmap_foreach_word((b), _w, s) bitmap_word_foreach_set(_w, __bit, (i), s) static in...
gotta change my spoon sir too full
@@ -99,12 +99,11 @@ for x in range(len(my_info)): arrow_time_list = [] if int(my_info[x].more.rotate) >= 180: if my_info[x].time/1000 < spinRotationTime: - print("F") pass else: - z[start_index:start_index + len(speedup_dict["sound_" + str(spinSpeedup)])] = speedup_dict["sound_" + str(spinSpeedup)] * 0.5 + z[start_inde...
machinarium: context: use ret instead of popq/jmpq
@@ -97,6 +97,7 @@ mm_context_create(void *ctx, void *main_context, mm_fiberstack_t *stack, asm ( "\t.text\n" "\t.globl mm_context_swap\n" + "\t.type x,@function\n" "mm_context_swap:\n" #if __amd64 "\tpushq %rbp\n" @@ -113,8 +114,7 @@ asm ( "\tpopq %r12\n" "\tpopq %rbx\n" "\tpopq %rbp\n" - "\tpopq %rcx\n" - "\tjmpq *%rc...
fix(hal_disp): incorrect deinit callbacks set This patch correct some incorrectly set hal display callbacks.
@@ -88,11 +88,11 @@ void lv_disp_drv_init(lv_disp_drv_t * driver) #if LV_USE_GPU_STM32_DMA2D driver->draw_ctx_init = lv_draw_stm32_dma2d_ctx_init; - driver->draw_ctx_deinit = lv_draw_stm32_dma2d_ctx_init; + driver->draw_ctx_deinit = lv_draw_stm32_dma2d_ctx_deinit; driver->draw_ctx_size = sizeof(lv_draw_stm32_dma2d_ctx_...
Added line directing user to online man page in print_usage.
@@ -55,6 +55,7 @@ static void print_usage(void) printf(" -q, --quiet - quiet output\n"); printf(" -h, --help - print usage\n"); printf("\n"); + printf("For more information see https://mpifileutils.readthedocs.io.\n"); fflush(stdout); }
Include 'devicename' attribute in web based requests
@@ -1242,6 +1242,16 @@ int DeRestPluginPrivate::getBasicConfig(const ApiRequest &req, ApiResponse &rsp) } basicConfigToMap(rsp.map); + // include devicename attribute in web based requests + if (!gwDeviceName.isEmpty() && req.hdr.hasKey("User-Agent")) + { + const QString ua = req.hdr.value("User-Agent"); + if (ua.start...
bug fix: detect frame 3 of SHARED KEY authentication
@@ -2436,10 +2436,17 @@ if(caplen < (uint32_t)MAC_SIZE_NORM +wdsoffset +(uint32_t)AUTHENTICATIONFRAME_SI { return; } + +mac_t *macf; +macf = (mac_t*)packet; packet_ptr = packet +MAC_SIZE_NORM +wdsoffset; auth = (authf_t*)packet_ptr; -if(auth->authentication_algho == OPEN_SYSTEM) +if(macf->protected == 1) + { + authenti...
ci(pytest): add missing tags
@@ -43,7 +43,8 @@ markers = ethernet: ethernet runner ethernet_flash_8m: ethernet runner with 8mb flash wifi: wifi runner - wifi_bt + wifi_bt: wifi runner with bluetooth + deepsleep: deepsleep runners # multi-dut markers multi_dut_generic: tests should be run on generic runners, at least have two duts connected.
Per-relay reconnect on timeout
@@ -74,33 +74,25 @@ namespace Miningcore.Mining var timeout = TimeSpan.FromMilliseconds(1000); var reconnectTimeout = TimeSpan.FromSeconds(60); + var relays = clusterConfig.ShareRelays + .DistinctBy(x => $"{x.Url}:{x.SharedEncryptionKey}") + .ToArray(); + while (!cts.IsCancellationRequested) { - var lastMessageReceived...
move induced headers deps to variable
@@ -514,6 +514,14 @@ module BASE_UNIT { } } + FLATBUFFER_HEADER_INCLUDE=contrib/libs/flatbuffers/include/flatbuffers/flatbuffers.h + FLATBUFFER64_HEADER_INCLUDE=contrib/libs/flatbuffers64/include/flatbuffers/flatbuffers.h + + when ($ARCADIA_MAPKIT) { + FLATBUFFER_HEADER_INCLUDE= + FLATBUFFER64_HEADER_INCLUDE= + } + SAN...
Restore CMSIS.
@@ -11,7 +11,6 @@ manifest: import: # TODO: Rename once upstream offers option like `exclude` or `denylist` name-blacklist: - - cmsis - ci-tools - hal_atmel - hal_altera
libbarrelfish: only include hyper interface if building libarrakis
#include <barrelfish/systime.h> #include <barrelfish_kpi/domain_params.h> #include <if/monitor_defs.h> +#ifdef ARRAKIS #include <if/hyper_defs.h> +#endif #include <trace/trace.h> #include <octopus/init.h> #include "threads_priv.h"
WIP: poym fix to not update until full txinfo comes
=+ signed=(to-rawtx:bp txhex.act) =/ tx-match=? ?~ poym %.n - ~& >> (get-id:txu (decode:txu signed)) - ~& >>> ~(get-txid txb:bwsl u.poym) =((get-id:txu (decode:txu signed)) ~(get-txid txb:bwsl u.poym)) :_ ?. tx-match state ?~ poym state ~[(send-update [%sign-tx u.poym])] :: %close-pym - :: TODO: print out that results ...
Node.js: calling write callback asynchronously.
@@ -217,7 +217,19 @@ ServerResponse.prototype._writeBody = function(chunk, encoding, callback) { } if (typeof callback === 'function') { + /* + * The callback must be called only when response.write() caller + * completes. process.nextTick() postpones the callback execution. + * + * process.nextTick() is not technicall...
[persistence] use config->async_logging instead of the copied async_mode.
@@ -50,11 +50,11 @@ struct log_file_global { pthread_mutex_t log_fsync_lock; pthread_mutex_t fsync_lsn_lock; pthread_mutex_t file_access_lock; - bool async_mode; volatile bool initialized; }; /* global data */ +static struct engine_config *config = NULL; static EXTENSION_LOGGER_DESCRIPTOR *logger = NULL; static struct ...