message
stringlengths
6
474
diff
stringlengths
8
5.22k
fix pnp telemetry test name
@@ -366,5 +366,5 @@ int test_iot_pnp_telemetry() cmocka_unit_test( test_az_iot_pnp_client_telemetry_publish_topic_get_content_type_and_encoding_with_small_buffer_fails), }; - return cmocka_run_group_tests_name("az_iot_pnp_client", tests, NULL, NULL); + return cmocka_run_group_tests_name("az_iot_pnp_client_telemetry", t...
Cascading: Fix side effect of Shell Recorder test
@@ -23,6 +23,9 @@ With the default Elektra installation only an administrator can update configura ```sh # Backup-and-Restore:/sw/tutorial +# Backup old override specification +kdb export system/overrides dump > /tmp/overrides.dump + kdb get /sw/tutorial/cascading/#0/current/test # RET: 1 # STDERR: Did not find key @@ ...
Windows: BUFR encoding (no need to #define 'round')
@@ -236,10 +236,6 @@ static void init_class(grib_accessor_class* c) #define OVERRIDDEN_REFERENCE_VALUES_KEY "inputOverriddenReferenceValues" -#ifdef ECCODES_ON_WINDOWS -#define round(a) ( (a) >=0 ? ((a)+0.5) : ((a)-0.5) ) -#endif - /* Set the error code, if it is bad and we should fail (default case), return */ /* vari...
Fix jpm on windows with multiple git binaries.
@@ -688,7 +688,7 @@ int main(int argc, const char **argv) { (if stored-git-path (break stored-git-path)) (set stored-git-path (if is-win - (or (os/getenv "JANET_GIT") (pslurp "where git")) + (or (os/getenv "JANET_GIT") (first (string/split "\n" (pslurp "where git")))) (os/getenv "JANET_GIT" "git")))) (defn uninstall
Don't use cross-compile GCC on 32-bit systems If the OS is not aarch64, then use the normal GCC. This allows compilation for work on devices like the RK3399 when running in a 32-bit chroot, instead of using a multilib setup.
@@ -51,7 +51,13 @@ else() set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE} CACHE INTERNAL "The Python3 executable" FORCE) endif() -if(RK3399 OR RPI4ARM64 OR PHYTIUM OR SD845 OR A64) +cmake_host_system_information(RESULT CMAKE_HOST_SYSTEM_PROCESSOR QUERY OS_PLATFORM) +string(COMPARE EQUAL "${CMAKE_HOST_SYSTEM_PROCESSOR}" "i6...
run_device_test: Fix implicit concat warning BRANCH=none TEST=none Code-Coverage: Zoss
@@ -715,7 +715,7 @@ def flash_and_run_test( patch_image(test, image_path) except Exception as exception: # pylint: disable=broad-except logging.warning( - "An exception occurred while patching " "image: %s", exception + "An exception occurred while patching image: %s", exception ) return False
printer_tree BUGFIX lysc_ext.plugin can be NULL
@@ -3795,7 +3795,7 @@ trb_ext_iter_next(ly_bool lysc_tree, void *exts, uint64_t *i) if (lysc_tree) { ce = exts; while (*i < LY_ARRAY_COUNT(ce)) { - if (trp_ext_parent_is_valid(1, &ce[*i])) { + if (ce->def->plugin && trp_ext_parent_is_valid(1, &ce[*i])) { ext = &ce[*i]; break; }
fix osrparser when replay too short
@@ -20,7 +20,7 @@ def setupReplay(osrfile, beatmap): total_time = 0 start_index = 0 - start_osr = max(0, start_time - 3000) + start_osr = start_time - 3000 for index in range(len(replay_data)): times = replay_info.play_data[index].time_since_previous_action @@ -42,6 +42,7 @@ def setupReplay(osrfile, beatmap): replay_da...
Create PytoUI views from UIKit views
@@ -2751,6 +2751,38 @@ class View: self.__py_view__.buttonItems = items +class UIKitView(View): + """ + This class is used to create a PytoUI view from an UIKit view. This class must be subclassed and implement :meth:`~pyto_ui.UIKitView.make_view`. + """ + + def __init__(self): + + if type(self) is UIKitView: + msg = "...
Fix uac2_headset include hassle be declaring value by hand
@@ -94,7 +94,7 @@ extern "C" { #define CFG_TUD_AUDIO_IN_PATH (CFG_TUD_AUDIO) #define CFG_TUD_AUDIO_OUT_PATH (CFG_TUD_AUDIO) -#define CFG_TUD_AUDIO_FUNC_1_DESC_LEN TUD_AUDIO_HEADSET_STEREO_DESC_LEN +#define CFG_TUD_AUDIO_FUNC_1_DESC_LEN 220 // This equals TUD_AUDIO_HEADSET_STEREO_DESC_LEN, however, including it from usb...
Mark args as unused in now and nowUTC
#include "datetime.h" static Value nowNative(VM *vm, int argCount, Value *args) { + UNUSED(args); + if (argCount != 0) { runtimeError(vm, "now() takes no arguments (%d given)", argCount); return EMPTY_VAL; @@ -18,6 +20,8 @@ static Value nowNative(VM *vm, int argCount, Value *args) { } static Value nowUTCNative(VM *vm, ...
Fix assertion failure when writing Handshake before getting its tx key
@@ -8535,8 +8535,9 @@ ngtcp2_ssize ngtcp2_conn_write_connection_close(ngtcp2_conn *conn, return NGTCP2_ERR_INVALID_STATE; } - if (!(conn->flags & NGTCP2_CONN_FLAG_HANDSHAKE_CONFIRMED)) { - if (pkt_type != NGTCP2_PKT_INITIAL && in_pktns && conn->server) { + if (!(conn->flags & NGTCP2_CONN_FLAG_HANDSHAKE_CONFIRMED) && + ...
Make new_pipe ipc argument default to false
@@ -26,8 +26,11 @@ static int luv_new_pipe(lua_State* L) { uv_pipe_t* handle; int ipc, ret; luv_ctx_t* ctx = luv_context(L); - luaL_checktype(L, 1, LUA_TBOOLEAN); + if (lua_isboolean(L, 1)) { ipc = lua_toboolean(L, 1); + } else { + luaL_argcheck(L, lua_isnoneornil(L, 1), 1, "Expected boolean or nil"); + } handle = (uv_...
just support the sequenct reset the last value in gpdb5 because the behivor of pg_dump is different between gpdb 4 and gpdb 5 so the check_sequence function only can work on gpdb 5
@@ -1362,6 +1362,7 @@ Feature: gptransfer tests Then gptransfer should return a return code of 0 And gptransfer should print "Validation of gptest.public.heap_employee successful" to stdout + @skip_source_43 Scenario: gptransfer table that includes implicit sequence Given the gptransfer test is initialized And the user...
added additional information why init could take some time
@@ -9335,7 +9335,7 @@ if((eapreqflag == true) && ((attackstatus &DISABLE_CLIENT_ATTACKS) == DISABLE_CL exit(EXIT_FAILURE); } -fprintf(stdout, "initialization of %s %s (this may take some time)...\n", basename(argv[0]), VERSION_TAG); +fprintf(stdout, "initialization of %s %s (depending on the capabilities of the device,...
lua: add another test for hslua_arith
@@ -57,6 +57,13 @@ tests = testGroup "ersatz" peek status result <- lua_tointegerx l top nullPtr return (stts, result) + , "sets error status on error" =: do + LUA_ERRRUN `shouldBeResultOf` \l -> do + lua_pushinteger l 2 + lua_pushboolean l TRUE + alloca $ \status -> do + hslua_arith l LUA_OPSHR status + peek status , ...
OcConsoleLib: Rework SanitiseClearScreen
@@ -134,7 +134,10 @@ ControlledClearScreen ( { EFI_STATUS Status; EFI_GRAPHICS_OUTPUT_PROTOCOL *GraphicsOutput; - UINT32 Mode; + UINT32 Width; + UINT32 Height; + UINTN SizeOfInfo; + EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *Info; Status = gBS->HandleProtocol ( gST->ConsoleOutHandle, @@ -143,23 +146,61 @@ ControlledClearScr...
Correcting the folder name metadata for cmake metadata
@@ -84,8 +84,12 @@ function(afr_set_metadata arg_metadata_type arg_metadata_name arg_metadata_val) set(metadata_file "${AFR_METADATA_OUTPUT_DIR}/console/${arg_metadata_type}.txt") if(AFR_METADATA_MODE) if("${cmake_file_name}" STREQUAL "CMakeLists.txt") + if (NOT "${AFR_CURRENT_MODULE}" STREQUAL "") string(REPLACE "demo...
Disable inconsistent nat attack test
@@ -126,7 +126,10 @@ static const picoquic_test_def_t test_table[] = { { "excess_repeat", excess_repeat_test }, { "netperf_basic", netperf_basic_test }, { "netperf_bbr", netperf_bbr_test }, +#if 0 + /* test disabled because the results are not consistent. */ { "nat_attack", nat_attack_test }, +#endif { "sockets", socke...
fixed WhitelistPluginTests after rebase
@@ -21,12 +21,12 @@ public class WhitelistPluginTests @Before public void setup () { plugin = new WhitelistPlugin (); - plugin.open (plugin.getConfig (), Key.createNameless ()); + plugin.open (plugin.getConfig (), Key.create ()); } @After public void tearDown () { - plugin.close (Key.createNameless ()); + plugin.close ...
Deprecate reaper task
@@ -61,22 +61,8 @@ static void setup_fds(task_t* task) { task->files = array_m_create(MAX_FILES); // array_m_insert(task->files, stderr_read); } -static void kill(task_t* task) { - if (!tasking_installed()) return; - - //TODO only go back to terminal mode if task we're killing changed gfx mode - //instead of hard codin...
Rust: Implement Ordering for Key
@@ -49,6 +49,31 @@ impl PartialEq for Key { impl Eq for Key {} +impl Ord for Key { + fn cmp(&self, other: &Self) -> std::cmp::Ordering { + let cmp = unsafe { + elektra_sys::keyCmp( + self.ptr.as_ptr() as *const elektra_sys::Key, + other.ptr.as_ptr() as *const elektra_sys::Key, + ) + }; + + if cmp < 0 { + std::cmp::Orde...
SOVERSION bump to version 5.1.1
@@ -39,7 +39,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 5) set(SYSREPO_MINOR_SOVERSION 1) -set(SYSREPO_MICRO_SOVERSION 0) +set(SYSREPO_MICRO_SO...
pbio/control: reverse nesting of anti-windup check First check control type, then windup condition, instead the opposite. This commit changes nothing to the control: it just allows us to alter the windup condition per control type, in the next commit.
@@ -60,21 +60,26 @@ void control_update(pbio_control_t *ctl, int32_t time_now, int32_t count_now, in int32_t max_windup_duty = (ctl->settings.max_control - ctl->settings.control_offset) + (ctl->settings.pid_kp * abs(rate_now) * PBIO_CONFIG_SERVO_PERIOD_MS * 2) / MS_PER_SECOND; // Position anti-windup: pause trajectory ...
dnstap create debug tool with other debug tools in list.
@@ -310,7 +310,8 @@ rsrc_unbound_checkconf.o: $(srcdir)/winrc/rsrc_unbound_checkconf.rc config.h TEST_BIN=asynclook$(EXEEXT) delayer$(EXEEXT) \ lock-verify$(EXEEXT) memstats$(EXEEXT) perf$(EXEEXT) \ petal$(EXEEXT) pktview$(EXEEXT) streamtcp$(EXEEXT) \ - testbound$(EXEEXT) unittest$(EXEEXT) unbound-dnstap-socket$(EXEEXT...
path of neo - additional changes
@@ -59,12 +59,22 @@ char* movies[] = "WB_Green" }; +char* misc[] = +{ + "film_scratch", + "oldfilm_noise04" + //"Hud_Generic_box", + //"Black_888" + //"HelveticaNeue_BoldCond" +}; + injector::hook_back<void(__cdecl*)(void* a1, void* a2, void* a3, void* a4, float a5, float a6, float a7, float a8, void* a9, float a10, fl...
Fix default CreateProcess parent directory path
@@ -2725,11 +2725,12 @@ NTSTATUS PhCreateProcessWin32Ex( NTSTATUS status; PPH_STRING fileName = NULL; PPH_STRING commandLine = NULL; + PPH_STRING currentDirectory = NULL; STARTUPINFO startupInfo; PROCESS_INFORMATION processInfo; ULONG newFlags; - if (CommandLine) // duplicate because CreateProcess modifies the string +...
[ctr/lua] small fix limit the number of events in one transaction to 50
@@ -960,7 +960,7 @@ func LuaEvent(L *LState, service *C.int, eventName *C.char, args *C.char) C.int luaPushStr(L, "[Contract.Event] event not permitted in query") return -1 } - if stateSet.eventCount > maxEventCnt { + if stateSet.eventCount >= maxEventCnt { luaPushStr(L, fmt.Sprintf("[Contract.Event] exceeded the maxim...
move ssl comment to top
%if 0%{?suse_version} BuildRequires: kernel-source BuildRequires: kernel-default-devel +# needssslcertforbuild +export BRP_PESIGN_FILES='*.ko' BuildRequires: pesign-obs-integration %define sles_kernel 4.4.21-69-default %define kdir /lib/modules/%{sles_kernel}/source/ @@ -291,8 +293,7 @@ ln lnet/ChangeLog ChangeLog-lnet...
SOVERSION bump to version 2.24.0
@@ -65,8 +65,8 @@ set(LIBYANG_MICRO_VERSION 238) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}) # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) -set(LIBYANG_MINOR_SOVERSION 23) -set(LIBYANG_MICRO_SOVERSION 2) +set(LIBYANG_MINOR_SOVERSION 24) +set(LIBYANG_MICR...
tests: Update travis-ci tests This updates the travis-ci tests to run on CentOS 8 instead of 7.
-FROM centos:7 +FROM centos:8 ARG TRAVIS_COMMIT_RANGE ENV TRAVIS_COMMIT_RANGE=$TRAVIS_COMMIT_RANGE ENV PYTHON_BINARY=python3 -RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm +RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm RUN yum insta...
tools/mksymtab.sh: Include nuttx/symtab.h instead of nuttx/binfmt/symtab.h.
@@ -86,7 +86,7 @@ fi # faile echo "#include <nuttx/compiler.h>" >$outfile -echo "#include <nuttx/binfmt/symtab.h>" >>$outfile +echo "#include <nuttx/symtab.h>" >>$outfile echo "" >>$outfile for var in $varlist; do
GBP: format EPG retention policy
@@ -324,6 +324,16 @@ VLIB_CLI_COMMAND (gbp_endpoint_group_cli_node, static) = { .function = gbp_endpoint_group_cli, }; +static u8 * +format_gbp_endpoint_retention (u8 * s, va_list * args) +{ + gbp_endpoint_retention_t *rt = va_arg (*args, gbp_endpoint_retention_t*); + + s = format (s, "[remote-EP-timeout:%d]", rt->remo...
Allow running spec tests on wasm port
@@ -170,7 +170,23 @@ from queue import Queue, Empty class Wasm3(): def __init__(self, executable): - self.exe = executable + if executable.endswith(".wasm"): + (engine, executable) = executable.split(maxsplit=1) + + if engine == "wasmer": + self.exe = [engine, "run", "--dir=.", executable, "--"] + #elif engine == "wasm...
Fix Spelling: Create section for brand terms
s/behaviour/behavior/g +# ========== +# = Brands = +# ========== + +s/\<[CcFf]engine/CFEngine/g + +# Only fix spelling of GitHub outside of URLs: +s/([^.`])git[hH]ub([^.][^\w])/\1GitHub\2/g + +s/\<[Ll]ibreoffice/LibreOffice/g + +s/\<unix|UNIX/Unix/g + # =================== # = Technical Terms = # =================== @@...
Fix CYW43/LWIP and soft-reset bugs.
@@ -523,8 +523,8 @@ soft_reset: #if LWIP_MDNS_RESPONDER mdns_resp_init(); #endif - systick_enable_dispatch(SYSTICK_DISPATCH_LWIP, mod_network_lwip_poll_wrapper); } + systick_enable_dispatch(SYSTICK_DISPATCH_LWIP, mod_network_lwip_poll_wrapper); #endif #if MICROPY_PY_NETWORK_CYW43 @@ -722,6 +722,12 @@ soft_reset: } } wh...
Year on source files bumped.
The MIT License (MIT) -Copyright (c) 2009-2016 Gerardo Orellana <hello @ goaccess.io> +Copyright (c) 2009-2022 Gerardo Orellana <hello @ goaccess.io> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal
Change requirement on SSE 4.2 to SSE 4.1 (CI)
@@ -32,7 +32,7 @@ pipeline { sh ''' cd ./Source/ make CXX=clang++ VEC=avx2 - make CXX=clang++ VEC=sse4.2 + make CXX=clang++ VEC=sse4.1 make CXX=clang++ VEC=sse2 ''' } @@ -70,7 +70,7 @@ pipeline { bat ''' call c:\\progra~2\\micros~1\\2019\\buildtools\\vc\\auxiliary\\build\\vcvars64.bat call msbuild .\\Source\\VS2019\\as...
correctly check for outdents without intervening blank lines
$head | :: :: literals need to end with a blank line - ?($code $poem $expr) (gte col.pic col) + ?($code $poem $expr) (gte col.pic (add cur-indent col)) :: :: text flows must continue aligned ?($down $list $lime $lord $bloc) =(col.pic col)
rm unnecessary CMake definition;
@@ -94,12 +94,10 @@ endif() # ODE if (WIN32 OR EMSCRIPTEN) - add_definitions(-DdIDESINGLE) add_subdirectory(deps/ode ode) include_directories(deps/ode/include "${CMAKE_CURRENT_BINARY_DIR}/ode/include") set(LOVR_ODE ode) else() - add_definitions(-DdIDESINGLE) pkg_search_module(ODE REQUIRED ode) include_directories(${ODE...
Fix ethereum explorer links
@@ -16,13 +16,13 @@ namespace MiningCore.Blockchain { CoinType.ETH, new Dictionary<string, string> { { string.Empty, "https://etherscan.io/block/{0}" }, - { EthereumConstants.BlockTypeUncle, "https://etherscan.io/uncle/{0}" }, + { EthereumConstants.BlockTypeUncle, "https://etherscan.io/uncle/{BlockHeightPH}" }, }}, { C...
Add more oculus manifest permissions; Keyboard tracking Render model Passthrough
<uses-feature android:glEsVersion="0x00030001" android:required="true"/> <uses-feature android:name="android.hardware.vr.headtracking" android:required="false"/> <uses-feature android:name="oculus.software.handtracking" android:required="false"/> + <uses-feature android:name="oculus.software.trackedkeyboard" android:re...
Docs: Change vendor layer to vendor dependency layer Also fixed issue and issue
@@ -36,11 +36,11 @@ Figure 3-1 The position of BoAT in the blockchain interactive network ## BoAT Implementation Framework -Boat follows a hierarchical design consisting of Interface Layer, Protocol Layer, RPC Layer, Vendor Layer, Tool and Utility. The specific functions of each layer are as follows: +Boat follows a hi...
fix comment and name issues in debug helper
@@ -300,7 +300,7 @@ class NamedGroupDefinition: Generate helper functions for named group It generates translation function from named group define to string. - Signature algorithm definition looks like: + Named group definition looks like: #define MBEDTLS_SSL_IANA_TLS_GROUP_[ upper case named group ] [ value(hex) ] Kn...
Actor set position no longer limited to 30 tiles
@@ -6,26 +6,26 @@ export const fields = [ { key: "actorId", type: "actor", - defaultValue: "player" + defaultValue: "player", }, { key: "x", label: l10n("FIELD_X"), type: "number", min: 0, - max: 30, + max: 256, width: "50%", - defaultValue: 0 + defaultValue: 0, }, { key: "y", label: l10n("FIELD_Y"), type: "number", mi...
Adapt `ffMonitor()` to ahrs_approx - only send the FF AHRS packets when FF is detected.
@@ -35,6 +35,43 @@ func chkErr(err error) { } } +/* + ffMonitor(). + Watches for "i-want-to-play-ffm-udp", "i-can-play-ffm-udp", and "i-cannot-play-ffm-udp" UDP messages broadcasted on + port 50113. Tags the client, issues a warning, and disables AHRS GDL90 output. + +*/ + +var ffPlay bool + +func ffMonitor() { + addr ...
disable networking for fake ships on restart
@@ -1250,6 +1250,12 @@ _pier_work_poke(void* vod_p, pir_u->fak_o = u3t(r_jar); pir_u->who_d[0] = who_d[0]; pir_u->who_d[1] = who_d[1]; + + /* Disable networking for fake ships + */ + if ( c3y == pir_u->fak_o ) { + u3_Host.ops_u.net = c3n; + } } }
bump docs rev to 1.4
%{!?PROJ_DELIM: %global PROJ_DELIM -ohpc} Name: docs%{PROJ_DELIM} -Version: 1.3.1 +Version: 1.4 Release: 1 Summary: OpenHPC documentation License: BSD-3-Clause
Update i2c.rst I2C mode is set during configuration, not the 'op(eration) mode' Closes
@@ -31,7 +31,7 @@ Configure Driver The first step to establishing I2C communication is to configure the driver. This is done by setting several parameters contained in :cpp:type:`i2c_config_t` structure: -* I2C **operation mode** - select either slave or master from :cpp:type:`i2c_opmode_t` +* I2C **mode** - select eit...
add test for correct owner behaviour
@@ -95,10 +95,10 @@ static void test_keyCmp (void) succeed_if (keyCmp (k1, k2) < 0, "find_me is smaller"); succeed_if (keyCmp (k2, k1) > 0, "find_me is smaller"); - keySetName (k1, "user:user_a/a"); + keySetName (k1, "user:user_a/b"); keySetName (k2, "user:user_b/a"); - succeed_if (keyCmp (k1, k2) == 0, "should be same...
output_thread: initialize coroutine threaded with the API
@@ -186,6 +186,8 @@ static void output_thread(void *data) ins = th_ins->ins; thread_id = th_ins->th->id; + flb_coro_thread_init(); + /* * Expose the event loop to the I/O interfaces: since we are in a separate * thread, the upstream connection interfaces need access to the event
added additional information to busy driver warning - in most of the cases, the driver is broken and doesn't accept packets from the socket
@@ -1517,7 +1517,7 @@ if(FD_ISSET(txsocket, &txfds)) return; } strftime(timestring, 16, "%H:%M:%S", localtime(&tv.tv_sec)); -fprintf(stdout, "%s %d/%d driver is busy: %s\n", timestring, ptrfscanlist->frequency, ptrfscanlist->channel, errormessage); +fprintf(stdout, "%s %d/%d driver is busy/broken: %s\n", timestring, pt...
Fix tests for Node port
@@ -25,7 +25,9 @@ const assert = require('assert'); const { metacall, metacall_load_from_file, + metacall_load_from_file_export, metacall_load_from_memory, + metacall_load_from_memory_export, metacall_handle, metacall_inspect, metacall_logs @@ -37,6 +39,8 @@ describe('metacall', () => { assert.notStrictEqual(metacall, ...
YAMBi: Fix error caused by unknown CMake command
@@ -6,16 +6,17 @@ if (DEPENDENCY_PHASE) list (APPEND CMAKE_PREFIX_PATH "/usr/local/opt/bison") endif (APPLE) + find_package (Bison 3 QUIET) + if (NOT BISON_FOUND) remove_plugin (yambi "Bison 3 (bison) not found") - endif (NOT BISON_FOUND) - + else (NOT BISON_FOUND) bison_target (YAMBI ${CMAKE_CURRENT_SOURCE_DIR}/parser...
Add space optimization flags
@@ -266,6 +266,8 @@ elif env['toolchain'] == 'armgcc': env.Append(CCFLAGS='-Wall') env.Append(CCFLAGS='-Wa,-adhlns=${TARGET.base}.lst') env.Append(CCFLAGS='-c') + env.Append(CCFLAGS='-ffunction-sections') + env.Append(CCFLAGS='-fdata-sections') env.Append(CCFLAGS='-fmessage-length=0') env.Append(CCFLAGS='-mcpu=cortex-m...
fix race condition in virtualization tests
@@ -68,10 +68,10 @@ int main(void) { print_ipv6(&(destination.addr)); printf(" : %d\n", destination.port); } + delay_ms(10); result = udp_send_to(packet, len, &destination); assert(result == TOCK_SUCCESS); //finally, a valid send attempt - delay_ms(10); //of the two apps, app2 binds to port 80 second and should fail so...
misc: add "show run summary" Prints the interior node vector rate, rx / tx / drop rates Type: feature
@@ -335,6 +335,7 @@ show_node_runtime (vlib_main_t * vm, u64 n_internal_vectors, n_internal_calls; u64 n_clocks, l, v, c, d; int brief = 1; + int summary = 0; int max = 0; vlib_main_t **stat_vms = 0, *stat_vm; @@ -345,6 +346,9 @@ show_node_runtime (vlib_main_t * vm, brief = 0; if (unformat (input, "max") || unformat (i...
Core(M): Fix -Wundef for __ARM_FEATURE_DSP This prevents multiple warnings when compiling with GCC warning: "__ARM_FEATURE_DSP" is not defined, evaluates to 0 [-Wundef]
/**************************************************************************//** * @file cmsis_gcc.h * @brief CMSIS compiler GCC header file - * @version V5.0.2 - * @date 13. February 2017 + * @version V5.0.3 + * @date 16. January 2018 ******************************************************************************/ /* * ...
only shrink frametime graph on mangoapp
@@ -584,17 +584,23 @@ void HudElements::frame_timing(){ NULL, min_time, max_time, ImVec2(ImGui::GetContentRegionAvailWidth() * HUDElements.params->table_columns, 50)); } else { +#ifdef MANGOAPP + int width = ImGui::GetContentRegionAvailWidth() * HUDElements.params->table_columns - 30; +#else + int width = ImGui::GetCon...
Refactor ensure_tile method.
@@ -73,16 +73,12 @@ class OpenGLTilesetAlias::impl : public TilesetObserver { auto prepare_alias(const TCOD_Console& console) -> uint32_t { for (int i = 0; i < console.w * console.h; ++i) { - int codepoint = console.tiles[i].ch; - if (codepoint >= static_cast<int>(local_map_.size()) - || local_map_.at(codepoint) < 0) {...
Update targetHAL_Time.cpp Fixes nanoframework/Home#257. Now, with a time set internally to 12/17/2017 08:00:00, `Console.WriteLine("utcNow : " + DateTime.UtcNow.ToString());` is returning `utcNow : 12/17/2017 08:00:39` (The 39 seconds are due to the manual startup time of the debug session after the board's reset)
@@ -36,7 +36,7 @@ signed __int64 HAL_Time_CurrentDateTime(bool datePartOnly) st.wDay = (unsigned short) _dateTime.day; st.wMonth = (unsigned short) _dateTime.month; - st.wYear = (unsigned short) _dateTime.year; + st.wYear = (unsigned short) (_dateTime.year + 1980); // ChibiOS is counting years since 1980 st.wDayOfWeek ...
Fixed traffic secret labels according to NSS Key Log Format
@@ -4038,8 +4038,8 @@ static int update_traffic_key_cb(ptls_update_traffic_key_t *self, ptls_t *tls, i ptls_aead_context_t **aead_slot; int ret; static const char *log_labels[2][4] = { - {NULL, "QUIC_CLIENT_EARLY_TRAFFIC_SECRET", "QUIC_CLIENT_HANDSHAKE_TRAFFIC_SECRET", "QUIC_CLIENT_TRAFFIC_SECRET_0"}, - {NULL, NULL, "Q...
merge also IPv4/IPv6 on option -p
@@ -1190,6 +1190,8 @@ while((pcapstatus = pcap_next_ex(pcapin, &pkh, &packet)) != -2) llctype = be16toh(((llc_t*)payload)->type); if(llctype == LLC_TYPE_IPV4) { + if(pcapout != NULL) + pcap_dump((u_char *) pcapout, pkh, h80211); if(pcapipv46out != NULL) pcap_dump((u_char *) pcapipv46out, pkh, h80211); ipv4flag = TRUE; ...
Added pin defines
@@ -9,6 +9,13 @@ namespace pimoroni { //-------------------------------------------------- // Constants //-------------------------------------------------- + public: + static const uint8_t DEFAULT_CS_PIN = 17; + static const uint8_t DEFAULT_DC_PIN = 16; + static const uint8_t DEFAULT_SCK_PIN = 18; + static const uint8...
memb: update doc string
@@ -104,14 +104,14 @@ struct memb { /** * Initialize a memory block that was declared with MEMB(). * - * \param m A memory block previously declared with MEMB(). + * \param m A set of memory blocks previously declared with MEMB(). */ void memb_init(struct memb *m); /** * Allocate a memory block from a block of memory d...
Remove dependency on spnlock
@@ -8,8 +8,6 @@ Feel free to copy, use and enjoy according to the license provided. #ifndef H_FIOBJ_TYPES_INTERNAL_H #define H_FIOBJ_TYPES_INTERNAL_H -#include "spnlock.inc" - #include "fiobj.h" #include <math.h> @@ -18,6 +16,42 @@ Feel free to copy, use and enjoy according to the license provided. #include <string.h> ...
remove scaling from looklocker
@@ -41,7 +41,6 @@ int main_looklocker(int argc, char* argv[argc]) }; float threshold = 0.2; - float scaling_M0 = 2.0; float Td = 0.; const struct opt_s opts[] = { @@ -76,7 +75,7 @@ int main_looklocker(int argc, char* argv[argc]) complex float M0 = MD_ACCESS(DIMS, istrs, (pos[COEFF_DIM] = 1, pos), in_data); complex floa...
fix actuator.js
@@ -188,7 +188,7 @@ Blockly.Python.servo_move = function() { '\n'; Blockly.Python.setups_['mixly_servo_write_angle']= - 'def mixly_write_angle(pin,ang,delay):\n'+ + 'def mixly_servo_write_angle(pin,ang,delay):\n'+ ' Servo(pin).write_angle(ang)\n'+ ' sleep(delay)\n'; var dropdown_pin = Blockly.Python.valueToCode(this, '...
Use the first matching sigalg Previously we iterated thru the entire list. Short circuit and choose the first match from the preference list.
@@ -68,6 +68,7 @@ int s2n_set_signature_hash_pair_from_preference_list(struct s2n_connection *conn if (s2n_sig_hash_alg_pairs_get(sig_hash_algs, sig_alg_chosen, s2n_preferred_hashes[i]) == 1) { /* Just set hash_alg_chosen because sig_alg_chosen was set above based on cert type */ hash_alg_chosen = s2n_hash_tls_to_alg[s...
backup dma: force clear reset signal to fix the backup dma operation failure caused by RTC_SW_CPU_RST
@@ -298,6 +298,11 @@ __attribute__((weak)) void esp_perip_clk_init(void) CLEAR_PERI_REG_MASK(SYSTEM_PERIP_CLK_EN1_REG, hwcrypto_perip_clk); SET_PERI_REG_MASK(SYSTEM_PERIP_RST_EN1_REG, hwcrypto_perip_clk); + /* Force clear backup dma reset signal. This is a fix to the backup dma + * implementation in the ROM, the reset ...
add help hotkey
@@ -126,6 +126,7 @@ static const char *nautiluscmd[] = {"nautilus", NULL}; static const char *slockcmd[] = {"ilock", NULL}; static const char *oslockcmd[] = {"instantlock", "-o", NULL}; static const char *slockmcmd[] = {"ilock", "message", NULL}; +static const char *helpcmd[] = {"urxvt", "-e", "instanthotkeys", NULL}; ...
metrics: silent gcc warning
@@ -324,8 +324,7 @@ int flb_metrics_fluentbit_add(struct flb_config *ctx, struct cmt *cmt) /* get hostname */ ret = gethostname(hostname, sizeof(hostname) - 1); if (ret == -1) { - strncpy(hostname, "unknown", 7); - hostname[7] = '\0'; + strcpy(hostname, "unknown"); } /* Attach metrics to cmetrics context */
Update README.md Hint to later esp-idf version and name change for TINYPICO board
@@ -180,7 +180,7 @@ Beginning with version 1.15, `micropython` switched to `cmake` on the ESP32 port In case you encounter difficulties during the build process, you can consult the (general instructions for the ESP32)[https://github.com/micropython/micropython/tree/master/ports/esp32#micropython-port-to-the-esp32]. -F...
[docs] - Add line breaks in SOURCEINSTALL.md
@@ -64,11 +64,11 @@ There is a "list" option on the clone\_aomp.sh that provides useful information ``` $AOMP_REPOS/aomp/bin/clone_aomp.sh list ``` -The above command will produce output like this showing you the location and branch of the repos in the AOMP\_REPOS directory and if there are any discrepencies with respe...
Use standard copyright message
/** @brief The version header. */ static const char *astcenc_copyright_string = R"(astcenc v%s, %u-bit %s%s%s -Copyright 2011-%s Arm Limited, all rights reserved +Copyright (c) 2011-%s Arm Limited. All rights reserved. )"; /** @brief The short-form help text. */
Use assigned workspace name for output Instead of relying on bindings being configured, primarily source new workspace names from workspace-output assignments. Fixes
@@ -120,6 +120,8 @@ static void workspace_name_from_binding(const struct sway_binding * binding, name = argsep(&cmdlist, ",;"); } + // TODO: support "move container to workspace" bindings as well + if (strcmp("workspace", cmd) == 0 && name) { char *_target = strdup(name); _target = do_var_replacement(_target); @@ -189,...
travis: workaround $ANSI_RED environment changes in Ubuntu host * spec/posix_stdilb_spec.yaml (getenv): replace live ANSI escape characters with '^' to prevent terminal from intercepting them.
@@ -26,10 +26,11 @@ specify posix.stdlib: - it fetches a table of process environment variables: | volatile = { _=true, CWD=true, LUA_PATH=true, PWD=true, SHLVL=true, } + ESC = string.char(27) for k,v in pairs(getenv()) do if not volatile[k] then - expect(hell.spawn('echo "' .. k .. '=$' .. k .. '"')). - to_contain_out...
sysdeps/linux: guard sys_reboot behind the linux option
#include <errno.h> #include <limits.h> -#include <linux/reboot.h> #include <type_traits> @@ -749,13 +748,6 @@ int sys_msync(void *addr, size_t length, int flags) { return 0; } -int sys_reboot(int cmd) { - auto ret = do_syscall(SYS_reboot, LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, cmd, nullptr); - if (int e = sc_error(r...
Increase MLX frame readout retry.
@@ -64,7 +64,7 @@ int MLX90640_GetFrameData(uint8_t slaveAddr, uint16_t *frameData) dataReady = statusRegister & 0x0008; } - while(dataReady != 0 && cnt < 5) + while(dataReady != 0 && cnt < 32) { error = MLX90640_I2CWrite(slaveAddr, 0x8000, 0x0030); if(error == -1) @@ -87,7 +87,7 @@ int MLX90640_GetFrameData(uint8_t sl...
Raise share page size
@@ -134,7 +134,7 @@ namespace MiningCore.Payments.PayoutSchemes Dictionary<string, double> shares, Dictionary<string, decimal> rewards) { var done = false; - var pageSize = 3000; + var pageSize = 5000; var currentPage = 0; var accumulatedScore = 0.0m; var blockRewardRemaining = blockReward;
Source: Stop, then unqueue buffers Doing it the other way around is illegal; you may not unqueue unprocessed buffers, so we need to stop first.
@@ -281,15 +281,15 @@ void lovrSourceStop(Source* source) { case SOURCE_STREAM: { + // Stop the source + alSourceStop(source->id); + alSourcei(source->id, AL_BUFFER, AL_NONE); + // Empty the buffers int count = 0; alGetSourcei(source->id, AL_BUFFERS_QUEUED, &count); alSourceUnqueueBuffers(source->id, count, NULL); - //...
Try logging into the registry first.
@@ -26,6 +26,8 @@ jobs: ${{ runner.os }}-build-${{ env.cache-name }}- ${{ runner.os }}-build- ${{ runner.os }}- + - name: Log into registry + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin - name: West Init uses: 'docker://docker.pkg.github.com/zmkfi...
peview: Fix options change restart
@@ -99,22 +99,31 @@ BOOLEAN PvShellExecuteRestart( _In_opt_ HWND WindowHandle ) { + static PH_STRINGREF seperator = PH_STRINGREF_INIT(L"\""); BOOLEAN result; PPH_STRING filename; + PPH_STRING parameters; if (!(filename = PhGetApplicationFileName())) return FALSE; + parameters = PhConcatStringRef3( + &seperator, + &PvFi...
fix bug in zscal function memset can not be used in zscal because of the stride parameters.
@@ -35,6 +35,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define VFMACCVF_FLOAT vfmacc_vf_f32m4 #define VFMULVF_FLOAT vfmul_vf_f32m4 #define VFNMSACVF_FLOAT vfnmsac_vf_f32m4 +#define VFMVVF_FLOAT vfmv_v_f_f32m4 #else #define VSETVL(n) vsetvl_e64m4(n) #define VSETVL_MAX vsetvlmax_e64m1(...
Update README.md with Emscripten instructions Emscripten is pretty low on our priority list at the moment, but we'd love to get a web UI back some time in the future. In the mean time you can enjoy sharing your games via the web thanks to
@@ -167,6 +167,32 @@ And then `make` as normal. The result of your build will be a `.bin`, `.hex`, `.elf` and DfuSe-compatible `.dfu` file. +### Building & Running For Web (Emscripten) + +Building in Emscripten - asm.js/WebAssembly - works on Linux and WSL. + +You will need to install the emscripten compiler. See https...
esp32c3: Updates a description in Kconfig about Universal MAC Address strategy
@@ -30,15 +30,18 @@ menu "ESP32C3-Specific" Configure the number of universally administered (by IEEE) MAC addresses. During initialization, MAC addresses for each network interface are generated or derived from a single base MAC address. - If the number of universal MAC addresses is Two, all interfaces (WiFi station, ...
print out what it is in case of not being a string
@@ -53,6 +53,19 @@ struct extractor_specifier { }; +static char* +print_token(jsmntype_t type) +{ + switch (type) { + case JSMN_UNDEFINED: return "undefined"; + case JSMN_OBJECT: return "object"; + case JSMN_ARRAY: return "array"; + case JSMN_STRING: return "string"; + case JSMN_PRIMITIVE: return "primitive"; + default...
opal-prd: Handle SBE passthrough message passing This patch adds support to send SBE pass through command to HBRT. HBRT interface details provided by Daniel M. Crowell (<dcrowell@us.ibm.com>). CC: Daniel M Crowell CC: Jeremy Kerr
@@ -281,6 +281,7 @@ extern int call_mfg_htmgt_pass_thru(uint16_t i_cmdLength, uint8_t *i_cmdData, uint16_t *o_rspLength, uint8_t *o_rspData); extern int call_apply_attr_override(uint8_t *i_data, size_t size); extern int call_run_command(int argc, const char **argv, char **o_outString); +extern int call_sbe_message_pass...
OcFileLib: Change "Located cached partition entry/entries" messages from INFO to VERBOSE, since now used much more often with boot entry protocol and are basically spamming the logs
@@ -409,7 +409,7 @@ OcGetDiskPartitions ( (VOID **) &PartEntries ); if (!EFI_ERROR (Status)) { - DEBUG ((DEBUG_INFO, "OCPI: Located cached partition entries\n")); + DEBUG ((DEBUG_VERBOSE, "OCPI: Located cached partition entries\n")); return PartEntries; } @@ -561,7 +561,7 @@ OcGetGptPartitionEntry ( (VOID **)&PartEntry...
Perltidy ck_errf
# perl util/ck_errf.pl */*.c */*/*.c # +use strict; +use warnings; + my $err_strict = 0; my $bad = 0; -foreach $file (@ARGV) - { - if ($file eq "-strict") - { +foreach my $file (@ARGV) { + if ( $file eq "-strict" ) { $err_strict = 1; next; } - open(IN,"<$file") || die "unable to open $file\n"; - $func=""; - while (<IN>...
Fix default hostname on macOS - current versions of macOS use new ".lan" domain for mDNS instead of ".local", which causes the IPP Everywhere self-certification tests to fail.
@@ -1712,17 +1712,21 @@ create_printer( } else { - char temp[1024]; /* Temporary string */ + char temp[1024], /* Temporary string */ + *tempptr; /* Pointer into temporary string */ #ifdef HAVE_AVAHI const char *avahi_name = avahi_client_get_host_name_fqdn(DNSSDClient); if (avahi_name) - printer->hostname = strdup(avahi...
Initial commit of only 565 to 888; will check others next
@@ -305,9 +305,14 @@ static inline uint32_t lv_color_to32(lv_color_t color) #elif LV_COLOR_DEPTH == 16 #if LV_COLOR_16_SWAP == 0 lv_color32_t ret; - ret.ch.red = color.ch.red * 8; /*(2^8 - 1)/(2^5 - 1) = 255/31 = 8*/ - ret.ch.green = color.ch.green * 4; /*(2^8 - 1)/(2^6 - 1) = 255/63 = 4*/ - ret.ch.blue = color.ch.blue...
globbing: update documentation
@@ -82,6 +82,8 @@ static int checkElektraExtensions (const char * name, const char * pattern) /** * @brief checks whether a given Key matches a given globbing pattern * + * WARNING: this method will not work correctly, if key parts contain embedded (escaped) slashes. + * * The globbing patterns for this function are a ...
run_test: python 3 compatibility issue
@@ -80,7 +80,7 @@ class SerialTester(object): def __exit__(self, exception_type, value, traceback): self._queue.put(None) self._write_thread.join(ERROR_TIMEOUT_SECONDS) - assert not self._write_thread.isAlive(), "Thread join failed" + assert not self._write_thread.is_alive(), "Thread join failed" self.raw_serial.close(...
Add a worked example of the GIF file format.
@@ -23,7 +23,11 @@ pub func lzw_decoder.decode?(dst writer1, src reader1)() { var end_code u32[5..257] = clear_code + 1 // These variables do change. - var save_code u32[..4096] = end_code // 4096 means do not save. + // + // save_code is the code for which, after decoding a code, we save what the + // next back-refere...
improves error handling in +sigh-tang
|= [=wire =tang] ^- (quip move _this) ?> ?=([%acme ^] wire) - :: XX log crashes above some threshold? + :: XX may God forgive me for this :: - abet:(retry:event t.wire) + =< abet + =- ?:(?=(%& -.-) p.- this) + %- mule |. + (retry:event t.wire) :: +sigh-recoverable-error: handle http rate-limit response :: ++ sigh-recov...
Fix THREAD_UMS_INFORMATION type
@@ -1016,9 +1016,16 @@ typedef struct _THREAD_UMS_INFORMATION THREAD_UMS_INFORMATION_COMMAND Command; PRTL_UMS_COMPLETION_LIST CompletionList; PRTL_UMS_CONTEXT UmsContext; + union + { ULONG Flags; - ULONG IsUmsSchedulerThread; - ULONG IsUmsWorkerThread; + struct + { + ULONG IsUmsSchedulerThread : 1; + ULONG IsUmsWorker...
additional ranking logic
@@ -569,7 +569,10 @@ bool GetFortunastakeRanks(CBlockIndex* pindex) BOOST_FOREACH(CFortunaStake& mn, vecFortunastakeScoresList) { i++; - if (mn.nTimeRegistered > pindex->GetBlockTime() || mn.lastDseep > 0) { + if (mn.nTimeRegistered > pindex->GetBlockTime() // mn's broadcast is newer than our current block + || mn.last...
Fix run-binary-debug verbosity
@@ -96,7 +96,7 @@ run-binary-fast: $(sim) # helper rules to run simulator with as much debug info as possible ######################################################################################### run-binary-debug: $(sim_debug) - (set -o pipefail && $(sim_debug) $(PERMISSIVE_ON) +max-cycles=$(timeout_cycles) $(SIM_F...
in_forward: switched FLB_INPUT_NET with FLB_INPUT_NET_SERVER and added the FLB_IO_OPT_TLS flag.
@@ -319,5 +319,5 @@ struct flb_input_plugin in_forward_plugin = { .cb_pause = in_fw_pause, .cb_exit = in_fw_exit, .config_map = config_map, - .flags = FLB_INPUT_NET + .flags = FLB_INPUT_NET_SERVER | FLB_IO_OPT_TLS };