message
stringlengths
6
474
diff
stringlengths
8
5.22k
Avoid excessive OSSL_DECODER_do_all_provided calls OSSL_DECODER_CTX_add_extra was calling OSSL_DECODER_do_all_provided in a loop which was resulting in a large number of calls. Since OSSL_DECODER_do_all_provided is quite "heavy" this was causing performance issues.
@@ -343,6 +343,16 @@ struct collect_extra_decoder_data_st { size_t w_new_start, w_new_end; /* "new" decoders */ }; +DEFINE_STACK_OF(OSSL_DECODER) + +static void collect_all_decoders(OSSL_DECODER *decoder, void *arg) +{ + STACK_OF(OSSL_DECODER) *skdecoders = arg; + + if (OSSL_DECODER_up_ref(decoder)) + sk_OSSL_DECODER_p...
Update note expression
@@ -23,6 +23,7 @@ enum { CLAP_EVENT_MIDI_SYSEX, // midi attribute }; typedef int32_t clap_event_type; + typedef uint32_t clap_id; static const clap_id CLAP_INVALID_ID = UINT32_MAX; @@ -61,7 +62,7 @@ typedef struct clap_event_note_expression { int32_t key; int32_t channel; - double * values; // see expression for the ra...
Fix syntax of cipher string GH:
@@ -142,8 +142,8 @@ SKIP: { # security level 1 $proxy->clear(); $testtype = NO_SIG_ALGS_EXT; - $proxy->clientflags("-no_tls1_3 -cipher DEFAULT\@SECLEVEL=1"); - $proxy->ciphers("ECDHE-RSA-AES128-SHA\@SECLEVEL=1"); + $proxy->clientflags("-no_tls1_3 -cipher DEFAULT:\@SECLEVEL=1"); + $proxy->ciphers("ECDHE-RSA-AES128-SHA:\...
Fix SEGV when closing deCONZ
@@ -907,6 +907,7 @@ DeRestPluginPrivate::DeRestPluginPrivate(QObject *parent) : */ DeRestPluginPrivate::~DeRestPluginPrivate() { + plugin = nullptr; if (inetDiscoveryManager) { inetDiscoveryManager->deleteLater(); @@ -19859,10 +19860,15 @@ Resource *DeRestPluginPrivate::getResource(const char *resource, const QString &...
dev-tools/cmake: update logic to set --no-system-jsoncpp for both distros
@@ -59,8 +59,8 @@ of your choice. %if 0%{?sles_version} || 0%{?suse_version} --no-system-librhash \ --no-system-libuv \ ---no-system-jsoncpp \ %endif +--no-system-jsoncpp \ --no-qt-gui \ --prefix=%{install_path}
Fix sqliteGetAllSensorIdsCallback() never did anything The field "id" doesn't exist. This caused reusing sensor ids which were marked as deleted before.
@@ -4283,7 +4283,7 @@ static int sqliteGetAllSensorIdsCallback(void *user, int ncols, char **colval , { if (colval[i] && (colval[i][0] != '\0')) { - if (strcmp(colname[i], "id") == 0) + if (strcmp(colname[i], "sid") == 0) { bool ok; int id = QString(colval[i]).toInt(&ok);
sim: Remove copy_done check from revert_with_fails test In case of multi image boot this check fails, because copy_done flag set per images when an image swap has finished. When second image update is interrupted then copy_done flag already has set for first image.
@@ -828,11 +828,6 @@ impl Images { fails += 1; } - if !self.verify_trailers(&flash, 0, None, None, BOOT_FLAG_UNSET) { - warn!("copy_done should be unset"); - fails += 1; - } - let (x, _) = c::boot_go(&mut flash, &self.areadesc, None, false); if x != 0 { warn!("Should have finished test upgrade");
* Added gradlew to the fluter package
@@ -27,6 +27,7 @@ add_custom_target( COMMAND ${CMAKE_COMMAND} -E make_directory ${PUB_PUBLISH_DIR}/android COMMAND ${CMAKE_COMMAND} -E make_directory ${PUB_PUBLISH_DIR}/android/src + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/android/gradlew* ${PUB_PUBLISH_DIR}/android COMMAND ${CMAKE_COMMAND} -E copy...
Document PR to changelog
+15 November 2021: Tom + - Improve EDNS option handling, now also works for synthesised + responses such as local-data and server.id CH TXT responses. + 5 November 2021: George - Fix for #558: fix loop in comm_point->tcp_free when a comm_point is reclaimed more than once during callbacks.
Update README.md Use correct icon
@@ -43,8 +43,8 @@ These builds reflects the latest changes from the `develop` branch and are updat #### Linux -[![DEB](https://img.shields.io/static/v1.svg?label=&message=deb&color=blue&logo=linux&style=for-the-badge&logoColor=white)](https://circleci.com/api/v1.1/project/github/chrismaltby/gb-studio/latest/artifacts/0...
Fix nvidia HPC version checks
@@ -900,16 +900,15 @@ endif ifeq ($(C_COMPILER), PGI) PGCVERSIONGT20 := $(shell expr `$(CC) --version|sed -n "2p" |sed -e "s/[^0-9.]//g" |cut -d "." -f 1` \> 20) -PGCVERSIONGTEQ20 := $(shell expr `$(CC) --version|sed -n "2p" |sed -e "s/[^0-9.]//g" |cut -d "." -f 1` \>= 20) -PGCMINORVERSIONGE11 := $(shell expr `$(CC) --...
Added credits for localisations to changelog
@@ -32,10 +32,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Event groups allowing you to better organise your scripts. - Notes fields to project, scenes, actors and triggers. [@thomas-alrek](https://github.com/thomas-alrek) - Splash page now has a list of recently opened proje...
docs/hw/pciid: Document GM206-based GeForce GTX 750 v2
@@ -1475,6 +1475,7 @@ GM206 device id product ========== ======================================================== ``0x1401`` GM206 [GeForce GTX 960] +``0x1407`` GM206 [GeForce GTX 750 v2] ========== ======================================================== .. _pci-ids-gp100:
ames: don't repeat broken timers
=. peer-core (emit duct %pass /wake-fail %d %flog %crud %ames-wake u.error) :: + ?~ message-pump-state=(~(get by snd.peer-state) bone) + peer-core + ?~ next-wake.packet-pump-state.u.message-pump-state + peer-core + :: =/ =wire (make-pump-timer-wire her.channel bone) (emit duct %pass wire %b %wait (add now.channel ~s30)...
Move PSA init after taglen is set
@@ -900,6 +900,27 @@ int mbedtls_ssl_tls13_populate_transform( mbedtls_ssl_transform *transform, return( ret ); } + /* + * Setup other fields in SSL transform + */ + + if( ( ciphersuite_info->flags & MBEDTLS_CIPHERSUITE_SHORT_TAG ) != 0 ) + transform->taglen = 8; + else + transform->taglen = 16; + + transform->ivlen = ...
os/fs/smartfs: Combine smartfs chainheader definition smartfs_chainheader_s definition for all cases except CRC32 is same and hence, can be combined.
@@ -295,12 +295,6 @@ struct smartfs_chain_header_s { uint8_t used[4]; /* Number of bytes used in this sector */ uint8_t type; /* Type of sector entry (file or dir) */ }; -#elif defined(CONFIG_MTD_SMART_ENABLE_CRC) && defined(CONFIG_SMART_CRC_16) -struct smartfs_chain_header_s { - uint8_t type; /* Type of sector entry (...
options/posix: Stub initgroups
@@ -250,8 +250,8 @@ int setgroups(size_t, const gid_t *) { } int initgroups(const char *, gid_t) { - __ensure(!"Not implemented"); - __builtin_unreachable(); + mlibc::infoLogger() << "mlibc: initgroups is a stub" << frg::endlog; + return 0; } int putgrent(const struct group *, FILE *) {
Reword 'simple comparison' => 'inequality' in pgtrgm.sgml Discussion: Author: Jeff Janes
trigram-based index searches for <literal>LIKE</literal>, <literal>ILIKE</literal>, <literal>~</literal> and <literal>~*</literal> queries. Beginning in <productname>PostgreSQL</productname> 14, these indexes also support - the equality operator (simple comparison operators are not supported). + the equality operator (...
Update the SSL_CTX_set1_groups documentation Mention the brainpool curves in the documentation
@@ -48,15 +48,17 @@ preference order. For a TLS client the groups are used directly in the supported groups extension. For a TLS server the groups are used to determine the set of shared groups. Currently supported groups for B<TLSv1.3> are B<NID_X9_62_prime256v1>, B<NID_secp384r1>, B<NID_secp521r1>, -B<NID_X25519>, B<...
removes client request debug printf
@@ -946,20 +946,6 @@ u3_cttp_ef_thus(c3_l num_l, } } else { -#if 1 - u3_noun span = u3v_wish("-:!>(*{" - "purl={" - "p/{p/? q/(unit @ud) r/(each (list @t) @if)} " - "q/{p/(unit @ta) q/(list @t)} " - "r/(list {p/@t q/@t})" - "} " - "moth={p/@tas q/(map @t (list @t)) r/(unit octs)}" - "})"); - - u3m_tape(u3dc("text", spa...
fix: xrepo export export to current working dir.
@@ -86,6 +86,7 @@ function _export_packages(packages) end end + local oldir = os.curdir() -- enter working project directory local subdir = "working" if packagefile then
sse2: add WASM implementations of simde_mm_sra{,i}_epi{16,32} Fixes
@@ -5331,6 +5331,8 @@ simde_mm_srai_epi16 (simde__m128i a, const int imm8) #if defined(SIMDE_ARM_NEON_A32V7_NATIVE) r_.neon_i16 = vshlq_s16(a_.neon_i16, vdupq_n_s16(HEDLEY_STATIC_CAST(int16_t, -cnt))); + #elif defined(SIMDE_WASM_SIMD128_NATIVE) + r_.wasm_v128 = wasm_i16x8_shr(a_.wasm_v128, cnt); #else SIMDE_VECTORIZE f...
board/elm/led.c: Format with clang-format BRANCH=none TEST=none
#define LOW_BATTERY_PERMILLAGE 137 #define FULL_BATTERY_PERMILLAGE 937 -const enum ec_led_id supported_led_ids[] = { - EC_LED_ID_BATTERY_LED, - EC_LED_ID_POWER_LED -}; +const enum ec_led_id supported_led_ids[] = { EC_LED_ID_BATTERY_LED, + EC_LED_ID_POWER_LED }; const int supported_led_ids_count = ARRAY_SIZE(supported_l...
zuse: make +drop-pole produce a unit Both +drop-list and +drop-map produce units instead of crashing. This makes +drop-pole match that behavior, producing a unit of the resulting tuple.
~ (some (~(run by lum) need)) :: :: ++drop-pole:unity - ++ drop-pole :: unit tuple - |* but/(pole (unit)) - ?~ but !! - ?~ +.but - u:->.but - [u:->.but (drop-pole +.but)] + ++ drop-pole :: collapse to tuple + |^ |* pul=(pole (unit)) + ?: (test-pole pul) ~ + (some (need-pole pul)) + :: + ++ test-pole + |* pul=(pole (uni...
Respawn even if .arcadia.root doesn't exist
@@ -4,8 +4,8 @@ import sys import platform import json -URLS = ["https://storage.mds.yandex.net/get-devtools-opensource/250854/d3bc2d7275ef11f93d793a3f2a484a12"] -MD5 = "d3bc2d7275ef11f93d793a3f2a484a12" +URLS = ["https://storage.mds.yandex.net/get-devtools-opensource/233854/b5271dc768b6703aaf2f2733bdd5287a"] +MD5 = "b...
oc_tls:directly send decrypted msg event to CoAP
#include "api/oc_main.h" #include "api/oc_session_events_internal.h" #include "messaging/coap/observe.h" +#include "messaging/coap/engine.h" #include "oc_acl_internal.h" #include "oc_api.h" #include "oc_buffer.h" @@ -1795,7 +1796,10 @@ read_application_data(oc_tls_peer_t *peer) } message->length = ret; message->encrypt...
peview: Add MUI and MUN to supported PE formats
@@ -122,7 +122,7 @@ INT WINAPI wWinMain( { static PH_FILETYPE_FILTER filters[] = { - { L"Supported files (*.exe;*.dll;*.com;*.ocx;*.sys;*.scr;*.cpl;*.ax;*.acm;*.lib;*.winmd;*.efi;*.pdb)", L"*.exe;*.dll;*.com;*.ocx;*.sys;*.scr;*.cpl;*.ax;*.acm;*.lib;*.winmd;*.efi;*.pdb" }, + { L"Supported files (*.exe;*.dll;*.com;*.ocx;...
build: add CONFIG_OPTIMIZE to turn on all useful compiler optimizations LTO, fastmath, and native
@@ -9,7 +9,7 @@ CONFIG_MLX5=n CONFIG_MLX4=n CONFIG_SPDK=n CONFIG_DEBUG=n -CONFIG_NATIVE=n +CONFIG_OPTIMIZE=y CONFIG_DIRECTPATH=n # shared toolchain definitions @@ -35,8 +35,8 @@ FLAGS += -DDEBUG -DCCAN_LIST_DEBUG -rdynamic -O0 -ggdb -mssse3 LDFLAGS += -rdynamic else FLAGS += -DNDEBUG -O3 -ifeq ($(CONFIG_NATIVE),y) -FLA...
cups-browsed: When checking for already present print queues, take into account that with the naming scheme "MakeModel" also remote CUPS queues from the same server can get clustered together.
@@ -5056,7 +5056,9 @@ examine_discovered_printer_record(const char *host, (p->host[0] == '\0' || p->status == STATUS_UNCONFIRMED || p->status == STATUS_DISAPPEARED || - (!strcasecmp(p->host, remote_host) && p->port == port))) + (!strcasecmp(p->host, remote_host) && p->port == port && + strlen(p->uri) - strlen(resource)...
Check Bashisms: Check script `check-env-dep` again
@@ -14,14 +14,11 @@ cd "@CMAKE_SOURCE_DIR@" # Use (non-emacs) extended regex for GNU find or BSD find find -version > /dev/null 2>&1 > /dev/null && FIND='find scripts -regextype egrep' || FIND='find -E scripts' -# - The script `check-env-dep` uses process substitution which is **not** a standard `sh` feature! -# See al...
enclave-tls: don't install wolfssl header files wolfssl header files are not part of enclave-tls SDK. FIXES:
@@ -76,13 +76,6 @@ clean: install: all $(INSTALL) -d -m 0755 $(Enclave_Tls_Libdir) $(INSTALL) -m 0755 $(Build_Libdir)/libwolfssl* $(Enclave_Tls_Libdir) - dest=$(Enclave_Tls_Root)/include/wolfssl; \ - $(INSTALL) -d -m 0755 $$dest; \ - $(INSTALL) -m 0444 $(Build_Incdir)/wolfssl/*.h $$dest; \ - $(INSTALL) -d -m 0755 $$des...
Account for platforms without SO_ACCEPTCONN
@@ -377,7 +377,7 @@ int dill_fd_check(int s, int type, int family1, int family2, int listening) { if(dill_slow(val != type)) {errno = EINVAL; return -1;} /* Check whether the socket is in listening mode. */ rc = getsockopt(s, SOL_SOCKET, SO_ACCEPTCONN, &val, &valsz); - if(dill_slow(rc < 0)) return -1; + if(dill_slow(rc...
Print failing test names to the console in the 'warning' color
if ok then return 1, 0 else - m.print(string.format("%s.%s: %s", test.suiteName, test.testName, err)) + term.pushColor(term.warningColor) + io.write(string.format("%s.%s", test.suiteName, test.testName)) + term.popColor() + m.print(string.format(": %s", err)) return 0, 1 end end
make for loop more clear in logger watcher This wasn't a bug, but add -1 here makes it more clear. The function will early exit in any cases where it would've overflowed here. thanks to shqking on github for the report
@@ -721,7 +721,7 @@ enum logger_add_watcher_ret logger_add_watcher(void *c, const int sfd, uint16_t return LOGGER_ADD_WATCHER_TOO_MANY; } - for (x = 0; x < WATCHER_LIMIT; x++) { + for (x = 0; x < WATCHER_LIMIT-1; x++) { if (watchers[x] == NULL) break; }
atomic_dec_return -> env_atomic_dec_return Fix usage of undefined function
@@ -452,7 +452,7 @@ void _ocf_flush_container_complete(void *ctx) { struct ocf_mngt_cache_flush_context *context = ctx; - if (atomic_dec_return(&context->fcs.count)) { + if (env_atomic_dec_return(&context->fcs.count)) { return; }
Test character nearly the BOM (for code path coverage)
@@ -5776,6 +5776,36 @@ START_TEST(test_ext_entity_utf16_be) } END_TEST +/* Test not-quite-UTF-8 BOM (0xEF 0xBB 0xBF) */ +START_TEST(test_ext_entity_utf8_non_bom) +{ + const char *text = + "<!DOCTYPE doc [\n" + " <!ENTITY en SYSTEM 'http://example.org/dummy.ent'>\n" + "]>\n" + "<doc>&en;</doc>"; + ExtTest2 test_data = {...
armv8: adding modules to enable multi-core tests to harness
@@ -238,19 +238,18 @@ class Machine(object): m.add_module("startd", ["boot"]) m.add_module("/eclipseclp_ramfs.cpio.gz", ["nospawn"]) m.add_module("/skb_ramfs.cpio.gz", ["nospawn"]) + m.add_module("corectrl", ["auto"]) # armv8 if a == "armv8" : - # disabling ACPI until it works properly... - # m.add_module("acpi", ["boo...
Syscalls: stub mlock/munlock We currently don't have a memory swap area. Closes
@@ -75,10 +75,10 @@ void register_other_syscalls(struct syscall *map) register_syscall(map, sched_get_priority_max, 0); register_syscall(map, sched_get_priority_min, 0); register_syscall(map, sched_rr_get_interval, 0); - register_syscall(map, mlock, 0); - register_syscall(map, munlock, 0); - register_syscall(map, mlock...
error messages for impossible configurations
@@ -308,7 +308,7 @@ void opt_reg_configure(unsigned int N, const long img_dims[N], struct opt_reg_s* debug_printf(DP_INFO, "NIHT with wavelets regularization: k = %d%% of total elements in each wavelet transform\n", regs[nr].k); if (use_gpu) - error("GPU operation is not currently implemented for NIHT.\nContinuing with...
change lime::error() to return -1
@@ -29,7 +29,7 @@ enum LogLevel static inline void critical(const char *format, ...); //! Log an error message with formatting -static inline void error(const char *format, ...); +static inline int error(const char *format, ...); //! Log a warning message with formatting static inline void warning(const char *format, ....
esp32c3: Do not enable memory protection under debugger
#include "esp32c3/rom/ets_sys.h" #include "esp_log.h" +#include "soc/cpu.h" + extern int _iram_text_end; static const char *TAG = "memprot"; @@ -532,6 +534,11 @@ void esp_memprot_set_prot_int(bool invoke_panic_handler, bool lock_feature, void esp_memprot_set_monitor_en(MEMPROT_DRAM0_SRAM, false); } + // do not enable i...
MingGW doesn't support strcasestr() toupper() all characters, then strstr() instead.
#include "postgres_fe.h" #include "copy.h" +#include <ctype.h> #include <signal.h> -#include <string.h> #include <sys/stat.h> #ifndef WIN32 #include <unistd.h> /* for isatty */ @@ -253,7 +253,7 @@ trim(char *s) } if (!(isspace(*write) && isspace(*read))) { - *(++write) = *(read); + *(++write) = toupper(*read); } read++...
phb4: Simplify calling phb4_eeh_dump_regs() Do verbose eeh check in phb4_eeh_dump_regs() rather than callers.
@@ -1901,6 +1901,9 @@ static void phb4_eeh_dump_regs(struct phb4 *p) uint32_t reg; unsigned int i; + if (!verbose_eeh) + return; + s = zalloc(sizeof(struct OpalIoPhb4ErrorData)); phb4_read_phb_status(p, s); @@ -2305,7 +2308,6 @@ static bool phb4_fenced(struct phb4 *p) p->flags |= PHB4_AIB_FENCED; p->state = PHB4_STATE_...
in_node_exporter: include flb_metrics.h
#include <fluent-bit/flb_input_plugin.h> #include <fluent-bit/flb_regex.h> #include <fluent-bit/flb_hash.h> - -#include <cmetrics/cmetrics.h> -#include <cmetrics/cmt_counter.h> -#include <cmetrics/cmt_gauge.h> -#include <cmetrics/cmt_untyped.h> -#include <cmetrics/cmt_encode_prometheus.h> -#include <cmetrics/cmt_encode...
BugID:22275842: Disable write protect for OTA parameter update
@@ -209,6 +209,10 @@ int ota_update_parameter(ota_boot_param_t *ota_param) ota_param->param_crc = ota_get_data_crc16((const unsigned char *)ota_param, sizeof(ota_boot_param_t) - sizeof(unsigned short)); OTA_LOG_I("ota update param crc:0x%04x flag:0x%04x \n", ota_param->param_crc, ota_param->upg_flag); memset(&comp_buf,...
cleanup / moved to task.h
#endif // ENABLE_LOGO -/** - * \brief - * Set it to 1 if you want to enable multitasking - */ -#define ENABLE_MULTITASK 1 - -#if (ENABLE_MULTITASK != 0) - -/** - * \brief - * Byte length for the user task stack - */ -#define USER_STACK_LENGTH 512 - -#endif // ENABLE_MULTITASK - /** * \brief * Set it to 1 if you want to...
docs - add missing end ' in example
@@ -222,7 +222,7 @@ java \ -nodecl \ $1 \ input_transform.stx \ - | awk 'NF&gt;0 + | awk 'NF&gt;0' </codeblock> <p>The <codeph>input_transform.sh</codeph> file uses the Joost STX engine with the AWK interpreter. The following diagram shows the process flow as <cmdname>gpfdist</cmdname>
Ensure load_JSON* test methods are only executed when HAVE_MAT_JSON is in use.
@@ -344,6 +344,7 @@ TEST_F(TransmitProfilesTests, load_OneRule_ReturnsTrueAndSizeFour) ASSERT_EQ(TransmitProfiles::profiles.size(), 4); } +#ifdef HAVE_MAT_JSONHPP TEST_F(TransmitProfilesTests, load_Json_EmptyJsonArray_FailsToParse) { const std::string badRule = R"([])"; @@ -437,3 +438,10 @@ R"([{ ASSERT_TRUE(TransmitPr...
VERSION bump to version 0.12.31
@@ -33,7 +33,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 12) -set(LIBNETCONF2_MICRO_VERSION 30) +set(LIBNETCONF2_MICRO_VERSION 31) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(L...
NANO: Configure PDWN and RST in sensor_init
@@ -144,21 +144,23 @@ static int dcmi_config() _hrefPort = portInputRegister(digitalPinToPort(DCMI_HSYNC_PIN)); _pclkPort = portInputRegister(digitalPinToPort(DCMI_PXCLK_PIN)); + return 0; +} + +int sensor_init() +{ + int init_ret = 0; + #if defined(DCMI_PWDN_PIN) nrf_gpio_cfg_output(DCMI_PWDN_PIN); + DCMI_PWDN_HIGH();...
Cellular change only: fix RAT translation array bounds. The RAT translation from the module's RAT number to the ubxlib RAT number would go wrong if the RAT number happened to go negative (i.e. no RAT of that type was present), leading to an out-of-bounds memory access. This commit fixes that.
@@ -157,11 +157,13 @@ uCellNetRat_t moduleRatToCellRat(uCellModuleType_t moduleType, int32_t rat) { uCellNetRat_t cellRat = U_CELL_NET_RAT_UNKNOWN_OR_NOT_USED; + if (rat >= 0) { if (moduleType == U_CELL_MODULE_TYPE_SARA_U201) { cellRat = gModuleRatToCellRatU201[rat]; } else { cellRat = gModuleRatToCellRatR4R5[rat]; } +...
board/hoho/usb_pd_policy.c: Format with clang-format BRANCH=none TEST=none Tricium: disable
@@ -141,7 +141,8 @@ static int dp_status(int port, uint32_t *payload) 0, /* request exit DP */ 0, /* request exit USB */ 0, /* MF pref */ - gpio_get_level(GPIO_PD_SBU_ENABLE), 0, /* power + gpio_get_level(GPIO_PD_SBU_ENABLE), + 0, /* power low */ 0x2);
more eap stuff
@@ -1146,8 +1146,6 @@ static const uint8_t reactivebeacondata[] = }; #define REACTIVEBEACON_SIZE sizeof(reactivebeacondata) -printf("debug sende\n"); - if(aplist->timestamp == 0) return; if(beaconintptr >= aplist +MACLIST_MAX) beaconintptr = aplist; if(beaconintptr->timestamp == 0) beaconintptr = aplist; @@ -1690,13 +1...
ya tool: add qemu tools
"tvmknife": { "description": "Tool for debugging and testing with TVM tickets" }, "sandboxctl": { "description": "Tool to run tasks in Sandbox" }, "golangci-lint": { "description": "Linters Runner for Go" }, + "qemu": { "description": "QEMU x86_64 machine emulator and virtualizer" }, + "qemu-i386": { "description": "QE...
fix JS Emulator controls while Capslock enabled
@@ -4,12 +4,12 @@ const JS_KEY_CTRL = 17; const DEADZONE = 0.1; var defaultKeys = { - up: ["ArrowUp", "w"], - down: ["ArrowDown", "s"], - left: ["ArrowLeft", "a"], - right: ["ArrowRight", "d"], - a: ["Alt", "z", "j"], - b: ["Control", "k", "x"], + up: ["ArrowUp", "w", "W"], + down: ["ArrowDown", "s", "S"], + left: ["Ar...
tools: revert changes in board n3000
#include "board_n3000.h" // DFL SYSFS -#define DFL_SYSFS_BMCFW_VER "dfl*/**/*spi*/*spi*/bmcfw_version" -#define DFL_SYSFS_MAX10_VER "dfl*/**/*spi*/*spi*/bmc_version" +#define DFL_SYSFS_BMCFW_VER "dfl*/*spi*/spi_master/spi*/spi*/bmcfw_version" +#define DFL_SYSFS_MAX10_VER "dfl*/*spi*/spi_master/spi*/spi*/bmc_version" -#...
Resolve token leak
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. -#ifdef __cplusplus extern "C" { -#endif #include "token_list_int.h" int xfpga_plugin_initialize(void); int xfpga_plugin_finalize(void); - -#ifdef __cplusplus } -#endif + #include "gtest/gtest.h" #include "sysfs...
add additional info about --check_injection in combination with channel option -c
@@ -4545,6 +4545,7 @@ static int sd; static int fdnum; static fd_set readfds; static uint64_t injectionhit; +static uint64_t injectioncount; static scanlist_t *zeiger; static struct timeval tvfd; @@ -4558,6 +4559,7 @@ if(set_channel() == false) errorcount++; if((attackstatus &DISABLE_AP_ATTACKS) != DISABLE_AP_ATTACKS) ...
Reset TLS Unit Test Flags
@@ -31,6 +31,7 @@ protected: CXPLAT_SEC_CONFIG* ClientSecConfigExtraCertValidation {nullptr}; CXPLAT_SEC_CONFIG* ClientSecConfigNoCertValidation {nullptr}; CXPLAT_SEC_CONFIG* ClientSecConfigClientCertNoCertValidation {nullptr}; + static QUIC_CREDENTIAL_FLAGS SelfSignedCertParamsFlags; static QUIC_CREDENTIAL_CONFIG* Sel...
Fix window resize not affecting ImGui
@@ -288,12 +288,15 @@ bool D3D12::InitializeImGui(size_t aBuffersCounts) // do this once, do not repeat context creation! IMGUI_CHECKVERSION(); ImGui::CreateContext(); + + } + ImGuiIO& io = ImGui::GetIO(); ImGui::StyleColorsDark(); // TODO - scale by DPI const auto [resx, resy] = GetResolution(); - const auto baseScale...
Feat:Modify HTTP macro definition
@@ -52,7 +52,7 @@ class ConfigContentGen(): def gen_config_content(self): self.config_content += '\n' - self.config_content += '#define RPC_USE_MBEDHTTPPORT 1' + self.config_content += '#define RPC_USE_FIBOCOMHTTPPORT 1' self.config_content += '\n' def gen_config_tips(self, platform):
build FEATURE forbid compilation on WSL
@@ -31,6 +31,14 @@ if(NOT UNIX) message(FATAL_ERROR "Only Unix-like systems are supported.") endif() +if(NOT FORCE_WSL AND EXISTS "/proc/sys/kernel/osrelease") + file(READ "/proc/sys/kernel/osrelease" OS_RELEASE) + string(FIND ${OS_RELEASE} "Microsoft" POS) + if(POS GREATER -1) + message(FATAL_ERROR "Windows Subsystem ...
The PIM v2 interface for Avalon memory is now generic. The bus definition doesn't have to be specific to "local_mem". This change affects only PIM v2.
@@ -44,7 +44,7 @@ module ase_sim_local_mem_avmm ( // Local memory as Avalon master `ifdef OFS_PLAT_PROVIDES_ASE_TOP - ofs_plat_local_mem_avalon_if.to_afu local_mem[NUM_BANKS], + ofs_plat_avalon_mem_if.to_master local_mem[NUM_BANKS], `else avalon_mem_if.to_afu local_mem[NUM_BANKS], `endif @@ -166,7 +166,11 @@ module ase...
Whitelist firemarshal's dev branch for commit-on-master check
@@ -82,7 +82,12 @@ search submodules=("coremark" "firemarshal" "nvdla-workload" "spec2017") dir="software" +if [ "$CIRCLE_BRANCH" == "master" ] || [ "$CIRCLE_BRANCH" == "dev" ] +then branches=("master") +else + branches=("master" "dev") +fi search submodules=("DRAMSim2" "axe" "barstools" "chisel-testers" "dsptools" "fi...
doc: swap hello C and application integration tut
@@ -19,8 +19,8 @@ application, that means, you want your application to participate in the global key database Elektra provides. -- [Integration of your Application](application-integration.md) -- [Hello, Elektra](hello-elektra.md) +- [Hello, Elektra in C](hello-elektra.md) +- [Integration of your C Application](applic...
Update Widget_ComputeMaxAvaliableWidth()
@@ -1430,7 +1430,7 @@ float Widget_ComputeMaxAvaliableWidth( LCUI_Widget widget ) LCUI_Style s; LCUI_Widget w; float width = 0, padding = 0; - for( w = widget->parent; w && w->parent; w = w->parent ) { + for( w = widget->parent; w; w = w->parent ) { s = &w->style->sheet[key_width]; padding += w->box.border.width - w->b...
build/configs/imxrt1050-evk/loadable_elf_apps: Enable interrupt stack Enable interrupt stack support for the nested interrupts
@@ -247,7 +247,9 @@ CONFIG_BOARD_LOOPSPERMSEC=104926 # Interrupt options # CONFIG_ARCH_HAVE_INTERRUPTSTACK=y -CONFIG_ARCH_INTERRUPTSTACK=0 +CONFIG_ARCH_INTERRUPTSTACK=2048 +CONFIG_ARCH_HAVE_NESTED_INTERRUPT=y +CONFIG_ARCH_NESTED_INTERRUPT=y CONFIG_ARCH_HAVE_HIPRI_INTERRUPT=y # CONFIG_ARCH_HIPRI_INTERRUPT is not set
TSCH: minor logging fix
@@ -109,7 +109,7 @@ timesync_learn_drift_ticks(uint32_t time_delta_asn, int32_t drift_ticks) TSCH_LOG_ADD(tsch_log_message, snprintf(log->message, sizeof(log->message), - "drift %ld (min/max delta seen: %"PRId32"/%"PRId32")", + "drift %ld ppm (min/max delta seen: %"PRId32"/%"PRId32")", tsch_adaptive_timesync_get_drift_...
guybrush: Assert EN_PPVAR_BJ_ADP_L by default EN_PPVAR_BJ_ADP_L must default active to ensure we can power on when the barrel jack is connected. TEST=Build BRANCH=None
@@ -29,7 +29,7 @@ GPIO(EC_RECOVERY_BTN_ODL, PIN(3, 1), GPIO_INT_BOTH) GPIO(EN_PWR_S5, PIN(B, 7), GPIO_OUT_LOW) /* Enable S5 Power */ GPIO(EN_PWR_S0_R, PIN(F, 1), GPIO_OUT_LOW) GPIO(EN_PWR_PCORE_S0_R, PIN(E, 1), GPIO_OUT_LOW) -GPIO(EN_PPVAR_BJ_ADP_L, PIN(2, 1), GPIO_OUT_HIGH) /* Enable Barrel Jack Adapter Power */ +GPIO...
correct the versioning when building the trunk
# Set the AOMP VERSION STRING. # After a release, this is changed to the next release under development AOMP_BUILD_TRUNK=${AOMP_BUILD_TRUNK:-0} -if [ "$AOMP_BUILD_TRUNK" != 0 ] ; then +if [ "$AOMP_BUILD_TRUNK" == 0 ] ; then AOMP_VERSION=${AOMP_VERSION:-"0.7"} AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"7"} else
support for aiohttp 2.0
@@ -38,6 +38,8 @@ def gen_hello_msg(): if resthelper_loaded: ips = resthelper.get_local_ips() host_info['local-addresses'] = ips + else: + logging.warning('Local addresses not available') hello_msg = json.dumps({"input": host_info}) return hello_msg @@ -63,13 +65,13 @@ async def controller_announce(): try: async with s...
.ci/check-tidy: remove unknown flags With the updated clang, these flags are not supported.
@@ -32,7 +32,7 @@ for dir in build build-build; do fi # Remove flags unknown to tidy - sed -i 's/-mcpu=cortex-m4//g; s/-mfloat-abi=softfp//g; s/-mlong-calls//g; s/-mthumb//g; + sed -i 's/-mcpu=cortex-m4//g; s/-mfloat-abi=softfp//g; s/-mlong-calls//g; s/-mthumb//g; s/--specs=nano.specs//g; s/--specs=nosys.specs//g; s/-W...
doc: Futher document OPAL_REINIT_CPUS_MMU_* modes Fixes:
@@ -44,6 +44,20 @@ OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED This flag requests that CPUs be configured with TM (Transactional Memory) suspend mode disabled. This may only be supported on some CPU versions. +OPAL_REINIT_CPUS_MMU_HASH and OPAL_REINIT_CPUS_MMU_RADIX +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ...
Test: Removed IF<->BL legacy switch mode.
@@ -302,22 +302,12 @@ class DaplinkBoard(object): test_info.info("changing mode IF -> BL") # Create file to enter BL mode start_bl_path = self.get_file_path('START_BL.ACT') - with open(start_bl_path, 'wb') as _: - pass - # Create file to enter BL mode - Legacy - start_bl_path = self.get_file_path('START_BL.CFG') - with...
Removed two command line options, due to incompatibility with SWIG.
@@ -396,24 +396,12 @@ IF (HAS_WNO_OVERLENGTH_STRINGS) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-overlength-strings") ENDIF() -CHECK_C_COMPILER_FLAG(-Wno-unused-command-line-argument HAS_WNO_UNUSED_COMMAND_LINE_ARGUMENT) -IF (HAS_WNO_UNUSED_COMMAND_LINE_ARGUMENT) - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-comm...
Update `lv_obj_refresh_style` description
@@ -1332,6 +1332,7 @@ bool lv_obj_remove_style_local_prop(lv_obj_t * obj, uint8_t part, lv_style_prope /** * Notify an object (and its children) about its style is modified * @param obj pointer to an object + * @param part the part of the object which style property should be refreshed. * @param prop `LV_STYLE_PROP_ALL...
SEP/SOCWATCH: fix misra violation
@@ -123,7 +123,7 @@ static void profiling_enable_pmu(void) if (ss->guest_debugctl_value != 0U) { /* Merge the msr vmexit loading list with HV */ - if (ss->vmexit_msr_cnt == 0) { + if (ss->vmexit_msr_cnt == 0U) { struct acrn_vcpu *vcpu = get_ever_run_vcpu(get_pcpu_id()); size = sizeof(struct msr_store_entry) * MAX_HV_MS...
IKEA SYMFONISK button naming
"modelids": ["SYMFONISK"], "buttons": [ {"S_BUTTON_1": "Button 1"}, - {"S_BUTTON_2": "Wheel"} + {"S_BUTTON_2": "Rotate clockwise"}, + {"S_BUTTON_3": "Rotate counter clockwise"} ], "map": [ [1, "0x01", "ONOFF", "TOGGLE", "0", "S_BUTTON_1", "S_BUTTON_ACTION_SHORT_RELEASED", "Toggle"],
Cirrus: Use Homebrew to install yaml-cpp
@@ -146,16 +146,8 @@ mac_task: tree xerces-c yajl + yaml-cpp zeromq - - | # We install yaml-cpp manually, since Homebrew currently does not install the shared version of the library. - git clone --branch yaml-cpp-0.6.3 --depth 1 https://github.com/jbeder/yaml-cpp.git - cd yaml-cpp - mkdir build - cmake -GNinja -DYAML_B...
YAMBi: Add function for code generation
-include (LibAddMacros) - -# ~~~ # This functions checks if the dependencies for the YAMBi plugin are available. # # If they are, the function sets the variable `FOUND_DEPENDENCIES` to `TRUE`. The function then also sets: # -# - BISON_YAMBI_OUTPUT_SOURCE to the path of the source files generated by Bison, and -# - BISO...
refactory:use an easy to type command
@@ -67,7 +67,7 @@ ifeq ($(BEARSSL),1) else ifeq ($(CC),stensal-c) LIBDISCORD_LDFLAGS += -lcurl-bearssl -lbearssl -static CFLAGS += -DBEARSSL -else ifeq ($(CC),saiph-c) +else ifeq ($(CC),sfc) LIBDISCORD_LDFLAGS += -lcurl-bearssl -lbearssl -static CFLAGS += -DBEARSSL #LIBDISCORD_LDFLAGS += -lcurl-ssl -lssl -lcrypto -lm -...
Clarify comment re deprecation
@@ -204,7 +204,7 @@ set( HAVE_LIBOPENJPEG 0 ) if( ENABLE_JPG ) - # Note: ecbuild_add_extra_search_paths is a deprecated feature but we need it to find Jasper at ECMWF. + # Note: The function ecbuild_add_extra_search_paths is deprecated but we need it to find Jasper at ECMWF. # It modifies CMAKE_PREFIX_PATH # which can ...
tizenrt: Update Toolchain for next release Tested-by: IoTivity Jenkins
@@ -35,12 +35,14 @@ os_image_type?=minimal configure_file?=${os_dir}/.config os_external_makefile?=${tizenrt_dir}/external/Makefile -toolchain_file?=${toolchain_package}-2015q3-20150921-linux.tar.bz2 -toolchain_url?=https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update/+download/gcc-arm-none-eabi-4_9-2015q3-201...
Android: Fix building with Eigen via the NDK Eigen is a header only library, thus is it safe to use a system copy when cross compiling. Eigen does not exist in the ndk sysroot.
@@ -27,7 +27,7 @@ option(DOWNLOAD_EIGEN "Download eigen if it isn't installed on the system" OFF) option(USE_EIGEN "Use eigen for math operations" DOWNLOAD_EIGEN) option(USE_COLUMN_MAJOR_MATRICES "Use column major matrices for math operations" OFF) -find_package (Eigen3 3 NO_MODULE) +find_package (Eigen3 3 NO_MODULE NO...
BugID:22315407:fix whitesacn deadcode problem
@@ -182,10 +182,6 @@ int iotx_report_ext_msg(info_report_func_pt info_report_func, void * handle) } aos_free(msg); - if (ret < 0) { - LOGE(TAG,"publish failed, ret = %d", ret); - return FAIL_RETURN; - } LOGD(TAG,"devinfo report succeed"); return SUCCESS_RETURN;
kukui: Remove CMD_ACCELS to create space BRANCH=None TEST=buildall
#define CONFIG_ADC #undef CONFIG_ADC_WATCHDOG #define CONFIG_CHIPSET_MT8183 -#define CONFIG_CMD_ACCELS +#undef CONFIG_CMD_ACCELS #define CONFIG_EMULATED_SYSRQ #define CONFIG_I2C #define CONFIG_I2C_CONTROLLER
Update docs/docs/standard-lib/env.md
@@ -28,7 +28,7 @@ import Env; Get an environment variable. `.get()` will return a string if a valid environment variable is found otherwise nil. -If default value is passed, then it will return that incase environment variable not found. +If default value is passed that will be returned if the specified environment var...
u3: fixes printf in c3_assert()
if (!(x)) { \ fflush(stderr); \ fprintf(stderr, "\rAssertion '%s' " \ - "failed in %s:%d\n", \ + "failed in %s:%d\r\n", \ #x, __FILE__, __LINE__); \ c3_cooked(); \ assert(x); \
agah: set EN_PP5000_FAN to initial low BRANCH=none TEST=make sure fan work after system power on.
@@ -55,7 +55,7 @@ GPIO(EC_PCH_RTCRST, PIN(7, 6), GPIO_OUT_LOW) GPIO(EC_PCH_SYS_PWROK, PIN(3, 7), GPIO_OUT_LOW) GPIO(EC_PCH_WAKE_R_ODL, PIN(C, 0), GPIO_ODR_HIGH) GPIO(EC_PROCHOT_ODL, PIN(6, 3), GPIO_ODR_HIGH) -GPIO(EN_PP5000_FAN, PIN(6, 1), GPIO_OUT_HIGH) +GPIO(EN_PP5000_FAN, PIN(6, 1), GPIO_OUT_LOW) GPIO(EN_PP5000_USBA...
chore(lighting): fix deprecation Removed deprecated macros, replace with correct Zephyr 3 implementation
@@ -75,7 +75,7 @@ static void backlight_save_work_handler(struct k_work *work) { settings_save_one("backlight/state", &state, sizeof(state)); } -static K_DELAYED_WORK_DEFINE(backlight_save_work, backlight_save_work_handler); +static struct k_work_delayable backlight_save_work; #endif static int zmk_backlight_init(const...
VERSION bump to version 0.12.18
@@ -32,7 +32,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 12) -set(LIBNETCONF2_MICRO_VERSION 17) +set(LIBNETCONF2_MICRO_VERSION 18) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(L...
Update README regarding usage of GoAccess APT repository Closes:
@@ -137,8 +137,10 @@ alternative option below. #### Official GoAccess Debian & Ubuntu repository #### - $ echo "deb https://deb.goaccess.io/ $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/goaccess.list - $ wget -O - https://deb.goaccess.io/gnugpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/goacc...
Fixed TestInvalidAllocations
@@ -2528,7 +2528,7 @@ static void TestInvalidAllocations() memReq.memoryTypeBits = UINT32_MAX; VmaAllocation alloc = VK_NULL_HANDLE; res = vmaAllocateMemory(g_hAllocator, &memReq, &allocCreateInfo, &alloc, nullptr); - TEST(res == VK_ERROR_VALIDATION_FAILED_EXT && alloc == VK_NULL_HANDLE); + TEST(res == VK_ERROR_INITIAL...
time: new function to reset the context
@@ -45,6 +45,12 @@ enum flb_time_eventtime_fmt { FLB_TIME_ETFMT_OTHER, }; +static inline void flb_time_zero(struct flb_time *tm) +{ + tm->tm.tv_sec = 0; + tm->tm.tv_nsec = 0; +} + int flb_time_get(struct flb_time *tm); double flb_time_to_double(struct flb_time *tm); int flb_time_diff(struct flb_time *time1,
GraphContent: amend text, blockquote boxing, color
@@ -271,7 +271,7 @@ const renderers = { return ( <Text lineHeight="tall" - display="inline-block" + display="block" borderLeft="1px solid" color="black" paddingLeft={2} @@ -283,8 +283,10 @@ const renderers = { }, paragraph: ({ children }) => { return ( - <Box fontSize={1} lineHeight="tall"> + <Box display="inline-block...
plugins: in_tcp: added proper net_setup initialization
@@ -89,7 +89,8 @@ static int in_tcp_init(struct flb_input_instance *in, ctx->listen, port, in->flags, - in->tls); + in->tls, + &in->net_setup); if (ctx->downstream == NULL) { flb_plg_error(ctx->ins,
nimble/ll: Fix missing directed flag
@@ -1793,6 +1793,7 @@ ble_ll_scan_parse_ext_hdr(struct os_mbuf *om, struct ble_mbuf_hdr *ble_hdr, out_evt->dir_addr_type = ble_ll_get_addr_type(rxbuf[0] & BLE_ADV_PDU_HDR_RXADD_MASK); i += BLE_LL_EXT_ADV_TARGETA_SIZE; + out_evt->evt_type |= BLE_HCI_ADV_DIRECT_MASK; } if (ext_hdr_flags & (1 << BLE_LL_EXT_ADV_RFU_BIT)) {...
luci-app-passwall: fix dnsmasq restart order
@@ -45,8 +45,8 @@ logic_restart() { for server in $(uci -q get dhcp.@dnsmasq[0].server); do [ -n "$(echo $server | grep '\/')" ] || uci -q del_list dhcp.@dnsmasq[0].server="$server" done - /etc/init.d/dnsmasq restart >/dev/null 2>&1 restore_servers + /etc/init.d/dnsmasq restart >/dev/null 2>&1 else /etc/init.d/dnsmasq ...
Reinstate fast probe.
:+ %cnts [[%& 1] ~] :_ ~ - [fetch-wing ersatz:clear(mod any)] + :: correct but slow + :: [fetch-wing ersatz:clear(mod any)] + [fetch-wing ersatz:clear(mod ?~(def [%axil %cell] u.def))] ?: =(& top) [%tsgr [%wtpt fetch-wing luz [%$ 1]] boc] [%tsgr luz boc]
Makefile: cygwin can deal with -fPIC now
@@ -137,10 +137,6 @@ else -Wno-unknown-warning-option -Wno-unknown-pragmas \ -U__STRICT_ANSI__ -funroll-loops ARCH_LDFLAGS := -lpthread -L/usr/local/include -lrt - # CygWin's gcc doesn't accept -fPIC (all code is position independent) - ifeq (Windows,$(findstring Windows,$(OS))) - LIBS_CFLAGS = -fno-stack-protector -fn...