message
stringlengths
6
474
diff
stringlengths
8
5.22k
Launch kb driver and tty during bootstrap
#include <kernel/interrupts/interrupts.h> //kernel drivers +#include <kernel/drivers/kb/kb.h> #include <kernel/drivers/pit/pit.h> #include <kernel/drivers/serial/serial.h> #include <kernel/drivers/text_mode/text_mode.h> @@ -77,7 +78,44 @@ static void awm_init() { char* argv[] = {program_name, ptr, NULL}; elf_load_file(...
[flang-339906] Fix Makefile to skip Makefile.defs because test needsaux object generated BEFORE main is compiled
@@ -9,4 +9,21 @@ FLANG = flang OMP_BIN = $(AOMP)/bin/$(FLANG) CC = $(OMP_BIN) $(VERBOSE) -include ../Makefile.rules +# Skip Makefile.defs, because test needs aux object generated before main binary +TESTSRC_AUX_OBJ = matrix.o +all: $(TESTNAME) + +$(TESTSRC_AUX_OBJ) : $(TESTSRC_AUX) + $(SETENV) $(CC) -c $(CFLAGS) $(EXTR...
Fix theme header subclass callback
@@ -1865,7 +1865,7 @@ LRESULT CALLBACK PhpThemeWindowHeaderSubclassProc( break; case WM_CONTEXTMENU: { - LRESULT result = DefSubclassProc(WindowHandle, uMsg, wParam, lParam); + LRESULT result = CallWindowProc(oldWndProc, WindowHandle, uMsg, wParam, lParam); InvalidateRect(WindowHandle, NULL, TRUE);
rename global sockets
// Next time to do DHT maintenance static time_t g_dht_maintenance = 0; -static int s4 = -1; -static int s6 = -1; +static int g_dht_socket4 = -1; +static int g_dht_socket6 = -1; void dht_lock_init( void ) { #ifdef PTHREAD @@ -284,15 +284,15 @@ void kad_setup( void ) { //gconf->dht_addr if( gconf->af == AF_INET ) { - s4...
Removes and modifies tests Removes and modifies tests for mbedtls_rsa_rsaes_oaep_encrypt.
@@ -129,31 +129,25 @@ void rsa_invalid_param( ) TEST_INVALID_PARAM_RET( MBEDTLS_ERR_RSA_BAD_INPUT_DATA, mbedtls_rsa_rsaes_oaep_encrypt( NULL, NULL, NULL, - valid_mode, - buf, sizeof( buf ), - sizeof( buf ), buf, - buf ) ); - TEST_INVALID_PARAM_RET( MBEDTLS_ERR_RSA_BAD_INPUT_DATA, - mbedtls_rsa_rsaes_oaep_encrypt( &ctx,...
newline if puts with no params
@@ -385,9 +385,13 @@ static void c_p(mrb_vm *vm, mrb_value v[], int argc) static void c_puts(mrb_vm *vm, mrb_value v[], int argc) { int i; + if( argc ){ for( i = 1; i <= argc; i++ ) { if( mrbc_puts_sub( &v[i] ) == 0 ) console_putchar('\n'); } + } else { + console_putchar('\n'); + } }
reorganised selection of flags for compilers in configure.ac
@@ -66,23 +66,29 @@ AC_SUBST(LIBCURRENT) AC_SUBST(LIBREVISION) AC_SUBST(LIBAGE) +AC_LANG([C]) AC_PROG_CC_C99 -AC_PROG_CXX - AS_IF([test "$GCC" = yes], [AX_APPEND_COMPILE_FLAGS([-Wall], [CFLAGS]) - dnl Be careful about adding the -fexceptions option; some versions of dnl GCC don't support it and it causes extra warnings...
slight cleanup of
@@ -785,7 +785,9 @@ static mi_page_t* mi_huge_page_alloc(mi_heap_t* heap, size_t size) { } -static mi_page_t *_mi_find_page(mi_heap_t* heap, size_t size) mi_attr_noexcept { +// Allocate a page +// Note: in debug mode the size includes MI_PADDING_SIZE and might have overflowed. +static mi_page_t* mi_find_page(mi_heap_t*...
replace libretro-common 42
@@ -196,15 +196,6 @@ else ifeq ($(platform), rpi3) PLATFORM_DEFINES += -marm -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -ffast-math PLATFORM_DEFINES += -DARM -# Lightweight PS3 Homebrew SDK -else ifeq ($(platform), psl1ght) - TARGET := $(TARGET_NAME)_libretro_$(platform).a - CC = $(PS3DEV)/ppu/bin/ppu-gcc$(E...
Fix the error handling in ERR_get_state: Ignoring the return code of ossl_init_thread_start created a memory leak.
@@ -642,7 +642,7 @@ const char *ERR_reason_error_string(unsigned long e) void err_delete_thread_state(void) { - ERR_STATE *state = ERR_get_state(); + ERR_STATE *state = CRYPTO_THREAD_get_local(&err_thread_local); if (state == NULL) return; @@ -682,14 +682,14 @@ ERR_STATE *ERR_get_state(void) if (state == NULL) return N...
Always Validate Retry Token Updates the server side retry token logic to always validate the token if present. This is required because the client validates the server eventually sends the correct transport parameter in return; and we only do that if we validate the token.
@@ -895,16 +895,6 @@ QuicBindingQueueStatelessReset( QUIC_DBG_ASSERT(!Binding->Exclusive); QUIC_DBG_ASSERT(!((QUIC_SHORT_HEADER_V1*)Datagram->Buffer)->IsLongHeader); - // - // We don't respond to long header packets because the peer generally - // doesn't even have the stateless reset token yet. We don't respond to - /...
Fix IAS processing for multi resource sensors Pick only the sensor which has a IAS cluster in the finger print.
@@ -108,6 +108,11 @@ void DeRestPluginPrivate::handleIasZoneClusterIndication(const deCONZ::ApsDataIn continue; } + if (!s.fingerPrint().hasInCluster(IAS_ZONE_CLUSTER_ID) && !s.fingerPrint().hasInCluster(IAS_WD_CLUSTER_ID)) + { + continue; + } + if (s.type() != QLatin1String("ZHAAlarm") && s.type() != QLatin1String("ZH...
Fix compilation errors when LCACHE is disabled. JerryScript-DCO-1.0-Signed-off-by: Slavey Karadzhov
@@ -127,6 +127,8 @@ ecma_lcache_insert (ecma_object_t *object_p, /**< object */ entry_p->prop_p = prop_p; ecma_set_property_lcached (entry_p->prop_p, true); +#else /* CONFIG_ECMA_LCACHE_DISABLE */ + JERRY_UNUSED (name_cp); #endif /* !CONFIG_ECMA_LCACHE_DISABLE */ } /* ecma_lcache_insert */ @@ -266,6 +268,8 @@ ecma_lcac...
libbpf-tools: update filetop for libbpf 1.0 Switch to libbpf 1.0 mode and adapt libbpf API usage accordingly.
@@ -256,11 +256,7 @@ int main(int argc, char **argv) if (err) return err; - err = bump_memlock_rlimit(); - if (err) { - warn("failed to increase rlimit: %d\n", err); - return 1; - } + libbpf_set_strict_mode(LIBBPF_STRICT_ALL); obj = filetop_bpf__open(); if (!obj) {
nat44: make nat44-ed-hairpin-src follow arc It defaults to using interface-output as the next node. If other output features are enabled on the ip4-output arc, they get skipped. That makes me sad.
@@ -826,7 +826,7 @@ snat_hairpin_src_fn_inline (vlib_main_t * vm, b0 = vlib_get_buffer (vm, bi0); sw_if_index0 = vnet_buffer (b0)->sw_if_index[VLIB_RX]; - next0 = SNAT_HAIRPIN_SRC_NEXT_INTERFACE_OUTPUT; + vnet_feature_next (&next0, b0); /* *INDENT-OFF* */ pool_foreach (i, sm->output_feature_interfaces,
added another TODO for optimization potential
@@ -87,6 +87,7 @@ int init_buffer_and_device(Sound_samples *sound_samples, } /* Allocating active audio buffer location*/ + //TODO: Allocate one huge active audio buffer with length of the maximum of all audio buffer, instead of one active buffer for each audio sound_samples->active_audio_buf_array = PUSH_LT(sound_samp...
Fix Linux OneBranch Builds
@@ -459,6 +459,7 @@ if ($IsLinux) { sudo apt-get install -y cmake sudo apt-get install -y build-essential sudo apt-get install -y liblttng-ust-dev + sudo apt-get install -y libssl-dev # only used for the codecheck CI run: sudo apt-get install -y cppcheck clang-tidy # used for packaging
update readme_en fix issue
-# BoAT-X Framework for China Mobile YanFei-CUIot-MZ-6 Integration Guideline +# BoAT-X Framework for China Unicom YanFei-CUIot-MZ-6 Integration Guideline ## About This Guideline
STM32 blinky tutorial update Because support of STM32 is located in mynewt-core, no external repos are necessary.
@@ -49,45 +49,6 @@ re-use that project. **Note:** Don't forget to change into the ``myproj`` directory. -Import External STM32F3 Library support -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The STM32F303 support for Mynewt lives in an external repository. It's -necessary to add another repository to the project. To do t...
defining lv_group_remove_all_objs `lv_group_remove_all_objs` is a function for removing all objects from a group and making it free of objects.
@@ -193,6 +193,28 @@ void lv_group_remove_obj(lv_obj_t * obj) } } +/** + * remove all objects from a group + * @param group pointer to a group + */ +void lv_group_remove_all_objs(lv_group_t * group) +{ + /*Defocus the the currently focused object*/ + if(group->obj_focus != NULL) { + (*group->obj_focus)->signal_cb(*grou...
test-suite: bump singularity centos altarch repo to v7.5.1804
@@ -32,7 +32,7 @@ if [ "x$DISTRO_FAMILY" == "xCentOS" -o "x$DISTRO_FAMILY" == "xRHEL" ];then local version="$(rpm -q --queryformat='%{VERSION}\n' singularity-ohpc)" export DISTRO=centos export BOOTSTRAP_DEF=/opt/ohpc/pub/doc/contrib/singularity-ohpc-$version/examples/${DISTRO}/Singularity - export ALTARCH_MIRROR=http:/...
Use mbedtls_mpi_core_sub_int() in mbedtls_mpi_sub_abs()
@@ -968,17 +968,15 @@ int mbedtls_mpi_sub_abs( mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi carry = mbedtls_mpi_core_sub( X->p, A->p, B->p, n ); if( carry != 0 ) { - /* Propagate the carry to the first nonzero limb of X. */ - for( ; n < X->n && X->p[n] == 0; n++ ) - --X->p[n]; - /* If we ran out of space for...
add 0.75 alpha to spinner
+from ImageProcess import imageproc from ImageProcess.PrepareFrames.YImage import YImage spinnercircle = "spinner-circle" @@ -15,5 +16,5 @@ def prepare_spinner(scale): n = [spinnercircle, spinnerbackground, spinnerbottom, spinnerspin, spinnermetre, spinnerapproachcircle, spinnertop] for img in n: - spinner_images[img] ...
nvhw/xf: Fix alpha passthru with light material diffuse.
@@ -912,7 +912,6 @@ struct pgraph_celsius_lt_in { uint32_t ed[3]; uint32_t col0[3]; uint32_t col1[3]; - uint32_t alpha; }; struct pgraph_celsius_lt_res { @@ -1005,11 +1004,7 @@ void pgraph_celsius_lt_full(struct pgraph_celsius_lt_res *res, struct pgraph_cel } pgraph_celsius_lt_vmov(res->col1, ltctx[0x2c]); - if (!lm_d)...
readme: Add missing `public` in example.
@@ -13,7 +13,7 @@ Lily is a programming language focused on expressiveness and type safety. ``` scoped enum Color { Black, Blue, Cyan, Green, Magenta, Red, White, Yellow } -class Terminal(var @foreground: Color, width_str: String) +class Terminal(public var @foreground: Color, width_str: String) { public var @width = w...
Device: forward events via signal to enqueueEvent()
@@ -702,6 +702,8 @@ Device::Device(DeviceKey key, QObject *parent) : Resource(RDevices), m_deviceKey(key) { + Q_ASSERT(parent); + connect(this, SIGNAL(eventNotify(Event)), parent, SLOT(enqueueEvent(Event))); addItem(DataTypeBool, RStateReachable); addItem(DataTypeUInt64, RAttrExtAddress); addItem(DataTypeUInt16, RAttrN...
CRYPTO_gcm128_decrypt: fix mac or tag calculation The incorrect code is in #ifdef branch that is normally not compiled in.
@@ -1359,8 +1359,8 @@ int CRYPTO_gcm128_decrypt(GCM128_CONTEXT *ctx, else ctx->Yi.d[3] = ctr; for (i = 0; i < 16 / sizeof(size_t); ++i) { - size_t c = in[i]; - out[i] = c ^ ctx->EKi.t[i]; + size_t c = in_t[i]; + out_t[i] = c ^ ctx->EKi.t[i]; ctx->Xi.t[i] ^= c; } GCM_MUL(ctx);
ACRN:DM: Add pointer check before use the erst The event ring segment table pointer may be NULL when get the address from guest, add pointer check before use it. Acked-by: Wang, Yu1
@@ -1817,6 +1817,11 @@ pci_xhci_insert_event(struct pci_xhci_vdev *xdev, int erdp_idx; rts = &xdev->rtsregs; + if (&rts->erstba_p == NULL) { + UPRINTF(LFTL, "Invalid Event Ring Segment Table base address!\r\n"); + return -EINVAL; + } + erdp = rts->intrreg.erdp & ~0xF; erst = &rts->erstba_p[rts->er_enq_seg]; erdp_idx = ...
Update find_mkl.lua
@@ -39,13 +39,12 @@ function main(opt) -- init search paths local paths = { - "$(env ONEAPI_ROOT)\\mkl\\latest", - "$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{09085019-08A5-40A0-B0E8-570C171997A0};InstallLocation)\\mkl\\latest" + "$(env ONEAPI_ROOT)\\mkl\\latest" } -- find libra...
vell: Update fan table version 7 BRANCH=none TEST=Thermal team verified thermal policy is expected. Tested-by: Devin Lu
@@ -37,27 +37,27 @@ struct fan_step { static const struct fan_step fan_table[] = { { /* level 0 */ - .on = { 48, 62, 48, 50, -1 }, + .on = { 47, 62, 48, 50, -1 }, .off = { 99, 99, 99, 99, -1 }, .rpm = { 0 }, }, { /* level 1 */ - .on = { 50, 62, 50, 52, -1 }, - .off = { 47, 99, 47, 49, -1 }, - .rpm = { 3200 }, + .on = {...
fixed sprite corruption, second attempt :)
@@ -231,7 +231,6 @@ static void processSelectCanvasMouse(Sprite* sprite, s32 x, s32 y) { tic_rect rect = {x, y, CANVAS_SIZE, CANVAS_SIZE}; const s32 Size = CANVAS_SIZE / sprite->size; - bool endDrag = false; if(checkMousePos(&rect)) { @@ -266,16 +265,13 @@ static void processSelectCanvasMouse(Sprite* sprite, s32 x, s32...
travis: use clang 10 instead of clang 9
@@ -31,19 +31,19 @@ jobs: - gcc-9 - g++-9 - - name: "clang-9" - compiler: clang-9 + - name: "clang-10" + compiler: clang-10 env: - - C_COMPILER=clang-9 - - CXX_COMPILER=clang++-9 + - C_COMPILER=clang-10 + - CXX_COMPILER=clang++-10 - COMPILER_FLAGS='-fsanitize=address,undefined' addons: apt: sources: - - sourceline: 'de...
put C linkage macros correctly around everything in libpluto.h
@@ -236,9 +236,6 @@ __isl_give isl_union_map *pluto_schedule(isl_union_set *domains, PlutoOptions *options); int pluto_schedule_osl(osl_scop_p scop, PlutoOptions *options_l); -#if defined(__cplusplus) -} -#endif /* * Structure to hold Remapping information @@ -277,4 +274,8 @@ Free the string stored in schedules_str_buf...
Fix rsync include list removed from test.pl in This caused the include list to be ignored and all files to be rsync'd, which worked but took a much longer.
@@ -580,7 +580,8 @@ eval # Copy the repo executeTest( - "git -C ${strBackRestBase} ls-files -c --others --exclude-standard | rsync -rtW --delete --exclude=test/result" . + "git -C ${strBackRestBase} ls-files -c --others --exclude-standard |" . + " rsync -rtW --delete --files-from=- --exclude=test/result" . # This optio...
build: stop trying to build py2 versions of vpp_papi Python2 was EOL's in Jan 2020. RHEL6 was EOL'd in Nov 2020. Type: fix
%endif %define _vpp_install_dir install-%{_vpp_tag}-native -# Failsafe backport of Python2-macros for RHEL <= 6 -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from di...
Fix (i)vec3 std140;
@@ -1322,7 +1322,7 @@ Shader* lovrShaderCreate(const char* vertexSource, const char* fragmentSource) { } else if (uniform.type == UNIFORM_MATRIX) { uniform.size = values[matrixStride] * uniform.components; } else { - uniform.size = uniform.components > 1 ? 16 : 4; + uniform.size = 4 * (uniform.components == 3 ? 4 : uni...
test core callbacks
@@ -60,16 +60,16 @@ static void test_cluster(void) { } int main(void) { - // facil_core_callback_add(FIO_CALL_BEFORE_FORK, perform_callback, - // "Before fork"); - // facil_core_callback_add(FIO_CALL_AFTER_FORK, perform_callback, "After - // fork"); facil_core_callback_add(FIO_CALL_IN_CHILD, perform_callback, - // "Jus...
WIP add cache test for non-backend keys
#include <stdlib.h> #include <string.h> +#include <kdb.h> #include <kdbconfig.h> #include <tests_plugin.h> @@ -35,6 +36,32 @@ static void test_basics (void) PLUGIN_CLOSE (); } +static void test_cacheNonBackendKeys (void) +{ + KeySet * conf = ksNew (0, KS_END); + + Key * key = keyNew ("user/tests/cache", KEY_END); + KDB...
Renamed struct field
@@ -618,7 +618,7 @@ LIBXSMM_EXTERN_C typedef struct LIBXSMM_RETARGETABLE libxsmm_meltw_cvtfp32bf16_p LIBXSMM_EXTERN_C typedef struct LIBXSMM_RETARGETABLE libxsmm_meltw_cvtfp32bf16_act_param { const void* in_ptr; /* input pointer */ void* out_ptr; /* output pointer */ - void* relumask_ptr; /* output pointer for relu mas...
Add redis-cli hints to ACL DRYRUN, COMMAND GETKEYS, COMMAND GETKEYSANDFLAGS Better redis-cli hints for commands that take other commands as arguments. ``` command getkeysandflags hello [protover [AUTH username password]] acl dryrun user hello [protover [AUTH username password]] ```
@@ -943,7 +943,7 @@ static void completionCallback(const char *buf, linenoiseCompletions *lc) { static char *hintsCallback(const char *buf, int *color, int *bold) { if (!pref.hints) return NULL; - int i, rawargc, argc, buflen = strlen(buf), matchlen = 0; + int i, rawargc, argc, buflen = strlen(buf), matchlen = 0, shift...
static_http: Typo in short_help. Type: fix.
@@ -1303,7 +1303,7 @@ http_static_server_create_command_fn (vlib_main_t * vm, VLIB_CLI_COMMAND (http_static_server_create_command, static) = { .path = "http static server", - .short_help = "http static server www-root <path> [prealloc-fios <nn>]\n" + .short_help = "http static server www-root <path> [prealloc-fifos <nn...
MPLS: tunnel delete crash
@@ -245,6 +245,12 @@ mpls_tunnel_stack (adj_index_t ai) if (NULL == mt) return; + if (FIB_NODE_INDEX_INVALID == mt->mt_path_list) + { + adj_nbr_midchain_unstack(ai); + return; + } + /* * while we're stacking the adj, remove the tunnel from the child list * of the path list. this breaks a circular dependency of walk upd...
media: Fix errata in SpeechDetector::init These errata make SpeechDetector not be init
@@ -70,7 +70,7 @@ bool SpeechDetectorImpl::initKeywordDetect(uint32_t samprate, uint8_t channels) mKeywordDetector = std::make_shared<HardwareKeywordDetector>(card, device); result = change_stream_in_device(card, device); - if (result == AUDIO_MANAGER_SUCCESS && result != AUDIO_MANAGER_DEVICE_ALREADY_IN_USE) { + if (re...
Moving second command to its own line
@@ -539,7 +539,9 @@ Hostssl testdb all 192.168.0.0/16 cert map=gpuser <li>The program generates a key that is passphrase-protected; it does not accept a passphrase that is less than four characters long. To remove the passphrase (and you must if you want automatic start-up of the server), run the following - command:<c...
modhubs/EV3Brick: Add Port Enum In the 2.0 API, ports are accessed through the hub, not the parameters module.
#include <pbio/port.h> #include <pbio/button.h> +#include "modparameters.h" + #include "pberror.h" #include "pbobj.h" @@ -32,6 +34,7 @@ EV3Brick class tables */ STATIC const mp_rom_map_elem_t hubs_EV3Brick_locals_dict_table[] = { { MP_ROM_QSTR(MP_QSTR_buttons), MP_ROM_PTR(&pb_module_buttons) }, + { MP_ROM_QSTR(MP_QSTR_...
Use ctx2 instead ctx. CLA: trivial
@@ -1958,7 +1958,7 @@ int s_server_main(int argc, char *argv[]) BIO_printf(bio_s_out, "Setting secondary ctx parameters\n"); if (sdebug) - ssl_ctx_security_debug(ctx, sdebug); + ssl_ctx_security_debug(ctx2, sdebug); if (session_id_prefix) { if (strlen(session_id_prefix) >= 32)
net_help: Rename EVP_MAC_set_ctx_params to EVP_MAC_CTX_set_params This fixes build with OpenSSL 3.0.0 Alpha 5. EVP_MAC_set_ctx_params got renamed back to EVP_MAC_CTX_set_params in
@@ -1478,7 +1478,7 @@ int tls_session_ticket_key_cb(SSL *ATTR_UNUSED(sslctx), unsigned char* key_name, params[1] = OSSL_PARAM_construct_utf8_string(OSSL_MAC_PARAM_DIGEST, "sha256", 0); params[2] = OSSL_PARAM_construct_end(); - EVP_MAC_set_ctx_params(hmac_ctx, params); + EVP_MAC_CTX_set_params(hmac_ctx, params); #elif !...
engine: dispath: use proper task api name
@@ -84,7 +84,7 @@ int flb_engine_dispatch_retry(struct flb_task_retry *retry, return -1; } - flb_task_add_thread(co, task); + flb_task_add_coro(task, co); flb_coro_resume(co); return 0;
dev-tools/numpy: bump to v19.0
@@ -22,7 +22,7 @@ Requires: openblas-%{compiler_family}%{PROJ_DELIM} %define pname numpy Name: %{python_prefix}-%{pname}-%{compiler_family}%{PROJ_DELIM} -Version: 1.17.4 +Version: 1.19.0 Release: 1%{?dist} Url: https://github.com/numpy/numpy Summary: NumPy array processing for numbers, strings, records and objects
doc: remove required
@@ -718,18 +718,6 @@ status = implemented usedby/pluign = spec description = Requires the key to be present. See also spec plugin README. -[required] -type = range -usedby/plugin = required -status = unclear -description = See required plugin. - -[mandatory] -type = boolean -usedby/plugin = required -status = unclear -...
fix: _json_composite_get() didn't actually search for key in a branch
@@ -948,31 +948,20 @@ json_get_root(json_item_t *item) return item; } -static json_item_t* -_json_composite_get(const char *key, json_item_t *item) -{ - if (!IS_COMPOSITE(item)) return NULL; - - json_item_t *iter = item; - do { - iter = json_iter_next(iter); - if (STREQ(iter->key, key)) return iter; - } while (iter); -...
docs: fix error message
@@ -204,7 +204,7 @@ void run(client *client, const uint64_t guild_id, params *params, channel::dati return; } if (!orka_str_below_threshold(params->topic, 1024)) { - D_PUTS("Missing channel name (params.name)"); + D_PUTS("'params.topic' exceeds threshold of 1024"); return; } #if 0
More specific "Symbol name too long" error messages Identifiers, {interpolations} and \<macroArgs> are distinct
@@ -753,7 +753,7 @@ static uint32_t readBracketedMacroArgNum(void) } if (i == sizeof(symName)) { - warning(WARNING_LONG_STR, "Symbol name too long\n"); + warning(WARNING_LONG_STR, "Bracketed symbol name too long\n"); i--; } symName[i] = '\0'; @@ -1396,7 +1396,7 @@ static char const *readInterpolation(unsigned int depth...
Substitute old DOC++ references with Doxygen
@@ -122,11 +122,11 @@ Dependency | Description ------------|------------------------------------------------------------- libpthread | The header and library are installed as part of the glibc-devel package (or equivalent). -Additionally, the documentation for the SDK can be auto-generated from the upnp.h header file u...
Don't do the final key_share checks if we are in an HRR
@@ -1058,6 +1058,10 @@ static int final_key_share(SSL *s, unsigned int context, int sent, int *al) if (!SSL_IS_TLS13(s)) return 1; + /* Nothing to do for key_share in an HRR */ + if ((context & SSL_EXT_TLS1_3_HELLO_RETRY_REQUEST) != 0) + return 1; + /* * If * we are a client
Automatically apply mbedtls patches. Automatically updates mbedtls and patches it on Linux if necessary. Tested-by: IoTivity Jenkins Tested-by: Kishen Maloor
@@ -27,6 +27,7 @@ DTLS= aes.c aesni.c arc4.c asn1parse.c asn1write.c base64.c \ DTLSFLAGS=-I../../deps/mbedtls/include -D__OC_RANDOM CBOR=../../deps/tinycbor/src/cborencoder.c ../../deps/tinycbor/src/cborencoder_close_container_checked.c ../../deps/tinycbor/src/cborparser.c# ../../deps/tinycbor/src/cbortojson.c ../../d...
size change warn only if not LFS
@@ -214,15 +214,17 @@ def copy_currents_from_html_pages(prefix, filelist, datetag, prompt, test_type): urllib.urlretrieve("%s/%s/pascal_trunk_%s/c_%s"%(prefix,datetag,mode,f), filename=target_file) # Do some simple sanity checks on the resulting file + isLFS = False if test_type == 'png' and imghdr.what(target_file) !=...
comment to explain it.
@@ -1158,6 +1158,10 @@ processInitRequest(struct module_qstate* qstate, struct iter_qstate* iq, verbose(VERB_QUERY, "request has exceeded the maximum number" " of query restarts with %d", iq->query_restart_count); if(iq->response) { + /* return the partial CNAME loop, i.e. with the + * actual packet in iq->response cle...
[tools]: add menconfig silent mode
@@ -954,20 +954,31 @@ static void conf_save(void) static int handle_exit(void) { - int res; + int res = 0; save_and_exit = 1; reset_subtitle(); dialog_clear(); if (conf_get_changed()) + { + if (silent) + { + /* save change */ + res = 0; + } + else + { res = dialog_yesno(NULL, _("Do you wish to save your new configurati...
website: small dev restructure so that IDEAS is in getting started
"ref": "devgettingstarted", "dev-comment": "Here we have some important documentation files for users that want start to develop with Elektra.", "children": [ + { + "name": "Ideas", + "type": "staticfile", + "options": { + "path": "doc/IDEAS.md" + } + }, + { + "name": "Contributing", + "type": "staticfile", + "options"...
Fix module list image coherency view
@@ -1066,10 +1066,13 @@ BOOLEAN NTAPI PhpModuleTreeNewCallback( break; } + if (!PhShouldShowModuleCoherency(moduleItem, FALSE)) + { if (moduleItem->ImageCoherencyStatus != STATUS_SUCCESS) { PhMoveReference(&node->ImageCoherencyText, PhGetStatusMessage(moduleItem->ImageCoherencyStatus, 0)); getCellText->Text = PhGetStri...
\OHPC -> \OHPC{} for latex macro
\subsection{Integration Test Suite} \label{appendix:test_suite} -This appendix details the installation and use of the \OHPC validation test -suite. Each \OHPC component is equipped with a set of scripts and applications +This appendix details the installation and use of the \OHPC{} validation test +suite. Each \OHPC{}...
Don't delete the doc/html directories when cleaning The doc/html sub-dirs get created by Configure. Therefore they should not be cleaned away by "nmake clean". Otherwise the following sequence fails: perl Configure VC-WIN64A nmake clean nmake nmake install Fixes
@@ -462,10 +462,10 @@ libclean: -del /Q /F $(LIBS) libcrypto.* libssl.* ossl_static.pdb clean: libclean - -rd /Q /S $(HTMLDOCS1_BLDDIRS) - -rd /Q /S $(HTMLDOCS3_BLDDIRS) - -rd /Q /S $(HTMLDOCS5_BLDDIRS) - -rd /Q /S $(HTMLDOCS7_BLDDIRS) + {- join("\n\t", map { "-del /Q /F $_" } @HTMLDOCS1) || "\@rem" -} + {- join("\n\t"...
[tools] update eclipse project after dist.
@@ -176,7 +176,8 @@ def bs_update_ide_project(bsp_root, rtt_root, rttide = None): 'iar':('iar', 'iar'), 'vs':('msvc', 'cl'), 'vs2012':('msvc', 'cl'), - 'cdk':('gcc', 'gcc')} + 'cdk':('gcc', 'gcc'), + 'eclipse':('eclipse', 'gcc')} else: item = 'eclipse --project-name=' + rttide['project_name'] tgt_dict = {item:('gcc', '...
pill: include %prep task in desk install props Primes the blob store, making initial sync faster.
%- ~(gas by *(map path (each page lobe:clay))) (turn hav |=([=path =page] [path &+page])) [/c/sync [%park des &+yuki *rang:clay]] - =| hav=(list [path page]) + (file-pages bas sal) +:: +++ file-pages + |= [bas=path sal=(list spur)] + =| hav=(list [path page:clay]) |- ^+ hav ?~ sal ~ =. hav $(sal t.sal) ?~ all hav $(all...
`is_plat` to `target:is_plat`
@@ -489,7 +489,7 @@ function get_builtinmodulemapflag(target) if builtinmodulemapflag == nil then local compinst = target:compiler("cxx") if compinst:has_flags("-fbuiltin-module-map", "cxxflags", {flagskey = "clang_builtin_module_map"}) then - if is_plat("windows", "mingw") then + if target:is_plat("windows", "mingw") ...
Check if there are constants at all
@@ -225,7 +225,9 @@ d_m3OpDef (Entry) while (numLocals--) // it seems locals need to init to zero (at least for optimized Wasm code) TODO: see if this is still true. * (stack++) = 0; + if (function->constants) { memcpy (stack, function->constants, function->numConstants * sizeof (u64)); + } m3ret_t r = nextOp ();
cache: don't use initialParent
@@ -1246,7 +1246,7 @@ int kdbGet (KDB * handle, KeySet * ks, Key * parentKey) keySetName (parentKey, keyName (initialParent)); cache = ksNew (0, KS_END); - cacheParent = keyDup (mountGetMountpoint (handle, keyName (initialParent)), KEY_CP_ALL); + cacheParent = keyDup (mountGetMountpoint (handle, keyName (parentKey)), K...
core/test/run-msg: Add callback function test Test callback function Add test case to test OPAL_PARTIAL return value Add test for OPAL_PARAMETER return value
@@ -63,7 +63,7 @@ void opal_update_pending_evt(uint64_t evt_mask, uint64_t evt_values) static long magic = 8097883813087437089UL; static void callback(void *data, int status) { - assert(status == OPAL_SUCCESS); + assert((status == OPAL_SUCCESS || status == OPAL_PARTIAL)); assert(*(uint64_t *)data == magic); } @@ -140,6...
py/modarray: Rename module to "uarray". For consistency with other modules of native Pycopy API (ustruct, etc.).
#if MICROPY_PY_ARRAY STATIC const mp_rom_map_elem_t mp_module_array_globals_table[] = { - { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_array) }, + { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_uarray) }, { MP_ROM_QSTR(MP_QSTR_array), MP_ROM_PTR(&mp_type_array) }, }; @@ -40,6 +40,6 @@ const mp_obj_module_...
Fixing make clean
@@ -128,7 +128,7 @@ clean: @find . -depth -name '.#*' -exec rm -rf '{}' \; -print clean_config: clean - @$(RM) $(snap_env) @$(RM) $(snap_config) @$(RM) $(snap_config_sh) @$(RM) $(snap_config_cflags) + @$(RM) $(snap_env_sh)
dpdk: fix mac address length was wrong Type: fix
@@ -81,7 +81,7 @@ dpdk_set_mac_address (vnet_hw_interface_t * hi, else { vec_reset_length (xd->default_mac_address); - vec_add (xd->default_mac_address, address, sizeof (address)); + vec_add (xd->default_mac_address, address, sizeof (mac_address_t)); return NULL; } }
Store sensor database after config.on = null fix
@@ -800,6 +800,7 @@ void Sensor::jsonToConfig(const QString &json) if (rid.suffix == RConfigOn) { map[key] = true; // default value + setNeedSaveDatabase(true); } else {
Set no fusion test name
--- -name: "CITests" +name: "CITestsNoFusion" on: push: @@ -11,7 +11,7 @@ on: jobs: citests: - name: CI-Tests + name: CI-Tests-No-Fusion runs-on: ubuntu-latest steps:
power/mt817x.c: Format with clang-format BRANCH=none TEST=none
@@ -387,8 +387,7 @@ static void mtk_lid_event(void) /* Override the panel backlight enable signal from SoC, * force the backlight off on lid close. */ - bl_override = lid_is_open() ? - MTK_BACKLIGHT_CONTROL_BY_SOC : + bl_override = lid_is_open() ? MTK_BACKLIGHT_CONTROL_BY_SOC : MTK_BACKLIGHT_FORCE_OFF; mtk_backlight_ov...
Fixed env variable for windows
-websocketd --passenv HOME --port 8080 survive-cli --record-stdout --record-cal-imu --no-record-imu $args +websocketd --passenv LOCALAPPDATA --port 8080 survive-cli --record-stdout --record-cal-imu --no-record-imu $args
Remove simcycles parameter, which is no longer supported [ci skip]
@@ -32,7 +32,6 @@ def run_cosimulation_test(source_file, *unused): verilator_args = [ test_harness.VSIM_PATH, '+trace', - '+simcycles=2000000', '+memdumpfile=' + VERILATOR_MEM_DUMP, '+memdumpbase=800000', '+memdumplen=400000',
Modify the color conversion Round number instead truncate at RGB24_TO_VDPCOLOR
* \param color * RGB 24 bits color */ -#define RGB24_TO_VDPCOLOR(color) (((color >> ((2 * 8) + 4)) & VDPPALETTE_REDMASK) | ((color >> ((1 * 4) + 4)) & VDPPALETTE_GREENMASK) | ((color << 4) & VDPPALETTE_BLUEMASK)) +#define RGB24_TO_VDPCOLOR(color) ((((color + 0x100000) >> ((2 * 8) + 4)) & VDPPALETTE_REDMASK) | (((color ...
http_test.c: Fix minor Coverity issue CID
@@ -142,7 +142,8 @@ static int test_http_url_ok(const char *url, int exp_ssl, const char *exp_host, int exp_num, num, ssl; int res; - TEST_int_eq(sscanf(exp_port, "%d", &exp_num), 1); + if (!TEST_int_eq(sscanf(exp_port, "%d", &exp_num), 1)) + return 0; res = TEST_true(OSSL_HTTP_parse_url(url, &ssl, &user, &host, &port,...
Handle NumPad events when NumLock is disabled PR <https://github.com/Genymobile/scrcpy/pull/1188> Fixes <https://github.com/Genymobile/scrcpy/issues/1048>
@@ -94,6 +94,23 @@ convert_keycode(SDL_Keycode from, enum android_keycode *to, uint16_t mod, MAP(SDLK_UP, AKEYCODE_DPAD_UP); } + if (!(mod & (KMOD_NUM | KMOD_SHIFT))) { + // Handle Numpad events when Num Lock is disabled + // If SHIFT is pressed, a text event will be sent instead + switch(from) { + MAP(SDLK_KP_0, AKEYC...
netbench: nits
@@ -8,6 +8,9 @@ extern "C" { #include <sys/mman.h> } +#include "util.h" +#include "synthetic_worker.h" + #include <algorithm> #include <cmath> #include <cstdlib> @@ -16,8 +19,6 @@ extern "C" { #include <random> #include <tuple> -#include "synthetic_worker.h" - namespace { void *memcpy_ermsb(void *dst, const void *src, ...
Fix a signed/unsiged warning. This shows up in the userland stack on some platforms. Thanks to Felix Weinrank for reporting this as
#ifdef __FreeBSD__ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.c 326829 2017-12-13 17:11:57Z tuexen $"); +__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.c 332269 2018-04-08 11:37:00Z tuexen $"); #endif #include <netinet/sctp_os.h> @@ -2753,7 +2753,7 @@ sctp_handle_cookie_echo(struct mbuf *m...
stream reuse, move log_assert to the correct location.
@@ -1044,8 +1044,8 @@ decommission_pending_tcp(struct outside_network* outnet, if(outnet->tcp_free != pend) { pend->next_free = outnet->tcp_free; outnet->tcp_free = pend; - } log_assert(outnet->tcp_free->next_free != outnet->tcp_free); + } if(pend->reuse.node.key) { /* needs unlink from the reuse tree to get deleted */...
parallel-libs/boost: bump to v1.77.0
%define pname boost Summary: Boost free peer-reviewed portable C++ source libraries Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} -Version: 1.75.0 +Version: 1.77.0 -%define version_exp 1_75_0 +%define version_exp 1_77_0 Release: 1%{?dist} License: BSL-1.0
notifications: fix post url
@@ -193,8 +193,7 @@ function getNodeUrl( } return graphUrl; } else if( mod === 'post') { - const [last, ...rest] = idx.reverse(); - return `/~landscape${groupPath}/feed/${rest.join('/')}?post=${last}`; + return `/~landscape${groupPath}/feed${index}`; } return ''; }
[simulator] improve Kconfig structure add Onboard Peripheral Drivers menu
@@ -24,13 +24,15 @@ config SOC_SIMULATOR select RT_USING_USER_MAIN default y +menu "Onboard Peripheral Drivers" + config RT_USING_DFS_WINSHAREDIR - bool "Enable shared file system between windows" + bool "Enable shared file system between Windows" select RT_USING_POSIX_FS default n -config BSP_USING_SAL_WINSOCK - bool ...
Fix no-early-skip without breaking early-skip
@@ -1713,9 +1713,9 @@ static void search_pu_inter(encoder_state_t * const state, lcu->rec.y + y_local * LCU_WIDTH + x_local, LCU_WIDTH, lcu->ref.y + y_local * LCU_WIDTH + x_local, LCU_WIDTH); bits += no_skip_flag; + merge->cost[merge->size] += bits * info->state->lambda_sqrt; } // Add cost of coding the merge index - m...
Adding `extern "C"` to edc.h for inclusion into C++ programs
#ifndef LIBSBP_EDC_H #define LIBSBP_EDC_H +#ifdef __cplusplus +extern "C" { +#endif + #include "common.h" u16 crc16_ccitt(const u8 *buf, u32 len, u16 crc); +#ifdef __cplusplus +} +#endif + #endif /* LIBSBP_EDC_H */
vere: fix typo in secp reco jet ecdsa-raw-recover had an erroneous jet. This commit fixes the critical error so that the jet returns the right result according to the secp secp256k1 spec, although it still does not match the hoon. The hoon is subtly wrong, and will be addressed in a future commit.
@@ -207,7 +207,7 @@ u3qe_reco(u3_atom has, ret = secp256k1_ecdsa_recover(ctx_u, /* IN: context */ & puk_u, /* OUT: pub key */ & sig_u, /* IN: signature */ - (const c3_y *) & has); /* IN: message has */ + has_y); /* IN: message has */ if (1 != ret) { u3l_log("\rsecp jet: crypto package error\n");
[core] separate func to reset FILE_CHUNK
@@ -78,12 +78,10 @@ static chunk *chunk_init(size_t sz) { return c; } -static void chunk_reset(chunk *c) { +static void chunk_reset_file_chunk(chunk *c) { if (c->file.is_temp && !buffer_string_is_empty(c->mem)) { unlink(c->mem->ptr); } - buffer_string_set_length(c->mem, 0); - if (c->file.fd != -1) { close(c->file.fd); ...
scheduler/ipp.c: Change job state to IPP_JOB_HELD when job is restarted with appropriate job-held-until attribute.
@@ -9374,6 +9374,9 @@ restart_job(cupsd_client_t *con, /* I - Client connection */ "Restarted by \"%s\" with job-hold-until=%s.", username, attr->values[0].string.text); cupsdSetJobHoldUntil(job, attr->values[0].string.text, 0); + cupsdSetJobState(job, IPP_JOB_HELD, CUPSD_JOB_DEFAULT, + "Job restarted by user with job-...
Support signedAndEnveloped content in PKCS7_decrypt()
@@ -481,7 +481,8 @@ int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags) return 0; } - if (!PKCS7_type_is_enveloped(p7)) { + if (!PKCS7_type_is_enveloped(p7) + && !PKCS7_type_is_signedAndEnveloped(p7)) { ERR_raise(ERR_LIB_PKCS7, PKCS7_R_WRONG_CONTENT_TYPE); return 0; }
input: chunk: if no tag is set, use default instance name
@@ -267,6 +267,15 @@ int flb_input_chunk_append_raw(struct flb_input_instance *in, return -1; } + /* + * Some callers might not set a custom tag, on that case just inherit + * the instance name. + */ + if (!tag) { + tag = in->name; + tag_len = strlen(in->name); + } + /* * Get a target input chunk, can be one with remai...
enable mass erase for g0, worksforme
@@ -1997,7 +1997,6 @@ int stlink_erase_flash_page(stlink_t *sl, stm32_addr_t flashaddr) int stlink_erase_flash_mass(stlink_t *sl) { /* TODO: User MER bit to mass-erase G0, G4, WB series. */ if (sl->flash_type == STLINK_FLASH_TYPE_L0 || - sl->flash_type == STLINK_FLASH_TYPE_G0 || sl->flash_type == STLINK_FLASH_TYPE_WB) ...
osThreadState for joinable threads clearified.
@@ -20,7 +20,7 @@ Threads can be in the following states: \ref ThreadStates "BLOCKED", the next \ref ThreadStates "READY" thread with the highest priority becomes the \ref ThreadStates "RUNNING" thread. - \b BLOCKED: Threads that are blocked either delayed, waiting for an event to occur or suspended are in the \ref Thr...
SOVERSION bump to version 2.3.3
@@ -63,7 +63,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_ # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) set(LIBYANG_MINOR_SOVERSION 3) -set(LIBYANG_MICRO_SOVERSION 2) +set(LIBYANG_MICRO_SOVERSION 3) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_MI...
Run |mass in CI
@@ -82,6 +82,13 @@ Promise.resolve(urbit) .then(actions.test) .then(actions.testCores) .then(actions.testRenderers) +.then(function(){ + return urbit.line("|mass") + .then(function(){ + return urbit.expectEcho("%ran-mass") + .then(function(){ return urbit.resetListeners(); }) + }) +}) .then(function(){ return rePill(ur...
zephyr: driver: bmi160: add CONFIG_ACCELGYRO_BMI160 The config option was missing and is needed by the accelgyro_bmi_common.c. BRANCH=none TEST=zmake testall
#endif /* sensors */ +#undef CONFIG_ACCELGYRO_BMI160 +#ifdef CONFIG_PLATFORM_EC_ACCELGYRO_BMI160 +#define CONFIG_ACCELGYRO_BMI160 +#endif + #undef CONFIG_ACCELGYRO_BMI260 #ifdef CONFIG_PLATFORM_EC_ACCELGYRO_BMI260 #define CONFIG_ACCELGYRO_BMI260
Document and clean up animation bind logic.
@@ -21305,6 +21305,10 @@ void damage_recursive(entity *target) void adjust_bind(entity *e) { + #define ADJUST_BIND_SET_ANIM_RESETABLE 1 + + e_animations target_animation; + // If there is no binding // target, just get out. if(!e->binding.ent) @@ -21312,11 +21316,26 @@ void adjust_bind(entity *e) return; } + // Animati...
admin/mrsh: typo
@@ -69,7 +69,7 @@ rsh compatability package for mrcp/mrlogin/mrsh make %install -DESTDIR="$%{buildroot}" make install +DESTDIR="%{buildroot}" make install ln -sf in.mrlogind %{buildroot}%{_sbindir}/in.rlogind ln -sf in.mrshd %{buildroot}%{_sbindir}/in.rshd