message
stringlengths
6
474
diff
stringlengths
8
5.22k
esp_pm: allow dfs to swith down alltime if no lightsleep
@@ -579,6 +579,7 @@ esp_err_t esp_pm_unregister_skip_light_sleep_callback(skip_light_sleep_cb_t cb) static inline bool IRAM_ATTR periph_should_skip_light_sleep(void) { + if (s_light_sleep_en) { for (int i = 0; i < PERIPH_SKIP_LIGHT_SLEEP_NO; i++) { if (s_periph_skip_light_sleep_cb[i]) { if (s_periph_skip_light_sleep_cb...
l2-spawn-point tests
|= =ship (log changed-spawn-proxy:log-names:naive *@t ship deposit-address:naive ~) :: +++ l2-spawn-ship + |= [nonce=@ud from-ship=ship spawn-ship=ship =address] + %^ sign-tx from-ship nonce + %: can 3 + 1^0 ::proxy set to owner + ::1^(can 0 3^%1 5^0 ~) I think this should use the spawn proxy? but it creates an infinte...
Add debugging aid messages
@@ -334,11 +334,15 @@ static grib_trie* init_list(const char* name) return 0; } +/* For debugging purposes */ static void print_values(grib_context* c, const grib_util_grid_spec2* spec, - const double* data_values, const size_t data_values_count, const grib_values *values, const int count) + const double* data_values, ...
features: add SIMDE_NATURAL_VECTOR_SIZE and SIMDE_PREFER_VECTOR_SIZE Fixes
#endif /* defined(__cplusplus) */ #endif +/* This is used to determine whether or not to fall back on a vector + * function in an earlier ISA extensions. Most tests using these macros + * will look something like: + * + * #if defined(SIMDE_X86_SSE2_NATIVE) || SIMDE_PREFER_VECTOR_SIZE(128) + * + * The goal is that if th...
phlib: Fix a potential exception when calling NtQueryObject * Under some circumstances, NtQueryObject() will produce a NULL pointer exception if the last parameter is NULL.
@@ -142,12 +142,13 @@ NTSTATUS PhpGetObjectBasicInformation( } else { + ULONG returnLength; status = NtQueryObject( Handle, ObjectBasicInformation, BasicInformation, sizeof(OBJECT_BASIC_INFORMATION), - NULL + &returnLength ); if (NT_SUCCESS(status)) @@ -1394,7 +1395,7 @@ NTSTATUS PhEnumObjectTypes( { NTSTATUS status; P...
Update changelog for 1.9.19
@@ -5,11 +5,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [1.9.19](https://github.com/ledgerhq/app-ethereum/compare/1.9.18...1.9.19) - 2022-XX-XX ...
pydiag: change log level of perf_counters msg Change log level of log message emitted by perf_counters to DEBUG. These messages will only be seen when loglevel of debug is chosen by the end user.
@@ -135,7 +135,7 @@ class perf_counters(object): try: self._group = handle.find(self._name, fpga.SYSOBJECT_GLOB) except RuntimeError: - self.logger.warn("Could not find group with name: %s", self._name) + self.logger.debug("Could not find group with name: %s", self._name) self._group = None else: self._values = dict([(...
Doc: Fix incorrect return values
* automatically add the information that the plugin was removed, * so you do not need the user give that information. * - * @retval 0 on success + * @retval 1 on success * * @param handle contains internal information of the plugin * @param warningsKey can be used to add warnings with the macro @@ -309,7 +309,7 @@ int ...
Update comments for new summary tracker
@@ -25,6 +25,9 @@ namespace ebi namespace vcf { + /** + * Stores the count and first line of appearance of an error message + */ struct ErrorSummary { size_t appearances; @@ -32,19 +35,18 @@ namespace ebi }; /** - * Class that tells whether an error should be written or skipped. + * Class that ensures similar kind of e...
Needed to revert to avoid attributes update
@@ -35,7 +35,6 @@ enhancements and bug-fixes that were added to this release.</p> <li>Corrected an error in the host profiles for Cori.</li> <li>Fixed bug on Windows OS where executing a command from the Command window could yield the wrong results.</li> <li>Fixed the issue on OSX where the screen turns black during zo...
BugID:17712886: fix coap dynamic register support
@@ -55,11 +55,6 @@ int IOT_SetupConnInfo(const char *product_key, int device_secret_len = DEVICE_SECRET_MAXLEN; sdk_impl_ctx_t *ctx = sdk_impl_get_ctx(); - if (!info_ptr) { - sdk_err("Invalid argument, info_ptr = %p", info_ptr); - return -1; - } - STRING_PTR_SANITY_CHECK(product_key, -1); STRING_PTR_SANITY_CHECK(device...
Don't implement putc and __sp Those two functions are not necessary in Contiki-NG
#include <stdio.h> #include <string.h> /*---------------------------------------------------------------------------*/ -#undef putc -/*---------------------------------------------------------------------------*/ int putchar(int c) { @@ -44,17 +42,3 @@ putchar(int c) return c; } /*--------------------------------------...
Expose CBLAS interface to BLAS extensions iXamin
@@ -82,6 +82,11 @@ CBLAS_INDEX cblas_idamax(OPENBLAS_CONST blasint n, OPENBLAS_CONST double *x, OPE CBLAS_INDEX cblas_icamax(OPENBLAS_CONST blasint n, OPENBLAS_CONST void *x, OPENBLAS_CONST blasint incx); CBLAS_INDEX cblas_izamax(OPENBLAS_CONST blasint n, OPENBLAS_CONST void *x, OPENBLAS_CONST blasint incx); +CBLAS_IND...
Fix popd issue
@@ -174,7 +174,7 @@ if [ "$AOMP_PARALLEL_SMOKE" == 1 ]; then if [ $? -ne 0 ]; then echo -e "$RED"$base - needs rocblas installed at $AOMPROCM/rocblas:"$BLK" echo -e "$RED"$base - ROCBLAS NOT FOUND!!! SKIPPING TEST!"$BLK" - popd > /dev/nul -cl + popd > /dev/null continue fi elif [ $base == 'devices' ] || [ $base == 'str...
fix check on gigabyte alignment of huge os pages on windows
@@ -198,7 +198,7 @@ static bool mi_os_mem_free(void* addr, size_t size, mi_stats_t* stats) static void* mi_win_virtual_allocx(void* addr, size_t size, size_t try_alignment, DWORD flags) { #if defined(MEM_EXTENDED_PARAMETER_TYPE_BITS) // on modern Windows try use NtAllocateVirtualMemoryEx for 1GiB huge pages - if ((size...
z1: add newlib printf support This makes 07-hello-world-z1.csc pass when using GCC 9.
@@ -36,4 +36,19 @@ putchar(int c) #endif /* SLIP_ARCH_CONF_ENABLED */ return c; } + +#if defined(__GNUC__) && (__GNUC__ >= 9) +/* The printf() in newlib in GCC 9 from Texas Instruments uses the + * "TI C I/O" protocol which is not implemented in GDB. The user manual + * suggests overriding write() to redirect printf() ...
dsssframesync: fix premature return from dsss_framesync_execute
@@ -264,27 +264,32 @@ int dsssframesync_set_header_props(dsssframesync _q, dsssframegenprops_s * _prop return dsssframesync_set_header_len(_q, _q->header_user_len); } -int dsssframesync_execute(dsssframesync _q, float complex * _x, unsigned int _n) +int dsssframesync_execute_sample(dsssframesync _q, float complex _x) {...
cleanup for ssl locking changes
@@ -2827,27 +2827,27 @@ htp__accept_cb_(struct evconnlistener * serv, int fd, struct sockaddr * s, int s #ifndef EVHTP_DISABLE_SSL #ifndef EVHTP_DISABLE_EVTHR -#if OPENSSL_VERSION_NUMBER < 0x10100000L #ifndef WIN32 -#define tid (unsigned long)pthread_self() +#define _HTP_tid (unsigned long)pthread_self() #else -#define...
test: add platon test case test_005ParametersSet_0006SetValueSuccessNullvalue fix the issue teambition task id
@@ -399,6 +399,28 @@ START_TEST(test_005ParametersSet_0005SetValueFailureNullTx) } END_TEST +START_TEST(test_005ParametersSet_0006SetValueSuccessNullvalue) +{ + BSINT32 rtnVal; + BoatPlatONTx tx_ptr; + + BoatIotSdkInit(); + + rtnVal = platonWalletPrepare(); + ck_assert_int_eq(rtnVal, BOAT_SUCCESS); + + rtnVal = BoatPla...
added new option -R (remove cap is upload was successfull)
static long int uploadcountok; static long int uploadcountfailed; static const char *wpasecurl = "http://wpa-sec.stanev.org"; +static bool removeflag = false; /*===========================================================================*/ static int testwpasec(long int timeout) { @@ -53,6 +54,7 @@ static bool sendcap2w...
update ya tool arc fix of showing files in Finder
}, "arc": { "formula": { - "sandbox_id": [345042646], + "sandbox_id": [345537002], "match": "arc" }, "executable": {
engine: new timer callack for general cleanup
@@ -88,6 +88,15 @@ int flb_engine_flush(struct flb_config *config, return 0; } +static void cb_engine_sched_timer(struct flb_config *ctx, void *data) +{ + (void) data; + + /* Upstream connections timeouts handling */ + flb_upstream_conn_timeouts(ctx); +} + + static inline int flb_engine_manager(flb_pipefd_t fd, struct ...
Debug x64 build is breaking becuase the vcxproj file incorrectly sets NDEBUG, instead of _DEBUG
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <WarningLevel>Level4</WarningLevel> - <PreprocessorDefinitions>ARIASDK_PLATFORM_WINDOWS=1;ARIASDK_STATIC_LIB;WIN32;_WINDOWS;NDEBUG;ARIASDK_PAL_WIN32=1;ARIASDK_VERSION_PREFIX="Aria";CMAKE_INTDIR="Debug";WINVER=_WIN32_WINNT_WIN...
Bump 32blit tools version
@@ -3,7 +3,7 @@ if (NOT DEFINED BLIT_ONCE) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_EXTENSIONS OFF) - set(BLIT_MINIMUM_TOOLS_VERSION "0.4.0") + set(BLIT_MINIMUM_TOOLS_VERSION "0.6.0") find_package(PythonInterp 3.6 REQUIRED)
interface: links opacity
@@ -93,7 +93,14 @@ export const LinkItem = (props: LinkItemProps): ReactElement => { const isUnread = props.unreads.graph?.[appPath]?.['/']?.unreads?.has(node.post.index); return ( - <Box mx="auto" px={3} maxWidth="768px" ref={ref} width="100%" {...rest}> + <Box + mx="auto" + px={3} + maxWidth="768px" + ref={ref} + wid...
[aergo.system] add more tests for VPR
@@ -10,25 +10,93 @@ import ( "github.com/stretchr/testify/assert" ) -func TestVprtAddSub(t *testing.T) { - for i := int32(0); i < vprMax; i++ { - rank.Set(genAddr(i), new(big.Int).SetUint64(10000)) - rank.Apply(nil) - } +var initializedVprtTest bool + +func TestVprtOp(t *testing.T) { + initVprtTest() var ( hundred = ne...
server session BUGFIX duplicate has before freeing the buffer
@@ -822,8 +822,9 @@ auth_password_get_pwd_hash(const char *username) goto error; } + pass_hash = strdup(pass_hash); free(buf); - return strdup(pass_hash); + return pass_hash; error: free(buf);
Don't deactivate offscreen actor if being used by main script
.ANIM_SPEED_OFFSET = 0x15 .SPRITE_TYPE_OFFSET = 0x19 + .SCRIPT_ACTOR_OFFSET = 0x11 + .SPRITE_STATIC = 0x0 .SPRITE_ACTOR = 0x1 .SPRITE_ACTOR_ANIMATED = 0x2 @@ -594,10 +596,18 @@ _UpdateActors:: queue_deactivate_actor: + ; Load current main script actor into a + ld hl, #(_script_ctxs + .SCRIPT_ACTOR_OFFSET) + ld a, (hl) ...
Actually kill threads to exit scripts
@@ -653,6 +653,8 @@ func Py_DecodeLocale(_: UnsafePointer<Int8>!, _: UnsafeMutablePointer<Int>!) -> } } + private var scriptThreads = [String:pthread_t]() + private var scriptsAboutToExit = [String]() @objc public func registerThread(_ script: String) { @@ -664,13 +666,20 @@ func Py_DecodeLocale(_: UnsafePointer<Int8>!...
tools: acrn-manager: fix a potential compiler warning
@@ -47,7 +47,10 @@ int shell_cmd(const char *cmd, char *outbuf, int len); */ void vmmngr_update(void); -extern LIST_HEAD(vmmngr_list_struct, vmmngr_struct) vmmngr_head; +struct vmmngr_list_struct { + struct vmmngr_struct *lh_first; +}; +extern struct vmmngr_list_struct vmmngr_head; /* vm life cycle ops */ int list_vm(v...
Update workspace.c re-added missing output check after config load
@@ -108,6 +108,9 @@ struct cmd_results *cmd_workspace(int argc, char **argv) { } else { if (config->reading || !config->active) { return cmd_results_new(CMD_DEFER, "workspace", NULL); + } else if (!root->outputs->length) { + return cmd_results_new(CMD_INVALID, "workspace", + "Can't run this command while there's no out...
Extend mac_key_policy test. Add checks for psa_mac_compute and psa_mac_verify.
@@ -822,6 +822,23 @@ void mac_key_policy( int policy_usage_arg, status = psa_mac_sign_setup( &operation, key, exercise_alg ); TEST_EQUAL( status, expected_status_sign ); + /* Calculate the MAC, one-shot case. */ + uint8_t input[128] = {0}; + size_t mac_len; + TEST_EQUAL( psa_mac_compute( key, exercise_alg, + input, 128...
Only pass -imacros once per module
@@ -240,7 +240,7 @@ include $(MODULES_INCLUDES) include $(MODULES_INCLUDES) # C-include module-specific macros using -imacros -MODULES_IMACROS = ${wildcard ${foreach d, $(MODULEDIRS), $(d)/module-macros.h}} +MODULES_IMACROS = ${wildcard ${foreach d, $(UNIQUEMODULES), $(d)/module-macros.h}} ifneq ($(MODULES_IMACROS),) C...
Correct error weight index
@@ -388,7 +388,7 @@ float compute_symbolic_block_difference( error = min(abs(error), 1e15f); error = error * error; - float metric = dot_s(error, ewb->error_weights[i]); + float metric = dot_s(error, ewb->error_weights[tix]); summa += astc::min(metric, 1e30f); } }
test: retry 3 times if test fails during verify
@@ -514,7 +514,7 @@ endif $(call banner,"Building $(PKG) packages") @make pkg-$(PKG) ifeq ($(OS_ID)-$(OS_VERSION_ID),ubuntu-16.04) - @make COMPRESS_FAILED_TEST_LOGS=yes test + @make COMPRESS_FAILED_TEST_LOGS=yes RETRIES=3 test endif
Update osal_freertos.h Fix FreeRTOS task switch even if not required (unitialized variable usage)
@@ -115,7 +115,7 @@ TU_ATTR_ALWAYS_INLINE static inline bool osal_semaphore_post(osal_semaphore_t se } else { - BaseType_t xHigherPriorityTaskWoken; + BaseType_t xHigherPriorityTaskWoken = pdFALSE; BaseType_t res = xSemaphoreGiveFromISR(sem_hdl, &xHigherPriorityTaskWoken); #if CFG_TUSB_MCU == OPT_MCU_ESP32S2 || CFG_TUS...
Silence build warning on x86 Move the declaration of zephyr_flash_area_warn_on_open where all targets can see it.
@@ -32,14 +32,14 @@ struct device *boot_flash_device; void os_heap_init(void); +extern void zephyr_flash_area_warn_on_open(void); + #if defined(CONFIG_ARM) struct arm_vector_table { uint32_t msp; uint32_t reset; }; -extern void zephyr_flash_area_warn_on_open(void); - static void do_boot(struct boot_rsp *rsp) { struct a...
implement initial functionality for cloning a vmm_pdir_t
@@ -130,6 +130,64 @@ static page_table_t* clone_table(page_table_t* src, uint32_t* physAddr) { return table; } +void vmm_copy_page_table_pointers(vmm_pdir_t* src, vmm_pdir_t* dst) { + for (int i = 0; i < 1024; i++) { + if (!src->tablesPhysical[i]) { + continue; + } + if (dst->tablesPhysical[i]) { + panic("tried to over...
Disable ASAN SpinQuic on Windows
@@ -688,16 +688,12 @@ stages: platform: windows tls: schannel allocFail: 100 - extraArtifactDir: '_Sanitize' - extraArgs: -ExtraArtifactDir Sanitize - template: ./templates/run-spinquic.yml parameters: pool: MsQuic-Win-Latest platform: windows tls: schannel allocFail: 100 - extraArtifactDir: '_Sanitize' - extraArgs: -E...
more changes in handling of raw socket
@@ -3790,7 +3790,7 @@ static struct iwreq iwr; static struct sockaddr_ll ll; checkallunwanted(); -if((fd_socket = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL))) < 0) +if((fd_socket = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL))) < 0) { perror( "socket failed (do you have root priviledges?)"); return false;
fix overlay appearing in background
@@ -162,11 +162,13 @@ createoverlay() { selmon->overlay = tempclient; tempclient->bw = 0; tempclient->islocked = 1; + selmon->overlaystatus = 0; if (!selmon->overlay->isfloating) { changefloating(selmon->overlay); } selmon->overlay->h =((selmon->wh) / 3); + XRaiseWindow(dpy,tempclient->win); showoverlay(); } @@ -245,7 ...
setDevice fix on android
@@ -459,7 +459,15 @@ void lovrAudioSetCaptureFormat(SampleFormat format, int sampleRate) void lovrAudioUseDevice(AudioType type, const char *deviceName) { free(state.config[type].deviceName); - state.config[type].deviceName = strdup(deviceName); + +#ifdef ANDROID + // XX<nevyn> miniaudio doesn't seem to be happy to set...
doc: show source file link on html pages A shortcut to find the :ref:`labelname` value to link to an HTML page is to view the source .rst file for that page. This patch tweaks the conf.py to do just that.
@@ -243,7 +243,7 @@ def setup(app): html_show_sphinx = False # If true, links to the reST sources are added to the pages. -html_show_sourcelink = False +html_show_sourcelink = True # If not '', a 'Last updated on:' timestamp is inserted at every page # bottom,
rtx-def: fix license - apache 2.0
/* * Copyright (c) 2021 Arm Limited. All rights reserved. * - * This Software is licensed under an Arm proprietary license. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the License); you may + * not use this file except in compliance with the License. + * You may obtai...
emphasis h2olog is experimental
<p>h2olog is a an experimental <a href="https://www.kernel.org/doc/html/latest/bpf/index.html">BPF</a> (<a href="https://www.kernel.org/doc/Documentation/networking/filter.txt">kernel doc</a>) backed tracing tool for the <a href="https://github.com/h2o/h2o">H2O</a> server. It can be used for tracing HTTP-level or QUIC-...
Emptying user wifi variables if connection was not possible
@@ -2695,10 +2695,31 @@ int DeRestPluginPrivate::putWifiUpdated(const ApiRequest &req, ApiResponse &rsp) gwWifiActive = QLatin1String("inactive"); } + bool changed = false; + if (!gwWifiName.isEmpty()) + { + gwWifiName = QString(); + changed = true; + } + if (!gwWifiPw.isEmpty()) + { + gwWifiPw = QString(); + changed =...
travis: modify .travis.yml to maintain latest docker image TizenRT docker images is updated (ver. 1.5.0) new toolchain, xtensa-esp32-elf is added.
@@ -9,7 +9,7 @@ services: env: global: - - TIZENRT_IMG_VERSION=1.4.6 + - TIZENRT_IMG_VERSION=latest matrix: - BUILD_CONFIG=artik055s/audio - BUILD_CONFIG=artik053/grpc @@ -19,6 +19,7 @@ env: - BUILD_CONFIG=artik053/minimal - BUILD_CONFIG=qemu/tc_64k - BUILD_CONFIG=qemu/build_test + - BUILD_CONFIG=esp_wrover_kit/hello_w...
Testing: second order packing and constant fields
@@ -150,6 +150,15 @@ if [ $ECCODES_ON_WINDOWS -eq 0 ]; then ${tools_dir}/grib_compare -cdata:n -R all=3e-06 $infile $temp1 fi +# Second order doesn't have a proper representation for constant fields +# So we change the packing type to grid_simple +# --------------------------------------------------------------------- ...
using unchecked_get for fetching upvalues
@@ -184,7 +184,7 @@ function Coder:test_tag(typ, slot) elseif tag == "types.T.Table" then tmpl = "ttistable($slot)" elseif tag == "types.T.Any" then tmpl = "1" elseif tag == "types.T.Record" then - assert(not typ.is_upvalue_record) + assert(not typ.is_upvalue_box) return (util.render([[pallene_is_record($slot, $mt_slot...
ci: updates gcp integration for setting release version strings
@@ -245,12 +245,13 @@ jobs: needs: [urbit, mingw] if: inputs.upload steps: - - uses: google-github-actions/setup-gcloud@v0.2.0 + - uses: google-github-actions/auth@v1 + with: + credentials_json: ${{ secrets.GCP_CREDENTIALS }} + + - uses: google-github-actions/setup-gcloud@v1 with: - version: '290.0.1' - service_account...
Add fields to AddonItemSearchResult
@@ -6,6 +6,7 @@ namespace FFXIVClientStructs.FFXIV.Client.UI; // Component::GUI::AtkUnitBase // Component::GUI::AtkEventListener [StructLayout(LayoutKind.Explicit, Size = 0x3D0)] +[Addon("ItemSearchResult")] public unsafe struct AddonItemSearchResult { [FieldOffset(0x0)] public AtkUnitBase AtkUnitBase; @@ -16,4 +17,6 @...
Add bitstream CFGBVS parameter to avoid DRCs
@@ -27,6 +27,7 @@ set_property BITSTREAM.CONFIG.BPI_PAGE_SIZE 8 [current_design] set_property BITSTREAM.CONFIG.UNUSEDPIN Pullnone [current_design] # default pulldown, doesn't load at power-on! set_property BITSTREAM.CONFIG.OVERTEMPSHUTDOWN Enable [current_design] # default disable +set_property CFGBVS GND [ current_des...
BugID:17132072: Fix buffer out of bounds error for rtl8711b pwmout_init
@@ -105,6 +105,10 @@ void pwmout_init(pwmout_t* obj, PinName pin) /* loguart may close here */ Pinmux_Config(pin, PINMUX_FUNCTION_PWM); + if (pwm_chan >= sizeof(ch_start)) { + return; + } + ch_start[pwm_chan] = 1; obj->pwm_idx = pwm_chan; obj->period = 0x10000 * (prescaler + 1) / 40;
Fixed actor preview if initial frame hasn't been set
@@ -42,7 +42,7 @@ class ActorSelect extends Component { <SpriteSheetCanvas spriteSheetId={actor.spriteSheetId} direction={rest.direction || actor.direction} - frame={rest.frame % totalFrames} + frame={(rest.frame || 0) % totalFrames} /> )} </div>
fix for patch_vhd have to execute before export_simulation, otherwise some IPs could not be part of sim model
@@ -48,6 +48,9 @@ copy $(BUILD_DIR)/psl_fpga.tcl: @sed -i 's/run.topImpl.*0/run.topImpl 1/' $(BUILD_DIR)/psl_fpga.tcl @sed -i 's/run.topSynth.*0/run.topSynth 1/' $(BUILD_DIR)/psl_fpga.tcl @mv -f $(BUILD_DIR)/Sources/prj/psl_fpga.prj $(BUILD_DIR)/Sources/prj/top.prj + @if [ $(DDR3_USED) = "TRUE" ]; then echo "PATCH .vhd...
py/send_message: add erc20 token address with long title To test automatic title wrap into two lines.
@@ -614,11 +614,12 @@ class SendMessage: print("Ethereum xpub: {}".format(xpub)) - def _display_eth_address(self) -> None: + def _display_eth_address(self, contract_address: bytes = b"") -> None: def address(display: bool = False) -> str: return self._device.eth_pub( keypath=[44 + HARDENED, 60 + HARDENED, 0 + HARDENED,...
hfuzznetdriver: enable TCP_NODELAY on the outgoing socket
@@ -123,6 +123,10 @@ static int netDriver_sockConnAddr(const struct sockaddr *addr, socklen_t socklen if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &val, (socklen_t)sizeof(val)) == -1) { PLOG_W("setsockopt(sock=%d, SOL_SOCKET, SO_REUSEADDR, 1)", sock); } + val = 1; + if (setsockopt(sock, SOL_TCP, TCP_NODELAY, &val, (s...
Increase delay to inject HID on Ctrl+v 2 milliseconds turn out to be insufficient sometimes. It seems that 5 milliseconds is enough (and still not noticeable).
@@ -307,7 +307,7 @@ sc_key_processor_process_key(struct sc_key_processor *kp, // requested. Wait a bit so that the clipboard is set before // injecting Ctrl+v via HID, otherwise it would paste the old // clipboard content. - hid_event.delay = SC_TICK_FROM_MS(2); + hid_event.delay = SC_TICK_FROM_MS(5); } if (!sc_aoa_pus...
DotNetTools: Fix assembly sort regression
@@ -467,7 +467,7 @@ static int __cdecl AppdomainNodeTypeCompareFunction( PDNA_NODE node1 = *(PDNA_NODE *)elem1; PDNA_NODE node2 = *(PDNA_NODE *)elem2; - return uintcmp(node1->u.AppDomain.AppDomainType, node2->u.AppDomain.AppDomainType); + return uint64cmp(node1->u.AppDomain.AppDomainID, node2->u.AppDomain.AppDomainID);...
Improve parameter check script error message
@@ -194,7 +194,8 @@ sub process { exists($map2{'scaleFactorOfSecondFixedSurface'}) || exists($map2{'scaledValueOfSecondFixedSurface'})) ) { - print "File: $filename, line: $lineNum: TypeOfSurface problem (GRIB-229): Please check: $desc\n"; + print "File: $filename, line: $lineNum: TypeOfSurface issue: Please check: \"$...
stm32/mboot: Update README to describe WB and littlefs support.
@@ -2,11 +2,11 @@ Mboot - MicroPython boot loader =============================== Mboot is a custom bootloader for STM32 MCUs, and currently supports the -STM32F4xx and STM32F7xx families. It can provide a standard USB DFU interface -on either the FS or HS peripherals, as well as a sophisticated, custom I2C +STM32F4xx,...
jenkins: remove images with Elektra packages installed in Jenkinsfile.daily
@@ -82,8 +82,13 @@ def cleanupDocker(targetNode) { stage(taskname) { node(targetNode) { dockerImages().each { + if (it ==~ /^hub.libelektra.org.*-installed$/) { + // remove all images with Elektra packages installed + retainNewestImages(it, 0) + } else { retainNewestImages(it, 5) } + } sh "docker system prune -f" } } @...
[hardware] Only track reads in ROB
@@ -103,7 +103,7 @@ module tcdm_shim #( .valid_o (data_pvalid_o), .pop_i (data_pready_i), // ID request - .id_req_i (data_qvalid_i & data_qready_o), + .id_req_i (data_qvalid_i & data_qready_o & !data_qwrite_i), .id_o (rob_id), .full_o (rob_full) );
now returning uah instead of mah
@@ -239,9 +239,9 @@ int ltc294x_shutdown_sync(void) { int ltc294x_convert_to_coulomb_uah(int c, int Rsense, uint16_t prescaler, ltc294x_model_e model) { if (model == LTC2941 || model == LTC2942) { - return (int)(c * 0.085 * (50.0 / Rsense) * (prescaler / 128.0)); + return (int)(c * 85 * (50.0 / Rsense) * (prescaler / 1...
Adopt test to changed behavior
@@ -97,7 +97,7 @@ $sslv2testtype = SSLV2_IN_SSLV2; $proxy->clear(); $proxy->serverflags("-tls1_2"); $proxy->start(); -ok(!TLSProxy::Message->end(), "SSLv2 in SSLv2 ClientHello test"); +ok(TLSProxy::Message->fail(), "SSLv2 in SSLv2 ClientHello test"); #Test 7: Sanity check ClientHello fragmentation. This isn't really an...
log BUGFIX special no-memory error handling Fixes
@@ -419,6 +419,25 @@ log_vprintf(const struct ly_ctx *ctx, LY_LOG_LEVEL level, LY_ERR no, LY_VECODE v return; } + if (no == LY_EMEM) { + /* just print it, anything else would most likely fail anyway */ + if (ly_log_opts & LY_LOLOG) { + if (log_clb) { + log_clb(level, LY_EMEM_MSG, path); + } else { + fprintf(stderr, "li...
improves file availability from cmake-generated projects
@@ -47,7 +47,11 @@ ENDIF(APPLE) # the library include_directories(include) file(GLOB EPANET_SOURCES src/*.c) -add_library(epanet STATIC ${EPANET_SOURCES}) +file(GLOB EPANET_HEADERS src/*.h) +file(GLOB EPANET_DATA src/*.dat) +set(EPANET_API_HEADER "include/epanet2.h") + +add_library(epanet STATIC ${EPANET_SOURCES} ${EPA...
Work CI-CD Update Ruby version. ***NO_CI***
@@ -948,7 +948,7 @@ jobs: - task: UseRubyVersion@0 condition: succeeded() inputs: - versionSpec: '= 2.7' + versionSpec: '= 3.0' addToPath: true # generate change log including future version
driver: esp32s3 fix UART driver Fix set UART2 instance to correct base address (esp32s3 has non standard base periph address)
@@ -31,7 +31,7 @@ PROVIDE ( I2C1 = 0x60027000 ); PROVIDE ( TWAI = 0x6002B000 ); PROVIDE ( GPSPI4 = 0x60037000 ); PROVIDE ( GDMA = 0x6003F000 ); -PROVIDE ( UART2 = 0x60010000 ); +PROVIDE ( UART2 = 0x6001e000 ); PROVIDE ( DMA = 0x6003F000 ); PROVIDE ( APB_SARADC = 0x60040000 ); PROVIDE ( LCD_CAM = 0x60041000 );
Configure death handler: instead of printing directly, amend the message This is done by calling die again, just make sure to reset the __DIE__ handler first.
@@ -2722,16 +2722,19 @@ exit(0); # Death handler, to print a helpful message in case of failure ####### # sub death_handler { - die @_ if $^S; + die @_ if $^S; # To prevent the added message in eval blocks my $build_file = $target{build_file} // "build file"; - print STDERR <<"_____"; + my @message = ( <<"_____", @_ );...
Fix bcc_resolve_global_addr on shared libraries
@@ -395,6 +395,7 @@ void bcc_symcache_refresh(void *resolver) { struct mod_st { const char *name; uint64_t start; + uint64_t file_offset; }; static int _find_module(const char *modname, uint64_t start, uint64_t end, @@ -402,6 +403,7 @@ static int _find_module(const char *modname, uint64_t start, uint64_t end, struct mo...
Add sceAppMgrLaunchAppByName * Add sceAppMgrLaunchAppByName um i think i did this right..? * should be const char* ok nooww it should be good! * Update appmgr.h
@@ -342,6 +342,17 @@ int sceAppMgrLaunchAppByUri(int flags, const char *uri); */ int sceAppMgrLaunchAppByName2(const char *name, const char *param, SceAppMgrLaunchAppOptParam *optParam); +/** +* Start an Application by Title ID +* +* @param[in] flags - Usually 0x60000 +* @param[in] name - Title ID of the application +*...
fix Pipe Arduino
@@ -90,6 +90,4 @@ void PipeCom_ReceiveP2L(void) void PipeCom_SendL2P(uint8_t *data, uint16_t size) { Serial.write(data, size); - streaming_channel_t *stream_channel = get_L2P_StreamChannel(); - Stream_RmvAvailableSampleNB(stream_channel, size); }
freertos: Indicate completed initialization for APP CPU with idle task hook
#include "esp_memory_utils.h" #include "esp_freertos_hooks.h" #include "sdkconfig.h" +#include "esp_freertos_hooks.h" #if CONFIG_IDF_TARGET_ESP32 #include "esp32/spiram.h" @@ -79,13 +80,24 @@ void esp_startup_start_app_common(void) (void)res; } +#if !CONFIG_FREERTOS_UNICORE +static volatile bool s_app_cpu_startup_done ...
Update: removed some more restriction, only restriction now is that op can only appear as last sequence element
@@ -413,23 +413,27 @@ void Cycle_ProcessInputBeliefEvents(long currentTime) { if(state2 > 1) { - int substate = state2 >> 1; - int shift = 1; - while((substate >> 1)) + int substate = state2; + int shift = 0; + while(substate) { substate = (substate >> 1); shift++; - } + if(substate & 1) + { if(k+shift < FIFO_SIZE) { E...
collector_runner: fix logic to not always take take non-cumulative mode, issue
@@ -101,7 +101,7 @@ collector_runner(void *s) nextcycle = time(NULL) + collector_interval; /* setup functions to target what the user wants */ - if (router_getcollectormode(pending_router)) { + if (router_getcollectormode(pending_router) == SUB) { s_ticks = server_get_ticks_sub; s_metrics = server_get_metrics_sub; s_st...
fix: only needs to deny permissions to everyone role
@@ -32,19 +32,12 @@ create_beginner_channel( .topic = "Questionnaire." }; - guild::role::dati **rls = guild::role::get_list(client, guild_id); - for (size_t i=0; rls[i]; ++i) { - if (0x8 & strtoull(rls[i]->permissions, NULL, 10)) { // if role is admin ignore it - continue; - } - channel::overwrite::append( &params.perm...
Drop dynamic allocation from bipred search Moves the temporary LCU struct used in bipred search from the heap to the stack. The single malloc call was a huge bottleneck in bipred.
@@ -1455,7 +1455,7 @@ static void search_pu_inter(encoder_state_t * const state, && width + height >= 16; // 4x8 and 8x4 PBs are restricted to unipred if (can_use_bipred) { - lcu_t *templcu = MALLOC(lcu_t, 1); + lcu_t templcu; unsigned cu_width = LCU_WIDTH >> depth; static const uint8_t priorityList0[] = { 0, 1, 0, 2, ...
doc: clarify datastructure versioning
@@ -14,6 +14,10 @@ system:/elektra/version/constants/KDB_VERSION_MINOR system:/elektra/version/constants/KDB_VERSION_PATCH ``` +All libraries and plugins from Elektra must be installed +in exactly the same major and minor version, so no library +or plugin-specific version information exists. + ## Scope The version appl...
esp_phy: fix build warning
@@ -350,8 +350,6 @@ IRAM_ATTR void esp_mac_bb_power_down(void) const esp_phy_init_data_t* esp_phy_get_init_data(void) { - esp_err_t err = ESP_OK; - const esp_partition_t* partition = NULL; #if CONFIG_ESP_PHY_MULTIPLE_INIT_DATA_BIN_EMBED size_t init_data_store_length = sizeof(phy_init_magic_pre) + sizeof(esp_phy_init_da...
target_link_libraries PRIVATE does not work as advertised.
@@ -173,7 +173,7 @@ endif() set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules) find_package(LibCrypto REQUIRED) -target_link_libraries(${PROJECT_NAME} PRIVATE LibCrypto::Crypto ${OS_LIBS} m) +target_link_libraries(${PROJECT_NAME} PUBLIC LibCrypto::Crypto ${OS_LIBS} m) target_include_directories(${PROJECT_...
memif: Fix uninitialized variable as reported by coverity When mode == ip, the variable next_index is not initialized. Although insde the while loop, ni will be fixed to contain next[0], it is easier to initialize it. Type: fix
@@ -185,7 +185,8 @@ memif_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node, u16 nexts[MEMIF_RX_VECTOR_SZ], *next = nexts; u32 _to_next_bufs[MEMIF_RX_VECTOR_SZ], *to_next_bufs = _to_next_bufs, *bi; u32 n_rx_packets = 0, n_rx_bytes = 0; - u32 n_left, n_left_to_next, next_index; + u32 n_left, n_left_to_ne...
[CUDA] Add sqrtf to libdevice map
@@ -666,6 +666,7 @@ void pocl_map_libdevice_calls(llvm::Module *module) // TODO: rootn {"roundf", "__nv_roundf"}, {"sinhf", "__nv_sinhf"}, + {"sqrtf", "__nv_sqrtf"}, {"tanf", "__nv_tanf"}, {"tanhf", "__nv_tanhf"}, {"truncf", "__nv_truncf"},
reverted some wait macros to not use SP register
endm macro wait21 - PUSH AF - POP AF + wait12 + wait9 endm macro wait22 endm macro wait38 - EX (SP), HL - EX (SP), HL + wait24 + wait14 endm macro wait39 endm macro wait42 - wait38 - wait4 + wait34 + wait8 endm macro wait43 endm macro wait46 - wait38 - wait8 + wait34 + wait12 endm macro wait47 - wait38 - wait9 + wait34...
iommu: check if state is set before accessing the fields
@@ -238,7 +238,7 @@ static inline errval_t iommu_alloc_vregion(struct iommu_client *st, assert(id.bytes >= LARGE_PAGE_SIZE); - if (!st->enabled) { + if (st == NULL || !st->enabled) { *device = id.base; } else { *device = vregion_map_base;
[core] permit env vars to be set with blank value (regression in lighttpd 1.4.51)
@@ -153,12 +153,13 @@ void http_header_env_set(connection *con, const char *k, size_t klen, const char } void http_header_env_append(connection *con, const char *k, size_t klen, const char *v, size_t vlen) { - if (vlen) { + /*if (vlen)*/ /* skip check; permit env var w/ blank value to be appended */ + { buffer * const ...
VERSION bump to version 0.12.1
@@ -32,7 +32,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 12) -set(LIBNETCONF2_MICRO_VERSION 0) +set(LIBNETCONF2_MICRO_VERSION 1) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(LIB...
Frames which can appear in 0-RTT are expanded
@@ -6168,7 +6168,20 @@ static ssize_t conn_recv_pkt(ngtcp2_conn *conn, const ngtcp2_path *path, if (hd.type == NGTCP2_PKT_0RTT) { switch (fr->type) { case NGTCP2_FRAME_PADDING: + case NGTCP2_FRAME_PING: + case NGTCP2_FRAME_RESET_STREAM: + case NGTCP2_FRAME_STOP_SENDING: case NGTCP2_FRAME_STREAM: + case NGTCP2_FRAME_MAX...
install: support Rocky and Alma Linux
@@ -43,7 +43,7 @@ EOF yum -y install fluent-bit || yum -y install td-agent-bit SCRIPT ;; - centos|centoslinux|rhel|redhatenterpriselinuxserver|fedora) + centos|centoslinux|rhel|redhatenterpriselinuxserver|fedora|rocky|almalinux) sudo sh <<'SCRIPT' rpm --import https://packages.fluentbit.io/fluentbit.key cat > /etc/yum....
add logic to update _service file branch revision for update branches
@@ -109,7 +109,15 @@ update_pkg_if_service () { local localdir="${branchNew}/$1" + echo "${branchNew}" | grep -q ":Update" + local version=`echo $branchNew | awk -F : '{print $2}'` + + if [ $? -eq 0 ];then + local update_ver=`echo $branchNew | awk -F : '{print $3}' | awk -F 'Update' '{print $2}'` + version="$version.$u...
Fix/Middleware thread safety
@@ -297,7 +297,8 @@ BaseType_t prvGetAttributeFromHandle( uint16_t usAttrHandle, BaseType_t bFoundService = pdFAIL; /* The service that was just added is the last in the list */ -/* TODO ADD A MUTEX */ + if( xSemaphoreTake( ( SemaphoreHandle_t ) &xBTInterface.xThreadSafetyMutex, portMAX_DELAY ) == pdPASS ) + { listFOR_...
apps/testcase/filesystem: change conditional check of ITC of filesystem change testcase "itc_fs_vfs_mount_p_read_mode" : 1. change TC_ASSERT_NEQ_CLEANUP to TC_ASSERT_EQ_CLEANUP 2. add rmdir(VFS_FOLDER_PATH) before umount
@@ -149,7 +149,10 @@ static void itc_fs_vfs_mount_p_read_mode(void) TC_ASSERT_EQ("mount", ret, OK); ret = mkdir(VFS_FOLDER_PATH, 0777); - TC_ASSERT_NEQ_CLEANUP("mkdir", ret, OK, rmdir(VFS_FOLDER_PATH); umount(MOUNT_DIR)); + TC_ASSERT_EQ_CLEANUP("mkdir", ret, OK, umount(MOUNT_DIR)); + + ret = rmdir(VFS_FOLDER_PATH); + T...
Fixed bug in which instellation was only calculated for iBody > 0, and body[iBody].bStellar = 1. In other words, planets would never have the instellation calculated!
@@ -167,7 +167,7 @@ void WriteHZLimitDryRunaway(BODY *body,CONTROL *control,OUTPUT *output,SYSTEM *s if (iBody == 0) { *dTmp = -1; } else { - if (body[iBody].bStellar) { + if (body[0].bStellar) { *dTmp = fdInstellation(body,iBody); } else { *dTmp = -1;
added padding to the slider
@@ -139,13 +139,12 @@ int level_picker_render(const LevelPicker *level_picker, } { - ////////////////////////////////////////////////////////////////////////////////////////// /* CSS volume */ const Rect position = { .w = viewport.w * level_picker->volume_slider_scale.x, .h = viewport.h * level_picker->volume_slider_sc...
[Polar] Add default polaris information for Mainnet
@@ -50,7 +50,7 @@ var ( var ( // 89.16 is ceiling of declination of Polaris MainnetMapServer = []string{ - "/dns/polaris.aergo.io/tcp/8916/p2p/16Uiu2HAkvJTHFuJXxr15rFEHsJWnyn1QvGatW2E9ED9Mvy4HWjVF", + "/dns/mainnet-polaris.aergo.io/tcp/8916/p2p/16Uiu2HAkuxyDkMTQTGFpmnex2SdfTVzYfPztTyK339rqUdsv3ZUa", } // 89.16 is ceili...
finer grained waiting
@@ -19,7 +19,7 @@ export class Urbit wait-silent: ~> # this feels hacky new Promise (resolve)~> a = set-interval ~> - if Date.now! > @last-output + 2000 + if Date.now! > @last-output + 1000 clear-interval a resolve @last-output , 200 @@ -32,8 +32,9 @@ export class Urbit @wait-silent!then -> throw Error "Expected #re du...
ISL923x: Disable input regulation with function Use same function to disable input regulation BRANCH=none TEST=make -j runtests
@@ -490,6 +490,23 @@ static enum ec_error_list isl923x_post_init(int chgnum) return EC_SUCCESS; } +static enum ec_error_list isl923x_set_hw_ramp(int chgnum, int enable) +{ + int rv, reg; + + rv = raw_read16(chgnum, ISL923X_REG_CONTROL0, &reg); + if (rv) + return rv; + + /* HW ramp is controlled by input voltage regulat...
Include taskbox worker to all binary tasks. ISSUE:
@@ -1900,7 +1900,7 @@ module JTEST_FOR: JTEST { multimodule SANDBOX_TASK { module SB_TASK_BIN: PY_PROGRAM { PY_MAIN(sandbox.taskbox.binary) - PEERDIR(sandbox/bin sandbox/sdk2 sandbox/sandboxsdk) + PEERDIR(sandbox/bin sandbox/sdk2 sandbox/sandboxsdk sandbox/taskbox/worker) SET_APPEND(NO_CHECK_IMPORTS_FOR_VALUE api.*) SE...
Cleanup unused includes from ctl.c since we're not using sockets.
#include <limits.h> #include <stdlib.h> #include <string.h> -#include <sys/socket.h> -#include <sys/un.h> -#include <sys/ioctl.h> -#include <unistd.h> -#include <fcntl.h> -#include <errno.h> #include "circbuf.h" #include "cfgutils.h" #include "ctl.h" #include "dbg.h" -#include "fn.h" struct _ctl_t {
[Drivers] Add smart_loop_register_driver call to drivers_initialize
#include <nuttx/drivers/rpmsgdev.h> #include <nuttx/drivers/rpmsgblk.h> #include <nuttx/fs/loop.h> +#include <nuttx/fs/smart.h> #include <nuttx/input/uinput.h> #include <nuttx/mtd/mtd.h> #include <nuttx/net/loopback.h> @@ -184,4 +185,8 @@ void drivers_initialize(void) usrsock_rpmsg_server_initialize(); #endif + +#ifdef...