message
stringlengths
6
474
diff
stringlengths
8
5.22k
Update version to 1.4.0-1
@@ -65,7 +65,7 @@ endif(EXISTS ${GIT_EXECUTABLE}) ############################################################################ set(INTEL_FPGA_API_VER_MAJOR 1 CACHE STRING "Intel FPGA API major version") -set(INTEL_FPGA_API_VER_MINOR 3 CACHE STRING "Intel FPGA API minor version") +set(INTEL_FPGA_API_VER_MINOR 4 CACHE ST...
update ya tool arc set default server to stallman
}, "arc": { "formula": { - "sandbox_id": [301715473], + "sandbox_id": [302768113], "match": "arc" }, "executable": {
Switched contains back to eq
@@ -1895,7 +1895,7 @@ static ACVP_RESULT query_vendor(ACVP_CTX *ctx, ctx->path_segment, "vendors?"); if (vendor->name) { - rv = acvp_kv_list_append(&parameters, "name[0]=contains:", vendor->name); + rv = acvp_kv_list_append(&parameters, "name[0]=eq:", vendor->name); if (ACVP_SUCCESS != rv) { ACVP_LOG_ERR("Failed acvp_k...
xeon_phi: connect to the skb when the domain is started
#include <xeon_phi/xeon_phi.h> #include <xeon_phi/xeon_phi_manager_client.h> +#include <skb/skb.h> #include "xeon_phi_internal.h" #include "smpt.h" @@ -156,6 +157,11 @@ int main(int argc, char *argv[]) USER_PANIC_ERR(err, "initializing octopus\n"); } + err = skb_client_connect(); + if (err_is_fail(err)) { + USER_PANIC_...
ci(build): add missing pro-micro compatible shields These should've been added in previous PRs. PR:
@@ -24,6 +24,8 @@ jobs: - boardsource3x4 - corne_left - corne_right + - cradio_left + - cradio_right - iris_left - iris_right - jian_left @@ -34,13 +36,21 @@ jobs: - kyria_right - lily58_left - lily58_right + - microdox_left + - microdox_right - nibble + - qaz - quefrency_left - quefrency_right - reviung41 - romac - ro...
thaw - aspect ratio fix
@@ -87,6 +87,8 @@ DWORD WINAPI Init(LPVOID bDelay) //Aspect Ratio pattern = hook::pattern("68 ? ? ? ? E8 ? ? ? ? 6A 00 68 ? ? ? ? E8 ? ? ? ? D9"); injector::WriteMemory<float>(pattern.get_first(1), Screen.fAspectRatio, true); + pattern = hook::pattern("E8 ? ? ? ? D8 0D ? ? ? ? D8 7C 24"); + injector::WriteMemory(inject...
[update] spi nss type
@@ -137,7 +137,7 @@ static rt_err_t stm32_spi_init(struct stm32_spi *spi_drv, struct rt_spi_configur if (cfg->mode & RT_SPI_NO_CS) { - spi_handle->Init.NSS = SPI_NSS_SOFT; + spi_handle->Init.NSS = SPI_NSS_HARD_OUTPUT; } else {
2.13RC->Trunk; Fix ensure MFEM is built with compression enabled
@@ -17,6 +17,10 @@ function bv_mfem_depends_on { local depends_on="" + if [[ "$DO_ZLIB" == "yes" ]] ; then + depends_on="$depends_on zlib" + fi + echo $depends_on } @@ -91,12 +95,16 @@ function build_mfem cd $MFEM_BUILD_DIR || error "Can't cd to mfem build dir." + if [[ "$DO_ZLIB" == "yes" ]] ; then + ZLIBARG=-L${VISIT...
try with pip
@@ -16,7 +16,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest] # , macos-10.15] # windows-2019, + os: [ubuntu-latest, macos-10.15] # windows-2019, # cibw_archs: ["auto"] # include: # - os: ubuntu-20.04 @@ -41,8 +41,7 @@ jobs: uses: pypa/cibuildwheel@v2.2.2 env: CIBW_BUILD: cp36-* cp37-* cp38-...
add todo to reenable test
@@ -6,6 +6,7 @@ src/plugins/python/CMakeLists.txt src/plugins/python2/CMakeLists.txt tests/shell/check_merge.sh for INI tests/shell/shell_recorder/mathcheck.esr for INI (hard-coded ni) +src/plugins/semlock/CMakeLists.txt disable due to /dev/shm problems, see #1122 and #1260 ## error
remove path 44'/60'
@@ -197,7 +197,7 @@ APP_LOAD_PARAMS += --path "44'/554'" --path "44'/60'" DEFINES += CHAINID_UPCASE=\"FLARE\" CHAINID_COINNAME=\"FLR\" CHAIN_KIND=CHAIN_KIND_FLARE CHAIN_ID=16 APPNAME = "Flare Coston" else ifeq ($(CHAIN),theta) -APP_LOAD_PARAMS += --path "44'/500'" --path "44'/60'" +APP_LOAD_PARAMS += --path "44'/500'" ...
[mod_auth] permit additional auth backends to load (For testing purposes, allow for all current auth module backends to be loaded and registered at the same time)
@@ -29,7 +29,7 @@ void http_auth_scheme_set (const http_auth_scheme_t *scheme) } -static http_auth_backend_t http_auth_backends[8]; +static http_auth_backend_t http_auth_backends[12]; const http_auth_backend_t * http_auth_backend_get (const buffer *name) {
Change used port in case of WIN32 global macro
#define ESP_CFG_SNTP 1 #define ESP_CFG_HOSTNAME 1 +#if defined(WIN32) +#define ESP_CFG_SYS_PORT ESP_SYS_PORT_WIN32 +#endif + #endif /* !__DOXYGEN__ */ /* Include default configuration setup */
modify contents of ROMFS for SIDK_S5JT200's README ',' should be followed at end of type and name lists.
@@ -120,11 +120,11 @@ Before executing below steps, execute [generic steps](../../../external/contents ```bash Board Selection -> change values at Flash partition size list (in KBytes) ``` - 2. Append "smartfs" at end to SIDK_S5JT200_FLASH_PART_TYPE + 2. Append "smartfs," at end to SIDK_S5JT200_FLASH_PART_TYPE ```bash ...
Rebase code and run through the whole test flow
@@ -8847,8 +8847,7 @@ requires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT run_test "TLS 1.3 m->O AES_128_GCM_SHA256 , RSA_PSS_RSAE_SHA256" \ "$O_SRV_RSA -ciphersuites TLS_AES_128_GCM_SHA256 -tls1_3 -msg -no_middlebox -num_tickets 0" \ "$P_CLI debug_level=4 force_version=tls1_3 server_name=localhost force_ciphersuit...
stm32/sdram: Allow additional config by a board, and tune MPU settings. Allow configuration by a board of autorefresh number and burst length. Increase MPU region size to 8MiB. Make SDRAM region cacheable and executable.
@@ -180,14 +180,14 @@ static void sdram_init_seq(SDRAM_HandleTypeDef /* Step 6 : Configure a Auto-Refresh command */ command->CommandMode = FMC_SDRAM_CMD_AUTOREFRESH_MODE; command->CommandTarget = FMC_SDRAM_CMD_TARGET_BANK; - command->AutoRefreshNumber = 4; + command->AutoRefreshNumber = MICROPY_HW_SDRAM_AUTOREFRESH_NU...
Remove outdated Constitution constructor argements
:~ [%address 0x0] [%address ships] [%address polls] - [%address 0x0] ::TODO standard ens registry - [%string "urbit-eth"] ::TODO ens domain - [%string "constitution"] ::TODO ens subdomain [%address claims] == =. constitution constit :~ [%address constit] [%address ships] [%address polls] - [%address 0x0] ::TODO standar...
Coachz: correct g_sensor orientation Correct the g-sensor oriention to match the latest board. BRANCH=none TEST=make BOARD=coachz -j TEST=check the screen oriention.
@@ -319,8 +319,8 @@ static struct bmi_drv_data_t g_bmi160_data; /* Matrix to rotate accelerometer into standard reference frame */ const mat33_fp_t lid_standard_ref = { - { 0, FLOAT_TO_FP(1), 0}, - { FLOAT_TO_FP(-1), 0, 0}, + { 0, FLOAT_TO_FP(-1), 0}, + { FLOAT_TO_FP(1), 0, 0}, { 0, 0, FLOAT_TO_FP(1)} };
doc: use 'apt' to install GCC for Windows Replace the original Clear Linux (`swupd`) command to add the GCC compiler for Windows by the equivalent in Ubuntu (i.e. using Ubuntu package manager 'apt')
@@ -128,8 +128,8 @@ The procedure for enabling S5 is specific to the particular OS: $ cd acrn-hypervisor/misc $ make life_mngr - .. note:: If there is no ``x86_64-w64-mingw32-gcc`` compiler, you must run ``swupd bundle-add c-basic-mingw`` - to install it. + .. note:: If there is no ``x86_64-w64-mingw32-gcc`` compiler, ...
Protect libc functions via m3ApiCheckMem
@@ -39,6 +39,8 @@ m3ApiRawFunction(m3_libc_memset) m3ApiGetArg (int32_t, i_value) m3ApiGetArg (int32_t, i_size) + m3ApiCheckMem(i_ptr, i_size); + u32 result = m3ApiPtrToOffset(memset (i_ptr, i_value, i_size)); m3ApiReturn(result); } @@ -51,6 +53,9 @@ m3ApiRawFunction(m3_libc_memmove) m3ApiGetArgMem (void*, i_src) m3Api...
No ticket: sensor creator: UART sensor def removed The apps/sensors_test had an issue where it would not build standalone without specifying an offboard sensor and an interface in the targets syscfg.yml file. This change would make that possible.
@@ -58,19 +58,24 @@ static struct tcs34725 tcs34725; static struct bme280 bme280; #endif -#if MYNEWT_VAL(UART_0) -static const struct sensor_itf uart_0_itf = { - .si_type = SENSOR_ITF_UART, - .si_num = 0, -}; -#endif - -#if MYNEWT_VAL(UART_1) -static struct sensor_itf uart_1_itf = { - .si_type = SENSOR_ITF_UART, - .si_...
Update README.md More accuracy of hl
@@ -35,7 +35,7 @@ Status of the GLES2 backend * Lighting support double-side and color separation * FogCoord are supported, along with secondary color * An ES2 context should be usable (useful for SDL2) - * OpenGL 2.x games that have been tested include: OpenRA, GZDoom, Danger from the Deep, SuperTuxKart 0.8.1, Hammerw...
QUIC CHANNEL: Only pump the demuxer once per tick
#define INIT_CRYPTO_BUF_LEN 8192 #define INIT_APP_BUF_LEN 8192 +static void ch_rx_pre(QUIC_CHANNEL *ch); static int ch_rx(QUIC_CHANNEL *ch); static int ch_tx(QUIC_CHANNEL *ch); static void ch_tick(QUIC_TICK_RESULT *res, void *arg); @@ -1007,8 +1008,11 @@ static void ch_tick(QUIC_TICK_RESULT *res, void *arg) } } + /* Ha...
gpaddmirrors: Safely stop primaries Shutting down the primaries using SIGKILL keeps the PID files around, whereas SIGTERM more gracefully stops the primaries and removes the PID files. When PID files hang around, it keeps future tests from being able to create a cluster.
@@ -103,7 +103,7 @@ Feature: Tests for gpaddmirrors And gpaddmirrors adds mirrors with temporary data dir And an FTS probe is triggered And the segments are synchronized - When user kills all primary processes with SIGKILL + When user kills all primary processes with SIGTERM And user can start transactions Then verify ...
bricks/stm32/pbdevice: implement value setter Write a number of values to a generic iodev.
@@ -114,7 +114,45 @@ void pbdevice_get_values(pbdevice_t *pbdev, uint8_t mode, int32_t *values) { } void pbdevice_set_values(pbdevice_t *pbdev, uint8_t mode, int32_t *values, uint8_t num_values) { - pb_assert(PBIO_ERROR_NOT_IMPLEMENTED); + + pbio_iodev_t *iodev = &pbdev->iodev; + + uint8_t data[PBIO_IODEV_MAX_DATA_SIZE...
in_storage_backlog: always try to put chunk up, if it fails just continue
@@ -70,19 +70,14 @@ static int cb_queue_chunks(struct flb_input_instance *in, mk_list_foreach_safe(head, tmp, &sb->backlog) { sbc = mk_list_entry(head, struct sb_chunk, _head); - if (cio_chunk_is_file(sbc->chunk) == CIO_TRUE && - cio_chunk_is_up(sbc->chunk) == CIO_FALSE) { - + /* + * All chunks on this backlog are 'fil...
Breakout supports a score
@@ -52,12 +52,15 @@ typedef struct game_state { bool right_down; uint32_t lives_remaining; + uint32_t score; } game_state_t; +static void _draw_hud(game_state_t* state); static void draw_game_state(game_state_t* state); static void _start_new_game(game_state_t* state); static void _run_physics_tick(game_state_t* state)...
out_http: do not debug proxy if not enabled
@@ -114,8 +114,10 @@ static int http_post(struct flb_out_http *ctx, ctx->proxy, 0); + if (c->proxy.host) { flb_plg_debug(ctx->ins, "[http_client] proxy host: %s port: %i", c->proxy.host, c->proxy.port); + } /* Allow duplicated headers ? */ flb_http_allow_duplicated_headers(c, ctx->allow_dup_headers);
Add global guard on portmidi init
@@ -753,6 +753,9 @@ typedef struct { PmDeviceID device_id; PortMidiStream* stream; } Midi_mode_portmidi; +// Not sure whether it's OK to call Pm_Terminate() without having a successful +// call to Pm_Initialize() -- let's just treat it with tweezers. +static bool portmidi_is_initialized = false; #endif typedef union { ...
native_socket - Handle partial TCP writes.
@@ -461,12 +461,20 @@ native_sock_stream_tx(struct native_sock *ns, int notify) while (ns->ns_tx && rc == 0) { m = ns->ns_tx; n = SLIST_NEXT(m, om_next); + + errno = 0; rc = write(ns->ns_fd, m->om_data, m->om_len); if (rc == m->om_len) { + /* Complete write. */ ns->ns_tx = n; os_mbuf_free(m); rc = 0; + } else if (rc !=...
near_lossless,FindClosestDiscretized: use unsigned ops quiets undefined sanitizer warnings of the form: left shift of 128 by 24 places cannot be represented in type 'int'
// Quantizes the value up or down to a multiple of 1<<bits (or to 255), // choosing the closer one, resolving ties using bankers' rounding. -static int FindClosestDiscretized(int a, int bits) { - const int mask = (1 << bits) - 1; - const int biased = a + (mask >> 1) + ((a >> bits) & 1); +static uint32_t FindClosestDisc...
removed spurious check
@@ -521,14 +521,6 @@ static void ccl_cosmology_compute_power_class(ccl_cosmology * cosmo, int * statu if(*status==0) cosmo->data.p_lin=ccl_p2d_t_new(na,aa,nk,lk,lpk_ln,1,2,ccl_p2d_cclgrowth,1,NULL,0,ccl_p2d_3,status); - if(*status==0) { - // At the moment KMIN can't be less than CLASS's kmin in the nonlinear case. - if...
specs: specify correct behaviour of truncate and ftruncate. Closes * specs/posix_unistd_spec.yaml (ftruncate): Specify correct behaviour. (truncate): Likewise.
specify posix.unistd: - before: | + fcntl = require "posix.fcntl" pwd = require "posix.pwd" unistd = require "posix.unistd" @@ -58,6 +59,38 @@ specify posix.unistd: - "it sets argv[0]": +- describe ftruncate: + - before: | + ftruncate = unistd.ftruncate + + function echo (fname, s) + local fh = io.open (fname, 'w') + f...
perf(non-null judgment): add non-null judgment of "Endpoint" in BoatHlfabricDiscoverySubmit()
@@ -828,6 +828,10 @@ BOAT_RESULT BoatHlfabricDiscoverySubmit(BoatHlfabricTx *tx_ptr, const BoatHlfabr len = hlfabricDiscoveryGetURL(cc_query_res->content[i]->endorsers_by_groups[j]->value->peers[l]->membership_info->payload.data, cc_query_res->content[i]->endorsers_by_groups[j]->value->peers[l]->membership_info->payloa...
bash: add -j <jobs> option to vpp-make-test Also cleanup local var declarations remove extraneous export statement Type: test
@@ -26,11 +26,14 @@ vpp-make-test() local all local debug local grep_for + local show_grep local run_make_test local old_pwd + local test_desc local is_feature="false" local retry_count=100 local tester=${GERRIT_USER:-$USER} + local jobs="auto" if [ -z "$WS_ROOT" ] ; then echo "ERROR: WS_ROOT is not set!" @@ -40,7 +43,...
Correct system guessing for darwin64-arm64 target Previously the system guessing logic would incorrectly guess i686-apple-darwin as the fallback for any unspecified architecture that is a Darwin target
@@ -140,8 +140,7 @@ my $guess_patterns = [ [ 'Paragon.*?:.*', 'i860-intel-osf1' ], [ 'Rhapsody:.*', 'ppc-apple-rhapsody' ], [ 'Darwin:.*?:.*?:Power.*', 'ppc-apple-darwin' ], - [ 'Darwin:.*?:.*?:x86_64', 'x86_64-apple-darwin' ], - [ 'Darwin:.*', 'i686-apple-darwin' ], + [ 'Darwin:.*', '${MACHINE}-apple-darwin' ], [ 'Sun...
Fix TI PKCS PAL Workaround for C_DestroyObject is to overwrite previously existing object w/ an array of zeros. Since TI was only storing arrays containing valid certs/keys, value was never destroyed.
@@ -587,6 +587,8 @@ CK_OBJECT_HANDLE PKCS11_PAL_SaveObject( CK_ATTRIBUTE_PTR pxLabel, char * pcFileName = NULL; char * pcPemBuffer = NULL; size_t xPemLength = 0; + int i; + CK_BBOOL isDestroy = CK_FALSE; CK_OBJECT_HANDLE xHandle = eInvalidHandle; /* Converts a label to its respective filename and handle. */ @@ -611,6 +...
fix clang-tdy warning - use auto when initializing with a template cast to avoid duplicating the type name
@@ -78,7 +78,7 @@ inline bool YaIsDebuggerPresent() { #define Y_ASSERT(a) \ do { \ if (false) { \ - bool __xxx = static_cast<bool>(a); \ + auto __xxx = static_cast<bool>(a); \ Y_UNUSED(__xxx); \ } \ } while (false)
Update minimal_client.c
@@ -73,14 +73,6 @@ static char *properties = QUOTE( int main(int argc, char *argv[]) { - clock_t t; - t = clock(); - - - - - - struct neat_ctx *ctx; struct neat_flow *flow; struct neat_flow_operations ops; @@ -119,10 +111,6 @@ main(int argc, char *argv[]) neat_start_event_loop(ctx, NEAT_RUN_DEFAULT); neat_free_ctx(ctx)...
DZMK_CONFIG Documentation feat(docs): `-DZMK_CONFIG` Documentation
@@ -84,6 +84,19 @@ west build -d build/right -b nice_nano -- -DSHIELD=kyria_right ``` This produces `left` and `right` subfolders under the `build` directory and two separate .uf2 files. For future work on a specific half, use the `-d` parameter again to ensure you are building into the correct location. +### Building ...
hake: adding flags to just run hake, without initial dependencies
@@ -87,6 +87,9 @@ while test $# -ne 0; do "-n"|"--no-hake") RUN_HAKE="No" ;; + "-d"|"--no-deps") + NO_DEPS="No" + ;; "-t"|"--toolchain") TC_ARCH="$2" shift @@ -245,6 +248,11 @@ fi echo "Running hake..." ./hake/hake --output-filename Makefile --source-dir "$SRCDIR/" --ghc-libdir "$(ghc --print-libdir)" || exit +if test ...
[examples] fix tetra.py
@@ -9,13 +9,12 @@ from siconos.mechanics.collision.tools import Contactor from siconos.io.mechanics_run import MechanicsHdf5Runner import siconos.numerics as Numerics from siconos.mechanics.collision.convexhull import ConvexHull - -options = siconos.mechanics.collision.bullet.SiconosBulletOptions() -options.worldScale ...
More xcode 10.1 trials
@@ -50,8 +50,13 @@ matrix: - name: macOS (xcode 10.1/clang-10) os: osx osx_image: xcode10.1 + addons: &addons_macos + homebrew: + packages: + - libfaketime + - openssl env: - - CMAKE_OPTS=" -DOPENSSL_ROOT_DIR=/usr/bin/openssl/" + - CMAKE_OPTS=" -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/" before_install: - cmake --versi...
Move test options
@@ -32,7 +32,6 @@ IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} EQUAL 3.3 AND ${CMAKE_GENERATO message( FATAL_ERROR "Building Celix using CMake 3.3 and makefiles is not supported due to a bug in the Makefile Generator (see Bug 15696). Please change the used CMake version - both, CMake 3.2 and CMake 3.4 are working ...
Enable MBEDTLS_FS_IO for for CURL HTTPS support - Dependent method calls mbedtls_x509_crt_parse_file, mbedtls_x509_crt_parse_path mbedtls_pk_parse_keyfile, mbedtls_x509_crl_parse_file
#undef MBEDTLS_ERROR_STRERROR_DUMMY #undef MBEDTLS_GENPRIME +/* MBEDTLS_FS_IO is required for CURL. + Dependent method calls below. + `mbedtls_x509_crt_parse_file' `mbedtls_x509_crt_parse_path' + `mbedtls_pk_parse_keyfile' `mbedtls_x509_crl_parse_file' +*/ +#ifndef CONFIG_ENABLE_CURL #undef MBEDTLS_FS_IO +#endif + #und...
tcp: fix tcp_do_fastretransmits failure. Type: fix vpp would fail 'tcp_in_fastrecovery (tc)' if tcp_connection_get returns 0.
@@ -1336,6 +1336,8 @@ tcp_do_fastretransmits (tcp_worker_ctx_t * wrk) for (i = 0; i < vec_len (ongoing_fast_rxt); i++) { tc = tcp_connection_get (ongoing_fast_rxt[i], thread_index); + if (!tc) + continue; if (!tcp_in_fastrecovery (tc)) { tc->flags &= ~TCP_CONN_FRXT_PENDING;
Add links to other convert-to-nia implementations
@@ -19,6 +19,12 @@ convert-to-nia converts an image from stdin (e.g. in the BMP, GIF, JPEG or PNG format) to stdout (in the NIA/NIE format). See the "const char* g_usage" string below for details. + +An equivalent program (using the Chromium image codecs) is at: +https://chromium-review.googlesource.com/c/chromium/src/...
Implement Get-Output-Device-Attributes operation (Issue
@@ -1962,6 +1962,10 @@ static void ipp_get_output_device_attributes( server_client_t *client) /* I - Client */ { + cups_array_t *ra; /* Requested attributes array */ + server_device_t *device; /* Device */ + + if (Authentication && !client->username[0]) { /* @@ -1972,8 +1976,22 @@ ipp_get_output_device_attributes( retu...
parser json UPDATE clearer invalid format error Refs
@@ -452,7 +452,8 @@ lydjson_value_type_hint(struct lyd_json_ctx *lydctx, enum LYJSON_PARSER_STATUS * /* only [null] */ LY_CHECK_RET(lyjson_ctx_next(lydctx->jsonctx, status_p)); if (*status_p != LYJSON_NULL) { - LOGVAL(lydctx->jsonctx->ctx, LYVE_SYNTAX_JSON, "Expected JSON name/[null], but input data contains name/%s.",...
move every 'dseg'
@@ -300,13 +300,13 @@ void ProcessMessageMasternode(CNode* pfrom, std::string& strCommand, CDataStream //Misbehaving(pfrom->GetId(), 34); //printf("dseg - peer already asked me for the list\n"); //return; - Misbehaving(pfrom->GetId(), 34); + //Misbehaving(pfrom->GetId(), 34); printf("dseg - peer already asked me for th...
Reenable Tests with OpenSSL
@@ -444,34 +444,34 @@ stages: platform: windows tls: openssl logProfile: Full.Light - extraArgs: -Filter -*Unreachable/0:CredValidation*:*ValidateConnection* + extraArgs: -Filter -*Unreachable/0:CredValidation* - template: ./templates/run-bvt.yml parameters: image: ubuntu-latest platform: linux tls: openssl - extraArgs...
ads1115 minor cleanup
@@ -251,10 +251,7 @@ static int ads1115_lua_register(lua_State *L, uint8_t chip_id) { if (config_read != ADS1115_DEFAULT_CONFIG_REG) { return luaL_error(L, "unexpected config value (%p) please reset device before calling this function", config_read); } - ads_ctrl_ud_t *ads_ctrl = (ads_ctrl_ud_t *)lua_newuserdata(L, siz...
Add more compression blacklisted commands
@@ -376,7 +376,9 @@ mongoc_cluster_run_command_internal (mongoc_cluster_t *cluster, if (compressor_id && IS_NOT_COMMAND ("ismaster") && IS_NOT_COMMAND ("saslstart") && IS_NOT_COMMAND ("saslcontinue") && IS_NOT_COMMAND ("getnonce") && IS_NOT_COMMAND ("authenticate") && - IS_NOT_COMMAND ("createuser") && IS_NOT_COMMAND (...
nimble/host: Add missing legacy scan response event type. This adds the missing event type in the extended advertising legacy type decoding. Without this, scan responses would be missed if the PDU was ADV_SCAN_IND.
@@ -511,6 +511,7 @@ ble_hs_hci_decode_legacy_type(uint16_t evt_type) case BLE_HCI_LEGACY_ADV_EVTYPE_ADV_NONCON_IND: return BLE_HCI_ADV_RPT_EVTYPE_NONCONN_IND; case BLE_HCI_LEGACY_ADV_EVTYPE_SCAN_RSP_ADV_IND: + case BLE_HCI_LEGACY_ADV_EVTYPE_SCAN_RSP_ADV_SCAN_IND: return BLE_HCI_ADV_RPT_EVTYPE_SCAN_RSP; default: return ...
Minor typo in ev/rselect docstring `ev/choice` is actually called `ev/select`
@@ -2167,7 +2167,7 @@ static const JanetReg ev_cfuns[] = { { "ev/rselect", cfun_channel_rchoice, JDOC("(ev/rselect & clauses)\n\n" - "Similar to ev/choice, but will try clauses in a random order for fairness.") + "Similar to ev/select, but will try clauses in a random order for fairness.") }, { "ev/close", janet_cfun_s...
gpMgmt unit tests: remove obsolete field in mockutils assertRaises() When using a late enough version of mock, the self.assertRaises() signature changed, so modify our code to handle this.
@@ -30,7 +30,7 @@ class MainUtilsTestCase(GpTestCase): def test_exceptionPIDLockHeld_if_same_pid(self): with self.lock: - with self.assertRaises(PIDLockHeld, message="PIDLock already held at %s" % (self.lockfile)): + with self.assertRaisesRegex(PIDLockHeld, "PIDLock already held at %s" % (self.lockfile)): self.lock.acq...
enable newton in pair-logit
@@ -44,8 +44,8 @@ namespace NKernel { if (der2 && i < pairCount) { const float scale = p * (1.0f - p); - atomicAdd(der2 + firstDst, w); - atomicAdd(der2 + secondDst, w); + atomicAdd(der2 + firstDst, w * scale); + atomicAdd(der2 + secondDst, w * scale); } if (functionValue) {
pbio/servo: increase medium motor gain Existing values were somewhat arbitrary. This value is based on non-scientific tests with and without loads.
@@ -26,7 +26,7 @@ static pbio_control_settings_t settings_servo_ev3_medium = { .count_tolerance = 6, .stall_rate_limit = 4, .stall_time = 200*US_PER_MS, - .pid_kp = 300, + .pid_kp = 500, .pid_ki = 800, .pid_kd = 3, .integral_range = 45,
Fix file hash and show download filename
function(fetch_sdl2_library directory url filename hash) if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/${filename}) - message(STATUS "Downloading ${url}") + message(STATUS "Downloading ${filename}") file(DOWNLOAD ${url}${filename} ${CMAKE_CURRENT_LIST_DIR}/${filename} SHOW_PROGRESS TIMEOUT 120 @@ -12,13 +12,13 @@ function(fe...
fixes _pier_work_poke reference counting
@@ -276,7 +276,7 @@ _pier_work_release(u3_writ* wit_u) { u3_pier* pir_u = wit_u->pir_u; u3_lord* god_u = pir_u->god_u; - u3_noun vir; + u3_noun vir = wit_u->act; #ifdef VERBOSE_EVENTS fprintf(stderr, "pier: (%" PRIu64 "): compute: release\r\n", wit_u->evt_d); @@ -291,13 +291,12 @@ _pier_work_release(u3_writ* wit_u) /* ...
Update to non RC
@@ -60,17 +60,17 @@ def isolateAllTests(tests: Seq[TestDefinition]) = tests map { test => new Group(test.name, Seq(test), SubProcess(options)) } toSeq -val chiselVersion = "3.5.0-RC1" +val chiselVersion = "3.5.0" lazy val chiselSettings = Seq( libraryDependencies ++= Seq("edu.berkeley.cs" %% "chisel3" % chiselVersion),...
profile: add html color picker Fixes
@@ -22,11 +22,12 @@ export function ColorInput(props: ColorInputProps) { const { id, label, caption, disabled, ...rest } = props; const [{ value, onBlur }, meta, { setValue }] = useField(id); - const hex = value.substr(2).replace(".", ""); + const hex = value.replace('#', '').substr(2).replace(".", ""); const padded = ...
Add support for building only selected variable types
@@ -300,12 +300,15 @@ static void exec_threads(blas_queue_t *queue, int buf_index){ } else #endif if ((queue -> mode & BLAS_PREC) == BLAS_DOUBLE){ +#if defined ( BUILD_DOUBLE) || defined (BUILD_COMPLEX16) sb = (void *)(((BLASLONG)sa + ((DGEMM_P * DGEMM_Q * sizeof(double) + GEMM_ALIGN) & ~GEMM_ALIGN)) + GEMM_OFFSET_B); ...
BugID:17631083:[mqtt]fix possibility of request id conflict
@@ -2916,7 +2916,7 @@ void aos_get_chip_code(unsigned char chip_code[CHIP_CODE_SIZE]) } #endif -const char *DEVICE_INFO_UPDATE_FMT = "{\"id\":\"2\",\"version\":\"1.0\",\"params\":[" +const char *DEVICE_INFO_UPDATE_FMT = "{\"id\":\"10001\",\"version\":\"1.0\",\"params\":[" /* check the requestId */ "{\"attrKey\":\"SYS_A...
Fix "changing an uncontrolled input to be controlled" warning on VariableSelect
@@ -194,14 +194,14 @@ export const VariableSelect: FC<VariableSelectProps> = ({ if (currentVariable) { setCurrentValue({ value: currentVariable.id, - label: `${currentVariable.name}`, + label: `$${currentVariable.name}`, }); } }, [currentVariable]); const onRenameStart = () => { if (currentValue) { - setEditValue(curre...
add the HashCollision case in sixtop_send.
@@ -369,10 +369,13 @@ owerror_t sixtop_send(OpenQueueEntry_t *msg) { icmpv6rpl_getPreferredParentEui64(&addressToWrite) == FALSE || ( icmpv6rpl_getPreferredParentEui64(&addressToWrite) && + ( + msf_getHashCollisionFlag() == FALSE && schedule_hasAutonomousTxRxCellUnicast(&addressToWrite)== FALSE ) ) ) + ) ){ return E_FA...
unix: test cases
@@ -15,7 +15,9 @@ _test_safe() { c3_i ret_i = 1; - if ( !u3_unix_cane("a") || + if ( !u3_unix_cane("/") || + !u3_unix_cane("~.") || + !u3_unix_cane("a") || !u3_unix_cane("a/b") || !u3_unix_cane("a/b/c/defg/h/ijklmnop") ) {
mesh: Fix heartbeat subscription state handling PTS version 7.3.0 incorporates some errata which change the expected behavior of the heartbeat subscription state. Update the code so that the following tests pass successfully: MESH/NODE/CFG/HBS/BV-01 MESH/NODE/CFG/HBS/BV-02 MESH/NODE/CFG/HBS/BV-03 MESH/NODE/CFG/HBS/BV-0...
@@ -3146,15 +3146,11 @@ static void hb_sub_send_status(struct bt_mesh_model *model, 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 == BT_MESH_ADDR_UNASSIGNED || - cfg->hb_sub.dst == BT_MESH_ADDR_UNASSIGNED) { - memset(net_buf_simple_add(msg, 4), 0, 4)...
Update CodeQL to version 2. Version 1 will be deprecated on December 12, so upgrade now to avoid nasty surprises.
@@ -119,7 +119,7 @@ jobs: run: sudo apt-get install -y --no-install-recommends libyaml-dev - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{matrix.language}} @@ -127,4 +127,4 @@ jobs: run: ${GITHUB_WORKSPACE?}/src/configure && make -j 2 - name: Perf...
nshlib: Call symlink if user pass -s for ln command since NuttX kernel support really support symlink not link. Note: link equal symlink now because the hard link doesn't support yet
@@ -1050,7 +1050,15 @@ int cmd_ln(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) goto errout_with_tgtpath; } + if (ndx == 1) + { ret = link(tgtpath, linkpath); + } + else + { + ret = symlink(tgtpath, linkpath); + } + if (ret < 0) { nsh_error(vtbl, g_fmtcmdfailed, argv[0], "link", NSH_ERRNO);
fix bors by using correct job names
# List of commit statuses that must pass on the merge commit before it is # pushed to master. status = [ - "ci-format", - "ci-build", + "ci-format (ubuntu-20.04)", + "ci-build (ubuntu-20.04)", ] # List of PR labels that may not be attached to a PR when it is r+-ed.
perf-tools/msr-safe: updating kernel ver for centos7.6
@@ -40,7 +40,7 @@ BuildRequires: kernel-default-devel %endif %if 0%{?centos_version} == 700 -%define centos_kernel 3.10.0-862.el7 +%define centos_kernel 3.10.0-957.el7 BuildRequires: kernel = %{centos_kernel} BuildRequires: kernel-devel = %{centos_kernel} %endif
Use separate scale for X and Y in fixed-size tiles
@@ -77,7 +77,7 @@ public: mPerpLen = 0.5; mStateScale = data.scaleOf(inState); mScale = mStateScale; - mTileScale = 1.0; + mTileScaleY = mTileScaleY = 1.0; if (mScale<=0.001) mScale = 0.001; mCurveThresh2 = 0.125/mScale/mScale; @@ -267,7 +267,9 @@ public: { ioData.mMinScale = mStateScale*0.99; ioData.mMaxScale = mState...
Changed lock state to Unknown when Dimm is unmanageable. Previously when a DIMM was not manageable it would falsely report a conclusive lock state instead of the true value 'unknown'
@@ -654,14 +654,10 @@ ShowDimms( PRINTER_BUILD_KEY_PATH(pPath, DS_DIMM_INDEX_PATH, DimmIndex); ReturnCode = MakeCapacityString(gNvmDimmCliHiiHandle, pDimms[DimmIndex].Capacity, UnitsToDisplay, TRUE, &pCapacityStr); - if (MANAGEMENT_VALID_CONFIG != pDimms[DimmIndex].ManageabilityState) { - pHealthStr = HealthToString(gN...
OpenCanopy: Shift cut-off entries right rather than left
@@ -1897,7 +1897,6 @@ BootPickerViewLateInitialize ( INT64 ScrollOffset; CONST LIST_ENTRY *ListEntry; CONST GUI_VOLUME_ENTRY *BootEntry; - INT64 FirstPosOffset; ASSERT (mBootPicker.SelectedEntry != NULL); @@ -1908,30 +1907,37 @@ BootPickerViewLateInitialize ( // impossible. // if (ScrollOffset == 0) { - ListEntry = mBo...
Add fft core to groupcores
@@ -49,7 +49,7 @@ LOCAL_FIRESIM_DIR=$LOCAL_CHIPYARD_DIR/sims/firesim/sim # key value store to get the build groups declare -A grouping -grouping["group-cores"]="chipyard-cva6 chipyard-ibex chipyard-rocket chipyard-hetero chipyard-boom chipyard-sodor chipyard-digitaltop chipyard-multiclock-rocket chipyard-nomem-scratchp...
fix the fpgalpbk issue
@@ -155,7 +155,7 @@ class FPGALPBK(COMMON): def eth_group_loopback_en(self, en): for keys, values in self.eth_grps.items(): eth_group_inst = eth_group() - ret = eth_group_inst.eth_group_open(int(values[0]), values[1]) + ret = eth_group_inst.eth_group_open(values[0]) if ret != 0: return None
host/l2cap: disconnect channel if received more than expected If receive data lenght exceeds what was defined in first packet disconnect with peer. This is affecting L2CAP/LE/CFC/BV-28-C
@@ -198,6 +198,17 @@ ble_l2cap_coc_rx_fn(struct ble_l2cap_chan *chan) } sdu_len = get_le16((*om)->om_data); + + /* We should receive payload of size sdu_len + 2 bytes of sdu_len field */ + if (om_total > sdu_len + 2) { + BLE_HS_LOG(ERROR, "Payload larger than expected (%d>%d)\n", + om_total, sdu_len + 2); + /* Disconne...
Update WiFi firmware update script.
# # This script updates the ATWINC1500 WiFi module firmware. # Copy the firmware image to uSD card before running this script. -# NOTE: Firmware version 19.5.2 does NOT support ATWINC1500-MR210PA. +# NOTE: Older fimware versions are no longer supported by the host driver. +# NOTE: The latest firmware (19.6.1) only work...
Test: Fix null pointer exception
@@ -103,6 +103,7 @@ bool isMetaDataEqual (kdb::Key & key1, kdb::Key & key2) while (key1.nextMeta ()) { key2.nextMeta (); + if (!key2.currentMeta ()) return false; if (key1.currentMeta ().getName () != key2.currentMeta ().getName ()) return false; if (key1.currentMeta ().getString () != key2.currentMeta ().getString ())...
make missing CAs warning clearer
@@ -250,7 +250,7 @@ void tls_client_trigger_auth(void) // Reject query if TLS client disabled if (g_client_enable == 0) { - log_warning("No CA available to resolve query."); + log_warning("No CA available to authenticate query."); return; }
Fix bug in gpconfigurenewsegment We were calling the wasSuccessful() func incorrectly.
@@ -421,7 +421,7 @@ try: if options.validationOnly: errors = [] for item in pool.getCompletedItems(): - if not item.get_results().wasSuccessful: + if not item.get_results().wasSuccessful(): errors.append(str(item.get_results().stderr).replace("\n", " ")) if errors:
refers to bpftrace's approuch
@@ -918,6 +918,7 @@ void h2o_raw_tracer::initialize() { void h2o_raw_tracer::do_handle_event(const void *data, int data_len) { // The perf event data is not aligned, so we use a local copy to avoid UBSan errors. + // cf. https://github.com/iovisor/bpftrace/pull/1520 const h2olog_event_t event = *static_cast<const h2olo...
docs: remove BOS_MIRROR sles discussion
@@ -11,30 +11,6 @@ image for use with \Warewulf{}. We begin by creating a directory structure on th default location for this example is in \texttt{/opt/ohpc/admin/images/\baseos{}}. -\begin{center} - \begin{tcolorbox}[] - \small Note that \Warewulf{} requires access to a zypper repository during the - \texttt{wwmkchro...
Push clipboard text only if not null In practice, it does not change anything (it just avoids a spurious wake-up), but semantically, it makes no sense to call pushClipboardText() with a null value.
@@ -105,7 +105,9 @@ public class Controller { break; case ControlMessage.TYPE_GET_CLIPBOARD: String clipboardText = device.getClipboardText(); + if (clipboardText != null) { sender.pushClipboardText(clipboardText); + } break; case ControlMessage.TYPE_SET_CLIPBOARD: boolean paste = (msg.getFlags() & ControlMessage.FLAGS...
Fix linux build On (arch) linux, compilation would not complete due to the following error: ```/usr/bin/ld: CMakeFiles/lovr.dir/src/lib/tinycthread/tinycthread.c.o: undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5' /usr/lib/libpthread.so.0: error adding symbols: DSO missing from command line collec...
@@ -161,7 +161,7 @@ elseif(WIN32) else() pkg_search_module(ODE REQUIRED ode) include_directories(${ODE_INCLUDE_DIRS}) - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lstdc++") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lstdc++ -lpthread") set(LOVR_ODE ode) endif()
Utest needs CBLAS but not necessarily FORTRAN
@@ -211,7 +211,8 @@ if (USE_THREAD) target_link_libraries(${OpenBLAS_LIBNAME} ${CMAKE_THREAD_LIBS_INIT}) endif() -if (MSVC OR NOT NOFORTRAN) +#if (MSVC OR NOT NOFORTRAN) +if (NOT NO_CBLAS) # Broken without fortran on unix add_subdirectory(utest) endif()
build: remove sha1 reference
@@ -205,7 +205,6 @@ include_directories( include/ lib/ lib/flb_libco - lib/sha1 lib/msgpack-3.1.1/include lib/LuaJIT-2.1.0-beta3/src/ ${MONKEY_INCLUDE_DIR} @@ -235,10 +234,6 @@ FLB_DEFINITION(JSMN_PARENT_LINKS) FLB_DEFINITION(JSMN_STRICT) add_subdirectory(lib/jsmn) -if(FLB_BUFFERING) - add_subdirectory(lib/sha1) -endif...
Fix holes from editor lag while painting colour Same as collisions, couldn't scribble fill, replaced tile with line.
@@ -313,7 +313,15 @@ class SceneCursor extends Component { this.startX = x1; this.startY = y1; } else { - paintColorTile(sceneId, x, y, selectedPalette, brushSize); + if(this.startX === undefined || this.startY === undefined) { + this.startX = x; + this.startY = y; + } + let x1 = x; + let y1 = y; + paintColorLine(scene...
Craask: update thermal table TEMP_SENSOR_0: memory threshold high 75'C halt 85'C high_release 70'C halt_release 80'C BRANCH=none TEST=none Code-Coverage: Zoss
named-temp-sensors { compatible = "cros-ec,temp-sensors"; memory { - temp_fan_off = <35>; - temp_fan_max = <60>; - temp_host_high = <85>; - temp_host_halt = <90>; - temp_host_release_high = <80>; + temp_host_high = <75>; + temp_host_halt = <85>; + temp_host_release_high = <70>; + temp_host_release_halt = <80>; power-go...
graph-hook: both hooks compile
^- (quip card _this) :_ this =- [%pass /pull-nack %agent [our.bowl %graph-store] %poke %graph-update -]~ - ^- update:store - !>([%0 now.bowl [%archive-graph resource]) + !> ^- update:store + [%0 now.bowl [%archive-graph resource]] :: ++ on-pull-kick |= =resource ^- (unit path) - =/ maybe-time (peek-log:graph resource) ...
Cleanup unnecessary cast
@@ -73,10 +73,10 @@ void orca_run(Field* f) { Term c = row[ix]; switch (c) { case 'a': - act_a(f, (U32)iy, (U32)ix); + act_a(f, iy, ix); break; case 'm': - act_m(f, (U32)iy, (U32)ix); + act_m(f, iy, ix); break; } }
use more conservative retire strategy
@@ -407,16 +407,18 @@ void _mi_page_retire(mi_page_t* page) { // (or we end up retiring and re-allocating most of the time) // NOTE: refine this more: we should not retire if this // is the only page left with free blocks. It is not clear - // how to check this efficiently though... for now we just check - // if its ne...
align: cap alignment to 16 on XL C/C++
* of two. MSVC is the exception (of course), so we need to cap the * alignment requests at values that the implementation supports. * + * XL C/C++ will accept values larger than 16 (which is the alignment + * of an AltiVec vector), but will not reliably align to the larger + * value, so so we cap the value at 16 there....
Capture typo.
@@ -157,7 +157,7 @@ copy auxbin\jpm dist\jpm copy tools\jpm.bat dist\jpm.bat @rem Create installer -janet.exe -e "(print ((peg/match '(* :d+ `.` :d+ `.` :d+) janet/version) 0))" > build\version.txt +janet.exe -e "(print ((peg/match ''(* :d+ `.` :d+ `.` :d+) janet/version) 0))" > build\version.txt janet.exe -e "(print (...
[ChangeLog] add contrib VA from merged PR
@@ -23,8 +23,13 @@ of the file were added first, and each subsequent addition is placed on a line -------------------------------------------------------------------------------- - Current (in development branch siconos/master) --> 4.4.0.rc + Current (in development branch siconos/master) --> 4.5.0.rc -----------------...
Cellular debug and comment change only: fix IMEI printing. The printing of the IMEI should curtail the length at 15 digits, not invite it to stop there if it likes.
@@ -648,7 +648,7 @@ int32_t uCellInfoGetImsi(int32_t cellHandle, if ((pInstance != NULL) && (pImsi != NULL)) { errorCode = uCellPrivateGetImsi(pInstance, pImsi); if (errorCode == 0) { - uPortLog("U_CELL_INFO: IMSI is %*s.\n", + uPortLog("U_CELL_INFO: IMSI is %.*s.\n", U_CELL_INFO_IMSI_SIZE, pImsi); } else { uPortLog("U...
libcupsfilters: Sanitize options and env variables in filterExternalCUPS()
@@ -854,6 +854,8 @@ filterExternalCUPS(int inputfd, /* I - File descriptor input stream */ /* Print queue name from filter data */ if (data->printer) add_env_var("PRINTER", data->printer, &envp); + else + add_env_var("PRINTER", "Unknown", &envp); /* PPD file path/name from filter data, required for most CUPS filters */...
rnndb/pci: Document Pascal PCI MSI rearm register (CYA_2) nvgpu documents that writing a dummy value 0 to this register rearms PCI MSI on Pascal.
<bitfield pos="0" name="TRIGGER"/> <bitfield low="1" high="11" name="TIME"/> </reg32> + <reg32 offset="0x704" name="CYA_2" variants="GF100-"/><!-- write dummy value 0 to rearm PCI MSI on Pascal --> </group> <group name="nv_pci_hda">
README: add in_dummy and remove in_xbee
@@ -25,13 +25,13 @@ $ bin/fluent-bit -i cpu -o stdout |--------------------|---------|---------------------------------------------------------------------------------| | CPU | cpu | gather CPU usage between snapshots of one second. It support multiple cores | | Disk | disk | usage of block device | +| Dummy | dummy | ...