message
stringlengths
6
474
diff
stringlengths
8
5.22k
out_s3: renamed flb_digest to flb_hash
#include <fluent-bit/flb_config_map.h> #include <fluent-bit/flb_aws_util.h> #include <fluent-bit/aws/flb_aws_compress.h> -#include <fluent-bit/flb_digest.h> +#include <fluent-bit/flb_hash.h> #include <fluent-bit/flb_crypto.h> #include <fluent-bit/flb_signv4.h> #include <fluent-bit/flb_scheduler.h> @@ -1468,7 +1468,7 @@...
u3: check for overflow in interpreter if guard page not present
@@ -1444,10 +1444,9 @@ _n_push(c3_ys mov, c3_ys off, u3_noun a) { u3R->cap_p += mov; - // XX define symbol to control guard page - // or switch to u3a_push() + // XX switch to u3a_push() // -#if 0 +#ifndef U3_GUARD_PAGE if ( 0 == off ) { if( !(u3R->cap_p > u3R->hat_p) ) { u3m_bail(c3__meme);
Reduce list of kernels in the dynamic arch build to make compilation complete reliably within the 1h limit again
@@ -55,7 +55,7 @@ before_build: - if [%COMPILER%]==[cl] cmake -G "Visual Studio 15 2017 Win64" .. - if [%WITH_FORTRAN%]==[no] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl -DMSVC_STATIC_CRT=ON .. - if [%WITH_FORTRAN%]==[yes] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=...
converted dchmod markdown to man page
-.\" Automatically generated by Pandoc 1.17.1 +.\" Automatically generated by Pandoc 1.19.1 .\" .TH "DCHMOD" "1" "" "" "" .hy +.SH NAME .PP -NAME +dchmod \- distributed chmod program +.SH SYNOPSIS .PP -dchmod \- distributed change mode program +\f[B]dchmod [OPTION] PATH...\f[] +.SH DESCRIPTION .PP -SYNOPSIS +Parallel M...
psa_tls12_prf_psk_to_ms_set_key(): add support for other secret input
@@ -5299,31 +5299,58 @@ static psa_status_t psa_tls12_prf_psk_to_ms_set_key( size_t data_length ) { psa_status_t status; - uint8_t pms[ 4 + 2 * PSA_TLS12_PSK_TO_MS_PSK_MAX_SIZE ]; - uint8_t *cur = pms; + const size_t pms_len = ( prf->state == PSA_TLS12_PRF_STATE_OTHER_KEY_SET ? + 4 + data_length + prf->other_secret_len...
Correct name "Linux" -> GNU+Linux "Arch Linux" -> Arch
@@ -115,8 +115,8 @@ Download, extract and compile GoAccess with: ### Distributions ### -It is easiest to install GoAccess on Linux using the preferred package manager -of your Linux distribution. Please note that not all distributions will have +It is easiest to install GoAccess on GNU+Linux using the preferred package...
settings-store: handle missing desk
:: [%desk @ ~] =* desk i.t.pax - ?> (~(has by settings) desk) [~ this] :: [%bucket @ @ ~] :: [%x %desk @ ~] =* desk i.t.t.pax - ?~ desk-settings=(~(get by settings) desk) [~ ~] - ``settings-data+!>(desk+u.desk-settings) + =/ desk-settings (~(gut by settings) desk ~) + ``settings-data+!>(desk+desk-settings) :: [%x %buck...
SR-MPLS: MPLS table checks
@@ -159,6 +159,10 @@ sr_mpls_policy_add (mpls_label_t bsid, mpls_label_t * segments, if (!sm->sr_policies_index_hash) sm->sr_policies_index_hash = hash_create (0, sizeof (mpls_label_t)); + /* MPLS SR policies cannot be created unless the MPLS table is present */ + if (~0 == fib_table_find (FIB_PROTOCOL_MPLS, MPLS_FIB_D...
BUFR: Fix assert
@@ -767,7 +767,7 @@ static int descriptor_get_min_max(bufr_descriptor* bd, long width, long referenc { /* Maximum value is allowed to be the largest number (all bits 1) which means it's MISSING */ unsigned long max1 = (1UL << width) - 1; /* Highest value for number with 'width' bits */ - DebugAssert(width > 0 && width ...
output: retry_limit allows a 'false' value for unlimited retries
@@ -290,7 +290,13 @@ int flb_output_set_property(struct flb_output_instance *out, char *k, char *v) } else if (prop_key_check("retry_limit", k, len) == 0) { if (tmp) { + if (strcmp(tmp, "false") == 0 || strcmp(tmp, "off") == 0) { + /* No limits for retries */ + out->retry_limit = -1; + } + else { out->retry_limit = ato...
audio: throw if miniaudio fails to initialize; This prevents a situation where miniaudio fails to initialize but the audio module is still usable.
@@ -215,12 +215,11 @@ static Spatializer* spatializers[] = { bool lovrAudioInit(const char* spatializer) { if (state.initialized) return false; - if (ma_context_init(NULL, 0, NULL, &state.context)) { - return false; - } + ma_result result = ma_context_init(NULL, 0, NULL, &state.context); + lovrAssert(result == MA_SUCCE...
doc: clarify valid array
@@ -24,7 +24,7 @@ an array or not. ## Decision Store length in metadata `array` of key, or keep metadata `array` empty if empty array. -Only children that have `#` syntax are allowed. +Only children that have `#` syntax are allowed in a valid array. The index start with `#0`. Both `keyAddName("#12")` or `keyAddBaseName...
sys: config: Allow LittleFS backend
@@ -22,12 +22,14 @@ syscfg.defs: value: 0 restrictions: - '!CONFIG_NFFS' + - '!CONFIG_LITTLEFS' - '!CONFIG_FCB2' - 'CONFIG_FCB_FLASH_AREA' CONFIG_NFFS: description: 'Config default storage is in NFFS' value: 0 restrictions: + - '!CONFIG_LITTLEFS' - '!CONFIG_FCB' - '!CONFIG_FCB2' CONFIG_FCB2: @@ -36,7 +38,16 @@ syscfg.d...
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure "can set sleep wake stub from stack in RTC RAM" would randomly fail on S3 due to stack overflow. Fixed wrong usage of stack size and slightly increased it.
@@ -324,11 +324,12 @@ static void prepare_wake_stub_from_rtc(void) a memory capability (as it's an implementation detail). So to test this we need to allocate the stack statically. */ + #define STACK_SIZE 1500 #if CONFIG_IDF_TARGET_ESP32S3 - uint8_t *sleep_stack = (uint8_t *)heap_caps_malloc(1024, MALLOC_CAP_RTCRAM); +...
Changed default P/Q values for CGEMM and ZGEMM (Power10 only)
@@ -2471,8 +2471,8 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define SGEMM_DEFAULT_Q 512 #define DGEMM_DEFAULT_Q 512 -#define CGEMM_DEFAULT_Q 1026 -#define ZGEMM_DEFAULT_Q 1026 +#define CGEMM_DEFAULT_Q 384 +#define ZGEMM_DEFAULT_Q 384 #define SGEMM_DEFAULT_R 4096 #define DGEMM_DEFAULT_...
docs: Mark network related chapters as updated for C6
@@ -46,7 +46,6 @@ api-guides/RF_calibration api-guides/unit-tests api-guides/deep-sleep-stub api-guides/blufi -api-guides/lwip api-guides/coexist api-guides/flash_psram_config api-guides/usb-serial-jtag-console @@ -149,15 +148,12 @@ api-reference/peripherals/rmt api-reference/kconfig api-reference/network api-reference...
posix: dont overwrite posixsrv's oid in open
@@ -369,6 +369,8 @@ int posix_open(const char *filename, int oflag, char *ustack) open_file_t *f; mode_t mode; + hal_memset(&pipesrv, 0xff, sizeof(oid_t)); + if ((proc_lookup("/dev/posix/pipes", NULL, &pipesrv)) < 0) ; /* that's fine */ @@ -376,7 +378,6 @@ int posix_open(const char *filename, int oflag, char *ustack) r...
Try disabling address.wast
@@ -235,10 +235,9 @@ class Wasm3(): self.run() try: if self.loaded: - res = self.load(self.loaded) - print(res) + self.load(self.loaded) except Exception as e: - print(e) + pass break except Exception as e: print(f"wasm3: {e} => retry") @@ -288,8 +287,6 @@ class Wasm3(): else: error = "Timeout" - print("Last output: " ...
Added extern C {} wrapper consistent with other headers in include/sys
@@ -72,10 +72,28 @@ struct utsname char machine[SYS_NAMELEN]; /* Machine hardware */ }; +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +#undef EXTERN +#if defined(__cplusplus) ...
schemas CHANGE add enum for YANG versions and slightly change struct lysp_module
@@ -500,6 +500,15 @@ struct lysp_notif { uint16_t flags; /**< [schema node flags](@ref snodeflags) - only LYS_STATUS_* values are allowed */ }; +/** + * @brief supported YANG schema version values + */ +typedef enum LYS_VERSION { + LYS_VERSION_UNDEF = 0, /**< no specific version, YANG 1.0 as default */ + LYS_VERSION_1_...
test(kdb-import): add shell-recorder tests verify that format and provider are accepted
@@ -82,6 +82,33 @@ To import a configuration stored in the `ini` format in a file called `example.i To restore a backup (stored as `sw.ecf`) of a user's configuration below `system/sw`:<br> `cat sw.ecf | kdb import system/sw` +To import a sample `json` content with the `yajl` plugin: +```sh +# import two keys from a js...
zuse: include all relevant azimuth addresses
++ azimuth 0x223c.067f.8cf2.8ae1.73ee.5caf.ea60.ca44.c335.fecb :: + ++ ecliptic + 0x6ac0.7b7c.4601.b5ce.11de.8dfe.6335.b871.c7c4.dd4d + :: ++ linear-star-release 0x86cd.9cd0.992f.0423.1751.e376.1de4.5cec.ea5d.1801 :: ++ azimuth 0x308a.b6a6.024c.f198.b57e.008d.0ac9.ad02.1988.6579 :: + ++ ecliptic + 0x8b9f.86a2.8921.d9c7...
doc: update README technical community meeting Add a mention of the weekly Technical Community meeting to the repo's README, with links to the meeting information in the wiki.
@@ -31,6 +31,13 @@ its members and the User Community to get the most out of Project ACRN. Welcome to the project ARCN community! +We're now holding weekly Technical Community Meetings and encourage you +to call in and learn more about the project. Meeting information is on +the `TCM Meeting page`_ in our `ACRN wiki <h...
Set JANET_DIST_DIR on release.
@@ -4,7 +4,7 @@ script: - make test - sudo make install - make test-install -- make build/janet-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.tar.gz +- JANET_DIST_DIR=janet-${TRAVIS_TAG}-${TRAVIS_OS_NAME} make build/janet-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.tar.gz compiler: - clang - gcc
[ drivers/usb]Fixed a bug may cause stackover flow
@@ -162,6 +162,10 @@ rt_err_t rt_usbh_attatch_instance(uinst_t device) /* alloc memory for configuration descriptor */ device->cfg_desc = (ucfg_desc_t)rt_malloc(cfg_desc.wTotalLength); + if(device->cfg_desc == RT_NULL) + { + return RT_ENOMEM; + } rt_memset(device->cfg_desc, 0, cfg_desc.wTotalLength); /* get full config...
Node.js: checking for exception after running JS code from C++.
@@ -277,7 +277,7 @@ void Unit::request_handler(nxt_unit_request_info_t *req) { Unit *obj; - napi_value socket, request, response, global, server_obj; + napi_value socket, request, response, global, server_obj, except; napi_value emit_events, events_res, async_name, resource_object; napi_status status; napi_async_contex...
gnu7 default in v1.3.1
@@ -102,17 +102,25 @@ update_pkg_if_link () { perl -pi -e 's/project=\'\S+\'/project=\'${branchNew}\'/ ${localdir}/_link || ERROR "unable to update parent in _link for $1" fi + # update to latest gnu compiler family + gnu_family=gnu7 + + echo $1 | grep -q gnu + if [ $? -eq 0 ];then + echo "Updating _link for gnu compil...
Swapped to simpler obs residual model
@@ -404,23 +404,10 @@ static bool map_obs_data(void *user, const struct CnMat *Z, const struct CnMat * SurviveKalmanTracker *tracker = (SurviveKalmanTracker *)user; if(y) { subnd(cn_as_vector(y), cn_as_const_vector(Z), cn_as_const_vector(x_t), 7); - //quatfind(cn_as_vector(y) + 3, cn_as_const_vector(x_t) + 3, cn_as_con...
apps.c: Fix crash in case uri arg of IS_HTTP or IS_HTTPS is NULL
@@ -469,10 +469,10 @@ CONF *app_load_config_modules(const char *configfile) return conf; } -#define IS_HTTP(uri) \ - (strncmp(uri, OSSL_HTTP_PREFIX, strlen(OSSL_HTTP_PREFIX)) == 0) -#define IS_HTTPS(uri) \ - (strncmp(uri, OSSL_HTTPS_PREFIX, strlen(OSSL_HTTPS_PREFIX)) == 0) +#define IS_HTTP(uri) ((uri) != NULL \ + && st...
kdb-complete: use reference type to prevent copying
@@ -317,7 +317,7 @@ void CompleteCommand::addNamespaces (map<Key, pair<int, int>> & hierarchy, Cmdli { // since ens are numbers, there is no way to get a string representation if not found in that case bool found = false; - for (const string ns : namespaces) + for (const string & ns : namespaces) { found = found || ckd...
fix warning on MSVC 'function' : different 'const' qualifiers
@@ -528,7 +528,7 @@ static void DeleteConfig(Config* const config) { if (config != NULL) { free(config->args_); if (config->own_argv_) { - free(config->argv_); + free((void*)config->argv_); WebPDataClear(&config->argv_data_); } memset(config, 0, sizeof(*config));
[Fix] Remove patch large data
@@ -74,14 +74,12 @@ uint16_t data_count = 0; uint16_t data_size = 0; uint16_t crc_val = 0; static int64_t ll_rx_timestamp = 0; -uint16_t large_data_num = 0; /******************************************************************************* * Function ***********************************************************************...
Trying yo fix (again) the windows issue by moving the arrays to inside the InitializeBodyFlare function.
@@ -883,6 +883,7 @@ struct BODY { double *daFFD; double *daLXUVFlare; + // GALHABIT int bGalHabit; /**< Use galhabit module */ double dPeriQ; /**< Pericenter distance */
doc: note that the BN_new() initialises the BIGNUM BN_new() and BN_secure_new() not only allocate memory, but also initialise it to deterministic value - 0. Document that behaviour to make it explicit
@@ -36,7 +36,8 @@ If B<a> is NULL, nothing is done. =head1 RETURN VALUES BN_new() and BN_secure_new() -return a pointer to the B<BIGNUM>. If the allocation fails, +return a pointer to the B<BIGNUM> initialised to the value 0. +If the allocation fails, they return B<NULL> and set an error code that can be obtained by L<...
CLEANUP: refactored the main function of collection delete thread.
@@ -5664,6 +5664,7 @@ static void *collection_delete_thread(void *arg) { struct default_engine *engine = arg; hash_item *it; + coll_meta_info *info; int current_ssl; uint32_t evict_count; uint32_t bg_evict_count = 0; @@ -5672,9 +5673,28 @@ static void *collection_delete_thread(void *arg) while (engine->initialized) { i...
mesh: Fix typo when deleting app key in CDB This commit sets `net_idx` to `BT_MESH_KEY_UNUSED` when deleting app key in cdb. this is port of
@@ -359,7 +359,7 @@ void bt_mesh_cdb_app_key_del(struct bt_mesh_cdb_app_key *key, bool store) bt_mesh_clear_cdb_app_key(key); } - key->net_idx = BT_MESH_ADDR_UNASSIGNED; + key->net_idx = BT_MESH_KEY_UNUSED; memset(key->keys, 0, sizeof(key->keys)); }
Fix crash on startup on Oculus driver
@@ -83,6 +83,8 @@ static ovrInputState *refreshButtons(void) { } static bool oculus_init(float supersample, float offset, uint32_t msaa) { + arr_init(&state.textures, realloc); + ovrResult result = ovr_Initialize(NULL); if (OVR_FAILURE(result)) { return false; @@ -112,6 +114,7 @@ static void oculus_destroy(void) { for ...
apps/wm_test: remove additional args remove additional args
#pragma once #define WT_LOG(tag, fmt, args...) \ - printf(tag"[T%d] "fmt"\t%s:%d\n", getpid(), ##args, __FUNCTION__, __LINE__, ##args) + printf(tag "[T%d] "fmt"\t%s:%d\n", getpid(), ##args, __FUNCTION__, __LINE__) #define WT_LOGE(tag, fmt, args...) \ - printf(tag"[ERR][T%d] "fmt"\t%s:%d\n", getpid(), ##args, __FUNCTION...
Directory Value: Use separate contract function
#include <kdbhelper.h> -int elektraDirectoryvalueGet (Plugin * handle ELEKTRA_UNUSED, KeySet * returned, Key * parentKey) -{ - if (!elektraStrCmp (keyName (parentKey), "system/elektra/modules/directoryvalue")) +/** + * @brief This function returns a key set containing the contract of this plugin. + * + * @return A cont...
docs - pxf with oss greenplum requires that the pxf server/agent bits be built and installed separately refer to pxf readmes in greenplum database and apache hawq repos
@@ -52,4 +52,6 @@ the Greenplum hosts. - The deprecated <codeph>gpcheck</codeph> management utility and its replacement <codeph>gpsupport</codeph> are only supported with Pivotal Greenplum Database. +- To use the Greenplum Platform Extension Framework (PXF) with open source Greenplum Database, you must separately build...
armv8-m: Fix pthread_start syscall The 'arg' parameter is in R3, not in R2.
@@ -315,8 +315,9 @@ int arm_svcall(int irq, void *context, void *arg) * At this point, the following values are saved in context: * * R0 = SYS_pthread_start - * R1 = entrypt - * R2 = arg + * R1 = startup (trampoline) + * R2 = entrypt + * R3 = arg */ #if !defined(CONFIG_BUILD_FLAT) && !defined(CONFIG_DISABLE_PTHREAD) @@...
more flags for the gcc compiler
@@ -69,17 +69,20 @@ AC_SUBST(LIBAGE) AC_LANG([C]) AC_PROG_CC_C99 AS_IF([test "$GCC" = yes], - [AX_APPEND_COMPILE_FLAGS([-Wall], [CFLAGS]) + [AX_APPEND_COMPILE_FLAGS([-Wall -Wextra], [CFLAGS]) dnl Be careful about adding the -fexceptions option; some versions of dnl GCC don't support it and it causes extra warnings that...
test for all RPMs in meta-package
@@ -14,6 +14,10 @@ rm=$RESOURCE_MANAGER @test "[nagios] check for RPM" { run check_if_rpm_installed "nagios${DELIM}" assert_success + run check_if_rpm_installed "nagios-plugins-all${DELIM}" + assert_success + run check_if_rpm_installed "nrpe${DELIM}" + assert_success } @test "[nagios] test check_http" {
copy wrapper at sameplace
@@ -1071,9 +1071,7 @@ const struct operator_s* operator_copy_wrapper_sameplace(unsigned int N, const l const struct operator_s* operator_copy_wrapper(unsigned int N, const long* strs[N], const struct operator_s* op) { - int cpu = 0; - - return operator_copy_wrapper_sameplace(N, strs, op, &cpu); + return operator_copy_w...
Add wait for Db to sleep 1 sec before checking for db up.
@@ -557,11 +557,11 @@ class PSQL(Command): down = True results = {'rc':0, 'stdout':'', 'stderr':''} for i in range(60): + time.sleep(1) res = PSQL.run_sql_command('select count(*) from gp_dist_random(\'gp_id\');', results=results) if results['rc'] == 0: down = False break - time.sleep(1) if down: raise PSQLException('d...
nat: adding support for icmp-error msg Extending tests. Type: test
@@ -914,6 +914,41 @@ class NAT44EDTestCase(VppTestCase): class TestNAT44ED(NAT44EDTestCase): """ NAT44ED Test Case """ + def test_icmp_error(self): + """ NAT44ED test ICMP error message with inner header""" + + payload = "H" * 10 + + self.nat_add_address(self.nat_addr) + self.nat_add_inside_interface(self.pg0) + self.n...
[mod_extforward] skip after HANDLER_COMEBACK do not re-run mod_extforward uri handler after HANDLER_COMEBACK add some additional comments
@@ -128,6 +128,7 @@ typedef struct { /* connection-level state applied to requests in handle_request_env */ array *env; int ssl_client_verify; + uint32_t request_count; } handler_ctx; @@ -572,6 +573,7 @@ static int mod_extforward_set_addr(request_st * const r, plugin_data *p, const c if (extforward_check_proxy) { http_...
wifi_prov_mgr : Free memory allocated by cJSON_Print
@@ -296,7 +296,9 @@ static esp_err_t wifi_prov_mgr_start_service(const char *service_name, const cha /* Set version information / capabilities of provisioning service and application */ cJSON *version_json = wifi_prov_get_info_json(); - ret = protocomm_set_version(prov_ctx->pc, "proto-ver", cJSON_Print(version_json)); ...
[riscv-tests] Adapt Test Virtual Machines to Xpulp toolchain
@@ -227,7 +227,7 @@ reset_vector: \ //----------------------------------------------------------------------- #define RVTEST_CODE_END \ - unimp + csrrw x0, cycle, x0 //----------------------------------------------------------------------- // Pass/Fail Macro
Fix 9front build Patched locally, forgot to pusht .
use sys use "alloc" +use "blat" use "cstrconv" use "die" use "extremum" @@ -9,10 +10,12 @@ use "option" use "result" use "slcp" use "sldup" +use "sleq" use "slpush" use "slurp" -use "blat" use "threadhooks" +use "traits" + pkg std = const getenv : (name : byte[:] -> option(byte[:]))
[IQ change] Halve angular_steppings density This change reduces the number of angular steppings used for testing weight quantization levels, which is one of the most significant processing costs in the codec. This reduces image quality by ~0.01 dB, and improves performance by ~10%.
#include <stdio.h> -static const float angular_steppings[] = { - 1.0, 1.125, 1.25, 1.375, 1.5, 1.625, 1.75, 1.875, - - 2.0, 2.25, 2.5, 2.75, - 3.0, 3.25, 3.5, 3.75, - 4.0, 4.25, 4.5, 4.75, - 5.0, 5.25, 5.5, 5.75, - 6.0, 6.25, 6.5, 6.75, - 7.0, 7.25, 7.5, 7.75, - - 8.0, 8.5, - 9.0, 9.5, - 10.0, 10.5, - 11.0, 11.5, - 12....
Update createdb.sql Remove the removed colum "coin" from the primary key
@@ -48,7 +48,7 @@ CREATE TABLE balances created TIMESTAMP NOT NULL, updated TIMESTAMP NOT NULL, - primary key(poolid, address, coin) + primary key(poolid, address) ); CREATE TABLE balance_changes
doc: fix wrong register description regarding to ethernet SMI
@@ -79,7 +79,7 @@ typedef volatile struct { struct { uint32_t miibusy : 1; /*This bit should read logic 0 before writing to PHY Addr Register and PHY data Register.During a PHY register access the software sets this bit to 1'b1 to indicate that a Read or Write access is in progress. PHY data Register is invalid until t...
README.md: Use version 2.05.50
@@ -7,8 +7,8 @@ As hardware the [RaspBee](https://www.dresden-elektronik.de/raspbee?L=1&ref=gh) To learn more about the REST API itself please visit the [REST API Documentation](http://dresden-elektronik.github.io/deconz-rest-doc/) page. -### Phoscon App Beta -The *Phoscon App* is the successor of the current WebApp (W...
Flatten Jenkins artifact directories
@@ -289,14 +289,10 @@ pipeline { dir('upload') { unstash 'astcenc-linux-x64-hash' unstash 'astcenc-macos-x64-hash' - } - dir('upload/linux-x64') { + unstash 'astcenc-macos-aarch64-hash' + unstash 'astcenc-linux-x64' - } - dir('upload/macos-x64') { unstash 'astcenc-macos-x64' - } - dir('upload/macos-aarch64') { unstash ...
dprint: add missing doccords
/- *sole ::> a library for printing doccords :: -=/ debug & +=/ debug | => :> types used by doccords |% %dprint-types (print-overview [%header `['compiled against: ' ~] compiled]~ styles) == :: +:> +print-chapter: renders documentation for a single chapter ++ print-chapter |= [name=tape doc=what sut=type con=coil] ^- (...
Update README.md Add note about windows binaries (refs
@@ -24,7 +24,7 @@ Two different transport layers are used: ## Installation -Currently there are no binaries for Windows available. +Currently there are no binaries for Windows available (see issue [#166](https://github.com/texane/stlink/issues/166)). It is known to compile and work with MinGW/Cygwin. For Debian Linux b...
Fixed text in menu text
@@ -219,7 +219,7 @@ void *GetDriverByConfig(SurviveContext *ctx, const char *name, const char *confi int prefixLen = strlen(name); if (verbose > 1) - SV_INFO("Available %s:", name); + SV_INFO("Available %ss:", name); while ((DriverName = GetDriverNameMatching(name, i++))) { void *p = GetDriver(DriverName); @@ -237,7 +2...
dcmp: improve the usage() We have already supported multi output files with different filters, likes following: dcmp foo_src foo_dst -o EXIST=ONLY_SRC,TYPE=DIFFER,PERM=DIFFER,MTIME=DIFFER:fileA -o MTIME=DIFFER:fileB but the usage doesn't say it, so add it now.
@@ -51,6 +51,9 @@ static void print_usage(void) printf(" -b, --base - do base comparison\n"); printf(" -o, --output field0=state0@field1=state1,field2=state2:file " "- write list to file\n"); + printf(" multiple output files supports, e.g.\n"); + printf(" -o EXIST=ONLY_SRC,TYPE=DIFFER,PERM=DIFFER,MTIME=DIFFER:" + "file...
ble_mesh: fix MESH/NODE/CFG/HBS/BV-01-C related bug
@@ -3121,15 +3121,10 @@ static void hb_sub_send_status(struct bt_mesh_model *model, net_buf_simple_add_u8(&msg, status); net_buf_simple_add_le16(&msg, cfg->hb_sub.src); net_buf_simple_add_le16(&msg, cfg->hb_sub.dst); - if (cfg->hb_sub.src == BLE_MESH_ADDR_UNASSIGNED || - cfg->hb_sub.dst == BLE_MESH_ADDR_UNASSIGNED) { -...
Fix for people who are experiencing it.
$% {$diff lime} :: {$poke wire dock pear} :: {$peer wire dock path} :: + {$pull wire dock $~} :: == :: ++ work ::> interface action $% :: circle management :: ^- (quip move _..prep) ?~ old ta-done:ta-init:ta - [~ ..prep(+<+ u.old)] + :_ ..prep(+<+ u.old) + [[ost.bol %pull / server ~] ~] :: ::> || ::> || %utility
Check skipped entity handler
@@ -1756,6 +1756,18 @@ END_TEST static void *handler_data = NULL; /* Count of the number of times the comment handler has been invoked */ static int comment_count = 0; +/* Count of the number of skipped entities */ +static int skip_count = 0; + +static void XMLCALL +param_check_skip_handler(void *userData, + const XML_...
upstream: monitor idle keepalive connections for 'disconnections'
@@ -156,7 +156,7 @@ static struct flb_upstream_conn *create_conn(struct flb_upstream *u) u->n_connections++; if (conn->u->flags & FLB_IO_TCP_KA) { - flb_debug("[upstream] KA connection #%i to %s:%i created", + flb_debug("[upstream] KA connection #%i to %s:%i is connected", conn->fd, u->tcp_host, u->tcp_port); } @@ -252...
omniboxResult: scroll into view if necessary
@@ -10,6 +10,18 @@ export class OmniboxResult extends Component { hovered: false }; this.setHover = this.setHover.bind(this); + this.result = React.createRef(); + } + + componentDidUpdate(prevProps) { + const { props, state } = this; + if (prevProps && + !state.hovered && + prevProps.selected !== props.selected && + pr...
Removed fake test from python port interfacing with ruby.
@@ -36,13 +36,9 @@ class py_port_test(unittest.TestCase): self.assertEqual(metacall.metacall('say_null'), None); - # TODO: Solve None return - #self.assertEqual(metacall.metacall('say_multiply', 3, 4), 12); - self.assertEqual(metacall.metacall('say_multiply', 3, 4), None); + self.assertEqual(metacall.metacall('say_mult...
Show test-suite.log after running tests in GitHub workflow.
@@ -33,7 +33,9 @@ jobs: - name: Build run: make clean && make - name: Run tests - run: make check + run: | + make check + cat test-suite.log mingw-build: runs-on: ubuntu-latest
Turning off USM till we have a machine that can test this
#include <iostream> #include <omp.h> -#pragma omp requires unified_shared_memory -#define IS_USM 1 +//#pragma omp requires unified_shared_memory +#define IS_USM 0 int main() { int *a = (int *) malloc(2*sizeof(int));
use %zu for printf size_t
@@ -1361,7 +1361,7 @@ size_t picoquic_log_qoe_frame(FILE* F, const uint8_t* bytes, size_t bytes_max) byte_index = bytes_max; } else { - fprintf(F, " QOE, path: %" PRIu64 ", length: %" PRIu64 ", v: ", + fprintf(F, " QOE, path: %" PRIu64 ", length: %zu, v: ", path_id, length); for (size_t i = 0; i < 10 && i < length; i++...
bugid:22305881:according new bootlaoder modified set boot
@@ -126,6 +126,8 @@ int ota_hal_read(unsigned int *off, char *out_buf, unsigned int out_buf_len) static int hal_ota_switch(uint32_t ota_len, uint16_t ota_crc) { + int ret = 0; + int offset = 0; uint32_t addr = 0; ota_hdr_t ota_hdr = { .dst_adr = 0xA000, @@ -133,7 +135,11 @@ static int hal_ota_switch(uint32_t ota_len, u...
Improved error message The new error message now points to the location of the missing delimiter, instead of only to the location of the opening token.
@@ -37,19 +37,18 @@ function Parser:init(lexer) self.curr_line = 0 self.curr_indent = 0 self.indent_of_token = {} -- { token => integer } - self.mismatched_openers = {} -- list of token + self.mismatched_indentation = {} -- list of tokens (2i+1 = open, 2i+2 = close) setmetatable(self.indent_of_token, { __mode = "k" }) ...
mm/heap: Skip memset backtrace buffer
tcb = nxsched_get_tcb(tmp->pid); \ if ((heap)->mm_procfs.backtrace || (tcb && tcb->flags & TCB_FLAG_HEAP_DUMP)) \ { \ - memset(tmp->backtrace, 0, sizeof(tmp->backtrace)); \ - backtrace(tmp->backtrace, CONFIG_MM_BACKTRACE); \ + int n = backtrace(tmp->backtrace, CONFIG_MM_BACKTRACE); \ + if (n < CONFIG_MM_BACKTRACE) \ + ...
Update test-conversions.lua
@@ -4,7 +4,7 @@ return require('lib/tap')(function (test) assert(string.format("%x", 29913653248) == "6f6fe2000") assert(string.format("%x", 32207650816) == "77fb9c000") else - print('skiped') + print('skipped') end end) end)
Initialize ip4_reass_lock of map_main to zero
@@ -2241,6 +2241,7 @@ map_init (vlib_main_t * vm) mm->ip4_reass_pool = 0; mm->ip4_reass_lock = clib_mem_alloc_aligned (CLIB_CACHE_LINE_BYTES, CLIB_CACHE_LINE_BYTES); + *mm->ip4_reass_lock = 0; mm->ip4_reass_conf_ht_ratio = MAP_IP4_REASS_HT_RATIO_DEFAULT; mm->ip4_reass_conf_lifetime_ms = MAP_IP4_REASS_LIFETIME_DEFAULT; ...
mdns: fix memory leak in mdns_free when adding delegated hostnames
@@ -4181,6 +4181,13 @@ static void _mdns_free_action(mdns_action_t * action) pbuf_free(action->data.rx_handle.packet->pb); free(action->data.rx_handle.packet); break; + case ACTION_DELEGATE_HOSTNAME_ADD: + free((char *)action->data.delegate_hostname.hostname); + free_address_list(action->data.delegate_hostname.address_...
utils: trace: Remove github.com/sirupsen/logrus. utils.trace is thought to be used from CLI, so better to print on standard output or error than creating a logger at each call.
@@ -28,8 +28,6 @@ import ( "text/tabwriter" "time" - log "github.com/sirupsen/logrus" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/runtime/serializer" @@ -120,7 +118,7 @@ func printTraceFeedback(f func(format string, args ...interface{}), m map[string } } -fu...
Shell Recorder: Remove useless commands
@@ -67,11 +67,9 @@ execute() cp "${DBFile}" "${DBFile}.1" 2>/dev/null ;; Ini) - rm ./previousState 2>/dev/null "$KDBCOMMAND" export "$Mountpoint" ini > ./previousState 2>/dev/null ;; Dump) - rm ./previousState 2>/dev/null "$KDBCOMMAND" export "$Mountpoint" dump > ./previousState 2>/dev/null ;; esac
BugID:17651887:Fix HAL_TCP_Establish function inconsistent with statement
@@ -223,7 +223,7 @@ int32_t HAL_TCP_Read(uintptr_t fd, char *buf, uint32_t len, uint32_t timeout_ms) return (0 != len_recv) ? len_recv : err_code; } #else -intptr_t HAL_TCP_Establish(const char *host, uint16_t port) +uintptr_t HAL_TCP_Establish(_IN_ const char *host, _IN_ uint16_t port) { return 0; }
Update Luos version for Release v2.0.1
"name": "Luos", "keywords": "robus,network,microservice,luos,operating system,os,embedded,communication,service,ST", "description": "Luos turns your embedded system into services like microservices architecture does it in software.", - "version": "2.0.0", + "version": "2.0.1", "authors": { "name": "Luos", "url": "https...
Export PhImageListGetIconSize
@@ -1144,6 +1144,15 @@ PhImageListGetIcon( _In_ UINT Flags ); +PHLIBAPI +BOOLEAN +NTAPI +PhImageListGetIconSize( + _In_ HIMAGELIST ImageListHandle, + _Out_ PINT cx, + _Out_ PINT cy + ); + PHLIBAPI BOOLEAN NTAPI
task: use task tag reference
@@ -233,7 +233,7 @@ struct flb_task *flb_task_create(uint64_t ref_id, continue; } - if (flb_router_match(tag_buf, tag_len, o_ins->match + if (flb_router_match(task->tag, task->tag_len, o_ins->match #ifdef FLB_HAVE_REGEX , o_ins->match_regex #endif
DDF for Nedis temperature/humidity sensor (_TZ3000_fie1dpkm)
{ "schema": "devcap1.schema.json", - "manufacturername": ["_TZ3000_yd2e749y", "_TZ3000_fllyghyj"], - "modelid": ["TS0201", "TS0201"], + "manufacturername": ["_TZ3000_yd2e749y", "_TZ3000_fllyghyj", "_TZ3000_fie1dpkm"], + "modelid": ["TS0201", "TS0201", "TS0201"], "vendor": "Tuya", "product": "Temperature and humidity se...
Add target to build clap-tests
"configurePreset": "ninja", "displayName": "Build ninja-release", "description": "Build ninja Release configuration", - "configuration": "RelWithDebInfo" + "configuration": "RelWithDebInfo", + "targets": ["clap-tests"] } ], "testPresets": [
samples: remove extra option for dm remove extra "-l com1,stdio" option for dm
@@ -287,7 +287,6 @@ else fi acrn-dm -A -m $mem_size -c $2$boot_GVT_option"$GVT_args" -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \ - -l com1,stdio \ -s 9,virtio-net,$tap \ -s 3,virtio-blk$boot_dev_flag,/data/$5/$5.img \ -s 7,passthru,0/15/0 \
Add SceGpuEs4ForDriver nids
@@ -1993,6 +1993,8 @@ modules: kernel: true nid: 0x54802381 functions: + OSAllocMem: 0x68815236 + OSFreeMem: 0x0BB49287 OSGetCurrentProcessIDKM: 0x6C6F2BEA OSMemCopy: 0x771EC61E OSMemSet: 0x50494916
OcConfigurationLib: Fix typos in schema
@@ -79,7 +79,7 @@ mAcpiBlockSchema = OC_SCHEMA_DICT (NULL, mAcpiBlockSchemaEntry); STATIC OC_SCHEMA mAcpiPatchSchemaEntry[] = { - OC_SCHEMA_STRING_IN ("Comment", OC_ACPI_BLOCK_ENTRY, Comment), + OC_SCHEMA_STRING_IN ("Comment", OC_ACPI_PATCH_ENTRY, Comment), OC_SCHEMA_INTEGER_IN ("Count", OC_ACPI_PATCH_ENTRY, Count), OC...
Port currrent postgresql content for ldapsearchfilter in pg_hba.conf
@@ -254,13 +254,18 @@ ldapbindpasswd ldapsearchattribute : Attribute to match against the user name in the search when doing search+bind authentication. -Example: +ldapsearchfilter +: Beginning with Greenplum 6.22, this attribute enables you to provide a search filter to use when doing search+bind authentication. Occur...
[chain] Disable tx execution if done already
@@ -312,11 +312,14 @@ type blockExecutor struct { sdb *state.ChainStateDB execTx TxExecFn txs []*types.Tx + commitOnly bool } func newBlockExecutor(cs *ChainService, bState *types.BlockState, block *types.Block) (*blockExecutor, error) { var exec TxExecFn + commitOnly := false + // The DPoS block factory excutes transa...
delete serial state
@@ -28,8 +28,8 @@ void setup() { Serial.begin(57600); DEBUG.begin(57600); - while (!Serial) - ; + // while (!Serial) + // ; connectProcessing(); connectRC100();
travis: add variable for add or not ASAN build
@@ -32,6 +32,7 @@ addons: - cmake-data before_install: - $CC --version + - if [ "$TRAVIS_OS_NAME" == "linux" ]; then CMAKE_OPTS=" -DENABLE_ASAN=1" AUTOTOOLS_OPTS=" --enable-asan"; fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then if [ "$CXX" = "g++" ]; then export CXX="g++-7" CC="gcc-7" EXTRA_LDFLAGS="-fuse-ld=gold"; else...
dma: make the error print buffer bigger
@@ -285,8 +285,8 @@ errval_t ioat_dma_channel_init(struct ioat_dma_device *dev, debug_printf(" %x channel error ERROR: %08x\n", dma_chan->id, ioat_dma_chan_err_rd(&chan->channel)); - static char buf[512]; - ioat_dma_chan_err_pr(buf, 512, &chan->channel); + static char buf[1024]; + ioat_dma_chan_err_pr(buf, 1024, &chan-...
pydiag: fix import of exit codes from os
@@ -28,7 +28,8 @@ import argparse import logging import sys from collections import OrderedDict -from os.path import basename, EX_OK, EX_USAGE, EX_SOFTWARE, EX_UNAVAILABLE +from os import EX_OK, EX_USAGE, EX_SOFTWARE, EX_UNAVAILABLE +from os.path import basename from nlb0 import nlb0 from nlb3 import nlb3 from nlb7 imp...
Fix use after free in c0sk_test unit test
@@ -1042,11 +1042,11 @@ retry: destroy_key_generator(kg); - c0snr_set_destroy(css); - err = c0sk_close(mkvdb.ikdb_c0sk); ASSERT_EQ(0, err); + c0snr_set_destroy(css); + destroy_mock_cn(mock_cn); } @@ -1502,11 +1502,11 @@ MTF_DEFINE_UTEST_PREPOST(c0sk_test, parallel_ctxn_put, no_fail_ctxn_pre, no_fail destroy_key_generat...
remove hard link to python 3.6 remove hard link to python 3.6
set -ex sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y -sudo add-apt-repository ppa:deadsnakes/ppa -y sudo apt-get update -DEPENDENCIES="unzip make indent kwstyle python3.6 python-pip libssl-dev" +DEPENDENCIES="unzip make indent kwstyle libssl-dev" sudo apt-get install -y ${DEPENDENCIES}
Mini optimized the spi_flash_init.c Delete the ";"
@@ -22,7 +22,7 @@ static int rt_hw_spi_flash_init(void) if (RT_NULL == rt_sfud_flash_probe("W25Q64", "spi30")) { return -RT_ERROR; - }; + } return RT_EOK; }
sse2: much faster saturated signed addition functions The improvement obviously varies by CPU, but for -DSIMDE_NO_NATIVE with msse2 it's about an order of magnitude faster. Compilers can actually vectorize this version.
@@ -453,13 +453,10 @@ simde_mm_adds_epi8 (simde__m128i a, simde__m128i b) { #else SIMDE__VECTORIZE for (size_t i = 0 ; i < (sizeof(r_.i8) / sizeof(r_.i8[0])) ; i++) { - if ((((b_.i8[i]) > 0) && ((a_.i8[i]) > (INT8_MAX - (b_.i8[i]))))) { - r_.i8[i] = INT8_MAX; - } else if ((((b_.i8[i]) < 0) && ((a_.i8[i]) < (INT8_MIN - ...
Minor fix when LV_LABEL_TEXT_SEL is 0
@@ -111,7 +111,9 @@ lv_obj_t * lv_ta_create(lv_obj_t * par, const lv_obj_t * copy) ext->cursor.type = LV_CURSOR_LINE; ext->cursor.valid_x = 0; ext->one_line = 0; +#if LV_LABEL_TEXT_SEL ext->text_sel_en = 0; +#endif ext->label = NULL; ext->placeholder = NULL;
cpeng: fix API functions to use correct registers Fix the following API functions to reference the shadow registers/fields: * hps_kernel_verify() * hps_ssbl_verify()
@@ -21,9 +21,9 @@ api: | def ce_fifo2_status() -> int: return CSR_CE2HOST_STATUS.CE_FIFO2_STS def hps_kernel_verify() -> int: - return CSR_HPS2HOST_RSP.KERNEL_VFY + return CSR_HPS2HOST_RSP_SHDW.KERNEL_VFY_SHDW def hps_ssbl_verify() -> int: - return CSR_HPS2HOST_RSP.SSBL_VFY + return CSR_HPS2HOST_RSP_SHDW.SSBL_VFY_SHDW ...
Use MEL commands to create and assign sets This fixes crash when undoing a sync.
#include <maya/MFnIntArrayData.h> #include <maya/MFnNumericAttribute.h> #include <maya/MFnNurbsCurve.h> -#include <maya/MFnSet.h> #include <maya/MFnSingleIndexedComponent.h> #include <maya/MFnStringArrayData.h> #include <maya/MFnTypedAttribute.h> @@ -1088,27 +1087,15 @@ SyncOutputGeometryPart::createOutputGroups( MFn::...
ci: redirect stderr into stdout in check.mk (again)
@@ -32,7 +32,7 @@ _check: _do-check: cmake $(CMAKE_ARGS) -H$(SRC_DIR) -B. make all - make check + exec 2>&1 ; make check _fuzz: $(FUZZ_ASAN) CC=clang CXX=clang++ $(MAKE) -f $(CHECK_MK) _check CMAKE_ARGS=-DBUILD_FUZZER=ON
hslua-marshalling: improve docs of Result type
@@ -46,7 +46,7 @@ import qualified HsLua.Core.Utf8 as Utf8 -- from the Lua stack. data Result a = Success a - | Failure ByteString [Name] + | Failure ByteString [Name] -- ^ Error message and stack of contexts deriving (Show, Eq, Functor) instance Applicative Result where