message
stringlengths
6
474
diff
stringlengths
8
5.22k
zephyr: tcpci emulator: add explicit label property The TCPCI emulator and tests currently require the label property. Override the deprecated attribute from the base.yaml. BRANCH=none TEST=./twister --clobber
description: Common TCPCI properties -include: base.yaml +# TODO(b/239165779): Reduce or remove the usage of label properties +include: + - name: base.yaml + property-blocklist: + - label properties: alert_gpio: @@ -12,3 +16,6 @@ properties: required: false description: Reference to Alert# GPIO. + label: + type: string...
pipe: use FLB_PIPE_WOULDBLOCK() to detect EAGAIN portably Previously we tried to detect EAGAIN by checking errno. This works fine on Unix, but does not work for Windows. In order to be portable, we need to use FLB_PIPE_WOULDBLOCK() here.
@@ -131,7 +131,7 @@ ssize_t flb_pipe_read_all(int fd, void *buf, size_t count) do { bytes = flb_pipe_r(fd, (char *) buf + total, count - total); if (bytes == -1) { - if (errno == EAGAIN) { + if (FLB_PIPE_WOULDBLOCK()) { /* * This could happen, since this function goal is not to * return until all data have been read, j...
Fix `SyntaxWarning` in Matplotlib
@@ -2198,7 +2198,7 @@ def matshow(A, fignum=None, **kwargs): """ A = np.asanyarray(A) - if fignum is False or fignum is 0: + if fignum == False or fignum == 0: ax = gca() else: # Extract actual aspect ratio of array and make appropriately sized figure
OcTimerLib: Make TSC frequency debug print at verbose level
@@ -124,7 +124,7 @@ RecalculateTSC ( } } - DEBUG ((DEBUG_INFO, "TscFrequency %lld\n", mPerformanceCounterFrequency)); + DEBUG ((DEBUG_VERBOSE, "TscFrequency %lld\n", mPerformanceCounterFrequency)); return mPerformanceCounterFrequency; }
timing_load_creds: Add timersub macro for platforms where it is missing Fixes
# include <openssl/bio.h> # include "internal/e_os.h" +# ifndef timersub +/* struct timeval * subtraction; a must be greater than or equal to b */ +# define timersub(a, b, res) \ + do { \ + (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ + if ((a)->tv_usec < (b)->tv_usec) { \ + (res)->tv_usec = (a)->tv_usec + 1000000 - (b...
show soft keyboard when when screen touched or mode switched to console/code
@@ -978,6 +978,13 @@ void resumeRunMode() studio.mode = TIC_RUN_MODE; } +static void showSoftKeyboard() +{ + if(SDL_HasScreenKeyboardSupport()) + if(studio.mode == TIC_CONSOLE_MODE || studio.mode == TIC_CODE_MODE) + SDL_StartTextInput(); +} + void setStudioMode(EditorMode mode) { if(mode != studio.mode) @@ -1014,6 +102...
Fix speed sm2 bug Should create PKEY CTX with EVP_PKEY_SM2; each job should have its own sm2_pkey; loopargs[i].sigsize should be set after EVP_DigestSign().
@@ -1283,12 +1283,14 @@ static int SM2_sign_loop(void *args) unsigned char *buf = tempargs->buf; EVP_MD_CTX **sm2ctx = tempargs->sm2_ctx; unsigned char *sm2sig = tempargs->buf2; - size_t sm2sigsize = tempargs->sigsize; - const size_t max_size = tempargs->sigsize; + size_t sm2sigsize; int ret, count; EVP_PKEY **sm2_pkey...
Set FIFO size to at least 4 packets
@@ -33,6 +33,8 @@ void StreamChannel::Setup(StreamConfig conf) pktLost = 0; int bufferLength = config.bufferLength == 0 ? 1024*4*1024 : config.bufferLength; int pktSize = config.format != StreamConfig::FMT_INT12 ? samples16InPkt : samples12InPkt; + if (bufferLength < 4*pktSize) //set FIFO to at least 4 packets + buffer...
Fix nuget packaging script for Win10-managed package
@@ -4,17 +4,7 @@ REM TODO: add Debug flavor to the build set ProjectName=Microsoft.Applications.Telemetry.Windows set NuGetFolder=%CD% -cd ../.. -set SolutionDir=%CD% - -set /p PackageVersion=<version.txt -REM This path is managed by Visual Studio nuget package NuGet.CommandLine -REM Make sure it's installed before run...
[BSP] Add device ops for audio driver
@@ -274,6 +274,18 @@ static rt_err_t codec_control(rt_device_t dev, int cmd, void *args) return result; } +#ifdef RT_USING_DEVICE_OPS +const static struct rt_device_ops codec_ops = +{ + codec_init, + codec_open, + codec_close, + codec_read, + codec_write, + codec_control +}; +#endif + int audio_hw_init(void) { struct a...
vtx: wait for ready in send_data
@@ -40,6 +40,10 @@ bool serial_vtx_wait_for_ready() { } void serial_vtx_send_data(uint8_t *data, uint32_t size) { + if (!serial_vtx_wait_for_ready()) { + return; + } + vtx_transfer_done = 0; LL_USART_ClearFlag_RXNE(USART.channel);
use one sentence to describe the advantage of Orca and move the design/implementation to the relavent section: contribution section
# Orca: a bot framework for Discord etc. -## Design +It provides an easy to use, easy to deploy, easy to debug way to build +reliable Discord bots. -The primary design goals are: - -- easy to use for the end users: we use multi-threading and - synchronous IO to support concurrency so you only need to focus on - the log...
we distinguish between three types of hcxdumptool cpang files: signed, older version of hcxdumptool or edited by third party tool (in this case the custom pcapng block was removed by third pyty tool)
@@ -543,7 +543,7 @@ void printcapstatus(char *pcaptype, char *pcapinname, int version_major, int ver int p; static char *hcxsignedinfo = "(signed)"; -static char *hcxunsignedinfo = "(not signed - old version)"; +static char *hcxunsignedinfo = "(not signed: old version or edited)"; static char mintimestring[32]; static ...
Clarify that input buffer is read-only
@@ -47,6 +47,7 @@ typedef struct clap_process { // Audio buffers, they must have the same count as specified // by clap_plugin_audio_ports->get_count(). // The index maps to clap_plugin_audio_ports->get_info(). + // Input buffer and its contents are read-only. const clap_audio_buffer_t *audio_inputs; clap_audio_buffer_...
Add SceUsbdForUser NIDs
@@ -5056,6 +5056,34 @@ modules: ksceSblACMgrIsGameProgram: 0x1298C647 ksceSblACMgrIsNonGameProgram: 0x6C5AB07F ksceSblACMgrIsDevelopmentMode: 0xE87D1777 + SceUsbd: + nid: 0x3525FE7A + libraries: + SceUsbdForUser: + kernel: false + nid: 0xC3AEAB67 + functions: + sceUsbdReceiveEvent: 0x16FEE05D + sceUsbdRegisterComposite...
TCPMv2: Use atomic operations for DPM requests Avoid race conditions between host commands and the PE state machine. TEST=make buildall BRANCH=none
* These macros SET, CLEAR, and CHECK, a DPM (Device Policy Manager) * Request. The Requests are listed in usb_pe_sm.h. */ -#define PE_SET_DPM_REQUEST(port, req) (pe[port].dpm_request |= (req)) -#define PE_CLR_DPM_REQUEST(port, req) (pe[port].dpm_request &= ~(req)) +#define PE_SET_DPM_REQUEST(port, req) atomic_or(&pe[po...
IP updated for Rancher
@@ -19,7 +19,7 @@ pipeline: secrets: [ email_username, email_password, email_port, email_host, email_recipients ] rancher: image: peloton/drone-rancher - url: http://91.121.49.115:8080 + url: http://rancher.datafari.com:8080 service: datafarice docker_image: datafari/ce_build start_first: false
build: fix ./configure help Type: make
@@ -21,7 +21,7 @@ OPTIONS: --help, -h This help --build-dir, -b Build directory --install-dir, -i Install directory - --type, -t Build type (release, debug, ... ) + --build-type, -t Build type (release, debug, ...) --wipe, -w Wipe whole repo (except startup.* files) __EOF__ }
build: Document checksum
@@ -511,6 +511,9 @@ def imageId(image) { } def checksum(file) { + // Used to identify if a Dockerfile changed + // Collissions result in not rebuilding the Docker image even though it + // changed. return sh(returnStdout: true, script: "cat $file | sha256sum | dd bs=1 count=8 status=none") .trim()
clang-format and add documentation to bcc_elf.h
@@ -32,17 +32,27 @@ struct bcc_elf_usdt { const char *arg_fmt; }; +// Binary module path, bcc_elf_usdt struct, payload typedef void (*bcc_elf_probecb)(const char *, const struct bcc_elf_usdt *, void *); - // Symbol name, start address, length, payload +// Callback returning a negative value indicates to stop the iterat...
Check NUM_THREADS when waiting for mandelbrot to end (was hardcoded to 4 threads) [ci skip]
@@ -95,6 +95,6 @@ int main() // Wait for other threads, because returning from main will kill all of them. __sync_fetch_and_add(&stop_count, 1); - while (stop_count != 4) + while (stop_count != NUM_THREADS) ; }
wren/compiler: Store value in the correct token.
@@ -717,7 +717,7 @@ static void makeNumber(Parser* parser) { errno = 0; - parser->current.value = NUM_VAL(strtod(parser->tokenStart, NULL)); + parser->next.value = NUM_VAL(strtod(parser->tokenStart, NULL)); if (errno == ERANGE) {
py/modbuiltins: Typo fix in comment.
@@ -79,7 +79,7 @@ STATIC mp_obj_t mp_builtin___build_class__(size_t n_args, const mp_obj_t *args) meta_args[2] = class_locals; // dict of members mp_obj_t new_class = mp_call_function_n_kw(meta, 3, 0, meta_args); - // store into cell if neede + // store into cell if needed if (cell != mp_const_none) { mp_obj_cell_set(c...
Fix: Minor change in Libc FixedMath "ub16mulub16" function implementation Fix in ub16mulub16() of fixedmath, It's "uint32_t m2i = ((uint32_t)m1 >> 16);" It should be "uint32_t m2i = ((uint32_t)m2 >> 16);"
@@ -167,7 +167,7 @@ ub16_t ub16mulub16(ub16_t m1, ub16_t m2) */ uint32_t m1i = ((uint32_t)m1 >> 16); - uint32_t m2i = ((uint32_t)m1 >> 16); + uint32_t m2i = ((uint32_t)m2 >> 16); uint32_t m1f = ((uint32_t)m1 & 0x0000ffff); uint32_t m2f = ((uint32_t)m2 & 0x0000ffff);
OnlineChecks: Fix hybrid-anaysis maximum upload size
@@ -246,8 +246,8 @@ NTSTATUS HashFileAndResetPosition( ); } - NtSetInformationThread(NtCurrentThread(), ThreadBasePriority, &priority, sizeof(LONG)); - NtSetInformationThread(NtCurrentThread(), ThreadIoPriority, &ioPriority, sizeof(IO_PRIORITY_HINT)); + PhSetThreadBasePriority(NtCurrentThread(), priority); + PhSetThrea...
VCL: remove bogus ASSERT().
@@ -2336,8 +2336,6 @@ vppcom_session_accept (uint32_t listen_session_index, vppcom_endpt_t * ep, clib_fifo_sub1 (vcm->client_session_index_fifo, client_session_index); rv = vppcom_session_at_index (client_session_index, &client_session); ASSERT (rv == VPPCOM_OK); - ASSERT (client_session->peer_addr.is_ip4 == - listen_s...
pybricks.pupdevices.Remote: Implement timeout. Replace hardcoded value by user argument.
#include <pbio/button.h> +#include <pybricks/util_mp/pb_obj_helper.h> #include <pybricks/util_mp/pb_kwarg_helper.h> #include <pybricks/common.h> @@ -60,7 +61,7 @@ static void handle_notification(pbdrv_bluetooth_connection_t connection, const u } } -STATIC void pb_remote_init(void) { +STATIC void pb_remote_connect(mp_in...
Use python highlighting instead for starlark snippets
@@ -12,7 +12,7 @@ different location if you wish, but you the file must be make available to Note, this imports version `0.8.0` - you may need to update the version and the sha256 hash. -```shell +```python # libcbor http_archive( name = "libcbor", @@ -32,7 +32,7 @@ is used in two passes: to create the Makefiles, and t...
Correct Philips vendor name based on mac address, if it was wrongly set
@@ -1116,9 +1116,15 @@ void DeRestPluginPrivate::addLightNode(const deCONZ::Node *node) lightNode.setNeedSaveDatabase(true); } - if (lightNode.name().isEmpty()) + const quint64 philipsMacPrefix = 0x0017880000000000ULL; + + if ((node->address().ext() & philipsMacPrefix) == philipsMacPrefix) { - lightNode.setName(QString...
fixed issue with node pick after zone pick with highlighting on
@@ -439,6 +439,10 @@ VisWinQuery::QueryIsValid(const VisualCueInfo *vqPoint, const VisualCueInfo *vqL // Now passing in a highlight color to the pick actor's // AddLine method. // +// Matt Larsen, Mon Jan 22 11:11:11 PST 2018 +// Correcting error where zone pick highlighing information +// leaked over to the next node ...
mem: on realloc do not check zero size
@@ -88,13 +88,6 @@ void *flb_realloc(void *ptr, const size_t size) { void *aux; - if (size == 0) { - if (ptr) { - free(ptr); - } - return NULL; - } - aux = realloc(ptr, size); if (flb_unlikely(!aux && size)) { return NULL;
build and run as separate steps
@@ -13,8 +13,11 @@ jobs: displayName: Pull previous image continueOnError: true workingDirectory: ./test/testContainers/ - - script: docker-compose -f docker-compose.yml -f azure/docker-compose.override.azure.yml up --build ${{ parameters.containerName }} - displayName: Build image and run tests + - script: docker-comp...
Remove redundant value assignemnt to olen.
@@ -438,7 +438,7 @@ void gcm_update_output_buffer_too_small( int cipher_id, int mode, { mbedtls_gcm_context ctx; uint8_t *output = NULL; - size_t olen; + size_t olen = 0; size_t output_len = input->len - 1; mbedtls_gcm_init( &ctx ); @@ -446,7 +446,6 @@ void gcm_update_output_buffer_too_small( int cipher_id, int mode, T...
AKM defined means KDV=0 (Ke Descriptor Version)
@@ -572,14 +572,14 @@ if(eapolnccount == 0) printf("EAPOL ANONCE error corrections (NC)......: not detected\n"); if(rcgapmax > 0) printf("REPLAYCOUNT gap (measured maximum).......: %" PRIu64 "\n", rcgapmax); } -if(eapolm1count > 0) printf("EAPOL M1 messages........................: %ld\n", eapolm1count); -if(eapolm1kdv...
Add Polygon to CHANGELOG.md
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added - Provide network ticker to plugins (especialy helpful for Paraswap plugin) +- Polygon variant ## [1.9.10](https://github.com/ledgerhq/app-ethereum/compare/1.9.9...1.9.10) - 2021-10-08
Added titlebar dragging Dragging the title bar sideways will allow you to reorder the clients with the mouse. If you move the mouse off of the bar, it will revert to the old mouse movement behavior.
@@ -2909,10 +2909,11 @@ resizeborder(const Arg *arg) { void dragmouse(const Arg *arg) { - int x, y, starty, startx, dragging, isactive, sinit; + int x, y, starty, startx, dragging, tabdragging, isactive, sinit; starty = 100; sinit = 0; dragging = 0; + tabdragging = 0; XEvent ev; Time lasttime = 0; @@ -2980,8 +2981,12 @...
harden _active_vmm_map_to_phys
@@ -182,16 +182,28 @@ void vmm_map_page_to_frame(page_t* page, uint32_t frame_addr) { } static void _active_vmm_map_virt_to_phys(vmm_pdir_t* dir, uint32_t page_addr, uint32_t frame_addr, uint16_t flags) { + vmm_pdir_t* active_pdir = vmm_active_pdir(); + if (dir != active_pdir) { + panic("incorrect pdir passed to _activ...
Another Win32 typo.
@@ -246,7 +246,7 @@ pthread_msec(struct timespec *ts) // I - Time value gettimeofday(&curtime, NULL); - return (1000 * (ts->tv_sec - curtime->tv_sec) + (ts->tv_nsec / 1000 - curtime->tv_usec) / 1000); + return (1000 * (ts->tv_sec - curtime.tv_sec) + (ts->tv_nsec / 1000 - curtime.tv_usec) / 1000); }
Update LuceneMatchVersion to 6.6.1
that you fully re-index after changing this setting as it can affect both how text is indexed and queried. --> - <luceneMatchVersion>5.5.3</luceneMatchVersion> + <luceneMatchVersion>6.6.1</luceneMatchVersion> <!-- TODO : change the hardcoded path add property.name=value in API Collections create --> <lib dir="${lib.pat...
chat: default value for OverlaySigil visbility
@@ -15,7 +15,7 @@ type OverlaySigilProps = ColProps & { }; interface OverlaySigilState { - visible: boolean; + visible: boolean | false; space: { top: number | 'auto'; bottom: number | 'auto';
lv_objx_templ: formatting
@@ -33,8 +33,7 @@ extern "C" { * TYPEDEFS **********************/ /*Data of template*/ -typedef struct -{ +typedef struct { lv_ANCESTOR_ext_t ANCESTOR; /*Ext. of ancestor*/ /*New data for this type */ }lv_templ_ext_t;
reverted to %lu
@@ -101,10 +101,10 @@ static int elektraMemoryvalueConvertToByteString (Key * key, kdb_unsigned_long_l normalizedMemVal = ret * formatFactor; // convert back to string - const int n = snprintf (NULL, 0, "%llu", normalizedMemVal); + const int n = snprintf (NULL, 0, "%lu", normalizedMemVal); char buf[n + 1]; - snprintf (...
An extra twist to the test-case
@@ -39,9 +39,9 @@ control egress(inout headers hdr, in psa_egress_input_metadata_t istd, inout psa_egress_output_metadata_t ostd) { - action action1(bit<32> data) { hdr.dummy.addr1 = data; } + action action1(bit<32> data) { hdr.dummy.addr1 = data + 32w1; } action action2() {meta.addr1 = 0x12345678; } - action action3(b...
Fix Soapy hasIQbalance to true
@@ -223,7 +223,7 @@ std::complex<double> SoapyLMS7::getDCOffset(const int direction, const size_t ch bool SoapyLMS7::hasIQBalance(const int /*direction*/, const size_t /*channel*/) const { - return false; + return true; } void SoapyLMS7::setIQBalance(const int direction, const size_t channel, const std::complex<double>...
fix: remove UA_IDLE as it should never be set by user
@@ -44,8 +44,7 @@ https://en.wikipedia.org/wiki/List_of_HTTP_status_codes */ #define UA_MAX_URL_LEN 512 + 1 typedef enum { - UA_IDLE = 0, // haven't performed yet - UA_SUCCESS, // continue after succesfull request + UA_SUCCESS = 1, // continue after succesfull request UA_FAILURE, // continue after failed request UA_RET...
doc: terminology cleanup in DM params Replace SOS or Service OS with Service VM Replace UOS or User OS with User VM Clean up some of the grammar
@@ -67,11 +67,11 @@ Here are descriptions for each of these ``acrn-dm`` command line parameters: peripherals from SoC. (The ``-i`` and ``-l`` parameters are only available on a platform with IOC.) - IOC DM opens ``/dev/ptmx`` device to create a peer PTY devices, IOC DM uses - these to communicate with UART DM since UAR...
declare mit license
/* - * Demonstration of how we might port the Python h2olog to C++. - * Compile with: "g++ -o h2olog -I/usr/include/bcc/compat h2olog.cc -lbcc" + * Copyright (c) 2019-2020 Fastly, Inc., Toru Maesaka, Goro Fuji + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and ...
Changing default ChibiOS repo from the _official_ GitHub mirror to our own mirror
@@ -9,7 +9,7 @@ ExternalProject_Add( ChibiOS PREFIX ChibiOS SOURCE_DIR ${CMAKE_BINARY_DIR}/ChibiOS_Source - GIT_REPOSITORY https://github.com/ChibiOS/ChibiOS/ + GIT_REPOSITORY https://github.com/nanoframework/ChibiOS GIT_TAG ${CHIBIOS_GIT_TAG} # target specified branch GIT_SHALLOW 1 # download only the tip of the branc...
setup bindings properly
@@ -1703,6 +1703,10 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso sensor->modelId().startsWith(QLatin1String("TH-")) || sensor->modelId().startsWith(QLatin1String("SMOK_")) || sensor->modelId().startsWith(QLatin1String("WATER_")) || + // Konke + sensor->modelId() == QLatin1String("...
Add mutex assertions
@@ -64,6 +64,7 @@ video_buffer_destroy(struct video_buffer *vb) { static void video_buffer_swap_frames(struct video_buffer *vb) { + sc_mutex_assert(&vb->mutex); AVFrame *tmp = vb->decoding_frame; vb->decoding_frame = vb->rendering_frame; vb->rendering_frame = tmp; @@ -92,6 +93,7 @@ video_buffer_offer_decoded_frame(stru...
esp: Fix Isochronous transfers On ESP32-S2/S3 ISO transfers must be configured for even or odd frame. Closes
@@ -59,6 +59,7 @@ typedef struct { uint16_t queued_len; uint16_t max_size; bool short_packet; + uint8_t interval; } xfer_ctl_t; static const char *TAG = "TUSB:DCD"; @@ -267,6 +268,7 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const *desc_edpt) xfer_ctl_t *xfer = XFER_CTL_BASE(epnum, dir); xfer->max_size ...
rtnlinv.c: fix ENLIVE dims Somewhere, the dimension logic was messed up...
@@ -248,12 +248,12 @@ int main_rtnlinv(int argc, char* argv[argc]) long img_output1_dims[DIMS]; md_select_dims(DIMS, ~TIME_FLAG, img_output1_dims, img_output_dims); - if (!combine) { + if (combine) { // The conventional img-dimensions contain only one map. // The 'output' dimensions might contain multiple maps (ENLIVE)...
CLEANUP: adjust SET_DELETE_NO_MERGE code tag.
@@ -2081,7 +2081,8 @@ static uint32_t do_set_elem_delete_fast(set_meta_info *info, const uint32_t coun } return fcnt; } -#else +#endif + static uint32_t do_set_elem_delete(set_meta_info *info, const uint32_t count, enum elem_delete_cause cause) { @@ -2095,7 +2096,6 @@ static uint32_t do_set_elem_delete(set_meta_info *i...
use task variable for mpi profiles
@@ -14,11 +14,12 @@ rm=$RESOURCE_MANAGER NODES=2 TASKS=8 ARGS=8 +MAX_THREADS=`./get_max_threads` +LAST_THREAD_INDEX=`echo "$TAU_TEST_MAX_THREADS -1" | bc` +LAST_TASK_INDEX=`echo "$TASKS -1" | bc` export TAU_TRACE=0 TAU_CALLPATH=0 TAU_PROFILE=1 TAU_METRICS=GET_TIME_OF_DAY:PAPI_L1_DCM:PAPI_LD_INS unset OMP_NUM_THREADS -e...
babblesim: Add command line arg to specify bdaddr This allows to set public bdaddr using -A or --bdaddr command line option. Accepted formats are both XX:XX:XX:XX:XX:XX and 0xXXXXXXXXXXXX.
#include "bs_dynargs.h" #include "bs_cmd_line_typical.h" #include "NRF_HWLowL.h" +#include "controller/ble_ll.h" static bs_args_struct_t *args_struct; static struct nrf52_bsim_args_t arg; @@ -36,6 +37,28 @@ static void cmd_nosim_found(char *argv, int offset) hwll_set_nosim(true); } +static void cmd_bdaddr_found(char *a...
Fix field name initialization in kmt mongo mode.
@@ -4617,11 +4617,11 @@ main(int argc, char **argv) fieldnamew_max = snprintf(NULL, 0, fieldname_fmt, fieldcount); fieldnamew_max = roundup(fieldnamew_max + 1, 8); - fieldnamev = aligned_alloc(128, (fieldcount_max + 1) * fieldnamew_max); + fieldnamev = aligned_alloc(128, (fieldcount + 1) * fieldnamew_max); if (!fieldna...
Cellular fix in 3GPP power saving logic. Correction to the logic in the internal function uCellPrivateSetDeepSleepState() - add a !
@@ -987,7 +987,7 @@ void uCellPrivateSetDeepSleepState(uCellPrivateInstance_t *pInstance) // deep sleep URC was received), then we don't need to do anything. if ((pInstance->deepSleepState != U_CELL_PRIVATE_DEEP_SLEEP_STATE_ASLEEP) && (pInstance->deepSleepState != U_CELL_PRIVATE_DEEP_SLEEP_STATE_PROTOCOL_STACK_ASLEEP))...
board/gumboz/board.h: Format with clang-format BRANCH=none TEST=none
#define CONFIG_LID_ANGLE_SENSOR_BASE BASE_ACCEL #define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL - - /* GPIO mapping from board specific name to EC common name. */ #define CONFIG_BATTERY_PRESENT_GPIO GPIO_EC_BATT_PRES_ODL #define CONFIG_SCI_GPIO GPIO_EC_FCH_SCI_ODL /* This I2C moved. Temporarily detect and support the V0 ...
Fix case, add another function
@@ -114,6 +114,7 @@ functions: 0x14061ADD0: ConvertLogMessageIdToCharaLogKind 0x1406F66A0: ExecuteCommand 0x1408DC200: CreateSelectYesno + 0x140A81860: GetBeastTribeAllowance 0x140A91500: EventFramework_GetSingleton 0x140A91510: EventFramework_ctor 0x140A91CD0: EventFramework_dtor @@ -272,7 +273,7 @@ classes: funcs: 0x...
parallel-libs/trilinos: # # [ohpc] please include (github issue #) at end of commit message if appropriate # bump trillinos to v12.12.1
# Base package name %define pname trilinos %define PNAME %(echo %{pname} | tr [a-z] [A-Z]) -%define ver_exp 12-10-1 +%define ver_exp 12-12-1 Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} Version: 12.12.1
TIS doesn't like ChannelID being zero
@@ -57,7 +57,7 @@ long ret_code(long code) { return code; } -#define EXTRACT_DID(CID) (CID & 0xFFFF) +#define EXTRACT_DID(CID) ((CID & 0xFFFF) - 1) #define EXTRACT_CID(CID) ((CID >> 16) & 0xFFFF) long check_valid_DeviceID(unsigned long DeviceID) { @@ -68,7 +68,7 @@ long check_valid_DeviceID(unsigned long DeviceID) { } ...
out_http: fix config map for 'uri' field
@@ -361,7 +361,7 @@ static struct flb_config_map config_map[] = { }, { FLB_CONFIG_MAP_STR, "uri", NULL, - 0, FLB_FALSE, FLB_TRUE, offsetof(struct flb_out_http, uri), + 0, FLB_TRUE, offsetof(struct flb_out_http, uri), NULL, },
open ext lib as default
@@ -178,9 +178,10 @@ namespace SLua Lua_SLua_ByteArray.reg (L); Helper.reg(L); LuaValueType.reg(L); + if ((flag & LuaSvrFlag.LSF_EXTLIB)!=0) { LuaDLL.luaS_openextlibs (L); - LuaSocketMini.reg (L); + } if((flag & LuaSvrFlag.LSF_3RDDLL)!=0) Lua3rdDLL.open(L); @@ -211,7 +212,7 @@ namespace SLua } } - public void init(Acti...
circular_buffer: use atomic block
#include "circular_buffer.h" +#include "drv_interrupt.h" + uint32_t circular_buffer_free(circular_buffer_t *c) { + ATOMIC_BLOCK(MAX_PRIORITY) { if (c->head >= c->tail) { return (c->size - c->head) + c->tail; } return (c->tail - c->head); } + return 0; +} uint8_t circular_buffer_write(circular_buffer_t *c, uint8_t data)...
Add missing header typedef from previous commit
@@ -294,6 +294,11 @@ NTSTATUS PhSipQueryProcessorPerformanceDistribution( _Out_ PVOID *Buffer ); +NTSTATUS PhSipQueryProcessorLogicalInformation( + _Out_ PVOID *Buffer, + _Out_ PULONG BufferLength + ); + // Memory section BOOLEAN PhSipMemorySectionCallback(
cmake: Trim IDF_VER to fit a 32-bit field
@@ -223,11 +223,13 @@ endfunction() function(idf_get_git_revision) git_describe(IDF_VER_GIT "${IDF_PATH}") if(EXISTS "${IDF_PATH}/version.txt") - file(STRINGS "${IDF_PATH}/version.txt" IDF_VER) + file(STRINGS "${IDF_PATH}/version.txt" IDF_VER_T) set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${IDF_PATH...
added authentication over ethernet
@@ -663,6 +663,41 @@ hcxwriteneccount++; return; } /*===========================================================================*/ +uint8_t geteapkeyint(eap_t *eap) +{ +uint16_t keyinfo; +int eapkey = 0; + +keyinfo = (((eap->keyinfo & 0xff) << 8) | (eap->keyinfo >> 8)); +if (keyinfo & WPA_KEY_INFO_ACK) + { + if(keyinfo...
Vertcoin fix
"hash": "sha256d" }, "headerHasher": { - "hash": "lyra2rev3" + "hash": "verthash" }, "blockHasher": { "hash": "reverse",
[agx] Conversion methods for RectU32
@@ -651,6 +651,15 @@ impl Display for Rect { } } +impl From<RectU32> for Rect { + fn from(rect: RectU32) -> Self { + Self { + origin: Point::from(rect.origin), + size: Size::from(&rect.size), + } + } +} + #[derive(PartialEq)] struct TileSegment<'a> { viewport_frame: Rect, @@ -1043,6 +1052,10 @@ impl RectU32 { size: Siz...
Do not skip call to MarkBufferDirtyHint for temp tables. In markDirty() seems oversight in commit to avoid calling MarkBufferDirtyHint() for temp tables. Previous patch used relation->rd_istemp before calling XLogSaveBufferForHint() in MarkBufferDirtyHint() that was unnecessary given it already checks for BM_PERMANENT....
@@ -91,8 +91,10 @@ markDirty(Buffer buffer, Relation relation, HeapTupleHeader tuple, bool isXmin) if (!gp_disable_tuple_hints) { - /* GPDB_91_MERGE_FIXME: what is the rationale of not dirtying local buffers? */ - if (relation->rd_rel->relpersistence != RELPERSISTENCE_TEMP) + /* + * Based on BM_PERMANENT it decides if ...
Poll control fix ZCL sequence is 0
@@ -140,7 +140,6 @@ bool DeRestPluginPrivate::checkPollControlClusterTask(Sensor *sensor) if (item->toNumber() & R_PENDING_SET_LONG_POLL_INTERVAL) { deCONZ::ApsDataRequest apsReq; - deCONZ::ZclFrame zclFrame; // ZDP Header apsReq.dstAddress() = sensor->address(); @@ -153,7 +152,7 @@ bool DeRestPluginPrivate::checkPollC...
Ensure Python dependencies are up-to-date in the GitHub workflow
@@ -21,7 +21,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: "3.10.5" - name: Install dependencies run: | @@ -45,14 +45,14 @@ jobs: uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: - pytho...
odissey: do not free msg during route
@@ -182,7 +182,7 @@ od_router(void *arg) if (route == NULL) { msg_route->status = OD_RERROR_NOT_FOUND; machine_queue_put(msg_route->response, msg); - continue; + break; } /* ensure route client_max limit */ @@ -195,7 +195,7 @@ od_router(void *arg) route->scheme->client_max); msg_route->status = OD_RERROR_LIMIT; machine...
[core] fix segfault if tempdirs fill up (fixes (thx wolfram) x-ref: "lighttpd segfault if /var/tmp is full"
@@ -741,7 +741,7 @@ static void chunkqueue_remove_empty_chunks(chunkqueue *cq) { chunkqueue_remove_finished_chunks(cq); if (chunkqueue_is_empty(cq)) return; - for (c = cq->first; c->next; c = c->next) { + for (c = cq->first; c && c->next; c = c->next) { if (0 == chunk_remaining_length(c->next)) { chunk *empty = c->next...
feat(timer): add `lv_timer_get_user_data`
@@ -172,6 +172,16 @@ uint8_t lv_timer_get_idle(void); */ lv_timer_t * lv_timer_get_next(lv_timer_t * timer); +/** + * Get the user_data passed when the timer was created + * @param timer pointer to the lv_timer + * @return pointer to the user_data + */ +static inline void * lv_timer_get_user_data(lv_timer_t * timer) +{...
Remove obsolete detail in README Now that scrcpy-server.jar is found in the same directory as the scrcpy executable, using SCRCPY_SERVER_PATH is not particularly useful on Windows anymore
@@ -331,8 +331,8 @@ To use a specific _adb_ binary, configure its path in the environment variable ADB=/path/to/adb scrcpy -To override the path of the `scrcpy-server.jar` file (it can be [useful] on -Windows), configure its path in `SCRCPY_SERVER_PATH`. +To override the path of the `scrcpy-server.jar` file, configure ...
To make it less surprising and confusing, leave a message on configdata.pm This message will ONLY be visible in OpenSSL 1.1.1, it will not show in 1.1.1a or any other release or update.
@@ -2554,6 +2554,17 @@ my %builders = ( $builders{$builder}->($builder_platform, @builder_opts); +# Show a note on the use of configdata.pm, but ONLY for release 1.1.1 +# (i.e. this message disappears with the following update, 1.1.1a) +print <<"EOF" if ($config{version_num} =~ m|^0x1010100.L$|); + +NOTE: Starting with...
GITHUB.WORKSPACE not GITHUB_WORKSPACE
@@ -40,7 +40,7 @@ jobs: -DBUILD_TESTING=ON -DDOWNLOAD_AND_BUILD_DEPS=ON -DUPNP_ENABLE_OPEN_SSL=ON - -DCMAKE_INSTALL_PREFIX=${{ GITHUB_WORKSPACE }}/test-install + -DCMAKE_INSTALL_PREFIX=${{ GITHUB.WORKSPACE }}/test-install ${{ env.cmake_extra_flags }} - name: Build run: cmake --build build --config ${{matrix.conf}} @@ -...
variable name change/triggering rebuid
@@ -44,8 +44,8 @@ def test_power_mu_sigma_sigma8norm(tf): def test_import_isitgr(): "Test simple imports" import isitgr - boltzmann = import_item('isitgr') - assert isitgr == boltzmann + boltzmann_t = import_item('isitgr') + assert isitgr == boltzmann_t @pytest.mark.parametrize('tf', [ 'boltzmann_class', 'boltzmann_cam...
doc CHANGE highlight important information
@@ -84,8 +84,8 @@ Specifically, _startup_, _running_, _candidate_, and _operational_ datastores ar to the definitions. Following is a brief description and purpose of each datastore. _Startup_ datastore is the only persistent datastore. It includes the configuration of devices at time of their boot. -This configuration...
workaround SDCC issue:
@@ -135,8 +135,9 @@ void LoadPlayerSpritePalette(UINT16 index) { } UBYTE LoadSprite(UINT16 index, UBYTE sprite_offset) { - UBYTE bank, sprite_frames, size, load_size; - UBYTE* data_ptr; + UBYTE sprite_frames, size, load_size; + static UBYTE bank; + static UBYTE* data_ptr; PUSH_BANK(DATA_PTRS_BANK); bank = sprite_bank_p...
Remove dependency to jacoco
@@ -3080,7 +3080,7 @@ module JTEST: _JAVA_PLACEHOLDER { # TODO: if <needs_sonar> DEPENDS(contrib/java/org/sonarsource/scanner/cli/sonar-scanner-cli/2.8) - DEPENDS(devtools/junit-runner devtools/jacoco-agent) + DEPENDS(devtools/junit-runner) PEERDIR(build/platform/java/jacoco-agent) JAVA_TEST() @@ -3114,7 +3114,6 @@ mod...
Change default CCAL value to match other devices
@@ -1354,7 +1354,7 @@ int LMS7_Device::Init() {0x002D, 0x0641}, {0x0086, 0x4101}, {0x0087, 0x5555}, {0x0088, 0x0525}, {0x0089, 0x1078}, {0x008B, 0x218C}, {0x008C, 0x267B}, {0x00A6, 0x000F}, {0x00A9, 0x8000}, {0x00AC, 0x2000}, {0x0108, 0x318C}, {0x0109, 0x57C1}, - {0x010A, 0x154C}, {0x010B, 0x0001}, {0x010C, 0x8865}, {0...
removes unused args -I (galaxy) and -l (raft port)
@@ -78,7 +78,7 @@ _main_getopt(c3_i argc, c3_c** argv) u3_Host.ops_u.rep = c3n; u3_Host.ops_u.kno_w = DefaultKernel; - while ( (ch_i=getopt(argc, argv,"s:B:I:w:t:f:k:l:p:LSabcdgmqvxFPDR")) != -1 ) { + while ( (ch_i=getopt(argc, argv,"s:B:w:t:f:k:p:LSabcdgqvxFPDR")) != -1 ) { switch ( ch_i ) { case 'B': { u3_Host.ops_u....
correct stack frame table keys in debug/stack doc doc for debug/stack listed :column and :line as keys in the frame table. But doframe actually sets :source-column and :source-line.
@@ -340,9 +340,9 @@ JANET_CORE_FN(cfun_debug_stack, "stack frame is the first table in the array, and the bottom-most stack frame " "is the last value. Each stack frame contains some of the following attributes:\n\n" "* :c - true if the stack frame is a c function invocation\n\n" - "* :column - the current source colum...
api: revert the changes to atexit for shared memory client introduced the change into the shared memory atexit, which breaks IPSec tests in some environments. Type: fix Fixes:
@@ -1029,7 +1029,7 @@ vl_api_client_index_to_input_queue (u32 index) static clib_error_t * setup_memclnt_exit (vlib_main_t * vm) { - atexit (vl_unmap_shmem_client); + atexit (vl_unmap_shmem); return 0; }
BugID:19137880:change the config name
@@ -34,12 +34,12 @@ ifeq ($(AOS_SENSOR_INT_ENABLE),y) GLOBAL_DEFINES += SENSOR_INT_ENABLE endif -ifeq ($(AOS_SENSOR_IO_I2C_ENABLE),y) +ifeq ($(AOS_SENSOR_I2C_ENABLE),y) GLOBAL_DEFINES += UDATA_MEMS GLOBAL_DEFINES += SENSOR_I2C_ENABLE endif -ifeq ($(AOS_SENSOR_IO_SPI_ENABLE),y) +ifeq ($(AOS_SENSOR_SPI_ENABLE),y) GLOBAL_...
Add crypto functions to ssmgr.h
@@ -42,6 +42,19 @@ int ksceSblAimgrGetConsoleId(SceConsoleId *cid); int ksceSblAimgrGetOpenPsId(SceOpenPsId *open_psid); int ksceSblAimgrGetPscode(ScePsCode *pscode); +int ksceSblDmac5AesCbcDec(const void *src, void *dst, int size, const void *key, int key_size, void *iv, int mask_enable); +int ksceSblDmac5AesCbcEnc(co...
Use hard coded /usr/include only on ARM platform
@@ -8,13 +8,11 @@ DEFINES += DECONZ_DLLSPEC=Q_DECL_IMPORT unix:contains(QMAKE_HOST.arch, armv6l) { DEFINES += ARCH_ARM ARCH_ARMV6 + INCLUDEPATH += /usr/include } unix:contains(QMAKE_HOST.arch, armv7l) { DEFINES += ARCH_ARM ARCH_ARMV7 -} - -unix:contains(QMAKE_HOST.arch, armv7l) { - DEFINES += ARCH_ARM ARCH_ARMV7 + INCL...
mesh: Fixes duplicated close callback When PB-GATT Procedure timeout, func bt_mesh_pb_gatt_close will also dumplicated with link_closed() this is port of
@@ -50,10 +50,6 @@ static void protocol_timeout(struct ble_npl_event *work) BT_DBG("Protocol timeout"); - if (link.conn_handle) { - bt_mesh_pb_gatt_close(link.conn_handle); - } - reset_state(); cb->link_closed(&pb_gatt, link.cb_data,
Make download reference a link
@@ -63,9 +63,10 @@ options ranging from 0.89 bits/pixel up to 8 bits/pixel. # Prebuilt binaries -Prebuilt release build binaries for 64-bit Linux, macOS, and Windows are -available in the GitHub Releases page. Note currently, no 2.x series binaries -are available. +Prebuilt release build binaries of `astcenc` for 64-bi...
Fix EXTRA_C_FLAGS duplication on Windows
@@ -1275,7 +1275,6 @@ class GnuCompiler(Compiler): emit('OBJECT_SUF', '$OBJ_SUF%s.o' % self.cross_suffix) emit('GCC_COMPILE_FLAGS', '$EXTRA_C_FLAGS -c -o ${output;suf=${OBJECT_SUF}:SRC}', '${input:SRC} ${pre=-I:INCLUDE}') - emit('EXTRA_C_FLAGS') emit('EXTRA_COVERAGE_OUTPUT', '${output;noauto;hide;suf=${OBJ_SUF}%s.gcno:...
stop moons pretending to be planets. enables moon booting
=+ myr=(clan:title our) ?: ?=($pawn myr) [[%base %talk] [%base %dojo] ~] - ?: ?=($earl myr) - [[%home %dojo] ~] [[%home %talk] [%home %dojo] ~] :: ++ deft-fish :: default connects |= our/ship %- ~(gas in *(set gill:gall)) ^- (list gill:gall) - ?: ?=($earl (clan:title our)) - [[(sein:title our) %talk] [our %dojo] ~] [[o...
Fix test script not failing when only crashes occur
@@ -236,7 +236,7 @@ $FailXmlText = @" "@ # Global state for tracking if any crashes occurred. -$AnyProcessCrashes = $false +$global:CrashedProcessCount = 0 # Path to the WER registry key used for collecting dumps. $WerDumpRegPath = "HKLM:\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\$TestExeName" @@ -5...
[build.sh] Fix distro name parsing if it doesn't have double quotes
@@ -21,7 +21,7 @@ for os_release in ${OS_RELEASE_FILES[@]} ; do if [[ ! -e "${os_release}" ]]; then continue fi - DISTRO=$(sed -rn 's/^NAME="(.+)"/\1/p' ${os_release}) + DISTRO=$(sed -rn 's/^NAME=(.+)/\1/p' ${os_release} | sed 's/"//g') done dependencies() {
test: Add test_008Contract_0007SetAndGetIntArrayContractFuction
@@ -401,6 +401,43 @@ START_TEST(test_008Contract_0006SetAndGetAddressContractFuction) } END_TEST +START_TEST(test_008Contract_0007SetAndGetIntArrayContractFuction) +{ + BoatEthTx tx_ctx; + BoatEthWallet *rtnVal; + BCHAR *result_str; + BOAT_RESULT result; + BSINT32 bs[10]; + BUINT32 i; + BoatFieldVariable parse_result =...
python: add error check to Python_AppendToSysPath, do not pass nullptr to logger
@@ -81,7 +81,10 @@ static int Python_AppendToSysPath (const char * path) PyObject * sysPath = PySys_GetObject ((char *) "path"); PyObject * pyPath = PyUnicode_FromString (path); - PyList_Append (sysPath, pyPath); + if (PyList_Append (sysPath, pyPath) == -1) + { + return 0; + } Py_DECREF (pyPath); return 1; } @@ -265,6 ...
stm32: stop mpy script with button
@@ -167,6 +167,9 @@ static void run_user_program(uint32_t len, uint8_t *buf) { // Convert buf to raw code and do m_free(buf) in the process mp_raw_code_t *raw_code = mp_raw_code_load(&reader); + // Allow script to be stopped with hub button + mp_hal_set_interrupt_char(3); + nlr_buf_t nlr; if (nlr_push(&nlr) == 0) { mp_...
horadric update (299266638)
}, "horadric":{ "formula": { - "sandbox_id": 299204033, + "sandbox_id": 299266638, "match": "horadric" }, "executable": {
Use 3.5-SNAPSHOT to get compatibility module fix
@@ -60,7 +60,7 @@ def isolateAllTests(tests: Seq[TestDefinition]) = tests map { test => new Group(test.name, Seq(test), SubProcess(options)) } toSeq -val chiselVersion = "3.5.0" +val chiselVersion = "3.5-SNAPSHOT" lazy val chiselSettings = Seq( libraryDependencies ++= Seq("edu.berkeley.cs" %% "chisel3" % chiselVersion)...