message
stringlengths
6
474
diff
stringlengths
8
5.22k
drop NEHALEM from the DYNLIST for Windows/mingw to save time
@@ -81,7 +81,7 @@ jobs: vmImage: 'windows-latest' steps: - script: | - mingw32-make CC=gcc FC=gfortran DYNAMIC_ARCH=1 DYNAMIC_LIST="NEHALEM SANDYBRIDGE HASWELL" + mingw32-make CC=gcc FC=gfortran DYNAMIC_ARCH=1 DYNAMIC_LIST="SANDYBRIDGE HASWELL" - job: Windows_clang_cmake pool:
viofs-svc: SetBasicInfo now support FileAttributes modifications. This is a test solution which allow setting a read-only flag (FILE_ATTRIBUTE_READONLY) to a file or directory.
@@ -1145,8 +1145,6 @@ static NTSTATUS SetBasicInfo(FSP_FILE_SYSTEM *FileSystem, PVOID FileContext0, FUSE_SETATTR_IN setattr_in; FUSE_SETATTR_OUT setattr_out; - UNREFERENCED_PARAMETER(FileAttributes); - DBG("fh: %Iu nodeid: %Iu", FileContext->FileHandle, FileContext->NodeId); FUSE_HEADER_INIT(&setattr_in.hdr, FUSE_SETAT...
Small renaming in docs
@@ -20,7 +20,7 @@ from the DUT. Requests for a harness clock is done by the ``HarnessClockInstantiator`` class in ``generators/chipyard/src/main/scala/TestHarness.scala``. This class is accessed in harness components by referencing the Rocket Chip parameters key ``p(HarnessClockInstantiatorKey)``. -Then you can request...
Updates TSG.cmd for SMB over QUIC Add details about collecting SMB over QUIC traces.
@@ -19,6 +19,7 @@ This document is meant to be a step-by-step guide for trouble shooting any issue 3. [No application (stream) data seems to be flowing.](#why-isnt-application-data-flowing) 4. [Why is this API failing?](#why-is-this-api-failing) 5. [An MsQuic API is hanging.](#why-is-the-api-hanging-or-deadlocking) +6....
Make sure that keyboard side-effects trigger.
@@ -809,7 +809,8 @@ TCOD_event_t TCOD_sys_handle_mouse_event( */ TCOD_event_t TCOD_sys_handle_key_event(const SDL_Event* ev, TCOD_key_t* key) { - if (!ev || !key) { return TCOD_EVENT_NONE; } + if (!ev) { return TCOD_EVENT_NONE; } + if (!key) { key = &TCOD_ctx.key_state; } switch(ev->type) { case SDL_KEYDOWN: *key = TCO...
add warning for dirty git versions
/* Copyright 2015. The Regents of the University of California. - * Copyright 2015-2018. Martin Uecker. + * Copyright 2015-2021. Martin Uecker. + Copyright 2018. Damien Nguyen. * All rights reserved. Use of this source code is governed by * a BSD-style license which can be found in the LICENSE file. * * Authors: - * 20...
soto: tombstone
+:: soto [tombstone]: former dojo relay for urbit's landscape interface :: -:: soto [landscape]: A Dojo relay for Urbit's Landscape interface -:: -:: Relays sole-effects to subscribers and forwards sole-action pokes -:: -/- sole -/+ *soto, default-agent -|% -+$ card card:agent:gall -:: -+$ versioned-state - $@ state-nu...
doc: add enlish wikipedia to todo/documentation
@@ -31,3 +31,4 @@ Websites writing about Elektra or linking to Elektra - https://nl.wikipedia.org/wiki/Configuratiebestand - https://fr.wikipedia.org/wiki/Elektra_%28registre_linux%29 - https://de.wikipedia.org/wiki/Elektra_%28Software%29 +- https://en.wikipedia.org/wiki/Draft:Elektra_(Software) \ No newline at end of ...
fix when stdout is not a tty
#include "prefix.h" #ifdef TB_CONFIG_OS_LINUX #include <sys/ioctl.h> -#include <termios.h> -#include <unistd.h> +#include <errno.h> // for errno +#include <unistd.h> // for STDOUT_FILENO #endif /* ////////////////////////////////////////////////////////////////////////////////////// @@ -53,9 +53,14 @@ tb_int_t xm_os_ge...
Add serial to flywoof411rx
{ "name": "flywoof411rx", "configurations": [ + { + "name": "brushless.serial", + "defines": { + "BRUSHLESS_TARGET": "", + "RX_UNIFIED_SERIAL": "" + } + }, { "name": "brushless.frsky", "defines": {
VERSION bump to version 1.4.54
@@ -37,7 +37,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 4) -set(SYSREPO_MICRO_VERSION 53) +set(SYSREPO_MICRO_VERSION 54) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI...
eve: Swap volume up and down GPIO The buton behavior is inverted if we follow the schematic, so swap the GPIO on these inputs so they match the expected behavior. BRANCH=none TEST=manual test of side volume button behavior
@@ -18,8 +18,9 @@ GPIO_INT(PMIC_DPWROK, PIN(9, 7), GPIO_INT_BOTH, power_signal_interrupt) GPIO_INT(POWER_BUTTON_L, PIN(0, 4), GPIO_INT_BOTH | GPIO_PULL_UP, power_button_interrupt) GPIO_INT(LID_OPEN, PIN(6, 7), GPIO_INT_BOTH, lid_interrupt) GPIO_INT(TABLET_MODE_L, PIN(3, 6), GPIO_INT_BOTH, tablet_mode_interrupt) -GPIO_I...
Print function from which panic() is called.
@@ -96,6 +96,7 @@ terminate_non_graceful(void) { #define panic(...) \ do { \ + SCTP_PRINTF("%s(): ", __FUNCTION__);\ SCTP_PRINTF(__VA_ARGS__); \ SCTP_PRINTF("\n"); \ terminate_non_graceful(); \
remove ffi gem dependency
@@ -35,7 +35,6 @@ Gem::Specification.new do |s| s.add_dependency('simctl', '1.6.8') s.add_dependency('listen', '3.0.6') s.add_dependency('rubyzip', '1.3.0') - s.add_dependency('ffi', '1.12.2') s.add_dependency('rdoc', '4.2.2') s.add_dependency('deep_merge','1.1.1') s.add_dependency('nokogiri', '1.10.10')
fix null pointer ref in logger for bin update cmd reported by viennadd on github. (SourceBrella Inc)
@@ -2287,7 +2287,8 @@ static void process_bin_update(conn *c) { } /* FIXME: losing c->cmd since it's translated below. refactor? */ LOGGER_LOG(c->thread->l, LOG_MUTATIONS, LOGGER_ITEM_STORE, - NULL, status, 0, key, nkey, it->exptime, ITEM_clsid(it)); + NULL, status, 0, key, nkey, req->message.body.expiration, + ITEM_cl...
Add test for timestamp format valid against following format YYYY-MM-DDThh:mm:ss.sTZD (e.g.: "1997-07-16T19:20:30.452+01:00") ref:
@@ -6,6 +6,7 @@ FAILED_TEST_LIST="" FAILED_TEST_COUNT=0 EVT_FILE="/opt/test-runner/logs/events.log" +SCOPE_LOG_FILE="/opt/test-runner/logs/scope.log" starttest(){ CURRENT_TEST=$1 @@ -39,6 +40,7 @@ endtest(){ fi rm -f $EVT_FILE + rm -f $SCOPE_LOG_FILE } # @@ -104,6 +106,22 @@ fi endtest +# +# verify timestamp +# +startt...
hslua-marshalling: use unsafe next when peeking lists/key-val pairs
@@ -73,6 +73,7 @@ import qualified Data.ByteString.Lazy as BL import qualified Data.Map as Map import qualified Data.Set as Set import qualified Data.Text as T +import qualified HsLua.Core.Unsafe as Unsafe import qualified HsLua.Core.Utf8 as Utf8 -- | Record to keep track of failure contexts while retrieving objects @@...
Update README.md Grammar error correction (line 29)
@@ -26,7 +26,7 @@ you have the latest version - **[major change]** by starting v0.5.1, built-in alignment is removed from **vec3** and **mat3** types #### Note for C++ developers: -If you don't aware about original GLM library yet, you may also want to look at: +If you are not aware of the original GLM library yet, you...
mpich: disable pmix for default build
BuildRequires: slurm-devel%{PROJ_DELIM} slurm%{PROJ_DELIM} %endif -%{!?with_pmix: %define with_pmix 1} +%{!?with_pmix: %define with_pmix 0} %if 0%{with_pmix} BuildRequires: pmix%{PROJ_DELIM} BuildRequires: libevent-devel @@ -61,6 +61,7 @@ Message Passing Interface (MPI) standard. %ohpc_setup_compiler %if 0%{with_pmix} ...
test-suite: move test enabled summary for extrae to be in performance tools group
@@ -625,12 +625,6 @@ echo Dev Tools: echo ' 'EasyBuild................. : disabled fi - if test "x$enable_extrae" = "xyes"; then - echo ' 'Extrae.................... : enabled - else - echo ' 'Extrae.................... : disabled - fi - if test "x$enable_hwloc" = "xyes"; then echo ' 'hwloc..................... : enabl...
Add timestamps for idf_monitor.py Closes
@@ -93,7 +93,8 @@ class Monitor(object): decode_coredumps=COREDUMP_DECODE_INFO, decode_panic=PANIC_DECODE_DISABLE, target='esp32', - websocket_client=None, enable_address_decoding=True): + websocket_client=None, enable_address_decoding=True, + timestamps=False): # type: (serial.Serial, str, str, str, bool, str, str, st...
dev-tools/cmake: update to v3.13.4
%define pname cmake -%define major_version 3.12 -%define minor_version 3 +%define major_version 3.13 +%define minor_version 4 Summary: CMake is an open-source, cross-platform family of tools designed to build, test and package software. Name: %{pname}%{PROJ_DELIM}
WIP Event autolabel custom event actor names
@@ -35,6 +35,14 @@ const Wrapper = styled.div` max-width: 100%; `; +const customEventActorsLookup = keyBy( + Array.from(Array(10).keys()).map((i) => ({ + id: String(i), + name: `Actor ${String.fromCharCode("A".charCodeAt(0) + i)}`, + })), + "id" +); + const ScriptEventTitle = ({ command, args = {} }: ScriptEventTitlePr...
Remove macos update_dyld_shared_cache This just doesn't work well for a non global install. It is better packages that need this to run it themselves.
@@ -42,13 +42,13 @@ CFLAGS=-std=c99 -Wall -Wextra -Isrc/include -Isrc/conf -fpic -O2 -fvisibility=hi LDFLAGS=-rdynamic # For installation -LDCONFIG:=ldconfig +LDCONFIG:=ldconfig "$(LIBDIR)" # Check OS UNAME:=$(shell uname -s) ifeq ($(UNAME), Darwin) CLIBS:=$(CLIBS) -ldl - LDCONFIG:=update_dyld_shared_cache + LDCONFIG:=...
libbpf-tools/opensnoop: disable open on aarch64 aarch64 has no open syscall, do not attempt to trace it. Fixes
@@ -242,6 +242,16 @@ int main(int argc, char **argv) obj->rodata->targ_uid = env.uid; obj->rodata->targ_failed = env.failed; +#ifdef __aarch64__ + /* aarch64 has no open syscall, only openat variants. + * Disable associated tracepoints that do not exist. See #3344. + */ + bpf_program__set_autoload( + obj->progs.tracepo...
[readme] No more MANGOHUD_OUTPUT
@@ -181,7 +181,7 @@ All vulkan vsync options might not be supported on your device, you can check wh ## MangoHud FPS logging -When you toggle logging (using the keybind `F2`), a file is created with your chosen name (using `MANGOHUD_OUTPUT`) plus a date & timestamp. +When you toggle logging (using the keybind `F2`), a ...
rsa: remove the limit on the maximum key strength
#define RSA_FIPS1864_MIN_KEYGEN_KEYSIZE 2048 #define RSA_FIPS1864_MIN_KEYGEN_STRENGTH 112 -#define RSA_FIPS1864_MAX_KEYGEN_STRENGTH 256 /* * Generate probable primes 'p' & 'q'. See FIPS 186-4 Section B.3.6 @@ -174,8 +173,7 @@ int ossl_rsa_sp800_56b_validate_strength(int nbits, int strength) int s = (int)ossl_ifc_ffc_co...
Add extra wintrust typdefs
@@ -54,6 +54,16 @@ typedef BOOL (WINAPI *_CryptCATAdminCalcHashFromFileHandle2)( _In_ ULONG dwFlags ); +#define CRYPTCATADMIN_CALCHASH_FLAG_NONCONFORMANT_FILES_FALLBACK_FLAT 0x1 + +typedef BOOL (WINAPI *_CryptCATAdminCalcHashFromFileHandle3)( + _In_ HCATADMIN hCatAdmin, + _In_ HANDLE hFile, + _Out_ PULONG pcbHash, + _O...
Add infos to help using for_window to man 5
@@ -770,17 +770,20 @@ Mark all Firefox windows with "Browser": [class="Firefox"] mark Browser ``` +You may like to use swaymsg -t get_tree for finding the values of these +properties in practice for your applications. + The following attributes may be matched with: *app_id* Compare value against the app id. Can be a re...
tool: webd fix supported version
@@ -31,14 +31,12 @@ getVersions() error(`are you sure you have libelektra and kdb installed?`); process.exit(1); } else { - const { major, minor, micro } = versions.elektra; - const versionSupported = major >= 0 && minor >= 8 && micro >= 23; + const { major, minor, micro } = versions.elektra + const versionSupported = ...
chat-hook: clarify backlog wire handling logic
[%pass chat-history %agent [ship %chat-hook] %watch chat-history]~ :: [%backlog @ @ *] - =/ pax `path`(oust [(dec (lent t.wir)) 1] `(list @ta)`t.wir) - ?. (~(has by synced) pax) [~ state] + =/ chat=path (oust [(dec (lent t.wir)) 1] `(list @ta)`t.wir) + ?. (~(has by synced) chat) [~ state] =/ =ship ?: =('~' i.t.wir) (sl...
Do not bundle shared library with Maven.
<arg value="--build"/> <arg value="."/> <arg value="--target"/> - <arg value="tinysplinejar"/> + <arg value="tinysplinejava"/> </exec> </target> </configuration> </goals> <configuration> <target> - <echo>Replacing Maven generated jar with CMake generated jar</echo> - <!-- delete original jar --> - <delete file="${proje...
sub shm BUGFIX parse oper parent as data not config only Also, print LY error if parent fails to be parsed. Refs
@@ -2194,8 +2194,12 @@ sr_shmsub_oper_listen_process_module_events(struct modsub_oper_s *oper_subs, sr_ /* parse data parent */ ly_errno = 0; parent = lyd_parse_mem(conn->ly_ctx, oper_sub->sub_shm.addr + sizeof(sr_sub_shm_t) + sr_strshmlen(request_xpath), - LYD_LYB, LYD_OPT_CONFIG | LYD_OPT_STRICT); - SR_CHECK_INT_GOTO...
core/minute-ia/interrupts.h: Format with clang-format BRANCH=none TEST=none
@@ -21,10 +21,8 @@ typedef struct { #define INTR_DESC(__irq, __vector, __trig) \ { \ - .irq = __irq, \ - .trigger = __trig, \ - .polarity = IOAPIC_REDTBL_INTPOL_HIGH, \ - .vector = __vector \ + .irq = __irq, .trigger = __trig, \ + .polarity = IOAPIC_REDTBL_INTPOL_HIGH, .vector = __vector \ } #define LEVEL_INTR(__irq, _...
[DFS] clean the unnecessary checking
@@ -129,7 +129,7 @@ const char *dfs_filesystem_get_mounted_path(struct rt_device *device) for (iter = &filesystem_table[0]; iter < &filesystem_table[DFS_FILESYSTEMS_MAX]; iter++) { - /* fint the mounted device */ + /* find the mounted device */ if (iter->ops == NULL) continue; else if (iter->dev_id == device) { @@ -321...
Update HDKF label for handshake packets
@@ -78,7 +78,7 @@ int derive_cleartext_secret(uint8_t *dest, size_t destlen, uint64_t secret, int derive_client_cleartext_secret(uint8_t *dest, size_t destlen, const uint8_t *secret, size_t secretlen) { - static constexpr uint8_t LABEL[] = "QUIC client cleartext Secret"; + static constexpr uint8_t LABEL[] = "QUIC clien...
fix bug when execute undo with if_else_block
@@ -221,6 +221,15 @@ Blockly.Blocks['controls_if'] = { * @this Blockly.Block */ domToMutation: function(xmlElement) { + // Delete everything. + if (this.elseCount_) { + this.removeInput('ELSE'); + } + for (var i = this.elseifCount_; i > 0; i--) { + this.removeInput('IF' + i); + this.removeInput('DO' + i); + } + // Rebu...
esp_netif: Fix dhcps state transitions When the DHCP server is stopped before starting the netif, it should remain stopped -- as per compatibility with previous tcpip_adapter behavior
@@ -726,7 +726,7 @@ static esp_err_t esp_netif_start_api(esp_netif_api_msg_t *msg) } if (esp_netif->flags & ESP_NETIF_DHCP_SERVER) { #if ESP_DHCPS - if (esp_netif->dhcps_status != ESP_NETIF_DHCP_STARTED) { + if (esp_netif->dhcps_status == ESP_NETIF_DHCP_INIT) { if (p_netif != NULL && netif_is_up(p_netif)) { esp_netif_i...
Fix coverity issue: CID - Resource leak in apps/pkcs12.c
@@ -541,13 +541,15 @@ int pkcs12_main(int argc, char **argv) X509_STORE_free(store); if (vret == X509_V_OK) { + int add_certs; /* Remove from chain2 the first (end entity) certificate */ X509_free(sk_X509_shift(chain2)); /* Add the remaining certs (except for duplicates) */ - if (!X509_add_certs(certs, chain2, X509_ADD...
Fix xGEMMT argument lists
@@ -566,7 +566,8 @@ void LAPACK(sgemmt)( const float *B, const blasint *ldB, const float *beta, float *C, const blasint *ldC ) { - RELAPACK_sgemmt(uplo, n, A, ldA, info); + blasint info; + RELAPACK_sgemmt(uplo, transA, transB, n, k, alpha, A, ldA, B, ldB, beta, C, info); } #endif @@ -578,7 +579,8 @@ void LAPACK(dgemmt)...
Don't Use v4 Local Addr CMsg
@@ -191,7 +191,6 @@ typedef struct CXPLAT_SEND_DATA { typedef struct CXPLAT_RECV_MSG_CONTROL_BUFFER { char Data[CMSG_SPACE(sizeof(struct in6_pktinfo)) + - CMSG_SPACE(sizeof(struct in_pktinfo)) + 2 * CMSG_SPACE(sizeof(int))]; } CXPLAT_RECV_MSG_CONTROL_BUFFER; @@ -1143,25 +1142,6 @@ CxPlatSocketContextInitialize( goto Ex...
when not building for CUDA on a system with CUDA installed, one must fake it by setting CUDA_TOOLKIT_ROOT_DIR to OFF
@@ -114,6 +114,10 @@ if [ "$AOMP_BUILD_CUDA" == 1 ] ; then -DLIBOMPTARGET_NVPTX_CUDA_COMPILER=$AOMP/bin/clang++ -DLIBOMPTARGET_NVPTX_BC_LINKER=$AOMP/bin/llvm-link -DLIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES=$NVPTXGPUS" +else +# Need to force CUDA off this way in case cuda is installed in this system + COMMON_CMAKE_OPTS="...
Add option for using tags in jpm deps.
@@ -569,17 +569,25 @@ int main(int argc, const char **argv) { (defn install-git "Install a bundle from git. If the bundle is already installed, the bundle is reinistalled (but not rebuilt if artifacts are cached)." - [repo] + [repotab] + (def repo (if (string? repotab) repotab (repotab :repo))) + (def tag (unless (stri...
packaging: add parallel option
@@ -6,6 +6,7 @@ ELEKTRA_PLUGINS='ALL;mozprefs;multifile;gitresolver;jni;ruby;yamlcpp;toml' ELEKTRA_TOOLS='ALL' ELEKTRA_BINDINGS='cpp;lua;python;ruby;jna;glib;IO;INTERCEPT' +PARALLEL=${PARALLEL:-1} PACKAGE_REVISION=${1:-1} DIST_NAME=${2:-$(grep "^NAME=" /etc/os-release | awk -F= {' print $2'} | sed 's/\"//g')} @@ -68,4 ...
More changes for the docker docs.
-# Docker Support for IPP Sample Code +Docker Support for IPP Sample Code +================================== This repository includes a sample Dockerfile for compiling and running `ippserver` in a Docker container. -**To run IPP sample code on Docker:** -1. From a shell prompt in the directory (on Windows 10|2016, mac...
pybricks.common.System: Shutdown placeholder. Reset will not be part of the end-user API. We will only keep it for backwards-compatibility for system updates. There will be a graceful shutdown instead. This adds the placeholder and moves the corresponding TODO note.
@@ -23,10 +23,6 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_0(pb_type_System_name_obj, pb_type_System_name); #if PBDRV_CONFIG_RESET -// REVISIT: there should be a pbio_reset() instead of pbdrv_reset() to gracefully -// shut down the hub (e.g. if the power button is pressed or USB is plugged in, -// some hubs will not actually sh...
Add more iterators to TArrayRef ([arc::pullid] d3c08a74-dcddbdfe-a919b2cf-d06d60c4)
#include <algorithm> #include <initializer_list> +#include <iterator> /** * `TArrayRef` works pretty much like `std::span` with dynamic extent, presenting @@ -31,6 +32,8 @@ public: using reference = T&; using const_reference = const T&; using value_type = T; + using reverse_iterator = std::reverse_iterator<iterator>; +...
README.md: Replace note about gopkg.in with future Go versioning system
@@ -122,7 +122,7 @@ To get the bindings, type:\ or type this if you use Bash terminal:\ `go get -v github.com/veandco/go-sdl2/{sdl,img,mix,ttf}` -Due to `go-sdl2` being under active development, a lot of breaking changes are going to happen during v0.x. Therefore if you want to stay with the latest stable version, you ...
Remove redundancy GETNAME in client help command message probably a copy paste error.
@@ -2868,8 +2868,6 @@ void clientCommand(client *c) { " Control the replies sent to the current connection.", "SETNAME <name>", " Assign the name <name> to the current connection.", -"GETNAME", -" Get the name of the current connection.", "UNBLOCK <clientid> [TIMEOUT|ERROR]", " Unblock the specified blocked client.", "...
Updated README.md Docker section (SSL).
@@ -217,7 +217,8 @@ example, for Apache's *combined* log format: output /srv/report/index.html real-time-html true -If you want a secure connection, a TLS/SSL certificate and a key files must be configured as well: +If you want a secure connection, a TLS/SSL certificate and a key files must be +configured as well in yo...
show system host: handle unrecognized display values
@@ -32,6 +32,14 @@ struct Command ShowHostServerCommand = { ShowHostServer }; +CHAR16 *mppAllowedShowHostServerDisplayValues[] = { + DISPLAYED_NAME_STR, + DISPLAYED_OS_NAME_STR, + DISPLAYED_OS_VERSION_STR, + DISPLAYED_MIXED_SKU_STR, + DISPLAYED_SKU_VIOLATION_STR +}; + /** Execute the show host server command @@ -92,6 +...
fix third attempt
@@ -80,8 +80,8 @@ uint8_t const * tud_descriptor_device_cb(void) TUD_USBTMC_BULK_DESCRIPTORS(/* OUT = */0x01, /* IN = */ 0x81, /* packet size = */USBTMCD_MAX_PACKET_SIZE) #if CFG_TUD_USBTMC_ENABLE_INT_EP -// USBTMC Interrupt xfer always has length of 2, but we use epMaxSize=8 here for compatibility -// with microcontro...
gall: suspend agents on upgrade
[%g %wiping-eyre-subs] |- ^+ mo-core ?~ apps mo-core + ?. =(%base q.beak.egg.i.apps) + ~> %slog.[0 leaf+"gall: suspending {<dap.i.apps>}"] + =. old-state.egg.i.apps + =/ old old-state.egg.i.apps + |/?-(-.old %| p.old, %& p.old) + =/ ap-core (ap-abut:ap:mo-core i.apps) + $(apps t.apps, mo-core ap-abet:ap-core) ~> %slog....
Reformat CMake: Do not execute commands in strings
@@ -11,12 +11,12 @@ SCRIPTS_DIR=$(dirname "$0") CMAKE_FORMAT=$(which cmake-format) if [ -z "${CMAKE_FORMAT}" ]; then - echo "Please install `cmake-format`" + echo 'Please install `cmake-format`' exit 0 fi if [ -z "$(which sponge)" ]; then - echo "Please install `sponge`" + echo 'Please install `sponge`' exit 0 fi
unicode_gif.h: fix -Wdeclaration-after-statement when building for windows with _UNICODE defined unicode_gif.h|49 col 3| warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
@@ -45,7 +45,7 @@ static GifFileType* DGifOpenFileUnicode(const W_CHAR* file_name, int* error) { } #if defined(_WIN32) && defined(_UNICODE) - + { int file_handle = _wopen(file_name, _O_RDONLY | _O_BINARY); if (file_handle == -1) { if (error != NULL) *error = D_GIF_ERR_OPEN_FAILED; @@ -57,6 +57,7 @@ static GifFileType* ...
parser: remove unused variable
@@ -115,7 +115,6 @@ int flb_parser_logfmt_do(struct flb_parser *parser, */ static void flb_interim_parser_destroy(struct flb_parser *parser) { - int i = 0; if (parser->type == FLB_PARSER_REGEX) { flb_regex_destroy(parser->regex); flb_free(parser->p_regex);
fix(Makefile): missing mujs dependency for test executables
@@ -127,7 +127,7 @@ $(OBJDIR)/%.c.o : %.c $(CC) $(CFLAGS) $(LIBS_CFLAGS) -c -o $@ $< $(BOTS_DIR)/%.exe: $(BOTS_DIR)/%.c $(CC) $(CFLAGS) $(LIBS_CFLAGS) -o $@ $< $(LIBDISCORD_LDFLAGS) $(LIBREDDIT_LDFLAGS) $(LIBGITHUB_LDFLAGS) $(LIBS_LDFLAGS) -%.exe: %.c all_api_libs +%.exe: %.c mujs all_api_libs $(CC) $(CFLAGS) $(LIBS_CF...
Copy `port` data, since we're printing it after the fact and it might be dynamically allocated.
@@ -284,7 +284,7 @@ struct ListenerProtocol { sock_rw_hook_s *(*set_rw_hooks)(intptr_t uuid, void *udata); void (*on_start)(void *udata); void (*on_finish)(void *udata); - const char *port; + char port[16]; }; static sock_rw_hook_s *listener_set_rw_hooks(intptr_t uuid, void *udata) { @@ -378,8 +378,9 @@ listener_alloc(...
driver/tcpm/fusb307.c: Format with clang-format BRANCH=none TEST=none
@@ -44,25 +44,29 @@ int fusb307_tcpm_set_polarity(int port, enum tcpc_cc_polarity polarity) tcpm_get_cc(port, &cc1, &cc2); if (cc1) { if (pd_get_power_role(port) == PD_ROLE_SINK) { - int role = TCPC_REG_ROLE_CTRL_SET(0, - tcpci_get_cached_rp(port), TYPEC_CC_RD, TYPEC_CC_OPEN); + int role = TCPC_REG_ROLE_CTRL_SET( + 0, ...
dpdk: failsafe PMD initialization code Added code to initialize failsafe PMD This is part of initial effort to enable vpp running over dpdk on failsafe PMD in Microsoft Azure(4/4).
@@ -503,6 +503,11 @@ dpdk_lib_init (dpdk_main_t * dm) xd->port_type = VNET_DPDK_PORT_TYPE_ETH_VF; break; + case VNET_DPDK_PMD_FAILSAFE: + xd->port_type = VNET_DPDK_PORT_TYPE_FAILSAFE; + xd->port_conf.intr_conf.lsc = 1; + break; + default: xd->port_type = VNET_DPDK_PORT_TYPE_UNKNOWN; } @@ -632,6 +637,26 @@ dpdk_lib_init...
fix cv test
@@ -550,7 +550,7 @@ def test_copy_model(): def test_cv(): pool = Pool(TRAIN_FILE, column_description=CD_FILE) - results = cv({"iterations": 5, "random_seed": 0, "loss_function": "Logloss"}, pool) + results = cv(pool, {"iterations": 5, "random_seed": 0, "loss_function": "Logloss"}) assert isinstance(results, dict) asser...
VERSION bump to version 0.12.55
@@ -34,7 +34,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 12) -set(LIBNETCONF2_MICRO_VERSION 54) +set(LIBNETCONF2_MICRO_VERSION 55) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(L...
Allow getting and printing of cookie options
@@ -398,6 +398,9 @@ config_print_zone(nsd_options_type* opt, const char* k, int s, const char *o, SERV_GET_STR(tls_service_ocsp, o); SERV_GET_STR(tls_service_pem, o); SERV_GET_STR(tls_port, o); + SERV_GET_STR(cookie_secret, o); + SERV_GET_STR(cookie_secret_file, o); + SERV_GET_BIN(answer_cookie, o); /* int */ SERV_GET_...
Fix cast warning on 64 bit VS
@@ -38,7 +38,7 @@ static const uint8_t* picoquic_log_fixed_skip(const uint8_t* bytes, const uint8_ static const uint8_t* picoquic_log_varint_skip(const uint8_t* bytes, const uint8_t* bytes_max) { - return bytes == NULL ? NULL : (bytes < bytes_max ? picoquic_log_fixed_skip(bytes, bytes_max, VARINT_LEN(bytes)) : NULL); +...
Fix regression when connecting with Unix sockets
@@ -472,7 +472,7 @@ int redisContextConnectBindTcp(redisContext *c, const char *addr, int port, int redisContextConnectUnix(redisContext *c, const char *path, const struct timeval *timeout) { int blocking = (c->flags & REDIS_BLOCK); - struct sockaddr_un sa; + struct sockaddr_un *sa; long timeout_msec = -1; if (redisCre...
updates %eyre state adaptation in +load
-- :: |% :: models ++ bolo :: eyre state - $: $0 :: version + $: $1 :: version dom/(set (list @t)) :: domain names fig/http-config :: config por/{clr/@ud sek/(unit @ud)} :: live ports ~ :: ++ load :: take previous state - ::|= * %. (bolo +<) - |= old/?(bolo) ^+ ..^$ + => |% + ++ bolo-old (cork bolo |=(bolo [%0 |5.+<]))...
main: Added option (-a) to set the ua agent string.
@@ -73,6 +73,7 @@ static void usage(void) #if HAVE_INET6 "\t-6 Force IPv6 only\n" #endif + "\t-a <software> Specify SIP User-Agent string\n" "\t-d Daemon\n" "\t-e <commands> Execute commands (repeat)\n" "\t-f <path> Config path\n" @@ -92,6 +93,8 @@ int main(int argc, char *argv[]) { int af = AF_UNSPEC, run_daemon = fal...
Make test_alloc_parse_xdecl() robust vs allocation pattern changes
@@ -7846,25 +7846,21 @@ START_TEST(test_alloc_parse_xdecl) "<?xml version='1.0' encoding='utf-8'?>\n" "<doc>Hello, world</doc>"; int i; - int repeat = 0; -#define MAX_ALLOC_COUNT 10 +#define MAX_ALLOC_COUNT 15 for (i = 0; i < MAX_ALLOC_COUNT; i++) { - /* Repeat some (most) counts to defeat cached allocations */ - if (i...
updates :dns to depend on %ford's implicit =~
:: :: moves and state :: -=> |% +|% +$ move (pair bone card) +$ poke $% [%dns-command command] == -- :: -:: helpers +:: oauth2 implementation, and helpers :: -=> |% +|% :: +join: join list of cords with separator :: :: XX move to zuse? -- -- :: -=> |% +:: app/provider helpers +:: +|% :: +name: fully-qualified domain na...
VCL: Fix socket_test.sh to build test apps. Replace autoconf base test app build detection with appropriate cmake based incantation. Use the dpdk_devbind.py that is in the VPP tree.
@@ -9,7 +9,7 @@ vpp_shm_dir="/dev/shm/" vpp_run_dir="/run/vpp" lib_dir="$WS_ROOT/build-root/install-vpp-native/vpp/lib/" lib_debug_dir="$WS_ROOT/build-root/install-vpp_debug-native/vpp/lib/" -dpdk_devbind="/usr/share/dpdk/usertools/dpdk-devbind.py" +dpdk_devbind="$WS_ROOT/extras/vpp_config/scripts/dpdk-devbind.py" dock...
NULL protection for pool stop
@@ -337,6 +337,8 @@ static void *defer_worker_thread(void *pool_) { /** Signals a running thread pool to stop. Returns immediately. */ void defer_pool_stop(pool_pt pool) { + if (!pool) + return; pool->flag = 0; for (size_t i = 0; i < pool->count; ++i) { defer_thread_signal();
Export last_ast_pass This makes the driver.test_ast function more useful
@@ -22,7 +22,7 @@ local ast_passes = { { name = "checker", f = checker.check }, { name = "upvalues", f = upvalues.analyze }, } -local last_ast_pass = ast_passes[#ast_passes].name +driver.last_ast_pass = ast_passes[#ast_passes].name local function compile_pallene_to_ast(pallene_filename, stop_after) local err, errs @@ -...
Fix idle in transaction session timeout pgoption FIx a typo. Advanced PGOPTIONS parsing was added between 1.1 and 1.2 odyssey versions, including idle_in_transaction_session_timeout parameter passing. Thats means odyssey will lookup in startup parameter key/value pairs and parse all hardcoded pgoptions, but this requir...
@@ -22,7 +22,7 @@ typedef enum { KIWI_VAR_SEARCH_PATH, KIWI_VAR_STATEMENT_TIMEOUT, KIWI_VAR_LOCK_TIMEOUT, - KIWI_VAR_IDLE_IN_TRANSACTION_TIMEOUT, + KIWI_VAR_IDLE_IN_TRANSACTION_SESSION_TIMEOUT, KIWI_VAR_DEFAULT_TABLE_ACCESS_METHOD, KIWI_VAR_DEFAULT_TOAST_COMPRESSION, KIWI_VAR_CHECK_FUNCTION_BODIES, @@ -116,9 +116,9 @@ ...
Pushing back overwritten changes vol2
@@ -59,6 +59,7 @@ typedef struct testcase_s { #define UNKNOWN_PKT(src, dst, ...) {FAKE_PKT, 0, 0, ETH(src, dst, ##__VA_ARGS__), WAIT_CONTROLPLANE_REPLY, 0, ETH(src, dst, ##__VA_ARGS__)} #define LEARNED_PKT(port, src, dst, ...) {FAKE_PKT, 0, 0, ETH(src, dst, ##__VA_ARGS__), 0, port, ETH(src, dst, ##__VA_ARGS__)} +#defin...
Travis: Improve cmake format install command
@@ -336,7 +336,7 @@ before_install: sudo apt-get install libzmq3-dev sudo apt-get install libxerces-c-dev sudo apt-get install moreutils # contains `sponge` required by `reformat-cmake` - sudo pip install cmake-format==0.4.5 pyyaml + sudo pip install cmake-format[yaml]==0.4.5 git clone --branch 2.7.1 --depth 1 https://...
oc_discovery: Minor fixes
@@ -586,33 +586,12 @@ oc_ri_process_discovery_payload(uint8_t *payload, int len, rep = rep->next; } - oc_rep_t *link = links->value.object; - - while (link != NULL) { - switch (link->type) { - case OC_REP_STRING: { - if (oc_string_len(link->name) == 6 && - memcmp(oc_string(link->name), "anchor", 6) == 0) { - anchor = &...
Synchronize clipboard on Ctrl+v Pressing Ctrl+v on the device will typically paste the clipboard content. Before sending the key event, synchronize the computer clipboard to the device clipboard to allow seamless copy-paste.
@@ -326,13 +326,15 @@ input_manager_process_key(struct input_manager *im, struct controller *controller = im->controller; - // The shortcut modifier is pressed - if (smod) { SDL_Keycode keycode = event->keysym.sym; bool down = event->type == SDL_KEYDOWN; - int action = down ? ACTION_DOWN : ACTION_UP; + bool ctrl = even...
Do not upload integration test asset This file doesn't exist anymore
@@ -665,16 +665,6 @@ jobs: pattern: "*-gadget-*-*-tar-gz/*-gadget-*-*.tar.gz" github-token: ${{ secrets.GITHUB_TOKEN }} release-url: ${{ steps.create_release.outputs.upload_url }} - - name: Upload Testing Asset - id: upload-release-asset-testing - uses: actions/upload-release-asset@v1.0.1 - env: - GITHUB_TOKEN: ${{ sec...
programs: cert_write: fixed bug in parsing dec serial
@@ -277,7 +277,7 @@ int parse_serial_decimal_format(unsigned char *obuf, size_t obufmax, val = (dec >> ((remaining_bytes - 1) * 8)) & 0xFF; /* Skip leading zeros */ - if ((val) != 0) { + if ((val != 0) || (*len != 0)) { *p = val; (*len)++; p++;
Update doc/getting-started/building-from-source.rst
@@ -182,7 +182,7 @@ You can also build ACRN with your customized scenario: .. code-block:: none - $ make BOARD=$PWD/misc/config_tools/data/nuc6cayh/nuc6cayh.xml SCENARIO=/path/to/scenario.xml + $ make BOARD=nuc6cayh SCENARIO=/path/to/scenario.xml * Build with your own board and scenario configuration, assuming the boar...
x509: add missing X509 dup functions
@@ -246,10 +246,13 @@ X509_ALGOR_new, X509_ATTRIBUTE_dup, X509_ATTRIBUTE_free, X509_ATTRIBUTE_new, +X509_CERT_AUX_dup, X509_CERT_AUX_free, X509_CERT_AUX_new, +X509_CINF_dup, X509_CINF_free, X509_CINF_new, +X509_CRL_INFO_dup, X509_CRL_INFO_free, X509_CRL_INFO_new, X509_CRL_dup, @@ -264,6 +267,7 @@ X509_NAME_ENTRY_new, X...
Fix typo that cause find-doc-nits failure
@@ -34,7 +34,7 @@ OCSP_single_get0_status, OCSP_check_validity const STACK_OF(X509) *OCSP_resp_get0_certs(const OCSP_BASICRESP *bs); - int OCSP_resp get0_signer(OCSP_BASICRESP *bs, X509 **signer, + int OCSP_resp_get0_signer(OCSP_BASICRESP *bs, X509 **signer, STACK_OF(X509) *extra_certs); int OCSP_resp_get0_id(const OCS...
Tests: Changed tests to accept variables in "location".
@@ -83,7 +83,7 @@ Connection: close assert resp['body'] == '' def test_return_location(self): - reserved = ":/?#[]@!$&'()*+,;=" + reserved = ":/?#[]@!&'()*+,;=" unreserved = ( "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" "0123456789-._~" @@ -107,15 +107,15 @@ Connection: close check_location(reserved) # After...
Keep track of attached drivers so that pci_discover() can be called more than once.
@@ -40,6 +40,11 @@ static heap pages; // assume the single bus layout static u32 *msi_map[PCI_SLOTMAX]; +struct pci_driver { + pci_probe probe; + boolean attached; +}; + /* enable configuration space accesses and return data port address */ static int pci_cfgenable(pci_dev dev, int reg, int bytes) { @@ -166,9 +171,12 @...
py/objdeque: Use m_new0 when allocating items to avoid need to clear. Saves a few bytes of code space, and is more efficient because with MICROPY_GC_CONSERVATIVE_CLEAR enabled by default all memory is already cleared when allocated.
@@ -60,8 +60,7 @@ STATIC mp_obj_t deque_make_new(const mp_obj_type_t *type, size_t n_args, size_t o->base.type = type; o->alloc = maxlen + 1; o->i_get = o->i_put = 0; - o->items = m_new(mp_obj_t, o->alloc); - mp_seq_clear(o->items, 0, o->alloc, sizeof(*o->items)); + o->items = m_new0(mp_obj_t, o->alloc); if (n_args > 2...
Dirty solution for NodeJS event loop problem, but it seems to work at leasst...
@@ -5,7 +5,6 @@ const Module = require('module'); const path = require('path'); const util = require('util'); const fs = require('fs'); -const async_hooks = require('async_hooks'); /* Require the JavaScript parser */ const cherow = require(path.join(__dirname, 'node_modules', 'cherow')); @@ -383,29 +382,51 @@ module.ex...
Move -s USE_SDL=2 to BUILD_SDL part
@@ -148,11 +148,6 @@ if(MSVC) else() set(CMAKE_C_STANDARD 99) - - if(EMSCRIPTEN AND NOT BUILD_LIBRETRO) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s USE_SDL=2") - endif() - endif() set(THIRDPARTY_DIR ${CMAKE_SOURCE_DIR}/vendor) @@ -748,6 +743,7 @@ if(BUILD_SDL) if(EMSCRIPTEN) set_target_properties(${TIC80_OUTPUT} PROPERTIE...
Avoid loading alpha channel in c_e_s_rgb
@@ -83,7 +83,7 @@ static float compute_error_squared_rgb_single_partition( continue; } - vfloat4 point = blk->texel(i); + vfloat4 point = blk->texel3(i); float param = dot3_s(point, lin->bs); vfloat4 rp1 = lin->amod + param * lin->bis; vfloat4 dist = rp1 - point;
update BLAKE2 to have additional init arguments
@@ -87,19 +87,36 @@ static size_t blake2_mac_size(void *vmacctx) return macctx->params.digest_length; } -static int blake2_mac_init(void *vmacctx) +static int blake2_setkey(struct blake2_mac_data_st *macctx, + const unsigned char *key, size_t keylen) +{ + if (keylen > BLAKE2_KEYBYTES || keylen == 0) { + ERR_raise(ERR_L...
YAMBi: Specify expected number of conflicts
%skeleton "lalr1.cc" /* Generate an LALR(1) parser */ +%expect 0 /* We expect no shift/reduce and no reduce/reduce conflicts */ + %define @PARSER_NAME_DIRECTIVE@ { Parser } /* Call the generator parser class `Parser` */ %define api.prefix {yambi} /* Use namespace `yambi` for parser code */ %define api.token.constructor...
components/bt: Fix crash in Bluetooth when esp_restart
@@ -1442,16 +1442,12 @@ esp_err_t esp_bt_controller_deinit(void) static void bt_shutdown(void) { esp_err_t ret = ESP_OK; - ESP_LOGD(BTDM_LOG_TAG, "stop/deinit bt"); + ESP_LOGD(BTDM_LOG_TAG, "stop Bluetooth"); ret = esp_bt_controller_disable(); if (ESP_OK != ret) { ESP_LOGW(BTDM_LOG_TAG, "controller disable ret=%d", ret...
update fix update docs.
@@ -78,12 +78,12 @@ end 1 and one for end 2. When using this option, it is required that the BAM file is sorted/grouped by the read name. This keeps the resulting records in the two output FASTQ files in the same order. One can sort the BAM - file by query name with ``samtools sort -n aln.bam aln.qsort``. + file by que...
Simplify checking whether it is Float object
@@ -346,21 +346,6 @@ rm_str2cstr(VALUE str, long *len) } -/** - * Try to convert the argument to a double, raise an exception if fail. - * - * No Ruby usage (internal function) - * - * @param arg the argument - * @return arg - */ -static VALUE -arg_is_number(VALUE arg) -{ - return DBL2NUM(NUM2DBL(arg)); -} - - /** * Ca...
Hover funcs are likely AtkResNode.
@@ -1329,10 +1329,8 @@ factory.register(0x1417CDB58, "Client::UI::AddonMateriaAttach", "Component::GUI: factory.register(0x1417CDF98, "Client::UI::AddonMateriaAttachDialog", "Component::GUI::AtkUnitBase", {}) factory.register(0x1417DE1D0, "Client::UI::AddonGathering", "Component::GUI::AtkUnitBase", { 0x140ecfeb0: "ctor...
Force sockaddr_storage to the desired alignment First configure nuttx to support ipv4 and ipv6 dual stack, then start two simulators and run Iperf ipv4 udp speed test, unaligned access exception to sockaddr_in occours. The root cause is that struct sockaddr_storage isn't set to the desired alignment.
#define SCM_CREDENTIALS 0x02 /* rw: struct ucred */ #define SCM_SECURITY 0x03 /* rw: security label */ +/* Desired design of maximum size and alignment (see RFC2553) */ + +#define SS_MAXSIZE 128 /* Implementation specific max size */ +#define SS_ALIGNSIZE (sizeof(FAR struct sockaddr *)) + /* Implementation specific des...
nimble/host: Fix host event buffer count Fixes the problem of not putting events such as, for example ble_hs_hci_evt_le_scan_timeout to the queue.
#include "nimble/nimble_port.h" #endif -#define BLE_HS_HCI_EVT_COUNT MYNEWT_VAL(BLE_TRANSPORT_EVT_COUNT) +#define BLE_HS_HCI_EVT_COUNT (MYNEWT_VAL(BLE_TRANSPORT_EVT_COUNT) + \ + MYNEWT_VAL(BLE_TRANSPORT_EVT_DISCARDABLE_COUNT)) static void ble_hs_event_rx_hci_ev(struct ble_npl_event *ev); #if NIMBLE_BLE_CONNECT
tcp-connection-limit in example config.
@@ -737,6 +737,9 @@ server: # 0 blocks when ip is ratelimited, otherwise let 1/xth traffic through # ip-ratelimit-factor: 10 + # Limit the number of connections simultaneous from a netblock + # tcp-connection-limit: 192.0.2.0/24 12 + # what is considered a low rtt (ping time for upstream server), in msec # low-rtt: 45 ...
doc: Convert list into markdown enumeration
@@ -36,8 +36,11 @@ type = float default = 1.1 ``` -In Elektra a specification is defined through the metadata of keys in the `spec` namespace. The specification above contains metadata for -three keys: 1. the parent key (`@`), 2. `@/mydouble` and 3. `@/myfloatarray/#`. The `#` at the end of `myfloatarray/#` indicates t...
When dumping function, append callback function attribute if needed. Attribute 'DESCRIBE' is added by gpdb to describe the name of a callback function. Currently pg_dump does not handle this attribute.
@@ -8259,6 +8259,7 @@ dumpFunc(Archive *fout, FuncInfo *finfo) char *procost; char *prorows; char *lanname; + char *callbackfunc; char *prodataaccess; char *proexeclocation; char *rettypename; @@ -8298,7 +8299,8 @@ dumpFunc(Archive *fout, FuncInfo *finfo) "proiswindow, provolatile, proisstrict, prosecdef, " "proconfig,...
pic32: Add option to use hal _sbrk pic32 BSPs still use private _sbrk(). This adds option to call hal provided _sbrk() version that other architectures use now. This will be needed for new BSPs that have more common mynewt features.
#include "xc.h" #include <cp0defs.h> +#include <syscfg/syscfg.h> #ifdef __LIBBUILD__ # Replace the standard debugging information with a simple filename. This @@ -571,6 +572,13 @@ _cache_err_vector: .align 2 .ent _main_entry _main_entry: +#if MYNEWT_VAL_HAL_SBRK + la a0, __HeapBase + la a1, __HeapLimit + la t0, _sbrkIn...