message
stringlengths
6
474
diff
stringlengths
8
5.22k
example/ble_throughput fix the throughput server crash bug when running with throughput client
@@ -700,7 +700,7 @@ void app_main(void) xTaskCreate(&throughput_server_task, "throughput_server_task", 4048, NULL, 15, NULL); #if (CONFIG_EXAMPLE_GATTS_NOTIFY_THROUGHPUT) - gatts_semaphore = xSemaphoreCreateMutex(); + gatts_semaphore = xSemaphoreCreateBinary(); if (!gatts_semaphore) { ESP_LOGE(GATTS_TAG, "%s, init fail...
Restrict GlobalizationPreferences::Languages exception capture to AccessDeniedException
@@ -41,7 +41,7 @@ namespace PAL_NS_BEGIN { m_user_language = FromPlatformString(GlobalizationPreferences::Languages->GetAt(0)); m_user_timezone = WindowsEnvironmentInfo::GetTimeZone(); } - catch (...) + catch (AccessDeniedException^) { // Windows 10 RS4+ OS bug: sometimes access to GlobalizationPreferences::Languages f...
Fix typo in the byte code documentation. JerryScript-DCO-1.0-Signed-off-by: Daniel Vince
/** * Several opcodes (mostly call and assignment opcodes) have * two forms: one which does not push a return value onto - * the stack, and another which does. The reasion is that + * the stack, and another which does. The reason is that * the return value of these opcodes are often not used * and the first form provid...
set card and dimm defaults for KU3 and FGT
@@ -102,15 +102,8 @@ while [ -z "$SETUP_DONE" ]; do echo "ACTION_ROOT is set to \"$ACTION_ROOT\"" fi - if [ ! -d "$HDK_ROOT" ]; then - export HDK_ROOT=$FRAMEWORK_ROOT/cards/adku060_capi_1_1_release - echo "Setting HDK_ROOT to \"$HDK_ROOT\"" - else - echo "HDK_ROOT is set to \"$HDK_ROOT\"" - fi - if [ -z "$FPGACARD" ]; ...
YAJL: Add array example to MSR test
@@ -113,6 +113,27 @@ kdb file user/examples/yajl/ | xargs cat #> "number": 1337 #> } +# Add an array +kdb set user/examples/yajl/piggy/#0 straw +kdb set user/examples/yajl/piggy/#1 sticks +kdb set user/examples/yajl/piggy/#2 bricks + +# Retrieve an array key +kdb get user/examples/yajl/piggy/#2 +#> bricks + +# Check th...
fix for BSD cryptodev by levitte
@@ -81,6 +81,14 @@ void engine_load_cryptodev_int(void) #else +/* Available on cryptodev-linux but not on FreeBSD 8.4 */ +# ifndef CRYPTO_HMAC_MAX_KEY_LEN +# define CRYPTO_HMAC_MAX_KEY_LEN 512 +# endif +# ifndef CRYPTO_CIPHER_MAX_KEY_LEN +# define CRYPTO_CIPHER_MAX_KEY_LEN 64 +# endif + struct dev_crypto_state { struct...
Workaround for race condition in logger test failure.
@@ -74,6 +74,7 @@ increment_counter(Level) -> Pid ! {increment, Level}. get_counter(Level) -> + ?TIMER:sleep(50), Pid = erlang:whereis(counter), Ref = erlang:make_ref(), Pid ! {self(), Ref, get_counter, Level},
Scripts: Refactoring
@@ -38,6 +38,9 @@ use strict; use warnings; $ARGV[0] or die "USAGE: $0 input.tsv\n"; +my $WRITE_TO_FILES = 1; +my $WRITE_TO_PARAMDB = 0; + my ($paramId, $shortName, $name, $units, $cfVarName); my ($discipline, $pcategory, $pnumber, $type1, $type2, $scaledValue1, $scaleFactor1, $scaledValue2, $scaleFactor2, $stat); @@ -...
Report failed/crashing tool command lines Closes
#include <stdlib.h> #include <string.h> #include <fcntl.h> +#include <limits.h> #include <unistd.h> #include <sys/stat.h> @@ -245,10 +246,18 @@ ExecuteProcess( { result.m_ReturnCode = 1; result.m_WasSignalled = true; + + int sig = WTERMSIG(return_code); + TerminalIoPrintf(job_id, INT_MAX, "child process exited on signa...
[hardware] Fix Makefile for modelsim command outside ETH
@@ -41,6 +41,7 @@ python ?= python3.6 # Check if the specified QuestaSim version exists ifeq (, $(shell which $(questa_cmd))) + # Spaces are needed for indentation here! $(warning "Specified QuestaSim version ($(questa_cmd)) not found in PATH $(PATH)") questa_cmd = endif
this wasn't committed for some reason
@@ -50,24 +50,23 @@ void DrawCoordinateSystem( float x, float y, float z, float qx, float qy, float qz, float qr) { - Quaternion i0,j0,k0; - Quaternion i, j, k; - Quaternion q; + FLT i0[3],j0[3],k0[3]; + FLT i[3],j[3],k[3]; + FLT q[4]; - // Calculate the i, j, and k vectors - QuaternionSet(i0, 1, 0, 0, 0); - Quaternion...
ds json UPDATE use process owner/group when creating files Instead of using the ones from the startup file. Fixes
@@ -297,7 +297,7 @@ srpds_json_store(const struct lys_module *mod, sr_datastore_t ds, const struct l { mode_t perm = 0; int rc; - char *path = NULL, *owner = NULL, *group = NULL; + char *path = NULL; switch (ds) { case SR_DS_STARTUP: @@ -316,22 +316,20 @@ srpds_json_store(const struct lys_module *mod, sr_datastore_t ds...
remove stray string
@@ -44,7 +44,7 @@ static const char* g_server_usage = " announce [<query>[:<port>] [<minutes>]]\n" " ping <addr>\n"; -const char* g_server_usage_debug = "0" +const char* g_server_usage_debug = " blacklist <addr>\n" " list blacklist|searches|announcements|nodes" #ifdef FWD
stdatomic: support gcc built-in functions for esp32s2beta
@@ -6,9 +6,12 @@ else() set(srcs "debug_helpers.c" "debug_helpers_asm.S" "eri.c" - "stdatomic.c") + ) - if(CONFIG_IDF_TARGET_ESP32) + if(IDF_TARGET STREQUAL "esp32s2beta") + list(APPEND srcs "stdatomic.c") + endif() + if(IDF_TARGET STREQUAL "esp32") list(APPEND srcs "trax.c") endif() endif()
[doc] update external links
@@ -29,13 +29,13 @@ Rather than attempting to maintain scripts for an unknown number of distros, here are links to a few, which can be used as examples. Arch: -https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/lighttpd +https://github.com/archlinux/svntogit-packages/tree/packages/lighttpd/trunk Debi...
[core] tighten chunkqueue_mark_written; better asm chunkqueue_mark_written() also removes finished chunks from beginning of chunkqueue instead of separate call to chunkqueue_remove_finished_chunks
@@ -1159,24 +1159,21 @@ void chunkqueue_append_cq_range (chunkqueue * const dst, const chunkqueue * cons void chunkqueue_mark_written(chunkqueue *cq, off_t len) { cq->bytes_out += len; - for (chunk *c; (c = cq->first); ) { + for (chunk *c = cq->first; c; ) { off_t c_len = chunk_remaining_length(c); if (len >= c_len) { ...
wsman-soap-message: check for NULL from zalloc
@@ -65,6 +65,8 @@ WsmanMessage* wsman_soap_message_new() { WsmanMessage *wsman_msg = u_zalloc(sizeof(WsmanMessage)); + if (!wsman_msg) + return NULL; u_buf_create(&wsman_msg->request); u_buf_create(&wsman_msg->response); // wsman_msg->charset = "UTF-8";
Add Intel Denverton
@@ -566,8 +566,8 @@ static gotoblas_t *get_coretype(void){ return &gotoblas_NEHALEM; //OS doesn't support AVX. Use old kernels. } } - //Apollo Lake - if (model == 12) { + //Apollo Lake or Denverton + if (model == 12 || model == 15) { return &gotoblas_NEHALEM; } return NULL;
Reintroduce missing function in pallenec At some point we accidentally removed the pallenec_abort function. This caused pallenec to crash instead of printing out a nice error message.
@@ -16,6 +16,10 @@ local args = p:parse() -- Inspired by gcc, eg. "gcc: fatal error: no input files". local compiler_name = arg[0] +local function pallenec_abort(fmt, ...) + return util.abort(compiler_name .. ":" .. string.format(fmt, ...)) +end + local function compile(in_ext, out_ext) local ok, errs = driver.compile(...
[CI] Fix duplicate job name
@@ -39,7 +39,7 @@ jobs: x86_64-toolchain axle-sysroot - build-sysroot-and-toolchain: + build-kernel: runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job
Fix bugs in bitmap_alloc
int bitmap_alloc(unsigned int *array, int num_bits) { int bitindex; - int wordindex; + int wordindex = 0; - for (wordindex = 0; wordindex < num_bits; wordindex += 32) - { - if (array[wordindex] != 0xffffffff) + // Scan whole words at a time looking for a non-zero index + while (array[wordindex] == 0xffffffff) { + if (+...
s5j/serial: add constraints on UART flowcontrol RTS/CTS pins of UART2/3 are shared with other peripherals. To ensure that those pins are mutually exclusive, add dependencies on Kconfig entries.
@@ -248,6 +248,7 @@ config S5J_UART2_FLOWCONTROL bool "UART2 Flow Control" default n depends on S5J_UART2 + depends on !S5J_UART1 select S5J_UART_FLOWCONTROL config S5J_UART3 @@ -261,6 +262,8 @@ config S5J_UART3_FLOWCONTROL bool "UART3 Flow Control" default n depends on S5J_UART3 + depends on !S5J_PWM0 + depends on !S5...
Fix memory leak in `rxml_node_path` funcion (node.path method)
@@ -983,14 +983,18 @@ static VALUE rxml_node_path(VALUE self) { xmlNodePtr xnode; xmlChar *path; + VALUE result = Qnil; xnode = rxml_get_xnode(self); path = xmlGetNodePath(xnode); - if (path == NULL) - return (Qnil); - else - return (rxml_new_cstr( path, NULL)); + if (path) + { + result = rxml_new_cstr( path, NULL); + ...
Remove unused parameter from ocf_mngt_cache_device_config
@@ -310,12 +310,6 @@ struct ocf_mngt_cache_device_config { */ bool force; - /** - * @brief Minimum free RAM required to start cache. Set during - * cache start procedure - */ - uint64_t min_free_ram; - /** * @brief If set, cache features (like discard) are tested * before starting cache
Added info about include X11 in ubuntu. Added comment with X11 path in systems based on ubuntu.
@@ -10,6 +10,10 @@ MANPREFIX = $(PREFIX)/share/man X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib +# include X11 in Ubuntu +# X11INC = /usr/include/X11R6 +# X11LIB = /usr/lib/X11R6 + PKG_CONFIG = pkg-config # includes and libs
Fix typo in answer file, introduced by
-- If the function AssignResGroupOnMaster() fails after getting a slot, -- test the slot will be unassigned correctly. + DROP ROLE IF EXISTS role_test; DROP -- start_ignore
[kernel] avoid trouble when the nsds is empty
@@ -378,7 +378,6 @@ bool GlobalFrictionContact::preCompute(double time) _w->resize(_sizeOutput); _w->zero(); } - if(_globalVelocities->size() != _sizeGlobalOutput) { _globalVelocities->resize(_sizeGlobalOutput); @@ -399,9 +398,12 @@ int GlobalFrictionContact::compute(double time) return info; updateMu(); // --- Call Nu...
bump test-suite to 1.4
Summary: Integration test suite for OpenHPC Name: test-suite%{PROJ_DELIM} -Version: 1.3.1 +Version: 1.4 Release: 1 License: Apache-2.0 Group: %{PROJ_NAME}/admin
replaced the remaining string.matches with tag_matches
@@ -124,7 +124,7 @@ declare_type("Name", { }) function Checker:add_type(name, typ) - assert(string.match(typ._tag, "^types%.T%.")) + assert(typedecl.tag_matches(typ._tag, "types.T.")) self.symbol_table:add_symbol(name, checker.Name.Type(typ)) end @@ -689,7 +689,7 @@ function Checker:check_exp_synthesize(exp) check_type...
Fix generation of Python interface on Windows.
@@ -905,8 +905,6 @@ function (tinyspline_add_swig_library) SOURCES "swig/${ARGS_TARGET}.i" ${TINYSPLINE_CXX_SOURCE_FILES}) endif() - target_compile_definitions(${ARGS_TARGET} - PUBLIC ${TINYSPLINE_CXX_DEFINITIONS}) # On Linux, we can (and for the sake of portability should) omit # linking libraries. if(NOT ${TINYSPLINE...
Fix `make -j#` I added more dependencies to the build recipes. Without this change this command would fail for me: `make clean && make -j8`. The culprit was that the obj directory structure was not created in time.
@@ -230,7 +230,7 @@ build: create_obj_dir_structure $(BINDIR)/$(AGENT) $(BINDIR)/$(AGENTSERVER) $(BI ## Compile and generate depencency info $(OBJDIR)/$(CLIENT)/$(CLIENT).o : $(APILIB)/$(SHARED_LIB_NAME_FULL) -$(OBJDIR)/%.o : $(SRCDIR)/%.c +$(OBJDIR)/%.o : $(SRCDIR)/%.c create_obj_dir_structure @$(CC) $(CFLAGS) -c $< -...
travis: compile with -O3 by default There are quite a few cases where optimization breaks a few tests, optimization will be disabled on those platforms (hopefully temporarily). I suspect a lot of them are actually compiler bugs at this point, but creating minimal test cases could be a bit of a pain.
@@ -13,6 +13,7 @@ env: - BUILD_CPP_TESTS=ON - CMAKE_GENERATOR='Ninja' - RUN_TESTS=true + - OPTIMIZATION_FLAGS='-O3' jobs: include: @@ -65,6 +66,8 @@ jobs: - name: "aarch64" arch: arm64 + env: + - OPTIMIZATION_FLAGS='' - name: "ppc64le" arch: ppc64le @@ -79,6 +82,7 @@ jobs: - name: "-DSIMDE_NO_SHUFFLE_VECTOR" env: - COM...
docs: page break cleanup
%% \subsection{Optionally add \InfiniBand{} support services on {\em master} node} \label{sec:add_ofed} %% \input{common/ibsupport_sms_sles} -\vspace*{-0.3cm} +\vspace*{-0.25cm} \subsection{Complete basic Warewulf setup for {\em master} node} \label{sec:setup_ww} \input{common/warewulf_setup} \input{common/warewulf_set...
Fix documentation for provider-signature Fixes
@@ -43,7 +43,7 @@ provider-signature - The signature library E<lt>-E<gt> provider functions /* Digest Sign */ int OSSL_FUNC_signature_digest_sign_init(void *ctx, const char *mdname, - const char *props, void *provkey, + void *provkey, const OSSL_PARAM params[]); int OSSL_FUNC_signature_digest_sign_update(void *ctx, con...
[numerics] correct the projection with the right polar cone
@@ -28,8 +28,7 @@ unsigned int projectionOnRollingCone(double* r, double mu, double mur) double normT = hypot(r[1], r[2]); double normMT = hypot(r[3], r[4]); - - if ((mu * normT <= - r[0]) && ((mur * normMT <= - r[0]))) + if (mu * normT + mur * normMT <= - r[0]) { r[0] = 0.0; r[1] = 0.0;
Use reference counting to protect against concurrently unregistering the same serviceId multiple times. Reference counting together with atomic compare-and-swap make celix_serviceRegistry_unregisterService MT-safe.
@@ -1202,6 +1202,7 @@ void celix_serviceRegistry_unregisterService(celix_service_registry_t* registry, service_registration_t *entry = celix_arrayList_get(registrations, i); if (serviceRegistration_getServiceId(entry) == serviceId) { reg = entry; + serviceRegistration_retain(reg); // protect against concurrently unregi...
fixed host exerciser md file path
@@ -180,7 +180,7 @@ man_pages = [ ("docs/fpga_tools/opaevfio/opaevfio", 'opaevfio', u'Bind/Unbind accelerator to/from vfio-pci', [author], 8), ("docs/fpga_tools/opaeuio/opaeuio", 'opaeuio', u'Bind/Unbind DFL device to/from dfl-uio-pdev', [author], 8), ("docs/fpga_tools/userclk/userclk", 'userclk', u'Set AFU high and lo...
Make blockchain generation rev account serialization
@@ -461,6 +461,41 @@ function update_walletkitcoretests() { sed -i '' -e "1,\$s/\/\/[ ]__NEW_BLOCKCHAIN_TEST_DEFN__/$test_defn/" $wkcoretests_include } +# Checks for the WKAccount.c file and if not existant, create a test file +function check_create_wkaccount() { + wk_account_file=${output_path[$WKCORE_OUTPUT]}/src/wal...
Avoid use-after-free if key update is initiated while ppe is pending conn_rotate_keys() frees conn->pktns->crypto.tx.ckm. If there is a pending ppe, the ppe object still holds a reference to the freed memory and will eventually try to use it in ngtcp2_ppe_final().
@@ -5893,6 +5893,7 @@ static void conn_rotate_keys(ngtcp2_conn *conn, int64_t pkt_num) { assert(conn->crypto.key_update.new_rx_ckm); assert(conn->crypto.key_update.new_tx_ckm); assert(!conn->crypto.key_update.old_rx_ckm); + assert(!(conn->flags & NGTCP2_CONN_FLAG_PPE_PENDING)); conn->crypto.key_update.old_rx_ckm = pktn...
Get window resize events in xterm.
#else #include <termios.h> #include <unistd.h> +#include <signal.h> #endif #include "error.h" @@ -264,6 +265,21 @@ static TCOD_Error xterm_recommended_console_size( return TCOD_E_ERROR; } +#ifndef _WIN32 +static void xterm_on_window_change_signal(int signum) { + int columns, rows; + xterm_recommended_console_size(NULL,...
Summarized constants table.
@@ -422,9 +422,7 @@ where $h_{\rm P}$ is Planck's constant and $h$ is $H_0/100$ with $H_0$ in units Including/excluding radiation in the computation of the comoving distances and the growth function can easily make a difference of $10^{-4}$ at the redshifts required in this comparison. -We have performed a comparison o...
[numerics] reduce verbose level
@@ -217,9 +217,9 @@ int rolling_fc3d_projectionOnConeWithLocalIteration_solve(RollingFrictionContact /* double tau=dparam[4], tauinv=dparam[5], L= dparam[6], Lmin = dparam[7]; */ double tau=2.0/3.0, tauinv = 3.0/2.0, L= 0.9, Lmin =0.3; - numerics_printf("-- rolling_fc3d_projectionOnConeWithLocalIteration_solve contact ...
avx512bw: work around and ICC bug ICC generates invalid code for this. For details, see
@@ -117,10 +117,17 @@ simde_mm512_adds_epu8 (simde__m512i a, simde__m512i b) { a_ = simde__m512i_to_private(a), b_ = simde__m512i_to_private(b); + #if !defined(HEDLEY_INTEL_VERSION) SIMDE__VECTORIZE - for (size_t i = 0 ; i < (sizeof(r_.m256i) / sizeof(r_.m256i[0])) ; i++) { - r_.m256i[i] = simde_mm256_adds_epu8(a_.m256...
ethio: implement +request-batch-rpc-loose Produces batch request results regardless of node-side error. Reimplements +request-batch-rpc-strict using it.
%+ strand-fail:strandio %unexpected-multiple-results [>(lent res)< ~] -:: +request-batch-rpc-strict: send rpc request, with retry +:: +request-batch-rpc-strict: send rpc requests, with retry :: :: sends a batch request. produces results for all requests in the batch, :: but only if all of them are successful. `10 attem...
options/ansi: fix %p for strftime
#include <wchar.h> #include <stdlib.h> #include <ctype.h> +#include <langinfo.h> #include <bits/ensure.h> #include <mlibc/debug.hpp> @@ -248,19 +249,10 @@ size_t strftime(char *__restrict dest, size_t max_size, p += chunk; c += 2; }else if (*(c + 1) == 'p') { - if(tm->tm_hour < 12) { - char time[] = "AM"; - auto chunk ...
tests: add code generation test for 'for'
@@ -14,13 +14,14 @@ local function generate(ast, modname) local CC = "gcc" local CFLAGS = "--std=c99 -O2 -Wall -Ilua/src/ -fPIC" - return os.execute(string.format([[ + local cc_cmd = string.format([[ %s %s -shared %s.c lua/src/liblua.a -o %s.so - ]], CC, CFLAGS, modname, modname)) + ]], CC, CFLAGS, modname, modname) + ...
Use Ubuntu 18.04 on Travis CI
@@ -3,12 +3,13 @@ language: c linux_gcc: &linux_gcc os: linux - dist: xenial + dist: bionic compiler: gcc addons: apt: update: true - sources: [ ubuntu-toolchain-r-test ] + sources: + - sourceline: 'ppa:ubuntu-toolchain-r/test' packages: [ autoconf bison flex libssl-dev libevent-dev clang gcc-9 ] before_install: - eval...
Minor formatting to README.md.
@@ -421,7 +421,6 @@ We receive many questions and issues that have been answered previously. #### Incremental log processing #### - GoAccess has the ability to process logs incrementally through its internal storage and dump its data to disk. It works in the following way: @@ -437,7 +436,7 @@ stay on the same partition...
Add some TODOs to the toplevel readme.
This project is a complete work in progress, with absolutely nothing functioning yet. The goal is to explore a new MK firmware with a less restritive license and better BLE support, built on top of the [Zephyr Project](https://www.zephyrproject.org/) +## TODO + +- Debouncing in the kscan driver itself? Only some GPIO d...
Note the current version numbers reflect ABI breaks instead of API.
@@ -3,8 +3,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) -This project attempts to adhere to [Semantic Versioning](http://semver.org/) -since `1.7.0`. +This project attempts to adhere to [Semantic Versioning](http...
actions: check java_home helper
@@ -77,6 +77,7 @@ jobs: echo "$JAVA_HOME/bin" >> $GITHUB_PATH which javac || true javac --version || true + /usr/libexec/java_home --failfast || true cat $JAVA_HOME/Contents/Info.plist - name: Configure CMake
Update: Metric.c: better initialize message, will make valgrind happy and is also safer
@@ -38,7 +38,7 @@ static int graphite_sockfd = 0; void Metric_send( const char* path, int value) { - char message[GRAPHITE_MAX_MSG_LEN]; + char message[GRAPHITE_MAX_MSG_LEN] = {0}; if(graphite_sockfd == 0) { graphite_sockfd = UDP_INIT_Sender();
Increase smoke failures allowed for epsdb to 5
@@ -108,7 +108,7 @@ echo set -x epsdb_status="green" # return pass, condpass, fial status (count) -if [ "$efails" -ge "3" ]; then +if [ "$efails" -ge "5" ]; then echo "EPSDB smoke fails" epsdb_status="red" elif [ "$efails" -gt "0" ]; then
Double the wait time for ppc jobs in Travis CI
@@ -30,7 +30,7 @@ matrix: before_script: &common-before - COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=POWER8 NUM_THREADS=32" script: - - travis_wait 20 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE + - travis_wait 40 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE - make -C test $COMMON_FLAGS $BTYPE - make -C ctest $COMMON_FLAGS $BTYPE - make...
UI_UTIL_wrap_read_pem_callback: make sure to terminate the string received The callback we're wrapping around may or may not return a NUL-terminated string. Let's ensure it is.
@@ -104,7 +104,7 @@ static int ui_read(UI *ui, UI_STRING *uis) switch (UI_get_string_type(uis)) { case UIT_PROMPT: { - char result[PEM_BUFSIZE]; + char result[PEM_BUFSIZE + 1]; const struct pem_password_cb_data *data = UI_method_get_ex_data(UI_get_method(ui), ui_method_data_index); int maxsize = UI_get_result_maxsize(u...
fixed circ() mapped color
@@ -558,7 +558,7 @@ void tic_api_circ(tic_mem* memory, s32 x, s32 y, s32 r, u8 color) { initSidesBuffer(); drawEllipse(memory, x - r, y - r, x + r, y + r, 0, setElliSide); - drawSidesBuffer(memory, y - r, y + r + 1, color); + drawSidesBuffer(memory, y - r, y + r + 1, mapColor(memory, color)); } void tic_api_circb(tic_m...
Allow non-square icons if no text is shown.
@@ -146,7 +146,11 @@ void DrawButton(ButtonNode *bp) iconHeight = iconWidth; } else { const int ratio = (bp->icon->width << 16) / bp->icon->height; - const int maxIconWidth = Min(width, height) - 4; + int maxIconWidth = width - 4; + if(bp->text) { + /* Showing text, keep the icon square. */ + maxIconWidth = Min(width, ...
doc: Add fixed issues in v0.2 release note Filter v0.2 fixed issues from github closed issue list.
@@ -17,6 +17,34 @@ ACRN device model, and documentation. Version 0.2 new features ************************ +Fixed Issues +============ +:acrn-issue:`663` - Black screen displayed after booting SOS/UOS + +:acrn-issue:`676` - Hypervisor and DM version numbers incorrect + +:acrn-issue:`1126` - VPCI coding style and bugs f...
process: correct the way its dependent on the dump plugin
include (LibAddMacros) find_package (Pluginprocess) +plugin_check_if_included ("dump") +if (NOT NOT_INCLUDED) if (PLUGINPROCESS_FOUND) add_plugin (process SOURCES @@ -18,3 +20,6 @@ add_plugin (process else (PLUGINPROCESS_FOUND) message ("${PLUGINPROCESS_NOTFOUND_INFO}, excluding pluginprocess library, thus excluding th...
Documentation: Add list of available packages
# Install +## Status + +The graph below shows an (incomplete) list of available packages for Elektra. + +[![Packaging status](https://repology.org/badge/vertical-allrepos/elektra.svg)](https://repology.org/metapackage/elektra/versions) ## Linux
in_proc: filter plugin support
@@ -252,6 +252,10 @@ static int generate_record_linux(struct flb_input_instance *i_ins, /* * Store the new data into the MessagePack buffer, */ + + /* Mark the start of a 'buffer write' operation */ + flb_input_buf_write_start(i_ins); + msgpack_pack_array(&i_ins->mp_pck, 2); msgpack_pack_uint64(&i_ins->mp_pck, time(NUL...
Fix missing whitespace trimming on strings Update resource.cpp
@@ -995,34 +995,10 @@ bool ResourceItem::toBool() const } bool ResourceItem::setValue(const QString &val, ValueSource source) -{ - if (m_rid->type == DataTypeString) - { - setItemString(val); - } - - if (m_str) - { - if (m_rid->type == DataTypeTime) { return setValue(QVariant(val), source); } - m_valueSource = source; ...
chore(btnmatrix) removed unnecessary semicolon Removed an unnecessary semicolon at line 97 ( `lv_btnmatrix_t * btnm = (lv_btnmatrix_t *)obj;` )
@@ -94,7 +94,7 @@ void lv_btnmatrix_set_map(lv_obj_t * obj, const char * map[]) LV_ASSERT_OBJ(obj, MY_CLASS); if(map == NULL) return; - lv_btnmatrix_t * btnm = (lv_btnmatrix_t *)obj;; + lv_btnmatrix_t * btnm = (lv_btnmatrix_t *)obj; /*Analyze the map and create the required number of buttons*/ allocate_btn_areas_and_co...
docs: update CN translation for fatfs.rst
@@ -14,6 +14,7 @@ Using FatFs with VFS The header file :component_file:`fatfs/vfs/esp_vfs_fat.h` defines the functions for connecting FatFs and VFS. The function :cpp:func:`esp_vfs_fat_register` allocates a ``FATFS`` structure and registers a given path prefix in VFS. Subsequent operations on files starting with this p...
honggfuzz.h: initialize timing mutex
@@ -422,6 +422,7 @@ bool cmdlineParse(int argc, char* argv[], honggfuzz_t* hfuzz) { .feedback = PTHREAD_MUTEX_INITIALIZER, .report = PTHREAD_MUTEX_INITIALIZER, .input = PTHREAD_MUTEX_INITIALIZER, + .timing = PTHREAD_MUTEX_INITIALIZER, }, /* Linux code */
Add test for the optional record field separator
@@ -643,8 +643,8 @@ describe("Titan parser", function() assert_program_ast([[ record List - p: {Point}; - next: List; + p: {Point} + next: List end ]], { { _tag = "TopLevel_Record", @@ -656,6 +656,26 @@ describe("Titan parser", function() }) end) + it("can parse the record field optional separator", function() + local ...
[tech_cells_generic] Remove deprecated modules
@@ -13,25 +13,25 @@ sources: - target: all(fpga, xilinx) files: - - src/deprecated/cluster_clk_cells_xilinx.sv + # - src/deprecated/cluster_clk_cells_xilinx.sv - src/fpga/tc_clk_xilinx.sv - src/fpga/tc_sram_xilinx.sv - target: not(all(fpga, xilinx)) files: # Level 0 - - src/deprecated/cluster_clk_cells.sv - - src/depre...
JANITORIAL: (fpe.c) Correct spelling mistakes in comments relevent -> relevant
@@ -38,7 +38,7 @@ void fpe_Dispose(glstate_t *glstate) { void APIENTRY_GL4ES fpe_ReleventState_DefaultVertex(fpe_state_t *dest, fpe_state_t *src, shaderconv_need_t* need) { - // filter out some non relevent state (like texture stuff if texture is disabled) + // filter out some non relevant state (like texture stuff if ...
18.01.2 Release Notes
# Release Notes {#release_notes} * @subpage release_notes_1804 +* @subpage release_notes_18012 * @subpage release_notes_18011 * @subpage release_notes_1801 * @subpage release_notes_1710 @@ -1478,6 +1479,15 @@ Found 1036 api message signature differences +@page release_notes_18012 Release notes for VPP 18.01.2 + +This i...
moli: fix type-c cannot negotiation to 20V BRANCH=none TEST=make -j BOARD=moli TEST=VBUS change from 5V to 20V
@@ -84,6 +84,8 @@ int board_set_active_charge_port(int port) switch (port) { case CHARGE_PORT_TYPEC0: case CHARGE_PORT_TYPEC1: + gpio_set_level(GPIO_EN_PPVAR_BJ_ADP_L, 1); + break; case CHARGE_PORT_BARRELJACK: /* Make sure BJ adapter is sourcing power */ if (gpio_get_level(GPIO_BJ_ADP_PRESENT_ODL))
Optimize: u3a_malt takes care of trailing zeros.
(x==0) ? 0 : \ 1 + ((x - 1) / y); -/* - TODO Don't do the double flop. -*/ u3_noun u3qc_repn(u3_atom bits, u3_noun blox) { if ( !_(u3a_is_cat(bits) || bits==0 || bits>31) ) { return u3m_bail(c3__fail); } - blox = u3kb_flop(blox); - - // - // We need to enforce the invariant that the result does not contain - // leading...
fix rubymac project
remoteGlobalIDString = A8A6D30E1E24AADD00016427; remoteInfo = rubymac; }; - FA3C262E1DA6E8EB0064EE64 /* PBXContainerItemProxy */ = { + A8CAD3D61E67400800ED8E7E /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 5C04408B0EF7DC290014E5C6 /* rhorubylib.xcodeproj */; proxyType = 1; - remoteGloba...
output_calyptia: update ifdef FLB_CHUNK_TRACE to FLB_HAVE_CHUNK_TRACE.
@@ -356,7 +356,7 @@ static int calyptia_http_do(struct flb_calyptia *ctx, struct flb_http_client *c, sizeof(CALYPTIA_H_AGENT_TOKEN) - 1, ctx->agent_token, flb_sds_len(ctx->agent_token)); } -#ifdef FLB_CHUNK_TRACE +#ifdef FLB_HAVE_CHUNK_TRACE else if (type == CALYPTIA_ACTION_TRACE) { flb_http_add_header(c, CALYPTIA_H_CT...
connection: added peer info lookup helper
@@ -21,7 +21,10 @@ void flb_connection_init(struct flb_connection *connection, connection->attrs = type_specific_attributes; connection->tls_session = NULL; - connection->remote_host = (char *) "remote host unset"; + connection->raw_remote_host_family = 0; + connection->raw_remote_host[0] = '\0'; + + connection->remote...
Correct UART pins on the nrf528xx Flip TX and RX so the UART is setup correctly.
@@ -86,13 +86,13 @@ extern uint32_t led_pwr_pin; #define NRF52820_RESET_PIN NRF_GPIO_PIN_MAP(0, 6) #define NRF52820_USB_LED_PIN NRF_GPIO_PIN_MAP(0, 14) #define NRF52820_PWR_LED_PIN NRF_GPIO_PIN_MAP(0, 15) -#define NRF52820_UART_TX_PIN NRF_GPIO_PIN_MAP(0, 8) // From IMCU to target -#define NRF52820_UART_RX_PIN NRF_GPIO_...
Prevent wrongly showing deCONZ Upgrade firmware page for ConBee II
@@ -412,7 +412,11 @@ void DeRestPluginPrivate::queryFirmwareVersion() { // if even after some time no firmware was detected // ASSUME that a device is present and reachable but might not have firmware installed - if (getUptime() >= FW_WAIT_UPDATE_READY) + if (gwDeviceName == QLatin1String("ConBee II")) + { + // ignore ...
test: don't panic after building non-/tests files
^- (list test) :: strip off leading 'tests' from :path :: - =. path ?>(?=([%tests *] path) t.path) + ?. ?=([%tests *] path) ~ + =/ path t.path ::NOTE TMI :: for each test, add the test's name to :path :: %+ turn test-arms
[bootloader] Do not save the app mode when bootloader jump, let the applicative Luos_engine write it instead, fix
@@ -430,7 +430,6 @@ void LuosBootloader_MsgHandler(msg_t *input) { // boot the application programmed in dedicated flash partition LuosBootloader_DeInit(); - LuosHAL_SetMode((uint8_t)JUMP_TO_APP_MODE); LuosBootloader_JumpToApp(); } else
Remove root directory from Windows zip releases Put the scrcpy files at the root of the zip archive. This avoids an unnecessary level of directories when extracting.
@@ -125,12 +125,12 @@ dist-win64: build-server build-win64 build-win64-noconsole cp prebuilt-deps/SDL2-2.0.8/x86_64-w64-mingw32/bin/SDL2.dll "$(DIST)/$(WIN64_TARGET_DIR)/" zip-win32: dist-win32 - cd "$(DIST)"; \ - zip -r "$(WIN32_TARGET)" "$(WIN32_TARGET_DIR)" + cd "$(DIST)/$(WIN32_TARGET_DIR)"; \ + zip -r "../$(WIN32_...
add api trace print /vpp/src/vlibapi/api_shared.c after "set api-trace debug on",api trace will be print ontime when clients send msg to vpp.
@@ -466,6 +466,7 @@ vl_msg_api_handler_with_vm_node (api_main_t * am, { u16 id = ntohs (*((u16 *) the_msg)); u8 *(*handler) (void *, void *, void *); + u8 *(*print_fp) (void *, void *); if (PREDICT_FALSE (vm->elog_trace_api_messages)) { @@ -491,9 +492,23 @@ vl_msg_api_handler_with_vm_node (api_main_t * am, { handler = ...
Fixed issue Fixed a typo in redis-csv output module that will cause binary field overwriting prior fields in the output.
@@ -182,7 +182,7 @@ void make_csv_string(fieldset_t *fs, char *out, size_t len) log_fatal("redis-csv", "out of memory---will overflow"); } - hex_encode_str(out, (unsigned char *)f->value.ptr, + hex_encode_str(dataloc, (unsigned char *)f->value.ptr, f->len); } else if (f->type == FS_NULL) { // do nothing
[ivshmem] Fixed issue with rev 0 devices failing to init
@@ -89,6 +89,8 @@ NTSTATUS IVSHMEMEvtDevicePrepareHardware(_In_ WDFDEVICE Device, _In_ WDFCMRESLIS ++deviceContext->interruptCount; } + if (deviceContext->interruptCount > 0) + { deviceContext->interrupts = (WDFINTERRUPT*)MmAllocateNonCachedMemory( sizeof(WDFINTERRUPT) * deviceContext->interruptCount); @@ -97,6 +99,7 @...
trace.py: fix compiler warning Compiler shows warning "incompatible integer to pointer conversion initializing" while compiling bpf program. This patch adds necessary typecast when assigning PT_REGS_PARAM vaules to struct pt_regs pointer
@@ -216,17 +216,17 @@ class Probe(object): } aliases_indarg = { - "arg1": "({u64 _val; struct pt_regs *_ctx = PT_REGS_PARM1(ctx);" + "arg1": "({u64 _val; struct pt_regs *_ctx = (struct pt_regs *)PT_REGS_PARM1(ctx);" " bpf_probe_read(&_val, sizeof(_val), &(PT_REGS_PARM1(_ctx))); _val;})", - "arg2": "({u64 _val; struct p...
network/tc: Delete testcase function Delete the tc_net_recvfrom_sock_n function. This test case is testing recvfrom, but it is wrong from socket creation. The code is meaningless because it differs from the testing purpose.
@@ -58,32 +58,6 @@ void tc_net_recvfrom_p(int fd) } -/** - * @testcase :tc_net_recvfrom_sock_n - * @brief :negative testcase using udp - * @scenario : - * @apicovered :recvfrom() - * @precondition : - * @postcondition : - */ -void tc_net_recvfrom_sock_n(void) -{ - char buffer[MAXRCVLEN]; - struct sockaddr_storage serve...
test FEATURE xpath hash test for leaf-lists
@@ -97,6 +97,9 @@ setup(void **state) "}" "}" "}" + "leaf-list ll2 {" + "type string;" + "}" "}" "}"; @@ -191,6 +194,10 @@ test_hash(void **state) "<a>val_b</a>" "</ll>" "</ll>" + "<ll2>one</ll2>" + "<ll2>two</ll2>" + "<ll2>three</ll2>" + "<ll2>four</ll2>" "</c>"; struct lyd_node *tree, *node; struct ly_set *set; @@ -2...
Reuse entity timestamp values on project load (prevents unnecessary changes to gbsproj file ending up in version control)
@@ -64,6 +64,7 @@ const loadProject = async (projectPath) => { return { ...background, id: oldBackground.id, + _v: oldBackground._v, tileColors: oldBackground?.tileColors !== undefined ? oldBackground.tileColors @@ -93,6 +94,7 @@ const loadProject = async (projectPath) => { ...oldSprite, ...sprite, id: oldSprite.id, + ...
mbedtls: fix possible false success in ...check_tags() helpers We should report a error when the security check of the security tag was not made. In the other case false success is possible and is not observable by the software. Technically this could lead to a security flaw.
@@ -505,7 +505,7 @@ int mbedtls_cipher_update_ad( mbedtls_cipher_context_t *ctx, } #endif - return( 0 ); + return( MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE ); } #endif /* MBEDTLS_GCM_C || MBEDTLS_CHACHAPOLY_C */ @@ -1134,7 +1134,7 @@ int mbedtls_cipher_write_tag( mbedtls_cipher_context_t *ctx, } #endif - return( 0 ); + r...
Update new TLS version options to s_time man page
@@ -22,6 +22,10 @@ B<openssl> B<s_time> [B<-nameopt option>] [B<-time seconds>] [B<-ssl3>] +[B<-tls1>] +[B<-tls1_1>] +[B<-tls1_2>] +[B<-tls1_3>] [B<-bugs>] [B<-cipher cipherlist>] [B<-ciphersuites val>] @@ -109,19 +113,13 @@ Performs the timing test using the same session ID; this can be used as a test that session cac...
[libgui] Bordered can draw with Rc
use agx_definitions::{ Color, Drawable, LayerSlice, Line, Point, Rect, RectInsets, StrokeThickness, }; +use alloc::rc::Rc; use crate::ui_elements::UIElement; @@ -16,6 +17,17 @@ pub trait Bordered: Drawable + UIElement { } } + fn draw_rc(self: Rc<Self>) { + let mut slice = self.get_slice(); + + if !self.border_enabled()...
Android: Allow having a key pass (not just a keystore pass)
@@ -770,6 +770,7 @@ elseif(ANDROID) sign --ks ${ANDROID_KEYSTORE} ${ANDROID_APKSIGNER_KEYSTORE_PASS} ${ANDROID_KEYSTORE_PASS} + $<$<BOOL:${ANDROID_KEY_PASS}>:--key-pass> $<$<BOOL:${ANDROID_KEY_PASS}>:${ANDROID_KEY_PASS}> --in lovr.unsigned.apk --out lovr.apk COMMAND ${CMAKE_COMMAND} -E remove lovr.unaligned.apk lovr.un...
use kconfig to add config options
@@ -175,6 +175,21 @@ menu "TinyUSB Stack" help Enable TinyUSB MIDI feature. endmenu # "MIDI" + + menu "Human Interface Device Class (HID)" + config TINYUSB_HID_ENABLED + bool "Enable TinyUSB HID feature" + default n + help + Enable TinyUSB HID feature. + + config TINYUSB_HID_BUFSIZE + depends on TINYUSB_HID_ENABLED + i...
s5j/sss: do not use Kconfig constants Instead of using constants that are defined by Kconfig, use geometry information provided by underlying MTD device. This is a prepration step for removing CONFIG_S5J_FLASH_XXX that are not actually configurable, but in Kconfig so making people confused.
@@ -41,8 +41,8 @@ int sss_ro_read(unsigned int start_offset, unsigned char *buf, unsigned int byte FAR struct inode *pnode = NULL; char *devname = sss_get_flash_device_name(); unsigned char *read_buf = NULL; - unsigned int start_sector = 0, end_sector = 0; - unsigned int nsector = 0; + unsigned int start_sector, end_se...
nva/nvapy: Expose endian type to Python module NvaCard_.endian (0 = little-endian, 1 = big-endian)
@@ -3,6 +3,7 @@ cdef extern from "nvhw/chipset.h": unsigned pmc_id int chipset int card_type + int endian cdef extern from "nva.h": struct nva_card: @@ -69,6 +70,7 @@ cdef NvaCard_ nva_wrapcard(nva_card *ccard): card.chipset = ccard.chipset.chipset card.pmc_id = ccard.chipset.pmc_id card.card_type = ccard.chipset.card_...
zephyr/test/i2c/src/main.c: Format with clang-format BRANCH=none TEST=none
@@ -27,7 +27,6 @@ static void test_i2c_port_count(void) /* Test case main entry. */ void test_main(void) { - ztest_test_suite(test_i2c, - ztest_user_unit_test(test_i2c_port_count)); + ztest_test_suite(test_i2c, ztest_user_unit_test(test_i2c_port_count)); ztest_run_test_suite(test_i2c); }
Scripts: Remove checks for deleted plugins
@@ -216,9 +216,7 @@ is_not_rw_storage() { -o "x$PLUGIN" = "xaugeas" \ -o "x$PLUGIN" = "xcsvstorage" \ -o "x$PLUGIN" = "xdpkg" \ - -o "x$PLUGIN" = "xregexstore" \ -o "x$PLUGIN" = "xpasswd" \ - -o "x$PLUGIN" = "xsimplespeclang" \ -o "x$PLUGIN" = "xmozprefs" \ -o "x$PLUGIN" = "xfile" \ -o "x$PLUGIN" = "xruby" \ @@ -229,17...
docs: add a note for deep sleep crc check
@@ -100,3 +100,18 @@ For example, the equivalent example in ``rtc_wake_stub_counter.c``:: The second way is a better option if you need to use strings, or write other more complex code. To reduce wake-up time use the `CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP` Kconfig option, see more information in :doc:`Fast boot...
gadgets/snapshot/process: Enable tid column when -t/--showThreads is used
@@ -35,6 +35,11 @@ type ProcessParser struct { } func newProcessParser(outputConfig *commonutils.OutputConfig, flags *ProcessFlags, cols *columns.Columns[types.Event], options ...commonutils.Option) (SnapshotParser[types.Event], error) { + if flags.showThreads { + col, _ := cols.GetColumn("tid") + col.Visible = true + ...
BND: Update timeref usage
@@ -762,8 +762,8 @@ void DEV_BindingTableVerifyHandler(Device *device, const Event &event) } else { - const auto now = QDateTime::currentMSecsSinceEpoch(); - const auto dt = i->confirmedMsSinceEpoch() > 0 ? (now - i->confirmedMsSinceEpoch()) / 1000: -1; + const auto now = deCONZ::steadyTimeRef(); + const auto dt = isVa...
filter_kubernetes: register metadata
#include <fluent-bit/flb_upstream.h> #include <fluent-bit/flb_http_client.h> #include <fluent-bit/flb_pack.h> +#include <fluent-bit/flb_env.h> #include <fluent-bit/tls/flb_tls.h> #include <sys/types.h> @@ -229,6 +230,23 @@ static int refresh_token_if_needed(struct flb_kube *ctx) return 0; } +static void expose_k8s_meta...
Updater: Use native for directory write checking
@@ -26,14 +26,14 @@ BOOLEAN UpdaterCheckApplicationDirectory( HANDLE fileHandle; PPH_STRING fileName; - fileName = PhGetApplicationDirectoryFileNameWin32(&fileNameStringRef); + fileName = PhGetApplicationDirectoryFileName(&fileNameStringRef, TRUE); if (PhIsNullOrEmptyString(fileName)) return FALSE; - if (NT_SUCCESS(PhC...