message
stringlengths
6
474
diff
stringlengths
8
5.22k
Add conan configure dependency for rsa_shm_v2
@@ -177,6 +177,8 @@ class CelixConan(ConanFile): self.options.build_rsa_remote_service_admin_dfi = False self.options.build_rsa_discovery_configured = False self.options.build_rsa_discovery_etcd = False + self.options.build_rsa_remote_service_admin_shm_v2 = False + self.options.build_rsa_json_rpc = False if not self.op...
Fixed typo on Release dates
@@ -34,7 +34,7 @@ This table describes the version, release date and end of support for official ( | Release | Branch | Fork Date | Release Date | Support Type | End of Support | | -- | -- | -- | -- | -- | -- | -| [1.0](https://github.com/microsoft/msquic/releases/tag/v1.0.0-129524) | [release/1.0](https://github.com/m...
serial-libs/scotch: bump to v6.0.6
%define PNAME %(echo %{pname} | tr [a-z] [A-Z]) Name: %{pname}-%{compiler_family}%{PROJ_DELIM} -Version: 6.0.4 +Version: 6.0.6 Release: 1 Summary: Graph, mesh and hypergraph partitioning library License: CeCILL-C Group: %{PROJ_NAME}/serial-libs URL: http://www.labri.fr/perso/pelegrin/%{pname}/ -Source0: http://gforge.i...
hv: hv_main: adjust vm exit trace position When we use script to analyze the latency between vm_exit and vm_entry, it does not include the duration of vm_exit handler. The patch moves the vm_exit trace before vmexit_handler. v2: move vm_exit trace right after run_vcpu.
@@ -58,16 +58,17 @@ void vcpu_thread(struct sched_object *obj) continue; } - TRACE_2L(TRACE_VM_ENTER, 0UL, 0UL); - profiling_vmenter_handler(vcpu); + TRACE_2L(TRACE_VM_ENTER, 0UL, 0UL); ret = run_vcpu(vcpu); if (ret != 0) { pr_fatal("vcpu resume failed"); pause_vcpu(vcpu, VCPU_ZOMBIE); continue; } + basic_exit_reason =...
ccl_parameters_create update
@@ -162,24 +162,28 @@ You can initialize this structure through function **`ccl_parameters_create`** w ccl_parameters ccl_parameters_create( double Omega_c, double Omega_b, double Omega_k, double N_nu_rel, double N_nu_mass, double mnu, double w0, double wa, double h, double norm_pk, double n_s,int nz_mgrowth,double *za...
Fix uninitialized var in c0
@@ -77,7 +77,7 @@ c0kvmsm_ingest_internal( struct c0kvmsm_info info; struct c0kvmsm_info txinfo; - const char *action; + const char *action = ""; int ref; bool tx; bool nontx;
mailmap: add pkova [ci skip]
@@ -23,3 +23,4 @@ Matilde Park <matilde@park.computer> <matilde@tlon.io> pilfer-pandex <pilfer-pandex@users.noreply.github.com> <47340789+pilfer-pandex@users.noreply.github.com> Robert <robert@tlon.io> Ted Blackman <ted@tlon.io> <ted@3scan.com> +pkova <pyry.kovanen@gmail.com> <pkova@users.noreply.github.com>
add devlink check
@@ -203,6 +203,10 @@ function _add_target_sources(cmakelists, target) cmakelists:print(")") if has_cuda then cmakelists:print("set_target_properties(%s PROPERTIES CUDA_SEPARABLE_COMPILATION ON)", target:name()) + local devlink = target:values("cuda.build.devlink") + if devlink ~= nil then + cmakelists:print("set_target...
Modify FindADIOS2 to handle ADIOS2 libraries installed in lib64.
# Kathleen Biagas, Tues Oct 1 09:33:47 MST 2013 # Removed logic handling windows differently than other platforms. # +# Eric Brugger, Thu Jun 27 09:36:06 PDT 2019 +# Modified to handle the fact that ADIOS2 usually installs the libraries +# in the directory lib64 instead of lib. +# #*************************************...
Release notes for v2.4.2
* [Version 2.5.2](#version-252-june-15-2020) * [Version 2.5.1](#version-251-may-11-2020) * [Version 2.5.0](#version-250-may-6-2020) +* [Version 2.4.2](#version-242-june-15-2020) * [Version 2.4.1](#version-241-february-11-2020) * [Version 2.4.0](#version-240-september-19-2019) * [Version 2.3.0](#version-230-august-13-20...
Corrected minor bug in print message of git pre-push hooks.
@@ -10,6 +10,6 @@ if [ "${GIT_TAG_VERSION}" != "${FILE_VERSION}" ]; then git add VERSION git commit -m "Update version to v${GIT_TAG_VERSION}." git tag v${GIT_TAG_VERSION} - echo "\033[0;31mYour push has been rejected in order to update VERSION.\033[0mPush again your tag." + printf "\033[0;31mYour push has been rejecte...
Added MSG_COMMAND_OUTPUT
@@ -359,6 +359,22 @@ definitions: type: s32 desc: Exit code + - MSG_COMMAND_OUTPUT: + id: 0x00BC + short_desc: Command output + desc: | + Returns the standard output and standard error of the + command requested by MSG_COMMAND_REQ. + The sequence number can be used to filter for filtering + the correct command. + field...
Fix invalid size of SceKernelLwCondWork
@@ -1130,7 +1130,7 @@ int sceKernelTryLockLwMutex(SceKernelLwMutexWork *pWork, int lockCount); int sceKernelUnlockLwMutex(SceKernelLwMutexWork *pWork, int unlockCount); typedef struct SceKernelLwCondWork { - SceInt64 data[4]; + SceInt32 data[4]; } SceKernelLwCondWork; typedef struct SceKernelLwCondOptParam {
network: preserve addrlinfo list release address
@@ -1215,6 +1215,8 @@ flb_sockfd_t flb_net_tcp_connect(const char *host, unsigned long port, return -1; } + sorted_res = res; + if (u_conn->u->net.dns_prefer_ipv4) { sorted_res = flb_net_sort_addrinfo_list(res, AF_INET); @@ -1230,15 +1232,13 @@ flb_sockfd_t flb_net_tcp_connect(const char *host, unsigned long port, retu...
Update hard_fault_handler.c add compiler defs to remove code that is accessing registers that are not available in all STM32 series
@@ -16,10 +16,14 @@ typedef enum { UsageFault = 6, } FaultType; +#if defined(STM32F4xx) || defined(STM32F7xx) + void NMI_Handler(void) { while(1); } +#endif + // dev note: on all the following the variables need to be declared as volatile so they don't get optimized out by the linker void HardFault_Handler(void) { @@ -...
Fixed flag translation ids (en)
"FIELD_FLAG_6": "Flag 6", "FIELD_FLAG_7": "Flag 7", "FIELD_FLAG_8": "Flag 8", - "FIELD_FLAG_8": "Flag 9", - "FIELD_FLAG_8": "Flag 10", - "FIELD_FLAG_8": "Flag 11", - "FIELD_FLAG_8": "Flag 12", - "FIELD_FLAG_8": "Flag 13", - "FIELD_FLAG_8": "Flag 14", - "FIELD_FLAG_8": "Flag 15", - "FIELD_FLAG_8": "Flag 16", + "FIELD_FL...
Add compat. rule to require newt 1.1.0+. Core 1.1.0+ requires newt 1.1.0+ (feature: self-overrides). This change enforces that requirement through a compatibility rule.
@@ -40,3 +40,11 @@ repo.versions: "1.0-latest": "1.0.0" # 1.0.0 "1.1-latest": "1.1.0" # 1.1.0 "1.2-latest": "1.2.0" # 1.2.0 + +repo.newt_compatibility: + # Core 1.1.0+ requires newt 1.1.0+ (feature: self-overrides). + 1.2.0: + 1.1.0: good + 1.1.0: + 1.1.0: good +
Fix output parameter type for _BitScanReverse Fix
@@ -549,9 +549,9 @@ static BROTLI_INLINE uint32_t BrotliBsf64Msvc(uint64_t x) { #define BROTLI_BSR32(x) (31u ^ (uint32_t)__builtin_clz(x)) #elif BROTLI_MSVC_VERSION_CHECK(12, 0, 0) static BROTLI_INLINE uint32_t BrotliBsr32Msvc(uint32_t x) { - uint32_t msb; + unsigned long msb; _BitScanReverse(&msb, x); - return msb; + ...
bugID:19960261:[mqtt] prevent duplicate offline subscribe
@@ -2458,6 +2458,8 @@ static int iotx_mqtt_offline_subscribe(const char *topic_filter, void *pcontext) { int ret; + iotx_mc_offline_subs_t *node = NULL, *next_node = NULL; + POINTER_SANITY_CHECK(topic_filter, NULL_VALUE_ERROR); POINTER_SANITY_CHECK(topic_handle_func, NULL_VALUE_ERROR); @@ -2466,6 +2468,21 @@ static int...
Define alternate kernels for big-endian PPC440
@@ -15,13 +15,23 @@ ZASUMKERNEL = zasum_ppc440.S SAXPYKERNEL = axpy_ppc440.S DAXPYKERNEL = axpy_ppc440.S +ifneq ($(__BYTE_ORDER__),$(__ORDER_BIG_ENDIAN__)) +CAXPYKERNEL = ../arm/zaxpy.c +ZAXPYKERNEL = ../arm/zaxpy.c +else CAXPYKERNEL = zaxpy_ppc440.S ZAXPYKERNEL = zaxpy_ppc440.S +endif SDOTKERNEL = dot_ppc440.S DDOTKER...
__wasi_path_open placeholder
@@ -256,6 +256,21 @@ uint32_t m3_wasi_unstable_fd_seek(IM3Runtime runtime, return __WASI_ESUCCESS; } + +uint32_t m3_wasi_unstable_path_open (__wasi_fd_t dirfd, + __wasi_lookupflags_t dirflags, + const char * path, + size_t path_len, + __wasi_oflags_t oflags, + __wasi_rights_t fs_rights_base, + __wasi_rights_t fs_rights...
[swig] link swig modules to boost_serialization
@@ -107,6 +107,7 @@ macro(add_siconos_swig_sub_module fullname) if(WITH_SERIALIZATION) target_include_directories(${SWIG_MODULE_${_name}_REAL_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/io/src/serialization") + target_link_libraries(${SWIG_MODULE_${_name}_REAL_NAME} Boost::serialization) if(NOT WITH_GENERATION) target_include_d...
extension plugins DOC resolve TODOs in docs
@@ -45,8 +45,9 @@ extern "C" { */ #define LYS_COMPILE_GROUPING 0x01 /**< Compiling (validation) of a non-instantiated grouping. In this case not all the restrictions are checked since they can - be valid only in the real placement of the grouping. - TODO - what specifically is not done */ + be valid only in the real pl...
getHttpStatus; make sure length check is accurate.
@@ -168,7 +168,7 @@ getHttpStatus(char *header, size_t len) // ex: HTTP/1.1 200 OK\r\n if ((ix = strsrch(HTTP_STATUS, strlen(HTTP_STATUS), header, len, http_status)) == -1) return -1; - if ((ix < 0) || (ix > len) || ((ix + strlen(HTTP_STATUS)) > len)) return -1; + if ((ix < 0) || (ix > len) || ((ix + strlen(HTTP_STATUS...
Remove obsolete integv2 makefile target
@@ -51,8 +51,6 @@ test_sni_match: $(call run_tox,$@.py) test_well_known_endpoints: $(call run_tox,$@.py) -# TODO Remove this target from CI, then from Makefile -test_compatibility_with_oqs_openssl: ; test_fragmentation: $(call run_tox,$@.py) test_hello_retry_requests:
test_printf_vectors fails on most platforms
@@ -226,6 +226,15 @@ add_test_pocl(NAME "kernel/test_printf_vectors" EXPECTED_OUTPUT "test_printf_vectors_expout.txt" COMMAND "kernel" "test_printf_vectors") +# on most platforms, the printf tests for vector types expose bugs in the +# pocl printf implementation (passing of variadic arguments containing OpenCL +# vecto...
Don't define NULL internally
#include "contiki.h" #include "lib/list.h" -#define NULL 0 - +#include <string.h> +/*---------------------------------------------------------------------------*/ struct list { struct list *next; };
Fix lovr.filesystem.getExecutablePath on macOS;
@@ -311,6 +311,13 @@ bool fs_list(const char* path, fs_list_cb* callback, void* context) { return true; } +#ifdef __APPLE__ +#include <objc/objc-runtime.h> +#include <mach-o/dyld.h> +#elif __ANDROID__ +extern const char* lovrOculusMobileWritablePath; // TODO +#endif + static size_t copy(char* buffer, size_t size, const...
Force use of time method instead of c calls
@@ -397,7 +397,7 @@ oj_dump_time(VALUE obj, Out out, int withZone) { long long sec; long long nsec; -#ifdef HAVE_RB_TIME_TIMESPEC +#ifdef HAVE_RB_TIME_TIMESPEC_X // rb_time_timespec as well as rb_time_timeeval have a bug that causes an // exception to be raised if a time is before 1970 on 32 bit systems so // check the...
npl/riot: init event queues detached and claim later
@@ -77,7 +77,7 @@ ble_npl_get_current_task_id(void) static inline void ble_npl_eventq_init(struct ble_npl_eventq *evq) { - event_queue_init(&evq->q); + event_queue_init_detached(&evq->q); } static inline void @@ -91,6 +91,10 @@ ble_npl_eventq_get(struct ble_npl_eventq *evq, ble_npl_time_t tmo) { assert((tmo == 0) || (t...
added .git to end of hammer-cad-plugins
url = https://github.com/ucb-bar/hammer.git [submodule "vlsi/hammer-cad-plugins"] path = vlsi/hammer-cad-plugins - url = https://github.com/ucb-bar/hammer-cad-plugins + url = https://github.com/ucb-bar/hammer-cad-plugins.git
display all matches
@@ -91,6 +91,12 @@ scope events -n 1000 -e 'sourcetype!="console" && source.indexOf("cribl.log") == helpErrAndExit(cmd, "Cannot specify --all and --eval") } + // Display all matches when matching + if len(em.Sourcetypes) > 0 || len(em.Sources) > 0 || em.Match != "" { + em.AllEvents = true + } + + // Set default limit t...
Remove cron.daily directory from spec
@@ -107,7 +107,6 @@ EOF %dir %{OHPC_ADMIN} %dir %{OHPC_MODULES} %dir %{_localstatedir}/log/%{pname} -%dir %{_sysconfdir}/cron.daily %{OHPC_ADMIN}/%{pname} %{OHPC_MODULES}/%{pname} %attr(4755, root, root) %{install_path}/bin/ws_allocate
Clarify that convert_event_coordinates updates the mouse coords only.
@@ -111,7 +111,7 @@ Libtcod's event systems have been deprecated in favor of using `SDL2`_ directly while (true) { SDL_Event event; while (SDL_PollEvent(&event)) { - // context->convert_event_coordinates(event); // Optional, converts ALL pixel coordinates into tile coordinates. + // context->convert_event_coordinates(e...
INI: keep ordering meta
@@ -722,7 +722,7 @@ int elektraIniGet (Plugin * handle, KeySet * returned, Key * parentKey) pluginConfig->BOM = 0; if (pluginConfig->lastOrder && !keyGetMeta (parentKey, "internal/ini/order")) keySetMeta (parentKey, "internal/ini/order", pluginConfig->lastOrder); - else + else if(!keyGetMeta(parentKey, "internal/ini/or...
exit with non-zero status code if account not loaded; close
@@ -24,10 +24,9 @@ int main(int argc, char** argv) { } #endif - if (arguments.args[0]) { char* scope_str = listToDelimitedString(arguments.scopes, " "); - struct token_response (*getTokenResponseFnc)( - const char*, time_t, const char*, const char*, const char*) = + struct token_response (*getTokenResponseFnc)(const ch...
linux/bfd: __block no longer needed
@@ -146,7 +146,7 @@ void arch_bfdResolveSyms(pid_t pid, funcs_t* funcs, size_t num) { bfd_init(); - __block bfd_t bfdParams = { + bfd_t bfdParams = { .bfdh = NULL, .syms = NULL, .dsyms = NULL,
CGContextTest:ContextCoordinateTest should use CGBitmapContext rather than creating a WIC render target
#import <CppUtils.h> #if TARGET_OS_WIN32 -#include <COMIncludes.h> -#import <wrl/client.h> -#import <d2d1.h> -#import <wincodec.h> -#include <COMIncludes_end.h> - #import "CGContextInternal.h" #import "TestUtils.h" -using namespace Microsoft::WRL; #endif static NSString* const kPointsKey = @"PointsKey"; @@ -283,38 +276...
for parallelization, relax test
@@ -178,7 +178,7 @@ tests/test-nufft-lowmem-inverse: traj scale phantom nufft nrmse $(TOOLDIR)/phantom -t traj2.ra ksp.ra ;\ $(TOOLDIR)/nufft -m5 -r -i traj2.ra ksp.ra reco1.ra ;\ $(TOOLDIR)/nufft -m5 --lowmem -r -i traj2.ra ksp.ra reco2.ra ;\ - $(TOOLDIR)/nrmse -t 0.000001 reco1.ra reco2.ra ;\ + $(TOOLDIR)/nrmse -t 0....
util/uut: Fix resource leak Found-by: Coverity Scan Commit-Ready: Patrick Georgi Tested-by: Patrick Georgi
@@ -237,6 +237,7 @@ int com_port_open(const char *com_port_dev_name, "com_port_open() Error %d, Failed on com_config_uart() %s, " "%s\n", errno, com_port_dev_name, strerror(errno)); + close(port_handler); return INVALID_HANDLE_VALUE; }
SOVERSION bump to version 5.5.21
@@ -53,7 +53,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 5) set(SYSREPO_MINOR_SOVERSION 5) -set(SYSREPO_MICRO_SOVERSION 20) +set(SYSREPO_MICRO_S...
Fix etcd client rule. Note: mandatory check (NEED_CHECK) was skipped
@@ -7,7 +7,7 @@ ALLOW .* -> vendor/github.com/aws/aws-sdk-go ALLOW .* -> vendor/github.com/c2h5oh/datasize # etcd client -ALLOW .* -> vendor/github.com/coreos/etcd/clientv3 +ALLOW .* -> vendor/github.com/coreos/etcd # pretty printer for GO ALLOW .* -> vendor/github.com/davecgh/go-spew/spew
I removed MOAB from the trinity config site file. I couldn't get hdf5 to build in parallel.
@@ -165,13 +165,6 @@ VISIT_OPTION_DEFAULT(VISIT_MFEM_DIR ${VISITHOME}/mfem/3.3/${VISITARCH}) ## VISIT_OPTION_DEFAULT(VISIT_MILI_DIR ${VISITHOME}/mili/15.1/${VISITARCH}) -## -## MOAB -## -VISIT_OPTION_DEFAULT(VISIT_MOAB_DIR ${VISITHOME}/moab/4.9.2-RC0/${VISITARCH}) -VISIT_OPTION_DEFAULT(VISIT_MOAB_LIBDEP HDF5_LIBRARY_DI...
crypto/x509/by_store.c: Add check for OPENSSL_strdup As the potential failure of the OPENSSL_strdup(), it should be better to check the return value and return error if fails.
@@ -119,12 +119,16 @@ static int by_store_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argp, { STACK_OF(OPENSSL_STRING) *uris = X509_LOOKUP_get_method_data(ctx); + char *data = OPENSSL_strdup(argp); + if (data == NULL) { + return 0; + } if (uris == NULL) { uris = sk_OPENSSL_STRING_new_null(); X509_LOOKUP_set_method_d...
Re-implement 'openssl list -mac-algorithms'
@@ -229,21 +229,52 @@ static void list_digests(void) sk_EVP_MD_pop_free(digests, EVP_MD_meth_free); } -#if 0 /* Temporarly disabled */ -static void list_mac_fn(const EVP_MAC *m, - const char *from, const char *to, void *arg) +DEFINE_STACK_OF(EVP_MAC) +static int mac_cmp(const EVP_MAC * const *a, const EVP_MAC * const *...
system/ramspeed:Fix the error of CI compilation caused by not initializing irqstate_t flags in some cases
@@ -367,7 +367,7 @@ static void memcpy_speed_test(FAR void *dest, FAR const void *src, uint32_t cnt; uint32_t step; size_t total_size; - irqstate_t flags; + irqstate_t flags = 0; printf("______memcpy performance______\n"); @@ -431,7 +431,7 @@ static void memset_speed_test(FAR void *dest, uint8_t value, uint32_t cnt; ui...
revise some of the state handling in the previous commit.
#include <nuttx/config.h> -#include <stdbool.h> #include <stdio.h> #include <assert.h> #include <debug.h> @@ -64,12 +63,6 @@ enum telnetd_state_e TELNETD_RUNNING }; -/**************************************************************************** - * Private Data - *********************************************************...
threads: small code cleaning
@@ -1158,22 +1158,17 @@ void proc_threadWakeupYield(thread_t **queue) void proc_threadBroadcastYield(thread_t **queue) { - int yield = 0; - hal_spinlockSet(&threads_common.spinlock); if (*queue != (void *)-1 && *queue != NULL) { - yield = 1; while (*queue != NULL) _proc_threadWakeup(queue); + + hal_cpuReschedule(&threa...
check null pointer in broken tiled file handling
@@ -817,10 +817,13 @@ TiledInputFile::TiledInputFile (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int if (!_data->memoryMapped) { for (size_t i = 0; i < _data->tileBuffers.size(); i++) + { + if( _data->tileBuffers[i]) { delete [] _data->tileBuffers[i]->buffer; } } + } if (streamDataCreated) delete _data->_streamData; ...
Pluginprocess: Fix format specifier
@@ -107,9 +107,9 @@ static char * longToStr (long i) { long size; char * str; - size = snprintf (NULL, 0, "%zd", i); + size = snprintf (NULL, 0, "%ld", i); str = elektraMalloc (size + 1); - size = snprintf (str, size + 1, "%zd", i); + size = snprintf (str, size + 1, "%ld", i); return str; }
omnibox: sorting -> apps, commands, groups, subs Fixes
@@ -192,7 +192,7 @@ export class Omnibox extends Component { {categoryResult} </Box>; - ['commands', 'subscriptions', 'groups', 'apps'].map((category, i) => { + ['apps', 'commands', 'groups', 'subscriptions'].map((category, i) => { const categoryResults = state.results.get(category); if (categoryResults.length > 0) { c...
fix AbstractType get/set error message
@@ -218,7 +218,7 @@ Janet janet_get(Janet ds, Janet key) { if (type->get) { value = (type->get)(janet_unwrap_abstract(ds), key); } else { - janet_panicf("no getter for %T ", JANET_TFLAG_LENGTHABLE, ds); + janet_panicf("no getter for %v ", ds); value = janet_wrap_nil(); } break; @@ -276,7 +276,7 @@ Janet janet_getindex(...
spawn: Fix process userdata creation interfering with argument order Same issue as
@@ -253,6 +253,10 @@ static int luv_spawn(lua_State* L) { lua_pop(L, 1); #endif + // this will fill the 3rd argument with nil if it doesn't exist so that + // the uv_process_t userdata doesn't get treated as the 3rd argument + lua_settop(L, 3); + handle = (uv_process_t*)luv_newuserdata(L, sizeof(*handle)); handle->type...
[smoke] - Adjust warp and master thread id in aomp_mappings_newrt. With recent changes to the openmp opt pass we no longer promote kernels to spmd that do not have parallel regions.
@@ -86,7 +86,7 @@ int main() active_mask[i] = 0; for (i=0; i<NN; i++) thread_num[i]=team_num[i]=default_dev[i]=warp_id[i]=lane_id[i]=master_thread_id[i]=smid[i]=is_spmd_mode[i]=num_threads[i]=num_teams[i] = -1; -#if 0 +#if 1 fprintf(stderr,"#pragma omp target teams distribute parallel for thread_limit(4)\n"); #pragma o...
add the ci and formatt
@@ -49,6 +49,7 @@ jobs: - {RTT_BSP: "tm4c123bsp", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "tm4c129x", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "lpc43xx/M4", RTT_TOOL_CHAIN: "sourcery-arm"} + - {RTT_BSP: "lpc55sxx", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "lpc176x", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP:...
fix(meter) make lv_meter_indicator_type_t of type uint8_t
@@ -51,12 +51,13 @@ typedef struct { int16_t rotation; } lv_meter_scale_t; -typedef enum { +enum { LV_METER_INDICATOR_TYPE_NEEDLE_IMG, LV_METER_INDICATOR_TYPE_NEEDLE_LINE, LV_METER_INDICATOR_TYPE_SCALE_LINES, LV_METER_INDICATOR_TYPE_ARC, -} lv_meter_indicator_type_t; +}; +typedef uint8_t lv_meter_indicator_type_t; type...
enclave-tls: mute the unnnecessary errors due to the lack of sgx capability
@@ -54,7 +54,7 @@ enclave_tls_err_t etls_enclave_verifier_load_single(const char *fname) } if (i == registerd_enclave_verifier_nums) { - ETLS_ERR("the enclave verifier '%s' failed to be registered\n", name); + ETLS_DEBUG("the enclave verifier '%s' failed to be registered\n", name); return -ENCLAVE_TLS_ERR_NOT_REGISTERE...
fix: Fix errors in determining hexadecimal representation
@@ -636,16 +636,16 @@ BBOOL UtilityStringIsHex(const BCHAR *input) return BOAT_FALSE; } - if ((input[1] != 'x') || (input[1] != 'X')) + if ((input[1] != 'x') && (input[1] != 'X')) { return BOAT_FALSE; } - for (int i = 0; i < BOAT_STRING_MAX_LEN; i++) + for (i = 2; i < BOAT_STRING_MAX_LEN; i++) { - if (input[i] == 0) + ...
tests CHANGE add some testing values for lysp_check_date()
@@ -64,6 +64,10 @@ test_date(void **state) assert_string_equal(logbuf, "Invalid value \"2018-11-41\" of \"date\"."); assert_int_equal(LY_EINVAL, lysp_check_date(NULL, "2018-02-29", 10, "date")); assert_string_equal(logbuf, "Invalid value \"2018-02-29\" of \"date\"."); + assert_int_equal(LY_EINVAL, lysp_check_date(NULL,...
minor fix to maintain animation during fading.
@@ -505,7 +505,8 @@ void PAL_fade(u16 fromCol, u16 toCol, const u16* palSrc, const u16* palDst, u16 else { // process fading immediatly - while (PAL_doFadeStep()); + while (PAL_doFadeStep()) + SYS_doVBlankProcess(); } }
docs: remove backticks WM8960 soundcard support contains markdown that's not needed.
@@ -398,20 +398,16 @@ Ref.: Support for WM8960 based sound cards such as the WM8960 Hi-Fi Sound Card HAT for Raspberry Pi from Waveshare, and ReSpeaker 2 / 4 / 6 Mics Pi HAT from Seeed Studio, can be enabled in `local.conf` - ```conf MACHINE_FEATURES += "wm8960" - ``` You may need to adjust volume and toggle switches t...
features: extend 'feature node not found' warning message
@@ -202,7 +202,8 @@ vnet_feature_arc_init (vlib_main_t * vm, */ if (p == 0) { - clib_warning ("feature node '%s' not found", a_name); + clib_warning ("feature node '%s' not found (before '%s', arc '%s')", + a_name, b_name, first_reg->arc_name); continue; } a_index = p[0]; @@ -210,7 +211,8 @@ vnet_feature_arc_init (vlib...
mimxrt: Remove __WFE() from MICROPY_EVENT_POLL_HOOK. The device is unreliable with the WFE included. This needs further investigation.
@@ -125,7 +125,6 @@ extern const struct _mp_obj_module_t mp_module_utime; do { \ extern void mp_handle_pending(bool); \ mp_handle_pending(true); \ - __WFE(); \ } while (0); #define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p) | 1))
cups-browsed: Fix Unk{,n}own typo in cups-browsed debug output
@@ -2569,7 +2569,7 @@ record_printer_options(const char *printer) { p = printer_record(printer); if (p == NULL) { - debug_printf("Not recording printer options for %s: Unkown printer!\n", + debug_printf("Not recording printer options for %s: Unknown printer!\n", printer); return 0; }
ames: don't relay acks for naxplanations of %corks This avoids closing a subscription prematurely, before the server ames has had time to process the innitial %cork.
=/ target-bone=^bone (mix 0b10 bone) :: (run-message-sink target-bone %drop message-num) + ?: &(closing ?=(%near -.task)) + :: if the bone belongs to a closing flow and we got a naxplanation, + :: don't relay the ack to the client vane, and wait for the next try + :: + peer-core :: not a nack-trace bone; relay ack to c...
Fix README links for sourcehut.
[![Join the chat](https://badges.gitter.im/janet-language/community.svg)](https://gitter.im/janet-language/community) &nbsp; -[![builds.sr.ht status](https://builds.sr.ht/~bakpakin/janet/commits/master/freebsd.yml.svg)](https://builds.sr.ht/~bakpakin/janet/commits/freebsd.yml?) -[![builds.sr.ht status](https://builds.s...
driver/serial: Convert CR to LF in driver Enable the behavior by default for console, but configurable by termios. Binary size: Before: text data bss dec hex filename 326460 409 8164 335033 51cb9 nuttx/nuttx After: text data bss dec hex filename 326478 409 8164 335051 5...
@@ -790,6 +790,11 @@ static ssize_t uart_read(FAR struct file *filep, * IUCLC - Not Posix * IXON/OXOFF - no xon/xoff flow control. */ +#else + if (dev->isconsole && ch == '\r') + { + ch = '\n'; + } #endif /* Store the received character */ @@ -1423,7 +1428,6 @@ static int uart_ioctl(FAR struct file *filep, int cmd, uns...
Tighten spacing around %exp messages
@@ -87,10 +87,10 @@ export class Message extends Component { renderExp(expression, result) { return (<> <p> - <pre className="clamp-attachment pa1 mt0 bg-light-gray"> + <pre className="clamp-attachment pa1 mt0 mb0 bg-light-gray"> {expression} </pre> - <pre className="clamp-attachment pa1 mb0"> + <pre className="clamp-a...
parser xml BUGFIX extensions do not have to parse any data Fixes
@@ -446,6 +446,11 @@ lydxml_nested_ext(struct lyd_xml_ctx *lydctx, struct lyd_node *parent) nested_exts = parent->schema->exts; } LY_ARRAY_FOR(nested_exts, u) { + if (!nested_exts[u].def->plugin->parse) { + /* not an extension with parsed data */ + continue; + } + /* prepare the input and try to parse this extension da...
add mac macro for NULL. fixes build on mac
+#ifdef __APPLE__ +// http://clc-wiki.net/wiki/C_standard_library:string.h:NULL +// Portable C90 version: NULL ((void*)0) +# ifndef NULL +# define NULL 0 +# endif +#else # include <libio.h> // For NULL +#endif #include "dyn_types.h" #include "dyn_dict_msg_id.h"
admin/test-suite: bump to v2.0.0
Summary: Integration test suite for OpenHPC Name: test-suite%{PROJ_DELIM} -Version: 1.3.9 +Version: 2.0.0 Release: 1 License: Apache-2.0 Group: %{PROJ_NAME}/admin
remove RWLock examples Mutex mention
@@ -1264,7 +1264,7 @@ typedef struct SceKernelRWLockInfo { * @par Example: * @code * int rwlock_id; - * rwlock_id = sceKernelCreateRWLock("MyMutex", 0, NULL); + * rwlock_id = sceKernelCreateRWLock("MyRWLock", 0, NULL); * @endcode * * @param name - Specifies the name of the rwlock
update debian changelog for 0.2.0 release
+box64 (0.2.0) unstable; urgency=low + + * Wrapped more vulkan function, dxvk 2.0 now works + * Added support for overriden malloc/free functions + * Refactor Dynarec memory management, reducing memory footprint (from 20% to 40% of Dynarec size) + * Improved elf loader + * Improved dlsym handling with RTLD_NEXT + * Add...
c++core: Update hello sample to match hello_fpga
#include <opae/cxx/core/handle.h> #include <opae/cxx/core/properties.h> #include <opae/cxx/core/token.h> +#include <opae/cxx/core/version.h> using namespace opae::fpga::types; @@ -42,9 +43,9 @@ static const uint64_t CL = 64; static const uint64_t KB = 1024; static const uint64_t MB = KB * 1024; static const uint64_t LO...
0 index damage recursive mode options.
@@ -1225,10 +1225,10 @@ typedef enum typedef enum { - DAMAGE_RECURSIVE_NONE = (1 << 0), - DAMAGE_RECURSIVE_HP = (1 << 1), - DAMAGE_RECURSIVE_MP = (1 << 2), - DAMAGE_RECURSIVE_NON_LETHAL = (1 << 3) + DAMAGE_RECURSIVE_NONE = 0, + DAMAGE_RECURSIVE_HP = (1 << 0), + DAMAGE_RECURSIVE_MP = (1 << 1), + DAMAGE_RECURSIVE_NON_LET...
New ycmerge tool.
}, "ycmerge": { "formula": { - "sandbox_id": 645865104, + "sandbox_id": 656863542, "match": "ycmerge" }, "executable": {
psbt skeleton
:: ++ psbt |% + ++ en + |% + ++ globals + |= =rawtx + ^- map:^psbt + *map:^psbt + ++ inputs + |= (list in:^psbt) + ^- map:^psbt + *map:^psbt + ++ outputs + |= (list out:^psbt) + ^- map:^psbt + *map:^psbt + -- + :: +encode: make base64 cord of PSBT + :: + ++ encode + |= [=rawtx =txid inputs=(list in:^psbt) outputs=(list...
[numerics] Uncomment run all tests for gfc3d
@@ -98,8 +98,8 @@ int main (int argc, char *argv[]) // collection[10].will_fail = 1; #endif - //int out = run_test_collection(collection, number_of_tests, globalFrictionContact_test_function); - int out = 0; + int out = run_test_collection(collection, number_of_tests, globalFrictionContact_test_function); + //int out =...
Remove externeous typedarray defines in janet.h
@@ -172,11 +172,6 @@ extern "C" { #define JANET_PEG #endif -/* Enable or disable the typedarray module */ -#ifndef JANET_NO_TYPED_ARRAY -#define JANET_TYPED_ARRAY -#endif - /* Enable or disable event loop */ #if !defined(JANET_NO_EV) && !defined(__EMSCRIPTEN__) #define JANET_EV
sys/shell: assert when reaching max number of modules
@@ -882,7 +882,8 @@ int shell_register(const char *module_name, const struct shell_cmd *commands) { if (num_of_shell_entities >= MYNEWT_VAL(SHELL_MAX_MODULES)) { - return -1; + console_printf("Max number of modules reached\n"); + assert(0); } shell_modules[num_of_shell_entities].name = module_name;
CI Linux changed to 18.04
@@ -157,7 +157,7 @@ jobs: # === Ubuntu PRO === linux-pro: - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 @@ -195,7 +195,7 @@ jobs: # === Ubuntu === linux: - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2
cbi-util: Remove OEM_ID from required fields BRANCH=none TEST=successfully create a cbi image w/o OEM_ID set Tested-by: Philip Chen
#define ARGS_MASK_BOARD_VERSION BIT(0) #define ARGS_MASK_FILENAME BIT(1) -#define ARGS_MASK_OEM_ID BIT(2) -#define ARGS_MASK_SIZE BIT(3) -#define ARGS_MASK_SKU_ID BIT(4) +#define ARGS_MASK_SIZE BIT(2) +#define ARGS_MASK_SKU_ID BIT(3) /* TODO: Set it by macro */ const char cmd_name[] = "cbi-util"; @@ -80,7 +79,6 @@ cons...
[hardware] Use single address map and default for DMA
@@ -455,7 +455,7 @@ module mempool_group // ------------------------------------------------------ // xbar - localparam int unsigned NumRules = 2; + localparam int unsigned NumRules = 1; typedef struct packed { int unsigned idx; logic [AddrWidth-1:0] start_addr; @@ -466,11 +466,6 @@ module mempool_group '{ // TCDM star...
[rtdbg] Update dbg log header format.
* In your C/C++ file, enable/disable DEBUG_ENABLE macro, and then include this * header file. * - * #define DBG_SECTION_NAME "[ MOD]" + * #define DBG_SECTION_NAME "MOD" * #define DBG_ENABLE // enable debug macro * #define DBG_LEVEL DBG_INFO * #include <rtdbg.h> // must after of DEBUG_ENABLE or some other options */ #if...
Fix typo in Per gripe from Daniel Gustafsson
@@ -91,7 +91,7 @@ ssl/client.crt: ssl/client.key ssl/client_ca.crt openssl x509 -in ssl/temp.crt -out ssl/client.crt # to keep just the PEM cert rm ssl/client.csr ssl/temp.crt -# Client certificate with multi-parth DN, signed by the client CA: +# Client certificate with multi-part DN, signed by the client CA: ssl/clien...
Fix error in tools documentation
@@ -28,7 +28,7 @@ echo "-# It's possible to produce a grib edition 2 file from a grib edition 1 ju At this stage of development all the geography parameters, level and time information is correctly translated, for the product definition extra set calls must be done. To do this properly, \ref grib_filter is suggested. \...
build: explicitly set C99 mode
@@ -54,6 +54,7 @@ foreach(variant native emul) add_test(NAME "/${variant}${tst}" COMMAND $<TARGET_FILE:test-${variant}> "/${variant}${tst}") endforeach() target_add_extra_warning_flags(test-${variant}) + set_property (TARGET test-${variant} PROPERTY C_STANDARD "99") endforeach() target_compile_definitions(test-native P...
system/libuv: minor style fixes in Makefile
@@ -25,7 +25,7 @@ LIBUV_PATCHS ?= $(sort $(wildcard 000*.patch)) LIBUV_VERSION = 1.42.0 LIBUV_UNPACK = libuv LIBUV_TARBALL = v$(LIBUV_VERSION).zip -LIBUV_URL_BASE = https://github.com/libuv/libuv/archive/refs/tags/ +LIBUV_URL_BASE = https://github.com/libuv/libuv/archive/refs/tags LIBUV_URL = $(LIBUV_URL_BASE)/$(LIBUV_...
Do not flush spdlog on shutdown in the error reporter process
@@ -87,8 +87,12 @@ static void Initialize() static void Shutdown() { + bool inGameProcess = false; + if (s_modInstanceMutex) { + inGameProcess = CET::Get().GetOptions().ExeValid; + MH_DisableHook(MH_ALL_HOOKS); MH_Uninitialize(); @@ -97,10 +101,13 @@ static void Shutdown() ReleaseMutex(s_modInstanceMutex); } + if (inGa...
include/printf.h: Format with clang-format BRANCH=none TEST=none
@@ -99,9 +99,8 @@ __stdlib_compat int vfnprintf(int (*addchar)(void *context, int c), * @param format Format string * @return EC_SUCCESS, or EC_ERROR_OVERFLOW if the output was truncated. */ -__attribute__((__format__(__printf__, 3, 4))) -__stdlib_compat int crec_snprintf(char *str, size_t size, const char *format, - ....
asurada: set uart_rx gpio to hi-z remove pull-down to save power TEST=flash ec over ccd BRANCH=none Tested-by: Ting Shen
@@ -37,7 +37,7 @@ GPIO_INT(PMIC_EC_PWRGD, PIN(F, 3), /* Other interrupts */ GPIO_INT(AC_PRESENT, PIN(M, 2), GPIO_INT_BOTH | GPIO_HIB_WAKE_HIGH, extpower_interrupt) /* ACOK_OD */ -GPIO_INT(UART1_RX, PIN(B, 0), GPIO_INT_FALLING | GPIO_PULL_DOWN, +GPIO_INT(UART1_RX, PIN(B, 0), GPIO_INT_FALLING, uart_deepsleep_interrupt) /...
spelling mistake in comment
@@ -471,7 +471,7 @@ const linkcmd = {b, n, mt, bin, libs, dynlibs, istest ;; /* OSX warns if we don't add a version */ - /* OSX now hates this, and the breaks everything */ + /* OSX now hates this, and then breaks everything */ /* if std.eq(opt_sys, "osx") std.slpush(&n.cmd, std.sldup("-macosx_version_min"))
N250SP: Removing unused port
@@ -116,11 +116,6 @@ ENTITY psl_fpga IS pci0_o_txp_out7 : out std_logic; pci0_o_txn_out7 : out std_logic; - --#define crc_error_inout - - PCIE_PERST_LS : in std_logic; --- EMCCLK : in std_logic; - -- Flash Interface o_flash_oen : out std_logic; o_flash_wen : out std_logic; @@ -355,10 +350,6 @@ Component psl_bsp pci0_o_...
adding parentheses to macro definitions, to avoid confusion and possible mistakes in usage.
@@ -487,7 +487,7 @@ int mbedtls_pk_write_key_der( mbedtls_pk_context *key, unsigned char *buf, size_ * publicExponent INTEGER -- e 1 + 3 + MPI_MAX + 1 * } */ -#define RSA_PUB_DER_MAX_BYTES 38 + 2 * MBEDTLS_MPI_MAX_SIZE +#define RSA_PUB_DER_MAX_BYTES ( 38 + 2 * MBEDTLS_MPI_MAX_SIZE ) /* * RSA private keys: @@ -506,8 +50...
Fix WalletConnector asserts
@@ -298,10 +298,10 @@ wkWalletConnectorCreateTransactionFromSerialization ( WKWalletConnectorStatus *status ) { assert (NULL != connector && - NULL == data && - NULL == serializationLength && - NULL == isSigned && - NULL == status ); + NULL != data && + NULL != serializationLength && + NULL != isSigned && + NULL != sta...
added return code to trigger proper display status
@@ -443,6 +443,7 @@ Load( ReturnCodes[Index] = PromptYesNo(&Confirmation); if (EFI_ERROR(ReturnCodes[Index]) || !Confirmation) { NvmCodes[Index] = NVM_ERR_FIRMWARE_TOO_LOW_FORCE_REQUIRED; + ReturnCodes[Index] = EFI_ABORTED; SetObjStatusForDimmInfoWithErase(pCommandStatus, &pDimmTargets[Index], NvmCodes[Index], TRUE); c...
Move print executing command after setup logging
@@ -34,17 +34,17 @@ except ImportError, e: sys.stderr.write('Cannot import module, please check that you have source greenplum_path.sh\n') sys.exit(2) +# setup logging +logger = get_default_logger() +EXECNAME = os.path.split(__file__)[-1] +setup_tool_logging(EXECNAME, getLocalHostname(), getUserName()) + # print execut...
update var refs for review
@@ -1665,13 +1665,13 @@ static void endClassCompiler(Compiler *compiler, ClassCompiler *classCompiler) { if (compiler->classAnnotations != NULL) { int classAnnotationsConstant = makeConstant(compiler, OBJ_VAL(compiler->classAnnotations)); - emitBytes(compiler, OP_DEFINE_CLASS_ANNOTATIONS, importConstant); + emitBytes(c...
fix: running ttfw tests locally hang forever while detecting ports
@@ -369,9 +369,27 @@ class IDFDUT(DUT.SerialDUT): with open(output_file, 'wb') as f: f.write(content) + @staticmethod + def _sort_usb_ports(ports): + """ + Move the usb ports to the very beginning + :param ports: list of ports + :return: list of ports with usb ports at beginning + """ + usb_ports = [] + rest_ports = []...
Disable ARM builds
language: c -sudo: true +sudo: false matrix: include: @@ -36,16 +36,18 @@ matrix: - cmake - cmake-data env: CC="gcc-6" CXX="g++-6" - - env: ARCH=arm - addons: - apt: - sources: - - george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3 - packages: - - gcc-arm-linux-gnueabihf - - libc6-dev-armhf-cross - - cmake...