message
stringlengths
6
474
diff
stringlengths
8
5.22k
linux-firmware-rpidistro: fix wifi driver loading on cm4
@@ -63,6 +63,7 @@ do_install() { # add compat links. Fixes errors like # brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2 ln -s brcmfmac43455-sdio.txt ${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt + ln -s brcmfm...
Add spdm kernel to wgs64
@@ -18,6 +18,11 @@ int main(void) { { // nothing } + #pragma omp target teams distribute parallel for thread_limit(64) + for (int k =0; k < n; k++) + { + // nothing + } printf("Succeeded\n"); return fail;
gard: Replace is_valid_id with is_valid_record() It was annoying me.
@@ -182,9 +182,9 @@ static const char *path_type_to_str(enum path_type t) return "Unknown"; } -static bool is_valid_id(uint32_t record_id) +static bool is_valid_record(struct gard_record *g) { - return record_id != CLEARED_RECORD_ID; + return be32toh(g->record_id) != CLEARED_RECORD_ID; } static int do_iterate(struct ga...
Update: build.sh: improved build script as Seth suggested
-Str="" -for i in ./src/*.c -do - Str=$Str" ${i%.c}.c" -done +Str=`ls src/*.c | xargs` echo $Str gcc -DSDR_BLOCK_TYPE=__uint128_t -D_POSIX_C_SOURCE=199506L -pedantic -std=c99 -g3 -O3 -Wall -Werror $Str -lm -oANSNA
Added BT Configuration Management to Raise Layer Added Function Keys, and some Navigation Keys to Lower Layer.
lower_layer { bindings = < -&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &kp F1 &kp F2 &kp F3 &kp F4 &k...
fix: avoid warning warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).
@@ -1036,7 +1036,7 @@ static size_t mi_os_numa_nodex() { static size_t mi_os_numa_node_countx(void) { ULONG numa_max = 0; GetNumaHighestNodeNumber(&numa_max); - return (numa_max + 1); + return ((size_t)numa_max + 1); } #elif defined(__linux__) #include <sys/syscall.h> // getcpu
language-server: fix parser
;~(plug sym ;~(pfix gap fas (more fas urs:ab))) :: %+ rune cen - ;~(plug sym ;~(pfix cen sym)) + ;~(plug sym ;~(pfix gap ;~(pfix cen sym))) :: %+ rune buc ;~ (glue gap)
biquad help file fix
@@ -185,4 +185,5 @@ void biquad_tilde_setup(void) class_addmethod(biquad_class, (t_method) biquad_stoke, gensym("stoke"), A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0); class_addmethod(biquad_class, (t_method) biquad_smooth, gensym("smooth"), A_DEFFLOAT, 0); + class_sethelpsymbol(biquad_class, gensym("biquad~")); ...
signal: add sigisemptyset, sigandset, sigorset api refs:https://man7.org/linux/man-pages/man3/sigorset.3.html
# define SIG_HOLD ((_sa_handler_t)1) /* Used only with sigset() */ #endif +#define sigisemptyset(set) (!*(set)) +#define sigorset(dest, left, right) (!(*(dest) = *(left) | *(right))) +#define sigandset(dest, left, right) (!(*(dest) = *(left) & *(right))) + /**************************************************************...
non-recursive test version
@@ -62,6 +62,31 @@ static void init(grib_action_class *c) GRIB_MUTEX_UNLOCK(&mutex1); } +#if 0 +/* A non-recursive version */ +static void init(grib_action_class *c) +{ + if (!c) return; + + GRIB_MUTEX_INIT_ONCE(&once,&init_mutex); + GRIB_MUTEX_LOCK(&mutex1); + if(!c->inited) + { + if(c->super) { + grib_action_class *g...
hw: mcu: pic32mz2048efg100: Implement watchdog
* under the License. */ +#include <xc.h> #include "hal/hal_watchdog.h" -#include <assert.h> - int hal_watchdog_init(uint32_t expire_msecs) { - return (0); + /* + * Cannot change watchdog prescaler at runtime. + * Only check if the watchdog timer is greater than expire_msecs. + */ + uint32_t wdt_period = 1; + wdt_period...
ensure webassembly allocation sizes are page aligned
@@ -225,12 +225,12 @@ static void* mi_win_virtual_alloc(void* addr, size_t size, size_t try_alignment, #elif defined(__wasi__) static void* mi_wasm_heap_grow(size_t size, size_t try_alignment) { - uintptr_t base = __builtin_wasm_memory_size(0) * os_page_size; + uintptr_t base = __builtin_wasm_memory_size(0) * _mi_os_pa...
udp: fix buffer trace Type: fix
@@ -317,14 +317,13 @@ udp46_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node, } done: + if (PREDICT_FALSE (node->flags & VLIB_NODE_FLAG_TRACE)) + udp_trace_buffer (vm, node, b[0], s0, error0); b += 1; n_left_from -= 1; udp_inc_err_counter (err_counters, error0, 1); - - if (PREDICT_FALSE (node->flags & VLIB_NO...
fixing invalid xml introduced in recent PR
<body> <p>Reports the version number of the server as a string. A version modifier argument might be appended to the numeric portion of the - version string, example: <i>5.0.0 beta</i></p>. + version string, example: <i>5.0.0 beta</i>.</p> <table id="gp_server_version_table"> <tgroup cols="3"> <colspec colnum="1" colna...
sdl: video: Fix ShowMessageBox()
@@ -725,8 +725,8 @@ func ShowMessageBox(data *MessageBoxData) (buttonid int32, err error) { colorScheme: data.ColorScheme.cptr(), } - buttonid = C.ShowMessageBox(cdata) - return int32(buttonid), errorFromInt(int(buttonid)) + buttonid = int32(C.ShowMessageBox(cdata)) + return buttonid, errorFromInt(int(buttonid)) } // I...
Rename Bot Account Name
@@ -409,7 +409,7 @@ if ($MergeDataFiles) { # Commit the output file. git config user.email "quicdev@microsoft.com" - git config user.name "QUIC Dev Bot" + git config user.name "QUIC Dev[bot]" git add . git status git commit -m "Commit WAN Perf Results for $CurCommitHash"
ChannelPopoverRoutes: add rootUrl type
@@ -22,6 +22,7 @@ import { isChannelAdmin, isHost } from '~/logic/lib/group'; interface ChannelPopoverRoutesProps { baseUrl: string; + rootUrl: string; association: Association; group: Group; groups: Groups;
zephyr: Sort file list by config option Sort the cmake file list by the config option name. BRANCH=none TEST=build and boot on volteer Tested-by: Simon Glass
@@ -34,7 +34,15 @@ zephyr_include_directories_ifdef( add_subdirectory_ifdef(CONFIG_PLATFORM_EC "shim") -zephyr_sources_ifdef(CONFIG_PLATFORM_EC "${PLATFORM_EC}/common/base32.c") +# CONFIG_PLATFORM_EC files that don't relate to something below should be +# included here, sorted by filename. This is common functionality ...
add supported versions extension
@@ -400,15 +400,49 @@ static int ssl_client_hello_write_partial( mbedtls_ssl_context* ssl, return( 0 ); } +/* + * ssl_write_supported_versions_ext(): + * + * struct { + * ProtocolVersion versions<2..254>; + * } SupportedVersions; + */ static void ssl_write_supported_versions_ext( mbedtls_ssl_context *ssl, unsigned char...
config_tools: add sanity check for PSRAM and RDT RDT_ENABLED and PSRAM_ENABLED should not by y simultaneously.
@@ -150,6 +150,7 @@ Machine Check Error on Page Size Change.</xs:documentation> </xs:annotation> </xs:element> </xs:all> + <xs:assert test="not (RDT/RDT_ENABLED = 'y' and PSRAM/PSRAM_ENABLED = 'y')"/> </xs:complexType> <xs:complexType name="MemoryOptionsType">
Call getrandom via syscall directly on Linux. Doing this because getrandom wasn't added to glibc until 2.25.
@@ -206,7 +206,8 @@ finish_random(void) } #endif #elif defined(__linux__) -#include <sys/random.h> +#include <unistd.h> +#include <sys/syscall.h> void init_random(void) @@ -222,7 +223,8 @@ read_random(void *buf, size_t size) position = 0; while (position < size) { - n = getrandom((char *)buf + position, size - position...
Fix up comment tests to work in builds
@@ -5759,7 +5759,7 @@ START_TEST(test_utf16_be_comment) "\0<\0!\0-\0-\0 \0C\0o\0m\0m\0e\0n\0t\0 \0A\0 \0-\0-\0>\0\n" /* <doc/> */ "\0<\0d\0o\0c\0/\0>"; - const XML_Char *expected = " Comment A "; + const XML_Char *expected = XCS(" Comment A "); CharData storage; CharData_Init(&storage); @@ -5779,7 +5779,7 @@ START_TEST...
Copy knob_area to ext
@@ -403,6 +403,8 @@ static void draw_knob(lv_obj_t * rotary, const lv_area_t * clip_area) lv_coord_t center_y = rotary->coords.y1 + r + top_bg; lv_coord_t knob_inner = lv_obj_get_style_pad_inner(rotary, LV_ROTARY_PART_KNOB); + lv_rotary_ext_t * ext = lv_obj_get_ext_attr(rotary); + if(r > 0) { knob_area.x1 = center_x - ...
[mod_openssl] use newer openssl 3.0.0 func replace X509_STORE_load_locations() with X509_STORE_load_file()
@@ -779,7 +779,12 @@ mod_openssl_load_cacerts (const buffer *ssl_ca_file, log_error_st *errh) static int mod_openssl_load_cacrls (X509_STORE *store, const buffer *ssl_ca_crl_file, server *srv) { - if (1 != X509_STORE_load_locations(store, ssl_ca_crl_file->ptr, NULL)) { + #if OPENSSL_VERSION_NUMBER >= 0x30000000L + if (...
Add nrf cambus read/write byte functions.
@@ -107,6 +107,50 @@ int cambus_gencall(cambus_t *bus, uint8_t cmd) return 0; } +int cambus_readb(cambus_t *bus, uint8_t slv_addr, uint8_t reg_addr, uint8_t *reg_data) +{ + int ret = 0; + slv_addr = slv_addr >> 1; + + nrfx_twi_enable(&bus->i2c); + nrfx_twi_xfer_desc_t desc1 = NRFX_TWI_XFER_DESC_TX(slv_addr, &reg_addr, ...
improve bad count detection in huf decompress
@@ -1052,7 +1052,10 @@ hufUncompress (const char compressed[], unsigned short raw[], int nRaw) { - if (nCompressed == 0) + // + // nead at least 20 bytes for header + // + if (nCompressed < 20 ) { if (nRaw != 0) notEnoughData(); @@ -1072,7 +1075,8 @@ hufUncompress (const char compressed[], if ( ptr + (nBits+7 )/8 > com...
asurada: update USB PID PID allocated in cl/370096781 TEST=make BRANCH=asurada Tested-by: Ting Shen
#define CONFIG_USB_PD_TRY_SRC #define CONFIG_USB_PD_VBUS_DETECT_PPC #define CONFIG_USB_PD_VBUS_MEASURE_ADC_EACH_PORT -#define CONFIG_USB_PID 0x5566 /* TODO: update PID */ +#define CONFIG_USB_PID 0x5053 #define CONFIG_USB_POWER_DELIVERY #define PD_MAX_CURRENT_MA 3000
nix: remove lib/base64 from solid pill staging
@@ -28,7 +28,6 @@ done # FIXME: reduce this list cp $ARVO/app/lens.hoon ./pier/home/app/ cp $ARVO/app/dojo.hoon ./pier/home/app/ -cp $ARVO/lib/base64.hoon ./pier/home/lib/ cp $ARVO/lib/plume.hoon ./pier/home/lib/ cp $ARVO/lib/server.hoon ./pier/home/lib/ cp $ARVO/lib/sole.hoon ./pier/home/lib/
[kernel] fix issue with hasNsProblems
@@ -508,7 +508,8 @@ void TimeStepping::newtonSolve(double criterion, unsigned int maxStep) prepareNewtonIteration(); computeFreeState(); //bool hasNSProblems = (!_allNSProblems->empty() && indexSet0.size() > 0) ? true : false; - // if (hasNSProblems) + bool hasNSProblems = (!_allNSProblems->empty()) ? true : false; + i...
Remove the `OR ANDROID` condition to set `BSON_HAVE_SYSCALL_TID` to 0.
@@ -135,7 +135,7 @@ else () endif () set (BSON_EXTRA_ALIGN 1) CHECK_SYMBOL_EXISTS(SYS_gettid sys/syscall.h BSON_HAVE_SYSCALL_TID) - if (NOT BSON_HAVE_SYSCALL_TID OR APPLE OR ANDROID) + if (NOT BSON_HAVE_SYSCALL_TID OR APPLE) set (BSON_HAVE_SYSCALL_TID 0) endif () CHECK_INCLUDE_FILE(strings.h HAVE_STRINGS_H)
ExtendedTools: Add workaround for BSOD on LTSB versions of Win10
@@ -535,7 +535,7 @@ PETP_GPU_ADAPTER EtpAddDisplayAdapter( } } - if (WindowsVersion >= WINDOWS_10) + if (WindowsVersion >= WINDOWS_10_RS4) // Note: Changed to RS4 due to reports of BSODs on LTSB versions of RS3 { adapter->NodeNameList = PhCreateList(adapter->NodeCount); @@ -618,7 +618,7 @@ BOOLEAN EtpInitializeD3DStati...
vere: partially prevent forwarding loops by excluding self-galaxy lanes
@@ -868,16 +868,46 @@ _ames_forward(u3_panc* pac_u, u3_noun las) } { - u3_noun los = las; u3_noun pac = _ames_serialize_packet(pac_u, c3y); - while ( u3_nul != las ) { - _ames_ef_send(sam_u, u3k(u3h(las)), u3k(pac)); - las = u3t(las); + u3_noun tag, dat, lan, t = las; + + while ( u3_nul != t ) { + u3x_cell(t, &lan, &t)...
Clean Up Support Doc
@@ -4,14 +4,15 @@ An MsQuic release begins its life in the master branch where it receives feature ## MsQuic Releases -MsQuic releases will correspond to Windows releases. When Windows releases to GA then we will create a new MsQuic release branch from master. The release branch will likely be created at the same time ...
Lazor: Add a new SKU ID 6 for Limozeen Add a new SKU ID 6 for Limozeen. BRANCH=Trogdor TEST=Built the image.
@@ -386,14 +386,14 @@ void lid_angle_peripheral_enable(int enable) static int board_is_clamshell(void) { - /* SKU ID of Limozeen: 4, 5 */ - return sku_id == 4 || sku_id == 5; + /* SKU ID of Limozeen: 4, 5, 6 */ + return sku_id == 4 || sku_id == 5 || sku_id == 6; } enum battery_cell_type board_get_battery_cell_type(void...
mangle: add Shrink's to counterbalance all Insert's
@@ -809,7 +809,10 @@ static void mangle_Resize(run_t* run, bool printable) { void mangle_mangleContent(run_t* run, unsigned slow_factor) { static void (*const mangleFuncs[])(run_t * run, bool printable) = { - /* Every *Insert or Expand expands file, so add one Shrink for each */ + /* Every *Insert or Expand expands fil...
py/send_message: fix btc sign demo The prevout hash was wrong.
@@ -281,7 +281,9 @@ class SendMessage: bip44_account: int = 0 + HARDENED inputs: List[bitbox02.BTCInputType] = [ { - "prev_out_hash": b"11111111111111111111111111111111", + "prev_out_hash": binascii.unhexlify( + "c58b7e3f1200e0c0ec9a5e81e925baface2cc1d4715514f2d8205be2508b48ee" + ), "prev_out_index": 0, "prev_out_value...
in_thermal: validate file descriptor on initialization (CID 251488)
@@ -77,19 +77,27 @@ static inline int proc_temperature(struct flb_in_thermal_config *ctx, struct tem } #ifdef FLB_HAVE_REGEX - if (ctx->name_regex && !flb_regex_match(ctx->name_regex, (unsigned char *) e->d_name, strlen(e->d_name))) { + if (ctx->name_regex && !flb_regex_match(ctx->name_regex, + (unsigned char *) e->d_n...
Improve function call in garbage collector set debug status on python loader (still not working properly...).
@@ -43,9 +43,13 @@ typedef struct loader_impl_py_type PyObject * builtins_module; PyObject * traceback_module; PyObject * traceback_format_exception; + + #if (!defined(NDEBUG) || defined(DEBUG) || defined(_DEBUG) || defined(__DEBUG) || defined(__DEBUG__)) PyObject * gc_module; + PyObject * gc_set_debug; PyObject * gc_d...
openxr: fix xrLocateViews call; The input parameter is a count, not a size The view structs must be initialized with a type
@@ -607,8 +607,13 @@ static void getViews(XrView views[2], uint32_t* count) { .space = state.referenceSpace }; + for (uint32_t i = 0; i < 2; i++) { + views[i].type = XR_TYPE_VIEW; + views[i].next = NULL; + } + XrViewState viewState = { .type = XR_TYPE_VIEW_STATE }; - XR(xrLocateViews(state.session, &viewLocateInfo, &vi...
Fix issue Fix a crash in the python binding when trying to open a perf buffer in python < 3.6 See
@@ -445,12 +445,12 @@ class BPF(object): if map_fd < 0: raise KeyError if not keytype: - key_desc = lib.bpf_table_key_desc(self.module, name) + key_desc = lib.bpf_table_key_desc(self.module, name).decode("utf-8") if not key_desc: raise Exception("Failed to load BPF Table %s key desc" % name) keytype = BPF._decode_table...
removed old lib
@@ -96,8 +96,11 @@ IF (VISUS_INCLUDE_DIR) FIND_LIBRARY(VISUS_SSL_LIB ssl ${VISUS_DIR}/lib NO_DEFAULT_PATH) FIND_LIBRARY(VISUS_CRYPTO_LIB libcrypto ${VISUS_DIR}/lib NO_DEFAULT_PATH) +# FIND_LIBRARY(VISUS_SIMPLEIO_LIB visussimpleio ${VISUS_DIR}/lib NO_DEFAULT_PATH) + SET(VISUS_CORE_LIBRARIES ${VISUS_LIB} +# ${VISUS_SIMPL...
BugID:18028258:rebase tinyengine from 1.3.0 to latest alios things set tiny as defalut engine
@@ -6,8 +6,8 @@ $(NAME)_SUMMARY := an engine for javascript application development $(NAME)_SOURCES := tinyengine_app.c #choose JSE_TINYENGINE OR JSE_DUKTAPE here -export AOS_CONFIG_TINYENGINE_TYPE=JSE_DUKTAPE -#export AOS_CONFIG_TINYENGINE_TYPE=JSE_TINYENGINE +#export AOS_CONFIG_TINYENGINE_TYPE=JSE_DUKTAPE +export AOS...
Update the comments for commit Commit fixed an issue that global transaction still continues even after FTS changed cluster configuration during the transaction. The fix worked perfectly but the comments could use some clarification where we found confusing.
@@ -79,8 +79,14 @@ cdbgang_createGang_async(List *segments, SegmentType segmentType) newGangDefinition = buildGangDefinition(segments, segmentType); CurrentGangCreating = newGangDefinition; /* - * If we're in a global transaction, and there is some primary segment down, + * If we're in a global transaction, and there i...
Data Structures: Fix minor spelling mistakes
@@ -108,7 +108,7 @@ Instead, we try to reuse sets in the following ways: is useful in situations where many operations have to be applied in a sequence reducing the given `KeySet` until no more keys are left. - None of the reference pointers changes in this situation. + None of the reference pointers change in this sit...
Update boat_demo.c Optimize log printing
@@ -59,9 +59,7 @@ mbedtls_pem_context; #ifdef BOAT_TEST __BOATSTATIC BOAT_RESULT platone_createOnetimeWallet() { - xy_printf("Ready to run platone_createOnetimeWallet1.\n"); - xy_printf("Ready to run platone_createOnetimeWallet2.\n"); - xy_printf("Ready to run platone_createOnetimeWallet3.\n"); + xy_printf("Ready to ru...
distro-packages/python-Cython: test centos flavor macro
@@ -21,16 +21,16 @@ Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz Source1: python-Cython-rpmlintrc %if 0%{?sles_version} || 0%{?suse_version} -BuildRequires: %{python_module devel} BuildRequires: %{python_module xml} BuildRequires: fdupes Re...
oc_obt:use PSK ciphersuite for provisioning reqs
@@ -1363,6 +1363,9 @@ oc_obt_provision_role_certificate(oc_role_t *roles, oc_uuid_t *uuid, /** 1) switch dos to RFPRO */ + + oc_tls_select_psk_ciphersuite(); + p->switch_dos = switch_dos(device, OC_DOS_RFPRO, device_RFPRO, p); if (!p->switch_dos) { oc_memb_free(&oc_credprov_ctx_m, p); @@ -1410,6 +1413,9 @@ oc_obt_provi...
esp32/mpthreadport: Prevent deadlocks when deleting all threads. vTaskDelete now immediately calls vPortCleanUpTCB, which requires the thread_mutex mutex, so vTaskDelete must be called after this mutex is released.
@@ -205,17 +205,27 @@ void mp_thread_mutex_unlock(mp_thread_mutex_t *mutex) { } void mp_thread_deinit(void) { + for (;;) { + // Find a task to delete + TaskHandle_t id = NULL; mp_thread_mutex_lock(&thread_mutex, 1); for (thread_t *th = thread; th != NULL; th = th->next) { - // don't delete the current task - if (th->id...
[Meta] build_kernel.py copies os_dist/ to axle-sysroot/
@@ -93,6 +93,25 @@ def build_initrd() -> None: shutil.copy(generated_initrd.as_posix(), staged_initrd.as_posix()) +def build_dist_tree() -> None: + dist_folder = Path(__file__).parents[1] / "os_dist" + sysroot = Path(__file__).parents[1] / "axle-sysroot" + for path in dist_folder.rglob("*"): + if path.name == '.DS_Stor...
chore: change image tags in demo README to GitHub markdown
@@ -57,7 +57,7 @@ Shows how the widgets look like out of the box using the built-in material theme See in [widgets](https://github.com/lvgl/lvgl/tree/master/demos/widgets) folder. -<img src="https://github.com/lvgl/lvgl/tree/master/demos/widgets/screenshot1.png?raw=true" width=600px alt="Basic demo to show the widgets ...
Fix long delay when JPEG encoding overflows.
@@ -130,12 +130,13 @@ void HAL_JPEG_GetDataCallback(JPEG_HandleTypeDef *hjpeg, uint32_t NbDecodedData) } else if (jpeg_enc.y_offset == jpeg_enc.img_h) { // Compression is done. HAL_JPEG_ConfigInputBuffer(hjpeg, NULL, 0); + HAL_JPEG_Resume(hjpeg, JPEG_PAUSE_RESUME_INPUT); } else { // Set the next MCU. HAL_JPEG_ConfigInp...
Defend against counterfeit /usr/share/zoneinfo/UTC.
@@ -137,7 +137,8 @@ def main(): # directory. To stabilize the names of these symbols we need to fix mtime, # timezone, and cwd. os.environ['LD_PRELOAD'] = mtime0 - os.environ['TZ'] = 'UTC' + os.environ['TZ'] = 'UTC0' # POSIX fixed offset format. + os.environ['TZDIR'] = '/var/empty' # Against counterfeit /usr/share/zone...
rtt: Mark old RTT settings as deprecated New "newt" can emit a warning when deprecated settings are overridden.
@@ -52,8 +52,10 @@ syscfg.defs: # Values below are deprecated and only used for backwards compatibility. # Please use new values instead. RTT_BUFFER_SIZE_UP: - description: 'Size of the output buffer' + description: 'Use RTT_TERMINAL_BUFFER_SIZE_UP instead' + deprecated: 1 value: 1024 RTT_BUFFER_SIZE_DOWN: - descriptio...
Fix typo Oops. Made a typo in
@@ -344,7 +344,7 @@ F4 - `STM32 F411ve Discovery <https://www.st.com/en/evaluation-tools/32f411ediscovery.html>`__ - `STM32 F412zg Discovery <https://www.st.com/en/evaluation-tools/32f412gdiscovery.html>`__ - `STM32 F412zg Nucleo <https://www.st.com/en/evaluation-tools/nucleo-f412zg.html>`__ -- `STM32 F439zg Nucleo <ht...
Modify visit-notify-test-failure to convert known noreply addresses to real addresses.
@@ -96,6 +96,12 @@ if test "$lastpass" != "0" ; then git log $lastpass..HEAD | grep '^Author: ' | sed 's/>//' | cut -d'<' -f2 | sort | uniq >> modifiers fi +# +# Convert any known email addresses with noreply in them. +# +sed -i "s/mclarsen@users.noreply.github.com/larsen30@llnl.gov/" modifiers +sed -i "s/jameskress@us...
Tests: making available versions unique.
@@ -142,10 +142,9 @@ def pytest_sessionstart(session): # discover available modules from unit.log for module in re.findall(r'module: ([a-zA-Z]+) (.*) ".*"$', log, re.M): - if module[0] not in option.available['modules']: - option.available['modules'][module[0]] = [module[1]] - else: - option.available['modules'][module...
oic; if ble_att_mtu() returns 0, assume that connection is gone.
@@ -337,7 +337,11 @@ oc_send_buffer_gatt(struct os_mbuf *m) STATS_INCN(oc_ble_stats, obytes, OS_MBUF_PKTLEN(m)); mtu = ble_att_mtu(conn_handle); - assert(mtu > 4); + if (mtu < 4) { + oc_ble_coap_conn_del(conn_handle); + os_mbuf_free_chain(m); + return; + } mtu -= 3; /* # of bytes for ATT notification base */ if (oc_ble...
do not build or install debug libs for trunk because HIP does not yet support printf, also fix rsync command when using COPYSOURCE
@@ -129,6 +129,8 @@ fi # This is how we tell the hsa plugin where to find hsa export HSA_RUNTIME_PATH=$ROCM_DIR/hsa +# Trunk does not yet use standard library search for HIP device libs +# So tell HIP where to find rocm-device-libs with HIP_DEVICE_LIB_PATH if [ "$AOMP_BUILD_TRUNK" != 0 ] ; then export HIP_DEVICE_LIB_PA...
Update Ref_PMU8.txt
@@ -37,7 +37,7 @@ ARM_PMU_CNTR_Enable(PMU_CNTENSET_CCNTR_ENABLE_Msk|PMU_CNTENSET_CNT0_ENABLE_Msk|P // Stop incrementing Cycle Count Register and Event Counter Registers 0 & 1 -ARM_PMU_CNTR_Disable(PMU_CNTENCLR_CCNTR_ENABLE_Msk|PMU_CNTENSET_CNT0_ENABLE_Msk|PMU_CNTENSET_CNT1_ENABLE_Msk); +ARM_PMU_CNTR_Disable(PMU_CNTENCL...
[str-xxx] Explicitly disable warnings
#define strnicmp _strnicmp /* Secure versions of functions */ + /* Explicitly disable warnings by pragma/define, see: + * https://www.codegrepper.com/code-examples/c/crt+secure+no+warnings */ + #pragma warning(disable : 4996) + #define _CRT_SECURE_NO_WARNINGS #if 0 /* * The current issues with those 4 defines:
Returned ability to load data from YT to Pool
@@ -324,6 +324,8 @@ class Pool(_PoolBase): """ Check files existence. """ + scheme_end = data.find('://') + if scheme_end == -1: if not os.path.isfile(data): raise CatBoostError("Invalid data path='{}': file does not exist.".format(data)) if column_description is not None and not os.path.isfile(column_description):
BugID:18920199:call all the tcp-ip related function only if the compile switcher CONFIG_NO_TCPIP is off
@@ -64,10 +64,27 @@ static void app_pre_init(void) } #endif - - #ifdef AOS_COMP_CLI +static uint8_t hex(char c) +{ + if (c >= '0' && c <= '9') + return c - '0'; + if (c >= 'a' && c <= 'z') + return c - 'a' + 10; + if (c >= 'A' && c <= 'Z') + return c - 'A' + 10; + return 0; +} + +static void hexstr2bin(const char *macs...
oc_introspection: fix overrun
@@ -42,7 +42,7 @@ gen_idd_tag(const char *name, size_t device_index, char *idd_tag) snprintf(idd_tag, MAX_TAG_LENGTH, "%s_%zd", name, device_index); idd_tag_len = (idd_tag_len < MAX_TAG_LENGTH) ? idd_tag_len + 1 : MAX_TAG_LENGTH; - idd_tag[idd_tag_len] = '\0'; + idd_tag[idd_tag_len - 1] = '\0'; } void
docs: Sync up EN and CN lines of ble-mesh, wifi, and i2c
@@ -2479,7 +2479,6 @@ The parameters not mentioned in the following table should be set to the default - 31.5 - 27.7 - .. only:: esp32s3 .. list-table:: @@ -2577,14 +2576,12 @@ The parameters not mentioned in the following table should be set to the default The test was performed with a single stream in a shielded box ...
add fget() and fset() bindings for Janet
@@ -777,11 +777,25 @@ static Janet janet_keyp(int32_t argc, Janet* argv) static Janet janet_fget(int32_t argc, Janet* argv) { - return janet_wrap_nil(); + janet_fixarity(argc, 2); + + s32 index = janet_getinteger(argv, 0); + u8 flag = janet_getinteger(argv, 1); + + tic_mem* memory = (tic_mem*)getJanetMachine(); + retur...
workflows: add extra job to validate matrix. * Check that the entire unit test matrix passes correctly. This will be used to add a github branch check.
@@ -78,3 +78,13 @@ jobs: CC: gcc CXX: g++ FLB_OPT: ${{ matrix.flb_option }} + + run-all-unit-tests: + if: ${{ always() }} + runs-on: ubuntu-latest + name: Unit tests (matrix) + needs: run-unit-tests-amd64 + steps: + - name: Check build matrix status + if: ${{ needs.build.result != 'success' }} + run: exit 1 \ No newlin...
VERSION bump to version 1.4.0
@@ -30,8 +30,8 @@ endif() # minor version changes with added functionality (new tool, functionality of the tool or library, ...) and # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 1) -set(SYSREPO_MINOR_VERSION 3) -set(SYSREPO_MICRO_VERSION 70) +set(...
sockeye: don't use low memory regions when allocating vspace
@@ -96,7 +96,7 @@ add_process(S, Enum, NewS) :- state_add(S2, overlay(OUT_ID, DRAM_ID), S3), % Reserve memory for the process, the OUT/PROC0 node is the one where % initially the process (virtual) addresses are issued. - Limit = 1099511627775, % (512 << 31) - 1 + Limit = 10995116277760, % (512 << 31) - 1 state_add(S3, ...
Bump to 0.6.8
project('MangoHud', ['c', 'cpp'], - version : 'v0.6.7', + version : 'v0.6.8', license : 'MIT', meson_version: '>=0.60.0', default_options : ['buildtype=release', 'c_std=c99', 'cpp_std=c++14', 'warning_level=2']
host/l2cap: disconnect if received packet is larger than MPS Peer sending packet larger than MPS is invalid, and should be met with L2CAP channel disconnection. This affects L2CAP/LE/CFC/BV-27-C
@@ -388,6 +388,16 @@ ble_l2cap_rx(struct ble_hs_conn *conn, goto err; } + /* For CIDs from dynamic range we check if SDU size isn't larger than MPS */ + if (chan->dcid >= 0x0040 && chan->dcid <= 0x007F && l2cap_hdr.len > chan->my_coc_mps) { + /* Data exceeds MPS */ + BLE_HS_LOG(ERROR, "error: sdu_len > chan->my_coc_mps...
Fix BIO_set_indent() check This function returns an errorcode <= 0, but only < 0 is checked. Other callers that check the return value perform this check correctly. Fix it by changing the check to <= 0. CLA: trivial
@@ -50,7 +50,7 @@ static int asn1_print_info(BIO *bp, long offset, int depth, int hl, long len, pop_f_prefix = 1; } saved_indent = BIO_get_indent(bp); - if (BIO_set_prefix(bp, str) <= 0 || BIO_set_indent(bp, indent) < 0) + if (BIO_set_prefix(bp, str) <= 0 || BIO_set_indent(bp, indent) <= 0) goto err; }
prepare FBT & SAE deep packet inspection
@@ -4330,9 +4330,24 @@ reassociationresponseframecount++; return; } /*===========================================================================*/ -void process80211authentication(uint32_t caplen, uint32_t wdsoffset, uint8_t *packet) +void process80211fbtauthentication() { + +authenticationfbtframecount++; +return; +}...
Add handshake_set_state helper function
@@ -1323,4 +1323,14 @@ static inline int mbedtls_ssl_conf_is_hybrid_tls12_tls13( const mbedtls_ssl_conf } #endif /* MBEDTLS_SSL_PROTO_TLS1_2 && MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL*/ +#if defined(MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL) + +static inline void mbedtls_ssl_handshake_set_state( mbedtls_ssl_context* ssl, + i...
Fix compiler warning in config assert() on 64 bit architecture * Replace the following code that was used to force an assert: configASSERT( pxTCB->ulNotifiedValue[ uxIndexToNotify ] == ~0UL ); with: configASSERT( xTickCount == ( TickType_t ) 0 ); Because the former generates a warning on 64-bit architectures.
@@ -4887,7 +4887,7 @@ TickType_t uxTaskResetEventItemValue( void ) /* Should not get here if all enums are handled. * Artificially force an assert by testing a value the * compiler can't assume is const. */ - configASSERT( pxTCB->ulNotifiedValue[ uxIndexToNotify ] == ~0UL ); + configASSERT( xTickCount == ( TickType_t )...
Add missing state test coverage
@@ -3938,6 +3938,28 @@ void aead_multipart_state_test( int key_type_arg, data_t *key_data, psa_aead_abort( &operation ); + /* ------------------------------------------------------- */ + + operation = psa_aead_operation_init( ); + + PSA_ASSERT( psa_aead_encrypt_setup( &operation, key, alg ) ); + + TEST_EQUAL( psa_aead_...
remove win installer references
@@ -182,8 +182,9 @@ build-windows-64: popd # Build - make win_installer + make win + ls -la bin # Deploy output test -d results || mkdir results - cp bin/*installer.exe results + #cp bin/*installer.exe results
[mod_webdav] define HAVE_RENAMEAT2 earlier (including linux/fs.h later might reveal RENAME_NOREPLACE)
#include <string.h> #include <unistd.h> /* getpid() linkat() rmdir() unlinkat() */ +#ifdef RENAME_NOREPLACE /*(renameat2() not well-supported yet)*/ +#define HAVE_RENAMEAT2 +#endif + #ifdef HAVE_COPY_FILE_RANGE #ifdef __FreeBSD__ typedef off_t loff_t; @@ -2794,7 +2798,7 @@ webdav_copytmp_rename (const plugin_config * c...
automation: Added thread protection to stdio logging wrappers No issue with this so far, but just to be on the safe side.
@@ -2,6 +2,7 @@ import os import sys import logging from logging import StreamHandler +from threading import Lock import verboselogs import coloredlogs @@ -26,38 +27,49 @@ class ULog(): """Console logging handler that prints to stdout via file descriptor""" def __init__(self, stdout): StreamHandler.__init__(self) + sel...
workflows: update unit-tests timeout to 60 minutes. Set timeout-minutes: 60
@@ -25,7 +25,7 @@ on: jobs: run-ubuntu-unit-tests: runs-on: ubuntu-18.04 - timeout-minutes: 30 + timeout-minutes: 60 strategy: fail-fast: false matrix: @@ -78,7 +78,7 @@ jobs: needs: - run-ubuntu-unit-tests runs-on: macos-latest - timeout-minutes: 30 + timeout-minutes: 60 strategy: fail-fast: false matrix:
Eyre will %bake builds using ford-turbo now.
?: ?=([%complete %error *] result.sih) ~& [%fail-on-error result.sih] (fail-turbo 404 message.build-result.result.sih) - ~& %kinda-pass + ~& [%inside-turbo-ha-handler tee] =/ cay=cage (result-to-cage:ford-api build-result.result.sih) ?: ?=($red-quri p.cay) =+ url=(apex:en-purl ((hard quri) q.q.cay)) (give-thou 307 [loc...
vat2: do not require _crc field in API messages Type: improvement
@@ -133,17 +133,16 @@ vat2_register_function (char *name, cJSON (*f) (cJSON *), static int vat2_exec_command_by_name (char *msgname, cJSON *o) { + u32 crc = 0; if (filter_message (msgname)) return 0; cJSON *crc_obj = cJSON_GetObjectItem (o, "_crc"); - if (!crc_obj) + if (crc_obj) { - fprintf (stderr, "Missing '_crc' el...
linux-raspberrypi-dev: Switch to rpi-4.12.y Linux v4.12 is now released.
@@ -7,8 +7,8 @@ python __anonymous() { FILESEXTRAPATHS_prepend := "${THISDIR}/linux-raspberrypi:" -LINUX_VERSION ?= "4.11" -LINUX_RPI_DEV_BRANCH ?= "rpi-4.11.y" +LINUX_VERSION ?= "4.12" +LINUX_RPI_DEV_BRANCH ?= "rpi-4.12.y" SRCREV = "${AUTOREV}" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=${LI...
pmap: set next pointer in vnode to null when using PMAP_ARRAY
@@ -350,6 +350,7 @@ errval_t alloc_vnode(struct pmap_x86 *pmap, struct vnode *root, root->u.vnode.children = newvnode; newvnode->u.vnode.children = NULL; #elif defined(PMAP_ARRAY) + newvnode->next = NULL; newvnode->u.vnode.children = slab_alloc(&pmap->ptslab); assert(newvnode->u.vnode.children); memset(newvnode->u.vnod...
Initial 5100.22 tests (Issue
@@ -42,6 +42,12 @@ TESTFILES = \ pwg5100.15.test \ pwg5100.16.test \ pwg5100.17.test \ + pwg5100.18.test \ + pwg5100.22.test \ + pwg5100.22-base.test \ + pwg5100.22-notifications.test \ + pwg5100.22-printers.test \ + pwg5100.22-resources.test \ rfc3380.test \ rfc3995-3996.test \ rfc3998.test \
Fix the accounting for fragmented unordered messages when using interleaving. This was reported for the userland stack in
#if defined(__FreeBSD__) && !defined(__Userspace__) #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/netinet/sctp_indata.c 362173 2020-06-14 09:50:00Z tuexen $"); +__FBSDID("$FreeBSD: head/sys/netinet/sctp_indata.c 362581 2020-06-24 14:47:51Z tuexen $"); #endif #include <netinet/sctp_os.h> @@ -1141,6 +1141,16 @@ sc...
add description for audio framework doxygen the "@brief" in pcm config, pcm mask, pcm_format, pcm_param is missing and is not displayed of doxygen.
@@ -138,8 +138,9 @@ extern "C" { */ #define PCM_STATE_DISCONNECTED 0x08 -/** Audio sample format of a PCM. - * The first letter specifiers whether the sample is signed or unsigned. +/** + * @brief Audio sample format of a PCM. + * @details The first letter specifiers whether the sample is signed or unsigned. * The lett...
shelter: add the usage info of --addr Fixes:
@@ -32,18 +32,6 @@ git clone https://github.com/alibaba/inclavare-containers Please follow [enclave-tls README](https://github.com/alibaba/inclavare-containers/tree/master/enclave-tls) to build and install enclave-tls firstly. -### For EPID RA - -```shell -cd $WORKSPACE/inclavare-containers/shelter -make -``` - -### Fo...
Adjust indentation in src/backend/optimizer/README. The previous indentation of optimizer functions was unclear; adjust the indentation dashes so that a deeper level of indentation indicates that the outer optimizer function calls the inner one. Author: Richard Guo, with additional change by me Discussion:
@@ -315,7 +315,7 @@ set up for recursive handling of subqueries preprocess target list for non-SELECT queries handle UNION/INTERSECT/EXCEPT, GROUP BY, HAVING, aggregates, ORDER BY, DISTINCT, LIMIT ---query_planner() +---query_planner() make list of base relations used in query split up the qual into restrictions (a=1) ...
Fix double closed events instead of publish
@@ -253,7 +253,7 @@ request_send_err_callback(mqtt_client_p client, uint8_t status, void* arg) { client->evt.type = MQTT_EVT_SUBSCRIBE; } else if (status & MQTT_REQUEST_FLAG_UNSUBSCRIBE) { client->evt.type = MQTT_EVT_UNSUBSCRIBE; - } else if (status & MQTT_REQUEST_FLAG_SUBSCRIBE) { + } else { client->evt.type = MQTT_EV...
docs: Update the porting guide The HowToAddnewBoard.md is updated for the following: > sidle_stack > _sint_heap_start > _sext_heap_start
@@ -211,3 +211,57 @@ This is moved to .config at executing configure.sh and used to build TizenRT. This is a build options set like setting of including path, ARM build options, linker script name and so on. There is the DOWNLOAD definition to support "make download xx" command too. +### Linker Variables + +Linker scri...
Delay window display until content is ready
@@ -36,6 +36,7 @@ const createSplash = async () => { resizable: false, maximizable: false, fullscreenable: false, + show: false, webPreferences: { nodeIntegration: true, devTools: isDevMode @@ -45,6 +46,12 @@ const createSplash = async () => { splashWindow.setMenu(null); splashWindow.loadURL(`file://${__dirname}/window...
MeshShapes gets hits on all passed surfaces. Callback for each of them. Fixes crash due to MAX_CONTACTS being sent to dCollide as the number of dContacts available.
@@ -22,9 +22,10 @@ static void raycastCallback(void* data, dGeomID a, dGeomID b) { return; } - dContact contact; - if (dCollide(a, b, MAX_CONTACTS, &contact.geom, sizeof(dContact))) { - dContactGeom g = contact.geom; + dContact contact[MAX_CONTACTS]; + int count = dCollide(a, b, MAX_CONTACTS, &contact->geom, sizeof(dCo...
Add RtlReplaceSystemDirectoryInPath
@@ -3821,6 +3821,19 @@ RtlGetExePath( #endif +#if (PHNT_VERSION >= PHNT_20H1) +// rev +NTSYSAPI +ULONG +NTAPI +RtlReplaceSystemDirectoryInPath( + _Inout_ PUNICODE_STRING Destination, + _In_ ULONG Machine, // IMAGE_FILE_MACHINE_I386 + _In_ ULONG TargetMachine, // IMAGE_FILE_MACHINE_TARGET_HOST + _In_ BOOLEAN IncludePath...
Update doxygen-like comments
/** * \brief Default system port implementation * - * According to selected port, stack will automatically include apropriate file + * According to selected port, stack will automatically include appropriate file * * Parameter can be a value of \ref ESP_SYS_PORTS choices */ * will try to allocate memory on aligned boun...
VERSION bump to version 2.0.89
@@ -62,7 +62,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) # set version of the project set(LIBYANG_MAJOR_VERSION 2) set(LIBYANG_MINOR_VERSION 0) -set(LIBYANG_MICRO_VERSION 88) +set(LIBYANG_MICRO_VERSION 89) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}) ...
Documented TX Power Config in Troubleshooting
@@ -80,3 +80,13 @@ to avoid accidental bonding between the halves. After completing these steps, pair the halves of the split keyboard together by resetting them at the same time. Most commonly, this is done by grounding the reset pins for each of your keyboard's microcontrollers or pressing the reset buttons at the sa...
Fix handle snapshot crash on 21H1
@@ -5521,7 +5521,7 @@ NTSTATUS PhEnumHandlesEx2( ULONG attempts = 0; bufferSize = 0x8000; - buffer = PhAllocate(bufferSize); + buffer = PhAllocateZero(bufferSize); status = NtQueryInformationProcess( ProcessHandle, @@ -5535,7 +5535,7 @@ NTSTATUS PhEnumHandlesEx2( { PhFree(buffer); bufferSize = returnLength; - buffer = ...
OpenCoreUefiAudio: Fix another potential assertion in audio code
@@ -374,10 +374,16 @@ OcLoadUefiAudioSupport ( } } + // + // NULL DevicePath means choose the first audio device available on the platform. + // + OcAudio = OcAudioInstallProtocols (FALSE); if (OcAudio == NULL) { DEBUG ((DEBUG_INFO, "OC: Cannot locate OcAudio protocol\n")); + if (DevicePath != NULL) { FreePool (DeviceP...
replace readline with communicate
@@ -27,6 +27,7 @@ import multiprocessing from os import environ from multiprocessing.pool import ThreadPool from s2n_test_constants import * +from time import sleep PROTO_VERS_TO_S_CLIENT_ARG = { S2N_TLS10 : "-tls1", @@ -36,6 +37,15 @@ PROTO_VERS_TO_S_CLIENT_ARG = { S_CLIENT_SUCCESSFUL_OCSP="OCSP Response Status: succe...
vnet: On rx-mode set, return error for an actual error. In set_hw_interface_change_rx_mode(), when vnet_hw_if_set_rx_queue_mode() returns an error it actually returns success. This has been changed to return a clib_error_return() value. Type: fix
@@ -1534,8 +1534,13 @@ set_hw_interface_change_rx_mode (vnet_main_t * vnm, u32 hw_if_index, { int rv = vnet_hw_if_set_rx_queue_mode (vnm, queue_indices[i], mode); if (rv) + { + error = clib_error_return ( + 0, "unable to set rx-mode on interface %v queue-id %u.\n", + hw->name, queue_id); goto done; } + } done: if (queu...